From: Michael Stucki Date: Wed, 23 Aug 2006 07:37:58 +0000 (+0000) Subject: Renaming diff.xmenu_layers.txt to xmenu_layers.diff (needed for syntax highlighting) X-Git-Tag: TYPO3_4-1-0RC1~238 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/de8c4d480ae2804b5ad478f75acf27fafa0d7103 Renaming diff.xmenu_layers.txt to xmenu_layers.diff (needed for syntax highlighting) git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1685 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/typo3/sysext/cms/tslib/media/scripts/diff.xmenu_layers.txt b/typo3/sysext/cms/tslib/media/scripts/diff.xmenu_layers.txt deleted file mode 100755 index 96c93f45234..00000000000 --- a/typo3/sysext/cms/tslib/media/scripts/diff.xmenu_layers.txt +++ /dev/null @@ -1,71 +0,0 @@ -The files gmenu_layers and tmenu_layers should be exactly the same except -these differences: - - - - - ---- gmenu_layers.php 2005-03-27 23:23:20.000000000 +0200 -+++ tmenu_layers.php 2005-03-27 23:23:13.000000000 +0200 -@@ -25,9 +25,9 @@ - * This copyright notice MUST APPEAR in all copies of the script! - ***************************************************************/ - /** -- * Contains the GMENU_LAYERS extension class, tslib_gmenu_layers -+ * Contains the TMENU_LAYERS extension class, tslib_tmenu_layers - * -- * $Id$ -+ * $Id$ - * Revised for TYPO3 3.6 June/2003 by Kasper Skaarhoj - * XHTML compliant - * -@@ -38,7 +38,7 @@ - * - * - * -- * 84: class tslib_gmenu_layers extends tslib_gmenu -+ * 84: class tslib_tmenu_layers extends tslib_tmenu - * 116: function extProc_init() - * 134: function extProc_RO($key) - * 150: function extProc_beforeLinking($key) -@@ -72,8 +72,8 @@ - - - /** -- * Class extending tslib_gmenu for the creation of DHTML menus -- * 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" -+ * Class extending tslib_tmenu for the creation of text based DHTML menus -+ * 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' - * - * @author Kasper Skaarhoj - * @package TYPO3 -@@ -81,9 +81,9 @@ - * @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=385&cHash=648519dd66 - * @see diff.xmenu_layers.txt - */ --class tslib_gmenu_layers extends tslib_gmenu { -+class tslib_tmenu_layers extends tslib_tmenu { - --// FULL DUPLICATE TO tmenu_layers BEGIN: -+// FULL DUPLICATE FROM gmenu_layers BEGIN: - - var $GMENU_fixKey='layers'; - var $divLayers=Array(); -@@ -460,13 +460,13 @@ - } - } - --// FULL DUPLICATE TO tmenu_layers END: -+// FULL DUPLICATE FROM gmenu_layers END: - - --$GLOBALS['TSFE']->tmpl->menuclasses.=',gmenu_layers'; -+$GLOBALS['TSFE']->tmpl->menuclasses.=',tmenu_layers'; - --if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']) { -- include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']); -+if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']) { -+ include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']); - } - - ?> diff --git a/typo3/sysext/cms/tslib/media/scripts/xmenu_layers.diff b/typo3/sysext/cms/tslib/media/scripts/xmenu_layers.diff new file mode 100755 index 00000000000..d416ef8ff30 --- /dev/null +++ b/typo3/sysext/cms/tslib/media/scripts/xmenu_layers.diff @@ -0,0 +1,61 @@ +# The files gmenu_layers and tmenu_layers should be exactly the same except +# these differences: +--- gmenu_layers.php 2006-07-04 19:44:39.000000000 +0200 ++++ tmenu_layers.php 2006-07-04 19:44:39.000000000 +0200 +@@ -25,5 +25,5 @@ + * This copyright notice MUST APPEAR in all copies of the script! + ***************************************************************/ + /** +- * Contains the GMENU_LAYERS extension class, tslib_gmenu_layers ++ * Contains the TMENU_LAYERS extension class, tslib_tmenu_layers + * +@@ -38,7 +38,7 @@ + * + * + * +- * 84: class tslib_gmenu_layers extends tslib_gmenu ++ * 84: class tslib_tmenu_layers extends tslib_tmenu + * 116: function extProc_init() + * 134: function extProc_RO($key) + * 150: function extProc_beforeLinking($key) +@@ -72,8 +72,8 @@ + + + /** +- * Class extending tslib_gmenu for the creation of DHTML menus +- * 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" ++ * Class extending tslib_tmenu for the creation of text based DHTML menus ++ * 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' + * + * @author Kasper Skaarhoj + * @package TYPO3 +@@ -81,9 +81,9 @@ + * @link http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=385&cHash=648519dd66 + * @see diff.xmenu_layers.txt + */ +-class tslib_gmenu_layers extends tslib_gmenu { ++class tslib_tmenu_layers extends tslib_tmenu { + +-// FULL DUPLICATE TO tmenu_layers BEGIN: ++// FULL DUPLICATE FROM gmenu_layers BEGIN: + + var $GMENU_fixKey='layers'; + var $divLayers=Array(); +@@ -460,13 +460,13 @@ + } + } + +-// FULL DUPLICATE TO tmenu_layers END: ++// FULL DUPLICATE FROM gmenu_layers END: + + +-$GLOBALS['TSFE']->tmpl->menuclasses.=',gmenu_layers'; ++$GLOBALS['TSFE']->tmpl->menuclasses.=',tmenu_layers'; + +-if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']) { +- include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']); ++if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']) { ++ include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']); + } + + ?>