[Rt-commit] r9245 - rt/branches/3.6-RELEASE/html/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Oct 8 14:11:20 EDT 2007


Author: sunnavy
Date: Mon Oct  8 14:11:19 2007
New Revision: 9245

Modified:
   rt/branches/3.6-RELEASE/html/Elements/PageLayout
   rt/branches/3.6-RELEASE/html/Elements/Tabs

Log:
added show_menu arg for Elements/Tabs and Elements/PageLayout, mainly for RTx-TicketBottomTabs

Modified: rt/branches/3.6-RELEASE/html/Elements/PageLayout
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/PageLayout	(original)
+++ rt/branches/3.6-RELEASE/html/Elements/PageLayout	Mon Oct  8 14:11:19 2007
@@ -56,9 +56,11 @@
 %# End of div#quickbar from /Elements/Header
 </div>
 
+% if ( $show_menu ) {
 <div id="nav">
 <& /Elements/Menu, toptabs => $toptabs, current_toptab => $current_toptab &>
 </div>
+% }
 
 <div id="header">
   <h1><%$title%></h1>
@@ -231,4 +233,5 @@
 $subactions => undef
 $title => $m->callers(-1)->path
 $AppName => undef
+$show_menu => 1
 </%ARGS>

Modified: rt/branches/3.6-RELEASE/html/Elements/Tabs
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/Tabs	(original)
+++ rt/branches/3.6-RELEASE/html/Elements/Tabs	Mon Oct  8 14:11:19 2007
@@ -53,7 +53,8 @@
     tabs => $tabs,
     actions => $actions,
     subactions => $subactions,
-    title => $Title
+    title => $Title,
+    show_menu => $show_menu,
 &>
 <a name="skipnav" id="skipnav" accesskey="8"></a>
 <%INIT>
@@ -117,4 +118,5 @@
 $actions => undef
 $subactions => undef
 $Title => undef
+$show_menu => 1
 </%ARGS>


More information about the Rt-commit mailing list