version 1.78, 2008/06/19 15:51:39
|
version 1.80, 2008/08/26 01:12:16
|
Line 462 sub display_actions_box {
|
Line 462 sub display_actions_box {
|
} |
} |
|
|
$headings{'abovethreshold'} = |
$headings{'abovethreshold'} = |
&mt('Problems with av. attempts ≥ [_1] or deg. difficulty ≥ [_2] <br /> and total number of '.$stulabel{$crstype}.' with submissions ≥ [_3]', |
&mt('(Problems with av. attempts ≥ [_1] or deg. difficulty ≥ [_2]) [_3] and total number of '.$stulabel{$crstype}.' with submissions ≥ [_4]', |
$threshold{'av_attempts'},$threshold{'degdiff'}, |
$threshold{'av_attempts'},$threshold{'degdiff'}, |
$threshold{'numstudents'}); |
'<br />',$threshold{'numstudents'}); |
|
|
my @actionorder = ('handgrading','haserrors','abovethreshold','versionchanges','coursediscussion','coursenormalmail','coursecritmail','newroles','oldroles'); |
my @actionorder = ('handgrading','haserrors','abovethreshold','versionchanges','coursediscussion','coursenormalmail','coursecritmail','newroles','oldroles'); |
|
|
Line 1220 sub getactivated {
|
Line 1220 sub getactivated {
|
if (ref($changes{$chg}) eq 'HASH') { |
if (ref($changes{$chg}) eq 'HASH') { |
my $timestamp = $changes{$chg}{'exe_time'}; |
my $timestamp = $changes{$chg}{'exe_time'}; |
if ($timestamp) { |
if ($timestamp) { |
if ($rolechgtime > -1) { |
if ($rolechgtime > 0) { |
if ($now - $rolechgtime < $timestamp) { |
if ($timestamp < $rolechgtime) { |
last; |
last; |
} |
} |
} |
} |