[BUGFIX] EXT:documentation does not support translated manuals
[Packages/TYPO3.CMS.git] / typo3 / alt_shortcut.php
index 2584e51..8960375 100644 (file)
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
+
 /**
  * Shortcut frame
  * Appears in the bottom frame of the backend frameset.
  * Provides links to registered shortcuts
  * If the 'cms' extension is loaded you will also have a field for entering page id/alias which will be found/edited
  *
- * Revised for TYPO3 3.6 2/2003 by Kasper Skårhøj
- * XHTML compliant output
- *
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-require 'init.php';
-$LANG->includeLLFile('EXT:lang/locallang_misc.xlf');
+require __DIR__ . '/init.php';
 
-// Make instance:
-$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ShortcutFrameController');
-$SOBE->preinit();
-$SOBE->preprocess();
-$SOBE->init();
-$SOBE->main();
-$SOBE->printContent();
-?>
\ No newline at end of file
+$shortcutFrameController = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ShortcutFrameController');
+$shortcutFrameController->preprocess();
+$shortcutFrameController->init();
+$shortcutFrameController->main();
+$shortcutFrameController->printContent();