internationalized the high group count message
This commit is contained in:
parent
fd772980e4
commit
a894e6a879
2 changed files with 6 additions and 1 deletions
|
|
@ -615,7 +615,7 @@ sub www_listGroups {
|
||||||
my $output = getGroupSearchForm($session, "listGroups");
|
my $output = getGroupSearchForm($session, "listGroups");
|
||||||
my ($groupCount) = $session->db->quickArray("select count(*) from groups where isEditable=1");
|
my ($groupCount) = $session->db->quickArray("select count(*) from groups where isEditable=1");
|
||||||
if($groupCount > 250) {
|
if($groupCount > 250) {
|
||||||
$output .= "<p>There are over 250 groups. Please use the search to find a group.</p>\n";
|
$output .= $i18n->get('high group count');
|
||||||
}
|
}
|
||||||
return _submenu($session,$output) unless ($session->form->process("doit") || $groupCount<250 || $session->form->process("pn") > 1);
|
return _submenu($session,$output) unless ($session->form->process("doit") || $groupCount<250 || $session->form->process("pn") > 1);
|
||||||
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
||||||
|
|
|
||||||
|
|
@ -3915,6 +3915,11 @@ LongTruncOk=1</p>
|
||||||
lastUpdated => 1193196211,
|
lastUpdated => 1193196211,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'high group count' => {
|
||||||
|
message => q{<p>There are over 250 groups. Please use the search to find a group.</p>},
|
||||||
|
lastUpdated => 1193196211,
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue