You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
354 B
Plaintext
15 lines
354 B
Plaintext
2 years ago
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
|
||
|
<%
|
||
|
if (Request.IsAuthenticated) {
|
||
|
%>
|
||
|
欢迎您,<b><%= Html.Encode(Page.User.Identity.Name) %></b>!
|
||
|
[ <%= Html.ActionLink("注销", "LogOff", "Account") %> ]
|
||
|
<%
|
||
|
}
|
||
|
else {
|
||
|
%>
|
||
|
[ <%= Html.ActionLink("登录", "LogOn", "Account") %> ]
|
||
|
<%
|
||
|
}
|
||
|
%>
|