--- loncom/interface/loncreateuser.pm 2005/06/19 00:41:32 1.105 +++ loncom/interface/loncreateuser.pm 2005/09/13 19:13:22 1.109 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.105 2005/06/19 00:41:32 www Exp $ +# $Id: loncreateuser.pm,v 1.109 2005/09/13 19:13:22 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -156,14 +156,18 @@ $lt{'dom'}:$domform +ENDDOCUMENT + if (&Apache::lonnet::allowed('mcr','/')) { + $r->print(<

$lt{'ecrp'}$helpecpr

$lt{'nr'}: $choice
- - -ENDDOCUMENT + +ENDCUSTOM + } + $r->print(''); } # =================================================================== Phase two @@ -661,7 +665,7 @@ END my $currentauth=&Apache::lonnet::queryauthenticate($ccuname,$ccdomain); if ($currentauth=~/^krb(4|5):/) { $currentauth=~/^krb(4|5):(.*)/; - my $krbdefdom=$1; + my $krbdefdom=$2; my %param = ( formname => 'document.cu', kerb_def_dom => $krbdefdom ); @@ -1546,6 +1550,7 @@ sub set_custom_role { $env{'user.name'}, $rolename)); } + $r->print('

Create another role, or Create/Modify a user.

'); $r->print(''); }