[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 05 Dec 2007 17:13:34 -0000
raeburn Wed Dec 5 12:13:34 2007 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
Show "Disable ID/Student Number Safeguard and Force Change" item in interface for modification of existing user, not in interface for adding new user.
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.198 loncom/interface/loncreateuser.pm:1.199
--- loncom/interface/loncreateuser.pm:1.198 Wed Dec 5 11:49:55 2007
+++ loncom/interface/loncreateuser.pm Wed Dec 5 12:13:34 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.198 2007/12/05 16:49:55 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.199 2007/12/05 17:13:34 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -718,9 +718,6 @@
} else {
$r->print($home_server_pick);
}
- if ($context eq 'domain') {
- $r->print(&Apache::lonuserutils::forceid_change());
- }
$r->print('</div>'."\n".'<div class="LC_left_float"><h3>'.
$lt{'lg'}.'</h3>');
my ($fixedauth,$varauth,$authmsg);
@@ -788,8 +785,11 @@
ENDCHANGEUSER
$r->print('<div class="LC_left_float">'.
&personal_data_display($ccuname,$ccdomain,$newuser,
- %inst_results).
- '</div>');
+ %inst_results));
+ if ($context eq 'domain') {
+ $r->print(&Apache::lonuserutils::forceid_change());
+ }
+ $r->print('</div>');
my $user_auth_text =
&user_authentication($ccuname,$ccdomain,$krbdefdom,\%abv_auth);
my $user_quota_text;