[vhffs-dev] [2182] don't display panel title if not set

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2182
Author:   gradator
Date:     2012-05-08 02:23:32 +0200 (Tue, 08 May 2012)
Log Message:
-----------
don't display panel title if not set

Modified Paths:
--------------
    branches/vhffs-4.4/vhffs-panel/templates/layouts/panel.tt
    trunk/vhffs-panel/templates/layouts/panel.tt

Modified: branches/vhffs-4.4/vhffs-panel/templates/layouts/panel.tt
===================================================================
--- branches/vhffs-4.4/vhffs-panel/templates/layouts/panel.tt	2012-05-08 00:03:19 UTC (rev 2181)
+++ branches/vhffs-4.4/vhffs-panel/templates/layouts/panel.tt	2012-05-08 00:23:32 UTC (rev 2182)
@@ -16,7 +16,7 @@
   <div class="page-container-panel">
 [% INCLUDE 'misc/header.tt' %]
     <div class="content-panel">
-      <h1>[% page_title | html %]</h1>
+      [% IF page_title %]<h1>[% page_title | html %]</h1>[% END %]
 [% IF msg %]
       <p>[% msg | html %]</p>
 [% END %]

Modified: trunk/vhffs-panel/templates/layouts/panel.tt
===================================================================
--- trunk/vhffs-panel/templates/layouts/panel.tt	2012-05-08 00:03:19 UTC (rev 2181)
+++ trunk/vhffs-panel/templates/layouts/panel.tt	2012-05-08 00:23:32 UTC (rev 2182)
@@ -16,7 +16,7 @@
   <div class="page-container-panel">
 [% INCLUDE 'misc/header.tt' %]
     <div class="content-panel">
-      <h1>[% page_title | html %]</h1>
+      [% IF page_title %]<h1>[% page_title | html %]</h1>[% END %]
 [% IF msg %]
       <p>[% msg | html %]</p>
 [% END %]


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/