From: hickert Date: Tue, 29 Jun 2010 13:36:10 +0000 (+0000) Subject: Updated welcome and dashBoard plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41daaa9aa3d2f29238d0a116368069a51f38fc7a;p=gosa.git Updated welcome and dashBoard plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18867 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 @@ +