Changeset 906
- Timestamp:
- Oct 22, 2005, 11:53:12 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/user_list.php
r880 r906 189 189 { 190 190 $page['errors'] = register_user($_POST['login'], $_POST['password'], ''); 191 192 if (count($page['errors']) == 0) 193 { 194 array_push( 195 $page['infos'], 196 sprintf( 197 l10n('user "%s" added'), 198 $_POST['login'] 199 ) 200 ); 201 } 191 202 } 192 203 … … 410 421 'L_SUBMIT'=>$lang['submit'], 411 422 'L_STATUS'=>$lang['user_status'], 412 'L_USERNAME' => $lang['login'],413 423 'L_PASSWORD' => $lang['password'], 414 424 'L_EMAIL' => $lang['mail_address'], -
trunk/doc/ChangeLog
r905 r906 1 2005-10-22 Pierrick LE GALL 2 3 * bug 173 fixed: due to phpBB user identifiers management, the 4 method to find the next user identifier has changer to MAX+1. 5 6 * improvement: information message when new user added 7 8 * bug fixed: language item "Username" used instead of "login". 9 1 10 2005-10-20 chrisaga 2 11 3 * bug 176 fixed: need a javascript to handle transparent PNG background in IE 4 (tribute to Bob Osola http://homepage.ntlworld.com/bobosola/index.htm 5 6 * display: fixed another IE childselector bug in Categories Management admin page 7 and improved display of this page in all browsers too. 12 * bug 176 fixed: need a javascript to handle transparent PNG 13 background in IE (tribute to Bob Osola 14 http://homepage.ntlworld.com/bobosola/index.htm) 15 16 * display: fixed another IE childselector bug in Categories 17 Management admin page and improved display of this page in all 18 browsers too. 8 19 9 20 2005-10-18 Pierrick LE GALL -
trunk/include/functions_user.inc.php
r879 r906 77 77 if (count($errors) == 0) 78 78 { 79 // what will be the inserted id ? 80 $query = ' 81 SELECT MAX('.$conf['user_fields']['id'].') + 1 82 FROM '.USERS_TABLE.' 83 ;'; 84 list($next_id) = mysql_fetch_array(pwg_query($query)); 85 79 86 $insert = 80 87 array( 88 $conf['user_fields']['id'] => $next_id, 81 89 $conf['user_fields']['username'] => mysql_escape_string($login), 82 90 $conf['user_fields']['password'] => $conf['pass_convert']($password), … … 87 95 mass_inserts(USERS_TABLE, array_keys($insert), array($insert)); 88 96 89 create_user_infos( mysql_insert_id());90 } 91 97 create_user_infos($next_id); 98 } 99 92 100 return $errors; 93 101 } -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r895 r906 355 355 $lang['update_wrong_dirname_short'] = 'wrong filename'; 356 356 $lang['upload'] = 'Upload'; 357 $lang['user "%s" added'] = 'user "%s" added'; 357 358 $lang['user_delete'] = 'Delete user'; 358 359 $lang['user_delete_hint'] = 'Click here to delete this user. Warning! This operation cannot be undone!'; -
trunk/language/fr_FR.iso-8859-1/admin.lang.php
r894 r906 353 353 $lang['update_wrong_dirname_short'] = 'nom de fichier erroné'; 354 354 $lang['upload'] = 'Ajout'; 355 $lang['user "%s" added'] = 'utilisateur "%s" ajouté'; 355 356 $lang['user_delete'] = 'Supprimer utilisateur'; 356 357 $lang['user_delete_hint'] = 'Cliquer ici pour supprimer cet utilisateur. Attention : cette opération ne peut pas être annulée !'; -
trunk/template/yoga/admin/user_list.tpl
r874 r906 9 9 <fieldset> 10 10 <legend>{lang:Add a user}</legend> 11 <label>{ L_USERNAME} <input type="text" name="login" maxlength="50" size="20" /></label>11 <label>{lang:Username} <input type="text" name="login" maxlength="50" size="20" /></label> 12 12 <label>{L_PASSWORD} <input type="text" name="password" /></label> 13 13 <input type="submit" name="submit_add" value="{L_SUBMIT}" /> … … 28 28 29 29 30 <label>{lang: username} <input type="text" name="username" value="{F_USERNAME}" /></label>30 <label>{lang:Username} <input type="text" name="username" value="{F_USERNAME}" /></label> 31 31 32 32 <label> … … 77 77 <tr class="throw"> 78 78 <th> </th> 79 <th>{ L_USERNAME}</th>79 <th>{lang:Username}</th> 80 80 <th>{L_STATUS}</th> 81 81 <th>{L_EMAIL}</th>
Note: See TracChangeset
for help on using the changeset viewer.