Last change
on this file since 115 was
115,
checked in by toemon, 16 years ago
|
テンプレートのクラスにブロック全般クラス(<div class="xpress_block">)を追加
|
File size:
968 bytes
|
Rev | Line | |
---|
[110] | 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 *}>
|
---|
[115] | 12 | <div class="xpress_block">
|
---|
| 13 | <div class="xpress_authors_block">
|
---|
| 14 | <{$block.err_message}>
|
---|
| 15 | <ul>
|
---|
| 16 | <{foreach from=$block.contents item=content}>
|
---|
| 17 | <li>
|
---|
| 18 | <{$content.author}>
|
---|
| 19 | </li>
|
---|
| 20 | <{/foreach}>
|
---|
| 21 | </ul>
|
---|
| 22 | </div>
|
---|
| 23 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.