TYPO3 API  SVNRelease
registerToolbarItem.php
Go to the documentation of this file.
00001 <?php
00002 if (!defined('TYPO3_MODE')) {
00003     die ('Access denied.');
00004 }
00005 
00006 if (TYPO3_MODE == 'BE') {
00007         // first include the class file
00008     include_once(t3lib_extMgm::extPath('sys_action')
00009         . 'toolbarmenu/class.tx_sysaction_toolbarmenu.php');
00010 
00011         // now register the class as toolbar item
00012     $GLOBALS['TYPO3backend']->addToolbarItem(
00013         'sys_action',
00014         'tx_sysactionToolbarMenu'
00015     );
00016 }
00017 
00018 ?>