tinymce-editor/copy_this/modules/bla/bla-tinymce/metadata.php

127 lines
5.0 KiB
PHP
Raw Normal View History

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-08-01 14:20:20 +02:00
'description' => 'TinyMCE Editor for OXID eShop CE 4.7 - 4.10<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-08-01 14:20:20 +02:00
'version' => '2.0.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',
2016-08-01 14:20:20 +02:00
'extend' => array( 'oxviewconfig' => 'bla/bla-tinymce/application/core/blatinymceoxviewconfig'),
'files' => array( 'tinymcehelper' => 'bla/bla-tinymce/application/controllers/admin/tinymcehelper.php' ),
'templates' => array( 'tinymcehelper.tpl' => 'bla/bla-tinymce/application/views/admin/tinymcehelper.tpl' ),
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(
2016-08-01 14:20:20 +02:00
/* enabling tinyMCE for these classes */
array(
'group' => 'tinyMceMain',
'name' => 'blTinyMCE_filemanager',
'type' => 'bool',
'value' => true,
'position' => 0
),
2015-07-29 10:47:29 +02:00
array(
'group' => 'tinyMceMain',
'name' => 'aTinyMCE_classes',
'type' => 'arr',
'value' => array(
"article_main",
"category_text",
"content_main",
"newsletter_main",
"news_text"
),
2016-08-01 14:20:20 +02:00
'position' => 1
2015-05-06 23:55:51 +02:00
),
2015-07-29 10:47:29 +02:00
array(
2016-08-01 14:20:20 +02:00
'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' => 2
),
array(
'group' => 'tinyMceMain',
'name' => 'aTinyMCE_extjs',
'type' => 'arr',
'value' => array(),
'position' => 3
2015-05-06 23:55:51 +02:00
),
2016-08-01 14:20:20 +02:00
2015-07-29 10:47:29 +02:00
// ################################################################# tinymce settings
array(
'group' => 'tinyMceSettings',
2016-08-01 14:20:20 +02:00
'name' => 'aTinyMCE_config',
2015-07-29 10:47:29 +02:00
'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',
2016-08-01 14:20:20 +02:00
'name' => 'aTinyMCE_plugins',
'type' => 'aarr',
'value' => array(),
2015-07-29 10:47:29 +02:00
'position' => 1
),
array(
'group' => 'tinyMceSettings',
2016-08-01 14:20:20 +02:00
'name' => 'aTinyMCE_external_plugins',
'type' => 'aarr',
'value' => array(),
2015-07-29 10:47:29 +02:00
'position' => 2
),
array(
'group' => 'tinyMceSettings',
2016-08-01 14:20:20 +02:00
'name' => 'aTinyMCE_buttons',
'type' => 'arr',
2015-07-29 10:47:29 +02:00
'value' => array(),
'position' => 3
2015-05-06 23:55:51 +02:00
)
2015-07-29 10:47:29 +02:00
)
);