From: hickert Date: Mon, 4 Jan 2010 14:42:52 +0000 (+0000) Subject: Fixed macro mangement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9def18ddf654ecffdabb9511888c4bc49b82dc3b;p=gosa.git Fixed macro mangement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15005 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc index ea0ba4513..7260fced6 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc @@ -24,7 +24,7 @@ class goFonMacroManagment extends management { var $plHeadline = "Macros"; var $plDescription = "Macro management"; - var $plIcon = "plugins/gofon/images/macro.png"; + var $plIcon = "plugins/gofon/images/macros.png"; // Tab definition protected $tabClass = "macrotabs"; @@ -37,16 +37,16 @@ class goFonMacroManagment extends management { $this->config = $config; $this->ui = $ui; - + $this->storagePoints = array(get_ou("phoneMacroRDN")); - + // Build filter -# if (session::global_is_set(get_class($this)."_filter")){ - # $filter= session::global_get(get_class($this)."_filter"); - # } else { + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { $filter = new filter(get_template_path("macro-filter.xml", true)); $filter->setObjectStorage($this->storagePoints); - # } + } $this->setFilter($filter); // Build headpage