diff options
| author | ivan <ivan> | 2009-07-13 03:24:44 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2009-07-13 03:24:44 +0000 | 
| commit | 74357e390809f40ae3552090c145b541e929906e (patch) | |
| tree | 64e7acd55a02b99d5a4a9100aae0d55d798d444a | |
| parent | 09a7302ecaca7eb96795f8fda8208aa1f61932a8 (diff) | |
think that should be it, fix bar when there's no primary $page_tabs
| -rw-r--r-- | rt/html/Elements/PageLayout | 18 | 
1 files 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 {     <TABLE BGCOLOR="#000000" BORDER=0 CELLSPACING=0 CELLPADDING=0>       <TR> -       <TD><IMG SRC="<%$fsurl%>images/gray-black-side.png" WIDTH=13 HEIGHT=25></TD> -       <TD>  %#  <ul id="page-menu"<% (($actions && %$actions) || ($subactions && %$subactions)) && q[ class="actions-present"] | n %>>  % if ($page_tabs) { +    <TD><IMG SRC="<%$fsurl%>images/gray-black-side.png" WIDTH=13 HEIGHT=25></TD> +      <TD>  %     foreach my $tab (sort keys %{$page_tabs}) {  %         next if $tab =~ /^(?:current_toptab|this)$/;  %         $count++; @@ -188,14 +188,16 @@ a:visited:hover.fsdarkbutton {      <a href="<%$RT::WebPath%>/<%$page_tabs->{$tab}->{'path'}%>"<%$class->{a}|n%><% $class->{a} =~ 'selected' ? ' name="focus"' : ''|n %>><% $page_tabs->{$tab}->{'title'} %></a>  %     } -% } else { -  +      </TD> +%# } else { +%#   % }  % if (($actions && %$actions) || ($subactions && %$subactions)) { -  </TD> -  <TD><IMG SRC="<%$fsurl%>images/black-gray-side.png" WIDTH=13 HEIGHT=25></TD> +  <TD><IMG SRC="<%$fsurl%>images/<% $page_tabs ? 'black-gray' : 'gray-black' %>-side.png" WIDTH=13 HEIGHT=25></TD> +% if ( $page_tabs ) {    <TD BGCOLOR="#333333">  </TD> +% }    <TD BGCOLOR="#333333">  % $sep       = 0;  % $postsep   = 0; @@ -238,8 +240,10 @@ a:visited:hover.fsdarkbutton {  % }  % } +  </TD> +  % } -    </TD> +      <TD><IMG SRC="<%$fsurl%>images/black-gray-side.png" WIDTH=13 HEIGHT=25></TD>    </TR>  </TABLE> | 
