|
Wersja 939, 0.6 KB
(wprowadzona przez sylwek, 16 years temu)
|
|
re #195 - merged with latest trunk
|
| Line | |
|---|
| 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.