Project

General

Profile

Bug #19617 ยป rte_linkhandler.patch

Administrator Admin, 2008-11-15 19:50

View differences:

typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php (working copy)
// Initializing hooking browsers
$this->initHookObjects('ext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php');
// init hook objects:
$this->hookObjects = array();
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.browse_links.php']['browseLinksHook'])) {
foreach($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.browse_links.php']['browseLinksHook'] as $classData) {
$processObject = &t3lib_div::getUserObj($classData);
if(!($processObject instanceof t3lib_browseLinksHook)) {
throw new UnexpectedValueException('$processObject must implement interface t3lib_browseLinksHook', 1195039394);
}
$parameters = array();
$processObject->init($this, $parameters);
$this->hookObjects[] = $processObject;
}
}
// CurrentUrl - the current link url must be passed around if it exists
$this->curUrlArray = t3lib_div::_GP('curUrl');
if ($this->curUrlArray['all']) {
    (1-1/1)