2008-02-03 Benjamin Mack <mack@xnos.org>
- * Added "Open Documents" menu in top bar of new BE, made module
- optional
+ * Followup to #7346: opendocs top menu only is included once now
+ * Feature #7346: Added "Open Documents" menu in top bar of new BE, made module optional
* Followup to #7361: Save button was moved to bottom again
* Followup to #7361: One CSH was still on the wrong line
* Fixed #7361: Overhauled User setup module. Now has tabs and better usability, thanks to Steffen Kamper
<?php
-if (!defined ('TYPO3_MODE')) die ('Access denied.');
+if (!defined('TYPO3_MODE')) die ('Access denied.');
-if(TYPO3_MODE=='BE') {
+if (TYPO3_MODE == 'BE') {
// first include the class file
- include(t3lib_extMgm::extPath('opendocs').'class.tx_opendocs.php');
+ include_once(t3lib_extMgm::extPath('opendocs').'class.tx_opendocs.php');
// now register the class as toolbar item
$GLOBALS['TYPO3backend']->addToolbarItem('opendocs', 'tx_opendocs');