summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e30690e)
raw | patch | inline | side by side (parent: e30690e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 29 Jun 2010 13:36:10 +0000 (13:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 29 Jun 2010 13:36:10 +0000 (13:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18867 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/dashBoard/class_dashBoard.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/generic/dashBoard/main.inc | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/generic/dashBoard/welcome.tpl | [new file with mode: 0644] | patch | blob |
gosa-core/plugins/generic/welcome/class_welcome.inc | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+class dashBoard extends plugin
+{
+ var $plHeadline = 'dashBoard.png';
+ var $plDescription = 'dashBoard.png';
+ var $plShortIcon = 'dashBoard.png';
+ var $plIcon = 'dashBoard.png';
+
+}
+
+?>
diff --git a/gosa-core/plugins/generic/dashBoard/main.inc b/gosa-core/plugins/generic/dashBoard/main.inc
--- /dev/null
@@ -0,0 +1,32 @@
+<?php
+/*
+ * This code is part of GOsa (http://www.gosa-project.org)
+ * Copyright (C) 2003-2008 GONICUS GmbH
+ *
+ * ID: $$Id: main.inc 13287 2008-12-12 14:36:42Z 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
+ */
+
+if (!$cleanup){
+ session::set('plugin_dir',dirname(__FILE__));
+ $smarty->assign("iconmenu", $plist->show_iconmenu());
+ $smarty->assign("header", print_header(get_template_path('images/welcome.png'), sprintf(_("Welcome %s!"), $ui->cn)));
+ $smarty->assign("year", date("Y"));
+ $smarty->assign("revision", get_gosa_version());
+ $display= $smarty->fetch(get_template_path('welcome.tpl', TRUE));
+}
+
+?>
diff --git a/gosa-core/plugins/generic/dashBoard/welcome.tpl b/gosa-core/plugins/generic/dashBoard/welcome.tpl
--- /dev/null
@@ -0,0 +1,9 @@
+
+ <div class='icon-menu-container'>
+ {$iconmenu}
+ </div>
+
+ <div class="clear"></div>
+ <hr>
+ <div class="copynotice">© 2002-{$year} <a href="http://gosa.gonicus.de">{t}The GOsa team{/t}, {$revision}</a></div>
+ <input type="hidden" name="ignore">
diff --git a/gosa-core/plugins/generic/welcome/class_welcome.inc b/gosa-core/plugins/generic/welcome/class_welcome.inc
--- /dev/null
@@ -0,0 +1,12 @@
+<?php
+
+class welcome extends plugin
+{
+ var $plHeadline = 'home.png';
+ var $plDescription = 'home.png';
+ var $plShortIcon = 'home.png';
+ var $plIcon = 'home.png';
+
+}
+
+?>