internationalize the warning in the Operation/User.pm for not displaying users when there are more than 250 of them
This commit is contained in:
parent
c6948b62d0
commit
b6bab1723a
2 changed files with 6 additions and 1 deletions
|
|
@ -638,7 +638,7 @@ sub www_listUsers {
|
|||
my $output = getUserSearchForm($session,"listUsers");
|
||||
my ($userCount) = $session->db->quickArray("select count(*) from users");
|
||||
if($userCount > 250) {
|
||||
$output .= "<p>There are over 250 users. Please use the search to find users.</p>\n";
|
||||
$output .= $i18n->get('high user count');
|
||||
}
|
||||
|
||||
return _submenu($session,{workarea => $output}) unless ($session->form->process("doit") || $userCount<250 || $session->form->process("pn") > 1);
|
||||
|
|
|
|||
|
|
@ -3910,6 +3910,11 @@ LongTruncOk=1</p>
|
|||
lastUpdated => 1193196211,
|
||||
},
|
||||
|
||||
'high user count' => {
|
||||
message => q{<p>There are over 250 users. Please use the search to find users.</p>},
|
||||
lastUpdated => 1193196211,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue