<div id="float_bar">
<div class="logo fleft">
<a href="
http://www.dlog.cn"><b>Powered by DLOG4J</b></a>
</div>
<div class="link fright">
#if($g_user)
$text.ui("label.welcome.msg",[${g_user.nickname}]) |
#if($g_user && ${g_user.ownSiteId}>0 && $g_site_id != ${g_user.ownSiteId})
<a href="${app_url}/?sid=${g_user.ownSiteId}">我的网记</a> |
#end
#if(!$g_user || ${g_user.ownSiteId}<=0)
<a href="${app_url}/dlog/new_site.vm?sid=${g_site_id}"><b>开通个人网记</b></a> |
#end
<a href="$dlog.root()/dlog/listmsg.vm?sid=$g_site_id">$text.ui("label.message")</a>
#if(!$skip_new_msg && $dlog.has_new_msg($g_site, $g_user))
<span id="newMessage">
<a href="$dlog.root()/dlog/listmsg.vm?sid=${g_site_id}&msg=0" onclick="javascript:newMessage.style.visibility='hidden';">
$html.img("newmsg.gif",null,null,"absmiddle",0)</a>
</span>
<bgsound src='$dlog.root()/msg.mid' border='0'>
#end
| <a href="$dlog.root()/dlog/bookmark.vm?sid=$g_site_id">$text.ui("label.bookmark")</a>
| <a href="$dlog.root()/dlog/friends.vm?sid=$g_site_id">好友</a>
| <a href="$dlog.root()/dlog/blacklist.vm?sid=$g_site_id">黑名单</a>
| <a href="$dlog.root()/dlog/myprofile.vm?sid=$g_site_id">$text.ui("label.profile")</a>
| <a href="$dlog.root()/dlog/user.do?sid=$g_site_id&eventSubmit_Logout=$link.encodeURL($dlog.get_request_url())">$text.ui("label.logout")</a>
#else
<a href="${app_url}/dlog/new_site.vm?sid=${g_site_id}"><b>开通个人网记</b></a> |
<a href="$dlog.root()/dlog/login.vm?sid=$g_site_id&fromPage=$link.encodeURL($dlog.get_request_url())">$text.ui("label.login")</a> |
<a href="$dlog.root()/dlog/reguser.vm?sid=$g_site_id">$text.ui("label.register")</a>
#end
| <a href="$dlog.root()/html/search.vm?sid=$g_site_id">$text.ui("label.search")</a>
</div>
<div class="spacer_1"></div>
</div>
修改成
<div id="float_bar">
<div class="logo fleft">
<a href="
http://www.dlog.cn"><b>Powered by DLOG4J</b></a>
</div>
<div class="link fright">
#if($g_user)
$text.ui("label.welcome.msg",[${g_user.nickname}]) |
#if($g_user && ${g_user.ownSiteId}>0 && $g_site_id != ${g_user.ownSiteId})
<a href="$dlog.root()/?sid=${g_user.ownSiteId}">我的网记</a> |
#end
#if(!$g_user || ${g_user.ownSiteId}<=0)
<a href="$dlog.root()/dlog/new_site.vm?sid=${g_site_id}"><b>开通个人网记</b></a> |
#end
<a href="$dlog.root()/dlog/listmsg.vm?sid=$g_site_id">$text.ui("label.message")</a>
#if(!$skip_new_msg && $dlog.has_new_msg($g_site, $g_user))
<span id="newMessage">
<a href="$dlog.root()/dlog/listmsg.vm?sid=${g_site_id}&msg=0" onclick="javascript:newMessage.style.visibility='hidden';">
$html.img("newmsg.gif",null,null,"absmiddle",0)</a>
</span>
<bgsound src='$dlog.root()/msg.mid' border='0'>
#end
| <a href="$dlog.root()/dlog/bookmark.vm?sid=$g_site_id">$text.ui("label.bookmark")</a>
| <a href="$dlog.root()/dlog/friends.vm?sid=$g_site_id">好友</a>
| <a href="$dlog.root()/dlog/blacklist.vm?sid=$g_site_id">黑名单</a>
| <a href="$dlog.root()/dlog/myprofile.vm?sid=$g_site_id">$text.ui("label.profile")</a>
| <a href="$dlog.root()/dlog/user.do?sid=$g_site_id&eventSubmit_Logout=$link.encodeURL($dlog.get_request_url())">$text.ui("label.logout")</a>
#else
<a href="$dlog.root()/dlog/new_site.vm?sid=${g_site_id}"><b>开通个人网记</b></a> |
<a href="$dlog.root()/dlog/login.vm?sid=$g_site_id&fromPage=$link.encodeURL($dlog.get_request_url())">$text.ui("label.login")</a> |
<a href="$dlog.root()/dlog/reguser.vm?sid=$g_site_id">$text.ui("label.register")</a>
#end
| <a href="$dlog.root()/html/search.vm?sid=$g_site_id">$text.ui("label.search")</a>
</div>
<div class="spacer_1"></div>
</div>