LinkProtection/adm/style/acp_protectedlinkpage_body.html

84 lines
4.2 KiB
HTML
Executable file

{% INCLUDE 'overall_header.html' %}
<h1>{{ lang('SETTINGS') }}</h1>
<form id="acp_board" method="post" action="{{ U_ACTION }}">
<fieldset>
<dl>
<dt><label for="linkprotection_protectedprefix">{{ lang('ACP_LINKPROTECTION_PROTECTEDPREFIX') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_LINKPROTECTION_PROTECTEDPREFIX_EXPLANATION') }}</span></dt>
<dd><input type="text" class="text" id="linkprotection_protectedprefix" name="linkprotection_protectedprefix" value="{{ LINKPROTECTION_PROTECTEDPREFIX }}"/></dd>
</dl>
<dl>
<dt><label for="linkprotection_captcha">{{ lang('ACP_LINKPROTECTION_CAPTCHA') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_LINKPROTECTION_CAPTCHA_EXPLANATION') }}</span></dt>
<dd><select name="linkprotection_captcha" id="linkprotection_captcha">
{% for CAPTCHA in loops.captcha_types %}
<option value={{ CAPTCHA.TYPE }} {% if CAPTCHA.TYPE === LINKPROTECTION_CAPTCHA %}selected="selected"{% endif %}>{{ CAPTCHA.NAME }}</option>
{% endfor %}
</select></dd>
</dl>
<dl>
<dt><label for="linkprotection_showsubmit">{{ lang('ACP_LINKPROTECTION_SHOWSUBMIT') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_LINKPROTECTION_SHOWSUBMIT_EXPLANATION') }}</span></dt>
<label><input type="radio" class="radio" name="linkprotection_showsubmit" value="1" id="linkprotection_showsubmit" {% if LINKPROTECTION_SHOWSUBMIT %}checked="checked"{% endif %} /> {{ lang('YES') }}</label>
<label><input type="radio" class="radio" name="linkprotection_showsubmit" value="0" {% if not LINKPROTECTION_SHOWSUBMIT %}checked="checked"{% endif %} /> {{ lang('NO') }}</label>
</dl>
<dl>
<dt><label for="linkprotection_solvetime">{{ lang('ACP_LINKPROTECTION_SOLVETIME') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_LINKPROTECTION_SOLVETIME_EXPLANATION') }}</span></dt>
<dd><input type="number" class="number" id="linkprotection_solvetime" name="linkprotection_solvetime" value="{{ LINKPROTECTION_SOLVETIME }}" min="1"/></dd>
</dl>
<dl>
<dt><label for="linkprotection_multiplelinks">{{ lang('ACP_LINKPROTECTION_MULTIPLELINKS') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_LINKPROTECTION_MULTIPLELINKS_EXPLANATION') }}</span></dt>
<label><input type="radio" class="radio" name="linkprotection_multiplelinks" value="1" id="linkprotection_multiplelinks" {% if LINKPROTECTION_MULTIPLELINKS %}checked="checked"{% endif %} /> {{ lang('YES') }}</label>
<label><input type="radio" class="radio" name="linkprotection_multiplelinks" value="0" {% if not LINKPROTECTION_MULTIPLELINKS %}checked="checked"{% endif %} /> {{ lang('NO') }}</label>
</dl>
{% if LINKPROTECTION_MULTIPLELINKS %}
<dl>
<dt><label for="linkprotection_solveduration">{{ lang('ACP_LINKPROTECTION_SOLVEDURATION') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_LINKPROTECTION_SOLVEDURATION_EXPLANATION') }}</span></dt>
<dd><input type="number" class="number" id="linkprotection_solveduration" name="linkprotection_solveduration" value="{{ LINKPROTECTION_SOLVEDURATION }}" min="1"/></dd>
</dl>
<dl>
<dt><label for="linkprotection_grouplinks">{{ lang('ACP_LINKPROTECTION_GROUPLINKS') ~ lang('COLON') }}</label><br /><span>{{ lang('ACP_LINKPROTECTION_GROUPLINKS_EXPLANATION') }}</span></dt>
<dd><table class="zebra-table" style="width:75%">
<thead>
<tr>
<th width="80%">Group Name</th>
<th width="20%">Number of Links</th>
</tr>
</thead>
<tbody>
{% for GROUP in loops.group_links %}
<tr>
<td>{{ GROUP.NAME }}</td>
<td><input type="number" class="number" id="linkprotection_grouplinks_{{ GROUP.ID }}" name="linkprotection_grouplinks_{{ GROUP.ID }}" value="{{ GROUP.VALUE }}" min="1"/></td>
</tr>
{% endfor %}
</tbody>
</table></dd>
</dl>
{% endif %}
</fieldset>
<fieldset>
<legend>{{ lang('ACP_LINKPROTECTION_DEMO') }}</legend>
{% INCLUDE LINKPROTECTION_CAPTCHA_PREVIEW %}
</fieldset>
<fieldset>
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{{ lang('SUBMIT') }}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{{ lang('RESET') }}" />
</p>
{{ S_FORM_TOKEN }}
</fieldset>
</form>
{% INCLUDE 'overall_footer.html' %}