Project

General

Profile

Bug #19490 » rtehtmlarea_bugfix_9613_typo3_4-2.patch

Administrator Admin, 2008-10-22 07:08

View differences:

typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (copie de travail)
* LOAD CSS AND JAVASCRIPT
* =======================================
*/
// Preloading the pageStyle
$GLOBALS['SOBE']->doc->JScodeLibArray['rtehtmlarea-contentCSS'] = $this->getPageStyle();
// Including RTE skin stylesheets
$GLOBALS['SOBE']->doc->JScodeLibArray['rtehtmlarea-skin'] = $this->getSkin();
// Preloading the pageStyle and including RTE skin stylesheets
if (is_object($GLOBALS['TSFE'])) {
// Frontend editing
$GLOBALS['TSFE']->additionalHeaderData['rtehtmlarea-contentCSS'] = $this->getPageStyle();
$GLOBALS['TSFE']->additionalHeaderData['rtehtmlarea-skin'] = $this->getSkin();
} else {
$GLOBALS['SOBE']->doc->additionalHeaderData['rtehtmlarea-contentCSS'] = $this->getPageStyle();
$GLOBALS['SOBE']->doc->additionalHeaderData['rtehtmlarea-skin'] = $this->getSkin();
}
// Loading JavaScript files and code
$this->TCEform->additionalCode_pre['rtehtmlarea-loadJSfiles'] = $this->loadJSfiles($this->TCEform->RTEcounter);
$this->TCEform->additionalJS_pre['rtehtmlarea-loadJScode'] = $this->loadJScode($this->TCEform->RTEcounter);
typo3/template.php (copie de travail)
var $form_rowsToStylewidth = 9.58; // Multiplication factor for formWidth() input size (default is 48* this value).
var $form_largeComp = 1.33; // Compensation for large documents (used in class.t3lib_tceforms.php)
var $endJS=1; // If set, then a JavaScript section will be outputted in the bottom of page which will try and update the top.busy session expiry object.
var $additionalHeaderData=array(); // Additional data to include in head section
// TYPO3 Colorscheme.
// If you want to change this, please do so through a skin using the global var $TBE_STYLES
......
'.$generator.'
<title>'.htmlspecialchars($title).'</title>
'.$this->docStyle().'
'.implode("\n", $this->additionalHeaderData).'
'.implode("\n", $this->JScodeLibArray).'
'.$this->JScode.'
'.$tabJScode.'
(2-2/3)