add plugin description page
This commit is contained in:
parent
4213ad9ceb
commit
db5529f538
@ -31,7 +31,7 @@ class MailCheckBase extends AdminController
|
||||
public function render(): string
|
||||
{
|
||||
$this->addTplParam('sListClass', MailCheckMenu::class);
|
||||
$this->addTplParam('sMainClass', MailConfigCheck::class);
|
||||
$this->addTplParam('sMainClass', MailInfoPage::class);
|
||||
|
||||
return parent::render();
|
||||
}
|
||||
|
23
Application/Controller/Admin/MailInfoPage.php
Normal file
23
Application/Controller/Admin/MailInfoPage.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This Software is the property of Data Development and is protected
|
||||
* by copyright law - it is NOT Freeware.
|
||||
* Any unauthorized use of this software without a valid license
|
||||
* is a violation of the license agreement and will be prosecuted by
|
||||
* civil and criminal law.
|
||||
* http://www.shopmodule.com
|
||||
*
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
||||
* @link http://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
namespace D3\MailConfigChecker\Application\Controller\Admin;
|
||||
|
||||
use OxidEsales\Eshop\Application\Controller\Admin\AdminDetailsController;
|
||||
|
||||
class MailInfoPage extends AdminDetailsController
|
||||
{
|
||||
protected $_sThisTemplate = 'mailInfoPage.tpl';
|
||||
}
|
@ -21,6 +21,15 @@
|
||||
[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_DESC"}]
|
||||
</div>
|
||||
|
||||
<h5>[{oxmultilang ident="D3_MAILCHECKER_SPFRESULT_LINKS"}]</h5>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://mxtoolbox.com/EmailHeaders.aspx">
|
||||
[{oxmultilang ident="D3_MAILCHECKER_TESTMAIL_HEADERANALYSIS"}]
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6 col-lg-4 mb-4">
|
||||
<form name="myedit" id="myedit" action="[{$oViewConf->getSelfLink()}]" method="post">
|
||||
|
34
Application/views/admin/tpl/mailinfopage.tpl
Normal file
34
Application/views/admin/tpl/mailinfopage.tpl
Normal file
@ -0,0 +1,34 @@
|
||||
[{include file="headitem.tpl" title="d3mxd3cleartmp"|oxmultilangassign}]
|
||||
[{include file="inc_bootstrap.tpl"}]
|
||||
|
||||
<style>
|
||||
span.btn {
|
||||
cursor: default;
|
||||
}
|
||||
</style>
|
||||
|
||||
[{assign var="readonly" value="readonly disabled"}]
|
||||
|
||||
<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>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-10 col-lg-8 mb-4">
|
||||
<p>
|
||||
[{oxmultilang ident="D3_MAILCHECKER_INFO_1"}]
|
||||
</p>
|
||||
<p>
|
||||
[{oxmultilang ident="D3_MAILCHECKER_INFO_2"}]
|
||||
</p>
|
||||
<p>
|
||||
[{oxmultilang ident="D3_MAILCHECKER_INFO_3"}]
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[{include file="bottomnaviitem.tpl"}]
|
||||
[{include file="bottomitem.tpl"}]
|
@ -3,11 +3,16 @@
|
||||
return [
|
||||
'charset' => 'UTF-8',
|
||||
'D3_MENU_MAILCHECKER' => 'E-Mail Prüfung',
|
||||
'D3_TAB_MAILCHECKER_MODULEDESCRIPTION' => 'Beschreibung',
|
||||
'D3_TAB_MAILCHECKER_CONFIGCHECK' => 'Konfigurationsprüfung',
|
||||
'D3_TAB_MAILCHECKER_SMTPCHECK' => 'SMTP Check',
|
||||
'D3_TAB_MAILCHECKER_SPFCHECK' => 'SPF Check',
|
||||
'D3_TAB_MAILCHECKER_TESTMAIL' => 'Testmail',
|
||||
|
||||
'D3_MAILCHECKER_INFO_1' => 'Dieses Modul kann Ihnen helfen, um Schwierigkeiten beim Versand von Mails oder bei nicht zugestellten Mails zu identifizieren. Gehen Sie bitte die folgenden Tabs durch. Nötige Nacharbeiten werden Ihnen dort angezeigt.',
|
||||
'D3_MAILCHECKER_INFO_2' => 'Beachten Sie bitte, dass die Prüfungen nicht im Produktivbetrieb des Shops aktiv sein sollten!',
|
||||
'D3_MAILCHECKER_INFO_3' => 'Benötigen Sie detailliertere Informationen oder technische Unterstützung, kontaktieren Sie uns bitte unter:</br></br>support@shopmodule.com<br><br>Ihr Team von <img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em"> D3 Data Development.',
|
||||
|
||||
'D3_MAILCHECKER_ASSERTIONS_FAILED' => 'Die folgenden %d Prüfungen schlugen fehl:',
|
||||
'D3_MAILCHECKER_ASSERTIONS_NOTSET' => 'ist nicht (richtig) gesetzt',
|
||||
'D3_MAILCHECKER_ASSERTIONS_NOPORT' => 'fehlende oder falsche Port-Angabe (587 oder 2525)',
|
||||
@ -46,6 +51,7 @@ return [
|
||||
'D3_MAILCHECKER_SPFRESULT_LINK_BLACKLISTCHECK' => 'Blacklist Check',
|
||||
|
||||
'D3_MAILCHECKER_TESTMAIL_DESC' => 'Die Testmail wird auf identischem Weg geschickt, den auch alle regulären Mails aus dem Shop nehmen (z.B. Bestellbestätigungen, ...) und kann z.B. zur Headeranalyse dienen.',
|
||||
'D3_MAILCHECKER_TESTMAIL_HEADERANALYSIS' => 'Email Header Analyzer',
|
||||
'D3_MAILCHECKER_TESTMAIL_SUBJECT' => 'Betreff',
|
||||
'D3_MAILCHECKER_TESTMAIL_BODY' => 'Nachricht',
|
||||
'D3_MAILCHECKER_TESTMAIL_SENDMAIL' => 'E-Mail absenden',
|
||||
|
1
menu.xml
1
menu.xml
@ -3,6 +3,7 @@
|
||||
<OXMENU id="NAVIGATION_ESHOPADMIN">
|
||||
<MAINMENU id="mxservice">
|
||||
<SUBMENU id="D3_MENU_MAILCHECKER" cl="d3mailcheck" list="d3mailcheckmenu">
|
||||
<TAB id="D3_TAB_MAILCHECKER_MODULEDESCRIPTION" cl="d3mailinfopage" />
|
||||
<TAB id="D3_TAB_MAILCHECKER_CONFIGCHECK" cl="d3mailconfigcheck" />
|
||||
<TAB id="D3_TAB_MAILCHECKER_SMTPCHECK" cl="d3smtpchecker" />
|
||||
<TAB id="D3_TAB_MAILCHECKER_SPFCHECK" cl="d3spfchecker" />
|
||||
|
@ -16,6 +16,7 @@ declare(strict_types=1);
|
||||
use D3\MailConfigChecker\Application\Controller\Admin\MailCheckBase;
|
||||
use D3\MailConfigChecker\Application\Controller\Admin\MailCheckMenu;
|
||||
use D3\MailConfigChecker\Application\Controller\Admin\MailConfigCheck;
|
||||
use D3\MailConfigChecker\Application\Controller\Admin\MailInfoPage;
|
||||
use D3\MailConfigChecker\Application\Controller\Admin\MailTester;
|
||||
use D3\MailConfigChecker\Application\Controller\Admin\SpfChecker;
|
||||
use D3\MailConfigChecker\Application\Controller\Admin\SmtpChecker;
|
||||
@ -46,6 +47,7 @@ $aModule = [
|
||||
'controllers' => [
|
||||
'd3mailcheck' => MailCheckBase::class,
|
||||
'd3mailcheckmenu' => MailCheckMenu::class,
|
||||
'd3mailinfopage' => MailInfoPage::class,
|
||||
'd3mailconfigcheck' => MailConfigCheck::class,
|
||||
'd3smtpchecker' => SmtpChecker::class,
|
||||
'd3spfchecker' => SpfChecker::class,
|
||||
@ -54,10 +56,11 @@ $aModule = [
|
||||
'templates' => [
|
||||
'mailCheckBase.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/mailcheckbase.tpl',
|
||||
'mailCheckMenu.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/mailcheckmenu.tpl',
|
||||
'mailInfoPage.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/mailinfopage.tpl',
|
||||
'mailConfigCheck.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/mailconfigcheck.tpl',
|
||||
'smtpCheck.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/smtpCheck.tpl',
|
||||
'smtpCheck.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/smtpCheck.tpl',
|
||||
'spfCheck.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/spfCheck.tpl',
|
||||
'mailTester.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/mailTester.tpl',
|
||||
'mailTester.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/mailTester.tpl',
|
||||
'inc_bootstrap.tpl' => 'd3/mailconfigchecker/Application/views/admin/tpl/inc/bootstrap.tpl',
|
||||
],
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user