diff --git a/library/Director/Web/Form/DirectorObjectForm.php b/library/Director/Web/Form/DirectorObjectForm.php index 3ca82bad..f9b50647 100644 --- a/library/Director/Web/Form/DirectorObjectForm.php +++ b/library/Director/Web/Form/DirectorObjectForm.php @@ -348,9 +348,8 @@ abstract class DirectorObjectForm extends QuickForm } } - - - + // TODO Define whether admins are allowed to set those + /* // Additional vars foreach ($vars as $key => $value) { // 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()) { $this->addElement('text', '_newvar_name', array(