[Typo3-dev] a wrap for the edit panel

Martin Kutschker martin.kutschker at no5pam.blackbox.net
Tue Apr 12 12:31:36 CEST 2005


Hi!

Due to specif HTML-odditied (tables!) it may be necessary to wrap the edit 
panel.

This modification at the very end of tslib_cObj->editPanel() adds an inner 
(just the panel) and an outer (include the line) wrap to the edit pane:.

if ($conf['innerWrap']) $panel = $this->wrap($panel,$conf['innerWrap']);
           // add black line:
$panel.=$blackLine;
if ($conf['outerWrap']) $panel = $this->wrap($panel,$conf['outerWrap']);
$finalOut = $content.$panel;

As single wrap around the panel AND the line may be sufficient, but two 
wraps are more flexible. Of course one might wish for a stdWrap ;-)

Masi

PS: May be delivered as diff






More information about the TYPO3-dev mailing list