a working internationalization ...
This commit is contained in:
parent
0516ab585e
commit
333b6fd9d9
15 changed files with 670 additions and 123 deletions
|
|
@ -1,5 +1,8 @@
|
|||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<BlogEditEntryModel>" MasterPageFile="~/Models/App.master"%>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="head" ID="head1" runat="server" >
|
||||
<script type="text/javascript" src="/js/jquery-latest.js"></script>
|
||||
<script type="text/javascript" src="/js/rangyinputs-jquery-1.1.2.js"></script>
|
||||
</asp:Content>
|
||||
<asp:Content ContentPlaceHolderID="overHeaderOne" ID="headerContent" runat="server">
|
||||
<h1 class="blogtitle">
|
||||
<a href="/Blog/<%=ViewData["UserName"]%>">
|
||||
|
|
@ -7,10 +10,7 @@
|
|||
<%= Html.Encode(ViewData["BlogTitle"]) %> </a> -
|
||||
Nouveau billet -
|
||||
<a href="/"><%= Html.Encode(YavscHelpers.SiteName) %></a> </h1>
|
||||
|
||||
<div class="message">
|
||||
<%= Html.Encode(ViewData["Message"]) %>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
|
|
@ -36,8 +36,7 @@ Nouveau billet -
|
|||
<div>
|
||||
Usage BBcodes :
|
||||
<ul>
|
||||
<%
|
||||
foreach (string usage in BBCodeHelper.BBTagsUsage) { %>
|
||||
<% foreach (string usage in BBCodeHelper.BBTagsUsage) { %>
|
||||
<li><%= usage %></li>
|
||||
<% } %>
|
||||
</ul>
|
||||
|
|
@ -55,7 +54,16 @@ Nouveau billet -
|
|||
<%= Html.ValidationMessage("Preview", "*") %>
|
||||
<br/>
|
||||
<%= Html.Hidden("Id") %>
|
||||
<input type="button" id="btnpreview" value="<%=LocalizedText.Preview %>"/>
|
||||
<input type="submit"/>
|
||||
<input type="button" id="testbtn">
|
||||
<script language="Javascript">
|
||||
$(document).ready(function () {
|
||||
$("#testbtn").click(function () {
|
||||
$("#Content").replaceSelectedText("SOME NEW TEXT");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<% } %>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue