[LON-CAPA-cvs] cvs: loncom /interface lonwhatsnew.pm
raeburn
raeburn at source.lon-capa.org
Sun Oct 23 17:50:55 EDT 2016
raeburn Sun Oct 23 21:50:55 2016 EDT
Modified files:
/loncom/interface lonwhatsnew.pm
Log:
- Remove trailing white space. No code changes.
Index: loncom/interface/lonwhatsnew.pm
diff -u loncom/interface/lonwhatsnew.pm:1.119 loncom/interface/lonwhatsnew.pm:1.120
--- loncom/interface/lonwhatsnew.pm:1.119 Sun Oct 16 23:19:59 2016
+++ loncom/interface/lonwhatsnew.pm Sun Oct 23 21:50:55 2016
@@ -1,5 +1,5 @@
#
-# $Id: lonwhatsnew.pm,v 1.119 2016/10/16 23:19:59 raeburn Exp $
+# $Id: lonwhatsnew.pm,v 1.120 2016/10/23 21:50:55 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1145,8 +1145,8 @@
<td>'.$stats{$part}{attempts}.'</td>
<td>'.$stats{$part}{degdiff}.'</td>
<td>'.$lastreset{$part}.'</td>';
- if ($checkallowed->{'resetcounters'}) {
- $$triggered{$symb}{text}[$partcount] .=
+ if ($checkallowed->{'resetcounters'}) {
+ $$triggered{$symb}{text}[$partcount] .=
'<td><input type="checkbox" name="'.$resetname.'" />'.
'<input type="hidden" name="'.$resettitle.'" value="'.&escape($$triggered{$symb}{title}).'" /></td>';
}
@@ -1214,7 +1214,7 @@
my ($dom,$crs,$checkallowed) = @_;
if (!$checkallowed->{'resetcounters'}) {
return '<b>'.&mt('You do not the required privileges to reset counters').
- '</b><br />';
+ '</b><br />';
}
my $result = '<b>'.&mt('Counters reset for following problems (and parts):').
'</b><br />';
@@ -1741,7 +1741,7 @@
}
}
}
- if ($checkallowed->{'resetcounters'}) {
+ if ($checkallowed->{'resetcounters'}) {
$r->print('<tr class="LC_info_row"><td colspan="7" class="LC_right_item"><br /><input type="button" name="counters" value="'.$lt{'rese'}.'" onclick="javascript:thresholdreset();" /></td></tr>');
}
} elsif ($itemserror) {
More information about the LON-CAPA-cvs
mailing list