--- loncom/interface/lonmenu.pm 2004/11/02 21:02:01 1.122 +++ loncom/interface/lonmenu.pm 2004/11/10 16:22:25 1.123 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.122 2004/11/02 21:02:01 albertel Exp $ +# $Id: lonmenu.pm,v 1.123 2004/11/10 16:22:25 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -920,7 +920,11 @@ sub rawconfig { unless (($ENV{'browser.interface'} eq 'textual') || ($ENV{'environment.remote'} eq 'off')) { $output.="\nwindow.status='Synchronizing Time';swmenu.syncclock(1000*".time.");\nwindow.status='Remote Control Configured.';"; + if (&Apache::lonmsg::newmail()) { + $output.='swmenu.setstatus("you have","messages");'; + } } + return $output; }