version 1.22.4.10.2.2, 2023/01/20 23:04:26
|
version 1.22.4.11, 2024/07/02 02:17:56
|
Line 55 sub real_handler {
|
Line 55 sub real_handler {
|
} |
} |
|
|
# Check for critical messages and redirect if present. |
# Check for critical messages and redirect if present. |
my ($redirect,$url) = &Apache::loncommon::critical_redirect(300,'contents'); |
my ($redirect,$url) = &Apache::loncommon::critical_redirect(300); |
if ($redirect) { |
if ($redirect) { |
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |
$r->header_out(Location => $url); |
$r->header_out(Location => $url); |
Line 326 sub startpage {
|
Line 326 sub startpage {
|
no_mt => 1}, |
no_mt => 1}, |
]; |
]; |
my $args = {'bread_crumbs' => $brcrum}; |
my $args = {'bread_crumbs' => $brcrum}; |
my $start_page = &Apache::loncommon::start_page($title,undef,$args); |
$r->print(&Apache::loncommon::start_page($title,undef,$args). |
$r->print($start_page. |
|
'<script type="text/javascript">'."\n". |
'<script type="text/javascript">'."\n". |
'// <![CDATA['."\n". |
'// <![CDATA['."\n". |
'window.focus();'."\n". |
'window.focus();'."\n". |