space_comment_li.htm
4.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<a name="comment_anchor_$value[cid]"></a>
<!--{if empty($ajax_edit)}--><dl id="comment_$value[cid]_li" class="bbda cl"><!--{/if}-->
<!--{if $value[author]}-->
<dd class="m avt"><a href="home.php?mod=space&uid=$value[authorid]" c="1"><!--{avatar($value[authorid],small)}--></a></dd>
<!--{else}-->
<dd class="m avt"><img src="{STATICURL}image/magic/hidden.gif" alt="hidden" /></dd>
<!--{/if}-->
<dt>
<span class="y xw0">
<!--{if $value['authorid'] != $_G['uid'] && $value['author'] == "" && $_G[magic][reveal]}-->
<a id="a_magic_reveal_{$value[cid]}" href="home.php?mod=magic&mid=reveal&idtype=cid&id=$value[cid]" onclick="ajaxmenu(event,this.id,1)"><img src="{STATICURL}image/magic/reveal.small.gif" alt="reveal" />{$_G[magic][reveal]}</a>
<span class="pipe">|</span>
<!--{/if}-->
<!--{hook/global_space_comment_op $k}-->
<!--{if $_G['setting']['magicstatus'] && $do != 'share'}-->
<!--{if $value[authorid]==$_G[uid] && !empty($_G['setting']['magics']['flicker'])}-->
<img src="{STATICURL}image/magic/flicker.small.gif" alt="flicker" class="vm" />
<!--{if $value[magicflicker]}-->
<a id="a_magic_flicker_{$value[cid]}" href="home.php?mod=spacecp&ac=magic&op=cancelflicker&idtype=cid&id=$value[cid]&handlekey=cfhk_{$value[cid]}" onclick="showWindow(this.id, this.href, 'get', 0)">{lang cancel}{$_G['setting']['magics']['flicker']}</a>
<!--{else}-->
<a id="a_magic_flicker_{$value[cid]}" href="home.php?mod=magic&mid=flicker&idtype=cid&id=$value[cid]" onclick="showWindow(this.id, this.href, 'get', 0)">{$_G['setting']['magics']['flicker']}</a>
<!--{/if}-->
<span class="pipe">|</span>
<!--{/if}-->
<!--{if $value[authorid]==$_G[uid] && !empty($_G['setting']['magics']['anonymouspost']) && $value[author]}-->
<img src="{STATICURL}image/magic/anonymouspost.small.gif" alt="flicker" class="vm" />
<a id="a_magic_anonymouspost_{$value[cid]}" href="home.php?mod=magic&mid=anonymouspost&idtype=cid&id=$value[cid]" onclick="showWindow(this.id, this.href, 'get', 0)">{$_G['setting']['magics']['anonymouspost']}</a>
<span class="pipe">|</span>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['namepost']) && !$value[author]}-->
<img src="{STATICURL}image/magic/namepost.small.gif" alt="flicker" class="vm" />
<a id="a_magic_namepost_{$value[cid]}" href="home.php?mod=magic&mid=namepost&idtype=cid&id=$value[cid]" onclick="showWindow(this.id, this.href,'get', 0)">{$_G['setting']['magics']['namepost']}</a>
<span class="pipe">|</span>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G[uid]}-->
<!--{if $value[authorid]==$_G[uid]}-->
<a href="home.php?mod=spacecp&ac=comment&op=edit&cid=$value[cid]&handlekey=editcommenthk_{$value[cid]}" id="c_$value[cid]_edit" onclick="showWindow(this.id, this.href, 'get', 0);">{lang edit}</a>
<!--{/if}-->
<!--{if $value[authorid]==$_G[uid] || $value[uid]==$_G[uid] || checkperm('managecomment')}-->
<a href="home.php?mod=spacecp&ac=comment&op=delete&cid=$value[cid]&handlekey=delcommenthk_{$value[cid]}" id="c_$value[cid]_delete" onclick="showWindow(this.id, this.href, 'get', 0);">{lang delete}</a>
<!--{/if}-->
<!--{/if}-->
<!--{if $value[authorid]!=$_G[uid] && ($value['idtype'] != 'uid' || $space[self]) && $value[author]}-->
<a href="home.php?mod=spacecp&ac=comment&op=reply&cid=$value[cid]&feedid=$feedid&handlekey=replycommenthk_{$value[cid]}" id="c_$value[cid]_reply" onclick="showWindow(this.id, this.href, 'get', 0);">{lang reply}</a>
<!--{/if}-->
<!--{if checkperm('managecomment')}-->
<span class="xg1 xw0">IP: $value[ip]</span>
<!--{/if}-->
<!--a href="home.php?mod=spacecp&ac=common&op=report&idtype=comment&id=$value[cid]&handlekey=reportcommenthk_{$value[cid]}" id="a_report_$value[cid]" onclick="showWindow(this.id, this.href, 'get', 0);">{lang report}</a-->
</span>
<!--{if $value[author]}-->
<a href="home.php?mod=space&uid=$value[authorid]" id="author_$value[cid]">{$value[author]}</a>
<!--{else}-->
$_G[setting][anonymoustext]
<!--{/if}-->
<span class="xg1 xw0"><!--{date($value[dateline])}--></span>
<!--{if $value[status] == 1}--><b>({lang moderate_need})</b><!--{/if}-->
</dt>
<dd id="comment_$value[cid]"{if $value[magicflicker]} class="magicflicker"{/if}><!--{if $value[status] == 0 || $value[authorid] == $_G[uid] || $_G[adminid] == 1}-->$value[message]<!--{else}--> {lang moderate_not_validate} <!--{/if}--></dd>
<!--{hook/global_comment_bottom}-->
<!--{if empty($ajax_edit)}--></dl><!--{/if}-->