--- loncom/interface/loncommon.pm 2013/05/12 03:36:46 1.1075.2.36 +++ loncom/interface/loncommon.pm 2013/06/05 13:25:41 1.1075.2.39 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1075.2.36 2013/05/12 03:36:46 raeburn Exp $ +# $Id: loncommon.pm,v 1.1075.2.39 2013/06/05 13:25:41 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -5064,16 +5064,14 @@ sub bodytag { my $bodytag = "
". &Apache::lontexconvert::init_math_support($args->{'inherit_jsmath'}); - if ($bodyonly) { + &get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['inhibitmenu']); + + if (($bodyonly) || ($no_nav_bar) || ($env{'form.inhibitmenu'} eq 'yes')) { return $bodytag; - } + } - my $name = &plainname($env{'user.name'},$env{'user.domain'}); if ($public) { undef($role); - } else { - $name = &aboutmewrapper($name,$env{'user.name'},$env{'user.domain'}, - undef,'LC_menubuttons_link'); } my $titleinfo = '