DZ7.2个人信息积分底部增加一些小功能
首先打开css_append.htm文件并在其内加入如下代码/*内容页内个人资料下方的显示控制*/
#jinfo{margin:10px 5px;}
#jinfo li{float:left;height:1.6em;text-indent:20px;width:49.5%;}
#jinfo li.jblog{background:transparent url({IMGDIR}/icon.gif) no-repeat 0 0;}
#jinfo li.jpm{background:transparent url({IMGDIR}/icon.gif) no-repeat 0 -19px;}
#jinfo li.jbuddy{background:transparent url({IMGDIR}/icon.gif) no-repeat 0 -38px;}
#jinfo li.jonline{background:transparent url({IMGDIR}/icon.gif) no-repeat 0 -58px;}然后打开viewthread_node.htm文件,查找如下代码:<!--{if $post['medals']}-->在其上方加入如下代码:<div id="jinfo">
<ul>
<li class="jblog">
<!--{if $ucappopen['UCHOME']}-->
<a href="{$uchomeurl}/space.php?uid=$post" target="_blank" title="{lang space}"> 个人空间</a>
<!--{elseif $ucappopen['XSPACE']}-->
<a href="{$xspaceurl}/?uid-$post" target="_blank" title="{lang space}"> 个人空间</a>
<!--{/if}-->
</li>
<li class="jpm"><a href="pm.php?action=new&uid=$post" onclick="hideMenu('userinfo$post');showWindow('sendpm', this.href);return false;" title="{lang send_pm}"> {lang send_pm}</a>
</li>
<li class="jbuddy"><a href="space.php?uid=$post" target="_blank" title="{lang member_viewpro}"> 详细资料</a></li>
<li class="jonline">
<!--{if $vtonlinestatus && $post['authorid']}-->
<!--{if ($vtonlinestatus == 2 && $onlineauthors[$post]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
<em><font color=#00a2d2>{lang online}</font>
<!--{else}-->
<em>{lang offline}
<!--{/if}-->
</em>
<!--{/if}-->
</li>
</ul>
</div>上传附件到images/default/目录下,并命名为icon.gif 后台更新缓存即可
**** Hidden Message *****
页:
[1]