1 # The files gmenu_layers and tmenu_layers should be exactly the same except
3 --- gmenu_layers.php 2006-07-04 19:44:39.000000000 +0200
4 +++ tmenu_layers.php 2006-07-04 19:44:39.000000000 +0200
6 * This copyright notice MUST APPEAR in all copies of the script!
7 ***************************************************************/
9 - * Contains the GMENU_LAYERS extension class, tslib_gmenu_layers
10 + * Contains the TMENU_LAYERS extension class, tslib_tmenu_layers
16 - * 84: class tslib_gmenu_layers extends tslib_gmenu
17 + * 84: class tslib_tmenu_layers extends tslib_tmenu
18 * 116: function extProc_init()
19 * 134: function extProc_RO($key)
20 * 150: function extProc_beforeLinking($key)
25 - * Class extending tslib_gmenu for the creation of DHTML menus
26 - * NOTICE: The contents of this class is made so that it can be copied EXACTLY AS IS to the tmenu_layers class! See notes in class (for BEGIN/END) and also "diff.xmenu_layers.txt"
27 + * Class extending tslib_tmenu for the creation of text based DHTML menus
28 + * NOTICE: The contents of this class is copied EXACTLY AS IS from gmenu_layers class! See notes in class (for BEGIN/END) and also 'diff.xmenu_layers.txt'
30 * @author Kasper Skaarhoj <kasperYYYY@typo3.com>
33 * @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=385&cHash=648519dd66
34 * @see diff.xmenu_layers.txt
36 -class tslib_gmenu_layers extends tslib_gmenu {
37 +class tslib_tmenu_layers extends tslib_tmenu {
39 -// FULL DUPLICATE TO tmenu_layers BEGIN:
40 +// FULL DUPLICATE FROM gmenu_layers BEGIN:
42 var $GMENU_fixKey='layers';
43 var $divLayers=Array();
48 -// FULL DUPLICATE TO tmenu_layers END:
49 +// FULL DUPLICATE FROM gmenu_layers END:
52 -$GLOBALS['TSFE']->tmpl->menuclasses.=',gmenu_layers';
53 +$GLOBALS['TSFE']->tmpl->menuclasses.=',tmenu_layers';
55 -if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']) {
56 - include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']);
57 +if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']) {
58 + include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']);