diff --git a/gosa-plugins/fai/admin/fai/class_faiPackage.inc b/gosa-plugins/fai/admin/fai/class_faiPackage.inc
index 61956588384273aeb044117613a5ab8d6c502af7..703f197cbf68a50531adedcc830c9d7f017882bf 100644 (file)
$tmp['Type'] = $attr['FAIvariableType'][0];
if (isset($attr['FAIvariableContent'][0])){
- if(!in_array($attr['FAIvariableType'],array("multiselect"))){
+ if(!in_array_strict($attr['FAIvariableType'],array("multiselect"))){
$tmp['Value'] = $attr['FAIvariableContent'][0];
}else{
$content = array();
$lData[$usedName] = array('data'=>
array(
$configured." ".$removal,
- $usedName ,$version,set_post($description), $actions));
+ $usedName ,set_post($description), $version, $actions));
}
}
$this->packageList->setAcl($this->getacl("FAIpackage",preg_match('/^freeze/', $this->FAIstate)));
/* Tag object */
$this->tag_attrs($pkgattrs, $pkgdn, $this->gosaUnitTag);
- if(in_array($pkgattrs['FAIvariableType'],array("boolean","multiselect","password","select","string","text"))){
+ if(in_array_strict($pkgattrs['FAIvariableType'],array("boolean","multiselect","password","select","string","text"))){
if($pkgattrs['FAIvariableType'] == "text" && $pkgattrs['FAIvariableContent'] == ""){
gosa_log("Skipped saving FAIvariable '$name' empty string can't be saved.");
"name" => "faiPackageRDN",
"type" => "rdn",
"default" => "ou=packages,",
- "description" => _("The 'faiPackageRDN' statement defines the location where new fai-packages will be created. The default is 'ou=packages,'."),
+ "description" => _("RDN for FAI package storage."),
"check" => "gosaProperty::isRdn",
"migrate" => "migrate_faiPackageRDN",
"group" => "plugin",
"cn" => _("Name"),
"description" => _("Description"),
"FAIpackage" => _("Packages"),
- "FAIdebianSection" => _("Section")." ("._("Readonly").")",
+ "FAIdebianSection" => _("Section")." ("._("Read-only").")",
"FAIinstallMethod" => _("Install Method"),
"FAIdebconfInfo" => _("Package configuration"),
- "FAIdebianRelease" => _("Release")." ("._("Readonly").")")
+ "FAIdebianRelease" => _("Release")." ("._("Read-only").")")
));
}
$tmp['Type'] = $attr['FAIvariableType'][0];
if (isset($attr['FAIvariableContent'][0])){
- if(!in_array($attr['FAIvariableType'],array("multiselect"))){
+ if(!in_array_strict($attr['FAIvariableType'],array("multiselect"))){
$tmp['Value'] = $attr['FAIvariableContent'][0];
}else{
$content = array();