[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm

harmsja harmsja@source.lon-capa.org
Wed, 03 Dec 2008 11:48:43 -0000


harmsja		Wed Dec  3 11:48:43 2008 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  remove fieldset and legend, insert div class ContentBoxSpecial and h3 
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.244 loncom/interface/lonmenu.pm:1.245
--- loncom/interface/lonmenu.pm:1.244	Wed Nov 19 19:43:08 2008
+++ loncom/interface/lonmenu.pm	Wed Dec  3 11:48:43 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.244 2008/11/19 19:43:08 jms Exp $
+# $Id: lonmenu.pm,v 1.245 2008/12/03 11:48:43 harmsja Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1095,8 +1095,8 @@
             foreach my $cat (keys(%category_members)) {
                if ($category_positions{$cat} ne "$col,$row") { next; }
                #$output.='<table id="LC_menubuttons_mainmenu"><tr><td colspan="4" class="LC_menubuttons_category">'.&mt($category_names{$cat}).'</td></tr>';
-               $output.='<fieldset id="LC_mainmenu_fieldset">';
-	       $output.='<legend class="LC_mainmenu_fieldset_category">'.&mt($category_names{$cat}).'</legend>';
+               $output.='<div class="ContentBoxSpecial">';
+	       $output.='<h4 class="hcell">'.&mt($category_names{$cat}).'</h4>';
                $output.='<table id="LC_menubuttons_mainmenu">';
                my %active=();
                foreach my $menu_item (split(/\:/,$category_members{$cat})) {
@@ -1109,7 +1109,7 @@
 		&Apache::lonnet::logthis("item=$item output=$inlineremote[$item]");
                }
                $output.='</table>';
-               $output.='</fieldset>';
+               $output.='</div>';
             }
          }
          $output.="</td>";