Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
b14087ac
Commit
b14087ac
authored
Feb 21, 2017
by
Carsten Rose
Browse files
FE_DYNAMIC_UPDATE: replaced explicit string against constant.
parent
b86499de
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/AbstractBuildForm.php
View file @
b14087ac
...
...
@@ -2343,17 +2343,6 @@ abstract class AbstractBuildForm {
// save parent processed FE's
$tmpStore
=
$this
->
feSpecNative
;
// $attribute .= Support::doAttribute('name', $htmlFormElementId);
// $attribute .= Support::doAttribute('data-load', ($formElement[FE_DYNAMIC_UPDATE] === 'yes') ? 'data-load' : '');
// <fieldset>
// $html = '<fieldset ' . $attribute . '>';
// if ($formElement[FE_LABEL] !== '') {
// $html .= '<legend>' . $formElement[FE_LABEL] . '</legend>';
// }
$qfqFieldsName
=
'qfq_fields_'
.
$formElement
[
FE_ID
];
// ='qfq-fields'
$templateName
=
'template_'
.
$formElement
[
FE_ID
];
// ='template'
$targetName
=
'target_'
.
$formElement
[
FE_ID
];
// ='template'
...
...
extension/qfq/qfq/Constants.php
View file @
b14087ac
...
...
@@ -59,6 +59,7 @@ const SANITIZE_ALLOW_MIN_MAX = "min|max";
const
SANITIZE_ALLOW_MIN_MAX_DATE
=
"min|max date"
;
const
SANITIZE_ALLOW_PATTERN
=
"pattern"
;
const
SANITIZE_ALLOW_ALLBUT
=
"allbut"
;
const
SANITIZE_ALLOW_ALLBUT
=
"allbut"
;
const
SANITIZE_ALLOW_ALL
=
"all"
;
const
SANITIZE_DEFAULT
=
SANITIZE_ALLOW_DIGIT
;
...
...
@@ -504,7 +505,6 @@ const FE_NAME = 'name';
const
FE_TYPE
=
'type'
;
const
FE_MODE
=
'mode'
;
const
FE_MODE_SQL
=
'modeSql'
;
// TODO: Konstante FE_DYNAMIC_UPDATE ueberall einsetzen
const
FE_DYNAMIC_UPDATE
=
'dynamicUpdate'
;
const
FE_VALUE
=
'value'
;
const
FE_CLASS
=
'class'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment