[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Wed, 02 Jan 2008 09:17:01 -0000


raeburn		Wed Jan  2 04:17:01 2008 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Add a contextual help link for the Automated Student Enrollment Manager
  - Eliminate duplicate help link for "Create a new user" - the link is already provided in the breadcrumb row.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.227 loncom/interface/loncreateuser.pm:1.228
--- loncom/interface/loncreateuser.pm:1.227	Tue Jan  1 12:24:59 2008
+++ loncom/interface/loncreateuser.pm	Wed Jan  2 04:16:59 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.227 2008/01/01 17:24:59 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.228 2008/01/02 09:16:59 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -320,7 +320,6 @@
     if ($cancreate && $env{'form.phase'} eq '') {
         my $defdom=$env{'request.role.domain'};
         my $domform = &Apache::loncommon::select_dom_form($defdom,'srchdomain');
-        my $helpcrt=&Apache::loncommon::help_open_topic('Course_Change_Privileges');
         my %lt=&Apache::lonlocal::texthash(
                   'crnu' => 'Create a new user',
                   'usr'  => 'Username',
@@ -336,7 +335,7 @@
 <input type="hidden" name="srchin" value="dom" />
 <input type="hidden" name="forcenewuser" value="1" />
 <input type="hidden" name="origform" value="crtusername" />
-<h3>$lt{crnu}$helpcrt</h3>
+<h3>$lt{crnu}</h3>
 $responsemsg
 <table>
  <tr>
@@ -3025,6 +3024,7 @@
         if (!exists($permission->{'cusr_section'})) {
             push(@courselinks,
                { text => 'Automated Student Enrollment Manager',
+                 help => 'Course_Automated_Enrollment',
                  permission => (&Apache::lonnet::auto_run($cnum,$cdom)
                                 && $permission->{'cusr'}),
                  url  => '/adm/populate',