[LON-CAPA-cvs] cvs: loncom /publisher lonupload.pm
bisitz
bisitz@source.lon-capa.org
Mon, 06 Jul 2009 13:30:49 -0000
bisitz Mon Jul 6 13:30:49 2009 EDT
Modified files:
/loncom/publisher lonupload.pm
Log:
XHTML:
- Close <option>
- HTML attributes in lower case
Index: loncom/publisher/lonupload.pm
diff -u loncom/publisher/lonupload.pm:1.47 loncom/publisher/lonupload.pm:1.48
--- loncom/publisher/lonupload.pm:1.47 Mon Jul 6 10:19:22 2009
+++ loncom/publisher/lonupload.pm Mon Jul 6 13:30:49 2009
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# Handler to upload files into construction space
#
-# $Id: lonupload.pm,v 1.47 2009/07/06 10:19:22 bisitz Exp $
+# $Id: lonupload.pm,v 1.48 2009/07/06 13:30:49 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -191,14 +191,14 @@
'<br />'.
'<br />'.&mt('Choose file type:').'
<select name="filetype">
- <option value="standard" selected="selected">'.&mt('Regular file').'
- <option value="testbank">'.&mt('Testbank file').'
- <option value="imsimport">'.&mt('IMS package').'
+ <option value="standard" selected="selected">'.&mt('Regular file').'</option>
+ <option value="testbank">'.&mt('Testbank file').'</option>
+ <option value="imsimport">'.&mt('IMS package').'</option>
</select>'.&Apache::loncommon::help_open_topic("Uploading_File_Options").'
<br />
<br />
');
- $r->print('<input type="button" value="'.&mt('Upload').'" onClick="javascript:verifyForm()"/></form>');
+ $r->print('<input type="button" value="'.&mt('Upload').'" onclick="javascript:verifyForm()"/></form>');
# Check for bad extension and warn user
if ($fn=~/\.(\w+)$/ &&
(&Apache::loncommon::fileembstyle($1) eq 'hdn')) {