diff options
Diffstat (limited to 'rt/html/Elements/PageLayout')
-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> |