Add more detailed explanation of iframe, embed, HTML class, and robot user-agent settings

This commit is contained in:
Kijin Sung 2021-06-19 21:15:44 +09:00
parent c35d17c47e
commit 90d09cf4d2
3 changed files with 20 additions and 5 deletions

View file

@ -11,21 +11,24 @@
<input type="hidden" name="act" value="procAdminUpdateSecurity" />
<input type="hidden" name="xe_validator_id" value="modules/admin/tpl/config_security/1" />
<div class="x_control-group">
<label class="x_control-label" for="mediafilter_whitelist">iframe/embed</label>
<label class="x_control-label" for="mediafilter_whitelist">{$lang->mediafilter_whitelist}</label>
<div class="x_controls" style="margin-right:14px">
<textarea name="mediafilter_whitelist" id="mediafilter_whitelist" rows="8" style="width:100%;">{$mediafilter_whitelist}</textarea>
<p class="x_help-block">{$lang->about_mediafilter_whitelist}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label" for="mediafilter_classes">HTML class</label>
<label class="x_control-label" for="mediafilter_classes">{$lang->mediafilter_classes}</label>
<div class="x_controls" style="margin-right:14px">
<textarea name="mediafilter_classes" id="mediafilter_classes" rows="4" style="width:100%;">{$mediafilter_classes}</textarea>
<p class="x_help-block">{$lang->about_mediafilter_classes}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label" for="robot_user_agents">Robot User Agents</label>
<label class="x_control-label" for="robot_user_agents">{$lang->robot_user_agents}</label>
<div class="x_controls" style="margin-right:14px">
<textarea name="robot_user_agents" id="robot_user_agents" rows="4" style="width:100%;">{$robot_user_agents}</textarea>
<p class="x_help-block">{$lang->about_robot_user_agents}</p>
</div>
</div>
<div class="x_control-group">