[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /publisher lonupload.pm

raeburn raeburn@source.lon-capa.org
Wed, 07 Oct 2009 21:09:21 -0000


raeburn		Wed Oct  7 21:09:21 2009 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/publisher	lonupload.pm 
  Log:
  - Backport 1.48 and part of 1.47 for 2.9.X. 
  
  
Index: loncom/publisher/lonupload.pm
diff -u loncom/publisher/lonupload.pm:1.46 loncom/publisher/lonupload.pm:1.46.6.1
--- loncom/publisher/lonupload.pm:1.46	Thu May 14 14:24:18 2009
+++ loncom/publisher/lonupload.pm	Wed Oct  7 21:09:21 2009
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Handler to upload files into construction space
 #
-# $Id: lonupload.pm,v 1.46 2009/05/14 14:24:18 bisitz Exp $
+# $Id: lonupload.pm,v 1.46.6.1 2009/10/07 21:09:21 raeburn 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('Save').'" 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')) {