如果信息栏目不显示,解决办法 替换xendisconnec moderator_bar 全文 代码: <xen:require css="moderator_bar.css" /> <fieldset id="moderatorBar"> <div class="pageWidth"> <div class="pageContent"> <xen:if is="{$visitor.is_admin}"> <a href="admin.php" class="acp adminLink"><span class="itemLabel">{xen:phrase admin_control_panel}</span></a> <xen:if is="{$session.permissionTest}"> <a href="{xen:link misc/reset-permissions}" class="permissionTest adminLink OverlayTrigger"> <span class="itemLabel">{xen:phrase permissions_from_x, 'name={$session.permissionTest.username}'}</span> </a> </xen:if> </xen:if> <xen:if is="{$visitor.is_moderator}"> <span class="modbar"> <a href="{xen:link moderation-queue}" class="moderationQueue modLink"> <span class="itemLabel">{xen:phrase moderation_queue}:</span> <span class="itemCount {xen:if {$session.moderationCounts.total}, 'alert'}">{$session.moderationCounts.total}</span> </a> <a href="{xen:link reports}" class="reportedItems modLink"> <span class="itemLabel">{xen:phrase reported_items}:</span> <span class="itemCount {xen:if {$session.reportCounts.total}, 'alert'}">{$session.reportCounts.total}</span> </a> <xen:if is="{$visitor.is_admin} AND {$session.canAdminUsers}"> <a href="admin.php?users/moderated" class="userModerationQueue modLink"> <span class="itemLabel">{xen:phrase users_awaiting_approval}:</span> <span class="itemCount {xen:if {$session.userModerationCounts.total}, 'alert'}">{$session.userModerationCounts.total}</span> </a> </xen:if> </span> </xen:if> <xen:if is="{$visitor.user_id}"> <xen:include template="navigation_visitor_tab" /> </xen:if> <xen:hook name="moderator_bar" /> <span class="helper"></span> </div> </div> </fieldset>