Code

Updated DAK classes.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Jun 2008 08:51:16 +0000 (08:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Jun 2008 08:51:16 +0000 (08:51 +0000)
-Added ACL infos.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11363 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 8c7500391121279eb3fed3afbd94ef5fc5295912..085bad7addc59bf107cc58529fcb7eea11b2fad2 100644 (file)
@@ -75,7 +75,6 @@ class DAK
   {
     $o_queue  = new gosaSupportDaemon();
     $data     = $o_queue->DAK_keyring_entries($server);
-    print_a($data);
     if($o_queue->is_error()){
       msg_dialog::display(_("Error"), $o_queue->get_error(), ERROR_DIALOG);
     }
index c7506c100f1b2c829abab0c6d808abbf0f1c6513..89956be6abdec8741574f3088ac64a912e197353 100644 (file)
@@ -249,6 +249,25 @@ class dak_keyring extends plugin
     $mac = $this->Servers[$this->selected_Server]['MAC'];
     return(DAK::import_key($mac,$key));
   }
+
+
+  /*! \brief  ACL plugin information  
+   */
+  static function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("DAK keyring")."&nbsp;("._("Addon").")",
+          "plDescription" => _("DAK keyring management")."&nbsp;("._("Addon").")",
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 98,
+          "plSection"       => array("addon"),
+          "plCategory"      => array("server"),
+          "plProvidedAcls"  => 
+              array(
+                   ) 
+          ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index ff4a55fda650e444e302db6846a59de0ebca5447..3b23e0bcff25610fc9277cbe8927b957ea867179 100644 (file)
@@ -48,6 +48,24 @@ class dak_queue extends plugin
       }
     }
   }
+
+  /*! \brief  ACL plugin information
+   */
+  static function plInfo()
+  {
+    return (array(
+          "plShortName"   => _("DAK queue")."&nbsp;("._("Addon").")",
+          "plDescription" => _("DAK queue management")."&nbsp;("._("Addon").")",
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 98,
+          "plSection"       => array("addon"),
+          "plCategory"      => array("server"),
+          "plProvidedAcls"  =>
+              array(
+                   )
+          ));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>
index 614fff3c659ade1d8a3f846a9b7d53b8c1176a5c..cad356b8f37e2d75ed93bd3c1a86db06d8998b53 100644 (file)
@@ -30,21 +30,26 @@ class dak_repository extends plugin
   public function execute()
   {
     $smarty= get_smarty();
-    return($smarty->fetch (get_template_path('dak_queue.tpl', TRUE, dirname(__FILE__))));
+    return($smarty->fetch (get_template_path('dak_repository.tpl', TRUE, dirname(__FILE__))));
   }
 
 
+
+  /*! \brief  ACL plugin information  
+   */
   static function plInfo()
   {
     return (array(
-          "plShortName"   => _("Repository"),
-          "plDescription" => _("DAK repository"),
+          "plShortName"   => _("DAK repository")."&nbsp;("._("Addon").")",
+          "plDescription" => _("DAK repository  management")."&nbsp;("._("Addon").")",
           "plSelfModify"  => FALSE,
           "plDepends"     => array(),
-          "plPriority"    => 0,
+          "plPriority"    => 98,
           "plSection"       => array("addon"),
-          "plCategory"      => array("dak"       => array("objectClass" => "none", "description" => _("DAK"))),
-          "plProvidedAcls"  => array("Comment"   => _("Description")) 
+          "plCategory"      => array("server"),
+          "plProvidedAcls"  => 
+              array(
+                   ) 
           ));
   }
 }