Fix #810 do not add current IP to sitelock whitelist automatically

사이트 잠금 상태에서도 관리자는 로그인할 수 있도록 변경되었으므로
더이상 관리자의 IP 주소를 강제로 추가해 줄 필요가 없음.
This commit is contained in:
Kijin Sung 2017-05-07 22:07:40 +09:00
parent 5e296e54e2
commit 141aabdaf7
6 changed files with 1 additions and 25 deletions

View file

@ -19,8 +19,7 @@
<div class="x_control-group">
<label class="x_control-label" for="sitelock_allowed_ip">{$lang->sitelock_whitelist} <a class="x_icon-question-sign" href="./common/manual/admin/index.html#UMAN_config_general_sitelock_whitelist" target="_blank">{$lang->help}</a></label>
<div class="x_controls">
<textarea name="sitelock_allowed_ip" id="sitelock_allowed_ip" rows="4" cols="42" placeholder="{$remote_addr} ({$lang->local_ip_address})" style="margin-right:10px">{$sitelock_allowed_ip}</textarea>
<span class="x_help-block">{$lang->sitelock_warning_whitelist}</span>
<textarea name="sitelock_allowed_ip" id="sitelock_allowed_ip" rows="4" cols="42" style="margin-right:10px">{$sitelock_allowed_ip}</textarea>
<span class="x_help-block">{$lang->your_ip} : {$remote_addr}</span>
</div>
</div>