- Timestamp:
- Feb 23, 2010, 4:49:54 PM (15 years ago)
- Location:
- branches/2.0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/identification.php
r3046 r4955 46 46 if (isset($_POST['login'])) 47 47 { 48 $redirect_to = isset($_POST['redirect']) ? $_POST['redirect'] : ''; 49 $remember_me = isset($_POST['remember_me']) and $_POST['remember_me']==1; 50 if ( try_log_user($_POST['username'], $_POST['password'], $remember_me) ) 48 if (!isset($_COOKIE[session_name()])) 51 49 { 52 redirect(empty($redirect_to) ? make_index_url() : $redirect_to); 50 array_push( 51 $errors, 52 l10n('Cookies are blocked or not supported by your browser. You must enable cookies to connect.') 53 ); 53 54 } 54 55 else 55 { 56 array_push( $errors, l10n('invalid_pwd') ); 56 { 57 $redirect_to = isset($_POST['redirect']) ? $_POST['redirect'] : ''; 58 $remember_me = isset($_POST['remember_me']) and $_POST['remember_me']==1; 59 if ( try_log_user($_POST['username'], $_POST['password'], $remember_me) ) 60 { 61 redirect(empty($redirect_to) ? make_index_url() : $redirect_to); 62 } 63 else 64 { 65 array_push( $errors, l10n('invalid_pwd') ); 66 } 57 67 } 58 68 } -
branches/2.0/language/en_UK/common.lang.php
r4853 r4955 370 370 $lang['del_all_favorites_hint'] = 'delete all images from your favorites'; 371 371 $lang['Sent by'] = 'Sent by'; 372 $lang['Cookies are blocked or not supported by your browser. You must enable cookies to connect.'] = 'Cookies are blocked or not supported by your browser. You must enable cookies to connect.'; 372 373 ?> -
branches/2.0/language/fr_FR/common.lang.php
r4639 r4955 369 369 $lang['del_all_favorites_hint'] = 'supprimer toutes les images de vos favoris'; 370 370 $lang['Sent by'] = 'Envoyé par'; 371 $lang['Cookies are blocked or not supported by your browser. You must enable cookies to connect.'] = 'Les cookies sont bloqués ou non supportés par votre navigateur web. Vous devez activer les cookies pour vous connecter.'; 371 372 ?>
Note: See TracChangeset
for help on using the changeset viewer.