--- loncom/interface/loncommon.pm 2008/12/10 15:37:43 1.712 +++ loncom/interface/loncommon.pm 2008/12/15 16:37:44 1.718 @@ -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.718 2008/12/15 16:37:44 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. @@ -5713,7 +5721,7 @@ div.columnSection > .ContentBoxSpecial background-color:$loginbg; } -.LC_loginpage_loginContainer h1{ +.LC_loginpage_loginContainer h2{ margin-top:0; display:block; background:$bgcol; @@ -6017,11 +6025,22 @@ 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(); + if (ref($args->{'bread_crumbs'}) eq 'ARRAY') { + foreach my $crumb (@{$args->{'bread_crumbs'}}){ + &Apache::lonhtmlcommon::add_breadcrumb($crumb); + } + } + $result .= &Apache::lonhtmlcommon::breadcrumbs(); + } + return $result; }