root/branches/release-30/default_templates/entry_listing.mtml @ 1423

Revision 1423, 1.8 kB (checked in by bsmith, 21 months ago)

* Updates from development of MTDefautTemplateSets plugin: http://code.sixapart.com/svn/mtplugins/trunk/MTDefaultTemplateSet/

Including:

* Addition of RSD EditURI to Headers
* Conditioning of trackback data if pings are not accepted
* simplification to Comment Response template code
* modularization of MTEntries limit on Entry Listing
* removing page_layout definition from stylesheet at it is now set by the app
* adding html comments to code for readability
* removed RSS feed templates
* simplifying header module

bugzid:69142

  • Property svn:executable set to *
  • Property svn:keywords set to Id Revision
Line 
1<MTSetVarBlock name="body_class">mt-archive-listing mt-<MTVar name="archive_class"></MTSetVarBlock>
2<MTSetVar name="sidebar" value="1">
3<MTSetVar name="module_about_context" value="1">
4<MTSetVarBlock name="page_title"><__trans phrase="[_1] Archives" params="<$MTArchiveTitle$>"></MTSetVarBlock>
5<MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTGetVar name="page_title"$></MTSetVarBlock>
6<MTUnless name="datebased_archive"><$mt:setvar name="limit" value="auto"$></MTUnless>
7<MTIf name="datebased_archive">
8    <MTSetVarBlock name="html_head">
9        <MTArchivePrevious><link rel="prev" href="<$MTArchiveLink$>" title="<$MTArchiveTitle encode_html="1"$>" /></MTArchivePrevious>
10        <MTArchiveNext><link rel="next" href="<$MTArchiveLink$>" title="<$MTArchiveTitle encode_html="1"$>" /></MTArchiveNext>
11    </MTSetVarBlock>
12</MTIf>
13
14<$MTInclude module="<__trans phrase="Header">"$>
15
16<h1 id="page-title" class="archive-title">
17<MTUnless name="datebased_archive">
18    <MTIfArchiveType archive_type="Category">
19<__trans phrase="Recently in <em>[_1]</em> Category" params="<$MTArchiveTitle$>">
20    <MTElse archive_type="Author">
21<__trans phrase="Recently by <em>[_1]</em>" params="<$MTArchiveTitle$>">
22    </MTIfArchiveType>
23<MTElse>
24<$MTGetVar name="page_title"$>
25</MTUnless>
26</h1>
27
28<MTEntries limit="$limit">
29<$MTInclude module="<__trans phrase="Entry Summary">"$>
30</MTEntries>
31
32<div class="content-nav">
33    <MTArchivePrevious>
34    <a href="<$MTArchiveLink$>">&laquo; <$MTArchiveTitle$></a> |
35    </MTArchivePrevious>
36    <a href="<$MTLink template="main_index"$>"><__trans phrase="Main Index"></a> |
37    <a href="<$MTLink template="archive_index"$>"><__trans phrase="Archives"></a>
38    <MTArchiveNext>
39    | <a href="<$MTArchiveLink$>"><$MTArchiveTitle$> &raquo;</a>
40    </MTArchiveNext>
41</div>
42
43<$MTInclude module="<__trans phrase="Footer">"$>
Note: See TracBrowser for help on using the browser.