diff --git a/extension/Source/core/Constants.php b/extension/Source/core/Constants.php index e0b9e9d7ba68149e08c6c3907dd95eb32dfa698f..870bb398f0ab0ea5be8ca96786939cd3413cd765 100644 --- a/extension/Source/core/Constants.php +++ b/extension/Source/core/Constants.php @@ -853,6 +853,7 @@ const F_REQUIRED_PARAMETER_EDIT = 'requiredParameterEdit'; const F_EXTRA_DELETE_FORM = 'extraDeleteForm'; const F_FINAL_DELETE_FORM = 'finalDeleteForm'; const F_DIRTY_MODE = 'dirtyMode'; +const F_NOTE_INTERNAL = 'noteInternal'; const F_SUBMIT_BUTTON_TEXT = 'submitButtonText'; const F_BUTTON_ON_CHANGE_CLASS = 'buttonOnChangeClass'; @@ -994,6 +995,7 @@ const FE_SUBRECORD_OPTION = 'subrecordOption'; const FE_SQL1 = 'sql1'; const FE_PLACEHOLDER = 'placeholder'; const FE_DATA_REFERENCE = 'dataReference'; +const FE_ADMIN_NOTE = 'adminNote'; // FormElement columns: via parameter field const FE_DATE_FORMAT = 'dateFormat'; // value: FORMAT_DATE_INTERNATIONAL | FORMAT_DATE_GERMAN diff --git a/extension/Source/core/QuickFormQuery.php b/extension/Source/core/QuickFormQuery.php index 4e2b252e778054817b44f7aa2ebc9131ba6fd751..d1f03d590266cf0336312c34a6ff4e69953ad146 100644 --- a/extension/Source/core/QuickFormQuery.php +++ b/extension/Source/core/QuickFormQuery.php @@ -1159,6 +1159,8 @@ class QuickFormQuery { break; } + unset($form[F_NOTE_INTERNAL]); + if (isset($form[F_ESCAPE_TYPE_DEFAULT]) && $form[F_ESCAPE_TYPE_DEFAULT] == TOKEN_ESCAPE_CONFIG) { $form[F_ESCAPE_TYPE_DEFAULT] = $this->store->getVar(SYSTEM_ESCAPE_TYPE_DEFAULT, STORE_SYSTEM); } diff --git a/extension/Source/core/helper/HelperFormElement.php b/extension/Source/core/helper/HelperFormElement.php index c0da9d8926d6cb69c2bcb2e628978e88eeacdd75..58a15269ef489baf0049a709fe7d87b871460f8f 100644 --- a/extension/Source/core/helper/HelperFormElement.php +++ b/extension/Source/core/helper/HelperFormElement.php @@ -51,7 +51,9 @@ class HelperFormElement { public static function formElementSetDefault(array $elements) { foreach ($elements AS $key => $element) { $elements[$key][FE_TG_INDEX] = 0; + unset($elements[$key][FE_ADMIN_NOTE]); // $elements[$key][FE_DATA_REFERENCE] = ''; + } return $elements;