Changeset 110 for trunk/templates
- Timestamp:
- Mar 17, 2009, 6:45:27 PM (16 years ago)
- Location:
- trunk/templates/source
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/source/popular_posts_block.html
r109 r110 1 1 <{* ************************** usage **************************** 2 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}> 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.post_title}> // Displays the post's permalink, where the link text value is the posts title name. 10 <{$content.post_date}> // Displays the published date of a post. Format at date set by general setting of Wordpress. 11 <{$content.post_time}> // Displays the published time of a post. Format at time set by general setting of Wordpress. 12 <{$content.post_date_time}> // Displays the published date-time of a post. 13 <{$content.post_modified_date}> // Displays the modified date of a post. Format at date set by general setting of Wordpress. 14 <{$content.post_modified_time}> // Displays the modified date of a post. Format at date set by general setting of Wordpress. 15 <{$content.post_modified_date_time}> // Displays the modified date-time of a post. 16 <{$content.post_author}> // Displays the author's archive link, where the link text value is the user's Display name. 17 <{$content.post_category}> // Displays a link to the category or categories a post belongs to. 18 <{$content.post_tags}> // Displays a link to the tag or tags a post belongs to. 19 <{$content.post_views}> // Displays the number of posts viewer. 20 <{$content.comment_link}> // Displays a link to the comments popup window if comments_popup_script() is used, otherwise it displays a normal link to comments. 21 <{$content.trackback_url}> // Displays the trackback URL for the current post. 22 <{/foreach}> // End of Loop 18 23 ************************* End of usage ************************ *}> 19 24 <{* Start Template *}> -
trunk/templates/source/recent_comments_block.html
r96 r110 1 1 <{* ************************** usage **************************** 2 2 The template tag of the following list can be used. 3 <{$block.data_count}> 4 <{$content.from_auther_to_post}> 5 <{$content.comment_ID}> 6 <{$content.comment_post_ID}> 7 <{$content.comment_date}> 8 <{$content.comment_date_time}> 9 <{$content.comment_content}> 10 <{$content.comment_excerpt}> 11 <{$content.comment_link}> 12 <{$content.comment_title}> 13 <{$content.comment_title_link}> 14 <{$content.post_link}> 15 <{$content.post_title}> 16 <{$content.post_title_link}> 17 <{$content.author_link}> 18 <{$content.author_name}> 19 <{$content.author_name_link}> 20 <{$content.comment_type}> 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.from_auther_to_post}> // It is displayed by "Author of the comment on the post" format. Each link is included in it. 9 <{$content.comment_ID}> // Displays the numeric ID of a comment. 10 <{$content.comment_post_ID}> // Displays the numeric ID of the target post for the comment is displayed. 11 <{$content.comment_date}> // Displays the published date of a comment. Format at date set by general setting of Wordpress. 12 <{$content.comment_date_time}> // Displays the published date-time of a comment. Format at date-time set by general setting of Wordpress. 13 <{$content.comment_content}> // Displays the contents of a comment. 14 <{$content.comment_excerpt}> // Displays the excerpt@contents of a comment. 15 <{$content.comment_link}> // Displays the comment link. 16 <{$content.comment_title}> // Displays the title of a comment. 17 <{$content.comment_title_link}> // Displays the comment link, where the link text value is the comment's title name. 18 <{$content.post_link}> // Displays a link to the post a comment belongs to. 19 <{$content.post_title}> // Displays a title to the post a comment belongs to. 20 <{$content.post_title_link}> // Displays the post's permalink, where the link text value is the posts title name. 21 <{$content.author_link}> // Displays the link of comment author's web homepages. 22 <{$content.author_name}> // Displays the comment author's name. 23 <{$content.author_name_link}> // Displays the link of comment author's web homepages, where the link text value is the author's name. 24 <{$content.comment_type}> // Displays the comment type. (type is comment,truckback or pingback) 25 <{/foreach}> // End of Loop 21 26 ************************* End of usage ************************ *}> 22 27 <{* Start Template *}> 23 28 24 < divid="xpress_recent_comments">29 <ul id="xpress_recent_comments"> 25 30 <{$block.err_message}> 26 31 <{$block.data_count}> 27 32 <{foreach from=$block.contents item=content}> 28 < ul>29 < li><{$content.from_auther_to_post}></li>30 < li><{$content.comment_excerpt}></li>31 < li><{$content.comment_date_time}></li>32 </ ul>33 <li> 34 <{$content.from_auther_to_post}><br /> 35 <{$content.comment_excerpt}><br /> 36 <{$content.comment_date_time}> 37 </li> 33 38 <{/foreach}> 34 </ div>39 </ul> -
trunk/templates/source/recent_posts_content_block.html
r100 r110 1 1 <{* ************************** usage **************************** 2 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_content}> 7 <{$content.post_date}> 8 <{$content.post_time}> 9 <{$content.post_date_time}> 10 <{$content.post_modified_date}> 11 <{$content.post_modified_time}> 12 <{$content.post_modified_date_time}> 13 <{$content.post_author}> 14 <{$content.post_category}> 15 <{$content.post_tags}> 16 <{$content.post_views}> 17 <{$content.comment_link}> 18 <{$content.trackback_url}> 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.post_title}> // Displays the post's permalink, where the link text value is the posts title name. 10 <{$content.post_content}> // Displays the contents of the post. 11 <{$content.post_date}> // Displays the published date of a post. Format at date set by general setting of Wordpress. 12 <{$content.post_time}> // Displays the published time of a post. Format at time set by general setting of Wordpress. 13 <{$content.post_date_time}> // Displays the published date-time of a 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_author}> // Displays the author's archive link, where the link text value is the user's Display name. 18 <{$content.post_category}> // Displays a link to the category or categories a post belongs to. 19 <{$content.post_tags}> // Displays a link to the tag or tags a post belongs to. 20 <{$content.post_views}> // Displays the number of posts viewer. 21 <{$content.comment_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.trackback_url}> // Displays the trackback URL for the current post. 23 <{/foreach}> // End of Loop 19 24 ************************* End of usage ************************ *}> 20 25 <{* Start Template *}> -
trunk/templates/source/recent_posts_list_block.html
r100 r110 1 1 <{* ************************** usage **************************** 2 2 The template tag of the following list can be used. 3 <{$block.data_count}> 4 <{$content.post_id}> 5 <{$content.new_mark}> 6 <{$content.post_title}> 7 <{$content.post_date}> 8 <{$content.post_time}> 9 <{$content.post_date_time}> 10 <{$content.post_modified_date}> 11 <{$content.post_modified_time}> 12 <{$content.post_modified_date_time}> 13 <{$content.post_author}> 14 <{$content.post_category}> 15 <{$content.post_tags}> 16 <{$content.post_views}> 17 <{$content.comment_link}> 18 <{$content.trackback_url}> 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.new_mark}> // The mark is displayed. The mark is different according to lapsed days from the release date. 10 <{$content.post_title}> // Displays the post's permalink, where the link text value is the posts title name. 11 <{$content.post_date}> // Displays the published date of a post. Format at date set by general setting of Wordpress. 12 <{$content.post_time}> // Displays the published time of a post. Format at time set by general setting of Wordpress. 13 <{$content.post_date_time}> // Displays the published date-time of a 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_author}> // Displays the author's archive link, where the link text value is the user's Display name. 18 <{$content.post_category}> // Displays a link to the category or categories a post belongs to. 19 <{$content.post_tags}> // Displays a link to the tag or tags a post belongs to. 20 <{$content.post_views}> // Displays the number of posts viewer. 21 <{$content.comment_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.trackback_url}> // Displays the trackback URL for the current post. 23 <{/foreach}> // End of Loop 19 24 ************************* End of usage ************************ *}> 20 25 <{* Start Template *}>
Note: See TracChangeset
for help on using the changeset viewer.