From 74357e390809f40ae3552090c145b541e929906e Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 13 Jul 2009 03:24:44 +0000 Subject: [PATCH] think that should be it, fix bar when there's no primary $page_tabs --- rt/html/Elements/PageLayout | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/rt/html/Elements/PageLayout b/rt/html/Elements/PageLayout index 35e080cb3..3210b4e3e 100644 --- a/rt/html/Elements/PageLayout +++ b/rt/html/Elements/PageLayout @@ -148,12 +148,12 @@ a:visited:hover.fsdarkbutton { - - + +%# } else { +%#  % } % if (($actions && %$actions) || ($subactions && %$subactions)) { - - + +% if ( $page_tabs ) { +% } + % } - +
%# % foreach my $tab (sort keys %{$page_tabs}) { % next if $tab =~ /^(?:current_toptab|this)$/; % $count++; @@ -188,14 +188,16 @@ a:visited:hover.fsdarkbutton { {a}|n%><% $class->{a} =~ 'selected' ? ' name="focus"' : ''|n %>><% $page_tabs->{$tab}->{'title'} %> % } -% } else { -  +    % $sep = 0; % $postsep = 0; @@ -238,8 +240,10 @@ a:visited:hover.fsdarkbutton { % } % } +
-- 2.11.0