--- loncom/interface/loncommon.pm 2008/12/10 15:37:43 1.712
+++ loncom/interface/loncommon.pm 2008/12/15 08:11:32 1.716
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.712 2008/12/10 15:37:43 muellerd Exp $
+# $Id: loncommon.pm,v 1.716 2008/12/15 08:11:32 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1686,17 +1686,17 @@ sub select_form {
sub display_filter {
if (!$env{'form.show'}) { $env{'form.show'}=10; }
if (!$env{'form.displayfilter'}) { $env{'form.displayfilter'}='currentfolder'; }
- return ' '.
+ ' '.
&mt('Filter [_1]',
&select_form($env{'form.displayfilter'},
'displayfilter',
('currentfolder' => 'Current folder/page',
'containing' => 'Containing phrase',
'none' => 'None'))).
- '';
+ '';
}
sub gradeleveldescription {
@@ -4667,6 +4667,10 @@ td.LC_menubuttons_text {
font-size: small;
}
+.LC_mail_functions {
+ font-weight: bold;
+}
+
table.LC_aboutme_port {
border: 0px;
border-collapse: collapse;
@@ -5444,6 +5448,10 @@ table#LC_mainmenu td.LC_mainmenu_col_fie
font-weight: bold;
}
+div.LC_createcourse {
+ margin: 10px 10px 10px 10px;
+}
+
/* ---- Remove when done ----
# The following styles is part of the redesign of LON-CAPA and are
# subject to change during this project.
@@ -6017,11 +6025,21 @@ sub start_page {
}
if ($args->{'js_ready'}) {
- $result = &js_ready($result);
+ $result = &js_ready($result);
}
if ($args->{'html_encode'}) {
- $result = &html_encode($result);
+ $result = &html_encode($result);
}
+
+ if (exists $args->{'bread_crumbs'}) {
+ &Apache::lonhtmlcommon::clear_breadcrumbs();
+ my $temp = $args->{'bread_crumbs'};
+ foreach my $crumb (@$temp){
+ &Apache::lonhtmlcommon::add_breadcrumb($crumb);
+ }
+ $result .= &Apache::lonhtmlcommon::breadcrumbs();
+ }
+
return $result;
}