<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" CodeBehind="App.master.cs" %> <% ViewState["orgtitle"] = Html.Translate(Page.Title); Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName; %>

<%=ViewState["orgtitle"]%> - "><%= YavscHelpers.SiteName %>

<% if (ViewData["Error"]!=null) { %>
<%= Html.Encode(ViewData["Error"]) %>
<% } if (ViewData["Message"]!=null) { %>
<%= Html.Encode(ViewData["Message"]) %>
<% } %>
"> <%=Html.Encode(YavscHelpers.SiteName) %>
Page d'accueil
<% if (Membership.GetUser()==null) { %>
<%= Html.ActionLink("Authentification", "Login", "Account", new { returnUrl=Request.Url.PathAndQuery },null) %> Pourquoi s'authentifier?

<% } else { %> Votre Blog
<%= Html.ActionLink(HttpContext.Current.User.Identity.Name, "Profile", "Account", new { id = HttpContext.Current.User.Identity.Name }, null) %> Édition de votre profile
Poster Édition d'un nouveau billet
<%= Html.ActionLink( "Deconnexion", "Logout", "Account", new { returnUrl=Request.Url.PathAndQuery }, null) %> <% } %>