remove API key support (can added via additional plugin)

Cette révision appartient à :
O3-Shop 2023-04-19 15:27:48 +02:00 révisé par Daniel Seifert
Parent 6424eed048
révision cd679f110d
Signé par: DanielS
ID de la clé GPG: 8A7C4C6ED1915C6F
4 fichiers modifiés avec 0 ajouts et 17 suppressions

Voir le fichier

@ -146,14 +146,6 @@ class Loader
'out/tinymce/tinymce.min.js'
);
/** @var string $apiKey */
$apiKey = Registry::getConfig()->getConfigParam('sTinyMCE_apikey', '');
if (strlen(trim($apiKey))) {
$aInclude[3][] = "https://cdn.tiny.cloud/1/".
trim($apiKey).
"/tinymce/6/plugins.min.js";
}
Registry::getConfig()->setGlobalParameter('includes' . $sSuffix, $aInclude);
}
}

Voir le fichier

@ -29,6 +29,5 @@ $aLang = [
'HELP_SHOP_MODULE_blTinyMCE_filemanager' => 'Ist diese Option aktiv, können Bilder hochgeladen werden. Der Speicherort ist: out/pictures/wysiwigpro/',
'SHOP_MODULE_aTinyMCE_classes' => '<h3>TinyMCE für folgende Backend-Seiten laden:</h3><ul><li>article_main (Artikelbeschreibung)</li><li>content_main (CMS Seiten)</li><li>category_text (Kategorienbeschreibung)</li><li>newsletter_main (Newsletter)</li><li>news_text (Nachrichten-Text)</li></ul>',
'HELP_SHOP_MODULE_aTinyMCE_classes' => 'für die Benutzung von TinyMCE in eigenen Admin Views muss hier die entsprechende Controllerklasse eingetragen werden, dann wird für jedes Textarea je ein Editor erzeugt',
'SHOP_MODULE_sTinyMCE_apikey' => 'optionaler API-Key aus Ihrer TinyMCE Registrierung',
'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Einstellungen &amp; Plugins',
];

Voir le fichier

@ -29,6 +29,5 @@ $aLang = [
'HELP_SHOP_MODULE_blTinyMCE_filemanager' => 'When enabled, you can upload pictures into this directory: out/pictures/wysiwigpro/',
'SHOP_MODULE_aTinyMCE_classes' => '<h3>Enable TinyMCE for following backend pages:</h3><ul><li>article_main (product details)</li><li>content_main (CMS pages)</li><li>category_text (category description)</li><li>newsletter_main (newsletter)</li><li>news_text (news text)</li></ul>',
'HELP_SHOP_MODULE_aTinyMCE_classes' => 'if you want to use TinyMCE for your custom controllers, you need to enter their class names here.',
'SHOP_MODULE_sTinyMCE_apikey' => 'optional API key from your TinyMCE registration',
'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Settings &amp; Plugins',
];

Voir le fichier

@ -66,13 +66,6 @@ $aModule = [
'type' => 'bool',
'value' => true,
'position' => 2,
],
[
'group' => 'tinyMceMain',
'name' => 'sTinyMCE_apikey',
'type' => 'str',
'value' => '',
'position' => 3,
]
],
];