-layer in the calling document (which then appears as a layer/context sensitive menu)
* Writing content back into a
-layer is necessary if we want individualized context menus with any specific content for any specific element.
* Context menus can appear for either database elements or files
* The input to this script is basically the "&init" var which is divided by "|" - each part is a reference to table|uid|listframe-flag.
*
* If you want to integrate a context menu in your scripts, please see template::getContextMenuCode()
*
* Revised for TYPO3 3.6 2/2003 by Kasper Skårhøj
* XHTML compliant
*
* @author Kasper Skårhøj
*/
require 'init.php';
$LANG->includeLLFile('EXT:lang/locallang_misc.xlf');
/*
* @deprecated since 6.0, the classname clickMenu and this file is obsolete
* and will be removed with 6.2. The class was renamed and is now located at:
* typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
*/
require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/ClickMenu/ClickMenu.php';
/*
* @deprecated since 6.0, the classname SC_alt_clickmenu and this file is obsolete
* and will be removed with 6.2. The class was renamed and is now located at:
* typo3/sysext/backend/Classes/Controller/ClickMenuController.php
*/
require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/Controller/ClickMenuController.php';
// Make instance:
$SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Controller\\ClickMenuController');
$SOBE->init();
/**
* Include files for extra click menu options
* @deprecated since 6.1, will be removed 2 versions later
*/
foreach ($SOBE->include_once as $INC_FILE) {
include_once $INC_FILE;
}
$SOBE->main();
$SOBE->printContent();
?>