mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
DirectorObjectForm: no elements for unknown vars
This commit is contained in:
parent
d606f00e9a
commit
6ea94dd7a2
@ -348,9 +348,8 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO Define whether admins are allowed to set those
|
||||||
|
/*
|
||||||
|
|
||||||
// Additional vars
|
// Additional vars
|
||||||
foreach ($vars as $key => $value) {
|
foreach ($vars as $key => $value) {
|
||||||
// Did we already create a field for this var? Then skip it:
|
// Did we already create a field for this var? Then skip it:
|
||||||
@ -374,6 +373,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (/* TODO: add free var */false && $object->isTemplate()) {
|
if (/* TODO: add free var */false && $object->isTemplate()) {
|
||||||
$this->addElement('text', '_newvar_name', array(
|
$this->addElement('text', '_newvar_name', array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user