|
Last change
on this file since 121 was
121,
checked in by toemon, 17 years ago
|
|
ブロックオプションのうち$this_templateをポストしていなかったため、オプション変更時にデータずれが発生するバグを修正
|
|
File size:
964 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.page}> // 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 |
|
|---|
| 13 | <div class="xpress_block">
|
|---|
| 14 | <{$block.err_message}>
|
|---|
| 15 | <div class='xpress_page_block'>
|
|---|
| 16 | <ul>
|
|---|
| 17 | <{foreach from=$block.contents item=content}>
|
|---|
| 18 | <li>
|
|---|
| 19 | <{$content.page}>
|
|---|
| 20 | </li>
|
|---|
| 21 | <{/foreach}>
|
|---|
| 22 | </ul>
|
|---|
| 23 | </div>
|
|---|
| 24 | </div>
|
|---|
Note: See
TracBrowser
for help on using the repository browser.