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

Revision 2052, 1.5 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<mt:IfArchiveTypeEnabled archive_type="Individual">
2<div class="widget-calendar widget">
3    <h3 class="widget-header"><$mt:Date format="%B %Y"$></h3>
4    <div class="widget-content">
5        <table summary="<__trans phrase="Monthly calendar with links to daily posts">">
6            <tr>
7                <th abbr="<__trans phrase="Sunday">"><__trans phrase="Sun"></th>
8                <th abbr="<__trans phrase="Monday">"><__trans phrase="Mon"></th>
9                <th abbr="<__trans phrase="Tuesday">"><__trans phrase="Tue"></th>
10                <th abbr="<__trans phrase="Wednesday">"><__trans phrase="Wed"></th>
11                <th abbr="<__trans phrase="Thursday">"><__trans phrase="Thu"></th>
12                <th abbr="<__trans phrase="Friday">"><__trans phrase="Fri"></th>
13                <th abbr="<__trans phrase="Saturday">"><__trans phrase="Sat"></th>
14            </tr>
15    <mt:Calendar>
16        <mt:CalendarWeekHeader>
17            <tr>
18        </mt:CalendarWeekHeader>
19                <td>
20        <mt:CalendarIfEntries>
21            <mt:Entries lastn="1">
22                    <a href="<$mt:EntryPermalink$>"><$mt:CalendarDay$></a>
23            </mt:Entries>
24        </mt:CalendarIfEntries>
25        <mt:CalendarIfNoEntries>
26                    <$mt:CalendarDay$>
27        </mt:CalendarIfNoEntries>
28        <mt:CalendarIfBlank>&nbsp;</mt:CalendarIfBlank>
29                </td>
30        <mt:CalendarWeekFooter>
31            </tr>
32        </mt:CalendarWeekFooter>
33    </mt:Calendar>
34        </table>
35    </div>
36</div>
37</mt:IfArchiveTypeEnabled>
Note: See TracBrowser for help on using the browser.