[TASK] Clean up phpDoc comments in t3lib_ajax
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / view / frameset.php
1 <?php
2
3 unset($MCONF);
4 require ('conf.php');
5 require ($BACK_PATH.'init.php');
6
7
8 $urlP = parse_url(t3lib_div::getIndpEnv("REQUEST_URI"));
9 //header("Location: index.php?".$urlP["query"]);
10
11
12 $iFrame =0; // I hoped that with an IFRAME the links to "_top" would not really open in "_top" but top of the IFRAME. But that was not the case...
13 if ($iFrame) {
14 ?>
15 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
16 <html>
17 <head>
18 <title>Untitled</title>
19 </head>
20 <body marginwidth=0 marginheight=0 topmargin=0 leftmargin=0>
21 <?php
22 echo '<IFRAME src="index.php?'.$urlP["query"].'" id="VIEWFRAME" style="visibility: visible; position: absolute; left: 0px; top: 0px; height=100%; width=100%"></IFRAME>';
23 ?>
24 </body>
25 </html>
26 <?php
27 } else {
28 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
29
30 <html>
31 <head>
32 <title>View Frameset</title>
33 <script language="javascript" type="text/javascript">
34 if (top.fsMod) top.fsMod.recentIds['web'] = <?php echo intval(t3lib_div::_GET("id"));?>;
35 </script>
36 </head>
37 <frameset rows="*,1" framespacing="0" frameborder="0" border="0">
38 <frame name="view_frame" src="index.php?<?php echo $urlP["query"];?>" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" noresize>
39 <frame name="dummy_frame" src="dummy.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="0" scrolling="no" noresize>
40 </frameset>
41 </html><?php
42 }
43 ?>