Code

Updated dialog names
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 12:31:04 +0000 (12:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 12:31:04 +0000 (12:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19527 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/class_filterEditor.inc
gosa-plugins/groupware/personal/groupware/class_groupware.inc
gosa-plugins/groupware/personal/groupware/filterEditor.tpl

index 1c4284e61ccee4ec34e55895a8012029c51c0575..5ee686db8ac79007b0f788bb9ece89a810cb0e20 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-class filterEditor extends plugin{
+class filterManager extends plugin{
 
     var $filterListing   = NULL;
     var $filterRules = array();
@@ -81,7 +81,7 @@ class filterEditor extends plugin{
 
         $smarty->assign('list', $this->filterListing->render());
 
-        return($smarty->fetch(get_template_path('filterEditor.tpl',TRUE,dirname(__FILE__))));
+        return($smarty->fetch(get_template_path('filterManager.tpl',TRUE,dirname(__FILE__))));
     }
 
     function save_object()
@@ -105,7 +105,7 @@ class filterEditor extends plugin{
             $key = $this->filterListing->getKey($key);
             if(isset($this->filter[$key])){
                 
-                echo "edit";
+            
             }
         }
     }
index 6e9b201b2c340c9f606aaffdf29c042d55198e8e..3a1d53808b2cf4d88b03c9c70ba11ae1bf36cc02 100644 (file)
@@ -47,7 +47,7 @@ class groupware extends plugin
             "mailBoxHardSizelimitEnabled","mailBoxAutomaticRemovalEnabled","localDeliveryOnly","dropOwnMails");
 
     var $mailAddressSelectDialog = NULL;
-    var $filterEditor = NULL;
+    var $filterManager = NULL;
     var $filterRules = array();
     var $vacationTemplates = array();
 
@@ -114,17 +114,17 @@ class groupware extends plugin
           Filter editor
          ****************/
 
-        if(isset($_POST['filterEditor_cancel'])) $this->filterEditor = NULL;
+        if(isset($_POST['filterManager_cancel'])) $this->filterManager = NULL;
         if(isset($_POST['configureFilter'])){
-            $this->filterEditor = new filterEditor($this->config, $this,$this->filterRules);
-            $this->filterEditor->acl_base = $this->acl_base;
-            $this->filterEditor->acl_category = $this->acl_category;
+            $this->filterManager = new filterManager($this->config, $this,$this->filterRules);
+            $this->filterManager->acl_base = $this->acl_base;
+            $this->filterManager->acl_category = $this->acl_category;
         }
         $this->dialog = FALSE;
-        if($this->filterEditor instanceOf filterEditor){
-            $this->filterEditor->save_object();
+        if($this->filterManager instanceOf filterManager){
+            $this->filterManager->save_object();
             $this->dialog = TRUE;
-            return($this->filterEditor->execute());
+            return($this->filterManager->execute());
         }
 
 
index 8c528f1fbd662c6b9327a4b2018d9b356c7e4b2a..e4f13ae72deb10d294a82151fd17b7c11ee12594 100644 (file)
@@ -13,6 +13,6 @@
 
 <hr>
 <div class="plugin-actions">
-    <button name='filterEditor_ok'>{msgPool type='okButton'}</button>
-    <button name='filterEditor_cancel'>{msgPool type='cancelButton'}</button>
+    <button name='filterManager_ok'>{msgPool type='okButton'}</button>
+    <button name='filterManager_cancel'>{msgPool type='cancelButton'}</button>
 </div>