Project

General

Profile

Bug #17062 » 0005105.patch

Administrator Admin, 2007-03-08 20:17

View differences:

typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (Arbeitskopie)
if ($this->TCEform->inline->inlineNames['object']) {
$tceformsInlineObject = $this->TCEform->inline->inlineNames['object'].'['.$table.']['.$uid.']_fields';
}
$registerRTEinJSString = (!is_object($TSFE) ? '' : '
' . '/*<![CDATA[*/') . '
RTEarea['.$number.'] = new Object();
......
RTEarea['.$number.']["useHTTPS"] = ' . ((trim(stristr($this->siteURL, 'https')) || $this->thisConfig['forceHTTPS'])?'true':'false') . ';
RTEarea['.$number.']["enableMozillaExtension"] = ' . (($this->client['BROWSER'] == 'gecko' && $TYPO3_CONF_VARS['EXTCONF'][$this->ID]['enableMozillaExtension'])?'true':'false') . ';
RTEarea['.$number.']["tceformsInlineObject"] = "' . $tceformsInlineObject . '";
RTEarea['.$number.']["tceformsDynTabs"] = "' . $this->TCEform->getDynTabLevelState('-DIV') . '";';
RTEarea['.$number.']["tceformsDynTabs"] = "' . (is_object($this->TCEform) && method_exists($this->TCEform, 'getDynTabLevelState') ? $this->TCEform->getDynTabLevelState('-DIV') : '') . '";';
// The following properties apply only to the backend
if (!is_object($TSFE)) {
$registerRTEinJSString .= '
(1-1/2)