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);