Project

General

Profile

Feature #17359 ยป frame_stdWrap.diff

Administrator Admin, 2007-06-05 23:41

View differences:

c:\test\class.tslib_content_mod.php 2007-06-05 23:13:36.671875000 +0200
$LD = $GLOBALS['TSFE']->tmpl->linkData($GLOBALS['TSFE']->page,'',$GLOBALS['TSFE']->no_cache,'','',($setup['options']?'&'.$setup['options']:'').$GLOBALS['TSFE']->cObj->getClosestMPvalueForPage($GLOBALS['TSFE']->page['uid']), intval($typeNum));
$finalURL = $LD['totalURL'];
if ($setup['src']) {$paramStr.=' src="'.htmlspecialchars($setup['src']).'"';} else {$paramStr.=' src="'.htmlspecialchars($finalURL).'"';}
if ($setup['src']) {
// additing stdWrap Functionality for frame src
$cObj = new tslib_cObj;
$setup['src'] =$cObj->stdWrap($setup['src'],$setup['src.']['stdWrap.']);
$paramStr.=' src="'.htmlspecialchars($setup['src']).'"';
} else {
$paramStr.=' src="'.htmlspecialchars($finalURL).'"';
}
if ($setup['name']) {$paramStr.=' name="'.$setup['name'].'"';} else {$paramStr.=' name="'.$name.'"';}
if ($setup['params']) {$paramStr.=' '.$setup['params'];}
return $paramStr;
    (1-1/1)