Changeset 1021

Show
Ignore:
Timestamp:
09/04/08 01:49:59 (3 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:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Sandbox/plugins/Sandbox/config.yaml

    r1014 r1021  
    4343                    label: Styles 
    4444                    outfile: styles.css 
    45                 functions: 
    46                     label: PHP Functions 
    47                     outfile: functions.php 
    4845                javascript: 
    4946                    label: Javascript 
     
    5552                    label: RSD 
    5653                    outfile: rsd.xml 
    57                 rss: 
    58                     label: RSS 
    59                     outfile: rss.xml 
    6054            archive: 
    6155                archive:  
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/404.mtml

    r786 r1021  
    66    <div id="content"> 
    77 
    8         <div id="post-0" class="post error404"> 
     8        <div id="post-0" class="post error404 not-found"> 
    99            <h2 class="entry-title"><__trans phrase="Not Found"></h2> 
    1010            <div class="entry-content"> 
    11                 <p><__trans phrase="Apologies, but we were unable to find what you were looking for. Perhaps searching will help."></p> 
     11                <p><__trans phrase="Apologies, but we were unable to find what you were looking for. Perhaps searching will help."></p> 
    1212            </div> 
    13             <form id="error404-searchform" method="get" action="<$mt:CGIPath$><$mt:SearchScript$>"> 
     13            <form id="searchform-404" class="blog-search" method="get" action="<$mt:CGIPath$><$mt:SearchScript$>"> 
    1414                <div> 
    1515                    <input type="hidden" name="IncludeBlogs" value="<$mt:BlogID$>" /> 
    16                     <input id="error404-s" type="text" name="search" value="<$mt:SearchString$>" size="40" /> 
    17                     <input id="error404-searchsubmit" type="submit" accesskey="4" value="<__trans phrase="Find">" /> 
     16                    <input id="s-404" name="s" class="text" type="text" value="<$mt:SearchString$>" size="40" /> 
     17                    <input class="button" type="submit" value="<__trans phrase="Find">" /> 
    1818                </div> 
    1919            </form> 
    20         </div><!-- .page --> 
     20        </div><!-- .post --> 
    2121 
    2222    </div><!-- #content --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/archive.mtml

    r724 r1021  
    4646                    <span class="meta-sep">|</span> 
    4747                </mt:EntryIfTagged> 
     48                <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
     49                <span class="meta-sep">|</span> 
    4850                <span class="comments-link"><a href="<$mt:EntryPermalink$>#comments" title="<__trans phrase="Comment on [_1]" params="<$mt:EntryTitle$>">"><$mt:EntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></a></span> 
    49                 <span class="meta-sep">|</span> 
    50                 <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
    5151            </div> 
    5252        </div><!-- .post --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/archives.mtml

    r811 r1021  
    1111 
    1212                <ul id="archives-page" class="xoxo"> 
    13                     <li id="category-archives" class="content-column"
     13                    <li id="category-archives"
    1414                        <h3 class="archive-header"><__trans phrase="Archives by Category"></h3> 
    1515                        <mt:TopLevelCategories> 
     
    2929                        </mt:TopLevelCategories> 
    3030                    </li> 
    31                     <li id="monthly-archives" class="content-column"
     31                    <li id="monthly-archives"
    3232                        <mt:ArchiveList archive_type="Monthly"> 
    3333                            <mt:ArchiveListHeader> 
     
    4444 
    4545            </div> 
    46         </div><!-- .page --> 
     46        </div><!-- .post --> 
    4747 
    4848    </div><!-- #content --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/atom-entry.mtml

    r724 r1021  
    11<?xml version="1.0" encoding="<$mt:PublishCharset$>"?> 
    22<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xml:lang="en"> 
    3     <title>Comments for <$mt:ArchiveTitle remove_html="1" encode_xml="1"$></title> 
     3    <title><__trans phrase="Comments for [_1]" params="<$mt:ArchiveTitle remove_html="1" encode_xml="1"$>"></title> 
    44    <link rel="alternate" type="text/html" href="<$mt:ArchiveLink encode_xml="1"$>" /> 
    55    <link rel="self" type="application/atom+xml" href="<$mt:BlogURL$>atom.xml" /> 
     
    3333        <thr:in-reply-to ref="<$mt:EntryAtomID$>" type="text/html" href="<$mt:EntryPermalink encode_xml="1"$>"/> 
    3434        <link rel="alternate" type="text/html" href="<$mt:EntryPermalink encode_xml="1"$>#c<$mt:CommentID$>" /> 
    35         <title>Comment from <$mt:CommentAuthor encode_xml="1"$> on <$mt:CommentDate format="%Y-%m-%d"$></title> 
     35        <title><__trans phrase="Comment from [_1] on [_2]" params="<$mt:CommentAuthor encode_xml="1"$>%%<$mt:CommentDate format="%Y-%m-%d"$>"></title> 
    3636        <author> 
    3737            <name><$mt:CommentAuthor encode_xml="1"$></name> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/author.mtml

    r724 r1021  
    1010    <div id="content"> 
    1111 
    12         <h2 class="page-title author">Author Archives: <span class="vcard"><a class="url fn n" href="<$mt:AuthorURL$>" title="<$mt:ArchiveTitle$>" rel="me"><$mt:ArchiveTitle$></a></span></h2> 
     12        <h2 class="page-title author"><__trans phrase="Author Archives: [_1]" params="<span class="vcard"><a class="url fn n" href="<$mt:AuthorURL$>" title="<$mt:ArchiveTitle$>" rel="me"><$mt:ArchiveTitle$></a>"></span></h2> 
    1313        <div class="archive-meta"><a href="<$mt:AuthorURL$>"><$mt:AuthorURL$></a></div> 
    1414 
     
    3737                        <span class="meta-sep">|</span> 
    3838                    </mt:EntryIfTagged> 
     39                    <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
     40                    <span class="meta-sep">|</span> 
    3941                    <span class="comments-link"><a href="<$mt:EntryPermalink$>#comments" title="<__trans phrase="Comment on [_1]" params="<$mt:EntryTitle$>">"><$mt:EntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></a></span> 
    40                     <span class="meta-sep">|</span> 
    41                     <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
    4242                </div> 
    4343            </div><!-- .post --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/category.mtml

    r724 r1021  
    3939                        <span class="meta-sep">|</span> 
    4040                    </mt:EntryIfTagged> 
     41                    <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
     42                    <span class="meta-sep">|</span> 
    4143                    <span class="comments-link"><a href="<$mt:EntryPermalink$>#comments" title="<__trans phrase="Comment on [_1]" params="<$mt:EntryTitle$>">"><$mt:EntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></a></span> 
    42                     <span class="meta-sep">|</span> 
    43                     <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
    4444                </div> 
    4545            </div><!-- .post --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/comment_preview.mtml

    r748 r1021  
    3131                    <div id="comment-greeting"></div> 
    3232                    <div class="formcontainer"> 
    33                         <form method="post" action="<$mt:CGIPath$><$mt:CommentScript$>" name="comments_form" id="commentform" onsubmit="return mtCommentOnSubmit(this)"> 
     33                        <form id="commentform" action="<$mt:CGIPath$><$mt:CommentScript$>" method="post" name="comments_form" onsubmit="return mtCommentOnSubmit(this)"> 
    3434                            <input type="hidden" name="static" value="1" /> 
    3535                            <input type="hidden" name="entry_id" value="<$mt:EntryID$>" /> 
     
    4242 
    4343                            <div id="comment-form-commenter"> 
    44                                 <div id="comment-form-name"> 
    45                                     <div class="form-label"><label for="author"><__trans phrase="Name"></label> <span class="required">*</span></div> 
    46                                     <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> 
    47                                 </div> 
    48                                 <div id="comment-form-email"> 
    49                                     <div class="form-label"><label for="email"><__trans phrase="Email"></label> <span class="required">*</span></div> 
    50                                     <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> 
    51                                 </div> 
    52                                 <div id="comment-form-url"> 
    53                                     <div class="form-label"><label for="url"><__trans phrase="Website"></label></div> 
    54                                     <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> 
    55                                 </div> 
     44                                <div class="form-label"><label for="author"><__trans phrase="Name"></label> <span class="required">*</span></div> 
     45                                <div class="form-input"><input id="author" class="required text" name="author" type="text" value="<mt:If name="comment_preview"><$mt:CommentAuthor encode_html="1"$></mt:If>" size="30" tabindex="3" onfocus="mtCommentFormOnFocus()" /></div> 
     46 
     47                                <div class="form-label"><label for="email"><__trans phrase="Email"></label> <span class="required">*</span></div> 
     48                                <div class="form-input"><input id="email" class="required text" name="email" type="text" value="<mt:If name="comment_preview"><$mt:CommentEmail encode_html="1"$></mt:If>" size="30" tabindex="4" onfocus="mtCommentFormOnFocus()" /></div> 
     49 
     50                                <div class="form-label"><label for="url"><__trans phrase="Website"></label></div> 
     51                                <div class="form-input"><input id="url" class="text" 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> 
    5652                            </div> 
    5753                            <div id="comment-form-reply" style="display:none"> 
     
    5955                                <label for="comment-reply" id="comment-reply-label"></label> 
    6056                            </div> 
    61                             <div id="commenter-form-comment"> 
    62                                 <div class="form-label"><label for="comment"><__trans phrase="Comments"> <em><mt:IfAllowCommentHTML><__trans phrase="You may use HTML tags for style"></mt:IfAllowCommentHTML></em></label></div> 
    63                                 <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> 
    64                             </div> 
     57 
     58                            <div class="form-label"><label for="comment"><__trans phrase="Comments"> <em><mt:IfAllowCommentHTML><__trans phrase="You may use HTML tags for style"></mt:IfAllowCommentHTML></em></label></div> 
     59                            <div class="form-textarea"><textarea id="comment" class="required text" 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> 
     60 
    6561                            <div id="comments-form-captcha"></div> 
     62 
    6663                            <div id="form-submit"> 
    67                                 <input type="submit" accesskey="s" name="post" id="comment-submit" value="Submit" /> 
    68                                 <input type="submit" accesskey="v" name="preview_button" id="comment-preview" value="Preview" onclick="this.form.preview.value='1';" /> 
     64                                <input type="submit" accesskey="s" name="post" id="comment-submit" class="button" value="Submit" /> 
     65                                <input type="submit" accesskey="v" name="preview_button" id="comment-preview" class="button" value="Preview" onclick="this.form.preview.value='1';" /> 
    6966                            </div> 
    7067 
     
    8279            </div><!-- #comments --> 
    8380 
    84         </div><!-- .page --> 
     81        </div><!-- .post --> 
    8582 
    8683    </div><!-- #content --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/comment_response.mtml

    r811 r1021  
    2626 
    2727            </div> 
    28         </div><!-- .page --> 
     28        </div><!-- .post --> 
    2929 
    3030    </div><!-- #content --> 
  • 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" /> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/dynamic_error.mtml

    r786 r1021  
    66    <div id="content"> 
    77 
    8         <div id="post-0" class="post error404"> 
     8        <div id="post-0" class="post error404 not-found"> 
    99            <h2 class="entry-title"><__trans phrase="Page Not Found"></h2> 
    1010            <div class="entry-content"> 
     
    1515                </mt:If> 
    1616            </div> 
    17             <form id="error404-searchform" method="get" action="<$mt:CGIPath$><$mt:SearchScript$>"> 
     17            <form id="searchform-404" class="blog-search" method="get" action="<$mt:CGIPath$><$mt:SearchScript$>"> 
    1818                <div> 
    1919                    <input type="hidden" name="IncludeBlogs" value="<$mt:BlogID$>" /> 
    20                     <input id="error404-s" type="text" name="search" value="<$mt:SearchString$>" size="40" /> 
    21                     <input id="error404-searchsubmit" type="submit" accesskey="4" value="<__trans phrase="Find">" /> 
     20                    <input id="s-404" name="s" class="text" type="text" value="<$mt:SearchString$>" size="40" /> 
     21                    <input class="button" type="submit" value="<__trans phrase="Find">" /> 
    2222                </div> 
    2323            </form> 
    24         </div><!-- .page --> 
     24        </div><!-- .post --> 
    2525 
    2626    </div><!-- #content --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/footer.mtml

    r1006 r1021  
    22        <span id="generator-link"><__trans phrase="_POWERED_BY"></span> 
    33        <span class="meta-sep">|</span> 
    4         <span id="theme-link"><a href="http://www.beausmith.com/mt/sandbox/" title="Sandbox for Movable Type" rel="designer">Sandbox</a></span> 
     4        <span id="theme-link"><a href="http://plugins.movabletype.com/sandbox/"><__trans phrase="Sandbox Template Set for Movable Type"></a></span> 
    55    </div><!-- #footer --> 
    66</div><!-- #wrapper .hfeed --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/header.mtml

    r1009 r1021  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    2 <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="sandbox-standard"> 
     2<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" id="sandbox"> 
    33<head profile="http://gmpg.org/xfn/11"> 
     4    <title><$mt:Var name="title"$></title> 
    45    <meta http-equiv="Content-Type" content="text/html; charset=<$mt:PublishCharset$>" /> 
    5     <title><$mt:Var name="title"$></title> 
    6     <meta name="description" content="<mt:If tag="BlogDescription"><$mt:BlogDescription$><mt:Else>Just another awesome Movable Type theme.</mt:If>" /> 
    7     <meta name="generator" content="<$mt:ProductName version="1"$>" /><!-- Please leave for stats --> 
    86    <link rel="stylesheet" href="<$mt:Link template="styles"$>" type="text/css" /> 
     7    <meta name="description" content="<$mt:BlogDescription _default="<__trans phrase="Just another awesome blog published with Movable Type.">"$>" /> 
     8    <meta name="generator" content="<$mt:ProductName version="1"$>" /> 
    99    <link rel="alternate" type="application/atom+xml" title="Atom" href="<$mt:Link template="atom"$>" /> 
    1010    <link rel="start" href="<$mt:BlogURL$>" title="Home" /> 
     
    1212    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$mt:Link template="rsd"$>" /> 
    1313    <meta name='robots' content='noindex,follow' /> 
    14     <!-- <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://reverse.local/wp/wp-includes/wlwmanifest.xml" />  --> 
    1514</mt:If> 
    1615    <$mt:CCLicenseRDF$> 
     
    1918</head> 
    2019<body id="<$mt:BlogTemplateSetID$>" class="<$mt:SandboxBodyClass$> <mt:if name="system_template"><$mt:Date format="d%d m%m y%Y h%H"$><mt:else><?php echo date("\dd \mm \yY \hH"); ?></mt:if> <$mt:Var name="page_layout"$>"> 
     20 
    2121<div id="wrapper" class="hfeed"> 
     22 
    2223    <div id="header"> 
    23         <h1 id="blog-title"><a href="<$mt:BlogURL$>" title="<$mt:BlogName encode_html="1"$>" rel="home"><$mt:BlogName encode_html="1"$></a></h1> 
     24        <h1 id="blog-title"><span><a href="<$mt:BlogURL$>" title="<$mt:BlogName encode_html="1"$>" rel="home"><$mt:BlogName encode_html="1"$></a></span></h1> 
    2425        <mt:If tag="BlogDescription"><div id="blog-description"><$mt:BlogDescription$></div></mt:If> 
    2526    </div><!--  #header --> 
     27 
    2628    <div id="access"> 
    2729        <div class="skip-link"><a href="#content" title="<__trans phrase="Skip navigation to the content">"><__trans phrase="Skip to content"></a></div> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/index.mtml

    r881 r1021  
    3131                    <span class="meta-sep">|</span> 
    3232                </mt:EntryIfTagged> 
     33                <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
     34                <span class="meta-sep">|</span> 
    3335                <span class="comments-link"><a href="<$mt:EntryPermalink$>#comments" title="<__trans phrase="Comment on [_1]" params="<$mt:EntryTitle$>">"><$mt:EntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></a></span> 
    34                 <span class="meta-sep">|</span> 
    35                 <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
    3636            </div> 
    3737        </div><!-- .post --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/javascript.mtml

    r836 r1021  
    33<$mt:Var name="comments-open-footer" value="form-submit"$> 
    44<$mt:Var name="comments-open-captcha" value="comments-form-captcha"$> 
     5<$mt:Var name="comment-greeting" value="comment-greeting"$> 
    56 
    67// The cookie name to use for storing the blog-side comment session cookie. 
     
    554555    if (!cf) return; 
    555556 
    556     var el = document.getElementById('comment-greeting'); 
     557    var el = document.getElementById('<$mt:Var name="comment-greeting"$>'); 
    557558    if (!el)  // legacy MT 4.x element id 
    558559        el = document.getElementById('comment-form-external-auth'); 
     
    587588    } else { 
    588589        if (reg_reqd) { 
    589             phrase = "<p id=\"comment-notes\"><__trans phrase="[_1]Sign in[_2] to comment." params="<a href="javascript:void(0)" onclick="return mtSignInOnClick('comment-greeting')">%%</a>" escape="js"></p>"; 
     590            phrase = "<p id=\"comment-notes\"><__trans phrase="[_1]Sign in[_2] to comment." params="<a href="javascript:void(0)" onclick="return mtSignInOnClick('<$mt:Var name="comment-greeting"$>')">%%</a>" escape="js"></p>"; 
    590591        } else { 
    591             phrase = "<p id=\"comment-notes\"><__trans phrase="[_1]Sign in[_2] to comment, or comment anonymously. Your email is <em>never</em> published nor shared. Required fields are marked <span class="required">*</span>" params="<a href="javascript:void(0)" onclick="return mtSignInOnClick('comment-greeting')">%%</a>" escape="js"></p>"; 
     592            phrase = "<p id=\"comment-notes\"><__trans phrase="[_1]Sign in[_2] to comment, or comment anonymously. Your email is <em>never</em> published nor shared. Required fields are marked <span class="required">*</span>" params="<a href="javascript:void(0)" onclick="return mtSignInOnClick('<$mt:Var name="comment-greeting"$>')">%%</a>" escape="js"></p>"; 
    592593        } 
    593594    } 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/page.mtml

    r748 r1021  
    1818        </div><!-- .post --> 
    1919 
     20<mt:Ignore> 
     21<!-- Remove the mt:Ignore tags and this comment to have comments on pages --> 
     22<$mt:Include module="<__trans phrase="Comments">"$> 
     23</mt:Ignore> 
     24 
    2025    </div><!-- #content --> 
    2126</div><!-- #container --> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/search_results.mtml

    r724 r1021  
    8484<mt:SearchResults> 
    8585    <mt:SearchResultsHeader> 
    86                                 <div id="search-results" class="search-results-container autopagerize_page_element"> 
     86                <div id="nav-above" class="navigation"> 
     87                    <mt:IfPreviousResults><div class="nav-previous"><a href="<$mt:PreviousLink$>" rel="prev" onclick="return swapContent(-1);"><span class="meta-nav">&laquo;</span> <__trans phrase="Previous"></a><mt:else><span class="meta-nav">&laquo;</span> <__trans phrase="Previous"></div></mt:IfPreviousResults> 
     88<mt:Ignore> 
     89<!-- In addition to previous and next, Movable Type provides links to all pages of search results --> 
     90                    <span class="meta-nav">&nbsp;&nbsp;</span> 
     91                    <div class="nav-results"><mt:PagerBlock><mt:IfCurrentPage><$mt:Var name="__value__"$><mt:Else><a href="<$mt:PagerLink$>"><$mt:Var name="__value__"$></a></mt:IfCurrentPage><mt:Unless name="__last__">&nbsp;</mt:Unless></mt:PagerBlock></div> 
     92                    <span class="meta-nav">&nbsp;&nbsp;</span> 
     93</mt:Ignore> 
     94                    <mt:IfMoreResults><div class="nav-next"><a href="<$mt:NextLink$>" rel="next" onclick="return swapContent();"><__trans phrase="Next"> <span class="meta-nav">&raquo;</span></a><mt:else><__trans phrase="Next"> <span class="meta-nav">&raquo;</span></div></mt:IfMoreResults> 
     95                </div> 
     96 
     97                <div id="search-results" class="search-results-container autopagerize_page_element"> 
    8798    </mt:SearchResultsHeader> 
    88                                     <div id="post-<$mt:EntryID$>" class="<$mt:SandboxEntryClass$>"> 
    89                                         <h3 class="entry-title"><a href="<$mt:EntryPermalink$>" title="<__trans phrase="Permalink to [_1]" params="<$mt:EntryTitle$>">" rel="bookmark"><$mt:EntryTitle$></a></h3> 
    90                                         <div class="entry-date"><abbr class="published" title="<$mt:EntryDate format_name="iso8601"$>"><$mt:EntryDate format="%x &#8211; %X"$></abbr></div> 
    91                                         <div class="entry-content"> 
    92                                             <$mt:EntryExcerpt$> 
    93                                             <a href="<$mt:EntryPermalink$>"><__trans phrase="Read More"> <span class="meta-nav">&raquo;</span></a> 
    94                                         </div> 
    95                                         <div class="entry-meta"> 
    96                                             <mt:Unless name="author_archive"><span class="author vcard"><a class="url fn n" href="<$mt:EntryLink archive_type="Author"$>" title="View all posts by <$mt:EntryAuthorDisplayName$>"><$mt:EntryAuthorDisplayName$></a></span></mt:Unless> 
    97                                             <span class="meta-sep">|</span> 
    98                                             <mt:If tag="EntryCategory"> 
    99                                                 <span class="cat-links"><__trans phrase="Posted in [_1]" params="<mt:EntryCategories glue=', '><a href="<$mt:CategoryArchiveLink$>" rel="tag"><$mt:CategoryLabel$></a></mt:EntryCategories>"></span> 
    100                                                 <span class="meta-sep">|</span> 
    101                                             </mt:If> 
    102                                             <mt:EntryIfTagged> 
    103                                                 <span class="tag-links"><__trans phrase="Tagged [_1]" params="<mt:EntryTags glue=", "><a href="javascript:void(0)" onclick="location.href='<$mt:TagSearchLink encode_js="1"$>';return false;" rel="tag"><$mt:TagName$></a></mt:EntryTags>"></span> 
    104                                                 <span class="meta-sep">|</span> 
    105                                             </mt:EntryIfTagged> 
    106                                             <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
    107                                         </div> 
    108                                     </div><!-- .post --> 
     99                    <div id="post-<$mt:EntryID$>" class="<$mt:SandboxEntryClass$>"> 
     100                        <h3 class="entry-title"><a href="<$mt:EntryPermalink$>" title="<__trans phrase="Permalink to [_1]" params="<$mt:EntryTitle$>">" rel="bookmark"><$mt:EntryTitle$></a></h3> 
     101                        <div class="entry-date"><abbr class="published" title="<$mt:EntryDate format_name="iso8601"$>"><$mt:EntryDate format="%x &#8211; %X"$></abbr></div> 
     102                        <div class="entry-content"> 
     103                            <$mt:EntryExcerpt$> 
     104                            <a href="<$mt:EntryPermalink$>"><__trans phrase="Read More"> <span class="meta-nav">&raquo;</span></a> 
     105                        </div> 
     106                        <div class="entry-meta"> 
     107                            <mt:Unless name="author_archive"><span class="author vcard"><a class="url fn n" href="<$mt:EntryLink archive_type="Author"$>" title="View all posts by <$mt:EntryAuthorDisplayName$>"><$mt:EntryAuthorDisplayName$></a></span></mt:Unless> 
     108                            <span class="meta-sep">|</span> 
     109                            <mt:If tag="EntryCategory"> 
     110                                <span class="cat-links"><__trans phrase="Posted in [_1]" params="<mt:EntryCategories glue=', '><a href="<$mt:CategoryArchiveLink$>" rel="tag"><$mt:CategoryLabel$></a></mt:EntryCategories>"></span> 
     111                                <span class="meta-sep">|</span> 
     112                            </mt:If> 
     113                            <mt:EntryIfTagged> 
     114                                <span class="tag-links"><__trans phrase="Tagged [_1]" params="<mt:EntryTags glue=", "><a href="javascript:void(0)" onclick="location.href='<$mt:TagSearchLink encode_js="1"$>';return false;" rel="tag"><$mt:TagName$></a></mt:EntryTags>"></span> 
     115                                <span class="meta-sep">|</span> 
     116                            </mt:EntryIfTagged> 
     117                            <span class="edit-link"><a href="<$mt:AdminCGIPath$>mt.cgi?__mode=view&amp;_type=entry&amp;id=<$mt:EntryID$>&amp;blog_id=<$mt:EntryBlogID$>" title="<__trans phrase="Edit post">"><__trans phrase="Edit"></a></span> 
     118<mt:Ignore> 
     119<!-- Counts in search results cause searching to take longer. Only enable if necessary. --> 
     120                            <span class="meta-sep">|</span> 
     121                            <span class="comments-link"><a href="<$mt:EntryPermalink$>#comments" title="<__trans phrase="Comment on [_1]" params="<$mt:EntryTitle$>">"><$mt:EntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></a></span> 
     122</mt:Ignore> 
     123                        </div> 
     124                    </div><!-- .post --> 
    109125    <mt:SearchResultsFooter> 
    110                                 </div><div class="autopagerize_insert_before"></div> 
    111                                 <div id="nav-below" class="navigation"> 
    112                                     <mt:IfPreviousResults><a href="<$mt:PreviousLink$>" rel="prev" onclick="return swapContent(-1);">&lt; <__trans phrase="Previous"></a><mt:else>&lt; <__trans phrase="Previous"></mt:IfPreviousResults>&nbsp;&nbsp;<mt:PagerBlock><mt:IfCurrentPage><$mt:Var name="__value__"$><mt:Else><a href="<$mt:PagerLink$>"><$mt:Var name="__value__"$></a></mt:IfCurrentPage><mt:Unless name="__last__">&nbsp;</mt:Unless></mt:PagerBlock>&nbsp;&nbsp;<mt:IfMoreResults><a href="<$mt:NextLink$>" rel="next" onclick="return swapContent();"><__trans phrase="Next"> &gt;</a><mt:else><__trans phrase="Next"> &gt;</mt:IfMoreResults> 
    113                                 </div> 
     126                </div><div class="autopagerize_insert_before"></div> 
     127 
     128                <div id="nav-below" class="navigation"> 
     129                    <mt:IfPreviousResults><div class="nav-previous"><a href="<$mt:PreviousLink$>" rel="prev" onclick="return swapContent(-1);"><span class="meta-nav">&laquo;</span> <__trans phrase="Previous"></a><mt:else><span class="meta-nav">&laquo;</span> <__trans phrase="Previous"></div></mt:IfPreviousResults> 
     130<mt:Ignore> 
     131<!-- In addition to previous and next, Movable Type provides links to all pages of search results --> 
     132                    <span class="meta-nav">&nbsp;&nbsp;</span> 
     133                    <div class="nav-results"><mt:PagerBlock><mt:IfCurrentPage><$mt:Var name="__value__"$><mt:Else><a href="<$mt:PagerLink$>"><$mt:Var name="__value__"$></a></mt:IfCurrentPage><mt:Unless name="__last__">&nbsp;</mt:Unless></mt:PagerBlock></div> 
     134                    <span class="meta-nav">&nbsp;&nbsp;</span> 
     135</mt:Ignore> 
     136                    <mt:IfMoreResults><div class="nav-next"><a href="<$mt:NextLink$>" rel="next" onclick="return swapContent();"><__trans phrase="Next"> <span class="meta-nav">&raquo;</span></a><mt:else><__trans phrase="Next"> <span class="meta-nav">&raquo;</span></div></mt:IfMoreResults> 
     137                </div> 
    114138    </mt:SearchResultsFooter> 
    115139</mt:SearchResults> 
  • trunk/Sandbox/plugins/Sandbox/templates/sandbox/sidebar.mtml

    r889 r1021  
    11<div id="primary" class="sidebar"> 
    22    <ul class="xoxo"> 
    3 <mt:IfArchiveTypeEnabled archive_type="Monthly"> 
    4     <mt:ArchiveList archive_type="Monthly"> 
    5         <mt:ArchiveListHeader> 
    6         <li id="archives"> 
    7             <h3><__trans phrase="[_1] <a href="[_2]">Archives</a>" params="<$mt:ArchiveTypeLabel$>%%<$mt:Link template="archives"$>"></h3> 
    8             <ul> 
    9         </mt:ArchiveListHeader> 
    10                 <li><a href="<$mt:ArchiveLink$>"><__trans phrase="[_1] ([_2])" params="<$mt:ArchiveTitle$>%%<$mt:ArchiveCount$>"></a></li> 
    11         <mt:ArchiveListFooter> 
    12             </ul> 
    13         </li> 
    14         </mt:ArchiveListFooter> 
    15     </mt:ArchiveList> 
    16 </mt:IfArchiveTypeEnabled> 
    173<mt:IfArchiveTypeEnabled archive_type="Page"> 
    184        <li id="pages"> 
     
    5945        </li> 
    6046</mt:IfArchiveTypeEnabled> 
     47<mt:IfArchiveTypeEnabled archive_type="Monthly"> 
     48    <mt:ArchiveList archive_type="Monthly"> 
     49        <mt:ArchiveListHeader> 
     50        <li id="archives"> 
     51            <h3><__trans phrase="[_1] <a href="[_2]">Archives</a>" params="<$mt:ArchiveTypeLabel$>%%<$mt:Link template="archives"$>"></h3> 
     52            <ul> 
     53        </mt:ArchiveListHeader> 
     54                <li><a href="<$mt:ArchiveLink$>"><__trans phrase="[_1] ([_2])" params="<$mt:ArchiveTitle$>%%<$mt:ArchiveCount$>"></a></li> 
     55        <mt:ArchiveListFooter> 
     56            </ul> 
     57        </li> 
     58        </mt:ArchiveListFooter> 
     59    </mt:ArchiveList> 
     60</mt:IfArchiveTypeEnabled> 
    6161<mt:IfArchiveTypeEnabled archive_type="Author"> 
    6262    <mt:ArchiveList archive_type="Author"> 
     
    7575    </ul> 
    7676</div><!-- #primary .sidebar --> 
     77 
    7778<div id="secondary" class="sidebar"> 
    7879    <ul class="xoxo"> 
     
    8182            <form id="searchform" method="get" action="<$mt:CGIPath$><$mt:SearchScript$>"> 
    8283                <div> 
    83                 <input id="s" type="text" name="search" size="10" value="<$mt:SearchString$>" /> 
     84                <input id="s" class="text" type="text" name="search" size="10" value="<$mt:SearchString$>" /> 
    8485<mt:If name="search_results"> 
    8586                <input type="hidden" name="IncludeBlogs" value="<$mt:SearchIncludeBlogs$>" /> 
     
    8788                <input type="hidden" name="IncludeBlogs" value="<$mt:BlogID$>" /> 
    8889</mt:If> 
    89                 <input id="searchsubmit" type="submit" accesskey="4" value="<__trans phrase="Search">" /> 
     90                <input id="searchsubmit" class="button" type="submit" accesskey="4" value="<__trans phrase="Search">" /> 
    9091                </div> 
    9192            </form> 
    9293