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

raeburn raeburn@source.lon-capa.org
Fri, 15 Jan 2010 04:05:21 -0000


raeburn		Fri Jan 15 04:05:21 2010 EDT

  Modified files:              (Branch: GCI_3)
    /loncom/interface	lonmenu.pm 
  Log:
  - Customization for GCI_3.
     - Add missing table tags to menu when user in not in a course.  
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.309.2.10 loncom/interface/lonmenu.pm:1.309.2.11
--- loncom/interface/lonmenu.pm:1.309.2.10	Wed Jan  6 22:40:34 2010
+++ loncom/interface/lonmenu.pm	Fri Jan 15 04:05:21 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.309.2.10 2010/01/06 22:40:34 raeburn Exp $
+# $Id: lonmenu.pm,v 1.309.2.11 2010/01/15 04:05:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1416,6 +1416,8 @@
                 }
                 $output .= '<tr><td align="left"><a href="javascript:gonav('."'/adm/navmaps'".');"><img alt="course contents" src="/res/adm/pages/nav.png" align="left" class="LC_icon" /></a></td><td class="LC_menubuttons_text" colspan="3"><a class="LC_menubuttons_link" href="javascript:gonav('."'/adm/navmaps'".');"><span class="LC_menubuttons_inline_text">'.$navtext.'</span></a></td></tr></table></div></td>';
             }
+        } else {
+            $output.='</td></tr></table></div></td>';
         }
         $output.='</tr></table>';
     } else {