Project

General

Profile

Bug #17484 » 0005994_4-1_post.patch

Administrator Admin, 2008-01-06 11:46

View differences:

ChangeLog (Arbeitskopie)
2007-01-06 Oliver Hader <oh@inpublica.de>
* Post-cleanup of bug #5994: IRRE - RTEhtmlarea is not show in child records if parent has no RTE
2007-12-26 Oliver Hader <oh@inpublica.de>
* Fixed bug #6651: IRRE - Button for creating new records disappeared on nested child records if a parent record reached the maxitems value
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (Arbeitskopie)
// Preloading the pageStyle
$filename = trim($this->thisConfig['contentCSS']) ? trim($this->thisConfig['contentCSS']) : 'EXT:' . $this->ID . '/htmlarea/plugins/DynamicCSS/dynamiccss.css';
if ($pObj->RTEcounter == 1) {
$pObj->additionalCode_pre['loadCSS'] = "\n\t\t".'<link rel="alternate stylesheet" type="text/css" href="' . $this->getFullFileName($filename) . '" />';
}
$pObj->additionalCode_pre['loadCSS'] = '
<link rel="alternate stylesheet" type="text/css" href="' . $this->getFullFileName($filename) . '" />';
// Loading the editor skin
$skinFilename = trim($this->thisConfig['skin']) ? trim($this->thisConfig['skin']) : 'EXT:' . $this->ID . '/htmlarea/skins/default/htmlarea.css';
......
}
$this->editorCSS = $skinFilename;
$this->editedContentCSS = $skinDir . '/htmlarea-edited-content.css';
$pObj->additionalCode_pre['loadCSS'] .= '
<link rel="alternate stylesheet" type="text/css" href="' . $this->editedContentCSS . '" />';
if ($pObj->RTEcounter == 1) {
$pObj->additionalCode_pre['loadCSS'] .= "\n\t\t".'<link rel="alternate stylesheet" type="text/css" href="' . $this->editedContentCSS . '" />';
$pObj->additionalCode_pre['loadCSS'] .= "\n\t\t".'<link rel="stylesheet" type="text/css" href="' . $this->editorCSS . '" />';
// Loading JavaScript files and code
$pObj->additionalCode_pre['loadCSS'] .= '
<link rel="stylesheet" type="text/css" href="' . $this->editorCSS . '" />';
// Loading JavaScript files and code
if ($this->TCEform->RTEcounter == 1) {
$pObj->additionalCode_pre['loadJSfiles'] = $this->loadJSfiles($pObj->RTEcounter);
$pObj->additionalJS_pre['loadJScode'] = $this->loadJScode($pObj->RTEcounter);
}
/* =======================================
* DRAW THE EDITOR
* =======================================
(3-3/4)