[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Fri Jan 3 15:42:52 EST 2014
raeburn Fri Jan 3 20:42:52 2014 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface domainprefs.pm
Log:
- For 2.11
- Required changes omitted in earlier backport of rev. 1.219.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.160.6.31 loncom/interface/domainprefs.pm:1.160.6.32
--- loncom/interface/domainprefs.pm:1.160.6.31 Fri Jan 3 19:53:47 2014
+++ loncom/interface/domainprefs.pm Fri Jan 3 20:42:51 2014
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.160.6.31 2014/01/03 19:53:47 raeburn Exp $
+# $Id: domainprefs.pm,v 1.160.6.32 2014/01/03 20:42:51 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -9278,12 +9278,14 @@
'<input type="'.$inputtype.'" name="'.$name.'"'.
' value="'.$domcoord[$i].'"'.$check.' />'.$user;
if ($user ne $dcname.':'.$dcdom) {
- $table .= ' ('.$dcname.':'.$dcdom.')'.
+ $table .= ' ('.$dcname.':'.$dcdom.')';
}
$table .= '</label></span></td>';
}
$table .= '</tr></table>';
} elsif ($numdcs == 1) {
+ my ($dcname,$dcdom) = split(':',$domcoord[0]);
+ my $user = &Apache::loncommon::plainname($dcname,$dcdom);
if ($inputtype eq 'radio') {
$table .= '<input type="hidden" name="'.$name.'" value="'.$domcoord[0].'" />'.$user;
if ($user ne $dcname.':'.$dcdom) {
More information about the LON-CAPA-cvs
mailing list