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

bisitz bisitz at source.lon-capa.org
Wed Dec 12 07:54:02 EST 2012


bisitz		Wed Dec 12 12:54:02 2012 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Show fullname, username, and domain in domain configuration (Auto-course creation settings) to ensure correct user selection.
  - Ordered listing of available redirection servers
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.176 loncom/interface/domainprefs.pm:1.177
--- loncom/interface/domainprefs.pm:1.176	Tue Dec 11 22:55:27 2012
+++ loncom/interface/domainprefs.pm	Wed Dec 12 12:54:01 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.176 2012/12/11 22:55:27 raeburn Exp $
+# $Id: domainprefs.pm,v 1.177 2012/12/12 12:54:01 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -815,7 +815,7 @@
                           '<td><select name="'.$lonhost.'_server">'.
                           '<option value=""'.$direct.'>'.$choices{'directlogin'}.
                           '</option>';
-            foreach my $hostid (keys(%servers)) {
+            foreach my $hostid (sort keys(%servers)) {
                 next if ($servers{$hostid} eq $servers{$lonhost});
                 my $selected = '';
                 if (ref($disallowed{$lonhost}) eq 'HASH') {
@@ -8462,6 +8462,7 @@
                           '<input type="radio" name="autocreate_xmldc"'.
                           ' value="'.$dcs[$i].'"'.$check.'/>'.
                           &Apache::loncommon::plainname($dcname,$dcdom).
+                          ' ('.$dcname.':'.$dcdom.')'.
                           '</label></span></td>';
         }
         $datatable .= '</tr></table>';




More information about the LON-CAPA-cvs mailing list