Bug #21388 » typo3-4.3.2-no-typo3temp-fill-with-javascript-2.patch
typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php 2010-03-17 12:10:42.000000000 +0100 | ||
---|---|---|
* @return void
|
||
*/
|
||
function extProc_init() {
|
||
$this->WMid = trim($this->mconf['layer_menu_id'])?trim($this->mconf['layer_menu_id']).'x':substr(md5(microtime()),0,6); // NO '_' (underscore) in the ID!!! NN4 breaks!
|
||
$this->WMid = trim($this->mconf['layer_menu_id'])?trim($this->mconf['layer_menu_id']).'x':substr(md5('tl' . t3lib_div::getIndpEnv('TYPO3_HOST_ONLY') . serialize($this->menuArr)),0,6); // NO '_' (underscore) in the ID!!! NN4 breaks!
|
||
$GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'][]=$this->WMid;
|
||
$this->WMtempStore = $GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'];
|
||
... | ... | |
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/tmenu_layers.php']);
|
||
}
|
||
?>
|
||
?>
|
||
-- typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php.orig 2010-02-23 11:59:59.000000000 +0100
|
||
++ typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php 2010-03-17 12:08:59.000000000 +0100
|
||
... | ... | |
* @return void
|
||
*/
|
||
function extProc_init() {
|
||
$this->WMid = trim($this->mconf['layer_menu_id'])?trim($this->mconf['layer_menu_id']).'x':substr(md5(microtime()),0,6); // NO '_' (underscore) in the ID!!! NN4 breaks!
|
||
$this->WMid = trim($this->mconf['layer_menu_id'])?trim($this->mconf['layer_menu_id']).'x':substr(md5('gl' . t3lib_div::getIndpEnv('TYPO3_HOST_ONLY') . serialize($this->menuArr)),0,6); // NO '_' (underscore) in the ID!!! NN4 breaks!
|
||
$GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'][]=$this->WMid;
|
||
$this->WMtempStore = $GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'];
|
||
... | ... | |
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['media/scripts/gmenu_layers.php']);
|
||
}
|
||
?>
|
||
?>
|