Changeset 12764 for trunk/identification.php
- Timestamp:
- Dec 18, 2011, 10:46:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/identification.php
r11989 r12764 32 32 33 33 //-------------------------------------------------------------- identification 34 $errors = array();35 36 34 $redirect_to = ''; 37 35 if ( !empty($_GET['redirect']) ) … … 40 38 if ( is_a_guest() ) 41 39 { 42 array_push($ errors, l10n('You are not authorized to access the requested page'));40 array_push($page['errors'], l10n('You are not authorized to access the requested page')); 43 41 } 44 42 } … … 49 47 { 50 48 array_push( 51 $ errors,49 $page['errors'], 52 50 l10n('Cookies are blocked or not supported by your browser. You must enable cookies to connect.') 53 51 ); … … 69 67 else 70 68 { 71 array_push( $errors, l10n('Invalid password!') );69 array_push($page['errors'], l10n('Invalid password!') ); 72 70 } 73 71 } … … 97 95 } 98 96 99 //-------------------------------------------------------------- errors display100 if ( sizeof( $errors ) != 0 )101 {102 $template->assign('errors', $errors);103 }104 105 97 // include menubar 106 98 $themeconf = $template->get_template_vars('themeconf');
Note: See TracChangeset
for help on using the changeset viewer.