8
0
Bifurcation 0

Merge branch 'rel_ionCube_PHP56-70' of github.com:d3datadevelopment/contenttabs into rel_ionCube_PHP56-70

# Conflicts:
#	README.md
#	changelog.md
#	composer.json
#	docs/Precheck/d3precheck.php
#	docs/Precheck/modules/d3/contenttabs/Application/Controller/Admin/d3precheckinfolder.php
#	docs/Precheck/modules/d3/contenttabs/Setup/d3precheckinfolder.php
#	docs/Precheck/modules/d3/contenttabs/d3precheckinfolder.php
#	src/Application/Controller/Admin/contentTabList.php
#	src/Application/Controller/Admin/contentTabs.php
#	src/Application/Controller/Admin/settings.php
#	src/Application/Controller/Admin/support.php
#	src/Application/Model/contentTabs.php
#	src/Application/translations/de/d3_contenttabs_lang.php
#	src/Application/views/admin/de/d3_contenttabs_lang.php
#	src/Application/views/admin/tpl/contentTabList.tpl
#	src/Application/views/admin/tpl/contentTabs.tpl
#	src/IntelliSenseHelper.php
#	src/Setup/setupWizard.php
#	src/menu.xml
#	src/metadata.php
#	src/modules/Application/Component/Widget/d3_oxwarticledetails_contenttabs.php
#	src/modules/Application/Model/d3_oxarticle_longtexts.php
Cette révision appartient à :
Daniel Seifert 2018-10-19 15:53:55 +02:00
révision 9fe3684892
7 fichiers modifiés avec 2866 ajouts et 2870 suppressions

Voir le fichier

@ -1,18 +1,18 @@
# D³ Content Tabs für OXID eShop # D³ Content Tabs für OXID eShop
Erweiterung der Produktdetailsseite mit weiteren "Tabs". Erweiterung der Produktdetailsseite mit weiteren "Tabs".
Dies ermöglicht es viele Produktionformationen sauber und übersichtlich auszulisten. Dies ermöglicht es viele Produktionformationen sauber und übersichtlich auszulisten.
## Systemanforderungen: ## Systemanforderungen:
- installierter OXID eShop - installierter OXID eShop
- PHP-Version, für die Installationspakete verfügbar sind - PHP-Version, für die Installationspakete verfügbar sind
- Installation via Composer - Installation via Composer
- ionCubeLoader - ionCubeLoader
- D3 Modul Connector - D3 Modul Connector
Die jeweils geforderten Versionen und sonstige Anforderungen entnehmen Die jeweils geforderten Versionen und sonstige Anforderungen entnehmen
Sie bitte der Dokumentation im docs-Verzeichnis dieses Paketes. Sie bitte der Dokumentation im docs-Verzeichnis dieses Paketes.
## Installation: ## Installation:
Verwenden Sie zur Installation bitte immer unser Quellenverzeichnis unter https://satis.oxidmodule.com. Verwenden Sie zur Installation bitte immer unser Quellenverzeichnis unter https://satis.oxidmodule.com.
Eine detaillierte Installationsanleitung finden Sie im docs-Verzeichnis dieses Pakets. Eine detaillierte Installationsanleitung finden Sie im docs-Verzeichnis dieses Pakets.

Voir le fichier

@ -1,137 +1,137 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## 4.0.0.2 (2018-10-19) ## 4.0.0.2 (2018-10-19)
- Freigabe für OXID 6.1.x - Freigabe für OXID 6.1.x
- Fehlerhinweise eingefügt, wenn Langtexte nicht ausreichend befüllt sind - Fehlerhinweise eingefügt, wenn Langtexte nicht ausreichend befüllt sind
- bugfix: Schreibschutz für Langtexte an Artikelvarianten entfernt - bugfix: Schreibschutz für Langtexte an Artikelvarianten entfernt
## 4.0.0.1 (2018-03-01) ## 4.0.0.1 (2018-03-01)
- Exception im Admin unter /Content Tabs/Tabverwaltung/Stamm/ - Exception im Admin unter /Content Tabs/Tabverwaltung/Stamm/
## 4.0.0.0 (2018-03-01) ## 4.0.0.0 (2018-03-01)
- Kompatibilität und Support ab Oxid 6.0.0 - Kompatibilität und Support ab Oxid 6.0.0
- Integration eines eigenen Admin-Bereich "D³ Content Tabs" - Integration eines eigenen Admin-Bereich "D³ Content Tabs"
- Titel und Langtexte der Tabs werden in einer eigenen Tabelle gespeichert - Titel und Langtexte der Tabs werden in einer eigenen Tabelle gespeichert
- Langtexte haben eine "Aktiv" - Option erhalten, welche im Frontend zusätzlich geprüft wird - Langtexte haben eine "Aktiv" - Option erhalten, welche im Frontend zusätzlich geprüft wird
- Altlasten und unnötige Dateien entfernt - Altlasten und unnötige Dateien entfernt
- Umstellung auf Namespaces - Umstellung auf Namespaces
- Grundinstallation via Composer - Grundinstallation via Composer
## 3.2.0.1 (2016-12-19) ## 3.2.0.1 (2016-12-19)
- Support für Apache 2.4 - Support für Apache 2.4
- Paketbereitstellung für ionCube - Paketbereitstellung für ionCube
## 3.2.0.0 (2016-07-22) ## 3.2.0.0 (2016-07-22)
- drop: techn. Support für Shopversionen 4.7.x eingestellt - drop: techn. Support für Shopversionen 4.7.x eingestellt
- add: Freigabe für 4.10.x - add: Freigabe für 4.10.x
- add: Prüfung auf gültige Modul-Dateien implementiert - add: Prüfung auf gültige Modul-Dateien implementiert
- add feature: Support für Oxid-Theme Flow - add feature: Support für Oxid-Theme Flow
## 3.1.0.2 (2015-10-07) ## 3.1.0.2 (2015-10-07)
- bugfix: "Shop offline" Anzeige nach der Wahl einer Variante im Frontend - bugfix: "Shop offline" Anzeige nach der Wahl einer Variante im Frontend
- bugfix: gepflegte Tab-Inhalte wurden nicht angezeigt - bugfix: gepflegte Tab-Inhalte wurden nicht angezeigt
## 3.1.0.1 (2015-09-03) ## 3.1.0.1 (2015-09-03)
- automatische Installation aufgeteilt, Anlegen der Datenbankfelder erfolgt "step by step" - automatische Installation aufgeteilt, Anlegen der Datenbankfelder erfolgt "step by step"
- Übernahme Moduleigener Templates in copy_this und Verweis zur Überladung siehe FAQ - Übernahme Moduleigener Templates in copy_this und Verweis zur Überladung siehe FAQ
- fehlende Übersetzungen im Shopadmin nachgetragen - fehlende Übersetzungen im Shopadmin nachgetragen
- Modulfreigabe für php5.5 und php5.6 - Modulfreigabe für php5.5 und php5.6
- Aktualisierung Vorabprüfung und Installationsanleitung - Aktualisierung Vorabprüfung und Installationsanleitung
## 3.1.0.0 (2014-11-12) ## 3.1.0.0 (2014-11-12)
- support for mobile-themes - support for mobile-themes
- adjustment of the structure - adjustment of the structure
- update precheck - update precheck
## 3.0.1.0 (2014-08-08) ## 3.0.1.0 (2014-08-08)
- Module compatible with Shopvesion 4.8.7 - Module compatible with Shopvesion 4.8.7
- Show Message in Backend if Module is not active - Show Message in Backend if Module is not active
- rename module-tab-Templates - rename module-tab-Templates
- adjustment of the structure - adjustment of the structure
- delete deprecated files in autoupdate - delete deprecated files in autoupdate
- fix module entrys in shopconfiguration - fix module entrys in shopconfiguration
## 3.0.0.3 (2014-05-05) ## 3.0.0.3 (2014-05-05)
- Update Precheck - Update Precheck
## 3.0.0.2 (2014-03-18) ## 3.0.0.2 (2014-03-18)
- bugfix for saving longdesc in admin - bugfix for saving longdesc in admin
## 3.0.0.1 (2013-02-22) ## 3.0.0.1 (2013-02-22)
- bugfix when module is inactive, tabs will be shown in frontend - bugfix when module is inactive, tabs will be shown in frontend
## 3.0.0.0 (2013-02-19) ## 3.0.0.0 (2013-02-19)
- restructured for 4.7 / 5.0 - restructured for 4.7 / 5.0
## 2.4.6.2 (2013-06-27) ## 2.4.6.2 (2013-06-27)
- add funktionality for Edition EE - add funktionality for Edition EE
- add Versioncheck in oxarticle-extension - add Versioncheck in oxarticle-extension
till 4.5.x other method for getting Longdescription than in 4.6.x till 4.5.x other method for getting Longdescription than in 4.6.x
## 2.4.6.1 (2013-03-12) ## 2.4.6.1 (2013-03-12)
- bugfix in update.sql - bugfix in update.sql
## 2.4.6.0 (2013-02-01) ## 2.4.6.0 (2013-02-01)
- tab content moved to templates, add extendable blocks - tab content moved to templates, add extendable blocks
## 2.4.5.0 (2012-09-05) ## 2.4.5.0 (2012-09-05)
- added 4.6.0 functionality - added 4.6.0 functionality
## 2.4.4 (2012-05-31) ## 2.4.4 (2012-05-31)
- bug fix: javaScript fallback causes shop-in-tab-problem - bug fix: javaScript fallback causes shop-in-tab-problem
## 2.4.3 (2011-11-02) ## 2.4.3 (2011-11-02)
- added templates for 451 - 454 - added templates for 451 - 454
- added javaScript fallback for non js user - added javaScript fallback for non js user
## 2.4.2 (2011-09-19) ## 2.4.2 (2011-09-19)
- bug fix price doesn't save - bug fix price doesn't save
- bug fix showed empty tabs - bug fix showed empty tabs
## 2.4.1 (2011-08-16) ## 2.4.1 (2011-08-16)
- inheritance implemented - inheritance implemented
- bug in save function fixed - bug in save function fixed
## 2.4.0 (2011-07-19) ## 2.4.0 (2011-07-19)
- restructured - restructured
- removed Ajax lib, switched to jQuery - removed Ajax lib, switched to jQuery
- removed ox_cmp module - removed ox_cmp module
- renamed fields (from oxlongdescXXX to d3longdescXXX) in database - renamed fields (from oxlongdescXXX to d3longdescXXX) in database
- added 4.5.0 templates - added 4.5.0 templates
## 2.1 (2009-11-13) ## 2.1 (2009-11-13)
- Xajax-Implementierung au neues Intergrationsschema umgestellt - Xajax-Implementierung au neues Intergrationsschema umgestellt
- langtext- und templatebasierte Versionen zusammengeführt - langtext- und templatebasierte Versionen zusammengeführt
- Fallback-Funktion für Nicht-JavaScript-Einsatz - Fallback-Funktion für Nicht-JavaScript-Einsatz
- Langtexte in einem Admin-Tab zusammengefaßt - Langtexte in einem Admin-Tab zusammengefaßt
- Langtext mehrsprachig verfügbar - Langtext mehrsprachig verfügbar
## 2.0 (2009-08-26) ## 2.0 (2009-08-26)
- auf PE4 portiert - auf PE4 portiert
## 1.1 (2008-09-22) ## 1.1 (2008-09-22)
- Fallback-Funktion für Nicht-JavaScript-Einsatz (tpl) - Fallback-Funktion für Nicht-JavaScript-Einsatz (tpl)
- Attribute und Bewertungen stehen nun ebenfalls zur Verfügung (tpl) - Attribute und Bewertungen stehen nun ebenfalls zur Verfügung (tpl)
## 1.0 (2008-09-12) ## 1.0 (2008-09-12)
- Grundfunktion zum Modul komplettiert - Grundfunktion zum Modul komplettiert
- Scriptbasis ist aktuelles Xajax-Integrationsschema - Scriptbasis ist aktuelles Xajax-Integrationsschema
[3.2.0.0]: https://blog.oxidmodule.com/archives/610-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.2.0.0.html [3.2.0.0]: https://blog.oxidmodule.com/archives/610-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.2.0.0.html
[3.1.0.2]: https://blog.oxidmodule.com/archives/541-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.1.0.2.html [3.1.0.2]: https://blog.oxidmodule.com/archives/541-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.1.0.2.html
[3.1.0.1]: https://blog.oxidmodule.com/archives/539-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.1.html [3.1.0.1]: https://blog.oxidmodule.com/archives/539-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.1.html
[3.1.0.0]: https://blog.oxidmodule.com/archives/473-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.0.html [3.1.0.0]: https://blog.oxidmodule.com/archives/473-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.1.0.0.html
[3.0.1.0]: https://blog.oxidmodule.com/archives/441-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.0.1.0.html [3.0.1.0]: https://blog.oxidmodule.com/archives/441-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-3.0.1.0.html
[3.0.0.2]: https://blog.oxidmodule.com/archives/389-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.0.0.2.html [3.0.0.2]: https://blog.oxidmodule.com/archives/389-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-3.0.0.2.html
[3.0.0.0]: https://blog.oxidmodule.com/archives/251-Neues-Upgrade-fuer-Modul-Content-Tabs-auf-Version-3.0.0.0.html [3.0.0.0]: https://blog.oxidmodule.com/archives/251-Neues-Upgrade-fuer-Modul-Content-Tabs-auf-Version-3.0.0.0.html
[2.4.6.2]: https://blog.oxidmodule.com/archives/290-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.6.2.html [2.4.6.2]: https://blog.oxidmodule.com/archives/290-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.6.2.html
[2.4.6.0]: https://blog.oxidmodule.com/archives/246-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-2.4.6.0.html [2.4.6.0]: https://blog.oxidmodule.com/archives/246-Neues-Update-fuer-Modul-Content-Tabs-auf-Version-2.4.6.0.html
[2.4.5.0]: https://blog.oxidmodule.com/archives/211-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.5.0.html [2.4.5.0]: https://blog.oxidmodule.com/archives/211-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.5.0.html
[2.4.4.0]: https://blog.oxidmodule.com/archives/188-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.4.html [2.4.4.0]: https://blog.oxidmodule.com/archives/188-Neuer-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.4.html
[2.4.3.0]: https://blog.oxidmodule.com/archives/144-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.3.html [2.4.3.0]: https://blog.oxidmodule.com/archives/144-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.3.html
[2.4.2.0]: https://blog.oxidmodule.com/archives/130-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.2.html [2.4.2.0]: https://blog.oxidmodule.com/archives/130-Neues-Patch-fuer-Modul-Content-Tabs-auf-Version-2.4.2.html
[2.4.0.0]: https://blog.oxidmodule.com/archives/116-Update-Content-Tabs-fuer-OXID-PE-4.5.html [2.4.0.0]: https://blog.oxidmodule.com/archives/116-Update-Content-Tabs-fuer-OXID-PE-4.5.html
[2.0.0.0]: https://blog.oxidmodule.com/archives/28-Modul-Content-Tabs.html [2.0.0.0]: https://blog.oxidmodule.com/archives/28-Modul-Content-Tabs.html

Voir le fichier

@ -12,10 +12,10 @@
], ],
"authors": [ "authors": [
{ {
"name": "D3 Data Development (Inh. Thomas Dartsch)", "name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com", "email": "info@shopmodule.com",
"homepage": "http://www.d3data.de", "homepage": "http://www.d3data.de",
"role": "Owner" "role": "Owner"
} }
], ],
"support": { "support": {
@ -32,13 +32,13 @@
} }
}, },
"require": { "require": {
"php": "5.6 - 7.0", "ext-ionCube-Loader": "*", "php": "5.6 - 7.0", "ext-ionCube-Loader": "*",
"oxid-esales/oxideshop-metapackage-ce": "~6.0.1 || ~6.1.0", "oxid-esales/oxideshop-metapackage-ce": "~6.0.1 || ~6.1.0",
"d3/modcfg": "^5.1.0.000" "d3/modcfg": "^5.1.0.000"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"D3\\Contenttabs\\": "../../../source/modules/d3/contenttabs" "D3\\Contenttabs\\": "../../../source/modules/d3/contenttabs"
} }
} }
} }

Fichier diff supprimé car celui-ci est trop grand Voir la Diff

Voir le fichier

@ -1,98 +0,0 @@
4.0.0.0
- Kompatibilität und Support ab Oxid 6.0.0
- Integration eines eigenen Admin-Bereich "D³ Content Tabs"
- Titel und Langtexte der Tabs werden in einer eigenen Tabelle gespeichert
- Langtexte haben eine "Aktiv" - Option erhalten, welche im Frontend zusätzlich geprüft wird
- Altlasten und unnötige Dateien entfernt
3.2.0.1
- Support für Apache 2.4
- Paketbereitstellung für ionCube
3.2.0.0
- drop: techn. Support für Shopversionen 4.7.x eingestellt
- add: Freigabe für 4.10.x
- add: Prüfung auf gültige Modul-Dateien implementiert
- add feature: Support für Oxid-Theme Flow
3.1.0.2
- bugfix: "Shop offline" Anzeige nach der Wahl einer Variante im Frontend
- bugfix: gepflegte Tab-Inhalte wurden nicht angezeigt
3.1.0.1
- automatische Installation aufgeteilt, Anlegen der Datenbankfelder erfolgt "step by step"
- Übernahme Moduleigener Templates in copy_this und Verweis zur Überladung siehe FAQ
- fehlende Übersetzungen im Shopadmin nachgetragen
- Modulfreigabe für php5.5 und php5.6
- Aktualisierung Vorabprüfung und Installationsanleitung
3.1.0.0
- support for mobile-themes
- adjustment of the structure
- update precheck
3.0.1.0
- Module compatible with Shopvesion 4.8.7
- Show Message in Backend if Module is not active
- rename module-tab-Templates
- adjustment of the structure
- delete deprecated files in autoupdate
- fix module entrys in shopconfiguration
3.0.0.3
- Update Precheck
3.0.0.2
- bugfix for saving longdesc in admin
3.0.0.1
- bugfix when module is inactive, tabs will be shown in frontend
3.0.0.0
- restructured for 4.7 / 5.0
2.4.6.0
- tab content moved to templates, add extendable blocks
2.4.5.0 2012-09-05
- added 4.6.0 functionality
2.4.4 2012-05-31
- bug fix: javaScript fallback causes shop-in-tab-problem
2.4.3 2011-11-02
- added templates for 451 - 454
- added javaScript fallback for non js user
2.4.2 2011-09-19
- bug fix price doesn't save
- bug fix showed empty tabs
2.4.1 2011-08-16
- inheritance implemented
- bug in save function fixed
2.4.0 2011-07-19
- restructured
- removed Ajax lib, switched to jQuery
- removed ox_cmp module
- renamed fields (from oxlongdescXXX to d3longdescXXX) in database
- added 4.5.0 templates
2.1 2009-11-13
- Xajax-Implementierung au neues Intergrationsschema umgestellt
- langtext- und templatebasierte Versionen zusammengeführt
- Fallback-Funktion für Nicht-JavaScript-Einsatz
- Langtexte in einem Admin-Tab zusammengefaßt
- Langtext mehrsprachig verfügbar
2.0 2009-08-26
- auf PE4 portiert
1.1 PE3 (tpl) 2008-09-22
- Fallback-Funktion für Nicht-JavaScript-Einsatz
- Attribute und Bewertungen stehen nun ebenfalls zur Verfügung
1.0 PE3 2008-09-12
- Grundfunktion zum Modul komplettiert
- Scriptbasis ist aktuelles Xajax-Integrationsschema

Voir le fichier

@ -0,0 +1,41 @@
<?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\Contenttabs\Modules\Application\Component\Widget;
/**
* Class d3_oxwarticledetails_contenttabs
*/
use D3\Contenttabs\Application\Model\contentTabs as TabsModel;
use OxidEsales\Eshop\Application\Model\Article;
class d3_oxwarticledetails_contenttabs extends d3_oxwarticledetails_contenttabs_parent
{
/**
* @return array|null
*/
public function d3GetTabs()
{
/**
* @var Article
*/
$oArticle = $this->getProduct();
return oxNew(TabsModel::class, $oArticle)->getTabs();
}
}

Voir le fichier

@ -0,0 +1,53 @@
<?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\Contenttabs\Modules\Application\Model;
use D3\Contenttabs\Application\Model\contentTabs as TabsModel;
/**
* Article manager.
* Creates fully detailed article object, with such information as VAT,
* discounts, etc.
*
*/
class d3_oxarticle_longtexts extends d3_oxarticle_longtexts_parent
{
/**
* Deletes record and other information related to this article such as images from DB,
* also removes variants. Returns true if entry was deleted.
*
* @param string $sOXID Article id
*
* @throws \Exception
*
* @return bool
*/
public function delete($sOXID = null)
{
if (!$sOXID) {
$sOXID = $this->getId();
}
if (!$sOXID) {
return parent::delete($sOXID);
}
oxNew(TabsModel::class, $this)->deleteAllLongtexts($sOXID);
return parent::delete($sOXID);
}
}