Changeset 1698
- Timestamp:
- 04/02/08 00:40:26 (8 months ago)
- Files:
-
- branches/release-32/default_templates/archive_index.mtml (modified) (1 diff)
- branches/release-32/default_templates/comment_detail.mtml (modified) (1 diff)
- branches/release-32/default_templates/entry.mtml (modified) (2 diffs)
- branches/release-32/default_templates/entry_listing.mtml (modified) (3 diffs)
- branches/release-32/default_templates/header.mtml (modified) (2 diffs)
- branches/release-32/default_templates/javascript.mtml (modified) (1 diff)
- branches/release-32/default_templates/page.mtml (modified) (2 diffs)
- branches/release-32/default_templates/search_results.mtml (modified) (2 diffs)
- branches/release-32/default_templates/trackbacks.mtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-32/default_templates/archive_index.mtml
r1463 r1698 1 <MTSetVar name="body_class" value="mt-archive-index">2 1 <MTSetVar name="archive_index" value="1"> 3 <MTSetVar name="module_about_context" value="1">4 2 <MTSetVarBlock name="page_title"><__trans phrase="Archives"></MTSetVarBlock> 5 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MT GetVar name="page_title"$></MTSetVarBlock>3 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></MTSetVarBlock> 6 4 7 <$MTInclude module="<__trans phrase="Header">" $>5 <$MTInclude module="<__trans phrase="Header">" body_class="mt-archive-index"$> 8 6 9 <h1 id="page-title" class="archive-title"><$MT GetVar name="page_title"$></h1>7 <h1 id="page-title" class="archive-title"><$MTVar name="page_title"$></h1> 10 8 11 9 <MTIfArchiveTypeEnabled archive_type="Individual"> branches/release-32/default_templates/comment_detail.mtml
r1561 r1698 6 6 <__trans phrase="By"> <span class="vcard author"><$MTCommentAuthorLink default_name="Anonymous" show_email="0"$></span><MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty> 7 7 <MTCommentParent> 8 <__trans phrase="replied to"> <a href="#comment-<$MTCommentID$>">< MTCommentAuthor></a>8 <__trans phrase="replied to"> <a href="#comment-<$MTCommentID$>"><$MTCommentAuthor$></a> 9 9 </MTCommentParent> 10 10 <__trans phrase="on"> <a href="#comment-<$MTCommentID$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a> branches/release-32/default_templates/entry.mtml
r1463 r1698 1 <MTSetVar name="body_class" value="mt-archive-listing mt-entry-archive">2 <MTSetVar name="module_about_context" value="1">3 1 <MTIfCommentsAccepted><$MTSetVar name="body_onload" value="individualArchivesOnLoad(commenter_name)"$></MTIfCommentsAccepted> 4 <MTSetVarBlock name="page_title"><$MTEntryTitle$></MTSetVarBlock> 5 <MTSetVarBlock name="title"><$MTGetVar name="page_title"$> - <$MTBlogName encode_html="1"$></MTSetVarBlock> 2 <MTSetVarBlock name="title"><$MTEntryTitle encode_html="1"$> - <$MTBlogName encode_html="1"$></MTSetVarBlock> 6 3 <MTSetVarBlock name="html_head"> 7 4 <MTEntryPrevious><link rel="prev" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>" /></MTEntryPrevious> … … 11 8 </MTSetVarBlock> 12 9 13 <$MTInclude module="<__trans phrase="Header">" $>10 <$MTInclude module="<__trans phrase="Header">" body_class="mt-entry-archive"$> 14 11 15 12 <$MTInclude module="<__trans phrase="Entry Detail">"$> branches/release-32/default_templates/entry_listing.mtml
r1463 r1698 1 <MTSetVarBlock name="body_class">mt-archive-listing mt-<MTVar name="archive_class"></MTSetVarBlock>2 <MTSetVar name="module_about_context" value="1">3 1 <MTSetVarBlock name="page_title"><__trans phrase="[_1] Archives" params="<$MTArchiveTitle$>"></MTSetVarBlock> 4 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MT GetVar name="page_title"$></MTSetVarBlock>2 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></MTSetVarBlock> 5 3 <MTUnless name="datebased_archive"><$mt:setvar name="limit" value="auto"$></MTUnless> 6 4 <MTIf name="datebased_archive"> … … 11 9 </MTIf> 12 10 13 <$MTInclude module="<__trans phrase="Header">"$> 11 <MTSetVarBlock name="body_class">mt-archive-listing mt-<MTVar name="archive_class"></MTSetVarBlock> 12 <$MTInclude module="<__trans phrase="Header">" body_class="$body_class"$> 14 13 15 14 <h1 id="page-title" class="archive-title"> … … 21 20 </MTIfArchiveType> 22 21 <MTElse> 23 <$MT GetVar name="page_title"$>22 <$MTVar name="page_title"$> 24 23 </MTUnless> 25 24 </h1> branches/release-32/default_templates/header.mtml
r1463 r1698 3 3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard"> 4 4 <head> 5 <title><$ mt:var name="title"$></title>5 <title><$MTVar name="title"$></title> 6 6 <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /> 7 7 <meta name="generator" content="<$MTProductName version="1"$>" /> … … 10 10 <link rel="alternate" type="application/atom+xml" title="Recent Entries" href="<$MTLink template="feed_recent"$>" /> 11 11 <$MTCCLicenseRDF$> 12 <$ mt:var name="html_head"$>12 <$MTVar name="html_head"$> 13 13 </head> 14 14 <body class="<MTIf name="body_class"><$MTVar name="body_class"$> </MTIf><$MTVar name="page_layout"$>"<MTIf name="body_onload"> onload="<$MTVar name="body_onload"$>"</MTIf>> branches/release-32/default_templates/javascript.mtml
r1671 r1698 126 126 } else { 127 127 <MTIfRegistrationRequired> 128 var phrase = '<__trans phrase="[_1]Sign in[_2] to comment on this entry." params="<a href="<$MTCGIPath$><$MTCommentScript$>?__mode=login&entry_id=' + entry_id + '&blog_id=' + blog_id + '&static=1 ">%%</a>">';128 var phrase = '<__trans phrase="[_1]Sign in[_2] to comment on this entry." params="<a href="<$MTCGIPath$><$MTCommentScript$>?__mode=login&entry_id=' + entry_id + '&blog_id=' + blog_id + '&static=1&return_to=' + encodeURIComponent(document.URL) + '">%%</a>">'; 129 129 <MTElse> 130 var phrase = '<__trans phrase="[_1]Sign in[_2] to comment on this entry, or [_3]comment anonymously[_2]." params="<a href="<$MTCGIPath$><$MTCommentScript$>?__mode=login&entry_id=' + entry_id + '&blog_id=' + blog_id + '&static=1 ">%%</a>%%<a href="javascript:void(0);" onclick="showAnonymousForm();">">';130 var phrase = '<__trans phrase="[_1]Sign in[_2] to comment on this entry, or [_3]comment anonymously[_2]." params="<a href="<$MTCGIPath$><$MTCommentScript$>?__mode=login&entry_id=' + entry_id + '&blog_id=' + blog_id + '&static=1&return_to=' + encodeURIComponent(document.URL) + '">%%</a>%%<a href="javascript:void(0);" onclick="showAnonymousForm();">">'; 131 131 </MTIfRegistrationRequired> 132 132 document.write(phrase); branches/release-32/default_templates/page.mtml
r1463 r1698 1 <MTSetVar name="body_class" value="mt-archive-listing mt-page-archive">2 1 <MTIfCommentsAccepted><$MTSetVar name="body_onload" value="individualArchivesOnLoad(commenter_name)"$></MTIfCommentsAccepted> 3 <MTSetVarBlock name="page_title"><$MTPageTitle$></MTSetVarBlock> 4 <MTSetVarBlock name="title"><$MTGetVar name="page_title"$> - <$MTBlogName encode_html="1"$></MTSetVarBlock> 2 <MTSetVarBlock name="title"><$MTPageTitle encode_html="1"$> - <$MTBlogName encode_html="1"$></MTSetVarBlock> 5 3 <MTSetVarBlock name="html_head"> 6 4 <MTIfPingsAccepted><$MTEntryTrackbackData$></MTIfPingsAccepted> … … 8 6 </MTSetVarBlock> 9 7 10 <$MTInclude module="<__trans phrase="Header">" $>8 <$MTInclude module="<__trans phrase="Header">" body_class="mt-page-archive"$> 11 9 12 10 <$MTInclude module="<__trans phrase="Page Detail">"$> branches/release-32/default_templates/search_results.mtml
r1641 r1698 1 <MTSetVar name="body_class" value="mt-search-results">2 <MTSetVar name="system_template" value="1">3 1 <MTSetVar name="search_results_template" value="1"> 4 2 <MTSetVarBlock name="page_title"><__trans phrase="Search Results"></MTSetVarBlock> 5 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTGetVar name="page_title"$></MTSetVarBlock> 6 <MTIfStraightSearch> 7 <MTSetVar name="search_type" value="search"> 8 <MTElse> 9 <MTSetVar name="search_type" value="tag"> 10 </MTIfStraightSearch> 3 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></MTSetVarBlock> 11 4 12 <MTSetVarTemplate id="search_results" name="search_results"> 13 <div id="search-results"><span id="current-page" class="hidden"><MTCurrentPage></span> 14 <MTSearchResults> 15 <MTBlogResultHeader> 16 <h1 id="page-title" class="search-results-header"> 17 <MTIfStraightSearch> 18 <__trans phrase="Results matching “[_1]” from [_2]" params="<$MTSearchString$>%%<$MTBlogName encode_html="1"$>"> 19 </MTIfStraightSearch> 20 <MTIfTagSearch> 21 <__trans phrase="Results tagged “[_1]” from [_2]" params="<$MTSearchString$>%%<$MTBlogName encode_html="1"$>"> 22 </MTIfTagSearch> 23 </h1> 24 <div class="search-results-container autopagerize_page_element"> 25 </MTBlogResultHeader> 26 <$MTInclude module="<__trans phrase="Entry Summary">" hide_counts="1"$> 27 <MTBlogResultFooter> 28 </div><div class="autopagerize_insert_before"></div> 29 </MTBlogResultFooter> 30 </MTSearchResults> 31 <MTIgnore>Used with the ajax search capability of the new search class</MTIgnore> 32 <div class="content-nav"> 33 <MTIfPreviousResults><a href="<MTPreviousLink>" rel="prev" onclick="return swapContent(-1);">< <__trans phrase="Previous"></a> </MTIfPreviousResults><MTPagerBlock><MTIfCurrentPage><mt:var name="__value__"><MTElse><a href="<MTPagerLink>"><mt:var name="__value__"></a></MTIfCurrentPage><mt:unless name="__last__"> </mt:unless></MTPagerBlock><MTIfMoreResults> <a href="<MTNextLink>" rel="next" onclick="return swapContent();"><__trans phrase="Next"> ></a></MTIfMoreResults> 34 </div> 35 </div> 36 </MTSetVarTemplate> 37 38 <MTIgnore>Used with the ajax search capability of the new search class</MTIgnore> 5 <MTIgnore>Below Javascript adds ajax search capability</MTIgnore> 39 6 <MTSetVarBlock name="html_head" append="1"> 40 7 <script type="text/javascript"> … … 118 85 </MTSetVarBlock> 119 86 120 <$MTInclude module="<__trans phrase="Header">" $>87 <$MTInclude module="<__trans phrase="Header">" body_class="mt-search-results"$> 121 88 122 <$MTVar name="search_results"$> 89 <MTSearchResults> 90 <MTBlogResultHeader> 91 <div id="search-results"> 92 <span id="current-page" class="hidden"><MTCurrentPage></span> 93 <h1 id="page-title" class="search-results-header"> 94 <MTIfStraightSearch> 95 <__trans phrase="Results matching “[_1]” from [_2]" params="<$MTSearchString$>%%<$MTBlogName encode_html="1"$>"> 96 </MTIfStraightSearch> 97 <MTIfTagSearch> 98 <__trans phrase="Results tagged “[_1]” from [_2]" params="<$MTSearchString$>%%<$MTBlogName encode_html="1"$>"> 99 </MTIfTagSearch> 100 </h1> 101 <div class="search-results-container autopagerize_page_element"> 102 </MTBlogResultHeader> 103 <$MTInclude module="<__trans phrase="Entry Summary">" hide_counts="1"$> 104 <MTBlogResultFooter> 105 </div><div class="autopagerize_insert_before"></div> 106 <MTIgnore>Used with the ajax search capability of the new search class</MTIgnore> 107 <div class="content-nav"> 108 <MTIfPreviousResults><a href="<MTPreviousLink>" rel="prev" onclick="return swapContent(-1);">< <__trans phrase="Previous"></a> </MTIfPreviousResults><MTPagerBlock><MTIfCurrentPage><MTVar name="__value__"><MTElse><a href="<MTPagerLink>"><MTVar name="__value__"></a></MTIfCurrentPage><mt:unless name="__last__"> </mt:unless></MTPagerBlock><MTIfMoreResults> <a href="<MTNextLink>" rel="next" onclick="return swapContent();"><__trans phrase="Next"> ></a></MTIfMoreResults> 109 </div> 110 </div> 111 </MTBlogResultFooter> 112 </MTSearchResults> 123 113 124 114 <MTNoSearchResults> branches/release-32/default_templates/trackbacks.mtml
r1463 r1698 4 4 <MTIfPingsAccepted> 5 5 <div class="trackbacks-info"> 6 <p><__trans phrase=" TrackBack URL for this entry: <span id="trackbacks-link">[_1]</span>" params="<$MTEntryTrackbackLink$>"></p>6 <p><__trans phrase="Entry TrackBack URL: <span id="trackbacks-link">[_1]</span>" params="<$MTEntryTrackbackLink$>"></p> 7 7 </div> 8 8 </MTIfPingsAccepted>
