Index: lams_central/web/WEB-INF/tags/CKEditor.tag
===================================================================
diff -u -rdc884b8e6274ebbc664d1ee940e565803445bb26 -r5f0a5f94e56af2fc80bec0df1acae4629b24f323
--- lams_central/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision dc884b8e6274ebbc664d1ee940e565803445bb26)
+++ lams_central/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -10,7 +10,12 @@
<%@ attribute name="contentFolderID" required="false" rtexprvalue="true"%>
<%@ attribute name="displayExpanded" required="false" rtexprvalue="true"%>
<%@ attribute name="resizeParentFrameName" required="false" rtexprvalue="true"%>
+<%@ attribute name="method" required="false" rtexprvalue="true"%>
+
+
+
+
@@ -19,6 +24,10 @@
+
+ ${toolbarSet}Replace
+
+
@@ -33,10 +42,10 @@
-
+
- ckeditor/
+ /lams/ckeditor/
@@ -59,10 +68,9 @@
var editor = CKEDITOR.instances["${id}"];
if (editor) { editor.destroy(true); }
- var instance = CKEDITOR.replace( "${id}", {
+ var instance = CKEDITOR.${method}( "${id}", {
width : "${width}",
height : "${height}",
- autoGrow_minHeight : "${height}".replace("px", ""),
toolbar : "${toolbarSet}",
language : "${language}",
defaultLangugage : "en",
Index: lams_central/web/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,79 @@
+/**
+ * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+CKEDITOR.dialog.add( 'sourcedialog', function( editor ) {
+ var size = CKEDITOR.document.getWindow().getViewPaneSize();
+
+ // Make it maximum 800px wide, but still fully visible in the viewport.
+ var width = Math.min( size.width - 70, 800 );
+
+ // Make it use 2/3 of the viewport height.
+ var height = size.height / 1.5;
+
+ // Store old editor data to avoid unnecessary setData.
+ var oldData;
+
+ return {
+ title: editor.lang.sourcedialog.title,
+ minWidth: 100,
+ minHeight: 100,
+
+ onShow: function() {
+ this.setValueOf( 'main', 'data', oldData = editor.getData() );
+ },
+
+ onOk: ( function() {
+ function setData( dialog, newData ) {
+ // [IE8] Focus editor before setting selection to avoid setting data on
+ // locked selection, because in case of inline editor, it won't be
+ // unlocked before editable's HTML is altered. (#11585)
+ editor.focus();
+ editor.setData( newData, function() {
+ dialog.hide();
+
+ // Ensure correct selection.
+ var range = editor.createRange();
+ range.moveToElementEditStart( editor.editable() );
+ range.select();
+ } );
+ }
+
+ return function() {
+ // Remove CR from input data for reliable comparison with editor data.
+ var newData = this.getValueOf( 'main', 'data' ).replace( /\r/g, '' ),
+ that = this;
+
+ // Avoid unnecessary setData. Also preserve selection
+ // when user changed his mind and goes back to wysiwyg editing.
+ if ( newData === oldData )
+ return true;
+
+ setTimeout( function() {
+ setData( that, newData );
+ } );
+
+ // Don't let the dialog close before setData is over, to hide
+ // from user blinking caused by selection restoring and setting new data.
+ return false;
+ };
+ } )(),
+
+ contents: [ {
+ id: 'main',
+ label: editor.lang.sourcedialog.title,
+ elements: [ {
+ type: 'textarea',
+ id: 'data',
+ dir: 'ltr',
+ inputStyle: 'cursor:auto;' +
+ 'width:' + width + 'px;' +
+ 'height:' + height + 'px;' +
+ 'tab-size:4;' +
+ 'text-align:left;',
+ 'class': 'cke_source'
+ } ]
+ } ]
+ };
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/icons/hidpi/sourcedialog-rtl.png
===================================================================
diff -u
Binary files differ
Index: lams_central/web/ckeditor/plugins/sourcedialog/icons/hidpi/sourcedialog.png
===================================================================
diff -u
Binary files differ
Index: lams_central/web/ckeditor/plugins/sourcedialog/icons/sourcedialog-rtl.png
===================================================================
diff -u
Binary files differ
Index: lams_central/web/ckeditor/plugins/sourcedialog/icons/sourcedialog.png
===================================================================
diff -u
Binary files differ
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/af.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/af.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/af.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'af', {
+ toolbar: 'Bron',
+ title: 'Bron'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ar.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ar.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ar.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ar', {
+ toolbar: 'المصدر',
+ title: 'المصدر'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/bg.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/bg.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/bg.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'bg', {
+ toolbar: 'Източник',
+ title: 'Източник'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/bn.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/bn.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/bn.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'bn', {
+ toolbar: 'সোর্স',
+ title: 'সোর্স'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/bs.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/bs.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/bs.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'bs', {
+ toolbar: 'HTML kôd',
+ title: 'HTML kôd'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ca.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ca.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ca.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ca', {
+ toolbar: 'Codi font',
+ title: 'Codi font'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/cs.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/cs.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/cs.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'cs', {
+ toolbar: 'Zdroj',
+ title: 'Zdroj'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/cy.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/cy.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/cy.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'cy', {
+ toolbar: 'HTML',
+ title: 'HTML'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/da.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/da.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/da.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'da', {
+ toolbar: 'Kilde',
+ title: 'Kilde'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/de.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/de.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/de.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'de', {
+ toolbar: 'Quellcode',
+ title: 'Quellcode'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/el.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/el.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/el.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'el', {
+ toolbar: 'Κώδικας',
+ title: 'Κώδικας'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/en-au.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/en-au.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/en-au.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'en-au', {
+ toolbar: 'Source',
+ title: 'Source'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/en-ca.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/en-ca.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/en-ca.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'en-ca', {
+ toolbar: 'Source',
+ title: 'Source'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/en-gb.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/en-gb.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/en-gb.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'en-gb', {
+ toolbar: 'Source',
+ title: 'Source'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/en.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/en.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/en.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'en', {
+ toolbar: 'Source',
+ title: 'Source'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/eo.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/eo.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/eo.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'eo', {
+ toolbar: 'Fonto',
+ title: 'Fonto'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/es.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/es.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/es.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'es', {
+ toolbar: 'Fuente HTML',
+ title: 'Fuente HTML'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/et.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/et.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/et.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'et', {
+ toolbar: 'Lähtekood',
+ title: 'Lähtekood'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/eu.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/eu.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/eu.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'eu', {
+ toolbar: 'HTML Iturburua',
+ title: 'HTML Iturburua'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/fa.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/fa.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/fa.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'fa', {
+ toolbar: 'منبع',
+ title: 'منبع'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/fi.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/fi.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/fi.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'fi', {
+ toolbar: 'Koodi',
+ title: 'Koodi'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/fo.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/fo.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/fo.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'fo', {
+ toolbar: 'Kelda',
+ title: 'Kelda'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/fr-ca.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/fr-ca.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/fr-ca.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'fr-ca', {
+ toolbar: 'Source',
+ title: 'Source'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/fr.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/fr.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/fr.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'fr', {
+ toolbar: 'Source',
+ title: 'Source'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/gl.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/gl.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/gl.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'gl', {
+ toolbar: 'Orixe',
+ title: 'Orixe'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/gu.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/gu.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/gu.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'gu', {
+ toolbar: 'મૂળ કે પ્રાથમિક દસ્તાવેજ',
+ title: 'મૂળ કે પ્રાથમિક દસ્તાવેજ'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/he.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/he.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/he.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'he', {
+ toolbar: 'מקור',
+ title: 'מקור'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/hi.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/hi.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/hi.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'hi', {
+ toolbar: 'सोर्स',
+ title: 'सोर्स'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/hr.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/hr.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/hr.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'hr', {
+ toolbar: 'Kôd',
+ title: 'Kôd'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/hu.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/hu.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/hu.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'hu', {
+ toolbar: 'Forráskód',
+ title: 'Forráskód'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/id.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/id.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/id.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'id', {
+ toolbar: 'Sumber',
+ title: 'Sumber'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/is.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/is.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/is.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'is', {
+ toolbar: 'Kóði',
+ title: 'Kóði'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/it.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/it.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/it.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'it', {
+ toolbar: 'Sorgente',
+ title: 'Sorgente'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ja.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ja.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ja.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ja', {
+ toolbar: 'ソース',
+ title: 'ソース'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ka.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ka.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ka.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ka', {
+ toolbar: 'კოდები',
+ title: 'კოდები'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/km.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/km.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/km.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'km', {
+ toolbar: 'អក្សរកូដ',
+ title: 'អក្សរកូដ'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ko.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ko.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ko.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ko', {
+ toolbar: '소스',
+ title: '소스'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ku.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ku.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ku.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ku', {
+ toolbar: 'سەرچاوە',
+ title: 'سەرچاوە'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/lt.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/lt.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/lt.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'lt', {
+ toolbar: 'Šaltinis',
+ title: 'Šaltinis'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/lv.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/lv.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/lv.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'lv', {
+ toolbar: 'HTML kods',
+ title: 'HTML kods'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/mn.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/mn.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/mn.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'mn', {
+ toolbar: 'Код',
+ title: 'Код'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ms.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ms.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ms.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ms', {
+ toolbar: 'Sumber',
+ title: 'Sumber'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/nb.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/nb.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/nb.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'nb', {
+ toolbar: 'Kilde',
+ title: 'Kilde'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/nl.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/nl.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/nl.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'nl', {
+ toolbar: 'Broncode',
+ title: 'Broncode'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/no.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/no.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/no.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'no', {
+ toolbar: 'Kilde',
+ title: 'Kilde'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/pl.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/pl.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/pl.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'pl', {
+ toolbar: 'Źródło dokumentu',
+ title: 'Źródło dokumentu'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/pt-br.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/pt-br.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/pt-br.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'pt-br', {
+ toolbar: 'Código-Fonte',
+ title: 'Código-Fonte'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/pt.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/pt.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/pt.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'pt', {
+ toolbar: 'Fonte',
+ title: 'Fonte'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ro.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ro.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ro.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ro', {
+ toolbar: 'Sursa',
+ title: 'Sursa'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ru.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ru.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ru.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ru', {
+ toolbar: 'Исходник',
+ title: 'Источник'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/si.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/si.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/si.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'si', {
+ toolbar: 'මුලාශ්රය',
+ title: 'මුලාශ්රය'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/sk.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/sk.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/sk.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'sk', {
+ toolbar: 'Zdroj',
+ title: 'Zdroj'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/sl.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/sl.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/sl.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'sl', {
+ toolbar: 'Izvorna koda',
+ title: 'Izvorna koda'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/sq.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/sq.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/sq.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'sq', {
+ toolbar: 'Burimi',
+ title: 'Burimi'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/sr-latn.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/sr-latn.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/sr-latn.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'sr-latn', {
+ toolbar: 'Kôd',
+ title: 'Kôd'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/sr.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/sr.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/sr.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'sr', {
+ toolbar: 'Kôд',
+ title: 'Kôд'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/sv.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/sv.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/sv.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'sv', {
+ toolbar: 'Källa',
+ title: 'Källa'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/th.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/th.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/th.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'th', {
+ toolbar: 'ดูรหัส HTML',
+ title: 'ดูรหัส HTML'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/tr.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/tr.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/tr.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'tr', {
+ toolbar: 'Kaynak',
+ title: 'Kaynak'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/tt.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/tt.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/tt.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'tt', {
+ toolbar: 'Чыганак',
+ title: 'Чыганак'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/ug.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/ug.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/ug.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'ug', {
+ toolbar: 'مەنبە',
+ title: 'مەنبە'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/uk.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/uk.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/uk.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'uk', {
+ toolbar: 'Джерело',
+ title: 'Джерело'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/vi.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/vi.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/vi.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'vi', {
+ toolbar: 'Mã HTML',
+ title: 'Mã HTML'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/zh-cn.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/zh-cn.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/zh-cn.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'zh-cn', {
+ toolbar: '源码',
+ title: '源码'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/lang/zh.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/lang/zh.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/lang/zh.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,9 @@
+/*
+Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'sourcedialog', 'zh', {
+ toolbar: '原始碼',
+ title: '原始碼'
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/plugin.js
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/plugin.js (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/plugin.js (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,29 @@
+/**
+ * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+CKEDITOR.plugins.add( 'sourcedialog', {
+ // jscs:disable maximumLineLength
+ lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
+ // jscs:enable maximumLineLength
+ icons: 'sourcedialog,sourcedialog-rtl', // %REMOVE_LINE_CORE%
+ hidpi: true, // %REMOVE_LINE_CORE%
+
+ init: function( editor ) {
+ // Register the "source" command, which simply opens the "source" dialog.
+ editor.addCommand( 'sourcedialog', new CKEDITOR.dialogCommand( 'sourcedialog' ) );
+
+ // Register the "source" dialog.
+ CKEDITOR.dialog.add( 'sourcedialog', this.path + 'dialogs/sourcedialog.js' );
+
+ // If the toolbar is available, create the "Source" button.
+ if ( editor.ui.addButton ) {
+ editor.ui.addButton( 'Sourcedialog', {
+ label: editor.lang.sourcedialog.toolbar,
+ command: 'sourcedialog',
+ toolbar: 'mode,10'
+ } );
+ }
+ }
+} );
Index: lams_central/web/ckeditor/plugins/sourcedialog/samples/sourcedialog.html
===================================================================
diff -u
--- lams_central/web/ckeditor/plugins/sourcedialog/samples/sourcedialog.html (revision 0)
+++ lams_central/web/ckeditor/plugins/sourcedialog/samples/sourcedialog.html (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -0,0 +1,118 @@
+
+
+
+
+
+ Editing source code in a dialog — CKEditor Sample
+
+
+
+
+
+
+
+
+
+
+ CKEditor Samples » Editing source code in a dialog
+
+
+
+ Sourcedialog plugin provides an easy way to edit raw HTML content
+ of an editor, similarly to what is possible with Sourcearea
+ plugin for classic (iframe
-based) instances but using dialogs. Thanks to that, it's also possible
+ to manipulate raw content of inline editor instances.
+
+
+ This plugin extends the toolbar with a button,
+ which opens a dialog window with a source code editor. It works with both classic
+ and inline instances. To enable this
+ plugin, basically add extraPlugins: 'sourcedialog'
to editor's
+ config:
+
+
+// Inline editor.
+CKEDITOR.inline( 'editable', {
+ extraPlugins: 'sourcedialog'
+});
+
+// Classic (iframe-based) editor.
+CKEDITOR.replace( 'textarea_id', {
+ extraPlugins: 'sourcedialog' ,
+ removePlugins: 'sourcearea'
+});
+
+
+ Note that you may want to include removePlugins: 'sourcearea'
+ in your config when using Sourcedialog in classic editor instances.
+ This prevents feature redundancy.
+
+
+ Note that editable
in the code above is the id
+ attribute of the <div>
element to be converted into an inline instance.
+
+
+ Note that textarea_id
in the code above is the id
attribute of
+ the <textarea>
element to be replaced with CKEditor.
+
+
+
+
+ Inline editor:
+
+
+
This is some sample text . You are using CKEditor .
+
+
+
+
+
+ Classic editor:
+
+
+
+
+
+
+
Index: lams_central/web/css/defaultHTML_learner.css
===================================================================
diff -u -r0f2210d408d6d9ce21813f48b4a46e16f2f65807 -r5f0a5f94e56af2fc80bec0df1acae4629b24f323
--- lams_central/web/css/defaultHTML_learner.css (.../defaultHTML_learner.css) (revision 0f2210d408d6d9ce21813f48b4a46e16f2f65807)
+++ lams_central/web/css/defaultHTML_learner.css (.../defaultHTML_learner.css) (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -263,6 +263,41 @@
color:#337ab7 !important;
}
+/** CKEditor Inline */
+.cke_textarea_inline {
+ /* From bootstrap form-control */
+ display: block;
+ width: 100%;
+ padding: 6px 12px;
+ font-size: 14px;
+ line-height: 1.42857143;
+ color: #555;
+ background-color: #fff;
+ background-image: none;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
+ -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
+ -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; border: 1px solid #c1c1c1;
+ /* LAMS */
+ min-height: 100px;
+ -webkit-appearance: textfield;
+}
+
+.cke_textarea_inline:focus{
+ /* From bootstrap form-control */
+ border-color: #66afe9;
+ outline: 0;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
+}
+
+.cke_reset_all {
+ width: 70% !important;
+}
+
/** Authoring */
/*layout of adding a topic button */
a.button-add-item:before {
Index: lams_central/web/includes/javascript/ckconfig_custom.js
===================================================================
diff -u -r9ac96dde6a0b71785920472f2fc7ddf9f6a4f5d9 -r5f0a5f94e56af2fc80bec0df1acae4629b24f323
--- lams_central/web/includes/javascript/ckconfig_custom.js (.../ckconfig_custom.js) (revision 9ac96dde6a0b71785920472f2fc7ddf9f6a4f5d9)
+++ lams_central/web/includes/javascript/ckconfig_custom.js (.../ckconfig_custom.js) (revision 5f0a5f94e56af2fc80bec0df1acae4629b24f323)
@@ -1,7 +1,16 @@
+// The Inline versions are the default with the inline CKEditor.tag. If using the old (replace) version of the tag then then the non-inline ones are used.
+// Main difference Source became Sourcedialog and Maximize and Preview were dropped.
+
CKEDITOR.config.toolbar_Default = [
['Source','-','Maximize', 'Preview','PasteFromWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath','-'],
['Paint_Button','oembed','Kaltura','Image','Link','Iframe','Table','HorizontalRule','Smiley','SpecialChar','Templates','Format','Font','FontSize','About']
];
+
+CKEDITOR.config.toolbar_DefaultInline = [
+ ['Sourcedialog','-','PasteFromWord','Undo','Redo','Bold','Italic','Underline', '-','Subscript','Superscript','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath','-'],
+ ['Paint_Button','oembed','Kaltura','Image','Link','Iframe','Table','HorizontalRule','Smiley','SpecialChar','Templates','Format','Font','FontSize','About']
+];
+
// removing Video Recorder from default tool bar LDEV-2961
// To include it back, just add 'VideoRecorder' in between the MoviePlayer and Kaltura
@@ -17,6 +26,18 @@
['Format','Font','FontSize']
];
+CKEDITOR.config.toolbar_DefaultLearnerInline = [
+ ['PasteFromWord'],
+ ['Undo','Redo'],
+ ['Bold','Italic','Underline', '-','Subscript','Superscript'],
+ ['NumberedList','BulletedList','-','Outdent','Indent'],
+ ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+ ['Jlatexmath','About'],
+ ['TextColor','BGColor'],
+ ['Image','Table','HorizontalRule','Smiley','SpecialChar'],
+ ['Format','Font','FontSize']
+ ];
+
CKEDITOR.config.toolbar_DefaultMonitor = [
['Preview','PasteFromWord'],
['Undo','Redo'],
@@ -29,6 +50,18 @@
['Format','Font','FontSize']
];
+CKEDITOR.config.toolbar_DefaultMonitorInline = [
+ ['PasteFromWord'],
+ ['Undo','Redo'],
+ ['Bold','Italic','Underline', '-','Subscript','Superscript'],
+ ['NumberedList','BulletedList','-','Outdent','Indent'],
+ ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+ ['Jlatexmath','About'],
+ ['TextColor','BGColor'],
+ ['Table','HorizontalRule','Smiley','SpecialChar'],
+ ['Format','Font','FontSize']
+];
+
CKEDITOR.config.toolbar_CustomWiki = [
['Source','-','Preview','PasteFromWord'],
['Undo','Redo'],
@@ -42,11 +75,30 @@
['Format','Font','FontSize']
];
+CKEDITOR.config.toolbar_CustomWikiInline = [
+ ['Sourcedialog','-','PasteFromWord'],
+ ['Undo','Redo'],
+ ['Bold','Italic','Underline', '-','Subscript','Superscript'],
+ ['NumberedList','BulletedList','-','Outdent','Indent'],
+ ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+ ['wikilink','Link','Image'],
+ ['Jlatexmath','About'],
+ ['TextColor','BGColor'],
+ ['Table','HorizontalRule','Smiley','SpecialChar'],
+ ['Format','Font','FontSize']
+];
+
+
CKEDITOR.config.toolbar_CustomPedplanner = [
['Source','-','Maximize','Preview','PasteFromWord','Bold','Italic','Underline', '-','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath'],
['Image','Link','Iframe','Table','Smiley','Font','FontSize']
];
+CKEDITOR.config.toolbar_CustomPedplannerInline = [
+ ['Sourcedialog','-','PasteFromWord','Bold','Italic','Underline', '-','NumberedList','BulletedList','-','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','TextColor','BGColor','Jlatexmath'],
+ ['Image','Link','Iframe','Table','Smiley','Font','FontSize']
+];
+
CKEDITOR.config.toolbar_LessonDescription = [
['Bold','Italic','Underline', '-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent'],
@@ -56,7 +108,16 @@
['Format','Font','FontSize']
];
+CKEDITOR.config.toolbar_LessonDescriptionInline = [
+ ['Bold','Italic','Underline', '-','Subscript','Superscript'],
+ ['NumberedList','BulletedList','-','Outdent','Indent'],
+ ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+ ['TextColor','BGColor'],
+ ['Table','HorizontalRule','Smiley','SpecialChar'],
+ ['Format','Font','FontSize']
+ ];
+
CKEDITOR.config.contentsCss = CKEDITOR.basePath + '../css/defaultHTML_learner.css';
//CKEDITOR.config.skin = 'office2013' ;
CKEDITOR.config.disableNativeSpellChecker = false;
@@ -65,7 +126,7 @@
CKEDITOR.config.format_tags = 'div;h1;h2;h3;h4;h5;h6;pre;address;p' ;
CKEDITOR.config.enterMode = 'div';
CKEDITOR.plugins.addExternal('wikilink', CKEDITOR.basePath + '../tool/lawiki10/wikilink/', 'plugin.js');
-CKEDITOR.config.extraPlugins = 'kaltura,wikilink,jlatexmath,paint,iframe,lineutils,widget,oembed';
+CKEDITOR.config.extraPlugins = 'kaltura,wikilink,jlatexmath,paint,iframe,lineutils,widget,oembed,sourcedialog';
CKEDITOR.config.enterMode = CKEDITOR.ENTER_DIV;
CKEDITOR.config.removePlugins = 'elementspath';
CKEDITOR.config.allowedContent = true;