2 namespace TYPO3\CMS\Frontend\Page;
32 public function make($setup)
35 if (is_array($setup)) {
37 foreach ($sKeyArray as $theKey) {
38 $theValue = $setup[$theKey];
39 if ((
int)$theKey && ($conf = $setup[$theKey .
'.'])) {
42 $typeNum = (int)
$GLOBALS[
'TSFE']->tmpl->setup[$conf[
'obj'] .
'.'][
'typeNum'];
43 if (!$conf[
'src'] && !$typeNum) {
46 $content .=
'<frame' . $this->
frameParams($conf, $typeNum) .
' />' . LF;
50 $content .= $frameset->make($conf) . LF;
55 return '<frameset' . $this->
framesetParams($setup) .
'>' . LF . $content .
'</frameset>';
72 $name = $setup[
'obj'];
73 if ($setup[
'src'] || $setup[
'src.']) {
75 if (is_array($setup[
'src.'])) {
76 $src =
$GLOBALS[
'TSFE']->cObj->stdWrap($src, $setup[
'src.']);
78 $paramStr .=
' src="' . htmlspecialchars($src) .
'"';
80 $LD =
$GLOBALS[
'TSFE']->tmpl->linkData(
$GLOBALS[
'TSFE']->page,
'',
$GLOBALS[
'TSFE']->no_cache,
'',
'', ($setup[
'options'] ?
'&' . $setup[
'options'] :
'') .
$GLOBALS[
'TSFE']->cObj->getClosestMPvalueForPage(
$GLOBALS[
'TSFE']->page[
'uid']), (int)$typeNum);
81 $finalURL = $LD[
'totalURL'];
82 $paramStr .=
' src="' . htmlspecialchars($finalURL) .
'"';
85 $paramStr .=
' name="' . $setup[
'name'] .
'"';
87 $paramStr .=
' name="' . $name .
'"';
89 if ($setup[
'params']) {
90 $paramStr .=
' ' . $setup[
'params'];
106 if ($setup[
'cols']) {
107 $paramStr .=
' cols="' . $setup[
'cols'] .
'"';
109 if ($setup[
'rows']) {
110 $paramStr .=
' rows="' . $setup[
'rows'] .
'"';
112 if ($setup[
'params']) {
113 $paramStr .=
' ' . $setup[
'params'];