mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Add options to allow voting and reporting from the same IP as the author of a document or comment
This commit is contained in:
parent
d285a90e88
commit
60ed013915
6 changed files with 106 additions and 30 deletions
|
|
@ -29,9 +29,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="use_vote_up" class="x_control-label">{$lang->cmd_vote}</label>
|
||||
<label for="c_use_vote_up" class="x_control-label">{$lang->cmd_vote}</label>
|
||||
<div class="x_controls">
|
||||
<select name="use_vote_up" id="use_vote_up">
|
||||
<select name="use_vote_up" id="c_use_vote_up">
|
||||
<option value="Y" selected="selected"|cond="$comment_config->use_vote_up=='Y'">{$lang->use}</option>
|
||||
<option value="S" selected="selected"|cond="$comment_config->use_vote_up=='S'">{$lang->use_and_display}</option>
|
||||
<option value="N" selected="selected"|cond="$comment_config->use_vote_up=='N'">{$lang->notuse}</option>
|
||||
|
|
@ -39,22 +39,52 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="use_vote_down" class="x_control-label">{$lang->cmd_vote_down}</label>
|
||||
<label for="c_use_vote_down" class="x_control-label">{$lang->cmd_vote_down}</label>
|
||||
<div class="x_controls">
|
||||
<select name="use_vote_down" id="use_vote_down">
|
||||
<select name="use_vote_down" id="c_use_vote_down">
|
||||
<option value="Y" selected="selected"|cond="$comment_config->use_vote_down=='Y'">{$lang->use}</option>
|
||||
<option value="S" selected="selected"|cond="$comment_config->use_vote_down=='S'">{$lang->use_and_display}</option>
|
||||
<option value="N" selected="selected"|cond="$comment_config->use_vote_down=='N'">{$lang->notuse}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{lang('document.allow_vote_from_same_ip')}</label>
|
||||
<div class="x_controls">
|
||||
<label for="c_allow_vote_from_same_ip_Y" class="x_inline">
|
||||
<input type="radio" id="c_allow_vote_from_same_ip_Y" name="allow_vote_from_same_ip" value="Y" checked="checked"|cond="$comment_config->allow_vote_from_same_ip === 'Y'">
|
||||
{$lang->cmd_yes}
|
||||
</label>
|
||||
<label for="c_allow_vote_from_same_ip_N" class="x_inline">
|
||||
<input type="radio" id="c_allow_vote_from_same_ip_N" name="allow_vote_from_same_ip" value="N" checked="checked"|cond="$comment_config->allow_vote_from_same_ip !== 'Y'">
|
||||
{$lang->cmd_no}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="use_vote_down" class="x_control-label">{lang('document.allow_declare_from_same_ip')}</label>
|
||||
<div class="x_controls">
|
||||
<label for="c_allow_declare_from_same_ip_Y" class="x_inline">
|
||||
<input type="radio" id="c_allow_declare_from_same_ip_Y" name="allow_declare_from_same_ip" value="Y" checked="checked"|cond="$comment_config->allow_declare_from_same_ip === 'Y'">
|
||||
{$lang->cmd_yes}
|
||||
</label>
|
||||
<label for="c_allow_declare_from_same_ip_N" class="x_inline">
|
||||
<input type="radio" id="c_allow_declare_from_same_ip_N" name="allow_declare_from_same_ip" value="N" checked="checked"|cond="$comment_config->allow_declare_from_same_ip !== 'Y'">
|
||||
{$lang->cmd_no}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="use_comment_validation" class="x_control-label">{$lang->cmd_comment_validation}</label>
|
||||
<div class="x_controls">
|
||||
<select name="use_comment_validation" id="use_comment_validation">
|
||||
<option value="N" selected="selected"|cond="$comment_config->use_comment_validation=='N'">{$lang->notuse}</option>
|
||||
<option value="Y" selected="selected"|cond="$comment_config->use_comment_validation=='Y'">{$lang->use}</option>
|
||||
</select>
|
||||
<label for="use_comment_validation_Y" class="x_inline">
|
||||
<input type="radio" id="use_comment_validation_Y" name="use_comment_validation" value="Y" checked="checked"|cond="$comment_config->use_comment_validation === 'Y'">
|
||||
{$lang->cmd_yes}
|
||||
</label>
|
||||
<label for="use_comment_validation_N" class="x_inline">
|
||||
<input type="radio" id="use_comment_validation_N" name="use_comment_validation" value="N" checked="checked"|cond="$comment_config->use_comment_validation !== 'Y'">
|
||||
{$lang->cmd_no}
|
||||
</label>
|
||||
<p class="x_help-inline">{$lang->about_comment_validation}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue