Show
Ignore:
Timestamp:
09/04/08 01:49:59 (19 months ago)
Author:
bsmith
Message:

Many updates:
- deleted files: functions, rss, wlwmanifest
- updated form input classes: text and button
- moved Edit entry links to place before comment count
- reordered sidebar content to match default Sandbox
- Updated Blogroll links
- added Comments to page in <mt:Ignore> block
- small edits to comments
- added Sandbox***Class MT tags to comments and trackbacks
- simplified the comment form
- added pagination to search results
- simplified header
- added <span> to blog-title to add accessibility & styling hacks
- updated classes of various elements based upon updates to Sandbox for WP
- updated footer link to plugins.mt.org/sandbox
- localized a few phrases
- updated javascript to abstract "comment-greeting" id

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/comments.mtml

    r881 r1021  
    88                <ol> 
    99            </mt:CommentsHeader> 
    10                     <li id="comment-<$mt:CommentID$>" class=""> 
     10                    <li id="comment-<$mt:CommentID$>" class="<$mt:SandboxCommentClass$>"> 
    1111                        <div class="comment-author vcard"> 
    1212            <mt:IfCommentParent> 
     
    3232                <ol> 
    3333            </mt:PingsHeader> 
    34                     <li id="trackback-<$mt:PingID$>" class=""> 
     34                    <li id="trackback-<$mt:PingID$>" class="<$mt:SandboxTrackbackClass$>"> 
    3535                        <div class="comment-author">By <a href='<$mt:PingURL$>' rel='external nofollow'><$mt:PingBlogName$></a> <abbr class="published" title="<$mt:PingDate format_name="iso8601"$>"> on <$mt:PingDate format="%x"$> at <$mt:PingDate format="%X"$></abbr></div> 
    3636                        <p><strong><$mt:PingTitle$>&#8230;</strong></p> 
     
    4545    <mt:IfCommentsAccepted> 
    4646            <div id="respond"> 
    47                 <h3>Post a Comment</h3> 
     47                <h3><__trans phrase="Post a Comment"></h3> 
    4848                <div id="comment-greeting"></div> 
    4949                <div class="formcontainer"> 
    50                     <form method="post" action="<$mt:CGIPath$><$mt:CommentScript$>" name="comments_form" id="commentform" onsubmit="return mtCommentOnSubmit(this)"> 
     50                    <form id="commentform" action="<$mt:CGIPath$><$mt:CommentScript$>" method="post" name="comments_form" onsubmit="return mtCommentOnSubmit(this)"> 
    5151                        <input type="hidden" name="static" value="1" /> 
    5252                        <input type="hidden" name="entry_id" value="<$mt:EntryID$>" /> 
     
    5959 
    6060                        <div id="comment-form-commenter"> 
    61                             <div id="comment-form-name"> 
    62                                 <div class="form-label"><label for="author">Name</label> <span class="required">*</span></div> 
    63                                 <div class="form-input"><input id="author" name="author" type="text" value="<mt:If name="comment_preview"><$mt:CommentAuthor encode_html="1"$></mt:If>" size="30" tabindex="3" onfocus="mtCommentFormOnFocus()" /></div> 
    64                             </div> 
    65                             <div id="comment-form-email"> 
    66                                 <div class="form-label"><label for="email">Email</label> <span class="required">*</span></div> 
    67                                 <div class="form-input"><input id="email" name="email" type="text" value="<mt:If name="comment_preview"><$mt:CommentEmail encode_html="1"$></mt:If>" size="30" tabindex="4" onfocus="mtCommentFormOnFocus()" /></div> 
    68                             </div> 
    69                             <div id="comment-form-url"> 
    70                                 <div class="form-label"><label for="url">Website</label></div> 
    71                                 <div class="form-input"><input id="url" name="url" type="text" value="<mt:If name="comment_preview"><$mt:CommentURL encode_html="1"$></mt:If>" size="30" maxlength="50" tabindex="5" onfocus="mtCommentFormOnFocus()" /></div> 
    72                             </div> 
     61                            <div class="form-label"><label for="author"><__trans phrase="Name"></label> <span class="required">*</span></div> 
     62                            <div class="form-input"><input id="author" name="author" type="text" value="<mt:If name="comment_preview"><$mt:CommentAuthor encode_html="1"$></mt:If>" size="30" tabindex="3" onfocus="mtCommentFormOnFocus()" /></div> 
     63 
     64                            <div class="form-label"><label for="email"><__trans phrase="Email"></label> <span class="required">*</span></div> 
     65                            <div class="form-input"><input id="email" name="email" type="text" value="<mt:If name="comment_preview"><$mt:CommentEmail encode_html="1"$></mt:If>" size="30" tabindex="4" onfocus="mtCommentFormOnFocus()" /></div> 
     66 
     67                            <div class="form-label"><label for="url"><__trans phrase="Website"></label></div> 
     68                            <div class="form-input"><input id="url" name="url" type="text" value="<mt:If name="comment_preview"><$mt:CommentURL encode_html="1"$></mt:If>" size="30" maxlength="50" tabindex="5" onfocus="mtCommentFormOnFocus()" /></div> 
    7369                        </div> 
    7470                        <div id="comment-form-reply" style="display:none"> 
     
    7672                            <label for="comment-reply" id="comment-reply-label"></label> 
    7773                        </div> 
    78                         <div id="commenter-form-comment"> 
    79                             <div class="form-label"><label for="comment"><__trans phrase="Comments"> <mt:IfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></mt:IfAllowCommentHTML></label></div> 
    80                             <div class="form-textarea"><textarea id="comment" name="text" cols="45" rows="8" tabindex="6" onfocus="mtCommentFormOnFocus()"><mt:If name="comment_preview"><$mt:CommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></mt:If></textarea></div> 
    81                         </div> 
     74 
     75                        <div class="form-label"><label for="comment"><__trans phrase="Comments"> <mt:IfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></mt:IfAllowCommentHTML></label></div> 
     76                        <div class="form-textarea"><textarea id="comment" name="text" cols="45" rows="8" tabindex="6" onfocus="mtCommentFormOnFocus()"><mt:If name="comment_preview"><$mt:CommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></mt:If></textarea></div> 
     77 
    8278                        <div id="comments-form-captcha"></div> 
     79 
    8380                        <div id="form-submit"> 
    8481                            <input type="submit" accesskey="s" name="post" id="comment-submit" value="Submit" />