Documentation TYPO3 par Ameos

frameset.php

00001 <?php
00002 
00003 unset($MCONF);
00004 require ('conf.php');
00005 require ($BACK_PATH.'init.php');
00006 
00007 
00008 $urlP = parse_url(t3lib_div::getIndpEnv("REQUEST_URI"));
00009 //header("Location: index.php?".$urlP["query"]);
00010 
00011 
00012 $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...
00013 if ($iFrame)    {
00014 ?>
00015 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
00016 <html>
00017 <head>
00018         <title>Untitled</title>
00019 </head>
00020 <body marginwidth=0 marginheight=0 topmargin=0 leftmargin=0>
00021 <?php
00022 echo '<IFRAME src="index.php?'.$urlP["query"].'" id="VIEWFRAME" style="visibility: visible; position: absolute; left: 0px; top: 0px; height=100%; width=100%"></IFRAME>';
00023 ?>
00024 </body>
00025 </html>
00026 <?php
00027 } else {
00028 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
00029 
00030 <html>
00031 <head>
00032         <title>View Frameset</title>
00033         <script language="javascript" type="text/javascript">
00034         if (top.fsMod) top.fsMod.recentIds['web'] = <?php echo intval(t3lib_div::_GET("id"));?>;
00035         </script>
00036 </head>
00037 <frameset rows="*,1" framespacing="0" frameborder="0" border="0">
00038         <frame name="view_frame" src="index.php?<?php echo $urlP["query"];?>" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" noresize>
00039         <frame name="dummy_frame" src="dummy.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="0"  scrolling="no" noresize>
00040 </frameset>
00041 </html><?php
00042 }
00043 ?>


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6