[LON-CAPA-cvs] cvs: loncom(GCI_2) /homework essayresponse.pm
gci
gci@source.lon-capa.org
Wed, 23 Sep 2009 02:58:00 -0000
gci Wed Sep 23 02:58:00 2009 EDT
Modified files: (Branch: GCI_2)
/loncom/homework essayresponse.pm
Log:
- GCI customization for submission to concept inventory.
Index: loncom/homework/essayresponse.pm
diff -u loncom/homework/essayresponse.pm:1.101 loncom/homework/essayresponse.pm:1.101.8.1
--- loncom/homework/essayresponse.pm:1.101 Sat May 23 18:07:57 2009
+++ loncom/homework/essayresponse.pm Wed Sep 23 02:58:00 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.8.1 2009/09/23 02:58:00 gci 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) {