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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Mon, 24 Dec 2007 19:35:58 -0000


raeburn		Mon Dec 24 14:35:58 2007 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  Display warning about potential for lengthy processing times in domain context, when roletype selected is course, and many courses are searched.
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.33 loncom/interface/lonuserutils.pm:1.34
--- loncom/interface/lonuserutils.pm:1.33	Mon Dec 24 00:26:31 2007
+++ loncom/interface/lonuserutils.pm	Mon Dec 24 14:35:56 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.33 2007/12/24 05:26:31 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.34 2007/12/24 19:35:56 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1311,7 +1311,7 @@
                   &Apache::lonhtmlcommon::row_closure(1).
                   &Apache::lonhtmlcommon::end_pick_box().'</p>'.
                   '<p>'.&list_submit_button(&mt('Update Display')).
-                  "\n</p>\n");
+                  "\n".'</p><span class="LC_warning">'.&mt('Warning: data retrieval for multiple courses can take considerable time, as this operation is not currently optimized.').'</span>'."\n");
         if ($env{'form.coursepick'}) {
             $r->print('<hr />'.&mt('Searching').' ...<br />&nbsp;<br />');
         }