天兴工作室:提供zblog模板 emlog模板 dedecms模板的下载和仿站定制网站地图 | 联系我们
当前位置:网站首页 问答 正文

First sorry i don't speak chinese but i'm using this great Cms for my own conveniance, i have translate it in French (i'm using simpage theme) but there is strange bug i can't resolve. If i use chinese text all is right but when i'm using french translate (from english files) i have space after the character  '  "L’ énigme" !! it must be like this "L'énigme" without the space between the ' and the é . Any idea ? i have look inside the code and i think it came from the preg_replace string ?

 

{php}$description = preg_replace('/\p{Cc}+/u','', trim(SubStrUTF8(TransferHTML($article->Title,'[nohtml]'),55)).'');{/php}{$description}</a></h3>
<ul id="zi">
{if $zbp->Config('simpage')->DisplayAbstractwords=="0"}
{php}$description = preg_replace('/\p{Cc}+/u','', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),$zbp->Config('simpage')->Abstractwords)).'...');{/php}{$description}
{else}
{$article.Intro}
{/if}

 

 

Thanks a lot if you can help me and long live to this wonderfull site.

我要提问 欢迎你回答此问题。如果你也有疑问,欢迎前往本站发起”我要提问“。天兴工作室会在第一时间对你的问题做出回答。
联系我们
最新评论
标签云
jiathis地域zblog侧栏操作玫瑰音乐节i9000网站公务员Rewrite规则单身狗html代码联动类别WLAN季包标题格式存100送30元歧视zblog立即购买宽带大提速右键版权新版账详单wina298t通讯管家武汉天气续费2年送2年一天dedecms字段调用移动315校园WLAN送Q币营养zblogasp转zblogphp预存话费送礼品cms主题仿聚划算武汉欢乐谷原油交易模板
热门产品