diff --git a/plugins/admin/systems/class_terminalInfo.inc b/plugins/admin/systems/class_terminalInfo.inc
index 0c3060534fd4851c8ddee32e7a3b7d47bfb04996..90278c532dc27eda3f0fdf9fc664e0812ce96c3e 100644 (file)
class terminfo extends plugin
{
class terminfo extends plugin
{
- /* CLI vars */
- var $cli_summary= "Retrieve informations about terminals";
- var $cli_description= "Some longer text\nfor help";
- var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
/* Generic terminal attributes */
var $ghCpuType= "-";
var $ghMemSize= "-";
/* Generic terminal attributes */
var $ghCpuType= "-";
var $ghMemSize= "-";
"ghGfxAdapter", "ghSoundAdapter", "gotoLastUser");
var $objectclasses= array("GOhard");
"ghGfxAdapter", "ghSoundAdapter", "gotoLastUser");
var $objectclasses= array("GOhard");
- function terminfo ($config, $dn= NULL)
+ function terminfo ($config, $dn= NULL, $parent= NULL)
{
{
- plugin::plugin ($config, $dn);
+ plugin::plugin ($config, $dn, $parent);
/* Read arrays */
foreach (array("ghNetNic", "ghIdeDev", "ghScsiDev") as $val){
/* Read arrays */
foreach (array("ghNetNic", "ghIdeDev", "ghScsiDev") as $val){
{
/* Call parent execute */
plugin::execute();
{
/* Call parent execute */
plugin::execute();
- return;
/* Do we represent a valid terminal? */
if (!$this->is_account && $this->parent == NULL){
/* Do we represent a valid terminal? */
if (!$this->is_account && $this->parent == NULL){
}
}
-
/* Save to LDAP */
function save()
{
/* Save to LDAP */
function save()
{