一路 BBS
标题:
站点信息(帖子,会员,新会员)添加小图标美化
[打印本页]
作者:
Fenlix
时间:
10-1-2010 10:35
标题:
站点信息(帖子,会员,新会员)添加小图标美化
打开\template\default\forum\discuz.htm文件,找到:
<p class="chart">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: $postdata[0]<span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></p>
复制代码
改成:
<p class="chart">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span><img src="http://www.feiba.net/tu/newtz.png" /> {lang index_yesterday}: $postdata[0]<span class="pipe">|</span><img src="http://www.feiba.net/tu/tiezi.png" /> {lang index_posts}: <em>$posts</em><span class="pipe">|</span><img src="http://www.feiba.net/tu/huiyuan.png" /> {lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span><img src="http://www.feiba.net/tu/xhy.png" /> {lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></p>
复制代码
其实就是在相关语言前面添加上<img src="图片路径" />,图片素材自己找了!官方大小是16*15
欢迎光临 一路 BBS (http://www.yilubbs.com/)
Powered by Discuz! X3.2