Changeset 1698

Show
Ignore:
Timestamp:
04/02/08 00:40:26 (8 months ago)
Author:
bsmith
Message:

updating default template to most recent advanced version. bugzid:69535

Files:

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"> 
    21<MTSetVar name="archive_index" value="1"> 
    3 <MTSetVar name="module_about_context" value="1"> 
    42<MTSetVarBlock name="page_title"><__trans phrase="Archives"></MTSetVarBlock> 
    5 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTGetVar name="page_title"$></MTSetVarBlock> 
     3<MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></MTSetVarBlock> 
    64 
    7 <$MTInclude module="<__trans phrase="Header">"$> 
     5<$MTInclude module="<__trans phrase="Header">" body_class="mt-archive-index"$> 
    86 
    9 <h1 id="page-title" class="archive-title"><$MTGetVar name="page_title"$></h1> 
     7<h1 id="page-title" class="archive-title"><$MTVar name="page_title"$></h1> 
    108 
    119<MTIfArchiveTypeEnabled archive_type="Individual"> 
  • branches/release-32/default_templates/comment_detail.mtml

    r1561 r1698  
    66                   <__trans phrase="By"> <span class="vcard author"><$MTCommentAuthorLink default_name="Anonymous" show_email="0"$></span><MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty> 
    77                   <MTCommentParent> 
    8                    <__trans phrase="replied to"> <a href="#comment-<$MTCommentID$>"><MTCommentAuthor></a> 
     8                   <__trans phrase="replied to"> <a href="#comment-<$MTCommentID$>"><$MTCommentAuthor$></a> 
    99                   </MTCommentParent> 
    1010                   <__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"> 
    31<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> 
    63<MTSetVarBlock name="html_head"> 
    74    <MTEntryPrevious><link rel="prev" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>" /></MTEntryPrevious> 
     
    118</MTSetVarBlock> 
    129 
    13 <$MTInclude module="<__trans phrase="Header">"$> 
     10<$MTInclude module="<__trans phrase="Header">" body_class="mt-entry-archive"$> 
    1411 
    1512<$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"> 
    31<MTSetVarBlock name="page_title"><__trans phrase="[_1] Archives" params="<$MTArchiveTitle$>"></MTSetVarBlock> 
    4 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTGetVar name="page_title"$></MTSetVarBlock> 
     2<MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></MTSetVarBlock> 
    53<MTUnless name="datebased_archive"><$mt:setvar name="limit" value="auto"$></MTUnless> 
    64<MTIf name="datebased_archive"> 
     
    119</MTIf> 
    1210 
    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"$> 
    1413 
    1514<h1 id="page-title" class="archive-title"> 
     
    2120    </MTIfArchiveType> 
    2221<MTElse> 
    23 <$MTGetVar name="page_title"$> 
     22<$MTVar name="page_title"$> 
    2423</MTUnless> 
    2524</h1> 
  • branches/release-32/default_templates/header.mtml

    r1463 r1698  
    33<html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard"> 
    44<head> 
    5     <title><$mt:var name="title"$></title> 
     5    <title><$MTVar name="title"$></title> 
    66    <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /> 
    77    <meta name="generator" content="<$MTProductName version="1"$>" /> 
     
    1010    <link rel="alternate" type="application/atom+xml" title="Recent Entries" href="<$MTLink template="feed_recent"$>" /> 
    1111    <$MTCCLicenseRDF$> 
    12     <$mt:var name="html_head"$> 
     12    <$MTVar name="html_head"$> 
    1313</head> 
    1414<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  
    126126    } else { 
    127127<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>">'; 
    129129<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();">">'; 
    131131</MTIfRegistrationRequired> 
    132132        document.write(phrase); 
  • branches/release-32/default_templates/page.mtml

    r1463 r1698  
    1 <MTSetVar name="body_class" value="mt-archive-listing mt-page-archive"> 
    21<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> 
    53<MTSetVarBlock name="html_head"> 
    64    <MTIfPingsAccepted><$MTEntryTrackbackData$></MTIfPingsAccepted> 
     
    86</MTSetVarBlock> 
    97 
    10 <$MTInclude module="<__trans phrase="Header">"$> 
     8<$MTInclude module="<__trans phrase="Header">" body_class="mt-page-archive"$> 
    119 
    1210<$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"> 
    31<MTSetVar name="search_results_template" value="1"> 
    42<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> 
    114 
    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 &ldquo;[_1]&rdquo; from [_2]" params="<$MTSearchString$>%%<$MTBlogName encode_html="1"$>"> 
    19         </MTIfStraightSearch> 
    20         <MTIfTagSearch> 
    21     <__trans phrase="Results tagged &ldquo;[_1]&rdquo; 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);">&lt; <__trans phrase="Previous"></a>&nbsp;&nbsp;</MTIfPreviousResults><MTPagerBlock><MTIfCurrentPage><mt:var name="__value__"><MTElse><a href="<MTPagerLink>"><mt:var name="__value__"></a></MTIfCurrentPage><mt:unless name="__last__">&nbsp;</mt:unless></MTPagerBlock><MTIfMoreResults>&nbsp;&nbsp;<a href="<MTNextLink>" rel="next" onclick="return swapContent();"><__trans phrase="Next"> &gt;</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> 
    396<MTSetVarBlock name="html_head" append="1"> 
    407<script type="text/javascript"> 
     
    11885</MTSetVarBlock> 
    11986 
    120 <$MTInclude module="<__trans phrase="Header">"$> 
     87<$MTInclude module="<__trans phrase="Header">" body_class="mt-search-results"$> 
    12188 
    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 &ldquo;[_1]&rdquo; from [_2]" params="<$MTSearchString$>%%<$MTBlogName encode_html="1"$>"> 
     96        </MTIfStraightSearch> 
     97        <MTIfTagSearch> 
     98        <__trans phrase="Results tagged &ldquo;[_1]&rdquo; 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);">&lt; <__trans phrase="Previous"></a>&nbsp;&nbsp;</MTIfPreviousResults><MTPagerBlock><MTIfCurrentPage><MTVar name="__value__"><MTElse><a href="<MTPagerLink>"><MTVar name="__value__"></a></MTIfCurrentPage><mt:unless name="__last__">&nbsp;</mt:unless></MTPagerBlock><MTIfMoreResults>&nbsp;&nbsp;<a href="<MTNextLink>" rel="next" onclick="return swapContent();"><__trans phrase="Next"> &gt;</a></MTIfMoreResults> 
     109    </div> 
     110</div> 
     111    </MTBlogResultFooter> 
     112</MTSearchResults> 
    123113 
    124114<MTNoSearchResults> 
  • branches/release-32/default_templates/trackbacks.mtml

    r1463 r1698  
    44    <MTIfPingsAccepted> 
    55    <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> 
    77    </div> 
    88    </MTIfPingsAccepted>