Fix #629 typo in configuration name 'only_commnet'

오타 설정이 저장된 사이트에 영향을 주지 않기 위해 문자열 그대로 비교하지 않고
라이믹스 내장 starts_with() 함수로 앞부분만 비교하도록 변경함.
This commit is contained in:
Kijin Sung 2016-11-04 22:16:16 +09:00
parent 40c43e8fa0
commit 4d22112582
2 changed files with 2 additions and 2 deletions

View file

@ -280,7 +280,7 @@
<select name="comment_delete_message" id="comment_delete_message">
<option value="no" selected="selected"|cond="$module_info->comment_delete_message == 'no'">{$lang->cmd_do_not_message}</option>
<option value="yes" selected="selected"|cond="$module_info->comment_delete_message == 'yes'">{$lang->cmd_all_comment_message}</option>
<option value="only_commnet" selected="selected"|cond="$module_info->comment_delete_message == 'only_commnet'">{$lang->cmd_only_p_comment}</option>
<option value="only_comment" selected="selected"|cond="starts_with('only_comm', $module_info->comment_delete_message)">{$lang->cmd_only_p_comment}</option>
</select>
<p class="x_help-block">{$lang->about_comment_delete_message}</p>
</div>