--- loncom/interface/lonmainmenu.pm 2010/03/10 21:25:50 1.9 +++ loncom/interface/lonmainmenu.pm 2013/04/17 01:30:15 1.10.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # displays the main menu # -# $Id: lonmainmenu.pm,v 1.9 2010/03/10 21:25:50 droeschl Exp $ +# $Id: lonmainmenu.pm,v 1.10.2.1 2013/04/17 01:30:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -47,16 +47,15 @@ sub handler { $r->send_http_header; return OK if $r->header_only; - my $form; # ---- Print the screen, pretend to be in text mode to generate text-based menu # temporarily set interface to "faketextual" and remote to "off", which renders # the main menu $env{'browser.interface'}='faketextual'; - + $env{'environment.remote'}='off'; $r->print(&Apache::loncommon::start_page( 'Main Menu', undef, {'bread_crumbs' => 1})); - $r->print(&Apache::lonmenu::inlinemenu().$form); + $r->print(&Apache::lonmenu::inlinemenu()); $r->print(&Apache::loncommon::end_page()); return OK; }