[TASK] Fix CGL violations InlineCommentWrongStyle in ext_emconf.php files
[Packages/TYPO3.CMS.git] / typo3 / login_frameset.php
index 0d9c5ca..18a4074 100644 (file)
  * @package TYPO3
  * @subpackage core
  */
-/**
- * [CLASS/FUNCTION INDEX of SCRIPT]
- *
- *
- *
- *   71: class SC_login_frameset
- *   82:     function main()
- *  108:     function printContent()
- *
- * TOTAL FUNCTIONS: 2
- * (This index is automatically created/updated by the extension "extdeveval")
- *
- */
 define('TYPO3_PROCEED_IF_NO_USER', 1);
 require ('init.php');
 require ('template.php');
@@ -77,13 +64,11 @@ class SC_login_frameset {
         *
         * @return      void
         */
-       function main() {
-               global $TYPO3_CONF_VARS;
-
+       function main() {
                        // Set doktype:
                $GLOBALS['TBE_TEMPLATE']->docType='xhtml_frames';
 
-               $title = 'TYPO3 Re-Login ('.$TYPO3_CONF_VARS['SYS']['sitename'].')';
+               $title = 'TYPO3 Re-Login ('.$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'].')';
                $this->content.=$GLOBALS['TBE_TEMPLATE']->startPage($title);
 
                        // Create the frameset for the window:
@@ -103,18 +88,11 @@ class SC_login_frameset {
         *
         * @return      void
         */
-       function printContent() {
+       function printContent() {
                echo $this->content;
        }
 }
 
-
-if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/login_frameset.php'])) {
-       include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['typo3/login_frameset.php']);
-}
-
-
-
 // Make instance:
 $SOBE = t3lib_div::makeInstance('SC_login_frameset');
 $SOBE->main();