add 1.1.2.1 (sourceGuardian for PHP 8.x)

This commit is contained in:
Daniel Seifert 2024-11-21 11:58:35 +01:00
parent 143d7afb44
commit ebff6cc8a3
8 changed files with 29 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
<?php ?><?php /** This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Herstellerinformationen @version 1.1.2.0 SourceGuardian (19.11.2024) @author Daniel Seifert support@shopmodule.com @copyright (C) 2024, D3 Data Development @see https://www.d3data.de */ ?><?php
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('7A3737B36901AB2DAAQAAAAhAAAABKgAAACABAAAAAAAAAD/VuKOQKsWv4Ept0ff96QBXfuAalkclcHCMJsXgew/OR/KtTNLQXxwYKKY1ur4lghMKLYgGY8ownUJP/70rBFZy8rbxEnTuHGjPDjZKD0WNd79/arrqPwrs4meElBKI5Vt2OpKcGQjMkFk6jwkGQ5WeTTlWYPUaIc9z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wZkTDvH+8lCyNPbwmE7vo5fiUP5MHDn5hD5qVc3sqHghu4CvzL6Yr2fzHKaFG4Uq5dGBmyEmptYLvHWgVWttXcvBPgo86Xha072vkokrLnqkyAjhcJQLm06iCW71VvT0dKX7LCmyCTMVw/A5chMQcoAQhXsftAYZMqIYf+yAMR7pV3+7baoBeqJu5tmYOoogmKtL8voumFyUe90LEcjq9r5EBMg6vQmIYEa+QAwLc0kaNolUeDz46ai74NVI+35Gl4oEro44WjMv5hfN2YprLuhfeDCrVZZpjEvbAie48Ijx4xJZhUgAAAOABAAAfgvgkHd+CZTWxcYmCLQ7F4Bct6vl7aUsig28SEYMMToyZThZOD3a67sTOO/JsoKwRnN1Op665baY22NWJ6rV9et+P0AMqzxNCrtiG53SXTd16nhUwITzSQQNNz22NQHiQfQ4J3keGbLHxvKLSKIpf2RYq1SlWXdJi1/dkH8bEJMiRagB6bpKQWfHSsYNBhF9ZDXL0Z4uADPLvgtt3CSl10q0+iE5Qkmf7gr4sSxJgDPWfYvT4DEDFdAXNU8UDY/WK1i4B5IGWwzR2TsayFp7E87zNo8zgQthgbeSfeuPHuuMyE0LGKziD4oE7h5Qiz577HUzodjnFu1E42//bA3GeIS+n8wLo/VlOfINoK+WBqwfrys7NUSkvxPYP/qxPhLwxPnj0HTX6pHS6YV9Y68aiGC274phtAU/mUovvRv3TV9eOnsS+nNMvtZMNqqiPXG8xTv+sOdWoaNJDrmJ9lhkth/jAaTJzcaP1nx6JNYtXWRg2cSBXYGYXNTkL1pRQP0DLJgsv/7Po8LrleoB0LS6lxVBZVsDEhppn0ykNTK87Go6/ccK+Vz4B09BPLlii85+bvCymH1Bu4tWRAx/8aKk4vxByZtfZZIUtRxs+fYVaGIOLmDxW8cNYEZ4NTjVjG4kAAAAA');
<?php ?><?php /** This Software is the property of D³ Data Development and is protected by copyright law - it is NOT Freeware. Any unauthorized use of this software without a valid license key is a violation of the license agreement and will be prosecuted by civil and criminal law. Inhaber: Thomas Dartsch Alle Rechte vorbehalten @package Herstellerinformationen @version 1.1.2.1 SourceGuardian (21.11.2024) @author Daniel Seifert support@shopmodule.com @copyright (C) 2024, D3 Data Development @see https://www.d3data.de */ ?><?php
if(!function_exists('sg_load')){$__v=phpversion();$__x=explode('.',$__v);$__v2=$__x[0].'.'.(int)$__x[1];$__u=strtolower(substr(php_uname(),0,3));$__ts=(@constant('PHP_ZTS') || @constant('ZEND_THREAD_SAFE')?'ts':'');$__f=$__f0='ixed.'.$__v2.$__ts.'.'.$__u;$__ff=$__ff0='ixed.'.$__v2.'.'.(int)$__x[2].$__ts.'.'.$__u;$__ed=@ini_get('extension_dir');$__e=$__e0=@realpath($__ed);$__dl=function_exists('dl') && function_exists('file_exists') && @ini_get('enable_dl') && !@ini_get('safe_mode');if($__dl && $__e && version_compare($__v,'5.2.5','<') && function_exists('getcwd') && function_exists('dirname')){$__d=$__d0=getcwd();if(@$__d[1]==':') {$__d=str_replace('\\','/',substr($__d,2));$__e=str_replace('\\','/',substr($__e,2));}$__e.=($__h=str_repeat('/..',substr_count($__e,'/')));$__f='/ixed/'.$__f0;$__ff='/ixed/'.$__ff0;while(!file_exists($__e.$__d.$__ff) && !file_exists($__e.$__d.$__f) && strlen($__d)>1){$__d=dirname($__d);}if(file_exists($__e.$__d.$__ff)) dl($__h.$__d.$__ff); else if(file_exists($__e.$__d.$__f)) dl($__h.$__d.$__f);}if(!function_exists('sg_load') && $__dl && $__e0){if(file_exists($__e0.'/'.$__ff0)) dl($__ff0); else if(file_exists($__e0.'/'.$__f0)) dl($__f0);}if(!function_exists('sg_load')){$__ixedurl='https://www.sourceguardian.com/loaders/download.php?php_v='.urlencode($__v).'&php_ts='.($__ts?'1':'0').'&php_is='.@constant('PHP_INT_SIZE').'&os_s='.urlencode(php_uname('s')).'&os_r='.urlencode(php_uname('r')).'&os_m='.urlencode(php_uname('m'));$__sapi=php_sapi_name();if(!$__e0) $__e0=$__ed;if(function_exists('php_ini_loaded_file')) $__ini=php_ini_loaded_file(); else $__ini='php.ini';if((substr($__sapi,0,3)=='cgi')||($__sapi=='cli')||($__sapi=='embed')){$__msg="\nPHP script '".__FILE__."' is protected by SourceGuardian and requires a SourceGuardian loader '".$__f0."' to be installed.\n\n1) Download the required loader '".$__f0."' from the SourceGuardian site: ".$__ixedurl."\n2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="\n3) Edit ".$__ini." and add 'extension=".$__f0."' directive";}}$__msg.="\n\n";}else{$__msg="<html><body>PHP script '".__FILE__."' is protected by <a href=\"https://www.sourceguardian.com/\">SourceGuardian</a> and requires a SourceGuardian loader '".$__f0."' to be installed.<br><br>1) <a href=\"".$__ixedurl."\" target=\"_blank\">Click here</a> to download the required '".$__f0."' loader from the SourceGuardian site<br>2) Install the loader to ";if(isset($__d0)){$__msg.=$__d0.DIRECTORY_SEPARATOR.'ixed';}else{$__msg.=$__e0;if(!$__dl){$__msg.="<br>3) Edit ".$__ini." and add 'extension=".$__f0."' directive<br>4) Restart the web server";}}$__msg.="</body></html>";}die($__msg);exit();}}return sg_load('7A3737B36B01A9ADAAQAAAAhAAAABKgAAACABAAAAAAAAAD/7eu63ABliAXJ4FcriXKyKcOV48jnELCpifVKxD7diznc6b20PT0ogdhe0dRvD/xT/Ht3/SrOny3+FBr8DsV89SQIaFtNgv2bX3vWCzS2E4eBgi1XOzusRPmxINtZ//lbzpZX9bkh0GqZ/vIChgIdSJuoGskMKWMRz5ednoblXBSP2O2tGqGoLns7Kr/J70sGXrO+Joha6eRKNxKKaSONNYXuS3nKGaUjCAAAAOgBAABNru9Kg/jwKFbzHT1TFrMBEJXnPoZ4SMRCcdD91w3yW0R597Wn7IcyyoecYyL1NOQhQ1jDGZhmBnUQgIlmJoVDXDyBJsw3SqkbPazIY9Z5OlpmbjVtIHDMesW9FrvZwD60iMvsemrLtPO4Ym+/tZP8Q43UyRVGhPwWw4tVcxg1Y96LZeGk5nFJ9IrKPMoGh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L9ATbT2lUFUpuUs5f+G/ZCEUgAAAOABAACU6EyF+1+VRPYumnXSDhQPb+PEf1/rg5ndM3w9kJ9osDAQckJ5AgNAkmCPrNlXXIZPxwceEfOex0I4CZQsZYFp6pLkpCNKz3qcegqjBcKp1IMWBSEnQdlcZG90HuZuXOYCXs2pGOmgBLonBsqaG/l5xT4tQt5gj/jh4150R7uogzFvCzq2Q/MsVqW3qcKjE0VKnHvMgCPdiuvws7aW1wFJWucJReYrRS+YEdyB0PTNgu+A65HKI+WRCqGmMp9IEe1R9LIELk0CYF+eotuCUfRKr96JMAiLEeGJHazKcKlV2Yb+4A4+dqfsRu2YchtMexiT2t74b87eVANW2xORHs2X2jLrBKKw4v83uXUiCmgMjNYFsG/WnV4Bl5KmskcGC0hxIHQNKXG57lct/f5A/QSZHMl9qW7DrtA7FnMf9uu9RE8Rk1Y5IJIYfM9P8h9aFhpN6HreK6AqQ60PAmCiDP2Ud3N6FDzh4hHTNNwf2cnUz9d4FdkmpCdKYJZcrlDBuI80dB+OMdYCp76N1y3r6QEEgpjMi14IzCpztX6an6bE0BEv3/JDRoIl18QLoGAlzLsvyEj2ZtsLGDnuaRMcnvSAszDKwve5s+boWzgBPAJfsXPjgw2iEnUO7sZWyVusIKEAAAAA');

View File

@ -1,16 +1,18 @@
[{$smarty.block.parent}]
[{assign var="oConfig" value=$oViewConf->getConfig()}]
[{assign var="oManufacturer" value=$oView->getManufacturer()}]
[{assign var="sShopURL" value=$oConfig->getConfigParam('sShopURL')}]
[{assign var="description" value=$oManufacturer->d3GetLongdesc()}]
[{if $oManufacturer && $oManufacturer->getId()}]
[{assign var="oConfig" value=$oViewConf->getConfig()}]
[{assign var="sShopURL" value=$oConfig->getConfigParam('sShopURL')}]
[{assign var="description" value=$oManufacturer->d3GetLongdesc()}]
[{if $oManufacturer && $oConfig->getConfigParam('d3manufacturerinformation_showManufacturertextOnDetailsPage') && $description->rawValue|strip_tags|trim}]
[{capture append="tabs"}]<a href="#manufacturertab" data-toggle="tab">[{oxmultilang ident="MANUFACTURER"}]</a>[{/capture}]
[{capture append="tabsContent"}]
<div id="manufacturertab" class="tab-pane[{if $blFirstTab}] active[{/if}]">
[{oxeval var=$description}]
</div>
[{assign var="blFirstTab" value=false}]
[{/capture}]
[{if $oConfig->getConfigParam('d3manufacturerinformation_showManufacturertextOnDetailsPage') && $description->rawValue|strip_tags|trim}]
[{capture append="tabs"}]<a href="#manufacturertab" class="nav-link[{if $blFirstTab}] active[{/if}]" data-toggle="tab">[{oxmultilang ident="MANUFACTURER"}]</a>[{/capture}]
[{capture append="tabsContent"}]
<div id="manufacturertab" class="tab-pane[{if $blFirstTab}] active[{/if}]">
[{oxeval var=$description}]
</div>
[{assign var="blFirstTab" value=false}]
[{/capture}]
[{/if}]
[{/if}]

View File

@ -4,9 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [unreleased](https://git.d3data.de/D3Public/MyModule/compare/1.1.2.0...rel_1.1.x)
## [unreleased](https://git.d3data.de/D3Public/MyModule/compare/1.1.2.1...rel_1.1.x)
## [1.1.1.0](https://git.d3data.de/D3Public/MyModule/compare/1.1.1.0...1.1.2.0) - 2024-11-19
## [1.1.2.1](https://git.d3data.de/D3Public/MyModule/compare/1.1.2.0...1.1.2.1) - 2024-11-21
### Fixed
- tab class for Wave based theme
- encoding error when using the WYSIWYG editor
## [1.1.2.0](https://git.d3data.de/D3Public/MyModule/compare/1.1.1.0...1.1.2.0) - 2024-11-19
### Fixed
- show hidden save button

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,6 @@ Dieses Paket erfordert einen mit Composer installierten OXID eShop in einer in d
Öffnen Sie eine Kommandozeile und navigieren Sie zum Stammverzeichnis des Shops (Elternverzeichnis von source und vendor). Führen Sie die folgenden Befehle aus. Passen Sie die Pfadangaben an Ihre Installationsumgebung an.
```bash
composer require d3/manufacturerinformation:"~1.1.0"
```
@ -34,7 +33,6 @@ Sofern nötig, bestätigen Sie bitte, dass Sie `package-name` erlauben, Code aus
Leeren Sie anschließend den Temp Ordner des Shops.
## Lizenz
(Stand: 13.11.2024)

View File

@ -38,7 +38,7 @@ $aModule = [
'en' => 'adds manufacturer information to the article list',
],
'thumbnail' => 'image-file.png',
'version' => '1.1.2.0',
'version' => '1.1.2.1',
'author' => $logo.' Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com',
'url' => 'https://www.oxidmodule.com/',