[LON-CAPA-cvs] cvs: loncom /html/adm/lonDomColors default.tab /interface loncommon.pm

tempelho tempelho@source.lon-capa.org
Fri, 15 May 2009 09:33:22 -0000


tempelho		Fri May 15 09:33:22 2009 EDT

  Modified files:              
    /loncom/html/adm/lonDomColors	default.tab 
    /loncom/interface	loncommon.pm 
  Log:
  Insert a 'no role' color scheme. Color Scheme is selected after the log in.
  
  
Index: loncom/html/adm/lonDomColors/default.tab
diff -u loncom/html/adm/lonDomColors/default.tab:1.14 loncom/html/adm/lonDomColors/default.tab:1.15
--- loncom/html/adm/lonDomColors/default.tab:1.14	Mon May  4 19:31:57 2009
+++ loncom/html/adm/lonDomColors/default.tab	Fri May 15 09:33:18 2009
@@ -47,3 +47,12 @@
 student.link=#993300
 student.vlink=#996600
 student.alink=#CC0000
+norole.img=/adm/lonInterFace/student.jpg
+norole.pgbg=#FFFFFF
+norole.tabbg=#e6eaef
+norole.font=#551100
+norole.fontmenu=#303030
+norole.sidebg=#d9edff
+norole.link=#993300
+norole.vlink=#996600
+norole.alink=#CC0000
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.814 loncom/interface/loncommon.pm:1.815
--- loncom/interface/loncommon.pm:1.814	Thu May 14 17:28:23 2009
+++ loncom/interface/loncommon.pm	Fri May 15 09:33:22 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.814 2009/05/14 17:28:23 bisitz Exp $
+# $Id: loncommon.pm,v 1.815 2009/05/15 09:33:22 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6799,7 +6799,7 @@
 
 ###############################################
 sub get_users_function {
-    my $function = 'student';
+    my $function = 'norole';
     if ($env{'request.role'}=~/^(cc|in|ta|ep)/) {
         $function='coordinator';
     }