Changeset 402 for trunk/identification.php
- Timestamp:
- Mar 30, 2004, 12:40:21 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/identification.php
r393 r402 26 26 // +-----------------------------------------------------------------------+ 27 27 28 //----------------------------------------------------------- include28 //--------------------------------------------------------------------- include 29 29 define('PHPWG_ROOT_PATH','./'); 30 30 include_once( PHPWG_ROOT_PATH.'include/common.inc.php' ); … … 43 43 $session_id = session_create( $_POST['username'] ); 44 44 $url = 'category.php?id='.$session_id; 45 redirect( $url ); 45 46 header( 'Request-URI: '.$url ); 46 47 header( 'Content-Location: '.$url ); … … 62 63 $template->set_filenames( array('identification'=>'identification.tpl') ); 63 64 64 $template->assign_vars( array(65 'MAIL_ADMIN' => $conf['mail_webmaster'],66 67 'L_TITLE' => $lang['ident_title'],68 'L_USERNAME' => $lang['login'],69 'L_PASSWORD' => $lang['password'],70 'L_LOGIN' => $lang['submit'],71 'L_GUEST' => $lang['ident_guest_visit'],72 'L_REGISTER' => $lang['ident_register'],73 'L_FORGET' => $lang['ident_forgotten_password'],74 75 'T_STYLE' => $user['template'],76 77 'F_LOGIN_ACTION' => add_session_id('identification.php')78 ));79 65 $template->assign_vars( 66 array( 67 'MAIL_ADMIN' => $conf['mail_webmaster'], 68 69 'L_TITLE' => $lang['ident_title'], 70 'L_USERNAME' => $lang['login'], 71 'L_PASSWORD' => $lang['password'], 72 'L_LOGIN' => $lang['submit'], 73 'L_GUEST' => $lang['ident_guest_visit'], 74 'L_REGISTER' => $lang['ident_register'], 75 'L_FORGET' => $lang['ident_forgotten_password'], 76 77 'T_STYLE' => $user['template'], 78 79 'F_LOGIN_ACTION' => add_session_id('identification.php') 80 )); 80 81 //-------------------------------------------------------------- errors display 81 82 if ( sizeof( $errors ) != 0 )
Note: See TracChangeset
for help on using the changeset viewer.