Project

General

Profile

Bug #16641 » scrollbars.patch

Administrator Admin, 2007-10-16 17:05

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
$offset = t3lib_div::intExplode(',',$conf['JSwindow.']['expand'].',');
$a1='<a href="'. htmlspecialchars($url) .'" onclick="'.
htmlspecialchars('openPic(\''.$GLOBALS['TSFE']->baseUrlWrap($url).'\',\''.($conf['JSwindow.']['newWindow']?md5($url):'thePicture').'\',\'width='.($dims[0]+$offset[0]).',height='.($dims[1]+$offset[1]).',status=0,menubar=0\'); return false;').
htmlspecialchars('openPic(\''.$GLOBALS['TSFE']->baseUrlWrap($url).'\',\''.($conf['JSwindow.']['newWindow']?md5($url):'thePicture').'\',\'width='.($dims[0]+$offset[0]).',height='.($dims[1]+$offset[1]).',status=0,menubar=0,scrollbars=1\'); return false;').
'"'.$target.$GLOBALS['TSFE']->ATagParams.'>';
$a2='</a>';
$GLOBALS['TSFE']->setJS('openPic');
(2-2/2)