From: x2003bruneau Date: Thu, 25 Jan 2007 07:25:26 +0000 (+0000) Subject: Fix new box display X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7b3d2efb4d6934e00f8e1e9a4fb5ae597e02a014;p=banana.git Fix new box display git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@179 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/banana/banana.inc.php.in b/banana/banana.inc.php.in index 2f7daa4..6bb7103 100644 --- a/banana/banana.inc.php.in +++ b/banana/banana.inc.php.in @@ -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']); diff --git a/banana/templates/banana-boxlist.inc.tpl b/banana/templates/banana-boxlist.inc.tpl index bd5d073..921b5d3 100644 --- a/banana/templates/banana-boxlist.inc.tpl +++ b/banana/templates/banana-boxlist.inc.tpl @@ -1,4 +1,4 @@ -{if $groups|@count} +{if $grouplist|@count} {if $withsubs}

@@ -17,7 +17,7 @@ {"Nom"|b} {"Description"|b} - {foreach from=$groups key=name item=grp} + {foreach from=$grouplist key=name item=grp} {if $withsubs}