2015-05-06 23:55:51 +02:00
< ? php
2015-07-29 10:47:29 +02:00
/*
2016-02-26 01:05:21 +01:00
* TinyMCE Editor for OXID eShop CE
* Copyright ( C ) 2016 bestlife AG
* info : oxid @ bestlife . ag
2015-07-29 10:47:29 +02:00
*
* 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 />
2016-02-26 00:57:30 +01:00
*
2016-02-26 01:05:21 +01:00
* Marat Bedoev
2015-07-29 10:47:29 +02:00
*/
2015-05-06 23:55:51 +02:00
2015-07-29 10:47:29 +02:00
$v = " https://raw.githubusercontent.com/vanilla-thunder/bla-tinymce/master/copy_this/modules/bla/bla-tinymce/version.jpg " ;
2015-05-06 23:55:51 +02:00
2015-07-29 10:47:29 +02:00
$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>' ,
2016-02-26 01:05:21 +01:00
'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)' ,
2015-07-29 10:47:29 +02:00
'thumbnail' => 'tinymce.png' ,
2016-02-26 01:08:49 +01:00
'version' => '1.6.0' ,
2016-02-26 01:05:21 +01:00
'author' => 'Marat Bedoev, bestlife AG' ,
'email' => 'oxid@bestlife.ag' ,
'url' => 'https://github.com/vanilla-thunder/bla-tinymce' ,
2015-07-29 10:47:29 +02:00
'extend' => array (
2016-02-26 00:57:30 +01:00
'oxviewconfig' => 'bla/bla-tinymce/extend/blatinymceoxviewconfig'
2015-07-29 10:47:29 +02:00
),
'blocks' => array (
array (
'template' => 'bottomnaviitem.tpl' ,
'block' => 'admin_bottomnaviitem' ,
2016-02-26 00:57:30 +01:00
'file' => '/application/views/blocks/admin/bottomnaviitem_admin_bottomnaviitem.tpl'
2015-07-29 10:47:29 +02:00
)
),
'settings' => array (
/* enabling tinyMCE for this classes */
array (
'group' => 'tinyMceMain' ,
'name' => 'aTinyMCE_classes' ,
'type' => 'arr' ,
'value' => array (
" article_main " ,
" category_text " ,
" content_main " ,
" newsletter_main " ,
" news_text "
),
'position' => 0
2015-05-06 23:55:51 +02:00
),
2015-07-29 10:47:29 +02:00
array (
'group' => 'tinyMceMain' ,
'name' => 'aTinyMCE_plaincms' ,
'type' => 'arr' ,
'value' => array (
" oxadminorderplainemail " ,
" oxadminordernpplainemail " , // bestellbenachrichtigung admin + fremdländer
" oxuserorderplainemail " ,
" oxuserordernpplainemail " ,
" oxuserorderemailendplain " , // bestellbenachrichtigung user + fremdländer + abschluss
" oxordersendplainemail " , // versandbestätigung
" oxregisterplainemail " ,
" oxregisterplainaltemail " , // registrierung
" oxupdatepassinfoplainemail " , // passwort update
" oxnewsletterplainemail " , // newsletter
" oxemailfooterplain " , // email fußtext
" oxrighttocancellegend " ,
" oxrighttocancellegend2 " , // widerrufsrecht
" oxstartmetadescription " ,
" oxstartmetakeywords " // META Tags
),
'position' => 1
2015-05-06 23:55:51 +02:00
),
2015-07-29 10:47:29 +02:00
// ################################################################# tinymce settings
array (
'group' => 'tinyMceSettings' ,
'name' => 'aTinyMCE_config_override' ,
'type' => 'aarr' ,
'value' => array (),
'position' => 0
2015-05-06 23:55:51 +02:00
),
2015-07-29 10:47:29 +02:00
array (
'group' => 'tinyMceSettings' ,
'name' => 'aTinyMCE_buttons' ,
'type' => 'arr' ,
'value' => array (
" undo redo " ,
" bold italic underline strikethrough " ,
" alignleft aligncenter alignright alignjustify " ,
" bullist numlist " ,
" outdent indent " ,
" blockquote " ,
" removeformat " ,
" subscript " ,
" superscript " ,
" formatselect " ,
" fontselect " ,
" fontsizeselect " ,
" subscript superscript "
2015-05-06 23:55:51 +02:00
),
2015-07-29 10:47:29 +02:00
'position' => 1
),
array (
'group' => 'tinyMceSettings' ,
'name' => 'aTinyMCE_plugins' ,
'type' => 'arr' ,
'value' => array (
'advlist' ,
'anchor' ,
'autolink' ,
'autoresize' ,
'charmap' ,
'code' ,
'colorpicker' ,
'fullscreen' ,
'hr' ,
'image' ,
'imagetools' ,
'insertdatetime' ,
'link' ,
'lists' ,
'media' ,
'nonbreaking' ,
'pagebreak' ,
'paste' ,
'preview' ,
'searchreplace' ,
'spellchecker' ,
'table' ,
'textcolor' ,
'visualblocks' ,
'wordcount'
2015-05-06 23:55:51 +02:00
),
2015-07-29 10:47:29 +02:00
'position' => 2
),
array (
'group' => 'tinyMceSettings' ,
'name' => 'aTinyMCE_external_plugins' ,
'type' => 'aarr' ,
'value' => array (),
'position' => 3
2015-05-06 23:55:51 +02:00
)
2015-07-29 10:47:29 +02:00
)
);