From 41daaa9aa3d2f29238d0a116368069a51f38fc7a Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 Jun 2010 13:36:10 +0000 Subject: [PATCH] Updated welcome and dashBoard plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18867 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../generic/dashBoard/class_dashBoard.inc | 12 +++++++ gosa-core/plugins/generic/dashBoard/main.inc | 32 +++++++++++++++++++ .../plugins/generic/dashBoard/welcome.tpl | 9 ++++++ .../plugins/generic/welcome/class_welcome.inc | 12 +++++++ 4 files changed, 65 insertions(+) create mode 100644 gosa-core/plugins/generic/dashBoard/class_dashBoard.inc create mode 100644 gosa-core/plugins/generic/dashBoard/main.inc create mode 100644 gosa-core/plugins/generic/dashBoard/welcome.tpl create mode 100644 gosa-core/plugins/generic/welcome/class_welcome.inc diff --git a/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc new file mode 100644 index 000000000..5e75d52bb --- /dev/null +++ b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc @@ -0,0 +1,12 @@ + diff --git a/gosa-core/plugins/generic/dashBoard/main.inc b/gosa-core/plugins/generic/dashBoard/main.inc new file mode 100644 index 000000000..f738eb671 --- /dev/null +++ b/gosa-core/plugins/generic/dashBoard/main.inc @@ -0,0 +1,32 @@ +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 new file mode 100644 index 000000000..253298fa0 --- /dev/null +++ b/gosa-core/plugins/generic/dashBoard/welcome.tpl @@ -0,0 +1,9 @@ + +
+ {$iconmenu} +
+ +
+
+
© 2002-{$year} {t}The GOsa team{/t}, {$revision}
+ diff --git a/gosa-core/plugins/generic/welcome/class_welcome.inc b/gosa-core/plugins/generic/welcome/class_welcome.inc new file mode 100644 index 000000000..370ad8a4d --- /dev/null +++ b/gosa-core/plugins/generic/welcome/class_welcome.inc @@ -0,0 +1,12 @@ + -- 2.30.2