From: garvinhicking Date: Mon, 25 Apr 2005 08:41:26 +0000 (+0000) Subject: no sidebar titles if not set X-Git-Tag: 0.8.1~30^2~3 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f900d2a06f595452844ca57c1b90c20231578328;p=s9y.git no sidebar titles if not set --- 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 @@