From: hickert Date: Wed, 21 May 2008 13:50:10 +0000 (+0000) Subject: Added tpl hanlding for DAK X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2c3fe900668b75d279329a4aff566f4773036d3b;p=gosa.git Added tpl hanlding for DAK git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10985 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/addons/dak/class_dak_keyring.inc b/gosa-core/plugins/addons/dak/class_dak_keyring.inc index e43e2d22d..b867d2f1d 100644 --- a/gosa-core/plugins/addons/dak/class_dak_keyring.inc +++ b/gosa-core/plugins/addons/dak/class_dak_keyring.inc @@ -29,7 +29,8 @@ class dak_keyring extends plugin public function execute() { - return("-"); + $smarty= get_smarty(); + return($smarty->fetch (get_template_path('dak_queue.tpl', TRUE, dirname(__FILE__)))); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/gosa-core/plugins/addons/dak/class_dak_queue.inc b/gosa-core/plugins/addons/dak/class_dak_queue.inc index 39e9501e9..8e7f377d5 100644 --- a/gosa-core/plugins/addons/dak/class_dak_queue.inc +++ b/gosa-core/plugins/addons/dak/class_dak_queue.inc @@ -29,7 +29,8 @@ class dak_queue extends plugin public function execute() { - return("-"); + $smarty= get_smarty(); + return($smarty->fetch (get_template_path('dak_queue.tpl', TRUE, dirname(__FILE__)))); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: diff --git a/gosa-core/plugins/addons/dak/class_dak_repository.inc b/gosa-core/plugins/addons/dak/class_dak_repository.inc index 3f9818bb8..614fff3c6 100644 --- a/gosa-core/plugins/addons/dak/class_dak_repository.inc +++ b/gosa-core/plugins/addons/dak/class_dak_repository.inc @@ -29,7 +29,8 @@ class dak_repository extends plugin public function execute() { - return("-"); + $smarty= get_smarty(); + return($smarty->fetch (get_template_path('dak_queue.tpl', TRUE, dirname(__FILE__)))); }