summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d7d181)
raw | patch | inline | side by side (parent: 1d7d181)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Oct 2009 09:43:24 +0000 (09:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 5 Oct 2009 09:43:24 +0000 (09:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14507 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/users/class_divListUsers.inc | patch | blob | history | |
gosa-core/plugins/admin/users/class_userManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc
index a83e827a20096933584c7ea2b8cc7ae409ce8211..e9698c400f683b8005f1283b882dcd91f0e7c95e 100644 (file)
var $ShowMailUsers;
var $ShowSambaUsers;
var $ShowProxyUsers;
+ var $ShowPhoneUsers;
/* Subsearch checkbox */
var $SubSearch = false;
$this->AddCheckBox("ShowSambaUsers" ,msgPool::selectToView(_("Samba"),"enabled") ,sprintf(_("Show %s"),_("samba users")), true);
$this->AddCheckBox("ShowProxyUsers" ,msgPool::selectToView(_("Proxy"),"enabled") ,sprintf(_("Show %s"),_("proxy users")), true);
+ if(class_available("phoneAccount")){
+ $this->AddCheckBox("ShowPhoneUsers" ,msgPool::selectToView(_("Phone"),"enabled") ,sprintf(_("Show %s"),_("phone users")), true);
+ }
+
/* Add SubSearch checkbox */
$this->AddCheckBox(SEPERATOR);
$this->AddCheckBox("SubSearch", msgPool::selectToView("","subsearch"), msgPool::selectToView("","subsearch_small"), false);
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index f3bb656588e81fc3f83daa842aa21eab0336e824..3e99ac0a81b7d48edb77a2cd1dc7d4ceb38eb13f 100644 (file)
$ShowMailUsers = $this->DivListUsers->ShowMailUsers;
$ShowSambaUsers = $this->DivListUsers->ShowSambaUsers;
$ShowProxyUsers = $this->DivListUsers->ShowProxyUsers;
+ $ShowPhoneUsers = $this->DivListUsers->ShowPhoneUsers;
/* Setup filter depending on selection */
$filter="";
if ($ShowProxyUsers){
$filter.= "(objectClass=gosaProxyAccount)";
}
+ if ($ShowPhoneUsers){
+ $filter.= "(objectClass=gofonAccount)";
+ }
if ($ShowTemplates){
$filter= "(|(objectClass=gosaUserTemplate)(&(objectClass=gosaAccount)(|$filter)))";
} else {