',
docTitle : 'Хуудасны гарчиг',
charset : 'Encoding тэмдэгт',
@@ -798,7 +798,7 @@ CKEDITOR.lang['mn'] =
charsetWE : 'Баруун европ',
docType : 'Баримт бичгийн төрөл Heading',
docTypeOther : 'Бусад баримт бичгийн төрөл Heading',
- xhtmlDec : 'XHTML агуулж зарлах',
+ xhtmlDec : 'XHTML-ийн мэдээллийг агуулах',
bgColor : 'Фоно өнгө',
bgImage : 'Фоно зурагны URL',
bgFixed : 'Гүйдэггүй фоно',
diff --git a/third_party/ckeditor/_source/lang/ms.js b/third_party/ckeditor/_source/lang/ms.js
index f36f4685e09..20c17e5042d 100644
--- a/third_party/ckeditor/_source/lang/ms.js
+++ b/third_party/ckeditor/_source/lang/ms.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['ms'] =
ignoreAll : 'Ignore All', // MISSING
addWord : 'Add Word', // MISSING
emptyDic : 'Dictionary name should not be empty.', // MISSING
-
+ noSuggestions : 'Tiada cadangan',
optionsTab : 'Options', // MISSING
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/lang/nb.js b/third_party/ckeditor/_source/lang/nb.js
index 7359485fd0e..041264915c8 100644
--- a/third_party/ckeditor/_source/lang/nb.js
+++ b/third_party/ckeditor/_source/lang/nb.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['nb'] =
ignoreAll : 'Ignorer Alle',
addWord : 'Legg til ord',
emptyDic : 'Ordboknavn bør ikke være tom.',
-
+ noSuggestions : 'Ingen forslag',
optionsTab : 'Valg',
allCaps : 'Ikke kontroller ord med kun store bokstaver',
ignoreDomainNames : 'Ikke kontroller domenenavn',
diff --git a/third_party/ckeditor/_source/lang/nl.js b/third_party/ckeditor/_source/lang/nl.js
index 6c274cfe891..1baa75dab79 100644
--- a/third_party/ckeditor/_source/lang/nl.js
+++ b/third_party/ckeditor/_source/lang/nl.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['nl'] =
ignoreAll : 'Alles negeren',
addWord : 'Woord toevoegen',
emptyDic : 'De naam van het woordenboek mag niet leeg zijn.',
-
+ noSuggestions : 'Geen suggesties',
optionsTab : 'Opties',
allCaps : 'Negeer woorden helemaal in hoofdletters',
ignoreDomainNames : 'Negeer domeinnamen',
diff --git a/third_party/ckeditor/_source/lang/no.js b/third_party/ckeditor/_source/lang/no.js
index efdcccb4e80..2bbea55fe06 100644
--- a/third_party/ckeditor/_source/lang/no.js
+++ b/third_party/ckeditor/_source/lang/no.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['no'] =
ignoreAll : 'Ignorer Alle',
addWord : 'Legg til ord',
emptyDic : 'Ordboknavn bør ikke være tom.',
-
+ noSuggestions : 'Ingen forslag',
optionsTab : 'Valg',
allCaps : 'Ikke kontroller ord med kun store bokstaver',
ignoreDomainNames : 'Ikke kontroller domenenavn',
diff --git a/third_party/ckeditor/_source/lang/pl.js b/third_party/ckeditor/_source/lang/pl.js
index 90207cfa3aa..a670ca7b0fa 100644
--- a/third_party/ckeditor/_source/lang/pl.js
+++ b/third_party/ckeditor/_source/lang/pl.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['pl'] =
ignoreAll : 'Ignoruj wszystkie',
addWord : 'Dodaj słowo',
emptyDic : 'Nazwa słownika nie może być pusta.',
-
+ noSuggestions : 'Brak sugestii',
optionsTab : 'Opcje',
allCaps : 'Ignoruj wyrazy pisane dużymi literami',
ignoreDomainNames : 'Ignoruj nazwy domen',
diff --git a/third_party/ckeditor/_source/lang/pt-br.js b/third_party/ckeditor/_source/lang/pt-br.js
index 20ff391da22..2e4b6e66e7d 100644
--- a/third_party/ckeditor/_source/lang/pt-br.js
+++ b/third_party/ckeditor/_source/lang/pt-br.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -697,7 +697,7 @@ CKEDITOR.lang['pt-br'] =
ignoreAll : 'Ignorar todas',
addWord : 'Adicionar palavra',
emptyDic : 'O nome do dicionário não deveria estar vazio.',
-
+ noSuggestions : 'sem sugestões de ortografia',
optionsTab : 'Opções',
allCaps : 'Ignorar palavras maiúsculas',
ignoreDomainNames : 'Ignorar nomes de domínio',
diff --git a/third_party/ckeditor/_source/lang/pt.js b/third_party/ckeditor/_source/lang/pt.js
index 1c8ef85cf8a..2164ae321b4 100644
--- a/third_party/ckeditor/_source/lang/pt.js
+++ b/third_party/ckeditor/_source/lang/pt.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['pt'] =
ignoreAll : 'Ignore All', // MISSING
addWord : 'Add Word', // MISSING
emptyDic : 'Dictionary name should not be empty.', // MISSING
-
+ noSuggestions : 'Sem sugestões',
optionsTab : 'Options', // MISSING
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/lang/ro.js b/third_party/ckeditor/_source/lang/ro.js
index 60ec45e3574..3df83a97605 100644
--- a/third_party/ckeditor/_source/lang/ro.js
+++ b/third_party/ckeditor/_source/lang/ro.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['ro'] =
ignoreAll : 'Ignore All', // MISSING
addWord : 'Add Word', // MISSING
emptyDic : 'Dictionary name should not be empty.', // MISSING
-
+ noSuggestions : 'Fără sugestii',
optionsTab : 'Options', // MISSING
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/lang/ru.js b/third_party/ckeditor/_source/lang/ru.js
index b7a69600dd2..77b18e407dd 100644
--- a/third_party/ckeditor/_source/lang/ru.js
+++ b/third_party/ckeditor/_source/lang/ru.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['ru'] =
ignoreAll : 'Пропустить всё',
addWord : 'Добавить слово',
emptyDic : 'Вы должны указать название словаря.',
-
+ noSuggestions : 'No suggestions', // MISSING
optionsTab : 'Параметры',
allCaps : 'Игнорировать слова из заглавных букв',
ignoreDomainNames : 'Игнорировать доменные имена',
diff --git a/third_party/ckeditor/_source/lang/sk.js b/third_party/ckeditor/_source/lang/sk.js
index 9b6e4efc4e8..d84b25c1948 100644
--- a/third_party/ckeditor/_source/lang/sk.js
+++ b/third_party/ckeditor/_source/lang/sk.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -120,7 +120,7 @@ CKEDITOR.lang['sk'] =
alignTop : 'Nahor',
alignMiddle : 'Na stred',
alignBottom : 'Dole',
- invalidValue : 'Invalid value.', // MISSING
+ invalidValue : 'Neplatná hodnota.',
invalidHeight : 'Výška musí byť číslo.',
invalidWidth : 'Šírka musí byť číslo.',
invalidCssLength : 'Špecifikovaná hodnota pre pole "%1" musí byť kladné číslo s alebo bez platnej CSS mernej jednotky (px, %, in, cm, mm, em, ex, pt alebo pc).',
@@ -698,7 +698,7 @@ CKEDITOR.lang['sk'] =
ignoreAll : 'Ignorovať všetko',
addWord : 'Pridať slovo',
emptyDic : 'Názov slovníka by nemal byť prázdny.',
-
+ noSuggestions : 'No suggestions', // MISSING
optionsTab : 'Možnosti',
allCaps : 'Ignorovať slová písané veľkými písmenami',
ignoreDomainNames : 'Iznorovať názvy domén',
diff --git a/third_party/ckeditor/_source/lang/sl.js b/third_party/ckeditor/_source/lang/sl.js
index 00a323636a9..c826d2555ba 100644
--- a/third_party/ckeditor/_source/lang/sl.js
+++ b/third_party/ckeditor/_source/lang/sl.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['sl'] =
ignoreAll : 'Prezri vse',
addWord : 'Dodaj besedo',
emptyDic : 'Ime slovarja ne more biti prazno.',
-
+ noSuggestions : 'Ni predlogov',
optionsTab : 'Možnosti',
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/lang/sr-latn.js b/third_party/ckeditor/_source/lang/sr-latn.js
index b06366f2e2d..dbb595d4e21 100644
--- a/third_party/ckeditor/_source/lang/sr-latn.js
+++ b/third_party/ckeditor/_source/lang/sr-latn.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['sr-latn'] =
ignoreAll : 'Ignore All', // MISSING
addWord : 'Add Word', // MISSING
emptyDic : 'Dictionary name should not be empty.', // MISSING
-
+ noSuggestions : 'Bez sugestija',
optionsTab : 'Options', // MISSING
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/lang/sr.js b/third_party/ckeditor/_source/lang/sr.js
index ef005a61c04..258d3c0d827 100644
--- a/third_party/ckeditor/_source/lang/sr.js
+++ b/third_party/ckeditor/_source/lang/sr.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['sr'] =
ignoreAll : 'Ignore All', // MISSING
addWord : 'Add Word', // MISSING
emptyDic : 'Dictionary name should not be empty.', // MISSING
-
+ noSuggestions : 'Без сугестија',
optionsTab : 'Options', // MISSING
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/lang/sv.js b/third_party/ckeditor/_source/lang/sv.js
index 4eb74b872fb..ad272470284 100644
--- a/third_party/ckeditor/_source/lang/sv.js
+++ b/third_party/ckeditor/_source/lang/sv.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -697,7 +697,7 @@ CKEDITOR.lang['sv'] =
ignoreAll : 'Ignorera alla',
addWord : 'Lägg till ord',
emptyDic : 'Ordlistans namn får ej vara tomt.',
-
+ noSuggestions : 'Förslag saknas',
optionsTab : 'Inställningar',
allCaps : 'Ignorera alla ord med enbart versaler',
ignoreDomainNames : 'Ignorera domännamn',
diff --git a/third_party/ckeditor/_source/lang/th.js b/third_party/ckeditor/_source/lang/th.js
index 130e7cb991d..eb326d04724 100644
--- a/third_party/ckeditor/_source/lang/th.js
+++ b/third_party/ckeditor/_source/lang/th.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['th'] =
ignoreAll : 'Ignore All', // MISSING
addWord : 'Add Word', // MISSING
emptyDic : 'Dictionary name should not be empty.', // MISSING
-
+ noSuggestions : ' ไม่มีคำแนะนำใดๆ ',
optionsTab : 'Options', // MISSING
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/lang/tr.js b/third_party/ckeditor/_source/lang/tr.js
index 122b07ed17b..f848fa99e01 100644
--- a/third_party/ckeditor/_source/lang/tr.js
+++ b/third_party/ckeditor/_source/lang/tr.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -697,7 +697,7 @@ CKEDITOR.lang['tr'] =
ignoreAll : 'Tümünü Yoksay',
addWord : 'Kelime Ekle',
emptyDic : 'Sözlük adı boş olamaz.',
-
+ noSuggestions : 'Öneri Yok',
optionsTab : 'Seçenekler',
allCaps : 'Tüm büyük küçük kelimeleri yoksay',
ignoreDomainNames : 'Domain adlarını yoksay',
diff --git a/third_party/ckeditor/_source/lang/ug.js b/third_party/ckeditor/_source/lang/ug.js
index d72113c6795..ae982eb92a1 100644
--- a/third_party/ckeditor/_source/lang/ug.js
+++ b/third_party/ckeditor/_source/lang/ug.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -697,7 +697,7 @@ CKEDITOR.lang['ug'] =
ignoreAll : 'ھەممىسىگە پەرۋا قىلما',
addWord : 'سۆز قوش',
emptyDic : 'لۇغەت ئاتى بوش قالمايدۇ',
-
+ noSuggestions : 'No suggestions', // MISSING
optionsTab : 'تاللانما',
allCaps : 'چوڭ ھەرپتە يېزىلغان ھەممە سۆزگە پەرۋا قىلما',
ignoreDomainNames : 'دائىرە ئاتىغا پەرۋا قىلما',
diff --git a/third_party/ckeditor/_source/lang/uk.js b/third_party/ckeditor/_source/lang/uk.js
index 3703c09bd6b..3bd8a6f10a2 100644
--- a/third_party/ckeditor/_source/lang/uk.js
+++ b/third_party/ckeditor/_source/lang/uk.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['uk'] =
ignoreAll : 'Пропустити всі',
addWord : 'Додати слово',
emptyDic : 'Назва словника повинна бути вказана.',
-
+ noSuggestions : 'Немає варіантів',
optionsTab : 'Опції',
allCaps : 'Пропустити прописні слова',
ignoreDomainNames : 'Пропустити доменні назви',
diff --git a/third_party/ckeditor/_source/lang/vi.js b/third_party/ckeditor/_source/lang/vi.js
index 3749d358187..e2d1a6deab4 100644
--- a/third_party/ckeditor/_source/lang/vi.js
+++ b/third_party/ckeditor/_source/lang/vi.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['vi'] =
ignoreAll : 'Bỏ qua tất cả',
addWord : 'Thêm từ',
emptyDic : 'Tên của từ điển không được để trống.',
-
+ noSuggestions : 'Không đưa ra gợi ý về từ',
optionsTab : 'Tùy chọn',
allCaps : 'Không phân biệt chữ HOA chữ thường',
ignoreDomainNames : 'Bỏ qua tên miền',
diff --git a/third_party/ckeditor/_source/lang/zh-cn.js b/third_party/ckeditor/_source/lang/zh-cn.js
index d6405180d22..720dde0fd50 100644
--- a/third_party/ckeditor/_source/lang/zh-cn.js
+++ b/third_party/ckeditor/_source/lang/zh-cn.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -120,7 +120,7 @@ CKEDITOR.lang['zh-cn'] =
alignTop : '顶端',
alignMiddle : '居中',
alignBottom : '底部',
- invalidValue : 'Invalid value.', // MISSING
+ invalidValue : '无效的值。',
invalidHeight : '高度必须为数字格式',
invalidWidth : '宽度必须为数字格式',
invalidCssLength : '该字段必须为合式的CSS长度值,包括单位(px, %, in, cm, mm, em, ex, pt 或 pc)',
@@ -698,7 +698,7 @@ CKEDITOR.lang['zh-cn'] =
ignoreAll : '全部忽略',
addWord : '添加单词',
emptyDic : '字典名不应为空.',
-
+ noSuggestions : '没有建议',
optionsTab : '选项',
allCaps : '忽略所有大写单词',
ignoreDomainNames : '忽略域名',
diff --git a/third_party/ckeditor/_source/lang/zh.js b/third_party/ckeditor/_source/lang/zh.js
index 5568d208ee8..a36132b6938 100644
--- a/third_party/ckeditor/_source/lang/zh.js
+++ b/third_party/ckeditor/_source/lang/zh.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -698,7 +698,7 @@ CKEDITOR.lang['zh'] =
ignoreAll : '全部忽略',
addWord : '添加單詞',
emptyDic : '字典名不應為空.',
-
+ noSuggestions : '無建議值',
optionsTab : '選項',
allCaps : 'Ignore All-Caps Words', // MISSING
ignoreDomainNames : 'Ignore Domain Names', // MISSING
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js b/third_party/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js
index 15bee48d4b0..c82e22b4d18 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/dialogs/a11yhelp.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/_translationstatus.txt b/third_party/ckeditor/_source/plugins/a11yhelp/lang/_translationstatus.txt
index e9545d22557..253ed748a2d 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/_translationstatus.txt
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/_translationstatus.txt
@@ -1,25 +1,28 @@
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-
-cs.js Found: 30 Missing: 0
-cy.js Found: 30 Missing: 0
-da.js Found: 12 Missing: 18
-de.js Found: 30 Missing: 0
-el.js Found: 25 Missing: 5
-eo.js Found: 30 Missing: 0
-fa.js Found: 30 Missing: 0
-fi.js Found: 30 Missing: 0
-fr.js Found: 30 Missing: 0
-gu.js Found: 12 Missing: 18
-he.js Found: 30 Missing: 0
-it.js Found: 30 Missing: 0
-mk.js Found: 5 Missing: 25
-nb.js Found: 30 Missing: 0
-nl.js Found: 30 Missing: 0
-no.js Found: 30 Missing: 0
-pt-br.js Found: 30 Missing: 0
-ro.js Found: 6 Missing: 24
-tr.js Found: 30 Missing: 0
-ug.js Found: 27 Missing: 3
-vi.js Found: 6 Missing: 24
-zh-cn.js Found: 30 Missing: 0
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+
+cs.js Found: 30 Missing: 0
+cy.js Found: 30 Missing: 0
+da.js Found: 12 Missing: 18
+de.js Found: 30 Missing: 0
+el.js Found: 25 Missing: 5
+eo.js Found: 30 Missing: 0
+fa.js Found: 30 Missing: 0
+fi.js Found: 30 Missing: 0
+fr.js Found: 30 Missing: 0
+gu.js Found: 12 Missing: 18
+he.js Found: 30 Missing: 0
+it.js Found: 30 Missing: 0
+ku.js Found: 30 Missing: 0
+lv.js Found: 30 Missing: 0
+mk.js Found: 5 Missing: 25
+nb.js Found: 30 Missing: 0
+nl.js Found: 30 Missing: 0
+no.js Found: 30 Missing: 0
+pt-br.js Found: 30 Missing: 0
+ro.js Found: 6 Missing: 24
+sk.js Found: 30 Missing: 0
+tr.js Found: 30 Missing: 0
+ug.js Found: 27 Missing: 3
+vi.js Found: 6 Missing: 24
+zh-cn.js Found: 30 Missing: 0
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/cs.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/cs.js
index 711a675bf55..eb33fb611af 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/cs.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/cs.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/cy.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/cy.js
index e9d6362cf17..0d69584f28a 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/cy.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/cy.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/da.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/da.js
index 70eaaa2943f..bff2e25c7cd 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/da.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/da.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/de.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/de.js
index 2feea16c4da..0b530b5cdb3 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/de.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/de.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/el.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/el.js
index 4d3c852ac5c..da5effe96e4 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/el.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/el.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/en.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/en.js
index 7a7860881e2..4aea4030c22 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/en.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/en.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/eo.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/eo.js
index 58af07ec5f9..3c925774b53 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/eo.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/eo.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/fa.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/fa.js
index bbec6bf4ecc..3ba7da30fe1 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/fa.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/fa.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -7,8 +7,8 @@ CKEDITOR.plugins.setLang( 'a11yhelp', 'fa',
{
accessibilityHelp :
{
- title : 'دستورالعملهای دسترسی',
- contents : 'راهنمای فهرست مطالب. برای بستن این کادر محاورهای ESC را فشار دهید.',
+ title : 'دستورالعملهای دسترسی',
+ contents : 'راهنمای فهرست مطالب. برای بستن این کادر محاورهای ESC را فشار دهید.',
legend :
[
{
@@ -18,19 +18,19 @@ CKEDITOR.plugins.setLang( 'a11yhelp', 'fa',
{
name : 'نوار ابزار ویرایشگر',
legend:
- '${toolbarFocus} را برای باز کردن نوار ابزار بفشارید. با کلید Tab و Shif-Tab در مجموعه نوار ابزار بعدی و قبلی حرکت کنید. برای حرکت در کلید نوار ابزار قبلی و بعدی با کلید جهتنمای راست و چپ جابجا شوید. کلید Space یا Enter را برای فعال کردن کلید نوار ابزار بفشارید.'
+ '${toolbarFocus} را برای باز کردن نوار ابزار بفشارید. با کلید Tab و Shif-Tab در مجموعه نوار ابزار بعدی و قبلی حرکت کنید. برای حرکت در کلید نوار ابزار قبلی و بعدی با کلید جهتنمای راست و چپ جابجا شوید. کلید Space یا Enter را برای فعال کردن کلید نوار ابزار بفشارید.'
},
{
- name : 'پنجره محاورهای ویرایشگر',
+ name : 'پنجره محاورهای ویرایشگر',
legend :
- 'در داخل یک پنجره محاورهای، کلید Tab را بفشارید تا به پنجرهی بعدی بروید، Shift+Tab برای حرکت به فیلد قبلی، فشردن Enter برای ثبت اطلاعات پنجره، فشردن Esc برای لغو پنجره محاورهای و برای پنجرههایی که چندین برگه دارند، فشردن Alt+F10 جهت رفتن به Tab-List. در نهایت حرکت به برگه بعدی با Tab یا کلید جهتنمای راست. حرکت به برگه قبلی با Shift+Tab یا کلید جهتنمای چپ. فشردن Space یا Enter برای انتخاب یک برگه.'
+ 'در داخل یک پنجره محاورهای، کلید Tab را بفشارید تا به پنجرهی بعدی بروید، Shift+Tab برای حرکت به فیلد قبلی، فشردن Enter برای ثبت اطلاعات پنجره، فشردن Esc برای لغو پنجره محاورهای و برای پنجرههایی که چندین برگه دارند، فشردن Alt+F10 جهت رفتن به Tab-List. در نهایت حرکت به برگه بعدی با Tab یا کلید جهتنمای راست. حرکت به برگه قبلی با Shift+Tab یا کلید جهتنمای چپ. فشردن Space یا Enter برای انتخاب یک برگه.'
},
{
name : 'منوی متنی ویرایشگر',
legend :
- '${contextMenu} یا کلید برنامههای کاربردی را برای باز کردن منوی متن را بفشارید. سپس میتوانید برای حرکت به گزینه بعدی منو با کلید Tab و یا کلید جهتنمای پایین جابجا شوید. حرکت به گزینه قبلی با Shift+Tab یا کلید جهتنمای بالا. فشردن Space یا Enter برای انتخاب یک گزینه از منو. باز کردن زیر شاخه گزینه منو جاری با کلید Space یا Enter و یا کلید جهتنمای راست و چپ. بازگشت به منوی والد با کلید Esc یا کلید جهتنمای چپ. بستن منوی متن با Esc.'
+ '${contextMenu} یا کلید برنامههای کاربردی را برای باز کردن منوی متن را بفشارید. سپس میتوانید برای حرکت به گزینه بعدی منو با کلید Tab و یا کلید جهتنمای پایین جابجا شوید. حرکت به گزینه قبلی با Shift+Tab یا کلید جهتنمای بالا. فشردن Space یا Enter برای انتخاب یک گزینه از منو. باز کردن زیر شاخه گزینه منو جاری با کلید Space یا Enter و یا کلید جهتنمای راست و چپ. بازگشت به منوی والد با کلید Esc یا کلید جهتنمای چپ. بستن منوی متن با Esc.'
},
{
@@ -42,12 +42,12 @@ CKEDITOR.plugins.setLang( 'a11yhelp', 'fa',
{
name : 'ویرایشگر عنصر نوار راه',
legend :
- 'برای رفتن به مسیر عناصر ${elementsPathFocus} را بفشارید. حرکت به کلید عنصر بعدی با کلید Tab یا کلید جهتنمای راست. برگشت به کلید قبلی با Shift+Tab یا کلید جهتنمای چپ. فشردن Space یا Enter برای انتخاب یک عنصر در ویرایشگر.'
+ 'برای رفتن به مسیر عناصر ${elementsPathFocus} را بفشارید. حرکت به کلید عنصر بعدی با کلید Tab یا کلید جهتنمای راست. برگشت به کلید قبلی با Shift+Tab یا کلید جهتنمای چپ. فشردن Space یا Enter برای انتخاب یک عنصر در ویرایشگر.'
}
]
},
{
- name : 'فرمانها',
+ name : 'فرمانها',
items :
[
{
@@ -67,7 +67,7 @@ CKEDITOR.plugins.setLang( 'a11yhelp', 'fa',
legend : 'فشردن ${italic}'
},
{
- name : 'فرمان متن زیرخطدار',
+ name : 'فرمان متن زیرخطدار',
legend : 'فشردن ${underline}'
},
{
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/fi.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/fi.js
index 718b046eaad..7d7887467e4 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/fi.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/fi.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/fr.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/fr.js
index 05251418c96..84b4fea0724 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/fr.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/fr.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/gu.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/gu.js
index 9fd170c6957..86d154a1f87 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/gu.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/gu.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/he.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/he.js
index 7161e4dc4d8..7641ec79ce0 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/he.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/he.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/it.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/it.js
index 848d03ff0da..ee1cc2f986e 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/it.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/it.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/ku.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/ku.js
new file mode 100644
index 00000000000..69405191783
--- /dev/null
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/ku.js
@@ -0,0 +1,89 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'a11yhelp', 'ku',
+{
+ accessibilityHelp :
+ {
+ title : 'ڕێنمای لەبەردەستدابوون',
+ contents : 'پێکهاتەی یارمەتی. کلیك ESC بۆ داخستنی ئەم دیالۆگه.',
+ legend :
+ [
+ {
+ name : 'گشتی',
+ items :
+ [
+ {
+ name : 'تووڵامرازی دهستكاریكهر',
+ legend:
+ 'کلیك ${toolbarFocus} بۆ ڕابەری تووڵامراز. بۆ گواستنەوەی پێشوو داهاتووی گرووپی تووڵامرازی داگرتنی کلیلی TAB لهگهڵ SHIFT-TAB. بۆ گواستنەوەی پێشوو داهاتووی دووگمەی تووڵامرازی لەڕێی کلیلی تیری دەستی ڕاست یان کلیلی تیری دەستی چەپ. کلیکی کلیلی SPACE یان ENTER بۆ چالاککردنی دووگمەی تووڵامراز.'
+ },
+
+ {
+ name : 'دیالۆگی دهستكاریكهر',
+ legend :
+ 'لەهەمانکاتدا کەتۆ لەدیالۆگی, کلیکی کلیلی TAB بۆ ڕابەری خانەی دیالۆگێکی تر, داگرتنی کلیلی SHIFT + TAB بۆ گواستنەوەی بۆ خانەی پێشووتر, کلیكی کلیلی ENTER بۆ ڕازیکردنی دیالۆگەکە, کلیكی کلیلی ESC بۆ هەڵوەشاندنەوەی دیالۆگەکە. بۆ دیالۆگی لەبازدەری (تابی) زیاتر, کلیكی کلیلی ALT + F10 بۆ ڕابهری لیستی بازدهرهکان. بۆ چوونه بازدهری تابی داهاتوو کلیكی کلیلی TAB یان کلیلی تیری دهستی ڕاست. بۆچوونه بازدهری تابی پێشوو داگرتنی کلیلی SHIFT + TAB یان کلیلی تیری دهستی چهپ. کلیی کلیلی SPACE یان ENTER بۆ ههڵبژاردنی بازدهر (تاب).'
+ },
+
+ {
+ name : 'پێڕستی سهرنووسهر',
+ legend :
+ 'کلیك ${contextMenu} یان دوگمهی لیسته(Menu) بۆ کردنهوهی لیستهی دهق. بۆ چوونه ههڵبژاردهیهکی تر له لیسته کلیکی کلیلی TAB یان کلیلی تیری ڕوو لهخوارهوه بۆ چوون بۆ ههڵبژاردهی پێشوو کلیکی کلیلی SHIFT+TAB یان کلیلی تیری ڕوو له سهرهوه. داگرتنی کلیلی SPACE یان ENTER بۆ ههڵبژاردنی ههڵبژاردهی لیسته. بۆ کردنهوهی لقی ژێر لیسته لهههڵبژاردهی لیسته کلیکی کلیلی SPACE یان ENTER یان کلیلی تیری دهستی ڕاست. بۆ گهڕانهوه بۆ سهرهوهی لیسته کلیکی کلیلی ESC یان کلیلی تیری دهستی چهپ. بۆ داخستنی لیسته کلیكی کلیلی ESC بکه.'
+ },
+
+ {
+ name : 'لیستی سنووقی سهرنووسهر',
+ legend :
+ 'لهناو سنوقی لیست, چۆن بۆ ههڵنبژاردهی لیستێکی تر کلیکی کلیلی TAB یان کلیلی تیری ڕوو لهخوار. چوون بۆ ههڵبژاردهی لیستی پێشوو کلیکی کلیلی SHIFT + TAB یان کلیلی تیری ڕوو لهسهرهوه. کلیکی کلیلی SPACE یان ENTER بۆ دیاریکردنی ههڵبژاردهی لیست. کلیکی کلیلی ESC بۆ داخستنی سنوقی لیست.'
+ },
+
+ {
+ name : 'تووڵامرازی توخم',
+ legend :
+ 'کلیك ${elementsPathFocus} بۆ ڕابهری تووڵامرازی توخمهکان. چوون بۆ دوگمهی توخمێکی تر کلیکی کلیلی TAB یان کلیلی تیری دهستی ڕاست. چوون بۆ دوگمهی توخمی پێشوو کلیلی SHIFT+TAB یان کلیکی کلیلی تیری دهستی چهپ. داگرتنی کلیلی SPACE یان ENTER بۆ دیاریکردنی توخمهکه لهسهرنووسه.'
+ }
+ ]
+ },
+ {
+ name : 'فهرمانهکان',
+ items :
+ [
+ {
+ name : 'فهرمانی پووچکردنهوه',
+ legend : 'کلیك ${undo}'
+ },
+ {
+ name : 'فهرمانی ههڵگهڕانهوه',
+ legend : 'کلیك ${redo}'
+ },
+ {
+ name : 'فهرمانی دهقی قهڵهو',
+ legend : 'کلیك ${bold}'
+ },
+ {
+ name : 'فهرمانی دهقی لار',
+ legend : 'کلیك ${italic}'
+ },
+ {
+ name : 'فهرمانی ژێرهێڵ',
+ legend : 'کلیك ${underline}'
+ },
+ {
+ name : 'فهرمانی بهستهر',
+ legend : 'کلیك ${link}'
+ },
+ {
+ name : 'شاردهنهوهی تووڵامراز',
+ legend : 'کلیك ${toolbarCollapse}'
+ },
+ {
+ name : 'دهستپێگهیشتنی یارمهتی',
+ legend : 'کلیك ${a11yHelp}'
+ }
+ ]
+ }
+ ]
+ }
+});
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/lv.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/lv.js
new file mode 100644
index 00000000000..fa18d6024da
--- /dev/null
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/lv.js
@@ -0,0 +1,89 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'a11yhelp', 'lv',
+{
+ accessibilityHelp :
+ {
+ title : 'Pieejamības instrukcija',
+ contents : 'Palīdzības saturs. Lai aizvērtu ciet šo dialogu nospiediet ESC.',
+ legend :
+ [
+ {
+ name : 'Galvenais',
+ items :
+ [
+ {
+ name : 'Redaktora rīkjosla',
+ legend:
+ 'Nospiediet ${toolbarFocus} lai pārvietotos uz rīkjoslu. Lai pārvietotos uz nākošo vai iepriekšējo rīkjoslas grupu izmantojiet pogu TAB un SHIFT+TAB. Lai pārvietotos uz nākošo vai iepriekšējo rīkjoslas pogu izmantojiet Kreiso vai Labo bultiņu. Nospiediet Atstarpi vai ENTER lai aktivizētu rīkjosla pogu.'
+ },
+
+ {
+ name : 'Redaktora dialoga logs',
+ legend :
+ 'Dialoga logā nospiediet pogu TAB lai pārvietotos uz nākošo dialoga loga lauku, nospiediet SHIFT+TAB lai atgrieztos iepriekšējā laukā, nospiediet ENTER lai apstiprinātu dialoga datus, nospiediet ESC lai aizvērtu šo dialogu. Dialogam kuram ir vairākas cilnes, nospiediet ALT+F10 lai pārvietotos uz nepieciešamo cilni. Lai pārvietotos uz nākošo cilni izmantojiet pogu TAB vai Labo bultiņu. Lai pārvietotos uz iepriekšējo cilni nospiediet SHIFT+TAB vai kreiso bultiņu. Nospiediet SPACE vai ENTER lai izvēlētos lapas cilni.'
+ },
+
+ {
+ name : 'Redaktora satura izvēle',
+ legend :
+ 'Nospiediet ${contextMenu} vai APPLICATION KEY lai atvērtu satura izvēlni. Lai pārvietotos uz nākošo izvēlnes opciju izmantojiet pogu TAB vai pogu Bultiņu uz leju. Lai pārvietotos uz iepriekšējo opciju izmantojiet SHIFT+TAB vai pogu Bultiņa uz augšu. Nospiediet SPACE vai ENTER lai izvelētos izvēlnes opciju. Atveriet tekošajā opcija apakšizvēlni ar SAPCE vai ENTER ka ari to var izdarīt ar Labo bultiņu. Lai atgrieztos atpakaļ uz sakuma izvēlni nospiediet ESC vai Kreiso bultiņu. Lai aizvērtu ciet izvēlnes saturu nospiediet ESC.'
+ },
+
+ {
+ name : 'Redaktora saraksta lauks',
+ legend :
+ 'Saraksta laukā, lai pārvietotos uz nākošo saraksta elementu nospiediet TAB vai pogu Bultiņa uz leju. Lai pārvietotos uz iepriekšējo saraksta elementu nospiediet SHIFT+TAB vai pogu Bultiņa uz augšu. Nospiediet SPACE vai ENTER lai izvēlētos saraksta opcijas. Nospiediet ESC lai aizvērtu saraksta lauku. '
+ },
+
+ {
+ name : 'Redaktora elementa ceļa josla',
+ legend :
+ 'Nospiediet ${elementsPathFocus} lai pārvietotos uz elementa ceļa joslu. Lai pārvietotos uz nākošo elementa pogu izmantojiet TAB vai Labo bultiņu. Lai pārvietotos uz iepriekšējo elementa pogu izmantojiet SHIFT + TAB vai Kreiso bultiņu. Nospiediet SPACE vai ENTER lai izvēlētos elementu redaktorā.'
+ }
+ ]
+ },
+ {
+ name : 'Komandas',
+ items :
+ [
+ {
+ name : 'Komanda atcelt darbību',
+ legend : 'Nospiediet ${undo}'
+ },
+ {
+ name : 'Komanda atkārtot darbību',
+ legend : 'Nospiediet ${redo}'
+ },
+ {
+ name : 'Treknraksta komanda',
+ legend : 'Nospiediet ${bold}'
+ },
+ {
+ name : 'Kursīva komanda',
+ legend : 'Nospiediet ${italic}'
+ },
+ {
+ name : 'Apakšsvītras komanda ',
+ legend : 'Nospiediet ${underline}'
+ },
+ {
+ name : 'Hipersaites komanda',
+ legend : 'Nospiediet ${link}'
+ },
+ {
+ name : 'Rīkjoslas aizvēršanas komanda',
+ legend : 'Nospiediet ${toolbarCollapse}'
+ },
+ {
+ name : 'Pieejamības palīdzība',
+ legend : 'Nospiediet ${a11yHelp}'
+ }
+ ]
+ }
+ ]
+ }
+});
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/mk.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/mk.js
index 36d1aba18a1..664694dc35e 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/mk.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/mk.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/nb.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/nb.js
index dc4966be12a..2dc4a289858 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/nb.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/nb.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/nl.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/nl.js
index 61b2989fece..d4113b40989 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/nl.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/nl.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/no.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/no.js
index 8fe719ef4df..9ec02631311 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/no.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/no.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/pt-br.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/pt-br.js
index 997760d2b81..0581fc1509c 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/pt-br.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/pt-br.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/ro.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/ro.js
index b0a30e648c5..5bbc14e2a5e 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/ro.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/ro.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/sk.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/sk.js
new file mode 100644
index 00000000000..b42d829794b
--- /dev/null
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/sk.js
@@ -0,0 +1,89 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'a11yhelp', 'sk',
+{
+ accessibilityHelp :
+ {
+ title : 'Inštrukcie prístupnosti',
+ contents : 'Pomocný obsah. Pre zatvorenie tohto okna, stlačte ESC.',
+ legend :
+ [
+ {
+ name : 'Všeobecne',
+ items :
+ [
+ {
+ name : 'Lišta nástrojov editora',
+ legend:
+ 'Stlačte ${toolbarFocus} pre navigáciu na lištu nástrojov. Medzi ďalšou a predchádzajúcou lištou nástrojov sa pohybujete s TAB a SHIFT-TAB. Medzi ďalším a predchádzajúcim tlačidlom na lište nástrojov sa pohybujete s pravou šípkou a ľavou šípkou. Stlačte medzerník alebo ENTER pre aktiváciu tlačidla lišty nástrojov.'
+ },
+
+ {
+ name : 'Editorový dialóg',
+ legend :
+ 'V dialogu, stlačte TAB pre navigáciu na ďalšie dialógové pole, stlačte STIFT + TAB pre presun na predchádzajúce pole, stlačte ENTER pre odoslanie dialógu, stlačte ESC pre zrušenie dialógu. Pre dialógy, ktoré majú viac záložiek, stlačte ALT + F10 pre navigácou do zoznamu záložiek. Potom sa posúvajte k ďalšej žáložke pomocou TAB alebo pravou šípkou. Pre presun k predchádzajúcej záložke, stlačte SHIFT + TAB alebo ľavú šípku. Stlačte medzerník alebo ENTER pre vybranie záložky.'
+ },
+
+ {
+ name : 'Editorové kontextové menu',
+ legend :
+ 'Stlačte ${contextMenu} alebo APPLICATION KEY pre otvorenie kontextového menu. Potom sa presúvajte na ďalšie možnosti menu s TAB alebo dolnou šípkou. Presunte sa k predchádzajúcej možnosti s SHIFT + TAB alebo hornou šípkou. Stlačte medzerník alebo ENTER pre výber možnosti menu. Otvorte pod-menu danej možnosti s medzerníkom, alebo ENTER, alebo pravou šípkou. Vráťte sa späť do položky rodičovského menu s ESC alebo ľavou šípkou. Zatvorte kontextové menu s ESC.'
+ },
+
+ {
+ name : 'Editorov box zoznamu',
+ legend :
+ 'V boxe zoznamu, presuňte sa na ďalšiu položku v zozname s TAB alebo dolnou šípkou. Presuňte sa k predchádzajúcej položke v zozname so SHIFT + TAB alebo hornou šípkou. Stlačte medzerník alebo ENTER pre výber možnosti zoznamu. Stlačte ESC pre zatvorenie boxu zoznamu.'
+ },
+
+ {
+ name : 'Editorove pásmo cesty prvku',
+ legend :
+ 'Stlačte ${elementsPathFocus} pre navigovanie na pásmo cesty elementu. Presuňte sa na tlačidlo ďalšieho prvku s TAB alebo pravou šípkou. Presuňte sa k predchádzajúcemu tlačidlu s SHIFT + TAB alebo ľavou šípkou. Stlačte medzerník alebo ENTER pre výber prvku v editore.'
+ }
+ ]
+ },
+ {
+ name : 'Príkazy',
+ items :
+ [
+ {
+ name : 'Vrátiť príkazy',
+ legend : 'Stlačte ${undo}'
+ },
+ {
+ name : 'Nanovo vrátiť príkaz',
+ legend : 'Stlačte ${redo}'
+ },
+ {
+ name : 'Príkaz na stučnenie',
+ legend : 'Stlačte ${bold}'
+ },
+ {
+ name : 'Príkaz na kurzívu',
+ legend : 'Stlačte ${italic}'
+ },
+ {
+ name : 'Príkaz na podčiarknutie',
+ legend : 'Stlačte ${underline}'
+ },
+ {
+ name : 'Príkaz na odkaz',
+ legend : 'Stlačte ${link}'
+ },
+ {
+ name : 'Príkaz na zbalenie lišty nástrojov',
+ legend : 'Stlačte ${toolbarCollapse}'
+ },
+ {
+ name : 'Pomoc prístupnosti',
+ legend : 'Stlačte ${a11yHelp}'
+ }
+ ]
+ }
+ ]
+ }
+});
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/tr.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/tr.js
index 34c1a463e65..44605e8e6a9 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/tr.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/tr.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/ug.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/ug.js
index 6e9a84af720..2e5887dafc2 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/ug.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/ug.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/vi.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/vi.js
index c045369e93a..2b5fc658355 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/vi.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/vi.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/lang/zh-cn.js b/third_party/ckeditor/_source/plugins/a11yhelp/lang/zh-cn.js
index a595f6fe555..e84a868d582 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/lang/zh-cn.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/lang/zh-cn.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -18,25 +18,25 @@ CKEDITOR.plugins.setLang( 'a11yhelp', 'zh-cn',
{
name : '编辑器工具栏',
legend:
- '按 ${toolbarFocus} 以导航到工具栏,使用 TAB 键或 SHIFT+TAB 组合键以选择工具栏组,使用左右箭头键以选择按钮,按空格键或回车键以应用选中的按钮。'
+ '按 ${toolbarFocus} 导航到工具栏,使用 TAB 键或 SHIFT+TAB 组合键选择工具栏组,使用左右箭头键选择按钮,按空格键或回车键以应用选中的按钮。'
},
{
name : '编辑器对话框',
legend :
- '在对话框内,TAB键移动到下一个字段,SHIFT + TAB 移动到上一个字段,ENTER键提交对话框,ESC键取消对话框。对于有多标签的对话框,用ALT + F10来移到标签列表。然后用TAB键或者向右箭头来移动到下一个标签;SHIFT + TAB或者向左箭头移动到上一个标签。用SPACE或者ENTER选择标签。'
+ '在对话框内,TAB 键移动到下一个字段,SHIFT + TAB 组合键移动到上一个字段,ENTER 键提交对话框,ESC 键取消对话框。对于有多标签的对话框,用ALT + F10来移到标签列表。然后用 TAB 键或者向右箭头来移动到下一个标签;SHIFT + TAB 组合键或者向左箭头移动到上一个标签。用 SPACE 键或者 ENTER 键选择标签。'
},
{
name : '编辑器上下文菜单',
legend :
- '用 ${contextMenu}或者 应用程序键 打开上下文菜单。然后用TAB键或者向下箭头来移动到下一个菜单项;SHIFT + TAB或者向上箭头移动到上一个菜单项。用SPACE或者ENTER选择菜单项。用SPACE,ENTER或者向右箭头打开子菜单。返回菜单用ESC键或者向左箭头。用ESC关闭上下文菜单。'
+ '用 ${contextMenu}或者 应用程序键 打开上下文菜单。然后用 TAB 键或者下箭头键来移动到下一个菜单项;SHIFT + TAB 组合键或者上箭头键移动到上一个菜单项。用 SPACE 键或者 ENTER 键选择菜单项。用 SPACE 键,ENTER 键或者右箭头键打开子菜单。返回菜单用 ESC 键或者左箭头键。用 ESC 键关闭上下文菜单。'
},
{
name : '编辑器列表框',
legend :
- '在列表框中,移到下一列表项用TAB键或者向下箭头。移到上一列表项用SHIFT + TAB或者向上箭头,用SPACE或者ENTER选择列表项。用ESC收起列表框。'
+ '在列表框中,移到下一列表项用 TAB 键或者下箭头键。移到上一列表项用SHIFT + TAB 组合键或者上箭头键,用 SPACE 键或者 ENTER 键选择列表项。用 ESC 键收起列表框。'
},
{
diff --git a/third_party/ckeditor/_source/plugins/a11yhelp/plugin.js b/third_party/ckeditor/_source/plugins/a11yhelp/plugin.js
index be3377d0f12..e825f8680a0 100644
--- a/third_party/ckeditor/_source/plugins/a11yhelp/plugin.js
+++ b/third_party/ckeditor/_source/plugins/a11yhelp/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -18,7 +18,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
requires: [ 'dialog' ],
// List of available localizations.
- availableLangs : { cs:1, cy:1, da:1, de:1, el:1, en:1, eo:1, fa:1, fi:1, fr:1, gu:1, he:1, it:1, mk:1, nb:1, nl:1, no:1, 'pt-br':1, ro:1, tr:1, ug:1, vi:1, 'zh-cn':1 },
+ availableLangs : { cs:1, cy:1, da:1, de:1, el:1, en:1, eo:1, fa:1, fi:1, fr:1, gu:1, he:1, it:1, ku:1, mk:1, nb:1, nl:1, no:1, 'pt-br':1, ro:1, tr:1, ug:1, vi:1, 'zh-cn':1 },
init : function( editor )
{
diff --git a/third_party/ckeditor/_source/plugins/about/dialogs/about.js b/third_party/ckeditor/_source/plugins/about/dialogs/about.js
index 53b4b0ac520..625626d465e 100644
--- a/third_party/ckeditor/_source/plugins/about/dialogs/about.js
+++ b/third_party/ckeditor/_source/plugins/about/dialogs/about.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/about/plugin.js b/third_party/ckeditor/_source/plugins/about/plugin.js
index 40eae7eeb10..511c1e61f2d 100644
--- a/third_party/ckeditor/_source/plugins/about/plugin.js
+++ b/third_party/ckeditor/_source/plugins/about/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/adobeair/plugin.js b/third_party/ckeditor/_source/plugins/adobeair/plugin.js
index 065cde074af..7ed1bca7681 100644
--- a/third_party/ckeditor/_source/plugins/adobeair/plugin.js
+++ b/third_party/ckeditor/_source/plugins/adobeair/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/ajax/plugin.js b/third_party/ckeditor/_source/plugins/ajax/plugin.js
index 1c032a9336a..74880057365 100644
--- a/third_party/ckeditor/_source/plugins/ajax/plugin.js
+++ b/third_party/ckeditor/_source/plugins/ajax/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/autogrow/plugin.js b/third_party/ckeditor/_source/plugins/autogrow/plugin.js
index fdbb5786787..253cb577327 100644
--- a/third_party/ckeditor/_source/plugins/autogrow/plugin.js
+++ b/third_party/ckeditor/_source/plugins/autogrow/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -24,18 +24,23 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
return height;
}
+ function getScrollable( editor )
+ {
+ var doc = editor.document,
+ body = doc.getBody(),
+ htmlElement = doc.getDocumentElement();
+
+ // Quirks mode overflows body, standards overflows document element
+ return doc.$.compatMode == 'BackCompat' ? body : htmlElement;
+ }
+
var resizeEditor = function( editor )
{
if ( !editor.window )
return;
- var doc = editor.document,
- iframe = new CKEDITOR.dom.element( doc.getWindow().$.frameElement ),
- body = doc.getBody(),
- htmlElement = doc.getDocumentElement(),
+ var scrollable = getScrollable( editor ),
currentHeight = editor.window.getViewPaneSize().height,
- // Quirks mode overflows body, standards overflows document element
- scrollable = doc.$.compatMode == 'BackCompat' ? body : htmlElement,
newHeight = contentHeight( scrollable );
// Additional space specified by user.
@@ -89,6 +94,21 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
}
});
}
+
+ // Coordinate with the "maximize" plugin. (#9311)
+ editor.on( 'beforeCommandExec', function( evt )
+ {
+ if ( evt.data.name == 'maximize' && evt.editor.mode == 'wysiwyg' )
+ {
+ if ( evt.data.command.state == CKEDITOR.TRISTATE_OFF )
+ {
+ var scrollable = getScrollable( editor );
+ scrollable.removeStyle( 'overflow' );
+ }
+ else
+ resizeEditor( editor );
+ }
+ });
}
});
})();
diff --git a/third_party/ckeditor/_source/plugins/basicstyles/plugin.js b/third_party/ckeditor/_source/plugins/basicstyles/plugin.js
index b3f64fbbe75..5e928e169ae 100644
--- a/third_party/ckeditor/_source/plugins/basicstyles/plugin.js
+++ b/third_party/ckeditor/_source/plugins/basicstyles/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/bbcode/plugin.js b/third_party/ckeditor/_source/plugins/bbcode/plugin.js
index fa8bc1a9ffd..7354fb70b73 100644
--- a/third_party/ckeditor/_source/plugins/bbcode/plugin.js
+++ b/third_party/ckeditor/_source/plugins/bbcode/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -566,19 +566,33 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
this.lineBreak( 1 );
this.write( '[', tag );
- var option = attributes.option;
- option && this.write( '=', option );
- this.write( ']' );
+ }
+ },
+ openTagClose : function( tag )
+ {
+
+ if ( tag == 'br' )
+ this._.output.push( '\n' );
+ else if ( tag in bbcodeMap )
+ {
+ this.write( ']' );
if ( this.getRule( tag, 'breakAfterOpen' ) )
this.lineBreak( 1 );
}
- else if ( tag == 'br' )
- this._.output.push( '\n' );
},
- openTagClose : function() { },
- attribute : function() { },
+ attribute : function( name, val )
+ {
+ if ( name == 'option' )
+ {
+ // Force simply ampersand in attributes.
+ if ( typeof val == 'string' )
+ val = val.replace( /&/g, '&' );
+
+ this.write( '=', val );
+ }
+ },
closeTag : function( tag )
{
diff --git a/third_party/ckeditor/_source/plugins/bidi/plugin.js b/third_party/ckeditor/_source/plugins/bidi/plugin.js
index 72f1041b6f5..bceb57bd8aa 100644
--- a/third_party/ckeditor/_source/plugins/bidi/plugin.js
+++ b/third_party/ckeditor/_source/plugins/bidi/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/blockquote/plugin.js b/third_party/ckeditor/_source/plugins/blockquote/plugin.js
index f17aec268e2..84dee8156b0 100644
--- a/third_party/ckeditor/_source/plugins/blockquote/plugin.js
+++ b/third_party/ckeditor/_source/plugins/blockquote/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/button/plugin.js b/third_party/ckeditor/_source/plugins/button/plugin.js
index af95b697d4f..c9284c8d8dd 100644
--- a/third_party/ckeditor/_source/plugins/button/plugin.js
+++ b/third_party/ckeditor/_source/plugins/button/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/clipboard/dialogs/paste.js b/third_party/ckeditor/_source/plugins/clipboard/dialogs/paste.js
index cec04d38797..0b3794e312d 100644
--- a/third_party/ckeditor/_source/plugins/clipboard/dialogs/paste.js
+++ b/third_party/ckeditor/_source/plugins/clipboard/dialogs/paste.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/clipboard/plugin.js b/third_party/ckeditor/_source/plugins/clipboard/plugin.js
index 6c21f5512a3..558ffd76a9c 100644
--- a/third_party/ckeditor/_source/plugins/clipboard/plugin.js
+++ b/third_party/ckeditor/_source/plugins/clipboard/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/colorbutton/plugin.js b/third_party/ckeditor/_source/plugins/colorbutton/plugin.js
index 7cc0604d78d..75f0d4ebd71 100644
--- a/third_party/ckeditor/_source/plugins/colorbutton/plugin.js
+++ b/third_party/ckeditor/_source/plugins/colorbutton/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js b/third_party/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js
index a8e83f5daa8..e4a2a015fb8 100644
--- a/third_party/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js
+++ b/third_party/ckeditor/_source/plugins/colordialog/dialogs/colordialog.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/colordialog/plugin.js b/third_party/ckeditor/_source/plugins/colordialog/plugin.js
index b76aed2cd1a..4dbf3b000c5 100644
--- a/third_party/ckeditor/_source/plugins/colordialog/plugin.js
+++ b/third_party/ckeditor/_source/plugins/colordialog/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/contextmenu/plugin.js b/third_party/ckeditor/_source/plugins/contextmenu/plugin.js
index 5d95080dca5..7772820e4f0 100644
--- a/third_party/ckeditor/_source/plugins/contextmenu/plugin.js
+++ b/third_party/ckeditor/_source/plugins/contextmenu/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/_translationstatus.txt b/third_party/ckeditor/_source/plugins/devtools/lang/_translationstatus.txt
index 682d1d2d99c..2b7429a2de3 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/_translationstatus.txt
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/_translationstatus.txt
@@ -1,28 +1,31 @@
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
-
-bg.js Found: 5 Missing: 0
-cs.js Found: 5 Missing: 0
-cy.js Found: 5 Missing: 0
-da.js Found: 5 Missing: 0
-de.js Found: 5 Missing: 0
-el.js Found: 5 Missing: 0
-eo.js Found: 5 Missing: 0
-et.js Found: 5 Missing: 0
-fa.js Found: 5 Missing: 0
-fi.js Found: 5 Missing: 0
-fr.js Found: 5 Missing: 0
-gu.js Found: 5 Missing: 0
-he.js Found: 5 Missing: 0
-hr.js Found: 5 Missing: 0
-it.js Found: 5 Missing: 0
-nb.js Found: 5 Missing: 0
-nl.js Found: 5 Missing: 0
-no.js Found: 5 Missing: 0
-pl.js Found: 5 Missing: 0
-pt-br.js Found: 5 Missing: 0
-tr.js Found: 5 Missing: 0
-ug.js Found: 5 Missing: 0
-uk.js Found: 5 Missing: 0
-vi.js Found: 5 Missing: 0
-zh-cn.js Found: 5 Missing: 0
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+
+bg.js Found: 5 Missing: 0
+cs.js Found: 5 Missing: 0
+cy.js Found: 5 Missing: 0
+da.js Found: 5 Missing: 0
+de.js Found: 5 Missing: 0
+el.js Found: 5 Missing: 0
+eo.js Found: 5 Missing: 0
+et.js Found: 5 Missing: 0
+fa.js Found: 5 Missing: 0
+fi.js Found: 5 Missing: 0
+fr.js Found: 5 Missing: 0
+gu.js Found: 5 Missing: 0
+he.js Found: 5 Missing: 0
+hr.js Found: 5 Missing: 0
+it.js Found: 5 Missing: 0
+ku.js Found: 5 Missing: 0
+lv.js Found: 5 Missing: 0
+nb.js Found: 5 Missing: 0
+nl.js Found: 5 Missing: 0
+no.js Found: 5 Missing: 0
+pl.js Found: 5 Missing: 0
+pt-br.js Found: 5 Missing: 0
+sk.js Found: 5 Missing: 0
+tr.js Found: 5 Missing: 0
+ug.js Found: 5 Missing: 0
+uk.js Found: 5 Missing: 0
+vi.js Found: 5 Missing: 0
+zh-cn.js Found: 5 Missing: 0
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/bg.js b/third_party/ckeditor/_source/plugins/devtools/lang/bg.js
index c524dedf4ab..e513f1c6814 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/bg.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/bg.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/cs.js b/third_party/ckeditor/_source/plugins/devtools/lang/cs.js
index 41050c86e73..ea854594465 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/cs.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/cs.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/cy.js b/third_party/ckeditor/_source/plugins/devtools/lang/cy.js
index eb65ec75cff..21dae0d4aeb 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/cy.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/cy.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/da.js b/third_party/ckeditor/_source/plugins/devtools/lang/da.js
index 90279c32c3a..b7c32aa7b18 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/da.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/da.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/de.js b/third_party/ckeditor/_source/plugins/devtools/lang/de.js
index c958ef9fd02..01b573f241d 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/de.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/de.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/el.js b/third_party/ckeditor/_source/plugins/devtools/lang/el.js
index 9e7223cfa2f..39b62d3c590 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/el.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/el.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/en.js b/third_party/ckeditor/_source/plugins/devtools/lang/en.js
index ec2771a3ad5..7d00018248d 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/en.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/en.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/eo.js b/third_party/ckeditor/_source/plugins/devtools/lang/eo.js
index 15bcebac82a..5fdc3646815 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/eo.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/eo.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/et.js b/third_party/ckeditor/_source/plugins/devtools/lang/et.js
index 6ca4ef9ffc4..54fbc57a745 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/et.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/et.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/fa.js b/third_party/ckeditor/_source/plugins/devtools/lang/fa.js
index 4184d14e353..eadb929e81b 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/fa.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/fa.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -8,7 +8,7 @@ CKEDITOR.plugins.setLang( 'devtools', 'fa',
devTools :
{
title : 'اطلاعات عنصر',
- dialogName : 'نام پنجره محاورهای',
+ dialogName : 'نام پنجره محاورهای',
tabName : 'نام برگه',
elementId : 'ID عنصر',
elementType : 'نوع عنصر'
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/fi.js b/third_party/ckeditor/_source/plugins/devtools/lang/fi.js
index c415660fb04..3d8c4215a6f 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/fi.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/fi.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/fr.js b/third_party/ckeditor/_source/plugins/devtools/lang/fr.js
index 2eab122f22e..2538c2164b0 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/fr.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/fr.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/gu.js b/third_party/ckeditor/_source/plugins/devtools/lang/gu.js
index cea92823bfc..2b67b70916d 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/gu.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/gu.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/he.js b/third_party/ckeditor/_source/plugins/devtools/lang/he.js
index b61f3c74b48..36fee16c5d5 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/he.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/he.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/hr.js b/third_party/ckeditor/_source/plugins/devtools/lang/hr.js
index a4e5d1ba6fd..ef4a13b9b9f 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/hr.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/hr.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/it.js b/third_party/ckeditor/_source/plugins/devtools/lang/it.js
index 27c01eda7d5..4154e663172 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/it.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/it.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/ku.js b/third_party/ckeditor/_source/plugins/devtools/lang/ku.js
new file mode 100644
index 00000000000..92831f87c39
--- /dev/null
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/ku.js
@@ -0,0 +1,16 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'devtools', 'ku',
+{
+ devTools :
+ {
+ title : 'زانیاری توخم',
+ dialogName : 'ناوی پهنجهرهی دیالۆگ',
+ tabName : 'ناوی بازدهر تاب',
+ elementId : 'ناسنامهی توخم',
+ elementType : 'جۆری توخم'
+ }
+});
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/lv.js b/third_party/ckeditor/_source/plugins/devtools/lang/lv.js
new file mode 100644
index 00000000000..a180322d61b
--- /dev/null
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/lv.js
@@ -0,0 +1,16 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'devtools', 'lv',
+{
+ devTools :
+ {
+ title : 'Elementa informācija',
+ dialogName : 'Dialoga loga nosaukums',
+ tabName : 'Cilnes nosaukums',
+ elementId : 'Elementa ID',
+ elementType : 'Elementa tips'
+ }
+});
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/nb.js b/third_party/ckeditor/_source/plugins/devtools/lang/nb.js
index 1df7af1da77..8a90a789c2e 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/nb.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/nb.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/nl.js b/third_party/ckeditor/_source/plugins/devtools/lang/nl.js
index 2c674fc4834..02962151374 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/nl.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/nl.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/no.js b/third_party/ckeditor/_source/plugins/devtools/lang/no.js
index 0d51dbfe083..fb599ca522e 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/no.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/no.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/pl.js b/third_party/ckeditor/_source/plugins/devtools/lang/pl.js
index 10996842fb8..c48f20c3076 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/pl.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/pl.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/pt-br.js b/third_party/ckeditor/_source/plugins/devtools/lang/pt-br.js
index 8e0992f3d63..b38f85e79e4 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/pt-br.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/pt-br.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/sk.js b/third_party/ckeditor/_source/plugins/devtools/lang/sk.js
new file mode 100644
index 00000000000..43d20bcaadf
--- /dev/null
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/sk.js
@@ -0,0 +1,16 @@
+/*
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'devtools', 'sk',
+{
+ devTools :
+ {
+ title : 'Informácie o prvku',
+ dialogName : 'Názov okna dialógu',
+ tabName : 'Názov záložky',
+ elementId : 'ID prvku',
+ elementType : 'Typ prvku'
+ }
+});
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/tr.js b/third_party/ckeditor/_source/plugins/devtools/lang/tr.js
index 9940638cda4..327f9e630ee 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/tr.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/tr.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/ug.js b/third_party/ckeditor/_source/plugins/devtools/lang/ug.js
index 5b1be624bbc..5e485b808e1 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/ug.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/ug.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/uk.js b/third_party/ckeditor/_source/plugins/devtools/lang/uk.js
index 21c4f29723a..7721556297e 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/uk.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/uk.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/vi.js b/third_party/ckeditor/_source/plugins/devtools/lang/vi.js
index 9470587b7e4..d454d9d614d 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/vi.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/vi.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/lang/zh-cn.js b/third_party/ckeditor/_source/plugins/devtools/lang/zh-cn.js
index d06ceb21f20..2a2dcb3a40a 100644
--- a/third_party/ckeditor/_source/plugins/devtools/lang/zh-cn.js
+++ b/third_party/ckeditor/_source/plugins/devtools/lang/zh-cn.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/devtools/plugin.js b/third_party/ckeditor/_source/plugins/devtools/plugin.js
index 074503a8ecb..1bde1cd9fdc 100644
--- a/third_party/ckeditor/_source/plugins/devtools/plugin.js
+++ b/third_party/ckeditor/_source/plugins/devtools/plugin.js
@@ -1,11 +1,11 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add( 'devtools',
{
- lang : [ 'en', 'bg', 'cs', 'cy', 'da', 'de', 'el', 'eo', 'et', 'fa', 'fi', 'fr', 'gu', 'he', 'hr', 'it', 'nb', 'nl', 'no', 'pl', 'pt-br', 'tr', 'ug', 'uk', 'vi', 'zh-cn' ],
+ lang : [ 'en', 'bg', 'cs', 'cy', 'da', 'de', 'el', 'eo', 'et', 'fa', 'fi', 'fr', 'gu', 'he', 'hr', 'it', 'ku', 'nb', 'nl', 'no', 'pl', 'pt-br', 'sk', 'tr', 'ug', 'uk', 'vi', 'zh-cn' ],
init : function( editor )
{
diff --git a/third_party/ckeditor/_source/plugins/dialog/dialogDefinition.js b/third_party/ckeditor/_source/plugins/dialog/dialogDefinition.js
index 3d36d0468c7..9d9638016f8 100644
--- a/third_party/ckeditor/_source/plugins/dialog/dialogDefinition.js
+++ b/third_party/ckeditor/_source/plugins/dialog/dialogDefinition.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/dialog/plugin.js b/third_party/ckeditor/_source/plugins/dialog/plugin.js
index db371c4d95f..434a55bea94 100644
--- a/third_party/ckeditor/_source/plugins/dialog/plugin.js
+++ b/third_party/ckeditor/_source/plugins/dialog/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -457,7 +457,7 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
{
// Don't do that for a target that handles ENTER.
var target = evt.data.getTarget();
- if ( !target.is( 'a', 'button', 'select' ) && ( !target.is( 'input' ) || target.$.type != 'button' ) )
+ if ( !target.is( 'a', 'button', 'select', 'textarea' ) && ( !target.is( 'input' ) || target.$.type != 'button' ) )
{
button = this.getButton( 'ok' );
button && CKEDITOR.tools.setTimeout( button.click, 0, button );
@@ -665,6 +665,15 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
} );
}
+ // Re-layout the dialog on window resize.
+ function resizeWithWindow( dialog )
+ {
+ var win = CKEDITOR.document.getWindow();
+ function resizeHandler() { dialog.layout(); }
+ win.on( 'resize', resizeHandler );
+ dialog.on( 'hide', function() { win.removeListener( 'resize', resizeHandler ); } );
+ }
+
CKEDITOR.dialog.prototype =
{
destroy : function()
@@ -733,49 +742,54 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
* @example
* dialogObj.move( 10, 40 );
*/
- move : (function()
- {
- var isFixed;
- return function( x, y, save )
- {
- // The dialog may be fixed positioned or absolute positioned. Ask the
- // browser what is the current situation first.
- var element = this._.element.getFirst(),
- rtl = this._.editor.lang.dir == 'rtl';
-
- if ( isFixed === undefined )
- isFixed = element.getComputedStyle( 'position' ) == 'fixed';
-
- if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y )
- return;
+ move : function( x, y, save )
+ {
+ // The dialog may be fixed positioned or absolute positioned. Ask the
+ // browser what is the current situation first.
+ var element = this._.element.getFirst(),
+ rtl = this._.editor.lang.dir == 'rtl';
+
+ var isFixed = element.getComputedStyle( 'position' ) == 'fixed';
+
+ // (#8888) In some cases of a very small viewport, dialog is incorrectly
+ // positioned in IE7. It also happens that it remains sticky and user cannot
+ // scroll down/up to reveal dialog's content below/above the viewport; this is
+ // cumbersome.
+ // The only way to fix this is to move mouse out of the browser and
+ // go back to see that dialog position is automagically fixed. No events,
+ // no style change - pure magic. This is a IE7 rendering issue, which can be
+ // fixed with dummy style redraw on each move.
+ element.setStyle( 'zoom', '100%' );
+
+ if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y )
+ return;
- // Save the current position.
- this._.position = { x : x, y : y };
+ // Save the current position.
+ this._.position = { x : x, y : y };
- // If not fixed positioned, add scroll position to the coordinates.
- if ( !isFixed )
- {
- var scrollPosition = CKEDITOR.document.getWindow().getScrollPosition();
- x += scrollPosition.x;
- y += scrollPosition.y;
- }
+ // If not fixed positioned, add scroll position to the coordinates.
+ if ( !isFixed )
+ {
+ var scrollPosition = CKEDITOR.document.getWindow().getScrollPosition();
+ x += scrollPosition.x;
+ y += scrollPosition.y;
+ }
- // Translate coordinate for RTL.
- if ( rtl )
- {
- var dialogSize = this.getSize(),
- viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize();
- x = viewPaneSize.width - dialogSize.width - x;
- }
+ // Translate coordinate for RTL.
+ if ( rtl )
+ {
+ var dialogSize = this.getSize(),
+ viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize();
+ x = viewPaneSize.width - dialogSize.width - x;
+ }
- var styles = { 'top' : ( y > 0 ? y : 0 ) + 'px' };
- styles[ rtl ? 'right' : 'left' ] = ( x > 0 ? x : 0 ) + 'px';
+ var styles = { 'top' : ( y > 0 ? y : 0 ) + 'px' };
+ styles[ rtl ? 'right' : 'left' ] = ( x > 0 ? x : 0 ) + 'px';
- element.setStyles( styles );
+ element.setStyles( styles );
- save && ( this._.moved = 1 );
- };
- })(),
+ save && ( this._.moved = 1 );
+ },
/**
* Gets the dialog's position in the window.
@@ -852,6 +866,8 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
CKEDITOR.tools.setTimeout( function()
{
this.layout();
+ resizeWithWindow( this );
+
this.parts.dialog.setStyle( 'visibility', '' );
// Execute onLoad for the first show.
@@ -874,11 +890,26 @@ CKEDITOR.DIALOG_RESIZE_BOTH = 3;
*/
layout : function()
{
- var viewSize = CKEDITOR.document.getWindow().getViewPaneSize(),
- dialogSize = this.getSize();
+ var el = this.parts.dialog;
+ var dialogSize = this.getSize();
+ var win = CKEDITOR.document.getWindow(),
+ viewSize = win.getViewPaneSize();
+
+ var posX = ( viewSize.width - dialogSize.width ) / 2,
+ posY = ( viewSize.height - dialogSize.height ) / 2;
+
+ // Switch to absolute position when viewport is smaller than dialog size.
+ if ( !CKEDITOR.env.ie6Compat )
+ {
+ if ( dialogSize.height + ( posY > 0 ? posY : 0 ) > viewSize.height ||
+ dialogSize.width + ( posX > 0 ? posX : 0 ) > viewSize.width )
+ el.setStyle( 'position', 'absolute' );
+ else
+ el.setStyle( 'position', 'fixed' );
+ }
- this.move( this._.moved ? this._.position.x : ( viewSize.width - dialogSize.width ) / 2,
- this._.moved ? this._.position.y : ( viewSize.height - dialogSize.height ) / 2 );
+ this.move( this._.moved ? this._.position.x : posX,
+ this._.moved ? this._.position.y : posY );
},
/**
diff --git a/third_party/ckeditor/_source/plugins/dialogadvtab/plugin.js b/third_party/ckeditor/_source/plugins/dialogadvtab/plugin.js
index d369be77721..8b5cb32b10f 100644
--- a/third_party/ckeditor/_source/plugins/dialogadvtab/plugin.js
+++ b/third_party/ckeditor/_source/plugins/dialogadvtab/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -137,7 +137,7 @@ CKEDITOR.plugins.add( 'dialogadvtab',
getStyle : function( name, defaultValue )
{
- var match = this.getValue().match( new RegExp( name + '\\s*:\\s*([^;]*)', 'i') );
+ var match = this.getValue().match( new RegExp( '(?:^|;)\\s*' + name + '\\s*:\\s*([^;]*)', 'i' ) );
return match ? match[ 1 ] : defaultValue;
},
@@ -145,23 +145,12 @@ CKEDITOR.plugins.add( 'dialogadvtab',
{
var styles = this.getValue();
- // Remove the current value.
- if ( styles )
- {
- styles = styles
- .replace( new RegExp( '\\s*' + name + '\s*:[^;]*(?:$|;\s*)', 'i' ), '' )
- .replace( /^[;\s]+/, '' )
- .replace( /\s+$/, '' );
- }
-
- if ( value )
- {
- styles && !(/;\s*$/).test( styles ) && ( styles += '; ' );
- styles += name + ': ' + value;
- }
+ var tmp = editor.document.createElement( 'span' );
+ tmp.setAttribute( 'style', styles );
+ tmp.setStyle( name, value );
+ styles = CKEDITOR.tools.normalizeCssText( tmp.getAttribute( 'style' ) );
this.setValue( styles, 1 );
-
},
setup : setupAdvParams,
diff --git a/third_party/ckeditor/_source/plugins/dialogui/plugin.js b/third_party/ckeditor/_source/plugins/dialogui/plugin.js
index 29db79c0f10..888c015445e 100644
--- a/third_party/ckeditor/_source/plugins/dialogui/plugin.js
+++ b/third_party/ckeditor/_source/plugins/dialogui/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -1182,7 +1182,7 @@ CKEDITOR.plugins.add( 'dialogui' );
{
onChange : function( dialog, func )
{
- if ( !CKEDITOR.env.ie )
+ if ( !CKEDITOR.env.ie || ( CKEDITOR.env.version > 8 ) )
return commonEventProcessors.onChange.apply( this, arguments );
else
{
diff --git a/third_party/ckeditor/_source/plugins/div/dialogs/div.js b/third_party/ckeditor/_source/plugins/div/dialogs/div.js
index 37e1e976f4c..e63bd4b880e 100644
--- a/third_party/ckeditor/_source/plugins/div/dialogs/div.js
+++ b/third_party/ckeditor/_source/plugins/div/dialogs/div.js
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+ * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/div/plugin.js b/third_party/ckeditor/_source/plugins/div/plugin.js
index a1caf4d5165..f19efc08b9a 100644
--- a/third_party/ckeditor/_source/plugins/div/plugin.js
+++ b/third_party/ckeditor/_source/plugins/div/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/docprops/dialogs/docprops.js b/third_party/ckeditor/_source/plugins/docprops/dialogs/docprops.js
index d2012aba808..8e0f770d145 100644
--- a/third_party/ckeditor/_source/plugins/docprops/dialogs/docprops.js
+++ b/third_party/ckeditor/_source/plugins/docprops/dialogs/docprops.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/docprops/plugin.js b/third_party/ckeditor/_source/plugins/docprops/plugin.js
index b9e0315af33..a74b69e5fac 100644
--- a/third_party/ckeditor/_source/plugins/docprops/plugin.js
+++ b/third_party/ckeditor/_source/plugins/docprops/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/domiterator/plugin.js b/third_party/ckeditor/_source/plugins/domiterator/plugin.js
index f68f7c09d35..be88c97eb0a 100644
--- a/third_party/ckeditor/_source/plugins/domiterator/plugin.js
+++ b/third_party/ckeditor/_source/plugins/domiterator/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/editingblock/plugin.js b/third_party/ckeditor/_source/plugins/editingblock/plugin.js
index abe0b710663..8676a11af66 100644
--- a/third_party/ckeditor/_source/plugins/editingblock/plugin.js
+++ b/third_party/ckeditor/_source/plugins/editingblock/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/elementspath/plugin.js b/third_party/ckeditor/_source/plugins/elementspath/plugin.js
index 1fb54350f89..7b81d61c53e 100644
--- a/third_party/ckeditor/_source/plugins/elementspath/plugin.js
+++ b/third_party/ckeditor/_source/plugins/elementspath/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/enterkey/plugin.js b/third_party/ckeditor/_source/plugins/enterkey/plugin.js
index dac6fb293e8..8a38916510f 100644
--- a/third_party/ckeditor/_source/plugins/enterkey/plugin.js
+++ b/third_party/ckeditor/_source/plugins/enterkey/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -315,9 +315,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
isPre = ( startBlockTag == 'pre' );
- // Gecko prefers as line-break inside (#4711).
- if ( isPre && !CKEDITOR.env.gecko )
- lineBreak = doc.createText( CKEDITOR.env.ie ? '\r' : '\n' );
+ // IE<8 prefers text node as line-break inside of (#4711).
+ if ( startBlockTag == 'pre' && CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
+ lineBreak = doc.createText( '\r' );
else
lineBreak = doc.createElement( 'br' );
diff --git a/third_party/ckeditor/_source/plugins/entities/plugin.js b/third_party/ckeditor/_source/plugins/entities/plugin.js
index 5729831f31f..17453480183 100644
--- a/third_party/ckeditor/_source/plugins/entities/plugin.js
+++ b/third_party/ckeditor/_source/plugins/entities/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/fakeobjects/plugin.js b/third_party/ckeditor/_source/plugins/fakeobjects/plugin.js
index 5da98a1fd33..f81bdb6e005 100644
--- a/third_party/ckeditor/_source/plugins/fakeobjects/plugin.js
+++ b/third_party/ckeditor/_source/plugins/fakeobjects/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/filebrowser/plugin.js b/third_party/ckeditor/_source/plugins/filebrowser/plugin.js
index d35432741f1..fbef990dc94 100644
--- a/third_party/ckeditor/_source/plugins/filebrowser/plugin.js
+++ b/third_party/ckeditor/_source/plugins/filebrowser/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/find/dialogs/find.js b/third_party/ckeditor/_source/plugins/find/dialogs/find.js
index 5f8c34214a2..b6b2d450358 100644
--- a/third_party/ckeditor/_source/plugins/find/dialogs/find.js
+++ b/third_party/ckeditor/_source/plugins/find/dialogs/find.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/find/plugin.js b/third_party/ckeditor/_source/plugins/find/plugin.js
index 5eaa41f4606..e1a1aaa197b 100644
--- a/third_party/ckeditor/_source/plugins/find/plugin.js
+++ b/third_party/ckeditor/_source/plugins/find/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/flash/dialogs/flash.js b/third_party/ckeditor/_source/plugins/flash/dialogs/flash.js
index 7b7649d7175..20bec0d3629 100644
--- a/third_party/ckeditor/_source/plugins/flash/dialogs/flash.js
+++ b/third_party/ckeditor/_source/plugins/flash/dialogs/flash.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/flash/plugin.js b/third_party/ckeditor/_source/plugins/flash/plugin.js
index a0185129be2..6645cd0e02d 100644
--- a/third_party/ckeditor/_source/plugins/flash/plugin.js
+++ b/third_party/ckeditor/_source/plugins/flash/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/floatpanel/plugin.js b/third_party/ckeditor/_source/plugins/floatpanel/plugin.js
index 7e9af39d017..4a24dfa4d31 100644
--- a/third_party/ckeditor/_source/plugins/floatpanel/plugin.js
+++ b/third_party/ckeditor/_source/plugins/floatpanel/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -207,16 +207,9 @@ CKEDITOR.plugins.add( 'floatpanel',
if ( block.autoSize )
{
- // We must adjust first the width or IE6 could include extra lines in the height computation
- var widthNode = block.element.$;
+ var panelDoc = block.element.getDocument();
+ var width = ( CKEDITOR.env.webkit? block.element : panelDoc.getBody() )[ '$' ].scrollWidth;
- if ( CKEDITOR.env.gecko || CKEDITOR.env.opera )
- widthNode = widthNode.parentNode;
-
- if ( CKEDITOR.env.ie )
- widthNode = widthNode.document.body;
-
- var width = widthNode.scrollWidth;
// Account for extra height needed due to IE quirks box model bug:
// http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
// (#3426)
diff --git a/third_party/ckeditor/_source/plugins/font/plugin.js b/third_party/ckeditor/_source/plugins/font/plugin.js
index 268f2ee07f4..6248e68b3af 100644
--- a/third_party/ckeditor/_source/plugins/font/plugin.js
+++ b/third_party/ckeditor/_source/plugins/font/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/format/plugin.js b/third_party/ckeditor/_source/plugins/format/plugin.js
index 6488e75b25a..6df5edf05df 100644
--- a/third_party/ckeditor/_source/plugins/format/plugin.js
+++ b/third_party/ckeditor/_source/plugins/format/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/button.js b/third_party/ckeditor/_source/plugins/forms/dialogs/button.js
index abb6b8a326c..b7ae7f7c80d 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/button.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/button.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'button', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/checkbox.js b/third_party/ckeditor/_source/plugins/forms/dialogs/checkbox.js
index 5a440465ed0..56a9c35ee7a 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/checkbox.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/checkbox.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'checkbox', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/form.js b/third_party/ckeditor/_source/plugins/forms/dialogs/form.js
index c637ab36db8..177872452e8 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/form.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/form.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'form', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js b/third_party/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js
index 2f629a916a1..3ef9f84da03 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/hiddenfield.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'hiddenfield', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/radio.js b/third_party/ckeditor/_source/plugins/forms/dialogs/radio.js
index 9ea06733e15..0381fab487b 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/radio.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/radio.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'radio', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/select.js b/third_party/ckeditor/_source/plugins/forms/dialogs/select.js
index 0117ec9cff9..04f5065b5f1 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/select.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/select.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'select', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/textarea.js b/third_party/ckeditor/_source/plugins/forms/dialogs/textarea.js
index cae945dd59c..dffab657d80 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/textarea.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/textarea.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'textarea', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/dialogs/textfield.js b/third_party/ckeditor/_source/plugins/forms/dialogs/textfield.js
index 877edb8ad21..35025c174a5 100644
--- a/third_party/ckeditor/_source/plugins/forms/dialogs/textfield.js
+++ b/third_party/ckeditor/_source/plugins/forms/dialogs/textfield.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'textfield', function( editor )
diff --git a/third_party/ckeditor/_source/plugins/forms/plugin.js b/third_party/ckeditor/_source/plugins/forms/plugin.js
index 233fe91104c..cd3831ca657 100644
--- a/third_party/ckeditor/_source/plugins/forms/plugin.js
+++ b/third_party/ckeditor/_source/plugins/forms/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/horizontalrule/plugin.js b/third_party/ckeditor/_source/plugins/horizontalrule/plugin.js
index bdf94531af4..618ebaa2af0 100644
--- a/third_party/ckeditor/_source/plugins/horizontalrule/plugin.js
+++ b/third_party/ckeditor/_source/plugins/horizontalrule/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
diff --git a/third_party/ckeditor/_source/plugins/htmldataprocessor/plugin.js b/third_party/ckeditor/_source/plugins/htmldataprocessor/plugin.js
index ecf87ed4521..2bf39af58fb 100644
--- a/third_party/ckeditor/_source/plugins/htmldataprocessor/plugin.js
+++ b/third_party/ckeditor/_source/plugins/htmldataprocessor/plugin.js
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
@@ -21,6 +21,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
return last;
}
+ function getNodeIndex( node ) {
+ var parent = node.parent;
+ return parent ? CKEDITOR.tools.indexOf( parent.children, node ) : -1;
+ }
+
function trimFillers( block, fromSource )
{
// If the current node is a block, and if we're converting from source or
@@ -159,12 +164,29 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
// The contents of table should be in correct order (#4809).
table : function( element )
{
- var children = element.children;
+ // Clone the array as it would become empty during the sort call.
+ var children = element.children.slice( 0 );
children.sort( function ( node1, node2 )
{
- return node1.type == CKEDITOR.NODE_ELEMENT && node2.type == node1.type ?
- CKEDITOR.tools.indexOf( tableOrder, node1.name ) > CKEDITOR.tools.indexOf( tableOrder, node2.name ) ? 1 : -1 : 0;
- } );
+ var index1, index2;
+
+ // Compare in the predefined order.
+ if ( node1.type == CKEDITOR.NODE_ELEMENT &&
+ node2.type == node1.type )
+ {
+ index1 = CKEDITOR.tools.indexOf( tableOrder, node1.name );
+ index2 = CKEDITOR.tools.indexOf( tableOrder, node2.name );
+ }
+
+ // Make sure the sort is stable, if no order can be established above.
+ if ( !( index1 > -1 && index2 > -1 && index1 != index2 ) )
+ {
+ index1 = getNodeIndex( node1 );
+ index2 = getNodeIndex( node2 );
+ }
+
+ return index1 > index2 ? 1 : -1;
+ } );
},
embed : function( element )
@@ -288,7 +310,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
defaultHtmlFilterRules.elements[ i ] = unprotectReadyOnly;
}
- var protectElementRegex = /<(a|area|img|input)\b([^>]*)>/gi,
+ var protectElementRegex = /<(a|area|img|input|source)\b([^>]*)>/gi,
protectAttributeRegex = /\b(on\w+|href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+))/gi;
var protectElementsRegex = /(?:');else h.push(' ');}return h.join('');},htmlEncode:function(f){var g=function(k){var l=new d.element('span');l.setText(k);return l.getHtml();},h=g('\n').toLowerCase()==' '?function(k){return g(k).replace(/ /gi,'\n');}:g,i=g('>')=='>'?function(k){return h(k).replace(/>/g,'>');}:h,j=g(' ')==' '?function(k){return i(k).replace(/ /g,' ');}:i;this.htmlEncode=j;return this.htmlEncode(f);},htmlEncodeAttr:function(f){return f.replace(/"/g,'"').replace(//g,'>');},getNextNumber:(function(){var f=0;return function(){return++f;};})(),getNextId:function(){return 'cke_'+this.getNextNumber();},override:function(f,g){return g(f);},setTimeout:function(f,g,h,i,j){if(!j)j=window;if(!h)h=j;return j.setTimeout(function(){if(i)f.apply(h,[].concat(i));else f.apply(h);},g||0);},trim:(function(){var f=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(g){return g.replace(f,'');};})(),ltrim:(function(){var f=/^[ \t\n\r]+/g;return function(g){return g.replace(f,'');};})(),rtrim:(function(){var f=/[ \t\n\r]+$/g;return function(g){return g.replace(f,'');};})(),indexOf:Array.prototype.indexOf?function(f,g){return f.indexOf(g);}:function(f,g){for(var h=0,i=f.length;h',a.document);a.document.getBody().append(f);}if(!/%$/.test(g)){f.setStyle('width',g);return f.$.clientWidth;}return g;};})(),repeat:function(f,g){return new Array(g+1).join(f);},tryThese:function(){var f;for(var g=0,h=arguments.length;g=8?document.documentMode:'7');if(d.quirks)d.cssClass+=' cke_browser_iequirks';if(document.documentMode&&document.documentMode>=9)d.cssClass+=' cke_browser_ie9plus';}if(d.gecko&&e<10900)d.cssClass+=' cke_browser_gecko18';if(d.air)d.cssClass+=' cke_browser_air';return d;})();var b=a.env;var c=b.ie;if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=1;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript';e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);};a.loadFullCoreTimeout=0;a.replaceClass='ckeditor';a.replaceByClassEnabled=1;var d=function(e,f,g,h){if(b.isCompatible){if(a.loadFullCore)a.loadFullCore();var i=g(e,f,h);a.add(i);return i;}return null;};a.replace=function(e,f){return d(e,f,a.editor.replace);};a.appendTo=function(e,f,g){return d(e,f,a.editor.appendTo,g);};a.add=function(e){var f=this._.pending||(this._.pending=[]);f.push(e);};a.replaceAll=function(){var e=document.getElementsByTagName('textarea');for(var f=0;f'+g+'');else h.push(' ');}return h.join('');},htmlEncode:function(f){var g=function(k){var l=new d.element('span');l.setText(k);return l.getHtml();},h=g('\n').toLowerCase()==' '?function(k){return g(k).replace(/ /gi,'\n');}:g,i=g('>')=='>'?function(k){return h(k).replace(/>/g,'>');}:h,j=g(' ')==' '?function(k){return i(k).replace(/ /g,' ');}:i;this.htmlEncode=j;return this.htmlEncode(f);},htmlEncodeAttr:function(f){return f.replace(/"/g,'"').replace(//g,'>');},getNextNumber:(function(){var f=0;return function(){return++f;};})(),getNextId:function(){return 'cke_'+this.getNextNumber();},override:function(f,g){return g(f);},setTimeout:function(f,g,h,i,j){if(!j)j=window;if(!h)h=j;return j.setTimeout(function(){if(i)f.apply(h,[].concat(i));else f.apply(h);},g||0);},trim:(function(){var f=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(g){return g.replace(f,'');};})(),ltrim:(function(){var f=/^[ \t\n\r]+/g;return function(g){return g.replace(f,'');};})(),rtrim:(function(){var f=/[ \t\n\r]+$/g;return function(g){return g.replace(f,'');};})(),indexOf:Array.prototype.indexOf?function(f,g){return f.indexOf(g);}:function(f,g){for(var h=0,i=f.length;h',a.document);a.document.getBody().append(f);}if(!/%$/.test(g)){f.setStyle('width',g);return f.$.clientWidth;}return g;};})(),repeat:function(f,g){return new Array(g+1).join(f);},tryThese:function(){var f;for(var g=0,h=arguments.length;g8))&&i)h=i+':'+h;return new d.nodeList(this.$.getElementsByTagName(h));},getHead:function(){var h=this.$.getElementsByTagName('head')[0];if(!h)h=this.getDocumentElement().append(new d.element('head'),true);else h=new d.element(h);return(this.getHead=function(){return h;})();},getBody:function(){var h=new d.element(this.$.body);return(this.getBody=function(){return h;})();},getDocumentElement:function(){var h=new d.element(this.$.documentElement);return(this.getDocumentElement=function(){return h;})();},getWindow:function(){var h=new d.window(this.$.parentWindow||this.$.defaultView);return(this.getWindow=function(){return h;})();},write:function(h){var i=this;i.$.open('text/html','replace');b.isCustomDomain()&&(i.$.domain=document.domain);i.$.write(h);i.$.close();}});d.node=function(h){if(h){var i=h.nodeType==9?'document':h.nodeType==1?'element':h.nodeType==3?'text':h.nodeType==8?'comment':'domObject';return new d[i](h);}return this;};d.node.prototype=new d.domObject();a.NODE_ELEMENT=1;
@@ -25,7 +25,7 @@ l.basePath=j;l.fileName=k;l.registered={};l.loaded={};l.externals={};l._={waitin
for(var A=0;A=0?x.langCode:J[0];if(!I.langEntries||!I.langEntries[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.langEntries[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(var N=0;N]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s*((?:(?:\"[^\"]*\")|(?:'[^']*')|[^\"'>])*)\\/?>))",'g')};};(function(){var l=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,m={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};a.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(n){var A=this;var o,p,q=0,r;while(o=A._.htmlPartsRegex.exec(n)){var s=o.index;if(s>q){var t=n.substring(q,s);if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();if(/="/.test(p))continue;
-var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1].toLowerCase(),z=v[2]||v[3]||v[4]||'';if(!z&&m[y])u[y]=y;else u[y]=z;}A.onTagOpen(p,u,x);if(!r&&f.$cdata[p])r=[];continue;}if(p=o[2])A.onComment(p);}if(n.length>q)A.onText(n.substring(q,n.length));}};})();a.htmlParser.comment=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.comment.prototype={type:8,writeHtml:function(l,m){var n=this.value;if(m){if(!(n=m.onComment(n,this)))return;if(typeof n!='string'){n.parent=this.parent;n.writeHtml(l,m);return;}}l.comment(n);}};(function(){a.htmlParser.text=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.text.prototype={type:3,writeHtml:function(l,m){var n=this.value;if(m&&!(n=m.onText(n,this)))return;l.text(n);}};})();(function(){a.htmlParser.cdata=function(l){this.value=l;};a.htmlParser.cdata.prototype={type:3,writeHtml:function(l){l.write(this.value);}};})();a.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:true,hasInlineStarted:false};};(function(){var l=e.extend({table:1,ul:1,ol:1,dl:1},f.table,f.ul,f.ol,f.dl),m=c&&b.version<8?{dd:1,dt:1}:{},n={ol:1,ul:1},o=e.extend({},{html:1},f.html,f.body,f.head,{style:1,script:1});function p(q){return q.name=='a'&&q.attributes.href||f.$removeEmpty[q.name];};a.htmlParser.fragment.fromHtml=function(q,r,s){var t=new a.htmlParser(),u=s||new a.htmlParser.fragment(),v=[],w=[],x=u,y=false,z=false;function A(D){var E;if(v.length>0)for(var F=0;Fq)A.onText(n.substring(q,n.length));}};})();a.htmlParser.comment=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.comment.prototype={type:8,writeHtml:function(l,m){var n=this.value;if(m){if(!(n=m.onComment(n,this)))return;if(typeof n!='string'){n.parent=this.parent;n.writeHtml(l,m);return;}}l.comment(n);}};(function(){a.htmlParser.text=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.text.prototype={type:3,writeHtml:function(l,m){var n=this.value;if(m&&!(n=m.onText(n,this)))return;l.text(n);}};})();(function(){a.htmlParser.cdata=function(l){this.value=l;};a.htmlParser.cdata.prototype={type:3,writeHtml:function(l){l.write(this.value);}};})();a.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:true,hasInlineStarted:false};};(function(){var l=e.extend({table:1,ul:1,ol:1,dl:1},f.table,f.ul,f.ol,f.dl),m=c&&b.version<8?{dd:1,dt:1}:{},n={ol:1,ul:1},o=e.extend({},{html:1},f.html,f.body,f.head,{style:1,script:1});function p(q){return q.name=='a'&&q.attributes.href||f.$removeEmpty[q.name];};a.htmlParser.fragment.fromHtml=function(q,r,s){var t=new a.htmlParser(),u=s||new a.htmlParser.fragment(),v=[],w=[],x=u,y=false,z=false;function A(D){var E;if(v.length>0)for(var F=0;F=0;E--){if(D==v[E].name){v.splice(E,1);return;}}var F=[],G=[],H=x;while(H!=u&&H.name!=D){if(!H._.isBlockLike)G.unshift(H);F.push(H);H=H.returnPoint||H.parent;}if(H!=u){for(E=0;E0?t.children[r-1]:null;if(s){if(q._.isBlockLike&&s.type==3){s.value=e.rtrim(s.value);if(s.value.length===0){t.children.pop();t.add(q);return;}}s.next=q;}q.previous=s;q.parent=t;t.children.splice(r,0,q);t._.hasInlineStarted=q.type==3||q.type==1&&!q._.isBlockLike;},writeHtml:function(q,r){var s;this.filterChildren=function(){var t=new a.htmlParser.basicWriter();this.writeChildrenHtml.call(this,t,r,true);var u=t.getHtml();this.children=new a.htmlParser.fragment.fromHtml(u).children;s=1;};!this.name&&r&&r.onFragment(this);this.writeChildrenHtml(q,s?null:r);},writeChildrenHtml:function(q,r){for(var s=0;sn?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=function(){if(!u){var B=new a.htmlParser.basicWriter();a.htmlParser.fragment.prototype.writeChildrenHtml.call(p,B,n);p.children=new a.htmlParser.fragment.fromHtml(B.getHtml(),0,p.clone()).children;u=1;}};if(n){for(;;){if(!(q=n.onElementName(q)))return;p.name=q;if(!(p=n.onElement(p)))return;p.parent=this.parent;if(p.name==q)break;if(p.type!=1){p.writeHtml(m,n);return;}q=p.name;if(!q){for(var v=0,w=this.children.length;v=0;u--){var x=r[u];if(x){x.pri=s;q.splice(t,0,x);}}}};function n(q,r,s){if(r)for(var t in r){var u=q[t];q[t]=o(u,r[t],s);if(!u)q.$length++;}};function o(q,r,s){if(r){r.pri=s;if(q){if(!q.splice){if(q.pri>s)q=[r,q];else q=[q,r];q.filter=p;}else m(q,r,s);return q;}else{r.filter=r;return r;}}};function p(q){var r=q.type||q instanceof a.htmlParser.fragment;for(var s=0;s ');else this._.output.push('>');},attribute:function(l,m){if(typeof m=='string')m=e.htmlEncodeAttr(m);this._.output.push(' ',l,'="',m,'"');},closeTag:function(l){this._.output.push('',l,'>');},text:function(l){this._.output.push(l);},comment:function(l){this._.output.push('');},write:function(l){this._.output.push(l);
@@ -49,10 +49,10 @@ m==0?n.setAttribute('aria-disabled',true):n.removeAttribute('aria-disabled');m==
},0);};function t(y){if(!c||b.quirks)return;var z=y.getSelection(),A;if(z.getType()==3&&(A=z.getSelectedElement())){var B=z.getRanges()[0],C=y.document.createText('');C.insertBefore(A);B.setStartBefore(C);B.setEndAfter(A);z.selectRanges([B]);setTimeout(function(){if(A.getParent()){C.remove();z.selectElement(A);}},0);}};var u,v;function w(y,z){var A;if(v&&y in {Paste:1,Cut:1})return 0;if(y=='Paste'){c&&(u=1);try{A=z.document.$.queryCommandEnabled(y)||b.webkit;}catch(D){}u=0;}else{var B=z.getSelection(),C=B&&B.getRanges();A=B&&!(C.length==1&&C[0].collapsed);}return A?2:0;};function x(){var z=this;if(z.mode!='wysiwyg')return;var y=w('Paste',z);z.getCommand('cut').setState(w('Cut',z));z.getCommand('copy').setState(w('Copy',z));z.getCommand('paste').setState(y);z.fire('pasteState',y);};j.add('clipboard',{requires:['dialog','htmldataprocessor'],init:function(y){y.on('paste',function(A){var B=A.data;if(B.html)y.insertHtml(B.html);else if(B.text)y.insertText(B.text);setTimeout(function(){y.fire('afterPaste');},0);},null,null,1000);y.on('pasteDialog',function(A){setTimeout(function(){y.openDialog('paste');},0);});y.on('pasteState',function(A){y.getCommand('paste').setState(A.data);});function z(A,B,C,D){var E=y.lang[B];y.addCommand(B,C);y.ui.addButton(A,{label:E,command:B});if(y.addMenuItems)y.addMenuItem(B,{label:E,command:B,group:'clipboard',order:D});};z('Cut','cut',new o('cut'),1);z('Copy','copy',new o('copy'),4);z('Paste','paste',p,8);a.dialog.add('paste',a.getUrl(this.path+'dialogs/paste.js'));y.on('key',q,y);y.on('contentDom',function(){var A=y.document.getBody();A.on(!c?'paste':'beforepaste',function(B){if(u)return;var C=B.data&&B.data.$;if(c&&C&&!C.ctrlKey)return;var D={mode:'html'};y.fire('beforePaste',D);s.call(y,B,D.mode,function(E){if(!(E=e.trim(E.replace(/]+data-cke-bookmark[^<]*?<\/span>/ig,''))))return;var F={};F[D.mode]=E;y.fire('paste',F);});});if(c){A.on('contextmenu',function(){u=1;setTimeout(function(){u=0;},0);});A.on('paste',function(B){if(!y.document.getById('cke_pastebin')){B.data.preventDefault();u=0;p.exec(y);}});}A.on('beforecut',function(){!u&&t(y);});A.on('mouseup',function(){setTimeout(function(){x.call(y);},0);},y);A.on('keyup',x,y);});y.on('selectionChange',function(A){v=A.data.selection.getRanges()[0].checkReadOnly();x.call(y);});if(y.contextMenu)y.contextMenu.addListener(function(A,B){var C=B.getRanges()[0].checkReadOnly();return{cut:w('Cut',y),copy:w('Copy',y),paste:w('Paste',y)};});}});})();j.add('colorbutton',{requires:['panelbutton','floatpanel','styles'],init:function(m){var n=m.config,o=m.lang.colorButton,p;
if(!b.hc){q('TextColor','fore',o.textColorTitle);q('BGColor','back',o.bgColorTitle);}function q(t,u,v){var w=e.getNextId()+'_colorBox';m.ui.add(t,'panelbutton',{label:v,title:v,className:'cke_button_'+t.toLowerCase(),modes:{wysiwyg:1},panel:{css:m.skin.editor.css,attributes:{role:'listbox','aria-label':o.panelTitle}},onBlock:function(x,y){y.autoSize=true;y.element.addClass('cke_colorblock');y.element.setHtml(r(x,u,w));y.element.getDocument().getBody().setStyle('overflow','hidden');k.fire('ready',this);var z=y.keys,A=m.lang.dir=='rtl';z[A?37:39]='next';z[40]='next';z[9]='next';z[A?39:37]='prev';z[38]='prev';z[2228224+9]='prev';z[32]='click';},onOpen:function(){var x=m.getSelection(),y=x&&x.getStartElement(),z=new d.elementPath(y),A;y=z.block||z.blockLimit||m.document.getBody();do A=y&&y.getComputedStyle(u=='back'?'background-color':'color')||'transparent';while(u=='back'&&A=='transparent'&&y&&(y=y.getParent()));if(!A||A=='transparent')A='#ffffff';this._.panel._.iframe.getFrameDocument().getById(w).setStyle('background-color',A);}});};function r(t,u,v){var w=[],x=n.colorButton_colors.split(','),y=e.addFunction(function(E,F){if(E=='?'){var G=arguments.callee;function H(J){this.removeListener('ok',H);this.removeListener('cancel',H);J.name=='ok'&&G(this.getContentElement('picker','selectedColor').getValue(),F);};m.openDialog('colordialog',function(){this.on('ok',H);this.on('cancel',H);});return;}m.focus();t.hide(false);m.fire('saveSnapshot');new a.style(n['colorButton_'+F+'Style'],{color:'inherit'}).remove(m.document);if(E){var I=n['colorButton_'+F+'Style'];I.childRule=F=='back'?function(J){return s(J);}:function(J){return!(J.is('a')||J.getElementsByTag('a').count())||s(J);};new a.style(I,{color:E}).apply(m.document);}m.fire('saveSnapshot');});w.push('');for(var z=0;z');var A=x[z].split('/'),B=A[0],C=A[1]||B;if(!A[1])B='#'+B.replace(/^(.)(.)(.)$/,'$1$1$2$2$3$3');var D=m.lang.colors[C]||C;w.push(' ');
}if(n.colorButton_enableMore===undefined||n.colorButton_enableMore)w.push(' ',o.more,' ');w.push('
');return w.join('');};function s(t){return t.getAttribute('contentEditable')=='false'||t.getAttribute('data-nostyle');};}});i.colorButton_colors='000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF';i.colorButton_foreStyle={element:'span',styles:{color:'#(color)'},overrides:[{element:'font',attributes:{color:null}}]};i.colorButton_backStyle={element:'span',styles:{'background-color':'#(color)'}};j.colordialog={requires:['dialog'],init:function(m){m.addCommand('colordialog',new a.dialogCommand('colordialog'));a.dialog.add('colordialog',this.path+'dialogs/colordialog.js');}};j.add('colordialog',j.colordialog);j.add('contextmenu',{requires:['menu'],onLoad:function(){j.contextMenu=e.createClass({base:a.menu,$:function(m){this.base.call(this,m,{panel:{className:m.skinClass+' cke_contextmenu',attributes:{'aria-label':m.lang.contextmenu.options}}});},proto:{addTarget:function(m,n){if(b.opera&&!('oncontextmenu' in document.body)){var o;m.on('mousedown',function(s){s=s.data;if(s.$.button!=2){if(s.getKeystroke()==1114112+1)m.fire('contextmenu',s);return;}if(n&&(b.mac?s.$.metaKey:s.$.ctrlKey))return;var t=s.getTarget();if(!o){var u=t.getDocument();o=u.createElement('input');o.$.type='button';u.getBody().append(o);}o.setAttribute('style','position:absolute;top:'+(s.$.clientY-2)+'px;left:'+(s.$.clientX-2)+'px;width:5px;height:5px;opacity:0.01');});m.on('mouseup',function(s){if(o){o.remove();o=undefined;m.fire('contextmenu',s.data);}});}m.on('contextmenu',function(s){var t=s.data;if(n&&(b.webkit?p:b.mac?t.$.metaKey:t.$.ctrlKey))return;t.preventDefault();var u=t.getTarget().getDocument().getDocumentElement(),v=t.$.clientX,w=t.$.clientY;e.setTimeout(function(){this.open(u,null,v,w);},c?200:0,this);},this);if(b.opera)m.on('keypress',function(s){var t=s.data;if(t.$.keyCode===0)t.preventDefault();});if(b.webkit){var p,q=function(s){p=b.mac?s.data.$.metaKey:s.data.$.ctrlKey;},r=function(){p=0;};m.on('keydown',q);m.on('keyup',r);
-m.on('contextmenu',r);}},open:function(m,n,o,p){this.editor.focus();m=m||a.document.getDocumentElement();this.show(m,n,o,p);}}});},beforeInit:function(m){m.contextMenu=new j.contextMenu(m);m.addCommand('contextMenu',{exec:function(){m.contextMenu.open(m.document.getBody());}});}});(function(){function m(o){var p=this.att,q=o&&o.hasAttribute(p)&&o.getAttribute(p)||'';if(q!==undefined)this.setValue(q);};function n(){var o;for(var p=0;p ';j.add('elementspath',{requires:['selection'],init:function(o){var p='cke_path_'+o.name,q,r=function(){if(!q)q=a.document.getById(p);return q;},s='cke_elementspath_'+e.getNextNumber()+'_';o._.elementsPath={idBase:s,filters:[]};o.on('themeSpace',function(x){if(x.data.space=='bottom')x.data.html+=''+o.lang.elementsPath.eleLabel+' '+''+n+'
';});function t(x){o.focus();var y=o._.elementsPath.list[x];if(y.is('body')){var z=new d.range(o.document);z.selectNodeContents(y);z.select();}else o.getSelection().selectElement(y);};var u=e.addFunction(t),v=e.addFunction(function(x,y){var z=o._.elementsPath.idBase,A;y=new d.event(y);var B=o.lang.dir=='rtl';switch(y.getKeystroke()){case B?39:37:case 9:A=a.document.getById(z+(x+1));if(!A)A=a.document.getById(z+'0');A.focus();return false;case B?37:39:case 2228224+9:A=a.document.getById(z+(x-1));if(!A)A=a.document.getById(z+(o._.elementsPath.list.length-1));A.focus();return false;case 27:o.focus();return false;case 13:case 32:t(x);return false;}return true;});o.on('selectionChange',function(x){var y=b,z=x.data.selection,A=z.getStartElement(),B=[],C=x.editor,D=C._.elementsPath.list=[],E=C._.elementsPath.filters;while(A){var F=0,G;if(A.data('cke-display-name'))G=A.data('cke-display-name');else if(A.data('cke-real-element-type'))G=A.data('cke-real-element-type');else G=A.getName();for(var H=0;H',G,''+L+' ','');}if(G=='body')break;A=A.getParent();}var M=r();M.setHtml(B.join('')+n);C.fire('elementsPathUpdate',{space:M});});function w(){q&&q.setHtml(n);delete o._.elementsPath.list;};o.on('readOnly',w);o.on('contentDomUnload',w);o.addCommand('elementsPathFocus',m.toolbarFocus);}});})();(function(){j.add('enterkey',{requires:['keystrokes','indent'],init:function(t){t.addCommand('enter',{modes:{wysiwyg:1},editorFocus:false,exec:function(v){r(v);}});t.addCommand('shiftEnter',{modes:{wysiwyg:1},editorFocus:false,exec:function(v){q(v);}});var u=t.keystrokeHandler.keystrokes;u[13]='enter';u[2228224+13]='shiftEnter';}});j.enterkey={enterBlock:function(t,u,v,w){v=v||s(t);if(!v)return;var x=v.document,y=v.checkStartOfBlock(),z=v.checkEndOfBlock(),A=new d.elementPath(v.startContainer),B=A.block;if(y&&z){if(B&&(B.is('li')||B.getParent().is('li'))){t.execCommand('outdent');return;}if(B&&B.getParent().is('blockquote')){B.breakParent(B.getParent());if(!B.getPrevious().getFirst(d.walker.invisible(1)))B.getPrevious().remove();if(!B.getNext().getFirst(d.walker.invisible(1)))B.getNext().remove();v.moveToElementEditStart(B);v.select();return;}}else if(B&&B.is('pre')){if(!z){n(t,u,v,w);return;}}else if(B&&f.$captionBlock[B.getName()]){n(t,u,v,w);return;}var C=u==3?'div':'p',D=v.splitBlock(C);if(!D)return;var E=D.previousBlock,F=D.nextBlock,G=D.wasStartOfBlock,H=D.wasEndOfBlock,I;if(F){I=F.getParent();if(I.is('li')){F.breakParent(I);F.move(F.getNext(),1);}}else if(E&&(I=E.getParent())&&I.is('li')){E.breakParent(I);I=E.getNext();v.moveToElementEditStart(I);E.move(E.getPrevious());}if(!G&&!H){if(F.is('li')&&(I=F.getFirst(d.walker.invisible(true)))&&I.is&&I.is('ul','ol'))(c?x.createText('\xa0'):x.createElement('br')).insertBefore(I);if(F)v.moveToElementEditStart(F);}else{var J,K;if(E){if(E.is('li')||!(p.test(E.getName())||E.is('pre')))J=E.clone();}else if(F)J=F.clone();if(!J){if(I&&I.is('li'))J=I;else{J=x.createElement(C);if(E&&(K=E.getDirection()))J.setAttribute('dir',K);
-}}else if(w&&!J.is('li'))J.renameNode(C);var L=D.elementPath;if(L)for(var M=0,N=L.elements.length;M0;v--)u[v].deleteContents();return u[0];};})();(function(){var m='nbsp,gt,lt,amp',n='quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro',o='Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml',p='Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv';
+m.on('contextmenu',r);}},open:function(m,n,o,p){this.editor.focus();m=m||a.document.getDocumentElement();this.show(m,n,o,p);}}});},beforeInit:function(m){m.contextMenu=new j.contextMenu(m);m.addCommand('contextMenu',{exec:function(){m.contextMenu.open(m.document.getBody());}});}});(function(){function m(o){var p=this.att,q=o&&o.hasAttribute(p)&&o.getAttribute(p)||'';if(q!==undefined)this.setValue(q);};function n(){var o;for(var p=0;p ';j.add('elementspath',{requires:['selection'],init:function(o){var p='cke_path_'+o.name,q,r=function(){if(!q)q=a.document.getById(p);return q;},s='cke_elementspath_'+e.getNextNumber()+'_';o._.elementsPath={idBase:s,filters:[]};o.on('themeSpace',function(x){if(x.data.space=='bottom')x.data.html+=''+o.lang.elementsPath.eleLabel+' '+''+n+'
';});function t(x){o.focus();var y=o._.elementsPath.list[x];if(y.is('body')){var z=new d.range(o.document);z.selectNodeContents(y);z.select();}else o.getSelection().selectElement(y);};var u=e.addFunction(t),v=e.addFunction(function(x,y){var z=o._.elementsPath.idBase,A;y=new d.event(y);var B=o.lang.dir=='rtl';switch(y.getKeystroke()){case B?39:37:case 9:A=a.document.getById(z+(x+1));if(!A)A=a.document.getById(z+'0');A.focus();return false;case B?37:39:case 2228224+9:A=a.document.getById(z+(x-1));if(!A)A=a.document.getById(z+(o._.elementsPath.list.length-1));A.focus();return false;case 27:o.focus();return false;case 13:case 32:t(x);return false;}return true;});o.on('selectionChange',function(x){var y=b,z=x.data.selection,A=z.getStartElement(),B=[],C=x.editor,D=C._.elementsPath.list=[],E=C._.elementsPath.filters;while(A){var F=0,G;if(A.data('cke-display-name'))G=A.data('cke-display-name');else if(A.data('cke-real-element-type'))G=A.data('cke-real-element-type');else G=A.getName();for(var H=0;H',G,''+L+' ','');}if(G=='body')break;A=A.getParent();}var M=r();M.setHtml(B.join('')+n);C.fire('elementsPathUpdate',{space:M});});function w(){q&&q.setHtml(n);delete o._.elementsPath.list;};o.on('readOnly',w);o.on('contentDomUnload',w);o.addCommand('elementsPathFocus',m.toolbarFocus);}});})();(function(){j.add('enterkey',{requires:['keystrokes','indent'],init:function(t){t.addCommand('enter',{modes:{wysiwyg:1},editorFocus:false,exec:function(v){r(v);}});t.addCommand('shiftEnter',{modes:{wysiwyg:1},editorFocus:false,exec:function(v){q(v);}});var u=t.keystrokeHandler.keystrokes;u[13]='enter';u[2228224+13]='shiftEnter';}});j.enterkey={enterBlock:function(t,u,v,w){v=v||s(t);if(!v)return;var x=v.document,y=v.checkStartOfBlock(),z=v.checkEndOfBlock(),A=new d.elementPath(v.startContainer),B=A.block;if(y&&z){if(B&&(B.is('li')||B.getParent().is('li'))){t.execCommand('outdent');return;}if(B&&B.getParent().is('blockquote')){B.breakParent(B.getParent());if(!B.getPrevious().getFirst(d.walker.invisible(1)))B.getPrevious().remove();if(!B.getNext().getFirst(d.walker.invisible(1)))B.getNext().remove();v.moveToElementEditStart(B);v.select();return;}}else if(B&&B.is('pre')){if(!z){n(t,u,v,w);return;}}else if(B&&f.$captionBlock[B.getName()]){n(t,u,v,w);return;}var C=u==3?'div':'p',D=v.splitBlock(C);if(!D)return;var E=D.previousBlock,F=D.nextBlock,G=D.wasStartOfBlock,H=D.wasEndOfBlock,I;if(F){I=F.getParent();if(I.is('li')){F.breakParent(I);F.move(F.getNext(),1);}}else if(E&&(I=E.getParent())&&I.is('li')){E.breakParent(I);I=E.getNext();v.moveToElementEditStart(I);E.move(E.getPrevious());}if(!G&&!H){if(F.is('li')&&(I=F.getFirst(d.walker.invisible(true)))&&I.is&&I.is('ul','ol'))(c?x.createText('\xa0'):x.createElement('br')).insertBefore(I);if(F)v.moveToElementEditStart(F);}else{var J,K;if(E){if(E.is('li')||!(p.test(E.getName())||E.is('pre')))J=E.clone();}else if(F)J=F.clone();if(!J){if(I&&I.is('li'))J=I;
+else{J=x.createElement(C);if(E&&(K=E.getDirection()))J.setAttribute('dir',K);}}else if(w&&!J.is('li'))J.renameNode(C);var L=D.elementPath;if(L)for(var M=0,N=L.elements.length;M0;v--)u[v].deleteContents();return u[0];};})();(function(){var m='nbsp,gt,lt,amp',n='quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro',o='Agrave,Aacute,Acirc,Atilde,Auml,Aring,AElig,Ccedil,Egrave,Eacute,Ecirc,Euml,Igrave,Iacute,Icirc,Iuml,ETH,Ntilde,Ograve,Oacute,Ocirc,Otilde,Ouml,Oslash,Ugrave,Uacute,Ucirc,Uuml,Yacute,THORN,szlig,agrave,aacute,acirc,atilde,auml,aring,aelig,ccedil,egrave,eacute,ecirc,euml,igrave,iacute,icirc,iuml,eth,ntilde,ograve,oacute,ocirc,otilde,ouml,oslash,ugrave,uacute,ucirc,uuml,yacute,thorn,yuml,OElig,oelig,Scaron,scaron,Yuml',p='Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv';
function q(r,s){var t={},u=[],v={nbsp:'\xa0',shy:'',gt:'>',lt:'<',amp:'&',apos:"'",quot:'"'};r=r.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g,function(A,B){var C=s?'&'+B+';':v[B],D=s?v[B]:'&'+B+';';t[C]=D;u.push(C);return '';});if(!s&&r){r=r.split(',');var w=document.createElement('div'),x;w.innerHTML='&'+r.join(';&')+';';x=w.innerHTML;w=null;for(var y=0;y ');s.children.length=0;s.add(u);var v=s.attributes;delete v['aria-label'];delete v.contenteditable;delete v.title;}return t;}}},5);if(p)p.addRules({elements:{div:function(r){var s=r.attributes,t=s&&s.style,u=t&&r.children.length==1&&r.children[0],v=u&&u.name=='span'&&u.attributes.style;if(v&&/page-break-after\s*:\s*always/i.test(t)&&/display\s*:\s*none/i.test(v)){s.contenteditable='false';s['class']='cke_pagebreak';s['data-cke-display-name']='pagebreak';s['aria-label']=n;s.title=n;r.children.length=0;}}}});},requires:['fakeobjects']});j.pagebreakCmd={exec:function(m){var n=m.lang.pagebreakAlt,o=h.createFromHtml(''+'
',m.document),p=m.getSelection().getRanges(true);m.fire('saveSnapshot');for(var q,r=p.length-1;r>=0;r--){q=p[r];if(r1&&n.substr(n.length-1,1)=='%')n=parseInt(window.screen.width*parseInt(n,10)/100,10);if(typeof o=='string'&&o.length>1&&o.substr(o.length-1,1)=='%')o=parseInt(window.screen.height*parseInt(o,10)/100,10);if(n<640)n=640;if(o<420)o=420;var q=parseInt((window.screen.height-o)/2,10),r=parseInt((window.screen.width-n)/2,10);p=(p||'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes')+',width='+n+',height='+o+',top='+q+',left='+r;var s=window.open('',null,p,true);if(!s)return false;try{var t=navigator.userAgent.toLowerCase();if(t.indexOf(' chrome/')==-1){s.moveTo(r,q);s.resizeTo(n,o);}s.focus();s.location.href=m;}catch(u){s=window.open(m,null,p,true);}return true;}});(function(){var m,n={modes:{wysiwyg:1,source:1},canUndo:false,readOnly:1,exec:function(p){var q,r=p.config,s=r.baseHref?' ':'',t=b.isCustomDomain();if(r.fullPage)q=p.getData().replace(//,'$&'+s).replace(/[^>]*(?=<\/title>)/,'$& — '+p.lang.preview);else{var u='';q=p.config.docType+''+''+s+''+p.lang.preview+' '+e.buildStyleHtml(p.config.contentsCss)+''+u+p.getData()+'';}var w=640,x=420,y=80;try{var z=window.screen;w=Math.round(z.width*0.8);x=Math.round(z.height*0.7);y=Math.round(z.width*0.1);}catch(D){}var A='';if(t){window._cke_htmlToLoad=q;A='javascript:void( (function(){document.open();document.domain="'+document.domain+'";'+'document.write( window.opener._cke_htmlToLoad );'+'document.close();'+'window.opener._cke_htmlToLoad = null;'+'})() )';
}if(b.gecko){window._cke_htmlToLoad=q;A=m+'preview.html';}var B=window.open(A,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+w+',height='+x+',left='+y);if(!t&&!b.gecko){var C=B.document;C.open();C.write(q);C.close();b.webkit&&setTimeout(function(){C.body.innerHTML+='';},0);}}},o='preview';j.add(o,{init:function(p){m=this.path;p.addCommand(o,n);p.ui.addButton('Preview',{label:p.lang.preview,command:o});}});})();j.add('print',{init:function(m){var n='print',o=m.addCommand(n,j.print);m.ui.addButton('Print',{label:m.lang.print,command:n});}});j.print={exec:function(m){if(b.opera)return;else if(b.gecko)m.window.$.print();else m.document.$.execCommand('Print');},canUndo:false,readOnly:1,modes:{wysiwyg:!b.opera}};j.add('removeformat',{requires:['selection'],init:function(m){m.addCommand('removeFormat',j.removeformat.commands.removeformat);m.ui.addButton('RemoveFormat',{label:m.lang.removeFormat,command:'removeFormat'});m._.removeFormat={filters:[]};}});j.removeformat={commands:{removeformat:{exec:function(m){var n=m._.removeFormatRegex||(m._.removeFormatRegex=new RegExp('^(?:'+m.config.removeFormatTags.replace(/,/g,'|')+')$','i')),o=m._.removeAttributes||(m._.removeAttributes=m.config.removeFormatAttributes.split(',')),p=j.removeformat.filter,q=m.getSelection().getRanges(1),r=q.createIterator(),s;while(s=r.getNextRange()){if(!s.collapsed)s.enlarge(1);var t=s.createBookmark(),u=t.startNode,v=t.endNode,w,x=function(z){var A=new d.elementPath(z),B=A.elements;for(var C=1,D;D=B[C];C++){if(D.equals(A.block)||D.equals(A.blockLimit))break;if(n.test(D.getName())&&p(m,D))z.breakParent(D);}};x(u);if(v){x(v);w=u.getNextSourceNode(true,1);while(w){if(w.equals(v))break;var y=w.getNextSourceNode(false,1);if(!(w.getName()=='img'&&w.data('cke-realelement'))&&p(m,w))if(n.test(w.getName()))w.remove(1);else{w.removeAttributes(o);m.fire('removeFormatCleanup',w);}w=y;}}s.moveToBookmark(t);}m.getSelection().selectRanges(q);}}},filter:function(m,n){var o=m._.removeFormat.filters;for(var p=0;pr.width&&(n.resize_minWidth=r.width);n.resize_minHeight>r.height&&(n.resize_minHeight=r.height);a.document.on('mousemove',u);a.document.on('mouseup',v);if(m.document){m.document.on('mousemove',u);m.document.on('mouseup',v);}});m.on('destroy',function(){e.removeFunction(w);});m.on('themeSpace',function(x){if(x.data.space=='bottom'){var y='';if(s&&!t)y=' cke_resizer_horizontal';if(!s&&t)y=' cke_resizer_vertical';var z='
';o=='ltr'&&y=='ltr'?x.data.html+=z:x.data.html=z+x.data.html;}},m,null,100);}}});(function(){var m={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(o){var p=o.element.$.form;if(p)try{p.submit();}catch(q){if(p.submit.click)p.submit.click();}}},n='save';j.add(n,{init:function(o){var p=o.addCommand(n,m);p.modes={wysiwyg:!!o.element.$.form};o.ui.addButton('Save',{label:o.lang.save,command:n});}});})();(function(){var m='scaytcheck',n='';function o(t,u){var v=0,w;for(w in u){if(u[w]==t){v=1;break;}}return v;};var p=function(){var t=this,u=function(){var y=t.config,z={};z.srcNodeRef=t.document.getWindow().$.frameElement;z.assocApp='CKEDITOR.'+a.version+'@'+a.revision;z.customerid=y.scayt_customerid||'1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2';z.customDictionaryIds=y.scayt_customDictionaryIds||'';z.userDictionaryName=y.scayt_userDictionaryName||'';z.sLang=y.scayt_sLang||'en_US';
-z.onLoad=function(){if(!(c&&b.version<8))this.addStyle(this.selectorCss(),'padding-bottom: 2px !important;');if(t.focusManager.hasFocus&&!q.isControlRestored(t))this.focus();};z.onBeforeChange=function(){if(q.getScayt(t)&&!t.checkDirty())setTimeout(function(){t.resetDirty();},0);};var A=window.scayt_custom_params;if(typeof A=='object')for(var B in A)z[B]=A[B];if(q.getControlId(t))z.id=q.getControlId(t);var C=new window.scayt(z);C.afterMarkupRemove.push(function(E){new h(E,C.document).mergeSiblings();});var D=q.instances[t.name];if(D){C.sLang=D.sLang;C.option(D.option());C.paused=D.paused;}q.instances[t.name]=C;try{C.setDisabled(q.isPaused(t)===false);}catch(E){}t.fire('showScaytState');};t.on('contentDom',u);t.on('contentDomUnload',function(){var y=a.document.getElementsByTag('script'),z=/^dojoIoScript(\d+)$/i,A=/^https?:\/\/svc\.webspellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;for(var B=0;B=0){this.setState(0);q.loadEngine(t);}}};j.add('scayt',{requires:['menubutton'],beforeInit:function(t){var u=t.config.scayt_contextMenuItemsOrder||'suggest|moresuggest|control',v='';u=u.split('|');if(u&&u.length)for(var w=0;wr.width&&(n.resize_minWidth=r.width);n.resize_minHeight>r.height&&(n.resize_minHeight=r.height);a.document.on('mousemove',u);a.document.on('mouseup',v);if(m.document){m.document.on('mousemove',u);m.document.on('mouseup',v);}});m.on('destroy',function(){e.removeFunction(w);});m.on('themeSpace',function(x){if(x.data.space=='bottom'){var y='';if(s&&!t)y=' cke_resizer_horizontal';if(!s&&t)y=' cke_resizer_vertical';var z='
';o=='ltr'&&y=='ltr'?x.data.html+=z:x.data.html=z+x.data.html;}},m,null,100);}}});(function(){var m={modes:{wysiwyg:1,source:1},readOnly:1,exec:function(o){var p=o.element.$.form;if(p)try{p.submit();}catch(q){if(p.submit.click)p.submit.click();}}},n='save';j.add(n,{init:function(o){var p=o.addCommand(n,m);p.modes={wysiwyg:!!o.element.$.form};o.ui.addButton('Save',{label:o.lang.save,command:n});}});})();(function(){var m='scaytcheck',n='';function o(t,u){var v=0,w;for(w in u){if(u[w]==t){v=1;break;}}return v;};var p=function(){var t=this,u=function(){if(q.instances[t.name])q.instances[t.name].destroy();var y=t.config,z={};z.srcNodeRef=t.document.getWindow().$.frameElement;z.assocApp='CKEDITOR.'+a.version+'@'+a.revision;z.customerid=y.scayt_customerid||'1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2';z.customDictionaryIds=y.scayt_customDictionaryIds||'';z.userDictionaryName=y.scayt_userDictionaryName||'';
+z.sLang=y.scayt_sLang||'en_US';z.onLoad=function(){if(!(c&&b.version<8))this.addStyle(this.selectorCss(),'padding-bottom: 2px !important;');if(t.focusManager.hasFocus&&!q.isControlRestored(t))this.focus();};z.onBeforeChange=function(){if(q.getScayt(t)&&!t.checkDirty())setTimeout(function(){t.resetDirty();},0);};var A=window.scayt_custom_params;if(typeof A=='object')for(var B in A)z[B]=A[B];if(q.getControlId(t))z.id=q.getControlId(t);var C=new window.scayt(z);C.afterMarkupRemove.push(function(E){new h(E,C.document).mergeSiblings();});var D=q.instances[t.name];if(D){C.sLang=D.sLang;C.option(D.option());C.paused=D.paused;}q.instances[t.name]=C;try{C.setDisabled(q.isPaused(t)===false);}catch(E){}t.fire('showScaytState');};t.on('contentDom',function(y){u();});t.on('contentDomUnload',function(){var y=a.document.getElementsByTag('script'),z=/^dojoIoScript(\d+)$/i,A=/^https?:\/\/svc\.webspellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;for(var B=0;B=0){this.setState(0);q.loadEngine(t);}}};j.add('scayt',{requires:['menubutton'],beforeInit:function(t){var u=t.config.scayt_contextMenuItemsOrder||'suggest|moresuggest|control',v='';u=u.split('|');if(u&&u.length)for(var w=0;w tr > td, .%1 table.%2 > tr > th,','.%1 table.%2 > tbody > tr > td, .%1 table.%2 > tbody > tr > th,','.%1 table.%2 > thead > tr > td, .%1 table.%2 > thead > tr > th,','.%1 table.%2 > tfoot > tr > td, .%1 table.%2 > tfoot > tr > th','{','border : #d3d3d3 1px dotted','}']).join('');n=o.replace(/%2/g,m).replace(/%1/g,'cke_show_borders ');var p={preserveState:true,editorFocus:false,readOnly:1,exec:function(q){this.toggleState();this.refresh(q);},refresh:function(q){if(q.document){var r=this.state==1?'addClass':'removeClass';q.document.getBody()[r]('cke_show_borders');}}};j.add('showborders',{requires:['wysiwygarea'],modes:{wysiwyg:1},init:function(q){var r=q.addCommand('showborders',p);r.canUndo=false;if(q.config.startupShowBorders!==false)r.setState(1);q.addCss(n);q.on('mode',function(){if(r.state!=0)r.refresh(q);},null,null,100);q.on('contentDom',function(){if(r.state!=0)r.refresh(q);});q.on('removeFormatCleanup',function(s){var t=s.data;if(q.getCommand('showborders').state==1&&t.is('table')&&(!t.hasAttribute('border')||parseInt(t.getAttribute('border'),10)<=0))t.addClass(m);});},afterInit:function(q){var r=q.dataProcessor,s=r&&r.dataFilter,t=r&&r.htmlFilter;
if(s)s.addRules({elements:{table:function(u){var v=u.attributes,w=v['class'],x=parseInt(v.border,10);if((!x||x<=0)&&(!w||w.indexOf(m)==-1))v['class']=(w||'')+' '+m;}}});if(t)t.addRules({elements:{table:function(u){var v=u.attributes,w=v['class'];w&&(v['class']=w.replace(m,'').replace(/\s{2}/,' ').replace(/^\s+|\s+$/,''));}}});}});a.on('dialogDefinition',function(q){var r=q.data.name;if(r=='table'||r=='tableProperties'){var s=q.data.definition,t=s.getContents('info'),u=t.get('txtBorder'),v=u.commit;u.commit=e.override(v,function(y){return function(z,A){y.apply(this,arguments);var B=parseInt(this.getValue(),10);A[!B||B<=0?'addClass':'removeClass'](m);};});var w=s.getContents('advanced'),x=w&&w.get('advCSSClasses');if(x){x.setup=e.override(x.setup,function(y){return function(){y.apply(this,arguments);this.setValue(this.getValue().replace(/cke_show_border/,''));};});x.commit=e.override(x.commit,function(y){return function(z,A){y.apply(this,arguments);if(!parseInt(A.getAttribute('border'),10))A.addClass('cke_show_border');};});}}});})();j.add('sourcearea',{requires:['editingblock'],init:function(m){var n=j.sourcearea,o=a.document.getWindow();m.on('editingBlockReady',function(){var p,q;m.addMode('source',{load:function(r,s){if(c&&b.version<8)r.setStyle('position','relative');m.textarea=p=new h('textarea');p.setAttributes({dir:'ltr',tabIndex:b.webkit?-1:m.tabIndex,role:'textbox','aria-label':m.lang.editorTitle.replace('%1',m.name)});p.addClass('cke_source');p.addClass('cke_enable_context_menu');m.readOnly&&p.setAttribute('readOnly','readonly');var t={width:b.ie7Compat?'99%':'100%',height:'100%',resize:'none',outline:'none','text-align':'left'};if(c){q=function(){p.hide();p.setStyle('height',r.$.clientHeight+'px');p.setStyle('width',r.$.clientWidth+'px');p.show();};m.on('resize',q);o.on('resize',q);setTimeout(q,0);}r.setHtml('');r.append(p);p.setStyles(t);m.fire('ariaWidget',p);p.on('blur',function(){m.focusManager.blur();});p.on('focus',function(){m.focusManager.focus();});m.mayBeDirty=true;this.loadData(s);var u=m.keystrokeHandler;if(u)u.attach(p);setTimeout(function(){m.mode='source';m.fire('mode',{previousMode:m._.previousMode});},b.gecko||b.webkit?100:0);},loadData:function(r){p.setValue(r);m.fire('dataReady');},getData:function(){return p.getValue();},getSnapshotData:function(){return p.getValue();},unload:function(r){p.clearCustomData();m.textarea=p=null;if(q){m.removeListener('resize',q);o.removeListener('resize',q);}if(c&&b.version<8)r.removeStyle('position');
},focus:function(){p.focus();}});});m.on('readOnly',function(){if(m.mode=='source')if(m.readOnly)m.textarea.setAttribute('readOnly','readonly');else m.textarea.removeAttribute('readOnly');});m.addCommand('source',n.commands.source);if(m.ui.addButton)m.ui.addButton('Source',{label:m.lang.source,command:'source'});m.on('mode',function(){m.getCommand('source').setState(m.mode=='source'?1:2);});}});j.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},editorFocus:false,readOnly:1,exec:function(m){if(m.mode=='wysiwyg')m.fire('saveSnapshot');m.getCommand('source').setState(0);m.setMode(m.mode=='source'?'wysiwyg':'source');},canUndo:false}}};(function(){j.add('stylescombo',{requires:['richcombo','styles'],init:function(n){var o=n.config,p=n.lang.stylesCombo,q={},r=[],s;function t(u){n.getStylesSet(function(v){if(!r.length){var w,x;for(var y=0,z=v.length;y1)J+=K[H].rowSpan-1;}return I;};function C(G,H,I){var J=n(G),K;if((H?J.length!=1:J.length<2)||(K=G.getCommonAncestor())&&K.type==1&&K.is('table'))return false;var L,M=J[0],N=M.getAscendant('table'),O=e.buildTableMap(N),P=O.length,Q=O[0].length,R=M.getParent().$.rowIndex,S=A(O,R,M);if(H){var T;try{var U=parseInt(M.getAttribute('rowspan'),10)||1,V=parseInt(M.getAttribute('colspan'),10)||1;T=O[H=='up'?R-U:H=='down'?R+U:R][H=='left'?S-V:H=='right'?S+V:S];}catch(an){return false;}if(!T||M.$==T)return false;J[H=='up'||H=='left'?'unshift':'push'](new h(T));}var W=M.getDocument(),X=R,Y=0,Z=0,aa=!I&&new d.documentFragment(W),ab=0;for(var ac=0;ac=Q)M.removeAttribute('rowSpan');else M.$.rowSpan=Y;if(Y>=P)M.removeAttribute('colSpan');else M.$.colSpan=Z;var ak=new d.nodeList(N.$.rows),al=ak.count();for(ac=al-1;ac>=0;ac--){var am=ak.getItem(ac);if(!am.$.cells.length){am.remove();al++;continue;}}return M;}else return Y*Z==ab;};function D(G,H){var I=n(G);if(I.length>1)return false;else if(H)return true;var J=I[0],K=J.getParent(),L=K.getAscendant('table'),M=e.buildTableMap(L),N=K.$.rowIndex,O=A(M,N,J),P=J.$.rowSpan,Q,R,S,T;if(P>1){R=Math.ceil(P/2);S=Math.floor(P/2);T=N+R;var U=new h(L.$.rows[T]),V=A(M,T),W;Q=J.clone();for(var X=0;XO){Q.insertBefore(new h(W));break;}else W=null;}if(!W)U.append(Q,true);}else{S=R=1;U=K.clone();U.insertAfter(K);U.append(Q=J.clone());var Y=A(M,N);for(var Z=0;Z1)return false;else if(H)return true;var J=I[0],K=J.getParent(),L=K.getAscendant('table'),M=e.buildTableMap(L),N=K.$.rowIndex,O=A(M,N,J),P=J.$.colSpan,Q,R,S;if(P>1){R=Math.ceil(P/2);S=Math.floor(P/2);}else{S=R=1;var T=B(M,O);for(var U=0;U0?2:0};
}},tablecell_insertBefore:{label:H.cell.insertBefore,group:'tablecell',command:'cellInsertBefore',order:5},tablecell_insertAfter:{label:H.cell.insertAfter,group:'tablecell',command:'cellInsertAfter',order:10},tablecell_delete:{label:H.cell.deleteCell,group:'tablecell',command:'cellDelete',order:15},tablecell_merge:{label:H.cell.merge,group:'tablecell',command:'cellMerge',order:16},tablecell_merge_right:{label:H.cell.mergeRight,group:'tablecell',command:'cellMergeRight',order:17},tablecell_merge_down:{label:H.cell.mergeDown,group:'tablecell',command:'cellMergeDown',order:18},tablecell_split_horizontal:{label:H.cell.splitHorizontal,group:'tablecell',command:'cellHorizontalSplit',order:19},tablecell_split_vertical:{label:H.cell.splitVertical,group:'tablecell',command:'cellVerticalSplit',order:20},tablecell_properties:{label:H.cell.title,group:'tablecellproperties',command:'cellProperties',order:21},tablerow:{label:H.row.menu,group:'tablerow',order:1,getItems:function(){return{tablerow_insertBefore:2,tablerow_insertAfter:2,tablerow_delete:2};}},tablerow_insertBefore:{label:H.row.insertBefore,group:'tablerow',command:'rowInsertBefore',order:5},tablerow_insertAfter:{label:H.row.insertAfter,group:'tablerow',command:'rowInsertAfter',order:10},tablerow_delete:{label:H.row.deleteRow,group:'tablerow',command:'rowDelete',order:15},tablecolumn:{label:H.column.menu,group:'tablecolumn',order:1,getItems:function(){return{tablecolumn_insertBefore:2,tablecolumn_insertAfter:2,tablecolumn_delete:2};}},tablecolumn_insertBefore:{label:H.column.insertBefore,group:'tablecolumn',command:'columnInsertBefore',order:5},tablecolumn_insertAfter:{label:H.column.insertAfter,group:'tablecolumn',command:'columnInsertAfter',order:10},tablecolumn_delete:{label:H.column.deleteColumn,group:'tablecolumn',command:'columnDelete',order:15}});if(G.contextMenu)G.contextMenu.addListener(function(I,J){if(!I||I.isReadOnly())return null;while(I){if(I.getName() in F)return{tablecell:2,tablerow:2,tablecolumn:2};I=I.getParent();}return null;});},getSelectedCells:n};j.add('tabletools',j.tabletools);})();e.buildTableMap=function(m){var n=m.$.rows,o=-1,p=[];for(var q=0;qp&&(!s||!t||vt){s=v;t=u;}}else{if(q&&u==p){s=v;break;}if(ut)){s=v;t=u;}}}if(s)s.focus();};(function(){j.add('templates',{requires:['dialog'],init:function(o){a.dialog.add('templates',a.getUrl(this.path+'dialogs/templates.js'));o.addCommand('templates',new a.dialogCommand('templates'));
+a.dialog.add(n,this.path+'dialogs/specialchar.js');m.addCommand(n,{exec:function(){var p=m.langCode;p=o.availableLangs[p]?p:'en';a.scriptLoader.load(a.getUrl(o.path+'lang/'+p+'.js'),function(){e.extend(m.lang.specialChar,o.langEntries[p]);m.openDialog(n);});},modes:{wysiwyg:1},canUndo:false});m.ui.addButton('SpecialChar',{label:m.lang.specialChar.toolbar,command:n});}});i.specialChars=['!','"','#','$','%','&',"'",'(',')','*','+','-','.','/','0','1','2','3','4','5','6','7','8','9',':',';','<','=','>','?','@','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','[',']','^','_','`','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','{','|','}','~','€','‘','’','“','”','–','—','¡','¢','£','¤','¥','¦','§','¨','©','ª','«','¬','®','¯','°','²','³','´','µ','¶','·','¸','¹','º','»','¼','½','¾','¿','À','Á','Â','Ã','Ä','Å','Æ','Ç','È','É','Ê','Ë','Ì','Í','Î','Ï','Ð','Ñ','Ò','Ó','Ô','Õ','Ö','×','Ø','Ù','Ú','Û','Ü','Ý','Þ','ß','à','á','â','ã','ä','å','æ','ç','è','é','ê','ë','ì','í','î','ï','ð','ñ','ò','ó','ô','õ','ö','÷','ø','ù','ú','û','ü','ý','þ','ÿ','Œ','œ','Ŵ','Ŷ','ŵ','ŷ','‚','‛','„','…','™','►','•','→','⇒','⇔','♦','≈'];(function(){var m={editorFocus:false,modes:{wysiwyg:1,source:1}},n={readOnly:1,exec:function(q){q.container.focusNext(true,q.tabIndex);}},o={readOnly:1,exec:function(q){q.container.focusPrevious(true,q.tabIndex);}};function p(q){return{editorFocus:false,canUndo:false,modes:{wysiwyg:1},exec:function(r){if(r.focusManager.hasFocus){var s=r.getSelection(),t=s.getCommonAncestor(),u;if(u=t.getAscendant('td',true)||t.getAscendant('th',true)){var v=new d.range(r.document),w=e.tryThese(function(){var D=u.getParent(),E=D.$.cells[u.$.cellIndex+(q?-1:1)];E.parentNode.parentNode;
+return E;},function(){var D=u.getParent(),E=D.getAscendant('table'),F=E.$.rows[D.$.rowIndex+(q?-1:1)];return F.cells[q?F.cells.length-1:0];});if(!(w||q)){var x=u.getAscendant('table').$,y=u.getParent().$.cells,z=new h(x.insertRow(-1),r.document);for(var A=0,B=y.length;Ap&&(!s||!t||vt){s=v;t=u;}}else{if(q&&u==p){s=v;break;}if(ut)){s=v;t=u;}}}if(s)s.focus();};(function(){j.add('templates',{requires:['dialog'],init:function(o){a.dialog.add('templates',a.getUrl(this.path+'dialogs/templates.js'));o.addCommand('templates',new a.dialogCommand('templates'));
o.ui.addButton('Templates',{label:o.lang.templates.button,command:'templates'});}});var m={},n={};a.addTemplates=function(o,p){m[o]=p;};a.getTemplates=function(o){return m[o];};a.loadTemplates=function(o,p){var q=[];for(var r=0,s=o.length;r':' style="display:none">');t.push('',o.lang.toolbars,' ');var w=o.toolbox.toolbars,x=o.config.toolbar instanceof Array?o.config.toolbar:o.config['toolbar_'+o.config.toolbar];for(var y=0;y');v=0;}if(C==='/'){t.push('
');continue;}D=C.items||C;for(var E=0;E');B&&t.push('',B,' ');t.push(' ');var I=w.push(A)-1;if(I>0){A.previous=w[I-1];A.previous.next=A;}}if(H){if(!v){t.push('');v=1;}}else if(v){t.push(' ');v=0;}var J=F.render(o,t);I=A.items.push(J)-1;if(I>0){J.previous=A.items[I-1];J.previous.next=J;}J.toolbar=A;J.onkey=q;J.onfocus=function(){if(!o.toolbox.focusCommandExecuted)o.focus();};}}if(v){t.push('');v=0;}if(A)t.push(' ');}t.push('');if(o.config.toolbarCanCollapse){var K=e.addFunction(function(){o.execCommand('toolbarCollapse');});o.on('destroy',function(){e.removeFunction(K);});var L=e.getNextId();o.addCommand('toolbarCollapse',{readOnly:1,exec:function(M){var N=a.document.getById(L),O=N.getPrevious(),P=M.getThemeSpace('contents'),Q=O.getParent(),R=parseInt(P.$.style.height,10),S=Q.$.offsetHeight,T=!O.isVisible();if(!T){O.hide();N.addClass('cke_toolbox_collapser_min');N.setAttribute('title',M.lang.toolbarExpand);}else{O.show();N.removeClass('cke_toolbox_collapser_min');N.setAttribute('title',M.lang.toolbarCollapse);}N.getFirst().setText(T?'▲':'◀');var U=Q.$.offsetHeight-S;P.setStyle('height',R-U+'px');M.fire('resize');},modes:{wysiwyg:1,source:1}});t.push('','▲ ',' ');}r.data.html+=t.join('');}});o.on('destroy',function(){var r,s=0,t,u,v;r=this.toolbox.toolbars;for(;s');return{};}};}});}});})();a.UI_SEPARATOR='separator';i.toolbarLocation='top';i.toolbar_Basic=[['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink','-','About']];i.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','Iframe']},'/',{name:'styles',items:['Styles','Format','Font','FontSize']},{name:'colors',items:['TextColor','BGColor']},{name:'tools',items:['Maximize','ShowBlocks','-','About']}];
i.toolbar='Full';i.toolbarCanCollapse=true;(function(){j.add('undo',{requires:['selection','wysiwygarea'],init:function(s){var t=new o(s),u=s.addCommand('undo',{exec:function(){if(t.undo()){s.selectionChange();this.fire('afterUndo');}},state:0,canUndo:false}),v=s.addCommand('redo',{exec:function(){if(t.redo()){s.selectionChange();this.fire('afterRedo');}},state:0,canUndo:false});t.onChange=function(){u.setState(t.undoable()?2:0);v.setState(t.redoable()?2:0);};function w(x){if(t.enabled&&x.data.command.canUndo!==false)t.save();};s.on('beforeCommandExec',w);s.on('afterCommandExec',w);s.on('saveSnapshot',function(x){t.save(x.data&&x.data.contentOnly);});s.on('contentDom',function(){s.document.on('keydown',function(x){if(!x.data.$.ctrlKey&&!x.data.$.metaKey)t.type(x);});});s.on('beforeModeUnload',function(){s.mode=='wysiwyg'&&t.save(true);});s.on('mode',function(){t.enabled=s.readOnly?false:s.mode=='wysiwyg';t.onChange();});s.ui.addButton('Undo',{label:s.lang.undo,command:'undo'});s.ui.addButton('Redo',{label:s.lang.redo,command:'redo'});s.resetUndo=function(){t.reset();s.fire('saveSnapshot');};s.on('updateSnapshot',function(){if(t.currentImage)t.update();});}});j.undo={};var m=j.undo.Image=function(s){this.editor=s;s.fire('beforeUndoImage');var t=s.getSnapshot(),u=t&&s.getSelection();c&&t&&(t=t.replace(/\s+data-cke-expando=".*?"/g,''));this.contents=t;this.bookmarks=u&&u.createBookmarks2(true);s.fire('afterUndoImage');},n=/\b(?:href|src|name)="[^"]*?"/gi;m.prototype={equals:function(s,t){var u=this.contents,v=s.contents;if(c&&(b.ie7Compat||b.ie6Compat)){u=u.replace(n,'');v=v.replace(n,'');}if(u!=v)return false;if(t)return true;var w=this.bookmarks,x=s.bookmarks;if(w||x){if(!w||!x||w.length!=x.length)return false;for(var y=0;yT-S;U--){if(n.call(V,V._.tabIdList[U%S]))return V._.tabIdList[U%S];}return null;};function p(){var V=this;var R=V._.currentTabId,S=V._.tabIdList.length,T=e.indexOf(V._.tabIdList,R);for(var U=T+1;U1){ah._.tabBarMode=true;
ah._.tabs[ah._.currentTabId][0].focus();Z=1;}else if((as==37||as==39)&&ah._.tabBarMode){aw=as==(at?39:37)?o.call(ah):p.call(ah);ah.selectPage(aw);ah._.tabs[aw][0].focus();Z=1;}else if((as==13||as==32)&&ah._.tabBarMode){ay.selectPage(ay._.currentTabId);ay._.tabBarMode=false;ay._.currentFocusIndex=-1;ak(1);Z=1;}else if(as==13){var ax=ar.data.getTarget();if(!ax.is('a','button','select','textarea')&&(!ax.is('input')||ax.$.type!='button')){au=ay.getButton('ok');au&&e.setTimeout(au.click,0,au);Z=1;}aa=1;}else if(as==27){au=ay.getButton('cancel');if(au)e.setTimeout(au.click,0,au);else if(ay.fire('cancel',{hide:true}).hide!==false)ay.hide();aa=1;}else return;am(ar);};function am(ar){if(Z)ar.data.preventDefault(1);else if(aa)ar.data.stopPropagation();};var an=this._.element;this.on('show',function(){an.on('keydown',al,this);if(b.opera||b.gecko)an.on('keypress',am,this);});this.on('hide',function(){an.removeListener('keydown',al);if(b.opera||b.gecko)an.removeListener('keypress',am);ai(function(ar){s.apply(ar);});});this.on('iframeAdded',function(ar){var as=new g(ar.data.iframe.$.contentWindow.document);as.on('keydown',al,this,null,0);});this.on('show',function(){var av=this;aj();if(R.config.dialog_startupFocusTab&&ah._.pageCount>1){ah._.tabBarMode=true;ah._.tabs[ah._.currentTabId][0].focus();}else if(!av._.hasFocus){av._.currentFocusIndex=-1;if(T.onFocus){var ar=T.onFocus.call(av);ar&&ar.focus();}else ak(1);if(av._.editor.mode=='wysiwyg'&&c){var as=R.document.$.selection,at=as.createRange();if(at)if(at.parentElement&&at.parentElement().ownerDocument==R.document.$||at.item&&at.item(0).ownerDocument==R.document.$){var au=document.body.createTextRange();au.moveToElementText(av.getElement().getFirst().$);au.collapse(true);au.select();}}}},this,null,4294967295);if(b.ie6Compat)this.on('load',function(ar){var as=this.getElement(),at=as.getFirst();at.remove();at.appendTo(as);},this);B(this);C(this);new d.text(T.title,a.document).appendTo(this.parts.title);for(Y=0;Y0?S:0)+'px'};aa[V?'right':'left']=(R>0?R:0)+'px';U.setStyles(aa);T&&(ab._.moved=1);},getPosition:function(){return e.extend({},this._.position);},show:function(){var R=this._.element,S=this.definition;if(!(R.getParent()&&R.getParent().equals(a.document.getBody())))R.appendTo(a.document.getBody());else R.setStyle('display','block');if(b.gecko&&b.version<10900){var T=this.parts.dialog;T.setStyle('position','absolute');setTimeout(function(){T.setStyle('position','fixed');},0);}this.resize(this._.contentSize&&this._.contentSize.width||S.width||S.minWidth,this._.contentSize&&this._.contentSize.height||S.height||S.minHeight);this.reset();this.selectPage(this.definition.contents[0].id);if(a.dialog._.currentZIndex===null)a.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex;
+for(Y=0;Y0?S:0)+'px'};aa[V?'right':'left']=(R>0?R:0)+'px';U.setStyles(aa);T&&(ab._.moved=1);},getPosition:function(){return e.extend({},this._.position);},show:function(){var R=this._.element,S=this.definition;if(!(R.getParent()&&R.getParent().equals(a.document.getBody())))R.appendTo(a.document.getBody());else R.setStyle('display','block');if(b.gecko&&b.version<10900){var T=this.parts.dialog;T.setStyle('position','absolute');setTimeout(function(){T.setStyle('position','fixed');},0);}this.resize(this._.contentSize&&this._.contentSize.width||S.width||S.minWidth,this._.contentSize&&this._.contentSize.height||S.height||S.minHeight);this.reset();this.selectPage(this.definition.contents[0].id);if(a.dialog._.currentZIndex===null)a.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex;
this._.element.getFirst().setStyle('z-index',a.dialog._.currentZIndex+=10);if(a.dialog._.currentTop===null){a.dialog._.currentTop=this;this._.parentDialog=null;H(this._.editor);}else{this._.parentDialog=a.dialog._.currentTop;var U=this._.parentDialog.getElement().getFirst();U.$.style.zIndex-=Math.floor(this._.editor.config.baseFloatZIndex/2);a.dialog._.currentTop=this;}R.on('keydown',L);R.on(b.opera?'keypress':'keyup',M);this._.hasFocus=false;e.setTimeout(function(){this.layout();u(this);this.parts.dialog.setStyle('visibility','');this.fireOnce('load',{});k.fire('ready',this);this.fire('show',{});this._.editor.fire('dialogShow',this);this.foreach(function(V){V.setInitValue&&V.setInitValue();});},100,this);},layout:function(){var X=this;var R=X.parts.dialog,S=X.getSize(),T=a.document.getWindow(),U=T.getViewPaneSize(),V=(U.width-S.width)/2,W=(U.height-S.height)/2;if(!b.ie6Compat)if(S.height+(W>0?W:0)>U.height||S.width+(V>0?V:0)>U.width)R.setStyle('position','absolute');else R.setStyle('position','fixed');X.move(X._.moved?X._.position.x:V,X._.moved?X._.position.y:W);},foreach:function(R){var U=this;for(var S in U._.contents)for(var T in U._.contents[S])R.call(U,U._.contents[S][T]);return U;},reset:(function(){var R=function(S){if(S.reset)S.reset(1);};return function(){this.foreach(R);return this;};})(),setupContent:function(){var R=arguments;this.foreach(function(S){if(S.setup)S.setup.apply(S,R);});},commitContent:function(){var R=arguments;this.foreach(function(S){if(c&&this._.currentFocusIndex==S.focusIndex)S.getInputElement().$.blur();if(S.commit)S.commit.apply(S,R);});},hide:function(){if(!this.parts.dialog.isVisible())return;this.fire('hide',{});this._.editor.fire('dialogHide',this);this.selectPage(this._.tabIdList[0]);var R=this._.element;R.setStyle('display','none');this.parts.dialog.setStyle('visibility','hidden');O(this);while(a.dialog._.currentTop!=this)a.dialog._.currentTop.hide();if(!this._.parentDialog)I();else{var S=this._.parentDialog.getElement().getFirst();S.setStyle('z-index',parseInt(S.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2));}a.dialog._.currentTop=this._.parentDialog;if(!this._.parentDialog){a.dialog._.currentZIndex=null;R.removeListener('keydown',L);R.removeListener(b.opera?'keypress':'keyup',M);var T=this._.editor;T.focus();if(T.mode=='wysiwyg'&&c){var U=T.getSelection();U&&U.unlock(true);}}else a.dialog._.currentZIndex-=10;delete this._.parentDialog;this.foreach(function(V){V.resetInitValue&&V.resetInitValue();
});},addPage:function(R){var ad=this;var S=[],T=R.label?' title="'+e.htmlEncode(R.label)+'"':'',U=R.elements,V=a.dialog._.uiElementBuilders.vbox.build(ad,{type:'vbox',className:'cke_dialog_page_contents',children:R.elements,expand:!!R.expand,padding:R.padding,style:R.style||'width: 100%;height:100%'},S),W=h.createFromHtml(S.join(''));W.setAttribute('role','tabpanel');var X=b,Y='cke_'+R.id+'_'+e.getNextNumber(),Z=h.createFromHtml(['0?' cke_last':'cke_first',T,!!R.hidden?' style="display:none"':'',' id="',Y,'"',X.gecko&&X.version>=10900&&!X.hc?'':' href="javascript:void(0)"',' tabIndex="-1"',' hidefocus="true"',' role="tab">',R.label,' '].join(''));W.setAttribute('aria-labelledby',Y);ad._.tabs[R.id]=[Z,W];ad._.tabIdList.push(R.id);!R.hidden&&ad._.pageCount++;ad._.lastTab=Z;ad.updateStyle();var aa=ad._.contents[R.id]={},ab,ac=V.getChild();while(ab=ac.shift()){aa[ab.id]=ab;if(typeof ab.getChild=='function')ac.push.apply(ac,ab.getChild());}W.setAttribute('name',R.id);W.appendTo(ad.parts.contents);Z.unselectable();ad.parts.tabs.append(Z);if(R.accessKey){N(ad,ad,'CTRL+'+R.accessKey,Q,P);ad._.accessKeyMap['CTRL+'+R.accessKey]=R.id;}},selectPage:function(R){if(this._.currentTabId==R)return;if(this.fire('selectPage',{page:R,currentPage:this._.currentTabId})===true)return;for(var S in this._.tabs){var T=this._.tabs[S][0],U=this._.tabs[S][1];if(S!=R){T.removeClass('cke_dialog_tab_selected');U.hide();}U.setAttribute('aria-hidden',S!=R);}var V=this._.tabs[R];V[0].addClass('cke_dialog_tab_selected');if(b.ie6Compat||b.ie7Compat){q(V[1]);V[1].show();setTimeout(function(){q(V[1],1);},0);}else V[1].show();this._.currentTabId=R;this._.currentTabIndex=e.indexOf(this._.tabIdList,R);},updateStyle:function(){this.parts.dialog[(this._.pageCount===1?'add':'remove')+'Class']('cke_single_page');},hidePage:function(R){var T=this;var S=T._.tabs[R]&&T._.tabs[R][0];if(!S||T._.pageCount==1||!S.isVisible())return;else if(R==T._.currentTabId)T.selectPage(o.call(T));S.hide();T._.pageCount--;T.updateStyle();},showPage:function(R){var T=this;var S=T._.tabs[R]&&T._.tabs[R][0];if(!S)return;S.show();T._.pageCount++;T.updateStyle();},getElement:function(){return this._.element;},getName:function(){return this._.name;},getContentElement:function(R,S){var T=this._.contents[R];return T&&T[S];},getValueOf:function(R,S){return this.getContentElement(R,S).getValue();},setValueOf:function(R,S,T){return this.getContentElement(R,S).setValue(T);},getButton:function(R){return this._.buttons[R];
},click:function(R){return this._.buttons[R].click();},disableButton:function(R){return this._.buttons[R].disable();},enableButton:function(R){return this._.buttons[R].enable();},getPageCount:function(){return this._.pageCount;},getParentEditor:function(){return this._.editor;},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement();},addFocusable:function(R,S){var U=this;if(typeof S=='undefined'){S=U._.focusList.length;U._.focusList.push(new t(U,R,S));}else{U._.focusList.splice(S,0,new t(U,R,S));for(var T=S+1;T0)H+=(F.$.offsetWidth||0)-(F.$.clientWidth||0)+3;H+=4;F.setStyle('width',H+'px');v.element.addClass('cke_frameLoaded');var I=v.element.$.scrollHeight;if(c&&b.quirks&&I>0)I+=(F.$.offsetHeight||0)-(F.$.clientHeight||0)+3;F.setStyle('height',I+'px');u._.currentBlock.element.setStyle('display','none').removeStyle('display');}else F.removeStyle('height');if(A)B-=w.$.offsetWidth;w.setStyle('left',B+'px');var J=u.element,K=J.getWindow(),L=w.$.getBoundingClientRect(),M=K.getViewPaneSize(),N=L.width||L.right-L.left,O=L.height||L.bottom-L.top,P=A?L.right:M.width-L.left,Q=A?M.width-L.right:L.left;if(A){if(PN)B+=N;else if(M.width>N)B-=L.left;else B=B-L.right+M.width;}else if(PN)B-=N;else if(M.width>N)B=B-L.right+M.width;else B-=L.left;
-var R=M.height-L.top,S=L.top;if(RO)C-=O;else if(M.height>O)C=C-L.bottom+M.height;else C-=L.top;if(c){var T=new h(w.$.offsetParent),U=T;if(U.getName()=='html')U=U.getDocument().getBody();if(U.getComputedStyle('direction')=='rtl')if(b.ie8Compat)B-=w.getDocument().getDocumentElement().$.scrollLeft*2;else B-=T.$.scrollWidth-T.$.clientWidth;}var V=w.getFirst(),W;if(W=V.getCustomData('activePanel'))W.onHide&&W.onHide.call(this,1);V.setCustomData('activePanel',this);w.setStyles({top:C+'px',left:B+'px'});w.setOpacity(1);},this);u.isLoaded?E():u.onLoad=E;e.setTimeout(function(){x.$.contentWindow.focus();this.allowBlur(true);},0,this);},b.air?200:0,this);this.visible=1;if(this.onShow)this.onShow.call(this);n=0;},hide:function(p){var r=this;if(r.visible&&(!r.onHide||r.onHide.call(r)!==true)){r.hideChild();b.gecko&&r._.iframe.getFrameDocument().$.activeElement.blur();r.element.setStyle('display','none');r.visible=0;r.element.getFirst().removeCustomData('activePanel');var q=p!==false&&r._.returnFocus;if(q){if(b.webkit&&q.type)q.getWindow().$.focus();q.focus();}}},allowBlur:function(p){var q=this._.panel;if(p!=undefined)q.allowBlur=p;return q.allowBlur;},showAsChild:function(p,q,r,s,t,u){if(this._.activeChild==p&&p._.panel._.offsetParentId==r.getId())return;this.hideChild();p.onHide=e.bind(function(){e.setTimeout(function(){if(!this._.focused)this.hide();},0,this);},this);this._.activeChild=p;this._.focused=false;p.showBlock(q,r,s,t,u);if(b.ie7Compat||b.ie8&&b.ie6Compat)setTimeout(function(){p.element.getChild(0).$.style.cssText+='';},100);},hideChild:function(){var p=this._.activeChild;if(p){delete p.onHide;delete p._.returnFocus;delete this._.activeChild;p.hide();}}}});a.on('instanceDestroyed',function(){var p=e.isEmpty(a.instances);for(var q in m){var r=m[q];if(p)r.destroy();else r.element.hide();}p&&(m={});});})();j.add('menu',{beforeInit:function(m){var n=m.config.menu_groups.split(','),o=m._.menuGroups={},p=m._.menuItems={};for(var q=0;q