[LON-CAPA-cvs] cvs: loncom /homework essayresponse.pm
banghart
lon-capa-cvs@mail.lon-capa.org
Mon, 06 Dec 2004 18:09:54 -0000
banghart Mon Dec 6 13:09:54 2004 EDT
Modified files:
/loncom/homework essayresponse.pm
Log:
Correcting strings for html compliance.
Index: loncom/homework/essayresponse.pm
diff -u loncom/homework/essayresponse.pm:1.51 loncom/homework/essayresponse.pm:1.52
--- loncom/homework/essayresponse.pm:1.51 Sat Dec 4 14:16:42 2004
+++ loncom/homework/essayresponse.pm Mon Dec 6 13:09:54 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# essay (ungraded) style responses
#
-# $Id: essayresponse.pm,v 1.51 2004/12/04 19:16:42 banghart Exp $
+# $Id: essayresponse.pm,v 1.52 2004/12/06 18:09:54 banghart Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -70,13 +70,13 @@
$part.'_'.$id.'" onFocus="this.form.enctype='.
"'multipart/form-data'".';" /><br />'.
&mt('Allowed filetypes: <b>[_1]</b>',$uploadedfiletypes).'<br />'.
- '<strong>OR:</strong><br /><a href='."'".'javascript:void(window.open("/adm/portfolio?mode=selectfile&fieldname=HWPORT'.$part.'_'.$id.'","cat","height=600,'.
+ '<strong>OR:</strong><br /><a href='."'".'javascript:void(window.open("/adm/portfolio?mode=selectfile&fieldname=HWPORT'.$part.'_'.$id.'","cat","height=600,'.
'width=600,scrollbars=1,resizable=1,menubar=2,location=1"))'."'".'>Select Portfolio Files</a>'.
'<br />'.
'<input type="text" size="50" name="HWPORT'.$part.'_'.$id.'" value="" />'.
'<br />';
if ($Apache::lonhomework::history{"resource.$part.$id.portfiles"}=~/[^\s]/){
- $result.="Portfolio files previously selected: <strong>".$Apache::lonhomework::history{"resource.$part.$id.portfiles"}."</strong><br />";
+ $result.="Portfolio files previously selected: <strong>".&Apache::lonnet::unescape($Apache::lonhomework::history{"resource.$part.$id.portfiles"})."</strong><br />";
}
if ($uploadedfile) {