Changeset 5021 for trunk/admin/user_list.php
- Timestamp:
- Mar 2, 2010, 3:54:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/user_list.php
r4455 r5021 169 169 170 170 $page['order_by_items'] = array( 171 'id' => l10n('registration _date'),171 'id' => l10n('registration date'), 172 172 'username' => l10n('Username'), 173 173 'level' => l10n('Privacy level'), 174 ' language' => l10n('language'),174 'Language' => l10n('Language'), 175 175 ); 176 176 … … 192 192 if(empty($_POST['password'])) 193 193 { 194 array_push($page['errors'], l10n('Password is missing '));194 array_push($page['errors'], l10n('Password is missing. Please enter the password.')); 195 195 } 196 196 else if(empty($_POST['password_conf'])) 197 197 { 198 array_push($page['errors'], l10n('Password confirmation is missing '));198 array_push($page['errors'], l10n('Password confirmation is missing. Please confirm the chosen password.')); 199 199 } 200 200 else if(empty($_POST['email'])) 201 201 { 202 array_push($page['errors'], l10n('Email address is missing '));202 array_push($page['errors'], l10n('Email address is missing. Please specify an email address.')); 203 203 } 204 204 else if ($_POST['password'] != $_POST['password_conf']) 205 205 { 206 array_push($page['errors'], l10n('Password confirmation error '));206 array_push($page['errors'], l10n('Password confirmation error.')); 207 207 } 208 208 else … … 216 216 $page['infos'], 217 217 sprintf( 218 l10n('user "%s" added'),218 l10n('user \"%s\" added'), 219 219 $_POST['login'] 220 220 ) … … 236 236 $page['infos'], 237 237 sprintf( 238 l10n('user "%s" added'),238 l10n('user \"%s\" added'), 239 239 $_POST['login'] 240 240 ) … … 694 694 $properties[] = 695 695 (isset($local_user['enabled_high']) and ($local_user['enabled_high'] == 'true')) 696 ? l10n(' is_high_enabled') : l10n('is_high_disabled');696 ? l10n('') : l10n(''); 697 697 698 698 $template->append( … … 705 705 'USERNAME' => stripslashes($local_user['username']) 706 706 .($local_user['id'] == $conf['guest_id'] 707 ? '<br>['.l10n(' is_the_guest').']' : '')707 ? '<br>['.l10n('guest').']' : '') 708 708 .($local_user['id'] == $conf['default_user_id'] 709 ? '<br>['.l10n(' is_the_default').']' : ''),709 ? '<br>['.l10n('default values').']' : ''), 710 710 'STATUS' => l10n('user_status_'. 711 711 $local_user['status']).(($local_user['adviser'] == 'true') 712 ? '<br>['.l10n(' adviser').']' : ''),712 ? '<br>['.l10n('Adviser').']' : ''), 713 713 'EMAIL' => get_email_address_as_display_text($local_user['email']), 714 714 'GROUPS' => $groups_string,
Note: See TracChangeset
for help on using the changeset viewer.