- Timestamp:
- Sep 13, 2010, 9:40:42 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/profile.php
r6363 r6897 26 26 $edit_user = build_user( $_GET['user_id'], false ); 27 27 28 if (!empty($_POST)) 29 { 30 check_pwg_token(); 31 } 32 28 33 include_once(PHPWG_ROOT_PATH.'profile.php'); 29 30 34 31 35 $errors = array(); -
trunk/admin/themes/default/template/profile_content.tpl
r6363 r6897 104 104 105 105 <p class="bottomButtons"> 106 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 106 107 <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> 107 108 <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> -
trunk/profile.php
r6363 r6897 36 36 // +-----------------------------------------------------------------------+ 37 37 check_status(ACCESS_CLASSIC); 38 39 if (!empty($_POST)) 40 { 41 check_pwg_token(); 42 } 38 43 39 44 $userdata = $user; … … 290 295 trigger_action( 'load_profile_in_template', $userdata ); 291 296 297 $template->assign('PWG_TOKEN', get_pwg_token()); 292 298 $template->assign_var_from_handle('PROFILE_CONTENT', 'profile_content'); 293 299 }
Note: See TracChangeset
for help on using the changeset viewer.