[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sun, 16 Jan 2005 08:28:32 -0000
albertel Sun Jan 16 03:28:32 2005 EDT
Modified files:
/loncom/homework grades.pm
Log:
- changes to support access times management
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.237 loncom/homework/grades.pm:1.238
--- loncom/homework/grades.pm:1.237 Mon Jan 10 13:56:19 2005
+++ loncom/homework/grades.pm Sun Jan 16 03:28:32 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.237 2005/01/10 18:56:19 albertel Exp $
+# $Id: grades.pm,v 1.238 2005/01/16 08:28:32 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4824,7 +4824,6 @@
#
#-------------------------------------------------------------------
-
#-------------------------- Menu interface -------------------------
#
#--- Show a Grading Menu button - Calls the next routine ---
@@ -4877,6 +4876,7 @@
if (!checkReceiptNo(formname,'notOK')) { return false;}
formname.submit();
}
+ if (val < 7) formname.submit();
}
function checkReceiptNo(formname,nospace) {
@@ -4929,7 +4929,7 @@
($saveSec eq $_ ? 'selected="on"':'').'>'.$_.'</option>'."\n";
}
}
- $result.= '<option value="all" '.($saveSec eq 'all' ? 'selected="on"' : ''). '>all</select> ';
+ $result.= '<option value="all" '.($saveSec eq 'all' ? 'selected="on"' : ''). '>all</option></select> ';
$result.=&mt('Student Status').':</b>'.&Apache::lonhtmlcommon::StatusOptions($saveStatus,undef,1,undef);
@@ -4981,6 +4981,9 @@
'-<input type="text" name="receipt" size="4" onChange="javascript:checkReceiptNo(this.form,\'OK\')">'.
'</td></tr>'."\n";
}
+ $result.='<tr bgcolor="#ffffe6"valign="top"><td colspan="2">'.
+ '<input type="button" onClick="javascript:this.form.action=\'/adm/helper/resettimes.helper\';this.form.submit();'.
+ '" value="'.&mt('Manage').'" /> access times.</td></tr>'."\n";
$result.='</form></td></tr></table>'."\n".
'</td></tr></table>'."\n".