From 6248314774ca29dd41e421caa75b83aaad60fcab Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 May 2008 08:13:57 +0000 Subject: [PATCH] Added dummy dak classes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10976 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/addons/dak/class_dak_keyring.inc | 36 +++++++++++++ .../plugins/addons/dak/class_dak_queue.inc | 36 +++++++++++++ .../addons/dak/class_dak_repository.inc | 51 +++++++++++++++++++ gosa-core/plugins/addons/dak/main.inc | 37 ++++++++++++++ gosa-core/plugins/addons/dak/tabs_dak.inc | 11 ++++ 5 files changed, 171 insertions(+) create mode 100644 gosa-core/plugins/addons/dak/class_dak_keyring.inc create mode 100644 gosa-core/plugins/addons/dak/class_dak_queue.inc create mode 100644 gosa-core/plugins/addons/dak/class_dak_repository.inc create mode 100644 gosa-core/plugins/addons/dak/main.inc create mode 100644 gosa-core/plugins/addons/dak/tabs_dak.inc diff --git a/gosa-core/plugins/addons/dak/class_dak_keyring.inc b/gosa-core/plugins/addons/dak/class_dak_keyring.inc new file mode 100644 index 000000000..e43e2d22d --- /dev/null +++ b/gosa-core/plugins/addons/dak/class_dak_keyring.inc @@ -0,0 +1,36 @@ + diff --git a/gosa-core/plugins/addons/dak/class_dak_queue.inc b/gosa-core/plugins/addons/dak/class_dak_queue.inc new file mode 100644 index 000000000..39e9501e9 --- /dev/null +++ b/gosa-core/plugins/addons/dak/class_dak_queue.inc @@ -0,0 +1,36 @@ + diff --git a/gosa-core/plugins/addons/dak/class_dak_repository.inc b/gosa-core/plugins/addons/dak/class_dak_repository.inc new file mode 100644 index 000000000..3f9818bb8 --- /dev/null +++ b/gosa-core/plugins/addons/dak/class_dak_repository.inc @@ -0,0 +1,51 @@ + _("Repository"), + "plDescription" => _("DAK repository"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 0, + "plSection" => array("addon"), + "plCategory" => array("dak" => array("objectClass" => "none", "description" => _("DAK"))), + "plProvidedAcls" => array("Comment" => _("Description")) + )); + } +} +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/gosa-core/plugins/addons/dak/main.inc b/gosa-core/plugins/addons/dak/main.inc new file mode 100644 index 000000000..287cd0961 --- /dev/null +++ b/gosa-core/plugins/addons/dak/main.inc @@ -0,0 +1,37 @@ +data['TABS']['DAK_TABS'],"")); + } + $dak_tabs = session::get('dak_tabs'); + + /* Execute formular */ +# $display= $dak_tabs->save_object(); + $display= $dak_tabs->execute (); + $display.= "\n"; + + /* Page header*/ + $display= print_header(get_template_path('images/dak.png'), _("DAK")).$display; + + /* Store changes in session */ + session::set('dak_tabs',$dak_tabs); +} +?> diff --git a/gosa-core/plugins/addons/dak/tabs_dak.inc b/gosa-core/plugins/addons/dak/tabs_dak.inc new file mode 100644 index 000000000..b64676db9 --- /dev/null +++ b/gosa-core/plugins/addons/dak/tabs_dak.inc @@ -0,0 +1,11 @@ + -- 2.30.2