--- loncom/publisher/lonupload.pm 2008/11/20 16:32:34 1.41
+++ loncom/publisher/lonupload.pm 2009/07/06 10:19:22 1.47
@@ -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.47 2009/07/06 10:19:22 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -191,14 +191,14 @@ sub phaseone {
'
'.
'
'.&mt('Choose file type:').'
'.&Apache::loncommon::help_open_topic("Uploading_File_Options").'
');
- $r->print('');
+ $r->print('');
# Check for bad extension and warn user
if ($fn=~/\.(\w+)$/ &&
(&Apache::loncommon::fileembstyle($1) eq 'hdn')) {
@@ -290,8 +290,8 @@ sub check_extension {
if ($fn=~/\.(\w+)$/ &&
(&Apache::loncommon::fileembstyle($1) eq 'hdn')) {
$result .= &mt('File [_1] could not be copied.',
- '
'.$fn.' ').
- ''.
+ ''.$fn.' ').
+ ' '.
&mt('The extension on this file is reserved internally by LON-CAPA.').
' '
+ .&mt('Co-Author [_1]',$uname.':'.$udom)
+ .''.&mt('Co-Author').': '.$uname.
- &mt(' at ').$udom.'
');
+ $r->print('