[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
bisitz
bisitz@source.lon-capa.org
Wed, 27 May 2009 13:42:04 -0000
bisitz Wed May 27 13:42:04 2009 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
Use author's color scheme for assistent co-authors, too
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.825 loncom/interface/loncommon.pm:1.826
--- loncom/interface/loncommon.pm:1.825 Wed May 27 13:36:46 2009
+++ loncom/interface/loncommon.pm Wed May 27 13:42:04 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.825 2009/05/27 13:36:46 bisitz Exp $
+# $Id: loncommon.pm,v 1.826 2009/05/27 13:42:04 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6839,7 +6839,7 @@
if ($env{'request.role'}=~/^(su|dc|ad|li)/) {
$function='admin';
}
- if (($env{'request.role'}=~/^(au|ca)/) ||
+ if (($env{'request.role'}=~/^(au|ca|aa)/) ||
($ENV{'REQUEST_URI'}=~/^(\/priv|\~)/)) {
$function='author';
}