Vergelijk commits
42 Commits
Auteur | SHA1 | Datum | |
---|---|---|---|
f6666d7d98 | |||
a9d3b6782a | |||
cefeaa8e9a | |||
10970fe10c | |||
a1a2de7a09 | |||
375d99f31b | |||
dbd4b52378 | |||
29176a0753 | |||
f2d49693c1 | |||
7db0b86772 | |||
09584120f5 | |||
03119b8da9 | |||
b7398da253 | |||
5cb8888d59 | |||
db7f3bc29c | |||
6462039c63 | |||
4d7f5eab0a | |||
be0e66bd34 | |||
0673841d60 | |||
5c5101525f | |||
950a5f0e7d | |||
e98ed42fde | |||
d8edd4f399 | |||
f5f14c453a | |||
93120e5383 | |||
22ac2bf970 | |||
3a86b6e947 | |||
78856501ed | |||
fe88d15ee7 | |||
882a776aa8 | |||
9965278a2c | |||
ffeda6e691 | |||
7252cecd02 | |||
56ebd09ceb | |||
fbc304aba9 | |||
88f7f7403a | |||
721482e94b | |||
5ea8abc7ce | |||
af82684a1b | |||
f8d7ebed0b | |||
8168035f00 | |||
99328c27cc |
@ -1,29 +1,39 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
$finder = PhpCsFixer\Finder::create()->in(__DIR__);
|
||||
$finder = PhpCsFixer\Finder::create()
|
||||
->in(__DIR__);
|
||||
|
||||
$fileHeaderComment = <<<EOF
|
||||
For the full copyright and license information, please view the LICENSE
|
||||
file that was distributed with this source code.
|
||||
|
||||
@copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
@copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
@copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
@author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
@link https://www.oxidmodule.com
|
||||
EOF;
|
||||
|
||||
$config = new PhpCsFixer\Config();
|
||||
return $config
|
||||
->setRules([
|
||||
'@PHP74Migration' => true,
|
||||
'header_comment' => [
|
||||
'header' => $fileHeaderComment,
|
||||
'comment_type' => 'PHPDoc',
|
||||
'location' => 'after_open'
|
||||
],
|
||||
'@PHP80Migration' => true,
|
||||
'@PSR12' => true
|
||||
])
|
||||
->setFinder($finder);
|
@ -1,31 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Controller\Admin;
|
||||
|
||||
use O3\TinyMCE\Application\Model\Constants;
|
||||
use OxidEsales\Eshop\Application\Controller\Admin\AdminController;
|
||||
|
||||
class TinyFileManager extends AdminController
|
||||
{
|
||||
protected $_sThisTemplate = "TinyFilemanager.tpl";
|
||||
protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID.'/admin/filemanager';
|
||||
}
|
||||
|
@ -1,169 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\Setup;
|
||||
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Console\CommandsProvider\ServicesCommandsProvider;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Console\Executor;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\Bridge\ModuleConfigurationDaoBridgeInterface;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\Bridge\ShopConfigurationDaoBridgeInterface;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\DataObject\ModuleConfiguration;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\DataObject\ModuleConfiguration\Template;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\DataObject\ModuleConfiguration\TemplateBlock;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\Exception\ModuleConfigurationNotFoundException;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\Bridge\TemplateBlockModuleSettingHandlerBridgeInterface;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\Handler\TemplateBlockModuleSettingHandler;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Console\Input\ArrayInput;
|
||||
|
||||
class Actions
|
||||
{
|
||||
/**
|
||||
* apply updated class extensions to yaml files
|
||||
*
|
||||
* @return void
|
||||
* @throws ModuleConfigurationNotFoundException
|
||||
*/
|
||||
public function installApplyNewConfiguration()
|
||||
{
|
||||
/** @var ShopConfigurationDaoBridgeInterface $shopConfiguration */
|
||||
$shopConfiguration = ContainerFactory::getInstance()->getContainer()->get(ShopConfigurationDaoBridgeInterface::class);
|
||||
$beforeHash = md5(serialize($shopConfiguration->get()->getModuleConfiguration('o3-tinymce-editor')));
|
||||
|
||||
$executor = $this->getCommandExecutor();
|
||||
|
||||
$add = php_sapi_name() == 'cli' ? 'source/' : (isAdmin() ? '../' : '');
|
||||
|
||||
$input = new ArrayInput([
|
||||
'command' => 'oe:module:install-configuration',
|
||||
'module-source-path' => $add.'modules/o3-shop/tinymce-editor/'
|
||||
]);
|
||||
$executor->execute($input);
|
||||
|
||||
$changedConfiguration =
|
||||
md5(serialize($shopConfiguration->get()->getModuleConfiguration('o3-tinymce-editor'))) !== $beforeHash;
|
||||
|
||||
if ($changedConfiguration) {
|
||||
/** @var ModuleConfigurationDaoBridgeInterface $mas */
|
||||
$mas = ContainerFactory::getInstance()->getContainer()->get(ModuleConfigurationDaoBridgeInterface::class);
|
||||
|
||||
/** @var TemplateBlockModuleSettingHandler $tbsh */
|
||||
$tbsh = ContainerFactory::getInstance()->getContainer()->get(TemplateBlockModuleSettingHandlerBridgeInterface::class);
|
||||
$tbsh->handleOnModuleDeactivation($mas->get('o3-tinymce-editor'), Registry::getConfig()->getShopId());
|
||||
$tbsh->handleOnModuleActivation($mas->get('o3-tinymce-editor'), Registry::getConfig()->getShopId());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* clear cache
|
||||
*/
|
||||
public function clearCache(): void
|
||||
{
|
||||
try {
|
||||
$oUtils = Registry::getUtils();
|
||||
$oUtils->resetTemplateCache($this->getModuleTemplates());
|
||||
$oUtils->resetLanguageCache();
|
||||
} catch (ContainerExceptionInterface|NotFoundExceptionInterface|ModuleConfigurationNotFoundException $e) {
|
||||
Registry::getLogger()->error($e->getMessage(), [$this]);
|
||||
Registry::getUtilsView()->addErrorToDisplay($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
* @throws ModuleConfigurationNotFoundException
|
||||
*/
|
||||
protected function getModuleTemplates(): array
|
||||
{
|
||||
$container = $this->getDIContainer();
|
||||
$shopConfiguration = $container->get(ShopConfigurationDaoBridgeInterface::class)->get();
|
||||
$moduleConfiguration = $shopConfiguration->getModuleConfiguration('o3-tinymce-editor');
|
||||
|
||||
return array_unique(
|
||||
array_merge(
|
||||
$this->getModuleTemplatesFromTemplates($moduleConfiguration),
|
||||
$this->getModuleTemplatesFromBlocks($moduleConfiguration)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ModuleConfiguration $moduleConfiguration
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function getModuleTemplatesFromTemplates(ModuleConfiguration $moduleConfiguration): array
|
||||
{
|
||||
/** @var $template Template */
|
||||
return array_map(
|
||||
function ($template) {
|
||||
return $template->getTemplateKey();
|
||||
},
|
||||
$moduleConfiguration->getTemplates()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ModuleConfiguration $moduleConfiguration
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected function getModuleTemplatesFromBlocks(ModuleConfiguration $moduleConfiguration): array
|
||||
{
|
||||
/** @var $templateBlock TemplateBlock */
|
||||
return array_map(
|
||||
function ($templateBlock) {
|
||||
return basename($templateBlock->getShopTemplatePath());
|
||||
},
|
||||
$moduleConfiguration->getTemplateBlocks()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ContainerInterface|null
|
||||
*/
|
||||
protected function getDIContainer(): ?ContainerInterface
|
||||
{
|
||||
return ContainerFactory::getInstance()->getContainer();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Executor
|
||||
*/
|
||||
protected function getCommandExecutor(): Executor
|
||||
{
|
||||
$servicesCommandsProvider = new ServicesCommandsProvider(ContainerFactory::getInstance()->getContainer());
|
||||
|
||||
$application = new Application();
|
||||
$application->setAutoExit(false);
|
||||
|
||||
return new Executor($application, $servicesCommandsProvider);
|
||||
}
|
||||
}
|
@ -1,42 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\Setup;
|
||||
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Configuration\Exception\ModuleConfigurationNotFoundException;
|
||||
|
||||
class Events
|
||||
{
|
||||
/**
|
||||
* Execute action on activate event
|
||||
* @return void
|
||||
* @throws ModuleConfigurationNotFoundException
|
||||
*/
|
||||
public static function onActivate(): void
|
||||
{
|
||||
$actions = oxNew(Actions::class);
|
||||
$actions->installApplyNewConfiguration();
|
||||
$actions->clearCache();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -44,7 +30,5 @@ class Events
|
||||
*/
|
||||
public static function onDeactivate(): void
|
||||
{
|
||||
$actions = oxNew(Actions::class);
|
||||
$actions->clearCache();
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -34,8 +26,8 @@ use O3\TinyMCE\Application\Core\TinyMCE\Options\FilemanagerUrl;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\ImageAdvtab;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\InitInstanceCallback;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\Language;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\LicenseKey;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\MaxHeight;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\MaxWidth;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\Menubar;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\MinHeight;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\OptionInterface;
|
||||
@ -51,6 +43,7 @@ use O3\TinyMCE\Application\Core\TinyMCE\Options\Skin;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\Toolbar;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\ToolbarMode;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Options\ToolbarSticky;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
|
||||
class Configuration
|
||||
{
|
||||
@ -114,6 +107,8 @@ class Configuration
|
||||
$sConfig .= "$param: $value, ";
|
||||
}
|
||||
|
||||
Registry::getLogger()->debug('TinyMCE configuration', [$sConfig]);
|
||||
|
||||
return $sConfig;
|
||||
}
|
||||
|
||||
@ -127,6 +122,7 @@ class Configuration
|
||||
$this->addOption(oxNew(CacheSuffix::class, $this->loader));
|
||||
$this->addOption(oxNew(Selector::class, $this->loader));
|
||||
$this->addOption(oxNew(InitInstanceCallback::class, $this->loader));
|
||||
$this->addOption(oxNew(LicenseKey::class, $this->loader));
|
||||
}
|
||||
|
||||
protected function addGuiOptions(): void
|
||||
@ -136,7 +132,6 @@ class Configuration
|
||||
$this->addOption(oxNew(ContextMenu::class, $this->loader));
|
||||
$this->addOption(oxNew(MinHeight::class, $this->loader));
|
||||
$this->addOption(oxNew(MaxHeight::class, $this->loader));
|
||||
$this->addOption(oxNew(MaxWidth::class, $this->loader));
|
||||
$this->addOption(oxNew(Menubar::class, $this->loader));
|
||||
$this->addOption(oxNew(ToolbarSticky::class, $this->loader));
|
||||
$this->addOption(oxNew(ToolbarMode::class, $this->loader));
|
||||
|
@ -1,49 +1,50 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE;
|
||||
|
||||
use OxidEsales\Eshop\Application\Model\Content;
|
||||
use O3\TinyMCE\Application\Model\Constants;
|
||||
use OxidEsales\Eshop\Core\Config;
|
||||
use OxidEsales\Eshop\Core\Exception\FileException;
|
||||
use OxidEsales\Eshop\Core\Language;
|
||||
use OxidEsales\Eshop\Core\Model\BaseModel;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingService;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingServiceInterface;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Templating\TemplateRenderer;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Templating\TemplateRendererBridgeInterface;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
|
||||
class Loader
|
||||
{
|
||||
protected Config $config;
|
||||
protected Language $language;
|
||||
protected Configuration $configuration;
|
||||
|
||||
public function __construct(Config $config, Language $language)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->language = $language;
|
||||
|
||||
$this->configuration = oxNew(Configuration::class, $this);
|
||||
$this->configuration->build();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
* @throws FileException
|
||||
*/
|
||||
public function getEditorCode(): string
|
||||
{
|
||||
@ -57,14 +58,12 @@ class Loader
|
||||
return $message;
|
||||
}
|
||||
|
||||
$configuration = oxNew(Configuration::class, $this);
|
||||
$configuration->build();
|
||||
|
||||
$this->registerScripts($configuration);
|
||||
$this->registerIncludes();
|
||||
|
||||
$smarty = Registry::getUtilsView()->getSmarty();
|
||||
return $smarty->fetch('EditorSwitch.tpl');
|
||||
try {
|
||||
$engine = $this->getTemplateRenderer()->getTemplateEngine();
|
||||
return $engine->render('@' . Constants::OXID_MODULE_ID . '/admin/editorswitch');
|
||||
} catch (NotFoundExceptionInterface|ContainerExceptionInterface) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -72,10 +71,16 @@ class Loader
|
||||
*/
|
||||
protected function isEnabledForCurrentController(): bool
|
||||
{
|
||||
/** @var string[] $aEnabledClasses */
|
||||
$aEnabledClasses = $this->getShopConfig()->getConfigParam("aTinyMCE_classes", []);
|
||||
try {
|
||||
/** @var ModuleSettingService $service */
|
||||
$service = ContainerFactory::getInstance()->getContainer()->get(ModuleSettingServiceInterface::class);
|
||||
/** @var string[] $aEnabledClasses */
|
||||
$aEnabledClasses = $service->getCollection("aTinyMCE_classes", Constants::OXID_MODULE_ID);
|
||||
|
||||
return in_array($this->getShopConfig()->getActiveView()->getClassKey(), $aEnabledClasses);
|
||||
return in_array($this->getShopConfig()->getActiveView()->getClassKey(), $aEnabledClasses);
|
||||
} catch (ContainerExceptionInterface|NotFoundExceptionInterface) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -85,10 +90,10 @@ class Loader
|
||||
{
|
||||
// D3 disabled, because isPlain method doesn't exist in OXID eShop
|
||||
return false;
|
||||
|
||||
/** @var BaseModel|Content $oEditObject */
|
||||
$oEditObject = $this->getShopConfig()->getActiveView()->getViewDataElement("edit");
|
||||
return $oEditObject instanceof Content && $oEditObject->isPlain();
|
||||
|
||||
// /** @var BaseModel|Content $oEditObject */
|
||||
// $oEditObject = $this->getShopConfig()->getActiveView()->getViewDataElement("edit");
|
||||
// return $oEditObject instanceof Content && $oEditObject->isPlain();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -108,47 +113,59 @@ class Loader
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Configuration $configuration
|
||||
*
|
||||
* @return void
|
||||
* @return string[]
|
||||
*/
|
||||
protected function registerScripts(Configuration $configuration): void
|
||||
public function getScripts(): array
|
||||
{
|
||||
$sCopyLongDescFromTinyMCE = file_get_contents(__DIR__.'/../../../out/scripts/copyLongDesc.js');
|
||||
$sUrlConverter = file_get_contents(__DIR__.'/../../../out/scripts/urlConverter.js');
|
||||
if (!$this->isEnabledForCurrentController()) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$sCopyLongDescFromTinyMCE = file_get_contents(__DIR__.'/../../../assets/out/scripts/copyLongDesc.js') ?: '';
|
||||
$sUrlConverter = file_get_contents(__DIR__.'/../../../assets/out/scripts/urlConverter.js') ?: '';
|
||||
$sInit = str_replace(
|
||||
"'CONFIG':'VALUES'",
|
||||
$configuration->getConfig(),
|
||||
(string) file_get_contents(__DIR__.'/../../../out/scripts/init.js')
|
||||
$this->configuration->getConfig(),
|
||||
(string) file_get_contents(__DIR__.'/../../../assets/out/scripts/init.js')
|
||||
);
|
||||
$smarty = Registry::getUtilsView()->getSmarty();
|
||||
$sSufix = ($smarty->_tpl_vars["__oxid_include_dynamic"]) ? '_dynamic' : '';
|
||||
|
||||
$aScript = (array) Registry::getConfig()->getGlobalParameter('scripts' . $sSufix);
|
||||
$aScript[] = $sCopyLongDescFromTinyMCE;
|
||||
$aScript[] = $sUrlConverter;
|
||||
$aScript[] = $sInit;
|
||||
|
||||
Registry::getConfig()->setGlobalParameter('scripts' . $sSufix, $aScript);
|
||||
return [
|
||||
$sCopyLongDescFromTinyMCE,
|
||||
$sUrlConverter,
|
||||
$sInit,
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
* @throws FileException
|
||||
* @return string[]
|
||||
*/
|
||||
protected function registerIncludes(): void
|
||||
public function getIncludes(): array
|
||||
{
|
||||
$smarty = Registry::getUtilsView()->getSmarty();
|
||||
$sSuffix = ($smarty->_tpl_vars["__oxid_include_dynamic"]) ? '_dynamic' : '';
|
||||
if (!$this->isEnabledForCurrentController()) {
|
||||
return [];
|
||||
}
|
||||
|
||||
/** @var array<int, string[]> $aInclude */
|
||||
$aInclude = (array) Registry::getConfig()->getGlobalParameter('includes' . $sSuffix);
|
||||
try {
|
||||
return [
|
||||
Registry::getConfig()->getActiveView()->getViewConfig()->getModuleUrl(
|
||||
Constants::OXID_MODULE_ID,
|
||||
'out/tinymce/tinymce.min.js'
|
||||
),
|
||||
];
|
||||
} catch (FileException) {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
$aInclude[3][] = Registry::getConfig()->getActiveView()->getViewConfig()->getModuleUrl(
|
||||
'o3-tinymce-editor',
|
||||
'out/tinymce/tinymce.min.js'
|
||||
);
|
||||
|
||||
Registry::getConfig()->setGlobalParameter('includes' . $sSuffix, $aInclude);
|
||||
/**
|
||||
* @return TemplateRenderer
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
protected function getTemplateRenderer(): TemplateRenderer
|
||||
{
|
||||
return ContainerFactory::getInstance()->getContainer()
|
||||
->get(TemplateRendererBridgeInterface::class)
|
||||
->getTemplateRenderer();
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,28 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE\Options;
|
||||
|
||||
use O3\TinyMCE\Application\Model\Constants;
|
||||
use OxidEsales\Eshop\Core\Exception\FileException;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
|
||||
class BaseUrl extends AbstractOption
|
||||
{
|
||||
protected string $key = 'base_url';
|
||||
@ -32,8 +28,14 @@ class BaseUrl extends AbstractOption
|
||||
*/
|
||||
public function get(): string
|
||||
{
|
||||
return $this->loader->getShopConfig()->getActiveView()->getViewConfig()->getBaseDir() .
|
||||
'modules/o3-shop/tinymce-editor/out/tinymce/';
|
||||
try {
|
||||
return Registry::getConfig()->getActiveView()->getViewConfig()->getModuleUrl(
|
||||
Constants::OXID_MODULE_ID,
|
||||
'out/tinymce/'
|
||||
);
|
||||
} catch (FileException) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -38,19 +30,19 @@ class ExternalPlugins extends AbstractOption
|
||||
$list = implode(
|
||||
', ',
|
||||
array_filter(
|
||||
array_map(
|
||||
function (PluginInterface $plugin) {
|
||||
return $plugin->getScriptPath() ? implode(
|
||||
':',
|
||||
[
|
||||
(oxNew(Utils::class))->quote($plugin->getPluginName()),
|
||||
(oxNew(Utils::class))->quote($plugin->getScriptPath()),
|
||||
]
|
||||
) : null;
|
||||
},
|
||||
$pluginList->get()
|
||||
array_map(
|
||||
function (PluginInterface $plugin) {
|
||||
return $plugin->getScriptPath() ? implode(
|
||||
':',
|
||||
[
|
||||
(oxNew(Utils::class))->quote($plugin->getPluginName()),
|
||||
(oxNew(Utils::class))->quote($plugin->getScriptPath()),
|
||||
]
|
||||
) : null;
|
||||
},
|
||||
$pluginList->get()
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
return '{ '.$list.' }';
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -24,8 +16,14 @@ declare(strict_types=1);
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE\Options;
|
||||
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Loader;
|
||||
use O3\TinyMCE\Application\Model\Constants;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
use OxidEsales\Eshop\Core\UtilsServer;
|
||||
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingService;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingServiceInterface;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
|
||||
class FilemanagerUrl extends AbstractOption
|
||||
{
|
||||
@ -35,8 +33,9 @@ class FilemanagerUrl extends AbstractOption
|
||||
|
||||
public function get(): string
|
||||
{
|
||||
/** @var string $sFilemanagerKey */
|
||||
$sFilemanagerKey = md5_file(Registry::getConfig()->getConfigParam("sShopDir")."/config.inc.php");
|
||||
$sFilemanagerKey = md5_file(
|
||||
rtrim(Registry::getConfig()->getConfigParam("sShopDir"), '/')."/config.inc.php"
|
||||
) ?: '';
|
||||
Registry::get(UtilsServer::class)->setOxCookie("filemanagerkey", $sFilemanagerKey);
|
||||
|
||||
return str_replace(
|
||||
@ -56,6 +55,12 @@ class FilemanagerUrl extends AbstractOption
|
||||
*/
|
||||
public function requireRegistration(): bool
|
||||
{
|
||||
return (bool) $this->loader->getShopConfig()->getConfigParam("blTinyMCE_filemanager");
|
||||
try {
|
||||
/** @var ModuleSettingService $service */
|
||||
$service = ContainerFactory::getInstance()->getContainer()->get(ModuleSettingServiceInterface::class);
|
||||
return $service->getBoolean("blTinyMCE_filemanager", Constants::OXID_MODULE_ID);
|
||||
} catch (ContainerExceptionInterface|NotFoundExceptionInterface) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,30 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE\Options;
|
||||
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\PluginList;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Plugins\PluginInterface;
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Utils;
|
||||
|
||||
class InitInstanceCallback extends AbstractOption
|
||||
@ -36,21 +26,21 @@ class InitInstanceCallback extends AbstractOption
|
||||
// https://github.com/tinymce/tinymce/issues/2271
|
||||
|
||||
$js = <<<JS
|
||||
function (editor) {
|
||||
editor.on('PostProcess', function (e) {
|
||||
e.content = e.content.replace(
|
||||
/(<!--mce:protected\s)(.*?)(-->)/gm,
|
||||
function(text, p1, p2, p3){
|
||||
if (unescape) {
|
||||
return unescape(p2);
|
||||
} else {
|
||||
return decodeURIComponent(p2);
|
||||
function (editor) {
|
||||
editor.on('PostProcess', function (e) {
|
||||
e.content = e.content.replace(
|
||||
/(<!--mce:protected\s)(.*?)(-->)/gm,
|
||||
function(text, p1, p2, p3){
|
||||
if (unescape) {
|
||||
return unescape(p2);
|
||||
} else {
|
||||
return decodeURIComponent(p2);
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
JS;
|
||||
);
|
||||
});
|
||||
}
|
||||
JS;
|
||||
|
||||
return (oxNew(Utils::class))->minifyJS($js);
|
||||
}
|
||||
|
@ -1,28 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE\Options;
|
||||
|
||||
use OxidEsales\EshopCommunity\Core\Exception\LanguageNotFoundException;
|
||||
|
||||
class Language extends AbstractOption
|
||||
{
|
||||
protected string $key = 'language';
|
||||
@ -36,17 +30,22 @@ class Language extends AbstractOption
|
||||
|
||||
$oLang = $this->loader->getLanguage();
|
||||
|
||||
$aLang = [
|
||||
"cs" => "cs",
|
||||
"da" => "da",
|
||||
"de" => "de",
|
||||
"es" => "es_419",
|
||||
"fr" => "fr_FR",
|
||||
"it" => "it_IT",
|
||||
"nl" => "nl",
|
||||
"ru" => "ru",
|
||||
];
|
||||
return $aLang[ $oLang->getLanguageAbbr((int) $oLang->getTplLanguage()) ] ?? "en";
|
||||
try {
|
||||
$aLang = [
|
||||
"cs" => "cs",
|
||||
"da" => "da",
|
||||
"de" => "de",
|
||||
"es" => "es_419",
|
||||
"fr" => "fr_FR",
|
||||
"it" => "it_IT",
|
||||
"nl" => "nl",
|
||||
"ru" => "ru",
|
||||
];
|
||||
|
||||
return $aLang[ $oLang->getLanguageAbbr((int) $oLang->getTplLanguage()) ] ?? "en";
|
||||
} catch (LanguageNotFoundException) {
|
||||
return "en";
|
||||
}
|
||||
}
|
||||
|
||||
public function isQuoted(): bool
|
||||
|
31
Application/Core/TinyMCE/Options/LicenseKey.php
Normal file
31
Application/Core/TinyMCE/Options/LicenseKey.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE\Options;
|
||||
|
||||
class LicenseKey extends AbstractOption
|
||||
{
|
||||
protected string $key = 'license_key';
|
||||
|
||||
public function get(): string
|
||||
{
|
||||
return 'gpl';
|
||||
}
|
||||
|
||||
public function isQuoted(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -29,7 +21,7 @@ class MaxHeight extends AbstractOption
|
||||
|
||||
public function get(): string
|
||||
{
|
||||
return '90%';
|
||||
return '500';
|
||||
}
|
||||
|
||||
public function isQuoted(): bool
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -34,9 +26,12 @@ class MinHeight extends AbstractOption
|
||||
$profile = (array) Registry::getSession()->getVariable('profile');
|
||||
|
||||
if (array_key_exists(1, $profile)) {
|
||||
return (string) (max($profile[1] * 20, 350));
|
||||
return (string) max(
|
||||
$profile[1] * 20,
|
||||
350
|
||||
);
|
||||
}
|
||||
|
||||
return '350';
|
||||
return "350";
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -36,14 +28,14 @@ class Plugins extends AbstractOption
|
||||
|
||||
return implode(' ', array_filter(
|
||||
array_map(
|
||||
function (PluginInterface $plugin) {
|
||||
function (PluginInterface $plugin) {
|
||||
return $plugin->requireRegistration() ?
|
||||
$plugin->getPluginName() :
|
||||
null
|
||||
;
|
||||
},
|
||||
$pluginList->get()
|
||||
)
|
||||
$pluginList->get()
|
||||
)
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -24,6 +16,12 @@ declare(strict_types=1);
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE\Options;
|
||||
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Utils;
|
||||
use O3\TinyMCE\Application\Model\Constants;
|
||||
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingService;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingServiceInterface;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
|
||||
class Setup extends AbstractOption
|
||||
{
|
||||
@ -32,10 +30,10 @@ class Setup extends AbstractOption
|
||||
public function get(): string
|
||||
{
|
||||
$js = <<<JS
|
||||
(editor) => {
|
||||
editor.options.register("filemanager_url", { processor: "string" });
|
||||
}
|
||||
JS;
|
||||
(editor) => {
|
||||
editor.options.register("filemanager_url", { processor: "string" });
|
||||
}
|
||||
JS;
|
||||
|
||||
return (oxNew(Utils::class))->minifyJS($js);
|
||||
}
|
||||
@ -45,6 +43,12 @@ class Setup extends AbstractOption
|
||||
*/
|
||||
public function requireRegistration(): bool
|
||||
{
|
||||
return (bool) $this->loader->getShopConfig()->getConfigParam("blTinyMCE_filemanager");
|
||||
try {
|
||||
/** @var ModuleSettingService $service */
|
||||
$service = ContainerFactory::getInstance()->getContainer()->get(ModuleSettingServiceInterface::class);
|
||||
return $service->getBoolean("blTinyMCE_filemanager", Constants::OXID_MODULE_ID);
|
||||
} catch (ContainerExceptionInterface|NotFoundExceptionInterface) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,30 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Core\TinyMCE\Plugins;
|
||||
|
||||
use O3\TinyMCE\Application\Model\Constants;
|
||||
use OxidEsales\Eshop\Core\Exception\FileException;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
use OxidEsales\EshopCommunity\Internal\Container\ContainerFactory;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingService;
|
||||
use OxidEsales\EshopCommunity\Internal\Framework\Module\Facade\ModuleSettingServiceInterface;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
|
||||
class Roxy extends AbstractPlugin
|
||||
{
|
||||
@ -52,6 +50,12 @@ class Roxy extends AbstractPlugin
|
||||
|
||||
public function requireScript(): bool
|
||||
{
|
||||
return (bool) Registry::getConfig()->getConfigParam("blTinyMCE_filemanager");
|
||||
try {
|
||||
/** @var ModuleSettingService $service */
|
||||
$service = ContainerFactory::getInstance()->getContainer()->get(ModuleSettingServiceInterface::class);
|
||||
return $service->getBoolean("blTinyMCE_filemanager", Constants::OXID_MODULE_ID);
|
||||
} catch (ContainerExceptionInterface|NotFoundExceptionInterface) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
@ -1,22 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
@ -24,22 +16,43 @@ declare(strict_types=1);
|
||||
namespace O3\TinyMCE\Application\Core;
|
||||
|
||||
use O3\TinyMCE\Application\Core\TinyMCE\Loader;
|
||||
use OxidEsales\Eshop\Core\Exception\FileException;
|
||||
use OxidEsales\Eshop\Core\Registry;
|
||||
|
||||
class ViewConfig extends ViewConfig_parent
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
* @throws FileException
|
||||
*/
|
||||
public function loadTinyMce(): string
|
||||
public function getTinyMceInitCode(): string
|
||||
{
|
||||
$config = Registry::getConfig();
|
||||
$language = Registry::getLang();
|
||||
|
||||
$loader = oxNew(Loader::class, $config, $language);
|
||||
|
||||
return $loader->getEditorCode();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getTinyMceScripts(): array
|
||||
{
|
||||
$config = Registry::getConfig();
|
||||
$language = Registry::getLang();
|
||||
|
||||
$loader = oxNew(Loader::class, $config, $language);
|
||||
return $loader->getScripts();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
*/
|
||||
public function getTinyMceIncludes(): array
|
||||
{
|
||||
$config = Registry::getConfig();
|
||||
$language = Registry::getLang();
|
||||
|
||||
$loader = oxNew(Loader::class, $config, $language);
|
||||
return $loader->getIncludes();
|
||||
}
|
||||
}
|
||||
|
@ -1,28 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of O3-Shop TinyMCE editor module.
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright Copyright (c) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
function checkAccess(string $action): void
|
||||
{
|
||||
unset($action);
|
||||
if ($_COOKIE['filemanagerkey'] !== md5($_SERVER['DOCUMENT_ROOT'].$_COOKIE['admin_sid'])) {
|
||||
die('Access Denied!!');
|
||||
}
|
||||
|
21
Application/Model/Constants.php
Normal file
21
Application/Model/Constants.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace O3\TinyMCE\Application\Model;
|
||||
|
||||
class Constants
|
||||
{
|
||||
public const OXID_MODULE_ID = 'o3-tinymce-editor';
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
RoxyFileman - web based file manager. Ready to use with CKEditor, TinyMCE.
|
||||
Can be easily integrated with any other WYSIWYG editor or CMS.
|
||||
|
||||
Copyright (C) 2013, RoxyFileman.com - Lyubomir Arsov. All rights reserved.
|
||||
For licensing, see LICENSE.txt or http://RoxyFileman.com/license
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Contact: Lyubomir Arsov, liubo (at) web-lobby.com
|
||||
*/
|
||||
function checkAccess(string $action): void
|
||||
{
|
||||
unset($action);
|
||||
if ($_COOKIE['filemanagerkey'] !== md5_file("../../../../../../config.inc.php")) {
|
||||
die('nice try, noob.');
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
include("../en/module_options.php");
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
include("../en/module_options.php");
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
include("../en/module_options.php");
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
include("../en/module_options.php");
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
include("../en/module_options.php");
|
@ -1,3 +0,0 @@
|
||||
<?php
|
||||
|
||||
include("../en/module_options.php");
|
24
Application/views/admin_smarty/cs/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/cs/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_smarty/da/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/da/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_smarty/de/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/de/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'Deutsch';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../de/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_smarty/en/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/en/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'Deutsch';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../de/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_smarty/fr/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/fr/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_smarty/it/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/it/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_smarty/nl/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/nl/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_smarty/ru/tinymce_lang.php
Normal file
24
Application/views/admin_smarty/ru/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_twig/cs/tinymce_lang.php
Normal file
24
Application/views/admin_twig/cs/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_twig/da/tinymce_lang.php
Normal file
24
Application/views/admin_twig/da/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_twig/de/tinymce_lang.php
Normal file
24
Application/views/admin_twig/de/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'Deutsch';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../de/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_twig/en/tinymce_lang.php
Normal file
24
Application/views/admin_twig/en/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'Deutsch';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../de/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_twig/fr/tinymce_lang.php
Normal file
24
Application/views/admin_twig/fr/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
24
Application/views/admin_twig/it/tinymce_lang.php
Normal file
24
Application/views/admin_twig/it/tinymce_lang.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @copyright (C) 2022 Marat Bedoev, bestlife AG
|
||||
* @copyright (C) 2023 O3-Shop (https://www.o3-shop.com)
|
||||
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
||||
* @link https://www.oxidmodule.com
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$sLangName = 'English';
|
||||
|
||||
// -------------------------------
|
||||
// RESOURCE IDENTITFIER = STRING
|
||||
// -------------------------------
|
||||
|
||||
$aLang = include __DIR__."/../../en/tinymce_translations.php";
|
||||
|
||||
// @codeCoverageIgnoreEnd
|
Sommige bestanden werden niet getoond omdat er teveel bestanden zijn veranderd in deze diff Meer weergeven
Laden…
x
Verwijs in nieuw issue
Block a user