[LON-CAPA-cvs] cvs: loncom /interface lonuserutils.pm

droeschl lon-capa-cvs-allow@mail.lon-capa.org
Thu, 11 Sep 2008 19:42:30 -0000


droeschl		Thu Sep 11 15:42:30 2008 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  Added mt() for "is ready for download" after creation of the csv file.
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.64 loncom/interface/lonuserutils.pm:1.65
--- loncom/interface/lonuserutils.pm:1.64	Thu Sep 11 10:47:21 2008
+++ loncom/interface/lonuserutils.pm	Thu Sep 11 15:42:28 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.64 2008/09/11 14:47:21 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.65 2008/09/11 19:42:28 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2559,9 +2559,8 @@
                   &mt('Your Excel spreadsheet').'</a> '.&mt('is ready for download').'.</p>'."\n");
     } elsif ($mode eq 'csv') {
         close($CSVfile);
-        $r->print('<a href="'.$CSVfilename.'">'.
-                  &mt('Your CSV file').'</a> is ready for download.'.
-                  "\n");
+        $r->print('<p><a href="'.$CSVfilename.'">'.
+                  &mt('Your CSV file').'</a> '.&mt('is ready for download').'.</p>'."\n");
         $r->rflush();
     }
     if ($mode eq 'autoenroll') {