From: hickert Date: Fri, 30 Mar 2007 05:57:26 +0000 (+0000) Subject: Display add(above|below) / remove icons in elsif too. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d44f1783e507a23874e646676c4c4caf7d80403c;p=gosa.git 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 --- 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());