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
119c1c5b
Commit
119c1c5b
authored
Feb 25, 2016
by
Carsten Rose
Browse files
BuildFormBootstrap: fixed bug with unintialised variable
parent
88093a16
Changes
1
Show whitespace changes
Inline
Side-by-side
extension/qfq/qfq/BuildFormBootstrap.php
View file @
119c1c5b
...
...
@@ -34,7 +34,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
$this
->
isFirstPill
=
true
;
// Set some defaults
if
(
!
isset
(
$this
->
formSpec
[
'class'
]))
{
if
(
!
isset
(
$this
->
formSpec
[
'class'
]))
{
$this
->
formSpec
[
'class'
]
=
'container'
;
}
}
...
...
@@ -155,7 +155,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
if
(
$ii
>
$maxVisiblePill
)
{
$htmlDropdown
=
Support
::
wrapTag
(
'<ul class="dropdown-menu">'
,
$pillDropdown
,
true
);
$htmlDropdown
=
'<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button">more <span class="caret"></span></a>'
.
$htmlDropdown
;
$htmlDropdown
=
Support
::
wrapTag
(
'<li role="presentation" class="dropdown">'
,
$htmlDropdown
,
false
);
$htmlDropdown
=
Support
::
wrapTag
(
'<li role="presentation" class="dropdown">'
,
$htmlDropdown
,
false
);
}
$htmlDropdown
=
Support
::
wrapTag
(
'<ul id="'
.
$this
->
getTabId
()
.
'" class="nav nav-pills" role="tablist">'
,
$pillButton
.
$htmlDropdown
);
...
...
@@ -193,9 +193,8 @@ class BuildFormBootstrap extends AbstractBuildForm {
<button id="form-edit-button" type="button" class="btn btn-default navbar-btn"><span class="glyphicon glyphicon-wrench"></span></button>
</div>
BUTTONS;
if
(
$this
->
store
->
getVar
(
'SHOW_DEBUG_INFO'
,
STORE_SYSTEM
)
===
'yes'
){
$formEditButton
=
$tmp
;
}
$formEditButton
=
(
$this
->
store
->
getVar
(
'SHOW_DEBUG_INFO'
,
STORE_SYSTEM
)
===
'yes'
)
?
$tmp
:
''
;
$html
=
<<<BUTTONS
...
...
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