close   


DokuwikiFCK is no longer being supported.
It has been superceded by fckgLite and ckgedit.
close   
namespace:
close   
All questions, bug fixes, and feature requests should go through the mailing list. To subscribe to the list, do one of the following:

1. Send an email to fckglite-request@freelists.org with 'subscribe' in the Subject field
2. Visit the fckgLite page at http://www.freelists.org/list/fckglite
3. Or click the subscribe link below

Subscribe
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

playground:test_long [2014/08/13 14:10] (current)
tower created
Line 1: Line 1:
 +/​%%*%%%%*%%\\
 +%%*%% @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\\
 +%%*%% For licensing, see LICENSE.html or http://​ckeditor.com/​license\\
 +%%*%%/\\
 +\\
 +CKEDITOR.editorConfig = function( config ) {\\
 +\\
 +config.keystrokes = [\\
 +\\
 +// [ CKEDITOR.CTRL + 76, null ],                       // CTRL + L\\
 +[ CKEDITOR.ALT ​ + CKEDITOR.SHIFT + 56, '​bulletedlist'​ ],       // ALT + %%*%%    \\
 +[ CKEDITOR.ALT + 56, '​bulletedlist'​ ],                                    // ALT + 8\\
 +[ CKEDITOR.ALT + 173, '​numberedlist'​ ],                               // ALT + -\\
 +[ CKEDITOR.CTRL + 48, '​ckgundoheader'​ ],                               // ALT + 0   \\
 +[ CKEDITOR.CTRL + 49, '​ckginsheaderone'​ ],                          // ALT + 1\\
 +[ CKEDITOR.CTRL + 50, '​ckginsheadertwo'​ ],                          // ALT + 2\\
 +[ CKEDITOR.CTRL + 51, '​ckginsheaderthree'​ ],                          // ALT + 4\\
 +[ CKEDITOR.CTRL + 52, '​ckginsheaderfour'​ ],                          // ALT +4 \\
 +[ CKEDITOR.CTRL + 53, '​ckginsheaderfive'​ ],                          // ALT + 5\\
 +[ CKEDITOR.ALT + 77, '​ckginscode'​ ],          //ALT +m\\
 +/%%*%% turn off ALT to avoid conflict with AltGr %%*%%/\\
 +[ CKEDITOR.ALT + 48, null ],                           \\
 +[ CKEDITOR.ALT + 49, null ],                         \\
 +[ CKEDITOR.ALT + 50, null ],                         \\
 +[ CKEDITOR.ALT + 51, null ],                       \\
 +[ CKEDITOR.ALT + 52, null ],                         \\
 +[ CKEDITOR.ALT + 53, null ],                          \\
 +\\
 +\\
 +];\\
 +\\
 +config.colors = new Array(\\
 +\\
 +);\\
 +\\
 +\\
 +var ckedit_path =  window.location.protocol +'//'​ + top.dokuBase + '​lib/​plugins/​ckgedit/​ckeditor/';​\\
 +config.doku_url = window.location.protocol+ '//'​ + top.dokuBase;​\\
 +config.ckedit_path = window.location.protocol +'//'​ + top.dokuBase + '​lib/​plugins/​ckgedit/​ckeditor/';​\\
 +config.jquery = top.jQuery;​\\
 +//  config.format_code = { element : '​code',​ attributes : { '​class'​ : '​dwcode'​ } };\\
 +// Define changes to default configuration here.\\
 +// For the complete reference:​\\
 +// http://​docs.ckeditor.com/#​!/​api/​CKEDITOR.config\\
 +top.ckgedit_language_chk(config); ​ //resets language if $conf['​other_lang'​] != '​default'​\\
 +// config.scayt_autoStartup = true;      \\
 +config.format_tags = '​p;​h1;​h2;​h3;​h4;​h5';​ \\
 +config.extraSpecialChars ​ = ['​↔'​];​\\
 +config.extraPlugins = '​signature,​footnote,​shortcuts,​fontAssist';​ //,​devtools';​\\
 +config.contentsLangDirection = '';​\\
 +if( top.ckgedit_isRTL()) config.contentsLangDirection = '​rtl';​\\
 +\\
 +\\
 +config.toolbar_Dokuwiki =\\
 +[\\
 +    { name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +    { name: '​editing',​ items : [ '​Find','​Replace','​-','​SelectAll','​-','​Scayt'​ ] },        \\
 +    { name: '​insert',​ items : [ '​Image','​Table','​HorizontalRule','​Smiley','​SpecialChar', ​ '​Signature'​ ,'​Footnotes'​] },           \\
 +        { name: '​links',​ items : [ '​Link','​Unlink'​ ] },\\
 +    { name: '​styles',​ items : [ '​Format',​ '​Styles'​ ,'​Font','​FontSize'​] },\\
 +    { name: '​colors', ​     items : [ '​TextColor','​BGColor',​ '​FontAssist'​ ] },        \\
 +    { name: '​paragraph',​ items : [ '​NumberedList','​BulletedList','​Indent','​Outdent'​] },\\
 +        { name: '​clipboard',​ items : [ '​Cut','​Copy','​Paste','​PasteText','​PasteFromWord','​-','​Undo','​Redo'​ ] },\\
 +    { name: '​basicstyles',​ items: [ '​basicstyles',​ '​cleanup'​ ] },\\
 +    { name: '​tools',​ items : ['​Source',​ '​Maximize','​-','​About'​] },\\
 +\\
 +];\\
 +\\
 +config.toolbar_DokuwikiNoGuest =\\
 +[\\
 +    { name: '​styles',​ items : [ '​Source'​] },\\
 +    { name: '​tools',​ items : [ '​About'​ ] }\\
 +];\\
 +\\
 +\\
 +config.toolbar_DokuwikiGuest =\\
 +[\\
 +    { name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +    { name: '​editing',​ items : [ '​Find','​Replace','​-','​SelectAll','​-','​Scayt'​ ] },        \\
 +    { name: '​insert',​ items : [ '​Table','​HorizontalRule','​Smiley','​SpecialChar',​ '​Footnotes'​] },                      \\
 +    { name: '​styles',​ items : [ '​Format',​ '​Styles'​ ] },\\
 +    { name: '​paragraph',​ items : [ '​NumberedList','​BulletedList','​Indent','​Outdent'​] },\\
 +        { name: '​clipboard',​ items : [ '​Cut','​Copy','​Paste','​PasteText','​-','​Undo','​Redo'​ ] },\\
 +    { name: '​basicstyles',​ items: [ '​basicstyles',​ '​cleanup'​ ] },\\
 +    { name: '​tools',​ items : [ '​Maximize','​-','​About'​ ] },\\
 +];\\
 +\\
 +config.dokuSmileyPath = '​http://'​ + top.dokuBase + '​lib/​images/​smileys/'; ​ \\
 +config.dokuSmileyImages ​ =\\
 +[['​8-)','​icon_cool.gif'​],​\\
 +      ['​8-O','​icon_eek.gif'​], ​                         \\
 +      [':​-(','​icon_sad.gif'​],​\\
 +      [':​-)','​icon_smile.gif'​],​\\
 +      ['​=)','​icon_smile2.gif'​],​\\
 +      [':​-/','​icon_doubt.gif'​], ​                           \\
 +      [':​-?','​icon_confused.gif'​],​\\
 +      [':​-D','​icon_biggrin.gif'​],​\\
 +      [':​-P','​icon_razz.gif'​],​\\
 +    \\
 +      [':​-O','​icon_surprised.gif'​],​\\
 +      [':​-X','​icon_silenced.gif'​],​\\
 +     \\
 +      [':​-|','​icon_neutral.gif'​],​\\
 +      [';​-)','​icon_wink.gif'​],​\\
 +      ['​^_^','​icon_fun.gif'​],​\\
 +      [':?:','​icon_question.gif'​],​\\
 +      [':​!:','​icon_exclaim.gif'​],​\\
 +      ['​LOL','​icon_lol.gif'​]];​\\
 +\\
 +\\
 +\\
 +\\
 +function do_smileys() {\\
 +config.jquery.post(\\
 +ckedit_path + "​dwsmileys.php", ​               \\
 +function(data,​status) {    \\
 +if(status == "​success"​) {\\
 +config.dokuSmileyConfImages = new Array();\\
 +smileys = data.replace(/#​.%%*%%?​%%\%%n/​g,""​);​\\
 +smileys = smileys.replace(/​^[%%\%%s%%\%%n]+$/​mg,""​);​\\
 +smileys=smileys.split(/​%%\%%n/​);​\\
 +if(!smileys[0]) smileys.shift();​\\
 +if(!smileys[smileys.length-1]) smileys.pop(); ​  \\
 +for(var i=0; i < smileys.length;​ i++) {            \\
 +var a = smileys[i].split(/​%%\%%s+/​);​\\
 +if(a[0].match(/​DELETEME/​) || a[0].match(/​FIXME/​)) { \\
 +config.dokuFixmeSmiley.push( a);\\
 +continue;\\
 +}\\
 +config.dokuSmileyConfImages[i] = a;\\
 +}      \\
 +}\\
 +},\\
 +'​html'​\\
 +);\\
 +}\\
 +\\
 +config.dokuFixmeSmiley = new Array();\\
 +config.dokuSmileyConfImages;​\\
 +try {\\
 +do_smileys();​\\
 +}catch(ex){\\
 +\\
 +}\\
 +\\
 +config.ckgEditorVer;​\\
 +var get_ckgeditor_version = function() {\\
 +config.jquery.post(\\
 +ckedit_path + "​get_version.php",​\\
 +function (data,​status) { \\
 +if(status == "​success"​) {            \\
 +config.ckgEditorVer=data;​\\
 +}\\
 +else config.ckgEditorVer = "​Dokuwiki plugin: ckgedit"; ​              \\
 +},\\
 +'​html'​\\
 +);\\
 +}\\
 +config.filebrowserWindowWidth='​60%';​\\
 +config.filebrowserWindowHeight = '​60%';​\\
 +//​config.filebrowserWindowFeatures = '​location=no,​menubar=no,​toolbar=no,​dependent=yes,​minimizable=no,​modal=yes,​alwaysRaised=yes,​resizable=yes,​scrollbars=yes,​left=20';​\\
 +\\
 +get_ckgeditor_version(); ​ \\
 +\\
 +//  config.removeButtons = '​Underline,​Subscript,​Superscript,​Anchor';​\\
 +// This is actually the default value.\\
 +config.toolbar_Full =\\
 +[\\
 +{ name: '​document', ​   items : [ '​Source','​-','​Save','​NewPage','​DocProps','​Preview','​Print','​-','​Templates'​ ] },\\
 +{ name: '​clipboard', ​  items : [ '​Cut','​Copy','​Paste','​PasteText','​PasteFromWord','​-','​Undo','​Redo'​ ] },\\
 +{ name: '​editing', ​    items : [ '​Find','​Replace','​-','​SelectAll','​-','​SpellChecker',​ '​Scayt'​ ] },\\
 +{ name: '​forms', ​      items : [ '​Form',​ '​Checkbox',​ '​Radio',​ '​TextField',​ '​Textarea',​ '​Select',​ '​Button',​ '​ImageButton',​ '​HiddenField'​ ] },\\
 +'/',​\\
 +{ name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +{ name: '​paragraph', ​  items : [ '​NumberedList','​BulletedList','​-','​Outdent','​Indent','​-','​Blockquote','​CreateDiv','​-','​JustifyLeft','​JustifyCenter','​JustifyRight','​JustifyBlock','​-','​BidiLtr','​BidiRtl'​ ] },\\
 +{ name: '​links', ​      items : [ '​Link','​Unlink','​Anchor'​ ] },\\
 +{ name: '​insert', ​     items : [ '​Image','​Flash','​Table','​HorizontalRule','​Smiley','​SpecialChar','​PageBreak'​ ] },\\
 +'/',​\\
 +{ name: '​styles', ​     items : [ '​Styles','​Format','​Font','​FontSize'​ ] },\\
 +{ name: '​colors', ​     items : [ '​TextColor','​BGColor'​ ] },\\
 +{ name: '​tools', ​      items : [ '​Maximize',​ '​ShowBlocks','​-','​About'​ ] }\\
 +];\\
 +\\
 +CKEDITOR.lang['​default'​] = {};\\
 +CKEDITOR.lang['​default'​]['​fbrowser'​] = {\\
 +FileBrowserError_101: ​ '​Folder already exists.',​ \\
 +FileBrowserError_102: ​ '​Invalid folder name', \\
 +FileBrowserError_103: ​ 'You have no permissions to create the folder.',​\\
 +FileBrowserError_110: ​ '​Unknown error creating folder',​\\
 +FileBrowserError_201: ​ 'A file with the same name is already available. The uploaded file has been renamed to: ',\\
 +FileBrowserError_202: ​ '​Invalid file',​\\
 +FileBrowserError_203: ​ 'You do not have permission to upload files to this folder. If you think this is incorrect please notify your administrator.',​\\
 +FileBrowserError_204: ​ '​Unable to delete the selected file', \\
 +FileBrowserError_205: ​ '​Unable to rename the selected file; check your directory/​write permisssions',​ \\
 +FileBrowserError_206:​ ' already exists; you must either delete or rename it. ',\\
 +FileBrowserError_default:​ 'Error on your request. Error number: ',\\
 +FileBrowserError_Ajax:​ 'Your browser does not support AJAX.',​\\
 +FileBrowserError_XML: ​ 'The server didn%%\%%'​t reply with a proper XML data. Please check your configuration.'​ ,\\
 +FileBrowserError_Folder_Submit:​ '​Please type the folder name.',​\\
 +FileBrowserError_File_Submit: ​ '​Please select a file from your computer',​\\
 +FileBrowserError_Upload:​ 'Error on upload. Error number: ',\\
 +FileBrowserError_Connector:​ 'The connector is disabled. Check editor/​filemanager/​connectors/​php/​config.php',​ \\
 +FileBrowserError_Command:​ '​Unsupported command: ',\\
 +FileBrowserError_Type: ​ '​Invalid type specified: ',\\
 +FolderMoveWarning: ​ 'You can only move files to a folder one level below the current directory', ​   \\
 +FileBrowserError_301:​ "The uploaded file exceeds the upload_max_filesize directive in php.ini.",​\\
 +FileBrowserError_302:​ "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.",​\\
 +FileBrowserError_303:​ "The uploaded file was only partially uploaded.", ​ \\
 +FileBrowserError_304:​ "No file was uploaded.",​\\
 +FileBrowserError_306: ​ "​Missing a temporary folder.", ​       \\
 +FileBrowserError_307: ​ "​Failed to write file to disk.",​\\
 +FileBrowserError_308:​ "PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help.",​\\
 +DlgFileBrowserUpMsg:​ "​Upload a new file in this folder",​\\
 +DlgFileBrowserRead ​ : "​read-only",​\\
 +DlgFileBrowserWrite : "​uploadable",​\\
 +DlgFileBrowserNewFolder:​ "​Create Folder",​\\
 +DlgFileBrowserResourceType:​ "​Resource Type",​\\
 +DlgLnkUpload ​     : "​Upload",​\\
 +DlgFileBrowserMove:​ "​Move",​\\
 +InternalLink:​ "​internal link",​\\
 +InternalMedia:​ "​internal media",​\\
 +MediaFileLink:​ "link to media file",​\\
 +SMBLabel: "Samba Share",​\\
 +GetHeadingsLabel:​ 'Get Headings' ​ ,\\
 +QStringLabel:​ 'Query String (For example: value_1=1&​value_2=2) ', ​ \\
 +ResetQS: 'Reset Query String',​\\
 +NotSetOption:​ 'Not Set',​\\
 +AdvancedInfo:​ "To create anchors from Dokuwiki headers, click on the Get Headings button, select the header, click OK. You can go back, select a new page and get new headers.",​\\
 +AdvancedTabPrompt:​ 'Use the advanced tab to create page anchors and query strings',​\\
 +SMBExample: "Enter your share as: \\%%Server%directory%file",​ \\
 +DlgFileBrowserWaitingMsg:​ '​Loading files, please wait.',​\\
 +};\\
 +CKEDITOR.lang['​default'​]['​footnote'​] = {\\
 +FootNoteInfo:​ '<​div style="​padding:​ 18px;​font-size:​125%;​line-height:​125%;">'​+\\
 +'<​ul style="​list-style-type:​disc;"><​li>​To create a footnote enter the footnote text into the editing box and click OK</​li>'​+\\
 +'<​li>​To edit a footnote enter the footnote id into the id box and click the Load button. <br /> The footnote will '+\\
 +'​appear in the editing box, where you can then edit it.<br /> When you are finished editing, click OK to save.</​li>'​+ ​       \\
 +'<​li>​ A footnote id has this form: <​b>​fckgL_&​lt;​n&​gt;</​b>,​ where n is the number of the note.</​li></​ul></​div>',​\\
 +ToolTip: '​Insert a footnote', ​ \\
 +Settings: '​Settings',​ \\
 +Header: 'This dialog window lets you create and edit footnotes.',​\\
 +Label_1 :'​Footnote Text (required)',​\\
 +Label_2: '​Footnote Id: ',\\
 +LoadButtonLabel : 'Load Note In Editor',​\\
 +Title : '​Footnote Dialog',​\\
 +Validate: 'The footnote text field cannot be empty.',​\\
 +\\
 +};\\
 +CKEDITOR.lang['​default'​]['​fontassist'​] = {\\
 +Title: 'Font Plugin Editor',​\\
 +ToolTip: 'Check and Revise Font Styling',​\\
 +MainHeader: 'View and optionally alter text styled with the font plugin .',\\
 +SelectColor : ' Select Color',​\\
 +SelectedTextColor : '​Selected Text Color', ​ \\
 +SelectedBGColor : '​Selected Background Color', ​ \\
 +BGColors : '​Background Colors', ​ \\
 +InfoText :  '<​div style="​max-width:​400px;​ font-size: 12pt; white-space:​ pre-wrap;​border:​1px solid #cccccc; margin:​auto;​ height: 350px; overflow:​auto;">'​ +                         \\
 +'This tool works with the font  plugin and is used to update the font plugin%%\%%'​s syntax and/or view its enclosed text. ' +\\
 +'​Clicking anywhere on the plugin syntax or its text will enable you to check the appearance of the font, its colors, and its size.'​+\\
 +'<​br /><br />You can also update the plugin syntax in place. ​ To do this you must select both the font syntax itself and the enclosed text:' +\\
 +'<p style="​text-indent:​ 50px; font-size: 12pt;"> ​ &​lt;​font. . . &​gt;​text&​lt;/​font&​gt;</​p>'​ +\\
 +'Then whatever changes you  make with this tool can be inserted into the editor window, by clicking OK, and will replace the current font syntax. ' +\\
 +'<​br /><br />The font syntax will appear in the textbox below the display window and is updated with each change. '+ \\
 +'​Clicking on the text will select the text for copying.</​div>',​\\
 +Main: '​Main',​\\
 +Text : '​Text',​\\
 +IfChecked : ' If checked, uncheck to activate OK button',​\\
 +Fonts : '​Fonts',​\\
 +FontSizes :  'Font Sizes (px)',​\\
 +ResetFont : 'Reset font',​\\
 +ResetAll : 'Reset all',​\\
 +TextColors : 'Text Colors',​\\
 +Accept :'​Accept', ​ \\
 +Reset : '​Reset', ​     \\
 +none : '​none',​\\
 +};\\
 +\\
 +CKEDITOR.lang['​default'​]['​signature'​] = {\\
 +ToolTip: '​Insert signature'​\\
 +};\\
 +\\
 +\\
 +config.allowedContent = true;\\
 +\\
 +};\\
 +\\
 +/​%%*%%%%*%%\\
 +%%*%% @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\\
 +%%*%% For licensing, see LICENSE.html or http://​ckeditor.com/​license\\
 +%%*%%/\\
 +\\
 +CKEDITOR.editorConfig = function( config ) {\\
 +\\
 +config.keystrokes = [\\
 +\\
 +// [ CKEDITOR.CTRL + 76, null ],                       // CTRL + L\\
 +[ CKEDITOR.ALT ​ + CKEDITOR.SHIFT + 56, '​bulletedlist'​ ],       // ALT + %%*%%    \\
 +[ CKEDITOR.ALT + 56, '​bulletedlist'​ ],                                    // ALT + 8\\
 +[ CKEDITOR.ALT + 173, '​numberedlist'​ ],                               // ALT + -\\
 +[ CKEDITOR.CTRL + 48, '​ckgundoheader'​ ],                               // ALT + 0   \\
 +[ CKEDITOR.CTRL + 49, '​ckginsheaderone'​ ],                          // ALT + 1\\
 +[ CKEDITOR.CTRL + 50, '​ckginsheadertwo'​ ],                          // ALT + 2\\
 +[ CKEDITOR.CTRL + 51, '​ckginsheaderthree'​ ],                          // ALT + 4\\
 +[ CKEDITOR.CTRL + 52, '​ckginsheaderfour'​ ],                          // ALT +4 \\
 +[ CKEDITOR.CTRL + 53, '​ckginsheaderfive'​ ],                          // ALT + 5\\
 +[ CKEDITOR.ALT + 77, '​ckginscode'​ ],          //ALT +m\\
 +/%%*%% turn off ALT to avoid conflict with AltGr %%*%%/\\
 +[ CKEDITOR.ALT + 48, null ],                           \\
 +[ CKEDITOR.ALT + 49, null ],                         \\
 +[ CKEDITOR.ALT + 50, null ],                         \\
 +[ CKEDITOR.ALT + 51, null ],                       \\
 +[ CKEDITOR.ALT + 52, null ],                         \\
 +[ CKEDITOR.ALT + 53, null ],                          \\
 +\\
 +\\
 +];\\
 +\\
 +config.colors = new Array(\\
 +\\
 +);\\
 +\\
 +\\
 +var ckedit_path =  window.location.protocol +'//'​ + top.dokuBase + '​lib/​plugins/​ckgedit/​ckeditor/';​\\
 +config.doku_url = window.location.protocol+ '//'​ + top.dokuBase;​\\
 +config.ckedit_path = window.location.protocol +'//'​ + top.dokuBase + '​lib/​plugins/​ckgedit/​ckeditor/';​\\
 +config.jquery = top.jQuery;​\\
 +//  config.format_code = { element : '​code',​ attributes : { '​class'​ : '​dwcode'​ } };\\
 +// Define changes to default configuration here.\\
 +// For the complete reference:​\\
 +// http://​docs.ckeditor.com/#​!/​api/​CKEDITOR.config\\
 +top.ckgedit_language_chk(config); ​ //resets language if $conf['​other_lang'​] != '​default'​\\
 +// config.scayt_autoStartup = true;      \\
 +config.format_tags = '​p;​h1;​h2;​h3;​h4;​h5';​ \\
 +config.extraSpecialChars ​ = ['​↔'​];​\\
 +config.extraPlugins = '​signature,​footnote,​shortcuts,​fontAssist';​ //,​devtools';​\\
 +config.contentsLangDirection = '';​\\
 +if( top.ckgedit_isRTL()) config.contentsLangDirection = '​rtl';​\\
 +\\
 +\\
 +config.toolbar_Dokuwiki =\\
 +[\\
 +    { name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +    { name: '​editing',​ items : [ '​Find','​Replace','​-','​SelectAll','​-','​Scayt'​ ] },        \\
 +    { name: '​insert',​ items : [ '​Image','​Table','​HorizontalRule','​Smiley','​SpecialChar', ​ '​Signature'​ ,'​Footnotes'​] },           \\
 +        { name: '​links',​ items : [ '​Link','​Unlink'​ ] },\\
 +    { name: '​styles',​ items : [ '​Format',​ '​Styles'​ ,'​Font','​FontSize'​] },\\
 +    { name: '​colors', ​     items : [ '​TextColor','​BGColor',​ '​FontAssist'​ ] },        \\
 +    { name: '​paragraph',​ items : [ '​NumberedList','​BulletedList','​Indent','​Outdent'​] },\\
 +        { name: '​clipboard',​ items : [ '​Cut','​Copy','​Paste','​PasteText','​PasteFromWord','​-','​Undo','​Redo'​ ] },\\
 +    { name: '​basicstyles',​ items: [ '​basicstyles',​ '​cleanup'​ ] },\\
 +    { name: '​tools',​ items : ['​Source',​ '​Maximize','​-','​About'​] },\\
 +\\
 +];\\
 +\\
 +config.toolbar_DokuwikiNoGuest =\\
 +[\\
 +    { name: '​styles',​ items : [ '​Source'​] },\\
 +    { name: '​tools',​ items : [ '​About'​ ] }\\
 +];\\
 +\\
 +\\
 +config.toolbar_DokuwikiGuest =\\
 +[\\
 +    { name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +    { name: '​editing',​ items : [ '​Find','​Replace','​-','​SelectAll','​-','​Scayt'​ ] },        \\
 +    { name: '​insert',​ items : [ '​Table','​HorizontalRule','​Smiley','​SpecialChar',​ '​Footnotes'​] },                      \\
 +    { name: '​styles',​ items : [ '​Format',​ '​Styles'​ ] },\\
 +    { name: '​paragraph',​ items : [ '​NumberedList','​BulletedList','​Indent','​Outdent'​] },\\
 +        { name: '​clipboard',​ items : [ '​Cut','​Copy','​Paste','​PasteText','​-','​Undo','​Redo'​ ] },\\
 +    { name: '​basicstyles',​ items: [ '​basicstyles',​ '​cleanup'​ ] },\\
 +    { name: '​tools',​ items : [ '​Maximize','​-','​About'​ ] },\\
 +];\\
 +\\
 +config.dokuSmileyPath = '​http://'​ + top.dokuBase + '​lib/​images/​smileys/'; ​ \\
 +config.dokuSmileyImages ​ =\\
 +[['​8-)','​icon_cool.gif'​],​\\
 +      ['​8-O','​icon_eek.gif'​], ​                         \\
 +      [':​-(','​icon_sad.gif'​],​\\
 +      [':​-)','​icon_smile.gif'​],​\\
 +      ['​=)','​icon_smile2.gif'​],​\\
 +      [':​-/','​icon_doubt.gif'​], ​                           \\
 +      [':​-?','​icon_confused.gif'​],​\\
 +      [':​-D','​icon_biggrin.gif'​],​\\
 +      [':​-P','​icon_razz.gif'​],​\\
 +    \\
 +      [':​-O','​icon_surprised.gif'​],​\\
 +      [':​-X','​icon_silenced.gif'​],​\\
 +     \\
 +      [':​-|','​icon_neutral.gif'​],​\\
 +      [';​-)','​icon_wink.gif'​],​\\
 +      ['​^_^','​icon_fun.gif'​],​\\
 +      [':?:','​icon_question.gif'​],​\\
 +      [':​!:','​icon_exclaim.gif'​],​\\
 +      ['​LOL','​icon_lol.gif'​]];​\\
 +\\
 +\\
 +\\
 +\\
 +function do_smileys() {\\
 +config.jquery.post(\\
 +ckedit_path + "​dwsmileys.php", ​               \\
 +function(data,​status) {    \\
 +if(status == "​success"​) {\\
 +config.dokuSmileyConfImages = new Array();\\
 +smileys = data.replace(/#​.%%*%%?​%%\%%n/​g,""​);​\\
 +smileys = smileys.replace(/​^[%%\%%s%%\%%n]+$/​mg,""​);​\\
 +smileys=smileys.split(/​%%\%%n/​);​\\
 +if(!smileys[0]) smileys.shift();​\\
 +if(!smileys[smileys.length-1]) smileys.pop(); ​  \\
 +for(var i=0; i < smileys.length;​ i++) {            \\
 +var a = smileys[i].split(/​%%\%%s+/​);​\\
 +if(a[0].match(/​DELETEME/​) || a[0].match(/​FIXME/​)) { \\
 +config.dokuFixmeSmiley.push( a);\\
 +continue;\\
 +}\\
 +config.dokuSmileyConfImages[i] = a;\\
 +}      \\
 +}\\
 +},\\
 +'​html'​\\
 +);\\
 +}\\
 +\\
 +config.dokuFixmeSmiley = new Array();\\
 +config.dokuSmileyConfImages;​\\
 +try {\\
 +do_smileys();​\\
 +}catch(ex){\\
 +\\
 +}\\
 +\\
 +config.ckgEditorVer;​\\
 +var get_ckgeditor_version = function() {\\
 +config.jquery.post(\\
 +ckedit_path + "​get_version.php",​\\
 +function (data,​status) { \\
 +if(status == "​success"​) {            \\
 +config.ckgEditorVer=data;​\\
 +}\\
 +else config.ckgEditorVer = "​Dokuwiki plugin: ckgedit"; ​              \\
 +},\\
 +'​html'​\\
 +);\\
 +}\\
 +config.filebrowserWindowWidth='​60%';​\\
 +config.filebrowserWindowHeight = '​60%';​\\
 +//​config.filebrowserWindowFeatures = '​location=no,​menubar=no,​toolbar=no,​dependent=yes,​minimizable=no,​modal=yes,​alwaysRaised=yes,​resizable=yes,​scrollbars=yes,​left=20';​\\
 +\\
 +get_ckgeditor_version(); ​ \\
 +\\
 +//  config.removeButtons = '​Underline,​Subscript,​Superscript,​Anchor';​\\
 +// This is actually the default value.\\
 +config.toolbar_Full =\\
 +[\\
 +{ name: '​document', ​   items : [ '​Source','​-','​Save','​NewPage','​DocProps','​Preview','​Print','​-','​Templates'​ ] },\\
 +{ name: '​clipboard', ​  items : [ '​Cut','​Copy','​Paste','​PasteText','​PasteFromWord','​-','​Undo','​Redo'​ ] },\\
 +{ name: '​editing', ​    items : [ '​Find','​Replace','​-','​SelectAll','​-','​SpellChecker',​ '​Scayt'​ ] },\\
 +{ name: '​forms', ​      items : [ '​Form',​ '​Checkbox',​ '​Radio',​ '​TextField',​ '​Textarea',​ '​Select',​ '​Button',​ '​ImageButton',​ '​HiddenField'​ ] },\\
 +'/',​\\
 +{ name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +{ name: '​paragraph', ​  items : [ '​NumberedList','​BulletedList','​-','​Outdent','​Indent','​-','​Blockquote','​CreateDiv','​-','​JustifyLeft','​JustifyCenter','​JustifyRight','​JustifyBlock','​-','​BidiLtr','​BidiRtl'​ ] },\\
 +{ name: '​links', ​      items : [ '​Link','​Unlink','​Anchor'​ ] },\\
 +{ name: '​insert', ​     items : [ '​Image','​Flash','​Table','​HorizontalRule','​Smiley','​SpecialChar','​PageBreak'​ ] },\\
 +'/',​\\
 +{ name: '​styles', ​     items : [ '​Styles','​Format','​Font','​FontSize'​ ] },\\
 +{ name: '​colors', ​     items : [ '​TextColor','​BGColor'​ ] },\\
 +{ name: '​tools', ​      items : [ '​Maximize',​ '​ShowBlocks','​-','​About'​ ] }\\
 +];\\
 +\\
 +CKEDITOR.lang['​default'​] = {};\\
 +CKEDITOR.lang['​default'​]['​fbrowser'​] = {\\
 +FileBrowserError_101: ​ '​Folder already exists.',​ \\
 +FileBrowserError_102: ​ '​Invalid folder name', \\
 +FileBrowserError_103: ​ 'You have no permissions to create the folder.',​\\
 +FileBrowserError_110: ​ '​Unknown error creating folder',​\\
 +FileBrowserError_201: ​ 'A file with the same name is already available. The uploaded file has been renamed to: ',\\
 +FileBrowserError_202: ​ '​Invalid file',​\\
 +FileBrowserError_203: ​ 'You do not have permission to upload files to this folder. If you think this is incorrect please notify your administrator.',​\\
 +FileBrowserError_204: ​ '​Unable to delete the selected file', \\
 +FileBrowserError_205: ​ '​Unable to rename the selected file; check your directory/​write permisssions',​ \\
 +FileBrowserError_206:​ ' already exists; you must either delete or rename it. ',\\
 +FileBrowserError_default:​ 'Error on your request. Error number: ',\\
 +FileBrowserError_Ajax:​ 'Your browser does not support AJAX.',​\\
 +FileBrowserError_XML: ​ 'The server didn%%\%%'​t reply with a proper XML data. Please check your configuration.'​ ,\\
 +FileBrowserError_Folder_Submit:​ '​Please type the folder name.',​\\
 +FileBrowserError_File_Submit: ​ '​Please select a file from your computer',​\\
 +FileBrowserError_Upload:​ 'Error on upload. Error number: ',\\
 +FileBrowserError_Connector:​ 'The connector is disabled. Check editor/​filemanager/​connectors/​php/​config.php',​ \\
 +FileBrowserError_Command:​ '​Unsupported command: ',\\
 +FileBrowserError_Type: ​ '​Invalid type specified: ',\\
 +FolderMoveWarning: ​ 'You can only move files to a folder one level below the current directory', ​   \\
 +FileBrowserError_301:​ "The uploaded file exceeds the upload_max_filesize directive in php.ini.",​\\
 +FileBrowserError_302:​ "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.",​\\
 +FileBrowserError_303:​ "The uploaded file was only partially uploaded.", ​ \\
 +FileBrowserError_304:​ "No file was uploaded.",​\\
 +FileBrowserError_306: ​ "​Missing a temporary folder.", ​       \\
 +FileBrowserError_307: ​ "​Failed to write file to disk.",​\\
 +FileBrowserError_308:​ "PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help.",​\\
 +DlgFileBrowserUpMsg:​ "​Upload a new file in this folder",​\\
 +DlgFileBrowserRead ​ : "​read-only",​\\
 +DlgFileBrowserWrite : "​uploadable",​\\
 +DlgFileBrowserNewFolder:​ "​Create Folder",​\\
 +DlgFileBrowserResourceType:​ "​Resource Type",​\\
 +DlgLnkUpload ​     : "​Upload",​\\
 +DlgFileBrowserMove:​ "​Move",​\\
 +InternalLink:​ "​internal link",​\\
 +InternalMedia:​ "​internal media",​\\
 +MediaFileLink:​ "link to media file",​\\
 +SMBLabel: "Samba Share",​\\
 +GetHeadingsLabel:​ 'Get Headings' ​ ,\\
 +QStringLabel:​ 'Query String (For example: value_1=1&​value_2=2) ', ​ \\
 +ResetQS: 'Reset Query String',​\\
 +NotSetOption:​ 'Not Set',​\\
 +AdvancedInfo:​ "To create anchors from Dokuwiki headers, click on the Get Headings button, select the header, click OK. You can go back, select a new page and get new headers.",​\\
 +AdvancedTabPrompt:​ 'Use the advanced tab to create page anchors and query strings',​\\
 +SMBExample: "Enter your share as: \\%%Server%directory%file",​ \\
 +DlgFileBrowserWaitingMsg:​ '​Loading files, please wait.',​\\
 +};\\
 +CKEDITOR.lang['​default'​]['​footnote'​] = {\\
 +FootNoteInfo:​ '<​div style="​padding:​ 18px;​font-size:​125%;​line-height:​125%;">'​+\\
 +'<​ul style="​list-style-type:​disc;"><​li>​To create a footnote enter the footnote text into the editing box and click OK</​li>'​+\\
 +'<​li>​To edit a footnote enter the footnote id into the id box and click the Load button. <br /> The footnote will '+\\
 +'​appear in the editing box, where you can then edit it.<br /> When you are finished editing, click OK to save.</​li>'​+ ​       \\
 +'<​li>​ A footnote id has this form: <​b>​fckgL_&​lt;​n&​gt;</​b>,​ where n is the number of the note.</​li></​ul></​div>',​\\
 +ToolTip: '​Insert a footnote', ​ \\
 +Settings: '​Settings',​ \\
 +Header: 'This dialog window lets you create and edit footnotes.',​\\
 +Label_1 :'​Footnote Text (required)',​\\
 +Label_2: '​Footnote Id: ',\\
 +LoadButtonLabel : 'Load Note In Editor',​\\
 +Title : '​Footnote Dialog',​\\
 +Validate: 'The footnote text field cannot be empty.',​\\
 +\\
 +};\\
 +CKEDITOR.lang['​default'​]['​fontassist'​] = {\\
 +Title: 'Font Plugin Editor',​\\
 +ToolTip: 'Check and Revise Font Styling',​\\
 +MainHeader: 'View and optionally alter text styled with the font plugin .',\\
 +SelectColor : ' Select Color',​\\
 +SelectedTextColor : '​Selected Text Color', ​ \\
 +SelectedBGColor : '​Selected Background Color', ​ \\
 +BGColors : '​Background Colors', ​ \\
 +InfoText :  '<​div style="​max-width:​400px;​ font-size: 12pt; white-space:​ pre-wrap;​border:​1px solid #cccccc; margin:​auto;​ height: 350px; overflow:​auto;">'​ +                         \\
 +'This tool works with the font  plugin and is used to update the font plugin%%\%%'​s syntax and/or view its enclosed text. ' +\\
 +'​Clicking anywhere on the plugin syntax or its text will enable you to check the appearance of the font, its colors, and its size.'​+\\
 +'<​br /><br />You can also update the plugin syntax in place. ​ To do this you must select both the font syntax itself and the enclosed text:' +\\
 +'<p style="​text-indent:​ 50px; font-size: 12pt;"> ​ &​lt;​font. . . &​gt;​text&​lt;/​font&​gt;</​p>'​ +\\
 +'Then whatever changes you  make with this tool can be inserted into the editor window, by clicking OK, and will replace the current font syntax. ' +\\
 +'<​br /><br />The font syntax will appear in the textbox below the display window and is updated with each change. '+ \\
 +'​Clicking on the text will select the text for copying.</​div>',​\\
 +Main: '​Main',​\\
 +Text : '​Text',​\\
 +IfChecked : ' If checked, uncheck to activate OK button',​\\
 +Fonts : '​Fonts',​\\
 +FontSizes :  'Font Sizes (px)',​\\
 +ResetFont : 'Reset font',​\\
 +ResetAll : 'Reset all',​\\
 +TextColors : 'Text Colors',​\\
 +Accept :'​Accept', ​ \\
 +Reset : '​Reset', ​     \\
 +none : '​none',​\\
 +};\\
 +\\
 +CKEDITOR.lang['​default'​]['​signature'​] = {\\
 +ToolTip: '​Insert signature'​\\
 +};\\
 +\\
 +\\
 +config.allowedContent = true;\\
 +\\
 +};\\
 +\\
 +/​%%*%%%%*%%\\
 +%%*%% @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\\
 +%%*%% For licensing, see LICENSE.html or http://​ckeditor.com/​license\\
 +%%*%%/\\
 +\\
 +CKEDITOR.editorConfig = function( config ) {\\
 +\\
 +config.keystrokes = [\\
 +\\
 +// [ CKEDITOR.CTRL + 76, null ],                       // CTRL + L\\
 +[ CKEDITOR.ALT ​ + CKEDITOR.SHIFT + 56, '​bulletedlist'​ ],       // ALT + %%*%%    \\
 +[ CKEDITOR.ALT + 56, '​bulletedlist'​ ],                                    // ALT + 8\\
 +[ CKEDITOR.ALT + 173, '​numberedlist'​ ],                               // ALT + -\\
 +[ CKEDITOR.CTRL + 48, '​ckgundoheader'​ ],                               // ALT + 0   \\
 +[ CKEDITOR.CTRL + 49, '​ckginsheaderone'​ ],                          // ALT + 1\\
 +[ CKEDITOR.CTRL + 50, '​ckginsheadertwo'​ ],                          // ALT + 2\\
 +[ CKEDITOR.CTRL + 51, '​ckginsheaderthree'​ ],                          // ALT + 4\\
 +[ CKEDITOR.CTRL + 52, '​ckginsheaderfour'​ ],                          // ALT +4 \\
 +[ CKEDITOR.CTRL + 53, '​ckginsheaderfive'​ ],                          // ALT + 5\\
 +[ CKEDITOR.ALT + 77, '​ckginscode'​ ],          //ALT +m\\
 +/%%*%% turn off ALT to avoid conflict with AltGr %%*%%/\\
 +[ CKEDITOR.ALT + 48, null ],                           \\
 +[ CKEDITOR.ALT + 49, null ],                         \\
 +[ CKEDITOR.ALT + 50, null ],                         \\
 +[ CKEDITOR.ALT + 51, null ],                       \\
 +[ CKEDITOR.ALT + 52, null ],                         \\
 +[ CKEDITOR.ALT + 53, null ],                          \\
 +\\
 +\\
 +];\\
 +\\
 +config.colors = new Array(\\
 +\\
 +);\\
 +\\
 +\\
 +var ckedit_path =  window.location.protocol +'//'​ + top.dokuBase + '​lib/​plugins/​ckgedit/​ckeditor/';​\\
 +config.doku_url = window.location.protocol+ '//'​ + top.dokuBase;​\\
 +config.ckedit_path = window.location.protocol +'//'​ + top.dokuBase + '​lib/​plugins/​ckgedit/​ckeditor/';​\\
 +config.jquery = top.jQuery;​\\
 +//  config.format_code = { element : '​code',​ attributes : { '​class'​ : '​dwcode'​ } };\\
 +// Define changes to default configuration here.\\
 +// For the complete reference:​\\
 +// http://​docs.ckeditor.com/#​!/​api/​CKEDITOR.config\\
 +top.ckgedit_language_chk(config); ​ //resets language if $conf['​other_lang'​] != '​default'​\\
 +// config.scayt_autoStartup = true;      \\
 +config.format_tags = '​p;​h1;​h2;​h3;​h4;​h5';​ \\
 +config.extraSpecialChars ​ = ['​↔'​];​\\
 +config.extraPlugins = '​signature,​footnote,​shortcuts,​fontAssist';​ //,​devtools';​\\
 +config.contentsLangDirection = '';​\\
 +if( top.ckgedit_isRTL()) config.contentsLangDirection = '​rtl';​\\
 +\\
 +\\
 +config.toolbar_Dokuwiki =\\
 +[\\
 +    { name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +    { name: '​editing',​ items : [ '​Find','​Replace','​-','​SelectAll','​-','​Scayt'​ ] },        \\
 +    { name: '​insert',​ items : [ '​Image','​Table','​HorizontalRule','​Smiley','​SpecialChar', ​ '​Signature'​ ,'​Footnotes'​] },           \\
 +        { name: '​links',​ items : [ '​Link','​Unlink'​ ] },\\
 +    { name: '​styles',​ items : [ '​Format',​ '​Styles'​ ,'​Font','​FontSize'​] },\\
 +    { name: '​colors', ​     items : [ '​TextColor','​BGColor',​ '​FontAssist'​ ] },        \\
 +    { name: '​paragraph',​ items : [ '​NumberedList','​BulletedList','​Indent','​Outdent'​] },\\
 +        { name: '​clipboard',​ items : [ '​Cut','​Copy','​Paste','​PasteText','​PasteFromWord','​-','​Undo','​Redo'​ ] },\\
 +    { name: '​basicstyles',​ items: [ '​basicstyles',​ '​cleanup'​ ] },\\
 +    { name: '​tools',​ items : ['​Source',​ '​Maximize','​-','​About'​] },\\
 +\\
 +];\\
 +\\
 +config.toolbar_DokuwikiNoGuest =\\
 +[\\
 +    { name: '​styles',​ items : [ '​Source'​] },\\
 +    { name: '​tools',​ items : [ '​About'​ ] }\\
 +];\\
 +\\
 +\\
 +config.toolbar_DokuwikiGuest =\\
 +[\\
 +    { name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +    { name: '​editing',​ items : [ '​Find','​Replace','​-','​SelectAll','​-','​Scayt'​ ] },        \\
 +    { name: '​insert',​ items : [ '​Table','​HorizontalRule','​Smiley','​SpecialChar',​ '​Footnotes'​] },                      \\
 +    { name: '​styles',​ items : [ '​Format',​ '​Styles'​ ] },\\
 +    { name: '​paragraph',​ items : [ '​NumberedList','​BulletedList','​Indent','​Outdent'​] },\\
 +        { name: '​clipboard',​ items : [ '​Cut','​Copy','​Paste','​PasteText','​-','​Undo','​Redo'​ ] },\\
 +    { name: '​basicstyles',​ items: [ '​basicstyles',​ '​cleanup'​ ] },\\
 +    { name: '​tools',​ items : [ '​Maximize','​-','​About'​ ] },\\
 +];\\
 +\\
 +config.dokuSmileyPath = '​http://'​ + top.dokuBase + '​lib/​images/​smileys/'; ​ \\
 +config.dokuSmileyImages ​ =\\
 +[['​8-)','​icon_cool.gif'​],​\\
 +      ['​8-O','​icon_eek.gif'​], ​                         \\
 +      [':​-(','​icon_sad.gif'​],​\\
 +      [':​-)','​icon_smile.gif'​],​\\
 +      ['​=)','​icon_smile2.gif'​],​\\
 +      [':​-/','​icon_doubt.gif'​], ​                           \\
 +      [':​-?','​icon_confused.gif'​],​\\
 +      [':​-D','​icon_biggrin.gif'​],​\\
 +      [':​-P','​icon_razz.gif'​],​\\
 +    \\
 +      [':​-O','​icon_surprised.gif'​],​\\
 +      [':​-X','​icon_silenced.gif'​],​\\
 +     \\
 +      [':​-|','​icon_neutral.gif'​],​\\
 +      [';​-)','​icon_wink.gif'​],​\\
 +      ['​^_^','​icon_fun.gif'​],​\\
 +      [':?:','​icon_question.gif'​],​\\
 +      [':​!:','​icon_exclaim.gif'​],​\\
 +      ['​LOL','​icon_lol.gif'​]];​\\
 +\\
 +\\
 +\\
 +\\
 +function do_smileys() {\\
 +config.jquery.post(\\
 +ckedit_path + "​dwsmileys.php", ​               \\
 +function(data,​status) {    \\
 +if(status == "​success"​) {\\
 +config.dokuSmileyConfImages = new Array();\\
 +smileys = data.replace(/#​.%%*%%?​%%\%%n/​g,""​);​\\
 +smileys = smileys.replace(/​^[%%\%%s%%\%%n]+$/​mg,""​);​\\
 +smileys=smileys.split(/​%%\%%n/​);​\\
 +if(!smileys[0]) smileys.shift();​\\
 +if(!smileys[smileys.length-1]) smileys.pop(); ​  \\
 +for(var i=0; i < smileys.length;​ i++) {            \\
 +var a = smileys[i].split(/​%%\%%s+/​);​\\
 +if(a[0].match(/​DELETEME/​) || a[0].match(/​FIXME/​)) { \\
 +config.dokuFixmeSmiley.push( a);\\
 +continue;\\
 +}\\
 +config.dokuSmileyConfImages[i] = a;\\
 +}      \\
 +}\\
 +},\\
 +'​html'​\\
 +);\\
 +}\\
 +\\
 +config.dokuFixmeSmiley = new Array();\\
 +config.dokuSmileyConfImages;​\\
 +try {\\
 +do_smileys();​\\
 +}catch(ex){\\
 +\\
 +}\\
 +\\
 +config.ckgEditorVer;​\\
 +var get_ckgeditor_version = function() {\\
 +config.jquery.post(\\
 +ckedit_path + "​get_version.php",​\\
 +function (data,​status) { \\
 +if(status == "​success"​) {            \\
 +config.ckgEditorVer=data;​\\
 +}\\
 +else config.ckgEditorVer = "​Dokuwiki plugin: ckgedit"; ​              \\
 +},\\
 +'​html'​\\
 +);\\
 +}\\
 +config.filebrowserWindowWidth='​60%';​\\
 +config.filebrowserWindowHeight = '​60%';​\\
 +//​config.filebrowserWindowFeatures = '​location=no,​menubar=no,​toolbar=no,​dependent=yes,​minimizable=no,​modal=yes,​alwaysRaised=yes,​resizable=yes,​scrollbars=yes,​left=20';​\\
 +\\
 +get_ckgeditor_version(); ​ \\
 +\\
 +//  config.removeButtons = '​Underline,​Subscript,​Superscript,​Anchor';​\\
 +// This is actually the default value.\\
 +config.toolbar_Full =\\
 +[\\
 +{ name: '​document', ​   items : [ '​Source','​-','​Save','​NewPage','​DocProps','​Preview','​Print','​-','​Templates'​ ] },\\
 +{ name: '​clipboard', ​  items : [ '​Cut','​Copy','​Paste','​PasteText','​PasteFromWord','​-','​Undo','​Redo'​ ] },\\
 +{ name: '​editing', ​    items : [ '​Find','​Replace','​-','​SelectAll','​-','​SpellChecker',​ '​Scayt'​ ] },\\
 +{ name: '​forms', ​      items : [ '​Form',​ '​Checkbox',​ '​Radio',​ '​TextField',​ '​Textarea',​ '​Select',​ '​Button',​ '​ImageButton',​ '​HiddenField'​ ] },\\
 +'/',​\\
 +{ name: '​basicstyles',​ items : [ '​Bold','​Italic','​Underline','​Strike','​Subscript','​Superscript','​-','​RemoveFormat'​ ] },\\
 +{ name: '​paragraph', ​  items : [ '​NumberedList','​BulletedList','​-','​Outdent','​Indent','​-','​Blockquote','​CreateDiv','​-','​JustifyLeft','​JustifyCenter','​JustifyRight','​JustifyBlock','​-','​BidiLtr','​BidiRtl'​ ] },\\
 +{ name: '​links', ​      items : [ '​Link','​Unlink','​Anchor'​ ] },\\
 +{ name: '​insert', ​     items : [ '​Image','​Flash','​Table','​HorizontalRule','​Smiley','​SpecialChar','​PageBreak'​ ] },\\
 +'/',​\\
 +{ name: '​styles', ​     items : [ '​Styles','​Format','​Font','​FontSize'​ ] },\\
 +{ name: '​colors', ​     items : [ '​TextColor','​BGColor'​ ] },\\
 +{ name: '​tools', ​      items : [ '​Maximize',​ '​ShowBlocks','​-','​About'​ ] }\\
 +];\\
 +\\
 +CKEDITOR.lang['​default'​] = {};\\
 +CKEDITOR.lang['​default'​]['​fbrowser'​] = {\\
 +FileBrowserError_101: ​ '​Folder already exists.',​ \\
 +FileBrowserError_102: ​ '​Invalid folder name', \\
 +FileBrowserError_103: ​ 'You have no permissions to create the folder.',​\\
 +FileBrowserError_110: ​ '​Unknown error creating folder',​\\
 +FileBrowserError_201: ​ 'A file with the same name is already available. The uploaded file has been renamed to: ',\\
 +FileBrowserError_202: ​ '​Invalid file',​\\
 +FileBrowserError_203: ​ 'You do not have permission to upload files to this folder. If you think this is incorrect please notify your administrator.',​\\
 +FileBrowserError_204: ​ '​Unable to delete the selected file', \\
 +FileBrowserError_205: ​ '​Unable to rename the selected file; check your directory/​write permisssions',​ \\
 +FileBrowserError_206:​ ' already exists; you must either delete or rename it. ',\\
 +FileBrowserError_default:​ 'Error on your request. Error number: ',\\
 +FileBrowserError_Ajax:​ 'Your browser does not support AJAX.',​\\
 +FileBrowserError_XML: ​ 'The server didn%%\%%'​t reply with a proper XML data. Please check your configuration.'​ ,\\
 +FileBrowserError_Folder_Submit:​ '​Please type the folder name.',​\\
 +FileBrowserError_File_Submit: ​ '​Please select a file from your computer',​\\
 +FileBrowserError_Upload:​ 'Error on upload. Error number: ',\\
 +FileBrowserError_Connector:​ 'The connector is disabled. Check editor/​filemanager/​connectors/​php/​config.php',​ \\
 +FileBrowserError_Command:​ '​Unsupported command: ',\\
 +FileBrowserError_Type: ​ '​Invalid type specified: ',\\
 +FolderMoveWarning: ​ 'You can only move files to a folder one level below the current directory', ​   \\
 +FileBrowserError_301:​ "The uploaded file exceeds the upload_max_filesize directive in php.ini.",​\\
 +FileBrowserError_302:​ "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.",​\\
 +FileBrowserError_303:​ "The uploaded file was only partially uploaded.", ​ \\
 +FileBrowserError_304:​ "No file was uploaded.",​\\
 +FileBrowserError_306: ​ "​Missing a temporary folder.", ​       \\
 +FileBrowserError_307: ​ "​Failed to write file to disk.",​\\
 +FileBrowserError_308:​ "PHP does not provide a way to ascertain which extension caused the file upload to stop; examining the list of loaded extensions with phpinfo() may help.",​\\
 +DlgFileBrowserUpMsg:​ "​Upload a new file in this folder",​\\
 +DlgFileBrowserRead ​ : "​read-only",​\\
 +DlgFileBrowserWrite : "​uploadable",​\\
 +DlgFileBrowserNewFolder:​ "​Create Folder",​\\
 +DlgFileBrowserResourceType:​ "​Resource Type",​\\
 +DlgLnkUpload ​     : "​Upload",​\\
 +DlgFileBrowserMove:​ "​Move",​\\
 +InternalLink:​ "​internal link",​\\
 +InternalMedia:​ "​internal media",​\\
 +MediaFileLink:​ "link to media file",​\\
 +SMBLabel: "Samba Share",​\\
 +GetHeadingsLabel:​ 'Get Headings' ​ ,\\
 +QStringLabel:​ 'Query String (For example: value_1=1&​value_2=2) ', ​ \\
 +ResetQS: 'Reset Query String',​\\
 +NotSetOption:​ 'Not Set',​\\
 +AdvancedInfo:​ "To create anchors from Dokuwiki headers, click on the Get Headings button, select the header, click OK. You can go back, select a new page and get new headers.",​\\
 +AdvancedTabPrompt:​ 'Use the advanced tab to create page anchors and query strings',​\\
 +SMBExample: "Enter your share as: \\%%Server%directory%file",​ \\
 +DlgFileBrowserWaitingMsg:​ '​Loading files, please wait.',​\\
 +};\\
 +CKEDITOR.lang['​default'​]['​footnote'​] = {\\
 +FootNoteInfo:​ '<​div style="​padding:​ 18px;​font-size:​125%;​line-height:​125%;">'​+\\
 +'<​ul style="​list-style-type:​disc;"><​li>​To create a footnote enter the footnote text into the editing box and click OK</​li>'​+\\
 +'<​li>​To edit a footnote enter the footnote id into the id box and click the Load button. <br /> The footnote will '+\\
 +'​appear in the editing box, where you can then edit it.<br /> When you are finished editing, click OK to save.</​li>'​+ ​       \\
 +'<​li>​ A footnote id has this form: <​b>​fckgL_&​lt;​n&​gt;</​b>,​ where n is the number of the note.</​li></​ul></​div>',​\\
 +ToolTip: '​Insert a footnote', ​ \\
 +Settings: '​Settings',​ \\
 +Header: 'This dialog window lets you create and edit footnotes.',​\\
 +Label_1 :'​Footnote Text (required)',​\\
 +Label_2: '​Footnote Id: ',\\
 +LoadButtonLabel : 'Load Note In Editor',​\\
 +Title : '​Footnote Dialog',​\\
 +Validate: 'The footnote text field cannot be empty.',​\\
 +\\
 +};\\
 +CKEDITOR.lang['​default'​]['​fontassist'​] = {\\
 +Title: 'Font Plugin Editor',​\\
 +ToolTip: 'Check and Revise Font Styling',​\\
 +MainHeader: 'View and optionally alter text styled with the font plugin .',\\
 +SelectColor : ' Select Color',​\\
 +SelectedTextColor : '​Selected Text Color', ​ \\
 +SelectedBGColor : '​Selected Background Color', ​ \\
 +BGColors : '​Background Colors', ​ \\
 +InfoText :  '<​div style="​max-width:​400px;​ font-size: 12pt; white-space:​ pre-wrap;​border:​1px solid #cccccc; margin:​auto;​ height: 350px; overflow:​auto;">'​ +                         \\
 +'This tool works with the font  plugin and is used to update the font plugin%%\%%'​s syntax and/or view its enclosed text. ' +\\
 +'​Clicking anywhere on the plugin syntax or its text will enable you to check the appearance of the font, its colors, and its size.'​+\\
 +'<​br /><br />You can also update the plugin syntax in place. ​ To do this you must select both the font syntax itself and the enclosed text:' +\\
 +'<p style="​text-indent:​ 50px; font-size: 12pt;"> ​ &​lt;​font. . . &​gt;​text&​lt;/​font&​gt;</​p>'​ +\\
 +'Then whatever changes you  make with this tool can be inserted into the editor window, by clicking OK, and will replace the current font syntax. ' +\\
 +'<​br /><br />The font syntax will appear in the textbox below the display window and is updated with each change. '+ \\
 +'​Clicking on the text will select the text for copying.</​div>',​\\
 +Main: '​Main',​\\
 +Text : '​Text',​\\
 +IfChecked : ' If checked, uncheck to activate OK button',​\\
 +Fonts : '​Fonts',​\\
 +FontSizes :  'Font Sizes (px)',​\\
 +ResetFont : 'Reset font',​\\
 +ResetAll : 'Reset all',​\\
 +TextColors : 'Text Colors',​\\
 +Accept :'​Accept', ​ \\
 +Reset : '​Reset', ​     \\
 +none : '​none',​\\
 +};\\
 +\\
 +CKEDITOR.lang['​default'​]['​signature'​] = {\\
 +ToolTip: '​Insert signature'​\\
 +};\\
 +\\
 +\\
 +config.allowedContent = true;\\
 +\\
 +};\\
 +\\
 +