MailConfigChecker/views/smarty/admin/mailconfigcheck.tpl

67 regels
3.7 KiB
Smarty

2023-12-11 10:38:59 +01:00
[{include file="headitem.tpl" title="d3mxd3cleartmp"|oxmultilangassign}]
2024-06-04 14:20:20 +02:00
[{include file="@d3mailconfigchecker/admin/inc_bootstrap.tpl"}]
2023-12-11 10:38:59 +01:00
<style>
2023-12-11 15:48:31 +01:00
span.btn {
cursor: default;
2023-12-11 10:38:59 +01:00
}
</style>
2023-12-11 15:48:31 +01:00
[{assign var="readonly" value="readonly disabled"}]
2023-12-11 10:38:59 +01:00
<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="oxid" value="[{$oxid}]">
<input type="hidden" name="oxidCopy" value="[{$oxid}]">
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
</form>
2023-12-11 15:48:31 +01:00
<div class="row">
<div class="col-12 col-md-6 col-lg-4 mb-4">
<div>
<label class="col-4 form-label" for="oxshops__oxsmtp">[{oxmultilang ident="SHOP_MAIN_SMTPSERVER"}]</label>
<input type="text" class="col-7 editinput" size="35" maxlength="[{$shop->oxshops__oxsmtp->fldmax_length}]" id="oxshops__oxsmtp" value="[{$shop->getFieldData('oxsmtp')}]" [{$readonly}]>
</div>
<div>
<label class="col-4 form-label" for="oxshops__oxsmtpuser">[{oxmultilang ident="SHOP_MAIN_SMTPUSER"}]</label>
<input type="text" class="col-7 editinput" size="35" maxlength="[{$shop->oxshops__oxsmtpuser->fldmax_length}]" id="oxshops__oxsmtpuser" value="[{$shop->getFieldData('oxsmtpuser')}]" [{$readonly}]>
</div>
<div>
<label class="col-4 form-label" for="oxshops__oxinfoemail">[{oxmultilang ident="SHOP_MAIN_INFOEMAIL"}]</label>
<input type="text" class="col-7 editinput" size="35" maxlength="[{$shop->oxshops__oxinfoemail->fldmax_length}]" id="oxshops__oxinfoemail" value="[{$shop->getFieldData('oxinfoemail')}]" [{$readonly}]>
</div>
<div>
<label class="col-4 form-label" for="oxshops__oxorderemail">[{oxmultilang ident="SHOP_MAIN_ORDEREMAIL"}]</label>
<input type="text" class="col-7 editinput" size="35" maxlength="[{$shop->oxshops__oxorderemail->fldmax_length}]" id="oxshops__oxorderemail" value="[{$shop->getFieldData('oxorderemail')}]" [{$readonly}]>
</div>
<div>
<label class="col-4 form-label" for="oxshops__oxowneremail">[{oxmultilang ident="SHOP_MAIN_OWNEREMAIL"}]</label>
<input type="text" class="col-7 editinput" size="35" maxlength="[{$shop->oxshops__oxowneremail->fldmax_length}]" id="oxshops__oxowneremail" value="[{$shop->getFieldData('oxowneremail')}]" [{$readonly}]>
</div>
</div>
2023-12-11 10:38:59 +01:00
2023-12-11 15:48:31 +01:00
<div class="col-12 col-md-6 col-lg-4">
[{if $mailer}]
<div>
2023-12-12 11:28:18 +01:00
[{oxmultilang ident="D3_MAILCHECKER_CFGCHECK_SHOPSEND" suffix="COLON"}]
2023-12-11 15:48:31 +01:00
[{if $mailer == 'mail'}]
2023-12-12 11:28:18 +01:00
<button type="button" class="btn btn-danger">[{oxmultilang ident="D3_MAILCHECKER_CFGCHECK_SHOPSEND_PHPMAILER"}]</button><br>
[{oxmultilang ident="D3_MAILCHECKER_CFGCHECK_SHOPSEND_PHPMAILER_DESC"}]
2023-12-11 15:48:31 +01:00
[{else}]
2023-12-12 11:28:18 +01:00
<span class="btn btn-success">[{oxmultilang ident="D3_MAILCHECKER_CFGCHECK_SHOPSEND_SMTP"}]</span><br>
[{oxmultilang ident="D3_MAILCHECKER_CFGCHECK_SHOPSEND_SMTP_DESC"}]
2023-12-11 15:48:31 +01:00
[{/if}]
</div>
[{else}]
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
[{$oViewConf->getHiddenSid()}]
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
<input type="hidden" name="fnc" value="checkConfiguration">
2023-12-12 11:28:18 +01:00
<button type="submit" class="btn btn-primary">[{oxmultilang ident="D3_MAILCHECKER_CFGCHECK_STARTCHECK"}]</button>
2023-12-11 15:48:31 +01:00
</form>
[{/if}]
</div>
</div>
2023-12-11 10:38:59 +01:00
2023-12-11 15:48:31 +01:00
[{include file="bottomnaviitem.tpl"}]
2023-12-11 10:38:59 +01:00
[{include file="bottomitem.tpl"}]