Last change
on this file since 121 was
121,
checked in by toemon, 16 years ago
|
ブロックオプションのうち$this_templateをポストしていなかったため、オプション変更時にデータずれが発生するバグを修正
|
File size:
1.3 KB
|
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.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
|
---|
| 12 | ************************* End of usage ************************ *}>
|
---|
| 13 | <{* Start Template *}>
|
---|
[121] | 14 |
|
---|
[115] | 15 | <div class="xpress_block">
|
---|
[121] | 16 | <{$block.err_message}>
|
---|
[115] | 17 | <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}>
|
---|
| 29 | </div>
|
---|
[121] | 30 | </div>
|
---|
Note: See
TracBrowser
for help on using the repository browser.