8
0
Dieser Commit ist enthalten in:
vanilla thunder 2016-02-26 01:05:21 +01:00
Ursprung f16ba1bc76
Commit 87ca3d5bf0
16 geänderte Dateien mit 32 neuen und 374 gelöschten Zeilen

Datei anzeigen

@ -1,6 +1,6 @@
## ###_MODULE_###
by ###_AUTHOR_###, ###_EMAIL_### <###_EMAIL_###>
###_URL_###
## TinyMCE Editor for OXID eShop CE
by Marat Bedoev, oxid@bestlife.ag <oxid@bestlife.ag>
https://github.com/vanilla-thunder/bla-tinymce
### module version ###_VERSION_###
TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL.
@ -20,9 +20,9 @@ and here: https://github.com/tinymce
## more info here: [http:/marat.ws/bla-tinymce/](http:/marat.ws/bla-tinymce/)
### LICENSE AGREEMENT
###_MODULE_###
Copyright (C) ###_YEAR_### ###_EMAIL_###
info: ###_EMAIL_###
TinyMCE Editor for OXID eShop CE
Copyright (C) 2016 oxid@bestlife.ag
info: oxid@bestlife.ag
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;

Datei anzeigen

@ -1,6 +1,6 @@
## ###_MODULE_###
by ###_AUTHOR_###, ###_EMAIL_### <###_EMAIL_###>
###_URL_###
## TinyMCE Editor for OXID eShop CE
by Marat Bedoev, oxid@bestlife.ag <oxid@bestlife.ag>
https://github.com/vanilla-thunder/bla-tinymce
### module version ###_VERSION_###
TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL.
@ -20,9 +20,9 @@ and here: https://github.com/tinymce
## more info here: [http:/marat.ws/bla-tinymce/](http:/marat.ws/bla-tinymce/)
### LICENSE AGREEMENT
###_MODULE_###
Copyright (C) ###_YEAR_### ###_EMAIL_###
info: ###_EMAIL_###
TinyMCE Editor for OXID eShop CE
Copyright (C) 2016 oxid@bestlife.ag
info: oxid@bestlife.ag
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;

Datei anzeigen

@ -1,9 +1,9 @@
<?php
/*
* ###_MODULE_###
* Copyright (C) ###_YEAR_### ###_COMPANY_###
* info: ###_EMAIL_###
* TinyMCE Editor for OXID eShop CE
* Copyright (C) 2016 bestlife AG
* info: oxid@bestlife.ag
*
* 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;
@ -13,7 +13,7 @@
* 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/>
*
* ###_AUTHOR_###
* Marat Bedoev
*/
$sLangName = 'Deutsch';

Datei anzeigen

@ -1,9 +1,9 @@
<?php
/*
* ###_MODULE_###
* Copyright (C) ###_YEAR_### ###_COMPANY_###
* info: ###_EMAIL_###
* TinyMCE Editor for OXID eShop CE
* Copyright (C) 2016 bestlife AG
* info: oxid@bestlife.ag
*
* 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;
@ -13,7 +13,7 @@
* 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/>
*
* ###_AUTHOR_###
* Marat Bedoev
*/
$sLangName = 'English';

Datei anzeigen

@ -1,242 +0,0 @@
<?php
/*
* bestlife AG - TinyMCE WYSIWYG Editor for OXID eShop
* Copyright (C) 2015 bestlife AG
* info: oxid@bestlife.ag
*
* 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, or (at your option) any later version.
*
* 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/>
*/
class blaTinyMceOxViewConfig extends blaTinyMceOxViewConfig_parent
{
public function loadTinyMce()
{
$cfg = oxRegistry::getConfig();
$blEnabled = in_array($this->getActiveClassName(), $cfg->getConfigParam("aTinyMCE_classes"));
$blPlainCms = in_array($cfg->getActiveView()->getViewDataElement("edit")->oxcontents__oxloadid->value,
$cfg->getConfigParam("aTinyMCE_plaincms"));
if (!$blEnabled)
{
return;
}
if ($blPlainCms)
{
return oxRegistry::getLang()->translateString("hdi_tinymce_plaincms");
}
// processind editor config & other stuff
$sLang = oxRegistry::getLang()->getLanguageAbbr(oxRegistry::getLang()->getTplLanguage());
// array to assign shops lang abbreviations to lang file names of tinymce: shopLangAbbreviation => fileName (without .js )
$aLang = array(
"cs" => "cs",
"da" => "da",
"de" => "de",
"fr" => "fr_FR",
"it" => "it",
"nl" => "nl",
"ru" => "ru"
);
// default config
$aDefaultConfig = array(
'selector' => '"textarea:not(.mceNoEditor)"',
'language' => '"' . (in_array($sLang, $aLang) ? $aLang[$sLang] : 'en') . '"',
//'spellchecker_language' => '"' . (in_array($sLang, $aLang) ? $aLang[$sLang] : 'en') . '"',
'nowrap' => 'true',
'entity_encoding' => '"raw"',
// http://www.tinymce.com/wiki.php/Configuration:entity_encoding
'height' => 300,
'menubar' => 'false',
'document_base_url' => '"' . $this->getBaseDir() . '"',
// http://www.tinymce.com/wiki.php/Configuration:document_base_url
'relative_urls' => 'false',
// http://www.tinymce.com/wiki.php/Configuration:relative_urls
'plugin_preview_width' => 'window.innerWidth',
'plugin_preview_height' => 'window.innerHeight-90',
'code_dialog_width' => 'window.innerWidth-50',
'code_dialog_height' => 'window.innerHeight-130',
'image_advtab' => 'true',
'imagetools_toolbar' => '"rotateleft rotateright | flipv fliph | editimage imageoptions"',
'moxiemanager_fullscreen' => 'true',
'insertdatetime_formats' => '[ "%d.%m.%Y", "%H:%M" ]',
'nonbreaking_force_tab' => 'true',
// http://www.tinymce.com/wiki.php/Plugin:nonbreaking
'autoresize_max_height' => '400'
);
//merging with custom config
$aConfig = ($aCustomCfg = $this->_getTinyCustConfig()) ? array_merge($aDefaultConfig,
$aCustomCfg) : $aDefaultConfig;
// default plugins and their buttons
$aPluginsControls = array(
'advlist' => false,
'anchor' => 'anchor',
'autolink' => false,
'autoresize' => false,
'charmap' => 'charmap',
'code' => 'code',
'colorpicker' => false,
//'emoticons' => 'emoticons',
'fullscreen' => 'fullscreen',
'hr' => 'hr',
'image' => 'image',
'imagetools' => false,
'insertdatetime' => 'insertdatetime',
'link' => 'link unlink',
'lists' => false,
'media' => 'media',
'nonbreaking' => false,
'pagebreak' => 'pagebreak',
'paste' => 'pastetext',
'preview' => 'preview',
'searchreplace' => 'searchreplace',
//'spellchecker' => 'spellchecker',
'table' => 'table',
'textcolor' => 'forecolor backcolor',
'visualblocks' => false,
//'visualchars' => 'visualchars',
'wordcount' => false
);
$aPlugins = $cfg->getConfigParam("aTinyMCE_plugins");
if (empty($aPlugins) || !is_array($aPlugins)) $aPlugins = array_keys($aPluginsControls);
if ($this->getActiveClassName() == "newsletter_main")
{
$aPlugins["legacyoutput"] = false;
$aPlugins["fullpage"] = "fullpage";
}
$aConfig['plugins'] = '"' . implode(' ', $aPlugins) . '"';
// external plugins
if ($aExtPlugins = $this->_getTinyExtPlugins())
{
$aConfig['external_plugins'] = '{ ';
foreach ($aExtPlugins AS $plugin => $file)
{
$aConfig['external_plugins'] .= '"' . $plugin . '": "' . $file . '", ';
}
$aConfig['external_plugins'] .= ' }';
}
// default tollbar buttons
$aDefaultButtons = array(
"undo redo",
"bold italic underline strikethrough",
"alignleft aligncenter alignright alignjustify",
"bullist numlist",
"outdent indent",
"blockquote",
"removeformat",
"subscript",
"superscript",
"formatselect",
"fontselect",
"fontsizeselect",
"subscript superscript"
);
$aButtons = $this->_getTinyToolbarControls();
if (!is_array($aButtons) || empty($aButtons)) $aButtons = $aDefaultButtons;
// buttons for plugins, enable only if plugin is active
$aPluginButtons = array_values(array_intersect_key($aPluginsControls, array_flip($aPlugins)));
$aButtons = array_merge($aButtons, $aPluginButtons);
$aConfig['toolbar'] = '"' . implode(" | ", $aButtons) . '"';
// compile the whole config stuff
$sConfig = '';
foreach ($aConfig AS $param => $value)
{
$sConfig .= "$param: $value, ";
}
// add init script
$sInit = 'tinymce.init({ ' . $sConfig . ' });';
$sCopyLongDescFromTinyMCE = 'function copyLongDescFromTinyMCE(sIdent)
{
var editor = tinymce.get("editor_"+sIdent);
if (editor && editor.isHidden() !== true)
{
console.log("copy content from tinymce");
var content = editor.getContent().replace(/\[{([^\]]*?)}\]/g, function(m) { return m.replace(/&gt;/g, ">").replace(/&lt;/g, "<").replace(/&amp;/g, "&") });
document.getElementsByName("editval[" + sIdent + "]").item(0).value = content;
return true;
}
return false;
}
var origCopyLongDesc = copyLongDesc;
copyLongDesc = function(sIdent)
{
if ( copyLongDescFromTinyMCE( sIdent ) ) return;
console.log("tinymce disabled, copy content from regular textarea");
origCopyLongDesc( sIdent );
}';
// adding scripts to template
$smarty = oxRegistry::get("oxUtilsView")->getSmarty();
$sSufix = ($smarty->_tpl_vars["__oxid_include_dynamic"]) ? '_dynamic' : '';
$aScript = (array)$cfg->getGlobalParameter('scripts' . $sSufix);
$aScript[] = $sCopyLongDescFromTinyMCE;
$aScript[] = $sInit;
$cfg->setGlobalParameter('scripts' . $sSufix, $aScript);
$aInclude = (array)$cfg->getGlobalParameter('includes' . $sSufix);
$aInclude[3][] = $this->getModuleUrl('bla-tinymce', 'tinymce/tinymce.min.js');
$cfg->setGlobalParameter('includes' . $sSufix, $aInclude);
return '<li style="margin-left: 50px;">
<button style="border: 1px solid #0089EE; color: #0089EE;padding: 3px 10px; margin-top: -10px; background: white;" onclick="tinymce.each(tinymce.editors, function(editor) { if(editor.isHidden()) { editor.show(); } else { editor.hide(); } });">
<span>TinyMCE zeigen/verstecken</span>
</button>
</li>';
// javascript:tinymce.execCommand(\'mceToggleEditor\',false,\'editor1\');
}
protected function _getTinyToolbarControls()
{
$aControls = oxRegistry::getConfig()->getConfigParam("aTinyMCE_buttons");
if (method_exists(get_parent_class(__CLASS__), __FUNCTION__))
{
$aControls = array_merge($aControls, parent::_getTinyToolbarControls());
}
return $aControls;
}
protected function _getTinyExtPlugins()
{
$aPlugins = oxRegistry::getConfig()->getConfigParam("aTinyMCE_external_plugins");
if (method_exists(get_parent_class(__CLASS__), __FUNCTION__))
{
$aPlugins = array_merge(parent::_getTinyExtPlugins(), $aPlugins);
}
return $aPlugins;
}
protected function _getTinyCustConfig()
{
$aConfig = oxRegistry::getConfig()->getConfigParam("aTinyMCE_config_override");
if (method_exists(get_parent_class(__CLASS__), __FUNCTION__))
{
$aConfig = array_merge(parent::_getTinyCustConfig(), $aConfig);
}
return $aConfig;
}
}

Datei anzeigen

@ -1,9 +1,9 @@
<?php
/*
* ###_MODULE_###
* Copyright (C) ###_YEAR_### ###_COMPANY_###
* info: ###_EMAIL_###
* TinyMCE Editor for OXID eShop CE
* Copyright (C) 2016 bestlife AG
* info: oxid@bestlife.ag
*
* 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;
@ -13,7 +13,7 @@
* 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/>
*
* ###_AUTHOR_###
* Marat Bedoev
*/
class blaTinyMceOxViewConfig extends blaTinyMceOxViewConfig_parent

Datei anzeigen

@ -1,9 +1,9 @@
<?php
/*
* ###_MODULE_###
* Copyright (C) ###_YEAR_### ###_COMPANY_###
* info: ###_EMAIL_###
* TinyMCE Editor for OXID eShop CE
* Copyright (C) 2016 bestlife AG
* info: oxid@bestlife.ag
*
* 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;
@ -13,7 +13,7 @@
* 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/>
*
* ###_AUTHOR_###
* Marat Bedoev
*/
$v = "https://raw.githubusercontent.com/vanilla-thunder/bla-tinymce/master/copy_this/modules/bla/bla-tinymce/version.jpg";
@ -22,12 +22,12 @@ $sMetadataVersion = '1.1';
$aModule = array(
'id' => 'bla-tinymce',
'title' => '<strong style="color:#95b900;font-size:125%;">best</strong><strong style="color:#c4ca77;font-size:125%;">life</strong> <strong>TinyMCE</strong>',
'description' => '###_MODULE_### 4.7 - 4.9<br/><b style="display:inline-block;float:left;line-height:18px;">newest version:</b><img src="' . $v . '"/><br/>(no need to update if you already have this version)',
'description' => 'TinyMCE Editor for OXID eShop CE 4.7 - 4.9<br/><b style="display:inline-block;float:left;line-height:18px;">newest version:</b><img src="' . $v . '"/><br/>(no need to update if you already have this version)',
'thumbnail' => 'tinymce.png',
'version' => '###_VERSION_###',
'author' => '###_AUTHOR_###, ###_COMPANY_###',
'email' => '###_EMAIL_###',
'url' => '###_URL_###',
'author' => 'Marat Bedoev, bestlife AG',
'email' => 'oxid@bestlife.ag',
'url' => 'https://github.com/vanilla-thunder/bla-tinymce',
'extend' => array(
'oxviewconfig' => 'bla/bla-tinymce/extend/blatinymceoxviewconfig'
),

Datei anzeigen

@ -1,2 +0,0 @@
<?php
include("../en/module_options.php");

Datei anzeigen

@ -1,2 +0,0 @@
<?php
include("../en/module_options.php");

Datei anzeigen

@ -1,35 +0,0 @@
<?php
/*
* bestlife AG - TinyMCE WYSIWYG Editor for OXID eShop
* Copyright (C) 2015 bestlife AG
* info: oxid@bestlife.ag
*
* 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, or (at your option) any later version.
*
* 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/>
*/
$sLangName = 'Deutsch';
$aLang = array(
'charset' => 'UTF-8',
'SHOP_MODULE_GROUP_tinyMceMain' => '<style type="text/css">.groupExp a.rc b {font-size:medium;color:#ff3600;}.groupExp dt input.txt {width:430px !important} .groupExp dl {display:block !important;} input.confinput {position:fixed;top:20px;right:70px;background:#008B2D;padding:10px 25px;color:white;border:1px solid black;cursor:pointer;font-size:125%;} input.confinput:hover {outline:3px solid #ff3600;} .groupExp dt textarea.txtfield {width:430px;height:150px;}</style>Moduleinstellungen',
'SHOP_MODULE_aTinyMCE_classes' => '<h3>Liste der Backend-Klassen, wo TinyMCE angezeigt werden soll</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 View Klasse eingetragen werden, dann werden für jedes textarea je ein Editor erzeugt',
'SHOP_MODULE_aTinyMCE_plaincms' => '<h3>plaintext CMS Seiten</h3>bei CMS Seiten mit diesen Idents wird kein Editor geladen. Z.B: Plaintext Emails, Email Betreffzeilen, etc',
'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Einstellungen &amp; Plugins',
'SHOP_MODULE_aTinyMCE_config_override' => '<h3>eigene Editor Konfiguration <a href="http://www.tinymce.com/wiki.php/Configuration" target="_blank" title="mehr Infos">(?)</a></h3>z.B. für externe Plugins oder um standard Parameter zu überschreiben<br/><b>parameter => "wert"</b> (mit Anführungszeichen, falls erforderlich!)',
'SHOP_MODULE_aTinyMCE_buttons' => '<h3>Toolbar Buttons <a href="http://www.tinymce.com/wiki.php/Controls" target="_blank">(?)</a></h3><b style="color:#ff3600;">es betrifft nur die Buttons (Toolbar controls) unter dem ersten Punkt: "core"</b> und buttons für eigene / externe plugins.<br/>Buttons von standard Plugins werden über Plugins-Konfiguration automatisch hinzugefügt bzw. entfernt.<br/>Standardwerte finden Sie in dem Hilfe-Popup',
'HELP_SHOP_MODULE_aTinyMCE_buttons' => "<textarea rows='7' cols='55'>undo redo\nbold italic underline strikethrough\nalignleft aligncenter alignright alignjustify\nbullist numlist\noutdent indent\nblockquote\nremoveformat\nsubscript\nsuperscript\nformatselect\nfontselect\nfontsizeselect\nsubscript superscript</textarea>",
'SHOP_MODULE_aTinyMCE_plugins' => '<h3>aktive Editor Plugins <a href="http://www.tinymce.com/wiki.php/Plugins" target="_blank">(?)</a></h3>jeweils ein Plugin pro Zeile.<br/>Standardwerte finden Sie in dem Hilfe-Popup',
'HELP_SHOP_MODULE_aTinyMCE_plugins' => "<textarea rows='7' cols='55'>advlist\nanchor\nautolink\nautoresize\ncharmap\ncode\ncolorpicker\nfullscreen\nhr\nimage\nimagetools\ninsertdatetime\nlink\nlists\nmedia\nnonbreaking\npagebreak\npaste\npreview\nsearchreplace\nspellchecker\ntable\ntextcolor\nvisualblocks\nwordcount</textarea>",
'SHOP_MODULE_aTinyMCE_external_plugins' => '<h3>externe Plugins <a href="http://www.tinymce.com/wiki.php/Configuration:external_plugins" target="_blank">(?)</a></h3><br/>Eingabeformat:<br/>Pluginname => Pfad/zur/Datei.js',
'hdi_tinymce_plaincms' => '<b class="errorbox">TinyMCE ist für diese Seite deaktiviert, weil sie keine HTML Formatierung enthalten darf </b>'
);

Datei anzeigen

@ -1,36 +0,0 @@
<?php
/*
* bestlife AG - TinyMCE WYSIWYG Editor for OXID eShop
* Copyright (C) 2015 bestlife AG
* info: oxid@bestlife.ag
*
* 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, or (at your option) any later version.
*
* 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/>
*/
$sLangName = 'English';
$aLang = array(
'charset' => 'UTF-8',
'SHOP_MODULE_GROUP_tinyMceMain' => '<style type="text/css">.groupExp a.rc b {font-size: medium; color: #ff3600; }.groupExp dt input.txt { width: 430px !important} .groupExp dl { display: block !important; } input.confinput {position: fixed; top: 20px; right: 70px; background: #008B2D; padding: 10px 25px; color: white; border: 1px solid black; cursor:pointer; font-size: 125%; } input.confinput:hover {outline: 3px solid #ff3600;} .groupExp dt textarea.txtfield {width: 430px; height: 150px;}</style>module settings',
'SHOP_MODULE_aTinyMCE_classes' => '<h3>Enable TinyMCE For This Backend Views</h3><ul><li>article_main (product description)</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 views, add here the view\'s class name, then textareas should become editor instances',
'SHOP_MODULE_aTinyMCE_plaincms' => '<h3>Plain Text CMS pages</h3>TinyMCE will not apper for this cms pages. e.g: Plaintext Emails, Email subjects, etc',
'SHOP_MODULE_GROUP_tinyMceSettings' => 'TinyMCE Settings &amp; Plugins',
'SHOP_MODULE_aTinyMCE_config_override' => '<h3>Custom Editor Configuration <a href="http://www.tinymce.com/wiki.php/Configuration" target="_blank" title="mehr Infos">(?)</a></h3>e.g. for external plugins or to overwrite default configuration<br/><b>parameter => "value"</b> (with quotes, if required!)',
'SHOP_MODULE_aTinyMCE_buttons' => '<h3>Toolbar Buttons <a href="http://www.tinymce.com/wiki.php/Controls" target="_blank">(?)</a></h3>'.
'<b style="color:#ff3600;">only for core toolbar controls and buttons for custom and external plugins!</b><br/>Buttons for standard plugins will be displayd if the plugin is active.<br/>See the help popup for the default value of this setting',
'HELP_SHOP_MODULE_aTinyMCE_buttons' => "<textarea rows='7' cols='55'>undo redo\nbold italic underline strikethrough\nalignleft aligncenter alignright alignjustify\nbullist numlist\noutdent indent\nblockquote\nremoveformat\nsubscript\nsuperscript\nformatselect\nfontselect\nfontsizeselect\nsubscript superscript</textarea>",
'SHOP_MODULE_aTinyMCE_plugins' => '<h3>Active Editor Plugins <a href="http://www.tinymce.com/wiki.php/Plugins" target="_blank">(?)</a></h3>enter here the default plugins you want to be enabled<br/>See the help popup for the default value of this setting',
'HELP_SHOP_MODULE_aTinyMCE_plugins' => "<textarea rows='7' cols='55'>advlist\nanchor\nautolink\nautoresize\ncharmap\ncode\ncolorpicker\nfullscreen\nhr\nimage\nimagetools\ninsertdatetime\nlink\nlists\nmedia\nnonbreaking\npagebreak\npaste\npreview\nsearchreplace\nspellchecker\ntable\ntextcolor\nvisualblocks\nwordcount</textarea>",
'SHOP_MODULE_aTinyMCE_external_plugins' => '<h3>External Plugins <a href="http://www.tinymce.com/wiki.php/Configuration:external_plugins" target="_blank">(?)</a></h3>pluginname => plugin_path/or/url/plugin.js',
'hdi_tinymce_plaincms' => '<b class="errorbox">TinyMCE was deactivated from this page because it may not contain HTML code</b>'
);

Datei anzeigen

@ -1,2 +0,0 @@
<?php
include("../en/module_options.php");

Datei anzeigen

@ -1,2 +0,0 @@
<?php
include("../en/module_options.php");

Datei anzeigen

@ -1,2 +0,0 @@
<?php
include("../en/module_options.php");

Datei anzeigen

@ -1,2 +0,0 @@
<?php
include("../en/module_options.php");

Datei anzeigen

@ -1,17 +0,0 @@
[{*
* bestlife AG - TinyMCE WYSIWYG Editor for OXID eShop
* Copyright (C) 2015 bestlife AG
* info: oxid@bestlife.ag
*
* 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, or (at your option) any later version.
*
* 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/>
*}]
[{$smarty.block.parent}]
[{if method_exists($oViewConf,'loadTinyMce') }][{ $oViewConf->loadTinyMce() }][{/if}]