index 3c50c6929c87ad25781b8dd42aaf2a316e319084..a07c24240f40e50219970b4cf2a89e494eb67661 100644 (file)
$this->usedPackages[$pkg]= $pkg;
}
}
- print_a($this->usedPackages);
}
/* Save Configuration */
$smarty->assign("section" ,$strsec);
$smarty->assign("usedPackages",$this->printUsedPackages());
$display.= $smarty->fetch(get_template_path('faiPackage.tpl', TRUE));
- print_a($this->ConfiguredPackages);
return($display);
}
$dsc= "";
if (preg_match('/^-/', $usedName)){
$dsc= " - "._("Package marked for removal");
- $usedName= preg_replace('/^-/', '! ', $usedName);
+ $usedName2= preg_replace('/^-/', '! ', $usedName);
+ }else{
+ $usedName2= $usedName;
}
if(isset($this->list[$usedName][1])){
- $a_ret[$usedName] = $usedName." [".$this->list[$usedName][1]."]".$c_str.$dsc;
+ $a_ret[$usedName] = $usedName2." [".$this->list[$usedName][1]."]".$c_str.$dsc;
}else{
- $a_ret[$usedName] = $usedName.$c_str.$dsc;
+ $a_ret[$usedName] = $usedName2.$c_str.$dsc;
}
}
}
}
}
}
+
+ /* Return plugin informations for acl handling */
+ function plInfo()
+ {
+ return (array(
+ "plDescription" => _("FAI Package list"),
+ "plSelfModify" => FALSE,
+ "plDepends" => array("objectClass" => "FAIclass"),
+ "cn" => _("Name"),
+ "description" => _("Description"),
+ "FAIpackage" => _("Packages"),
+ "FAIdebianSection" => _("Section"),
+ "FAIinstallMethod" => _("Install Method"),
+ "FAIdebianRelease" => _("Release")));
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: