--- loncom/interface/domainprefs.pm 2012/12/12 12:54:01 1.177
+++ loncom/interface/domainprefs.pm 2012/12/18 15:20:50 1.178
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.177 2012/12/12 12:54:01 bisitz Exp $
+# $Id: domainprefs.pm,v 1.178 2012/12/18 15:20:50 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6317,13 +6317,16 @@ sub modify_autocreate {
foreach my $item (@types) {
if ($changes{$item}) {
my $newtxt = $offon[$newvals{$item}];
- $resulttext .= '
'.&mt("$title{$item} set to [_1]$newtxt [_2]",'','').'';
+ $resulttext .= ''.
+ &mt("$title{$item} set to [_1]$newtxt [_2]",
+ '','').
+ '';
}
}
if ($changes{'xmldc'}) {
my ($dcname,$dcdom) = split(':',$newvals{'xmldc'});
my $newtxt = &Apache::loncommon::plainname($dcname,$dcdom);
- $resulttext .= ''.&mt("$title{'xmldc'} set to [_1]$newtxt [_2]",'','').'';
+ $resulttext .= ''.&mt("$title{'xmldc'} set to [_1]",''.$newtxt.'').'';
}
$resulttext .= '';
} else {
@@ -6469,7 +6472,11 @@ sub modify_directorysrch {
} else {
$chgtext =~ s/\; $//;
}
- $resulttext .= ''.&mt("Users from domain '[_1]' permitted to search the institutional directory set to: [_2]",$dom,$chgtext).'';
+ $resulttext .=
+ ''.
+ &mt("Users from domain '[_1]' permitted to search the institutional directory set to: [_2]",
+ ''.$dom.'',$chgtext).
+ '';
}
}
}
@@ -6497,7 +6504,7 @@ sub modify_directorysrch {
}
}
$chgtext =~ s/\; $//;
- $resulttext .= ''.&mt("$title{'searchtypes'} set to: \"[_1]\"",$chgtext).'';
+ $resulttext .= ''.&mt($title{'searchtypes'}.' set to: "[_1]"',$chgtext).'';
}
$resulttext .= '';
} else {