refactor Smarty template integration

Cette révision appartient à :
2024-12-03 14:43:55 +01:00
Parent 9965278a2c
révision 882a776aa8
23 fichiers modifiés avec 307 ajouts et 31 suppressions

Voir le fichier

@ -23,6 +23,7 @@ declare(strict_types=1);
namespace O3\TinyMCE\Application\Core\TinyMCE;
use O3\TinyMCE\Application\Model\Constants;
use OxidEsales\Eshop\Core\Config;
use OxidEsales\Eshop\Core\Exception\FileException;
use OxidEsales\Eshop\Core\Language;
@ -62,7 +63,7 @@ class Loader
$this->registerIncludes();
$smarty = Registry::getUtilsView()->getSmarty();
return $smarty->fetch('EditorSwitch.tpl');
return $smarty->fetch('@' . Constants::OXID_MODULE_ID.'/admin/EditorSwitch.tpl');
}
/**