[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 27 Jun 2006 17:48:53 -0000
albertel Tue Jun 27 13:48:53 2006 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
- no longer need to do regexp plaintext knows what to do
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.122 loncom/interface/loncreateuser.pm:1.123
--- loncom/interface/loncreateuser.pm:1.122 Mon Jun 26 18:31:56 2006
+++ loncom/interface/loncreateuser.pm Tue Jun 27 13:48:53 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.122 2006/06/26 22:31:56 albertel Exp $
+# $Id: loncreateuser.pm,v 1.123 2006/06/27 17:48:53 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1598,11 +1598,6 @@
ENDCCF
foreach my $priv (sort keys %full) {
my $privtext = &Apache::lonnet::plaintext($priv);
- if ($env{'course.'.$env{'request.course.id'}.'.type'}) {
- $privtext =~ s/Student/Member/;
- $privtext =~ s/student/member/;
- $privtext =~ s/course/group/;
- }
$r->print('<tr><td>'.$privtext.'</td><td>'.
($courselevel{$priv}?'<input type="checkbox" name="'.$priv.':c" '.
($courselevelcurrent{$priv}?'checked="1"':'').' />':' ').