[BUGFIX] Wrong icon in db_new tree
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / LoginFramesetController.php
1 <?php
2 namespace TYPO3\CMS\Backend\Controller;
3
4 /**
5 * Script Class, putting the frameset together.
6 *
7 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
8 * @package TYPO3
9 * @subpackage core
10 */
11 class LoginFramesetController {
12
13 // Internal, dynamic
14 /**
15 * @todo Define visibility
16 */
17 public $content;
18
19 /**
20 * Main function.
21 * Creates the header code in XHTML, then the frameset for the two frames.
22 *
23 * @return void
24 * @todo Define visibility
25 */
26 public function main() {
27 // Set doktype:
28 $GLOBALS['TBE_TEMPLATE']->docType = 'xhtml_frames';
29 $title = ('TYPO3 Re-Login (' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']) . ')';
30 $this->content .= $GLOBALS['TBE_TEMPLATE']->startPage($title);
31 // Create the frameset for the window:
32 $this->content .= '
33 <frameset rows="*,1">
34 <frame name="login" src="index.php?loginRefresh=1" marginwidth="0" marginheight="0" scrolling="no" noresize="noresize" />
35 <frame name="dummy" src="dummy.php" marginwidth="0" marginheight="0" scrolling="auto" noresize="noresize" />
36 </frameset>
37 ';
38 $this->content .= '
39 </html>';
40 }
41
42 /**
43 * Outputs the page content.
44 *
45 * @return void
46 * @todo Define visibility
47 */
48 public function printContent() {
49 echo $this->content;
50 }
51
52 }
53
54
55 ?>