From 3ac7193c04038310ad0578cf043a8555d6586dfc Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 19 Aug 2008 13:46:30 +0000 Subject: [PATCH] Updated Opsi. -Added opsi template git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12247 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../opsi/admin/opsi/class_opsi_generic.inc | 5 ++++ gosa-plugins/opsi/admin/opsi/generic.tpl | 30 +++++++++++++++++++ gosa-plugins/opsi/admin/opsi/opsi_tabs.inc | 1 - 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 gosa-plugins/opsi/admin/opsi/generic.tpl diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc b/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc index 7f0da6858..494df31c9 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi_generic.inc @@ -3,6 +3,11 @@ class opsi_generic extends plugin { + public function execute() + { + $smarty = get_smarty(); + return($smarty->fetch(get_template_path("generic.tpl",TRUE,dirname(__FILE__)))); + } } diff --git a/gosa-plugins/opsi/admin/opsi/generic.tpl b/gosa-plugins/opsi/admin/opsi/generic.tpl new file mode 100644 index 000000000..4f432ce62 --- /dev/null +++ b/gosa-plugins/opsi/admin/opsi/generic.tpl @@ -0,0 +1,30 @@ + +

Opsi host

+ + + + + + + + + + +
+ + + + + +
{t}Boot product{/t} + +
+
+

Installed products

+ +
<

Available products

+ +
diff --git a/gosa-plugins/opsi/admin/opsi/opsi_tabs.inc b/gosa-plugins/opsi/admin/opsi/opsi_tabs.inc index 23145e44e..fc013d7a7 100644 --- a/gosa-plugins/opsi/admin/opsi/opsi_tabs.inc +++ b/gosa-plugins/opsi/admin/opsi/opsi_tabs.inc @@ -2,7 +2,6 @@ class opsi_tabs extends tabs { - } -- 2.30.2