You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
2.0 KiB
Plaintext
31 lines
2.0 KiB
Plaintext
4 years ago
|
{% if mailOption == "option-smtp" %}
|
||
|
<div id="mail-smtp" data-enabled='true'>
|
||
|
<input type='text' name='smtp-domain' id='smtp-domain' placeholder='domain'value="settings.email.smtp.domain"/>
|
||
|
<input type='text' name='smtp-email' id='smtp-email' placeholder='email' value="settings.email.smtp.email" />
|
||
|
<input type='text' name='smtp-pass' id='smtp-pass' placeholder='password' value="settings.email.smtp.password"/>
|
||
|
</div>
|
||
|
<div id="mail-mg" data-enabled='false'>
|
||
|
<input type='text' name='mg-domain' id='mg-domain' placeholder='domain' value="settings.email.mailgun.domain" />
|
||
|
<input type='text' name='mg-key' id='mg-key' placeholder='api key' value="settings.email.mailgun.key "/>
|
||
|
</div>
|
||
|
{% elseif(mailOption == 'option-mg') %}
|
||
|
<div id="mail-smtp" data-enabled='false'>
|
||
|
<input type='text' name='smtp-domain' id='smtp-domain' placeholder='domain'value="settings.email.smtp.domain"/>
|
||
|
<input type='text' name='smtp-email' id='smtp-email' placeholder='email' value="settings.email.smtp.email" />
|
||
|
<input type='text' name='smtp-pass' id='smtp-pass' placeholder='password' value="settings.email.smtp.password"/>
|
||
|
</div>
|
||
|
<div id="mail-mg" data-enabled='true'>
|
||
|
<input type='text' name='mg-domain' id='mg-domain' placeholder='domain' value="settings.email.mailgun.domain" />
|
||
|
<input type='text' name='mg-key' id='mg-key' placeholder='api key' value="settings.email.mailgun.key "/>
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div id="mail-smtp" data-enabled='false'>
|
||
|
<input type='text' name='smtp-domain' id='smtp-domain' placeholder='domain'value="settings.email.smtp.domain"/>
|
||
|
<input type='text' name='smtp-email' id='smtp-email' placeholder='email' value="settings.email.smtp.email" />
|
||
|
<input type='text' name='smtp-pass' id='smtp-pass' placeholder='password' value="settings.email.smtp.password"/>
|
||
|
</div>
|
||
|
<div id="mail-mg" data-enabled='false'>
|
||
|
<input type='text' name='mg-domain' id='mg-domain' placeholder='domain' value="settings.email.mailgun.domain" />
|
||
|
<input type='text' name='mg-key' id='mg-key' placeholder='api key' value="settings.email.mailgun.key "/>
|
||
|
</div>
|
||
|
{% endif %}
|