--- loncom/interface/domainprefs.pm 2013/12/27 16:40:08 1.160.6.30
+++ loncom/interface/domainprefs.pm 2014/01/03 19:53:47 1.160.6.31
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.160.6.30 2013/12/27 16:40:08 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.31 2014/01/03 19:53:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4526,7 +4526,8 @@ sub print_serverstatuses {
sub serverstatus_pages {
return ('userstatus','lonstatus','loncron','server-status','codeversions',
'checksums','clusterstatus','metadata_keywords','metadata_harvest',
- 'takeoffline','takeonline','showenv','toggledebug','ping','domconf');
+ 'takeoffline','takeonline','showenv','toggledebug','ping','domconf',
+ 'uniquecodes');
}
sub coursecategories_javascript {
@@ -9278,20 +9279,28 @@ sub active_dc_picker {
' value="'.$domcoord[$i].'"'.$check.' />'.$user;
if ($user ne $dcname.':'.$dcdom) {
$table .= ' ('.$dcname.':'.$dcdom.')'.
- '';
}
+ $table .= '';
}
$table .= '';
} elsif ($numdcs == 1) {
if ($inputtype eq 'radio') {
- $table .= '';
+ $table .= ''.$user;
+ if ($user ne $dcname.':'.$dcdom) {
+ $table .= ' ('.$dcname.':'.$dcdom.')';
+ }
} else {
my $check;
if (exists($currhash{$domcoord[0]})) {
$check = ' checked="checked"';
}
- $table .= '';
+ $table .= '';
$rows ++;
}
}