Show
Ignore:
Timestamp:
05/13/08 01:00:53 (19 months ago)
Author:
bsmith
Message:

bugzid:79309 - Adding reply checkbox to comment preview screen

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/default_templates/comment_preview.mtml

    r2310 r2313  
    3737                                            <span class="byline"> 
    3838                                                <mt:IfCommentParent> 
    39                                                     <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="<$MTCommentAuthorIdentity$> <span class="vcard author"><$MTCommentAuthorLink$></span>%%<mt:CommentParent><mt:CommentEntry><mt:entrypermalink></mt:CommentEntry>#comment-<$MTCommentID$></mt:CommentParent>%%<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>"> 
     39                                                    <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="<$MTCommentAuthorIdentity$> <span class="vcard author"><$MTCommentAuthorLink$></span>%%<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>%%<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>"> 
    4040                                                <mt:else> 
    4141                                                    <$MTCommentAuthorIdentity$> 
    4242                                                    <span class="vcard author"><$MTCommentAuthorLink$></span> 
    4343                                                </mt:IfCommentParent> 
    44                                                 | <a href="#comment-<$MTCommentID$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a> 
     44                                                | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a> 
    4545                                            </span> 
    4646                                        </div> 
     
    6464                                        <input type="hidden" name="entry_id" value="<$MTEntryID$>" /> 
    6565                                        <input type="hidden" name="__lang" value="<$MTBlogLanguage$>" /> 
    66                                         <mt:IfCommentParent> 
    67                                             <input type="hidden" name="parent_id" value="<mt:CommentParent><$MTCommentID$></mt:CommentParent>"> 
    68                                         </mt:IfCommentParent> 
     66<mt:IfCommentParent> 
     67                                            <input type="hidden" name="parent_id" value="<$mt:CommentParentId$>" id="comment-parent-id"> 
     68</mt:IfCommentParent> 
    6969                                        <div id="comments-open-data"> 
    7070                                            <div id="comment-form-name"> 
     
    8181                                            </div> 
    8282                                        </div> 
     83<mt:IfCommentParent> 
     84                                        <div id="comment-form-reply"> 
     85                                            <input type="checkbox" id="comment-reply" name="comment_reply" value="<$mt:CommentParentId$>" checked="checked" onclick="mtSetCommentParentID()" /> 
     86                                            <label for="comment-reply" id="comment-reply-label"><__trans phrase="Replying to comment from [_1]" params="<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>"></label> 
     87                                        </div> 
     88</mt:IfCommentParent> 
    8389                                        <div id="comments-open-text"> 
    8490                                            <label for="comment-text"><__trans phrase="Comments"> <MTIfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></MTIfAllowCommentHTML></label>