Add validator message to spamfilter module templates

This commit is contained in:
Kijin Sung 2021-03-17 23:11:42 +09:00
parent a107ef1b90
commit eca6adba2c
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,9 @@
<input type="hidden" name="act" value="procSpamfilterAdminInsertConfig" />
<input type="hidden" name="module" value="spamfilter" />
<input type="hidden" name="xe_validator_id" value="modules/spamfilter/tpl/1" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/spamfilter/tpl/1'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->cmd_interval}</label>
<div class="x_controls">

View file

@ -5,6 +5,9 @@
<input type="hidden" name="act" value="procSpamfilterAdminInsertConfigCaptcha" />
<input type="hidden" name="module" value="spamfilter" />
<input type="hidden" name="xe_validator_id" value="modules/spamfilter/tpl/2" />
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/spamfilter/tpl/2'" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<div class="x_control-group">
<label class="x_control-label" for="captcha_type">{$lang->use_captcha}</label>
<div class="x_controls">