Changeset 2223 for trunk/identification.php
- Timestamp:
- Feb 28, 2008, 3:41:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/identification.php
r2029 r2223 71 71 $template->set_filenames( array('identification'=>'identification.tpl') ); 72 72 73 $template->assign _vars(73 $template->assign( 74 74 array( 75 'U_REGISTER' => PHPWG_ROOT_PATH.'register.php', 76 'U_LOST_PASSWORD' => PHPWG_ROOT_PATH.'password.php', 77 'U_HOME' => make_index_url(), 75 'U_LOST_PASSWORD' => get_root_url().'password.php', 78 76 'U_REDIRECT' => $redirect_to, 79 77 80 'F_LOGIN_ACTION' => PHPWG_ROOT_PATH.'identification.php' 78 'F_LOGIN_ACTION' => get_root_url().'identification.php', 79 'authorize_remembering' => $conf['authorize_remembering'], 81 80 )); 82 81 83 if ($conf['authorize_remembering'])84 {85 $template->assign_block_vars('remember_me',array());86 }87 82 if ($conf['allow_user_registration']) 88 83 { 89 $template->assign _block_vars('register',array());84 $template->assign('U_REGISTER', get_root_url().'register.php' ); 90 85 } 91 86 … … 93 88 if ( sizeof( $errors ) != 0 ) 94 89 { 95 $template->assign_block_vars('errors',array()); 96 for ( $i = 0; $i < sizeof( $errors ); $i++ ) 97 { 98 $template->assign_block_vars('errors.error',array('ERROR'=>$errors[$i])); 99 } 90 $template->assign('errors', $errors); 100 91 } 101 //-------------------------------------------------------------- visit as guest 102 $template->assign_block_vars('free_access',array()); 92 103 93 //----------------------------------------------------------- html code display 104 $template->p arse('identification');94 $template->pparse('identification'); 105 95 include(PHPWG_ROOT_PATH.'include/page_tail.php'); 106 96 ?>
Note: See TracChangeset
for help on using the changeset viewer.