[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 06 Jun 2005 00:06:15 -0000
albertel Sun Jun 5 20:06:15 2005 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
- xhtml Ho!
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.101 loncom/interface/loncreateuser.pm:1.102
--- loncom/interface/loncreateuser.pm:1.101 Thu Apr 7 02:56:23 2005
+++ loncom/interface/loncreateuser.pm Sun Jun 5 20:06:12 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.101 2005/04/07 06:56:23 albertel Exp $
+# $Id: loncreateuser.pm,v 1.102 2005/06/06 00:06:12 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -544,7 +544,7 @@
$bgcol=~s/[^7-9a-e]//g;
$bgcol=substr($bgcol.$bgcol.$bgcol.'ffffff',2,6);
if ($area=~/^\/(\w+)\/(\d\w+)\/(\w+)/) {
- $carea.='<br>Section/Group: '.$3;
+ $carea.='<br />Section/Group: '.$3;
$sortkey.="\0$3";
}
$area=$carea;
@@ -990,7 +990,7 @@
&Apache::lonnet::modifyuserauth(
$env{'form.ccdomain'},$env{'form.ccuname'},
$amode,$genpwd));
- $r->print('<br>'.&mt('Home server').': '.&Apache::lonnet::homeserver
+ $r->print('<br />'.&mt('Home server').': '.&Apache::lonnet::homeserver
($env{'form.ccuname'},$env{'form.ccdomain'}));
} else {
# Okay, this is a non-fatal error.
@@ -1088,7 +1088,7 @@
# Revoke standard role
$r->print(&mt('Revoking').' '.$2.' in '.$1.': <b>'.
&Apache::lonnet::revokerole($env{'form.ccdomain'},
- $env{'form.ccuname'},$1,$2).'</b><br>');
+ $env{'form.ccuname'},$1,$2).'</b><br />');
if ($2 eq 'st') {
$1=~/^\/(\w+)\/(\w+)/;
my $cid=$1.'_'.$2;
@@ -1099,7 +1099,7 @@
&Apache::lonnet::escape($env{'form.ccuname'}.':'.
$env{'form.ccdomain'}).'='.
&Apache::lonnet::escape($now.':'),
- $env{'course.'.$cid.'.home'}).'</b><br>');
+ $env{'course.'.$cid.'.home'}).'</b><br />');
}
}
if ($_=~/^form\.rev\:([^\_]+)\_cr\.cr\/(\w+)\/(\w+)\/(\w+)$/) {
@@ -1108,13 +1108,13 @@
' '.$4.' by '.$3.'@'.$2.' in '.$1.': <b>'.
&Apache::lonnet::revokecustomrole($env{'form.ccdomain'},
$env{'form.ccuname'},$1,$2,$3,$4).
- '</b><br>');
+ '</b><br />');
}
} elsif ($_=~/^form\.del/) {
if ($_=~/^form\.del\:([^\_]+)\_([^\_]+)$/) {
$r->print(&mt('Deleting').' '.$2.' in '.$1.': '.
&Apache::lonnet::assignrole($env{'form.ccdomain'},
- $env{'form.ccuname'},$1,$2,$now,0,1).'<br>');
+ $env{'form.ccuname'},$1,$2,$now,0,1).'<br />');
if ($2 eq 'st') {
$1=~/^\/(\w+)\/(\w+)/;
my $cid=$1.'_'.$2;
@@ -1125,7 +1125,7 @@
&Apache::lonnet::escape($env{'form.ccuname'}.':'.
$env{'form.ccdomain'}).'='.
&Apache::lonnet::escape($now.':'),
- $env{'course.'.$cid.'.home'}).'</b><br>');
+ $env{'course.'.$cid.'.home'}).'</b><br />');
}
}
} elsif ($_=~/^form\.ren/) {
@@ -1245,7 +1245,7 @@
}
}
} else {
- $r->print('<p>'.&mt('ERROR').': '.&mt('Unknown command').' <tt>'.$_.'</tt></p><br>');
+ $r->print('<p>'.&mt('ERROR').': '.&mt('Unknown command').' <tt>'.$_.'</tt></p><br />');
}
}
} # End of foreach (keys(%env))
@@ -1261,7 +1261,7 @@
($end?', ending '.localtime($end):'').': <b>'.
&Apache::lonnet::assigncustomrole(
$udom,$uname,$url,$three,$four,$five,$end,$start).
- '</b><br>';
+ '</b><br />';
return $output;
}
@@ -1286,7 +1286,7 @@
($end?', '.&mt('ending').' '.localtime($end):'').': <b>'.
&Apache::lonnet::assignrole(
$udom,$uname,$url,$three,$end,$start).
- '</b><br>';
+ '</b><br />';
}
return $output;
}