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

raeburn raeburn@source.lon-capa.org
Mon, 05 Jan 2009 17:03:13 -0000


raeburn		Mon Jan  5 17:03:13 2009 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/interface	lonuserutils.pm 
  Log:
  - Backport 1.78.
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.73.2.1 loncom/interface/lonuserutils.pm:1.73.2.2
--- loncom/interface/lonuserutils.pm:1.73.2.1	Fri Dec 12 16:53:37 2008
+++ loncom/interface/lonuserutils.pm	Mon Jan  5 17:03:13 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.73.2.1 2008/12/12 16:53:37 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.73.2.2 2009/01/05 17:03:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1316,6 +1316,12 @@
         ($cnum,$cdom) = &get_course_identity();
         $r->print(&section_group_filter($cnum,$cdom));
     }
+    if ($env{'form.phase'} eq '') {
+        $r->print('<br /><br />'.&list_submit_button(&mt('Display List of Users')).
+                  "\n</p>\n".
+                  '<input type="hidden" name="phase" value="" /></form>');
+        return;
+    }
     if (!(($context eq 'domain') && ($env{'form.roletype'} eq 'course'))) {
         $r->print('&nbsp;'.&list_submit_button(&mt('Update Display')).
                   "\n</p>\n");