--- loncom/interface/lonmenu.pm 2010/08/09 23:39:43 1.309.2.14 +++ loncom/interface/lonmenu.pm 2009/12/22 14:35:25 1.311 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.309.2.14 2010/08/09 23:39:43 raeburn Exp $ +# $Id: lonmenu.pm,v 1.311 2009/12/22 14:35:25 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -131,7 +131,6 @@ use Apache::lonhtmlcommon(); use Apache::loncommon(); use Apache::lonenc(); use Apache::lonlocal; -use Apache::loncoursequeueadmin; use LONCAPA qw(:DEFAULT :match); use HTML::Entities(); @@ -151,6 +150,9 @@ sub prep_menuitem { } else { # textual Link $link = &mt($$menuitem[3]); } + if($$menuitem[4] eq 'newmsg'){ #special style for New Messages + return '
';
- for (my $row=1; $row<=8; $row++) {
- foreach my $cat (keys(%category_members)) {
- if ($category_positions{$cat} ne "$col,$row") { next; }
- $output.=' ';
- $output.=' ';
- }
+# calling rawconfig with "1" will evaluate mydesk.tab, even if there is no active remote control
+ &rawconfig(1);
+ my $output=''.&mt($category_names{$cat}).''; - $output.='
|