Project

General

Profile

Feature #16218 » 3633_1.5.4.patch

Administrator Admin, 2007-11-02 15:47

View differences:

rtehtmlarea/class.tx_rtehtmlarea_base.php 2007-11-02 15:41:17.000000000 +0100
$RTEWidth = $RTEWidth + ($pObj->docLarge ? (isset($BE_USER->userTS['options.']['RTELargeWidthIncrement']) ? $BE_USER->userTS['options.']['RTELargeWidthIncrement'] : '150') : 0);
$RTEWidth -= ($inline->getStructureDepth() > 0 ? ($inline->getStructureDepth()+1)*$inline->getLevelMargin() : 0);
$RTEHeight = $RTEHeight + ($pObj->docLarge ? (isset($BE_USER->userTS['options.']['RTELargeHeightIncrement']) ? $BE_USER->userTS['options.']['RTELargeHeightIncrement'] : 0) : 0);
$RTEHeight_override = (intval($this->thisConfig['RTEHeightOverride'])>0)?true:false;
$RTEHeight = ($RTEHeight_override)?intval($this->thisConfig['RTEHeightOverride']):$RTEHeight;
$editorWrapWidth = $RTEWidth . 'px';
$editorWrapHeight = $RTEHeight . 'px';
$this->RTEdivStyle = 'position:relative; left:0px; top:0px; height:' . $RTEHeight . 'px; width:'.$RTEWidth.'px; border: 1px solid black; padding: 2px 0px 2px 2px;';
(4-4/4)