Project

General

Profile

Bug #15225 » diff_class.tslib_menu.php.diff

Administrator Admin, 2005-12-19 20:52

View differences:

class.tslib_menu.php 2005-12-19 20:45:41.310114023 +0100
if ($imgROInfo) {
$theName = $this->imgNamePrefix.$this->I['uid'].$this->I['INPfix'].$pref;
$name = ' name="'.$theName.'"';
$GLOBALS['TSFE']->JSImgCode.= chr(10).$theName.'_n=new Image(); '.$theName.'_n.src = "'.$GLOBALS['TSFE']->absRefPrefix.$imgInfo[3].'"; ';
$GLOBALS['TSFE']->JSImgCode.= chr(10).$theName.'_h=new Image(); '.$theName.'_h.src = "'.$GLOBALS['TSFE']->absRefPrefix.$imgROInfo[3].'"; ';
$GLOBALS['TSFE']->JSImgCode.= chr(10).'var '.$theName.'_n=new Image(); '.$theName.'_n.src = "'.$GLOBALS['TSFE']->absRefPrefix.$imgInfo[3].'"; ';
$GLOBALS['TSFE']->JSImgCode.= chr(10).'var '.$theName.'_h=new Image(); '.$theName.'_h.src = "'.$GLOBALS['TSFE']->absRefPrefix.$imgROInfo[3].'"; ';
}
}
$GLOBALS['TSFE']->imagesOnPage[]=$imgInfo[3];
......
$this->I['name'] = ' name="'.$this->I["theName"].'"';
$this->I['linkHREF']['onMouseover']=$this->WMfreezePrefix.'over(\''.$this->I['theName'].'\');';
$this->I['linkHREF']['onMouseout']=$this->WMfreezePrefix.'out(\''.$this->I['theName'].'\');';
$GLOBALS['TSFE']->JSImgCode.= chr(10).$this->I['theName'].'_n=new Image(); '.$this->I['theName'].'_n.src = "'.$GLOBALS['TSFE']->absRefPrefix.$this->I['val']['output_file'].'"; ';
$GLOBALS['TSFE']->JSImgCode.= chr(10).$this->I['theName'].'_h=new Image(); '.$this->I['theName'].'_h.src = "'.$GLOBALS['TSFE']->absRefPrefix.$this->result['RO'][$key]['output_file'].'"; ';
$GLOBALS['TSFE']->JSImgCode.= chr(10).'var '.$this->I['theName'].'_n=new Image(); '.$this->I['theName'].'_n.src = "'.$GLOBALS['TSFE']->absRefPrefix.$this->I['val']['output_file'].'"; ';
$GLOBALS['TSFE']->JSImgCode.= chr(10).'var '.$this->I['theName'].'_h=new Image(); '.$this->I['theName'].'_h.src = "'.$GLOBALS['TSFE']->absRefPrefix.$this->result['RO'][$key]['output_file'].'"; ';
$GLOBALS['TSFE']->imagesOnPage[]=$this->result['RO'][$key]['output_file'];
$GLOBALS['TSFE']->setJS('mouseOver');
$this->extProc_RO($key);
(1-1/2)