Changeset 2460

Show
Ignore:
Timestamp:
05/29/08 17:22:39 (18 months ago)
Author:
bchoate
Message:

Better escaping for entry title. BugId:79827

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-39/tmpl/cms/widget/blog_stats_comment.tmpl

    r2002 r2460  
    3838                </div> 
    3939                <div class="comment-meta"> 
    40                     <__trans phrase="[_1] [_2], [_3] on [_4]" params="<MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty>%%<$MTCommentAuthorLink default_name="Anonymous"$>%%<$MTCommentDate relative="1"$>%%<MTCommentEntry><MTEntryAuthorID setvar="entry_author_id"><MTIf name="editable"><a href="<$mt:var name="script_url"$>?__mode=view&amp;_type=<$MTEntryClass lower_case="1"$>&amp;id=<$MTEntryID$>&amp;blog_id=<$MTEntryBlogID$>"><$MTEntryTitle$></a><MTElse name="author_id" eq="$entry_author_id"><a href="<$mt:var name="script_url"$>?__mode=view&amp;_type=<$MTEntryClass lower_case="1"$>&amp;id=<$MTEntryID$>&amp;blog_id=<$MTEntryBlogID$>"><$MTEntryTitle$></a><MTElse><$MTEntryTitle$></MTIf></MTCommentEntry>"> 
     40                    <__trans phrase="[_1] [_2], [_3] on [_4]" params="<MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty>%%<$MTCommentAuthorLink default_name="Anonymous"$>%%<$MTCommentDate relative="1"$>%%<MTCommentEntry><MTEntryAuthorID setvar="entry_author_id"><MTIf name="editable"><a href="<$mt:var name="script_url"$>?__mode=view&amp;_type=<$MTEntryClass lower_case="1"$>&amp;id=<$MTEntryID$>&amp;blog_id=<$MTEntryBlogID$>"><$MTEntryTitle remove_html="1" encode_html="1" _default="..."$></a><MTElse name="author_id" eq="$entry_author_id"><a href="<$mt:var name="script_url"$>?__mode=view&amp;_type=<$MTEntryClass lower_case="1"$>&amp;id=<$MTEntryID$>&amp;blog_id=<$MTEntryBlogID$>"><$MTEntryTitle$></a><MTElse><$MTEntryTitle remove_html="1" encode_html="1" _default="..."$></MTIf></MTCommentEntry>"> 
    4141                    <MTIf name="editable">(<a href="<mt:var name="script_url">?__mode=view&amp;_type=comment&amp;id=<$MTCommentID$>&amp;blog_id=<$MTCommentBlogID$>"><__trans phrase="Edit Comment"></a>)<MTElse name="author_id" eq="$entry_author_id">(<a href="<mt:var name="script_url">?__mode=view&amp;_type=comment&amp;id=<$MTCommentID$>&amp;blog_id=<$MTCommentBlogID$>"><__trans phrase="Edit Comment"></a>)</MTIf> 
    4242                </div>