2006-08-25 04:15
Quick.Cart can't not display correctly when i try to translate it into chinese(gb2312).I checked the source code and found out what causes it.The problem is in TplParser.display function.function display( $bBlock = null ){......$this->changeTxt( );......}function changeTxt( ){ if( $this->iso == true ){ ...... }}function tbHtml( $sFile, $sBlock, $bCache = true, $bIso = true ){ ...... $this->display( true );}If $bIso parameter is set false, chinese(gb2312) version can work.Unfortunately, $bIso parameter is ignored everywhere while quick.cart uses the function.