Feature #16218 » 3633_1.5.2.diff
class.tx_rtehtmlarea_base.php 2007-04-10 12:11:34.000000000 +0200 | ||
---|---|---|
$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 = $this->RTEdivStyle ? $this->RTEdivStyle : 'position:relative; left:0px; top:0px; height:' . $RTEHeight . 'px; width:'.$RTEWidth.'px; border: 1px solid black; padding: 2px 0px 2px 2px;';
|
||
$this->RTEdivStyle = ($this->RTEdivStyle&&!$RTEHeight_override) ? $this->RTEdivStyle : 'position:relative; left:0px; top:0px; height:' . $RTEHeight . 'px; width:'.$RTEWidth.'px; border: 1px solid black; padding: 2px 0px 2px 2px;';
|
||
$this->toolbar_level_size = $RTEWidth;
|
||
/* =======================================
|