summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 455312b)
raw | patch | inline | side by side (parent: 455312b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 10:55:45 +0000 (10:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 10:55:45 +0000 (10:55 +0000) |
-comes from plProperties now
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18198 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18198 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index f9eadb3ffebf7bae6291c50a42754b77bdfa3020..d64658b9f7c5a1960b7ac8bba423ab42699eca20 100644 (file)
}
$this->fai_base = get_ou("faiBaseRDN").$this->config->current['BASE'];
- $cfg_rel = $this->config->search("faiManagement","DEFAULTFAIRELEASE",array("menu"));
+ $cfg_rel = $this->config->get_cfg_value("faiManagement","defaultFaiRelease");
+
if(!empty($cfg_rel)){
$this->fai_release = $cfg_rel;
}else{
$this->registerAction("PerformBranch","PerformBranch");
$releases = $this->getReleaseStates($this->config,$this->fai_base);
- $this->releaseSelector = new releaseSelector($releases, $this->fai_release, $this->fai_release);
+ $this->releaseSelector = new releaseSelector($releases, $this->fai_release, $this->fai_base);
parent::__construct($config, $ui, "FAI object", $headpage);
}
static function plInfo()
{
- return (array(
- "plShortName" => _("FAI releases"),
- "plDescription" => _("FAI release management"),
- "plSelfModify" => FALSE,
- "plDepends" => array(),
- "plPriority" => 0,
- "plSection" => array("administration"),
- "plCategory" => array("fai"=> array("description" => _("FAI"),
- "objectClass" => "FAIclass")),
+ return (array(
+ "plShortName" => _("FAI releases"),
+ "plDescription" => _("FAI release management"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array(),
+ "plPriority" => 0,
+ "plSection" => array("administration"),
+
+ "plProperties" =>
+ array(
+ array(
+ "name" => "defaultFaiRelease",
+ "type" => "dn",
+ "default" => "",
+ "description" => _("The property sets the default release which gets selected in the fai management."),
+ "check" => "gosaProperty::isDn",
+ "migrate" => "",
+ "group" => "fai",
+ "mandatory" => FALSE)),
+
+ "plCategory" => array("fai"=> array("description" => _("FAI"),"objectClass" => "FAIclass")),
"plProvidedAcls"=> array()));
}
}