source:
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Shared/LogOnUserControl.ascx
@
11194
Last change on this file since 11194 was 6317, checked in by jwolfing, 14 years ago | |
---|---|
File size: 323 bytes |
Rev | Line | |
---|---|---|
[4985] | 1 | <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> |
2 | <% | |
[6317] | 3 | if (Request.IsAuthenticated) { |
[4985] | 4 | %> |
[6317] | 5 | Welcome <b> |
6 | <%: Page.User.Identity.Name %></b>! [ | |
7 | <%: Html.ActionLink("Log Off", "LogOff", "Account") %> | |
8 | ] | |
[4985] | 9 | <% |
[6317] | 10 | } else { |
11 | %> | |
12 | [ | |
13 | <%: Html.ActionLink("Log On", "LogOn", "Account") %> | |
14 | ] | |
[4985] | 15 | <% |
[6317] | 16 | } |
[4985] | 17 | %> |
Note: See TracBrowser
for help on using the repository browser.