Project

General

Profile

Bug #25325 » 17950.diff

Administrator Admin, 2011-03-15 17:13

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)