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