Add documentation in page.inc.php
[banana.git] / banana / templates / banana-base.tpl
index 3db7416..ba6a0b8 100644 (file)
@@ -11,7 +11,7 @@
             <li class="actif">{$pg.text}</li>
             {assign var=current_page value=$pg}
           {else}
-            <li>{if $name eq 'subscribe'}{link subscribe=1 text=$pg.text}
+            <li>{if $name eq 'subscribe'}{link action=subscribe text=$pg.text}
             {elseif $name eq 'forums'}{link text=$pg.text}
             {elseif $name eq 'thread'}{link group=$group text=$group}
             {elseif $name eq 'message'}{link group=$group artid=$artid text=$pg.text}
@@ -27,6 +27,7 @@
       {foreach from=$errors item=error}
       <p class="error">{$error}</p>
       {/foreach}
+      {if !$killed}
       {foreach from=$actions item=act}
       <p class="center" style="padding: 0; margin: 0 0 1em 0">{$act.text}</p>
       {/foreach}
@@ -56,6 +57,7 @@
       {elseif $current_page.template}
         {include file=$current_page.template}
       {/if}
+      {/if}
     </td>
   </tr>
 </table>