Zovator
Member
So, I've got a date/time box from some website, I can get it to fit in properly in the UserBar for normal users, but for people that can see the moderator bar it looks like arse. Forgive me if it's something completely stupid, the userbar template looks like this:
(I know I just mash together code until it looks how I want but it works so don't pay attention to the fact it looks horrible )
For moderators it looks like this:
And for normal users this:
~Thanks.
Code:
<xen:require css="user_bar.css" />
<fieldset id="userBar">
<div class="pageWidth">
<div class="pageContent">
<xen:if is="{$visitor.user_id} && !{$visitor.is_moderator} && !{$visitor.is_admin} && @showUserBarText">
<a href="@userBarTextLink">
<span class="itemLabel">@userBarString</span>
</a>
</xen:if>
<span style="display:inline-block;height:0px;line-height:13px;vertical-align:middle;">
<iframe src="http://free.timeanddate.com/clock/i3gdg2jt/tluk/fn17/fs12/fcd7edfc/tct/pct/tt0/tw1/tm1/td1/th2/ta1/tb1" frameborder="0" width="219" height="16" allowTransparency="true"></iframe>
</span>
<xen:if is="{$visitor.is_moderator} || {$visitor.is_admin}">
<xen:include template="moderator_bar" />
</xen:if>
<xen:if is="{$visitor.user_id}"><xen:include template="navigation_visitor_tab" /></xen:if>
</div>
</div>
</fieldset>
For moderators it looks like this:
And for normal users this:
~Thanks.