add 5.0.3.2 sourceGuardian PHP8

This commit is contained in:
Markus Gärtner 2022-12-23 15:29:10 +01:00
parent f270afde07
commit ea034c1255
66 changed files with 226 additions and 137 deletions

View File

@ -1,8 +1,12 @@
Version 5.0.3.2
- Support für Oxid 6.4 & 6.5
Version 5.0.3.1
- Die E-Mails wurden nicht generiert. Bugfix für Verwendung in der 6.2 & 6.3
Version 5.0.3.0
Support für OXID 6.2 & 6.3
- Support für OXID 6.2 & 6.3
Version 5.0.2.3

View File

@ -13,7 +13,7 @@
{
"name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com",
"homepage": "http://www.d3data.com",
"homepage": "https://www.d3data.com",
"role": "Owner"
}
],
@ -34,8 +34,10 @@
}
},
"require": {
"oxid-esales/oxideshop-ce": "6.3 - 6.8",
"d3/modcfg": "^5.3.6.000 || ^6"
"php": "^8.0",
"ext-sourceguardian": "*",
"oxid-esales/oxideshop-ce": "6.8 - 6.13",
"d3/modcfg": "^6.0"
},
"autoload": {
"psr-4": {

View File

@ -2,14 +2,18 @@
title: Changelog
---
## Version 5.0.3.1 - 2021-08-03
## Version 5.0.3.2 - 2021-08-03
### Fixed
- Die E-Mais wurden nicht generiert. Bugfix für Verwendung in der 6.2 & 6.3
- Support für Oxid 6.4 & 6.5
---
title: Changelog
## Version 5.0.3.1 - 2022-10-30
### Fixed
- Die E-Mails wurden nicht generiert. Bugfix für Verwendung in der 6.2 & 6.3
---
## Version 5.0.3.0 - 2021-07-16
@ -38,7 +42,7 @@ title: Changelog
## Version 5.0.2.0
- Punkte für Bewertungen konnten nicht vergeben werden
- kleine Refactoring Arbeiten
- kleine Refactoring Arbeiten
- Ausgabe des CronJobs kann als E-Mail versendet werden
---

View File

@ -1,6 +1,6 @@
{
"title": "<i class='fab fa-d3 d3fa-color-blue'></i> Bonuspunkte",
"moduleversion": "5.0.3.0",
"moduleversion": "5.0.3.1",
"titledesc": "für den Oxid eShop",
"author": "D³ Data Development",
"moduledate": "16.07.2021",

View File

@ -72,17 +72,22 @@
<div class="Page__header">
<h1><a href="../changelog/Changelog.html">Changelog</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">
<h2 id="page_Version-5-0-3-1-2021-08-03">Version 5.0.3.1 - 2021-08-03</h2>
<h2 id="page_Version-5-0-3-2-2021-08-03">Version 5.0.3.2 - 2021-08-03</h2>
<h3 id="page_Fixed">Fixed</h3>
<ul>
<li>Die E-Mais wurden nicht generiert. Bugfix für Verwendung in der 6.2 &amp; 6.3</li>
<li>Support für Oxid 6.4 &amp; 6.5</li>
</ul>
<hr />
<h2 id="page_Version-5-0-3-1-2022-10-30">Version 5.0.3.1 - 2022-10-30</h2>
<h3 id="page_Fixed-2">Fixed</h3>
<ul>
<li>Die E-Mails wurden nicht generiert. Bugfix für Verwendung in der 6.2 &amp; 6.3</li>
</ul>
<hr />
<h2 id="page_title-Changelog">title: Changelog</h2>
<h2 id="page_Version-5-0-3-0-2021-07-16">Version 5.0.3.0 - 2021-07-16</h2>
<h3 id="page_Fixed-2">Fixed</h3>
<ul>
@ -110,7 +115,7 @@
<h2 id="page_Version-5-0-2-0">Version 5.0.2.0</h2>
<ul>
<li>Punkte für Bewertungen konnten nicht vergeben werden</li>
<li>kleine Refactoring Arbeiten</li>
<li>kleine Refactoring Arbeiten</li>
<li>Ausgabe des CronJobs kann als E-Mail versendet werden</li>
</ul>
<hr />

View File

@ -49,7 +49,7 @@
<div class="details">
<div>Autor: D³ Data Development</div> <div>Stand: 16.07.2021</div>
<div>Version: 5.0.3.0</div>
<div>Version: 5.0.3.1</div>
</div>
</div>

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Anforderungspruefung.html">Anforderungsprüfung</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Systemanforderungen.html">Systemanforderungen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Anforderungen/Systemanforderungen.html">Anforderungen</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Anforderungen/Vorbereitungen.html">Vorbereitungen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Dateien_loeschen.html">Dateien löschen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Datenbank_bereinigen.html">Datenbank bereinigen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modul_aus_der_Installation_entfernen.html">Modul aus der Installation entfernen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modul_deaktivieren.html">Modul deaktivieren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Modulerweiterungen deaktivieren und entfernen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Deinstallation/Modulerweiterungen_deaktivieren_und_entfernen.html">Deinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Deinstallation/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../installation/Installationspruefung.html">Installationsprüfung</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/CMS-Seiten.html">CMS-Seiten</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/CronJobs.html">Cronjob anpassen / automatische Vergabe der Bonuspunkte</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Konfiguration_einstellen.html">Konfiguration einstellen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Lizenz_eintragen.html">Lizenzschlüssel eintragen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Modul_hinzufuegen.html">Modul zur Installation hinzufügen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Modul_im_Shop_aktivieren.html">Modul im Shop aktivieren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Providerspezifische_Installation.html">Providerspezifische Installation</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Shopanpassungen_installieren.html">Shopanpassungen installieren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Updatefaehigkeit.html">Updatefaehigkeit</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Verwendung_eigener_Themes.html">Verwendung eigener Themes</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Neuinstallation/Vorbereitung.html">Vorbereitungen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Neuinstallation/index.html">Neuinstallation</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../installation/Schnellstart.html">Schnellstart</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/CMS-Seiten.html">CMS-Texte anpassen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/CronJobs.html">Cronjob anpassen / automatische Vergabe der Bonuspunkte</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Dateien_erneuern.html">Dateien erneuern</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Konfiguration_einstellen.html">Konfiguration einstellen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Modul_deaktivieren.html">Modul deaktivieren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Modulinformationen_aktualisieren.html">Modulinformationen aktualisieren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Paketquelle_entfernen.html">Paketquelle entfernen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Providerspezifische_Installation.html">Providerspezifische Installation</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/Shopanpassungen_installieren.html">Shopanpassungen installierren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../installation/Update/Modul_deaktivieren.html">Update</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../installation/Update/TMP-Ordner_leeren.html">TMP-Ordner leeren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../support/FAQ/Modul_testen.html">FAQ</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../support/FAQ/Fehlermeldungen_anzeigen.html">Modul / Funktionen deaktivieren</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../support/FAQ/Modul_testen.html">FAQ</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../support/FAQ/Modul_Funktionen_deaktivieren.html">Fehlermeldungen anzeigen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../../support/FAQ/Modul_testen.html">FAQ</a> <svg class="Page__header--separator" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 477.175 477.175"><path d="M360.73 229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1 0s-5.3 13.8 0 19.1l215.5 215.5-215.5 215.5c-5.3 5.3-5.3 13.8 0 19.1 2.6 2.6 6.1 4 9.5 4 3.4 0 6.9-1.3 9.5-4l225.1-225.1c5.3-5.2 5.3-13.8.1-19z"/></svg> <a href="../../support/FAQ/Modul_testen.html">Modul testen</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

View File

@ -72,7 +72,7 @@
<div class="Page__header">
<h1><a href="../support/Hilfe-und-Support.html">Hilfe und Support</a></h1>
<span class="ModifiedDate">
13.06.2022 </span>
22.12.2022 </span>
</div>
<div class="s-content">

File diff suppressed because one or more lines are too long

View File

@ -37,7 +37,6 @@ class demo extends d3_cfg_mod_main
protected $_sThisTemplate = 'd3points_demo.tpl';
protected $_sModId = 'd3points';
protected $_hasLicence = false;
protected $_hasNewsletterForm = false;
protected $_modUseCurl = false;
protected $_sMenuItemTitle = 'd3mxd3points';
protected $_sMenuSubItemTitle = 'd3mxd3points_DEMO';

View File

@ -38,7 +38,6 @@ class maintenance extends d3_cfg_mod_main
*/
protected $_sModId = 'd3points';
protected $_hasLicence = false;
protected $_hasNewsletterForm = false;
protected $_modUseCurl = false;
protected $_sMenuItemTitle = 'd3mxd3points';
protected $_sMenuSubItemTitle = 'd3mxd3points_MAINTENANCE';
@ -74,7 +73,7 @@ class maintenance extends d3_cfg_mod_main
$myUtilsView = Registry::getUtilsView();
$oLang = Registry::getLang();
if ($blStatus == true) {
if ($blStatus) {
if ($iStatus == '-')
$myUtilsView->addErrorToDisplay(
$oLang->translateString('D3_CFG_MOD_d3points_MAINTAINCE_RESET_ORDERS_NOT_STATUS')
@ -121,7 +120,7 @@ class maintenance extends d3_cfg_mod_main
$ret = '';
if ($sOrderType) {
if ($blOrderConfirm == true) {
if ($blOrderConfirm) {
/** @var $od3Points d3points **/
$od3Points = oxNew(d3points::class);
$ret = $od3Points->d3DeleteOrderPoints($sOrderNr, $blOrderConfirm, $sOrderType, $sOrderComment, $blSendMail);

View File

@ -93,6 +93,9 @@ class settings extends d3_cfg_mod_main
{
#echo $key;
#dumpvar($aGroup);
if ($aGroup === '0'){
continue;
}
$this->d3GetSet()->setValue('d3points_' . $key, array());
$this->d3GetSet()->setValue('d3points_' . $key, serialize($aGroup));
@ -170,8 +173,7 @@ class settings extends d3_cfg_mod_main
*/
protected function d3_GetGroups()
{
$oGroups = utils_points::d3_d3pointsUtils_LoadGroups();
return $oGroups;
return utils_points::d3_d3pointsUtils_LoadGroups();
}
/**

View File

@ -200,7 +200,7 @@ class userpoints extends AdminDetailsController
* @throws \Doctrine\DBAL\DBALException
* @throws \OxidEsales\Eshop\Core\Exception\DatabaseErrorException
*/
public function d3GetNextReminderDate($sDate)
public function d3GetNextReminderDate(string $sDate)
{
/* @var $od3Points d3points */
$od3Points = oxnew(d3points::class);

View File

@ -289,16 +289,14 @@ class accountpoints extends AccountController
if (!$oUser) {
//return false;
$sMessage = 'No User given';
$oException = oxNew(StandardException::class, $sMessage);
throw $oException;
throw oxNew(StandardException::class, $sMessage);
}
//Jetzt nochmal prüfen, ob wir wirklich einen Gutschein erstellen dürfen
if (!$this->d3getAllowCreateVoucher()) {
//return false;
$sMessage = 'Not allowed to create a Voucher';
$oException = oxNew(StandardException::class, $sMessage);
throw $oException;
throw oxNew(StandardException::class, $sMessage);
}
return true;
}
@ -319,7 +317,7 @@ class accountpoints extends AccountController
public function d3CreateVoucherFromPoints()
{
$oUser = $this->getUser();
if($this->d3CanCreateVoucherFromPoints($oUser) == true)
if($this->d3CanCreateVoucherFromPoints($oUser))
{
/* @var $od3Points d3points */
$od3Points = oxnew(d3points::class);
@ -359,7 +357,7 @@ class accountpoints extends AccountController
* @return bool
* @throws DatabaseConnectionException
*/
public function d3GetSelectedOption($iBit)
public function d3GetSelectedOption(int $iBit)
{
$oUser = $this->getUser();
if ($oUser->isLoaded()) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -90,8 +90,8 @@
<table width="100%">
[{block name="d3points_demo_calculate_points_table_items"}]
<tr>
<td>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_POINTS_PRICE_AMOUNT"}]</td>
<td><input type="text" name="DEMOSYSTEM[PRICE2POINTS]" value="[{$PRICE2POINTS|default:"0"}]" size="6" maxlength="10"> [{ $oActCur->sign }]</td>
<td><label for="DEMOSYSTEM[PRICE2POINTS]">[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_POINTS_PRICE_AMOUNT"}]</label></td>
<td><input type="text" name="DEMOSYSTEM[PRICE2POINTS]" id="DEMOSYSTEM[PRICE2POINTS]" value="[{$PRICE2POINTS|default:"0"}]" size="6" maxlength="10"> [{ $oActCur->sign }]</td>
</tr>
[{if $sRate4Points !=''}]
@ -125,27 +125,25 @@
</tr>
[{/foreach}]
</table>
</td>
</tr>
[{/if}]
[{*assign var="CALCULATEDPOINTS" value=$oView->d3GetRate4Voucher()*}]
<tr>
<td>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_POINTS_SUM"}]</td>
<td><span>[{$CALCULATEDPOINTS|default:"0"}]</span> [{oxmultilang ident="D3_CFG_MOD_d3points_LABEL_POINTS"}]</td>
</tr>
[{/block}]
[{block name="d3points_demo_calculate_points_table_submit"}]
<tr>
<td>&nbsp;</td>
<td>
<span class="d3modcfg_btn icon d3color-green">
<button type="submit" name="save">
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_SUBMIT"}]
</button>
</span>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<span class="d3modcfg_btn icon d3color-green">
<button type="submit" name="save">
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_SUBMIT"}]
</button>
</span>
</td>
</tr>
[{/block}]
</table>
[{/block}]
@ -168,8 +166,13 @@
<table width="100%">
[{block name="d3points_demo_calculate_voucher_table_items"}]
<tr>
<td>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_VOUCHER_POINTS_SUM"}]</td>
<td><input type="text" name="DEMOSYSTEM[POINTS2VOUCHER]" value="[{$POINTS2VOUCHER}]" size="6" maxlength="10"> [{oxmultilang ident="D3_CFG_MOD_d3points_LABEL_POINTS"}]</td>
<td>
<label for="DEMOSYSTEM[POINTS2VOUCHER]">[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_VOUCHER_POINTS_SUM"}]</label>
</td>
<td>
<input type="text" name="DEMOSYSTEM[POINTS2VOUCHER]" ID="DEMOSYSTEM[POINTS2VOUCHER]" value="[{$POINTS2VOUCHER|default:"0"}]" size="6" maxlength="10">
[{oxmultilang ident="D3_CFG_MOD_d3points_LABEL_POINTS"}]
</td>
</tr>
<tr>
<td>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_POINTS_RATE"}]</td>
@ -186,16 +189,16 @@
[{/block}]
[{block name="d3points_demo_calculate_voucher_table_submit"}]
<tr>
<td>&nbsp;</td>
<td>
<span class="d3modcfg_btn icon d3color-green">
<button type="submit" name="save">
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_SUBMIT"}]
</button>
</span>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<span class="d3modcfg_btn icon d3color-green">
<button type="submit" name="save">
<i class="fa fa-check-circle fa-inverse"></i>[{oxmultilang ident="D3_CFG_MOD_d3points_DEMO_CALCULATE_SUBMIT"}]
</button>
</span>
</td>
</tr>
[{/block}]
</table>
[{/block}]

View File

@ -10,7 +10,6 @@
<br>
[{oxcontent ident="d3pointsdisablemail"}]
<br>
<br>
[{oxcontent ident="oxemailfooterplain"}]
<br>
[{include file="email/html/footer.tpl"}]

View File

@ -6,4 +6,4 @@
[{oxcontent ident="d3pointsdisablemailplain"}]
[{oxcontent ident="oxemailfooter"}]
[{oxcontent ident="oxemailfooterplain"}]

View File

@ -7,6 +7,5 @@
[{oxcontent ident="d3stornopointsmail"}]
<br>
<br>
[{oxcontent ident="oxemailfooterplain"}]
</body>
</html>
[{include file="email/html/footer.tpl"}]

View File

@ -56,7 +56,7 @@ class d3_oxorder_d3points extends d3_oxorder_d3points_parent
*
* @return bool
*/
public function d3UpdateOrderFieldD3isSetPoints($sOrderId, $iSetPoints)
public function d3UpdateOrderFieldD3isSetPoints(string $sOrderId, int $iSetPoints)
{
if ($this->load($sOrderId))
{
@ -83,9 +83,9 @@ class d3_oxorder_d3points extends d3_oxorder_d3points_parent
* @throws StandardException
* @throws d3_cfg_mod_exception
*/
public function d3ResetOrders($iStatus, $blStatus)
public function d3ResetOrders(int $iStatus, bool $blStatus)
{
if ($blStatus == true) {
if ($blStatus) {
if (!$iStatus) {
$iStatus = 0;
}

View File

@ -61,19 +61,19 @@ class d3_oxuser_points extends d3_oxuser_points_parent
public function d3CheckUserWithAccount($blIsMallMode)
{
$blReturn = $this->_d3blUserHasAccount();
if($blReturn == FALSE)
if(!$blReturn)
{
return $blReturn;
}
$blReturn = $this->_d3blUserIsActive();
if($blReturn == FALSE)
if(!$blReturn)
{
return $blReturn;
}
$blReturn = $this->_d3blUserHasShopId($blIsMallMode);
if($blReturn == FALSE)
if(!$blReturn)
{
return $blReturn;
}
@ -96,12 +96,12 @@ class d3_oxuser_points extends d3_oxuser_points_parent
*/
protected function _d3blUserHasAccount()
{
if((bool)$this->getModCfg()->getValue('d3points_DO_POINTS_FOR_USER_WITHOUT_ACCOUNT') == TRUE)
if((bool)$this->getModCfg()->getValue('d3points_DO_POINTS_FOR_USER_WITHOUT_ACCOUNT'))
{
return TRUE;
}
if ($this->hasAccount() == false) {
if (!$this->hasAccount()) {
d3_cfg_mod::get($this->_sModId)->d3getLog()->Log(d3log::DEBUG, __CLASS__, __FUNCTION__, __LINE__,
"User:Check for account", "User has no account, oxpassword='' ");
return FALSE;
@ -124,7 +124,7 @@ class d3_oxuser_points extends d3_oxuser_points_parent
*/
protected function _d3blUserIsActive()
{
if((bool)$this->oxuser__oxactive->value == FALSE)
if(!(bool)$this->oxuser__oxactive->value)
{
d3_cfg_mod::get($this->_sModId)->d3getLog()->Log(d3log::DEBUG, __CLASS__, __FUNCTION__, __LINE__,
"User:Check for active", "User is not active");
@ -151,7 +151,7 @@ class d3_oxuser_points extends d3_oxuser_points_parent
*/
protected function _d3blUserHasShopId($blIsMallMode)
{
if($blIsMallMode == true)
if($blIsMallMode)
{
return TRUE;
}
@ -198,7 +198,7 @@ class d3_oxuser_points extends d3_oxuser_points_parent
public function setCreditPointsForRegistrant_( $sUserId,$sRecEmail )
{
$ret = parent::setCreditPointsForRegistrant($sUserId, $sRecEmail );
if($ret == true)
if($ret)
{
/** @var $d3Points d3points */
$d3Points = oxnew(d3points::class);
@ -217,7 +217,7 @@ class d3_oxuser_points extends d3_oxuser_points_parent
public function setCreditPointsForInvite_()
{
$ret = parent::setCreditPointsForInviter();
if($ret == true)
if($ret)
{
$sUserId = $this->getId();
/** @var $d3Points d3points */
@ -237,7 +237,7 @@ class d3_oxuser_points extends d3_oxuser_points_parent
*/
public function d3GetAllPoints()
{
if($this->isLoaded() == false)
if(!$this->isLoaded())
{
return NULL;
}

View File

@ -573,7 +573,7 @@ class d3_oxemail_points extends d3_oxemail_points_parent
* $oPoint->iOrderPoints
* $oPoint->iUserPointSum
*
* @param d3_oxorder_d3points $oOrder
* @param $oOrder
* @param d3points $oPoint
* @param integer $iLang
*
@ -587,7 +587,7 @@ class d3_oxemail_points extends d3_oxemail_points_parent
* @throws Exception
* @throws d3_cfg_mod_exception
*/
public function d3SendStornoMail(d3_oxorder_d3points $oOrder, d3points $oPoint, int $iLang = 0)
public function d3SendStornoMail($oOrder, d3points $oPoint, int $iLang = 0)
{
//sets language of shop
$iCurrLang = $iLang;

File diff suppressed because one or more lines are too long

View File

@ -23,9 +23,9 @@ $aModule = [
],
'lang' => 'de',
'thumbnail' => 'picture.png',
'version' => '5.0.3.1',
'version' => '5.0.3.2',
'author' => 'D&sup3; Data Development',
'url' => 'http://www.shopmodule.com',
'url' => 'https://www.shopmodule.com',
'email' => 'support@shopmodule.com',
'extend' => [
OxidController\AccountController::class => \D3\Points\Modules\Application\Controller\d3_account_points::class,

View File

@ -65,9 +65,12 @@ class d3_Cron_Points extends BaseController
{
//Shopid setzten
$sShopId = utils_points::d3_d3pointsUtils_CheckShopId();
Registry::get(Config::class)->setShopId($sShopId);
Registry::getConfig()->setShopId($sShopId);
//Modul aktiv
/**
* Wenn ModCfg nicht aktiv, dann wird log-Eintrag
* beendet Skript!
*/
if (!$this->getModCfg()->isActive())
{
$this->getD3Log()->Log(d3log::INFO, __CLASS__, __FUNCTION__, __LINE__, "Modul Bonuspunkte nicht aktiv", "nicht aktiv");
@ -95,7 +98,7 @@ class d3_Cron_Points extends BaseController
}
//CronJob aktiv
if ($this->getModCfg()->getValue('bld3points_CRONJOB_ACTIVE') == false)
if (0 === $this->getModCfg()->getValue('bld3points_CRONJOB_ACTIVE'))
{
$this->getD3Log()->Log(d3log::INFO, __CLASS__, __FUNCTION__, __LINE__, "CronJob nicht aktiv", "nicht aktiv");
//todo Uebesetzung
@ -104,16 +107,24 @@ class d3_Cron_Points extends BaseController
exit();
}
//Go to d3points an perform some actions
/** @var d3points $od3points */
$od3points = oxnew(d3points::class);
/**
* Grab d3Points class
* start cronjob + cronjob-actions
* checking if status shall be printed
* check if status shall be sent to remote address
*/
/** @var d3points $d3PointsObject */
$d3PointsObject = oxnew(d3points::class);
$ret = 'Start CronJob';
$sStatus = $od3points->d3StartCronJobActions();
if($this->getModCfg()->getValue('bld3points_FNC_CRONJOB_PRINT_STATUS') == true)
$sStatus = $d3PointsObject->d3StartCronJobActions();
// checking if status shall be printed
if($this->getModCfg()->getValue('bld3points_FNC_CRONJOB_PRINT_STATUS'))
{
$ret.= $sStatus;
}
// check if status shall be sent to remote address
if(trim($this->getModCfg()->getValue('sd3points_FNC_CRONJOB_SEND_STATUS_TO')) != '') {
$oMail = oxNew(Email::class);
$sTextAdd = 'CronJob Bonuspunkte - ' . date('H:i:s d.m.Y') . PHP_EOL;