--- loncom/interface/lonwhatsnew.pm 2008/06/19 15:51:39 1.78
+++ loncom/interface/lonwhatsnew.pm 2008/12/17 19:22:00 1.80.2.2
@@ -1,5 +1,5 @@
#
-# $Id: lonwhatsnew.pm,v 1.78 2008/06/19 15:51:39 bisitz Exp $
+# $Id: lonwhatsnew.pm,v 1.80.2.2 2008/12/17 19:22:00 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -462,9 +462,9 @@ sub display_actions_box {
}
$headings{'abovethreshold'} =
- &mt('Problems with av. attempts ≥ [_1] or deg. difficulty ≥ [_2]
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{'numstudents'});
+ '
',$threshold{'numstudents'});
my @actionorder = ('handgrading','haserrors','abovethreshold','versionchanges','coursediscussion','coursenormalmail','coursecritmail','newroles','oldroles');
@@ -687,9 +687,9 @@ function toggle_countunread(choice) {
$r->print('
-  
- '.
+ (' ' x7).
+ '
');
@@ -1220,8 +1220,8 @@ sub getactivated {
if (ref($changes{$chg}) eq 'HASH') {
my $timestamp = $changes{$chg}{'exe_time'};
if ($timestamp) {
- if ($rolechgtime > -1) {
- if ($now - $rolechgtime < $timestamp) {
+ if ($rolechgtime > 0) {
+ if ($timestamp < $rolechgtime) {
last;
}
}