--- loncom/interface/lonmenu.pm 2003/04/12 15:57:30 1.59 +++ loncom/interface/lonmenu.pm 2003/05/16 20:47:07 1.66 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.59 2003/04/12 15:57:30 www Exp $ +# $Id: lonmenu.pm,v 1.66 2003/05/16 20:47:07 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -143,6 +143,9 @@ $navmaps
';
+ }
+ if (($textual) && ($ENV{'request.symb'}) && ($ENV{'request.course.id'})) {
+ my ($mapurl,$rid,$resurl)=split(/\_\_\_/,$ENV{'request.symb'});
+ $newmail.=$ENV{'course.'.$ENV{'request.course.id'}.'.description'};
+ my $maptitle=&Apache::lonnet::gettitle($mapurl);
+ my $restitle=&Apache::lonnet::gettitle($resurl);
+ if ($maptitle) {
+ $newmail.=', '.$maptitle;
+ }
+ if ($restitle) {
+ $newmail.=': '.$restitle;
+ }
+ $newmail.=' ';
+ }
if (&Apache::lonmsg::newmail()) {
$newmail=($textual?
'You have new messages ': 'swmenu.setstatus("you have","messages");'); } + if ($noremote) { + $newmail.=' |