{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'configuration'} {/block} {block name="page-title"}{intl l='Thelia Mailing System'}{/block} {block name="check-resource"}admin.configuration.mailing-system{/block} {block name="check-access"}view{/block} {block name="main-content"}
{hook name="mailing-system.top" location="mailing_system_top" }
{intl l="Configuration mailing system"}
{if $editDisabled}
{intl l="Your mailing system has been configured in .env file and cannot be changed here."}
{/if}
{intl l="Be careful, we do not advise to use this interface. It's safer to put your smtp informations in your environement variables."}
{form name="thelia.admin.mailing-system.update"}
{form_hidden_fields} {if $form_error}
{$form_error_message}
{/if} {render_form_field field='enabled'}
{render_form_field field='host'}
{render_form_field field='port'}
{render_form_field field='username'}
{render_form_field field='password'}
{render_form_field field='encryption'}
{render_form_field field='authmode'}
{render_form_field field='timeout'}
{render_form_field field='sourceip'}
{if !$editDisabled}
{/if}
{/form}
{intl l="Test your configuration"}
 
{hook name="mailing-system.bottom" location="mailing_system_bottom" }
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/bootstrap-switch/bootstrap-switch.js'} {/javascripts} {/block} {block name="javascript-last-call"} {hook name="mailing-system.js" location="mainling-system-js" } {/block}