rhymix/modules/advanced_mailer/tpl/exceptions.html

67 lines
2.6 KiB
HTML

<include target="./common.html" />
<load target="css/config.css" />
<form class="x_form-horizontal" action="./" method="post" id="advanced_mailer">
<input type="hidden" name="module" value="advanced_mailer" />
<input type="hidden" name="act" value="procAdvanced_mailerAdminInsertExceptions" />
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<section class="section">
<div class="x_control-group">
<label class="x_control-label">{$lang->cmd_advanced_mailer_sending_method_default}</label>
<div class="x_controls margin-top">
{$sending_methods[$sending_method]['name']}
<!--@if($sending_method === 'woorimail')-->
<!--@if(config('mail.woorimail.api_type') === 'free')-->
({$lang->cmd_advanced_mailer_api_type_free})
<!--@else-->
({$lang->cmd_advanced_mailer_api_type_paid})
<!--@end-->
<!--@end-->
</div>
</div>
</section>
<!--@for($i = 1; $i <= 3; $i++)-->
<section class="section">
<h2 style="padding-top:12px">{$lang->cmd_advanced_mailer_exception_group} {$i}</h2>
<div class="x_control-group">
<label class="x_control-label" for="advanced_mailer_exception_{$i}_method">{$lang->cmd_advanced_mailer_sending_method}</label>
<div class="x_controls">
<select name="exception_{$i}_method" id="advanced_mailer_exception_{$i}_method">
<option value="default">{$lang->cmd_advanced_mailer_exception_disabled}</option>
<!--@foreach($sending_methods as $driver_name => $driver_definition)-->
<option value="{$driver_name}" selected="selected"|cond="$advanced_mailer_config->exceptions[$i]['method'] === $driver_name">{$driver_definition['name']}</option>
<!--@end-->
</select>
</div>
</div>
<div class="x_control-group">
<label class="x_control-label" for="advanced_mailer_exception_{$i}_domains">{$lang->cmd_advanced_mailer_exception_domains_list}</label>
<div class="x_controls">
<textarea name="exception_{$i}_domains" id="advanced_mailer_exception_{$i}_domains" class="exception-domains">{implode(', ', $advanced_mailer_config->exceptions[$i]['domains'])}</textarea>
<p class="x_help-block">{$lang->cmd_advanced_mailer_about_exception_domains_list}</p>
</div>
</div>
</section>
<!--@end-->
<div style="margin-top:32px">
※ {$lang->cmd_advanced_mailer_about_exception_domains}
</div>
<div class="btnArea x_clearfix">
<button type="submit" class="x_btn x_btn-primary x_pull-right">{$lang->cmd_registration}</button>
</div>
</form>