Project

General

Profile

Bug #21388 » typo3-4.3.2-no-typo3temp-fill-with-javascript-3.patch

Administrator Admin, 2010-03-29 17:10

View differences:

typo3_src-4.3.2/typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php 2010-03-29 16:48:12.000000000 +0200
* @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' . serialize($this->result)),0,6);
$GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'][]=$this->WMid;
$this->WMtempStore = $GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'];
-- typo3_src-4.3.2/typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php.orig 2010-03-17 16:01:09.000000000 +0100
++ typo3_src-4.3.2/typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php 2010-03-29 16:48:12.000000000 +0200
......
* @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' . serialize($this->result)),0,6);
$GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'][]=$this->WMid;
$this->WMtempStore = $GLOBALS['TSFE']->applicationData['GMENU_LAYERS']['WMid'];
(5-5/6)