version 1.1453, 2025/02/14 22:42:05
|
version 1.1455, 2025/02/17 18:30:42
|
Line 6947 sub bodytag {
|
Line 6947 sub bodytag {
|
$role = &Apache::lonnet::plaintext($role); |
$role = &Apache::lonnet::plaintext($role); |
} |
} |
|
|
if (!$realm) { $realm=' '; } |
|
|
|
my $extra_body_attr = &make_attr_string($forcereg,\%design); |
my $extra_body_attr = &make_attr_string($forcereg,\%design); |
|
|
# construct main body tag |
# construct main body tag |
Line 6972 sub bodytag {
|
Line 6970 sub bodytag {
|
undef($role); |
undef($role); |
} |
} |
unless ($ltimenu->{'coursetitle'}) { |
unless ($ltimenu->{'coursetitle'}) { |
$realm=' '; |
|
$showcrstitle = 0; |
$showcrstitle = 0; |
} |
} |
} |
} |
Line 6982 sub bodytag {
|
Line 6979 sub bodytag {
|
undef($role); |
undef($role); |
} |
} |
unless ($menuref->{'crs'}) { |
unless ($menuref->{'crs'}) { |
$realm=' '; |
|
$showcrstitle = 0; |
$showcrstitle = 0; |
} |
} |
} |
} |
Line 7050 END
|
Line 7046 END
|
$args->{'links_disabled'}, |
$args->{'links_disabled'}, |
$args->{'links_target'}, |
$args->{'links_target'}, |
$collapsible); |
$collapsible); |
|
my $labeltext = &HTML::Entities::encode(&mt('Primary links')); |
if ($env{'request.noversionuri'} =~ m{^/res/adm/pages/}) { |
if ($env{'request.noversionuri'} =~ m{^/res/adm/pages/}) { |
if ($dc_info) { |
if ($dc_info) { |
$dc_info = qq|<span class="LC_cusr_subheading">$dc_info</span>|; |
$dc_info = qq|<span class="LC_cusr_subheading">$dc_info</span>|; |
} |
} |
$bodytag .= qq|<div id="LC_nav_bar">$left $role<br /> |
$bodytag .= qq|<div id="LC_nav_bar" role="navigation" aria-label="$labeltext">$left $role<br />|; |
<em>$realm</em> $dc_info</div>|; |
unless (($realm eq '') && ($dc_info eq '')) { |
|
$bodytag .= qq|<div id="LC_realm" role="complementary"><em>$realm</em> $dc_info</div>|; |
|
} |
if ($need_endlcint) { |
if ($need_endlcint) { |
$bodytag .= Apache::lonhtmlcommon::scripttag('', 'end'); |
$bodytag .= Apache::lonhtmlcommon::scripttag('', 'end'); |
} |
} |
return $bodytag; |
return $bodytag; |
} |
} |
|
|
|
$bodytag .= '<div class="LC_landmark" role="navigation" aria-label="'.$labeltext.'">'; |
unless ($env{'request.symb'} =~ m/\.page___\d+___/) { |
unless ($env{'request.symb'} =~ m/\.page___\d+___/) { |
$bodytag .= qq|<div id="LC_nav_bar">$left $role</div>|; |
$bodytag .= qq|<div id="LC_nav_bar">$left $role</div>|; |
} |
} |
|
|
$bodytag .= $right; |
$bodytag .= $right.'</div>'; |
|
|
if ($dc_info) { |
if ($dc_info) { |
$dc_info = &dc_courseid_toggle($dc_info); |
$dc_info = &dc_courseid_toggle($dc_info); |
} |
} |
$bodytag .= qq|<div id="LC_realm">$realm $dc_info</div>|; |
unless (($realm eq '') && ($dc_info eq '')) { |
|
$bodytag .= qq|<div id="LC_realm">$realm $dc_info</div>|; |
|
} |
} |
} |
|
|
#if directed to not display the secondary menu, don't. |
#if directed to not display the secondary menu, don't. |
Line 8054 table.LC_pick_box {
|
Line 8055 table.LC_pick_box {
|
border-spacing: 1px; |
border-spacing: 1px; |
} |
} |
|
|
table.LC_pick_box td.LC_pick_box_title { |
table.LC_pick_box th.LC_pick_box_title { |
background: $sidebg; |
background: $sidebg; |
font-weight: bold; |
font-weight: bold; |
text-align: left; |
text-align: left; |
Line 9739 OFFLOAD
|
Line 9740 OFFLOAD
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
<meta name="apple-mobile-web-app-capable" content="yes" />'; |
<meta name="apple-mobile-web-app-capable" content="yes" />'; |
} |
} |
$result .= '<meta name="google" content="notranslate" />'."\n"; |
$result .= '<meta name="google" content="notranslate"'; |
|
if (!$args->{'frameset'}) { |
|
$result .= ' /'; |
|
} |
|
$result .= '>'."\n"; |
return $result.'</head>'; |
return $result.'</head>'; |
} |
} |
|
|