From: hickert Date: Fri, 12 Mar 2010 14:52:28 +0000 (+0000) Subject: Made query backend selectable. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=58258b849a93a49ce8d0460ae506c5ecbb134164;p=gosa.git Made query backend selectable. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16495 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/ihtml/themes/modern/userFilterEditor.tpl b/gosa-core/ihtml/themes/modern/userFilterEditor.tpl index 99dd4f203..4f0322d86 100644 --- a/gosa-core/ihtml/themes/modern/userFilterEditor.tpl +++ b/gosa-core/ihtml/themes/modern/userFilterEditor.tpl @@ -27,7 +27,7 @@ - {html_options values=$fixedFilters output=$fixedFilters selected=$parent} @@ -51,7 +51,7 @@ {html_options options=$selectedCategories}
- + {t}Query{/t} #{$key} + diff --git a/gosa-core/include/class_userFilterEditor.inc b/gosa-core/include/class_userFilterEditor.inc index f51e3499b..e2ebf9d2a 100644 --- a/gosa-core/include/class_userFilterEditor.inc +++ b/gosa-core/include/class_userFilterEditor.inc @@ -21,7 +21,8 @@ class userFilterEditor extends plugin // The list of all categories mangaged by the current filter object. // Used in the grop-down box. public $orig_name = ""; - + + public $backends = array('LDAP', 'SYSTEMS', 'FAI', 'GroupLDAP','ACL'); /*! \brief Instantiate the filter editing dialog. @@ -131,6 +132,7 @@ class userFilterEditor extends plugin $smarty->assign("fixedFilters", array_keys($filter->searches)); $smarty->assign('parent', $this->parent); + $smarty->assign('backends', $this->backends); $smarty->assign('name', htmlentities($this->name,ENT_COMPAT,'UTF-8')); $smarty->assign('queries', $queries); $smarty->assign('share', $this->share);