From 4e9340f51e50affa2b89211981580d33a27a9ff4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 1 Oct 2011 17:15:57 +0200 Subject: [PATCH] Prevents minor warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- banana/templates/banana-base.tpl | 6 +++--- banana/templates/banana-thread.inc.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/banana/templates/banana-base.tpl b/banana/templates/banana-base.tpl index dd6ecb7..24794c3 100644 --- a/banana/templates/banana-base.tpl +++ b/banana/templates/banana-base.tpl @@ -36,13 +36,13 @@

{$act.text|smarty:nodefaults}

{/foreach} {if $page eq 'forums'} - {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true withfeed=$feed_active} + {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true withfeed=$feed_active withsubs=false} {if $newgroups|@count}

{"Les nouveaux groupes suivants ont été créés depuis votre dernière visite"|b}

- {include file="banana-boxlist.inc.tpl" grouplist=$newgroups withstats=true} + {include file="banana-boxlist.inc.tpl" grouplist=$newgroups withstats=true withsubs=false withfeed=false} {/if} {elseif $page eq 'subscribe'} - {include file="banana-boxlist.inc.tpl" grouplist=$groups withsubs=true} + {include file="banana-boxlist.inc.tpl" grouplist=$groups withsubs=true withfeed=false withstats=false} {elseif $page eq 'thread'} {include file="banana-thread.inc.tpl" withtitle=true} {elseif $page eq 'message'} diff --git a/banana/templates/banana-thread.inc.tpl b/banana/templates/banana-thread.inc.tpl index 5660c70..482d0c8 100644 --- a/banana/templates/banana-thread.inc.tpl +++ b/banana/templates/banana-thread.inc.tpl @@ -68,7 +68,7 @@ {$smarty.capture.pages|smarty:nodefaults} {if $showboxlist}
-{include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true} +{include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true withsubs=false withfeed=false} {/if} {* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *} -- 2.1.4