__section__
default
__description__
Edit comment preferences

* title = passed to titlebar
* user_edit = hashref of preferences
* h_check = boolean to check h?  hardthresh
* r_check = boolean to check r?  reparent
* n_check = boolean to check n?  noscores
* s_check = boolean to check s?  nosigs
* commentmodes_select = popup for comment modes
* commentsort_select = popup for comment sort
* highlightthresh_select = popup for highlight threshold
* uthreshold_select = popup for threshold
* posttype_select = popup for post type


__title__

__page__
users
__lang__
en_US
__name__
editComm
__template__
[% PROCESS titlebar width="100%" %]

[% admin_block %]

<FORM ACTION="[% env.script_name %]" METHOD="POST">

[% IF form.formkey %]
<INPUT TYPE="HIDDEN" NAME="formkey" VALUE="[% form.formkey %]">
[% END %]

<INPUT TYPE="HIDDEN" NAME="formname"  VALUE="editcomm">
<INPUT TYPE="HIDDEN" NAME="op"  VALUE="savecomm">
<INPUT TYPE="HIDDEN" NAME="uid"  VALUE="[% user_edit.uid %]">

<TABLE ALIGN="CENTER" WIDTH="95%" BGCOLOR="[% user.bg.2 %]">
	<TR>
		<TD VALIGN=MIDDLE>
		[% UNLESS user_edit.emaildisplay.defined;
			user_edit.emaildisplay = 0; END %]
		[% emaildisplay.${user_edit.emaildisplay} = 'CHECKED' %]
        	<P><B>Email Display</B><BR>
                &nbsp;&nbsp;&nbsp;
		<INPUT TYPE="RADIO" NAME="emaildisplay" [% emaildisplay.0 %] 
		VALUE=0>&nbsp;
        	Do not display an e-mail address.<BR>
                &nbsp;&nbsp;&nbsp;
                <INPUT TYPE="RADIO" NAME="emaildisplay" [% emaildisplay.1 %] 
		VALUE=1>&nbsp;
                Show your email with random SPAM-armoring applied (this
		changes weekly).<BR> &nbsp;&nbsp;&nbsp;
                <INPUT TYPE="RADIO" NAME="emaildisplay" [% emaildisplay.2 %] 
		VALUE=2>&nbsp;
                Show your real email address without cowering behind childish
		anonymity or obfuscation<BR>

		<P><B>Disable Sigs</B> (strip sig quotes from comments)
		<INPUT TYPE="CHECKBOX" NAME="nosigs"[% s_check %]>

		<P><B>Display Mode</B>

		[% commentmodes_select %]

		<P><B>Sort Order</B> (self explanatory?  I hope?)

		[% commentsort_select %]

		<P><B>Threshold</B>

		[% uthreshold_select %]

		<BR>(comments scored less than this setting will be ignored.
		Anonymous posts start at 0, logged in posts start
		at 1.  Moderators add and subtract points according to
		the <A 
		HREF="[% constants.rootdir %]/moderation.shtml">Guidelines</A>)

		<P><B>Highlight Threshold</B>

		[% highlightthresh_select %]

		<BR>(comments scoring this are displayed even after an article spills into index mode)

		<P><B>Hard Thresholds</B> (Hides 'X Replies Below
		Current Threshold' Message from Threads)
		<INPUT TYPE="CHECKBOX" NAME="hardthresh"[% h_check %]>

		<P><B>Reparent Highly Rated Comments</B> (causes comments
		to be displayed even if they are replies to comments
		under current threshold)
		<INPUT TYPE="CHECKBOX" NAME="reparent"[% r_check %]>

		<P><B>Do Not Display Scores</B> (Hides score:
		They still <B>apply</B> you just don't see them.)
		<INPUT TYPE="CHECKBOX" NAME="noscores"[% n_check %]>

		<P><B>Do Not Display Anonymous Coward Posts</B> (Sets AC scores
		to -1 so as long as you have your threshhold higher you will not see them)
		<INPUT TYPE="CHECKBOX" NAME="anon_comments"[% a_check %]>

		<P><B>Signature Dash</B> (Prefix everyone's signature with "--" to make
		it blazingly obvious where comment ends and sig begins)
		<INPUT TYPE="CHECKBOX" NAME="sigdash"[% d_check %]>

		<P><B>Limit</B> only display this many comments.
		For best results, set this to a low number and sort by score.<BR>
		<INPUT TYPE="TEXT" NAME="commentlimit" SIZE="6" VALUE="[% user_edit.commentlimit %]">

		<P><B>Index Spill</B> (When an article has this many comments,
		it switches to indexed mode)<BR>
		<INPUT TYPE="TEXT" NAME="commentspill" VALUE="[% user_edit.commentspill %]" SIZE="3">

		<P><B>Small Comment Penalty</B> (Assign -1 to comments smaller
		than this many characters)<BR>
		<INPUT TYPE="TEXT" NAME="clsmall" VALUE="[% user_edit.clsmall %]" SIZE="6">

		<P><B>Long Comment Bonus </B> (Assign +1 to lengthy comments)<BR>
		<INPUT TYPE="TEXT" NAME="clbig" VALUE="[% user_edit.clbig %]" SIZE="6">

		<P><B>Max Comment Size</B> (Truncates long comments, and
		adds a "Read the rest" link.  Set really big to disable)<BR>
		<INPUT TYPE="TEXT" NAME="maxcommentsize" SIZE="6" VALUE="[% user_edit.maxcommentsize %]">

		<P><B>Comment Post Mode</B>

		[% posttype_select %]

[% UNLESS user_edit.domaintags.defined; user_edit.domaintags=2; END %]
[% domaintags.${user_edit.domaintags} = 'CHECKED' -%]
		<P><B>Display Link Domains?</B> (shows the actual domain of any link in brackets)<BR>
		&nbsp;&nbsp;&nbsp;
		<INPUT TYPE="RADIO" NAME="domaintags" [% domaintags.0 %] 
		VALUE=0>&nbsp;
		Never show link domains<BR>
		&nbsp;&nbsp;&nbsp;
		<INPUT TYPE="RADIO" NAME="domaintags" [% domaintags.1 %] 
		VALUE=1>&nbsp;
		Show the links domain only in recommended situations<BR>
		&nbsp;&nbsp;&nbsp;
		<INPUT TYPE="RADIO" NAME="domaintags" [% domaintags.2 %] 
		VALUE=2>&nbsp;
		Always show link domains<BR>

		</TD>
	</TR>
</TABLE>
<P>
<INPUT TYPE="SUBMIT" VALUE="Save">
</FORM>

__seclev__
500
