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

bisitz bisitz@source.lon-capa.org
Tue, 16 Jun 2009 15:17:13 -0000


bisitz		Tue Jun 16 15:17:13 2009 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm loncommon.pm 
  Log:
  Tidy up CSS names for head_subbox and breadcrumbs
  (Renamed: LC_head_subbox -> LC_breadcrumbs, LC_head_subbox2 -> LC_head_subbox)
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.224 loncom/interface/lonhtmlcommon.pm:1.225
--- loncom/interface/lonhtmlcommon.pm:1.224	Thu Jun 11 16:48:33 2009
+++ loncom/interface/lonhtmlcommon.pm	Tue Jun 16 15:17:12 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.224 2009/06/11 16:48:33 bisitz Exp $
+# $Id: lonhtmlcommon.pm,v 1.225 2009/06/16 15:17:12 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1447,7 +1447,7 @@
         }
         
         $links = htmltag('div', $links, 
-                        { id => "LC_head_subbox" }) unless ($CourseBreadcrumbs) ;
+                        { id => "LC_breadcrumbs" }) unless ($CourseBreadcrumbs) ;
 
         # Return the @Crumbs stack to what we started with
         push(@Crumbs,$last);
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.843 loncom/interface/loncommon.pm:1.844
--- loncom/interface/loncommon.pm:1.843	Thu Jun 11 16:48:33 2009
+++ loncom/interface/loncommon.pm	Tue Jun 16 15:17:12 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.843 2009/06/11 16:48:33 bisitz Exp $
+# $Id: loncommon.pm,v 1.844 2009/06/16 15:17:12 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4223,7 +4223,7 @@
 sub head_subbox {
     my ($content)=@_;
     my $output =
-        '<div id="LC_head_subbox2">' #FIXME: solve conflicts with lonhtmlcommon:breadcrumbs LC_head_subbox
+        '<div id="LC_head_subbox">'
        .$content
        .'</div>'
 }
@@ -4810,7 +4810,7 @@
  font-size: 70%;
 }
 
-#LC_head_subbox {
+#LC_breadcrumbs {
  clear:both;
  background: $sidebg;
  border-bottom: 1px solid $lg_border_color;
@@ -4819,11 +4819,11 @@
  padding: 0;
 }
 /* Preliminary fix to hide breadcrumbs inside remote control window */
-#LC_remote #LC_head_subbox {
+#LC_remote #LC_breadcrumbs {
     display:none;
 }
 
-#LC_head_subbox2 { /* FIXME: replace by LC_head_subbox once lonhtmlcommon::breadcrumbs has been fixed */
+#LC_head_subbox {
  clear:both;
  background: #F8F8F8; /* $sidebg; */
  border-bottom: 1px solid $lg_border_color;
@@ -5807,9 +5807,6 @@
         border: 0;
 }
 
-
-/* Main Header with discription of Person, Course, etc. */
-
 .LC_Right {
         float: right;
         margin: 0;