Code

Updated template stuff
[gosa.git] / gosa-core / plugins / admin / users / class_divListUsers.inc
index a83e827a20096933584c7ea2b8cc7ae409ce8211..e9698c400f683b8005f1283b882dcd91f0e7c95e 100644 (file)
@@ -37,6 +37,7 @@ class divListUsers extends MultiSelectWindow
   var $ShowMailUsers;
   var $ShowSambaUsers;
   var $ShowProxyUsers;
+  var $ShowPhoneUsers;
 
   /* Subsearch checkbox */
   var $SubSearch              = false;
@@ -88,6 +89,10 @@ class divListUsers extends MultiSelectWindow
     $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);