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
d68dc679
Commit
d68dc679
authored
Mar 21, 2016
by
Carsten Rose
Browse files
QuickFormQuery: BodyTextparser implemented
parent
9679bf99
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/QuickFormQuery.php
View file @
d68dc679
...
...
@@ -38,6 +38,7 @@ require_once(__DIR__ . '/../qfq/BuildFormPlain.php');
require_once
(
__DIR__
.
'/../qfq/BuildFormTable.php'
);
require_once
(
__DIR__
.
'/../qfq/BuildFormBootstrap.php'
);
require_once
(
__DIR__
.
'/../qfq/report/Report.php'
);
require_once
(
__DIR__
.
'/../qfq/BodytextParser.php'
);
/*
* Form will be called
...
...
@@ -124,6 +125,9 @@ class QuickFormQuery {
if
(
!
isset
(
$t3data
[
'uid'
]))
$t3data
[
'uid'
]
=
0
;
$btp
=
new
BodytextParser
();
$t3data
[
'bodytext'
]
=
$btp
->
process
(
$t3data
[
'bodytext'
]);
$this
->
t3data
=
$t3data
;
$bodytext
=
$this
->
t3data
[
'bodytext'
];
...
...
@@ -155,6 +159,10 @@ class QuickFormQuery {
$html
=
$this
->
doForm
();
$html
.
=
$this
->
doReport
();
$class
=
$this
->
store
->
getVar
(
SYSTEM_CSS_CLASS_QFQ_CONTAINER
,
STORE_SYSTEM
);
if
(
$class
)
$html
=
Support
::
wrapTag
(
"<div class='
$class
'>"
,
$html
);
return
$html
;
}
...
...
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