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

raeburn raeburn@source.lon-capa.org
Fri, 12 Dec 2008 02:32:28 -0000


raeburn		Fri Dec 12 02:32:28 2008 EDT

  Modified files:              
    /loncom/publisher	lonupload.pm 
  Log:
  - Unmatched HTML tags.
  
  
Index: loncom/publisher/lonupload.pm
diff -u loncom/publisher/lonupload.pm:1.41 loncom/publisher/lonupload.pm:1.42
--- loncom/publisher/lonupload.pm:1.41	Thu Nov 20 16:32:34 2008
+++ loncom/publisher/lonupload.pm	Fri Dec 12 02:32:27 2008
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Handler to upload files into construction space
 #
-# $Id: lonupload.pm,v 1.41 2008/11/20 16:32:34 bisitz Exp $
+# $Id: lonupload.pm,v 1.42 2008/12/12 02:32:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -290,8 +290,8 @@
     if ($fn=~/\.(\w+)$/ &&
         (&Apache::loncommon::fileembstyle($1) eq 'hdn')) {
         $result .= &mt('File [_1] could not be copied.',
-                      '<p class="LC_filename">'.$fn.'</span> ').
-                  '<span class="LC_error">'.
+                      '<span class="LC_filename">'.$fn.'</span> ').
+                  '<p class="LC_error">'.
                   &mt('The extension on this file is reserved internally by LON-CAPA.').
                   '</p>';
     } elsif ($fn=~/\.(\w+)$/ &&