-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathheader_user.htm
30 lines (25 loc) · 1.4 KB
/
header_user.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div class="container">
<div id="user">
<!--{hook header_user_start.htm}-->
<!--{if $_user['groupid'] == 0}-->
<a accesskey="z" href="?user-login.htm" rel="nofollow"><span class="icon icon-user-user"></span> 登录</a>
<a accesskey="z" href="?user-create.htm" rel="nofollow"><span class="icon icon-user-create"></span> 注册</a>
<!--{else}-->
<a accesskey="z" href="?my-profile.htm" title="$_user[groupname]"><span class="icon icon-user-user"></span> $_user[username]</a>
<!--{if $_user['groupid'] == 6}-->
<a href="?user-reactive.htm">邮箱激活</a>
<!--{/if}-->
<!--{hook header_user_middle.htm}-->
<span id="pm">
<a href="?my-pm.htm" class="pm"><span class="icon icon-pm"></span> 消息</a><a href="?my-pm.htm" style="display: none;" aria-label="消息" class="newpm"><span class="icon icon-newpm"></span> 消息</a>
</span>
<!--{if $_user['groupid'] > 0 && $_user['groupid'] < 6}-->
<a href="admin/" target="_blank"><span class="icon icon-setting"></span> 管理</a>
<!--{/if}-->
<a accesskey="z" href="?user-logout.htm"><span class="icon icon-user-logout"></span> 退出</a>
<!--{/if}-->
<!--{hook header_user_end.htm}-->
$conf[header_toolbar]
</div>
<a accesskey="z" href="?post-thread-fid-$fid.htm" class="pull-right btn btn-large btn-primary" rel="nofollow">发新帖</a>
</div><!--/container-->