View Issue Details

IDProjectCategoryView StatusLast Update
0011930mantisbtadministrationpublic2012-05-05 06:29
Reporteratrol Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.1 
Target Version1.2.3Fixed in Version1.2.3 
Summary0011930: No display of unused and new users when using non english account settings
Description

In page manage_user_page.php there is no display of new and unused users if account setting are not set to english.

The three generated links to show ALL, UNUSED and NEW useres are
http://myMantisBT/manage_user_page.php?sort=username&dir=ASC&save=1&hide=0&filter=ALL (where ALL is a hardcoded string)
http://myMantisBT/manage_user_page.php?sort=username&dir=ASC&save=1&hide=0&filter=UNBENUTZT (where UNBENUTZT is a localized string(
http://myMantisBT/manage_user_page.php?sort=username&dir=ASC&save=1&hide=0&filter=NEU (where NEU is a localized string)

There are other statements in this function where where variables are compared with hardcoded strings like 'ALL', 'NEW' and 'UNUSED'

IMO the generated links should not be localized, because this might introduce further problems.

TagsNo tags attached.

Relationships

has duplicate 0012761 closedatrol Manage User page filter problem with german laguage 

Activities

dhx

dhx

2010-05-20 02:44

reporter   ~0025555

$t_prefix_array[] = lang_get( 'users_unused' );
$t_prefix_array[] = lang_get( 'users_new' );

Needs to use hardcoded strings 'UNUSED' and 'NEW' instead.

dhx

dhx

2010-08-05 09:50

reporter   ~0026222

Fixed at last, thanks for being patient.

Related Changesets

MantisBT: master a4e6b210

2010-08-05 09:14

dhx


Details Diff
Fix 0011930: Fix unused/new prefix filters on manage users page

The UNUSED and NEW prefix filters on the manage users page were broken
due to use of a translated language string as a lookup key. This has now
been fixed to use constant keys "UNUSED" and "NEW" regardless of
language used.
Affected Issues
0011930
mod - manage_user_page.php Diff File

MantisBT: master-1.2.x 94aaca80

2010-08-05 09:14

dhx


Details Diff
Fix 0011930: Fix unused/new prefix filters on manage users page

The UNUSED and NEW prefix filters on the manage users page were broken
due to use of a translated language string as a lookup key. This has now
been fixed to use constant keys "UNUSED" and "NEW" regardless of
language used.
Affected Issues
0011930
mod - manage_user_page.php Diff File