Renaming diff.xmenu_layers.txt to xmenu_layers.diff (needed for syntax highlighting)
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / media / scripts / xmenu_layers.diff
1 # The files gmenu_layers and tmenu_layers should be exactly the same except
2 # these differences:
3 --- gmenu_layers.php 2006-07-04 19:44:39.000000000 +0200
4 +++ tmenu_layers.php 2006-07-04 19:44:39.000000000 +0200
5 @@ -25,5 +25,5 @@
6 * This copyright notice MUST APPEAR in all copies of the script!
7 ***************************************************************/
8 /**
9 - * Contains the GMENU_LAYERS extension class, tslib_gmenu_layers
10 + * Contains the TMENU_LAYERS extension class, tslib_tmenu_layers
11 *
12 @@ -38,7 +38,7 @@
13 *
14 *
15 *
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)
21 @@ -72,8 +72,8 @@
22
23
24 /**
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'
29 *
30 * @author Kasper Skaarhoj <kasperYYYY@typo3.com>
31 * @package TYPO3
32 @@ -81,9 +81,9 @@
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
35 */
36 -class tslib_gmenu_layers extends tslib_gmenu {
37 +class tslib_tmenu_layers extends tslib_tmenu {
38
39 -// FULL DUPLICATE TO tmenu_layers BEGIN:
40 +// FULL DUPLICATE FROM gmenu_layers BEGIN:
41
42 var $GMENU_fixKey='layers';
43 var $divLayers=Array();
44 @@ -460,13 +460,13 @@
45 }
46 }
47
48 -// FULL DUPLICATE TO tmenu_layers END:
49 +// FULL DUPLICATE FROM gmenu_layers END:
50
51
52 -$GLOBALS['TSFE']->tmpl->menuclasses.=',gmenu_layers';
53 +$GLOBALS['TSFE']->tmpl->menuclasses.=',tmenu_layers';
54
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']);
59 }
60
61 ?>