__section__
default
__description__
Display a comment link string (reply, parent, etc.), included by
dispComment (also includes moderation stuff)
__title__

__page__
fz
__lang__
en_US
__name__
dispLinkComment
__template__
[% USE Slash %]
[% IF cid %]
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2">

[% IF can_mod %]
	<FORM ACTION="[% constants.rootdir %]/comments.pl" METHOD="POST">
	<INPUT TYPE="HIDDEN" NAME="sid" VALUE="[% sid %]">
	<INPUT TYPE="HIDDEN" NAME="cid" VALUE="[% cid %]">
	<INPUT TYPE="HIDDEN" NAME="pid" VALUE="[% pid %]">
[% END %]

	[% pid = realpid || pid %]
	<TR><TD><FONT SIZE="2">

	[ [% Slash.linkComment({
		sid	=> sid,
		pid	=> cid,
		op	=> 'Reply',
		subject	=> 'Reply to This',
	}) %]

	[% IF can_mod %]
	| [% Slash.createSelect("reason_$cid", reasons, '', 1, 1);
	   END
	%]

	[% IF user.is_admin %]
| <INPUT TYPE="CHECKBOX" NAME="del_[% cid %]">
	[% END %]
	]
	</FONT></TD></TR>
	<TR><TD ALIGN="CENTER">
	[% Slash.moderatorCommentLog(cid) %]
	</TD></TR>

[% IF can_mod %]
	<TR><TD>
		<P>Have you read the
		<A HREF="[% constants.rootdir %]/moderation.shtml">Moderator Guidelines</A>
		yet? (<B>Updated 9.9</B>)
		<INPUT TYPE="SUBMIT" NAME="op" VALUE="moderate">
	[% IF user.is_admin && constants.authors_unlimited %]
		<BR><B>NOTE: Checked comments will be deleted.</B>
	[% END %]
	</TD></TR></FORM>
[% END %]
</TABLE>
[% END %]
__seclev__
10000
