[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
raeburn
raeburn@source.lon-capa.org
Thu, 21 Jan 2010 19:22:03 -0000
raeburn Thu Jan 21 19:22:03 2010 EDT
Modified files:
/loncom/interface londocs.pm
Log:
- Link to IMS package to download displayed before any warnings about uncopied content. (Reverses change in rev 1.369).
- Wording change to correct poor English usage.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.414 loncom/interface/londocs.pm:1.415
--- loncom/interface/londocs.pm:1.414 Thu Jan 21 14:55:18 2010
+++ loncom/interface/londocs.pm Thu Jan 21 19:22:03 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.414 2010/01/21 14:55:18 raeburn Exp $
+# $Id: londocs.pm,v 1.415 2010/01/21 19:22:03 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -341,20 +341,20 @@
open(OUTPUT, "zip -r $imszip * 2> /dev/null |");
close(OUTPUT);
chdir $cwd;
+ $outcome .= '<p>'
+ .&mt('[_1]Your IMS package[_2] is ready for download.'
+ ,'<a href="'.$imszipfile.'">','</a>')
+ .'</p>';
if ($copyresult) {
$outcome .= '<p class="LC_error">'
.&mt('The following errors occurred during export - [_1]'
,$copyresult)
.'</p>';
}
- $outcome .= '<p>'
- .&mt('[_1]Your IMS package[_2] is ready for download.'
- ,'<a href="'.$imszipfile.'">','</a>')
- .'</p>';
} else {
$outcome = '<p class="LC_error">'
.&mt('Unfortunately you will not be able to retrieve'
- .' an IMS archive of this posts at this time,'
+ .' an IMS archive of your course at this time,'
.' because there was a problem creating a'
.' manifest file.')
.'</p>'