XPressME Integration Kit

Trac

source: trunk/xpressme_integration_kit/templates/source/global_recent_posts_list_block.html @ 545

Last change on this file since 545 was 545, checked in by toemon, 14 years ago

MultiBlog用に最近の投稿(全ブログ)にnew_markとpost_viewsを追加 Fixes #307

File size: 2.9 KB
Line 
1<{* **************************  usage ****************************
2        The template tag of the following list can be used.
3                <{$block.err_message}>                                  // When the block cannot be displayed, this outputs the reason. Please do not delete it.
4                <{$block.data_count}>                                   // The number of contents is displayed.
5                <{$block.contents}>                                             // Data array of contents.
6                // Examples of <{$block.contents}>
7                <{foreach from=$block.contents item=content}>   // Loop
8                <{$content.post_id}>                                    // Displays the numeric ID of the post.
9                <{$content.blog_id}>                                    // Displays the numeric ID of the blog.
10                <{$content.post_permalink}>                             // Displays the post's permalink.
11                <{$content.title_link}>                                 // Displays the post's permalink, where the link text value is the posts title name.
12                <{$content.the_content}>                                // Displays the contents of the post.
13                <{$content.the_full_content}>                           // Displays the contents of the post.
14                <{$content.post_modified_date}>                 // Displays the modified date of a post. Format at date set by general setting of Wordpress.
15                <{$content.post_modified_time}>                 // Displays the modified date of a post. Format at date set by general setting of Wordpress.
16                <{$content.post_modified_date_time}>    // Displays the modified date-time of a post.
17                <{$content.post_unix_time}>                             // Displays the published unix time stanp of a post.
18                <{$content.post_date}>                                  // Displays the published date of a post. Format at date set by general setting of Wordpress.
19                <{$content.post_time}>                                  // Displays the published time of a post. Format at time set by general setting of Wordpress.
20                <{$content.post_date_time}>                             // Displays the published date-time of a post. Format at time set by general setting of Wordpress.
21                <{$content.comments_link}>                              // Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments.
22                <{$content.post_author}>                                // Displays the author's archive link, where the link text value is the user's Display name.
23                <{$content.post_category}>                              // Displays a link to the category or categories a post belongs to.
24                <{$content.post_tags}>                                  // Displays a link to the tag or tags a post belongs to.
25                <{$content.post_views}>                                 // Displays the number of posts viewer.
26                <{$content.new_mark}>                                   // The mark is displayed. The mark is different according to lapsed days from the release date.
27                <{/foreach}>                                                    // End of Loop
28************************* End of usage ************************ *}>
29<{* Start Template *}>
30
31<div class="xpress_block">
32        <{$block.err_message}>
33        <div class="xpress_global_recent_post_list_block">
34                <ul>
35                <{foreach from=$block.contents item=content}>
36                        <li>
37                        <{$content.new_mark}> <{$content.title_link}><br />
38                        <{$content.post_date_time}><br />
39                        <{$content.blog_link}><br />
40                        <{$content.post_author}><br />
41                        </li>
42                <{/foreach}>
43                </ul>
44        </div>
45</div>
Note: See TracBrowser for help on using the repository browser.