1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +02:00

Merge pull request #2443 from yesszus/patch-5

Create  e107_plugins/tinymce4/languages/English_admin.php
This commit is contained in:
Cameron
2017-03-07 08:55:31 -08:00
committed by GitHub
2 changed files with 22 additions and 6 deletions

View File

@@ -15,8 +15,7 @@ if( !e107::isInstalled('tinymce4'))
exit(); exit();
} }
e107::lan('tinymce4','admin', 'true');
class tinymce4_admin extends e_admin_dispatcher class tinymce4_admin extends e_admin_dispatcher
{ {
@@ -57,9 +56,9 @@ if( !e107::isInstalled('tinymce4'))
protected $prefs = array( protected $prefs = array(
'paste_as_text' => array('title'=> 'Paste as text by default', 'type'=>'boolean', 'data' => 'int','help'=> ''), 'paste_as_text' => array('title'=> TMCEALAN_1, 'type'=>'boolean', 'data' => 'int','help'=> ''),
'browser_spellcheck' => array('title'=> 'Browser spellcheck', 'type'=>'boolean', 'data' => 'int','help'=> 'Enable this if the browser internal spellchecker should be used.'), 'browser_spellcheck' => array('title'=> TMCEALAN_2, 'type'=>'boolean', 'data' => 'int','help'=> TMCEALAN_3),
'visualblocks' => array('title'=> 'Visual Blocks', 'type'=>'boolean', 'data' => 'int','help'=> 'Enable to make html blocks visible during editing.'), 'visualblocks' => array('title'=> TMCEALAN_4, 'type'=>'boolean', 'data' => 'int','help'=> TMCEALAN_5),
); );
@@ -735,4 +734,4 @@ function edit_theme()
require_once(e_ADMIN."footer.php"); require_once(e_ADMIN."footer.php");
?> ?>

View File

@@ -0,0 +1,17 @@
<?php
/*
+---------------------------------------------------------------+
| e107 website content management system English Language File
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
| Last Modified: 2017/02/18 11:38:44
|
| $Author: Yesszus $
+---------------------------------------------------------------+
*/
define("TMCEALAN_1", "Paste as text by default");
define("TMCEALAN_2", "Browser spellcheck");
define("TMCEALAN_3", "Enable this if the browser internal spellchecker should be used.");
define("TMCEALAN_4", "Visual Blocks");
define("TMCEALAN_5", "Enable to make html blocks visible during editing.");
?>