XPressME Integration Kit

Trac

source: trunk/templates/source/popular_posts_block.html @ 109

Last change on this file since 109 was 109, checked in by toemon, 15 years ago

カレンダーブロック、人気記事リストの実装、インデックスページテンプレート実装

File size: 1.3 KB
Line 
1<{* **************************  usage ****************************
2        The template tag of the following list can be used.
3                <{$block.data_count}>
4                <{$content.post_id}>
5                <{$content.post_title}>
6                <{$content.post_date}>
7                <{$content.post_time}>
8                <{$content.post_date_time}>
9                <{$content.post_modified_date}>
10                <{$content.post_modified_time}>
11                <{$content.post_modified_date_time}>
12                <{$content.post_author}>
13                <{$content.post_category}>
14                <{$content.post_tags}>
15                <{$content.post_views}>
16                <{$content.comment_link}>
17                <{$content.trackback_url}>
18************************* End of usage ************************ *}>
19<{* Start Template *}>
20
21<ul class="xpress_popular_post">
22        <{$block.err_message}>
23        <{$block.data_count}>
24        <{foreach from=$block.contents item=content}>
25                <li>
26                <{$content.post_id}><br />
27                <{$content.post_title}><br />
28                <{$content.post_date}><br />
29                <{$content.post_time}><br />
30                <{$content.post_date_time}><br />
31                <{$content.post_modified_date}><br />
32                <{$content.post_modified_time}><br />
33                <{$content.post_modified_date_time}><br />
34                <{$content.post_author}><br />
35                <{$content.post_category}><br />
36                <{$content.post_tags}><br />
37                <{$content.post_views}><br />
38                <{$content.comment_link}><br />
39                <{$content.trackback_url}>
40                </li>
41        <{/foreach}>
42</ul>
Note: See TracBrowser for help on using the repository browser.