From: cajus Date: Tue, 31 Jan 2006 07:35:33 +0000 (+0000) Subject: Made primary group filter disableble X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=533f618b44a1dcef220c4ff18cb594daaaa04fea;p=gosa.git Made primary group filter disableble git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2606 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc index 84e7eda1e..01e7899af 100644 --- a/plugins/admin/groups/class_groupManagement.inc +++ b/plugins/admin/groups/class_groupManagement.inc @@ -464,6 +464,11 @@ class groupManagement extends plugin $smarty->assign("apply", apply_filter()); $smarty->assign("alphabet", generate_alphabet()); $smarty->assign("hint", print_sizelimit_warning()); + if (isset($this->config->data['MAIN']['NOPRIMARYGROUP'])){ + $smarty->assign("showprimary", ""); + } else { + $smarty->assign("showprimary", "true"); + } return($smarty->fetch(get_template_path('headpage.tpl', TRUE))); } diff --git a/plugins/admin/groups/headpage.tpl b/plugins/admin/groups/headpage.tpl index 5cb4f3e09..f3f1526d5 100644 --- a/plugins/admin/groups/headpage.tpl +++ b/plugins/admin/groups/headpage.tpl @@ -36,10 +36,12 @@
+{if $showprimary == "true"}
+{/if}