...
|
...
|
@@ -29,7 +29,7 @@ |
|
|
<?php $this->_block('js');?>
|
|
|
<script type="text/javascript">
|
|
|
function getClientShare() {
|
|
|
return "<?php echo preg_replace('@\\@',"\\", addslashes(preg_replace("#\\\u([0-9a-f]{4})#ie", "iconv('UCS-2BE', 'UTF-8', pack('H4', '\\1'))", json_encode(array('title'=> $this->view->info['name'],'desc'=> $this->view->info['description'],
|
|
|
return "<?php echo preg_replace("@\\\\@","\\", addslashes(preg_replace("#\\\u([0-9a-f]{4})#ie", "iconv('UCS-2BE', 'UTF-8', pack('H4', '\\1'))", json_encode(array('title'=> $this->view->info['name'],'desc'=> $this->view->info['description'],
|
|
|
'imgUrl'=> Lib_Images::getImageUrl($this->view->info['logo'], 'source','fragmentimg'),
|
|
|
'link'=> SITE_MAIN.'/brand/detail/id/'.$this->view->info['id'])))));?>";
|
|
|
}
|
...
|
...
|
|