X-Git-Url: https://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff_plain/dca0d260fdd9b8dd6fded57baebfd600519ffbfb..239f68d54da0778c1e18a77d6a4916bbc9f46221:/typo3/login_frameset.php diff --git a/typo3/login_frameset.php b/typo3/login_frameset.php old mode 100755 new mode 100644 index c1ed502..0d9c5ca --- a/typo3/login_frameset.php +++ b/typo3/login_frameset.php @@ -1,22 +1,22 @@ + * @author Kasper Skårhøj * @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'); + + + + + + + + +/** + * Script Class, putting the frameset together. + * + * @author Kasper Skårhøj + * @package TYPO3 + * @subpackage core + */ +class SC_login_frameset { + + // Internal, dynamic + var $content; + + /** + * Main function. + * Creates the header code in XHTML, then the frameset for the two frames. + * + * @return void + */ + function main() { + global $TYPO3_CONF_VARS; + + // Set doktype: + $GLOBALS['TBE_TEMPLATE']->docType='xhtml_frames'; + + $title = 'TYPO3 Re-Login ('.$TYPO3_CONF_VARS['SYS']['sitename'].')'; + $this->content.=$GLOBALS['TBE_TEMPLATE']->startPage($title); + + // Create the frameset for the window: + $this->content.=' + + + + + '; + $this->content.=' +'; + } + /** + * Outputs the page content. + * + * @return void + */ + function printContent() { + echo $this->content; + } +} -define("TYPO3_PROCEED_IF_NO_USER", 1); -require ("init.php"); +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']); +} -// ****************************** -// Start document output -// ****************************** +// Make instance: +$SOBE = t3lib_div::makeInstance('SC_login_frameset'); +$SOBE->main(); +$SOBE->printContent(); -?> - - - - TYPO3 <?php echo $TYPO_VERSION;?> Re-Login (<?php echo $TYPO3_CONF_VARS["SYS"]["sitename"];?>) - - - - - - \ No newline at end of file +?> \ No newline at end of file