mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-10 01:36:09 +01:00
[TASK] Readd code
This commit is contained in:
parent
9efea60059
commit
9e153cf85f
1 changed files with 17 additions and 17 deletions
|
@ -174,21 +174,21 @@ class FrontendEditPanel
|
|||
</div>
|
||||
</form>';
|
||||
|
||||
// // Wrap the panel
|
||||
// if ($conf['innerWrap']) {
|
||||
// $panel = $this->cObj->wrap($panel, $conf['innerWrap']);
|
||||
// }
|
||||
// if ($conf['innerWrap.']) {
|
||||
// $panel = $this->cObj->stdWrap($panel, $conf['innerWrap.']);
|
||||
// }
|
||||
//
|
||||
// // Wrap the complete panel
|
||||
// if ($conf['outerWrap']) {
|
||||
// $panel = $this->cObj->wrap($panel, $conf['outerWrap']);
|
||||
// }
|
||||
// if ($conf['outerWrap.']) {
|
||||
// $panel = $this->cObj->stdWrap($panel, $conf['outerWrap.']);
|
||||
// }
|
||||
// Wrap the panel
|
||||
if ($conf['innerWrap']) {
|
||||
$panel = $this->cObj->wrap($panel, $conf['innerWrap']);
|
||||
}
|
||||
if ($conf['innerWrap.']) {
|
||||
$panel = $this->cObj->stdWrap($panel, $conf['innerWrap.']);
|
||||
}
|
||||
|
||||
// Wrap the complete panel
|
||||
if ($conf['outerWrap']) {
|
||||
$panel = $this->cObj->wrap($panel, $conf['outerWrap']);
|
||||
}
|
||||
if ($conf['outerWrap.']) {
|
||||
$panel = $this->cObj->stdWrap($panel, $conf['outerWrap.']);
|
||||
}
|
||||
if ($conf['printBeforeContent'] ?? false) {
|
||||
$finalOut = $panel . $content;
|
||||
} else {
|
||||
|
@ -196,8 +196,8 @@ class FrontendEditPanel
|
|||
}
|
||||
|
||||
$hidden = $this->isDisabled($table, $dataArr) ? ' typo3-feedit-element-hidden' : '';
|
||||
// $outerWrapConfig = $conf['stdWrap.'] ?? ['wrap' => '<div class="typo3-feedit-element' . $hidden . '">|</div>'];
|
||||
// $finalOut = $this->cObj->stdWrap($finalOut, $outerWrapConfig);
|
||||
$outerWrapConfig = $conf['stdWrap.'] ?? ['wrap' => '<div class="typo3-feedit-element' . $hidden . '">|</div>'];
|
||||
$finalOut = $this->cObj->stdWrap($finalOut, $outerWrapConfig);
|
||||
|
||||
return $finalOut;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue