Code

Added tpl hanlding for DAK
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 May 2008 13:50:10 +0000 (13:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 21 May 2008 13:50:10 +0000 (13:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10985 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/addons/dak/class_dak_keyring.inc
gosa-core/plugins/addons/dak/class_dak_queue.inc
gosa-core/plugins/addons/dak/class_dak_repository.inc

index e43e2d22d4c7913811027fe3fa2311b23dc2e569..b867d2f1d24f6a2033e2aee180043d05f13539b4 100644 (file)
@@ -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:
index 39e9501e93c85867cc5778d41ba9aef1afdfd373..8e7f377d5ad7b26c4aec487a8b87dba2914450c1 100644 (file)
@@ -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:
index 3f9818bb8f3231bd708e6f71b3dba13182276647..614fff3c659ade1d8a3f846a9b7d53b8c1176a5c 100644 (file)
@@ -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__))));
   }