--- o\class.tslib_content.php 2005-05-23 02:41:24.000000000 +0200 +++ c\class.tslib_content.php 2005-05-30 17:24:04.000000000 +0200 @@ -1945,7 +1945,7 @@ $hiddenfields = '
'.$hiddenfields.'
'; if ($conf['REQ']) { - $validateForm=' onsubmit="return validateForm(\''.$formname.'\',\''.implode(',',$fieldlist).'\',\''.rawurlencode($conf['goodMess']).'\',\''.rawurlencode($conf['badMess']).'\',\''.rawurlencode($conf['emailMess']).'\')"'; + /* by bednee */ $validateForm=' onsubmit="return validateForm(\''.$formname.'\',\''.implode(',',$fieldlist).'\',\''.($conf['goodMess']).'\',\''.($conf['badMess']).'\',\''.($conf['emailMess']).'\')"'; $GLOBALS['TSFE']->additionalHeaderData['JSFormValidate'] = ''; } else $validateForm=''; @@ -2567,9 +2567,18 @@ $dims = $gifCreator->getImageScale($gifCreator->getImageDimensions($imageFile),$conf['width'],$conf['height'],''); $offset = t3lib_div::intExplode(',',$conf['JSwindow.']['expand'].','); - $a1='ATagParams.'>'; + /* by bednee */ + if (($dims[0]+$offset[0]>820)&&($dims[1]+$offset[1]>620)) { + $a1='ATagParams.'>'; + } + else { + /* by bednee */ + $a1='ATagParams.'>'; + } $a2=''; $GLOBALS['TSFE']->setJS('openPic'); } else {