Project

General

Profile

Bug #25326 » 17950.diff

Rens Admiraal, 2011-12-17 12:40

View differences:

typo3_src-4.5.2/t3lib/class.t3lib_tceforms.php
$addJS .
'vHWin=window.open(\'' . $url . t3lib_div::implodeArrayForUrl('', array('P' => $params)) . '\'+\'&P[currentValue]=\'+TBE_EDITOR.rawurlencode(' . $this->elName($itemName) . '.value,200)' . $curSelectedValues . ',\'popUp' . $md5ID . '\',\'' . $wConf['JSopenParams'] . '\');' .
'vHWin.focus();return false;';
$aOnClick = preg_replace("/(\r|\t|\n)/", '', $aOnClick);
// Setting "colorBoxLinks" - user LATER to wrap around the color box as well:
$colorBoxLinks = Array('<a href="#" onclick="' . htmlspecialchars($aOnClick) . '">', '</a>');
if ((string) $wConf['type'] == 'popup') {
(2-2/2)