summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb9ed67)
raw | patch | inline | side by side (parent: fb9ed67)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 10:49:55 +0000 (10:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Oct 2005 10:49:55 +0000 (10:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1535 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPackageConfiguration.inc | [new file with mode: 0644] | patch | blob |
plugins/admin/fai/faiPackageConfiguration.tpl | [new file with mode: 0644] | patch | blob |
diff --git a/plugins/admin/fai/class_faiPackageConfiguration.inc b/plugins/admin/fai/class_faiPackageConfiguration.inc
--- /dev/null
@@ -0,0 +1,49 @@
+<?php
+
+class faiPackageConfiguration extends plugin
+{
+ /* CLI vars */
+ var $cli_summary = "Manage server basic objects";
+ var $cli_description = "Some longer text\nfor help";
+ var $cli_parameters = array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
+
+ /* attribute list for save action */
+ var $ignore_account = TRUE;
+ var $attributes = array();
+ var $objectclasses = array();
+
+ var $obj;
+
+ function faiPackageConfiguration ($config, $dn= NULL,$obj)
+ {
+ plugin::plugin ($config, $dn);
+ $this->obj = $obj;
+ }
+
+ function execute()
+ {
+ /* Fill templating stuff */
+ $smarty = get_smarty();
+ $display = "";
+ $display.= $smarty->fetch(get_template_path('faiPackageConfiguration.tpl', TRUE));
+ return($display);
+ }
+
+ /* Save data to object */
+ function save_object()
+ {
+ }
+
+ /* Check supplied data */
+ function check()
+ {
+ $message= array();
+ return ($message);
+ }
+
+ function save()
+ {
+ }
+}
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
+?>
diff --git a/plugins/admin/fai/faiPackageConfiguration.tpl b/plugins/admin/fai/faiPackageConfiguration.tpl
--- /dev/null
@@ -0,0 +1,8 @@
+<h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
+
+<div align="right" style="align:right;">
+ <input name="SaveObjectConfig" value="Use" type="submit">
+ <input name="CancelObjectConfig" value="Cancel" type="submit">
+</div>
+<input type="hidden" name="ignore">
+