Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
7c66b42d
Commit
7c66b42d
authored
Mar 05, 2017
by
Carsten Rose
Browse files
Add some comments.
parent
98d3989b
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/BuildFormBootstrap.php
View file @
7c66b42d
...
...
@@ -416,6 +416,7 @@ EOF;
$html
=
''
;
$htmlLabel
=
''
;
// Label
if
(
$formElement
[
FE_BS_LABEL_COLUMNS
]
>
0
)
{
$htmlLabel
=
$this
->
buildLabel
(
$htmlFormElementName
,
$formElement
[
FE_LABEL
]);
}
...
...
@@ -423,9 +424,11 @@ EOF;
$html
.
=
$this
->
customWrap
(
$formElement
,
$htmlLabel
,
FE_WRAP_LABEL
,
$formElement
[
FE_BS_LABEL_COLUMNS
],
[
$this
->
wrap
[
WRAP_SETUP_LABEL
][
WRAP_SETUP_START
],
$this
->
wrap
[
WRAP_SETUP_LABEL
][
WRAP_SETUP_END
]],
$formElement
[
FE_HTML_ID
]
.
HTML_ID_EXTENSION_LABEL
);
// Input
$html
.
=
$this
->
customWrap
(
$formElement
,
$htmlElement
,
FE_WRAP_INPUT
,
$formElement
[
FE_BS_INPUT_COLUMNS
],
[
$this
->
wrap
[
WRAP_SETUP_INPUT
][
WRAP_SETUP_START
],
$this
->
wrap
[
WRAP_SETUP_INPUT
][
WRAP_SETUP_END
]],
$formElement
[
FE_HTML_ID
]
.
HTML_ID_EXTENSION_INPUT
);
// Note
$note
=
Support
::
wrapTag
(
"<div class='qfq-note'>"
,
$formElement
[
FE_NOTE
],
true
);
$html
.
=
$this
->
customWrap
(
$formElement
,
$note
,
FE_WRAP_NOTE
,
$formElement
[
FE_BS_NOTE_COLUMNS
],
[
$this
->
wrap
[
WRAP_SETUP_NOTE
][
WRAP_SETUP_START
],
$this
->
wrap
[
WRAP_SETUP_NOTE
][
WRAP_SETUP_END
]],
$formElement
[
FE_HTML_ID
]
.
HTML_ID_EXTENSION_NOTE
);
...
...
Write
Preview
Markdown
is supported
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