summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b66871)
raw | patch | inline | side by side (parent: 8b66871)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 May 2008 08:13:57 +0000 (08:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 May 2008 08:13:57 +0000 (08:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10976 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/addons/dak/class_dak_keyring.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/addons/dak/class_dak_queue.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/addons/dak/class_dak_repository.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/addons/dak/main.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/addons/dak/tabs_dak.inc | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-core/plugins/addons/dak/class_dak_keyring.inc b/gosa-core/plugins/addons/dak/class_dak_keyring.inc
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+/*
+ * This code is part of GOsa (http://www.gosa-project.org)
+ * Copyright (C) 2003-2008 GONICUS GmbH
+ *
+ * ID: $$Id: class_gotomasses.inc 10967 2008-05-20 13:18:12Z hickert $$
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+class dak_keyring extends plugin
+{
+ public function __construct()
+ {
+
+ }
+
+ public function execute()
+ {
+ return("-");
+ }
+}
+// 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
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+/*
+ * This code is part of GOsa (http://www.gosa-project.org)
+ * Copyright (C) 2003-2008 GONICUS GmbH
+ *
+ * ID: $$Id: class_gotomasses.inc 10967 2008-05-20 13:18:12Z hickert $$
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+class dak_queue extends plugin
+{
+ public function __construct()
+ {
+
+ }
+
+ public function execute()
+ {
+ return("-");
+ }
+}
+// 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
--- /dev/null
@@ -0,0 +1,51 @@
+<?php
+/*
+ * This code is part of GOsa (http://www.gosa-project.org)
+ * Copyright (C) 2003-2008 GONICUS GmbH
+ *
+ * ID: $$Id: class_gotomasses.inc 10967 2008-05-20 13:18:12Z hickert $$
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+class dak_repository extends plugin
+{
+ public function __construct()
+ {
+
+ }
+
+ public function execute()
+ {
+ return("-");
+ }
+
+
+ static function plInfo()
+ {
+ return (array(
+ "plShortName" => _("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
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+/*
+ This code is part of GOsa (https://gosa.gonicus.de)
+ Copyright (C) 2003 Cajus Pollmeier
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+if (!$remove_lock){
+ if (!session::is_set('dak_tabs') || (isset($_GET['reset']) && $_GET['reset'] == 1)){
+ session::set('dak_tabs',new dak_tabs($config, $config->data['TABS']['DAK_TABS'],""));
+ }
+ $dak_tabs = session::get('dak_tabs');
+
+ /* Execute formular */
+# $display= $dak_tabs->save_object();
+ $display= $dak_tabs->execute ();
+ $display.= "<input type=\"hidden\" name=\"ignore\">\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
--- /dev/null
@@ -0,0 +1,11 @@
+<?php
+
+class dak_tabs extends tabs
+{
+ var $plHeadline = "DAK";
+ var $plDescription= "This does something";
+
+}
+
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
+?>