--- loncom/interface/loncreateuser.pm 2009/02/05 12:19:50 1.277 +++ loncom/interface/loncreateuser.pm 2009/02/18 19:34:08 1.282 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.277 2009/02/05 12:19:50 raeburn Exp $ +# $Id: loncreateuser.pm,v 1.282 2009/02/18 19:34:08 schafran Exp $ # # Copyright Michigan State University Board of Trustees # @@ -227,9 +227,9 @@ sub build_tools_display { 'official' => 'Can request creation of official courses', 'unofficial' => 'Can request creation of unofficial courses', ); - if ($context eq 'requestcourse') { + if ($context eq 'requestcourses') { %userenv = &Apache::lonnet::userenvironment($ccdomain,$ccuname, - 'requestcourse.official','requestcourse.unofficial'); + 'requestcourses.official','requestcourses.unofficial'); @usertools = ('official','unofficial'); } else { %userenv = &Apache::lonnet::userenvironment($ccdomain,$ccuname, @@ -337,7 +337,7 @@ sub print_username_entry_form { 'dom' => "Domain", 'ecrp' => "Edit Custom Role Privileges", 'nr' => "Name of Role", - 'cre' => "Custom Role Editor", + 'cre' => "Next", ); $r->print($start_page."\n".$crumbs); if ($env{'form.action'} eq 'custom') { @@ -347,7 +347,7 @@ sub print_username_entry_form {
'.&mt('The following were enrolled in the course:').'
'.&mt("For the following users, an error occurred when updating the user's own self-enroll requests record:").'