summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1048a8f)
raw | patch | inline | side by side (parent: 1048a8f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 09:41:31 +0000 (09:41 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 09:41:31 +0000 (09:41 +0000) |
plugins/admin/ogroups/class_ogroupManagement.inc | patch | blob | history | |
plugins/admin/ogroups/headpage.tpl | patch | blob | history |
diff --git a/plugins/admin/ogroups/class_ogroupManagement.inc b/plugins/admin/ogroups/class_ogroupManagement.inc
index 819838271a7e9894135c894d28c378e7797b7784..15eb4b5065983558a72ee751426c622d1b14eb61 100644 (file)
"servergroups" => "checked",
"wsgroups" => "checked",
"prtgroups" => "checked",
- "emptygroups" => "checked",
"tcgroups" => "checked",
"fongroups" => "checked",
"depselect" => $base,
}
}
if (isset($_POST['depselect'])){
- foreach( array("usergroups", "groupgroups", "appgroups", "depgroups", "emptygroups",
+ foreach( array("usergroups", "groupgroups", "appgroups", "depgroups",
"servergroups", "wsgroups", "prtgroups", "tcgroups", "fongroups") as $type){
if (isset($_POST[$type])) {
$smarty->assign("groups", $this->convert_list($this->grouplist));
- foreach( array("usergroups", "groupgroups", "appgroups", "depgroups", "emptygroups",
+ foreach( array("usergroups", "groupgroups", "appgroups", "depgroups",
"servergroups", "wsgroups", "prtgroups", "tcgroups", "fongroups", "regex", "depselect") as $type){
$smarty->assign("$type", $ogroupfilter[$type]);
}
if ($ogroupfilter['fongroups'] == "checked"){
$filter.= "(gosaGroupObjects=*F*)";
}
- if ($ogroupfilter['emptygroups'] == "checked"){
- $filter.= "(gosaGroupObjects=[])";
- }
if ($filter != ""){
$filter= "(&(cn=$regex)(objectClass=gosaGroupOfNames)(|$filter))";
index 1e8d87277528dc03d42fd6c22400f55f7813db79..fb31c5b5dccb2ba8c4cc617dac1cc41dda315889 100644 (file)
<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
<tr>
<td>
- <input type=checkbox name="emptygroups" value="1" {$emptygroups} onClick="mainform.submit()">{t}Show empty groups{/t}<br>
<input type=checkbox name="usergroups" value="1" {$usergroups} onClick="mainform.submit()">{t}Show groups containing users{/t}<br>
<input type=checkbox name="groupgroups" value="1" {$groupgroups} onClick="mainform.submit()">{t}Show groups containing groups{/t}<br>
<input type=checkbox name="appgroups" value="1" {$appgroups} onClick="mainform.submit()">{t}Show groups containing applications{/t}<br>