]> git.mjollnir.org Git - s9y.git/commitdiff
no sidebar titles if not set
authorgarvinhicking <garvinhicking>
Mon, 25 Apr 2005 08:41:26 +0000 (08:41 +0000)
committergarvinhicking <garvinhicking>
Mon, 25 Apr 2005 08:41:26 +0000 (08:41 +0000)
docs/NEWS
templates/default/sidebar.tpl
templates/kubrick/sidebar.tpl

index ad07b0a48c844c453bba5721cd56dce965b00ec4..29b2d65bf056dcdaaa0166edf4bee3ec7cce0af2 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,9 @@
 Version 0.9 ()
 ------------------------------------------------------------------------
 
+    * Do not display Sidebar titles if they are not set for the bundled 
+      default, kubrick and wp templates (sidebar.tpl) (garvinhicking)
+
     * Fix error "Warning: ob_start(): output handler 'ob_gzhandler' 
       cannot be used after 'URL-Rewriter'" which can occur on installations
       where session.use_trans_sid is activated and Serendipity's gzip
index a0cd1960c9339b1e725c2c0b06e6309c6d6f9971..0ac52c6a7383ba2ec235957f79aac11789ab759e 100644 (file)
@@ -3,7 +3,7 @@
 {/if}
 {foreach from=$plugindata item=item}
     <div class="serendipitySideBarItem container_{$item.class}">
-        <h3 class="serendipitySideBarTitle {$item.class}">{$item.title}</h3>
+        {if $item.title != ""}<h3 class="serendipitySideBarTitle {$item.class}">{$item.title}</h3>{/if}
         <div class="serendipitySideBarContent">{$item.content}</div>
     </div>
 {/foreach}
index 967aa23fb8179cb732cba1d02a1abd48d94232ea..e198253f99f94e2a22c6d7ae6966bea794f4bddf 100644 (file)
@@ -1,7 +1,7 @@
 <ul>
 {foreach from=$plugindata item=item}
         <li>
-            <h2>{$item.title}</h2>
+            {if $item.title != ""}<h2>{$item.title}</h2>{/if}
             <p>{$item.content}</p>
     </li>
 {/foreach}