Fixes vim mode line.
[banana.git] / banana / templates / banana-base.tpl
index 26e6d7a..e73244d 100644 (file)
 <div class="banana">
 {/if}
       {foreach from=$errors item=error}
-      <p class="error">{$error}</p>
+      <p class="error">{$error|smarty:nodefaults}</p>
       {/foreach}
       {if !$killed}
       {foreach from=$actions item=act}
-      <p class="center" style="padding: 0; margin: 0 0 1em 0">{$act.text}</p>
+      <p class="center" style="padding: 0; margin: 0 0 1em 0">{$act.text|smarty:nodefaults}</p>
       {/foreach}
       {if $page eq 'forums'}
-        {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true}
+        {include file="banana-boxlist.inc.tpl" grouplist=$groups withstats=true withfeed=$feed_active withsubs=false}
         {if $newgroups|@count}
         <p>{"Les nouveaux groupes suivants ont été créés depuis votre dernière visite"|b}</p>
-        {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'}
         {include file="banana-message.inc.tpl"}
         {if $showthread}
+        <br />
         {include file="banana-thread.inc.tpl" withtitle=false}
         {/if}
       {elseif $page eq 'new'}
@@ -72,4 +73,4 @@
 </div>
 {/if}
 
-{* vim:set et sw=2 sts=2 ts=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 ts=2 fenc=utf-8: *}