Changeset 125 for trunk/templates/source
- Timestamp:
- Mar 20, 2009, 12:47:52 PM (16 years ago)
- Location:
- trunk/templates/source
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/source/archives_block.html
r121 r125 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.data_count}> // The number of archives is displayed. 5 <{$block.config.is_archive_doropdown}> // When this returns the true value. The user has selected the archive to be displayed by the drop down list in the setting of the block. 6 <{$block.archive_dropdown}> // Displays a dropdown list of links to date-based archives. 7 <{$block.contents}> // Data array of archives. 8 // Examples of <{$block.contents}> 9 <{foreach from=$block.contents item=content}> // Loop 10 <{$content.archive}> // Displays a list of links to date-based archives. 11 <{/foreach}> // End of Loop 4 <{$block.archive}> // Displays Archives from wp_get_archives() function 12 5 ************************* End of usage ************************ *}> 13 6 <{* Start Template *}> … … 16 9 <{$block.err_message}> 17 10 <div class="xpress_archive_block"> 18 <{if $block.config.is_archive_doropdown}> 19 <{$block.archive_dropdown}> 20 <{else}> 21 <ul> 22 <{foreach from=$block.contents item=content}> 23 <li> 24 <{$content.archive}> 25 </li> 26 <{/foreach}> 27 </ul> 28 <{/if}> 11 <{$block.archive}> 29 12 </div> 30 13 </div>
Note: See TracChangeset
for help on using the changeset viewer.