[LON-CAPA-cvs] cvs: loncom /interface londocs.pm portfolio.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 11 Jun 2007 21:27:24 -0000
albertel Mon Jun 11 17:27:24 2007 EDT
Modified files:
/loncom/interface portfolio.pm londocs.pm
Log:
- BUG#5290, updating directions on upload screen
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.182 loncom/interface/portfolio.pm:1.183
--- loncom/interface/portfolio.pm:1.182 Mon Jun 11 16:59:17 2007
+++ loncom/interface/portfolio.pm Mon Jun 11 17:27:23 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# portfolio browser
#
-# $Id: portfolio.pm,v 1.182 2007/06/11 20:59:17 albertel Exp $
+# $Id: portfolio.pm,v 1.183 2007/06/11 21:27:23 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1829,7 +1829,9 @@
<input type="hidden" name="fieldname" value="$env{'form.fieldname'}" />
<input type="hidden" name="mode" value="$env{'form.mode'}" />
STATE
- $r->print("<p>Completed upload of the file. This file contained references to other files. You can upload these now: </p>");
+ $r->print("<h2>".&mt("Reference Warning")."</h2>");
+ $r->print("<p>".&mt("Completed upload of the file. This file contained references to other files. You must upload the referenced files or else the uploaded file may not work properly.")."</p>");
+ $r->print("<p>".&mt("Please select the locations from which the referenced files are to be uploaded.")."</p>");
$r->print(&Apache::londocs::ask_for_embedded_content('/adm/portfolio',$state,\%allfiles,\%codebase,
{'error_on_invalid_names' => 1,
'ignore_remote_references' => 1,}));
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.274 loncom/interface/londocs.pm:1.275
--- loncom/interface/londocs.pm:1.274 Mon Jun 11 13:13:30 2007
+++ loncom/interface/londocs.pm Mon Jun 11 17:27:23 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.274 2007/06/11 17:13:30 albertel Exp $
+# $Id: londocs.pm,v 1.275 2007/06/11 21:27:23 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1616,7 +1616,8 @@
}
$upload_output .= &Apache::loncommon::end_data_table().'<br />
<input type ="hidden" name="number_embedded_items" value="'.$num.'" />
- <input type ="submit" value="Complete upload" />
+ <input type ="submit" value="'.&mt('Upload Listed Files').'" />
+ '.&mt('(only files for which a location has been provided will be uploaded)').'
</form>';
return $upload_output;
}