From f900d2a06f595452844ca57c1b90c20231578328 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 25 Apr 2005 08:41:26 +0000 Subject: [PATCH] no sidebar titles if not set --- docs/NEWS | 3 +++ templates/default/sidebar.tpl | 2 +- templates/kubrick/sidebar.tpl | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/NEWS b/docs/NEWS index ad07b0a..29b2d65 100644 --- 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 diff --git a/templates/default/sidebar.tpl b/templates/default/sidebar.tpl index a0cd196..0ac52c6 100644 --- a/templates/default/sidebar.tpl +++ b/templates/default/sidebar.tpl @@ -3,7 +3,7 @@ {/if} {foreach from=$plugindata item=item}
-

{$item.title}

+ {if $item.title != ""}

{$item.title}

{/if}
{$item.content}
{/foreach} diff --git a/templates/kubrick/sidebar.tpl b/templates/kubrick/sidebar.tpl index 967aa23..e198253 100644 --- a/templates/kubrick/sidebar.tpl +++ b/templates/kubrick/sidebar.tpl @@ -1,7 +1,7 @@