Siteserver CMS登錄註冊標簽
阿新 • • 發佈:2017-07-08
str 標簽 strong display ucc temp href bar ron
<stl:if type="isAnonymous">
<stl:yes>
<span class="login_bar">
<stl:action type="login" class="top_a1 j_login_btn">登錄</stl:action>
<stl:action type="register" class="top_a1 j_reg_btn">註冊</stl:action>
</span>
</stl:yes>
<stl:no>
{user.displayName}
<stl:action type="logout" class="top_a1">退出</stl:action>
</stl:no>
</stl:if>
CMS5.0以上版本使用:
<stl:if type="IsUserLoggin"> <stl:successtemplate> 歡迎"{user.displayName}" <stl:a href="{stl.HomeUrl}">用戶中心</stl:a> <stl:a href="{stl.LogoutUrl}">退出</stl:a> </stl:successtemplate> <stl:failuretemplate> <stl:a href="{stl.LoginUrl}">登陸</stl:a> <stl:a href="{stl.RegisterUrl}">註冊</stl:a> </stl:failuretemplate> </stl:if> CMS5.0以下版本使用:Siteserver CMS登錄註冊標簽