--- loncom/interface/loncommon.pm 2025/02/14 22:42:05 1.1453 +++ loncom/interface/loncommon.pm 2025/02/14 23:10:30 1.1454 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1453 2025/02/14 22:42:05 raeburn Exp $ +# $Id: loncommon.pm,v 1.1454 2025/02/14 23:10:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6947,8 +6947,6 @@ sub bodytag { $role = &Apache::lonnet::plaintext($role); } - if (!$realm) { $realm=' '; } - my $extra_body_attr = &make_attr_string($forcereg,\%design); # construct main body tag @@ -6972,7 +6970,6 @@ sub bodytag { undef($role); } unless ($ltimenu->{'coursetitle'}) { - $realm=' '; $showcrstitle = 0; } } @@ -6982,7 +6979,6 @@ sub bodytag { undef($role); } unless ($menuref->{'crs'}) { - $realm=' '; $showcrstitle = 0; } } @@ -7050,29 +7046,34 @@ END $args->{'links_disabled'}, $args->{'links_target'}, $collapsible); - + my $labeltext = &HTML::Entities::encode(&mt('Primary links')); if ($env{'request.noversionuri'} =~ m{^/res/adm/pages/}) { if ($dc_info) { $dc_info = qq|$dc_info|; } - $bodytag .= qq|
|; + $bodytag .= qq|