Mercurial > altnet-hispano
view Chaptcha del blog/ContentViewSingleItem.ascx @ 238:b43dc14886e3
Quitando ponente principal de la UI
author | nelopauselli |
---|---|
date | Tue, 04 Oct 2011 21:59:40 -0300 |
parents | cc0496faa8b0 |
children |
line wrap: on
line source
<%@ Control Language="C#" %> <%@ Register Assembly="Telerik.Cms.Engine" Namespace="Telerik.Cms.Engine.WebControls" TagPrefix="sfWeb" %> <%@ Register Assembly="Telerik.Cms.Web.UI" Namespace="Telerik.Web.UI.SpamProtection" TagPrefix="sfWeb" %> <%@ Register Assembly="Telerik.Cms.Web.UI" Namespace="Telerik.Cms.Web.UI" TagPrefix="sfWeb" %> <%@ Register Assembly="Telerik.Blogs" Namespace="Telerik.Blogs.WebControls" TagPrefix="sfWeb" %> <telerik:CssFileLink ID="CssFileLink1" EmbeddedFileName="Telerik.Blogs.Resources.ControlTemplates.Frontend.blogsCommonLayout.css" FileName="" Media="screen" runat="server" /> <telerik:JsFileLink id="jsLink" runat="server" ScriptType="jQuery" /> <asp:PlaceHolder ID="trackbackScript" runat="server"> </asp:PlaceHolder> <div class="sf_singlePost"> <p class="sf_back"> <asp:HyperLink ID="backToList1" Text="<%$Resources:GoBack %>" runat="server"></asp:HyperLink> </p> <h1 class="sf_postTitle"> <asp:Literal ID="Title" runat="server"></asp:Literal> </h1> <p class="sf_postAuthor"> <asp:Literal ID="Literal3" runat="server" Text="<%$Resources:Author %>"></asp:Literal> <asp:HyperLink ID="postedBy" runat="server"> <asp:Literal ID="Author" runat="server"></asp:Literal> </asp:HyperLink> </p> <p class="sf_postDate"> <telerik:DateTimeLiteral runat="server" ID="Publication_Date" DateFormatString="D"></telerik:DateTimeLiteral> </p> <asp:Panel ID="pnlContent" runat="server" CssClass="sf_postContent"> <asp:Literal ID="content" runat="server"></asp:Literal> </asp:Panel> <p class="sf_postCategory"> <asp:Literal ID="CategoryLiteral" runat="server" Text="<%$Resources:Category %>" />: <asp:HyperLink ID="Category" runat="server" /> </p> <p class="sf_postTags"> <asp:Repeater ID="Tags" runat="server"> <HeaderTemplate> <asp:Literal ID="TagsLiteral" runat="server" Text="<%$Resources:Tags %>" /> </HeaderTemplate> <ItemTemplate> <asp:HyperLink ID="tagLink" runat="server" /> </ItemTemplate> </asp:Repeater> </p> <asp:Repeater ID="Bookmarks" runat="server"> <HeaderTemplate><ul class="sf_socialBookmarks"></HeaderTemplate> <ItemTemplate> <li> <asp:HyperLink ID="BookmarkLink" runat="server"> <asp:Image ID="BookmarkImage" runat="server" /> </asp:HyperLink> </li> </ItemTemplate> <FooterTemplate></ul></FooterTemplate> </asp:Repeater> </div> <div class="sf_postComments"> <sfWeb:BlogCommentsList ID="commentsList" runat="server" CssClass="sf_commentsList" ValidationGroup="commentInfo"> <LayoutTemplate> <asp:Repeater ID="commentsRepeater" runat="Server"> <HeaderTemplate> <asp:PlaceHolder runat="server" ID="headerHolder"> <h2 class="sf_comments"> <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:Comments %>" /> <asp:Literal ID="commentsCount" runat="server"></asp:Literal> </h2> </asp:PlaceHolder> <ul class="sf_commentListing"> </HeaderTemplate> <ItemTemplate> <!-- comment goes here --> <sfWeb:CommentItem Id="anonCommentContainer" runat="server" CssClass="sf_anonymousComment" > <Template> <p class="sf_commentAuthor"> <strong> <asp:HyperLink ID="webSiteLink" runat="server" Visible="false" rel="nofollow"></asp:HyperLink> <asp:Literal runat="Server" ID="authorName" Visible="false"></asp:Literal> </strong> <%--<abbr class="date" id="commentDate" runat="server" > </abbr>--%> <telerik:DateTimeLiteral ID="commentDateLiteral" runat="server" DateFormatString="" /> </p> <asp:Label ID="text" runat="server"></asp:Label> </Template> </sfWeb:CommentItem> <sfWeb:CommentItem Id="authorCommentContainer" runat="server" CssClass="sf_authorComment"> <Template> <p class="sf_commentAuthor"> <strong> <asp:HyperLink ID="webSiteLink" runat="server" Visible="false" rel="nofollow"></asp:HyperLink> <asp:Literal runat="Server" ID="authorName" Visible="false" ></asp:Literal> </strong> <%--<abbr class="date" id="commentDate" runat="server"> </abbr>--%> <telerik:DateTimeLiteral ID="commentDateLiteral" runat="server" DateFormatString="" /> </p> <asp:Label ID="text" runat="server"></asp:Label> </Template> </sfWeb:CommentItem> </ItemTemplate> <FooterTemplate> </ul> </FooterTemplate> </asp:Repeater> <asp:PlaceHolder ID="moderationHolder" runat="server" Visible="false"> <p class="sf_commentMessage"> <asp:Literal ID="Literal2" runat="server" Text="<%$Resources:CommentMessageModeration %>"></asp:Literal> </p> </asp:PlaceHolder> <fieldset class="sf_postNewComment"> <legend>Post a comment!</legend> <ol> <li> <asp:Label ID="Label2" runat="Server" Text="<%$Resources:Name %>" AssociatedControlID="authorTxt"></asp:Label> <asp:TextBox ID="authorTxt" runat="server" size="30"></asp:TextBox> <asp:RequiredFieldValidator runat="server" ID="authorVal" ControlToValidate="authorTxt" ErrorMessage="<%$Resources:NameEmpty %>" Display="dynamic" CssClass="sf_commentsValidator"></asp:RequiredFieldValidator> </li> <li> <asp:Label ID="Label3" runat="Server" Text="<%$Resources:Email %>" AssociatedControlID="emailTxt"></asp:Label> <asp:TextBox ID="emailTxt" runat="server" size="30"></asp:TextBox> <asp:RegularExpressionValidator runat="server" ID="emailVal" ControlToValidate="emailTxt" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="<%$Resources:InvalidEmail %>" Display="dynamic" CssClass="sf_commentsValidator"></asp:RegularExpressionValidator> </li> <li> <asp:Label ID="Label4" runat="Server" Text="<%$Resources:WebSite %>" AssociatedControlID="webSiteTxt"></asp:Label> <asp:TextBox ID="webSiteTxt" runat="server" size="30"></asp:TextBox> </li> <li class="texarea-wrapper"> <asp:Label ID="Label1" runat="Server" Text="<%$Resources:Comment %>" AssociatedControlID="commentTxt"></asp:Label> <div> <a href="#" class="formattingOptionsToggleBtn" onclick='if($(this).parent().hasClass("formattingOptions")){$(this).parent().removeClass("formattingOptions");$(this).text("Formatting options");}else{$(this).parent().addClass("formattingOptions");$(this).text("Hide formatting options"); } return false;'>Formatting options</a> <telerik:RadEditor runat="server" ID="commentTxt" ToolsFile="~/Sitefinity/ControlTemplates/Blogs/ToolsFile.xml" EnableEmbeddedSkins="True" Skin="Default" Width="100%" EditModes="Design"> </telerik:RadEditor> </div> <asp:RequiredFieldValidator runat="server" ID="contentVal" ControlToValidate="commentTxt" ErrorMessage="<%$Resources:CommentEmpty %>" Display="dynamic" ValidationGroup="commentInfo" CssClass="sf_commentsValidator"> <strong>Message text is required</strong> </asp:RequiredFieldValidator> </li> <li> <sfWeb:SpamProtector id="spamProtector" runat="server" cssclass="commentsValidator hide" EnableCaptcha="true" CaptchaFontWarp="High" CaptchaBackgroundNoise="High" CaptchaLineNoise="High" enableautobotdiscovery="true" enablehiddentextboxstrategy="true" hiddentextboxerrormessage="Hidden TextBox has some text in it!" hiddentextboxlabel="Do not fill this textbox!" hiddentextboxlabelcssclass="hide" hiddentextboxinputcssclass="hide" enablemintimeoutstrategy="true" mintimeout="2" mintimeouterrormessage="Submission too fast!" /> <asp:Button ID="submitBtn" runat="server" Text="<%$Resources:PostThisComment %>" CssClass="sf_commentSubmit" /> </li> </ol> </fieldset> </LayoutTemplate> </sfWeb:BlogCommentsList> </div>