Changeset 792 for branches/Ver2.4/xpressme_integration_kit/templates/source
- Timestamp:
- Oct 7, 2011, 8:59:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.4/xpressme_integration_kit/templates/source/global_recent_posts_list_block.html
r545 r792 2 2 The template tag of the following list can be used. 3 3 <{$block.err_message}> // When the block cannot be displayed, this outputs the reason. Please do not delete it. 4 <{$block.shown_for_each_blog}> // Shown for each blog 4 5 <{$block.data_count}> // The number of contents is displayed. 5 6 <{$block.contents}> // Data array of contents. … … 28 29 ************************* End of usage ************************ *}> 29 30 <{* Start Template *}> 30 31 31 <div class="xpress_block"> 32 32 <{$block.err_message}> 33 33 <div class="xpress_global_recent_post_list_block"> 34 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}> 35 <{if $block.shown_for_each_blog}> 36 <{ assign var="b_id" value=0 }> 37 <{foreach from=$block.contents item=content}> 38 <{if $b_id != $content.blog_id}> 39 <{if $b_id != 0}> 40 </ul> 41 </li> 42 <{/if}> 43 <li><{$content.blog_link}> 44 <ul> 45 <{ assign var="b_id" value=$content.blog_id }> 46 <{/if}> 47 <li> 48 <{$content.new_mark}> <{$content.title_link}><br /> 49 <{$content.post_thumbnail}><br /> 50 <{$content.post_date_time}><br /> 51 <{$content.author_avatar}><{$content.post_author}><br /> 52 </li> 53 <{/foreach}> 54 </ul> 55 </li> 56 <{else}> 57 <{foreach from=$block.contents item=content}> 58 <li> 59 <{$content.new_mark}> <{$content.title_link}><br /> 60 <{$content.post_date_time}><br /> 61 <{$content.blog_link}><br /> 62 <{$content.post_author}><br /> 63 </li> 64 <{/foreach}> 65 <{/if}> 43 66 </ul> 44 67 </div>
Note: See TracChangeset
for help on using the changeset viewer.