version 1.121, 2016/11/05 13:37:49
|
version 1.123, 2017/05/19 18:23:19
|
Line 87 sub handler {
|
Line 87 sub handler {
|
['mgr','handgrading',1], |
['mgr','handgrading',1], |
['vgr','abovethreshold',1], |
['vgr','abovethreshold',1], |
['vgr','haserrors',1], |
['vgr','haserrors',1], |
['whn','versionchanges',0], |
['whn','versionchanges',1], |
['vcl','newroles',1], |
['vcl','newroles',1], |
['vcl','oldroles',1], |
['vcl','oldroles',1], |
['whn','crslogin',1], |
['whn','crslogin',1], |
Line 1241 sub get_current {
|
Line 1241 sub get_current {
|
sub process_reset { |
sub process_reset { |
my ($dom,$crs,$checkallowed) = @_; |
my ($dom,$crs,$checkallowed) = @_; |
if (!$checkallowed->{'resetcounters'}) { |
if (!$checkallowed->{'resetcounters'}) { |
return '<b>'.&mt('You do not the required privileges to reset counters'). |
return '<b>'.&mt('You do not have the required privileges to reset counters'). |
'</b><br />'; |
'</b><br />'; |
} |
} |
my $result = '<b>'.&mt('Counters reset for following problems (and parts):'). |
my $result = '<b>'.&mt('Counters reset for following problems (and parts):'). |