Fix new box display
authorx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Thu, 25 Jan 2007 07:25:26 +0000 (07:25 +0000)
committerx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Thu, 25 Jan 2007 07:25:26 +0000 (07:25 +0000)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@179 9869982d-c50d-0410-be91-f2a2ec7c7c7b

banana/banana.inc.php.in
banana/templates/banana-boxlist.inc.tpl

index 2f7daa4..6bb7103 100644 (file)
@@ -546,7 +546,7 @@ class Banana
         if ($group == $_SESSION['banana_group']) {
             if (!Banana::$profile['display']) {
                 $_SESSION['banana_spool'] = serialize(Banana::$spool);
-            }    
+            }
             if ($artid == $_SESSION['banana_artid']) {
                 unset($_SESSION['banana_message']);
                 unset($_SESSION['banana_showhdr']);
index bd5d073..921b5d3 100644 (file)
@@ -1,4 +1,4 @@
-{if $groups|@count}
+{if $grouplist|@count}
 {if $withsubs}
 <form action="{url action=subscribe}" method="post">
 <p style="text-align: center">
@@ -17,7 +17,7 @@
     <th>{"Nom"|b}</th>
     <th>{"Description"|b}</th>
   </tr>
-  {foreach from=$groups key=name item=grp}
+  {foreach from=$grouplist key=name item=grp}
   <tr class="{cycle values="impair,pair"}">
     {if $withsubs}
     <td>