Clean up help text related to email hosts

This commit is contained in:
Kijin Sung 2020-12-18 14:36:17 +09:00
parent 686cfc3478
commit 4c79d1b229
3 changed files with 6 additions and 11 deletions

View file

@ -21,26 +21,23 @@
<label class="x_control-label" for="limit_day">{$lang->limit_day}</label>
<div class="x_controls">
<input type="number" min="0" id="limit_day" name="limit_day" value="{$config->limit_day}" /> {$lang->unit_day}
<p class="x_help-block">{$lang->about_limit_day}</p>
<input type="text" name="limit_day_description" value="{$config->limit_day_description}" placeholder="{$lang->limit_day_description}" style="width:90%" class="lang_code" />
<p class="x_help-block">{$lang->about_limit_day}</p>
</div>
</div>
<!--// Managed Email Host Control -->
<div class="x_control-group">
<label class="x_control-label" for="manage_email_host">{$lang->cmd_manage_email_host}[<a href="#helpHost" data-toggle>?</a>]</label>
<label class="x_control-label" for="manage_email_host">{$lang->cmd_manage_email_host}</label>
<div class="x_controls">
<div class="layer x_alert x_alert-info" id="helpHost">
<p>{$lang->about_emailhost_check}</p>
</div>
<input type="radio" id="emailhost_check_allowed" name="emailhost_check" value="allowed" checked="checked"|cond="$config->emailhost_check =='allowed'" /><label for="emailhost_check_allowed" class="x_inline"> {$lang->cmd_allowed}</label>
<input type="radio" id="emailhost_check_prohibited" name="emailhost_check" value="prohibited" checked="checked"|cond="$config->emailhost_check =='prohibited'" /><label for="emailhost_check_prohibited" class="x_inline"> {$lang->cmd_prohibited}</label>
<p>{@ if($config->emailhost_check =='prohibited') $emailhost_check = $lang->cmd_prohibited; else $emailhost_check = $lang->cmd_allowed;}{sprintf($lang->count_manage_email_host, count($managedEmailHost), $emailhost_check)}</p>
<ul class="textList" id="managedEmailHost" style="margin-left:0">
<li loop="$managedEmailHost=>$emailInfo" id="managed_{str_replace('.','__',$emailInfo->email_host)}">{$emailInfo->email_host} <button type="button" class="x_icon-remove" onclick="doUpdateManagedEmailHost('{$emailInfo->email_host}','delete','{$lang->confirm_delete}');return false;">{$lang->delete}</button></li>
</ul>
<textarea rows="2" cols="42" id="manage_email_host" title="{$lang->add_managed_emailhost}" style="vertical-align:top"></textarea>
<button type="button" class="_addManagedEmailHost x_btn">{$lang->add}</button>
<p class="x_help-inline">{$lang->multi_line_input}</p>
<p class="x_help-block">{$lang->about_emailhost_check}</p>
</div>
</div>
<div class="x_control-group">
@ -72,7 +69,7 @@
<div class="x_controls">
<input class="module_search" type="text" name="redirect_url" value="{$config->redirect_url}" />
<button type="button" class="__redirect_url_btn x_btn" cond="$config->redirect_url">{$lang->delete}</button>
<p class="x_help-inline">{$lang->about_redirect_url}</p>
<p class="x_help-block">{$lang->about_redirect_url}</p>
</div>
</div>
<div class="x_control-group">