From: hickert Date: Wed, 10 May 2006 07:08:18 +0000 (+0000) Subject: Added subsearch checkbox X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f10a85e4428864b148d7d27dc00cfa3b2d51e9d9;p=gosa.git Added subsearch checkbox git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3248 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_divListSystem.inc b/plugins/admin/systems/class_divListSystem.inc index 59ca111bd..69077dbe1 100644 --- a/plugins/admin/systems/class_divListSystem.inc +++ b/plugins/admin/systems/class_divListSystem.inc @@ -20,6 +20,9 @@ class divListSystem extends MultiSelectWindow var $ShowDevices = true; var $ShowPhones = true; + /* Subsearch checkbox */ + var $SubSearch = false; + var $parent ; var $ui ; @@ -64,6 +67,10 @@ class divListSystem extends MultiSelectWindow $this->AddCheckBox("ShowPhones", _("Select to see VOIP phones"), _("Show phones") , true); $this->AddCheckBox("ShowDevices", _("Select to see network devices"), _("Show network devices"), true); + /* Add SubSearch checkbox */ + $this->AddCheckBox(SEPERATOR); + $this->AddCheckBox("SubSearch", _("Select to search search within subtres"), _("Subsearch"), false); + /* Name ,Text ,Default , Connect with alphabet */ $this->AddRegex ("Regex", _("Display systems matching"),"*" , true); $this->AddRegex ("UserRegex", _("Display systems of user"), "*" , false, "images/search_user.png"); @@ -115,7 +122,6 @@ class divListSystem extends MultiSelectWindow { $this->ClearElementsList(); $this->GenHeader(); - $this->AddDepartments($this->selectedBase); } function setEntries($terminals)