version 1.751, 2009/02/19 10:58:56
|
version 1.758, 2009/02/26 22:22:51
|
Line 923 sub help_open_topic {
|
Line 923 sub help_open_topic {
|
} |
} |
|
|
# Add the text |
# Add the text |
if ($text ne "") { |
if ($text ne "") { |
$template .= |
$template.="<a style=\"background-color:#3333AA;\" target=\"_top\" href=\"$link\"><span style=\"color:#FFFFFF;\">$text</span></a>"; |
"<table bgcolor='#3333AA' cellspacing='1' cellpadding='1' border='0'><tr>". |
|
"<td bgcolor='#5555FF'><a target=\"_top\" href=\"$link\"><span style=\"color:#FFFFFF;font-size:10pt;\">$text</span></a>"; |
|
} |
} |
|
|
# Add the graphic |
# Add the graphic |
Line 935 sub help_open_topic {
|
Line 933 sub help_open_topic {
|
$template .= <<"ENDTEMPLATE"; |
$template .= <<"ENDTEMPLATE"; |
<a target="_top" href="$link" title="$title"><img src="$helpicon" border="0" alt="(Help: $topic)" /></a> |
<a target="_top" href="$link" title="$title"><img src="$helpicon" border="0" alt="(Help: $topic)" /></a> |
ENDTEMPLATE |
ENDTEMPLATE |
if ($text ne '') { $template.='</td></tr></table>' }; |
|
return $template; |
return $template; |
|
|
} |
} |
Line 4525 form, .inline { display: inline; }
|
Line 4523 form, .inline { display: inline; }
|
|
|
/* just for tests */ |
/* just for tests */ |
.LC_300Box { width:300px; } |
.LC_300Box { width:300px; } |
.LC_200Box {width:200px; } |
.LC_400Box {width:400px; } |
.LC_500Box {width:500px; } |
.LC_500Box {width:500px; } |
.LC_600Box {width:600px; } |
.LC_600Box {width:600px; } |
.LC_800Box {width:800px;} |
.LC_800Box {width:800px;} |
Line 5819 div.LC_columnSection>* {
|
Line 5817 div.LC_columnSection>* {
|
margin: 10px 20px 10px 0px; |
margin: 10px 20px 10px 0px; |
overflow:hidden; |
overflow:hidden; |
} |
} |
div.LC_columnSection > .LC_ContentBox, |
|
div.LC_columnSection > .LC_ContentBoxSpecial |
|
{ |
|
width: 400px; |
|
} |
|
|
|
.ContentBoxSpecialTemplate |
.ContentBoxSpecialTemplate |
{ |
{ |
Line 5837 div.LC_columnSection > .ContentBoxTempla
|
Line 5830 div.LC_columnSection > .ContentBoxTempla
|
div.LC_columnSection > .ContentBoxSpecialTemplate |
div.LC_columnSection > .ContentBoxSpecialTemplate |
{ |
{ |
width: 600px; |
width: 600px; |
|
|
} |
} |
|
|
.clear{ |
.clear{ |
Line 5888 div.LC_columnSection > .ContentBoxSpecia
|
Line 5880 div.LC_columnSection > .ContentBoxSpecia
|
} |
} |
|
|
.LC_loginpage_space { |
.LC_loginpage_space { |
clear:both; |
clear: both; |
margin-bottom:20px; |
margin-bottom: 20px; |
border-bottom: 1px solid #CCCCCC; |
border-bottom: 1px solid #CCCCCC; |
} |
} |
|
|
table em{ |
table em{ |
font-weight:bold; |
font-weight: bold; |
font-style:normal; |
font-style: normal; |
|
} |
|
|
|
table#LC_tableOfContent{ |
|
border-collapse: collapse; |
|
border-spacing: 0; |
|
padding: 3px; |
|
border: 0; |
|
background-color: #FFFFFF; |
|
font-size: 90%; |
|
} |
|
table#LC_tableOfContent a { |
|
text-decoration: none; |
|
} |
|
|
|
table#LC_tableOfContent tr.LC_trOdd{ |
|
background-color: #EEEEEE; |
|
} |
|
|
|
table#LC_tableOfContent img{ |
|
border: none; |
|
height: 1.3em; |
|
vertical-align: text-bottom; |
|
margin-right: 0.3em; |
|
} |
|
|
|
a#LC_content_toolbar_firsthomework{ |
|
background-image:url(/res/adm/pages/open-first-problem.gif); |
|
} |
|
|
|
a#LC_content_toolbar_launchnav{ |
|
background-image:url(/res/adm/pages/start-navigation.gif); |
|
} |
|
|
|
a#LC_content_toolbar_closenav{ |
|
background-image:url(/res/adm/pages/close-navigation.gif); |
|
} |
|
|
|
a#LC_content_toolbar_everything{ |
|
background-image:url(/res/adm/pages/show-all.gif); |
} |
} |
|
|
|
a#LC_content_toolbar_uncompleted{ |
|
background-image:url(/res/adm/pages/show-incomplete-problems.gif); |
|
} |
|
|
|
#LC_content_toolbar_clearbubbles{ |
|
background-image:url(/res/adm/pages/mark-discussionentries-read.gif); |
|
} |
|
|
|
a#LC_content_toolbar_changefolder{ |
|
background : url(/res/adm/pages/close-all-folders.gif) top center ; |
|
} |
|
|
|
a#LC_content_toolbar_changefolder_toggled{ |
|
background-image:url(/res/adm/pages/open-all-folders.gif); |
|
} |
|
|
|
ul#LC_toolbar li a:hover{ |
|
background-position: bottom center; |
|
} |
|
|
|
ul#LC_toolbar{ |
|
padding:0; |
|
margin: 2px; |
|
list-style:none; |
|
position:relative; |
|
background-color:white; |
|
} |
|
|
|
ul#LC_toolbar li{ |
|
border:1px solid white; |
|
padding:0; |
|
margin: 0; |
|
display:inline-block; |
|
vertical-align:middle; |
|
} |
|
|
|
a.LC_toolbarItem{ |
|
display:inline-block; |
|
padding:0; |
|
margin:0; |
|
height: 32px; |
|
width: 32px; |
|
color:white; |
|
border:0 none; |
|
background-repeat:no-repeat; |
|
background-color:transparent; |
|
} |
|
|
|
|
END |
END |
} |
} |
|
|
Line 6167 sub start_page {
|
Line 6247 sub start_page {
|
$result = &html_encode($result); |
$result = &html_encode($result); |
} |
} |
|
|
if (exists($args->{'bread_crumbs'})) { |
#Breadcrumbs |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
if (exists($args->{'bread_crumbs'}) or exists($args->{'bread_crumbs_component'})) { |
if (ref($args->{'bread_crumbs'}) eq 'ARRAY') { |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
foreach my $crumb (@{$args->{'bread_crumbs'}}){ |
#if any br links exists, add them to the breadcrumbs |
&Apache::lonhtmlcommon::add_breadcrumb($crumb); |
if (exists($args->{'bread_crumbs'}) and ref($args->{'bread_crumbs'}) eq 'ARRAY') { |
} |
foreach my $crumb (@{$args->{'bread_crumbs'}}){ |
} |
&Apache::lonhtmlcommon::add_breadcrumb($crumb); |
$result .= &Apache::lonhtmlcommon::breadcrumbs(); |
} |
} |
} |
|
|
|
#if bread_crumbs_component exists show it as headline else show only the breadcrumbs |
|
if(exists($args->{'bread_crumbs_component'})){ |
|
$result .= &Apache::lonhtmlcommon::breadcrumbs($args->{'bread_crumbs_component'}); |
|
}else{ |
|
$result .= &Apache::lonhtmlcommon::breadcrumbs(); |
|
} |
|
} |
return $result; |
return $result; |
} |
} |
|
|