--- loncom/interface/loncreateuser.pm 2012/08/21 15:43:27 1.365
+++ loncom/interface/loncreateuser.pm 2012/10/02 18:08:12 1.366
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.365 2012/08/21 15:43:27 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.366 2012/10/02 18:08:12 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4259,7 +4259,11 @@ sub handler {
if ($env{'form.phase'} eq 'createnewuser') {
my $response;
if ($env{'form.srchterm'} !~ /^$match_username$/) {
- my $response = &mt('You must specify a valid username. Only the following are allowed: letters numbers - . @');
+ my $response =
+ ''
+ .&mt('You must specify a valid username. Only the following are allowed:'
+ .' letters numbers - . @')
+ .'';
$env{'form.phase'} = '';
&print_username_entry_form($r,$context,$response,$srch,undef,$crstype,$brcrum);
} else {
@@ -6933,7 +6937,7 @@ sub update_selfenroll_config {
my ($visible,$cansetvis,$vismsgs,$visactions) = &visible_in_cat($cdom,$cnum);
if (ref($visactions) eq 'HASH') {
if (!$visible) {
- $r->print('
'.$visactions->{'miss'}.'
'.$visactions->{'yous'}.
+ $r->print('
'.$visactions->{'miss'}.'
'.$visactions->{'yous'}.
'
');
if (ref($vismsgs) eq 'ARRAY') {
$r->print('
'.$visactions->{'take'}.'