EnglishPages: 1
admin and guest in the field "$item['status']" are not used from the language table "$lang['user_status_guest']" or "$lang['user_status_admin']" in the "admin.lang.php" file.
Last edited by eelko (2005-02-18 19:10:31)
Offline
Are you sure ? I can't reproduce (testing in french and english), and when I look at the code :
//------------------------------------------------------------- user management
if (defined('IN_ADMIN') and IN_ADMIN)
{
$status_select = '<select name="status">';
$status_select .='<option value = "guest" ';
if ($userdata['status'] == 'guest')
{
$status_select .= 'selected="selected"';
}
$status_select .='>'.$lang['user_status_guest'] .'</option>';
$status_select .='<option value = "admin" ';
if ($userdata['status'] == 'admin')
{
$status_select .= 'selected="selected"';
}
$status_select .='>'.$lang['user_status_admin'] .'</option>';
$status_select .='</select>';
$template->assign_block_vars(
'modify.admin',
array(
'L_ADMIN_USER'=>$lang['user_management'],
'L_STATUS'=>$lang['user_status'],
'L_DELETE'=>$lang['user_delete'],
'L_DELETE_HINT'=>$lang['user_delete_hint'],
'STATUS'=>$status_select
));
}language items are used
Offline
I create 3 screenshot for you to show:
Englisch
http://phpwebgallery.epel.nl/140rc3/gal … glisch.jpg
Français
http://phpwebgallery.epel.nl/140rc3/gal … ancais.jpg
Nederlands
http://phpwebgallery.epel.nl/140rc3/gal … rlands.jpg
Last edited by eelko (2005-02-18 23:44:24)
Offline
Sorry ! You're obviously right, I was not looking the right part of the script. Bug corrected.
As an excuse I would say that because of users list added in 1.4.0RC2, I didn't code this feature properly and implemented it in profile.php (where it has nothing to do!). This problem should disappear very quickly in BSF after 1.4.0 release.
Offline
Pages: 1