Mercurial > altnet-hispano
changeset 46:cc0496faa8b0
Captcha del blog de sitefinity
author | Nelo@Win7x64.cpe.telecentro.net.ar |
---|---|
date | Fri, 13 May 2011 17:56:58 -0300 |
parents | 2edc705aae0a |
children | dcd8fc8d479c |
files | Chaptcha del blog/App_LocalResources/CommentsList.ascx.resx Chaptcha del blog/App_LocalResources/ContentViewItemList.ascx.resx Chaptcha del blog/App_LocalResources/ContentViewSingleItem.ascx.resx Chaptcha del blog/ContentViewSingleItem.ascx Chaptcha del blog/readme.txt |
diffstat | 5 files changed, 638 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Chaptcha del blog/App_LocalResources/CommentsList.ascx.resx Fri May 13 17:56:58 2011 -0300 @@ -0,0 +1,153 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="Comments" xml:space="preserve"> + <value>Comments</value> + </data> + <data name="CommentMessageModeration" xml:space="preserve"> + <value>Thank you for the comment! Your comment must be approved first</value> + </data> + <data name="PostComment" xml:space="preserve"> + <value>Post a comment</value> + </data> + <data name="Comment" xml:space="preserve"> + <value>Comment: </value> + </data> + <data name="CommentEmpty" xml:space="preserve"> + <value><em>Comment</em> can't be empty!</value> + </data> + <data name="Name" xml:space="preserve"> + <value>Name: </value> + </data> + <data name="NameEmpty" xml:space="preserve"> + <value><em>Name</em> can't be empty!</value> + </data> + <data name="Email" xml:space="preserve"> + <value>Email (<em>optional</em>):</value> + </data> + <data name="InvalidEmail" xml:space="preserve"> + <value>Invalid email format!</value> + </data> + <data name="WebSite" xml:space="preserve"> + <value>Your URL (<em>optional</em>):</value> + </data> + <data name="PostThisComment" xml:space="preserve"> + <value>Submit</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Chaptcha del blog/App_LocalResources/ContentViewItemList.ascx.resx Fri May 13 17:56:58 2011 -0300 @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="GoBack" xml:space="preserve"> + <value>Go Back</value> + </data> + <data name="FullStory" xml:space="preserve"> + <value>Full story</value> + </data> + <data name="Comments" xml:space="preserve"> + <value>Comments</value> + </data> + <data name="Author" xml:space="preserve"> + <value>Posted by:</value> + </data> + <data name="Category" xml:space="preserve"> + <value>Category</value> + </data> + <data name="Tags" xml:space="preserve"> + <value>Tags</value> + </data> + <data name="PreviousPage" xml:space="preserve"> + <value>Previous page</value> + </data> + <data name="NextPage" xml:space="preserve"> + <value>Next page</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Chaptcha del blog/App_LocalResources/ContentViewSingleItem.ascx.resx Fri May 13 17:56:58 2011 -0300 @@ -0,0 +1,162 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <data name="GoBack" xml:space="preserve"> + <value>Go Back</value> + </data> + <data name="Author" xml:space="preserve"> + <value>Posted by:</value> + </data> + <data name="Category" xml:space="preserve"> + <value>Category</value> + </data> + <data name="Tags" xml:space="preserve"> + <value>Tags</value> + </data> + <data name="Comments" xml:space="preserve"> + <value>Comments</value> + </data> + <data name="CommentMessageModeration" xml:space="preserve"> + <value>Thank you for the comment! Your comment must be approved first</value> + </data> + <data name="Name" xml:space="preserve"> + <value>Name: </value> + </data> + <data name="NameEmpty" xml:space="preserve"> + <value><em>Name</em> can't be empty!</value> + </data> + <data name="Email" xml:space="preserve"> + <value>Email (<em>optional</em>):</value> + </data> + <data name="InvalidEmail" xml:space="preserve"> + <value>Invalid email format!</value> + </data> + <data name="WebSite" xml:space="preserve"> + <value>Your URL (<em>optional</em>):</value> + </data> + <data name="Comment" xml:space="preserve"> + <value>Comment: </value> + </data> + <data name="CommentEmpty" xml:space="preserve"> + <value><em>Comment</em> can't be empty!</value> + </data> + <data name="PostThisComment" xml:space="preserve"> + <value>Submit</value> + </data> +</root> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Chaptcha del blog/ContentViewSingleItem.ascx Fri May 13 17:56:58 2011 -0300 @@ -0,0 +1,178 @@ +<%@ 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>