[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
bisitz
bisitz@source.lon-capa.org
Wed, 09 Jun 2010 11:56:02 -0000
bisitz Wed Jun 9 11:56:02 2010 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
Optimized display of page header for time consuming creation/modification actions
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.343 loncom/interface/loncreateuser.pm:1.344
--- loncom/interface/loncreateuser.pm:1.343 Sat May 22 01:27:48 2010
+++ loncom/interface/loncreateuser.pm Wed Jun 9 11:56:02 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.343 2010/05/22 01:27:48 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.344 2010/06/09 11:56:02 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2297,6 +2297,8 @@
$r->print('<h3>'.&mt('User [_1] in domain [_2]',
$env{'form.ccuname'}, $env{'form.ccdomain'}).'</h3>');
+ $r->print('<p class="LC_info">'.&mt('Please be patient').'</p>');
+
my (%alerts,%rulematch,%inst_results,%curr_rules);
my @userinfo = ('firstname','middlename','lastname','generation','permanentemail','id');
my @usertools = ('aboutme','blog','portfolio');
@@ -2438,6 +2440,9 @@
$r->print($error.&mt('You do not have the authority to modify this users authentification information').'.'.$end);
}
}
+
+ $r->rflush(); # Finish display of header before time consuming actions start
+
##
my (@userroles,%userupdate,$cnum,$cdom,%namechanged);
if ($context eq 'course') {