[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 13 May 2002 09:10:15 -0000
albertel Mon May 13 05:10:15 2002 EDT
Modified files:
/loncom/auth lonroles.pm
Log:
- previous solution to add in domain information fro non students was buggy
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.36 loncom/auth/lonroles.pm:1.37
--- loncom/auth/lonroles.pm:1.36 Mon May 6 10:20:27 2002
+++ loncom/auth/lonroles.pm Mon May 13 05:10:15 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# User Roles Screen
#
-# $Id: lonroles.pm,v 1.36 2002/05/06 14:20:27 matthew Exp $
+# $Id: lonroles.pm,v 1.37 2002/05/13 09:10:15 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -318,7 +318,7 @@
$ttype='Course';
if ($tsection) {
$ttype.='<br>Section/Group: '.$tsection;
- }
+ }
my $tcourseid=$tdom.'_'.$trest;
if ($ENV{'course.'.$tcourseid.'.description'}) {
$twhere=$ENV{'course.'.$tcourseid.'.description'};
@@ -331,10 +331,8 @@
$twhere='Currently not available';
$ENV{'course.'.$tcourseid.'.description'}=$twhere;
}
- if ($trole ne 'st') {
- $twhere.="<br />Domain:".$tdom;
- }
}
+ if ($role ne 'st') { $twhere.="<br />Domain:".$tdom; }
} elsif ($tdom) {
$ttype='Domain';
$twhere=$tdom;