From: hickert Date: Mon, 6 Sep 2010 13:03:27 +0000 (+0000) Subject: Updated filter Editor X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d94882b77c3e326fe3fb88431adf4facd352bacd;p=gosa.git Updated filter Editor git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19531 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 244113671..5fc90ef6c 100644 --- a/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc +++ b/gosa-plugins/groupware/personal/groupware/class_filterEditor.inc @@ -12,7 +12,19 @@ class filterEditor extends plugin function execute() { $smarty = get_smarty(); + + $smarty->assign('filterStr', $this->renderFilter()); + return($smarty->fetch(get_template_path('filterEditor.tpl',TRUE,dirname(__FILE__)))); } + + function renderFilter() + { + $str = ""; + + + return($str); + } + } ?> diff --git a/gosa-plugins/groupware/personal/groupware/class_filterManager.inc b/gosa-plugins/groupware/personal/groupware/class_filterManager.inc index 432767c09..e3502e367 100644 --- a/gosa-plugins/groupware/personal/groupware/class_filterManager.inc +++ b/gosa-plugins/groupware/personal/groupware/class_filterManager.inc @@ -4,6 +4,7 @@ class filterManager extends plugin{ var $filterListing = NULL; var $filterRules = array(); + var $filterEditor = NULL; function __construct($config,$parent,$rules) { diff --git a/gosa-plugins/groupware/personal/groupware/filterEditor.tpl b/gosa-plugins/groupware/personal/groupware/filterEditor.tpl index fc6d02d6c..c1ad83a6a 100644 --- a/gosa-plugins/groupware/personal/groupware/filterEditor.tpl +++ b/gosa-plugins/groupware/personal/groupware/filterEditor.tpl @@ -1,5 +1,7 @@ +

{t}Filter editor{/t}

-asdf + +{$filterStr}