XPressME Integration Kit

Trac

source: trunk/templates/source/authors_block.html @ 110

Last change on this file since 110 was 110, checked in by toemon, 16 years ago

アーカイブブロック、投稿者ブロックの実装。
テンプレートのusage修正

File size: 908 bytes
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 archives is displayed.
5                <{$block.contents}>                                             // Data array of archives.
6                // Examples of <{$block.contents}>
7                <{foreach from=$block.contents item=content}>   // Loop
8                <{$content.author}>                                             // the author name is displayed as a link to their posts. Optionally this tag displays each author's post count.
9                <{/foreach}>                                                    // End of Loop
10************************* End of usage ************************ *}>
11<{* Start Template *}>
12<{$block.err_message}>
13<ul class="xpress_authors_content">
14        <{foreach from=$block.contents item=content}>
15                <li>
16                <{$content.author}>
17                </li>
18        <{/foreach}>
19</ul>
Note: See TracBrowser for help on using the repository browser.