XPressME Integration Kit

Trac

source: trunk/templates/source/recent_comments_block.html @ 96

Last change on this file since 96 was 96, checked in by toemon, 15 years ago

途中経過でインストール、アップデートできなくなってしまっていたバグ修正
イベント通知の部分をFix、(ゲストのモジュールアクセス権限がないと通知できないのは直らない)
ブロックのキャッシュを見直し、キャッシュがない場合と、ブロックオプションが変更された場合にリフレッシュする機能を追加
ブロックキャッシュの更新にてポスト削除時のイベントをDB削除前にとっていたバグを修正。

File size: 1.0 KB
Line 
1<{* **************************  usage ****************************
2        The template tag of the following list can be used.
3                <{$block.data_count}>
4                <{$content.from_auther_to_post}>
5                <{$content.comment_ID}>
6                <{$content.comment_post_ID}>
7                <{$content.comment_date}>
8                <{$content.comment_date_time}>
9                <{$content.comment_content}>
10                <{$content.comment_excerpt}>
11                <{$content.comment_link}>
12                <{$content.comment_title}>
13                <{$content.comment_title_link}>
14                <{$content.post_link}>
15                <{$content.post_title}>
16                <{$content.post_title_link}>
17                <{$content.author_link}>
18                <{$content.author_name}>
19                <{$content.author_name_link}>
20                <{$content.comment_type}>
21   ************************* End of usage ************************ *}>
22<{* Start Template *}>
23
24<div id="xpress_recent_comments">
25        <{$block.err_message}>
26        <{$block.data_count}>
27        <{foreach from=$block.contents item=content}>
28                <ul>
29                        <li><{$content.from_auther_to_post}></li>
30                        <li><{$content.comment_excerpt}></li>
31                        <li><{$content.comment_date_time}></li>
32                </ul>
33        <{/foreach}>
34</div>
Note: See TracBrowser for help on using the repository browser.