summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 72175ff)
raw | patch | inline | side by side (parent: 72175ff)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Sep 2010 12:31:04 +0000 (12:31 +0000) | ||
committer | hickert <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
diff --git a/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc b/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc
index 1c4284e61ccee4ec34e55895a8012029c51c0575..5ee686db8ac79007b0f788bb9ece89a810cb0e20 100644 (file)
<?php
-class filterEditor extends plugin{
+class filterManager extends plugin{
var $filterListing = NULL;
var $filterRules = array();
$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()
$key = $this->filterListing->getKey($key);
if(isset($this->filter[$key])){
- echo "edit";
+
}
}
}
diff --git a/gosa-plugins/groupware/personal/groupware/class_groupware.inc b/gosa-plugins/groupware/personal/groupware/class_groupware.inc
index 6e9b201b2c340c9f606aaffdf29c042d55198e8e..3a1d53808b2cf4d88b03c9c70ba11ae1bf36cc02 100644 (file)
"mailBoxHardSizelimitEnabled","mailBoxAutomaticRemovalEnabled","localDeliveryOnly","dropOwnMails");
var $mailAddressSelectDialog = NULL;
- var $filterEditor = NULL;
+ var $filterManager = NULL;
var $filterRules = array();
var $vacationTemplates = array();
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());
}
diff --git a/gosa-plugins/groupware/personal/groupware/filterEditor.tpl b/gosa-plugins/groupware/personal/groupware/filterEditor.tpl
index 8c528f1fbd662c6b9327a4b2018d9b356c7e4b2a..e4f13ae72deb10d294a82151fd17b7c11ee12594 100644 (file)
<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>