Improve anonymous nickname handling

This commit is contained in:
Kijin Sung 2016-04-26 23:55:00 +09:00
parent 81b5230c9c
commit e25b36ee64
7 changed files with 90 additions and 24 deletions

View file

@ -205,6 +205,14 @@
<label class="x_inline" for="use_anonymous"><input type="checkbox" name="use_anonymous" id="use_anonymous" value="Y" checked="checked"|cond="$module_info->use_anonymous == 'Y'" /> {$lang->about_use_anonymous}</label>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->anonymous_name}</label>
<div class="x_controls">
<input type="text" name="anonymous_name" id="anonymous_name" value="{$module_info->anonymous_name ?: 'anonymous'}" />
<a href="#anonymous_name_help" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
<p id="anonymous_name_help" class="x_help-block" hidden>{$lang->about_anonymous_name}</p>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label">{$lang->consultation}</label>
<div class="x_controls">