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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Wed, 02 Jan 2008 07:53:48 -0000


This is a MIME encoded message

--raeburn1199260428
Content-Type: text/plain

raeburn		Wed Jan  2 02:53:48 2008 EDT

  Modified files:              
    /loncom/interface	lonpopulate.pm 
  Log:
  - Wording changes
    - Automated Enrollment Manager -> Automated Student Enrollment Manager 
    - Enrollment Manager -> User Manager
  - Clarification of how to change access dates for currently active users.
  
  
--raeburn1199260428
Content-Type: text/plain
Content-Disposition: attachment; filename="raeburn-20080102025348.txt"

Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.51 loncom/interface/lonpopulate.pm:1.52
--- loncom/interface/lonpopulate.pm:1.51	Thu Dec 13 19:20:53 2007
+++ loncom/interface/lonpopulate.pm	Wed Jan  2 02:53:47 2008
@@ -1,5 +1,5 @@
 # automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.51 2007/12/14 00:20:53 raeburn Exp $
+# $Id: lonpopulate.pm,v 1.52 2008/01/02 07:53:47 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -208,9 +208,9 @@
     }
     my $page = '';
     if ($action eq "information") {
-        $page = "<b>Automated Enrollment</b>";
+        $page = "<b>Automated Student Enrollment</b>";
     } else {
-        $page =  '<a href="/adm/populate">Automated Enrollment</a>';
+        $page =  '<a href="/adm/populate">Automated Student Enrollment</a>';
         if ($reply) {
             if ($action eq "newcross") {
                 $action = "crosslist";
@@ -229,7 +229,7 @@
    <font size="2"><a href="/adm/menu">$realm</a> -&gt; <a href="/adm/createuser">User Management</a> -&gt; $page</font><br/>
   </td>
   <td align="right" bgcolor="#CCCCFF" valign="top">
-   <font size="+1">Automated Enrollment Manager&nbsp;</font>
+   <font size="+1">Automated Student Enrollment Manager&nbsp;</font>
   </td>
  </tr>
 </table>
@@ -398,7 +398,7 @@
              <tr>
               <td>
                <font color=\"#888888\">
-Note: Any students added manually by course coordinators using the Enrollment Manager will be unaffected by the nightly removal process if you choose to enable it.
+Note: Any students added manually by course coordinators using the User Manager will be unaffected by the nightly removal process if you choose to enable it.
                </font>
               </td>
              </tr>
@@ -1001,7 +1001,7 @@
               $r->print('
                     <tr>
                      <td>'.
-&mt('The policies of your institution ([_1]) require that the course owner ([_2]) must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr).'<br /><br /><input type="button" name="mainmenu" value="Go back" onclick="javascript:history.go(-1);" />
+&mt('The policies of your institution ([_1]) require that the course owner ([_2]) must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Student Enrollment Manager to indicate acceptance of these conditions of use.',$emailstr).'<br /><br /><input type="button" name="mainmenu" value="Go back" onclick="javascript:history.go(-1);" />
                     </td>
                    </tr>
                   </form>
@@ -1089,7 +1089,7 @@
 <input type ="hidden" name="state" value="process" />
 </form>');
           } else {
-              $r->print(&mt('Update of photos via the Automated Enrollment Manager is unavailable in this domain.').'<br /><br /><input type="button" name=mainmenu" value="Go back" onclick="javascript:history.go(-1);" />');
+              $r->print(&mt('Update of photos via the Automated Student Enrollment Manager is unavailable in this domain.').'<br /><br /><input type="button" name=mainmenu" value="Go back" onclick="javascript:history.go(-1);" />');
           }
       } else {
           $r->print('Update of photos is unavailable, as import of student photos is currently disabled.<br />Enable this first via: <a href="/adm/populate?action=photos">'.$$tasktitleref{'photos'}.'</a>');
@@ -1284,8 +1284,8 @@
          'freg' => 'for registered students added via automated enrollment',
          'fnew' => 'for new students added when you update the class roster',
          'ifad'  => 'If automated adds are enabled, then when students are added their student roles will become active on the date set here for first access, and their roles will become inactive on the date set here for last access.  These default access dates will be overridden for specific students if the institutional classlist data supplied to the automatic enrollment process includes entries for the startdate and enddate fields for those students.',
-         'ncds'  => 'changing default start and end access dates will affect future enrollments and ALSO currently inactive students (i.e., those for whom access will begin in the future).  To change access dates for currently active students, you should change the access dates via this screen, then use Enrollment manager -> Drop Students to drop the students, and then use Automated Enrollment Manager -> Update roster now to re-enroll them with the new access dates.'
-
+         'ncds'  => 'changing default start and end access dates will affect <b>future enrollments</b> and also <b>currently inactive</b> students (i.e., those for whom access will begin in the future).',
+         'tcha' => 'To change access dates for <b>currently active</b> students, use User Management -> "Display Class Lists and Manage Multiple Users" to display currently active students, then use the dropdown menu for "Action to take for selected users:" to choose "Change starting/ending dates", select the students to change, and click "Proceed".',
     );
     my $dateshow;
     if ( ($oldendshow eq '') && ($oldstartshow eq '') ) {
@@ -1368,7 +1368,7 @@
                     <td colspan=\"2\">&nbsp;</td>
                    </tr>
                    <tr>
-                    <td colspan=\"2\"><b>".&mt('Note').":</b> ".$lt{'ncds'}."</td>
+                    <td colspan=\"2\"><b>".&mt('Note').":</b> ".$lt{'ncds'}.' '.$lt{'tcha'}."</td>
                    </tr>
                   </table>
         ");
@@ -1608,17 +1608,16 @@
 	    $response = "There was a problem processing your requested changes. The automated enrollment settings for this course have been left unchanged.<br/>";
         } else {
 	    if ($currstart == $startaccess) {
-	        $response = "The first access date for students added via automated enrollment has been left unchanged as $showstart.<br/>";
+	        $response = "The first access date for students being added via automated enrollment has been left unchanged as $showstart.<br/>";
 	    } else {
-	        $response = "The first access date for students added via automated enrollment has been changed to
-$showstart.<br/>";
+	        $response = "The first access date for students being added via automated enrollment has been changed to $showstart.<br/>";
 	    }
 	    if ($currend == $endaccess) {
-	        $response .= "The last access date for students added via automated enrollment has been left unchanged as $showend.<br/>";
+	        $response .= "The last access date for students being added via automated enrollment has been left unchanged as $showend.<br/>";
 	    } else {
-	        $response .= "The last access date for students automated enrollment has been changed to
-$showend.<br/>";
+	        $response .= "The last access date for students being added via automated enrollment has been changed to $showend.<br/>";
 	    }
+            $response .= '<br />'.&mt('Any change in access dates will only apply to students who are not currently active, i.e., those who currently have access start dates in the future, and to those added by future automated enrollment.').'<br /><br />'.&mt('To change access dates for any currently active students, use User Management -> "Display Class Lists and Manage Multiple Users" to display currently active students, then use the dropdown menu for "Action to take for selected users:" to choose "Change starting/ending dates", select the students to change, and click "Proceed".').'<br />';
 	
 # Generate message in case where old first access date was later than today, but new first access date is now today or earlier.
 	
@@ -2420,7 +2419,7 @@
         if ($owneremail) {
             $emailstr = "(e-mail: $owneremail)";
         }
-        $response = &mt('The policies of your institution [_1] require that the course owner [_2] must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Enrollment Manager to indicate acceptance of these conditions of use',$emailstr);
+        $response = &mt('The policies of your institution [_1] require that the course owner [_2] must indicate acceptance of the conditions of use of digital photos of registered students, before they may be made available for use in a course.',$institution,$ownername).'<br /><br />'.&mt('Please direct the course owner [_1] to visit the "Student photos" page in the Automated Student Enrollment Manager to indicate acceptance of these conditions of use',$emailstr);
     }
     &print_reply($r,$response,$$tasktitleref{$action});
 }

--raeburn1199260428--