summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2277b9)
raw | patch | inline | side by side (parent: e2277b9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Aug 2008 12:53:48 +0000 (12:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 28 Aug 2008 12:53:48 +0000 (12:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12297 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc
index 0082123cd81552ac5f2425c84cd8e3d6ac04d7f5..a60ce9085464a6a735a91787dbcceec0a2f2e345 100644 (file)
$this->target = "00:01:6c:9d:b9:fa";
}
+
+ public function enabled()
+ {
+ return(TRUE);
+ }
/******************
Opsi handling
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc b/gosa-plugins/opsi/admin/opsi/class_opsi_product_config.inc
index 5a949bbe2d358a596fc598c8c7586b09371068f3..5ff41aa5a8e316889cb237afbf0b3769df1639b6 100644 (file)
<?php
-class opsi_product_config extends plugin
+class opsiProductConfig extends plugin
{
private $product;
private $cfg;
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc
index e7784775b5eb2c15c9a3af1a81b3bbb061a29313..759be98aed10ce853a14a25c83cc885f4c20d574 100644 (file)
if(isset($_POST['cancel_properties']) && is_object($this->dialog)){
$this->dialog = NULL;
}
- if(isset($_POST['save_properties']) && ($this->dialog instanceof opsi_product_config)){
+ if(isset($_POST['save_properties']) && ($this->dialog instanceof opsiProductConfig)){
$this->dialog->save_object();
$pro = $this->dialog->get_product();
$CFG = $this->dialog->get_cfg();
}
if(preg_match("/^edit_lp_/",$name)){
$product = preg_replace("/^edit_lp_(.*)_.$/","\\1",$name);
- $this->dialog = new opsi_product_config($this->config,
+ $this->dialog = new opsiProductConfig($this->config,
$product,$this->a_selectedLocalProducts[$product]['CFG'],$this->hostId);
break;
}