[LON-CAPA-cvs] cvs: loncom(GCI_3) /homework essayresponse.pm
raeburn
raeburn@source.lon-capa.org
Sun, 06 Dec 2009 20:41:40 -0000
raeburn Sun Dec 6 20:41:40 2009 EDT
Modified files: (Branch: GCI_3)
/loncom/homework essayresponse.pm
Log:
- Customization for GCI_3.
Index: loncom/homework/essayresponse.pm
diff -u loncom/homework/essayresponse.pm:1.101 loncom/homework/essayresponse.pm:1.101.10.1
--- loncom/homework/essayresponse.pm:1.101 Sat May 23 18:07:57 2009
+++ loncom/homework/essayresponse.pm Sun Dec 6 20:41:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# essay (ungraded) style responses
#
-# $Id: essayresponse.pm,v 1.101 2009/05/23 18:07:57 riegler Exp $
+# $Id: essayresponse.pm,v 1.101.10.1 2009/12/06 20:41:40 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -60,7 +60,10 @@
}
$result.='<br /><table border="1">';
if ( $Apache::lonhomework::type ne 'survey' ) {
- $result.= '<tr><td>'.
+ if ($env{'request.uri'} eq '/res/gci/gci/internal/submission.problem') {
+ $result .= '<input type="hidden" name="HWDRAFT'.$part.'_'.$id.'" value="yes" />';
+ } else {
+ $result.= '<tr><td>'.
'<label>'.
'<input type="radio" name="HWDRAFT'.$part.'_'.$id.'" value="yes" checked="checked" /> '.
&mt('Submit entries below as answer to receive credit').
@@ -70,6 +73,7 @@
&mt('Save entries below (not submitted for credit yet)').
'</label>'.
'</td></tr>';
+ }
}
if ($ncol > 0) {