Project

General

Profile

Bug #19584 » typo3core_bugfix_9755_typo3_4-2.patch

Administrator Admin, 2008-11-08 05:46

View differences:

typo3/class.browse_links.php (copie de travail)
$this->mode = 'rte';
}
// Creating backend template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
// Load the Prototype library and browse_links.js
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadJavascriptLib('js/browse_links.js');
// init hook objects:
$this->hookObjects = array();
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.browse_links.php']['browseLinksHook'])) {
......
// Initializing the title value (RTE)
$this->setTitle = ($this->curUrlArray['title'] != '-') ? $this->curUrlArray['title'] : '';
// Creating backend template object:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->docType= 'xhtml_trans';
$this->doc->backPath = $BACK_PATH;
// Load the Prototype library and browse_links.js
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadJavascriptLib('js/browse_links.js');
// BEGIN accumulation of header JavaScript:
$JScode = '
// This JavaScript is primarily for RTE/Link. jumpToUrl is used in the other cases as well...
(2-2/2)