[TASK] Readd code

This commit is contained in:
Georg Ringer 2023-07-14 14:39:38 +02:00
parent 9efea60059
commit 9e153cf85f

View file

@ -174,21 +174,21 @@ class FrontendEditPanel
</div> </div>
</form>'; </form>';
// // Wrap the panel // Wrap the panel
// if ($conf['innerWrap']) { if ($conf['innerWrap']) {
// $panel = $this->cObj->wrap($panel, $conf['innerWrap']); $panel = $this->cObj->wrap($panel, $conf['innerWrap']);
// } }
// if ($conf['innerWrap.']) { if ($conf['innerWrap.']) {
// $panel = $this->cObj->stdWrap($panel, $conf['innerWrap.']); $panel = $this->cObj->stdWrap($panel, $conf['innerWrap.']);
// } }
//
// // Wrap the complete panel // Wrap the complete panel
// if ($conf['outerWrap']) { if ($conf['outerWrap']) {
// $panel = $this->cObj->wrap($panel, $conf['outerWrap']); $panel = $this->cObj->wrap($panel, $conf['outerWrap']);
// } }
// if ($conf['outerWrap.']) { if ($conf['outerWrap.']) {
// $panel = $this->cObj->stdWrap($panel, $conf['outerWrap.']); $panel = $this->cObj->stdWrap($panel, $conf['outerWrap.']);
// } }
if ($conf['printBeforeContent'] ?? false) { if ($conf['printBeforeContent'] ?? false) {
$finalOut = $panel . $content; $finalOut = $panel . $content;
} else { } else {
@ -196,8 +196,8 @@ class FrontendEditPanel
} }
$hidden = $this->isDisabled($table, $dataArr) ? ' typo3-feedit-element-hidden' : ''; $hidden = $this->isDisabled($table, $dataArr) ? ' typo3-feedit-element-hidden' : '';
// $outerWrapConfig = $conf['stdWrap.'] ?? ['wrap' => '<div class="typo3-feedit-element' . $hidden . '">|</div>']; $outerWrapConfig = $conf['stdWrap.'] ?? ['wrap' => '<div class="typo3-feedit-element' . $hidden . '">|</div>'];
// $finalOut = $this->cObj->stdWrap($finalOut, $outerWrapConfig); $finalOut = $this->cObj->stdWrap($finalOut, $outerWrapConfig);
return $finalOut; return $finalOut;
} }