- Timestamp:
- Mar 1, 2008, 4:25:37 PM (17 years ago)
- Location:
- branches/branch-1_7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/include/functions_user.inc.php
r2228 r2236 72 72 } 73 73 74 $errors = trigger_event('register_user_check', 75 $errors, 76 array( 77 'login'=>$login, 78 'password'=>$password, 79 'email'=>$mail_address, 80 ) 81 ); 82 74 83 // if no error until here, registration of the user 75 84 if (count($errors) == 0) … … 1234 1243 else 1235 1244 { 1236 if ( script_basename() == 'admin'and is_adviser())1245 if (defined('IN_ADMIN') and is_adviser()) 1237 1246 { 1238 1247 return 'adviser.mode@'.$_SERVER['SERVER_NAME']; -
branches/branch-1_7/profile.php
r2228 r2236 42 42 $userdata = $user; 43 43 44 trigger_action('loc_begin_profile'); 45 44 46 save_profile_from_post($userdata, $errors); 45 47 … … 67 69 } 68 70 $template->set_filename('profile', 'profile.tpl'); 71 trigger_action('loc_end_profile'); 69 72 $template->parse('profile'); 70 73 include(PHPWG_ROOT_PATH.'include/page_tail.php');
Note: See TracChangeset
for help on using the changeset viewer.