Code

Updated trustModes
[gosa.git] / gosa-core / include / class_userFilterEditor.inc
index 6c86f4b519853ff238789b0d69d87d8c9eca2460..b4caa39d4b93940d74a2f799415a5729bf55563c 100644 (file)
@@ -21,8 +21,7 @@ class userFilterEditor extends plugin
   // The list of all categories mangaged by the current filter object.
   // Used in the grop-down box.
   public $orig_name = "";
-
-  public $backends = array('LDAP', 'SYSTEMS', 'FAI', 'GroupLDAP','ACL');  
+  public $backends = array('LDAP', 'SYSTEMS', 'FAI', 'GroupLDAP','ACL', 'OPSIPackages','APPLICATIONS','MIMETYPES');  
 
 
   /*! \brief    Instantiate the filter editing dialog. 
@@ -133,7 +132,7 @@ class userFilterEditor extends plugin
     $smarty->assign("fixedFilters", array_keys($filter->searches));
     $smarty->assign('parent', $this->parent);
     $smarty->assign('backends', $this->backends);
-    $smarty->assign('tag', htmlentities($this->name,ENT_COMPAT,'UTF-8'));
+    $smarty->assign('name', htmlentities($this->name,ENT_COMPAT,'UTF-8'));
     $smarty->assign('queries', $queries);
     $smarty->assign('share', $this->share);
     $smarty->assign('enable', $this->enabled);
@@ -151,7 +150,7 @@ class userFilterEditor extends plugin
     if(isset($_POST['userFilterEditor'])){
 
       // Get posted strings
-      foreach(array('tag','description', 'parent') as $attr){
+      foreach(array('name','description', 'parent') as $attr){
         if(isset($_POST[$attr])){
           $this->$attr = get_post($attr);
         }