From d44f1783e507a23874e646676c4c4caf7d80403c Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 30 Mar 2007 05:57:26 +0000 Subject: [PATCH] Display add(above|below) / remove icons in elsif too. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5931 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/sieve/class_sieveElement_If.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/sieve/class_sieveElement_If.inc b/include/sieve/class_sieveElement_If.inc index 686d45722..daf4f5bf0 100644 --- a/include/sieve/class_sieveElement_If.inc +++ b/include/sieve/class_sieveElement_If.inc @@ -843,12 +843,8 @@ class sieve_if $smarty = get_smarty(); $smarty->assign("ID", $this->object_id); - /* Only display navigation elements if necessary */ - if($this->TYPE == "if"){ - $object_container = $smarty->fetch(get_template_path("templates/object_container.tpl",TRUE,dirname(__FILE__))); - }else{ - $object_container = $smarty->fetch(get_template_path("templates/object_container_clear.tpl",TRUE,dirname(__FILE__))); - } + /* Get navigation element container */ + $object_container = $smarty->fetch(get_template_path("templates/object_container.tpl",TRUE,dirname(__FILE__))); $smarty->assign("Name", $name); $smarty->assign("Contents", $this->get_as_html()); -- 2.30.2