[TASK] Remove @package and @subpackage annotations
[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 */
9 class LoginFramesetController {
10
11 // Internal, dynamic
12 /**
13 * @todo Define visibility
14 */
15 public $content;
16
17 /**
18 * Main function.
19 * Creates the header code in XHTML, then the frameset for the two frames.
20 *
21 * @return void
22 * @todo Define visibility
23 */
24 public function main() {
25 // Set doktype:
26 $GLOBALS['TBE_TEMPLATE']->docType = 'xhtml_frames';
27 $title = 'TYPO3 Re-Login (' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'] . ')';
28 $this->content .= $GLOBALS['TBE_TEMPLATE']->startPage($title);
29 // Create the frameset for the window:
30 $this->content .= '
31 <frameset rows="*,1">
32 <frame name="login" src="index.php?loginRefresh=1" marginwidth="0" marginheight="0" scrolling="no" noresize="noresize" />
33 <frame name="dummy" src="dummy.php" marginwidth="0" marginheight="0" scrolling="auto" noresize="noresize" />
34 </frameset>
35 ';
36 $this->content .= '
37 </html>';
38 }
39
40 /**
41 * Outputs the page content.
42 *
43 * @return void
44 * @todo Define visibility
45 */
46 public function printContent() {
47 echo $this->content;
48 }
49
50 }
51
52
53 ?>