root/trunk/eCard/eCardMVC/Platnosci/Views/Shared/LogOnUserControl.ascx @ 897

Wersja 897, 0.6 KB (wprowadzona przez alina, 16 years temu)

re #215 usuniecie informacji o zalogowanym userze

RevLine 
[866]1<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
2<%
3    if (Request.IsAuthenticated) {
4%>     
5        <asp:Label ID="lab2" runat="server" Text="<%$Resources:tlumaczenia,Wyloguj%>" Visible="false"></asp:Label>
6        <%string wylogujsie = lab2.Text; %>
7        [ <%= Html.ActionLink(wylogujsie, "LogOff", "Account") %> ]
8<%
9    }
10    else {
11%>      <asp:Label ID="lab3" runat="server" Text="<%$Resources:tlumaczenia,Zaloguj%>" Visible="false"></asp:Label>
12        <%string loginek = lab3.Text; %>
13        [ <%= Html.ActionLink(loginek, "LogOn", "Account") %> ]
14<%
15    }
16%>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.