--- loncom/interface/loncommon.pm 2008/12/10 15:37:43 1.712
+++ loncom/interface/loncommon.pm 2008/12/16 19:01:45 1.720
@@ -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.720 2008/12/16 19:01:45 ehlerst 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.
@@ -5694,6 +5702,27 @@ div.columnSection > .ContentBoxSpecial
width: 400px;
}
+.ContentBoxSpecialTemplate
+{
+ border: solid 1px $lg_border_color;
+}
+.ContentBoxTemplate {
+ padding:10px;
+}
+
+div.columnSection > .ContentBoxTemplate,
+div.columnSection > .ContentBoxSpecialTemplate
+ {
+ width: 600px;
+
+}
+
+.clear{
+ clear: both;
+ line-height: 0px;
+ font-size: 0px;
+ height: 0px;
+}
.LC_loginpage_container {
text-align:left;
@@ -5713,7 +5742,7 @@ div.columnSection > .ContentBoxSpecial
background-color:$loginbg;
}
-.LC_loginpage_loginContainer h1{
+.LC_loginpage_loginContainer h2{
margin-top:0;
display:block;
background:$bgcol;
@@ -6017,11 +6046,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;
}