root/branches/release-36/default_templates/about_this_page.mtml @ 2052

Revision 2052, 4.1 kB (checked in by fumiakiy, 19 months ago)

Integrated Widget Manager to the core. BugId:68750

Now a widgetset is another type of template. The widgets contained in a widgetset is stored in a meta field.

  • Property svn:keywords set to Id Date Author Revision
Line 
1<div class="widget-about-this-page widget">
2    <h3 class="widget-header">
3<mt:If name="entry_template">
4        <__trans phrase="About this Entry">
5<mt:Else>
6    <mt:If name="archive_template">
7        <__trans phrase="About this Archive">
8    </mt:If>
9</mt:If>
10<mt:If name="archive_index">
11        <__trans phrase="About Archives">
12</mt:If>
13    </h3>
14    <div class="widget-content">
15<mt:If name="archive_index">
16        <p><__trans phrase="This page contains links to all the archived content."></p>
17</mt:If>
18<mt:If name="entry_template">
19        <p class="first"><__trans phrase="This page contains a single entry by [_1] published on <em>[_2]</em>." params="<$mt:EntryAuthorLink$>%%<$mt:EntryDate format="%x %X"$>"></p>
20    <mt:EntryPrevious>
21        <p><__trans phrase="<a href="[_1]">[_2]</a> was the previous entry in this blog." params="<$mt:EntryPermalink$>%%<$mt:EntryTitle remove_html="1"$>"></p>
22    </mt:EntryPrevious>
23    <mt:EntryNext>
24        <p><__trans phrase="<a href="[_1]">[_2]</a> is the next entry in this blog." params="<$mt:EntryPermalink$>%%<$mt:EntryTitle remove_html="1"$>"></p>
25    </mt:EntryNext>
26</mt:If>
27<mt:If name="category_archive">
28    <mt:If name="datebased_archive">
29        <p class="first"><__trans phrase="This page is a archive of entries in the <strong>[_1]</strong> category from <strong>[_2]</strong>." params="<$mt:CategoryLabel$>%%<$mt:ArchiveDate format="%B %Y"$>"></p>
30        <mt:ArchivePrevious>
31        <p><__trans phrase="<a href="[_1]">[_2]</a> is the previous archive." params="<$mt:ArchiveLink$>%%<$mt:ArchiveTitle$>"></p>
32        </mt:ArchivePrevious>
33        <mt:ArchiveNext>
34        <p><__trans phrase="<a href="[_1]">[_2]</a> is the next archive." params="<$mt:ArchiveLink$>%%<$mt:ArchiveTitle$>"></p>
35        </mt:ArchiveNext>
36    <mt:Else>
37        <p class="first"><__trans phrase="This page is a archive of recent entries in the <strong>[_1]</strong> category." params="<$mt:CategoryLabel$>"></p>
38        <mt:CategoryPrevious>
39        <p><__trans phrase="<a href="[_1]">[_2]</a> is the previous category." params="<$mt:CategoryArchiveLink$>%%<$mt:CategoryLabel$>"></p>
40        </mt:CategoryPrevious>
41        <mt:CategoryNext>
42        <p><__trans phrase="<a href="[_1]">[_2]</a> is the next category." params="<$mt:CategoryArchiveLink$>%%<$mt:CategoryLabel$>"></p>
43        </mt:CategoryNext>
44    </mt:If>
45</mt:If>
46<mt:If name="author_archive">
47    <mt:If name="datebased_archive">
48        <p class="first"><__trans phrase="This page is a archive of recent entries written by <strong>[_1]</strong> in <strong>[_2]</strong>." params="<$mt:AuthorDisplayName$>%%<$mt:ArchiveDate format="%B %Y"$>"></p>
49        <mt:ArchivePrevious>
50        <p><__trans phrase="<a href="[_1]">[_2]</a> is the previous archive." params="<$mt:ArchiveLink$>%%<$mt:ArchiveTitle$>"></p>
51        </mt:ArchivePrevious>
52        <mt:ArchiveNext>
53        <p><__trans phrase="<a href="[_1]">[_2]</a> is the next archive." params="<$mt:ArchiveLink$>%%<$mt:ArchiveTitle$>"></p>
54        </mt:ArchiveNext>
55    <mt:Else>
56        <p class="first"><__trans phrase="This page is a archive of recent entries written by <strong>[_1]</strong>." params="<$mt:AuthorDisplayName$>"></p>
57    </mt:If>
58</mt:If>
59<mt:If name="datebased_only_archive">
60        <p class="first"><__trans phrase="This page is an archive of entries from <strong>[_2]</strong> listed from newest to oldest." params="<$mt:BlogName$>%%<$mt:ArchiveDate format="%B %Y"$>"></p>
61    <mt:ArchivePrevious>
62        <p><__trans phrase="<a href="[_1]">[_2]</a> is the previous archive." params="<$mt:ArchiveLink$>%%<$mt:ArchiveTitle$>"></p>
63    </mt:ArchivePrevious>
64    <mt:ArchiveNext>
65        <p><__trans phrase="<a href="[_1]">[_2]</a> is the next archive." params="<$mt:ArchiveLink$>%%<$mt:ArchiveTitle$>"></p>
66    </mt:ArchiveNext>
67</mt:If>
68<mt:If name="archive_index">
69        <p><__trans phrase="Find recent content on the <a href="[_1]">main index</a>." params="<$mt:BlogURL$>"></p>
70<mt:Else>
71        <p><__trans phrase="Find recent content on the <a href="[_1]">main index</a> or look in the <a href="[_2]">archives</a> to find all content." params="<$mt:BlogURL$>%%<$mt:Link template="archive_index"$>"></p>
72</mt:If>
73    </div>
74</div>
Note: See TracBrowser for help on using the browser.