manager_root.handlers
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:6k
- <?php
- $manager->globals_needed = Array(
- 'title',
- 'user_db',
- 'admin_db',
- 'admin_privileges_db',
- 'current_application',
- 'c_application',
- 'default',
- 'form_mode',
- 'app_server',
- 'template_obj',
- 'user_obj',
- 'user_admin_privileges_obj',
- 'session',
- 'session_id',
- /* Domain Browser */
- 'cur_domain_id',
- 'action_success',
- /* User attributes */
- /* Edit User */
- 'target_username',
- 'target_domain_id',
- /* Edit User Save */
- 'edit_password',
- 'edit_login_enabled',
- 'edit_add_users',
- 'edit_delete_users',
- /* Add User Save */
- 'new_domain_id',
- 'new_user',
- 'new_password',
- 'new_login_enabled',
- 'new_add_users',
- 'new_edit_users',
- 'new_delete_users',
- /* Virtual Domains */
- /* Add */
- 'new_domain_name',
- /* Customer Information */
- /* Add Address */
- 'address_type',
- 'address',
- 'city',
- 'state',
- 'zip',
- 'country',
- /* Edit Address */
- /* Delete Address */
- 'address_id',
- /* Add Phone */
- 'phone_number_type',
- 'phone_number',
- /* Edit address */
- /* Delete address */
- 'phone_id'
- );
- $user_templates = './manager/templates/';
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_ADD_FRM',
- $user_templates . '/user/add/form.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_ADD',
- $user_templates . '/user/add/process_form.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_SELECT_FRM',
- $user_templates . '/user/user_navigator.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_VIEW_FRM',
- $user_templates . '/user/user_attributes.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_EDIT_FRM',
- $user_templates . '/user/edit/form.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_EDIT',
- $user_templates . '/user/edit/process_form.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_DELETE_FRM',
- $user_templates . '/user/delete/form.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_DELETE',
- $user_templates . '/user/delete/process_form.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'VDOMAIN_SELECT_FRM',
- $user_templates . '/domain/domain_navigator.inc',
- Array(),
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'VDOMAIN_ADD_FRM',
- $user_templates . '/domain/add/form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'VDOMAIN_ADD',
- $user_templates . '/domain/add/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'VDOMAIN_EDIT_FRM',
- $user_templates . '/domain/edit/form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'VDOMAIN_EDIT',
- $user_templates . '/domain/delete/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'VDOMAIN_DELETE_FRM',
- $user_templates . '/domain/delete/form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'VDOMAIN_DELETE',
- $user_templates . '/domain/delete/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_ADD_PHONE_FRM',
- $user_templates . '/phone_number/add/form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_ADD_PHONE',
- $user_templates . '/phone_number/add/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_EDIT_PHONE_FRM',
- $user_templates . '/phone_number/edit/form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_EDIT_PHONE',
- $user_templates . '/phone_number/edit/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_DELETE_PHONE',
- $user_templates . '/phone_number/delete/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_ADD_ADDRESS_FRM',
- $user_templates . '/address/add/form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_ADD_ADDRESS',
- $user_templates . '/address/add/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_EDIT_ADDRESS_FRM',
- $user_templates . '/address/edit/form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_EDIT_ADDRESS',
- $user_templates . '/address/edit/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_DELETE_ADDRESS',
- $user_templates . '/address/delete/process_form.inc',
- '',
- '',
- '',
- ''
- )
- );
- $manager->AddHandler(
- $temp = new AppHandler(
- 'USER_MAIN',
- $user_templates . '/user/intro.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- $manager->AddDefaultHandler(
- $temp = new AppHandler(
- 'USER_MAIN',
- $user_templates . '/intro.inc',
- Array(),
- '',
- '',
- ''
- )
- );
- ?>