[freeside-commits] freeside/rt/html/Elements PageLayout,1.17,1.18

Ivan,,, ivan at wavetail.420.am
Sun Jul 12 20:24:46 PDT 2009


Update of /home/cvs/cvsroot/freeside/rt/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv7806

Modified Files:
	PageLayout 
Log Message:
think that should be it, fix bar when there's no primary $page_tabs

Index: PageLayout
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/PageLayout,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- PageLayout	13 Jul 2009 02:33:55 -0000	1.17
+++ PageLayout	13 Jul 2009 03:24:44 -0000	1.18
@@ -148,12 +148,12 @@
 
    <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 href="<%$RT::WebPath%>/<%$page_tabs->{$tab}->{'path'}%>"<%$class->{a}|n%><% $class->{a} =~ 'selected' ? ' name="focus"' : ''|n %>><% $page_tabs->{$tab}->{'title'} %></a>
 
 %     }
-% } else {
-&nbsp;
+      </TD>
+%# } else {
+%#&nbsp;
 % }
 
 % 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">&nbsp;&nbsp;</TD>
+% }
   <TD BGCOLOR="#333333">
 % $sep       = 0;
 % $postsep   = 0;
@@ -238,8 +240,10 @@
 % }
 % }
 
+  </TD>
+
 % }
-    </TD>
+
     <TD><IMG SRC="<%$fsurl%>images/black-gray-side.png" WIDTH=13 HEIGHT=25></TD>
   </TR>
 </TABLE>



More information about the freeside-commits mailing list