Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] discuz3.x 菜单栏积分由下拉改为横排的方法

[复制链接]
xiaoyuwxz 发表于 2013-10-13 20:19:19 | 显示全部楼层 |阅读模式
有朋友要,改了一下发上来


\template\default\common\header_userstatus.htm
查找

  1. <p>
  2.   <!--{hook/global_usernav_extra3}-->
  3.   <a href="home.php?mod=spacecp&ac=credit&showcredit=1" id="extcreditmenu"{if !$_G[setting][bbclosed]} class="showmenu"{/if}>{lang credits}: $_G[member][credits]</a>
  4.   <span class="pipe">|</span><a href="home.php?mod=spacecp&ac=usergroup" id="g_upmine" class="showmenu">{lang usergroup}: $_G[group][grouptitle]<!--{if $_G[member]['freeze']}--><span class="xi1">({lang freeze})</span><!--{/if}--></a>
  5. </p>
复制代码

替换为:

  1.      <p>
  2.       <!--{eval $upgradecredit = $_G['uid'] && $_G['group']['grouptype'] == 'member' && $_G['group']['groupcreditslower'] != 999999999 ? $_G['group']['groupcreditslower'] - $_G['member']['credits'] : false;}-->
  3.       {lang credits}: <a href="home.php?mod=spacecp&ac=credit">$_G[member][credits]</a><!--{loop $_G['setting']['extcredits'] $extcreditid $extcredit}--><!--{if empty($extcredit['hiddeninheader'])}--> , {$extcredit[img]}$extcredit[title]: <a href="home.php?mod=spacecp&ac=credit" id="hcredit_$extcreditid"><!--{echo getuserprofile('extcredits'.$extcreditid);}--></a> {$extcredit[unit]}<!--{/if}--><!--{/loop}--> , {lang usergroup}: <a href="home.php?mod=spacecp&ac=usergroup"{if $upgradecredit !== 'false'} id="g_upmine" class="xi2"{/if}>$_G[group][grouptitle]</a>
  4.      </p>
复制代码

 楼主| xiaoyuwxz 发表于 2013-10-13 20:20:59 | 显示全部楼层
效果如图


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

柳拂之 发表于 2013-10-13 20:23:09 | 显示全部楼层
之前我记录过的,现在找不到了

评分

1

查看全部评分

回复

使用道具 举报

安徽色色 发表于 2013-10-13 20:24:49 | 显示全部楼层
不错,支持一下

评分

1

查看全部评分

回复

使用道具 举报

asdsex 发表于 2013-10-13 20:27:22 | 显示全部楼层
还是下拉简洁点

评分

1

查看全部评分

回复

使用道具 举报

雪丫鬟 发表于 2013-10-17 22:52:58 | 显示全部楼层
看起来似乎挺好的。我本地先改改看看。以免改错了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-6 14:44 , Processed in 0.146580 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表