96c93f45234f1909dddac1b8f9d104ac7d384bf7
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / media / scripts / diff.xmenu_layers.txt
1 The files gmenu_layers and tmenu_layers should be exactly the same except
2 these differences:
3
4
5
6
7
8 --- gmenu_layers.php 2005-03-27 23:23:20.000000000 +0200
9 +++ tmenu_layers.php 2005-03-27 23:23:13.000000000 +0200
10 @@ -25,9 +25,9 @@
11 * This copyright notice MUST APPEAR in all copies of the script!
12 ***************************************************************/
13 /**
14 - * Contains the GMENU_LAYERS extension class, tslib_gmenu_layers
15 + * Contains the TMENU_LAYERS extension class, tslib_tmenu_layers
16 *
17 - * $Id$
18 + * $Id$
19 * Revised for TYPO3 3.6 June/2003 by Kasper Skaarhoj
20 * XHTML compliant
21 *
22 @@ -38,7 +38,7 @@
23 *
24 *
25 *
26 - * 84: class tslib_gmenu_layers extends tslib_gmenu
27 + * 84: class tslib_tmenu_layers extends tslib_tmenu
28 * 116: function extProc_init()
29 * 134: function extProc_RO($key)
30 * 150: function extProc_beforeLinking($key)
31 @@ -72,8 +72,8 @@
32
33
34 /**
35 - * Class extending tslib_gmenu for the creation of DHTML menus
36 - * 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"
37 + * Class extending tslib_tmenu for the creation of text based DHTML menus
38 + * 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'
39 *
40 * @author Kasper Skaarhoj <kasperYYYY@typo3.com>
41 * @package TYPO3
42 @@ -81,9 +81,9 @@
43 * @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=385&cHash=648519dd66
44 * @see diff.xmenu_layers.txt
45 */
46 -class tslib_gmenu_layers extends tslib_gmenu {
47 +class tslib_tmenu_layers extends tslib_tmenu {
48
49 -// FULL DUPLICATE TO tmenu_layers BEGIN:
50 +// FULL DUPLICATE FROM gmenu_layers BEGIN:
51
52 var $GMENU_fixKey='layers';
53 var $divLayers=Array();
54 @@ -460,13 +460,13 @@
55 }
56 }
57
58 -// FULL DUPLICATE TO tmenu_layers END:
59 +// FULL DUPLICATE FROM gmenu_layers END:
60
61
62 -$GLOBALS['TSFE']->tmpl->menuclasses.=',gmenu_layers';
63 +$GLOBALS['TSFE']->tmpl->menuclasses.=',tmenu_layers';
64
65 -if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']) {
66 - include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']);
67 +if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']) {
68 + include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']);
69 }
70
71 ?>