[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm lonhtmlcommon.pm
bisitz
bisitz@source.lon-capa.org
Wed, 20 May 2009 17:39:06 -0000
bisitz Wed May 20 17:39:06 2009 EDT
Modified files:
/loncom/interface loncommon.pm lonhtmlcommon.pm
Log:
CourseBreadcrumbs in DOCS are unique, so changed CSS from class to id
Consistent script variable names
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.822 loncom/interface/loncommon.pm:1.823
--- loncom/interface/loncommon.pm:1.822 Tue May 19 22:52:10 2009
+++ loncom/interface/loncommon.pm Wed May 20 17:39:06 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.822 2009/05/19 22:52:10 bisitz Exp $
+# $Id: loncommon.pm,v 1.823 2009/05/20 17:39:06 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5999,7 +5999,7 @@
ol#LC_MenuBreadcrumbs,
ol#LC_PathBreadcrumbs,
-ul.LC_CourseBreadcrumbs {
+ul#LC_CourseBreadcrumbs {
padding-left: 10px;
margin: 0;
list-style-position: inside;
@@ -6007,13 +6007,14 @@
ol#LC_MenuBreadcrumbs li,
ol#LC_PathBreadcrumbs li,
-ul.LC_CourseBreadcrumbs li {
+ul#LC_CourseBreadcrumbs li {
display: inline;
padding: 0 0 0 10px;
overflow:hidden;
}
-ol#LC_MenuBreadcrumbs li a, ul.LC_CourseBreadcrumbs li a {
+ol#LC_MenuBreadcrumbs li a,
+ul#LC_CourseBreadcrumbs li a {
text-decoration: none;
font-size:90%;
}
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.215 loncom/interface/lonhtmlcommon.pm:1.216
--- loncom/interface/lonhtmlcommon.pm:1.215 Sat May 16 21:50:52 2009
+++ loncom/interface/lonhtmlcommon.pm Wed May 20 17:39:06 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.215 2009/05/16 21:50:52 droeschl Exp $
+# $Id: lonhtmlcommon.pm,v 1.216 2009/05/20 17:39:06 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1330,13 +1330,13 @@
my @Crumbs;
sub breadcrumbs {
- my ($component,$component_help,$menulink,$helplink,$css_class,$no_mt, $no_realBreadcrumb) = @_;
+ my ($component,$component_help,$menulink,$helplink,$css_class,$no_mt, $CourseBreadcrumbs) = @_;
#
$css_class ||= 'LC_breadcrumbs';
my $Str1 = '<div id="LC_head_subbox"><ol id="LC_MenuBreadcrumbs">';
- if($no_realBreadcrumb){
- $Str1 = '<ul class="LC_CourseBreadcrumbs">';
+ if($CourseBreadcrumbs){
+ $Str1 = '<ul id="LC_CourseBreadcrumbs">';
}
my $Str = '';
@@ -1427,7 +1427,7 @@
#
- if($no_realBreadcrumb){
+ if($CourseBreadcrumbs){
$Str1 .= $links.'</ul>';
} else {
$Str1 .= $links.'</ol></div>';