Commit d68dc679 authored by Carsten  Rose's avatar Carsten Rose
Browse files

QuickFormQuery: BodyTextparser implemented

parent 9679bf99
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment