[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm londocs.pm

tempelho tempelho@source.lon-capa.org
Fri, 10 Jul 2009 19:48:51 -0000


tempelho		Fri Jul 10 19:48:51 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm londocs.pm 
  Log:
  - If nothing has done to the course yet, now "Main Course Documents" comes up.
  - Style color changes in "LC_TabContentBigger li" to distinguish easier if you are looking at Supplemental or Main Tab. 
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.856 loncom/interface/loncommon.pm:1.857
--- loncom/interface/loncommon.pm:1.856	Fri Jul 10 15:10:26 2009
+++ loncom/interface/loncommon.pm	Fri Jul 10 19:48:51 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.856 2009/07/10 15:10:26 bisitz Exp $
+# $Id: loncommon.pm,v 1.857 2009/07/10 19:48:51 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6010,12 +6010,14 @@
 ul.LC_TabContentBigger li:hover, 
 ul.LC_TabContentBigger li.active {
 	background: #ffffff;
+	color:$font;
 }
 
 ul.LC_TabContentBigger li, 
 ul.LC_TabContentBigger li a {
 	font-size:110%;
 	font-weight:bold;
+	color: #737373;
 }
 
 ol#LC_MenuBreadcrumbs, 
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.377 loncom/interface/londocs.pm:1.378
--- loncom/interface/londocs.pm:1.377	Fri Jul 10 17:05:05 2009
+++ loncom/interface/londocs.pm	Fri Jul 10 19:48:51 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.377 2009/07/10 17:05:05 bisitz Exp $
+# $Id: londocs.pm,v 1.378 2009/07/10 19:48:51 tempelho Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2936,7 +2936,7 @@
     my $activeClass = 1;
     my $active = '';
     $r->print('<ul class="LC_TabContentBigger" id="mainnav">');
-    if (($standard) && ($allowed) && (!$forcesupplement) && (($env{'form.folderpath'}=~/^default/) || ($env{'form.pagepath'}))) {
+    if (($standard) && ($allowed) && (!$forcesupplement) && (($env{'form.folderpath'}=~/^default/) || $env{'form.folderpath'}eq"" || ($env{'form.pagepath'}))) {
         if($activeClass == 1){
            $active = 'class="active"';
 	   $activeClass = 0;