version 1.144, 2018/12/27 18:14:25
|
version 1.146, 2019/05/02 02:12:19
|
Line 177 sub handler {
|
Line 177 sub handler {
|
$brcrum = |
$brcrum = |
&Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); |
&Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); |
} |
} |
$r->print(&Apache::lonwrapper::wrapper($item,$brcrum,$env{'request.use_absolute'}, |
$r->print(&Apache::lonwrapper::wrapper($r,$item,$brcrum,$env{'request.use_absolute'}, |
undef,$is_pdf,undef,&mt('Syllabus'))); |
undef,$is_pdf,undef,&mt('Syllabus'))); |
} |
} |
} |
} |
Line 204 sub handler {
|
Line 204 sub handler {
|
$brcrum = |
$brcrum = |
&Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); |
&Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); |
} |
} |
$r->print(&Apache::lonwrapper::wrapper($external,$brcrum,$env{'request.use_absolute'}, |
$r->print(&Apache::lonwrapper::wrapper($r,$external,$brcrum,$env{'request.use_absolute'}, |
$is_ext,$is_pdf,undef,&mt('Syllabus'))); |
$is_ext,$is_pdf,undef,&mt('Syllabus'))); |
} |
} |
return OK; |
return OK; |
Line 311 sub handler {
|
Line 311 sub handler {
|
$protocol = 'http' if ($protocol ne 'https'); |
$protocol = 'http' if ($protocol ne 'https'); |
my $link = $r->uri; |
my $link = $r->uri; |
if (($protocol eq 'https') && ($external =~ m{^http://})) { |
if (($protocol eq 'https') && ($external =~ m{^http://})) { |
$link .= '?usehttp=1'; |
unless (&Apache::lonnet::uses_sts()) { |
$protocol = 'http'; |
$link .= '?usehttp=1'; |
|
$protocol = 'http'; |
|
} |
} |
} |
$link = $protocol.'://'.$hostname.$link; |
$link = $protocol.'://'.$hostname.$link; |
$r->print('<div class="LC_left_float">' |
$r->print('<div class="LC_left_float">' |