Changeset 12272 for extensions/UserAdvManager/branches/2.30/main.inc.php
- Timestamp:
- Sep 30, 2011, 1:51:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.30/main.inc.php
r12248 r12272 29 29 30 30 // Plugin administration panel 31 // --------------------------- 31 32 add_event_handler('get_admin_plugin_menu_links', 'UAM_admin_menu'); 32 33 33 /* Lastvisit table feed for Ghost Tracker */ 34 // Lastvisit table feed for Ghost Tracker 35 // -------------------------------------- 34 36 add_event_handler('loc_begin_index', 'UAM_GhostTracker'); 35 37 36 38 // User creation 39 // ------------- 37 40 add_event_handler('register_user', 'UAM_Adduser'); 38 41 39 42 // User deletion 43 // ------------- 40 44 add_event_handler('delete_user', 'UAM_Deluser'); 41 45 42 46 // Check users registration 47 // ------------------------ 43 48 add_event_handler('register_user_check', 'UAM_RegistrationCheck', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); 44 49 … … 49 54 50 55 // Redirection to profile page 56 // --------------------------- 51 57 add_event_handler('login_success', 'UAM_LoginTasks'); 52 58 53 59 // Adding customized text to lost password email 60 // --------------------------------------------- 54 61 add_event_handler('render_lost_password_mail_content', 'UAM_lost_password_mail_content'); 55 62 56 63 // *** Important ! This is necessary to make email exclusion work in admin's users management panel *** 64 // ---------------------------------------------------------------------------------------------------- 57 65 add_event_handler('init', 'UAM_InitPage'); 58 66 59 67 // PWG_Stuffs module 68 // ----------------- 60 69 if ((isset($conf_UAM[33]) and $conf_UAM[33] == 'true')) 61 70 { … … 64 73 65 74 // Add new feature in user_list - Password Reset 75 // --------------------------------------------- 66 76 if ((isset($conf_UAM[38]) and $conf_UAM[38] == 'true')) 67 77 { 68 // add new column on user_list 78 // Add new column on user_list 79 // --------------------------- 69 80 add_event_handler('loc_visible_user_list', 'UAM_loc_visible_user_list'); 70 81 71 //add prefilter on user_list 82 // Add prefilter on user_list 83 // -------------------------- 72 84 add_event_handler('loc_begin_admin', 'UAM_PwdReset_Action',60); 73 85 86 /** 87 * UAM_PwdReset_Action - Triggered on UAM_PwdReset_Action 88 * Handle passord reset action in user_list.php 89 */ 74 90 function UAM_PwdReset_Action() 75 91 { … … 170 186 } 171 187 188 /** 189 * UAM_PwdReset_Prefilter 190 * Adds action field for password reset in user_list.tpl 191 */ 172 192 function UAM_PwdReset_Prefilter($content, &$smarty) 173 193 {
Note: See TracChangeset
for help on using the changeset viewer.