[Rt-commit] rt branch, 4.0/third-party-source, updated. rt-4.0.0-183-g9053976
Thomas Sibley
trs at bestpractical.com
Thu May 5 17:32:15 EDT 2011
The branch, 4.0/third-party-source has been updated
via 90539763ed32f7f2a808cef28cef8c072bbbdd2f (commit)
from d83758c312cb5cdf182b15ce8955025f07bf4e08 (commit)
Summary of changes:
devel/third-party/README | 4 +-
devel/third-party/ckeditor/adapters/jquery.js | 297 ++
.../third-party/ckeditor/ckeditor_basic_source.js | 20 +
devel/third-party/ckeditor/ckeditor_source.js | 25 +
devel/third-party/ckeditor/core/_bootstrap.js | 91 +
devel/third-party/ckeditor/core/ajax.js | 143 +
devel/third-party/ckeditor/core/ckeditor.js | 113 +
devel/third-party/ckeditor/core/ckeditor_base.js | 193 ++
devel/third-party/ckeditor/core/ckeditor_basic.js | 242 ++
devel/third-party/ckeditor/core/command.js | 73 +
.../third-party/ckeditor/core/commanddefinition.js | 102 +
devel/third-party/ckeditor/core/config.js | 405 +++
devel/third-party/ckeditor/core/dataprocessor.js | 66 +
devel/third-party/ckeditor/core/dom.js | 21 +
devel/third-party/ckeditor/core/dom/comment.js | 32 +
devel/third-party/ckeditor/core/dom/document.js | 224 ++
.../ckeditor/core/dom/documentfragment.js | 49 +
devel/third-party/ckeditor/core/dom/domobject.js | 251 ++
devel/third-party/ckeditor/core/dom/element.js | 1556 ++++++++++
devel/third-party/ckeditor/core/dom/elementpath.js | 116 +
devel/third-party/ckeditor/core/dom/event.js | 142 +
devel/third-party/ckeditor/core/dom/node.js | 683 +++++
devel/third-party/ckeditor/core/dom/nodelist.js | 23 +
devel/third-party/ckeditor/core/dom/range.js | 1880 ++++++++++++
devel/third-party/ckeditor/core/dom/rangelist.js | 163 ++
devel/third-party/ckeditor/core/dom/text.js | 123 +
devel/third-party/ckeditor/core/dom/walker.js | 445 +++
devel/third-party/ckeditor/core/dom/window.js | 96 +
devel/third-party/ckeditor/core/dtd.js | 233 ++
devel/third-party/ckeditor/core/editor.js | 759 +++++
devel/third-party/ckeditor/core/editor_basic.js | 182 ++
devel/third-party/ckeditor/core/env.js | 229 ++
devel/third-party/ckeditor/core/event.js | 336 +++
devel/third-party/ckeditor/core/eventInfo.js | 120 +
devel/third-party/ckeditor/core/focusmanager.js | 137 +
devel/third-party/ckeditor/core/htmlparser.js | 218 ++
.../ckeditor/core/htmlparser/basicwriter.js | 145 +
.../third-party/ckeditor/core/htmlparser/cdata.js | 43 +
.../ckeditor/core/htmlparser/comment.js | 60 +
.../ckeditor/core/htmlparser/element.js | 240 ++
.../third-party/ckeditor/core/htmlparser/filter.js | 288 ++
.../ckeditor/core/htmlparser/fragment.js | 497 ++++
devel/third-party/ckeditor/core/htmlparser/text.js | 55 +
devel/third-party/ckeditor/core/imagecacher.js | 59 +
devel/third-party/ckeditor/core/lang.js | 152 +
devel/third-party/ckeditor/core/loader.js | 243 ++
.../third-party/ckeditor/core/plugindefinition.js | 66 +
devel/third-party/ckeditor/core/plugins.js | 85 +
devel/third-party/ckeditor/core/resourcemanager.js | 238 ++
devel/third-party/ckeditor/core/scriptloader.js | 198 ++
devel/third-party/ckeditor/core/skins.js | 204 ++
devel/third-party/ckeditor/core/themes.js | 19 +
devel/third-party/ckeditor/core/tools.js | 747 +++++
devel/third-party/ckeditor/core/ui.js | 116 +
devel/third-party/ckeditor/core/xml.js | 165 ++
devel/third-party/ckeditor/lang/_languages.js | 83 +
.../ckeditor/lang/_translationstatus.txt | 60 +
devel/third-party/ckeditor/lang/af.js | 758 +++++
devel/third-party/ckeditor/lang/ar.js | 758 +++++
devel/third-party/ckeditor/lang/bg.js | 758 +++++
devel/third-party/ckeditor/lang/bn.js | 758 +++++
devel/third-party/ckeditor/lang/bs.js | 758 +++++
devel/third-party/ckeditor/lang/ca.js | 758 +++++
devel/third-party/ckeditor/lang/cs.js | 758 +++++
devel/third-party/ckeditor/lang/cy.js | 758 +++++
devel/third-party/ckeditor/lang/da.js | 758 +++++
devel/third-party/ckeditor/lang/de.js | 758 +++++
devel/third-party/ckeditor/lang/el.js | 758 +++++
devel/third-party/ckeditor/lang/en-au.js | 758 +++++
devel/third-party/ckeditor/lang/en-ca.js | 758 +++++
devel/third-party/ckeditor/lang/en-gb.js | 758 +++++
devel/third-party/ckeditor/lang/en.js | 758 +++++
devel/third-party/ckeditor/lang/eo.js | 758 +++++
devel/third-party/ckeditor/lang/es.js | 758 +++++
devel/third-party/ckeditor/lang/et.js | 758 +++++
devel/third-party/ckeditor/lang/eu.js | 758 +++++
devel/third-party/ckeditor/lang/fa.js | 758 +++++
devel/third-party/ckeditor/lang/fi.js | 758 +++++
devel/third-party/ckeditor/lang/fo.js | 758 +++++
devel/third-party/ckeditor/lang/fr-ca.js | 758 +++++
devel/third-party/ckeditor/lang/fr.js | 758 +++++
devel/third-party/ckeditor/lang/gl.js | 758 +++++
devel/third-party/ckeditor/lang/gu.js | 758 +++++
devel/third-party/ckeditor/lang/he.js | 758 +++++
devel/third-party/ckeditor/lang/hi.js | 758 +++++
devel/third-party/ckeditor/lang/hr.js | 758 +++++
devel/third-party/ckeditor/lang/hu.js | 758 +++++
devel/third-party/ckeditor/lang/is.js | 758 +++++
devel/third-party/ckeditor/lang/it.js | 758 +++++
devel/third-party/ckeditor/lang/ja.js | 758 +++++
devel/third-party/ckeditor/lang/km.js | 758 +++++
devel/third-party/ckeditor/lang/ko.js | 758 +++++
devel/third-party/ckeditor/lang/lt.js | 758 +++++
devel/third-party/ckeditor/lang/lv.js | 758 +++++
devel/third-party/ckeditor/lang/mn.js | 758 +++++
devel/third-party/ckeditor/lang/ms.js | 758 +++++
devel/third-party/ckeditor/lang/nb.js | 758 +++++
devel/third-party/ckeditor/lang/nl.js | 758 +++++
devel/third-party/ckeditor/lang/no.js | 758 +++++
devel/third-party/ckeditor/lang/pl.js | 758 +++++
devel/third-party/ckeditor/lang/pt-br.js | 757 +++++
devel/third-party/ckeditor/lang/pt.js | 758 +++++
devel/third-party/ckeditor/lang/ro.js | 758 +++++
devel/third-party/ckeditor/lang/ru.js | 758 +++++
devel/third-party/ckeditor/lang/sk.js | 758 +++++
devel/third-party/ckeditor/lang/sl.js | 758 +++++
devel/third-party/ckeditor/lang/sr-latn.js | 758 +++++
devel/third-party/ckeditor/lang/sr.js | 758 +++++
devel/third-party/ckeditor/lang/sv.js | 758 +++++
devel/third-party/ckeditor/lang/th.js | 758 +++++
devel/third-party/ckeditor/lang/tr.js | 757 +++++
devel/third-party/ckeditor/lang/uk.js | 758 +++++
devel/third-party/ckeditor/lang/vi.js | 758 +++++
devel/third-party/ckeditor/lang/zh-cn.js | 758 +++++
devel/third-party/ckeditor/lang/zh.js | 758 +++++
.../ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js | 211 ++
.../ckeditor/plugins/a11yhelp/lang/en.js | 108 +
.../ckeditor/plugins/a11yhelp/lang/he.js | 216 ++
.../ckeditor/plugins/a11yhelp/plugin.js | 46 +
.../ckeditor/plugins/about/dialogs/about.js | 73 +
devel/third-party/ckeditor/plugins/about/plugin.js | 23 +
.../ckeditor/plugins/autogrow/plugin.js | 79 +
.../ckeditor/plugins/basicstyles/plugin.js | 101 +
devel/third-party/ckeditor/plugins/bidi/plugin.js | 247 ++
.../ckeditor/plugins/blockquote/plugin.js | 301 ++
.../third-party/ckeditor/plugins/button/plugin.js | 277 ++
.../ckeditor/plugins/clipboard/dialogs/paste.js | 205 ++
.../ckeditor/plugins/clipboard/plugin.js | 412 +++
.../ckeditor/plugins/colorbutton/plugin.js | 251 ++
.../plugins/colordialog/dialogs/colordialog.js | 340 +++
.../ckeditor/plugins/colordialog/plugin.js | 13 +
.../ckeditor/plugins/contextmenu/plugin.js | 276 ++
.../ckeditor/plugins/dialog/dialogDefinition.js | 315 ++
.../third-party/ckeditor/plugins/dialog/plugin.js | 3016 ++++++++++++++++++++
.../ckeditor/plugins/dialogadvtab/plugin.js | 207 ++
.../ckeditor/plugins/dialogui/plugin.js | 1522 ++++++++++
.../ckeditor/plugins/div/dialogs/div.js | 535 ++++
devel/third-party/ckeditor/plugins/div/plugin.js | 121 +
.../ckeditor/plugins/domiterator/plugin.js | 350 +++
.../ckeditor/plugins/editingblock/plugin.js | 230 ++
.../ckeditor/plugins/elementspath/plugin.js | 206 ++
.../ckeditor/plugins/enterkey/plugin.js | 363 +++
.../ckeditor/plugins/entities/plugin.js | 227 ++
.../ckeditor/plugins/fakeobjects/plugin.js | 122 +
.../ckeditor/plugins/filebrowser/plugin.js | 491 ++++
.../ckeditor/plugins/find/dialogs/find.js | 885 ++++++
devel/third-party/ckeditor/plugins/find/plugin.js | 46 +
.../ckeditor/plugins/flash/dialogs/flash.js | 698 +++++
devel/third-party/ckeditor/plugins/flash/plugin.js | 174 ++
.../ckeditor/plugins/floatpanel/plugin.js | 398 +++
devel/third-party/ckeditor/plugins/font/plugin.js | 234 ++
.../third-party/ckeditor/plugins/format/plugin.js | 194 ++
.../ckeditor/plugins/forms/dialogs/button.js | 135 +
.../ckeditor/plugins/forms/dialogs/checkbox.js | 155 +
.../ckeditor/plugins/forms/dialogs/form.js | 177 ++
.../ckeditor/plugins/forms/dialogs/hiddenfield.js | 98 +
.../ckeditor/plugins/forms/dialogs/radio.js | 135 +
.../ckeditor/plugins/forms/dialogs/select.js | 556 ++++
.../ckeditor/plugins/forms/dialogs/textarea.js | 114 +
.../ckeditor/plugins/forms/dialogs/textfield.js | 199 ++
devel/third-party/ckeditor/plugins/forms/plugin.js | 281 ++
.../ckeditor/plugins/horizontalrule/plugin.js | 36 +
.../ckeditor/plugins/htmldataprocessor/plugin.js | 494 ++++
.../ckeditor/plugins/htmlwriter/plugin.js | 314 ++
.../ckeditor/plugins/iframedialog/plugin.js | 136 +
.../ckeditor/plugins/image/dialogs/image.js | 1396 +++++++++
devel/third-party/ckeditor/plugins/image/plugin.js | 81 +
.../third-party/ckeditor/plugins/indent/plugin.js | 447 +++
.../third-party/ckeditor/plugins/justify/plugin.js | 190 ++
.../ckeditor/plugins/keystrokes/plugin.js | 229 ++
.../ckeditor/plugins/link/dialogs/anchor.js | 99 +
.../ckeditor/plugins/link/dialogs/link.js | 1420 +++++++++
devel/third-party/ckeditor/plugins/link/plugin.js | 238 ++
devel/third-party/ckeditor/plugins/list/plugin.js | 683 +++++
.../ckeditor/plugins/listblock/plugin.js | 257 ++
.../plugins/liststyle/dialogs/liststyle.js | 203 ++
.../ckeditor/plugins/liststyle/plugin.js | 66 +
.../ckeditor/plugins/maximize/plugin.js | 343 +++
devel/third-party/ckeditor/plugins/menu/plugin.js | 409 +++
.../ckeditor/plugins/menubutton/plugin.js | 94 +
.../third-party/ckeditor/plugins/newpage/plugin.js | 54 +
.../ckeditor/plugins/pagebreak/plugin.js | 121 +
devel/third-party/ckeditor/plugins/panel/plugin.js | 398 +++
.../ckeditor/plugins/panelbutton/plugin.js | 147 +
.../plugins/pastefromword/filter/default.js | 1170 ++++++++
.../ckeditor/plugins/pastefromword/plugin.js | 122 +
.../plugins/pastetext/dialogs/pastetext.js | 70 +
.../ckeditor/plugins/pastetext/plugin.js | 145 +
devel/third-party/ckeditor/plugins/popup/plugin.js | 64 +
.../third-party/ckeditor/plugins/preview/plugin.js | 108 +
devel/third-party/ckeditor/plugins/print/plugin.js | 41 +
.../ckeditor/plugins/removeformat/plugin.js | 184 ++
.../third-party/ckeditor/plugins/resize/plugin.js | 157 +
.../ckeditor/plugins/richcombo/plugin.js | 370 +++
devel/third-party/ckeditor/plugins/save/plugin.js | 55 +
.../ckeditor/plugins/scayt/dialogs/options.js | 533 ++++
.../ckeditor/plugins/scayt/dialogs/toolbar.css | 71 +
devel/third-party/ckeditor/plugins/scayt/plugin.js | 943 ++++++
.../ckeditor/plugins/selection/plugin.js | 1367 +++++++++
.../ckeditor/plugins/showblocks/plugin.js | 156 +
.../ckeditor/plugins/showborders/plugin.js | 201 ++
.../ckeditor/plugins/smiley/dialogs/smiley.js | 216 ++
.../third-party/ckeditor/plugins/smiley/plugin.js | 94 +
.../ckeditor/plugins/sourcearea/plugin.js | 207 ++
.../plugins/specialchar/dialogs/specialchar.js | 409 +++
.../ckeditor/plugins/specialchar/plugin.js | 29 +
.../third-party/ckeditor/plugins/styles/plugin.js | 1445 ++++++++++
.../ckeditor/plugins/styles/styles/default.js | 88 +
.../ckeditor/plugins/stylescombo/plugin.js | 207 ++
devel/third-party/ckeditor/plugins/tab/plugin.js | 367 +++
.../ckeditor/plugins/table/dialogs/table.js | 673 +++++
devel/third-party/ckeditor/plugins/table/plugin.js | 78 +
.../ckeditor/plugins/tableresize/plugin.js | 450 +++
.../plugins/tabletools/dialogs/tableCell.js | 533 ++++
.../ckeditor/plugins/tabletools/plugin.js | 1120 ++++++++
.../plugins/templates/dialogs/templates.js | 231 ++
.../ckeditor/plugins/templates/plugin.js | 100 +
.../plugins/templates/templates/default.js | 94 +
.../third-party/ckeditor/plugins/toolbar/plugin.js | 481 ++++
.../ckeditor/plugins/uicolor/dialogs/uicolor.js | 205 ++
.../ckeditor/plugins/uicolor/lang/en.js | 15 +
.../third-party/ckeditor/plugins/uicolor/plugin.js | 37 +
.../ckeditor/plugins/uicolor/yui/assets/yui.css | 15 +
.../ckeditor/plugins/uicolor/yui/yui.js | 71 +
devel/third-party/ckeditor/plugins/undo/plugin.js | 555 ++++
.../ckeditor/plugins/wsc/dialogs/ciframe.html | 49 +
.../ckeditor/plugins/wsc/dialogs/tmpFrameset.html | 52 +
.../ckeditor/plugins/wsc/dialogs/wsc.css | 82 +
.../ckeditor/plugins/wsc/dialogs/wsc.js | 176 ++
devel/third-party/ckeditor/plugins/wsc/plugin.js | 33 +
.../ckeditor/plugins/wysiwygarea/plugin.js | 1126 ++++++++
devel/third-party/ckeditor/skins/kama/dialog.css | 856 ++++++
devel/third-party/ckeditor/skins/kama/editor.css | 25 +
.../ckeditor/skins/kama/elementspath.css | 73 +
devel/third-party/ckeditor/skins/kama/icons.css | 357 +++
devel/third-party/ckeditor/skins/kama/mainui.css | 195 ++
devel/third-party/ckeditor/skins/kama/menu.css | 202 ++
devel/third-party/ckeditor/skins/kama/panel.css | 217 ++
devel/third-party/ckeditor/skins/kama/presets.css | 49 +
devel/third-party/ckeditor/skins/kama/reset.css | 84 +
.../third-party/ckeditor/skins/kama/richcombo.css | 277 ++
devel/third-party/ckeditor/skins/kama/skin.js | 268 ++
.../third-party/ckeditor/skins/kama/templates.css | 88 +
devel/third-party/ckeditor/skins/kama/toolbar.css | 409 +++
.../ckeditor/skins/office2003/dialog.css | 765 +++++
.../ckeditor/skins/office2003/editor.css | 25 +
.../ckeditor/skins/office2003/elementspath.css | 74 +
.../ckeditor/skins/office2003/icons.css | 354 +++
.../ckeditor/skins/office2003/mainui.css | 145 +
.../third-party/ckeditor/skins/office2003/menu.css | 199 ++
.../ckeditor/skins/office2003/panel.css | 212 ++
.../ckeditor/skins/office2003/presets.css | 49 +
.../ckeditor/skins/office2003/reset.css | 84 +
.../ckeditor/skins/office2003/richcombo.css | 297 ++
.../third-party/ckeditor/skins/office2003/skin.js | 81 +
.../ckeditor/skins/office2003/templates.css | 87 +
.../ckeditor/skins/office2003/toolbar.css | 470 +++
devel/third-party/ckeditor/skins/v2/dialog.css | 780 +++++
devel/third-party/ckeditor/skins/v2/editor.css | 25 +
.../third-party/ckeditor/skins/v2/elementspath.css | 74 +
devel/third-party/ckeditor/skins/v2/icons.css | 354 +++
devel/third-party/ckeditor/skins/v2/mainui.css | 154 +
devel/third-party/ckeditor/skins/v2/menu.css | 201 ++
devel/third-party/ckeditor/skins/v2/panel.css | 212 ++
devel/third-party/ckeditor/skins/v2/presets.css | 50 +
devel/third-party/ckeditor/skins/v2/reset.css | 84 +
devel/third-party/ckeditor/skins/v2/richcombo.css | 297 ++
devel/third-party/ckeditor/skins/v2/skin.js | 77 +
devel/third-party/ckeditor/skins/v2/templates.css | 87 +
devel/third-party/ckeditor/skins/v2/toolbar.css | 423 +++
devel/third-party/ckeditor/themes/default/theme.js | 356 +++
271 files changed, 104845 insertions(+), 1 deletions(-)
create mode 100644 devel/third-party/ckeditor/adapters/jquery.js
create mode 100644 devel/third-party/ckeditor/ckeditor_basic_source.js
create mode 100644 devel/third-party/ckeditor/ckeditor_source.js
create mode 100644 devel/third-party/ckeditor/core/_bootstrap.js
create mode 100644 devel/third-party/ckeditor/core/ajax.js
create mode 100644 devel/third-party/ckeditor/core/ckeditor.js
create mode 100644 devel/third-party/ckeditor/core/ckeditor_base.js
create mode 100644 devel/third-party/ckeditor/core/ckeditor_basic.js
create mode 100644 devel/third-party/ckeditor/core/command.js
create mode 100644 devel/third-party/ckeditor/core/commanddefinition.js
create mode 100644 devel/third-party/ckeditor/core/config.js
create mode 100644 devel/third-party/ckeditor/core/dataprocessor.js
create mode 100644 devel/third-party/ckeditor/core/dom.js
create mode 100644 devel/third-party/ckeditor/core/dom/comment.js
create mode 100644 devel/third-party/ckeditor/core/dom/document.js
create mode 100644 devel/third-party/ckeditor/core/dom/documentfragment.js
create mode 100644 devel/third-party/ckeditor/core/dom/domobject.js
create mode 100644 devel/third-party/ckeditor/core/dom/element.js
create mode 100644 devel/third-party/ckeditor/core/dom/elementpath.js
create mode 100644 devel/third-party/ckeditor/core/dom/event.js
create mode 100644 devel/third-party/ckeditor/core/dom/node.js
create mode 100644 devel/third-party/ckeditor/core/dom/nodelist.js
create mode 100644 devel/third-party/ckeditor/core/dom/range.js
create mode 100644 devel/third-party/ckeditor/core/dom/rangelist.js
create mode 100644 devel/third-party/ckeditor/core/dom/text.js
create mode 100644 devel/third-party/ckeditor/core/dom/walker.js
create mode 100644 devel/third-party/ckeditor/core/dom/window.js
create mode 100644 devel/third-party/ckeditor/core/dtd.js
create mode 100644 devel/third-party/ckeditor/core/editor.js
create mode 100644 devel/third-party/ckeditor/core/editor_basic.js
create mode 100644 devel/third-party/ckeditor/core/env.js
create mode 100644 devel/third-party/ckeditor/core/event.js
create mode 100644 devel/third-party/ckeditor/core/eventInfo.js
create mode 100644 devel/third-party/ckeditor/core/focusmanager.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser/basicwriter.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser/cdata.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser/comment.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser/element.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser/filter.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser/fragment.js
create mode 100644 devel/third-party/ckeditor/core/htmlparser/text.js
create mode 100644 devel/third-party/ckeditor/core/imagecacher.js
create mode 100644 devel/third-party/ckeditor/core/lang.js
create mode 100644 devel/third-party/ckeditor/core/loader.js
create mode 100644 devel/third-party/ckeditor/core/plugindefinition.js
create mode 100644 devel/third-party/ckeditor/core/plugins.js
create mode 100644 devel/third-party/ckeditor/core/resourcemanager.js
create mode 100644 devel/third-party/ckeditor/core/scriptloader.js
create mode 100644 devel/third-party/ckeditor/core/skins.js
create mode 100644 devel/third-party/ckeditor/core/themes.js
create mode 100644 devel/third-party/ckeditor/core/tools.js
create mode 100644 devel/third-party/ckeditor/core/ui.js
create mode 100644 devel/third-party/ckeditor/core/xml.js
create mode 100644 devel/third-party/ckeditor/lang/_languages.js
create mode 100644 devel/third-party/ckeditor/lang/_translationstatus.txt
create mode 100644 devel/third-party/ckeditor/lang/af.js
create mode 100644 devel/third-party/ckeditor/lang/ar.js
create mode 100644 devel/third-party/ckeditor/lang/bg.js
create mode 100644 devel/third-party/ckeditor/lang/bn.js
create mode 100644 devel/third-party/ckeditor/lang/bs.js
create mode 100644 devel/third-party/ckeditor/lang/ca.js
create mode 100644 devel/third-party/ckeditor/lang/cs.js
create mode 100644 devel/third-party/ckeditor/lang/cy.js
create mode 100644 devel/third-party/ckeditor/lang/da.js
create mode 100644 devel/third-party/ckeditor/lang/de.js
create mode 100644 devel/third-party/ckeditor/lang/el.js
create mode 100644 devel/third-party/ckeditor/lang/en-au.js
create mode 100644 devel/third-party/ckeditor/lang/en-ca.js
create mode 100644 devel/third-party/ckeditor/lang/en-gb.js
create mode 100644 devel/third-party/ckeditor/lang/en.js
create mode 100644 devel/third-party/ckeditor/lang/eo.js
create mode 100644 devel/third-party/ckeditor/lang/es.js
create mode 100644 devel/third-party/ckeditor/lang/et.js
create mode 100644 devel/third-party/ckeditor/lang/eu.js
create mode 100644 devel/third-party/ckeditor/lang/fa.js
create mode 100644 devel/third-party/ckeditor/lang/fi.js
create mode 100644 devel/third-party/ckeditor/lang/fo.js
create mode 100644 devel/third-party/ckeditor/lang/fr-ca.js
create mode 100644 devel/third-party/ckeditor/lang/fr.js
create mode 100644 devel/third-party/ckeditor/lang/gl.js
create mode 100644 devel/third-party/ckeditor/lang/gu.js
create mode 100644 devel/third-party/ckeditor/lang/he.js
create mode 100644 devel/third-party/ckeditor/lang/hi.js
create mode 100644 devel/third-party/ckeditor/lang/hr.js
create mode 100644 devel/third-party/ckeditor/lang/hu.js
create mode 100644 devel/third-party/ckeditor/lang/is.js
create mode 100644 devel/third-party/ckeditor/lang/it.js
create mode 100644 devel/third-party/ckeditor/lang/ja.js
create mode 100644 devel/third-party/ckeditor/lang/km.js
create mode 100644 devel/third-party/ckeditor/lang/ko.js
create mode 100644 devel/third-party/ckeditor/lang/lt.js
create mode 100644 devel/third-party/ckeditor/lang/lv.js
create mode 100644 devel/third-party/ckeditor/lang/mn.js
create mode 100644 devel/third-party/ckeditor/lang/ms.js
create mode 100644 devel/third-party/ckeditor/lang/nb.js
create mode 100644 devel/third-party/ckeditor/lang/nl.js
create mode 100644 devel/third-party/ckeditor/lang/no.js
create mode 100644 devel/third-party/ckeditor/lang/pl.js
create mode 100644 devel/third-party/ckeditor/lang/pt-br.js
create mode 100644 devel/third-party/ckeditor/lang/pt.js
create mode 100644 devel/third-party/ckeditor/lang/ro.js
create mode 100644 devel/third-party/ckeditor/lang/ru.js
create mode 100644 devel/third-party/ckeditor/lang/sk.js
create mode 100644 devel/third-party/ckeditor/lang/sl.js
create mode 100644 devel/third-party/ckeditor/lang/sr-latn.js
create mode 100644 devel/third-party/ckeditor/lang/sr.js
create mode 100644 devel/third-party/ckeditor/lang/sv.js
create mode 100644 devel/third-party/ckeditor/lang/th.js
create mode 100644 devel/third-party/ckeditor/lang/tr.js
create mode 100644 devel/third-party/ckeditor/lang/uk.js
create mode 100644 devel/third-party/ckeditor/lang/vi.js
create mode 100644 devel/third-party/ckeditor/lang/zh-cn.js
create mode 100644 devel/third-party/ckeditor/lang/zh.js
create mode 100644 devel/third-party/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js
create mode 100644 devel/third-party/ckeditor/plugins/a11yhelp/lang/en.js
create mode 100644 devel/third-party/ckeditor/plugins/a11yhelp/lang/he.js
create mode 100644 devel/third-party/ckeditor/plugins/a11yhelp/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/about/dialogs/about.js
create mode 100644 devel/third-party/ckeditor/plugins/about/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/autogrow/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/basicstyles/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/bidi/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/blockquote/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/button/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/clipboard/dialogs/paste.js
create mode 100644 devel/third-party/ckeditor/plugins/clipboard/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/colorbutton/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/colordialog/dialogs/colordialog.js
create mode 100644 devel/third-party/ckeditor/plugins/colordialog/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/contextmenu/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/dialog/dialogDefinition.js
create mode 100644 devel/third-party/ckeditor/plugins/dialog/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/dialogadvtab/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/dialogui/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/div/dialogs/div.js
create mode 100644 devel/third-party/ckeditor/plugins/div/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/domiterator/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/editingblock/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/elementspath/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/enterkey/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/entities/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/fakeobjects/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/filebrowser/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/find/dialogs/find.js
create mode 100644 devel/third-party/ckeditor/plugins/find/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/flash/dialogs/flash.js
create mode 100644 devel/third-party/ckeditor/plugins/flash/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/floatpanel/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/font/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/format/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/button.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/checkbox.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/form.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/hiddenfield.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/radio.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/select.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/textarea.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/dialogs/textfield.js
create mode 100644 devel/third-party/ckeditor/plugins/forms/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/horizontalrule/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/htmldataprocessor/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/htmlwriter/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/iframedialog/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/image/dialogs/image.js
create mode 100644 devel/third-party/ckeditor/plugins/image/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/indent/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/justify/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/keystrokes/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/link/dialogs/anchor.js
create mode 100644 devel/third-party/ckeditor/plugins/link/dialogs/link.js
create mode 100644 devel/third-party/ckeditor/plugins/link/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/list/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/listblock/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/liststyle/dialogs/liststyle.js
create mode 100644 devel/third-party/ckeditor/plugins/liststyle/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/maximize/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/menu/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/menubutton/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/newpage/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/pagebreak/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/panel/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/panelbutton/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/pastefromword/filter/default.js
create mode 100644 devel/third-party/ckeditor/plugins/pastefromword/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/pastetext/dialogs/pastetext.js
create mode 100644 devel/third-party/ckeditor/plugins/pastetext/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/popup/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/preview/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/print/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/removeformat/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/resize/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/richcombo/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/save/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/scayt/dialogs/options.js
create mode 100644 devel/third-party/ckeditor/plugins/scayt/dialogs/toolbar.css
create mode 100644 devel/third-party/ckeditor/plugins/scayt/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/selection/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/showblocks/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/showborders/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/smiley/dialogs/smiley.js
create mode 100644 devel/third-party/ckeditor/plugins/smiley/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/sourcearea/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/specialchar/dialogs/specialchar.js
create mode 100644 devel/third-party/ckeditor/plugins/specialchar/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/styles/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/styles/styles/default.js
create mode 100644 devel/third-party/ckeditor/plugins/stylescombo/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/tab/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/table/dialogs/table.js
create mode 100644 devel/third-party/ckeditor/plugins/table/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/tableresize/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/tabletools/dialogs/tableCell.js
create mode 100644 devel/third-party/ckeditor/plugins/tabletools/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/templates/dialogs/templates.js
create mode 100644 devel/third-party/ckeditor/plugins/templates/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/templates/templates/default.js
create mode 100644 devel/third-party/ckeditor/plugins/toolbar/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/uicolor/dialogs/uicolor.js
create mode 100644 devel/third-party/ckeditor/plugins/uicolor/lang/en.js
create mode 100644 devel/third-party/ckeditor/plugins/uicolor/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/uicolor/yui/assets/yui.css
create mode 100644 devel/third-party/ckeditor/plugins/uicolor/yui/yui.js
create mode 100644 devel/third-party/ckeditor/plugins/undo/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/wsc/dialogs/ciframe.html
create mode 100644 devel/third-party/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
create mode 100644 devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.css
create mode 100644 devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.js
create mode 100644 devel/third-party/ckeditor/plugins/wsc/plugin.js
create mode 100644 devel/third-party/ckeditor/plugins/wysiwygarea/plugin.js
create mode 100644 devel/third-party/ckeditor/skins/kama/dialog.css
create mode 100644 devel/third-party/ckeditor/skins/kama/editor.css
create mode 100644 devel/third-party/ckeditor/skins/kama/elementspath.css
create mode 100644 devel/third-party/ckeditor/skins/kama/icons.css
create mode 100644 devel/third-party/ckeditor/skins/kama/mainui.css
create mode 100644 devel/third-party/ckeditor/skins/kama/menu.css
create mode 100644 devel/third-party/ckeditor/skins/kama/panel.css
create mode 100644 devel/third-party/ckeditor/skins/kama/presets.css
create mode 100644 devel/third-party/ckeditor/skins/kama/reset.css
create mode 100644 devel/third-party/ckeditor/skins/kama/richcombo.css
create mode 100644 devel/third-party/ckeditor/skins/kama/skin.js
create mode 100644 devel/third-party/ckeditor/skins/kama/templates.css
create mode 100644 devel/third-party/ckeditor/skins/kama/toolbar.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/dialog.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/editor.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/elementspath.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/icons.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/mainui.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/menu.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/panel.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/presets.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/reset.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/richcombo.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/skin.js
create mode 100644 devel/third-party/ckeditor/skins/office2003/templates.css
create mode 100644 devel/third-party/ckeditor/skins/office2003/toolbar.css
create mode 100644 devel/third-party/ckeditor/skins/v2/dialog.css
create mode 100644 devel/third-party/ckeditor/skins/v2/editor.css
create mode 100644 devel/third-party/ckeditor/skins/v2/elementspath.css
create mode 100644 devel/third-party/ckeditor/skins/v2/icons.css
create mode 100644 devel/third-party/ckeditor/skins/v2/mainui.css
create mode 100644 devel/third-party/ckeditor/skins/v2/menu.css
create mode 100644 devel/third-party/ckeditor/skins/v2/panel.css
create mode 100644 devel/third-party/ckeditor/skins/v2/presets.css
create mode 100644 devel/third-party/ckeditor/skins/v2/reset.css
create mode 100644 devel/third-party/ckeditor/skins/v2/richcombo.css
create mode 100644 devel/third-party/ckeditor/skins/v2/skin.js
create mode 100644 devel/third-party/ckeditor/skins/v2/templates.css
create mode 100644 devel/third-party/ckeditor/skins/v2/toolbar.css
create mode 100644 devel/third-party/ckeditor/themes/default/theme.js
- Log -----------------------------------------------------------------
commit 90539763ed32f7f2a808cef28cef8c072bbbdd2f
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu May 5 17:31:50 2011 -0400
Sources for ckeditor 3.4.1
diff --git a/devel/third-party/README b/devel/third-party/README
index 0af68c9..6fa8803 100644
--- a/devel/third-party/README
+++ b/devel/third-party/README
@@ -2,4 +2,6 @@ PIE_uncompressed.htc
https://github.com/downloads/lojjic/PIE/PIE-1.0beta2.zip
The uncompressed version of PIE.htc
-
+ckeditor
+http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.4.1/ckeditor_3.4.1.tar.gz
+The JS and CSS source files distributed with the version of ckeditor bundled in RT.
diff --git a/devel/third-party/ckeditor/adapters/jquery.js b/devel/third-party/ckeditor/adapters/jquery.js
new file mode 100644
index 0000000..e633758
--- /dev/null
+++ b/devel/third-party/ckeditor/adapters/jquery.js
@@ -0,0 +1,297 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview jQuery adapter provides easy use of basic CKEditor functions
+ * and access to internal API. It also integrates some aspects of CKEditor with
+ * jQuery framework.
+ *
+ * Every TEXTAREA, DIV and P elements can be converted to working editor.
+ *
+ * Plugin exposes some of editor's event to jQuery event system. All of those are namespaces inside
+ * ".ckeditor" namespace and can be binded/listened on supported textarea, div and p nodes.
+ *
+ * Available jQuery events:
+ * - instanceReady.ckeditor( editor, rootNode )
+ * Triggered when new instance is ready.
+ * - destroy.ckeditor( editor )
+ * Triggered when instance is destroyed.
+ * - getData.ckeditor( editor, eventData )
+ * Triggered when getData event is fired inside editor. It can change returned data using eventData reference.
+ * - setData.ckeditor( editor )
+ * Triggered when getData event is fired inside editor.
+ *
+ * @example
+ * <script src="jquery.js"></script>
+ * <script src="ckeditor.js"></script>
+ * <script src="adapters/jquery/adapter.js"></script>
+ */
+
+(function()
+{
+ /**
+ * Allow CKEditor to override jQuery.fn.val(). This results in ability to use val()
+ * function on textareas as usual and having those calls synchronized with CKEditor
+ * Rich Text Editor component.
+ *
+ * This config option is global and executed during plugin load.
+ * Can't be customized across editor instances.
+ *
+ * @type Boolean
+ * @example
+ * $( 'textarea' ).ckeditor();
+ * // ...
+ * $( 'textarea' ).val( 'New content' );
+ */
+ CKEDITOR.config.jqueryOverrideVal = typeof CKEDITOR.config.jqueryOverrideVal == 'undefined'
+ ? true : CKEDITOR.config.jqueryOverrideVal;
+
+ var jQuery = window.jQuery;
+
+ if ( typeof jQuery == 'undefined' )
+ return;
+
+ // jQuery object methods.
+ jQuery.extend( jQuery.fn,
+ /** @lends jQuery.fn */
+ {
+ /**
+ * Return existing CKEditor instance for first matched element.
+ * Allows to easily use internal API. Doesn't return jQuery object.
+ *
+ * Raised exception if editor doesn't exist or isn't ready yet.
+ *
+ * @name jQuery.ckeditorGet
+ * @return CKEDITOR.editor
+ * @see CKEDITOR.editor
+ */
+ ckeditorGet: function()
+ {
+ var instance = this.eq( 0 ).data( 'ckeditorInstance' );
+ if ( !instance )
+ throw "CKEditor not yet initialized, use ckeditor() with callback.";
+ return instance;
+ },
+ /**
+ * Triggers creation of CKEditor in all matched elements (reduced to DIV, P and TEXTAREAs).
+ * Binds callback to instanceReady event of all instances. If editor is already created, than
+ * callback is fired right away.
+ *
+ * Mixed parameter order allowed.
+ *
+ * @param callback Function to be run on editor instance. Passed parameters: [ textarea ].
+ * Callback is fiered in "this" scope being ckeditor instance and having source textarea as first param.
+ *
+ * @param config Configuration options for new instance(s) if not already created.
+ * See URL
+ *
+ * @example
+ * $( 'textarea' ).ckeditor( function( textarea ) {
+ * $( textarea ).val( this.getData() )
+ * } );
+ *
+ * @name jQuery.fn.ckeditor
+ * @return jQuery.fn
+ */
+ ckeditor: function( callback, config )
+ {
+ if ( !jQuery.isFunction( callback ))
+ {
+ var tmp = config;
+ config = callback;
+ callback = tmp;
+ }
+ config = config || {};
+
+ this.filter( 'textarea, div, p' ).each( function()
+ {
+ var $element = jQuery( this ),
+ editor = $element.data( 'ckeditorInstance' ),
+ instanceLock = $element.data( '_ckeditorInstanceLock' ),
+ element = this;
+
+ if ( editor && !instanceLock )
+ {
+ if ( callback )
+ callback.apply( editor, [ this ] );
+ }
+ else if ( !instanceLock )
+ {
+ // CREATE NEW INSTANCE
+
+ // Handle config.autoUpdateElement inside this plugin if desired.
+ if ( config.autoUpdateElement
+ || ( typeof config.autoUpdateElement == 'undefined' && CKEDITOR.config.autoUpdateElement ) )
+ {
+ config.autoUpdateElementJquery = true;
+ }
+
+ // Always disable config.autoUpdateElement.
+ config.autoUpdateElement = false;
+ $element.data( '_ckeditorInstanceLock', true );
+
+ // Set instance reference in element's data.
+ editor = CKEDITOR.replace( element, config );
+ $element.data( 'ckeditorInstance', editor );
+
+ // Register callback.
+ editor.on( 'instanceReady', function( event )
+ {
+ var editor = event.editor;
+ setTimeout( function()
+ {
+ // Delay bit more if editor is still not ready.
+ if ( !editor.element )
+ {
+ setTimeout( arguments.callee, 100 );
+ return;
+ }
+
+ // Remove this listener.
+ event.removeListener( 'instanceReady', this.callee );
+
+ // Forward setData on dataReady.
+ editor.on( 'dataReady', function()
+ {
+ $element.trigger( 'setData' + '.ckeditor', [ editor ] );
+ });
+
+ // Forward getData.
+ editor.on( 'getData', function( event ) {
+ $element.trigger( 'getData' + '.ckeditor', [ editor, event.data ] );
+ }, 999 );
+
+ // Forward destroy event.
+ editor.on( 'destroy', function()
+ {
+ $element.trigger( 'destroy.ckeditor', [ editor ] );
+ });
+
+ // Integrate with form submit.
+ if ( editor.config.autoUpdateElementJquery && $element.is( 'textarea' ) && $element.parents( 'form' ).length )
+ {
+ var onSubmit = function()
+ {
+ $element.ckeditor( function()
+ {
+ editor.updateElement();
+ });
+ };
+
+ // Bind to submit event.
+ $element.parents( 'form' ).submit( onSubmit );
+
+ // Bind to form-pre-serialize from jQuery Forms plugin.
+ $element.parents( 'form' ).bind( 'form-pre-serialize', onSubmit );
+
+ // Unbind when editor destroyed.
+ $element.bind( 'destroy.ckeditor', function()
+ {
+ $element.parents( 'form' ).unbind( 'submit', onSubmit );
+ $element.parents( 'form' ).unbind( 'form-pre-serialize', onSubmit );
+ });
+ }
+
+ // Garbage collect on destroy.
+ editor.on( 'destroy', function()
+ {
+ $element.data( 'ckeditorInstance', null );
+ });
+
+ // Remove lock.
+ $element.data( '_ckeditorInstanceLock', null );
+
+ // Fire instanceReady event.
+ $element.trigger( 'instanceReady.ckeditor', [ editor ] );
+
+ // Run given (first) code.
+ if ( callback )
+ callback.apply( editor, [ element ] );
+ }, 0 );
+ }, null, null, 9999);
+ }
+ else
+ {
+ // Editor is already during creation process, bind our code to the event.
+ CKEDITOR.on( 'instanceReady', function( event )
+ {
+ var editor = event.editor;
+ setTimeout( function()
+ {
+ // Delay bit more if editor is still not ready.
+ if ( !editor.element )
+ {
+ setTimeout( arguments.callee, 100 );
+ return;
+ }
+
+ if ( editor.element.$ == element )
+ {
+ // Run given code.
+ if ( callback )
+ callback.apply( editor, [ element ] );
+ }
+ }, 0 );
+ }, null, null, 9999);
+ }
+ });
+ return this;
+ }
+ });
+
+ // New val() method for objects.
+ if ( CKEDITOR.config.jqueryOverrideVal )
+ {
+ jQuery.fn.val = CKEDITOR.tools.override( jQuery.fn.val, function( oldValMethod )
+ {
+ /**
+ * CKEditor-aware val() method.
+ *
+ * Acts same as original jQuery val(), but for textareas which have CKEditor instances binded to them, method
+ * returns editor's content. It also works for settings values.
+ *
+ * @param oldValMethod
+ * @name jQuery.fn.val
+ */
+ return function( newValue, forceNative )
+ {
+ var isSetter = typeof newValue != 'undefined',
+ result;
+
+ this.each( function()
+ {
+ var $this = jQuery( this ),
+ editor = $this.data( 'ckeditorInstance' );
+
+ if ( !forceNative && $this.is( 'textarea' ) && editor )
+ {
+ if ( isSetter )
+ editor.setData( newValue );
+ else
+ {
+ result = editor.getData();
+ // break;
+ return null;
+ }
+ }
+ else
+ {
+ if ( isSetter )
+ oldValMethod.call( $this, newValue );
+ else
+ {
+ result = oldValMethod.call( $this );
+ // break;
+ return null;
+ }
+ }
+
+ return true;
+ });
+ return isSetter ? this : result;
+ };
+ });
+ }
+})();
diff --git a/devel/third-party/ckeditor/ckeditor_basic_source.js b/devel/third-party/ckeditor/ckeditor_basic_source.js
new file mode 100644
index 0000000..10efe0e
--- /dev/null
+++ b/devel/third-party/ckeditor/ckeditor_basic_source.js
@@ -0,0 +1,20 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Compressed version of core/ckeditor_base.js. See original for instructions.
+/*jsl:ignore*/
+if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.4.1',revision:'5892',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf('://')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf('://')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})();
+/*jsl:end*/
+
+// Uncomment the following line to have a new timestamp generated for each
+// request, having clear cache load of the editor code.
+// CKEDITOR.timestamp = ( new Date() ).valueOf();
+
+// Set the script name to be loaded by the loader.
+CKEDITOR._autoLoad = 'core/ckeditor_basic';
+
+// Include the loader script.
+document.write(
+ '<script type="text/javascript" src="' + CKEDITOR.getUrl( '_source/core/loader.js' ) + '"></script>' );
diff --git a/devel/third-party/ckeditor/ckeditor_source.js b/devel/third-party/ckeditor/ckeditor_source.js
new file mode 100644
index 0000000..0c0da07
--- /dev/null
+++ b/devel/third-party/ckeditor/ckeditor_source.js
@@ -0,0 +1,25 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Compressed version of core/ckeditor_base.js. See original for instructions.
+/*jsl:ignore*/
+if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.4.1',revision:'5892',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf('://')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf('://')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})();
+/*jsl:end*/
+
+// Uncomment the following line to have a new timestamp generated for each
+// request, having clear cache load of the editor code.
+// CKEDITOR.timestamp = ( new Date() ).valueOf();
+
+if ( CKEDITOR.loader )
+ CKEDITOR.loader.load( 'core/ckeditor' );
+else
+{
+ // Set the script name to be loaded by the loader.
+ CKEDITOR._autoLoad = 'core/ckeditor';
+
+ // Include the loader script.
+ document.write(
+ '<script type="text/javascript" src="' + CKEDITOR.getUrl( '_source/core/loader.js' ) + '"></script>' );
+}
diff --git a/devel/third-party/ckeditor/core/_bootstrap.js b/devel/third-party/ckeditor/core/_bootstrap.js
new file mode 100644
index 0000000..f351ce6
--- /dev/null
+++ b/devel/third-party/ckeditor/core/_bootstrap.js
@@ -0,0 +1,91 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview API initialization code.
+ */
+
+(function()
+{
+ // Disable HC detaction in WebKit. (#5429)
+ if ( CKEDITOR.env.webkit )
+ {
+ CKEDITOR.env.hc = false;
+ return;
+ }
+
+ // Check is High Contrast is active by creating a temporary element with a
+ // background image.
+
+ var useSpacer = CKEDITOR.env.ie && CKEDITOR.env.version < 7,
+ useBlank = CKEDITOR.env.ie && CKEDITOR.env.version == 7;
+
+ var backgroundImageUrl = useSpacer ? ( CKEDITOR.basePath + 'images/spacer.gif' ) :
+ useBlank ? 'about:blank' : 'data:image/png;base64,';
+
+ var hcDetect = CKEDITOR.dom.element.createFromHtml(
+ '<div style="width:0px;height:0px;' +
+ 'position:absolute;left:-10000px;' +
+ 'background-image:url(' + backgroundImageUrl + ')"></div>', CKEDITOR.document );
+
+ hcDetect.appendTo( CKEDITOR.document.getHead() );
+
+ // Update CKEDITOR.env.
+ // Catch exception needed sometimes for FF. (#4230)
+ try
+ {
+ CKEDITOR.env.hc = ( hcDetect.getComputedStyle( 'background-image' ) == 'none' );
+ }
+ catch (e)
+ {
+ CKEDITOR.env.hc = false;
+ }
+
+ if ( CKEDITOR.env.hc )
+ CKEDITOR.env.cssClass += ' cke_hc';
+
+ hcDetect.remove();
+})();
+
+// Load core plugins.
+CKEDITOR.plugins.load( CKEDITOR.config.corePlugins.split( ',' ), function()
+ {
+ CKEDITOR.status = 'loaded';
+ CKEDITOR.fire( 'loaded' );
+
+ // Process all instances created by the "basic" implementation.
+ var pending = CKEDITOR._.pending;
+ if ( pending )
+ {
+ delete CKEDITOR._.pending;
+
+ for ( var i = 0 ; i < pending.length ; i++ )
+ CKEDITOR.add( pending[ i ] );
+ }
+ });
+
+/*
+TODO: Enable the following and check if effective.
+
+if ( CKEDITOR.env.ie )
+{
+ // Remove IE mouse flickering on IE6 because of background images.
+ try
+ {
+ document.execCommand( 'BackgroundImageCache', false, true );
+ }
+ catch (e)
+ {
+ // We have been reported about loading problems caused by the above
+ // line. For safety, let's just ignore errors.
+ }
+}
+*/
+
+/**
+ * Fired when a CKEDITOR core object is fully loaded and ready for interaction.
+ * @name CKEDITOR#loaded
+ * @event
+ */
diff --git a/devel/third-party/ckeditor/core/ajax.js b/devel/third-party/ckeditor/core/ajax.js
new file mode 100644
index 0000000..078c15a
--- /dev/null
+++ b/devel/third-party/ckeditor/core/ajax.js
@@ -0,0 +1,143 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.ajax} object, which holds ajax methods for
+ * data loading.
+ */
+
+/**
+ * Ajax methods for data loading.
+ * @namespace
+ * @example
+ */
+CKEDITOR.ajax = (function()
+{
+ var createXMLHttpRequest = function()
+ {
+ // In IE, using the native XMLHttpRequest for local files may throw
+ // "Access is Denied" errors.
+ if ( !CKEDITOR.env.ie || location.protocol != 'file:' )
+ try { return new XMLHttpRequest(); } catch(e) {}
+
+ try { return new ActiveXObject( 'Msxml2.XMLHTTP' ); } catch (e) {}
+ try { return new ActiveXObject( 'Microsoft.XMLHTTP' ); } catch (e) {}
+
+ return null;
+ };
+
+ var checkStatus = function( xhr )
+ {
+ // HTTP Status Codes:
+ // 2xx : Success
+ // 304 : Not Modified
+ // 0 : Returned when running locally (file://)
+ // 1223 : IE may change 204 to 1223 (see http://dev.jquery.com/ticket/1450)
+
+ return ( xhr.readyState == 4 &&
+ ( ( xhr.status >= 200 && xhr.status < 300 ) ||
+ xhr.status == 304 ||
+ xhr.status === 0 ||
+ xhr.status == 1223 ) );
+ };
+
+ var getResponseText = function( xhr )
+ {
+ if ( checkStatus( xhr ) )
+ return xhr.responseText;
+ return null;
+ };
+
+ var getResponseXml = function( xhr )
+ {
+ if ( checkStatus( xhr ) )
+ {
+ var xml = xhr.responseXML;
+ return new CKEDITOR.xml( xml && xml.firstChild ? xml : xhr.responseText );
+ }
+ return null;
+ };
+
+ var load = function( url, callback, getResponseFn )
+ {
+ var async = !!callback;
+
+ var xhr = createXMLHttpRequest();
+
+ if ( !xhr )
+ return null;
+
+ xhr.open( 'GET', url, async );
+
+ if ( async )
+ {
+ // TODO: perform leak checks on this closure.
+ /** @ignore */
+ xhr.onreadystatechange = function()
+ {
+ if ( xhr.readyState == 4 )
+ {
+ callback( getResponseFn( xhr ) );
+ xhr = null;
+ }
+ };
+ }
+
+ xhr.send(null);
+
+ return async ? '' : getResponseFn( xhr );
+ };
+
+ return /** @lends CKEDITOR.ajax */ {
+
+ /**
+ * Loads data from an URL as plain text.
+ * @param {String} url The URL from which load data.
+ * @param {Function} [callback] A callback function to be called on
+ * data load. If not provided, the data will be loaded
+ * asynchronously, passing the data value the function on load.
+ * @returns {String} The loaded data. For asynchronous requests, an
+ * empty string. For invalid requests, null.
+ * @example
+ * // Load data synchronously.
+ * var data = CKEDITOR.ajax.load( 'somedata.txt' );
+ * alert( data );
+ * @example
+ * // Load data asynchronously.
+ * var data = CKEDITOR.ajax.load( 'somedata.txt', function( data )
+ * {
+ * alert( data );
+ * } );
+ */
+ load : function( url, callback )
+ {
+ return load( url, callback, getResponseText );
+ },
+
+ /**
+ * Loads data from an URL as XML.
+ * @param {String} url The URL from which load data.
+ * @param {Function} [callback] A callback function to be called on
+ * data load. If not provided, the data will be loaded
+ * asynchronously, passing the data value the function on load.
+ * @returns {CKEDITOR.xml} An XML object holding the loaded data. For asynchronous requests, an
+ * empty string. For invalid requests, null.
+ * @example
+ * // Load XML synchronously.
+ * var xml = CKEDITOR.ajax.loadXml( 'somedata.xml' );
+ * alert( xml.getInnerXml( '//' ) );
+ * @example
+ * // Load XML asynchronously.
+ * var data = CKEDITOR.ajax.loadXml( 'somedata.xml', function( xml )
+ * {
+ * alert( xml.getInnerXml( '//' ) );
+ * } );
+ */
+ loadXml : function( url, callback )
+ {
+ return load( url, callback, getResponseXml );
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/ckeditor.js b/devel/third-party/ckeditor/core/ckeditor.js
new file mode 100644
index 0000000..068da31
--- /dev/null
+++ b/devel/third-party/ckeditor/core/ckeditor.js
@@ -0,0 +1,113 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Contains the third and last part of the {@link CKEDITOR} object
+ * definition.
+ */
+
+// Remove the CKEDITOR.loadFullCore reference defined on ckeditor_basic.
+delete CKEDITOR.loadFullCore;
+
+/**
+ * Holds references to all editor instances created. The name of the properties
+ * in this object correspond to instance names, and their values contains the
+ * {@link CKEDITOR.editor} object representing them.
+ * @type {Object}
+ * @example
+ * alert( <b>CKEDITOR.instances</b>.editor1.name ); // "editor1"
+ */
+CKEDITOR.instances = {};
+
+/**
+ * The document of the window holding the CKEDITOR object.
+ * @type {CKEDITOR.dom.document}
+ * @example
+ * alert( <b>CKEDITOR.document</b>.getBody().getName() ); // "body"
+ */
+CKEDITOR.document = new CKEDITOR.dom.document( document );
+
+/**
+ * Adds an editor instance to the global {@link CKEDITOR} object. This function
+ * is available for internal use mainly.
+ * @param {CKEDITOR.editor} editor The editor instance to be added.
+ * @example
+ */
+CKEDITOR.add = function( editor )
+{
+ CKEDITOR.instances[ editor.name ] = editor;
+
+ editor.on( 'focus', function()
+ {
+ if ( CKEDITOR.currentInstance != editor )
+ {
+ CKEDITOR.currentInstance = editor;
+ CKEDITOR.fire( 'currentInstance' );
+ }
+ });
+
+ editor.on( 'blur', function()
+ {
+ if ( CKEDITOR.currentInstance == editor )
+ {
+ CKEDITOR.currentInstance = null;
+ CKEDITOR.fire( 'currentInstance' );
+ }
+ });
+};
+
+/**
+ * Removes and editor instance from the global {@link CKEDITOR} object. his function
+ * is available for internal use mainly.
+ * @param {CKEDITOR.editor} editor The editor instance to be added.
+ * @example
+ */
+CKEDITOR.remove = function( editor )
+{
+ delete CKEDITOR.instances[ editor.name ];
+};
+
+/**
+ * Perform global clean up to free as much memory as possible
+ * when there are no instances left
+ */
+CKEDITOR.on( 'instanceDestroyed', function ()
+ {
+ if ( CKEDITOR.tools.isEmpty( this.instances ) )
+ CKEDITOR.fire( 'reset' );
+ });
+
+// Load the bootstrap script.
+CKEDITOR.loader.load( 'core/_bootstrap' ); // @Packager.RemoveLine
+
+// Tri-state constants.
+
+/**
+ * Used to indicate the ON or ACTIVE state.
+ * @constant
+ * @example
+ */
+CKEDITOR.TRISTATE_ON = 1;
+
+/**
+ * Used to indicate the OFF or NON ACTIVE state.
+ * @constant
+ * @example
+ */
+CKEDITOR.TRISTATE_OFF = 2;
+
+/**
+ * Used to indicate DISABLED state.
+ * @constant
+ * @example
+ */
+CKEDITOR.TRISTATE_DISABLED = 0;
+
+/**
+ * Fired when the CKEDITOR.currentInstance object reference changes. This may
+ * happen when setting the focus on different editor instances in the page.
+ * @name CKEDITOR#currentInstance
+ * @event
+ */
diff --git a/devel/third-party/ckeditor/core/ckeditor_base.js b/devel/third-party/ckeditor/core/ckeditor_base.js
new file mode 100644
index 0000000..75d2d0e
--- /dev/null
+++ b/devel/third-party/ckeditor/core/ckeditor_base.js
@@ -0,0 +1,193 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Contains the first and essential part of the {@link CKEDITOR}
+ * object definition.
+ */
+
+// #### Compressed Code
+// Must be updated on changes in the script, as well as updated in the
+// ckeditor_source.js and ckeditor_basic_source.js files.
+
+// if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.4.1',rev:'5892',_:{},status:'unloaded',basePath:(function(){var d=window.CKEDITOR_BASEPATH||'';if(!d){var e=document.getElementsByTagName('script');for(var f=0;f<e.length;f++){var g=e[f].src.match(/(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i);if(g){d=g[1];break;}}}if(d.indexOf('://')==-1)if(d.indexOf('/')===0)d=location.href.match(/^.*?:\/\/[^\/]*/)[0]+d;else d=location.href.match(/^[^\?]*\/(?:)/)[0]+d;return d;})(),getUrl:function(d){if(d.indexOf('://')==-1&&d.indexOf('/')!==0)d=this.basePath+d;if(this.timestamp&&d.charAt(d.length-1)!='/')d+=(d.indexOf('?')>=0?'&':'?')+('t=')+this.timestamp;return d;}},b=window.CKEDITOR_GETURL;if(b){var c=a.getUrl;a.getUrl=function(d){return b.call(a,d)||c.call(a,d);};}return a;})();
+
+// #### Raw code
+// ATTENTION: read the above "Compressed Code" notes when changing this code.
+
+if ( !window.CKEDITOR )
+{
+ /**
+ * This is the API entry point. The entire CKEditor code runs under this object.
+ * @name CKEDITOR
+ * @namespace
+ * @example
+ */
+ window.CKEDITOR = (function()
+ {
+ var CKEDITOR =
+ /** @lends CKEDITOR */
+ {
+
+ /**
+ * A constant string unique for each release of CKEditor. Its value
+ * is used, by default, to build the URL for all resources loaded
+ * by the editor code, guaranteing clean cache results when
+ * upgrading.
+ * @type String
+ * @example
+ * alert( CKEDITOR.timestamp ); // e.g. '87dm'
+ */
+ // The production implementation contains a fixed timestamp, unique
+ // for each release, generated by the releaser.
+ // (Base 36 value of each component of YYMMDDHH - 4 chars total - e.g. 87bm == 08071122)
+ timestamp : 'A8LE4JO',
+
+ /**
+ * Contains the CKEditor version number.
+ * @type String
+ * @example
+ * alert( CKEDITOR.version ); // e.g. 'CKEditor 3.0 Beta'
+ */
+ version : '3.4.1',
+
+ /**
+ * Contains the CKEditor revision number.
+ * Revision number is incremented automatically after each modification of CKEditor source code.
+ * @type String
+ * @example
+ * alert( CKEDITOR.revision ); // e.g. '3975'
+ */
+ revision : '5892',
+
+ /**
+ * Private object used to hold core stuff. It should not be used out of
+ * the API code as properties defined here may change at any time
+ * without notice.
+ * @private
+ */
+ _ : {},
+
+ /**
+ * Indicates the API loading status. The following status are available:
+ * <ul>
+ * <li><b>unloaded</b>: the API is not yet loaded.</li>
+ * <li><b>basic_loaded</b>: the basic API features are available.</li>
+ * <li><b>basic_ready</b>: the basic API is ready to load the full core code.</li>
+ * <li><b>loading</b>: the full API is being loaded.</li>
+ * <li><b>ready</b>: the API can be fully used.</li>
+ * </ul>
+ * @type String
+ * @example
+ * if ( <b>CKEDITOR.status</b> == 'ready' )
+ * {
+ * // The API can now be fully used.
+ * }
+ */
+ status : 'unloaded',
+
+ /**
+ * Contains the full URL for the CKEditor installation directory.
+ * It's possible to manually provide the base path by setting a
+ * global variable named CKEDITOR_BASEPATH. This global variable
+ * must be set "before" the editor script loading.
+ * @type String
+ * @example
+ * alert( <b>CKEDITOR.basePath</b> ); // "http://www.example.com/ckeditor/" (e.g.)
+ */
+ basePath : (function()
+ {
+ // ATTENTION: fixes on this code must be ported to
+ // var basePath in "core/loader.js".
+
+ // Find out the editor directory path, based on its <script> tag.
+ var path = window.CKEDITOR_BASEPATH || '';
+
+ if ( !path )
+ {
+ var scripts = document.getElementsByTagName( 'script' );
+
+ for ( var i = 0 ; i < scripts.length ; i++ )
+ {
+ var match = scripts[i].src.match( /(^|.*[\\\/])ckeditor(?:_basic)?(?:_source)?.js(?:\?.*)?$/i );
+
+ if ( match )
+ {
+ path = match[1];
+ break;
+ }
+ }
+ }
+
+ // In IE (only) the script.src string is the raw valued entered in the
+ // HTML. Other browsers return the full resolved URL instead.
+ if ( path.indexOf('://') == -1 )
+ {
+ // Absolute path.
+ if ( path.indexOf( '/' ) === 0 )
+ path = location.href.match( /^.*?:\/\/[^\/]*/ )[0] + path;
+ // Relative path.
+ else
+ path = location.href.match( /^[^\?]*\/(?:)/ )[0] + path;
+ }
+
+ if ( !path )
+ throw 'The CKEditor installation path could not be automatically detected. Please set the global variable "CKEDITOR_BASEPATH" before creating editor instances.';
+
+ return path;
+ })(),
+
+ /**
+ * Gets the full URL for CKEditor resources. By default, URLs
+ * returned by this function contains a querystring parameter ("t")
+ * set to the {@link CKEDITOR.timestamp} value.
+ * It's possible to provide a custom implementation to this
+ * function by setting a global variable named CKEDITOR_GETURL.
+ * This global variable must be set "before" the editor script
+ * loading. If the custom implementation returns nothing, the
+ * default implementation is used.
+ * @returns {String} The full URL.
+ * @example
+ * // e.g. http://www.example.com/ckeditor/skins/default/editor.css?t=87dm
+ * alert( CKEDITOR.getUrl( 'skins/default/editor.css' ) );
+ * @example
+ * // e.g. http://www.example.com/skins/default/editor.css?t=87dm
+ * alert( CKEDITOR.getUrl( '/skins/default/editor.css' ) );
+ * @example
+ * // e.g. http://www.somesite.com/skins/default/editor.css?t=87dm
+ * alert( CKEDITOR.getUrl( 'http://www.somesite.com/skins/default/editor.css' ) );
+ */
+ getUrl : function( resource )
+ {
+ // If this is not a full or absolute path.
+ if ( resource.indexOf('://') == -1 && resource.indexOf( '/' ) !== 0 )
+ resource = this.basePath + resource;
+
+ // Add the timestamp, except for directories.
+ if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' && !(/[&?]t=/).test( resource ) )
+ resource += ( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) + 't=' + this.timestamp;
+
+ return resource;
+ }
+ };
+
+ // Make it possible to override the getUrl function with a custom
+ // implementation pointing to a global named CKEDITOR_GETURL.
+ var newGetUrl = window.CKEDITOR_GETURL;
+ if ( newGetUrl )
+ {
+ var originalGetUrl = CKEDITOR.getUrl;
+ CKEDITOR.getUrl = function ( resource )
+ {
+ return newGetUrl.call( CKEDITOR, resource ) ||
+ originalGetUrl.call( CKEDITOR, resource );
+ };
+ }
+
+ return CKEDITOR;
+ })();
+}
+
+// PACKAGER_RENAME( CKEDITOR )
diff --git a/devel/third-party/ckeditor/core/ckeditor_basic.js b/devel/third-party/ckeditor/core/ckeditor_basic.js
new file mode 100644
index 0000000..239aca0
--- /dev/null
+++ b/devel/third-party/ckeditor/core/ckeditor_basic.js
@@ -0,0 +1,242 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Contains the second part of the {@link CKEDITOR} object
+ * definition, which defines the basic editor features to be available in
+ * the root ckeditor_basic.js file.
+ */
+
+if ( CKEDITOR.status == 'unloaded' )
+{
+ (function()
+ {
+ CKEDITOR.event.implementOn( CKEDITOR );
+
+ /**
+ * Forces the full CKEditor core code, in the case only the basic code has been
+ * loaded (ckeditor_basic.js). This method self-destroys (becomes undefined) in
+ * the first call or as soon as the full code is available.
+ * @example
+ * // Check if the full core code has been loaded and load it.
+ * if ( CKEDITOR.loadFullCore )
+ * <b>CKEDITOR.loadFullCore()</b>;
+ */
+ CKEDITOR.loadFullCore = function()
+ {
+ // If not the basic code is not ready it, just mark it to be loaded.
+ if ( CKEDITOR.status != 'basic_ready' )
+ {
+ CKEDITOR.loadFullCore._load = true;
+ return;
+ }
+
+ // Destroy this function.
+ delete CKEDITOR.loadFullCore;
+
+ // Append the script to the head.
+ var script = document.createElement( 'script' );
+ script.type = 'text/javascript';
+ script.src = CKEDITOR.basePath + 'ckeditor.js';
+
+ document.getElementsByTagName( 'head' )[0].appendChild( script );
+ };
+
+ /**
+ * The time to wait (in seconds) to load the full editor code after the
+ * page load, if the "ckeditor_basic" file is used. If set to zero, the
+ * editor is loaded on demand, as soon as an instance is created.
+ *
+ * This value must be set on the page before the page load completion.
+ * @type Number
+ * @default 0 (zero)
+ * @example
+ * // Loads the full source after five seconds.
+ * CKEDITOR.loadFullCoreTimeout = 5;
+ */
+ CKEDITOR.loadFullCoreTimeout = 0;
+
+ /**
+ * The class name used to identify <textarea> elements to be replace
+ * by CKEditor instances.
+ * @type String
+ * @default 'ckeditor'
+ * @example
+ * <b>CKEDITOR.replaceClass</b> = 'rich_editor';
+ */
+ CKEDITOR.replaceClass = 'ckeditor';
+
+ /**
+ * Enables the replacement of all textareas with class name matching
+ * {@link CKEDITOR.replaceClass}.
+ * @type Boolean
+ * @default true
+ * @example
+ * // Disable the auto-replace feature.
+ * <b>CKEDITOR.replaceByClassEnabled</b> = false;
+ */
+ CKEDITOR.replaceByClassEnabled = true;
+
+ var createInstance = function( elementOrIdOrName, config, creationFunction, data )
+ {
+ if ( CKEDITOR.env.isCompatible )
+ {
+ // Load the full core.
+ if ( CKEDITOR.loadFullCore )
+ CKEDITOR.loadFullCore();
+
+ var editor = creationFunction( elementOrIdOrName, config, data );
+ CKEDITOR.add( editor );
+ return editor;
+ }
+
+ return null;
+ };
+
+ /**
+ * Replaces a <textarea> or a DOM element (DIV) with a CKEditor
+ * instance. For textareas, the initial value in the editor will be the
+ * textarea value. For DOM elements, their innerHTML will be used
+ * instead. We recommend using TEXTAREA and DIV elements only.
+ * @param {Object|String} elementOrIdOrName The DOM element (textarea), its
+ * ID or name.
+ * @param {Object} [config] The specific configurations to apply to this
+ * editor instance. Configurations set here will override global CKEditor
+ * settings.
+ * @returns {CKEDITOR.editor} The editor instance created.
+ * @example
+ * <textarea id="myfield" name="myfield"><:/textarea>
+ * ...
+ * <b>CKEDITOR.replace( 'myfield' )</b>;
+ * @example
+ * var textarea = document.body.appendChild( document.createElement( 'textarea' ) );
+ * <b>CKEDITOR.replace( textarea )</b>;
+ */
+ CKEDITOR.replace = function( elementOrIdOrName, config )
+ {
+ return createInstance( elementOrIdOrName, config, CKEDITOR.editor.replace );
+ };
+
+ /**
+ * Creates a new editor instance inside a specific DOM element.
+ * @param {Object|String} elementOrId The DOM element or its ID.
+ * @param {Object} [config] The specific configurations to apply to this
+ * editor instance. Configurations set here will override global CKEditor
+ * settings.
+ * @param {String} [data] Since 3.3. Initial value for the instance.
+ * @returns {CKEDITOR.editor} The editor instance created.
+ * @example
+ * <div id="editorSpace"><:/div>
+ * ...
+ * <b>CKEDITOR.appendTo( 'editorSpace' )</b>;
+ */
+ CKEDITOR.appendTo = function( elementOrId, config, data )
+ {
+ return createInstance( elementOrId, config, CKEDITOR.editor.appendTo, data );
+ };
+
+ /**
+ * @ignore
+ * Documented at ckeditor.js.
+ */
+ CKEDITOR.add = function( editor )
+ {
+ // For now, just put the editor in the pending list. It will be
+ // processed as soon as the full code gets loaded.
+ var pending = this._.pending || ( this._.pending = [] );
+ pending.push( editor );
+ };
+
+ /**
+ * Replace all <textarea> elements available in the document with
+ * editor instances.
+ * @example
+ * // Replace all <textarea> elements in the page.
+ * CKEDITOR.replaceAll();
+ * @example
+ * // Replace all <textarea class="myClassName"> elements in the page.
+ * CKEDITOR.replaceAll( 'myClassName' );
+ * @example
+ * // Selectively replace <textarea> elements, based on custom assertions.
+ * CKEDITOR.replaceAll( function( textarea, config )
+ * {
+ * // Custom code to evaluate the replace, returning false
+ * // if it must not be done.
+ * // It also passes the "config" parameter, so the
+ * // developer can customize the instance.
+ * } );
+ */
+ CKEDITOR.replaceAll = function()
+ {
+ var textareas = document.getElementsByTagName( 'textarea' );
+
+ for ( var i = 0 ; i < textareas.length ; i++ )
+ {
+ var config = null;
+ var textarea = textareas[i];
+ var name = textarea.name;
+
+ // The "name" and/or "id" attribute must exist.
+ if ( !textarea.name && !textarea.id )
+ continue;
+
+ if ( typeof arguments[0] == 'string' )
+ {
+ // The textarea class name could be passed as the function
+ // parameter.
+
+ var classRegex = new RegExp( '(?:^|\\s)' + arguments[0] + '(?:$|\\s)' );
+
+ if ( !classRegex.test( textarea.className ) )
+ continue;
+ }
+ else if ( typeof arguments[0] == 'function' )
+ {
+ // An assertion function could be passed as the function parameter.
+ // It must explicitly return "false" to ignore a specific <textarea>.
+ config = {};
+ if ( arguments[0]( textarea, config ) === false )
+ continue;
+ }
+
+ this.replace( textarea, config );
+ }
+ };
+
+ (function()
+ {
+ var onload = function()
+ {
+ var loadFullCore = CKEDITOR.loadFullCore,
+ loadFullCoreTimeout = CKEDITOR.loadFullCoreTimeout;
+
+ // Replace all textareas with the default class name.
+ if ( CKEDITOR.replaceByClassEnabled )
+ CKEDITOR.replaceAll( CKEDITOR.replaceClass );
+
+ CKEDITOR.status = 'basic_ready';
+
+ if ( loadFullCore && loadFullCore._load )
+ loadFullCore();
+ else if ( loadFullCoreTimeout )
+ {
+ setTimeout( function()
+ {
+ if ( CKEDITOR.loadFullCore )
+ CKEDITOR.loadFullCore();
+ }
+ , loadFullCoreTimeout * 1000 );
+ }
+ };
+
+ if ( window.addEventListener )
+ window.addEventListener( 'load', onload, false );
+ else if ( window.attachEvent )
+ window.attachEvent( 'onload', onload );
+ })();
+
+ CKEDITOR.status = 'basic_loaded';
+ })();
+}
diff --git a/devel/third-party/ckeditor/core/command.js b/devel/third-party/ckeditor/core/command.js
new file mode 100644
index 0000000..0a8d098
--- /dev/null
+++ b/devel/third-party/ckeditor/core/command.js
@@ -0,0 +1,73 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.command = function( editor, commandDefinition )
+{
+ this.uiItems = [];
+
+ this.exec = function( data )
+ {
+ if ( this.state == CKEDITOR.TRISTATE_DISABLED )
+ return false;
+
+ if ( this.editorFocus ) // Give editor focus if necessary (#4355).
+ editor.focus();
+
+ return ( commandDefinition.exec.call( this, editor, data ) !== false );
+ };
+
+ CKEDITOR.tools.extend( this, commandDefinition,
+ // Defaults
+ {
+ modes : { wysiwyg : 1 },
+ editorFocus : true,
+ state : CKEDITOR.TRISTATE_OFF
+ });
+
+ // Call the CKEDITOR.event constructor to initialize this instance.
+ CKEDITOR.event.call( this );
+};
+
+CKEDITOR.command.prototype =
+{
+ enable : function()
+ {
+ if ( this.state == CKEDITOR.TRISTATE_DISABLED )
+ this.setState( ( !this.preserveState || ( typeof this.previousState == 'undefined' ) ) ? CKEDITOR.TRISTATE_OFF : this.previousState );
+ },
+
+ disable : function()
+ {
+ this.setState( CKEDITOR.TRISTATE_DISABLED );
+ },
+
+ setState : function( newState )
+ {
+ // Do nothing if there is no state change.
+ if ( this.state == newState )
+ return false;
+
+ this.previousState = this.state;
+
+ // Set the new state.
+ this.state = newState;
+
+ // Fire the "state" event, so other parts of the code can react to the
+ // change.
+ this.fire( 'state' );
+
+ return true;
+ },
+
+ toggleState : function()
+ {
+ if ( this.state == CKEDITOR.TRISTATE_OFF )
+ this.setState( CKEDITOR.TRISTATE_ON );
+ else if ( this.state == CKEDITOR.TRISTATE_ON )
+ this.setState( CKEDITOR.TRISTATE_OFF );
+ }
+};
+
+CKEDITOR.event.implementOn( CKEDITOR.command.prototype, true );
diff --git a/devel/third-party/ckeditor/core/commanddefinition.js b/devel/third-party/ckeditor/core/commanddefinition.js
new file mode 100644
index 0000000..c451274
--- /dev/null
+++ b/devel/third-party/ckeditor/core/commanddefinition.js
@@ -0,0 +1,102 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.commandDefinition} class,
+ * which contains the defintion of a command. This file is for
+ * documentation purposes only.
+ */
+
+/**
+ * (Virtual Class) Do not call this constructor. This class is not really part
+ * of the API. It just illustrates the features of command objects to be
+ * passed to the {@link CKEDITOR.editor.prototype.addCommand} function.
+ * @name CKEDITOR.commandDefinition
+ * @constructor
+ * @example
+ */
+
+ /**
+ * Executes the command.
+ * @name CKEDITOR.commandDefinition.prototype.exec
+ * @function
+ * @param {CKEDITOR.editor} editor The editor within which run the command.
+ * @param {Object} [data] Additional data to be used to execute the command.
+ * @returns {Boolean} Whether the command has been successfully executed.
+ * Defaults to "true", if nothing is returned.
+ * @example
+ * editorInstance.addCommand( 'sample',
+ * {
+ * exec : function( editor )
+ * {
+ * alert( 'Executing a command for the editor name "' + editor.name + '"!' );
+ * }
+ * });
+ */
+
+/**
+ * Whether the command need to be hooked into the redo/undo system.
+ * @name CKEDITOR.commandDefinition.canUndo
+ * @type {Boolean} If not defined or 'true' both hook into undo system, set it
+ * to 'false' explicitly keep it out.
+ * @field
+ * @example
+ * editorInstance.addCommand( 'alertName',
+ * {
+ * exec : function( editor )
+ * {
+ * alert( editor.name );
+ * },
+ * canUndo : false // No support for undo/redo
+ * });
+ */
+
+/**
+ * Whether the command is asynchronous, which means the 'afterCommandExec' event
+ * will be fired by the command itself manually, and the 'exec' function return value
+ * of this command is not to be returned.
+ * @name CKEDITOR.commandDefinition.async
+ * @type {Boolean} If defined as 'true', the command is asynchronous.
+ * @example
+ * editorInstance.addCommand( 'alertName',
+ * {
+ * exec : function( editor )
+ * {
+ * // Asynchronous operation below.
+ * CKEDITOR.ajax.loadXml( 'data.xml' );
+ * },
+ * async : true // The command need some time to complete after exec function returns.
+ * });
+ */
+
+/**
+ * Whether the command should give focus to the editor before execution.
+ * @name CKEDITOR.commandDefinition.editorFocus
+ * @type {Boolean}
+ * @example
+ * editorInstance.addCommand( 'maximize',
+ * {
+ * exec : function( editor )
+ * {
+ * },
+ * editorFocus : false // The command doesn't require focusing the editing document.
+ * });
+ */
+
+
+/**
+ * Whether the command state should be set to {@link CKEDITOR.TRISTATE_DISABLED} on startup.
+ * @name CKEDITOR.commandDefinition.startDisabled
+ * @type {Boolean}
+ * @default false
+ * @example
+ * editorInstance.addCommand( 'unlink',
+ * {
+ * exec : function( editor )
+ * {
+ * },
+ * startDisabled : true // Command is unavailable until selection is inside a link.
+ * });
+ */
diff --git a/devel/third-party/ckeditor/core/config.js b/devel/third-party/ckeditor/core/config.js
new file mode 100644
index 0000000..f18c50b
--- /dev/null
+++ b/devel/third-party/ckeditor/core/config.js
@@ -0,0 +1,405 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.config} object, which holds the
+ * default configuration settings.
+ */
+
+CKEDITOR.ENTER_P = 1;
+CKEDITOR.ENTER_BR = 2;
+CKEDITOR.ENTER_DIV = 3;
+
+/**
+ * Holds the default configuration settings. Changes to this object are
+ * reflected in all editor instances, if not specificaly specified for those
+ * instances.
+ * @namespace
+ * @example
+ * // All editor created after the following setting will not load custom
+ * // configuration files.
+ * CKEDITOR.config.customConfig = '';
+ */
+CKEDITOR.config =
+{
+ /**
+ * The URL path for the custom configuration file to be loaded. If not
+ * overloaded with inline configurations, it defaults to the "config.js"
+ * file present in the root of the CKEditor installation directory.<br /><br />
+ *
+ * CKEditor will recursively load custom configuration files defined inside
+ * other custom configuration files.
+ * @type String
+ * @default '<CKEditor folder>/config.js'
+ * @example
+ * // Load a specific configuration file.
+ * CKEDITOR.replace( 'myfiled', { customConfig : '/myconfig.js' } );
+ * @example
+ * // Do not load any custom configuration file.
+ * CKEDITOR.replace( 'myfiled', { customConfig : '' } );
+ */
+ customConfig : 'config.js',
+
+ /**
+ * Whether the replaced element (usually a textarea) is to be updated
+ * automatically when posting the form containing the editor.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.autoUpdateElement = true;
+ */
+ autoUpdateElement : true,
+
+ /**
+ * The base href URL used to resolve relative and absolute URLs in the
+ * editor content.
+ * @type String
+ * @default '' (empty string)
+ * @example
+ * config.baseHref = 'http://www.example.com/path/';
+ */
+ baseHref : '',
+
+ /**
+ * The CSS file(s) to be used to apply style to the contents. It should
+ * reflect the CSS used in the final pages where the contents are to be
+ * used.
+ * @type String|Array
+ * @default '<CKEditor folder>/contents.css'
+ * @example
+ * config.contentsCss = '/css/mysitestyles.css';
+ * config.contentsCss = ['/css/mysitestyles.css', '/css/anotherfile.css'];
+ */
+ contentsCss : CKEDITOR.basePath + 'contents.css',
+
+ /**
+ * The writting direction of the language used to write the editor
+ * contents. Allowed values are:
+ * <ul>
+ * <li>'ui' - which indicate content direction will be the same with the user interface language direction;</li>
+ * <li>'ltr' - for Left-To-Right language (like English);</li>
+ * <li>'rtl' - for Right-To-Left languages (like Arabic).</li>
+ * </ul>
+ * @default 'ui'
+ * @type String
+ * @example
+ * config.contentsLangDirection = 'rtl';
+ */
+ contentsLangDirection : 'ui',
+
+ /**
+ * Language code of the writting language which is used to author the editor
+ * contents.
+ * @default Same value with editor's UI language.
+ * @type String
+ * @example
+ * config.contentsLanguage = 'fr';
+ */
+ contentsLanguage : '',
+
+ /**
+ * The user interface language localization to use. If empty, the editor
+ * automatically localize the editor to the user language, if supported,
+ * otherwise the {@link CKEDITOR.config.defaultLanguage} language is used.
+ * @default '' (empty)
+ * @type String
+ * @example
+ * // Load the German interface.
+ * config.language = 'de';
+ */
+ language : '',
+
+ /**
+ * The language to be used if {@link CKEDITOR.config.language} is left empty and it's not
+ * possible to localize the editor to the user language.
+ * @default 'en'
+ * @type String
+ * @example
+ * config.defaultLanguage = 'it';
+ */
+ defaultLanguage : 'en',
+
+ /**
+ * Sets the behavior for the ENTER key. It also dictates other behaviour
+ * rules in the editor, like whether the <br> element is to be used
+ * as a paragraph separator when indenting text.
+ * The allowed values are the following constants, and their relative
+ * behavior:
+ * <ul>
+ * <li>{@link CKEDITOR.ENTER_P} (1): new <p> paragraphs are created;</li>
+ * <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with <br> elements;</li>
+ * <li>{@link CKEDITOR.ENTER_DIV} (3): new <div> blocks are created.</li>
+ * </ul>
+ * <strong>Note</strong>: It's recommended to use the
+ * {@link CKEDITOR.ENTER_P} value because of its semantic value and
+ * correctness. The editor is optimized for this value.
+ * @type Number
+ * @default {@link CKEDITOR.ENTER_P}
+ * @example
+ * // Not recommended.
+ * config.enterMode = CKEDITOR.ENTER_BR;
+ */
+ enterMode : CKEDITOR.ENTER_P,
+
+ /**
+ * Force the respect of {@link CKEDITOR.config.enterMode} as line break regardless of the context,
+ * E.g. If {@link CKEDITOR.config.enterMode} is set to {@link CKEDITOR.ENTER_P},
+ * press enter key inside a 'div' will create a new paragraph with 'p' instead of 'div'.
+ * @since 3.2.1
+ * @default false
+ * @example
+ * // Not recommended.
+ * config.forceEnterMode = true;
+ */
+ forceEnterMode : false,
+
+ /**
+ * Just like the {@link CKEDITOR.config.enterMode} setting, it defines the behavior for the SHIFT+ENTER key.
+ * The allowed values are the following constants, and their relative
+ * behavior:
+ * <ul>
+ * <li>{@link CKEDITOR.ENTER_P} (1): new <p> paragraphs are created;</li>
+ * <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with <br> elements;</li>
+ * <li>{@link CKEDITOR.ENTER_DIV} (3): new <div> blocks are created.</li>
+ * </ul>
+ * @type Number
+ * @default {@link CKEDITOR.ENTER_BR}
+ * @example
+ * config.shiftEnterMode = CKEDITOR.ENTER_P;
+ */
+ shiftEnterMode : CKEDITOR.ENTER_BR,
+
+ /**
+ * A comma separated list of plugins that are not related to editor
+ * instances. Reserved to plugins that extend the core code only.<br /><br />
+ *
+ * There are no ways to override this setting, except by editing the source
+ * code of CKEditor (_source/core/config.js).
+ * @type String
+ * @example
+ */
+ corePlugins : '',
+
+ /**
+ * Sets the doctype to be used when loading the editor content as HTML.
+ * @type String
+ * @default '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
+ * @example
+ * // Set the doctype to the HTML 4 (quirks) mode.
+ * config.docType = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
+ */
+ docType : '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
+
+ /**
+ * Sets the "id" attribute to be used on the body element of the editing
+ * area.
+ * @since 3.1
+ * @type String
+ * @default ''
+ */
+ bodyId : '',
+
+ /**
+ * Sets the "class" attribute to be used on the body element of the editing
+ * area.
+ * @since 3.1
+ * @type String
+ * @default ''
+ */
+ bodyClass : '',
+
+ /**
+ * Indicates whether the contents to be edited are being inputted as a full
+ * HTML page. A full page includes the <html>, <head> and
+ * <body> tags. The final output will also reflect this setting,
+ * including the <body> contents only if this setting is disabled.
+ * @since 3.1
+ * @type Boolean
+ * @default false
+ * @example
+ * config.fullPage = true;
+ */
+ fullPage : false,
+
+ /**
+ * The height of editing area( content ), in relative or absolute, e.g. 30px, 5em.
+ * Note: Percentage unit is not supported yet. e.g. 30%.
+ * @type Number|String
+ * @default '200'
+ * @example
+ * config.height = 500;
+ * config.height = '25em';
+ * config.height = '300px';
+ */
+ height : 200,
+
+ /**
+ * Comma separated list of plugins to load and initialize for an editor
+ * instance. This should be rarely changed, using instead the
+ * {@link CKEDITOR.config.extraPlugins} and
+ * {@link CKEDITOR.config.removePlugins} for customizations.
+ * @type String
+ * @example
+ */
+ plugins :
+ 'about,' +
+ 'a11yhelp,' +
+ 'basicstyles,' +
+ 'bidi,' +
+ 'blockquote,' +
+ 'button,' +
+ 'clipboard,' +
+ 'colorbutton,' +
+ 'colordialog,' +
+ 'contextmenu,' +
+ 'dialogadvtab,' +
+ 'div,' +
+ 'elementspath,' +
+ 'enterkey,' +
+ 'entities,' +
+ 'filebrowser,' +
+ 'find,' +
+ 'flash,' +
+ 'font,' +
+ 'format,' +
+ 'forms,' +
+ 'horizontalrule,' +
+ 'htmldataprocessor,' +
+ 'image,' +
+ 'indent,' +
+ 'justify,' +
+ 'keystrokes,' +
+ 'link,' +
+ 'list,' +
+ 'liststyle,' +
+ 'maximize,' +
+ 'newpage,' +
+ 'pagebreak,' +
+ 'pastefromword,' +
+ 'pastetext,' +
+ 'popup,' +
+ 'preview,' +
+ 'print,' +
+ 'removeformat,' +
+ 'resize,' +
+ 'save,' +
+ 'scayt,' +
+ 'smiley,' +
+ 'showblocks,' +
+ 'showborders,' +
+ 'sourcearea,' +
+ 'stylescombo,' +
+ 'table,' +
+ 'tabletools,' +
+ 'specialchar,' +
+ 'tab,' +
+ 'templates,' +
+ 'toolbar,' +
+ 'undo,' +
+ 'wysiwygarea,' +
+ 'wsc',
+
+ /**
+ * List of additional plugins to be loaded. This is a tool setting which
+ * makes it easier to add new plugins, whithout having to touch and
+ * possibly breaking the {@link CKEDITOR.config.plugins} setting.
+ * @type String
+ * @example
+ * config.extraPlugins = 'myplugin,anotherplugin';
+ */
+ extraPlugins : '',
+
+ /**
+ * List of plugins that must not be loaded. This is a tool setting which
+ * makes it easier to avoid loading plugins definied in the
+ * {@link CKEDITOR.config.plugins} setting, whithout having to touch it and
+ * potentially breaking it.
+ * @type String
+ * @example
+ * config.removePlugins = 'elementspath,save,font';
+ */
+ removePlugins : '',
+
+ /**
+ * List of regular expressions to be executed over the input HTML,
+ * indicating code that must stay untouched.
+ * @type Array
+ * @default [] (empty array)
+ * @example
+ * config.protectedSource.push( /<\?[\s\S]*?\?>/g ); // PHP Code
+ * config.protectedSource.push( /<%[\s\S]*?%>/g ); // ASP Code
+ * config.protectedSource.push( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ); // ASP.Net Code
+ */
+ protectedSource : [],
+
+ /**
+ * The editor tabindex value.
+ * @type Number
+ * @default 0 (zero)
+ * @example
+ * config.tabIndex = 1;
+ */
+ tabIndex : 0,
+
+ /**
+ * The theme to be used to build the UI.
+ * @type String
+ * @default 'default'
+ * @see CKEDITOR.config.skin
+ * @example
+ * config.theme = 'default';
+ */
+ theme : 'default',
+
+ /**
+ * The skin to load. It may be the name of the skin folder inside the
+ * editor installation path, or the name and the path separated by a comma.
+ * @type String
+ * @default 'default'
+ * @example
+ * config.skin = 'v2';
+ * @example
+ * config.skin = 'myskin,/customstuff/myskin/';
+ */
+ skin : 'kama',
+
+ /**
+ * The editor width in CSS size format or pixel integer.
+ * @type String|Number
+ * @default '' (empty)
+ * @example
+ * config.width = 850;
+ * @example
+ * config.width = '75%';
+ */
+ width : '',
+
+ /**
+ * The base Z-index for floating dialogs and popups.
+ * @type Number
+ * @default 10000
+ * @example
+ * config.baseFloatZIndex = 2000
+ */
+ baseFloatZIndex : 10000
+};
+
+/**
+ * Indicates that some of the editor features, like alignement and text
+ * direction, should used the "computed value" of the feature to indicate it's
+ * on/off state, instead of using the "real value".
+ *
+ * If enabled, in a left to right written document, the "Left Justify"
+ * alignment button will show as active, even if the aligment style is not
+ * explicitly applied to the current paragraph in the editor.
+ * @name CKEDITOR.config.useComputedState
+ * @type Boolean
+ * @default true
+ * @since 3.4
+ * @example
+ * config.useComputedState = false;
+ */
+
+// PACKAGER_RENAME( CKEDITOR.config )
diff --git a/devel/third-party/ckeditor/core/dataprocessor.js b/devel/third-party/ckeditor/core/dataprocessor.js
new file mode 100644
index 0000000..cb8fcba
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dataprocessor.js
@@ -0,0 +1,66 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.dataProcessor} class, which
+ * defines the basic structure of data processor objects to be
+ * set to {@link CKEDITOR.editor.dataProcessor}.
+ */
+
+/**
+ * If defined, points to the data processor which is responsible to translate
+ * and transform the editor data on input and output.
+ * Generaly it will point to an instance of {@link CKEDITOR.htmlDataProcessor},
+ * which handles HTML data. The editor may also handle other data formats by
+ * using different data processors provided by specific plugins.
+ * @name CKEDITOR.editor.dataProcessor
+ * @type CKEDITOR.dataProcessor
+ */
+
+/**
+ * Represents a data processor, which is responsible to translate and transform
+ * the editor data on input and output.
+ * This class is not really part of the API. It's here for documentation
+ * purposes, and serves as the base ("interface") for data processors
+ * implementation.
+ * @name CKEDITOR.dataProcessor
+ * @contructor
+ * @example
+ */
+
+/**
+ * Transforms input data into HTML to be loaded in the editor.
+ * While the editor is able to handle non HTML data (like BBCode), at runtime
+ * it can handle HTML data only. The role of the data processor is transforming
+ * the input data into HTML through this function.
+ * @name CKEDITOR.dataProcessor.prototype.toHtml
+ * @function
+ * @param {String} data The input data to be transformed.
+ * @param {String} [fixForBody] The tag name to be used if the data must be
+ * fixed because it is supposed to be loaded direcly into the <body>
+ * tag. This is generally not used by non-HTML data processors.
+ * @example
+ * // Tranforming BBCode data, having a custom BBCode data processor.
+ * var data = 'This is [b]an example[/b].';
+ * var html = editor.dataProcessor.toHtml( data ); // '<p>This is <b>an example</b>.</p>'
+ */
+
+/**
+ * Transforms HTML into data to be outputted by the editor, in the format
+ * expected by the data processor.
+ * While the editor is able to handle non HTML data (like BBCode), at runtime
+ * it can handle HTML data only. The role of the data processor is transforming
+ * the HTML data containined by the editor into a specific data format through
+ * this function.
+ * @name CKEDITOR.dataProcessor.prototype.toDataFormat
+ * @function
+ * @param {String} html The HTML to be transformed.
+ * @param {String} fixForBody The tag name to be used if the output data is
+ * coming from <body> and may be eventually fixed for it. This is
+ * generally not used by non-HTML data processors.
+ * // Tranforming into BBCode data, having a custom BBCode data processor.
+ * var html = '<p>This is <b>an example</b>.</p>';
+ * var data = editor.dataProcessor.toDataFormat( html ); // 'This is [b]an example[/b].'
+ */
diff --git a/devel/third-party/ckeditor/core/dom.js b/devel/third-party/ckeditor/core/dom.js
new file mode 100644
index 0000000..e56f71f
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom.js
@@ -0,0 +1,21 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom} object, which contains DOM
+ * manipulation objects and function.
+ */
+
+/**
+ * DOM manipulation objects and function.<br /><br />
+ * @see CKEDITOR.dom.element
+ * @see CKEDITOR.dom.node
+ * @namespace
+ * @example
+ */
+CKEDITOR.dom =
+{};
+
+// PACKAGER_RENAME( CKEDITOR.dom )
diff --git a/devel/third-party/ckeditor/core/dom/comment.js b/devel/third-party/ckeditor/core/dom/comment.js
new file mode 100644
index 0000000..3daf537
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/comment.js
@@ -0,0 +1,32 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.comment} class, which represents
+ * a DOM comment node.
+ */
+
+CKEDITOR.dom.comment = CKEDITOR.tools.createClass(
+{
+ base : CKEDITOR.dom.node,
+
+ $ : function( text, ownerDocument )
+ {
+ if ( typeof text == 'string' )
+ text = ( ownerDocument ? ownerDocument.$ : document ).createComment( text );
+
+ this.base( text );
+ },
+
+ proto :
+ {
+ type : CKEDITOR.NODE_COMMENT,
+
+ getOuterHtml : function()
+ {
+ return '<!--' + this.$.nodeValue + '-->';
+ }
+ }
+});
diff --git a/devel/third-party/ckeditor/core/dom/document.js b/devel/third-party/ckeditor/core/dom/document.js
new file mode 100644
index 0000000..bd8c18c
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/document.js
@@ -0,0 +1,224 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.document} class, which
+ * represents a DOM document.
+ */
+
+/**
+ * Represents a DOM document.
+ * @constructor
+ * @augments CKEDITOR.dom.domObject
+ * @param {Object} domDocument A native DOM document.
+ * @example
+ * var document = new CKEDITOR.dom.document( document );
+ */
+CKEDITOR.dom.document = function( domDocument )
+{
+ CKEDITOR.dom.domObject.call( this, domDocument );
+};
+
+// PACKAGER_RENAME( CKEDITOR.dom.document )
+
+CKEDITOR.dom.document.prototype = new CKEDITOR.dom.domObject();
+
+CKEDITOR.tools.extend( CKEDITOR.dom.document.prototype,
+ /** @lends CKEDITOR.dom.document.prototype */
+ {
+ /**
+ * Appends a CSS file to the document.
+ * @param {String} cssFileUrl The CSS file URL.
+ * @example
+ * <b>CKEDITOR.document.appendStyleSheet( '/mystyles.css' )</b>;
+ */
+ appendStyleSheet : function( cssFileUrl )
+ {
+ if ( this.$.createStyleSheet )
+ this.$.createStyleSheet( cssFileUrl );
+ else
+ {
+ var link = new CKEDITOR.dom.element( 'link' );
+ link.setAttributes(
+ {
+ rel :'stylesheet',
+ type : 'text/css',
+ href : cssFileUrl
+ });
+
+ this.getHead().append( link );
+ }
+ },
+
+ appendStyleText : function( cssStyleText )
+ {
+ if ( this.$.createStyleSheet )
+ {
+ var styleSheet = this.$.createStyleSheet( "" );
+ styleSheet.cssText = cssStyleText ;
+ }
+ else
+ {
+ var style = new CKEDITOR.dom.element( 'style', this );
+ style.append( new CKEDITOR.dom.text( cssStyleText, this ) );
+ this.getHead().append( style );
+ }
+ },
+
+ createElement : function( name, attribsAndStyles )
+ {
+ var element = new CKEDITOR.dom.element( name, this );
+
+ if ( attribsAndStyles )
+ {
+ if ( attribsAndStyles.attributes )
+ element.setAttributes( attribsAndStyles.attributes );
+
+ if ( attribsAndStyles.styles )
+ element.setStyles( attribsAndStyles.styles );
+ }
+
+ return element;
+ },
+
+ createText : function( text )
+ {
+ return new CKEDITOR.dom.text( text, this );
+ },
+
+ focus : function()
+ {
+ this.getWindow().focus();
+ },
+
+ /**
+ * Gets and element based on its id.
+ * @param {String} elementId The element id.
+ * @returns {CKEDITOR.dom.element} The element instance, or null if not found.
+ * @example
+ * var element = <b>CKEDITOR.document.getById( 'myElement' )</b>;
+ * alert( element.getId() ); // "myElement"
+ */
+ getById : function( elementId )
+ {
+ var $ = this.$.getElementById( elementId );
+ return $ ? new CKEDITOR.dom.element( $ ) : null;
+ },
+
+ getByAddress : function( address, normalized )
+ {
+ var $ = this.$.documentElement;
+
+ for ( var i = 0 ; $ && i < address.length ; i++ )
+ {
+ var target = address[ i ];
+
+ if ( !normalized )
+ {
+ $ = $.childNodes[ target ];
+ continue;
+ }
+
+ var currentIndex = -1;
+
+ for (var j = 0 ; j < $.childNodes.length ; j++ )
+ {
+ var candidate = $.childNodes[ j ];
+
+ if ( normalized === true &&
+ candidate.nodeType == 3 &&
+ candidate.previousSibling &&
+ candidate.previousSibling.nodeType == 3 )
+ {
+ continue;
+ }
+
+ currentIndex++;
+
+ if ( currentIndex == target )
+ {
+ $ = candidate;
+ break;
+ }
+ }
+ }
+
+ return $ ? new CKEDITOR.dom.node( $ ) : null;
+ },
+
+ getElementsByTag : function( tagName, namespace )
+ {
+ if ( !CKEDITOR.env.ie && namespace )
+ tagName = namespace + ':' + tagName;
+ return new CKEDITOR.dom.nodeList( this.$.getElementsByTagName( tagName ) );
+ },
+
+ /**
+ * Gets the <head> element for this document.
+ * @returns {CKEDITOR.dom.element} The <head> element.
+ * @example
+ * var element = <b>CKEDITOR.document.getHead()</b>;
+ * alert( element.getName() ); // "head"
+ */
+ getHead : function()
+ {
+ var head = this.$.getElementsByTagName( 'head' )[0];
+ head = new CKEDITOR.dom.element( head );
+
+ return (
+ this.getHead = function()
+ {
+ return head;
+ })();
+ },
+
+ /**
+ * Gets the <body> element for this document.
+ * @returns {CKEDITOR.dom.element} The <body> element.
+ * @example
+ * var element = <b>CKEDITOR.document.getBody()</b>;
+ * alert( element.getName() ); // "body"
+ */
+ getBody : function()
+ {
+ var body = new CKEDITOR.dom.element( this.$.body );
+
+ return (
+ this.getBody = function()
+ {
+ return body;
+ })();
+ },
+
+ /**
+ * Gets the DOM document element for this document.
+ * @returns {CKEDITOR.dom.element} The DOM document element.
+ */
+ getDocumentElement : function()
+ {
+ var documentElement = new CKEDITOR.dom.element( this.$.documentElement );
+
+ return (
+ this.getDocumentElement = function()
+ {
+ return documentElement;
+ })();
+ },
+
+ /**
+ * Gets the window object that holds this document.
+ * @returns {CKEDITOR.dom.window} The window object.
+ */
+ getWindow : function()
+ {
+ var win = new CKEDITOR.dom.window( this.$.parentWindow || this.$.defaultView );
+
+ return (
+ this.getWindow = function()
+ {
+ return win;
+ })();
+ }
+ });
diff --git a/devel/third-party/ckeditor/core/dom/documentfragment.js b/devel/third-party/ckeditor/core/dom/documentfragment.js
new file mode 100644
index 0000000..f075562
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/documentfragment.js
@@ -0,0 +1,49 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+/**
+ * DocumentFragment is a "lightweight" or "minimal" Document object. It is
+ * commonly used to extract a portion of a document's tree or to create a new
+ * fragment of a document. Various operations may take DocumentFragment objects
+ * as arguments and results in all the child nodes of the DocumentFragment being
+ * moved to the child list of this node.
+ *
+ * @param {Object} ownerDocument
+ */
+CKEDITOR.dom.documentFragment = function( ownerDocument )
+{
+ ownerDocument = ownerDocument || CKEDITOR.document;
+ this.$ = ownerDocument.$.createDocumentFragment();
+};
+
+CKEDITOR.tools.extend( CKEDITOR.dom.documentFragment.prototype,
+ CKEDITOR.dom.element.prototype,
+ {
+ type : CKEDITOR.NODE_DOCUMENT_FRAGMENT,
+ insertAfterNode : function( node )
+ {
+ node = node.$;
+ node.parentNode.insertBefore( this.$, node.nextSibling );
+ }
+ },
+ true,
+ {
+ 'append' : 1,
+ 'appendBogus' : 1,
+ 'getFirst' : 1,
+ 'getLast' : 1,
+ 'appendTo' : 1,
+ 'moveChildren' : 1,
+ 'insertBefore' : 1,
+ 'insertAfterNode' : 1,
+ 'replace' : 1,
+ 'trim' : 1,
+ 'type' : 1,
+ 'ltrim' : 1,
+ 'rtrim' : 1,
+ 'getDocument' : 1,
+ 'getChildCount' : 1,
+ 'getChild' : 1,
+ 'getChildren' : 1
+ } );
diff --git a/devel/third-party/ckeditor/core/dom/domobject.js b/devel/third-party/ckeditor/core/dom/domobject.js
new file mode 100644
index 0000000..f10db99
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/domobject.js
@@ -0,0 +1,251 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.editor} class, which is the base
+ * for other classes representing DOM objects.
+ */
+
+/**
+ * Represents a DOM object. This class is not intended to be used directly. It
+ * serves as the base class for other classes representing specific DOM
+ * objects.
+ * @constructor
+ * @param {Object} nativeDomObject A native DOM object.
+ * @augments CKEDITOR.event
+ * @example
+ */
+CKEDITOR.dom.domObject = function( nativeDomObject )
+{
+ if ( nativeDomObject )
+ {
+ /**
+ * The native DOM object represented by this class instance.
+ * @type Object
+ * @example
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * alert( element.$.nodeType ); // "1"
+ */
+ this.$ = nativeDomObject;
+ }
+};
+
+CKEDITOR.dom.domObject.prototype = (function()
+{
+ // Do not define other local variables here. We want to keep the native
+ // listener closures as clean as possible.
+
+ var getNativeListener = function( domObject, eventName )
+ {
+ return function( domEvent )
+ {
+ // In FF, when reloading the page with the editor focused, it may
+ // throw an error because the CKEDITOR global is not anymore
+ // available. So, we check it here first. (#2923)
+ if ( typeof CKEDITOR != 'undefined' )
+ domObject.fire( eventName, new CKEDITOR.dom.event( domEvent ) );
+ };
+ };
+
+ return /** @lends CKEDITOR.dom.domObject.prototype */ {
+
+ getPrivate : function()
+ {
+ var priv;
+
+ // Get the main private function from the custom data. Create it if not
+ // defined.
+ if ( !( priv = this.getCustomData( '_' ) ) )
+ this.setCustomData( '_', ( priv = {} ) );
+
+ return priv;
+ },
+
+ /** @ignore */
+ on : function( eventName )
+ {
+ // We customize the "on" function here. The basic idea is that we'll have
+ // only one listener for a native event, which will then call all listeners
+ // set to the event.
+
+ // Get the listeners holder object.
+ var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
+
+ if ( !nativeListeners )
+ {
+ nativeListeners = {};
+ this.setCustomData( '_cke_nativeListeners', nativeListeners );
+ }
+
+ // Check if we have a listener for that event.
+ if ( !nativeListeners[ eventName ] )
+ {
+ var listener = nativeListeners[ eventName ] = getNativeListener( this, eventName );
+
+ if ( this.$.addEventListener )
+ this.$.addEventListener( eventName, listener, !!CKEDITOR.event.useCapture );
+ else if ( this.$.attachEvent )
+ this.$.attachEvent( 'on' + eventName, listener );
+ }
+
+ // Call the original implementation.
+ return CKEDITOR.event.prototype.on.apply( this, arguments );
+ },
+
+ /** @ignore */
+ removeListener : function( eventName )
+ {
+ // Call the original implementation.
+ CKEDITOR.event.prototype.removeListener.apply( this, arguments );
+
+ // If we don't have listeners for this event, clean the DOM up.
+ if ( !this.hasListeners( eventName ) )
+ {
+ var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
+ var listener = nativeListeners && nativeListeners[ eventName ];
+ if ( listener )
+ {
+ if ( this.$.removeEventListener )
+ this.$.removeEventListener( eventName, listener, false );
+ else if ( this.$.detachEvent )
+ this.$.detachEvent( 'on' + eventName, listener );
+
+ delete nativeListeners[ eventName ];
+ }
+ }
+ },
+
+ /**
+ * Removes any listener set on this object.
+ * To avoid memory leaks we must assure that there are no
+ * references left after the object is no longer needed.
+ */
+ removeAllListeners : function()
+ {
+ var nativeListeners = this.getCustomData( '_cke_nativeListeners' );
+ for ( var eventName in nativeListeners )
+ {
+ var listener = nativeListeners[ eventName ];
+ if ( this.$.removeEventListener )
+ this.$.removeEventListener( eventName, listener, false );
+ else if ( this.$.detachEvent )
+ this.$.detachEvent( 'on' + eventName, listener );
+
+ delete nativeListeners[ eventName ];
+ }
+ }
+ };
+})();
+
+(function( domObjectProto )
+{
+ var customData = {};
+
+ CKEDITOR.on( 'reset', function()
+ {
+ customData = {};
+ });
+
+ /**
+ * Determines whether the specified object is equal to the current object.
+ * @name CKEDITOR.dom.domObject.prototype.equals
+ * @function
+ * @param {Object} object The object to compare with the current object.
+ * @returns {Boolean} "true" if the object is equal.
+ * @example
+ * var doc = new CKEDITOR.dom.document( document );
+ * alert( doc.equals( CKEDITOR.document ) ); // "true"
+ * alert( doc == CKEDITOR.document ); // "false"
+ */
+ domObjectProto.equals = function( object )
+ {
+ return ( object && object.$ === this.$ );
+ };
+
+ /**
+ * Sets a data slot value for this object. These values are shared by all
+ * instances pointing to that same DOM object.
+ * @name CKEDITOR.dom.domObject.prototype.setCustomData
+ * @function
+ * @param {String} key A key used to identify the data slot.
+ * @param {Object} value The value to set to the data slot.
+ * @returns {CKEDITOR.dom.domObject} This DOM object instance.
+ * @see CKEDITOR.dom.domObject.prototype.getCustomData
+ * @example
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * element.setCustomData( 'hasCustomData', true );
+ */
+ domObjectProto.setCustomData = function( key, value )
+ {
+ var expandoNumber = this.getUniqueId(),
+ dataSlot = customData[ expandoNumber ] || ( customData[ expandoNumber ] = {} );
+
+ dataSlot[ key ] = value;
+
+ return this;
+ };
+
+ /**
+ * Gets the value set to a data slot in this object.
+ * @name CKEDITOR.dom.domObject.prototype.getCustomData
+ * @function
+ * @param {String} key The key used to identify the data slot.
+ * @returns {Object} This value set to the data slot.
+ * @see CKEDITOR.dom.domObject.prototype.setCustomData
+ * @example
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * alert( element.getCustomData( 'hasCustomData' ) ); // e.g. 'true'
+ */
+ domObjectProto.getCustomData = function( key )
+ {
+ var expandoNumber = this.$._cke_expando,
+ dataSlot = expandoNumber && customData[ expandoNumber ];
+
+ return dataSlot && dataSlot[ key ];
+ };
+
+ /**
+ * @name CKEDITOR.dom.domObject.prototype.removeCustomData
+ */
+ domObjectProto.removeCustomData = function( key )
+ {
+ var expandoNumber = this.$._cke_expando,
+ dataSlot = expandoNumber && customData[ expandoNumber ],
+ retval = dataSlot && dataSlot[ key ];
+
+ if ( typeof retval != 'undefined' )
+ delete dataSlot[ key ];
+
+ return retval || null;
+ };
+
+ /**
+ * Removes any data stored on this object.
+ * To avoid memory leaks we must assure that there are no
+ * references left after the object is no longer needed.
+ * @name CKEDITOR.dom.domObject.prototype.clearCustomData
+ * @function
+ */
+ domObjectProto.clearCustomData = function()
+ {
+ // Clear all event listeners
+ this.removeAllListeners();
+
+ var expandoNumber = this.$._cke_expando;
+ expandoNumber && delete customData[ expandoNumber ];
+ };
+
+ /**
+ * @name CKEDITOR.dom.domObject.prototype.getCustomData
+ */
+ domObjectProto.getUniqueId = function()
+ {
+ return this.$._cke_expando || ( this.$._cke_expando = CKEDITOR.tools.getNextNumber() );
+ };
+
+ // Implement CKEDITOR.event.
+ CKEDITOR.event.implementOn( domObjectProto );
+
+})( CKEDITOR.dom.domObject.prototype );
diff --git a/devel/third-party/ckeditor/core/dom/element.js b/devel/third-party/ckeditor/core/dom/element.js
new file mode 100644
index 0000000..77031f0
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/element.js
@@ -0,0 +1,1556 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.element} class, which
+ * represents a DOM element.
+ */
+
+/**
+ * Represents a DOM element.
+ * @constructor
+ * @augments CKEDITOR.dom.node
+ * @param {Object|String} element A native DOM element or the element name for
+ * new elements.
+ * @param {CKEDITOR.dom.document} [ownerDocument] The document that will contain
+ * the element in case of element creation.
+ * @example
+ * // Create a new <span> element.
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * @example
+ * // Create an element based on a native DOM element.
+ * var element = new CKEDITOR.dom.element( document.getElementById( 'myId' ) );
+ */
+CKEDITOR.dom.element = function( element, ownerDocument )
+{
+ if ( typeof element == 'string' )
+ element = ( ownerDocument ? ownerDocument.$ : document ).createElement( element );
+
+ // Call the base constructor (we must not call CKEDITOR.dom.node).
+ CKEDITOR.dom.domObject.call( this, element );
+};
+
+// PACKAGER_RENAME( CKEDITOR.dom.element )
+
+/**
+ * The the {@link CKEDITOR.dom.element} representing and element. If the
+ * element is a native DOM element, it will be transformed into a valid
+ * CKEDITOR.dom.element object.
+ * @returns {CKEDITOR.dom.element} The transformed element.
+ * @example
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * alert( element == <b>CKEDITOR.dom.element.get( element )</b> ); "true"
+ * @example
+ * var element = document.getElementById( 'myElement' );
+ * alert( <b>CKEDITOR.dom.element.get( element )</b>.getName() ); e.g. "p"
+ */
+CKEDITOR.dom.element.get = function( element )
+{
+ return element && ( element.$ ? element : new CKEDITOR.dom.element( element ) );
+};
+
+CKEDITOR.dom.element.prototype = new CKEDITOR.dom.node();
+
+/**
+ * Creates an instance of the {@link CKEDITOR.dom.element} class based on the
+ * HTML representation of an element.
+ * @param {String} html The element HTML. It should define only one element in
+ * the "root" level. The "root" element can have child nodes, but not
+ * siblings.
+ * @returns {CKEDITOR.dom.element} The element instance.
+ * @example
+ * var element = <b>CKEDITOR.dom.element.createFromHtml( '<strong class="anyclass">My element</strong>' )</b>;
+ * alert( element.getName() ); // "strong"
+ */
+CKEDITOR.dom.element.createFromHtml = function( html, ownerDocument )
+{
+ var temp = new CKEDITOR.dom.element( 'div', ownerDocument );
+ temp.setHtml( html );
+
+ // When returning the node, remove it from its parent to detach it.
+ return temp.getFirst().remove();
+};
+
+CKEDITOR.dom.element.setMarker = function( database, element, name, value )
+{
+ var id = element.getCustomData( 'list_marker_id' ) ||
+ ( element.setCustomData( 'list_marker_id', CKEDITOR.tools.getNextNumber() ).getCustomData( 'list_marker_id' ) ),
+ markerNames = element.getCustomData( 'list_marker_names' ) ||
+ ( element.setCustomData( 'list_marker_names', {} ).getCustomData( 'list_marker_names' ) );
+ database[id] = element;
+ markerNames[name] = 1;
+
+ return element.setCustomData( name, value );
+};
+
+CKEDITOR.dom.element.clearAllMarkers = function( database )
+{
+ for ( var i in database )
+ CKEDITOR.dom.element.clearMarkers( database, database[i], true );
+};
+
+CKEDITOR.dom.element.clearMarkers = function( database, element, removeFromDatabase )
+{
+ var names = element.getCustomData( 'list_marker_names' ),
+ id = element.getCustomData( 'list_marker_id' );
+ for ( var i in names )
+ element.removeCustomData( i );
+ element.removeCustomData( 'list_marker_names' );
+ if ( removeFromDatabase )
+ {
+ element.removeCustomData( 'list_marker_id' );
+ delete database[id];
+ }
+};
+
+CKEDITOR.tools.extend( CKEDITOR.dom.element.prototype,
+ /** @lends CKEDITOR.dom.element.prototype */
+ {
+ /**
+ * The node type. This is a constant value set to
+ * {@link CKEDITOR.NODE_ELEMENT}.
+ * @type Number
+ * @example
+ */
+ type : CKEDITOR.NODE_ELEMENT,
+
+ /**
+ * Adds a CSS class to the element. It appends the class to the
+ * already existing names.
+ * @param {String} className The name of the class to be added.
+ * @example
+ * var element = new CKEDITOR.dom.element( 'div' );
+ * element.addClass( 'classA' ); // <div class="classA">
+ * element.addClass( 'classB' ); // <div class="classA classB">
+ * element.addClass( 'classA' ); // <div class="classA classB">
+ */
+ addClass : function( className )
+ {
+ var c = this.$.className;
+ if ( c )
+ {
+ var regex = new RegExp( '(?:^|\\s)' + className + '(?:\\s|$)', '' );
+ if ( !regex.test( c ) )
+ c += ' ' + className;
+ }
+ this.$.className = c || className;
+ },
+
+ /**
+ * Removes a CSS class name from the elements classes. Other classes
+ * remain untouched.
+ * @param {String} className The name of the class to remove.
+ * @example
+ * var element = new CKEDITOR.dom.element( 'div' );
+ * element.addClass( 'classA' ); // <div class="classA">
+ * element.addClass( 'classB' ); // <div class="classA classB">
+ * element.removeClass( 'classA' ); // <div class="classB">
+ * element.removeClass( 'classB' ); // <div>
+ */
+ removeClass : function( className )
+ {
+ var c = this.getAttribute( 'class' );
+ if ( c )
+ {
+ var regex = new RegExp( '(?:^|\\s+)' + className + '(?=\\s|$)', 'i' );
+ if ( regex.test( c ) )
+ {
+ c = c.replace( regex, '' ).replace( /^\s+/, '' );
+
+ if ( c )
+ this.setAttribute( 'class', c );
+ else
+ this.removeAttribute( 'class' );
+ }
+ }
+ },
+
+ hasClass : function( className )
+ {
+ var regex = new RegExp( '(?:^|\\s+)' + className + '(?=\\s|$)', '' );
+ return regex.test( this.getAttribute('class') );
+ },
+
+ /**
+ * Append a node as a child of this element.
+ * @param {CKEDITOR.dom.node|String} node The node or element name to be
+ * appended.
+ * @param {Boolean} [toStart] Indicates that the element is to be
+ * appended at the start.
+ * @returns {CKEDITOR.dom.node} The appended node.
+ * @example
+ * var p = new CKEDITOR.dom.element( 'p' );
+ *
+ * var strong = new CKEDITOR.dom.element( 'strong' );
+ * <b>p.append( strong );</b>
+ *
+ * var em = <b>p.append( 'em' );</b>
+ *
+ * // result: "<p><strong></strong><em></em></p>"
+ */
+ append : function( node, toStart )
+ {
+ if ( typeof node == 'string' )
+ node = this.getDocument().createElement( node );
+
+ if ( toStart )
+ this.$.insertBefore( node.$, this.$.firstChild );
+ else
+ this.$.appendChild( node.$ );
+
+ return node;
+ },
+
+ appendHtml : function( html )
+ {
+ if ( !this.$.childNodes.length )
+ this.setHtml( html );
+ else
+ {
+ var temp = new CKEDITOR.dom.element( 'div', this.getDocument() );
+ temp.setHtml( html );
+ temp.moveChildren( this );
+ }
+ },
+
+ /**
+ * Append text to this element.
+ * @param {String} text The text to be appended.
+ * @returns {CKEDITOR.dom.node} The appended node.
+ * @example
+ * var p = new CKEDITOR.dom.element( 'p' );
+ * p.appendText( 'This is' );
+ * p.appendText( ' some text' );
+ *
+ * // result: "<p>This is some text</p>"
+ */
+ appendText : function( text )
+ {
+ if ( this.$.text != undefined )
+ this.$.text += text;
+ else
+ this.append( new CKEDITOR.dom.text( text ) );
+ },
+
+ appendBogus : function()
+ {
+ var lastChild = this.getLast() ;
+
+ // Ignore empty/spaces text.
+ while ( lastChild && lastChild.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.rtrim( lastChild.getText() ) )
+ lastChild = lastChild.getPrevious();
+ if ( !lastChild || !lastChild.is || !lastChild.is( 'br' ) )
+ {
+ var bogus = CKEDITOR.env.opera ?
+ this.getDocument().createText('') :
+ this.getDocument().createElement( 'br' );
+
+ CKEDITOR.env.gecko && bogus.setAttribute( 'type', '_moz' );
+
+ this.append( bogus );
+ }
+ },
+
+ /**
+ * Breaks one of the ancestor element in the element position, moving
+ * this element between the broken parts.
+ * @param {CKEDITOR.dom.element} parent The anscestor element to get broken.
+ * @example
+ * // Before breaking:
+ * // <b>This <i>is some<span /> sample</i> test text</b>
+ * // If "element" is <span /> and "parent" is <i>:
+ * // <b>This <i>is some</i><span /><i> sample</i> test text</b>
+ * element.breakParent( parent );
+ * @example
+ * // Before breaking:
+ * // <b>This <i>is some<span /> sample</i> test text</b>
+ * // If "element" is <span /> and "parent" is <b>:
+ * // <b>This <i>is some</i></b><span /><b><i> sample</i> test text</b>
+ * element.breakParent( parent );
+ */
+ breakParent : function( parent )
+ {
+ var range = new CKEDITOR.dom.range( this.getDocument() );
+
+ // We'll be extracting part of this element, so let's use our
+ // range to get the correct piece.
+ range.setStartAfter( this );
+ range.setEndAfter( parent );
+
+ // Extract it.
+ var docFrag = range.extractContents();
+
+ // Move the element outside the broken element.
+ range.insertNode( this.remove() );
+
+ // Re-insert the extracted piece after the element.
+ docFrag.insertAfterNode( this );
+ },
+
+ contains :
+ CKEDITOR.env.ie || CKEDITOR.env.webkit ?
+ function( node )
+ {
+ var $ = this.$;
+
+ return node.type != CKEDITOR.NODE_ELEMENT ?
+ $.contains( node.getParent().$ ) :
+ $ != node.$ && $.contains( node.$ );
+ }
+ :
+ function( node )
+ {
+ return !!( this.$.compareDocumentPosition( node.$ ) & 16 );
+ },
+
+ /**
+ * Moves the selection focus to this element.
+ * @example
+ * var element = CKEDITOR.document.getById( 'myTextarea' );
+ * <b>element.focus()</b>;
+ */
+ focus : function()
+ {
+ // IE throws error if the element is not visible.
+ try
+ {
+ this.$.focus();
+ }
+ catch (e)
+ {}
+ },
+
+ /**
+ * Gets the inner HTML of this element.
+ * @returns {String} The inner HTML of this element.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div><b>Example</b></div>' );
+ * alert( <b>p.getHtml()</b> ); // "<b>Example</b>"
+ */
+ getHtml : function()
+ {
+ var retval = this.$.innerHTML;
+ // Strip <?xml:namespace> tags in IE. (#3341).
+ return CKEDITOR.env.ie ? retval.replace( /<\?[^>]*>/g, '' ) : retval;
+ },
+
+ getOuterHtml : function()
+ {
+ if ( this.$.outerHTML )
+ {
+ // IE includes the <?xml:namespace> tag in the outerHTML of
+ // namespaced element. So, we must strip it here. (#3341)
+ return this.$.outerHTML.replace( /<\?[^>]*>/, '' );
+ }
+
+ var tmpDiv = this.$.ownerDocument.createElement( 'div' );
+ tmpDiv.appendChild( this.$.cloneNode( true ) );
+ return tmpDiv.innerHTML;
+ },
+
+ /**
+ * Sets the inner HTML of this element.
+ * @param {String} html The HTML to be set for this element.
+ * @returns {String} The inserted HTML.
+ * @example
+ * var p = new CKEDITOR.dom.element( 'p' );
+ * <b>p.setHtml( '<b>Inner</b> HTML' );</b>
+ *
+ * // result: "<p><b>Inner</b> HTML</p>"
+ */
+ setHtml : function( html )
+ {
+ return ( this.$.innerHTML = html );
+ },
+
+ /**
+ * Sets the element contents as plain text.
+ * @param {String} text The text to be set.
+ * @returns {String} The inserted text.
+ * @example
+ * var element = new CKEDITOR.dom.element( 'div' );
+ * element.setText( 'A > B & C < D' );
+ * alert( element.innerHTML ); // "A &gt; B &amp; C &lt; D"
+ */
+ setText : function( text )
+ {
+ CKEDITOR.dom.element.prototype.setText = ( this.$.innerText != undefined ) ?
+ function ( text )
+ {
+ return this.$.innerText = text;
+ } :
+ function ( text )
+ {
+ return this.$.textContent = text;
+ };
+
+ return this.setText( text );
+ },
+
+ /**
+ * Gets the value of an element attribute.
+ * @function
+ * @param {String} name The attribute name.
+ * @returns {String} The attribute value or null if not defined.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<input type="text" />' );
+ * alert( <b>element.getAttribute( 'type' )</b> ); // "text"
+ */
+ getAttribute : (function()
+ {
+ var standard = function( name )
+ {
+ return this.$.getAttribute( name, 2 );
+ };
+
+ if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+ {
+ return function( name )
+ {
+ switch ( name )
+ {
+ case 'class':
+ name = 'className';
+ break;
+
+ case 'tabindex':
+ var tabIndex = standard.call( this, name );
+
+ // IE returns tabIndex=0 by default for all
+ // elements. For those elements,
+ // getAtrribute( 'tabindex', 2 ) returns 32768
+ // instead. So, we must make this check to give a
+ // uniform result among all browsers.
+ if ( tabIndex !== 0 && this.$.tabIndex === 0 )
+ tabIndex = null;
+
+ return tabIndex;
+ break;
+
+ case 'checked':
+ {
+ var attr = this.$.attributes.getNamedItem( name ),
+ attrValue = attr.specified ? attr.nodeValue // For value given by parser.
+ : this.$.checked; // For value created via DOM interface.
+
+ return attrValue ? 'checked' : null;
+ }
+
+ case 'hspace':
+ return this.$.hspace;
+
+ case 'style':
+ // IE does not return inline styles via getAttribute(). See #2947.
+ return this.$.style.cssText;
+ }
+
+ return standard.call( this, name );
+ };
+ }
+ else
+ return standard;
+ })(),
+
+ getChildren : function()
+ {
+ return new CKEDITOR.dom.nodeList( this.$.childNodes );
+ },
+
+ /**
+ * Gets the current computed value of one of the element CSS style
+ * properties.
+ * @function
+ * @param {String} propertyName The style property name.
+ * @returns {String} The property value.
+ * @example
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * alert( <b>element.getComputedStyle( 'display' )</b> ); // "inline"
+ */
+ getComputedStyle :
+ CKEDITOR.env.ie ?
+ function( propertyName )
+ {
+ return this.$.currentStyle[ CKEDITOR.tools.cssStyleToDomStyle( propertyName ) ];
+ }
+ :
+ function( propertyName )
+ {
+ return this.getWindow().$.getComputedStyle( this.$, '' ).getPropertyValue( propertyName );
+ },
+
+ /**
+ * Gets the DTD entries for this element.
+ * @returns {Object} An object containing the list of elements accepted
+ * by this element.
+ */
+ getDtd : function()
+ {
+ var dtd = CKEDITOR.dtd[ this.getName() ];
+
+ this.getDtd = function()
+ {
+ return dtd;
+ };
+
+ return dtd;
+ },
+
+ getElementsByTag : CKEDITOR.dom.document.prototype.getElementsByTag,
+
+ /**
+ * Gets the computed tabindex for this element.
+ * @function
+ * @returns {Number} The tabindex value.
+ * @example
+ * var element = CKEDITOR.document.getById( 'myDiv' );
+ * alert( <b>element.getTabIndex()</b> ); // e.g. "-1"
+ */
+ getTabIndex :
+ CKEDITOR.env.ie ?
+ function()
+ {
+ var tabIndex = this.$.tabIndex;
+
+ // IE returns tabIndex=0 by default for all elements. In
+ // those cases we must check that the element really has
+ // the tabindex attribute set to zero, or it is one of
+ // those element that should have zero by default.
+ if ( tabIndex === 0 && !CKEDITOR.dtd.$tabIndex[ this.getName() ] && parseInt( this.getAttribute( 'tabindex' ), 10 ) !== 0 )
+ tabIndex = -1;
+
+ return tabIndex;
+ }
+ : CKEDITOR.env.webkit ?
+ function()
+ {
+ var tabIndex = this.$.tabIndex;
+
+ // Safari returns "undefined" for elements that should not
+ // have tabindex (like a div). So, we must try to get it
+ // from the attribute.
+ // https://bugs.webkit.org/show_bug.cgi?id=20596
+ if ( tabIndex == undefined )
+ {
+ tabIndex = parseInt( this.getAttribute( 'tabindex' ), 10 );
+
+ // If the element don't have the tabindex attribute,
+ // then we should return -1.
+ if ( isNaN( tabIndex ) )
+ tabIndex = -1;
+ }
+
+ return tabIndex;
+ }
+ :
+ function()
+ {
+ return this.$.tabIndex;
+ },
+
+ /**
+ * Gets the text value of this element.
+ *
+ * Only in IE (which uses innerText), <br> will cause linebreaks,
+ * and sucessive whitespaces (including line breaks) will be reduced to
+ * a single space. This behavior is ok for us, for now. It may change
+ * in the future.
+ * @returns {String} The text value.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div>Same <i>text</i>.</div>' );
+ * alert( <b>element.getText()</b> ); // "Sample text."
+ */
+ getText : function()
+ {
+ return this.$.textContent || this.$.innerText || '';
+ },
+
+ /**
+ * Gets the window object that contains this element.
+ * @returns {CKEDITOR.dom.window} The window object.
+ * @example
+ */
+ getWindow : function()
+ {
+ return this.getDocument().getWindow();
+ },
+
+ /**
+ * Gets the value of the "id" attribute of this element.
+ * @returns {String} The element id, or null if not available.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<p id="myId"></p>' );
+ * alert( <b>element.getId()</b> ); // "myId"
+ */
+ getId : function()
+ {
+ return this.$.id || null;
+ },
+
+ /**
+ * Gets the value of the "name" attribute of this element.
+ * @returns {String} The element name, or null if not available.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<input name="myName"></input>' );
+ * alert( <b>element.getNameAtt()</b> ); // "myName"
+ */
+ getNameAtt : function()
+ {
+ return this.$.name || null;
+ },
+
+ /**
+ * Gets the element name (tag name). The returned name is guaranteed to
+ * be always full lowercased.
+ * @returns {String} The element name.
+ * @example
+ * var element = new CKEDITOR.dom.element( 'span' );
+ * alert( <b>element.getName()</b> ); // "span"
+ */
+ getName : function()
+ {
+ // Cache the lowercased name inside a closure.
+ var nodeName = this.$.nodeName.toLowerCase();
+
+ if ( CKEDITOR.env.ie )
+ {
+ var scopeName = this.$.scopeName;
+ if ( scopeName != 'HTML' )
+ nodeName = scopeName.toLowerCase() + ':' + nodeName;
+ }
+
+ return (
+ this.getName = function()
+ {
+ return nodeName;
+ })();
+ },
+
+ /**
+ * Gets the value set to this element. This value is usually available
+ * for form field elements.
+ * @returns {String} The element value.
+ */
+ getValue : function()
+ {
+ return this.$.value;
+ },
+
+ /**
+ * Gets the first child node of this element.
+ * @param {Function} evaluator Filtering the result node.
+ * @returns {CKEDITOR.dom.node} The first child node or null if not
+ * available.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div><b>Example</b></div>' );
+ * var first = <b>element.getFirst()</b>;
+ * alert( first.getName() ); // "b"
+ */
+ getFirst : function( evaluator )
+ {
+ var first = this.$.firstChild,
+ retval = first && new CKEDITOR.dom.node( first );
+ if ( retval && evaluator && !evaluator( retval ) )
+ retval = retval.getNext( evaluator );
+
+ return retval;
+ },
+
+ /**
+ * @param {Function} evaluator Filtering the result node.
+ */
+ getLast : function( evaluator )
+ {
+ var last = this.$.lastChild,
+ retval = last && new CKEDITOR.dom.node( last );
+ if ( retval && evaluator && !evaluator( retval ) )
+ retval = retval.getPrevious( evaluator );
+
+ return retval;
+ },
+
+ getStyle : function( name )
+ {
+ return this.$.style[ CKEDITOR.tools.cssStyleToDomStyle( name ) ];
+ },
+
+ /**
+ * Checks if the element name matches one or more names.
+ * @param {String} name[,name[,...]] One or more names to be checked.
+ * @returns {Boolean} true if the element name matches any of the names.
+ * @example
+ * var element = new CKEDITOR.element( 'span' );
+ * alert( <b>element.is( 'span' )</b> ); "true"
+ * alert( <b>element.is( 'p', 'span' )</b> ); "true"
+ * alert( <b>element.is( 'p' )</b> ); "false"
+ * alert( <b>element.is( 'p', 'div' )</b> ); "false"
+ */
+ is : function()
+ {
+ var name = this.getName();
+ for ( var i = 0 ; i < arguments.length ; i++ )
+ {
+ if ( arguments[ i ] == name )
+ return true;
+ }
+ return false;
+ },
+
+ isEditable : function()
+ {
+ // Get the element name.
+ var name = this.getName();
+
+ // Get the element DTD (defaults to span for unknown elements).
+ var dtd = !CKEDITOR.dtd.$nonEditable[ name ]
+ && ( CKEDITOR.dtd[ name ] || CKEDITOR.dtd.span );
+
+ // In the DTD # == text node.
+ return ( dtd && dtd['#'] );
+ },
+
+ isIdentical : function( otherElement )
+ {
+ if ( this.getName() != otherElement.getName() )
+ return false;
+
+ var thisAttribs = this.$.attributes,
+ otherAttribs = otherElement.$.attributes;
+
+ var thisLength = thisAttribs.length,
+ otherLength = otherAttribs.length;
+
+ if ( !CKEDITOR.env.ie && thisLength != otherLength )
+ return false;
+
+ for ( var i = 0 ; i < thisLength ; i++ )
+ {
+ var attribute = thisAttribs[ i ];
+
+ if ( ( !CKEDITOR.env.ie || ( attribute.specified && attribute.nodeName != '_cke_expando' ) ) && attribute.nodeValue != otherElement.getAttribute( attribute.nodeName ) )
+ return false;
+ }
+
+ // For IE, we have to for both elements, because it's difficult to
+ // know how the atttibutes collection is organized in its DOM.
+ if ( CKEDITOR.env.ie )
+ {
+ for ( i = 0 ; i < otherLength ; i++ )
+ {
+ attribute = otherAttribs[ i ];
+ if ( attribute.specified && attribute.nodeName != '_cke_expando'
+ && attribute.nodeValue != this.getAttribute( attribute.nodeName ) )
+ return false;
+ }
+ }
+
+ return true;
+ },
+
+ /**
+ * Checks if this element is visible. May not work if the element is
+ * child of an element with visibility set to "hidden", but works well
+ * on the great majority of cases.
+ * @return {Boolean} True if the element is visible.
+ */
+ isVisible : function()
+ {
+ var isVisible = !!this.$.offsetHeight && this.getComputedStyle( 'visibility' ) != 'hidden',
+ elementWindow,
+ elementWindowFrame;
+
+ // Webkit and Opera report non-zero offsetHeight despite that
+ // element is inside an invisible iframe. (#4542)
+ if ( isVisible && ( CKEDITOR.env.webkit || CKEDITOR.env.opera ) )
+ {
+ elementWindow = this.getWindow();
+
+ if ( !elementWindow.equals( CKEDITOR.document.getWindow() )
+ && ( elementWindowFrame = elementWindow.$.frameElement ) )
+ {
+ isVisible = new CKEDITOR.dom.element( elementWindowFrame ).isVisible();
+ }
+ }
+
+ return isVisible;
+ },
+
+ /**
+ * Whether it's an empty inline elements which has no visual impact when removed.
+ */
+ isEmptyInlineRemoveable : function()
+ {
+ if ( !CKEDITOR.dtd.$removeEmpty[ this.getName() ] )
+ return false;
+
+ var children = this.getChildren();
+ for ( var i = 0, count = children.count(); i < count; i++ )
+ {
+ var child = children.getItem( i );
+
+ if ( child.type == CKEDITOR.NODE_ELEMENT && child.getAttribute( '_cke_bookmark' ) )
+ continue;
+
+ if ( child.type == CKEDITOR.NODE_ELEMENT && !child.isEmptyInlineRemoveable()
+ || child.type == CKEDITOR.NODE_TEXT && CKEDITOR.tools.trim( child.getText() ) )
+ {
+ return false;
+ }
+ }
+ return true;
+ },
+
+ /**
+ * Indicates that the element has defined attributes.
+ * @returns {Boolean} True if the element has attributes.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div title="Test">Example</div>' );
+ * alert( <b>element.hasAttributes()</b> ); "true"
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div>Example</div>' );
+ * alert( <b>element.hasAttributes()</b> ); "false"
+ */
+ hasAttributes :
+ CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) ?
+ function()
+ {
+ var attributes = this.$.attributes;
+
+ for ( var i = 0 ; i < attributes.length ; i++ )
+ {
+ var attribute = attributes[i];
+
+ switch ( attribute.nodeName )
+ {
+ case 'class' :
+ // IE has a strange bug. If calling removeAttribute('className'),
+ // the attributes collection will still contain the "class"
+ // attribute, which will be marked as "specified", even if the
+ // outerHTML of the element is not displaying the class attribute.
+ // Note : I was not able to reproduce it outside the editor,
+ // but I've faced it while working on the TC of #1391.
+ if ( this.getAttribute( 'class' ) )
+ return true;
+
+ // Attributes to be ignored.
+ case '_cke_expando' :
+ continue;
+
+ /*jsl:fallthru*/
+
+ default :
+ if ( attribute.specified )
+ return true;
+ }
+ }
+
+ return false;
+ }
+ :
+ function()
+ {
+ var attrs = this.$.attributes,
+ attrsNum = attrs.length;
+
+ // The _moz_dirty attribute might get into the element after pasting (#5455)
+ var execludeAttrs = { _cke_expando : 1, _moz_dirty : 1 };
+
+ return attrsNum > 0 &&
+ ( attrsNum > 2 ||
+ !execludeAttrs[ attrs[0].nodeName ] ||
+ ( attrsNum == 2 && !execludeAttrs[ attrs[1].nodeName ] ) );
+ },
+
+ /**
+ * Indicates whether a specified attribute is defined for this element.
+ * @returns {Boolean} True if the specified attribute is defined.
+ * @param (String) name The attribute name.
+ * @example
+ */
+ hasAttribute : function( name )
+ {
+ var $attr = this.$.attributes.getNamedItem( name );
+ return !!( $attr && $attr.specified );
+ },
+
+ /**
+ * Hides this element (display:none).
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * <b>element.hide()</b>;
+ */
+ hide : function()
+ {
+ this.setStyle( 'display', 'none' );
+ },
+
+ moveChildren : function( target, toStart )
+ {
+ var $ = this.$;
+ target = target.$;
+
+ if ( $ == target )
+ return;
+
+ var child;
+
+ if ( toStart )
+ {
+ while ( ( child = $.lastChild ) )
+ target.insertBefore( $.removeChild( child ), target.firstChild );
+ }
+ else
+ {
+ while ( ( child = $.firstChild ) )
+ target.appendChild( $.removeChild( child ) );
+ }
+ },
+
+ mergeSiblings : ( function()
+ {
+ function mergeElements( element, sibling, isNext )
+ {
+ if ( sibling && sibling.type == CKEDITOR.NODE_ELEMENT )
+ {
+ // Jumping over bookmark nodes and empty inline elements, e.g. <b><i></i></b>,
+ // queuing them to be moved later. (#5567)
+ var pendingNodes = [];
+
+ while ( sibling.getAttribute( '_cke_bookmark' )
+ || sibling.isEmptyInlineRemoveable() )
+ {
+ pendingNodes.push( sibling );
+ sibling = isNext ? sibling.getNext() : sibling.getPrevious();
+ if ( !sibling || sibling.type != CKEDITOR.NODE_ELEMENT )
+ return;
+ }
+
+ if ( element.isIdentical( sibling ) )
+ {
+ // Save the last child to be checked too, to merge things like
+ // <b><i></i></b><b><i></i></b> => <b><i></i></b>
+ var innerSibling = isNext ? element.getLast() : element.getFirst();
+
+ // Move pending nodes first into the target element.
+ while( pendingNodes.length )
+ pendingNodes.shift().move( element, !isNext );
+
+ sibling.moveChildren( element, !isNext );
+ sibling.remove();
+
+ // Now check the last inner child (see two comments above).
+ if ( innerSibling && innerSibling.type == CKEDITOR.NODE_ELEMENT )
+ innerSibling.mergeSiblings();
+ }
+ }
+ }
+
+ return function()
+ {
+ // Merge empty links and anchors also. (#5567)
+ if ( !( CKEDITOR.dtd.$removeEmpty[ this.getName() ] || this.is( 'a' ) ) )
+ return;
+
+ mergeElements( this, this.getNext(), true );
+ mergeElements( this, this.getPrevious() );
+ };
+ } )(),
+
+ /**
+ * Shows this element (display it).
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * <b>element.show()</b>;
+ */
+ show : function()
+ {
+ this.setStyles(
+ {
+ display : '',
+ visibility : ''
+ });
+ },
+
+ /**
+ * Sets the value of an element attribute.
+ * @param {String} name The name of the attribute.
+ * @param {String} value The value to be set to the attribute.
+ * @function
+ * @returns {CKEDITOR.dom.element} This element instance.
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * <b>element.setAttribute( 'class', 'myClass' )</b>;
+ * <b>element.setAttribute( 'title', 'This is an example' )</b>;
+ */
+ setAttribute : (function()
+ {
+ var standard = function( name, value )
+ {
+ this.$.setAttribute( name, value );
+ return this;
+ };
+
+ if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+ {
+ return function( name, value )
+ {
+ if ( name == 'class' )
+ this.$.className = value;
+ else if ( name == 'style' )
+ this.$.style.cssText = value;
+ else if ( name == 'tabindex' ) // Case sensitive.
+ this.$.tabIndex = value;
+ else if ( name == 'checked' )
+ this.$.checked = value;
+ else
+ standard.apply( this, arguments );
+ return this;
+ };
+ }
+ else
+ return standard;
+ })(),
+
+ /**
+ * Sets the value of several element attributes.
+ * @param {Object} attributesPairs An object containing the names and
+ * values of the attributes.
+ * @returns {CKEDITOR.dom.element} This element instance.
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * <b>element.setAttributes({
+ * 'class' : 'myClass',
+ * 'title' : 'This is an example' })</b>;
+ */
+ setAttributes : function( attributesPairs )
+ {
+ for ( var name in attributesPairs )
+ this.setAttribute( name, attributesPairs[ name ] );
+ return this;
+ },
+
+ /**
+ * Sets the element value. This function is usually used with form
+ * field element.
+ * @param {String} value The element value.
+ * @returns {CKEDITOR.dom.element} This element instance.
+ */
+ setValue : function( value )
+ {
+ this.$.value = value;
+ return this;
+ },
+
+ /**
+ * Removes an attribute from the element.
+ * @param {String} name The attribute name.
+ * @function
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div class="classA"></div>' );
+ * element.removeAttribute( 'class' );
+ */
+ removeAttribute : (function()
+ {
+ var standard = function( name )
+ {
+ this.$.removeAttribute( name );
+ };
+
+ if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+ {
+ return function( name )
+ {
+ if ( name == 'class' )
+ name = 'className';
+ else if ( name == 'tabindex' )
+ name = 'tabIndex';
+ standard.call( this, name );
+ };
+ }
+ else
+ return standard;
+ })(),
+
+ removeAttributes : function ( attributes )
+ {
+ if ( CKEDITOR.tools.isArray( attributes ) )
+ {
+ for ( var i = 0 ; i < attributes.length ; i++ )
+ this.removeAttribute( attributes[ i ] );
+ }
+ else
+ {
+ for ( var attr in attributes )
+ attributes.hasOwnProperty( attr ) && this.removeAttribute( attr );
+ }
+ },
+
+ /**
+ * Removes a style from the element.
+ * @param {String} name The style name.
+ * @function
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div style="display:none"></div>' );
+ * element.removeStyle( 'display' );
+ */
+ removeStyle : function( name )
+ {
+ this.setStyle( name, '' );
+ if ( this.$.style.removeAttribute )
+ this.$.style.removeAttribute( CKEDITOR.tools.cssStyleToDomStyle( name ) );
+
+ if ( !this.$.style.cssText )
+ this.removeAttribute( 'style' );
+ },
+
+ /**
+ * Sets the value of an element style.
+ * @param {String} name The name of the style. The CSS naming notation
+ * must be used (e.g. "background-color").
+ * @param {String} value The value to be set to the style.
+ * @returns {CKEDITOR.dom.element} This element instance.
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * <b>element.setStyle( 'background-color', '#ff0000' )</b>;
+ * <b>element.setStyle( 'margin-top', '10px' )</b>;
+ * <b>element.setStyle( 'float', 'right' )</b>;
+ */
+ setStyle : function( name, value )
+ {
+ this.$.style[ CKEDITOR.tools.cssStyleToDomStyle( name ) ] = value;
+ return this;
+ },
+
+ /**
+ * Sets the value of several element styles.
+ * @param {Object} stylesPairs An object containing the names and
+ * values of the styles.
+ * @returns {CKEDITOR.dom.element} This element instance.
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * <b>element.setStyles({
+ * 'position' : 'absolute',
+ * 'float' : 'right' })</b>;
+ */
+ setStyles : function( stylesPairs )
+ {
+ for ( var name in stylesPairs )
+ this.setStyle( name, stylesPairs[ name ] );
+ return this;
+ },
+
+ /**
+ * Sets the opacity of an element.
+ * @param {Number} opacity A number within the range [0.0, 1.0].
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * <b>element.setOpacity( 0.75 )</b>;
+ */
+ setOpacity : function( opacity )
+ {
+ if ( CKEDITOR.env.ie )
+ {
+ opacity = Math.round( opacity * 100 );
+ this.setStyle( 'filter', opacity >= 100 ? '' : 'progid:DXImageTransform.Microsoft.Alpha(opacity=' + opacity + ')' );
+ }
+ else
+ this.setStyle( 'opacity', opacity );
+ },
+
+ /**
+ * Makes the element and its children unselectable.
+ * @function
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'myElement' );
+ * element.unselectable();
+ */
+ unselectable :
+ CKEDITOR.env.gecko ?
+ function()
+ {
+ this.$.style.MozUserSelect = 'none';
+ this.on( 'dragstart', function (evt) { evt.data.preventDefault(); } );
+ }
+ : CKEDITOR.env.webkit ?
+ function()
+ {
+ this.$.style.KhtmlUserSelect = 'none';
+ this.on( 'dragstart', function (evt) { evt.data.preventDefault(); } );
+ }
+ :
+ function()
+ {
+ if ( CKEDITOR.env.ie || CKEDITOR.env.opera )
+ {
+ var element = this.$,
+ e,
+ i = 0;
+
+ element.unselectable = 'on';
+
+ while ( ( e = element.all[ i++ ] ) )
+ {
+ switch ( e.tagName.toLowerCase() )
+ {
+ case 'iframe' :
+ case 'textarea' :
+ case 'input' :
+ case 'select' :
+ /* Ignore the above tags */
+ break;
+ default :
+ e.unselectable = 'on';
+ }
+ }
+ }
+ },
+
+ getPositionedAncestor : function()
+ {
+ var current = this;
+ while ( current.getName() != 'html' )
+ {
+ if ( current.getComputedStyle( 'position' ) != 'static' )
+ return current;
+
+ current = current.getParent();
+ }
+ return null;
+ },
+
+ getDocumentPosition : function( refDocument )
+ {
+ var x = 0, y = 0,
+ body = this.getDocument().getBody(),
+ quirks = this.getDocument().$.compatMode == 'BackCompat';
+
+ var doc = this.getDocument();
+
+ if ( document.documentElement[ "getBoundingClientRect" ] )
+ {
+ var box = this.$.getBoundingClientRect(),
+ $doc = doc.$,
+ $docElem = $doc.documentElement;
+
+ var clientTop = $docElem.clientTop || body.$.clientTop || 0,
+ clientLeft = $docElem.clientLeft || body.$.clientLeft || 0,
+ needAdjustScrollAndBorders = true;
+
+ /*
+ * #3804: getBoundingClientRect() works differently on IE and non-IE
+ * browsers, regarding scroll positions.
+ *
+ * On IE, the top position of the <html> element is always 0, no matter
+ * how much you scrolled down.
+ *
+ * On other browsers, the top position of the <html> element is negative
+ * scrollTop.
+ */
+ if ( CKEDITOR.env.ie )
+ {
+ var inDocElem = doc.getDocumentElement().contains( this ),
+ inBody = doc.getBody().contains( this );
+
+ needAdjustScrollAndBorders = ( quirks && inBody ) || ( !quirks && inDocElem );
+ }
+
+ if ( needAdjustScrollAndBorders )
+ {
+ x = box.left + ( !quirks && $docElem.scrollLeft || body.$.scrollLeft );
+ x -= clientLeft;
+ y = box.top + ( !quirks && $docElem.scrollTop || body.$.scrollTop );
+ y -= clientTop;
+ }
+ }
+ else
+ {
+ var current = this, previous = null, offsetParent;
+ while ( current && !( current.getName() == 'body' || current.getName() == 'html' ) )
+ {
+ x += current.$.offsetLeft - current.$.scrollLeft;
+ y += current.$.offsetTop - current.$.scrollTop;
+
+ // Opera includes clientTop|Left into offsetTop|Left.
+ if ( !current.equals( this ) )
+ {
+ x += ( current.$.clientLeft || 0 );
+ y += ( current.$.clientTop || 0 );
+ }
+
+ var scrollElement = previous;
+ while ( scrollElement && !scrollElement.equals( current ) )
+ {
+ x -= scrollElement.$.scrollLeft;
+ y -= scrollElement.$.scrollTop;
+ scrollElement = scrollElement.getParent();
+ }
+
+ previous = current;
+ current = ( offsetParent = current.$.offsetParent ) ?
+ new CKEDITOR.dom.element( offsetParent ) : null;
+ }
+ }
+
+ if ( refDocument )
+ {
+ var currentWindow = this.getWindow(),
+ refWindow = refDocument.getWindow();
+
+ if ( !currentWindow.equals( refWindow ) && currentWindow.$.frameElement )
+ {
+ var iframePosition = ( new CKEDITOR.dom.element( currentWindow.$.frameElement ) ).getDocumentPosition( refDocument );
+
+ x += iframePosition.x;
+ y += iframePosition.y;
+ }
+ }
+
+ if ( !document.documentElement[ "getBoundingClientRect" ] )
+ {
+ // In Firefox, we'll endup one pixel before the element positions,
+ // so we must add it here.
+ if ( CKEDITOR.env.gecko && !quirks )
+ {
+ x += this.$.clientLeft ? 1 : 0;
+ y += this.$.clientTop ? 1 : 0;
+ }
+ }
+
+ return { x : x, y : y };
+ },
+
+ scrollIntoView : function( alignTop )
+ {
+ // Get the element window.
+ var win = this.getWindow(),
+ winHeight = win.getViewPaneSize().height;
+
+ // Starts from the offset that will be scrolled with the negative value of
+ // the visible window height.
+ var offset = winHeight * -1;
+
+ // Append the view pane's height if align to top.
+ // Append element height if we are aligning to the bottom.
+ if ( alignTop )
+ offset += winHeight;
+ else
+ {
+ offset += this.$.offsetHeight || 0;
+
+ // Consider the margin in the scroll, which is ok for our current needs, but
+ // needs investigation if we will be using this function in other places.
+ offset += parseInt( this.getComputedStyle( 'marginBottom' ) || 0, 10 ) || 0;
+ }
+
+ // Append the offsets for the entire element hierarchy.
+ var elementPosition = this.getDocumentPosition();
+ offset += elementPosition.y;
+
+ // offset value might be out of range(nagative), fix it(#3692).
+ offset = offset < 0 ? 0 : offset;
+
+ // Scroll the window to the desired position, if not already visible(#3795).
+ var currentScroll = win.getScrollPosition().y;
+ if ( offset > currentScroll || offset < currentScroll - winHeight )
+ win.$.scrollTo( 0, offset );
+ },
+
+ setState : function( state )
+ {
+ switch ( state )
+ {
+ case CKEDITOR.TRISTATE_ON :
+ this.addClass( 'cke_on' );
+ this.removeClass( 'cke_off' );
+ this.removeClass( 'cke_disabled' );
+ break;
+ case CKEDITOR.TRISTATE_DISABLED :
+ this.addClass( 'cke_disabled' );
+ this.removeClass( 'cke_off' );
+ this.removeClass( 'cke_on' );
+ break;
+ default :
+ this.addClass( 'cke_off' );
+ this.removeClass( 'cke_on' );
+ this.removeClass( 'cke_disabled' );
+ break;
+ }
+ },
+
+ /**
+ * Returns the inner document of this IFRAME element.
+ * @returns {CKEDITOR.dom.document} The inner document.
+ */
+ getFrameDocument : function()
+ {
+ var $ = this.$;
+
+ try
+ {
+ // In IE, with custom document.domain, it may happen that
+ // the iframe is not yet available, resulting in "Access
+ // Denied" for the following property access.
+ $.contentWindow.document;
+ }
+ catch ( e )
+ {
+ // Trick to solve this issue, forcing the iframe to get ready
+ // by simply setting its "src" property.
+ $.src = $.src;
+
+ // In IE6 though, the above is not enough, so we must pause the
+ // execution for a while, giving it time to think.
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+ {
+ window.showModalDialog(
+ 'javascript:document.write("' +
+ '<script>' +
+ 'window.setTimeout(' +
+ 'function(){window.close();}' +
+ ',50);' +
+ '</script>")' );
+ }
+ }
+
+ return $ && new CKEDITOR.dom.document( $.contentWindow.document );
+ },
+
+ /**
+ * Copy all the attributes from one node to the other, kinda like a clone
+ * skipAttributes is an object with the attributes that must NOT be copied.
+ * @param {CKEDITOR.dom.element} dest The destination element.
+ * @param {Object} skipAttributes A dictionary of attributes to skip.
+ * @example
+ */
+ copyAttributes : function( dest, skipAttributes )
+ {
+ var attributes = this.$.attributes;
+ skipAttributes = skipAttributes || {};
+
+ for ( var n = 0 ; n < attributes.length ; n++ )
+ {
+ var attribute = attributes[n];
+
+ // Lowercase attribute name hard rule is broken for
+ // some attribute on IE, e.g. CHECKED.
+ var attrName = attribute.nodeName.toLowerCase(),
+ attrValue;
+
+ // We can set the type only once, so do it with the proper value, not copying it.
+ if ( attrName in skipAttributes )
+ continue;
+
+ if ( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )
+ dest.setAttribute( attrName, attrValue );
+ // IE BUG: value attribute is never specified even if it exists.
+ else if ( attribute.specified ||
+ ( CKEDITOR.env.ie && attribute.nodeValue && attrName == 'value' ) )
+ {
+ attrValue = this.getAttribute( attrName );
+ if ( attrValue === null )
+ attrValue = attribute.nodeValue;
+
+ dest.setAttribute( attrName, attrValue );
+ }
+ }
+
+ // The style:
+ if ( this.$.style.cssText !== '' )
+ dest.$.style.cssText = this.$.style.cssText;
+ },
+
+ /**
+ * Changes the tag name of the current element.
+ * @param {String} newTag The new tag for the element.
+ */
+ renameNode : function( newTag )
+ {
+ // If it's already correct exit here.
+ if ( this.getName() == newTag )
+ return;
+
+ var doc = this.getDocument();
+
+ // Create the new node.
+ var newNode = new CKEDITOR.dom.element( newTag, doc );
+
+ // Copy all attributes.
+ this.copyAttributes( newNode );
+
+ // Move children to the new node.
+ this.moveChildren( newNode );
+
+ // Replace the node.
+ this.getParent() && this.$.parentNode.replaceChild( newNode.$, this.$ );
+ newNode.$._cke_expando = this.$._cke_expando;
+ this.$ = newNode.$;
+ },
+
+ /**
+ * Gets a DOM tree descendant under the current node.
+ * @param {Array|Number} indices The child index or array of child indices under the node.
+ * @returns {CKEDITOR.dom.node} The specified DOM child under the current node. Null if child does not exist.
+ * @example
+ * var strong = p.getChild(0);
+ */
+ getChild : function( indices )
+ {
+ var rawNode = this.$;
+
+ if ( !indices.slice )
+ rawNode = rawNode.childNodes[ indices ];
+ else
+ {
+ while ( indices.length > 0 && rawNode )
+ rawNode = rawNode.childNodes[ indices.shift() ];
+ }
+
+ return rawNode ? new CKEDITOR.dom.node( rawNode ) : null;
+ },
+
+ getChildCount : function()
+ {
+ return this.$.childNodes.length;
+ },
+
+ disableContextMenu : function()
+ {
+ this.on( 'contextmenu', function( event )
+ {
+ // Cancel the browser context menu.
+ if ( !event.data.getTarget().hasClass( 'cke_enable_context_menu' ) )
+ event.data.preventDefault();
+ } );
+ },
+
+ /**
+ * Update the element's size with box model awareness.
+ * @name CKEDITOR.dom.element.setSize
+ * @param {String} type [width|height]
+ * @param {Number} size The length unit in px.
+ * @param isBorderBox Apply the {@param width} and {@param height} based on border box model.
+ */
+ setSize : ( function()
+ {
+ var sides = {
+ width : [ "border-left-width", "border-right-width","padding-left", "padding-right" ],
+ height : [ "border-top-width", "border-bottom-width", "padding-top", "padding-bottom" ]
+ };
+
+ return function( type, size, isBorderBox )
+ {
+ if ( typeof size == 'number' )
+ {
+ if ( isBorderBox && !( CKEDITOR.env.ie && CKEDITOR.env.quirks ) )
+ {
+ var adjustment = 0;
+ for ( var i = 0, len = sides [ type ].length; i < len; i++ )
+ adjustment += parseInt( this.getComputedStyle( sides [ type ][ i ] ) || 0, 10 );
+ size -= adjustment;
+ }
+ this.setStyle( type, size + 'px' );
+ }
+ };
+ })()
+ });
diff --git a/devel/third-party/ckeditor/core/dom/elementpath.js b/devel/third-party/ckeditor/core/dom/elementpath.js
new file mode 100644
index 0000000..3c74a92
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/elementpath.js
@@ -0,0 +1,116 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ // Elements that may be considered the "Block boundary" in an element path.
+ var pathBlockElements = { address:1,blockquote:1,dl:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1,li:1,dt:1,dd:1 };
+
+ // Elements that may be considered the "Block limit" in an element path.
+ var pathBlockLimitElements = { body:1,div:1,table:1,tbody:1,tr:1,td:1,th:1,caption:1,form:1 };
+
+ // Check if an element contains any block element.
+ var checkHasBlock = function( element )
+ {
+ var childNodes = element.getChildren();
+
+ for ( var i = 0, count = childNodes.count() ; i < count ; i++ )
+ {
+ var child = childNodes.getItem( i );
+
+ if ( child.type == CKEDITOR.NODE_ELEMENT && CKEDITOR.dtd.$block[ child.getName() ] )
+ return true;
+ }
+
+ return false;
+ };
+
+ CKEDITOR.dom.elementPath = function( lastNode )
+ {
+ var block = null;
+ var blockLimit = null;
+ var elements = [];
+
+ var e = lastNode;
+
+ while ( e )
+ {
+ if ( e.type == CKEDITOR.NODE_ELEMENT )
+ {
+ if ( !this.lastElement )
+ this.lastElement = e;
+
+ var elementName = e.getName();
+ if ( CKEDITOR.env.ie && e.$.scopeName != 'HTML' )
+ elementName = e.$.scopeName.toLowerCase() + ':' + elementName;
+
+ if ( !blockLimit )
+ {
+ if ( !block && pathBlockElements[ elementName ] )
+ block = e;
+
+ if ( pathBlockLimitElements[ elementName ] )
+ {
+ // DIV is considered the Block, if no block is available (#525)
+ // and if it doesn't contain other blocks.
+ if ( !block && elementName == 'div' && !checkHasBlock( e ) )
+ block = e;
+ else
+ blockLimit = e;
+ }
+ }
+
+ elements.push( e );
+
+ if ( elementName == 'body' )
+ break;
+ }
+ e = e.getParent();
+ }
+
+ this.block = block;
+ this.blockLimit = blockLimit;
+ this.elements = elements;
+ };
+})();
+
+CKEDITOR.dom.elementPath.prototype =
+{
+ /**
+ * Compares this element path with another one.
+ * @param {CKEDITOR.dom.elementPath} otherPath The elementPath object to be
+ * compared with this one.
+ * @returns {Boolean} "true" if the paths are equal, containing the same
+ * number of elements and the same elements in the same order.
+ */
+ compare : function( otherPath )
+ {
+ var thisElements = this.elements;
+ var otherElements = otherPath && otherPath.elements;
+
+ if ( !otherElements || thisElements.length != otherElements.length )
+ return false;
+
+ for ( var i = 0 ; i < thisElements.length ; i++ )
+ {
+ if ( !thisElements[ i ].equals( otherElements[ i ] ) )
+ return false;
+ }
+
+ return true;
+ },
+
+ contains : function( tagNames )
+ {
+ var elements = this.elements;
+ for ( var i = 0 ; i < elements.length ; i++ )
+ {
+ if ( elements[ i ].getName() in tagNames )
+ return elements[ i ];
+ }
+
+ return null;
+ }
+};
diff --git a/devel/third-party/ckeditor/core/dom/event.js b/devel/third-party/ckeditor/core/dom/event.js
new file mode 100644
index 0000000..cf7d66c
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/event.js
@@ -0,0 +1,142 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.event} class, which
+ * represents the a native DOM event object.
+ */
+
+/**
+ * Represents a native DOM event object.
+ * @constructor
+ * @param {Object} domEvent A native DOM event object.
+ * @example
+ */
+CKEDITOR.dom.event = function( domEvent )
+{
+ /**
+ * The native DOM event object represented by this class instance.
+ * @type Object
+ * @example
+ */
+ this.$ = domEvent;
+};
+
+CKEDITOR.dom.event.prototype =
+{
+ /**
+ * Gets the key code associated to the event.
+ * @returns {Number} The key code.
+ * @example
+ * alert( event.getKey() ); "65" is "a" has been pressed
+ */
+ getKey : function()
+ {
+ return this.$.keyCode || this.$.which;
+ },
+
+ /**
+ * Gets a number represeting the combination of the keys pressed during the
+ * event. It is the sum with the current key code and the {@link CKEDITOR.CTRL},
+ * {@link CKEDITOR.SHIFT} and {@link CKEDITOR.ALT} constants.
+ * @returns {Number} The number representing the keys combination.
+ * @example
+ * alert( event.getKeystroke() == 65 ); // "a" key
+ * alert( event.getKeystroke() == CKEDITOR.CTRL + 65 ); // CTRL + "a" key
+ * alert( event.getKeystroke() == CKEDITOR.CTRL + CKEDITOR.SHIFT + 65 ); // CTRL + SHIFT + "a" key
+ */
+ getKeystroke : function()
+ {
+ var keystroke = this.getKey();
+
+ if ( this.$.ctrlKey || this.$.metaKey )
+ keystroke += CKEDITOR.CTRL;
+
+ if ( this.$.shiftKey )
+ keystroke += CKEDITOR.SHIFT;
+
+ if ( this.$.altKey )
+ keystroke += CKEDITOR.ALT;
+
+ return keystroke;
+ },
+
+ /**
+ * Prevents the original behavior of the event to happen. It can optionally
+ * stop propagating the event in the event chain.
+ * @param {Boolean} [stopPropagation] Stop propagating this event in the
+ * event chain.
+ * @example
+ * var element = CKEDITOR.document.getById( 'myElement' );
+ * element.on( 'click', function( ev )
+ * {
+ * // The DOM event object is passed by the "data" property.
+ * var domEvent = ev.data;
+ * // Prevent the click to chave any effect in the element.
+ * domEvent.preventDefault();
+ * });
+ */
+ preventDefault : function( stopPropagation )
+ {
+ var $ = this.$;
+ if ( $.preventDefault )
+ $.preventDefault();
+ else
+ $.returnValue = false;
+
+ if ( stopPropagation )
+ this.stopPropagation();
+ },
+
+ stopPropagation : function()
+ {
+ var $ = this.$;
+ if ( $.stopPropagation )
+ $.stopPropagation();
+ else
+ $.cancelBubble = true;
+ },
+
+ /**
+ * Returns the DOM node where the event was targeted to.
+ * @returns {CKEDITOR.dom.node} The target DOM node.
+ * @example
+ * var element = CKEDITOR.document.getById( 'myElement' );
+ * element.on( 'click', function( ev )
+ * {
+ * // The DOM event object is passed by the "data" property.
+ * var domEvent = ev.data;
+ * // Add a CSS class to the event target.
+ * domEvent.getTarget().addClass( 'clicked' );
+ * });
+ */
+
+ getTarget : function()
+ {
+ var rawNode = this.$.target || this.$.srcElement;
+ return rawNode ? new CKEDITOR.dom.node( rawNode ) : null;
+ }
+};
+
+/**
+ * CTRL key (1000).
+ * @constant
+ * @example
+ */
+CKEDITOR.CTRL = 1000;
+
+/**
+ * SHIFT key (2000).
+ * @constant
+ * @example
+ */
+CKEDITOR.SHIFT = 2000;
+
+/**
+ * ALT key (4000).
+ * @constant
+ * @example
+ */
+CKEDITOR.ALT = 4000;
diff --git a/devel/third-party/ckeditor/core/dom/node.js b/devel/third-party/ckeditor/core/dom/node.js
new file mode 100644
index 0000000..02a726c
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/node.js
@@ -0,0 +1,683 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.node} class, which is the base
+ * class for classes that represent DOM nodes.
+ */
+
+/**
+ * Base class for classes representing DOM nodes. This constructor may return
+ * and instance of classes that inherits this class, like
+ * {@link CKEDITOR.dom.element} or {@link CKEDITOR.dom.text}.
+ * @augments CKEDITOR.dom.domObject
+ * @param {Object} domNode A native DOM node.
+ * @constructor
+ * @see CKEDITOR.dom.element
+ * @see CKEDITOR.dom.text
+ * @example
+ */
+CKEDITOR.dom.node = function( domNode )
+{
+ if ( domNode )
+ {
+ switch ( domNode.nodeType )
+ {
+ // Safari don't consider document as element node type. (#3389)
+ case CKEDITOR.NODE_DOCUMENT :
+ return new CKEDITOR.dom.document( domNode );
+
+ case CKEDITOR.NODE_ELEMENT :
+ return new CKEDITOR.dom.element( domNode );
+
+ case CKEDITOR.NODE_TEXT :
+ return new CKEDITOR.dom.text( domNode );
+ }
+
+ // Call the base constructor.
+ CKEDITOR.dom.domObject.call( this, domNode );
+ }
+
+ return this;
+};
+
+CKEDITOR.dom.node.prototype = new CKEDITOR.dom.domObject();
+
+/**
+ * Element node type.
+ * @constant
+ * @example
+ */
+CKEDITOR.NODE_ELEMENT = 1;
+
+/**
+ * Document node type.
+ * @constant
+ * @example
+ */
+CKEDITOR.NODE_DOCUMENT = 9;
+
+/**
+ * Text node type.
+ * @constant
+ * @example
+ */
+CKEDITOR.NODE_TEXT = 3;
+
+/**
+ * Comment node type.
+ * @constant
+ * @example
+ */
+CKEDITOR.NODE_COMMENT = 8;
+
+CKEDITOR.NODE_DOCUMENT_FRAGMENT = 11;
+
+CKEDITOR.POSITION_IDENTICAL = 0;
+CKEDITOR.POSITION_DISCONNECTED = 1;
+CKEDITOR.POSITION_FOLLOWING = 2;
+CKEDITOR.POSITION_PRECEDING = 4;
+CKEDITOR.POSITION_IS_CONTAINED = 8;
+CKEDITOR.POSITION_CONTAINS = 16;
+
+CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype,
+ /** @lends CKEDITOR.dom.node.prototype */
+ {
+ /**
+ * Makes this node child of another element.
+ * @param {CKEDITOR.dom.element} element The target element to which append
+ * this node.
+ * @returns {CKEDITOR.dom.element} The target element.
+ * @example
+ * var p = new CKEDITOR.dom.element( 'p' );
+ * var strong = new CKEDITOR.dom.element( 'strong' );
+ * strong.appendTo( p );
+ *
+ * // result: "<p><strong></strong></p>"
+ */
+ appendTo : function( element, toStart )
+ {
+ element.append( this, toStart );
+ return element;
+ },
+
+ clone : function( includeChildren, cloneId )
+ {
+ var $clone = this.$.cloneNode( includeChildren );
+
+ if ( !cloneId )
+ {
+ var removeIds = function( node )
+ {
+ if ( node.nodeType != CKEDITOR.NODE_ELEMENT )
+ return;
+
+ node.removeAttribute( 'id', false ) ;
+ node.removeAttribute( '_cke_expando', false ) ;
+
+ var childs = node.childNodes;
+ for ( var i=0 ; i < childs.length ; i++ )
+ removeIds( childs[ i ] );
+ };
+
+ // The "id" attribute should never be cloned to avoid duplication.
+ removeIds( $clone );
+ }
+
+ return new CKEDITOR.dom.node( $clone );
+ },
+
+ hasPrevious : function()
+ {
+ return !!this.$.previousSibling;
+ },
+
+ hasNext : function()
+ {
+ return !!this.$.nextSibling;
+ },
+
+ /**
+ * Inserts this element after a node.
+ * @param {CKEDITOR.dom.node} node The that will preceed this element.
+ * @returns {CKEDITOR.dom.node} The node preceeding this one after
+ * insertion.
+ * @example
+ * var em = new CKEDITOR.dom.element( 'em' );
+ * var strong = new CKEDITOR.dom.element( 'strong' );
+ * strong.insertAfter( em );
+ *
+ * // result: "<em></em><strong></strong>"
+ */
+ insertAfter : function( node )
+ {
+ node.$.parentNode.insertBefore( this.$, node.$.nextSibling );
+ return node;
+ },
+
+ /**
+ * Inserts this element before a node.
+ * @param {CKEDITOR.dom.node} node The that will be after this element.
+ * @returns {CKEDITOR.dom.node} The node being inserted.
+ * @example
+ * var em = new CKEDITOR.dom.element( 'em' );
+ * var strong = new CKEDITOR.dom.element( 'strong' );
+ * strong.insertBefore( em );
+ *
+ * // result: "<strong></strong><em></em>"
+ */
+ insertBefore : function( node )
+ {
+ node.$.parentNode.insertBefore( this.$, node.$ );
+ return node;
+ },
+
+ insertBeforeMe : function( node )
+ {
+ this.$.parentNode.insertBefore( node.$, this.$ );
+ return node;
+ },
+
+ /**
+ * Retrieves a uniquely identifiable tree address for this node.
+ * The tree address returns is an array of integers, with each integer
+ * indicating a child index of a DOM node, starting from
+ * document.documentElement.
+ *
+ * For example, assuming <body> is the second child from <html> (<head>
+ * being the first), and we'd like to address the third child under the
+ * fourth child of body, the tree address returned would be:
+ * [1, 3, 2]
+ *
+ * The tree address cannot be used for finding back the DOM tree node once
+ * the DOM tree structure has been modified.
+ */
+ getAddress : function( normalized )
+ {
+ var address = [];
+ var $documentElement = this.getDocument().$.documentElement;
+ var node = this.$;
+
+ while ( node && node != $documentElement )
+ {
+ var parentNode = node.parentNode;
+ var currentIndex = -1;
+
+ if ( parentNode )
+ {
+ for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
+ {
+ var candidate = parentNode.childNodes[i];
+
+ if ( normalized &&
+ candidate.nodeType == 3 &&
+ candidate.previousSibling &&
+ candidate.previousSibling.nodeType == 3 )
+ {
+ continue;
+ }
+
+ currentIndex++;
+
+ if ( candidate == node )
+ break;
+ }
+
+ address.unshift( currentIndex );
+ }
+
+ node = parentNode;
+ }
+
+ return address;
+ },
+
+ /**
+ * Gets the document containing this element.
+ * @returns {CKEDITOR.dom.document} The document.
+ * @example
+ * var element = CKEDITOR.document.getById( 'example' );
+ * alert( <b>element.getDocument().equals( CKEDITOR.document )</b> ); // "true"
+ */
+ getDocument : function()
+ {
+ var document = new CKEDITOR.dom.document( this.$.ownerDocument || this.$.parentNode.ownerDocument );
+
+ return (
+ this.getDocument = function()
+ {
+ return document;
+ })();
+ },
+
+ getIndex : function()
+ {
+ var $ = this.$;
+
+ var currentNode = $.parentNode && $.parentNode.firstChild;
+ var currentIndex = -1;
+
+ while ( currentNode )
+ {
+ currentIndex++;
+
+ if ( currentNode == $ )
+ return currentIndex;
+
+ currentNode = currentNode.nextSibling;
+ }
+
+ return -1;
+ },
+
+ getNextSourceNode : function( startFromSibling, nodeType, guard )
+ {
+ // If "guard" is a node, transform it in a function.
+ if ( guard && !guard.call )
+ {
+ var guardNode = guard;
+ guard = function( node )
+ {
+ return !node.equals( guardNode );
+ };
+ }
+
+ var node = ( !startFromSibling && this.getFirst && this.getFirst() ),
+ parent;
+
+ // Guarding when we're skipping the current element( no children or 'startFromSibling' ).
+ // send the 'moving out' signal even we don't actually dive into.
+ if ( !node )
+ {
+ if ( this.type == CKEDITOR.NODE_ELEMENT && guard && guard( this, true ) === false )
+ return null;
+ node = this.getNext();
+ }
+
+ while ( !node && ( parent = ( parent || this ).getParent() ) )
+ {
+ // The guard check sends the "true" paramenter to indicate that
+ // we are moving "out" of the element.
+ if ( guard && guard( parent, true ) === false )
+ return null;
+
+ node = parent.getNext();
+ }
+
+ if ( !node )
+ return null;
+
+ if ( guard && guard( node ) === false )
+ return null;
+
+ if ( nodeType && nodeType != node.type )
+ return node.getNextSourceNode( false, nodeType, guard );
+
+ return node;
+ },
+
+ getPreviousSourceNode : function( startFromSibling, nodeType, guard )
+ {
+ if ( guard && !guard.call )
+ {
+ var guardNode = guard;
+ guard = function( node )
+ {
+ return !node.equals( guardNode );
+ };
+ }
+
+ var node = ( !startFromSibling && this.getLast && this.getLast() ),
+ parent;
+
+ // Guarding when we're skipping the current element( no children or 'startFromSibling' ).
+ // send the 'moving out' signal even we don't actually dive into.
+ if ( !node )
+ {
+ if ( this.type == CKEDITOR.NODE_ELEMENT && guard && guard( this, true ) === false )
+ return null;
+ node = this.getPrevious();
+ }
+
+ while ( !node && ( parent = ( parent || this ).getParent() ) )
+ {
+ // The guard check sends the "true" paramenter to indicate that
+ // we are moving "out" of the element.
+ if ( guard && guard( parent, true ) === false )
+ return null;
+
+ node = parent.getPrevious();
+ }
+
+ if ( !node )
+ return null;
+
+ if ( guard && guard( node ) === false )
+ return null;
+
+ if ( nodeType && node.type != nodeType )
+ return node.getPreviousSourceNode( false, nodeType, guard );
+
+ return node;
+ },
+
+ getPrevious : function( evaluator )
+ {
+ var previous = this.$, retval;
+ do
+ {
+ previous = previous.previousSibling;
+ retval = previous && new CKEDITOR.dom.node( previous );
+ }
+ while ( retval && evaluator && !evaluator( retval ) )
+ return retval;
+ },
+
+ /**
+ * Gets the node that follows this element in its parent's child list.
+ * @param {Function} evaluator Filtering the result node.
+ * @returns {CKEDITOR.dom.node} The next node or null if not available.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<div><b>Example</b> <i>next</i></div>' );
+ * var first = <b>element.getFirst().getNext()</b>;
+ * alert( first.getName() ); // "i"
+ */
+ getNext : function( evaluator )
+ {
+ var next = this.$, retval;
+ do
+ {
+ next = next.nextSibling;
+ retval = next && new CKEDITOR.dom.node( next );
+ }
+ while ( retval && evaluator && !evaluator( retval ) )
+ return retval;
+ },
+
+ /**
+ * Gets the parent element for this node.
+ * @returns {CKEDITOR.dom.element} The parent element.
+ * @example
+ * var node = editor.document.getBody().getFirst();
+ * var parent = node.<b>getParent()</b>;
+ * alert( node.getName() ); // "body"
+ */
+ getParent : function()
+ {
+ var parent = this.$.parentNode;
+ return ( parent && parent.nodeType == 1 ) ? new CKEDITOR.dom.node( parent ) : null;
+ },
+
+ getParents : function( closerFirst )
+ {
+ var node = this;
+ var parents = [];
+
+ do
+ {
+ parents[ closerFirst ? 'push' : 'unshift' ]( node );
+ }
+ while ( ( node = node.getParent() ) )
+
+ return parents;
+ },
+
+ getCommonAncestor : function( node )
+ {
+ if ( node.equals( this ) )
+ return this;
+
+ if ( node.contains && node.contains( this ) )
+ return node;
+
+ var start = this.contains ? this : this.getParent();
+
+ do
+ {
+ if ( start.contains( node ) )
+ return start;
+ }
+ while ( ( start = start.getParent() ) );
+
+ return null;
+ },
+
+ getPosition : function( otherNode )
+ {
+ var $ = this.$;
+ var $other = otherNode.$;
+
+ if ( $.compareDocumentPosition )
+ return $.compareDocumentPosition( $other );
+
+ // IE and Safari have no support for compareDocumentPosition.
+
+ if ( $ == $other )
+ return CKEDITOR.POSITION_IDENTICAL;
+
+ // Only element nodes support contains and sourceIndex.
+ if ( this.type == CKEDITOR.NODE_ELEMENT && otherNode.type == CKEDITOR.NODE_ELEMENT )
+ {
+ if ( $.contains )
+ {
+ if ( $.contains( $other ) )
+ return CKEDITOR.POSITION_CONTAINS + CKEDITOR.POSITION_PRECEDING;
+
+ if ( $other.contains( $ ) )
+ return CKEDITOR.POSITION_IS_CONTAINED + CKEDITOR.POSITION_FOLLOWING;
+ }
+
+ if ( 'sourceIndex' in $ )
+ {
+ return ( $.sourceIndex < 0 || $other.sourceIndex < 0 ) ? CKEDITOR.POSITION_DISCONNECTED :
+ ( $.sourceIndex < $other.sourceIndex ) ? CKEDITOR.POSITION_PRECEDING :
+ CKEDITOR.POSITION_FOLLOWING;
+ }
+ }
+
+ // For nodes that don't support compareDocumentPosition, contains
+ // or sourceIndex, their "address" is compared.
+
+ var addressOfThis = this.getAddress(),
+ addressOfOther = otherNode.getAddress(),
+ minLevel = Math.min( addressOfThis.length, addressOfOther.length );
+
+ // Determinate preceed/follow relationship.
+ for ( var i = 0 ; i <= minLevel - 1 ; i++ )
+ {
+ if ( addressOfThis[ i ] != addressOfOther[ i ] )
+ {
+ if ( i < minLevel )
+ {
+ return addressOfThis[ i ] < addressOfOther[ i ] ?
+ CKEDITOR.POSITION_PRECEDING : CKEDITOR.POSITION_FOLLOWING;
+ }
+ break;
+ }
+ }
+
+ // Determinate contains/contained relationship.
+ return ( addressOfThis.length < addressOfOther.length ) ?
+ CKEDITOR.POSITION_CONTAINS + CKEDITOR.POSITION_PRECEDING :
+ CKEDITOR.POSITION_IS_CONTAINED + CKEDITOR.POSITION_FOLLOWING;
+ },
+
+ /**
+ * Gets the closes ancestor node of a specified node name.
+ * @param {String} name Node name of ancestor node.
+ * @param {Boolean} includeSelf (Optional) Whether to include the current
+ * node in the calculation or not.
+ * @returns {CKEDITOR.dom.node} Ancestor node.
+ */
+ getAscendant : function( name, includeSelf )
+ {
+ var $ = this.$;
+
+ if ( !includeSelf )
+ $ = $.parentNode;
+
+ while ( $ )
+ {
+ if ( $.nodeName && $.nodeName.toLowerCase() == name )
+ return new CKEDITOR.dom.node( $ );
+
+ $ = $.parentNode;
+ }
+ return null;
+ },
+
+ hasAscendant : function( name, includeSelf )
+ {
+ var $ = this.$;
+
+ if ( !includeSelf )
+ $ = $.parentNode;
+
+ while ( $ )
+ {
+ if ( $.nodeName && $.nodeName.toLowerCase() == name )
+ return true;
+
+ $ = $.parentNode;
+ }
+ return false;
+ },
+
+ move : function( target, toStart )
+ {
+ target.append( this.remove(), toStart );
+ },
+
+ /**
+ * Removes this node from the document DOM.
+ * @param {Boolean} [preserveChildren] Indicates that the children
+ * elements must remain in the document, removing only the outer
+ * tags.
+ * @example
+ * var element = CKEDITOR.dom.element.getById( 'MyElement' );
+ * <b>element.remove()</b>;
+ */
+ remove : function( preserveChildren )
+ {
+ var $ = this.$;
+ var parent = $.parentNode;
+
+ if ( parent )
+ {
+ if ( preserveChildren )
+ {
+ // Move all children before the node.
+ for ( var child ; ( child = $.firstChild ) ; )
+ {
+ parent.insertBefore( $.removeChild( child ), $ );
+ }
+ }
+
+ parent.removeChild( $ );
+ }
+
+ return this;
+ },
+
+ replace : function( nodeToReplace )
+ {
+ this.insertBefore( nodeToReplace );
+ nodeToReplace.remove();
+ },
+
+ trim : function()
+ {
+ this.ltrim();
+ this.rtrim();
+ },
+
+ ltrim : function()
+ {
+ var child;
+ while ( this.getFirst && ( child = this.getFirst() ) )
+ {
+ if ( child.type == CKEDITOR.NODE_TEXT )
+ {
+ var trimmed = CKEDITOR.tools.ltrim( child.getText() ),
+ originalLength = child.getLength();
+
+ if ( !trimmed )
+ {
+ child.remove();
+ continue;
+ }
+ else if ( trimmed.length < originalLength )
+ {
+ child.split( originalLength - trimmed.length );
+
+ // IE BUG: child.remove() may raise JavaScript errors here. (#81)
+ this.$.removeChild( this.$.firstChild );
+ }
+ }
+ break;
+ }
+ },
+
+ rtrim : function()
+ {
+ var child;
+ while ( this.getLast && ( child = this.getLast() ) )
+ {
+ if ( child.type == CKEDITOR.NODE_TEXT )
+ {
+ var trimmed = CKEDITOR.tools.rtrim( child.getText() ),
+ originalLength = child.getLength();
+
+ if ( !trimmed )
+ {
+ child.remove();
+ continue;
+ }
+ else if ( trimmed.length < originalLength )
+ {
+ child.split( trimmed.length );
+
+ // IE BUG: child.getNext().remove() may raise JavaScript errors here.
+ // (#81)
+ this.$.lastChild.parentNode.removeChild( this.$.lastChild );
+ }
+ }
+ break;
+ }
+
+ if ( !CKEDITOR.env.ie && !CKEDITOR.env.opera )
+ {
+ child = this.$.lastChild;
+
+ if ( child && child.type == 1 && child.nodeName.toLowerCase() == 'br' )
+ {
+ // Use "eChildNode.parentNode" instead of "node" to avoid IE bug (#324).
+ child.parentNode.removeChild( child ) ;
+ }
+ }
+ },
+
+ isReadOnly : function()
+ {
+ var current = this;
+ while( current )
+ {
+ if ( current.type == CKEDITOR.NODE_ELEMENT )
+ {
+ if ( current.is( 'body' ) || current.getCustomData( '_cke_notReadOnly' ) )
+ break;
+
+ if ( current.getAttribute( 'contentEditable' ) == 'false' )
+ return current;
+ else if ( current.getAttribute( 'contentEditable' ) == 'true' )
+ break;
+ }
+ current = current.getParent();
+ }
+
+ return false;
+ }
+ }
+);
diff --git a/devel/third-party/ckeditor/core/dom/nodelist.js b/devel/third-party/ckeditor/core/dom/nodelist.js
new file mode 100644
index 0000000..7e82ba1
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/nodelist.js
@@ -0,0 +1,23 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dom.nodeList = function( nativeList )
+{
+ this.$ = nativeList;
+};
+
+CKEDITOR.dom.nodeList.prototype =
+{
+ count : function()
+ {
+ return this.$.length;
+ },
+
+ getItem : function( index )
+ {
+ var $node = this.$[ index ];
+ return $node ? new CKEDITOR.dom.node( $node ) : null;
+ }
+};
diff --git a/devel/third-party/ckeditor/core/dom/range.js b/devel/third-party/ckeditor/core/dom/range.js
new file mode 100644
index 0000000..5846484
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/range.js
@@ -0,0 +1,1880 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dom.range = function( document )
+{
+ this.startContainer = null;
+ this.startOffset = null;
+ this.endContainer = null;
+ this.endOffset = null;
+ this.collapsed = true;
+
+ this.document = document;
+};
+
+(function()
+{
+ // Updates the "collapsed" property for the given range object.
+ var updateCollapsed = function( range )
+ {
+ range.collapsed = (
+ range.startContainer &&
+ range.endContainer &&
+ range.startContainer.equals( range.endContainer ) &&
+ range.startOffset == range.endOffset );
+ };
+
+ // This is a shared function used to delete, extract and clone the range
+ // contents.
+ // V2
+ var execContentsAction = function( range, action, docFrag )
+ {
+ range.optimizeBookmark();
+
+ var startNode = range.startContainer;
+ var endNode = range.endContainer;
+
+ var startOffset = range.startOffset;
+ var endOffset = range.endOffset;
+
+ var removeStartNode;
+ var removeEndNode;
+
+ // For text containers, we must simply split the node and point to the
+ // second part. The removal will be handled by the rest of the code .
+ if ( endNode.type == CKEDITOR.NODE_TEXT )
+ endNode = endNode.split( endOffset );
+ else
+ {
+ // If the end container has children and the offset is pointing
+ // to a child, then we should start from it.
+ if ( endNode.getChildCount() > 0 )
+ {
+ // If the offset points after the last node.
+ if ( endOffset >= endNode.getChildCount() )
+ {
+ // Let's create a temporary node and mark it for removal.
+ endNode = endNode.append( range.document.createText( '' ) );
+ removeEndNode = true;
+ }
+ else
+ endNode = endNode.getChild( endOffset );
+ }
+ }
+
+ // For text containers, we must simply split the node. The removal will
+ // be handled by the rest of the code .
+ if ( startNode.type == CKEDITOR.NODE_TEXT )
+ {
+ startNode.split( startOffset );
+
+ // In cases the end node is the same as the start node, the above
+ // splitting will also split the end, so me must move the end to
+ // the second part of the split.
+ if ( startNode.equals( endNode ) )
+ endNode = startNode.getNext();
+ }
+ else
+ {
+ // If the start container has children and the offset is pointing
+ // to a child, then we should start from its previous sibling.
+
+ // If the offset points to the first node, we don't have a
+ // sibling, so let's use the first one, but mark it for removal.
+ if ( !startOffset )
+ {
+ // Let's create a temporary node and mark it for removal.
+ startNode = startNode.getFirst().insertBeforeMe( range.document.createText( '' ) );
+ removeStartNode = true;
+ }
+ else if ( startOffset >= startNode.getChildCount() )
+ {
+ // Let's create a temporary node and mark it for removal.
+ startNode = startNode.append( range.document.createText( '' ) );
+ removeStartNode = true;
+ }
+ else
+ startNode = startNode.getChild( startOffset ).getPrevious();
+ }
+
+ // Get the parent nodes tree for the start and end boundaries.
+ var startParents = startNode.getParents();
+ var endParents = endNode.getParents();
+
+ // Compare them, to find the top most siblings.
+ var i, topStart, topEnd;
+
+ for ( i = 0 ; i < startParents.length ; i++ )
+ {
+ topStart = startParents[ i ];
+ topEnd = endParents[ i ];
+
+ // The compared nodes will match until we find the top most
+ // siblings (different nodes that have the same parent).
+ // "i" will hold the index in the parents array for the top
+ // most element.
+ if ( !topStart.equals( topEnd ) )
+ break;
+ }
+
+ var clone = docFrag, levelStartNode, levelClone, currentNode, currentSibling;
+
+ // Remove all successive sibling nodes for every node in the
+ // startParents tree.
+ for ( var j = i ; j < startParents.length ; j++ )
+ {
+ levelStartNode = startParents[j];
+
+ // For Extract and Clone, we must clone this level.
+ if ( clone && !levelStartNode.equals( startNode ) ) // action = 0 = Delete
+ levelClone = clone.append( levelStartNode.clone() );
+
+ currentNode = levelStartNode.getNext();
+
+ while ( currentNode )
+ {
+ // Stop processing when the current node matches a node in the
+ // endParents tree or if it is the endNode.
+ if ( currentNode.equals( endParents[ j ] ) || currentNode.equals( endNode ) )
+ break;
+
+ // Cache the next sibling.
+ currentSibling = currentNode.getNext();
+
+ // If cloning, just clone it.
+ if ( action == 2 ) // 2 = Clone
+ clone.append( currentNode.clone( true ) );
+ else
+ {
+ // Both Delete and Extract will remove the node.
+ currentNode.remove();
+
+ // When Extracting, move the removed node to the docFrag.
+ if ( action == 1 ) // 1 = Extract
+ clone.append( currentNode );
+ }
+
+ currentNode = currentSibling;
+ }
+
+ if ( clone )
+ clone = levelClone;
+ }
+
+ clone = docFrag;
+
+ // Remove all previous sibling nodes for every node in the
+ // endParents tree.
+ for ( var k = i ; k < endParents.length ; k++ )
+ {
+ levelStartNode = endParents[ k ];
+
+ // For Extract and Clone, we must clone this level.
+ if ( action > 0 && !levelStartNode.equals( endNode ) ) // action = 0 = Delete
+ levelClone = clone.append( levelStartNode.clone() );
+
+ // The processing of siblings may have already been done by the parent.
+ if ( !startParents[ k ] || levelStartNode.$.parentNode != startParents[ k ].$.parentNode )
+ {
+ currentNode = levelStartNode.getPrevious();
+
+ while ( currentNode )
+ {
+ // Stop processing when the current node matches a node in the
+ // startParents tree or if it is the startNode.
+ if ( currentNode.equals( startParents[ k ] ) || currentNode.equals( startNode ) )
+ break;
+
+ // Cache the next sibling.
+ currentSibling = currentNode.getPrevious();
+
+ // If cloning, just clone it.
+ if ( action == 2 ) // 2 = Clone
+ clone.$.insertBefore( currentNode.$.cloneNode( true ), clone.$.firstChild ) ;
+ else
+ {
+ // Both Delete and Extract will remove the node.
+ currentNode.remove();
+
+ // When Extracting, mode the removed node to the docFrag.
+ if ( action == 1 ) // 1 = Extract
+ clone.$.insertBefore( currentNode.$, clone.$.firstChild );
+ }
+
+ currentNode = currentSibling;
+ }
+ }
+
+ if ( clone )
+ clone = levelClone;
+ }
+
+ if ( action == 2 ) // 2 = Clone.
+ {
+ // No changes in the DOM should be done, so fix the split text (if any).
+
+ var startTextNode = range.startContainer;
+ if ( startTextNode.type == CKEDITOR.NODE_TEXT )
+ {
+ startTextNode.$.data += startTextNode.$.nextSibling.data;
+ startTextNode.$.parentNode.removeChild( startTextNode.$.nextSibling );
+ }
+
+ var endTextNode = range.endContainer;
+ if ( endTextNode.type == CKEDITOR.NODE_TEXT && endTextNode.$.nextSibling )
+ {
+ endTextNode.$.data += endTextNode.$.nextSibling.data;
+ endTextNode.$.parentNode.removeChild( endTextNode.$.nextSibling );
+ }
+ }
+ else
+ {
+ // Collapse the range.
+
+ // If a node has been partially selected, collapse the range between
+ // topStart and topEnd. Otherwise, simply collapse it to the start. (W3C specs).
+ if ( topStart && topEnd && ( startNode.$.parentNode != topStart.$.parentNode || endNode.$.parentNode != topEnd.$.parentNode ) )
+ {
+ var endIndex = topEnd.getIndex();
+
+ // If the start node is to be removed, we must correct the
+ // index to reflect the removal.
+ if ( removeStartNode && topEnd.$.parentNode == startNode.$.parentNode )
+ endIndex--;
+
+ range.setStart( topEnd.getParent(), endIndex );
+ }
+
+ // Collapse it to the start.
+ range.collapse( true );
+ }
+
+ // Cleanup any marked node.
+ if ( removeStartNode )
+ startNode.remove();
+
+ if ( removeEndNode && endNode.$.parentNode )
+ endNode.remove();
+ };
+
+ var inlineChildReqElements = { abbr:1,acronym:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1 };
+
+ // Creates the appropriate node evaluator for the dom walker used inside
+ // check(Start|End)OfBlock.
+ function getCheckStartEndBlockEvalFunction( isStart )
+ {
+ var hadBr = false, bookmarkEvaluator = CKEDITOR.dom.walker.bookmark( true );
+ return function( node )
+ {
+ // First ignore bookmark nodes.
+ if ( bookmarkEvaluator( node ) )
+ return true;
+
+ if ( node.type == CKEDITOR.NODE_TEXT )
+ {
+ // If there's any visible text, then we're not at the start.
+ if ( CKEDITOR.tools.trim( node.getText() ).length )
+ return false;
+ }
+ else if ( node.type == CKEDITOR.NODE_ELEMENT )
+ {
+ // If there are non-empty inline elements (e.g. <img />), then we're not
+ // at the start.
+ if ( !inlineChildReqElements[ node.getName() ] )
+ {
+ // If we're working at the end-of-block, forgive the first <br /> in non-IE
+ // browsers.
+ if ( !isStart && !CKEDITOR.env.ie && node.getName() == 'br' && !hadBr )
+ hadBr = true;
+ else
+ return false;
+ }
+ }
+ return true;
+ };
+ }
+
+ // Evaluator for CKEDITOR.dom.element::checkBoundaryOfElement, reject any
+ // text node and non-empty elements unless it's being bookmark text.
+ function elementBoundaryEval( node )
+ {
+ // Reject any text node unless it's being bookmark
+ // OR it's spaces. (#3883)
+ return node.type != CKEDITOR.NODE_TEXT
+ && node.getName() in CKEDITOR.dtd.$removeEmpty
+ || !CKEDITOR.tools.trim( node.getText() )
+ || node.getParent().hasAttribute( '_cke_bookmark' );
+ }
+
+ var whitespaceEval = new CKEDITOR.dom.walker.whitespaces(),
+ bookmarkEval = new CKEDITOR.dom.walker.bookmark();
+
+ function nonWhitespaceOrBookmarkEval( node )
+ {
+ // Whitespaces and bookmark nodes are to be ignored.
+ return !whitespaceEval( node ) && !bookmarkEval( node );
+ }
+
+ CKEDITOR.dom.range.prototype =
+ {
+ clone : function()
+ {
+ var clone = new CKEDITOR.dom.range( this.document );
+
+ clone.startContainer = this.startContainer;
+ clone.startOffset = this.startOffset;
+ clone.endContainer = this.endContainer;
+ clone.endOffset = this.endOffset;
+ clone.collapsed = this.collapsed;
+
+ return clone;
+ },
+
+ collapse : function( toStart )
+ {
+ if ( toStart )
+ {
+ this.endContainer = this.startContainer;
+ this.endOffset = this.startOffset;
+ }
+ else
+ {
+ this.startContainer = this.endContainer;
+ this.startOffset = this.endOffset;
+ }
+
+ this.collapsed = true;
+ },
+
+ // The selection may be lost when cloning (due to the splitText() call).
+ cloneContents : function()
+ {
+ var docFrag = new CKEDITOR.dom.documentFragment( this.document );
+
+ if ( !this.collapsed )
+ execContentsAction( this, 2, docFrag );
+
+ return docFrag;
+ },
+
+ deleteContents : function()
+ {
+ if ( this.collapsed )
+ return;
+
+ execContentsAction( this, 0 );
+ },
+
+ extractContents : function()
+ {
+ var docFrag = new CKEDITOR.dom.documentFragment( this.document );
+
+ if ( !this.collapsed )
+ execContentsAction( this, 1, docFrag );
+
+ return docFrag;
+ },
+
+ /**
+ * Creates a bookmark object, which can be later used to restore the
+ * range by using the moveToBookmark function.
+ * This is an "intrusive" way to create a bookmark. It includes <span> tags
+ * in the range boundaries. The advantage of it is that it is possible to
+ * handle DOM mutations when moving back to the bookmark.
+ * Attention: the inclusion of nodes in the DOM is a design choice and
+ * should not be changed as there are other points in the code that may be
+ * using those nodes to perform operations. See GetBookmarkNode.
+ * @param {Boolean} [serializable] Indicates that the bookmark nodes
+ * must contain ids, which can be used to restore the range even
+ * when these nodes suffer mutations (like a clonation or innerHTML
+ * change).
+ * @returns {Object} And object representing a bookmark.
+ */
+ createBookmark : function( serializable )
+ {
+ var startNode, endNode;
+ var baseId;
+ var clone;
+ var collapsed = this.collapsed;
+
+ startNode = this.document.createElement( 'span' );
+ startNode.setAttribute( '_cke_bookmark', 1 );
+ startNode.setStyle( 'display', 'none' );
+
+ // For IE, it must have something inside, otherwise it may be
+ // removed during DOM operations.
+ startNode.setHtml( ' ' );
+
+ if ( serializable )
+ {
+ baseId = 'cke_bm_' + CKEDITOR.tools.getNextNumber();
+ startNode.setAttribute( 'id', baseId + 'S' );
+ }
+
+ // If collapsed, the endNode will not be created.
+ if ( !collapsed )
+ {
+ endNode = startNode.clone();
+ endNode.setHtml( ' ' );
+
+ if ( serializable )
+ endNode.setAttribute( 'id', baseId + 'E' );
+
+ clone = this.clone();
+ clone.collapse();
+ clone.insertNode( endNode );
+ }
+
+ clone = this.clone();
+ clone.collapse( true );
+ clone.insertNode( startNode );
+
+ // Update the range position.
+ if ( endNode )
+ {
+ this.setStartAfter( startNode );
+ this.setEndBefore( endNode );
+ }
+ else
+ this.moveToPosition( startNode, CKEDITOR.POSITION_AFTER_END );
+
+ return {
+ startNode : serializable ? baseId + 'S' : startNode,
+ endNode : serializable ? baseId + 'E' : endNode,
+ serializable : serializable,
+ collapsed : collapsed
+ };
+ },
+
+ /**
+ * Creates a "non intrusive" and "mutation sensible" bookmark. This
+ * kind of bookmark should be used only when the DOM is supposed to
+ * remain stable after its creation.
+ * @param {Boolean} [normalized] Indicates that the bookmark must
+ * normalized. When normalized, the successive text nodes are
+ * considered a single node. To sucessful load a normalized
+ * bookmark, the DOM tree must be also normalized before calling
+ * moveToBookmark.
+ * @returns {Object} An object representing the bookmark.
+ */
+ createBookmark2 : function( normalized )
+ {
+ var startContainer = this.startContainer,
+ endContainer = this.endContainer;
+
+ var startOffset = this.startOffset,
+ endOffset = this.endOffset;
+
+ var collapsed = this.collapsed;
+
+ var child, previous;
+
+ // If there is no range then get out of here.
+ // It happens on initial load in Safari #962 and if the editor it's
+ // hidden also in Firefox
+ if ( !startContainer || !endContainer )
+ return { start : 0, end : 0 };
+
+ if ( normalized )
+ {
+ // Find out if the start is pointing to a text node that will
+ // be normalized.
+ if ( startContainer.type == CKEDITOR.NODE_ELEMENT )
+ {
+ child = startContainer.getChild( startOffset );
+
+ // In this case, move the start information to that text
+ // node.
+ if ( child && child.type == CKEDITOR.NODE_TEXT
+ && startOffset > 0 && child.getPrevious().type == CKEDITOR.NODE_TEXT )
+ {
+ startContainer = child;
+ startOffset = 0;
+ }
+ }
+
+ // Normalize the start.
+ while ( startContainer.type == CKEDITOR.NODE_TEXT
+ && ( previous = startContainer.getPrevious() )
+ && previous.type == CKEDITOR.NODE_TEXT )
+ {
+ startContainer = previous;
+ startOffset += previous.getLength();
+ }
+
+ // Process the end only if not normalized.
+ if ( !collapsed )
+ {
+ // Find out if the start is pointing to a text node that
+ // will be normalized.
+ if ( endContainer.type == CKEDITOR.NODE_ELEMENT )
+ {
+ child = endContainer.getChild( endOffset );
+
+ // In this case, move the start information to that
+ // text node.
+ if ( child && child.type == CKEDITOR.NODE_TEXT
+ && endOffset > 0 && child.getPrevious().type == CKEDITOR.NODE_TEXT )
+ {
+ endContainer = child;
+ endOffset = 0;
+ }
+ }
+
+ // Normalize the end.
+ while ( endContainer.type == CKEDITOR.NODE_TEXT
+ && ( previous = endContainer.getPrevious() )
+ && previous.type == CKEDITOR.NODE_TEXT )
+ {
+ endContainer = previous;
+ endOffset += previous.getLength();
+ }
+ }
+ }
+
+ return {
+ start : startContainer.getAddress( normalized ),
+ end : collapsed ? null : endContainer.getAddress( normalized ),
+ startOffset : startOffset,
+ endOffset : endOffset,
+ normalized : normalized,
+ collapsed : collapsed,
+ is2 : true // It's a createBookmark2 bookmark.
+ };
+ },
+
+ moveToBookmark : function( bookmark )
+ {
+ if ( bookmark.is2 ) // Created with createBookmark2().
+ {
+ // Get the start information.
+ var startContainer = this.document.getByAddress( bookmark.start, bookmark.normalized ),
+ startOffset = bookmark.startOffset;
+
+ // Get the end information.
+ var endContainer = bookmark.end && this.document.getByAddress( bookmark.end, bookmark.normalized ),
+ endOffset = bookmark.endOffset;
+
+ // Set the start boundary.
+ this.setStart( startContainer, startOffset );
+
+ // Set the end boundary. If not available, collapse it.
+ if ( endContainer )
+ this.setEnd( endContainer, endOffset );
+ else
+ this.collapse( true );
+ }
+ else // Created with createBookmark().
+ {
+ var serializable = bookmark.serializable,
+ startNode = serializable ? this.document.getById( bookmark.startNode ) : bookmark.startNode,
+ endNode = serializable ? this.document.getById( bookmark.endNode ) : bookmark.endNode;
+
+ // Set the range start at the bookmark start node position.
+ this.setStartBefore( startNode );
+
+ // Remove it, because it may interfere in the setEndBefore call.
+ startNode.remove();
+
+ // Set the range end at the bookmark end node position, or simply
+ // collapse it if it is not available.
+ if ( endNode )
+ {
+ this.setEndBefore( endNode );
+ endNode.remove();
+ }
+ else
+ this.collapse( true );
+ }
+ },
+
+ getBoundaryNodes : function()
+ {
+ var startNode = this.startContainer,
+ endNode = this.endContainer,
+ startOffset = this.startOffset,
+ endOffset = this.endOffset,
+ childCount;
+
+ if ( startNode.type == CKEDITOR.NODE_ELEMENT )
+ {
+ childCount = startNode.getChildCount();
+ if ( childCount > startOffset )
+ startNode = startNode.getChild( startOffset );
+ else if ( childCount < 1 )
+ startNode = startNode.getPreviousSourceNode();
+ else // startOffset > childCount but childCount is not 0
+ {
+ // Try to take the node just after the current position.
+ startNode = startNode.$;
+ while ( startNode.lastChild )
+ startNode = startNode.lastChild;
+ startNode = new CKEDITOR.dom.node( startNode );
+
+ // Normally we should take the next node in DFS order. But it
+ // is also possible that we've already reached the end of
+ // document.
+ startNode = startNode.getNextSourceNode() || startNode;
+ }
+ }
+ if ( endNode.type == CKEDITOR.NODE_ELEMENT )
+ {
+ childCount = endNode.getChildCount();
+ if ( childCount > endOffset )
+ endNode = endNode.getChild( endOffset ).getPreviousSourceNode( true );
+ else if ( childCount < 1 )
+ endNode = endNode.getPreviousSourceNode();
+ else // endOffset > childCount but childCount is not 0
+ {
+ // Try to take the node just before the current position.
+ endNode = endNode.$;
+ while ( endNode.lastChild )
+ endNode = endNode.lastChild;
+ endNode = new CKEDITOR.dom.node( endNode );
+ }
+ }
+
+ // Sometimes the endNode will come right before startNode for collapsed
+ // ranges. Fix it. (#3780)
+ if ( startNode.getPosition( endNode ) & CKEDITOR.POSITION_FOLLOWING )
+ startNode = endNode;
+
+ return { startNode : startNode, endNode : endNode };
+ },
+
+ /**
+ * Find the node which fully contains the range.
+ * @param includeSelf
+ * @param {Boolean} ignoreTextNode Whether ignore CKEDITOR.NODE_TEXT type.
+ */
+ getCommonAncestor : function( includeSelf , ignoreTextNode )
+ {
+ var start = this.startContainer,
+ end = this.endContainer,
+ ancestor;
+
+ if ( start.equals( end ) )
+ {
+ if ( includeSelf
+ && start.type == CKEDITOR.NODE_ELEMENT
+ && this.startOffset == this.endOffset - 1 )
+ ancestor = start.getChild( this.startOffset );
+ else
+ ancestor = start;
+ }
+ else
+ ancestor = start.getCommonAncestor( end );
+
+ return ignoreTextNode && !ancestor.is ? ancestor.getParent() : ancestor;
+ },
+
+ /**
+ * Transforms the startContainer and endContainer properties from text
+ * nodes to element nodes, whenever possible. This is actually possible
+ * if either of the boundary containers point to a text node, and its
+ * offset is set to zero, or after the last char in the node.
+ */
+ optimize : function()
+ {
+ var container = this.startContainer;
+ var offset = this.startOffset;
+
+ if ( container.type != CKEDITOR.NODE_ELEMENT )
+ {
+ if ( !offset )
+ this.setStartBefore( container );
+ else if ( offset >= container.getLength() )
+ this.setStartAfter( container );
+ }
+
+ container = this.endContainer;
+ offset = this.endOffset;
+
+ if ( container.type != CKEDITOR.NODE_ELEMENT )
+ {
+ if ( !offset )
+ this.setEndBefore( container );
+ else if ( offset >= container.getLength() )
+ this.setEndAfter( container );
+ }
+ },
+
+ /**
+ * Move the range out of bookmark nodes if they'd been the container.
+ */
+ optimizeBookmark: function()
+ {
+ var startNode = this.startContainer,
+ endNode = this.endContainer;
+
+ if ( startNode.is && startNode.is( 'span' )
+ && startNode.hasAttribute( '_cke_bookmark' ) )
+ this.setStartAt( startNode, CKEDITOR.POSITION_BEFORE_START );
+ if ( endNode && endNode.is && endNode.is( 'span' )
+ && endNode.hasAttribute( '_cke_bookmark' ) )
+ this.setEndAt( endNode, CKEDITOR.POSITION_AFTER_END );
+ },
+
+ trim : function( ignoreStart, ignoreEnd )
+ {
+ var startContainer = this.startContainer,
+ startOffset = this.startOffset,
+ collapsed = this.collapsed;
+ if ( ( !ignoreStart || collapsed )
+ && startContainer && startContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ // If the offset is zero, we just insert the new node before
+ // the start.
+ if ( !startOffset )
+ {
+ startOffset = startContainer.getIndex();
+ startContainer = startContainer.getParent();
+ }
+ // If the offset is at the end, we'll insert it after the text
+ // node.
+ else if ( startOffset >= startContainer.getLength() )
+ {
+ startOffset = startContainer.getIndex() + 1;
+ startContainer = startContainer.getParent();
+ }
+ // In other case, we split the text node and insert the new
+ // node at the split point.
+ else
+ {
+ var nextText = startContainer.split( startOffset );
+
+ startOffset = startContainer.getIndex() + 1;
+ startContainer = startContainer.getParent();
+
+ // Check all necessity of updating the end boundary.
+ if ( this.startContainer.equals( this.endContainer ) )
+ this.setEnd( nextText, this.endOffset - this.startOffset );
+ else if ( startContainer.equals( this.endContainer ) )
+ this.endOffset += 1;
+ }
+
+ this.setStart( startContainer, startOffset );
+
+ if ( collapsed )
+ {
+ this.collapse( true );
+ return;
+ }
+ }
+
+ var endContainer = this.endContainer;
+ var endOffset = this.endOffset;
+
+ if ( !( ignoreEnd || collapsed )
+ && endContainer && endContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ // If the offset is zero, we just insert the new node before
+ // the start.
+ if ( !endOffset )
+ {
+ endOffset = endContainer.getIndex();
+ endContainer = endContainer.getParent();
+ }
+ // If the offset is at the end, we'll insert it after the text
+ // node.
+ else if ( endOffset >= endContainer.getLength() )
+ {
+ endOffset = endContainer.getIndex() + 1;
+ endContainer = endContainer.getParent();
+ }
+ // In other case, we split the text node and insert the new
+ // node at the split point.
+ else
+ {
+ endContainer.split( endOffset );
+
+ endOffset = endContainer.getIndex() + 1;
+ endContainer = endContainer.getParent();
+ }
+
+ this.setEnd( endContainer, endOffset );
+ }
+ },
+
+ enlarge : function( unit )
+ {
+ switch ( unit )
+ {
+ case CKEDITOR.ENLARGE_ELEMENT :
+
+ if ( this.collapsed )
+ return;
+
+ // Get the common ancestor.
+ var commonAncestor = this.getCommonAncestor();
+
+ var body = this.document.getBody();
+
+ // For each boundary
+ // a. Depending on its position, find out the first node to be checked (a sibling) or, if not available, to be enlarge.
+ // b. Go ahead checking siblings and enlarging the boundary as much as possible until the common ancestor is not reached. After reaching the common ancestor, just save the enlargeable node to be used later.
+
+ var startTop, endTop;
+
+ var enlargeable, sibling, commonReached;
+
+ // Indicates that the node can be added only if whitespace
+ // is available before it.
+ var needsWhiteSpace = false;
+ var isWhiteSpace;
+ var siblingText;
+
+ // Process the start boundary.
+
+ var container = this.startContainer;
+ var offset = this.startOffset;
+
+ if ( container.type == CKEDITOR.NODE_TEXT )
+ {
+ if ( offset )
+ {
+ // Check if there is any non-space text before the
+ // offset. Otherwise, container is null.
+ container = !CKEDITOR.tools.trim( container.substring( 0, offset ) ).length && container;
+
+ // If we found only whitespace in the node, it
+ // means that we'll need more whitespace to be able
+ // to expand. For example, <i> can be expanded in
+ // "A <i> [B]</i>", but not in "A<i> [B]</i>".
+ needsWhiteSpace = !!container;
+ }
+
+ if ( container )
+ {
+ if ( !( sibling = container.getPrevious() ) )
+ enlargeable = container.getParent();
+ }
+ }
+ else
+ {
+ // If we have offset, get the node preceeding it as the
+ // first sibling to be checked.
+ if ( offset )
+ sibling = container.getChild( offset - 1 ) || container.getLast();
+
+ // If there is no sibling, mark the container to be
+ // enlarged.
+ if ( !sibling )
+ enlargeable = container;
+ }
+
+ while ( enlargeable || sibling )
+ {
+ if ( enlargeable && !sibling )
+ {
+ // If we reached the common ancestor, mark the flag
+ // for it.
+ if ( !commonReached && enlargeable.equals( commonAncestor ) )
+ commonReached = true;
+
+ if ( !body.contains( enlargeable ) )
+ break;
+
+ // If we don't need space or this element breaks
+ // the line, then enlarge it.
+ if ( !needsWhiteSpace || enlargeable.getComputedStyle( 'display' ) != 'inline' )
+ {
+ needsWhiteSpace = false;
+
+ // If the common ancestor has been reached,
+ // we'll not enlarge it immediately, but just
+ // mark it to be enlarged later if the end
+ // boundary also enlarges it.
+ if ( commonReached )
+ startTop = enlargeable;
+ else
+ this.setStartBefore( enlargeable );
+ }
+
+ sibling = enlargeable.getPrevious();
+ }
+
+ // Check all sibling nodes preceeding the enlargeable
+ // node. The node wil lbe enlarged only if none of them
+ // blocks it.
+ while ( sibling )
+ {
+ // This flag indicates that this node has
+ // whitespaces at the end.
+ isWhiteSpace = false;
+
+ if ( sibling.type == CKEDITOR.NODE_TEXT )
+ {
+ siblingText = sibling.getText();
+
+ if ( /[^\s\ufeff]/.test( siblingText ) )
+ sibling = null;
+
+ isWhiteSpace = /[\s\ufeff]$/.test( siblingText );
+ }
+ else
+ {
+ // If this is a visible element.
+ // We need to check for the bookmark attribute because IE insists on
+ // rendering the display:none nodes we use for bookmarks. (#3363)
+ if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_cke_bookmark' ) )
+ {
+ // We'll accept it only if we need
+ // whitespace, and this is an inline
+ // element with whitespace only.
+ if ( needsWhiteSpace && CKEDITOR.dtd.$removeEmpty[ sibling.getName() ] )
+ {
+ // It must contains spaces and inline elements only.
+
+ siblingText = sibling.getText();
+
+ if ( (/[^\s\ufeff]/).test( siblingText ) ) // Spaces + Zero Width No-Break Space (U+FEFF)
+ sibling = null;
+ else
+ {
+ var allChildren = sibling.$.all || sibling.$.getElementsByTagName( '*' );
+ for ( var i = 0, child ; child = allChildren[ i++ ] ; )
+ {
+ if ( !CKEDITOR.dtd.$removeEmpty[ child.nodeName.toLowerCase() ] )
+ {
+ sibling = null;
+ break;
+ }
+ }
+ }
+
+ if ( sibling )
+ isWhiteSpace = !!siblingText.length;
+ }
+ else
+ sibling = null;
+ }
+ }
+
+ // A node with whitespaces has been found.
+ if ( isWhiteSpace )
+ {
+ // Enlarge the last enlargeable node, if we
+ // were waiting for spaces.
+ if ( needsWhiteSpace )
+ {
+ if ( commonReached )
+ startTop = enlargeable;
+ else if ( enlargeable )
+ this.setStartBefore( enlargeable );
+ }
+ else
+ needsWhiteSpace = true;
+ }
+
+ if ( sibling )
+ {
+ var next = sibling.getPrevious();
+
+ if ( !enlargeable && !next )
+ {
+ // Set the sibling as enlargeable, so it's
+ // parent will be get later outside this while.
+ enlargeable = sibling;
+ sibling = null;
+ break;
+ }
+
+ sibling = next;
+ }
+ else
+ {
+ // If sibling has been set to null, then we
+ // need to stop enlarging.
+ enlargeable = null;
+ }
+ }
+
+ if ( enlargeable )
+ enlargeable = enlargeable.getParent();
+ }
+
+ // Process the end boundary. This is basically the same
+ // code used for the start boundary, with small changes to
+ // make it work in the oposite side (to the right). This
+ // makes it difficult to reuse the code here. So, fixes to
+ // the above code are likely to be replicated here.
+
+ container = this.endContainer;
+ offset = this.endOffset;
+
+ // Reset the common variables.
+ enlargeable = sibling = null;
+ commonReached = needsWhiteSpace = false;
+
+ if ( container.type == CKEDITOR.NODE_TEXT )
+ {
+ // Check if there is any non-space text after the
+ // offset. Otherwise, container is null.
+ container = !CKEDITOR.tools.trim( container.substring( offset ) ).length && container;
+
+ // If we found only whitespace in the node, it
+ // means that we'll need more whitespace to be able
+ // to expand. For example, <i> can be expanded in
+ // "A <i> [B]</i>", but not in "A<i> [B]</i>".
+ needsWhiteSpace = !( container && container.getLength() );
+
+ if ( container )
+ {
+ if ( !( sibling = container.getNext() ) )
+ enlargeable = container.getParent();
+ }
+ }
+ else
+ {
+ // Get the node right after the boudary to be checked
+ // first.
+ sibling = container.getChild( offset );
+
+ if ( !sibling )
+ enlargeable = container;
+ }
+
+ while ( enlargeable || sibling )
+ {
+ if ( enlargeable && !sibling )
+ {
+ if ( !commonReached && enlargeable.equals( commonAncestor ) )
+ commonReached = true;
+
+ if ( !body.contains( enlargeable ) )
+ break;
+
+ if ( !needsWhiteSpace || enlargeable.getComputedStyle( 'display' ) != 'inline' )
+ {
+ needsWhiteSpace = false;
+
+ if ( commonReached )
+ endTop = enlargeable;
+ else if ( enlargeable )
+ this.setEndAfter( enlargeable );
+ }
+
+ sibling = enlargeable.getNext();
+ }
+
+ while ( sibling )
+ {
+ isWhiteSpace = false;
+
+ if ( sibling.type == CKEDITOR.NODE_TEXT )
+ {
+ siblingText = sibling.getText();
+
+ if ( /[^\s\ufeff]/.test( siblingText ) )
+ sibling = null;
+
+ isWhiteSpace = /^[\s\ufeff]/.test( siblingText );
+ }
+ else
+ {
+ // If this is a visible element.
+ // We need to check for the bookmark attribute because IE insists on
+ // rendering the display:none nodes we use for bookmarks. (#3363)
+ if ( sibling.$.offsetWidth > 0 && !sibling.getAttribute( '_cke_bookmark' ) )
+ {
+ // We'll accept it only if we need
+ // whitespace, and this is an inline
+ // element with whitespace only.
+ if ( needsWhiteSpace && CKEDITOR.dtd.$removeEmpty[ sibling.getName() ] )
+ {
+ // It must contains spaces and inline elements only.
+
+ siblingText = sibling.getText();
+
+ if ( (/[^\s\ufeff]/).test( siblingText ) )
+ sibling = null;
+ else
+ {
+ allChildren = sibling.$.all || sibling.$.getElementsByTagName( '*' );
+ for ( i = 0 ; child = allChildren[ i++ ] ; )
+ {
+ if ( !CKEDITOR.dtd.$removeEmpty[ child.nodeName.toLowerCase() ] )
+ {
+ sibling = null;
+ break;
+ }
+ }
+ }
+
+ if ( sibling )
+ isWhiteSpace = !!siblingText.length;
+ }
+ else
+ sibling = null;
+ }
+ }
+
+ if ( isWhiteSpace )
+ {
+ if ( needsWhiteSpace )
+ {
+ if ( commonReached )
+ endTop = enlargeable;
+ else
+ this.setEndAfter( enlargeable );
+ }
+ }
+
+ if ( sibling )
+ {
+ next = sibling.getNext();
+
+ if ( !enlargeable && !next )
+ {
+ enlargeable = sibling;
+ sibling = null;
+ break;
+ }
+
+ sibling = next;
+ }
+ else
+ {
+ // If sibling has been set to null, then we
+ // need to stop enlarging.
+ enlargeable = null;
+ }
+ }
+
+ if ( enlargeable )
+ enlargeable = enlargeable.getParent();
+ }
+
+ // If the common ancestor can be enlarged by both boundaries, then include it also.
+ if ( startTop && endTop )
+ {
+ commonAncestor = startTop.contains( endTop ) ? endTop : startTop;
+
+ this.setStartBefore( commonAncestor );
+ this.setEndAfter( commonAncestor );
+ }
+ break;
+
+ case CKEDITOR.ENLARGE_BLOCK_CONTENTS:
+ case CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS:
+
+ // Enlarging the start boundary.
+ var walkerRange = new CKEDITOR.dom.range( this.document );
+
+ body = this.document.getBody();
+
+ walkerRange.setStartAt( body, CKEDITOR.POSITION_AFTER_START );
+ walkerRange.setEnd( this.startContainer, this.startOffset );
+
+ var walker = new CKEDITOR.dom.walker( walkerRange ),
+ blockBoundary, // The node on which the enlarging should stop.
+ tailBr, // In case BR as block boundary.
+ notBlockBoundary = CKEDITOR.dom.walker.blockBoundary(
+ ( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS ) ? { br : 1 } : null ),
+ // Record the encountered 'blockBoundary' for later use.
+ boundaryGuard = function( node )
+ {
+ var retval = notBlockBoundary( node );
+ if ( !retval )
+ blockBoundary = node;
+ return retval;
+ },
+ // Record the encounted 'tailBr' for later use.
+ tailBrGuard = function( node )
+ {
+ var retval = boundaryGuard( node );
+ if ( !retval && node.is && node.is( 'br' ) )
+ tailBr = node;
+ return retval;
+ };
+
+ walker.guard = boundaryGuard;
+
+ enlargeable = walker.lastBackward();
+
+ // It's the body which stop the enlarging if no block boundary found.
+ blockBoundary = blockBoundary || body;
+
+ // Start the range either after the end of found block (<p>...</p>[text)
+ // or at the start of block (<p>[text...), by comparing the document position
+ // with 'enlargeable' node.
+ this.setStartAt(
+ blockBoundary,
+ !blockBoundary.is( 'br' ) &&
+ ( !enlargeable && this.checkStartOfBlock()
+ || enlargeable && blockBoundary.contains( enlargeable ) ) ?
+ CKEDITOR.POSITION_AFTER_START :
+ CKEDITOR.POSITION_AFTER_END );
+
+ // Enlarging the end boundary.
+ walkerRange = this.clone();
+ walkerRange.collapse();
+ walkerRange.setEndAt( body, CKEDITOR.POSITION_BEFORE_END );
+ walker = new CKEDITOR.dom.walker( walkerRange );
+
+ // tailBrGuard only used for on range end.
+ walker.guard = ( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS ) ?
+ tailBrGuard : boundaryGuard;
+ blockBoundary = null;
+ // End the range right before the block boundary node.
+
+ enlargeable = walker.lastForward();
+
+ // It's the body which stop the enlarging if no block boundary found.
+ blockBoundary = blockBoundary || body;
+
+ // Close the range either before the found block start (text]<p>...</p>) or at the block end (...text]</p>)
+ // by comparing the document position with 'enlargeable' node.
+ this.setEndAt(
+ blockBoundary,
+ ( !enlargeable && this.checkEndOfBlock()
+ || enlargeable && blockBoundary.contains( enlargeable ) ) ?
+ CKEDITOR.POSITION_BEFORE_END :
+ CKEDITOR.POSITION_BEFORE_START );
+ // We must include the <br> at the end of range if there's
+ // one and we're expanding list item contents
+ if ( tailBr )
+ this.setEndAfter( tailBr );
+ }
+ },
+
+ /**
+ * Descrease the range to make sure that boundaries
+ * always anchor beside text nodes or innermost element.
+ * @param {Number} mode ( CKEDITOR.SHRINK_ELEMENT | CKEDITOR.SHRINK_TEXT ) The shrinking mode.
+ * <dl>
+ * <dt>CKEDITOR.SHRINK_ELEMENT</dt>
+ * <dd>Shrink the range boundaries to the edge of the innermost element.</dd>
+ * <dt>CKEDITOR.SHRINK_TEXT</dt>
+ * <dd>Shrink the range boudaries to anchor by the side of enclosed text node, range remains if there's no text nodes on boundaries at all.</dd>
+ * </dl>
+ * @param {Boolean} selectContents Whether result range anchors at the inner OR outer boundary of the node.
+ */
+ shrink : function( mode, selectContents )
+ {
+ // Unable to shrink a collapsed range.
+ if ( !this.collapsed )
+ {
+ mode = mode || CKEDITOR.SHRINK_TEXT;
+
+ var walkerRange = this.clone();
+
+ var startContainer = this.startContainer,
+ endContainer = this.endContainer,
+ startOffset = this.startOffset,
+ endOffset = this.endOffset,
+ collapsed = this.collapsed;
+
+ // Whether the start/end boundary is moveable.
+ var moveStart = 1,
+ moveEnd = 1;
+
+ if ( startContainer && startContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ if ( !startOffset )
+ walkerRange.setStartBefore( startContainer );
+ else if ( startOffset >= startContainer.getLength( ) )
+ walkerRange.setStartAfter( startContainer );
+ else
+ {
+ // Enlarge the range properly to avoid walker making
+ // DOM changes caused by triming the text nodes later.
+ walkerRange.setStartBefore( startContainer );
+ moveStart = 0;
+ }
+ }
+
+ if ( endContainer && endContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ if ( !endOffset )
+ walkerRange.setEndBefore( endContainer );
+ else if ( endOffset >= endContainer.getLength( ) )
+ walkerRange.setEndAfter( endContainer );
+ else
+ {
+ walkerRange.setEndAfter( endContainer );
+ moveEnd = 0;
+ }
+ }
+
+ var walker = new CKEDITOR.dom.walker( walkerRange );
+
+ walker.evaluator = function( node )
+ {
+ return node.type == ( mode == CKEDITOR.SHRINK_ELEMENT ?
+ CKEDITOR.NODE_ELEMENT : CKEDITOR.NODE_TEXT );
+ };
+
+ var currentElement;
+ walker.guard = function( node, movingOut )
+ {
+ // Stop when we're shrink in element mode while encountering a text node.
+ if ( mode == CKEDITOR.SHRINK_ELEMENT && node.type == CKEDITOR.NODE_TEXT )
+ return false;
+
+ // Stop when we've already walked "through" an element.
+ if ( movingOut && node.equals( currentElement ) )
+ return false;
+
+ if ( !movingOut && node.type == CKEDITOR.NODE_ELEMENT )
+ currentElement = node;
+
+ return true;
+ };
+
+ if ( moveStart )
+ {
+ var textStart = walker[ mode == CKEDITOR.SHRINK_ELEMENT ? 'lastForward' : 'next']();
+ textStart && this.setStartAt( textStart, selectContents ? CKEDITOR.POSITION_AFTER_START : CKEDITOR.POSITION_BEFORE_START );
+ }
+
+ if ( moveEnd )
+ {
+ walker.reset();
+ var textEnd = walker[ mode == CKEDITOR.SHRINK_ELEMENT ? 'lastBackward' : 'previous']();
+ textEnd && this.setEndAt( textEnd, selectContents ? CKEDITOR.POSITION_BEFORE_END : CKEDITOR.POSITION_AFTER_END );
+ }
+
+ return !!( moveStart || moveEnd );
+ }
+ },
+
+ /**
+ * Inserts a node at the start of the range. The range will be expanded
+ * the contain the node.
+ */
+ insertNode : function( node )
+ {
+ this.optimizeBookmark();
+ this.trim( false, true );
+
+ var startContainer = this.startContainer;
+ var startOffset = this.startOffset;
+
+ var nextNode = startContainer.getChild( startOffset );
+
+ if ( nextNode )
+ node.insertBefore( nextNode );
+ else
+ startContainer.append( node );
+
+ // Check if we need to update the end boundary.
+ if ( node.getParent().equals( this.endContainer ) )
+ this.endOffset++;
+
+ // Expand the range to embrace the new node.
+ this.setStartBefore( node );
+ },
+
+ moveToPosition : function( node, position )
+ {
+ this.setStartAt( node, position );
+ this.collapse( true );
+ },
+
+ selectNodeContents : function( node )
+ {
+ this.setStart( node, 0 );
+ this.setEnd( node, node.type == CKEDITOR.NODE_TEXT ? node.getLength() : node.getChildCount() );
+ },
+
+ /**
+ * Sets the start position of a Range.
+ * @param {CKEDITOR.dom.node} startNode The node to start the range.
+ * @param {Number} startOffset An integer greater than or equal to zero
+ * representing the offset for the start of the range from the start
+ * of startNode.
+ */
+ setStart : function( startNode, startOffset )
+ {
+ // W3C requires a check for the new position. If it is after the end
+ // boundary, the range should be collapsed to the new start. It seams
+ // we will not need this check for our use of this class so we can
+ // ignore it for now.
+
+ // Fixing invalid range start inside dtd empty elements.
+ if( startNode.type == CKEDITOR.NODE_ELEMENT
+ && CKEDITOR.dtd.$empty[ startNode.getName() ] )
+ startNode = startNode.getParent(), startOffset = startNode.getIndex();
+
+ this.startContainer = startNode;
+ this.startOffset = startOffset;
+
+ if ( !this.endContainer )
+ {
+ this.endContainer = startNode;
+ this.endOffset = startOffset;
+ }
+
+ updateCollapsed( this );
+ },
+
+ /**
+ * Sets the end position of a Range.
+ * @param {CKEDITOR.dom.node} endNode The node to end the range.
+ * @param {Number} endOffset An integer greater than or equal to zero
+ * representing the offset for the end of the range from the start
+ * of endNode.
+ */
+ setEnd : function( endNode, endOffset )
+ {
+ // W3C requires a check for the new position. If it is before the start
+ // boundary, the range should be collapsed to the new end. It seams we
+ // will not need this check for our use of this class so we can ignore
+ // it for now.
+
+ // Fixing invalid range end inside dtd empty elements.
+ if( endNode.type == CKEDITOR.NODE_ELEMENT
+ && CKEDITOR.dtd.$empty[ endNode.getName() ] )
+ endNode = endNode.getParent(), endOffset = endNode.getIndex() + 1;
+
+ this.endContainer = endNode;
+ this.endOffset = endOffset;
+
+ if ( !this.startContainer )
+ {
+ this.startContainer = endNode;
+ this.startOffset = endOffset;
+ }
+
+ updateCollapsed( this );
+ },
+
+ setStartAfter : function( node )
+ {
+ this.setStart( node.getParent(), node.getIndex() + 1 );
+ },
+
+ setStartBefore : function( node )
+ {
+ this.setStart( node.getParent(), node.getIndex() );
+ },
+
+ setEndAfter : function( node )
+ {
+ this.setEnd( node.getParent(), node.getIndex() + 1 );
+ },
+
+ setEndBefore : function( node )
+ {
+ this.setEnd( node.getParent(), node.getIndex() );
+ },
+
+ setStartAt : function( node, position )
+ {
+ switch( position )
+ {
+ case CKEDITOR.POSITION_AFTER_START :
+ this.setStart( node, 0 );
+ break;
+
+ case CKEDITOR.POSITION_BEFORE_END :
+ if ( node.type == CKEDITOR.NODE_TEXT )
+ this.setStart( node, node.getLength() );
+ else
+ this.setStart( node, node.getChildCount() );
+ break;
+
+ case CKEDITOR.POSITION_BEFORE_START :
+ this.setStartBefore( node );
+ break;
+
+ case CKEDITOR.POSITION_AFTER_END :
+ this.setStartAfter( node );
+ }
+
+ updateCollapsed( this );
+ },
+
+ setEndAt : function( node, position )
+ {
+ switch( position )
+ {
+ case CKEDITOR.POSITION_AFTER_START :
+ this.setEnd( node, 0 );
+ break;
+
+ case CKEDITOR.POSITION_BEFORE_END :
+ if ( node.type == CKEDITOR.NODE_TEXT )
+ this.setEnd( node, node.getLength() );
+ else
+ this.setEnd( node, node.getChildCount() );
+ break;
+
+ case CKEDITOR.POSITION_BEFORE_START :
+ this.setEndBefore( node );
+ break;
+
+ case CKEDITOR.POSITION_AFTER_END :
+ this.setEndAfter( node );
+ }
+
+ updateCollapsed( this );
+ },
+
+ fixBlock : function( isStart, blockTag )
+ {
+ var bookmark = this.createBookmark(),
+ fixedBlock = this.document.createElement( blockTag );
+
+ this.collapse( isStart );
+
+ this.enlarge( CKEDITOR.ENLARGE_BLOCK_CONTENTS );
+
+ this.extractContents().appendTo( fixedBlock );
+ fixedBlock.trim();
+
+ if ( !CKEDITOR.env.ie )
+ fixedBlock.appendBogus();
+
+ this.insertNode( fixedBlock );
+
+ this.moveToBookmark( bookmark );
+
+ return fixedBlock;
+ },
+
+ splitBlock : function( blockTag )
+ {
+ var startPath = new CKEDITOR.dom.elementPath( this.startContainer ),
+ endPath = new CKEDITOR.dom.elementPath( this.endContainer );
+
+ var startBlockLimit = startPath.blockLimit,
+ endBlockLimit = endPath.blockLimit;
+
+ var startBlock = startPath.block,
+ endBlock = endPath.block;
+
+ var elementPath = null;
+ // Do nothing if the boundaries are in different block limits.
+ if ( !startBlockLimit.equals( endBlockLimit ) )
+ return null;
+
+ // Get or fix current blocks.
+ if ( blockTag != 'br' )
+ {
+ if ( !startBlock )
+ {
+ startBlock = this.fixBlock( true, blockTag );
+ endBlock = new CKEDITOR.dom.elementPath( this.endContainer ).block;
+ }
+
+ if ( !endBlock )
+ endBlock = this.fixBlock( false, blockTag );
+ }
+
+ // Get the range position.
+ var isStartOfBlock = startBlock && this.checkStartOfBlock(),
+ isEndOfBlock = endBlock && this.checkEndOfBlock();
+
+ // Delete the current contents.
+ // TODO: Why is 2.x doing CheckIsEmpty()?
+ this.deleteContents();
+
+ if ( startBlock && startBlock.equals( endBlock ) )
+ {
+ if ( isEndOfBlock )
+ {
+ elementPath = new CKEDITOR.dom.elementPath( this.startContainer );
+ this.moveToPosition( endBlock, CKEDITOR.POSITION_AFTER_END );
+ endBlock = null;
+ }
+ else if ( isStartOfBlock )
+ {
+ elementPath = new CKEDITOR.dom.elementPath( this.startContainer );
+ this.moveToPosition( startBlock, CKEDITOR.POSITION_BEFORE_START );
+ startBlock = null;
+ }
+ else
+ {
+ endBlock = this.splitElement( startBlock );
+
+ // In Gecko, the last child node must be a bogus <br>.
+ // Note: bogus <br> added under <ul> or <ol> would cause
+ // lists to be incorrectly rendered.
+ if ( !CKEDITOR.env.ie && !startBlock.is( 'ul', 'ol') )
+ startBlock.appendBogus() ;
+ }
+ }
+
+ return {
+ previousBlock : startBlock,
+ nextBlock : endBlock,
+ wasStartOfBlock : isStartOfBlock,
+ wasEndOfBlock : isEndOfBlock,
+ elementPath : elementPath
+ };
+ },
+
+ /**
+ * Branch the specified element from the collapsed range position and
+ * place the caret between the two result branches.
+ * Note: The range must be collapsed and been enclosed by this element.
+ * @param {CKEDITOR.dom.element} element
+ * @return {CKEDITOR.dom.element} Root element of the new branch after the split.
+ */
+ splitElement : function( toSplit )
+ {
+ if ( !this.collapsed )
+ return null;
+
+ // Extract the contents of the block from the selection point to the end
+ // of its contents.
+ this.setEndAt( toSplit, CKEDITOR.POSITION_BEFORE_END );
+ var documentFragment = this.extractContents();
+
+ // Duplicate the element after it.
+ var clone = toSplit.clone( false );
+
+ // Place the extracted contents into the duplicated element.
+ documentFragment.appendTo( clone );
+ clone.insertAfter( toSplit );
+ this.moveToPosition( toSplit, CKEDITOR.POSITION_AFTER_END );
+ return clone;
+ },
+
+ /**
+ * Check whether a range boundary is at the inner boundary of a given
+ * element.
+ * @param {CKEDITOR.dom.element} element The target element to check.
+ * @param {Number} checkType The boundary to check for both the range
+ * and the element. It can be CKEDITOR.START or CKEDITOR.END.
+ * @returns {Boolean} "true" if the range boundary is at the inner
+ * boundary of the element.
+ */
+ checkBoundaryOfElement : function( element, checkType )
+ {
+ var checkStart = ( checkType == CKEDITOR.START );
+
+ // Create a copy of this range, so we can manipulate it for our checks.
+ var walkerRange = this.clone();
+
+ // Collapse the range at the proper size.
+ walkerRange.collapse( checkStart );
+
+ // Expand the range to element boundary.
+ walkerRange[ checkStart ? 'setStartAt' : 'setEndAt' ]
+ ( element, checkStart ? CKEDITOR.POSITION_AFTER_START : CKEDITOR.POSITION_BEFORE_END );
+
+ // Create the walker, which will check if we have anything useful
+ // in the range.
+ var walker = new CKEDITOR.dom.walker( walkerRange );
+ walker.evaluator = elementBoundaryEval;
+
+ return walker[ checkStart ? 'checkBackward' : 'checkForward' ]();
+ },
+
+ // Calls to this function may produce changes to the DOM. The range may
+ // be updated to reflect such changes.
+ checkStartOfBlock : function()
+ {
+ var startContainer = this.startContainer,
+ startOffset = this.startOffset;
+
+ // If the starting node is a text node, and non-empty before the offset,
+ // then we're surely not at the start of block.
+ if ( startOffset && startContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ var textBefore = CKEDITOR.tools.ltrim( startContainer.substring( 0, startOffset ) );
+ if ( textBefore.length )
+ return false;
+ }
+
+ // Antecipate the trim() call here, so the walker will not make
+ // changes to the DOM, which would not get reflected into this
+ // range otherwise.
+ this.trim();
+
+ // We need to grab the block element holding the start boundary, so
+ // let's use an element path for it.
+ var path = new CKEDITOR.dom.elementPath( this.startContainer );
+
+ // Creates a range starting at the block start until the range start.
+ var walkerRange = this.clone();
+ walkerRange.collapse( true );
+ walkerRange.setStartAt( path.block || path.blockLimit, CKEDITOR.POSITION_AFTER_START );
+
+ var walker = new CKEDITOR.dom.walker( walkerRange );
+ walker.evaluator = getCheckStartEndBlockEvalFunction( true );
+
+ return walker.checkBackward();
+ },
+
+ checkEndOfBlock : function()
+ {
+ var endContainer = this.endContainer,
+ endOffset = this.endOffset;
+
+ // If the ending node is a text node, and non-empty after the offset,
+ // then we're surely not at the end of block.
+ if ( endContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ var textAfter = CKEDITOR.tools.rtrim( endContainer.substring( endOffset ) );
+ if ( textAfter.length )
+ return false;
+ }
+
+ // Antecipate the trim() call here, so the walker will not make
+ // changes to the DOM, which would not get reflected into this
+ // range otherwise.
+ this.trim();
+
+ // We need to grab the block element holding the start boundary, so
+ // let's use an element path for it.
+ var path = new CKEDITOR.dom.elementPath( this.endContainer );
+
+ // Creates a range starting at the block start until the range start.
+ var walkerRange = this.clone();
+ walkerRange.collapse( false );
+ walkerRange.setEndAt( path.block || path.blockLimit, CKEDITOR.POSITION_BEFORE_END );
+
+ var walker = new CKEDITOR.dom.walker( walkerRange );
+ walker.evaluator = getCheckStartEndBlockEvalFunction( false );
+
+ return walker.checkForward();
+ },
+
+ /**
+ * Moves the range boundaries to the first/end editing point inside an
+ * element. For example, in an element tree like
+ * "<p><b><i></i></b> Text</p>", the start editing point is
+ * "<p><b><i>^</i></b> Text</p>" (inside <i>).
+ * @param {CKEDITOR.dom.element} el The element into which look for the
+ * editing spot.
+ * @param {Boolean} isMoveToEnd Whether move to the end editable position.
+ */
+ moveToElementEditablePosition : function( el, isMoveToEnd )
+ {
+ var isEditable;
+
+ // Empty elements are rejected.
+ if ( CKEDITOR.dtd.$empty[ el.getName() ] )
+ return false;
+
+ while ( el && el.type == CKEDITOR.NODE_ELEMENT )
+ {
+ isEditable = el.isEditable();
+
+ // If an editable element is found, move inside it.
+ if ( isEditable )
+ this.moveToPosition( el, isMoveToEnd ?
+ CKEDITOR.POSITION_BEFORE_END :
+ CKEDITOR.POSITION_AFTER_START );
+ // Stop immediately if we've found a non editable inline element (e.g <img>).
+ else if ( CKEDITOR.dtd.$inline[ el.getName() ] )
+ {
+ this.moveToPosition( el, isMoveToEnd ?
+ CKEDITOR.POSITION_AFTER_END :
+ CKEDITOR.POSITION_BEFORE_START );
+ return true;
+ }
+
+ // Non-editable non-inline elements are to be bypassed, getting the next one.
+ if ( CKEDITOR.dtd.$empty[ el.getName() ] )
+ el = el[ isMoveToEnd ? 'getPrevious' : 'getNext' ]( nonWhitespaceOrBookmarkEval );
+ else
+ el = el[ isMoveToEnd ? 'getLast' : 'getFirst' ]( nonWhitespaceOrBookmarkEval );
+
+ // Stop immediately if we've found a text node.
+ if ( el && el.type == CKEDITOR.NODE_TEXT )
+ {
+ this.moveToPosition( el, isMoveToEnd ?
+ CKEDITOR.POSITION_AFTER_END :
+ CKEDITOR.POSITION_BEFORE_START );
+ return true;
+ }
+ }
+
+ return isEditable;
+ },
+
+ /**
+ *@see {CKEDITOR.dom.range.moveToElementEditablePosition}
+ */
+ moveToElementEditStart : function( target )
+ {
+ return this.moveToElementEditablePosition( target );
+ },
+
+ /**
+ *@see {CKEDITOR.dom.range.moveToElementEditablePosition}
+ */
+ moveToElementEditEnd : function( target )
+ {
+ return this.moveToElementEditablePosition( target, true );
+ },
+
+ /**
+ * Get the single node enclosed within the range if there's one.
+ */
+ getEnclosedNode : function()
+ {
+ var walkerRange = this.clone();
+
+ // Optimize and analyze the range to avoid DOM destructive nature of walker. (#5780)
+ walkerRange.optimize();
+ if ( walkerRange.startContainer.type != CKEDITOR.NODE_ELEMENT
+ || walkerRange.endContainer.type != CKEDITOR.NODE_ELEMENT )
+ return null;
+
+ var walker = new CKEDITOR.dom.walker( walkerRange ),
+ isNotBookmarks = CKEDITOR.dom.walker.bookmark( true ),
+ isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
+ evaluator = function( node )
+ {
+ return isNotWhitespaces( node ) && isNotBookmarks( node );
+ };
+ walkerRange.evaluator = evaluator;
+ var node = walker.next();
+ walker.reset();
+ return node && node.equals( walker.previous() ) ? node : null;
+ },
+
+ getTouchedStartNode : function()
+ {
+ var container = this.startContainer ;
+
+ if ( this.collapsed || container.type != CKEDITOR.NODE_ELEMENT )
+ return container ;
+
+ return container.getChild( this.startOffset ) || container ;
+ },
+
+ getTouchedEndNode : function()
+ {
+ var container = this.endContainer ;
+
+ if ( this.collapsed || container.type != CKEDITOR.NODE_ELEMENT )
+ return container ;
+
+ return container.getChild( this.endOffset - 1 ) || container ;
+ }
+ };
+})();
+
+CKEDITOR.POSITION_AFTER_START = 1; // <element>^contents</element> "^text"
+CKEDITOR.POSITION_BEFORE_END = 2; // <element>contents^</element> "text^"
+CKEDITOR.POSITION_BEFORE_START = 3; // ^<element>contents</element> ^"text"
+CKEDITOR.POSITION_AFTER_END = 4; // <element>contents</element>^ "text"
+
+CKEDITOR.ENLARGE_ELEMENT = 1;
+CKEDITOR.ENLARGE_BLOCK_CONTENTS = 2;
+CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS = 3;
+
+/**
+ * Check boundary types.
+ * @see CKEDITOR.dom.range.prototype.checkBoundaryOfElement
+ */
+CKEDITOR.START = 1;
+CKEDITOR.END = 2;
+CKEDITOR.STARTEND = 3;
+
+/**
+ * Shrink range types.
+ * @see CKEDITOR.dom.range.prototype.shrink
+ */
+CKEDITOR.SHRINK_ELEMENT = 1;
+CKEDITOR.SHRINK_TEXT = 2;
diff --git a/devel/third-party/ckeditor/core/dom/rangelist.js b/devel/third-party/ckeditor/core/dom/rangelist.js
new file mode 100644
index 0000000..9c12e48
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/rangelist.js
@@ -0,0 +1,163 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ /**
+ * Represents a list os CKEDITOR.dom.range objects, which can be easily
+ * iterated sequentially.
+ * @constructor
+ * @param {CKEDITOR.dom.range|Array} [ranges] The ranges contained on this list.
+ * Note that, if an array of ranges is specified, the range sequence
+ * should match its DOM order. This class will not help to sort them.
+ */
+ CKEDITOR.dom.rangeList = function( ranges )
+ {
+ if ( ranges instanceof CKEDITOR.dom.rangeList )
+ return ranges;
+
+ if ( !ranges )
+ ranges = [];
+ else if ( ranges instanceof CKEDITOR.dom.range )
+ ranges = [ ranges ];
+
+ return CKEDITOR.tools.extend( ranges, mixins );
+ };
+
+ var mixins =
+ /** @lends CKEDITOR.dom.rangeList.prototype */
+ {
+ /**
+ * Creates an instance of the rangeList iterator, it should be used
+ * only when the ranges processing could be DOM intrusive, which
+ * means it may pollute and break other ranges in this list.
+ * Otherwise, it's enough to just iterate over this array in a for loop.
+ * @returns {CKEDITOR.dom.rangeListIterator}
+ */
+ createIterator : function()
+ {
+ var rangeList = this,
+ bookmarks = [],
+ current;
+
+ /**
+ * @lends CKEDITOR.dom.rangeListIterator.prototype
+ */
+ return {
+
+ /**
+ * Retrieves the next range in the list.
+ */
+ getNextRange : function()
+ {
+ current = current == undefined ? 0 : current + 1;
+
+ var range = rangeList[ current ];
+
+ // Multiple ranges might be mangled by each other.
+ if ( range && rangeList.length > 1 )
+ {
+ // Bookmarking all other ranges on the first iteration,
+ // the range correctness after it doesn't matter since we'll
+ // restore them before the next iteration.
+ if ( !current )
+ {
+ // Make sure bookmark correctness by reverse processing.
+ for ( var i = rangeList.length - 1; i > 0; i-- )
+ bookmarks.unshift( rangeList[ i ].createBookmark( true ) );
+ }
+ else
+ range.moveToBookmark( bookmarks.shift() );
+ }
+
+ return range;
+ }
+ };
+ },
+
+ createBookmarks : function( serializable )
+ {
+ var retval = [], bookmark;
+ for ( var i = 0; i < this.length ; i++ )
+ {
+ retval.push( bookmark = this[ i ].createBookmark( serializable, true) );
+
+ // Updating the container & offset values for ranges
+ // that have been touched.
+ for ( var j = i + 1; j < this.length; j++ )
+ {
+ this[ j ] = updateDirtyRange( bookmark, this[ j ] );
+ this[ j ] = updateDirtyRange( bookmark, this[ j ], true );
+ }
+ }
+ return retval;
+ },
+
+ createBookmarks2 : function( normalized )
+ {
+ var bookmarks = [];
+
+ for ( var i = 0 ; i < this.length ; i++ )
+ bookmarks.push( this[ i ].createBookmark2( normalized ) );
+
+ return bookmarks;
+ },
+
+ /**
+ * Move each range in the list to the position specified by a list of bookmarks.
+ * @param {Array} bookmarks The list of bookmarks, each one matching a range in the list.
+ */
+ moveToBookmarks : function( bookmarks )
+ {
+ for ( var i = 0 ; i < this.length ; i++ )
+ this[ i ].moveToBookmark( bookmarks[ i ] );
+ }
+ };
+
+ // Update the specified range which has been mangled by previous insertion of
+ // range bookmark nodes.(#3256)
+ function updateDirtyRange( bookmark, dirtyRange, checkEnd )
+ {
+ var serializable = bookmark.serializable,
+ container = dirtyRange[ checkEnd ? 'endContainer' : 'startContainer' ],
+ offset = checkEnd ? 'endOffset' : 'startOffset';
+
+ var bookmarkStart = serializable ?
+ dirtyRange.document.getById( bookmark.startNode )
+ : bookmark.startNode;
+
+ var bookmarkEnd = serializable ?
+ dirtyRange.document.getById( bookmark.endNode )
+ : bookmark.endNode;
+
+ if ( container.equals( bookmarkStart.getPrevious() ) )
+ {
+ dirtyRange.startOffset = dirtyRange.startOffset
+ - container.getLength()
+ - bookmarkEnd.getPrevious().getLength();
+ container = bookmarkEnd.getNext();
+ }
+ else if ( container.equals( bookmarkEnd.getPrevious() ) )
+ {
+ dirtyRange.startOffset = dirtyRange.startOffset - container.getLength();
+ container = bookmarkEnd.getNext();
+ }
+
+ container.equals( bookmarkStart.getParent() ) && dirtyRange[ offset ]++;
+ container.equals( bookmarkEnd.getParent() ) && dirtyRange[ offset ]++;
+
+ // Update and return this range.
+ dirtyRange[ checkEnd ? 'endContainer' : 'startContainer' ] = container;
+ return dirtyRange;
+ }
+})();
+
+/**
+ * (Virtual Class) Do not call this constructor. This class is not really part
+ * of the API. It just describes the return type of {@link CKEDITOR.dom.rangeList#createIterator}.
+ * @name CKEDITOR.dom.rangeListIterator
+ * @constructor
+ * @example
+ */
diff --git a/devel/third-party/ckeditor/core/dom/text.js b/devel/third-party/ckeditor/core/dom/text.js
new file mode 100644
index 0000000..a1eb690
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/text.js
@@ -0,0 +1,123 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.text} class, which represents
+ * a DOM text node.
+ */
+
+/**
+ * Represents a DOM text node.
+ * @constructor
+ * @augments CKEDITOR.dom.node
+ * @param {Object|String} text A native DOM text node or a string containing
+ * the text to use to create a new text node.
+ * @param {CKEDITOR.dom.document} [ownerDocument] The document that will contain
+ * the node in case of new node creation. Defaults to the current document.
+ * @example
+ * var nativeNode = document.createTextNode( 'Example' );
+ * var text = CKEDITOR.dom.text( nativeNode );
+ * @example
+ * var text = CKEDITOR.dom.text( 'Example' );
+ */
+CKEDITOR.dom.text = function( text, ownerDocument )
+{
+ if ( typeof text == 'string' )
+ text = ( ownerDocument ? ownerDocument.$ : document ).createTextNode( text );
+
+ // Theoretically, we should call the base constructor here
+ // (not CKEDITOR.dom.node though). But, IE doesn't support expando
+ // properties on text node, so the features provided by domObject will not
+ // work for text nodes (which is not a big issue for us).
+ //
+ // CKEDITOR.dom.domObject.call( this, element );
+
+ /**
+ * The native DOM text node represented by this class instance.
+ * @type Object
+ * @example
+ * var element = new CKEDITOR.dom.text( 'Example' );
+ * alert( element.$.nodeType ); // "3"
+ */
+ this.$ = text;
+};
+
+CKEDITOR.dom.text.prototype = new CKEDITOR.dom.node();
+
+CKEDITOR.tools.extend( CKEDITOR.dom.text.prototype,
+ /** @lends CKEDITOR.dom.text.prototype */
+ {
+ /**
+ * The node type. This is a constant value set to
+ * {@link CKEDITOR.NODE_TEXT}.
+ * @type Number
+ * @example
+ */
+ type : CKEDITOR.NODE_TEXT,
+
+ getLength : function()
+ {
+ return this.$.nodeValue.length;
+ },
+
+ getText : function()
+ {
+ return this.$.nodeValue;
+ },
+
+ /**
+ * Breaks this text node into two nodes at the specified offset,
+ * keeping both in the tree as siblings. This node then only contains
+ * all the content up to the offset point. A new text node, which is
+ * inserted as the next sibling of this node, contains all the content
+ * at and after the offset point. When the offset is equal to the
+ * length of this node, the new node has no data.
+ * @param {Number} The position at which to split, starting from zero.
+ * @returns {CKEDITOR.dom.text} The new text node.
+ */
+ split : function( offset )
+ {
+ // If the offset is after the last char, IE creates the text node
+ // on split, but don't include it into the DOM. So, we have to do
+ // that manually here.
+ if ( CKEDITOR.env.ie && offset == this.getLength() )
+ {
+ var next = this.getDocument().createText( '' );
+ next.insertAfter( this );
+ return next;
+ }
+
+ var doc = this.getDocument();
+ var retval = new CKEDITOR.dom.text( this.$.splitText( offset ), doc );
+
+ // IE BUG: IE8 does not update the childNodes array in DOM after splitText(),
+ // we need to make some DOM changes to make it update. (#3436)
+ if ( CKEDITOR.env.ie8 )
+ {
+ var workaround = new CKEDITOR.dom.text( '', doc );
+ workaround.insertAfter( retval );
+ workaround.remove();
+ }
+
+ return retval;
+ },
+
+ /**
+ * Extracts characters from indexA up to but not including indexB.
+ * @param {Number} indexA An integer between 0 and one less than the
+ * length of the text.
+ * @param {Number} [indexB] An integer between 0 and the length of the
+ * string. If omitted, extracts characters to the end of the text.
+ */
+ substring : function( indexA, indexB )
+ {
+ // We need the following check due to a Firefox bug
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=458886
+ if ( typeof indexB != 'number' )
+ return this.$.nodeValue.substr( indexA );
+ else
+ return this.$.nodeValue.substring( indexA, indexB );
+ }
+ });
diff --git a/devel/third-party/ckeditor/core/dom/walker.js b/devel/third-party/ckeditor/core/dom/walker.js
new file mode 100644
index 0000000..1bf0eab
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/walker.js
@@ -0,0 +1,445 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ // This function is to be called under a "walker" instance scope.
+ function iterate( rtl, breakOnFalse )
+ {
+ // Return null if we have reached the end.
+ if ( this._.end )
+ return null;
+
+ var node,
+ range = this.range,
+ guard,
+ userGuard = this.guard,
+ type = this.type,
+ getSourceNodeFn = ( rtl ? 'getPreviousSourceNode' : 'getNextSourceNode' );
+
+ // This is the first call. Initialize it.
+ if ( !this._.start )
+ {
+ this._.start = 1;
+
+ // Trim text nodes and optmize the range boundaries. DOM changes
+ // may happen at this point.
+ range.trim();
+
+ // A collapsed range must return null at first call.
+ if ( range.collapsed )
+ {
+ this.end();
+ return null;
+ }
+ }
+
+ // Create the LTR guard function, if necessary.
+ if ( !rtl && !this._.guardLTR )
+ {
+ // Gets the node that stops the walker when going LTR.
+ var limitLTR = range.endContainer,
+ blockerLTR = limitLTR.getChild( range.endOffset );
+
+ this._.guardLTR = function( node, movingOut )
+ {
+ return ( ( !movingOut || !limitLTR.equals( node ) )
+ && ( !blockerLTR || !node.equals( blockerLTR ) )
+ && ( node.type != CKEDITOR.NODE_ELEMENT || !movingOut || node.getName() != 'body' ) );
+ };
+ }
+
+ // Create the RTL guard function, if necessary.
+ if ( rtl && !this._.guardRTL )
+ {
+ // Gets the node that stops the walker when going LTR.
+ var limitRTL = range.startContainer,
+ blockerRTL = ( range.startOffset > 0 ) && limitRTL.getChild( range.startOffset - 1 );
+
+ this._.guardRTL = function( node, movingOut )
+ {
+ return ( ( !movingOut || !limitRTL.equals( node ) )
+ && ( !blockerRTL || !node.equals( blockerRTL ) )
+ && ( node.type != CKEDITOR.NODE_ELEMENT || !movingOut || node.getName() != 'body' ) );
+ };
+ }
+
+ // Define which guard function to use.
+ var stopGuard = rtl ? this._.guardRTL : this._.guardLTR;
+
+ // Make the user defined guard function participate in the process,
+ // otherwise simply use the boundary guard.
+ if ( userGuard )
+ {
+ guard = function( node, movingOut )
+ {
+ if ( stopGuard( node, movingOut ) === false )
+ return false;
+
+ return userGuard( node, movingOut );
+ };
+ }
+ else
+ guard = stopGuard;
+
+ if ( this.current )
+ node = this.current[ getSourceNodeFn ]( false, type, guard );
+ else
+ {
+ // Get the first node to be returned.
+
+ if ( rtl )
+ {
+ node = range.endContainer;
+
+ if ( range.endOffset > 0 )
+ {
+ node = node.getChild( range.endOffset - 1 );
+ if ( guard( node ) === false )
+ node = null;
+ }
+ else
+ node = ( guard ( node, true ) === false ) ?
+ null : node.getPreviousSourceNode( true, type, guard );
+ }
+ else
+ {
+ node = range.startContainer;
+ node = node.getChild( range.startOffset );
+
+ if ( node )
+ {
+ if ( guard( node ) === false )
+ node = null;
+ }
+ else
+ node = ( guard ( range.startContainer, true ) === false ) ?
+ null : range.startContainer.getNextSourceNode( true, type, guard ) ;
+ }
+ }
+
+ while ( node && !this._.end )
+ {
+ this.current = node;
+
+ if ( !this.evaluator || this.evaluator( node ) !== false )
+ {
+ if ( !breakOnFalse )
+ return node;
+ }
+ else if ( breakOnFalse && this.evaluator )
+ return false;
+
+ node = node[ getSourceNodeFn ]( false, type, guard );
+ }
+
+ this.end();
+ return this.current = null;
+ }
+
+ function iterateToLast( rtl )
+ {
+ var node, last = null;
+
+ while ( ( node = iterate.call( this, rtl ) ) )
+ last = node;
+
+ return last;
+ }
+
+ CKEDITOR.dom.walker = CKEDITOR.tools.createClass(
+ {
+ /**
+ * Utility class to "walk" the DOM inside a range boundaries. If
+ * necessary, partially included nodes (text nodes) are broken to
+ * reflect the boundaries limits, so DOM and range changes may happen.
+ * Outside changes to the range may break the walker.
+ *
+ * The walker may return nodes that are not totaly included into the
+ * range boundaires. Let's take the following range representation,
+ * where the square brackets indicate the boundaries:
+ *
+ * [<p>Some <b>sample] text</b>
+ *
+ * While walking forward into the above range, the following nodes are
+ * returned: <p>, "Some ", <b> and "sample". Going
+ * backwards instead we have: "sample" and "Some ". So note that the
+ * walker always returns nodes when "entering" them, but not when
+ * "leaving" them. The guard function is instead called both when
+ * entering and leaving nodes.
+ *
+ * @constructor
+ * @param {CKEDITOR.dom.range} range The range within which walk.
+ */
+ $ : function( range )
+ {
+ this.range = range;
+
+ /**
+ * A function executed for every matched node, to check whether
+ * it's to be considered into the walk or not. If not provided, all
+ * matched nodes are considered good.
+ * If the function returns "false" the node is ignored.
+ * @name CKEDITOR.dom.walker.prototype.evaluator
+ * @property
+ * @type Function
+ */
+ // this.evaluator = null;
+
+ /**
+ * A function executed for every node the walk pass by to check
+ * whether the walk is to be finished. It's called when both
+ * entering and exiting nodes, as well as for the matched nodes.
+ * If this function returns "false", the walking ends and no more
+ * nodes are evaluated.
+ * @name CKEDITOR.dom.walker.prototype.guard
+ * @property
+ * @type Function
+ */
+ // this.guard = null;
+
+ /** @private */
+ this._ = {};
+ },
+
+// statics :
+// {
+// /* Creates a CKEDITOR.dom.walker instance to walk inside DOM boundaries set by nodes.
+// * @param {CKEDITOR.dom.node} startNode The node from wich the walk
+// * will start.
+// * @param {CKEDITOR.dom.node} [endNode] The last node to be considered
+// * in the walk. No more nodes are retrieved after touching or
+// * passing it. If not provided, the walker stops at the
+// * <body> closing boundary.
+// * @returns {CKEDITOR.dom.walker} A DOM walker for the nodes between the
+// * provided nodes.
+// */
+// createOnNodes : function( startNode, endNode, startInclusive, endInclusive )
+// {
+// var range = new CKEDITOR.dom.range();
+// if ( startNode )
+// range.setStartAt( startNode, startInclusive ? CKEDITOR.POSITION_BEFORE_START : CKEDITOR.POSITION_AFTER_END ) ;
+// else
+// range.setStartAt( startNode.getDocument().getBody(), CKEDITOR.POSITION_AFTER_START ) ;
+//
+// if ( endNode )
+// range.setEndAt( endNode, endInclusive ? CKEDITOR.POSITION_AFTER_END : CKEDITOR.POSITION_BEFORE_START ) ;
+// else
+// range.setEndAt( startNode.getDocument().getBody(), CKEDITOR.POSITION_BEFORE_END ) ;
+//
+// return new CKEDITOR.dom.walker( range );
+// }
+// },
+//
+ proto :
+ {
+ /**
+ * Stop walking. No more nodes are retrieved if this function gets
+ * called.
+ */
+ end : function()
+ {
+ this._.end = 1;
+ },
+
+ /**
+ * Retrieves the next node (at right).
+ * @returns {CKEDITOR.dom.node} The next node or null if no more
+ * nodes are available.
+ */
+ next : function()
+ {
+ return iterate.call( this );
+ },
+
+ /**
+ * Retrieves the previous node (at left).
+ * @returns {CKEDITOR.dom.node} The previous node or null if no more
+ * nodes are available.
+ */
+ previous : function()
+ {
+ return iterate.call( this, true );
+ },
+
+ /**
+ * Check all nodes at right, executing the evaluation fuction.
+ * @returns {Boolean} "false" if the evaluator function returned
+ * "false" for any of the matched nodes. Otherwise "true".
+ */
+ checkForward : function()
+ {
+ return iterate.call( this, false, true ) !== false;
+ },
+
+ /**
+ * Check all nodes at left, executing the evaluation fuction.
+ * @returns {Boolean} "false" if the evaluator function returned
+ * "false" for any of the matched nodes. Otherwise "true".
+ */
+ checkBackward : function()
+ {
+ return iterate.call( this, true, true ) !== false;
+ },
+
+ /**
+ * Executes a full walk forward (to the right), until no more nodes
+ * are available, returning the last valid node.
+ * @returns {CKEDITOR.dom.node} The last node at the right or null
+ * if no valid nodes are available.
+ */
+ lastForward : function()
+ {
+ return iterateToLast.call( this );
+ },
+
+ /**
+ * Executes a full walk backwards (to the left), until no more nodes
+ * are available, returning the last valid node.
+ * @returns {CKEDITOR.dom.node} The last node at the left or null
+ * if no valid nodes are available.
+ */
+ lastBackward : function()
+ {
+ return iterateToLast.call( this, true );
+ },
+
+ reset : function()
+ {
+ delete this.current;
+ this._ = {};
+ }
+
+ }
+ });
+
+ /*
+ * Anything whose display computed style is block, list-item, table,
+ * table-row-group, table-header-group, table-footer-group, table-row,
+ * table-column-group, table-column, table-cell, table-caption, or whose node
+ * name is hr, br (when enterMode is br only) is a block boundary.
+ */
+ var blockBoundaryDisplayMatch =
+ {
+ block : 1,
+ 'list-item' : 1,
+ table : 1,
+ 'table-row-group' : 1,
+ 'table-header-group' : 1,
+ 'table-footer-group' : 1,
+ 'table-row' : 1,
+ 'table-column-group' : 1,
+ 'table-column' : 1,
+ 'table-cell' : 1,
+ 'table-caption' : 1
+ },
+ blockBoundaryNodeNameMatch = { hr : 1 };
+
+ CKEDITOR.dom.element.prototype.isBlockBoundary = function( customNodeNames )
+ {
+ var nodeNameMatches = CKEDITOR.tools.extend( {},
+ blockBoundaryNodeNameMatch, customNodeNames || {} );
+
+ return blockBoundaryDisplayMatch[ this.getComputedStyle( 'display' ) ] ||
+ nodeNameMatches[ this.getName() ];
+ };
+
+ CKEDITOR.dom.walker.blockBoundary = function( customNodeNames )
+ {
+ return function( node , type )
+ {
+ return ! ( node.type == CKEDITOR.NODE_ELEMENT
+ && node.isBlockBoundary( customNodeNames ) );
+ };
+ };
+
+ CKEDITOR.dom.walker.listItemBoundary = function()
+ {
+ return this.blockBoundary( { br : 1 } );
+ };
+
+ /**
+ * Whether the to-be-evaluated node is a bookmark node OR bookmark node
+ * inner contents.
+ * @param {Boolean} contentOnly Whether only test againt the text content of
+ * bookmark node instead of the element itself(default).
+ * @param {Boolean} isReject Whether should return 'false' for the bookmark
+ * node instead of 'true'(default).
+ */
+ CKEDITOR.dom.walker.bookmark = function( contentOnly, isReject )
+ {
+ function isBookmarkNode( node )
+ {
+ return ( node && node.getName
+ && node.getName() == 'span'
+ && node.hasAttribute('_cke_bookmark') );
+ }
+
+ return function( node )
+ {
+ var isBookmark, parent;
+ // Is bookmark inner text node?
+ isBookmark = ( node && !node.getName && ( parent = node.getParent() )
+ && isBookmarkNode( parent ) );
+ // Is bookmark node?
+ isBookmark = contentOnly ? isBookmark : isBookmark || isBookmarkNode( node );
+ return isReject ^ isBookmark;
+ };
+ };
+
+ /**
+ * Whether the node is a text node containing only whitespaces characters.
+ * @param isReject
+ */
+ CKEDITOR.dom.walker.whitespaces = function( isReject )
+ {
+ return function( node )
+ {
+ var isWhitespace = node && ( node.type == CKEDITOR.NODE_TEXT )
+ && !CKEDITOR.tools.trim( node.getText() );
+ return isReject ^ isWhitespace;
+ };
+ };
+
+ /**
+ * Whether the node is invisible in wysiwyg mode.
+ * @param isReject
+ */
+ CKEDITOR.dom.walker.invisible = function( isReject )
+ {
+ var whitespace = CKEDITOR.dom.walker.whitespaces();
+ return function( node )
+ {
+ // Nodes that take no spaces in wysiwyg:
+ // 1. White-spaces but not including NBSP;
+ // 2. Empty inline elements, e.g. <b></b> we're checking here
+ // 'offsetHeight' instead of 'offsetWidth' for properly excluding
+ // all sorts of empty paragraph, e.g. <br />.
+ var isInvisible = whitespace( node ) || node.is && !node.$.offsetHeight;
+ return isReject ^ isInvisible;
+ };
+ };
+
+ var tailNbspRegex = /^[\t\r\n ]*(?: |\xa0)$/,
+ isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
+ isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true ),
+ fillerEvaluator = function( element )
+ {
+ return isNotBookmark( element ) && isNotWhitespaces( element );
+ };
+
+ // Check if there's a filler node at the end of an element, and return it.
+ CKEDITOR.dom.element.prototype.getBogus = function ()
+ {
+ var tail = this.getLast( fillerEvaluator );
+ if ( tail && ( !CKEDITOR.env.ie ? tail.is && tail.is( 'br' )
+ : tail.getText && tailNbspRegex.test( tail.getText() ) ) )
+ {
+ return tail;
+ }
+ return false;
+ };
+
+})();
diff --git a/devel/third-party/ckeditor/core/dom/window.js b/devel/third-party/ckeditor/core/dom/window.js
new file mode 100644
index 0000000..01e2d58
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dom/window.js
@@ -0,0 +1,96 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dom.document} class, which
+ * represents a DOM document.
+ */
+
+/**
+ * Represents a DOM window.
+ * @constructor
+ * @augments CKEDITOR.dom.domObject
+ * @param {Object} domWindow A native DOM window.
+ * @example
+ * var document = new CKEDITOR.dom.window( window );
+ */
+CKEDITOR.dom.window = function( domWindow )
+{
+ CKEDITOR.dom.domObject.call( this, domWindow );
+};
+
+CKEDITOR.dom.window.prototype = new CKEDITOR.dom.domObject();
+
+CKEDITOR.tools.extend( CKEDITOR.dom.window.prototype,
+ /** @lends CKEDITOR.dom.window.prototype */
+ {
+ /**
+ * Moves the selection focus to this window.
+ * @function
+ * @example
+ * var win = new CKEDITOR.dom.window( window );
+ * <b>win.focus()</b>;
+ */
+ focus : function()
+ {
+ // Webkit is sometimes failed to focus iframe, blur it first(#3835).
+ if ( CKEDITOR.env.webkit && this.$.parent )
+ this.$.parent.focus();
+ this.$.focus();
+ },
+
+ /**
+ * Gets the width and height of this window's viewable area.
+ * @function
+ * @returns {Object} An object with the "width" and "height"
+ * properties containing the size.
+ * @example
+ * var win = new CKEDITOR.dom.window( window );
+ * var size = <b>win.getViewPaneSize()</b>;
+ * alert( size.width );
+ * alert( size.height );
+ */
+ getViewPaneSize : function()
+ {
+ var doc = this.$.document,
+ stdMode = doc.compatMode == 'CSS1Compat';
+ return {
+ width : ( stdMode ? doc.documentElement.clientWidth : doc.body.clientWidth ) || 0,
+ height : ( stdMode ? doc.documentElement.clientHeight : doc.body.clientHeight ) || 0
+ };
+ },
+
+ /**
+ * Gets the current position of the window's scroll.
+ * @function
+ * @returns {Object} An object with the "x" and "y" properties
+ * containing the scroll position.
+ * @example
+ * var win = new CKEDITOR.dom.window( window );
+ * var pos = <b>win.getScrollPosition()</b>;
+ * alert( pos.x );
+ * alert( pos.y );
+ */
+ getScrollPosition : function()
+ {
+ var $ = this.$;
+
+ if ( 'pageXOffset' in $ )
+ {
+ return {
+ x : $.pageXOffset || 0,
+ y : $.pageYOffset || 0
+ };
+ }
+ else
+ {
+ var doc = $.document;
+ return {
+ x : doc.documentElement.scrollLeft || doc.body.scrollLeft || 0,
+ y : doc.documentElement.scrollTop || doc.body.scrollTop || 0
+ };
+ }
+ }
+ });
diff --git a/devel/third-party/ckeditor/core/dtd.js b/devel/third-party/ckeditor/core/dtd.js
new file mode 100644
index 0000000..d5af5bf
--- /dev/null
+++ b/devel/third-party/ckeditor/core/dtd.js
@@ -0,0 +1,233 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.dtd} object, which holds the DTD
+ * mapping for XHTML 1.0 Transitional. This file was automatically
+ * generated from the file: xhtml1-transitional.dtd.
+ */
+
+/**
+ * Holds and object representation of the HTML DTD to be used by the editor in
+ * its internal operations.
+ *
+ * Each element in the DTD is represented by a
+ * property in this object. Each property contains the list of elements that
+ * can be contained by the element. Text is represented by the "#" property.
+ *
+ * Several special grouping properties are also available. Their names start
+ * with the "$" character.
+ * @namespace
+ * @example
+ * // Check if "div" can be contained in a "p" element.
+ * alert( !!CKEDITOR.dtd[ 'p' ][ 'div' ] ); "false"
+ * @example
+ * // Check if "p" can be contained in a "div" element.
+ * alert( !!CKEDITOR.dtd[ 'div' ][ 'p' ] ); "true"
+ * @example
+ * // Check if "p" is a block element.
+ * alert( !!CKEDITOR.dtd.$block[ 'p' ] ); "true"
+ */
+CKEDITOR.dtd = (function()
+{
+ var X = CKEDITOR.tools.extend,
+
+ A = {isindex:1,fieldset:1},
+ B = {input:1,button:1,select:1,textarea:1,label:1},
+ C = X({a:1},B),
+ D = X({iframe:1},C),
+ E = {hr:1,ul:1,menu:1,div:1,blockquote:1,noscript:1,table:1,center:1,address:1,dir:1,pre:1,h5:1,dl:1,h4:1,noframes:1,h6:1,ol:1,h1:1,h3:1,h2:1},
+ F = {ins:1,del:1,script:1,style:1},
+ G = X({b:1,acronym:1,bdo:1,'var':1,'#':1,abbr:1,code:1,br:1,i:1,cite:1,kbd:1,u:1,strike:1,s:1,tt:1,strong:1,q:1,samp:1,em:1,dfn:1,span:1},F),
+ H = X({sub:1,img:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1},G),
+ I = X({p:1},H),
+ J = X({iframe:1},H,B),
+ K = {img:1,noscript:1,br:1,kbd:1,center:1,button:1,basefont:1,h5:1,h4:1,samp:1,h6:1,ol:1,h1:1,h3:1,h2:1,form:1,font:1,'#':1,select:1,menu:1,ins:1,abbr:1,label:1,code:1,table:1,script:1,cite:1,input:1,iframe:1,strong:1,textarea:1,noframes:1,big:1,small:1,span:1,hr:1,sub:1,bdo:1,'var':1,div:1,object:1,sup:1,strike:1,dir:1,map:1,dl:1,applet:1,del:1,isindex:1,fieldset:1,ul:1,b:1,acronym:1,a:1,blockquote:1,i:1,u:1,s:1,tt:1,address:1,q:1,pre:1,p:1,em:1,dfn:1},
+
+ L = X({a:1},J),
+ M = {tr:1},
+ N = {'#':1},
+ O = X({param:1},K),
+ P = X({form:1},A,D,E,I),
+ Q = {li:1},
+ R = {style:1,script:1},
+ S = {base:1,link:1,meta:1,title:1},
+ T = X(S,R),
+ U = {head:1,body:1},
+ V = {html:1};
+
+ var block = {address:1,blockquote:1,center:1,dir:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,isindex:1,menu:1,noframes:1,ol:1,p:1,pre:1,table:1,ul:1};
+
+ return /** @lends CKEDITOR.dtd */ {
+
+ // The "$" items have been added manually.
+
+ // List of elements living outside body.
+ $nonBodyContent: X(V,U,S),
+
+ /**
+ * List of block elements, like "p" or "div".
+ * @type Object
+ * @example
+ */
+ $block : block,
+
+ /**
+ * List of block limit elements.
+ * @type Object
+ * @example
+ */
+ $blockLimit : { body:1,div:1,td:1,th:1,caption:1,form:1 },
+
+ $inline : L, // Just like span.
+
+ $body : X({script:1,style:1}, block),
+
+ $cdata : {script:1,style:1},
+
+ /**
+ * List of empty (self-closing) elements, like "br" or "img".
+ * @type Object
+ * @example
+ */
+ $empty : {area:1,base:1,br:1,col:1,hr:1,img:1,input:1,link:1,meta:1,param:1},
+
+ /**
+ * List of list item elements, like "li" or "dd".
+ * @type Object
+ * @example
+ */
+ $listItem : {dd:1,dt:1,li:1},
+
+ /**
+ * List of list root elements.
+ * @type Object
+ * @example
+ */
+ $list: { ul:1,ol:1,dl:1},
+
+ /**
+ * Elements that accept text nodes, but are not possible to edit into
+ * the browser.
+ * @type Object
+ * @example
+ */
+ $nonEditable : {applet:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,script:1,textarea:1,param:1},
+
+ /**
+ * List of elements that can be ignored if empty, like "b" or "span".
+ * @type Object
+ * @example
+ */
+ $removeEmpty : {abbr:1,acronym:1,address:1,b:1,bdo:1,big:1,cite:1,code:1,del:1,dfn:1,em:1,font:1,i:1,ins:1,label:1,kbd:1,q:1,s:1,samp:1,small:1,span:1,strike:1,strong:1,sub:1,sup:1,tt:1,u:1,'var':1},
+
+ /**
+ * List of elements that have tabindex set to zero by default.
+ * @type Object
+ * @example
+ */
+ $tabIndex : {a:1,area:1,button:1,input:1,object:1,select:1,textarea:1},
+
+ /**
+ * List of elements used inside the "table" element, like "tbody" or "td".
+ * @type Object
+ * @example
+ */
+ $tableContent : {caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1},
+
+ html: U,
+ head: T,
+ style: N,
+ script: N,
+ body: P,
+ base: {},
+ link: {},
+ meta: {},
+ title: N,
+ col : {},
+ tr : {td:1,th:1},
+ img : {},
+ colgroup : {col:1},
+ noscript : P,
+ td : P,
+ br : {},
+ th : P,
+ center : P,
+ kbd : L,
+ button : X(I,E),
+ basefont : {},
+ h5 : L,
+ h4 : L,
+ samp : L,
+ h6 : L,
+ ol : Q,
+ h1 : L,
+ h3 : L,
+ option : N,
+ h2 : L,
+ form : X(A,D,E,I),
+ select : {optgroup:1,option:1},
+ font : L,
+ ins : L,
+ menu : Q,
+ abbr : L,
+ label : L,
+ table : {thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1},
+ code : L,
+ script : N,
+ tfoot : M,
+ cite : L,
+ li : P,
+ input : {},
+ iframe : P,
+ strong : L,
+ textarea : N,
+ noframes : P,
+ big : L,
+ small : L,
+ span : L,
+ hr : {},
+ dt : L,
+ sub : L,
+ optgroup : {option:1},
+ param : {},
+ bdo : L,
+ 'var' : L,
+ div : P,
+ object : O,
+ sup : L,
+ dd : P,
+ strike : L,
+ area : {},
+ dir : Q,
+ map : X({area:1,form:1,p:1},A,F,E),
+ applet : O,
+ dl : {dt:1,dd:1},
+ del : L,
+ isindex : {},
+ fieldset : X({legend:1},K),
+ thead : M,
+ ul : Q,
+ acronym : L,
+ b : L,
+ a : J,
+ blockquote : P,
+ caption : L,
+ i : L,
+ u : L,
+ tbody : M,
+ s : L,
+ address : X(D,I),
+ tt : L,
+ legend : L,
+ q : L,
+ pre : X(G,C),
+ p : L,
+ em : L,
+ dfn : L
+ };
+})();
+
+// PACKAGER_RENAME( CKEDITOR.dtd )
diff --git a/devel/third-party/ckeditor/core/editor.js b/devel/third-party/ckeditor/core/editor.js
new file mode 100644
index 0000000..0b373f7
--- /dev/null
+++ b/devel/third-party/ckeditor/core/editor.js
@@ -0,0 +1,759 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.editor} class, which represents an
+ * editor instance.
+ */
+
+(function()
+{
+ // The counter for automatic instance names.
+ var nameCounter = 0;
+
+ var getNewName = function()
+ {
+ var name = 'editor' + ( ++nameCounter );
+ return ( CKEDITOR.instances && CKEDITOR.instances[ name ] ) ? getNewName() : name;
+ };
+
+ // ##### START: Config Privates
+
+ // These function loads custom configuration files and cache the
+ // CKEDITOR.editorConfig functions defined on them, so there is no need to
+ // download them more than once for several instances.
+ var loadConfigLoaded = {};
+ var loadConfig = function( editor )
+ {
+ var customConfig = editor.config.customConfig;
+
+ // Check if there is a custom config to load.
+ if ( !customConfig )
+ return false;
+
+ customConfig = CKEDITOR.getUrl( customConfig );
+
+ var loadedConfig = loadConfigLoaded[ customConfig ] || ( loadConfigLoaded[ customConfig ] = {} );
+
+ // If the custom config has already been downloaded, reuse it.
+ if ( loadedConfig.fn )
+ {
+ // Call the cached CKEDITOR.editorConfig defined in the custom
+ // config file for the editor instance depending on it.
+ loadedConfig.fn.call( editor, editor.config );
+
+ // If there is no other customConfig in the chain, fire the
+ // "configLoaded" event.
+ if ( CKEDITOR.getUrl( editor.config.customConfig ) == customConfig || !loadConfig( editor ) )
+ editor.fireOnce( 'customConfigLoaded' );
+ }
+ else
+ {
+ // Load the custom configuration file.
+ CKEDITOR.scriptLoader.load( customConfig, function()
+ {
+ // If the CKEDITOR.editorConfig function has been properly
+ // defined in the custom configuration file, cache it.
+ if ( CKEDITOR.editorConfig )
+ loadedConfig.fn = CKEDITOR.editorConfig;
+ else
+ loadedConfig.fn = function(){};
+
+ // Call the load config again. This time the custom
+ // config is already cached and so it will get loaded.
+ loadConfig( editor );
+ });
+ }
+
+ return true;
+ };
+
+ var initConfig = function( editor, instanceConfig )
+ {
+ // Setup the lister for the "customConfigLoaded" event.
+ editor.on( 'customConfigLoaded', function()
+ {
+ if ( instanceConfig )
+ {
+ // Register the events that may have been set at the instance
+ // configuration object.
+ if ( instanceConfig.on )
+ {
+ for ( var eventName in instanceConfig.on )
+ {
+ editor.on( eventName, instanceConfig.on[ eventName ] );
+ }
+ }
+
+ // Overwrite the settings from the in-page config.
+ CKEDITOR.tools.extend( editor.config, instanceConfig, true );
+
+ delete editor.config.on;
+ }
+
+ onConfigLoaded( editor );
+ });
+
+ // The instance config may override the customConfig setting to avoid
+ // loading the default ~/config.js file.
+ if ( instanceConfig && instanceConfig.customConfig != undefined )
+ editor.config.customConfig = instanceConfig.customConfig;
+
+ // Load configs from the custom configuration files.
+ if ( !loadConfig( editor ) )
+ editor.fireOnce( 'customConfigLoaded' );
+ };
+
+ // ##### END: Config Privates
+
+ var onConfigLoaded = function( editor )
+ {
+ // Set config related properties.
+
+ var skin = editor.config.skin.split( ',' ),
+ skinName = skin[ 0 ],
+ skinPath = CKEDITOR.getUrl( skin[ 1 ] || (
+ '_source/' + // @Packager.RemoveLine
+ 'skins/' + skinName + '/' ) );
+
+ editor.skinName = skinName;
+ editor.skinPath = skinPath;
+ editor.skinClass = 'cke_skin_' + skinName;
+
+ editor.tabIndex = editor.config.tabIndex || editor.element.getAttribute( 'tabindex' ) || 0;
+
+ // Fire the "configLoaded" event.
+ editor.fireOnce( 'configLoaded' );
+
+ // Load language file.
+ loadSkin( editor );
+ };
+
+ var loadLang = function( editor )
+ {
+ CKEDITOR.lang.load( editor.config.language, editor.config.defaultLanguage, function( languageCode, lang )
+ {
+ editor.langCode = languageCode;
+
+ // As we'll be adding plugin specific entries that could come
+ // from different language code files, we need a copy of lang,
+ // not a direct reference to it.
+ editor.lang = CKEDITOR.tools.prototypedCopy( lang );
+
+ // We're not able to support RTL in Firefox 2 at this time.
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 && editor.lang.dir == 'rtl' )
+ editor.lang.dir = 'ltr';
+
+ var config = editor.config;
+ config.contentsLangDirection == 'ui' && ( config.contentsLangDirection = editor.lang.dir );
+
+ loadPlugins( editor );
+ });
+ };
+
+ var loadPlugins = function( editor )
+ {
+ var config = editor.config,
+ plugins = config.plugins,
+ extraPlugins = config.extraPlugins,
+ removePlugins = config.removePlugins;
+
+ if ( extraPlugins )
+ {
+ // Remove them first to avoid duplications.
+ var removeRegex = new RegExp( '(?:^|,)(?:' + extraPlugins.replace( /\s*,\s*/g, '|' ) + ')(?=,|$)' , 'g' );
+ plugins = plugins.replace( removeRegex, '' );
+
+ plugins += ',' + extraPlugins;
+ }
+
+ if ( removePlugins )
+ {
+ removeRegex = new RegExp( '(?:^|,)(?:' + removePlugins.replace( /\s*,\s*/g, '|' ) + ')(?=,|$)' , 'g' );
+ plugins = plugins.replace( removeRegex, '' );
+ }
+
+ // Load all plugins defined in the "plugins" setting.
+ CKEDITOR.plugins.load( plugins.split( ',' ), function( plugins )
+ {
+ // The list of plugins.
+ var pluginsArray = [];
+
+ // The language code to get loaded for each plugin. Null
+ // entries will be appended for plugins with no language files.
+ var languageCodes = [];
+
+ // The list of URLs to language files.
+ var languageFiles = [];
+
+ // Cache the loaded plugin names.
+ editor.plugins = plugins;
+
+ // Loop through all plugins, to build the list of language
+ // files to get loaded.
+ for ( var pluginName in plugins )
+ {
+ var plugin = plugins[ pluginName ],
+ pluginLangs = plugin.lang,
+ pluginPath = CKEDITOR.plugins.getPath( pluginName ),
+ lang = null;
+
+ // Set the plugin path in the plugin.
+ plugin.path = pluginPath;
+
+ // If the plugin has "lang".
+ if ( pluginLangs )
+ {
+ // Resolve the plugin language. If the current language
+ // is not available, get the first one (default one).
+ lang = ( CKEDITOR.tools.indexOf( pluginLangs, editor.langCode ) >= 0 ? editor.langCode : pluginLangs[ 0 ] );
+
+ if ( !plugin.lang[ lang ] )
+ {
+ // Put the language file URL into the list of files to
+ // get downloaded.
+ languageFiles.push( CKEDITOR.getUrl( pluginPath + 'lang/' + lang + '.js' ) );
+ }
+ else
+ {
+ CKEDITOR.tools.extend( editor.lang, plugin.lang[ lang ] );
+ lang = null;
+ }
+ }
+
+ // Save the language code, so we know later which
+ // language has been resolved to this plugin.
+ languageCodes.push( lang );
+
+ pluginsArray.push( plugin );
+ }
+
+ // Load all plugin specific language files in a row.
+ CKEDITOR.scriptLoader.load( languageFiles, function()
+ {
+ // Initialize all plugins that have the "beforeInit" and "init" methods defined.
+ var methods = [ 'beforeInit', 'init', 'afterInit' ];
+ for ( var m = 0 ; m < methods.length ; m++ )
+ {
+ for ( var i = 0 ; i < pluginsArray.length ; i++ )
+ {
+ var plugin = pluginsArray[ i ];
+
+ // Uses the first loop to update the language entries also.
+ if ( m === 0 && languageCodes[ i ] && plugin.lang )
+ CKEDITOR.tools.extend( editor.lang, plugin.lang[ languageCodes[ i ] ] );
+
+ // Call the plugin method (beforeInit and init).
+ if ( plugin[ methods[ m ] ] )
+ plugin[ methods[ m ] ]( editor );
+ }
+ }
+
+ // Load the editor skin.
+ editor.fire( 'pluginsLoaded' );
+ loadTheme( editor );
+ });
+ });
+ };
+
+ var loadSkin = function( editor )
+ {
+ CKEDITOR.skins.load( editor, 'editor', function()
+ {
+ loadLang( editor );
+ });
+ };
+
+ var loadTheme = function( editor )
+ {
+ var theme = editor.config.theme;
+ CKEDITOR.themes.load( theme, function()
+ {
+ var editorTheme = editor.theme = CKEDITOR.themes.get( theme );
+ editorTheme.path = CKEDITOR.themes.getPath( theme );
+ editorTheme.build( editor );
+
+ if ( editor.config.autoUpdateElement )
+ attachToForm( editor );
+ });
+ };
+
+ var attachToForm = function( editor )
+ {
+ var element = editor.element;
+
+ // If are replacing a textarea, we must
+ if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE && element.is( 'textarea' ) )
+ {
+ var form = element.$.form && new CKEDITOR.dom.element( element.$.form );
+ if ( form )
+ {
+ function onSubmit()
+ {
+ editor.updateElement();
+ }
+ form.on( 'submit',onSubmit );
+
+ // Setup the submit function because it doesn't fire the
+ // "submit" event.
+ if ( !form.$.submit.nodeName )
+ {
+ form.$.submit = CKEDITOR.tools.override( form.$.submit, function( originalSubmit )
+ {
+ return function()
+ {
+ editor.updateElement();
+
+ // For IE, the DOM submit function is not a
+ // function, so we need thid check.
+ if ( originalSubmit.apply )
+ originalSubmit.apply( this, arguments );
+ else
+ originalSubmit();
+ };
+ });
+ }
+
+ // Remove 'submit' events registered on form element before destroying.(#3988)
+ editor.on( 'destroy', function()
+ {
+ form.removeListener( 'submit', onSubmit );
+ } );
+ }
+ }
+ };
+
+ function updateCommandsMode()
+ {
+ var command,
+ commands = this._.commands,
+ mode = this.mode;
+
+ for ( var name in commands )
+ {
+ command = commands[ name ];
+ command[ command.startDisabled ? 'disable' : command.modes[ mode ] ? 'enable' : 'disable' ]();
+ }
+ }
+
+ /**
+ * Initializes the editor instance. This function is called by the editor
+ * contructor (editor_basic.js).
+ * @private
+ */
+ CKEDITOR.editor.prototype._init = function()
+ {
+ // Get the properties that have been saved in the editor_base
+ // implementation.
+ var element = CKEDITOR.dom.element.get( this._.element ),
+ instanceConfig = this._.instanceConfig;
+ delete this._.element;
+ delete this._.instanceConfig;
+
+ this._.commands = {};
+ this._.styles = [];
+
+ /**
+ * The DOM element that has been replaced by this editor instance. This
+ * element holds the editor data on load and post.
+ * @name CKEDITOR.editor.prototype.element
+ * @type CKEDITOR.dom.element
+ * @example
+ * var editor = CKEDITOR.instances.editor1;
+ * alert( <b>editor.element</b>.getName() ); "textarea"
+ */
+ this.element = element;
+
+ /**
+ * The editor instance name. It hay be the replaced element id, name or
+ * a default name using a progressive counter (editor1, editor2, ...).
+ * @name CKEDITOR.editor.prototype.name
+ * @type String
+ * @example
+ * var editor = CKEDITOR.instances.editor1;
+ * alert( <b>editor.name</b> ); "editor1"
+ */
+ this.name = ( element && ( this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+ && ( element.getId() || element.getNameAtt() ) )
+ || getNewName();
+
+ if ( this.name in CKEDITOR.instances )
+ throw '[CKEDITOR.editor] The instance "' + this.name + '" already exists.';
+
+ /**
+ * The configurations for this editor instance. It inherits all
+ * settings defined in (@link CKEDITOR.config}, combined with settings
+ * loaded from custom configuration files and those defined inline in
+ * the page when creating the editor.
+ * @name CKEDITOR.editor.prototype.config
+ * @type Object
+ * @example
+ * var editor = CKEDITOR.instances.editor1;
+ * alert( <b>editor.config.theme</b> ); "default" e.g.
+ */
+ this.config = CKEDITOR.tools.prototypedCopy( CKEDITOR.config );
+
+ /**
+ * Namespace containing UI features related to this editor instance.
+ * @name CKEDITOR.editor.prototype.ui
+ * @type CKEDITOR.ui
+ * @example
+ */
+ this.ui = new CKEDITOR.ui( this );
+
+ /**
+ * Controls the focus state of this editor instance. This property
+ * is rarely used for normal API operations. It is mainly
+ * destinated to developer adding UI elements to the editor interface.
+ * @name CKEDITOR.editor.prototype.focusManager
+ * @type CKEDITOR.focusManager
+ * @example
+ */
+ this.focusManager = new CKEDITOR.focusManager( this );
+
+ CKEDITOR.fire( 'instanceCreated', null, this );
+
+ this.on( 'mode', updateCommandsMode, null, null, 1 );
+
+ initConfig( this, instanceConfig );
+ };
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
+ /** @lends CKEDITOR.editor.prototype */
+ {
+ /**
+ * Adds a command definition to the editor instance. Commands added with
+ * this function can be later executed with {@link #execCommand}.
+ * @param {String} commandName The indentifier name of the command.
+ * @param {CKEDITOR.commandDefinition} commandDefinition The command definition.
+ * @example
+ * editorInstance.addCommand( 'sample',
+ * {
+ * exec : function( editor )
+ * {
+ * alert( 'Executing a command for the editor name "' + editor.name + '"!' );
+ * }
+ * });
+ */
+ addCommand : function( commandName, commandDefinition )
+ {
+ return this._.commands[ commandName ] = new CKEDITOR.command( this, commandDefinition );
+ },
+
+ /**
+ * Add a trunk of css text to the editor which will be applied to the wysiwyg editing document.
+ * Note: This function should be called before editor is loaded to take effect.
+ * @param css {String} CSS text.
+ * @example
+ * editorInstance.addCss( 'body { background-color: grey; }' );
+ */
+ addCss : function( css )
+ {
+ this._.styles.push( css );
+ },
+
+ /**
+ * Destroys the editor instance, releasing all resources used by it.
+ * If the editor replaced an element, the element will be recovered.
+ * @param {Boolean} [noUpdate] If the instance is replacing a DOM
+ * element, this parameter indicates whether or not to update the
+ * element with the instance contents.
+ * @example
+ * alert( CKEDITOR.instances.editor1 ); e.g "object"
+ * <b>CKEDITOR.instances.editor1.destroy()</b>;
+ * alert( CKEDITOR.instances.editor1 ); "undefined"
+ */
+ destroy : function( noUpdate )
+ {
+ if ( !noUpdate )
+ this.updateElement();
+
+ if ( this.mode )
+ {
+ // -> currentMode.unload( holderElement );
+ this._.modes[ this.mode ].unload( this.getThemeSpace( 'contents' ) );
+ }
+
+ this.theme.destroy( this );
+
+ var toolbars,
+ index = 0,
+ j,
+ items,
+ instance;
+
+ if ( this.toolbox )
+ {
+ toolbars = this.toolbox.toolbars;
+ for ( ; index < toolbars.length ; index++ )
+ {
+ items = toolbars[ index ].items;
+ for ( j = 0 ; j < items.length ; j++ )
+ {
+ instance = items[ j ];
+ if ( instance.clickFn ) CKEDITOR.tools.removeFunction( instance.clickFn );
+ if ( instance.keyDownFn ) CKEDITOR.tools.removeFunction( instance.keyDownFn );
+
+ if ( instance.index ) CKEDITOR.ui.button._.instances[ instance.index ] = null;
+ }
+ }
+ }
+
+ if ( this.contextMenu )
+ CKEDITOR.tools.removeFunction( this.contextMenu._.functionId );
+
+ if ( this._.filebrowserFn )
+ CKEDITOR.tools.removeFunction( this._.filebrowserFn );
+
+ this.fire( 'destroy' );
+ CKEDITOR.remove( this );
+ CKEDITOR.fire( 'instanceDestroyed', null, this );
+ },
+
+ /**
+ * Executes a command.
+ * @param {String} commandName The indentifier name of the command.
+ * @param {Object} [data] Data to be passed to the command
+ * @returns {Boolean} "true" if the command has been successfuly
+ * executed, otherwise "false".
+ * @example
+ * editorInstance.execCommand( 'Bold' );
+ */
+ execCommand : function( commandName, data )
+ {
+ var command = this.getCommand( commandName );
+
+ var eventData =
+ {
+ name: commandName,
+ commandData: data,
+ command: command
+ };
+
+ if ( command && command.state != CKEDITOR.TRISTATE_DISABLED )
+ {
+ if ( this.fire( 'beforeCommandExec', eventData ) !== true )
+ {
+ eventData.returnValue = command.exec( eventData.commandData );
+
+ // Fire the 'afterCommandExec' immediately if command is synchronous.
+ if ( !command.async && this.fire( 'afterCommandExec', eventData ) !== true )
+ return eventData.returnValue;
+ }
+ }
+
+ // throw 'Unknown command name "' + commandName + '"';
+ return false;
+ },
+
+ /**
+ * Gets one of the registered commands. Note that, after registering a
+ * command definition with addCommand, it is transformed internally
+ * into an instance of {@link CKEDITOR.command}, which will be then
+ * returned by this function.
+ * @param {String} commandName The name of the command to be returned.
+ * This is the same used to register the command with addCommand.
+ * @returns {CKEDITOR.command} The command object identified by the
+ * provided name.
+ */
+ getCommand : function( commandName )
+ {
+ return this._.commands[ commandName ];
+ },
+
+ /**
+ * Gets the editor data. The data will be in raw format. It is the same
+ * data that is posted by the editor.
+ * @type String
+ * @returns (String) The editor data.
+ * @example
+ * if ( CKEDITOR.instances.editor1.<b>getData()</b> == '' )
+ * alert( 'There is no data available' );
+ */
+ getData : function()
+ {
+ this.fire( 'beforeGetData' );
+
+ var eventData = this._.data;
+
+ if ( typeof eventData != 'string' )
+ {
+ var element = this.element;
+ if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+ eventData = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
+ else
+ eventData = '';
+ }
+
+ eventData = { dataValue : eventData };
+
+ // Fire "getData" so data manipulation may happen.
+ this.fire( 'getData', eventData );
+
+ return eventData.dataValue;
+ },
+
+ getSnapshot : function()
+ {
+ var data = this.fire( 'getSnapshot' );
+
+ if ( typeof data != 'string' )
+ {
+ var element = this.element;
+ if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+ data = element.is( 'textarea' ) ? element.getValue() : element.getHtml();
+ }
+
+ return data;
+ },
+
+ loadSnapshot : function( snapshot )
+ {
+ this.fire( 'loadSnapshot', snapshot );
+ },
+
+ /**
+ * Sets the editor data. The data must be provided in raw format (HTML).<br />
+ * <br />
+ * Note that this menthod is asynchronous. The "callback" parameter must
+ * be used if interaction with the editor is needed after setting the data.
+ * @param {String} data HTML code to replace the curent content in the
+ * editor.
+ * @param {Function} callback Function to be called after the setData
+ * is completed.
+ * @example
+ * CKEDITOR.instances.editor1.<b>setData</b>( '<p>This is the editor data.</p>' );
+ * @example
+ * CKEDITOR.instances.editor1.<b>setData</b>( '<p>Some other editor data.</p>', function()
+ * {
+ * this.checkDirty(); // true
+ * });
+ */
+ setData : function( data , callback )
+ {
+ if( callback )
+ {
+ this.on( 'dataReady', function( evt )
+ {
+ evt.removeListener();
+ callback.call( evt.editor );
+ } );
+ }
+
+ // Fire "setData" so data manipulation may happen.
+ var eventData = { dataValue : data };
+ this.fire( 'setData', eventData );
+
+ this._.data = eventData.dataValue;
+
+ this.fire( 'afterSetData', eventData );
+ },
+
+ /**
+ * Inserts HTML into the currently selected position in the editor.
+ * @param {String} data HTML code to be inserted into the editor.
+ * @example
+ * CKEDITOR.instances.editor1.<b>insertHtml( '<p>This is a new paragraph.</p>' )</b>;
+ */
+ insertHtml : function( data )
+ {
+ this.fire( 'insertHtml', data );
+ },
+
+ /**
+ * Inserts an element into the currently selected position in the
+ * editor.
+ * @param {CKEDITOR.dom.element} element The element to be inserted
+ * into the editor.
+ * @example
+ * var element = CKEDITOR.dom.element.createFromHtml( '<img src="hello.png" border="0" title="Hello" />' );
+ * CKEDITOR.instances.editor1.<b>insertElement( element )</b>;
+ */
+ insertElement : function( element )
+ {
+ this.fire( 'insertElement', element );
+ },
+
+ checkDirty : function()
+ {
+ return ( this.mayBeDirty && this._.previousValue !== this.getSnapshot() );
+ },
+
+ resetDirty : function()
+ {
+ if ( this.mayBeDirty )
+ this._.previousValue = this.getSnapshot();
+ },
+
+ /**
+ * Updates the <textarea> element that has been replaced by the editor with
+ * the current data available in the editor.
+ * @example
+ * CKEDITOR.instances.editor1.updateElement();
+ * alert( document.getElementById( 'editor1' ).value ); // The current editor data.
+ */
+ updateElement : function()
+ {
+ var element = this.element;
+ if ( element && this.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+ {
+ var data = this.getData();
+
+ if ( this.config.htmlEncodeOutput )
+ data = CKEDITOR.tools.htmlEncode( data );
+
+ if ( element.is( 'textarea' ) )
+ element.setValue( data );
+ else
+ element.setHtml( data );
+ }
+ }
+ });
+
+CKEDITOR.on( 'loaded', function()
+ {
+ // Run the full initialization for pending editors.
+ var pending = CKEDITOR.editor._pending;
+ if ( pending )
+ {
+ delete CKEDITOR.editor._pending;
+
+ for ( var i = 0 ; i < pending.length ; i++ )
+ pending[ i ]._init();
+ }
+ });
+
+/**
+ * Whether escape HTML when editor update original input element.
+ * @name CKEDITOR.config.htmlEncodeOutput
+ * @since 3.1
+ * @type Boolean
+ * @default false
+ * @example
+ * config.htmlEncodeOutput = true;
+ */
+
+/**
+ * Fired when a CKEDITOR instance is created, but still before initializing it.
+ * To interact with a fully initialized instance, use the
+ * {@link CKEDITOR#instanceReady} event instead.
+ * @name CKEDITOR#instanceCreated
+ * @event
+ * @param {CKEDITOR.editor} editor The editor instance that has been created.
+ */
+
+/**
+ * Fired when a CKEDITOR instance is destroyed.
+ * @name CKEDITOR#instanceDestroyed
+ * @event
+ * @param {CKEDITOR.editor} editor The editor instance that has been destroyed.
+ */
+
+/**
+ * Fired when all plugins are loaded and initialized into the editor instance.
+ * @name CKEDITOR#pluginsLoaded
+ * @event
+ */
diff --git a/devel/third-party/ckeditor/core/editor_basic.js b/devel/third-party/ckeditor/core/editor_basic.js
new file mode 100644
index 0000000..ec90bf7
--- /dev/null
+++ b/devel/third-party/ckeditor/core/editor_basic.js
@@ -0,0 +1,182 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+if ( !CKEDITOR.editor )
+{
+ /**
+ * No element is linked to the editor instance.
+ * @constant
+ * @example
+ */
+ CKEDITOR.ELEMENT_MODE_NONE = 0;
+
+ /**
+ * The element is to be replaced by the editor instance.
+ * @constant
+ * @example
+ */
+ CKEDITOR.ELEMENT_MODE_REPLACE = 1;
+
+ /**
+ * The editor is to be created inside the element.
+ * @constant
+ * @example
+ */
+ CKEDITOR.ELEMENT_MODE_APPENDTO = 2;
+
+ /**
+ * Represents an editor instance. This constructor should be rarely used,
+ * being the {@link CKEDITOR} methods preferible.
+ * @constructor
+ * @param {Object} instanceConfig Configuration values for this specific
+ * instance.
+ * @param {CKEDITOR.dom.element} [element] The element linked to this
+ * instance.
+ * @param {Number} [mode] The mode in which the element is linked to this
+ * instance.
+ * @param {String} [data] Since 3.3. Initial value for the instance.
+ * @augments CKEDITOR.event
+ * @example
+ */
+ CKEDITOR.editor = function( instanceConfig, element, mode, data )
+ {
+ this._ =
+ {
+ // Save the config to be processed later by the full core code.
+ instanceConfig : instanceConfig,
+ element : element,
+ data : data
+ };
+
+ /**
+ * The mode in which the {@link #element} is linked to this editor
+ * instance. It can be any of the following values:
+ * <ul>
+ * <li><b>CKEDITOR.ELEMENT_MODE_NONE</b>: No element is linked to the
+ * editor instance.</li>
+ * <li><b>CKEDITOR.ELEMENT_MODE_REPLACE</b>: The element is to be
+ * replaced by the editor instance.</li>
+ * <li><b>CKEDITOR.ELEMENT_MODE_APPENDTO</b>: The editor is to be
+ * created inside the element.</li>
+ * </ul>
+ * @name CKEDITOR.editor.prototype.elementMode
+ * @type Number
+ * @example
+ * var editor = CKEDITOR.replace( 'editor1' );
+ * alert( <b>editor.elementMode</b> ); "1"
+ */
+ this.elementMode = mode || CKEDITOR.ELEMENT_MODE_NONE;
+
+ // Call the CKEDITOR.event constructor to initialize this instance.
+ CKEDITOR.event.call( this );
+
+ this._init();
+ };
+
+ /**
+ * Replaces a <textarea> or a DOM element (DIV) with a CKEditor
+ * instance. For textareas, the initial value in the editor will be the
+ * textarea value. For DOM elements, their innerHTML will be used
+ * instead. We recommend using TEXTAREA and DIV elements only. Do not use
+ * this function directly. Use {@link CKEDITOR.replace} instead.
+ * @param {Object|String} elementOrIdOrName The DOM element (textarea), its
+ * ID or name.
+ * @param {Object} [config] The specific configurations to apply to this
+ * editor instance. Configurations set here will override global CKEditor
+ * settings.
+ * @returns {CKEDITOR.editor} The editor instance created.
+ * @example
+ */
+ CKEDITOR.editor.replace = function( elementOrIdOrName, config )
+ {
+ var element = elementOrIdOrName;
+
+ if ( typeof element != 'object' )
+ {
+ // Look for the element by id. We accept any kind of element here.
+ element = document.getElementById( elementOrIdOrName );
+
+ // If not found, look for elements by name. In this case we accept only
+ // textareas.
+ if ( !element )
+ {
+ var i = 0,
+ textareasByName = document.getElementsByName( elementOrIdOrName );
+
+ while ( ( element = textareasByName[ i++ ] ) && element.tagName.toLowerCase() != 'textarea' )
+ { /*jsl:pass*/ }
+ }
+
+ if ( !element )
+ throw '[CKEDITOR.editor.replace] The element with id or name "' + elementOrIdOrName + '" was not found.';
+ }
+
+ // Do not replace the textarea right now, just hide it. The effective
+ // replacement will be done by the _init function.
+ element.style.visibility = 'hidden';
+
+ // Create the editor instance.
+ return new CKEDITOR.editor( config, element, CKEDITOR.ELEMENT_MODE_REPLACE );
+ };
+
+ /**
+ * Creates a new editor instance inside a specific DOM element. Do not use
+ * this function directly. Use {@link CKEDITOR.appendTo} instead.
+ * @param {Object|String} elementOrId The DOM element or its ID.
+ * @param {Object} [config] The specific configurations to apply to this
+ * editor instance. Configurations set here will override global CKEditor
+ * settings.
+ * @param {String} [data] Since 3.3. Initial value for the instance.
+ * @returns {CKEDITOR.editor} The editor instance created.
+ * @example
+ */
+ CKEDITOR.editor.appendTo = function( elementOrId, config, data )
+ {
+ var element = elementOrId;
+ if ( typeof element != 'object' )
+ {
+ element = document.getElementById( elementOrId );
+
+ if ( !element )
+ throw '[CKEDITOR.editor.appendTo] The element with id "' + elementOrId + '" was not found.';
+ }
+
+ // Create the editor instance.
+ return new CKEDITOR.editor( config, element, CKEDITOR.ELEMENT_MODE_APPENDTO, data );
+ };
+
+ CKEDITOR.editor.prototype =
+ {
+ /**
+ * Initializes the editor instance. This function will be overriden by the
+ * full CKEDITOR.editor implementation (editor.js).
+ * @private
+ */
+ _init : function()
+ {
+ var pending = CKEDITOR.editor._pending || ( CKEDITOR.editor._pending = [] );
+ pending.push( this );
+ },
+
+ // Both fire and fireOnce will always pass this editor instance as the
+ // "editor" param in CKEDITOR.event.fire. So, we override it to do that
+ // automaticaly.
+
+ /** @ignore */
+ fire : function( eventName, data )
+ {
+ return CKEDITOR.event.prototype.fire.call( this, eventName, data, this );
+ },
+
+ /** @ignore */
+ fireOnce : function( eventName, data )
+ {
+ return CKEDITOR.event.prototype.fireOnce.call( this, eventName, data, this );
+ }
+ };
+
+ // "Inherit" (copy actually) from CKEDITOR.event.
+ CKEDITOR.event.implementOn( CKEDITOR.editor.prototype, true );
+}
diff --git a/devel/third-party/ckeditor/core/env.js b/devel/third-party/ckeditor/core/env.js
new file mode 100644
index 0000000..a0ae465
--- /dev/null
+++ b/devel/third-party/ckeditor/core/env.js
@@ -0,0 +1,229 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.env} object, which constains
+ * environment and browser information.
+ */
+
+if ( !CKEDITOR.env )
+{
+ /**
+ * Environment and browser information.
+ * @namespace
+ * @example
+ */
+ CKEDITOR.env = (function()
+ {
+ var agent = navigator.userAgent.toLowerCase();
+ var opera = window.opera;
+
+ var env =
+ /** @lends CKEDITOR.env */
+ {
+ /**
+ * Indicates that CKEditor is running on Internet Explorer.
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.ie )
+ * alert( "I'm on IE!" );
+ */
+ ie : /*@cc_on!@*/false,
+
+ /**
+ * Indicates that CKEditor is running on Opera.
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.opera )
+ * alert( "I'm on Opera!" );
+ */
+ opera : ( !!opera && opera.version ),
+
+ /**
+ * Indicates that CKEditor is running on a WebKit based browser, like
+ * Safari.
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.webkit )
+ * alert( "I'm on WebKit!" );
+ */
+ webkit : ( agent.indexOf( ' applewebkit/' ) > -1 ),
+
+ /**
+ * Indicates that CKEditor is running on Adobe AIR.
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.air )
+ * alert( "I'm on AIR!" );
+ */
+ air : ( agent.indexOf( ' adobeair/' ) > -1 ),
+
+ /**
+ * Indicates that CKEditor is running on Macintosh.
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.mac )
+ * alert( "I love apples!" );
+ */
+ mac : ( agent.indexOf( 'macintosh' ) > -1 ),
+
+ quirks : ( document.compatMode == 'BackCompat' ),
+
+ mobile : ( agent.indexOf( 'mobile' ) > -1 ),
+
+ isCustomDomain : function()
+ {
+ if ( !this.ie )
+ return false;
+
+ var domain = document.domain,
+ hostname = window.location.hostname;
+
+ return domain != hostname &&
+ domain != ( '[' + hostname + ']' ); // IPv6 IP support (#5434)
+ }
+ };
+
+ /**
+ * Indicates that CKEditor is running on a Gecko based browser, like
+ * Firefox.
+ * @name CKEDITOR.env.gecko
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.gecko )
+ * alert( "I'm riding a gecko!" );
+ */
+ env.gecko = ( navigator.product == 'Gecko' && !env.webkit && !env.opera );
+
+ var version = 0;
+
+ // Internet Explorer 6.0+
+ if ( env.ie )
+ {
+ version = parseFloat( agent.match( /msie (\d+)/ )[1] );
+
+ /**
+ * Indicate IE8 browser.
+ */
+ env.ie8 = !!document.documentMode;
+
+ /**
+ * Indicte IE8 document mode.
+ */
+ env.ie8Compat = document.documentMode == 8;
+
+ /**
+ * Indicates that CKEditor is running on an IE7-like environment, which
+ * includes IE7 itself and IE8's IE7 document mode.
+ * @type Boolean
+ */
+ env.ie7Compat = ( ( version == 7 && !document.documentMode )
+ || document.documentMode == 7 );
+
+ /**
+ * Indicates that CKEditor is running on an IE6-like environment, which
+ * includes IE6 itself and IE7 and IE8 quirks mode.
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.ie6Compat )
+ * alert( "I'm on IE6 or quirks mode!" );
+ */
+ env.ie6Compat = ( version < 7 || env.quirks );
+
+ }
+
+ // Gecko.
+ if ( env.gecko )
+ {
+ var geckoRelease = agent.match( /rv:([\d\.]+)/ );
+ if ( geckoRelease )
+ {
+ geckoRelease = geckoRelease[1].split( '.' );
+ version = geckoRelease[0] * 10000 + ( geckoRelease[1] || 0 ) * 100 + ( geckoRelease[2] || 0 ) * 1;
+ }
+ }
+
+ // Opera 9.50+
+ if ( env.opera )
+ version = parseFloat( opera.version() );
+
+ // Adobe AIR 1.0+
+ // Checked before Safari because AIR have the WebKit rich text editor
+ // features from Safari 3.0.4, but the version reported is 420.
+ if ( env.air )
+ version = parseFloat( agent.match( / adobeair\/(\d+)/ )[1] );
+
+ // WebKit 522+ (Safari 3+)
+ if ( env.webkit )
+ version = parseFloat( agent.match( / applewebkit\/(\d+)/ )[1] );
+
+ /**
+ * Contains the browser version.
+ *
+ * For gecko based browsers (like Firefox) it contains the revision
+ * number with first three parts concatenated with a padding zero
+ * (e.g. for revision 1.9.0.2 we have 10900).
+ *
+ * For webkit based browser (like Safari and Chrome) it contains the
+ * WebKit build version (e.g. 522).
+ * @name CKEDITOR.env.version
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.ie && <b>CKEDITOR.env.version</b> <= 6 )
+ * alert( "Ouch!" );
+ */
+ env.version = version;
+
+ /**
+ * Indicates that CKEditor is running on a compatible browser.
+ * @name CKEDITOR.env.isCompatible
+ * @type Boolean
+ * @example
+ * if ( CKEDITOR.env.isCompatible )
+ * alert( "Your browser is pretty cool!" );
+ */
+ env.isCompatible =
+ !env.mobile && (
+ ( env.ie && version >= 6 ) ||
+ ( env.gecko && version >= 10801 ) ||
+ ( env.opera && version >= 9.5 ) ||
+ ( env.air && version >= 1 ) ||
+ ( env.webkit && version >= 522 ) ||
+ false );
+
+ // The CSS class to be appended on the main UI containers, making it
+ // easy to apply browser specific styles to it.
+ env.cssClass =
+ 'cke_browser_' + (
+ env.ie ? 'ie' :
+ env.gecko ? 'gecko' :
+ env.opera ? 'opera' :
+ env.air ? 'air' :
+ env.webkit ? 'webkit' :
+ 'unknown' );
+
+ if ( env.quirks )
+ env.cssClass += ' cke_browser_quirks';
+
+ if ( env.ie )
+ {
+ env.cssClass += ' cke_browser_ie' + (
+ env.version < 7 ? '6' :
+ env.version >= 8 ? '8' :
+ '7' );
+
+ if ( env.quirks )
+ env.cssClass += ' cke_browser_iequirks';
+ }
+
+ if ( env.gecko && version < 10900 )
+ env.cssClass += ' cke_browser_gecko18';
+
+ return env;
+ })();
+}
+
+// PACKAGER_RENAME( CKEDITOR.env )
+// PACKAGER_RENAME( CKEDITOR.env.ie )
diff --git a/devel/third-party/ckeditor/core/event.js b/devel/third-party/ckeditor/core/event.js
new file mode 100644
index 0000000..8668a3d
--- /dev/null
+++ b/devel/third-party/ckeditor/core/event.js
@@ -0,0 +1,336 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.event} class, which serves as the
+ * base for classes and objects that require event handling features.
+ */
+
+if ( !CKEDITOR.event )
+{
+ /**
+ * This is a base class for classes and objects that require event handling
+ * features.
+ * @constructor
+ * @example
+ */
+ CKEDITOR.event = function()
+ {};
+
+ /**
+ * Implements the {@link CKEDITOR.event} features in an object.
+ * @param {Object} targetObject The object in which implement the features.
+ * @example
+ * var myObject = { message : 'Example' };
+ * <b>CKEDITOR.event.implementOn( myObject }</b>;
+ * myObject.on( 'testEvent', function()
+ * {
+ * alert( this.message ); // "Example"
+ * });
+ * myObject.fire( 'testEvent' );
+ */
+ CKEDITOR.event.implementOn = function( targetObject, isTargetPrototype )
+ {
+ var eventProto = CKEDITOR.event.prototype;
+
+ for ( var prop in eventProto )
+ {
+ if ( targetObject[ prop ] == undefined )
+ targetObject[ prop ] = eventProto[ prop ];
+ }
+ };
+
+ CKEDITOR.event.prototype = (function()
+ {
+ // Returns the private events object for a given object.
+ var getPrivate = function( obj )
+ {
+ var _ = ( obj.getPrivate && obj.getPrivate() ) || obj._ || ( obj._ = {} );
+ return _.events || ( _.events = {} );
+ };
+
+ var eventEntry = function( eventName )
+ {
+ this.name = eventName;
+ this.listeners = [];
+ };
+
+ eventEntry.prototype =
+ {
+ // Get the listener index for a specified function.
+ // Returns -1 if not found.
+ getListenerIndex : function( listenerFunction )
+ {
+ for ( var i = 0, listeners = this.listeners ; i < listeners.length ; i++ )
+ {
+ if ( listeners[i].fn == listenerFunction )
+ return i;
+ }
+ return -1;
+ }
+ };
+
+ return /** @lends CKEDITOR.event.prototype */ {
+ /**
+ * Registers a listener to a specific event in the current object.
+ * @param {String} eventName The event name to which listen.
+ * @param {Function} listenerFunction The function listening to the
+ * event. A single {@link CKEDITOR.eventInfo} object instanced
+ * is passed to this function containing all the event data.
+ * @param {Object} [scopeObj] The object used to scope the listener
+ * call (the this object. If omitted, the current object is used.
+ * @param {Object} [listenerData] Data to be sent as the
+ * {@link CKEDITOR.eventInfo#listenerData} when calling the
+ * listener.
+ * @param {Number} [priority] The listener priority. Lower priority
+ * listeners are called first. Listeners with the same priority
+ * value are called in registration order. Defaults to 10.
+ * @example
+ * someObject.on( 'someEvent', function()
+ * {
+ * alert( this == someObject ); // "true"
+ * });
+ * @example
+ * someObject.on( 'someEvent', function()
+ * {
+ * alert( this == anotherObject ); // "true"
+ * }
+ * , anotherObject );
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * alert( event.listenerData ); // "Example"
+ * }
+ * , null, 'Example' );
+ * @example
+ * someObject.on( 'someEvent', function() { ... } ); // 2nd called
+ * someObject.on( 'someEvent', function() { ... }, null, null, 100 ); // 3rd called
+ * someObject.on( 'someEvent', function() { ... }, null, null, 1 ); // 1st called
+ */
+ on : function( eventName, listenerFunction, scopeObj, listenerData, priority )
+ {
+ // Get the event entry (create it if needed).
+ var events = getPrivate( this ),
+ event = events[ eventName ] || ( events[ eventName ] = new eventEntry( eventName ) );
+
+ if ( event.getListenerIndex( listenerFunction ) < 0 )
+ {
+ // Get the listeners.
+ var listeners = event.listeners;
+
+ // Fill the scope.
+ if ( !scopeObj )
+ scopeObj = this;
+
+ // Default the priority, if needed.
+ if ( isNaN( priority ) )
+ priority = 10;
+
+ var me = this;
+
+ // Create the function to be fired for this listener.
+ var listenerFirer = function( editor, publisherData, stopFn, cancelFn )
+ {
+ var ev =
+ {
+ name : eventName,
+ sender : this,
+ editor : editor,
+ data : publisherData,
+ listenerData : listenerData,
+ stop : stopFn,
+ cancel : cancelFn,
+ removeListener : function()
+ {
+ me.removeListener( eventName, listenerFunction );
+ }
+ };
+
+ listenerFunction.call( scopeObj, ev );
+
+ return ev.data;
+ };
+ listenerFirer.fn = listenerFunction;
+ listenerFirer.priority = priority;
+
+ // Search for the right position for this new listener, based on its
+ // priority.
+ for ( var i = listeners.length - 1 ; i >= 0 ; i-- )
+ {
+ // Find the item which should be before the new one.
+ if ( listeners[ i ].priority <= priority )
+ {
+ // Insert the listener in the array.
+ listeners.splice( i + 1, 0, listenerFirer );
+ return;
+ }
+ }
+
+ // If no position has been found (or zero length), put it in
+ // the front of list.
+ listeners.unshift( listenerFirer );
+ }
+ },
+
+ /**
+ * Fires an specific event in the object. All registered listeners are
+ * called at this point.
+ * @function
+ * @param {String} eventName The event name to fire.
+ * @param {Object} [data] Data to be sent as the
+ * {@link CKEDITOR.eventInfo#data} when calling the
+ * listeners.
+ * @param {CKEDITOR.editor} [editor] The editor instance to send as the
+ * {@link CKEDITOR.eventInfo#editor} when calling the
+ * listener.
+ * @returns {Boolean|Object} A booloan indicating that the event is to be
+ * canceled, or data returned by one of the listeners.
+ * @example
+ * someObject.on( 'someEvent', function() { ... } );
+ * someObject.on( 'someEvent', function() { ... } );
+ * <b>someObject.fire( 'someEvent' )</b>; // both listeners are called
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * alert( event.data ); // "Example"
+ * });
+ * <b>someObject.fire( 'someEvent', 'Example' )</b>;
+ */
+ fire : (function()
+ {
+ // Create the function that marks the event as stopped.
+ var stopped = false;
+ var stopEvent = function()
+ {
+ stopped = true;
+ };
+
+ // Create the function that marks the event as canceled.
+ var canceled = false;
+ var cancelEvent = function()
+ {
+ canceled = true;
+ };
+
+ return function( eventName, data, editor )
+ {
+ // Get the event entry.
+ var event = getPrivate( this )[ eventName ];
+
+ // Save the previous stopped and cancelled states. We may
+ // be nesting fire() calls.
+ var previousStopped = stopped,
+ previousCancelled = canceled;
+
+ // Reset the stopped and canceled flags.
+ stopped = canceled = false;
+
+ if ( event )
+ {
+ var listeners = event.listeners;
+
+ if ( listeners.length )
+ {
+ // As some listeners may remove themselves from the
+ // event, the original array length is dinamic. So,
+ // let's make a copy of all listeners, so we are
+ // sure we'll call all of them.
+ listeners = listeners.slice( 0 );
+
+ // Loop through all listeners.
+ for ( var i = 0 ; i < listeners.length ; i++ )
+ {
+ // Call the listener, passing the event data.
+ var retData = listeners[i].call( this, editor, data, stopEvent, cancelEvent );
+
+ if ( typeof retData != 'undefined' )
+ data = retData;
+
+ // No further calls is stopped or canceled.
+ if ( stopped || canceled )
+ break;
+ }
+ }
+ }
+
+ var ret = canceled || ( typeof data == 'undefined' ? false : data );
+
+ // Restore the previous stopped and canceled states.
+ stopped = previousStopped;
+ canceled = previousCancelled;
+
+ return ret;
+ };
+ })(),
+
+ /**
+ * Fires an specific event in the object, releasing all listeners
+ * registered to that event. The same listeners are not called again on
+ * successive calls of it or of {@link #fire}.
+ * @param {String} eventName The event name to fire.
+ * @param {Object} [data] Data to be sent as the
+ * {@link CKEDITOR.eventInfo#data} when calling the
+ * listeners.
+ * @param {CKEDITOR.editor} [editor] The editor instance to send as the
+ * {@link CKEDITOR.eventInfo#editor} when calling the
+ * listener.
+ * @returns {Boolean|Object} A booloan indicating that the event is to be
+ * canceled, or data returned by one of the listeners.
+ * @example
+ * someObject.on( 'someEvent', function() { ... } );
+ * someObject.fire( 'someEvent' ); // above listener called
+ * <b>someObject.fireOnce( 'someEvent' )</b>; // above listener called
+ * someObject.fire( 'someEvent' ); // no listeners called
+ */
+ fireOnce : function( eventName, data, editor )
+ {
+ var ret = this.fire( eventName, data, editor );
+ delete getPrivate( this )[ eventName ];
+ return ret;
+ },
+
+ /**
+ * Unregisters a listener function from being called at the specified
+ * event. No errors are thrown if the listener has not been
+ * registered previously.
+ * @param {String} eventName The event name.
+ * @param {Function} listenerFunction The listener function to unregister.
+ * @example
+ * var myListener = function() { ... };
+ * someObject.on( 'someEvent', myListener );
+ * someObject.fire( 'someEvent' ); // myListener called
+ * <b>someObject.removeListener( 'someEvent', myListener )</b>;
+ * someObject.fire( 'someEvent' ); // myListener not called
+ */
+ removeListener : function( eventName, listenerFunction )
+ {
+ // Get the event entry.
+ var event = getPrivate( this )[ eventName ];
+
+ if ( event )
+ {
+ var index = event.getListenerIndex( listenerFunction );
+ if ( index >= 0 )
+ event.listeners.splice( index, 1 );
+ }
+ },
+
+ /**
+ * Checks if there is any listener registered to a given event.
+ * @param {String} eventName The event name.
+ * @example
+ * var myListener = function() { ... };
+ * someObject.on( 'someEvent', myListener );
+ * alert( someObject.<b>hasListeners( 'someEvent' )</b> ); // "true"
+ * alert( someObject.<b>hasListeners( 'noEvent' )</b> ); // "false"
+ */
+ hasListeners : function( eventName )
+ {
+ var event = getPrivate( this )[ eventName ];
+ return ( event && event.listeners.length > 0 ) ;
+ }
+ };
+ })();
+}
diff --git a/devel/third-party/ckeditor/core/eventInfo.js b/devel/third-party/ckeditor/core/eventInfo.js
new file mode 100644
index 0000000..dbeca5c
--- /dev/null
+++ b/devel/third-party/ckeditor/core/eventInfo.js
@@ -0,0 +1,120 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.eventInfo} class, which
+ * contains the defintions of the event object passed to event listeners.
+ * This file is for documentation purposes only.
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the features
+ * of the event object passed to event listeners by a {@link CKEDITOR.event}
+ * based object.
+ * @name CKEDITOR.eventInfo
+ * @constructor
+ * @example
+ * // Do not do this.
+ * var myEvent = new CKEDITOR.eventInfo(); // Error: CKEDITOR.eventInfo is undefined
+ */
+
+/**
+ * The event name.
+ * @name CKEDITOR.eventInfo.prototype.name
+ * @field
+ * @type String
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * alert( <b>event.name</b> ); // "someEvent"
+ * });
+ * someObject.fire( 'someEvent' );
+ */
+
+/**
+ * The object that publishes (sends) the event.
+ * @name CKEDITOR.eventInfo.prototype.sender
+ * @field
+ * @type Object
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * alert( <b>event.sender</b> == someObject ); // "true"
+ * });
+ * someObject.fire( 'someEvent' );
+ */
+
+/**
+ * The editor instance that holds the sender. May be the same as sender. May be
+ * null if the sender is not part of an editor instance, like a component
+ * running in standalone mode.
+ * @name CKEDITOR.eventInfo.prototype.editor
+ * @field
+ * @type CKEDITOR.editor
+ * @example
+ * myButton.on( 'someEvent', function( event )
+ * {
+ * alert( <b>event.editor</b> == myEditor ); // "true"
+ * });
+ * myButton.fire( 'someEvent', null, <b>myEditor</b> );
+ */
+
+/**
+ * Any kind of additional data. Its format and usage is event dependent.
+ * @name CKEDITOR.eventInfo.prototype.data
+ * @field
+ * @type Object
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * alert( <b>event.data</b> ); // "Example"
+ * });
+ * someObject.fire( 'someEvent', <b>'Example'</b> );
+ */
+
+/**
+ * Any extra data appended during the listener registration.
+ * @name CKEDITOR.eventInfo.prototype.listenerData
+ * @field
+ * @type Object
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * alert( <b>event.listenerData</b> ); // "Example"
+ * }
+ * , null, <b>'Example'</b> );
+ */
+
+/**
+ * Indicates that no further listeners are to be called.
+ * @name CKEDITOR.eventInfo.prototype.stop
+ * @function
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * <b>event.stop()</b>;
+ * });
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * // This one will not be called.
+ * });
+ * alert( someObject.fire( 'someEvent' ) ); // "false"
+ */
+
+/**
+ * Indicates that the event is to be cancelled (if cancelable).
+ * @name CKEDITOR.eventInfo.prototype.cancel
+ * @function
+ * @example
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * <b>event.cancel()</b>;
+ * });
+ * someObject.on( 'someEvent', function( event )
+ * {
+ * // This one will not be called.
+ * });
+ * alert( someObject.fire( 'someEvent' ) ); // "true"
+ */
diff --git a/devel/third-party/ckeditor/core/focusmanager.js b/devel/third-party/ckeditor/core/focusmanager.js
new file mode 100644
index 0000000..933c3cf
--- /dev/null
+++ b/devel/third-party/ckeditor/core/focusmanager.js
@@ -0,0 +1,137 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.focusManager} class, which is used
+ * to handle the focus on editor instances..
+ */
+
+/**
+ * Manages the focus activity in an editor instance. This class is to be used
+ * mainly by UI elements coders when adding interface elements to CKEditor.
+ * @constructor
+ * @param {CKEDITOR.editor} editor The editor instance.
+ * @example
+ */
+CKEDITOR.focusManager = function( editor )
+{
+ if ( editor.focusManager )
+ return editor.focusManager;
+
+ /**
+ * Indicates that the editor instance has focus.
+ * @type Boolean
+ * @example
+ * alert( CKEDITOR.instances.editor1.focusManager.hasFocus ); // e.g "true"
+ */
+ this.hasFocus = false;
+
+ /**
+ * Object used to hold private stuff.
+ * @private
+ */
+ this._ =
+ {
+ editor : editor
+ };
+
+ return this;
+};
+
+CKEDITOR.focusManager.prototype =
+{
+ /**
+ * Indicates that the editor instance has the focus.
+ *
+ * This function is not used to set the focus in the editor. Use
+ * {@link CKEDITOR.editor#focus} for it instead.
+ * @example
+ * var editor = CKEDITOR.instances.editor1;
+ * <b>editor.focusManager.focus()</b>;
+ */
+ focus : function()
+ {
+ if ( this._.timer )
+ clearTimeout( this._.timer );
+
+ if ( !this.hasFocus )
+ {
+ // If another editor has the current focus, we first "blur" it. In
+ // this way the events happen in a more logical sequence, like:
+ // "focus 1" > "blur 1" > "focus 2"
+ // ... instead of:
+ // "focus 1" > "focus 2" > "blur 1"
+ if ( CKEDITOR.currentInstance )
+ CKEDITOR.currentInstance.focusManager.forceBlur();
+
+ var editor = this._.editor;
+
+ editor.container.getChild( 1 ).addClass( 'cke_focus' );
+
+ this.hasFocus = true;
+ editor.fire( 'focus' );
+ }
+ },
+
+ /**
+ * Indicates that the editor instance has lost the focus. Note that this
+ * functions acts asynchronously with a delay of 100ms to avoid subsequent
+ * blur/focus effects. If you want the "blur" to happen immediately, use
+ * the {@link #forceBlur} function instead.
+ * @example
+ * var editor = CKEDITOR.instances.editor1;
+ * <b>editor.focusManager.blur()</b>;
+ */
+ blur : function()
+ {
+ var focusManager = this;
+
+ if ( focusManager._.timer )
+ clearTimeout( focusManager._.timer );
+
+ focusManager._.timer = setTimeout(
+ function()
+ {
+ delete focusManager._.timer;
+ focusManager.forceBlur();
+ }
+ , 100 );
+ },
+
+ /**
+ * Indicates that the editor instance has lost the focus. Unlike
+ * {@link #blur}, this function is synchronous, marking the instance as
+ * "blured" immediately.
+ * @example
+ * var editor = CKEDITOR.instances.editor1;
+ * <b>editor.focusManager.forceBlur()</b>;
+ */
+ forceBlur : function()
+ {
+ if ( this.hasFocus )
+ {
+ var editor = this._.editor;
+
+ editor.container.getChild( 1 ).removeClass( 'cke_focus' );
+
+ this.hasFocus = false;
+ editor.fire( 'blur' );
+ }
+ }
+};
+
+/**
+ * Fired when the editor instance receives the input focus.
+ * @name CKEDITOR.editor#focus
+ * @event
+ * @param {CKEDITOR.editor} editor The editor instance.
+ */
+
+/**
+ * Fired when the editor instance loses the input focus.
+ * @name CKEDITOR.editor#blur
+ * @event
+ * @param {CKEDITOR.editor} editor The editor instance.
+ */
diff --git a/devel/third-party/ckeditor/core/htmlparser.js b/devel/third-party/ckeditor/core/htmlparser.js
new file mode 100644
index 0000000..acd5ef5
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser.js
@@ -0,0 +1,218 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * HTML text parser.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser = function()
+{
+ this._ =
+ {
+ htmlPartsRegex : new RegExp( '<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s*((?:(?:[^"\'>]+)|(?:"[^"]*")|(?:\'[^\']*\'))*)\\/?>))', 'g' )
+ };
+};
+
+(function()
+{
+ var attribsRegex = /([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,
+ emptyAttribs = {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};
+
+ CKEDITOR.htmlParser.prototype =
+ {
+ /**
+ * Function to be fired when a tag opener is found. This function
+ * should be overriden when using this class.
+ * @param {String} tagName The tag name. The name is guarantted to be
+ * lowercased.
+ * @param {Object} attributes An object containing all tag attributes. Each
+ * property in this object represent and attribute name and its
+ * value is the attribute value.
+ * @param {Boolean} selfClosing true if the tag closes itself, false if the
+ * tag doesn't.
+ * @example
+ * var parser = new CKEDITOR.htmlParser();
+ * parser.onTagOpen = function( tagName, attributes, selfClosing )
+ * {
+ * alert( tagName ); // e.g. "b"
+ * });
+ * parser.parse( "<!-- Example --><b>Hello</b>" );
+ */
+ onTagOpen : function() {},
+
+ /**
+ * Function to be fired when a tag closer is found. This function
+ * should be overriden when using this class.
+ * @param {String} tagName The tag name. The name is guarantted to be
+ * lowercased.
+ * @example
+ * var parser = new CKEDITOR.htmlParser();
+ * parser.onTagClose = function( tagName )
+ * {
+ * alert( tagName ); // e.g. "b"
+ * });
+ * parser.parse( "<!-- Example --><b>Hello</b>" );
+ */
+ onTagClose : function() {},
+
+ /**
+ * Function to be fired when text is found. This function
+ * should be overriden when using this class.
+ * @param {String} text The text found.
+ * @example
+ * var parser = new CKEDITOR.htmlParser();
+ * parser.onText = function( text )
+ * {
+ * alert( text ); // e.g. "Hello"
+ * });
+ * parser.parse( "<!-- Example --><b>Hello</b>" );
+ */
+ onText : function() {},
+
+ /**
+ * Function to be fired when CDATA section is found. This function
+ * should be overriden when using this class.
+ * @param {String} cdata The CDATA been found.
+ * @example
+ * var parser = new CKEDITOR.htmlParser();
+ * parser.onCDATA = function( cdata )
+ * {
+ * alert( cdata ); // e.g. "var hello;"
+ * });
+ * parser.parse( "<script>var hello;</script>" );
+ */
+ onCDATA : function() {},
+
+ /**
+ * Function to be fired when a commend is found. This function
+ * should be overriden when using this class.
+ * @param {String} comment The comment text.
+ * @example
+ * var parser = new CKEDITOR.htmlParser();
+ * parser.onText = function( comment )
+ * {
+ * alert( comment ); // e.g. " Example "
+ * });
+ * parser.parse( "<!-- Example --><b>Hello</b>" );
+ */
+ onComment : function() {},
+
+ /**
+ * Parses text, looking for HTML tokens, like tag openers or closers,
+ * or comments. This function fires the onTagOpen, onTagClose, onText
+ * and onComment function during its execution.
+ * @param {String} html The HTML to be parsed.
+ * @example
+ * var parser = new CKEDITOR.htmlParser();
+ * // The onTagOpen, onTagClose, onText and onComment should be overriden
+ * // at this point.
+ * parser.parse( "<!-- Example --><b>Hello</b>" );
+ */
+ parse : function( html )
+ {
+ var parts,
+ tagName,
+ nextIndex = 0,
+ cdata; // The collected data inside a CDATA section.
+
+ while ( ( parts = this._.htmlPartsRegex.exec( html ) ) )
+ {
+ var tagIndex = parts.index;
+ if ( tagIndex > nextIndex )
+ {
+ var text = html.substring( nextIndex, tagIndex );
+
+ if ( cdata )
+ cdata.push( text );
+ else
+ this.onText( text );
+ }
+
+ nextIndex = this._.htmlPartsRegex.lastIndex;
+
+ /*
+ "parts" is an array with the following items:
+ 0 : The entire match for opening/closing tags and comments.
+ 1 : Group filled with the tag name for closing tags.
+ 2 : Group filled with the comment text.
+ 3 : Group filled with the tag name for opening tags.
+ 4 : Group filled with the attributes part of opening tags.
+ */
+
+ // Closing tag
+ if ( ( tagName = parts[ 1 ] ) )
+ {
+ tagName = tagName.toLowerCase();
+
+ if ( cdata && CKEDITOR.dtd.$cdata[ tagName ] )
+ {
+ // Send the CDATA data.
+ this.onCDATA( cdata.join('') );
+ cdata = null;
+ }
+
+ if ( !cdata )
+ {
+ this.onTagClose( tagName );
+ continue;
+ }
+ }
+
+ // If CDATA is enabled, just save the raw match.
+ if ( cdata )
+ {
+ cdata.push( parts[ 0 ] );
+ continue;
+ }
+
+ // Opening tag
+ if ( ( tagName = parts[ 3 ] ) )
+ {
+ tagName = tagName.toLowerCase();
+
+ // There are some tag names that can break things, so let's
+ // simply ignore them when parsing. (#5224)
+ if ( /="/.test( tagName ) )
+ continue;
+
+ var attribs = {},
+ attribMatch,
+ attribsPart = parts[ 4 ],
+ selfClosing = !!( attribsPart && attribsPart.charAt( attribsPart.length - 1 ) == '/' );
+
+ if ( attribsPart )
+ {
+ while ( ( attribMatch = attribsRegex.exec( attribsPart ) ) )
+ {
+ var attName = attribMatch[1].toLowerCase(),
+ attValue = attribMatch[2] || attribMatch[3] || attribMatch[4] || '';
+
+ if ( !attValue && emptyAttribs[ attName ] )
+ attribs[ attName ] = attName;
+ else
+ attribs[ attName ] = attValue;
+ }
+ }
+
+ this.onTagOpen( tagName, attribs, selfClosing );
+
+ // Open CDATA mode when finding the appropriate tags.
+ if ( !cdata && CKEDITOR.dtd.$cdata[ tagName ] )
+ cdata = [];
+
+ continue;
+ }
+
+ // Comment
+ if ( ( tagName = parts[ 2 ] ) )
+ this.onComment( tagName );
+ }
+
+ if ( html.length > nextIndex )
+ this.onText( html.substring( nextIndex, html.length ) );
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/htmlparser/basicwriter.js b/devel/third-party/ckeditor/core/htmlparser/basicwriter.js
new file mode 100644
index 0000000..3a0231c
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser/basicwriter.js
@@ -0,0 +1,145 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.htmlParser.basicWriter = CKEDITOR.tools.createClass(
+{
+ $ : function()
+ {
+ this._ =
+ {
+ output : []
+ };
+ },
+
+ proto :
+ {
+ /**
+ * Writes the tag opening part for a opener tag.
+ * @param {String} tagName The element name for this tag.
+ * @param {Object} attributes The attributes defined for this tag. The
+ * attributes could be used to inspect the tag.
+ * @example
+ * // Writes "<p".
+ * writer.openTag( 'p', { class : 'MyClass', id : 'MyId' } );
+ */
+ openTag : function( tagName, attributes )
+ {
+ this._.output.push( '<', tagName );
+ },
+
+ /**
+ * Writes the tag closing part for a opener tag.
+ * @param {String} tagName The element name for this tag.
+ * @param {Boolean} isSelfClose Indicates that this is a self-closing tag,
+ * like "br" or "img".
+ * @example
+ * // Writes ">".
+ * writer.openTagClose( 'p', false );
+ * @example
+ * // Writes " />".
+ * writer.openTagClose( 'br', true );
+ */
+ openTagClose : function( tagName, isSelfClose )
+ {
+ if ( isSelfClose )
+ this._.output.push( ' />' );
+ else
+ this._.output.push( '>' );
+ },
+
+ /**
+ * Writes an attribute. This function should be called after opening the
+ * tag with {@link #openTagClose}.
+ * @param {String} attName The attribute name.
+ * @param {String} attValue The attribute value.
+ * @example
+ * // Writes ' class="MyClass"'.
+ * writer.attribute( 'class', 'MyClass' );
+ */
+ attribute : function( attName, attValue )
+ {
+ // Browsers don't always escape special character in attribute values. (#4683, #4719).
+ if ( typeof attValue == 'string' )
+ attValue = CKEDITOR.tools.htmlEncodeAttr( attValue );
+
+ this._.output.push( ' ', attName, '="', attValue, '"' );
+ },
+
+ /**
+ * Writes a closer tag.
+ * @param {String} tagName The element name for this tag.
+ * @example
+ * // Writes "</p>".
+ * writer.closeTag( 'p' );
+ */
+ closeTag : function( tagName )
+ {
+ this._.output.push( '</', tagName, '>' );
+ },
+
+ /**
+ * Writes text.
+ * @param {String} text The text value
+ * @example
+ * // Writes "Hello Word".
+ * writer.text( 'Hello Word' );
+ */
+ text : function( text )
+ {
+ this._.output.push( text );
+ },
+
+ /**
+ * Writes a comment.
+ * @param {String} comment The comment text.
+ * @example
+ * // Writes "<!-- My comment -->".
+ * writer.comment( ' My comment ' );
+ */
+ comment : function( comment )
+ {
+ this._.output.push( '<!--', comment, '-->' );
+ },
+
+ /**
+ * Writes any kind of data to the ouput.
+ * @example
+ * writer.write( 'This is an <b>example</b>.' );
+ */
+ write : function( data )
+ {
+ this._.output.push( data );
+ },
+
+ /**
+ * Empties the current output buffer.
+ * @example
+ * writer.reset();
+ */
+ reset : function()
+ {
+ this._.output = [];
+ this._.indent = false;
+ },
+
+ /**
+ * Empties the current output buffer.
+ * @param {Boolean} reset Indicates that the {@link reset} function is to
+ * be automatically called after retrieving the HTML.
+ * @returns {String} The HTML written to the writer so far.
+ * @example
+ * var html = writer.getHtml();
+ */
+ getHtml : function( reset )
+ {
+ var html = this._.output.join( '' );
+
+ if ( reset )
+ this.reset();
+
+ return html;
+ }
+ }
+});
diff --git a/devel/third-party/ckeditor/core/htmlparser/cdata.js b/devel/third-party/ckeditor/core/htmlparser/cdata.js
new file mode 100644
index 0000000..ff2f227
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser/cdata.js
@@ -0,0 +1,43 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+
+ /**
+ * A lightweight representation of HTML text.
+ * @constructor
+ * @example
+ */
+ CKEDITOR.htmlParser.cdata = function( value )
+ {
+ /**
+ * The CDATA value.
+ * @type String
+ * @example
+ */
+ this.value = value;
+ };
+
+ CKEDITOR.htmlParser.cdata.prototype =
+ {
+ /**
+ * CDATA has the same type as {@link CKEDITOR.htmlParser.text} This is
+ * a constant value set to {@link CKEDITOR.NODE_TEXT}.
+ * @type Number
+ * @example
+ */
+ type : CKEDITOR.NODE_TEXT,
+
+ /**
+ * Writes write the CDATA with no special manipulations.
+ * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+ */
+ writeHtml : function( writer )
+ {
+ writer.write( this.value );
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/htmlparser/comment.js b/devel/third-party/ckeditor/core/htmlparser/comment.js
new file mode 100644
index 0000000..67830d9
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser/comment.js
@@ -0,0 +1,60 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * A lightweight representation of an HTML comment.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser.comment = function( value )
+{
+ /**
+ * The comment text.
+ * @type String
+ * @example
+ */
+ this.value = value;
+
+ /** @private */
+ this._ =
+ {
+ isBlockLike : false
+ };
+};
+
+CKEDITOR.htmlParser.comment.prototype =
+{
+ /**
+ * The node type. This is a constant value set to {@link CKEDITOR.NODE_COMMENT}.
+ * @type Number
+ * @example
+ */
+ type : CKEDITOR.NODE_COMMENT,
+
+ /**
+ * Writes the HTML representation of this comment to a CKEDITOR.htmlWriter.
+ * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+ * @example
+ */
+ writeHtml : function( writer, filter )
+ {
+ var comment = this.value;
+
+ if ( filter )
+ {
+ if ( !( comment = filter.onComment( comment, this ) ) )
+ return;
+
+ if ( typeof comment != 'string' )
+ {
+ comment.parent = this.parent;
+ comment.writeHtml( writer, filter );
+ return;
+ }
+ }
+
+ writer.comment( comment );
+ }
+};
diff --git a/devel/third-party/ckeditor/core/htmlparser/element.js b/devel/third-party/ckeditor/core/htmlparser/element.js
new file mode 100644
index 0000000..69bacda
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser/element.js
@@ -0,0 +1,240 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * A lightweight representation of an HTML element.
+ * @param {String} name The element name.
+ * @param {Object} attributes And object holding all attributes defined for
+ * this element.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser.element = function( name, attributes )
+{
+ /**
+ * The element name.
+ * @type String
+ * @example
+ */
+ this.name = name;
+
+ /**
+ * Holds the attributes defined for this element.
+ * @type Object
+ * @example
+ */
+ this.attributes = attributes || ( attributes = {} );
+
+ /**
+ * The nodes that are direct children of this element.
+ * @type Array
+ * @example
+ */
+ this.children = [];
+
+ var tagName = attributes._cke_real_element_type || name;
+
+ var dtd = CKEDITOR.dtd,
+ isBlockLike = !!( dtd.$nonBodyContent[ tagName ] || dtd.$block[ tagName ] || dtd.$listItem[ tagName ] || dtd.$tableContent[ tagName ] || dtd.$nonEditable[ tagName ] || tagName == 'br' ),
+ isEmpty = !!dtd.$empty[ name ];
+
+ this.isEmpty = isEmpty;
+ this.isUnknown = !dtd[ name ];
+
+ /** @private */
+ this._ =
+ {
+ isBlockLike : isBlockLike,
+ hasInlineStarted : isEmpty || !isBlockLike
+ };
+};
+
+(function()
+{
+ // Used to sort attribute entries in an array, where the first element of
+ // each object is the attribute name.
+ var sortAttribs = function( a, b )
+ {
+ a = a[0];
+ b = b[0];
+ return a < b ? -1 : a > b ? 1 : 0;
+ };
+
+ CKEDITOR.htmlParser.element.prototype =
+ {
+ /**
+ * The node type. This is a constant value set to {@link CKEDITOR.NODE_ELEMENT}.
+ * @type Number
+ * @example
+ */
+ type : CKEDITOR.NODE_ELEMENT,
+
+ /**
+ * Adds a node to the element children list.
+ * @param {Object} node The node to be added. It can be any of of the
+ * following types: {@link CKEDITOR.htmlParser.element},
+ * {@link CKEDITOR.htmlParser.text} and
+ * {@link CKEDITOR.htmlParser.comment}.
+ * @function
+ * @example
+ */
+ add : CKEDITOR.htmlParser.fragment.prototype.add,
+
+ /**
+ * Clone this element.
+ * @returns {CKEDITOR.htmlParser.element} The element clone.
+ * @example
+ */
+ clone : function()
+ {
+ return new CKEDITOR.htmlParser.element( this.name, this.attributes );
+ },
+
+ /**
+ * Writes the element HTML to a CKEDITOR.htmlWriter.
+ * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+ * @example
+ */
+ writeHtml : function( writer, filter )
+ {
+ var attributes = this.attributes;
+
+ // Ignore cke: prefixes when writing HTML.
+ var element = this,
+ writeName = element.name,
+ a, newAttrName, value;
+
+ var isChildrenFiltered;
+
+ /**
+ * Providing an option for bottom-up filtering order ( element
+ * children to be pre-filtered before the element itself ).
+ */
+ element.filterChildren = function()
+ {
+ if ( !isChildrenFiltered )
+ {
+ var writer = new CKEDITOR.htmlParser.basicWriter();
+ CKEDITOR.htmlParser.fragment.prototype.writeChildrenHtml.call( element, writer, filter );
+ element.children = new CKEDITOR.htmlParser.fragment.fromHtml( writer.getHtml() ).children;
+ isChildrenFiltered = 1;
+ }
+ };
+
+ if ( filter )
+ {
+ while ( true )
+ {
+ if ( !( writeName = filter.onElementName( writeName ) ) )
+ return;
+
+ element.name = writeName;
+
+ if ( !( element = filter.onElement( element ) ) )
+ return;
+
+ element.parent = this.parent;
+
+ if ( element.name == writeName )
+ break;
+
+ // If the element has been replaced with something of a
+ // different type, then make the replacement write itself.
+ if ( element.type != CKEDITOR.NODE_ELEMENT )
+ {
+ element.writeHtml( writer, filter );
+ return;
+ }
+
+ writeName = element.name;
+
+ // This indicate that the element has been dropped by
+ // filter but not the children.
+ if ( !writeName )
+ {
+ this.writeChildrenHtml.call( element, writer, isChildrenFiltered ? null : filter );
+ return;
+ }
+ }
+
+ // The element may have been changed, so update the local
+ // references.
+ attributes = element.attributes;
+ }
+
+ // Open element tag.
+ writer.openTag( writeName, attributes );
+
+ // Copy all attributes to an array.
+ var attribsArray = [];
+ // Iterate over the attributes twice since filters may alter
+ // other attributes.
+ for ( var i = 0 ; i < 2; i++ )
+ {
+ for ( a in attributes )
+ {
+ newAttrName = a;
+ value = attributes[ a ];
+ if ( i == 1 )
+ attribsArray.push( [ a, value ] );
+ else if ( filter )
+ {
+ while ( true )
+ {
+ if ( !( newAttrName = filter.onAttributeName( a ) ) )
+ {
+ delete attributes[ a ];
+ break;
+ }
+ else if ( newAttrName != a )
+ {
+ delete attributes[ a ];
+ a = newAttrName;
+ continue;
+ }
+ else
+ break;
+ }
+ if ( newAttrName )
+ {
+ if ( ( value = filter.onAttribute( element, newAttrName, value ) ) === false )
+ delete attributes[ newAttrName ];
+ else
+ attributes [ newAttrName ] = value;
+ }
+ }
+ }
+ }
+ // Sort the attributes by name.
+ if ( writer.sortAttributes )
+ attribsArray.sort( sortAttribs );
+
+ // Send the attributes.
+ var len = attribsArray.length;
+ for ( i = 0 ; i < len ; i++ )
+ {
+ var attrib = attribsArray[ i ];
+ writer.attribute( attrib[0], attrib[1] );
+ }
+
+ // Close the tag.
+ writer.openTagClose( writeName, element.isEmpty );
+
+ if ( !element.isEmpty )
+ {
+ this.writeChildrenHtml.call( element, writer, isChildrenFiltered ? null : filter );
+ // Close the element.
+ writer.closeTag( writeName );
+ }
+ },
+
+ writeChildrenHtml : function( writer, filter )
+ {
+ // Send children.
+ CKEDITOR.htmlParser.fragment.prototype.writeChildrenHtml.apply( this, arguments );
+
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/htmlparser/filter.js b/devel/third-party/ckeditor/core/htmlparser/filter.js
new file mode 100644
index 0000000..5d16292
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser/filter.js
@@ -0,0 +1,288 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ CKEDITOR.htmlParser.filter = CKEDITOR.tools.createClass(
+ {
+ $ : function( rules )
+ {
+ this._ =
+ {
+ elementNames : [],
+ attributeNames : [],
+ elements : { $length : 0 },
+ attributes : { $length : 0 }
+ };
+
+ if ( rules )
+ this.addRules( rules, 10 );
+ },
+
+ proto :
+ {
+ addRules : function( rules, priority )
+ {
+ if ( typeof priority != 'number' )
+ priority = 10;
+
+ // Add the elementNames.
+ addItemsToList( this._.elementNames, rules.elementNames, priority );
+
+ // Add the attributeNames.
+ addItemsToList( this._.attributeNames, rules.attributeNames, priority );
+
+ // Add the elements.
+ addNamedItems( this._.elements, rules.elements, priority );
+
+ // Add the attributes.
+ addNamedItems( this._.attributes, rules.attributes, priority );
+
+ // Add the text.
+ this._.text = transformNamedItem( this._.text, rules.text, priority ) || this._.text;
+
+ // Add the comment.
+ this._.comment = transformNamedItem( this._.comment, rules.comment, priority ) || this._.comment;
+
+ // Add root fragment.
+ this._.root = transformNamedItem( this._.root, rules.root, priority ) || this._.root;
+ },
+
+ onElementName : function( name )
+ {
+ return filterName( name, this._.elementNames );
+ },
+
+ onAttributeName : function( name )
+ {
+ return filterName( name, this._.attributeNames );
+ },
+
+ onText : function( text )
+ {
+ var textFilter = this._.text;
+ return textFilter ? textFilter.filter( text ) : text;
+ },
+
+ onComment : function( commentText, comment )
+ {
+ var textFilter = this._.comment;
+ return textFilter ? textFilter.filter( commentText, comment ) : commentText;
+ },
+
+ onFragment : function( element )
+ {
+ var rootFilter = this._.root;
+ return rootFilter ? rootFilter.filter( element ) : element;
+ },
+
+ onElement : function( element )
+ {
+ // We must apply filters set to the specific element name as
+ // well as those set to the generic $ name. So, add both to an
+ // array and process them in a small loop.
+ var filters = [ this._.elements[ '^' ], this._.elements[ element.name ], this._.elements.$ ],
+ filter, ret;
+
+ for ( var i = 0 ; i < 3 ; i++ )
+ {
+ filter = filters[ i ];
+ if ( filter )
+ {
+ ret = filter.filter( element, this );
+
+ if ( ret === false )
+ return null;
+
+ if ( ret && ret != element )
+ return this.onNode( ret );
+
+ // The non-root element has been dismissed by one of the filters.
+ if ( element.parent && !element.name )
+ break;
+ }
+ }
+
+ return element;
+ },
+
+ onNode : function( node )
+ {
+ var type = node.type;
+
+ return type == CKEDITOR.NODE_ELEMENT ? this.onElement( node ) :
+ type == CKEDITOR.NODE_TEXT ? new CKEDITOR.htmlParser.text( this.onText( node.value ) ) :
+ type == CKEDITOR.NODE_COMMENT ? new CKEDITOR.htmlParser.comment( this.onComment( node.value ) ):
+ null;
+ },
+
+ onAttribute : function( element, name, value )
+ {
+ var filter = this._.attributes[ name ];
+
+ if ( filter )
+ {
+ var ret = filter.filter( value, element, this );
+
+ if ( ret === false )
+ return false;
+
+ if ( typeof ret != 'undefined' )
+ return ret;
+ }
+
+ return value;
+ }
+ }
+ });
+
+ function filterName( name, filters )
+ {
+ for ( var i = 0 ; name && i < filters.length ; i++ )
+ {
+ var filter = filters[ i ];
+ name = name.replace( filter[ 0 ], filter[ 1 ] );
+ }
+ return name;
+ }
+
+ function addItemsToList( list, items, priority )
+ {
+ if ( typeof items == 'function' )
+ items = [ items ];
+
+ var i, j,
+ listLength = list.length,
+ itemsLength = items && items.length;
+
+ if ( itemsLength )
+ {
+ // Find the index to insert the items at.
+ for ( i = 0 ; i < listLength && list[ i ].pri < priority ; i++ )
+ { /*jsl:pass*/ }
+
+ // Add all new items to the list at the specific index.
+ for ( j = itemsLength - 1 ; j >= 0 ; j-- )
+ {
+ var item = items[ j ];
+ if ( item )
+ {
+ item.pri = priority;
+ list.splice( i, 0, item );
+ }
+ }
+ }
+ }
+
+ function addNamedItems( hashTable, items, priority )
+ {
+ if ( items )
+ {
+ for ( var name in items )
+ {
+ var current = hashTable[ name ];
+
+ hashTable[ name ] =
+ transformNamedItem(
+ current,
+ items[ name ],
+ priority );
+
+ if ( !current )
+ hashTable.$length++;
+ }
+ }
+ }
+
+ function transformNamedItem( current, item, priority )
+ {
+ if ( item )
+ {
+ item.pri = priority;
+
+ if ( current )
+ {
+ // If the current item is not an Array, transform it.
+ if ( !current.splice )
+ {
+ if ( current.pri > priority )
+ current = [ item, current ];
+ else
+ current = [ current, item ];
+
+ current.filter = callItems;
+ }
+ else
+ addItemsToList( current, item, priority );
+
+ return current;
+ }
+ else
+ {
+ item.filter = item;
+ return item;
+ }
+ }
+ }
+
+ // Invoke filters sequentially on the array, break the iteration
+ // when it doesn't make sense to continue anymore.
+ function callItems( currentEntry )
+ {
+ var isNode = currentEntry.type
+ || currentEntry instanceof CKEDITOR.htmlParser.fragment;
+
+ for ( var i = 0 ; i < this.length ; i++ )
+ {
+ // Backup the node info before filtering.
+ if ( isNode )
+ {
+ var orgType = currentEntry.type,
+ orgName = currentEntry.name;
+ }
+
+ var item = this[ i ],
+ ret = item.apply( window, arguments );
+
+ if ( ret === false )
+ return ret;
+
+ // We're filtering node (element/fragment).
+ if ( isNode )
+ {
+ // No further filtering if it's not anymore
+ // fitable for the subsequent filters.
+ if ( ret && ( ret.name != orgName
+ || ret.type != orgType ) )
+ {
+ return ret;
+ }
+ }
+ // Filtering value (nodeName/textValue/attrValue).
+ else
+ {
+ // No further filtering if it's not
+ // any more values.
+ if ( typeof ret != 'string' )
+ return ret;
+ }
+
+ ret != undefined && ( currentEntry = ret );
+ }
+
+ return currentEntry;
+ }
+})();
+
+// "entities" plugin
+/*
+{
+ text : function( text )
+ {
+ // TODO : Process entities.
+ return text.toUpperCase();
+ }
+};
+*/
diff --git a/devel/third-party/ckeditor/core/htmlparser/fragment.js b/devel/third-party/ckeditor/core/htmlparser/fragment.js
new file mode 100644
index 0000000..d31b050
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser/fragment.js
@@ -0,0 +1,497 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * A lightweight representation of an HTML DOM structure.
+ * @constructor
+ * @example
+ */
+CKEDITOR.htmlParser.fragment = function()
+{
+ /**
+ * The nodes contained in the root of this fragment.
+ * @type Array
+ * @example
+ * var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '<b>Sample</b> Text' );
+ * alert( fragment.children.length ); "2"
+ */
+ this.children = [];
+
+ /**
+ * Get the fragment parent. Should always be null.
+ * @type Object
+ * @default null
+ * @example
+ */
+ this.parent = null;
+
+ /** @private */
+ this._ =
+ {
+ isBlockLike : true,
+ hasInlineStarted : false
+ };
+};
+
+(function()
+{
+ // Elements which the end tag is marked as optional in the HTML 4.01 DTD
+ // (expect empty elements).
+ var optionalClose = {colgroup:1,dd:1,dt:1,li:1,option:1,p:1,td:1,tfoot:1,th:1,thead:1,tr:1};
+
+ // Block-level elements whose internal structure should be respected during
+ // parser fixing.
+ var nonBreakingBlocks = CKEDITOR.tools.extend(
+ {table:1,ul:1,ol:1,dl:1},
+ CKEDITOR.dtd.table, CKEDITOR.dtd.ul, CKEDITOR.dtd.ol, CKEDITOR.dtd.dl ),
+ listBlocks = CKEDITOR.dtd.$list, listItems = CKEDITOR.dtd.$listItem;
+
+ /**
+ * Creates a {@link CKEDITOR.htmlParser.fragment} from an HTML string.
+ * @param {String} fragmentHtml The HTML to be parsed, filling the fragment.
+ * @param {Number} [fixForBody=false] Wrap body with specified element if needed.
+ * @returns CKEDITOR.htmlParser.fragment The fragment created.
+ * @example
+ * var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '<b>Sample</b> Text' );
+ * alert( fragment.children[0].name ); "b"
+ * alert( fragment.children[1].value ); " Text"
+ */
+ CKEDITOR.htmlParser.fragment.fromHtml = function( fragmentHtml, fixForBody )
+ {
+ var parser = new CKEDITOR.htmlParser(),
+ html = [],
+ fragment = new CKEDITOR.htmlParser.fragment(),
+ pendingInline = [],
+ pendingBRs = [],
+ currentNode = fragment,
+ // Indicate we're inside a <pre> element, spaces should be touched differently.
+ inPre = false,
+ returnPoint;
+
+ function checkPending( newTagName )
+ {
+ var pendingBRsSent;
+
+ if ( pendingInline.length > 0 )
+ {
+ for ( var i = 0 ; i < pendingInline.length ; i++ )
+ {
+ var pendingElement = pendingInline[ i ],
+ pendingName = pendingElement.name,
+ pendingDtd = CKEDITOR.dtd[ pendingName ],
+ currentDtd = currentNode.name && CKEDITOR.dtd[ currentNode.name ];
+
+ if ( ( !currentDtd || currentDtd[ pendingName ] ) && ( !newTagName || !pendingDtd || pendingDtd[ newTagName ] || !CKEDITOR.dtd[ newTagName ] ) )
+ {
+ if ( !pendingBRsSent )
+ {
+ sendPendingBRs();
+ pendingBRsSent = 1;
+ }
+
+ // Get a clone for the pending element.
+ pendingElement = pendingElement.clone();
+
+ // Add it to the current node and make it the current,
+ // so the new element will be added inside of it.
+ pendingElement.parent = currentNode;
+ currentNode = pendingElement;
+
+ // Remove the pending element (back the index by one
+ // to properly process the next entry).
+ pendingInline.splice( i, 1 );
+ i--;
+ }
+ }
+ }
+ }
+
+ function sendPendingBRs( brsToIgnore )
+ {
+ while ( pendingBRs.length - ( brsToIgnore || 0 ) > 0 )
+ currentNode.add( pendingBRs.shift() );
+ }
+
+ function addElement( element, target, enforceCurrent )
+ {
+ target = target || currentNode || fragment;
+
+ // If the target is the fragment and this element can't go inside
+ // body (if fixForBody).
+ if ( fixForBody && !target.type )
+ {
+ var elementName, realElementName;
+ if ( element.attributes
+ && ( realElementName =
+ element.attributes[ '_cke_real_element_type' ] ) )
+ elementName = realElementName;
+ else
+ elementName = element.name;
+ if ( elementName
+ && !( elementName in CKEDITOR.dtd.$body )
+ && !( elementName in CKEDITOR.dtd.$nonBodyContent ) )
+ {
+ var savedCurrent = currentNode;
+
+ // Create a <p> in the fragment.
+ currentNode = target;
+ parser.onTagOpen( fixForBody, {} );
+
+ // The new target now is the <p>.
+ target = currentNode;
+
+ if ( enforceCurrent )
+ currentNode = savedCurrent;
+ }
+ }
+
+ // Rtrim empty spaces on block end boundary. (#3585)
+ if ( element._.isBlockLike
+ && element.name != 'pre' )
+ {
+
+ var length = element.children.length,
+ lastChild = element.children[ length - 1 ],
+ text;
+ if ( lastChild && lastChild.type == CKEDITOR.NODE_TEXT )
+ {
+ if ( !( text = CKEDITOR.tools.rtrim( lastChild.value ) ) )
+ element.children.length = length -1;
+ else
+ lastChild.value = text;
+ }
+ }
+
+ target.add( element );
+
+ if ( element.returnPoint )
+ {
+ currentNode = element.returnPoint;
+ delete element.returnPoint;
+ }
+ }
+
+ parser.onTagOpen = function( tagName, attributes, selfClosing )
+ {
+ var element = new CKEDITOR.htmlParser.element( tagName, attributes );
+
+ // "isEmpty" will be always "false" for unknown elements, so we
+ // must force it if the parser has identified it as a selfClosing tag.
+ if ( element.isUnknown && selfClosing )
+ element.isEmpty = true;
+
+ // This is a tag to be removed if empty, so do not add it immediately.
+ if ( CKEDITOR.dtd.$removeEmpty[ tagName ] )
+ {
+ pendingInline.push( element );
+ return;
+ }
+ else if ( tagName == 'pre' )
+ inPre = true;
+ else if ( tagName == 'br' && inPre )
+ {
+ currentNode.add( new CKEDITOR.htmlParser.text( '\n' ) );
+ return;
+ }
+
+ if ( tagName == 'br' )
+ {
+ pendingBRs.push( element );
+ return;
+ }
+
+ var currentName = currentNode.name;
+
+ var currentDtd = currentName
+ && ( CKEDITOR.dtd[ currentName ]
+ || ( currentNode._.isBlockLike ? CKEDITOR.dtd.div : CKEDITOR.dtd.span ) );
+
+ // If the element cannot be child of the current element.
+ if ( currentDtd // Fragment could receive any elements.
+ && !element.isUnknown && !currentNode.isUnknown && !currentDtd[ tagName ] )
+ {
+
+ var reApply = false,
+ addPoint; // New position to start adding nodes.
+
+ // Fixing malformed nested lists by moving it into a previous list item. (#3828)
+ if ( tagName in listBlocks
+ && currentName in listBlocks )
+ {
+ var children = currentNode.children,
+ lastChild = children[ children.length - 1 ];
+
+ // Establish the list item if it's not existed.
+ if ( !( lastChild && lastChild.name in listItems ) )
+ addElement( ( lastChild = new CKEDITOR.htmlParser.element( 'li' ) ), currentNode );
+
+ returnPoint = currentNode, addPoint = lastChild;
+ }
+ // If the element name is the same as the current element name,
+ // then just close the current one and append the new one to the
+ // parent. This situation usually happens with <p>, <li>, <dt> and
+ // <dd>, specially in IE. Do not enter in this if block in this case.
+ else if ( tagName == currentName )
+ {
+ addElement( currentNode, currentNode.parent );
+ }
+ else
+ {
+ if ( nonBreakingBlocks[ currentName ] )
+ {
+ if ( !returnPoint )
+ returnPoint = currentNode;
+ }
+ else
+ {
+ addElement( currentNode, currentNode.parent, true );
+
+ if ( !optionalClose[ currentName ] )
+ {
+ // The current element is an inline element, which
+ // cannot hold the new one. Put it in the pending list,
+ // and try adding the new one after it.
+ pendingInline.unshift( currentNode );
+ }
+ }
+
+ reApply = true;
+ }
+
+ if ( addPoint )
+ currentNode = addPoint;
+ // Try adding it to the return point, or the parent element.
+ else
+ currentNode = currentNode.returnPoint || currentNode.parent;
+
+ if ( reApply )
+ {
+ parser.onTagOpen.apply( this, arguments );
+ return;
+ }
+ }
+
+ checkPending( tagName );
+ sendPendingBRs();
+
+ element.parent = currentNode;
+ element.returnPoint = returnPoint;
+ returnPoint = 0;
+
+ if ( element.isEmpty )
+ addElement( element );
+ else
+ currentNode = element;
+ };
+
+ parser.onTagClose = function( tagName )
+ {
+ // Check if there is any pending tag to be closed.
+ for ( var i = pendingInline.length - 1 ; i >= 0 ; i-- )
+ {
+ // If found, just remove it from the list.
+ if ( tagName == pendingInline[ i ].name )
+ {
+ pendingInline.splice( i, 1 );
+ return;
+ }
+ }
+
+ var pendingAdd = [],
+ newPendingInline = [],
+ candidate = currentNode;
+
+ while ( candidate.type && candidate.name != tagName )
+ {
+ // If this is an inline element, add it to the pending list, if we're
+ // really closing one of the parents element later, they will continue
+ // after it.
+ if ( !candidate._.isBlockLike )
+ newPendingInline.unshift( candidate );
+
+ // This node should be added to it's parent at this point. But,
+ // it should happen only if the closing tag is really closing
+ // one of the nodes. So, for now, we just cache it.
+ pendingAdd.push( candidate );
+
+ candidate = candidate.parent;
+ }
+
+ if ( candidate.type )
+ {
+ // Add all elements that have been found in the above loop.
+ for ( i = 0 ; i < pendingAdd.length ; i++ )
+ {
+ var node = pendingAdd[ i ];
+ addElement( node, node.parent );
+ }
+
+ currentNode = candidate;
+
+ if ( currentNode.name == 'pre' )
+ inPre = false;
+
+ if ( candidate._.isBlockLike )
+ sendPendingBRs();
+
+ addElement( candidate, candidate.parent );
+
+ // The parent should start receiving new nodes now, except if
+ // addElement changed the currentNode.
+ if ( candidate == currentNode )
+ currentNode = currentNode.parent;
+
+ pendingInline = pendingInline.concat( newPendingInline );
+ }
+
+ if ( tagName == 'body' )
+ fixForBody = false;
+ };
+
+ parser.onText = function( text )
+ {
+ // Trim empty spaces at beginning of element contents except <pre>.
+ if ( !currentNode._.hasInlineStarted && !inPre )
+ {
+ text = CKEDITOR.tools.ltrim( text );
+
+ if ( text.length === 0 )
+ return;
+ }
+
+ sendPendingBRs();
+ checkPending();
+
+ if ( fixForBody
+ && ( !currentNode.type || currentNode.name == 'body' )
+ && CKEDITOR.tools.trim( text ) )
+ {
+ this.onTagOpen( fixForBody, {} );
+ }
+
+ // Shrinking consequential spaces into one single for all elements
+ // text contents.
+ if ( !inPre )
+ text = text.replace( /[\t\r\n ]{2,}|[\t\r\n]/g, ' ' );
+
+ currentNode.add( new CKEDITOR.htmlParser.text( text ) );
+ };
+
+ parser.onCDATA = function( cdata )
+ {
+ currentNode.add( new CKEDITOR.htmlParser.cdata( cdata ) );
+ };
+
+ parser.onComment = function( comment )
+ {
+ currentNode.add( new CKEDITOR.htmlParser.comment( comment ) );
+ };
+
+ // Parse it.
+ parser.parse( fragmentHtml );
+
+ // Send all pending BRs except one, which we consider a unwanted bogus. (#5293)
+ sendPendingBRs( !CKEDITOR.env.ie && 1 );
+
+ // Close all pending nodes.
+ while ( currentNode.type )
+ {
+ var parent = currentNode.parent,
+ node = currentNode;
+
+ if ( fixForBody
+ && ( !parent.type || parent.name == 'body' )
+ && !CKEDITOR.dtd.$body[ node.name ] )
+ {
+ currentNode = parent;
+ parser.onTagOpen( fixForBody, {} );
+ parent = currentNode;
+ }
+
+ parent.add( node );
+ currentNode = parent;
+ }
+
+ return fragment;
+ };
+
+ CKEDITOR.htmlParser.fragment.prototype =
+ {
+ /**
+ * Adds a node to this fragment.
+ * @param {Object} node The node to be added. It can be any of of the
+ * following types: {@link CKEDITOR.htmlParser.element},
+ * {@link CKEDITOR.htmlParser.text} and
+ * {@link CKEDITOR.htmlParser.comment}.
+ * @example
+ */
+ add : function( node )
+ {
+ var len = this.children.length,
+ previous = len > 0 && this.children[ len - 1 ] || null;
+
+ if ( previous )
+ {
+ // If the block to be appended is following text, trim spaces at
+ // the right of it.
+ if ( node._.isBlockLike && previous.type == CKEDITOR.NODE_TEXT )
+ {
+ previous.value = CKEDITOR.tools.rtrim( previous.value );
+
+ // If we have completely cleared the previous node.
+ if ( previous.value.length === 0 )
+ {
+ // Remove it from the list and add the node again.
+ this.children.pop();
+ this.add( node );
+ return;
+ }
+ }
+
+ previous.next = node;
+ }
+
+ node.previous = previous;
+ node.parent = this;
+
+ this.children.push( node );
+
+ this._.hasInlineStarted = node.type == CKEDITOR.NODE_TEXT || ( node.type == CKEDITOR.NODE_ELEMENT && !node._.isBlockLike );
+ },
+
+ /**
+ * Writes the fragment HTML to a CKEDITOR.htmlWriter.
+ * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+ * @example
+ * var writer = new CKEDITOR.htmlWriter();
+ * var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '<P><B>Example' );
+ * fragment.writeHtml( writer )
+ * alert( writer.getHtml() ); "<p><b>Example</b></p>"
+ */
+ writeHtml : function( writer, filter )
+ {
+ var isChildrenFiltered;
+ this.filterChildren = function()
+ {
+ var writer = new CKEDITOR.htmlParser.basicWriter();
+ this.writeChildrenHtml.call( this, writer, filter, true );
+ var html = writer.getHtml();
+ this.children = new CKEDITOR.htmlParser.fragment.fromHtml( html ).children;
+ isChildrenFiltered = 1;
+ };
+
+ // Filtering the root fragment before anything else.
+ !this.name && filter && filter.onFragment( this );
+
+ this.writeChildrenHtml( writer, isChildrenFiltered ? null : filter );
+ },
+
+ writeChildrenHtml : function( writer, filter )
+ {
+ for ( var i = 0 ; i < this.children.length ; i++ )
+ this.children[i].writeHtml( writer, filter );
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/htmlparser/text.js b/devel/third-party/ckeditor/core/htmlparser/text.js
new file mode 100644
index 0000000..0d63ac9
--- /dev/null
+++ b/devel/third-party/ckeditor/core/htmlparser/text.js
@@ -0,0 +1,55 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var spacesRegex = /[\t\r\n ]{2,}|[\t\r\n]/g;
+
+ /**
+ * A lightweight representation of HTML text.
+ * @constructor
+ * @example
+ */
+ CKEDITOR.htmlParser.text = function( value )
+ {
+ /**
+ * The text value.
+ * @type String
+ * @example
+ */
+ this.value = value;
+
+ /** @private */
+ this._ =
+ {
+ isBlockLike : false
+ };
+ };
+
+ CKEDITOR.htmlParser.text.prototype =
+ {
+ /**
+ * The node type. This is a constant value set to {@link CKEDITOR.NODE_TEXT}.
+ * @type Number
+ * @example
+ */
+ type : CKEDITOR.NODE_TEXT,
+
+ /**
+ * Writes the HTML representation of this text to a CKEDITOR.htmlWriter.
+ * @param {CKEDITOR.htmlWriter} writer The writer to which write the HTML.
+ * @example
+ */
+ writeHtml : function( writer, filter )
+ {
+ var text = this.value;
+
+ if ( filter && !( text = filter.onText( text, this ) ) )
+ return;
+
+ writer.text( text );
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/imagecacher.js b/devel/third-party/ckeditor/core/imagecacher.js
new file mode 100644
index 0000000..0704556
--- /dev/null
+++ b/devel/third-party/ckeditor/core/imagecacher.js
@@ -0,0 +1,59 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var loaded = {};
+
+ var loadImage = function( image, callback )
+ {
+ var doCallback = function()
+ {
+ img.removeAllListeners();
+ loaded[ image ] = 1;
+ callback();
+ };
+
+ var img = new CKEDITOR.dom.element( 'img' );
+ img.on( 'load', doCallback );
+ img.on( 'error', doCallback );
+ img.setAttribute( 'src', image );
+ };
+
+ /**
+ * Load images into the browser cache.
+ * @namespace
+ * @example
+ */
+ CKEDITOR.imageCacher =
+ {
+ /**
+ * Loads one or more images.
+ * @param {Array} images The URLs for the images to be loaded.
+ * @param {Function} callback The function to be called once all images
+ * are loaded.
+ */
+ load : function( images, callback )
+ {
+ var pendingCount = images.length;
+
+ var checkPending = function()
+ {
+ if ( --pendingCount === 0 )
+ callback();
+ };
+
+ for ( var i = 0 ; i < images.length ; i++ )
+ {
+ var image = images[ i ];
+
+ if ( loaded[ image ] )
+ checkPending();
+ else
+ loadImage( image, checkPending );
+ }
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/lang.js b/devel/third-party/ckeditor/core/lang.js
new file mode 100644
index 0000000..add9982
--- /dev/null
+++ b/devel/third-party/ckeditor/core/lang.js
@@ -0,0 +1,152 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var loadedLangs = {};
+
+ CKEDITOR.lang =
+ {
+ /**
+ * The list of languages available in the editor core.
+ * @type Object
+ * @example
+ * alert( CKEDITOR.lang.en ); // "true"
+ */
+ languages :
+ {
+ 'af' : 1,
+ 'ar' : 1,
+ 'bg' : 1,
+ 'bn' : 1,
+ 'bs' : 1,
+ 'ca' : 1,
+ 'cs' : 1,
+ 'cy' : 1,
+ 'da' : 1,
+ 'de' : 1,
+ 'el' : 1,
+ 'en-au' : 1,
+ 'en-ca' : 1,
+ 'en-gb' : 1,
+ 'en' : 1,
+ 'eo' : 1,
+ 'es' : 1,
+ 'et' : 1,
+ 'eu' : 1,
+ 'fa' : 1,
+ 'fi' : 1,
+ 'fo' : 1,
+ 'fr-ca' : 1,
+ 'fr' : 1,
+ 'gl' : 1,
+ 'gu' : 1,
+ 'he' : 1,
+ 'hi' : 1,
+ 'hr' : 1,
+ 'hu' : 1,
+ 'is' : 1,
+ 'it' : 1,
+ 'ja' : 1,
+ 'km' : 1,
+ 'ko' : 1,
+ 'lt' : 1,
+ 'lv' : 1,
+ 'mn' : 1,
+ 'ms' : 1,
+ 'nb' : 1,
+ 'nl' : 1,
+ 'no' : 1,
+ 'pl' : 1,
+ 'pt-br' : 1,
+ 'pt' : 1,
+ 'ro' : 1,
+ 'ru' : 1,
+ 'sk' : 1,
+ 'sl' : 1,
+ 'sr-latn' : 1,
+ 'sr' : 1,
+ 'sv' : 1,
+ 'th' : 1,
+ 'tr' : 1,
+ 'uk' : 1,
+ 'vi' : 1,
+ 'zh-cn' : 1,
+ 'zh' : 1
+ },
+
+ /**
+ * Loads a specific language file, or auto detect it. A callback is
+ * then called when the file gets loaded.
+ * @param {String} languageCode The code of the language file to be
+ * loaded. If "autoDetect" is set to true, this language will be
+ * used as the default one, if the detect language is not
+ * available in the core.
+ * @param {Boolean} autoDetect Indicates that the function must try to
+ * detect the user language and load it instead.
+ * @param {Function} callback The function to be called once the
+ * language file is loaded. Two parameters are passed to this
+ * function: the language code and the loaded language entries.
+ * @example
+ */
+ load : function( languageCode, defaultLanguage, callback )
+ {
+ // If no languageCode - fallback to browser or default.
+ // If languageCode - fallback to no-localized version or default.
+ if ( !languageCode || !CKEDITOR.lang.languages[ languageCode ] )
+ languageCode = this.detect( defaultLanguage, languageCode );
+
+ if ( !this[ languageCode ] )
+ {
+ CKEDITOR.scriptLoader.load( CKEDITOR.getUrl(
+ '_source/' + // @Packager.RemoveLine
+ 'lang/' + languageCode + '.js' ),
+ function()
+ {
+ callback( languageCode, this[ languageCode ] );
+ }
+ , this );
+ }
+ else
+ callback( languageCode, this[ languageCode ] );
+ },
+
+ /**
+ * Returns the language that best fit the user language. For example,
+ * suppose that the user language is "pt-br". If this language is
+ * supported by the editor, it is returned. Otherwise, if only "pt" is
+ * supported, it is returned instead. If none of the previous are
+ * supported, a default language is then returned.
+ * @param {String} defaultLanguage The default language to be returned
+ * if the user language is not supported.
+ * @returns {String} The detected language code.
+ * @example
+ * alert( CKEDITOR.lang.detect( 'en' ) ); // e.g., in a German browser: "de"
+ */
+ detect : function( defaultLanguage, probeLanguage )
+ {
+ var languages = this.languages;
+ probeLanguage = probeLanguage || navigator.userLanguage || navigator.language;
+
+ var parts = probeLanguage
+ .toLowerCase()
+ .match( /([a-z]+)(?:-([a-z]+))?/ ),
+ lang = parts[1],
+ locale = parts[2];
+
+ if ( languages[ lang + '-' + locale ] )
+ lang = lang + '-' + locale;
+ else if ( !languages[ lang ] )
+ lang = null;
+
+ CKEDITOR.lang.detect = lang ?
+ function() { return lang; } :
+ function( defaultLanguage ) { return defaultLanguage; };
+
+ return lang || defaultLanguage;
+ }
+ };
+
+})();
diff --git a/devel/third-party/ckeditor/core/loader.js b/devel/third-party/ckeditor/core/loader.js
new file mode 100644
index 0000000..abeda48
--- /dev/null
+++ b/devel/third-party/ckeditor/core/loader.js
@@ -0,0 +1,243 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.loader} objects, which is used to
+ * load core scripts and their dependencies from _source.
+ */
+
+if ( typeof CKEDITOR == 'undefined' )
+ CKEDITOR = {};
+
+if ( !CKEDITOR.loader )
+{
+ /**
+ * Load core scripts and their dependencies from _source.
+ * @namespace
+ * @example
+ */
+ CKEDITOR.loader = (function()
+ {
+ // Table of script names and their dependencies.
+ var scripts =
+ {
+ 'core/_bootstrap' : [ 'core/config', 'core/ckeditor', 'core/plugins', 'core/scriptloader', 'core/tools', /* The following are entries that we want to force loading at the end to avoid dependence recursion */ 'core/dom/comment', 'core/dom/elementpath', 'core/dom/text', 'core/dom/rangelist' ],
+ 'core/ajax' : [ 'core/xml' ],
+ 'core/ckeditor' : [ 'core/ckeditor_basic', 'core/dom', 'core/dtd', 'core/dom/document', 'core/dom/element', 'core/editor', 'core/event', 'core/htmlparser', 'core/htmlparser/element', 'core/htmlparser/fragment', 'core/htmlparser/filter', 'core/htmlparser/basicwriter', 'core/tools' ],
+ 'core/ckeditor_base' : [],
+ 'core/ckeditor_basic' : [ 'core/editor_basic', 'core/env', 'core/event' ],
+ 'core/command' : [],
+ 'core/config' : [ 'core/ckeditor_base' ],
+ 'core/dom' : [],
+ 'core/dom/comment' : [ 'core/dom/node' ],
+ 'core/dom/document' : [ 'core/dom', 'core/dom/domobject', 'core/dom/window' ],
+ 'core/dom/documentfragment' : [ 'core/dom/element' ],
+ 'core/dom/element' : [ 'core/dom', 'core/dom/document', 'core/dom/domobject', 'core/dom/node', 'core/dom/nodelist', 'core/tools' ],
+ 'core/dom/elementpath' : [ 'core/dom/element' ],
+ 'core/dom/event' : [],
+ 'core/dom/node' : [ 'core/dom/domobject', 'core/tools' ],
+ 'core/dom/nodelist' : [ 'core/dom/node' ],
+ 'core/dom/domobject' : [ 'core/dom/event' ],
+ 'core/dom/range' : [ 'core/dom/document', 'core/dom/documentfragment', 'core/dom/element', 'core/dom/walker' ],
+ 'core/dom/rangelist' : [ 'core/dom/range' ],
+ 'core/dom/text' : [ 'core/dom/node', 'core/dom/domobject' ],
+ 'core/dom/walker' : [ 'core/dom/node' ],
+ 'core/dom/window' : [ 'core/dom/domobject' ],
+ 'core/dtd' : [ 'core/tools' ],
+ 'core/editor' : [ 'core/command', 'core/config', 'core/editor_basic', 'core/focusmanager', 'core/lang', 'core/plugins', 'core/skins', 'core/themes', 'core/tools', 'core/ui' ],
+ 'core/editor_basic' : [ 'core/event' ],
+ 'core/env' : [],
+ 'core/event' : [],
+ 'core/focusmanager' : [],
+ 'core/htmlparser' : [],
+ 'core/htmlparser/comment' : [ 'core/htmlparser' ],
+ 'core/htmlparser/element' : [ 'core/htmlparser', 'core/htmlparser/fragment' ],
+ 'core/htmlparser/fragment' : [ 'core/htmlparser', 'core/htmlparser/comment', 'core/htmlparser/text', 'core/htmlparser/cdata' ],
+ 'core/htmlparser/text' : [ 'core/htmlparser' ],
+ 'core/htmlparser/cdata' : [ 'core/htmlparser' ],
+ 'core/htmlparser/filter' : [ 'core/htmlparser' ],
+ 'core/htmlparser/basicwriter': [ 'core/htmlparser' ],
+ 'core/imagecacher' : [ 'core/dom/element' ],
+ 'core/lang' : [],
+ 'core/plugins' : [ 'core/resourcemanager' ],
+ 'core/resourcemanager' : [ 'core/scriptloader', 'core/tools' ],
+ 'core/scriptloader' : [ 'core/dom/element', 'core/env' ],
+ 'core/skins' : [ 'core/imagecacher', 'core/scriptloader' ],
+ 'core/themes' : [ 'core/resourcemanager' ],
+ 'core/tools' : [ 'core/env' ],
+ 'core/ui' : [],
+ 'core/xml' : [ 'core/env' ]
+ };
+
+ var basePath = (function()
+ {
+ // This is a copy of CKEDITOR.basePath, but requires the script having
+ // "_source/core/loader.js".
+ if ( CKEDITOR && CKEDITOR.basePath )
+ return CKEDITOR.basePath;
+
+ // Find out the editor directory path, based on its <script> tag.
+ var path = '';
+ var scripts = document.getElementsByTagName( 'script' );
+
+ for ( var i = 0 ; i < scripts.length ; i++ )
+ {
+ var match = scripts[i].src.match( /(^|.*?[\\\/])(?:_source\/)?core\/loader.js(?:\?.*)?$/i );
+
+ if ( match )
+ {
+ path = match[1];
+ break;
+ }
+ }
+
+ // In IE (only) the script.src string is the raw valued entered in the
+ // HTML. Other browsers return the full resolved URL instead.
+ if ( path.indexOf('://') == -1 )
+ {
+ // Absolute path.
+ if ( path.indexOf( '/' ) === 0 )
+ path = location.href.match( /^.*?:\/\/[^\/]*/ )[0] + path;
+ // Relative path.
+ else
+ path = location.href.match( /^[^\?]*\// )[0] + path;
+ }
+
+ return path;
+ })();
+
+ var timestamp = 'A8LE4JO';
+
+ var getUrl = function( resource )
+ {
+ if ( CKEDITOR && CKEDITOR.getUrl )
+ return CKEDITOR.getUrl( resource );
+
+ return basePath + resource +
+ ( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) +
+ 't=' + timestamp;
+ };
+
+ var pendingLoad = [];
+
+ /** @lends CKEDITOR.loader */
+ return {
+ /**
+ * The list of loaded scripts in their loading order.
+ * @type Array
+ * @example
+ * // Alert the loaded script names.
+ * alert( <b>CKEDITOR.loader.loadedScripts</b> );
+ */
+ loadedScripts : [],
+
+ loadPending : function()
+ {
+ var scriptName = pendingLoad.shift();
+
+ if ( !scriptName )
+ return;
+
+ var scriptSrc = getUrl( '_source/' + scriptName + '.js' );
+
+ var script = document.createElement( 'script' );
+ script.type = 'text/javascript';
+ script.src = scriptSrc;
+
+ function onScriptLoaded()
+ {
+ // Append this script to the list of loaded scripts.
+ CKEDITOR.loader.loadedScripts.push( scriptName );
+
+ // Load the next.
+ CKEDITOR.loader.loadPending();
+ }
+
+ // We must guarantee the execution order of the scripts, so we
+ // need to load them one by one. (#4145)
+ // The following if/else block has been taken from the scriptloader core code.
+ if ( typeof(script.onreadystatechange) !== "undefined" )
+ {
+ /** @ignore */
+ script.onreadystatechange = function()
+ {
+ if ( script.readyState == 'loaded' || script.readyState == 'complete' )
+ {
+ script.onreadystatechange = null;
+ onScriptLoaded();
+ }
+ };
+ }
+ else
+ {
+ /** @ignore */
+ script.onload = function()
+ {
+ // Some browsers, such as Safari, may call the onLoad function
+ // immediately. Which will break the loading sequence. (#3661)
+ setTimeout( function() { onScriptLoaded( scriptName ); }, 0 );
+ };
+ }
+
+ document.body.appendChild( script );
+ },
+
+ /**
+ * Loads a specific script, including its dependencies. This is not a
+ * synchronous loading, which means that the code to be loaded will
+ * not necessarily be available after this call.
+ * @example
+ * CKEDITOR.loader.load( 'core/dom/element' );
+ */
+ load : function( scriptName, defer )
+ {
+ // Check if the script has already been loaded.
+ if ( scriptName in this.loadedScripts )
+ return;
+
+ // Get the script dependencies list.
+ var dependencies = scripts[ scriptName ];
+ if ( !dependencies )
+ throw 'The script name"' + scriptName + '" is not defined.';
+
+ // Mark the script as loaded, even before really loading it, to
+ // avoid cross references recursion.
+ this.loadedScripts[ scriptName ] = true;
+
+ // Load all dependencies first.
+ for ( var i = 0 ; i < dependencies.length ; i++ )
+ this.load( dependencies[ i ], true );
+
+ var scriptSrc = getUrl( '_source/' + scriptName + '.js' );
+
+ // Append the <script> element to the DOM.
+ // If the page is fully loaded, we can't use document.write
+ // but if the script is run while the body is loading then it's safe to use it
+ // Unfortunately, Firefox <3.6 doesn't support document.readyState, so it won't get this improvement
+ if ( document.body && (!document.readyState || document.readyState == 'complete') )
+ {
+ pendingLoad.push( scriptName );
+
+ if ( !defer )
+ this.loadPending();
+ }
+ else
+ {
+ // Append this script to the list of loaded scripts.
+ this.loadedScripts.push( scriptName );
+
+ document.write( '<script src="' + scriptSrc + '" type="text/javascript"><\/script>' );
+ }
+ }
+ };
+ })();
+}
+
+// Check if any script has been defined for autoload.
+if ( CKEDITOR._autoLoad )
+{
+ CKEDITOR.loader.load( CKEDITOR._autoLoad );
+ delete CKEDITOR._autoLoad;
+}
diff --git a/devel/third-party/ckeditor/core/plugindefinition.js b/devel/third-party/ckeditor/core/plugindefinition.js
new file mode 100644
index 0000000..2a78d28
--- /dev/null
+++ b/devel/third-party/ckeditor/core/plugindefinition.js
@@ -0,0 +1,66 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" {@link CKEDITOR.pluginDefinition} class, which
+ * contains the defintion of a plugin. This file is for documentation
+ * purposes only.
+ */
+
+/**
+ * (Virtual Class) Do not call this constructor. This class is not really part
+ * of the API. It just illustrates the features of plugin objects to be
+ * passed to the {@link CKEDITOR.plugins.add} function.
+ * @name CKEDITOR.pluginDefinition
+ * @constructor
+ * @example
+ */
+
+/**
+ * A list of plugins that are required by this plugin. Note that this property
+ * doesn't guarantee the loading order of the plugins.
+ * @name CKEDITOR.pluginDefinition.prototype.requires
+ * @type Array
+ * @example
+ * CKEDITOR.plugins.add( 'sample',
+ * {
+ * requires : [ 'button', 'selection' ]
+ * });
+ */
+
+ /**
+ * Function called on initialization of every editor instance created in the
+ * page before the init() call task. The beforeInit function will be called for
+ * all plugins, after that the init function is called for all of them. This
+ * feature makes it possible to initialize things that could be used in the
+ * init function of other plugins.
+ * @name CKEDITOR.pluginDefinition.prototype.beforeInit
+ * @function
+ * @param {CKEDITOR.editor} editor The editor instance being initialized.
+ * @example
+ * CKEDITOR.plugins.add( 'sample',
+ * {
+ * beforeInit : function( editor )
+ * {
+ * alert( 'Editor "' + editor.name + '" is to be initialized!' );
+ * }
+ * });
+ */
+
+ /**
+ * Function called on initialization of every editor instance created in the
+ * page.
+ * @name CKEDITOR.pluginDefinition.prototype.init
+ * @function
+ * @param {CKEDITOR.editor} editor The editor instance being initialized.
+ * @example
+ * CKEDITOR.plugins.add( 'sample',
+ * {
+ * init : function( editor )
+ * {
+ * alert( 'Editor "' + editor.name + '" is being initialized!' );
+ * }
+ * });
+ */
diff --git a/devel/third-party/ckeditor/core/plugins.js b/devel/third-party/ckeditor/core/plugins.js
new file mode 100644
index 0000000..77f04a4
--- /dev/null
+++ b/devel/third-party/ckeditor/core/plugins.js
@@ -0,0 +1,85 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.plugins} object, which is used to
+ * manage plugins registration and loading.
+ */
+
+/**
+ * Manages plugins registration and loading.
+ * @namespace
+ * @augments CKEDITOR.resourceManager
+ * @example
+ */
+CKEDITOR.plugins = new CKEDITOR.resourceManager(
+ '_source/' + // @Packager.RemoveLine
+ 'plugins/', 'plugin' );
+
+// PACKAGER_RENAME( CKEDITOR.plugins )
+
+CKEDITOR.plugins.load = CKEDITOR.tools.override( CKEDITOR.plugins.load, function( originalLoad )
+ {
+ return function( name, callback, scope )
+ {
+ var allPlugins = {};
+
+ var loadPlugins = function( names )
+ {
+ originalLoad.call( this, names, function( plugins )
+ {
+ CKEDITOR.tools.extend( allPlugins, plugins );
+
+ var requiredPlugins = [];
+ for ( var pluginName in plugins )
+ {
+ var plugin = plugins[ pluginName ],
+ requires = plugin && plugin.requires;
+
+ if ( requires )
+ {
+ for ( var i = 0 ; i < requires.length ; i++ )
+ {
+ if ( !allPlugins[ requires[ i ] ] )
+ requiredPlugins.push( requires[ i ] );
+ }
+ }
+ }
+
+ if ( requiredPlugins.length )
+ loadPlugins.call( this, requiredPlugins );
+ else
+ {
+ // Call the "onLoad" function for all plugins.
+ for ( pluginName in allPlugins )
+ {
+ plugin = allPlugins[ pluginName ];
+ if ( plugin.onLoad && !plugin.onLoad._called )
+ {
+ plugin.onLoad();
+ plugin.onLoad._called = 1;
+ }
+ }
+
+ // Call the callback.
+ if ( callback )
+ callback.call( scope || window, allPlugins );
+ }
+ }
+ , this);
+
+ };
+
+ loadPlugins.call( this, name );
+ };
+ });
+
+CKEDITOR.plugins.setLang = function( pluginName, languageCode, languageEntries )
+{
+ var plugin = this.get( pluginName ),
+ pluginLang = plugin.lang || ( plugin.lang = {} );
+
+ pluginLang[ languageCode ] = languageEntries;
+};
diff --git a/devel/third-party/ckeditor/core/resourcemanager.js b/devel/third-party/ckeditor/core/resourcemanager.js
new file mode 100644
index 0000000..a38433e
--- /dev/null
+++ b/devel/third-party/ckeditor/core/resourcemanager.js
@@ -0,0 +1,238 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.resourceManager} class, which is
+ * the base for resource managers, like plugins and themes.
+ */
+
+ /**
+ * Base class for resource managers, like plugins and themes. This class is not
+ * intended to be used out of the CKEditor core code.
+ * @param {String} basePath The path for the resources folder.
+ * @param {String} fileName The name used for resource files.
+ * @namespace
+ * @example
+ */
+CKEDITOR.resourceManager = function( basePath, fileName )
+{
+ /**
+ * The base directory containing all resources.
+ * @name CKEDITOR.resourceManager.prototype.basePath
+ * @type String
+ * @example
+ */
+ this.basePath = basePath;
+
+ /**
+ * The name used for resource files.
+ * @name CKEDITOR.resourceManager.prototype.fileName
+ * @type String
+ * @example
+ */
+ this.fileName = fileName;
+
+ /**
+ * Contains references to all resources that have already been registered
+ * with {@link #add}.
+ * @name CKEDITOR.resourceManager.prototype.registered
+ * @type Object
+ * @example
+ */
+ this.registered = {};
+
+ /**
+ * Contains references to all resources that have already been loaded
+ * with {@link #load}.
+ * @name CKEDITOR.resourceManager.prototype.loaded
+ * @type Object
+ * @example
+ */
+ this.loaded = {};
+
+ /**
+ * Contains references to all resources that have already been registered
+ * with {@link #addExternal}.
+ * @name CKEDITOR.resourceManager.prototype.externals
+ * @type Object
+ * @example
+ */
+ this.externals = {};
+
+ /**
+ * @private
+ */
+ this._ =
+ {
+ // List of callbacks waiting for plugins to be loaded.
+ waitingList : {}
+ };
+};
+
+CKEDITOR.resourceManager.prototype =
+{
+ /**
+ * Registers a resource.
+ * @param {String} name The resource name.
+ * @param {Object} [definition] The resource definition.
+ * @example
+ * CKEDITOR.plugins.add( 'sample', { ... plugin definition ... } );
+ * @see CKEDITOR.pluginDefinition
+ */
+ add : function( name, definition )
+ {
+ if ( this.registered[ name ] )
+ throw '[CKEDITOR.resourceManager.add] The resource name "' + name + '" is already registered.';
+
+ CKEDITOR.fire( name + CKEDITOR.tools.capitalize( this.fileName ) + 'Ready',
+ this.registered[ name ] = definition || {} );
+ },
+
+ /**
+ * Gets the definition of a specific resource.
+ * @param {String} name The resource name.
+ * @type Object
+ * @example
+ * var definition = <b>CKEDITOR.plugins.get( 'sample' )</b>;
+ */
+ get : function( name )
+ {
+ return this.registered[ name ] || null;
+ },
+
+ /**
+ * Get the folder path for a specific loaded resource.
+ * @param {String} name The resource name.
+ * @type String
+ * @example
+ * alert( <b>CKEDITOR.plugins.getPath( 'sample' )</b> ); // "<editor path>/plugins/sample/"
+ */
+ getPath : function( name )
+ {
+ var external = this.externals[ name ];
+ return CKEDITOR.getUrl( ( external && external.dir ) || this.basePath + name + '/' );
+ },
+
+ /**
+ * Get the file path for a specific loaded resource.
+ * @param {String} name The resource name.
+ * @type String
+ * @example
+ * alert( <b>CKEDITOR.plugins.getFilePath( 'sample' )</b> ); // "<editor path>/plugins/sample/plugin.js"
+ */
+ getFilePath : function( name )
+ {
+ var external = this.externals[ name ];
+ return CKEDITOR.getUrl(
+ this.getPath( name ) +
+ ( ( external && ( typeof external.file == 'string' ) ) ? external.file : this.fileName + '.js' ) );
+ },
+
+ /**
+ * Registers one or more resources to be loaded from an external path
+ * instead of the core base path.
+ * @param {String} names The resource names, separated by commas.
+ * @param {String} path The path of the folder containing the resource.
+ * @param {String} [fileName] The resource file name. If not provided, the
+ * default name is used; If provided with a empty string, will implicitly indicates that {@param path}
+ * is already the full path.
+ * @example
+ * // Loads a plugin from '/myplugin/samples/plugin.js'.
+ * CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/' );
+ * @example
+ * // Loads a plugin from '/myplugin/samples/my_plugin.js'.
+ * CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/', 'my_plugin.js' );
+ * @example
+ * // Loads a plugin from '/myplugin/samples/my_plugin.js'.
+ * CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/my_plugin.js', '' );
+ */
+ addExternal : function( names, path, fileName )
+ {
+ names = names.split( ',' );
+ for ( var i = 0 ; i < names.length ; i++ )
+ {
+ var name = names[ i ];
+
+ this.externals[ name ] =
+ {
+ dir : path,
+ file : fileName
+ };
+ }
+ },
+
+ /**
+ * Loads one or more resources.
+ * @param {String|Array} name The name of the resource to load. It may be a
+ * string with a single resource name, or an array with several names.
+ * @param {Function} callback A function to be called when all resources
+ * are loaded. The callback will receive an array containing all
+ * loaded names.
+ * @param {Object} [scope] The scope object to be used for the callback
+ * call.
+ * @example
+ * <b>CKEDITOR.plugins.load</b>( 'myplugin', function( plugins )
+ * {
+ * alert( plugins['myplugin'] ); // "object"
+ * });
+ */
+ load : function( names, callback, scope )
+ {
+ // Ensure that we have an array of names.
+ if ( !CKEDITOR.tools.isArray( names ) )
+ names = names ? [ names ] : [];
+
+ var loaded = this.loaded,
+ registered = this.registered,
+ urls = [],
+ urlsNames = {},
+ resources = {};
+
+ // Loop through all names.
+ for ( var i = 0 ; i < names.length ; i++ )
+ {
+ var name = names[ i ];
+
+ if ( !name )
+ continue;
+
+ // If not available yet.
+ if ( !loaded[ name ] && !registered[ name ] )
+ {
+ var url = this.getFilePath( name );
+ urls.push( url );
+ if ( !( url in urlsNames ) )
+ urlsNames[ url ] = [];
+ urlsNames[ url ].push( name );
+ }
+ else
+ resources[ name ] = this.get( name );
+ }
+
+ CKEDITOR.scriptLoader.load( urls, function( completed, failed )
+ {
+ if ( failed.length )
+ {
+ throw '[CKEDITOR.resourceManager.load] Resource name "' + urlsNames[ failed[ 0 ] ].join( ',' )
+ + '" was not found at "' + failed[ 0 ] + '".';
+ }
+
+ for ( var i = 0 ; i < completed.length ; i++ )
+ {
+ var nameList = urlsNames[ completed[ i ] ];
+ for ( var j = 0 ; j < nameList.length ; j++ )
+ {
+ var name = nameList[ j ];
+ resources[ name ] = this.get( name );
+
+ loaded[ name ] = 1;
+ }
+ }
+
+ callback.call( scope, resources );
+ }
+ , this);
+ }
+};
diff --git a/devel/third-party/ckeditor/core/scriptloader.js b/devel/third-party/ckeditor/core/scriptloader.js
new file mode 100644
index 0000000..0ad7d86
--- /dev/null
+++ b/devel/third-party/ckeditor/core/scriptloader.js
@@ -0,0 +1,198 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.scriptLoader} object, used to load scripts
+ * asynchronously.
+ */
+
+/**
+ * Load scripts asynchronously.
+ * @namespace
+ * @example
+ */
+CKEDITOR.scriptLoader = (function()
+{
+ var uniqueScripts = {};
+ var waitingList = {};
+
+ return /** @lends CKEDITOR.scriptLoader */ {
+ /**
+ * Loads one or more external script checking if not already loaded
+ * previously by this function.
+ * @param {String|Array} scriptUrl One or more URLs pointing to the
+ * scripts to be loaded.
+ * @param {Function} [callback] A function to be called when the script
+ * is loaded and executed. If a string is passed to "scriptUrl", a
+ * boolean parameter is passed to the callback, indicating the
+ * success of the load. If an array is passed instead, two array
+ * parameters are passed to the callback; the first contains the
+ * URLs that have been properly loaded, and the second the failed
+ * ones.
+ * @param {Object} [scope] The scope ("this" reference) to be used for
+ * the callback call. Default to {@link CKEDITOR}.
+ * @param {Boolean} [noCheck] Indicates that the script must be loaded
+ * anyway, not checking if it has already loaded.
+ * @example
+ * CKEDITOR.scriptLoader.load( '/myscript.js' );
+ * @example
+ * CKEDITOR.scriptLoader.load( '/myscript.js', function( success )
+ * {
+ * // Alerts "true" if the script has been properly loaded.
+ * // HTTP error 404 should return "false".
+ * alert( success );
+ * });
+ * @example
+ * CKEDITOR.scriptLoader.load( [ '/myscript1.js', '/myscript2.js' ], function( completed, failed )
+ * {
+ * alert( 'Number of scripts loaded: ' + completed.length );
+ * alert( 'Number of failures: ' + failed.length );
+ * });
+ */
+ load : function( scriptUrl, callback, scope, noCheck, showBusy )
+ {
+ var isString = ( typeof scriptUrl == 'string' );
+
+ if ( isString )
+ scriptUrl = [ scriptUrl ];
+
+ if ( !scope )
+ scope = CKEDITOR;
+
+ var scriptCount = scriptUrl.length,
+ completed = [],
+ failed = [];
+
+ var doCallback = function( success )
+ {
+ if ( callback )
+ {
+ if ( isString )
+ callback.call( scope, success );
+ else
+ callback.call( scope, completed, failed );
+ }
+ };
+
+ if ( scriptCount === 0 )
+ {
+ doCallback( true );
+ return;
+ }
+
+ var checkLoaded = function( url, success )
+ {
+ ( success ? completed : failed ).push( url );
+
+ if ( --scriptCount <= 0 )
+ {
+ showBusy && CKEDITOR.document.getDocumentElement().removeStyle( 'cursor' );
+ doCallback( success );
+ }
+ };
+
+ var onLoad = function( url, success )
+ {
+ // Mark this script as loaded.
+ uniqueScripts[ url ] = 1;
+
+ // Get the list of callback checks waiting for this file.
+ var waitingInfo = waitingList[ url ];
+ delete waitingList[ url ];
+
+ // Check all callbacks waiting for this file.
+ for ( var i = 0 ; i < waitingInfo.length ; i++ )
+ waitingInfo[ i ]( url, success );
+ };
+
+ var loadScript = function( url )
+ {
+ if ( noCheck !== true && uniqueScripts[ url ] )
+ {
+ checkLoaded( url, true );
+ return;
+ }
+
+ var waitingInfo = waitingList[ url ] || ( waitingList[ url ] = [] );
+ waitingInfo.push( checkLoaded );
+
+ // Load it only for the first request.
+ if ( waitingInfo.length > 1 )
+ return;
+
+ // Create the <script> element.
+ var script = new CKEDITOR.dom.element( 'script' );
+ script.setAttributes( {
+ type : 'text/javascript',
+ src : url } );
+
+ if ( callback )
+ {
+ if ( CKEDITOR.env.ie )
+ {
+ // FIXME: For IE, we are not able to return false on error (like 404).
+
+ /** @ignore */
+ script.$.onreadystatechange = function ()
+ {
+ if ( script.$.readyState == 'loaded' || script.$.readyState == 'complete' )
+ {
+ script.$.onreadystatechange = null;
+ onLoad( url, true );
+ }
+ };
+ }
+ else
+ {
+ /** @ignore */
+ script.$.onload = function()
+ {
+ // Some browsers, such as Safari, may call the onLoad function
+ // immediately. Which will break the loading sequence. (#3661)
+ setTimeout( function() { onLoad( url, true ); }, 0 );
+ };
+
+ // FIXME: Opera and Safari will not fire onerror.
+
+ /** @ignore */
+ script.$.onerror = function()
+ {
+ onLoad( url, false );
+ };
+ }
+ }
+
+ // Append it to <head>.
+ script.appendTo( CKEDITOR.document.getHead() );
+
+ CKEDITOR.fire( 'download', url ); // @Packager.RemoveLine
+ };
+
+ showBusy && CKEDITOR.document.getDocumentElement().setStyle( 'cursor', 'wait' );
+ for ( var i = 0 ; i < scriptCount ; i++ )
+ {
+ loadScript( scriptUrl[ i ] );
+ }
+ },
+
+ /**
+ * Executes a JavaScript code into the current document.
+ * @param {String} code The code to be executed.
+ * @example
+ * CKEDITOR.scriptLoader.loadCode( 'var x = 10;' );
+ * alert( x ); // "10"
+ */
+ loadCode : function( code )
+ {
+ // Create the <script> element.
+ var script = new CKEDITOR.dom.element( 'script' );
+ script.setAttribute( 'type', 'text/javascript' );
+ script.appendText( code );
+
+ // Append it to <head>.
+ script.appendTo( CKEDITOR.document.getHead() );
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/skins.js b/devel/third-party/ckeditor/core/skins.js
new file mode 100644
index 0000000..b31373e
--- /dev/null
+++ b/devel/third-party/ckeditor/core/skins.js
@@ -0,0 +1,204 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.skins} object, which is used to
+ * manage skins loading.
+ */
+
+/**
+ * Manages skins loading.
+ * @namespace
+ * @example
+ */
+CKEDITOR.skins = (function()
+{
+ // Holds the list of loaded skins.
+ var loaded = {};
+ var preloaded = {};
+ var paths = {};
+
+ var loadPart = function( editor, skinName, part, callback )
+ {
+ // Get the skin definition.
+ var skinDefinition = loaded[ skinName ];
+
+ if ( !editor.skin )
+ {
+ editor.skin = skinDefinition;
+
+ // Trigger init function if any.
+ if ( skinDefinition.init )
+ skinDefinition.init( editor );
+ }
+
+ var appendSkinPath = function( fileNames )
+ {
+ for ( var n = 0 ; n < fileNames.length ; n++ )
+ {
+ fileNames[ n ] = CKEDITOR.getUrl( paths[ skinName ] + fileNames[ n ] );
+ }
+ };
+
+ function fixCSSTextRelativePath( cssStyleText, baseUrl )
+ {
+ return cssStyleText.replace( /url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g,
+ function( match, opener, path, closer )
+ {
+ if ( /^\/|^\w?:/.test( path ) )
+ return match;
+ else
+ return 'url(' + baseUrl + opener + path + closer + ')';
+ } );
+ }
+
+ // Check if we need to preload images from it.
+ if ( !preloaded[ skinName ] )
+ {
+ var preload = skinDefinition.preload;
+ if ( preload && preload.length > 0 )
+ {
+ appendSkinPath( preload );
+ CKEDITOR.imageCacher.load( preload, function()
+ {
+ preloaded[ skinName ] = 1;
+ loadPart( editor, skinName, part, callback );
+ } );
+ return;
+ }
+
+ // Mark it as preloaded.
+ preloaded[ skinName ] = 1;
+ }
+
+ // Get the part definition.
+ part = skinDefinition[ part ];
+ var partIsLoaded = !part || !!part._isLoaded;
+
+ // Call the callback immediately if already loaded.
+ if ( partIsLoaded )
+ callback && callback();
+ else
+ {
+ // Put the callback in a queue.
+ var pending = part._pending || ( part._pending = [] );
+ pending.push( callback );
+
+ // We may have more than one skin part load request. Just the first
+ // one must do the loading job.
+ if ( pending.length > 1 )
+ return;
+
+ // Check whether the "css" and "js" properties have been defined
+ // for that part.
+ var cssIsLoaded = !part.css || !part.css.length;
+ var jsIsLoaded = !part.js || !part.js.length;
+
+ // This is the function that will trigger the callback calls on
+ // load.
+ var checkIsLoaded = function()
+ {
+ if ( cssIsLoaded && jsIsLoaded )
+ {
+ // Mark the part as loaded.
+ part._isLoaded = 1;
+
+ // Call all pending callbacks.
+ for ( var i = 0 ; i < pending.length ; i++ )
+ {
+ if ( pending[ i ] )
+ pending[ i ]();
+ }
+ }
+ };
+
+ // Load the "css" pieces.
+ if ( !cssIsLoaded )
+ {
+ var cssPart = part.css;
+
+ if ( CKEDITOR.tools.isArray( cssPart ) )
+ {
+ appendSkinPath( cssPart );
+ for ( var c = 0 ; c < cssPart.length ; c++ )
+ CKEDITOR.document.appendStyleSheet( cssPart[ c ] );
+ }
+ else
+ {
+ cssPart = fixCSSTextRelativePath(
+ cssPart, CKEDITOR.getUrl( paths[ skinName ] ) );
+ // Processing Inline CSS part.
+ CKEDITOR.document.appendStyleText( cssPart );
+ }
+
+ part.css = cssPart;
+
+ cssIsLoaded = 1;
+ }
+
+ // Load the "js" pieces.
+ if ( !jsIsLoaded )
+ {
+ appendSkinPath( part.js );
+ CKEDITOR.scriptLoader.load( part.js, function()
+ {
+ jsIsLoaded = 1;
+ checkIsLoaded();
+ });
+ }
+
+ // We may have nothing to load, so check it immediately.
+ checkIsLoaded();
+ }
+ };
+
+ return /** @lends CKEDITOR.skins */ {
+
+ /**
+ * Registers a skin definition.
+ * @param {String} skinName The skin name.
+ * @param {Object} skinDefinition The skin definition.
+ * @example
+ */
+ add : function( skinName, skinDefinition )
+ {
+ loaded[ skinName ] = skinDefinition;
+
+ skinDefinition.skinPath = paths[ skinName ]
+ || ( paths[ skinName ] =
+ CKEDITOR.getUrl(
+ '_source/' + // @Packager.RemoveLine
+ 'skins/' + skinName + '/' ) );
+ },
+
+ /**
+ * Loads a skin part. Skins are defined in parts, which are basically
+ * separated CSS files. This function is mainly used by the core code and
+ * should not have much use out of it.
+ * @param {String} skinName The name of the skin to be loaded.
+ * @param {String} skinPart The skin part to be loaded. Common skin parts
+ * are "editor" and "dialog".
+ * @param {Function} [callback] A function to be called once the skin
+ * part files are loaded.
+ * @example
+ */
+ load : function( editor, skinPart, callback )
+ {
+ var skinName = editor.skinName,
+ skinPath = editor.skinPath;
+
+ if ( loaded[ skinName ] )
+ loadPart( editor, skinName, skinPart, callback );
+ else
+ {
+ paths[ skinName ] = skinPath;
+ CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( skinPath + 'skin.js' ), function()
+ {
+ loadPart( editor, skinName, skinPart, callback );
+ });
+ }
+ }
+ };
+})();
diff --git a/devel/third-party/ckeditor/core/themes.js b/devel/third-party/ckeditor/core/themes.js
new file mode 100644
index 0000000..b20fdcb
--- /dev/null
+++ b/devel/third-party/ckeditor/core/themes.js
@@ -0,0 +1,19 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.themes} object, which is used to
+ * manage themes registration and loading.
+ */
+
+/**
+ * Manages themes registration and loading.
+ * @namespace
+ * @augments CKEDITOR.resourceManager
+ * @example
+ */
+CKEDITOR.themes = new CKEDITOR.resourceManager(
+ '_source/'+ // @Packager.RemoveLine
+ 'themes/', 'theme' );
diff --git a/devel/third-party/ckeditor/core/tools.js b/devel/third-party/ckeditor/core/tools.js
new file mode 100644
index 0000000..a1bff9a
--- /dev/null
+++ b/devel/third-party/ckeditor/core/tools.js
@@ -0,0 +1,747 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.tools} object, which contains
+ * utility functions.
+ */
+
+(function()
+{
+ var functions = [];
+
+ CKEDITOR.on( 'reset', function()
+ {
+ functions = [];
+ });
+
+ /**
+ * Utility functions.
+ * @namespace
+ * @example
+ */
+ CKEDITOR.tools =
+ {
+ /**
+ * Compare the elements of two arrays.
+ * @param {Array} arrayA An array to be compared.
+ * @param {Array} arrayB The other array to be compared.
+ * @returns {Boolean} "true" is the arrays have the same lenght and
+ * their elements match.
+ * @example
+ * var a = [ 1, 'a', 3 ];
+ * var b = [ 1, 3, 'a' ];
+ * var c = [ 1, 'a', 3 ];
+ * var d = [ 1, 'a', 3, 4 ];
+ *
+ * alert( CKEDITOR.tools.arrayCompare( a, b ) ); // false
+ * alert( CKEDITOR.tools.arrayCompare( a, c ) ); // true
+ * alert( CKEDITOR.tools.arrayCompare( a, d ) ); // false
+ */
+ arrayCompare : function( arrayA, arrayB )
+ {
+ if ( !arrayA && !arrayB )
+ return true;
+
+ if ( !arrayA || !arrayB || arrayA.length != arrayB.length )
+ return false;
+
+ for ( var i = 0 ; i < arrayA.length ; i++ )
+ {
+ if ( arrayA[ i ] != arrayB[ i ] )
+ return false;
+ }
+
+ return true;
+ },
+
+ /**
+ * Creates a deep copy of an object.
+ * Attention: there is no support for recursive references.
+ * @param {Object} object The object to be cloned.
+ * @returns {Object} The object clone.
+ * @example
+ * var obj =
+ * {
+ * name : 'John',
+ * cars :
+ * {
+ * Mercedes : { color : 'blue' },
+ * Porsche : { color : 'red' }
+ * }
+ * };
+ * var clone = CKEDITOR.tools.clone( obj );
+ * clone.name = 'Paul';
+ * clone.cars.Porsche.color = 'silver';
+ * alert( obj.name ); // John
+ * alert( clone.name ); // Paul
+ * alert( obj.cars.Porsche.color ); // red
+ * alert( clone.cars.Porsche.color ); // silver
+ */
+ clone : function( obj )
+ {
+ var clone;
+
+ // Array.
+ if ( obj && ( obj instanceof Array ) )
+ {
+ clone = [];
+
+ for ( var i = 0 ; i < obj.length ; i++ )
+ clone[ i ] = this.clone( obj[ i ] );
+
+ return clone;
+ }
+
+ // "Static" types.
+ if ( obj === null
+ || ( typeof( obj ) != 'object' )
+ || ( obj instanceof String )
+ || ( obj instanceof Number )
+ || ( obj instanceof Boolean )
+ || ( obj instanceof Date )
+ || ( obj instanceof RegExp) )
+ {
+ return obj;
+ }
+
+ // Objects.
+ clone = new obj.constructor();
+
+ for ( var propertyName in obj )
+ {
+ var property = obj[ propertyName ];
+ clone[ propertyName ] = this.clone( property );
+ }
+
+ return clone;
+ },
+
+ /**
+ * Turn the first letter of string to upper-case.
+ * @param {String} str
+ */
+ capitalize: function( str )
+ {
+ return str.charAt( 0 ).toUpperCase() + str.substring( 1 ).toLowerCase();
+ },
+
+ /**
+ * Copy the properties from one object to another. By default, properties
+ * already present in the target object <strong>are not</strong> overwritten.
+ * @param {Object} target The object to be extended.
+ * @param {Object} source[,souce(n)] The objects from which copy
+ * properties. Any number of objects can be passed to this function.
+ * @param {Boolean} [overwrite] If 'true' is specified it indicates that
+ * properties already present in the target object could be
+ * overwritten by subsequent objects.
+ * @param {Object} [properties] Only properties within the specified names
+ * list will be received from the source object.
+ * @returns {Object} the extended object (target).
+ * @example
+ * // Create the sample object.
+ * var myObject =
+ * {
+ * prop1 : true
+ * };
+ *
+ * // Extend the above object with two properties.
+ * CKEDITOR.tools.extend( myObject,
+ * {
+ * prop2 : true,
+ * prop3 : true
+ * } );
+ *
+ * // Alert "prop1", "prop2" and "prop3".
+ * for ( var p in myObject )
+ * alert( p );
+ */
+ extend : function( target )
+ {
+ var argsLength = arguments.length,
+ overwrite, propertiesList;
+
+ if ( typeof ( overwrite = arguments[ argsLength - 1 ] ) == 'boolean')
+ argsLength--;
+ else if ( typeof ( overwrite = arguments[ argsLength - 2 ] ) == 'boolean' )
+ {
+ propertiesList = arguments [ argsLength -1 ];
+ argsLength-=2;
+ }
+ for ( var i = 1 ; i < argsLength ; i++ )
+ {
+ var source = arguments[ i ];
+ for ( var propertyName in source )
+ {
+ // Only copy existed fields if in overwrite mode.
+ if ( overwrite === true || target[ propertyName ] == undefined )
+ {
+ // Only copy specified fields if list is provided.
+ if ( !propertiesList || ( propertyName in propertiesList ) )
+ target[ propertyName ] = source[ propertyName ];
+
+ }
+ }
+ }
+
+ return target;
+ },
+
+ /**
+ * Creates an object which is an instance of a class which prototype is a
+ * predefined object. All properties defined in the source object are
+ * automatically inherited by the resulting object, including future
+ * changes to it.
+ * @param {Object} source The source object to be used as the prototype for
+ * the final object.
+ * @returns {Object} The resulting copy.
+ */
+ prototypedCopy : function( source )
+ {
+ var copy = function()
+ {};
+ copy.prototype = source;
+ return new copy();
+ },
+
+ /**
+ * Checks if an object is an Array.
+ * @param {Object} object The object to be checked.
+ * @type Boolean
+ * @returns <i>true</i> if the object is an Array, otherwise <i>false</i>.
+ * @example
+ * alert( CKEDITOR.tools.isArray( [] ) ); // "true"
+ * alert( CKEDITOR.tools.isArray( 'Test' ) ); // "false"
+ */
+ isArray : function( object )
+ {
+ return ( !!object && object instanceof Array );
+ },
+
+ /**
+ * Whether the object contains no properties of it's own.
+ * @param object
+ */
+ isEmpty : function ( object )
+ {
+ for ( var i in object )
+ {
+ if ( object.hasOwnProperty( i ) )
+ return false;
+ }
+ return true;
+ },
+
+ /**
+ * Transforms a CSS property name to its relative DOM style name.
+ * @param {String} cssName The CSS property name.
+ * @returns {String} The transformed name.
+ * @example
+ * alert( CKEDITOR.tools.cssStyleToDomStyle( 'background-color' ) ); // "backgroundColor"
+ * alert( CKEDITOR.tools.cssStyleToDomStyle( 'float' ) ); // "cssFloat"
+ */
+ cssStyleToDomStyle : ( function()
+ {
+ var test = document.createElement( 'div' ).style;
+
+ var cssFloat = ( typeof test.cssFloat != 'undefined' ) ? 'cssFloat'
+ : ( typeof test.styleFloat != 'undefined' ) ? 'styleFloat'
+ : 'float';
+
+ return function( cssName )
+ {
+ if ( cssName == 'float' )
+ return cssFloat;
+ else
+ {
+ return cssName.replace( /-./g, function( match )
+ {
+ return match.substr( 1 ).toUpperCase();
+ });
+ }
+ };
+ } )(),
+
+ /**
+ * Build the HTML snippet of a set of <style>/<link>.
+ * @param css {String|Array} Each of which are url (absolute) of a CSS file or
+ * a trunk of style text.
+ */
+ buildStyleHtml : function ( css )
+ {
+ css = [].concat( css );
+ var item, retval = [];
+ for ( var i = 0; i < css.length; i++ )
+ {
+ item = css[ i ];
+ // Is CSS style text ?
+ if ( /@import|[{}]/.test(item) )
+ retval.push('<style>' + item + '</style>');
+ else
+ retval.push('<link type="text/css" rel=stylesheet href="' + item + '">');
+ }
+ return retval.join( '' );
+ },
+
+ /**
+ * Replace special HTML characters in a string with their relative HTML
+ * entity values.
+ * @param {String} text The string to be encoded.
+ * @returns {String} The encode string.
+ * @example
+ * alert( CKEDITOR.tools.htmlEncode( 'A > B & C < D' ) ); // "A &gt; B &amp; C &lt; D"
+ */
+ htmlEncode : function( text )
+ {
+ var standard = function( text )
+ {
+ var span = new CKEDITOR.dom.element( 'span' );
+ span.setText( text );
+ return span.getHtml();
+ };
+
+ var fix1 = ( standard( '\n' ).toLowerCase() == '<br>' ) ?
+ function( text )
+ {
+ // #3874 IE and Safari encode line-break into <br>
+ return standard( text ).replace( /<br>/gi, '\n' );
+ } :
+ standard;
+
+ var fix2 = ( standard( '>' ) == '>' ) ?
+ function( text )
+ {
+ // WebKit does't encode the ">" character, which makes sense, but
+ // it's different than other browsers.
+ return fix1( text ).replace( />/g, '>' );
+ } :
+ fix1;
+
+ var fix3 = ( standard( ' ' ) == ' ' ) ?
+ function( text )
+ {
+ // #3785 IE8 changes spaces (>= 2) to
+ return fix2( text ).replace( / /g, ' ' );
+ } :
+ fix2;
+
+ this.htmlEncode = fix3;
+
+ return this.htmlEncode( text );
+ },
+
+ /**
+ * Replace special HTML characters in HTMLElement's attribute with their relative HTML entity values.
+ * @param {String} The attribute's value to be encoded.
+ * @returns {String} The encode value.
+ * @example
+ * element.setAttribute( 'title', '<a " b >' );
+ * alert( CKEDITOR.tools.htmlEncodeAttr( element.getAttribute( 'title' ) ); // ">a " b <"
+ */
+ htmlEncodeAttr : function( text )
+ {
+ return text.replace( /"/g, '"' ).replace( /</g, '<' ).replace( />/g, '>' );
+ },
+
+ /**
+ * Replace characters can't be represented through CSS Selectors string
+ * by CSS Escape Notation where the character escape sequence consists
+ * of a backslash character (\) followed by the orginal characters.
+ * Ref: http://www.w3.org/TR/css3-selectors/#grammar
+ * @param cssSelectText
+ * @return the escaped selector text.
+ */
+ escapeCssSelector : function( cssSelectText )
+ {
+ return cssSelectText.replace( /[\s#:.,$*^\[\]()~=+>]/g, '\\$&' );
+ },
+
+ /**
+ * Gets a unique number for this CKEDITOR execution session. It returns
+ * progressive numbers starting at 1.
+ * @function
+ * @returns {Number} A unique number.
+ * @example
+ * alert( CKEDITOR.tools.<b>getNextNumber()</b> ); // "1" (e.g.)
+ * alert( CKEDITOR.tools.<b>getNextNumber()</b> ); // "2"
+ */
+ getNextNumber : (function()
+ {
+ var last = 0;
+ return function()
+ {
+ return ++last;
+ };
+ })(),
+
+ /**
+ * Gets a unique ID for CKEditor's interface elements. It returns a
+ * string with the "cke_" prefix and a progressive number.
+ * @function
+ * @returns {String} A unique ID.
+ * @example
+ * alert( CKEDITOR.tools.<b>getNextId()</b> ); // "cke_1" (e.g.)
+ * alert( CKEDITOR.tools.<b>getNextId()</b> ); // "cke_2"
+ */
+ getNextId : function()
+ {
+ return 'cke_' + this.getNextNumber();
+ },
+
+ /**
+ * Creates a function override.
+ * @param {Function} originalFunction The function to be overridden.
+ * @param {Function} functionBuilder A function that returns the new
+ * function. The original function reference will be passed to this
+ * function.
+ * @returns {Function} The new function.
+ * @example
+ * var example =
+ * {
+ * myFunction : function( name )
+ * {
+ * alert( 'Name: ' + name );
+ * }
+ * };
+ *
+ * example.myFunction = CKEDITOR.tools.override( example.myFunction, function( myFunctionOriginal )
+ * {
+ * return function( name )
+ * {
+ * alert( 'Override Name: ' + name );
+ * myFunctionOriginal.call( this, name );
+ * };
+ * });
+ */
+ override : function( originalFunction, functionBuilder )
+ {
+ return functionBuilder( originalFunction );
+ },
+
+ /**
+ * Executes a function after specified delay.
+ * @param {Function} func The function to be executed.
+ * @param {Number} [milliseconds] The amount of time (millisecods) to wait
+ * to fire the function execution. Defaults to zero.
+ * @param {Object} [scope] The object to hold the function execution scope
+ * (the "this" object). By default the "window" object.
+ * @param {Object|Array} [args] A single object, or an array of objects, to
+ * pass as arguments to the function.
+ * @param {Object} [ownerWindow] The window that will be used to set the
+ * timeout. By default the current "window".
+ * @returns {Object} A value that can be used to cancel the function execution.
+ * @example
+ * CKEDITOR.tools.<b>setTimeout(
+ * function()
+ * {
+ * alert( 'Executed after 2 seconds' );
+ * },
+ * 2000 )</b>;
+ */
+ setTimeout : function( func, milliseconds, scope, args, ownerWindow )
+ {
+ if ( !ownerWindow )
+ ownerWindow = window;
+
+ if ( !scope )
+ scope = ownerWindow;
+
+ return ownerWindow.setTimeout(
+ function()
+ {
+ if ( args )
+ func.apply( scope, [].concat( args ) ) ;
+ else
+ func.apply( scope ) ;
+ },
+ milliseconds || 0 );
+ },
+
+ /**
+ * Remove spaces from the start and the end of a string. The following
+ * characters are removed: space, tab, line break, line feed.
+ * @function
+ * @param {String} str The text from which remove the spaces.
+ * @returns {String} The modified string without the boundary spaces.
+ * @example
+ * alert( CKEDITOR.tools.trim( ' example ' ); // "example"
+ */
+ trim : (function()
+ {
+ // We are not using \s because we don't want "non-breaking spaces" to be caught.
+ var trimRegex = /(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;
+ return function( str )
+ {
+ return str.replace( trimRegex, '' ) ;
+ };
+ })(),
+
+ /**
+ * Remove spaces from the start (left) of a string. The following
+ * characters are removed: space, tab, line break, line feed.
+ * @function
+ * @param {String} str The text from which remove the spaces.
+ * @returns {String} The modified string excluding the removed spaces.
+ * @example
+ * alert( CKEDITOR.tools.ltrim( ' example ' ); // "example "
+ */
+ ltrim : (function()
+ {
+ // We are not using \s because we don't want "non-breaking spaces" to be caught.
+ var trimRegex = /^[ \t\n\r]+/g;
+ return function( str )
+ {
+ return str.replace( trimRegex, '' ) ;
+ };
+ })(),
+
+ /**
+ * Remove spaces from the end (right) of a string. The following
+ * characters are removed: space, tab, line break, line feed.
+ * @function
+ * @param {String} str The text from which remove the spaces.
+ * @returns {String} The modified string excluding the removed spaces.
+ * @example
+ * alert( CKEDITOR.tools.ltrim( ' example ' ); // " example"
+ */
+ rtrim : (function()
+ {
+ // We are not using \s because we don't want "non-breaking spaces" to be caught.
+ var trimRegex = /[ \t\n\r]+$/g;
+ return function( str )
+ {
+ return str.replace( trimRegex, '' ) ;
+ };
+ })(),
+
+ /**
+ * Returns the index of an element in an array.
+ * @param {Array} array The array to be searched.
+ * @param {Object} entry The element to be found.
+ * @returns {Number} The (zero based) index of the first entry that matches
+ * the entry, or -1 if not found.
+ * @example
+ * var letters = [ 'a', 'b', 0, 'c', false ];
+ * alert( CKEDITOR.tools.indexOf( letters, '0' ) ); "-1" because 0 !== '0'
+ * alert( CKEDITOR.tools.indexOf( letters, false ) ); "4" because 0 !== false
+ */
+ indexOf :
+ // #2514: We should try to use Array.indexOf if it does exist.
+ ( Array.prototype.indexOf ) ?
+ function( array, entry )
+ {
+ return array.indexOf( entry );
+ }
+ :
+ function( array, entry )
+ {
+ for ( var i = 0, len = array.length ; i < len ; i++ )
+ {
+ if ( array[ i ] === entry )
+ return i;
+ }
+ return -1;
+ },
+
+ /**
+ * Creates a function that will always execute in the context of a
+ * specified object.
+ * @param {Function} func The function to be executed.
+ * @param {Object} obj The object to which bind the execution context.
+ * @returns {Function} The function that can be used to execute the
+ * "func" function in the context of "obj".
+ * @example
+ * var obj = { text : 'My Object' };
+ *
+ * function alertText()
+ * {
+ * alert( this.text );
+ * }
+ *
+ * var newFunc = <b>CKEDITOR.tools.bind( alertText, obj )</b>;
+ * newFunc(); // Alerts "My Object".
+ */
+ bind : function( func, obj )
+ {
+ return function() { return func.apply( obj, arguments ); };
+ },
+
+ /**
+ * Class creation based on prototype inheritance, with supports of the
+ * following features:
+ * <ul>
+ * <li> Static fields </li>
+ * <li> Private fields </li>
+ * <li> Public (prototype) fields </li>
+ * <li> Chainable base class constructor </li>
+ * </ul>
+ * @param {Object} definition The class definition object.
+ * @returns {Function} A class-like JavaScript function.
+ */
+ createClass : function( definition )
+ {
+ var $ = definition.$,
+ baseClass = definition.base,
+ privates = definition.privates || definition._,
+ proto = definition.proto,
+ statics = definition.statics;
+
+ if ( privates )
+ {
+ var originalConstructor = $;
+ $ = function()
+ {
+ // Create (and get) the private namespace.
+ var _ = this._ || ( this._ = {} );
+
+ // Make some magic so "this" will refer to the main
+ // instance when coding private functions.
+ for ( var privateName in privates )
+ {
+ var priv = privates[ privateName ];
+
+ _[ privateName ] =
+ ( typeof priv == 'function' ) ? CKEDITOR.tools.bind( priv, this ) : priv;
+ }
+
+ originalConstructor.apply( this, arguments );
+ };
+ }
+
+ if ( baseClass )
+ {
+ $.prototype = this.prototypedCopy( baseClass.prototype );
+ $.prototype.constructor = $;
+ $.prototype.base = function()
+ {
+ this.base = baseClass.prototype.base;
+ baseClass.apply( this, arguments );
+ this.base = arguments.callee;
+ };
+ }
+
+ if ( proto )
+ this.extend( $.prototype, proto, true );
+
+ if ( statics )
+ this.extend( $, statics, true );
+
+ return $;
+ },
+
+ /**
+ * Creates a function reference that can be called later using
+ * CKEDITOR.tools.callFunction. This approach is specially useful to
+ * make DOM attribute function calls to JavaScript defined functions.
+ * @param {Function} fn The function to be executed on call.
+ * @param {Object} [scope] The object to have the context on "fn" execution.
+ * @returns {Number} A unique reference to be used in conjuction with
+ * CKEDITOR.tools.callFunction.
+ * @example
+ * var ref = <b>CKEDITOR.tools.addFunction</b>(
+ * function()
+ * {
+ * alert( 'Hello!');
+ * });
+ * CKEDITOR.tools.callFunction( ref ); // Hello!
+ */
+ addFunction : function( fn, scope )
+ {
+ return functions.push( function()
+ {
+ fn.apply( scope || this, arguments );
+ }) - 1;
+ },
+
+ /**
+ * Removes the function reference created with {@see CKEDITOR.tools.addFunction}.
+ * @param {Number} ref The function reference created with
+ * CKEDITOR.tools.addFunction.
+ */
+ removeFunction : function( ref )
+ {
+ functions[ ref ] = null;
+ },
+
+ /**
+ * Executes a function based on the reference created with
+ * CKEDITOR.tools.addFunction.
+ * @param {Number} ref The function reference created with
+ * CKEDITOR.tools.addFunction.
+ * @param {[Any,[Any,...]} params Any number of parameters to be passed
+ * to the executed function.
+ * @returns {Any} The return value of the function.
+ * @example
+ * var ref = CKEDITOR.tools.addFunction(
+ * function()
+ * {
+ * alert( 'Hello!');
+ * });
+ * <b>CKEDITOR.tools.callFunction( ref )</b>; // Hello!
+ */
+ callFunction : function( ref )
+ {
+ var fn = functions[ ref ];
+ return fn && fn.apply( window, Array.prototype.slice.call( arguments, 1 ) );
+ },
+
+ /**
+ * Append the 'px' length unit to the size if it's missing.
+ * @param length
+ */
+ cssLength : (function()
+ {
+ var decimalRegex = /^\d+(?:\.\d+)?$/;
+ return function( length )
+ {
+ return length + ( decimalRegex.test( length ) ? 'px' : '' );
+ };
+ })(),
+
+ /**
+ * String specified by {@param str} repeats {@param times} times.
+ * @param str
+ * @param times
+ */
+ repeat : function( str, times )
+ {
+ return new Array( times + 1 ).join( str );
+ },
+
+ /**
+ * Return the first successfully executed function's return value that
+ * doesn't throw any exception.
+ */
+ tryThese : function()
+ {
+ var returnValue;
+ for ( var i = 0, length = arguments.length; i < length; i++ )
+ {
+ var lambda = arguments[i];
+ try
+ {
+ returnValue = lambda();
+ break;
+ }
+ catch (e) {}
+ }
+ return returnValue;
+ },
+
+ /**
+ * Generate a combined key from a series of params.
+ * @param {String} subKey One or more string used as sub keys.
+ * @example
+ * var key = CKEDITOR.tools.genKey( 'key1', 'key2', 'key3' );
+ * alert( key ); // "key1-key2-key3".
+ */
+ genKey : function()
+ {
+ return Array.prototype.slice.call( arguments ).join( '-' );
+ }
+ };
+})();
+
+// PACKAGER_RENAME( CKEDITOR.tools )
diff --git a/devel/third-party/ckeditor/core/ui.js b/devel/third-party/ckeditor/core/ui.js
new file mode 100644
index 0000000..0a66c2e
--- /dev/null
+++ b/devel/third-party/ckeditor/core/ui.js
@@ -0,0 +1,116 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Contains UI features related to an editor instance.
+ * @constructor
+ * @param {CKEDITOR.editor} editor The editor instance.
+ * @example
+ */
+CKEDITOR.ui = function( editor )
+{
+ if ( editor.ui )
+ return editor.ui;
+
+ /**
+ * Object used to hold private stuff.
+ * @private
+ */
+ this._ =
+ {
+ handlers : {},
+ items : {},
+ editor : editor
+ };
+
+ return this;
+};
+
+// PACKAGER_RENAME( CKEDITOR.ui )
+
+CKEDITOR.ui.prototype =
+{
+ /**
+ * Adds a UI item to the items collection. These items can be later used in
+ * the interface.
+ * @param {String} name The UI item name.
+ * @param {Object} type The item type.
+ * @param {Object} definition The item definition. The properties of this
+ * object depend on the item type.
+ * @example
+ * // Add a new button named "MyBold".
+ * editorInstance.ui.add( 'MyBold', CKEDITOR.UI_BUTTON,
+ * {
+ * label : 'My Bold',
+ * command : 'bold'
+ * });
+ */
+ add : function( name, type, definition )
+ {
+ this._.items[ name ] =
+ {
+ type : type,
+ // The name of {@link CKEDITOR.command} which associate with this UI.
+ command : definition.command || null,
+ args : Array.prototype.slice.call( arguments, 2 )
+ };
+ },
+
+ /**
+ * Gets a UI object.
+ * @param {String} name The UI item hame.
+ * @example
+ */
+ create : function( name )
+ {
+ var item = this._.items[ name ],
+ handler = item && this._.handlers[ item.type ],
+ command = item && item.command && this._.editor.getCommand( item.command );
+
+ var result = handler && handler.create.apply( this, item.args );
+
+ // Add reference inside command object.
+ if ( command )
+ command.uiItems.push( result );
+
+ return result;
+ },
+
+ /**
+ * Adds a handler for a UI item type. The handler is responsible for
+ * transforming UI item definitions in UI objects.
+ * @param {Object} type The item type.
+ * @param {Object} handler The handler definition.
+ * @example
+ */
+ addHandler : function( type, handler )
+ {
+ this._.handlers[ type ] = handler;
+ }
+};
+
+/**
+ * (Virtual Class) Do not call this constructor. This class is not really part
+ * of the API. It just illustrates the features of hanlder objects to be
+ * passed to the {@link CKEDITOR.ui.prototype.addHandler} function.
+ * @name CKEDITOR.ui.handlerDefinition
+ * @constructor
+ * @example
+ */
+
+ /**
+ * Transforms an item definition into an UI item object.
+ * @name CKEDITOR.handlerDefinition.prototype.create
+ * @function
+ * @param {Object} definition The item definition.
+ * @example
+ * editorInstance.ui.addHandler( CKEDITOR.UI_BUTTON,
+ * {
+ * create : function( definition )
+ * {
+ * return new CKEDITOR.ui.button( definition );
+ * }
+ * });
+ */
diff --git a/devel/third-party/ckeditor/core/xml.js b/devel/third-party/ckeditor/core/xml.js
new file mode 100644
index 0000000..1824e96
--- /dev/null
+++ b/devel/third-party/ckeditor/core/xml.js
@@ -0,0 +1,165 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.xml} class, which represents a
+ * loaded XML document.
+ */
+
+/**
+ * Represents a loaded XML document.
+ * @constructor
+ * @param {object|string} xmlObjectOrData A native XML (DOM document) object or
+ * a string containing the XML definition to be loaded.
+ * @example
+ * var xml = <b>new CKEDITOR.xml( '<books><book title="My Book" /></books>' )</b>;
+ */
+CKEDITOR.xml = function( xmlObjectOrData )
+{
+ var baseXml = null;
+
+ if ( typeof xmlObjectOrData == 'object' )
+ baseXml = xmlObjectOrData;
+ else
+ {
+ var data = ( xmlObjectOrData || '' ).replace( / /g, '\xA0' );
+ if ( window.DOMParser )
+ baseXml = (new DOMParser()).parseFromString( data, 'text/xml' );
+ else if ( window.ActiveXObject )
+ {
+ try { baseXml = new ActiveXObject( 'MSXML2.DOMDocument' ); }
+ catch(e)
+ {
+ try { baseXml = new ActiveXObject( 'Microsoft.XmlDom' ); } catch(e) {}
+ }
+
+ if ( baseXml )
+ {
+ baseXml.async = false;
+ baseXml.resolveExternals = false;
+ baseXml.validateOnParse = false;
+ baseXml.loadXML( data );
+ }
+ }
+ }
+
+ /**
+ * The native XML (DOM document) used by the class instance.
+ * @type object
+ * @example
+ */
+ this.baseXml = baseXml;
+};
+
+CKEDITOR.xml.prototype =
+{
+ /**
+ * Get a single node from the XML document, based on a XPath query.
+ * @param {String} xpath The XPath query to execute.
+ * @param {Object} [contextNode] The XML DOM node to be used as the context
+ * for the XPath query. The document root is used by default.
+ * @returns {Object} A XML node element or null if the query has no results.
+ * @example
+ * // Create the XML instance.
+ * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+ * // Get the first <item> node.
+ * var itemNode = <b>xml.selectSingleNode( 'list/item' )</b>;
+ * // Alert "item".
+ * alert( itemNode.nodeName );
+ */
+ selectSingleNode : function( xpath, contextNode )
+ {
+ var baseXml = this.baseXml;
+
+ if ( contextNode || ( contextNode = baseXml ) )
+ {
+ if ( CKEDITOR.env.ie || contextNode.selectSingleNode ) // IE
+ return contextNode.selectSingleNode( xpath );
+ else if ( baseXml.evaluate ) // Others
+ {
+ var result = baseXml.evaluate( xpath, contextNode, null, 9, null);
+ return ( result && result.singleNodeValue ) || null;
+ }
+ }
+
+ return null;
+ },
+
+ /**
+ * Gets a list node from the XML document, based on a XPath query.
+ * @param {String} xpath The XPath query to execute.
+ * @param {Object} [contextNode] The XML DOM node to be used as the context
+ * for the XPath query. The document root is used by default.
+ * @returns {ArrayLike} An array containing all matched nodes. The array will
+ * be empty if the query has no results.
+ * @example
+ * // Create the XML instance.
+ * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+ * // Get the first <item> node.
+ * var itemNodes = xml.selectSingleNode( 'list/item' );
+ * // Alert "item" twice, one for each <item>.
+ * for ( var i = 0 ; i < itemNodes.length ; i++ )
+ * alert( itemNodes[i].nodeName );
+ */
+ selectNodes : function( xpath, contextNode )
+ {
+ var baseXml = this.baseXml,
+ nodes = [];
+
+ if ( contextNode || ( contextNode = baseXml ) )
+ {
+ if ( CKEDITOR.env.ie || contextNode.selectNodes ) // IE
+ return contextNode.selectNodes( xpath );
+ else if ( baseXml.evaluate ) // Others
+ {
+ var result = baseXml.evaluate( xpath, contextNode, null, 5, null);
+
+ if ( result )
+ {
+ var node;
+ while ( ( node = result.iterateNext() ) )
+ nodes.push( node );
+ }
+ }
+ }
+
+ return nodes;
+ },
+
+ /**
+ * Gets the string representation of hte inner contents of a XML node,
+ * based on a XPath query.
+ * @param {String} xpath The XPath query to execute.
+ * @param {Object} [contextNode] The XML DOM node to be used as the context
+ * for the XPath query. The document root is used by default.
+ * @returns {String} The textual representation of the inner contents of
+ * the node or null if the query has no results.
+ * @example
+ * // Create the XML instance.
+ * var xml = new CKEDITOR.xml( '<list><item id="test1" /><item id="test2" /></list>' );
+ * // Alert "<item id="test1" /><item id="test2" />".
+ * alert( xml.getInnerXml( 'list' ) );
+ */
+ getInnerXml : function( xpath, contextNode )
+ {
+ var node = this.selectSingleNode( xpath, contextNode ),
+ xml = [];
+ if ( node )
+ {
+ node = node.firstChild;
+ while ( node )
+ {
+ if ( node.xml ) // IE
+ xml.push( node.xml );
+ else if ( window.XMLSerializer ) // Others
+ xml.push( ( new XMLSerializer() ).serializeToString( node ) );
+
+ node = node.nextSibling;
+ }
+ }
+
+ return xml.length ? xml.join( '' ) : null;
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/_languages.js b/devel/third-party/ckeditor/lang/_languages.js
new file mode 100644
index 0000000..5b29f18
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/_languages.js
@@ -0,0 +1,83 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+var CKEDITOR_LANGS = (function()
+{
+ var langs =
+ {
+ af : 'Afrikaans',
+ ar : 'Arabic',
+ bg : 'Bulgarian',
+ bn : 'Bengali/Bangla',
+ bs : 'Bosnian',
+ ca : 'Catalan',
+ cs : 'Czech',
+ cy : 'Welsh',
+ da : 'Danish',
+ de : 'German',
+ el : 'Greek',
+ en : 'English',
+ 'en-au' : 'English (Australia)',
+ 'en-ca' : 'English (Canadian)',
+ 'en-gb' : 'English (United Kingdom)',
+ eo : 'Esperanto',
+ es : 'Spanish',
+ et : 'Estonian',
+ eu : 'Basque',
+ fa : 'Persian',
+ fi : 'Finnish',
+ fo : 'Faroese',
+ fr : 'French',
+ 'fr-ca' : 'French (Canada)',
+ gl : 'Galician',
+ gu : 'Gujarati',
+ he : 'Hebrew',
+ hi : 'Hindi',
+ hr : 'Croatian',
+ hu : 'Hungarian',
+ is : 'Icelandic',
+ it : 'Italian',
+ ja : 'Japanese',
+ km : 'Khmer',
+ ko : 'Korean',
+ lt : 'Lithuanian',
+ lv : 'Latvian',
+ mn : 'Mongolian',
+ ms : 'Malay',
+ nb : 'Norwegian Bokmal',
+ nl : 'Dutch',
+ no : 'Norwegian',
+ pl : 'Polish',
+ pt : 'Portuguese (Portugal)',
+ 'pt-br' : 'Portuguese (Brazil)',
+ ro : 'Romanian',
+ ru : 'Russian',
+ sk : 'Slovak',
+ sl : 'Slovenian',
+ sr : 'Serbian (Cyrillic)',
+ 'sr-latn' : 'Serbian (Latin)',
+ sv : 'Swedish',
+ th : 'Thai',
+ tr : 'Turkish',
+ uk : 'Ukrainian',
+ vi : 'Vietnamese',
+ zh : 'Chinese Traditional',
+ 'zh-cn' : 'Chinese Simplified'
+ };
+
+ var langsArray = [];
+
+ for ( var code in langs )
+ {
+ langsArray.push( { code : code, name : langs[ code ] } );
+ }
+
+ langsArray.sort( function( a, b )
+ {
+ return ( a.name < b.name ) ? -1 : 1;
+ });
+
+ return langsArray;
+})();
diff --git a/devel/third-party/ckeditor/lang/_translationstatus.txt b/devel/third-party/ckeditor/lang/_translationstatus.txt
new file mode 100644
index 0000000..28e77a7
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/_translationstatus.txt
@@ -0,0 +1,60 @@
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+
+af.js Found: 287 Missing: 244
+ar.js Found: 451 Missing: 80
+bg.js Found: 280 Missing: 251
+bn.js Found: 281 Missing: 250
+bs.js Found: 187 Missing: 344
+ca.js Found: 490 Missing: 41
+cs.js Found: 411 Missing: 120
+cy.js Found: 452 Missing: 79
+da.js Found: 404 Missing: 127
+de.js Found: 528 Missing: 3
+el.js Found: 286 Missing: 245
+en-au.js Found: 369 Missing: 162
+en-ca.js Found: 369 Missing: 162
+en-gb.js Found: 370 Missing: 161
+eo.js Found: 259 Missing: 272
+es.js Found: 524 Missing: 7
+et.js Found: 301 Missing: 230
+eu.js Found: 403 Missing: 128
+fa.js Found: 302 Missing: 229
+fi.js Found: 518 Missing: 13
+fo.js Found: 420 Missing: 111
+fr-ca.js Found: 301 Missing: 230
+fr.js Found: 403 Missing: 128
+gl.js Found: 283 Missing: 248
+gu.js Found: 300 Missing: 231
+he.js Found: 531 Missing: 0
+hi.js Found: 302 Missing: 229
+hr.js Found: 404 Missing: 127
+hu.js Found: 445 Missing: 86
+is.js Found: 307 Missing: 224
+it.js Found: 404 Missing: 127
+ja.js Found: 413 Missing: 118
+km.js Found: 275 Missing: 256
+ko.js Found: 293 Missing: 238
+lt.js Found: 306 Missing: 225
+lv.js Found: 283 Missing: 248
+mn.js Found: 300 Missing: 231
+ms.js Found: 265 Missing: 266
+nb.js Found: 470 Missing: 61
+nl.js Found: 531 Missing: 0
+no.js Found: 470 Missing: 61
+pl.js Found: 411 Missing: 120
+pt-br.js Found: 524 Missing: 7
+pt.js Found: 282 Missing: 249
+ro.js Found: 301 Missing: 230
+ru.js Found: 467 Missing: 64
+sk.js Found: 302 Missing: 229
+sl.js Found: 410 Missing: 121
+sr-latn.js Found: 276 Missing: 255
+sr.js Found: 275 Missing: 256
+sv.js Found: 299 Missing: 232
+th.js Found: 287 Missing: 244
+tr.js Found: 524 Missing: 7
+uk.js Found: 404 Missing: 127
+vi.js Found: 481 Missing: 50
+zh-cn.js Found: 531 Missing: 0
+zh.js Found: 404 Missing: 127
diff --git a/devel/third-party/ckeditor/lang/af.js b/devel/third-party/ckeditor/lang/af.js
new file mode 100644
index 0000000..5ff01ee
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/af.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Afrikaans language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['af'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Source',
+ newPage : 'Nuwe Bladsy',
+ save : 'Bewaar',
+ preview : 'Voorskou',
+ cut : 'Uitsny ',
+ copy : 'Kopieer',
+ paste : 'Byvoeg',
+ print : 'Druk',
+ underline : 'Onderstreep',
+ bold : 'Vet',
+ italic : 'Skuins',
+ selectAll : 'Selekteer alles',
+ removeFormat : 'Formaat verweider',
+ strike : 'Gestreik',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Horisontale lyn byvoeg',
+ pagebreak : 'Bladsy breek byvoeg',
+ unlink : 'Skakel verweider',
+ undo : 'Ont-skep',
+ redo : 'Her-skep',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Server deurblaai',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Oplaai',
+ uploadSubmit : 'Stuur dit na die Server',
+ image : 'Beeld',
+ flash : 'Flash',
+ form : 'Form',
+ checkbox : 'HakBox',
+ radio : 'PuntBox',
+ textField : 'Byvoegbare karakter strook',
+ textarea : 'Byvoegbare karakter area',
+ hiddenField : 'Blinde strook',
+ button : 'Knop',
+ select : 'Opklapbare keuse strook',
+ imageButton : 'Beeld knop',
+ notSet : '<geen instelling>',
+ id : 'Id',
+ name : 'Naam',
+ langDir : 'Taal rigting',
+ langDirLtr : 'Links na regs (LTR)',
+ langDirRtl : 'Regs na links (RTL)',
+ langCode : 'Taal kode',
+ longDescr : 'Lang beskreiwing URL',
+ cssClass : 'Skakel Tiepe',
+ advisoryTitle : 'Voorbeveelings Titel',
+ cssStyle : 'Styl',
+ ok : 'OK',
+ cancel : 'Kanseleer',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Ingewikkeld',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Spesiaale Karakter byvoeg',
+ title : 'Kies spesiale karakter',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Skakel byvoeg/verander',
+ other : '<ander>',
+ menu : 'Verander skakel',
+ title : 'Skakel',
+ info : 'Skakel informasie',
+ target : 'Mikpunt',
+ upload : 'Oplaai',
+ advanced : 'Ingewikkeld',
+ type : 'Skakel soort',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Skakel na plekhouers in text',
+ toEmail : 'E-Mail',
+ targetFrame : '<raam>',
+ targetPopup : '<popup venster>',
+ targetFrameName : 'Mikpunt Venster Naam',
+ targetPopupName : 'Popup Venster Naam',
+ popupFeatures : 'Popup Venster Geaartheid',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Status Balk',
+ popupLocationBar: 'Adres Balk',
+ popupToolbar : 'Gereedskap Balk',
+ popupMenuBar : 'Menu Balk',
+ popupFullScreen : 'Voll Skerm (IE)',
+ popupScrollBars : 'Gleibalkstuk',
+ popupDependent : 'Afhanklik (Netscape)',
+ popupWidth : 'Weite',
+ popupLeft : 'Links Posisie',
+ popupHeight : 'Hoogde',
+ popupTop : 'Bo Posisie',
+ id : 'Id', // MISSING
+ langDir : 'Taal rigting',
+ langDirLTR : 'Links na regs (LTR)',
+ langDirRTL : 'Regs na links (RTL)',
+ acccessKey : 'Toegang sleutel',
+ name : 'Naam',
+ langCode : 'Taal rigting',
+ tabIndex : 'Tab Index',
+ advisoryTitle : 'Voorbeveelings Titel',
+ advisoryContentType : 'Voorbeveelings inhoud soort',
+ cssClasses : 'Skakel Tiepe',
+ charset : 'Geskakelde voorbeeld karakterstel',
+ styles : 'Styl',
+ selectAnchor : 'Kies \'n plekhouer',
+ anchorName : 'Volgens plekhouer naam',
+ anchorId : 'Volgens element Id',
+ emailAddress : 'E-Mail Adres',
+ emailSubject : 'Boodskap Opskrif',
+ emailBody : 'Boodskap Inhoud',
+ noAnchors : '(Geen plekhouers beskikbaar in dokument}',
+ noUrl : 'Voeg asseblief die URL in',
+ noEmail : 'Voeg asseblief die e-mail adres in'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Plekhouer byvoeg/verander',
+ menu : 'Plekhouer eienskappe',
+ title : 'Plekhouer eienskappe',
+ name : 'Plekhouer Naam',
+ errorName : 'Voltooi die plekhouer naam asseblief'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'Vind',
+ replace : 'Vervang',
+ findWhat : 'Soek wat:',
+ replaceWith : 'Vervang met:',
+ notFoundMsg : 'Die gespesifiseerde karakters word nie gevind nie.',
+ matchCase : 'Vergelyk karakter skryfweise',
+ matchWord : 'Vergelyk komplete woord',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Vervang alles',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabel',
+ title : 'Tabel eienskappe',
+ menu : 'Tabel eienskappe',
+ deleteTable : 'Tabel verweider',
+ rows : 'Reie',
+ columns : 'Kolome',
+ border : 'Kant groote',
+ align : 'Parideering',
+ alignLeft : 'Links',
+ alignCenter : 'Middel',
+ alignRight : 'Regs',
+ width : 'Weite',
+ widthPx : 'pixels',
+ widthPc : 'percent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Hoogde',
+ cellSpace : 'Cell spasieering',
+ cellPad : 'Cell buffer',
+ caption : 'Beskreiwing',
+ summary : 'Opsomming',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell',
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'Cell verweider',
+ merge : 'Cell verenig',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Ry',
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'Ry verweider'
+ },
+
+ column :
+ {
+ menu : 'Kolom',
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'Kolom verweider'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Knop eienskappe',
+ text : 'Karakters (Waarde)',
+ type : 'Soort',
+ typeBtn : 'Knop',
+ typeSbm : 'Indien',
+ typeRst : 'Reset'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'HakBox eienskappe',
+ radioTitle : 'PuntBox eienskappe',
+ value : 'Waarde',
+ selected : 'Uitgekies'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form eienskappe',
+ menu : 'Form eienskappe',
+ action : 'Aksie',
+ method : 'Metode',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Opklapbare keuse strook eienskappe',
+ selectInfo : 'Info',
+ opAvail : 'Beskikbare Opsies',
+ value : 'Waarde',
+ size : 'Grote',
+ lines : 'lyne',
+ chkMulti : 'Laat meerere keuses toe',
+ opText : 'Karakters',
+ opValue : 'Waarde',
+ btnAdd : 'Byvoeg',
+ btnModify : 'Verander',
+ btnUp : 'Op',
+ btnDown : 'Af',
+ btnSetValue : 'Stel as uitgekiesde waarde',
+ btnDelete : 'Verweider'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Karakter area eienskappe',
+ cols : 'Kolom',
+ rows : 'Reie'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Karakter strook eienskappe',
+ name : 'Naam',
+ value : 'Waarde',
+ charWidth : 'Karakter weite',
+ maxChars : 'Maximale karakters',
+ type : 'Soort',
+ typeText : 'Karakters',
+ typePass : 'Wagwoord'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Blinde strook eienskappe',
+ name : 'Naam',
+ value : 'Waarde'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Beeld eienskappe',
+ titleButton : 'Beeld knop eienskappe',
+ menu : 'Beeld eienskappe',
+ infoTab : 'Beeld informasie',
+ btnUpload : 'Stuur dit na die Server',
+ upload : 'Uplaai',
+ alt : 'Alternatiewe beskrywing',
+ width : 'Weidte',
+ height : 'Hoogde',
+ lockRatio : 'Behou preporsie',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Herstel groote',
+ border : 'Kant',
+ hSpace : 'HSpasie',
+ vSpace : 'VSpasie',
+ align : 'Paradeer',
+ alignLeft : 'Links',
+ alignRight : 'Regs',
+ alertUrl : 'Voeg asseblief Beeld URL in.',
+ linkTab : 'Skakel',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash eienskappe',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flash eienskappe',
+ chkPlay : 'Automaties Speel',
+ chkLoop : 'Herhaling',
+ chkMenu : 'Laat Flash Menu toe',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Scale',
+ scaleAll : 'Wys alles',
+ scaleNoBorder : 'Geen kante',
+ scaleFit : 'Presiese pas',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Paradeer',
+ alignLeft : 'Links',
+ alignAbsBottom : 'Abs Onder',
+ alignAbsMiddle : 'Abs Middel',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Onder',
+ alignMiddle : 'Middel',
+ alignRight : 'Regs',
+ alignTextTop : 'Text Bo',
+ alignTop : 'Bo',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Agtergrond kleur',
+ width : 'Weidte',
+ height : 'Hoogde',
+ hSpace : 'HSpasie',
+ vSpace : 'VSpasie',
+ validateSrc : 'Voeg asseblief die URL in',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Spelling nagaan',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Nie in woordeboek nie',
+ changeTo : 'Verander na',
+ btnIgnore : 'Ignoreer',
+ btnIgnoreAll : 'Ignoreer na-volgende',
+ btnReplace : 'Vervang',
+ btnReplaceAll : 'vervang na-volgende',
+ btnUndo : 'Ont-skep',
+ noSuggestions : '- Geen voorstel -',
+ progress : 'Spelling word beproef...',
+ noMispell : 'Spellproef kompleet: Geen foute',
+ noChanges : 'Spellproef kompleet: Geen woord veranderings',
+ oneChange : 'Spellproef kompleet: Een woord verander',
+ manyChanges : 'Spellproef kompleet: %1 woorde verander',
+ ieSpellDownload : 'Geen Spellproefer geinstaleer nie. Wil U dit aflaai?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Voeg Smiley by',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Genommerde lys',
+ bulletedlist : 'Gepunkte lys',
+ indent : 'Paradeering verleng',
+ outdent : 'Paradeering verkort',
+
+ justify :
+ {
+ left : 'Links rig',
+ center : 'Rig Middel',
+ right : 'Regs rig',
+ block : 'Blok paradeer'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Byvoeg',
+ cutError : 'U browser se sekuriteit instelling behinder die uitsny aksie. Gebruik asseblief die sleutel kombenasie(Ctrl/Cmd+X).',
+ copyError : 'U browser se sekuriteit instelling behinder die kopieerings aksie. Gebruik asseblief die sleutel kombenasie(Ctrl/Cmd+C).',
+ pasteMsg : 'Voeg asseblief die inhoud in die gegewe box by met sleutel kombenasie(<STRONG>Ctrl/Cmd+V</STRONG>) en druk <STRONG>OK</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Van Word af byvoeg',
+ title : 'Van Word af byvoeg',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Voeg slegs karakters by',
+ title : 'Voeg slegs karakters by'
+ },
+
+ templates :
+ {
+ button : 'Templates',
+ title : 'Inhoud Templates',
+ options : 'Template Options', // MISSING
+ insertOption : 'Vervang bestaande inhoud',
+ selectPromptMsg : 'Kies die template om te gebruik in die editor<br>(Inhoud word vervang!):',
+ emptyListMsg : '(Geen templates gedefinieerd)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Styl',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Karakter formaat',
+ panelTitle : 'Karakter formaat',
+
+ tag_p : 'Normaal',
+ tag_pre : 'Geformateerd',
+ tag_address : 'Adres',
+ tag_h1 : 'Opskrif 1',
+ tag_h2 : 'Opskrif 2',
+ tag_h3 : 'Opskrif 3',
+ tag_h4 : 'Opskrif 4',
+ tag_h5 : 'Opskrif 5',
+ tag_h6 : 'Opskrif 6',
+ tag_div : 'Normaal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Karakters',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Karakters'
+ },
+
+ fontSize :
+ {
+ label : 'Karakter grote',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Karakter grote'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Karakter kleur',
+ bgColorTitle : 'Agtergrond kleur',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automaties',
+ more : 'Meer Kleure...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/ar.js b/devel/third-party/ckeditor/lang/ar.js
new file mode 100644
index 0000000..dea0dec
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/ar.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Arabic language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ar'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'rtl',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'اÙÙ
صدر',
+ newPage : 'صÙØØ© جدÙدة',
+ save : 'ØÙظ',
+ preview : 'Ù
عاÙÙØ© اÙصÙØØ©',
+ cut : 'Ùص',
+ copy : 'Ùسخ',
+ paste : 'ÙصÙ',
+ print : 'طباعة',
+ underline : 'تسطÙر',
+ bold : 'غاÙ
Ù',
+ italic : 'Ù
ائÙ',
+ selectAll : 'تØدÙد اÙÙÙ',
+ removeFormat : 'إزاÙØ© اÙتÙسÙÙات',
+ strike : 'ÙتÙسط٠خط',
+ subscript : 'Ù
ÙØ®Ùض',
+ superscript : 'Ù
رتÙع',
+ horizontalrule : 'خط ÙاصÙ',
+ pagebreak : 'إدخا٠صÙØØ© جدÙدة',
+ unlink : 'إزاÙØ© رابط',
+ undo : 'تراجع',
+ redo : 'إعادة',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'تصÙØ',
+ url : 'اÙرابط',
+ protocol : 'اÙبرÙتÙÙÙÙ',
+ upload : 'رÙع',
+ uploadSubmit : 'أرسÙ',
+ image : 'صÙرة',
+ flash : 'ÙÙاش',
+ form : 'ÙÙ
Ùذج',
+ checkbox : 'خاÙØ© إختÙار',
+ radio : 'زر اختÙار',
+ textField : 'Ù
ربع Ùص',
+ textarea : 'Ù
ساØØ© ÙصÙØ©',
+ hiddenField : 'إدراج ØÙÙ Ø®ÙÙ',
+ button : 'زر ضغط',
+ select : 'اختار',
+ imageButton : 'زر صÙرة',
+ notSet : '<بدÙ٠تØدÙد>',
+ id : 'اÙرÙÙ
',
+ name : 'اÙاسÙ
',
+ langDir : 'إتجا٠اÙÙص',
+ langDirLtr : 'اÙÙسار ÙÙÙÙ
ÙÙ (LTR)',
+ langDirRtl : 'اÙÙÙ
ÙÙ ÙÙÙسار (RTL)',
+ langCode : 'رÙ
ز اÙÙغة',
+ longDescr : 'اÙÙص٠اÙتÙصÙÙÙ',
+ cssClass : 'Ùئات اÙتÙسÙÙ',
+ advisoryTitle : 'عÙÙا٠اÙتÙرÙر',
+ cssStyle : 'ÙÙ
Ø·',
+ ok : 'Ù
ÙاÙÙ',
+ cancel : 'Ø¥Ùغاء اÙØ£Ù
ر',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'عاÙ
',
+ advancedTab : 'Ù
تÙدÙ
',
+ validateNumberFailed : 'ÙاÙÙجد ÙتÙجة',
+ confirmNewPage : 'ستÙÙد Ø£Ù Ù
تغÙÙرات اذا ÙÙ
تÙÙ
بØÙظÙا اÙÙا. Ù٠أÙت Ù
تأÙد Ø£Ù٠ترÙد صÙØØ© جدÙدةØ',
+ confirmCancel : 'بعض اÙØ®Ùارات Ùد تغÙرت. Ù٠أÙت Ù
تأÙد Ù
٠إغÙا٠Ù
ربع اÙÙصØ',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, غÙر Ù
تاØ</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'إدراج خاص.Ù',
+ title : 'اختر اÙØ®Ùاص',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'رابط',
+ other : '<أخرÙ>',
+ menu : 'تØرÙر رابط',
+ title : 'إرتباط تشعبÙ',
+ info : 'Ù
عÙÙÙ
ات اÙرابط',
+ target : 'Ùد٠اÙرابط',
+ upload : 'رÙع',
+ advanced : 'Ù
تÙدÙ
',
+ type : 'ÙÙع اÙربط',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Ù
Ùا٠ÙÙ Ùذا اÙÙ
ستÙد',
+ toEmail : 'برÙد Ø¥ÙÙترÙÙÙ',
+ targetFrame : '<إطار>',
+ targetPopup : '<ÙاÙذة Ù
ÙبثÙØ©>',
+ targetFrameName : 'اسÙ
اÙإطار اÙÙ
ستÙدÙ',
+ targetPopupName : 'اسÙ
اÙÙاÙذة اÙÙ
ÙبثÙØ©',
+ popupFeatures : 'خصائص اÙÙاÙذة اÙÙ
ÙبثÙØ©',
+ popupResizable : 'ÙابÙØ© اÙتشÙÙÙ',
+ popupStatusBar : 'شرÙØ· اÙØاÙØ©',
+ popupLocationBar: 'شرÙØ· اÙعÙÙاÙ',
+ popupToolbar : 'شرÙØ· اÙأدÙات',
+ popupMenuBar : 'اÙÙÙائÙ
اÙرئÙسÙØ©',
+ popupFullScreen : 'Ù
Ùئ اÙشاشة (IE)',
+ popupScrollBars : 'أشرطة اÙتÙ
رÙر',
+ popupDependent : 'تابع (Netscape)',
+ popupWidth : 'اÙعرض',
+ popupLeft : 'اÙتÙ
رÙز ÙÙÙسار',
+ popupHeight : 'اÙإرتÙاع',
+ popupTop : 'اÙتÙ
رÙز ÙÙأعÙÙ',
+ id : 'ÙÙÙØ©',
+ langDir : 'إتجا٠اÙÙص',
+ langDirLTR : 'اÙÙسار ÙÙÙÙ
ÙÙ (LTR)',
+ langDirRTL : 'اÙÙÙ
ÙÙ ÙÙÙسار (RTL)',
+ acccessKey : 'Ù
ÙاتÙØ Ø§Ùإختصار',
+ name : 'اÙاسÙ
',
+ langCode : 'ÙÙد اÙÙص',
+ tabIndex : 'اÙترتÙب',
+ advisoryTitle : 'عÙÙا٠اÙتÙرÙر',
+ advisoryContentType : 'ÙÙع اÙتÙرÙر',
+ cssClasses : 'Ùئات اÙتÙسÙÙ',
+ charset : 'ترÙ
Ùز اÙÙ
ادة اÙÙ
Ø·ÙÙبة',
+ styles : 'ÙÙ
Ø·',
+ selectAnchor : 'اختر عÙاÙ
Ø© Ù
رجعÙØ©',
+ anchorName : 'Øسب اÙاسÙ
',
+ anchorId : 'Øسب رÙÙ
اÙعÙصر',
+ emailAddress : 'عÙÙا٠اÙبرÙد Ø¥ÙÙترÙÙÙ',
+ emailSubject : 'Ù
ÙضÙع اÙرساÙØ©',
+ emailBody : 'Ù
ØتÙ٠اÙرساÙØ©',
+ noAnchors : '(Ùا تÙجد عÙاÙ
ات Ù
رجعÙØ© ÙÙ Ùذا اÙÙ
ستÙد)',
+ noUrl : 'Ù
Ù ÙضÙ٠أدخ٠عÙÙا٠اÙÙ
ÙÙع اÙØ°Ù ÙØ´Ùر Ø¥ÙÙ٠اÙرابط',
+ noEmail : 'Ù
Ù ÙضÙ٠أدخ٠عÙÙا٠اÙبرÙد اÙØ¥ÙÙترÙÙÙ'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'إشارة Ù
رجعÙØ©',
+ menu : 'تØرÙر اÙإشارة اÙÙ
رجعÙØ©',
+ title : 'خصائص اÙإشارة اÙÙ
رجعÙØ©',
+ name : 'اسÙ
اÙإشارة اÙÙ
رجعÙØ©',
+ errorName : 'اÙرجاء Ùتابة اسÙ
اÙإشارة اÙÙ
رجعÙØ©'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'بØØ« ÙاستبداÙ',
+ find : 'بØØ«',
+ replace : 'إستبداÙ',
+ findWhat : 'اÙبØØ« بÙ:',
+ replaceWith : 'إستبدا٠بÙ:',
+ notFoundMsg : 'ÙÙ
ÙتÙ
اÙعثÙر عÙ٠اÙÙص اÙÙ
Øدد.',
+ matchCase : 'Ù
طابÙØ© ØاÙØ© اÙØ£ØرÙ',
+ matchWord : 'Ù
طابÙØ© باÙÙاÙ
Ù',
+ matchCyclic : 'Ù
طابÙØ© دÙرÙØ©',
+ replaceAll : 'إستبدا٠اÙÙÙ',
+ replaceSuccessMsg : 'تÙ
استبدا٠1% Ù
٠اÙØاÙات '
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'جدÙÙ',
+ title : 'خصائص اÙجدÙÙ',
+ menu : 'خصائص اÙجدÙÙ',
+ deleteTable : 'Øذ٠اÙجدÙÙ',
+ rows : 'صÙÙÙ',
+ columns : 'أعÙ
دة',
+ border : 'اÙØدÙد',
+ align : 'اÙÙ
Øاذاة',
+ alignLeft : 'Ùسار',
+ alignCenter : 'Ùسط',
+ alignRight : 'ÙÙ
ÙÙ',
+ width : 'اÙعرض',
+ widthPx : 'بÙسÙ',
+ widthPc : 'باÙÙ
ئة',
+ widthUnit : 'width unit', // MISSING
+ height : 'اÙإرتÙاع',
+ cellSpace : 'تباعد اÙØ®ÙاÙا',
+ cellPad : 'اÙÙ
ساÙØ© اÙبادئة',
+ caption : 'اÙÙصÙ',
+ summary : 'اÙØ®Ùاصة',
+ headers : 'اÙعÙاÙÙÙ',
+ headersNone : 'بدÙÙ',
+ headersColumn : 'اÙعÙ
Ùد اÙØ£ÙÙ',
+ headersRow : 'اÙص٠اÙØ£ÙÙ',
+ headersBoth : 'ÙÙاÙÙ
ا',
+ invalidRows : 'عدد اÙصÙÙÙ Ùجب Ø£Ù ÙÙÙ٠عددا٠أÙبر Ù
٠صÙر.',
+ invalidCols : 'عدد اÙأعÙ
دة Ùجب Ø£Ù ÙÙÙ٠عددا٠أÙبر Ù
٠صÙر.',
+ invalidBorder : 'ØجÙ
اÙØد Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ invalidWidth : 'عرض اÙجدÙÙ Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ invalidHeight : 'ارتÙاع اÙجدÙÙ Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ invalidCellSpacing : 'اÙÙ
ساÙØ© بÙ٠اÙØ®ÙاÙا Ùجب أ٠تÙÙ٠عدداÙ.',
+ invalidCellPadding : 'اÙÙ
ساÙØ© اÙبادئة Ùجب أ٠تÙÙ٠عدداÙ',
+
+ cell :
+ {
+ menu : 'Ø®ÙÙØ©',
+ insertBefore : 'إدراج Ø®ÙÙØ© ÙبÙ',
+ insertAfter : 'إدراج Ø®ÙÙØ© بعد',
+ deleteCell : 'ØØ°Ù Ø®ÙÙØ©',
+ merge : 'دÙ
ج Ø®ÙاÙا',
+ mergeRight : 'دÙ
ج ÙÙÙÙ
ÙÙ',
+ mergeDown : 'دÙ
ج ÙÙأسÙÙ',
+ splitHorizontal : 'تÙسÙÙ
اÙØ®ÙÙØ© Ø£ÙÙÙاÙ',
+ splitVertical : 'تÙسÙÙ
اÙØ®ÙÙØ© عÙ
ÙدÙاÙ',
+ title : 'خصائص اÙØ®ÙÙØ©',
+ cellType : 'ÙÙع اÙØ®ÙÙØ©',
+ rowSpan : 'اÙ
تداد اÙصÙÙÙ',
+ colSpan : 'اÙ
تداد اÙأعÙ
دة',
+ wordWrap : 'اÙتÙا٠اÙÙص',
+ hAlign : 'Ù
Øاذاة Ø£ÙÙÙØ©',
+ vAlign : 'Ù
Øاذاة رأسÙØ©',
+ alignTop : 'أعÙÙ',
+ alignMiddle : 'Ùسط',
+ alignBottom : 'أسÙÙ',
+ alignBaseline : 'خط اÙÙاعدة',
+ bgColor : 'ÙÙ٠اÙØ®ÙÙÙØ©',
+ borderColor : 'ÙÙ٠اÙØدÙد',
+ data : 'بÙاÙات',
+ header : 'عÙÙاÙ',
+ yes : 'ÙعÙ
',
+ no : 'Ùا',
+ invalidWidth : 'عرض اÙØ®ÙÙØ© Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ invalidHeight : 'ارتÙاع اÙØ®ÙÙØ© Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ invalidRowSpan : 'اÙ
تداد اÙصÙÙÙ Ùجب Ø£Ù ÙÙÙ٠عددا٠صØÙØاÙ.',
+ invalidColSpan : 'اÙ
تداد اÙأعÙ
دة Ùجب Ø£Ù ÙÙÙ٠عددا٠صØÙØاÙ.',
+ chooseColor : 'اختر'
+ },
+
+ row :
+ {
+ menu : 'صÙ',
+ insertBefore : 'إدراج ص٠ÙبÙ',
+ insertAfter : 'إدراج ص٠بعد',
+ deleteRow : 'Øذ٠صÙÙÙ'
+ },
+
+ column :
+ {
+ menu : 'عÙ
Ùد',
+ insertBefore : 'إدراج عÙ
Ùد ÙبÙ',
+ insertAfter : 'إدراج عÙ
Ùد بعد',
+ deleteColumn : 'Øذ٠أعÙ
دة'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'خصائص زر اÙضغط',
+ text : 'اÙÙÙÙ
Ø©/اÙتسÙ
ÙØ©',
+ type : 'ÙÙع اÙزر',
+ typeBtn : 'زر',
+ typeSbm : 'إرساÙ',
+ typeRst : 'إعادة تعÙÙÙ'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'خصائص خاÙØ© اÙإختÙار',
+ radioTitle : 'خصائص زر اÙØ®Ùار',
+ value : 'اÙÙÙÙ
Ø©',
+ selected : 'Ù
Øدد'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'خصائص اÙÙÙ
Ùذج',
+ menu : 'خصائص اÙÙÙ
Ùذج',
+ action : 'اسÙ
اÙÙ
ÙÙ',
+ method : 'اÙأسÙÙب',
+ encoding : 'تشÙÙر'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'خصائص اختÙار اÙØÙÙ',
+ selectInfo : 'اختار Ù
عÙÙÙ
ات',
+ opAvail : 'اÙØ®Ùارات اÙÙ
تاØØ©',
+ value : 'اÙÙÙÙ
Ø©',
+ size : 'اÙØجÙ
',
+ lines : 'اÙأسطر',
+ chkMulti : 'اÙسÙ
Ø§Ø Ø¨ØªØدÙدات Ù
تعددة',
+ opText : 'اÙÙص',
+ opValue : 'اÙÙÙÙ
Ø©',
+ btnAdd : 'إضاÙØ©',
+ btnModify : 'تعدÙÙ',
+ btnUp : 'أعÙÙ',
+ btnDown : 'أسÙÙ',
+ btnSetValue : 'إجعÙÙا Ù
Øددة',
+ btnDelete : 'إزاÙØ©'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'خصائص Ù
ساØØ© اÙÙص',
+ cols : 'اÙأعÙ
دة',
+ rows : 'اÙصÙÙÙ'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'خصائص Ù
ربع اÙÙص',
+ name : 'اÙاسÙ
',
+ value : 'اÙÙÙÙ
Ø©',
+ charWidth : 'عرض اÙسÙ
ات',
+ maxChars : 'اÙص٠عدد ÙÙسÙ
ات',
+ type : 'ÙÙع اÙÙ
ØتÙÙ',
+ typeText : 'Ùص',
+ typePass : 'ÙÙÙ
Ø© Ù
رÙر'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'خصائص اÙØÙ٠اÙÙ
Ø®ÙÙ',
+ name : 'اÙاسÙ
',
+ value : 'اÙÙÙÙ
Ø©'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'خصائص اÙصÙرة',
+ titleButton : 'خصائص زر اÙصÙرة',
+ menu : 'خصائص اÙصÙرة',
+ infoTab : 'Ù
عÙÙÙ
ات اÙصÙرة',
+ btnUpload : 'أرسÙÙا ÙÙخادÙ
',
+ upload : 'رÙع',
+ alt : 'عÙÙا٠اÙصÙرة',
+ width : 'اÙعرض',
+ height : 'اÙإرتÙاع',
+ lockRatio : 'تÙاس٠اÙØجÙ
',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'إستعادة اÙØجÙ
اÙأصÙÙ',
+ border : 'سÙ
٠اÙØدÙد',
+ hSpace : 'تباعد Ø£ÙÙÙ',
+ vSpace : 'تباعد عÙ
ÙدÙ',
+ align : 'Ù
Øاذاة',
+ alignLeft : 'Ùسار',
+ alignRight : 'ÙÙ
ÙÙ',
+ alertUrl : 'ÙضÙا٠أÙتب اÙÙ
ÙÙع اÙذ٠تÙجد عÙÙÙ Ùذ٠اÙصÙرة.',
+ linkTab : 'اÙرابط',
+ button2Img : 'Ù٠ترÙد تØÙÙ٠زر اÙصÙرة اÙÙ
ختار Ø¥Ù٠صÙرة بسÙطةØ',
+ img2Button : 'Ù٠ترÙد تØÙÙ٠اÙصÙرة اÙÙ
ختارة Ø¥Ù٠زر صÙرةØ',
+ urlMissing : 'عÙÙا٠Ù
صدر اÙصÙرة Ù
ÙÙÙد',
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'خصائص اÙÙÙاش',
+ propertiesTab : 'اÙخصائص',
+ title : 'خصائص ÙÙÙÙ
اÙÙÙاش',
+ chkPlay : 'تشغÙ٠تÙÙائÙ',
+ chkLoop : 'تÙرار',
+ chkMenu : 'تÙ
ÙÙÙ ÙائÙ
Ø© ÙÙÙÙ
اÙÙÙاش',
+ chkFull : 'Ù
ÙØ¡ اÙشاشة',
+ scale : 'اÙØجÙ
',
+ scaleAll : 'إظÙار اÙÙÙ',
+ scaleNoBorder : 'بÙا ØدÙد',
+ scaleFit : 'ضبط تاÙ
',
+ access : 'دخÙ٠اÙÙص اÙبرÙ
جÙ',
+ accessAlways : 'دائÙ
اÙ',
+ accessSameDomain: 'ÙÙس اÙÙطاÙ',
+ accessNever : 'Ù
Ø·ÙÙاÙ',
+ align : 'Ù
Øاذاة',
+ alignLeft : 'Ùسار',
+ alignAbsBottom : 'أسÙ٠اÙÙص',
+ alignAbsMiddle : 'Ùسط اÙسطر',
+ alignBaseline : 'عÙ٠اÙسطر',
+ alignBottom : 'أسÙÙ',
+ alignMiddle : 'Ùسط',
+ alignRight : 'ÙÙ
ÙÙ',
+ alignTextTop : 'أعÙ٠اÙÙص',
+ alignTop : 'أعÙÙ',
+ quality : 'جÙدة',
+ qualityBest : 'Ø£ÙضÙ',
+ qualityHigh : 'عاÙÙØ©',
+ qualityAutoHigh : 'عاÙÙØ© تÙÙائÙاÙ',
+ qualityMedium : 'Ù
تÙسطة',
+ qualityAutoLow : 'Ù
ÙØ®Ùضة تÙÙائÙاÙ',
+ qualityLow : 'Ù
ÙØ®Ùضة',
+ windowModeWindow: 'ÙاÙذة',
+ windowModeOpaque: 'غÙر Ø´ÙاÙ',
+ windowModeTransparent : 'Ø´ÙاÙ',
+ windowMode : 'Ùضع اÙÙاÙذة',
+ flashvars : 'Ù
تغÙرات اÙÙÙاش',
+ bgcolor : 'ÙÙ٠اÙØ®ÙÙÙØ©',
+ width : 'اÙعرض',
+ height : 'اÙإرتÙاع',
+ hSpace : 'تباعد Ø£ÙÙÙ',
+ vSpace : 'تباعد عÙ
ÙدÙ',
+ validateSrc : 'ÙضÙا٠أدخ٠عÙÙا٠اÙÙ
ÙÙع اÙØ°Ù ÙØ´Ùر Ø¥ÙÙ٠اÙرابط',
+ validateWidth : 'اÙعرض Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ validateHeight : 'اÙارتÙاع Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ validateHSpace : 'HSpace Ùجب Ø£Ù ÙÙÙ٠عدداÙ.',
+ validateVSpace : 'VSpace Ùجب Ø£Ù ÙÙÙ٠عدداÙ.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'تدÙÙ٠إÙ
ÙائÙ',
+ title : 'اÙتدÙÙ٠اÙØ¥Ù
ÙائÙ',
+ notAvailable : 'عÙÙاÙØ ÙÙÙÙ Ùذ٠اÙخدÙ
Ø© غÙر Ù
تاØØ© اÙاÙ',
+ errorLoading : 'خطأ Ù٠تØÙ
Ù٠تطبÙ٠خدÙ
Ø© اÙاستضاÙØ©: %s.',
+ notInDic : 'ÙÙست Ù٠اÙÙاÙ
Ùس',
+ changeTo : 'اÙتغÙÙر Ø¥ÙÙ',
+ btnIgnore : 'تجاÙÙ',
+ btnIgnoreAll : 'تجاÙ٠اÙÙÙ',
+ btnReplace : 'تغÙÙر',
+ btnReplaceAll : 'تغÙÙر اÙÙÙ',
+ btnUndo : 'تراجع',
+ noSuggestions : '- Ùا تÙجد Ø¥ÙتراØات -',
+ progress : 'جار٠اÙتدÙÙ٠اÙاÙ
ÙائÙ',
+ noMispell : 'تÙ
اÙتدÙÙ٠اÙØ¥Ù
ÙائÙ: ÙÙ
ÙتÙ
اÙعثÙر عÙ٠أ٠أخطاء Ø¥Ù
ÙائÙØ©',
+ noChanges : 'تÙ
اÙتدÙÙ٠اÙØ¥Ù
ÙائÙ: ÙÙ
ÙتÙ
تغÙÙر Ø£Ù ÙÙÙ
Ø©',
+ oneChange : 'تÙ
اÙتدÙÙ٠اÙØ¥Ù
ÙائÙ: تÙ
تغÙÙر ÙÙÙ
Ø© ÙاØدة ÙÙØ·',
+ manyChanges : 'تÙ
Ø¥ÙÙ
ا٠اÙتدÙÙ٠اÙØ¥Ù
ÙائÙ: تÙ
تغÙÙر %1 Ù
Ù ÙÙÙ
ات',
+ ieSpellDownload : 'اÙÙ
دÙ٠اÙØ¥Ù
Ùائ٠(اÙØ¥ÙجÙÙزÙ) غÙر Ù
ثبÙت. Ù٠تÙد تØÙ
ÙÙ٠اÙØ¢ÙØ'
+ },
+
+ smiley :
+ {
+ toolbar : 'ابتساÙ
ات',
+ title : 'إدراج ابتساÙ
ات',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : 'عÙصر 1%'
+ },
+
+ numberedlist : 'ادخاÙ/Øذ٠تعداد رÙÙ
Ù',
+ bulletedlist : 'ادخاÙ/Øذ٠تعداد ÙÙØ·Ù',
+ indent : 'زÙادة اÙÙ
ساÙØ© اÙبادئة',
+ outdent : 'Ø¥ÙÙاص اÙÙ
ساÙØ© اÙبادئة',
+
+ justify :
+ {
+ left : 'Ù
Øاذاة Ø¥Ù٠اÙÙسار',
+ center : 'تÙسÙØ·',
+ right : 'Ù
Øاذاة Ø¥Ù٠اÙÙÙ
ÙÙ',
+ block : 'ضبط'
+ },
+
+ blockquote : 'اÙتباس',
+
+ clipboard :
+ {
+ title : 'ÙصÙ',
+ cutError : 'اÙإعدادات اÙØ£Ù
ÙÙØ© ÙÙÙ
تصÙØ Ø§Ùذ٠تستخدÙ
٠تÙ
Ùع اÙÙص اÙتÙÙائÙ. ÙضÙا٠إستخدÙ
ÙÙØØ© اÙÙ
ÙاتÙØ ÙÙع٠ذÙÙ (Ctrl/Cmd+X).',
+ copyError : 'اÙإعدادات اÙØ£Ù
ÙÙØ© ÙÙÙ
تصÙØ Ø§Ùذ٠تستخدÙ
٠تÙ
Ùع اÙÙسخ اÙتÙÙائÙ. ÙضÙا٠إستخدÙ
ÙÙØØ© اÙÙ
ÙاتÙØ ÙÙع٠ذÙÙ (Ctrl/Cmd+C).',
+ pasteMsg : 'اÙص٠داخ٠اÙصÙدÙ٠بإستخداÙ
زرائر (<STRONG>Ctrl/Cmd+V</STRONG>) ÙÙ ÙÙØØ© اÙÙ
ÙاتÙØØ Ø«Ù
اضغط زر <STRONG>Ù
ÙاÙÙ</STRONG>.',
+ securityMsg : 'Ùظرا٠Ùإعدادات اÙØ£Ù
ا٠اÙخاصة بÙ
تصÙØÙØ ÙÙ ÙتÙ
ÙÙ Ùذا اÙÙ
Øرر Ù
٠اÙÙصÙÙ ÙÙ
ØتÙÙ ØاÙظتÙØ ÙØ°ÙÙ Ùجب عÙÙÙ Ùص٠اÙÙ
ØتÙÙ Ù
رة أخر٠ÙÙ Ùذ٠اÙÙاÙذة.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Ùبد٠أ٠اÙÙص اÙÙ
راد ÙصÙÙ Ù
ÙسÙØ® Ù
٠برÙاÙ
ج ÙÙرد. Ù٠تÙد تÙظÙÙÙ Ùب٠اÙشرÙع Ù٠عÙ
ÙÙØ© اÙÙصÙØ',
+ toolbar : 'Ùص٠Ù
Ù ÙÙرد',
+ title : 'Ùص٠Ù
Ù ÙÙرد',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Ùص٠ÙÙص بسÙØ·',
+ title : 'Ùص٠ÙÙص بسÙØ·'
+ },
+
+ templates :
+ {
+ button : 'اÙÙÙاÙب',
+ title : 'ÙÙاÙب اÙÙ
ØتÙÙ',
+ options : 'Template Options', // MISSING
+ insertOption : 'استبدا٠اÙÙ
ØتÙÙ',
+ selectPromptMsg : 'اختر اÙÙاÙب اÙذ٠تÙد Ùضع٠Ù٠اÙÙ
Øرر',
+ emptyListMsg : '(ÙÙ
ÙتÙ
تعرÙ٠أ٠ÙاÙب)'
+ },
+
+ showBlocks : 'Ù
خطط تÙصÙÙÙ',
+
+ stylesCombo :
+ {
+ label : 'Ø£ÙÙ
اط',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Ø£ÙÙ
اط اÙÙÙرة',
+ panelTitle2 : 'Ø£ÙÙ
اط Ù
ضÙ
ÙØ©',
+ panelTitle3 : 'Ø£ÙÙ
اط اÙÙائÙ'
+ },
+
+ format :
+ {
+ label : 'تÙسÙÙ',
+ panelTitle : 'تÙسÙ٠اÙÙÙرة',
+
+ tag_p : 'عادÙ',
+ tag_pre : 'Ù
ÙسÙÙ',
+ tag_address : 'عÙÙاÙ',
+ tag_h1 : 'اÙعÙÙا٠1',
+ tag_h2 : 'اÙعÙÙا٠2',
+ tag_h3 : 'اÙعÙÙا٠3',
+ tag_h4 : 'اÙعÙÙا٠4',
+ tag_h5 : 'اÙعÙÙا٠5',
+ tag_h6 : 'اÙعÙÙا٠6',
+ tag_div : 'عاد٠(DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'خط',
+ voiceLabel : 'ØجÙ
اÙخط',
+ panelTitle : 'ØجÙ
اÙخط'
+ },
+
+ fontSize :
+ {
+ label : 'ØجÙ
اÙخط',
+ voiceLabel : 'ØجÙ
اÙخط',
+ panelTitle : 'ØجÙ
اÙخط'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ÙÙ٠اÙÙص',
+ bgColorTitle : 'ÙÙ٠اÙØ®ÙÙÙØ©',
+ panelTitle : 'Colors', // MISSING
+ auto : 'تÙÙائÙ',
+ more : 'Ø£ÙÙا٠إضاÙÙØ©...'
+ },
+
+ 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' : 'أبÙض'
+ },
+
+ scayt :
+ {
+ title : 'تدÙÙ٠إÙ
Ùائ٠أثÙاء اÙÙتابة',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'تÙعÙÙ SCAYT',
+ disable : 'تعطÙÙ SCAYT',
+ about : 'ع٠SCAYT',
+ toggle : 'تثبÙت SCAYT',
+ options : 'Ø®Ùارات',
+ langs : 'Ùغات',
+ moreSuggestions : 'اÙÙ
زÙد Ù
٠اÙÙ
ÙترØات',
+ ignore : 'تجاÙÙ',
+ ignoreAll : 'تجاÙ٠اÙÙÙ',
+ addWord : 'إضاÙØ© ÙÙÙ
Ø©',
+ emptyDic : 'اسÙ
اÙÙاÙ
Ùس Ùجب Ø£Ùا ÙÙÙÙ ÙارغاÙ.',
+
+ optionsTab : 'Ø®Ùارات',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Ùغات',
+
+ dictionariesTab : 'ÙÙاÙ
Ùس',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'عÙ'
+ },
+
+ about :
+ {
+ title : 'ع٠CKEditor',
+ dlgTitle : 'ع٠CKEditor',
+ moreInfo : 'ÙÙØصÙ٠عÙÙ Ù
عÙÙÙ
ات اÙترخÙص Ø Ùرج٠زÙارة Ù
ÙÙعÙا عÙ٠شبÙØ© اÙاÙترÙت:',
+ copy : 'ØÙÙ٠اÙÙشر © $1. جÙ
Ùع اÙØÙÙÙ Ù
ØÙÙظة.'
+ },
+
+ maximize : 'تÙبÙر',
+ minimize : 'تصغÙر',
+
+ fakeobjects :
+ {
+ anchor : 'إرساء',
+ flash : 'رسÙ
Ù
تØر٠باÙÙÙاش',
+ div : 'Ùاص٠صÙØØ©',
+ unknown : 'Ùائ٠غÙر Ù
عرÙÙ'
+ },
+
+ resize : 'اسØب ÙتغÙÙر اÙØجÙ
',
+
+ colordialog :
+ {
+ title : 'اختر ÙÙÙ',
+ options : 'Color Options', // MISSING
+ highlight : 'Ø¥ÙÙاء اÙضÙØ¡',
+ selected : 'Ù
Ùختار',
+ clear : 'Ù
سØ'
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/bg.js b/devel/third-party/ckeditor/lang/bg.js
new file mode 100644
index 0000000..4e531ad
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/bg.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Bulgarian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['bg'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Ðод',
+ newPage : 'Ðова ÑÑÑаниÑа',
+ save : 'Ðапази',
+ preview : 'ÐÑедваÑиÑелен изглед',
+ cut : 'ÐзÑежи',
+ copy : 'ÐапамеÑи',
+ paste : 'ÐмÑкни',
+ print : 'ÐеÑаÑ',
+ underline : 'ÐодÑеÑÑан',
+ bold : 'Удебелен',
+ italic : 'ÐÑÑÑив',
+ selectAll : 'СелекÑиÑай вÑиÑко',
+ removeFormat : 'ÐзÑÑий ÑоÑмаÑиÑанеÑо',
+ strike : 'ÐаÑеÑÑан',
+ subscript : 'ÐÐ½Ð´ÐµÐºÑ Ð·Ð° база',
+ superscript : 'ÐÐ½Ð´ÐµÐºÑ Ð·Ð° ÑÑепен',
+ horizontalrule : 'ÐмÑкни Ñ
оÑизонÑална линиÑ',
+ pagebreak : 'ÐмÑкни нов Ñед',
+ unlink : 'ÐзÑÑий вÑÑзка',
+ undo : 'ÐÑмени',
+ redo : 'ÐовÑоÑи',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Разгледай ÑÑÑвÑÑа',
+ url : 'ÐÑлен пÑÑ (URL)',
+ protocol : 'ÐÑоÑокол',
+ upload : 'ÐаÑи',
+ uploadSubmit : 'ÐÑаÑи кÑм ÑÑÑвÑÑа',
+ image : 'ÐзобÑажение',
+ flash : 'Flash',
+ form : 'ФоÑмÑлÑÑ',
+ checkbox : 'Ðоле за оÑмеÑка',
+ radio : 'Ðоле за опÑиÑ',
+ textField : 'ТекÑÑово поле',
+ textarea : 'ТекÑÑова облаÑÑ',
+ hiddenField : 'СкÑиÑо поле',
+ button : 'ÐÑÑон',
+ select : 'ÐадаÑо Ð¼ÐµÐ½Ñ Ñ Ð¾Ð¿Ñии',
+ imageButton : 'ÐÑÑон-изобÑажение',
+ notSet : '<не е наÑÑÑоен>',
+ id : 'ÐденÑиÑикаÑоÑ',
+ name : 'Ðме',
+ langDir : 'поÑока на ÑеÑÑа',
+ langDirLtr : 'ÐÑ Ð»Ñво на дÑÑно',
+ langDirRtl : 'ÐÑ Ð´ÑÑно на лÑво',
+ langCode : 'Ðод на езика',
+ longDescr : 'ÐпиÑание на вÑÑзкаÑа',
+ cssClass : 'ÐÐ»Ð°Ñ Ð¾Ñ ÑÑиловиÑе ÑаблиÑи',
+ advisoryTitle : 'ÐÑепоÑÑÑиÑелно заглавие',
+ cssStyle : 'СÑил',
+ ok : 'ÐÐ',
+ cancel : 'ÐÑказ',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'ÐодÑобноÑÑи...',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'ÐмÑкни ÑпеÑиален Ñимвол',
+ title : 'ÐзбеÑеÑе ÑпеÑиален Ñимвол',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ðобави/РедакÑиÑай вÑÑзка',
+ other : '<дÑÑг>',
+ menu : 'РедакÑиÑай вÑÑзка',
+ title : 'ÐÑÑзка',
+ info : 'ÐнÑоÑмаÑÐ¸Ñ Ð·Ð° вÑÑзкаÑа',
+ target : 'Цел',
+ upload : 'ÐаÑи',
+ advanced : 'ÐодÑобноÑÑи...',
+ type : 'Ðид на вÑÑзкаÑа',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ÐоÑва в ÑекÑÑаÑа ÑÑÑаниÑа',
+ toEmail : 'Ð-поÑа',
+ targetFrame : '<Ñамка>',
+ targetPopup : '<дÑÑеÑен пÑозоÑеÑ>',
+ targetFrameName : 'Ðме на ÑÐµÐ»ÐµÐ²Ð¸Ñ Ð¿ÑозоÑеÑ',
+ targetPopupName : 'Ðме на дÑÑеÑÐ½Ð¸Ñ Ð¿ÑозоÑеÑ',
+ popupFeatures : 'ÐаÑамеÑÑи на дÑÑеÑÐ½Ð¸Ñ Ð¿ÑозоÑеÑ',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Ðоле за ÑÑаÑÑÑ',
+ popupLocationBar: 'Ðоле за адÑеÑ',
+ popupToolbar : 'Ðанел Ñ Ð±ÑÑони',
+ popupMenuBar : 'ÐенÑ',
+ popupFullScreen : 'ÐолÑм екÑан (MS IE)',
+ popupScrollBars : 'ÐлÑзгаÑ',
+ popupDependent : 'ÐавиÑим (Netscape)',
+ popupWidth : 'ШиÑина',
+ popupLeft : 'ÐооÑдинаÑи - X',
+ popupHeight : 'ÐиÑоÑина',
+ popupTop : 'ÐооÑдинаÑи - Y',
+ id : 'Id', // MISSING
+ langDir : 'поÑока на ÑеÑÑа',
+ langDirLTR : 'ÐÑ Ð»Ñво на дÑÑно',
+ langDirRTL : 'ÐÑ Ð´ÑÑно на лÑво',
+ acccessKey : 'ÐÑÑз клавиÑ',
+ name : 'Ðме',
+ langCode : 'поÑока на ÑеÑÑа',
+ tabIndex : 'Ред на доÑÑÑп',
+ advisoryTitle : 'ÐÑепоÑÑÑиÑелно заглавие',
+ advisoryContentType : 'ÐÑепоÑÑÑиÑелен Ñип на ÑÑдÑÑжаниеÑо',
+ cssClasses : 'ÐÐ»Ð°Ñ Ð¾Ñ ÑÑиловиÑе ÑаблиÑи',
+ charset : 'Тип на ÑвÑÑÐ·Ð°Ð½Ð¸Ñ ÑеÑÑÑÑ',
+ styles : 'СÑил',
+ selectAnchor : 'ÐзбеÑеÑе коÑва',
+ anchorName : 'Ðо име на коÑваÑа',
+ anchorId : 'Ðо иденÑиÑикаÑÐ¾Ñ Ð½Ð° елеменÑ',
+ emailAddress : 'ÐдÑÐµÑ Ð·Ð° е-поÑа',
+ emailSubject : 'Тема на пиÑмоÑо',
+ emailBody : 'ТекÑÑ Ð½Ð° пиÑмоÑо',
+ noAnchors : '(ÐÑма коÑви в ÑекÑÑÐ¸Ñ Ð´Ð¾ÐºÑменÑ)',
+ noUrl : 'ÐолÑ, напиÑеÑе пÑÐ»Ð½Ð¸Ñ Ð¿ÑÑ (URL)',
+ noEmail : 'ÐолÑ, напиÑеÑе адÑеÑа за е-поÑа'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ðобави/РедакÑиÑай коÑва',
+ menu : 'ÐаÑамеÑÑи на коÑваÑа',
+ title : 'ÐаÑамеÑÑи на коÑваÑа',
+ name : 'Ðме на коÑваÑа',
+ errorName : 'ÐолÑ, вÑведеÑе име на коÑваÑа'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'ТÑÑÑи',
+ replace : 'ÐамеÑÑи',
+ findWhat : 'ТÑÑÑи:',
+ replaceWith : 'ÐамеÑÑи Ñ:',
+ notFoundMsg : 'Ð£ÐºÐ°Ð·Ð°Ð½Ð¸Ñ ÑекÑÑ Ð½Ðµ беÑе намеÑен.',
+ matchCase : 'СÑÑ ÑÑÑÐ¸Ñ ÑегиÑÑÑÑ',
+ matchWord : 'ТÑÑÑи ÑÑÑаÑа дÑма',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'ÐамеÑÑи вÑиÑки',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'ТаблиÑа',
+ title : 'ÐаÑамеÑÑи на ÑаблиÑаÑа',
+ menu : 'ÐаÑамеÑÑи на ÑаблиÑаÑа',
+ deleteTable : 'ÐзÑÑий ÑаблиÑаÑа',
+ rows : 'Редове',
+ columns : 'Ðолони',
+ border : 'Ð Ð°Ð·Ð¼ÐµÑ Ð½Ð° ÑамкаÑа',
+ align : 'ÐодÑавнÑване',
+ alignLeft : 'ÐÑво',
+ alignCenter : 'ЦенÑÑÑ',
+ alignRight : 'ÐÑÑно',
+ width : 'ШиÑина',
+ widthPx : 'пикÑели',
+ widthPc : 'пÑоÑенÑи',
+ widthUnit : 'width unit', // MISSING
+ height : 'ÐиÑоÑина',
+ cellSpace : 'РазÑÑоÑние Ð¼ÐµÐ¶Ð´Ñ ÐºÐ»ÐµÑкиÑе',
+ cellPad : 'ÐÑÑÑÑп на ÑÑдÑÑжаниеÑо в клеÑкиÑе',
+ caption : 'Ðаглавие',
+ summary : 'РезÑме',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell', // MISSING
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'ÐзÑÑий клеÑкиÑе',
+ merge : 'Ðбедини клеÑкиÑе',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row', // MISSING
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'ÐзÑÑий ÑедовеÑе'
+ },
+
+ column :
+ {
+ menu : 'Column', // MISSING
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'ÐзÑÑий колониÑе'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ÐаÑамеÑÑи на бÑÑона',
+ text : 'ТекÑÑ (СÑойноÑÑ)',
+ type : 'Тип',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ÐаÑамеÑÑи на полеÑо за оÑмеÑка',
+ radioTitle : 'ÐаÑамеÑÑи на полеÑо за опÑиÑ',
+ value : 'СÑойноÑÑ',
+ selected : 'ÐÑмеÑнаÑо'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ÐаÑамеÑÑи на ÑоÑмÑлÑÑа',
+ menu : 'ÐаÑамеÑÑи на ÑоÑмÑлÑÑа',
+ action : 'ÐейÑÑвие',
+ method : 'ÐеÑод',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'ÐаÑамеÑÑи на падаÑоÑо Ð¼ÐµÐ½Ñ Ñ Ð¾Ð¿Ñии',
+ selectInfo : 'ÐнÑоÑмаÑиÑ',
+ opAvail : 'ÐÑзможни опÑии',
+ value : 'СÑойноÑÑ',
+ size : 'РазмеÑ',
+ lines : 'линии',
+ chkMulti : 'РазÑеÑено множеÑÑвено ÑелекÑиÑане',
+ opText : 'ТекÑÑ',
+ opValue : 'СÑойноÑÑ',
+ btnAdd : 'Ðобави',
+ btnModify : 'ÐÑомени',
+ btnUp : 'ÐагоÑе',
+ btnDown : 'ÐадолÑ',
+ btnSetValue : 'ÐаÑÑÑой каÑо избÑана ÑÑойноÑÑ',
+ btnDelete : 'ÐзÑÑий'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ÐаÑамеÑÑи на ÑекÑÑоваÑа облаÑÑ',
+ cols : 'Ðолони',
+ rows : 'Редове'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ÐаÑамеÑÑи на ÑекÑÑовоÑо-поле',
+ name : 'Ðме',
+ value : 'СÑойноÑÑ',
+ charWidth : 'ШиÑина на ÑимволиÑе',
+ maxChars : 'ÐакÑимÑм Ñимволи',
+ type : 'Тип',
+ typeText : 'ТекÑÑ',
+ typePass : 'ÐаÑола'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ÐаÑамеÑÑи на ÑкÑиÑоÑо поле',
+ name : 'Ðме',
+ value : 'СÑойноÑÑ'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ÐаÑамеÑÑи на изобÑажениеÑо',
+ titleButton : 'ÐаÑамеÑÑи на бÑÑона-изобÑажение',
+ menu : 'ÐаÑамеÑÑи на изобÑажениеÑо',
+ infoTab : 'ÐнÑоÑмаÑÐ¸Ñ Ð·Ð° изобÑажениеÑо',
+ btnUpload : 'ÐÑаÑи кÑм ÑÑÑвÑÑа',
+ upload : 'ÐаÑи',
+ alt : 'ÐлÑеÑнаÑивен ÑекÑÑ',
+ width : 'ШиÑина',
+ height : 'ÐиÑоÑина',
+ lockRatio : 'Ðапази пÑопоÑÑиÑÑа',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'ÐÑзÑÑанови ÑазмеÑа',
+ border : 'Рамка',
+ hSpace : 'ХоÑизонÑален оÑÑÑÑп',
+ vSpace : 'ÐеÑÑикален оÑÑÑÑп',
+ align : 'ÐодÑавнÑване',
+ alignLeft : 'ÐÑво',
+ alignRight : 'ÐÑÑно',
+ alertUrl : 'ÐолÑ, вÑведеÑе пÑÐ»Ð½Ð¸Ñ Ð¿ÑÑ Ð´Ð¾ изобÑажениеÑо',
+ linkTab : 'ÐÑÑзка',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ÐаÑамеÑÑи на Flash обекÑа',
+ propertiesTab : 'Properties', // MISSING
+ title : 'ÐаÑамеÑÑи на Flash обекÑа',
+ chkPlay : 'ÐвÑомаÑиÑно ÑÑаÑÑиÑане',
+ chkLoop : 'Ðово ÑÑаÑÑиÑане Ñлед завÑÑÑванеÑо',
+ chkMenu : 'РазÑеÑено Flash менÑ',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'ÐÑазмеÑÑване',
+ scaleAll : 'Ðокажи ÑÐµÐ»Ð¸Ñ Ð¾Ð±ÐµÐºÑ',
+ scaleNoBorder : 'Ðез Ñамка',
+ scaleFit : 'СпоÑед мÑÑÑоÑо',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'ÐодÑавнÑване',
+ alignLeft : 'ÐÑво',
+ alignAbsBottom : 'Ðай-долÑ',
+ alignAbsMiddle : 'ТоÑно по ÑÑедаÑа',
+ alignBaseline : 'Ðо базоваÑа линиÑ',
+ alignBottom : 'ÐолÑ',
+ alignMiddle : 'Ðо ÑÑедаÑа',
+ alignRight : 'ÐÑÑно',
+ alignTextTop : 'ÐÑÑÑ
Ñ ÑекÑÑа',
+ alignTop : 'ÐÑгоÑе',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'ЦвÑÑ Ð½Ð° Ñона',
+ width : 'ШиÑина',
+ height : 'ÐиÑоÑина',
+ hSpace : 'ХоÑизонÑален оÑÑÑÑп',
+ vSpace : 'ÐеÑÑикален оÑÑÑÑп',
+ validateSrc : 'ÐолÑ, напиÑеÑе пÑÐ»Ð½Ð¸Ñ Ð¿ÑÑ (URL)',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'ÐÑовеÑи пÑавопиÑа',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'ÐипÑва в ÑеÑника',
+ changeTo : 'ÐÑомени на',
+ btnIgnore : 'ÐгноÑиÑай',
+ btnIgnoreAll : 'ÐгноÑиÑай вÑиÑки',
+ btnReplace : 'ÐамеÑÑи',
+ btnReplaceAll : 'ÐамеÑÑи вÑиÑки',
+ btnUndo : 'ÐÑмени',
+ noSuggestions : '- ÐÑма пÑÐµÐ´Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ -',
+ progress : 'ÐзвÑÑÑване на пÑовеÑкаÑа за пÑавопиÑ...',
+ noMispell : 'ÐÑовеÑкаÑа за пÑÐ°Ð²Ð¾Ð¿Ð¸Ñ Ð·Ð°Ð²ÑÑÑена: не Ñа оÑкÑиÑи пÑавопиÑни гÑеÑки',
+ noChanges : 'ÐÑовеÑкаÑа за пÑÐ°Ð²Ð¾Ð¿Ð¸Ñ Ð·Ð°Ð²ÑÑÑена: нÑма пÑоменени дÑми',
+ oneChange : 'ÐÑовеÑкаÑа за пÑÐ°Ð²Ð¾Ð¿Ð¸Ñ Ð·Ð°Ð²ÑÑÑена: една дÑма е пÑоменена',
+ manyChanges : 'ÐÑовеÑкаÑа за пÑÐ°Ð²Ð¾Ð¿Ð¸Ñ Ð·Ð°Ð²ÑÑÑена: %1 дÑми Ñа пÑоменени',
+ ieSpellDownload : 'ÐнÑÑÑÑменÑÑÑ Ð·Ð° пÑовеÑка на пÑÐ°Ð²Ð¾Ð¿Ð¸Ñ Ð½Ðµ е инÑÑалиÑан. ÐелаеÑе ли да го инÑÑалиÑаÑе ?'
+ },
+
+ smiley :
+ {
+ toolbar : 'УÑмивка',
+ title : 'Ðобави ÑÑмивка',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ÐÑмеÑиÑан ÑпиÑÑк',
+ bulletedlist : 'ÐенÑмеÑиÑан ÑпиÑÑк',
+ indent : 'УвелиÑи оÑÑÑÑпа',
+ outdent : 'Ðамали оÑÑÑÑпа',
+
+ justify :
+ {
+ left : 'ÐодÑавнÑване в лÑво',
+ center : 'ÐодÑавнÑвне в ÑÑедаÑа',
+ right : 'ÐодÑавнÑване в дÑÑно',
+ block : 'ÐвÑÑÑÑанно подÑавнÑване'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'ÐмÑкни',
+ cutError : 'ÐаÑÑÑойкиÑе за ÑигÑÑноÑÑ Ð½Ð° ваÑÐ¸Ñ Ð±ÑазÑÑÑ Ð½Ðµ ÑазÑеÑÐ°Ð²Ð°Ñ Ð½Ð° ÑедакÑоÑа да изпÑлни изÑÑзванеÑо. Ðа ÑелÑа използвайÑе клавиаÑÑÑаÑа (Ctrl/Cmd+X).',
+ copyError : 'ÐаÑÑÑойкиÑе за ÑигÑÑноÑÑ Ð½Ð° ваÑÐ¸Ñ Ð±ÑазÑÑÑ Ð½Ðµ ÑазÑеÑÐ°Ð²Ð°Ñ Ð½Ð° ÑедакÑоÑа да изпÑлни запамеÑÑванеÑо. Ðа ÑелÑа използвайÑе клавиаÑÑÑаÑа (Ctrl/Cmd+C).',
+ pasteMsg : 'ÐмÑкнеÑе ÑÑк ÑÑдÑжаниеÑо Ñ ÐºÐ»Ð°Ð²Ð¸Ð°ÑÑаÑаÑа (<STRONG>Ctrl/Cmd+V</STRONG>) и наÑиÑнеÑе <STRONG>OK</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'ÐмÑкни Ð¾Ñ MS Word',
+ title : 'ÐмÑкни Ð¾Ñ MS Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'ÐмÑкни каÑо ÑиÑÑ ÑекÑÑ',
+ title : 'ÐмÑкни каÑо ÑиÑÑ ÑекÑÑ'
+ },
+
+ templates :
+ {
+ button : 'Шаблони',
+ title : 'Шаблони',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'ÐзбеÑеÑе Ñаблон <br>(ÑекÑÑоÑо ÑÑдÑÑжание на ÑедакÑоÑа Ñе бÑде загÑбено):',
+ emptyListMsg : '(ÐÑма деÑиниÑани Ñаблони)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'СÑил',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'ФоÑмаÑ',
+ panelTitle : 'ФоÑмаÑ',
+
+ tag_p : 'ÐоÑмален',
+ tag_pre : 'ФоÑмаÑиÑан',
+ tag_address : 'ÐдÑеÑ',
+ tag_h1 : 'Ðаглавие 1',
+ tag_h2 : 'Ðаглавие 2',
+ tag_h3 : 'Ðаглавие 3',
+ tag_h4 : 'Ðаглавие 4',
+ tag_h5 : 'Ðаглавие 5',
+ tag_h6 : 'Ðаглавие 6',
+ tag_div : 'ÐаÑагÑÐ°Ñ (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ШÑиÑÑ',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'ШÑиÑÑ'
+ },
+
+ fontSize :
+ {
+ label : 'РазмеÑ',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'РазмеÑ'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ЦвÑÑ Ð½Ð° ÑекÑÑа',
+ bgColorTitle : 'ЦвÑÑ Ð½Ð° Ñона',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Ðо подÑазбиÑане',
+ more : 'ÐÑÑги ÑвеÑове...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/bn.js b/devel/third-party/ckeditor/lang/bn.js
new file mode 100644
index 0000000..aaba3de
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/bn.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Bengali/Bangla language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['bn'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'সà§à¦°à§à¦¸',
+ newPage : 'নতà§à¦¨ পà§à¦',
+ save : 'সà¦à¦°à¦à§à¦·à¦¨ à¦à¦°',
+ preview : 'পà§à¦°à¦¿à¦à¦¿à¦',
+ cut : 'à¦à¦¾à¦',
+ copy : 'à¦à¦ªà¦¿',
+ paste : 'পà§à¦¸à§à¦',
+ print : 'পà§à¦°à¦¿à¦¨à§à¦',
+ underline : 'à¦à¦¨à§à¦¡à¦¾à¦°à¦²à¦¾à¦à¦¨',
+ bold : 'বà§à¦²à§à¦¡',
+ italic : 'à¦à¦à¦¾à¦²à¦¿à¦',
+ selectAll : 'সব সিলà§à¦à§à¦ à¦à¦°',
+ removeFormat : 'ফরমà§à¦ সরাà¦',
+ strike : 'সà§à¦à§à¦°à¦¾à¦à¦ থà§à¦°à§',
+ subscript : 'à¦
ধà§à¦²à§à¦',
+ superscript : 'à¦
à¦à¦¿à¦²à§à¦',
+ horizontalrule : 'রà§à¦à¦¾ যà§à¦à§à¦¤ à¦à¦°',
+ pagebreak : 'পà§à¦ বà§à¦°à§à¦',
+ unlink : 'লিà¦à¦ সরাà¦',
+ undo : 'à¦à¦¨à¦¡à§',
+ redo : 'রি-ডà§',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'বà§à¦°à¦¾à¦à¦ সারà§à¦à¦¾à¦°',
+ url : 'URL',
+ protocol : 'পà§à¦°à§à¦à§à¦à¦²',
+ upload : 'à¦à¦ªà¦²à§à¦¡',
+ uploadSubmit : 'à¦à¦¹à¦¾à¦à§ সারà§à¦à¦¾à¦°à§ পà§à¦°à§à¦°à¦¨ à¦à¦°',
+ image : 'à¦à¦¬à¦¿à¦° লà§à¦¬à§à¦² যà§à¦à§à¦¤ à¦à¦°',
+ flash : 'ফà§à¦²à¦¾à¦¶ লà§à¦¬à§à¦² যà§à¦à§à¦¤ à¦à¦°',
+ form : 'ফরà§à¦®',
+ checkbox : 'à¦à§à¦ বাà¦à§à¦¸',
+ radio : 'রà§à¦¡à¦¿à¦ বাà¦à¦¨',
+ textField : 'à¦à§à¦à§à¦¸à¦ ফà§à¦²à§à¦¡',
+ textarea : 'à¦à§à¦à§à¦¸à¦ à¦à¦°à¦¿à§à¦¾',
+ hiddenField : 'à¦à§à¦ªà§à¦¤ ফà§à¦²à§à¦¡',
+ button : 'বাà¦à¦¨',
+ select : 'বাà¦à¦¾à¦ ফà§à¦²à§à¦¡',
+ imageButton : 'à¦à¦¬à¦¿à¦° বাà¦à¦¨',
+ notSet : '<সà§à¦ নà§à¦>',
+ id : 'à¦à¦à¦¡à¦¿',
+ name : 'নাম',
+ langDir : 'à¦à¦¾à¦·à¦¾ লà§à¦à¦¾à¦° দিà¦',
+ langDirLtr : 'বাম থà§à¦à§ ডান (LTR)',
+ langDirRtl : 'ডান থà§à¦à§ বাম (RTL)',
+ langCode : 'à¦à¦¾à¦·à¦¾ à¦à§à¦¡',
+ longDescr : 'URL à¦à¦° লমà§à¦¬à¦¾ বরà§à¦£à¦¨à¦¾',
+ cssClass : 'সà§à¦à¦¾à¦à¦²-শà§à¦ à¦à§à¦²à¦¾à¦¸',
+ advisoryTitle : 'পরামরà§à¦¶ শà§à¦°à§à¦·à¦',
+ cssStyle : 'সà§à¦à¦¾à¦à¦²',
+ ok : 'à¦à¦à§',
+ cancel : 'বাতিল',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'à¦à¦¡à¦à¦¾à¦¨à§à¦¸à¦¡',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'বিশà§à¦· à¦
à¦à§à¦·à¦° যà§à¦à§à¦¤ à¦à¦°',
+ title : 'বিশà§à¦· à¦à§à¦¯à¦¾à¦°à§à¦à§à¦à¦¾à¦° বাà¦à¦¾à¦ à¦à¦°',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'লিà¦à¦ যà§à¦à§à¦¤ à¦à¦°',
+ other : '<other>', // MISSING
+ menu : 'লিà¦à¦ সমà§à¦ªà¦¾à¦¦à¦¨',
+ title : 'লিà¦à¦',
+ info : 'লিà¦à¦ তথà§à¦¯',
+ target : 'à¦à¦¾à¦°à§à¦à§à¦',
+ upload : 'à¦à¦ªà¦²à§à¦¡',
+ advanced : 'à¦à¦¡à¦à¦¾à¦¨à§à¦¸à¦¡',
+ type : 'লিà¦à¦ পà§à¦°à¦à¦¾à¦°',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'à¦à¦ পà§à¦à§ নà§à¦à¦° à¦à¦°',
+ toEmail : 'à¦à¦®à§à¦à¦²',
+ targetFrame : '<ফà§à¦°à§à¦®>',
+ targetPopup : '<পপà¦à¦ª à¦à¦à¦¨à§à¦¡à§>',
+ targetFrameName : 'à¦à¦¾à¦°à§à¦à§à¦ ফà§à¦°à§à¦®à§à¦° নাম',
+ targetPopupName : 'পপà¦à¦ª à¦à¦à¦¨à§à¦¡à§à¦° নাম',
+ popupFeatures : 'পপà¦à¦ª à¦à¦à¦¨à§à¦¡à§ ফà§à¦à¦¾à¦° সমà§à¦¹',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'সà§à¦à§à¦¯à¦¾à¦à¦¾à¦¸ বার',
+ popupLocationBar: 'লà§à¦à§à¦¶à¦¨ বার',
+ popupToolbar : 'à¦à§à¦² বার',
+ popupMenuBar : 'মà§à¦¨à§à¦¯à§ বার',
+ popupFullScreen : 'পà§à¦°à§à¦£ পরà§à¦¦à¦¾ à¦à§à§à§ (IE)',
+ popupScrollBars : 'সà§à¦à§à¦°à¦² বার',
+ popupDependent : 'ডিপà§à¦¨à§à¦¡à§à¦¨à§à¦ (Netscape)',
+ popupWidth : 'পà§à¦°à¦¸à§à¦¥',
+ popupLeft : 'বামà§à¦° পà¦à¦¿à¦¶à¦¨',
+ popupHeight : 'দà§à¦°à§à¦à§à¦¯',
+ popupTop : 'ডানà§à¦° পà¦à¦¿à¦¶à¦¨',
+ id : 'Id', // MISSING
+ langDir : 'à¦à¦¾à¦·à¦¾ লà§à¦à¦¾à¦° দিà¦',
+ langDirLTR : 'বাম থà§à¦à§ ডান (LTR)',
+ langDirRTL : 'ডান থà§à¦à§ বাম (RTL)',
+ acccessKey : 'à¦à¦à§à¦¸à§à¦¸ à¦à§',
+ name : 'নাম',
+ langCode : 'à¦à¦¾à¦·à¦¾ লà§à¦à¦¾à¦° দিà¦',
+ tabIndex : 'à¦à§à¦¯à¦¾à¦¬ à¦à¦¨à§à¦¡à§à¦à§à¦¸',
+ advisoryTitle : 'পরামরà§à¦¶ শà§à¦°à§à¦·à¦',
+ advisoryContentType : 'পরামরà§à¦¶ à¦à¦¨à§à¦à§à¦¨à§à¦à§à¦° পà§à¦°à¦à¦¾à¦°',
+ cssClasses : 'সà§à¦à¦¾à¦à¦²-শà§à¦ à¦à§à¦²à¦¾à¦¸',
+ charset : 'লিà¦à¦ রিসà§à¦°à§à¦¸ à¦à§à¦¯à¦¾à¦°à§à¦à§à¦à¦° সà§à¦',
+ styles : 'সà§à¦à¦¾à¦à¦²',
+ selectAnchor : 'নà§à¦à¦° বাà¦à¦¾à¦',
+ anchorName : 'নà§à¦à¦°à§à¦° নাম দিà§à§',
+ anchorId : 'নà§à¦à¦°à§à¦° à¦à¦à¦¡à¦¿ দিà§à§',
+ emailAddress : 'à¦à¦®à§à¦à¦² ঠিà¦à¦¾à¦¨à¦¾',
+ emailSubject : 'মà§à¦¸à§à¦à§à¦° বিষà§',
+ emailBody : 'মà§à¦¸à§à¦à§à¦° দà§à¦¹',
+ noAnchors : '(No anchors available in the document)', // MISSING
+ noUrl : 'à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ URL লিà¦à¦ à¦à¦¾à¦à¦ª à¦à¦°à§à¦¨',
+ noEmail : 'à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ à¦à¦®à§à¦à¦² à¦à¦¡à§à¦°à§à¦¸ à¦à¦¾à¦à¦ª à¦à¦°à§à¦¨'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'নà§à¦à§à¦à¦°',
+ menu : 'নà§à¦à¦° পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ title : 'নà§à¦à¦° পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ name : 'নà§à¦à¦°à§à¦° নাম',
+ errorName : 'নà§à¦à¦°à§à¦° নাম à¦à¦¾à¦à¦ª à¦à¦°à§à¦¨'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'à¦à§à¦à§',
+ replace : 'রিপà§à¦²à§à¦¸',
+ findWhat : 'যা à¦à§à¦à¦à¦¤à§ হবà§:',
+ replaceWith : 'যার সাথৠবদলাতৠহবà§:',
+ notFoundMsg : 'à¦à¦ªà¦¨à¦¾à¦° à¦à¦²à§à¦²à§à¦à¦¿à¦¤ à¦à§à¦à¦¸à§à¦ পাà¦à§à¦¾ যাà§à¦¨à¦¿',
+ matchCase : 'à¦à§à¦¸ মিলাà¦',
+ matchWord : 'পà§à¦°à¦¾ শবà§à¦¦ মà§à¦²à¦¾à¦',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'সব বদলৠদাà¦',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'à¦à§à¦¬à¦¿à¦²à§à¦° লà§à¦¬à§à¦² যà§à¦à§à¦¤ à¦à¦°',
+ title : 'à¦à§à¦¬à¦¿à¦² পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ menu : 'à¦à§à¦¬à¦¿à¦² পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ deleteTable : 'à¦à§à¦¬à¦¿à¦² ডিলà§à¦ à¦à¦°',
+ rows : 'রà§',
+ columns : 'à¦à¦²à¦¾à¦®',
+ border : 'বরà§à¦¡à¦¾à¦° সাà¦à¦',
+ align : 'à¦à¦²à¦¾à¦à¦¨à¦®à§à¦¨à§à¦',
+ alignLeft : 'বামà§',
+ alignCenter : 'মাà¦à¦à¦¾à¦¨à§',
+ alignRight : 'ডানà§',
+ width : 'পà§à¦°à¦¸à§à¦¥',
+ widthPx : 'পিà¦à§à¦¸à§à¦²',
+ widthPc : 'শতà¦à¦°à¦¾',
+ widthUnit : 'width unit', // MISSING
+ height : 'দà§à¦°à§à¦à§à¦¯',
+ cellSpace : 'সà§à¦² সà§à¦ªà§à¦¸',
+ cellPad : 'সà§à¦² পà§à¦¯à¦¾à¦¡à¦¿à¦',
+ caption : 'শà§à¦°à§à¦·à¦',
+ summary : 'সারাà¦à¦¶',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'সà§à¦²',
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'সà§à¦² মà§à¦à§ দাà¦',
+ merge : 'সà§à¦² à¦à§à§à¦¾ দাà¦',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'রà§',
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'রৠমà§à¦à§ দাà¦'
+ },
+
+ column :
+ {
+ menu : 'à¦à¦²à¦¾à¦®',
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'à¦à¦²à¦¾à¦® মà§à¦à§ দাà¦'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'বাà¦à¦¨ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ text : 'à¦à§à¦à§à¦¸à¦ (à¦à§à¦¯à¦¾à¦²à§)',
+ type : 'পà§à¦°à¦à¦¾à¦°',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'à¦à§à¦ বà¦à§à¦¸ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ radioTitle : 'রà§à¦¡à¦¿à¦ বাà¦à¦¨ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ value : 'à¦à§à¦¯à¦¾à¦²à§',
+ selected : 'সিলà§à¦à§à¦à§à¦¡'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ফরà§à¦® পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ menu : 'ফরà§à¦® পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ action : 'à¦à¦à¦¶à§à¦¯à¦¨',
+ method : 'পদà§à¦§à¦¤à¦¿',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'বাà¦à¦¾à¦ ফà§à¦²à§à¦¡ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ selectInfo : 'তথà§à¦¯',
+ opAvail : 'à¦
নà§à¦¯à¦¾à¦¨à§à¦¯ বিà¦à¦²à§à¦ª',
+ value : 'à¦à§à¦¯à¦¾à¦²à§',
+ size : 'সাà¦à¦',
+ lines : 'লাà¦à¦¨ সমà§à¦¹',
+ chkMulti : 'à¦à¦à¦¾à¦§à¦¿à¦ সিলà§à¦à¦¶à¦¨ à¦à¦²à¦¾à¦ à¦à¦°',
+ opText : 'à¦à§à¦à§à¦¸à¦',
+ opValue : 'à¦à§à¦¯à¦¾à¦²à§',
+ btnAdd : 'যà§à¦à§à¦¤',
+ btnModify : 'বদলৠদাà¦',
+ btnUp : 'à¦à¦ªà¦°',
+ btnDown : 'নà§à¦à§',
+ btnSetValue : 'বাà¦à¦¾à¦ à¦à¦°à¦¾ à¦à§à¦¯à¦¾à¦²à§ হিসà§à¦¬à§ সà§à¦ à¦à¦°',
+ btnDelete : 'ডিলà§à¦'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'à¦à§à¦à§à¦¸à¦ à¦à¦°à¦¿à§à¦¾ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ cols : 'à¦à¦²à¦¾à¦®',
+ rows : 'রà§'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'à¦à§à¦à§à¦¸à¦ ফà§à¦²à§à¦¡ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ name : 'নাম',
+ value : 'à¦à§à¦¯à¦¾à¦²à§',
+ charWidth : 'à¦à§à¦¯à¦¾à¦°à§à¦à§à¦à¦¾à¦° পà§à¦°à¦¶à¦¸à§à¦¤à¦¤à¦¾',
+ maxChars : 'সরà§à¦¬à¦¾à¦§à¦¿à¦ à¦à§à¦¯à¦¾à¦°à§à¦à§à¦à¦¾à¦°',
+ type : 'à¦à¦¾à¦à¦ª',
+ typeText : 'à¦à§à¦à§à¦¸à¦',
+ typePass : 'পাসà¦à§à¦¾à¦°à§à¦¡'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'à¦à§à¦ªà§à¦¤ ফà§à¦²à§à¦¡ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ name : 'নাম',
+ value : 'à¦à§à¦¯à¦¾à¦²à§'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'à¦à¦¬à¦¿à¦° পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ titleButton : 'à¦à¦¬à¦¿ বাà¦à¦¨ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ menu : 'à¦à¦¬à¦¿à¦° পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ infoTab : 'à¦à¦¬à¦¿à¦° তথà§à¦¯',
+ btnUpload : 'à¦à¦¹à¦¾à¦à§ সারà§à¦à¦¾à¦°à§ পà§à¦°à§à¦°à¦¨ à¦à¦°',
+ upload : 'à¦à¦ªà¦²à§à¦¡',
+ alt : 'বিà¦à¦²à§à¦ª à¦à§à¦à§à¦¸à¦',
+ width : 'পà§à¦°à¦¸à§à¦¥',
+ height : 'দà§à¦°à§à¦à§à¦¯',
+ lockRatio : 'à¦
নà§à¦ªà¦¾à¦¤ লঠà¦à¦°',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'সাà¦à¦ পà§à¦°à§à¦¬à¦¾à¦¬à¦¸à§à¦¥à¦¾à§ ফিরিà§à§ দাà¦',
+ border : 'বরà§à¦¡à¦¾à¦°',
+ hSpace : 'হরাà¦à¦à¦¨à§à¦à¦¾à¦² সà§à¦ªà§à¦¸',
+ vSpace : 'à¦à¦¾à¦°à§à¦à¦¿à¦à§à¦² সà§à¦ªà§à¦¸',
+ align : 'à¦à¦²à¦¾à¦à¦¨',
+ alignLeft : 'বামà§',
+ alignRight : 'ডানà§',
+ alertUrl : 'à¦
নà§à¦à§à¦°à¦¹à¦ à¦à¦°à§ à¦à¦¬à¦¿à¦° URL à¦à¦¾à¦à¦ª à¦à¦°à§à¦¨',
+ linkTab : 'লিà¦à¦',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ফà§à¦²à¦¾à¦¶ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ propertiesTab : 'Properties', // MISSING
+ title : 'ফà§à¦²à§à¦¯à¦¾à¦¶ পà§à¦°à§à¦ªà¦¾à¦°à§à¦à¦¿',
+ chkPlay : 'à¦
à¦à§ পà§à¦²à§',
+ chkLoop : 'লà§à¦ª',
+ chkMenu : 'ফà§à¦²à§à¦¯à¦¾à¦¶ মà§à¦¨à§ à¦à¦¨à¦¾à¦¬à¦² à¦à¦°',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'সà§à¦à§à¦²',
+ scaleAll : 'সব দà§à¦à¦¾à¦',
+ scaleNoBorder : 'à¦à§à¦¨à§ বরà§à¦¡à¦¾à¦° নà§à¦',
+ scaleFit : 'নিà¦à§à¦à¦¤ ফিà¦',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'à¦à¦²à¦¾à¦à¦¨',
+ alignLeft : 'বামà§',
+ alignAbsBottom : 'Abs নà§à¦à§',
+ alignAbsMiddle : 'Abs à¦à¦ªà¦°',
+ alignBaseline : 'মà§à¦² রà§à¦à¦¾',
+ alignBottom : 'নà§à¦à§',
+ alignMiddle : 'মধà§à¦¯',
+ alignRight : 'ডানà§',
+ alignTextTop : 'à¦à§à¦à§à¦¸à¦ à¦à¦ªà¦°',
+ alignTop : 'à¦à¦ªà¦°',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'বà§à¦à¦à§à¦°à¦¾à¦à¦¨à§à¦¡ রà¦',
+ width : 'পà§à¦°à¦¸à§à¦¥',
+ height : 'দà§à¦°à§à¦à§à¦¯',
+ hSpace : 'হরাà¦à¦à¦¨à§à¦à¦¾à¦² সà§à¦ªà§à¦¸',
+ vSpace : 'à¦à¦¾à¦°à§à¦à¦¿à¦à§à¦² সà§à¦ªà§à¦¸',
+ validateSrc : 'à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ URL লিà¦à¦ à¦à¦¾à¦à¦ª à¦à¦°à§à¦¨',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'বানান à¦à§à¦',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'শবà§à¦¦à¦à§à¦·à§ নà§à¦',
+ changeTo : 'à¦à¦¤à§ বদলাà¦',
+ btnIgnore : 'à¦à¦à¦¨à§à¦° à¦à¦°',
+ btnIgnoreAll : 'সব à¦à¦à¦¨à§à¦° à¦à¦°',
+ btnReplace : 'বদলৠদাà¦',
+ btnReplaceAll : 'সব বদলৠদাà¦',
+ btnUndo : 'à¦à¦¨à§à¦¡à§',
+ noSuggestions : '- à¦à§à¦¨ সাà¦à§à¦¶à¦¨ নà§à¦ -',
+ progress : 'বানান পরà§à¦à§à¦·à¦¾ à¦à¦²à¦à§...',
+ noMispell : 'বানান পরà§à¦à§à¦·à¦¾ শà§à¦·: à¦à§à¦¨ à¦à§à¦² বানান পাà¦à§à¦¾ যাà§à¦¨à¦¿',
+ noChanges : 'বানান পরà§à¦à§à¦·à¦¾ শà§à¦·: à¦à§à¦¨ শবà§à¦¦ পরিবরà§à¦¤à¦¨ à¦à¦°à¦¾ হà§à¦¨à¦¿',
+ oneChange : 'বানান পরà§à¦à§à¦·à¦¾ শà§à¦·: à¦à¦à¦à¦¿ মাতà§à¦° শবà§à¦¦ পরিবরà§à¦¤à¦¨ à¦à¦°à¦¾ হà§à§à¦à§',
+ manyChanges : 'বানান পরà§à¦à§à¦·à¦¾ শà§à¦·: %1 à¦à§à¦²à§ শবà§à¦¦ বদলৠà¦à§à¦¯à¦¾à¦à§',
+ ieSpellDownload : 'বানান পরà§à¦à§à¦·à¦ à¦à¦¨à¦¸à§à¦à¦² à¦à¦°à¦¾ নà§à¦à¥¤ à¦à¦ªà¦¨à¦¿ à¦à¦¿ à¦à¦à¦¨à¦ à¦à¦à¦¾ ডাà¦à¦¨à¦²à§à¦¡ à¦à¦°à¦¤à§ à¦à¦¾à¦¨?'
+ },
+
+ smiley :
+ {
+ toolbar : 'সà§à¦®à¦¾à¦à¦²à§',
+ title : 'সà§à¦®à¦¾à¦à¦²à§ যà§à¦à§à¦¤ à¦à¦°',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'সাà¦à¦à§à¦¯à¦¿à¦ লিসà§à¦à§à¦° লà§à¦¬à§à¦²',
+ bulletedlist : 'বà§à¦²à§à¦ লিসà§à¦ লà§à¦¬à§à¦²',
+ indent : 'à¦à¦¨à¦¡à§à¦¨à§à¦ বাà§à¦¾à¦',
+ outdent : 'à¦à¦¨à¦¡à§à¦¨à§à¦ à¦à¦®à¦¾à¦',
+
+ justify :
+ {
+ left : 'বা দিà¦à§ à¦à§à¦à¦·à¦¾',
+ center : 'মাঠবরাবর à¦à§à¦·à¦¾',
+ right : 'ডান দিà¦à§ à¦à§à¦à¦·à¦¾',
+ block : 'বà§à¦²à¦ à¦à¦¾à¦¸à§à¦à¦¿à¦«à¦¾à¦'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'পà§à¦¸à§à¦',
+ cutError : 'à¦à¦ªà¦¨à¦¾à¦° বà§à¦°à¦¾à¦à¦à¦¾à¦°à§à¦° সà§à¦°à¦à§à¦·à¦¾ সà§à¦à¦¿à¦à¦¸ à¦à¦¡à¦¿à¦à¦°à¦à§ à¦
à¦à§à¦®à§à¦à¦¿à¦ à¦à¦¾à¦ à¦à¦°à¦¾à¦° à¦
নà§à¦®à¦¤à¦¿ দà§à§à¦¨à¦¿à¥¤ দà§à¦¾ à¦à¦°à§ à¦à¦ à¦à¦¾à¦à§à¦° à¦à¦¨à§à¦¯ à¦à¦¿à¦¬à§à¦°à§à¦¡ বà§à¦¯à¦¬à¦¹à¦¾à¦° à¦à¦°à§à¦¨ (Ctrl/Cmd+X)।',
+ copyError : 'à¦à¦ªà¦¨à¦¾à¦° বà§à¦°à¦¾à¦à¦à¦¾à¦°à§à¦° সà§à¦°à¦à§à¦·à¦¾ সà§à¦à¦¿à¦à¦¸ à¦à¦¡à¦¿à¦à¦°à¦à§ à¦
à¦à§à¦®à§à¦à¦¿à¦ à¦à¦ªà¦¿ à¦à¦°à¦¾à¦° à¦
নà§à¦®à¦¤à¦¿ দà§à§à¦¨à¦¿à¥¤ দà§à¦¾ à¦à¦°à§ à¦à¦ à¦à¦¾à¦à§à¦° à¦à¦¨à§à¦¯ à¦à¦¿à¦¬à§à¦°à§à¦¡ বà§à¦¯à¦¬à¦¹à¦¾à¦° à¦à¦°à§à¦¨ (Ctrl/Cmd+C)।',
+ pasteMsg : 'à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ নà§à¦à§à¦° বাà¦à§à¦¸à§ à¦à¦¿à¦¬à§à¦°à§à¦¡ বà§à¦¯à¦¬à¦¹à¦¾à¦° à¦à¦°à§ (<STRONG>Ctrl/Cmd+V</STRONG>) পà§à¦¸à§à¦ à¦à¦°à§à¦¨ à¦à¦¬à¦ <STRONG>OK</STRONG> à¦à¦¾à¦ª দিন',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'পà§à¦¸à§à¦ (শবà§à¦¦)',
+ title : 'পà§à¦¸à§à¦ (শবà§à¦¦)',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'সাদা à¦à§à¦à§à¦¸à¦ হিসà§à¦¬à§ পà§à¦¸à§à¦ à¦à¦°',
+ title : 'সাদা à¦à§à¦à§à¦¸à¦ হিসà§à¦¬à§ পà§à¦¸à§à¦ à¦à¦°'
+ },
+
+ templates :
+ {
+ button : 'à¦à§à¦®à¦ªà§à¦²à§à¦',
+ title : 'à¦à¦¨à¦à§à¦¨à§à¦ à¦à§à¦®à¦ªà§à¦²à§à¦',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ à¦à¦¡à¦¿à¦à¦°à§ à¦à¦ªà§à¦¨ à¦à¦°à¦¾à¦° à¦à¦¨à§à¦¯ à¦à§à¦®à¦ªà§à¦²à§à¦ বাà¦à¦¾à¦ à¦à¦°à§à¦¨<br>(à¦à¦¸à¦² à¦à¦¨à¦à§à¦¨à§à¦ হারিà§à§ যাবà§):',
+ emptyListMsg : '(à¦à§à¦¨ à¦à§à¦®à¦ªà§à¦²à§à¦ ডিফাà¦à¦¨ à¦à¦°à¦¾ নà§à¦)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'সà§à¦à¦¾à¦à¦²',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'ফনà§à¦ ফরমà§à¦',
+ panelTitle : 'ফনà§à¦ ফরমà§à¦',
+
+ tag_p : 'সাধারণ',
+ tag_pre : 'ফরà§à¦®à§à¦à§à¦¡',
+ tag_address : 'ঠিà¦à¦¾à¦¨à¦¾',
+ tag_h1 : 'শà§à¦°à§à¦·à¦ ১',
+ tag_h2 : 'শà§à¦°à§à¦·à¦ ২',
+ tag_h3 : 'শà§à¦°à§à¦·à¦ ৩',
+ tag_h4 : 'শà§à¦°à§à¦·à¦ ৪',
+ tag_h5 : 'শà§à¦°à§à¦·à¦ ৫',
+ tag_h6 : 'শà§à¦°à§à¦·à¦ ৬',
+ tag_div : 'শà§à¦°à§à¦·à¦ (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ফনà§à¦',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'ফনà§à¦'
+ },
+
+ fontSize :
+ {
+ label : 'সাà¦à¦',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'সাà¦à¦'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'à¦à§à¦à§à¦¸à§à¦ রà¦',
+ bgColorTitle : 'বà§à¦à¦à§à¦°à¦¾à¦à¦¨à§à¦¡ রà¦',
+ panelTitle : 'Colors', // MISSING
+ auto : 'à¦
à¦à§à¦®à§à¦à¦¿à¦',
+ more : 'à¦à¦°à¦ রà¦...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/bs.js b/devel/third-party/ckeditor/lang/bs.js
new file mode 100644
index 0000000..bca41e6
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/bs.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Bosnian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['bs'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'HTML kôd',
+ newPage : 'Novi dokument',
+ save : 'Snimi',
+ preview : 'Prikaži',
+ cut : 'Izreži',
+ copy : 'Kopiraj',
+ paste : 'Zalijepi',
+ print : 'Å tampaj',
+ underline : 'Podvuci',
+ bold : 'Boldiraj',
+ italic : 'Ukosi',
+ selectAll : 'Selektuj sve',
+ removeFormat : 'Poništi format',
+ strike : 'Precrtaj',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Ubaci horizontalnu liniju',
+ pagebreak : 'Insert Page Break for Printing', // MISSING
+ unlink : 'Izbriši link',
+ undo : 'Vrati',
+ redo : 'Ponovi',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Browse Server', // MISSING
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Å alji',
+ uploadSubmit : 'Å alji na server',
+ image : 'Slika',
+ flash : 'Flash', // MISSING
+ form : 'Form', // MISSING
+ checkbox : 'Checkbox', // MISSING
+ radio : 'Radio Button', // MISSING
+ textField : 'Text Field', // MISSING
+ textarea : 'Textarea', // MISSING
+ hiddenField : 'Hidden Field', // MISSING
+ button : 'Button', // MISSING
+ select : 'Selection Field', // MISSING
+ imageButton : 'Image Button', // MISSING
+ notSet : '<nije podešeno>',
+ id : 'Id',
+ name : 'Naziv',
+ langDir : 'Smjer pisanja',
+ langDirLtr : 'S lijeva na desno (LTR)',
+ langDirRtl : 'S desna na lijevo (RTL)',
+ langCode : 'Jezièni kôd',
+ longDescr : 'Dugaèki opis URL-a',
+ cssClass : 'Klase CSS stilova',
+ advisoryTitle : 'Advisory title',
+ cssStyle : 'Stil',
+ ok : 'OK',
+ cancel : 'Odustani',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Naprednije',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Ubaci specijalni karater',
+ title : 'Izaberi specijalni karakter',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ubaci/Izmjeni link',
+ other : '<other>', // MISSING
+ menu : 'Izmjeni link',
+ title : 'Link',
+ info : 'Link info',
+ target : 'Prozor',
+ upload : 'Å alji',
+ advanced : 'Naprednije',
+ type : 'Tip linka',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Sidro na ovoj stranici',
+ toEmail : 'E-Mail',
+ targetFrame : '<frejm>',
+ targetPopup : '<popup prozor>',
+ targetFrameName : 'Target Frame Name', // MISSING
+ targetPopupName : 'Naziv popup prozora',
+ popupFeatures : 'Moguænosti popup prozora',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Statusna traka',
+ popupLocationBar: 'Traka za lokaciju',
+ popupToolbar : 'Traka sa alatima',
+ popupMenuBar : 'Izborna traka',
+ popupFullScreen : 'Cijeli ekran (IE)',
+ popupScrollBars : 'Scroll traka',
+ popupDependent : 'Ovisno (Netscape)',
+ popupWidth : 'Å irina',
+ popupLeft : 'Lijeva pozicija',
+ popupHeight : 'Visina',
+ popupTop : 'Gornja pozicija',
+ id : 'Id', // MISSING
+ langDir : 'Smjer pisanja',
+ langDirLTR : 'S lijeva na desno (LTR)',
+ langDirRTL : 'S desna na lijevo (RTL)',
+ acccessKey : 'Pristupna tipka',
+ name : 'Naziv',
+ langCode : 'Smjer pisanja',
+ tabIndex : 'Tab indeks',
+ advisoryTitle : 'Advisory title',
+ advisoryContentType : 'Advisory vrsta sadržaja',
+ cssClasses : 'Klase CSS stilova',
+ charset : 'Linked Resource Charset',
+ styles : 'Stil',
+ selectAnchor : 'Izaberi sidro',
+ anchorName : 'Po nazivu sidra',
+ anchorId : 'Po Id-u elementa',
+ emailAddress : 'E-Mail Adresa',
+ emailSubject : 'Subjekt poruke',
+ emailBody : 'Poruka',
+ noAnchors : '(Nema dostupnih sidra na stranici)',
+ noUrl : 'Molimo ukucajte URL link',
+ noEmail : 'Molimo ukucajte e-mail adresu'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Anchor', // MISSING
+ menu : 'Edit Anchor', // MISSING
+ title : 'Anchor Properties', // MISSING
+ name : 'Anchor Name', // MISSING
+ errorName : 'Please type the anchor name' // MISSING
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'Naði',
+ replace : 'Zamjeni',
+ findWhat : 'Naði šta:',
+ replaceWith : 'Zamjeni sa:',
+ notFoundMsg : 'Traženi tekst nije pronaðen.',
+ matchCase : 'Uporeðuj velika/mala slova',
+ matchWord : 'Uporeðuj samo cijelu rijeè',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Zamjeni sve',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabela',
+ title : 'Svojstva tabele',
+ menu : 'Svojstva tabele',
+ deleteTable : 'Delete Table', // MISSING
+ rows : 'Redova',
+ columns : 'Kolona',
+ border : 'Okvir',
+ align : 'Poravnanje',
+ alignLeft : 'Lijevo',
+ alignCenter : 'Centar',
+ alignRight : 'Desno',
+ width : 'Å irina',
+ widthPx : 'piksela',
+ widthPc : 'posto',
+ widthUnit : 'width unit', // MISSING
+ height : 'Visina',
+ cellSpace : 'Razmak æelija',
+ cellPad : 'Uvod æelija',
+ caption : 'Naslov',
+ summary : 'Summary', // MISSING
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell', // MISSING
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'Briši æelije',
+ merge : 'Spoji æelije',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row', // MISSING
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'Briši redove'
+ },
+
+ column :
+ {
+ menu : 'Column', // MISSING
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'Briši kolone'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Button Properties', // MISSING
+ text : 'Text (Value)', // MISSING
+ type : 'Type', // MISSING
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Checkbox Properties', // MISSING
+ radioTitle : 'Radio Button Properties', // MISSING
+ value : 'Value', // MISSING
+ selected : 'Selected' // MISSING
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form Properties', // MISSING
+ menu : 'Form Properties', // MISSING
+ action : 'Action', // MISSING
+ method : 'Method', // MISSING
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Selection Field Properties', // MISSING
+ selectInfo : 'Select Info', // MISSING
+ opAvail : 'Available Options', // MISSING
+ value : 'Value', // MISSING
+ size : 'Size', // MISSING
+ lines : 'lines', // MISSING
+ chkMulti : 'Allow multiple selections', // MISSING
+ opText : 'Text', // MISSING
+ opValue : 'Value', // MISSING
+ btnAdd : 'Add', // MISSING
+ btnModify : 'Modify', // MISSING
+ btnUp : 'Up', // MISSING
+ btnDown : 'Down', // MISSING
+ btnSetValue : 'Set as selected value', // MISSING
+ btnDelete : 'Delete' // MISSING
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Textarea Properties', // MISSING
+ cols : 'Columns', // MISSING
+ rows : 'Rows' // MISSING
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Text Field Properties', // MISSING
+ name : 'Name', // MISSING
+ value : 'Value', // MISSING
+ charWidth : 'Character Width', // MISSING
+ maxChars : 'Maximum Characters', // MISSING
+ type : 'Type', // MISSING
+ typeText : 'Text', // MISSING
+ typePass : 'Password' // MISSING
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Hidden Field Properties', // MISSING
+ name : 'Name', // MISSING
+ value : 'Value' // MISSING
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Svojstva slike',
+ titleButton : 'Image Button Properties', // MISSING
+ menu : 'Svojstva slike',
+ infoTab : 'Info slike',
+ btnUpload : 'Å alji na server',
+ upload : 'Å alji',
+ alt : 'Tekst na slici',
+ width : 'Å irina',
+ height : 'Visina',
+ lockRatio : 'Zakljuèaj odnos',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Resetuj dimenzije',
+ border : 'Okvir',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Poravnanje',
+ alignLeft : 'Lijevo',
+ alignRight : 'Desno',
+ alertUrl : 'Molimo ukucajte URL od slike.',
+ linkTab : 'Link', // MISSING
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Properties', // MISSING
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flash Properties', // MISSING
+ chkPlay : 'Auto Play', // MISSING
+ chkLoop : 'Loop', // MISSING
+ chkMenu : 'Enable Flash Menu', // MISSING
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Scale', // MISSING
+ scaleAll : 'Show all', // MISSING
+ scaleNoBorder : 'No Border', // MISSING
+ scaleFit : 'Exact Fit', // MISSING
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Poravnanje',
+ alignLeft : 'Lijevo',
+ alignAbsBottom : 'Abs dole',
+ alignAbsMiddle : 'Abs sredina',
+ alignBaseline : 'Bazno',
+ alignBottom : 'Dno',
+ alignMiddle : 'Sredina',
+ alignRight : 'Desno',
+ alignTextTop : 'Vrh teksta',
+ alignTop : 'Vrh',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Boja pozadine',
+ width : 'Å irina',
+ height : 'Visina',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'Molimo ukucajte URL link',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Check Spelling', // MISSING
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Not in dictionary', // MISSING
+ changeTo : 'Change to', // MISSING
+ btnIgnore : 'Ignore', // MISSING
+ btnIgnoreAll : 'Ignore All', // MISSING
+ btnReplace : 'Replace', // MISSING
+ btnReplaceAll : 'Replace All', // MISSING
+ btnUndo : 'Undo', // MISSING
+ noSuggestions : '- No suggestions -', // MISSING
+ progress : 'Spell check in progress...', // MISSING
+ noMispell : 'Spell check complete: No misspellings found', // MISSING
+ noChanges : 'Spell check complete: No words changed', // MISSING
+ oneChange : 'Spell check complete: One word changed', // MISSING
+ manyChanges : 'Spell check complete: %1 words changed', // MISSING
+ ieSpellDownload : 'Spell checker not installed. Do you want to download it now?' // MISSING
+ },
+
+ smiley :
+ {
+ toolbar : 'Smješko',
+ title : 'Ubaci smješka',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Numerisana lista',
+ bulletedlist : 'Lista',
+ indent : 'Poveæaj uvod',
+ outdent : 'Smanji uvod',
+
+ justify :
+ {
+ left : 'Lijevo poravnanje',
+ center : 'Centralno poravnanje',
+ right : 'Desno poravnanje',
+ block : 'Puno poravnanje'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Zalijepi',
+ cutError : 'Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+X).',
+ copyError : 'Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl/Cmd+C).',
+ pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK', // MISSING
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Zalijepi iz Word-a',
+ title : 'Zalijepi iz Word-a',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Zalijepi kao obièan tekst',
+ title : 'Zalijepi kao obièan tekst'
+ },
+
+ templates :
+ {
+ button : 'Templates', // MISSING
+ title : 'Content Templates', // MISSING
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'Please select the template to open in the editor', // MISSING
+ emptyListMsg : '(No templates defined)' // MISSING
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Stil',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Font'
+ },
+
+ fontSize :
+ {
+ label : 'Velièina',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Velièina'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Boja teksta',
+ bgColorTitle : 'Boja pozadine',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatska',
+ more : 'Više boja...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/ca.js b/devel/third-party/ckeditor/lang/ca.js
new file mode 100644
index 0000000..ca828cd
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/ca.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Catalan language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ca'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Editor de text enriquit, %1, prem ALT 0 per obtenir ajuda.',
+
+ // ARIA descriptions.
+ toolbar : 'Barra d\'eines',
+ editor : 'Editor de text enriquit',
+
+ // Toolbar buttons without dialogs.
+ source : 'Codi font',
+ newPage : 'Nova pà gina',
+ save : 'Desa',
+ preview : 'Visualització prèvia',
+ cut : 'Retalla',
+ copy : 'Copia',
+ paste : 'Enganxa',
+ print : 'Imprimeix',
+ underline : 'Subratllat',
+ bold : 'Negreta',
+ italic : 'Cursiva',
+ selectAll : 'Selecciona-ho tot',
+ removeFormat : 'Elimina Format',
+ strike : 'Barrat',
+ subscript : 'SubÃndex',
+ superscript : 'SuperÃndex',
+ horizontalrule : 'Insereix lÃnia horitzontal',
+ pagebreak : 'Insereix salt de pà gina',
+ unlink : 'Elimina l\'enllaç',
+ undo : 'Desfés',
+ redo : 'Refés',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Veure servidor',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'Puja',
+ uploadSubmit : 'Envia-la al servidor',
+ image : 'Imatge',
+ flash : 'Flash',
+ form : 'Formulari',
+ checkbox : 'Casella de verificació',
+ radio : 'Botó d\'opció',
+ textField : 'Camp de text',
+ textarea : 'Ãrea de text',
+ hiddenField : 'Camp ocult',
+ button : 'Botó',
+ select : 'Camp de selecció',
+ imageButton : 'Botó d\'imatge',
+ notSet : '<no definit>',
+ id : 'Id',
+ name : 'Nom',
+ langDir : 'Direcció de l\'idioma',
+ langDirLtr : 'D\'esquerra a dreta (LTR)',
+ langDirRtl : 'De dreta a esquerra (RTL)',
+ langCode : 'Codi d\'idioma',
+ longDescr : 'Descripció llarga de la URL',
+ cssClass : 'Classes del full d\'estil',
+ advisoryTitle : 'TÃtol consultiu',
+ cssStyle : 'Estil',
+ ok : 'D\'acord',
+ cancel : 'Cancel·la',
+ close : 'Tanca',
+ preview : 'Previsualitza',
+ generalTab : 'General',
+ advancedTab : 'Avançat',
+ validateNumberFailed : 'Aquest valor no és un número.',
+ confirmNewPage : 'Els canvis en aquest contingut que no es desin es perdran. Esteu segur que voleu carregar una pà gina nova?',
+ confirmCancel : 'Algunes opcions s\'han canviat. Esteu segur que voleu tancar la finestra de dià leg?',
+ options : 'Opcions',
+ target : 'DestÃ',
+ targetNew : 'Nova finestra (_blank)',
+ targetTop : 'Finestra major (_top)',
+ targetSelf : 'Mateixa finestra (_self)',
+ targetParent : 'Finestra pare (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, no disponible</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insereix carà cter especial',
+ title : 'Selecciona el carà cter especial',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Insereix/Edita enllaç',
+ other : '<altre>',
+ menu : 'Edita l\'enllaç',
+ title : 'Enllaç',
+ info : 'Informació de l\'enllaç',
+ target : 'DestÃ',
+ upload : 'Puja',
+ advanced : 'Avançat',
+ type : 'Tipus d\'enllaç',
+ toUrl : 'URL',
+ toAnchor : 'Ãncora en aquesta pà gina',
+ toEmail : 'Correu electrònic',
+ targetFrame : '<marc>',
+ targetPopup : '<finestra emergent>',
+ targetFrameName : 'Nom del marc de destÃ',
+ targetPopupName : 'Nom finestra popup',
+ popupFeatures : 'CaracterÃstiques finestra popup',
+ popupResizable : 'Redimensionable',
+ popupStatusBar : 'Barra d\'estat',
+ popupLocationBar: 'Barra d\'adreça',
+ popupToolbar : 'Barra d\'eines',
+ popupMenuBar : 'Barra de menú',
+ popupFullScreen : 'Pantalla completa (IE)',
+ popupScrollBars : 'Barres d\'scroll',
+ popupDependent : 'Depenent (Netscape)',
+ popupWidth : 'Amplada',
+ popupLeft : 'Posició esquerra',
+ popupHeight : 'Alçada',
+ popupTop : 'Posició dalt',
+ id : 'Id',
+ langDir : 'Direcció de l\'idioma',
+ langDirLTR : 'D\'esquerra a dreta (LTR)',
+ langDirRTL : 'De dreta a esquerra (RTL)',
+ acccessKey : 'Clau d\'accés',
+ name : 'Nom',
+ langCode : 'Direcció de l\'idioma',
+ tabIndex : 'Index de Tab',
+ advisoryTitle : 'TÃtol consultiu',
+ advisoryContentType : 'Tipus de contingut consultiu',
+ cssClasses : 'Classes del full d\'estil',
+ charset : 'Conjunt de carà cters font enllaçat',
+ styles : 'Estil',
+ selectAnchor : 'Selecciona una à ncora',
+ anchorName : 'Per nom d\'Ã ncora',
+ anchorId : 'Per Id d\'element',
+ emailAddress : 'Adreça de correu electrònic',
+ emailSubject : 'Assumpte del missatge',
+ emailBody : 'Cos del missatge',
+ noAnchors : '(No hi ha à ncores disponibles en aquest document)',
+ noUrl : 'Si us plau, escrigui l\'enllaç URL',
+ noEmail : 'Si us plau, escrigui l\'adreça correu electrònic'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Insereix/Edita à ncora',
+ menu : 'Propietats de l\'Ã ncora',
+ title : 'Propietats de l\'Ã ncora',
+ name : 'Nom de l\'Ã ncora',
+ errorName : 'Si us plau, escriviu el nom de l\'ancora'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Cerca i reemplaça',
+ find : 'Cerca',
+ replace : 'Reemplaça',
+ findWhat : 'Cerca:',
+ replaceWith : 'Remplaça amb:',
+ notFoundMsg : 'El text especificat no s\'ha trobat.',
+ matchCase : 'Distingeix majúscules/minúscules',
+ matchWord : 'Només paraules completes',
+ matchCyclic : 'Match cyclic',
+ replaceAll : 'Reemplaça-ho tot',
+ replaceSuccessMsg : '%1 ocurrència/es reemplaçada/es.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Taula',
+ title : 'Propietats de la taula',
+ menu : 'Propietats de la taula',
+ deleteTable : 'Suprimeix la taula',
+ rows : 'Files',
+ columns : 'Columnes',
+ border : 'Mida vora',
+ align : 'Alineació',
+ alignLeft : 'Esquerra',
+ alignCenter : 'Centre',
+ alignRight : 'Dreta',
+ width : 'Amplada',
+ widthPx : 'pÃxels',
+ widthPc : 'percentatge',
+ widthUnit : 'unitat d\'amplada',
+ height : 'Alçada',
+ cellSpace : 'Espaiat de cel·les',
+ cellPad : 'Encoixinament de cel·les',
+ caption : 'TÃtol',
+ summary : 'Resum',
+ headers : 'Capçaleres',
+ headersNone : 'Cap',
+ headersColumn : 'Primera columna',
+ headersRow : 'Primera fila',
+ headersBoth : 'Ambdues',
+ invalidRows : 'El nombre de files ha de ser un nombre major que 0.',
+ invalidCols : 'El nombre de columnes ha de ser un nombre major que 0.',
+ invalidBorder : 'El gruix de la vora ha de ser un nombre.',
+ invalidWidth : 'L\'amplada de la taula ha de ser un nombre.',
+ invalidHeight : 'L\'alçada de la taula ha de ser un nombre.',
+ invalidCellSpacing : 'L\'espaiat de cel·la ha de ser un nombre.',
+ invalidCellPadding : 'L\'encoixinament de cel·la ha de ser un nombre.',
+
+ cell :
+ {
+ menu : 'Cel·la',
+ insertBefore : 'Insereix cel·la abans de',
+ insertAfter : 'Insereix cel·la darrera',
+ deleteCell : 'Suprimeix les cel·les',
+ merge : 'Fusiona les cel·les',
+ mergeRight : 'Fusiona cap a la dreta',
+ mergeDown : 'Fusiona cap avall',
+ splitHorizontal : 'Divideix la cel·la horitzontalment',
+ splitVertical : 'Divideix la cel·la verticalment',
+ title : 'Propertiat de la cel·la',
+ cellType : 'Tipus de cel·la',
+ rowSpan : 'Expansió de files',
+ colSpan : 'Expansió de columnes',
+ wordWrap : 'Ajustar al contingut',
+ hAlign : 'Aliniació Horizontal',
+ vAlign : 'Aliniació Vertical',
+ alignTop : 'A dalt',
+ alignMiddle : 'Al mig',
+ alignBottom : 'A baix',
+ alignBaseline : 'A la lÃnia base',
+ bgColor : 'Color de fons',
+ borderColor : 'Color de la vora',
+ data : 'Data',
+ header : 'Capçalera',
+ yes : 'SÃ',
+ no : 'No',
+ invalidWidth : 'L\'amplada de cel·la ha de ser un nombre.',
+ invalidHeight : 'L\'alçada de cel·la ha de ser un nombre.',
+ invalidRowSpan : 'L\'expansió de files ha de ser un nombre enter.',
+ invalidColSpan : 'L\'expansió de columnes ha de ser un nombre enter.',
+ chooseColor : 'Trieu'
+ },
+
+ row :
+ {
+ menu : 'Fila',
+ insertBefore : 'Insereix fila abans de',
+ insertAfter : 'Insereix fila darrera',
+ deleteRow : 'Suprimeix una fila'
+ },
+
+ column :
+ {
+ menu : 'Columna',
+ insertBefore : 'Insereix columna abans de',
+ insertAfter : 'Insereix columna darrera',
+ deleteColumn : 'Suprimeix una columna'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Propietats del botó',
+ text : 'Text (Valor)',
+ type : 'Tipus',
+ typeBtn : 'Botó',
+ typeSbm : 'Transmet formulari',
+ typeRst : 'Reinicia formulari'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Propietats de la casella de verificació',
+ radioTitle : 'Propietats del botó d\'opció',
+ value : 'Valor',
+ selected : 'Seleccionat'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Propietats del formulari',
+ menu : 'Propietats del formulari',
+ action : 'Acció',
+ method : 'Mètode',
+ encoding : 'Codificació'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Propietats del camp de selecció',
+ selectInfo : 'Info',
+ opAvail : 'Opcions disponibles',
+ value : 'Valor',
+ size : 'Mida',
+ lines : 'LÃnies',
+ chkMulti : 'Permet múltiples seleccions',
+ opText : 'Text',
+ opValue : 'Valor',
+ btnAdd : 'Afegeix',
+ btnModify : 'Modifica',
+ btnUp : 'Amunt',
+ btnDown : 'Avall',
+ btnSetValue : 'Selecciona per defecte',
+ btnDelete : 'Elimina'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Propietats de l\'Ã rea de text',
+ cols : 'Columnes',
+ rows : 'Files'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Propietats del camp de text',
+ name : 'Nom',
+ value : 'Valor',
+ charWidth : 'Amplada',
+ maxChars : 'Nombre mà xim de carà cters',
+ type : 'Tipus',
+ typeText : 'Text',
+ typePass : 'Contrasenya'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Propietats del camp ocult',
+ name : 'Nom',
+ value : 'Valor'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Propietats de la imatge',
+ titleButton : 'Propietats del botó d\'imatge',
+ menu : 'Propietats de la imatge',
+ infoTab : 'Informació de la imatge',
+ btnUpload : 'Envia-la al servidor',
+ upload : 'Puja',
+ alt : 'Text alternatiu',
+ width : 'Amplada',
+ height : 'Alçada',
+ lockRatio : 'Bloqueja les proporcions',
+ unlockRatio : 'Desbloqueja el rà tio',
+ resetSize : 'Restaura la mida',
+ border : 'Vora',
+ hSpace : 'Espaiat horit.',
+ vSpace : 'Espaiat vert.',
+ align : 'Alineació',
+ alignLeft : 'Ajusta a l\'esquerra',
+ alignRight : 'Ajusta a la dreta',
+ alertUrl : 'Si us plau, escriviu la URL de la imatge',
+ linkTab : 'Enllaç',
+ button2Img : 'Voleu transformar el botó d\'imatge seleccionat en una simple imatge?',
+ img2Button : 'Voleu transformar la imatge seleccionada en un botó d\'imatge?',
+ urlMissing : 'Falta la URL de la imatge.',
+ validateWidth : 'L\'amplada ha de ser un nombre enter.',
+ validateHeight : 'L\'alçada ha de ser un nombre enter.',
+ validateBorder : 'La vora ha de ser un nombre enter.',
+ validateHSpace : 'HSpace ha de ser un nombre enter.',
+ validateVSpace : 'VSpace ha de ser un nombre enter.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Propietats del Flash',
+ propertiesTab : 'Propietats',
+ title : 'Propietats del Flash',
+ chkPlay : 'Reprodució automà tica',
+ chkLoop : 'Bucle',
+ chkMenu : 'Habilita menú Flash',
+ chkFull : 'Permetre la pantalla completa',
+ scale : 'Escala',
+ scaleAll : 'Mostra-ho tot',
+ scaleNoBorder : 'Sense vores',
+ scaleFit : 'Mida exacta',
+ access : 'Accés a scripts',
+ accessAlways : 'Sempre',
+ accessSameDomain: 'El mateix domini',
+ accessNever : 'Mai',
+ align : 'Alineació',
+ alignLeft : 'Ajusta a l\'esquerra',
+ alignAbsBottom : 'Abs Bottom',
+ alignAbsMiddle : 'Abs Middle',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Bottom',
+ alignMiddle : 'Middle',
+ alignRight : 'Ajusta a la dreta',
+ alignTextTop : 'Text Top',
+ alignTop : 'Top',
+ quality : 'Qualitat',
+ qualityBest : 'La millor',
+ qualityHigh : 'Alta',
+ qualityAutoHigh : 'Alta automà tica',
+ qualityMedium : 'Mitjana',
+ qualityAutoLow : 'Baixa automà tica',
+ qualityLow : 'Baixa',
+ windowModeWindow: 'Finestra',
+ windowModeOpaque: 'Opaca',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Mode de la finestra',
+ flashvars : 'Variables de Flash',
+ bgcolor : 'Color de Fons',
+ width : 'Amplada',
+ height : 'Alçada',
+ hSpace : 'Espaiat horit.',
+ vSpace : 'Espaiat vert.',
+ validateSrc : 'Si us plau, escrigui l\'enllaç URL',
+ validateWidth : 'L\'amplada ha de ser un nombre.',
+ validateHeight : 'L\'alçada ha de ser un nombre.',
+ validateHSpace : 'L\'espaiat horitzonatal ha de ser un nombre.',
+ validateVSpace : 'L\'espaiat vertical ha de ser un nombre.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Revisa l\'ortografia',
+ title : 'Comprova l\'ortografia',
+ notAvailable : 'El servei no es troba disponible ara.',
+ errorLoading : 'Error carregant el servidor: %s.',
+ notInDic : 'No és al diccionari',
+ changeTo : 'Reemplaça amb',
+ btnIgnore : 'Ignora',
+ btnIgnoreAll : 'Ignora-les totes',
+ btnReplace : 'Canvia',
+ btnReplaceAll : 'Canvia-les totes',
+ btnUndo : 'Desfés',
+ noSuggestions : 'Cap suggeriment',
+ progress : 'Verificació ortogrà fica en curs...',
+ noMispell : 'Verificació ortogrà fica acabada: no hi ha cap paraula mal escrita',
+ noChanges : 'Verificació ortogrà fica: no s\'ha canviat cap paraula',
+ oneChange : 'Verificació ortogrà fica: s\'ha canviat una paraula',
+ manyChanges : 'Verificació ortogrà fica: s\'han canviat %1 paraules',
+ ieSpellDownload : 'Verificació ortogrà fica no instal·lada. Voleu descarregar-ho ara?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Icona',
+ title : 'Insereix una icona',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path',
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Llista numerada',
+ bulletedlist : 'Llista de pics',
+ indent : 'Augmenta el sagnat',
+ outdent : 'Redueix el sagnat',
+
+ justify :
+ {
+ left : 'Alinia a l\'esquerra',
+ center : 'Centrat',
+ right : 'Alinia a la dreta',
+ block : 'Justificat'
+ },
+
+ blockquote : 'Bloc de cita',
+
+ clipboard :
+ {
+ title : 'Enganxa',
+ cutError : 'La seguretat del vostre navegador no permet executar automà ticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl+X).',
+ copyError : 'La seguretat del vostre navegador no permet executar automà ticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl+C).',
+ pasteMsg : 'Si us plau, enganxeu dins del següent camp utilitzant el teclat (<STRONG>Ctrl+V</STRONG>) i premeu <STRONG>OK</STRONG>.',
+ securityMsg : 'A causa de la configuració de seguretat del vostre navegador, l\'editor no pot accedir al porta-retalls directament. Enganxeu-ho un altre cop en aquesta finestra.',
+ pasteArea : 'Ãrea d\'enganxat'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?',
+ toolbar : 'Enganxa des del Word',
+ title : 'Enganxa des del Word',
+ error : 'No ha estat possible netejar les dades enganxades degut a un error intern'
+ },
+
+ pasteText :
+ {
+ button : 'Enganxa com a text no formatat',
+ title : 'Enganxa com a text no formatat'
+ },
+
+ templates :
+ {
+ button : 'Plantilles',
+ title : 'Contingut plantilles',
+ options : 'Template Options', // MISSING
+ insertOption : 'Reemplaça el contingut actual',
+ selectPromptMsg : 'Si us plau, seleccioneu la plantilla per obrir a l\'editor<br>(el contingut actual no serà enregistrat):',
+ emptyListMsg : '(No hi ha plantilles definides)'
+ },
+
+ showBlocks : 'Mostra els blocs',
+
+ stylesCombo :
+ {
+ label : 'Estil',
+ panelTitle : 'Estils de format',
+ panelTitle1 : 'Estils de bloc',
+ panelTitle2 : 'Estils incrustats',
+ panelTitle3 : 'Estils d\'objecte'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatejat',
+ tag_address : 'Adreça',
+ tag_h1 : 'Encapçalament 1',
+ tag_h2 : 'Encapçalament 2',
+ tag_h3 : 'Encapçalament 3',
+ tag_h4 : 'Encapçalament 4',
+ tag_h5 : 'Encapçalament 5',
+ tag_h6 : 'Encapçalament 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Crea un contenidor Div',
+ toolbar : 'Crea un contenidor Div',
+ cssClassInputLabel : 'Classes de la fulla d\'estils',
+ styleSelectLabel : 'Estil',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Codi d\'idioma',
+ inlineStyleInputLabel : 'Estil en lÃnia',
+ advisoryTitleInputLabel : 'TÃtol de guia',
+ langDirLabel : 'Direcció de l\'idioma',
+ langDirLTRLabel : 'D\'esquerra a dreta (LTR)',
+ langDirRTLLabel : 'De dreta a esquerra (RTL)',
+ edit : 'Edita Div',
+ remove : 'Elimina Div'
+ },
+
+ font :
+ {
+ label : 'Tipus de lletra',
+ voiceLabel : 'Tipus de lletra',
+ panelTitle : 'Tipus de lletra'
+ },
+
+ fontSize :
+ {
+ label : 'Mida',
+ voiceLabel : 'Mida de la lletra',
+ panelTitle : 'Mida'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Color de Text',
+ bgColorTitle : 'Color de Fons',
+ panelTitle : 'Colors',
+ auto : 'Automà tic',
+ more : 'Més colors...'
+ },
+
+ colors :
+ {
+ '000' : 'Negre',
+ '800000' : 'Granat',
+ '8B4513' : 'Marró sella',
+ '2F4F4F' : 'Gris pissarra fosca',
+ '008080' : 'Blau xarxet',
+ '000080' : 'Blau marÃ',
+ '4B0082' : 'Indi',
+ '696969' : 'Gris intens',
+ 'B22222' : 'Maó',
+ 'A52A2A' : 'Marró (web)',
+ 'DAA520' : 'Solidago',
+ '006400' : 'Verd fosc',
+ '40E0D0' : 'Turquesa',
+ '0000CD' : 'Atzur',
+ '800080' : 'Lila',
+ '808080' : 'Gris',
+ 'F00' : 'Vermell',
+ 'FF8C00' : 'Taronja fosc',
+ 'FFD700' : 'Or',
+ '008000' : 'Verd',
+ '0FF' : 'Cian',
+ '00F' : 'Blau',
+ 'EE82EE' : 'Lavanda rosat',
+ 'A9A9A9' : 'Gris clar',
+ 'FFA07A' : 'Salmó clar',
+ 'FFA500' : 'Taronja',
+ 'FFFF00' : 'Groc',
+ '00FF00' : 'Verd llima',
+ 'AFEEEE' : 'Blau pà lid',
+ 'ADD8E6' : 'Blau clar',
+ 'DDA0DD' : 'Pruna',
+ 'D3D3D3' : 'Gris clar',
+ 'FFF0F5' : 'Lavanda rosat',
+ 'FAEBD7' : 'Blanc antic',
+ 'FFFFE0' : 'Groc clar',
+ 'F0FFF0' : 'Verd pà lid',
+ 'F0FFFF' : 'Blau cel pà lid',
+ 'F0F8FF' : 'Cian pà lid',
+ 'E6E6FA' : 'Lavanda',
+ 'FFF' : 'Blanc'
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Habilitat l\'SCAYT',
+ disable : 'Deshabilita SCAYT',
+ about : 'Quant a l\'SCAYT',
+ toggle : 'Commuta l\'SCAYT',
+ options : 'Opcions',
+ langs : 'Idiomes',
+ moreSuggestions : 'Més suggerències',
+ ignore : 'Ignora',
+ ignoreAll : 'Ignora\'ls tots',
+ addWord : 'Afegeix una paraula',
+ emptyDic : 'El nom del diccionari no hauria d\'estar buit.',
+
+ optionsTab : 'Opcions',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Idiomes',
+
+ dictionariesTab : 'Diccionaris',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Quant a'
+ },
+
+ about :
+ {
+ title : 'Quan al CKEditor',
+ dlgTitle : 'Quan al CKEditor',
+ moreInfo : 'Per informació sobre llicències visiteu el web:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'Maximitza',
+ minimize : 'Minimitza',
+
+ fakeobjects :
+ {
+ anchor : 'Ãncora',
+ flash : 'Animació Flash',
+ div : 'Salt de pà gina',
+ unknown : 'Objecte desconegut'
+ },
+
+ resize : 'Arrossegueu per redimensionar',
+
+ colordialog :
+ {
+ title : 'Selecciona el color',
+ options : 'Color Options', // MISSING
+ highlight : 'Destacat',
+ selected : 'Seleccionat',
+ clear : 'Neteja'
+ },
+
+ toolbarCollapse : 'Redueix la barra d\'eines',
+ toolbarExpand : 'Amplia la barra d\'eines',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/cs.js b/devel/third-party/ckeditor/lang/cs.js
new file mode 100644
index 0000000..f7b5f8c
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/cs.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Czech language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['cs'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Zdroj',
+ newPage : 'Nová stránka',
+ save : 'Uložit',
+ preview : 'Náhled',
+ cut : 'Vyjmout',
+ copy : 'KopÃrovat',
+ paste : 'Vložit',
+ print : 'Tisk',
+ underline : 'Podtržené',
+ bold : 'TuÄné',
+ italic : 'KurzÃva',
+ selectAll : 'Vybrat vše',
+ removeFormat : 'Odstranit formátovánÃ',
+ strike : 'PÅeÅ¡krtnuté',
+ subscript : 'Dolnà index',
+ superscript : 'Hornà index',
+ horizontalrule : 'Vložit vodorovnou linku',
+ pagebreak : 'Vložit konec stránky',
+ unlink : 'Odstranit odkaz',
+ undo : 'ZpÄt',
+ redo : 'Znovu',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Vybrat na serveru',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Odeslat',
+ uploadSubmit : 'Odeslat na server',
+ image : 'Obrázek',
+ flash : 'Flash',
+ form : 'FormuláÅ',
+ checkbox : 'ZaÅ¡krtávacà polÃÄko',
+ radio : 'PÅepÃnaÄ',
+ textField : 'Textové pole',
+ textarea : 'Textová oblast',
+ hiddenField : 'Skryté pole',
+ button : 'TlaÄÃtko',
+ select : 'Seznam',
+ imageButton : 'Obrázkové tlaÄÃtko',
+ notSet : '<nenastaveno>',
+ id : 'Id',
+ name : 'Jméno',
+ langDir : 'Orientace jazyka',
+ langDirLtr : 'Zleva do prava (LTR)',
+ langDirRtl : 'Zprava do leva (RTL)',
+ langCode : 'Kód jazyka',
+ longDescr : 'Dlouhý popis URL',
+ cssClass : 'TÅÃda stylu',
+ advisoryTitle : 'Pomocný titulek',
+ cssStyle : 'Styl',
+ ok : 'OK',
+ cancel : 'Storno',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Obecné',
+ advancedTab : 'RozÅ¡ÃÅené',
+ validateNumberFailed : 'Zadaná hodnota nenà ÄÃselná.',
+ confirmNewPage : 'Jakékoliv neuložené zmÄny obsahu budou ztraceny. SkuteÄnÄ chete otevrÃt novou stránku?',
+ confirmCancel : 'NÄkterá z nastavenà byla zmÄnÄna. SkuteÄnÄ chete zavÅÃt dialogové okno?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, nedostupné</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Vložit speciálnà znaky',
+ title : 'VýbÄr speciálnÃho znaku',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Vložit/zmÄnit odkaz',
+ other : '<jiný>',
+ menu : 'ZmÄnit odkaz',
+ title : 'Odkaz',
+ info : 'Informace o odkazu',
+ target : 'CÃl',
+ upload : 'Odeslat',
+ advanced : 'RozÅ¡ÃÅené',
+ type : 'Typ odkazu',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Kotva v této stránce',
+ toEmail : 'E-Mail',
+ targetFrame : '<rámec>',
+ targetPopup : '<vyskakovacà okno>',
+ targetFrameName : 'Název cÃlového rámu',
+ targetPopupName : 'Název vyskakovacÃho okna',
+ popupFeatures : 'Vlastnosti vyskakovacÃho okna',
+ popupResizable : 'UmožÅujÃcà mÄnit velikost',
+ popupStatusBar : 'Stavový Åádek',
+ popupLocationBar: 'Panel umÃstÄnÃ',
+ popupToolbar : 'Panel nástrojů',
+ popupMenuBar : 'Panel nabÃdky',
+ popupFullScreen : 'Celá obrazovka (IE)',
+ popupScrollBars : 'PosuvnÃky',
+ popupDependent : 'Závislost (Netscape)',
+ popupWidth : 'Å ÃÅka',
+ popupLeft : 'Levý okraj',
+ popupHeight : 'Výška',
+ popupTop : 'Hornà okraj',
+ id : 'Id',
+ langDir : 'Orientace jazyka',
+ langDirLTR : 'Zleva do prava (LTR)',
+ langDirRTL : 'Zprava do leva (RTL)',
+ acccessKey : 'PÅÃstupový klÃÄ',
+ name : 'Jméno',
+ langCode : 'Orientace jazyka',
+ tabIndex : 'PoÅadà prvku',
+ advisoryTitle : 'Pomocný titulek',
+ advisoryContentType : 'Pomocný typ obsahu',
+ cssClasses : 'TÅÃda stylu',
+ charset : 'PÅiÅazená znaková sada',
+ styles : 'Styl',
+ selectAnchor : 'Vybrat kotvu',
+ anchorName : 'Podle jména kotvy',
+ anchorId : 'Podle Id objektu',
+ emailAddress : 'E-Mailová adresa',
+ emailSubject : 'PÅedmÄt zprávy',
+ emailBody : 'TÄlo zprávy',
+ noAnchors : '(Ve stránce nenà definována žádná kotva!)',
+ noUrl : 'Zadejte prosÃm URL odkazu',
+ noEmail : 'Zadejte prosÃm e-mailovou adresu'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'VložÃt/zmÄnit záložku',
+ menu : 'Vlastnosti záložky',
+ title : 'Vlastnosti záložky',
+ name : 'Název záložky',
+ errorName : 'Zadejte prosÃm název záložky'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'NajÃt a nahradit',
+ find : 'Hledat',
+ replace : 'Nahradit',
+ findWhat : 'Co hledat:',
+ replaceWith : 'ÄÃm nahradit:',
+ notFoundMsg : 'Hledaný text nebyl nalezen.',
+ matchCase : 'RozliÅ¡ovat velikost pÃsma',
+ matchWord : 'Pouze celá slova',
+ matchCyclic : 'Procházet opakovanÄ',
+ replaceAll : 'Nahradit vše',
+ replaceSuccessMsg : '%1 nahrazenÃ.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabulka',
+ title : 'Vlastnosti tabulky',
+ menu : 'Vlastnosti tabulky',
+ deleteTable : 'Smazat tabulku',
+ rows : 'Åádky',
+ columns : 'Sloupce',
+ border : 'OhraniÄenÃ',
+ align : 'ZarovnánÃ',
+ alignLeft : 'Vlevo',
+ alignCenter : 'Na stÅed',
+ alignRight : 'Vpravo',
+ width : 'Å ÃÅka',
+ widthPx : 'bodů',
+ widthPc : 'procent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Výška',
+ cellSpace : 'Vzdálenost bunÄk',
+ cellPad : 'Odsazenà obsahu v buÅce',
+ caption : 'Popis',
+ summary : 'Souhrn',
+ headers : 'ZáhlavÃ',
+ headersNone : 'Žádné',
+ headersColumn : 'Prvnà sloupec',
+ headersRow : 'Prvnà Åádek',
+ headersBoth : 'ObojÃ',
+ invalidRows : 'PoÄet Åádků musà být ÄÃslo vÄtÅ¡Ã než 0.',
+ invalidCols : 'PoÄet sloupců musà být ÄÃslo vÄtÅ¡Ã než 0.',
+ invalidBorder : 'Zdaná velikost okraje musà být ÄÃselná.',
+ invalidWidth : 'Zadaná Å¡ÃÅka tabulky musà být ÄÃselná.',
+ invalidHeight : 'zadaná výška tabulky musà být ÄÃselná.',
+ invalidCellSpacing : 'Zadaná vzdálenost bunÄk musà být ÄÃselná.',
+ invalidCellPadding : 'Zadané odsazenà obsahu v buÅce musà být ÄÃselné.',
+
+ cell :
+ {
+ menu : 'BuÅka',
+ insertBefore : 'Vložit buÅku pÅed',
+ insertAfter : 'Vložit buÅku za',
+ deleteCell : 'Smazat buÅky',
+ merge : 'SlouÄit buÅky',
+ mergeRight : 'SlouÄit doprava',
+ mergeDown : 'SlouÄit dolů',
+ splitHorizontal : 'RozdÄlit buÅky vodorovnÄ',
+ splitVertical : 'RozdÄlit buÅky svisle',
+ title : 'Vlastnosti buÅky',
+ cellType : 'Typ buÅky',
+ rowSpan : 'Spojit Åádky',
+ colSpan : 'Spojit sloupce',
+ wordWrap : 'ZalamovánÃ',
+ hAlign : 'Vodorovné zarovnánÃ',
+ vAlign : 'Svislé zarovnánÃ',
+ alignTop : 'Nahoru',
+ alignMiddle : 'DoprostÅed',
+ alignBottom : 'Dolů',
+ alignBaseline : 'Na úÄaÅÃ',
+ bgColor : 'Barva pozadÃ',
+ borderColor : 'Barva okraje',
+ data : 'Data',
+ header : 'HlaviÄka',
+ yes : 'Ano',
+ no : 'Ne',
+ invalidWidth : 'Zadaná Å¡ÃÅka buÅky musà být ÄÃslená.',
+ invalidHeight : 'Zadaná výška buÅky musà být ÄÃslená.',
+ invalidRowSpan : 'Zadaný poÄet slouÄených Åádků musà být celé ÄÃslo.',
+ invalidColSpan : 'Zadaný poÄet slouÄených sloupců musà být celé ÄÃslo.',
+ chooseColor : 'VýbÄr'
+ },
+
+ row :
+ {
+ menu : 'Åádek',
+ insertBefore : 'Vložit Åádek pÅed',
+ insertAfter : 'Vložit Åádek za',
+ deleteRow : 'Smazat Åádky'
+ },
+
+ column :
+ {
+ menu : 'Sloupec',
+ insertBefore : 'Vložit sloupec pÅed',
+ insertAfter : 'Vložit sloupec za',
+ deleteColumn : 'Smazat sloupec'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Vlastnosti tlaÄÃtka',
+ text : 'Popisek',
+ type : 'Typ',
+ typeBtn : 'TlaÄÃtko',
+ typeSbm : 'Odeslat',
+ typeRst : 'Obnovit'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Vlastnosti zaÅ¡krtávacÃho polÃÄka',
+ radioTitle : 'Vlastnosti pÅepÃnaÄe',
+ value : 'Hodnota',
+ selected : 'Zaškrtnuto'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Vlastnosti formuláÅe',
+ menu : 'Vlastnosti formuláÅe',
+ action : 'Akce',
+ method : 'Metoda',
+ encoding : 'KódovánÃ'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Vlastnosti seznamu',
+ selectInfo : 'Info',
+ opAvail : 'Dostupná nastavenÃ',
+ value : 'Hodnota',
+ size : 'Velikost',
+ lines : 'Åádků',
+ chkMulti : 'Povolit mnohonásobné výbÄry',
+ opText : 'Text',
+ opValue : 'Hodnota',
+ btnAdd : 'PÅidat',
+ btnModify : 'ZmÄnit',
+ btnUp : 'Nahoru',
+ btnDown : 'Dolů',
+ btnSetValue : 'Nastavit jako vybranou hodnotu',
+ btnDelete : 'Smazat'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Vlastnosti textové oblasti',
+ cols : 'Sloupců',
+ rows : 'Åádků'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Vlastnosti textového pole',
+ name : 'Název',
+ value : 'Hodnota',
+ charWidth : 'Å ÃÅka ve znacÃch',
+ maxChars : 'Maximálnà poÄet znaků',
+ type : 'Typ',
+ typeText : 'Text',
+ typePass : 'Heslo'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Vlastnosti skrytého pole',
+ name : 'Název',
+ value : 'Hodnota'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Vlastnosti obrázku',
+ titleButton : 'Vlastnostà obrázkového tlaÄÃtka',
+ menu : 'Vlastnosti obrázku',
+ infoTab : 'Informace o obrázku',
+ btnUpload : 'Odeslat na server',
+ upload : 'Odeslat',
+ alt : 'Alternativnà text',
+ width : 'Å ÃÅka',
+ height : 'Výška',
+ lockRatio : 'Zámek',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Původnà velikost',
+ border : 'Okraje',
+ hSpace : 'H-mezera',
+ vSpace : 'V-mezera',
+ align : 'ZarovnánÃ',
+ alignLeft : 'Vlevo',
+ alignRight : 'Vpravo',
+ alertUrl : 'Zadejte prosÃm URL obrázku',
+ linkTab : 'Odkaz',
+ button2Img : 'SkuteÄnÄ chcete pÅevést zvolené obrázkové tlaÄÃtko na obyÄejný obrázek?',
+ img2Button : 'SkuteÄnÄ chcete pÅevést zvolený obrázek na obrázkové tlaÄÃtko?',
+ urlMissing : 'Zadané URL zdroje obrázku nebylo nalezeno.',
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Vlastnosti Flashe',
+ propertiesTab : 'Vlastnosti',
+ title : 'Vlastnosti Flashe',
+ chkPlay : 'Automatické spuÅ¡tÄnÃ',
+ chkLoop : 'OpakovánÃ',
+ chkMenu : 'NabÃdka Flash',
+ chkFull : 'Povolit celoobrazovkový režim',
+ scale : 'Zobrazit',
+ scaleAll : 'Zobrazit vše',
+ scaleNoBorder : 'Bez okraje',
+ scaleFit : 'PÅizpůsobit',
+ access : 'PÅÃstup ke skriptu',
+ accessAlways : 'Vždy',
+ accessSameDomain: 'Ve stejné doménÄ',
+ accessNever : 'Nikdy',
+ align : 'ZarovnánÃ',
+ alignLeft : 'Vlevo',
+ alignAbsBottom : 'Zcela dolů',
+ alignAbsMiddle : 'DoprostÅed',
+ alignBaseline : 'Na úÄaÅÃ',
+ alignBottom : 'Dolů',
+ alignMiddle : 'Na stÅed',
+ alignRight : 'Vpravo',
+ alignTextTop : 'Na hornà okraj textu',
+ alignTop : 'Nahoru',
+ quality : 'Kvalita',
+ qualityBest : 'NejlepÅ¡Ã',
+ qualityHigh : 'Vysoká',
+ qualityAutoHigh : 'Vysoká - auto',
+ qualityMedium : 'StÅednÃ',
+ qualityAutoLow : 'NÃzká - auto',
+ qualityLow : 'NejnižšÃ',
+ windowModeWindow: 'Okno',
+ windowModeOpaque: 'Neprůhledné',
+ windowModeTransparent : 'Průhledné',
+ windowMode : 'Režim okna',
+ flashvars : 'PromÄnné pro Flash',
+ bgcolor : 'Barva pozadÃ',
+ width : 'Å ÃÅka',
+ height : 'Výška',
+ hSpace : 'H-mezera',
+ vSpace : 'V-mezera',
+ validateSrc : 'Zadejte prosÃm URL odkazu',
+ validateWidth : 'Zadaná Å¡ÃÅka musà být ÄÃslo.',
+ validateHeight : 'Zadaná výška musà být ÄÃslo.',
+ validateHSpace : 'Zadaná H-mezera musà být ÄÃslo.',
+ validateVSpace : 'Zadaná V-mezera musà být ÄÃslo.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Zkontrolovat pravopis',
+ title : 'Kontrola pravopisu',
+ notAvailable : 'Omlouváme se, ale služba nynà nenà dostupná.',
+ errorLoading : 'Chyba nahrávánà služby aplikace z: %s.',
+ notInDic : 'Nenà ve slovnÃku',
+ changeTo : 'ZmÄnit na',
+ btnIgnore : 'PÅeskoÄit',
+ btnIgnoreAll : 'PÅeskakovat vÅ¡e',
+ btnReplace : 'ZamÄnit',
+ btnReplaceAll : 'ZamÄÅovat vÅ¡e',
+ btnUndo : 'ZpÄt',
+ noSuggestions : '- žádné návrhy -',
+ progress : 'ProbÃhá kontrola pravopisu...',
+ noMispell : 'Kontrola pravopisu dokonÄena: Žádné pravopisné chyby nenalezeny',
+ noChanges : 'Kontrola pravopisu dokonÄena: Beze zmÄn',
+ oneChange : 'Kontrola pravopisu dokonÄena: Jedno slovo zmÄnÄno',
+ manyChanges : 'Kontrola pravopisu dokonÄena: %1 slov zmÄnÄno',
+ ieSpellDownload : 'Kontrola pravopisu nenà nainstalována. Chcete ji nynà stáhnout?'
+ },
+
+ smiley :
+ {
+ toolbar : 'SmajlÃky',
+ title : 'Vkládánà smajlÃků',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 objekt'
+ },
+
+ numberedlist : 'ÄÃslovánÃ',
+ bulletedlist : 'Odrážky',
+ indent : 'ZvÄtÅ¡it odsazenÃ',
+ outdent : 'ZmenÅ¡it odsazenÃ',
+
+ justify :
+ {
+ left : 'Zarovnat vlevo',
+ center : 'Zarovnat na stÅed',
+ right : 'Zarovnat vpravo',
+ block : 'Zarovnat do bloku'
+ },
+
+ blockquote : 'Citace',
+
+ clipboard :
+ {
+ title : 'Vložit',
+ cutError : 'BezpeÄnostnà nastavenà VaÅ¡eho prohlÞeÄe nedovolujà editoru spustit funkci pro vyjmutà zvoleného textu do schránky. ProsÃm vyjmÄte zvolený text do schránky pomocà klávesnice (Ctrl/Cmd+X).',
+ copyError : 'BezpeÄnostnà nastavenà VaÅ¡eho prohlÞeÄe nedovolujà editoru spustit funkci pro kopÃrovánà zvoleného textu do schránky. ProsÃm zkopÃrujte zvolený text do schránky pomocà klávesnice (Ctrl/Cmd+C).',
+ pasteMsg : 'Do následujÃcÃho pole vložte požadovaný obsah pomocà klávesnice (<STRONG>Ctrl/Cmd+V</STRONG>) a stisknÄte <STRONG>OK</STRONG>.',
+ securityMsg : 'Z důvodů nastavenà bezpeÄnosti VaÅ¡eho prohlÞeÄe nemůže editor pÅistupovat pÅÃmo do schránky. Obsah schránky prosÃm vložte znovu do tohoto okna.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Jak je vidÄt, vkládaný text je kopÃrován z Wordu. Chcete jej pÅed vloženÃm vyÄistit?',
+ toolbar : 'Vložit z Wordu',
+ title : 'Vložit z Wordu',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Vložit jako Äistý text',
+ title : 'Vložit jako Äistý text'
+ },
+
+ templates :
+ {
+ button : 'Å ablony',
+ title : 'Å ablony obsahu',
+ options : 'Template Options', // MISSING
+ insertOption : 'Nahradit aktuálnà obsah',
+ selectPromptMsg : 'ProsÃm zvolte Å¡ablonu pro otevÅenà v editoru<br>(aktuálnà obsah editoru bude ztracen):',
+ emptyListMsg : '(Nenà definována žádná šablona)'
+ },
+
+ showBlocks : 'Ukázat bloky',
+
+ stylesCombo :
+ {
+ label : 'Styl',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Blokové styly',
+ panelTitle2 : 'Åádkové styly',
+ panelTitle3 : 'Objektové styly'
+ },
+
+ format :
+ {
+ label : 'Formát',
+ panelTitle : 'Formát',
+
+ tag_p : 'NormálnÃ',
+ tag_pre : 'Naformátováno',
+ tag_address : 'Adresa',
+ tag_h1 : 'Nadpis 1',
+ tag_h2 : 'Nadpis 2',
+ tag_h3 : 'Nadpis 3',
+ tag_h4 : 'Nadpis 4',
+ tag_h5 : 'Nadpis 5',
+ tag_h6 : 'Nadpis 6',
+ tag_div : 'Normálnà (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'PÃsmo',
+ voiceLabel : 'PÃsmo',
+ panelTitle : 'PÃsmo'
+ },
+
+ fontSize :
+ {
+ label : 'Velikost',
+ voiceLabel : 'Velikost pÃsma',
+ panelTitle : 'Velikost'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Barva textu',
+ bgColorTitle : 'Barva pozadÃ',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automaticky',
+ more : 'VÃce barev...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Kontrola pravopisu bÄhem psanà (SCAYT)',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Zapnout SCAYT',
+ disable : 'Vypnout SCAYT',
+ about : 'O aplikaci SCAYT',
+ toggle : 'VypÃnaÄ SCAYT',
+ options : 'NastavenÃ',
+ langs : 'Jazyky',
+ moreSuggestions : 'VÃce návrhů',
+ ignore : 'PÅeskoÄit',
+ ignoreAll : 'PÅeskoÄit vÅ¡e',
+ addWord : 'PÅidat slovo',
+ emptyDic : 'Název slovnÃku nesmà být prázdný.',
+
+ optionsTab : 'NastavenÃ',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Jazyky',
+
+ dictionariesTab : 'SlovnÃky',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'O aplikaci'
+ },
+
+ about :
+ {
+ title : 'O aplikaci CKEditor',
+ dlgTitle : 'O aplikaci CKEditor',
+ moreInfo : 'Pro informace o lincenci navštivte naši webovou stránku:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'Maximalizovat',
+ minimize : 'Minimalizovat',
+
+ fakeobjects :
+ {
+ anchor : 'Záložka',
+ flash : 'Flash animace',
+ div : 'Zalomenà stránky',
+ unknown : 'Neznámý objekt'
+ },
+
+ resize : 'Uchopit pro zmÄnu velikosti',
+
+ colordialog :
+ {
+ title : 'VýbÄr barvy',
+ options : 'Color Options', // MISSING
+ highlight : 'Zvýraznit',
+ selected : 'Vybráno',
+ clear : 'VyÄistit'
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/cy.js b/devel/third-party/ckeditor/lang/cy.js
new file mode 100644
index 0000000..89813d4
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/cy.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Welsh language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['cy'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Tarddle',
+ newPage : 'Tudalen newydd',
+ save : 'Cadw',
+ preview : 'Rhagolwg',
+ cut : 'Torri',
+ copy : 'Copïo',
+ paste : 'Gludo',
+ print : 'Argraffu',
+ underline : 'Tanlinellu',
+ bold : 'Bras',
+ italic : 'Italig',
+ selectAll : 'Dewis Popeth',
+ removeFormat : 'Tynnu Fformat',
+ strike : 'Llinell Trwyddo',
+ subscript : 'Is-sgript',
+ superscript : 'Uwchsgript',
+ horizontalrule : 'Mewnosod Llinell Lorweddol',
+ pagebreak : 'Mewnosod Toriad Tudalen i Argraffu',
+ unlink : 'Datgysylltu',
+ undo : 'Dadwneud',
+ redo : 'Ailadrodd',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Pori\'r Gweinydd',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'Lanlwytho',
+ uploadSubmit : 'Anfon i\'r Gweinydd',
+ image : 'Delwedd',
+ flash : 'Flash',
+ form : 'Ffurflen',
+ checkbox : 'Blwch ticio',
+ radio : 'Botwm Radio',
+ textField : 'Maes Testun',
+ textarea : 'Ardal Testun',
+ hiddenField : 'Maes Cudd',
+ button : 'Botwm',
+ select : 'Maes Dewis',
+ imageButton : 'Botwm Delwedd',
+ notSet : '<heb osod>',
+ id : 'Id',
+ name : 'Name',
+ langDir : 'Cyfeiriad Iaith',
+ langDirLtr : 'Chwith i\'r Dde (LTR)',
+ langDirRtl : 'Dde i\'r Chwith (RTL)',
+ langCode : 'Cod Iaith',
+ longDescr : 'URL Disgrifiad Hir',
+ cssClass : 'Dosbarth Dalen Arddull',
+ advisoryTitle : 'Teitl Cynghorol',
+ cssStyle : 'Arddull',
+ ok : 'Iawn',
+ cancel : 'Diddymu',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Cyffredinol',
+ advancedTab : 'Uwch',
+ validateNumberFailed : 'Nid yw\'r gwerth hwn yn rhif.',
+ confirmNewPage : 'Byddwch yn colli unrhyw newidiadau i\'r cynnwys sydd heb eu cadw. A ydych am barhau i lwytho tudalen newydd?',
+ confirmCancel : 'Mae rhai o\'r opsiynau wedi\'u newid. A ydych wir am gau\'r deialog?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, ddim ar gael</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Mewnosod Nodau Arbennig',
+ title : 'Dewis Nod Arbennig',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Dolen',
+ other : '<eraill>',
+ menu : 'Golygu Dolen',
+ title : 'Dolen',
+ info : 'Gwyb ar y Ddolen',
+ target : 'Targed',
+ upload : 'Lanlwytho',
+ advanced : 'Uwch',
+ type : 'Math y Ddolen',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Dolen at angor yn y testun',
+ toEmail : 'E-bost',
+ targetFrame : '<ffrâm>',
+ targetPopup : '<ffenestr bop>',
+ targetFrameName : 'Enw Ffrâm y Targed',
+ targetPopupName : 'Enw Ffenestr Bop',
+ popupFeatures : 'Nodweddion Ffenestr Bop',
+ popupResizable : 'Ailfeintiol',
+ popupStatusBar : 'Bar Statws',
+ popupLocationBar: 'Bar Safle',
+ popupToolbar : 'Bar Offer',
+ popupMenuBar : 'Dewislen',
+ popupFullScreen : 'Sgrin Llawn (IE)',
+ popupScrollBars : 'Barrau Sgrolio',
+ popupDependent : 'Dibynnol (Netscape)',
+ popupWidth : 'Lled',
+ popupLeft : 'Safle Chwith',
+ popupHeight : 'Uchder',
+ popupTop : 'Safle Top',
+ id : 'Id',
+ langDir : 'Cyfeiriad Iaith',
+ langDirLTR : 'Chwith i\'r Dde (LTR)',
+ langDirRTL : 'Dde i\'r Chwith (RTL)',
+ acccessKey : 'Allwedd Mynediad',
+ name : 'Enw',
+ langCode : 'Cod Iaith',
+ tabIndex : 'Indecs Tab',
+ advisoryTitle : 'Teitl Cynghorol',
+ advisoryContentType : 'Math y Cynnwys Cynghorol',
+ cssClasses : 'Dosbarthiadau Dalen Arddull',
+ charset : 'Set nodau\'r Adnodd Cysylltiedig',
+ styles : 'Arddull',
+ selectAnchor : 'Dewiswch Angor',
+ anchorName : 'Gan Enw\'r Angor',
+ anchorId : 'Gan Id yr Elfen',
+ emailAddress : 'Cyfeiriad E-Bost',
+ emailSubject : 'Testun y Message Subject',
+ emailBody : 'Pwnc y Neges',
+ noAnchors : '(Dim angorau ar gael yn y ddogfen)',
+ noUrl : 'Teipiwch URL y ddolen',
+ noEmail : 'Teipiwch gyfeiriad yr e-bost'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Angor',
+ menu : 'Golygwch yr Angor',
+ title : 'Priodweddau\'r Angor',
+ name : 'Enw\'r Angor',
+ errorName : 'Teipiwch enw\'r angor'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Chwilio ac Amnewid',
+ find : 'Chwilio',
+ replace : 'Amnewid',
+ findWhat : 'Chwilio\'r term:',
+ replaceWith : 'Amnewid gyda:',
+ notFoundMsg : 'Nid oedd y testun wedi\'i ddarganfod.',
+ matchCase : 'Cyfateb i\'r cas',
+ matchWord : 'Cyfateb gair cyfan',
+ matchCyclic : 'Cyfateb cylchol',
+ replaceAll : 'Amnewid pob un',
+ replaceSuccessMsg : 'Amnewidiwyd %1 achlysur.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabl',
+ title : 'Nodweddion Tabl',
+ menu : 'Nodweddion Tabl',
+ deleteTable : 'Dileu Tabl',
+ rows : 'Rhesi',
+ columns : 'Colofnau',
+ border : 'Maint yr Ymyl',
+ align : 'Aliniad',
+ alignLeft : 'Chwith',
+ alignCenter : 'Canol',
+ alignRight : 'Dde',
+ width : 'Lled',
+ widthPx : 'picsel',
+ widthPc : 'y cant',
+ widthUnit : 'width unit', // MISSING
+ height : 'Uchder',
+ cellSpace : 'Bylchu\'r gell',
+ cellPad : 'Padio\'r gell',
+ caption : 'Pennawd',
+ summary : 'Crynodeb',
+ headers : 'Penynnau',
+ headersNone : 'Dim',
+ headersColumn : 'Colofn gyntaf',
+ headersRow : 'Rhes gyntaf',
+ headersBoth : 'Y Ddau',
+ invalidRows : 'Mae\'n rhaid cael o leiaf un rhes.',
+ invalidCols : 'Mae\'n rhaid cael o leiaf un golofn.',
+ invalidBorder : 'Mae\'n rhaid i faint yr ymyl fod yn rhif.',
+ invalidWidth : 'Mae\'n rhaid i led y tabl fod yn rhif.',
+ invalidHeight : 'Mae\'n rhaid i uchder y tabl fod yn rhif.',
+ invalidCellSpacing : 'Mae\'n rhaid i fylchiad y gell fod yn rhif.',
+ invalidCellPadding : 'Mae\'n rhaid i badiad y gell fod yn rhif.',
+
+ cell :
+ {
+ menu : 'Cell',
+ insertBefore : 'Mewnosod Cell Cyn',
+ insertAfter : 'Mewnosod Cell Ar Ãl',
+ deleteCell : 'Dileu Celloedd',
+ merge : 'Cyfuno Celloedd',
+ mergeRight : 'Cyfuno i\'r Dde',
+ mergeDown : 'Cyfuno i Lawr',
+ splitHorizontal : 'Hollti\'r Gell yn Lorweddol',
+ splitVertical : 'Hollti\'r Gell yn Fertigol',
+ title : 'Priodweddau\'r Gell',
+ cellType : 'Math y Gell',
+ rowSpan : 'Rhychwant Rhesi',
+ colSpan : 'Rhychwant Colofnau',
+ wordWrap : 'Lapio Geiriau',
+ hAlign : 'Aliniad Llorweddol',
+ vAlign : 'Aliniad Fertigol',
+ alignTop : 'Top',
+ alignMiddle : 'Canol',
+ alignBottom : 'Gwaelod',
+ alignBaseline : 'Baslinell',
+ bgColor : 'Lliw Cefndir',
+ borderColor : 'Lliw Ymyl',
+ data : 'Data',
+ header : 'Pennyn',
+ yes : 'Ie',
+ no : 'Na',
+ invalidWidth : 'Mae\'n rhaid i led y gell fod yn rhif.',
+ invalidHeight : 'Mae\'n rhaid i uchder y gell fod yn rhif.',
+ invalidRowSpan : 'Mae\'n rhaid i rychwant y rhesi fod yn gyfanrif.',
+ invalidColSpan : 'Mae\'n rhaid i rychwant y colofnau fod yn gyfanrif.',
+ chooseColor : 'Choose'
+ },
+
+ row :
+ {
+ menu : 'Rhes',
+ insertBefore : 'Mewnosod Rhes Cyn',
+ insertAfter : 'Mewnosod Rhes Ar Ãl',
+ deleteRow : 'Dileu Rhesi'
+ },
+
+ column :
+ {
+ menu : 'Colofn',
+ insertBefore : 'Mewnosod Colofn Cyn',
+ insertAfter : 'Mewnosod Colofn Ar Ãl',
+ deleteColumn : 'Dileu Colofnau'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Priodweddau Botymau',
+ text : 'Testun (Gwerth)',
+ type : 'Math',
+ typeBtn : 'Botwm',
+ typeSbm : 'Gyrru',
+ typeRst : 'Ailosod'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Priodweddau Blwch Ticio',
+ radioTitle : 'Priodweddau Botwm Radio',
+ value : 'Gwerth',
+ selected : 'Dewiswyd'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Priodweddau Ffurflen',
+ menu : 'Priodweddau Ffurflen',
+ action : 'Gweithred',
+ method : 'Dull',
+ encoding : 'Amgodio'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Priodweddau Maes Dewis',
+ selectInfo : 'Gwyb Dewis',
+ opAvail : 'Opsiynau ar Gael',
+ value : 'Gwerth',
+ size : 'Maint',
+ lines : 'llinellau',
+ chkMulti : 'Caniatà u aml-ddewisiadau',
+ opText : 'Testun',
+ opValue : 'Gwerth',
+ btnAdd : 'Ychwanegu',
+ btnModify : 'Newid',
+ btnUp : 'Lan',
+ btnDown : 'Lawr',
+ btnSetValue : 'Gosod fel gwerth a ddewiswyd',
+ btnDelete : 'Dileu'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Priodweddau Ardal Testun',
+ cols : 'Colofnau',
+ rows : 'Rhesi'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Priodweddau Maes Testun',
+ name : 'Enw',
+ value : 'Gwerth',
+ charWidth : 'Lled Nod',
+ maxChars : 'Uchafswm y Nodau',
+ type : 'Math',
+ typeText : 'Testun',
+ typePass : 'Cyfrinair'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Priodweddau Maes Cudd',
+ name : 'Enw',
+ value : 'Gwerth'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Priodweddau Delwedd',
+ titleButton : 'Priodweddau Botwm Delwedd',
+ menu : 'Priodweddau Delwedd',
+ infoTab : 'Gwyb Delwedd',
+ btnUpload : 'Anfon i\'r Gweinydd',
+ upload : 'lanlwytho',
+ alt : 'Testun Amgen',
+ width : 'Lled',
+ height : 'Uchder',
+ lockRatio : 'Cloi Cymhareb',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Ailosod Maint',
+ border : 'Ymyl',
+ hSpace : 'BwlchLl',
+ vSpace : 'BwlchF',
+ align : 'Alinio',
+ alignLeft : 'Chwith',
+ alignRight : 'Dde',
+ alertUrl : 'Rhowch URL y ddelwedd',
+ linkTab : 'Dolen',
+ button2Img : 'Ydych am drawsffurfio\'r botwm ddelwedd hwn ar ddelwedd syml?',
+ img2Button : 'Ydych am drawsffurfio\'r ddelwedd hon ar fotwm delwedd?',
+ urlMissing : 'URL tarddle\'r ddelwedd ar goll.',
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Priodweddau Flash',
+ propertiesTab : 'Priodweddau',
+ title : 'Priodweddau Flash',
+ chkPlay : 'AwtoChwarae',
+ chkLoop : 'Lwpio',
+ chkMenu : 'Galluogi Dewislen Flash',
+ chkFull : 'Caniatà u Sgrin Llawn',
+ scale : 'Graddfa',
+ scaleAll : 'Dangos pob',
+ scaleNoBorder : 'Dim Ymyl',
+ scaleFit : 'Ffit Union',
+ access : 'Mynediad Sgript',
+ accessAlways : 'Pob amser',
+ accessSameDomain: 'R\'un parth',
+ accessNever : 'Byth',
+ align : 'Alinio',
+ alignLeft : 'Chwith',
+ alignAbsBottom : 'Gwaelod Abs',
+ alignAbsMiddle : 'Canol Abs',
+ alignBaseline : 'Baslinell',
+ alignBottom : 'Gwaelod',
+ alignMiddle : 'Canol',
+ alignRight : 'Dde',
+ alignTextTop : 'Testun Top',
+ alignTop : 'Top',
+ quality : 'Ansawdd',
+ qualityBest : 'Gorau',
+ qualityHigh : 'Uchel',
+ qualityAutoHigh : 'Uchel Awto',
+ qualityMedium : 'Canolig',
+ qualityAutoLow : 'Isel Awto',
+ qualityLow : 'Isel',
+ windowModeWindow: 'Ffenestr',
+ windowModeOpaque: 'Afloyw',
+ windowModeTransparent : 'Tryloyw',
+ windowMode : 'Modd ffenestr',
+ flashvars : 'Newidynnau ar gyfer Flash',
+ bgcolor : 'Lliw cefndir',
+ width : 'Lled',
+ height : 'Uchder',
+ hSpace : 'BwlchLl',
+ vSpace : 'BwlchF',
+ validateSrc : 'Ni all yr URL fod yn wag.',
+ validateWidth : 'Rhaid i\'r Lled fod yn rhif.',
+ validateHeight : 'Rhaid i\'r Uchder fod yn rhif.',
+ validateHSpace : 'Rhaid i\'r BwlchLl fod yn rhif.',
+ validateVSpace : 'Rhaid i\'r BwlchF fod yn rhif.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Gwirio Sillafu',
+ title : 'Gwirio Sillafu',
+ notAvailable : 'Nid yw\'r gwasanaeth hwn ar gael yn bresennol.',
+ errorLoading : 'Error loading application service host: %s.',
+ notInDic : 'Nid i\'w gael yn y geiriadur',
+ changeTo : 'Newid i',
+ btnIgnore : 'Anwybyddu Un',
+ btnIgnoreAll : 'Anwybyddu Pob',
+ btnReplace : 'Amnewid Un',
+ btnReplaceAll : 'Amnewid Pob',
+ btnUndo : 'Dadwneud',
+ noSuggestions : '- Dim awgrymiadau -',
+ progress : 'Gwirio sillafu yn ar y gweill...',
+ noMispell : 'Gwirio sillafu wedi gorffen: Dim camsillaf.',
+ noChanges : 'Gwirio sillafu wedi gorffen: Dim newidiadau',
+ oneChange : 'Gwirio sillafu wedi gorffen: Newidiwyd 1 gair',
+ manyChanges : 'Gwirio sillafu wedi gorffen: Newidiwyd %1 gair',
+ ieSpellDownload : 'Gwirydd sillafu heb ei arsefydlu. A ydych am ei lawrlwytho nawr?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Gwenoglun',
+ title : 'Mewnosod Gwenoglun',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : 'Elfen %1'
+ },
+
+ numberedlist : 'Mewnosod/Tynnu Rhestr Rhifol',
+ bulletedlist : 'Mewnosod/Tynnu Rhestr Bwled',
+ indent : 'Cynyddu\'r Mewnoliad',
+ outdent : 'Lleihau\'r Mewnoliad',
+
+ justify :
+ {
+ left : 'Alinio i\'r Chwith',
+ center : 'Alinio i\'r Canol',
+ right : 'Alinio i\'r Dde',
+ block : 'Aliniad Bloc'
+ },
+
+ blockquote : 'Dyfyniad bloc',
+
+ clipboard :
+ {
+ title : 'Gludo',
+ cutError : 'Nid yw gosodiadau diogelwch eich porwr yn caniatà u\'r golygydd i gynnal \'gweithredoedd torri\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+X).',
+ copyError : 'Nid yw gosodiadau diogelwch eich porwr yn caniatà u\'r golygydd i gynnal \'gweithredoedd copïo\' yn awtomatig. Defnyddiwch y bysellfwrdd (Ctrl/Cmd+C).',
+ pasteMsg : 'Gludwch i mewn i\'r blwch canlynol gan ddefnyddio\'r bysellfwrdd (<strong>Ctrl/Cmd+V</strong>) a phwyso <strong>Iawn</strong>.',
+ securityMsg : 'Oherwydd gosodiadau diogelwch eich porwr, nid yw\'r porwr yn gallu ennill mynediad i\'r data ar y clipfwrdd yn uniongyrchol. Mae angen i chi ei ludo eto i\'r ffenestr hon.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Gludo o Word',
+ title : 'Gludo o Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Gludo fel testun plaen',
+ title : 'Gludo fel Testun Plaen'
+ },
+
+ templates :
+ {
+ button : 'Templedi',
+ title : 'Templedi Cynnwys',
+ options : 'Template Options', // MISSING
+ insertOption : 'Amnewid y cynnwys go iawn',
+ selectPromptMsg : 'Dewiswch dempled i\'w agor yn y golygydd',
+ emptyListMsg : '(Dim templedi wedi\'u diffinio)'
+ },
+
+ showBlocks : 'Dangos Blociau',
+
+ stylesCombo :
+ {
+ label : 'Arddulliau',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Arddulliau Bloc',
+ panelTitle2 : 'Arddulliau Mewnol',
+ panelTitle3 : 'Arddulliau Gwrthrych'
+ },
+
+ format :
+ {
+ label : 'Fformat',
+ panelTitle : 'Fformat Paragraff',
+
+ tag_p : 'Normal',
+ tag_pre : 'Wedi\'i Fformatio',
+ tag_address : 'Cyfeiriad',
+ tag_h1 : 'Pennawd 1',
+ tag_h2 : 'Pennawd 2',
+ tag_h3 : 'Pennawd 3',
+ tag_h4 : 'Pennawd 4',
+ tag_h5 : 'Pennawd 5',
+ tag_h6 : 'Pennawd 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Ffont',
+ voiceLabel : 'Ffont',
+ panelTitle : 'Enw\'r Ffont'
+ },
+
+ fontSize :
+ {
+ label : 'Maint',
+ voiceLabel : 'Maint y Ffont',
+ panelTitle : 'Maint y Ffont'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Lliw Testun',
+ bgColorTitle : 'Lliw Cefndir',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Awtomatig',
+ more : 'Mwy o Liwiau...'
+ },
+
+ colors :
+ {
+ '000' : 'Du',
+ '800000' : 'Marwn',
+ '8B4513' : 'Brown Cyfrwy',
+ '2F4F4F' : 'Llechen Tywyll',
+ '008080' : 'Corhwyad',
+ '000080' : 'Nefi',
+ '4B0082' : 'Indigo',
+ '696969' : 'Llwyd Pwl',
+ 'B22222' : 'Bric Tân',
+ 'A52A2A' : 'Brown',
+ 'DAA520' : 'Rhoden Aur',
+ '006400' : 'Gwyrdd Tywyll',
+ '40E0D0' : 'Gwyrddlas',
+ '0000CD' : 'Glas Canolig',
+ '800080' : 'Porffor',
+ '808080' : 'Llwyd',
+ 'F00' : 'Coch',
+ 'FF8C00' : 'Oren Tywyll',
+ 'FFD700' : 'Aur',
+ '008000' : 'Gwyrdd',
+ '0FF' : 'Cyan',
+ '00F' : 'Glas',
+ 'EE82EE' : 'Fioled',
+ 'A9A9A9' : 'Llwyd Tywyll',
+ 'FFA07A' : 'Samwn Golau',
+ 'FFA500' : 'Oren',
+ 'FFFF00' : 'Melyn',
+ '00FF00' : 'Leim',
+ 'AFEEEE' : 'Gwyrddlas Golau',
+ 'ADD8E6' : 'Glas Golau',
+ 'DDA0DD' : 'Eirinen',
+ 'D3D3D3' : 'Llwyd Golau',
+ 'FFF0F5' : 'Gwrid Lafant',
+ 'FAEBD7' : 'Gwyn Hynafol',
+ 'FFFFE0' : 'Melyn Golau',
+ 'F0FFF0' : 'Melwn Gwyrdd Golau',
+ 'F0FFFF' : 'Aswr',
+ 'F0F8FF' : 'Glas Alys',
+ 'E6E6FA' : 'Lafant',
+ 'FFF' : 'Gwyn'
+ },
+
+ scayt :
+ {
+ title : 'Gwirio\'r Sillafu Wrth Deipio',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Galluogi SCAYT',
+ disable : 'Analluogi SCAYT',
+ about : 'Ynghylch SCAYT',
+ toggle : 'Togl SCAYT',
+ options : 'Opsiynau',
+ langs : 'Ieithoedd',
+ moreSuggestions : 'Awgrymiadau pellach',
+ ignore : 'Anwybyddu',
+ ignoreAll : 'Anwybyddu pob',
+ addWord : 'Ychwanegu Gair',
+ emptyDic : 'Ni ddylai enw\'r geiriadur fod yn wag.',
+
+ optionsTab : 'Opsiynau',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Ieithoedd',
+
+ dictionariesTab : 'Geiriaduron',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Ynghylch'
+ },
+
+ about :
+ {
+ title : 'Ynghylch CKEditor',
+ dlgTitle : 'Ynghylch CKEditor',
+ moreInfo : 'Am wybodaeth ynghylch trwyddedau, ewch i\'n gwefan:',
+ copy : 'Hawlfraint © $1. Cedwir pob hawl.'
+ },
+
+ maximize : 'Mwyhau',
+ minimize : 'Lleihau',
+
+ fakeobjects :
+ {
+ anchor : 'Angor',
+ flash : 'Animeiddiant Flash',
+ div : 'Toriad Tudalen',
+ unknown : 'Gwrthrych Anhysbys'
+ },
+
+ resize : 'Llusgo i ailfeintio',
+
+ colordialog :
+ {
+ title : 'Dewis lliw',
+ options : 'Color Options', // MISSING
+ highlight : 'Uwcholeuo',
+ selected : 'Dewiswyd',
+ clear : 'Clirio'
+ },
+
+ toolbarCollapse : 'Cyfangu\'r Bar Offer',
+ toolbarExpand : 'Ehangu\'r Bar Offer',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/da.js b/devel/third-party/ckeditor/lang/da.js
new file mode 100644
index 0000000..f0789bf
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/da.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Danish language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['da'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Kilde',
+ newPage : 'Ny side',
+ save : 'Gem',
+ preview : 'Vis eksempel',
+ cut : 'Klip',
+ copy : 'Kopiér',
+ paste : 'Indsæt',
+ print : 'Udskriv',
+ underline : 'Understreget',
+ bold : 'Fed',
+ italic : 'Kursiv',
+ selectAll : 'Vælg alt',
+ removeFormat : 'Fjern formatering',
+ strike : 'Gennemstreget',
+ subscript : 'Sænket skrift',
+ superscript : 'Hævet skrift',
+ horizontalrule : 'Indsæt vandret streg',
+ pagebreak : 'Indsæt sideskift',
+ unlink : 'Fjern hyperlink',
+ undo : 'Fortryd',
+ redo : 'Annullér fortryd',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Gennemse...',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Upload',
+ uploadSubmit : 'Upload',
+ image : 'Indsæt billede',
+ flash : 'Indsæt Flash',
+ form : 'Indsæt formular',
+ checkbox : 'Indsæt afkrydsningsfelt',
+ radio : 'Indsæt alternativknap',
+ textField : 'Indsæt tekstfelt',
+ textarea : 'Indsæt tekstboks',
+ hiddenField : 'Indsæt skjult felt',
+ button : 'Indsæt knap',
+ select : 'Indsæt liste',
+ imageButton : 'Indsæt billedknap',
+ notSet : '<intet valgt>',
+ id : 'Id',
+ name : 'Navn',
+ langDir : 'Tekstretning',
+ langDirLtr : 'Fra venstre mod højre (LTR)',
+ langDirRtl : 'Fra højre mod venstre (RTL)',
+ langCode : 'Sprogkode',
+ longDescr : 'Udvidet beskrivelse',
+ cssClass : 'Typografiark (CSS)',
+ advisoryTitle : 'Titel',
+ cssStyle : 'Typografi (CSS)',
+ ok : 'OK',
+ cancel : 'Annullér',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Generelt',
+ advancedTab : 'Avanceret',
+ validateNumberFailed : 'Værdien er ikke et tal.',
+ confirmNewPage : 'Alt indhold, der ikke er blevet gemt, vil gå tabt. Er du sikker på, at du vil indlæse en ny side?',
+ confirmCancel : 'Nogle af indstillingerne er blevet ændret. Er du sikker på, at du vil lukke vinduet?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, ikke tilgængelig</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Indsæt symbol',
+ title : 'Vælg symbol',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Indsæt/redigér hyperlink',
+ other : '<anden>',
+ menu : 'Redigér hyperlink',
+ title : 'Egenskaber for hyperlink',
+ info : 'Generelt',
+ target : 'MÃ¥l',
+ upload : 'Upload',
+ advanced : 'Avanceret',
+ type : 'Type',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Bogmærke på denne side',
+ toEmail : 'E-mail',
+ targetFrame : '<ramme>',
+ targetPopup : '<popup vindue>',
+ targetFrameName : 'Destinationsvinduets navn',
+ targetPopupName : 'Popup vinduets navn',
+ popupFeatures : 'Egenskaber for popup',
+ popupResizable : 'Justérbar',
+ popupStatusBar : 'Statuslinje',
+ popupLocationBar: 'Adresselinje',
+ popupToolbar : 'Værktøjslinje',
+ popupMenuBar : 'Menulinje',
+ popupFullScreen : 'Fuld skærm (IE)',
+ popupScrollBars : 'Scrollbar',
+ popupDependent : 'Koblet/dependent (Netscape)',
+ popupWidth : 'Bredde',
+ popupLeft : 'Position fra venstre',
+ popupHeight : 'Højde',
+ popupTop : 'Position fra toppen',
+ id : 'Id',
+ langDir : 'Tekstretning',
+ langDirLTR : 'Fra venstre mod højre (LTR)',
+ langDirRTL : 'Fra højre mod venstre (RTL)',
+ acccessKey : 'Genvejstast',
+ name : 'Navn',
+ langCode : 'Tekstretning',
+ tabIndex : 'Tabulator indeks',
+ advisoryTitle : 'Titel',
+ advisoryContentType : 'Indholdstype',
+ cssClasses : 'Typografiark',
+ charset : 'Tegnsæt',
+ styles : 'Typografi',
+ selectAnchor : 'Vælg et anker',
+ anchorName : 'Efter anker navn',
+ anchorId : 'Efter element Id',
+ emailAddress : 'E-mail adresse',
+ emailSubject : 'Emne',
+ emailBody : 'Besked',
+ noAnchors : '(Ingen bogmærker i dokumentet)',
+ noUrl : 'Indtast hyperlink URL!',
+ noEmail : 'Indtast e-mail adresse!'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Indsæt/redigér bogmærke',
+ menu : 'Egenskaber for bogmærke',
+ title : 'Egenskaber for bogmærke',
+ name : 'Bogmærke navn',
+ errorName : 'Indtast bogmærke navn'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Søg og erstat',
+ find : 'Søg',
+ replace : 'Erstat',
+ findWhat : 'Søg efter:',
+ replaceWith : 'Erstat med:',
+ notFoundMsg : 'Søgeteksten blev ikke fundet',
+ matchCase : 'Forskel på store og små bogstaver',
+ matchWord : 'Kun hele ord',
+ matchCyclic : 'Match cyklisk',
+ replaceAll : 'Erstat alle',
+ replaceSuccessMsg : '%1 forekomst(er) erstattet.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabel',
+ title : 'Egenskaber for tabel',
+ menu : 'Egenskaber for tabel',
+ deleteTable : 'Slet tabel',
+ rows : 'Rækker',
+ columns : 'Kolonner',
+ border : 'Rammebredde',
+ align : 'Justering',
+ alignLeft : 'Venstrestillet',
+ alignCenter : 'Centreret',
+ alignRight : 'Højrestillet',
+ width : 'Bredde',
+ widthPx : 'pixels',
+ widthPc : 'procent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Højde',
+ cellSpace : 'Celleafstand',
+ cellPad : 'Cellemargen',
+ caption : 'Titel',
+ summary : 'Resumé',
+ headers : 'Header',
+ headersNone : 'Ingen',
+ headersColumn : 'Første kolonne',
+ headersRow : 'Første række',
+ headersBoth : 'Begge',
+ invalidRows : 'Antallet af rækker skal være større end 0.',
+ invalidCols : 'Antallet af kolonner skal være større end 0.',
+ invalidBorder : 'Rammetykkelse skal være et tal.',
+ invalidWidth : 'Tabelbredde skal være et tal.',
+ invalidHeight : 'Tabelhøjde skal være et tal.',
+ invalidCellSpacing : 'Celleafstand skal være et tal.',
+ invalidCellPadding : 'Cellemargen skal være et tal.',
+
+ cell :
+ {
+ menu : 'Celle',
+ insertBefore : 'Indsæt celle før',
+ insertAfter : 'Indsæt celle efter',
+ deleteCell : 'Slet celle',
+ merge : 'Flet celler',
+ mergeRight : 'Flet til højre',
+ mergeDown : 'Flet nedad',
+ splitHorizontal : 'Del celle vandret',
+ splitVertical : 'Del celle lodret',
+ title : 'Celleegenskaber',
+ cellType : 'Celletype',
+ rowSpan : 'Række span (rows span)',
+ colSpan : 'Kolonne span (columns span)',
+ wordWrap : 'Tekstombrydning',
+ hAlign : 'Vandret justering',
+ vAlign : 'Lodret justering',
+ alignTop : 'Top',
+ alignMiddle : 'Midt',
+ alignBottom : 'Bund',
+ alignBaseline : 'Grundlinje',
+ bgColor : 'Baggrundsfarve',
+ borderColor : 'Rammefarve',
+ data : 'Data',
+ header : 'Header',
+ yes : 'Ja',
+ no : 'Nej',
+ invalidWidth : 'Cellebredde skal være et tal.',
+ invalidHeight : 'Cellehøjde skal være et tal.',
+ invalidRowSpan : 'Række span skal være et heltal.',
+ invalidColSpan : 'Kolonne span skal være et heltal.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Række',
+ insertBefore : 'Indsæt række før',
+ insertAfter : 'Indsæt række efter',
+ deleteRow : 'Slet række'
+ },
+
+ column :
+ {
+ menu : 'Kolonne',
+ insertBefore : 'Indsæt kolonne før',
+ insertAfter : 'Indsæt kolonne efter',
+ deleteColumn : 'Slet kolonne'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Egenskaber for knap',
+ text : 'Tekst',
+ type : 'Type',
+ typeBtn : 'Knap',
+ typeSbm : 'Send',
+ typeRst : 'Nulstil'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Egenskaber for afkrydsningsfelt',
+ radioTitle : 'Egenskaber for alternativknap',
+ value : 'Værdi',
+ selected : 'Valgt'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Egenskaber for formular',
+ menu : 'Egenskaber for formular',
+ action : 'Handling',
+ method : 'Metode',
+ encoding : 'Kodning (encoding)'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Egenskaber for liste',
+ selectInfo : 'Generelt',
+ opAvail : 'Valgmuligheder',
+ value : 'Værdi',
+ size : 'Størrelse',
+ lines : 'Linjer',
+ chkMulti : 'Tillad flere valg',
+ opText : 'Tekst',
+ opValue : 'Værdi',
+ btnAdd : 'Tilføj',
+ btnModify : 'Redigér',
+ btnUp : 'Op',
+ btnDown : 'Ned',
+ btnSetValue : 'Sæt som valgt',
+ btnDelete : 'Slet'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Egenskaber for tekstboks',
+ cols : 'Kolonner',
+ rows : 'Rækker'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Egenskaber for tekstfelt',
+ name : 'Navn',
+ value : 'Værdi',
+ charWidth : 'Bredde (tegn)',
+ maxChars : 'Max. antal tegn',
+ type : 'Type',
+ typeText : 'Tekst',
+ typePass : 'Adgangskode'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Egenskaber for skjult felt',
+ name : 'Navn',
+ value : 'Værdi'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Egenskaber for billede',
+ titleButton : 'Egenskaber for billedknap',
+ menu : 'Egenskaber for billede',
+ infoTab : 'Generelt',
+ btnUpload : 'Upload',
+ upload : 'Upload',
+ alt : 'Alternativ tekst',
+ width : 'Bredde',
+ height : 'Højde',
+ lockRatio : 'Lås størrelsesforhold',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Nulstil størrelse',
+ border : 'Ramme',
+ hSpace : 'Vandret margen',
+ vSpace : 'Lodret margen',
+ align : 'Justering',
+ alignLeft : 'Venstre',
+ alignRight : 'Højre',
+ alertUrl : 'Indtast stien til billedet',
+ linkTab : 'Hyperlink',
+ button2Img : 'Vil du lave billedknappen om til et almindeligt billede?',
+ img2Button : 'Vil du lave billedet om til en billedknap?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Egenskaber for Flash',
+ propertiesTab : 'Egenskaber',
+ title : 'Egenskaber for Flash',
+ chkPlay : 'Automatisk afspilning',
+ chkLoop : 'Gentagelse',
+ chkMenu : 'Vis Flash menu',
+ chkFull : 'Tillad fuldskærm',
+ scale : 'Skalér',
+ scaleAll : 'Vis alt',
+ scaleNoBorder : 'Ingen ramme',
+ scaleFit : 'Tilpas størrelse',
+ access : 'Script adgang',
+ accessAlways : 'Altid',
+ accessSameDomain: 'Samme domæne',
+ accessNever : 'Aldrig',
+ align : 'Justering',
+ alignLeft : 'Venstre',
+ alignAbsBottom : 'Absolut nederst',
+ alignAbsMiddle : 'Absolut centreret',
+ alignBaseline : 'Grundlinje',
+ alignBottom : 'Nederst',
+ alignMiddle : 'Centreret',
+ alignRight : 'Højre',
+ alignTextTop : 'Toppen af teksten',
+ alignTop : 'Ãverst',
+ quality : 'Kvalitet',
+ qualityBest : 'Bedste',
+ qualityHigh : 'Høj',
+ qualityAutoHigh : 'Auto høj',
+ qualityMedium : 'Medium',
+ qualityAutoLow : 'Auto lav',
+ qualityLow : 'Lav',
+ windowModeWindow: 'Vindue',
+ windowModeOpaque: 'Gennemsigtig (opaque)',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Vinduestilstand',
+ flashvars : 'Variabler for Flash',
+ bgcolor : 'Baggrundsfarve',
+ width : 'Bredde',
+ height : 'Højde',
+ hSpace : 'Vandret margen',
+ vSpace : 'Lodret margen',
+ validateSrc : 'Indtast hyperlink URL!',
+ validateWidth : 'Bredde skal være et tal.',
+ validateHeight : 'Højde skal være et tal.',
+ validateHSpace : 'Vandret margen skal være et tal.',
+ validateVSpace : 'Lodret margen skal være et tal.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Stavekontrol',
+ title : 'Stavekontrol',
+ notAvailable : 'Stavekontrol er desværre ikke tilgængelig.',
+ errorLoading : 'Fejl ved indlæsning af host: %s.',
+ notInDic : 'Ikke i ordbogen',
+ changeTo : 'Forslag',
+ btnIgnore : 'Ignorér',
+ btnIgnoreAll : 'Ignorér alle',
+ btnReplace : 'Erstat',
+ btnReplaceAll : 'Erstat alle',
+ btnUndo : 'Tilbage',
+ noSuggestions : '(ingen forslag)',
+ progress : 'Stavekontrollen arbejder...',
+ noMispell : 'Stavekontrol færdig: Ingen fejl fundet',
+ noChanges : 'Stavekontrol færdig: Ingen ord ændret',
+ oneChange : 'Stavekontrol færdig: Et ord ændret',
+ manyChanges : 'Stavekontrol færdig: %1 ord ændret',
+ ieSpellDownload : 'Stavekontrol ikke installeret. Vil du installere den nu?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Vælg smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Talopstilling',
+ bulletedlist : 'Punktopstilling',
+ indent : 'Forøg indrykning',
+ outdent : 'Formindsk indrykning',
+
+ justify :
+ {
+ left : 'Venstrestillet',
+ center : 'Centreret',
+ right : 'Højrestillet',
+ block : 'Lige margener'
+ },
+
+ blockquote : 'Blokcitat',
+
+ clipboard :
+ {
+ title : 'Indsæt',
+ cutError : 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.<br><br>Brug i stedet tastaturet til at klippe teksten (Ctrl/Cmd+X).',
+ copyError : 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.<br><br>Brug i stedet tastaturet til at kopiere teksten (Ctrl/Cmd+C).',
+ pasteMsg : 'Indsæt i feltet herunder (<STRONG>Ctrl/Cmd+V</STRONG>) og klik på <STRONG>OK</STRONG>.',
+ securityMsg : 'Din browsers sikkerhedsindstillinger tillader ikke editoren at få automatisk adgang til udklipsholderen.<br><br>Du skal indsætte udklipsholderens indhold i dette vindue igen.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Den tekst du forsøger at indsætte ser ud til at komme fra Word. Vil du rense teksten før den indsættes?',
+ toolbar : 'Indsæt fra Word',
+ title : 'Indsæt fra Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Indsæt som ikke-formateret tekst',
+ title : 'Indsæt som ikke-formateret tekst'
+ },
+
+ templates :
+ {
+ button : 'Skabeloner',
+ title : 'Indholdsskabeloner',
+ options : 'Template Options', // MISSING
+ insertOption : 'Erstat det faktiske indhold',
+ selectPromptMsg : 'Vælg den skabelon, som skal åbnes i editoren (nuværende indhold vil blive overskrevet):',
+ emptyListMsg : '(Der er ikke defineret nogen skabelon)'
+ },
+
+ showBlocks : 'Vis afsnitsmærker',
+
+ stylesCombo :
+ {
+ label : 'Typografi',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block typografi',
+ panelTitle2 : 'Inline typografi',
+ panelTitle3 : 'Object typografi'
+ },
+
+ format :
+ {
+ label : 'Formatering',
+ panelTitle : 'Formatering',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formateret',
+ tag_address : 'Adresse',
+ tag_h1 : 'Overskrift 1',
+ tag_h2 : 'Overskrift 2',
+ tag_h3 : 'Overskrift 3',
+ tag_h4 : 'Overskrift 4',
+ tag_h5 : 'Overskrift 5',
+ tag_h6 : 'Overskrift 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Skrifttype',
+ voiceLabel : 'Skrifttype',
+ panelTitle : 'Skrifttype'
+ },
+
+ fontSize :
+ {
+ label : 'Skriftstørrelse',
+ voiceLabel : 'Skriftstørrelse',
+ panelTitle : 'Skriftstørrelse'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Tekstfarve',
+ bgColorTitle : 'Baggrundsfarve',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatisk',
+ more : 'Flere farver...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Stavekontrol mens du skriver',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Aktivér SCAYT',
+ disable : 'Deaktivér SCAYT',
+ about : 'Om SCAYT',
+ toggle : 'Skift/toggle SCAYT',
+ options : 'Indstillinger',
+ langs : 'Sprog',
+ moreSuggestions : 'Flere forslag',
+ ignore : 'Ignorér',
+ ignoreAll : 'Ignorér alle',
+ addWord : 'Tilføj ord',
+ emptyDic : 'Ordbogsnavn må ikke være tom.',
+
+ optionsTab : 'Indstillinger',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Sprog',
+
+ dictionariesTab : 'Ordbøger',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Om'
+ },
+
+ about :
+ {
+ title : 'Om CKEditor',
+ dlgTitle : 'Om CKEditor',
+ moreInfo : 'For informationer omkring licens, se venligst vores hjemmeside (på engelsk):',
+ copy : 'Copyright © $1. Alle rettigheder forbeholdes.'
+ },
+
+ maximize : 'Maximér',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anker',
+ flash : 'Flashanimation',
+ div : 'Sideskift',
+ unknown : 'Ukendt objekt'
+ },
+
+ resize : 'Træk for at skalere',
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/de.js b/devel/third-party/ckeditor/lang/de.js
new file mode 100644
index 0000000..2d09650
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/de.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * German language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['de'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Quellcode',
+ newPage : 'Neue Seite',
+ save : 'Speichern',
+ preview : 'Vorschau',
+ cut : 'Ausschneiden',
+ copy : 'Kopieren',
+ paste : 'Einfügen',
+ print : 'Drucken',
+ underline : 'Unterstrichen',
+ bold : 'Fett',
+ italic : 'Kursiv',
+ selectAll : 'Alles auswählen',
+ removeFormat : 'Formatierungen entfernen',
+ strike : 'Durchgestrichen',
+ subscript : 'Tiefgestellt',
+ superscript : 'Hochgestellt',
+ horizontalrule : 'Horizontale Linie einfügen',
+ pagebreak : 'Seitenumbruch einfügen',
+ unlink : 'Link entfernen',
+ undo : 'Rückgängig',
+ redo : 'Wiederherstellen',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Server durchsuchen',
+ url : 'URL',
+ protocol : 'Protokoll',
+ upload : 'Upload',
+ uploadSubmit : 'Zum Server senden',
+ image : 'Bild',
+ flash : 'Flash',
+ form : 'Formular',
+ checkbox : 'Checkbox',
+ radio : 'Radiobutton',
+ textField : 'Textfeld einzeilig',
+ textarea : 'Textfeld mehrzeilig',
+ hiddenField : 'verstecktes Feld',
+ button : 'Klickbutton',
+ select : 'Auswahlfeld',
+ imageButton : 'Bildbutton',
+ notSet : '<nichts>',
+ id : 'ID',
+ name : 'Name',
+ langDir : 'Schreibrichtung',
+ langDirLtr : 'Links nach Rechts (LTR)',
+ langDirRtl : 'Rechts nach Links (RTL)',
+ langCode : 'Sprachenkürzel',
+ longDescr : 'Langform URL',
+ cssClass : 'Stylesheet Klasse',
+ advisoryTitle : 'Titel Beschreibung',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Abbrechen',
+ close : 'SchlieÃen',
+ preview : 'Vorschau',
+ generalTab : 'Allgemein',
+ advancedTab : 'Erweitert',
+ validateNumberFailed : 'Dieser Wert ist keine Nummer.',
+ confirmNewPage : 'Alle nicht gespeicherten Ãnderungen gehen verlohren. Sind sie sicher die neue Seite zu laden?',
+ confirmCancel : 'Einige Optionen wurden geändert. Wollen Sie den Dialog dennoch schlieÃen?',
+ options : 'Optionen',
+ target : 'Zielseite',
+ targetNew : 'Neues Fenster (_blank)',
+ targetTop : 'Oberstes Fenster (_top)',
+ targetSelf : 'Gleiches Fenster (_self)',
+ targetParent : 'Oberes Fenster (_parent)',
+ langDirLTR : 'Links nach Rechts (LNR)',
+ langDirRTL : 'Rechts nach Links (RNL)',
+ styles : 'Style',
+ cssClasses : 'Stylesheet Klasse',
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, nicht verfügbar</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Optionen'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Sonderzeichen einfügen/editieren',
+ title : 'Sonderzeichen auswählen',
+ options : 'Sonderzeichen Optionen'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Link einfügen/editieren',
+ other : '<andere>',
+ menu : 'Link editieren',
+ title : 'Link',
+ info : 'Link-Info',
+ target : 'Zielseite',
+ upload : 'Upload',
+ advanced : 'Erweitert',
+ type : 'Link-Typ',
+ toUrl : 'URL',
+ toAnchor : 'Anker in dieser Seite',
+ toEmail : 'E-Mail',
+ targetFrame : '<Frame>',
+ targetPopup : '<Pop-up Fenster>',
+ targetFrameName : 'Ziel-Fenster-Name',
+ targetPopupName : 'Pop-up Fenster-Name',
+ popupFeatures : 'Pop-up Fenster-Eigenschaften',
+ popupResizable : 'GröÃe änderbar',
+ popupStatusBar : 'Statusleiste',
+ popupLocationBar: 'Adress-Leiste',
+ popupToolbar : 'Werkzeugleiste',
+ popupMenuBar : 'Menü-Leiste',
+ popupFullScreen : 'Vollbild (IE)',
+ popupScrollBars : 'Rollbalken',
+ popupDependent : 'Abhängig (Netscape)',
+ popupWidth : 'Breite',
+ popupLeft : 'Linke Position',
+ popupHeight : 'Höhe',
+ popupTop : 'Obere Position',
+ id : 'Id',
+ langDir : 'Schreibrichtung',
+ langDirLTR : 'Links nach Rechts (LTR)',
+ langDirRTL : 'Rechts nach Links (RTL)',
+ acccessKey : 'Zugriffstaste',
+ name : 'Name',
+ langCode : 'Schreibrichtung',
+ tabIndex : 'Tab-Index',
+ advisoryTitle : 'Titel Beschreibung',
+ advisoryContentType : 'Inhaltstyp',
+ cssClasses : 'Stylesheet Klasse',
+ charset : 'Ziel-Zeichensatz',
+ styles : 'Style',
+ selectAnchor : 'Anker auswählen',
+ anchorName : 'nach Anker Name',
+ anchorId : 'nach Element Id',
+ emailAddress : 'E-Mail Addresse',
+ emailSubject : 'Betreffzeile',
+ emailBody : 'Nachrichtentext',
+ noAnchors : '(keine Anker im Dokument vorhanden)',
+ noUrl : 'Bitte geben Sie die Link-URL an',
+ noEmail : 'Bitte geben Sie e-Mail Adresse an'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Anker einfügen/editieren',
+ menu : 'Anker-Eigenschaften',
+ title : 'Anker-Eigenschaften',
+ name : 'Anker Name',
+ errorName : 'Bitte geben Sie den Namen des Ankers ein'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Nummerierte Listen-Eigenschaften',
+ bulletedTitle : 'Listen-Eigenschaften',
+ type : 'Typ',
+ start : 'Start',
+ validateStartNumber :'List Startnummer muss eine ganze Zahl sein.',
+ circle : 'Ring',
+ disc : 'Kreis',
+ square : 'Quadrat',
+ none : 'Keine',
+ notset : '<nicht gesetzt>',
+ armenian : 'Armenisch Nummerierung',
+ georgian : 'Georgisch Nummerierung (an, ban, gan, etc.)',
+ lowerRoman : 'Klein römisch (i, ii, iii, iv, v, etc.)',
+ upperRoman : 'Groà römisch (I, II, III, IV, V, etc.)',
+ lowerAlpha : 'Klein alpha (a, b, c, d, e, etc.)',
+ upperAlpha : 'Groà alpha (A, B, C, D, E, etc.)',
+ lowerGreek : 'Klein griechisch (alpha, beta, gamma, etc.)',
+ decimal : 'Dezimal (1, 2, 3, etc.)',
+ decimalLeadingZero : 'Dezimal mit führende Null (01, 02, 03, etc.)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Suchen und Ersetzen',
+ find : 'Suchen',
+ replace : 'Ersetzen',
+ findWhat : 'Suche nach:',
+ replaceWith : 'Ersetze mit:',
+ notFoundMsg : 'Der gesuchte Text wurde nicht gefunden.',
+ matchCase : 'GroÃ-Kleinschreibung beachten',
+ matchWord : 'Nur ganze Worte suchen',
+ matchCyclic : 'zyklische suche',
+ replaceAll : 'Alle Ersetzen',
+ replaceSuccessMsg : '%1 vorkommen ersetzt.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabelle',
+ title : 'Tabellen-Eigenschaften',
+ menu : 'Tabellen-Eigenschaften',
+ deleteTable : 'Tabelle löschen',
+ rows : 'Zeile',
+ columns : 'Spalte',
+ border : 'Rahmen',
+ align : 'Ausrichtung',
+ alignLeft : 'Links',
+ alignCenter : 'Zentriert',
+ alignRight : 'Rechts',
+ width : 'Breite',
+ widthPx : 'Pixel',
+ widthPc : '%',
+ widthUnit : 'Breite Einheit',
+ height : 'Höhe',
+ cellSpace : 'Zellenabstand auÃen',
+ cellPad : 'Zellenabstand innen',
+ caption : 'Ãberschrift',
+ summary : 'Inhaltsübersicht',
+ headers : 'Headers',
+ headersNone : 'Keine',
+ headersColumn : 'Erste Spalte',
+ headersRow : 'Erste Zeile',
+ headersBoth : 'Beide',
+ invalidRows : 'Die Anzahl der Zeilen muà gröÃer als 0 sein.',
+ invalidCols : 'Die Anzahl der Spalten muà gröÃer als 0 sein..',
+ invalidBorder : 'Die Rahmenbreite muà eine Zahl sein.',
+ invalidWidth : 'Die Tabellenbreite muss eine Zahl sein.',
+ invalidHeight : 'Die Tabellenbreite muà eine Zahl sein.',
+ invalidCellSpacing : 'Der Zellenabstand auÃen muà eine Zahl sein.',
+ invalidCellPadding : 'Der Zellenabstand innen muà eine Zahl sein.',
+
+ cell :
+ {
+ menu : 'Zelle',
+ insertBefore : 'Zelle davor einfügen',
+ insertAfter : 'Zelle danach einfügen',
+ deleteCell : 'Zelle löschen',
+ merge : 'Zellen verbinden',
+ mergeRight : 'nach rechts verbinden',
+ mergeDown : 'nach unten verbinden',
+ splitHorizontal : 'Zelle horizontal teilen',
+ splitVertical : 'Zelle vertikal teilen',
+ title : 'Zellen Eigenschaften',
+ cellType : 'Zellart',
+ rowSpan : 'Anzahl Zeilen verbinden',
+ colSpan : 'Anzahl Spalten verbinden',
+ wordWrap : 'Zeilenumbruch',
+ hAlign : 'Horizontale Ausrichtung',
+ vAlign : 'Vertikale Ausrichtung',
+ alignTop : 'Oben',
+ alignMiddle : 'Mitte',
+ alignBottom : 'Unten',
+ alignBaseline : 'Grundlinie',
+ bgColor : 'Hintergrundfarbe',
+ borderColor : 'Rahmenfarbe',
+ data : 'Daten',
+ header : 'Ãberschrift',
+ yes : 'Ja',
+ no : 'Nein',
+ invalidWidth : 'Zellenbreite muà eine Zahl sein.',
+ invalidHeight : 'Zellenhöhe muà eine Zahl sein.',
+ invalidRowSpan : '"Anzahl Zeilen verbinden" muss eine Ganzzahl sein.',
+ invalidColSpan : '"Anzahl Spalten verbinden" muss eine Ganzzahl sein.',
+ chooseColor : 'Wählen'
+ },
+
+ row :
+ {
+ menu : 'Zeile',
+ insertBefore : 'Zeile oberhalb einfügen',
+ insertAfter : 'Zeile unterhalb einfügen',
+ deleteRow : 'Zeile entfernen'
+ },
+
+ column :
+ {
+ menu : 'Spalte',
+ insertBefore : 'Spalte links davor einfügen',
+ insertAfter : 'Spalte rechts danach einfügen',
+ deleteColumn : 'Spalte löschen'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Button-Eigenschaften',
+ text : 'Text (Wert)',
+ type : 'Typ',
+ typeBtn : 'Button',
+ typeSbm : 'Absenden',
+ typeRst : 'Zurücksetzen'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Checkbox-Eigenschaften',
+ radioTitle : 'Optionsfeld-Eigenschaften',
+ value : 'Wert',
+ selected : 'ausgewählt'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Formular-Eigenschaften',
+ menu : 'Formular-Eigenschaften',
+ action : 'Action',
+ method : 'Method',
+ encoding : 'Zeichenkodierung'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Auswahlfeld-Eigenschaften',
+ selectInfo : 'Info',
+ opAvail : 'Mögliche Optionen',
+ value : 'Wert',
+ size : 'GröÃe',
+ lines : 'Linien',
+ chkMulti : 'Erlaube Mehrfachauswahl',
+ opText : 'Text',
+ opValue : 'Wert',
+ btnAdd : 'Hinzufügen',
+ btnModify : 'Ãndern',
+ btnUp : 'Hoch',
+ btnDown : 'Runter',
+ btnSetValue : 'Setze als Standardwert',
+ btnDelete : 'Entfernen'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Textfeld (mehrzeilig) Eigenschaften',
+ cols : 'Spalten',
+ rows : 'Reihen'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Textfeld (einzeilig) Eigenschaften',
+ name : 'Name',
+ value : 'Wert',
+ charWidth : 'Zeichenbreite',
+ maxChars : 'Max. Zeichen',
+ type : 'Typ',
+ typeText : 'Text',
+ typePass : 'Passwort'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Verstecktes Feld-Eigenschaften',
+ name : 'Name',
+ value : 'Wert'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Bild-Eigenschaften',
+ titleButton : 'Bildbutton-Eigenschaften',
+ menu : 'Bild-Eigenschaften',
+ infoTab : 'Bild-Info',
+ btnUpload : 'Zum Server senden',
+ upload : 'Hochladen',
+ alt : 'Alternativer Text',
+ width : 'Breite',
+ height : 'Höhe',
+ lockRatio : 'GröÃenverhältnis beibehalten',
+ unlockRatio : 'Ratio Freischalten',
+ resetSize : 'GröÃe zurücksetzen',
+ border : 'Rahmen',
+ hSpace : 'Horizontal-Abstand',
+ vSpace : 'Vertikal-Abstand',
+ align : 'Ausrichtung',
+ alignLeft : 'Links',
+ alignRight : 'Rechts',
+ alertUrl : 'Bitte geben Sie die Bild-URL an',
+ linkTab : 'Link',
+ button2Img : 'Möchten Sie den gewählten Bild-Button in ein einfaches Bild umwandeln?',
+ img2Button : 'Möchten Sie das gewählten Bild in einen Bild-Button umwandeln?',
+ urlMissing : 'Imagequelle URL fehlt.',
+ validateWidth : 'Breite muà eine ganze Zahl sein.',
+ validateHeight : 'Höhe muà eine ganze Zahl sein.',
+ validateBorder : 'Rahmen muà eine ganze Zahl sein.',
+ validateHSpace : 'Horizontal-Abstand muà eine ganze Zahl sein.',
+ validateVSpace : 'Vertikal-Abstand must be a whole number.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash-Eigenschaften',
+ propertiesTab : 'Eigenschaften',
+ title : 'Flash-Eigenschaften',
+ chkPlay : 'autom. Abspielen',
+ chkLoop : 'Endlosschleife',
+ chkMenu : 'Flash-Menü aktivieren',
+ chkFull : 'Vollbildmodus erlauben',
+ scale : 'Skalierung',
+ scaleAll : 'Alles anzeigen',
+ scaleNoBorder : 'ohne Rand',
+ scaleFit : 'Passgenau',
+ access : 'Skript Zugang',
+ accessAlways : 'Immer',
+ accessSameDomain: 'Gleiche Domain',
+ accessNever : 'Nie',
+ align : 'Ausrichtung',
+ alignLeft : 'Links',
+ alignAbsBottom : 'Abs Unten',
+ alignAbsMiddle : 'Abs Mitte',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Unten',
+ alignMiddle : 'Mitte',
+ alignRight : 'Rechts',
+ alignTextTop : 'Text Oben',
+ alignTop : 'Oben',
+ quality : 'Qualität',
+ qualityBest : 'Beste',
+ qualityHigh : 'Hoch',
+ qualityAutoHigh : 'Auto Hoch',
+ qualityMedium : 'Medium',
+ qualityAutoLow : 'Auto Niedrig',
+ qualityLow : 'Niedrig',
+ windowModeWindow: 'Fenster',
+ windowModeOpaque: 'Deckend',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Fenster Modus',
+ flashvars : 'Variablen für Flash',
+ bgcolor : 'Hintergrundfarbe',
+ width : 'Breite',
+ height : 'Höhe',
+ hSpace : 'Horizontal-Abstand',
+ vSpace : 'Vertikal-Abstand',
+ validateSrc : 'Bitte geben Sie die Link-URL an',
+ validateWidth : 'Breite muss eine Zahl sein.',
+ validateHeight : 'Höhe muss eine Zahl sein.',
+ validateHSpace : 'HSpace muss eine Zahl sein.',
+ validateVSpace : 'VSpace muss eine Zahl sein.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Rechtschreibprüfung',
+ title : 'Rechtschreibprüfung',
+ notAvailable : 'Entschuldigung, aber dieser Dienst steht im Moment nicht zur verfügung.',
+ errorLoading : 'Fehler beim laden des Dienstanbieters: %s.',
+ notInDic : 'Nicht im Wörterbuch',
+ changeTo : 'Ãndern in',
+ btnIgnore : 'Ignorieren',
+ btnIgnoreAll : 'Alle Ignorieren',
+ btnReplace : 'Ersetzen',
+ btnReplaceAll : 'Alle Ersetzen',
+ btnUndo : 'Rückgängig',
+ noSuggestions : ' - keine Vorschläge - ',
+ progress : 'Rechtschreibprüfung läuft...',
+ noMispell : 'Rechtschreibprüfung abgeschlossen - keine Fehler gefunden',
+ noChanges : 'Rechtschreibprüfung abgeschlossen - keine Worte geändert',
+ oneChange : 'Rechtschreibprüfung abgeschlossen - ein Wort geändert',
+ manyChanges : 'Rechtschreibprüfung abgeschlossen - %1 Wörter geändert',
+ ieSpellDownload : 'Rechtschreibprüfung nicht installiert. Möchten Sie sie jetzt herunterladen?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Smiley auswählen',
+ options : 'Smiley Optionen'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements Pfad',
+ eleTitle : '%1 Element'
+ },
+
+ numberedlist : 'Nummerierte Liste',
+ bulletedlist : 'Liste',
+ indent : 'Einzug erhöhen',
+ outdent : 'Einzug verringern',
+
+ justify :
+ {
+ left : 'Linksbündig',
+ center : 'Zentriert',
+ right : 'Rechtsbündig',
+ block : 'Blocksatz'
+ },
+
+ blockquote : 'Zitatblock',
+
+ clipboard :
+ {
+ title : 'Einfügen',
+ cutError : 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch auszuschneiden. Bitte benutzen Sie die System-Zwischenablage über STRG-X (ausschneiden) und STRG-V (einfügen).',
+ copyError : 'Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).',
+ pasteMsg : 'Bitte fügen Sie den Text in der folgenden Box über die Tastatur (mit <STRONG>Strg+V</STRONG>) ein und bestätigen Sie mit <STRONG>OK</STRONG>.',
+ securityMsg : 'Aufgrund von Sicherheitsbeschränkungen Ihres Browsers kann der Editor nicht direkt auf die Zwischenablage zugreifen. Bitte fügen Sie den Inhalt erneut in diesem Fenster ein.',
+ pasteArea : 'Einfügebereich'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?',
+ toolbar : 'aus MS-Word einfügen',
+ title : 'aus MS-Word einfügen',
+ error : 'Aufgrund eines internen Fehlers war es nicht möglich die eingefügten Daten zu bereinigen'
+ },
+
+ pasteText :
+ {
+ button : 'Als Text einfügen',
+ title : 'Als Text einfügen'
+ },
+
+ templates :
+ {
+ button : 'Vorlagen',
+ title : 'Vorlagen',
+ options : 'Vorlagen Optionen',
+ insertOption : 'Aktuellen Inhalt ersetzen',
+ selectPromptMsg : 'Klicken Sie auf eine Vorlage, um sie im Editor zu öffnen (der aktuelle Inhalt wird dabei gelöscht!):',
+ emptyListMsg : '(keine Vorlagen definiert)'
+ },
+
+ showBlocks : 'Blöcke anzeigen',
+
+ stylesCombo :
+ {
+ label : 'Stil',
+ panelTitle : 'Formatierungenstil',
+ panelTitle1 : 'Block Stilart',
+ panelTitle2 : 'Inline Stilart',
+ panelTitle3 : 'Objekt Stilart'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatiert',
+ tag_address : 'Addresse',
+ tag_h1 : 'Ãberschrift 1',
+ tag_h2 : 'Ãberschrift 2',
+ tag_h3 : 'Ãberschrift 3',
+ tag_h4 : 'Ãberschrift 4',
+ tag_h5 : 'Ãberschrift 5',
+ tag_h6 : 'Ãberschrift 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Div Container erzeugen',
+ toolbar : 'Div Container erzeugen',
+ cssClassInputLabel : 'Stylesheet Klasse',
+ styleSelectLabel : 'Stil',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Sprache Code',
+ inlineStyleInputLabel : 'Inline Style',
+ advisoryTitleInputLabel : 'Beratungs Titel',
+ langDirLabel : 'Sprache Richtung',
+ langDirLTRLabel : 'Links nach Rechs (LTR)',
+ langDirRTLLabel : 'Rechs nach Links (RTL)',
+ edit : 'Div Bearbeiten',
+ remove : 'Div Entfernen'
+ },
+
+ font :
+ {
+ label : 'Schriftart',
+ voiceLabel : 'Schriftart',
+ panelTitle : 'Schriftart'
+ },
+
+ fontSize :
+ {
+ label : 'GröÃe',
+ voiceLabel : 'SchrifgröÃe',
+ panelTitle : 'GröÃe'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Textfarbe',
+ bgColorTitle : 'Hintergrundfarbe',
+ panelTitle : 'Farben',
+ auto : 'Automatisch',
+ more : 'Weitere Farben...'
+ },
+
+ colors :
+ {
+ '000' : 'Schwarz',
+ '800000' : 'Kastanienbraun',
+ '8B4513' : 'Braun',
+ '2F4F4F' : 'Dunkles Schiefergrau',
+ '008080' : 'Blaugrün',
+ '000080' : 'Navy',
+ '4B0082' : 'Indigo',
+ '696969' : 'Dunkelgrau',
+ 'B22222' : 'Ziegelrot',
+ 'A52A2A' : 'Braun',
+ 'DAA520' : 'Goldgelb',
+ '006400' : 'Dunkelgrün',
+ '40E0D0' : 'Türkis',
+ '0000CD' : 'Medium Blau',
+ '800080' : 'Lila',
+ '808080' : 'Grau',
+ 'F00' : 'Rot',
+ 'FF8C00' : 'Dunkelorange',
+ 'FFD700' : 'Gold',
+ '008000' : 'Grün',
+ '0FF' : 'Cyan',
+ '00F' : 'Blau',
+ 'EE82EE' : 'Hellviolett',
+ 'A9A9A9' : 'Dunkelgrau',
+ 'FFA07A' : 'Helles Lachsrosa',
+ 'FFA500' : 'Orange',
+ 'FFFF00' : 'Gelb',
+ '00FF00' : 'Lime',
+ 'AFEEEE' : 'BlaÃ-Türkis',
+ 'ADD8E6' : 'Hellblau',
+ 'DDA0DD' : 'Pflaumenblau',
+ 'D3D3D3' : 'Hellgrau',
+ 'FFF0F5' : 'Lavendel',
+ 'FAEBD7' : 'Antik WeiÃ',
+ 'FFFFE0' : 'Hellgelb',
+ 'F0FFF0' : 'Honigtau',
+ 'F0FFFF' : 'Azurblau',
+ 'F0F8FF' : 'Alice Blau',
+ 'E6E6FA' : 'Lavendel',
+ 'FFF' : 'WeiÃ'
+ },
+
+ scayt :
+ {
+ title : 'Rechtschreibprüfung während der Texteingabe',
+ opera_title : 'Nicht von Opera unterstützt',
+ enable : 'SCAYT einschalten',
+ disable : 'SCAYT ausschalten',
+ about : 'Ãber SCAYT',
+ toggle : 'SCAYT umschalten',
+ options : 'Optionen',
+ langs : 'Sprachen',
+ moreSuggestions : 'Mehr Vorschläge',
+ ignore : 'Ignorieren',
+ ignoreAll : 'Alle ignorieren',
+ addWord : 'Wort hinzufügen',
+ emptyDic : 'Wörterbuchname sollte leer sein.',
+
+ optionsTab : 'Optionen',
+ allCaps : 'Groà geschriebenen Wörter ignorieren',
+ ignoreDomainNames : 'Domain-Namen ignorieren',
+ mixedCase : 'Wörter mit gemischte Setzkasten ignorieren',
+ mixedWithDigits : 'Wörter mit Zahlen ignorieren',
+
+ languagesTab : 'Sprachen',
+
+ dictionariesTab : 'Wörterbücher',
+ dic_field_name : 'Wörterbuchname',
+ dic_create : 'Erzeugen',
+ dic_restore : 'Wiederherstellen',
+ dic_delete : 'Löschen',
+ dic_rename : 'Umbenennen',
+ dic_info : 'Anfangs wird das Benutzerwörterbuch in einem Cookie gespeichert. Allerdings sind Cookies in der GröÃe begrenzt. Wenn das Benutzerwörterbuch bis zu einem Punkt wächst, wo es nicht mehr in einem Cookie gespeichert werden kann, wird das Benutzerwörterbuch auf dem Server gespeichert. Um Ihr persönliches Wörterbuch auf dem Server zu speichern, müssen Sie einen Namen für das Wörterbuch angeben. Falls Sie schon ein gespeicherte Wörterbuch haben, geben Sie bitte dessen Namen ein und klicken Sie auf die Schaltfläche Wiederherstellen.',
+
+ aboutTab : 'Ãber'
+ },
+
+ about :
+ {
+ title : 'Ãber CKEditor',
+ dlgTitle : 'Ãber CKEditor',
+ moreInfo : 'Für Informationen Liztenzbestimmungen besuchen sie bitte unsere Webseite:',
+ copy : 'Copyright © $1. Alle Rechte vorbehalten.'
+ },
+
+ maximize : 'Maximieren',
+ minimize : 'Minimieren',
+
+ fakeobjects :
+ {
+ anchor : 'Anker',
+ flash : 'Flash Animation',
+ div : 'Seitenumbruch',
+ unknown : 'Unbekanntes Objekt'
+ },
+
+ resize : 'Zum VergröÃern ziehen',
+
+ colordialog :
+ {
+ title : 'Farbe wählen',
+ options : 'Farbeoptionen',
+ highlight : 'Hervorheben',
+ selected : 'Ausgewählte Farbe',
+ clear : 'Entfernen'
+ },
+
+ toolbarCollapse : 'Symbolleiste einklappen',
+ toolbarExpand : 'Symbolleiste ausklappen',
+
+ bidi :
+ {
+ ltr : 'Leserichtung von Links nach Rechts',
+ rtl : 'Leserichtung von Rechts nach Links'
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/el.js b/devel/third-party/ckeditor/lang/el.js
new file mode 100644
index 0000000..c889b3a
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/el.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Greek language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['el'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'HTML κÏδικαÏ',
+ newPage : 'ÎÎα Σελίδα',
+ save : 'ÎÏοθήκεÏ
Ïη',
+ preview : 'Î ÏοεÏιÏκÏÏιÏη',
+ cut : 'ÎÏοκοÏή',
+ copy : 'ÎνÏιγÏαÏή',
+ paste : 'ÎÏικÏλληÏη',
+ print : 'ÎκÏÏÏÏÏη',
+ underline : 'Î¥ÏογÏάμμιÏη',
+ bold : 'ÎνÏονα',
+ italic : 'Πλάγια',
+ selectAll : 'ÎÏιλογή ÏλÏν',
+ removeFormat : 'ÎÏαίÏεÏη ÎοÏÏοÏοίηÏηÏ',
+ strike : 'ÎιαγÏάμμιÏη',
+ subscript : 'ÎείκÏηÏ',
+ superscript : 'ÎκθÎÏηÏ',
+ horizontalrule : 'ÎιÏαγÏγή ÎÏιζÏνÏÎ¹Î±Ï ÎÏαμμήÏ',
+ pagebreak : 'ÎιÏαγÏγή ÏÎλοÏ
Ï ÏελίδαÏ',
+ unlink : 'ÎÏαίÏεÏη ΣÏ
νδÎÏμοÏ
(Link)',
+ undo : 'ÎναίÏεÏη',
+ redo : 'ÎÏαναÏοÏά',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ÎξεÏεÏνηÏη διακομιÏÏή',
+ url : 'URL',
+ protocol : 'Î ÏοÏÏκολο',
+ upload : 'ÎÏοÏÏολή',
+ uploadSubmit : 'ÎÏοÏÏολή ÏÏον ÎιακομιÏÏή',
+ image : 'ÎικÏνα',
+ flash : 'ÎιÏαγÏγή Flash',
+ form : 'ΦÏÏμα',
+ checkbox : 'ÎοÏ
Ïί εÏιλογήÏ',
+ radio : 'ÎοÏ
μÏί Radio',
+ textField : 'Πεδίο κειμÎνοÏ
',
+ textarea : 'ΠεÏιοÏή κειμÎνοÏ
',
+ hiddenField : 'ÎÏÏ
ÏÏ Ïεδίο',
+ button : 'ÎοÏ
μÏί',
+ select : 'Πεδίο εÏιλογήÏ',
+ imageButton : 'ÎοÏ
μÏί εικÏναÏ',
+ notSet : '<ÏÏÏίÏ>',
+ id : 'Id',
+ name : 'Îνομα',
+ langDir : 'ÎαÏεÏθÏ
νÏη κειμÎνοÏ
',
+ langDirLtr : 'ÎÏιÏÏεÏά ÏÏÎ¿Ï Îεξιά (LTR)',
+ langDirRtl : 'Îεξιά ÏÏÎ¿Ï ÎÏιÏÏεÏά (RTL)',
+ langCode : 'ÎÏδικÏÏ ÎλÏÏÏαÏ',
+ longDescr : 'ÎναλÏ
Ïική ÏεÏιγÏαÏή URL',
+ cssClass : 'Stylesheet Classes',
+ advisoryTitle : 'ΣÏ
μβοÏ
λεÏ
ÏικÏÏ ÏίÏλοÏ',
+ cssStyle : 'ΣÏÏλ',
+ ok : 'OK',
+ cancel : 'ÎκÏÏÏÏη',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Îια ÏÏοÏÏÏημÎνοÏ
Ï',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'ÎιÏαγÏγή ÎÎ¹Î´Î¹ÎºÎ¿Ï Î£Ï
μβÏλοÏ
',
+ title : 'ÎÏιλÎξÏε Îνα ÎÎ¹Î´Î¹ÎºÏ Î£Ïμβολο',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'ÎιÏαγÏγή/ÎεÏαβολή ΣÏ
νδÎÏμοÏ
(Link)',
+ other : '<άλλοÏ>',
+ menu : 'ÎεÏαβολή ΣÏ
νδÎÏμοÏ
(Link)',
+ title : 'ΣÏνδεÏÎ¼Î¿Ï (Link)',
+ info : 'Link',
+ target : 'ΠαÏάθÏ
Ïο ΣÏÏÏÎ¿Ï (Target)',
+ upload : 'ÎÏοÏÏολή',
+ advanced : 'Îια ÏÏοÏÏÏημÎνοÏ
Ï',
+ type : 'ΤÏÏÎ¿Ï ÏÏ
νδÎÏμοÏ
(Link)',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ÎγκÏ
Ïα Ïε αÏ
Ïή Ïη Ïελίδα',
+ toEmail : 'E-Mail',
+ targetFrame : '<ÏλαίÏιο>',
+ targetPopup : '<ÏαÏάθÏ
Ïο popup>',
+ targetFrameName : 'Îνομα ÏλαιÏίοÏ
ÏÏÏÏοÏ
',
+ targetPopupName : 'Îνομα Popup Window',
+ popupFeatures : 'ÎÏιλογÎÏ Popup Window',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'ÎÏάÏα Status',
+ popupLocationBar: 'ÎÏάÏα ΤοÏοθεÏίαÏ',
+ popupToolbar : 'ÎÏάÏα ÎÏγαλείÏν',
+ popupMenuBar : 'ÎÏάÏα Menu',
+ popupFullScreen : 'ÎλÏκληÏη η ÎθÏνη (IE)',
+ popupScrollBars : 'ÎÏάÏÎµÏ ÎÏλιÏηÏ',
+ popupDependent : 'Dependent (Netscape)',
+ popupWidth : 'ΠλάÏοÏ',
+ popupLeft : 'ΤοÏοθεÏία ÎÏιÏÏεÏÎ®Ï ÎκÏηÏ',
+ popupHeight : 'ÎÏοÏ',
+ popupTop : 'ΤοÏοθεÏία Î Î¬Î½Ï ÎκÏηÏ',
+ id : 'Id', // MISSING
+ langDir : 'ÎαÏεÏθÏ
νÏη κειμÎνοÏ
',
+ langDirLTR : 'ÎÏιÏÏεÏά ÏÏÎ¿Ï Îεξιά (LTR)',
+ langDirRTL : 'Îεξιά ÏÏÎ¿Ï ÎÏιÏÏεÏά (RTL)',
+ acccessKey : 'ΣÏ
νÏÏμεÏ
Ïη (Access Key)',
+ name : 'Îνομα',
+ langCode : 'ÎαÏεÏθÏ
νÏη κειμÎνοÏ
',
+ tabIndex : 'Tab Index',
+ advisoryTitle : 'ΣÏ
μβοÏ
λεÏ
ÏικÏÏ ÏίÏλοÏ',
+ advisoryContentType : 'ΣÏ
μβοÏ
λεÏ
ÏικÏÏ ÏίÏÎ»Î¿Ï ÏεÏιεÏομÎνοÏ
',
+ cssClasses : 'Stylesheet Classes',
+ charset : 'Linked Resource Charset',
+ styles : 'ΣÏÏλ',
+ selectAnchor : 'ÎÏιλÎξÏε μια άγκÏ
Ïα',
+ anchorName : 'ÎάÏει ÏοÏ
ÎνÏμαÏÎ¿Ï (Name) ÏÎ·Ï Î¬Î³ÎºÏ
ÏαÏ',
+ anchorId : 'ÎάÏει ÏοÏ
Element Id',
+ emailAddress : 'ÎιεÏθÏ
νÏη ÎλεκÏÏÎ¿Î½Î¹ÎºÎ¿Ï Î¤Î±ÏÏ
δÏομείοÏ
',
+ emailSubject : 'ÎÎμα ÎηνÏμαÏοÏ',
+ emailBody : 'Îείμενο ÎηνÏμαÏοÏ',
+ noAnchors : '(Îεν Ï
ÏάÏÏοÏ
ν άγκÏ
ÏÎµÏ ÏÏο κείμενο)',
+ noUrl : 'ÎιÏάγεÏε Ïην ÏοÏοθεÏία (URL) ÏοÏ
Ï
ÏεÏÏÏ
νδÎÏμοÏ
(Link)',
+ noEmail : 'ÎιÏάγεÏε Ïην διεÏθÏ
νÏη ηλεκÏÏÎ¿Î½Î¹ÎºÎ¿Ï ÏαÏÏ
δÏομείοÏ
'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'ÎιÏαγÏγή/εÏεξεÏγαÏία Anchor',
+ menu : 'ÎδιÏÏηÏÎµÏ Î¬Î³ÎºÏ
ÏαÏ',
+ title : 'ÎδιÏÏηÏÎµÏ Î¬Î³ÎºÏ
ÏαÏ',
+ name : 'Îνομα άγκÏ
ÏαÏ',
+ errorName : 'ΠαÏακαλοÏμε ειÏάγεÏε Ïνομα άγκÏ
ÏαÏ'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'ÎναζήÏηÏη',
+ replace : 'ÎνÏικαÏάÏÏαÏη',
+ findWhat : 'ÎναζήÏηÏη:',
+ replaceWith : 'ÎνÏικαÏάÏÏαÏη με:',
+ notFoundMsg : 'Το κείμενο δεν βÏÎθηκε.',
+ matchCase : 'ÎλεγÏÎ¿Ï ÏεζÏν/κεÏαλαίÏν',
+ matchWord : 'ÎÏÏεÏη ÏλήÏοÏ
Ï Î»ÎξηÏ',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'ÎνÏικαÏάÏÏαÏη ÎλÏν',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'ΠίνακαÏ',
+ title : 'ÎδιÏÏηÏÎµÏ Î Î¯Î½Î±ÎºÎ±',
+ menu : 'ÎδιÏÏηÏÎµÏ Î Î¯Î½Î±ÎºÎ±',
+ deleteTable : 'ÎιαγÏαÏή Ïίνακα',
+ rows : 'ÎÏαμμÎÏ',
+ columns : 'ÎολÏνεÏ',
+ border : 'ÎÎÎ³ÎµÎ¸Î¿Ï Î ÎµÏιθÏÏίοÏ
',
+ align : 'ΣÏοίÏιÏη',
+ alignLeft : 'ÎÏιÏÏεÏά',
+ alignCenter : 'ÎÎνÏÏο',
+ alignRight : 'Îεξιά',
+ width : 'ΠλάÏοÏ',
+ widthPx : 'pixels',
+ widthPc : '%',
+ widthUnit : 'width unit', // MISSING
+ height : 'ÎÏοÏ',
+ cellSpace : 'ÎÏÏÏÏαÏη κελιÏν',
+ cellPad : 'ÎÎμιÏμα κελιÏν',
+ caption : 'Î¥ÏÎÏÏιÏλοÏ',
+ summary : 'ΠεÏίληÏη',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Îελί',
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'ÎιαγÏαÏή ÎελιÏν',
+ merge : 'ÎνοÏοίηÏη ÎελιÏν',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'ΣειÏά',
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'ÎιαγÏαÏή ÎÏαμμÏν'
+ },
+
+ column :
+ {
+ menu : 'ΣÏήλη',
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'ÎιαγÏαÏή ÎολÏνÏν'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ÎδιÏÏηÏÎµÏ ÎºÎ¿Ï
μÏιοÏ',
+ text : 'Îείμενο (Τιμή)',
+ type : 'ΤÏÏοÏ',
+ typeBtn : 'ÎοÏ
μÏί',
+ typeSbm : 'ÎαÏαÏÏÏηÏη',
+ typeRst : 'ÎÏαναÏοÏά'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ÎδιÏÏηÏÎµÏ ÎºÎ¿Ï
μÏÎ¹Î¿Ï ÎµÏιλογήÏ',
+ radioTitle : 'ÎδιÏÏηÏÎµÏ ÎºÎ¿Ï
μÏÎ¹Î¿Ï radio',
+ value : 'Τιμή',
+ selected : 'ÎÏιλεγμÎνο'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ÎδιÏÏηÏÎµÏ ÏÏÏμαÏ',
+ menu : 'ÎδιÏÏηÏÎµÏ ÏÏÏμαÏ',
+ action : 'ÎÏάÏη',
+ method : 'ÎάθοδοÏ',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'ÎδιÏÏηÏÎµÏ ÏεδίοÏ
εÏιλογήÏ',
+ selectInfo : 'ΠληÏοÏοÏίεÏ',
+ opAvail : 'ÎιαθÎÏÎ¹Î¼ÎµÏ ÎµÏιλογÎÏ',
+ value : 'Τιμή',
+ size : 'ÎÎγεθοÏ',
+ lines : 'γÏαμμÎÏ',
+ chkMulti : 'ΠολλαÏλÎÏ ÎµÏιλογÎÏ',
+ opText : 'Îείμενο',
+ opValue : 'Τιμή',
+ btnAdd : 'Î ÏοÏθήκη',
+ btnModify : 'Îλλαγή',
+ btnUp : 'ΠάνÏ',
+ btnDown : 'ÎάÏÏ',
+ btnSetValue : 'Î ÏοεÏιλεγμÎνη εÏιλογή',
+ btnDelete : 'ÎιαγÏαÏή'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ÎδιÏÏηÏÎµÏ ÏεÏιοÏÎ®Ï ÎºÎµÎ¹Î¼ÎνοÏ
',
+ cols : 'ΣÏήλεÏ',
+ rows : 'ΣειÏÎÏ'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ÎδιÏÏηÏÎµÏ ÏεδίοÏ
κειμÎνοÏ
',
+ name : 'Îνομα',
+ value : 'Τιμή',
+ charWidth : 'ÎÎ®ÎºÎ¿Ï ÏαÏακÏήÏÏν',
+ maxChars : 'ÎÎγιÏÏοι ÏαÏακÏήÏεÏ',
+ type : 'ΤÏÏοÏ',
+ typeText : 'Îείμενο',
+ typePass : 'ÎÏδικÏÏ'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ÎδιÏÏηÏÎµÏ ÎºÏÏ
ÏÎ¿Ï ÏεδίοÏ
',
+ name : 'Îνομα',
+ value : 'Τιμή'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ÎδιÏÏηÏÎµÏ ÎικÏναÏ',
+ titleButton : 'ÎδιÏÏηÏÎµÏ ÎºÎ¿Ï
μÏÎ¹Î¿Ï ÎµÎ¹ÎºÏναÏ',
+ menu : 'ÎδιÏÏηÏÎµÏ ÎικÏναÏ',
+ infoTab : 'ΠληÏοÏοÏÎ¯ÎµÏ ÎικÏναÏ',
+ btnUpload : 'ÎÏοÏÏολή ÏÏον ÎιακομιÏÏή',
+ upload : 'ÎÏοÏÏολή',
+ alt : 'ÎναλλακÏÎ¹ÎºÏ Îείμενο (ALT)',
+ width : 'ΠλάÏοÏ',
+ height : 'ÎÏοÏ',
+ lockRatio : 'ÎλείδÏμα ÎναλογίαÏ',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'ÎÏαναÏοÏά ÎÏÏÎ¹ÎºÎ¿Ï ÎεγÎθοÏ
Ï',
+ border : 'ΠεÏιθÏÏιο',
+ hSpace : 'ÎÏιζÏνÏÎ¹Î¿Ï Î§ÏÏÎ¿Ï (HSpace)',
+ vSpace : 'ÎάθεÏÎ¿Ï Î§ÏÏÎ¿Ï (VSpace)',
+ align : 'ÎÏ
θÏ
γÏάμμιÏη (Align)',
+ alignLeft : 'ÎÏιÏÏεÏά',
+ alignRight : 'Îεξιά (Right)',
+ alertUrl : 'ÎιÏάγεÏε Ïην ÏοÏοθεÏία (URL) ÏÎ·Ï ÎµÎ¹ÎºÏναÏ',
+ linkTab : 'ΣÏνδεÏμοÏ',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ÎδιÏÏηÏÎµÏ Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'ÎδιÏÏηÏÎµÏ flash',
+ chkPlay : 'ÎÏ
ÏÏμαÏη ÎναÏξη',
+ chkLoop : 'ÎÏανάληÏη',
+ chkMenu : 'ÎνεÏγοÏοίηÏη Flash Menu',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Îλίμακα',
+ scaleAll : 'ÎμÏάνιÏη ÏλÏν',
+ scaleNoBorder : 'ΧÏÏÎ¯Ï ÏÏια',
+ scaleFit : 'ÎκÏÎ¹Î²Î®Ï ÎµÏαÏμογή',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'ÎÏ
θÏ
γÏάμμιÏη (Align)',
+ alignLeft : 'ÎÏιÏÏεÏά',
+ alignAbsBottom : 'ÎÏÏλÏ
Ïα ÎάÏÏ (Abs Bottom)',
+ alignAbsMiddle : 'ÎÏÏλÏ
Ïα ÏÏη ÎÎÏη (Abs Middle)',
+ alignBaseline : 'ÎÏαμμή ÎάÏÎ·Ï (Baseline)',
+ alignBottom : 'ÎάÏÏ (Bottom)',
+ alignMiddle : 'ÎÎÏη (Middle)',
+ alignRight : 'Îεξιά (Right)',
+ alignTextTop : 'ÎοÏÏ
Ïή ÎειμÎνοÏ
(Text Top)',
+ alignTop : 'Î Î¬Î½Ï (Top)',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'ΧÏÏμα Î¥ÏοβάθÏοÏ
',
+ width : 'ΠλάÏοÏ',
+ height : 'ÎÏοÏ',
+ hSpace : 'ÎÏιζÏνÏÎ¹Î¿Ï Î§ÏÏÎ¿Ï (HSpace)',
+ vSpace : 'ÎάθεÏÎ¿Ï Î§ÏÏÎ¿Ï (VSpace)',
+ validateSrc : 'ÎιÏάγεÏε Ïην ÏοÏοθεÏία (URL) ÏοÏ
Ï
ÏεÏÏÏ
νδÎÏμοÏ
(Link)',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'ÎÏθογÏαÏικÏÏ ÎλεγÏοÏ',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Îεν Ï
ÏάÏÏει ÏÏο λεξικÏ',
+ changeTo : 'Îλλαγή Ïε',
+ btnIgnore : 'ÎγνÏηÏη',
+ btnIgnoreAll : 'ÎγνÏηÏη ÏλÏν',
+ btnReplace : 'ÎνÏικαÏάÏÏαÏη',
+ btnReplaceAll : 'ÎνÏικαÏάÏÏαÏη ÏλÏν',
+ btnUndo : 'ÎναίÏεÏη',
+ noSuggestions : '- Îεν Ï
ÏάÏÏοÏ
ν ÏÏοÏάÏÎµÎ¹Ï -',
+ progress : 'ÎÏθογÏαÏικÏÏ ÎλεγÏÎ¿Ï Ïε εξÎλιξη...',
+ noMispell : 'ΠοÏθογÏαÏικÏÏ ÎλεγÏÎ¿Ï Î¿Î»Î¿ÎºÎ»Î·ÏÏθηκε: Îεν βÏÎθηκαν λάθη',
+ noChanges : 'ΠοÏθογÏαÏικÏÏ ÎλεγÏÎ¿Ï Î¿Î»Î¿ÎºÎ»Î·ÏÏθηκε: Îεν άλλαξαν λÎξειÏ',
+ oneChange : 'ΠοÏθογÏαÏικÏÏ ÎλεγÏÎ¿Ï Î¿Î»Î¿ÎºÎ»Î·ÏÏθηκε: Îια λÎξη άλλαξε',
+ manyChanges : 'ΠοÏθογÏαÏικÏÏ ÎλεγÏÎ¿Ï Î¿Î»Î¿ÎºÎ»Î·ÏÏθηκε: %1 λÎÎ¾ÎµÎ¹Ï Î¬Î»Î»Î±Î¾Î±Î½',
+ ieSpellDownload : 'Îεν Ï
ÏάÏÏει εγκαÏεÏÏημÎÎ½Î¿Ï Î¿ÏθογÏάÏοÏ. ÎÎλεÏε να Ïον καÏεβάÏεÏε ÏÏÏα;'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'ÎÏιλÎξÏε Îνα Smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ÎίÏÏα με ÎÏιθμοÏÏ',
+ bulletedlist : 'ÎίÏÏα με Bullets',
+ indent : 'ÎÏξηÏη ÎÏοÏήÏ',
+ outdent : 'ÎείÏÏη ÎÏοÏήÏ',
+
+ justify :
+ {
+ left : 'ΣÏοίÏιÏη ÎÏιÏÏεÏά',
+ center : 'ΣÏοίÏιÏη ÏÏο ÎÎνÏÏο',
+ right : 'ΣÏοίÏιÏη Îεξιά',
+ block : 'ΠλήÏÎ·Ï Î£ÏοίÏιÏη (Block)'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'ÎÏικÏλληÏη',
+ cutError : 'Îι ÏÏ
θμίÏÎµÎ¹Ï Î±ÏÏÎ±Î»ÎµÎ¯Î±Ï ÏοÏ
ÏÏ
λλομεÏÏηÏή ÏÎ±Ï Î´ÎµÎ½ εÏιÏÏÎÏοÏ
ν Ïην εÏιλεγμÎνη εÏγαÏία αÏοκοÏήÏ. ΧÏηÏιμοÏοιείÏÏε Ïο ÏληκÏÏολÏγιο (Ctrl/Cmd+X).',
+ copyError : 'Îι ÏÏ
θμίÏÎµÎ¹Ï Î±ÏÏÎ±Î»ÎµÎ¯Î±Ï ÏοÏ
ÏÏ
λλομεÏÏηÏή ÏÎ±Ï Î´ÎµÎ½ εÏιÏÏÎÏοÏ
ν Ïην εÏιλεγμÎνη εÏγαÏία ανÏιγÏαÏήÏ. ΧÏηÏιμοÏοιείÏÏε Ïο ÏληκÏÏολÏγιο (Ctrl/Cmd+C).',
+ pasteMsg : 'ΠαÏÎ±ÎºÎ±Î»Ï ÎµÏικολήÏÏε ÏÏο ακÏλοÏ
θο κοÏ
Ïί ÏÏηÏιμοÏοιÏνÏÎ±Ï Ïο ÏληκÏÏολÏγιο (<STRONG>Ctrl/Cmd+V</STRONG>) και ÏαÏήÏÏε <STRONG>OK</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'ÎÏικÏλληÏη αÏÏ Ïο Word',
+ title : 'ÎÏικÏλληÏη αÏÏ Ïο Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'ÎÏικÏλληÏη ÏÏ ÎÏÎ»Ï Îείμενο',
+ title : 'ÎÏικÏλληÏη ÏÏ ÎÏÎ»Ï Îείμενο'
+ },
+
+ templates :
+ {
+ button : 'Î ÏÏÏÏ
Ïα',
+ title : 'Î ÏÏÏÏ
Ïα ÏεÏιεÏομÎνοÏ
',
+ options : 'Template Options', // MISSING
+ insertOption : 'ÎνÏικαÏάÏÏαÏη Ï
ÏάÏÏονÏÏν ÏεÏιεÏομÎνÏν',
+ selectPromptMsg : 'ΠαÏÎ±ÎºÎ±Î»Ï ÎµÏιλÎξÏε ÏÏÏÏÏ
Ïο για ειÏαγÏγή ÏÏο ÏÏÏγÏαμμα<br>(Ïα Ï
ÏάÏÏονÏα ÏεÏιεÏÏμενα θα ÏαθοÏν):',
+ emptyListMsg : '(Îεν ÎÏοÏ
ν καθοÏιÏÏεί ÏÏÏÏÏ
Ïα)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'ΣÏÏ
λ',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'ÎοÏÏή ÎÏαμμαÏοÏειÏάÏ',
+ panelTitle : 'ÎοÏÏή ÎÏαμμαÏοÏειÏάÏ',
+
+ tag_p : 'ÎανονικÏ',
+ tag_pre : 'ÎοÏÏοÏοιημÎνο',
+ tag_address : 'ÎιεÏθÏ
νÏη',
+ tag_h1 : 'ÎÏικεÏαλίδα 1',
+ tag_h2 : 'ÎÏικεÏαλίδα 2',
+ tag_h3 : 'ÎÏικεÏαλίδα 3',
+ tag_h4 : 'ÎÏικεÏαλίδα 4',
+ tag_h5 : 'ÎÏικεÏαλίδα 5',
+ tag_h6 : 'ÎÏικεÏαλίδα 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ÎÏαμμαÏοÏειÏά',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'ÎÏαμμαÏοÏειÏά'
+ },
+
+ fontSize :
+ {
+ label : 'ÎÎγεθοÏ',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'ÎÎγεθοÏ'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ΧÏÏμα ÎÏαμμάÏÏν',
+ bgColorTitle : 'ΧÏÏμα Î¥ÏοβάθÏοÏ
',
+ panelTitle : 'Colors', // MISSING
+ auto : 'ÎÏ
ÏÏμαÏο',
+ more : 'ΠεÏιÏÏÏÏεÏα ÏÏÏμαÏα...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/en-au.js b/devel/third-party/ckeditor/lang/en-au.js
new file mode 100644
index 0000000..9ef341a
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/en-au.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * English (Australia) language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en-au'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Source',
+ newPage : 'New Page',
+ save : 'Save',
+ preview : 'Preview',
+ cut : 'Cut',
+ copy : 'Copy',
+ paste : 'Paste',
+ print : 'Print',
+ underline : 'Underline',
+ bold : 'Bold',
+ italic : 'Italic',
+ selectAll : 'Select All',
+ removeFormat : 'Remove Format',
+ strike : 'Strike Through',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Insert Horizontal Line',
+ pagebreak : 'Insert Page Break for Printing',
+ unlink : 'Unlink',
+ undo : 'Undo',
+ redo : 'Redo',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Browse Server',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'Upload',
+ uploadSubmit : 'Send it to the Server',
+ image : 'Image',
+ flash : 'Flash',
+ form : 'Form',
+ checkbox : 'Checkbox',
+ radio : 'Radio Button',
+ textField : 'Text Field',
+ textarea : 'Textarea',
+ hiddenField : 'Hidden Field',
+ button : 'Button',
+ select : 'Selection Field',
+ imageButton : 'Image Button',
+ notSet : '<not set>',
+ id : 'Id',
+ name : 'Name',
+ langDir : 'Language Direction',
+ langDirLtr : 'Left to Right (LTR)',
+ langDirRtl : 'Right to Left (RTL)',
+ langCode : 'Language Code',
+ longDescr : 'Long Description URL',
+ cssClass : 'Stylesheet Classes',
+ advisoryTitle : 'Advisory Title',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Cancel',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General',
+ advancedTab : 'Advanced',
+ validateNumberFailed : 'This value is not a number.',
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?',
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insert Special Character',
+ title : 'Select Special Character',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Link',
+ other : '<other>',
+ menu : 'Edit Link',
+ title : 'Link',
+ info : 'Link Info',
+ target : 'Target',
+ upload : 'Upload',
+ advanced : 'Advanced',
+ type : 'Link Type',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Link to anchor in the text',
+ toEmail : 'E-mail',
+ targetFrame : '<frame>',
+ targetPopup : '<popup window>',
+ targetFrameName : 'Target Frame Name',
+ targetPopupName : 'Popup Window Name',
+ popupFeatures : 'Popup Window Features',
+ popupResizable : 'Resizable',
+ popupStatusBar : 'Status Bar',
+ popupLocationBar: 'Location Bar',
+ popupToolbar : 'Toolbar',
+ popupMenuBar : 'Menu Bar',
+ popupFullScreen : 'Full Screen (IE)',
+ popupScrollBars : 'Scroll Bars',
+ popupDependent : 'Dependent (Netscape)',
+ popupWidth : 'Width',
+ popupLeft : 'Left Position',
+ popupHeight : 'Height',
+ popupTop : 'Top Position',
+ id : 'Id',
+ langDir : 'Language Direction',
+ langDirLTR : 'Left to Right (LTR)',
+ langDirRTL : 'Right to Left (RTL)',
+ acccessKey : 'Access Key',
+ name : 'Name',
+ langCode : 'Language Code',
+ tabIndex : 'Tab Index',
+ advisoryTitle : 'Advisory Title',
+ advisoryContentType : 'Advisory Content Type',
+ cssClasses : 'Stylesheet Classes',
+ charset : 'Linked Resource Charset',
+ styles : 'Style',
+ selectAnchor : 'Select an Anchor',
+ anchorName : 'By Anchor Name',
+ anchorId : 'By Element Id',
+ emailAddress : 'E-Mail Address',
+ emailSubject : 'Message Subject',
+ emailBody : 'Message Body',
+ noAnchors : '(No anchors available in the document)',
+ noUrl : 'Please type the link URL',
+ noEmail : 'Please type the e-mail address'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Anchor',
+ menu : 'Edit Anchor',
+ title : 'Anchor Properties',
+ name : 'Anchor Name',
+ errorName : 'Please type the anchor name'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace',
+ find : 'Find',
+ replace : 'Replace',
+ findWhat : 'Find what:',
+ replaceWith : 'Replace with:',
+ notFoundMsg : 'The specified text was not found.',
+ matchCase : 'Match case',
+ matchWord : 'Match whole word',
+ matchCyclic : 'Match cyclic',
+ replaceAll : 'Replace All',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Table',
+ title : 'Table Properties',
+ menu : 'Table Properties',
+ deleteTable : 'Delete Table',
+ rows : 'Rows',
+ columns : 'Columns',
+ border : 'Border size',
+ align : 'Alignment',
+ alignLeft : 'Left',
+ alignCenter : 'Centre',
+ alignRight : 'Right',
+ width : 'Width',
+ widthPx : 'pixels',
+ widthPc : 'percent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Height',
+ cellSpace : 'Cell spacing',
+ cellPad : 'Cell padding',
+ caption : 'Caption',
+ summary : 'Summary',
+ headers : 'Headers',
+ headersNone : 'None',
+ headersColumn : 'First column',
+ headersRow : 'First Row',
+ headersBoth : 'Both',
+ invalidRows : 'Number of rows must be a number greater than 0.',
+ invalidCols : 'Number of columns must be a number greater than 0.',
+ invalidBorder : 'Border size must be a number.',
+ invalidWidth : 'Table width must be a number.',
+ invalidHeight : 'Table height must be a number.',
+ invalidCellSpacing : 'Cell spacing must be a number.',
+ invalidCellPadding : 'Cell padding must be a number.',
+
+ cell :
+ {
+ menu : 'Cell',
+ insertBefore : 'Insert Cell Before',
+ insertAfter : 'Insert Cell After',
+ deleteCell : 'Delete Cells',
+ merge : 'Merge Cells',
+ mergeRight : 'Merge Right',
+ mergeDown : 'Merge Down',
+ splitHorizontal : 'Split Cell Horizontally',
+ splitVertical : 'Split Cell Vertically',
+ title : 'Cell Properties',
+ cellType : 'Cell Type',
+ rowSpan : 'Rows Span',
+ colSpan : 'Columns Span',
+ wordWrap : 'Word Wrap',
+ hAlign : 'Horizontal Alignment',
+ vAlign : 'Vertical Alignment',
+ alignTop : 'Top',
+ alignMiddle : 'Middle',
+ alignBottom : 'Bottom',
+ alignBaseline : 'Baseline',
+ bgColor : 'Background Color',
+ borderColor : 'Border Color',
+ data : 'Data',
+ header : 'Header',
+ yes : 'Yes',
+ no : 'No',
+ invalidWidth : 'Cell width must be a number.',
+ invalidHeight : 'Cell height must be a number.',
+ invalidRowSpan : 'Rows span must be a whole number.',
+ invalidColSpan : 'Columns span must be a whole number.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row',
+ insertBefore : 'Insert Row Before',
+ insertAfter : 'Insert Row After',
+ deleteRow : 'Delete Rows'
+ },
+
+ column :
+ {
+ menu : 'Column',
+ insertBefore : 'Insert Column Before',
+ insertAfter : 'Insert Column After',
+ deleteColumn : 'Delete Columns'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Button Properties',
+ text : 'Text (Value)',
+ type : 'Type',
+ typeBtn : 'Button',
+ typeSbm : 'Submit',
+ typeRst : 'Reset'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Checkbox Properties',
+ radioTitle : 'Radio Button Properties',
+ value : 'Value',
+ selected : 'Selected'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form Properties',
+ menu : 'Form Properties',
+ action : 'Action',
+ method : 'Method',
+ encoding : 'Encoding'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Selection Field Properties',
+ selectInfo : 'Select Info',
+ opAvail : 'Available Options',
+ value : 'Value',
+ size : 'Size',
+ lines : 'lines',
+ chkMulti : 'Allow multiple selections',
+ opText : 'Text',
+ opValue : 'Value',
+ btnAdd : 'Add',
+ btnModify : 'Modify',
+ btnUp : 'Up',
+ btnDown : 'Down',
+ btnSetValue : 'Set as selected value',
+ btnDelete : 'Delete'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Textarea Properties',
+ cols : 'Columns',
+ rows : 'Rows'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Text Field Properties',
+ name : 'Name',
+ value : 'Value',
+ charWidth : 'Character Width',
+ maxChars : 'Maximum Characters',
+ type : 'Type',
+ typeText : 'Text',
+ typePass : 'Password'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Hidden Field Properties',
+ name : 'Name',
+ value : 'Value'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Image Properties',
+ titleButton : 'Image Button Properties',
+ menu : 'Image Properties',
+ infoTab : 'Image Info',
+ btnUpload : 'Send it to the Server',
+ upload : 'Upload',
+ alt : 'Alternative Text',
+ width : 'Width',
+ height : 'Height',
+ lockRatio : 'Lock Ratio',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Reset Size',
+ border : 'Border',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignRight : 'Right',
+ alertUrl : 'Please type the image URL',
+ linkTab : 'Link',
+ button2Img : 'Do you want to transform the selected image button on a simple image?',
+ img2Button : 'Do you want to transform the selected image on a image button?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Properties',
+ propertiesTab : 'Properties',
+ title : 'Flash Properties',
+ chkPlay : 'Auto Play',
+ chkLoop : 'Loop',
+ chkMenu : 'Enable Flash Menu',
+ chkFull : 'Allow Fullscreen',
+ scale : 'Scale',
+ scaleAll : 'Show all',
+ scaleNoBorder : 'No Border',
+ scaleFit : 'Exact Fit',
+ access : 'Script Access',
+ accessAlways : 'Always',
+ accessSameDomain: 'Same domain',
+ accessNever : 'Never',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignAbsBottom : 'Abs Bottom',
+ alignAbsMiddle : 'Abs Middle',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Bottom',
+ alignMiddle : 'Middle',
+ alignRight : 'Right',
+ alignTextTop : 'Text Top',
+ alignTop : 'Top',
+ quality : 'Quality',
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode',
+ flashvars : 'Variables for Flash',
+ bgcolor : 'Background colour',
+ width : 'Width',
+ height : 'Height',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'URL must not be empty.',
+ validateWidth : 'Width must be a number.',
+ validateHeight : 'Height must be a number.',
+ validateHSpace : 'HSpace must be a number.',
+ validateVSpace : 'VSpace must be a number.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Check Spelling',
+ title : 'Spell Check',
+ notAvailable : 'Sorry, but service is unavailable now.',
+ errorLoading : 'Error loading application service host: %s.',
+ notInDic : 'Not in dictionary',
+ changeTo : 'Change to',
+ btnIgnore : 'Ignore',
+ btnIgnoreAll : 'Ignore All',
+ btnReplace : 'Replace',
+ btnReplaceAll : 'Replace All',
+ btnUndo : 'Undo',
+ noSuggestions : '- No suggestions -',
+ progress : 'Spell check in progress...',
+ noMispell : 'Spell check complete: No misspellings found',
+ noChanges : 'Spell check complete: No words changed',
+ oneChange : 'Spell check complete: One word changed',
+ manyChanges : 'Spell check complete: %1 words changed',
+ ieSpellDownload : 'Spell checker not installed. Do you want to download it now?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Insert a Smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Insert/Remove Numbered List',
+ bulletedlist : 'Insert/Remove Bulleted List',
+ indent : 'Increase Indent',
+ outdent : 'Decrease Indent',
+
+ justify :
+ {
+ left : 'Left Justify',
+ center : 'Centre Justify',
+ right : 'Right Justify',
+ block : 'Block Justify'
+ },
+
+ blockquote : 'Block Quote',
+
+ clipboard :
+ {
+ title : 'Paste',
+ cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
+ copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
+ pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Paste from Word',
+ title : 'Paste from Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Paste as plain text',
+ title : 'Paste as Plain Text'
+ },
+
+ templates :
+ {
+ button : 'Templates',
+ title : 'Content Templates',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents',
+ selectPromptMsg : 'Please select the template to open in the editor',
+ emptyListMsg : '(No templates defined)'
+ },
+
+ showBlocks : 'Show Blocks',
+
+ stylesCombo :
+ {
+ label : 'Styles',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles',
+ panelTitle2 : 'Inline Styles',
+ panelTitle3 : 'Object Styles'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Paragraph Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Font Name'
+ },
+
+ fontSize :
+ {
+ label : 'Size',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Font Size'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Text Colour',
+ bgColorTitle : 'Background Colour',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatic',
+ more : 'More Colours...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor',
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'Maximize',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/en-ca.js b/devel/third-party/ckeditor/lang/en-ca.js
new file mode 100644
index 0000000..40dd11e
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/en-ca.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * English (Canadian) language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en-ca'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Source',
+ newPage : 'New Page',
+ save : 'Save',
+ preview : 'Preview',
+ cut : 'Cut',
+ copy : 'Copy',
+ paste : 'Paste',
+ print : 'Print',
+ underline : 'Underline',
+ bold : 'Bold',
+ italic : 'Italic',
+ selectAll : 'Select All',
+ removeFormat : 'Remove Format',
+ strike : 'Strike Through',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Insert Horizontal Line',
+ pagebreak : 'Insert Page Break for Printing',
+ unlink : 'Unlink',
+ undo : 'Undo',
+ redo : 'Redo',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Browse Server',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'Upload',
+ uploadSubmit : 'Send it to the Server',
+ image : 'Image',
+ flash : 'Flash',
+ form : 'Form',
+ checkbox : 'Checkbox',
+ radio : 'Radio Button',
+ textField : 'Text Field',
+ textarea : 'Textarea',
+ hiddenField : 'Hidden Field',
+ button : 'Button',
+ select : 'Selection Field',
+ imageButton : 'Image Button',
+ notSet : '<not set>',
+ id : 'Id',
+ name : 'Name',
+ langDir : 'Language Direction',
+ langDirLtr : 'Left to Right (LTR)',
+ langDirRtl : 'Right to Left (RTL)',
+ langCode : 'Language Code',
+ longDescr : 'Long Description URL',
+ cssClass : 'Stylesheet Classes',
+ advisoryTitle : 'Advisory Title',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Cancel',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General',
+ advancedTab : 'Advanced',
+ validateNumberFailed : 'This value is not a number.',
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?',
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insert Special Character',
+ title : 'Select Special Character',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Link',
+ other : '<other>',
+ menu : 'Edit Link',
+ title : 'Link',
+ info : 'Link Info',
+ target : 'Target',
+ upload : 'Upload',
+ advanced : 'Advanced',
+ type : 'Link Type',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Link to anchor in the text',
+ toEmail : 'E-mail',
+ targetFrame : '<frame>',
+ targetPopup : '<popup window>',
+ targetFrameName : 'Target Frame Name',
+ targetPopupName : 'Popup Window Name',
+ popupFeatures : 'Popup Window Features',
+ popupResizable : 'Resizable',
+ popupStatusBar : 'Status Bar',
+ popupLocationBar: 'Location Bar',
+ popupToolbar : 'Toolbar',
+ popupMenuBar : 'Menu Bar',
+ popupFullScreen : 'Full Screen (IE)',
+ popupScrollBars : 'Scroll Bars',
+ popupDependent : 'Dependent (Netscape)',
+ popupWidth : 'Width',
+ popupLeft : 'Left Position',
+ popupHeight : 'Height',
+ popupTop : 'Top Position',
+ id : 'Id',
+ langDir : 'Language Direction',
+ langDirLTR : 'Left to Right (LTR)',
+ langDirRTL : 'Right to Left (RTL)',
+ acccessKey : 'Access Key',
+ name : 'Name',
+ langCode : 'Language Code',
+ tabIndex : 'Tab Index',
+ advisoryTitle : 'Advisory Title',
+ advisoryContentType : 'Advisory Content Type',
+ cssClasses : 'Stylesheet Classes',
+ charset : 'Linked Resource Charset',
+ styles : 'Style',
+ selectAnchor : 'Select an Anchor',
+ anchorName : 'By Anchor Name',
+ anchorId : 'By Element Id',
+ emailAddress : 'E-Mail Address',
+ emailSubject : 'Message Subject',
+ emailBody : 'Message Body',
+ noAnchors : '(No anchors available in the document)',
+ noUrl : 'Please type the link URL',
+ noEmail : 'Please type the e-mail address'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Anchor',
+ menu : 'Edit Anchor',
+ title : 'Anchor Properties',
+ name : 'Anchor Name',
+ errorName : 'Please type the anchor name'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace',
+ find : 'Find',
+ replace : 'Replace',
+ findWhat : 'Find what:',
+ replaceWith : 'Replace with:',
+ notFoundMsg : 'The specified text was not found.',
+ matchCase : 'Match case',
+ matchWord : 'Match whole word',
+ matchCyclic : 'Match cyclic',
+ replaceAll : 'Replace All',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Table',
+ title : 'Table Properties',
+ menu : 'Table Properties',
+ deleteTable : 'Delete Table',
+ rows : 'Rows',
+ columns : 'Columns',
+ border : 'Border size',
+ align : 'Alignment',
+ alignLeft : 'Left',
+ alignCenter : 'Centre',
+ alignRight : 'Right',
+ width : 'Width',
+ widthPx : 'pixels',
+ widthPc : 'percent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Height',
+ cellSpace : 'Cell spacing',
+ cellPad : 'Cell padding',
+ caption : 'Caption',
+ summary : 'Summary',
+ headers : 'Headers',
+ headersNone : 'None',
+ headersColumn : 'First column',
+ headersRow : 'First Row',
+ headersBoth : 'Both',
+ invalidRows : 'Number of rows must be a number greater than 0.',
+ invalidCols : 'Number of columns must be a number greater than 0.',
+ invalidBorder : 'Border size must be a number.',
+ invalidWidth : 'Table width must be a number.',
+ invalidHeight : 'Table height must be a number.',
+ invalidCellSpacing : 'Cell spacing must be a number.',
+ invalidCellPadding : 'Cell padding must be a number.',
+
+ cell :
+ {
+ menu : 'Cell',
+ insertBefore : 'Insert Cell Before',
+ insertAfter : 'Insert Cell After',
+ deleteCell : 'Delete Cells',
+ merge : 'Merge Cells',
+ mergeRight : 'Merge Right',
+ mergeDown : 'Merge Down',
+ splitHorizontal : 'Split Cell Horizontally',
+ splitVertical : 'Split Cell Vertically',
+ title : 'Cell Properties',
+ cellType : 'Cell Type',
+ rowSpan : 'Rows Span',
+ colSpan : 'Columns Span',
+ wordWrap : 'Word Wrap',
+ hAlign : 'Horizontal Alignment',
+ vAlign : 'Vertical Alignment',
+ alignTop : 'Top',
+ alignMiddle : 'Middle',
+ alignBottom : 'Bottom',
+ alignBaseline : 'Baseline',
+ bgColor : 'Background Color',
+ borderColor : 'Border Color',
+ data : 'Data',
+ header : 'Header',
+ yes : 'Yes',
+ no : 'No',
+ invalidWidth : 'Cell width must be a number.',
+ invalidHeight : 'Cell height must be a number.',
+ invalidRowSpan : 'Rows span must be a whole number.',
+ invalidColSpan : 'Columns span must be a whole number.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row',
+ insertBefore : 'Insert Row Before',
+ insertAfter : 'Insert Row After',
+ deleteRow : 'Delete Rows'
+ },
+
+ column :
+ {
+ menu : 'Column',
+ insertBefore : 'Insert Column Before',
+ insertAfter : 'Insert Column After',
+ deleteColumn : 'Delete Columns'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Button Properties',
+ text : 'Text (Value)',
+ type : 'Type',
+ typeBtn : 'Button',
+ typeSbm : 'Submit',
+ typeRst : 'Reset'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Checkbox Properties',
+ radioTitle : 'Radio Button Properties',
+ value : 'Value',
+ selected : 'Selected'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form Properties',
+ menu : 'Form Properties',
+ action : 'Action',
+ method : 'Method',
+ encoding : 'Encoding'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Selection Field Properties',
+ selectInfo : 'Select Info',
+ opAvail : 'Available Options',
+ value : 'Value',
+ size : 'Size',
+ lines : 'lines',
+ chkMulti : 'Allow multiple selections',
+ opText : 'Text',
+ opValue : 'Value',
+ btnAdd : 'Add',
+ btnModify : 'Modify',
+ btnUp : 'Up',
+ btnDown : 'Down',
+ btnSetValue : 'Set as selected value',
+ btnDelete : 'Delete'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Textarea Properties',
+ cols : 'Columns',
+ rows : 'Rows'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Text Field Properties',
+ name : 'Name',
+ value : 'Value',
+ charWidth : 'Character Width',
+ maxChars : 'Maximum Characters',
+ type : 'Type',
+ typeText : 'Text',
+ typePass : 'Password'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Hidden Field Properties',
+ name : 'Name',
+ value : 'Value'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Image Properties',
+ titleButton : 'Image Button Properties',
+ menu : 'Image Properties',
+ infoTab : 'Image Info',
+ btnUpload : 'Send it to the Server',
+ upload : 'Upload',
+ alt : 'Alternative Text',
+ width : 'Width',
+ height : 'Height',
+ lockRatio : 'Lock Ratio',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Reset Size',
+ border : 'Border',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignRight : 'Right',
+ alertUrl : 'Please type the image URL',
+ linkTab : 'Link',
+ button2Img : 'Do you want to transform the selected image button on a simple image?',
+ img2Button : 'Do you want to transform the selected image on a image button?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Properties',
+ propertiesTab : 'Properties',
+ title : 'Flash Properties',
+ chkPlay : 'Auto Play',
+ chkLoop : 'Loop',
+ chkMenu : 'Enable Flash Menu',
+ chkFull : 'Allow Fullscreen',
+ scale : 'Scale',
+ scaleAll : 'Show all',
+ scaleNoBorder : 'No Border',
+ scaleFit : 'Exact Fit',
+ access : 'Script Access',
+ accessAlways : 'Always',
+ accessSameDomain: 'Same domain',
+ accessNever : 'Never',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignAbsBottom : 'Abs Bottom',
+ alignAbsMiddle : 'Abs Middle',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Bottom',
+ alignMiddle : 'Middle',
+ alignRight : 'Right',
+ alignTextTop : 'Text Top',
+ alignTop : 'Top',
+ quality : 'Quality',
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode',
+ flashvars : 'Variables for Flash',
+ bgcolor : 'Background colour',
+ width : 'Width',
+ height : 'Height',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'URL must not be empty.',
+ validateWidth : 'Width must be a number.',
+ validateHeight : 'Height must be a number.',
+ validateHSpace : 'HSpace must be a number.',
+ validateVSpace : 'VSpace must be a number.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Check Spelling',
+ title : 'Spell Check',
+ notAvailable : 'Sorry, but service is unavailable now.',
+ errorLoading : 'Error loading application service host: %s.',
+ notInDic : 'Not in dictionary',
+ changeTo : 'Change to',
+ btnIgnore : 'Ignore',
+ btnIgnoreAll : 'Ignore All',
+ btnReplace : 'Replace',
+ btnReplaceAll : 'Replace All',
+ btnUndo : 'Undo',
+ noSuggestions : '- No suggestions -',
+ progress : 'Spell check in progress...',
+ noMispell : 'Spell check complete: No misspellings found',
+ noChanges : 'Spell check complete: No words changed',
+ oneChange : 'Spell check complete: One word changed',
+ manyChanges : 'Spell check complete: %1 words changed',
+ ieSpellDownload : 'Spell checker not installed. Do you want to download it now?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Insert a Smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Insert/Remove Numbered List',
+ bulletedlist : 'Insert/Remove Bulleted List',
+ indent : 'Increase Indent',
+ outdent : 'Decrease Indent',
+
+ justify :
+ {
+ left : 'Left Justify',
+ center : 'Centre Justify',
+ right : 'Right Justify',
+ block : 'Block Justify'
+ },
+
+ blockquote : 'Block Quote',
+
+ clipboard :
+ {
+ title : 'Paste',
+ cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
+ copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
+ pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Paste from Word',
+ title : 'Paste from Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Paste as plain text',
+ title : 'Paste as Plain Text'
+ },
+
+ templates :
+ {
+ button : 'Templates',
+ title : 'Content Templates',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents',
+ selectPromptMsg : 'Please select the template to open in the editor',
+ emptyListMsg : '(No templates defined)'
+ },
+
+ showBlocks : 'Show Blocks',
+
+ stylesCombo :
+ {
+ label : 'Styles',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles',
+ panelTitle2 : 'Inline Styles',
+ panelTitle3 : 'Object Styles'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Paragraph Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Font Name'
+ },
+
+ fontSize :
+ {
+ label : 'Size',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Font Size'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Text Colour',
+ bgColorTitle : 'Background Colour',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatic',
+ more : 'More Colours...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor',
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'Maximize',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/en-gb.js b/devel/third-party/ckeditor/lang/en-gb.js
new file mode 100644
index 0000000..c0779db
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/en-gb.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * English (United Kingdom) language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en-gb'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Source',
+ newPage : 'New Page',
+ save : 'Save',
+ preview : 'Preview',
+ cut : 'Cut',
+ copy : 'Copy',
+ paste : 'Paste',
+ print : 'Print',
+ underline : 'Underline',
+ bold : 'Bold',
+ italic : 'Italic',
+ selectAll : 'Select All',
+ removeFormat : 'Remove Format',
+ strike : 'Strike Through',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Insert Horizontal Line',
+ pagebreak : 'Insert Page Break for Printing',
+ unlink : 'Unlink',
+ undo : 'Undo',
+ redo : 'Redo',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Browse Server',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'Upload',
+ uploadSubmit : 'Send it to the Server',
+ image : 'Image',
+ flash : 'Flash',
+ form : 'Form',
+ checkbox : 'Checkbox',
+ radio : 'Radio Button',
+ textField : 'Text Field',
+ textarea : 'Textarea',
+ hiddenField : 'Hidden Field',
+ button : 'Button',
+ select : 'Selection Field',
+ imageButton : 'Image Button',
+ notSet : '<not set>',
+ id : 'Id',
+ name : 'Name',
+ langDir : 'Language Direction',
+ langDirLtr : 'Left to Right (LTR)',
+ langDirRtl : 'Right to Left (RTL)',
+ langCode : 'Language Code',
+ longDescr : 'Long Description URL',
+ cssClass : 'Stylesheet Classes',
+ advisoryTitle : 'Advisory Title',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Cancel',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General',
+ advancedTab : 'Advanced',
+ validateNumberFailed : 'This value is not a number.',
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?',
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insert Special Character',
+ title : 'Select Special Character',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Link',
+ other : '<other>',
+ menu : 'Edit Link',
+ title : 'Link',
+ info : 'Link Info',
+ target : 'Target',
+ upload : 'Upload',
+ advanced : 'Advanced',
+ type : 'Link Type',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Link to anchor in the text',
+ toEmail : 'E-mail',
+ targetFrame : '<frame>',
+ targetPopup : '<popup window>',
+ targetFrameName : 'Target Frame Name',
+ targetPopupName : 'Popup Window Name',
+ popupFeatures : 'Popup Window Features',
+ popupResizable : 'Resizable',
+ popupStatusBar : 'Status Bar',
+ popupLocationBar: 'Location Bar',
+ popupToolbar : 'Toolbar',
+ popupMenuBar : 'Menu Bar',
+ popupFullScreen : 'Full Screen (IE)',
+ popupScrollBars : 'Scroll Bars',
+ popupDependent : 'Dependent (Netscape)',
+ popupWidth : 'Width',
+ popupLeft : 'Left Position',
+ popupHeight : 'Height',
+ popupTop : 'Top Position',
+ id : 'Id',
+ langDir : 'Language Direction',
+ langDirLTR : 'Left to Right (LTR)',
+ langDirRTL : 'Right to Left (RTL)',
+ acccessKey : 'Access Key',
+ name : 'Name',
+ langCode : 'Language Code',
+ tabIndex : 'Tab Index',
+ advisoryTitle : 'Advisory Title',
+ advisoryContentType : 'Advisory Content Type',
+ cssClasses : 'Stylesheet Classes',
+ charset : 'Linked Resource Charset',
+ styles : 'Style',
+ selectAnchor : 'Select an Anchor',
+ anchorName : 'By Anchor Name',
+ anchorId : 'By Element Id',
+ emailAddress : 'E-Mail Address',
+ emailSubject : 'Message Subject',
+ emailBody : 'Message Body',
+ noAnchors : '(No anchors available in the document)',
+ noUrl : 'Please type the link URL',
+ noEmail : 'Please type the e-mail address'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Anchor',
+ menu : 'Edit Anchor',
+ title : 'Anchor Properties',
+ name : 'Anchor Name',
+ errorName : 'Please type the anchor name'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace',
+ find : 'Find',
+ replace : 'Replace',
+ findWhat : 'Find what:',
+ replaceWith : 'Replace with:',
+ notFoundMsg : 'The specified text was not found.',
+ matchCase : 'Match case',
+ matchWord : 'Match whole word',
+ matchCyclic : 'Match cyclic',
+ replaceAll : 'Replace All',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Table',
+ title : 'Table Properties',
+ menu : 'Table Properties',
+ deleteTable : 'Delete Table',
+ rows : 'Rows',
+ columns : 'Columns',
+ border : 'Border size',
+ align : 'Alignment',
+ alignLeft : 'Left',
+ alignCenter : 'Centre',
+ alignRight : 'Right',
+ width : 'Width',
+ widthPx : 'pixels',
+ widthPc : 'percent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Height',
+ cellSpace : 'Cell spacing',
+ cellPad : 'Cell padding',
+ caption : 'Caption',
+ summary : 'Summary',
+ headers : 'Headers',
+ headersNone : 'None',
+ headersColumn : 'First column',
+ headersRow : 'First Row',
+ headersBoth : 'Both',
+ invalidRows : 'Number of rows must be a number greater than 0.',
+ invalidCols : 'Number of columns must be a number greater than 0.',
+ invalidBorder : 'Border size must be a number.',
+ invalidWidth : 'Table width must be a number.',
+ invalidHeight : 'Table height must be a number.',
+ invalidCellSpacing : 'Cell spacing must be a number.',
+ invalidCellPadding : 'Cell padding must be a number.',
+
+ cell :
+ {
+ menu : 'Cell',
+ insertBefore : 'Insert Cell Before',
+ insertAfter : 'Insert Cell After',
+ deleteCell : 'Delete Cells',
+ merge : 'Merge Cells',
+ mergeRight : 'Merge Right',
+ mergeDown : 'Merge Down',
+ splitHorizontal : 'Split Cell Horizontally',
+ splitVertical : 'Split Cell Vertically',
+ title : 'Cell Properties',
+ cellType : 'Cell Type',
+ rowSpan : 'Rows Span',
+ colSpan : 'Columns Span',
+ wordWrap : 'Word Wrap',
+ hAlign : 'Horizontal Alignment',
+ vAlign : 'Vertical Alignment',
+ alignTop : 'Top',
+ alignMiddle : 'Middle',
+ alignBottom : 'Bottom',
+ alignBaseline : 'Baseline',
+ bgColor : 'Background Color',
+ borderColor : 'Border Color',
+ data : 'Data',
+ header : 'Header',
+ yes : 'Yes',
+ no : 'No',
+ invalidWidth : 'Cell width must be a number.',
+ invalidHeight : 'Cell height must be a number.',
+ invalidRowSpan : 'Rows span must be a whole number.',
+ invalidColSpan : 'Columns span must be a whole number.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row',
+ insertBefore : 'Insert Row Before',
+ insertAfter : 'Insert Row After',
+ deleteRow : 'Delete Rows'
+ },
+
+ column :
+ {
+ menu : 'Column',
+ insertBefore : 'Insert Column Before',
+ insertAfter : 'Insert Column After',
+ deleteColumn : 'Delete Columns'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Button Properties',
+ text : 'Text (Value)',
+ type : 'Type',
+ typeBtn : 'Button',
+ typeSbm : 'Submit',
+ typeRst : 'Reset'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Checkbox Properties',
+ radioTitle : 'Radio Button Properties',
+ value : 'Value',
+ selected : 'Selected'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form Properties',
+ menu : 'Form Properties',
+ action : 'Action',
+ method : 'Method',
+ encoding : 'Encoding'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Selection Field Properties',
+ selectInfo : 'Select Info',
+ opAvail : 'Available Options',
+ value : 'Value',
+ size : 'Size',
+ lines : 'lines',
+ chkMulti : 'Allow multiple selections',
+ opText : 'Text',
+ opValue : 'Value',
+ btnAdd : 'Add',
+ btnModify : 'Modify',
+ btnUp : 'Up',
+ btnDown : 'Down',
+ btnSetValue : 'Set as selected value',
+ btnDelete : 'Delete'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Textarea Properties',
+ cols : 'Columns',
+ rows : 'Rows'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Text Field Properties',
+ name : 'Name',
+ value : 'Value',
+ charWidth : 'Character Width',
+ maxChars : 'Maximum Characters',
+ type : 'Type',
+ typeText : 'Text',
+ typePass : 'Password'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Hidden Field Properties',
+ name : 'Name',
+ value : 'Value'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Image Properties',
+ titleButton : 'Image Button Properties',
+ menu : 'Image Properties',
+ infoTab : 'Image Info',
+ btnUpload : 'Send it to the Server',
+ upload : 'Upload',
+ alt : 'Alternative Text',
+ width : 'Width',
+ height : 'Height',
+ lockRatio : 'Lock Ratio',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Reset Size',
+ border : 'Border',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignRight : 'Right',
+ alertUrl : 'Please type the image URL',
+ linkTab : 'Link',
+ button2Img : 'Do you want to transform the selected image button on a simple image?',
+ img2Button : 'Do you want to transform the selected image on a image button?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Properties',
+ propertiesTab : 'Properties',
+ title : 'Flash Properties',
+ chkPlay : 'Auto Play',
+ chkLoop : 'Loop',
+ chkMenu : 'Enable Flash Menu',
+ chkFull : 'Allow Fullscreen',
+ scale : 'Scale',
+ scaleAll : 'Show all',
+ scaleNoBorder : 'No Border',
+ scaleFit : 'Exact Fit',
+ access : 'Script Access',
+ accessAlways : 'Always',
+ accessSameDomain: 'Same domain',
+ accessNever : 'Never',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignAbsBottom : 'Abs Bottom',
+ alignAbsMiddle : 'Abs Middle',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Bottom',
+ alignMiddle : 'Middle',
+ alignRight : 'Right',
+ alignTextTop : 'Text Top',
+ alignTop : 'Top',
+ quality : 'Quality',
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode',
+ flashvars : 'Variables for Flash',
+ bgcolor : 'Background colour',
+ width : 'Width',
+ height : 'Height',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'URL must not be empty.',
+ validateWidth : 'Width must be a number.',
+ validateHeight : 'Height must be a number.',
+ validateHSpace : 'HSpace must be a number.',
+ validateVSpace : 'VSpace must be a number.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Check Spelling',
+ title : 'Spell Check',
+ notAvailable : 'Sorry, but service is unavailable now.',
+ errorLoading : 'Error loading application service host: %s.',
+ notInDic : 'Not in dictionary',
+ changeTo : 'Change to',
+ btnIgnore : 'Ignore',
+ btnIgnoreAll : 'Ignore All',
+ btnReplace : 'Replace',
+ btnReplaceAll : 'Replace All',
+ btnUndo : 'Undo',
+ noSuggestions : '- No suggestions -',
+ progress : 'Spell check in progress...',
+ noMispell : 'Spell check complete: No misspellings found',
+ noChanges : 'Spell check complete: No words changed',
+ oneChange : 'Spell check complete: One word changed',
+ manyChanges : 'Spell check complete: %1 words changed',
+ ieSpellDownload : 'Spell checker not installed. Do you want to download it now?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Insert a Smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Insert/Remove Numbered List',
+ bulletedlist : 'Insert/Remove Bulleted List',
+ indent : 'Increase Indent',
+ outdent : 'Decrease Indent',
+
+ justify :
+ {
+ left : 'Left Justify',
+ center : 'Centre Justify',
+ right : 'Right Justify',
+ block : 'Block Justify'
+ },
+
+ blockquote : 'Block Quote',
+
+ clipboard :
+ {
+ title : 'Paste',
+ cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
+ copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
+ pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
+ pasteArea : 'Paste Area'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Paste from Word',
+ title : 'Paste from Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Paste as plain text',
+ title : 'Paste as Plain Text'
+ },
+
+ templates :
+ {
+ button : 'Templates',
+ title : 'Content Templates',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents',
+ selectPromptMsg : 'Please select the template to open in the editor',
+ emptyListMsg : '(No templates defined)'
+ },
+
+ showBlocks : 'Show Blocks',
+
+ stylesCombo :
+ {
+ label : 'Styles',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles',
+ panelTitle2 : 'Inline Styles',
+ panelTitle3 : 'Object Styles'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Paragraph Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Font Name'
+ },
+
+ fontSize :
+ {
+ label : 'Size',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Font Size'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Text Colour',
+ bgColorTitle : 'Background Colour',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatic',
+ more : 'More Colours...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor',
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'Maximize',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/en.js b/devel/third-party/ckeditor/lang/en.js
new file mode 100644
index 0000000..fee64f9
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/en.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the English
+ * language. This is the base file for all translations.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['en'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.',
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar',
+ editor : 'Rich Text Editor',
+
+ // Toolbar buttons without dialogs.
+ source : 'Source',
+ newPage : 'New Page',
+ save : 'Save',
+ preview : 'Preview',
+ cut : 'Cut',
+ copy : 'Copy',
+ paste : 'Paste',
+ print : 'Print',
+ underline : 'Underline',
+ bold : 'Bold',
+ italic : 'Italic',
+ selectAll : 'Select All',
+ removeFormat : 'Remove Format',
+ strike : 'Strike Through',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Insert Horizontal Line',
+ pagebreak : 'Insert Page Break for Printing',
+ unlink : 'Unlink',
+ undo : 'Undo',
+ redo : 'Redo',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Browse Server',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'Upload',
+ uploadSubmit : 'Send it to the Server',
+ image : 'Image',
+ flash : 'Flash',
+ form : 'Form',
+ checkbox : 'Checkbox',
+ radio : 'Radio Button',
+ textField : 'Text Field',
+ textarea : 'Textarea',
+ hiddenField : 'Hidden Field',
+ button : 'Button',
+ select : 'Selection Field',
+ imageButton : 'Image Button',
+ notSet : '<not set>',
+ id : 'Id',
+ name : 'Name',
+ langDir : 'Language Direction',
+ langDirLtr : 'Left to Right (LTR)',
+ langDirRtl : 'Right to Left (RTL)',
+ langCode : 'Language Code',
+ longDescr : 'Long Description URL',
+ cssClass : 'Stylesheet Classes',
+ advisoryTitle : 'Advisory Title',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Cancel',
+ close : 'Close',
+ preview : 'Preview',
+ generalTab : 'General',
+ advancedTab : 'Advanced',
+ validateNumberFailed : 'This value is not a number.',
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?',
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?',
+ options : 'Options',
+ target : 'Target',
+ targetNew : 'New Window (_blank)',
+ targetTop : 'Topmost Window (_top)',
+ targetSelf : 'Same Window (_self)',
+ targetParent : 'Parent Window (_parent)',
+ langDirLTR : 'Left to Right (LTR)',
+ langDirRTL : 'Right to Left (RTL)',
+ styles : 'Style',
+ cssClasses : 'Stylesheet Classes',
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insert Special Character',
+ title : 'Select Special Character',
+ options : 'Special Character Options'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Link',
+ other : '<other>',
+ menu : 'Edit Link',
+ title : 'Link',
+ info : 'Link Info',
+ target : 'Target',
+ upload : 'Upload',
+ advanced : 'Advanced',
+ type : 'Link Type',
+ toUrl : 'URL',
+ toAnchor : 'Link to anchor in the text',
+ toEmail : 'E-mail',
+ targetFrame : '<frame>',
+ targetPopup : '<popup window>',
+ targetFrameName : 'Target Frame Name',
+ targetPopupName : 'Popup Window Name',
+ popupFeatures : 'Popup Window Features',
+ popupResizable : 'Resizable',
+ popupStatusBar : 'Status Bar',
+ popupLocationBar: 'Location Bar',
+ popupToolbar : 'Toolbar',
+ popupMenuBar : 'Menu Bar',
+ popupFullScreen : 'Full Screen (IE)',
+ popupScrollBars : 'Scroll Bars',
+ popupDependent : 'Dependent (Netscape)',
+ popupWidth : 'Width',
+ popupLeft : 'Left Position',
+ popupHeight : 'Height',
+ popupTop : 'Top Position',
+ id : 'Id',
+ langDir : 'Language Direction',
+ langDirLTR : 'Left to Right (LTR)',
+ langDirRTL : 'Right to Left (RTL)',
+ acccessKey : 'Access Key',
+ name : 'Name',
+ langCode : 'Language Code',
+ tabIndex : 'Tab Index',
+ advisoryTitle : 'Advisory Title',
+ advisoryContentType : 'Advisory Content Type',
+ cssClasses : 'Stylesheet Classes',
+ charset : 'Linked Resource Charset',
+ styles : 'Style',
+ selectAnchor : 'Select an Anchor',
+ anchorName : 'By Anchor Name',
+ anchorId : 'By Element Id',
+ emailAddress : 'E-Mail Address',
+ emailSubject : 'Message Subject',
+ emailBody : 'Message Body',
+ noAnchors : '(No anchors available in the document)',
+ noUrl : 'Please type the link URL',
+ noEmail : 'Please type the e-mail address'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Anchor',
+ menu : 'Edit Anchor',
+ title : 'Anchor Properties',
+ name : 'Anchor Name',
+ errorName : 'Please type the anchor name'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties',
+ bulletedTitle : 'Bulleted List Properties',
+ type : 'Type',
+ start : 'Start',
+ validateStartNumber :'List start number must be a whole number.',
+ circle : 'Circle',
+ disc : 'Disc',
+ square : 'Square',
+ none : 'None',
+ notset : '<not set>',
+ armenian : 'Armenian numbering',
+ georgian : 'Georgian numbering (an, ban, gan, etc.)',
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)',
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)',
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)',
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)',
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)',
+ decimal : 'Decimal (1, 2, 3, etc.)',
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace',
+ find : 'Find',
+ replace : 'Replace',
+ findWhat : 'Find what:',
+ replaceWith : 'Replace with:',
+ notFoundMsg : 'The specified text was not found.',
+ matchCase : 'Match case',
+ matchWord : 'Match whole word',
+ matchCyclic : 'Match cyclic',
+ replaceAll : 'Replace All',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Table',
+ title : 'Table Properties',
+ menu : 'Table Properties',
+ deleteTable : 'Delete Table',
+ rows : 'Rows',
+ columns : 'Columns',
+ border : 'Border size',
+ align : 'Alignment',
+ alignLeft : 'Left',
+ alignCenter : 'Center',
+ alignRight : 'Right',
+ width : 'Width',
+ widthPx : 'pixels',
+ widthPc : 'percent',
+ widthUnit : 'width unit',
+ height : 'Height',
+ cellSpace : 'Cell spacing',
+ cellPad : 'Cell padding',
+ caption : 'Caption',
+ summary : 'Summary',
+ headers : 'Headers',
+ headersNone : 'None',
+ headersColumn : 'First column',
+ headersRow : 'First Row',
+ headersBoth : 'Both',
+ invalidRows : 'Number of rows must be a number greater than 0.',
+ invalidCols : 'Number of columns must be a number greater than 0.',
+ invalidBorder : 'Border size must be a number.',
+ invalidWidth : 'Table width must be a number.',
+ invalidHeight : 'Table height must be a number.',
+ invalidCellSpacing : 'Cell spacing must be a number.',
+ invalidCellPadding : 'Cell padding must be a number.',
+
+ cell :
+ {
+ menu : 'Cell',
+ insertBefore : 'Insert Cell Before',
+ insertAfter : 'Insert Cell After',
+ deleteCell : 'Delete Cells',
+ merge : 'Merge Cells',
+ mergeRight : 'Merge Right',
+ mergeDown : 'Merge Down',
+ splitHorizontal : 'Split Cell Horizontally',
+ splitVertical : 'Split Cell Vertically',
+ title : 'Cell Properties',
+ cellType : 'Cell Type',
+ rowSpan : 'Rows Span',
+ colSpan : 'Columns Span',
+ wordWrap : 'Word Wrap',
+ hAlign : 'Horizontal Alignment',
+ vAlign : 'Vertical Alignment',
+ alignTop : 'Top',
+ alignMiddle : 'Middle',
+ alignBottom : 'Bottom',
+ alignBaseline : 'Baseline',
+ bgColor : 'Background Color',
+ borderColor : 'Border Color',
+ data : 'Data',
+ header : 'Header',
+ yes : 'Yes',
+ no : 'No',
+ invalidWidth : 'Cell width must be a number.',
+ invalidHeight : 'Cell height must be a number.',
+ invalidRowSpan : 'Rows span must be a whole number.',
+ invalidColSpan : 'Columns span must be a whole number.',
+ chooseColor : 'Choose'
+ },
+
+ row :
+ {
+ menu : 'Row',
+ insertBefore : 'Insert Row Before',
+ insertAfter : 'Insert Row After',
+ deleteRow : 'Delete Rows'
+ },
+
+ column :
+ {
+ menu : 'Column',
+ insertBefore : 'Insert Column Before',
+ insertAfter : 'Insert Column After',
+ deleteColumn : 'Delete Columns'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Button Properties',
+ text : 'Text (Value)',
+ type : 'Type',
+ typeBtn : 'Button',
+ typeSbm : 'Submit',
+ typeRst : 'Reset'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Checkbox Properties',
+ radioTitle : 'Radio Button Properties',
+ value : 'Value',
+ selected : 'Selected'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form Properties',
+ menu : 'Form Properties',
+ action : 'Action',
+ method : 'Method',
+ encoding : 'Encoding'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Selection Field Properties',
+ selectInfo : 'Select Info',
+ opAvail : 'Available Options',
+ value : 'Value',
+ size : 'Size',
+ lines : 'lines',
+ chkMulti : 'Allow multiple selections',
+ opText : 'Text',
+ opValue : 'Value',
+ btnAdd : 'Add',
+ btnModify : 'Modify',
+ btnUp : 'Up',
+ btnDown : 'Down',
+ btnSetValue : 'Set as selected value',
+ btnDelete : 'Delete'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Textarea Properties',
+ cols : 'Columns',
+ rows : 'Rows'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Text Field Properties',
+ name : 'Name',
+ value : 'Value',
+ charWidth : 'Character Width',
+ maxChars : 'Maximum Characters',
+ type : 'Type',
+ typeText : 'Text',
+ typePass : 'Password'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Hidden Field Properties',
+ name : 'Name',
+ value : 'Value'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Image Properties',
+ titleButton : 'Image Button Properties',
+ menu : 'Image Properties',
+ infoTab : 'Image Info',
+ btnUpload : 'Send it to the Server',
+ upload : 'Upload',
+ alt : 'Alternative Text',
+ width : 'Width',
+ height : 'Height',
+ lockRatio : 'Lock Ratio',
+ unlockRatio : 'Unlock Ratio',
+ resetSize : 'Reset Size',
+ border : 'Border',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignRight : 'Right',
+ alertUrl : 'Please type the image URL',
+ linkTab : 'Link',
+ button2Img : 'Do you want to transform the selected image button on a simple image?',
+ img2Button : 'Do you want to transform the selected image on a image button?',
+ urlMissing : 'Image source URL is missing.',
+ validateWidth : 'Width must be a whole number.',
+ validateHeight : 'Height must be a whole number.',
+ validateBorder : 'Border must be a whole number.',
+ validateHSpace : 'HSpace must be a whole number.',
+ validateVSpace : 'VSpace must be a whole number.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Properties',
+ propertiesTab : 'Properties',
+ title : 'Flash Properties',
+ chkPlay : 'Auto Play',
+ chkLoop : 'Loop',
+ chkMenu : 'Enable Flash Menu',
+ chkFull : 'Allow Fullscreen',
+ scale : 'Scale',
+ scaleAll : 'Show all',
+ scaleNoBorder : 'No Border',
+ scaleFit : 'Exact Fit',
+ access : 'Script Access',
+ accessAlways : 'Always',
+ accessSameDomain: 'Same domain',
+ accessNever : 'Never',
+ align : 'Align',
+ alignLeft : 'Left',
+ alignAbsBottom : 'Abs Bottom',
+ alignAbsMiddle : 'Abs Middle',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Bottom',
+ alignMiddle : 'Middle',
+ alignRight : 'Right',
+ alignTextTop : 'Text Top',
+ alignTop : 'Top',
+ quality : 'Quality',
+ qualityBest : 'Best',
+ qualityHigh : 'High',
+ qualityAutoHigh : 'Auto High',
+ qualityMedium : 'Medium',
+ qualityAutoLow : 'Auto Low',
+ qualityLow : 'Low',
+ windowModeWindow: 'Window',
+ windowModeOpaque: 'Opaque',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Window mode',
+ flashvars : 'Variables for Flash',
+ bgcolor : 'Background color',
+ width : 'Width',
+ height : 'Height',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'URL must not be empty.',
+ validateWidth : 'Width must be a number.',
+ validateHeight : 'Height must be a number.',
+ validateHSpace : 'HSpace must be a number.',
+ validateVSpace : 'VSpace must be a number.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Check Spelling',
+ title : 'Spell Check',
+ notAvailable : 'Sorry, but service is unavailable now.',
+ errorLoading : 'Error loading application service host: %s.',
+ notInDic : 'Not in dictionary',
+ changeTo : 'Change to',
+ btnIgnore : 'Ignore',
+ btnIgnoreAll : 'Ignore All',
+ btnReplace : 'Replace',
+ btnReplaceAll : 'Replace All',
+ btnUndo : 'Undo',
+ noSuggestions : '- No suggestions -',
+ progress : 'Spell check in progress...',
+ noMispell : 'Spell check complete: No misspellings found',
+ noChanges : 'Spell check complete: No words changed',
+ oneChange : 'Spell check complete: One word changed',
+ manyChanges : 'Spell check complete: %1 words changed',
+ ieSpellDownload : 'Spell checker not installed. Do you want to download it now?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Insert a Smiley',
+ options : 'Smiley Options'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path',
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Insert/Remove Numbered List',
+ bulletedlist : 'Insert/Remove Bulleted List',
+ indent : 'Increase Indent',
+ outdent : 'Decrease Indent',
+
+ justify :
+ {
+ left : 'Left Justify',
+ center : 'Center Justify',
+ right : 'Right Justify',
+ block : 'Block Justify'
+ },
+
+ blockquote : 'Block Quote',
+
+ clipboard :
+ {
+ title : 'Paste',
+ cutError : 'Your browser security settings don\'t permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl/Cmd+X).',
+ copyError : 'Your browser security settings don\'t permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl/Cmd+C).',
+ pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.',
+ pasteArea : 'Paste Area'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',
+ toolbar : 'Paste from Word',
+ title : 'Paste from Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error'
+ },
+
+ pasteText :
+ {
+ button : 'Paste as plain text',
+ title : 'Paste as Plain Text'
+ },
+
+ templates :
+ {
+ button : 'Templates',
+ title : 'Content Templates',
+ options : 'Template Options',
+ insertOption : 'Replace actual contents',
+ selectPromptMsg : 'Please select the template to open in the editor',
+ emptyListMsg : '(No templates defined)'
+ },
+
+ showBlocks : 'Show Blocks',
+
+ stylesCombo :
+ {
+ label : 'Styles',
+ panelTitle : 'Formatting Styles',
+ panelTitle1 : 'Block Styles',
+ panelTitle2 : 'Inline Styles',
+ panelTitle3 : 'Object Styles'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Paragraph Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container',
+ toolbar : 'Create Div Container',
+ cssClassInputLabel : 'Stylesheet Classes',
+ styleSelectLabel : 'Style',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Language Code',
+ inlineStyleInputLabel : 'Inline Style',
+ advisoryTitleInputLabel : 'Advisory Title',
+ langDirLabel : 'Language Direction',
+ langDirLTRLabel : 'Left to Right (LTR)',
+ langDirRTLLabel : 'Right to Left (RTL)',
+ edit : 'Edit Div',
+ remove : 'Remove Div'
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font',
+ panelTitle : 'Font Name'
+ },
+
+ fontSize :
+ {
+ label : 'Size',
+ voiceLabel : 'Font Size',
+ panelTitle : 'Font Size'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Text Color',
+ bgColorTitle : 'Background Color',
+ panelTitle : 'Colors',
+ auto : 'Automatic',
+ more : 'More Colors...'
+ },
+
+ colors :
+ {
+ '000' : 'Black',
+ '800000' : 'Maroon',
+ '8B4513' : 'Saddle Brown',
+ '2F4F4F' : 'Dark Slate Gray',
+ '008080' : 'Teal',
+ '000080' : 'Navy',
+ '4B0082' : 'Indigo',
+ '696969' : 'Dark Gray',
+ 'B22222' : 'Fire Brick',
+ 'A52A2A' : 'Brown',
+ 'DAA520' : 'Golden Rod',
+ '006400' : 'Dark Green',
+ '40E0D0' : 'Turquoise',
+ '0000CD' : 'Medium Blue',
+ '800080' : 'Purple',
+ '808080' : 'Gray',
+ 'F00' : 'Red',
+ 'FF8C00' : 'Dark Orange',
+ 'FFD700' : 'Gold',
+ '008000' : 'Green',
+ '0FF' : 'Cyan',
+ '00F' : 'Blue',
+ 'EE82EE' : 'Violet',
+ 'A9A9A9' : 'Dim Gray',
+ 'FFA07A' : 'Light Salmon',
+ 'FFA500' : 'Orange',
+ 'FFFF00' : 'Yellow',
+ '00FF00' : 'Lime',
+ 'AFEEEE' : 'Pale Turquoise',
+ 'ADD8E6' : 'Light Blue',
+ 'DDA0DD' : 'Plum',
+ 'D3D3D3' : 'Light Grey',
+ 'FFF0F5' : 'Lavender Blush',
+ 'FAEBD7' : 'Antique White',
+ 'FFFFE0' : 'Light Yellow',
+ 'F0FFF0' : 'Honeydew',
+ 'F0FFFF' : 'Azure',
+ 'F0F8FF' : 'Alice Blue',
+ 'E6E6FA' : 'Lavender',
+ 'FFF' : 'White'
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type',
+ opera_title : 'Not supported by Opera',
+ enable : 'Enable SCAYT',
+ disable : 'Disable SCAYT',
+ about : 'About SCAYT',
+ toggle : 'Toggle SCAYT',
+ options : 'Options',
+ langs : 'Languages',
+ moreSuggestions : 'More suggestions',
+ ignore : 'Ignore',
+ ignoreAll : 'Ignore All',
+ addWord : 'Add Word',
+ emptyDic : 'Dictionary name should not be empty.',
+
+ optionsTab : 'Options',
+ allCaps : 'Ignore All-Caps Words',
+ ignoreDomainNames : 'Ignore Domain Names',
+ mixedCase : 'Ignore Words with Mixed Case',
+ mixedWithDigits : 'Ignore Words with Numbers',
+
+ languagesTab : 'Languages',
+
+ dictionariesTab : 'Dictionaries',
+ dic_field_name : 'Dictionary name',
+ dic_create : 'Create',
+ dic_restore : 'Restore',
+ dic_delete : 'Delete',
+ dic_rename : 'Rename',
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.',
+
+ aboutTab : 'About'
+ },
+
+ about :
+ {
+ title : 'About CKEditor',
+ dlgTitle : 'About CKEditor',
+ moreInfo : 'For licensing information please visit our web site:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'Maximize',
+ minimize : 'Minimize',
+
+ fakeobjects :
+ {
+ anchor : 'Anchor',
+ flash : 'Flash Animation',
+ div : 'Page Break',
+ unknown : 'Unknown Object'
+ },
+
+ resize : 'Drag to resize',
+
+ colordialog :
+ {
+ title : 'Select color',
+ options : 'Color Options',
+ highlight : 'Highlight',
+ selected : 'Selected Color',
+ clear : 'Clear'
+ },
+
+ toolbarCollapse : 'Collapse Toolbar',
+ toolbarExpand : 'Expand Toolbar',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right',
+ rtl : 'Text direction from right to left'
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/eo.js b/devel/third-party/ckeditor/lang/eo.js
new file mode 100644
index 0000000..d36c7f1
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/eo.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Esperanto language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['eo'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Fonto',
+ newPage : 'Nova PaÄo',
+ save : 'Sekurigi',
+ preview : 'Vidigi Aspekton',
+ cut : 'Eltondi',
+ copy : 'Kopii',
+ paste : 'Interglui',
+ print : 'Presi',
+ underline : 'Substreko',
+ bold : 'Grasa',
+ italic : 'Kursiva',
+ selectAll : 'Elekti Äion',
+ removeFormat : 'Forigi Formaton',
+ strike : 'Trastreko',
+ subscript : 'Subskribo',
+ superscript : 'Superskribo',
+ horizontalrule : 'Enmeti Horizonta Linio',
+ pagebreak : 'Insert Page Break for Printing', // MISSING
+ unlink : 'Forigi Ligilon',
+ undo : 'Malfari',
+ redo : 'Refari',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Foliumi en la Servilo',
+ url : 'URL',
+ protocol : 'Protokolo',
+ upload : 'AlÅuti',
+ uploadSubmit : 'Sendu al Servilo',
+ image : 'Bildo',
+ flash : 'Flash', // MISSING
+ form : 'Formularo',
+ checkbox : 'Markobutono',
+ radio : 'Radiobutono',
+ textField : 'Teksta kampo',
+ textarea : 'Teksta Areo',
+ hiddenField : 'KaÅita Kampo',
+ button : 'Butono',
+ select : 'Elekta Kampo',
+ imageButton : 'Bildbutono',
+ notSet : '<DefaÅlta>',
+ id : 'Id',
+ name : 'Nomo',
+ langDir : 'Skribdirekto',
+ langDirLtr : 'De maldekstro dekstren (LTR)',
+ langDirRtl : 'De dekstro maldekstren (RTL)',
+ langCode : 'Lingva Kodo',
+ longDescr : 'URL de Longa Priskribo',
+ cssClass : 'Klasoj de Stilfolioj',
+ advisoryTitle : 'Indika Titolo',
+ cssStyle : 'Stilo',
+ ok : 'Akcepti',
+ cancel : 'Rezigni',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Speciala',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Enmeti Specialan Signon',
+ title : 'Enmeti Specialan Signon',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Enmeti/ÅanÄi Ligilon',
+ other : '<other>', // MISSING
+ menu : 'Modifier Ligilon',
+ title : 'Ligilo',
+ info : 'Informoj pri la Ligilo',
+ target : 'Celo',
+ upload : 'AlÅuti',
+ advanced : 'Speciala',
+ type : 'Tipo de Ligilo',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Ankri en tiu Äi paÄo',
+ toEmail : 'RetpoÅto',
+ targetFrame : '<kadro>',
+ targetPopup : '<Åprucfenestro>',
+ targetFrameName : 'Nomo de Kadro',
+ targetPopupName : 'Nomo de Åprucfenestro',
+ popupFeatures : 'Atributoj de la Åprucfenestro',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Statobreto',
+ popupLocationBar: 'Adresobreto',
+ popupToolbar : 'Ilobreto',
+ popupMenuBar : 'Menubreto',
+ popupFullScreen : 'Tutekrane (IE)',
+ popupScrollBars : 'Rulumlisteloj',
+ popupDependent : 'Dependa (Netscape)',
+ popupWidth : 'LarÄo',
+ popupLeft : 'Pozicio de Maldekstro',
+ popupHeight : 'Alto',
+ popupTop : 'Pozicio de Supro',
+ id : 'Id', // MISSING
+ langDir : 'Skribdirekto',
+ langDirLTR : 'De maldekstro dekstren (LTR)',
+ langDirRTL : 'De dekstro maldekstren (RTL)',
+ acccessKey : 'Fulmoklavo',
+ name : 'Nomo',
+ langCode : 'Skribdirekto',
+ tabIndex : 'Taba Ordo',
+ advisoryTitle : 'Indika Titolo',
+ advisoryContentType : 'Indika Enhavotipo',
+ cssClasses : 'Klasoj de Stilfolioj',
+ charset : 'Signaro de la Ligita Rimedo',
+ styles : 'Stilo',
+ selectAnchor : 'Elekti Ankron',
+ anchorName : 'Per Ankronomo',
+ anchorId : 'Per Elementidentigilo',
+ emailAddress : 'Retadreso',
+ emailSubject : 'Temlinio',
+ emailBody : 'MesaÄa korpo',
+ noAnchors : '<Ne disponeblas ankroj en la dokumento>',
+ noUrl : 'Bonvolu entajpi la URL-on',
+ noEmail : 'Bonvolu entajpi la retadreson'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Enmeti/ÅanÄi Ankron',
+ menu : 'Ankraj Atributoj',
+ title : 'Ankraj Atributoj',
+ name : 'Ankra Nomo',
+ errorName : 'Bv tajpi la ankran nomon'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'SerÄi',
+ replace : 'AnstataÅigi',
+ findWhat : 'SerÄi:',
+ replaceWith : 'AnstataÅigi per:',
+ notFoundMsg : 'La celteksto ne estas trovita.',
+ matchCase : 'Kongruigi Usklecon',
+ matchWord : 'Tuta Vorto',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'AnstataÅigi Äiun',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabelo',
+ title : 'Atributoj de Tabelo',
+ menu : 'Atributoj de Tabelo',
+ deleteTable : 'Delete Table', // MISSING
+ rows : 'Linioj',
+ columns : 'Kolumnoj',
+ border : 'Bordero',
+ align : 'Äisrandigo',
+ alignLeft : 'Maldekstre',
+ alignCenter : 'Centre',
+ alignRight : 'Dekstre',
+ width : 'LarÄo',
+ widthPx : 'Bitbilderoj',
+ widthPc : 'elcentoj',
+ widthUnit : 'width unit', // MISSING
+ height : 'Alto',
+ cellSpace : 'Interspacigo de Äeloj',
+ cellPad : 'ÄirkaÅenhava Plenigado',
+ caption : 'Titolo',
+ summary : 'Summary', // MISSING
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell', // MISSING
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'Forigi Äelojn',
+ merge : 'Kunfandi Äelojn',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row', // MISSING
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'Forigi Liniojn'
+ },
+
+ column :
+ {
+ menu : 'Column', // MISSING
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'Forigi Kolumnojn'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Butonaj Atributoj',
+ text : 'Teksto (Valoro)',
+ type : 'Tipo',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Markobutonaj Atributoj',
+ radioTitle : 'Radiobutonaj Atributoj',
+ value : 'Valoro',
+ selected : 'Elektita'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Formularaj Atributoj',
+ menu : 'Formularaj Atributoj',
+ action : 'Ago',
+ method : 'Metodo',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Atributoj de Elekta Kampo',
+ selectInfo : 'Select Info', // MISSING
+ opAvail : 'Elektoj Disponeblaj',
+ value : 'Valoro',
+ size : 'Grando',
+ lines : 'Linioj',
+ chkMulti : 'Permesi Plurajn Elektojn',
+ opText : 'Teksto',
+ opValue : 'Valoro',
+ btnAdd : 'Aldoni',
+ btnModify : 'Modifi',
+ btnUp : 'Supren',
+ btnDown : 'Malsupren',
+ btnSetValue : 'Agordi kiel Elektitan Valoron',
+ btnDelete : 'Forigi'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Atributoj de Teksta Areo',
+ cols : 'Kolumnoj',
+ rows : 'Vicoj'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Atributoj de Teksta Kampo',
+ name : 'Nomo',
+ value : 'Valoro',
+ charWidth : 'SignolarÄo',
+ maxChars : 'Maksimuma Nombro da Signoj',
+ type : 'Tipo',
+ typeText : 'Teksto',
+ typePass : 'Pasvorto'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Atributoj de KaÅita Kampo',
+ name : 'Nomo',
+ value : 'Valoro'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Atributoj de Bildo',
+ titleButton : 'Bildbutonaj Atributoj',
+ menu : 'Atributoj de Bildo',
+ infoTab : 'Informoj pri Bildo',
+ btnUpload : 'Sendu al Servilo',
+ upload : 'AlÅuti',
+ alt : 'AnstataÅiga Teksto',
+ width : 'LarÄo',
+ height : 'Alto',
+ lockRatio : 'Konservi Proporcion',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Origina Grando',
+ border : 'Bordero',
+ hSpace : 'HSpaco',
+ vSpace : 'VSpaco',
+ align : 'Äisrandigo',
+ alignLeft : 'Maldekstre',
+ alignRight : 'Dekstre',
+ alertUrl : 'Bonvolu tajpi la URL de la bildo',
+ linkTab : 'Link', // MISSING
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Properties', // MISSING
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flash Properties', // MISSING
+ chkPlay : 'Auto Play', // MISSING
+ chkLoop : 'Loop', // MISSING
+ chkMenu : 'Enable Flash Menu', // MISSING
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Scale', // MISSING
+ scaleAll : 'Show all', // MISSING
+ scaleNoBorder : 'No Border', // MISSING
+ scaleFit : 'Exact Fit', // MISSING
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Äisrandigo',
+ alignLeft : 'Maldekstre',
+ alignAbsBottom : 'Abs Malsupre',
+ alignAbsMiddle : 'Abs Centre',
+ alignBaseline : 'Je Malsupro de Teksto',
+ alignBottom : 'Malsupre',
+ alignMiddle : 'Centre',
+ alignRight : 'Dekstre',
+ alignTextTop : 'Je Supro de Teksto',
+ alignTop : 'Supre',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Fona Koloro',
+ width : 'LarÄo',
+ height : 'Alto',
+ hSpace : 'HSpaco',
+ vSpace : 'VSpaco',
+ validateSrc : 'Bonvolu entajpi la URL-on',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Literumada Kontrolilo',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Ne trovita en la vortaro',
+ changeTo : 'ÅanÄi al',
+ btnIgnore : 'Malatenti',
+ btnIgnoreAll : 'Malatenti Äiun',
+ btnReplace : 'AnstataÅigi',
+ btnReplaceAll : 'AnstataÅigi Äiun',
+ btnUndo : 'Malfari',
+ noSuggestions : '- Neniu propono -',
+ progress : 'Literumkontrolado daÅras...',
+ noMispell : 'Literumkontrolado finita: neniu fuÅo trovita',
+ noChanges : 'Literumkontrolado finita: neniu vorto ÅanÄita',
+ oneChange : 'Literumkontrolado finita: unu vorto ÅanÄita',
+ manyChanges : 'Literumkontrolado finita: %1 vortoj ÅanÄitaj',
+ ieSpellDownload : 'Literumada Kontrolilo ne instalita. Äu vi volas elÅuti Äin nun?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Mienvinjeto',
+ title : 'Enmeti Mienvinjeton',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Numera Listo',
+ bulletedlist : 'Bula Listo',
+ indent : 'Pligrandigi KrommarÄenon',
+ outdent : 'Malpligrandigi KrommarÄenon',
+
+ justify :
+ {
+ left : 'Maldekstrigi',
+ center : 'Centrigi',
+ right : 'Dekstrigi',
+ block : 'Äisrandigi AmbaÅflanke'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Interglui',
+ cutError : 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (Ctrl/Cmd-X).',
+ copyError : 'La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (Ctrl/Cmd-C).',
+ pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK', // MISSING
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Interglui el Word',
+ title : 'Interglui el Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Interglui kiel Tekston',
+ title : 'Interglui kiel Tekston'
+ },
+
+ templates :
+ {
+ button : 'Templates', // MISSING
+ title : 'Content Templates', // MISSING
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'Please select the template to open in the editor', // MISSING
+ emptyListMsg : '(No templates defined)' // MISSING
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Stilo',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Formato',
+ panelTitle : 'Formato',
+
+ tag_p : 'Normala',
+ tag_pre : 'Formatita',
+ tag_address : 'Adreso',
+ tag_h1 : 'Titolo 1',
+ tag_h2 : 'Titolo 2',
+ tag_h3 : 'Titolo 3',
+ tag_h4 : 'Titolo 4',
+ tag_h5 : 'Titolo 5',
+ tag_h6 : 'Titolo 6',
+ tag_div : 'Paragrafo (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Tiparo',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Tiparo'
+ },
+
+ fontSize :
+ {
+ label : 'Grando',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Grando'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Teksta Koloro',
+ bgColorTitle : 'Fona Koloro',
+ panelTitle : 'Colors', // MISSING
+ auto : 'AÅtomata',
+ more : 'Pli da Koloroj...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/es.js b/devel/third-party/ckeditor/lang/es.js
new file mode 100644
index 0000000..5df3017
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/es.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Spanish language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['es'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Editor de texto, %1, pulse ALT 0 para ayuda.',
+
+ // ARIA descriptions.
+ toolbar : 'Barra de herramientas',
+ editor : 'Editor de texto enriquecido',
+
+ // Toolbar buttons without dialogs.
+ source : 'Fuente HTML',
+ newPage : 'Nueva Página',
+ save : 'Guardar',
+ preview : 'Vista Previa',
+ cut : 'Cortar',
+ copy : 'Copiar',
+ paste : 'Pegar',
+ print : 'Imprimir',
+ underline : 'Subrayado',
+ bold : 'Negrita',
+ italic : 'Cursiva',
+ selectAll : 'Seleccionar Todo',
+ removeFormat : 'Eliminar Formato',
+ strike : 'Tachado',
+ subscript : 'SubÃndice',
+ superscript : 'SuperÃndice',
+ horizontalrule : 'Insertar LÃnea Horizontal',
+ pagebreak : 'Insertar Salto de Página',
+ unlink : 'Eliminar VÃnculo',
+ undo : 'Deshacer',
+ redo : 'Rehacer',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Ver Servidor',
+ url : 'URL',
+ protocol : 'Protocolo',
+ upload : 'Cargar',
+ uploadSubmit : 'Enviar al Servidor',
+ image : 'Imagen',
+ flash : 'Flash',
+ form : 'Formulario',
+ checkbox : 'Casilla de Verificación',
+ radio : 'Botones de Radio',
+ textField : 'Campo de Texto',
+ textarea : 'Area de Texto',
+ hiddenField : 'Campo Oculto',
+ button : 'Botón',
+ select : 'Campo de Selección',
+ imageButton : 'Botón Imagen',
+ notSet : '<No definido>',
+ id : 'Id',
+ name : 'Nombre',
+ langDir : 'Orientación',
+ langDirLtr : 'Izquierda a Derecha (LTR)',
+ langDirRtl : 'Derecha a Izquierda (RTL)',
+ langCode : 'Cód. de idioma',
+ longDescr : 'Descripción larga URL',
+ cssClass : 'Clases de hojas de estilo',
+ advisoryTitle : 'TÃtulo',
+ cssStyle : 'Estilo',
+ ok : 'Aceptar',
+ cancel : 'Cancelar',
+ close : 'Cerrar',
+ preview : 'Previsualización',
+ generalTab : 'General',
+ advancedTab : 'Avanzado',
+ validateNumberFailed : 'El valor no es un número.',
+ confirmNewPage : 'Cualquier cambio que no se haya guardado se perderá.\r\n¿Está seguro de querer crear una nueva página?',
+ confirmCancel : 'Algunas de las opciones se han cambiado.\r\n¿Está seguro de querer cerrar el diálogo?',
+ options : 'Opciones',
+ target : 'Destino',
+ targetNew : 'Nueva ventana (_blank)',
+ targetTop : 'Ventana principal (_top)',
+ targetSelf : 'Misma ventana (_self)',
+ targetParent : 'Ventana padre (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, no disponible</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Opciones del menú contextual'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insertar Caracter Especial',
+ title : 'Seleccione un caracter especial',
+ options : 'Opciones de caracteres especiales'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Insertar/Editar VÃnculo',
+ other : '<otro>',
+ menu : 'Editar VÃnculo',
+ title : 'VÃnculo',
+ info : 'Información de VÃnculo',
+ target : 'Destino',
+ upload : 'Cargar',
+ advanced : 'Avanzado',
+ type : 'Tipo de vÃnculo',
+ toUrl : 'URL',
+ toAnchor : 'Referencia en esta página',
+ toEmail : 'E-Mail',
+ targetFrame : '<marco>',
+ targetPopup : '<ventana emergente>',
+ targetFrameName : 'Nombre del Marco Destino',
+ targetPopupName : 'Nombre de Ventana Emergente',
+ popupFeatures : 'CaracterÃsticas de Ventana Emergente',
+ popupResizable : 'Redimensionable',
+ popupStatusBar : 'Barra de Estado',
+ popupLocationBar: 'Barra de ubicación',
+ popupToolbar : 'Barra de Herramientas',
+ popupMenuBar : 'Barra de Menú',
+ popupFullScreen : 'Pantalla Completa (IE)',
+ popupScrollBars : 'Barras de desplazamiento',
+ popupDependent : 'Dependiente (Netscape)',
+ popupWidth : 'Anchura',
+ popupLeft : 'Posición Izquierda',
+ popupHeight : 'Altura',
+ popupTop : 'Posición Derecha',
+ id : 'Id',
+ langDir : 'Orientación',
+ langDirLTR : 'Izquierda a Derecha (LTR)',
+ langDirRTL : 'Derecha a Izquierda (RTL)',
+ acccessKey : 'Clave de Acceso',
+ name : 'Nombre',
+ langCode : 'Código idioma',
+ tabIndex : 'Indice de tabulación',
+ advisoryTitle : 'TÃtulo',
+ advisoryContentType : 'Tipo de Contenido',
+ cssClasses : 'Clases de hojas de estilo',
+ charset : 'Fuente de caracteres vinculado',
+ styles : 'Estilo',
+ selectAnchor : 'Seleccionar una referencia',
+ anchorName : 'Por Nombre de Referencia',
+ anchorId : 'Por ID de elemento',
+ emailAddress : 'Dirección de E-Mail',
+ emailSubject : 'TÃtulo del Mensaje',
+ emailBody : 'Cuerpo del Mensaje',
+ noAnchors : '(No hay referencias disponibles en el documento)',
+ noUrl : 'Por favor tipee el vÃnculo URL',
+ noEmail : 'Por favor tipee la dirección de e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Referencia',
+ menu : 'Propiedades de Referencia',
+ title : 'Propiedades de Referencia',
+ name : 'Nombre de la Referencia',
+ errorName : 'Por favor, complete el nombre de la Referencia'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Propiedades de lista numerada',
+ bulletedTitle : 'Propiedades de viñetas',
+ type : 'Tipo',
+ start : 'Inicio',
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'CÃrculo',
+ disc : 'Disco',
+ square : 'Cuadrado',
+ none : 'Ninguno',
+ notset : '<sin establecer>',
+ armenian : 'Numeración armenia',
+ georgian : 'Numeración georgiana (an, ban, gan, etc.)',
+ lowerRoman : 'Números romanos en minúsculas (i, ii, iii, iv, v, etc.)',
+ upperRoman : 'Números romanos en mayúsculas (I, II, III, IV, V, etc.)',
+ lowerAlpha : 'Alfabeto en minúsculas (a, b, c, d, e, etc.)',
+ upperAlpha : 'Alfabeto en mayúsculas (A, B, C, D, E, etc.)',
+ lowerGreek : 'Letras griegas (alpha, beta, gamma, etc.)',
+ decimal : 'Decimal (1, 2, 3, etc.)',
+ decimalLeadingZero : 'Decimal con cero inicial (01, 02, 03, etc.)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Buscar y Reemplazar',
+ find : 'Buscar',
+ replace : 'Reemplazar',
+ findWhat : 'Texto a buscar:',
+ replaceWith : 'Reemplazar con:',
+ notFoundMsg : 'El texto especificado no ha sido encontrado.',
+ matchCase : 'Coincidir may/min',
+ matchWord : 'Coincidir toda la palabra',
+ matchCyclic : 'Buscar en todo el contenido',
+ replaceAll : 'Reemplazar Todo',
+ replaceSuccessMsg : 'La expresión buscada ha sido reemplazada %1 veces.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabla',
+ title : 'Propiedades de Tabla',
+ menu : 'Propiedades de Tabla',
+ deleteTable : 'Eliminar Tabla',
+ rows : 'Filas',
+ columns : 'Columnas',
+ border : 'Tamaño de Borde',
+ align : 'Alineación',
+ alignLeft : 'Izquierda',
+ alignCenter : 'Centrado',
+ alignRight : 'Derecha',
+ width : 'Anchura',
+ widthPx : 'pixeles',
+ widthPc : 'porcentaje',
+ widthUnit : 'unidad de la anchura',
+ height : 'Altura',
+ cellSpace : 'Esp. e/celdas',
+ cellPad : 'Esp. interior',
+ caption : 'TÃtulo',
+ summary : 'SÃntesis',
+ headers : 'Encabezados',
+ headersNone : 'Ninguno',
+ headersColumn : 'Primera columna',
+ headersRow : 'Primera fila',
+ headersBoth : 'Ambas',
+ invalidRows : 'El número de filas debe ser un número mayor que 0.',
+ invalidCols : 'El número de columnas debe ser un número mayor que 0.',
+ invalidBorder : 'El tamaño del borde debe ser un número.',
+ invalidWidth : 'La anchura de tabla debe ser un número.',
+ invalidHeight : 'La altura de tabla debe ser un número.',
+ invalidCellSpacing : 'El espaciado entre celdas debe ser un número.',
+ invalidCellPadding : 'El espaciado interior debe ser un número.',
+
+ cell :
+ {
+ menu : 'Celda',
+ insertBefore : 'Insertar celda a la izquierda',
+ insertAfter : 'Insertar celda a la derecha',
+ deleteCell : 'Eliminar Celdas',
+ merge : 'Combinar Celdas',
+ mergeRight : 'Combinar a la derecha',
+ mergeDown : 'Combinar hacia abajo',
+ splitHorizontal : 'Dividir la celda horizontalmente',
+ splitVertical : 'Dividir la celda verticalmente',
+ title : 'Propiedades de celda',
+ cellType : 'Tipo de Celda',
+ rowSpan : 'Expandir filas',
+ colSpan : 'Expandir columnas',
+ wordWrap : 'Ajustar al contenido',
+ hAlign : 'Alineación Horizontal',
+ vAlign : 'Alineación Vertical',
+ alignTop : 'Arriba',
+ alignMiddle : 'Medio',
+ alignBottom : 'Abajo',
+ alignBaseline : 'Linea de base',
+ bgColor : 'Color de fondo',
+ borderColor : 'Color de borde',
+ data : 'Datos',
+ header : 'Encabezado',
+ yes : 'SÃ',
+ no : 'No',
+ invalidWidth : 'La anchura de celda debe ser un número.',
+ invalidHeight : 'La altura de celda debe ser un número.',
+ invalidRowSpan : 'La expansión de filas debe ser un número entero.',
+ invalidColSpan : 'La expansión de columnas debe ser un número entero.',
+ chooseColor : 'Elegir'
+ },
+
+ row :
+ {
+ menu : 'Fila',
+ insertBefore : 'Insertar fila en la parte superior',
+ insertAfter : 'Insertar fila en la parte inferior',
+ deleteRow : 'Eliminar Filas'
+ },
+
+ column :
+ {
+ menu : 'Columna',
+ insertBefore : 'Insertar columna a la izquierda',
+ insertAfter : 'Insertar columna a la derecha',
+ deleteColumn : 'Eliminar Columnas'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Propiedades de Botón',
+ text : 'Texto (Valor)',
+ type : 'Tipo',
+ typeBtn : 'Boton',
+ typeSbm : 'Enviar',
+ typeRst : 'Reestablecer'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Propiedades de Casilla',
+ radioTitle : 'Propiedades de Botón de Radio',
+ value : 'Valor',
+ selected : 'Seleccionado'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Propiedades de Formulario',
+ menu : 'Propiedades de Formulario',
+ action : 'Acción',
+ method : 'Método',
+ encoding : 'Codificación'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Propiedades de Campo de Selección',
+ selectInfo : 'Información',
+ opAvail : 'Opciones disponibles',
+ value : 'Valor',
+ size : 'Tamaño',
+ lines : 'Lineas',
+ chkMulti : 'Permitir múltiple selección',
+ opText : 'Texto',
+ opValue : 'Valor',
+ btnAdd : 'Agregar',
+ btnModify : 'Modificar',
+ btnUp : 'Subir',
+ btnDown : 'Bajar',
+ btnSetValue : 'Establecer como predeterminado',
+ btnDelete : 'Eliminar'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Propiedades de Area de Texto',
+ cols : 'Columnas',
+ rows : 'Filas'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Propiedades de Campo de Texto',
+ name : 'Nombre',
+ value : 'Valor',
+ charWidth : 'Caracteres de ancho',
+ maxChars : 'Máximo caracteres',
+ type : 'Tipo',
+ typeText : 'Texto',
+ typePass : 'Contraseña'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Propiedades de Campo Oculto',
+ name : 'Nombre',
+ value : 'Valor'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Propiedades de Imagen',
+ titleButton : 'Propiedades de Botón de Imagen',
+ menu : 'Propiedades de Imagen',
+ infoTab : 'Información de Imagen',
+ btnUpload : 'Enviar al Servidor',
+ upload : 'Cargar',
+ alt : 'Texto Alternativo',
+ width : 'Anchura',
+ height : 'Altura',
+ lockRatio : 'Proporcional',
+ unlockRatio : 'Desbloquear el proporcional',
+ resetSize : 'Tamaño Original',
+ border : 'Borde',
+ hSpace : 'Esp.Horiz',
+ vSpace : 'Esp.Vert',
+ align : 'Alineación',
+ alignLeft : 'Izquierda',
+ alignRight : 'Derecha',
+ alertUrl : 'Por favor escriba la URL de la imagen',
+ linkTab : 'VÃnculo',
+ button2Img : '¿Desea convertir el botón de imagen en una simple imagen?',
+ img2Button : '¿Desea convertir la imagen en un botón de imagen?',
+ urlMissing : 'Debe indicar la URL de la imagen.',
+ validateWidth : 'La anchura debe ser un número.',
+ validateHeight : 'La altura debe ser un número.',
+ validateBorder : 'El borde debe ser un número.',
+ validateHSpace : 'El espaciado horizontal debe ser un número.',
+ validateVSpace : 'El espaciado vertical debe ser un número.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Propiedades de Flash',
+ propertiesTab : 'Propiedades',
+ title : 'Propiedades de Flash',
+ chkPlay : 'Autoejecución',
+ chkLoop : 'Repetir',
+ chkMenu : 'Activar Menú Flash',
+ chkFull : 'Permitir pantalla completa',
+ scale : 'Escala',
+ scaleAll : 'Mostrar todo',
+ scaleNoBorder : 'Sin Borde',
+ scaleFit : 'Ajustado',
+ access : 'Acceso de scripts',
+ accessAlways : 'Siempre',
+ accessSameDomain: 'Mismo dominio',
+ accessNever : 'Nunca',
+ align : 'Alineación',
+ alignLeft : 'Izquierda',
+ alignAbsBottom : 'Abs inferior',
+ alignAbsMiddle : 'Abs centro',
+ alignBaseline : 'LÃnea de base',
+ alignBottom : 'Pie',
+ alignMiddle : 'Centro',
+ alignRight : 'Derecha',
+ alignTextTop : 'Tope del texto',
+ alignTop : 'Tope',
+ quality : 'Calidad',
+ qualityBest : 'La mejor',
+ qualityHigh : 'Alta',
+ qualityAutoHigh : 'Auto Alta',
+ qualityMedium : 'Media',
+ qualityAutoLow : 'Auto Baja',
+ qualityLow : 'Baja',
+ windowModeWindow: 'Ventana',
+ windowModeOpaque: 'Opaco',
+ windowModeTransparent : 'Transparente',
+ windowMode : 'WindowMode',
+ flashvars : 'Opciones',
+ bgcolor : 'Color de Fondo',
+ width : 'Anchura',
+ height : 'Altura',
+ hSpace : 'Esp.Horiz',
+ vSpace : 'Esp.Vert',
+ validateSrc : 'Por favor escriba el vÃnculo URL',
+ validateWidth : 'Anchura debe ser un número.',
+ validateHeight : 'Altura debe ser un número.',
+ validateHSpace : 'Esp.Horiz debe ser un número.',
+ validateVSpace : 'Esp.Vert debe ser un número.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'OrtografÃa',
+ title : 'Comprobar ortografÃa',
+ notAvailable : 'Lo sentimos pero el servicio no está disponible.',
+ errorLoading : 'Error cargando la aplicación del servidor: %s.',
+ notInDic : 'No se encuentra en el Diccionario',
+ changeTo : 'Cambiar a',
+ btnIgnore : 'Ignorar',
+ btnIgnoreAll : 'Ignorar Todo',
+ btnReplace : 'Reemplazar',
+ btnReplaceAll : 'Reemplazar Todo',
+ btnUndo : 'Deshacer',
+ noSuggestions : '- No hay sugerencias -',
+ progress : 'Control de OrtografÃa en progreso...',
+ noMispell : 'Control finalizado: no se encontraron errores',
+ noChanges : 'Control finalizado: no se ha cambiado ninguna palabra',
+ oneChange : 'Control finalizado: se ha cambiado una palabra',
+ manyChanges : 'Control finalizado: se ha cambiado %1 palabras',
+ ieSpellDownload : 'Módulo de Control de OrtografÃa no instalado.\r\n¿Desea descargarlo ahora?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emoticonos',
+ title : 'Insertar un Emoticon',
+ options : 'Opciones de emoticonos'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Ruta de los elementos',
+ eleTitle : '%1 elemento'
+ },
+
+ numberedlist : 'Numeración',
+ bulletedlist : 'Viñetas',
+ indent : 'Aumentar SangrÃa',
+ outdent : 'Disminuir SangrÃa',
+
+ justify :
+ {
+ left : 'Alinear a Izquierda',
+ center : 'Centrar',
+ right : 'Alinear a Derecha',
+ block : 'Justificado'
+ },
+
+ blockquote : 'Cita',
+
+ clipboard :
+ {
+ title : 'Pegar',
+ cutError : 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado.\r\nPor favor use el teclado (Ctrl/Cmd+X).',
+ copyError : 'La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado.\r\nPor favor use el teclado (Ctrl/Cmd+C).',
+ pasteMsg : 'Por favor pegue dentro del cuadro utilizando el teclado (<STRONG>Ctrl/Cmd+V</STRONG>);\r\nluego presione <STRONG>Aceptar</STRONG>.',
+ securityMsg : 'Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles.\r\nEs necesario que lo pegue de nuevo en esta ventana.',
+ pasteArea : 'Zona de pegado'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'El texto que desea parece provenir de Word.\r\n¿Desea depurarlo antes de pegarlo?',
+ toolbar : 'Pegar desde Word',
+ title : 'Pegar desde Word',
+ error : 'No ha sido posible limpiar los datos debido a un error interno'
+ },
+
+ pasteText :
+ {
+ button : 'Pegar como Texto Plano',
+ title : 'Pegar como Texto Plano'
+ },
+
+ templates :
+ {
+ button : 'Plantillas',
+ title : 'Contenido de Plantillas',
+ options : 'Opciones de plantillas',
+ insertOption : 'Reemplazar el contenido actual',
+ selectPromptMsg : 'Por favor selecciona la plantilla a abrir en el editor<br>(el contenido actual se perderá):',
+ emptyListMsg : '(No hay plantillas definidas)'
+ },
+
+ showBlocks : 'Mostrar bloques',
+
+ stylesCombo :
+ {
+ label : 'Estilo',
+ panelTitle : 'Estilos para formatear',
+ panelTitle1 : 'Estilos de párrafo',
+ panelTitle2 : 'Estilos de carácter',
+ panelTitle3 : 'Estilos de objeto'
+ },
+
+ format :
+ {
+ label : 'Formato',
+ panelTitle : 'Formato',
+
+ tag_p : 'Normal',
+ tag_pre : 'Con formato',
+ tag_address : 'Dirección',
+ tag_h1 : 'Encabezado 1',
+ tag_h2 : 'Encabezado 2',
+ tag_h3 : 'Encabezado 3',
+ tag_h4 : 'Encabezado 4',
+ tag_h5 : 'Encabezado 5',
+ tag_h6 : 'Encabezado 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Crear contenedor DIV',
+ toolbar : 'Crear contenedor DIV',
+ cssClassInputLabel : 'Clase de hoja de estilos',
+ styleSelectLabel : 'Estilo',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Codigo de idioma',
+ inlineStyleInputLabel : 'Estilo',
+ advisoryTitleInputLabel : 'TÃtulo',
+ langDirLabel : 'Orientación',
+ langDirLTRLabel : 'Izquierda a Derecha (LTR)',
+ langDirRTLLabel : 'Derecha a Izquierda (RTL)',
+ edit : 'Editar Div',
+ remove : 'Quitar Div'
+ },
+
+ font :
+ {
+ label : 'Fuente',
+ voiceLabel : 'Fuente',
+ panelTitle : 'Fuente'
+ },
+
+ fontSize :
+ {
+ label : 'Tamaño',
+ voiceLabel : 'Tamaño de fuente',
+ panelTitle : 'Tamaño'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Color de Texto',
+ bgColorTitle : 'Color de Fondo',
+ panelTitle : 'Colores',
+ auto : 'Automático',
+ more : 'Más Colores...'
+ },
+
+ colors :
+ {
+ '000' : 'Negro',
+ '800000' : 'Marrón oscuro',
+ '8B4513' : 'Marrón tierra',
+ '2F4F4F' : 'Pizarra Oscuro',
+ '008080' : 'Azul verdoso',
+ '000080' : 'Azul marino',
+ '4B0082' : 'Añil',
+ '696969' : 'Gris oscuro',
+ 'B22222' : 'Ladrillo',
+ 'A52A2A' : 'Marrón',
+ 'DAA520' : 'Oro oscuro',
+ '006400' : 'Verde oscuro',
+ '40E0D0' : 'Turquesa',
+ '0000CD' : 'Azul medio-oscuro',
+ '800080' : 'Púrpura',
+ '808080' : 'Gris',
+ 'F00' : 'Rojo',
+ 'FF8C00' : 'Naranja oscuro',
+ 'FFD700' : 'Oro',
+ '008000' : 'Verde',
+ '0FF' : 'Cian',
+ '00F' : 'Azul',
+ 'EE82EE' : 'Violeta',
+ 'A9A9A9' : 'Gris medio',
+ 'FFA07A' : 'Salmón claro',
+ 'FFA500' : 'Naranja',
+ 'FFFF00' : 'Amarillo',
+ '00FF00' : 'Lima',
+ 'AFEEEE' : 'Turquesa claro',
+ 'ADD8E6' : 'Azul claro',
+ 'DDA0DD' : 'Violeta claro',
+ 'D3D3D3' : 'Gris claro',
+ 'FFF0F5' : 'Lavanda rojizo',
+ 'FAEBD7' : 'Blanco antiguo',
+ 'FFFFE0' : 'Amarillo claro',
+ 'F0FFF0' : 'Miel',
+ 'F0FFFF' : 'Azul celeste',
+ 'F0F8FF' : 'Azul pálido',
+ 'E6E6FA' : 'Lavanda',
+ 'FFF' : 'Blanco'
+ },
+
+ scayt :
+ {
+ title : 'Comprobar OrtografÃa Mientras Escribe',
+ opera_title : 'No soportado en Opera',
+ enable : 'Activar Corrector',
+ disable : 'Desactivar Corrector',
+ about : 'Acerca de Corrector',
+ toggle : 'Cambiar Corrector',
+ options : 'Opciones',
+ langs : 'Idiomas',
+ moreSuggestions : 'Más sugerencias',
+ ignore : 'Ignorar',
+ ignoreAll : 'Ignorar Todas',
+ addWord : 'Añadir palabra',
+ emptyDic : 'El nombre del diccionario no puede estar en blanco.',
+
+ optionsTab : 'Opciones',
+ allCaps : 'Omitir palabras en MAYÃSCULAS',
+ ignoreDomainNames : 'Omitir nombres de dominio',
+ mixedCase : 'Ignorar palabras con combinación de mayúsculas y minúsculas',
+ mixedWithDigits : 'Omitir palabras con números',
+
+ languagesTab : 'Idiomas',
+
+ dictionariesTab : 'Diccionarios',
+ dic_field_name : 'Nombre del diccionario',
+ dic_create : 'Crear',
+ dic_restore : 'Recuperar',
+ dic_delete : 'Borrar',
+ dic_rename : 'Renombrar',
+ dic_info : 'Inicialmente el Diccionario de usuario se guarda en una Cookie. Sin embargo, las cookies están limitadas en tamaño. Cuando el diccionario crece a un punto en el que no se puede guardar en una Cookie, el diccionario puede ser almacenado en nuestro servidor. Para almacenar su diccionario personalizado en nuestro servidor debe especificar un nombre para su diccionario. Si ya ha guardado un diccionaro, por favor, escriba su nombre y pulse el botón Recuperar',
+
+ aboutTab : 'Acerca de'
+ },
+
+ about :
+ {
+ title : 'Acerca de CKEditor',
+ dlgTitle : 'Acerca de CKEditor',
+ moreInfo : 'Para información de licencia, por favor visite nuestro sitio web:',
+ copy : 'Copyright © $1. Todos los derechos reservados.'
+ },
+
+ maximize : 'Maximizar',
+ minimize : 'Minimizar',
+
+ fakeobjects :
+ {
+ anchor : 'Ancla',
+ flash : 'Animación flash',
+ div : 'Salto de página',
+ unknown : 'Objeto desconocido'
+ },
+
+ resize : 'Arrastre para redimensionar',
+
+ colordialog :
+ {
+ title : 'Elegir color',
+ options : 'Opciones de colores',
+ highlight : 'Muestra',
+ selected : 'Elegido',
+ clear : 'Borrar'
+ },
+
+ toolbarCollapse : 'Contraer barra de herramientas',
+ toolbarExpand : 'Expandir barra de herramientas',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/et.js b/devel/third-party/ckeditor/lang/et.js
new file mode 100644
index 0000000..4b62f54
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/et.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Estonian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['et'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Lähtekood',
+ newPage : 'Uus leht',
+ save : 'Salvesta',
+ preview : 'Eelvaade',
+ cut : 'Lõika',
+ copy : 'Kopeeri',
+ paste : 'Kleebi',
+ print : 'Prindi',
+ underline : 'Allajoonitud',
+ bold : 'Paks',
+ italic : 'Kursiiv',
+ selectAll : 'Vali kõik',
+ removeFormat : 'Eemalda vorming',
+ strike : 'Läbijoonitud',
+ subscript : 'Allindeks',
+ superscript : 'Ãlaindeks',
+ horizontalrule : 'Sisesta horisontaaljoon',
+ pagebreak : 'Sisesta lehevahetuskoht',
+ unlink : 'Eemalda link',
+ undo : 'Võta tagasi',
+ redo : 'Korda toimingut',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Sirvi serverit',
+ url : 'URL',
+ protocol : 'Protokoll',
+ upload : 'Lae üles',
+ uploadSubmit : 'Saada serverissee',
+ image : 'Pilt',
+ flash : 'Flash',
+ form : 'Vorm',
+ checkbox : 'Märkeruut',
+ radio : 'Raadionupp',
+ textField : 'Tekstilahter',
+ textarea : 'Tekstiala',
+ hiddenField : 'Varjatud lahter',
+ button : 'Nupp',
+ select : 'Valiklahter',
+ imageButton : 'Piltnupp',
+ notSet : '<määramata>',
+ id : 'Id',
+ name : 'Nimi',
+ langDir : 'Keele suund',
+ langDirLtr : 'Vasakult paremale (LTR)',
+ langDirRtl : 'Paremalt vasakule (RTL)',
+ langCode : 'Keele kood',
+ longDescr : 'Pikk kirjeldus URL',
+ cssClass : 'Stiilistiku klassid',
+ advisoryTitle : 'Juhendav tiitel',
+ cssStyle : 'Laad',
+ ok : 'OK',
+ cancel : 'Loobu',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Täpsemalt',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Sisesta erimärk',
+ title : 'Vali erimärk',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Sisesta link / Muuda linki',
+ other : '<muu>',
+ menu : 'Muuda linki',
+ title : 'Link',
+ info : 'Lingi info',
+ target : 'Sihtkoht',
+ upload : 'Lae üles',
+ advanced : 'Täpsemalt',
+ type : 'Lingi tüüp',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Ankur sellel lehel',
+ toEmail : 'E-post',
+ targetFrame : '<raam>',
+ targetPopup : '<hüpikaken>',
+ targetFrameName : 'Sihtmärk raami nimi',
+ targetPopupName : 'Hüpikakna nimi',
+ popupFeatures : 'Hüpikakna omadused',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Olekuriba',
+ popupLocationBar: 'Aadressiriba',
+ popupToolbar : 'Tööriistariba',
+ popupMenuBar : 'Menüüriba',
+ popupFullScreen : 'Täisekraan (IE)',
+ popupScrollBars : 'Kerimisribad',
+ popupDependent : 'Sõltuv (Netscape)',
+ popupWidth : 'Laius',
+ popupLeft : 'Vasak asukoht',
+ popupHeight : 'Kõrgus',
+ popupTop : 'Ãlemine asukoht',
+ id : 'Id', // MISSING
+ langDir : 'Keele suund',
+ langDirLTR : 'Vasakult paremale (LTR)',
+ langDirRTL : 'Paremalt vasakule (RTL)',
+ acccessKey : 'Juurdepääsu võti',
+ name : 'Nimi',
+ langCode : 'Keele suund',
+ tabIndex : 'Tab indeks',
+ advisoryTitle : 'Juhendav tiitel',
+ advisoryContentType : 'Juhendava sisu tüüp',
+ cssClasses : 'Stiilistiku klassid',
+ charset : 'Lingitud ressurssi märgistik',
+ styles : 'Laad',
+ selectAnchor : 'Vali ankur',
+ anchorName : 'Ankru nime järgi',
+ anchorId : 'Elemendi id järgi',
+ emailAddress : 'E-posti aadress',
+ emailSubject : 'Sõnumi teema',
+ emailBody : 'Sõnumi tekst',
+ noAnchors : '(Selles dokumendis ei ole ankruid)',
+ noUrl : 'Palun kirjuta lingi URL',
+ noEmail : 'Palun kirjuta E-Posti aadress'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Sisesta ankur / Muuda ankrut',
+ menu : 'Ankru omadused',
+ title : 'Ankru omadused',
+ name : 'Ankru nimi',
+ errorName : 'Palun sisest ankru nimi'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Otsi ja asenda',
+ find : 'Otsi',
+ replace : 'Asenda',
+ findWhat : 'Leia mida:',
+ replaceWith : 'Asenda millega:',
+ notFoundMsg : 'Valitud teksti ei leitud.',
+ matchCase : 'Erista suur- ja väiketähti',
+ matchWord : 'Otsi terviklike sõnu',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Asenda kõik',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabel',
+ title : 'Tabeli atribuudid',
+ menu : 'Tabeli atribuudid',
+ deleteTable : 'Kustuta tabel',
+ rows : 'Read',
+ columns : 'Veerud',
+ border : 'Joone suurus',
+ align : 'Joondus',
+ alignLeft : 'Vasak',
+ alignCenter : 'Kesk',
+ alignRight : 'Parem',
+ width : 'Laius',
+ widthPx : 'pikslit',
+ widthPc : 'protsenti',
+ widthUnit : 'width unit', // MISSING
+ height : 'Kõrgus',
+ cellSpace : 'Lahtri vahe',
+ cellPad : 'Lahtri täidis',
+ caption : 'Tabeli tiitel',
+ summary : 'Kokkuvõte',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Lahter',
+ insertBefore : 'Sisesta lahter enne',
+ insertAfter : 'Sisesta lahter peale',
+ deleteCell : 'Eemalda lahtrid',
+ merge : 'Ãhenda lahtrid',
+ mergeRight : 'Ãhenda paremale',
+ mergeDown : 'Ãhenda alla',
+ splitHorizontal : 'Poolita lahter horisontaalselt',
+ splitVertical : 'Poolita lahter vertikaalselt',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Rida',
+ insertBefore : 'Sisesta rida enne',
+ insertAfter : 'Sisesta rida peale',
+ deleteRow : 'Eemalda read'
+ },
+
+ column :
+ {
+ menu : 'Veerg',
+ insertBefore : 'Sisesta veerg enne',
+ insertAfter : 'Sisesta veerg peale',
+ deleteColumn : 'Eemalda veerud'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Nupu omadused',
+ text : 'Tekst (väärtus)',
+ type : 'Tüüp',
+ typeBtn : 'Nupp',
+ typeSbm : 'Saada',
+ typeRst : 'Lähtesta'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Märkeruudu omadused',
+ radioTitle : 'Raadionupu omadused',
+ value : 'Väärtus',
+ selected : 'Valitud'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Vormi omadused',
+ menu : 'Vormi omadused',
+ action : 'Toiming',
+ method : 'Meetod',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Valiklahtri omadused',
+ selectInfo : 'Info',
+ opAvail : 'Võimalikud valikud',
+ value : 'Väärtus',
+ size : 'Suurus',
+ lines : 'ridu',
+ chkMulti : 'Võimalda mitu valikut',
+ opText : 'Tekst',
+ opValue : 'Väärtus',
+ btnAdd : 'Lisa',
+ btnModify : 'Muuda',
+ btnUp : 'Ãles',
+ btnDown : 'Alla',
+ btnSetValue : 'Sea valitud olekuna',
+ btnDelete : 'Kustuta'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Tekstiala omadused',
+ cols : 'Veerge',
+ rows : 'Ridu'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Tekstilahtri omadused',
+ name : 'Nimi',
+ value : 'Väärtus',
+ charWidth : 'Laius (tähemärkides)',
+ maxChars : 'Maksimaalselt tähemärke',
+ type : 'Tüüp',
+ typeText : 'Tekst',
+ typePass : 'Parool'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Varjatud lahtri omadused',
+ name : 'Nimi',
+ value : 'Väärtus'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Pildi atribuudid',
+ titleButton : 'Piltnupu omadused',
+ menu : 'Pildi atribuudid',
+ infoTab : 'Pildi info',
+ btnUpload : 'Saada serverissee',
+ upload : 'Lae üles',
+ alt : 'Alternatiivne tekst',
+ width : 'Laius',
+ height : 'Kõrgus',
+ lockRatio : 'Lukusta kuvasuhe',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Lähtesta suurus',
+ border : 'Joon',
+ hSpace : 'H. vaheruum',
+ vSpace : 'V. vaheruum',
+ align : 'Joondus',
+ alignLeft : 'Vasak',
+ alignRight : 'Paremale',
+ alertUrl : 'Palun kirjuta pildi URL',
+ linkTab : 'Link',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash omadused',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flash omadused',
+ chkPlay : 'Automaatne start ',
+ chkLoop : 'Korduv',
+ chkMenu : 'Võimalda flash menüü',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Mastaap',
+ scaleAll : 'Näita kõike',
+ scaleNoBorder : 'Ãärist ei ole',
+ scaleFit : 'Täpne sobivus',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Joondus',
+ alignLeft : 'Vasak',
+ alignAbsBottom : 'Abs alla',
+ alignAbsMiddle : 'Abs keskele',
+ alignBaseline : 'Baasjoonele',
+ alignBottom : 'Alla',
+ alignMiddle : 'Keskele',
+ alignRight : 'Paremale',
+ alignTextTop : 'Tekstit üles',
+ alignTop : 'Ãles',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Tausta värv',
+ width : 'Laius',
+ height : 'Kõrgus',
+ hSpace : 'H. vaheruum',
+ vSpace : 'V. vaheruum',
+ validateSrc : 'Palun kirjuta lingi URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Kontrolli õigekirja',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Puudub sõnastikust',
+ changeTo : 'Muuda',
+ btnIgnore : 'Ignoreeri',
+ btnIgnoreAll : 'Ignoreeri kõiki',
+ btnReplace : 'Asenda',
+ btnReplaceAll : 'Asenda kõik',
+ btnUndo : 'Võta tagasi',
+ noSuggestions : '- Soovitused puuduvad -',
+ progress : 'Toimub õigekirja kontroll...',
+ noMispell : 'Ãigekirja kontroll sooritatud: õigekirjuvigu ei leitud',
+ noChanges : 'Ãigekirja kontroll sooritatud: ühtegi sõna ei muudetud',
+ oneChange : 'Ãigekirja kontroll sooritatud: üks sõna muudeti',
+ manyChanges : 'Ãigekirja kontroll sooritatud: %1 sõna muudetud',
+ ieSpellDownload : 'Ãigekirja kontrollija ei ole installeeritud. Soovid sa selle alla laadida?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emotikon',
+ title : 'Sisesta emotikon',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Nummerdatud loetelu',
+ bulletedlist : 'Punktiseeritud loetelu',
+ indent : 'Suurenda taanet',
+ outdent : 'Vähenda taanet',
+
+ justify :
+ {
+ left : 'Vasakjoondus',
+ center : 'Keskjoondus',
+ right : 'Paremjoondus',
+ block : 'Rööpjoondus'
+ },
+
+ blockquote : 'Blokktsitaat',
+
+ clipboard :
+ {
+ title : 'Kleebi',
+ cutError : 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+X).',
+ copyError : 'Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl/Cmd+C).',
+ pasteMsg : 'Palun kleebi järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (<STRONG>Ctrl/Cmd+V</STRONG>) ja vajuta seejärel <STRONG>OK</STRONG>.',
+ securityMsg : 'Sinu veebisirvija turvaseadete tõttu, ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead kleepima need uuesti siia aknasse.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Kleebi Wordist',
+ title : 'Kleebi Wordist',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Kleebi tavalise tekstina',
+ title : 'Kleebi tavalise tekstina'
+ },
+
+ templates :
+ {
+ button : 'Å abloon',
+ title : 'Sisu Å¡abloonid',
+ options : 'Template Options', // MISSING
+ insertOption : 'Asenda tegelik sisu',
+ selectPromptMsg : 'Palun vali šabloon, et avada see redaktoris<br />(praegune sisu läheb kaotsi):',
+ emptyListMsg : '(Ãhtegi Å¡ablooni ei ole defineeritud)'
+ },
+
+ showBlocks : 'Näita blokke',
+
+ stylesCombo :
+ {
+ label : 'Laad',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Vorming',
+ panelTitle : 'Vorming',
+
+ tag_p : 'Tavaline',
+ tag_pre : 'Vormindatud',
+ tag_address : 'Aadress',
+ tag_h1 : 'Pealkiri 1',
+ tag_h2 : 'Pealkiri 2',
+ tag_h3 : 'Pealkiri 3',
+ tag_h4 : 'Pealkiri 4',
+ tag_h5 : 'Pealkiri 5',
+ tag_h6 : 'Pealkiri 6',
+ tag_div : 'Tavaline (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Kiri',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Kiri'
+ },
+
+ fontSize :
+ {
+ label : 'Suurus',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Suurus'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Teksti värv',
+ bgColorTitle : 'Tausta värv',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automaatne',
+ more : 'Rohkem värve...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/eu.js b/devel/third-party/ckeditor/lang/eu.js
new file mode 100644
index 0000000..6278e13
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/eu.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Basque language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['eu'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'HTML Iturburua',
+ newPage : 'Orrialde Berria',
+ save : 'Gorde',
+ preview : 'Aurrebista',
+ cut : 'Ebaki',
+ copy : 'Kopiatu',
+ paste : 'Itsatsi',
+ print : 'Inprimatu',
+ underline : 'Azpimarratu',
+ bold : 'Lodia',
+ italic : 'Etzana',
+ selectAll : 'Hautatu dena',
+ removeFormat : 'Kendu Formatua',
+ strike : 'Marratua',
+ subscript : 'Azpi-indize',
+ superscript : 'Goi-indize',
+ horizontalrule : 'Txertatu Marra Horizontala',
+ pagebreak : 'Txertatu Orrialde-jauzia',
+ unlink : 'Kendu Esteka',
+ undo : 'Desegin',
+ redo : 'Berregin',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Zerbitzaria arakatu',
+ url : 'URL',
+ protocol : 'Protokoloa',
+ upload : 'Gora kargatu',
+ uploadSubmit : 'Zerbitzarira bidalia',
+ image : 'Irudia',
+ flash : 'Flasha',
+ form : 'Formularioa',
+ checkbox : 'Kontrol-laukia',
+ radio : 'Aukera-botoia',
+ textField : 'Testu Eremua',
+ textarea : 'Testu-area',
+ hiddenField : 'Ezkutuko Eremua',
+ button : 'Botoia',
+ select : 'Hautespen Eremua',
+ imageButton : 'Irudi Botoia',
+ notSet : '<Ezarri gabe>',
+ id : 'Id',
+ name : 'Izena',
+ langDir : 'Hizkuntzaren Norabidea',
+ langDirLtr : 'Ezkerretik Eskumara(LTR)',
+ langDirRtl : 'Eskumatik Ezkerrera (RTL)',
+ langCode : 'Hizkuntza Kodea',
+ longDescr : 'URL Deskribapen Luzea',
+ cssClass : 'Estilo-orriko Klaseak',
+ advisoryTitle : 'Izenburua',
+ cssStyle : 'Estiloa',
+ ok : 'Ados',
+ cancel : 'Utzi',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Orokorra',
+ advancedTab : 'Aurreratua',
+ validateNumberFailed : 'Balio hau ez da zenbaki bat.',
+ confirmNewPage : 'Eduki honetan gorde gabe dauden aldaketak galduko dira. Ziur zaude orri berri bat kargatu nahi duzula?',
+ confirmCancel : 'Aukera batzuk aldatu egin dira. Ziur zaude elkarrizketa-koadroa itxi nahi duzula?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, erabilezina</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Txertatu Karaktere Berezia',
+ title : 'Karaktere Berezia Aukeratu',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Txertatu/Editatu Esteka',
+ other : '<other>', // MISSING
+ menu : 'Aldatu Esteka',
+ title : 'Esteka',
+ info : 'Estekaren Informazioa',
+ target : 'Target (Helburua)',
+ upload : 'Gora kargatu',
+ advanced : 'Aurreratua',
+ type : 'Esteka Mota',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Aingura orrialde honetan',
+ toEmail : 'ePosta',
+ targetFrame : '<marko>',
+ targetPopup : '<popup leihoa>',
+ targetFrameName : 'Marko Helburuaren Izena',
+ targetPopupName : 'Popup Leihoaren Izena',
+ popupFeatures : 'Popup Leihoaren Ezaugarriak',
+ popupResizable : 'Tamaina Aldakorra',
+ popupStatusBar : 'Egoera Barra',
+ popupLocationBar: 'Kokaleku Barra',
+ popupToolbar : 'Tresna Barra',
+ popupMenuBar : 'Menu Barra',
+ popupFullScreen : 'Pantaila Osoa (IE)',
+ popupScrollBars : 'Korritze Barrak',
+ popupDependent : 'Menpekoa (Netscape)',
+ popupWidth : 'Zabalera',
+ popupLeft : 'Ezkerreko Posizioa',
+ popupHeight : 'Altuera',
+ popupTop : 'Goiko Posizioa',
+ id : 'Id',
+ langDir : 'Hizkuntzaren Norabidea',
+ langDirLTR : 'Ezkerretik Eskumara(LTR)',
+ langDirRTL : 'Eskumatik Ezkerrera (RTL)',
+ acccessKey : 'Sarbide-gakoa',
+ name : 'Izena',
+ langCode : 'Hizkuntzaren Norabidea',
+ tabIndex : 'Tabulazio Indizea',
+ advisoryTitle : 'Izenburua',
+ advisoryContentType : 'Eduki Mota (Content Type)',
+ cssClasses : 'Estilo-orriko Klaseak',
+ charset : 'Estekatutako Karaktere Multzoa',
+ styles : 'Estiloa',
+ selectAnchor : 'Aingura bat hautatu',
+ anchorName : 'Aingura izenagatik',
+ anchorId : 'Elementuaren ID-gatik',
+ emailAddress : 'ePosta Helbidea',
+ emailSubject : 'Mezuaren Gaia',
+ emailBody : 'Mezuaren Gorputza',
+ noAnchors : '(Ez daude aingurak eskuragarri dokumentuan)',
+ noUrl : 'Mesedez URL esteka idatzi',
+ noEmail : 'Mesedez ePosta helbidea idatzi'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Aingura',
+ menu : 'Ainguraren Ezaugarriak',
+ title : 'Ainguraren Ezaugarriak',
+ name : 'Ainguraren Izena',
+ errorName : 'Idatzi ainguraren izena'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Bilatu eta Ordeztu',
+ find : 'Bilatu',
+ replace : 'Ordezkatu',
+ findWhat : 'Zer bilatu:',
+ replaceWith : 'Zerekin ordeztu:',
+ notFoundMsg : 'Idatzitako testua ez da topatu.',
+ matchCase : 'Maiuskula/minuskula',
+ matchWord : 'Esaldi osoa bilatu',
+ matchCyclic : 'Bilaketa ziklikoa',
+ replaceAll : 'Ordeztu Guztiak',
+ replaceSuccessMsg : 'Zenbat aldiz ordeztua: %1'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Taula',
+ title : 'Taularen Ezaugarriak',
+ menu : 'Taularen Ezaugarriak',
+ deleteTable : 'Ezabatu Taula',
+ rows : 'Lerroak',
+ columns : 'Zutabeak',
+ border : 'Ertzaren Zabalera',
+ align : 'Lerrokatu',
+ alignLeft : 'Ezkerrean',
+ alignCenter : 'Erdian',
+ alignRight : 'Eskuman',
+ width : 'Zabalera',
+ widthPx : 'pixel',
+ widthPc : 'ehuneko',
+ widthUnit : 'width unit', // MISSING
+ height : 'Altuera',
+ cellSpace : 'Gelaxka arteko tartea',
+ cellPad : 'Gelaxken betegarria',
+ caption : 'Epigrafea',
+ summary : 'Laburpena',
+ headers : 'Goiburuak',
+ headersNone : 'Bat ere ez',
+ headersColumn : 'Lehen zutabea',
+ headersRow : 'Lehen lerroa',
+ headersBoth : 'Biak',
+ invalidRows : 'Lerro kopurua 0 baino handiagoa den zenbakia izan behar da.',
+ invalidCols : 'Zutabe kopurua 0 baino handiagoa den zenbakia izan behar da.',
+ invalidBorder : 'Ertzaren tamaina zenbaki bat izan behar da.',
+ invalidWidth : 'Taularen zabalera zenbaki bat izan behar da.',
+ invalidHeight : 'Taularen altuera zenbaki bat izan behar da.',
+ invalidCellSpacing : 'Gelaxka arteko tartea zenbaki bat izan behar da.',
+ invalidCellPadding : 'Gelaxken betegarria zenbaki bat izan behar da.',
+
+ cell :
+ {
+ menu : 'Gelaxka',
+ insertBefore : 'Txertatu Gelaxka Aurretik',
+ insertAfter : 'Txertatu Gelaxka Ostean',
+ deleteCell : 'Kendu Gelaxkak',
+ merge : 'Batu Gelaxkak',
+ mergeRight : 'Elkartu Eskumara',
+ mergeDown : 'Elkartu Behera',
+ splitHorizontal : 'Banatu Gelaxkak Horizontalki',
+ splitVertical : 'Banatu Gelaxkak Bertikalki',
+ title : 'Gelaxken Ezaugarriak',
+ cellType : 'Gelaxka Mota',
+ rowSpan : 'Hedatutako Lerroak',
+ colSpan : 'Hedatutako Zutabeak',
+ wordWrap : 'Itzulbira',
+ hAlign : 'Lerrokatze Horizontala',
+ vAlign : 'Lerrokatze Bertikala',
+ alignTop : 'Goian',
+ alignMiddle : 'Erdian',
+ alignBottom : 'Behean',
+ alignBaseline : 'Oinarri-lerroan',
+ bgColor : 'Fondoaren Kolorea',
+ borderColor : 'Ertzaren Kolorea',
+ data : 'Data',
+ header : 'Goiburua',
+ yes : 'Bai',
+ no : 'Ez',
+ invalidWidth : 'Gelaxkaren zabalera zenbaki bat izan behar da.',
+ invalidHeight : 'Gelaxkaren altuera zenbaki bat izan behar da.',
+ invalidRowSpan : 'Lerroen hedapena zenbaki osoa izan behar da.',
+ invalidColSpan : 'Zutabeen hedapena zenbaki osoa izan behar da.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Lerroa',
+ insertBefore : 'Txertatu Lerroa Aurretik',
+ insertAfter : 'Txertatu Lerroa Ostean',
+ deleteRow : 'Ezabatu Lerroak'
+ },
+
+ column :
+ {
+ menu : 'Zutabea',
+ insertBefore : 'Txertatu Zutabea Aurretik',
+ insertAfter : 'Txertatu Zutabea Ostean',
+ deleteColumn : 'Ezabatu Zutabeak'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Botoiaren Ezaugarriak',
+ text : 'Testua (Balorea)',
+ type : 'Mota',
+ typeBtn : 'Botoia',
+ typeSbm : 'Bidali',
+ typeRst : 'Garbitu'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Kontrol-laukiko Ezaugarriak',
+ radioTitle : 'Aukera-botoiaren Ezaugarriak',
+ value : 'Balorea',
+ selected : 'Hautatuta'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Formularioaren Ezaugarriak',
+ menu : 'Formularioaren Ezaugarriak',
+ action : 'Ekintza',
+ method : 'Metodoa',
+ encoding : 'Kodeketa'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Hautespen Eremuaren Ezaugarriak',
+ selectInfo : 'Informazioa',
+ opAvail : 'Aukera Eskuragarriak',
+ value : 'Balorea',
+ size : 'Tamaina',
+ lines : 'lerro kopurura',
+ chkMulti : 'Hautaketa anitzak baimendu',
+ opText : 'Testua',
+ opValue : 'Balorea',
+ btnAdd : 'Gehitu',
+ btnModify : 'Aldatu',
+ btnUp : 'Gora',
+ btnDown : 'Behera',
+ btnSetValue : 'Aukeratutako balorea ezarri',
+ btnDelete : 'Ezabatu'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Testu-arearen Ezaugarriak',
+ cols : 'Zutabeak',
+ rows : 'Lerroak'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Testu Eremuaren Ezaugarriak',
+ name : 'Izena',
+ value : 'Balorea',
+ charWidth : 'Zabalera',
+ maxChars : 'Zenbat karaktere gehienez',
+ type : 'Mota',
+ typeText : 'Testua',
+ typePass : 'Pasahitza'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Ezkutuko Eremuaren Ezaugarriak',
+ name : 'Izena',
+ value : 'Balorea'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Irudi Ezaugarriak',
+ titleButton : 'Irudi Botoiaren Ezaugarriak',
+ menu : 'Irudi Ezaugarriak',
+ infoTab : 'Irudi informazioa',
+ btnUpload : 'Zerbitzarira bidalia',
+ upload : 'Gora Kargatu',
+ alt : 'Ordezko Testua',
+ width : 'Zabalera',
+ height : 'Altuera',
+ lockRatio : 'Erlazioa Blokeatu',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Tamaina Berrezarri',
+ border : 'Ertza',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Lerrokatu',
+ alignLeft : 'Ezkerrera',
+ alignRight : 'Eskuman',
+ alertUrl : 'Mesedez Irudiaren URLa idatzi',
+ linkTab : 'Esteka',
+ button2Img : 'Aukeratutako irudi botoia, irudi normal batean eraldatu nahi duzu?',
+ img2Button : 'Aukeratutako irudia, irudi botoi batean eraldatu nahi duzu?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flasharen Ezaugarriak',
+ propertiesTab : 'Ezaugarriak',
+ title : 'Flasharen Ezaugarriak',
+ chkPlay : 'Automatikoki Erreproduzitu',
+ chkLoop : 'Begizta',
+ chkMenu : 'Flasharen Menua Gaitu',
+ chkFull : 'Onartu Pantaila osoa',
+ scale : 'Eskalatu',
+ scaleAll : 'Dena erakutsi',
+ scaleNoBorder : 'Ertzik gabe',
+ scaleFit : 'Doitu',
+ access : 'Scriptak baimendu',
+ accessAlways : 'Beti',
+ accessSameDomain: 'Domeinu berdinekoak',
+ accessNever : 'Inoiz ere ez',
+ align : 'Lerrokatu',
+ alignLeft : 'Ezkerrera',
+ alignAbsBottom : 'Abs Behean',
+ alignAbsMiddle : 'Abs Erdian',
+ alignBaseline : 'Oinan',
+ alignBottom : 'Behean',
+ alignMiddle : 'Erdian',
+ alignRight : 'Eskuman',
+ alignTextTop : 'Testua Goian',
+ alignTop : 'Goian',
+ quality : 'Kalitatea',
+ qualityBest : 'Hoberena',
+ qualityHigh : 'Altua',
+ qualityAutoHigh : 'Auto Altua',
+ qualityMedium : 'Ertaina',
+ qualityAutoLow : 'Auto Baxua',
+ qualityLow : 'Baxua',
+ windowModeWindow: 'Leihoa',
+ windowModeOpaque: 'Opakoa',
+ windowModeTransparent : 'Gardena',
+ windowMode : 'Leihoaren modua',
+ flashvars : 'Flash Aldagaiak',
+ bgcolor : 'Atzeko kolorea',
+ width : 'Zabalera',
+ height : 'Altuera',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'Mesedez URL esteka idatzi',
+ validateWidth : 'Zabalera zenbaki bat izan behar da.',
+ validateHeight : 'Altuera zenbaki bat izan behar da.',
+ validateHSpace : 'HSpace zenbaki bat izan behar da.',
+ validateVSpace : 'VSpace zenbaki bat izan behar da.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Ortografia',
+ title : 'Ortografia zuzenketa',
+ notAvailable : 'Barkatu baina momentu honetan zerbitzua ez dago erabilgarri.',
+ errorLoading : 'Errorea gertatu da aplikazioa zerbitzaritik kargatzean: %s.',
+ notInDic : 'Ez dago hiztegian',
+ changeTo : 'Honekin ordezkatu',
+ btnIgnore : 'Ezikusi',
+ btnIgnoreAll : 'Denak Ezikusi',
+ btnReplace : 'Ordezkatu',
+ btnReplaceAll : 'Denak Ordezkatu',
+ btnUndo : 'Desegin',
+ noSuggestions : '- Iradokizunik ez -',
+ progress : 'Zuzenketa ortografikoa martxan...',
+ noMispell : 'Zuzenketa ortografikoa bukatuta: Akatsik ez',
+ noChanges : 'Zuzenketa ortografikoa bukatuta: Ez da ezer aldatu',
+ oneChange : 'Zuzenketa ortografikoa bukatuta: Hitz bat aldatu da',
+ manyChanges : 'Zuzenketa ortografikoa bukatuta: %1 hitz aldatu dira',
+ ieSpellDownload : 'Zuzentzaile ortografikoa ez dago instalatuta. Deskargatu nahi duzu?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Aurpegierak',
+ title : 'Aurpegiera Sartu',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 elementua'
+ },
+
+ numberedlist : 'Zenbakidun Zerrenda',
+ bulletedlist : 'Buletdun Zerrenda',
+ indent : 'Handitu Koska',
+ outdent : 'Txikitu Koska',
+
+ justify :
+ {
+ left : 'Lerrokatu Ezkerrean',
+ center : 'Lerrokatu Erdian',
+ right : 'Lerrokatu Eskuman',
+ block : 'Justifikatu'
+ },
+
+ blockquote : 'Aipamen blokea',
+
+ clipboard :
+ {
+ title : 'Itsatsi',
+ cutError : 'Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki moztea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl/Cmd+X).',
+ copyError : 'Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki kopiatzea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl/Cmd+C).',
+ pasteMsg : 'Mesedez teklatua erabilita (<STRONG>Ctrl/Cmd+V</STRONG>) ondorego eremuan testua itsatsi eta <STRONG>OK</STRONG> sakatu.',
+ securityMsg : 'Nabigatzailearen segurtasun ezarpenak direla eta, editoreak ezin du arbela zuzenean erabili. Leiho honetan berriro itsatsi behar duzu.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Itsatsi nahi duzun testua Wordetik hartua dela dirudi. Itsatsi baino lehen garbitu nahi duzu?',
+ toolbar : 'Itsatsi Word-etik',
+ title : 'Itsatsi Word-etik',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Testu Arrunta bezala Itsatsi',
+ title : 'Testu Arrunta bezala Itsatsi'
+ },
+
+ templates :
+ {
+ button : 'Txantiloiak',
+ title : 'Eduki Txantiloiak',
+ options : 'Template Options', // MISSING
+ insertOption : 'Ordeztu oraingo edukiak',
+ selectPromptMsg : 'Mesedez txantiloia aukeratu editorean kargatzeko<br>(orain dauden edukiak galduko dira):',
+ emptyListMsg : '(Ez dago definitutako txantiloirik)'
+ },
+
+ showBlocks : 'Blokeak erakutsi',
+
+ stylesCombo :
+ {
+ label : 'Estiloa',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Bloke Estiloak',
+ panelTitle2 : 'Inline Estiloak',
+ panelTitle3 : 'Objektu Estiloak'
+ },
+
+ format :
+ {
+ label : 'Formatua',
+ panelTitle : 'Formatua',
+
+ tag_p : 'Arrunta',
+ tag_pre : 'Formateatua',
+ tag_address : 'Helbidea',
+ tag_h1 : 'Izenburua 1',
+ tag_h2 : 'Izenburua 2',
+ tag_h3 : 'Izenburua 3',
+ tag_h4 : 'Izenburua 4',
+ tag_h5 : 'Izenburua 5',
+ tag_h6 : 'Izenburua 6',
+ tag_div : 'Paragrafoa (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Letra-tipoa',
+ voiceLabel : 'Letra-tipoa',
+ panelTitle : 'Letra-tipoa'
+ },
+
+ fontSize :
+ {
+ label : 'Tamaina',
+ voiceLabel : 'Tamaina',
+ panelTitle : 'Tamaina'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Testu Kolorea',
+ bgColorTitle : 'Atzeko kolorea',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatikoa',
+ more : 'Kolore gehiago...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Ortografia Zuzenketa Idatzi Ahala (SCAYT)',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Gaitu SCAYT',
+ disable : 'Desgaitu SCAYT',
+ about : 'SCAYTi buruz',
+ toggle : 'SCAYT aldatu',
+ options : 'Aukerak',
+ langs : 'Hizkuntzak',
+ moreSuggestions : 'Iradokizun gehiago',
+ ignore : 'Baztertu',
+ ignoreAll : 'Denak baztertu',
+ addWord : 'Hitza Gehitu',
+ emptyDic : 'Hiztegiaren izena ezin da hutsik egon.',
+
+ optionsTab : 'Aukerak',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Hizkuntzak',
+
+ dictionariesTab : 'Hiztegiak',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Honi buruz'
+ },
+
+ about :
+ {
+ title : 'CKEditor(r)i buruz',
+ dlgTitle : 'CKEditor(r)i buruz',
+ moreInfo : 'Lizentziari buruzko informazioa gure webgunean:',
+ copy : 'Copyright © $1. Eskubide guztiak erreserbaturik.'
+ },
+
+ maximize : 'Maximizatu',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Aingura',
+ flash : 'Flash Animazioa',
+ div : 'Orrialde Saltoa',
+ unknown : 'Objektu ezezaguna'
+ },
+
+ resize : 'Arrastatu tamaina aldatzeko',
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/fa.js b/devel/third-party/ckeditor/lang/fa.js
new file mode 100644
index 0000000..ba731d4
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/fa.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Persian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fa'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'rtl',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Ù
Ùبع',
+ newPage : 'برگÙÙ´ تازÙ',
+ save : 'ذخÛرÙ',
+ preview : 'Ù¾ÛØ´ÙÙ
اÛØ´',
+ cut : 'برش',
+ copy : 'Ú©Ù¾Û',
+ paste : 'ÚسباÙدÙ',
+ print : 'Úاپ',
+ underline : 'خطزÛردار',
+ bold : 'درشت',
+ italic : 'Ø®Ù
ÛدÙ',
+ selectAll : 'گزÛÙØ´ ÙÙ
Ù',
+ removeFormat : 'برداشت٠ÙرÙ
ت',
+ strike : 'Ù
ÛاÙخط',
+ subscript : 'زÛرÙÙÛس',
+ superscript : 'باÙاÙÙÛس',
+ horizontalrule : 'Ú¯ÙجاÙد٠خط ÙاÙÙÛ',
+ pagebreak : 'Ú¯ÙجاÙØ¯Ù Ø´Ú©Ø³ØªÚ¯Û ÙپاÛا٠ÙبرگÙ',
+ unlink : 'برداشت٠پÛÙÙد',
+ undo : 'ÙاÚÛدÙ',
+ redo : 'بازÚÛدÙ',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ÙÙرستÙÙ
اÛÛ Ø³Ø±Ùر',
+ url : 'URL',
+ protocol : 'پرÙتکÙ',
+ upload : 'اÙتÙا٠ب٠سرÙر',
+ uploadSubmit : 'ب٠سرÙر بÙرست',
+ image : 'تصÙÛر',
+ flash : 'Flash',
+ form : 'ÙرÙ
',
+ checkbox : 'خاÙÙÙ´ گزÛÙÙاÛ',
+ radio : 'دکÙ
ÙÙ´ رادÛÙÛÛ',
+ textField : 'ÙÛÙد Ù
تÙÛ',
+ textarea : 'ÙاØÛÙÙ´ Ù
تÙÛ',
+ hiddenField : 'ÙÛÙد Ù¾ÙÙاÙ',
+ button : 'دکÙ
Ù',
+ select : 'ÙÛÙد ÚÙدگزÛÙÙاÛ',
+ imageButton : 'دکÙ
ÙÙ´ تصÙÛرÛ',
+ notSet : '<تعÛÙÙشدÙ>',
+ id : 'Ø´ÙاسÙ',
+ name : 'ÙاÙ
',
+ langDir : 'جÙتÙÙ
Ø§Û Ø²Ø¨Ø§Ù',
+ langDirLtr : 'ÚÙ¾ ب٠راست (LTR)',
+ langDirRtl : 'راست ب٠ÚÙ¾ (RTL)',
+ langCode : 'کد زباÙ',
+ longDescr : 'URL تÙصÛÙ Ø·ÙÙاÙÛ',
+ cssClass : 'Ú©ÙاسÙØ§Û Ø´ÛÙÙÙاÙ
Ù(Stylesheet)',
+ advisoryTitle : 'عÙÙا٠کÙ
Ú©Û',
+ cssStyle : 'Ø´ÛÙÙ(style)',
+ ok : 'پذÛرش',
+ cancel : 'اÙصراÙ',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Ù¾ÛشرÙتÙ',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Ú¯ÙجاÙد٠ÙÙÛسÙÙ´ ÙÛÚÙ',
+ title : 'گزÛÙØ´ ÙÙÛسÙÙ´ÙÛÚÙ',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ú¯ÙجاÙدÙ/ÙÛراÛØ´ ÙÙ¾ÛÙÙد',
+ other : '<ساÛر>',
+ menu : 'ÙÛراÛØ´ Ù¾ÛÙÙد',
+ title : 'Ù¾ÛÙÙد',
+ info : 'اطÙاعات Ù¾ÛÙÙد',
+ target : 'Ù
Ùصد',
+ upload : 'اÙتÙا٠ب٠سرÙر',
+ advanced : 'Ù¾ÛشرÙتÙ',
+ type : 'ÙÙع Ù¾ÛÙÙد',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ÙÙگر در ÙÙ
Û٠صÙØÙ',
+ toEmail : 'پست اÙکترÙÙÛÚ©Û',
+ targetFrame : '<ÙرÛÙ
>',
+ targetPopup : '<Ù¾ÙجرÙÙ´ پاپاپ>',
+ targetFrameName : 'ÙاÙ
ÙرÛÙ
Ù
Ùصد',
+ targetPopupName : 'ÙاÙ
Ù¾ÙجرÙÙ´ پاپاپ',
+ popupFeatures : 'ÙÛÚÚ¯ÛÙØ§Û Ù¾ÙجرÙÙ´ پاپاپ',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'ÙÙار ÙضعÛت',
+ popupLocationBar: 'ÙÙار Ù
ÙÙعÛت',
+ popupToolbar : 'ÙÙارابزار',
+ popupMenuBar : 'ÙÙار Ù
ÙÙ',
+ popupFullScreen : 'تÙ
اÙ
صÙØÙ (IE)',
+ popupScrollBars : 'Ù
ÛÙÙÙØ§Û Ù¾ÛÙ
اÛØ´',
+ popupDependent : 'Ùابست٠(Netscape)',
+ popupWidth : 'Ù¾ÙÙا',
+ popupLeft : 'Ù
ÙÙعÛت ÙÚÙ¾',
+ popupHeight : 'درازا',
+ popupTop : 'Ù
ÙÙعÛت ÙباÙا',
+ id : 'Id', // MISSING
+ langDir : 'جÙتÙÙ
Ø§Û Ø²Ø¨Ø§Ù',
+ langDirLTR : 'ÚÙ¾ ب٠راست (LTR)',
+ langDirRTL : 'راست ب٠ÚÙ¾ (RTL)',
+ acccessKey : 'Ú©ÙÛد دستÛابÛ',
+ name : 'ÙاÙ
',
+ langCode : 'جÙتÙÙ
Ø§Û Ø²Ø¨Ø§Ù',
+ tabIndex : 'ÙÙ
اÛÙÙ´ Ø¯Ø³ØªØ±Ø³Û Ø¨Ø§ Tab',
+ advisoryTitle : 'عÙÙا٠کÙ
Ú©Û',
+ advisoryContentType : 'ÙÙع Ù
ØتÙØ§Û Ú©Ù
Ú©Û',
+ cssClasses : 'Ú©ÙاسÙØ§Û Ø´ÛÙÙÙاÙ
Ù(Stylesheet)',
+ charset : 'ÙÙÛسÙگا٠Ù
Ùبع ÙÙ¾ÛÙÙدشدÙ',
+ styles : 'Ø´ÛÙÙ(style)',
+ selectAnchor : 'ÛÚ© ÙÙگر برگزÛÙÛد',
+ anchorName : 'با ÙاÙ
ÙÙگر',
+ anchorId : 'با Ø´ÙاسÙÙ´ اÙÙ
اÙ',
+ emailAddress : 'ÙشاÙÛ Ù¾Ø³Øª اÙکترÙÙÛÚ©Û',
+ emailSubject : 'Ù
ÙضÙع Ù¾ÛاÙ
',
+ emailBody : 'Ù
ت٠پÛاÙ
',
+ noAnchors : '(در اÛ٠سÙد ÙÙÚ¯Ø±Û Ø¯Ø±Ø¯Ø³ØªØ±Ø³ ÙÛست)',
+ noUrl : 'ÙØ·Ùا URL Ù¾ÛÙÙد را بÙÙÛسÛد',
+ noEmail : 'ÙØ·Ùا ÙشاÙÛ Ù¾Ø³Øª اÙکترÙÙÛÚ©Û Ø±Ø§ بÙÙÛسÛد'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ú¯ÙجاÙدÙ/ÙÛراÛØ´ ÙÙÙگر',
+ menu : 'ÙÛÚÚ¯ÛÙØ§Û ÙÙگر',
+ title : 'ÙÛÚÚ¯ÛÙØ§Û ÙÙگر',
+ name : 'ÙاÙ
ÙÙگر',
+ errorName : 'ÙØ·Ùا ÙاÙ
ÙÙگر را بÙÙÛسÛد'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'جستج٠٠جاÛگزÛÙÛ',
+ find : 'جستجÙ',
+ replace : 'جاÛگزÛÙÛ',
+ findWhat : 'ÚÙÚÛز را Ù
ÛÛابÛد:',
+ replaceWith : 'جاÛگزÛÙÛ Ø¨Ø§:',
+ notFoundMsg : 'Ù
ت٠Ù
ÙردÙظر ÛاÙت Ùشد.',
+ matchCase : 'ÙÙ
ساÙÛ Ø¯Ø± Ø¨Ø²Ø±Ú¯Û Ù Ú©ÙÚÚ©Û ÙÙÛسÙÙا',
+ matchWord : 'ÙÙ
ساÙÛ Ø¨Ø§ ÙاÚÙÙ´ کاÙ
Ù',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'جاÛگزÛÙÛ ÙÙ
ÙÙ´ ÛاÙتÙÙا',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'جدÙÙ',
+ title : 'ÙÛÚÚ¯ÛÙØ§Û Ø¬Ø¯ÙÙ',
+ menu : 'ÙÛÚÚ¯ÛÙØ§Û Ø¬Ø¯ÙÙ',
+ deleteTable : 'پاککرد٠جدÙÙ',
+ rows : 'سطرÙا',
+ columns : 'ستÙÙÙا',
+ border : 'اÙدازÙÙ´ ÙبÙ',
+ align : 'ÚÛÙØ´',
+ alignLeft : 'ÚÙ¾',
+ alignCenter : 'Ùسط',
+ alignRight : 'راست',
+ width : 'Ù¾ÙÙا',
+ widthPx : 'Ù¾ÛکسÙ',
+ widthPc : 'درصد',
+ widthUnit : 'width unit', // MISSING
+ height : 'درازا',
+ cellSpace : 'ÙاصÙÙÙ´ Ù
Ûا٠سÙÙÙÙا',
+ cellPad : 'ÙاصÙÙÙ´ پرشد٠در سÙÙÙ',
+ caption : 'عÙÙاÙ',
+ summary : 'Ø®ÙاصÙ',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'سÙÙÙ',
+ insertBefore : 'اÙزÙد٠سÙÙÙ Ùب٠از',
+ insertAfter : 'اÙزÙد٠سÙÙ٠بعد از',
+ deleteCell : 'Øذ٠سÙÙÙÙا',
+ merge : 'ادغاÙ
سÙÙÙÙا',
+ mergeRight : 'ادغاÙ
ب٠راست',
+ mergeDown : 'ادغاÙ
ب٠پاÛÛÙ',
+ splitHorizontal : 'جدا کرد٠اÙÙÛ Ø³ÙÙÙ',
+ splitVertical : 'جدا کرد٠عÙ
ÙØ¯Û Ø³ÙÙÙ',
+ title : 'ÙÛÚÚ¯ÛÙØ§Û Ø³ÙÙÙ',
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'سطر',
+ insertBefore : 'اÙزÙد٠سطر Ùب٠از',
+ insertAfter : 'اÙزÙد٠سطر بعد از',
+ deleteRow : 'Øذ٠سطرÙا'
+ },
+
+ column :
+ {
+ menu : 'ستÙÙ',
+ insertBefore : 'اÙزÙد٠ستÙÙ Ùب٠از',
+ insertAfter : 'اÙزÙد٠ستÙ٠بعد از',
+ deleteColumn : 'Øذ٠ستÙÙÙا'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ÙÛÚÚ¯ÛÙØ§Û Ø¯Ú©Ù
Ù',
+ text : 'Ù
ت٠(Ù
Ùدار)',
+ type : 'ÙÙع',
+ typeBtn : 'دکÙ
Ù',
+ typeSbm : 'Submit',
+ typeRst : 'بازÙشاÙÛ (Reset)'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ÙÛÚÚ¯ÛÙØ§Û Ø®Ø§ÙÙÙ´ گزÛÙÙاÛ',
+ radioTitle : 'ÙÛÚÚ¯ÛÙØ§Û Ø¯Ú©Ù
ÙÙ´ رادÛÙÛÛ',
+ value : 'Ù
Ùدار',
+ selected : 'برگزÛدÙ'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ÙÛÚÚ¯ÛÙØ§Û ÙرÙ
',
+ menu : 'ÙÛÚÚ¯ÛÙØ§Û ÙرÙ
',
+ action : 'رÙÛداد',
+ method : 'Ù
تد',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'ÙÛÚÚ¯ÛÙØ§Û ÙÛÙد ÚÙدگزÛÙÙاÛ',
+ selectInfo : 'اطÙاعات',
+ opAvail : 'گزÛÙÙÙØ§Û Ø¯Ø±Ø¯Ø³ØªØ±Ø³',
+ value : 'Ù
Ùدار',
+ size : 'اÙدازÙ',
+ lines : 'خطÙØ·',
+ chkMulti : 'گزÛÙØ´ ÚÙدگاÙÙ ÙراÙÙ
باشد',
+ opText : 'Ù
تÙ',
+ opValue : 'Ù
Ùدار',
+ btnAdd : 'اÙزÙدÙ',
+ btnModify : 'ÙÛراÛØ´',
+ btnUp : 'باÙا',
+ btnDown : 'پائÛÙ',
+ btnSetValue : 'تÙظÛÙ
ب٠عÙÙا٠Ù
Ùدار ÙبرگزÛدÙ',
+ btnDelete : 'پاککردÙ'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ÙÛÚÚ¯ÛÙØ§Û ÙاØÛÙÙ´ Ù
تÙÛ',
+ cols : 'ستÙÙÙا',
+ rows : 'سطرÙا'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ÙÛÚÚ¯ÛÙØ§Û ÙÛÙد Ù
تÙÛ',
+ name : 'ÙاÙ
',
+ value : 'Ù
Ùدار',
+ charWidth : 'Ù¾ÙÙØ§Û ÙÙÛسÙ',
+ maxChars : 'بÛØ´ÛÙÙÙ´ ÙÙÛسÙÙا',
+ type : 'ÙÙع',
+ typeText : 'Ù
تÙ',
+ typePass : 'گذرÙاÚÙ'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ÙÛÚÚ¯ÛÙØ§Û ÙÛÙد Ù¾ÙÙاÙ',
+ name : 'ÙاÙ
',
+ value : 'Ù
Ùدار'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ÙÛÚÚ¯ÛÙØ§Û ØªØµÙÛر',
+ titleButton : 'ÙÛÚÚ¯ÛÙØ§Û Ø¯Ú©Ù
ÙÙ´ تصÙÛرÛ',
+ menu : 'ÙÛÚÚ¯ÛÙØ§Û ØªØµÙÛر',
+ infoTab : 'اطÙاعات تصÙÛر',
+ btnUpload : 'ب٠سرÙر بÙرست',
+ upload : 'اÙتÙا٠ب٠سرÙر',
+ alt : 'Ù
ت٠جاÛگزÛÙ',
+ width : 'Ù¾ÙÙا',
+ height : 'درازا',
+ lockRatio : 'ÙÙÙکرد٠ÙÙسبت',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'بازÙشاÙÛ Ø§ÙدازÙ',
+ border : 'ÙبÙ',
+ hSpace : 'ÙاصÙÙÙ´ اÙÙÛ',
+ vSpace : 'ÙاصÙÙÙ´ عÙ
ÙدÛ',
+ align : 'ÚÛÙØ´',
+ alignLeft : 'ÚÙ¾',
+ alignRight : 'راست',
+ alertUrl : 'ÙØ·Ùا URL تصÙÛر را بÙÙÛسÛد',
+ linkTab : 'Ù¾ÛÙÙد',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ÙÛÚÚ¯ÛÙØ§Û Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'ÙÛÚÚ¯ÛÙØ§Û Flash',
+ chkPlay : 'آغاز ÙØ®Ùدکار',
+ chkLoop : 'Ø§Ø¬Ø±Ø§Û Ù¾ÛاپÛ',
+ chkMenu : 'دردسترسبÙد٠Ù
ÙÙÛ Flash',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Ù
ÙÛاس',
+ scaleAll : 'ÙÙ
اÛØ´ ÙÙ
Ù',
+ scaleNoBorder : 'بدÙ٠کراÙ',
+ scaleFit : 'جاÛÚ¯ÛØ±Û Ú©Ø§Ù
Ù',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'ÚÛÙØ´',
+ alignLeft : 'ÚÙ¾',
+ alignAbsBottom : 'پائÛÙ Ù
Ø·ÙÙ',
+ alignAbsMiddle : 'Ùسط Ù
Ø·ÙÙ',
+ alignBaseline : 'خطپاÛÙ',
+ alignBottom : 'پائÛÙ',
+ alignMiddle : 'Ùسط',
+ alignRight : 'راست',
+ alignTextTop : 'Ù
ت٠باÙا',
+ alignTop : 'باÙا',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'رÙÚ¯ پسزÙ
ÛÙÙ',
+ width : 'Ù¾ÙÙا',
+ height : 'درازا',
+ hSpace : 'ÙاصÙÙÙ´ اÙÙÛ',
+ vSpace : 'ÙاصÙÙÙ´ عÙ
ÙدÛ',
+ validateSrc : 'ÙØ·Ùا URL Ù¾ÛÙÙد را بÙÙÛسÛد',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Ø¨Ø±Ø±Ø³Û Ø§Ù
Ùا',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'در ÙاÚÙÙاÙ
Ù ÛاÙت Ùشد',
+ changeTo : 'تغÛÛر بÙ',
+ btnIgnore : 'ÚØ´Ù
Ù¾ÙØ´Û',
+ btnIgnoreAll : 'ÚØ´Ù
Ù¾ÙØ´Û ÙÙ
Ù',
+ btnReplace : 'جاÛگزÛÙÛ',
+ btnReplaceAll : 'جاÛگزÛÙÛ ÙÙ
Ù',
+ btnUndo : 'ÙاÚÛÙØ´',
+ noSuggestions : '- Ù¾ÛØ´ÙÙØ§Ø¯Û ÙÛست -',
+ progress : 'Ø¨Ø±Ø±Ø³Û Ø§Ù
Ùا در Øا٠اÙجاÙ
...',
+ noMispell : 'Ø¨Ø±Ø±Ø³Û Ø§Ù
Ùا اÙجاÙ
شد. ÙÛÚ ØºÙطاÙ
ÙØ§Ø¦Û ÛاÙت Ùشد',
+ noChanges : 'Ø¨Ø±Ø±Ø³Û Ø§Ù
Ùا اÙجاÙ
شد. ÙÛÚ ÙاÚÙØ§Û ØªØºÛÛر ÙÛاÙت',
+ oneChange : 'Ø¨Ø±Ø±Ø³Û Ø§Ù
Ùا اÙجاÙ
شد. ÛÚ© ÙاÚ٠تغÛÛر ÛاÙت',
+ manyChanges : 'Ø¨Ø±Ø±Ø³Û Ø§Ù
Ùا اÙجاÙ
شد. %1 ÙاÚ٠تغÛÛر ÛاÙت',
+ ieSpellDownload : 'بررسÛÚ©ÙÙدÙÙ´ اÙ
Ùا Ùصب Ùشد٠است. Ø¢Ûا Ù
ÛØ®ÙاÙÛد آ٠را ÙÙ
اکÙÙ٠درÛاÙت Ú©ÙÛدØ'
+ },
+
+ smiley :
+ {
+ toolbar : 'Ø®ÙداÙÚ©',
+ title : 'Ú¯ÙجاÙد٠خÙداÙÚ©',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ÙÙرست Ø´Ù
ارÙدار',
+ bulletedlist : 'ÙÙرست ÙÙØ·ÙاÛ',
+ indent : 'اÙزاÛØ´ تÙرÙتگÛ',
+ outdent : 'کاÙØ´ تÙرÙتگÛ',
+
+ justify :
+ {
+ left : 'ÚÙ¾ÚÛÙ',
+ center : 'Ù
ÛاÙÚÛÙ',
+ right : 'راستÚÛÙ',
+ block : 'بÙÙÚ©ÚÛÙ'
+ },
+
+ blockquote : 'بÙÙÚ© ÙÙÙ ÙÙÙ',
+
+ clipboard :
+ {
+ title : 'ÚسباÙدÙ',
+ cutError : 'تÙظÛÙ
ات اÙ
ÙÛØªÛ Ù
رÙرگر Ø´Ù
ا اجاز٠ÙÙ
ÛدÙد Ú©Ù ÙÛراÛشگر ب٠طÙر Ø®Ùدکار عÙ
ÙکردÙØ§Û Ø¨Ø±Ø´ را اÙجاÙ
دÙد. ÙØ·Ùا با دکÙ
ÙÙØ§Û ØµÙØÙÚ©ÙÛد اÛ٠کار را اÙجاÙ
دÙÛد (Ctrl/Cmd+X).',
+ copyError : 'تÙظÛÙ
ات اÙ
ÙÛØªÛ Ù
رÙرگر Ø´Ù
ا اجاز٠ÙÙ
ÛدÙد Ú©Ù ÙÛراÛشگر ب٠طÙر Ø®Ùدکار عÙ
ÙکردÙØ§Û Ú©Ù¾Ûکرد٠را اÙجاÙ
دÙد. ÙØ·Ùا با دکÙ
ÙÙØ§Û ØµÙØÙÚ©ÙÛد اÛ٠کار را اÙجاÙ
دÙÛد (Ctrl/Cmd+C).',
+ pasteMsg : 'ÙØ·Ùا Ù
ت٠را با Ú©ÙÛدÙØ§Û (<STRONG>Ctrl/Cmd+V</STRONG>) در اÛ٠جعبÙÙ´ Ù
تÙÛ Ø¨ÚسباÙÛد Ù <STRONG>پذÛرش</STRONG> را بزÙÛد.',
+ securityMsg : 'ب٠خاطر تÙظÛÙ
ات اÙ
ÙÛØªÛ Ù
رÙرگر Ø´Ù
Ø§Ø ÙÛراÛشگر ÙÙ
ÛتÙاÙد Ø¯Ø³ØªØ±Ø³Û Ù
ستÙÛÙ
ب٠دادÙÙØ§Û clipboard داشت٠باشد. Ø´Ù
ا باÛد دÙبار٠آÙرا در اÛÙ Ù¾Ùجر٠بÚسباÙÛد.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'ÚسباÙد٠از Word',
+ title : 'ÚسباÙد٠از Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'ÚسباÙد٠ب٠عÙÙا٠Ù
ت٠ÙسادÙ',
+ title : 'ÚسباÙد٠ب٠عÙÙا٠Ù
ت٠ÙسادÙ'
+ },
+
+ templates :
+ {
+ button : 'اÙÚ¯ÙÙا',
+ title : 'اÙÚ¯ÙÙØ§Û Ù
ØتÙÛات',
+ options : 'Template Options', // MISSING
+ insertOption : 'Ù
ØتÙÛات Ú©ÙÙÙÛ Ø¬Ø§ÛگزÛÙ Ø´ÙÙد',
+ selectPromptMsg : 'ÙØ·Ùا اÙÚ¯ÙÛ Ù
ÙردÙظر را Ø¨Ø±Ø§Û Ø¨Ø§Ø²Ú©Ø±Ø¯Ù Ø¯Ø± ÙÛراÛشگر برگزÛÙÛد<br>(Ù
ØتÙÛات Ú©ÙÙÙÛ Ø§Ø² دست Ø®ÙاÙÙد رÙت):',
+ emptyListMsg : '(اÙÚ¯ÙØ¦Û ØªØ¹Ø±ÛÙ Ùشد٠است)'
+ },
+
+ showBlocks : 'ÙÙ
اÛØ´ بÙÙÚ©Ùا',
+
+ stylesCombo :
+ {
+ label : 'سبک',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'ÙرÙ
ت',
+ panelTitle : 'ÙرÙ
ت',
+
+ tag_p : 'ÙرÙ
اÙ',
+ tag_pre : 'ÙرÙ
تشدÙ',
+ tag_address : 'آدرس',
+ tag_h1 : 'سرÙÙÛس 1',
+ tag_h2 : 'سرÙÙÛس 2',
+ tag_h3 : 'سرÙÙÛس 3',
+ tag_h4 : 'سرÙÙÛس 4',
+ tag_h5 : 'سرÙÙÛس 5',
+ tag_h6 : 'سرÙÙÛس 6',
+ tag_div : 'بÙد'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ÙÙÙ
',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'ÙÙÙ
'
+ },
+
+ fontSize :
+ {
+ label : 'اÙدازÙ',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'اÙدازÙ'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'رÙÚ¯ Ù
تÙ',
+ bgColorTitle : 'رÙÚ¯ پسزÙ
ÛÙÙ',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Ø®Ùدکار',
+ more : 'رÙÚ¯ÙØ§Û Ø¨Ûشتر...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/fi.js b/devel/third-party/ckeditor/lang/fi.js
new file mode 100644
index 0000000..77ce319
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/fi.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Finnish language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fi'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rikastekstieditori, %1, paina ALT 0 nähdäksesi ohjeen.',
+
+ // ARIA descriptions.
+ toolbar : 'Työkalupalkki',
+ editor : 'Rikastekstieditori',
+
+ // Toolbar buttons without dialogs.
+ source : 'Koodi',
+ newPage : 'Tyhjennä',
+ save : 'Tallenna',
+ preview : 'Esikatsele',
+ cut : 'Leikkaa',
+ copy : 'Kopioi',
+ paste : 'Liitä',
+ print : 'Tulosta',
+ underline : 'Alleviivattu',
+ bold : 'Lihavoitu',
+ italic : 'Kursivoitu',
+ selectAll : 'Valitse kaikki',
+ removeFormat : 'Poista muotoilu',
+ strike : 'Yliviivattu',
+ subscript : 'Alaindeksi',
+ superscript : 'Yläindeksi',
+ horizontalrule : 'Lisää murtoviiva',
+ pagebreak : 'Lisää sivun vaihto',
+ unlink : 'Poista linkki',
+ undo : 'Kumoa',
+ redo : 'Toista',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Selaa palvelinta',
+ url : 'Osoite',
+ protocol : 'Protokolla',
+ upload : 'Lisää tiedosto',
+ uploadSubmit : 'Lähetä palvelimelle',
+ image : 'Kuva',
+ flash : 'Flash',
+ form : 'Lomake',
+ checkbox : 'Valintaruutu',
+ radio : 'Radiopainike',
+ textField : 'Tekstikenttä',
+ textarea : 'Tekstilaatikko',
+ hiddenField : 'Piilokenttä',
+ button : 'Painike',
+ select : 'Valintakenttä',
+ imageButton : 'Kuvapainike',
+ notSet : '<ei asetettu>',
+ id : 'Tunniste',
+ name : 'Nimi',
+ langDir : 'Kielen suunta',
+ langDirLtr : 'Vasemmalta oikealle (LTR)',
+ langDirRtl : 'Oikealta vasemmalle (RTL)',
+ langCode : 'Kielikoodi',
+ longDescr : 'Pitkän kuvauksen URL',
+ cssClass : 'Tyyliluokat',
+ advisoryTitle : 'Avustava otsikko',
+ cssStyle : 'Tyyli',
+ ok : 'OK',
+ cancel : 'Peruuta',
+ close : 'Sulje',
+ preview : 'Esikatselu',
+ generalTab : 'Yleinen',
+ advancedTab : 'Lisäominaisuudet',
+ validateNumberFailed : 'Arvon pitää olla numero.',
+ confirmNewPage : 'Kaikki tallentamattomat muutokset tähän sisältöön menetetään. Oletko varma, että haluat ladata uuden sivun?',
+ confirmCancel : 'Jotkut asetuksista on muuttuneet. Oletko varma, että haluat sulkea valintaikkunan?',
+ options : 'Asetukset',
+ target : 'Kohde',
+ targetNew : 'Uusi ikkuna (_blank)',
+ targetTop : 'Päällimmäinen ikkuna (_top)',
+ targetSelf : 'Sama ikkuna (_self)',
+ targetParent : 'Ylemmän tason ikkuna (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, ei saatavissa</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Lisää erikoismerkki',
+ title : 'Valitse erikoismerkki',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Lisää linkki/muokkaa linkkiä',
+ other : '<muu>',
+ menu : 'Muokkaa linkkiä',
+ title : 'Linkki',
+ info : 'Linkin tiedot',
+ target : 'Kohde',
+ upload : 'Lisää tiedosto',
+ advanced : 'Lisäominaisuudet',
+ type : 'Linkkityyppi',
+ toUrl : 'Osoite',
+ toAnchor : 'Ankkuri tässä sivussa',
+ toEmail : 'Sähköposti',
+ targetFrame : '<kehys>',
+ targetPopup : '<popup ikkuna>',
+ targetFrameName : 'Kohdekehyksen nimi',
+ targetPopupName : 'Popup ikkunan nimi',
+ popupFeatures : 'Popup ikkunan ominaisuudet',
+ popupResizable : 'Venytettävä',
+ popupStatusBar : 'Tilarivi',
+ popupLocationBar: 'Osoiterivi',
+ popupToolbar : 'Vakiopainikkeet',
+ popupMenuBar : 'Valikkorivi',
+ popupFullScreen : 'Täysi ikkuna (IE)',
+ popupScrollBars : 'Vierityspalkit',
+ popupDependent : 'Riippuva (Netscape)',
+ popupWidth : 'Leveys',
+ popupLeft : 'Vasemmalta (px)',
+ popupHeight : 'Korkeus',
+ popupTop : 'Ylhäältä (px)',
+ id : 'Tunniste',
+ langDir : 'Kielen suunta',
+ langDirLTR : 'Vasemmalta oikealle (LTR)',
+ langDirRTL : 'Oikealta vasemmalle (RTL)',
+ acccessKey : 'Pikanäppäin',
+ name : 'Nimi',
+ langCode : 'Kielen suunta',
+ tabIndex : 'Tabulaattori indeksi',
+ advisoryTitle : 'Avustava otsikko',
+ advisoryContentType : 'Avustava sisällön tyyppi',
+ cssClasses : 'Tyyliluokat',
+ charset : 'Linkitetty kirjaimisto',
+ styles : 'Tyyli',
+ selectAnchor : 'Valitse ankkuri',
+ anchorName : 'Ankkurin nimen mukaan',
+ anchorId : 'Ankkurin ID:n mukaan',
+ emailAddress : 'Sähköpostiosoite',
+ emailSubject : 'Aihe',
+ emailBody : 'Viesti',
+ noAnchors : '(Ei ankkureita tässä dokumentissa)',
+ noUrl : 'Linkille on kirjoitettava URL',
+ noEmail : 'Kirjoita sähköpostiosoite'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Lisää ankkuri/muokkaa ankkuria',
+ menu : 'Ankkurin ominaisuudet',
+ title : 'Ankkurin ominaisuudet',
+ name : 'Nimi',
+ errorName : 'Ankkurille on kirjoitettava nimi'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numeroidun listan ominaisuudet',
+ bulletedTitle : 'Numeroimattoman listan ominaisuudet',
+ type : 'Tyyppi',
+ start : 'Alku',
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Ympyrä',
+ disc : 'Levy',
+ square : 'Neliö',
+ none : 'Ei mikään',
+ notset : '<ei asetettu>',
+ armenian : 'Armeenialainen numerointi',
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Pienet roomalaiset (i, ii, iii, iv, v, jne.)',
+ upperRoman : 'Isot roomalaiset (I, II, III, IV, V, jne.)',
+ lowerAlpha : 'Pienet aakkoset (a, b, c, d, e, jne.)',
+ upperAlpha : 'Isot aakkoset (A, B, C, D, E, jne.)',
+ lowerGreek : 'Pienet kreikkalaiset (alpha, beta, gamma, jne.)',
+ decimal : 'Desimaalit (1, 2, 3, jne.)',
+ decimalLeadingZero : 'Desimaalit, alussa nolla (01, 02, 03, jne.)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Etsi ja korvaa',
+ find : 'Etsi',
+ replace : 'Korvaa',
+ findWhat : 'Etsi mitä:',
+ replaceWith : 'Korvaa tällä:',
+ notFoundMsg : 'Etsittyä tekstiä ei löytynyt.',
+ matchCase : 'Sama kirjainkoko',
+ matchWord : 'Koko sana',
+ matchCyclic : 'Kierrä ympäri',
+ replaceAll : 'Korvaa kaikki',
+ replaceSuccessMsg : '%1 esiintymä(ä) korvattu.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Taulu',
+ title : 'Taulun ominaisuudet',
+ menu : 'Taulun ominaisuudet',
+ deleteTable : 'Poista taulu',
+ rows : 'Rivit',
+ columns : 'Sarakkeet',
+ border : 'Rajan paksuus',
+ align : 'Kohdistus',
+ alignLeft : 'Vasemmalle',
+ alignCenter : 'Keskelle',
+ alignRight : 'Oikealle',
+ width : 'Leveys',
+ widthPx : 'pikseliä',
+ widthPc : 'prosenttia',
+ widthUnit : 'leveysyksikkö',
+ height : 'Korkeus',
+ cellSpace : 'Solujen väli',
+ cellPad : 'Solujen sisennys',
+ caption : 'Otsikko',
+ summary : 'Yhteenveto',
+ headers : 'Ylätunnisteet',
+ headersNone : 'Ei',
+ headersColumn : 'Ensimmäinen sarake',
+ headersRow : 'Ensimmäinen rivi',
+ headersBoth : 'Molemmat',
+ invalidRows : 'Rivien määrän täytyy olla suurempi kuin 0.',
+ invalidCols : 'Sarakkeiden määrän täytyy olla suurempi kuin 0.',
+ invalidBorder : 'Reunan koon täytyy olla numero.',
+ invalidWidth : 'Taulun leveyden täytyy olla numero.',
+ invalidHeight : 'Taulun korkeuden täytyy olla numero.',
+ invalidCellSpacing : 'Solujen välin täytyy olla numero.',
+ invalidCellPadding : 'Solujen sisennyksen täytyy olla numero.',
+
+ cell :
+ {
+ menu : 'Solu',
+ insertBefore : 'Lisää solu eteen',
+ insertAfter : 'Lisää solu perään',
+ deleteCell : 'Poista solut',
+ merge : 'Yhdistä solut',
+ mergeRight : 'Yhdistä oikealla olevan kanssa',
+ mergeDown : 'Yhdistä alla olevan kanssa',
+ splitHorizontal : 'Jaa solu vaakasuunnassa',
+ splitVertical : 'Jaa solu pystysuunnassa',
+ title : 'Solun ominaisuudet',
+ cellType : 'Solun tyyppi',
+ rowSpan : 'Rivin jatkuvuus',
+ colSpan : 'Solun jatkuvuus',
+ wordWrap : 'Rivitys',
+ hAlign : 'Horisontaali kohdistus',
+ vAlign : 'Vertikaali kohdistus',
+ alignTop : 'Ylös',
+ alignMiddle : 'Keskelle',
+ alignBottom : 'Alas',
+ alignBaseline : 'Alas (teksti)',
+ bgColor : 'Taustan väri',
+ borderColor : 'Reunan väri',
+ data : 'Data',
+ header : 'Ylätunniste',
+ yes : 'Kyllä',
+ no : 'Ei',
+ invalidWidth : 'Solun leveyden täytyy olla numero.',
+ invalidHeight : 'Solun korkeuden täytyy olla numero.',
+ invalidRowSpan : 'Rivin jatkuvuuden täytyy olla kokonaisluku.',
+ invalidColSpan : 'Solun jatkuvuuden täytyy olla kokonaisluku.',
+ chooseColor : 'Valitse'
+ },
+
+ row :
+ {
+ menu : 'Rivi',
+ insertBefore : 'Lisää rivi yläpuolelle',
+ insertAfter : 'Lisää rivi alapuolelle',
+ deleteRow : 'Poista rivit'
+ },
+
+ column :
+ {
+ menu : 'Sarake',
+ insertBefore : 'Lisää sarake vasemmalle',
+ insertAfter : 'Lisää sarake oikealle',
+ deleteColumn : 'Poista sarakkeet'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Painikkeen ominaisuudet',
+ text : 'Teksti (arvo)',
+ type : 'Tyyppi',
+ typeBtn : 'Painike',
+ typeSbm : 'Lähetä',
+ typeRst : 'Tyhjennä'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Valintaruudun ominaisuudet',
+ radioTitle : 'Radiopainikkeen ominaisuudet',
+ value : 'Arvo',
+ selected : 'Valittu'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Lomakkeen ominaisuudet',
+ menu : 'Lomakkeen ominaisuudet',
+ action : 'Toiminto',
+ method : 'Tapa',
+ encoding : 'Enkoodaus'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Valintakentän ominaisuudet',
+ selectInfo : 'Info',
+ opAvail : 'Ominaisuudet',
+ value : 'Arvo',
+ size : 'Koko',
+ lines : 'Rivit',
+ chkMulti : 'Salli usea valinta',
+ opText : 'Teksti',
+ opValue : 'Arvo',
+ btnAdd : 'Lisää',
+ btnModify : 'Muuta',
+ btnUp : 'Ylös',
+ btnDown : 'Alas',
+ btnSetValue : 'Aseta valituksi',
+ btnDelete : 'Poista'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Tekstilaatikon ominaisuudet',
+ cols : 'Sarakkeita',
+ rows : 'Rivejä'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Tekstikentän ominaisuudet',
+ name : 'Nimi',
+ value : 'Arvo',
+ charWidth : 'Leveys',
+ maxChars : 'Maksimi merkkimäärä',
+ type : 'Tyyppi',
+ typeText : 'Teksti',
+ typePass : 'Salasana'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Piilokentän ominaisuudet',
+ name : 'Nimi',
+ value : 'Arvo'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Kuvan ominaisuudet',
+ titleButton : 'Kuvapainikkeen ominaisuudet',
+ menu : 'Kuvan ominaisuudet',
+ infoTab : 'Kuvan tiedot',
+ btnUpload : 'Lähetä palvelimelle',
+ upload : 'Lisää kuva',
+ alt : 'Vaihtoehtoinen teksti',
+ width : 'Leveys',
+ height : 'Korkeus',
+ lockRatio : 'Lukitse suhteet',
+ unlockRatio : 'Vapauta suhteet',
+ resetSize : 'Alkuperäinen koko',
+ border : 'Kehys',
+ hSpace : 'Vaakatila',
+ vSpace : 'Pystytila',
+ align : 'Kohdistus',
+ alignLeft : 'Vasemmalle',
+ alignRight : 'Oikealle',
+ alertUrl : 'Kirjoita kuvan osoite (URL)',
+ linkTab : 'Linkki',
+ button2Img : 'Haluatko muuntaa valitun kuvanäppäimen kuvaksi?',
+ img2Button : 'Haluatko muuntaa valitun kuvan kuvanäppäimeksi?',
+ urlMissing : 'Kuvan lähdeosoite puuttuu.',
+ validateWidth : 'Leveyden täytyy olla kokonaisluku.',
+ validateHeight : 'Korkeuden täytyy olla kokonaisluku.',
+ validateBorder : 'Kehyksen täytyy olla kokonaisluku.',
+ validateHSpace : 'HSpace-määrityksen täytyy olla kokonaisluku.',
+ validateVSpace : 'VSpace-määrityksen täytyy olla kokonaisluku.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash-ominaisuudet',
+ propertiesTab : 'Ominaisuudet',
+ title : 'Flash ominaisuudet',
+ chkPlay : 'Automaattinen käynnistys',
+ chkLoop : 'Toisto',
+ chkMenu : 'Näytä Flash-valikko',
+ chkFull : 'Salli kokoruututila',
+ scale : 'Levitä',
+ scaleAll : 'Näytä kaikki',
+ scaleNoBorder : 'Ei rajaa',
+ scaleFit : 'Tarkka koko',
+ access : 'Skriptien pääsy',
+ accessAlways : 'Aina',
+ accessSameDomain: 'Sama verkkotunnus',
+ accessNever : 'Ei koskaan',
+ align : 'Kohdistus',
+ alignLeft : 'Vasemmalle',
+ alignAbsBottom : 'Aivan alas',
+ alignAbsMiddle : 'Aivan keskelle',
+ alignBaseline : 'Alas (teksti)',
+ alignBottom : 'Alas',
+ alignMiddle : 'Keskelle',
+ alignRight : 'Oikealle',
+ alignTextTop : 'Ylös (teksti)',
+ alignTop : 'Ylös',
+ quality : 'Laatu',
+ qualityBest : 'Paras',
+ qualityHigh : 'Korkea',
+ qualityAutoHigh : 'Automaattinen korkea',
+ qualityMedium : 'Keskitaso',
+ qualityAutoLow : 'Automaattinen matala',
+ qualityLow : 'Matala',
+ windowModeWindow: 'Ikkuna',
+ windowModeOpaque: 'Läpinäkyvyys',
+ windowModeTransparent : 'Läpinäkyvä',
+ windowMode : 'Ikkuna tila',
+ flashvars : 'Muuttujat Flash:lle',
+ bgcolor : 'Taustaväri',
+ width : 'Leveys',
+ height : 'Korkeus',
+ hSpace : 'Vaakatila',
+ vSpace : 'Pystytila',
+ validateSrc : 'Linkille on kirjoitettava URL',
+ validateWidth : 'Leveyden täytyy olla numero.',
+ validateHeight : 'Korkeuden täytyy olla numero.',
+ validateHSpace : 'Vaakatilan täytyy olla numero.',
+ validateVSpace : 'Pystytilan täytyy olla numero.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Tarkista oikeinkirjoitus',
+ title : 'Oikoluku',
+ notAvailable : 'Valitettavasti oikoluku ei ole käytössä tällä hetkellä.',
+ errorLoading : 'Virhe ladattaessa oikolukupalvelua isännältä: %s.',
+ notInDic : 'Ei sanakirjassa',
+ changeTo : 'Vaihda',
+ btnIgnore : 'Jätä huomioimatta',
+ btnIgnoreAll : 'Jätä kaikki huomioimatta',
+ btnReplace : 'Korvaa',
+ btnReplaceAll : 'Korvaa kaikki',
+ btnUndo : 'Kumoa',
+ noSuggestions : 'Ei ehdotuksia',
+ progress : 'Tarkistus käynnissä...',
+ noMispell : 'Tarkistus valmis: Ei virheitä',
+ noChanges : 'Tarkistus valmis: Yhtään sanaa ei muutettu',
+ oneChange : 'Tarkistus valmis: Yksi sana muutettiin',
+ manyChanges : 'Tarkistus valmis: %1 sanaa muutettiin',
+ ieSpellDownload : 'Oikeinkirjoituksen tarkistusta ei ole asennettu. Haluatko ladata sen nyt?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Hymiö',
+ title : 'Lisää hymiö',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elementin polku',
+ eleTitle : '%1 elementti'
+ },
+
+ numberedlist : 'Numerointi',
+ bulletedlist : 'Luottelomerkit',
+ indent : 'Suurenna sisennystä',
+ outdent : 'Pienennä sisennystä',
+
+ justify :
+ {
+ left : 'Tasaa vasemmat reunat',
+ center : 'Keskitä',
+ right : 'Tasaa oikeat reunat',
+ block : 'Tasaa molemmat reunat'
+ },
+
+ blockquote : 'Lainaus',
+
+ clipboard :
+ {
+ title : 'Liitä',
+ cutError : 'Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).',
+ copyError : 'Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).',
+ pasteMsg : 'Liitä painamalla (<STRONG>Ctrl+V</STRONG>) ja painamalla <STRONG>OK</STRONG>.',
+ securityMsg : 'Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.',
+ pasteArea : 'Leikealue'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Liittämäsi teksti näyttäisi olevan Word-dokumentista. Haluatko siivota sen ennen liittämistä? (Suositus: Kyllä)',
+ toolbar : 'Liitä Word-dokumentista',
+ title : 'Liitä Word-dokumentista',
+ error : 'Liitetyn tiedon siivoaminen ei onnistunut sisäisen virheen takia'
+ },
+
+ pasteText :
+ {
+ button : 'Liitä tekstinä',
+ title : 'Liitä tekstinä'
+ },
+
+ templates :
+ {
+ button : 'Pohjat',
+ title : 'Sisältöpohjat',
+ options : 'Template Options', // MISSING
+ insertOption : 'Korvaa editorin koko sisältö',
+ selectPromptMsg : 'Valitse pohja editoriin<br>(aiempi sisältö menetetään):',
+ emptyListMsg : '(Ei määriteltyjä pohjia)'
+ },
+
+ showBlocks : 'Näytä elementit',
+
+ stylesCombo :
+ {
+ label : 'Tyyli',
+ panelTitle : 'Muotoilujen tyylit',
+ panelTitle1 : 'Lohkojen tyylit',
+ panelTitle2 : 'Rivinsisäiset tyylit',
+ panelTitle3 : 'Objektien tyylit'
+ },
+
+ format :
+ {
+ label : 'Muotoilu',
+ panelTitle : 'Muotoilu',
+
+ tag_p : 'Normaali',
+ tag_pre : 'Muotoiltu',
+ tag_address : 'Osoite',
+ tag_h1 : 'Otsikko 1',
+ tag_h2 : 'Otsikko 2',
+ tag_h3 : 'Otsikko 3',
+ tag_h4 : 'Otsikko 4',
+ tag_h5 : 'Otsikko 5',
+ tag_h6 : 'Otsikko 6',
+ tag_div : 'Normaali (DIV)'
+ },
+
+ div :
+ {
+ title : 'Luo div-kehikko',
+ toolbar : 'Luo div-kehikko',
+ cssClassInputLabel : 'Tyylitiedoston luokat',
+ styleSelectLabel : 'Tyyli',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Kielen koodi',
+ inlineStyleInputLabel : 'Sisätyyli',
+ advisoryTitleInputLabel : 'Ohjeistava otsikko',
+ langDirLabel : 'Kielen suunta',
+ langDirLTRLabel : 'Vasemmalta oikealle (LTR)',
+ langDirRTLLabel : 'Oikealta vasemmalle (RTL)',
+ edit : 'Muokkaa Diviä',
+ remove : 'Poista Div'
+ },
+
+ font :
+ {
+ label : 'Kirjaisinlaji',
+ voiceLabel : 'Kirjaisinlaji',
+ panelTitle : 'Kirjaisinlaji'
+ },
+
+ fontSize :
+ {
+ label : 'Koko',
+ voiceLabel : 'Kirjaisimen koko',
+ panelTitle : 'Koko'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Tekstiväri',
+ bgColorTitle : 'Taustaväri',
+ panelTitle : 'Värit',
+ auto : 'Automaattinen',
+ more : 'Lisää värejä...'
+ },
+
+ colors :
+ {
+ '000' : 'Musta',
+ '800000' : 'Kastanjanruskea',
+ '8B4513' : 'Satulanruskea',
+ '2F4F4F' : 'Tumma liuskekivenharmaa',
+ '008080' : 'Sinivihreä',
+ '000080' : 'Laivastonsininen',
+ '4B0082' : 'Indigonsininen',
+ '696969' : 'Tummanharmaa',
+ 'B22222' : 'Tiili',
+ 'A52A2A' : 'Ruskea',
+ 'DAA520' : 'Kultapiisku',
+ '006400' : 'Tummanvihreä',
+ '40E0D0' : 'Turkoosi',
+ '0000CD' : 'Keskisininen',
+ '800080' : 'Purppura',
+ '808080' : 'Harmaa',
+ 'F00' : 'Punainen',
+ 'FF8C00' : 'Tumma oranssi',
+ 'FFD700' : 'Kulta',
+ '008000' : 'Vihreä',
+ '0FF' : 'Syaani',
+ '00F' : 'Sininen',
+ 'EE82EE' : 'Violetti',
+ 'A9A9A9' : 'Tummanharmaa',
+ 'FFA07A' : 'Vaaleanlohenpunainen',
+ 'FFA500' : 'Oranssi',
+ 'FFFF00' : 'Keltainen',
+ '00FF00' : 'Limetin vihreä',
+ 'AFEEEE' : 'Haalea turkoosi',
+ 'ADD8E6' : 'Vaaleansininen',
+ 'DDA0DD' : 'Luumu',
+ 'D3D3D3' : 'Vaaleanharmaa',
+ 'FFF0F5' : 'Laventelinpunainen',
+ 'FAEBD7' : 'Antiikinvalkoinen',
+ 'FFFFE0' : 'Vaaleankeltainen',
+ 'F0FFF0' : 'Hunajameloni',
+ 'F0FFFF' : 'Asurinsininen',
+ 'F0F8FF' : 'Alice Blue -sininen',
+ 'E6E6FA' : 'Lavanteli',
+ 'FFF' : 'Valkoinen'
+ },
+
+ scayt :
+ {
+ title : 'Oikolue kirjoitettaessa',
+ opera_title : 'Opera ei tue tätä ominaisuutta',
+ enable : 'Ota käyttöön oikoluku kirjoitettaessa',
+ disable : 'Poista käytöstä oikoluku kirjoitetaessa',
+ about : 'Tietoja oikoluvusta kirjoitetaessa',
+ toggle : 'Vaihda oikoluku kirjoittaessa tilaa',
+ options : 'Asetukset',
+ langs : 'Kielet',
+ moreSuggestions : 'Lisää ehdotuksia',
+ ignore : 'Ohita',
+ ignoreAll : 'Ohita kaikki',
+ addWord : 'Lisää sana',
+ emptyDic : 'Sanakirjan nimi on annettava.',
+
+ optionsTab : 'Asetukset',
+ allCaps : 'Ohita sanat, jotka on kirjoitettu kokonaan isoilla kirjaimilla',
+ ignoreDomainNames : 'Ohita verkkotunnukset',
+ mixedCase : 'Ohita sanat, joissa on sekoitettu isoja ja pieniä kirjaimia',
+ mixedWithDigits : 'Ohita sanat, joissa on numeroita',
+
+ languagesTab : 'Kielet',
+
+ dictionariesTab : 'Sanakirjat',
+ dic_field_name : 'Sanakirjan nimi',
+ dic_create : 'Luo',
+ dic_restore : 'Palauta',
+ dic_delete : 'Poista',
+ dic_rename : 'Nimeä uudelleen',
+ dic_info : 'Oletuksena sanakirjat tallennetaan evästeeseen, mutta evästeiden koko on kuitenkin rajallinen. Sanakirjan kasvaessa niin suureksi, ettei se enää mahdu evästeeseen, sanakirja täytyy tallentaa palvelimellemme. Tallentaaksesi sanakirjasi palvelimellemme tulee sinun antaa sille nimi. Jos olet jo tallentanut sanakirjan, anna sen nimi ja klikkaa Palauta-painiketta',
+
+ aboutTab : 'Tietoa'
+ },
+
+ about :
+ {
+ title : 'Tietoa CKEditorista',
+ dlgTitle : 'Tietoa CKEditorista',
+ moreInfo : 'Lisenssitiedot löytyvät kotisivuiltamme:',
+ copy : 'Copyright © $1. Kaikki oikeuden pidätetään.'
+ },
+
+ maximize : 'Suurenna',
+ minimize : 'Pienennä',
+
+ fakeobjects :
+ {
+ anchor : 'Ankkuri',
+ flash : 'Flash animaatio',
+ div : 'Sivun vaihto',
+ unknown : 'Tuntematon objekti'
+ },
+
+ resize : 'Raahaa muuttaaksesi kokoa',
+
+ colordialog :
+ {
+ title : 'Valitse väri',
+ options : 'Color Options', // MISSING
+ highlight : 'Korostus',
+ selected : 'Valittu',
+ clear : 'Poista'
+ },
+
+ toolbarCollapse : 'Kutista työkalupalkki',
+ toolbarExpand : 'Laajenna työkalupalkki',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/fo.js b/devel/third-party/ckeditor/lang/fo.js
new file mode 100644
index 0000000..93d2c99
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/fo.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Faroese language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fo'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Kelda',
+ newPage : 'Nýggj sÃða',
+ save : 'Goym',
+ preview : 'Frumsýning',
+ cut : 'Kvett',
+ copy : 'Avrita',
+ paste : 'Innrita',
+ print : 'Prenta',
+ underline : 'Undirstrikað',
+ bold : 'Feit skrift',
+ italic : 'Skráskrift',
+ selectAll : 'Markera alt',
+ removeFormat : 'Strika sniðgeving',
+ strike : 'Yvirstrikað',
+ subscript : 'Lækkað skrift',
+ superscript : 'Hækkað skrift',
+ horizontalrule : 'Ger vatnrætta linju',
+ pagebreak : 'Ger sÃðuskift',
+ unlink : 'Strika tilknýti',
+ undo : 'Angra',
+ redo : 'Vend aftur',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Ambætarakagi',
+ url : 'URL',
+ protocol : 'Protokoll',
+ upload : 'Send til ambætaran',
+ uploadSubmit : 'Send til ambætaran',
+ image : 'Myndir',
+ flash : 'Flash',
+ form : 'Formur',
+ checkbox : 'Flugubein',
+ radio : 'Radioknøttur',
+ textField : 'Tekstteigur',
+ textarea : 'Tekstumráði',
+ hiddenField : 'Fjaldur teigur',
+ button : 'Knøttur',
+ select : 'Valskrá',
+ imageButton : 'Myndaknøttur',
+ notSet : '<ikki sett>',
+ id : 'Id',
+ name : 'Navn',
+ langDir : 'Tekstkós',
+ langDirLtr : 'Frá vinstru til høgru (LTR)',
+ langDirRtl : 'Frá høgru til vinstru (RTL)',
+ langCode : 'Málkoda',
+ longDescr : 'VÃðkað URL frágreiðing',
+ cssClass : 'Typografi klassar',
+ advisoryTitle : 'Vegleiðandi heiti',
+ cssStyle : 'Typografi',
+ ok : 'Góðkent',
+ cancel : 'Avlýst',
+ close : 'Lat aftur',
+ preview : 'Frumsýn',
+ generalTab : 'Generelt',
+ advancedTab : 'Fjølbroytt',
+ validateNumberFailed : 'Hetta er ikki eitt tal.',
+ confirmNewPage : 'Allar ikki goymdar broytingar à hesum innihaldi hvørva. Skal nýggj sÃða lesast kortini?',
+ confirmCancel : 'Nakrir valmøguleikar eru broyttir. Ert tú vÃsur Ã, at dialogurin skal latast aftur?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'Nýtt vindeyga (_blank)',
+ targetTop : 'Vindeyga ovast (_top)',
+ targetSelf : 'Sama vindeyga (_self)',
+ targetParent : 'Upphavligt vindeyga (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, ikki tøkt</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Set inn sertekn',
+ title : 'Vel sertekn',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ger/broyt tilknýti',
+ other : '<other>', // MISSING
+ menu : 'Broyt tilknýti',
+ title : 'Tilknýti',
+ info : 'Tilknýtis upplýsingar',
+ target : 'Target', // MISSING
+ upload : 'Send til ambætaran',
+ advanced : 'Fjølbroytt',
+ type : 'Tilknýtisslag',
+ toUrl : 'URL',
+ toAnchor : 'Tilknýti til marknastein à tekstinum',
+ toEmail : 'Teldupostur',
+ targetFrame : '<ramma>',
+ targetPopup : '<popup vindeyga>',
+ targetFrameName : 'VÃs navn vindeygans',
+ targetPopupName : 'Popup vindeygans navn',
+ popupFeatures : 'Popup vindeygans vÃðkaðu eginleikar',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Støðufrágreiðingarbjálki',
+ popupLocationBar: 'Adressulinja',
+ popupToolbar : 'Amboðsbjálki',
+ popupMenuBar : 'Skrábjálki',
+ popupFullScreen : 'Fullur skermur (IE)',
+ popupScrollBars : 'Rullibjálki',
+ popupDependent : 'Bundið (Netscape)',
+ popupWidth : 'Breidd',
+ popupLeft : 'Frástøða frá vinstru',
+ popupHeight : 'Hædd',
+ popupTop : 'Frástøða frá Ãerva',
+ id : 'Id', // MISSING
+ langDir : 'Tekstkós',
+ langDirLTR : 'Frá vinstru til høgru (LTR)',
+ langDirRTL : 'Frá høgru til vinstru (RTL)',
+ acccessKey : 'Snarvegisknappur',
+ name : 'Navn',
+ langCode : 'Tekstkós',
+ tabIndex : 'Inntriv indeks',
+ advisoryTitle : 'Vegleiðandi heiti',
+ advisoryContentType : 'Vegleiðandi innihaldsslag',
+ cssClasses : 'Typografi klassar',
+ charset : 'Atknýtt teknsett',
+ styles : 'Typografi',
+ selectAnchor : 'Vel ein marknastein',
+ anchorName : 'Eftir navni á marknasteini',
+ anchorId : 'Eftir element Id',
+ emailAddress : 'Teldupost-adressa',
+ emailSubject : 'Evni',
+ emailBody : 'Breyðtekstur',
+ noAnchors : '(Eingir marknasteinar eru à hesum dokumentið)',
+ noUrl : 'Vinarliga skriva tilknýti (URL)',
+ noEmail : 'Vinarliga skriva teldupost-adressu'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ger/broyt marknastein',
+ menu : 'Eginleikar fyri marknastein',
+ title : 'Eginleikar fyri marknastein',
+ name : 'Heiti marknasteinsins',
+ errorName : 'Vinarliga rita marknasteinsins heiti'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Finn og broyt',
+ find : 'Leita',
+ replace : 'Yvirskriva',
+ findWhat : 'Finn:',
+ replaceWith : 'Yvirskriva við:',
+ notFoundMsg : 'Leititeksturin varð ikki funnin',
+ matchCase : 'Munur á stórum og smáum bókstavum',
+ matchWord : 'Bert heil orð',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Yvirskriva alt',
+ replaceSuccessMsg : '%1 úrslit broytt.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabell',
+ title : 'Eginleikar fyri tabell',
+ menu : 'Eginleikar fyri tabell',
+ deleteTable : 'Strika tabell',
+ rows : 'Røðir',
+ columns : 'Kolonnur',
+ border : 'Bordabreidd',
+ align : 'Justering',
+ alignLeft : 'Vinstrasett',
+ alignCenter : 'Miðsett',
+ alignRight : 'Høgrasett',
+ width : 'Breidd',
+ widthPx : 'pixels',
+ widthPc : 'prosent',
+ widthUnit : 'breiddar unit',
+ height : 'Hædd',
+ cellSpace : 'Fjarstøða millum meskar',
+ cellPad : 'Meskubreddi',
+ caption : 'Tabellfrágreiðing',
+ summary : 'Samandráttur',
+ headers : 'Headers', // MISSING
+ headersNone : 'Eingin',
+ headersColumn : 'Fyrsta kolonna',
+ headersRow : 'Fyrsta rað',
+ headersBoth : 'Báðir',
+ invalidRows : 'Talið av røðum má vera eitt tal størri enn 0.',
+ invalidCols : 'Talið av kolonnum má vera eitt tal størri enn 0.',
+ invalidBorder : 'Borda-stødd má vera eitt tal.',
+ invalidWidth : 'Tabell-breidd má vera eitt tal.',
+ invalidHeight : 'Tabell-hædd má vera eitt tal.',
+ invalidCellSpacing : 'Cell spacing má vera eitt tal.',
+ invalidCellPadding : 'Cell padding má vera eitt tal.',
+
+ cell :
+ {
+ menu : 'Meski',
+ insertBefore : 'Set meska inn áðrenn',
+ insertAfter : 'Set meska inn aftaná',
+ deleteCell : 'Strika meskar',
+ merge : 'Flætta meskar',
+ mergeRight : 'Flætta meskar til høgru',
+ mergeDown : 'Flætta saman',
+ splitHorizontal : 'Kloyv meska vatnrætt',
+ splitVertical : 'Kloyv meska loddrætt',
+ title : 'Mesku eginleikar',
+ cellType : 'Mesku slag',
+ rowSpan : 'Ræð spenni',
+ colSpan : 'Kolonnu spenni',
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horisontal plasering',
+ vAlign : 'Loddrøtt plasering',
+ alignTop : 'Top',
+ alignMiddle : 'Miðja',
+ alignBottom : 'Botnur',
+ alignBaseline : 'Basislinja',
+ bgColor : 'Bakgrundslitur',
+ borderColor : 'Bordalitur',
+ data : 'Data',
+ header : 'Header',
+ yes : 'Ja',
+ no : 'Nei',
+ invalidWidth : 'Meskubreidd má vera eitt tal.',
+ invalidHeight : 'Meskuhædd má vera eitt tal.',
+ invalidRowSpan : 'Raðspennið má vera eitt heiltal.',
+ invalidColSpan : 'Kolonnuspennið má vera eitt heiltal.',
+ chooseColor : 'Vel'
+ },
+
+ row :
+ {
+ menu : 'Rað',
+ insertBefore : 'Set rað inn áðrenn',
+ insertAfter : 'Set rað inn aftaná',
+ deleteRow : 'Strika røðir'
+ },
+
+ column :
+ {
+ menu : 'Kolonna',
+ insertBefore : 'Set kolonnu inn áðrenn',
+ insertAfter : 'Set kolonnu inn aftaná',
+ deleteColumn : 'Strika kolonnur'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Eginleikar fyri knøtt',
+ text : 'Tekstur',
+ type : 'Slag',
+ typeBtn : 'Knøttur',
+ typeSbm : 'Send',
+ typeRst : 'Nullstilla'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Eginleikar fyri flugubein',
+ radioTitle : 'Eginleikar fyri radioknøtt',
+ value : 'Virði',
+ selected : 'Valt'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Eginleikar fyri Form',
+ menu : 'Eginleikar fyri Form',
+ action : 'Hending',
+ method : 'Háttur',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Eginleikar fyri valskrá',
+ selectInfo : 'Upplýsingar',
+ opAvail : 'Tøkir møguleikar',
+ value : 'Virði',
+ size : 'Stødd',
+ lines : 'Linjur',
+ chkMulti : 'Loyv fleiri valmøguleikum samstundis',
+ opText : 'Tekstur',
+ opValue : 'Virði',
+ btnAdd : 'Legg afturat',
+ btnModify : 'Broyt',
+ btnUp : 'Upp',
+ btnDown : 'Niður',
+ btnSetValue : 'Set sum valt virði',
+ btnDelete : 'Strika'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Eginleikar fyri tekstumráði',
+ cols : 'kolonnur',
+ rows : 'røðir'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Eginleikar fyri tekstteig',
+ name : 'Navn',
+ value : 'Virði',
+ charWidth : 'Breidd (sjónlig tekn)',
+ maxChars : 'Mest loyvdu tekn',
+ type : 'Slag',
+ typeText : 'Tekstur',
+ typePass : 'Loyniorð'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Eginleikar fyri fjaldan teig',
+ name : 'Navn',
+ value : 'Virði'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Myndaeginleikar',
+ titleButton : 'Eginleikar fyri myndaknøtt',
+ menu : 'Myndaeginleikar',
+ infoTab : 'Myndaupplýsingar',
+ btnUpload : 'Send til ambætaran',
+ upload : 'Send',
+ alt : 'Alternativur tekstur',
+ width : 'Breidd',
+ height : 'Hædd',
+ lockRatio : 'Læs lutfallið',
+ unlockRatio : 'Lutfallið ikki læst',
+ resetSize : 'Upprunastødd',
+ border : 'Bordi',
+ hSpace : 'Høgri breddi',
+ vSpace : 'Vinstri breddi',
+ align : 'Justering',
+ alignLeft : 'Vinstra',
+ alignRight : 'Høgra',
+ alertUrl : 'Rita slóðina til myndina',
+ linkTab : 'Tilknýti',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'URL til mynd manglar.',
+ validateWidth : 'Breidd má vera eitt heiltal.',
+ validateHeight : 'Hædd má vera eitt heiltal.',
+ validateBorder : 'Bordi má vera eitt heiltal.',
+ validateHSpace : 'HSpace má vera eitt heiltal.',
+ validateVSpace : 'VSpace má vera eitt heiltal.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash eginleikar',
+ propertiesTab : 'Eginleikar',
+ title : 'Flash eginleikar',
+ chkPlay : 'Avspælingin byrjar sjálv',
+ chkLoop : 'Endurspæl',
+ chkMenu : 'Ger Flash skrá virkna',
+ chkFull : 'Loyv fullan skerm',
+ scale : 'Skalering',
+ scaleAll : 'VÃs alt',
+ scaleNoBorder : 'Eingin bordi',
+ scaleFit : 'Neyv skalering',
+ access : 'Script atgongd',
+ accessAlways : 'AltÃð',
+ accessSameDomain: 'Sama navnaøki',
+ accessNever : 'OngantÃð',
+ align : 'Justering',
+ alignLeft : 'Vinstra',
+ alignAbsBottom : 'Abs botnur',
+ alignAbsMiddle : 'Abs miðja',
+ alignBaseline : 'Basislinja',
+ alignBottom : 'Botnur',
+ alignMiddle : 'Miðja',
+ alignRight : 'Høgra',
+ alignTextTop : 'Tekst toppur',
+ alignTop : 'Ovast',
+ quality : 'Góðska',
+ qualityBest : 'Besta',
+ qualityHigh : 'Høg',
+ qualityAutoHigh : 'Auto høg',
+ qualityMedium : 'Meðal',
+ qualityAutoLow : 'Auto Lág',
+ qualityLow : 'Lág',
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Ikki transparent',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variablar fyri Flash',
+ bgcolor : 'Bakgrundslitur',
+ width : 'Breidd',
+ height : 'Hædd',
+ hSpace : 'Høgri breddi',
+ vSpace : 'Vinstri breddi',
+ validateSrc : 'Vinarliga skriva tilknýti (URL)',
+ validateWidth : 'Breidd má vera eitt tal.',
+ validateHeight : 'Hædd má vera eitt tal.',
+ validateHSpace : 'HSpace má vera eitt tal.',
+ validateVSpace : 'VSpace má vera eitt tal.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Kanna stavseting',
+ title : 'Kanna stavseting',
+ notAvailable : 'TÃverri, ikki tøkt à løtuni.',
+ errorLoading : 'Feilur við innlesing av application service host: %s.',
+ notInDic : 'Finst ikki à orðabókini',
+ changeTo : 'Broyt til',
+ btnIgnore : 'Forfjóna',
+ btnIgnoreAll : 'Forfjóna alt',
+ btnReplace : 'Yvirskriva',
+ btnReplaceAll : 'Yvirskriva alt',
+ btnUndo : 'Angra',
+ noSuggestions : '- Einki uppskot -',
+ progress : 'Rættstavarin arbeiðir...',
+ noMispell : 'Rættstavarain liðugur: Eingin feilur funnin',
+ noChanges : 'Rættstavarain liðugur: Einki orð varð broytt',
+ oneChange : 'Rættstavarain liðugur: Eitt orð er broytt',
+ manyChanges : 'Rættstavarain liðugur: %1 orð broytt',
+ ieSpellDownload : 'Rættstavarin er ikki tøkur à tekstviðgeranum. Vilt tú heinta hann nú?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Vel Smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Slóð til elementir',
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Talmerktur listi',
+ bulletedlist : 'Punktmerktur listi',
+ indent : 'Ãkja reglubrotarinntriv',
+ outdent : 'Minka reglubrotarinntriv',
+
+ justify :
+ {
+ left : 'Vinstrasett',
+ center : 'Miðsett',
+ right : 'Høgrasett',
+ block : 'Javnir tekstkantar'
+ },
+
+ blockquote : 'Blockquote',
+
+ clipboard :
+ {
+ title : 'Innrita',
+ cutError : 'Trygdaruppseting alnótskagans forðar tekstviðgeranum à at kvetta tekstin. Vinarliga nýt knappaborðið til at kvetta tekstin (Ctrl/Cmd+X).',
+ copyError : 'Trygdaruppseting alnótskagans forðar tekstviðgeranum à at avrita tekstin. Vinarliga nýt knappaborðið til at avrita tekstin (Ctrl/Cmd+C).',
+ pasteMsg : 'Vinarliga koyr tekstin à hendan rútin við knappaborðinum (<strong>Ctrl/Cmd+V</strong>) og klikk á <strong>Góðtak</strong>.',
+ securityMsg : 'Trygdaruppseting alnótskagans forðar tekstviðgeranum à beinleiðis atgongd til avritingarminnið. Tygum mugu royna aftur à hesum rútinum.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Teksturin, tú roynir at seta inn, sýnist at stava frá Word. Skal teksturin reinsast fyrst?',
+ toolbar : 'Innrita frá Word',
+ title : 'Innrita frá Word',
+ error : 'Tað eyðnaðist ikki at reinsa tekstin vegna ein internan feil'
+ },
+
+ pasteText :
+ {
+ button : 'Innrita som reinan tekst',
+ title : 'Innrita som reinan tekst'
+ },
+
+ templates :
+ {
+ button : 'Skabelónir',
+ title : 'Innihaldsskabelónir',
+ options : 'Template Options', // MISSING
+ insertOption : 'Yvirskriva núverandi innihald',
+ selectPromptMsg : 'Vinarliga vel ta skabelón, ið skal opnast à tekstviðgeranum<br>(Hetta yvirskrivar núverandi innihald):',
+ emptyListMsg : '(Ongar skabelónir tøkar)'
+ },
+
+ showBlocks : 'VÃs blokkar',
+
+ stylesCombo :
+ {
+ label : 'Typografi',
+ panelTitle : 'Formatterings stÃlir',
+ panelTitle1 : 'Blokk stÃlir',
+ panelTitle2 : 'Inline stÃlir',
+ panelTitle3 : 'Object stÃlir'
+ },
+
+ format :
+ {
+ label : 'Skriftsnið',
+ panelTitle : 'Skriftsnið',
+
+ tag_p : 'Vanligt',
+ tag_pre : 'Sniðgivið',
+ tag_address : 'Adressa',
+ tag_h1 : 'Yvirskrift 1',
+ tag_h2 : 'Yvirskrift 2',
+ tag_h3 : 'Yvirskrift 3',
+ tag_h4 : 'Yvirskrift 4',
+ tag_h5 : 'Yvirskrift 5',
+ tag_h6 : 'Yvirskrift 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Ger Div Container',
+ toolbar : 'Ger Div Container',
+ cssClassInputLabel : 'Stylesheet Classes',
+ styleSelectLabel : 'Style',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Language Code',
+ inlineStyleInputLabel : 'Inline Style',
+ advisoryTitleInputLabel : 'Advisory Title',
+ langDirLabel : 'Language Direction',
+ langDirLTRLabel : 'Vinstru til høgru (LTR)',
+ langDirRTLLabel : 'Høgru til vinstru (RTL)',
+ edit : 'Redigera Div',
+ remove : 'Strika Div'
+ },
+
+ font :
+ {
+ label : 'Skrift',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Skrift'
+ },
+
+ fontSize :
+ {
+ label : 'Skriftstødd',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Skriftstødd'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Tekstlitur',
+ bgColorTitle : 'Bakgrundslitur',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatiskt',
+ more : 'Fleiri litir...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Kanna stavseting, meðan tú skrivar',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT',
+ disable : 'Disable SCAYT',
+ about : 'Um SCAYT',
+ toggle : 'Toggle SCAYT',
+ options : 'Uppseting',
+ langs : 'Tungumál',
+ moreSuggestions : 'Fleiri tilráðingar',
+ ignore : 'Ignorera',
+ ignoreAll : 'Ignorera alt',
+ addWord : 'Legg orð afturat',
+ emptyDic : 'Heiti á orðabók eigur ikki at vera tómt.',
+
+ optionsTab : 'Uppseting',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Tungumál',
+
+ dictionariesTab : 'Orðabøkur',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Um'
+ },
+
+ about :
+ {
+ title : 'Um CKEditor',
+ dlgTitle : 'Um CKEditor',
+ moreInfo : 'Licens upplýsingar finnast á heimasÃðu okkara:',
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maksimera',
+ minimize : 'Minimera',
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'SÃðuskift',
+ unknown : 'Ãkent Object'
+ },
+
+ resize : 'Drag fyri at broyta stødd',
+
+ colordialog :
+ {
+ title : 'Vel lit',
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/fr-ca.js b/devel/third-party/ckeditor/lang/fr-ca.js
new file mode 100644
index 0000000..988135c
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/fr-ca.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Canadian French language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fr-ca'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Source',
+ newPage : 'Nouvelle page',
+ save : 'Sauvegarder',
+ preview : 'Previsualiser',
+ cut : 'Couper',
+ copy : 'Copier',
+ paste : 'Coller',
+ print : 'Imprimer',
+ underline : 'Souligné',
+ bold : 'Gras',
+ italic : 'Italique',
+ selectAll : 'Tout sélectionner',
+ removeFormat : 'Supprimer le formatage',
+ strike : 'Barrer',
+ subscript : 'Indice',
+ superscript : 'Exposant',
+ horizontalrule : 'Insérer un séparateur',
+ pagebreak : 'Insérer un saut de page',
+ unlink : 'Supprimer le lien',
+ undo : 'Annuler',
+ redo : 'Refaire',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Parcourir le serveur',
+ url : 'URL',
+ protocol : 'Protocole',
+ upload : 'Télécharger',
+ uploadSubmit : 'Envoyer sur le serveur',
+ image : 'Image',
+ flash : 'Animation Flash',
+ form : 'Formulaire',
+ checkbox : 'Case à cocher',
+ radio : 'Bouton radio',
+ textField : 'Champ texte',
+ textarea : 'Zone de texte',
+ hiddenField : 'Champ caché',
+ button : 'Bouton',
+ select : 'Champ de sélection',
+ imageButton : 'Bouton image',
+ notSet : '<Par défaut>',
+ id : 'Id',
+ name : 'Nom',
+ langDir : 'Sens d\'écriture',
+ langDirLtr : 'De gauche à droite (LTR)',
+ langDirRtl : 'De droite à gauche (RTL)',
+ langCode : 'Code langue',
+ longDescr : 'URL de description longue',
+ cssClass : 'Classes de feuilles de style',
+ advisoryTitle : 'Titre',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Annuler',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Général',
+ advancedTab : 'Avancée',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insérer un caractère spécial',
+ title : 'Insérer un caractère spécial',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Insérer/modifier le lien',
+ other : '<other>', // MISSING
+ menu : 'Modifier le lien',
+ title : 'Propriétés du lien',
+ info : 'Informations sur le lien',
+ target : 'Destination',
+ upload : 'Télécharger',
+ advanced : 'Avancée',
+ type : 'Type de lien',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Ancre dans cette page',
+ toEmail : 'E-Mail',
+ targetFrame : '<Cadre>',
+ targetPopup : '<fenêtre popup>',
+ targetFrameName : 'Nom du cadre de destination',
+ targetPopupName : 'Nom de la fenêtre popup',
+ popupFeatures : 'Caractéristiques de la fenêtre popup',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Barre d\'état',
+ popupLocationBar: 'Barre d\'adresses',
+ popupToolbar : 'Barre d\'outils',
+ popupMenuBar : 'Barre de menu',
+ popupFullScreen : 'Plein écran (IE)',
+ popupScrollBars : 'Barres de défilement',
+ popupDependent : 'Dépendante (Netscape)',
+ popupWidth : 'Largeur',
+ popupLeft : 'Position à partir de la gauche',
+ popupHeight : 'Hauteur',
+ popupTop : 'Position à partir du haut',
+ id : 'Id', // MISSING
+ langDir : 'Sens d\'écriture',
+ langDirLTR : 'De gauche à droite (LTR)',
+ langDirRTL : 'De droite à gauche (RTL)',
+ acccessKey : 'Ãquivalent clavier',
+ name : 'Nom',
+ langCode : 'Sens d\'écriture',
+ tabIndex : 'Ordre de tabulation',
+ advisoryTitle : 'Titre',
+ advisoryContentType : 'Type de contenu',
+ cssClasses : 'Classes de feuilles de style',
+ charset : 'Encodage de caractère',
+ styles : 'Style',
+ selectAnchor : 'Sélectionner une ancre',
+ anchorName : 'Par nom',
+ anchorId : 'Par id',
+ emailAddress : 'Adresse E-Mail',
+ emailSubject : 'Sujet du message',
+ emailBody : 'Corps du message',
+ noAnchors : '(Pas d\'ancre disponible dans le document)',
+ noUrl : 'Veuillez saisir l\'URL',
+ noEmail : 'Veuillez saisir l\'adresse e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Insérer/modifier l\'ancre',
+ menu : 'Propriétés de l\'ancre',
+ title : 'Propriétés de l\'ancre',
+ name : 'Nom de l\'ancre',
+ errorName : 'Veuillez saisir le nom de l\'ancre'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Chercher et Remplacer',
+ find : 'Chercher',
+ replace : 'Remplacer',
+ findWhat : 'Rechercher:',
+ replaceWith : 'Remplacer par:',
+ notFoundMsg : 'Le texte indiqué est introuvable.',
+ matchCase : 'Respecter la casse',
+ matchWord : 'Mot entier',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Tout remplacer',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tableau',
+ title : 'Propriétés du tableau',
+ menu : 'Propriétés du tableau',
+ deleteTable : 'Supprimer le tableau',
+ rows : 'Lignes',
+ columns : 'Colonnes',
+ border : 'Taille de la bordure',
+ align : 'Alignement',
+ alignLeft : 'Gauche',
+ alignCenter : 'Centré',
+ alignRight : 'Droite',
+ width : 'Largeur',
+ widthPx : 'pixels',
+ widthPc : 'pourcentage',
+ widthUnit : 'width unit', // MISSING
+ height : 'Hauteur',
+ cellSpace : 'Espacement',
+ cellPad : 'Contour',
+ caption : 'Titre',
+ summary : 'Résumé',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cellule',
+ insertBefore : 'Insérer une cellule avant',
+ insertAfter : 'Insérer une cellule après',
+ deleteCell : 'Supprimer des cellules',
+ merge : 'Fusionner les cellules',
+ mergeRight : 'Fusionner à droite',
+ mergeDown : 'Fusionner en bas',
+ splitHorizontal : 'Scinder la cellule horizontalement',
+ splitVertical : 'Scinder la cellule verticalement',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Ligne',
+ insertBefore : 'Insérer une ligne avant',
+ insertAfter : 'Insérer une ligne après',
+ deleteRow : 'Supprimer des lignes'
+ },
+
+ column :
+ {
+ menu : 'Colonne',
+ insertBefore : 'Insérer une colonne avant',
+ insertAfter : 'Insérer une colonne après',
+ deleteColumn : 'Supprimer des colonnes'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Propriétés du bouton',
+ text : 'Texte (Valeur)',
+ type : 'Type',
+ typeBtn : 'Bouton',
+ typeSbm : 'Soumettre',
+ typeRst : 'Réinitialiser'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Propriétés de la case à cocher',
+ radioTitle : 'Propriétés du bouton radio',
+ value : 'Valeur',
+ selected : 'Sélectionné'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Propriétés du formulaire',
+ menu : 'Propriétés du formulaire',
+ action : 'Action',
+ method : 'Méthode',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Propriétés de la liste/du menu',
+ selectInfo : 'Info',
+ opAvail : 'Options disponibles',
+ value : 'Valeur',
+ size : 'Taille',
+ lines : 'lignes',
+ chkMulti : 'Sélection multiple',
+ opText : 'Texte',
+ opValue : 'Valeur',
+ btnAdd : 'Ajouter',
+ btnModify : 'Modifier',
+ btnUp : 'Monter',
+ btnDown : 'Descendre',
+ btnSetValue : 'Valeur sélectionnée',
+ btnDelete : 'Supprimer'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Propriétés de la zone de texte',
+ cols : 'Colonnes',
+ rows : 'Lignes'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Propriétés du champ texte',
+ name : 'Nom',
+ value : 'Valeur',
+ charWidth : 'Largeur en caractères',
+ maxChars : 'Nombre maximum de caractères',
+ type : 'Type',
+ typeText : 'Texte',
+ typePass : 'Mot de passe'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Propriétés du champ caché',
+ name : 'Nom',
+ value : 'Valeur'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Propriétés de l\'image',
+ titleButton : 'Propriétés du bouton image',
+ menu : 'Propriétés de l\'image',
+ infoTab : 'Informations sur l\'image',
+ btnUpload : 'Envoyer sur le serveur',
+ upload : 'Télécharger',
+ alt : 'Texte de remplacement',
+ width : 'Largeur',
+ height : 'Hauteur',
+ lockRatio : 'Garder les proportions',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Taille originale',
+ border : 'Bordure',
+ hSpace : 'Espacement horizontal',
+ vSpace : 'Espacement vertical',
+ align : 'Alignement',
+ alignLeft : 'Gauche',
+ alignRight : 'Droite',
+ alertUrl : 'Veuillez saisir l\'URL de l\'image',
+ linkTab : 'Lien',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Propriétés de l\'animation Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Propriétés de l\'animation Flash',
+ chkPlay : 'Lecture automatique',
+ chkLoop : 'Boucle',
+ chkMenu : 'Activer le menu Flash',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Affichage',
+ scaleAll : 'Par défaut (tout montrer)',
+ scaleNoBorder : 'Sans bordure',
+ scaleFit : 'Ajuster aux dimensions',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Alignement',
+ alignLeft : 'Gauche',
+ alignAbsBottom : 'Abs Bas',
+ alignAbsMiddle : 'Abs Milieu',
+ alignBaseline : 'Bas du texte',
+ alignBottom : 'Bas',
+ alignMiddle : 'Milieu',
+ alignRight : 'Droite',
+ alignTextTop : 'Haut du texte',
+ alignTop : 'Haut',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Couleur de fond',
+ width : 'Largeur',
+ height : 'Hauteur',
+ hSpace : 'Espacement horizontal',
+ vSpace : 'Espacement vertical',
+ validateSrc : 'Veuillez saisir l\'URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Orthographe',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Pas dans le dictionnaire',
+ changeTo : 'Changer en',
+ btnIgnore : 'Ignorer',
+ btnIgnoreAll : 'Ignorer tout',
+ btnReplace : 'Remplacer',
+ btnReplaceAll : 'Remplacer tout',
+ btnUndo : 'Annuler',
+ noSuggestions : '- Pas de suggestion -',
+ progress : 'Vérification d\'orthographe en cours...',
+ noMispell : 'Vérification d\'orthographe terminée: pas d\'erreur trouvée',
+ noChanges : 'Vérification d\'orthographe terminée: Pas de modifications',
+ oneChange : 'Vérification d\'orthographe terminée: Un mot modifié',
+ manyChanges : 'Vérification d\'orthographe terminée: %1 mots modifiés',
+ ieSpellDownload : 'Le Correcteur d\'orthographe n\'est pas installé. Souhaitez-vous le télécharger maintenant?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emoticon',
+ title : 'Insérer un Emoticon',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Liste numérotée',
+ bulletedlist : 'Liste à puces',
+ indent : 'Augmenter le retrait',
+ outdent : 'Diminuer le retrait',
+
+ justify :
+ {
+ left : 'Aligner à gauche',
+ center : 'Centrer',
+ right : 'Aligner à Droite',
+ block : 'Texte justifié'
+ },
+
+ blockquote : 'Citation',
+
+ clipboard :
+ {
+ title : 'Coller',
+ cutError : 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de couper automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+X).',
+ copyError : 'Les paramètres de sécurité de votre navigateur empêchent l\'éditeur de copier automatiquement vos données. Veuillez utiliser les équivalents claviers (Ctrl/Cmd+C).',
+ pasteMsg : 'Veuillez coller dans la zone ci-dessous en utilisant le clavier (<STRONG>Ctrl/Cmd+V</STRONG>) et appuyer sur <STRONG>OK</STRONG>.',
+ securityMsg : 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur ne peut accéder au presse-papier directement. Vous devez coller à nouveau le contenu dans cette fenêtre.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Coller en tant que Word (formaté)',
+ title : 'Coller en tant que Word (formaté)',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Coller comme texte',
+ title : 'Coller comme texte'
+ },
+
+ templates :
+ {
+ button : 'Modèles',
+ title : 'Modèles de contenu',
+ options : 'Template Options', // MISSING
+ insertOption : 'Remplacer tout le contenu actuel',
+ selectPromptMsg : 'Sélectionner le modèle à ouvrir dans l\'éditeur<br>(le contenu actuel sera remplacé):',
+ emptyListMsg : '(Aucun modèle disponible)'
+ },
+
+ showBlocks : 'Afficher les blocs',
+
+ stylesCombo :
+ {
+ label : 'Style',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formaté',
+ tag_address : 'Adresse',
+ tag_h1 : 'En-tête 1',
+ tag_h2 : 'En-tête 2',
+ tag_h3 : 'En-tête 3',
+ tag_h4 : 'En-tête 4',
+ tag_h5 : 'En-tête 5',
+ tag_h6 : 'En-tête 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Police',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Police'
+ },
+
+ fontSize :
+ {
+ label : 'Taille',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Taille'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Couleur de caractère',
+ bgColorTitle : 'Couleur de fond',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatique',
+ more : 'Plus de couleurs...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/fr.js b/devel/third-party/ckeditor/lang/fr.js
new file mode 100644
index 0000000..bfeb70a
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/fr.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * French language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['fr'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Source',
+ newPage : 'Nouvelle page',
+ save : 'Enregistrer',
+ preview : 'Aperçu',
+ cut : 'Couper',
+ copy : 'Copier',
+ paste : 'Coller',
+ print : 'Imprimer',
+ underline : 'Souligné',
+ bold : 'Gras',
+ italic : 'Italique',
+ selectAll : 'Tout sélectionner',
+ removeFormat : 'Supprimer la mise en forme',
+ strike : 'Barré',
+ subscript : 'Indice',
+ superscript : 'Exposant',
+ horizontalrule : 'Ligne horizontale',
+ pagebreak : 'Saut de page',
+ unlink : 'Supprimer le lien',
+ undo : 'Annuler',
+ redo : 'Rétablir',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Explorer le serveur',
+ url : 'URL',
+ protocol : 'Protocole',
+ upload : 'Envoyer',
+ uploadSubmit : 'Envoyer sur le serveur',
+ image : 'Image',
+ flash : 'Flash',
+ form : 'Formulaire',
+ checkbox : 'Case à cocher',
+ radio : 'Bouton Radio',
+ textField : 'Champ texte',
+ textarea : 'Zone de texte',
+ hiddenField : 'Champ caché',
+ button : 'Bouton',
+ select : 'Liste déroulante',
+ imageButton : 'Bouton image',
+ notSet : '<non défini>',
+ id : 'Id',
+ name : 'Nom',
+ langDir : 'Sens d\'écriture',
+ langDirLtr : 'Gauche à droite (LTR)',
+ langDirRtl : 'Droite à gauche (RTL)',
+ langCode : 'Code de langue',
+ longDescr : 'URL de description longue (longdesc => malvoyant)',
+ cssClass : 'Classe CSS',
+ advisoryTitle : 'Description (title)',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Annuler',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Général',
+ advancedTab : 'Avancé',
+ validateNumberFailed : 'Cette valeur n\'est pas un nombre.',
+ confirmNewPage : 'Les changements non sauvegardés seront perdus. Etes-vous sûr de vouloir charger une nouvelle page?',
+ confirmCancel : 'Certaines options ont été modifiées. Etes-vous sûr de vouloir fermer?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, Indisponible</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Insérer un caractère spécial',
+ title : 'Sélectionnez un caractère',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Lien',
+ other : '<autre>',
+ menu : 'Editer le lien',
+ title : 'Lien',
+ info : 'Infos sur le lien',
+ target : 'Cible',
+ upload : 'Envoyer',
+ advanced : 'Avancé',
+ type : 'Type de lien',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Transformer le lien en ancre dans le texte',
+ toEmail : 'E-mail',
+ targetFrame : '<cadre>',
+ targetPopup : '<fenêtre popup>',
+ targetFrameName : 'Nom du Cadre destination',
+ targetPopupName : 'Nom de la fenêtre popup',
+ popupFeatures : 'Options de la fenêtre popup',
+ popupResizable : 'Redimensionnable',
+ popupStatusBar : 'Barre de status',
+ popupLocationBar: 'Barre d\'adresse',
+ popupToolbar : 'Barre d\'outils',
+ popupMenuBar : 'Barre de menu',
+ popupFullScreen : 'Plein écran (IE)',
+ popupScrollBars : 'Barres de défilement',
+ popupDependent : 'Dépendante (Netscape)',
+ popupWidth : 'Largeur',
+ popupLeft : 'Position gauche',
+ popupHeight : 'Hauteur',
+ popupTop : 'Position haute',
+ id : 'Id',
+ langDir : 'Sens d\'écriture',
+ langDirLTR : 'Gauche à droite',
+ langDirRTL : 'Droite à gauche',
+ acccessKey : 'Touche d\'accessibilité',
+ name : 'Nom',
+ langCode : 'Code de langue',
+ tabIndex : 'Index de tabulation',
+ advisoryTitle : 'Description (title)',
+ advisoryContentType : 'Type de contenu (ex: text/html)',
+ cssClasses : 'Classe du CSS',
+ charset : 'Charset de la cible',
+ styles : 'Style',
+ selectAnchor : 'Sélectionner l\'ancre',
+ anchorName : 'Par nom d\'ancre',
+ anchorId : 'Par ID d\'élément',
+ emailAddress : 'Adresse E-Mail',
+ emailSubject : 'Sujet du message',
+ emailBody : 'Corps du message',
+ noAnchors : '(Aucune ancre disponible dans ce document)',
+ noUrl : 'Veuillez entrer l\'adresse du lien',
+ noEmail : 'Veuillez entrer l\'adresse e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ancre',
+ menu : 'Editer l\'ancre',
+ title : 'Propriétés de l\'ancre',
+ name : 'Nom de l\'ancre',
+ errorName : 'Veuillez entrer le nom de l\'ancre'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Trouver et remplacer',
+ find : 'Trouver',
+ replace : 'Remplacer',
+ findWhat : 'Expression à trouver: ',
+ replaceWith : 'Remplacer par: ',
+ notFoundMsg : 'Le texte spécifié ne peut être trouvé.',
+ matchCase : 'Respecter la casse',
+ matchWord : 'Mot entier uniquement',
+ matchCyclic : 'Boucler',
+ replaceAll : 'Remplacer tout',
+ replaceSuccessMsg : '%1 occurrence(s) replacée(s).'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tableau',
+ title : 'Propriétés du tableau',
+ menu : 'Propriétés du tableau',
+ deleteTable : 'Supprimer le tableau',
+ rows : 'Lignes',
+ columns : 'Colonnes',
+ border : 'Taille de la bordure',
+ align : 'Alignement du contenu',
+ alignLeft : 'Gauche',
+ alignCenter : 'Centré',
+ alignRight : 'Droite',
+ width : 'Largeur',
+ widthPx : 'pixels',
+ widthPc : '% pourcents',
+ widthUnit : 'width unit', // MISSING
+ height : 'Hauteur',
+ cellSpace : 'Espacement des cellules',
+ cellPad : 'Marge interne des cellules',
+ caption : 'Titre du tableau',
+ summary : 'Résumé (description)',
+ headers : 'En-Têtes',
+ headersNone : 'Aucunes',
+ headersColumn : 'Première colonne',
+ headersRow : 'Première ligne',
+ headersBoth : 'Les deux',
+ invalidRows : 'Le nombre de lignes doit être supérieur à 0.',
+ invalidCols : 'Le nombre de colonnes doit être supérieur à 0.',
+ invalidBorder : 'La taille de la bordure doit être un nombre.',
+ invalidWidth : 'La largeur du tableau doit être un nombre.',
+ invalidHeight : 'La hauteur du tableau doit être un nombre.',
+ invalidCellSpacing : 'L\'espacement des cellules doit être un nombre.',
+ invalidCellPadding : 'La marge intérieure des cellules doit être un nombre.',
+
+ cell :
+ {
+ menu : 'Cellule',
+ insertBefore : 'Insérer une cellule avant',
+ insertAfter : 'Insérer une cellule après',
+ deleteCell : 'Supprimer les cellules',
+ merge : 'Fusionner les cellules',
+ mergeRight : 'Fusionner à droite',
+ mergeDown : 'Fusionner en bas',
+ splitHorizontal : 'Fractionner horizontalement',
+ splitVertical : 'Fractionner verticalement',
+ title : 'Propriétés de Cellule',
+ cellType : 'Type de Cellule',
+ rowSpan : 'Fusion de Lignes',
+ colSpan : 'Fusion de Colonnes',
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Alignement Horizontal',
+ vAlign : 'Alignement Vertical',
+ alignTop : 'Haut',
+ alignMiddle : 'Milieu',
+ alignBottom : 'Bas',
+ alignBaseline : 'Bas du texte',
+ bgColor : 'Couleur d\'arrière-plan',
+ borderColor : 'Couleur de Bordure',
+ data : 'Données',
+ header : 'Entête',
+ yes : 'Oui',
+ no : 'Non',
+ invalidWidth : 'La Largeur de Cellule doit être un nombre.',
+ invalidHeight : 'La Hauteur de Cellule doit être un nombre.',
+ invalidRowSpan : 'La fusion de lignes doit être un nombre entier.',
+ invalidColSpan : 'La fusion de colonnes doit être un nombre entier.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Ligne',
+ insertBefore : 'Insérer une ligne avant',
+ insertAfter : 'Insérer une ligne après',
+ deleteRow : 'Supprimer les lignes'
+ },
+
+ column :
+ {
+ menu : 'Colonnes',
+ insertBefore : 'Insérer une colonne avant',
+ insertAfter : 'Insérer une colonne après',
+ deleteColumn : 'Supprimer les colonnes'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Propriétés du bouton',
+ text : 'Texte (Value)',
+ type : 'Type',
+ typeBtn : 'Bouton',
+ typeSbm : 'Validation (submit)',
+ typeRst : 'Remise à zéro'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Propriétés de la case à cocher',
+ radioTitle : 'Propriétés du bouton Radio',
+ value : 'Valeur',
+ selected : 'Sélectionné'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Propriétés du formulaire',
+ menu : 'Propriétés du formulaire',
+ action : 'Action',
+ method : 'Méthode',
+ encoding : 'Encodage'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Propriétés du menu déroulant',
+ selectInfo : 'Informations sur le menu déroulant',
+ opAvail : 'Options disponibles',
+ value : 'Valeur',
+ size : 'Taille',
+ lines : 'Lignes',
+ chkMulti : 'Permettre les sélections multiples',
+ opText : 'Texte',
+ opValue : 'Valeur',
+ btnAdd : 'Ajouter',
+ btnModify : 'Modifier',
+ btnUp : 'Haut',
+ btnDown : 'Bas',
+ btnSetValue : 'Définir comme valeur sélectionnée',
+ btnDelete : 'Supprimer'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Propriétés de la zone de texte',
+ cols : 'Colonnes',
+ rows : 'Lignes'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Propriétés du champ texte',
+ name : 'Nom',
+ value : 'Valeur',
+ charWidth : 'Taille des caractères',
+ maxChars : 'Nombre maximum de caractères',
+ type : 'Type',
+ typeText : 'Texte',
+ typePass : 'Mot de passe'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Propriétés du champ caché',
+ name : 'Nom',
+ value : 'Valeur'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Propriétés de l\'image',
+ titleButton : 'Propriétés du bouton image',
+ menu : 'Propriétés de l\'image',
+ infoTab : 'Informations sur l\'image',
+ btnUpload : 'Envoyer sur le serveur',
+ upload : 'Envoyer',
+ alt : 'Texte de remplacement',
+ width : 'Largeur',
+ height : 'Hauteur',
+ lockRatio : 'Garder les proportions',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Taille d\'origine',
+ border : 'Bordure',
+ hSpace : 'Espacement horizontal',
+ vSpace : 'Espacement vertical',
+ align : 'Alignement',
+ alignLeft : 'Gauche',
+ alignRight : 'Droite',
+ alertUrl : 'Veuillez entrer l\'adresse de l\'image',
+ linkTab : 'Lien',
+ button2Img : 'Voulez-vous transformer le bouton image sélectionné en simple image?',
+ img2Button : 'Voulez-vous transformer l\'image en bouton image?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Propriétés du Flash',
+ propertiesTab : 'Propriétés',
+ title : 'Propriétés du Flash',
+ chkPlay : 'Jouer automatiquement',
+ chkLoop : 'Boucle',
+ chkMenu : 'Activer le menu Flash',
+ chkFull : 'Permettre le plein écran',
+ scale : 'Echelle',
+ scaleAll : 'Afficher tout',
+ scaleNoBorder : 'Pas de bordure',
+ scaleFit : 'Taille d\'origine',
+ access : 'Accès aux scripts',
+ accessAlways : 'Toujours',
+ accessSameDomain: 'Même domaine',
+ accessNever : 'Jamais',
+ align : 'Alignement',
+ alignLeft : 'Gauche',
+ alignAbsBottom : 'Bas absolu',
+ alignAbsMiddle : 'Milieu absolu',
+ alignBaseline : 'Bas du texte',
+ alignBottom : 'Bas',
+ alignMiddle : 'Milieu',
+ alignRight : 'Droite',
+ alignTextTop : 'Haut du texte',
+ alignTop : 'Haut',
+ quality : 'Qualité',
+ qualityBest : 'Meilleure',
+ qualityHigh : 'Haute',
+ qualityAutoHigh : 'Haute Auto',
+ qualityMedium : 'Moyenne',
+ qualityAutoLow : 'Basse Auto',
+ qualityLow : 'Basse',
+ windowModeWindow: 'Fenêtre',
+ windowModeOpaque: 'Opaque',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Mode fenêtre',
+ flashvars : 'Variables du Flash',
+ bgcolor : 'Couleur d\'arrière-plan',
+ width : 'Largeur',
+ height : 'Hauteur',
+ hSpace : 'Espacement horizontal',
+ vSpace : 'Espacement vertical',
+ validateSrc : 'L\'adresse ne doit pas être vide.',
+ validateWidth : 'La largeur doit être un nombre.',
+ validateHeight : 'La hauteur doit être un nombre.',
+ validateHSpace : 'L\'espacement horizontal doit être un nombre.',
+ validateVSpace : 'L\'espacement vertical doit être un nombre.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Vérifier l\'orthographe',
+ title : 'Vérifier l\'orthographe',
+ notAvailable : 'Désolé, le service est indisponible actuellement.',
+ errorLoading : 'Erreur du chargement du service depuis l\'hôte : %s.',
+ notInDic : 'N\'existe pas dans le dictionnaire',
+ changeTo : 'Modifier pour',
+ btnIgnore : 'Ignorer',
+ btnIgnoreAll : 'Ignorer tout',
+ btnReplace : 'Remplacer',
+ btnReplaceAll : 'Remplacer tout',
+ btnUndo : 'Annuler',
+ noSuggestions : '- Aucune suggestion -',
+ progress : 'Vérification de l\'orthographe en cours...',
+ noMispell : 'Vérification de l\'orthographe terminée : aucune erreur trouvée',
+ noChanges : 'Vérification de l\'orthographe terminée : Aucun mot corrigé',
+ oneChange : 'Vérification de l\'orthographe terminée : Un seul mot corrigé',
+ manyChanges : 'Vérification de l\'orthographe terminée : %1 mots corrigés',
+ ieSpellDownload : 'La vérification d\'orthographe n\'est pas installée. Voulez-vous la télécharger maintenant?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emoticon',
+ title : 'Insérer un émoticon',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 éléments'
+ },
+
+ numberedlist : 'Insérer/Supprimer la liste numérotée',
+ bulletedlist : 'Insérer/Supprimer la liste à puces',
+ indent : 'Augmenter le retrait (tabulation)',
+ outdent : 'Diminuer le retrait (tabulation)',
+
+ justify :
+ {
+ left : 'Aligner à gauche',
+ center : 'Centrer',
+ right : 'Aligner à droite',
+ block : 'Justifier'
+ },
+
+ blockquote : 'Citation',
+
+ clipboard :
+ {
+ title : 'Coller',
+ cutError : 'Les paramètres de sécurité de votre navigateur ne permettent pas à l\'éditeur d\'exécuter automatiquement l\'opération "couper". Veuillez utiliser le raccourci clavier (Ctrl/Cmd+X).',
+ copyError : 'Les paramètres de sécurité de votre navigateur ne permettent pas à l\'éditeur d\'exécuter automatiquement des opérations de copie. Veuillez utiliser le raccourci clavier (Ctrl/Cmd+C).',
+ pasteMsg : 'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (<strong>Ctrl/Cmd+V</strong>) et cliquez sur OK',
+ securityMsg : 'A cause des paramètres de sécurité de votre navigateur, l\'éditeur n\'est pas en mesure d\'accéder directement à vos données contenues dans le presse-papier. Vous devriez réessayer de coller les données dans la fenêtre.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?',
+ toolbar : 'Coller depuis Word',
+ title : 'Coller depuis Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Coller comme texte sans mise en forme',
+ title : 'Coller comme texte sans mise en forme'
+ },
+
+ templates :
+ {
+ button : 'Modèles',
+ title : 'Contenu des modèles',
+ options : 'Template Options', // MISSING
+ insertOption : 'Remplacer le contenu actuel',
+ selectPromptMsg : 'Veuillez sélectionner le modèle pour l\'ouvrir dans l\'éditeur',
+ emptyListMsg : '(Aucun modèle disponible)'
+ },
+
+ showBlocks : 'Afficher les blocs',
+
+ stylesCombo :
+ {
+ label : 'Styles',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Styles de blocs',
+ panelTitle2 : 'Styles en ligne',
+ panelTitle3 : 'Styles d\'objet'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format de paragraphe',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formaté',
+ tag_address : 'Adresse',
+ tag_h1 : 'Titre 1',
+ tag_h2 : 'Titre 2',
+ tag_h3 : 'Titre 3',
+ tag_h4 : 'Titre 4',
+ tag_h5 : 'Titre 5',
+ tag_h6 : 'Titre 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Police',
+ voiceLabel : 'Police',
+ panelTitle : 'Style de police'
+ },
+
+ fontSize :
+ {
+ label : 'Taille',
+ voiceLabel : 'Taille de police',
+ panelTitle : 'Taille de police'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Couleur de texte',
+ bgColorTitle : 'Couleur d\'arrière plan',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatique',
+ more : 'Plus de couleurs...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Vérification d\'Orthographe en Cours de Frappe (SCAYT: Spell Check As You Type)',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Activer SCAYT',
+ disable : 'Désactiver SCAYT',
+ about : 'A propos de SCAYT',
+ toggle : 'Activer/Désactiver SCAYT',
+ options : 'Options',
+ langs : 'Langues',
+ moreSuggestions : 'Plus de suggestions',
+ ignore : 'Ignorer',
+ ignoreAll : 'Ignorer Tout',
+ addWord : 'Ajouter le mot',
+ emptyDic : 'Le nom du dictionnaire ne devrait pas être vide.',
+
+ optionsTab : 'Options',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Langues',
+
+ dictionariesTab : 'Dictionnaires',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'A propos de'
+ },
+
+ about :
+ {
+ title : 'A propos de CKEditor',
+ dlgTitle : 'A propos de CKEditor',
+ moreInfo : 'Pour les informations de licence, veuillez visiter notre site web:',
+ copy : 'Copyright © $1. Tous droits réservés.'
+ },
+
+ maximize : 'Agrandir',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Ancre',
+ flash : 'Animation Flash',
+ div : 'Saut de Page',
+ unknown : 'Objet Inconnu'
+ },
+
+ resize : 'Glisser pour modifier la taille',
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/gl.js b/devel/third-party/ckeditor/lang/gl.js
new file mode 100644
index 0000000..7754ae1
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/gl.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Galician language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['gl'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Código Fonte',
+ newPage : 'Nova Páxina',
+ save : 'Gardar',
+ preview : 'Vista Previa',
+ cut : 'Cortar',
+ copy : 'Copiar',
+ paste : 'Pegar',
+ print : 'Imprimir',
+ underline : 'Sub-raiado',
+ bold : 'Negrita',
+ italic : 'Cursiva',
+ selectAll : 'Seleccionar todo',
+ removeFormat : 'Eliminar Formato',
+ strike : 'Tachado',
+ subscript : 'SubÃndice',
+ superscript : 'SuperÃndice',
+ horizontalrule : 'Inserir Liña Horizontal',
+ pagebreak : 'Inserir Salto de Páxina',
+ unlink : 'Eliminar Ligazón',
+ undo : 'Desfacer',
+ redo : 'Refacer',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Navegar no Servidor',
+ url : 'URL',
+ protocol : 'Protocolo',
+ upload : 'Carregar',
+ uploadSubmit : 'Enviar ó Servidor',
+ image : 'Imaxe',
+ flash : 'Flash',
+ form : 'Formulario',
+ checkbox : 'Cadro de Verificación',
+ radio : 'Botón de Radio',
+ textField : 'Campo de Texto',
+ textarea : 'Ãrea de Texto',
+ hiddenField : 'Campo Oculto',
+ button : 'Botón',
+ select : 'Campo de Selección',
+ imageButton : 'Botón de Imaxe',
+ notSet : '<non definido>',
+ id : 'Id',
+ name : 'Nome',
+ langDir : 'Orientación do Idioma',
+ langDirLtr : 'Esquerda a Dereita (LTR)',
+ langDirRtl : 'Dereita a Esquerda (RTL)',
+ langCode : 'Código do Idioma',
+ longDescr : 'Descrición Completa da URL',
+ cssClass : 'Clases da Folla de Estilos',
+ advisoryTitle : 'TÃtulo',
+ cssStyle : 'Estilo',
+ ok : 'OK',
+ cancel : 'Cancelar',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Advanzado',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Inserir Carácter Especial',
+ title : 'Seleccione Caracter Especial',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Inserir/Editar Ligazón',
+ other : '<outro>',
+ menu : 'Editar Ligazón',
+ title : 'Ligazón',
+ info : 'Información da Ligazón',
+ target : 'Destino',
+ upload : 'Carregar',
+ advanced : 'Advanzado',
+ type : 'Tipo de Ligazón',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Referencia nesta páxina',
+ toEmail : 'E-Mail',
+ targetFrame : '<frame>',
+ targetPopup : '<Xanela Emerxente>',
+ targetFrameName : 'Nome do Marco Destino',
+ targetPopupName : 'Nome da Xanela Emerxente',
+ popupFeatures : 'CaracterÃsticas da Xanela Emerxente',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Barra de Estado',
+ popupLocationBar: 'Barra de Localización',
+ popupToolbar : 'Barra de Ferramentas',
+ popupMenuBar : 'Barra de Menú',
+ popupFullScreen : 'A Toda Pantalla (IE)',
+ popupScrollBars : 'Barras de Desplazamento',
+ popupDependent : 'Dependente (Netscape)',
+ popupWidth : 'Largura',
+ popupLeft : 'Posición Esquerda',
+ popupHeight : 'Altura',
+ popupTop : 'Posición dende Arriba',
+ id : 'Id', // MISSING
+ langDir : 'Orientación do Idioma',
+ langDirLTR : 'Esquerda a Dereita (LTR)',
+ langDirRTL : 'Dereita a Esquerda (RTL)',
+ acccessKey : 'Chave de Acceso',
+ name : 'Nome',
+ langCode : 'Orientación do Idioma',
+ tabIndex : 'Ãndice de Tabulación',
+ advisoryTitle : 'TÃtulo',
+ advisoryContentType : 'Tipo de Contido',
+ cssClasses : 'Clases da Folla de Estilos',
+ charset : 'Fonte de Caracteres Vinculado',
+ styles : 'Estilo',
+ selectAnchor : 'Seleccionar unha Referencia',
+ anchorName : 'Por Nome de Referencia',
+ anchorId : 'Por Element Id',
+ emailAddress : 'Enderezo de E-Mail',
+ emailSubject : 'Asunto do Mensaxe',
+ emailBody : 'Corpo do Mensaxe',
+ noAnchors : '(Non hai referencias disponibles no documento)',
+ noUrl : 'Por favor, escriba a ligazón URL',
+ noEmail : 'Por favor, escriba o enderezo de e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Inserir/Editar Referencia',
+ menu : 'Propriedades da Referencia',
+ title : 'Propriedades da Referencia',
+ name : 'Nome da Referencia',
+ errorName : 'Por favor, escriba o nome da referencia'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'Procurar',
+ replace : 'Substituir',
+ findWhat : 'Texto a procurar:',
+ replaceWith : 'Substituir con:',
+ notFoundMsg : 'Non te atopou o texto indicado.',
+ matchCase : 'Coincidir Mai./min.',
+ matchWord : 'Coincidir con toda a palabra',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Substitiur Todo',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabla',
+ title : 'Propiedades da Táboa',
+ menu : 'Propiedades da Táboa',
+ deleteTable : 'Borrar Táboa',
+ rows : 'Filas',
+ columns : 'Columnas',
+ border : 'Tamaño do Borde',
+ align : 'Aliñamento',
+ alignLeft : 'Esquerda',
+ alignCenter : 'Centro',
+ alignRight : 'Ereita',
+ width : 'Largura',
+ widthPx : 'pixels',
+ widthPc : 'percent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Altura',
+ cellSpace : 'Marxe entre Celas',
+ cellPad : 'Marxe interior',
+ caption : 'TÃtulo',
+ summary : 'Sumario',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cela',
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'Borrar Cela',
+ merge : 'Unir Celas',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Fila',
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'Borrar Filas'
+ },
+
+ column :
+ {
+ menu : 'Columna',
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'Borrar Columnas'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Propriedades do Botón',
+ text : 'Texto (Valor)',
+ type : 'Tipo',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Propriedades do Cadro de Verificación',
+ radioTitle : 'Propriedades do Botón de Radio',
+ value : 'Valor',
+ selected : 'Seleccionado'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Propriedades do Formulario',
+ menu : 'Propriedades do Formulario',
+ action : 'Acción',
+ method : 'Método',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Propriedades do Campo de Selección',
+ selectInfo : 'Info',
+ opAvail : 'Opcións Disponibles',
+ value : 'Valor',
+ size : 'Tamaño',
+ lines : 'liñas',
+ chkMulti : 'Permitir múltiples seleccións',
+ opText : 'Texto',
+ opValue : 'Valor',
+ btnAdd : 'Engadir',
+ btnModify : 'Modificar',
+ btnUp : 'Subir',
+ btnDown : 'Baixar',
+ btnSetValue : 'Definir como valor por defecto',
+ btnDelete : 'Borrar'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Propriedades da Ãrea de Texto',
+ cols : 'Columnas',
+ rows : 'Filas'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Propriedades do Campo de Texto',
+ name : 'Nome',
+ value : 'Valor',
+ charWidth : 'Tamaño do Caracter',
+ maxChars : 'Máximo de Caracteres',
+ type : 'Tipo',
+ typeText : 'Texto',
+ typePass : 'Chave'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Propriedades do Campo Oculto',
+ name : 'Nome',
+ value : 'Valor'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Propriedades da Imaxe',
+ titleButton : 'Propriedades do Botón de Imaxe',
+ menu : 'Propriedades da Imaxe',
+ infoTab : 'Información da Imaxe',
+ btnUpload : 'Enviar ó Servidor',
+ upload : 'Carregar',
+ alt : 'Texto Alternativo',
+ width : 'Largura',
+ height : 'Altura',
+ lockRatio : 'Proporcional',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Tamaño Orixinal',
+ border : 'LÃmite',
+ hSpace : 'Esp. Horiz.',
+ vSpace : 'Esp. Vert.',
+ align : 'Aliñamento',
+ alignLeft : 'Esquerda',
+ alignRight : 'Dereita',
+ alertUrl : 'Por favor, escriba a URL da imaxe',
+ linkTab : 'Ligazón',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Propriedades Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Propriedades Flash',
+ chkPlay : 'Auto Execución',
+ chkLoop : 'Bucle',
+ chkMenu : 'Activar Menú Flash',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Escalar',
+ scaleAll : 'Amosar Todo',
+ scaleNoBorder : 'Sen Borde',
+ scaleFit : 'Encaixar axustando',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Aliñamento',
+ alignLeft : 'Esquerda',
+ alignAbsBottom : 'Abs Inferior',
+ alignAbsMiddle : 'Abs Centro',
+ alignBaseline : 'Liña Base',
+ alignBottom : 'Pé',
+ alignMiddle : 'Centro',
+ alignRight : 'Dereita',
+ alignTextTop : 'Tope do Texto',
+ alignTop : 'Tope',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Cor do Fondo',
+ width : 'Largura',
+ height : 'Altura',
+ hSpace : 'Esp. Horiz.',
+ vSpace : 'Esp. Vert.',
+ validateSrc : 'Por favor, escriba a ligazón URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Corrección Ortográfica',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Non está no diccionario',
+ changeTo : 'Cambiar a',
+ btnIgnore : 'Ignorar',
+ btnIgnoreAll : 'Ignorar Todas',
+ btnReplace : 'Substituir',
+ btnReplaceAll : 'Substituir Todas',
+ btnUndo : 'Desfacer',
+ noSuggestions : '- Sen candidatos -',
+ progress : 'Corrección ortográfica en progreso...',
+ noMispell : 'Corrección ortográfica rematada: Non se atoparon erros',
+ noChanges : 'Corrección ortográfica rematada: Non se substituiu nengunha verba',
+ oneChange : 'Corrección ortográfica rematada: Unha verba substituida',
+ manyChanges : 'Corrección ortográfica rematada: %1 verbas substituidas',
+ ieSpellDownload : 'O corrector ortográfico non está instalado. ¿Quere descargalo agora?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Inserte un Smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Lista Numerada',
+ bulletedlist : 'Marcas',
+ indent : 'Aumentar SangrÃa',
+ outdent : 'Disminuir SangrÃa',
+
+ justify :
+ {
+ left : 'Aliñar á Esquerda',
+ center : 'Centrado',
+ right : 'Aliñar á Dereita',
+ block : 'Xustificado'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Pegar',
+ cutError : 'Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de corte. Por favor, use o teclado para iso (Ctrl/Cmd+X).',
+ copyError : 'Os axustes de seguridade do seu navegador non permiten que o editor realice automáticamente as tarefas de copia. Por favor, use o teclado para iso (Ctrl/Cmd+C).',
+ pasteMsg : 'Por favor, pegue dentro do seguinte cadro usando o teclado (<STRONG>Ctrl/Cmd+V</STRONG>) e pulse <STRONG>OK</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Pegar dende Word',
+ title : 'Pegar dende Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Pegar como texto plano',
+ title : 'Pegar como texto plano'
+ },
+
+ templates :
+ {
+ button : 'Plantillas',
+ title : 'Plantillas de Contido',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'Por favor, seleccione a plantilla a abrir no editor<br>(o contido actual perderase):',
+ emptyListMsg : '(Non hai plantillas definidas)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Estilo',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Formato',
+ panelTitle : 'Formato',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formateado',
+ tag_address : 'Enderezo',
+ tag_h1 : 'Enacabezado 1',
+ tag_h2 : 'Encabezado 2',
+ tag_h3 : 'Encabezado 3',
+ tag_h4 : 'Encabezado 4',
+ tag_h5 : 'Encabezado 5',
+ tag_h6 : 'Encabezado 6',
+ tag_div : 'Paragraph (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Tipo',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Tipo'
+ },
+
+ fontSize :
+ {
+ label : 'Tamaño',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Tamaño'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Cor do Texto',
+ bgColorTitle : 'Cor do Fondo',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automático',
+ more : 'Máis Cores...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/gu.js b/devel/third-party/ckeditor/lang/gu.js
new file mode 100644
index 0000000..9f8af5d
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/gu.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Gujarati language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['gu'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'મà«àª³ àªà« પà«àª°àª¾àª¥àª®àª¿àª દસà«àª¤àª¾àªµà«àª',
+ newPage : 'નવૠપાનà«àª',
+ save : 'સà«àªµ',
+ preview : 'પà«àª°à«àªµàª¦àª°à«àª¶àª¨',
+ cut : 'àªàª¾àªªàªµà«àª',
+ copy : 'નàªàª²',
+ paste : 'પà«àª¸à«àª',
+ print : 'પà«àª°àª¿àª¨à«àª',
+ underline : 'àª
નà«àª¡àª°à«àª²àª¾àªàª¨, નà«àªà« લà«àªà«',
+ bold : 'બà«àª²à«àª¡/સà«àªªàª·à«àª',
+ italic : 'àªàªà«àª²àª¿àª, તà«àª°àª¾àªàª¸àª¾',
+ selectAll : 'બàªà«àª પસàªàª¦ àªàª°àªµà«àª',
+ removeFormat : 'ફà«àª°à«àª®àª àªàª¾àª¢àªµà«àª',
+ strike : 'àªà«àªà« નાàªàªµà«àª',
+ subscript : 'àªàª àªàª¿àª¹à«àª¨àª¨à« નà«àªà« àªàª°à«àª²à«àª બà«àªà«àª àªàª¿àª¹à«àª¨',
+ superscript : 'àªàª àªàª¿àª¹à«àª¨ àªàªªàª° àªàª°à«àª²à«àª બà«àªà«àª àªàª¿àª¹à«àª¨.',
+ horizontalrule : 'સમસà«àª¤àª°à«àª¯ રà«àªàª¾ àªàª¨à«àª¸àª°à«àª/દાàªàª² àªàª°àªµà«',
+ pagebreak : 'àªàª¨à«àª¸àª°à«àª પà«àªàª¬à«àª°à«àª/પાનાનૠàª
લઠàªàª°àªµà«àª/દાàªàª² àªàª°àªµà«àª',
+ unlink : 'લિàªàª àªàª¾àª¢àªµà«',
+ undo : 'રદ àªàª°àªµà«àª; પહà«àª²àª¾àª હતૠàªàªµà« સà«àª¥àª¿àª¤àª¿ પાàªà« લાવવà«',
+ redo : 'રિડà«; પàªà« હતૠàªàªµà« સà«àª¥àª¿àª¤àª¿ પાàªà« લાવવà«',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'સરà«àªµàª° બà«àª°àª¾àªàª àªàª°à«',
+ url : 'URL',
+ protocol : 'પà«àª°à«àªà«àªà«àª²',
+ upload : 'àª
પલà«àª¡',
+ uploadSubmit : 'ઠસરà«àªµàª°àª¨à« મà«àªàª²àªµà«àª',
+ image : 'àªàª¿àª¤à«àª°',
+ flash : 'ફà«àª²à«
શ',
+ form : 'ફà«àª°à«àª®/પતà«àª°àª',
+ checkbox : 'àªà«àª બà«àªà«àª¸',
+ radio : 'રà«àª¡àª¿àª બàªàª¨',
+ textField : 'àªà«àªà«àª¸à«àª ફà«àª²à«àª¡, શબà«àª¦ àªà«àª·à«àª¤à«àª°',
+ textarea : 'àªà«àªà«àª¸à«àª àªàª°àª¿àª, શબà«àª¦ વિસà«àª¤àª¾àª°',
+ hiddenField : 'àªà«àªªà«àª¤ àªà«àª·à«àª¤à«àª°',
+ button : 'બàªàª¨',
+ select : 'પસàªàª¦àªà« àªà«àª·à«àª¤à«àª°',
+ imageButton : 'àªàª¿àª¤à«àª° બàªàª¨',
+ notSet : '<સà«àª નથà«>',
+ id : 'Id',
+ name : 'નામ',
+ langDir : 'àªàª¾àª·àª¾ લà«àªàªµàª¾àª¨à« પદà«àª§àª¤àª¿',
+ langDirLtr : 'ડાબૠથૠàªàª®àª£à« (LTR)',
+ langDirRtl : 'àªàª®àª£à« થૠડાબૠ(RTL)',
+ langCode : 'àªàª¾àª·àª¾ àªà«àª¡',
+ longDescr : 'વધારૠમાહિતૠમાàªà« URL',
+ cssClass : 'સà«àªàª¾àªàª²-શà«àª àªà«àª²àª¾àª¸',
+ advisoryTitle : 'મà«àªà«àª¯ મથાળà«àª',
+ cssStyle : 'સà«àªàª¾àªàª²',
+ ok : 'ઠà«àª àªà«',
+ cancel : 'રદ àªàª°àªµà«àª',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'àª
ડà«àªµàª¾àª¨à«àª¸àª¡',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'વિશિષà«àª àª
àªà«àª·àª° àªàª¨à«àª¸àª°à«àª/દાàªàª² àªàª°àªµà«àª',
+ title : 'સà«àªªà«àª¶àª¿àª
લ વિશિષà«àª àª
àªà«àª·àª° પસàªàª¦ àªàª°à«',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'લિàªàª àªàª¨à«àª¸àª°à«àª/દાàªàª² àªàª°àªµà«',
+ other : '<other>', // MISSING
+ menu : ' લિàªàª àªàª¡àª¿àª/માઠફà«àª°àª«àª¾àª° àªàª°àªµà«',
+ title : 'લિàªàª',
+ info : 'લિàªàª àªàª¨à«àª«à« àªà«
બ',
+ target : 'àªàª¾àª°à«àªà«àª/લàªà«àª·à«àª¯',
+ upload : 'àª
પલà«àª¡',
+ advanced : 'àª
ડà«àªµàª¾àª¨à«àª¸àª¡',
+ type : 'લિàªàª પà«àª°àªàª¾àª°',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ઠપà«àªàª¨à« àªàªàªàª°',
+ toEmail : 'àª-મà«àª²',
+ targetFrame : '<ફà«àª°à«àª®>',
+ targetPopup : '<પà«àªª-àª
પ વિનà«àª¡à«>',
+ targetFrameName : 'àªàª¾àª°à«àªà«àª ફà«àª°à«àª® નà«àª નામ',
+ targetPopupName : 'પà«àªª-àª
પ વિનà«àª¡à« નà«àª નામ',
+ popupFeatures : 'પà«àªª-àª
પ વિનà«àª¡à« ફà«àªàª°àª¸à«
',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'સà«àªà«
àªàª¸ બાર',
+ popupLocationBar: 'લà«àªà«àª¶àª¨ બાર',
+ popupToolbar : 'àªà«àª² બાર',
+ popupMenuBar : 'મà«àª¨à«àª¯à« બાર',
+ popupFullScreen : 'ફà«àª² સà«àªà«àª°à«àª¨ (IE)',
+ popupScrollBars : 'સà«àªà«àª°à«àª² બાર',
+ popupDependent : 'ડિપà«àª¨à«àª¡àª¨à«àª (Netscape)',
+ popupWidth : 'પહà«àª³àª¾àª',
+ popupLeft : 'ડાબૠબાàªà«',
+ popupHeight : 'àªàªàªàª¾àª',
+ popupTop : 'àªàª®àª£à« બાàªà«',
+ id : 'Id', // MISSING
+ langDir : 'àªàª¾àª·àª¾ લà«àªàªµàª¾àª¨à« પદà«àª§àª¤àª¿',
+ langDirLTR : 'ડાબૠથૠàªàª®àª£à« (LTR)',
+ langDirRTL : 'àªàª®àª£à« થૠડાબૠ(RTL)',
+ acccessKey : 'àªàªà«àª¸à«àª¸ àªà«',
+ name : 'નામ',
+ langCode : 'àªàª¾àª·àª¾ લà«àªàªµàª¾àª¨à« પદà«àª§àª¤àª¿',
+ tabIndex : 'àªà«
બ àªàª¨à«àª¡à«àªà«àª¸',
+ advisoryTitle : 'મà«àªà«àª¯ મથાળà«àª',
+ advisoryContentType : 'મà«àªà«àª¯ àªàª¨à«àªà«àª¨à«àª પà«àª°àªàª¾àª°',
+ cssClasses : 'સà«àªàª¾àªàª²-શà«àª àªà«àª²àª¾àª¸',
+ charset : 'લિàªàª રિસà«àª°à«àª¸ àªà«
રિàªà«àªàª° સà«àª',
+ styles : 'સà«àªàª¾àªàª²',
+ selectAnchor : 'àªàªàªàª° પસàªàª¦ àªàª°à«',
+ anchorName : 'àªàªàªàª° નામથૠપસàªàª¦ àªàª°à«',
+ anchorId : 'àªàªàªàª° àªàª²àª¿àª®àª¨à«àª Id થૠપસàªàª¦ àªàª°à«',
+ emailAddress : 'àª-મà«àª² સરનામà«àª',
+ emailSubject : 'àª-મà«àª² વિષય',
+ emailBody : 'સàªàª¦à«àª¶',
+ noAnchors : '(ડà«àªà«àª¯à«àª®àª¨à«àªàª®àª¾àª àªàªàªàª°àª¨à« સàªàªà«àª¯àª¾)',
+ noUrl : 'લિàªàª URL àªàª¾àªàªª àªàª°à«',
+ noEmail : 'àª-મà«àª² સરનામà«àª àªàª¾àªàªª àªàª°à«'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'àªàªàªàª° àªàª¨à«àª¸àª°à«àª/દાàªàª² àªàª°àªµà«',
+ menu : 'àªàªàªàª°àª¨àª¾ àªà«àª£',
+ title : 'àªàªàªàª°àª¨àª¾ àªà«àª£',
+ name : 'àªàªàªàª°àª¨à«àª નામ',
+ errorName : 'àªàªàªàª°àª¨à«àª નામ àªàª¾àªàªª àªàª°à«'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'શà«àª§àªµà«àª àª
નૠબદલવà«àª',
+ find : 'શà«àª§àªµà«àª',
+ replace : 'રિપà«àª²à«àª¸/બદલવà«àª',
+ findWhat : 'ઠશà«àª§à«',
+ replaceWith : 'àªàª¨àª¾àª¥à« બદલà«',
+ notFoundMsg : 'તમૠશà«àª§à«àª²à« àªà«àªà«àª¸à«àª નથૠમળà«',
+ matchCase : 'àªà«àª¸ સરàªàª¾ રાàªà«',
+ matchWord : 'બàªàª¾ શબà«àª¦ સરàªàª¾ રાàªà«',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'બàªàª¾ બદલૠ',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'àªà«àª¬àª², àªà«àª à«',
+ title : 'àªà«àª¬àª², àªà«àª ાનà«àª મથાળà«àª',
+ menu : 'àªà«àª¬àª², àªà«àª ાનà«àª મથાળà«àª',
+ deleteTable : 'àªà«àª ૠડિલà«àª/àªàª¾àª¢à« નાàªàªµà«àª',
+ rows : 'પàªàªà«àª¤àª¿àª¨àª¾ àªàª¾àª¨àª¾',
+ columns : 'àªà«àª²àª®/àªàªà« àªàªàª¾àª°',
+ border : 'àªà«àª ાનૠબાàªà«(બà«àª°à«àª¡àª°) સાàªàª',
+ align : 'àª
લાàªàª¨àª®àª¨à«àª/àªà«àª વાયà«àª²à«àª ',
+ alignLeft : 'ડાબૠબાàªà«',
+ alignCenter : 'મધà«àª¯ સà«àª¨à«àªàª°',
+ alignRight : 'àªàª®àª£à« બાàªà«',
+ width : 'પહà«àª³àª¾àª',
+ widthPx : 'પિàªàª¸àª²',
+ widthPc : 'પà«àª°àª¤àª¿àª¶àª¤',
+ widthUnit : 'width unit', // MISSING
+ height : 'àªàªàªàª¾àª',
+ cellSpace : 'સà«àª² àª
àªàª¤àª°',
+ cellPad : 'સà«àª² પà«
ડિàªàª',
+ caption : 'મથાળà«àª/àªà«
પà«àª¶àª¨ ',
+ summary : 'àªà«àªàªà« àªàª¹à«àªµàª¾àª²',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'àªà«àª·àª¨àª¾ àªàª¾àª¨àª¾',
+ insertBefore : 'પહà«àª²àª¾àª àªà«àª· àªàª®à«àª°àªµà«',
+ insertAfter : 'પàªà« àªà«àª· àªàª®à«àª°àªµà«',
+ deleteCell : 'àªà«àª· ડિલà«àª/àªàª¾àª¢à« નાàªàªµà«',
+ merge : 'àªà«àª· àªà«àªàª¾ àªàª°àªµàª¾',
+ mergeRight : 'àªàª®àª£à« બાàªà« àªà«àªàª¾ àªàª°àªµàª¾',
+ mergeDown : 'નà«àªà« àªà«àªàª¾ àªàª°àªµàª¾',
+ splitHorizontal : 'àªà«àª·àª¨à« સમસà«àª¤àª°à«àª¯ વિàªàª¾àªàª¨ àªàª°àªµà«àª',
+ splitVertical : 'àªà«àª·àª¨à« સà«àª§à«àª નૠàªàªà«àª વિàªàª¾àªàª¨ àªàª°àªµà«àª',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'પàªàªà«àª¤àª¿àª¨àª¾ àªàª¾àª¨àª¾',
+ insertBefore : 'પહà«àª²àª¾àª પàªàªà«àª¤àª¿ àªàª®à«àª°àªµà«',
+ insertAfter : 'પàªà« પàªàªà«àª¤àª¿ àªàª®à«àª°àªµà«',
+ deleteRow : 'પàªàªà«àª¤àª¿àª ડિલà«àª/àªàª¾àª¢à« નાàªàªµà«'
+ },
+
+ column :
+ {
+ menu : 'àªà«àª²àª®/àªàªà« àªàªàª¾àª°',
+ insertBefore : 'પહà«àª²àª¾àª àªà«àª²àª®/àªàªà« àªàªàª¾àª° àªàª®à«àª°àªµà«',
+ insertAfter : 'પàªà« àªà«àª²àª®/àªàªà« àªàªàª¾àª° àªàª®à«àª°àªµà«',
+ deleteColumn : 'àªà«àª²àª®/àªàªà« àªàªàª¾àª° ડિલà«àª/àªàª¾àª¢à« નાàªàªµà«'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'બàªàª¨àª¨àª¾ àªà«àª£',
+ text : 'àªà«àªà«àª¸à«àª (વà«
લà«àª¯à«)',
+ type : 'પà«àª°àªàª¾àª°',
+ typeBtn : 'બàªàª¨',
+ typeSbm : 'સબà«àª®àª¿àª',
+ typeRst : 'રિસà«àª'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'àªà«àª બà«àªà«àª¸ àªà«àª£',
+ radioTitle : 'રà«àª¡àª¿àª બàªàª¨àª¨àª¾ àªà«àª£',
+ value : 'વà«
લà«àª¯à«',
+ selected : 'સિલà«àªà«àªà«àª¡'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ફà«àª°à«àª®/પતà«àª°àªàª¨àª¾ àªà«àª£',
+ menu : 'ફà«àª°à«àª®/પતà«àª°àªàª¨àª¾ àªà«àª£',
+ action : 'àªà«àª°àª¿àª¯àª¾',
+ method : 'પદà«àª§àª¤àª¿',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'પસàªàª¦àªà« àªà«àª·à«àª¤à«àª°àª¨àª¾ àªà«àª£',
+ selectInfo : 'સà«àªàª¨àª¾',
+ opAvail : 'àªàªªàª²àª¬à«àª§ વિàªàª²à«àªª',
+ value : 'વà«
લà«àª¯à«',
+ size : 'સાàªàª',
+ lines : 'લà«àªà«àª',
+ chkMulti : 'àªàªàª¥à« વધારૠપસàªàª¦ àªàª°à« શàªà«',
+ opText : 'àªà«àªà«àª¸à«àª',
+ opValue : 'વà«
લà«àª¯à«',
+ btnAdd : 'àªàª®à«àª°àªµà«àª',
+ btnModify : 'બદલવà«àª',
+ btnUp : 'àªàªªàª°',
+ btnDown : 'નà«àªà«',
+ btnSetValue : 'પસàªàª¦ àªàª°àª²à« વà«
લà«àª¯à« સà«àª àªàª°à«',
+ btnDelete : 'રદ àªàª°àªµà«àª'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'àªà«àªà«àª¸à«àª àªàª
રિàª, શબà«àª¦ વિસà«àª¤àª¾àª°àª¨àª¾ àªà«àª£',
+ cols : 'àªà«àª²àª®/àªàªà« àªàªàª¾àª°',
+ rows : 'પàªàªà«àª¤àª¿àª'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'àªà«àªà«àª¸à«àª ફà«àª²à«àª¡, શબà«àª¦ àªà«àª·à«àª¤à«àª°àª¨àª¾ àªà«àª£',
+ name : 'નામ',
+ value : 'વà«
લà«àª¯à«',
+ charWidth : 'àªà«àª°à«àªà«àªàª°àª¨à« પહà«àª³àª¾àª',
+ maxChars : 'àª
ધિàªàª¤àª® àªà«àª°à«àªà«àªàª°',
+ type : 'àªàª¾àªàªª',
+ typeText : 'àªà«àªà«àª¸à«àª',
+ typePass : 'પાસવરà«àª¡'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'àªà«àªªà«àª¤ àªà«àª·à«àª¤à«àª°àª¨àª¾ àªà«àª£',
+ name : 'નામ',
+ value : 'વà«
લà«àª¯à«'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'àªàª¿àª¤à«àª°àª¨àª¾ àªà«àª£',
+ titleButton : 'àªàª¿àª¤à«àª° બàªàª¨àª¨àª¾ àªà«àª£',
+ menu : 'àªàª¿àª¤à«àª°àª¨àª¾ àªà«àª£',
+ infoTab : 'àªàª¿àª¤à«àª° નૠàªàª¾àª£àªàª¾àª°à«',
+ btnUpload : 'ઠસરà«àªµàª°àª¨à« મà«àªàª²àªµà«àª',
+ upload : 'àª
પલà«àª¡',
+ alt : 'àªàª²à«àªàª°à«àª¨àª àªà«àªà«àª¸à«àª',
+ width : 'પહà«àª³àª¾àª',
+ height : 'àªàªàªàª¾àª',
+ lockRatio : 'લà«àª àªà«àª£à«àª¤à«àª¤àª°',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'રà«àª¸à«àª સાàªàª',
+ border : 'બà«àª°à«àª¡àª°',
+ hSpace : 'સમસà«àª¤àª°à«àª¯ àªàªà«àª¯àª¾',
+ vSpace : 'લàªàª¬àª°à«àªª àªàªà«àª¯àª¾',
+ align : 'લાàªàª¨àª¦à«àª°à«àª®àª¾àª àªà«àª વવà«àª',
+ alignLeft : 'ડાબૠબાàªà« àªà«àª વવà«àª',
+ alignRight : 'àªàª®àª£à«',
+ alertUrl : 'àªàª¿àª¤à«àª°àª¨à« URL àªàª¾àªàªª àªàª°à«',
+ linkTab : 'લિàªàª',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ફà«àª²à«
શના àªà«àª£',
+ propertiesTab : 'Properties', // MISSING
+ title : 'ફà«àª²à«
શ àªà«àª£',
+ chkPlay : 'àªàªà«/સà«àªµàª¯àª પà«àª²à«',
+ chkLoop : 'લà«àªª',
+ chkMenu : 'ફà«àª²à«
શ મà«àª¨à«àª¯à« નૠપà«àª°àª¯à«àª àªàª°à«',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'સà«àªà«àª²',
+ scaleAll : 'સà«àªà«àª² àªàª²/બધૠબતાવà«',
+ scaleNoBorder : 'સà«àªà«àª² બà«àª°à«àª¡àª° વàªàª°',
+ scaleFit : 'સà«àªà«àª² àªàªàª¦àª® ફà«àª',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'લાàªàª¨àª¦à«àª°à«àª®àª¾àª àªà«àª વવà«àª',
+ alignLeft : 'ડાબૠબાàªà« àªà«àª વવà«àª',
+ alignAbsBottom : 'Abs નà«àªà«',
+ alignAbsMiddle : 'Abs àªàªªàª°',
+ alignBaseline : 'àªàª§àª¾àª° લà«àªà«',
+ alignBottom : 'નà«àªà«',
+ alignMiddle : 'વàªà«àªà«',
+ alignRight : 'àªàª®àª£à«',
+ alignTextTop : 'àªà«àªà«àª¸à«àª àªàªªàª°',
+ alignTop : 'àªàªªàª°',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'બà«
àªàªà«àª°àª¾àªàª¨à«àª¡ રàªàª,',
+ width : 'પહà«àª³àª¾àª',
+ height : 'àªàªàªàª¾àª',
+ hSpace : 'સમસà«àª¤àª°à«àª¯ àªàªà«àª¯àª¾',
+ vSpace : 'લàªàª¬àª°à«àªª àªàªà«àª¯àª¾',
+ validateSrc : 'લિàªàª URL àªàª¾àªàªª àªàª°à«',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'àªà«àª¡àª£à« (સà«àªªà«àª²àª¿àªàª) તપાસવà«',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'શબà«àª¦àªà«àª¶àª®àª¾àª નથà«',
+ changeTo : 'àªàª¨àª¾àª¥à« બદલવà«àª',
+ btnIgnore : 'àªàªà«àª¨à«àª°/àª
વàªàª£àª¨àª¾ àªàª°àªµà«',
+ btnIgnoreAll : 'બધાનૠàªàªà«àª¨à«àª°/àª
વàªàª£àª¨àª¾ àªàª°àªµà«',
+ btnReplace : 'બદલવà«àª',
+ btnReplaceAll : 'બધા બદલૠàªàª°à«',
+ btnUndo : 'àª
નà«àª¡à«',
+ noSuggestions : '- àªàª સàªà«àª¶àª¨ નથૠ-',
+ progress : 'શબà«àª¦àª¨à« àªà«àª¡àª£à«/સà«àªªà«àª² àªà«àª àªàª¾àª²à« àªà«...',
+ noMispell : 'શબà«àª¦àª¨à« àªà«àª¡àª£à«/સà«àªªà«àª² àªà«àª પà«àª°à«àª£: àªà«àªà« àªà«àª¡àª£à« મળૠનથà«',
+ noChanges : 'શબà«àª¦àª¨à« àªà«àª¡àª£à«/સà«àªªà«àª² àªà«àª પà«àª°à«àª£: àªàªàªªàª£ શબà«àª¦ બદલયૠનથà«',
+ oneChange : 'શબà«àª¦àª¨à« àªà«àª¡àª£à«/સà«àªªà«àª² àªà«àª પà«àª°à«àª£: àªàª શબà«àª¦ બદલયૠàªà«',
+ manyChanges : 'શબà«àª¦àª¨à« àªà«àª¡àª£à«/સà«àªªà«àª² àªà«àª પà«àª°à«àª£: %1 શબà«àª¦ બદલયા àªà«',
+ ieSpellDownload : 'સà«àªªà«àª²-àªà«àªàª° àªàª¨à«àª¸à«àªà«àª² નથà«. શà«àª તમૠડાàªàª¨àª²à«àª¡ àªàª°àªµàª¾ માàªàªà« àªà«?'
+ },
+
+ smiley :
+ {
+ toolbar : 'સà«àª®àª¾àªàª²à«',
+ title : 'સà«àª®àª¾àªàª²à« પસàªàª¦ àªàª°à«',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'સàªàªà«àª¯àª¾àªàªàª¨ સà«àªàª¿',
+ bulletedlist : 'બà«àª²à«àª સà«àªàª¿',
+ indent : 'àªàª¨à«àª¡à«àª¨à«àª, લà«àªà«àª¨àª¾ àªàª°àªàªàª®àª¾àª àªàªà«àª¯àª¾ વધારવà«',
+ outdent : 'àªàª¨à«àª¡à«àª¨à«àª લà«àªà«àª¨àª¾ àªàª°àªàªàª®àª¾àª àªàªà«àª¯àª¾ àªàªàª¾àª¡àªµà«',
+
+ justify :
+ {
+ left : 'ડાબૠબાàªà«àª/બાàªà« તરફ',
+ center : 'સàªàªà«àªàª¦à«àª°àª£/સà«àªàªàª°àª¿àªàª',
+ right : 'àªàª®àª£à« બાàªà«àª/બાàªà« તરફ',
+ block : 'બà«àª²à«àª, àª
àªàª¤àª°àª¾àª¯ àªàª¸à«àªàª¿àª«àª¾àª'
+ },
+
+ blockquote : 'બà«àª²à«àª-àªà«àª, àª
વતરણàªàª¿àª¹à«àª¨à«',
+
+ clipboard :
+ {
+ title : 'પà«àª¸à«àª',
+ cutError : 'તમારા બà«àª°àª¾àªàªàª° નૠસà«àª°àªà«àª·àª¿àª¤ સà«àªàª¿àªàªàª¸ àªàª àªàª°àªµàª¾àª¨à« પરવાનàªà« નથૠàªàªªàª¤à«. (Ctrl/Cmd+X) નૠàªàªªàª¯à«àª àªàª°à«.',
+ copyError : 'તમારા બà«àª°àª¾àªàªàª° નૠસà«àª°àªà«àª·àª¿àª¤ સà«àªàª¿àªàªàª¸ àªà«àªªà« àªàª°àªµàª¾àª¨à« પરવાનàªà« નથૠàªàªªàª¤à«. (Ctrl/Cmd+C) à¤à¤¾ पà¥à¤°à¤¯à¥à¤ à¤à¤°à¥à¤à¥¤',
+ pasteMsg : 'Ctrl/Cmd+V નૠપà«àª°àª¯à«àª àªàª°à« પà«àª¸à«àª àªàª°à«',
+ securityMsg : 'તમારા બà«àª°àª¾àªàªàª° નૠસà«àª°àªà«àª·àª¿àª¤ સà«àªàª¿àªàªàª¸àª¨àª¾ àªàª¾àª°àª£à«,àªàª¡àª¿àªàª° તમારા àªàª¿àª²à«àªªàª¬à«àª°à«àª¡ ડà«àªàª¾ નૠàªà«àªªà« નથૠàªàª°à« શàªàª¤à«. તમારૠઠવિનà«àª¡à«àª®àª¾àª ફરà«àª¥à« પà«àª¸à«àª àªàª°àªµà«àª પડશà«.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'પà«àª¸à«àª (વડà«
àªà«àªà«àª¸à«àª)',
+ title : 'પà«àª¸à«àª (વડà«
àªà«àªà«àª¸à«àª)',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'પà«àª¸à«àª (àªà«àªà«àª¸à«àª)',
+ title : 'પà«àª¸à«àª (àªà«àªà«àª¸à«àª)'
+ },
+
+ templates :
+ {
+ button : 'àªà«àª®à«àªªà«àª²à«àª',
+ title : 'àªàª¨à«àªà«àª¨à«àª àªà«àª®à«àªªà«àª²à«àª',
+ options : 'Template Options', // MISSING
+ insertOption : 'મà«àª³ શબà«àª¦àª¨à« બદલà«',
+ selectPromptMsg : 'àªàª¡àª¿àªàª°àª®àª¾àª àªàªªàª¨ àªàª°àªµàª¾ àªà«àª®à«àªªà«àª²à«àª પસàªàª¦ àªàª°à« (વરà«àª¤àª®àª¾àª¨ àªàª¨à«àªà«àª¨à«àª સà«àªµ નહà«àª થાય):',
+ emptyListMsg : '(àªà«àª àªà«àª®à«àªªà«àª²à«àª ડિફાàªàª¨ નથà«)'
+ },
+
+ showBlocks : 'બà«àª²à«àª બતાવવà«àª',
+
+ stylesCombo :
+ {
+ label : 'શà«àª²à«/રà«àª¤',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'ફà«àª¨à«àª ફà«àª°à«àª®àª, રàªàª¨àª¾àª¨à« શà«àª²à«',
+ panelTitle : 'ફà«àª¨à«àª ફà«àª°à«àª®àª, રàªàª¨àª¾àª¨à« શà«àª²à«',
+
+ tag_p : 'સામાનà«àª¯',
+ tag_pre : 'ફà«àª°à«àª®àªà«àª¡',
+ tag_address : 'સરનામà«àª',
+ tag_h1 : 'શà«àª°à«àª·àª 1',
+ tag_h2 : 'શà«àª°à«àª·àª 2',
+ tag_h3 : 'શà«àª°à«àª·àª 3',
+ tag_h4 : 'શà«àª°à«àª·àª 4',
+ tag_h5 : 'શà«àª°à«àª·àª 5',
+ tag_h6 : 'શà«àª°à«àª·àª 6',
+ tag_div : 'શà«àª°à«àª·àª (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ફà«àª¨à«àª',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'ફà«àª¨à«àª'
+ },
+
+ fontSize :
+ {
+ label : 'ફà«àª¨à«àª સાàªàª/àªàª¦',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'ફà«àª¨à«àª સાàªàª/àªàª¦'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'શબà«àª¦àª¨à« રàªàª',
+ bgColorTitle : 'બà«
àªàªà«àª°àª¾àªàª¨à«àª¡ રàªàª,',
+ panelTitle : 'Colors', // MISSING
+ auto : 'સà«àªµàªàª¾àª²àª¿àª¤',
+ more : 'àªàª° રàªàª...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/he.js b/devel/third-party/ckeditor/lang/he.js
new file mode 100644
index 0000000..029ecd1
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/he.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Hebrew language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['he'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'rtl',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : '×¢××¨× ××§×¡× ×¢×©×ר, %1, ×××¥ ××× (ALT) + 0 ××¢×ר×.',
+
+ // ARIA descriptions.
+ toolbar : 'סר×× ×××××',
+ editor : '×¢××¨× ××§×¡× ×¢×©×ר',
+
+ // Toolbar buttons without dialogs.
+ source : '×ק×ר',
+ newPage : '××£ ××ש',
+ save : 'ש××ר×',
+ preview : 'תצ××× ×ק××××',
+ cut : '×××ר×',
+ copy : '×עתק×',
+ paste : '×××ק×',
+ print : '××פס×',
+ underline : '×§× ×ª×ת××',
+ bold : '××××ש',
+ italic : '× ×××',
+ selectAll : '×××רת ×××',
+ removeFormat : '×סרת ××¢×צ××',
+ strike : '×ת×× ×××ק',
+ subscript : '×ת×× ×ª×ת××',
+ superscript : '×ת×× ×¢××××',
+ horizontalrule : '××ספת ×§× ××פק×',
+ pagebreak : '××ספת ש××רת ××£',
+ unlink : '×סרת ×ק×ש×ר',
+ undo : '××××× ×¦×¢× ××ר××',
+ redo : '×××¨× ×¢× ×¦×¢× ××ר××',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ס××ר ×שרת',
+ url : '×ת××ת (URL)',
+ protocol : 'פר×××ק××',
+ upload : '××¢×××',
+ uploadSubmit : 'ש×××× ×שרת',
+ image : 'ת××× ×',
+ flash : 'פ××ש',
+ form : '××פס',
+ checkbox : 'ת××ת ס××××',
+ radio : '×××¦× ×פשר×××ת',
+ textField : 'ש×× ×קס×',
+ textarea : '××××ר ×קס×',
+ hiddenField : 'ש×× ××××',
+ button : '×פת×ר',
+ select : 'ש×× ×××ר×',
+ imageButton : '×פת×ר ת××× ×',
+ notSet : '<×× × ×§××¢>',
+ id : '××××× (ID)',
+ name : 'ש×',
+ langDir : '××××× ×©×¤×',
+ langDirLtr : 'ש××× ××××× (LTR)',
+ langDirRtl : '×××× ×ש××× (RTL)',
+ langCode : 'ק×× ×©×¤×',
+ longDescr : 'ק×ש×ר ×ת×××ר ×פ×ר×',
+ cssClass : '×××קת ×¢×צ×× (CSS Class)',
+ advisoryTitle : '××תרת ××צעת',
+ cssStyle : 'ס×× ××',
+ ok : '××ש×ר',
+ cancel : '×××××',
+ close : 'ס××ר×',
+ preview : 'תצ××× ×ק××××',
+ generalTab : '××××',
+ advancedTab : '×פשר×××ת ×תק×××ת',
+ validateNumberFailed : '××¢×¨× ×××× ××××ת ×ספר×.',
+ confirmNewPage : '×× ×ש×× ×××× ×©×× × ×©××¨× ×××××. ××× ×××¢××ת ××£ ××ש?',
+ confirmCancel : '××ק ×××פשר×××ת ש×× ×, ××× ×ס××ר ×ת ×××××××?',
+ options : '×פשר×××ת',
+ target : '××ר×',
+ targetNew : '×××× ××ש (_blank)',
+ targetTop : '××××× ××¢×××× ×××תר (_top)',
+ targetSelf : '×××ª× ×××× (_self)',
+ targetParent : '×××× ××× (_parent)',
+ langDirLTR : 'ש××× ××××× (LTR)',
+ langDirRTL : '×××× ×ש××× (RTL)',
+ styles : 'ס×× ××',
+ cssClasses : '×××ק×ת ××××× ×ת ס×× ××',
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, ×× ××××</span>'
+ },
+
+ contextmenu :
+ {
+ options : '×פשר×××ת תפר×× ××קשר'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : '××ספת ×ª× ×××××',
+ title : '×××רת ×ª× ×××××',
+ options : '×פשר×××ת ת×××× ×××××××'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : '××ספת/ער××ת ק×ש×ר',
+ other : '<××ר>',
+ menu : '××פ××× × ×§×ש×ר',
+ title : 'ק×ש×ר',
+ info : '××××¢ ×¢× ×ק×ש×ר',
+ target : '××ר×',
+ upload : '××¢×××',
+ advanced : '×פשר×××ת ×תק×××ת',
+ type : 'ס×× ×§×ש×ר',
+ toUrl : '×ת××ת (URL)',
+ toAnchor : '×¢××× ××¢××× ××',
+ toEmail : '×××"×',
+ targetFrame : '<×ס×רת>',
+ targetPopup : '<×××× ×§×פץ>',
+ targetFrameName : '×©× ×ס×רת ×××¢×',
+ targetPopupName : '×©× ××××× ×ק×פץ',
+ popupFeatures : 'ת××× ×ת ××××× ×ק×פץ',
+ popupResizable : 'ש×× ×× ××××',
+ popupStatusBar : 'סר×× ×××××',
+ popupLocationBar: 'סר×× ×ת××ת',
+ popupToolbar : 'סר×× ×××××',
+ popupMenuBar : 'סר×× ×ª×¤×¨××',
+ popupFullScreen : '××¡× ××× (IE)',
+ popupScrollBars : '× ××ª× ××××××',
+ popupDependent : 'ת××× (Netscape)',
+ popupWidth : 'ר×××',
+ popupLeft : '××ק×× ×¦× ×©×××',
+ popupHeight : '××××',
+ popupTop : '××ק×× ×¦× ×¢××××',
+ id : '××××× (ID)',
+ langDir : '××××× ×©×¤×',
+ langDirLTR : 'ש××× ××××× (LTR)',
+ langDirRTL : '×××× ×ש××× (RTL)',
+ acccessKey : '×קש ××ש×',
+ name : 'ש×',
+ langCode : 'ק×× ×©×¤×',
+ tabIndex : '×ספר ×××',
+ advisoryTitle : '××תרת ××צעת',
+ advisoryContentType : 'Content Type ××צע',
+ cssClasses : '×××××× ×ת ×¢×צ×× ×§××צ×ת',
+ charset : 'ק×××× ××ש×× ××ק×שר',
+ styles : 'ס×× ××',
+ selectAnchor : '×××רת ×¢×××',
+ anchorName : 'עפ"× ×©× ××¢×××',
+ anchorId : 'עפ"× ××××× (ID) ××××× ×',
+ emailAddress : '×ת××ת ××××"×',
+ emailSubject : '× ××©× ×××××¢×',
+ emailBody : '×××£ ×××××¢×',
+ noAnchors : '(××× ×¢××× ×× ×××× ×× ×××£)',
+ noUrl : '×ש ××ק××× ×ת ×ת××ת ×ק×ש×ר (URL)',
+ noEmail : '×ש ××ק××× ×ת ×ת××ת ××××"×'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : '××ספת/ער××ת × ×§××ת ×¢××××',
+ menu : '××פ××× × × ×§××ת ×¢××××',
+ title : '××פ××× × × ×§××ת ×¢××××',
+ name : '×©× ×× ×§××ת ×¢××××',
+ errorName : '×ש ××ק××× ×©× ×× ×§××ת ×¢××××'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'ת××× ×ת רש××× ×××ספרת',
+ bulletedTitle : 'ת××× ×ת רש××ת ת××××××',
+ type : 'ס××',
+ start : 'ת×××ת ×ספ×ר',
+ validateStartNumber :'ש×× ×ª×××ת ××ספ×ר ×××× ××××× ×ספר ש××.',
+ circle : '×¢×××× ×¨×ק',
+ disc : '×¢×××× ×××',
+ square : 'ר××××¢',
+ none : '×××',
+ notset : '<×× × ×§××¢>',
+ armenian : 'ספר×ת ×ר×× ××ת',
+ georgian : 'ספר×ת ××××ר×××ת (an, ban, gan ×××\')',
+ lowerRoman : 'ספ××¨× ×¨×××ת ×××ת××ת ק×× ×ת (i, ii, iii, iv, v ×××\')',
+ upperRoman : 'ספ××¨× ×¨××××ת ×××ת××ת ×××××ת (I, II, III, IV, V ×××\')',
+ lowerAlpha : '××ת××ת ×× ××××ת ק×× ×ת (a, b, c, d, e ×××\')',
+ upperAlpha : '××ת××ת ×× ××××ת ×××××ת (A, B, C, D, E ×××\')',
+ lowerGreek : '××ת××ת ×××× ××ת ק×× ×ת (alpha, beta, gamma ×××\')',
+ decimal : 'ספר×ת (1, 2, 3 ×××\')',
+ decimalLeadingZero : 'ספר×ת ×¢× 0 ××ת××× (01, 02, 03 ×××\')'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : '××פ×ש ××××פ×',
+ find : '××פ×ש',
+ replace : '×××פ×',
+ findWhat : '××פ×ש ××ר××ת:',
+ replaceWith : '××××¤× ×××ר××ת:',
+ notFoundMsg : '×××§×¡× ××××קש ×× × ×צ×.',
+ matchCase : '×××× × ××× ××ת××ת רש××ת ×ק×× ×ת (Case)',
+ matchWord : '×ת××× ××××× ×××××',
+ matchCyclic : '×ת××× ××××ר×ת',
+ replaceAll : '××××¤× ××× ××¢×××',
+ replaceSuccessMsg : '%1 ×קס××× ××××פ×.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : '××××',
+ title : '××פ××× × ××××',
+ menu : '××פ××× × ××××',
+ deleteTable : '××ק ××××',
+ rows : 'ש×ר×ת',
+ columns : '×¢××××ת',
+ border : '×××× ×ס×רת',
+ align : '××ש×ר',
+ alignLeft : 'ש×××',
+ alignCenter : '×ר××',
+ alignRight : '××××',
+ width : 'ר×××',
+ widthPx : 'פ×קס×××',
+ widthPc : '××××',
+ widthUnit : '××××ת ר×××',
+ height : '××××',
+ cellSpace : '×ר××× ×ª×',
+ cellPad : 'ר×פ×× ×ª×',
+ caption : '××ת××',
+ summary : 'תקצ×ר',
+ headers : '××תר×ת',
+ headersNone : '×××',
+ headersColumn : '×¢×××× ×¨×ש×× ×',
+ headersRow : 'ש××¨× ×¨×ש×× ×',
+ headersBoth : '×©× ×××',
+ invalidRows : 'ש×× ×ספר ×ש×ר×ת ×××× ××××ת ×ספר ×××× × 0.',
+ invalidCols : 'ש×× ×ספר ××¢××××ת ×××× ××××ת ×ספר ×××× × 0.',
+ invalidBorder : 'ש×× ×××× ××ס×רת ×××× ××××ת ×ספר.',
+ invalidWidth : 'ש×× ×¨××× ××××× ×××× ××××ת ×ספר.',
+ invalidHeight : 'ש×× ×××× ××××× ×××× ××××ת ×ספר.',
+ invalidCellSpacing : 'ש×× ×¨×××× ×ת××× ×××× ××××ת ×ספר.',
+ invalidCellPadding : 'ש×× ×¨×פ×× ×ת××× ×××× ××××ת ×ספר.',
+
+ cell :
+ {
+ menu : '××פ××× × ×ª×',
+ insertBefore : '××ספת ×ª× ××¤× ×',
+ insertAfter : '××ספת ×ª× ××ר×',
+ deleteCell : '×××קת ת×××',
+ merge : '××××× ×ª×××',
+ mergeRight : '××× ×××× ×',
+ mergeDown : '××× ××××',
+ splitHorizontal : 'פ×צ×× ×ª× ××פק×ת',
+ splitVertical : 'פ×צ×× ×ª× ×× ××ת',
+ title : 'ת××× ×ת ×ת×',
+ cellType : 'ס×× ×ת×',
+ rowSpan : '×ת××ת ×ש×ר×ת',
+ colSpan : '×ת××ת ×ת×××',
+ wordWrap : '×× ×עת ×××שת ש×ר×ת',
+ hAlign : '××ש×ר ××פק×',
+ vAlign : '××ש×ר ×× ××',
+ alignTop : '×××¢××',
+ alignMiddle : '×ר××',
+ alignBottom : '××××',
+ alignBaseline : 'ש×רת ×ס×ס',
+ bgColor : 'צ××¢ רקע',
+ borderColor : 'צ××¢ ×ס×רת',
+ data : '××××¢',
+ header : '××תרת',
+ yes : '××',
+ no : '××',
+ invalidWidth : 'ש×× ×¨××× ××ª× ×××× ××××ת ×ספר.',
+ invalidHeight : 'ש×× ×××× ××ª× ×××× ××××ת ×ספר.',
+ invalidRowSpan : 'ש×× ×ת××ת ×ש×ר×ת ×××× ××××ת ×ספר ש××.',
+ invalidColSpan : 'ש×× ×ת××ת ××¢××××ת ×××× ××××ת ×ספר ש××.',
+ chooseColor : '××ר'
+ },
+
+ row :
+ {
+ menu : 'ש×ר×',
+ insertBefore : '××ספת ש××¨× ××¤× ×',
+ insertAfter : '××ספת ש××¨× ××ר×',
+ deleteRow : '×××קת ש×ר×ת'
+ },
+
+ column :
+ {
+ menu : '×¢××××',
+ insertBefore : '××ספת ×¢×××× ××¤× ×',
+ insertAfter : '××ספת ×¢×××× ××ר×',
+ deleteColumn : '×××קת ×¢××××ת'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : '××פ××× × ×פת×ר',
+ text : '××§×¡× (ער×)',
+ type : 'ס××',
+ typeBtn : '×פת×ר',
+ typeSbm : 'ש××××',
+ typeRst : '××פ×ס'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : '××פ××× × ×ª××ת ס××××',
+ radioTitle : '××פ××× × ×××¦× ×פשר×××ת',
+ value : 'ער×',
+ selected : '×ס×××'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : '××פ×× × ××פס',
+ menu : '××פ×× × ××פס',
+ action : 'ש×× ××',
+ method : 'ס×× ×©××××',
+ encoding : 'ק××××'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : '××פ××× × ×©×× ×××ר×',
+ selectInfo : '××××¢',
+ opAvail : '×פשר×××ת ×××× ×ת',
+ value : 'ער×',
+ size : '××××',
+ lines : 'ש×ר×ת',
+ chkMulti : '××פש×ר ×××ר×ת ×ר×××ת',
+ opText : '×קס×',
+ opValue : 'ער×',
+ btnAdd : '××ספ×',
+ btnModify : 'ש×× ××',
+ btnUp : '×××¢××',
+ btnDown : '××××',
+ btnSetValue : 'ק×××¢× ××ר×רת ××××',
+ btnDelete : '×××ק×'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : '××פ××× × ××××ר ×קס×',
+ cols : '×¢××××ת',
+ rows : 'ש×ר×ת'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : '××פ××× × ×©×× ×קס×',
+ name : 'ש×',
+ value : 'ער×',
+ charWidth : 'ר××× ××¤× ×ª××××',
+ maxChars : '×קס×××× ×ª××××',
+ type : 'ס××',
+ typeText : '×קס×',
+ typePass : 'ס×ס××'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : '××פ×× × ×©×× ××××',
+ name : 'ש×',
+ value : 'ער×'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : '××פ××× × ×ת××× ×',
+ titleButton : '××פ×× × ×פת×ר ת××× ×',
+ menu : 'ת××× ×ת ×ת××× ×',
+ infoTab : '××××¢ ×¢× ×ת××× ×',
+ btnUpload : 'ש×××× ×שרת',
+ upload : '××¢×××',
+ alt : '××§×¡× ×××פ×',
+ width : 'ר×××',
+ height : '××××',
+ lockRatio : '× ×¢××ת ×××ס',
+ unlockRatio : '××××× × ×¢××ת ×××ס',
+ resetSize : '××פ×ס ×××××',
+ border : '×ס×רת',
+ hSpace : '×ר××× ××פק×',
+ vSpace : '×ר××× ×× ××',
+ align : '××ש×ר',
+ alignLeft : '×ש×××',
+ alignRight : '×××××',
+ alertUrl : '×ש ××ק××× ×ת ×ת××ת ×ת××× ×',
+ linkTab : 'ק×ש×ר',
+ button2Img : '××× ××פ×× ×ת ת××× ×ª ××פת×ר ×ת××× × ×¤×©×××?',
+ img2Button : '××× ××פ×× ×ת ×ת××× × ××פת×ר ת××× ×?',
+ urlMissing : '×ת××ת ×ת××× × ×סר×.',
+ validateWidth : 'ש×× ×ר××× ×××× ××××ת ×ספר ש××.',
+ validateHeight : 'ש×× ××××× ×××× ××××ת ×ספר ש××.',
+ validateBorder : 'ש×× ××ס×רת ×××× ××××ת ×ספר ש××.',
+ validateHSpace : 'ש×× ××ר××× ××××¤×§× ×××× ××××ת ×ספר ש××.',
+ validateVSpace : 'ש×× ××ר××× ××× ×× ×××× ××××ת ×ספר ש××.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : '××פ××× × ×¤××ש',
+ propertiesTab : '××פ××× ××',
+ title : '××פ×× × ×¤××ש',
+ chkPlay : '× ×××× ×××××××',
+ chkLoop : '×××××',
+ chkMenu : '×פשר תפר×× ×¤××ש',
+ chkFull : '×פשר ×××× ×××',
+ scale : '××××',
+ scaleAll : '××¦× ×××',
+ scaleNoBorder : '××× ×××××ת',
+ scaleFit : '×ת××× ××ש××ת',
+ access : '××שת סקר×פ×',
+ accessAlways : 'ת×××',
+ accessSameDomain: '×××××× ×××',
+ accessNever : '××£ פע×',
+ align : '××ש×ר',
+ alignLeft : '×ש×××',
+ alignAbsBottom : '×ת×ת×ת ×××ס×××××ת',
+ alignAbsMiddle : '×ר××× ××ס×××××',
+ alignBaseline : '××§× ×ת×ת×ת',
+ alignBottom : '×ת×ת×ת',
+ alignMiddle : '×××צע',
+ alignRight : '×××××',
+ alignTextTop : '×ר×ש ××קס×',
+ alignTop : '×××¢××',
+ quality : '××××ת',
+ qualityBest : '××¢×××',
+ qualityHigh : '×××××',
+ qualityAutoHigh : '××××× ×××××××ת',
+ qualityMedium : '×××צעת',
+ qualityAutoLow : '× ×××× ×××××××ת',
+ qualityLow : '× ××××',
+ windowModeWindow: '××××',
+ windowModeOpaque: '××××',
+ windowModeTransparent : 'שק××£',
+ windowMode : '××¦× ××××',
+ flashvars : '××©×ª× ×× ×פ××ש',
+ bgcolor : 'צ××¢ רקע',
+ width : 'ר×××',
+ height : '××××',
+ hSpace : '×ר××× ××פק×',
+ vSpace : '×ר××× ×× ××',
+ validateSrc : '×ש ××ק××× ×ת ×ת××ת סר××× ×פ××ש (URL)',
+ validateWidth : '×ר××× ×××× ××××ת ×ספר.',
+ validateHeight : '××××× ×××× ××××ת ×ספר.',
+ validateHSpace : '××ר××× ××××¤×§× ×××× ××××ת ×ספר.',
+ validateVSpace : '××ר××× ××× ×× ×××× ××××ת ×ספר.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : '×××קת ×××ת',
+ title : '×××קת ×××ת',
+ notAvailable : '×× × ××¦× ×©×ר×ת ××××.',
+ errorLoading : 'ש×××× ×××¢××ת ×ש×ר×ת: %s.',
+ notInDic : '×× × ××¦× ××××××',
+ changeTo : 'ש×× ×× ×',
+ btnIgnore : '×תע×××ת',
+ btnIgnoreAll : '×תע×××ת ××××',
+ btnReplace : '×××פ×',
+ btnReplaceAll : '×××פת ×××',
+ btnUndo : '×××ר×',
+ noSuggestions : '- ××× ×צע×ת -',
+ progress : '×××ק ××××ת ×ת×××× ×××ק×....',
+ noMispell : '×××ק×ת ×××ת ×סת××××: ×× × ×צ×× ×©××××ת ×ת××',
+ noChanges : '×××ק×ת ×××ת ×סת××××: ×× ×©×× ×ª× ××£ ××××',
+ oneChange : '×××ק×ת ×××ת ×סת××××: ש×× ×ª× ×××× ××ת',
+ manyChanges : '×××ק×ת ×××ת ×סת××××: %1 ××××× ×©×× ×',
+ ieSpellDownload : '×××ק ××××ת ×× ××תק×, ××× ×××ר×××?'
+ },
+
+ smiley :
+ {
+ toolbar : 'ס×××××',
+ title : '××ספת ס×××××',
+ options : '×פשר×××ת ס××××××'
+ },
+
+ elementsPath :
+ {
+ eleLabel : '×¢×¥ ××××× ×××',
+ eleTitle : '%1 ×××× ×'
+ },
+
+ numberedlist : 'רש××× ×××ספרת',
+ bulletedlist : 'רש××ת × ×§×××ת',
+ indent : '××××ת ××××',
+ outdent : '×ק×× ×ª ××××',
+
+ justify :
+ {
+ left : '××ש×ר ×ש×××',
+ center : '×ר×××',
+ right : '××ש×ר ×××××',
+ block : '××ש×ר ×ש×××××'
+ },
+
+ blockquote : '×××ק צ××××',
+
+ clipboard :
+ {
+ title : '×××ק×',
+ cutError : '×××ר×ת ×××××× ××פ××¤× ×©×× ×× ××פשר×ת ××¢××¨× ××צע פע×××ת ××××¨× ××××××××ת. ×ש ××שת×ש ××ק××ת ××©× ×× (Ctrl/Cmd+X).',
+ copyError : '×××ר×ת ×××××× ××פ××¤× ×©×× ×× ××פשר×ת ××¢××¨× ××צע פע×××ת ××¢×ª×§× ××××××××ת. ×ש ××שת×ש ××ק××ת ××©× ×× (Ctrl/Cmd+C).',
+ pasteMsg : '× × ×××××ק ×ת×× ×ק××¤×¡× ×××צע×ת (<b>Ctrl/Cmd+V</b>) ××××××¥ ×¢× <b>××ש×ר</b>.',
+ securityMsg : '×¢×§× ×××ר×ת ××××× ××פ×פ×, ×× × ××ª× ××שת ×× ××× ××××ר×× (Clipboard) ×צ××¨× ×ש×ר×. × × ×××××ק ש×× ××××× ××.',
+ pasteArea : '××××ר ×××ק×'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : '× ×¨×× ×××§×¡× ×©××××× ×ª× ×××××ק ×ק××¨× ×ק×××¥ ××ר×. ××× ×רצ×× × ×× ×§×ת ×××ª× ××¨× ××××ק×?',
+ toolbar : '××××§× ×-Word',
+ title : '××××§× ×-Word',
+ error : '×× × ××ª× ××× ×× ×§×ת ×ת ×××××¢ ××©× ×ª×§×× ×¤× ×××ת.'
+ },
+
+ pasteText :
+ {
+ button : '××××§× ×××§×¡× ×¤×©××',
+ title : '××××§× ×××§×¡× ×¤×©××'
+ },
+
+ templates :
+ {
+ button : 'ת×× ××ת',
+ title : 'ת×××ת ת×××',
+ options : '×פשר×××ת ×ת×× ××ת',
+ insertOption : '×××פת ת××× ××ש×',
+ selectPromptMsg : '×ש ××××ר ת×× ×ת ×פת××× ××¢×ר×.<br />×ת××× ××ק××¨× ×××ק:',
+ emptyListMsg : '(×× ×××××¨× ×ª×× ××ת)'
+ },
+
+ showBlocks : '×צ×ת ×××ק××',
+
+ stylesCombo :
+ {
+ label : 'ס×× ××',
+ panelTitle : 'ס×× ×× ×ת פ×ר××',
+ panelTitle1 : 'ס×× ×× ×ת ×××ק',
+ panelTitle2 : 'ס×× ×× ×ת רצף',
+ panelTitle3 : 'ס×× ×× ×ת ×××××ק×'
+ },
+
+ format :
+ {
+ label : '×¢×צ××',
+ panelTitle : '×¢×צ××',
+
+ tag_p : '× ×ר×××',
+ tag_pre : 'ק××',
+ tag_address : '×ת××ת',
+ tag_h1 : '××תרת',
+ tag_h2 : '××תרת 2',
+ tag_h3 : '××תרת 3',
+ tag_h4 : '××תרת 4',
+ tag_h5 : '××תרת 5',
+ tag_h6 : '××תרת 6',
+ tag_div : '× ×ר××× (DIV)'
+ },
+
+ div :
+ {
+ title : '×צ×רת ×××× (Div)',
+ toolbar : '×צ×רת ×××× (Div)',
+ cssClassInputLabel : '×××קת ×¢×צ××',
+ styleSelectLabel : 'ס×× ××',
+ IdInputLabel : '×××× (ID)',
+ languageCodeInputLabel : 'ק×× ×©×¤×',
+ inlineStyleInputLabel : 'ס×× ×× ×¤× ×××',
+ advisoryTitleInputLabel : '××תרת ××צעת',
+ langDirLabel : '××××× ×©×¤×',
+ langDirLTRLabel : 'ש××× ××××× (LTR)',
+ langDirRTLLabel : '×××× ×ש××× (RTL)',
+ edit : 'ער××ת ×××× (Div)',
+ remove : '×סרת ×××× (Div)'
+ },
+
+ font :
+ {
+ label : '××פ×',
+ voiceLabel : '××פ×',
+ panelTitle : '××פ×'
+ },
+
+ fontSize :
+ {
+ label : '××××',
+ voiceLabel : '××××',
+ panelTitle : '××××'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'צ××¢ ×קס×',
+ bgColorTitle : 'צ××¢ רקע',
+ panelTitle : 'צ××¢××',
+ auto : '×××××××',
+ more : 'צ××¢×× × ×ספ××...'
+ },
+
+ 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' : '×××'
+ },
+
+ scayt :
+ {
+ title : '×××קת ×××ת ×××× ×ת××× (SCAYT)',
+ opera_title : '×× ×××× ××פ××¤× ××פר×',
+ enable : '×פשר SCAYT',
+ disable : '××× SCAYT',
+ about : '××××ת SCAYT',
+ toggle : 'ש×× ×× SCAYT',
+ options : '×פשר×××ת',
+ langs : 'שפ×ת',
+ moreSuggestions : '×צע×ת × ×ספ×ת',
+ ignore : '×תע×××ת',
+ ignoreAll : '×תע×××ת ××××',
+ addWord : '××ספת ××××',
+ emptyDic : '×ש ××××ר ×××××.',
+
+ optionsTab : '×פשר×××ת',
+ allCaps : '×תע×× ×××××× ×©×× ××ת××ת××× ×××××ת',
+ ignoreDomainNames : '×תע×× ×ש××ת ×ת××',
+ mixedCase : '×תע×× ×××××× ×¢× ××ת××ת ×××××ת ×ק×× ×ת ××××',
+ mixedWithDigits : '×תע×× ×××××× ×¢× ×ספר××',
+
+ languagesTab : 'שפ×ת',
+
+ dictionariesTab : '×××××',
+ dic_field_name : '×©× ××××××',
+ dic_create : '×צ×ר×',
+ dic_restore : 'ש×××ר',
+ dic_delete : '×××ק×',
+ dic_rename : 'ש×× ×× ×©×',
+ dic_info : '××ת××× ××××× ××שת×ש ×××××¡× ××¢××××, ×× ×¢××××ת ××××××ת ××ק××. ××שר ×××××× ××××¢ ××××× ×× ××× ××× × ×××× ××ת×××¡× ××¢××××, ×××××× ×¦×¨×× ××ת×××¡× ××©×¨×ª× ×. ××©× ×× ×¢××× ×תת ×©× ××××××. ×× ××ר ×ש ×× ××××× ××××ס×, ×ש ×××× ×ס ×ת ש×× ××××××¥ ×¢× ×פת×ר ×ש×××ר.',
+
+ aboutTab : '××××ת'
+ },
+
+ about :
+ {
+ title : '××××ת CKEditor',
+ dlgTitle : '××××ת CKEditor',
+ moreInfo : '×××××¢ × ×סף ××§×¨× ×××ª×¨× ×:',
+ copy : 'Copyright © $1. ×× ××××××ת ש××ר×ת.'
+ },
+
+ maximize : '××××× ××קס××××',
+ minimize : '×ק×× × ×××× ××××',
+
+ fakeobjects :
+ {
+ anchor : '×¢×××',
+ flash : 'סר××× ×¤××ש',
+ div : 'ש××רת ××£',
+ unknown : '××××××§× ×× ××××¢'
+ },
+
+ resize : '×ש ××ר×ר ×××× ××©× ×ת ×ת ×××××',
+
+ colordialog :
+ {
+ title : '×××רת צ××¢',
+ options : '×פשר×××ת צ××¢',
+ highlight : 'ס××××',
+ selected : '×××ר×',
+ clear : '× ×ק××'
+ },
+
+ toolbarCollapse : '×××¢×ר סר×× ××××',
+ toolbarExpand : '×ר××ת סר×× ××××',
+
+ bidi :
+ {
+ ltr : '××××× ××§×¡× ×ש××× ××××× (LTR)',
+ rtl : '××××× ××§×¡× ××××× ×ש××× (RTL)'
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/hi.js b/devel/third-party/ckeditor/lang/hi.js
new file mode 100644
index 0000000..8959e10
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/hi.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Hindi language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['hi'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'सà¥à¤°à¥à¤¸',
+ newPage : 'नया पà¥à¤',
+ save : 'सà¥à¤µ',
+ preview : 'पà¥à¤°à¥à¤µà¥à¤¯à¥',
+ cut : 'à¤à¤',
+ copy : 'à¤à¥à¤ªà¥',
+ paste : 'पà¥à¤¸à¥à¤',
+ print : 'पà¥à¤°à¤¿à¤¨à¥à¤',
+ underline : 'रà¥à¤à¤¾à¤à¤à¤£',
+ bold : 'बà¥à¤²à¥à¤¡',
+ italic : 'à¤à¤à¥à¤²à¤¿à¤',
+ selectAll : 'सब सà¥
लà¥
à¤à¥à¤ à¤à¤°à¥à¤',
+ removeFormat : 'à¥à¥à¤°à¥à¤®à¥à¤ हà¤à¤¾à¤¯à¥à¤',
+ strike : 'सà¥à¤à¥à¤°à¤¾à¤à¤ थà¥à¤°à¥',
+ subscript : 'à¤
धà¥à¤²à¥à¤',
+ superscript : 'à¤
à¤à¤¿à¤²à¥à¤',
+ horizontalrule : 'हà¥à¤°à¤¿à¥à¥à¤¨à¥à¤à¤² रà¥à¤à¤¾ à¤à¤¨à¥à¤¸à¤°à¥à¤ à¤à¤°à¥à¤',
+ pagebreak : 'पà¥à¤ बà¥à¤°à¥à¤ à¤à¤¨à¥à¤¸à¤°à¥à¤à¥ à¤à¤°à¥à¤',
+ unlink : 'लिà¤à¤ हà¤à¤¾à¤¯à¥à¤',
+ undo : 'à¤
नà¥à¤¡à¥',
+ redo : 'रà¥à¤¡à¥',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'सरà¥à¤µà¤° बà¥à¤°à¤¾à¤à¥ à¤à¤°à¥à¤',
+ url : 'URL',
+ protocol : 'पà¥à¤°à¥à¤à¥à¤à¥à¤²',
+ upload : 'à¤
पलà¥à¤¡',
+ uploadSubmit : 'à¤à¤¸à¥ सरà¥à¤µà¤° à¤à¥ à¤à¥à¤à¥à¤',
+ image : 'तसà¥à¤µà¥à¤°',
+ flash : 'à¥à¥à¤²à¥à¤¶',
+ form : 'à¥à¥à¤°à¥à¤®',
+ checkbox : 'à¤à¥
ठबà¥à¤à¥à¤¸',
+ radio : 'रà¥à¤¡à¤¿à¤ बà¤à¤¨',
+ textField : 'à¤à¥à¤à¥à¤¸à¥à¤ à¥à¥à¤²à¥à¤¡',
+ textarea : 'à¤à¥à¤à¥à¤¸à¥à¤ à¤à¤°à¤¿à¤¯à¤¾',
+ hiddenField : 'à¤à¥à¤ªà¥à¤¤ à¥à¥à¤²à¥à¤¡',
+ button : 'बà¤à¤¨',
+ select : 'à¤à¥à¤¨à¤¾à¤µ à¥à¥à¤²à¥à¤¡',
+ imageButton : 'तसà¥à¤µà¥à¤° बà¤à¤¨',
+ notSet : '<सà¥
ठनहà¥à¤>',
+ id : 'Id',
+ name : 'नाम',
+ langDir : 'à¤à¤¾à¤·à¤¾ लिà¤à¤¨à¥ à¤à¥ दिशा',
+ langDirLtr : 'बायà¥à¤ सॠदायà¥à¤ (LTR)',
+ langDirRtl : 'दायà¥à¤ सॠबायà¥à¤ (RTL)',
+ langCode : 'à¤à¤¾à¤·à¤¾ à¤à¥à¤¡',
+ longDescr : 'à¤
धिठविवरण à¤à¥ लिठURL',
+ cssClass : 'सà¥à¤à¤¾à¤à¤²-शà¥à¤ à¤à¥à¤²à¤¾à¤¸',
+ advisoryTitle : 'परामरà¥à¤¶ शà¥à¤°à¥à¤¶à¤',
+ cssStyle : 'सà¥à¤à¤¾à¤à¤²',
+ ok : 'ठà¥à¤ हà¥',
+ cancel : 'रदà¥à¤¦ à¤à¤°à¥à¤',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'सामानà¥à¤¯',
+ advancedTab : 'à¤à¤¡à¥à¤µà¤¾à¤¨à¥à¤¸à¥à¤¡',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'विशà¥à¤· à¤à¤°à¥
à¤à¥à¤à¤° à¤à¤¨à¥à¤¸à¤°à¥à¤ à¤à¤°à¥à¤',
+ title : 'विशà¥à¤· à¤à¤°à¥
à¤à¥à¤à¤° à¤à¥à¤¨à¥à¤',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'लिà¤à¤ à¤à¤¨à¥à¤¸à¤°à¥à¤/सà¤à¤ªà¤¾à¤¦à¤¨',
+ other : '<à¤
नà¥à¤¯>',
+ menu : 'लिà¤à¤ सà¤à¤ªà¤¾à¤¦à¤¨',
+ title : 'लिà¤à¤',
+ info : 'लिà¤à¤ ',
+ target : 'à¤à¤¾à¤°à¥à¤à¥à¤',
+ upload : 'à¤
पलà¥à¤¡',
+ advanced : 'à¤à¤¡à¥à¤µà¤¾à¤¨à¥à¤¸à¥à¤¡',
+ type : 'लिà¤à¤ पà¥à¤°à¤à¤¾à¤°',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'à¤à¤¸ पà¥à¤ à¤à¤¾ à¤à¤à¤à¤°',
+ toEmail : 'à¤-मà¥à¤²',
+ targetFrame : '<à¥à¥à¤°à¥à¤®>',
+ targetPopup : '<पà¥à¤ª-à¤
प विनà¥à¤¡à¥>',
+ targetFrameName : 'à¤à¤¾à¤°à¥à¤à¥à¤ à¥à¥à¤°à¥à¤® à¤à¤¾ नाम',
+ targetPopupName : 'पà¥à¤ª-à¤
प विनà¥à¤¡à¥ à¤à¤¾ नाम',
+ popupFeatures : 'पà¥à¤ª-à¤
प विनà¥à¤¡à¥ à¥à¥à¤à¤°à¥à¤¸',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'सà¥à¤à¥à¤à¤¸ बार',
+ popupLocationBar: 'लà¥à¤à¥à¤¶à¤¨ बार',
+ popupToolbar : 'à¤à¥à¤² बार',
+ popupMenuBar : 'मà¥
नà¥à¤¯à¥ बार',
+ popupFullScreen : 'à¥à¥à¤² सà¥à¤à¥à¤°à¥à¤¨ (IE)',
+ popupScrollBars : 'सà¥à¤à¥à¤°à¥à¤² बार',
+ popupDependent : 'डिपà¥à¤¨à¥à¤¡à¥
नà¥à¤ (Netscape)',
+ popupWidth : 'à¤à¥à¥à¤¾à¤',
+ popupLeft : 'बायà¥à¤ तरफ',
+ popupHeight : 'à¤à¤à¤à¤¾à¤',
+ popupTop : 'दायà¥à¤ तरफ',
+ id : 'Id', // MISSING
+ langDir : 'à¤à¤¾à¤·à¤¾ लिà¤à¤¨à¥ à¤à¥ दिशा',
+ langDirLTR : 'बायà¥à¤ सॠदायà¥à¤ (LTR)',
+ langDirRTL : 'दायà¥à¤ सॠबायà¥à¤ (RTL)',
+ acccessKey : 'à¤à¤à¥à¤¸à¥
स à¤à¥',
+ name : 'नाम',
+ langCode : 'à¤à¤¾à¤·à¤¾ लिà¤à¤¨à¥ à¤à¥ दिशा',
+ tabIndex : 'à¤à¥à¤¬ à¤à¤¨à¥à¤¡à¥
à¤à¥à¤¸',
+ advisoryTitle : 'परामरà¥à¤¶ शà¥à¤°à¥à¤¶à¤',
+ advisoryContentType : 'परामरà¥à¤¶ à¤à¤¨à¥à¤à¥
नà¥à¤ पà¥à¤°à¤à¤¾à¤°',
+ cssClasses : 'सà¥à¤à¤¾à¤à¤²-शà¥à¤ à¤à¥à¤²à¤¾à¤¸',
+ charset : 'लिà¤à¤ रिसà¥à¤°à¥à¤¸ à¤à¤°à¥
à¤à¥à¤à¤° सà¥
à¤',
+ styles : 'सà¥à¤à¤¾à¤à¤²',
+ selectAnchor : 'à¤à¤à¤à¤° à¤à¥à¤¨à¥à¤',
+ anchorName : 'à¤à¤à¤à¤° नाम सà¥',
+ anchorId : 'à¤à¤²à¥à¤®à¥
नà¥à¤ Id सà¥',
+ emailAddress : 'à¤-मà¥à¤² पता',
+ emailSubject : 'सà¤à¤¦à¥à¤¶ विषय',
+ emailBody : 'सà¤à¤¦à¥à¤¶',
+ noAnchors : '(डà¥à¤à¥à¤¯à¥à¤®à¥
नà¥à¤ मà¥à¤ à¤à¤à¤à¤°à¥à¤¸ à¤à¥ सà¤à¤à¥à¤¯à¤¾)',
+ noUrl : 'लिà¤à¤ URL à¤à¤¾à¤à¤ª à¤à¤°à¥à¤',
+ noEmail : 'à¤-मà¥à¤² पता à¤à¤¾à¤à¤ª à¤à¤°à¥à¤'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'à¤à¤à¤à¤° à¤à¤¨à¥à¤¸à¤°à¥à¤/सà¤à¤ªà¤¾à¤¦à¤¨',
+ menu : 'à¤à¤à¤à¤° पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ title : 'à¤à¤à¤à¤° पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ name : 'à¤à¤à¤à¤° à¤à¤¾ नाम',
+ errorName : 'à¤à¤à¤à¤° à¤à¤¾ नाम à¤à¤¾à¤à¤ª à¤à¤°à¥à¤'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'à¤à¥à¤à¥à¤ à¤à¤° बदलà¥à¤',
+ find : 'à¤à¥à¤à¥à¤',
+ replace : 'रà¥à¤ªà¥à¤²à¥à¤¸',
+ findWhat : 'यह à¤à¥à¤à¥à¤:',
+ replaceWith : 'à¤à¤¸à¤¸à¥ रिपà¥à¤²à¥à¤¸ à¤à¤°à¥à¤:',
+ notFoundMsg : 'à¤à¤ªà¤à¥ दà¥à¤µà¤¾à¤°à¤¾ दिया à¤à¤¯à¤¾ à¤à¥à¤à¥à¤¸à¥à¤ नहà¥à¤ मिला',
+ matchCase : 'à¤à¥à¤¸ मिलायà¥à¤',
+ matchWord : 'पà¥à¤°à¤¾ शबà¥à¤¦ मिलायà¥à¤',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'सà¤à¥ रिपà¥à¤²à¥à¤¸ à¤à¤°à¥à¤',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'à¤à¥à¤¬à¤²',
+ title : 'à¤à¥à¤¬à¤² पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ menu : 'à¤à¥à¤¬à¤² पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ deleteTable : 'à¤à¥à¤¬à¤² डिलà¥à¤ à¤à¤°à¥à¤',
+ rows : 'पà¤à¤à¥à¤¤à¤¿à¤¯à¤¾à¤',
+ columns : 'à¤à¤¾à¤²à¤®',
+ border : 'बà¥à¤°à¥à¤¡à¤° साà¤à¥',
+ align : 'à¤à¤²à¤¾à¤à¤¨à¥à¤®à¥
नà¥à¤',
+ alignLeft : 'दायà¥à¤',
+ alignCenter : 'बà¥à¤ मà¥à¤',
+ alignRight : 'बायà¥à¤',
+ width : 'à¤à¥à¥à¤¾à¤',
+ widthPx : 'पिà¤à¥à¤¸à¥à¤²',
+ widthPc : 'पà¥à¤°à¤¤à¤¿à¤¶à¤¤',
+ widthUnit : 'width unit', // MISSING
+ height : 'à¤à¤à¤à¤¾à¤',
+ cellSpace : 'सà¥à¤² à¤
à¤à¤¤à¤°',
+ cellPad : 'सà¥à¤² पà¥à¤¡à¤¿à¤à¤',
+ caption : 'शà¥à¤°à¥à¤·à¤',
+ summary : 'साराà¤à¤¶',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'à¤à¤¾à¤¨à¤¾',
+ insertBefore : 'पहलॠसà¥à¤² डालà¥à¤',
+ insertAfter : 'बाद मà¥à¤ सà¥à¤² डालà¥à¤',
+ deleteCell : 'सà¥à¤² डिलà¥à¤ à¤à¤°à¥à¤',
+ merge : 'सà¥à¤² मिलायà¥à¤',
+ mergeRight : 'बाà¤à¤¯à¤¾ विलय',
+ mergeDown : 'नà¥à¤à¥ विलय à¤à¤°à¥à¤',
+ splitHorizontal : 'सà¥à¤² à¤à¥ à¤à¥à¤·à¥à¤¤à¤¿à¤ सà¥à¤¥à¤¿à¤¤à¤¿ मà¥à¤ विà¤à¤¾à¤à¤¿à¤¤ à¤à¤°à¥à¤',
+ splitVertical : 'सà¥à¤² à¤à¥ लमà¥à¤¬à¤¾à¤à¤¾à¤° मà¥à¤ विà¤à¤¾à¤à¤¿à¤¤ à¤à¤°à¥à¤',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'पà¤à¤à¥à¤¤à¤¿',
+ insertBefore : 'पहलॠपà¤à¤à¥à¤¤à¤¿ डालà¥à¤',
+ insertAfter : 'बाद मà¥à¤ पà¤à¤à¥à¤¤à¤¿ डालà¥à¤',
+ deleteRow : 'पà¤à¤à¥à¤¤à¤¿à¤¯à¤¾à¤ डिलà¥à¤ à¤à¤°à¥à¤'
+ },
+
+ column :
+ {
+ menu : 'à¤à¤¾à¤²à¤®',
+ insertBefore : 'पहलॠà¤à¤¾à¤²à¤® डालà¥à¤',
+ insertAfter : 'बाद मà¥à¤ à¤à¤¾à¤²à¤® डालà¥à¤',
+ deleteColumn : 'à¤à¤¾à¤²à¤® डिलà¥à¤ à¤à¤°à¥à¤'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'बà¤à¤¨ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ text : 'à¤à¥à¤à¥à¤¸à¥à¤ (वà¥à¤²à¥à¤¯à¥)',
+ type : 'पà¥à¤°à¤à¤¾à¤°',
+ typeBtn : 'बà¤à¤¨',
+ typeSbm : 'सबà¥à¤®à¤¿à¤',
+ typeRst : 'रिसà¥à¤'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'à¤à¥
ठबà¥à¤à¥à¤¸ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ radioTitle : 'रà¥à¤¡à¤¿à¤ बà¤à¤¨ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ value : 'वà¥à¤²à¥à¤¯à¥',
+ selected : 'सà¥
लà¥
à¤à¥à¤à¥
ड'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'à¥à¥à¤°à¥à¤® पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ menu : 'à¥à¥à¤°à¥à¤® पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ action : 'à¤à¥à¤°à¤¿à¤¯à¤¾',
+ method : 'तरà¥à¤à¤¾',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'à¤à¥à¤¨à¤¾à¤µ à¥à¥à¤²à¥à¤¡ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ selectInfo : 'सà¥à¤à¤¨à¤¾',
+ opAvail : 'à¤à¤ªà¤²à¤¬à¥à¤§ विà¤à¤²à¥à¤ª',
+ value : 'वà¥à¤²à¥à¤¯à¥',
+ size : 'साà¤à¥',
+ lines : 'पà¤à¤à¥à¤¤à¤¿à¤¯à¤¾à¤',
+ chkMulti : 'à¤à¤ सॠà¤à¥à¤¯à¤¾à¤¦à¤¾ विà¤à¤²à¥à¤ª à¤à¥à¤¨à¤¨à¥ दà¥à¤',
+ opText : 'à¤à¥à¤à¥à¤¸à¥à¤',
+ opValue : 'वà¥à¤²à¥à¤¯à¥',
+ btnAdd : 'à¤à¥à¥à¥à¤',
+ btnModify : 'बदलà¥à¤',
+ btnUp : 'à¤à¤ªà¤°',
+ btnDown : 'नà¥à¤à¥',
+ btnSetValue : 'à¤à¥à¤¨à¥ à¤à¤ वà¥à¤²à¥à¤¯à¥ सà¥
ठà¤à¤°à¥à¤',
+ btnDelete : 'डिलà¥à¤'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'à¤à¥à¤à¥à¤¸à¥à¤¤ à¤à¤°à¤¿à¤¯à¤¾ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ cols : 'à¤à¤¾à¤²à¤®',
+ rows : 'पà¤à¤à¥à¤¤à¤¿à¤¯à¤¾à¤'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'à¤à¥à¤à¥à¤¸à¥à¤ à¥à¥à¤²à¥à¤¡ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ name : 'नाम',
+ value : 'वà¥à¤²à¥à¤¯à¥',
+ charWidth : 'à¤à¤°à¥
à¤à¥à¤à¤° à¤à¥ à¤à¥à¥à¤¾à¤',
+ maxChars : 'à¤
धिà¤à¤¤à¤® à¤à¤°à¥
à¤à¥à¤à¤°',
+ type : 'à¤à¤¾à¤à¤ª',
+ typeText : 'à¤à¥à¤à¥à¤¸à¥à¤',
+ typePass : 'पासà¥à¤µà¤°à¥à¤¡'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'à¤à¥à¤ªà¥à¤¤ à¥à¥à¤²à¥à¤¡ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ name : 'नाम',
+ value : 'वà¥à¤²à¥à¤¯à¥'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'तसà¥à¤µà¥à¤° पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ titleButton : 'तसà¥à¤µà¥à¤° बà¤à¤¨ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ menu : 'तसà¥à¤µà¥à¤° पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ infoTab : 'तसà¥à¤µà¥à¤° à¤à¥ à¤à¤¾à¤¨à¤à¤¾à¤°à¥',
+ btnUpload : 'à¤à¤¸à¥ सरà¥à¤µà¤° à¤à¥ à¤à¥à¤à¥à¤',
+ upload : 'à¤
पलà¥à¤¡',
+ alt : 'वà¥à¤à¤²à¥à¤ªà¤¿à¤ à¤à¥à¤à¥à¤¸à¥à¤',
+ width : 'à¤à¥à¥à¤¾à¤',
+ height : 'à¤à¤à¤à¤¾à¤',
+ lockRatio : 'लà¥à¤ à¤
नà¥à¤ªà¤¾à¤¤',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'रà¥à¤¸à¥
ठसाà¤à¥',
+ border : 'बà¥à¤°à¥à¤¡à¤°',
+ hSpace : 'हà¥à¤°à¤¿à¥à¥à¤¨à¥à¤à¤² सà¥à¤ªà¥à¤¸',
+ vSpace : 'वरà¥à¤à¤¿à¤à¤² सà¥à¤ªà¥à¤¸',
+ align : 'à¤à¤²à¤¾à¤à¤¨',
+ alignLeft : 'दायà¥à¤',
+ alignRight : 'दायà¥à¤',
+ alertUrl : 'तसà¥à¤µà¥à¤° à¤à¤¾ URL à¤à¤¾à¤à¤ª à¤à¤°à¥à¤ ',
+ linkTab : 'लिà¤à¤',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'à¥à¥à¤²à¥à¤¶ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ propertiesTab : 'Properties', // MISSING
+ title : 'à¥à¥à¤²à¥à¤¶ पà¥à¤°à¥à¤ªà¤°à¥à¤à¥à¥',
+ chkPlay : 'à¤à¤à¥ पà¥à¤²à¥',
+ chkLoop : 'लà¥à¤ª',
+ chkMenu : 'à¥à¥à¤²à¥à¤¶ मà¥
नà¥à¤¯à¥ à¤à¤¾ पà¥à¤°à¤¯à¥à¤ à¤à¤°à¥à¤',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'सà¥à¤à¥à¤²',
+ scaleAll : 'सà¤à¥ दिà¤à¤¾à¤¯à¥à¤',
+ scaleNoBorder : 'à¤à¥à¤ बà¥à¤°à¥à¤¡à¤° नहà¥à¤',
+ scaleFit : 'बिलà¥à¤à¥à¤² à¥à¤¿à¤',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'à¤à¤²à¤¾à¤à¤¨',
+ alignLeft : 'दायà¥à¤',
+ alignAbsBottom : 'Abs नà¥à¤à¥',
+ alignAbsMiddle : 'Abs à¤à¤ªà¤°',
+ alignBaseline : 'मà¥à¤² रà¥à¤à¤¾',
+ alignBottom : 'नà¥à¤à¥',
+ alignMiddle : 'मधà¥à¤¯',
+ alignRight : 'दायà¥à¤',
+ alignTextTop : 'à¤à¥à¤à¥à¤¸à¥à¤ à¤à¤ªà¤°',
+ alignTop : 'à¤à¤ªà¤°',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'बà¥à¤à¥à¤à¥à¤°à¤¾à¤à¤¨à¥à¤¡ रà¤à¤',
+ width : 'à¤à¥à¥à¤¾à¤',
+ height : 'à¤à¤à¤à¤¾à¤',
+ hSpace : 'हà¥à¤°à¤¿à¥à¥à¤¨à¥à¤à¤² सà¥à¤ªà¥à¤¸',
+ vSpace : 'वरà¥à¤à¤¿à¤à¤² सà¥à¤ªà¥à¤¸',
+ validateSrc : 'लिà¤à¤ URL à¤à¤¾à¤à¤ª à¤à¤°à¥à¤',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'वरà¥à¤¤à¤¨à¥ (सà¥à¤ªà¥à¤²à¤¿à¤à¤) à¤à¤¾à¤à¤',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'शबà¥à¤¦à¤à¥à¤¶ मà¥à¤ नहà¥à¤',
+ changeTo : 'à¤à¤¸à¤®à¥à¤ बदलà¥à¤',
+ btnIgnore : 'à¤à¤à¥à¤¨à¥à¤°',
+ btnIgnoreAll : 'सà¤à¥ à¤à¤à¥à¤¨à¥à¤° à¤à¤°à¥à¤',
+ btnReplace : 'रिपà¥à¤²à¥à¤¸',
+ btnReplaceAll : 'सà¤à¥ रिपà¥à¤²à¥à¤¸ à¤à¤°à¥à¤',
+ btnUndo : 'à¤
नà¥à¤¡à¥',
+ noSuggestions : '- à¤à¥à¤ सà¥à¤à¤¾à¤µ नहà¥à¤ -',
+ progress : 'वरà¥à¤¤à¤¨à¥ à¤à¥ à¤à¤¾à¤à¤ (सà¥à¤ªà¥
ल-à¤à¥
à¤) à¤à¤¾à¤°à¥ हà¥...',
+ noMispell : 'वरà¥à¤¤à¤¨à¥ à¤à¥ à¤à¤¾à¤à¤ : à¤à¥à¤ à¤à¤²à¤¤ वरà¥à¤¤à¤¨à¥ (सà¥à¤ªà¥
लिà¤à¤) नहà¥à¤ पाठà¤à¤',
+ noChanges : 'वरà¥à¤¤à¤¨à¥ à¤à¥ à¤à¤¾à¤à¤ :à¤à¥à¤ शबà¥à¤¦ नहà¥à¤ बदला à¤à¤¯à¤¾',
+ oneChange : 'वरà¥à¤¤à¤¨à¥ à¤à¥ à¤à¤¾à¤à¤ : à¤à¤ शबà¥à¤¦ बदला à¤à¤¯à¤¾',
+ manyChanges : 'वरà¥à¤¤à¤¨à¥ à¤à¥ à¤à¤¾à¤à¤ : %1 शबà¥à¤¦ बदलॠà¤à¤¯à¥',
+ ieSpellDownload : 'सà¥à¤ªà¥
ल-à¤à¥
à¤à¤° à¤à¤¨à¥à¤¸à¥à¤à¤¾à¤² नहà¥à¤ à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾ हà¥à¥¤ à¤à¥à¤¯à¤¾ à¤à¤ª à¤à¤¸à¥ डाà¤à¤¨à¤²à¥à¤¡ à¤à¤°à¤¨à¤¾ à¤à¤¾à¤¹à¥à¤à¤à¥?'
+ },
+
+ smiley :
+ {
+ toolbar : 'सà¥à¤®à¤¾à¤à¤²à¥',
+ title : 'सà¥à¤®à¤¾à¤à¤²à¥ à¤à¤¨à¥à¤¸à¤°à¥à¤ à¤à¤°à¥à¤',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'à¤
à¤à¤à¥à¤¯ सà¥à¤à¥',
+ bulletedlist : 'बà¥à¤²à¥
ठसà¥à¤à¥',
+ indent : 'à¤à¤¨à¥à¤¡à¥
नà¥à¤ बà¥à¤¾à¤¯à¥à¤',
+ outdent : 'à¤à¤¨à¥à¤¡à¥
नà¥à¤ à¤à¤® à¤à¤°à¥à¤',
+
+ justify :
+ {
+ left : 'बायà¥à¤ तरफ',
+ center : 'बà¥à¤ मà¥à¤',
+ right : 'दायà¥à¤ तरफ',
+ block : 'बà¥à¤²à¥à¤ à¤à¤¸à¥à¤à¥à¥à¤¾à¤'
+ },
+
+ blockquote : 'बà¥à¤²à¥à¤-à¤à¥à¤',
+
+ clipboard :
+ {
+ title : 'पà¥à¤¸à¥à¤',
+ cutError : 'à¤à¤ªà¤à¥ बà¥à¤°à¤¾à¤à¥à¤° à¤à¥ सà¥à¤°à¤à¥à¤·à¤¾ सà¥
à¤à¤¿à¤¨à¥à¤à¥à¤¸ नॠà¤à¤ à¤à¤°à¤¨à¥ à¤à¥ à¤
नà¥à¤®à¤¤à¤¿ नहà¥à¤ पà¥à¤°à¤¦à¤¾à¤¨ à¤à¥ हà¥à¥¤ (Ctrl/Cmd+X) à¤à¤¾ पà¥à¤°à¤¯à¥à¤ à¤à¤°à¥à¤à¥¤',
+ copyError : 'à¤à¤ªà¤à¥ बà¥à¤°à¤¾à¤à¤à¥à¤° à¤à¥ सà¥à¤°à¤à¥à¤·à¤¾ सà¥
à¤à¤¿à¤¨à¥à¤à¥à¤¸ नॠà¤à¥à¤ªà¥ à¤à¤°à¤¨à¥ à¤à¥ à¤
नà¥à¤®à¤¤à¤¿ नहà¥à¤ पà¥à¤°à¤¦à¤¾à¤¨ à¤à¥ हà¥à¥¤ (Ctrl/Cmd+C) à¤à¤¾ पà¥à¤°à¤¯à¥à¤ à¤à¤°à¥à¤à¥¤',
+ pasteMsg : 'Ctrl/Cmd+V à¤à¤¾ पà¥à¤°à¤¯à¥à¤ à¤à¤°à¤à¥ पà¥à¤¸à¥à¤ à¤à¤°à¥à¤ à¤à¤° ठà¥à¤ हॠà¤à¤°à¥à¤.',
+ securityMsg : 'à¤à¤ªà¤à¥ बà¥à¤°à¤¾à¤à¥à¤° à¤à¥ सà¥à¤°à¤à¥à¤·à¤¾ à¤à¤ªà¤à¥ बà¥à¤°à¤¾à¤à¥à¤° à¤à¥ सà¥à¤°Kश सà¥à¤à¤¿à¤à¤ à¤à¥ à¤à¤¾à¤°à¤£, à¤à¤¡à¤¿à¤à¤° à¤à¤ªà¤à¥ à¤à¥à¤²à¤¿à¤ªà¤¬à¥à¤°à¥à¤¡ डà¥à¤à¤¾ à¤à¥ नहà¥à¤ पा सà¤à¤¤à¤¾ हà¥. à¤à¤ªà¤à¥ à¤à¤¸à¥ à¤à¤¸ विनà¥à¤¡à¥ मà¥à¤ दà¥à¤¬à¤¾à¤°à¤¾ पà¥à¤¸à¥à¤ à¤à¤°à¤¨à¤¾ हà¥à¤à¤¾.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'पà¥à¤¸à¥à¤ (वरà¥à¤¡ सà¥)',
+ title : 'पà¥à¤¸à¥à¤ (वरà¥à¤¡ सà¥)',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'पà¥à¤¸à¥à¤ (सादा à¤à¥
à¤à¥à¤¸à¥à¤)',
+ title : 'पà¥à¤¸à¥à¤ (सादा à¤à¥
à¤à¥à¤¸à¥à¤)'
+ },
+
+ templates :
+ {
+ button : 'à¤à¥
मà¥à¤ªà¥à¤²à¥à¤',
+ title : 'à¤à¤¨à¥à¤à¥à¤¨à¥à¤ à¤à¥
मà¥à¤ªà¥à¤²à¥à¤',
+ options : 'Template Options', // MISSING
+ insertOption : 'मà¥à¤² शबà¥à¤¦à¥à¤ à¤à¥ बदलà¥à¤',
+ selectPromptMsg : 'à¤à¤¡à¤¿à¤à¤° मà¥à¤ à¤à¤ªà¤¨ à¤à¤°à¤¨à¥ हà¥à¤¤à¥ à¤à¥
मà¥à¤ªà¥à¤²à¥à¤ à¤à¥à¤¨à¥à¤(वरà¥à¤¤à¤®à¤¾à¤¨ à¤à¤¨à¥à¤à¥
नà¥à¤ सà¥à¤µ नहà¥à¤ हà¥à¤à¤à¥):',
+ emptyListMsg : '(à¤à¥à¤ à¤à¥
मà¥à¤ªà¥à¤²à¥à¤ डिà¥à¤¾à¤à¤¨ नहà¥à¤ à¤à¤¿à¤¯à¤¾ à¤à¤¯à¤¾ हà¥)'
+ },
+
+ showBlocks : 'बà¥à¤²à¥à¤ दिà¤à¤¾à¤¯à¥à¤',
+
+ stylesCombo :
+ {
+ label : 'सà¥à¤à¤¾à¤à¤²',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'à¥à¥à¤°à¥à¤®à¥à¤',
+ panelTitle : 'à¥à¥à¤°à¥à¤®à¥à¤',
+
+ tag_p : 'साधारण',
+ tag_pre : 'à¥à¥à¤°à¥à¤®à¥à¤à¥
ड',
+ tag_address : 'पता',
+ tag_h1 : 'शà¥à¤°à¥à¤·à¤ 1',
+ tag_h2 : 'शà¥à¤°à¥à¤·à¤ 2',
+ tag_h3 : 'शà¥à¤°à¥à¤·à¤ 3',
+ tag_h4 : 'शà¥à¤°à¥à¤·à¤ 4',
+ tag_h5 : 'शà¥à¤°à¥à¤·à¤ 5',
+ tag_h6 : 'शà¥à¤°à¥à¤·à¤ 6',
+ tag_div : 'शà¥à¤°à¥à¤·à¤ (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'à¥à¥à¤¨à¥à¤',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'à¥à¥à¤¨à¥à¤'
+ },
+
+ fontSize :
+ {
+ label : 'साà¤à¥',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'साà¤à¥'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'à¤à¥à¤à¥à¤¸à¥à¤ रà¤à¤',
+ bgColorTitle : 'बà¥à¤à¥à¤à¥à¤°à¤¾à¤à¤¨à¥à¤¡ रà¤à¤',
+ panelTitle : 'Colors', // MISSING
+ auto : 'सà¥à¤µà¤à¤¾à¤²à¤¿à¤¤',
+ more : 'à¤à¤° रà¤à¤...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/hr.js b/devel/third-party/ckeditor/lang/hr.js
new file mode 100644
index 0000000..7f489fd
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/hr.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Croatian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['hr'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Kôd',
+ newPage : 'Nova stranica',
+ save : 'Snimi',
+ preview : 'Pregledaj',
+ cut : 'Izreži',
+ copy : 'Kopiraj',
+ paste : 'Zalijepi',
+ print : 'Ispiši',
+ underline : 'Potcrtano',
+ bold : 'Podebljaj',
+ italic : 'Ukosi',
+ selectAll : 'Odaberi sve',
+ removeFormat : 'Ukloni formatiranje',
+ strike : 'Precrtano',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Ubaci vodoravnu liniju',
+ pagebreak : 'Ubaci prijelom stranice',
+ unlink : 'Ukloni link',
+ undo : 'Poništi',
+ redo : 'Ponovi',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Pretraži server',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Pošalji',
+ uploadSubmit : 'Pošalji na server',
+ image : 'Slika',
+ flash : 'Flash',
+ form : 'Form',
+ checkbox : 'Checkbox',
+ radio : 'Radio Button',
+ textField : 'Text Field',
+ textarea : 'Textarea',
+ hiddenField : 'Hidden Field',
+ button : 'Button',
+ select : 'Selection Field',
+ imageButton : 'Image Button',
+ notSet : '<nije postavljeno>',
+ id : 'Id',
+ name : 'Naziv',
+ langDir : 'Smjer jezika',
+ langDirLtr : 'S lijeva na desno (LTR)',
+ langDirRtl : 'S desna na lijevo (RTL)',
+ langCode : 'Kôd jezika',
+ longDescr : 'DugaÄki opis URL',
+ cssClass : 'Stylesheet klase',
+ advisoryTitle : 'Advisory naslov',
+ cssStyle : 'Stil',
+ ok : 'OK',
+ cancel : 'Poništi',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'OpÄenito',
+ advancedTab : 'Napredno',
+ validateNumberFailed : 'Ova vrijednost nije broj.',
+ confirmNewPage : 'Sve napravljene promjene Äe biti izgubljene ukoliko ih niste snimili. Sigurno želite uÄitati novu stranicu?',
+ confirmCancel : 'Neke od opcija su promjenjene. Sigurno želite zatvoriti ovaj prozor?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, nedostupno</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Ubaci posebne znakove',
+ title : 'Odaberite posebni karakter',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ubaci/promijeni link',
+ other : '<drugi>',
+ menu : 'Promijeni link',
+ title : 'Link',
+ info : 'Link Info',
+ target : 'Meta',
+ upload : 'Pošalji',
+ advanced : 'Napredno',
+ type : 'Link vrsta',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Sidro na ovoj stranici',
+ toEmail : 'E-Mail',
+ targetFrame : '<okvir>',
+ targetPopup : '<popup prozor>',
+ targetFrameName : 'Ime ciljnog okvira',
+ targetPopupName : 'Naziv popup prozora',
+ popupFeatures : 'MoguÄnosti popup prozora',
+ popupResizable : 'Promjenjiva veliÄina',
+ popupStatusBar : 'Statusna traka',
+ popupLocationBar: 'Traka za lokaciju',
+ popupToolbar : 'Traka s alatima',
+ popupMenuBar : 'Izborna traka',
+ popupFullScreen : 'Cijeli ekran (IE)',
+ popupScrollBars : 'Scroll traka',
+ popupDependent : 'Ovisno (Netscape)',
+ popupWidth : 'Å irina',
+ popupLeft : 'Lijeva pozicija',
+ popupHeight : 'Visina',
+ popupTop : 'Gornja pozicija',
+ id : 'Id',
+ langDir : 'Smjer jezika',
+ langDirLTR : 'S lijeva na desno (LTR)',
+ langDirRTL : 'S desna na lijevo (RTL)',
+ acccessKey : 'Pristupna tipka',
+ name : 'Naziv',
+ langCode : 'Smjer jezika',
+ tabIndex : 'Tab Indeks',
+ advisoryTitle : 'Advisory naslov',
+ advisoryContentType : 'Advisory vrsta sadržaja',
+ cssClasses : 'Stylesheet klase',
+ charset : 'Kodna stranica povezanih resursa',
+ styles : 'Stil',
+ selectAnchor : 'Odaberi sidro',
+ anchorName : 'Po nazivu sidra',
+ anchorId : 'Po Id elementa',
+ emailAddress : 'E-Mail adresa',
+ emailSubject : 'Naslov',
+ emailBody : 'Sadržaj poruke',
+ noAnchors : '(Nema dostupnih sidra)',
+ noUrl : 'Molimo upišite URL link',
+ noEmail : 'Molimo upišite e-mail adresu'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ubaci/promijeni sidro',
+ menu : 'Svojstva sidra',
+ title : 'Svojstva sidra',
+ name : 'Ime sidra',
+ errorName : 'Molimo unesite ime sidra'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'PronaÄi i zamijeni',
+ find : 'PronaÄi',
+ replace : 'Zamijeni',
+ findWhat : 'PronaÄi:',
+ replaceWith : 'Zamijeni s:',
+ notFoundMsg : 'Traženi tekst nije pronaÄen.',
+ matchCase : 'Usporedi mala/velika slova',
+ matchWord : 'Usporedi cijele rijeÄi',
+ matchCyclic : 'Usporedi kružno',
+ replaceAll : 'Zamijeni sve',
+ replaceSuccessMsg : 'Zamijenjeno %1 pojmova.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tablica',
+ title : 'Svojstva tablice',
+ menu : 'Svojstva tablice',
+ deleteTable : 'Izbriši tablicu',
+ rows : 'Redova',
+ columns : 'Kolona',
+ border : 'VeliÄina okvira',
+ align : 'Poravnanje',
+ alignLeft : 'Lijevo',
+ alignCenter : 'Središnje',
+ alignRight : 'Desno',
+ width : 'Å irina',
+ widthPx : 'piksela',
+ widthPc : 'postotaka',
+ widthUnit : 'width unit', // MISSING
+ height : 'Visina',
+ cellSpace : 'Prostornost Äelija',
+ cellPad : 'Razmak Äelija',
+ caption : 'Naslov',
+ summary : 'Sažetak',
+ headers : 'Zaglavlje',
+ headersNone : 'Ništa',
+ headersColumn : 'Prva kolona',
+ headersRow : 'Prvi red',
+ headersBoth : 'Oba',
+ invalidRows : 'Broj redova mora biti broj veÄi od 0.',
+ invalidCols : 'Broj kolona mora biti broj veÄi od 0.',
+ invalidBorder : 'Debljina ruba mora biti broj.',
+ invalidWidth : 'Å irina tablice mora biti broj.',
+ invalidHeight : 'Visina tablice mora biti broj.',
+ invalidCellSpacing : 'Prostornost Äelija mora biti broj.',
+ invalidCellPadding : 'Razmak Äelija mora biti broj.',
+
+ cell :
+ {
+ menu : 'Äelija',
+ insertBefore : 'Ubaci Äeliju prije',
+ insertAfter : 'Ubaci Äeliju poslije',
+ deleteCell : 'IzbriÅ¡i Äelije',
+ merge : 'Spoji Äelije',
+ mergeRight : 'Spoji desno',
+ mergeDown : 'Spoji dolje',
+ splitHorizontal : 'Podijeli Äeliju vodoravno',
+ splitVertical : 'Podijeli Äeliju okomito',
+ title : 'Svojstva Äelije',
+ cellType : 'Vrsta Äelije',
+ rowSpan : 'Rows Span',
+ colSpan : 'Columns Span',
+ wordWrap : 'Prelazak u novi red',
+ hAlign : 'Vodoravno poravnanje',
+ vAlign : 'Okomito poravnanje',
+ alignTop : 'Vrh',
+ alignMiddle : 'Sredina',
+ alignBottom : 'Dolje',
+ alignBaseline : 'Osnovna linija',
+ bgColor : 'Boja pozadine',
+ borderColor : 'Boja ruba',
+ data : 'Podatak',
+ header : 'Zaglavlje',
+ yes : 'Da',
+ no : 'ne',
+ invalidWidth : 'Å irina Äelije mora biti broj.',
+ invalidHeight : 'Visina Äelije mora biti broj.',
+ invalidRowSpan : 'Rows span mora biti cijeli broj.',
+ invalidColSpan : 'Columns span mora biti cijeli broj.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Red',
+ insertBefore : 'Ubaci red prije',
+ insertAfter : 'Ubaci red poslije',
+ deleteRow : 'Izbriši redove'
+ },
+
+ column :
+ {
+ menu : 'Kolona',
+ insertBefore : 'Ubaci kolonu prije',
+ insertAfter : 'Ubaci kolonu poslije',
+ deleteColumn : 'Izbriši kolone'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Image Button svojstva',
+ text : 'Tekst (vrijednost)',
+ type : 'Vrsta',
+ typeBtn : 'Gumb',
+ typeSbm : 'Pošalji',
+ typeRst : 'Poništi'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Checkbox svojstva',
+ radioTitle : 'Radio Button svojstva',
+ value : 'Vrijednost',
+ selected : 'Odabrano'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form svojstva',
+ menu : 'Form svojstva',
+ action : 'Akcija',
+ method : 'Metoda',
+ encoding : 'Encoding'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Selection svojstva',
+ selectInfo : 'Info',
+ opAvail : 'Dostupne opcije',
+ value : 'Vrijednost',
+ size : 'VeliÄina',
+ lines : 'linija',
+ chkMulti : 'Dozvoli višestruki odabir',
+ opText : 'Tekst',
+ opValue : 'Vrijednost',
+ btnAdd : 'Dodaj',
+ btnModify : 'Promijeni',
+ btnUp : 'Gore',
+ btnDown : 'Dolje',
+ btnSetValue : 'Postavi kao odabranu vrijednost',
+ btnDelete : 'Obriši'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Textarea svojstva',
+ cols : 'Kolona',
+ rows : 'Redova'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Text Field svojstva',
+ name : 'Ime',
+ value : 'Vrijednost',
+ charWidth : 'Å irina',
+ maxChars : 'Najviše karaktera',
+ type : 'Vrsta',
+ typeText : 'Tekst',
+ typePass : 'Å ifra'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Hidden Field svojstva',
+ name : 'Ime',
+ value : 'Vrijednost'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Svojstva slika',
+ titleButton : 'Image Button svojstva',
+ menu : 'Svojstva slika',
+ infoTab : 'Info slike',
+ btnUpload : 'Pošalji na server',
+ upload : 'Pošalji',
+ alt : 'Alternativni tekst',
+ width : 'Å irina',
+ height : 'Visina',
+ lockRatio : 'ZakljuÄaj odnos',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'ObriÅ¡i veliÄinu',
+ border : 'Okvir',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Poravnaj',
+ alignLeft : 'Lijevo',
+ alignRight : 'Desno',
+ alertUrl : 'Unesite URL slike',
+ linkTab : 'Link',
+ button2Img : 'Želite li promijeniti odabrani gumb u jednostavnu sliku?',
+ img2Button : 'Želite li promijeniti odabranu sliku u gumb?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash svojstva',
+ propertiesTab : 'Svojstva',
+ title : 'Flash svojstva',
+ chkPlay : 'Auto Play',
+ chkLoop : 'Ponavljaj',
+ chkMenu : 'OmoguÄi Flash izbornik',
+ chkFull : 'OmoguÄi Fullscreen',
+ scale : 'Omjer',
+ scaleAll : 'Prikaži sve',
+ scaleNoBorder : 'Bez okvira',
+ scaleFit : 'ToÄna veliÄina',
+ access : 'Script Access',
+ accessAlways : 'Uvijek',
+ accessSameDomain: 'Ista domena',
+ accessNever : 'Nikad',
+ align : 'Poravnaj',
+ alignLeft : 'Lijevo',
+ alignAbsBottom : 'Abs dolje',
+ alignAbsMiddle : 'Abs sredina',
+ alignBaseline : 'Bazno',
+ alignBottom : 'Dolje',
+ alignMiddle : 'Sredina',
+ alignRight : 'Desno',
+ alignTextTop : 'Vrh teksta',
+ alignTop : 'Vrh',
+ quality : 'Kvaliteta',
+ qualityBest : 'Best',
+ qualityHigh : 'High',
+ qualityAutoHigh : 'Auto High',
+ qualityMedium : 'Medium',
+ qualityAutoLow : 'Auto Low',
+ qualityLow : 'Low',
+ windowModeWindow: 'Window',
+ windowModeOpaque: 'Opaque',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Vrsta prozora',
+ flashvars : 'Varijable za Flash',
+ bgcolor : 'Boja pozadine',
+ width : 'Å irina',
+ height : 'Visina',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'Molimo upišite URL link',
+ validateWidth : 'Å irina mora biti broj.',
+ validateHeight : 'Visina mora biti broj.',
+ validateHSpace : 'HSpace mora biti broj.',
+ validateVSpace : 'VSpace mora biti broj.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Provjeri pravopis',
+ title : 'Provjera pravopisa',
+ notAvailable : 'Žao nam je, ali usluga trenutno nije dostupna.',
+ errorLoading : 'GreÅ¡ka uÄitavanja aplikacije: %s.',
+ notInDic : 'Nije u rjeÄniku',
+ changeTo : 'Promijeni u',
+ btnIgnore : 'Zanemari',
+ btnIgnoreAll : 'Zanemari sve',
+ btnReplace : 'Zamijeni',
+ btnReplaceAll : 'Zamijeni sve',
+ btnUndo : 'Vrati',
+ noSuggestions : '-Nema preporuke-',
+ progress : 'Provjera u tijeku...',
+ noMispell : 'Provjera završena: Nema grešaka',
+ noChanges : 'Provjera završena: Nije napravljena promjena',
+ oneChange : 'Provjera zavrÅ¡ena: Jedna rijeÄ promjenjena',
+ manyChanges : 'Provjera zavrÅ¡ena: Promijenjeno %1 rijeÄi',
+ ieSpellDownload : 'Provjera pravopisa nije instalirana. Želite li skinuti provjeru pravopisa?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smješko',
+ title : 'Ubaci smješka',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'BrojÄana lista',
+ bulletedlist : 'ObiÄna lista',
+ indent : 'Pomakni udesno',
+ outdent : 'Pomakni ulijevo',
+
+ justify :
+ {
+ left : 'Lijevo poravnanje',
+ center : 'Središnje poravnanje',
+ right : 'Desno poravnanje',
+ block : 'Blok poravnanje'
+ },
+
+ blockquote : 'Blockquote',
+
+ clipboard :
+ {
+ title : 'Zalijepi',
+ cutError : 'Sigurnosne postavke VaÅ¡eg pretraživaÄa ne dozvoljavaju operacije automatskog izrezivanja. Molimo koristite kraticu na tipkovnici (Ctrl/Cmd+X).',
+ copyError : 'Sigurnosne postavke VaÅ¡eg pretraživaÄa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tipkovnici (Ctrl/Cmd+C).',
+ pasteMsg : 'Molimo zaljepite unutar doljnjeg okvira koristeÄi tipkovnicu (<STRONG>Ctrl/Cmd+V</STRONG>) i kliknite <STRONG>OK</STRONG>.',
+ securityMsg : 'Zbog sigurnosnih postavki VaÅ¡eg pretraživaÄa, editor nema direktan pristup VaÅ¡em meÄuspremniku. Potrebno je ponovno zalijepiti tekst u ovaj prozor.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Tekst koji želite zalijepiti Äini se da je kopiran iz Worda. Želite li prije oÄistiti tekst?',
+ toolbar : 'Zalijepi iz Worda',
+ title : 'Zalijepi iz Worda',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Zalijepi kao Äisti tekst',
+ title : 'Zalijepi kao Äisti tekst'
+ },
+
+ templates :
+ {
+ button : 'Predlošci',
+ title : 'Predlošci sadržaja',
+ options : 'Template Options', // MISSING
+ insertOption : 'Zamijeni trenutne sadržaje',
+ selectPromptMsg : 'Molimo odaberite predložak koji želite otvoriti<br>(stvarni sadržaj Äe biti izgubljen):',
+ emptyListMsg : '(Nema definiranih predložaka)'
+ },
+
+ showBlocks : 'Prikaži blokove',
+
+ stylesCombo :
+ {
+ label : 'Stil',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block stilovi',
+ panelTitle2 : 'Inline stilovi',
+ panelTitle3 : 'Object stilovi'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatirano',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font',
+ panelTitle : 'Font'
+ },
+
+ fontSize :
+ {
+ label : 'VeliÄina',
+ voiceLabel : 'VeliÄina slova',
+ panelTitle : 'VeliÄina'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Boja teksta',
+ bgColorTitle : 'Boja pozadine',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatski',
+ more : 'Više boja...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Provjeri pravopis tijekom tipkanja (SCAYT)',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'OmoguÄi SCAYT',
+ disable : 'OnemoguÄi SCAYT',
+ about : 'O SCAYT',
+ toggle : 'OmoguÄu/OnemoguÄi SCAYT',
+ options : 'Opcije',
+ langs : 'Jezici',
+ moreSuggestions : 'Više prijedloga',
+ ignore : 'Zanemari',
+ ignoreAll : 'Zanemari sve',
+ addWord : 'Dodaj rijeÄ',
+ emptyDic : 'Naziv rjeÄnika ne smije biti prazno.',
+
+ optionsTab : 'Opcije',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Jezici',
+
+ dictionariesTab : 'RjeÄnici',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'O SCAYT'
+ },
+
+ about :
+ {
+ title : 'O CKEditoru',
+ dlgTitle : 'O CKEditoru',
+ moreInfo : 'Za informacije o licencama posjetite našu web stranicu:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'PoveÄaj',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Sidro',
+ flash : 'Flash animacija',
+ div : 'Prijelom stranice',
+ unknown : 'Nepoznati objekt'
+ },
+
+ resize : 'Povuci za promjenu veliÄine',
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/hu.js b/devel/third-party/ckeditor/lang/hu.js
new file mode 100644
index 0000000..cb9f465
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/hu.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Hungarian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['hu'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Forráskód',
+ newPage : 'Ãj oldal',
+ save : 'Mentés',
+ preview : 'ElÅnézet',
+ cut : 'Kivágás',
+ copy : 'Másolás',
+ paste : 'Beillesztés',
+ print : 'Nyomtatás',
+ underline : 'Aláhúzott',
+ bold : 'Félkövér',
+ italic : 'DÅlt',
+ selectAll : 'Mindent kijelöl',
+ removeFormat : 'Formázás eltávolÃtása',
+ strike : 'Ãthúzott',
+ subscript : 'Alsó index',
+ superscript : 'FelsÅ index',
+ horizontalrule : 'Elválasztóvonal beillesztése',
+ pagebreak : 'Oldaltörés beillesztése',
+ unlink : 'Hivatkozás törlése',
+ undo : 'Visszavonás',
+ redo : 'Ismétlés',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Böngészés a szerveren',
+ url : 'Hivatkozás',
+ protocol : 'Protokoll',
+ upload : 'Feltöltés',
+ uploadSubmit : 'Küldés a szerverre',
+ image : 'Kép',
+ flash : 'Flash',
+ form : 'Å°rlap',
+ checkbox : 'JelölÅnégyzet',
+ radio : 'Választógomb',
+ textField : 'SzövegmezÅ',
+ textarea : 'Szövegterület',
+ hiddenField : 'RejtettmezÅ',
+ button : 'Gomb',
+ select : 'LegördülŠlista',
+ imageButton : 'Képgomb',
+ notSet : '<nincs beállÃtva>',
+ id : 'AzonosÃtó',
+ name : 'Név',
+ langDir : 'Ãrás iránya',
+ langDirLtr : 'Balról jobbra',
+ langDirRtl : 'Jobbról balra',
+ langCode : 'Nyelv kódja',
+ longDescr : 'Részletes leÃrás webcÃme',
+ cssClass : 'StÃluskészlet',
+ advisoryTitle : 'Súgócimke',
+ cssStyle : 'StÃlus',
+ ok : 'Rendben',
+ cancel : 'Mégsem',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Ãltalános',
+ advancedTab : 'További opciók',
+ validateNumberFailed : 'A mezÅbe csak számokat Ãrhat.',
+ confirmNewPage : 'Minden nem mentett változás el fog veszni! Biztosan be szeretné tölteni az oldalt?',
+ confirmCancel : 'Az űrlap tartalma megváltozott, ám a változásokat nem rögzÃtette. Biztosan be szeretné zárni az űrlapot?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Speciális karakter beillesztése',
+ title : 'Speciális karakter választása',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Hivatkozás beillesztése/módosÃtása',
+ other : '<más>',
+ menu : 'Hivatkozás módosÃtása',
+ title : 'Hivatkozás tulajdonságai',
+ info : 'Alaptulajdonságok',
+ target : 'Tartalom megjelenÃtése',
+ upload : 'Feltöltés',
+ advanced : 'További opciók',
+ type : 'Hivatkozás tÃpusa',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Horgony az oldalon',
+ toEmail : 'E-Mail',
+ targetFrame : '<keretben>',
+ targetPopup : '<felugró ablakban>',
+ targetFrameName : 'Keret neve',
+ targetPopupName : 'Felugró ablak neve',
+ popupFeatures : 'Felugró ablak jellemzÅi',
+ popupResizable : 'Ãtméretezés',
+ popupStatusBar : 'Ãllapotsor',
+ popupLocationBar: 'CÃmsor',
+ popupToolbar : 'Eszköztár',
+ popupMenuBar : 'Menü sor',
+ popupFullScreen : 'Teljes képernyŠ(csak IE)',
+ popupScrollBars : 'GördÃtÅsáv',
+ popupDependent : 'SzülÅhöz kapcsolt (csak Netscape)',
+ popupWidth : 'Szélesség',
+ popupLeft : 'Bal pozÃció',
+ popupHeight : 'Magasság',
+ popupTop : 'FelsÅ pozÃció',
+ id : 'Id',
+ langDir : 'Ãrás iránya',
+ langDirLTR : 'Balról jobbra',
+ langDirRTL : 'Jobbról balra',
+ acccessKey : 'Billentyűkombináció',
+ name : 'Név',
+ langCode : 'Ãrás iránya',
+ tabIndex : 'Tabulátor index',
+ advisoryTitle : 'Súgócimke',
+ advisoryContentType : 'Súgó tartalomtÃpusa',
+ cssClasses : 'StÃluskészlet',
+ charset : 'Hivatkozott tartalom kódlapja',
+ styles : 'StÃlus',
+ selectAnchor : 'Horgony választása',
+ anchorName : 'Horgony név szerint',
+ anchorId : 'AzonosÃtó szerint',
+ emailAddress : 'E-Mail cÃm',
+ emailSubject : 'Ãzenet tárgya',
+ emailBody : 'Ãzenet',
+ noAnchors : '(Nincs horgony a dokumentumban)',
+ noUrl : 'Adja meg a hivatkozás webcÃmét',
+ noEmail : 'Adja meg az E-Mail cÃmet'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Horgony beillesztése/szerkesztése',
+ menu : 'Horgony tulajdonságai',
+ title : 'Horgony tulajdonságai',
+ name : 'Horgony neve',
+ errorName : 'Kérem adja meg a horgony nevét'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Keresés és csere',
+ find : 'Keresés',
+ replace : 'Csere',
+ findWhat : 'Keresett szöveg:',
+ replaceWith : 'Csere erre:',
+ notFoundMsg : 'A keresett szöveg nem található.',
+ matchCase : 'kis- és nagybetű megkülönböztetése',
+ matchWord : 'csak ha ez a teljes szó',
+ matchCyclic : 'Ciklikus keresés',
+ replaceAll : 'Az összes cseréje',
+ replaceSuccessMsg : '%1 egyezÅség cserélve.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Táblázat',
+ title : 'Táblázat tulajdonságai',
+ menu : 'Táblázat tulajdonságai',
+ deleteTable : 'Táblázat törlése',
+ rows : 'Sorok',
+ columns : 'Oszlopok',
+ border : 'Szegélyméret',
+ align : 'IgazÃtás',
+ alignLeft : 'Balra',
+ alignCenter : 'Középre',
+ alignRight : 'Jobbra',
+ width : 'Szélesség',
+ widthPx : 'képpont',
+ widthPc : 'százalék',
+ widthUnit : 'width unit', // MISSING
+ height : 'Magasság',
+ cellSpace : 'Cella térköz',
+ cellPad : 'Cella belsŠmargó',
+ caption : 'Felirat',
+ summary : 'LeÃrás',
+ headers : 'Fejlécek',
+ headersNone : 'Nincsenek',
+ headersColumn : 'ElsÅ oszlop',
+ headersRow : 'ElsÅ sor',
+ headersBoth : 'MindkettÅ',
+ invalidRows : 'A sorok számának nagyobbnak kell lenni mint 0.',
+ invalidCols : 'Az oszlopok számának nagyobbnak kell lenni mint 0.',
+ invalidBorder : 'A szegélyméret mezÅbe csak számokat Ãrhat.',
+ invalidWidth : 'A szélesség mezÅbe csak számokat Ãrhat.',
+ invalidHeight : 'A magasság mezÅbe csak számokat Ãrhat.',
+ invalidCellSpacing : 'A cella térköz mezÅbe csak számokat Ãrhat.',
+ invalidCellPadding : 'A cella belsÅ margó mezÅbe csak számokat Ãrhat.',
+
+ cell :
+ {
+ menu : 'Cella',
+ insertBefore : 'Beszúrás balra',
+ insertAfter : 'Beszúrás jobbra',
+ deleteCell : 'Cellák törlése',
+ merge : 'Cellák egyesÃtése',
+ mergeRight : 'Cellák egyesÃtése jobbra',
+ mergeDown : 'Cellák egyesÃtése lefelé',
+ splitHorizontal : 'Cellák szétválasztása vÃzszintesen',
+ splitVertical : 'Cellák szétválasztása függÅlegesen',
+ title : 'Cella tulajdonságai',
+ cellType : 'Cella tÃpusa',
+ rowSpan : 'FüggÅleges egyesÃtés',
+ colSpan : 'VÃzszintes egyesÃtés',
+ wordWrap : 'Hosszú sorok törése',
+ hAlign : 'VÃzszintes igazÃtás',
+ vAlign : 'FüggÅleges igazÃtás',
+ alignTop : 'Fel',
+ alignMiddle : 'Középre',
+ alignBottom : 'Le',
+ alignBaseline : 'Alapvonalra',
+ bgColor : 'Háttér szÃne',
+ borderColor : 'Keret szÃne',
+ data : 'Adat',
+ header : 'Fejléc',
+ yes : 'Igen',
+ no : 'Nem',
+ invalidWidth : 'A szélesség mezÅbe csak számokat Ãrhat.',
+ invalidHeight : 'A magasság mezÅbe csak számokat Ãrhat.',
+ invalidRowSpan : 'A függÅleges egyesÃtés mezÅbe csak számokat Ãrhat.',
+ invalidColSpan : 'A vÃzszintes egyesÃtés mezÅbe csak számokat Ãrhat.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Sor',
+ insertBefore : 'Beszúrás fölé',
+ insertAfter : 'Beszúrás alá',
+ deleteRow : 'Sorok törlése'
+ },
+
+ column :
+ {
+ menu : 'Oszlop',
+ insertBefore : 'Beszúrás balra',
+ insertAfter : 'Beszúrás jobbra',
+ deleteColumn : 'Oszlopok törlése'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Gomb tulajdonságai',
+ text : 'Szöveg (Ãrték)',
+ type : 'TÃpus',
+ typeBtn : 'Gomb',
+ typeSbm : 'Küldés',
+ typeRst : 'Alaphelyzet'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'JelölÅnégyzet tulajdonságai',
+ radioTitle : 'Választógomb tulajdonságai',
+ value : 'Ãrték',
+ selected : 'Kiválasztott'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Űrlap tulajdonságai',
+ menu : 'Űrlap tulajdonságai',
+ action : 'Adatfeldolgozást végzŠhivatkozás',
+ method : 'Adatküldés módja',
+ encoding : 'Kódolás'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'LegördülŠlista tulajdonságai',
+ selectInfo : 'Alaptulajdonságok',
+ opAvail : 'ElérhetŠopciók',
+ value : 'Ãrték',
+ size : 'Méret',
+ lines : 'sor',
+ chkMulti : 'több sor is kiválasztható',
+ opText : 'Szöveg',
+ opValue : 'Ãrték',
+ btnAdd : 'Hozzáad',
+ btnModify : 'MódosÃt',
+ btnUp : 'Fel',
+ btnDown : 'Le',
+ btnSetValue : 'Legyen az alapértelmezett érték',
+ btnDelete : 'Töröl'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Szövegterület tulajdonságai',
+ cols : 'Karakterek száma egy sorban',
+ rows : 'Sorok száma'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'SzövegmezŠtulajdonságai',
+ name : 'Név',
+ value : 'Ãrték',
+ charWidth : 'MegjelenÃtett karakterek száma',
+ maxChars : 'Maximális karakterszám',
+ type : 'TÃpus',
+ typeText : 'Szöveg',
+ typePass : 'Jelszó'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Rejtett mezŠtulajdonságai',
+ name : 'Név',
+ value : 'Ãrték'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Kép tulajdonságai',
+ titleButton : 'Képgomb tulajdonságai',
+ menu : 'Kép tulajdonságai',
+ infoTab : 'Alaptulajdonságok',
+ btnUpload : 'Küldés a szerverre',
+ upload : 'Feltöltés',
+ alt : 'Buborék szöveg',
+ width : 'Szélesség',
+ height : 'Magasság',
+ lockRatio : 'Arány megtartása',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Eredeti méret',
+ border : 'Keret',
+ hSpace : 'VÃzsz. táv',
+ vSpace : 'Függ. táv',
+ align : 'IgazÃtás',
+ alignLeft : 'Bal',
+ alignRight : 'Jobbra',
+ alertUrl : 'Töltse ki a kép webcÃmét',
+ linkTab : 'Hivatkozás',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash tulajdonságai',
+ propertiesTab : 'Tulajdonságok',
+ title : 'Flash tulajdonságai',
+ chkPlay : 'Automata lejátszás',
+ chkLoop : 'Folyamatosan',
+ chkMenu : 'Flash menü engedélyezése',
+ chkFull : 'Teljes képernyŠengedélyezése',
+ scale : 'Méretezés',
+ scaleAll : 'Mindent mutat',
+ scaleNoBorder : 'Keret nélkül',
+ scaleFit : 'Teljes kitöltés',
+ access : 'Szkript hozzáférés',
+ accessAlways : 'Mindig',
+ accessSameDomain: 'Azonos domainrÅl',
+ accessNever : 'Soha',
+ align : 'IgazÃtás',
+ alignLeft : 'Bal',
+ alignAbsBottom : 'Legaljára',
+ alignAbsMiddle : 'Közepére',
+ alignBaseline : 'Alapvonalhoz',
+ alignBottom : 'Aljára',
+ alignMiddle : 'Középre',
+ alignRight : 'Jobbra',
+ alignTextTop : 'Szöveg tetejére',
+ alignTop : 'Tetejére',
+ quality : 'MinÅség',
+ qualityBest : 'Legjobb',
+ qualityHigh : 'Jó',
+ qualityAutoHigh : 'Automata jó',
+ qualityMedium : 'Közepes',
+ qualityAutoLow : 'Automata gyenge',
+ qualityLow : 'Gyenge',
+ windowModeWindow: 'Window',
+ windowModeOpaque: 'Opaque',
+ windowModeTransparent : 'Transparent',
+ windowMode : 'Ablak mód',
+ flashvars : 'Flash változók',
+ bgcolor : 'HáttérszÃn',
+ width : 'Szélesség',
+ height : 'Magasság',
+ hSpace : 'VÃzsz. táv',
+ vSpace : 'Függ. táv',
+ validateSrc : 'Adja meg a hivatkozás webcÃmét',
+ validateWidth : 'A szélesség mezÅbe csak számokat Ãrhat.',
+ validateHeight : 'A magasság mezÅbe csak számokat Ãrhat.',
+ validateHSpace : 'A vÃzszintes távolsűág mezÅbe csak számokat Ãrhat.',
+ validateVSpace : 'A függÅleges távolsűág mezÅbe csak számokat Ãrhat.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'HelyesÃrás-ellenÅrzés',
+ title : 'HelyesÃrás ellenörzÅ',
+ notAvailable : 'Sajnálom, de a szolgáltatás jelenleg nem elérhetÅ.',
+ errorLoading : 'Hiba a szolgáltatás host betöltése közben: %s.',
+ notInDic : 'Nincs a szótárban',
+ changeTo : 'MódosÃtás',
+ btnIgnore : 'Kihagyja',
+ btnIgnoreAll : 'Mindet kihagyja',
+ btnReplace : 'Csere',
+ btnReplaceAll : 'Ãsszes cseréje',
+ btnUndo : 'Visszavonás',
+ noSuggestions : 'Nincs javaslat',
+ progress : 'HelyesÃrás-ellenÅrzés folyamatban...',
+ noMispell : 'HelyesÃrás-ellenÅrzés kész: Nem találtam hibát',
+ noChanges : 'HelyesÃrás-ellenÅrzés kész: Nincs változtatott szó',
+ oneChange : 'HelyesÃrás-ellenÅrzés kész: Egy szó cserélve',
+ manyChanges : 'HelyesÃrás-ellenÅrzés kész: %1 szó cserélve',
+ ieSpellDownload : 'A helyesÃrás-ellenÅrzÅ nincs telepÃtve. Szeretné letölteni most?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Hangulatjelek',
+ title : 'Hangulatjel beszúrása',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 elem'
+ },
+
+ numberedlist : 'Számozás',
+ bulletedlist : 'Felsorolás',
+ indent : 'Behúzás növelése',
+ outdent : 'Behúzás csökkentése',
+
+ justify :
+ {
+ left : 'Balra',
+ center : 'Középre',
+ right : 'Jobbra',
+ block : 'Sorkizárt'
+ },
+
+ blockquote : 'Idézet blokk',
+
+ clipboard :
+ {
+ title : 'Beillesztés',
+ cutError : 'A böngészÅ biztonsági beállÃtásai nem engedélyezik a szerkesztÅnek, hogy végrehajtsa a kivágás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).',
+ copyError : 'A böngészÅ biztonsági beállÃtásai nem engedélyezik a szerkesztÅnek, hogy végrehajtsa a másolás műveletet. Használja az alábbi billentyűkombinációt (Ctrl/Cmd+X).',
+ pasteMsg : 'Másolja be az alábbi mezÅbe a <STRONG>Ctrl/Cmd+V</STRONG> billentyűk lenyomásával, majd nyomjon <STRONG>Rendben</STRONG>-t.',
+ securityMsg : 'A böngészÅ biztonsági beállÃtásai miatt a szerkesztÅ nem képes hozzáférni a vágólap adataihoz. Illeszd be újra ebben az ablakban.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Beillesztés Word-bÅl',
+ title : 'Beillesztés Word-bÅl',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Beillesztés formázatlan szövegként',
+ title : 'Beillesztés formázatlan szövegként'
+ },
+
+ templates :
+ {
+ button : 'Sablonok',
+ title : 'ElérhetŠsablonok',
+ options : 'Template Options', // MISSING
+ insertOption : 'Kicseréli a jelenlegi tartalmat',
+ selectPromptMsg : 'Válassza ki melyik sablon nyÃljon meg a szerkesztÅben<br>(a jelenlegi tartalom elveszik):',
+ emptyListMsg : '(Nincs sablon megadva)'
+ },
+
+ showBlocks : 'Blokkok megjelenÃtése',
+
+ stylesCombo :
+ {
+ label : 'StÃlus',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Blokk stÃlusok',
+ panelTitle2 : 'Inline stÃlusok',
+ panelTitle3 : 'Objektum stÃlusok'
+ },
+
+ format :
+ {
+ label : 'Formátum',
+ panelTitle : 'Formátum',
+
+ tag_p : 'Normál',
+ tag_pre : 'Formázott',
+ tag_address : 'CÃmsor',
+ tag_h1 : 'Fejléc 1',
+ tag_h2 : 'Fejléc 2',
+ tag_h3 : 'Fejléc 3',
+ tag_h4 : 'Fejléc 4',
+ tag_h5 : 'Fejléc 5',
+ tag_h6 : 'Fejléc 6',
+ tag_div : 'Bekezdés (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'BetűtÃpus',
+ voiceLabel : 'BetűtÃpus',
+ panelTitle : 'BetűtÃpus'
+ },
+
+ fontSize :
+ {
+ label : 'Méret',
+ voiceLabel : 'Betűméret',
+ panelTitle : 'Méret'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'BetűszÃn',
+ bgColorTitle : 'HáttérszÃn',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatikus',
+ more : 'További szÃnek...'
+ },
+
+ colors :
+ {
+ '000' : 'Fekete',
+ '800000' : 'Bordó',
+ '8B4513' : 'Barna',
+ '2F4F4F' : 'Sötét türkiz',
+ '008080' : 'Türkiz',
+ '000080' : 'Király kék',
+ '4B0082' : 'Indigó kék',
+ '696969' : 'Szürke',
+ 'B22222' : 'Tégla vörös',
+ 'A52A2A' : 'Vörös',
+ 'DAA520' : 'Arany sárga',
+ '006400' : 'Sötét zöld',
+ '40E0D0' : 'Türkiz',
+ '0000CD' : 'Kék',
+ '800080' : 'Lila',
+ '808080' : 'Szürke',
+ 'F00' : 'Piros',
+ 'FF8C00' : 'Sötét narancs',
+ 'FFD700' : 'Arany',
+ '008000' : 'Zöld',
+ '0FF' : 'Türkiz',
+ '00F' : 'Kék',
+ 'EE82EE' : 'RózsaszÃn',
+ 'A9A9A9' : 'Sötét szürke',
+ 'FFA07A' : 'Lazac',
+ 'FFA500' : 'Narancs',
+ 'FFFF00' : 'Citromsárga',
+ '00FF00' : 'Neon zöld',
+ 'AFEEEE' : 'Világos türkiz',
+ 'ADD8E6' : 'Világos kék',
+ 'DDA0DD' : 'Világos lila',
+ 'D3D3D3' : 'Világos szürke',
+ 'FFF0F5' : 'Lavender Blush',
+ 'FAEBD7' : 'Törtfehér',
+ 'FFFFE0' : 'Világos sárga',
+ 'F0FFF0' : 'Menta',
+ 'F0FFFF' : 'Azúr kék',
+ 'F0F8FF' : 'Halvány kék',
+ 'E6E6FA' : 'Lavender',
+ 'FFF' : 'Fehér'
+ },
+
+ scayt :
+ {
+ title : 'HelyesÃrás ellenÅrzés gépelés közben',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'SCAYT engedélyezése',
+ disable : 'SCAYT letiltása',
+ about : 'SCAYT névjegy',
+ toggle : 'SCAYT kapcsolása',
+ options : 'BeállÃtások',
+ langs : 'Nyelvek',
+ moreSuggestions : 'További javaslatok',
+ ignore : 'Kihagy',
+ ignoreAll : 'Ãsszes kihagyása',
+ addWord : 'Szó hozzáadása',
+ emptyDic : 'A szótár nevét meg kell adni.',
+
+ optionsTab : 'BeállÃtások',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Nyelvek',
+
+ dictionariesTab : 'Szótár',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Névjegy'
+ },
+
+ about :
+ {
+ title : 'CKEditor névjegy',
+ dlgTitle : 'CKEditor névjegy',
+ moreInfo : 'Licenszelési információkért kérjük látogassa meg weboldalunkat:',
+ copy : 'Copyright © $1. Minden jog fenntartva.'
+ },
+
+ maximize : 'Teljes méret',
+ minimize : 'Kis méret',
+
+ fakeobjects :
+ {
+ anchor : 'Horgony',
+ flash : 'Flash animáció',
+ div : 'Oldaltörés',
+ unknown : 'Ismeretlen objektum'
+ },
+
+ resize : 'Húzza az átméretezéshez',
+
+ colordialog :
+ {
+ title : 'Válasszon szÃnt',
+ options : 'Color Options', // MISSING
+ highlight : 'NagyÃtás',
+ selected : 'Kiválasztott',
+ clear : 'ÃrÃtés'
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/is.js b/devel/third-party/ckeditor/lang/is.js
new file mode 100644
index 0000000..49883a8
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/is.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Icelandic language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['is'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Kóði',
+ newPage : 'Ný sÃða',
+ save : 'Vista',
+ preview : 'Forskoða',
+ cut : 'Klippa',
+ copy : 'Afrita',
+ paste : 'LÃma',
+ print : 'Prenta',
+ underline : 'Undirstrikað',
+ bold : 'Feitletrað',
+ italic : 'Skáletrað',
+ selectAll : 'Velja allt',
+ removeFormat : 'Fjarlægja snið',
+ strike : 'Yfirstrikað',
+ subscript : 'Niðurskrifað',
+ superscript : 'Uppskrifað',
+ horizontalrule : 'Lóðrétt lÃna',
+ pagebreak : 'Setja inn sÃðuskil',
+ unlink : 'Fjarlægja stiklu',
+ undo : 'Afturkalla',
+ redo : 'Hætta við afturköllun',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Fletta à skjalasafni',
+ url : 'Vefslóð',
+ protocol : 'Samskiptastaðall',
+ upload : 'Senda upp',
+ uploadSubmit : 'Hlaða upp',
+ image : 'Setja inn mynd',
+ flash : 'Flash',
+ form : 'Setja inn innsláttarform',
+ checkbox : 'Setja inn hökunarreit',
+ radio : 'Setja inn valhnapp',
+ textField : 'Setja inn textareit',
+ textarea : 'Setja inn textasvæði',
+ hiddenField : 'Setja inn falið svæði',
+ button : 'Setja inn hnapp',
+ select : 'Setja inn lista',
+ imageButton : 'Setja inn myndahnapp',
+ notSet : '<ekkert valið>',
+ id : 'Auðkenni',
+ name : 'Nafn',
+ langDir : 'Lesstefna',
+ langDirLtr : 'Frá vinstri til hægri (LTR)',
+ langDirRtl : 'Frá hægri til vinstri (RTL)',
+ langCode : 'Tungumálakóði',
+ longDescr : 'Nánari lýsing',
+ cssClass : 'StÃlsniðsflokkur',
+ advisoryTitle : 'Titill',
+ cssStyle : 'StÃll',
+ ok : 'Ã lagi',
+ cancel : 'Hætta við',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Almennt',
+ advancedTab : 'Tæknilegt',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Setja inn merki',
+ title : 'Velja tákn',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Stofna/breyta stiklu',
+ other : '<annar>',
+ menu : 'Breyta stiklu',
+ title : 'Stikla',
+ info : 'Almennt',
+ target : 'Mark',
+ upload : 'Senda upp',
+ advanced : 'Tæknilegt',
+ type : 'Stikluflokkur',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Bókamerki á þessari sÃðu',
+ toEmail : 'Netfang',
+ targetFrame : '<rammi>',
+ targetPopup : '<sprettigluggi>',
+ targetFrameName : 'Nafn markglugga',
+ targetPopupName : 'Nafn sprettiglugga',
+ popupFeatures : 'Eigindi sprettiglugga',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Stöðustika',
+ popupLocationBar: 'FanglÃna',
+ popupToolbar : 'Verkfærastika',
+ popupMenuBar : 'VallÃna',
+ popupFullScreen : 'Heilskjár (IE)',
+ popupScrollBars : 'Skrunstikur',
+ popupDependent : 'Háð venslum (Netscape)',
+ popupWidth : 'Breidd',
+ popupLeft : 'Fjarlægð frá vinstri',
+ popupHeight : 'Hæð',
+ popupTop : 'Fjarlægð frá efri brún',
+ id : 'Id', // MISSING
+ langDir : 'Lesstefna',
+ langDirLTR : 'Frá vinstri til hægri (LTR)',
+ langDirRTL : 'Frá hægri til vinstri (RTL)',
+ acccessKey : 'Skammvalshnappur',
+ name : 'Nafn',
+ langCode : 'Lesstefna',
+ tabIndex : 'Raðnúmer innsláttarreits',
+ advisoryTitle : 'Titill',
+ advisoryContentType : 'Tegund innihalds',
+ cssClasses : 'StÃlsniðsflokkur',
+ charset : 'Táknróf',
+ styles : 'StÃll',
+ selectAnchor : 'Veldu akkeri',
+ anchorName : 'Eftir akkerisnafni',
+ anchorId : 'Eftir auðkenni einingar',
+ emailAddress : 'Netfang',
+ emailSubject : 'Efni',
+ emailBody : 'Meginmál',
+ noAnchors : '<Engin bókamerki á skrá>',
+ noUrl : 'Sláðu inn veffang stiklunnar!',
+ noEmail : 'Sláðu inn netfang!'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Stofna/breyta kaflamerki',
+ menu : 'Eigindi kaflamerkis',
+ title : 'Eigindi kaflamerkis',
+ name : 'Nafn bókamerkis',
+ errorName : 'Sláðu inn nafn bókamerkis!'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Finna og skipta',
+ find : 'Leita',
+ replace : 'Skipta út',
+ findWhat : 'Leita að:',
+ replaceWith : 'Skipta út fyrir:',
+ notFoundMsg : 'Leitartexti fannst ekki!',
+ matchCase : 'Gera greinarmun á¡ há¡- og lágstöfum',
+ matchWord : 'Aðeins heil orð',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Skipta út allsstaðar',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tafla',
+ title : 'Eigindi töflu',
+ menu : 'Eigindi töflu',
+ deleteTable : 'Fella töflu',
+ rows : 'Raðir',
+ columns : 'Dálkar',
+ border : 'Breidd ramma',
+ align : 'Jöfnun',
+ alignLeft : 'Vinstrijafnað',
+ alignCenter : 'Miðjað',
+ alignRight : 'Hægrijafnað',
+ width : 'Breidd',
+ widthPx : 'myndeindir',
+ widthPc : 'prósent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Hæð',
+ cellSpace : 'Bil milli reita',
+ cellPad : 'ReitaspássÃa',
+ caption : 'Titill',
+ summary : 'Ãfram',
+ headers : 'Fyrirsagnir',
+ headersNone : 'Engar',
+ headersColumn : 'Fyrsti dálkur',
+ headersRow : 'Fyrsta röð',
+ headersBoth : 'Hvort tveggja',
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Reitur',
+ insertBefore : 'Skjóta inn reiti fyrir aftan',
+ insertAfter : 'Skjóta inn reiti fyrir framan',
+ deleteCell : 'Fella reit',
+ merge : 'Sameina reiti',
+ mergeRight : 'Sameina til hægri',
+ mergeDown : 'Sameina niður á við',
+ splitHorizontal : 'Kljúfa reit lárétt',
+ splitVertical : 'Kljúfa reit lóðrétt',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Röð',
+ insertBefore : 'Skjóta inn röð fyrir ofan',
+ insertAfter : 'Skjóta inn röð fyrir neðan',
+ deleteRow : 'Eyða röð'
+ },
+
+ column :
+ {
+ menu : 'Dálkur',
+ insertBefore : 'Skjóta inn dálki vinstra megin',
+ insertAfter : 'Skjóta inn dálki hægra megin',
+ deleteColumn : 'Fella dálk'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Eigindi hnapps',
+ text : 'Texti',
+ type : 'Gerð',
+ typeBtn : 'Hnappur',
+ typeSbm : 'Staðfesta',
+ typeRst : 'Hreinsa'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Eigindi markreits',
+ radioTitle : 'Eigindi valhnapps',
+ value : 'Gildi',
+ selected : 'Valið'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Eigindi innsláttarforms',
+ menu : 'Eigindi innsláttarforms',
+ action : 'Aðgerð',
+ method : 'Aðferð',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Eigindi lista',
+ selectInfo : 'Upplýsingar',
+ opAvail : 'Kostir',
+ value : 'Gildi',
+ size : 'Stærð',
+ lines : 'lÃnur',
+ chkMulti : 'Leyfa fleiri kosti',
+ opText : 'Texti',
+ opValue : 'Gildi',
+ btnAdd : 'Bæta við',
+ btnModify : 'Breyta',
+ btnUp : 'Upp',
+ btnDown : 'Niður',
+ btnSetValue : 'Merkja sem valið',
+ btnDelete : 'Eyða'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Eigindi textasvæðis',
+ cols : 'Dálkar',
+ rows : 'LÃnur'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Eigindi textareits',
+ name : 'Nafn',
+ value : 'Gildi',
+ charWidth : 'Breidd (leturtákn)',
+ maxChars : 'Hámarksfjöldi leturtákna',
+ type : 'Gerð',
+ typeText : 'Texti',
+ typePass : 'Lykilorð'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Eigindi falins svæðis',
+ name : 'Nafn',
+ value : 'Gildi'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Eigindi myndar',
+ titleButton : 'Eigindi myndahnapps',
+ menu : 'Eigindi myndar',
+ infoTab : 'Almennt',
+ btnUpload : 'Hlaða upp',
+ upload : 'Hlaða upp',
+ alt : 'Baklægur texti',
+ width : 'Breidd',
+ height : 'Hæð',
+ lockRatio : 'Festa stærðarhlutfall',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Reikna stærð',
+ border : 'Rammi',
+ hSpace : 'Vinstri bil',
+ vSpace : 'Hægri bil',
+ align : 'Jöfnun',
+ alignLeft : 'Vinstri',
+ alignRight : 'Hægri',
+ alertUrl : 'Sláðu inn slóðina að myndinni',
+ linkTab : 'Stikla',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Eigindi Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Eigindi Flash',
+ chkPlay : 'Sjálfvirk spilun',
+ chkLoop : 'Endurtekning',
+ chkMenu : 'Sýna Flash-valmynd',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Skali',
+ scaleAll : 'Sýna allt',
+ scaleNoBorder : 'Ãn ramma',
+ scaleFit : 'Fella skala að stærð',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Jöfnun',
+ alignLeft : 'Vinstri',
+ alignAbsBottom : 'Abs neðst',
+ alignAbsMiddle : 'Abs miðjuð',
+ alignBaseline : 'GrunnlÃna',
+ alignBottom : 'Neðst',
+ alignMiddle : 'Miðjuð',
+ alignRight : 'Hægri',
+ alignTextTop : 'Efri brún texta',
+ alignTop : 'Efst',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Bakgrunnslitur',
+ width : 'Breidd',
+ height : 'Hæð',
+ hSpace : 'Vinstri bil',
+ vSpace : 'Hægri bil',
+ validateSrc : 'Sláðu inn veffang stiklunnar!',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Villuleit',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Ekki à orðabókinni',
+ changeTo : 'Tillaga',
+ btnIgnore : 'Hunsa',
+ btnIgnoreAll : 'Hunsa allt',
+ btnReplace : 'Skipta',
+ btnReplaceAll : 'Skipta öllu',
+ btnUndo : 'Til baka',
+ noSuggestions : '- engar tillögur -',
+ progress : 'Villuleit à gangi...',
+ noMispell : 'Villuleit lokið: Engin villa fannst',
+ noChanges : 'Villuleit lokið: Engu orði breytt',
+ oneChange : 'Villuleit lokið: Einu orði breytt',
+ manyChanges : 'Villuleit lokið: %1 orðum breytt',
+ ieSpellDownload : 'Villuleit ekki sett upp.<br>Viltu setja hana upp?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Svipur',
+ title : 'Velja svip',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Númeraður listi',
+ bulletedlist : 'Punktalisti',
+ indent : 'Minnka inndrátt',
+ outdent : 'Auka inndrátt',
+
+ justify :
+ {
+ left : 'Vinstrijöfnun',
+ center : 'Miðja texta',
+ right : 'Hægrijöfnun',
+ block : 'Jafna báðum megin'
+ },
+
+ blockquote : 'Inndráttur',
+
+ clipboard :
+ {
+ title : 'LÃma',
+ cutError : 'Ãryggisstillingar vafrans þÃns leyfa ekki klippingu texta með músaraðgerð. Notaðu lyklaborðið à klippa (Ctrl/Cmd+X).',
+ copyError : 'Ãryggisstillingar vafrans þÃns leyfa ekki afritun texta með músaraðgerð. Notaðu lyklaborðið à afrita (Ctrl/Cmd+C).',
+ pasteMsg : 'LÃmdu à svæðið hér að neðan og (<STRONG>Ctrl/Cmd+V</STRONG>) og smelltu á <STRONG>OK</STRONG>.',
+ securityMsg : 'Vegna öryggisstillinga à vafranum þÃnum fær ritillinn ekki beinan aðgang að klippuborðinu. Ãú verður að lÃma innihaldið aftur inn à þennan glugga.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'LÃma úr Word',
+ title : 'LÃma úr Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'LÃma sem ósniðinn texta',
+ title : 'LÃma sem ósniðinn texta'
+ },
+
+ templates :
+ {
+ button : 'Sniðmát',
+ title : 'Innihaldssniðmát',
+ options : 'Template Options', // MISSING
+ insertOption : 'Skipta út raunverulegu innihaldi',
+ selectPromptMsg : 'Veldu sniðmát til að opna à ritlinum.<br>(Núverandi innihald vÃkur fyrir þvÃ!):',
+ emptyListMsg : '(Ekkert sniðmát er skilgreint!)'
+ },
+
+ showBlocks : 'Sýna blokkir',
+
+ stylesCombo :
+ {
+ label : 'StÃlflokkur',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'StÃlsnið',
+ panelTitle : 'StÃlsnið',
+
+ tag_p : 'Venjulegt letur',
+ tag_pre : 'Forsniðið',
+ tag_address : 'Vistfang',
+ tag_h1 : 'Fyrirsögn 1',
+ tag_h2 : 'Fyrirsögn 2',
+ tag_h3 : 'Fyrirsögn 3',
+ tag_h4 : 'Fyrirsögn 4',
+ tag_h5 : 'Fyrirsögn 5',
+ tag_h6 : 'Fyrirsögn 6',
+ tag_div : 'Venjulegt (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Leturgerð ',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Leturgerð '
+ },
+
+ fontSize :
+ {
+ label : 'Leturstærð ',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Leturstærð '
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Litur texta',
+ bgColorTitle : 'Bakgrunnslitur',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Sjálfval',
+ more : 'Fleiri liti...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/it.js b/devel/third-party/ckeditor/lang/it.js
new file mode 100644
index 0000000..1177a13
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/it.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Italian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['it'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Codice Sorgente',
+ newPage : 'Nuova pagina vuota',
+ save : 'Salva',
+ preview : 'Anteprima',
+ cut : 'Taglia',
+ copy : 'Copia',
+ paste : 'Incolla',
+ print : 'Stampa',
+ underline : 'Sottolineato',
+ bold : 'Grassetto',
+ italic : 'Corsivo',
+ selectAll : 'Seleziona tutto',
+ removeFormat : 'Elimina formattazione',
+ strike : 'Barrato',
+ subscript : 'Pedice',
+ superscript : 'Apice',
+ horizontalrule : 'Inserisci riga orizzontale',
+ pagebreak : 'Inserisci interruzione di pagina',
+ unlink : 'Elimina collegamento',
+ undo : 'Annulla',
+ redo : 'Ripristina',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Cerca sul server',
+ url : 'URL',
+ protocol : 'Protocollo',
+ upload : 'Carica',
+ uploadSubmit : 'Invia al server',
+ image : 'Immagine',
+ flash : 'Oggetto Flash',
+ form : 'Modulo',
+ checkbox : 'Checkbox',
+ radio : 'Radio Button',
+ textField : 'Campo di testo',
+ textarea : 'Area di testo',
+ hiddenField : 'Campo nascosto',
+ button : 'Bottone',
+ select : 'Menu di selezione',
+ imageButton : 'Bottone immagine',
+ notSet : '<non impostato>',
+ id : 'Id',
+ name : 'Nome',
+ langDir : 'Direzione scrittura',
+ langDirLtr : 'Da Sinistra a Destra (LTR)',
+ langDirRtl : 'Da Destra a Sinistra (RTL)',
+ langCode : 'Codice Lingua',
+ longDescr : 'URL descrizione estesa',
+ cssClass : 'Nome classe CSS',
+ advisoryTitle : 'Titolo',
+ cssStyle : 'Stile',
+ ok : 'OK',
+ cancel : 'Annulla',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Generale',
+ advancedTab : 'Avanzate',
+ validateNumberFailed : 'Il valore inserito non è un numero.',
+ confirmNewPage : 'Ogni modifica non salvata sarà persa. Sei sicuro di voler caricare una nuova pagina?',
+ confirmCancel : 'Alcune delle opzioni sono state cambiate. Sei sicuro di voler chiudere la finestra di dialogo?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, non disponibile</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Inserisci carattere speciale',
+ title : 'Seleziona carattere speciale',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Inserisci/Modifica collegamento',
+ other : '<altro>',
+ menu : 'Modifica collegamento',
+ title : 'Collegamento',
+ info : 'Informazioni collegamento',
+ target : 'Destinazione',
+ upload : 'Carica',
+ advanced : 'Avanzate',
+ type : 'Tipo di Collegamento',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Ancora nella pagina',
+ toEmail : 'E-Mail',
+ targetFrame : '<riquadro>',
+ targetPopup : '<finestra popup>',
+ targetFrameName : 'Nome del riquadro di destinazione',
+ targetPopupName : 'Nome finestra popup',
+ popupFeatures : 'Caratteristiche finestra popup',
+ popupResizable : 'Ridimensionabile',
+ popupStatusBar : 'Barra di stato',
+ popupLocationBar: 'Barra degli indirizzi',
+ popupToolbar : 'Barra degli strumenti',
+ popupMenuBar : 'Barra del menu',
+ popupFullScreen : 'A tutto schermo (IE)',
+ popupScrollBars : 'Barre di scorrimento',
+ popupDependent : 'Dipendente (Netscape)',
+ popupWidth : 'Larghezza',
+ popupLeft : 'Posizione da sinistra',
+ popupHeight : 'Altezza',
+ popupTop : 'Posizione dall\'alto',
+ id : 'Id',
+ langDir : 'Direzione scrittura',
+ langDirLTR : 'Da Sinistra a Destra (LTR)',
+ langDirRTL : 'Da Destra a Sinistra (RTL)',
+ acccessKey : 'Scorciatoia<br />da tastiera',
+ name : 'Nome',
+ langCode : 'Direzione scrittura',
+ tabIndex : 'Ordine di tabulazione',
+ advisoryTitle : 'Titolo',
+ advisoryContentType : 'Tipo della risorsa collegata',
+ cssClasses : 'Nome classe CSS',
+ charset : 'Set di caretteri della risorsa collegata',
+ styles : 'Stile',
+ selectAnchor : 'Scegli Ancora',
+ anchorName : 'Per Nome',
+ anchorId : 'Per id elemento',
+ emailAddress : 'Indirizzo E-Mail',
+ emailSubject : 'Oggetto del messaggio',
+ emailBody : 'Corpo del messaggio',
+ noAnchors : '(Nessuna ancora disponibile nel documento)',
+ noUrl : 'Devi inserire l\'URL del collegamento',
+ noEmail : 'Devi inserire un\'indirizzo e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Inserisci/Modifica Ancora',
+ menu : 'Proprietà ancora',
+ title : 'Proprietà ancora',
+ name : 'Nome ancora',
+ errorName : 'Inserici il nome dell\'ancora'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Cerca e Sostituisci',
+ find : 'Trova',
+ replace : 'Sostituisci',
+ findWhat : 'Trova:',
+ replaceWith : 'Sostituisci con:',
+ notFoundMsg : 'L\'elemento cercato non è stato trovato.',
+ matchCase : 'Maiuscole/minuscole',
+ matchWord : 'Solo parole intere',
+ matchCyclic : 'Ricerca ciclica',
+ replaceAll : 'Sostituisci tutto',
+ replaceSuccessMsg : '%1 occorrenza(e) sostituite.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabella',
+ title : 'Proprietà tabella',
+ menu : 'Proprietà tabella',
+ deleteTable : 'Cancella Tabella',
+ rows : 'Righe',
+ columns : 'Colonne',
+ border : 'Dimensione bordo',
+ align : 'Allineamento',
+ alignLeft : 'Sinistra',
+ alignCenter : 'Centrato',
+ alignRight : 'Destra',
+ width : 'Larghezza',
+ widthPx : 'pixel',
+ widthPc : 'percento',
+ widthUnit : 'width unit', // MISSING
+ height : 'Altezza',
+ cellSpace : 'Spaziatura celle',
+ cellPad : 'Padding celle',
+ caption : 'Intestazione',
+ summary : 'Indice',
+ headers : 'Intestazione',
+ headersNone : 'Nessuna',
+ headersColumn : 'Prima Colonna',
+ headersRow : 'Prima Riga',
+ headersBoth : 'Entrambe',
+ invalidRows : 'Il numero di righe dev\'essere un numero maggiore di 0.',
+ invalidCols : 'Il numero di colonne dev\'essere un numero maggiore di 0.',
+ invalidBorder : 'La dimensione del bordo dev\'essere un numero.',
+ invalidWidth : 'La larghezza della tabella dev\'essere un numero.',
+ invalidHeight : 'L\'altezza della tabella dev\'essere un numero.',
+ invalidCellSpacing : 'La spaziatura tra le celle dev\'essere un numero.',
+ invalidCellPadding : 'Il pagging delle celle dev\'essere un numero',
+
+ cell :
+ {
+ menu : 'Cella',
+ insertBefore : 'Inserisci Cella Prima',
+ insertAfter : 'Inserisci Cella Dopo',
+ deleteCell : 'Elimina celle',
+ merge : 'Unisce celle',
+ mergeRight : 'Unisci a Destra',
+ mergeDown : 'Unisci in Basso',
+ splitHorizontal : 'Dividi Cella Orizzontalmente',
+ splitVertical : 'Dividi Cella Verticalmente',
+ title : 'Proprietà della cella',
+ cellType : 'Tipo di cella',
+ rowSpan : 'Su più righe',
+ colSpan : 'Su più colonne',
+ wordWrap : 'Ritorno a capo',
+ hAlign : 'Allineamento orizzontale',
+ vAlign : 'Allineamento verticale',
+ alignTop : 'In Alto',
+ alignMiddle : 'Al Centro',
+ alignBottom : 'In Basso',
+ alignBaseline : 'Linea Base',
+ bgColor : 'Colore di Sfondo',
+ borderColor : 'Colore del Bordo',
+ data : 'Dati',
+ header : 'Intestazione',
+ yes : 'Si',
+ no : 'No',
+ invalidWidth : 'La larghezza della cella dev\'essere un numero.',
+ invalidHeight : 'L\'altezza della cella dev\'essere un numero.',
+ invalidRowSpan : 'Il numero di righe dev\'essere un numero intero.',
+ invalidColSpan : 'Il numero di colonne dev\'essere un numero intero.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Riga',
+ insertBefore : 'Inserisci Riga Prima',
+ insertAfter : 'Inserisci Riga Dopo',
+ deleteRow : 'Elimina righe'
+ },
+
+ column :
+ {
+ menu : 'Colonna',
+ insertBefore : 'Inserisci Colonna Prima',
+ insertAfter : 'Inserisci Colonna Dopo',
+ deleteColumn : 'Elimina colonne'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Proprietà bottone',
+ text : 'Testo (Value)',
+ type : 'Tipo',
+ typeBtn : 'Bottone',
+ typeSbm : 'Invio',
+ typeRst : 'Annulla'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Proprietà checkbox',
+ radioTitle : 'Proprietà radio button',
+ value : 'Valore',
+ selected : 'Selezionato'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Proprietà modulo',
+ menu : 'Proprietà modulo',
+ action : 'Azione',
+ method : 'Metodo',
+ encoding : 'Codifica'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Proprietà menu di selezione',
+ selectInfo : 'Info',
+ opAvail : 'Opzioni disponibili',
+ value : 'Valore',
+ size : 'Dimensione',
+ lines : 'righe',
+ chkMulti : 'Permetti selezione multipla',
+ opText : 'Testo',
+ opValue : 'Valore',
+ btnAdd : 'Aggiungi',
+ btnModify : 'Modifica',
+ btnUp : 'Su',
+ btnDown : 'Gi',
+ btnSetValue : 'Imposta come predefinito',
+ btnDelete : 'Rimuovi'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Proprietà area di testo',
+ cols : 'Colonne',
+ rows : 'Righe'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Proprietà campo di testo',
+ name : 'Nome',
+ value : 'Valore',
+ charWidth : 'Larghezza',
+ maxChars : 'Numero massimo di caratteri',
+ type : 'Tipo',
+ typeText : 'Testo',
+ typePass : 'Password'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Proprietà campo nascosto',
+ name : 'Nome',
+ value : 'Valore'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Proprietà immagine',
+ titleButton : 'Proprietà bottone immagine',
+ menu : 'Proprietà immagine',
+ infoTab : 'Informazioni immagine',
+ btnUpload : 'Invia al server',
+ upload : 'Carica',
+ alt : 'Testo alternativo',
+ width : 'Larghezza',
+ height : 'Altezza',
+ lockRatio : 'Blocca rapporto',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Reimposta dimensione',
+ border : 'Bordo',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Allineamento',
+ alignLeft : 'Sinistra',
+ alignRight : 'Destra',
+ alertUrl : 'Devi inserire l\'URL per l\'immagine',
+ linkTab : 'Collegamento',
+ button2Img : 'Vuoi trasformare il bottone immagine selezionato in un\'immagine semplice?',
+ img2Button : 'Vuoi trasferomare l\'immagine selezionata in un bottone immagine?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Proprietà Oggetto Flash',
+ propertiesTab : 'Proprietà ',
+ title : 'Proprietà Oggetto Flash',
+ chkPlay : 'Avvio Automatico',
+ chkLoop : 'Riavvio automatico',
+ chkMenu : 'Abilita Menu di Flash',
+ chkFull : 'Permetti la modalità tutto schermo',
+ scale : 'Ridimensiona',
+ scaleAll : 'Mostra Tutto',
+ scaleNoBorder : 'Senza Bordo',
+ scaleFit : 'Dimensione Esatta',
+ access : 'Accesso Script',
+ accessAlways : 'Sempre',
+ accessSameDomain: 'Solo stesso dominio',
+ accessNever : 'Mai',
+ align : 'Allineamento',
+ alignLeft : 'Sinistra',
+ alignAbsBottom : 'In basso assoluto',
+ alignAbsMiddle : 'Centrato assoluto',
+ alignBaseline : 'Linea base',
+ alignBottom : 'In Basso',
+ alignMiddle : 'Centrato',
+ alignRight : 'Destra',
+ alignTextTop : 'In alto al testo',
+ alignTop : 'In Alto',
+ quality : 'Qualità ',
+ qualityBest : 'Massima',
+ qualityHigh : 'Alta',
+ qualityAutoHigh : 'Alta Automatica',
+ qualityMedium : 'Intermedia',
+ qualityAutoLow : 'Bassa Automatica',
+ qualityLow : 'Bassa',
+ windowModeWindow: 'Finestra',
+ windowModeOpaque: 'Opaca',
+ windowModeTransparent : 'Trasparente',
+ windowMode : 'Modalità finestra',
+ flashvars : 'Variabili per Flash',
+ bgcolor : 'Colore sfondo',
+ width : 'Larghezza',
+ height : 'Altezza',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'Devi inserire l\'URL del collegamento',
+ validateWidth : 'La Larghezza dev\'essere un numero',
+ validateHeight : 'L\'altezza dev\'essere un numero',
+ validateHSpace : 'L\'HSpace dev\'essere un numero.',
+ validateVSpace : 'Il VSpace dev\'essere un numero.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Correttore ortografico',
+ title : 'Controllo ortografico',
+ notAvailable : 'Il servizio non è momentaneamente disponibile.',
+ errorLoading : 'Errore nel caricamento dell\'host col servizio applicativo: %s.',
+ notInDic : 'Non nel dizionario',
+ changeTo : 'Cambia in',
+ btnIgnore : 'Ignora',
+ btnIgnoreAll : 'Ignora tutto',
+ btnReplace : 'Cambia',
+ btnReplaceAll : 'Cambia tutto',
+ btnUndo : 'Annulla',
+ noSuggestions : '- Nessun suggerimento -',
+ progress : 'Controllo ortografico in corso',
+ noMispell : 'Controllo ortografico completato: nessun errore trovato',
+ noChanges : 'Controllo ortografico completato: nessuna parola cambiata',
+ oneChange : 'Controllo ortografico completato: 1 parola cambiata',
+ manyChanges : 'Controllo ortografico completato: %1 parole cambiate',
+ ieSpellDownload : 'Contollo ortografico non installato. Lo vuoi scaricare ora?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emoticon',
+ title : 'Inserisci emoticon',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 elemento'
+ },
+
+ numberedlist : 'Elenco numerato',
+ bulletedlist : 'Elenco puntato',
+ indent : 'Aumenta rientro',
+ outdent : 'Riduci rientro',
+
+ justify :
+ {
+ left : 'Allinea a sinistra',
+ center : 'Centra',
+ right : 'Allinea a destra',
+ block : 'Giustifica'
+ },
+
+ blockquote : 'Citazione',
+
+ clipboard :
+ {
+ title : 'Incolla',
+ cutError : 'Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+X).',
+ copyError : 'Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl/Cmd+C).',
+ pasteMsg : 'Incolla il testo all\'interno dell\'area sottostante usando la scorciatoia di tastiere (<STRONG>Ctrl/Cmd+V</STRONG>) e premi <STRONG>OK</STRONG>.',
+ securityMsg : 'A causa delle impostazioni di sicurezza del browser,l\'editor non è in grado di accedere direttamente agli appunti. E\' pertanto necessario incollarli di nuovo in questa finestra.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?',
+ toolbar : 'Incolla da Word',
+ title : 'Incolla da Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Incolla come testo semplice',
+ title : 'Incolla come testo semplice'
+ },
+
+ templates :
+ {
+ button : 'Modelli',
+ title : 'Contenuto dei modelli',
+ options : 'Template Options', // MISSING
+ insertOption : 'Cancella il contenuto corrente',
+ selectPromptMsg : 'Seleziona il modello da aprire nell\'editor<br />(il contenuto attuale verrà eliminato):',
+ emptyListMsg : '(Nessun modello definito)'
+ },
+
+ showBlocks : 'Visualizza Blocchi',
+
+ stylesCombo :
+ {
+ label : 'Stile',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Stili per blocchi',
+ panelTitle2 : 'Stili in linea',
+ panelTitle3 : 'Stili per oggetti'
+ },
+
+ format :
+ {
+ label : 'Formato',
+ panelTitle : 'Formato',
+
+ tag_p : 'Normale',
+ tag_pre : 'Formattato',
+ tag_address : 'Indirizzo',
+ tag_h1 : 'Titolo 1',
+ tag_h2 : 'Titolo 2',
+ tag_h3 : 'Titolo 3',
+ tag_h4 : 'Titolo 4',
+ tag_h5 : 'Titolo 5',
+ tag_h6 : 'Titolo 6',
+ tag_div : 'Paragrafo (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font',
+ panelTitle : 'Font'
+ },
+
+ fontSize :
+ {
+ label : 'Dimensione',
+ voiceLabel : 'Dimensione Font',
+ panelTitle : 'Dimensione'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Colore testo',
+ bgColorTitle : 'Colore sfondo',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatico',
+ more : 'Altri colori...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Controllo Ortografico Mentre Scrivi',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Abilita COMS',
+ disable : 'Disabilita COMS',
+ about : 'About COMS',
+ toggle : 'Inverti abilitazione SCOMS',
+ options : 'Opzioni',
+ langs : 'Lingue',
+ moreSuggestions : 'Altri suggerimenti',
+ ignore : 'Ignora',
+ ignoreAll : 'Ignora tutti',
+ addWord : 'Aggiungi Parola',
+ emptyDic : 'Il nome del dizionario non può essere vuoto.',
+
+ optionsTab : 'Opzioni',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Lingue',
+
+ dictionariesTab : 'Dizionari',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About'
+ },
+
+ about :
+ {
+ title : 'About CKEditor',
+ dlgTitle : 'About CKEditor',
+ moreInfo : 'Per le informazioni sulla licenza si prega di visitare il nostro sito:',
+ copy : 'Copyright © $1. Tutti i diritti riservati.'
+ },
+
+ maximize : 'Massimizza',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Ancora',
+ flash : 'Animazione Flash',
+ div : 'Interruzione di Pagina',
+ unknown : 'Oggetto sconosciuto'
+ },
+
+ resize : 'Trascina per ridimensionare',
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/ja.js b/devel/third-party/ckeditor/lang/ja.js
new file mode 100644
index 0000000..a006c8b
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/ja.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Japanese language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ja'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'ã½ã¼ã¹',
+ newPage : 'æ°ãããã¼ã¸',
+ save : 'ä¿å',
+ preview : 'ãã¬ãã¥ã¼',
+ cut : 'åãåã',
+ copy : 'ã³ãã¼',
+ paste : 'è²¼ãä»ã',
+ print : 'å°å·',
+ underline : 'ä¸ç·',
+ bold : '太å',
+ italic : 'æä½',
+ selectAll : 'ãã¹ã¦é¸æ',
+ removeFormat : 'ãã©ã¼ãããåé¤',
+ strike : 'æã¡æ¶ãç·',
+ subscript : 'æ·»ãå',
+ superscript : 'ä¸ä»ãæå',
+ horizontalrule : '横罫ç·',
+ pagebreak : 'æ¹ãã¼ã¸æ¿å
¥',
+ unlink : 'ãªã³ã¯åé¤',
+ undo : 'å
ã«æ»ã',
+ redo : 'ããç´ã',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ãµã¼ãã¼ãã©ã¦ã¶ã¼',
+ url : 'URL',
+ protocol : 'ãããã³ã«',
+ upload : 'ã¢ãããã¼ã',
+ uploadSubmit : 'ãµã¼ãã¼ã«éä¿¡',
+ image : 'ã¤ã¡ã¼ã¸',
+ flash : 'Flash',
+ form : 'ãã©ã¼ã ',
+ checkbox : 'ãã§ãã¯ããã¯ã¹',
+ radio : 'ã©ã¸ãªãã¿ã³',
+ textField : 'ï¼è¡ããã¹ã',
+ textarea : 'ããã¹ãã¨ãªã¢',
+ hiddenField : 'ä¸å¯è¦ãã£ã¼ã«ã',
+ button : 'ãã¿ã³',
+ select : 'é¸æãã£ã¼ã«ã',
+ imageButton : 'ç»åãã¿ã³',
+ notSet : '<ãªã>',
+ id : 'Id',
+ name : 'Nameå±æ§',
+ langDir : 'æå表è¨ã®æ¹å',
+ langDirLtr : 'å·¦ããå³ (LTR)',
+ langDirRtl : 'å³ããå·¦ (RTL)',
+ langCode : 'è¨èªã³ã¼ã',
+ longDescr : 'longdescå±æ§(é·æ説æ)',
+ cssClass : 'ã¹ã¿ã¤ã«ã·ã¼ãã¯ã©ã¹',
+ advisoryTitle : 'Titleå±æ§',
+ cssStyle : 'ã¹ã¿ã¤ã«ã·ã¼ã',
+ ok : 'OK',
+ cancel : 'ãã£ã³ã»ã«',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'å
¨è¬',
+ advancedTab : 'é«åº¦ãªè¨å®',
+ validateNumberFailed : 'å¤ãæ°ã§ã¯ããã¾ãã',
+ confirmNewPage : 'å¤æ´å
容ãä¿åããã æ°ãããã¼ã¸ãéãã¦ãããããã§ããããï¼',
+ confirmCancel : 'ãªãã·ã§ã³è¨å®ãå¤æ´ãã¾ããããã¤ã¢ãã°ãéãã¦ãããããã§ããããï¼',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, å©ç¨ä¸å¯è½</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'ç¹æ®æåæ¿å
¥',
+ title : 'ç¹æ®æåé¸æ',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'ãªã³ã¯æ¿å
¥/ç·¨é',
+ other : '<ãã®ä»ã®>',
+ menu : 'ãªã³ã¯ç·¨é',
+ title : 'ãã¤ãã¼ãªã³ã¯',
+ info : 'ãã¤ãã¼ãªã³ã¯ æ
å ±',
+ target : 'ã¿ã¼ã²ãã',
+ upload : 'ã¢ãããã¼ã',
+ advanced : 'é«åº¦ãªè¨å®',
+ type : 'ãªã³ã¯ã¿ã¤ã',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ãã®ãã¼ã¸ã®ã¢ã³ã«ã¼',
+ toEmail : 'E-Mail',
+ targetFrame : '<ãã¬ã¼ã >',
+ targetPopup : '<ãããã¢ããã¦ã£ã³ãã¦>',
+ targetFrameName : 'ç®çã®ãã¬ã¼ã å',
+ targetPopupName : 'ãããã¢ããã¦ã£ã³ãã¦å',
+ popupFeatures : 'ãããã¢ããã¦ã£ã³ãã¦ç¹å¾´',
+ popupResizable : 'ãµã¤ãºå¯å¤',
+ popupStatusBar : 'ã¹ãã¼ã¿ã¹ãã¼',
+ popupLocationBar: 'ãã±ã¼ã·ã§ã³ãã¼',
+ popupToolbar : 'ãã¼ã«ãã¼',
+ popupMenuBar : 'ã¡ãã¥ã¼ãã¼',
+ popupFullScreen : 'å
¨ç»é¢ã¢ã¼ã(IE)',
+ popupScrollBars : 'ã¹ã¯ãã¼ã«ãã¼',
+ popupDependent : 'éããã¦ã£ã³ãã¦ã«é£åãã¦éãã (Netscape)',
+ popupWidth : 'å¹
',
+ popupLeft : '左端ããã®åº§æ¨ã§æå®',
+ popupHeight : 'é«ã',
+ popupTop : 'ä¸ç«¯ããã®åº§æ¨ã§æå®',
+ id : 'Id',
+ langDir : 'æå表è¨ã®æ¹å',
+ langDirLTR : 'å·¦ããå³ (LTR)',
+ langDirRTL : 'å³ããå·¦ (RTL)',
+ acccessKey : 'ã¢ã¯ã»ã¹ãã¼',
+ name : 'Nameå±æ§',
+ langCode : 'æå表è¨ã®æ¹å',
+ tabIndex : 'ã¿ãã¤ã³ããã¯ã¹',
+ advisoryTitle : 'Titleå±æ§',
+ advisoryContentType : 'Content Typeå±æ§',
+ cssClasses : 'ã¹ã¿ã¤ã«ã·ã¼ãã¯ã©ã¹',
+ charset : 'ãªã³ã¯charsetå±æ§',
+ styles : 'ã¹ã¿ã¤ã«ã·ã¼ã',
+ selectAnchor : 'ã¢ã³ã«ã¼ãé¸æ',
+ anchorName : 'ã¢ã³ã«ã¼å',
+ anchorId : 'ã¨ã¬ã¡ã³ãID',
+ emailAddress : 'E-Mail ã¢ãã¬ã¹',
+ emailSubject : '件å',
+ emailBody : 'æ¬æ',
+ noAnchors : '(ããã¥ã¡ã³ãã«ããã¦å©ç¨å¯è½ãªã¢ã³ã«ã¼ã¯ããã¾ããã)',
+ noUrl : 'ãªã³ã¯URLãå
¥åãã¦ãã ããã',
+ noEmail : 'ã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ããã'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'ã¢ã³ã«ã¼æ¿å
¥/ç·¨é',
+ menu : 'ã¢ã³ã«ã¼ ããããã£',
+ title : 'ã¢ã³ã«ã¼ ããããã£',
+ name : 'ã¢ã³ã«ã¼å',
+ errorName : 'ã¢ã³ã«ã¼åãå¿
ãå
¥åãã¦ãã ããã'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'æ¤ç´¢ãã¦ç½®æ',
+ find : 'æ¤ç´¢',
+ replace : 'ç½®ãæã',
+ findWhat : 'æ¤ç´¢ããæåå:',
+ replaceWith : 'ç½®æãããæåå:',
+ notFoundMsg : 'æå®ãããæååã¯è¦ã¤ããã¾ããã§ããã',
+ matchCase : '大æåã¨å°æåãåºå¥ãã',
+ matchWord : 'åèªåä½ã§æ¢ã',
+ matchCyclic : 'ä¸å¨ãã',
+ replaceAll : 'ãã¹ã¦ç½®æã',
+ replaceSuccessMsg : '%1 åç½®æãã¾ããã'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'ãã¼ãã«',
+ title : 'ãã¼ãã« ããããã£',
+ menu : 'ãã¼ãã« ããããã£',
+ deleteTable : 'ãã¼ãã«åé¤',
+ rows : 'è¡',
+ columns : 'å',
+ border : 'ãã¼ãã¼ãµã¤ãº',
+ align : 'ãã¼ãã«ã®æ´å',
+ alignLeft : 'å·¦',
+ alignCenter : 'ä¸å¤®',
+ alignRight : 'å³',
+ width : 'å¹
',
+ widthPx : 'ãã¯ã»ã«',
+ widthPc : 'ãã¼ã»ã³ã',
+ widthUnit : 'width unit', // MISSING
+ height : 'é«ã',
+ cellSpace : 'ã»ã«å
ä½ç½',
+ cellPad : 'ã»ã«å
éé',
+ caption : 'ãã£ãã·ã§ã³',
+ summary : 'ãã¼ãã«ã®æ¦è¦',
+ headers : 'ãã¼ãã«ããã(th)',
+ headersNone : 'ãªã',
+ headersColumn : 'åãã®åã®ã¿',
+ headersRow : 'åãã®è¡ã®ã¿',
+ headersBoth : '両æ¹',
+ invalidRows : 'è¡ã¯0ãã大ããªæ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidCols : 'åã¯0ãã大ããªæ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidBorder : 'ãã¼ãã¼ãµã¤ãºã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidWidth : 'å¹
ã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidHeight : 'é«ãã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidCellSpacing : 'ã»ã«å
ä½ç½ã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidCellPadding : 'ã»ã«å
ééã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+
+ cell :
+ {
+ menu : 'ã»ã«',
+ insertBefore : 'ã»ã«ã®åã«æ¿å
¥',
+ insertAfter : 'ã»ã«ã®å¾ã«æ¿å
¥',
+ deleteCell : 'ã»ã«åé¤',
+ merge : 'ã»ã«çµå',
+ mergeRight : 'å³ã«çµå',
+ mergeDown : 'ä¸ã«çµå',
+ splitHorizontal : 'ã»ã«ãæ°´å¹³æ¹ååå²',
+ splitVertical : 'ã»ã«ãåç´æ¹åã«åå²',
+ title : 'ã»ã«ããããã£',
+ cellType : 'ã»ã«ã¿ã¤ã',
+ rowSpan : '縦å¹
(è¡æ°)',
+ colSpan : '横å¹
(åæ°)',
+ wordWrap : 'æãè¿ã',
+ hAlign : 'ã»ã«æ¨ªã®æ´å',
+ vAlign : 'ã»ã«ç¸¦ã®æ´å',
+ alignTop : 'ä¸',
+ alignMiddle : 'ä¸å¤®',
+ alignBottom : 'ä¸',
+ alignBaseline : 'ãã¼ã¹ã©ã¤ã³',
+ bgColor : 'èæ¯è²',
+ borderColor : 'ãã¼ãã¼ã«ã©ã¼',
+ data : 'ãã¼ãã«ãã¼ã¿(td)',
+ header : 'ãã¼ãã«ããã(th)',
+ yes : 'Yes',
+ no : 'No',
+ invalidWidth : 'ã»ã«å¹
ã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidHeight : 'ã»ã«é«ãã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidRowSpan : '縦å¹
(è¡æ°)ã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ invalidColSpan : '横å¹
(åæ°)ã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ chooseColor : 'è²ã®é¸æ'
+ },
+
+ row :
+ {
+ menu : 'è¡',
+ insertBefore : 'è¡ã®åã«æ¿å
¥',
+ insertAfter : 'è¡ã®å¾ã«æ¿å
¥',
+ deleteRow : 'è¡åé¤'
+ },
+
+ column :
+ {
+ menu : 'ã«ã©ã ',
+ insertBefore : 'ã«ã©ã ã®åã«æ¿å
¥',
+ insertAfter : 'ã«ã©ã ã®å¾ã«æ¿å
¥',
+ deleteColumn : 'ååé¤'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ãã¿ã³ ããããã£',
+ text : 'ããã¹ã (å¤)',
+ type : 'ã¿ã¤ã',
+ typeBtn : 'ãã¿ã³',
+ typeSbm : 'éä¿¡',
+ typeRst : 'ãªã»ãã'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ãã§ãã¯ããã¯ã¹ ããããã£',
+ radioTitle : 'ã©ã¸ãªãã¿ã³ ããããã£',
+ value : 'å¤',
+ selected : 'é¸ææ¸ã¿'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ãã©ã¼ã ããããã£',
+ menu : 'ãã©ã¼ã ããããã£',
+ action : 'ã¢ã¯ã·ã§ã³',
+ method : 'ã¡ã½ãã',
+ encoding : 'ã¨ã³ã³ã¼ãã£ã³ã°'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'é¸æãã£ã¼ã«ã ããããã£',
+ selectInfo : 'æ
å ±',
+ opAvail : 'å©ç¨å¯è½ãªãªãã·ã§ã³',
+ value : 'é¸æé
ç®å¤',
+ size : 'ãµã¤ãº',
+ lines : 'è¡',
+ chkMulti : 'è¤æ°é
ç®é¸æã許å¯',
+ opText : 'é¸æé
ç®å',
+ opValue : 'å¤',
+ btnAdd : '追å ',
+ btnModify : 'ç·¨é',
+ btnUp : 'ä¸ã¸',
+ btnDown : 'ä¸ã¸',
+ btnSetValue : 'é¸æããå¤ãè¨å®',
+ btnDelete : 'åé¤'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ããã¹ãã¨ãªã¢ ããããã£',
+ cols : 'å',
+ rows : 'è¡'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ï¼è¡ããã¹ã ããããã£',
+ name : 'åå',
+ value : 'å¤',
+ charWidth : 'ãµã¤ãº',
+ maxChars : 'æ大é·',
+ type : 'ã¿ã¤ã',
+ typeText : 'ããã¹ã',
+ typePass : 'ãã¹ã¯ã¼ãå
¥å'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ä¸å¯è¦ãã£ã¼ã«ã ããããã£',
+ name : 'åå',
+ value : 'å¤'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ã¤ã¡ã¼ã¸ ããããã£',
+ titleButton : 'ç»åãã¿ã³ ããããã£',
+ menu : 'ã¤ã¡ã¼ã¸ ããããã£',
+ infoTab : 'ã¤ã¡ã¼ã¸ æ
å ±',
+ btnUpload : 'ãµã¼ãã¼ã«éä¿¡',
+ upload : 'ã¢ãããã¼ã',
+ alt : '代æ¿ããã¹ã',
+ width : 'å¹
',
+ height : 'é«ã',
+ lockRatio : 'ããã¯æ¯ç',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'ãµã¤ãºãªã»ãã',
+ border : 'ãã¼ãã¼',
+ hSpace : '横éé',
+ vSpace : '縦éé',
+ align : 'è¡æã',
+ alignLeft : 'å·¦',
+ alignRight : 'å³',
+ alertUrl : 'ã¤ã¡ã¼ã¸ã®URLãå
¥åãã¦ãã ããã',
+ linkTab : 'ãªã³ã¯',
+ button2Img : 'é¸æãããã¿ã³ãç»åã«ç½®ãæãã¾ããï¼',
+ img2Button : 'é¸æããç»åããã¿ã³ã«ç½®ãæãã¾ããï¼',
+ urlMissing : 'ã¤ã¡ã¼ã¸ã®URLãå
¥åãã¦ãã ããã',
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash ããããã£',
+ propertiesTab : 'ããããã£',
+ title : 'Flash ããããã£',
+ chkPlay : 'åç',
+ chkLoop : 'ã«ã¼ãåç',
+ chkMenu : 'Flashã¡ãã¥ã¼å¯è½',
+ chkFull : 'ãã«ã¹ã¯ãªã¼ã³è¨±å¯',
+ scale : 'æ¡å¤§ç¸®å°è¨å®',
+ scaleAll : 'ãã¹ã¦è¡¨ç¤º',
+ scaleNoBorder : 'å¤ãè¦ããªãæ§ã«æ¡å¤§',
+ scaleFit : 'ä¸ä¸å·¦å³ã«ãã£ãã',
+ access : 'ã¹ããªã¯ãã¢ã¯ã»ã¹(AllowScriptAccess)',
+ accessAlways : 'ãã¹ã¦ã®å ´åã«éä¿¡å¯è½(Always)',
+ accessSameDomain: 'åä¸ãã¡ã¤ã³ã®ã¿ã«éä¿¡å¯è½(Same domain)',
+ accessNever : 'ãã¹ã¦ã®å ´åã«éä¿¡ä¸å¯è½(Never)',
+ align : 'è¡æã',
+ alignLeft : 'å·¦',
+ alignAbsBottom : 'ä¸é¨(絶対ç)',
+ alignAbsMiddle : 'ä¸å¤®(絶対ç)',
+ alignBaseline : 'ãã¼ã¹ã©ã¤ã³',
+ alignBottom : 'ä¸',
+ alignMiddle : 'ä¸å¤®',
+ alignRight : 'å³',
+ alignTextTop : 'ããã¹ãä¸é¨',
+ alignTop : 'ä¸',
+ quality : 'ç»è³ª',
+ qualityBest : 'å質åªå
',
+ qualityHigh : 'é«',
+ qualityAutoHigh : 'èªå/é«',
+ qualityMedium : 'ä¸',
+ qualityAutoLow : 'èªå/ä½',
+ qualityLow : 'ä½',
+ windowModeWindow: 'æ¨æº',
+ windowModeOpaque: 'èæ¯ãä¸éæè¨å®',
+ windowModeTransparent : 'èæ¯ãééè¨å®',
+ windowMode : 'ã¦ã£ã³ãã¦ã¢ã¼ã',
+ flashvars : 'ãã©ãã·ã¥ã«æ¸¡ãå¤æ°(FlashVars)',
+ bgcolor : 'èæ¯è²',
+ width : 'å¹
',
+ height : 'é«ã',
+ hSpace : '横éé',
+ vSpace : '縦éé',
+ validateSrc : 'ãªã³ã¯URLãå
¥åãã¦ãã ããã',
+ validateWidth : 'å¹
ã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ validateHeight : 'é«ãã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ validateHSpace : '横ééã¯æ°å¤ã§å
¥åãã¦ãã ããã',
+ validateVSpace : '縦ééã¯æ°å¤ã§å
¥åãã¦ãã ããã'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'ã¹ãã«ãã§ãã¯',
+ title : 'ã¹ãã«ãã§ãã¯',
+ notAvailable : 'ç³ã訳ããã¾ãããç¾å¨ãµã¼ãã¹ãå©ç¨ãããã¨ãã§ãã¾ãã',
+ errorLoading : 'ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¹ãã¹ãèªè¾¼ã¿ã¨ã©ã¼: %s.',
+ notInDic : 'è¾æ¸ã«ããã¾ãã',
+ changeTo : 'å¤æ´',
+ btnIgnore : 'ç¡è¦',
+ btnIgnoreAll : 'ãã¹ã¦ç¡è¦',
+ btnReplace : 'ç½®æ',
+ btnReplaceAll : 'ãã¹ã¦ç½®æ',
+ btnUndo : 'ããç´ã',
+ noSuggestions : '- 該å½ãªã -',
+ progress : 'ã¹ãã«ãã§ãã¯å¦çä¸...',
+ noMispell : 'ã¹ãã«ãã§ãã¯å®äº: ã¹ãã«ã®èª¤ãã¯ããã¾ããã§ãã',
+ noChanges : 'ã¹ãã«ãã§ãã¯å®äº: èªå¥ã¯å¤æ´ããã¾ããã§ãã',
+ oneChange : 'ã¹ãã«ãã§ãã¯å®äº: ï¼èªå¥å¤æ´ããã¾ãã',
+ manyChanges : 'ã¹ãã«ãã§ãã¯å®äº: %1 èªå¥å¤æ´ããã¾ãã',
+ ieSpellDownload : 'ã¹ãã«ãã§ãã«ã¼ãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãããä»ãããã¦ã³ãã¼ããã¾ãã?'
+ },
+
+ smiley :
+ {
+ toolbar : 'çµµæå',
+ title : 'é¡æåæ¿å
¥',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 ã¨ã¬ã¡ã³ã'
+ },
+
+ numberedlist : '段è½çªå·',
+ bulletedlist : 'ç®æ¡æ¸ã',
+ indent : 'ã¤ã³ãã³ã',
+ outdent : 'ã¤ã³ãã³ã解é¤',
+
+ justify :
+ {
+ left : 'å·¦æã',
+ center : 'ä¸å¤®æã',
+ right : 'å³æã',
+ block : '両端æã'
+ },
+
+ blockquote : 'ãããã¯å¼ç¨',
+
+ clipboard :
+ {
+ title : 'è²¼ãä»ã',
+ cutError : 'ãã©ã¦ã¶ã¼ã®ã»ãã¥ãªãã£è¨å®ã«ããã¨ãã£ã¿ã®åãåãæä½ãèªåã§å®è¡ãããã¨ãã§ãã¾ãããå®è¡ããã«ã¯æåã§ãã¼ãã¼ãã®(Ctrl/Cmd+X)ã使ç¨ãã¦ãã ããã',
+ copyError : 'ãã©ã¦ã¶ã¼ã®ã»ãã¥ãªãã£è¨å®ã«ããã¨ãã£ã¿ã®ã³ãã¼æä½ãèªåã§å®è¡ãããã¨ãã§ãã¾ãããå®è¡ããã«ã¯æåã§ãã¼ãã¼ãã®(Ctrl/Cmd+C)ã使ç¨ãã¦ãã ããã',
+ pasteMsg : 'ãã¼ãã¼ã(<STRONG>Ctrl/Cmd+V</STRONG>)ã使ç¨ãã¦ã次ã®å
¥åã¨ãªã¢å
ã§è²¼ã£ã¦ã<STRONG>OK</STRONG>ãæ¼ãã¦ãã ããã',
+ securityMsg : 'ãã©ã¦ã¶ã®ã»ãã¥ãªãã£è¨å®ã«ãããã¨ãã£ã¿ã¯ã¯ãªãããã¼ãã»ãã¼ã¿ã«ç´æ¥ã¢ã¯ã»ã¹ãããã¨ãã§ãã¾ããããã®ã¦ã£ã³ãã¦ã¯è²¼ãä»ãæä½ãè¡ã度ã«è¡¨ç¤ºããã¾ãã',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'è²¼ãä»ããè¡ãããã¹ãã¯ãã¯ã¼ãæç« ããã³ãã¼ããããã¨ãã¦ãã¾ããè²¼ãä»ããåã«ã¯ãªã¼ãã³ã°ãè¡ãã¾ããï¼',
+ toolbar : 'ã¯ã¼ãæç« ããè²¼ãä»ã',
+ title : 'ã¯ã¼ãæç« ããè²¼ãä»ã',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'ãã¬ã¼ã³ããã¹ãè²¼ãä»ã',
+ title : 'ãã¬ã¼ã³ããã¹ãè²¼ãä»ã'
+ },
+
+ templates :
+ {
+ button : 'ãã³ãã¬ã¼ã(éå½¢)',
+ title : 'ãã³ãã¬ã¼ãå
容',
+ options : 'Template Options', // MISSING
+ insertOption : 'ç¾å¨ã®ã¨ãã£ã¿ã®å
容ã¨ç½®æãããã¾ã',
+ selectPromptMsg : 'ã¨ãã£ã¿ã¼ã§ä½¿ç¨ãããã³ãã¬ã¼ããé¸æãã¦ãã ããã<br>(ç¾å¨ã®ã¨ãã£ã¿ã®å
容ã¯å¤±ããã¾ã):',
+ emptyListMsg : '(ãã³ãã¬ã¼ããå®ç¾©ããã¦ãã¾ãã)'
+ },
+
+ showBlocks : 'ãããã¯è¡¨ç¤º',
+
+ stylesCombo :
+ {
+ label : 'ã¹ã¿ã¤ã«',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'ãããã¯ã¹ã¿ã¤ã«',
+ panelTitle2 : 'ã¤ã³ã©ã¤ã³ã¹ã¿ã¤ã«',
+ panelTitle3 : 'ãªãã¸ã§ã¯ãã¹ã¿ã¤ã«'
+ },
+
+ format :
+ {
+ label : 'ãã©ã¼ããã',
+ panelTitle : 'ãã©ã¼ããã',
+
+ tag_p : 'æ¨æº',
+ tag_pre : 'æ¸å¼ä»ã',
+ tag_address : 'ã¢ãã¬ã¹',
+ tag_h1 : 'è¦åºã 1',
+ tag_h2 : 'è¦åºã 2',
+ tag_h3 : 'è¦åºã 3',
+ tag_h4 : 'è¦åºã 4',
+ tag_h5 : 'è¦åºã 5',
+ tag_h6 : 'è¦åºã 6',
+ tag_div : 'æ¨æº (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ãã©ã³ã',
+ voiceLabel : 'ãã©ã³ã',
+ panelTitle : 'ãã©ã³ã'
+ },
+
+ fontSize :
+ {
+ label : 'ãµã¤ãº',
+ voiceLabel : 'ãã©ã³ããµã¤ãº',
+ panelTitle : 'ãµã¤ãº'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ããã¹ãè²',
+ bgColorTitle : 'èæ¯è²',
+ panelTitle : 'Colors', // MISSING
+ auto : 'èªå',
+ more : 'ãã®ä»ã®è²...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'ã¹ãã«ãã§ãã¯è¨å®(SCAYT)',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'SCAYTæå¹',
+ disable : 'SCAYTç¡å¹',
+ about : 'SCAYTï¾ï¾ï½°ï½¼ï¾ï½®ï¾',
+ toggle : 'SCAYTåæ¿',
+ options : 'ãªãã·ã§ã³',
+ langs : 'è¨èª',
+ moreSuggestions : 'ä»ã®åè£',
+ ignore : 'ç¡è¦',
+ ignoreAll : 'ãã¹ã¦ç¡è¦',
+ addWord : 'èªå¥è¿½å ',
+ emptyDic : 'è¾æ¸åã¯å¿
ãå
¥åãã¦ãã ãã',
+
+ optionsTab : 'ãªãã·ã§ã³',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'è¨èª',
+
+ dictionariesTab : 'è¾æ¸',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'ãã¼ã¸ã§ã³æ
å ±'
+ },
+
+ about :
+ {
+ title : 'CKEditorãã¼ã¸ã§ã³æ
å ±',
+ dlgTitle : 'CKEditorãã¼ã¸ã§ã³æ
å ±',
+ moreInfo : 'ã©ã¤ã»ã³ã¹æ
å ±ã®è©³ç´°ã¯ã¦ã§ããµã¤ãã«ã¦ç¢ºèªãã¦ãã ãã:',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'æ大å',
+ minimize : 'æå°å',
+
+ fakeobjects :
+ {
+ anchor : 'ã¢ã³ã«ã¼',
+ flash : 'Flash Animation',
+ div : 'Page Break',
+ unknown : 'Unknown Object'
+ },
+
+ resize : 'ãã©ãã°ãã¦ãªãµã¤ãº',
+
+ colordialog :
+ {
+ title : 'è²é¸æ',
+ options : 'Color Options', // MISSING
+ highlight : 'ãã¤ã©ã¤ã',
+ selected : 'é¸æãããè²',
+ clear : 'ã¯ãªã¢'
+ },
+
+ toolbarCollapse : 'ãã¼ã«ãã¼ãéãã',
+ toolbarExpand : 'ãã¼ã«ãã¼ãéã',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/km.js b/devel/third-party/ckeditor/lang/km.js
new file mode 100644
index 0000000..d0c2afa
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/km.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Khmer language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['km'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'áá¼á',
+ newPage : 'ááááááááá¸',
+ save : 'ááááá¶áá»á',
+ preview : 'áá¾ááá¶ááááá',
+ cut : 'áá¶áááá',
+ copy : 'á
ááááá',
+ paste : 'á
ááááá¶áá',
+ print : 'ááááá»ááá',
+ underline : 'áá·áááááá¶áááá¸áááááá¢áááá',
+ bold : 'á¢áááááá·ááá',
+ italic : 'á¢ááááááááá',
+ selectAll : 'áááá¾ááá¾ááá¶ááá¢áá',
+ removeFormat : 'áááá
áá áá¶ááá
áá¶',
+ strike : 'áá·áááááá¶áááá¶ááááááá¶áá¢áááá',
+ subscript : 'á¢áááááá¼á
ááááá',
+ superscript : 'á¢áááááá¼á
áá¾',
+ horizontalrule : 'ááááááááááá¶ááááááá',
+ pagebreak : 'áááááá áá¶ááááá¶á
áááááá',
+ unlink : 'ááááááá¶áá',
+ undo : 'áá¶áá¡á¾ááá·á',
+ redo : 'áááá¾á¡á¾ááá·á',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'áá¾á',
+ url : 'URL',
+ protocol : 'áááá¼áá¼áá¼á',
+ upload : 'áá¶ááá',
+ uploadSubmit : 'ááááá¼ááá
áá¶ááááá¶ááá¸áááááááááá¶',
+ image : 'áá¼ááá¶á',
+ flash : 'Flash',
+ form : 'ááááá',
+ checkbox : 'áááá¢áááááá¾ááá¾á',
+ radio : 'ááá¼áá»ááááááááá¼á',
+ textField : 'áá½ááááááá¢ááááá',
+ textarea : 'ááááááááááá¢ááááá',
+ hiddenField : 'áá½ááá¶áá',
+ button : 'ááá¼áá»á',
+ select : 'áá½ááááá¾ááá¾á',
+ imageButton : 'ááá¼áá»ááá¼ááá¶á',
+ notSet : '<áá·áááá>',
+ id : 'Id',
+ name : 'ááááá',
+ langDir : 'áá·ááá
áá¶áá¶',
+ langDirLtr : 'áá¸ááááááá
áááá¶á(LTR)',
+ langDirRtl : 'áá¸áááá¶ááá
ááááá(RTL)',
+ langCode : 'ááááá¼ááá¶áá¶',
+ longDescr : 'á¢áá·áááá¶á URL ááá',
+ cssClass : 'Stylesheet Classes',
+ advisoryTitle : 'á
ááááá¾á áááá¹áááá¶',
+ cssStyle : 'ááá¼á',
+ ok : 'ááááááá',
+ cancel : 'áá·áááááááá',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'áááá·áááááá',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'ááááááá¢áááááá·ááá',
+ title : 'áá¼á¢áááááá·ááá',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'áááááá/áááááá áááá¶áá',
+ other : '<other>', // MISSING
+ menu : 'áááááááááá¶áá',
+ title : 'áááá¶áá',
+ info : 'ááááá¶áá¢ááá¸áááá¶áá',
+ target : 'ááááá
',
+ upload : 'áá¶ááá',
+ advanced : 'áááá·áááááá',
+ type : 'áááááááááá¶áá',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'áá»áááá¶áá
áááá»ááááááááá',
+ toEmail : 'á¢áá¸ááá',
+ targetFrame : '<á áááááá>',
+ targetPopup : '<áá¸ááá¼á ááá>',
+ targetFrameName : 'áááááá ááááááááááá¶ááááá
',
+ targetPopupName : 'ááááááá¸ááá¼áááá',
+ popupFeatures : 'áááááááááááá¸ááá¼áááá',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'ááᶠááááá¶á',
+ popupLocationBar: 'ááᶠáá¸áá¶áá',
+ popupToolbar : 'ááᶠá©ááááá',
+ popupMenuBar : 'ááᶠááºáá»á',
+ popupFullScreen : 'á¢ááááá»áááá(IE)',
+ popupScrollBars : 'ááᶠáá¶á',
+ popupDependent : 'á¢á¶ááááááá¾ (Netscape)',
+ popupWidth : 'ááá¹á',
+ popupLeft : 'áá¸áá¶áááá¶áááááá',
+ popupHeight : 'ááááá',
+ popupTop : 'áá¸áá¶áááá¶ááá¾',
+ id : 'Id', // MISSING
+ langDir : 'áá·ááá
áá¶áá¶',
+ langDirLTR : 'áá¸ááááááá
áááá¶á(LTR)',
+ langDirRTL : 'áá¸áááá¶ááá
ááááá(RTL)',
+ acccessKey : 'áḠáááá¶ááá
á¼á',
+ name : 'ááááá',
+ langCode : 'áá·ááá
áá¶áá¶',
+ tabIndex : 'ááá Tab',
+ advisoryTitle : 'á
ááááá¾á áááá¹áááá¶',
+ advisoryContentType : 'ááááááá¢ááááá áááá¹áááá¶',
+ cssClasses : 'Stylesheet Classes',
+ charset : 'ááááá¼áá¢áááááááááááá¶áá',
+ styles : 'ááá¼á',
+ selectAnchor : 'áááá¾ááá¾ááá»áááá¶',
+ anchorName : 'áá¶áááááááááááá»áááá¶',
+ anchorId : 'áá¶á Id',
+ emailAddress : 'á¢áá¸ááá',
+ emailSubject : 'á
ááááá¾áá¢ááááá',
+ emailBody : 'á¢ááááá',
+ noAnchors : '(No anchors available in the document)', // MISSING
+ noUrl : 'áá¼áááááá á¢á¶ááááááá¶á URL',
+ noEmail : 'áá¼áááááá á¢á¶ááááááá¶á á¢áá¸ááá'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'áááááá/áááááá áá»áááá¶',
+ menu : 'áá¶áááááááá»áááá¶',
+ title : 'áá¶áááááááá»áááá¶',
+ name : 'ááááááá»ááááááá¶',
+ errorName : 'áá¼áááááá ááááááá»ááááááá¶'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'ááááááá',
+ replace : 'áááá½á',
+ findWhat : 'áááááááá¢ááá¸:',
+ replaceWith : 'áááá½ááá¶áá½á:',
+ notFoundMsg : 'áá¶áááááá áááá·ááá¾ááá á',
+ matchCase : 'áááááááá¼ááá',
+ matchWord : 'áááá¼ááá¶ááááá¶ááá¢áá',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'áááá½ááá¶ááá¢áá',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'áá¶áá¶á',
+ title : 'áá¶áááááá áá¶áá¶á',
+ menu : 'áá¶áááááá áá¶áá¶á',
+ deleteTable : 'ááááá¶áá¶á',
+ rows : 'áá½áááááá',
+ columns : 'áá½ááá',
+ border : 'ááá áááá»á',
+ align : 'áá¶áááááááá¸áá¶áá',
+ alignLeft : 'áá¶áááááá',
+ alignCenter : 'ááááá¶á',
+ alignRight : 'áá¶ááááá¶á',
+ width : 'ááá¹á',
+ widthPx : 'áá¸áááá',
+ widthPc : 'áá¶ááá',
+ widthUnit : 'width unit', // MISSING
+ height : 'ááááá',
+ cellSpace : 'áááá¶áááá',
+ cellPad : 'áááááá',
+ caption : 'á
ááááá¾á',
+ summary : 'ááá
áááá¸áááááá',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell', // MISSING
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'áááááá',
+ merge : 'ááááá¼áááá',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row', // MISSING
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'ááááá½áááááá'
+ },
+
+ column :
+ {
+ menu : 'Column', // MISSING
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'ááááá½ááá'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'áá¶áááááá ááá¼áá»á',
+ text : 'á¢ááááá(áááá)',
+ type : 'áááááá',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'áá¶áááááááááá¢áááááá¾ááá¾á',
+ radioTitle : 'áá¶ááááááááá¼áá»ááááááá',
+ value : 'áááá',
+ selected : 'áá¶ááááá¾ááá¾á'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'áá¶ááááááááááá',
+ menu : 'áá¶ááááááááááá',
+ action : 'ááááááá¶á',
+ method : 'áá·áá¸',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'áá¶áááááááá½ááááá¾ááá¾á',
+ selectInfo : 'ááááá¶á',
+ opAvail : 'áá¶áááááááááá¾ááá¾á áááá¢á¶á
ááááááá¶á',
+ value : 'áááá',
+ size : 'ááá á',
+ lines : 'ááááá¶áá',
+ chkMulti : 'á¢áá»áááá¶áá¢áááááá¾ááá¾áá
ááá¾á',
+ opText : 'áá¶ááá',
+ opValue : 'áááá',
+ btnAdd : 'áááááá',
+ btnModify : 'áááá¶áááááá¼á',
+ btnUp : 'áá¾',
+ btnDown : 'ááááá',
+ btnSetValue : 'Set as selected value', // MISSING
+ btnDelete : 'ááá'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'áá¶áááááááááááááááááá¢ááááá',
+ cols : 'áá¼ááá',
+ rows : 'áá¼áááááá'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'áá¶áááááááá½áá¢ááááá',
+ name : 'ááááá',
+ value : 'áááá',
+ charWidth : 'ááá¹á á¢áááá',
+ maxChars : 'á¢ááááá¢áá·ááá·áá¶',
+ type : 'áááááá',
+ typeText : 'áá¶ááá',
+ typePass : 'áá¶ááááááá¶áá'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'áá¶áááááááá½ááá¶áá',
+ name : 'ááááá',
+ value : 'áááá'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'áá¶áááááááá¼ááá¶á',
+ titleButton : 'áá¶ááááááááá¼áá»ááá¼ááá¶á',
+ menu : 'áá¶áááááááá¼ááá¶á',
+ infoTab : 'ááááá¶áá¢ááá¸áá¼ááá¶á',
+ btnUpload : 'ááááá¼ááá
áá¶ááááá¶ááá¸áááááááááá¶',
+ upload : 'áá¶ááá',
+ alt : 'á¢ááááááááá½á',
+ width : 'ááá¹á',
+ height : 'ááááá',
+ lockRatio : 'á¢áááá¶á¡á»á',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'áááááááá áá¡á¾ááá·á',
+ border : 'ááá»á',
+ hSpace : 'áááá¶áááá¹á',
+ vSpace : 'áááá¶ááááááá',
+ align : 'ááááááá¸áá¶áá',
+ alignLeft : 'áá¶ááááá',
+ alignRight : 'áá¶ááááá¶á',
+ alertUrl : 'áá¼áááááááá¶ááááááá¶ááááááá¼ááá¶á',
+ linkTab : 'áááá¶áá',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'áá¶áááááá Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'áá¶áááááá Flash',
+ chkPlay : 'áááááááááááááááááá',
+ chkLoop : 'á
ááá½ááá',
+ chkMenu : 'áááá á¶á ááºáá»ááááá Flash',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'ááá á',
+ scaleAll : 'áááá á¶ááá¶ááá¢áá',
+ scaleNoBorder : 'áá·ááááá á¶áááá»á',
+ scaleFit : 'áááá¼ááááá',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'ááááááá¸áá¶áá',
+ alignLeft : 'áá¶ááááá',
+ alignAbsBottom : 'Abs Bottom', // MISSING
+ alignAbsMiddle : 'Abs Middle', // MISSING
+ alignBaseline : 'ááááá¶áááá¶áá¼ááááá¶á',
+ alignBottom : 'áá¶áááááá',
+ alignMiddle : 'ááááá¶á',
+ alignRight : 'áá¶ááááá¶á',
+ alignTextTop : 'áá¾á¢ááááá',
+ alignTop : 'áá¶ááá¾',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'ááááááááá¶áááááá',
+ width : 'ááá¹á',
+ height : 'ááááá',
+ hSpace : 'áááá¶áááá¹á',
+ vSpace : 'áááá¶ááááááá',
+ validateSrc : 'áá¼áááááá á¢á¶ááááááá¶á URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'áá·áá·áááá¢ááááá¶áá·áá»ááá',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'áááá¶ááááá»ááá
áá¶áá»áááá',
+ changeTo : 'áááá¶áááááá¼ááá
',
+ btnIgnore : 'áá·ááááá¶áááááá¼á',
+ btnIgnoreAll : 'áá·ááááá¶áááááá¼á áá¶ááá¢áá',
+ btnReplace : 'áááá½á',
+ btnReplaceAll : 'áááá½ááá¶ááá¢áá',
+ btnUndo : 'áá¶áá¡á¾ááá·á',
+ noSuggestions : '- áááá¶ááááá¾á -',
+ progress : 'áááá»ááá·áá·áááá¢ááááá¶áá·áá»ááá...',
+ noMispell : 'áá¶ááá·áá·áááá¢ááááá¶áá·áá»ááááá¶áá
áá: áááá¶áááá á»á',
+ noChanges : 'áá¶ááá·áá·áááá¢ááááá¶áá·áá»ááááá¶áá
áá: áá»ááá¶ááááá¶áááááá¼á',
+ oneChange : 'áá¶ááá·áá·áááá¢ááááá¶áá·áá»ááááá¶áá
áá: áá¶ááááá½ááááá¼á
áá¶ááááá¶áááááá¼á',
+ manyChanges : 'áá¶ááá·áá·áááá¢ááááá¶áá·áá»ááááá¶áá
áá: %1 áá¶ááááá¶ááááá¶áááááá¼á',
+ ieSpellDownload : 'áá»ááá¶ááááááá·áá¸áá·áá·áááá¢ááááá¶áá·áá»ááá á áá¾á
áááá¶ááááá¸áá¶?'
+ },
+
+ smiley :
+ {
+ toolbar : 'áá¼ááá¶á',
+ title : 'ááááá¼ááá¼ááá¶á',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ááááá¸áá¶á¢áááá',
+ bulletedlist : 'ááááá¸áá¶áááááááá¼á',
+ indent : 'áááááááá¶áá
á¼áááááá¶áá',
+ outdent : 'ááááááá¶áá
á¼áááááá¶áá',
+
+ justify :
+ {
+ left : 'áááá¹áááááá',
+ center : 'áááá¹áááááá¶á',
+ right : 'áááá¹ááááá¶á',
+ block : 'áááá¹ááááá¶á'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'á
ááááá¶áá',
+ cutError : 'áá¶áááááááá»áááááá¶ááááááááááá·áá¸áá»ááááááááááá¢ááá ááá\u200báá·áá¢á¶á
áááá¾áááááá·áá¸áá¶áááááá¢ááááá áá¶ááá¢áááááááááááááááááááááááá¶áá¡á¾á á áá¼ááááá¾áááá¶ááááááá áá¸áá¼á
ááá (Ctrl/Cmd+X) á',
+ copyError : 'áá¶áááááááá»áááááá¶ááááááááááá·áá¸áá»ááááááááááá¢ááá ááá\u200báá·áá¢á¶á
áááá¾áááááá·áá¸áá¶áááááá¢ááááá á
áááá¢áááááááááááááááááááááááá¶áá¡á¾á á áá¼ááááá¾áááá¶ááááááá áá¸áá¼á
ááá (Ctrl/Cmd+C)á',
+ pasteMsg : 'áá¼áá
áááá¢ááááááá
áá¶áááááá»ááááá¢áááá¼á
áá¶ááááááááááááá¾áááá¶áá áḠ\u200b(<STRONG>Ctrl/Cmd+V</STRONG>) á á¾áá
á»á
<STRONG>OK</STRONG> á',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'á
ááááá¶áááḠWord',
+ title : 'á
ááááá¶áááḠWord',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'á
ááááá¶ááá¢ááááááááááá¶',
+ title : 'á
ááááá¶ááá¢ááááááááááá¶'
+ },
+
+ templates :
+ {
+ button : 'á¯ááá¶ááááá¼',
+ title : 'á¯ááá¶ááááá¼ ááááá¢áááááá',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'áá¼ááááá¾ááá¾áá¯ááá¶ááááá¼ áá¾áááá¸áá¾ááá
áááá»ááááááá·áá¸áá¶áááááá¢ááááá<br>(á¢ááááááá¹ááá¶ááááá):',
+ emptyListMsg : '(áá»ááá¶áá¯ááá¶ááááá¼áááá¼ááá¶áááááá)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'ááá¼á',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'áá
áá¶',
+ panelTitle : 'áá
áá¶',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'á ááá»á',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'á ááá»á'
+ },
+
+ fontSize :
+ {
+ label : 'ááá á',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'ááá á'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'áááá¢áááá',
+ bgColorTitle : 'ááááááááá¶áááááá',
+ panelTitle : 'Colors', // MISSING
+ auto : 'áááááááááááá',
+ more : 'ááááááááááá..'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/ko.js b/devel/third-party/ckeditor/lang/ko.js
new file mode 100644
index 0000000..07bbf80
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/ko.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Korean language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ko'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'ìì¤',
+ newPage : 'ì 문ì',
+ save : 'ì ì¥í기',
+ preview : '미리보기',
+ cut : 'ìë¼ë´ê¸°',
+ copy : 'ë³µì¬í기',
+ paste : 'ë¶ì¬ë£ê¸°',
+ print : 'ì¸ìí기',
+ underline : 'ë°ì¤',
+ bold : 'ì§íê²',
+ italic : 'ì´í
ë¦',
+ selectAll : 'ì ì²´ì í',
+ removeFormat : 'í¬ë§· ì§ì°ê¸°',
+ strike : 'ì·¨ìì ',
+ subscript : 'ìë 첨ì',
+ superscript : 'ì 첨ì',
+ horizontalrule : 'ìíì ì½ì
',
+ pagebreak : 'Insert Page Break for Printing', // MISSING
+ unlink : 'ë§í¬ ìì ',
+ undo : 'ì·¨ì',
+ redo : 'ì¬ì¤í',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ìë² ë³´ê¸°',
+ url : 'URL',
+ protocol : 'íë¡í ì½',
+ upload : 'ì
ë¡ë',
+ uploadSubmit : 'ìë²ë¡ ì ì¡',
+ image : 'ì´ë¯¸ì§',
+ flash : 'íëì¬',
+ form : 'í¼',
+ checkbox : 'ì²´í¬ë°ì¤',
+ radio : 'ë¼ëì¤ë²í¼',
+ textField : 'ì
ë ¥íë',
+ textarea : 'ì
ë ¥ìì',
+ hiddenField : 'ì¨ê¹íë',
+ button : 'ë²í¼',
+ select : 'í¼ì¹¨ëª©ë¡',
+ imageButton : 'ì´ë¯¸ì§ë²í¼',
+ notSet : '<ì¤ì ëì§ ìì>',
+ id : 'ID',
+ name : 'Name',
+ langDir : 'ì°ê¸° ë°©í¥',
+ langDirLtr : 'ì¼ìª½ìì ì¤ë¥¸ìª½ (LTR)',
+ langDirRtl : 'ì¤ë¥¸ìª½ìì ì¼ìª½ (RTL)',
+ langCode : 'ì¸ì´ ì½ë',
+ longDescr : 'URL ì¤ëª
',
+ cssClass : 'Stylesheet Classes',
+ advisoryTitle : 'Advisory Title',
+ cssStyle : 'Style',
+ ok : 'ì',
+ cancel : 'ìëì¤',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'ìì¸í',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'í¹ì문ì ì½ì
',
+ title : 'í¹ì문ì ì í',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'ë§í¬ ì½ì
/ë³ê²½',
+ other : '<기í>',
+ menu : 'ë§í¬ ìì ',
+ title : 'ë§í¬',
+ info : 'ë§í¬ ì ë³´',
+ target : 'íê²',
+ upload : 'ì
ë¡ë',
+ advanced : 'ìì¸í',
+ type : 'ë§í¬ ì¢
ë¥',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ì±
ê°í¼',
+ toEmail : 'ì´ë©ì¼',
+ targetFrame : '<íë ì>',
+ targetPopup : '<íì
ì°½>',
+ targetFrameName : 'íê² íë ì ì´ë¦',
+ targetPopupName : 'íì
ì°½ ì´ë¦',
+ popupFeatures : 'íì
ì°½ ì¤ì ',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'ìíë°',
+ popupLocationBar: '주ìíìì¤',
+ popupToolbar : 'í´ë°',
+ popupMenuBar : 'ë©ë´ë°',
+ popupFullScreen : 'ì ì²´íë©´ (IE)',
+ popupScrollBars : 'ì¤í¬ë¡¤ë°',
+ popupDependent : 'Dependent (Netscape)',
+ popupWidth : 'ëë¹',
+ popupLeft : 'ì¼ìª½ ìì¹',
+ popupHeight : 'ëì´',
+ popupTop : 'ì쪽 ìì¹',
+ id : 'Id', // MISSING
+ langDir : 'ì°ê¸° ë°©í¥',
+ langDirLTR : 'ì¼ìª½ìì ì¤ë¥¸ìª½ (LTR)',
+ langDirRTL : 'ì¤ë¥¸ìª½ìì ì¼ìª½ (RTL)',
+ acccessKey : 'ìì¸ì¤ í¤',
+ name : 'Name',
+ langCode : 'ì°ê¸° ë°©í¥',
+ tabIndex : 'í ìì',
+ advisoryTitle : 'Advisory Title',
+ advisoryContentType : 'Advisory Content Type',
+ cssClasses : 'Stylesheet Classes',
+ charset : 'Linked Resource Charset',
+ styles : 'Style',
+ selectAnchor : 'ì±
ê°í¼ ì í',
+ anchorName : 'ì±
ê°í¼ ì´ë¦',
+ anchorId : 'ì±
ê°í¼ ID',
+ emailAddress : 'ì´ë©ì¼ 주ì',
+ emailSubject : 'ì 목',
+ emailBody : 'ë´ì©',
+ noAnchors : '(문ìì ì±
ê°í¼ê° ììµëë¤.)',
+ noUrl : 'ë§í¬ URLì ì
ë ¥íììì.',
+ noEmail : 'ì´ë©ì¼ì£¼ì를 ì
ë ¥íììì.'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'ì±
ê°í¼ ì½ì
/ë³ê²½',
+ menu : 'ì±
ê°í¼ ìì±',
+ title : 'ì±
ê°í¼ ìì±',
+ name : 'ì±
ê°í¼ ì´ë¦',
+ errorName : 'ì±
ê°í¼ ì´ë¦ì ì
ë ¥íììì.'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : '찾기 & ë°ê¾¸ê¸°',
+ find : '찾기',
+ replace : 'ë°ê¾¸ê¸°',
+ findWhat : 'ì°¾ì 문ìì´:',
+ replaceWith : 'ë°ê¿ 문ìì´:',
+ notFoundMsg : '문ìì´ì ì°¾ì ì ììµëë¤.',
+ matchCase : 'ëì문ì 구ë¶',
+ matchWord : 'ì¨ì í ë¨ì´',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : '모ë ë°ê¾¸ê¸°',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'í',
+ title : 'í ì¤ì ',
+ menu : 'í ì¤ì ',
+ deleteTable : 'í ìì ',
+ rows : 'ê°ë¡ì¤',
+ columns : 'ì¸ë¡ì¤',
+ border : 'í
ë리 í¬ê¸°',
+ align : 'ì ë ¬',
+ alignLeft : 'ì¼ìª½',
+ alignCenter : 'ê°ì´ë°',
+ alignRight : 'ì¤ë¥¸ìª½',
+ width : 'ëë¹',
+ widthPx : 'í½ì
',
+ widthPc : 'í¼ì¼í¸',
+ widthUnit : 'width unit', // MISSING
+ height : 'ëì´',
+ cellSpace : 'ì
ê°ê²©',
+ cellPad : 'ì
ì¬ë°±',
+ caption : '캡ì
',
+ summary : 'Summary', // MISSING
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'ì
/칸(Cell)',
+ insertBefore : 'ìì ì
/칸 ì½ì
',
+ insertAfter : 'ë¤ì ì
/칸 ì½ì
',
+ deleteCell : 'ì
ìì ',
+ merge : 'ì
í©ì¹ê¸°',
+ mergeRight : 'ì¤ë¥¸ìª½ ëì¹ê¸°',
+ mergeDown : 'ì¼ìª½ ëì¹ê¸°',
+ splitHorizontal : 'ìí ëë기',
+ splitVertical : 'ìì§ ëë기',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'í(Row)',
+ insertBefore : 'ìì í ì½ì
',
+ insertAfter : 'ë¤ì í ì½ì
',
+ deleteRow : 'ê°ë¡ì¤ ìì '
+ },
+
+ column :
+ {
+ menu : 'ì´(Column)',
+ insertBefore : 'ìì ì´ ì½ì
',
+ insertAfter : 'ë¤ì ì´ ì½ì
',
+ deleteColumn : 'ì¸ë¡ì¤ ìì '
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ë²í¼ ìì±',
+ text : 'ë²í¼ê¸ì(ê°)',
+ type : 'ë²í¼ì¢
ë¥',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ì²´í¬ë°ì¤ ìì±',
+ radioTitle : 'ë¼ëì¤ë²í¼ ìì±',
+ value : 'ê°',
+ selected : 'ì íë¨'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'í¼ ìì±',
+ menu : 'í¼ ìì±',
+ action : 'ì¤íê²½ë¡(Action)',
+ method : 'ë°©ë²(Method)',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'í¼ì¹¨ëª©ë¡ ìì±',
+ selectInfo : 'ì ë³´',
+ opAvail : 'ì íìµì
',
+ value : 'ê°',
+ size : 'ì¸ë¡í¬ê¸°',
+ lines : 'ì¤',
+ chkMulti : 'ì¬ë¬í목 ì í íì©',
+ opText : 'ì´ë¦',
+ opValue : 'ê°',
+ btnAdd : 'ì¶ê°',
+ btnModify : 'ë³ê²½',
+ btnUp : 'ìë¡',
+ btnDown : 'ìëë¡',
+ btnSetValue : 'ì íëê²ì¼ë¡ ì¤ì ',
+ btnDelete : 'ìì '
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ì
ë ¥ìì ìì±',
+ cols : '칸ì',
+ rows : 'ì¤ì'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ì
ë ¥íë ìì±',
+ name : 'ì´ë¦',
+ value : 'ê°',
+ charWidth : 'ê¸ì ëë¹',
+ maxChars : 'ìµë ê¸ìì',
+ type : 'ì¢
ë¥',
+ typeText : '문ìì´',
+ typePass : 'ë¹ë°ë²í¸'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ì¨ê¹íë ìì±',
+ name : 'ì´ë¦',
+ value : 'ê°'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ì´ë¯¸ì§ ì¤ì ',
+ titleButton : 'ì´ë¯¸ì§ë²í¼ ìì±',
+ menu : 'ì´ë¯¸ì§ ì¤ì ',
+ infoTab : 'ì´ë¯¸ì§ ì ë³´',
+ btnUpload : 'ìë²ë¡ ì ì¡',
+ upload : 'ì
ë¡ë',
+ alt : 'ì´ë¯¸ì§ ì¤ëª
',
+ width : 'ëë¹',
+ height : 'ëì´',
+ lockRatio : 'ë¹ì¨ ì ì§',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'ìë í¬ê¸°ë¡',
+ border : 'í
ë리',
+ hSpace : 'ìíì¬ë°±',
+ vSpace : 'ìì§ì¬ë°±',
+ align : 'ì ë ¬',
+ alignLeft : 'ì¼ìª½',
+ alignRight : 'ì¤ë¥¸ìª½',
+ alertUrl : 'ì´ë¯¸ì§ URLì ì
ë ¥íììì',
+ linkTab : 'ë§í¬',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'íëì¬ ìì±',
+ propertiesTab : 'Properties', // MISSING
+ title : 'íëì¬ ë±ë¡ì ë³´',
+ chkPlay : 'ìëì¬ì',
+ chkLoop : 'ë°ë³µ',
+ chkMenu : 'íëì¬ë©ë´ ê°ë¥',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'ìì',
+ scaleAll : '모ë보기',
+ scaleNoBorder : 'ê²½ê³ì ìì',
+ scaleFit : 'ìììëì¡°ì ',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'ì ë ¬',
+ alignLeft : 'ì¼ìª½',
+ alignAbsBottom : 'ì¤ìë(Abs Bottom)',
+ alignAbsMiddle : 'ì¤ì¤ê°(Abs Middle)',
+ alignBaseline : '기ì¤ì ',
+ alignBottom : 'ìë',
+ alignMiddle : 'ì¤ê°',
+ alignRight : 'ì¤ë¥¸ìª½',
+ alignTextTop : 'ê¸ììë¨',
+ alignTop : 'ì',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'ë°°ê²½ ìì',
+ width : 'ëë¹',
+ height : 'ëì´',
+ hSpace : 'ìíì¬ë°±',
+ vSpace : 'ìì§ì¬ë°±',
+ validateSrc : 'ë§í¬ URLì ì
ë ¥íììì.',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'ì² ìê²ì¬',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'ì¬ì ì ìë ë¨ì´',
+ changeTo : 'ë³ê²½í ë¨ì´',
+ btnIgnore : 'ê±´ëë',
+ btnIgnoreAll : '모ë ê±´ëë',
+ btnReplace : 'ë³ê²½',
+ btnReplaceAll : '모ë ë³ê²½',
+ btnUndo : 'ì·¨ì',
+ noSuggestions : '- ì¶ì²ë¨ì´ ìì -',
+ progress : 'ì² ìê²ì¬ë¥¼ ì§íì¤ì
ëë¤...',
+ noMispell : 'ì² ìê²ì¬ ìë£: ì못ë ì² ìê° ììµëë¤.',
+ noChanges : 'ì² ìê²ì¬ ìë£: ë³ê²½ë ë¨ì´ê° ììµëë¤.',
+ oneChange : 'ì² ìê²ì¬ ìë£: ë¨ì´ê° ë³ê²½ëììµëë¤.',
+ manyChanges : 'ì² ìê²ì¬ ìë£: %1 ë¨ì´ê° ë³ê²½ëììµëë¤.',
+ ieSpellDownload : 'ì² ì ê²ì¬ê¸°ê° ì² ì¹ëì§ ìììµëë¤. ì§ê¸ ë¤ì´ë¡ëíìê² ìµëê¹?'
+ },
+
+ smiley :
+ {
+ toolbar : 'ìì´ì½',
+ title : 'ìì´ì½ ì½ì
',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ìììë 목ë¡',
+ bulletedlist : 'ìììë 목ë¡',
+ indent : 'ë¤ì¬ì°ê¸°',
+ outdent : 'ë´ì´ì°ê¸°',
+
+ justify :
+ {
+ left : 'ì¼ìª½ ì ë ¬',
+ center : 'ê°ì´ë° ì ë ¬',
+ right : 'ì¤ë¥¸ìª½ ì ë ¬',
+ block : 'ì쪽 ë§ì¶¤'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'ë¶ì¬ë£ê¸°',
+ cutError : 'ë¸ë¼ì°ì ì ë³´ìì¤ì ë문ì ìë¼ë´ê¸° 기ë¥ì ì¤íí ì ììµëë¤. í¤ë³´ë ëª
ë ¹ì ì¬ì©íììì. (Ctrl/Cmd+X).',
+ copyError : 'ë¸ë¼ì°ì ì ë³´ìì¤ì ë문ì ë³µì¬í기 기ë¥ì ì¤íí ì ììµëë¤. í¤ë³´ë ëª
ë ¹ì ì¬ì©íììì. (Ctrl/Cmd+C).',
+ pasteMsg : 'í¤ë³´ëì (<STRONG>Ctrl/Cmd+V</STRONG>) 를 ì´ì©í´ì ìììì ë¶ì¬ë£ê³ <STRONG>OK</STRONG> 를 ë르ì¸ì.',
+ securityMsg : 'ë¸ë¬ì°ì ë³´ì ì¤ì ì¼ë¡ ì¸í´, í´ë¦½ë³´ëì ìë£ë¥¼ ì§ì ì ê·¼í ì ììµëë¤. ì´ ì°½ì ë¤ì ë¶ì¬ë£ê¸° íììì¤.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'MS Word íììì ë¶ì¬ë£ê¸°',
+ title : 'MS Word íììì ë¶ì¬ë£ê¸°',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'í
ì¤í¸ë¡ ë¶ì¬ë£ê¸°',
+ title : 'í
ì¤í¸ë¡ ë¶ì¬ë£ê¸°'
+ },
+
+ templates :
+ {
+ button : 'í
í릿',
+ title : 'ë´ì© í
í릿',
+ options : 'Template Options', // MISSING
+ insertOption : 'íì¬ ë´ì© ë°ê¾¸ê¸°',
+ selectPromptMsg : 'ìëí°ìì ì¬ì©í í
í릿ì ì ííììì.<br>(ì§ê¸ê¹ì§ ìì±ë ë´ì©ì ì¬ë¼ì§ëë¤.):',
+ emptyListMsg : '(í
íë¦¿ì´ ììµëë¤.)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'ì¤íì¼',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'í¬ë§·',
+ panelTitle : 'í¬ë§·',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'í°í¸',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'í°í¸'
+ },
+
+ fontSize :
+ {
+ label : 'ê¸ì í¬ê¸°',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'ê¸ì í¬ê¸°'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ê¸ì ìì',
+ bgColorTitle : 'ë°°ê²½ ìì',
+ panelTitle : 'Colors', // MISSING
+ auto : '기본ìì',
+ more : 'ììì í...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/lt.js b/devel/third-party/ckeditor/lang/lt.js
new file mode 100644
index 0000000..b2e21e7
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/lt.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Lithuanian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['lt'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Å altinis',
+ newPage : 'Naujas puslapis',
+ save : 'IÅ¡saugoti',
+ preview : 'Peržiūra',
+ cut : 'IÅ¡kirpti',
+ copy : 'Kopijuoti',
+ paste : 'Ä®dÄti',
+ print : 'Spausdinti',
+ underline : 'Pabrauktas',
+ bold : 'Pusjuodis',
+ italic : 'Kursyvas',
+ selectAll : 'PažymÄti viskÄ
',
+ removeFormat : 'Panaikinti formatÄ
',
+ strike : 'Perbrauktas',
+ subscript : 'Apatinis indeksas',
+ superscript : 'Viršutinis indeksas',
+ horizontalrule : 'Ä®terpti horizontaliÄ
linijÄ
',
+ pagebreak : 'Ä®terpti puslapių skirtukÄ
',
+ unlink : 'Panaikinti nuorodÄ
',
+ undo : 'Atšaukti',
+ redo : 'Atstatyti',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Naršyti po serverį',
+ url : 'URL',
+ protocol : 'Protokolas',
+ upload : 'Siųsti',
+ uploadSubmit : 'Siųsti į serverį',
+ image : 'Vaizdas',
+ flash : 'Flash',
+ form : 'Forma',
+ checkbox : 'Žymimasis langelis',
+ radio : 'Žymimoji akutÄ',
+ textField : 'Teksto laukas',
+ textarea : 'Teksto sritis',
+ hiddenField : 'Nerodomas laukas',
+ button : 'Mygtukas',
+ select : 'Atrankos laukas',
+ imageButton : 'Vaizdinis mygtukas',
+ notSet : '<nÄra nustatyta>',
+ id : 'Id',
+ name : 'Vardas',
+ langDir : 'Teksto kryptis',
+ langDirLtr : 'IÅ¡ kairÄs į deÅ¡inÄ (LTR)',
+ langDirRtl : 'IÅ¡ deÅ¡inÄs į kairÄ (RTL)',
+ langCode : 'Kalbos kodas',
+ longDescr : 'Ilgas aprašymas URL',
+ cssClass : 'Stilių lentelÄs klasÄs',
+ advisoryTitle : 'KonsultacinÄ antraÅ¡tÄ',
+ cssStyle : 'Stilius',
+ ok : 'OK',
+ cancel : 'Nutraukti',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Bendros savybÄs',
+ advancedTab : 'Papildomas',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Įterpti specialų simbolį',
+ title : 'Pasirinkite specialų simbolį',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ä®terpti/taisyti nuorodÄ
',
+ other : '<kitas>',
+ menu : 'Taisyti nuorodÄ
',
+ title : 'Nuoroda',
+ info : 'Nuorodos informacija',
+ target : 'Paskirties vieta',
+ upload : 'Siųsti',
+ advanced : 'Papildomas',
+ type : 'Nuorodos tipas',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ŽymÄ Å¡iame puslapyje',
+ toEmail : 'El.paštas',
+ targetFrame : '<kadras>',
+ targetPopup : '<išskleidžiamas langas>',
+ targetFrameName : 'Paskirties kadro vardas',
+ targetPopupName : 'Paskirties lango vardas',
+ popupFeatures : 'IÅ¡skleidžiamo lango savybÄs',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'BÅ«senos juosta',
+ popupLocationBar: 'Adreso juosta',
+ popupToolbar : 'Mygtukų juosta',
+ popupMenuBar : 'Meniu juosta',
+ popupFullScreen : 'Visas ekranas (IE)',
+ popupScrollBars : 'Slinkties juostos',
+ popupDependent : 'Priklausomas (Netscape)',
+ popupWidth : 'Plotis',
+ popupLeft : 'KairÄ pozicija',
+ popupHeight : 'Aukštis',
+ popupTop : 'VirÅ¡utinÄ pozicija',
+ id : 'Id', // MISSING
+ langDir : 'Teksto kryptis',
+ langDirLTR : 'IÅ¡ kairÄs į deÅ¡inÄ (LTR)',
+ langDirRTL : 'IÅ¡ deÅ¡inÄs į kairÄ (RTL)',
+ acccessKey : 'Prieigos raktas',
+ name : 'Vardas',
+ langCode : 'Teksto kryptis',
+ tabIndex : 'Tabuliavimo indeksas',
+ advisoryTitle : 'KonsultacinÄ antraÅ¡tÄ',
+ advisoryContentType : 'Konsultacinio turinio tipas',
+ cssClasses : 'Stilių lentelÄs klasÄs',
+ charset : 'Susietų iÅ¡teklių simbolių lentelÄ',
+ styles : 'Stilius',
+ selectAnchor : 'Pasirinkite žymÄ',
+ anchorName : 'Pagal žymÄs vardÄ
',
+ anchorId : 'Pagal žymÄs Id',
+ emailAddress : 'El.pašto adresas',
+ emailSubject : 'ŽinutÄs tema',
+ emailBody : 'ŽinutÄs turinys',
+ noAnchors : '(Å iame dokumente žymių nÄra)',
+ noUrl : 'Prašome įvesti nuorodos URL',
+ noEmail : 'PraÅ¡ome įvesti el.paÅ¡to adresÄ
'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ä®terpti/modifikuoti žymÄ',
+ menu : 'ŽymÄs savybÄs',
+ title : 'ŽymÄs savybÄs',
+ name : 'ŽymÄs vardas',
+ errorName : 'PraÅ¡ome įvesti žymÄs vardÄ
'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Surasti ir pakeisti',
+ find : 'Rasti',
+ replace : 'Pakeisti',
+ findWhat : 'Surasti tekstÄ
:',
+ replaceWith : 'Pakeisti tekstu:',
+ notFoundMsg : 'Nurodytas tekstas nerastas.',
+ matchCase : 'Skirti didžiÄ
sias ir mažÄ
sias raides',
+ matchWord : 'Atitikti pilnÄ
žodį',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Pakeisti viskÄ
',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'LentelÄ',
+ title : 'LentelÄs savybÄs',
+ menu : 'LentelÄs savybÄs',
+ deleteTable : 'Å alinti lentelÄ',
+ rows : 'EilutÄs',
+ columns : 'Stulpeliai',
+ border : 'RÄmelio dydis',
+ align : 'Lygiuoti',
+ alignLeft : 'KairÄ',
+ alignCenter : 'CentrÄ
',
+ alignRight : 'DeÅ¡inÄ',
+ width : 'Plotis',
+ widthPx : 'taškais',
+ widthPc : 'procentais',
+ widthUnit : 'width unit', // MISSING
+ height : 'Aukštis',
+ cellSpace : 'Tarpas tarp langelių',
+ cellPad : 'Trapas nuo langelio rÄmo iki teksto',
+ caption : 'AntraÅ¡tÄ',
+ summary : 'Santrauka',
+ headers : 'AntraÅ¡tÄs',
+ headersNone : 'NÄra',
+ headersColumn : 'Pirmas stulpelis',
+ headersRow : 'Pirma eilutÄ',
+ headersBoth : 'Abu',
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Langelis',
+ insertBefore : 'Įterpti langelį prieš',
+ insertAfter : 'Įterpti langelį po',
+ deleteCell : 'Å alinti langelius',
+ merge : 'Sujungti langelius',
+ mergeRight : 'Sujungti su dešine',
+ mergeDown : 'Sujungti su apaÄia',
+ splitHorizontal : 'Skaidyti langelį horizontaliai',
+ splitVertical : 'Skaidyti langelį vertikaliai',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'EilutÄ',
+ insertBefore : 'Ä®terpti eilutÄ prieÅ¡',
+ insertAfter : 'Ä®terpti eilutÄ po',
+ deleteRow : 'Å alinti eilutes'
+ },
+
+ column :
+ {
+ menu : 'Stulpelis',
+ insertBefore : 'Įterpti stulpelį prieš',
+ insertAfter : 'Įterpti stulpelį po',
+ deleteColumn : 'Å alinti stulpelius'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Mygtuko savybÄs',
+ text : 'Tekstas (ReikÅ¡mÄ)',
+ type : 'Tipas',
+ typeBtn : 'Mygtukas',
+ typeSbm : 'Siųsti',
+ typeRst : 'IÅ¡valyti'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Žymimojo langelio savybÄs',
+ radioTitle : 'Žymimosios akutÄs savybÄs',
+ value : 'ReikÅ¡mÄ',
+ selected : 'PažymÄtas'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Formos savybÄs',
+ menu : 'Formos savybÄs',
+ action : 'Veiksmas',
+ method : 'Metodas',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Atrankos lauko savybÄs',
+ selectInfo : 'Informacija',
+ opAvail : 'Galimos parinktys',
+ value : 'ReikÅ¡mÄ',
+ size : 'Dydis',
+ lines : 'eiluÄių',
+ chkMulti : 'Leisti daugeriopÄ
atrankÄ
',
+ opText : 'Tekstas',
+ opValue : 'ReikÅ¡mÄ',
+ btnAdd : 'Įtraukti',
+ btnModify : 'Modifikuoti',
+ btnUp : 'Aukštyn',
+ btnDown : 'Žemyn',
+ btnSetValue : 'Laikyti pažymÄta reikÅ¡me',
+ btnDelete : 'Trinti'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Teksto srities savybÄs',
+ cols : 'Ilgis',
+ rows : 'Plotis'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Teksto lauko savybÄs',
+ name : 'Vardas',
+ value : 'ReikÅ¡mÄ',
+ charWidth : 'Ilgis simboliais',
+ maxChars : 'Maksimalus simbolių skaiÄius',
+ type : 'Tipas',
+ typeText : 'Tekstas',
+ typePass : 'Slaptažodis'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Nerodomo lauko savybÄs',
+ name : 'Vardas',
+ value : 'ReikÅ¡mÄ'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Vaizdo savybÄs',
+ titleButton : 'Vaizdinio mygtuko savybÄs',
+ menu : 'Vaizdo savybÄs',
+ infoTab : 'Vaizdo informacija',
+ btnUpload : 'Siųsti į serverį',
+ upload : 'Nusiųsti',
+ alt : 'Alternatyvus Tekstas',
+ width : 'Plotis',
+ height : 'Aukštis',
+ lockRatio : 'IÅ¡laikyti proporcijÄ
',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Atstatyti dydį',
+ border : 'RÄmelis',
+ hSpace : 'Hor.ErdvÄ',
+ vSpace : 'Vert.ErdvÄ',
+ align : 'Lygiuoti',
+ alignLeft : 'KairÄ',
+ alignRight : 'DeÅ¡inÄ',
+ alertUrl : 'Prašome įvesti vaizdo URL',
+ linkTab : 'Nuoroda',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash savybÄs',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flash savybÄs',
+ chkPlay : 'Automatinis paleidimas',
+ chkLoop : 'Ciklas',
+ chkMenu : 'Leisti Flash meniu',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Mastelis',
+ scaleAll : 'Rodyti visÄ
',
+ scaleNoBorder : 'Be rÄmelio',
+ scaleFit : 'Tikslus atitikimas',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Lygiuoti',
+ alignLeft : 'KairÄ',
+ alignAbsBottom : 'AbsoliuÄiÄ
apaÄiÄ
',
+ alignAbsMiddle : 'Absoliutų vidurį',
+ alignBaseline : 'ApatinÄ linijÄ
',
+ alignBottom : 'ApaÄiÄ
',
+ alignMiddle : 'Vidurį',
+ alignRight : 'DeÅ¡inÄ',
+ alignTextTop : 'Teksto virÅ¡Å«nÄ',
+ alignTop : 'VirÅ¡Å«nÄ',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Fono spalva',
+ width : 'Plotis',
+ height : 'Aukštis',
+ hSpace : 'Hor.ErdvÄ',
+ vSpace : 'Vert.ErdvÄ',
+ validateSrc : 'Prašome įvesti nuorodos URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Rašybos tikrinimas',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Žodyne nerastas',
+ changeTo : 'Pakeisti į',
+ btnIgnore : 'Ignoruoti',
+ btnIgnoreAll : 'Ignoruoti visus',
+ btnReplace : 'Pakeisti',
+ btnReplaceAll : 'Pakeisti visus',
+ btnUndo : 'Atšaukti',
+ noSuggestions : '- NÄra pasiÅ«lymų -',
+ progress : 'Vyksta rašybos tikrinimas...',
+ noMispell : 'Rašybos tikrinimas baigtas: Nerasta rašybos klaidų',
+ noChanges : 'RaÅ¡ybos tikrinimas baigtas: NÄra pakeistų žodžių',
+ oneChange : 'Rašybos tikrinimas baigtas: Vienas žodis pakeistas',
+ manyChanges : 'Rašybos tikrinimas baigtas: Pakeista %1 žodžių',
+ ieSpellDownload : 'Rašybos tikrinimas neinstaliuotas. Ar Jūs norite jį dabar atsisiųsti?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Veideliai',
+ title : 'Įterpti veidelį',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Numeruotas sÄ
rašas',
+ bulletedlist : 'Suženklintas sÄ
rašas',
+ indent : 'Padidinti įtraukÄ
',
+ outdent : 'Sumažinti įtraukÄ
',
+
+ justify :
+ {
+ left : 'Lygiuoti kairÄ',
+ center : 'Centruoti',
+ right : 'Lygiuoti deÅ¡inÄ',
+ block : 'Lygiuoti abi puses'
+ },
+
+ blockquote : 'Citata',
+
+ clipboard :
+ {
+ title : 'Ä®dÄti',
+ cutError : 'JÅ«sų narÅ¡yklÄs saugumo nustatymai neleidžia redaktoriui automatiÅ¡kai įvykdyti iÅ¡kirpimo operacijų. Tam praÅ¡ome naudoti klaviatÅ«rÄ
(Ctrl/Cmd+X).',
+ copyError : 'JÅ«sų narÅ¡yklÄs saugumo nustatymai neleidžia redaktoriui automatiÅ¡kai įvykdyti kopijavimo operacijų. Tam praÅ¡ome naudoti klaviatÅ«rÄ
(Ctrl/Cmd+C).',
+ pasteMsg : 'Žemiau esanÄiame įvedimo lauke įdÄkite tekstÄ
, naudodami klaviatÅ«rÄ
(<STRONG>Ctrl/Cmd+V</STRONG>) ir paspauskite mygtukÄ
<STRONG>OK</STRONG>.',
+ securityMsg : 'DÄl jÅ«sų narÅ¡yklÄs saugumo nustatymų, redaktorius negali tiesiogiai pasiekti laikinosios atminties. Jums reikia nukopijuoti dar kartÄ
į šį langÄ
.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Ä®dÄti iÅ¡ Word',
+ title : 'Ä®dÄti iÅ¡ Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Ä®dÄti kaip grynÄ
tekstÄ
',
+ title : 'Ä®dÄti kaip grynÄ
tekstÄ
'
+ },
+
+ templates :
+ {
+ button : 'Å ablonai',
+ title : 'Turinio Å¡ablonai',
+ options : 'Template Options', // MISSING
+ insertOption : 'Pakeisti dabartinį turinį pasirinktu šablonu',
+ selectPromptMsg : 'Pasirinkite norimÄ
Å¡ablonÄ
<br>(<b>DÄmesio!</b> esamas turinys bus prarastas):',
+ emptyListMsg : '(Å ablonų sÄ
raÅ¡as tuÅ¡Äias)'
+ },
+
+ showBlocks : 'Rodyti blokus',
+
+ stylesCombo :
+ {
+ label : 'Stilius',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Å rifto formatas',
+ panelTitle : 'Å rifto formatas',
+
+ tag_p : 'Normalus',
+ tag_pre : 'Formuotas',
+ tag_address : 'Kreipinio',
+ tag_h1 : 'Antraštinis 1',
+ tag_h2 : 'Antraštinis 2',
+ tag_h3 : 'Antraštinis 3',
+ tag_h4 : 'Antraštinis 4',
+ tag_h5 : 'Antraštinis 5',
+ tag_h6 : 'Antraštinis 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Å riftas',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Å riftas'
+ },
+
+ fontSize :
+ {
+ label : 'Å rifto dydis',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Å rifto dydis'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Teksto spalva',
+ bgColorTitle : 'Fono spalva',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatinis',
+ more : 'Daugiau spalvų...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/lv.js b/devel/third-party/ckeditor/lang/lv.js
new file mode 100644
index 0000000..9fdd249
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/lv.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Latvian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['lv'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'HTML kods',
+ newPage : 'Jauna lapa',
+ save : 'SaglabÄt',
+ preview : 'PÄrskatÄ«t',
+ cut : 'Izgriezt',
+ copy : 'KopÄt',
+ paste : 'Ievietot',
+ print : 'DrukÄt',
+ underline : 'Apakšsvītra',
+ bold : 'Treknu Å¡riftu',
+ italic : 'SlÄ«prakstÄ',
+ selectAll : 'IezÄ«mÄt visu',
+ removeFormat : 'NoÅemt stilus',
+ strike : 'PÄrsvÄ«trots',
+ subscript : 'ZemrakstÄ',
+ superscript : 'AugÅ¡rakstÄ',
+ horizontalrule : 'Ievietot horizontÄlu AtdalÄ«tÄjsvÄ«tru',
+ pagebreak : 'Ievietot lapas pÄrtraukumu',
+ unlink : 'NoÅemt hipersaiti',
+ undo : 'Atcelt',
+ redo : 'AtkÄrtot',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Skatīt servera saturu',
+ url : 'URL',
+ protocol : 'Protokols',
+ upload : 'AugÅ¡upielÄdÄt',
+ uploadSubmit : 'Nosūtīt serverim',
+ image : 'AttÄls',
+ flash : 'Flash',
+ form : 'Forma',
+ checkbox : 'AtzÄ«mÄÅ¡anas kastÄ«te',
+ radio : 'IzvÄles poga',
+ textField : 'Teksta rinda',
+ textarea : 'Teksta laukums',
+ hiddenField : 'PaslÄpta teksta rinda',
+ button : 'Poga',
+ select : 'IezÄ«mÄÅ¡anas lauks',
+ imageButton : 'AttÄlpoga',
+ notSet : '<nav iestatīts>',
+ id : 'Id',
+ name : 'Nosaukums',
+ langDir : 'Valodas lasīšanas virziens',
+ langDirLtr : 'No kreisÄs uz labo (LTR)',
+ langDirRtl : 'No labÄs uz kreiso (RTL)',
+ langCode : 'Valodas kods',
+ longDescr : 'Gara apraksta Hipersaite',
+ cssClass : 'Stilu saraksta klases',
+ advisoryTitle : 'Konsultatīvs virsraksts',
+ cssStyle : 'Stils',
+ ok : 'Darīts!',
+ cancel : 'Atcelt',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'IzvÄrstais',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Ievietot speciÄlo simbolu',
+ title : 'Ievietot īpašu simbolu',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ievietot/Labot hipersaiti',
+ other : '<cits>',
+ menu : 'Labot hipersaiti',
+ title : 'Hipersaite',
+ info : 'Hipersaites informÄcija',
+ target : 'MÄrÄ·is',
+ upload : 'AugÅ¡upielÄdÄt',
+ advanced : 'IzvÄrstais',
+ type : 'Hipersaites tips',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'IezÄ«me Å¡ajÄ lapÄ',
+ toEmail : 'E-pasts',
+ targetFrame : '<ietvars>',
+ targetPopup : '<uznirstoÅ¡Ä logÄ>',
+ targetFrameName : 'MÄrÄ·a ietvara nosaukums',
+ targetPopupName : 'UznirstoÅ¡Ä loga nosaukums',
+ popupFeatures : 'UznirstoÅ¡Ä loga nosaukums Ä«paÅ¡Ä«bas',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Statusa josla',
+ popupLocationBar: 'AtraÅ¡anÄs vietas josla',
+ popupToolbar : 'RÄ«ku josla',
+ popupMenuBar : 'IzvÄlnes josla',
+ popupFullScreen : 'PilnÄ ekrÄnÄ (IE)',
+ popupScrollBars : 'Ritjoslas',
+ popupDependent : 'Atkarīgs (Netscape)',
+ popupWidth : 'Platums',
+ popupLeft : 'KreisÄ koordinÄte',
+ popupHeight : 'Augstums',
+ popupTop : 'AugÅ¡ÄjÄ koordinÄte',
+ id : 'Id', // MISSING
+ langDir : 'Valodas lasīšanas virziens',
+ langDirLTR : 'No kreisÄs uz labo (LTR)',
+ langDirRTL : 'No labÄs uz kreiso (RTL)',
+ acccessKey : 'Pieejas kods',
+ name : 'Nosaukums',
+ langCode : 'Valodas lasīšanas virziens',
+ tabIndex : 'CiļÅu indekss',
+ advisoryTitle : 'Konsultatīvs virsraksts',
+ advisoryContentType : 'Konsultatīvs satura tips',
+ cssClasses : 'Stilu saraksta klases',
+ charset : 'PievienotÄ resursa kodu tabula',
+ styles : 'Stils',
+ selectAnchor : 'IzvÄlÄties iezÄ«mi',
+ anchorName : 'PÄc iezÄ«mes nosaukuma',
+ anchorId : 'PÄc elementa ID',
+ emailAddress : 'E-pasta adrese',
+ emailSubject : 'ZiÅas tÄma',
+ emailBody : 'ZiÅas saturs',
+ noAnchors : '(Å ajÄ dokumentÄ nav iezÄ«mju)',
+ noUrl : 'LÅ«dzu norÄdi hipersaiti',
+ noEmail : 'LÅ«dzu norÄdi e-pasta adresi'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ievietot/Labot iezīmi',
+ menu : 'Iezīmes īpašības',
+ title : 'Iezīmes īpašības',
+ name : 'Iezīmes nosaukums',
+ errorName : 'LÅ«dzu norÄdiet iezÄ«mes nosaukumu'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'MeklÄt',
+ replace : 'Nomainīt',
+ findWhat : 'MeklÄt:',
+ replaceWith : 'Nomainīt uz:',
+ notFoundMsg : 'NorÄdÄ«tÄ frÄze netika atrasta.',
+ matchCase : 'Reģistrjūtīgs',
+ matchWord : 'JÄsakrÄ«t pilnÄ«bÄ',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Aizvietot visu',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabula',
+ title : 'Tabulas īpašības',
+ menu : 'Tabulas īpašības',
+ deleteTable : 'DzÄst tabulu',
+ rows : 'Rindas',
+ columns : 'Kolonnas',
+ border : 'RÄmja izmÄrs',
+ align : 'Novietojums',
+ alignLeft : 'Pa kreisi',
+ alignCenter : 'CentrÄti',
+ alignRight : 'Pa labi',
+ width : 'Platums',
+ widthPx : 'pikseļos',
+ widthPc : 'procentuÄli',
+ widthUnit : 'width unit', // MISSING
+ height : 'Augstums',
+ cellSpace : 'RÅ«tiÅu atstatums',
+ cellPad : 'RÅ«tiÅu nobÄ«de',
+ caption : 'Leģenda',
+ summary : 'AnotÄcija',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Å Å«na',
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'DzÄst rÅ«tiÅas',
+ merge : 'Apvienot rÅ«tiÅas',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Rinda',
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'DzÄst rindas'
+ },
+
+ column :
+ {
+ menu : 'Kolonna',
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'DzÄst kolonnas'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Pogas īpašības',
+ text : 'Teksts (vÄrtÄ«ba)',
+ type : 'Tips',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'AtzÄ«mÄÅ¡anas kastÄ«tes Ä«paÅ¡Ä«bas',
+ radioTitle : 'IzvÄles poga Ä«paÅ¡Ä«bas',
+ value : 'VÄrtÄ«ba',
+ selected : 'IezÄ«mÄts'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Formas īpašības',
+ menu : 'Formas īpašības',
+ action : 'Darbība',
+ method : 'Metode',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'IezÄ«mÄÅ¡anas lauka Ä«paÅ¡Ä«bas',
+ selectInfo : 'InformÄcija',
+ opAvail : 'PieejamÄs iespÄjas',
+ value : 'VÄrtÄ«ba',
+ size : 'IzmÄrs',
+ lines : 'rindas',
+ chkMulti : 'Atļaut vairÄkus iezÄ«mÄjumus',
+ opText : 'Teksts',
+ opValue : 'VÄrtÄ«ba',
+ btnAdd : 'Pievienot',
+ btnModify : 'Veikt izmaiÅas',
+ btnUp : 'Augšup',
+ btnDown : 'Lejup',
+ btnSetValue : 'Noteikt kÄ iezÄ«mÄto vÄrtÄ«bu',
+ btnDelete : 'DzÄst'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Teksta laukuma īpašības',
+ cols : 'Kolonnas',
+ rows : 'Rindas'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Teksta rindas īpašības',
+ name : 'Nosaukums',
+ value : 'VÄrtÄ«ba',
+ charWidth : 'Simbolu platums',
+ maxChars : 'Simbolu maksimÄlais daudzums',
+ type : 'Tips',
+ typeText : 'Teksts',
+ typePass : 'Parole'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'PaslÄptÄs teksta rindas Ä«paÅ¡Ä«bas',
+ name : 'Nosaukums',
+ value : 'VÄrtÄ«ba'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'AttÄla Ä«paÅ¡Ä«bas',
+ titleButton : 'AttÄlpogas Ä«paÅ¡Ä«bas',
+ menu : 'AttÄla Ä«paÅ¡Ä«bas',
+ infoTab : 'InformÄcija par attÄlu',
+ btnUpload : 'Nosūtīt serverim',
+ upload : 'AugÅ¡upielÄdÄt',
+ alt : 'Alternatīvais teksts',
+ width : 'Platums',
+ height : 'Augstums',
+ lockRatio : 'Nemainīga Augstuma/Platuma attiecība',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Atjaunot sÄkotnÄjo izmÄru',
+ border : 'RÄmis',
+ hSpace : 'HorizontÄlÄ telpa',
+ vSpace : 'VertikÄlÄ telpa',
+ align : 'NolÄ«dzinÄt',
+ alignLeft : 'Pa kreisi',
+ alignRight : 'Pa labi',
+ alertUrl : 'LÅ«dzu norÄdÄ«t attÄla hipersaiti',
+ linkTab : 'Hipersaite',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash īpašības',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flash īpašības',
+ chkPlay : 'AutomÄtiska atskaÅoÅ¡ana',
+ chkLoop : 'NepÄrtraukti',
+ chkMenu : 'Atļaut Flash izvÄlni',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'MainÄ«t izmÄru',
+ scaleAll : 'RÄdÄ«t visu',
+ scaleNoBorder : 'Bez rÄmja',
+ scaleFit : 'PrecÄ«zs izmÄrs',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'NolÄ«dzinÄt',
+ alignLeft : 'Pa kreisi',
+ alignAbsBottom : 'AbsolÅ«ti apakÅ¡Ä',
+ alignAbsMiddle : 'AbsolÅ«ti vertikÄli centrÄts',
+ alignBaseline : 'PamatrindÄ',
+ alignBottom : 'ApakÅ¡Ä',
+ alignMiddle : 'VertikÄli centrÄts',
+ alignRight : 'Pa labi',
+ alignTextTop : 'Teksta augÅ¡Ä',
+ alignTop : 'AugÅ¡Ä',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Fona krÄsa',
+ width : 'Platums',
+ height : 'Augstums',
+ hSpace : 'HorizontÄlÄ telpa',
+ vSpace : 'VertikÄlÄ telpa',
+ validateSrc : 'LÅ«dzu norÄdi hipersaiti',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'PareizrakstÄ«bas pÄrbaude',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Netika atrasts vÄrdnÄ«cÄ',
+ changeTo : 'Nomainīt uz',
+ btnIgnore : 'IgnorÄt',
+ btnIgnoreAll : 'IgnorÄt visu',
+ btnReplace : 'Aizvietot',
+ btnReplaceAll : 'Aizvietot visu',
+ btnUndo : 'Atcelt',
+ noSuggestions : '- Nav ieteikumu -',
+ progress : 'Notiek pareizrakstÄ«bas pÄrbaude...',
+ noMispell : 'PareizrakstÄ«bas pÄrbaude pabeigta: kļūdas netika atrastas',
+ noChanges : 'PareizrakstÄ«bas pÄrbaude pabeigta: nekas netika labots',
+ oneChange : 'PareizrakstÄ«bas pÄrbaude pabeigta: 1 vÄrds izmainÄ«ts',
+ manyChanges : 'PareizrakstÄ«bas pÄrbaude pabeigta: %1 vÄrdi tika mainÄ«ti',
+ ieSpellDownload : 'PareizrakstÄ«bas pÄrbaudÄ«tÄjs nav pievienots. Vai vÄlaties to lejupielÄdÄt tagad?'
+ },
+
+ smiley :
+ {
+ toolbar : 'SmaidiÅi',
+ title : 'Ievietot smaidiÅu',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'NumurÄts saraksts',
+ bulletedlist : 'Izcelts saraksts',
+ indent : 'PalielinÄt atkÄpi',
+ outdent : 'SamazinÄt atkÄpi',
+
+ justify :
+ {
+ left : 'IzlÄ«dzinÄt pa kreisi',
+ center : 'IzlÄ«dzinÄt pret centru',
+ right : 'IzlÄ«dzinÄt pa labi',
+ block : 'IzlÄ«dzinÄt malas'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Ievietot',
+ cutError : 'JÅ«su pÄrlÅ«kprogrammas droÅ¡Ä«bas iestatÄ«jumi nepieļauj editoram automÄtiski veikt izgrieÅ¡anas darbÄ«bu. LÅ«dzu, izmantojiet (Ctrl/Cmd+X, lai veiktu Å¡o darbÄ«bu.',
+ copyError : 'JÅ«su pÄrlÅ«kprogrammas droÅ¡Ä«bas iestatÄ«jumi nepieļauj editoram automÄtiski veikt kopÄÅ¡anas darbÄ«bu. LÅ«dzu, izmantojiet (Ctrl/Cmd+C), lai veiktu Å¡o darbÄ«bu.',
+ pasteMsg : 'LÅ«dzu, ievietojiet tekstu Å¡ajÄ laukumÄ, izmantojot klaviatÅ«ru (<STRONG>Ctrl/Cmd+V</STRONG>) un apstipriniet ar <STRONG>DarÄ«ts!</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Ievietot no Worda',
+ title : 'Ievietot no Worda',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Ievietot kÄ vienkÄrÅ¡u tekstu',
+ title : 'Ievietot kÄ vienkÄrÅ¡u tekstu'
+ },
+
+ templates :
+ {
+ button : 'Sagataves',
+ title : 'Satura sagataves',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'LÅ«dzu, norÄdiet sagatavi, ko atvÄrt editorÄ<br>(patreizÄjie dati tiks zaudÄti):',
+ emptyListMsg : '(Nav norÄdÄ«tas sagataves)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Stils',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'FormÄts',
+ panelTitle : 'FormÄts',
+
+ tag_p : 'NormÄls teksts',
+ tag_pre : 'FormatÄts teksts',
+ tag_address : 'Adrese',
+ tag_h1 : 'Virsraksts 1',
+ tag_h2 : 'Virsraksts 2',
+ tag_h3 : 'Virsraksts 3',
+ tag_h4 : 'Virsraksts 4',
+ tag_h5 : 'Virsraksts 5',
+ tag_h6 : 'Virsraksts 6',
+ tag_div : 'Rindkopa (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Å rifts',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Å rifts'
+ },
+
+ fontSize :
+ {
+ label : 'IzmÄrs',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'IzmÄrs'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Teksta krÄsa',
+ bgColorTitle : 'Fona krÄsa',
+ panelTitle : 'Colors', // MISSING
+ auto : 'AutomÄtiska',
+ more : 'PlaÅ¡Äka palete...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/mn.js b/devel/third-party/ckeditor/lang/mn.js
new file mode 100644
index 0000000..b579edd
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/mn.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Mongolian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['mn'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Ðод',
+ newPage : 'Ð¨Ð¸Ð½Ñ Ñ
ÑÑдаÑ',
+ save : 'ХадгалаÑ
',
+ preview : 'УÑидÑлан Ñ
аÑаÑ
',
+ cut : 'ХайÑлаÑ
',
+ copy : 'Ð¥ÑÑлаÑ
',
+ paste : 'ÐÑÑлгаÑ
',
+ print : 'Ð¥ÑвлÑÑ
',
+ underline : 'ÐоогÑÑÑ Ð½Ñ Ð·ÑÑааÑÑай болгоÑ
',
+ bold : 'Тод бүдүүн',
+ italic : 'ÐалÑÑ',
+ selectAll : 'Ðүгдийг Ð½Ñ ÑонгоÑ
',
+ removeFormat : 'ФоÑÐ¼Ð°Ñ Ð°Ð²Ñ Ñ
аÑÑ
',
+ strike : 'ÐÑндÑÑÑ Ð½Ñ Ð·ÑÑааÑÑай болгоÑ
',
+ subscript : 'СÑÑÑÑ Ð±Ð¾Ð»Ð³Ð¾Ñ
',
+ superscript : 'ÐÑÑÑг болгоÑ
',
+ horizontalrule : 'Хөндлөн зÑÑÐ°Ð°Ñ Ð¾ÑÑÑлаÑ
',
+ pagebreak : 'Ð¥ÑÑÐ´Ð°Ñ ÑÑÑгааÑÐ»Ð°Ð³Ñ Ð¾ÑÑÑлаÑ
',
+ unlink : 'Ðинк Ð°Ð²Ñ Ñ
аÑÑ
',
+ undo : 'Ð¥Ò¯Ñингүй болгоÑ
',
+ redo : 'ӨмнөÑ
үйлдлÑÑ ÑÑÑгÑÑÑ
',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'СеÑÐ²ÐµÑ Ñ
аÑÑÑлаÑ
',
+ url : 'URL',
+ protocol : 'ÐÑоÑокол',
+ upload : 'Ð¥ÑÑлаÑ
',
+ uploadSubmit : 'Үүнийг ÑеÑвÑÑÑÒ¯Ò¯ илгÑÑ',
+ image : 'ÐÑÑаг',
+ flash : 'ФлаÑ',
+ form : 'ФоÑм',
+ checkbox : 'ЧекбокÑ',
+ radio : 'Радио ÑовÑ',
+ textField : 'ТеÑ
Ñ ÑалбаÑ',
+ textarea : 'ТеÑ
Ñ Ð¾ÑÑин',
+ hiddenField : 'ÐÑÑÑ ÑалбаÑ',
+ button : 'ТовÑ',
+ select : 'Ð¡Ð¾Ð½Ð³Ð¾Ð³Ñ ÑалбаÑ',
+ imageButton : 'ÐÑÑагÑай ÑовÑ',
+ notSet : '<ÐнооÑ
гүй>',
+ id : 'Id',
+ name : 'ÐÑÑ',
+ langDir : 'Ð¥Ñлний ÑиглÑл',
+ langDirLtr : 'ÐүүнÑÑÑ Ð±Ð°ÑÑÑн (LTR)',
+ langDirRtl : 'ÐаÑÑÑÐ½Ð°Ð°Ñ Ð·Ò¯Ò¯Ð½ (RTL)',
+ langCode : 'Ð¥Ñлний код',
+ longDescr : 'URL-Ñн ÑайлбаÑ',
+ cssClass : 'Stylesheet клаÑÑÑÑд',
+ advisoryTitle : 'ÐөвлөлдөÑ
гаÑÑиг',
+ cssStyle : 'ÐагваÑ',
+ ok : 'OK',
+ cancel : 'ÐолиÑ
',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'ÐÑмÑлÑ',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'ÐнÑгой ÑÑмдÑÐ³Ñ Ð¾ÑÑÑлаÑ
',
+ title : 'ÐнÑгой ÑÑмдÑÐ³Ñ ÑонгоÑ
',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Ðинк ÐÑÑÑлаÑ
/ÐаÑваÑлаÑ
',
+ other : '<other>', // MISSING
+ menu : 'Ð¥Ð¾Ð»Ð±Ð¾Ð¾Ñ Ð·Ð°ÑваÑлаÑ
',
+ title : 'Ðинк',
+ info : 'Ðинкийн мÑдÑÑлÑл',
+ target : 'ÐайÑлал',
+ upload : 'Ð¥ÑÑлаÑ
',
+ advanced : 'ÐÑмÑлÑ',
+ type : 'Ðинкийн ÑÓ©Ñөл',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ÐÐ½Ñ Ñ
ÑÑдаÑандаÑ
Ñ
олбооÑ',
+ toEmail : 'E-Mail',
+ targetFrame : '<ÐгÑÑлаÑ
Ñ
Ò¯ÑÑÑ>',
+ targetPopup : '<popup ÑонÑ
>',
+ targetFrameName : 'ÐÑиÑ
ÑÑемÑн нÑÑ',
+ targetPopupName : 'Popup ÑонÑ
Ð½Ñ Ð½ÑÑ',
+ popupFeatures : 'Popup ÑонÑ
Ð½Ñ Ð¾Ð½Ñлог',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'СÑаÑÑÑ Ñ
ÑÑÑг',
+ popupLocationBar: 'Location Ñ
ÑÑÑг',
+ popupToolbar : 'ÐÐ°Ð³Ð°Ð¶Ð½Ñ Ñ
ÑÑÑг',
+ popupMenuBar : 'MeÐ½Ñ Ñ
ÑÑÑг',
+ popupFullScreen : 'ЦонÑ
дүүÑгÑÑ
(IE)',
+ popupScrollBars : 'СкÑол Ñ
ÑÑÑгүүд',
+ popupDependent : 'ХамааÑай (Netscape)',
+ popupWidth : 'Ó¨Ñгөн',
+ popupLeft : 'Ðүүн байÑлал',
+ popupHeight : 'ӨндөÑ',
+ popupTop : 'ÐÑÑд байÑлал',
+ id : 'Id', // MISSING
+ langDir : 'Ð¥Ñлний ÑиглÑл',
+ langDirLTR : 'ÐүүнÑÑÑ Ð±Ð°ÑÑÑн (LTR)',
+ langDirRTL : 'ÐаÑÑÑÐ½Ð°Ð°Ñ Ð·Ò¯Ò¯Ð½ (RTL)',
+ acccessKey : 'ХолбоÑ
ÑүлÑ
Ò¯Ò¯Ñ',
+ name : 'ÐÑÑ',
+ langCode : 'Ð¥Ñлний ÑиглÑл',
+ tabIndex : 'Tab индекÑ',
+ advisoryTitle : 'ÐөвлөлдөÑ
гаÑÑиг',
+ advisoryContentType : 'ÐөвлөлдөÑ
ÑÓ©Ñлийн агÑÑлга',
+ cssClasses : 'Stylesheet клаÑÑÑÑд',
+ charset : 'ТÑмдÑÐ³Ñ Ð¾Ð½Ð¾Ð¾Ñ
нөөÑөд Ñ
олбогдÑон',
+ styles : 'ÐагваÑ',
+ selectAnchor : 'Ð¥Ð¾Ð»Ð±Ð¾Ð¾Ñ ÑонгоÑ
',
+ anchorName : 'ХолбооÑÑн нÑÑÑÑÑ',
+ anchorId : 'ÐлемÑÐ½Ñ Id-гааÑ',
+ emailAddress : 'E-Mail ХаÑг',
+ emailSubject : 'Message гаÑÑиг',
+ emailBody : 'Message-ийн агÑÑлга',
+ noAnchors : '(ÐаÑÐ¸Ð¼Ñ Ð±Ð¸Ñиг Ñ
олбооÑгүй байна)',
+ noUrl : 'Ðинк URL-ÑÑ ÑÓ©ÑÓ©Ð»Ð¶Ò¯Ò¯Ð»Ð½Ñ Ò¯Ò¯',
+ noEmail : 'Ð-mail Ñ
аÑгаа ÑÓ©ÑÓ©Ð»Ð¶Ò¯Ò¯Ð»Ð½Ñ Ò¯Ò¯'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Ð¥Ð¾Ð»Ð±Ð¾Ð¾Ñ ÐÑÑÑлаÑ
/ÐаÑваÑлаÑ
',
+ menu : 'Ð¥Ð¾Ð»Ð±Ð¾Ð¾Ñ Ñинж ÑанаÑ',
+ title : 'Ð¥Ð¾Ð»Ð±Ð¾Ð¾Ñ Ñинж ÑанаÑ',
+ name : 'Ð¥Ð¾Ð»Ð±Ð¾Ð¾Ñ Ð½ÑÑ',
+ errorName : 'Ð¥Ð¾Ð»Ð±Ð¾Ð¾Ñ ÑÓ©Ñөл оÑÑÑлна ÑÑ'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Хай мөн ÐаÑж биÑ',
+ find : 'ХайÑ
',
+ replace : 'СолиÑ
',
+ findWhat : 'ХайÑ
үг/Ò¯ÑÑг:',
+ replaceWith : 'СолиÑ
үг:',
+ notFoundMsg : 'ХайÑан ÑекÑÑ Ð¾Ð»Ñонгүй.',
+ matchCase : 'ТÑнÑÑÑ
Ñөлөв',
+ matchWord : 'ТÑнÑÑÑ
бүÑÑн үг',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Ðүгдийг Ð½Ñ Ð¡Ð¾Ð»Ð¸Ñ
',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Ð¥Ò¯ÑнÑгÑ',
+ title : 'Ð¥Ò¯ÑнÑгÑ',
+ menu : 'Ð¥Ò¯ÑнÑгÑ',
+ deleteTable : 'Ð¥Ò¯ÑнÑÐ³Ñ ÑÑÑгаÑ
',
+ rows : 'ÐÓ©Ñ',
+ columns : 'Ðагана',
+ border : 'Ð¥Ò¯ÑÑÑний Ñ
ÑмжÑÑ',
+ align : 'ÐгнÑÑ',
+ alignLeft : 'Ðүүн Ñалд',
+ alignCenter : 'Төвд',
+ alignRight : 'ÐаÑÑÑн Ñалд',
+ width : 'Ó¨Ñгөн',
+ widthPx : 'ÑÑг',
+ widthPc : 'Ñ
ÑвÑ',
+ widthUnit : 'width unit', // MISSING
+ height : 'ӨндөÑ',
+ cellSpace : 'ÐÒ¯Ñ
Ñ
ооÑондÑн зай (spacing)',
+ cellPad : 'ÐÒ¯Ñ
доÑоÑлоÑ
(padding)',
+ caption : 'ТайлбаÑ',
+ summary : 'ТайлбаÑ',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'ÐÒ¯Ñ
/зай',
+ insertBefore : 'ÐÒ¯Ñ
/зай өмнө Ð½Ñ Ð¾ÑÑÑлаÑ
',
+ insertAfter : 'ÐÒ¯Ñ
/зай даÑаа Ð½Ñ Ð¾ÑÑÑлаÑ
',
+ deleteCell : 'ÐÒ¯Ñ
ÑÑÑгаÑ
',
+ merge : 'ÐÒ¯Ñ
нÑгÑÑÑ
',
+ mergeRight : 'ÐаÑÑÑн ÑÐ¸Ð¹Ñ Ð½ÑгÑгÑÑ
',
+ mergeDown : 'ÐÐ¾Ð¾Ñ Ð½ÑгÑгÑÑ
',
+ splitHorizontal : 'ÐÒ¯Ñ
/зайг боÑÐ¾Ð¾Ð³Ð¾Ð¾Ñ Ð½Ñ ÑÑÑгааÑлаÑ
',
+ splitVertical : 'ÐÒ¯Ñ
/зайг Ñ
Ó©Ð½Ð´Ð»Ó©Ð½Ð³Ó©Ó©Ñ Ð½Ñ ÑÑÑгааÑлаÑ
',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'ÐÓ©Ñ',
+ insertBefore : 'ÐÓ©Ñ Ó©Ð¼Ð½Ó© Ð½Ñ Ð¾ÑÑÑлаÑ
',
+ insertAfter : 'ÐÓ©Ñ Ð´Ð°Ñаа Ð½Ñ Ð¾ÑÑÑлаÑ
',
+ deleteRow : 'ÐÓ©Ñ ÑÑÑгаÑ
'
+ },
+
+ column :
+ {
+ menu : 'Ðагана',
+ insertBefore : 'Ðагана өмнө Ð½Ñ Ð¾ÑÑÑлаÑ
',
+ insertAfter : 'Ðагана даÑаа Ð½Ñ Ð¾ÑÑÑлаÑ
',
+ deleteColumn : 'Ðагана ÑÑÑгаÑ
'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ТовÑÐ½Ñ Ñинж ÑанаÑ',
+ text : 'ТÑкÑÑ (УÑга)',
+ type : 'ТөÑөл',
+ typeBtn : 'ТовÑ',
+ typeSbm : 'Submit',
+ typeRst : 'ÐолиÑ
'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ЧекбокÑÐ½Ñ Ñинж ÑанаÑ',
+ radioTitle : 'Радио ÑовÑÐ½Ñ Ñинж ÑанаÑ',
+ value : 'УÑга',
+ selected : 'СонгогдÑон'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ФоÑм Ñинж ÑанаÑ',
+ menu : 'ФоÑм Ñинж ÑанаÑ',
+ action : 'ҮйлдÑл',
+ method : 'ÐÑга',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Ð¡Ð¾Ð³Ð¾Ð³Ñ ÑалбаÑÑн Ñинж ÑанаÑ',
+ selectInfo : 'ÐÑдÑÑлÑл',
+ opAvail : 'ÐдвÑÑ
ÑÑй ÑонголÑ',
+ value : 'УÑга',
+ size : 'Ð¥ÑмжÑÑ',
+ lines : 'ÐÓ©Ñ',
+ chkMulti : 'Ðлон ÑÐ¾Ð½Ð³Ð¾Ð»Ñ Ð·Ó©Ð²ÑÓ©Ó©ÑÓ©Ñ
',
+ opText : 'ТÑкÑÑ',
+ opValue : 'УÑга',
+ btnAdd : 'ÐÑмÑÑ
',
+ btnModify : 'Ó¨Ó©ÑÑлөÑ
',
+ btnUp : 'ÐÑÑÑ',
+ btnDown : 'ÐооÑ',
+ btnSetValue : 'СонгогдÑан ÑÑга онооÑ
',
+ btnDelete : 'УÑÑгаÑ
'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ТекÑÑ Ð¾ÑÑÐ½Ñ Ñинж ÑанаÑ',
+ cols : 'Ðагана',
+ rows : 'ÐÓ©Ñ'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ТекÑÑ ÑалбаÑÑн Ñинж ÑанаÑ',
+ name : 'ÐÑÑ',
+ value : 'УÑга',
+ charWidth : 'ТÑмдÑгÑÑн Ó©Ñгөн',
+ maxChars : 'Хамгийн иÑ
ÑÑмдÑгÑ',
+ type : 'ТөÑөл',
+ typeText : 'ТекÑÑ',
+ typePass : 'ÐÑÑÑ Ò¯Ð³'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ÐÑÑÑ ÑалбаÑÑн Ñинж ÑанаÑ',
+ name : 'ÐÑÑ',
+ value : 'УÑга'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ÐÑÑаг',
+ titleButton : 'ÐÑÑган ÑовÑÐ½Ñ Ñинж ÑанаÑ',
+ menu : 'ÐÑÑаг',
+ infoTab : 'ÐÑÑÐ°Ð³Ð½Ñ Ð¼ÑдÑÑлÑл',
+ btnUpload : 'Үүнийг ÑеÑвÑÑÑÒ¯Ò¯ илгÑÑ',
+ upload : 'Ð¥ÑÑлаÑ
',
+ alt : 'Ð¢Ð°Ð¹Ð»Ð±Ð°Ñ ÑекÑÑ',
+ width : 'Ó¨Ñгөн',
+ height : 'ӨндөÑ',
+ lockRatio : 'Радио ÑүгжиÑ
',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Ñ
ÑмжÑÑ Ð´Ð°Ñ
ин онооÑ
',
+ border : 'Ð¥Ò¯ÑÑÑ',
+ hSpace : 'Хөндлөн зай',
+ vSpace : 'ÐоÑоо зай',
+ align : 'ÐгнÑÑ',
+ alignLeft : 'Ðүүн',
+ alignRight : 'ÐаÑÑÑн',
+ alertUrl : 'ÐÑÑÐ°Ð³Ð½Ñ URL-Ñн ÑÓ©Ñлийн Ñонгоно ÑÑ',
+ linkTab : 'Ðинк',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Ð¤Ð»Ð°Ñ Ñинж ÑанаÑ',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Ð¤Ð»Ð°Ñ Ñинж ÑанаÑ',
+ chkPlay : 'ÐвÑомаÑÐ°Ð°Ñ ÑоглоÑ
',
+ chkLoop : 'ÐавÑаÑ
',
+ chkMenu : 'Ð¤Ð»Ð°Ñ ÑÑÑ Ð¸Ð´Ð²ÑÑ
жүүлÑÑ
',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Ó¨ÑгөгÑгөÑ
',
+ scaleAll : 'Ðүгдийг Ñ
аÑÑÑлаÑ
',
+ scaleNoBorder : 'Ð¥Ò¯ÑÑÑгүй',
+ scaleFit : 'Яг ÑааÑÑÑлаÑ
',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'ÐгнÑÑ',
+ alignLeft : 'Ðүүн',
+ alignAbsBottom : 'Abs доод Ñалд',
+ alignAbsMiddle : 'Abs ÐÑнд Ñалд',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Ðоод Ñалд',
+ alignMiddle : 'ÐÑнд Ñалд',
+ alignRight : 'ÐаÑÑÑн',
+ alignTextTop : 'ТекÑÑ Ð´ÑÑÑ',
+ alignTop : 'ÐÑÑд Ñалд',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Ð¤Ð¾Ð½Ð½Ñ Ó©Ð½Ð³Ó©',
+ width : 'Ó¨Ñгөн',
+ height : 'ӨндөÑ',
+ hSpace : 'Хөндлөн зай',
+ vSpace : 'ÐоÑоо зай',
+ validateSrc : 'Ðинк URL-ÑÑ ÑÓ©ÑÓ©Ð»Ð¶Ò¯Ò¯Ð»Ð½Ñ Ò¯Ò¯',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Үгийн дүÑÑÑ
ÑалгаÑ
',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Ð¢Ð¾Ð»Ñ Ð±Ð¸Ñиггүй',
+ changeTo : 'Ó¨Ó©ÑÑлөÑ
',
+ btnIgnore : 'ÐөвÑÓ©Ó©ÑÓ©Ñ
',
+ btnIgnoreAll : 'Ðүгдийг зөвÑÓ©Ó©ÑÓ©Ñ
',
+ btnReplace : 'ÐаÑж биÑиÑ
',
+ btnReplaceAll : 'Ðүгдийг ÐаÑж биÑиÑ
',
+ btnUndo : 'ÐÑÑааÑ
',
+ noSuggestions : '- ТайлбаÑгүй -',
+ progress : 'ÐÒ¯ÑÑм Ñалгаж байгаа үйл ÑвÑ...',
+ noMispell : 'ÐÒ¯ÑÑм Ñалгаад дÑÑÑÑан: Ðлдаа олдÑонгүй',
+ noChanges : 'ÐÒ¯ÑÑм Ñалгаад дÑÑÑÑан: үг Ó©Ó©ÑÑлөгдөөгүй',
+ oneChange : 'ÐÒ¯ÑÑм Ñалгаад дÑÑÑÑан: 1 үг Ó©Ó©ÑÑлөгдÑөн',
+ manyChanges : 'ÐÒ¯ÑÑм Ñалгаад дÑÑÑÑан: %1 үг Ó©Ó©ÑÑлөгдÑөн',
+ ieSpellDownload : 'ÐÒ¯ÑÑм ÑÐ°Ð»Ð³Ð°Ð³Ñ ÑÑÑгаагүй байна. ТаÑаж аваÑ
Ñг Ñ
Ò¯ÑÑ Ð±Ð°Ð¹Ð½Ð° ÑÑ?'
+ },
+
+ smiley :
+ {
+ toolbar : 'ТодоÑÑ
ойлолÑ',
+ title : 'ТодоÑÑ
Ð¾Ð¹Ð»Ð¾Ð»Ñ Ð¾ÑÑÑлаÑ
',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ÐÑгааÑлагдÑан жагÑаалÑ',
+ bulletedlist : 'ЦÑгÑÑй жагÑаалÑ',
+ indent : 'Ðогол Ð¼Ó©Ñ Ñ
аÑаÑ
',
+ outdent : 'Ðогол Ð¼Ó©Ñ Ð½ÑмÑÑ
',
+
+ justify :
+ {
+ left : 'Ðүүн Ñалд байÑлÑÑлаÑ
',
+ center : 'Төвд байÑлÑÑлаÑ
',
+ right : 'ÐаÑÑÑн Ñалд байÑлÑÑлаÑ
',
+ block : 'Ðлок Ñ
ÑлбÑÑÑÑÑ Ð±Ð°Ð¹ÑлÑÑлаÑ
'
+ },
+
+ blockquote : 'ХайÑÑаглаÑ
',
+
+ clipboard :
+ {
+ title : 'ÐÑÑлгаÑ
',
+ cutError : 'Ð¢Ð°Ð½Ñ browser-Ñн Ñ
амгаалалÑÑн ÑоÑ
иÑгоо editor-д авÑомаÑÐ°Ð°Ñ Ñ
айÑлаÑ
үйлдÑлийг зөвÑÓ©Ó©ÑÓ©Ñ
гүй байна. (Ctrl/Cmd+X) ÑовÑÐ½Ñ Ñ
оÑлолÑг аÑиглана ÑÑ.',
+ copyError : 'Ð¢Ð°Ð½Ñ browser-Ñн Ñ
амгаалалÑÑн ÑоÑ
иÑгоо editor-д авÑомаÑÐ°Ð°Ñ Ñ
ÑÑлаÑ
үйлдÑлийг зөвÑÓ©Ó©ÑÓ©Ñ
гүй байна. (Ctrl/Cmd+C) ÑовÑÐ½Ñ Ñ
оÑлолÑг аÑиглана ÑÑ.',
+ pasteMsg : '(<strong>Ctrl/Cmd+V</strong>) ÑовÑийг аÑиглан paste Ñ
Ð¸Ð¹Ð½Ñ Ò¯Ò¯. Ðөн <strong>OK</strong> даÑ.',
+ securityMsg : 'Ð¢Ð°Ð½Ñ Ò¯Ð·Ò¯Ò¯Ð»ÑгÑ/browser/-н Ñ
амгаалалÑÑн ÑоÑ
иÑÐ³Ð¾Ð¾Ð½Ð¾Ð¾Ñ Ð±Ð¾Ð»Ð¾Ð¾Ð´ editor clipboard өгөгдөлÑÒ¯Ò¯ ÑÑÑд Ñ
андаÑ
боломжгүй. ÐÐ½Ñ ÑонÑ
од даÑ
ин paste Ñ
ийÑ
ийг оÑолд.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Word-Ð¾Ð¾Ñ Ð±ÑÑлгаÑ
',
+ title : 'Word-Ð¾Ð¾Ñ Ð±ÑÑлгаÑ
',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Plain Text-ÑÑÑ Ð±ÑÑлгаÑ
',
+ title : 'Plain Text-ÑÑÑ Ð±ÑÑлгаÑ
'
+ },
+
+ templates :
+ {
+ button : 'ÐагваÑÑÑд',
+ title : 'ÐагваÑÑн агÑÑлга',
+ options : 'Template Options', // MISSING
+ insertOption : 'Ðдоогийн агÑÑллагÑг даÑж биÑиÑ
',
+ selectPromptMsg : 'ÐагваÑÑг нÑÑж editor-ÑÒ¯Ò¯ Ñонгож оÑÑÑлна ÑÑ<br />(Ðдоогийн агÑÑллагÑг ÑÑÑаж магадгүй):',
+ emptyListMsg : '(ÐÐ°Ð³Ð²Ð°Ñ ÑодоÑÑ
ойлогдоогүй байна)'
+ },
+
+ showBlocks : 'Block-ÑÑдÑг үзүүлÑÑ
',
+
+ stylesCombo :
+ {
+ label : 'ÐагваÑ',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'ФоÑмаÑ',
+ panelTitle : 'ФоÑмаÑ',
+
+ tag_p : 'Ð¥Ñвийн',
+ tag_pre : 'Formatted',
+ tag_address : 'ХаÑг',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Paragraph (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ФонÑ',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'ФонÑ'
+ },
+
+ fontSize :
+ {
+ label : 'Ð¥ÑмжÑÑ',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Ð¥ÑмжÑÑ'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ФонÑÐ½Ñ Ó©Ð½Ð³Ó©',
+ bgColorTitle : 'Ð¤Ð¾Ð½Ð½Ñ Ó©Ð½Ð³Ó©',
+ panelTitle : 'Colors', // MISSING
+ auto : 'ÐвÑомаÑааÑ',
+ more : 'ÐÑмÑÐ»Ñ Ó©Ð½Ð³Ó©Ð½Ò¯Ò¯Ð´...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/ms.js b/devel/third-party/ckeditor/lang/ms.js
new file mode 100644
index 0000000..e3398c4
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/ms.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Malay language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ms'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Sumber',
+ newPage : 'Helaian Baru',
+ save : 'Simpan',
+ preview : 'Prebiu',
+ cut : 'Potong',
+ copy : 'Salin',
+ paste : 'Tampal',
+ print : 'Cetak',
+ underline : 'Underline',
+ bold : 'Bold',
+ italic : 'Italic',
+ selectAll : 'Pilih Semua',
+ removeFormat : 'Buang Format',
+ strike : 'Strike Through',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Masukkan Garisan Membujur',
+ pagebreak : 'Insert Page Break for Printing', // MISSING
+ unlink : 'Buang Sambungan',
+ undo : 'Batalkan',
+ redo : 'Ulangkan',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Browse Server',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Muat Naik',
+ uploadSubmit : 'Hantar ke Server',
+ image : 'Gambar',
+ flash : 'Flash', // MISSING
+ form : 'Borang',
+ checkbox : 'Checkbox',
+ radio : 'Butang Radio',
+ textField : 'Text Field',
+ textarea : 'Textarea',
+ hiddenField : 'Field Tersembunyi',
+ button : 'Butang',
+ select : 'Field Pilihan',
+ imageButton : 'Butang Bergambar',
+ notSet : '<tidak di set>',
+ id : 'Id',
+ name : 'Nama',
+ langDir : 'Arah Tulisan',
+ langDirLtr : 'Kiri ke Kanan (LTR)',
+ langDirRtl : 'Kanan ke Kiri (RTL)',
+ langCode : 'Kod Bahasa',
+ longDescr : 'Butiran Panjang URL',
+ cssClass : 'Kelas-kelas Stylesheet',
+ advisoryTitle : 'Tajuk Makluman',
+ cssStyle : 'Stail',
+ ok : 'OK',
+ cancel : 'Batal',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Advanced',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Masukkan Huruf Istimewa',
+ title : 'Sila pilih huruf istimewa',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Masukkan/Sunting Sambungan',
+ other : '<lain>',
+ menu : 'Sunting Sambungan',
+ title : 'Sambungan',
+ info : 'Butiran Sambungan',
+ target : 'Sasaran',
+ upload : 'Muat Naik',
+ advanced : 'Advanced',
+ type : 'Jenis Sambungan',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Pautan dalam muka surat ini',
+ toEmail : 'E-Mail',
+ targetFrame : '<bingkai>',
+ targetPopup : '<tetingkap popup>',
+ targetFrameName : 'Nama Bingkai Sasaran',
+ targetPopupName : 'Nama Tetingkap Popup',
+ popupFeatures : 'Ciri Tetingkap Popup',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Bar Status',
+ popupLocationBar: 'Bar Lokasi',
+ popupToolbar : 'Toolbar',
+ popupMenuBar : 'Bar Menu',
+ popupFullScreen : 'Skrin Penuh (IE)',
+ popupScrollBars : 'Bar-bar skrol',
+ popupDependent : 'Bergantungan (Netscape)',
+ popupWidth : 'Lebar',
+ popupLeft : 'Posisi Kiri',
+ popupHeight : 'Tinggi',
+ popupTop : 'Posisi Atas',
+ id : 'Id', // MISSING
+ langDir : 'Arah Tulisan',
+ langDirLTR : 'Kiri ke Kanan (LTR)',
+ langDirRTL : 'Kanan ke Kiri (RTL)',
+ acccessKey : 'Kunci Akses',
+ name : 'Nama',
+ langCode : 'Arah Tulisan',
+ tabIndex : 'Indeks Tab ',
+ advisoryTitle : 'Tajuk Makluman',
+ advisoryContentType : 'Jenis Kandungan Makluman',
+ cssClasses : 'Kelas-kelas Stylesheet',
+ charset : 'Linked Resource Charset',
+ styles : 'Stail',
+ selectAnchor : 'Sila pilih pautan',
+ anchorName : 'dengan menggunakan nama pautan',
+ anchorId : 'dengan menggunakan ID elemen',
+ emailAddress : 'Alamat E-Mail',
+ emailSubject : 'Subjek Mesej',
+ emailBody : 'Isi Kandungan Mesej',
+ noAnchors : '(Tiada pautan terdapat dalam dokumen ini)',
+ noUrl : 'Sila taip sambungan URL',
+ noEmail : 'Sila taip alamat e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Masukkan/Sunting Pautan',
+ menu : 'Ciri-ciri Pautan',
+ title : 'Ciri-ciri Pautan',
+ name : 'Nama Pautan',
+ errorName : 'Sila taip nama pautan'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'Cari',
+ replace : 'Ganti',
+ findWhat : 'Perkataan yang dicari:',
+ replaceWith : 'Diganti dengan:',
+ notFoundMsg : 'Text yang dicari tidak dijumpai.',
+ matchCase : 'Padanan case huruf',
+ matchWord : 'Padana Keseluruhan perkataan',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Ganti semua',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Jadual',
+ title : 'Ciri-ciri Jadual',
+ menu : 'Ciri-ciri Jadual',
+ deleteTable : 'Delete Table', // MISSING
+ rows : 'Barisan',
+ columns : 'Jaluran',
+ border : 'Saiz Border',
+ align : 'Penjajaran',
+ alignLeft : 'Kiri',
+ alignCenter : 'Tengah',
+ alignRight : 'Kanan',
+ width : 'Lebar',
+ widthPx : 'piksel-piksel',
+ widthPc : 'peratus',
+ widthUnit : 'width unit', // MISSING
+ height : 'Tinggi',
+ cellSpace : 'Ruangan Antara Sel',
+ cellPad : 'Tambahan Ruang Sel',
+ caption : 'Keterangan',
+ summary : 'Summary', // MISSING
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell', // MISSING
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'Buangkan Sel-sel',
+ merge : 'Cantumkan Sel-sel',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row', // MISSING
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'Buangkan Baris'
+ },
+
+ column :
+ {
+ menu : 'Column', // MISSING
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'Buangkan Lajur'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Ciri-ciri Butang',
+ text : 'Teks (Nilai)',
+ type : 'Jenis',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Ciri-ciri Checkbox',
+ radioTitle : 'Ciri-ciri Butang Radio',
+ value : 'Nilai',
+ selected : 'Dipilih'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Ciri-ciri Borang',
+ menu : 'Ciri-ciri Borang',
+ action : 'Tindakan borang',
+ method : 'Cara borang dihantar',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Ciri-ciri Selection Field',
+ selectInfo : 'Select Info', // MISSING
+ opAvail : 'Pilihan sediada',
+ value : 'Nilai',
+ size : 'Saiz',
+ lines : 'garisan',
+ chkMulti : 'Benarkan pilihan pelbagai',
+ opText : 'Teks',
+ opValue : 'Nilai',
+ btnAdd : 'Tambah Pilihan',
+ btnModify : 'Ubah Pilihan',
+ btnUp : 'Naik ke atas',
+ btnDown : 'Turun ke bawah',
+ btnSetValue : 'Set sebagai nilai terpilih',
+ btnDelete : 'Padam'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Ciri-ciri Textarea',
+ cols : 'Lajur',
+ rows : 'Baris'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Ciri-ciri Text Field',
+ name : 'Nama',
+ value : 'Nilai',
+ charWidth : 'Lebar isian',
+ maxChars : 'Isian Maksimum',
+ type : 'Jenis',
+ typeText : 'Teks',
+ typePass : 'Kata Laluan'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Ciri-ciri Field Tersembunyi',
+ name : 'Nama',
+ value : 'Nilai'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Ciri-ciri Imej',
+ titleButton : 'Ciri-ciri Butang Bergambar',
+ menu : 'Ciri-ciri Imej',
+ infoTab : 'Info Imej',
+ btnUpload : 'Hantar ke Server',
+ upload : 'Muat Naik',
+ alt : 'Text Alternatif',
+ width : 'Lebar',
+ height : 'Tinggi',
+ lockRatio : 'Tetapkan Nisbah',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Saiz Set Semula',
+ border : 'Border',
+ hSpace : 'Ruang Melintang',
+ vSpace : 'Ruang Menegak',
+ align : 'Jajaran',
+ alignLeft : 'Kiri',
+ alignRight : 'Kanan',
+ alertUrl : 'Sila taip URL untuk fail gambar',
+ linkTab : 'Sambungan',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Properties', // MISSING
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flash Properties', // MISSING
+ chkPlay : 'Auto Play', // MISSING
+ chkLoop : 'Loop', // MISSING
+ chkMenu : 'Enable Flash Menu', // MISSING
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Scale', // MISSING
+ scaleAll : 'Show all', // MISSING
+ scaleNoBorder : 'No Border', // MISSING
+ scaleFit : 'Exact Fit', // MISSING
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Jajaran',
+ alignLeft : 'Kiri',
+ alignAbsBottom : 'Bawah Mutlak',
+ alignAbsMiddle : 'Pertengahan Mutlak',
+ alignBaseline : 'Garis Dasar',
+ alignBottom : 'Bawah',
+ alignMiddle : 'Pertengahan',
+ alignRight : 'Kanan',
+ alignTextTop : 'Atas Text',
+ alignTop : 'Atas',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Warna Latarbelakang',
+ width : 'Lebar',
+ height : 'Tinggi',
+ hSpace : 'Ruang Melintang',
+ vSpace : 'Ruang Menegak',
+ validateSrc : 'Sila taip sambungan URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Semak Ejaan',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Tidak terdapat didalam kamus',
+ changeTo : 'Tukarkan kepada',
+ btnIgnore : 'Biar',
+ btnIgnoreAll : 'Biarkan semua',
+ btnReplace : 'Ganti',
+ btnReplaceAll : 'Gantikan Semua',
+ btnUndo : 'Batalkan',
+ noSuggestions : '- Tiada cadangan -',
+ progress : 'Pemeriksaan ejaan sedang diproses...',
+ noMispell : 'Pemeriksaan ejaan siap: Tiada salah ejaan',
+ noChanges : 'Pemeriksaan ejaan siap: Tiada perkataan diubah',
+ oneChange : 'Pemeriksaan ejaan siap: Satu perkataan telah diubah',
+ manyChanges : 'Pemeriksaan ejaan siap: %1 perkataan diubah',
+ ieSpellDownload : 'Pemeriksa ejaan tidak dipasang. Adakah anda mahu muat turun sekarang?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Masukkan Smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Senarai bernombor',
+ bulletedlist : 'Senarai tidak bernombor',
+ indent : 'Tambahkan Inden',
+ outdent : 'Kurangkan Inden',
+
+ justify :
+ {
+ left : 'Jajaran Kiri',
+ center : 'Jajaran Tengah',
+ right : 'Jajaran Kanan',
+ block : 'Jajaran Blok'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Tampal',
+ cutError : 'Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+X).',
+ copyError : 'Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl/Cmd+C).',
+ pasteMsg : 'Please paste inside the following box using the keyboard (<strong>Ctrl/Cmd+V</strong>) and hit OK', // MISSING
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Tampal dari Word',
+ title : 'Tampal dari Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Tampal sebagai text biasa',
+ title : 'Tampal sebagai text biasa'
+ },
+
+ templates :
+ {
+ button : 'Templat',
+ title : 'Templat Kandungan',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'Sila pilih templat untuk dibuka oleh editor<br>(kandungan sebenar akan hilang):',
+ emptyListMsg : '(Tiada Templat Disimpan)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Stail',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Telah Diformat',
+ tag_address : 'Alamat',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Perenggan (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Font'
+ },
+
+ fontSize :
+ {
+ label : 'Saiz',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Saiz'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Warna Text',
+ bgColorTitle : 'Warna Latarbelakang',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Otomatik',
+ more : 'Warna lain-lain...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/nb.js b/devel/third-party/ckeditor/lang/nb.js
new file mode 100644
index 0000000..6baf3d8
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/nb.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Norwegian Bokmål language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['nb'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rikteksteditor, %1, trykk ALT 0 for hjelp.',
+
+ // ARIA descriptions.
+ toolbar : 'Verktøylinje',
+ editor : 'Rikteksteditor',
+
+ // Toolbar buttons without dialogs.
+ source : 'Kilde',
+ newPage : 'Ny Side',
+ save : 'Lagre',
+ preview : 'Forhåndsvis',
+ cut : 'Klipp ut',
+ copy : 'Kopier',
+ paste : 'Lim inn',
+ print : 'Skriv ut',
+ underline : 'Understrek',
+ bold : 'Fet',
+ italic : 'Kursiv',
+ selectAll : 'Merk alt',
+ removeFormat : 'Fjern format',
+ strike : 'Gjennomstrek',
+ subscript : 'Senket skrift',
+ superscript : 'Hevet skrift',
+ horizontalrule : 'Sett inn horisontal linje',
+ pagebreak : 'Sett inn sideskift',
+ unlink : 'Fjern lenke',
+ undo : 'Angre',
+ redo : 'Gjør om',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Bla igjennom server',
+ url : 'URL',
+ protocol : 'Protokoll',
+ upload : 'Last opp',
+ uploadSubmit : 'Send det til serveren',
+ image : 'Bilde',
+ flash : 'Flash',
+ form : 'Skjema',
+ checkbox : 'Avmerkingsboks',
+ radio : 'Alternativknapp',
+ textField : 'Tekstboks',
+ textarea : 'Tekstområde',
+ hiddenField : 'Skjult felt',
+ button : 'Knapp',
+ select : 'Rullegardinliste',
+ imageButton : 'Bildeknapp',
+ notSet : '<ikke satt>',
+ id : 'Id',
+ name : 'Navn',
+ langDir : 'Språkretning',
+ langDirLtr : 'Venstre til høyre (VTH)',
+ langDirRtl : 'Høyre til venstre (HTV)',
+ langCode : 'Språkkode',
+ longDescr : 'Utvidet beskrivelse',
+ cssClass : 'Stilarkklasser',
+ advisoryTitle : 'Tittel',
+ cssStyle : 'Stil',
+ ok : 'OK',
+ cancel : 'Avbryt',
+ close : 'Lukk',
+ preview : 'Forhåndsvis',
+ generalTab : 'Generelt',
+ advancedTab : 'Avansert',
+ validateNumberFailed : 'Denne verdien er ikke ett nummer',
+ confirmNewPage : 'Alle endringer som er gjort i dette innholdet vil bli tapt. Er du sikker på at du vil laste en ny side?',
+ confirmCancel : 'Noen av valgene har blitt endret. Er du sikker på at du vil lukke dialogen?',
+ options : 'Valg',
+ target : 'MÃ¥l',
+ targetNew : 'Nytt vindu (_blank)',
+ targetTop : 'Hele vindu (_top)',
+ targetSelf : 'Samme vindu (_self)',
+ targetParent : 'Foreldrevindu (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, utilgjenglig</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Sett inn spesielt tegn',
+ title : 'Velg spesielt tegn',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Sett inn/Rediger lenke',
+ other : '<other>', // MISSING
+ menu : 'Rediger lenke',
+ title : 'Lenke',
+ info : 'Lenkeinfo',
+ target : 'MÃ¥l',
+ upload : 'Last opp',
+ advanced : 'Avansert',
+ type : 'Lenketype',
+ toUrl : 'URL',
+ toAnchor : 'Lenke til anker i teksten',
+ toEmail : 'E-post',
+ targetFrame : '<ramme>',
+ targetPopup : '<popup vindu>',
+ targetFrameName : 'MÃ¥lramme',
+ targetPopupName : 'Navn på popup-vindus',
+ popupFeatures : 'Egenskaper for popup-vindu',
+ popupResizable : 'Skalérbar',
+ popupStatusBar : 'Statuslinje',
+ popupLocationBar: 'Adresselinje',
+ popupToolbar : 'Verktøylinje',
+ popupMenuBar : 'Menylinje',
+ popupFullScreen : 'Full skjerm (IE)',
+ popupScrollBars : 'Scrollbar',
+ popupDependent : 'Avhenging (Netscape)',
+ popupWidth : 'Bredde',
+ popupLeft : 'Venstre posisjon',
+ popupHeight : 'Høyde',
+ popupTop : 'Topp-posisjon',
+ id : 'Id',
+ langDir : 'Språkretning',
+ langDirLTR : 'Venstre til høyre (VTH)',
+ langDirRTL : 'Høyre til venstre (HTV)',
+ acccessKey : 'Aksessknapp',
+ name : 'Navn',
+ langCode : 'Språkretning',
+ tabIndex : 'Tab Indeks',
+ advisoryTitle : 'Tittel',
+ advisoryContentType : 'Type',
+ cssClasses : 'Stilarkklasser',
+ charset : 'Lenket språkkart',
+ styles : 'Stil',
+ selectAnchor : 'Velg et anker',
+ anchorName : 'Anker etter navn',
+ anchorId : 'Element etter ID',
+ emailAddress : 'E-postadresse',
+ emailSubject : 'Meldingsemne',
+ emailBody : 'Melding',
+ noAnchors : '(Ingen anker i dokumentet)',
+ noUrl : 'Vennligst skriv inn lenkens url',
+ noEmail : 'Vennligst skriv inn e-postadressen'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Sett inn/Rediger anker',
+ menu : 'Egenskaper for anker',
+ title : 'Egenskaper for anker',
+ name : 'Ankernavn',
+ errorName : 'Vennligst skriv inn ankernavnet'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Søk og erstatt',
+ find : 'Søk',
+ replace : 'Erstatt',
+ findWhat : 'Søk etter:',
+ replaceWith : 'Erstatt med:',
+ notFoundMsg : 'Fant ikke søketeksten.',
+ matchCase : 'Skill mellom store og små bokstaver',
+ matchWord : 'Bare hele ord',
+ matchCyclic : 'Søk i hele dokumentet',
+ replaceAll : 'Erstatt alle',
+ replaceSuccessMsg : '%1 tilfelle erstattet.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabell',
+ title : 'Egenskaper for tabell',
+ menu : 'Egenskaper for tabell',
+ deleteTable : 'Slett tabell',
+ rows : 'Rader',
+ columns : 'Kolonner',
+ border : 'Rammestørrelse',
+ align : 'Justering',
+ alignLeft : 'Venstre',
+ alignCenter : 'Midtjuster',
+ alignRight : 'Høyre',
+ width : 'Bredde',
+ widthPx : 'piksler',
+ widthPc : 'prosent',
+ widthUnit : 'Bredde-enhet',
+ height : 'Høyde',
+ cellSpace : 'Cellemarg',
+ cellPad : 'Cellepolstring',
+ caption : 'Tittel',
+ summary : 'Sammendrag',
+ headers : 'Overskrifter',
+ headersNone : 'Ingen',
+ headersColumn : 'Første kolonne',
+ headersRow : 'Første rad',
+ headersBoth : 'Begge',
+ invalidRows : 'Antall rader må være ett tall større enn 0.',
+ invalidCols : 'Antall kolonner må være ett tall større enn 0.',
+ invalidBorder : 'Rammestørrelse må være ett tall.',
+ invalidWidth : 'Tabellbredde må være ett nummer.',
+ invalidHeight : 'Tabellhøyde må være ett nummer.',
+ invalidCellSpacing : 'Cellemellomrom må være ett nummer.',
+ invalidCellPadding : 'Cellefyll må være ett nummer.',
+
+ cell :
+ {
+ menu : 'Celle',
+ insertBefore : 'Sett inn celle før',
+ insertAfter : 'Sett inn celle etter',
+ deleteCell : 'Slett celler',
+ merge : 'Slå sammen celler',
+ mergeRight : 'Slå sammen høyre',
+ mergeDown : 'Slå sammen ned',
+ splitHorizontal : 'Del celle horisontalt',
+ splitVertical : 'Del celle vertikalt',
+ title : 'Celleegenskaper',
+ cellType : 'Celletype',
+ rowSpan : 'Radspenn',
+ colSpan : 'Kolonnespenn',
+ wordWrap : 'Tekstbrytning',
+ hAlign : 'Horisontal justering',
+ vAlign : 'Vertikal justering',
+ alignTop : 'Topp',
+ alignMiddle : 'Midten',
+ alignBottom : 'Bunnen',
+ alignBaseline : 'Grunnlinje',
+ bgColor : 'Bakgrunnsfarge',
+ borderColor : 'Rammefarge',
+ data : 'Data',
+ header : 'Overskrift',
+ yes : 'Ja',
+ no : 'Nei',
+ invalidWidth : 'Cellebredde må være ett nummer',
+ invalidHeight : 'Cellehøyde må være ett nummer',
+ invalidRowSpan : 'Radspenn må være ett nummer.',
+ invalidColSpan : 'Kolonnespenn må være ett nummer.',
+ chooseColor : 'Velg'
+ },
+
+ row :
+ {
+ menu : 'Rader',
+ insertBefore : 'Sett inn rad før',
+ insertAfter : 'Sett inn rad etter',
+ deleteRow : 'Slett rader'
+ },
+
+ column :
+ {
+ menu : 'Kolonne',
+ insertBefore : 'Sett inn kolonne før',
+ insertAfter : 'Sett inn kolonne etter',
+ deleteColumn : 'Slett kolonner'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Egenskaper for knapp',
+ text : 'Tekst (verdi)',
+ type : 'Type',
+ typeBtn : 'Knapp',
+ typeSbm : 'Send',
+ typeRst : 'Nullstill'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Egenskaper for avmerkingsboks',
+ radioTitle : 'Egenskaper for alternativknapp',
+ value : 'Verdi',
+ selected : 'Valgt'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Egenskaper for skjema',
+ menu : 'Egenskaper for skjema',
+ action : 'Handling',
+ method : 'Metode',
+ encoding : 'Encoding'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Egenskaper for rullegardinliste',
+ selectInfo : 'Info',
+ opAvail : 'Tilgjenglige alternativer',
+ value : 'Verdi',
+ size : 'Størrelse',
+ lines : 'Linjer',
+ chkMulti : 'Tillat flervalg',
+ opText : 'Tekst',
+ opValue : 'Verdi',
+ btnAdd : 'Legg til',
+ btnModify : 'Endre',
+ btnUp : 'Opp',
+ btnDown : 'Ned',
+ btnSetValue : 'Sett som valgt',
+ btnDelete : 'Slett'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Egenskaper for tekstområde',
+ cols : 'Kolonner',
+ rows : 'Rader'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Egenskaper for tekstfelt',
+ name : 'Navn',
+ value : 'Verdi',
+ charWidth : 'Tegnbredde',
+ maxChars : 'Maks antall tegn',
+ type : 'Type',
+ typeText : 'Tekst',
+ typePass : 'Passord'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Egenskaper for skjult felt',
+ name : 'Navn',
+ value : 'Verdi'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Bildeegenskaper',
+ titleButton : 'Egenskaper for bildeknapp',
+ menu : 'Bildeegenskaper',
+ infoTab : 'Bildeinformasjon',
+ btnUpload : 'Send det til serveren',
+ upload : 'Last opp',
+ alt : 'Alternativ tekst',
+ width : 'Bredde',
+ height : 'Høyde',
+ lockRatio : 'LÃ¥s forhold',
+ unlockRatio : 'Ikke lås forhold',
+ resetSize : 'Tilbakestill størrelse',
+ border : 'Ramme',
+ hSpace : 'HMarg',
+ vSpace : 'VMarg',
+ align : 'Juster',
+ alignLeft : 'Venstre',
+ alignRight : 'Høyre',
+ alertUrl : 'Vennligst skriv bilde-urlen',
+ linkTab : 'Lenke',
+ button2Img : 'Vil du endre den valgte bildeknappen til ett vanlig bilde?',
+ img2Button : 'Vil du endre det valgte bildet til en bildeknapp?',
+ urlMissing : 'Bildets adresse mangler.',
+ validateWidth : 'Bredde må være ett nummer.',
+ validateHeight : 'Høyde må være ett nummer.',
+ validateBorder : 'Ramme må være ett nummer.',
+ validateHSpace : 'HSpace må være ett nummer.',
+ validateVSpace : 'VSpace må være ett nummer.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Egenskaper for Flash-objekt',
+ propertiesTab : 'Egenskaper',
+ title : 'Flash-egenskaper',
+ chkPlay : 'Autospill',
+ chkLoop : 'Loop',
+ chkMenu : 'Slå på Flash-meny',
+ chkFull : 'Tillat fullskjerm',
+ scale : 'Skaler',
+ scaleAll : 'Vis alt',
+ scaleNoBorder : 'Ingen ramme',
+ scaleFit : 'Skaler til å passe',
+ access : 'Scripttilgang',
+ accessAlways : 'Alltid',
+ accessSameDomain: 'Samme domene',
+ accessNever : 'Aldri',
+ align : 'Juster',
+ alignLeft : 'Venstre',
+ alignAbsBottom : 'Abs bunn',
+ alignAbsMiddle : 'Abs midten',
+ alignBaseline : 'Bunnlinje',
+ alignBottom : 'Bunn',
+ alignMiddle : 'Midten',
+ alignRight : 'Høyre',
+ alignTextTop : 'Tekst topp',
+ alignTop : 'Topp',
+ quality : 'Kvalitet',
+ qualityBest : 'Best',
+ qualityHigh : 'Høy',
+ qualityAutoHigh : 'Auto Høy',
+ qualityMedium : 'Medium',
+ qualityAutoLow : 'Auto Lav',
+ qualityLow : 'Lav',
+ windowModeWindow: 'Vindu',
+ windowModeOpaque: 'Opaque',
+ windowModeTransparent : 'Gjennomsiktig',
+ windowMode : 'Vindu modus',
+ flashvars : 'Variabler for flash',
+ bgcolor : 'Bakgrunnsfarge',
+ width : 'Bredde',
+ height : 'Høyde',
+ hSpace : 'HMarg',
+ vSpace : 'VMarg',
+ validateSrc : 'Vennligst skriv inn lenkens url',
+ validateWidth : 'Bredde må være ett nummer.',
+ validateHeight : 'Høyde må være ett nummer',
+ validateHSpace : 'HSpace må være ett nummer.',
+ validateVSpace : 'VSpace må være ett nummer.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Stavekontroll',
+ title : 'Stavekontroll',
+ notAvailable : 'Beklager, tjenesten er utilgjenglig nå.',
+ errorLoading : 'Feil under lasting av applicationstjeneste tjener: %s.',
+ notInDic : 'Ikke i ordboken',
+ changeTo : 'Endre til',
+ btnIgnore : 'Ignorer',
+ btnIgnoreAll : 'Ignorer alle',
+ btnReplace : 'Erstatt',
+ btnReplaceAll : 'Erstatt alle',
+ btnUndo : 'Angre',
+ noSuggestions : '- Ingen forslag -',
+ progress : 'Stavekontroll pågår...',
+ noMispell : 'Stavekontroll fullført: ingen feilstavinger funnet',
+ noChanges : 'Stavekontroll fullført: ingen ord endret',
+ oneChange : 'Stavekontroll fullført: Ett ord endret',
+ manyChanges : 'Stavekontroll fullført: %1 ord endret',
+ ieSpellDownload : 'Stavekontroll er ikke installert. Vil du laste den ned nå?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smil',
+ title : 'Sett inn smil',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Element-sti',
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Nummerert liste',
+ bulletedlist : 'Uordnet liste',
+ indent : 'Ãk nivÃ¥',
+ outdent : 'Senk nivå',
+
+ justify :
+ {
+ left : 'Venstrejuster',
+ center : 'Midtjuster',
+ right : 'Høyrejuster',
+ block : 'Blokkjuster'
+ },
+
+ blockquote : 'Blockquote',
+
+ clipboard :
+ {
+ title : 'Lim inn',
+ cutError : 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst bruk snareveien (Ctrl+X).',
+ copyError : 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snareveien (Ctrl+C).',
+ pasteMsg : 'Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.',
+ securityMsg : 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må lime det igjen i dette vinduet.',
+ pasteArea : 'Innlimingsområde'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Teksten du limer inn ser ut til å være kopiert fra Word. Vil du renske den før du limer den inn?',
+ toolbar : 'Lim inn fra Word',
+ title : 'Lim inn fra Word',
+ error : 'Det var ikke mulig å renske den innlimte teksten på grunn av en intern feil'
+ },
+
+ pasteText :
+ {
+ button : 'Lim inn som ren tekst',
+ title : 'Lim inn som ren tekst'
+ },
+
+ templates :
+ {
+ button : 'Maler',
+ title : 'Innholdsmaler',
+ options : 'Template Options', // MISSING
+ insertOption : 'Erstatt faktisk innold',
+ selectPromptMsg : 'Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):',
+ emptyListMsg : '(Ingen maler definert)'
+ },
+
+ showBlocks : 'Vis blokker',
+
+ stylesCombo :
+ {
+ label : 'Stil',
+ panelTitle : 'Stilformater',
+ panelTitle1 : 'Blokkstiler',
+ panelTitle2 : 'Inlinestiler',
+ panelTitle3 : 'Objektstiler'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatert',
+ tag_address : 'Adresse',
+ tag_h1 : 'Tittel 1',
+ tag_h2 : 'Tittel 2',
+ tag_h3 : 'Tittel 3',
+ tag_h4 : 'Tittel 4',
+ tag_h5 : 'Tittel 5',
+ tag_h6 : 'Tittel 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Sett inn Div Container',
+ toolbar : 'Sett inn Div Container',
+ cssClassInputLabel : 'Stilark-klasser',
+ styleSelectLabel : 'Stil',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Språk-kode',
+ inlineStyleInputLabel : 'Inlinestiler',
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Språkretning',
+ langDirLTRLabel : 'Venstre til høyre (VTH)',
+ langDirRTLLabel : 'Høyre til venstre (HTV)',
+ edit : 'Rediger Div',
+ remove : 'Fjern Div'
+ },
+
+ font :
+ {
+ label : 'Skrift',
+ voiceLabel : 'Font',
+ panelTitle : 'Skrift'
+ },
+
+ fontSize :
+ {
+ label : 'Størrelse',
+ voiceLabel : 'Font Størrelse',
+ panelTitle : 'Størrelse'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Tekstfarge',
+ bgColorTitle : 'Bakgrunnsfarge',
+ panelTitle : 'Farger',
+ auto : 'Automatisk',
+ more : 'Flere farger...'
+ },
+
+ colors :
+ {
+ '000' : 'Svart',
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Marine',
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Svak grå',
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brun',
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Mørk grå',
+ '40E0D0' : 'Turkis',
+ '0000CD' : 'Medium Blå',
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Grå',
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Mørk oransje',
+ 'FFD700' : 'gull',
+ '008000' : 'Grønn',
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blå',
+ 'EE82EE' : 'Fiolett',
+ 'A9A9A9' : 'Mørk grå',
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Oransje',
+ 'FFFF00' : 'gul',
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Lys Blå',
+ 'DDA0DD' : 'Plomme',
+ 'D3D3D3' : 'Lys grå',
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antikk-hvit',
+ 'FFFFE0' : 'Lys gul',
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'Hvit'
+ },
+
+ scayt :
+ {
+ title : 'Stavekontroll mens du skriver',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Slå på SCAYT',
+ disable : 'Slå av SCAYT',
+ about : 'Om SCAYT',
+ toggle : 'Veksle SCAYT',
+ options : 'Valg',
+ langs : 'Språk',
+ moreSuggestions : 'Flere forslag',
+ ignore : 'Ignorer',
+ ignoreAll : 'Ignorer Alle',
+ addWord : 'Legg til ord',
+ emptyDic : 'Ordboknavn skal ikke være tom',
+
+ optionsTab : 'Valg',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Språk',
+
+ dictionariesTab : 'Ordbøker',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Om'
+ },
+
+ about :
+ {
+ title : 'Om CKEditor',
+ dlgTitle : 'Om CKEditor',
+ moreInfo : 'For lisensieringsinformasjon vennligst besøk vårt nettsted:',
+ copy : 'Copyright © $1. Alle rettigheter reservert.'
+ },
+
+ maximize : 'Maksimer',
+ minimize : 'Minimer',
+
+ fakeobjects :
+ {
+ anchor : 'Anker',
+ flash : 'Flash Animasjon',
+ div : 'Sideskift',
+ unknown : 'Ukjent objekt'
+ },
+
+ resize : 'Dra for å skalere',
+
+ colordialog :
+ {
+ title : 'Velg farge',
+ options : 'Color Options', // MISSING
+ highlight : 'Merk',
+ selected : 'Valgt',
+ clear : 'Tøm'
+ },
+
+ toolbarCollapse : 'Slå sammen verktøylinje',
+ toolbarExpand : 'Vis verktøylinje',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/nl.js b/devel/third-party/ckeditor/lang/nl.js
new file mode 100644
index 0000000..3f70730
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/nl.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Dutch language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['nl'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Tekstverwerker, %1, druk op ALT 0 voor hulp.',
+
+ // ARIA descriptions.
+ toolbar : 'Werkbalk',
+ editor : 'Tekstverwerker',
+
+ // Toolbar buttons without dialogs.
+ source : 'Code',
+ newPage : 'Nieuwe pagina',
+ save : 'Opslaan',
+ preview : 'Voorbeeld',
+ cut : 'Knippen',
+ copy : 'Kopiëren',
+ paste : 'Plakken',
+ print : 'Printen',
+ underline : 'Onderstreept',
+ bold : 'Vet',
+ italic : 'Schuingedrukt',
+ selectAll : 'Alles selecteren',
+ removeFormat : 'Opmaak verwijderen',
+ strike : 'Doorhalen',
+ subscript : 'Subscript',
+ superscript : 'Superscript',
+ horizontalrule : 'Horizontale lijn invoegen',
+ pagebreak : 'Pagina-einde invoegen',
+ unlink : 'Link verwijderen',
+ undo : 'Ongedaan maken',
+ redo : 'Opnieuw uitvoeren',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Bladeren op server',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'Upload',
+ uploadSubmit : 'Naar server verzenden',
+ image : 'Afbeelding',
+ flash : 'Flash',
+ form : 'Formulier',
+ checkbox : 'Aanvinkvakje',
+ radio : 'Selectievakje',
+ textField : 'Tekstveld',
+ textarea : 'Tekstvak',
+ hiddenField : 'Verborgen veld',
+ button : 'Knop',
+ select : 'Selectieveld',
+ imageButton : 'Afbeeldingsknop',
+ notSet : '<niet ingevuld>',
+ id : 'Kenmerk',
+ name : 'Naam',
+ langDir : 'Schrijfrichting',
+ langDirLtr : 'Links naar rechts (LTR)',
+ langDirRtl : 'Rechts naar links (RTL)',
+ langCode : 'Taalcode',
+ longDescr : 'Lange URL-omschrijving',
+ cssClass : 'Stylesheet-klassen',
+ advisoryTitle : 'Aanbevolen titel',
+ cssStyle : 'Stijl',
+ ok : 'OK',
+ cancel : 'Annuleren',
+ close : 'Sluiten',
+ preview : 'Voorbeeld',
+ generalTab : 'Algemeen',
+ advancedTab : 'Geavanceerd',
+ validateNumberFailed : 'Deze waarde is geen geldig getal.',
+ confirmNewPage : 'Alle aangebrachte wijzigingen gaan verloren. Weet u zeker dat u een nieuwe pagina wilt openen?',
+ confirmCancel : 'Enkele opties zijn gewijzigd. Weet u zeker dat u dit dialoogvenster wilt sluiten?',
+ options : 'Opties',
+ target : 'Doel',
+ targetNew : 'Nieuw venster (_blank)',
+ targetTop : 'Hele venster (_top)',
+ targetSelf : 'Zelfde venster (_self)',
+ targetParent : 'Origineel venster (_parent)',
+ langDirLTR : 'Links naar rechts (LTR)',
+ langDirRTL : 'Rechts naar links (RTL)',
+ styles : 'Stijlen',
+ cssClasses : 'Stylesheet klassen',
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, niet beschikbaar</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context menu opties'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Speciaal teken invoegen',
+ title : 'Selecteer speciaal teken',
+ options : 'Speciale tekens opties'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Link invoegen/wijzigen',
+ other : '<ander>',
+ menu : 'Link wijzigen',
+ title : 'Link',
+ info : 'Linkomschrijving',
+ target : 'Doel',
+ upload : 'Upload',
+ advanced : 'Geavanceerd',
+ type : 'Linktype',
+ toUrl : 'URL',
+ toAnchor : 'Interne link in pagina',
+ toEmail : 'E-mail',
+ targetFrame : '<frame>',
+ targetPopup : '<popup window>',
+ targetFrameName : 'Naam doelframe',
+ targetPopupName : 'Naam popupvenster',
+ popupFeatures : 'Instellingen popupvenster',
+ popupResizable : 'Herschaalbaar',
+ popupStatusBar : 'Statusbalk',
+ popupLocationBar: 'Locatiemenu',
+ popupToolbar : 'Menubalk',
+ popupMenuBar : 'Menubalk',
+ popupFullScreen : 'Volledig scherm (IE)',
+ popupScrollBars : 'Schuifbalken',
+ popupDependent : 'Afhankelijk (Netscape)',
+ popupWidth : 'Breedte',
+ popupLeft : 'Positie links',
+ popupHeight : 'Hoogte',
+ popupTop : 'Positie boven',
+ id : 'Id',
+ langDir : 'Schrijfrichting',
+ langDirLTR : 'Links naar rechts (LTR)',
+ langDirRTL : 'Rechts naar links (RTL)',
+ acccessKey : 'Toegangstoets',
+ name : 'Naam',
+ langCode : 'Schrijfrichting',
+ tabIndex : 'Tabvolgorde',
+ advisoryTitle : 'Aanbevolen titel',
+ advisoryContentType : 'Aanbevolen content-type',
+ cssClasses : 'Stylesheet-klassen',
+ charset : 'Karakterset van gelinkte bron',
+ styles : 'Stijl',
+ selectAnchor : 'Kies een interne link',
+ anchorName : 'Op naam interne link',
+ anchorId : 'Op kenmerk interne link',
+ emailAddress : 'E-mailadres',
+ emailSubject : 'Onderwerp bericht',
+ emailBody : 'Inhoud bericht',
+ noAnchors : '(Geen interne links in document gevonden)',
+ noUrl : 'Geef de link van de URL',
+ noEmail : 'Geef een e-mailadres'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Interne link',
+ menu : 'Eigenschappen interne link',
+ title : 'Eigenschappen interne link',
+ name : 'Naam interne link',
+ errorName : 'Geef de naam van de interne link op'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Eigenschappen genummerde lijst',
+ bulletedTitle : 'Eigenschappen lijst met opsommingstekens',
+ type : 'Type',
+ start : 'Start',
+ validateStartNumber :'Starnummer van de lijst moet een heel nummer zijn.',
+ circle : 'Cirkel',
+ disc : 'Schijf',
+ square : 'Vierkant',
+ none : 'Geen',
+ notset : '<niet gezet>',
+ armenian : 'Armeense numering',
+ georgian : 'Greorgische numering (an, ban, gan, etc.)',
+ lowerRoman : 'Romeins kleine letters (i, ii, iii, iv, v, etc.)',
+ upperRoman : 'Romeins hoofdletters (I, II, III, IV, V, etc.)',
+ lowerAlpha : 'Kleine letters (a, b, c, d, e, etc.)',
+ upperAlpha : 'Hoofdletters (A, B, C, D, E, etc.)',
+ lowerGreek : 'Grieks kleine letters (alpha, beta, gamma, etc.)',
+ decimal : 'Cijfers (1, 2, 3, etc.)',
+ decimalLeadingZero : 'Cijfers beginnen met nul (01, 02, 03, etc.)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Zoeken en vervangen',
+ find : 'Zoeken',
+ replace : 'Vervangen',
+ findWhat : 'Zoeken naar:',
+ replaceWith : 'Vervangen met:',
+ notFoundMsg : 'De opgegeven tekst is niet gevonden.',
+ matchCase : 'Hoofdlettergevoelig',
+ matchWord : 'Hele woord moet voorkomen',
+ matchCyclic : 'Doorlopend zoeken',
+ replaceAll : 'Alles vervangen',
+ replaceSuccessMsg : '%1 resulaten vervangen.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabel',
+ title : 'Eigenschappen tabel',
+ menu : 'Eigenschappen tabel',
+ deleteTable : 'Tabel verwijderen',
+ rows : 'Rijen',
+ columns : 'Kolommen',
+ border : 'Breedte rand',
+ align : 'Uitlijning',
+ alignLeft : 'Links',
+ alignCenter : 'Centreren',
+ alignRight : 'Rechts',
+ width : 'Breedte',
+ widthPx : 'pixels',
+ widthPc : 'procent',
+ widthUnit : 'eenheid breedte',
+ height : 'Hoogte',
+ cellSpace : 'Afstand tussen cellen',
+ cellPad : 'Ruimte in de cel',
+ caption : 'Naam',
+ summary : 'Samenvatting',
+ headers : 'Koppen',
+ headersNone : 'Geen',
+ headersColumn : 'Eerste kolom',
+ headersRow : 'Eerste rij',
+ headersBoth : 'Beide',
+ invalidRows : 'Het aantal rijen moet een getal zijn groter dan 0.',
+ invalidCols : 'Het aantal kolommen moet een getal zijn groter dan 0.',
+ invalidBorder : 'De rand breedte moet een getal zijn.',
+ invalidWidth : 'De tabel breedte moet een getal zijn.',
+ invalidHeight : 'De tabel hoogte moet een getal zijn.',
+ invalidCellSpacing : 'Afstand tussen cellen moet een getal zijn.',
+ invalidCellPadding : 'Ruimte in de cel moet een getal zijn.',
+
+ cell :
+ {
+ menu : 'Cel',
+ insertBefore : 'Voeg cel in voor',
+ insertAfter : 'Voeg cel in achter',
+ deleteCell : 'Cellen verwijderen',
+ merge : 'Cellen samenvoegen',
+ mergeRight : 'Voeg samen naar rechts',
+ mergeDown : 'Voeg samen naar beneden',
+ splitHorizontal : 'Splits cellen horizontaal',
+ splitVertical : 'Splits cellen verticaal',
+ title : 'Cel eigenschappen',
+ cellType : 'Cel type',
+ rowSpan : 'Rijen samenvoegen',
+ colSpan : 'Kolommen samenvoegen',
+ wordWrap : 'Automatische terugloop',
+ hAlign : 'Horizontale uitlijning',
+ vAlign : 'Verticale uitlijning',
+ alignTop : 'Boven',
+ alignMiddle : 'Midden',
+ alignBottom : 'Onder',
+ alignBaseline : 'Basislijn',
+ bgColor : 'Achtergrondkleur',
+ borderColor : 'Kleur rand',
+ data : 'Inhoud',
+ header : 'Kop',
+ yes : 'Ja',
+ no : 'Nee',
+ invalidWidth : 'De celbreedte moet een getal zijn.',
+ invalidHeight : 'De celhoogte moet een getal zijn.',
+ invalidRowSpan : 'Rijen samenvoegen moet een heel getal zijn.',
+ invalidColSpan : 'Kolommen samenvoegen moet een heel getal zijn.',
+ chooseColor : 'Kies'
+ },
+
+ row :
+ {
+ menu : 'Rij',
+ insertBefore : 'Voeg rij in voor',
+ insertAfter : 'Voeg rij in achter',
+ deleteRow : 'Rijen verwijderen'
+ },
+
+ column :
+ {
+ menu : 'Kolom',
+ insertBefore : 'Voeg kolom in voor',
+ insertAfter : 'Voeg kolom in achter',
+ deleteColumn : 'Kolommen verwijderen'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Eigenschappen knop',
+ text : 'Tekst (waarde)',
+ type : 'Soort',
+ typeBtn : 'Knop',
+ typeSbm : 'Versturen',
+ typeRst : 'Leegmaken'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Eigenschappen aanvinkvakje',
+ radioTitle : 'Eigenschappen selectievakje',
+ value : 'Waarde',
+ selected : 'Geselecteerd'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Eigenschappen formulier',
+ menu : 'Eigenschappen formulier',
+ action : 'Actie',
+ method : 'Methode',
+ encoding : 'Codering'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Eigenschappen selectieveld',
+ selectInfo : 'Informatie',
+ opAvail : 'Beschikbare opties',
+ value : 'Waarde',
+ size : 'Grootte',
+ lines : 'Regels',
+ chkMulti : 'Gecombineerde selecties toestaan',
+ opText : 'Tekst',
+ opValue : 'Waarde',
+ btnAdd : 'Toevoegen',
+ btnModify : 'Wijzigen',
+ btnUp : 'Omhoog',
+ btnDown : 'Omlaag',
+ btnSetValue : 'Als geselecteerde waarde instellen',
+ btnDelete : 'Verwijderen'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Eigenschappen tekstvak',
+ cols : 'Kolommen',
+ rows : 'Rijen'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Eigenschappen tekstveld',
+ name : 'Naam',
+ value : 'Waarde',
+ charWidth : 'Breedte (tekens)',
+ maxChars : 'Maximum aantal tekens',
+ type : 'Soort',
+ typeText : 'Tekst',
+ typePass : 'Wachtwoord'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Eigenschappen verborgen veld',
+ name : 'Naam',
+ value : 'Waarde'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Eigenschappen afbeelding',
+ titleButton : 'Eigenschappen afbeeldingsknop',
+ menu : 'Eigenschappen afbeelding',
+ infoTab : 'Informatie afbeelding',
+ btnUpload : 'Naar server verzenden',
+ upload : 'Upload',
+ alt : 'Alternatieve tekst',
+ width : 'Breedte',
+ height : 'Hoogte',
+ lockRatio : 'Afmetingen vergrendelen',
+ unlockRatio : 'Afmetingen ontgrendelen',
+ resetSize : 'Afmetingen resetten',
+ border : 'Rand',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Uitlijning',
+ alignLeft : 'Links',
+ alignRight : 'Rechts',
+ alertUrl : 'Geef de URL van de afbeelding',
+ linkTab : 'Link',
+ button2Img : 'Wilt u de geselecteerde afbeeldingsknop vervangen door een eenvoudige afbeelding?',
+ img2Button : 'Wilt u de geselecteerde afbeelding vervangen door een afbeeldingsknop?',
+ urlMissing : 'De URL naar de afbeelding ontbreekt.',
+ validateWidth : 'Breedte moet een heel nummer zijn.',
+ validateHeight : 'Hoogte moet een heel nummer zijn.',
+ validateBorder : 'Rand moet een heel nummer zijn.',
+ validateHSpace : 'HSpace moet een heel nummer zijn.',
+ validateVSpace : 'VSpace moet een heel nummer zijn.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Eigenschappen Flash',
+ propertiesTab : 'Eigenschappen',
+ title : 'Eigenschappen Flash',
+ chkPlay : 'Automatisch afspelen',
+ chkLoop : 'Herhalen',
+ chkMenu : 'Flashmenu\'s inschakelen',
+ chkFull : 'Schermvullend toestaan',
+ scale : 'Schaal',
+ scaleAll : 'Alles tonen',
+ scaleNoBorder : 'Geen rand',
+ scaleFit : 'Precies passend',
+ access : 'Script toegang',
+ accessAlways : 'Altijd',
+ accessSameDomain: 'Zelfde domeinnaam',
+ accessNever : 'Nooit',
+ align : 'Uitlijning',
+ alignLeft : 'Links',
+ alignAbsBottom : 'Absoluut-onder',
+ alignAbsMiddle : 'Absoluut-midden',
+ alignBaseline : 'Basislijn',
+ alignBottom : 'Beneden',
+ alignMiddle : 'Midden',
+ alignRight : 'Rechts',
+ alignTextTop : 'Boven tekst',
+ alignTop : 'Boven',
+ quality : 'Kwaliteit',
+ qualityBest : 'Beste',
+ qualityHigh : 'Hoog',
+ qualityAutoHigh : 'Automatisch hoog',
+ qualityMedium : 'Gemiddeld',
+ qualityAutoLow : 'Automatisch laag',
+ qualityLow : 'Laag',
+ windowModeWindow: 'Venster',
+ windowModeOpaque: 'Ondoorzichtig',
+ windowModeTransparent : 'Doorzichtig',
+ windowMode : 'Venster modus',
+ flashvars : 'Variabelen voor Flash',
+ bgcolor : 'Achtergrondkleur',
+ width : 'Breedte',
+ height : 'Hoogte',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'Geef de link van de URL',
+ validateWidth : 'De breedte moet een getal zijn.',
+ validateHeight : 'De hoogte moet een getal zijn.',
+ validateHSpace : 'De HSpace moet een getal zijn.',
+ validateVSpace : 'De VSpace moet een getal zijn.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Spellingscontrole',
+ title : 'Spellingscontrole',
+ notAvailable : 'Excuses, deze dienst is momenteel niet beschikbaar.',
+ errorLoading : 'Er is een fout opgetreden bij het laden van de diesnt: %s.',
+ notInDic : 'Niet in het woordenboek',
+ changeTo : 'Wijzig in',
+ btnIgnore : 'Negeren',
+ btnIgnoreAll : 'Alles negeren',
+ btnReplace : 'Vervangen',
+ btnReplaceAll : 'Alles vervangen',
+ btnUndo : 'Ongedaan maken',
+ noSuggestions : '-Geen suggesties-',
+ progress : 'Bezig met spellingscontrole...',
+ noMispell : 'Klaar met spellingscontrole: geen fouten gevonden',
+ noChanges : 'Klaar met spellingscontrole: geen woorden aangepast',
+ oneChange : 'Klaar met spellingscontrole: één woord aangepast',
+ manyChanges : 'Klaar met spellingscontrole: %1 woorden aangepast',
+ ieSpellDownload : 'De spellingscontrole niet geïnstalleerd. Wilt u deze nu downloaden?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Smiley invoegen',
+ options : 'Smiley opties'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elementenpad',
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Genummerde lijst',
+ bulletedlist : 'Opsomming',
+ indent : 'Inspringen vergroten',
+ outdent : 'Inspringen verkleinen',
+
+ justify :
+ {
+ left : 'Links uitlijnen',
+ center : 'Centreren',
+ right : 'Rechts uitlijnen',
+ block : 'Uitvullen'
+ },
+
+ blockquote : 'Citaatblok',
+
+ clipboard :
+ {
+ title : 'Plakken',
+ cutError : 'De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl/Cmd+X van het toetsenbord.',
+ copyError : 'De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl/Cmd+C van het toetsenbord.',
+ pasteMsg : 'Plak de tekst in het volgende vak gebruik makend van uw toetsenbord (<strong>Ctrl/Cmd+V</strong>) en klik op <strong>OK</strong>.',
+ securityMsg : 'Door de beveiligingsinstellingen van uw browser is het niet mogelijk om direct vanuit het klembord in de editor te plakken. Middels opnieuw plakken in dit venster kunt u de tekst alsnog plakken in de editor.',
+ pasteArea : 'Plakgebied'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'De tekst die u plakte lijkt gekopieerd te zijn vanuit Word. Wilt u de tekst opschonen voordat deze geplakt wordt?',
+ toolbar : 'Plakken als Word-gegevens',
+ title : 'Plakken als Word-gegevens',
+ error : 'Het was niet mogelijk om de geplakte tekst op te schonen door een interne fout'
+ },
+
+ pasteText :
+ {
+ button : 'Plakken als platte tekst',
+ title : 'Plakken als platte tekst'
+ },
+
+ templates :
+ {
+ button : 'Sjablonen',
+ title : 'Inhoud sjabonen',
+ options : 'Template opties',
+ insertOption : 'Vervang de huidige inhoud',
+ selectPromptMsg : 'Selecteer het sjabloon dat in de editor geopend moet worden (de actuele inhoud gaat verloren):',
+ emptyListMsg : '(Geen sjablonen gedefinieerd)'
+ },
+
+ showBlocks : 'Toon blokken',
+
+ stylesCombo :
+ {
+ label : 'Stijl',
+ panelTitle : 'Opmaakstijlen',
+ panelTitle1 : 'Blok stijlen',
+ panelTitle2 : 'In-line stijlen',
+ panelTitle3 : 'Object stijlen'
+ },
+
+ format :
+ {
+ label : 'Opmaak',
+ panelTitle : 'Opmaak',
+
+ tag_p : 'Normaal',
+ tag_pre : 'Met opmaak',
+ tag_address : 'Adres',
+ tag_h1 : 'Kop 1',
+ tag_h2 : 'Kop 2',
+ tag_h3 : 'Kop 3',
+ tag_h4 : 'Kop 4',
+ tag_h5 : 'Kop 5',
+ tag_h6 : 'Kop 6',
+ tag_div : 'Normaal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Div aanmaken',
+ toolbar : 'Div aanmaken',
+ cssClassInputLabel : 'Stylesheet klassen',
+ styleSelectLabel : 'Stijl',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Taalcode',
+ inlineStyleInputLabel : 'Inline stijl',
+ advisoryTitleInputLabel : 'informatieve titel',
+ langDirLabel : 'Schrijfrichting',
+ langDirLTRLabel : 'Links naar rechts (LTR)',
+ langDirRTLLabel : 'Rechts naar links (RTL)',
+ edit : 'Div wijzigen',
+ remove : 'Div verwijderen'
+ },
+
+ font :
+ {
+ label : 'Lettertype',
+ voiceLabel : 'Lettertype',
+ panelTitle : 'Lettertype'
+ },
+
+ fontSize :
+ {
+ label : 'Lettergrootte',
+ voiceLabel : 'Lettergrootte',
+ panelTitle : 'Lettergrootte'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Tekstkleur',
+ bgColorTitle : 'Achtergrondkleur',
+ panelTitle : 'Kleuren',
+ auto : 'Automatisch',
+ more : 'Meer kleuren...'
+ },
+
+ colors :
+ {
+ '000' : 'Zwart',
+ '800000' : 'Kastanjebruin',
+ '8B4513' : 'Chocoladebruin',
+ '2F4F4F' : 'Donkerleigrijs',
+ '008080' : 'Blauwgroen',
+ '000080' : 'Marine',
+ '4B0082' : 'Indigo',
+ '696969' : 'Donkergrijs',
+ 'B22222' : 'Baksteen',
+ 'A52A2A' : 'Bruin',
+ 'DAA520' : 'Donkergeel',
+ '006400' : 'Donkergroen',
+ '40E0D0' : 'Turquoise',
+ '0000CD' : 'Middenblauw',
+ '800080' : 'Paars',
+ '808080' : 'Grijs',
+ 'F00' : 'Rood',
+ 'FF8C00' : 'Donkeroranje',
+ 'FFD700' : 'Goud',
+ '008000' : 'Groen',
+ '0FF' : 'Cyaan',
+ '00F' : 'Blauw',
+ 'EE82EE' : 'Violet',
+ 'A9A9A9' : 'Donkergrijs',
+ 'FFA07A' : 'Lichtzalm',
+ 'FFA500' : 'Oranje',
+ 'FFFF00' : 'Geel',
+ '00FF00' : 'Felgroen',
+ 'AFEEEE' : 'Lichtturquoise',
+ 'ADD8E6' : 'Lichtblauw',
+ 'DDA0DD' : 'Pruim',
+ 'D3D3D3' : 'Lichtgrijs',
+ 'FFF0F5' : 'Linnen',
+ 'FAEBD7' : 'Ivoor',
+ 'FFFFE0' : 'Lichtgeel',
+ 'F0FFF0' : 'Honingdauw',
+ 'F0FFFF' : 'Azuur',
+ 'F0F8FF' : 'Licht hemelsblauw',
+ 'E6E6FA' : 'Lavendel',
+ 'FFF' : 'Wit'
+ },
+
+ scayt :
+ {
+ title : 'Controleer de spelling tijdens het typen',
+ opera_title : 'Niet ondersteund door Opera',
+ enable : 'SCAYT inschakelen',
+ disable : 'SCAYT uitschakelen',
+ about : 'Over SCAYT',
+ toggle : 'SCAYT in/uitschakelen',
+ options : 'Opties',
+ langs : 'Talen',
+ moreSuggestions : 'Meer suggesties',
+ ignore : 'Negeren',
+ ignoreAll : 'Alles negeren',
+ addWord : 'Woord toevoegen',
+ emptyDic : 'De naam van het woordenboek mag niet leeg zijn.',
+
+ optionsTab : 'Opties',
+ allCaps : 'Negeer woorden helemaal in hoofdletters',
+ ignoreDomainNames : 'Negeer domeinnamen',
+ mixedCase : 'Negeer woorden met hoofd- en kleine letters',
+ mixedWithDigits : 'Negeer woorden met cijfers',
+
+ languagesTab : 'Talen',
+
+ dictionariesTab : 'Woordenboeken',
+ dic_field_name : 'Naam woordenboek',
+ dic_create : 'Aanmaken',
+ dic_restore : 'Terugzetten',
+ dic_delete : 'Verwijderen',
+ dic_rename : 'Hernoemen',
+ dic_info : 'Initieel wordt het gebruikerswoordenboek opgeslagen in een cookie. Cookies zijn echter beperkt in grootte. Zodra het gebruikerswoordenboek het punt bereikt waarop het niet meer in een cookie opgeslagen kan worden, dan wordt het woordenboek op de server opgeslagen. Om je persoonlijke woordenboek op je eigen server op te slaan, moet je een mapnaam opgeven. Indien je al een woordenboek hebt opgeslagen, typ dan de naam en klik op de Terugzetten knop.',
+
+ aboutTab : 'Over'
+ },
+
+ about :
+ {
+ title : 'Over CKEditor',
+ dlgTitle : 'Over CKEditor',
+ moreInfo : 'Voor licentie informatie, bezoek onze website:',
+ copy : 'Copyright © $1. Alle rechten voorbehouden.'
+ },
+
+ maximize : 'Maximaliseren',
+ minimize : 'Minimaliseren',
+
+ fakeobjects :
+ {
+ anchor : 'Anker',
+ flash : 'Flash animatie',
+ div : 'Pagina einde',
+ unknown : 'Onbekend object'
+ },
+
+ resize : 'Sleep om te herschalen',
+
+ colordialog :
+ {
+ title : 'Selecteer kleur',
+ options : 'Kleuropties',
+ highlight : 'Actief',
+ selected : 'Geselecteerd',
+ clear : 'Wissen'
+ },
+
+ toolbarCollapse : 'Werkbalk inklappen',
+ toolbarExpand : 'Werkbalk uitklappen',
+
+ bidi :
+ {
+ ltr : 'Schrijfrichting van links naar rechts',
+ rtl : 'Schrijfrichting van rechts naar links'
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/no.js b/devel/third-party/ckeditor/lang/no.js
new file mode 100644
index 0000000..db293dd
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/no.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Norwegian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['no'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rikteksteditor, %1, trykk ALT 0 for hjelp.',
+
+ // ARIA descriptions.
+ toolbar : 'Verktøylinje',
+ editor : 'Rikteksteditor',
+
+ // Toolbar buttons without dialogs.
+ source : 'Kilde',
+ newPage : 'Ny Side',
+ save : 'Lagre',
+ preview : 'Forhåndsvis',
+ cut : 'Klipp ut',
+ copy : 'Kopier',
+ paste : 'Lim inn',
+ print : 'Skriv ut',
+ underline : 'Understrek',
+ bold : 'Fet',
+ italic : 'Kursiv',
+ selectAll : 'Merk alt',
+ removeFormat : 'Fjern format',
+ strike : 'Gjennomstrek',
+ subscript : 'Senket skrift',
+ superscript : 'Hevet skrift',
+ horizontalrule : 'Sett inn horisontal linje',
+ pagebreak : 'Sett inn sideskift',
+ unlink : 'Fjern lenke',
+ undo : 'Angre',
+ redo : 'Gjør om',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Bla igjennom server',
+ url : 'URL',
+ protocol : 'Protokoll',
+ upload : 'Last opp',
+ uploadSubmit : 'Send det til serveren',
+ image : 'Bilde',
+ flash : 'Flash',
+ form : 'Skjema',
+ checkbox : 'Avmerkingsboks',
+ radio : 'Alternativknapp',
+ textField : 'Tekstboks',
+ textarea : 'Tekstområde',
+ hiddenField : 'Skjult felt',
+ button : 'Knapp',
+ select : 'Rullegardinliste',
+ imageButton : 'Bildeknapp',
+ notSet : '<ikke satt>',
+ id : 'Id',
+ name : 'Navn',
+ langDir : 'Språkretning',
+ langDirLtr : 'Venstre til høyre (VTH)',
+ langDirRtl : 'Høyre til venstre (HTV)',
+ langCode : 'Språkkode',
+ longDescr : 'Utvidet beskrivelse',
+ cssClass : 'Stilarkklasser',
+ advisoryTitle : 'Tittel',
+ cssStyle : 'Stil',
+ ok : 'OK',
+ cancel : 'Avbryt',
+ close : 'Lukk',
+ preview : 'Forhåndsvis',
+ generalTab : 'Generelt',
+ advancedTab : 'Avansert',
+ validateNumberFailed : 'Denne verdien er ikke ett nummer',
+ confirmNewPage : 'Alle endringer som er gjort i dette innholdet vil bli tapt. Er du sikker på at du vil laste en ny side?',
+ confirmCancel : 'Noen av valgene har blitt endret. Er du sikker på at du vil lukke dialogen?',
+ options : 'Valg',
+ target : 'MÃ¥l',
+ targetNew : 'Nytt vindu (_blank)',
+ targetTop : 'Hele vindu (_top)',
+ targetSelf : 'Samme vindu (_self)',
+ targetParent : 'Foreldrevindu (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, utilgjenglig</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Sett inn spesielt tegn',
+ title : 'Velg spesielt tegn',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Sett inn/Rediger lenke',
+ other : '<other>', // MISSING
+ menu : 'Rediger lenke',
+ title : 'Lenke',
+ info : 'Lenkeinfo',
+ target : 'MÃ¥l',
+ upload : 'Last opp',
+ advanced : 'Avansert',
+ type : 'Lenketype',
+ toUrl : 'URL',
+ toAnchor : 'Lenke til anker i teksten',
+ toEmail : 'E-post',
+ targetFrame : '<ramme>',
+ targetPopup : '<popup vindu>',
+ targetFrameName : 'MÃ¥lramme',
+ targetPopupName : 'Navn på popup-vindus',
+ popupFeatures : 'Egenskaper for popup-vindu',
+ popupResizable : 'Skalérbar',
+ popupStatusBar : 'Statuslinje',
+ popupLocationBar: 'Adresselinje',
+ popupToolbar : 'Verktøylinje',
+ popupMenuBar : 'Menylinje',
+ popupFullScreen : 'Full skjerm (IE)',
+ popupScrollBars : 'Scrollbar',
+ popupDependent : 'Avhenging (Netscape)',
+ popupWidth : 'Bredde',
+ popupLeft : 'Venstre posisjon',
+ popupHeight : 'Høyde',
+ popupTop : 'Topp-posisjon',
+ id : 'Id',
+ langDir : 'Språkretning',
+ langDirLTR : 'Venstre til høyre (VTH)',
+ langDirRTL : 'Høyre til venstre (HTV)',
+ acccessKey : 'Aksessknapp',
+ name : 'Navn',
+ langCode : 'Språkretning',
+ tabIndex : 'Tab Indeks',
+ advisoryTitle : 'Tittel',
+ advisoryContentType : 'Type',
+ cssClasses : 'Stilarkklasser',
+ charset : 'Lenket språkkart',
+ styles : 'Stil',
+ selectAnchor : 'Velg et anker',
+ anchorName : 'Anker etter navn',
+ anchorId : 'Element etter ID',
+ emailAddress : 'E-postadresse',
+ emailSubject : 'Meldingsemne',
+ emailBody : 'Melding',
+ noAnchors : '(Ingen anker i dokumentet)',
+ noUrl : 'Vennligst skriv inn lenkens url',
+ noEmail : 'Vennligst skriv inn e-postadressen'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Sett inn/Rediger anker',
+ menu : 'Egenskaper for anker',
+ title : 'Egenskaper for anker',
+ name : 'Ankernavn',
+ errorName : 'Vennligst skriv inn ankernavnet'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Søk og erstatt',
+ find : 'Søk',
+ replace : 'Erstatt',
+ findWhat : 'Søk etter:',
+ replaceWith : 'Erstatt med:',
+ notFoundMsg : 'Fant ikke søketeksten.',
+ matchCase : 'Skill mellom store og små bokstaver',
+ matchWord : 'Bare hele ord',
+ matchCyclic : 'Søk i hele dokumentet',
+ replaceAll : 'Erstatt alle',
+ replaceSuccessMsg : '%1 tilfelle erstattet.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabell',
+ title : 'Egenskaper for tabell',
+ menu : 'Egenskaper for tabell',
+ deleteTable : 'Slett tabell',
+ rows : 'Rader',
+ columns : 'Kolonner',
+ border : 'Rammestørrelse',
+ align : 'Justering',
+ alignLeft : 'Venstre',
+ alignCenter : 'Midtjuster',
+ alignRight : 'Høyre',
+ width : 'Bredde',
+ widthPx : 'piksler',
+ widthPc : 'prosent',
+ widthUnit : 'Bredde-enhet',
+ height : 'Høyde',
+ cellSpace : 'Cellemarg',
+ cellPad : 'Cellepolstring',
+ caption : 'Tittel',
+ summary : 'Sammendrag',
+ headers : 'Overskrifter',
+ headersNone : 'Ingen',
+ headersColumn : 'Første kolonne',
+ headersRow : 'Første rad',
+ headersBoth : 'Begge',
+ invalidRows : 'Antall rader må være ett tall større enn 0.',
+ invalidCols : 'Antall kolonner må være ett tall større enn 0.',
+ invalidBorder : 'Rammestørrelse må være ett tall.',
+ invalidWidth : 'Tabellbredde må være ett nummer.',
+ invalidHeight : 'Tabellhøyde må være ett nummer.',
+ invalidCellSpacing : 'Cellemellomrom må være ett nummer.',
+ invalidCellPadding : 'Cellefyll må være ett nummer.',
+
+ cell :
+ {
+ menu : 'Celle',
+ insertBefore : 'Sett inn celle før',
+ insertAfter : 'Sett inn celle etter',
+ deleteCell : 'Slett celler',
+ merge : 'Slå sammen celler',
+ mergeRight : 'Slå sammen høyre',
+ mergeDown : 'Slå sammen ned',
+ splitHorizontal : 'Del celle horisontalt',
+ splitVertical : 'Del celle vertikalt',
+ title : 'Celleegenskaper',
+ cellType : 'Celletype',
+ rowSpan : 'Radspenn',
+ colSpan : 'Kolonnespenn',
+ wordWrap : 'Tekstbrytning',
+ hAlign : 'Horisontal justering',
+ vAlign : 'Vertikal justering',
+ alignTop : 'Topp',
+ alignMiddle : 'Midten',
+ alignBottom : 'Bunnen',
+ alignBaseline : 'Grunnlinje',
+ bgColor : 'Bakgrunnsfarge',
+ borderColor : 'Rammefarge',
+ data : 'Data',
+ header : 'Overskrift',
+ yes : 'Ja',
+ no : 'Nei',
+ invalidWidth : 'Cellebredde må være ett nummer',
+ invalidHeight : 'Cellehøyde må være ett nummer',
+ invalidRowSpan : 'Radspenn må være ett nummer.',
+ invalidColSpan : 'Kolonnespenn må være ett nummer.',
+ chooseColor : 'Velg'
+ },
+
+ row :
+ {
+ menu : 'Rader',
+ insertBefore : 'Sett inn rad før',
+ insertAfter : 'Sett inn rad etter',
+ deleteRow : 'Slett rader'
+ },
+
+ column :
+ {
+ menu : 'Kolonne',
+ insertBefore : 'Sett inn kolonne før',
+ insertAfter : 'Sett inn kolonne etter',
+ deleteColumn : 'Slett kolonner'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Egenskaper for knapp',
+ text : 'Tekst (verdi)',
+ type : 'Type',
+ typeBtn : 'Knapp',
+ typeSbm : 'Send',
+ typeRst : 'Nullstill'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Egenskaper for avmerkingsboks',
+ radioTitle : 'Egenskaper for alternativknapp',
+ value : 'Verdi',
+ selected : 'Valgt'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Egenskaper for skjema',
+ menu : 'Egenskaper for skjema',
+ action : 'Handling',
+ method : 'Metode',
+ encoding : 'Encoding'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Egenskaper for rullegardinliste',
+ selectInfo : 'Info',
+ opAvail : 'Tilgjenglige alternativer',
+ value : 'Verdi',
+ size : 'Størrelse',
+ lines : 'Linjer',
+ chkMulti : 'Tillat flervalg',
+ opText : 'Tekst',
+ opValue : 'Verdi',
+ btnAdd : 'Legg til',
+ btnModify : 'Endre',
+ btnUp : 'Opp',
+ btnDown : 'Ned',
+ btnSetValue : 'Sett som valgt',
+ btnDelete : 'Slett'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Egenskaper for tekstområde',
+ cols : 'Kolonner',
+ rows : 'Rader'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Egenskaper for tekstfelt',
+ name : 'Navn',
+ value : 'Verdi',
+ charWidth : 'Tegnbredde',
+ maxChars : 'Maks antall tegn',
+ type : 'Type',
+ typeText : 'Tekst',
+ typePass : 'Passord'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Egenskaper for skjult felt',
+ name : 'Navn',
+ value : 'Verdi'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Bildeegenskaper',
+ titleButton : 'Egenskaper for bildeknapp',
+ menu : 'Bildeegenskaper',
+ infoTab : 'Bildeinformasjon',
+ btnUpload : 'Send det til serveren',
+ upload : 'Last opp',
+ alt : 'Alternativ tekst',
+ width : 'Bredde',
+ height : 'Høyde',
+ lockRatio : 'LÃ¥s forhold',
+ unlockRatio : 'Ikke lås forhold',
+ resetSize : 'Tilbakestill størrelse',
+ border : 'Ramme',
+ hSpace : 'HMarg',
+ vSpace : 'VMarg',
+ align : 'Juster',
+ alignLeft : 'Venstre',
+ alignRight : 'Høyre',
+ alertUrl : 'Vennligst skriv bilde-urlen',
+ linkTab : 'Lenke',
+ button2Img : 'Vil du endre den valgte bildeknappen til ett vanlig bilde?',
+ img2Button : 'Vil du endre det valgte bildet til en bildeknapp?',
+ urlMissing : 'Bildets adresse mangler.',
+ validateWidth : 'Bredde må være ett nummer.',
+ validateHeight : 'Høyde må være ett nummer.',
+ validateBorder : 'Ramme må være ett nummer.',
+ validateHSpace : 'HSpace må være ett nummer.',
+ validateVSpace : 'VSpace må være ett nummer.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Egenskaper for Flash-objekt',
+ propertiesTab : 'Egenskaper',
+ title : 'Flash-egenskaper',
+ chkPlay : 'Autospill',
+ chkLoop : 'Loop',
+ chkMenu : 'Slå på Flash-meny',
+ chkFull : 'Tillat fullskjerm',
+ scale : 'Skaler',
+ scaleAll : 'Vis alt',
+ scaleNoBorder : 'Ingen ramme',
+ scaleFit : 'Skaler til å passe',
+ access : 'Scripttilgang',
+ accessAlways : 'Alltid',
+ accessSameDomain: 'Samme domene',
+ accessNever : 'Aldri',
+ align : 'Juster',
+ alignLeft : 'Venstre',
+ alignAbsBottom : 'Abs bunn',
+ alignAbsMiddle : 'Abs midten',
+ alignBaseline : 'Bunnlinje',
+ alignBottom : 'Bunn',
+ alignMiddle : 'Midten',
+ alignRight : 'Høyre',
+ alignTextTop : 'Tekst topp',
+ alignTop : 'Topp',
+ quality : 'Kvalitet',
+ qualityBest : 'Best',
+ qualityHigh : 'Høy',
+ qualityAutoHigh : 'Auto Høy',
+ qualityMedium : 'Medium',
+ qualityAutoLow : 'Auto Lav',
+ qualityLow : 'Lav',
+ windowModeWindow: 'Vindu',
+ windowModeOpaque: 'Opaque',
+ windowModeTransparent : 'Gjennomsiktig',
+ windowMode : 'Vindu modus',
+ flashvars : 'Variabler for flash',
+ bgcolor : 'Bakgrunnsfarge',
+ width : 'Bredde',
+ height : 'Høyde',
+ hSpace : 'HMarg',
+ vSpace : 'VMarg',
+ validateSrc : 'Vennligst skriv inn lenkens url',
+ validateWidth : 'Bredde må være ett nummer.',
+ validateHeight : 'Høyde må være ett nummer',
+ validateHSpace : 'HSpace må være ett nummer.',
+ validateVSpace : 'VSpace må være ett nummer.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Stavekontroll',
+ title : 'Stavekontroll',
+ notAvailable : 'Beklager, tjenesten er utilgjenglig nå.',
+ errorLoading : 'Feil under lasting av applicationstjeneste tjener: %s.',
+ notInDic : 'Ikke i ordboken',
+ changeTo : 'Endre til',
+ btnIgnore : 'Ignorer',
+ btnIgnoreAll : 'Ignorer alle',
+ btnReplace : 'Erstatt',
+ btnReplaceAll : 'Erstatt alle',
+ btnUndo : 'Angre',
+ noSuggestions : '- Ingen forslag -',
+ progress : 'Stavekontroll pågår...',
+ noMispell : 'Stavekontroll fullført: ingen feilstavinger funnet',
+ noChanges : 'Stavekontroll fullført: ingen ord endret',
+ oneChange : 'Stavekontroll fullført: Ett ord endret',
+ manyChanges : 'Stavekontroll fullført: %1 ord endret',
+ ieSpellDownload : 'Stavekontroll er ikke installert. Vil du laste den ned nå?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smil',
+ title : 'Sett inn smil',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Element-sti',
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Nummerert liste',
+ bulletedlist : 'Uordnet liste',
+ indent : 'Ãk nivÃ¥',
+ outdent : 'Senk nivå',
+
+ justify :
+ {
+ left : 'Venstrejuster',
+ center : 'Midtjuster',
+ right : 'Høyrejuster',
+ block : 'Blokkjuster'
+ },
+
+ blockquote : 'Blockquote',
+
+ clipboard :
+ {
+ title : 'Lim inn',
+ cutError : 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst bruk snareveien (Ctrl+X).',
+ copyError : 'Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst bruk snareveien (Ctrl+C).',
+ pasteMsg : 'Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.',
+ securityMsg : 'Din nettlesers sikkerhetsinstillinger gir ikke redigeringsverktøyet direkte tilgang til utklippstavlen. Du må lime det igjen i dette vinduet.',
+ pasteArea : 'Innlimingsområde'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Teksten du limer inn ser ut til å være kopiert fra Word. Vil du renske den før du limer den inn?',
+ toolbar : 'Lim inn fra Word',
+ title : 'Lim inn fra Word',
+ error : 'Det var ikke mulig å renske den innlimte teksten på grunn av en intern feil'
+ },
+
+ pasteText :
+ {
+ button : 'Lim inn som ren tekst',
+ title : 'Lim inn som ren tekst'
+ },
+
+ templates :
+ {
+ button : 'Maler',
+ title : 'Innholdsmaler',
+ options : 'Template Options', // MISSING
+ insertOption : 'Erstatt faktisk innold',
+ selectPromptMsg : 'Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):',
+ emptyListMsg : '(Ingen maler definert)'
+ },
+
+ showBlocks : 'Vis blokker',
+
+ stylesCombo :
+ {
+ label : 'Stil',
+ panelTitle : 'Stilformater',
+ panelTitle1 : 'Blokkstiler',
+ panelTitle2 : 'Inlinestiler',
+ panelTitle3 : 'Objektstiler'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatert',
+ tag_address : 'Adresse',
+ tag_h1 : 'Tittel 1',
+ tag_h2 : 'Tittel 2',
+ tag_h3 : 'Tittel 3',
+ tag_h4 : 'Tittel 4',
+ tag_h5 : 'Tittel 5',
+ tag_h6 : 'Tittel 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Sett inn Div Container',
+ toolbar : 'Sett inn Div Container',
+ cssClassInputLabel : 'Stilark-klasser',
+ styleSelectLabel : 'Stil',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Språk-kode',
+ inlineStyleInputLabel : 'Inlinestiler',
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Språkretning',
+ langDirLTRLabel : 'Venstre til høyre (VTH)',
+ langDirRTLLabel : 'Høyre til venstre (HTV)',
+ edit : 'Rediger Div',
+ remove : 'Fjern Div'
+ },
+
+ font :
+ {
+ label : 'Skrift',
+ voiceLabel : 'Font',
+ panelTitle : 'Skrift'
+ },
+
+ fontSize :
+ {
+ label : 'Størrelse',
+ voiceLabel : 'Font Størrelse',
+ panelTitle : 'Størrelse'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Tekstfarge',
+ bgColorTitle : 'Bakgrunnsfarge',
+ panelTitle : 'Farger',
+ auto : 'Automatisk',
+ more : 'Flere farger...'
+ },
+
+ colors :
+ {
+ '000' : 'Svart',
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Marine',
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Svak grå',
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brun',
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Mørk grå',
+ '40E0D0' : 'Turkis',
+ '0000CD' : 'Medium Blå',
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Grå',
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Mørk oransje',
+ 'FFD700' : 'gull',
+ '008000' : 'Grønn',
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blå',
+ 'EE82EE' : 'Fiolett',
+ 'A9A9A9' : 'Mørk grå',
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Oransje',
+ 'FFFF00' : 'gul',
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Lys Blå',
+ 'DDA0DD' : 'Plomme',
+ 'D3D3D3' : 'Lys grå',
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antikk-hvit',
+ 'FFFFE0' : 'Lys gul',
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'Hvit'
+ },
+
+ scayt :
+ {
+ title : 'Stavekontroll mens du skriver',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Slå på SCAYT',
+ disable : 'Slå av SCAYT',
+ about : 'Om SCAYT',
+ toggle : 'Veksle SCAYT',
+ options : 'Valg',
+ langs : 'Språk',
+ moreSuggestions : 'Flere forslag',
+ ignore : 'Ignorer',
+ ignoreAll : 'Ignorer Alle',
+ addWord : 'Legg til ord',
+ emptyDic : 'Ordboknavn skal ikke være tom',
+
+ optionsTab : 'Valg',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Språk',
+
+ dictionariesTab : 'Ordbøker',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Om'
+ },
+
+ about :
+ {
+ title : 'Om CKEditor',
+ dlgTitle : 'Om CKEditor',
+ moreInfo : 'For lisensieringsinformasjon vennligst besøk vårt nettsted:',
+ copy : 'Copyright © $1. Alle rettigheter reservert.'
+ },
+
+ maximize : 'Maksimer',
+ minimize : 'Minimer',
+
+ fakeobjects :
+ {
+ anchor : 'Anker',
+ flash : 'Flash Animasjon',
+ div : 'Sideskift',
+ unknown : 'Ukjent objekt'
+ },
+
+ resize : 'Dra for å skalere',
+
+ colordialog :
+ {
+ title : 'Velg farge',
+ options : 'Color Options', // MISSING
+ highlight : 'Merk',
+ selected : 'Valgt',
+ clear : 'Tøm'
+ },
+
+ toolbarCollapse : 'Slå sammen verktøylinje',
+ toolbarExpand : 'Vis verktøylinje',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/pl.js b/devel/third-party/ckeditor/lang/pl.js
new file mode 100644
index 0000000..ac8df6a
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/pl.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Polish language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['pl'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'ŹródÅo dokumentu',
+ newPage : 'Nowa strona',
+ save : 'Zapisz',
+ preview : 'PodglÄ
d',
+ cut : 'Wytnij',
+ copy : 'Kopiuj',
+ paste : 'Wklej',
+ print : 'Drukuj',
+ underline : 'PodkreÅlenie',
+ bold : 'Pogrubienie',
+ italic : 'Kursywa',
+ selectAll : 'Zaznacz wszystko',
+ removeFormat : 'UsuÅ formatowanie',
+ strike : 'PrzekreÅlenie',
+ subscript : 'Indeks dolny',
+ superscript : 'Indeks górny',
+ horizontalrule : 'Wstaw poziomÄ
liniÄ',
+ pagebreak : 'Wstaw odstÄp',
+ unlink : 'UsuÅ hiperÅÄ
cze',
+ undo : 'Cofnij',
+ redo : 'Ponów',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'PrzeglÄ
daj',
+ url : 'Adres URL',
+ protocol : 'ProtokóÅ',
+ upload : 'WyÅlij',
+ uploadSubmit : 'WyÅlij',
+ image : 'Obrazek',
+ flash : 'Flash',
+ form : 'Formularz',
+ checkbox : 'Pole wyboru (checkbox)',
+ radio : 'Pole wyboru (radio)',
+ textField : 'Pole tekstowe',
+ textarea : 'Obszar tekstowy',
+ hiddenField : 'Pole ukryte',
+ button : 'Przycisk',
+ select : 'Lista wyboru',
+ imageButton : 'Przycisk-obrazek',
+ notSet : '<nie ustawione>',
+ id : 'Id',
+ name : 'Nazwa',
+ langDir : 'Kierunek tekstu',
+ langDirLtr : 'Od lewej do prawej (LTR)',
+ langDirRtl : 'Od prawej do lewej (RTL)',
+ langCode : 'Kod jÄzyka',
+ longDescr : 'DÅugi opis hiperÅÄ
cza',
+ cssClass : 'Nazwa klasy CSS',
+ advisoryTitle : 'Opis obiektu docelowego',
+ cssStyle : 'Styl',
+ ok : 'OK',
+ cancel : 'Anuluj',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Ogólne',
+ advancedTab : 'Zaawansowane',
+ validateNumberFailed : 'Ta wartoÅÄ nie jest liczbÄ
.',
+ confirmNewPage : 'Wszystkie niezapisane zmiany zostanÄ
utracone. Czy na pewno wczytaÄ nowÄ
stronÄ?',
+ confirmCancel : 'Pewne opcje zostaÅy zmienione. Czy na pewno zamknÄ
Ä okno dialogowe?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, niedostÄpne</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Wstaw znak specjalny',
+ title : 'Wybierz znak specjalny',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Wstaw/edytuj hiperÅÄ
cze',
+ other : '<inny>',
+ menu : 'Edytuj hiperÅÄ
cze',
+ title : 'HiperÅÄ
cze',
+ info : 'Informacje ',
+ target : 'Cel',
+ upload : 'WyÅlij',
+ advanced : 'Zaawansowane',
+ type : 'Typ hiperÅÄ
cza',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'OdnoÅnik wewnÄ
trz strony',
+ toEmail : 'Adres e-mail',
+ targetFrame : '<ramka>',
+ targetPopup : '<wyskakujÄ
ce okno>',
+ targetFrameName : 'Nazwa Ramki Docelowej',
+ targetPopupName : 'Nazwa wyskakujÄ
cego okna',
+ popupFeatures : 'WÅaÅciwoÅci wyskakujÄ
cego okna',
+ popupResizable : 'Skalowalny',
+ popupStatusBar : 'Pasek statusu',
+ popupLocationBar: 'Pasek adresu',
+ popupToolbar : 'Pasek narzÄdzi',
+ popupMenuBar : 'Pasek menu',
+ popupFullScreen : 'PeÅny ekran (IE)',
+ popupScrollBars : 'Paski przewijania',
+ popupDependent : 'Okno zależne (Netscape)',
+ popupWidth : 'SzerokoÅÄ',
+ popupLeft : 'Pozycja w poziomie',
+ popupHeight : 'WysokoÅÄ',
+ popupTop : 'Pozycja w pionie',
+ id : 'Id',
+ langDir : 'Kierunek tekstu',
+ langDirLTR : 'Od lewej do prawej (LTR)',
+ langDirRTL : 'Od prawej do lewej (RTL)',
+ acccessKey : 'Klawisz dostÄpu',
+ name : 'Nazwa',
+ langCode : 'Kierunek tekstu',
+ tabIndex : 'Indeks tabeli',
+ advisoryTitle : 'Opis obiektu docelowego',
+ advisoryContentType : 'Typ MIME obiektu docelowego',
+ cssClasses : 'Nazwa klasy CSS',
+ charset : 'Kodowanie znaków obiektu docelowego',
+ styles : 'Styl',
+ selectAnchor : 'Wybierz etykietÄ',
+ anchorName : 'Wg etykiety',
+ anchorId : 'Wg identyfikatora elementu',
+ emailAddress : 'Adres e-mail',
+ emailSubject : 'Temat',
+ emailBody : 'TreÅÄ',
+ noAnchors : '(W dokumencie nie zdefiniowano żadnych etykiet)',
+ noUrl : 'Podaj adres URL',
+ noEmail : 'Podaj adres e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Wstaw/edytuj kotwicÄ',
+ menu : 'WÅaÅciwoÅci kotwicy',
+ title : 'WÅaÅciwoÅci kotwicy',
+ name : 'Nazwa kotwicy',
+ errorName : 'Wpisz nazwÄ kotwicy'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Znajdź i zamieÅ',
+ find : 'Znajdź',
+ replace : 'ZamieÅ',
+ findWhat : 'Znajdź:',
+ replaceWith : 'ZastÄ
p przez:',
+ notFoundMsg : 'Nie znaleziono szukanego hasÅa.',
+ matchCase : 'UwzglÄdnij wielkoÅÄ liter',
+ matchWord : 'CaÅe sÅowa',
+ matchCyclic : 'Cykliczne dopasowanie',
+ replaceAll : 'ZastÄ
p wszystko',
+ replaceSuccessMsg : '%1 wystÄ
pieÅ zastÄ
pionych.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabela',
+ title : 'WÅaÅciwoÅci tabeli',
+ menu : 'WÅaÅciwoÅci tabeli',
+ deleteTable : 'UsuÅ tabelÄ',
+ rows : 'Liczba wierszy',
+ columns : 'Liczba kolumn',
+ border : 'GruboÅÄ ramki',
+ align : 'Wyrównanie',
+ alignLeft : 'Do lewej',
+ alignCenter : 'Do Årodka',
+ alignRight : 'Do prawej',
+ width : 'SzerokoÅÄ',
+ widthPx : 'piksele',
+ widthPc : '%',
+ widthUnit : 'width unit', // MISSING
+ height : 'WysokoÅÄ',
+ cellSpace : 'OdstÄp pomiÄdzy komórkami',
+ cellPad : 'Margines wewnÄtrzny komórek',
+ caption : 'TytuÅ',
+ summary : 'Podsumowanie',
+ headers : 'NagÅowki',
+ headersNone : 'Brak',
+ headersColumn : 'Pierwsza kolumna',
+ headersRow : 'Pierwszy wiersz',
+ headersBoth : 'Oba',
+ invalidRows : 'Liczba wierszy musi byÄ liczbÄ
wiÄkszÄ
niż 0.',
+ invalidCols : 'Liczba kolumn musi byÄ liczbÄ
wiÄkszÄ
niż 0.',
+ invalidBorder : 'Liczba obramowaÅ musi byÄ liczbÄ
.',
+ invalidWidth : 'SzerokoÅÄ tabeli musi byÄ liczbÄ
.',
+ invalidHeight : 'WysokoÅÄ tabeli musi byÄ liczbÄ
.',
+ invalidCellSpacing : 'OdstÄp komórek musi byÄ liczbÄ
.',
+ invalidCellPadding : 'DopeÅnienie komórek musi byÄ liczbÄ
.',
+
+ cell :
+ {
+ menu : 'Komórka',
+ insertBefore : 'Wstaw komórkÄ z lewej',
+ insertAfter : 'Wstaw komórkÄ z prawej',
+ deleteCell : 'UsuŠkomórki',
+ merge : 'PoÅÄ
cz komórki',
+ mergeRight : 'PoÅÄ
cz z komórkÄ
z prawej',
+ mergeDown : 'PoÅÄ
cz z komórkÄ
poniżej',
+ splitHorizontal : 'Podziel komórkÄ poziomo',
+ splitVertical : 'Podziel komórkÄ pionowo',
+ title : 'WÅaÅciwoÅci komórki',
+ cellType : 'Typ komórki',
+ rowSpan : 'Scalenie wierszy',
+ colSpan : 'Scalenie komórek',
+ wordWrap : 'Zawijanie sÅów',
+ hAlign : 'Wyrównanie poziome',
+ vAlign : 'Wyrównanie pionowe',
+ alignTop : 'Góra',
+ alignMiddle : 'Årodek',
+ alignBottom : 'DóÅ',
+ alignBaseline : 'Linia bazowa',
+ bgColor : 'Kolor tÅa',
+ borderColor : 'Kolor obramowania',
+ data : 'Dane',
+ header : 'NagÅowek',
+ yes : 'Tak',
+ no : 'Nie',
+ invalidWidth : 'SzerokoÅÄ komórki musi byÄ liczbÄ
.',
+ invalidHeight : 'WysokoÅÄ komórki musi byÄ liczbÄ
.',
+ invalidRowSpan : 'Scalenie wierszy musi byÄ liczbÄ
caÅkowitÄ
.',
+ invalidColSpan : 'Scalenie komórek musi byÄ liczbÄ
caÅkowitÄ
.',
+ chooseColor : 'Wybierz'
+ },
+
+ row :
+ {
+ menu : 'Wiersz',
+ insertBefore : 'Wstaw wiersz powyżej',
+ insertAfter : 'Wstaw wiersz poniżej',
+ deleteRow : 'UsuÅ wiersze'
+ },
+
+ column :
+ {
+ menu : 'Kolumna',
+ insertBefore : 'Wstaw kolumnÄ z lewej',
+ insertAfter : 'Wstaw kolumnÄ z prawej',
+ deleteColumn : 'UsuÅ kolumny'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'WÅaÅciwoÅci przycisku',
+ text : 'Tekst (WartoÅÄ)',
+ type : 'Typ',
+ typeBtn : 'Przycisk',
+ typeSbm : 'WyÅlij',
+ typeRst : 'Wyzeruj'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'WÅaÅciwoÅci pola wyboru (checkbox)',
+ radioTitle : 'WÅaÅciwoÅci pola wyboru (radio)',
+ value : 'WartoÅÄ',
+ selected : 'Zaznaczone'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'WÅaÅciwoÅci formularza',
+ menu : 'WÅaÅciwoÅci formularza',
+ action : 'Akcja',
+ method : 'Metoda',
+ encoding : 'Kodowanie'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'WÅaÅciwoÅci listy wyboru',
+ selectInfo : 'Informacje',
+ opAvail : 'DostÄpne opcje',
+ value : 'WartoÅÄ',
+ size : 'Rozmiar',
+ lines : 'linii',
+ chkMulti : 'Wielokrotny wybór',
+ opText : 'Tekst',
+ opValue : 'WartoÅÄ',
+ btnAdd : 'Dodaj',
+ btnModify : 'ZmieÅ',
+ btnUp : 'Do góry',
+ btnDown : 'Do doÅu',
+ btnSetValue : 'Ustaw wartoÅÄ zaznaczonÄ
',
+ btnDelete : 'UsuÅ'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'WÅaÅciwoÅci obszaru tekstowego',
+ cols : 'Kolumnu',
+ rows : 'Wiersze'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'WÅaÅciwoÅci pola tekstowego',
+ name : 'Nazwa',
+ value : 'WartoÅÄ',
+ charWidth : 'SzerokoÅÄ w znakach',
+ maxChars : 'Max. szerokoÅÄ',
+ type : 'Typ',
+ typeText : 'Tekst',
+ typePass : 'HasÅo'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'WÅaÅciwoÅci pola ukrytego',
+ name : 'Nazwa',
+ value : 'WartoÅÄ'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'WÅaÅciwoÅci obrazka',
+ titleButton : 'WÅaÅciwoÅci przycisku obrazka',
+ menu : 'WÅaÅciwoÅci obrazka',
+ infoTab : 'Informacje o obrazku',
+ btnUpload : 'WyÅlij',
+ upload : 'WyÅlij',
+ alt : 'Tekst zastÄpczy',
+ width : 'SzerokoÅÄ',
+ height : 'WysokoÅÄ',
+ lockRatio : 'Zablokuj proporcje',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'PrzywrÃ³Ä rozmiar',
+ border : 'Ramka',
+ hSpace : 'OdstÄp poziomy',
+ vSpace : 'OdstÄp pionowy',
+ align : 'Wyrównaj',
+ alignLeft : 'Do lewej',
+ alignRight : 'Do prawej',
+ alertUrl : 'Podaj adres obrazka.',
+ linkTab : 'HiperÅÄ
cze',
+ button2Img : 'Czy chcesz przekonwertowaÄ zaznaczony przycisk graficzny do zwykÅego obrazka?',
+ img2Button : 'Czy chcesz przekonwertowaÄ zaznaczony obrazek do przycisku graficznego?',
+ urlMissing : 'Podaj adres URL obrazka.',
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'WÅaÅciwoÅci elementu Flash',
+ propertiesTab : 'WÅaÅciwoÅci',
+ title : 'WÅaÅciwoÅci elementu Flash',
+ chkPlay : 'Autoodtwarzanie',
+ chkLoop : 'PÄtla',
+ chkMenu : 'WÅÄ
cz menu',
+ chkFull : 'DopuÅÄ peÅny ekran',
+ scale : 'Skaluj',
+ scaleAll : 'Pokaż wszystko',
+ scaleNoBorder : 'Bez Ramki',
+ scaleFit : 'DokÅadne dopasowanie',
+ access : 'DostÄp skryptów',
+ accessAlways : 'Zawsze',
+ accessSameDomain: 'Ta sama domena',
+ accessNever : 'Nigdy',
+ align : 'Wyrównaj',
+ alignLeft : 'Do lewej',
+ alignAbsBottom : 'Do doÅu',
+ alignAbsMiddle : 'Do Årodka w pionie',
+ alignBaseline : 'Do linii bazowej',
+ alignBottom : 'Do doÅu',
+ alignMiddle : 'Do Årodka',
+ alignRight : 'Do prawej',
+ alignTextTop : 'Do góry tekstu',
+ alignTop : 'Do góry',
+ quality : 'JakoÅÄ',
+ qualityBest : 'Najlepsza',
+ qualityHigh : 'Wysoka',
+ qualityAutoHigh : 'Auto wysoka',
+ qualityMedium : 'Årednia',
+ qualityAutoLow : 'Auto niska',
+ qualityLow : 'Niska',
+ windowModeWindow: 'Okno',
+ windowModeOpaque: 'Nieprzeźroczyste',
+ windowModeTransparent : 'Przeźroczyste',
+ windowMode : 'Tryb okna',
+ flashvars : 'Zmienne dla Flasha',
+ bgcolor : 'Kolor tÅa',
+ width : 'SzerokoÅÄ',
+ height : 'WysokoÅÄ',
+ hSpace : 'OdstÄp poziomy',
+ vSpace : 'OdstÄp pionowy',
+ validateSrc : 'Podaj adres URL',
+ validateWidth : 'SzerokoÅÄ musi byÄ liczbÄ
.',
+ validateHeight : 'WysokoÅÄ musi byÄ liczbÄ
.',
+ validateHSpace : 'OdstÄp poziomy musi byÄ liczbÄ
.',
+ validateVSpace : 'OdstÄp pionowy musi byÄ liczbÄ
.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Sprawdź pisowniÄ',
+ title : 'Sprawdź pisowniÄ',
+ notAvailable : 'Przepraszamy, ale usÅuga jest obecnie niedostÄpna.',
+ errorLoading : 'BÅÄ
d wczytywania hosta aplikacji usÅugi: %s.',
+ notInDic : 'SÅowa nie ma w sÅowniku',
+ changeTo : 'ZmieÅ na',
+ btnIgnore : 'Ignoruj',
+ btnIgnoreAll : 'Ignoruj wszystkie',
+ btnReplace : 'ZmieÅ',
+ btnReplaceAll : 'ZmieÅ wszystkie',
+ btnUndo : 'Cofnij',
+ noSuggestions : '- Brak sugestii -',
+ progress : 'Trwa sprawdzanie...',
+ noMispell : 'Sprawdzanie zakoÅczone: nie znaleziono bÅÄdów',
+ noChanges : 'Sprawdzanie zakoÅczone: nie zmieniono żadnego sÅowa',
+ oneChange : 'Sprawdzanie zakoÅczone: zmieniono jedno sÅowo',
+ manyChanges : 'Sprawdzanie zakoÅczone: zmieniono %l sÅów',
+ ieSpellDownload : 'SÅownik nie jest zainstalowany. Chcesz go ÅciÄ
gnÄ
Ä?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emotikona',
+ title : 'Wstaw emotikonÄ',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : 'element %1'
+ },
+
+ numberedlist : 'Lista numerowana',
+ bulletedlist : 'Lista wypunktowana',
+ indent : 'ZwiÄksz wciÄcie',
+ outdent : 'Zmniejsz wciÄcie',
+
+ justify :
+ {
+ left : 'Wyrównaj do lewej',
+ center : 'Wyrównaj do Årodka',
+ right : 'Wyrównaj do prawej',
+ block : 'Wyrównaj do lewej i prawej'
+ },
+
+ blockquote : 'Cytat',
+
+ clipboard :
+ {
+ title : 'Wklej',
+ cutError : 'Ustawienia bezpieczeÅstwa Twojej przeglÄ
darki nie pozwalajÄ
na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+X.',
+ copyError : 'Ustawienia bezpieczeÅstwa Twojej przeglÄ
darki nie pozwalajÄ
na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl/Cmd+C.',
+ pasteMsg : 'ProszÄ wkleiÄ w poniższym polu używajÄ
c klawiaturowego skrótu (<STRONG>Ctrl/Cmd+V</STRONG>) i kliknÄ
Ä <STRONG>OK</STRONG>.',
+ securityMsg : 'Zabezpieczenia przeglÄ
darki uniemożliwiajÄ
wklejenie danych bezpoÅrednio do edytora. ProszÄ dane wkleiÄ ponownie w tym okienku.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'Tekst, który chcesz wkleiÄ, prawdopodobnie pochodzi z programu Word. Czy chcesz go wyczyÅcic przed wklejeniem?',
+ toolbar : 'Wklej z Worda',
+ title : 'Wklej z Worda',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Wklej jako czysty tekst',
+ title : 'Wklej jako czysty tekst'
+ },
+
+ templates :
+ {
+ button : 'Szablony',
+ title : 'Szablony zawartoÅci',
+ options : 'Template Options', // MISSING
+ insertOption : 'ZastÄ
p aktualnÄ
zawartoÅÄ',
+ selectPromptMsg : 'Wybierz szablon do otwarcia w edytorze<br>(obecna zawartoÅÄ okna edytora zostanie utracona):',
+ emptyListMsg : '(Brak zdefiniowanych szablonów)'
+ },
+
+ showBlocks : 'Pokaż bloki',
+
+ stylesCombo :
+ {
+ label : 'Styl',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Style blokowe',
+ panelTitle2 : 'Style liniowe',
+ panelTitle3 : 'Style obiektowe'
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normalny',
+ tag_pre : 'Tekst sformatowany',
+ tag_address : 'Adres',
+ tag_h1 : 'NagÅówek 1',
+ tag_h2 : 'NagÅówek 2',
+ tag_h3 : 'NagÅówek 3',
+ tag_h4 : 'NagÅówek 4',
+ tag_h5 : 'NagÅówek 5',
+ tag_h6 : 'NagÅówek 6',
+ tag_div : 'Normalny (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Czcionka',
+ voiceLabel : 'Czcionka',
+ panelTitle : 'Czcionka'
+ },
+
+ fontSize :
+ {
+ label : 'Rozmiar',
+ voiceLabel : 'Rozmiar czcionki',
+ panelTitle : 'Rozmiar'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Kolor tekstu',
+ bgColorTitle : 'Kolor tÅa',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatycznie',
+ more : 'WiÄcej kolorów...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Sprawdź pisowniÄ podczas pisania (SCAYT)',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'WÅÄ
cz SCAYT',
+ disable : 'WyÅÄ
cz SCAYT',
+ about : 'Na temat SCAYT',
+ toggle : 'PrzeÅÄ
cz SCAYT',
+ options : 'Opcje',
+ langs : 'JÄzyki',
+ moreSuggestions : 'WiÄcej sugestii',
+ ignore : 'Ignoruj',
+ ignoreAll : 'Ignoruj wszystkie',
+ addWord : 'Dodaj sÅowo',
+ emptyDic : 'Nazwa sÅownika nie może byÄ pusta.',
+
+ optionsTab : 'Opcje',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'JÄzyki',
+
+ dictionariesTab : 'SÅowniki',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Na temat SCAYT'
+ },
+
+ about :
+ {
+ title : 'Na temat CKEditor',
+ dlgTitle : 'Na temat CKEditor',
+ moreInfo : 'Informacje na temat licencji można znaleÅºÄ na naszej stronie:',
+ copy : 'Copyright © $1. Wszelkie prawa zastrzeżone.'
+ },
+
+ maximize : 'Maksymalizuj',
+ minimize : 'Minimalizuj',
+
+ fakeobjects :
+ {
+ anchor : 'Kotwica',
+ flash : 'Animacja Flash',
+ div : 'Separator stron',
+ unknown : 'Nieznany obiekt'
+ },
+
+ resize : 'PrzeciÄ
gnij, aby zmieniÄ rozmiar',
+
+ colordialog :
+ {
+ title : 'Wybierz kolor',
+ options : 'Color Options', // MISSING
+ highlight : 'Zaznacz',
+ selected : 'Wybrany',
+ clear : 'WyczyÅÄ'
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/pt-br.js b/devel/third-party/ckeditor/lang/pt-br.js
new file mode 100644
index 0000000..80a8a2c
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/pt-br.js
@@ -0,0 +1,757 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+* @fileOverview
+*/
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['pt-br'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Editor de Texto, %1, pressione ALT 0 para obter ajuda.',
+
+ // ARIA descriptions.
+ toolbar : 'Barra de Ferramentas',
+ editor : 'Editor de Texto',
+
+ // Toolbar buttons without dialogs.
+ source : 'Código-Fonte',
+ newPage : 'Novo',
+ save : 'Salvar',
+ preview : 'Visualizar',
+ cut : 'Recortar',
+ copy : 'Copiar',
+ paste : 'Colar',
+ print : 'Imprimir',
+ underline : 'Sublinhado',
+ bold : 'Negrito',
+ italic : 'Itálico',
+ selectAll : 'Selecionar Tudo',
+ removeFormat : 'Remover Formatação',
+ strike : 'Tachado',
+ subscript : 'Subscrito',
+ superscript : 'Sobrescrito',
+ horizontalrule : 'Inserir Linha Horizontal',
+ pagebreak : 'Inserir Quebra de Página',
+ unlink : 'Remover Link',
+ undo : 'Desfazer',
+ redo : 'Refazer',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Localizar no Servidor',
+ url : 'URL',
+ protocol : 'Protocolo',
+ upload : 'Enviar ao Servidor',
+ uploadSubmit : 'Enviar para o Servidor',
+ image : 'Imagem',
+ flash : 'Flash',
+ form : 'Formulário',
+ checkbox : 'Caixa de Seleção',
+ radio : 'Botão de Opção',
+ textField : 'Caixa de Texto',
+ textarea : 'Ãrea de Texto',
+ hiddenField : 'Campo Oculto',
+ button : 'Botão',
+ select : 'Caixa de Listagem',
+ imageButton : 'Botão de Imagem',
+ notSet : '<não ajustado>',
+ id : 'Id',
+ name : 'Nome',
+ langDir : 'Direção do idioma',
+ langDirLtr : 'Esquerda para Direita (LTR)',
+ langDirRtl : 'Direita para Esquerda (RTL)',
+ langCode : 'Idioma',
+ longDescr : 'Descrição da URL',
+ cssClass : 'Classe de CSS',
+ advisoryTitle : 'TÃtulo',
+ cssStyle : 'Estilos',
+ ok : 'OK',
+ cancel : 'Cancelar',
+ close : 'Fechar',
+ preview : 'Visualizar',
+ generalTab : 'Geral',
+ advancedTab : 'Avançado',
+ validateNumberFailed : 'Este valor não é um número.',
+ confirmNewPage : 'Todas as mudanças não salvas serão perdidas. Tem certeza de que quer abrir uma nova página?',
+ confirmCancel : 'Algumas opções foram alteradas. Tem certeza de que quer fechar a caixa de diálogo?',
+ options : 'Opções',
+ target : 'Destino',
+ targetNew : 'Nova Janela (_blank)',
+ targetTop : 'Janela de Cima (_top)',
+ targetSelf : 'Mesma Janela (_self)',
+ targetParent : 'Janela Pai (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, indisponÃvel</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Opções Menu de Contexto'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Inserir Caractere Especial',
+ title : 'Selecione um Caractere Especial',
+ options : 'Opções de Caractere Especial'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Inserir/Editar Link',
+ other : '<outro>',
+ menu : 'Editar Link',
+ title : 'Editar Link',
+ info : 'Informações',
+ target : 'Destino',
+ upload : 'Enviar ao Servidor',
+ advanced : 'Avançado',
+ type : 'Tipo de hiperlink',
+ toUrl : 'URL',
+ toAnchor : 'Ãncora nesta página',
+ toEmail : 'E-Mail',
+ targetFrame : '<frame>',
+ targetPopup : '<janela popup>',
+ targetFrameName : 'Nome do Frame de Destino',
+ targetPopupName : 'Nome da Janela Pop-up',
+ popupFeatures : 'Propriedades da Janela Pop-up',
+ popupResizable : 'Redimensionável',
+ popupStatusBar : 'Barra de Status',
+ popupLocationBar: 'Barra de Endereços',
+ popupToolbar : 'Barra de Ferramentas',
+ popupMenuBar : 'Barra de Menus',
+ popupFullScreen : 'Modo Tela Cheia (IE)',
+ popupScrollBars : 'Barras de Rolagem',
+ popupDependent : 'Dependente (Netscape)',
+ popupWidth : 'Largura',
+ popupLeft : 'Esquerda',
+ popupHeight : 'Altura',
+ popupTop : 'Topo',
+ id : 'Id',
+ langDir : 'Direção do idioma',
+ langDirLTR : 'Esquerda para Direita (LTR)',
+ langDirRTL : 'Direita para Esquerda (RTL)',
+ acccessKey : 'Chave de Acesso',
+ name : 'Nome',
+ langCode : 'Direção do idioma',
+ tabIndex : 'Ãndice de Tabulação',
+ advisoryTitle : 'TÃtulo',
+ advisoryContentType : 'Tipo de Conteúdo',
+ cssClasses : 'Classe de CSS',
+ charset : 'Charset do Link',
+ styles : 'Estilos',
+ selectAnchor : 'Selecione uma âncora',
+ anchorName : 'Nome da âncora',
+ anchorId : 'Id da âncora',
+ emailAddress : 'Endereço E-Mail',
+ emailSubject : 'Assunto da Mensagem',
+ emailBody : 'Corpo da Mensagem',
+ noAnchors : '(Não há âncoras no documento)',
+ noUrl : 'Por favor, digite o endereço do Link',
+ noEmail : 'Por favor, digite o endereço de e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Inserir/Editar Ãncora',
+ menu : 'Formatar Ãncora',
+ title : 'Formatar Ãncora',
+ name : 'Nome da Ãncora',
+ errorName : 'Por favor, digite o nome da âncora'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Propriedades da Lista Numerada',
+ bulletedTitle : 'Propriedades da Lista sem Numeros',
+ type : 'Tipo',
+ start : 'InÃcio',
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'CÃrculo',
+ disc : 'Disco',
+ square : 'Quadrado',
+ none : 'Nenhum',
+ notset : '<não definido>',
+ armenian : 'Numeração Armêna',
+ georgian : 'Numeração da Geórgia (an, ban, gan, etc.)',
+ lowerRoman : 'Numeração Romana minúscula (i, ii, iii, iv, v, etc.)',
+ upperRoman : 'Numeração Romana maiúscula (I, II, III, IV, V, etc.)',
+ lowerAlpha : 'Numeração Alfabética minúscula (a, b, c, d, e, etc.)',
+ upperAlpha : 'Numeração Alfabética Maiúscula (A, B, C, D, E, etc.)',
+ lowerGreek : 'Numeração Grega minúscula (alpha, beta, gamma, etc.)',
+ decimal : 'Numeração Decimal (1, 2, 3, etc.)',
+ decimalLeadingZero : 'Numeração Decimal com zeros (01, 02, 03, etc.)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Localizar e Substituir',
+ find : 'Localizar',
+ replace : 'Substituir',
+ findWhat : 'Procurar por:',
+ replaceWith : 'Substituir por:',
+ notFoundMsg : 'O texto especificado não foi encontrado.',
+ matchCase : 'Coincidir Maiúsculas/Minúsculas',
+ matchWord : 'Coincidir a palavra inteira',
+ matchCyclic : 'Coincidir cÃclico',
+ replaceAll : 'Substituir Tudo',
+ replaceSuccessMsg : '%1 ocorrência(s) substituÃda(s).'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabela',
+ title : 'Formatar Tabela',
+ menu : 'Formatar Tabela',
+ deleteTable : 'Apagar Tabela',
+ rows : 'Linhas',
+ columns : 'Colunas',
+ border : 'Borda',
+ align : 'Alinhamento',
+ alignLeft : 'Esquerda',
+ alignCenter : 'Centralizado',
+ alignRight : 'Direita',
+ width : 'Largura',
+ widthPx : 'pixels',
+ widthPc : '%',
+ widthUnit : 'unidade largura',
+ height : 'Altura',
+ cellSpace : 'Espaçamento',
+ cellPad : 'Margem interna',
+ caption : 'Legenda',
+ summary : 'Resumo',
+ headers : 'Cabeçalho',
+ headersNone : 'Nenhum',
+ headersColumn : 'Primeira coluna',
+ headersRow : 'Primeira linha',
+ headersBoth : 'Ambos',
+ invalidRows : 'O número de linhas tem que ser um número maior que 0.',
+ invalidCols : 'O número de colunas tem que ser um número maior que 0.',
+ invalidBorder : 'O tamanho da borda tem que ser um número.',
+ invalidWidth : 'A largura da tabela tem que ser um número.',
+ invalidHeight : 'A altura da tabela tem que ser um número.',
+ invalidCellSpacing : 'O espaçamento das células tem que ser um número.',
+ invalidCellPadding : 'A margem interna das células tem que ser um número.',
+
+ cell :
+ {
+ menu : 'Célula',
+ insertBefore : 'Inserir célula a esquerda',
+ insertAfter : 'Inserir célula a direita',
+ deleteCell : 'Remover Células',
+ merge : 'Mesclar Células',
+ mergeRight : 'Mesclar com célula a direita',
+ mergeDown : 'Mesclar com célula abaixo',
+ splitHorizontal : 'Dividir célula horizontalmente',
+ splitVertical : 'Dividir célula verticalmente',
+ title : 'Propriedades da célula',
+ cellType : 'Tipo de célula',
+ rowSpan : 'Linhas cobertas',
+ colSpan : 'Colunas cobertas',
+ wordWrap : 'Quebra de palavra',
+ hAlign : 'Alinhamento horizontal',
+ vAlign : 'Alinhamento vertical',
+ alignTop : 'Alinhar no topo',
+ alignMiddle : 'Centralizado verticalmente',
+ alignBottom : 'Alinhar na base',
+ alignBaseline : 'Patamar de alinhamento',
+ bgColor : 'Cor de fundo',
+ borderColor : 'Cor das bordas',
+ data : 'Dados',
+ header : 'Cabeçalho',
+ yes : 'Sim',
+ no : 'Não',
+ invalidWidth : 'A largura da célula tem que ser um número.',
+ invalidHeight : 'A altura da célula tem que ser um número.',
+ invalidRowSpan : 'Linhas cobertas tem que ser um número inteiro.',
+ invalidColSpan : 'Colunas cobertas tem que ser um número inteiro.',
+ chooseColor : 'Escolher'
+ },
+
+ row :
+ {
+ menu : 'Linha',
+ insertBefore : 'Inserir linha acima',
+ insertAfter : 'Inserir linha abaixo',
+ deleteRow : 'Remover Linhas'
+ },
+
+ column :
+ {
+ menu : 'Coluna',
+ insertBefore : 'Inserir coluna a esquerda',
+ insertAfter : 'Inserir coluna a direita',
+ deleteColumn : 'Remover Colunas'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Formatar Botão',
+ text : 'Texto (Valor)',
+ type : 'Tipo',
+ typeBtn : 'Botão',
+ typeSbm : 'Enviar',
+ typeRst : 'Limpar'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Formatar Caixa de Seleção',
+ radioTitle : 'Formatar Botão de Opção',
+ value : 'Valor',
+ selected : 'Selecionado'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Formatar Formulário',
+ menu : 'Formatar Formulário',
+ action : 'Ação',
+ method : 'Método',
+ encoding : 'Codificação'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Formatar Caixa de Listagem',
+ selectInfo : 'Informações',
+ opAvail : 'Opções disponÃveis',
+ value : 'Valor',
+ size : 'Tamanho',
+ lines : 'linhas',
+ chkMulti : 'Permitir múltiplas seleções',
+ opText : 'Texto',
+ opValue : 'Valor',
+ btnAdd : 'Adicionar',
+ btnModify : 'Modificar',
+ btnUp : 'Para cima',
+ btnDown : 'Para baixo',
+ btnSetValue : 'Definir como selecionado',
+ btnDelete : 'Remover'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Formatar Ãrea de Texto',
+ cols : 'Colunas',
+ rows : 'Linhas'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Formatar Caixa de Texto',
+ name : 'Nome',
+ value : 'Valor',
+ charWidth : 'Comprimento (em caracteres)',
+ maxChars : 'Número Máximo de Caracteres',
+ type : 'Tipo',
+ typeText : 'Texto',
+ typePass : 'Senha'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Formatar Campo Oculto',
+ name : 'Nome',
+ value : 'Valor'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Formatar Imagem',
+ titleButton : 'Formatar Botão de Imagem',
+ menu : 'Formatar Imagem',
+ infoTab : 'Informações da Imagem',
+ btnUpload : 'Enviar para o Servidor',
+ upload : 'Enviar',
+ alt : 'Texto Alternativo',
+ width : 'Largura',
+ height : 'Altura',
+ lockRatio : 'Travar Proporções',
+ unlockRatio : 'Destravar Proporções',
+ resetSize : 'Redefinir para o Tamanho Original',
+ border : 'Borda',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Alinhamento',
+ alignLeft : 'Esquerda',
+ alignRight : 'Direita',
+ alertUrl : 'Por favor, digite a URL da imagem.',
+ linkTab : 'Link',
+ button2Img : 'Deseja transformar o botão de imagem em uma imagem comum?',
+ img2Button : 'Deseja transformar a imagem em um botão de imagem?',
+ urlMissing : 'URL da imagem está faltando.',
+ validateWidth : 'A largura deve ser um número inteiro.',
+ validateHeight : 'A altura deve ser um número inteiro.',
+ validateBorder : 'A borda deve ser um número inteiro.',
+ validateHSpace : 'O HSpace deve ser um número inteiro.',
+ validateVSpace : 'O VSpace deve ser um número inteiro.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Propriedades do Flash',
+ propertiesTab : 'Propriedades',
+ title : 'Propriedades do Flash',
+ chkPlay : 'Tocar Automaticamente',
+ chkLoop : 'Tocar Infinitamente',
+ chkMenu : 'Habilita Menu Flash',
+ chkFull : 'Permitir tela cheia',
+ scale : 'Escala',
+ scaleAll : 'Mostrar tudo',
+ scaleNoBorder : 'Sem Borda',
+ scaleFit : 'Escala Exata',
+ access : 'Acesso ao script',
+ accessAlways : 'Sempre',
+ accessSameDomain: 'Acessar Mesmo DomÃnio',
+ accessNever : 'Nunca',
+ align : 'Alinhamento',
+ alignLeft : 'Esquerda',
+ alignAbsBottom : 'Inferior Absoluto',
+ alignAbsMiddle : 'Centralizado Absoluto',
+ alignBaseline : 'Baseline',
+ alignBottom : 'Inferior',
+ alignMiddle : 'Centralizado',
+ alignRight : 'Direita',
+ alignTextTop : 'Superior Absoluto',
+ alignTop : 'Superior',
+ quality : 'Qualidade',
+ qualityBest : 'Qualidade Melhor',
+ qualityHigh : 'Qualidade Alta',
+ qualityAutoHigh : 'Qualidade Alta Automática',
+ qualityMedium : 'Qualidade Média',
+ qualityAutoLow : 'Qualidade Baixa Automática',
+ qualityLow : 'Qualidade Baixa',
+ windowModeWindow: 'Janela',
+ windowModeOpaque: 'Opaca',
+ windowModeTransparent : 'Transparente',
+ windowMode : 'Modo da janela',
+ flashvars : 'Variáveis do Flash',
+ bgcolor : 'Cor do Plano de Fundo',
+ width : 'Largura',
+ height : 'Altura',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'Por favor, digite o endereço do link',
+ validateWidth : 'A largura tem que ser um número.',
+ validateHeight : 'A altura tem que ser um número',
+ validateHSpace : 'O HSpace tem que ser um número',
+ validateVSpace : 'O VSpace tem que ser um número.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Verificar Ortografia',
+ title : 'Corretor Ortográfico',
+ notAvailable : 'Desculpe, o serviço não está disponÃvel no momento.',
+ errorLoading : 'Erro carregando servidor de aplicação: %s.',
+ notInDic : 'Não encontrada',
+ changeTo : 'Alterar para',
+ btnIgnore : 'Ignorar uma vez',
+ btnIgnoreAll : 'Ignorar Todas',
+ btnReplace : 'Alterar',
+ btnReplaceAll : 'Alterar Todas',
+ btnUndo : 'Desfazer',
+ noSuggestions : '-sem sugestões de ortografia-',
+ progress : 'Verificação ortográfica em andamento...',
+ noMispell : 'Verificação encerrada: Não foram encontrados erros de ortografia',
+ noChanges : 'Verificação ortográfica encerrada: Não houve alterações',
+ oneChange : 'Verificação ortográfica encerrada: Uma palavra foi alterada',
+ manyChanges : 'Verificação ortográfica encerrada: %1 palavras foram alteradas',
+ ieSpellDownload : 'A verificação ortográfica não foi instalada. Você gostaria de realizar o download agora?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emoticon',
+ title : 'Inserir Emoticon',
+ options : 'Opções de Emoticons'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Caminho dos Elementos',
+ eleTitle : 'Elemento %1'
+ },
+
+ numberedlist : 'Lista numerada',
+ bulletedlist : 'Lista sem números',
+ indent : 'Aumentar Recuo',
+ outdent : 'Diminuir Recuo',
+
+ justify :
+ {
+ left : 'Alinhar Esquerda',
+ center : 'Centralizar',
+ right : 'Alinhar Direita',
+ block : 'Justificado'
+ },
+
+ blockquote : 'Citação',
+
+ clipboard :
+ {
+ title : 'Colar',
+ cutError : 'As configurações de segurança do seu navegador não permitem que o editor execute operações de recortar automaticamente. Por favor, utilize o teclado para recortar (Ctrl/Cmd+X).',
+ copyError : 'As configurações de segurança do seu navegador não permitem que o editor execute operações de copiar automaticamente. Por favor, utilize o teclado para copiar (Ctrl/Cmd+C).',
+ pasteMsg : 'Transfira o link usado na caixa usando o teclado com (<STRONG>Ctrl/Cmd+V</STRONG>) e <STRONG>OK</STRONG>.',
+ securityMsg : 'As configurações de segurança do seu navegador não permitem que o editor acesse os dados da área de transferência diretamente. Por favor cole o conteúdo manualmente nesta janela.',
+ pasteArea : 'Ãrea para Colar'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?',
+ toolbar : 'Colar do Word',
+ title : 'Colar do Word',
+ error : 'Não foi possÃvel limpar os dados colados devido a um erro interno'
+ },
+
+ pasteText :
+ {
+ button : 'Colar como Texto sem Formatação',
+ title : 'Colar como Texto sem Formatação'
+ },
+
+ templates :
+ {
+ button : 'Modelos de layout',
+ title : 'Modelo de layout de conteúdo',
+ options : 'Opções de Template',
+ insertOption : 'Substituir o conteúdo atual',
+ selectPromptMsg : 'Selecione um modelo de layout para ser aberto no editor<br>(o conteúdo atual será perdido):',
+ emptyListMsg : '(Não foram definidos modelos de layout)'
+ },
+
+ showBlocks : 'Mostrar blocos de código',
+
+ stylesCombo :
+ {
+ label : 'Estilo',
+ panelTitle : 'Estilos de Formatação',
+ panelTitle1 : 'Estilos de bloco',
+ panelTitle2 : 'Estilos de texto corrido',
+ panelTitle3 : 'Estilos de objeto'
+ },
+
+ format :
+ {
+ label : 'Formatação',
+ panelTitle : 'Formatação',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatado',
+ tag_address : 'Endereço',
+ tag_h1 : 'TÃtulo 1',
+ tag_h2 : 'TÃtulo 2',
+ tag_h3 : 'TÃtulo 3',
+ tag_h4 : 'TÃtulo 4',
+ tag_h5 : 'TÃtulo 5',
+ tag_h6 : 'TÃtulo 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Criar Container de DIV',
+ toolbar : 'Criar Container de DIV',
+ cssClassInputLabel : 'Classes de CSS',
+ styleSelectLabel : 'Estilo',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : 'Código de Idioma',
+ inlineStyleInputLabel : 'Estilo Inline',
+ advisoryTitleInputLabel : 'TÃtulo Consulta',
+ langDirLabel : 'Direção da Escrita',
+ langDirLTRLabel : 'Esquerda para Direita (LTR)',
+ langDirRTLLabel : 'Direita para Esquerda (RTL)',
+ edit : 'Editar Div',
+ remove : 'Remover Div'
+ },
+
+ font :
+ {
+ label : 'Fonte',
+ voiceLabel : 'Fonte',
+ panelTitle : 'Fonte'
+ },
+
+ fontSize :
+ {
+ label : 'Tamanho',
+ voiceLabel : 'Tamanho da fonte',
+ panelTitle : 'Tamanho'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Cor do Texto',
+ bgColorTitle : 'Cor do Plano de Fundo',
+ panelTitle : 'Cores',
+ auto : 'Automático',
+ more : 'Mais Cores...'
+ },
+
+ colors :
+ {
+ '000' : 'Preto',
+ '800000' : 'Foquete',
+ '8B4513' : 'Marrom 1',
+ '2F4F4F' : 'Cinza 1',
+ '008080' : 'Cerceta',
+ '000080' : 'Azul Marinho',
+ '4B0082' : 'Ãndigo',
+ '696969' : 'Cinza 2',
+ 'B22222' : 'Tijolo de Fogo',
+ 'A52A2A' : 'Marrom 2',
+ 'DAA520' : 'Vara Dourada',
+ '006400' : 'Verde Escuro',
+ '40E0D0' : 'Turquesa',
+ '0000CD' : 'Azul Médio',
+ '800080' : 'Roxo',
+ '808080' : 'Cinza 3',
+ 'F00' : 'Vermelho',
+ 'FF8C00' : 'Laranja Escuro',
+ 'FFD700' : 'Dourado',
+ '008000' : 'Verde',
+ '0FF' : 'Ciano',
+ '00F' : 'Azul',
+ 'EE82EE' : 'Violeta',
+ 'A9A9A9' : 'Cinza Escuro',
+ 'FFA07A' : 'Salmão Claro',
+ 'FFA500' : 'Laranja',
+ 'FFFF00' : 'Amarelo',
+ '00FF00' : 'Lima',
+ 'AFEEEE' : 'Turquesa Pálido',
+ 'ADD8E6' : 'Azul Claro',
+ 'DDA0DD' : 'Ameixa',
+ 'D3D3D3' : 'Cinza Claro',
+ 'FFF0F5' : 'Lavanda 1',
+ 'FAEBD7' : 'Branco Antiguidade',
+ 'FFFFE0' : 'Amarelo Claro',
+ 'F0FFF0' : 'Orvalho',
+ 'F0FFFF' : 'Azure',
+ 'F0F8FF' : 'Azul Alice',
+ 'E6E6FA' : 'Lavanda 2',
+ 'FFF' : 'Branco'
+ },
+
+ scayt :
+ {
+ title : 'Correção ortográfica durante a digitação',
+ opera_title : 'Não suportado no Opera',
+ enable : 'Habilitar correção ortográfica durante a digitação',
+ disable : 'Desabilitar correção ortográfica durante a digitação',
+ about : 'Sobre a correção ortográfica durante a digitação',
+ toggle : 'Ativar/desativar correção ortográfica durante a digitação',
+ options : 'Opções',
+ langs : 'Idiomas',
+ moreSuggestions : 'Mais sugestões',
+ ignore : 'Ignorar',
+ ignoreAll : 'Ignorar todas',
+ addWord : 'Adicionar palavra',
+ emptyDic : 'O nome do dicionário não deveria estar vazio.',
+
+ optionsTab : 'Opções',
+ allCaps : 'Ignorar palavras maiúsculas',
+ ignoreDomainNames : 'Ignorar nomes de domÃnio',
+ mixedCase : 'Ignorar palavras com maiúsculas e minúsculas misturadas',
+ mixedWithDigits : 'Ignorar palavras com números',
+
+ languagesTab : 'Idiomas',
+
+ dictionariesTab : 'Dicionários',
+ dic_field_name : 'Nome do Dicionário',
+ dic_create : 'Criar',
+ dic_restore : 'Restaurar',
+ dic_delete : 'Excluir',
+ dic_rename : 'Renomear',
+ dic_info : 'Inicialmente, o dicionário do usuário fica armazenado em um Cookie. Porém, Cookies tem tamanho limitado, portanto quand o dicionário do usuário atingir o tamanho limite poderá ser armazenado no nosso servidor. Para armazenar seu dicionário pessoal no nosso servidor deverá especificar um nome para ele. Se já tiver um dicionário armazenado por favor especifique o seu nome e clique em Restaurar.',
+
+ aboutTab : 'Sobre'
+ },
+
+ about :
+ {
+ title : 'Sobre o CKEditor',
+ dlgTitle : 'Sobre o CKEditor',
+ moreInfo : 'Para informações sobre a licença por favor visite o nosso site:',
+ copy : 'Copyright © $1. Todos os direitos reservados.'
+ },
+
+ maximize : 'Maximizar',
+ minimize : 'Minimize',
+
+ fakeobjects :
+ {
+ anchor : 'Ãncora',
+ flash : 'Animação em Flash',
+ div : 'Quebra de página',
+ unknown : 'Objeto desconhecido'
+ },
+
+ resize : 'Arraste para redimensionar',
+
+ colordialog :
+ {
+ title : 'Selecione uma cor',
+ options : 'Opções de Cor',
+ highlight : 'Grifar',
+ selected : 'Cor Selecionada',
+ clear : 'Limpar'
+ },
+
+ toolbarCollapse : 'Diminuir Barra de Ferramentas',
+ toolbarExpand : 'Aumentar Barra de Ferramentas',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/pt.js b/devel/third-party/ckeditor/lang/pt.js
new file mode 100644
index 0000000..2153a8b
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/pt.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Portuguese language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['pt'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Fonte',
+ newPage : 'Nova Página',
+ save : 'Guardar',
+ preview : 'Pré-visualizar',
+ cut : 'Cortar',
+ copy : 'Copiar',
+ paste : 'Colar',
+ print : 'Imprimir',
+ underline : 'Sublinhado',
+ bold : 'Negrito',
+ italic : 'Itálico',
+ selectAll : 'Seleccionar Tudo',
+ removeFormat : 'Eliminar Formato',
+ strike : 'Rasurado',
+ subscript : 'Superior à Linha',
+ superscript : 'Inferior à Linha',
+ horizontalrule : 'Inserir Linha Horizontal',
+ pagebreak : 'Inserir Quebra de Página',
+ unlink : 'Eliminar Hiperligação',
+ undo : 'Anular',
+ redo : 'Repetir',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Navegar no Servidor',
+ url : 'URL',
+ protocol : 'Protocolo',
+ upload : 'Carregar',
+ uploadSubmit : 'Enviar para o Servidor',
+ image : 'Imagem',
+ flash : 'Flash',
+ form : 'Formulário',
+ checkbox : 'Caixa de Verificação',
+ radio : 'Botão de Opção',
+ textField : 'Campo de Texto',
+ textarea : 'Ãrea de Texto',
+ hiddenField : 'Campo Escondido',
+ button : 'Botão',
+ select : 'Caixa de Combinação',
+ imageButton : 'Botão de Imagem',
+ notSet : '<Não definido>',
+ id : 'Id',
+ name : 'Nome',
+ langDir : 'Orientação de idioma',
+ langDirLtr : 'Esquerda à Direita (LTR)',
+ langDirRtl : 'Direita a Esquerda (RTL)',
+ langCode : 'Código de Idioma',
+ longDescr : 'Descrição Completa do URL',
+ cssClass : 'Classes de Estilo de Folhas Classes',
+ advisoryTitle : 'TÃtulo',
+ cssStyle : 'Estilo',
+ ok : 'OK',
+ cancel : 'Cancelar',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Avançado',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Inserir Caracter Especial',
+ title : 'Seleccione um caracter especial',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Inserir/Editar Hiperligação',
+ other : '<outro>',
+ menu : 'Editar Hiperligação',
+ title : 'Hiperligação',
+ info : 'Informação de Hiperligação',
+ target : 'Destino',
+ upload : 'Carregar',
+ advanced : 'Avançado',
+ type : 'Tipo de Hiperligação',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Referência a esta página',
+ toEmail : 'E-Mail',
+ targetFrame : '<Frame>',
+ targetPopup : '<Janela de popup>',
+ targetFrameName : 'Nome do Frame Destino',
+ targetPopupName : 'Nome da Janela de Popup',
+ popupFeatures : 'CaracterÃsticas de Janela de Popup',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Barra de Estado',
+ popupLocationBar: 'Barra de localização',
+ popupToolbar : 'Barra de Ferramentas',
+ popupMenuBar : 'Barra de Menu',
+ popupFullScreen : 'Janela Completa (IE)',
+ popupScrollBars : 'Barras de deslocamento',
+ popupDependent : 'Dependente (Netscape)',
+ popupWidth : 'Largura',
+ popupLeft : 'Posição Esquerda',
+ popupHeight : 'Altura',
+ popupTop : 'Posição Direita',
+ id : 'Id', // MISSING
+ langDir : 'Orientação de idioma',
+ langDirLTR : 'Esquerda à Direita (LTR)',
+ langDirRTL : 'Direita a Esquerda (RTL)',
+ acccessKey : 'Chave de Acesso',
+ name : 'Nome',
+ langCode : 'Orientação de idioma',
+ tabIndex : 'Ãndice de Tubulação',
+ advisoryTitle : 'TÃtulo',
+ advisoryContentType : 'Tipo de Conteúdo',
+ cssClasses : 'Classes de Estilo de Folhas Classes',
+ charset : 'Fonte de caracteres vinculado',
+ styles : 'Estilo',
+ selectAnchor : 'Seleccionar una referência',
+ anchorName : 'Por Nome de Referência',
+ anchorId : 'Por ID de elemento',
+ emailAddress : 'Endereço de E-Mail',
+ emailSubject : 'TÃtulo de Mensagem',
+ emailBody : 'Corpo da Mensagem',
+ noAnchors : '(Não há referências disponÃveis no documento)',
+ noUrl : 'Por favor introduza a hiperligação URL',
+ noEmail : 'Por favor introduza o endereço de e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : ' Inserir/Editar Ãncora',
+ menu : 'Propriedades da Ãncora',
+ title : 'Propriedades da Ãncora',
+ name : 'Nome da Ãncora',
+ errorName : 'Por favor, introduza o nome da âncora'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'Procurar',
+ replace : 'Substituir',
+ findWhat : 'Texto a Procurar:',
+ replaceWith : 'Substituir por:',
+ notFoundMsg : 'O texto especificado não foi encontrado.',
+ matchCase : 'Maiúsculas/Minúsculas',
+ matchWord : 'Coincidir com toda a palavra',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Substituir Tudo',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabela',
+ title : 'Propriedades da Tabela',
+ menu : 'Propriedades da Tabela',
+ deleteTable : 'Eliminar Tabela',
+ rows : 'Linhas',
+ columns : 'Colunas',
+ border : 'Tamanho do Limite',
+ align : 'Alinhamento',
+ alignLeft : 'Esquerda',
+ alignCenter : 'Centrado',
+ alignRight : 'Direita',
+ width : 'Largura',
+ widthPx : 'pixeis',
+ widthPc : 'percentagem',
+ widthUnit : 'width unit', // MISSING
+ height : 'Altura',
+ cellSpace : 'Esp. e/células',
+ cellPad : 'Esp. interior',
+ caption : 'TÃtulo',
+ summary : 'Sumário',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Célula',
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'Eliminar Célula',
+ merge : 'Unir Células',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Linha',
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'Eliminar Linhas'
+ },
+
+ column :
+ {
+ menu : 'Coluna',
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'Eliminar Coluna'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Propriedades do Botão',
+ text : 'Texto (Valor)',
+ type : 'Tipo',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Propriedades da Caixa de Verificação',
+ radioTitle : 'Propriedades do Botão de Opção',
+ value : 'Valor',
+ selected : 'Seleccionado'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Propriedades do Formulário',
+ menu : 'Propriedades do Formulário',
+ action : 'Acção',
+ method : 'Método',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Propriedades da Caixa de Combinação',
+ selectInfo : 'Informação',
+ opAvail : 'Opções PossÃveis',
+ value : 'Valor',
+ size : 'Tamanho',
+ lines : 'linhas',
+ chkMulti : 'Permitir selecções múltiplas',
+ opText : 'Texto',
+ opValue : 'Valor',
+ btnAdd : 'Adicionar',
+ btnModify : 'Modificar',
+ btnUp : 'Para cima',
+ btnDown : 'Para baixo',
+ btnSetValue : 'Definir um valor por defeito',
+ btnDelete : 'Apagar'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Propriedades da Ãrea de Texto',
+ cols : 'Colunas',
+ rows : 'Linhas'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Propriedades do Campo de Texto',
+ name : 'Nome',
+ value : 'Valor',
+ charWidth : 'Tamanho do caracter',
+ maxChars : 'Nr. Máximo de Caracteres',
+ type : 'Tipo',
+ typeText : 'Texto',
+ typePass : 'Palavra-chave'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Propriedades do Campo Escondido',
+ name : 'Nome',
+ value : 'Valor'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Propriedades da Imagem',
+ titleButton : 'Propriedades do Botão de imagens',
+ menu : 'Propriedades da Imagem',
+ infoTab : 'Informação da Imagem',
+ btnUpload : 'Enviar para o Servidor',
+ upload : 'Carregar',
+ alt : 'Texto Alternativo',
+ width : 'Largura',
+ height : 'Altura',
+ lockRatio : 'Proporcional',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Tamanho Original',
+ border : 'Limite',
+ hSpace : 'Esp.Horiz',
+ vSpace : 'Esp.Vert',
+ align : 'Alinhamento',
+ alignLeft : 'Esquerda',
+ alignRight : 'Direita',
+ alertUrl : 'Por favor introduza o URL da imagem',
+ linkTab : 'Hiperligação',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Propriedades do Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Propriedades do Flash',
+ chkPlay : 'Reproduzir automaticamente',
+ chkLoop : 'Loop',
+ chkMenu : 'Permitir Menu do Flash',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Escala',
+ scaleAll : 'Mostrar tudo',
+ scaleNoBorder : 'Sem Limites',
+ scaleFit : 'Tamanho Exacto',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Alinhamento',
+ alignLeft : 'Esquerda',
+ alignAbsBottom : 'Abs inferior',
+ alignAbsMiddle : 'Abs centro',
+ alignBaseline : 'Linha de base',
+ alignBottom : 'Fundo',
+ alignMiddle : 'Centro',
+ alignRight : 'Direita',
+ alignTextTop : 'Topo do texto',
+ alignTop : 'Topo',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Cor de Fundo',
+ width : 'Largura',
+ height : 'Altura',
+ hSpace : 'Esp.Horiz',
+ vSpace : 'Esp.Vert',
+ validateSrc : 'Por favor introduza a hiperligação URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Verificação Ortográfica',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Não está num directório',
+ changeTo : 'Mudar para',
+ btnIgnore : 'Ignorar',
+ btnIgnoreAll : 'Ignorar Tudo',
+ btnReplace : 'Substituir',
+ btnReplaceAll : 'Substituir Tudo',
+ btnUndo : 'Anular',
+ noSuggestions : '- Sem sugestões -',
+ progress : 'Verificação ortográfica em progressoâ¦',
+ noMispell : 'Verificação ortográfica completa: não foram encontrados erros',
+ noChanges : 'Verificação ortográfica completa: não houve alteração de palavras',
+ oneChange : 'Verificação ortográfica completa: uma palavra alterada',
+ manyChanges : 'Verificação ortográfica completa: %1 palavras alteradas',
+ ieSpellDownload : ' Verificação ortográfica não instalada. Quer descarregar agora?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Emoticons',
+ title : 'Inserir um Emoticon',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Numeração',
+ bulletedlist : 'Marcas',
+ indent : 'Aumentar Avanço',
+ outdent : 'Diminuir Avanço',
+
+ justify :
+ {
+ left : 'Alinhar à Esquerda',
+ center : 'Alinhar ao Centro',
+ right : 'Alinhar à Direita',
+ block : 'Justificado'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Colar',
+ cutError : 'A configuração de segurança do navegador não permite a execução automática de operações de cortar. Por favor use o teclado (Ctrl/Cmd+X).',
+ copyError : 'A configuração de segurança do navegador não permite a execução automática de operações de copiar. Por favor use o teclado (Ctrl/Cmd+C).',
+ pasteMsg : 'Por favor, cole dentro da seguinte caixa usando o teclado (<STRONG>Ctrl/Cmd+V</STRONG>) e prima <STRONG>OK</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Colar do Word',
+ title : 'Colar do Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Colar como Texto Simples',
+ title : 'Colar como Texto Simples'
+ },
+
+ templates :
+ {
+ button : 'Modelos',
+ title : 'Modelo de Conteúdo',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'Por favor, seleccione o modelo a abrir no editor<br>(o conteúdo actual será perdido):',
+ emptyListMsg : '(Sem modelos definidos)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Estilo',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Formato',
+ panelTitle : 'Formato',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatado',
+ tag_address : 'Endereço',
+ tag_h1 : 'TÃtulo 1',
+ tag_h2 : 'TÃtulo 2',
+ tag_h3 : 'TÃtulo 3',
+ tag_h4 : 'TÃtulo 4',
+ tag_h5 : 'TÃtulo 5',
+ tag_h6 : 'TÃtulo 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Tipo de Letra',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Tipo de Letra'
+ },
+
+ fontSize :
+ {
+ label : 'Tamanho',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Tamanho'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Cor do Texto',
+ bgColorTitle : 'Cor de Fundo',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automático',
+ more : 'Mais Cores...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/ro.js b/devel/third-party/ckeditor/lang/ro.js
new file mode 100644
index 0000000..ad949ff
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/ro.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Romanian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ro'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Sursa',
+ newPage : 'PaginÄ nouÄ',
+ save : 'SalveazÄ',
+ preview : 'Previzualizare',
+ cut : 'Taie',
+ copy : 'CopiazÄ',
+ paste : 'AdaugÄ',
+ print : 'PrinteazÄ',
+ underline : 'Subliniat (underline)',
+ bold : 'ÃngroÅat (bold)',
+ italic : 'Ãnclinat (italic)',
+ selectAll : 'SelecteazÄ tot',
+ removeFormat : 'ÃnlÄturÄ formatarea',
+ strike : 'TÄiat (strike through)',
+ subscript : 'Indice (subscript)',
+ superscript : 'Putere (superscript)',
+ horizontalrule : 'InsereazÄ linie orizontÄ',
+ pagebreak : 'InsereazÄ separator de paginÄ (Page Break)',
+ unlink : 'ÃnlÄturÄ link (legÄturÄ web)',
+ undo : 'Starea anterioarÄ (undo)',
+ redo : 'Starea ulterioarÄ (redo)',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'RÄsfoieÅte server',
+ url : 'URL',
+ protocol : 'Protocol',
+ upload : 'ÃncarcÄ',
+ uploadSubmit : 'Trimite la server',
+ image : 'Imagine',
+ flash : 'Flash',
+ form : 'Formular (Form)',
+ checkbox : 'BifÄ (Checkbox)',
+ radio : 'Buton radio (RadioButton)',
+ textField : 'Câmp text (TextField)',
+ textarea : 'SuprafaÅ£Ä text (Textarea)',
+ hiddenField : 'Câmp ascuns (HiddenField)',
+ button : 'Buton',
+ select : 'Câmp selecţie (SelectionField)',
+ imageButton : 'Buton imagine (ImageButton)',
+ notSet : '<nesetat>',
+ id : 'Id',
+ name : 'Nume',
+ langDir : 'Direcţia cuvintelor',
+ langDirLtr : 'stânga-dreapta (LTR)',
+ langDirRtl : 'dreapta-stânga (RTL)',
+ langCode : 'Codul limbii',
+ longDescr : 'Descrierea lungÄ URL',
+ cssClass : 'Clasele cu stilul paginii (CSS)',
+ advisoryTitle : 'Titlul consultativ',
+ cssStyle : 'Stil',
+ ok : 'Bine',
+ cancel : 'Anulare',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Avansat',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'InsereazÄ caracter special',
+ title : 'SelecteazÄ caracter special',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'InsereazÄ/EditeazÄ link (legÄturÄ web)',
+ other : '<alt>',
+ menu : 'EditeazÄ Link',
+ title : 'Link (LegÄturÄ web)',
+ info : 'InformaÅ£ii despre link (LegÄturÄ web)',
+ target : 'Å¢intÄ (Target)',
+ upload : 'ÃncarcÄ',
+ advanced : 'Avansat',
+ type : 'Tipul link-ului (al legÄturii web)',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'AncorÄ Ã®n aceastÄ paginÄ',
+ toEmail : 'E-Mail',
+ targetFrame : '<frame>',
+ targetPopup : '<fereastra popup>',
+ targetFrameName : 'Numele frame-ului Å£intÄ',
+ targetPopupName : 'Numele ferestrei popup',
+ popupFeatures : 'ProprietÄÅ£ile ferestrei popup',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Bara de status',
+ popupLocationBar: 'Bara de locaţie',
+ popupToolbar : 'Bara de opţiuni',
+ popupMenuBar : 'Bara de meniu',
+ popupFullScreen : 'Tot ecranul (Full Screen)(IE)',
+ popupScrollBars : 'Scroll Bars',
+ popupDependent : 'Dependent (Netscape)',
+ popupWidth : 'LÄÅ£ime',
+ popupLeft : 'Poziţia la stânga',
+ popupHeight : 'ÃnÄlÅ£ime',
+ popupTop : 'Poziţia la dreapta',
+ id : 'Id', // MISSING
+ langDir : 'Direcţia cuvintelor',
+ langDirLTR : 'stânga-dreapta (LTR)',
+ langDirRTL : 'dreapta-stânga (RTL)',
+ acccessKey : 'Tasta de acces',
+ name : 'Nume',
+ langCode : 'Direcţia cuvintelor',
+ tabIndex : 'Indexul tabului',
+ advisoryTitle : 'Titlul consultativ',
+ advisoryContentType : 'Tipul consultativ al titlului',
+ cssClasses : 'Clasele cu stilul paginii (CSS)',
+ charset : 'Setul de caractere al resursei legate',
+ styles : 'Stil',
+ selectAnchor : 'SelectaÅ£i o ancorÄ',
+ anchorName : 'dupÄ numele ancorei',
+ anchorId : 'dupÄ Id-ul elementului',
+ emailAddress : 'AdresÄ de e-mail',
+ emailSubject : 'Subiectul mesajului',
+ emailBody : 'Conţinutul mesajului',
+ noAnchors : '(Nicio ancorÄ disponibilÄ Ã®n document)',
+ noUrl : 'VÄ rugÄm sÄ scrieÅ£i URL-ul',
+ noEmail : 'VÄ rugÄm sÄ scrieÅ£i adresa de e-mail'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'InsereazÄ/EditeazÄ ancorÄ',
+ menu : 'ProprietÄÅ£i ancorÄ',
+ title : 'ProprietÄÅ£i ancorÄ',
+ name : 'Numele ancorei',
+ errorName : 'VÄ rugÄm scrieÅ£i numele ancorei'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'GÄseÅte Åi înlocuieÅte',
+ find : 'GÄseÅte',
+ replace : 'ÃnlocuieÅte',
+ findWhat : 'GÄseÅte:',
+ replaceWith : 'ÃnlocuieÅte cu:',
+ notFoundMsg : 'Textul specificat nu a fost gÄsit.',
+ matchCase : 'DeosebeÅte majuscule de minuscule (Match case)',
+ matchWord : 'Doar cuvintele întregi',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'ÃnlocuieÅte tot',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabel',
+ title : 'ProprietÄÅ£ile tabelului',
+ menu : 'ProprietÄÅ£ile tabelului',
+ deleteTable : 'Återge tabel',
+ rows : 'Linii',
+ columns : 'Coloane',
+ border : 'MÄrimea marginii',
+ align : 'Aliniament',
+ alignLeft : 'Stânga',
+ alignCenter : 'Centru',
+ alignRight : 'Dreapta',
+ width : 'LÄÅ£ime',
+ widthPx : 'pixeli',
+ widthPc : 'procente',
+ widthUnit : 'width unit', // MISSING
+ height : 'ÃnÄlÅ£ime',
+ cellSpace : 'Spaţiu între celule',
+ cellPad : 'Spaţiu în cadrul celulei',
+ caption : 'Titlu (Caption)',
+ summary : 'Rezumat',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'CelulÄ',
+ insertBefore : 'InsereazÄ celulÄ Ã®nainte',
+ insertAfter : 'InsereazÄ celulÄ dupÄ',
+ deleteCell : 'Återge celule',
+ merge : 'UneÅte celule',
+ mergeRight : 'UneÅte la dreapta',
+ mergeDown : 'UneÅte jos',
+ splitHorizontal : 'Ãmparte celula pe orizontalÄ',
+ splitVertical : 'Ãmparte celula pe verticalÄ',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Linie',
+ insertBefore : 'InsereazÄ linie înainte',
+ insertAfter : 'InsereazÄ linie dupÄ',
+ deleteRow : 'Återge linii'
+ },
+
+ column :
+ {
+ menu : 'ColoanÄ',
+ insertBefore : 'InsereazÄ coloanÄ Ã®nainte',
+ insertAfter : 'InsereazÄ coloanÄ dupÄ',
+ deleteColumn : 'Återge celule'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ProprietÄÅ£i buton',
+ text : 'Text (Valoare)',
+ type : 'Tip',
+ typeBtn : 'Button',
+ typeSbm : 'Submit',
+ typeRst : 'Reset'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ProprietÄÅ£i bifÄ (Checkbox)',
+ radioTitle : 'ProprietÄÅ£i buton radio (Radio Button)',
+ value : 'Valoare',
+ selected : 'Selectat'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ProprietÄÅ£i formular (Form)',
+ menu : 'ProprietÄÅ£i formular (Form)',
+ action : 'Acţiune',
+ method : 'MetodÄ',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'ProprietÄÅ£i câmp selecÅ£ie (Selection Field)',
+ selectInfo : 'Informaţii',
+ opAvail : 'Opţiuni disponibile',
+ value : 'Valoare',
+ size : 'MÄrime',
+ lines : 'linii',
+ chkMulti : 'Permite selecţii multiple',
+ opText : 'Text',
+ opValue : 'Valoare',
+ btnAdd : 'AdaugÄ',
+ btnModify : 'ModificÄ',
+ btnUp : 'Sus',
+ btnDown : 'Jos',
+ btnSetValue : 'SeteazÄ ca valoare selectatÄ',
+ btnDelete : 'Återge'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ProprietÄÅ£i suprafaÅ£Ä text (Textarea)',
+ cols : 'Coloane',
+ rows : 'Linii'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ProprietÄÅ£i câmp text (Text Field)',
+ name : 'Nume',
+ value : 'Valoare',
+ charWidth : 'LÄrgimea caracterului',
+ maxChars : 'Caractere maxime',
+ type : 'Tip',
+ typeText : 'Text',
+ typePass : 'ParolÄ'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ProprietÄÅ£i câmp ascuns (Hidden Field)',
+ name : 'Nume',
+ value : 'Valoare'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ProprietÄÅ£ile imaginii',
+ titleButton : 'ProprietÄÅ£i buton imagine (Image Button)',
+ menu : 'ProprietÄÅ£ile imaginii',
+ infoTab : 'Informaţii despre imagine',
+ btnUpload : 'Trimite la server',
+ upload : 'ÃncarcÄ',
+ alt : 'Text alternativ',
+ width : 'LÄÅ£ime',
+ height : 'ÃnÄlÅ£ime',
+ lockRatio : 'PÄstreazÄ proporÅ£iile',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'ReseteazÄ mÄrimea',
+ border : 'Margine',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Aliniere',
+ alignLeft : 'Stânga',
+ alignRight : 'Dreapta',
+ alertUrl : 'VÄ rugÄm sÄ scrieÅ£i URL-ul imaginii',
+ linkTab : 'Link (LegÄturÄ web)',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ProprietÄÅ£ile flash-ului',
+ propertiesTab : 'Properties', // MISSING
+ title : 'ProprietÄÅ£ile flash-ului',
+ chkPlay : 'RuleazÄ automat',
+ chkLoop : 'RepetÄ (Loop)',
+ chkMenu : 'ActiveazÄ meniul flash',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'ScalÄ',
+ scaleAll : 'AratÄ tot',
+ scaleNoBorder : 'FÄrÄ margini (No border)',
+ scaleFit : 'PotriveÅte',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Aliniere',
+ alignLeft : 'Stânga',
+ alignAbsBottom : 'Jos absolut (Abs Bottom)',
+ alignAbsMiddle : 'Mijloc absolut (Abs Middle)',
+ alignBaseline : 'Linia de jos (Baseline)',
+ alignBottom : 'Jos',
+ alignMiddle : 'Mijloc',
+ alignRight : 'Dreapta',
+ alignTextTop : 'Text sus',
+ alignTop : 'Sus',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Coloarea fundalului',
+ width : 'LÄÅ£ime',
+ height : 'ÃnÄlÅ£ime',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'VÄ rugÄm sÄ scrieÅ£i URL-ul',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'VerificÄ text',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Nu e în dicţionar',
+ changeTo : 'SchimbÄ Ã®n',
+ btnIgnore : 'IgnorÄ',
+ btnIgnoreAll : 'IgnorÄ toate',
+ btnReplace : 'ÃnlocuieÅte',
+ btnReplaceAll : 'ÃnlocuieÅte tot',
+ btnUndo : 'Starea anterioarÄ (undo)',
+ noSuggestions : '- FÄrÄ sugestii -',
+ progress : 'Verificarea textului în desfÄÅurare...',
+ noMispell : 'Verificarea textului terminatÄ: Nicio greÅealÄ gÄsitÄ',
+ noChanges : 'Verificarea textului terminatÄ: Niciun cuvânt modificat',
+ oneChange : 'Verificarea textului terminatÄ: Un cuvânt modificat',
+ manyChanges : 'Verificarea textului terminatÄ: 1% cuvinte modificate',
+ ieSpellDownload : 'Unealta pentru verificat textul (Spell checker) neinstalatÄ. DoriÅ£i sÄ o descÄrcaÅ£i acum?'
+ },
+
+ smiley :
+ {
+ toolbar : 'FigurÄ expresivÄ (Emoticon)',
+ title : 'InsereazÄ o figurÄ expresivÄ (Emoticon)',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ListÄ numerotatÄ',
+ bulletedlist : 'ListÄ cu puncte',
+ indent : 'CreÅte indentarea',
+ outdent : 'Scade indentarea',
+
+ justify :
+ {
+ left : 'Aliniere la stânga',
+ center : 'Aliniere centralÄ',
+ right : 'Aliniere la dreapta',
+ block : 'Aliniere în bloc (Block Justify)'
+ },
+
+ blockquote : 'Citat',
+
+ clipboard :
+ {
+ title : 'AdaugÄ',
+ cutError : 'SetÄrile de securitate ale navigatorului (browser) pe care îl folosiÅ£i nu permit editorului sÄ execute automat operaÅ£iunea de tÄiere. VÄ rugÄm folosiÅ£i tastatura (Ctrl/Cmd+X).',
+ copyError : 'SetÄrile de securitate ale navigatorului (browser) pe care îl folosiÅ£i nu permit editorului sÄ execute automat operaÅ£iunea de copiere. VÄ rugÄm folosiÅ£i tastatura (Ctrl/Cmd+C).',
+ pasteMsg : 'VÄ rugÄm adÄugaÅ£i în cÄsuÅ£a urmÄtoare folosind tastatura (<STRONG>Ctrl/Cmd+V</STRONG>) Åi apÄsaÅ£i <STRONG>OK</STRONG>.',
+ securityMsg : 'Din cauza setÄrilor de securitate ale programului dvs. cu care navigaÅ£i pe internet (browser), editorul nu poate accesa direct datele din clipboard. Va trebui sÄ adÄugaÅ£i din nou datele în aceastÄ fereastrÄ.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'AdaugÄ din Word',
+ title : 'AdaugÄ din Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'AdaugÄ ca text simplu (Plain Text)',
+ title : 'AdaugÄ ca text simplu (Plain Text)'
+ },
+
+ templates :
+ {
+ button : 'Template-uri (Åabloane)',
+ title : 'Template-uri (Åabloane) de conÅ£inut',
+ options : 'Template Options', // MISSING
+ insertOption : 'ÃnlocuieÅte cuprinsul actual',
+ selectPromptMsg : 'VÄ rugÄm selectaÅ£i template-ul (Åablonul) ce se va deschide în editor<br>(conÅ£inutul actual va fi pierdut):',
+ emptyListMsg : '(Niciun template (Åablon) definit)'
+ },
+
+ showBlocks : 'AratÄ blocurile',
+
+ stylesCombo :
+ {
+ label : 'Stil',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Formatare',
+ panelTitle : 'Formatare',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Font'
+ },
+
+ fontSize :
+ {
+ label : 'MÄrime',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'MÄrime'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Culoarea textului',
+ bgColorTitle : 'Coloarea fundalului',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatic',
+ more : 'Mai multe culori...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/ru.js b/devel/third-party/ckeditor/lang/ru.js
new file mode 100644
index 0000000..6300802
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/ru.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Russian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['ru'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'ÐÑÑоÑник',
+ newPage : 'ÐÐ¾Ð²Ð°Ñ ÑÑÑаниÑа',
+ save : 'СоÑ
ÑаниÑÑ',
+ preview : 'ÐÑедваÑиÑелÑнÑй пÑоÑмоÑÑ',
+ cut : 'ÐÑÑезаÑÑ',
+ copy : 'ÐопиÑоваÑÑ',
+ paste : 'ÐÑÑавиÑÑ',
+ print : 'ÐеÑаÑÑ',
+ underline : 'ÐодÑеÑкнÑÑÑй',
+ bold : 'ÐиÑнÑй',
+ italic : 'ÐÑÑÑив',
+ selectAll : 'ÐÑделиÑÑ Ð²Ñе',
+ removeFormat : 'УбÑаÑÑ ÑоÑмаÑиÑование',
+ strike : 'ÐаÑеÑкнÑÑÑй',
+ subscript : 'ÐодÑÑÑоÑнÑй индекÑ',
+ superscript : 'ÐадÑÑÑоÑнÑй индекÑ',
+ horizontalrule : 'ÐÑÑавиÑÑ Ð³Ð¾ÑизонÑалÑнÑÑ Ð»Ð¸Ð½Ð¸Ñ',
+ pagebreak : 'ÐÑÑавиÑÑ ÑазÑÑв ÑÑÑаниÑÑ',
+ unlink : 'УбÑаÑÑ ÑÑÑлкÑ',
+ undo : 'ÐÑмениÑÑ',
+ redo : 'ÐовÑоÑиÑÑ',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ÐÑоÑмоÑÑеÑÑ Ð½Ð° ÑеÑвеÑе',
+ url : 'URL',
+ protocol : 'ÐÑоÑокол',
+ upload : 'ÐакаÑаÑÑ',
+ uploadSubmit : 'ÐоÑлаÑÑ Ð½Ð° ÑеÑвеÑ',
+ image : 'ÐзобÑажение',
+ flash : 'Flash',
+ form : 'ФоÑма',
+ checkbox : 'Ð¤Ð»Ð°Ð³Ð¾Ð²Ð°Ñ ÐºÐ½Ð¾Ð¿ÐºÐ°',
+ radio : 'Ðнопка вÑбоÑа',
+ textField : 'ТекÑÑовое поле',
+ textarea : 'ТекÑÑÐ¾Ð²Ð°Ñ Ð¾Ð±Ð»Ð°ÑÑÑ',
+ hiddenField : 'СкÑÑÑое поле',
+ button : 'Ðнопка',
+ select : 'СпиÑок',
+ imageButton : 'Ðнопка Ñ Ð¸Ð·Ð¾Ð±Ñажением',
+ notSet : '<не опÑеделено>',
+ id : 'ÐденÑиÑикаÑоÑ',
+ name : 'ÐмÑ',
+ langDir : 'ÐапÑавление ÑзÑка',
+ langDirLtr : 'Слева на пÑаво (LTR)',
+ langDirRtl : 'СпÑава на лево (RTL)',
+ langCode : 'ЯзÑк',
+ longDescr : 'Ðлинное опиÑание URL',
+ cssClass : 'ÐлаÑÑ CSS',
+ advisoryTitle : 'Ðаголовок',
+ cssStyle : 'СÑÐ¸Ð»Ñ CSS',
+ ok : 'ÐÐ',
+ cancel : 'ÐÑмена',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'ÐнÑоÑмаÑиÑ',
+ advancedTab : 'РаÑÑиÑеннÑй',
+ validateNumberFailed : 'ÐÑо знаÑение не ÑвлÑеÑÑÑ ÑиÑлом.',
+ confirmNewPage : 'ÐÑе неÑоÑ
ÑаненнÑе Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð±ÑдÑÑ ÑÑеÑÑнÑ. ÐÑ ÑвеÑенÑ, ÑÑо Ñ
оÑиÑе пеÑейÑи на дÑÑгÑÑ ÑÑÑаниÑÑ?',
+ confirmCancel : 'ÐекоÑоÑÑе опÑии бÑли измененÑ. ÐÑ ÑвеÑенÑ, ÑÑо Ñ
оÑиÑе закÑÑÑÑ Ð´Ð¸Ð°Ð»Ð¾Ð³?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, недоÑÑÑпно</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'ÐÑÑавиÑÑ ÑпеÑиалÑнÑй Ñимвол',
+ title : 'ÐÑбеÑиÑе ÑпеÑиалÑнÑй Ñимвол',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'ÐÑÑавиÑÑ/РедакÑиÑоваÑÑ ÑÑÑлкÑ',
+ other : '<дÑÑгой>',
+ menu : 'ÐÑÑавиÑÑ ÑÑÑлкÑ',
+ title : 'СÑÑлка',
+ info : 'ÐнÑоÑмаÑÐ¸Ñ ÑÑÑлки',
+ target : 'ЦелÑ',
+ upload : 'ÐакаÑаÑÑ',
+ advanced : 'РаÑÑиÑеннÑй',
+ type : 'Тип ÑÑÑлки',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ЯкоÑÑ Ð½Ð° ÑÑÑ ÑÑÑаниÑÑ',
+ toEmail : 'Ðл. поÑÑа',
+ targetFrame : '<ÑÑейм>',
+ targetPopup : '<вÑплÑваÑÑее окно>',
+ targetFrameName : 'ÐÐ¼Ñ Ñелевого ÑÑейма',
+ targetPopupName : 'ÐÐ¼Ñ Ð²ÑплÑваÑÑего окна',
+ popupFeatures : 'СвойÑÑва вÑплÑваÑÑего окна',
+ popupResizable : 'ÐзменÑемÑй ÑазмеÑ',
+ popupStatusBar : 'СÑÑока ÑоÑÑоÑниÑ',
+ popupLocationBar: 'ÐÐ°Ð½ÐµÐ»Ñ Ð»Ð¾ÐºÐ°Ñии',
+ popupToolbar : 'ÐÐ°Ð½ÐµÐ»Ñ Ð¸Ð½ÑÑÑÑменÑов',
+ popupMenuBar : 'ÐÐ°Ð½ÐµÐ»Ñ Ð¼ÐµÐ½Ñ',
+ popupFullScreen : 'ÐолнÑй ÑкÑан (IE)',
+ popupScrollBars : 'ÐолоÑÑ Ð¿ÑокÑÑÑки',
+ popupDependent : 'ÐавиÑимÑй (Netscape)',
+ popupWidth : 'ШиÑина',
+ popupLeft : 'ÐозиÑÐ¸Ñ Ñлева',
+ popupHeight : 'ÐÑÑоÑа',
+ popupTop : 'ÐозиÑÐ¸Ñ ÑвеÑÑ
Ñ',
+ id : 'Id',
+ langDir : 'ÐапÑавление ÑзÑка',
+ langDirLTR : 'Слева напÑаво (LTR)',
+ langDirRTL : 'СпÑава налево (RTL)',
+ acccessKey : 'ÐоÑÑÑÐ°Ñ ÐºÐ»Ð°Ð²Ð¸Ñа',
+ name : 'ÐмÑ',
+ langCode : 'Ðод ÑзÑка',
+ tabIndex : 'ÐоÑледоваÑелÑноÑÑÑ Ð¿ÐµÑеÑ
ода',
+ advisoryTitle : 'Ðаголовок',
+ advisoryContentType : 'Тип ÑодеÑжимого',
+ cssClasses : 'ÐлаÑÑ CSS',
+ charset : 'ÐодиÑовка',
+ styles : 'СÑÐ¸Ð»Ñ CSS',
+ selectAnchor : 'ÐÑбеÑиÑе ÑкоÑÑ',
+ anchorName : 'Ðо имени ÑкоÑÑ',
+ anchorId : 'Ðо иденÑиÑикаÑоÑÑ ÑлеменÑа',
+ emailAddress : 'ÐдÑÐµÑ Ñл. поÑÑÑ',
+ emailSubject : 'Ðаголовок ÑообÑениÑ',
+ emailBody : 'Тело ÑообÑениÑ',
+ noAnchors : '(ÐÐµÑ ÑкоÑей доÑÑÑпнÑÑ
в ÑÑом докÑменÑе)',
+ noUrl : 'ÐожалÑйÑÑа, введиÑе URL ÑÑÑлки',
+ noEmail : 'ÐожалÑйÑÑа, введиÑе адÑÐµÑ Ñл. поÑÑÑ'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'ÐÑÑавиÑÑ/РедакÑиÑоваÑÑ ÑкоÑÑ',
+ menu : 'СвойÑÑва ÑкоÑÑ',
+ title : 'СвойÑÑва ÑкоÑÑ',
+ name : 'ÐÐ¼Ñ ÑкоÑÑ',
+ errorName : 'ÐожалÑйÑÑа, введиÑе Ð¸Ð¼Ñ ÑкоÑÑ'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'ÐайÑи и замениÑÑ',
+ find : 'ÐайÑи',
+ replace : 'ÐамениÑÑ',
+ findWhat : 'ÐайÑи:',
+ replaceWith : 'ÐамениÑÑ Ð½Ð°:',
+ notFoundMsg : 'УказаннÑй ÑекÑÑ Ð½Ðµ найден.',
+ matchCase : 'УÑиÑÑваÑÑ ÑегиÑÑÑ',
+ matchWord : 'ТолÑко Ñлово Ñеликом',
+ matchCyclic : 'ÐаÑинаÑÑ Ñ Ð½Ð°Ñала поÑле доÑÑÐ¸Ð¶ÐµÐ½Ð¸Ñ ÐºÐ¾Ð½Ñа',
+ replaceAll : 'ÐамениÑÑ Ð²Ñе',
+ replaceSuccessMsg : '%1 Ñовпадение(й) заменено.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'ТаблиÑа',
+ title : 'СвойÑÑва ÑаблиÑÑ',
+ menu : 'СвойÑÑва ÑаблиÑÑ',
+ deleteTable : 'УдалиÑÑ ÑаблиÑÑ',
+ rows : 'СÑÑоки',
+ columns : 'Ðолонки',
+ border : 'Ð Ð°Ð·Ð¼ÐµÑ Ð±Ð¾ÑдÑÑа',
+ align : 'ÐÑÑавнивание',
+ alignLeft : 'Слева',
+ alignCenter : 'Ðо ÑенÑÑÑ',
+ alignRight : 'СпÑава',
+ width : 'ШиÑина',
+ widthPx : 'пикÑелей',
+ widthPc : 'пÑоÑенÑов',
+ widthUnit : 'width unit', // MISSING
+ height : 'ÐÑÑоÑа',
+ cellSpace : 'ÐÑомежÑÑок (spacing)',
+ cellPad : 'ÐÑÑÑÑп (padding)',
+ caption : 'Ðаголовок',
+ summary : 'РезÑме',
+ headers : 'Ðаголовки',
+ headersNone : 'ÐеÑ',
+ headersColumn : 'ÐеÑвÑй ÑÑолбеÑ',
+ headersRow : 'ÐеÑÐ²Ð°Ñ ÑÑÑока',
+ headersBoth : 'Ðба ваÑианÑа',
+ invalidRows : 'ЧиÑло ÑÑÑок должно бÑÑÑ Ð±Ð¾Ð»ÑÑе 0.',
+ invalidCols : 'ЧиÑло ÑÑолбÑов должно бÑÑÑ Ð±Ð¾Ð»ÑÑе 0.',
+ invalidBorder : 'ШиÑина боÑдÑÑа должна бÑÑÑ ÑиÑлом.',
+ invalidWidth : 'ШиÑина ÑаблиÑÑ Ð´Ð¾Ð»Ð¶Ð½Ð° бÑÑÑ ÑиÑлом.',
+ invalidHeight : 'ÐÑÑоÑа ÑаблиÑÑ Ð´Ð¾Ð»Ð¶Ð½Ð° бÑÑÑ ÑиÑлом.',
+ invalidCellSpacing : 'Ð Ð°Ð·Ð¼ÐµÑ Ð¿ÑомежÑÑков (cellspacing) Ð¼ÐµÐ¶Ð´Ñ ÑÑейками Ð´Ð¾Ð»Ð¶Ð½Ñ Ð±ÑÑÑ ÑиÑлом.',
+ invalidCellPadding : 'ÐÑÑÑÑÐ¿Ñ Ð²Ð½ÑÑÑи ÑÑеек (cellpadding) Ð´Ð¾Ð»Ð¶Ð½Ñ Ð±ÑÑÑ ÑиÑлом.',
+
+ cell :
+ {
+ menu : 'ЯÑейка',
+ insertBefore : 'ÐÑÑавиÑÑ ÑÑÐµÐ¹ÐºÑ Ð´Ð¾',
+ insertAfter : 'ÐÑÑавиÑÑ ÑÑÐµÐ¹ÐºÑ Ð¿Ð¾Ñле',
+ deleteCell : 'УдалиÑÑ ÑÑейки',
+ merge : 'ÐбÑединиÑÑ ÑÑейки',
+ mergeRight : 'ÐбÑединиÑÑ Ñ Ð¿Ñавой',
+ mergeDown : 'ÐбÑединиÑÑ Ñ Ð½Ð¸Ð¶Ð½ÐµÐ¹',
+ splitHorizontal : 'РазбиÑÑ ÑÑÐµÐ¹ÐºÑ Ð³Ð¾ÑизонÑалÑно',
+ splitVertical : 'РазбиÑÑ ÑÑÐµÐ¹ÐºÑ Ð²ÐµÑÑикалÑно',
+ title : 'СвойÑÑва ÑÑейки',
+ cellType : 'Тип ÑÑейки',
+ rowSpan : 'Rows Span',
+ colSpan : 'Columns Span',
+ wordWrap : 'ÐеÑÐµÐ½Ð¾Ñ Ð¿Ð¾ Ñловам',
+ hAlign : 'ÐÑÑавнивание по гоÑизонÑали',
+ vAlign : 'ÐÑÑавнивание по веÑÑикали',
+ alignTop : 'Ðо веÑÑ
Ñ',
+ alignMiddle : 'ÐоÑеÑедине',
+ alignBottom : 'Ðо низÑ',
+ alignBaseline : 'Ðо базовой линии',
+ bgColor : 'Ð¦Ð²ÐµÑ Ñона',
+ borderColor : 'Ð¦Ð²ÐµÑ Ð³ÑаниÑÑ',
+ data : 'ÐаннÑе',
+ header : 'Ðаголовок',
+ yes : 'Ðа',
+ no : 'ÐеÑ',
+ invalidWidth : 'ШиÑина ÑÑейки должна бÑÑÑ ÑиÑлом.',
+ invalidHeight : 'ÐÑÑоÑа ÑÑейки должна бÑÑÑ ÑиÑлом.',
+ invalidRowSpan : 'Rows span must be a whole number.',
+ invalidColSpan : 'Columns span must be a whole number.',
+ chooseColor : 'ÐÑбеÑиÑе'
+ },
+
+ row :
+ {
+ menu : 'СÑÑока',
+ insertBefore : 'ÐÑÑавиÑÑ ÑÑÑÐ¾ÐºÑ Ð´Ð¾',
+ insertAfter : 'ÐÑÑавиÑÑ ÑÑÑÐ¾ÐºÑ Ð¿Ð¾Ñле',
+ deleteRow : 'УдалиÑÑ ÑÑÑоки'
+ },
+
+ column :
+ {
+ menu : 'Ðолонка',
+ insertBefore : 'ÐÑÑавиÑÑ ÐºÐ¾Ð»Ð¾Ð½ÐºÑ Ð´Ð¾',
+ insertAfter : 'ÐÑÑавиÑÑ ÐºÐ¾Ð»Ð¾Ð½ÐºÑ Ð¿Ð¾Ñле',
+ deleteColumn : 'УдалиÑÑ ÐºÐ¾Ð»Ð¾Ð½ÐºÐ¸'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'СвойÑÑва кнопки',
+ text : 'ТекÑÑ (ÐнаÑение)',
+ type : 'Тип',
+ typeBtn : 'Ðнопка',
+ typeSbm : 'ÐÑпÑавиÑÑ',
+ typeRst : 'СбÑоÑиÑÑ'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'СвойÑÑва Ñлаговой кнопки',
+ radioTitle : 'СвойÑÑва кнопки вÑбоÑа',
+ value : 'ÐнаÑение',
+ selected : 'ÐÑбÑаннаÑ'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'СвойÑÑва ÑоÑмÑ',
+ menu : 'СвойÑÑва ÑоÑмÑ',
+ action : 'ÐейÑÑвие',
+ method : 'ÐеÑод',
+ encoding : 'ÐодиÑовка'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'СвойÑÑва ÑпиÑка',
+ selectInfo : 'ÐнÑоÑмаÑиÑ',
+ opAvail : 'ÐоÑÑÑпнÑе ваÑианÑÑ',
+ value : 'ÐнаÑение',
+ size : 'РазмеÑ',
+ lines : 'линии',
+ chkMulti : 'РазÑеÑиÑÑ Ð¼Ð½Ð¾Ð¶ÐµÑÑвеннÑй вÑбоÑ',
+ opText : 'ТекÑÑ',
+ opValue : 'ÐнаÑение',
+ btnAdd : 'ÐобавиÑÑ',
+ btnModify : 'ÐодиÑиÑиÑоваÑÑ',
+ btnUp : 'ÐвеÑÑ
',
+ btnDown : 'Ðниз',
+ btnSetValue : 'УÑÑановиÑÑ ÐºÐ°Ðº вÑбÑанное знаÑение',
+ btnDelete : 'УдалиÑÑ'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'СвойÑÑва ÑекÑÑовой облаÑÑи',
+ cols : 'Ðолонки',
+ rows : 'СÑÑоки'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'СвойÑÑва ÑекÑÑового полÑ',
+ name : 'ÐмÑ',
+ value : 'ÐнаÑение',
+ charWidth : 'ШиÑина',
+ maxChars : 'ÐакÑ. кол-во Ñимволов',
+ type : 'Тип',
+ typeText : 'ТекÑÑ',
+ typePass : 'ÐаÑолÑ'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'СвойÑÑва ÑкÑÑÑого полÑ',
+ name : 'ÐмÑ',
+ value : 'ÐнаÑение'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'СвойÑÑва изобÑажениÑ',
+ titleButton : 'СвойÑÑва кнопки Ñ Ð¸Ð·Ð¾Ð±Ñажением',
+ menu : 'СвойÑÑва изобÑажениÑ',
+ infoTab : 'ÐнÑоÑмаÑÐ¸Ñ Ð¾ изобÑажении',
+ btnUpload : 'ÐÑпÑавиÑÑ Ð½Ð° ÑеÑвеÑ',
+ upload : 'ÐакаÑаÑÑ',
+ alt : 'ÐлÑÑеÑнаÑивнÑй ÑекÑÑ',
+ width : 'ШиÑина',
+ height : 'ÐÑÑоÑа',
+ lockRatio : 'СоÑ
ÑанÑÑÑ Ð¿ÑопоÑÑии',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'СбÑоÑиÑÑ ÑазмеÑ',
+ border : 'ÐоÑдÑÑ',
+ hSpace : 'ÐоÑизонÑалÑнÑй оÑÑÑÑп',
+ vSpace : 'ÐеÑÑикалÑнÑй оÑÑÑÑп',
+ align : 'ÐÑÑавнивание',
+ alignLeft : 'Ðо Ð»ÐµÐ²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alignRight : 'Ðо пÑÐ°Ð²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alertUrl : 'ÐожалÑйÑÑа, введиÑе URL изобÑажениÑ',
+ linkTab : 'СÑÑлка',
+ button2Img : 'Do you want to transform the selected image button on a simple image?',
+ img2Button : 'Do you want to transform the selected image on a image button?',
+ urlMissing : 'ÐÑÑÑÑÑÑвÑÐµÑ URL каÑÑинки.',
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'СвойÑÑва Flash',
+ propertiesTab : 'СвойÑÑва',
+ title : 'СвойÑÑва Flash',
+ chkPlay : 'ÐвÑо пÑоигÑÑвание',
+ chkLoop : 'ÐовÑоÑ',
+ chkMenu : 'ÐклÑÑиÑÑ Ð¼ÐµÐ½Ñ Flash',
+ chkFull : 'ÑазÑеÑиÑÑ Ð¿Ð¾Ð»Ð½Ð¾ÑкÑаннÑй Ñежим',
+ scale : 'ÐаÑÑÑабиÑоваÑÑ',
+ scaleAll : 'ÐоказÑваÑÑ Ð²Ñе',
+ scaleNoBorder : 'Ðез боÑдÑÑа',
+ scaleFit : 'ТоÑное Ñовпадение',
+ access : 'ÐблаÑÑÑ Ð´Ð¾ÑÑÑпа ÑкÑипÑа',
+ accessAlways : 'ÐÑегда',
+ accessSameDomain: 'Ð¢Ð¾Ñ Ð¶Ðµ домен',
+ accessNever : 'Ðикогда',
+ align : 'ÐÑÑавнивание',
+ alignLeft : 'Ðо Ð»ÐµÐ²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alignAbsBottom : 'ÐÐ±Ñ Ð¿Ð¾Ð½Ð¸Ð·Ñ',
+ alignAbsMiddle : 'ÐÐ±Ñ Ð¿Ð¾ÑеÑедине',
+ alignBaseline : 'Ðо базовой линии',
+ alignBottom : 'ÐонизÑ',
+ alignMiddle : 'ÐоÑеÑедине',
+ alignRight : 'Ðо пÑÐ°Ð²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alignTextTop : 'ТекÑÑ Ð½Ð°Ð²ÐµÑÑ
Ñ',
+ alignTop : 'Ðо веÑÑ
Ñ',
+ quality : 'ÐаÑеÑÑво',
+ qualityBest : 'ÐÑÑÑее',
+ qualityHigh : 'ÐÑÑокое',
+ qualityAutoHigh : 'ÐÑÑокое (авÑо)',
+ qualityMedium : 'СÑеднее',
+ qualityAutoLow : 'Ðизкое (авÑо)',
+ qualityLow : 'Ðизкое',
+ windowModeWindow: 'Ðкно',
+ windowModeOpaque: 'ÐепÑозÑаÑнÑй',
+ windowModeTransparent : 'ÐÑозÑаÑнÑй',
+ windowMode : 'ÐконнÑй Ñежим',
+ flashvars : 'ÐеÑеменнÑе Ð´Ð»Ñ Flash',
+ bgcolor : 'Ð¦Ð²ÐµÑ Ñона',
+ width : 'ШиÑина',
+ height : 'ÐÑÑоÑа',
+ hSpace : 'ÐоÑизонÑалÑнÑй оÑÑÑÑп',
+ vSpace : 'ÐеÑÑикалÑнÑй оÑÑÑÑп',
+ validateSrc : 'ÐожалÑйÑÑа, введиÑе URL ÑÑÑлки',
+ validateWidth : 'ШиÑина задаеÑÑÑ ÑиÑлом.',
+ validateHeight : 'ÐÑÑоÑа задаеÑÑÑ ÑиÑлом.',
+ validateHSpace : 'ÐоÑизонÑалÑнÑй оÑÑÑÑп задаеÑÑÑ ÑиÑлом.',
+ validateVSpace : 'ÐеÑÑикалÑнÑй оÑÑÑÑп задаеÑÑÑ ÑиÑлом.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'ÐÑовеÑиÑÑ Ð¾ÑÑогÑаÑиÑ',
+ title : 'ÐÑовеÑка пÑавопиÑаниÑ',
+ notAvailable : 'ÐзвиниÑе, ÑеÑÐ²Ð¸Ñ ÑейÑÐ°Ñ Ð½ÐµÐ´Ð¾ÑÑÑпен.',
+ errorLoading : 'ÐÑибка пÑи загÑÑзке ÑлÑжебного Ñ
оÑÑа пÑиложениÑ: %s.',
+ notInDic : 'ÐÐµÑ Ð² ÑловаÑе',
+ changeTo : 'ÐамениÑÑ Ð½Ð°',
+ btnIgnore : 'ÐгноÑиÑоваÑÑ',
+ btnIgnoreAll : 'ÐгноÑиÑоваÑÑ Ð²Ñе',
+ btnReplace : 'ÐамениÑÑ',
+ btnReplaceAll : 'ÐамениÑÑ Ð²Ñе',
+ btnUndo : 'ÐÑмениÑÑ',
+ noSuggestions : '- ÐÐµÑ Ð¿Ñедположений -',
+ progress : 'ÐÐ´ÐµÑ Ð¿ÑовеÑка оÑÑогÑаÑии...',
+ noMispell : 'ÐÑовеÑка оÑÑогÑаÑии законÑена: оÑибок не найдено',
+ noChanges : 'ÐÑовеÑка оÑÑогÑаÑии законÑена: ни одного Ñлова не изменено',
+ oneChange : 'ÐÑовеÑка оÑÑогÑаÑии законÑена: одно Ñлово изменено',
+ manyChanges : 'ÐÑовеÑка оÑÑогÑаÑии законÑена: 1% Ñлов изменено',
+ ieSpellDownload : 'ÐодÑÐ»Ñ Ð¿ÑовеÑки оÑÑогÑаÑии не ÑÑÑановлен. ХоÑиÑе ÑкаÑаÑÑ ÐµÐ³Ð¾ ÑейÑаÑ?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Смайлик',
+ title : 'ÐÑÑавиÑÑ Ñмайлик',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 ÑлеменÑ'
+ },
+
+ numberedlist : 'ÐÑмеÑованнÑй ÑпиÑок',
+ bulletedlist : 'ÐаÑкиÑованнÑй ÑпиÑок',
+ indent : 'УвелиÑиÑÑ Ð¾ÑÑÑÑп',
+ outdent : 'УменÑÑиÑÑ Ð¾ÑÑÑÑп',
+
+ justify :
+ {
+ left : 'Ðо Ð»ÐµÐ²Ð¾Ð¼Ñ ÐºÑаÑ',
+ center : 'Ðо ÑенÑÑÑ',
+ right : 'Ðо пÑÐ°Ð²Ð¾Ð¼Ñ ÐºÑаÑ',
+ block : 'Ðо ÑиÑине'
+ },
+
+ blockquote : 'ЦиÑаÑа',
+
+ clipboard :
+ {
+ title : 'ÐÑÑавиÑÑ',
+ cutError : 'ÐаÑÑÑойки безопаÑноÑÑи ваÑего бÑаÑзеÑа не позволÑÑÑ ÑедакÑоÑÑ Ð°Ð²ÑомаÑиÑеÑки вÑполнÑÑÑ Ð¾Ð¿ÐµÑаÑии вÑÑезаниÑ. ÐожалÑйÑÑа, иÑполÑзÑйÑе клавиаÑÑÑÑ Ð´Ð»Ñ ÑÑого (Ctrl/Cmd+X).',
+ copyError : 'ÐаÑÑÑойки безопаÑноÑÑи ваÑего бÑаÑзеÑа не позволÑÑÑ ÑедакÑоÑÑ Ð°Ð²ÑомаÑиÑеÑки вÑполнÑÑÑ Ð¾Ð¿ÐµÑаÑии копиÑованиÑ. ÐожалÑйÑÑа, иÑполÑзÑйÑе клавиаÑÑÑÑ Ð´Ð»Ñ ÑÑого (Ctrl/Cmd+C).',
+ pasteMsg : 'ÐожалÑйÑÑа, вÑÑавÑÑе ÑекÑÑ Ð² пÑÑмоÑголÑник, иÑполÑзÑÑ ÑоÑеÑание ÐºÐ»Ð°Ð²Ð¸Ñ (<STRONG>Ctrl/Cmd+V</STRONG>), и нажмиÑе <STRONG>OK</STRONG>.',
+ securityMsg : 'Ðо пÑиÑине наÑÑÑоек безопаÑноÑÑи бÑаÑзеÑа, ÑедакÑÐ¾Ñ Ð½Ðµ Ð¸Ð¼ÐµÐµÑ Ð´Ð¾ÑÑÑпа к даннÑм бÑÑеÑа обмена напÑÑмÑÑ. Ðам необÑ
одимо вÑÑавиÑÑ ÑекÑÑ Ñнова в ÑÑо окно.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'ТекÑÑ, коÑоÑÑй Ð²Ñ Ñ
оÑиÑе вÑÑавиÑÑ, поÑ
ож на копиÑÑемÑй из Word. ÐÑ Ñ
оÑиÑе оÑиÑÑиÑÑ ÐµÐ³Ð¾ пеÑед вÑÑавкой?',
+ toolbar : 'ÐÑÑавиÑÑ Ð¸Ð· Word',
+ title : 'ÐÑÑавиÑÑ Ð¸Ð· Word',
+ error : 'Ðевозможно оÑиÑÑиÑÑ Ð²ÑÑавленнÑе даннÑе из-за внÑÑÑенней оÑибки'
+ },
+
+ pasteText :
+ {
+ button : 'ÐÑÑавиÑÑ ÑолÑко ÑекÑÑ',
+ title : 'ÐÑÑавиÑÑ ÑолÑко ÑекÑÑ'
+ },
+
+ templates :
+ {
+ button : 'ШаблонÑ',
+ title : 'Ð¨Ð°Ð±Ð»Ð¾Ð½Ñ ÑодеÑжимого',
+ options : 'Template Options', // MISSING
+ insertOption : 'ÐамениÑÑ ÑекÑÑее ÑодеÑжание',
+ selectPromptMsg : 'ÐожалÑйÑÑа, вÑбеÑеÑе Ñаблон Ð´Ð»Ñ Ð¾ÑкÑÑÑÐ¸Ñ Ð² ÑедакÑоÑе<br>(ÑекÑÑее ÑодеÑжимое бÑÐ´ÐµÑ Ð¿Ð¾ÑеÑÑно):',
+ emptyListMsg : '(Ðи одного Ñаблона не опÑеделено)'
+ },
+
+ showBlocks : 'ÐоказаÑÑ Ð±Ð»Ð¾ÐºÐ¸',
+
+ stylesCombo :
+ {
+ label : 'СÑилÑ',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles',
+ panelTitle2 : 'Inline Styles',
+ panelTitle3 : 'СÑили обÑекÑа'
+ },
+
+ format :
+ {
+ label : 'ФоÑмаÑиÑование',
+ panelTitle : 'ФоÑмаÑиÑование',
+
+ tag_p : 'ÐоÑмалÑнÑй',
+ tag_pre : 'ФоÑмаÑиÑованнÑй',
+ tag_address : 'ÐдÑеÑ',
+ tag_h1 : 'Ðаголовок 1',
+ tag_h2 : 'Ðаголовок 2',
+ tag_h3 : 'Ðаголовок 3',
+ tag_h4 : 'Ðаголовок 4',
+ tag_h5 : 'Ðаголовок 5',
+ tag_h6 : 'Ðаголовок 6',
+ tag_div : 'ÐоÑмалÑнÑй (DIV)'
+ },
+
+ div :
+ {
+ title : 'СоздаÑÑ Div-конÑейнеÑ',
+ toolbar : 'СоздаÑÑ Div-конÑейнеÑ',
+ cssClassInputLabel : 'ÐлаÑÑÑ ÑаблиÑÑ ÑÑилей',
+ styleSelectLabel : 'СÑилÑ',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : 'Ðод ÑзÑка',
+ inlineStyleInputLabel : 'ÐокалÑнÑй ÑÑилÑ',
+ advisoryTitleInputLabel : 'Advisory Title',
+ langDirLabel : 'ÐапÑавление пиÑÑма',
+ langDirLTRLabel : 'Слева напÑаво (LTR)',
+ langDirRTLLabel : 'СпÑава налево (RTL)',
+ edit : 'РедакÑиÑоваÑÑ Div',
+ remove : 'УбÑаÑÑ Div'
+ },
+
+ font :
+ {
+ label : 'ШÑиÑÑ',
+ voiceLabel : 'ШÑиÑÑ',
+ panelTitle : 'ШÑиÑÑ'
+ },
+
+ fontSize :
+ {
+ label : 'РазмеÑ',
+ voiceLabel : 'Ð Ð°Ð·Ð¼ÐµÑ ÑÑиÑÑа',
+ panelTitle : 'РазмеÑ'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Ð¦Ð²ÐµÑ ÑекÑÑа',
+ bgColorTitle : 'Ð¦Ð²ÐµÑ Ñона',
+ panelTitle : 'Colors', // MISSING
+ auto : 'ÐвÑомаÑиÑеÑкий',
+ more : 'ЦвеÑа...'
+ },
+
+ 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' : 'ÐелÑй'
+ },
+
+ scayt :
+ {
+ title : 'ÐÑовеÑка ÐÑÑогÑаÑии по ÐеÑе Ðвода',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'ÐклÑÑиÑÑ ÐÐÐÐ',
+ disable : 'ÐÑклÑÑиÑÑ ÐÐÐÐ',
+ about : 'Ð ÐÐÐÐ',
+ toggle : 'ÐеÑеклÑÑиÑÑ ÐÐÐÐ',
+ options : 'ÐаÑÑÑойки',
+ langs : 'ЯзÑки',
+ moreSuggestions : 'ÐолÑÑе ваÑианÑов',
+ ignore : 'ÐÑопÑÑÑиÑÑ',
+ ignoreAll : 'ÐÑопÑÑÑиÑÑ Ð²ÑÑ',
+ addWord : 'ÐобавиÑÑ Ñлово',
+ emptyDic : 'ÐÐ¼Ñ ÑловаÑÑ Ð´Ð¾Ð»Ð¶Ð½Ð¾ бÑÑÑ Ð½Ðµ пÑÑÑÑм.',
+
+ optionsTab : 'ÐаÑÑÑойки',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'ЯзÑки',
+
+ dictionariesTab : 'СловаÑи',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Ð ÑловаÑÑÑ
'
+ },
+
+ about :
+ {
+ title : 'РпÑогÑамме CKEditor',
+ dlgTitle : 'РпÑогÑамме CKEditor',
+ moreInfo : 'Ðо вопÑоÑам лиÑензиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¾Ð±ÑаÑайÑеÑÑ Ð½Ð° Ð½Ð°Ñ ÑайÑ:',
+ copy : 'Copyright © $1. ÐÑе пÑава заÑиÑенÑ.'
+ },
+
+ maximize : 'ÐакÑимизиÑоваÑÑ',
+ minimize : 'ÐинимизиÑоваÑÑ',
+
+ fakeobjects :
+ {
+ anchor : 'ЯкоÑÑ',
+ flash : 'Flash-анимаÑиÑ',
+ div : 'РазÑÑв ÑÑÑаниÑÑ',
+ unknown : 'ÐеизвеÑÑнÑй обÑекÑ'
+ },
+
+ resize : 'ÐеÑеÑаÑиÑе Ð´Ð»Ñ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ ÑазмеÑа',
+
+ colordialog :
+ {
+ title : 'ÐÑбеÑиÑе ÑвеÑ',
+ options : 'Color Options', // MISSING
+ highlight : 'ÐÑделиÑÑ',
+ selected : 'ÐÑбÑанное',
+ clear : 'ÐÑиÑÑиÑÑ'
+ },
+
+ toolbarCollapse : 'СвеÑнÑÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ Ð¸Ð½ÑÑÑÑменÑов',
+ toolbarExpand : 'РазвеÑнÑÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ Ð¸Ð½ÑÑÑÑменÑов',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/sk.js b/devel/third-party/ckeditor/lang/sk.js
new file mode 100644
index 0000000..b2cea43
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/sk.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Slovak language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sk'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Zdroj',
+ newPage : 'Nová stránka',
+ save : 'Uložiť',
+ preview : 'Náhľad',
+ cut : 'Vystrihnúť',
+ copy : 'KopÃrovaÅ¥',
+ paste : 'Vložiť',
+ print : 'TlaÄ',
+ underline : 'PodÄiarknuté',
+ bold : 'TuÄné',
+ italic : 'KurzÃva',
+ selectAll : 'Vybrať všetko',
+ removeFormat : 'Odstrániť formátovanie',
+ strike : 'PreÄiarknuté',
+ subscript : 'Dolný index',
+ superscript : 'Horný index',
+ horizontalrule : 'VložiÅ¥ vodorovnú Äiaru',
+ pagebreak : 'VložiÅ¥ oddeľovaÄ stránky',
+ unlink : 'Odstrániť odkaz',
+ undo : 'Späť',
+ redo : 'Znovu',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Prechádzať server',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Odoslať',
+ uploadSubmit : 'Odoslať na server',
+ image : 'Obrázok',
+ flash : 'Flash',
+ form : 'Formulár',
+ checkbox : 'ZaÅ¡krtávacie polÃÄko',
+ radio : 'PrepÃnaÄ',
+ textField : 'Textové pole',
+ textarea : 'Textová oblasť',
+ hiddenField : 'Skryté pole',
+ button : 'TlaÄidlo',
+ select : 'Rozbaľovacà zoznam',
+ imageButton : 'Obrázkové tlaÄidlo',
+ notSet : '<nenastavené>',
+ id : 'Id',
+ name : 'Meno',
+ langDir : 'Orientácia jazyka',
+ langDirLtr : 'Zľava doprava (LTR)',
+ langDirRtl : 'Sprava doľava (RTL)',
+ langCode : 'Kód jazyka',
+ longDescr : 'Dlhý popis URL',
+ cssClass : 'Trieda štýlu',
+ advisoryTitle : 'Pomocný titulok',
+ cssStyle : 'Štýl',
+ ok : 'OK',
+ cancel : 'Zrušiť',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Hlavné',
+ advancedTab : 'RozÅ¡Ãrené',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Vložiť špeciálne znaky',
+ title : 'Výber špeciálneho znaku',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Vložiť/zmeniť odkaz',
+ other : '<iný>',
+ menu : 'Zmeniť odkaz',
+ title : 'Odkaz',
+ info : 'Informácie o odkaze',
+ target : 'Cieľ',
+ upload : 'Odoslať',
+ advanced : 'RozÅ¡Ãrené',
+ type : 'Typ odkazu',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Kotva v tejto stránke',
+ toEmail : 'E-Mail',
+ targetFrame : '<rámec>',
+ targetPopup : '<vyskakovacie okno>',
+ targetFrameName : 'Meno rámu cieľa',
+ targetPopupName : 'Názov vyskakovacieho okna',
+ popupFeatures : 'Vlastnosti vyskakovacieho okna',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Stavový riadok',
+ popupLocationBar: 'Panel umiestnenia',
+ popupToolbar : 'Panel nástrojov',
+ popupMenuBar : 'Panel ponuky',
+ popupFullScreen : 'Celá obrazovka (IE)',
+ popupScrollBars : 'PosuvnÃky',
+ popupDependent : 'Závislosť (Netscape)',
+ popupWidth : 'Å Ãrka',
+ popupLeft : 'Ľavý okraj',
+ popupHeight : 'Výška',
+ popupTop : 'Horný okraj',
+ id : 'Id', // MISSING
+ langDir : 'Orientácia jazyka',
+ langDirLTR : 'Zľava doprava (LTR)',
+ langDirRTL : 'Sprava doľava (RTL)',
+ acccessKey : 'PrÃstupový kľúÄ',
+ name : 'Meno',
+ langCode : 'Orientácia jazyka',
+ tabIndex : 'Poradie prvku',
+ advisoryTitle : 'Pomocný titulok',
+ advisoryContentType : 'Pomocný typ obsahu',
+ cssClasses : 'Trieda štýlu',
+ charset : 'Priradená znaková sada',
+ styles : 'Štýl',
+ selectAnchor : 'Vybrať kotvu',
+ anchorName : 'Podľa mena kotvy',
+ anchorId : 'Podľa Id objektu',
+ emailAddress : 'E-Mailová adresa',
+ emailSubject : 'Predmet správy',
+ emailBody : 'Telo správy',
+ noAnchors : '(V stránke nie je definovaná žiadna kotva)',
+ noUrl : 'Zadajte prosÃm URL odkazu',
+ noEmail : 'Zadajte prosÃm e-mailovú adresu'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Vložiť/zmeniť kotvu',
+ menu : 'Vlastnosti kotvy',
+ title : 'Vlastnosti kotvy',
+ name : 'Meno kotvy',
+ errorName : 'Zadajte prosÃm meno kotvy'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Nájsť a nahradiť',
+ find : 'Hľadať',
+ replace : 'Nahradiť',
+ findWhat : 'Äo hľadaÅ¥:',
+ replaceWith : 'ÄÃm nahradiÅ¥:',
+ notFoundMsg : 'Hľadaný text nebol nájdený.',
+ matchCase : 'RozliÅ¡ovaÅ¥ malé/veľké pÃsmená',
+ matchWord : 'Len celé slová',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Nahradiť všetko',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabuľka',
+ title : 'Vlastnosti tabuľky',
+ menu : 'Vlastnosti tabuľky',
+ deleteTable : 'Vymazať tabuľku',
+ rows : 'Riadky',
+ columns : 'Stĺpce',
+ border : 'OhraniÄenie',
+ align : 'Zarovnanie',
+ alignLeft : 'Vľavo',
+ alignCenter : 'Na stred',
+ alignRight : 'Vpravo',
+ width : 'Å Ãrka',
+ widthPx : 'pixelov',
+ widthPc : 'percent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Výška',
+ cellSpace : 'Vzdialenosť buniek',
+ cellPad : 'Odsadenie obsahu',
+ caption : 'Popis',
+ summary : 'Prehľad',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Bunka',
+ insertBefore : 'Vložiť bunku pred',
+ insertAfter : 'Vložiť bunku za',
+ deleteCell : 'Vymazať bunky',
+ merge : 'ZlúÄiÅ¥ bunky',
+ mergeRight : 'ZlúÄiÅ¥ doprava',
+ mergeDown : 'ZlúÄiÅ¥ dole',
+ splitHorizontal : 'Rozdeliť bunky horizontálne',
+ splitVertical : 'Rozdeliť bunky vertikálne',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Riadok',
+ insertBefore : 'Vložiť riadok za',
+ insertAfter : 'Vložiť riadok pred',
+ deleteRow : 'Vymazať riadok'
+ },
+
+ column :
+ {
+ menu : 'Stĺpec',
+ insertBefore : 'Vložiť stĺpec za',
+ insertAfter : 'Vložiť stĺpec pred',
+ deleteColumn : 'Zmazať stĺpec'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Vlastnosti tlaÄidla',
+ text : 'Text',
+ type : 'Typ',
+ typeBtn : 'TlaÄidlo',
+ typeSbm : 'Odoslať',
+ typeRst : 'Vymazať'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Vlastnosti zaÅ¡krtávacieho polÃÄka',
+ radioTitle : 'Vlastnosti prepÃnaÄa',
+ value : 'Hodnota',
+ selected : 'Vybrané'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Vlastnosti formulára',
+ menu : 'Vlastnosti formulára',
+ action : 'Akcie',
+ method : 'Metóda',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Vlastnosti rozbaľovacieho zoznamu',
+ selectInfo : 'Info',
+ opAvail : 'Dostupné možnosti',
+ value : 'Hodnota',
+ size : 'Veľkosť',
+ lines : 'riadkov',
+ chkMulti : 'Povoliť viacnásobný výber',
+ opText : 'Text',
+ opValue : 'Hodnota',
+ btnAdd : 'Pridať',
+ btnModify : 'Zmeniť',
+ btnUp : 'Hore',
+ btnDown : 'Dole',
+ btnSetValue : 'Nastaviť ako vybranú hodnotu',
+ btnDelete : 'Zmazať'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Vlastnosti textovej oblasti',
+ cols : 'Stĺpce',
+ rows : 'Riadky'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Vlastnosti textového poľa',
+ name : 'Názov',
+ value : 'Hodnota',
+ charWidth : 'Å Ãrka pola (znakov)',
+ maxChars : 'Maximálny poÄet znakov',
+ type : 'Typ',
+ typeText : 'Text',
+ typePass : 'Heslo'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Vlastnosti skrytého poľa',
+ name : 'Názov',
+ value : 'Hodnota'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Vlastnosti obrázku',
+ titleButton : 'Vlastnosti obrázkového tlaÄidla',
+ menu : 'Vlastnosti obrázku',
+ infoTab : 'Informácie o obrázku',
+ btnUpload : 'Odoslať na server',
+ upload : 'Odoslať',
+ alt : 'AlternatÃvny text',
+ width : 'Å Ãrka',
+ height : 'Výška',
+ lockRatio : 'Zámok',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Pôvodná veľkosť',
+ border : 'Okraje',
+ hSpace : 'H-medzera',
+ vSpace : 'V-medzera',
+ align : 'Zarovnanie',
+ alignLeft : 'Vľavo',
+ alignRight : 'Vpravo',
+ alertUrl : 'Zadajte prosÃm URL obrázku',
+ linkTab : 'Odkaz',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Vlastnosti Flashu',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Vlastnosti Flashu',
+ chkPlay : 'Automatické prehrávanie',
+ chkLoop : 'Opakovanie',
+ chkMenu : 'Povoliť Flash Menu',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Mierka',
+ scaleAll : 'Zobraziť mierku',
+ scaleNoBorder : 'Bez okrajov',
+ scaleFit : 'Roztiahnuť na celé',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Zarovnanie',
+ alignLeft : 'Vľavo',
+ alignAbsBottom : 'Ãplne dole',
+ alignAbsMiddle : 'Do stredu',
+ alignBaseline : 'Na základÅu',
+ alignBottom : 'Dole',
+ alignMiddle : 'Na stred',
+ alignRight : 'Vpravo',
+ alignTextTop : 'Na horný okraj textu',
+ alignTop : 'Nahor',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Farba pozadia',
+ width : 'Å Ãrka',
+ height : 'Výška',
+ hSpace : 'H-medzera',
+ vSpace : 'V-medzera',
+ validateSrc : 'Zadajte prosÃm URL odkazu',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Kontrola pravopisu',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Nie je v slovnÃku',
+ changeTo : 'Zmeniť na',
+ btnIgnore : 'Ignorovať',
+ btnIgnoreAll : 'Ignorovať všetko',
+ btnReplace : 'PrepÃsat',
+ btnReplaceAll : 'PrepÃsat vÅ¡etko',
+ btnUndo : 'Späť',
+ noSuggestions : '- Žiadny návrh -',
+ progress : 'Prebieha kontrola pravopisu...',
+ noMispell : 'Kontrola pravopisu dokonÄená: bez chýb',
+ noChanges : 'Kontrola pravopisu dokonÄená: žiadne slová nezmenené',
+ oneChange : 'Kontrola pravopisu dokonÄená: zmenené jedno slovo',
+ manyChanges : 'Kontrola pravopisu dokonÄená: zmenených %1 slov',
+ ieSpellDownload : 'Kontrola pravopisu nie je naiÅ¡talovaná. Chcete ju hneÄ stiahnuÅ¥?'
+ },
+
+ smiley :
+ {
+ toolbar : 'SmajlÃky',
+ title : 'Vkladanie smajlÃkov',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ÄÃslovanie',
+ bulletedlist : 'Odrážky',
+ indent : 'ZväÄÅ¡iÅ¥ odsadenie',
+ outdent : 'Zmenšiť odsadenie',
+
+ justify :
+ {
+ left : 'Zarovnať vľavo',
+ center : 'Zarovnať na stred',
+ right : 'Zarovnať vpravo',
+ block : 'Zarovnať do bloku'
+ },
+
+ blockquote : 'Citácia',
+
+ clipboard :
+ {
+ title : 'Vložiť',
+ cutError : 'BezpeÄnostné nastavenia Vášho prehliadaÄa nedovoľujú editoru spustiÅ¥ funkciu pre vystrihnutie zvoleného textu do schránky. ProsÃm vystrihnite zvolený text do schránky pomocou klávesnice (Ctrl/Cmd+X).',
+ copyError : 'BezpeÄnostné nastavenia Vášho prehliadaÄa nedovoľujú editoru spustiÅ¥ funkciu pre kopÃrovanie zvoleného textu do schránky. ProsÃm skopÃrujte zvolený text do schránky pomocou klávesnice (Ctrl/Cmd+C).',
+ pasteMsg : 'ProsÃm vložte nasledovný rámÄek použitÃm klávesnice (<STRONG>Ctrl/Cmd+V</STRONG>) a stlaÄte <STRONG>OK</STRONG>.',
+ securityMsg : 'BezpeÄnostné nastavenia Vášho prehliadaÄa nedovoľujú editoru pristupovaÅ¥ priamo k datám v schránke. MusÃte ich vložiÅ¥ znovu do tohto okna.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Vložiť z Wordu',
+ title : 'Vložiť z Wordu',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'VložiÅ¥ ako Äistý text',
+ title : 'VložiÅ¥ ako Äistý text'
+ },
+
+ templates :
+ {
+ button : 'Šablóny',
+ title : 'Šablóny obsahu',
+ options : 'Template Options', // MISSING
+ insertOption : 'Nahradiť aktuálny obsah',
+ selectPromptMsg : 'ProsÃm vyberte Å¡ablóny na otvorenie v editore<br>(súšasný obsah bude stratený):',
+ emptyListMsg : '(žiadne šablóny nenájdené)'
+ },
+
+ showBlocks : 'Ukázať bloky',
+
+ stylesCombo :
+ {
+ label : 'Štýl',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Formát',
+ panelTitle : 'Formát',
+
+ tag_p : 'Normálny',
+ tag_pre : 'Formátovaný',
+ tag_address : 'Adresa',
+ tag_h1 : 'Nadpis 1',
+ tag_h2 : 'Nadpis 2',
+ tag_h3 : 'Nadpis 3',
+ tag_h4 : 'Nadpis 4',
+ tag_h5 : 'Nadpis 5',
+ tag_h6 : 'Nadpis 6',
+ tag_div : 'Odsek (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'PÃsmo',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'PÃsmo'
+ },
+
+ fontSize :
+ {
+ label : 'Veľkosť',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Veľkosť'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Farba textu',
+ bgColorTitle : 'Farba pozadia',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automaticky',
+ more : 'Viac farieb...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/sl.js b/devel/third-party/ckeditor/lang/sl.js
new file mode 100644
index 0000000..8bb40b7
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/sl.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Slovenian language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sl'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Izvorna koda',
+ newPage : 'Nova stran',
+ save : 'Shrani',
+ preview : 'Predogled',
+ cut : 'Izreži',
+ copy : 'Kopiraj',
+ paste : 'Prilepi',
+ print : 'Natisni',
+ underline : 'PodÄrtano',
+ bold : 'Krepko',
+ italic : 'LežeÄe',
+ selectAll : 'Izberi vse',
+ removeFormat : 'Odstrani oblikovanje',
+ strike : 'PreÄrtano',
+ subscript : 'Podpisano',
+ superscript : 'Nadpisano',
+ horizontalrule : 'Vstavi vodoravno Ärto',
+ pagebreak : 'Vstavi prelom strani',
+ unlink : 'Odstrani povezavo',
+ undo : 'Razveljavi',
+ redo : 'Ponovi',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Prebrskaj na strežniku',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Prenesi',
+ uploadSubmit : 'Pošlji na strežnik',
+ image : 'Slika',
+ flash : 'Flash',
+ form : 'Obrazec',
+ checkbox : 'Potrditveno polje',
+ radio : 'Izbirno polje',
+ textField : 'Vnosno polje',
+ textarea : 'Vnosno obmoÄje',
+ hiddenField : 'Skrito polje',
+ button : 'Gumb',
+ select : 'Spustni seznam',
+ imageButton : 'Gumb s sliko',
+ notSet : '<ni postavljen>',
+ id : 'Id',
+ name : 'Ime',
+ langDir : 'Smer jezika',
+ langDirLtr : 'Od leve proti desni (LTR)',
+ langDirRtl : 'Od desne proti levi (RTL)',
+ langCode : 'Oznaka jezika',
+ longDescr : 'Dolg opis URL-ja',
+ cssClass : 'Razred stilne predloge',
+ advisoryTitle : 'Predlagani naslov',
+ cssStyle : 'Slog',
+ ok : 'V redu',
+ cancel : 'PrekliÄi',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'Splošno',
+ advancedTab : 'Napredno',
+ validateNumberFailed : 'Ta vrednost ni Å¡tevilo.',
+ confirmNewPage : 'Vse neshranjene spremembe te vsebine bodo izgubljene. Ali gotovo želiš naložiti novo stran?',
+ confirmCancel : 'Nekaj možnosti je bilo spremenjenih. Ali gotovo želiš zapreti okno?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, nedosegljiv</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Vstavi posebni znak',
+ title : 'Izberi posebni znak',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Vstavi/uredi povezavo',
+ other : '<drug>',
+ menu : 'Uredi povezavo',
+ title : 'Povezava',
+ info : 'Podatki o povezavi',
+ target : 'Cilj',
+ upload : 'Prenesi',
+ advanced : 'Napredno',
+ type : 'Vrsta povezave',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Zaznamek na tej strani',
+ toEmail : 'Elektronski naslov',
+ targetFrame : '<okvir>',
+ targetPopup : '<pojavno okno>',
+ targetFrameName : 'Ime ciljnega okvirja',
+ targetPopupName : 'Ime pojavnega okna',
+ popupFeatures : 'ZnaÄilnosti pojavnega okna',
+ popupResizable : 'Spremenljive velikosti',
+ popupStatusBar : 'Vrstica stanja',
+ popupLocationBar: 'Naslovna vrstica',
+ popupToolbar : 'Orodna vrstica',
+ popupMenuBar : 'Menijska vrstica',
+ popupFullScreen : 'Celozaslonska slika (IE)',
+ popupScrollBars : 'Drsniki',
+ popupDependent : 'Podokno (Netscape)',
+ popupWidth : 'Å irina',
+ popupLeft : 'Lega levo',
+ popupHeight : 'Višina',
+ popupTop : 'Lega na vrhu',
+ id : 'Id',
+ langDir : 'Smer jezika',
+ langDirLTR : 'Od leve proti desni (LTR)',
+ langDirRTL : 'Od desne proti levi (RTL)',
+ acccessKey : 'Vstopno geslo',
+ name : 'Ime',
+ langCode : 'Smer jezika',
+ tabIndex : 'Å tevilka tabulatorja',
+ advisoryTitle : 'Predlagani naslov',
+ advisoryContentType : 'Predlagani tip vsebine (content-type)',
+ cssClasses : 'Razred stilne predloge',
+ charset : 'Kodna tabela povezanega vira',
+ styles : 'Slog',
+ selectAnchor : 'Izberi zaznamek',
+ anchorName : 'Po imenu zaznamka',
+ anchorId : 'Po ID-ju elementa',
+ emailAddress : 'Elektronski naslov',
+ emailSubject : 'Predmet sporoÄila',
+ emailBody : 'Vsebina sporoÄila',
+ noAnchors : '(V tem dokumentu ni zaznamkov)',
+ noUrl : 'Vnesite URL povezave',
+ noEmail : 'Vnesite elektronski naslov'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Vstavi/uredi zaznamek',
+ menu : 'Lastnosti zaznamka',
+ title : 'Lastnosti zaznamka',
+ name : 'Ime zaznamka',
+ errorName : 'Prosim vnesite ime zaznamka'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Najdi in zamenjaj',
+ find : 'Najdi',
+ replace : 'Zamenjaj',
+ findWhat : 'Najdi:',
+ replaceWith : 'Zamenjaj z:',
+ notFoundMsg : 'Navedeno besedilo ni bilo najdeno.',
+ matchCase : 'Razlikuj velike in male Ärke',
+ matchWord : 'Samo cele besede',
+ matchCyclic : 'Primerjaj znake v cirilici',
+ replaceAll : 'Zamenjaj vse',
+ replaceSuccessMsg : '%1 pojavitev je bilo zamenjano.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabela',
+ title : 'Lastnosti tabele',
+ menu : 'Lastnosti tabele',
+ deleteTable : 'Izbriši tabelo',
+ rows : 'Vrstice',
+ columns : 'Stolpci',
+ border : 'Velikost obrobe',
+ align : 'Poravnava',
+ alignLeft : 'Levo',
+ alignCenter : 'Sredinsko',
+ alignRight : 'Desno',
+ width : 'Å irina',
+ widthPx : 'pik',
+ widthPc : 'procentov',
+ widthUnit : 'width unit', // MISSING
+ height : 'Višina',
+ cellSpace : 'Razmik med celicami',
+ cellPad : 'Polnilo med celicami',
+ caption : 'Naslov',
+ summary : 'Povzetek',
+ headers : 'Glave',
+ headersNone : 'Brez',
+ headersColumn : 'Prvi stolpec',
+ headersRow : 'Prva vrstica',
+ headersBoth : 'Oboje',
+ invalidRows : 'Å tevilo vrstic mora biti veÄje od 0.',
+ invalidCols : 'Å tevilo stolpcev mora biti veÄje od 0.',
+ invalidBorder : 'Å irina obrobe mora biti Å¡tevilo.',
+ invalidWidth : 'Å irina tabele mora biti Å¡tevilo.',
+ invalidHeight : 'Višina tabele mora biti število.',
+ invalidCellSpacing : 'Razmik med celicami mora biti Å¡tevilo.',
+ invalidCellPadding : 'Zamik celic mora biti Å¡tevilo',
+
+ cell :
+ {
+ menu : 'Celica',
+ insertBefore : 'Vstavi celico pred',
+ insertAfter : 'Vstavi celico za',
+ deleteCell : 'Izbriši celice',
+ merge : 'Združi celice',
+ mergeRight : 'Združi desno',
+ mergeDown : 'Druži navzdol',
+ splitHorizontal : 'Razdeli celico vodoravno',
+ splitVertical : 'Razdeli celico navpiÄno',
+ title : 'Lastnosti celice',
+ cellType : 'Vrsta celice',
+ rowSpan : 'Razpon vrstic',
+ colSpan : 'Razpon stolpcev',
+ wordWrap : 'Prelom besedila',
+ hAlign : 'Vodoravna poravnava',
+ vAlign : 'NavpiÄna poravnava',
+ alignTop : 'Vrh',
+ alignMiddle : 'Sredina',
+ alignBottom : 'Dno',
+ alignBaseline : 'Osnovnica',
+ bgColor : 'Barva ozadja',
+ borderColor : 'Barva obrobe',
+ data : 'Podatki',
+ header : 'Glava',
+ yes : 'Da',
+ no : 'Ne',
+ invalidWidth : 'Å irina celice mora biti Å¡tevilo.',
+ invalidHeight : 'Višina celice mora biti število.',
+ invalidRowSpan : 'Razpon vrstic mora biti celo Å¡tevilo.',
+ invalidColSpan : 'Razpon stolpcev mora biti celo Å¡tevilo.',
+ chooseColor : 'Izberi'
+ },
+
+ row :
+ {
+ menu : 'Vrstica',
+ insertBefore : 'Vstavi vrstico pred',
+ insertAfter : 'Vstavi vrstico za',
+ deleteRow : 'Izbriši vrstice'
+ },
+
+ column :
+ {
+ menu : 'Stolpec',
+ insertBefore : 'Vstavi stolpec pred',
+ insertAfter : 'Vstavi stolpec za',
+ deleteColumn : 'Izbriši stolpce'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Lastnosti gumba',
+ text : 'Besedilo (Vrednost)',
+ type : 'Tip',
+ typeBtn : 'Gumb',
+ typeSbm : 'Potrdi',
+ typeRst : 'Ponastavi'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Lastnosti potrditvenega polja',
+ radioTitle : 'Lastnosti izbirnega polja',
+ value : 'Vrednost',
+ selected : 'Izbrano'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Lastnosti obrazca',
+ menu : 'Lastnosti obrazca',
+ action : 'Akcija',
+ method : 'Metoda',
+ encoding : 'Kodiranje znakov'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Lastnosti spustnega seznama',
+ selectInfo : 'Podatki',
+ opAvail : 'Razpoložljive izbire',
+ value : 'Vrednost',
+ size : 'Velikost',
+ lines : 'vrstic',
+ chkMulti : 'Dovoli izbor veÄih vrstic',
+ opText : 'Besedilo',
+ opValue : 'Vrednost',
+ btnAdd : 'Dodaj',
+ btnModify : 'Spremeni',
+ btnUp : 'Gor',
+ btnDown : 'Dol',
+ btnSetValue : 'Postavi kot privzeto izbiro',
+ btnDelete : 'Izbriši'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Lastnosti vnosnega obmoÄja',
+ cols : 'Stolpcev',
+ rows : 'Vrstic'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Lastnosti vnosnega polja',
+ name : 'Ime',
+ value : 'Vrednost',
+ charWidth : 'Dolžina',
+ maxChars : 'NajveÄje Å¡tevilo znakov',
+ type : 'Tip',
+ typeText : 'Besedilo',
+ typePass : 'Geslo'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Lastnosti skritega polja',
+ name : 'Ime',
+ value : 'Vrednost'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Lastnosti slike',
+ titleButton : 'Lastnosti gumba s sliko',
+ menu : 'Lastnosti slike',
+ infoTab : 'Podatki o sliki',
+ btnUpload : 'Pošlji na strežnik',
+ upload : 'Pošlji',
+ alt : 'Nadomestno besedilo',
+ width : 'Å irina',
+ height : 'Višina',
+ lockRatio : 'Zakleni razmerje',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Ponastavi velikost',
+ border : 'Obroba',
+ hSpace : 'Vodoravni razmik',
+ vSpace : 'NavpiÄni razmik',
+ align : 'Poravnava',
+ alignLeft : 'Levo',
+ alignRight : 'Desno',
+ alertUrl : 'Vnesite URL slike',
+ linkTab : 'Povezava',
+ button2Img : 'Želiš pretvoriti izbrani gumb s sliko v preprosto sliko?',
+ img2Button : 'Želiš pretvoriti izbrano sliko v gumb s sliko?',
+ urlMissing : 'Manjka vir (URL) slike.',
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Lastnosti Flash',
+ propertiesTab : 'Lastnosti',
+ title : 'Lastnosti Flash',
+ chkPlay : 'Samodejno predvajaj',
+ chkLoop : 'Ponavljanje',
+ chkMenu : 'OmogoÄi Flash Meni',
+ chkFull : 'Dovoli celozaslonski naÄin',
+ scale : 'PoveÄava',
+ scaleAll : 'Pokaži vse',
+ scaleNoBorder : 'Brez obrobe',
+ scaleFit : 'NatanÄno prileganje',
+ access : 'Dostop skript',
+ accessAlways : 'Vedno',
+ accessSameDomain: 'Samo ista domena',
+ accessNever : 'Nikoli',
+ align : 'Poravnava',
+ alignLeft : 'Levo',
+ alignAbsBottom : 'Popolnoma na dno',
+ alignAbsMiddle : 'Popolnoma v sredino',
+ alignBaseline : 'Na osnovno Ärto',
+ alignBottom : 'Na dno',
+ alignMiddle : 'V sredino',
+ alignRight : 'Desno',
+ alignTextTop : 'Besedilo na vrh',
+ alignTop : 'Na vrh',
+ quality : 'Kakovost',
+ qualityBest : 'Najvišja',
+ qualityHigh : 'Visoka',
+ qualityAutoHigh : 'Samodejno visoka',
+ qualityMedium : 'Srednja',
+ qualityAutoLow : 'Samodejno nizka',
+ qualityLow : 'Nizka',
+ windowModeWindow: 'Okno',
+ windowModeOpaque: 'Motno',
+ windowModeTransparent : 'Prosojno',
+ windowMode : 'Vrsta okna',
+ flashvars : 'Spremenljivke za Flash',
+ bgcolor : 'Barva ozadja',
+ width : 'Å irina',
+ height : 'Višina',
+ hSpace : 'Vodoravni razmik',
+ vSpace : 'NavpiÄni razmik',
+ validateSrc : 'Vnesite URL povezave',
+ validateWidth : 'Å irina mora biti Å¡tevilo.',
+ validateHeight : 'Višina mora biti število.',
+ validateHSpace : 'Vodoravni razmik mora biti Å¡tevilo.',
+ validateVSpace : 'NavpiÄni razmik mora biti Å¡tevilo.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Preveri Ärkovanje',
+ title : 'Ärkovalnik',
+ notAvailable : 'Oprostite, storitev trenutno ni dosegljiva.',
+ errorLoading : 'Napaka pri nalaganju storitve programa na naslovu %s.',
+ notInDic : 'Ni v slovarju',
+ changeTo : 'Spremeni v',
+ btnIgnore : 'Prezri',
+ btnIgnoreAll : 'Prezri vse',
+ btnReplace : 'Zamenjaj',
+ btnReplaceAll : 'Zamenjaj vse',
+ btnUndo : 'Razveljavi',
+ noSuggestions : '- Ni predlogov -',
+ progress : 'Preverjanje Ärkovanja se izvaja...',
+ noMispell : 'Ärkovanje je konÄano: Brez napak',
+ noChanges : 'Ärkovanje je konÄano: Nobena beseda ni bila spremenjena',
+ oneChange : 'Ärkovanje je konÄano: Spremenjena je bila ena beseda',
+ manyChanges : 'Ärkovanje je konÄano: Spremenjenih je bilo %1 besed',
+ ieSpellDownload : 'Ärkovalnik ni nameÅ¡Äen. Ali ga želite prenesti sedaj?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smeško',
+ title : 'Vstavi smeška',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'OÅ¡tevilÄen seznam',
+ bulletedlist : 'OznaÄen seznam',
+ indent : 'PoveÄaj zamik',
+ outdent : 'Zmanjšaj zamik',
+
+ justify :
+ {
+ left : 'Leva poravnava',
+ center : 'Sredinska poravnava',
+ right : 'Desna poravnava',
+ block : 'Obojestranska poravnava'
+ },
+
+ blockquote : 'Citat',
+
+ clipboard :
+ {
+ title : 'Prilepi',
+ cutError : 'Varnostne nastavitve brskalnika ne dopuÅ¡Äajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+X).',
+ copyError : 'Varnostne nastavitve brskalnika ne dopuÅ¡Äajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl/Cmd+C).',
+ pasteMsg : 'Prosim prilepite v sleÄi okvir s pomoÄjo tipkovnice (<STRONG>Ctrl/Cmd+V</STRONG>) in pritisnite <STRONG>V redu</STRONG>.',
+ securityMsg : 'Zaradi varnostnih nastavitev vaÅ¡ega brskalnika urejevalnik ne more neposredno dostopati do odložiÅ¡Äa. Vsebino odložiÅ¡Äa ponovno prilepite v to okno.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Prilepi iz Worda',
+ title : 'Prilepi iz Worda',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Prilepi kot golo besedilo',
+ title : 'Prilepi kot golo besedilo'
+ },
+
+ templates :
+ {
+ button : 'Predloge',
+ title : 'Vsebinske predloge',
+ options : 'Template Options', // MISSING
+ insertOption : 'Zamenjaj trenutno vsebino',
+ selectPromptMsg : 'Izberite predlogo, ki jo želite odpreti v urejevalniku<br>(trenutna vsebina bo izgubljena):',
+ emptyListMsg : '(Ni pripravljenih predlog)'
+ },
+
+ showBlocks : 'Prikaži ograde',
+
+ stylesCombo :
+ {
+ label : 'Slog',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Slogi odstavkov',
+ panelTitle2 : 'Slogi besedila',
+ panelTitle3 : 'Slogi objektov'
+ },
+
+ format :
+ {
+ label : 'Oblika',
+ panelTitle : 'Oblika',
+
+ tag_p : 'Navaden',
+ tag_pre : 'Oblikovan',
+ tag_address : 'Napis',
+ tag_h1 : 'Naslov 1',
+ tag_h2 : 'Naslov 2',
+ tag_h3 : 'Naslov 3',
+ tag_h4 : 'Naslov 4',
+ tag_h5 : 'Naslov 5',
+ tag_h6 : 'Naslov 6',
+ tag_div : 'Navaden (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Pisava',
+ voiceLabel : 'Pisava',
+ panelTitle : 'Pisava'
+ },
+
+ fontSize :
+ {
+ label : 'Velikost',
+ voiceLabel : 'Velikost',
+ panelTitle : 'Velikost'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Barva besedila',
+ bgColorTitle : 'Barva ozadja',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Samodejno',
+ more : 'VeÄ barv...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Ärkovanje med tipkanjem',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'OmogoÄi SCAYT',
+ disable : 'OnemogoÄi SCAYT',
+ about : 'O storitvi SCAYT',
+ toggle : 'Preklopi SCAYT',
+ options : 'Možnosti',
+ langs : 'Jeziki',
+ moreSuggestions : 'VeÄ predlogov',
+ ignore : 'Prezri',
+ ignoreAll : 'Prezri vse',
+ addWord : 'Dodaj besedo',
+ emptyDic : 'Ime slovarja ne more biti prazno.',
+
+ optionsTab : 'Možnosti',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Jeziki',
+
+ dictionariesTab : 'Slovarji',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'O storitvi'
+ },
+
+ about :
+ {
+ title : 'O programu CKEditor',
+ dlgTitle : 'O programu CKEditor',
+ moreInfo : 'Za informacijo o licenci prostim obiÅ¡Äite naÅ¡o spletno stran:',
+ copy : 'Copyright © $1. Vse pravice pridržane.'
+ },
+
+ maximize : 'Maksimiraj',
+ minimize : 'Minimiraj',
+
+ fakeobjects :
+ {
+ anchor : 'Sidro',
+ flash : 'Flash animacija',
+ div : 'Prelom strani',
+ unknown : 'Neznan objekt'
+ },
+
+ resize : 'Potegni za spremembo velikosti',
+
+ colordialog :
+ {
+ title : 'Izberi barvo',
+ options : 'Color Options', // MISSING
+ highlight : 'Poudarjeno',
+ selected : 'Izbrano',
+ clear : 'PoÄisti'
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/sr-latn.js b/devel/third-party/ckeditor/lang/sr-latn.js
new file mode 100644
index 0000000..4a1b16d
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/sr-latn.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Serbian (Latin) language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sr-latn'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Kôd',
+ newPage : 'Nova stranica',
+ save : 'SaÄuvaj',
+ preview : 'Izgled stranice',
+ cut : 'Iseci',
+ copy : 'Kopiraj',
+ paste : 'Zalepi',
+ print : 'Å tampa',
+ underline : 'PodvuÄeno',
+ bold : 'Podebljano',
+ italic : 'Kurziv',
+ selectAll : 'OznaÄi sve',
+ removeFormat : 'Ukloni formatiranje',
+ strike : 'Precrtano',
+ subscript : 'Indeks',
+ superscript : 'Stepen',
+ horizontalrule : 'Unesi horizontalnu liniju',
+ pagebreak : 'Insert Page Break for Printing', // MISSING
+ unlink : 'Ukloni link',
+ undo : 'Poni�ti akciju',
+ redo : 'Ponovi akciju',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Pretraži server',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'Pošalji',
+ uploadSubmit : 'Pošalji na server',
+ image : 'Slika',
+ flash : 'Fleš',
+ form : 'Forma',
+ checkbox : 'Polje za potvrdu',
+ radio : 'Radio-dugme',
+ textField : 'Tekstualno polje',
+ textarea : 'Zona teksta',
+ hiddenField : 'Skriveno polje',
+ button : 'Dugme',
+ select : 'Izborno polje',
+ imageButton : 'Dugme sa slikom',
+ notSet : '<nije postavljeno>',
+ id : 'Id',
+ name : 'Naziv',
+ langDir : 'Smer jezika',
+ langDirLtr : 'S leva na desno (LTR)',
+ langDirRtl : 'S desna na levo (RTL)',
+ langCode : 'Kôd jezika',
+ longDescr : 'Pun opis URL',
+ cssClass : 'Stylesheet klase',
+ advisoryTitle : 'Advisory naslov',
+ cssStyle : 'Stil',
+ ok : 'OK',
+ cancel : 'Otkaži',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Napredni tagovi',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Unesi specijalni karakter',
+ title : 'Odaberite specijalni karakter',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Unesi/izmeni link',
+ other : '<оÑÑало>',
+ menu : 'Izmeni link',
+ title : 'Link',
+ info : 'Link Info',
+ target : 'Meta',
+ upload : 'Pošalji',
+ advanced : 'Napredni tagovi',
+ type : 'Vrsta linka',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Sidro na ovoj stranici',
+ toEmail : 'E-Mail',
+ targetFrame : '<okvir>',
+ targetPopup : '<popup prozor>',
+ targetFrameName : 'Naziv odredišnog frejma',
+ targetPopupName : 'Naziv popup prozora',
+ popupFeatures : 'MoguÄnosti popup prozora',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Statusna linija',
+ popupLocationBar: 'Lokacija',
+ popupToolbar : 'Toolbar',
+ popupMenuBar : 'Kontekstni meni',
+ popupFullScreen : 'Prikaz preko celog ekrana (IE)',
+ popupScrollBars : 'Scroll bar',
+ popupDependent : 'Zavisno (Netscape)',
+ popupWidth : 'Å irina',
+ popupLeft : 'Od leve ivice ekrana (px)',
+ popupHeight : 'Visina',
+ popupTop : 'Od vrha ekrana (px)',
+ id : 'Id', // MISSING
+ langDir : 'Smer jezika',
+ langDirLTR : 'S leva na desno (LTR)',
+ langDirRTL : 'S desna na levo (RTL)',
+ acccessKey : 'Pristupni taster',
+ name : 'Naziv',
+ langCode : 'Smer jezika',
+ tabIndex : 'Tab indeks',
+ advisoryTitle : 'Advisory naslov',
+ advisoryContentType : 'Advisory vrsta sadržaja',
+ cssClasses : 'Stylesheet klase',
+ charset : 'Linked Resource Charset',
+ styles : 'Stil',
+ selectAnchor : 'Odaberi sidro',
+ anchorName : 'Po nazivu sidra',
+ anchorId : 'Po Id-ju elementa',
+ emailAddress : 'E-Mail adresa',
+ emailSubject : 'Naslov',
+ emailBody : 'Sadržaj poruke',
+ noAnchors : '(Nema dostupnih sidra)',
+ noUrl : 'Unesite URL linka',
+ noEmail : 'Otkucajte adresu elektronske pote'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Unesi/izmeni sidro',
+ menu : 'Osobine sidra',
+ title : 'Osobine sidra',
+ name : 'Ime sidra',
+ errorName : 'Unesite ime sidra'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'Pretraga',
+ replace : 'Zamena',
+ findWhat : 'Pronadi:',
+ replaceWith : 'Zameni sa:',
+ notFoundMsg : 'Traženi tekst nije pronaÄen.',
+ matchCase : 'Razlikuj mala i velika slova',
+ matchWord : 'Uporedi cele reci',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Zameni sve',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabela',
+ title : 'Osobine tabele',
+ menu : 'Osobine tabele',
+ deleteTable : 'Delete Table', // MISSING
+ rows : 'Redova',
+ columns : 'Kolona',
+ border : 'VeliÄina okvira',
+ align : 'Ravnanje',
+ alignLeft : 'Levo',
+ alignCenter : 'Sredina',
+ alignRight : 'Desno',
+ width : 'Å irina',
+ widthPx : 'piksela',
+ widthPc : 'procenata',
+ widthUnit : 'width unit', // MISSING
+ height : 'Visina',
+ cellSpace : 'Äelijski prostor',
+ cellPad : 'Razmak Äelija',
+ caption : 'Naslov tabele',
+ summary : 'Summary', // MISSING
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell', // MISSING
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'ObriÅ¡i Äelije',
+ merge : 'Spoj celije',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row', // MISSING
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'Obriši redove'
+ },
+
+ column :
+ {
+ menu : 'Column', // MISSING
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'Obriši kolone'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Osobine dugmeta',
+ text : 'Tekst (vrednost)',
+ type : 'Tip',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Osobine polja za potvrdu',
+ radioTitle : 'Osobine radio-dugmeta',
+ value : 'Vrednost',
+ selected : 'OznaÄeno'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Osobine forme',
+ menu : 'Osobine forme',
+ action : 'Akcija',
+ method : 'Metoda',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Osobine izbornog polja',
+ selectInfo : 'Info',
+ opAvail : 'Dostupne opcije',
+ value : 'Vrednost',
+ size : 'VeliÄina',
+ lines : 'linija',
+ chkMulti : 'Dozvoli višestruku selekciju',
+ opText : 'Tekst',
+ opValue : 'Vrednost',
+ btnAdd : 'Dodaj',
+ btnModify : 'Izmeni',
+ btnUp : 'Gore',
+ btnDown : 'Dole',
+ btnSetValue : 'Podesi kao oznaÄenu vrednost',
+ btnDelete : 'Obriši'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Osobine zone teksta',
+ cols : 'Broj kolona',
+ rows : 'Broj redova'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Osobine tekstualnog polja',
+ name : 'Naziv',
+ value : 'Vrednost',
+ charWidth : 'Å irina (karaktera)',
+ maxChars : 'Maksimalno karaktera',
+ type : 'Tip',
+ typeText : 'Tekst',
+ typePass : 'Lozinka'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Osobine skrivenog polja',
+ name : 'Naziv',
+ value : 'Vrednost'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Osobine slika',
+ titleButton : 'Osobine dugmeta sa slikom',
+ menu : 'Osobine slika',
+ infoTab : 'Info slike',
+ btnUpload : 'Pošalji na server',
+ upload : 'Pošalji',
+ alt : 'Alternativni tekst',
+ width : 'Å irina',
+ height : 'Visina',
+ lockRatio : 'ZakljuÄaj odnos',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Resetuj veliÄinu',
+ border : 'Okvir',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'Ravnanje',
+ alignLeft : 'Levo',
+ alignRight : 'Desno',
+ alertUrl : 'Unesite URL slike',
+ linkTab : 'Link',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Osobine fleša',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Osobine fleša',
+ chkPlay : 'Automatski start',
+ chkLoop : 'Ponavljaj',
+ chkMenu : 'UkljuÄi fleÅ¡ meni',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Skaliraj',
+ scaleAll : 'Prikaži sve',
+ scaleNoBorder : 'Bez ivice',
+ scaleFit : 'Popuni površinu',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Ravnanje',
+ alignLeft : 'Levo',
+ alignAbsBottom : 'Abs dole',
+ alignAbsMiddle : 'Abs sredina',
+ alignBaseline : 'Bazno',
+ alignBottom : 'Dole',
+ alignMiddle : 'Sredina',
+ alignRight : 'Desno',
+ alignTextTop : 'Vrh teksta',
+ alignTop : 'Vrh',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Boja pozadine',
+ width : 'Å irina',
+ height : 'Visina',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'Unesite URL linka',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Proveri spelovanje',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Nije u reÄniku',
+ changeTo : 'Izmeni',
+ btnIgnore : 'Ignoriši',
+ btnIgnoreAll : 'Ignoriši sve',
+ btnReplace : 'Zameni',
+ btnReplaceAll : 'Zameni sve',
+ btnUndo : 'Vrati akciju',
+ noSuggestions : '- Bez sugestija -',
+ progress : 'Provera spelovanja u toku...',
+ noMispell : 'Provera spelovanja završena: greške nisu pronadene',
+ noChanges : 'Provera spelovanja završena: Nije izmenjena nijedna rec',
+ oneChange : 'Provera spelovanja zavrÅ¡ena: Izmenjena je jedna reÄ',
+ manyChanges : 'Provera spelovanja zavrÅ¡ena: %1 reÄ(i) je izmenjeno',
+ ieSpellDownload : 'Provera spelovanja nije instalirana. Da li želite da je skinete sa Interneta?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smajli',
+ title : 'Unesi smajlija',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Nabrojiva lista',
+ bulletedlist : 'Nenabrojiva lista',
+ indent : 'UveÄaj levu marginu',
+ outdent : 'Smanji levu marginu',
+
+ justify :
+ {
+ left : 'Levo ravnanje',
+ center : 'Centriran tekst',
+ right : 'Desno ravnanje',
+ block : 'Obostrano ravnanje'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Zalepi',
+ cutError : 'Sigurnosna podeÅ¡avanja VaÅ¡eg pretraživaÄa ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite preÄicu sa tastature (Ctrl/Cmd+X).',
+ copyError : 'Sigurnosna podeÅ¡avanja VaÅ¡eg pretraživaÄa ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite preÄicu sa tastature (Ctrl/Cmd+C).',
+ pasteMsg : 'Molimo Vas da zalepite unutar donje povrine koristeÄi tastaturnu preÄicu (<STRONG>Ctrl/Cmd+V</STRONG>) i da pritisnete <STRONG>OK</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Zalepi iz Worda',
+ title : 'Zalepi iz Worda',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Zalepi kao Äist tekst',
+ title : 'Zalepi kao Äist tekst'
+ },
+
+ templates :
+ {
+ button : 'Obrasci',
+ title : 'Obrasci za sadržaj',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'Molimo Vas da odaberete obrazac koji ce biti primenjen na stranicu (trenutni sadržaj ce biti obrisan):',
+ emptyListMsg : '(Nema definisanih obrazaca)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Stil',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Format',
+ panelTitle : 'Format',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatirano',
+ tag_address : 'Adresa',
+ tag_h1 : 'Naslov 1',
+ tag_h2 : 'Naslov 2',
+ tag_h3 : 'Naslov 3',
+ tag_h4 : 'Naslov 4',
+ tag_h5 : 'Naslov 5',
+ tag_h6 : 'Naslov 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Font',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Font'
+ },
+
+ fontSize :
+ {
+ label : 'VeliÄina fonta',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'VeliÄina fonta'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Boja teksta',
+ bgColorTitle : 'Boja pozadine',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatski',
+ more : 'Više boja...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/sr.js b/devel/third-party/ckeditor/lang/sr.js
new file mode 100644
index 0000000..8106f4d
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/sr.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Serbian (Cyrillic) language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sr'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Kôд',
+ newPage : 'Ðова ÑÑÑаниÑа',
+ save : 'СаÑÑваÑ',
+ preview : 'Ðзглед ÑÑÑаниÑе',
+ cut : 'ÐÑеÑи',
+ copy : 'ÐопиÑаÑ',
+ paste : 'Ðалепи',
+ print : 'ШÑампа',
+ underline : 'ÐодвÑÑено',
+ bold : 'ÐодебÑано',
+ italic : 'ÐÑÑзив',
+ selectAll : 'ÐзнаÑи Ñве',
+ removeFormat : 'Уклони ÑоÑмаÑиÑаÑе',
+ strike : 'ÐÑеÑÑÑано',
+ subscript : 'ÐндекÑ',
+ superscript : 'СÑепен',
+ horizontalrule : 'УнеÑи Ñ
оÑизонÑÐ°Ð»Ð½Ñ Ð»Ð¸Ð½Ð¸ÑÑ',
+ pagebreak : 'Insert Page Break for Printing', // MISSING
+ unlink : 'Уклони линк',
+ undo : 'ÐониÑÑи акÑиÑÑ',
+ redo : 'Ðонови акÑиÑÑ',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ÐÑеÑÑажи ÑеÑвеÑ',
+ url : 'УРÐ',
+ protocol : 'ÐÑоÑокол',
+ upload : 'ÐоÑаÑи',
+ uploadSubmit : 'ÐоÑаÑи на ÑеÑвеÑ',
+ image : 'Слика',
+ flash : 'Ð¤Ð»ÐµÑ ÐµÐ»ÐµÐ¼ÐµÐ½Ñ',
+ form : 'ФоÑма',
+ checkbox : 'ÐоÑе за поÑвÑдÑ',
+ radio : 'Радио-дÑгме',
+ textField : 'ТекÑÑÑално поÑе',
+ textarea : 'Ðона ÑекÑÑа',
+ hiddenField : 'СкÑивено поÑе',
+ button : 'ÐÑгме',
+ select : 'ÐзбоÑно поÑе',
+ imageButton : 'ÐÑгме Ñа Ñликом',
+ notSet : '<ниÑе поÑÑавÑено>',
+ id : 'Ðд',
+ name : 'Ðазив',
+ langDir : 'Ð¡Ð¼ÐµÑ Ñезика',
+ langDirLtr : 'С лева на деÑно (LTR)',
+ langDirRtl : 'С деÑна на лево (RTL)',
+ langCode : 'Kôд Ñезика',
+ longDescr : 'ÐÑн Ð¾Ð¿Ð¸Ñ Ð£Ð Ð',
+ cssClass : 'Stylesheet клаÑе',
+ advisoryTitle : 'Advisory наÑлов',
+ cssStyle : 'СÑил',
+ ok : 'OK',
+ cancel : 'OÑкажи',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'ÐапÑедни Ñагови',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'УнеÑи ÑпеÑиÑални каÑакÑеÑ',
+ title : 'ÐдабеÑиÑе ÑпеÑиÑални каÑакÑеÑ',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'УнеÑи/измени линк',
+ other : '<other>', // MISSING
+ menu : 'ÐÑомени линк',
+ title : 'Ðинк',
+ info : 'Ðинк инÑо',
+ target : 'MeÑa',
+ upload : 'ÐоÑаÑи',
+ advanced : 'ÐапÑедни Ñагови',
+ type : 'ÐÑÑÑа линка',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'СидÑо на Ð¾Ð²Ð¾Ñ ÑÑÑаниÑи',
+ toEmail : 'EлекÑÑонÑка поÑÑа',
+ targetFrame : '<оквиÑ>',
+ targetPopup : '<иÑкаÑÑÑи пÑозоÑ>',
+ targetFrameName : 'Ðазив одÑедиÑног ÑÑеÑма',
+ targetPopupName : 'Ðазив иÑкаÑÑÑег пÑозоÑа',
+ popupFeatures : 'ÐогÑÑноÑÑи иÑкаÑÑÑег пÑозоÑа',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'СÑаÑÑÑна линиÑа',
+ popupLocationBar: 'ÐокаÑиÑа',
+ popupToolbar : 'Toolbar',
+ popupMenuBar : 'ÐонÑекÑÑни мени',
+ popupFullScreen : 'ÐÑиказ пÑеко Ñелог екÑана (ÐE)',
+ popupScrollBars : 'СкÑол баÑ',
+ popupDependent : 'ÐавиÑно (Netscape)',
+ popupWidth : 'ШиÑина',
+ popupLeft : 'Ðд леве ивиÑе екÑана (пикÑела)',
+ popupHeight : 'ÐиÑина',
+ popupTop : 'Ðд вÑÑ
а екÑана (пикÑела)',
+ id : 'Id', // MISSING
+ langDir : 'Ð¡Ð¼ÐµÑ Ñезика',
+ langDirLTR : 'С лева на деÑно (LTR)',
+ langDirRTL : 'С деÑна на лево (RTL)',
+ acccessKey : 'ÐÑиÑÑÑпни ÑаÑÑеÑ',
+ name : 'Ðазив',
+ langCode : 'Ð¡Ð¼ÐµÑ Ñезика',
+ tabIndex : 'Таб индекÑ',
+ advisoryTitle : 'Advisory наÑлов',
+ advisoryContentType : 'Advisory вÑÑÑа ÑадÑжаÑа',
+ cssClasses : 'Stylesheet клаÑе',
+ charset : 'Linked Resource Charset',
+ styles : 'СÑил',
+ selectAnchor : 'ÐдабеÑи ÑидÑо',
+ anchorName : 'Ðо Ð½Ð°Ð·Ð¸Ð²Ñ ÑидÑа',
+ anchorId : 'Ðo Ðд-jÑ ÐµÐ»ÐµÐ¼ÐµÐ½Ñа',
+ emailAddress : 'ÐдÑеÑа елекÑÑонÑке поÑÑе',
+ emailSubject : 'ÐаÑлов',
+ emailBody : 'СадÑÐ¶Ð°Ñ Ð¿Ð¾ÑÑке',
+ noAnchors : '(Ðема доÑÑÑпниÑ
ÑидÑа)',
+ noUrl : 'УнеÑиÑе УРРлинка',
+ noEmail : 'ÐÑкÑÑаÑÑе адÑеÑÑ ÐµÐ»ÐµÐºÑÑонÑке поÑÑе'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'УнеÑи/измени ÑидÑо',
+ menu : 'ÐÑобине ÑидÑа',
+ title : 'ÐÑобине ÑидÑа',
+ name : 'Ðме ÑидÑа',
+ errorName : 'Ðолимо ÐÐ°Ñ Ð´Ð° ÑнеÑеÑе име ÑидÑа'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'ÐÑеÑÑага',
+ replace : 'Ðамена',
+ findWhat : 'ÐÑонаÑи:',
+ replaceWith : 'Ðамени Ñа:',
+ notFoundMsg : 'ТÑажени ÑекÑÑ Ð½Ð¸Ñе пÑонаÑен.',
+ matchCase : 'РазликÑÑ Ð²ÐµÐ»Ð¸ÐºÐ° и мала Ñлова',
+ matchWord : 'УпоÑеди Ñеле ÑеÑи',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Ðамени Ñве',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Табела',
+ title : 'ÐÑобине Ñабеле',
+ menu : 'ÐÑобине Ñабеле',
+ deleteTable : 'Delete Table', // MISSING
+ rows : 'Редова',
+ columns : 'Kолона',
+ border : 'ÐелиÑина оквиÑа',
+ align : 'РавнаÑе',
+ alignLeft : 'Ðево',
+ alignCenter : 'СÑедина',
+ alignRight : 'ÐеÑно',
+ width : 'ШиÑина',
+ widthPx : 'пикÑела',
+ widthPc : 'пÑоÑенаÑа',
+ widthUnit : 'width unit', // MISSING
+ height : 'ÐиÑина',
+ cellSpace : 'ÐелиÑÑки пÑоÑÑоÑ',
+ cellPad : 'Размак ÑелиÑа',
+ caption : 'ÐаÑлов Ñабеле',
+ summary : 'Summary', // MISSING
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell', // MISSING
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'ÐбÑиÑи ÑелиÑе',
+ merge : 'Ð¡Ð¿Ð¾Ñ ÑелиÑе',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Row', // MISSING
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'ÐбÑиÑи Ñедове'
+ },
+
+ column :
+ {
+ menu : 'Column', // MISSING
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'ÐбÑиÑи колоне'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ÐÑобине дÑгмеÑа',
+ text : 'ТекÑÑ (вÑедноÑÑ)',
+ type : 'Tип',
+ typeBtn : 'Button', // MISSING
+ typeSbm : 'Submit', // MISSING
+ typeRst : 'Reset' // MISSING
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ÐÑобине поÑа за поÑвÑдÑ',
+ radioTitle : 'ÐÑобине Ñадио-дÑгмеÑа',
+ value : 'ÐÑедноÑÑ',
+ selected : 'ÐзнаÑено'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ÐÑобине ÑоÑме',
+ menu : 'ÐÑобине ÑоÑме',
+ action : 'AкÑиÑа',
+ method : 'MеÑода',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'ÐÑобине избоÑног поÑа',
+ selectInfo : 'ÐнÑо',
+ opAvail : 'ÐоÑÑÑпне опÑиÑе',
+ value : 'ÐÑедноÑÑ',
+ size : 'ÐелиÑина',
+ lines : 'линиÑа',
+ chkMulti : 'Ðозволи виÑеÑÑÑÑÐºÑ ÑелекÑиÑÑ',
+ opText : 'ТекÑÑ',
+ opValue : 'ÐÑедноÑÑ',
+ btnAdd : 'ÐодаÑ',
+ btnModify : 'Ðзмени',
+ btnUp : 'ÐоÑе',
+ btnDown : 'Ðоле',
+ btnSetValue : 'ÐодеÑи као ознаÑÐµÐ½Ñ Ð²ÑедноÑÑ',
+ btnDelete : 'ÐбÑиÑи'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ÐÑобине зоне ÑекÑÑа',
+ cols : 'ÐÑÐ¾Ñ ÐºÐ¾Ð»Ð¾Ð½Ð°',
+ rows : 'ÐÑÐ¾Ñ Ñедова'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ÐÑобине ÑекÑÑÑалног поÑа',
+ name : 'Ðазив',
+ value : 'ÐÑедноÑÑ',
+ charWidth : 'ШиÑина (каÑакÑеÑа)',
+ maxChars : 'ÐакÑимално каÑакÑеÑа',
+ type : 'Тип',
+ typeText : 'ТекÑÑ',
+ typePass : 'Ðозинка'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ÐÑобине ÑкÑивеног поÑа',
+ name : 'Ðазив',
+ value : 'ÐÑедноÑÑ'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ÐÑобине Ñлика',
+ titleButton : 'ÐÑобине дÑгмеÑа Ñа Ñликом',
+ menu : 'ÐÑобине Ñлика',
+ infoTab : 'ÐнÑо Ñлике',
+ btnUpload : 'ÐоÑаÑи на ÑеÑвеÑ',
+ upload : 'ÐоÑаÑи',
+ alt : 'ÐлÑеÑнаÑивни ÑекÑÑ',
+ width : 'ШиÑина',
+ height : 'ÐиÑина',
+ lockRatio : 'ÐакÑÑÑÐ°Ñ Ð¾Ð´Ð½Ð¾Ñ',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'РеÑеÑÑÑ Ð²ÐµÐ»Ð¸ÑинÑ',
+ border : 'ÐквиÑ',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ align : 'РавнаÑе',
+ alignLeft : 'Ðево',
+ alignRight : 'ÐеÑно',
+ alertUrl : 'УнеÑиÑе УРРÑлике',
+ linkTab : 'Ðинк',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ÐÑобине ФлеÑа',
+ propertiesTab : 'Properties', // MISSING
+ title : 'ÐÑобине ÑлеÑа',
+ chkPlay : 'ÐÑÑомаÑÑки ÑÑаÑÑ',
+ chkLoop : 'ÐонавÑаÑ',
+ chkMenu : 'УкÑÑÑи ÑÐ»ÐµÑ Ð¼ÐµÐ½Ð¸',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'СкалиÑаÑ',
+ scaleAll : 'ÐÑикажи Ñве',
+ scaleNoBorder : 'Ðез ивиÑе',
+ scaleFit : 'ÐопÑни повÑÑинÑ',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'РавнаÑе',
+ alignLeft : 'Ðево',
+ alignAbsBottom : 'Abs доле',
+ alignAbsMiddle : 'Abs ÑÑедина',
+ alignBaseline : 'Ðазно',
+ alignBottom : 'Ðоле',
+ alignMiddle : 'СÑедина',
+ alignRight : 'ÐеÑно',
+ alignTextTop : 'ÐÑÑ
ÑекÑÑа',
+ alignTop : 'ÐÑÑ
',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'ÐоÑа позадине',
+ width : 'ШиÑина',
+ height : 'ÐиÑина',
+ hSpace : 'HSpace',
+ vSpace : 'VSpace',
+ validateSrc : 'УнеÑиÑе УРРлинка',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'ÐÑовеÑи ÑпеловаÑе',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'ÐиÑе Ñ ÑеÑникÑ',
+ changeTo : 'Ðзмени',
+ btnIgnore : 'ÐгноÑиÑи',
+ btnIgnoreAll : 'ÐгноÑиÑи Ñве',
+ btnReplace : 'Ðамени',
+ btnReplaceAll : 'Ðамени Ñве',
+ btnUndo : 'ÐÑаÑи акÑиÑÑ',
+ noSuggestions : '- Ðез ÑÑгеÑÑиÑа -',
+ progress : 'ÐÑовеÑа ÑпеловаÑа Ñ ÑокÑ...',
+ noMispell : 'ÐÑовеÑа ÑпеловаÑа завÑÑена: гÑеÑке ниÑÑ Ð¿ÑонаÑене',
+ noChanges : 'ÐÑовеÑа ÑпеловаÑа завÑÑена: ÐиÑе измеÑена ниÑедна ÑеÑ',
+ oneChange : 'ÐÑовеÑа ÑпеловаÑа завÑÑена: ÐзмеÑена Ñе Ñедна ÑеÑ',
+ manyChanges : 'ÐÑовеÑа ÑпеловаÑа завÑÑена: %1 ÑеÑ(и) Ñе измеÑено',
+ ieSpellDownload : 'ÐÑовеÑа ÑпеловаÑа ниÑе инÑÑалиÑана. Ðа ли желиÑе да Ñе ÑкинеÑе Ñа ÐнÑеÑнеÑа?'
+ },
+
+ smiley :
+ {
+ toolbar : 'СмаÑли',
+ title : 'УнеÑи ÑмаÑлиÑа',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ÐабÑоÑÐ¸Ð²Ñ Ð»Ð¸ÑÑÑ',
+ bulletedlist : 'ÐенабÑоÑива лиÑÑа',
+ indent : 'УвеÑÐ°Ñ Ð»ÐµÐ²Ñ Ð¼Ð°ÑгинÑ',
+ outdent : 'СмаÑи Ð»ÐµÐ²Ñ Ð¼Ð°ÑгинÑ',
+
+ justify :
+ {
+ left : 'Ðево ÑавнаÑе',
+ center : 'ЦенÑÑиÑан ÑекÑÑ',
+ right : 'ÐеÑно ÑавнаÑе',
+ block : 'ÐбоÑÑÑано ÑавнаÑе'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Ðалепи',
+ cutError : 'СигÑÑноÑна подеÑаваÑа ÐаÑег пÑеÑÑаживаÑа не дозвоÑаваÑÑ Ð¾Ð¿ÐµÑаÑиÑе аÑÑомаÑÑког иÑеÑаÑа ÑекÑÑа. Ðолимо ÐÐ°Ñ Ð´Ð° коÑиÑÑиÑе пÑеÑиÑÑ Ñа ÑаÑÑаÑÑÑе (Ctrl/Cmd+X).',
+ copyError : 'СигÑÑноÑна подеÑаваÑа ÐаÑег пÑеÑÑаживаÑа не дозвоÑаваÑÑ Ð¾Ð¿ÐµÑаÑиÑе аÑÑомаÑÑког копиÑаÑа ÑекÑÑа. Ðолимо ÐÐ°Ñ Ð´Ð° коÑиÑÑиÑе пÑеÑиÑÑ Ñа ÑаÑÑаÑÑÑе (Ctrl/Cmd+C).',
+ pasteMsg : 'Ðолимо ÐÐ°Ñ Ð´Ð° залепиÑе ÑнÑÑÐ°Ñ Ð´Ð¾Ñе повÑÑине коÑиÑÑеÑи ÑаÑÑаÑÑÑÐ½Ñ Ð¿ÑеÑиÑÑ (<STRONG>Ctrl/Cmd+V</STRONG>) и да пÑиÑиÑнеÑе <STRONG>OK</STRONG>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Ðалепи из Worda',
+ title : 'Ðалепи из Worda',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Ðалепи као ÑиÑÑ ÑекÑÑ',
+ title : 'Ðалепи као ÑиÑÑ ÑекÑÑ'
+ },
+
+ templates :
+ {
+ button : 'ÐбÑаÑÑи',
+ title : 'ÐбÑаÑÑи за ÑадÑжаÑ',
+ options : 'Template Options', // MISSING
+ insertOption : 'Replace actual contents', // MISSING
+ selectPromptMsg : 'Ðолимо ÐÐ°Ñ Ð´Ð° одабеÑеÑе обÑÐ°Ð·Ð°Ñ ÐºÐ¾Ñи Ñе биÑи пÑимеÑен на ÑÑÑаниÑÑ (ÑÑенÑÑни ÑадÑÐ¶Ð°Ñ Ñе биÑи обÑиÑан):',
+ emptyListMsg : '(Ðема деÑиниÑаниÑ
обÑазаÑа)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'СÑил',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'ФоÑмаÑ',
+ panelTitle : 'ФоÑмаÑ',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatirano',
+ tag_address : 'Adresa',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Normal (DIV)' // MISSING
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ФонÑ',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'ФонÑ'
+ },
+
+ fontSize :
+ {
+ label : 'ÐелиÑина ÑонÑа',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'ÐелиÑина ÑонÑа'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ÐоÑа ÑекÑÑа',
+ bgColorTitle : 'ÐоÑа позадине',
+ panelTitle : 'Colors', // MISSING
+ auto : 'ÐÑÑомаÑÑки',
+ more : 'ÐиÑе боÑа...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/sv.js b/devel/third-party/ckeditor/lang/sv.js
new file mode 100644
index 0000000..1512afc
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/sv.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Swedish language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['sv'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'Källa',
+ newPage : 'Ny sida',
+ save : 'Spara',
+ preview : 'Förhandsgranska',
+ cut : 'Klipp ut',
+ copy : 'Kopiera',
+ paste : 'Klistra in',
+ print : 'Skriv ut',
+ underline : 'Understruken',
+ bold : 'Fet',
+ italic : 'Kursiv',
+ selectAll : 'Markera allt',
+ removeFormat : 'Radera formatering',
+ strike : 'Genomstruken',
+ subscript : 'Nedsänkta tecken',
+ superscript : 'Upphöjda tecken',
+ horizontalrule : 'Infoga horisontal linje',
+ pagebreak : 'Infoga sidbrytning',
+ unlink : 'Radera länk',
+ undo : 'Ã
ngra',
+ redo : 'Gör om',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Bläddra på server',
+ url : 'URL',
+ protocol : 'Protokoll',
+ upload : 'Ladda upp',
+ uploadSubmit : 'Skicka till server',
+ image : 'Bild',
+ flash : 'Flash',
+ form : 'Formulär',
+ checkbox : 'Kryssruta',
+ radio : 'Alternativknapp',
+ textField : 'Textfält',
+ textarea : 'Textruta',
+ hiddenField : 'Dolt fält',
+ button : 'Knapp',
+ select : 'Flervalslista',
+ imageButton : 'Bildknapp',
+ notSet : '<ej angivet>',
+ id : 'Id',
+ name : 'Namn',
+ langDir : 'Språkriktning',
+ langDirLtr : 'Vänster till Höger (VTH)',
+ langDirRtl : 'Höger till Vänster (HTV)',
+ langCode : 'Språkkod',
+ longDescr : 'URL-beskrivning',
+ cssClass : 'Stylesheet class',
+ advisoryTitle : 'Titel',
+ cssStyle : 'Style',
+ ok : 'OK',
+ cancel : 'Avbryt',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'Avancerad',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Klistra in utökat tecken',
+ title : 'Välj utökat tecken',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Infoga/Redigera länk',
+ other : '<annan>',
+ menu : 'Redigera länk',
+ title : 'Länk',
+ info : 'Länkinformation',
+ target : 'MÃ¥l',
+ upload : 'Ladda upp',
+ advanced : 'Avancerad',
+ type : 'Länktyp',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'Ankare i sidan',
+ toEmail : 'E-post',
+ targetFrame : '<ram>',
+ targetPopup : '<popup-fönster>',
+ targetFrameName : 'MÃ¥lets ramnamn',
+ targetPopupName : 'Popup-fönstrets namn',
+ popupFeatures : 'Popup-fönstrets egenskaper',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'Statusfält',
+ popupLocationBar: 'Adressfält',
+ popupToolbar : 'Verktygsfält',
+ popupMenuBar : 'Menyfält',
+ popupFullScreen : 'Helskärm (endast IE)',
+ popupScrollBars : 'Scrolllista',
+ popupDependent : 'Beroende (endest Netscape)',
+ popupWidth : 'Bredd',
+ popupLeft : 'Position från vänster',
+ popupHeight : 'Höjd',
+ popupTop : 'Position från sidans topp',
+ id : 'Id', // MISSING
+ langDir : 'Språkriktning',
+ langDirLTR : 'Vänster till Höger (VTH)',
+ langDirRTL : 'Höger till Vänster (HTV)',
+ acccessKey : 'Behörighetsnyckel',
+ name : 'Namn',
+ langCode : 'Språkriktning',
+ tabIndex : 'Tabindex',
+ advisoryTitle : 'Titel',
+ advisoryContentType : 'Innehållstyp',
+ cssClasses : 'Stylesheet class',
+ charset : 'Teckenuppställning',
+ styles : 'Style',
+ selectAnchor : 'Välj ett ankare',
+ anchorName : 'efter ankarnamn',
+ anchorId : 'efter objektid',
+ emailAddress : 'E-postadress',
+ emailSubject : 'Ãmne',
+ emailBody : 'Innehåll',
+ noAnchors : '(Inga ankare kunde hittas)',
+ noUrl : 'Var god ange länkens URL',
+ noEmail : 'Var god ange E-postadress'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Infoga/Redigera ankarlänk',
+ menu : 'Egenskaper för ankarlänk',
+ title : 'Egenskaper för ankarlänk',
+ name : 'Ankarnamn',
+ errorName : 'Var god ange ett ankarnamn'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Sök och ersätt',
+ find : 'Sök',
+ replace : 'Ersätt',
+ findWhat : 'Sök efter:',
+ replaceWith : 'Ersätt med:',
+ notFoundMsg : 'Angiven text kunde ej hittas.',
+ matchCase : 'Skiftläge',
+ matchWord : 'Inkludera hela ord',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'Ersätt alla',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tabell',
+ title : 'Tabellegenskaper',
+ menu : 'Tabellegenskaper',
+ deleteTable : 'Radera tabell',
+ rows : 'Rader',
+ columns : 'Kolumner',
+ border : 'Kantstorlek',
+ align : 'Justering',
+ alignLeft : 'Vänster',
+ alignCenter : 'Centrerad',
+ alignRight : 'Höger',
+ width : 'Bredd',
+ widthPx : 'pixlar',
+ widthPc : 'procent',
+ widthUnit : 'width unit', // MISSING
+ height : 'Höjd',
+ cellSpace : 'Cellavstånd',
+ cellPad : 'Cellutfyllnad',
+ caption : 'Rubrik',
+ summary : 'Sammanfattning',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'Cell',
+ insertBefore : 'Lägg till Cell Före',
+ insertAfter : 'Lägg till Cell Efter',
+ deleteCell : 'Radera celler',
+ merge : 'Sammanfoga celler',
+ mergeRight : 'Sammanfoga Höger',
+ mergeDown : 'Sammanfoga Ner',
+ splitHorizontal : 'Dela Cell Horisontellt',
+ splitVertical : 'Dela Cell Vertikalt',
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Rad',
+ insertBefore : 'Lägg till Rad Före',
+ insertAfter : 'Lägg till Rad Efter',
+ deleteRow : 'Radera rad'
+ },
+
+ column :
+ {
+ menu : 'Kolumn',
+ insertBefore : 'Lägg till Kolumn Före',
+ insertAfter : 'Lägg till Kolumn Efter',
+ deleteColumn : 'Radera kolumn'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Egenskaper för knapp',
+ text : 'Text (Värde)',
+ type : 'Typ',
+ typeBtn : 'Knapp',
+ typeSbm : 'Skicka',
+ typeRst : 'Ã
terställ'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Egenskaper för kryssruta',
+ radioTitle : 'Egenskaper för alternativknapp',
+ value : 'Värde',
+ selected : 'Vald'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Egenskaper för formulär',
+ menu : 'Egenskaper för formulär',
+ action : 'Funktion',
+ method : 'Metod',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Egenskaper för flervalslista',
+ selectInfo : 'Information',
+ opAvail : 'Befintliga val',
+ value : 'Värde',
+ size : 'Storlek',
+ lines : 'Linjer',
+ chkMulti : 'Tillåt flerval',
+ opText : 'Text',
+ opValue : 'Värde',
+ btnAdd : 'Lägg till',
+ btnModify : 'Redigera',
+ btnUp : 'Upp',
+ btnDown : 'Ner',
+ btnSetValue : 'Markera som valt värde',
+ btnDelete : 'Radera'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Egenskaper för textruta',
+ cols : 'Kolumner',
+ rows : 'Rader'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Egenskaper för textfält',
+ name : 'Namn',
+ value : 'Värde',
+ charWidth : 'Teckenbredd',
+ maxChars : 'Max antal tecken',
+ type : 'Typ',
+ typeText : 'Text',
+ typePass : 'Lösenord'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Egenskaper för dolt fält',
+ name : 'Namn',
+ value : 'Värde'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Bildegenskaper',
+ titleButton : 'Egenskaper för bildknapp',
+ menu : 'Bildegenskaper',
+ infoTab : 'Bildinformation',
+ btnUpload : 'Skicka till server',
+ upload : 'Ladda upp',
+ alt : 'Alternativ text',
+ width : 'Bredd',
+ height : 'Höjd',
+ lockRatio : 'Lås höjd/bredd förhållanden',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'Ã
terställ storlek',
+ border : 'Kant',
+ hSpace : 'Horis. marginal',
+ vSpace : 'Vert. marginal',
+ align : 'Justering',
+ alignLeft : 'Vänster',
+ alignRight : 'Höger',
+ alertUrl : 'Var god och ange bildens URL',
+ linkTab : 'Länk',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flashegenskaper',
+ propertiesTab : 'Properties', // MISSING
+ title : 'Flashegenskaper',
+ chkPlay : 'Automatisk uppspelning',
+ chkLoop : 'Upprepa/Loopa',
+ chkMenu : 'Aktivera Flashmeny',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'Skala',
+ scaleAll : 'Visa allt',
+ scaleNoBorder : 'Ingen ram',
+ scaleFit : 'Exakt passning',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'Justering',
+ alignLeft : 'Vänster',
+ alignAbsBottom : 'Absolut nederkant',
+ alignAbsMiddle : 'Absolut centrering',
+ alignBaseline : 'Baslinje',
+ alignBottom : 'Nederkant',
+ alignMiddle : 'Mitten',
+ alignRight : 'Höger',
+ alignTextTop : 'Text överkant',
+ alignTop : 'Ãverkant',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'Bakgrundsfärg',
+ width : 'Bredd',
+ height : 'Höjd',
+ hSpace : 'Horis. marginal',
+ vSpace : 'Vert. marginal',
+ validateSrc : 'Var god ange länkens URL',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Stavningskontroll',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'Saknas i ordlistan',
+ changeTo : 'Ãndra till',
+ btnIgnore : 'Ignorera',
+ btnIgnoreAll : 'Ignorera alla',
+ btnReplace : 'Ersätt',
+ btnReplaceAll : 'Ersätt alla',
+ btnUndo : 'Ã
ngra',
+ noSuggestions : '- Förslag saknas -',
+ progress : 'Stavningskontroll pågår...',
+ noMispell : 'Stavningskontroll slutförd: Inga stavfel påträffades.',
+ noChanges : 'Stavningskontroll slutförd: Inga ord rättades.',
+ oneChange : 'Stavningskontroll slutförd: Ett ord rättades.',
+ manyChanges : 'Stavningskontroll slutförd: %1 ord rättades.',
+ ieSpellDownload : 'Stavningskontrollen är ej installerad. Vill du göra det nu?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Smiley',
+ title : 'Infoga smiley',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'Numrerad lista',
+ bulletedlist : 'Punktlista',
+ indent : 'Ãka indrag',
+ outdent : 'Minska indrag',
+
+ justify :
+ {
+ left : 'Vänsterjustera',
+ center : 'Centrera',
+ right : 'Högerjustera',
+ block : 'Justera till marginaler'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'Klistra in',
+ cutError : 'Säkerhetsinställningar i Er webläsare tillåter inte åtgården Klipp ut. Använd (Ctrl/Cmd+X) istället.',
+ copyError : 'Säkerhetsinställningar i Er webläsare tillåter inte åtgården Kopiera. Använd (Ctrl/Cmd+C) istället',
+ pasteMsg : 'Var god och klistra in Er text i rutan nedan genom att använda (<STRONG>Ctrl/Cmd+V</STRONG>) klicka sen på <STRONG>OK</STRONG>.',
+ securityMsg : 'På grund av din webläsares säkerhetsinställningar kan verktyget inte få åtkomst till urklippsdatan. Var god och använd detta fönster istället.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'Klistra in från Word',
+ title : 'Klistra in från Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Klistra in som vanlig text',
+ title : 'Klistra in som vanlig text'
+ },
+
+ templates :
+ {
+ button : 'Sidmallar',
+ title : 'Sidmallar',
+ options : 'Template Options', // MISSING
+ insertOption : 'Ersätt aktuellt innehåll',
+ selectPromptMsg : 'Var god välj en mall att använda med editorn<br>(allt nuvarande innehåll raderas):',
+ emptyListMsg : '(Ingen mall är vald)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'Anpassad stil',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'Teckenformat',
+ panelTitle : 'Teckenformat',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formaterad',
+ tag_address : 'Adress',
+ tag_h1 : 'Rubrik 1',
+ tag_h2 : 'Rubrik 2',
+ tag_h3 : 'Rubrik 3',
+ tag_h4 : 'Rubrik 4',
+ tag_h5 : 'Rubrik 5',
+ tag_h6 : 'Rubrik 6',
+ tag_div : 'Normal (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'Typsnitt',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'Typsnitt'
+ },
+
+ fontSize :
+ {
+ label : 'Storlek',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'Storlek'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Textfärg',
+ bgColorTitle : 'Bakgrundsfärg',
+ panelTitle : 'Colors', // MISSING
+ auto : 'Automatisk',
+ more : 'Fler färger...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/th.js b/devel/third-party/ckeditor/lang/th.js
new file mode 100644
index 0000000..e80aa97
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/th.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Thai language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['th'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'à¸à¸¹à¸£à¸«à¸±à¸ª HTML',
+ newPage : 'สรà¹à¸²à¸à¸«à¸à¹à¸²à¹à¸à¸à¸ªà¸²à¸£à¹à¸«à¸¡à¹',
+ save : 'à¸à¸±à¸à¸à¸¶à¸',
+ preview : 'à¸à¸¹à¸«à¸à¹à¸²à¹à¸à¸à¸ªà¸²à¸£à¸à¸±à¸§à¸à¸¢à¹à¸²à¸',
+ cut : 'à¸à¸±à¸',
+ copy : 'สำà¹à¸à¸²',
+ paste : 'วาà¸',
+ print : 'สัà¹à¸à¸à¸´à¸¡à¸à¹',
+ underline : 'à¸à¸±à¸§à¸à¸µà¸à¹à¸ªà¹à¸à¹à¸à¹',
+ bold : 'à¸à¸±à¸§à¸«à¸à¸²',
+ italic : 'à¸à¸±à¸§à¹à¸à¸µà¸¢à¸',
+ selectAll : 'à¹à¸¥à¸·à¸à¸à¸à¸±à¹à¸à¸«à¸¡à¸',
+ removeFormat : 'ลà¹à¸²à¸à¸£à¸¹à¸à¹à¸à¸',
+ strike : 'à¸à¸±à¸§à¸à¸µà¸à¹à¸ªà¹à¸à¸à¸±à¸',
+ subscript : 'à¸à¸±à¸§à¸«à¹à¸à¸¢',
+ superscript : 'à¸à¸±à¸§à¸¢à¸',
+ horizontalrule : 'à¹à¸à¸£à¸à¹à¸ªà¹à¸à¸à¸±à¹à¸à¸à¸£à¸£à¸à¸±à¸',
+ pagebreak : 'à¹à¸à¸£à¸à¸à¸±à¸§à¹à¸à¹à¸à¸«à¸à¹à¸² Page Break',
+ unlink : 'ลภลิà¸à¸à¹',
+ undo : 'ยà¸à¹à¸¥à¸´à¸à¸à¸³à¸ªà¸±à¹à¸',
+ redo : 'à¸à¸³à¸à¹à¸³à¸à¸³à¸ªà¸±à¹à¸',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'à¹à¸à¸´à¸à¸«à¸à¹à¸²à¸à¹à¸²à¸à¸à¸±à¸à¸à¸²à¸£à¹à¸à¸¥à¹à¸à¸±à¸à¹à¸«à¸¥à¸',
+ url : 'à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¹à¸²à¸à¸à¸´à¸ URL',
+ protocol : 'à¹à¸à¸£à¹à¸à¸à¸à¸¥',
+ upload : 'à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹',
+ uploadSubmit : 'à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¹à¸à¹à¸à¹à¸à¹à¸§à¹à¸à¸µà¹à¹à¸à¸£à¸·à¹à¸à¸à¹à¸¡à¹à¸à¹à¸²à¸¢ (à¹à¸à¸´à¸£à¹à¸à¹à¸§à¸à¸£à¹)',
+ image : 'รูà¸à¸ าà¸',
+ flash : 'à¹à¸à¸¥à¹ Flash',
+ form : 'à¹à¸à¸à¸à¸à¸£à¹à¸¡',
+ checkbox : 'à¹à¸à¹à¸à¸à¹à¸à¸',
+ radio : 'à¹à¸£à¸à¸´à¹à¸à¸à¸±à¸à¸à¸à¸',
+ textField : 'à¹à¸à¹à¸à¸à¹à¸à¸´à¸¥à¸à¹',
+ textarea : 'à¹à¸à¹à¸à¸à¹à¹à¸à¹à¸£à¸µà¸¢',
+ hiddenField : 'ฮิà¸à¹à¸à¸à¸à¸´à¸¥à¸à¹',
+ button : 'à¸à¸¸à¹à¸¡',
+ select : 'à¹à¸à¸à¸à¸±à¸§à¹à¸¥à¸·à¸à¸',
+ imageButton : 'à¸à¸¸à¹à¸¡à¹à¸à¸à¸£à¸¹à¸à¸ าà¸',
+ notSet : '<à¹à¸¡à¹à¸£à¸°à¸à¸¸>',
+ id : 'à¹à¸à¸à¸µ',
+ name : 'à¸à¸·à¹à¸',
+ langDir : 'à¸à¸²à¸£à¹à¸à¸µà¸¢à¸-à¸à¹à¸²à¸à¸ าษา',
+ langDirLtr : 'à¸à¸²à¸à¸à¹à¸²à¸¢à¹à¸à¸à¸§à¸² (LTR)',
+ langDirRtl : 'à¸à¸²à¸à¸à¸§à¸²à¸¡à¸²à¸à¹à¸²à¸¢ (RTL)',
+ langCode : 'รหัสภาษา',
+ longDescr : 'à¸à¸³à¸à¸à¸´à¸à¸²à¸¢à¸à¸£à¸°à¸à¸à¸ URL',
+ cssClass : 'à¸à¸¥à¸²à¸ªà¸à¸à¸à¹à¸à¸¥à¹à¸à¸³à¸«à¸à¸à¸¥à¸±à¸à¸©à¸à¸°à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥',
+ advisoryTitle : 'à¸à¸³à¹à¸à¸£à¸´à¹à¸à¸à¸³',
+ cssStyle : 'ลัà¸à¸©à¸à¸°à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥',
+ ok : 'à¸à¸à¸¥à¸',
+ cancel : 'ยà¸à¹à¸¥à¸´à¸',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'General', // MISSING
+ advancedTab : 'à¸à¸±à¹à¸à¸ªà¸¹à¸',
+ validateNumberFailed : 'This value is not a number.', // MISSING
+ confirmNewPage : 'Any unsaved changes to this content will be lost. Are you sure you want to load new page?', // MISSING
+ confirmCancel : 'Some of the options have been changed. Are you sure to close the dialog?', // MISSING
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, unavailable</span>' // MISSING
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'à¹à¸à¸£à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¸à¸´à¹à¸¨à¸©',
+ title : 'à¹à¸à¸£à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¸à¸´à¹à¸¨à¸©',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'à¹à¸à¸£à¸/à¹à¸à¹à¹à¸ ลิà¸à¸à¹',
+ other : '<à¸à¸·à¹à¸ à¹>',
+ menu : 'à¹à¸à¹à¹à¸ ลิà¸à¸à¹',
+ title : 'ลิà¸à¸à¹à¹à¸à¸·à¹à¸à¸¡à¹à¸¢à¸à¹à¸§à¹à¸ à¸à¸µà¹à¸¡à¸¥à¹ รูà¸à¸ าภหรืà¸à¹à¸à¸¥à¹à¸à¸·à¹à¸à¹',
+ info : 'รายละà¹à¸à¸µà¸¢à¸',
+ target : 'à¸à¸²à¸£à¹à¸à¸´à¸à¸«à¸à¹à¸²à¸¥à¸´à¸à¸à¹',
+ upload : 'à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹',
+ advanced : 'à¸à¸±à¹à¸à¸ªà¸¹à¸',
+ type : 'à¸à¸£à¸°à¹à¸ à¸à¸à¸à¸à¸¥à¸´à¸à¸à¹',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'à¸à¸¸à¸à¹à¸à¸·à¹à¸à¸¡à¹à¸¢à¸ (Anchor)',
+ toEmail : 'สà¹à¸à¸à¸µà¹à¸¡à¸¥à¹ (E-Mail)',
+ targetFrame : '<à¹à¸à¸´à¸à¹à¸à¹à¸à¸£à¸¡>',
+ targetPopup : '<à¹à¸à¸´à¸à¸«à¸à¹à¸²à¸à¸à¹à¸¥à¹à¸ (Pop-up)>',
+ targetFrameName : 'à¸à¸·à¹à¸à¸à¸²à¸£à¹à¹à¸à¹à¸à¹à¸à¸£à¸¡',
+ targetPopupName : 'ระà¸à¸¸à¸à¸·à¹à¸à¸«à¸à¹à¸²à¸à¸à¹à¸¥à¹à¸ (Pop-up)',
+ popupFeatures : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸à¸«à¸à¹à¸²à¸à¸à¹à¸¥à¹à¸ (Pop-up)',
+ popupResizable : 'Resizable', // MISSING
+ popupStatusBar : 'à¹à¸ªà¸à¸à¹à¸à¸à¸ªà¸à¸²à¸à¸°',
+ popupLocationBar: 'à¹à¸ªà¸à¸à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¸à¸à¹à¸à¸¥à¹',
+ popupToolbar : 'à¹à¸ªà¸à¸à¹à¸à¸à¹à¸à¸£à¸·à¹à¸à¸à¸¡à¸·à¸',
+ popupMenuBar : 'à¹à¸ªà¸à¸à¹à¸à¸à¹à¸¡à¸à¸¹',
+ popupFullScreen : 'à¹à¸ªà¸à¸à¹à¸à¹à¸¡à¸«à¸à¹à¸²à¸à¸ (IE5.5++ à¹à¸à¹à¸²à¸à¸±à¹à¸)',
+ popupScrollBars : 'à¹à¸ªà¸à¸à¹à¸à¸à¹à¸¥à¸·à¹à¸à¸',
+ popupDependent : 'à¹à¸ªà¸à¸à¹à¸à¹à¸¡à¸«à¸à¹à¸²à¸à¸ (Netscape)',
+ popupWidth : 'à¸à¸§à¹à¸²à¸',
+ popupLeft : 'à¸à¸´à¸à¸±à¸à¸à¹à¸²à¸¢ (Left Position)',
+ popupHeight : 'สูà¸',
+ popupTop : 'à¸à¸´à¸à¸±à¸à¸à¸ (Top Position)',
+ id : 'Id', // MISSING
+ langDir : 'à¸à¸²à¸£à¹à¸à¸µà¸¢à¸-à¸à¹à¸²à¸à¸ าษา',
+ langDirLTR : 'à¸à¸²à¸à¸à¹à¸²à¸¢à¹à¸à¸à¸§à¸² (LTR)',
+ langDirRTL : 'à¸à¸²à¸à¸à¸§à¸²à¸¡à¸²à¸à¹à¸²à¸¢ (RTL)',
+ acccessKey : 'à¹à¸à¸à¹à¸à¸ª à¸à¸µà¸¢à¹',
+ name : 'à¸à¸·à¹à¸',
+ langCode : 'à¸à¸²à¸£à¹à¸à¸µà¸¢à¸-à¸à¹à¸²à¸à¸ าษา',
+ tabIndex : 'ลำà¸à¸±à¸à¸à¸à¸ à¹à¸à¹à¸',
+ advisoryTitle : 'à¸à¸³à¹à¸à¸£à¸´à¹à¸à¸à¸³',
+ advisoryContentType : 'à¸à¸à¸´à¸à¸à¸à¸à¸à¸³à¹à¸à¸£à¸´à¹à¸à¸à¸³',
+ cssClasses : 'à¸à¸¥à¸²à¸ªà¸à¸à¸à¹à¸à¸¥à¹à¸à¸³à¸«à¸à¸à¸¥à¸±à¸à¸©à¸à¸°à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥',
+ charset : 'ลิà¸à¸à¹à¹à¸à¸·à¹à¸à¸¡à¹à¸¢à¸à¹à¸à¸¢à¸±à¸à¸à¸¸à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£',
+ styles : 'ลัà¸à¸©à¸à¸°à¸à¸²à¸£à¹à¸ªà¸à¸à¸à¸¥',
+ selectAnchor : 'ระà¸à¸¸à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸à¸¸à¸à¹à¸à¸·à¹à¸à¸¡à¹à¸¢à¸ (Anchor)',
+ anchorName : 'à¸à¸·à¹à¸',
+ anchorId : 'à¹à¸à¸à¸µ',
+ emailAddress : 'à¸à¸µà¹à¸¡à¸¥à¹ (E-Mail)',
+ emailSubject : 'หัวà¹à¸£à¸·à¹à¸à¸',
+ emailBody : 'à¸à¹à¸à¸à¸§à¸²à¸¡',
+ noAnchors : '(ยัà¸à¹à¸¡à¹à¸¡à¸µà¸à¸¸à¸à¹à¸à¸·à¹à¸à¸¡à¹à¸¢à¸à¸ ายà¹à¸à¸«à¸à¹à¸²à¹à¸à¸à¸ªà¸²à¸£à¸à¸µà¹)',
+ noUrl : 'à¸à¸£à¸¸à¸à¸²à¸£à¸°à¸à¸¸à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¹à¸²à¸à¸à¸´à¸à¸à¸à¸à¹à¸¥à¸à¹ (URL)',
+ noEmail : 'à¸à¸£à¸¸à¸à¸²à¸£à¸°à¸à¸¸à¸à¸µà¹à¸¡à¸¥à¹ (E-mail)'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'à¹à¸à¸£à¸/à¹à¸à¹à¹à¸ Anchor',
+ menu : 'รายละà¹à¸à¸µà¸¢à¸ Anchor',
+ title : 'รายละà¹à¸à¸µà¸¢à¸ Anchor',
+ name : 'à¸à¸·à¹à¸ Anchor',
+ errorName : 'à¸à¸£à¸¸à¸à¸²à¸£à¸°à¸à¸¸à¸à¸·à¹à¸à¸à¸à¸ Anchor'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Find and Replace', // MISSING
+ find : 'à¸à¹à¸à¸«à¸²',
+ replace : 'à¸à¹à¸à¸«à¸²à¹à¸¥à¸°à¹à¸à¸à¸à¸µà¹',
+ findWhat : 'à¸à¹à¸à¸«à¸²à¸à¸³à¸§à¹à¸²:',
+ replaceWith : 'à¹à¸à¸à¸à¸µà¹à¸à¹à¸§à¸¢:',
+ notFoundMsg : 'à¹à¸¡à¹à¸à¸à¸à¸³à¸à¸µà¹à¸à¹à¸à¸«à¸².',
+ matchCase : 'à¸à¸±à¸§à¹à¸«à¸à¹-à¹à¸¥à¹à¸ à¸à¹à¸à¸à¸à¸£à¸à¸à¸±à¸',
+ matchWord : 'à¸à¹à¸à¸à¸à¸£à¸à¸à¸±à¸à¸à¸¸à¸à¸à¸³',
+ matchCyclic : 'Match cyclic', // MISSING
+ replaceAll : 'à¹à¸à¸à¸à¸µà¹à¸à¸±à¹à¸à¸«à¸¡à¸à¸à¸µà¹à¸à¸',
+ replaceSuccessMsg : '%1 occurrence(s) replaced.' // MISSING
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'à¸à¸²à¸£à¸²à¸',
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¸à¸²à¸£à¸²à¸',
+ menu : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¸à¸²à¸£à¸²à¸',
+ deleteTable : 'ลà¸à¸à¸²à¸£à¸²à¸',
+ rows : 'à¹à¸à¸§',
+ columns : 'สà¸à¸¡à¸à¹',
+ border : 'à¸à¸à¸²à¸à¹à¸ªà¹à¸à¸à¸à¸',
+ align : 'à¸à¸²à¸£à¸à¸±à¸à¸à¸³à¹à¸«à¸à¹à¸',
+ alignLeft : 'à¸à¸´à¸à¸à¹à¸²à¸¢',
+ alignCenter : 'à¸à¸¶à¹à¸à¸à¸¥à¸²à¸',
+ alignRight : 'à¸à¸´à¸à¸à¸§à¸²',
+ width : 'à¸à¸§à¹à¸²à¸',
+ widthPx : 'à¸à¸¸à¸à¸ªà¸µ',
+ widthPc : 'à¹à¸à¸à¸£à¹à¹à¸à¹à¸',
+ widthUnit : 'width unit', // MISSING
+ height : 'สูà¸',
+ cellSpace : 'ระยะà¹à¸à¸§à¸à¸à¸à¸',
+ cellPad : 'ระยะà¹à¸à¸§à¸à¸±à¹à¸',
+ caption : 'หัวà¹à¸£à¸·à¹à¸à¸à¸à¸à¸à¸à¸²à¸£à¸²à¸',
+ summary : 'สรุà¸à¸à¸§à¸²à¸¡',
+ headers : 'Headers', // MISSING
+ headersNone : 'None', // MISSING
+ headersColumn : 'First column', // MISSING
+ headersRow : 'First Row', // MISSING
+ headersBoth : 'Both', // MISSING
+ invalidRows : 'Number of rows must be a number greater than 0.', // MISSING
+ invalidCols : 'Number of columns must be a number greater than 0.', // MISSING
+ invalidBorder : 'Border size must be a number.', // MISSING
+ invalidWidth : 'Table width must be a number.', // MISSING
+ invalidHeight : 'Table height must be a number.', // MISSING
+ invalidCellSpacing : 'Cell spacing must be a number.', // MISSING
+ invalidCellPadding : 'Cell padding must be a number.', // MISSING
+
+ cell :
+ {
+ menu : 'à¸à¹à¸à¸à¸à¸²à¸£à¸²à¸',
+ insertBefore : 'Insert Cell Before', // MISSING
+ insertAfter : 'Insert Cell After', // MISSING
+ deleteCell : 'ลà¸à¸à¹à¸à¸',
+ merge : 'à¸à¸ªà¸²à¸à¸à¹à¸à¸',
+ mergeRight : 'Merge Right', // MISSING
+ mergeDown : 'Merge Down', // MISSING
+ splitHorizontal : 'Split Cell Horizontally', // MISSING
+ splitVertical : 'Split Cell Vertically', // MISSING
+ title : 'Cell Properties', // MISSING
+ cellType : 'Cell Type', // MISSING
+ rowSpan : 'Rows Span', // MISSING
+ colSpan : 'Columns Span', // MISSING
+ wordWrap : 'Word Wrap', // MISSING
+ hAlign : 'Horizontal Alignment', // MISSING
+ vAlign : 'Vertical Alignment', // MISSING
+ alignTop : 'Top', // MISSING
+ alignMiddle : 'Middle', // MISSING
+ alignBottom : 'Bottom', // MISSING
+ alignBaseline : 'Baseline', // MISSING
+ bgColor : 'Background Color', // MISSING
+ borderColor : 'Border Color', // MISSING
+ data : 'Data', // MISSING
+ header : 'Header', // MISSING
+ yes : 'Yes', // MISSING
+ no : 'No', // MISSING
+ invalidWidth : 'Cell width must be a number.', // MISSING
+ invalidHeight : 'Cell height must be a number.', // MISSING
+ invalidRowSpan : 'Rows span must be a whole number.', // MISSING
+ invalidColSpan : 'Columns span must be a whole number.', // MISSING
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'à¹à¸à¸§',
+ insertBefore : 'Insert Row Before', // MISSING
+ insertAfter : 'Insert Row After', // MISSING
+ deleteRow : 'ลà¸à¹à¸à¸§'
+ },
+
+ column :
+ {
+ menu : 'à¸à¸à¸¥à¸±à¸¡à¸à¹',
+ insertBefore : 'Insert Column Before', // MISSING
+ insertAfter : 'Insert Column After', // MISSING
+ deleteColumn : 'ลà¸à¸ªà¸à¸¡à¸à¹'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'รายละà¹à¸à¸µà¸¢à¸à¸à¸à¸ à¸à¸¸à¹à¸¡',
+ text : 'à¸à¹à¸à¸à¸§à¸²à¸¡ (à¸à¹à¸²à¸à¸±à¸§à¹à¸à¸£)',
+ type : 'à¸à¹à¸à¸à¸§à¸²à¸¡',
+ typeBtn : 'Button',
+ typeSbm : 'Submit',
+ typeRst : 'Reset'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¹à¸à¹à¸à¸à¹à¸à¸',
+ radioTitle : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¹à¸£à¸à¸´à¹à¸à¸à¸±à¸à¸à¸à¸',
+ value : 'à¸à¹à¸²à¸à¸±à¸§à¹à¸à¸£',
+ selected : 'à¹à¸¥à¸·à¸à¸à¹à¸à¹à¸à¸à¹à¸²à¹à¸£à¸´à¹à¸¡à¸à¹à¸'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¹à¸à¸à¸à¸à¸£à¹à¸¡',
+ menu : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¹à¸à¸à¸à¸à¸£à¹à¸¡',
+ action : 'à¹à¸à¸à¸à¸±à¹à¸',
+ method : 'à¹à¸¡à¸à¸à¸',
+ encoding : 'Encoding' // MISSING
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¹à¸à¸à¸à¸±à¸§à¹à¸¥à¸·à¸à¸',
+ selectInfo : 'à¸à¸´à¸à¹à¸',
+ opAvail : 'รายà¸à¸²à¸£à¸à¸±à¸§à¹à¸¥à¸·à¸à¸',
+ value : 'à¸à¹à¸²à¸à¸±à¸§à¹à¸à¸£',
+ size : 'à¸à¸à¸²à¸',
+ lines : 'à¸à¸£à¸£à¸à¸±à¸',
+ chkMulti : 'à¹à¸¥à¸·à¸à¸à¸«à¸¥à¸²à¸¢à¸à¹à¸²à¹à¸à¹',
+ opText : 'à¸à¹à¸à¸à¸§à¸²à¸¡',
+ opValue : 'à¸à¹à¸²à¸à¸±à¸§à¹à¸à¸£',
+ btnAdd : 'à¹à¸à¸´à¹à¸¡',
+ btnModify : 'à¹à¸à¹à¹à¸',
+ btnUp : 'à¸à¸',
+ btnDown : 'ลà¹à¸²à¸',
+ btnSetValue : 'à¹à¸¥à¸·à¸à¸à¹à¸à¹à¸à¸à¹à¸²à¹à¸£à¸´à¹à¸¡à¸à¹à¸',
+ btnDelete : 'ลà¸'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¹à¸à¹à¸à¹à¸à¹à¸£à¸µà¸¢',
+ cols : 'สà¸à¸¡à¸ à¹',
+ rows : 'à¹à¸à¸§'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¹à¸à¹à¸à¸à¹à¸à¸´à¸¥à¸à¹',
+ name : 'à¸à¸·à¹à¸',
+ value : 'à¸à¹à¸²à¸à¸±à¸§à¹à¸à¸£',
+ charWidth : 'à¸à¸§à¸²à¸¡à¸à¸§à¹à¸²à¸',
+ maxChars : 'à¸à¸³à¸à¸§à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¸ªà¸¹à¸à¸ªà¸¸à¸',
+ type : 'à¸à¸à¸´à¸',
+ typeText : 'à¸à¹à¸à¸à¸§à¸²à¸¡',
+ typePass : 'รหัสà¸à¹à¸²à¸'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ ฮิà¸à¹à¸à¸à¸à¸´à¸¥à¸à¹',
+ name : 'à¸à¸·à¹à¸',
+ value : 'à¸à¹à¸²à¸à¸±à¸§à¹à¸à¸£'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ รูà¸à¸ าà¸',
+ titleButton : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ à¸à¸¸à¹à¸¡à¹à¸à¸à¸£à¸¹à¸à¸ าà¸',
+ menu : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸ รูà¸à¸ าà¸',
+ infoTab : 'à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸à¸à¸£à¸¹à¸à¸ าà¸',
+ btnUpload : 'à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹à¹à¸à¹à¸à¹à¸à¹à¸§à¹à¸à¸µà¹à¹à¸à¸£à¸·à¹à¸à¸à¹à¸¡à¹à¸à¹à¸²à¸¢ (à¹à¸à¸´à¸£à¹à¸à¹à¸§à¸à¸£à¹)',
+ upload : 'à¸à¸±à¸à¹à¸«à¸¥à¸à¹à¸à¸¥à¹',
+ alt : 'à¸à¸³à¸à¸£à¸°à¸à¸à¸à¸£à¸¹à¸à¸ าà¸',
+ width : 'à¸à¸§à¸²à¸¡à¸à¸§à¹à¸²à¸',
+ height : 'à¸à¸§à¸²à¸¡à¸ªà¸¹à¸',
+ lockRatio : 'à¸à¸³à¸«à¸à¸à¸à¸±à¸à¸£à¸²à¸ªà¹à¸§à¸ à¸à¸§à¹à¸²à¸-สูภà¹à¸à¸à¸à¸à¸à¸µà¹',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'à¸à¸³à¸«à¸à¸à¸£à¸¹à¸à¹à¸à¹à¸²à¸à¸à¸²à¸à¸à¸£à¸´à¸',
+ border : 'à¸à¸à¸²à¸à¸à¸à¸à¸£à¸¹à¸',
+ hSpace : 'ระยะà¹à¸à¸§à¸à¸à¸',
+ vSpace : 'ระยะà¹à¸à¸§à¸à¸±à¹à¸',
+ align : 'à¸à¸²à¸£à¸à¸±à¸à¸§à¸²à¸',
+ alignLeft : 'à¸à¸´à¸à¸à¹à¸²à¸¢',
+ alignRight : 'à¸à¸´à¸à¸à¸§à¸²',
+ alertUrl : 'à¸à¸£à¸¸à¸à¸²à¸£à¸°à¸à¸¸à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¹à¸²à¸à¸à¸´à¸à¸à¸à¸à¹à¸¥à¸à¹à¸à¸à¸à¹à¸à¸¥à¹à¸£à¸¹à¸à¸ าภ(URL)',
+ linkTab : 'ลิà¹à¸à¸à¹',
+ button2Img : 'Do you want to transform the selected image button on a simple image?', // MISSING
+ img2Button : 'Do you want to transform the selected image on a image button?', // MISSING
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸à¹à¸à¸¥à¹ Flash',
+ propertiesTab : 'Properties', // MISSING
+ title : 'à¸à¸¸à¸à¸ªà¸¡à¸à¸±à¸à¸´à¸à¸à¸à¹à¸à¸¥à¹ Flash',
+ chkPlay : 'à¹à¸¥à¹à¸à¸à¸±à¸à¹à¸à¸¡à¸±à¸à¸´ Auto Play',
+ chkLoop : 'à¹à¸¥à¹à¸à¸§à¸à¸£à¸à¸ Loop',
+ chkMenu : 'à¹à¸«à¹à¹à¸à¹à¸à¸²à¸à¹à¸¡à¸à¸¹à¸à¸à¸ Flash',
+ chkFull : 'Allow Fullscreen', // MISSING
+ scale : 'à¸à¸±à¸à¸£à¸²à¸ªà¹à¸§à¸ Scale',
+ scaleAll : 'à¹à¸ªà¸à¸à¹à¸«à¹à¹à¸«à¹à¸à¸à¸±à¹à¸à¸«à¸¡à¸ Show all',
+ scaleNoBorder : 'à¹à¸¡à¹à¹à¸ªà¸à¸à¹à¸ªà¹à¸à¸à¸à¸ No Border',
+ scaleFit : 'à¹à¸ªà¸à¸à¹à¸«à¹à¸à¸à¸à¸µà¸à¸±à¸à¸à¸·à¹à¸à¸à¸µà¹ Exact Fit',
+ access : 'Script Access', // MISSING
+ accessAlways : 'Always', // MISSING
+ accessSameDomain: 'Same domain', // MISSING
+ accessNever : 'Never', // MISSING
+ align : 'à¸à¸²à¸£à¸à¸±à¸à¸§à¸²à¸',
+ alignLeft : 'à¸à¸´à¸à¸à¹à¸²à¸¢',
+ alignAbsBottom : 'à¸à¸´à¸à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¸ªà¸¸à¸',
+ alignAbsMiddle : 'à¸à¸¶à¹à¸à¸à¸¥à¸²à¸',
+ alignBaseline : 'à¸à¸´à¸à¸à¸£à¸£à¸à¸±à¸',
+ alignBottom : 'à¸à¸´à¸à¸à¹à¸²à¸à¸¥à¹à¸²à¸',
+ alignMiddle : 'à¸à¸¶à¹à¸à¸à¸¥à¸²à¸à¹à¸à¸§à¸à¸±à¹à¸',
+ alignRight : 'à¸à¸´à¸à¸à¸§à¸²',
+ alignTextTop : 'à¹à¸à¹à¸à¸±à¸§à¸à¸±à¸à¸©à¸£',
+ alignTop : 'à¸à¸à¸ªà¸¸à¸',
+ quality : 'Quality', // MISSING
+ qualityBest : 'Best', // MISSING
+ qualityHigh : 'High', // MISSING
+ qualityAutoHigh : 'Auto High', // MISSING
+ qualityMedium : 'Medium', // MISSING
+ qualityAutoLow : 'Auto Low', // MISSING
+ qualityLow : 'Low', // MISSING
+ windowModeWindow: 'Window', // MISSING
+ windowModeOpaque: 'Opaque', // MISSING
+ windowModeTransparent : 'Transparent', // MISSING
+ windowMode : 'Window mode', // MISSING
+ flashvars : 'Variables for Flash', // MISSING
+ bgcolor : 'สีà¸à¸·à¹à¸à¸«à¸¥à¸±à¸',
+ width : 'à¸à¸§à¸²à¸¡à¸à¸§à¹à¸²à¸',
+ height : 'à¸à¸§à¸²à¸¡à¸ªà¸¹à¸',
+ hSpace : 'ระยะà¹à¸à¸§à¸à¸à¸',
+ vSpace : 'ระยะà¹à¸à¸§à¸à¸±à¹à¸',
+ validateSrc : 'à¸à¸£à¸¸à¸à¸²à¸£à¸°à¸à¸¸à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¹à¸²à¸à¸à¸´à¸à¸à¸à¸à¹à¸¥à¸à¹ (URL)',
+ validateWidth : 'Width must be a number.', // MISSING
+ validateHeight : 'Height must be a number.', // MISSING
+ validateHSpace : 'HSpace must be a number.', // MISSING
+ validateVSpace : 'VSpace must be a number.' // MISSING
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'à¸à¸£à¸§à¸à¸à¸²à¸£à¸ªà¸°à¸à¸à¸à¸³',
+ title : 'Spell Check', // MISSING
+ notAvailable : 'Sorry, but service is unavailable now.', // MISSING
+ errorLoading : 'Error loading application service host: %s.', // MISSING
+ notInDic : 'à¹à¸¡à¹à¸à¸à¹à¸à¸à¸´à¸à¸à¸±à¸à¸à¸²à¸£à¸µ',
+ changeTo : 'à¹à¸à¹à¹à¸à¹à¸à¹à¸',
+ btnIgnore : 'ยà¸à¹à¸§à¹à¸',
+ btnIgnoreAll : 'ยà¸à¹à¸§à¹à¸à¸à¸±à¹à¸à¸«à¸¡à¸',
+ btnReplace : 'à¹à¸à¸à¸à¸µà¹',
+ btnReplaceAll : 'à¹à¸à¸à¸à¸µà¹à¸à¸±à¹à¸à¸«à¸¡à¸',
+ btnUndo : 'ยà¸à¹à¸¥à¸´à¸',
+ noSuggestions : '- à¹à¸¡à¹à¸¡à¸µà¸à¸³à¹à¸à¸°à¸à¸³à¹à¸à¹ -',
+ progress : 'à¸à¸³à¸¥à¸±à¸à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸³à¸ªà¸°à¸à¸...',
+ noMispell : 'à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸³à¸ªà¸°à¸à¸à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸: à¹à¸¡à¹à¸à¸à¸à¸³à¸ªà¸°à¸à¸à¸à¸´à¸',
+ noChanges : 'à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸³à¸ªà¸°à¸à¸à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸: à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¹à¸à¹à¸à¸³à¹à¸à¹',
+ oneChange : 'à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸³à¸ªà¸°à¸à¸à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸: à¹à¸à¹à¹à¸1à¸à¸³',
+ manyChanges : 'à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸³à¸ªà¸°à¸à¸à¹à¸ªà¸£à¹à¸à¸ªà¸´à¹à¸:: à¹à¸à¹à¹à¸ %1 à¸à¸³',
+ ieSpellDownload : 'à¹à¸¡à¹à¹à¸à¹à¸à¸´à¸à¸à¸±à¹à¸à¸£à¸°à¸à¸à¸à¸£à¸§à¸à¸ªà¸à¸à¸à¸³à¸ªà¸°à¸à¸. à¸à¹à¸à¸à¸à¸²à¸£à¸à¸´à¸à¸à¸±à¹à¸à¹à¸«à¸¡à¸à¸£à¸±à¸?'
+ },
+
+ smiley :
+ {
+ toolbar : 'รูà¸à¸ªà¸·à¹à¸à¸à¸²à¸£à¸¡à¸à¹',
+ title : 'à¹à¸à¸£à¸à¸ªà¸±à¸à¸¥à¸±à¸à¸©à¸à¹à¸ªà¸·à¹à¸à¸à¸²à¸£à¸¡à¸à¹',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 element' // MISSING
+ },
+
+ numberedlist : 'ลำà¸à¸±à¸à¸£à¸²à¸¢à¸à¸²à¸£à¹à¸à¸à¸à¸±à¸§à¹à¸¥à¸',
+ bulletedlist : 'ลำà¸à¸±à¸à¸£à¸²à¸¢à¸à¸²à¸£à¹à¸à¸à¸ªà¸±à¸à¸¥à¸±à¸à¸©à¸à¹',
+ indent : 'à¹à¸à¸´à¹à¸¡à¸£à¸°à¸¢à¸°à¸¢à¹à¸à¸«à¸à¹à¸²',
+ outdent : 'ลà¸à¸£à¸°à¸¢à¸°à¸¢à¹à¸à¸«à¸à¹à¸²',
+
+ justify :
+ {
+ left : 'à¸à¸±à¸à¸à¸´à¸à¸à¹à¸²à¸¢',
+ center : 'à¸à¸±à¸à¸à¸¶à¹à¸à¸à¸¥à¸²à¸',
+ right : 'à¸à¸±à¸à¸à¸´à¸à¸à¸§à¸²',
+ block : 'à¸à¸±à¸à¸à¸à¸à¸µà¸«à¸à¹à¸²à¸à¸£à¸°à¸à¸²à¸©'
+ },
+
+ blockquote : 'Block Quote', // MISSING
+
+ clipboard :
+ {
+ title : 'วาà¸',
+ cutError : 'à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸±à¸à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¸µà¹à¹à¸¥à¸·à¸à¸à¹à¸§à¹à¹à¸à¹à¹à¸à¸·à¹à¸à¸à¸à¸²à¸à¸à¸²à¸£à¸à¸³à¸«à¸à¸à¸à¹à¸²à¸£à¸°à¸à¸±à¸à¸à¸§à¸²à¸¡à¸à¸¥à¸à¸à¸ ัย. à¸à¸£à¸¸à¸à¸²à¹à¸à¹à¸à¸¸à¹à¸¡à¸¥à¸±à¸à¹à¸à¸·à¹à¸à¸§à¸²à¸à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ (à¸à¸à¸à¸¸à¹à¸¡ Ctrl/Cmd à¹à¸¥à¸°à¸à¸±à¸§ X à¸à¸£à¹à¸à¸¡à¸à¸±à¸).',
+ copyError : 'à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸ªà¸³à¹à¸à¸²à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¸µà¹à¹à¸¥à¸·à¸à¸à¹à¸§à¹à¹à¸à¹à¹à¸à¸·à¹à¸à¸à¸à¸²à¸à¸à¸²à¸£à¸à¸³à¸«à¸à¸à¸à¹à¸²à¸£à¸°à¸à¸±à¸à¸à¸§à¸²à¸¡à¸à¸¥à¸à¸à¸ ัย. à¸à¸£à¸¸à¸à¸²à¹à¸à¹à¸à¸¸à¹à¸¡à¸¥à¸±à¸à¹à¸à¸·à¹à¸à¸§à¸²à¸à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ (à¸à¸à¸à¸¸à¹à¸¡ Ctrl/Cmd à¹à¸¥à¸°à¸à¸±à¸§ C à¸à¸£à¹à¸à¸¡à¸à¸±à¸).',
+ pasteMsg : 'à¸à¸£à¸¸à¸à¸²à¹à¸à¹à¸à¸µà¸¢à¹à¸à¸à¸£à¹à¸à¹à¸à¹à¸²à¸à¸±à¹à¸ à¹à¸à¸¢à¸à¸à¸à¸¸à¹à¸¡ (<strong>Ctrl/Cmd à¹à¸¥à¸° V</strong>)à¸à¸£à¹à¸à¸¡à¹à¸à¸±à¸ à¹à¸¥à¸°à¸à¸ <strong>OK</strong>.',
+ securityMsg : 'Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.', // MISSING
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
+ toolbar : 'วาà¸à¸ªà¸³à¹à¸à¸²à¸à¸²à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¹à¸§à¸´à¸£à¹à¸',
+ title : 'วาà¸à¸ªà¸³à¹à¸à¸²à¸à¸²à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¹à¸§à¸´à¸£à¹à¸',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'วาà¸à¹à¸à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¸à¸£à¸£à¸¡à¸à¸²',
+ title : 'วาà¸à¹à¸à¸à¸à¸±à¸§à¸à¸±à¸à¸©à¸£à¸à¸£à¸£à¸¡à¸à¸²'
+ },
+
+ templates :
+ {
+ button : 'à¹à¸à¸¡à¹à¸à¸¥à¸',
+ title : 'à¹à¸à¸¡à¹à¸à¸¥à¸à¸à¸à¸à¸ªà¹à¸§à¸à¹à¸à¸·à¹à¸à¸«à¸²à¹à¸§à¹à¸à¹à¸à¸à¹',
+ options : 'Template Options', // MISSING
+ insertOption : 'à¹à¸à¸à¸à¸µà¹à¹à¸à¸·à¹à¸à¸«à¸²à¹à¸§à¹à¸à¹à¸à¸à¹à¸à¸µà¹à¹à¸¥à¸·à¸à¸',
+ selectPromptMsg : 'à¸à¸£à¸¸à¸à¸²à¹à¸¥à¸·à¸à¸ à¹à¸à¸¡à¹à¸à¸¥à¸ à¹à¸à¸·à¹à¸à¸à¸³à¹à¸à¹à¸à¹à¹à¸à¹à¸à¸à¸µà¸à¸´à¸à¹à¸à¸à¸£à¹<br />(à¹à¸à¸·à¹à¸à¸«à¸²à¸ªà¹à¸§à¸à¸à¸µà¹à¸à¸°à¸«à¸²à¸¢à¹à¸):',
+ emptyListMsg : '(ยัà¸à¹à¸¡à¹à¸¡à¸µà¸à¸²à¸£à¸à¸³à¸«à¸à¸à¹à¸à¸¡à¹à¸à¸¥à¸)'
+ },
+
+ showBlocks : 'Show Blocks', // MISSING
+
+ stylesCombo :
+ {
+ label : 'ลัà¸à¸©à¸à¸°',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block Styles', // MISSING
+ panelTitle2 : 'Inline Styles', // MISSING
+ panelTitle3 : 'Object Styles' // MISSING
+ },
+
+ format :
+ {
+ label : 'รูà¸à¹à¸à¸',
+ panelTitle : 'รูà¸à¹à¸à¸',
+
+ tag_p : 'Normal',
+ tag_pre : 'Formatted',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Paragraph (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'à¹à¸à¸à¸à¸±à¸à¸©à¸£',
+ voiceLabel : 'Font', // MISSING
+ panelTitle : 'à¹à¸à¸à¸à¸±à¸à¸©à¸£'
+ },
+
+ fontSize :
+ {
+ label : 'à¸à¸à¸²à¸',
+ voiceLabel : 'Font Size', // MISSING
+ panelTitle : 'à¸à¸à¸²à¸'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'สีà¸à¸±à¸§à¸à¸±à¸à¸©à¸£',
+ bgColorTitle : 'สีà¸à¸·à¹à¸à¸«à¸¥à¸±à¸',
+ panelTitle : 'Colors', // MISSING
+ auto : 'สีà¸à¸±à¸à¹à¸à¸¡à¸±à¸à¸´',
+ more : 'à¹à¸¥à¸·à¸à¸à¸ªà¸µà¸à¸·à¹à¸à¹...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Spell Check As You Type', // MISSING
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'Enable SCAYT', // MISSING
+ disable : 'Disable SCAYT', // MISSING
+ about : 'About SCAYT', // MISSING
+ toggle : 'Toggle SCAYT', // MISSING
+ options : 'Options', // MISSING
+ langs : 'Languages', // MISSING
+ moreSuggestions : 'More suggestions', // MISSING
+ ignore : 'Ignore', // MISSING
+ ignoreAll : 'Ignore All', // MISSING
+ addWord : 'Add Word', // MISSING
+ emptyDic : 'Dictionary name should not be empty.', // MISSING
+
+ optionsTab : 'Options', // MISSING
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Languages', // MISSING
+
+ dictionariesTab : 'Dictionaries', // MISSING
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'About' // MISSING
+ },
+
+ about :
+ {
+ title : 'About CKEditor', // MISSING
+ dlgTitle : 'About CKEditor', // MISSING
+ moreInfo : 'For licensing information please visit our web site:', // MISSING
+ copy : 'Copyright © $1. All rights reserved.' // MISSING
+ },
+
+ maximize : 'Maximize', // MISSING
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'Anchor', // MISSING
+ flash : 'Flash Animation', // MISSING
+ div : 'Page Break', // MISSING
+ unknown : 'Unknown Object' // MISSING
+ },
+
+ resize : 'Drag to resize', // MISSING
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/tr.js b/devel/third-party/ckeditor/lang/tr.js
new file mode 100644
index 0000000..f0135f0
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/tr.js
@@ -0,0 +1,757 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+* @fileOverview
+*/
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['tr'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Zengin metin editörü, %1, yardım için ALT 0 tuÅuna basın.',
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar',
+ editor : 'Zengin Metin Editörü',
+
+ // Toolbar buttons without dialogs.
+ source : 'Kaynak',
+ newPage : 'Yeni Sayfa',
+ save : 'Kaydet',
+ preview : 'Ãn Ä°zleme',
+ cut : 'Kes',
+ copy : 'Kopyala',
+ paste : 'YapıÅtır',
+ print : 'Yazdır',
+ underline : 'Altı Ãizgili',
+ bold : 'Kalın',
+ italic : 'Ä°talik',
+ selectAll : 'Tümünü Seç',
+ removeFormat : 'Biçimi Kaldır',
+ strike : 'Ãstü Ãizgili',
+ subscript : 'Alt Simge',
+ superscript : 'Ãst Simge',
+ horizontalrule : 'Yatay Satır Ekle',
+ pagebreak : 'Sayfa Sonu Ekle',
+ unlink : 'Köprü Kaldır',
+ undo : 'Geri Al',
+ redo : 'Tekrarla',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Sunucuyu Gez',
+ url : 'URL',
+ protocol : 'Protokol',
+ upload : 'KarÅıya Yükle',
+ uploadSubmit : 'Sunucuya Yolla',
+ image : 'Resim',
+ flash : 'Flash',
+ form : 'Form',
+ checkbox : 'Onay Kutusu',
+ radio : 'Seçenek DüÄmesi',
+ textField : 'Metin GiriÅi',
+ textarea : 'Ãok Satırlı Metin',
+ hiddenField : 'Gizli Veri',
+ button : 'DüÄme',
+ select : 'Seçim Menüsü',
+ imageButton : 'Resimli DüÄme',
+ notSet : '<tanımlanmamıÅ>',
+ id : 'Kimlik',
+ name : 'Ad',
+ langDir : 'Dil Yönü',
+ langDirLtr : 'Soldan SaÄa (LTR)',
+ langDirRtl : 'SaÄdan Sola (RTL)',
+ langCode : 'Dil Kodlaması',
+ longDescr : 'Uzun Tanımlı URL',
+ cssClass : 'Biçem Sayfası Sınıfları',
+ advisoryTitle : 'DanıÅma BaÅlıÄı',
+ cssStyle : 'Biçem',
+ ok : 'Tamam',
+ cancel : 'Ä°ptal',
+ close : 'Kapat',
+ preview : 'Ãn gösterim',
+ generalTab : 'Genel',
+ advancedTab : 'GeliÅmiÅ',
+ validateNumberFailed : 'Bu deÄer sayı deÄildir.',
+ confirmNewPage : 'Ä°ceriÄiniz kayıt edilmediÄinden dolayı kaybolacaktır. Yeni bir sayfa yüklemek istediÄinize eminsiniz?',
+ confirmCancel : 'Bazı seçenekler deÄiÅmiÅtir. Dialog penceresini kapatmak istediÄinize eminmisiniz?',
+ options : 'Seçenekler',
+ target : 'Hedef',
+ targetNew : 'Yeni Pencere (_blank)',
+ targetTop : 'Enüst Pencere (_top)',
+ targetSelf : 'Aynı Pencere (_self)',
+ targetParent : 'Ana Pencere (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, hazır deÄildir</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'İçerik Menüsü Seçenekleri'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Ãzel Karakter Ekle',
+ title : 'Ãzel Karakter Seç',
+ options : 'Ãzel Karakter Seçenekleri'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Link Ekle/Düzenle',
+ other : '<diÄer>',
+ menu : 'Link Düzenle',
+ title : 'Link',
+ info : 'Link Bilgisi',
+ target : 'Hedef',
+ upload : 'KarÅıya Yükle',
+ advanced : 'GeliÅmiÅ',
+ type : 'Link Türü',
+ toUrl : 'URL',
+ toAnchor : 'Bu sayfada çapa',
+ toEmail : 'E-Posta',
+ targetFrame : '<çerçeve>',
+ targetPopup : '<yeni açılan pencere>',
+ targetFrameName : 'Hedef Ãerçeve Adı',
+ targetPopupName : 'Yeni Açılan Pencere Adı',
+ popupFeatures : 'Yeni Açılan Pencere Ãzellikleri',
+ popupResizable : 'Resizable',
+ popupStatusBar : 'Durum ÃubuÄu',
+ popupLocationBar: 'Yer ÃubuÄu',
+ popupToolbar : 'Araç ÃubuÄu',
+ popupMenuBar : 'Menü ÃubuÄu',
+ popupFullScreen : 'Tam Ekran (IE)',
+ popupScrollBars : 'Kaydırma Ãubukları',
+ popupDependent : 'BaÄımlı (Netscape)',
+ popupWidth : 'GeniÅlik',
+ popupLeft : 'Sola Göre Konum',
+ popupHeight : 'Yükseklik',
+ popupTop : 'Yukarıya Göre Konum',
+ id : 'Id',
+ langDir : 'Dil Yönü',
+ langDirLTR : 'Soldan SaÄa (LTR)',
+ langDirRTL : 'SaÄdan Sola (RTL)',
+ acccessKey : 'EriÅim TuÅu',
+ name : 'Ad',
+ langCode : 'Dil Yönü',
+ tabIndex : 'Sekme Ä°ndeksi',
+ advisoryTitle : 'DanıÅma BaÅlıÄı',
+ advisoryContentType : 'DanıÅma İçerik Türü',
+ cssClasses : 'Biçem Sayfası Sınıfları',
+ charset : 'BaÄlı Kaynak Karakter Gurubu',
+ styles : 'Biçem',
+ selectAnchor : 'BaÄlantı Seç',
+ anchorName : 'BaÄlantı Adı ile',
+ anchorId : 'Eleman Kimlik Numarası ile',
+ emailAddress : 'E-Posta Adresi',
+ emailSubject : 'Ä°leti Konusu',
+ emailBody : 'İleti Gövdesi',
+ noAnchors : '(Bu belgede hiç çapa yok)',
+ noUrl : 'Lütfen Link URL\'sini yazın',
+ noEmail : 'Lütfen E-posta adresini yazın'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'BaÄlantı Ekle/Düzenle',
+ menu : 'BaÄlantı Ãzellikleri',
+ title : 'BaÄlantı Ãzellikleri',
+ name : 'BaÄlantı Adı',
+ errorName : 'Lütfen baÄlantı için ad giriniz'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'SayılandırılmıŠListe Ãzellikleri',
+ bulletedTitle : 'Simgeli Liste Ãzellikleri',
+ type : 'Tipi',
+ start : 'BaÅla',
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Daire',
+ disc : 'Disk',
+ square : 'Kare',
+ none : 'Yok',
+ notset : '<ayarlanmamıÅ>',
+ armenian : 'Ermenice sayılandırma',
+ georgian : 'Gürcüce numaralandırma (an, ban, gan, vs.)',
+ lowerRoman : 'Küçük Roman (i, ii, iii, iv, v, vs.)',
+ upperRoman : 'Büyük Roman (I, II, III, IV, V, vs.)',
+ lowerAlpha : 'Küçük Alpha (a, b, c, d, e, vs.)',
+ upperAlpha : 'Büyük Alpha (A, B, C, D, E, vs.)',
+ lowerGreek : 'Küçük Greek (alpha, beta, gamma, vs.)',
+ decimal : 'Ondalık (1, 2, 3, vs.)',
+ decimalLeadingZero : 'BaÅı sıfırlı ondalık (01, 02, 03, vs.)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Bul ve DeÄiÅtir',
+ find : 'Bul',
+ replace : 'DeÄiÅtir',
+ findWhat : 'Aranan:',
+ replaceWith : 'Bununla deÄiÅtir:',
+ notFoundMsg : 'Belirtilen yazı bulunamadı.',
+ matchCase : 'Büyük/küçük harf duyarlı',
+ matchWord : 'Kelimenin tamamı uysun',
+ matchCyclic : 'EÅleÅen döngü',
+ replaceAll : 'Tümünü DeÄiÅtir',
+ replaceSuccessMsg : '%1 bulunanlardan deÄiÅtirildi.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Tablo',
+ title : 'Tablo Ãzellikleri',
+ menu : 'Tablo Ãzellikleri',
+ deleteTable : 'Tabloyu Sil',
+ rows : 'Satırlar',
+ columns : 'Sütunlar',
+ border : 'Kenar KalınlıÄı',
+ align : 'Hizalama',
+ alignLeft : 'Sol',
+ alignCenter : 'Merkez',
+ alignRight : 'SaÄ',
+ width : 'GeniÅlik',
+ widthPx : 'piksel',
+ widthPc : 'yüzde',
+ widthUnit : 'geniÅlik birimi',
+ height : 'Yükseklik',
+ cellSpace : 'Izgara kalınlıÄı',
+ cellPad : 'Izgara yazı arası',
+ caption : 'BaÅlık',
+ summary : 'Ãzet',
+ headers : 'BaÅlıklar',
+ headersNone : 'Yok',
+ headersColumn : 'İlk Sütun',
+ headersRow : 'İlk Satır',
+ headersBoth : 'Her Ä°kisi',
+ invalidRows : 'Satır sayısı 0 sayısından büyük olmalıdır.',
+ invalidCols : 'Sütün sayısı 0 sayısından büyük olmalıdır.',
+ invalidBorder : 'Ãerceve büyüklüklüÄü sayı olmalıdır.',
+ invalidWidth : 'Tablo geniÅliÄi sayı olmalıdır.',
+ invalidHeight : 'Tablo yüksekliÄi sayı olmalıdır.',
+ invalidCellSpacing : 'Hücre boÅluÄu (spacing) sayı olmalıdır.',
+ invalidCellPadding : 'Hücre aralıÄı (padding) sayı olmalıdır.',
+
+ cell :
+ {
+ menu : 'Hücre',
+ insertBefore : 'Hücre Ekle - Ãnce',
+ insertAfter : 'Hücre Ekle - Sonra',
+ deleteCell : 'Hücre Sil',
+ merge : 'Hücreleri BirleÅtir',
+ mergeRight : 'BirleÅtir - SaÄdaki Ä°le ',
+ mergeDown : 'BirleÅtir - AÅaÄıdaki Ä°le ',
+ splitHorizontal : 'Hücreyi Yatay Böl',
+ splitVertical : 'Hücreyi Dikey Böl',
+ title : 'Hücre Ãzellikleri',
+ cellType : 'Hücre Tipi',
+ rowSpan : 'Satırlar Mesafesi (Span)',
+ colSpan : 'Sütünlar Mesafesi (Span)',
+ wordWrap : 'Kelime Kaydırma',
+ hAlign : 'DüÅey Hizalama',
+ vAlign : 'YataÅ Hizalama',
+ alignTop : 'Ãst',
+ alignMiddle : 'Orta',
+ alignBottom : 'Alt',
+ alignBaseline : 'Tabana',
+ bgColor : 'Arkaplan Rengi',
+ borderColor : 'Ãerçeve Rengi',
+ data : 'Veri',
+ header : 'BaÅlık',
+ yes : 'Evet',
+ no : 'Hayır',
+ invalidWidth : 'Hücre geniÅliÄi sayı olmalıdır.',
+ invalidHeight : 'Hücre yüksekliÄi sayı olmalıdır.',
+ invalidRowSpan : 'Satırların mesafesi tam sayı olmalıdır.',
+ invalidColSpan : 'Sütünların mesafesi tam sayı olmalıdır.',
+ chooseColor : 'Seçiniz'
+ },
+
+ row :
+ {
+ menu : 'Satır',
+ insertBefore : 'Satır Ekle - Ãnce',
+ insertAfter : 'Satır Ekle - Sonra',
+ deleteRow : 'Satır Sil'
+ },
+
+ column :
+ {
+ menu : 'Sütun',
+ insertBefore : 'Kolon Ekle - Ãnce',
+ insertAfter : 'Kolon Ekle - Sonra',
+ deleteColumn : 'Sütun Sil'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'DüÄme Ãzellikleri',
+ text : 'Metin (DeÄer)',
+ type : 'Tip',
+ typeBtn : 'DüÄme',
+ typeSbm : 'Gönder',
+ typeRst : 'Sıfırla'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Onay Kutusu Ãzellikleri',
+ radioTitle : 'Seçenek DüÄmesi Ãzellikleri',
+ value : 'DeÄer',
+ selected : 'Seçili'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Form Ãzellikleri',
+ menu : 'Form Ãzellikleri',
+ action : 'Ä°Ålem',
+ method : 'Yöntem',
+ encoding : 'Kodlama'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Seçim Menüsü Ãzellikleri',
+ selectInfo : 'Bilgi',
+ opAvail : 'Mevcut Seçenekler',
+ value : 'DeÄer',
+ size : 'Boyut',
+ lines : 'satır',
+ chkMulti : 'Ãoklu seçime izin ver',
+ opText : 'Metin',
+ opValue : 'DeÄer',
+ btnAdd : 'Ekle',
+ btnModify : 'Düzenle',
+ btnUp : 'Yukarı',
+ btnDown : 'AÅaÄı',
+ btnSetValue : 'Seçili deÄer olarak ata',
+ btnDelete : 'Sil'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Ãok Satırlı Metin Ãzellikleri',
+ cols : 'Sütunlar',
+ rows : 'Satırlar'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Metin GiriÅi Ãzellikleri',
+ name : 'Ad',
+ value : 'DeÄer',
+ charWidth : 'Karakter GeniÅliÄi',
+ maxChars : 'En Fazla Karakter',
+ type : 'Tür',
+ typeText : 'Metin',
+ typePass : 'Åifre'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Gizli Veri Ãzellikleri',
+ name : 'Ad',
+ value : 'DeÄer'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Resim Ãzellikleri',
+ titleButton : 'Resimli DüÄme Ãzellikleri',
+ menu : 'Resim Ãzellikleri',
+ infoTab : 'Resim Bilgisi',
+ btnUpload : 'Sunucuya Yolla',
+ upload : 'KarÅıya Yükle',
+ alt : 'Alternatif Yazı',
+ width : 'GeniÅlik',
+ height : 'Yükseklik',
+ lockRatio : 'Oranı Kilitle',
+ unlockRatio : 'Kilitli Oran',
+ resetSize : 'Boyutu BaÅa Döndür',
+ border : 'Kenar',
+ hSpace : 'Yatay BoÅluk',
+ vSpace : 'Dikey BoÅluk',
+ align : 'Hizalama',
+ alignLeft : 'Sol',
+ alignRight : 'SaÄ',
+ alertUrl : 'Lütfen resmin URL\'sini yazınız',
+ linkTab : 'Köprü',
+ button2Img : 'Seçili resim butonunu basit resime çevirmek istermisiniz?',
+ img2Button : 'Seçili olan resimi, resimli butona çevirmek istermisiniz?',
+ urlMissing : 'Resmin URL kaynaÄı eksiktir.',
+ validateWidth : 'GeniÅlik tam sayı olmalıdır.',
+ validateHeight : 'Yükseklik tam sayı olmalıdır.',
+ validateBorder : 'Ãerçeve tam sayı olmalıdır.',
+ validateHSpace : 'HSpace tam sayı olmalıdır.',
+ validateVSpace : 'VSpace tam sayı olmalıdır.'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash Ãzellikleri',
+ propertiesTab : 'Ãzellikler',
+ title : 'Flash Ãzellikleri',
+ chkPlay : 'Otomatik Oynat',
+ chkLoop : 'Döngü',
+ chkMenu : 'Flash Menüsünü Kullan',
+ chkFull : 'Tam ekrana Ä°zinver',
+ scale : 'Boyutlandır',
+ scaleAll : 'Hepsini Göster',
+ scaleNoBorder : 'Kenar Yok',
+ scaleFit : 'Tam SıÄdır',
+ access : 'Kod Ä°zni',
+ accessAlways : 'Herzaman',
+ accessSameDomain: 'Aynı domain',
+ accessNever : 'Asla',
+ align : 'Hizalama',
+ alignLeft : 'Sol',
+ alignAbsBottom : 'Tam Altı',
+ alignAbsMiddle : 'Tam Ortası',
+ alignBaseline : 'Taban Ãizgisi',
+ alignBottom : 'Alt',
+ alignMiddle : 'Orta',
+ alignRight : 'SaÄ',
+ alignTextTop : 'Yazı Tepeye',
+ alignTop : 'Tepe',
+ quality : 'Kalite',
+ qualityBest : 'En iyi',
+ qualityHigh : 'Yüksek',
+ qualityAutoHigh : 'Otomatik Yükseklik',
+ qualityMedium : 'Orta',
+ qualityAutoLow : 'Otomatik DüÅüklük',
+ qualityLow : 'DüÅük',
+ windowModeWindow: 'Pencere',
+ windowModeOpaque: 'Opak',
+ windowModeTransparent : 'Åeffaf',
+ windowMode : 'Pencere modu',
+ flashvars : 'Flash DeÄerleri',
+ bgcolor : 'Arka Renk',
+ width : 'GeniÅlik',
+ height : 'Yükseklik',
+ hSpace : 'Yatay BoÅluk',
+ vSpace : 'Dikey BoÅluk',
+ validateSrc : 'Lütfen köprü URL\'sini yazın',
+ validateWidth : 'GeniÅlik bir sayı olmalıdır.',
+ validateHeight : 'Yükseklik sayı olmalıdır.',
+ validateHSpace : 'HSpace sayı olmalıdır.',
+ validateVSpace : 'VSpace sayı olmalıdır.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Yazım Denetimi',
+ title : 'Yazımı Denetle',
+ notAvailable : 'Ãzügünüz, bu servis Åuanda hizmet dıÅıdır.',
+ errorLoading : 'Uygulamada yüklerken hata oluÅtu: %s.',
+ notInDic : 'Sözlükte Yok',
+ changeTo : 'Åuna deÄiÅtir:',
+ btnIgnore : 'Yoksay',
+ btnIgnoreAll : 'Tümünü Yoksay',
+ btnReplace : 'DeÄiÅtir',
+ btnReplaceAll : 'Tümünü DeÄiÅtir',
+ btnUndo : 'Geri Al',
+ noSuggestions : '- Ãneri Yok -',
+ progress : 'Yazım denetimi iÅlemde...',
+ noMispell : 'Yazım denetimi tamamlandı: YanlıŠyazıma rastlanmadı',
+ noChanges : 'Yazım denetimi tamamlandı: Hiçbir kelime deÄiÅtirilmedi',
+ oneChange : 'Yazım denetimi tamamlandı: Bir kelime deÄiÅtirildi',
+ manyChanges : 'Yazım denetimi tamamlandı: %1 kelime deÄiÅtirildi',
+ ieSpellDownload : 'Yazım denetimi yüklenmemiÅ. Åimdi yüklemek ister misiniz?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Ä°fade',
+ title : 'Ä°fade Ekle',
+ options : 'İfade Seçenekleri'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elementlerin yolu',
+ eleTitle : '%1 element'
+ },
+
+ numberedlist : 'Numaralı Liste',
+ bulletedlist : 'Simgeli Liste',
+ indent : 'Sekme Arttır',
+ outdent : 'Sekme Azalt',
+
+ justify :
+ {
+ left : 'Sola Dayalı',
+ center : 'OrtalanmıÅ',
+ right : 'SaÄa Dayalı',
+ block : 'Ä°ki Kenara YaslanmıÅ'
+ },
+
+ blockquote : 'Blok OluÅtur',
+
+ clipboard :
+ {
+ title : 'YapıÅtır',
+ cutError : 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme iÅlemine izin vermiyor. Ä°Ålem için (Ctrl/Cmd+X) tuÅlarını kullanın.',
+ copyError : 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama iÅlemine izin vermiyor. Ä°Ålem için (Ctrl/Cmd+C) tuÅlarını kullanın.',
+ pasteMsg : 'Lütfen aÅaÄıdaki kutunun içine yapıÅtırın. (<STRONG>Ctrl/Cmd+V</STRONG>) ve <STRONG>Tamam</STRONG> butonunu tıklayın.',
+ securityMsg : 'Gezgin yazılımınızın güvenlik ayarları düzenleyicinin direkt olarak panoya eriÅimine izin vermiyor. Bu pencere içine tekrar yapıÅtırmalısınız..',
+ pasteArea : 'Paste Area'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'YapıÅtırmaya çalıÅtıÄınız metin Word\'den kopyalanmıÅtır. YapıÅtırmadan önce silmek istermisiniz?',
+ toolbar : 'Word\'den YapıÅtır',
+ title : 'Word\'den YapıÅtır',
+ error : 'YapıÅtırmadaki veri bilgisi hata düzelene kadar silinmeyecektir'
+ },
+
+ pasteText :
+ {
+ button : 'Düz Metin Olarak YapıÅtır',
+ title : 'Düz Metin Olarak YapıÅtır'
+ },
+
+ templates :
+ {
+ button : 'Åablonlar',
+ title : 'İçerik Åablonları',
+ options : 'Åablon Seçenekleri',
+ insertOption : 'Mevcut içerik ile deÄiÅtir',
+ selectPromptMsg : 'Düzenleyicide açmak için lütfen bir Åablon seçin.<br>(hali hazırdaki içerik kaybolacaktır.):',
+ emptyListMsg : '(Belirli bir Åablon seçilmedi)'
+ },
+
+ showBlocks : 'Blokları Göster',
+
+ stylesCombo :
+ {
+ label : 'Biçem',
+ panelTitle : 'Stilleri Düzenliyor',
+ panelTitle1 : 'Blok Stilleri',
+ panelTitle2 : 'Inline Stilleri',
+ panelTitle3 : 'Nesne Stilleri'
+ },
+
+ format :
+ {
+ label : 'Biçim',
+ panelTitle : 'Biçim',
+
+ tag_p : 'Normal',
+ tag_pre : 'Biçimli',
+ tag_address : 'Adres',
+ tag_h1 : 'BaÅlık 1',
+ tag_h2 : 'BaÅlık 2',
+ tag_h3 : 'BaÅlık 3',
+ tag_h4 : 'BaÅlık 4',
+ tag_h5 : 'BaÅlık 5',
+ tag_h6 : 'BaÅlık 6',
+ tag_div : 'Paragraf (DIV)'
+ },
+
+ div :
+ {
+ title : 'Div İçeriÄi OluÅtur',
+ toolbar : 'Div İçeriÄi OluÅtur',
+ cssClassInputLabel : 'Stilltipi Sınıfı',
+ styleSelectLabel : 'Stil',
+ IdInputLabel : 'Id',
+ languageCodeInputLabel : ' Dil Kodu',
+ inlineStyleInputLabel : 'Inline Stili',
+ advisoryTitleInputLabel : 'Tavsiye BaÅlıÄı',
+ langDirLabel : 'Dil Yönü',
+ langDirLTRLabel : 'Soldan saÄa (LTR)',
+ langDirRTLLabel : 'SaÄdan sola (RTL)',
+ edit : 'Div Düzenle',
+ remove : 'Div Kaldır'
+ },
+
+ font :
+ {
+ label : 'Yazı Türü',
+ voiceLabel : 'Font',
+ panelTitle : 'Yazı Türü'
+ },
+
+ fontSize :
+ {
+ label : 'Boyut',
+ voiceLabel : 'Font Size',
+ panelTitle : 'Boyut'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Yazı Rengi',
+ bgColorTitle : 'Arka Renk',
+ panelTitle : 'Renkler',
+ auto : 'Otomatik',
+ more : 'DiÄer renkler...'
+ },
+
+ colors :
+ {
+ '000' : 'Siyah',
+ '800000' : 'Kestane',
+ '8B4513' : 'Koyu Kahverengi',
+ '2F4F4F' : 'Koyu KurÅuni Gri',
+ '008080' : 'Teal',
+ '000080' : 'Mavi',
+ '4B0082' : 'Ãivit Mavisi',
+ '696969' : 'Silik Gri',
+ 'B22222' : 'AteÅ TuÄlası',
+ 'A52A2A' : 'Kahverengi',
+ 'DAA520' : 'Altun Sırık',
+ '006400' : 'Koyu YeÅil',
+ '40E0D0' : 'Turkuaz',
+ '0000CD' : 'Orta Mavi',
+ '800080' : 'Pembe',
+ '808080' : 'Gri',
+ 'F00' : 'Kırmızı',
+ 'FF8C00' : 'Koyu Portakal',
+ 'FFD700' : 'Altın',
+ '008000' : 'YeÅil',
+ '0FF' : 'Ciyan',
+ '00F' : 'Mavi',
+ 'EE82EE' : 'MenekÅe',
+ 'A9A9A9' : 'Koyu Gri',
+ 'FFA07A' : 'Açık Sarımsı',
+ 'FFA500' : 'Portakal',
+ 'FFFF00' : 'Sarı',
+ '00FF00' : 'Açık YeÅil',
+ 'AFEEEE' : 'Sönük Turkuaz',
+ 'ADD8E6' : 'Açık Mavi',
+ 'DDA0DD' : 'Mor',
+ 'D3D3D3' : 'Açık Gri',
+ 'FFF0F5' : 'Eflatun Pembe',
+ 'FAEBD7' : 'Antik Beyaz',
+ 'FFFFE0' : 'Açık Sarı',
+ 'F0FFF0' : 'Balsarısı',
+ 'F0FFFF' : 'Gök Mavisi',
+ 'F0F8FF' : 'Reha Mavi',
+ 'E6E6FA' : 'Eflatun',
+ 'FFF' : 'Beyaz'
+ },
+
+ scayt :
+ {
+ title : 'GirmiÅ olduÄunuz kelime denetimi',
+ opera_title : 'Opera tarafından desteklenmemektedir',
+ enable : 'SCAYT etkinleÅtir',
+ disable : 'SCAYT pasifleÅtir',
+ about : 'SCAYT hakkında',
+ toggle : 'SCAYT deÄiÅtir',
+ options : 'Seçenekler',
+ langs : 'Diller',
+ moreSuggestions : 'Daha fazla öneri',
+ ignore : 'Yoksay',
+ ignoreAll : 'Tümünü Yoksay',
+ addWord : 'Kelime Ekle',
+ emptyDic : 'Sözlük adı boŠolamaz.',
+
+ optionsTab : 'Seçenekler',
+ allCaps : 'Tüm büyük küçük kelimeleri yoksay',
+ ignoreDomainNames : 'Domain adlarını yoksay',
+ mixedCase : 'KarıÅık büyüklük ile Sözcükler yoksay',
+ mixedWithDigits : 'Sayılarla Kelimeler yoksay',
+
+ languagesTab : 'Diller',
+
+ dictionariesTab : 'Sözlükler',
+ dic_field_name : 'Sözlük adı',
+ dic_create : 'OluÅtur',
+ dic_restore : 'Geri al',
+ dic_delete : 'Sil',
+ dic_rename : 'Yeniden adlandır',
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type it\'s name and click the Restore button.',
+
+ aboutTab : 'Hakkında'
+ },
+
+ about :
+ {
+ title : 'CKEditor Hakkında',
+ dlgTitle : 'CKEditor Hakkında',
+ moreInfo : 'Lisanslama hakkında daha fazla bilgi almak için lütfen sitemizi ziyaret edin:',
+ copy : 'Copyright © $1. Tüm hakları saklıdır.'
+ },
+
+ maximize : 'Büyült',
+ minimize : 'Küçült',
+
+ fakeobjects :
+ {
+ anchor : 'BaÄlantı',
+ flash : 'Flash Animasyonu',
+ div : 'Sayfa Kesimi',
+ unknown : 'Bilinmeyen Nesne'
+ },
+
+ resize : 'Boyutlandırmak için sürükle',
+
+ colordialog :
+ {
+ title : 'Renk seç',
+ options : 'Renk Seçenekleri',
+ highlight : 'Ä°Åaretle',
+ selected : 'SeçilmiÅ',
+ clear : 'Temizle'
+ },
+
+ toolbarCollapse : 'Toolbar\'ı topla',
+ toolbarExpand : 'Toolbar\'ı aç',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/uk.js b/devel/third-party/ckeditor/lang/uk.js
new file mode 100644
index 0000000..be479cd
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/uk.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Ukrainian language. Translated by Alexander Pervak.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['uk'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'ÐжеÑело',
+ newPage : 'Ðова ÑÑоÑÑнка',
+ save : 'ÐбеÑегÑи',
+ preview : 'ÐопеÑеднÑй пеÑеглÑд',
+ cut : 'ÐиÑÑзаÑи',
+ copy : 'ÐопÑÑваÑи',
+ paste : 'ÐÑÑавиÑи',
+ print : 'ÐÑÑк',
+ underline : 'ÐÑдкÑеÑлений',
+ bold : 'ÐиÑний',
+ italic : 'ÐÑÑÑив',
+ selectAll : 'ÐидÑлиÑи вÑе',
+ removeFormat : 'ÐÑибÑаÑи ÑоÑмаÑÑваннÑ',
+ strike : 'ÐакÑеÑлений',
+ subscript : 'ÐÑдÑÑдковий ÑндекÑ',
+ superscript : 'ÐадÑÑдковий индекÑ',
+ horizontalrule : 'ÐÑÑавиÑи гоÑизонÑалÑÐ½Ñ Ð»ÑнÑÑ',
+ pagebreak : 'ÐÑÑавиÑи ÑозÑивÑи ÑÑоÑÑнки',
+ unlink : 'ÐниÑиÑи поÑиланнÑ',
+ undo : 'ÐовеÑнÑÑи',
+ redo : 'ÐовÑоÑиÑи',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ÐеÑедивиÑиÑÑ Ð½Ð° ÑеÑвеÑÑ',
+ url : 'URL',
+ protocol : 'ÐÑоÑокол',
+ upload : 'ÐакаÑаÑи',
+ uploadSubmit : 'ÐадÑÑлаÑи на ÑеÑвеÑ',
+ image : 'ÐобÑаженнÑ',
+ flash : 'Flash',
+ form : 'ФоÑма',
+ checkbox : 'Флагова кнопка',
+ radio : 'Ðнопка вибоÑÑ',
+ textField : 'ТекÑÑове поле',
+ textarea : 'ТекÑÑова облаÑÑÑ',
+ hiddenField : 'ÐÑиÑ
оване поле',
+ button : 'Ðнопка',
+ select : 'СпиÑок',
+ imageButton : 'Ðнопка Ñз зобÑаженнÑм',
+ notSet : '<не визнаÑено>',
+ id : 'ÐденÑиÑÑкаÑоÑ',
+ name : 'Ðм\'Ñ',
+ langDir : 'ÐапÑÑмок мови',
+ langDirLtr : 'ÐлÑва на пÑаво (LTR)',
+ langDirRtl : 'ÐпÑава на лÑво (RTL)',
+ langCode : 'Ðова',
+ longDescr : 'Ðовгий Ð¾Ð¿Ð¸Ñ URL',
+ cssClass : 'ÐÐ»Ð°Ñ CSS',
+ advisoryTitle : 'Ðаголовок',
+ cssStyle : 'СÑÐ¸Ð»Ñ CSS',
+ ok : 'ÐÐ',
+ cancel : 'СкаÑÑваÑи',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'ÐагалÑна',
+ advancedTab : 'РозÑиÑений',
+ validateNumberFailed : 'ÐнаÑÐµÐ½Ð½Ñ Ð½Ðµ Ñ ÑиÑлом.',
+ confirmNewPage : 'ÐÑÑ Ð½Ðµ збеÑÐµÐ¶ÐµÐ½Ñ Ð·Ð¼Ñни бÑдÑÑÑ Ð²ÑÑаÑенÑ. Ðи впевненÑ, Ñо Ñ
оÑеÑе заванÑажиÑи Ð½Ð¾Ð²Ñ ÑÑоÑÑнкÑ?',
+ confirmCancel : 'ÐеÑÐºÑ Ð¾Ð¿ÑÑÑ Ð±Ñли змÑненÑ. ÐакÑиÑи вÑкно?',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, не доÑÑÑпне</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'ÐÑÑавиÑи ÑпеÑÑалÑний Ñимвол',
+ title : 'ÐбеÑÑÑÑ ÑпеÑÑалÑний Ñимвол',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'ÐÑÑавиÑи/РедагÑваÑи поÑиланнÑ',
+ other : '<ÑнÑий>',
+ menu : 'ÐÑÑавиÑи поÑиланнÑ',
+ title : 'ÐоÑиланнÑ',
+ info : 'ÐнÑоÑмаÑÑÑ Ð¿Ð¾ÑиланнÑ',
+ target : 'ЦÑлÑ',
+ upload : 'ÐакаÑаÑи',
+ advanced : 'РозÑиÑений',
+ type : 'Тип поÑиланнÑ',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'ЯкÑÑ Ð½Ð° ÑÑ ÑÑоÑÑнкÑ',
+ toEmail : 'Ðл. поÑÑа',
+ targetFrame : '<ÑÑейм>',
+ targetPopup : '<ÑпливаÑÑе вÑкно>',
+ targetFrameName : 'Ðм\'Ñ Ñелевого ÑÑейма',
+ targetPopupName : 'Ðм\'Ñ ÑпливаÑÑого вÑкна',
+ popupFeatures : 'ÐлаÑÑивоÑÑÑ ÑпливаÑÑого вÑкна',
+ popupResizable : 'ÐаÑÑÑабоване',
+ popupStatusBar : 'СÑÑока ÑÑаÑÑÑÑ',
+ popupLocationBar: 'ÐÐ°Ð½ÐµÐ»Ñ Ð»Ð¾ÐºÐ°ÑÑÑ',
+ popupToolbar : 'ÐÐ°Ð½ÐµÐ»Ñ ÑнÑÑÑÑменÑÑв',
+ popupMenuBar : 'ÐÐ°Ð½ÐµÐ»Ñ Ð¼ÐµÐ½Ñ',
+ popupFullScreen : 'Ðовний екÑан (IE)',
+ popupScrollBars : 'ÐолоÑи пÑокÑÑÑки',
+ popupDependent : 'Ðалежний (Netscape)',
+ popupWidth : 'ШиÑина',
+ popupLeft : 'ÐозиÑÑÑ Ð·Ð»Ñва',
+ popupHeight : 'ÐиÑоÑа',
+ popupTop : 'ÐозиÑÑÑ Ð·Ð²ÐµÑÑ
Ñ',
+ id : 'ÐденÑиÑÑкаÑÐ¾Ñ (Id)',
+ langDir : 'ÐапÑÑмок мови',
+ langDirLTR : 'ÐлÑва на пÑаво (LTR)',
+ langDirRTL : 'ÐпÑава на лÑво (RTL)',
+ acccessKey : 'ÐаÑÑÑа клавÑÑа',
+ name : 'Ðм\'Ñ',
+ langCode : 'ÐапÑÑмок мови',
+ tabIndex : 'ÐоÑлÑдовнÑÑÑÑ Ð¿ÐµÑеÑ
одÑ',
+ advisoryTitle : 'Ðаголовок',
+ advisoryContentType : 'Тип вмÑÑÑÑ',
+ cssClasses : 'ÐÐ»Ð°Ñ CSS',
+ charset : 'ÐодиÑовка',
+ styles : 'СÑÐ¸Ð»Ñ CSS',
+ selectAnchor : 'ÐбеÑÑÑÑ ÑкÑÑ',
+ anchorName : 'Ðа Ñм\'Ñм ÑкоÑÑ',
+ anchorId : 'Ðа ÑденÑиÑÑкаÑоÑом елеменÑа',
+ emailAddress : 'ÐдÑеÑа ел. поÑÑи',
+ emailSubject : 'Тема лиÑÑа',
+ emailBody : 'ТÑло повÑдомленнÑ',
+ noAnchors : '(ÐÐµÐ¼Ð°Ñ ÑкоÑÑв доÑÑÑпниÑ
в ÑÑÐ¾Ð¼Ñ Ð´Ð¾ÐºÑменÑÑ)',
+ noUrl : 'ÐÑÐ´Ñ Ð»Ð°Ñка, занеÑÑÑÑ URL поÑиланнÑ',
+ noEmail : 'ÐÑÐ´Ñ Ð»Ð°Ñка, занеÑÑÑÑ Ð°Ð´ÑÐµÑ Ñл. поÑÑÑ'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'ÐÑÑавиÑи/РедагÑваÑи ÑкÑÑ',
+ menu : 'ÐлаÑÑивоÑÑÑ ÑкоÑÑ',
+ title : 'ÐлаÑÑивоÑÑÑ ÑкоÑÑ',
+ name : 'Ðм\'Ñ ÑкоÑÑ',
+ errorName : 'ÐÑÐ´Ñ Ð»Ð°Ñка, занеÑÑÑÑ Ñм\'Ñ ÑкоÑÑ'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'ÐнайÑи Ñ Ð·Ð°Ð¼ÑниÑи',
+ find : 'ÐоÑÑк',
+ replace : 'ÐамÑна',
+ findWhat : 'ШÑкаÑи:',
+ replaceWith : 'ÐамÑниÑи на:',
+ notFoundMsg : 'Ðказаний ÑекÑÑ Ð½Ðµ знайдений.',
+ matchCase : 'ÐÑаÑ
овÑваÑи ÑегÑÑÑÑ',
+ matchWord : 'ÐбÑг ÑÑлиÑ
ÑлÑв',
+ matchCyclic : 'ЦиклÑÑна замÑна',
+ replaceAll : 'ÐамÑниÑи вÑе',
+ replaceSuccessMsg : '%1 ÑпÑвпадÑнÑ(Ñ) замÑнено.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'ТаблиÑÑ',
+ title : 'ÐлаÑÑивоÑÑÑ ÑаблиÑÑ',
+ menu : 'ÐлаÑÑивоÑÑÑ ÑаблиÑÑ',
+ deleteTable : 'ÐидалиÑи ÑаблиÑÑ',
+ rows : 'СÑÑоки',
+ columns : 'Ðолонки',
+ border : 'РозмÑÑ Ð±Ð¾ÑдÑÑа',
+ align : 'ÐиÑÑвнÑваннÑ',
+ alignLeft : 'ÐлÑва',
+ alignCenter : 'Ðо ÑенÑÑÑ',
+ alignRight : 'ÐпÑава',
+ width : 'ШиÑина',
+ widthPx : 'пÑкÑелÑв',
+ widthPc : 'вÑдÑоÑкÑв',
+ widthUnit : 'width unit', // MISSING
+ height : 'ÐиÑоÑа',
+ cellSpace : 'ÐÑомÑжок (spacing)',
+ cellPad : 'ÐÑдÑÑÑп (padding)',
+ caption : 'Ðаголовок',
+ summary : 'РезÑме',
+ headers : 'Ðаголовки',
+ headersNone : 'Ðодного',
+ headersColumn : 'ÐеÑÑа колонка',
+ headersRow : 'ÐеÑÑий ÑÑдок',
+ headersBoth : 'Ðбидва',
+ invalidRows : 'ÐÑлÑкÑÑÑÑ ÑÑдкÑв повинна бÑÑи ÑиÑлом бÑлÑÑе за 0.',
+ invalidCols : 'ÐÑлÑкÑÑÑÑ ÐºÐ¾Ð»Ð¾Ð½Ð¾Ðº повинна бÑÑи ÑиÑлом бÑлÑÑе за 0.',
+ invalidBorder : 'РозмÑÑ Ð±Ð¾ÑдÑÑа повинен бÑÑи ÑиÑлом.',
+ invalidWidth : 'ШиÑина ÑаблиÑÑ Ð¿Ð¾Ð²Ð¸Ð½Ð½Ð° бÑÑи ÑиÑлом.',
+ invalidHeight : 'ÐиÑоÑа ÑаблиÑÑ Ð¿Ð¾Ð²Ð¸Ð½Ð½Ð° бÑÑи ÑиÑлом.',
+ invalidCellSpacing : 'ÐÑомÑжок (spacing) комÑÑки повинен бÑÑи ÑиÑлом.',
+ invalidCellPadding : 'ÐÑдÑÑÑп (padding) комÑÑки повинен бÑÑи ÑиÑлом.',
+
+ cell :
+ {
+ menu : 'ÐÑеÑедок',
+ insertBefore : 'ÐÑÑавиÑи комÑÑÐºÑ Ð´Ð¾',
+ insertAfter : 'ÐÑÑавиÑи комÑÑÐºÑ Ð¿ÑÑлÑ',
+ deleteCell : 'ÐидалиÑи комÑÑки',
+ merge : 'Ðб\'ÑднаÑи комÑÑки',
+ mergeRight : 'Ðб\'ÑднаÑи зпÑава',
+ mergeDown : 'Ðб\'ÑднаÑи до низÑ',
+ splitHorizontal : 'РоздÑлиÑи комÑÑÐºÑ Ð¿Ð¾ гоÑизонÑалÑ',
+ splitVertical : 'РоздÑлиÑи комÑÑÐºÑ Ð¿Ð¾ веÑÑикалÑ',
+ title : 'ÐлаÑÑивоÑÑÑ ÐºÐ¾Ð¼ÑÑки',
+ cellType : 'Тип комÑÑки',
+ rowSpan : 'ÐбÑÐ´Ð½Ð°Ð½Ð½Ñ ÑÑдкÑв (Rows Span)',
+ colSpan : 'ÐбÑÐ´Ð½Ð°Ð½Ð½Ñ ÑÑовпÑикÑв (Columns Span)',
+ wordWrap : 'ÐвÑо згоÑÑÐ°Ð½Ð½Ñ ÑекÑÑÑ (Word Wrap)',
+ hAlign : 'ÐоÑизонÑалÑне виÑÑвнÑваннÑ',
+ vAlign : 'ÐеÑÑикалÑне виÑÑвнÑваннÑ',
+ alignTop : 'Ðо веÑÑ
Ñ',
+ alignMiddle : 'ÐоÑеÑединÑ',
+ alignBottom : 'Ðо низÑ',
+ alignBaseline : 'Ðо базовÑй лÑнÑÑ',
+ bgColor : 'ÐолÑÑ ÑонÑ',
+ borderColor : 'ÐолÑÑ Ð±Ð¾ÑдÑÑÑ',
+ data : 'ÐанÑ',
+ header : 'Ðаголовок',
+ yes : 'Так',
+ no : 'ÐÑ',
+ invalidWidth : 'ШиÑина комÑÑки повинна бÑÑи ÑиÑлом.',
+ invalidHeight : 'ÐиÑоÑа комÑÑки повинна бÑÑи ÑиÑлом.',
+ invalidRowSpan : 'ÐÑлÑкÑÑÑÑ Ð¾Ð±ÑднÑваниÑ
ÑÑдкÑв повинна бÑÑи ÑÑлим ÑиÑлом.',
+ invalidColSpan : 'ÐÑлÑкÑÑÑÑ Ð¾Ð±ÑднÑваниÑ
ÑÑовпÑикÑв повинна бÑÑи ÑÑлим ÑиÑлом.',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'Ð Ñдок',
+ insertBefore : 'ÐÑÑавиÑи ÑÑдок до',
+ insertAfter : 'ÐÑÑавиÑи ÑÑдок пÑÑлÑ',
+ deleteRow : 'ÐидалиÑи ÑÑÑоки'
+ },
+
+ column :
+ {
+ menu : 'Ðолонка',
+ insertBefore : 'ÐÑÑавиÑи ÐºÐ¾Ð»Ð¾Ð½ÐºÑ Ð´Ð¾',
+ insertAfter : 'ÐÑÑавиÑи ÐºÐ¾Ð»Ð¾Ð½ÐºÑ Ð¿ÑÑлÑ',
+ deleteColumn : 'ÐидалиÑи колонки'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'ÐлаÑÑивоÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÐ¸',
+ text : 'ТекÑÑ (ÐнаÑеннÑ)',
+ type : 'Тип',
+ typeBtn : 'Ðнопка',
+ typeSbm : 'ÐÑдпÑавиÑи',
+ typeRst : 'СкинÑÑи'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'ÐлаÑÑивоÑÑÑ ÑÐ»Ð°Ð³Ð¾Ð²Ð¾Ñ ÐºÐ½Ð¾Ð¿ÐºÐ¸',
+ radioTitle : 'ÐлаÑÑивоÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÐ¸ вибоÑÑ',
+ value : 'ÐнаÑеннÑ',
+ selected : 'ÐбÑана'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'ÐлаÑÑивоÑÑÑ ÑоÑми',
+ menu : 'ÐлаÑÑивоÑÑÑ ÑоÑми',
+ action : 'ÐÑÑ',
+ method : 'ÐеÑод',
+ encoding : 'ÐодÑваннÑ'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'ÐлаÑÑивоÑÑÑ ÑпиÑкÑ',
+ selectInfo : 'ÐнÑо',
+ opAvail : 'ÐоÑÑÑÐ¿Ð½Ñ Ð²Ð°ÑÑанÑи',
+ value : 'ÐнаÑеннÑ',
+ size : 'РозмÑÑ',
+ lines : 'лÑнÑÑ',
+ chkMulti : 'ÐозволиÑи обÑÐ°Ð½Ð½Ñ Ð´ÐµÐºÑлÑкоÑ
позиÑÑй',
+ opText : 'ТекÑÑ',
+ opValue : 'ÐнаÑеннÑ',
+ btnAdd : 'ÐобавиÑи',
+ btnModify : 'ÐмÑниÑи',
+ btnUp : 'ÐгоÑÑ',
+ btnDown : 'Ðниз',
+ btnSetValue : 'ÐÑÑановиÑи Ñк вибÑане знаÑеннÑ',
+ btnDelete : 'ÐидалиÑи'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'ÐлаÑÑивоÑÑÑ ÑекÑÑÐ¾Ð²Ð¾Ñ Ð¾Ð±Ð»Ð°ÑÑÑ',
+ cols : 'Ðолонки',
+ rows : 'СÑÑоки'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'ÐлаÑÑивоÑÑÑ ÑекÑÑового полÑ',
+ name : 'Ðм\'Ñ',
+ value : 'ÐнаÑеннÑ',
+ charWidth : 'ШиÑина',
+ maxChars : 'ÐакÑ. кÑл-ÑÑ ÑимволÑв',
+ type : 'Тип',
+ typeText : 'ТекÑÑ',
+ typePass : 'ÐаÑолÑ'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'ÐлаÑÑивоÑÑÑ Ð¿ÑиÑ
ованого полÑ',
+ name : 'Ðм\'Ñ',
+ value : 'ÐнаÑеннÑ'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'ÐлаÑÑивоÑÑÑ Ð·Ð¾Ð±ÑаженнÑ',
+ titleButton : 'ÐлаÑÑивоÑÑÑ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Ñз зобÑаженнÑм',
+ menu : 'ÐлаÑÑивоÑÑÑ Ð·Ð¾Ð±ÑаженнÑ',
+ infoTab : 'ÐнÑоÑмаÑÑÑ Ð¿Ñо изобÑажении',
+ btnUpload : 'ÐадÑÑлаÑи на ÑеÑвеÑ',
+ upload : 'ÐакаÑаÑи',
+ alt : 'ÐлÑÑеÑнаÑивний ÑекÑÑ',
+ width : 'ШиÑина',
+ height : 'ÐиÑоÑа',
+ lockRatio : 'ÐбеÑегÑи пÑопоÑÑÑÑ',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'СкинÑÑи ÑозмÑÑ',
+ border : 'ÐоÑдÑÑ',
+ hSpace : 'ÐоÑизонÑалÑний вÑдÑÑÑп',
+ vSpace : 'ÐеÑÑикалÑний вÑдÑÑÑп',
+ align : 'ÐиÑÑвнÑваннÑ',
+ alignLeft : 'Ðо лÑÐ²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alignRight : 'Ðо пÑÐ°Ð²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alertUrl : 'ÐÑÐ´Ñ Ð»Ð°Ñка, введÑÑÑ URL зобÑаженнÑ',
+ linkTab : 'ÐоÑиланнÑ',
+ button2Img : 'Ðи Ñ
оÑеÑе пеÑеÑвоÑиÑи обÑÐ°Ð½Ñ ÐºÐ½Ð¾Ð¿ÐºÑ-зобÑÐ°Ð¶ÐµÐ½Ð½Ñ Ð½Ð° пÑоÑÑе зобÑаженнÑ?',
+ img2Button : 'Ðи Ñ
оÑеÑе пеÑеÑвоÑиÑи обÑане зобÑÐ°Ð¶ÐµÐ½Ð½Ñ Ð½Ð° кнопкÑ-зобÑаженнÑ?',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'ÐлаÑÑивоÑÑÑ Flash',
+ propertiesTab : 'ÐлаÑÑивоÑÑÑ',
+ title : 'ÐлаÑÑивоÑÑÑ Flash',
+ chkPlay : 'ÐвÑо пÑогÑаваннÑ',
+ chkLoop : 'ÐаÑиклиÑи',
+ chkMenu : 'ÐозволиÑи Ð¼ÐµÐ½Ñ Flash',
+ chkFull : 'ÐозволиÑи повноекÑанний пеÑеглÑд',
+ scale : 'ÐаÑÑÑаб',
+ scaleAll : 'ÐоказаÑи вÑÑ',
+ scaleNoBorder : 'Ðез Ñамки',
+ scaleFit : 'ÐÑйÑний ÑозмÑÑ',
+ access : 'ÐоÑÑÑп до ÑкÑипÑа',
+ accessAlways : 'Ðавжди',
+ accessSameDomain: 'Ð Ñого ж домена',
+ accessNever : 'ÐÑколи',
+ align : 'ÐиÑÑвнÑваннÑ',
+ alignLeft : 'Ðо лÑÐ²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alignAbsBottom : 'ÐÐ±Ñ Ð¿Ð¾ низÑ',
+ alignAbsMiddle : 'ÐÐ±Ñ Ð¿Ð¾ ÑеÑединÑ',
+ alignBaseline : 'Ðо базовÑй лÑнÑÑ',
+ alignBottom : 'Ðо низÑ',
+ alignMiddle : 'Ðо ÑеÑединÑ',
+ alignRight : 'Ðо пÑÐ°Ð²Ð¾Ð¼Ñ ÐºÑаÑ',
+ alignTextTop : 'ТекÑÑ Ð½Ð° веÑÑ
Ñ',
+ alignTop : 'Ðо веÑÑ
Ñ',
+ quality : 'ЯкÑÑÑÑ',
+ qualityBest : 'ÐÑдмÑнна',
+ qualityHigh : 'ÐиÑока',
+ qualityAutoHigh : 'ÐвÑо вÑдмÑнна',
+ qualityMedium : 'СеÑеднÑ',
+ qualityAutoLow : 'ÐвÑо низÑка',
+ qualityLow : 'ÐизÑка',
+ windowModeWindow: 'ÐÑкно',
+ windowModeOpaque: 'ÐепÑозоÑÑÑÑÑ (Opaque)',
+ windowModeTransparent : 'ÐÑозоÑÑÑÑÑ (Transparent)',
+ windowMode : 'Режим вÑкна',
+ flashvars : 'ÐмÑÐ½Ð½Ñ Flash',
+ bgcolor : 'ÐолÑÑ ÑонÑ',
+ width : 'ШиÑина',
+ height : 'ÐиÑоÑа',
+ hSpace : 'ÐоÑизонÑалÑний вÑдÑÑÑп',
+ vSpace : 'ÐеÑÑикалÑний вÑдÑÑÑп',
+ validateSrc : 'ÐÑÐ´Ñ Ð»Ð°Ñка, занеÑÑÑÑ URL поÑиланнÑ',
+ validateWidth : 'ШиÑина повинна бÑÑи ÑиÑлом.',
+ validateHeight : 'ÐиÑоÑа повинна бÑÑи ÑиÑлом.',
+ validateHSpace : 'HSpace повинна бÑÑи ÑиÑлом.',
+ validateVSpace : 'VSpace повинна бÑÑи ÑиÑлом.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'ÐеÑевÑÑиÑи оÑÑогÑаÑÑÑ',
+ title : 'ÐеÑевÑÑка оÑÑогÑаÑÑÑ',
+ notAvailable : 'ÐибаÑÑе, але ÑеÑвÑÑ Ð½Ð°ÑÐ°Ð·Ñ Ð½ÐµÐ´Ð¾ÑÑÑпний.',
+ errorLoading : 'Ðомилка заванÑÐ°Ð¶ÐµÐ½Ð½Ñ : %s.',
+ notInDic : 'Ðе Ð¼Ð°Ñ Ð² ÑловникÑ',
+ changeTo : 'ÐамÑниÑи на',
+ btnIgnore : 'ÐгноÑÑваÑи',
+ btnIgnoreAll : 'ÐгноÑÑваÑи вÑе',
+ btnReplace : 'ÐамÑниÑи',
+ btnReplaceAll : 'ÐамÑниÑи вÑе',
+ btnUndo : 'Ðазад',
+ noSuggestions : '- ÐÐµÐ¼Ð°Ñ Ð¿ÑипÑÑÐµÐ½Ñ -',
+ progress : 'ÐиконÑÑÑÑÑÑ Ð¿ÐµÑевÑÑка оÑÑогÑаÑÑÑ...',
+ noMispell : 'ÐеÑевÑÑÐºÑ Ð¾ÑÑогÑаÑÑÑ Ð·Ð°Ð²ÐµÑÑено: помилок не знайдено',
+ noChanges : 'ÐеÑевÑÑÐºÑ Ð¾ÑÑогÑаÑÑÑ Ð·Ð°Ð²ÐµÑÑено: жодне Ñлово не змÑнено',
+ oneChange : 'ÐеÑевÑÑÐºÑ Ð¾ÑÑогÑаÑÑÑ Ð·Ð°Ð²ÐµÑÑено: змÑнено одно Ñлово',
+ manyChanges : 'ÐеÑевÑÑÐºÑ Ð¾ÑÑогÑаÑÑÑ Ð·Ð°Ð²ÐµÑÑено: 1% ÑлÑв змÑнено',
+ ieSpellDownload : 'ÐодÑÐ»Ñ Ð¿ÐµÑевÑÑки оÑÑогÑаÑÑÑ Ð½Ðµ вÑÑановлено. ÐажаÑÑн заванÑажиÑи його заÑаз?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Смайлик',
+ title : 'ÐÑÑавиÑи Ñмайлик',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 елеменÑ'
+ },
+
+ numberedlist : 'ÐÑмеÑований ÑпиÑок',
+ bulletedlist : 'ÐаÑкований ÑпиÑок',
+ indent : 'ÐбÑлÑÑиÑи вÑдÑÑÑп',
+ outdent : 'ÐменÑиÑи вÑдÑÑÑп',
+
+ justify :
+ {
+ left : 'Ðо лÑÐ²Ð¾Ð¼Ñ ÐºÑаÑ',
+ center : 'Ðо ÑенÑÑÑ',
+ right : 'Ðо пÑÐ°Ð²Ð¾Ð¼Ñ ÐºÑаÑ',
+ block : 'Ðо ÑиÑинÑ'
+ },
+
+ blockquote : 'ЦиÑаÑа',
+
+ clipboard :
+ {
+ title : 'ÐÑÑавиÑи',
+ cutError : 'ÐаÑÑÑойки безпеки ваÑого бÑаÑзеÑа не дозволÑÑÑÑ ÑедакÑоÑÑ Ð°Ð²ÑомаÑиÑно виконÑваÑи опеÑаÑÑÑ Ð²Ð¸ÑÑзÑваннÑ. ÐÑÐ´Ñ Ð»Ð°Ñка, викоÑиÑÑовÑйÑе клавÑаÑÑÑÑ Ð´Ð»Ñ ÑÑого (Ctrl/Cmd+X).',
+ copyError : 'ÐаÑÑÑойки безпеки ваÑого бÑаÑзеÑа не дозволÑÑÑÑ ÑедакÑоÑÑ Ð°Ð²ÑомаÑиÑно виконÑваÑи опеÑаÑÑÑ ÐºÐ¾Ð¿ÑÑваннÑ. ÐÑÐ´Ñ Ð»Ð°Ñка, викоÑиÑÑовÑйÑе клавÑаÑÑÑÑ Ð´Ð»Ñ ÑÑого (Ctrl/Cmd+C).',
+ pasteMsg : 'ÐÑÐ´Ñ Ð»Ð°Ñка, вÑÑавÑе з бÑÑеÑа обмÑÐ½Ñ Ð² ÑÑ Ð¾Ð±Ð»Ð°ÑÑÑ, коÑиÑÑÑÑÑиÑÑ ÐºÐ¾Ð¼Ð±ÑнаÑÑÑÑ ÐºÐ»Ð°Ð²ÑÑ (<STRONG>Ctrl/Cmd+V</STRONG>) Ñа наÑиÑнÑÑÑ <STRONG>OK</STRONG>.',
+ securityMsg : 'РедакÑÐ¾Ñ Ð½Ðµ може оÑÑимаÑи пÑÑмий доÑÑÑп до бÑÑеÑÑ Ð¾Ð±Ð¼ÑÐ½Ñ Ñ Ð·Ð²\'ÑÐ·ÐºÑ Ð· налаÑÑÑваннÑми ваÑого бÑаÑзеÑа. Ðам поÑÑÑбно вÑÑавиÑи ÑнÑоÑмаÑÑÑ Ð¿Ð¾Ð²ÑоÑно в Ñе вÑкно.',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'ТекÑÑ, Ñо ви Ñ
оÑеÑе вÑÑавиÑи, ÑÑ
ожий на копÑйований з Word. Ðи Ñ
оÑеÑе оÑиÑÑиÑи його пеÑед вÑÑавкоÑ?',
+ toolbar : 'ÐÑÑавиÑи з Word',
+ title : 'ÐÑÑавиÑи з Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'ÐÑÑавиÑи ÑÑлÑки ÑекÑÑ',
+ title : 'ÐÑÑавиÑи ÑÑлÑки ÑекÑÑ'
+ },
+
+ templates :
+ {
+ button : 'Шаблони',
+ title : 'Шаблони змÑÑÑÑ',
+ options : 'Template Options', // MISSING
+ insertOption : 'ÐамÑниÑи поÑоÑний вмÑÑÑ',
+ selectPromptMsg : 'ÐбеÑÑÑÑ, бÑÐ´Ñ Ð»Ð°Ñка, Ñаблон Ð´Ð»Ñ Ð²ÑдкÑиÑÑÑ Ð² ÑедакÑоÑÑ<br>(поÑоÑний змÑÑÑ Ð±Ñде вÑÑаÑено):',
+ emptyListMsg : '(Ðе визнаÑено жодного ÑаблонÑ)'
+ },
+
+ showBlocks : 'ÐоказÑваÑи блоки',
+
+ stylesCombo :
+ {
+ label : 'СÑилÑ',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'Block ÑÑилÑ',
+ panelTitle2 : 'Inline ÑÑилÑ',
+ panelTitle3 : 'Object ÑÑилÑ'
+ },
+
+ format :
+ {
+ label : 'ФоÑмаÑÑваннÑ',
+ panelTitle : 'ФоÑмаÑÑваннÑ',
+
+ tag_p : 'ÐоÑмалÑний',
+ tag_pre : 'ФоÑмаÑований',
+ tag_address : 'ÐдÑеÑа',
+ tag_h1 : 'Ðаголовок 1',
+ tag_h2 : 'Ðаголовок 2',
+ tag_h3 : 'Ðаголовок 3',
+ tag_h4 : 'Ðаголовок 4',
+ tag_h5 : 'Ðаголовок 5',
+ tag_h6 : 'Ðаголовок 6',
+ tag_div : 'ÐоÑмалÑний (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'ШÑиÑÑ',
+ voiceLabel : 'ШÑиÑÑ',
+ panelTitle : 'ШÑиÑÑ'
+ },
+
+ fontSize :
+ {
+ label : 'РозмÑÑ',
+ voiceLabel : 'РозмÑÑ ÑÑиÑÑа',
+ panelTitle : 'РозмÑÑ'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ÐолÑÑ ÑекÑÑÑ',
+ bgColorTitle : 'ÐолÑÑ ÑонÑ',
+ panelTitle : 'Colors', // MISSING
+ auto : 'ÐвÑомаÑиÑний',
+ more : 'ÐолÑоÑи...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'ÐеÑеÑÑÑка оÑÑогÑаÑÑÑ Ð¿Ð¾ мÑÑÑ Ð½Ð°Ð±Ð¾ÑÑ',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'ÐклÑÑиÑи SCAYT',
+ disable : 'ÐÑдклÑÑиÑи SCAYT',
+ about : 'ÐÑо SCAYT',
+ toggle : 'ÐеÑемкнÑÑи SCAYT',
+ options : 'ÐпÑÑÑ',
+ langs : 'Ðови',
+ moreSuggestions : 'ÐÑлÑÑе пÑопозиÑÑй',
+ ignore : 'ÐгноÑÑваÑи',
+ ignoreAll : 'ÐгноÑÑваÑи вÑÑ',
+ addWord : 'ÐодаÑи Ñлово',
+ emptyDic : 'Ðазва Ñловника повинна бÑÑи заповнена.',
+
+ optionsTab : 'ÐпÑÑÑ',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'Ðови',
+
+ dictionariesTab : 'Словники',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'ÐÑо'
+ },
+
+ about :
+ {
+ title : 'ÐÑо CKEditor',
+ dlgTitle : 'ÐÑо CKEditor',
+ moreInfo : 'Щодо ÑнÑоÑмаÑÑÑ Ð· лÑÑензÑÐ²Ð°Ð½Ð½Ñ Ð·Ð°Ð²ÑÑайÑе до наÑого ÑайÑÑ:',
+ copy : 'Copyright © $1. ÐÑÑ Ð¿Ñава заÑÑеÑежено.'
+ },
+
+ maximize : 'ÐакÑимÑзÑваÑи',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'ЯкÑÑ',
+ flash : 'Flash анÑмаÑÑÑ',
+ div : 'РозÑив ÑÑоÑÑнки',
+ unknown : 'ÐевÑдомий об`ÑкÑ'
+ },
+
+ resize : 'ÐеÑеÑÑвайÑе Ð´Ð»Ñ Ð·Ð¼Ñни ÑозмÑÑÑ',
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/vi.js b/devel/third-party/ckeditor/lang/vi.js
new file mode 100644
index 0000000..f569ba9
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/vi.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Vietnamese language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['vi'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Bá» soạn thảo, %1, nhấn ALT + 0 Äá» xem hÆ°á»ng dẫn.',
+
+ // ARIA descriptions.
+ toolbar : 'Thanh công cụ',
+ editor : 'BỠsoạn thảo',
+
+ // Toolbar buttons without dialogs.
+ source : 'Mã HTML',
+ newPage : 'Trang má»i',
+ save : 'LÆ°u',
+ preview : 'Xem trÆ°á»c',
+ cut : 'Cắt',
+ copy : 'Sao chép',
+ paste : 'Dán',
+ print : 'In',
+ underline : 'Gạch chân',
+ bold : 'Äáºm',
+ italic : 'Nghiêng',
+ selectAll : 'Chá»n tất cả',
+ removeFormat : 'Xoá Äá»nh dạng',
+ strike : 'Gạch xuyên ngang',
+ subscript : 'Chá» sá» dÆ°á»i',
+ superscript : 'ChỠsỠtrên',
+ horizontalrule : 'Chèn ÄÆ°á»ng phân cách ngang',
+ pagebreak : 'Chèn ngắt trang',
+ unlink : 'Xoá liên kết',
+ undo : 'Khôi phục thao tác',
+ redo : 'Là m lại thao tác',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'Duyá»t trên máy chủ',
+ url : 'URL',
+ protocol : 'Giao thức',
+ upload : 'Tải lên',
+ uploadSubmit : 'Tải lên máy chủ',
+ image : 'Hình ảnh',
+ flash : 'Flash',
+ form : 'Biá»u mẫu',
+ checkbox : 'Nút kiá»m',
+ radio : 'Nút chá»n',
+ textField : 'TrÆ°á»ng vÄn bản',
+ textarea : 'Vùng vÄn bản',
+ hiddenField : 'TrÆ°á»ng ẩn',
+ button : 'Nút',
+ select : 'à chá»n',
+ imageButton : 'Nút hình ảnh',
+ notSet : '<không thiết láºp>',
+ id : 'Äá»nh danh',
+ name : 'Tên',
+ langDir : 'HÆ°á»ng ngôn ngữ',
+ langDirLtr : 'Trái sang phải (LTR)',
+ langDirRtl : 'Phải sang trái (RTL)',
+ langCode : 'Mã ngôn ngữ',
+ longDescr : 'Mô tả URL',
+ cssClass : 'Lá»p Stylesheet',
+ advisoryTitle : 'Nhan Äá» hÆ°á»ng dẫn',
+ cssStyle : 'Kiá»u (style)',
+ ok : 'Äá»ng ý',
+ cancel : 'Bá» qua',
+ close : 'Äóng',
+ preview : 'Xem trÆ°á»c',
+ generalTab : 'Tab chung',
+ advancedTab : 'Tab má» rá»ng',
+ validateNumberFailed : 'Giá trá» nà y không phải là sá».',
+ confirmNewPage : 'Má»i thay Äá»i không Äược lÆ°u lại, ná»i dung nà y sẽ bá» mất. Bạn có chắc chắn muá»n tải má»t trang má»i?',
+ confirmCancel : 'Má»t và i tùy chá»n Äã bá» thay Äá»i. Bạn có chắc chắn muá»n Äóng há»p thoại?',
+ options : 'Tùy chá»n',
+ target : 'ÄÃch Äến',
+ targetNew : 'Cá»a sá» má»i (_blank)',
+ targetTop : 'Cá»a sá» trên cùng (_top)',
+ targetSelf : 'Tại trang (_self)',
+ targetParent : 'Cá»a sá» cha (_parent)',
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, không có</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Tùy chá»n menu bá» xung'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'Chèn ký tá»± Äặc biá»t',
+ title : 'Hãy chá»n ký tá»± Äặc biá»t',
+ options : 'Tùy chá»n các ký tá»± Äặc biá»t'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'Chèn/Sá»a liên kết',
+ other : '<khác>',
+ menu : 'Sá»a liên kết',
+ title : 'Liên kết',
+ info : 'Thông tin liên kết',
+ target : 'ÄÃch',
+ upload : 'Tải lên',
+ advanced : 'Má» rá»ng',
+ type : 'Kiá»u liên kết',
+ toUrl : 'URL',
+ toAnchor : 'Neo trong trang nà y',
+ toEmail : 'ThÆ° Äiá»n tá»',
+ targetFrame : '<khung>',
+ targetPopup : '<cá»a sá» popup>',
+ targetFrameName : 'Tên khung ÄÃch',
+ targetPopupName : 'Tên cá»a sá» Popup',
+ popupFeatures : 'Äặc Äiá»m của cá»a sá» Popup',
+ popupResizable : 'Có thá» thay Äá»i kÃch cỡ',
+ popupStatusBar : 'Thanh trạng thái',
+ popupLocationBar: 'Thanh vá» trÃ',
+ popupToolbar : 'Thanh công cụ',
+ popupMenuBar : 'Thanh Menu',
+ popupFullScreen : 'Toà n mà n hình (IE)',
+ popupScrollBars : 'Thanh cuá»n',
+ popupDependent : 'Phụ thuá»c (Netscape)',
+ popupWidth : 'Rá»ng',
+ popupLeft : 'VỠtrà bên trái',
+ popupHeight : 'Cao',
+ popupTop : 'Vá» trà phÃa trên',
+ id : 'Äá»nh danh',
+ langDir : 'HÆ°á»ng ngôn ngữ',
+ langDirLTR : 'Trái sang phải (LTR)',
+ langDirRTL : 'Phải sang trái (RTL)',
+ acccessKey : 'PhÃm há» trợ truy cáºp',
+ name : 'Tên',
+ langCode : 'Mã ngôn ngữ',
+ tabIndex : 'ChỠsỠcủa Tab',
+ advisoryTitle : 'Nhan Äá» hÆ°á»ng dẫn',
+ advisoryContentType : 'Ná»i dung hÆ°á»ng dẫn',
+ cssClasses : 'Lá»p Stylesheet',
+ charset : 'Bảng mã của tà i nguyên Äược liên kết Äến',
+ styles : 'Kiá»u (style)',
+ selectAnchor : 'Chá»n má»t Äiá»m neo',
+ anchorName : 'Theo tên Äiá»m neo',
+ anchorId : 'Theo Äá»nh danh thà nh phần',
+ emailAddress : 'ThÆ° Äiá»n tá»',
+ emailSubject : 'Tiêu Äá» thông Äiá»p',
+ emailBody : 'Ná»i dung thông Äiá»p',
+ noAnchors : '(Không có Äiá»m neo nà o trong tà i liá»u)',
+ noUrl : 'Hãy ÄÆ°a và o ÄÆ°á»ng dẫn liên kết (URL)',
+ noEmail : 'Hãy ÄÆ°a và o Äá»a chá» thÆ° Äiá»n tá»'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'Chèn/Sá»a Äiá»m neo',
+ menu : 'Thuá»c tÃnh Äiá»m neo',
+ title : 'Thuá»c tÃnh Äiá»m neo',
+ name : 'Tên của Äiá»m neo',
+ errorName : 'Hãy nháºp và o tên của Äiá»m neo'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Thuá»c tÃnh danh sách có thứ tá»±',
+ bulletedTitle : 'Thuá»c tÃnh danh sách không thứ tá»±',
+ type : 'Kiá»u loại',
+ start : 'Bắt Äầu',
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Khuyên tròn',
+ disc : 'Hình ÄÄ©a',
+ square : 'Hình vuông',
+ none : 'Không gì cả',
+ notset : '<không thiết láºp>',
+ armenian : 'Sá» theo kiá»u Armenian',
+ georgian : 'Sá» theo kiá»u Georgian (an, ban, gan...)',
+ lowerRoman : 'Sá» La Mã kiá»u thÆ°á»ng (i, ii, iii, iv, v...)',
+ upperRoman : 'Sá» La Mã kiá»u HOA (I, II, III, IV, V...)',
+ lowerAlpha : 'Kiá»u abc thÆ°á»ng (a, b, c, d, e...)',
+ upperAlpha : 'Kiá»u ABC HOA (A, B, C, D, E...)',
+ lowerGreek : 'Kiá»u Hy Lạp (alpha, beta, gamma...)',
+ decimal : 'Kiá»u sá» (1, 2, 3 ...)',
+ decimalLeadingZero : 'Kiá»u sá» (01, 02, 03...)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'Tìm kiếm và thay thế',
+ find : 'Tìm kiếm',
+ replace : 'Thay thế',
+ findWhat : 'Tìm chuá»i:',
+ replaceWith : 'Thay bằng:',
+ notFoundMsg : 'Không tìm thấy chuá»i cần tìm.',
+ matchCase : 'Phân biá»t chữ hoa/thÆ°á»ng',
+ matchWord : 'Giá»ng toà n bá» từ',
+ matchCyclic : 'Giá»ng má»t phần',
+ replaceAll : 'Thay thế tất cả',
+ replaceSuccessMsg : '%1 vá» trà Äã Äược thay thế.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'Bảng',
+ title : 'Thuá»c tÃnh bảng',
+ menu : 'Thuá»c tÃnh bảng',
+ deleteTable : 'Xóa bảng',
+ rows : 'SỠhà ng',
+ columns : 'Sá» cá»t',
+ border : 'KÃch thÆ°á»c ÄÆ°á»ng viá»n',
+ align : 'Canh lá»',
+ alignLeft : 'Trái',
+ alignCenter : 'Giữa',
+ alignRight : 'Phải',
+ width : 'Rá»ng',
+ widthPx : 'Äiá»m ảnh (px)',
+ widthPc : 'Phần trÄm (%)',
+ widthUnit : 'ÄÆ¡n vá»',
+ height : 'Chiá»u cao',
+ cellSpace : 'Khoảng cách giữa các ô',
+ cellPad : 'Khoảng Äá»m giữ ô và ná»i dung',
+ caption : 'Äầu Äá»',
+ summary : 'Tóm lược',
+ headers : 'Äầu Äá»',
+ headersNone : 'Không có',
+ headersColumn : 'Cá»t Äầu tiên',
+ headersRow : 'Hà ng Äầu tiên',
+ headersBoth : 'Cả hai',
+ invalidRows : 'Sá» lượng hà ng phải là má»t sá» lá»n hÆ¡n 0.',
+ invalidCols : 'Sá» lượng cá»t phải là má»t sá» lá»n hÆ¡n 0.',
+ invalidBorder : 'KÃch cỡ của ÄÆ°á»ng biên phải là má»t sá» nguyên.',
+ invalidWidth : 'Chiá»u rá»ng của bảng phải là má»t sá» nguyên.',
+ invalidHeight : 'Chiá»u cao của bảng phải là má»t sá» nguyên.',
+ invalidCellSpacing : 'Khoảng cách giữa các ô phải là má»t sá» nguyên.',
+ invalidCellPadding : 'Khoảng Äá»m giữa ô và ná»i dung phải là má»t sá» nguyên.',
+
+ cell :
+ {
+ menu : 'Ã',
+ insertBefore : 'Chèn ô PhÃa trÆ°á»c',
+ insertAfter : 'Chèn ô PhÃa sau',
+ deleteCell : 'Xoá ô',
+ merge : 'Kết hợp ô',
+ mergeRight : 'Kết hợp sang phải',
+ mergeDown : 'Kết hợp xuá»ng dÆ°á»i',
+ splitHorizontal : 'Phân tách ô theo chiá»u ngang',
+ splitVertical : 'Phân tách ô theo chiá»u dá»c',
+ title : 'Thuá»c tÃnh của ô',
+ cellType : 'Kiá»u của ô',
+ rowSpan : 'Kết hợp hà ng',
+ colSpan : 'Kết hợp cá»t',
+ wordWrap : 'Chữ liá»n hà ng',
+ hAlign : 'Canh lá» ngang',
+ vAlign : 'Canh lá» dá»c',
+ alignTop : 'Trên cùng',
+ alignMiddle : 'ChÃnh giữa',
+ alignBottom : 'DÆ°á»i cùng',
+ alignBaseline : 'ÄÆ°á»ng cÆ¡ sá»',
+ bgColor : 'Mà u ná»n',
+ borderColor : 'Mà u viá»n',
+ data : 'Dữ liá»u',
+ header : 'Äầu Äá»',
+ yes : 'Có',
+ no : 'Không',
+ invalidWidth : 'Chiá»u rá»ng của ô phải là má»t sá» nguyên.',
+ invalidHeight : 'Chiá»u cao của ô phải là má»t sá» nguyên.',
+ invalidRowSpan : 'Sá» hà ng kết hợp phải là má»t sá» nguyên.',
+ invalidColSpan : 'Sá» cá»t kết hợp phải là má»t sá» nguyên.',
+ chooseColor : 'Chá»n mà u'
+ },
+
+ row :
+ {
+ menu : 'HÃ ng',
+ insertBefore : 'Chèn hà ng phÃa trÆ°á»c',
+ insertAfter : 'Chèn hà ng phÃa sau',
+ deleteRow : 'Xoá hà ng'
+ },
+
+ column :
+ {
+ menu : 'Cá»t',
+ insertBefore : 'Chèn cá»t phÃa trÆ°á»c',
+ insertAfter : 'Chèn cá»t phÃa sau',
+ deleteColumn : 'Xoá cá»t'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'Thuá»c tÃnh của nút',
+ text : 'Chuá»i hiá»n thá» (giá trá»)',
+ type : 'Kiá»u',
+ typeBtn : 'Nút bấm',
+ typeSbm : 'Nút gá»i',
+ typeRst : 'Nút nháºp lại'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'Thuá»c tÃnh nút kiá»m',
+ radioTitle : 'Thuá»c tÃnh nút chá»n',
+ value : 'Giá trá»',
+ selected : 'Äược chá»n'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : 'Thuá»c tÃnh biá»u mẫu',
+ menu : 'Thuá»c tÃnh biá»u mẫu',
+ action : 'Hà nh Äá»ng',
+ method : 'Phương thức',
+ encoding : 'Bảng mã'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'Thuá»c tÃnh ô chá»n',
+ selectInfo : 'Thông tin',
+ opAvail : 'Các tùy chá»n có thá» sá» dụng',
+ value : 'Giá trá»',
+ size : 'KÃch cỡ',
+ lines : 'dòng',
+ chkMulti : 'Cho phép chá»n nhiá»u',
+ opText : 'VÄn bản',
+ opValue : 'Giá trá»',
+ btnAdd : 'Thêm',
+ btnModify : 'Thay Äá»i',
+ btnUp : 'Lên',
+ btnDown : 'Xuá»ng',
+ btnSetValue : 'Giá trá» Äược chá»n',
+ btnDelete : 'Nút xoá'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'Thuá»c tÃnh vùng vÄn bản',
+ cols : 'Sá» cá»t',
+ rows : 'SỠhà ng'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'Thuá»c tÃnh trÆ°á»ng vÄn bản',
+ name : 'Tên',
+ value : 'Giá trá»',
+ charWidth : 'Äá» rá»ng của ký tá»±',
+ maxChars : 'Sá» ký tá»± tá»i Äa',
+ type : 'Kiá»u',
+ typeText : 'Ký tự',
+ typePass : 'Máºt khẩu'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'Thuá»c tÃnh trÆ°á»ng ẩn',
+ name : 'Tên',
+ value : 'Giá trá»'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'Thuá»c tÃnh của ảnh',
+ titleButton : 'Thuá»c tÃnh nút của ảnh',
+ menu : 'Thuá»c tÃnh của ảnh',
+ infoTab : 'Thông tin của ảnh',
+ btnUpload : 'Tải lên máy chủ',
+ upload : 'Tải lên',
+ alt : 'Chú thÃch ảnh',
+ width : 'Chiá»u rá»ng',
+ height : 'chiá»u cao',
+ lockRatio : 'Giữ nguyên tá»· lá»',
+ unlockRatio : 'Phá bá» tá»· lá»',
+ resetSize : 'KÃch thÆ°á»c gá»c',
+ border : 'ÄÆ°á»ng viá»n',
+ hSpace : 'Khoảng Äá»m ngang',
+ vSpace : 'Khoảng Äá»m dá»c',
+ align : 'Vá» trÃ',
+ alignLeft : 'Bên trái',
+ alignRight : 'Bên phải',
+ alertUrl : 'Hãy ÄÆ°a và o ÄÆ°á»ng dẫn của ảnh',
+ linkTab : 'Tab liên kết',
+ button2Img : 'Bạn có muá»n chuyá»n nút bấm bằng ảnh Äược chá»n thà nh ảnh?',
+ img2Button : 'Bạn có muá»n chuyá»n Äá»i ảnh Äược chá»n thà nh nút bấm bằng ảnh?',
+ urlMissing : 'Thiếu ÄÆ°á»ng dẫn hình ảnh',
+ validateWidth : 'Chiá»u rá»ng của ảnh phải là má»t sá» nguyên dÆ°Æ¡ng',
+ validateHeight : 'Chiá»u cao của ảnh phải là má»t sá» nguyên dÆ°Æ¡ng',
+ validateBorder : 'Chiá»u rá»ng của ÄÆ°á»ng viá»n phải là má»t sá» nguyên dÆ°Æ¡ng',
+ validateHSpace : 'Khoảng Äá»m ngang phải là má»t sá» nguyên dÆ°Æ¡ng',
+ validateVSpace : 'Khoảng Äá»m dá»c phải là má»t sá» nguyên dÆ°Æ¡ng'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Thuá»c tÃnh Flash',
+ propertiesTab : 'Thuá»c tÃnh',
+ title : 'Thuá»c tÃnh Flash',
+ chkPlay : 'Tá»± Äá»ng chạy',
+ chkLoop : 'Lặp',
+ chkMenu : 'Cho phép báºt menu của Flash',
+ chkFull : 'Cho phép toà n mà n hình',
+ scale : 'Tá»· lá»',
+ scaleAll : 'Hiá»n thá» tất cả',
+ scaleNoBorder : 'Không ÄÆ°á»ng viá»n',
+ scaleFit : 'Vừa vặn',
+ access : 'Truy cáºp mã',
+ accessAlways : 'Luôn luôn',
+ accessSameDomain: 'Cùng tên miá»n',
+ accessNever : 'Không bao giá»',
+ align : 'Vá» trÃ',
+ alignLeft : 'Trái',
+ alignAbsBottom : 'DÆ°á»i tuyá»t Äá»i',
+ alignAbsMiddle : 'Giữa tuyá»t Äá»i',
+ alignBaseline : 'ÄÆ°á»ng cÆ¡ sá»',
+ alignBottom : 'DÆ°á»i',
+ alignMiddle : 'Giữa',
+ alignRight : 'Phải',
+ alignTextTop : 'PhÃa trên chữ',
+ alignTop : 'Trên',
+ quality : 'Chất lượng',
+ qualityBest : 'Tá»t nhất',
+ qualityHigh : 'Cao',
+ qualityAutoHigh : 'Cao tá»± Äá»ng',
+ qualityMedium : 'Trung bình',
+ qualityAutoLow : 'Thấp tá»± Äá»ng',
+ qualityLow : 'Thấp',
+ windowModeWindow: 'Cá»a sá»',
+ windowModeOpaque: 'Má» Äục',
+ windowModeTransparent : 'Trong suá»t',
+ windowMode : 'Chế Äá» cá»a sá»',
+ flashvars : 'Các biến sỠdà nh cho Flash',
+ bgcolor : 'Mà u ná»n',
+ width : 'Rá»ng',
+ height : 'Cao',
+ hSpace : 'Khoảng Äá»m ngang',
+ vSpace : 'Khoảng Äá»m dá»c',
+ validateSrc : 'Hãy ÄÆ°a và o ÄÆ°á»ng dẫn liên kết',
+ validateWidth : 'Chiá»u rá»ng phải là sá» nguyên.',
+ validateHeight : 'Chiá»u cao phải là sá» nguyên.',
+ validateHSpace : 'Khoảng Äá»m ngang phải là sá» nguyên.',
+ validateVSpace : 'Khoảng Äá»m dá»c phải là sá» nguyên.'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'Kiá»m tra chÃnh tả',
+ title : 'Kiá»m tra chÃnh tả',
+ notAvailable : 'Xin lá»i, dá»ch vụ nà y hiá»n tại không có.',
+ errorLoading : 'Lá»i khi Äang nạp dá»ch vụ ứng dụng: %s.',
+ notInDic : 'Không có trong từ Äiá»n',
+ changeTo : 'Chuyá»n thà nh',
+ btnIgnore : 'Bá» qua',
+ btnIgnoreAll : 'BỠqua tất cả',
+ btnReplace : 'Thay thế',
+ btnReplaceAll : 'Thay thế tất cả',
+ btnUndo : 'Phục há»i lại',
+ noSuggestions : '- Không ÄÆ°a ra gợi ý vá» từ -',
+ progress : 'Äang tiến hà nh kiá»m tra chÃnh tả...',
+ noMispell : 'Hoà n tất kiá»m tra chÃnh tả: Không có lá»i chÃnh tả',
+ noChanges : 'Hoà n tất kiá»m tra chÃnh tả: Không có từ nà o Äược thay Äá»i',
+ oneChange : 'Hoà n tất kiá»m tra chÃnh tả: Má»t từ Äã Äược thay Äá»i',
+ manyChanges : 'Hoà n tất kiá»m tra chÃnh tả: %1 từ Äã Äược thay Äá»i',
+ ieSpellDownload : 'Chức nÄng kiá»m tra chÃnh tả chÆ°a Äược cà i Äặt. Bạn có muá»n tải vá» ngay bây giá»?'
+ },
+
+ smiley :
+ {
+ toolbar : 'Hình biá»u lá» cảm xúc (mặt cÆ°á»i)',
+ title : 'Chèn hình biá»u lá» cảm xúc (mặt cÆ°á»i)',
+ options : 'Tùy chá»n hình biá»u lá» cảm xúc'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Nhãn thà nh phần',
+ eleTitle : '%1 thà nh phần'
+ },
+
+ numberedlist : 'Danh sách có thứ tự',
+ bulletedlist : 'Danh sách không thứ tự',
+ indent : 'Dá»ch và o trong',
+ outdent : 'Dá»ch ra ngoà i',
+
+ justify :
+ {
+ left : 'Canh trái',
+ center : 'Canh giữa',
+ right : 'Canh phải',
+ block : 'Canh Äá»u'
+ },
+
+ blockquote : 'Khá»i trÃch dẫn',
+
+ clipboard :
+ {
+ title : 'Dán',
+ cutError : 'Các thiết láºp bảo máºt của trình duyá»t không cho phép trình biên táºp tá»± Äá»ng thá»±c thi lá»nh cắt. Hãy sá» dụng bà n phÃm cho lá»nh nà y (Ctrl/Cmd+X).',
+ copyError : 'Các thiết láºp bảo máºt của trình duyá»t không cho phép trình biên táºp tá»± Äá»ng thá»±c thi lá»nh sao chép. Hãy sá» dụng bà n phÃm cho lá»nh nà y (Ctrl/Cmd+C).',
+ pasteMsg : 'Hãy dán ná»i dung và o trong khung bên dÆ°á»i, sá» dụng tá» hợp phÃm (<STRONG>Ctrl/Cmd+V</STRONG>) và nhấn và o nút <STRONG>Äá»ng ý</STRONG>.',
+ securityMsg : 'Do thiết láºp bảo máºt của trình duyá»t nên trình biên táºp không thá» truy cáºp trá»±c tiếp và o ná»i dung Äã sao chép. Bạn cần phải dán lại ná»i dung và o cá»a sá» nà y.',
+ pasteArea : 'Khu vực dán'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'VÄn bản bạn muá»n dán có kèm Äá»nh dạng của Word. Bạn có muá»n loại bá» Äá»nh dạng Word trÆ°á»c khi dán?',
+ toolbar : 'Dán vá»i Äá»nh dạng Word',
+ title : 'Dán vá»i Äá»nh dạng Word',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'Dán theo Äá»nh dạng vÄn bản thuần',
+ title : 'Dán theo Äá»nh dạng vÄn bản thuần'
+ },
+
+ templates :
+ {
+ button : 'Mẫu dựng sẵn',
+ title : 'Ná»i dung Mẫu dá»±ng sẵn',
+ options : 'Tùy chá»n mẫu dá»±ng sẵn',
+ insertOption : 'Thay thế ná»i dung hiá»n tại',
+ selectPromptMsg : 'Hãy chá»n mẫu dá»±ng sẵn Äá» má» trong trình biên táºp<br>(ná»i dung hiá»n tại sẽ bá» mất):',
+ emptyListMsg : '(Không có mẫu dá»±ng sẵn nà o Äược Äá»nh nghÄ©a)'
+ },
+
+ showBlocks : 'Hiá»n thá» các khá»i',
+
+ stylesCombo :
+ {
+ label : 'Kiá»u',
+ panelTitle : 'Phong cách Äá»nh dạng',
+ panelTitle1 : 'Kiá»u khá»i',
+ panelTitle2 : 'Kiá»u trá»±c tiếp',
+ panelTitle3 : 'Kiá»u Äá»i tượng'
+ },
+
+ format :
+ {
+ label : 'Äá»nh dạng',
+ panelTitle : 'Äá»nh dạng',
+
+ tag_p : 'Bình thÆ°á»ng (P)',
+ tag_pre : 'Äã thiết láºp',
+ tag_address : 'Address',
+ tag_h1 : 'Heading 1',
+ tag_h2 : 'Heading 2',
+ tag_h3 : 'Heading 3',
+ tag_h4 : 'Heading 4',
+ tag_h5 : 'Heading 5',
+ tag_h6 : 'Heading 6',
+ tag_div : 'Bình thÆ°á»ng (DIV)'
+ },
+
+ div :
+ {
+ title : 'Tạo khá»i các thà nh phần',
+ toolbar : 'Tạo khá»i các thà nh phần',
+ cssClassInputLabel : 'Các lá»p CSS',
+ styleSelectLabel : 'Kiá»u (style)',
+ IdInputLabel : 'Äá»nh danh (id)',
+ languageCodeInputLabel : 'Mã ngôn ngữ',
+ inlineStyleInputLabel : 'Kiá»u ná»i dòng',
+ advisoryTitleInputLabel : 'Nhan Äá» hÆ°á»ng dẫn',
+ langDirLabel : 'HÆ°á»ng ngôn ngữ',
+ langDirLTRLabel : 'Trái sang phải (LTR)',
+ langDirRTLLabel : 'Phải qua trái (RTL)',
+ edit : 'Chá»nh sá»a',
+ remove : 'Xóa bá»'
+ },
+
+ font :
+ {
+ label : 'Phông',
+ voiceLabel : 'Phông',
+ panelTitle : 'Phông'
+ },
+
+ fontSize :
+ {
+ label : 'Cỡ chữ',
+ voiceLabel : 'KÃch cỡ phông',
+ panelTitle : 'Cỡ chữ'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'Mà u chữ',
+ bgColorTitle : 'Mà u ná»n',
+ panelTitle : 'Mà u sắc',
+ auto : 'Tá»± Äá»ng',
+ more : 'Mà u khác...'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'Kiá»m tra chÃnh tả ngay khi gõ chữ (SCAYT)',
+ opera_title : 'Không há» trợ trên trình duyá»t Opera',
+ enable : 'Báºt SCAYT',
+ disable : 'Tắt SCAYT',
+ about : 'Thông tin vỠSCAYT',
+ toggle : 'Báºt tắt SCAYT',
+ options : 'Tùy chá»n',
+ langs : 'Ngôn ngữ',
+ moreSuggestions : 'Äá» xuất thêm',
+ ignore : 'Bá» qua',
+ ignoreAll : 'BỠqua tất cả',
+ addWord : 'Thêm từ',
+ emptyDic : 'Tên của từ Äiá»n không Äược Äá» trá»ng.',
+
+ optionsTab : 'Tùy chá»n',
+ allCaps : 'Không phân biá»t chữ HOA chữ thÆ°á»ng',
+ ignoreDomainNames : 'Bá» qua tên miá»n',
+ mixedCase : 'Không phân biá»t loại chữ',
+ mixedWithDigits : 'Không phân biá»t chữ và sá»',
+
+ languagesTab : 'Tab ngôn ngữ',
+
+ dictionariesTab : 'Từ Äiá»n',
+ dic_field_name : 'Tên từ Äiá»n',
+ dic_create : 'Tạo',
+ dic_restore : 'Phục há»i',
+ dic_delete : 'Xóa',
+ dic_rename : 'Thay tên',
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'Thông tin'
+ },
+
+ about :
+ {
+ title : 'Thông tin vỠCKEditor',
+ dlgTitle : 'Thông tin vỠCKEditor',
+ moreInfo : 'Vui lòng ghé thÄm trang web của chúng tôi Äá» có thông tin vá» giấy phép:',
+ copy : 'Bản quyá»n © $1. Giữ toà n quyá»n.'
+ },
+
+ maximize : 'Phóng to tá»i Äa',
+ minimize : 'Thu nhá»',
+
+ fakeobjects :
+ {
+ anchor : 'Äiá»m neo',
+ flash : 'Flash',
+ div : 'Ngắt trang',
+ unknown : 'Äá»i tượng không rõ rà ng'
+ },
+
+ resize : 'Kéo rê Äá» thay Äá»i kÃch cỡ',
+
+ colordialog :
+ {
+ title : 'Chá»n mà u',
+ options : 'Color Options', // MISSING
+ highlight : 'Mà u chá»n',
+ selected : 'Mà u Äã chá»n',
+ clear : 'Xóa bá»'
+ },
+
+ toolbarCollapse : 'Thu gá»n thanh công cụ',
+ toolbarExpand : 'Má» rá»ng thnah công cụ',
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/zh-cn.js b/devel/third-party/ckeditor/lang/zh-cn.js
new file mode 100644
index 0000000..4312e4f
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/zh-cn.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Chinese Simplified language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['zh-cn'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'æè§å³æå¾ç¼è¾å¨, %1, æ ALT+0 æ¥ç帮å©ã',
+
+ // ARIA descriptions.
+ toolbar : 'å·¥å
·æ ',
+ editor : 'æè§å³æå¾ç¼è¾å¨',
+
+ // Toolbar buttons without dialogs.
+ source : 'æºç ',
+ newPage : 'æ°å»º',
+ save : 'ä¿å',
+ preview : 'é¢è§',
+ cut : 'åªå',
+ copy : 'å¤å¶',
+ paste : 'ç²è´´',
+ print : 'æå°',
+ underline : 'ä¸å线',
+ bold : 'å ç²',
+ italic : 'å¾æ',
+ selectAll : 'å
¨é',
+ removeFormat : 'æ¸
é¤æ ¼å¼',
+ strike : 'å é¤çº¿',
+ subscript : 'ä¸æ ',
+ superscript : 'ä¸æ ',
+ horizontalrule : 'æå
¥æ°´å¹³çº¿',
+ pagebreak : 'æå
¥å页符',
+ unlink : 'åæ¶è¶
é¾æ¥',
+ undo : 'æ¤æ¶',
+ redo : 'éå',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'æµè§æå¡å¨',
+ url : 'æºæ件',
+ protocol : 'åè®®',
+ upload : 'ä¸ä¼ ',
+ uploadSubmit : 'ä¸ä¼ å°æå¡å¨ä¸',
+ image : 'å¾è±¡',
+ flash : 'Flash',
+ form : '表å',
+ checkbox : 'å¤éæ¡',
+ radio : 'åéæé®',
+ textField : 'åè¡ææ¬',
+ textarea : 'å¤è¡ææ¬',
+ hiddenField : 'éèå',
+ button : 'æé®',
+ select : 'å表/èå',
+ imageButton : 'å¾åå',
+ notSet : '<没æ设置>',
+ id : 'ID',
+ name : 'å称',
+ langDir : 'è¯è¨æ¹å',
+ langDirLtr : 'ä»å·¦å°å³ (LTR)',
+ langDirRtl : 'ä»å³å°å·¦ (RTL)',
+ langCode : 'è¯è¨ä»£ç ',
+ longDescr : '详ç»è¯´æå°å',
+ cssClass : 'æ ·å¼ç±»å称',
+ advisoryTitle : 'æ é¢',
+ cssStyle : 'è¡å
æ ·å¼',
+ ok : 'ç¡®å®',
+ cancel : 'åæ¶',
+ close : 'å
³é',
+ preview : 'é¢è§',
+ generalTab : '常è§',
+ advancedTab : 'é«çº§',
+ validateNumberFailed : 'éè¦è¾å
¥æ°åæ ¼å¼',
+ confirmNewPage : 'å½åææ¡£å
容æªä¿å,æ¯å¦ç¡®è®¤æ°å»ºææ¡£ï¼',
+ confirmCancel : 'é¨åä¿®æ¹å°æªä¿åï¼æ¯å¦ç¡®è®¤å
³é对è¯æ¡ï¼',
+ options : 'é项',
+ target : 'ç®æ çªå£',
+ targetNew : 'æ°çªå£ (_blank)',
+ targetTop : 'æ´é¡µ (_top)',
+ targetSelf : 'æ¬çªå£ (_self)',
+ targetParent : 'ç¶çªå£ (_parent)',
+ langDirLTR : 'ä»å·¦å°å³ (LTR)',
+ langDirRTL : 'ä»å³å°å·¦ (RTL)',
+ styles : 'æ ·å¼',
+ cssClasses : 'æ ·å¼ç±»',
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, ä¸å¯ç¨</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'å¿«æ·èåé项'
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'æå
¥ç¹æ®ç¬¦å·',
+ title : 'éæ©ç¹æ®ç¬¦å·',
+ options : 'ç¹æ®ç¬¦å·é项'
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'æå
¥/ç¼è¾è¶
é¾æ¥',
+ other : '<å
¶ä»>',
+ menu : 'ç¼è¾è¶
é¾æ¥',
+ title : 'è¶
é¾æ¥',
+ info : 'è¶
é¾æ¥ä¿¡æ¯',
+ target : 'ç®æ ',
+ upload : 'ä¸ä¼ ',
+ advanced : 'é«çº§',
+ type : 'è¶
é¾æ¥ç±»å',
+ toUrl : 'å°å',
+ toAnchor : '页å
éç¹é¾æ¥',
+ toEmail : 'çµåé®ä»¶',
+ targetFrame : '<æ¡æ¶>',
+ targetPopup : '<å¼¹åºçªå£>',
+ targetFrameName : 'ç®æ æ¡æ¶å称',
+ targetPopupName : 'å¼¹åºçªå£å称',
+ popupFeatures : 'å¼¹åºçªå£å±æ§',
+ popupResizable : 'å¯ç¼©æ¾',
+ popupStatusBar : 'ç¶ææ ',
+ popupLocationBar: 'å°åæ ',
+ popupToolbar : 'å·¥å
·æ ',
+ popupMenuBar : 'èåæ ',
+ popupFullScreen : 'å
¨å± (IE)',
+ popupScrollBars : 'æ»å¨æ¡',
+ popupDependent : 'ä¾é (NS)',
+ popupWidth : '宽',
+ popupLeft : 'å·¦',
+ popupHeight : 'é«',
+ popupTop : 'å³',
+ id : 'ID',
+ langDir : 'è¯è¨æ¹å',
+ langDirLTR : 'ä»å·¦å°å³ (LTR)',
+ langDirRTL : 'ä»å³å°å·¦ (RTL)',
+ acccessKey : '访é®é®',
+ name : 'å称',
+ langCode : 'è¯è¨ä»£ç ',
+ tabIndex : 'Tab é®æ¬¡åº',
+ advisoryTitle : 'æ é¢',
+ advisoryContentType : 'å
容类å',
+ cssClasses : 'æ ·å¼ç±»å称',
+ charset : 'å符ç¼ç ',
+ styles : 'è¡å
æ ·å¼',
+ selectAnchor : 'éæ©ä¸ä¸ªéç¹',
+ anchorName : 'æéç¹å称',
+ anchorId : 'æéç¹ ID',
+ emailAddress : 'å°å',
+ emailSubject : '主é¢',
+ emailBody : 'å
容',
+ noAnchors : '(æ¤æ档没æå¯ç¨çéç¹)',
+ noUrl : '请è¾å
¥è¶
é¾æ¥å°å',
+ noEmail : '请è¾å
¥çµåé®ä»¶å°å'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'æå
¥/ç¼è¾éç¹é¾æ¥',
+ menu : 'éç¹é¾æ¥å±æ§',
+ title : 'éç¹é¾æ¥å±æ§',
+ name : 'éç¹å称',
+ errorName : '请è¾å
¥éç¹å称'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'ç¼å·å表å±æ§',
+ bulletedTitle : '项ç®å表å±æ§',
+ type : 'æ è®°ç±»å',
+ start : 'å¼å§åºå·',
+ validateStartNumber :'å表å¼å§åºå·å¿
须为æ´æ°æ ¼å¼',
+ circle : '空å¿å',
+ disc : 'å®å¿å',
+ square : 'å®å¿æ¹å',
+ none : 'æ æ è®°',
+ notset : '<没æ设置>',
+ armenian : 'ä¼ ç»çäºç¾å°¼äºç¼å·æ¹å¼',
+ georgian : 'ä¼ ç»çä¹æ²»äºç¼å·æ¹å¼(an, ban, gan, ç)',
+ lowerRoman : 'å°åç½é©¬æ°å(i, ii, iii, iv, v, ç)',
+ upperRoman : '大åç½é©¬æ°å(I, II, III, IV, V, ç)',
+ lowerAlpha : 'å°åè±æåæ¯(a, b, c, d, e, ç)',
+ upperAlpha : '大åè±æåæ¯(A, B, C, D, E, ç)',
+ lowerGreek : 'å°åå¸è
åæ¯(alpha, beta, gamma, ç)',
+ decimal : 'æ°å (1, 2, 3, ç)',
+ decimalLeadingZero : '0å¼å¤´çæ°åæ è®°(01, 02, 03, ç)'
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'æ¥æ¾åæ¿æ¢',
+ find : 'æ¥æ¾',
+ replace : 'æ¿æ¢',
+ findWhat : 'æ¥æ¾:',
+ replaceWith : 'æ¿æ¢:',
+ notFoundMsg : 'æå®ææ¬æ²¡ææ¾å°',
+ matchCase : 'åºå大å°å',
+ matchWord : 'å
¨åå¹é
',
+ matchCyclic : '循ç¯å¹é
',
+ replaceAll : 'å
¨é¨æ¿æ¢',
+ replaceSuccessMsg : 'å
±å®æ %1 å¤æ¿æ¢.'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'è¡¨æ ¼',
+ title : 'è¡¨æ ¼å±æ§',
+ menu : 'è¡¨æ ¼å±æ§',
+ deleteTable : 'å é¤è¡¨æ ¼',
+ rows : 'è¡æ°',
+ columns : 'åæ°',
+ border : 'è¾¹æ¡',
+ align : '对é½',
+ alignLeft : '左对é½',
+ alignCenter : 'å±
ä¸',
+ alignRight : 'å³å¯¹é½',
+ width : '宽度',
+ widthPx : 'åç´ ',
+ widthPc : 'ç¾åæ¯',
+ widthUnit : '宽度åä½',
+ height : 'é«åº¦',
+ cellSpace : 'é´è·',
+ cellPad : 'è¾¹è·',
+ caption : 'æ é¢',
+ summary : 'æè¦',
+ headers : 'æ é¢åå
æ ¼',
+ headersNone : 'æ ',
+ headersColumn : '第ä¸å',
+ headersRow : '第ä¸è¡',
+ headersBoth : '第ä¸åå第ä¸è¡',
+ invalidRows : 'æå®çåæ°å¿
须大äºé¶',
+ invalidCols : 'æå®çè¡æ°å¿
须大äºé¶',
+ invalidBorder : 'è¾¹æ¡ç²ç»å¿
须为æ°åæ ¼å¼',
+ invalidWidth : 'è¡¨æ ¼å®½åº¦å¿
须为æ°åæ ¼å¼',
+ invalidHeight : 'è¡¨æ ¼é«åº¦å¿
须为æ°åæ ¼å¼',
+ invalidCellSpacing : 'åå
æ ¼é´è·å¿
须为æ°åæ ¼å¼',
+ invalidCellPadding : 'åå
æ ¼å¡«å
å¿
须为æ°åæ ¼å¼',
+
+ cell :
+ {
+ menu : 'åå
æ ¼',
+ insertBefore : 'å¨å·¦ä¾§æå
¥åå
æ ¼',
+ insertAfter : 'å¨å³ä¾§æå
¥åå
æ ¼',
+ deleteCell : 'å é¤åå
æ ¼',
+ merge : 'å并åå
æ ¼',
+ mergeRight : 'åå³å并åå
æ ¼',
+ mergeDown : 'åä¸å并åå
æ ¼',
+ splitHorizontal : 'æ°´å¹³æååå
æ ¼',
+ splitVertical : 'åç´æååå
æ ¼',
+ title : 'åå
æ ¼å±æ§',
+ cellType : 'åå
æ ¼ç±»å',
+ rowSpan : '纵跨è¡æ°',
+ colSpan : '横跨åæ°',
+ wordWrap : 'èªå¨æ¢è¡',
+ hAlign : '水平对é½',
+ vAlign : 'åç´å¯¹é½',
+ alignTop : '顶端',
+ alignMiddle : 'ä¸é´',
+ alignBottom : 'åºé¨',
+ alignBaseline : 'åºçº¿',
+ bgColor : 'èæ¯é¢è²',
+ borderColor : 'è¾¹æ¡é¢è²',
+ data : 'æ°æ®',
+ header : '表头',
+ yes : 'æ¯',
+ no : 'å¦',
+ invalidWidth : 'åå
æ ¼å®½åº¦å¿
须为æ°åæ ¼å¼',
+ invalidHeight : 'åå
æ ¼é«åº¦å¿
须为æ°åæ ¼å¼',
+ invalidRowSpan : 'è¡è·¨åº¦å¿
须为æ´æ°æ ¼å¼',
+ invalidColSpan : 'å跨度å¿
须为æ´æ°æ ¼å¼',
+ chooseColor : 'éæ©'
+ },
+
+ row :
+ {
+ menu : 'è¡',
+ insertBefore : 'å¨ä¸æ¹æå
¥è¡',
+ insertAfter : 'å¨ä¸æ¹æå
¥è¡',
+ deleteRow : 'å é¤è¡'
+ },
+
+ column :
+ {
+ menu : 'å',
+ insertBefore : 'å¨å·¦ä¾§æå
¥å',
+ insertAfter : 'å¨å³ä¾§æå
¥å',
+ deleteColumn : 'å é¤å'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'æé®å±æ§',
+ text : 'æ ç¾(å¼)',
+ type : 'ç±»å',
+ typeBtn : 'æé®',
+ typeSbm : 'æ交',
+ typeRst : 'é设'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'å¤éæ¡å±æ§',
+ radioTitle : 'åéæé®å±æ§',
+ value : 'éå®å¼',
+ selected : 'å·²å¾é'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : '表åå±æ§',
+ menu : '表åå±æ§',
+ action : 'å¨ä½',
+ method : 'æ¹æ³',
+ encoding : '表åç¼ç '
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'èå/å表å±æ§',
+ selectInfo : 'éæ©ä¿¡æ¯',
+ opAvail : 'å¯é项',
+ value : 'å¼',
+ size : 'é«åº¦',
+ lines : 'è¡',
+ chkMulti : 'å
许å¤é',
+ opText : 'é项ææ¬',
+ opValue : 'é项å¼',
+ btnAdd : 'æ·»å ',
+ btnModify : 'ä¿®æ¹',
+ btnUp : 'ä¸ç§»',
+ btnDown : 'ä¸ç§»',
+ btnSetValue : '设为åå§éå®',
+ btnDelete : 'å é¤'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'å¤è¡ææ¬å±æ§',
+ cols : 'å符宽度',
+ rows : 'è¡æ°'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'åè¡ææ¬å±æ§',
+ name : 'å称',
+ value : 'åå§å¼',
+ charWidth : 'å符宽度',
+ maxChars : 'æå¤å符æ°',
+ type : 'ç±»å',
+ typeText : 'ææ¬',
+ typePass : 'å¯ç '
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'éèåå±æ§',
+ name : 'å称',
+ value : 'åå§å¼'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'å¾è±¡å±æ§',
+ titleButton : 'å¾ååå±æ§',
+ menu : 'å¾è±¡å±æ§',
+ infoTab : 'å¾è±¡',
+ btnUpload : 'ä¸ä¼ å°æå¡å¨ä¸',
+ upload : 'ä¸ä¼ ',
+ alt : 'æ¿æ¢ææ¬',
+ width : '宽度',
+ height : 'é«åº¦',
+ lockRatio : 'éå®æ¯ä¾',
+ unlockRatio : 'ä¸éå®æ¯ä¾',
+ resetSize : 'åå§å°ºå¯¸',
+ border : 'è¾¹æ¡å¤§å°',
+ hSpace : 'æ°´å¹³é´è·',
+ vSpace : 'åç´é´è·',
+ align : '对é½æ¹å¼',
+ alignLeft : '左对é½',
+ alignRight : 'å³å¯¹é½',
+ alertUrl : '请è¾å
¥å¾è±¡å°å',
+ linkTab : 'é¾æ¥',
+ button2Img : 'ç¡®å®è¦æå½åæé®æ¹å为å¾åå?',
+ img2Button : 'ç¡®å®è¦æå½åå¾åæ¹å为æé®å?',
+ urlMissing : '缺å°å¾åæºæ件å°å',
+ validateWidth : 'å¾å宽度å¿
须为æ´æ°æ ¼å¼',
+ validateHeight : 'å¾åé«åº¦å¿
须为æ´æ°æ ¼å¼',
+ validateBorder : 'è¾¹æ¡å¤§å°å¿
须为æ´æ°æ ¼å¼',
+ validateHSpace : 'æ°´å¹³é´è·å¿
须为æ´æ°æ ¼å¼',
+ validateVSpace : 'åç´é´è·å¿
须为æ´æ°æ ¼å¼'
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash å±æ§',
+ propertiesTab : 'å±æ§',
+ title : 'æ é¢',
+ chkPlay : 'èªå¨ææ¾',
+ chkLoop : '循ç¯',
+ chkMenu : 'å¯ç¨ Flash èå',
+ chkFull : 'å¯ç¨å
¨å±',
+ scale : '缩æ¾',
+ scaleAll : 'å
¨é¨æ¾ç¤º',
+ scaleNoBorder : 'æ è¾¹æ¡',
+ scaleFit : 'ä¸¥æ ¼å¹é
',
+ access : 'å
许èæ¬è®¿é®',
+ accessAlways : 'æ»æ¯',
+ accessSameDomain: 'åå',
+ accessNever : 'ä»ä¸',
+ align : '对é½æ¹å¼',
+ alignLeft : '左对é½',
+ alignAbsBottom : 'ç»å¯¹åºé¨',
+ alignAbsMiddle : 'ç»å¯¹å±
ä¸',
+ alignBaseline : 'åºçº¿',
+ alignBottom : 'åºé¨',
+ alignMiddle : 'å±
ä¸',
+ alignRight : 'å³å¯¹é½',
+ alignTextTop : 'ææ¬ä¸æ¹',
+ alignTop : '顶端',
+ quality : 'è´¨é',
+ qualityBest : 'æ好',
+ qualityHigh : 'é«',
+ qualityAutoHigh : 'é«(èªå¨)',
+ qualityMedium : 'ä¸(èªå¨)',
+ qualityAutoLow : 'ä½(èªå¨)',
+ qualityLow : 'ä½',
+ windowModeWindow: 'çªä½',
+ windowModeOpaque: 'ä¸éæ',
+ windowModeTransparent : 'éæ',
+ windowMode : 'çªä½æ¨¡å¼',
+ flashvars : 'Flash åé',
+ bgcolor : 'èæ¯é¢è²',
+ width : '宽度',
+ height : 'é«åº¦',
+ hSpace : 'æ°´å¹³é´è·',
+ vSpace : 'åç´é´è·',
+ validateSrc : '请è¾å
¥æºæ件å°å',
+ validateWidth : '宽度å¿
须为æ°åæ ¼å¼',
+ validateHeight : 'é«åº¦å¿
须为æ°åæ ¼å¼',
+ validateHSpace : 'æ°´å¹³é´è·å¿
须为æ°åæ ¼å¼',
+ validateVSpace : 'åç´é´è·å¿
须为æ°åæ ¼å¼'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'æ¼åæ£æ¥',
+ title : 'æ¼åæ£æ¥',
+ notAvailable : 'æ±æ, æå¡ç®åæä¸å¯ç¨',
+ errorLoading : 'å è½½åºè¯¥æå¡ä¸»æºæ¶åºé: %s.',
+ notInDic : '没æå¨åå
¸é',
+ changeTo : 'æ´æ¹ä¸º',
+ btnIgnore : '忽ç¥',
+ btnIgnoreAll : 'å
¨é¨å¿½ç¥',
+ btnReplace : 'æ¿æ¢',
+ btnReplaceAll : 'å
¨é¨æ¿æ¢',
+ btnUndo : 'æ¤æ¶',
+ noSuggestions : '- 没æ建议 -',
+ progress : 'æ£å¨è¿è¡æ¼åæ£æ¥...',
+ noMispell : 'æ¼åæ£æ¥å®æ: 没æåç°æ¼åé误',
+ noChanges : 'æ¼åæ£æ¥å®æ: 没ææ´æ¹ä»»ä½åè¯',
+ oneChange : 'æ¼åæ£æ¥å®æ: æ´æ¹äºä¸ä¸ªåè¯',
+ manyChanges : 'æ¼åæ£æ¥å®æ: æ´æ¹äº %1 个åè¯',
+ ieSpellDownload : 'æ¼åæ£æ¥æ件è¿æ²¡å®è£
, ä½ æ¯å¦æ³ç°å¨å°±ä¸è½½?'
+ },
+
+ smiley :
+ {
+ toolbar : '表æ
符',
+ title : 'æå
¥è¡¨æ
å¾æ ',
+ options : '表æ
å¾æ é项'
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'å
ç´ è·¯å¾',
+ eleTitle : '%1 å
ç´ '
+ },
+
+ numberedlist : 'ç¼å·å表',
+ bulletedlist : '项ç®å表',
+ indent : 'å¢å 缩è¿é',
+ outdent : 'åå°ç¼©è¿é',
+
+ justify :
+ {
+ left : '左对é½',
+ center : 'å±
ä¸',
+ right : 'å³å¯¹é½',
+ block : '两端对é½'
+ },
+
+ blockquote : 'åå¼ç¨',
+
+ clipboard :
+ {
+ title : 'ç²è´´',
+ cutError : 'æ¨çæµè§å¨å®å
¨è®¾ç½®ä¸å
许ç¼è¾å¨èªå¨æ§è¡åªåæä½, 请使ç¨é®çå¿«æ·é®(Ctrl/Cmd+X)æ¥å®æ',
+ copyError : 'æ¨çæµè§å¨å®å
¨è®¾ç½®ä¸å
许ç¼è¾å¨èªå¨æ§è¡å¤å¶æä½, 请使ç¨é®çå¿«æ·é®(Ctrl/Cmd+C)æ¥å®æ',
+ pasteMsg : '请使ç¨é®çå¿«æ·é®(<STRONG>Ctrl/Cmd+V</STRONG>)æå
容ç²è´´å°ä¸é¢çæ¹æ¡éï¼åæ <STRONG>ç¡®å®</STRONG>',
+ securityMsg : 'å ä¸ºä½ çæµè§å¨çå®å
¨è®¾ç½®åå , æ¬ç¼è¾å¨ä¸è½ç´æ¥è®¿é®ä½ çåªè´´æ¿å
容, ä½ éè¦å¨æ¬çªå£éæ°ç²è´´ä¸æ¬¡',
+ pasteArea : 'ç²è´´åºå'
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'æ¨è¦ç²è´´çå
容好åæ¯æ¥èª MS Word, æ¯å¦è¦æ¸
é¤ MS Word æ ¼å¼ååç²è´´?',
+ toolbar : 'ä» MS Word ç²è´´',
+ title : 'ä» MS Word ç²è´´',
+ error : 'ç±äºå
é¨é误æ æ³æ¸
çè¦ç²è´´çæ°æ®'
+ },
+
+ pasteText :
+ {
+ button : 'ç²è´´ä¸ºæ æ ¼å¼ææ¬',
+ title : 'ç²è´´ä¸ºæ æ ¼å¼ææ¬'
+ },
+
+ templates :
+ {
+ button : '模æ¿',
+ title : 'å
容模æ¿',
+ options : '模æ¿é项',
+ insertOption : 'æ¿æ¢å½åå
容',
+ selectPromptMsg : '请éæ©ç¼è¾å¨å
容模æ¿:',
+ emptyListMsg : '(没æ模æ¿)'
+ },
+
+ showBlocks : 'æ¾ç¤ºåºå',
+
+ stylesCombo :
+ {
+ label : 'æ ·å¼',
+ panelTitle : 'æ ·å¼',
+ panelTitle1 : 'å级å
ç´ æ ·å¼',
+ panelTitle2 : 'å
èå
ç´ æ ·å¼',
+ panelTitle3 : '对象å
ç´ æ ·å¼'
+ },
+
+ format :
+ {
+ label : 'æ ¼å¼',
+ panelTitle : 'æ ¼å¼',
+
+ tag_p : 'æ®é',
+ tag_pre : 'å·²ç¼ææ ¼å¼',
+ tag_address : 'å°å',
+ tag_h1 : 'æ é¢ 1',
+ tag_h2 : 'æ é¢ 2',
+ tag_h3 : 'æ é¢ 3',
+ tag_h4 : 'æ é¢ 4',
+ tag_h5 : 'æ é¢ 5',
+ tag_h6 : 'æ é¢ 6',
+ tag_div : '段è½(DIV)'
+ },
+
+ div :
+ {
+ title : 'å建 DIV 容å¨',
+ toolbar : 'å建 DIV 容å¨',
+ cssClassInputLabel : 'æ ·å¼ç±»å称',
+ styleSelectLabel : 'æ ·å¼',
+ IdInputLabel : 'ID',
+ languageCodeInputLabel : 'è¯è¨ä»£ç ',
+ inlineStyleInputLabel : 'è¡å
æ ·å¼',
+ advisoryTitleInputLabel : 'æ é¢',
+ langDirLabel : 'è¯è¨æ¹å',
+ langDirLTRLabel : 'ä»å·¦å°å³ (LTR)',
+ langDirRTLLabel : 'ä»å³å°å·¦ (RTL)',
+ edit : 'ç¼è¾ DIV',
+ remove : 'ç§»é¤ DIV'
+ },
+
+ font :
+ {
+ label : 'åä½',
+ voiceLabel : 'åä½',
+ panelTitle : 'åä½'
+ },
+
+ fontSize :
+ {
+ label : '大å°',
+ voiceLabel : 'æå大å°',
+ panelTitle : '大å°'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'ææ¬é¢è²',
+ bgColorTitle : 'èæ¯é¢è²',
+ panelTitle : 'é¢è²',
+ auto : 'èªå¨',
+ more : 'å
¶å®é¢è²...'
+ },
+
+ 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' : 'ç½'
+ },
+
+ scayt :
+ {
+ title : 'å³æ¶æ¼åæ£æ¥',
+ opera_title : 'ä¸æ¯æ Opera æµè§å¨',
+ enable : 'å¯ç¨å³æ¶æ¼åæ£æ¥',
+ disable : 'ç¦ç¨å³æ¶æ¼åæ£æ¥',
+ about : 'å
³äºå³æ¶æ¼åæ£æ¥',
+ toggle : 'æå/å¯ç¨å³æ¶æ¼åæ£æ¥',
+ options : 'é项',
+ langs : 'è¯è¨',
+ moreSuggestions : 'æ´å¤æ¼å建议',
+ ignore : '忽ç¥',
+ ignoreAll : 'å
¨é¨å¿½ç¥',
+ addWord : 'æ·»å åè¯',
+ emptyDic : 'åå
¸åä¸åºä¸ºç©º.',
+
+ optionsTab : 'é项',
+ allCaps : '忽ç¥ææ大ååè¯',
+ ignoreDomainNames : '忽ç¥åå',
+ mixedCase : '忽ç¥å¤§å°åæ··åçåè¯',
+ mixedWithDigits : '忽ç¥å¸¦æ°åçåè¯',
+
+ languagesTab : 'è¯è¨',
+
+ dictionariesTab : 'åå
¸',
+ dic_field_name : 'åå
¸å称',
+ dic_create : 'å建',
+ dic_restore : 'è¿å',
+ dic_delete : 'å é¤',
+ dic_rename : 'éå½å',
+ dic_info : 'ä¸å¼å§ç¨æ·è¯å
¸å¨åå¨ Cookie ä¸, ä½æ¯ Cookies ç容éæ¯æéç, å½ç¨æ·è¯å
¸å¢é¿å°è¶
åº Cookie éå¶æ¶å°±æ æ³åå¨åäº, è¿æ¶æ¨å¯ä»¥å°è¯å
¸å¨åå°æ们çæå¡å¨ä¸. è¦ææ¨ç个人è¯å
¸å°å¨åå°æ们çæå¡å¨ä¸çè¯, éè¦ä¸ºæ¨çè¯å
¸æå®ä¸ä¸ªå称, å¦ææ¨å¨æ们çæå¡å¨ä¸å·²ç»æå¨åæä¸ä¸ªè¯å
¸, 请è¾å
¥è¯å
¸å称并æè¿åæé®.',
+
+ aboutTab : 'å
³äº'
+ },
+
+ about :
+ {
+ title : 'å
³äºCKEditor',
+ dlgTitle : 'å
³äºCKEditor',
+ moreInfo : '访é®æ们çç½ç«ä»¥è·åæ´å¤å
³äºåè®®çä¿¡æ¯',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'å
¨å±',
+ minimize : 'æå°å',
+
+ fakeobjects :
+ {
+ anchor : 'éç¹',
+ flash : 'Flash å¨ç»',
+ div : 'å页',
+ unknown : 'æªç¥å¯¹è±¡'
+ },
+
+ resize : 'ææ½ä»¥æ¹å尺寸',
+
+ colordialog :
+ {
+ title : 'éæ©é¢è²',
+ options : 'é¢è²é项',
+ highlight : 'é«äº®',
+ selected : 'éæ©é¢è²',
+ clear : 'æ¸
é¤'
+ },
+
+ toolbarCollapse : 'æå å·¥å
·æ ',
+ toolbarExpand : 'å±å¼å·¥å
·æ ',
+
+ bidi :
+ {
+ ltr : 'æåæ¹å为ä»å·¦è³å³',
+ rtl : 'æåæ¹å为ä»å³è³å·¦'
+ }
+};
diff --git a/devel/third-party/ckeditor/lang/zh.js b/devel/third-party/ckeditor/lang/zh.js
new file mode 100644
index 0000000..809f612
--- /dev/null
+++ b/devel/third-party/ckeditor/lang/zh.js
@@ -0,0 +1,758 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the {@link CKEDITOR.lang} object, for the
+ * Chinese Traditional language.
+ */
+
+/**#@+
+ @type String
+ @example
+*/
+
+/**
+ * Constains the dictionary of language entries.
+ * @namespace
+ */
+CKEDITOR.lang['zh'] =
+{
+ /**
+ * The language reading direction. Possible values are "rtl" for
+ * Right-To-Left languages (like Arabic) and "ltr" for Left-To-Right
+ * languages (like English).
+ * @default 'ltr'
+ */
+ dir : 'ltr',
+
+ /*
+ * Screenreader titles. Please note that screenreaders are not always capable
+ * of reading non-English words. So be careful while translating it.
+ */
+ editorTitle : 'Rich text editor, %1, press ALT 0 for help.', // MISSING
+
+ // ARIA descriptions.
+ toolbar : 'Toolbar', // MISSING
+ editor : 'Rich Text Editor', // MISSING
+
+ // Toolbar buttons without dialogs.
+ source : 'åå§ç¢¼',
+ newPage : 'éæ°æªæ¡',
+ save : 'å²å',
+ preview : 'é 覽',
+ cut : 'åªä¸',
+ copy : 'è¤è£½',
+ paste : 'è²¼ä¸',
+ print : 'åå°',
+ underline : 'åºç·',
+ bold : 'ç²é«',
+ italic : 'æé«',
+ selectAll : 'å
¨é¸',
+ removeFormat : 'æ¸
é¤æ ¼å¼',
+ strike : 'åªé¤ç·',
+ subscript : 'ä¸æ¨',
+ superscript : 'ä¸æ¨',
+ horizontalrule : 'æå
¥æ°´å¹³ç·',
+ pagebreak : 'æå
¥åé 符è',
+ unlink : '移é¤è¶
é£çµ',
+ undo : '復å',
+ redo : 'éè¤',
+
+ // Common messages and labels.
+ common :
+ {
+ browseServer : 'ç覽伺æå¨ç«¯',
+ url : 'URL',
+ protocol : 'éè¨åå®',
+ upload : 'ä¸å³',
+ uploadSubmit : 'ä¸å³è³ä¼ºæå¨',
+ image : 'å½±å',
+ flash : 'Flash',
+ form : '表å®',
+ checkbox : 'æ ¸åæ¹å¡',
+ radio : 'é¸é
æé',
+ textField : 'æåæ¹å¡',
+ textarea : 'æååå',
+ hiddenField : 'é±èæ¬ä½',
+ button : 'æé',
+ select : 'æ¸
å®/é¸å®',
+ imageButton : 'å½±åæé',
+ notSet : '<å°æªè¨å®>',
+ id : 'ID',
+ name : 'å稱',
+ langDir : 'èªè¨æ¹å',
+ langDirLtr : 'ç±å·¦èå³ (LTR)',
+ langDirRtl : 'ç±å³èå·¦ (RTL)',
+ langCode : 'èªè¨ä»£ç¢¼',
+ longDescr : '詳細 URL',
+ cssClass : '樣å¼è¡¨é¡å¥',
+ advisoryTitle : 'æ¨é¡',
+ cssStyle : '樣å¼',
+ ok : '確å®',
+ cancel : 'åæ¶',
+ close : 'Close', // MISSING
+ preview : 'Preview', // MISSING
+ generalTab : 'ä¸è¬',
+ advancedTab : 'é²é',
+ validateNumberFailed : 'éè¦è¼¸å
¥æ¸åæ ¼å¼',
+ confirmNewPage : 'ç¾åçä¿®æ¹å°æªå²åï¼è¦éæ°æªæ¡ï¼',
+ confirmCancel : 'é¨ä»½é¸é
å°æªå²åï¼è¦ééå°è©±çï¼',
+ options : 'Options', // MISSING
+ target : 'Target', // MISSING
+ targetNew : 'New Window (_blank)', // MISSING
+ targetTop : 'Topmost Window (_top)', // MISSING
+ targetSelf : 'Same Window (_self)', // MISSING
+ targetParent : 'Parent Window (_parent)', // MISSING
+ langDirLTR : 'Left to Right (LTR)', // MISSING
+ langDirRTL : 'Right to Left (RTL)', // MISSING
+ styles : 'Style', // MISSING
+ cssClasses : 'Stylesheet Classes', // MISSING
+
+ // Put the voice-only part of the label in the span.
+ unavailable : '%1<span class="cke_accessibility">, å·²éé</span>'
+ },
+
+ contextmenu :
+ {
+ options : 'Context Menu Options' // MISSING
+ },
+
+ // Special char dialog.
+ specialChar :
+ {
+ toolbar : 'æå
¥ç¹æ®ç¬¦è',
+ title : 'è«é¸æç¹æ®ç¬¦è',
+ options : 'Special Character Options' // MISSING
+ },
+
+ // Link dialog.
+ link :
+ {
+ toolbar : 'æå
¥/編輯è¶
é£çµ',
+ other : '<å
¶ä»>',
+ menu : '編輯è¶
é£çµ',
+ title : 'è¶
é£çµ',
+ info : 'è¶
é£çµè³è¨',
+ target : 'ç®æ¨',
+ upload : 'ä¸å³',
+ advanced : 'é²é',
+ type : 'è¶
é£æ¥é¡å',
+ toUrl : 'URL', // MISSING
+ toAnchor : 'æ¬é é¨é»',
+ toEmail : 'é»åéµä»¶',
+ targetFrame : '<æ¡æ¶>',
+ targetPopup : '<快顯è¦çª>',
+ targetFrameName : 'ç®æ¨æ¡æ¶å稱',
+ targetPopupName : '快顯è¦çªå稱',
+ popupFeatures : '快顯è¦çªå±¬æ§',
+ popupResizable : 'å¯ç¸®æ¾',
+ popupStatusBar : 'çæ
å',
+ popupLocationBar: '網åå',
+ popupToolbar : 'å·¥å
·å',
+ popupMenuBar : 'é¸å®å',
+ popupFullScreen : 'å
¨è¢å¹ (IE)',
+ popupScrollBars : 'æ²è»¸',
+ popupDependent : 'å¾å±¬ (NS)',
+ popupWidth : '寬',
+ popupLeft : 'å·¦',
+ popupHeight : 'é«',
+ popupTop : 'å³',
+ id : 'ID',
+ langDir : 'èªè¨æ¹å',
+ langDirLTR : 'ç±å·¦èå³ (LTR)',
+ langDirRTL : 'ç±å³èå·¦ (RTL)',
+ acccessKey : 'ååéµ',
+ name : 'å稱',
+ langCode : 'èªè¨æ¹å',
+ tabIndex : 'å®ä½é åº',
+ advisoryTitle : 'æ¨é¡',
+ advisoryContentType : 'å
§å®¹é¡å',
+ cssClasses : '樣å¼è¡¨é¡å¥',
+ charset : 'é£çµè³æºä¹ç·¨ç¢¼',
+ styles : '樣å¼',
+ selectAnchor : 'è«é¸æé¨é»',
+ anchorName : 'ä¾é¨é»å稱',
+ anchorId : 'ä¾å
件 ID',
+ emailAddress : 'é»åéµä»¶',
+ emailSubject : 'éµä»¶ä¸»æ¨',
+ emailBody : 'éµä»¶å
§å®¹',
+ noAnchors : '(æ¬æ件å°ç¡å¯ç¨ä¹é¨é»)',
+ noUrl : 'è«è¼¸å
¥æ¬²é£çµç URL',
+ noEmail : 'è«è¼¸å
¥é»åéµä»¶ä½å'
+ },
+
+ // Anchor dialog
+ anchor :
+ {
+ toolbar : 'æå
¥/編輯é¨é»',
+ menu : 'é¨é»å±¬æ§',
+ title : 'é¨é»å±¬æ§',
+ name : 'é¨é»å稱',
+ errorName : 'è«è¼¸å
¥é¨é»å稱'
+ },
+
+ // List style dialog
+ list:
+ {
+ numberedTitle : 'Numbered List Properties', // MISSING
+ bulletedTitle : 'Bulleted List Properties', // MISSING
+ type : 'Type', // MISSING
+ start : 'Start', // MISSING
+ validateStartNumber :'List start number must be a whole number.', // MISSING
+ circle : 'Circle', // MISSING
+ disc : 'Disc', // MISSING
+ square : 'Square', // MISSING
+ none : 'None', // MISSING
+ notset : '<not set>', // MISSING
+ armenian : 'Armenian numbering', // MISSING
+ georgian : 'Georgian numbering (an, ban, gan, etc.)', // MISSING
+ lowerRoman : 'Lower Roman (i, ii, iii, iv, v, etc.)', // MISSING
+ upperRoman : 'Upper Roman (I, II, III, IV, V, etc.)', // MISSING
+ lowerAlpha : 'Lower Alpha (a, b, c, d, e, etc.)', // MISSING
+ upperAlpha : 'Upper Alpha (A, B, C, D, E, etc.)', // MISSING
+ lowerGreek : 'Lower Greek (alpha, beta, gamma, etc.)', // MISSING
+ decimal : 'Decimal (1, 2, 3, etc.)', // MISSING
+ decimalLeadingZero : 'Decimal leading zero (01, 02, 03, etc.)' // MISSING
+ },
+
+ // Find And Replace Dialog
+ findAndReplace :
+ {
+ title : 'å°æ¾èå代',
+ find : 'å°æ¾',
+ replace : 'å代',
+ findWhat : 'å°æ¾:',
+ replaceWith : 'å代:',
+ notFoundMsg : 'æªæ¾å°æå®çæåã',
+ matchCase : '大å°å¯«é ç¸ç¬¦',
+ matchWord : 'å
¨åç¸ç¬¦',
+ matchCyclic : '循ç°æç´¢',
+ replaceAll : 'å
¨é¨å代',
+ replaceSuccessMsg : 'å
±å®æ %1 次å代'
+ },
+
+ // Table Dialog
+ table :
+ {
+ toolbar : 'è¡¨æ ¼',
+ title : 'è¡¨æ ¼å±¬æ§',
+ menu : 'è¡¨æ ¼å±¬æ§',
+ deleteTable : 'åªé¤è¡¨æ ¼',
+ rows : 'åæ¸',
+ columns : 'æ¬æ¸',
+ border : 'éæ¡',
+ align : 'å°é½',
+ alignLeft : 'é å·¦å°é½',
+ alignCenter : 'ç½®ä¸',
+ alignRight : 'é å³å°é½',
+ width : '寬度',
+ widthPx : 'åç´ ',
+ widthPc : 'ç¾åæ¯',
+ widthUnit : 'width unit', // MISSING
+ height : 'é«åº¦',
+ cellSpace : 'éè·',
+ cellPad : 'å
§è·',
+ caption : 'æ¨é¡',
+ summary : 'æè¦',
+ headers : 'æ¨é¡',
+ headersNone : 'ç¡æ¨é¡',
+ headersColumn : '第ä¸æ¬',
+ headersRow : '第ä¸å',
+ headersBoth : '第ä¸æ¬å第ä¸å',
+ invalidRows : 'å¿
é æä¸ææ´å¤çå',
+ invalidCols : 'å¿
é æä¸ææ´å¤çæ¬',
+ invalidBorder : 'éæ¡å¤§å°å¿
é çºæ¸åæ ¼å¼',
+ invalidWidth : 'è¡¨æ ¼å¯¬åº¦å¿
é çºæ¸åæ ¼å¼',
+ invalidHeight : 'è¡¨æ ¼é«åº¦å¿
é çºæ¸åæ ¼å¼',
+ invalidCellSpacing : 'å²åæ ¼éè·å¿
é çºæ¸åæ ¼å¼',
+ invalidCellPadding : 'å²åæ ¼å
§è·å¿
é çºæ¸åæ ¼å¼',
+
+ cell :
+ {
+ menu : 'å²åæ ¼',
+ insertBefore : 'åå·¦æå
¥å²åæ ¼',
+ insertAfter : 'åå³æå
¥å²åæ ¼',
+ deleteCell : 'åªé¤å²åæ ¼',
+ merge : 'åä½µå²åæ ¼',
+ mergeRight : 'åå³åä½µå²åæ ¼',
+ mergeDown : 'åä¸åä½µå²åæ ¼',
+ splitHorizontal : 'æ©«ååå²å²åæ ¼',
+ splitVertical : '縱ååå²å²åæ ¼',
+ title : 'å²åæ ¼å±¬æ§',
+ cellType : 'å²åæ ¼é¡å¥',
+ rowSpan : 'å²åæ ¼åæ¸',
+ colSpan : 'å²åæ ¼æ¬æ¸',
+ wordWrap : 'èªåæè¡',
+ hAlign : 'æ°´å¹³å°é½',
+ vAlign : 'åç´å°é½',
+ alignTop : 'åä¸å°é½',
+ alignMiddle : 'ç½®ä¸å°é½',
+ alignBottom : 'åä¸å°é½',
+ alignBaseline : 'åºç·å°é½',
+ bgColor : 'èæ¯é¡è²',
+ borderColor : 'éæ¡é¡è²',
+ data : 'æ¸æ',
+ header : 'æ¨é¡',
+ yes : 'æ¯',
+ no : 'å¦',
+ invalidWidth : 'å²åæ ¼å¯¬åº¦å¿
é çºæ¸åæ ¼å¼',
+ invalidHeight : 'å²åæ ¼é«åº¦å¿
é çºæ¸åæ ¼å¼',
+ invalidRowSpan : 'å²åæ ¼åæ¸å¿
é çºæ´æ¸æ ¼å¼',
+ invalidColSpan : 'å²åæ ¼æ¬æ¸åº¦å¿
é çºæ´æ¸æ ¼å¼',
+ chooseColor : 'Choose' // MISSING
+ },
+
+ row :
+ {
+ menu : 'å',
+ insertBefore : 'åä¸æå
¥å',
+ insertAfter : 'åä¸æå
¥å',
+ deleteRow : 'åªé¤å'
+ },
+
+ column :
+ {
+ menu : 'æ¬',
+ insertBefore : 'åå·¦æå
¥æ¬',
+ insertAfter : 'åå³æå
¥æ¬',
+ deleteColumn : 'åªé¤æ¬'
+ }
+ },
+
+ // Button Dialog.
+ button :
+ {
+ title : 'æé屬æ§',
+ text : '顯示æå (å¼)',
+ type : 'é¡å',
+ typeBtn : 'æé (Button)',
+ typeSbm : 'éåº (Submit)',
+ typeRst : 'éè¨ (Reset)'
+ },
+
+ // Checkbox and Radio Button Dialogs.
+ checkboxAndRadio :
+ {
+ checkboxTitle : 'æ ¸åæ¹å¡å±¬æ§',
+ radioTitle : 'é¸é
æé屬æ§',
+ value : 'é¸åå¼',
+ selected : 'å·²é¸å'
+ },
+
+ // Form Dialog.
+ form :
+ {
+ title : '表å®å±¬æ§',
+ menu : '表å®å±¬æ§',
+ action : 'åä½',
+ method : 'æ¹æ³',
+ encoding : '表å®ç·¨ç¢¼'
+ },
+
+ // Select Field Dialog.
+ select :
+ {
+ title : 'æ¸
å®/é¸å®å±¬æ§',
+ selectInfo : 'è³è¨',
+ opAvail : 'å¯ç¨é¸é
',
+ value : 'å¼',
+ size : '大å°',
+ lines : 'è¡',
+ chkMulti : 'å¯å¤é¸',
+ opText : '顯示æå',
+ opValue : 'é¸åå¼',
+ btnAdd : 'æ°å¢',
+ btnModify : 'ä¿®æ¹',
+ btnUp : 'ä¸ç§»',
+ btnDown : 'ä¸ç§»',
+ btnSetValue : 'è¨çºé è¨å¼',
+ btnDelete : 'åªé¤'
+ },
+
+ // Textarea Dialog.
+ textarea :
+ {
+ title : 'æååå屬æ§',
+ cols : 'åå
寬度',
+ rows : 'åæ¸'
+ },
+
+ // Text Field Dialog.
+ textfield :
+ {
+ title : 'æåæ¹å¡å±¬æ§',
+ name : 'å稱',
+ value : 'å¼',
+ charWidth : 'åå
寬度',
+ maxChars : 'æå¤åå
æ¸',
+ type : 'é¡å',
+ typeText : 'æå',
+ typePass : 'å¯ç¢¼'
+ },
+
+ // Hidden Field Dialog.
+ hidden :
+ {
+ title : 'é±èæ¬ä½å±¬æ§',
+ name : 'å稱',
+ value : 'å¼'
+ },
+
+ // Image Dialog.
+ image :
+ {
+ title : 'å½±å屬æ§',
+ titleButton : 'å½±åæé屬æ§',
+ menu : 'å½±å屬æ§',
+ infoTab : 'å½±åè³è¨',
+ btnUpload : 'ä¸å³è³ä¼ºæå¨',
+ upload : 'ä¸å³',
+ alt : 'æ¿ä»£æå',
+ width : '寬度',
+ height : 'é«åº¦',
+ lockRatio : 'çæ¯ä¾',
+ unlockRatio : 'Unlock Ratio', // MISSING
+ resetSize : 'éè¨çºå大å°',
+ border : 'éæ¡',
+ hSpace : 'æ°´å¹³è·é¢',
+ vSpace : 'åç´è·é¢',
+ align : 'å°é½',
+ alignLeft : 'é å·¦å°é½',
+ alignRight : 'é å³å°é½',
+ alertUrl : 'è«è¼¸å
¥å½±å URL',
+ linkTab : 'è¶
é£çµ',
+ button2Img : 'è¦æå½±åæéæ¹æå½±ååï¼',
+ img2Button : 'è¦æå½±åæ¹æå½±åæéåï¼',
+ urlMissing : 'Image source URL is missing.', // MISSING
+ validateWidth : 'Width must be a whole number.', // MISSING
+ validateHeight : 'Height must be a whole number.', // MISSING
+ validateBorder : 'Border must be a whole number.', // MISSING
+ validateHSpace : 'HSpace must be a whole number.', // MISSING
+ validateVSpace : 'VSpace must be a whole number.' // MISSING
+ },
+
+ // Flash Dialog
+ flash :
+ {
+ properties : 'Flash 屬æ§',
+ propertiesTab : '屬æ§',
+ title : 'Flash 屬æ§',
+ chkPlay : 'èªåææ¾',
+ chkLoop : 'éè¤',
+ chkMenu : 'éåé¸å®',
+ chkFull : 'ååå
¨è¢å¹é¡¯ç¤º',
+ scale : '縮æ¾',
+ scaleAll : 'å
¨é¨é¡¯ç¤º',
+ scaleNoBorder : 'ç¡éæ¡',
+ scaleFit : '精確符å',
+ access : 'å
許è
³æ¬è¨ªå',
+ accessAlways : 'æ°¸é ',
+ accessSameDomain: 'ç¸ååå',
+ accessNever : 'æ°¸ä¸',
+ align : 'å°é½',
+ alignLeft : 'é å·¦å°é½',
+ alignAbsBottom : 'çµå°ä¸æ¹',
+ alignAbsMiddle : 'çµå°ä¸é',
+ alignBaseline : 'åºæºç·',
+ alignBottom : 'é ä¸å°é½',
+ alignMiddle : 'ç½®ä¸å°é½',
+ alignRight : 'é å³å°é½',
+ alignTextTop : 'æåä¸æ¹',
+ alignTop : 'é ä¸å°é½',
+ quality : 'è³ªç´ ',
+ qualityBest : 'æ好',
+ qualityHigh : 'é«',
+ qualityAutoHigh : 'é«ï¼èªåï¼',
+ qualityMedium : 'ä¸ï¼èªåï¼',
+ qualityAutoLow : 'ä½ï¼èªåï¼',
+ qualityLow : 'ä½',
+ windowModeWindow: 'è¦çª',
+ windowModeOpaque: 'ä¸éæ',
+ windowModeTransparent : 'éæ',
+ windowMode : 'è¦çªæ¨¡å¼',
+ flashvars : 'Flash è®æ¸',
+ bgcolor : 'èæ¯é¡è²',
+ width : '寬度',
+ height : 'é«åº¦',
+ hSpace : 'æ°´å¹³è·é¢',
+ vSpace : 'åç´è·é¢',
+ validateSrc : 'è«è¼¸å
¥æ¬²é£çµç URL',
+ validateWidth : '寬度å¿
é çºæ¸åæ ¼å¼',
+ validateHeight : 'é«åº¦å¿
é çºæ¸åæ ¼å¼',
+ validateHSpace : 'æ°´å¹³éè·å¿
é çºæ¸åæ ¼å¼',
+ validateVSpace : 'åç´éè·å¿
é çºæ¸åæ ¼å¼'
+ },
+
+ // Speller Pages Dialog
+ spellCheck :
+ {
+ toolbar : 'æ¼å檢æ¥',
+ title : 'æ¼å檢æ¥',
+ notAvailable : 'æ±æï¼æåç®åæ«ä¸å¯ç¨',
+ errorLoading : 'ç¡æ³è¯ç³»ä¾æå¨: %s.',
+ notInDic : 'ä¸å¨åå
¸ä¸',
+ changeTo : 'æ´æ¹çº',
+ btnIgnore : '忽ç¥',
+ btnIgnoreAll : 'å
¨é¨å¿½ç¥',
+ btnReplace : 'å代',
+ btnReplaceAll : 'å
¨é¨å代',
+ btnUndo : '復å',
+ noSuggestions : '- ç¡å»ºè°å¼ -',
+ progress : 'é²è¡æ¼å檢æ¥ä¸â¦',
+ noMispell : 'æ¼å檢æ¥å®æï¼æªç¼ç¾æ¼åé¯èª¤',
+ noChanges : 'æ¼å檢æ¥å®æï¼æªæ´æ¹ä»»ä½å®å',
+ oneChange : 'æ¼å檢æ¥å®æï¼æ´æ¹äº 1 åå®å',
+ manyChanges : 'æ¼å檢æ¥å®æï¼æ´æ¹äº %1 åå®å',
+ ieSpellDownload : 'å°æªå®è£æ¼å檢æ¥å
件ãæ¨æ¯å¦æ³è¦ç¾å¨ä¸è¼ï¼'
+ },
+
+ smiley :
+ {
+ toolbar : '表æ
符è',
+ title : 'æå
¥è¡¨æ
符è',
+ options : 'Smiley Options' // MISSING
+ },
+
+ elementsPath :
+ {
+ eleLabel : 'Elements path', // MISSING
+ eleTitle : '%1 å
ç´ '
+ },
+
+ numberedlist : 'ç·¨èæ¸
å®',
+ bulletedlist : 'é
ç®æ¸
å®',
+ indent : 'å¢å 縮æ',
+ outdent : 'æ¸å°ç¸®æ',
+
+ justify :
+ {
+ left : 'é å·¦å°é½',
+ center : 'ç½®ä¸',
+ right : 'é å³å°é½',
+ block : 'å·¦å³å°é½'
+ },
+
+ blockquote : 'å¼ç¨æå',
+
+ clipboard :
+ {
+ title : 'è²¼ä¸',
+ cutError : 'ç覽å¨çå®å
¨æ§è¨å®ä¸å
許編輯å¨èªåå·è¡åªä¸åä½ãè«ä½¿ç¨å¿«æ·éµ (Ctrl/Cmd+X) åªä¸ã',
+ copyError : 'ç覽å¨çå®å
¨æ§è¨å®ä¸å
許編輯å¨èªåå·è¡è¤è£½åä½ãè«ä½¿ç¨å¿«æ·éµ (Ctrl/Cmd+C) è¤è£½ã',
+ pasteMsg : 'è«ä½¿ç¨å¿«æ·éµ (<strong>Ctrl/Cmd+V</strong>) è²¼å°ä¸æ¹ååä¸ä¸¦æä¸ <strong>確å®</strong>',
+ securityMsg : 'å çºç覽å¨çå®å
¨æ§è¨å®ï¼æ¬ç·¨è¼¯å¨ç¡æ³ç´æ¥ååæ¨çåªè²¼ç°¿è³æï¼è«æ¨èªè¡å¨æ¬è¦çªé²è¡è²¼ä¸åä½ã',
+ pasteArea : 'Paste Area' // MISSING
+ },
+
+ pastefromword :
+ {
+ confirmCleanup : 'æ¨æ³è²¼ä¸çæåä¼¼ä¹æ¯èª Word è¤è£½èä¾ï¼è«åæ¨æ¯å¦è¦å
æ¸
é¤ Word çæ ¼å¼å¾åè¡è²¼ä¸ï¼',
+ toolbar : 'èª Word è²¼ä¸',
+ title : 'èª Word è²¼ä¸',
+ error : 'It was not possible to clean up the pasted data due to an internal error' // MISSING
+ },
+
+ pasteText :
+ {
+ button : 'è²¼çºç´æåæ ¼å¼',
+ title : 'è²¼çºç´æåæ ¼å¼'
+ },
+
+ templates :
+ {
+ button : '樣ç',
+ title : 'å
§å®¹æ¨£ç',
+ options : 'Template Options', // MISSING
+ insertOption : 'å代åæå
§å®¹',
+ selectPromptMsg : 'è«é¸æ欲éåç樣ç<br> (åæçå
§å®¹å°æ被æ¸
é¤):',
+ emptyListMsg : '(ç¡æ¨£ç)'
+ },
+
+ showBlocks : '顯示åå¡',
+
+ stylesCombo :
+ {
+ label : '樣å¼',
+ panelTitle : 'Formatting Styles', // MISSING
+ panelTitle1 : 'å¡ç´å
ç´ æ¨£å¼',
+ panelTitle2 : 'å
§è¯å
ç´ æ¨£å¼',
+ panelTitle3 : 'ç©ä»¶å
ç´ æ¨£å¼'
+ },
+
+ format :
+ {
+ label : 'æ ¼å¼',
+ panelTitle : 'æ ¼å¼',
+
+ tag_p : 'ä¸è¬',
+ tag_pre : 'å·²æ ¼å¼å',
+ tag_address : 'ä½å',
+ tag_h1 : 'æ¨é¡ 1',
+ tag_h2 : 'æ¨é¡ 2',
+ tag_h3 : 'æ¨é¡ 3',
+ tag_h4 : 'æ¨é¡ 4',
+ tag_h5 : 'æ¨é¡ 5',
+ tag_h6 : 'æ¨é¡ 6',
+ tag_div : 'ä¸è¬ (DIV)'
+ },
+
+ div :
+ {
+ title : 'Create Div Container', // MISSING
+ toolbar : 'Create Div Container', // MISSING
+ cssClassInputLabel : 'Stylesheet Classes', // MISSING
+ styleSelectLabel : 'Style', // MISSING
+ IdInputLabel : 'Id', // MISSING
+ languageCodeInputLabel : ' Language Code', // MISSING
+ inlineStyleInputLabel : 'Inline Style', // MISSING
+ advisoryTitleInputLabel : 'Advisory Title', // MISSING
+ langDirLabel : 'Language Direction', // MISSING
+ langDirLTRLabel : 'Left to Right (LTR)', // MISSING
+ langDirRTLLabel : 'Right to Left (RTL)', // MISSING
+ edit : 'Edit Div', // MISSING
+ remove : 'Remove Div' // MISSING
+ },
+
+ font :
+ {
+ label : 'åé«',
+ voiceLabel : 'åé«',
+ panelTitle : 'åé«'
+ },
+
+ fontSize :
+ {
+ label : '大å°',
+ voiceLabel : 'æå大å°',
+ panelTitle : '大å°'
+ },
+
+ colorButton :
+ {
+ textColorTitle : 'æåé¡è²',
+ bgColorTitle : 'èæ¯é¡è²',
+ panelTitle : 'Colors', // MISSING
+ auto : 'èªå',
+ more : 'æ´å¤é¡è²â¦'
+ },
+
+ colors :
+ {
+ '000' : 'Black', // MISSING
+ '800000' : 'Maroon', // MISSING
+ '8B4513' : 'Saddle Brown', // MISSING
+ '2F4F4F' : 'Dark Slate Gray', // MISSING
+ '008080' : 'Teal', // MISSING
+ '000080' : 'Navy', // MISSING
+ '4B0082' : 'Indigo', // MISSING
+ '696969' : 'Dark Gray', // MISSING
+ 'B22222' : 'Fire Brick', // MISSING
+ 'A52A2A' : 'Brown', // MISSING
+ 'DAA520' : 'Golden Rod', // MISSING
+ '006400' : 'Dark Green', // MISSING
+ '40E0D0' : 'Turquoise', // MISSING
+ '0000CD' : 'Medium Blue', // MISSING
+ '800080' : 'Purple', // MISSING
+ '808080' : 'Gray', // MISSING
+ 'F00' : 'Red', // MISSING
+ 'FF8C00' : 'Dark Orange', // MISSING
+ 'FFD700' : 'Gold', // MISSING
+ '008000' : 'Green', // MISSING
+ '0FF' : 'Cyan', // MISSING
+ '00F' : 'Blue', // MISSING
+ 'EE82EE' : 'Violet', // MISSING
+ 'A9A9A9' : 'Dim Gray', // MISSING
+ 'FFA07A' : 'Light Salmon', // MISSING
+ 'FFA500' : 'Orange', // MISSING
+ 'FFFF00' : 'Yellow', // MISSING
+ '00FF00' : 'Lime', // MISSING
+ 'AFEEEE' : 'Pale Turquoise', // MISSING
+ 'ADD8E6' : 'Light Blue', // MISSING
+ 'DDA0DD' : 'Plum', // MISSING
+ 'D3D3D3' : 'Light Grey', // MISSING
+ 'FFF0F5' : 'Lavender Blush', // MISSING
+ 'FAEBD7' : 'Antique White', // MISSING
+ 'FFFFE0' : 'Light Yellow', // MISSING
+ 'F0FFF0' : 'Honeydew', // MISSING
+ 'F0FFFF' : 'Azure', // MISSING
+ 'F0F8FF' : 'Alice Blue', // MISSING
+ 'E6E6FA' : 'Lavender', // MISSING
+ 'FFF' : 'White' // MISSING
+ },
+
+ scayt :
+ {
+ title : 'å³ææ¼å¯«æª¢æ¥',
+ opera_title : 'Not supported by Opera', // MISSING
+ enable : 'åç¨å³ææ¼å¯«æª¢æ¥',
+ disable : 'ééå³ææ¼å¯«æª¢æ¥',
+ about : 'éæ¼å³ææ¼å¯«æª¢æ¥',
+ toggle : 'åç¨ï¼ééå³ææ¼å¯«æª¢æ¥',
+ options : 'é¸é
',
+ langs : 'èªè¨',
+ moreSuggestions : 'æ´å¤æ¼å¯«å»ºè°',
+ ignore : '忽ç¥',
+ ignoreAll : 'å
¨é¨å¿½ç¥',
+ addWord : 'æ·»å å®è©',
+ emptyDic : 'åå
¸åä¸æçºç©º.',
+
+ optionsTab : 'é¸é
',
+ allCaps : 'Ignore All-Caps Words', // MISSING
+ ignoreDomainNames : 'Ignore Domain Names', // MISSING
+ mixedCase : 'Ignore Words with Mixed Case', // MISSING
+ mixedWithDigits : 'Ignore Words with Numbers', // MISSING
+
+ languagesTab : 'èªè¨',
+
+ dictionariesTab : 'åå
¸',
+ dic_field_name : 'Dictionary name', // MISSING
+ dic_create : 'Create', // MISSING
+ dic_restore : 'Restore', // MISSING
+ dic_delete : 'Delete', // MISSING
+ dic_rename : 'Rename', // MISSING
+ dic_info : 'Initially the User Dictionary is stored in a Cookie. However, Cookies are limited in size. When the User Dictionary grows to a point where it cannot be stored in a Cookie, then the dictionary may be stored on our server. To store your personal dictionary on our server you should specify a name for your dictionary. If you already have a stored dictionary, please type its name and click the Restore button.', // MISSING
+
+ aboutTab : 'éæ¼'
+ },
+
+ about :
+ {
+ title : 'éæ¼ CKEditor',
+ dlgTitle : 'éæ¼ CKEditor',
+ moreInfo : '訪åæåç網ç«ä»¥ç²åæ´å¤éæ¼åè°çä¿¡æ¯',
+ copy : 'Copyright © $1. All rights reserved.'
+ },
+
+ maximize : 'æ大å',
+ minimize : 'Minimize', // MISSING
+
+ fakeobjects :
+ {
+ anchor : 'é¨é»',
+ flash : 'Flash åç«',
+ div : 'åé ',
+ unknown : 'ä¸æç©ä»¶'
+ },
+
+ resize : 'ææ½æ¹è®å¤§å°',
+
+ colordialog :
+ {
+ title : 'Select color', // MISSING
+ options : 'Color Options', // MISSING
+ highlight : 'Highlight', // MISSING
+ selected : 'Selected Color', // MISSING
+ clear : 'Clear' // MISSING
+ },
+
+ toolbarCollapse : 'Collapse Toolbar', // MISSING
+ toolbarExpand : 'Expand Toolbar', // MISSING
+
+ bidi :
+ {
+ ltr : 'Text direction from left to right', // MISSING
+ rtl : 'Text direction from right to left' // MISSING
+ }
+};
diff --git a/devel/third-party/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js b/devel/third-party/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js
new file mode 100644
index 0000000..3348f93
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js
@@ -0,0 +1,211 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'a11yHelp', function( editor )
+{
+ var lang = editor.lang.accessibilityHelp,
+ id = CKEDITOR.tools.getNextNumber();
+
+ // CharCode <-> KeyChar.
+ var keyMap =
+ {
+ 8 : "BACKSPACE",
+ 9 : "TAB" ,
+ 13 : "ENTER" ,
+ 16 : "SHIFT" ,
+ 17 : "CTRL" ,
+ 18 : "ALT" ,
+ 19 : "PAUSE" ,
+ 20 : "CAPSLOCK" ,
+ 27 : "ESCAPE" ,
+ 33 : "PAGE UP" ,
+ 34 : "PAGE DOWN" ,
+ 35 : "END" ,
+ 36 : "HOME" ,
+ 37 : "LEFT ARROW" ,
+ 38 : "UP ARROW" ,
+ 39 : "RIGHT ARROW" ,
+ 40 : "DOWN ARROW" ,
+ 45 : "INSERT" ,
+ 46 : "DELETE" ,
+ 91 : "LEFT WINDOW KEY" ,
+ 92 : "RIGHT WINDOW KEY" ,
+ 93 : "SELECT KEY" ,
+ 96 : "NUMPAD 0" ,
+ 97 : "NUMPAD 1" ,
+ 98 : "NUMPAD 2" ,
+ 99 : "NUMPAD 3" ,
+ 100 : "NUMPAD 4" ,
+ 101 : "NUMPAD 5" ,
+ 102 : "NUMPAD 6" ,
+ 103 : "NUMPAD 7" ,
+ 104 : "NUMPAD 8" ,
+ 105 : "NUMPAD 9" ,
+ 106 : "MULTIPLY" ,
+ 107 : "ADD" ,
+ 109 : "SUBTRACT" ,
+ 110 : "DECIMAL POINT" ,
+ 111 : "DIVIDE" ,
+ 112 : "F1" ,
+ 113 : "F2" ,
+ 114 : "F3" ,
+ 115 : "F4" ,
+ 116 : "F5" ,
+ 117 : "F6" ,
+ 118 : "F7" ,
+ 119 : "F8" ,
+ 120 : "F9" ,
+ 121 : "F10" ,
+ 122 : "F11" ,
+ 123 : "F12" ,
+ 144 : "NUM LOCK" ,
+ 145 : "SCROLL LOCK" ,
+ 186 : "SEMI-COLON" ,
+ 187 : "EQUAL SIGN" ,
+ 188 : "COMMA" ,
+ 189 : "DASH" ,
+ 190 : "PERIOD" ,
+ 191 : "FORWARD SLASH" ,
+ 192 : "GRAVE ACCENT" ,
+ 219 : "OPEN BRACKET" ,
+ 220 : "BACK SLASH" ,
+ 221 : "CLOSE BRAKET" ,
+ 222 : "SINGLE QUOTE"
+ };
+
+ // Modifier keys override.
+ keyMap[ CKEDITOR.ALT ] = 'ALT';
+ keyMap[ CKEDITOR.SHIFT ] = 'SHIFT';
+ keyMap[ CKEDITOR.CTRL ] = 'CTRL';
+
+ // Sort in desc.
+ var modifiers = [ CKEDITOR.ALT, CKEDITOR.SHIFT, CKEDITOR.CTRL ];
+
+ function representKeyStroke( keystroke )
+ {
+ var quotient,
+ modifier,
+ presentation = [];
+
+ for ( var i = 0; i < modifiers.length; i++ )
+ {
+ modifier = modifiers[ i ];
+ quotient = keystroke / modifiers[ i ];
+ if ( quotient > 1 && quotient <= 2 )
+ {
+ keystroke -= modifier;
+ presentation.push( keyMap[ modifier ] );
+ }
+ }
+
+ presentation.push( keyMap[ keystroke ]
+ || String.fromCharCode( keystroke ) );
+
+ return presentation.join( '+' );
+ }
+
+ var variablesPattern = /\$\{(.*?)\}/g;
+ function replaceVariables( match, name )
+ {
+ var keystrokes = editor.config.keystrokes,
+ definition,
+ length = keystrokes.length;
+
+ for ( var i = 0; i < length; i++ )
+ {
+ definition = keystrokes[ i ];
+ if ( definition[ 1 ] == name )
+ break;
+ }
+ return representKeyStroke( definition[ 0 ] );
+ }
+
+ // Create the help list directly from lang file entries.
+ function buildHelpContents()
+ {
+ var pageTpl = '<div class="cke_accessibility_legend" role="document" aria-labelledby="cke_' + id + '_arialbl" tabIndex="-1">%1</div>' +
+ '<span id="cke_' + id + '_arialbl" class="cke_voice_label">' + lang.contents + ' </span>',
+ sectionTpl = '<h1>%1</h1><dl>%2</dl>',
+ itemTpl = '<dt>%1</dt><dd>%2</dd>';
+
+ var pageHtml = [],
+ sections = lang.legend,
+ sectionLength = sections.length;
+
+ for ( var i = 0; i < sectionLength; i++ )
+ {
+ var section = sections[ i ],
+ sectionHtml = [],
+ items = section.items,
+ itemsLength = items.length;
+
+ for ( var j = 0; j < itemsLength; j++ )
+ {
+ var item = items[ j ],
+ itemHtml;
+ itemHtml = itemTpl.replace( '%1', item.name ).
+ replace( '%2', item.legend.replace( variablesPattern, replaceVariables ) );
+ sectionHtml.push( itemHtml );
+ }
+
+ pageHtml.push( sectionTpl.replace( '%1', section.name ).replace( '%2', sectionHtml.join( '' ) ) );
+ }
+
+ return pageTpl.replace( '%1', pageHtml.join( '' ) );
+ }
+
+ return {
+ title : lang.title,
+ minWidth : 600,
+ minHeight : 400,
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.common.generalTab,
+ expand : true,
+ elements :
+ [
+ {
+ type : 'html',
+ id : 'legends',
+ focus : function() {},
+ html : buildHelpContents() +
+ '<style type="text/css">' +
+ '.cke_accessibility_legend' +
+ '{' +
+ 'width:600px;' +
+ 'height:400px;' +
+ 'padding-right:5px;' +
+ 'overflow-y:auto;' +
+ 'overflow-x:hidden;' +
+ '}' +
+ '.cke_accessibility_legend h1' +
+ '{' +
+ 'font-size: 20px;' +
+ 'border-bottom: 1px solid #AAA;' +
+ 'margin: 5px 0px 15px;' +
+ '}' +
+ '.cke_accessibility_legend dl' +
+ '{' +
+ 'margin-left: 5px;' +
+ '}' +
+ '.cke_accessibility_legend dt' +
+ '{' +
+ 'font-size: 13px;' +
+ 'font-weight: bold;' +
+ '}' +
+ '.cke_accessibility_legend dd' +
+ '{' +
+ 'white-space:normal;' +
+ 'margin:10px' +
+ '}' +
+ '</style>'
+ }
+ ]
+ }
+ ],
+ buttons : [ CKEDITOR.dialog.cancelButton ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/a11yhelp/lang/en.js b/devel/third-party/ckeditor/plugins/a11yhelp/lang/en.js
new file mode 100644
index 0000000..b01885a
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/a11yhelp/lang/en.js
@@ -0,0 +1,108 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'a11yhelp', 'en',
+{
+ accessibilityHelp :
+ {
+ title : 'Accessibility Instructions',
+ contents : 'Help Contents. To close this dialog press ESC.',
+ legend :
+ [
+ {
+ name : 'General',
+ items :
+ [
+ {
+ name : 'Editor Toolbar',
+ legend:
+ 'Press ${toolbarFocus} to navigate to the toolbar. ' +
+ 'Move to next toolbar button with TAB or RIGHT ARROW. ' +
+ 'Move to previous button with SHIFT+TAB or LEFT ARROW. ' +
+ 'Press SPACE or ENTER to activate the toolbar button.'
+ },
+
+ {
+ name : 'Editor Dialog',
+ legend :
+ 'Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. ' +
+ 'For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. ' +
+ 'Then move to next tab with TAB OR RIGTH ARROW. ' +
+ 'Move to previous tab with SHIFT + TAB or LEFT ARROW. ' +
+ 'Press SPACE or ENTER to select the tab page.'
+ },
+
+ {
+ name : 'Editor Context Menu',
+ legend :
+ 'Press ${contextMenu} or APPLICATION KEY to open context-menu. ' +
+ 'Then move to next menu option with TAB or DOWN ARROW. ' +
+ 'Move to previous option with SHIFT+TAB or UP ARROW. ' +
+ 'Press SPACE or ENTER to select the menu option. ' +
+ 'Open sub-menu of current option wtih SPACE or ENTER or RIGHT ARROW. ' +
+ 'Go back to parent menu item with ESC or LEFT ARROW. ' +
+ 'Close context menu with ESC.'
+ },
+
+ {
+ name : 'Editor List Box',
+ legend :
+ 'Inside a list-box, move to next list item with TAB OR DOWN ARROW. ' +
+ 'Move to previous list item with SHIFT + TAB or UP ARROW. ' +
+ 'Press SPACE or ENTER to select the list option. ' +
+ 'Press ESC to close the list-box.'
+ },
+
+ {
+ name : 'Editor Element Path Bar',
+ legend :
+ 'Press ${elementsPathFocus} to navigate to the elements path bar. ' +
+ 'Move to next element button with TAB or RIGHT ARROW. ' +
+ 'Move to previous button with SHIFT+TAB or LEFT ARROW. ' +
+ 'Press SPACE or ENTER to select the element in editor.'
+ }
+ ]
+ },
+ {
+ name : 'Commands',
+ items :
+ [
+ {
+ name : ' Undo command',
+ legend : 'Press ${undo}'
+ },
+ {
+ name : ' Redo command',
+ legend : 'Press ${redo}'
+ },
+ {
+ name : ' Bold command',
+ legend : 'Press ${bold}'
+ },
+ {
+ name : ' Italic command',
+ legend : 'Press ${italic}'
+ },
+ {
+ name : ' Underline command',
+ legend : 'Press ${underline}'
+ },
+ {
+ name : ' Link command',
+ legend : 'Press ${link}'
+ },
+ {
+ name : ' Toolbar Collapse command',
+ legend : 'Press ${toolbarCollapse}'
+ },
+ {
+ name : ' Accessibility Help',
+ legend : 'Press ${a11yHelp}'
+ }
+ ]
+ }
+ ]
+ }
+});
diff --git a/devel/third-party/ckeditor/plugins/a11yhelp/lang/he.js b/devel/third-party/ckeditor/plugins/a11yhelp/lang/he.js
new file mode 100644
index 0000000..7f53639
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/a11yhelp/lang/he.js
@@ -0,0 +1,216 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'a11yhelp', 'he',
+{
+ accessibilityHelp :
+ {
+ title : '××ר××ת × ××ש×ת',
+ contents : '××ר××ת × ××ש×ת. ×ס×××¨× ×××¥ ×סק××פ (ESC).',
+ legend :
+ [
+ {
+ name : '××××',
+ items :
+ [
+ {
+ name : 'סר×× ×××××',
+ legend:
+ '×××¥ ×¢× ${toolbarFocus} ××× ×× ××× ×סר×× ×××××. ' +
+ '×¢××ר ××פת×ר ××× ×¢× ×קש ×××× (TAB) ×× ××¥ ש××××. ' +
+ '×¢××ר ××פת×ר ×ק××× ×¢× ×קש ×ש××¤× (SHIFT) + ××× (TAB) ×× ××¥ ××× ×. ' +
+ '×××¥ ר××× ×× ×× ×ר (ENTER) ××× ××פע×× ×ת ××פת×ר ×× ××ר.'
+ },
+
+ {
+ name : '×××××××× (×××× ×ת תש×××)',
+ legend :
+ '×ת×× ××××××, ×××¥ ××× (TAB) ××× ×× ××× ×ש×× ×××, ×××¥ ש××¤× (SHIFT) + ××× (TAB) ××× ×× ××× ×ש×× ×ק×××, ×××¥ ×× ×ר (ENTER) ××× ×ש××× ×ת ×××××××, ×××¥ ×סק××פ (ESC) ××× ××××. ' +
+ '×ת×× ×××××××× ××¢×× ×ספר ××××× (×ש×× ××ת), ×××¥ ××× (ALT) + F10 ××× ×× ××× ×ש×רת ××××××. ' +
+ '× ××× ×××× ××× ×¢× ××× (TAB) ×× ××¥ ש××××. ' +
+ '×¢××ר ×××× ×ק××× ×¢× ×©××¤× (SHIFT) + ××× (TAB) ×× ××¥ ש××××. ' +
+ '×××¥ ר××× ×× ×× ×ר (ENTER) ××× ××××× ×¡ ××××.'
+ },
+
+ {
+ name : 'תפר×× ××קשר (Context Menu)',
+ legend :
+ '×××¥ ${contextMenu} ×× APPLICATION KEY××× ×פת×× ×ת תפר×× ××קשר. ' +
+ '×¢××ר ××פשר×ת ×××× ×¢× ××× (TAB) ×× ××¥ ××××. ' +
+ '×¢××ר ××פשר×ת ×ק×××ת ×¢× ×©××¤× (SHIFT) + ××× (TAB) ×× ××¥ ×××¢××. ' +
+ '×××¥ ר××× ×× ×× ×ר (ENTER) ××× ××××ר ×ת ××פשר×ת. ' +
+ '×¤×ª× ×ת תת ×תפר×× (Sub-menu) ×©× ××פשר×ת ×× ××××ת ×¢× ×¨××× ×× ×× ×ר (ENTER) ×× ××¥ ש××××. ' +
+ '×××ר ×תפר×× ××× ×¢× ×סק××פ (ESC) ×× ××¥ ש××××. ' +
+ 'ס××ר ×ת תפר×× ××קשר ×¢× ×סק××פ (ESC).'
+ },
+
+ {
+ name : 'תפר×××× ×¦×¤×× (List boxes)',
+ legend :
+ '×ת×× ×ª×¤×¨×× ×¦×£, ×¢××ר ×פר×× ××× ×¢× ××× (TAB) ×× ××¥ ××××. ' +
+ '×¢××ר ×תפר×× ×ק××× ×¢× ×©××¤× (SHIFT) + ××× (TAB) or ××¥ ×¢××××. ' +
+ 'Press SPACE or ENTER to select the list option. ' +
+ 'Press ESC to close the list-box.'
+ },
+
+ {
+ name : '×¢×¥ ×××× ××× (Elements Path)',
+ legend :
+ '×××¥ ${elementsPathFocus} ××× ×× ××× ××¢×¥ ××××× ×××. ' +
+ '×¢××ר ×פר×× ××× ×¢× ××× (TAB) ×× ××¥ ××× ×. ' +
+ '×¢××ר ×פר×× ×ק××× ×¢× ×©××¤× (SHIFT) + ××× (TAB) ×× ××¥ ש××××. ' +
+ '×××¥ ר××× ×× ×× ×ר (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}'
+ }
+ ]
+ }
+ ]
+ }
+});
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'a11yhelp', 'he',
+{
+ accessibilityHelp :
+ {
+ title : '××ר××ת × ××ש×ת',
+ contents : '××ר××ת × ××ש×ת. ×ס×××¨× ×××¥ ×סק××פ (ESC).',
+ legend :
+ [
+ {
+ name : '××××',
+ items :
+ [
+ {
+ name : 'סר×× ×××××',
+ legend:
+ '×××¥ ×¢× ${toolbarFocus} ××× ×× ××× ×סר×× ×××××. ' +
+ '×¢××ר ××פת×ר ××× ×¢× ×קש ×××× (TAB) ×× ××¥ ש××××. ' +
+ '×¢××ר ××פת×ר ×ק××× ×¢× ×קש ×ש××¤× (SHIFT) + ××× (TAB) ×× ××¥ ××× ×. ' +
+ '×××¥ ר××× ×× ×× ×ר (ENTER) ××× ××פע×× ×ת ××פת×ר ×× ××ר.'
+ },
+
+ {
+ name : '×××××××× (×××× ×ת תש×××)',
+ legend :
+ '×ת×× ××××××, ×××¥ ××× (TAB) ××× ×× ××× ×ש×× ×××, ×××¥ ש××¤× (SHIFT) + ××× (TAB) ××× ×× ××× ×ש×× ×ק×××, ×××¥ ×× ×ר (ENTER) ××× ×ש××× ×ת ×××××××, ×××¥ ×סק××פ (ESC) ××× ××××. ' +
+ '×ת×× ×××××××× ××¢×× ×ספר ××××× (×ש×× ××ת), ×××¥ ××× (ALT) + F10 ××× ×× ××× ×ש×רת ××××××. ' +
+ '× ××× ×××× ××× ×¢× ××× (TAB) ×× ××¥ ש××××. ' +
+ '×¢××ר ×××× ×ק××× ×¢× ×©××¤× (SHIFT) + ××× (TAB) ×× ××¥ ש××××. ' +
+ '×××¥ ר××× ×× ×× ×ר (ENTER) ××× ××××× ×¡ ××××.'
+ },
+
+ {
+ name : 'תפר×× ××קשר (Context Menu)',
+ legend :
+ '×××¥ ${contextMenu} ×× APPLICATION KEY××× ×פת×× ×ת תפר×× ××קשר. ' +
+ '×¢××ר ××פשר×ת ×××× ×¢× ××× (TAB) ×× ××¥ ××××. ' +
+ '×¢××ר ××פשר×ת ×ק×××ת ×¢× ×©××¤× (SHIFT) + ××× (TAB) ×× ××¥ ×××¢××. ' +
+ '×××¥ ר××× ×× ×× ×ר (ENTER) ××× ××××ר ×ת ××פשר×ת. ' +
+ '×¤×ª× ×ת תת ×תפר×× (Sub-menu) ×©× ××פשר×ת ×× ××××ת ×¢× ×¨××× ×× ×× ×ר (ENTER) ×× ××¥ ש××××. ' +
+ '×××ר ×תפר×× ××× ×¢× ×סק××פ (ESC) ×× ××¥ ש××××. ' +
+ 'ס××ר ×ת תפר×× ××קשר ×¢× ×סק××פ (ESC).'
+ },
+
+ {
+ name : 'תפר×××× ×¦×¤×× (List boxes)',
+ legend :
+ '×ת×× ×ª×¤×¨×× ×¦×£, ×¢××ר ×פר×× ××× ×¢× ××× (TAB) ×× ××¥ ××××. ' +
+ '×¢××ר ×תפר×× ×ק××× ×¢× ×©××¤× (SHIFT) + ××× (TAB) or ××¥ ×¢××××. ' +
+ 'Press SPACE or ENTER to select the list option. ' +
+ 'Press ESC to close the list-box.'
+ },
+
+ {
+ name : '×¢×¥ ×××× ××× (Elements Path)',
+ legend :
+ '×××¥ ${elementsPathFocus} ××× ×× ××× ××¢×¥ ××××× ×××. ' +
+ '×¢××ר ×פר×× ××× ×¢× ××× (TAB) ×× ××¥ ××× ×. ' +
+ '×¢××ר ×פר×× ×ק××× ×¢× ×©××¤× (SHIFT) + ××× (TAB) ×× ××¥ ש××××. ' +
+ '×××¥ ר××× ×× ×× ×ר (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/devel/third-party/ckeditor/plugins/a11yhelp/plugin.js b/devel/third-party/ckeditor/plugins/a11yhelp/plugin.js
new file mode 100644
index 0000000..293bab3
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/a11yhelp/plugin.js
@@ -0,0 +1,46 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Plugin definition for the a11yhelp, which provides a dialog
+ * with accessibility related help.
+ */
+
+(function()
+{
+ var pluginName = 'a11yhelp',
+ commandName = 'a11yHelp';
+
+ CKEDITOR.plugins.add( pluginName,
+ {
+ // List of available localizations.
+ availableLangs : { en:1, he:1 },
+
+ init : function( editor )
+ {
+ var plugin = this;
+ editor.addCommand( commandName,
+ {
+ exec : function()
+ {
+ var langCode = editor.langCode;
+ langCode = plugin.availableLangs[ langCode ] ? langCode : 'en';
+
+ CKEDITOR.scriptLoader.load(
+ CKEDITOR.getUrl( plugin.path + 'lang/' + langCode + '.js' ),
+ function()
+ {
+ CKEDITOR.tools.extend( editor.lang, plugin.lang[ langCode ] );
+ editor.openDialog( commandName );
+ });
+ },
+ modes : { wysiwyg:1, source:1 },
+ canUndo : false
+ });
+
+ CKEDITOR.dialog.add( commandName, this.path + 'dialogs/a11yhelp.js' );
+ }
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/about/dialogs/about.js b/devel/third-party/ckeditor/plugins/about/dialogs/about.js
new file mode 100644
index 0000000..509762e
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/about/dialogs/about.js
@@ -0,0 +1,73 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'about', function( editor )
+{
+ var lang = editor.lang.about;
+
+ return {
+ title : CKEDITOR.env.ie ? lang.dlgTitle : lang.title,
+ minWidth : 390,
+ minHeight : 230,
+ contents : [
+ {
+ id : 'tab1',
+ label : '',
+ title : '',
+ expand : true,
+ padding : 0,
+ elements :
+ [
+ {
+ type : 'html',
+ html :
+ '<style type="text/css">' +
+ '.cke_about_container' +
+ '{' +
+ 'color:#000 !important;' +
+ 'padding:10px 10px 0;' +
+ 'margin-top:5px' +
+ '}' +
+ '.cke_about_container p' +
+ '{' +
+ 'margin: 0 0 10px;' +
+ '}' +
+ '.cke_about_container .cke_about_logo' +
+ '{' +
+ 'height:81px;' +
+ 'background-color:#fff;' +
+ 'background-image:url(' + CKEDITOR.plugins.get( 'about' ).path + 'dialogs/logo_ckeditor.png);' +
+ 'background-position:center; ' +
+ 'background-repeat:no-repeat;' +
+ 'margin-bottom:10px;' +
+ '}' +
+ '.cke_about_container a' +
+ '{' +
+ 'cursor:pointer !important;' +
+ 'color:blue !important;' +
+ 'text-decoration:underline !important;' +
+ '}' +
+ '</style>' +
+ '<div class="cke_about_container">' +
+ '<div class="cke_about_logo"></div>' +
+ '<p>' +
+ 'CKEditor ' + CKEDITOR.version + ' (revision ' + CKEDITOR.revision + ')<br>' +
+ '<a href="http://ckeditor.com/">http://ckeditor.com</a>' +
+ '</p>' +
+ '<p>' +
+ lang.moreInfo + '<br>' +
+ '<a href="http://ckeditor.com/license">http://ckeditor.com/license</a>' +
+ '</p>' +
+ '<p>' +
+ lang.copy.replace( '$1', '<a href="http://cksource.com/">CKSource</a> - Frederico Knabben' ) +
+ '</p>' +
+ '</div>'
+ }
+ ]
+ }
+ ],
+ buttons : [ CKEDITOR.dialog.cancelButton ]
+ };
+} );
diff --git a/devel/third-party/ckeditor/plugins/about/plugin.js b/devel/third-party/ckeditor/plugins/about/plugin.js
new file mode 100644
index 0000000..71c172f
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/about/plugin.js
@@ -0,0 +1,23 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'about',
+{
+ requires : [ 'dialog' ],
+ init : function( editor )
+ {
+ var command = editor.addCommand( 'about', new CKEDITOR.dialogCommand( 'about' ) );
+ command.modes = { wysiwyg:1, source:1 };
+ command.canUndo = false;
+
+ editor.ui.addButton( 'About',
+ {
+ label : editor.lang.about.title,
+ command : 'about'
+ });
+
+ CKEDITOR.dialog.add( 'about', this.path + 'dialogs/about.js' );
+ }
+});
diff --git a/devel/third-party/ckeditor/plugins/autogrow/plugin.js b/devel/third-party/ckeditor/plugins/autogrow/plugin.js
new file mode 100644
index 0000000..cd3fc3d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/autogrow/plugin.js
@@ -0,0 +1,79 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file AutoGrow plugin
+ */
+(function(){
+ var resizeEditor = function( editor )
+ {
+ var doc = editor.document,
+ currentHeight = editor.window.getViewPaneSize().height,
+ newHeight;
+
+ // We can not use documentElement to calculate the height for IE (#6061).
+ if ( CKEDITOR.env.ie )
+ newHeight = doc.getBody().$.scrollHeight + 24;
+ else
+ newHeight = doc.getDocumentElement().$.offsetHeight;
+
+ var min = editor.config.autoGrow_minHeight,
+ max = editor.config.autoGrow_maxHeight;
+ ( min == undefined ) && ( editor.config.autoGrow_minHeight = min = 200 );
+ if ( min )
+ newHeight = Math.max( newHeight, min );
+ if ( max )
+ newHeight = Math.min( newHeight, max );
+
+ if ( newHeight != currentHeight )
+ {
+ newHeight = editor.fire( 'autoGrow', { currentHeight : currentHeight, newHeight : newHeight } ).newHeight;
+ editor.resize( editor.container.getStyle( 'width' ), newHeight, true );
+ }
+ };
+ CKEDITOR.plugins.add( 'autogrow',
+ {
+ init : function( editor )
+ {
+ for ( var eventName in { contentDom:1, key:1, selectionChange:1, insertElement:1 } )
+ {
+ editor.on( eventName, function( evt )
+ {
+ // Some time is required for insertHtml, and it gives other events better performance as well.
+ if ( evt.editor.mode == 'wysiwyg' )
+ setTimeout( function(){ resizeEditor( evt.editor ); }, 100 );
+ });
+ }
+ }
+ });
+})();
+/**
+ * The minimum height to which the editor can reach using AutoGrow.
+ * @name CKEDITOR.config.autoGrow_minHeight
+ * @type Number
+ * @default 200
+ * @since 3.4
+ * @example
+ * config.autoGrow_minHeight = 300;
+ */
+
+/**
+ * The maximum height to which the editor can reach using AutoGrow. Zero means unlimited.
+ * @name CKEDITOR.config.autoGrow_maxHeight
+ * @type Number
+ * @default 0
+ * @since 3.4
+ * @example
+ * config.autoGrow_maxHeight = 400;
+ */
+
+/**
+ * Fired when the AutoGrow plugin is about to change the size of the editor.
+ * @name CKEDITOR#autogrow
+ * @event
+ * @param {Number} data.currentHeight The current height of the editor (before the resizing).
+ * @param {Number} data.newHeight The new height of the editor (after the resizing). It can be changed
+ * to determine another height to be used instead.
+ */
diff --git a/devel/third-party/ckeditor/plugins/basicstyles/plugin.js b/devel/third-party/ckeditor/plugins/basicstyles/plugin.js
new file mode 100644
index 0000000..0b2f25e
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/basicstyles/plugin.js
@@ -0,0 +1,101 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'basicstyles',
+{
+ requires : [ 'styles', 'button' ],
+
+ init : function( editor )
+ {
+ // All buttons use the same code to register. So, to avoid
+ // duplications, let's use this tool function.
+ var addButtonCommand = function( buttonName, buttonLabel, commandName, styleDefiniton )
+ {
+ var style = new CKEDITOR.style( styleDefiniton );
+
+ editor.attachStyleStateChange( style, function( state )
+ {
+ editor.getCommand( commandName ).setState( state );
+ });
+
+ editor.addCommand( commandName, new CKEDITOR.styleCommand( style ) );
+
+ editor.ui.addButton( buttonName,
+ {
+ label : buttonLabel,
+ command : commandName
+ });
+ };
+
+ var config = editor.config;
+ var lang = editor.lang;
+
+ addButtonCommand( 'Bold' , lang.bold , 'bold' , config.coreStyles_bold );
+ addButtonCommand( 'Italic' , lang.italic , 'italic' , config.coreStyles_italic );
+ addButtonCommand( 'Underline' , lang.underline , 'underline' , config.coreStyles_underline );
+ addButtonCommand( 'Strike' , lang.strike , 'strike' , config.coreStyles_strike );
+ addButtonCommand( 'Subscript' , lang.subscript , 'subscript' , config.coreStyles_subscript );
+ addButtonCommand( 'Superscript' , lang.superscript , 'superscript' , config.coreStyles_superscript );
+ }
+});
+
+// Basic Inline Styles.
+
+/**
+ * The style definition to be used to apply the bold style in the text.
+ * @type Object
+ * @example
+ * config.coreStyles_bold = { element : 'b', overrides : 'strong' };
+ * @example
+ * config.coreStyles_bold = { element : 'span', attributes : {'class': 'Bold'} };
+ */
+CKEDITOR.config.coreStyles_bold = { element : 'strong', overrides : 'b' };
+
+/**
+ * The style definition to be used to apply the italic style in the text.
+ * @type Object
+ * @default { element : 'em', overrides : 'i' }
+ * @example
+ * config.coreStyles_italic = { element : 'i', overrides : 'em' };
+ * @example
+ * CKEDITOR.config.coreStyles_italic = { element : 'span', attributes : {'class': 'Italic'} };
+ */
+CKEDITOR.config.coreStyles_italic = { element : 'em', overrides : 'i' };
+
+/**
+ * The style definition to be used to apply the underline style in the text.
+ * @type Object
+ * @default { element : 'u' }
+ * @example
+ * CKEDITOR.config.coreStyles_underline = { element : 'span', attributes : {'class': 'Underline'}};
+ */
+CKEDITOR.config.coreStyles_underline = { element : 'u' };
+
+/**
+ * The style definition to be used to apply the strike style in the text.
+ * @type Object
+ * @default { element : 'strike' }
+ * @example
+ * CKEDITOR.config.coreStyles_strike = { element : 'span', attributes : {'class': 'StrikeThrough'}, overrides : 'strike' };
+ */
+CKEDITOR.config.coreStyles_strike = { element : 'strike' };
+
+/**
+ * The style definition to be used to apply the subscript style in the text.
+ * @type Object
+ * @default { element : 'sub' }
+ * @example
+ * CKEDITOR.config.coreStyles_subscript = { element : 'span', attributes : {'class': 'Subscript'}, overrides : 'sub' };
+ */
+CKEDITOR.config.coreStyles_subscript = { element : 'sub' };
+
+/**
+ * The style definition to be used to apply the superscript style in the text.
+ * @type Object
+ * @default { element : 'sup' }
+ * @example
+ * CKEDITOR.config.coreStyles_superscript = { element : 'span', attributes : {'class': 'Superscript'}, overrides : 'sup' };
+ */
+CKEDITOR.config.coreStyles_superscript = { element : 'sup' };
diff --git a/devel/third-party/ckeditor/plugins/bidi/plugin.js b/devel/third-party/ckeditor/plugins/bidi/plugin.js
new file mode 100644
index 0000000..6c5d8a6
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/bidi/plugin.js
@@ -0,0 +1,247 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var guardElements = { table:1, ul:1, ol:1, blockquote:1, div:1 };
+ var directSelectionGuardElements = {};
+ CKEDITOR.tools.extend( directSelectionGuardElements, guardElements, { tr:1, p:1, div:1, li:1 } );
+
+ function onSelectionChange( evt )
+ {
+ var editor = evt.editor,
+ path = evt.data.path;
+ var useComputedState = editor.config.useComputedState,
+ selectedElement;
+
+ useComputedState = useComputedState === undefined || useComputedState;
+
+ if ( useComputedState )
+ {
+ var selection = editor.getSelection(),
+ ranges = selection.getRanges();
+
+ selectedElement = ranges && ranges[ 0 ].getEnclosedNode();
+
+ // If this is not our element of interest, apply to fully selected elements from guardElements.
+ if ( !selectedElement || selectedElement
+ && !( selectedElement.type == CKEDITOR.NODE_ELEMENT && selectedElement.getName() in directSelectionGuardElements )
+ )
+ selectedElement = getFullySelected( selection, guardElements );
+ }
+
+ selectedElement = selectedElement || path.block || path.blockLimit;
+
+ if ( !selectedElement || selectedElement.getName() == 'body' )
+ return;
+
+ var selectionDir = useComputedState ?
+ selectedElement.getComputedStyle( 'direction' ) :
+ selectedElement.getStyle( 'direction' ) || selectedElement.getAttribute( 'dir' );
+
+ editor.getCommand( 'bidirtl' ).setState( selectionDir == 'rtl' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+ editor.getCommand( 'bidiltr' ).setState( selectionDir == 'ltr' ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+
+ var chromeRoot = editor.container.getChild( 1 );
+
+ if ( selectionDir != editor.lang.dir )
+ chromeRoot.addClass( 'cke_mixed_dir_content' );
+ else
+ chromeRoot.removeClass( 'cke_mixed_dir_content' );
+ }
+
+ function switchDir( element, dir, editor )
+ {
+ var dirBefore = element.getComputedStyle( 'direction' ),
+ currentDir = element.getStyle( 'direction' ) || element.getAttribute( 'dir' ) || '';
+
+ element.removeStyle( 'direction' );
+
+ if ( currentDir.toLowerCase() == dir )
+ element.removeAttribute( 'dir' );
+ else
+ element.setAttribute( 'dir', dir );
+
+ // If the element direction changed, we need to switch the margins of
+ // the element and all its children, so it will get really reflected
+ // like a mirror. (#5910)
+ var dirAfter = element.getComputedStyle( 'direction' );
+ if ( dirAfter != dirBefore )
+ {
+ var range = new CKEDITOR.dom.range( element.getDocument() );
+ range.setStartBefore( element );
+ range.setEndAfter( element );
+
+ var walker = new CKEDITOR.dom.walker( range );
+
+ var node;
+ while ( ( node = walker.next() ) )
+ {
+ if ( node.type == CKEDITOR.NODE_ELEMENT )
+ {
+ // A child with dir defined is to be ignored.
+ if ( !node.equals( element ) && node.hasAttribute( 'dir' ) )
+ {
+ range.setStartAfter( node );
+ walker = new CKEDITOR.dom.walker( range );
+ continue;
+ }
+
+ // Switch the margins.
+ var marginLeft = node.getStyle( 'margin-right' ),
+ marginRight = node.getStyle( 'margin-left' );
+
+ marginLeft ? node.setStyle( 'margin-left', marginLeft ) : node.removeStyle( 'margin-left' );
+ marginRight ? node.setStyle( 'margin-right', marginRight ) : node.removeStyle( 'margin-right' );
+ }
+ }
+ }
+
+ editor.forceNextSelectionCheck();
+ }
+
+ function getFullySelected( selection, elements )
+ {
+ var selectedElement = selection.getCommonAncestor();
+ while( selectedElement.type == CKEDITOR.NODE_ELEMENT
+ && !( selectedElement.getName() in elements )
+ && selectedElement.getParent().getChildCount() == 1
+ )
+ selectedElement = selectedElement.getParent();
+
+ return selectedElement.type == CKEDITOR.NODE_ELEMENT
+ && ( selectedElement.getName() in elements )
+ && selectedElement;
+ }
+
+ function bidiCommand( dir )
+ {
+ return function( editor )
+ {
+ var selection = editor.getSelection(),
+ enterMode = editor.config.enterMode,
+ ranges = selection.getRanges();
+
+ if ( ranges && ranges.length )
+ {
+ // Apply do directly selected elements from guardElements.
+ var selectedElement = ranges[ 0 ].getEnclosedNode();
+
+ // If this is not our element of interest, apply to fully selected elements from guardElements.
+ if ( !selectedElement || selectedElement
+ && !( selectedElement.type == CKEDITOR.NODE_ELEMENT && selectedElement.getName() in directSelectionGuardElements )
+ )
+ selectedElement = getFullySelected( selection, guardElements );
+
+ if ( selectedElement )
+ {
+ if ( !selectedElement.isReadOnly() )
+ switchDir( selectedElement, dir, editor );
+ }
+ else
+ {
+ // Creates bookmarks for selection, as we may split some blocks.
+ var bookmarks = selection.createBookmarks();
+
+ var iterator,
+ block;
+
+ for ( var i = ranges.length - 1 ; i >= 0 ; i-- )
+ {
+ // Array of elements processed as guardElements.
+ var processedElements = [];
+ // Walker searching for guardElements.
+ var walker = new CKEDITOR.dom.walker( ranges[ i ] );
+ walker.evaluator = function( node ){
+ return node.type == CKEDITOR.NODE_ELEMENT
+ && node.getName() in guardElements
+ && !( node.getName() == ( enterMode == CKEDITOR.ENTER_P ) ? 'p' : 'div'
+ && node.getParent().type == CKEDITOR.NODE_ELEMENT
+ && node.getParent().getName() == 'blockquote'
+ );
+ };
+
+ while ( ( block = walker.next() ) )
+ {
+ switchDir( block, dir, editor );
+ processedElements.push( block );
+ }
+
+ iterator = ranges[ i ].createIterator();
+ iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
+
+ while ( ( block = iterator.getNextParagraph( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ) )
+ {
+ if ( block.isReadOnly() )
+ continue;
+
+ var _break = 0;
+
+ // Check if block have been already processed by the walker above.
+ for ( var ii = 0; ii < processedElements.length; ii++ )
+ {
+ var parent = block.getParent();
+
+ while( parent && parent.getName() != 'body' )
+ {
+ if ( ( parent.$.isSameNode && parent.$.isSameNode( processedElements[ ii ].$ ) )
+ || parent.$ == processedElements[ ii ].$ )
+ {
+ _break = 1;
+ break;
+ }
+ parent = parent.getParent();
+ }
+
+ if ( _break )
+ break;
+ }
+
+ if ( !_break )
+ {
+ switchDir( block, dir, editor );
+ }
+ }
+ }
+
+ editor.forceNextSelectionCheck();
+ // Restore selection position.
+ selection.selectBookmarks( bookmarks );
+ }
+
+ editor.focus();
+ }
+ };
+ }
+
+ CKEDITOR.plugins.add( 'bidi',
+ {
+ requires : [ 'styles', 'button' ],
+
+ init : function( editor )
+ {
+ // All buttons use the same code to register. So, to avoid
+ // duplications, let's use this tool function.
+ var addButtonCommand = function( buttonName, buttonLabel, commandName, commandExec )
+ {
+ editor.addCommand( commandName, new CKEDITOR.command( editor, { exec : commandExec }) );
+
+ editor.ui.addButton( buttonName,
+ {
+ label : buttonLabel,
+ command : commandName
+ });
+ };
+
+ var lang = editor.lang.bidi;
+
+ addButtonCommand( 'BidiLtr', lang.ltr, 'bidiltr', bidiCommand( 'ltr' ) );
+ addButtonCommand( 'BidiRtl', lang.rtl, 'bidirtl', bidiCommand( 'rtl' ) );
+
+ editor.on( 'selectionChange', onSelectionChange );
+ }
+ });
+
+})();
diff --git a/devel/third-party/ckeditor/plugins/blockquote/plugin.js b/devel/third-party/ckeditor/plugins/blockquote/plugin.js
new file mode 100644
index 0000000..128e267
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/blockquote/plugin.js
@@ -0,0 +1,301 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Blockquote.
+ */
+
+(function()
+{
+ function getState( editor, path )
+ {
+ var firstBlock = path.block || path.blockLimit;
+
+ if ( !firstBlock || firstBlock.getName() == 'body' )
+ return CKEDITOR.TRISTATE_OFF;
+
+ // See if the first block has a blockquote parent.
+ if ( firstBlock.getAscendant( 'blockquote', true ) )
+ return CKEDITOR.TRISTATE_ON;
+
+ return CKEDITOR.TRISTATE_OFF;
+ }
+
+ function onSelectionChange( evt )
+ {
+ var editor = evt.editor,
+ command = editor.getCommand( 'blockquote' );
+ command.state = getState( editor, evt.data.path );
+ command.fire( 'state' );
+ }
+
+ function noBlockLeft( bqBlock )
+ {
+ for ( var i = 0, length = bqBlock.getChildCount(), child ; i < length && ( child = bqBlock.getChild( i ) ) ; i++ )
+ {
+ if ( child.type == CKEDITOR.NODE_ELEMENT && child.isBlockBoundary() )
+ return false;
+ }
+ return true;
+ }
+
+ var commandObject =
+ {
+ exec : function( editor )
+ {
+ var state = editor.getCommand( 'blockquote' ).state,
+ selection = editor.getSelection(),
+ range = selection && selection.getRanges( true )[0];
+
+ if ( !range )
+ return;
+
+ var bookmarks = selection.createBookmarks();
+
+ // Kludge for #1592: if the bookmark nodes are in the beginning of
+ // blockquote, then move them to the nearest block element in the
+ // blockquote.
+ if ( CKEDITOR.env.ie )
+ {
+ var bookmarkStart = bookmarks[0].startNode,
+ bookmarkEnd = bookmarks[0].endNode,
+ cursor;
+
+ if ( bookmarkStart && bookmarkStart.getParent().getName() == 'blockquote' )
+ {
+ cursor = bookmarkStart;
+ while ( ( cursor = cursor.getNext() ) )
+ {
+ if ( cursor.type == CKEDITOR.NODE_ELEMENT &&
+ cursor.isBlockBoundary() )
+ {
+ bookmarkStart.move( cursor, true );
+ break;
+ }
+ }
+ }
+
+ if ( bookmarkEnd
+ && bookmarkEnd.getParent().getName() == 'blockquote' )
+ {
+ cursor = bookmarkEnd;
+ while ( ( cursor = cursor.getPrevious() ) )
+ {
+ if ( cursor.type == CKEDITOR.NODE_ELEMENT &&
+ cursor.isBlockBoundary() )
+ {
+ bookmarkEnd.move( cursor );
+ break;
+ }
+ }
+ }
+ }
+
+ var iterator = range.createIterator(),
+ block;
+
+ if ( state == CKEDITOR.TRISTATE_OFF )
+ {
+ var paragraphs = [];
+ while ( ( block = iterator.getNextParagraph() ) )
+ paragraphs.push( block );
+
+ // If no paragraphs, create one from the current selection position.
+ if ( paragraphs.length < 1 )
+ {
+ var para = editor.document.createElement( editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ),
+ firstBookmark = bookmarks.shift();
+ range.insertNode( para );
+ para.append( new CKEDITOR.dom.text( '\ufeff', editor.document ) );
+ range.moveToBookmark( firstBookmark );
+ range.selectNodeContents( para );
+ range.collapse( true );
+ firstBookmark = range.createBookmark();
+ paragraphs.push( para );
+ bookmarks.unshift( firstBookmark );
+ }
+
+ // Make sure all paragraphs have the same parent.
+ var commonParent = paragraphs[0].getParent(),
+ tmp = [];
+ for ( var i = 0 ; i < paragraphs.length ; i++ )
+ {
+ block = paragraphs[i];
+ commonParent = commonParent.getCommonAncestor( block.getParent() );
+ }
+
+ // The common parent must not be the following tags: table, tbody, tr, ol, ul.
+ var denyTags = { table : 1, tbody : 1, tr : 1, ol : 1, ul : 1 };
+ while ( denyTags[ commonParent.getName() ] )
+ commonParent = commonParent.getParent();
+
+ // Reconstruct the block list to be processed such that all resulting blocks
+ // satisfy parentNode.equals( commonParent ).
+ var lastBlock = null;
+ while ( paragraphs.length > 0 )
+ {
+ block = paragraphs.shift();
+ while ( !block.getParent().equals( commonParent ) )
+ block = block.getParent();
+ if ( !block.equals( lastBlock ) )
+ tmp.push( block );
+ lastBlock = block;
+ }
+
+ // If any of the selected blocks is a blockquote, remove it to prevent
+ // nested blockquotes.
+ while ( tmp.length > 0 )
+ {
+ block = tmp.shift();
+ if ( block.getName() == 'blockquote' )
+ {
+ var docFrag = new CKEDITOR.dom.documentFragment( editor.document );
+ while ( block.getFirst() )
+ {
+ docFrag.append( block.getFirst().remove() );
+ paragraphs.push( docFrag.getLast() );
+ }
+
+ docFrag.replace( block );
+ }
+ else
+ paragraphs.push( block );
+ }
+
+ // Now we have all the blocks to be included in a new blockquote node.
+ var bqBlock = editor.document.createElement( 'blockquote' );
+ bqBlock.insertBefore( paragraphs[0] );
+ while ( paragraphs.length > 0 )
+ {
+ block = paragraphs.shift();
+ bqBlock.append( block );
+ }
+ }
+ else if ( state == CKEDITOR.TRISTATE_ON )
+ {
+ var moveOutNodes = [],
+ database = {};
+
+ while ( ( block = iterator.getNextParagraph() ) )
+ {
+ var bqParent = null,
+ bqChild = null;
+ while ( block.getParent() )
+ {
+ if ( block.getParent().getName() == 'blockquote' )
+ {
+ bqParent = block.getParent();
+ bqChild = block;
+ break;
+ }
+ block = block.getParent();
+ }
+
+ // Remember the blocks that were recorded down in the moveOutNodes array
+ // to prevent duplicates.
+ if ( bqParent && bqChild && !bqChild.getCustomData( 'blockquote_moveout' ) )
+ {
+ moveOutNodes.push( bqChild );
+ CKEDITOR.dom.element.setMarker( database, bqChild, 'blockquote_moveout', true );
+ }
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ var movedNodes = [],
+ processedBlockquoteBlocks = [];
+
+ database = {};
+ while ( moveOutNodes.length > 0 )
+ {
+ var node = moveOutNodes.shift();
+ bqBlock = node.getParent();
+
+ // If the node is located at the beginning or the end, just take it out
+ // without splitting. Otherwise, split the blockquote node and move the
+ // paragraph in between the two blockquote nodes.
+ if ( !node.getPrevious() )
+ node.remove().insertBefore( bqBlock );
+ else if ( !node.getNext() )
+ node.remove().insertAfter( bqBlock );
+ else
+ {
+ node.breakParent( node.getParent() );
+ processedBlockquoteBlocks.push( node.getNext() );
+ }
+
+ // Remember the blockquote node so we can clear it later (if it becomes empty).
+ if ( !bqBlock.getCustomData( 'blockquote_processed' ) )
+ {
+ processedBlockquoteBlocks.push( bqBlock );
+ CKEDITOR.dom.element.setMarker( database, bqBlock, 'blockquote_processed', true );
+ }
+
+ movedNodes.push( node );
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ // Clear blockquote nodes that have become empty.
+ for ( i = processedBlockquoteBlocks.length - 1 ; i >= 0 ; i-- )
+ {
+ bqBlock = processedBlockquoteBlocks[i];
+ if ( noBlockLeft( bqBlock ) )
+ bqBlock.remove();
+ }
+
+ if ( editor.config.enterMode == CKEDITOR.ENTER_BR )
+ {
+ var firstTime = true;
+ while ( movedNodes.length )
+ {
+ node = movedNodes.shift();
+
+ if ( node.getName() == 'div' )
+ {
+ docFrag = new CKEDITOR.dom.documentFragment( editor.document );
+ var needBeginBr = firstTime && node.getPrevious() &&
+ !( node.getPrevious().type == CKEDITOR.NODE_ELEMENT && node.getPrevious().isBlockBoundary() );
+ if ( needBeginBr )
+ docFrag.append( editor.document.createElement( 'br' ) );
+
+ var needEndBr = node.getNext() &&
+ !( node.getNext().type == CKEDITOR.NODE_ELEMENT && node.getNext().isBlockBoundary() );
+ while ( node.getFirst() )
+ node.getFirst().remove().appendTo( docFrag );
+
+ if ( needEndBr )
+ docFrag.append( editor.document.createElement( 'br' ) );
+
+ docFrag.replace( node );
+ firstTime = false;
+ }
+ }
+ }
+ }
+
+ selection.selectBookmarks( bookmarks );
+ editor.focus();
+ }
+ };
+
+ CKEDITOR.plugins.add( 'blockquote',
+ {
+ init : function( editor )
+ {
+ editor.addCommand( 'blockquote', commandObject );
+
+ editor.ui.addButton( 'Blockquote',
+ {
+ label : editor.lang.blockquote,
+ command : 'blockquote'
+ } );
+
+ editor.on( 'selectionChange', onSelectionChange );
+ },
+
+ requires : [ 'domiterator' ]
+ } );
+})();
diff --git a/devel/third-party/ckeditor/plugins/button/plugin.js b/devel/third-party/ckeditor/plugins/button/plugin.js
new file mode 100644
index 0000000..f16e192
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/button/plugin.js
@@ -0,0 +1,277 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'button',
+{
+ beforeInit : function( editor )
+ {
+ editor.ui.addHandler( CKEDITOR.UI_BUTTON, CKEDITOR.ui.button.handler );
+ }
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_BUTTON = 1;
+
+/**
+ * Represents a button UI element. This class should not be called directly. To
+ * create new buttons use {@link CKEDITOR.ui.prototype.addButton} instead.
+ * @constructor
+ * @param {Object} definition The button definition.
+ * @example
+ */
+CKEDITOR.ui.button = function( definition )
+{
+ // Copy all definition properties to this object.
+ CKEDITOR.tools.extend( this, definition,
+ // Set defaults.
+ {
+ title : definition.label,
+ className : definition.className || ( definition.command && 'cke_button_' + definition.command ) || '',
+ click : definition.click || function( editor )
+ {
+ editor.execCommand( definition.command );
+ }
+ });
+
+ this._ = {};
+};
+
+/**
+ * Transforms a button definition in a {@link CKEDITOR.ui.button} instance.
+ * @type Object
+ * @example
+ */
+CKEDITOR.ui.button.handler =
+{
+ create : function( definition )
+ {
+ return new CKEDITOR.ui.button( definition );
+ }
+};
+
+CKEDITOR.ui.button.prototype =
+{
+ canGroup : true,
+
+ /**
+ * Renders the button.
+ * @param {CKEDITOR.editor} editor The editor instance which this button is
+ * to be used by.
+ * @param {Array} output The output array to which append the HTML relative
+ * to this button.
+ * @example
+ */
+ render : function( editor, output )
+ {
+ var env = CKEDITOR.env,
+ id = this._.id = 'cke_' + CKEDITOR.tools.getNextNumber(),
+ classes = '',
+ command = this.command, // Get the command name.
+ clickFn,
+ index;
+
+ this._.editor = editor;
+
+ var instance =
+ {
+ id : id,
+ button : this,
+ editor : editor,
+ focus : function()
+ {
+ var element = CKEDITOR.document.getById( id );
+ element.focus();
+ },
+ execute : function()
+ {
+ this.button.click( editor );
+ }
+ };
+
+ instance.clickFn = clickFn = CKEDITOR.tools.addFunction( instance.execute, instance );
+
+ instance.index = index = CKEDITOR.ui.button._.instances.push( instance ) - 1;
+
+ if ( this.modes )
+ {
+ editor.on( 'mode', function()
+ {
+ this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+ }, this);
+ }
+ else if ( command )
+ {
+ // Get the command instance.
+ command = editor.getCommand( command );
+
+ if ( command )
+ {
+ command.on( 'state', function()
+ {
+ this.setState( command.state );
+ }, this);
+
+ classes += 'cke_' + (
+ command.state == CKEDITOR.TRISTATE_ON ? 'on' :
+ command.state == CKEDITOR.TRISTATE_DISABLED ? 'disabled' :
+ 'off' );
+ }
+ }
+
+ if ( !command )
+ classes += 'cke_off';
+
+ if ( this.className )
+ classes += ' ' + this.className;
+
+ output.push(
+ '<span class="cke_button">',
+ '<a id="', id, '"' +
+ ' class="', classes, '"',
+ env.gecko && env.version >= 10900 && !env.hc ? '' : '" href="javascript:void(\''+ ( this.title || '' ).replace( "'", '' )+ '\')"',
+ ' title="', this.title, '"' +
+ ' tabindex="-1"' +
+ ' hidefocus="true"' +
+ ' role="button"' +
+ ' aria-labelledby="' + id + '_label"' +
+ ( this.hasArrow ? ' aria-haspopup="true"' : '' ) );
+
+ // Some browsers don't cancel key events in the keydown but in the
+ // keypress.
+ // TODO: Check if really needed for Gecko+Mac.
+ if ( env.opera || ( env.gecko && env.mac ) )
+ {
+ output.push(
+ ' onkeypress="return false;"' );
+ }
+
+ // With Firefox, we need to force the button to redraw, otherwise it
+ // will remain in the focus state.
+ if ( env.gecko )
+ {
+ output.push(
+ ' onblur="this.style.cssText = this.style.cssText;"' );
+ }
+
+ output.push(
+ ' onkeydown="return CKEDITOR.ui.button._.keydown(', index, ', event);"' +
+ ' onfocus="return CKEDITOR.ui.button._.focus(', index, ', event);"' +
+ ' onclick="CKEDITOR.tools.callFunction(', clickFn, ', this); return false;">' +
+ '<span class="cke_icon"' );
+
+ if ( this.icon )
+ {
+ var offset = ( this.iconOffset || 0 ) * -16;
+ output.push( ' style="background-image:url(', CKEDITOR.getUrl( this.icon ), ');background-position:0 ' + offset + 'px;"' );
+ }
+
+ output.push(
+ '> </span>' +
+ '<span id="', id, '_label" class="cke_label">', this.label, '</span>' );
+
+ if ( this.hasArrow )
+ {
+ output.push(
+ '<span class="cke_buttonarrow">'
+ // BLACK DOWN-POINTING TRIANGLE
+ + ( CKEDITOR.env.hc ? '▼' : ' ' )
+ + '</span>' );
+ }
+
+ output.push(
+ '</a>',
+ '</span>' );
+
+ if ( this.onRender )
+ this.onRender();
+
+ return instance;
+ },
+
+ setState : function( state )
+ {
+ if ( this._.state == state )
+ return false;
+
+ this._.state = state;
+
+ var element = CKEDITOR.document.getById( this._.id );
+
+ if ( element )
+ {
+ element.setState( state );
+ state == CKEDITOR.TRISTATE_DISABLED ?
+ element.setAttribute( 'aria-disabled', true ) :
+ element.removeAttribute( 'aria-disabled' );
+
+ state == CKEDITOR.TRISTATE_ON ?
+ element.setAttribute( 'aria-pressed', true ) :
+ element.removeAttribute( 'aria-pressed' );
+
+ return true;
+ }
+ else
+ return false;
+ }
+};
+
+/**
+ * Handles a button click.
+ * @private
+ */
+CKEDITOR.ui.button._ =
+{
+ instances : [],
+
+ keydown : function( index, ev )
+ {
+ var instance = CKEDITOR.ui.button._.instances[ index ];
+
+ if ( instance.onkey )
+ {
+ ev = new CKEDITOR.dom.event( ev );
+ return ( instance.onkey( instance, ev.getKeystroke() ) !== false );
+ }
+ },
+
+ focus : function( index, ev )
+ {
+ var instance = CKEDITOR.ui.button._.instances[ index ],
+ retVal;
+
+ if ( instance.onfocus )
+ retVal = ( instance.onfocus( instance, new CKEDITOR.dom.event( ev ) ) !== false );
+
+ // FF2: prevent focus event been bubbled up to editor container, which caused unexpected editor focus.
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
+ ev.preventBubble();
+ return retVal;
+ }
+};
+
+/**
+ * Adds a button definition to the UI elements list.
+ * @param {String} The button name.
+ * @param {Object} The button definition.
+ * @example
+ * editorInstance.ui.addButton( 'MyBold',
+ * {
+ * label : 'My Bold',
+ * command : 'bold'
+ * });
+ */
+CKEDITOR.ui.prototype.addButton = function( name, definition )
+{
+ this.add( name, CKEDITOR.UI_BUTTON, definition );
+};
+
+CKEDITOR.on( 'reset', function()
+ {
+ CKEDITOR.ui.button._.instances = [];
+ });
diff --git a/devel/third-party/ckeditor/plugins/clipboard/dialogs/paste.js b/devel/third-party/ckeditor/plugins/clipboard/dialogs/paste.js
new file mode 100644
index 0000000..b37d8fd
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/clipboard/dialogs/paste.js
@@ -0,0 +1,205 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'paste', function( editor )
+{
+ var lang = editor.lang.clipboard;
+ var isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+ function onPasteFrameLoad( win )
+ {
+ var doc = new CKEDITOR.dom.document( win.document ),
+ docElement = doc.$;
+
+ doc.getById( "cke_actscrpt" ).remove();
+
+ CKEDITOR.env.ie ?
+ docElement.body.contentEditable = "true" :
+ docElement.designMode = "on";
+
+ // IE before version 8 will leave cursor blinking inside the document after
+ // editor blurred unless we clean up the selection. (#4716)
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
+ {
+ doc.getWindow().on( 'blur', function()
+ {
+ docElement.selection.empty();
+ } );
+ }
+
+ doc.on( "keydown", function( e )
+ {
+ var domEvent = e.data,
+ key = domEvent.getKeystroke(),
+ processed;
+
+ switch( key )
+ {
+ case 27 :
+ this.hide();
+ processed = 1;
+ break;
+
+ case 9 :
+ case CKEDITOR.SHIFT + 9 :
+ this.changeFocus( true );
+ processed = 1;
+ }
+
+ processed && domEvent.preventDefault();
+ }, this );
+
+ editor.fire( 'ariaWidget', new CKEDITOR.dom.element( win.frameElement ) );
+ }
+
+ return {
+ title : lang.title,
+
+ minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 370 : 350,
+ minHeight : CKEDITOR.env.quirks ? 250 : 245,
+ onShow : function()
+ {
+ // FIREFOX BUG: Force the browser to render the dialog to make the to-be-
+ // inserted iframe editable. (#3366)
+ this.parts.dialog.$.offsetHeight;
+
+ var htmlToLoad =
+ '<html dir="' + editor.config.contentsLangDirection + '"' +
+ ' lang="' + ( editor.config.contentsLanguage || editor.langCode ) + '">' +
+ '<head><style>body { margin: 3px; height: 95%; } </style></head><body>' +
+ '<script id="cke_actscrpt" type="text/javascript">' +
+ 'window.parent.CKEDITOR.tools.callFunction( ' + CKEDITOR.tools.addFunction( onPasteFrameLoad, this ) + ', this );' +
+ '</script></body>' +
+ '</html>';
+
+ var iframe = CKEDITOR.dom.element.createFromHtml(
+ '<iframe' +
+ ' class="cke_pasteframe"' +
+ ' frameborder="0" ' +
+ ' allowTransparency="true"' +
+ // Support for custom document.domain in IE.
+ ( isCustomDomain ?
+ ' src="javascript:void((function(){' +
+ 'document.open();' +
+ 'document.domain=\'' + document.domain + '\';' +
+ 'document.close();' +
+ '})())"' : '' ) +
+ ' role="region"' +
+ ' aria-label="' + lang.pasteArea + '"' +
+ ' aria-describedby="' + this.getContentElement( 'general', 'pasteMsg' ).domId + '"' +
+ ' aria-multiple="true"' +
+ '></iframe>' );
+
+ iframe.on( 'load', function( e )
+ {
+ e.removeListener();
+ var doc = iframe.getFrameDocument().$;
+ // Custom domain handling is needed after each document.open().
+ doc.open();
+ if ( isCustomDomain )
+ doc.domain = document.domain;
+ doc.write( htmlToLoad );
+ doc.close();
+ }, this );
+
+ iframe.setCustomData( 'dialog', this );
+
+ var field = this.getContentElement( 'general', 'editing_area' ),
+ container = field.getElement();
+ container.setHtml( '' );
+ container.append( iframe );
+
+ // IE need a redirect on focus to make
+ // the cursor blinking inside iframe. (#5461)
+ if ( CKEDITOR.env.ie )
+ {
+ var focusGrabber = CKEDITOR.dom.element.createFromHtml( '<span tabindex="-1" style="position:absolute;" role="presentation"></span>' );
+ focusGrabber.on( 'focus', function()
+ {
+ iframe.$.contentWindow.focus();
+ });
+ container.append( focusGrabber );
+
+ // Override focus handler on field.
+ field.focus = function()
+ {
+ focusGrabber.focus();
+ this.fire( 'focus' );
+ };
+ }
+
+ field.getInputElement = function(){ return iframe; };
+
+ // Force container to scale in IE.
+ if ( CKEDITOR.env.ie )
+ {
+ container.setStyle( 'display', 'block' );
+ container.setStyle( 'height', ( iframe.$.offsetHeight + 2 ) + 'px' );
+ }
+ },
+
+ onHide : function()
+ {
+ if ( CKEDITOR.env.ie )
+ this.getParentEditor().document.getBody().$.contentEditable = 'true';
+ },
+
+ onLoad : function()
+ {
+ if ( ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) && editor.lang.dir == 'rtl' )
+ this.parts.contents.setStyle( 'overflow', 'hidden' );
+ },
+
+ onOk : function()
+ {
+ var container = this.getContentElement( 'general', 'editing_area' ).getElement(),
+ iframe = container.getElementsByTag( 'iframe' ).getItem( 0 ),
+ editor = this.getParentEditor(),
+ html = iframe.$.contentWindow.document.body.innerHTML;
+
+ setTimeout( function(){
+ editor.fire( 'paste', { 'html' : html } );
+ }, 0 );
+
+ },
+
+ contents : [
+ {
+ id : 'general',
+ label : editor.lang.common.generalTab,
+ elements : [
+ {
+ type : 'html',
+ id : 'securityMsg',
+ html : '<div style="white-space:normal;width:340px;">' + lang.securityMsg + '</div>'
+ },
+ {
+ type : 'html',
+ id : 'pasteMsg',
+ html : '<div style="white-space:normal;width:340px;">'+lang.pasteMsg +'</div>'
+ },
+ {
+ type : 'html',
+ id : 'editing_area',
+ style : 'width: 100%; height: 100%;',
+ html : '',
+ focus : function()
+ {
+ var win = this.getInputElement().$.contentWindow;
+
+ // #3291 : JAWS needs the 500ms delay to detect that the editor iframe
+ // iframe is no longer editable. So that it will put the focus into the
+ // Paste from Word dialog's editable area instead.
+ setTimeout( function()
+ {
+ win.focus();
+ }, 500 );
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/clipboard/plugin.js b/devel/third-party/ckeditor/plugins/clipboard/plugin.js
new file mode 100644
index 0000000..9dc230e
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/clipboard/plugin.js
@@ -0,0 +1,412 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Clipboard support
+ */
+
+(function()
+{
+ // Tries to execute any of the paste, cut or copy commands in IE. Returns a
+ // boolean indicating that the operation succeeded.
+ var execIECommand = function( editor, command )
+ {
+ var doc = editor.document,
+ body = doc.getBody();
+
+ var enabled = false;
+ var onExec = function()
+ {
+ enabled = true;
+ };
+
+ // The following seems to be the only reliable way to detect that
+ // clipboard commands are enabled in IE. It will fire the
+ // onpaste/oncut/oncopy events only if the security settings allowed
+ // the command to execute.
+ body.on( command, onExec );
+
+ // IE6/7: document.execCommand has problem to paste into positioned element.
+ ( CKEDITOR.env.version > 7 ? doc.$ : doc.$.selection.createRange() ) [ 'execCommand' ]( command );
+
+ body.removeListener( command, onExec );
+
+ return enabled;
+ };
+
+ // Attempts to execute the Cut and Copy operations.
+ var tryToCutCopy =
+ CKEDITOR.env.ie ?
+ function( editor, type )
+ {
+ return execIECommand( editor, type );
+ }
+ : // !IE.
+ function( editor, type )
+ {
+ try
+ {
+ // Other browsers throw an error if the command is disabled.
+ return editor.document.$.execCommand( type );
+ }
+ catch( e )
+ {
+ return false;
+ }
+ };
+
+ // A class that represents one of the cut or copy commands.
+ var cutCopyCmd = function( type )
+ {
+ this.type = type;
+ this.canUndo = ( this.type == 'cut' ); // We can't undo copy to clipboard.
+ };
+
+ cutCopyCmd.prototype =
+ {
+ exec : function( editor, data )
+ {
+ this.type == 'cut' && fixCut( editor );
+
+ var success = tryToCutCopy( editor, this.type );
+
+ if ( !success )
+ alert( editor.lang.clipboard[ this.type + 'Error' ] ); // Show cutError or copyError.
+
+ return success;
+ }
+ };
+
+ // Paste command.
+ var pasteCmd =
+ {
+ canUndo : false,
+
+ exec :
+ CKEDITOR.env.ie ?
+ function( editor )
+ {
+ // Prevent IE from pasting at the begining of the document.
+ editor.focus();
+
+ if ( !editor.document.getBody().fire( 'beforepaste' )
+ && !execIECommand( editor, 'paste' ) )
+ {
+ editor.fire( 'pasteDialog' );
+ return false;
+ }
+ }
+ :
+ function( editor )
+ {
+ try
+ {
+ if ( !editor.document.getBody().fire( 'beforepaste' )
+ && !editor.document.$.execCommand( 'Paste', false, null ) )
+ {
+ throw 0;
+ }
+ }
+ catch ( e )
+ {
+ setTimeout( function()
+ {
+ editor.fire( 'pasteDialog' );
+ }, 0 );
+ return false;
+ }
+ }
+ };
+
+ // Listens for some clipboard related keystrokes, so they get customized.
+ var onKey = function( event )
+ {
+ if ( this.mode != 'wysiwyg' )
+ return;
+
+ switch ( event.data.keyCode )
+ {
+ // Paste
+ case CKEDITOR.CTRL + 86 : // CTRL+V
+ case CKEDITOR.SHIFT + 45 : // SHIFT+INS
+
+ var body = this.document.getBody();
+
+ // Simulate 'beforepaste' event for all none-IEs.
+ if ( !CKEDITOR.env.ie && body.fire( 'beforepaste' ) )
+ event.cancel();
+ // Simulate 'paste' event for Opera/Firefox2.
+ else if ( CKEDITOR.env.opera
+ || CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
+ body.fire( 'paste' );
+ return;
+
+ // Cut
+ case CKEDITOR.CTRL + 88 : // CTRL+X
+ case CKEDITOR.SHIFT + 46 : // SHIFT+DEL
+
+ // Save Undo snapshot.
+ var editor = this;
+ this.fire( 'saveSnapshot' ); // Save before paste
+ setTimeout( function()
+ {
+ editor.fire( 'saveSnapshot' ); // Save after paste
+ }, 0 );
+ }
+ };
+
+ // Allow to peek clipboard content by redirecting the
+ // pasting content into a temporary bin and grab the content of it.
+ function getClipboardData( evt, mode, callback )
+ {
+ var doc = this.document;
+
+ // Avoid recursions on 'paste' event for IE.
+ if ( CKEDITOR.env.ie && doc.getById( 'cke_pastebin' ) )
+ return;
+
+ // If the browser supports it, get the data directly
+ if (mode == 'text' && evt.data && evt.data.$.clipboardData)
+ {
+ // evt.data.$.clipboardData.types contains all the flavours in Mac's Safari, but not on windows.
+ var plain = evt.data.$.clipboardData.getData( 'text/plain' );
+ if (plain)
+ {
+ evt.data.preventDefault();
+ callback( plain );
+ return;
+ }
+ }
+
+ var sel = this.getSelection(),
+ range = new CKEDITOR.dom.range( doc );
+
+ // Create container to paste into
+ var pastebin = new CKEDITOR.dom.element( mode == 'text' ? 'textarea' : CKEDITOR.env.webkit ? 'body' : 'div', doc );
+ pastebin.setAttribute( 'id', 'cke_pastebin' );
+ // Safari requires a filler node inside the div to have the content pasted into it. (#4882)
+ CKEDITOR.env.webkit && pastebin.append( doc.createText( '\xa0' ) );
+ doc.getBody().append( pastebin );
+
+ pastebin.setStyles(
+ {
+ position : 'absolute',
+ // Position the bin exactly at the position of the selected element
+ // to avoid any subsequent document scroll.
+ top : sel.getStartElement().getDocumentPosition().y + 'px',
+ width : '1px',
+ height : '1px',
+ overflow : 'hidden'
+ });
+
+ // It's definitely a better user experience if we make the paste-bin pretty unnoticed
+ // by pulling it off the screen.
+ pastebin.setStyle( this.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-1000px' );
+
+ var bms = sel.createBookmarks();
+
+ // Turn off design mode temporarily before give focus to the paste bin.
+ if ( mode == 'text' )
+ {
+ if ( CKEDITOR.env.ie )
+ {
+ var ieRange = doc.getBody().$.createTextRange();
+ ieRange.moveToElementText( pastebin.$ );
+ ieRange.execCommand( 'Paste' );
+ evt.data.preventDefault();
+ }
+ else
+ {
+ doc.$.designMode = 'off';
+ pastebin.$.focus();
+ }
+ }
+ else
+ {
+ range.setStartAt( pastebin, CKEDITOR.POSITION_AFTER_START );
+ range.setEndAt( pastebin, CKEDITOR.POSITION_BEFORE_END );
+ range.select( true );
+ }
+
+ // Wait a while and grab the pasted contents
+ window.setTimeout( function()
+ {
+ mode == 'text' && !CKEDITOR.env.ie && ( doc.$.designMode = 'on' );
+ pastebin.remove();
+
+ // Grab the HTML contents.
+ // We need to look for a apple style wrapper on webkit it also adds
+ // a div wrapper if you copy/paste the body of the editor.
+ // Remove hidden div and restore selection.
+ var bogusSpan;
+ pastebin = ( CKEDITOR.env.webkit
+ && ( bogusSpan = pastebin.getFirst() )
+ && ( bogusSpan.is && bogusSpan.hasClass( 'Apple-style-span' ) ) ?
+ bogusSpan : pastebin );
+
+ sel.selectBookmarks( bms );
+ callback( pastebin[ 'get' + ( mode == 'text' ? 'Value' : 'Html' ) ]() );
+ }, 0 );
+ }
+
+ // Cutting off control type element in IE standards breaks the selection entirely. (#4881)
+ function fixCut( editor )
+ {
+ if ( !CKEDITOR.env.ie || editor.document.$.compatMode == 'BackCompat' )
+ return;
+
+ var sel = editor.getSelection();
+ var control;
+ if( ( sel.getType() == CKEDITOR.SELECTION_ELEMENT ) && ( control = sel.getSelectedElement() ) )
+ {
+ var range = sel.getRanges()[ 0 ];
+ var dummy = editor.document.createText( '' );
+ dummy.insertBefore( control );
+ range.setStartBefore( dummy );
+ range.setEndAfter( control );
+ sel.selectRanges( [ range ] );
+
+ // Clear up the fix if the paste wasn't succeeded.
+ setTimeout( function()
+ {
+ // Element still online?
+ if ( control.getParent() )
+ {
+ dummy.remove();
+ sel.selectElement( control );
+ }
+ }, 0 );
+ }
+ }
+
+ // Register the plugin.
+ CKEDITOR.plugins.add( 'clipboard',
+ {
+ requires : [ 'dialog', 'htmldataprocessor' ],
+ init : function( editor )
+ {
+ // Inserts processed data into the editor at the end of the
+ // events chain.
+ editor.on( 'paste', function( evt )
+ {
+ var data = evt.data;
+ if ( data[ 'html' ] )
+ editor.insertHtml( data[ 'html' ] );
+ else if ( data[ 'text' ] )
+ editor.insertText( data[ 'text' ] );
+
+ }, null, null, 1000 );
+
+ editor.on( 'pasteDialog', function( evt )
+ {
+ setTimeout( function()
+ {
+ // Open default paste dialog.
+ editor.openDialog( 'paste' );
+ }, 0 );
+ });
+
+ function addButtonCommand( buttonName, commandName, command, ctxMenuOrder )
+ {
+ var lang = editor.lang[ commandName ];
+
+ editor.addCommand( commandName, command );
+ editor.ui.addButton( buttonName,
+ {
+ label : lang,
+ command : commandName
+ });
+
+ // If the "menu" plugin is loaded, register the menu item.
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItem( commandName,
+ {
+ label : lang,
+ command : commandName,
+ group : 'clipboard',
+ order : ctxMenuOrder
+ });
+ }
+ }
+
+ addButtonCommand( 'Cut', 'cut', new cutCopyCmd( 'cut' ), 1 );
+ addButtonCommand( 'Copy', 'copy', new cutCopyCmd( 'copy' ), 4 );
+ addButtonCommand( 'Paste', 'paste', pasteCmd, 8 );
+
+ CKEDITOR.dialog.add( 'paste', CKEDITOR.getUrl( this.path + 'dialogs/paste.js' ) );
+
+ editor.on( 'key', onKey, editor );
+
+ var mode = editor.config.forcePasteAsPlainText ? 'text' : 'html';
+
+ // We'll be catching all pasted content in one line, regardless of whether the
+ // it's introduced by a document command execution (e.g. toolbar buttons) or
+ // user paste behaviors. (e.g. Ctrl-V)
+ editor.on( 'contentDom', function()
+ {
+ var body = editor.document.getBody();
+ body.on( ( (mode == 'text' && CKEDITOR.env.ie) || CKEDITOR.env.webkit ) ? 'paste' : 'beforepaste',
+ function( evt )
+ {
+ if ( depressBeforeEvent )
+ return;
+
+ getClipboardData.call( editor, evt, mode, function ( data )
+ {
+ // The very last guard to make sure the
+ // paste has successfully happened.
+ if ( !data )
+ return;
+
+ var dataTransfer = {};
+ dataTransfer[ mode ] = data;
+ editor.fire( 'paste', dataTransfer );
+ } );
+ });
+
+ body.on( 'beforecut', function() { !depressBeforeEvent && fixCut( editor ); } );
+ });
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ var depressBeforeEvent;
+ function stateFromNamedCommand( command )
+ {
+ // IE Bug: queryCommandEnabled('paste') fires also 'beforepaste(copy/cut)',
+ // guard to distinguish from the ordinary sources( either
+ // keyboard paste or execCommand ) (#4874).
+ CKEDITOR.env.ie && ( depressBeforeEvent = 1 );
+
+ var retval = editor.document.$.queryCommandEnabled( command ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED;
+ depressBeforeEvent = 0;
+ return retval;
+ }
+
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ var readOnly = selection.getCommonAncestor().isReadOnly();
+ return {
+ cut : !readOnly && stateFromNamedCommand( 'Cut' ),
+ copy : stateFromNamedCommand( 'Copy' ),
+ paste : !readOnly && ( CKEDITOR.env.webkit ? CKEDITOR.TRISTATE_OFF : stateFromNamedCommand( 'Paste' ) )
+ };
+ });
+ }
+ }
+ });
+})();
+
+/**
+ * Fired when a clipboard operation is about to be taken into the editor.
+ * Listeners can manipulate the data to be pasted before having it effectively
+ * inserted into the document.
+ * @name CKEDITOR.editor#paste
+ * @since 3.1
+ * @event
+ * @param {String} [data.html] The HTML data to be pasted. If not available, e.data.text will be defined.
+ * @param {String} [data.text] The plain text data to be pasted, available when plain text operations are to used. If not available, e.data.html will be defined.
+ */
diff --git a/devel/third-party/ckeditor/plugins/colorbutton/plugin.js b/devel/third-party/ckeditor/plugins/colorbutton/plugin.js
new file mode 100644
index 0000000..305c44d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/colorbutton/plugin.js
@@ -0,0 +1,251 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'colorbutton',
+{
+ requires : [ 'panelbutton', 'floatpanel', 'styles' ],
+
+ init : function( editor )
+ {
+ var config = editor.config,
+ lang = editor.lang.colorButton;
+
+ var clickFn;
+
+ if ( !CKEDITOR.env.hc )
+ {
+ addButton( 'TextColor', 'fore', lang.textColorTitle );
+ addButton( 'BGColor', 'back', lang.bgColorTitle );
+ }
+
+ function addButton( name, type, title )
+ {
+ editor.ui.add( name, CKEDITOR.UI_PANELBUTTON,
+ {
+ label : title,
+ title : title,
+ className : 'cke_button_' + name.toLowerCase(),
+ modes : { wysiwyg : 1 },
+
+ panel :
+ {
+ css : editor.skin.editor.css,
+ attributes : { role : 'listbox', 'aria-label' : lang.panelTitle }
+ },
+
+ onBlock : function( panel, block )
+ {
+ block.autoSize = true;
+ block.element.addClass( 'cke_colorblock' );
+ block.element.setHtml( renderColors( panel, type ) );
+ // The block should not have scrollbars (#5933, #6056)
+ block.element.getDocument().getBody().setStyle( 'overflow', 'hidden' );
+
+ var keys = block.keys;
+ var rtl = editor.lang.dir == 'rtl';
+ keys[ rtl ? 37 : 39 ] = 'next'; // ARROW-RIGHT
+ keys[ 40 ] = 'next'; // ARROW-DOWN
+ keys[ 9 ] = 'next'; // TAB
+ keys[ rtl ? 39 : 37 ] = 'prev'; // ARROW-LEFT
+ keys[ 38 ] = 'prev'; // ARROW-UP
+ keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB
+ keys[ 32 ] = 'click'; // SPACE
+ }
+ });
+ }
+
+
+ function renderColors( panel, type )
+ {
+ var output = [],
+ colors = config.colorButton_colors.split( ',' ),
+ total = colors.length + ( config.colorButton_enableMore ? 2 : 1 );
+
+ var clickFn = CKEDITOR.tools.addFunction( function( color, type )
+ {
+ if ( color == '?' )
+ {
+ var applyColorStyle = arguments.callee;
+ function onColorDialogClose( evt )
+ {
+ this.removeListener( 'ok', onColorDialogClose );
+ this.removeListener( 'cancel', onColorDialogClose );
+
+ evt.name == 'ok' && applyColorStyle( this.getContentElement( 'picker', 'selectedColor' ).getValue(), type );
+ }
+
+ editor.openDialog( 'colordialog', function()
+ {
+ this.on( 'ok', onColorDialogClose );
+ this.on( 'cancel', onColorDialogClose );
+ } );
+
+ return;
+ }
+
+ editor.focus();
+
+ panel.hide();
+
+
+ editor.fire( 'saveSnapshot' );
+
+ // Clean up any conflicting style within the range.
+ new CKEDITOR.style( config['colorButton_' + type + 'Style'], { color : 'inherit' } ).remove( editor.document );
+
+ if ( color )
+ {
+ var colorStyle = config['colorButton_' + type + 'Style'];
+
+ colorStyle.childRule = type == 'back' ?
+ // It's better to apply background color as the innermost style. (#3599)
+ function(){ return false; } :
+ // Fore color style must be applied inside links instead of around it.
+ function( element ){ return element.getName() != 'a'; };
+
+ new CKEDITOR.style( colorStyle, { color : color } ).apply( editor.document );
+ }
+
+ editor.fire( 'saveSnapshot' );
+ });
+
+ // Render the "Automatic" button.
+ output.push(
+ '<a class="cke_colorauto" _cke_focus=1 hidefocus=true' +
+ ' title="', lang.auto, '"' +
+ ' onclick="CKEDITOR.tools.callFunction(', clickFn, ',null,\'', type, '\');return false;"' +
+ ' href="javascript:void(\'', lang.auto, '\')"' +
+ ' role="option" aria-posinset="1" aria-setsize="', total, '">' +
+ '<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' +
+ '<tr>' +
+ '<td>' +
+ '<span class="cke_colorbox" style="background-color:#000"></span>' +
+ '</td>' +
+ '<td colspan=7 align=center>',
+ lang.auto,
+ '</td>' +
+ '</tr>' +
+ '</table>' +
+ '</a>' +
+ '<table role="presentation" cellspacing=0 cellpadding=0 width="100%">' );
+
+ // Render the color boxes.
+ for ( var i = 0 ; i < colors.length ; i++ )
+ {
+ if ( ( i % 8 ) === 0 )
+ output.push( '</tr><tr>' );
+
+ var parts = colors[ i ].split( '/' ),
+ colorName = parts[ 0 ],
+ colorCode = parts[ 1 ] || colorName;
+
+ // The data can be only a color code (without #) or colorName + color code
+ // If only a color code is provided, then the colorName is the color with the hash
+ // Convert the color from RGB to RRGGBB for better compatibility with IE and <font>. See #5676
+ if (!parts[1])
+ colorName = '#' + colorName.replace( /^(.)(.)(.)$/, '$1$1$2$2$3$3' );
+
+ var colorLabel = editor.lang.colors[ colorCode ] || colorCode;
+ output.push(
+ '<td>' +
+ '<a class="cke_colorbox" _cke_focus=1 hidefocus=true' +
+ ' title="', colorLabel, '"' +
+ ' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'', colorName, '\',\'', type, '\'); return false;"' +
+ ' href="javascript:void(\'', colorLabel, '\')"' +
+ ' role="option" aria-posinset="', ( i + 2 ), '" aria-setsize="', total, '">' +
+ '<span class="cke_colorbox" style="background-color:#', colorCode, '"></span>' +
+ '</a>' +
+ '</td>' );
+ }
+
+ // Render the "More Colors" button.
+ if ( config.colorButton_enableMore )
+ {
+ output.push(
+ '</tr>' +
+ '<tr>' +
+ '<td colspan=8 align=center>' +
+ '<a class="cke_colormore" _cke_focus=1 hidefocus=true' +
+ ' title="', lang.more, '"' +
+ ' onclick="CKEDITOR.tools.callFunction(', clickFn, ',\'?\',\'', type, '\');return false;"' +
+ ' href="javascript:void(\'', lang.more, '\')"',
+ ' role="option" aria-posinset="', total, '" aria-setsize="', total, '">',
+ lang.more,
+ '</a>' +
+ '</td>' ); // It is later in the code.
+ }
+
+ output.push( '</tr></table>' );
+
+ return output.join( '' );
+ }
+ }
+});
+
+/**
+ * Whether to enable the "More Colors..." button in the color selectors.
+ * @default false
+ * @type Boolean
+ * @example
+ * config.colorButton_enableMore = false;
+ */
+CKEDITOR.config.colorButton_enableMore = true;
+
+/**
+ * Defines the colors to be displayed in the color selectors. It's a string
+ * containing the hexadecimal notation for HTML colors, without the "#" prefix.
+ *
+ * Since 3.3: A name may be optionally defined by prefixing the entries with the
+ * name and the slash character. For example, "FontColor1/FF9900" will be
+ * displayed as the color #FF9900 in the selector, but will be outputted as "FontColor1".
+ * @type String
+ * @default '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'
+ * @example
+ * // Brazil colors only.
+ * config.colorButton_colors = '00923E,F8C100,28166F';
+ * @example
+ * config.colorButton_colors = 'FontColor1/FF9900,FontColor2/0066CC,FontColor3/F00'
+ */
+CKEDITOR.config.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';
+
+/**
+ * Holds the style definition to be used to apply the text foreground color.
+ * @type Object
+ * @example
+ * // This is basically the default setting value.
+ * config.colorButton_foreStyle =
+ * {
+ * element : 'span',
+ * styles : { 'color' : '#(color)' }
+ * };
+ */
+CKEDITOR.config.colorButton_foreStyle =
+ {
+ element : 'span',
+ styles : { 'color' : '#(color)' },
+ overrides : [ { element : 'font', attributes : { 'color' : null } } ]
+ };
+
+/**
+ * Holds the style definition to be used to apply the text background color.
+ * @type Object
+ * @example
+ * // This is basically the default setting value.
+ * config.colorButton_backStyle =
+ * {
+ * element : 'span',
+ * styles : { 'background-color' : '#(color)' }
+ * };
+ */
+CKEDITOR.config.colorButton_backStyle =
+ {
+ element : 'span',
+ styles : { 'background-color' : '#(color)' }
+ };
diff --git a/devel/third-party/ckeditor/plugins/colordialog/dialogs/colordialog.js b/devel/third-party/ckeditor/plugins/colordialog/dialogs/colordialog.js
new file mode 100644
index 0000000..4454d19
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/colordialog/dialogs/colordialog.js
@@ -0,0 +1,340 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'colordialog', function( editor )
+ {
+ // Define some shorthands.
+ var $el = CKEDITOR.dom.element,
+ $doc = CKEDITOR.document,
+ $tools = CKEDITOR.tools,
+ lang = editor.lang.colordialog;
+
+ // Reference the dialog.
+ var dialog;
+
+ function spacer()
+ {
+ return {
+ type : 'html',
+ html : ' '
+ };
+ }
+
+ function clearSelected()
+ {
+ $doc.getById( selHiColorId ).removeStyle( 'background-color' );
+ dialog.getContentElement( 'picker', 'selectedColor' ).setValue( '' );
+ }
+
+ function updateSelected( evt )
+ {
+ if ( ! (evt instanceof CKEDITOR.dom.event ) )
+ evt = new CKEDITOR.dom.event( evt );
+
+ var target = evt.getTarget(),
+ color;
+
+ if ( target.getName() == 'a' && ( color = target.getChild( 0 ).getHtml() ) )
+ dialog.getContentElement( 'picker', 'selectedColor' ).setValue( color );
+ }
+
+ function updateHighlight( event )
+ {
+ if ( ! (event instanceof CKEDITOR.dom.event ) )
+ event = event.data;
+
+ var target = event.getTarget(),
+ color;
+
+ if ( target.getName() == 'a' && ( color = target.getChild( 0 ).getHtml() ) )
+ {
+ $doc.getById( hicolorId ).setStyle( 'background-color', color );
+ $doc.getById( hicolorTextId ).setHtml( color );
+ }
+ }
+
+ function clearHighlight()
+ {
+ $doc.getById( hicolorId ).removeStyle( 'background-color' );
+ $doc.getById( hicolorTextId ).setHtml( ' ' );
+ }
+
+ var onMouseout = $tools.addFunction( clearHighlight );
+
+ var onClick = updateSelected,
+ onClickHandler = CKEDITOR.tools.addFunction( onClick );
+
+ var onFocus = updateHighlight,
+ onBlur = clearHighlight;
+
+ var onKeydownHandler = CKEDITOR.tools.addFunction( function( ev )
+ {
+ ev = new CKEDITOR.dom.event( ev );
+ var element = ev.getTarget();
+ var relative, nodeToMove;
+ var keystroke = ev.getKeystroke();
+ var rtl = editor.lang.dir == 'rtl';
+
+ switch ( keystroke )
+ {
+ // UP-ARROW
+ case 38 :
+ // relative is TR
+ if ( ( relative = element.getParent().getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
+ nodeToMove.focus();
+ onBlur( ev, element );
+ onFocus( ev, nodeToMove );
+ }
+ ev.preventDefault();
+ break;
+ // DOWN-ARROW
+ case 40 :
+ // relative is TR
+ if ( ( relative = element.getParent().getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
+ if ( nodeToMove && nodeToMove.type == 1 )
+ {
+ nodeToMove.focus();
+ onBlur( ev, element );
+ onFocus( ev, nodeToMove );
+ }
+ }
+ ev.preventDefault();
+ break;
+ // SPACE
+ // ENTER is already handled as onClick
+ case 32 :
+ onClick( ev );
+ ev.preventDefault();
+ break;
+
+ // RIGHT-ARROW
+ case rtl ? 37 : 39 :
+ // relative is TD
+ if ( ( relative = element.getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( 0 );
+ if ( nodeToMove.type == 1 )
+ {
+ nodeToMove.focus();
+ onBlur( ev, element );
+ onFocus( ev, nodeToMove );
+ ev.preventDefault( true );
+ }
+ else
+ onBlur( null, element );
+ }
+ // relative is TR
+ else if ( ( relative = element.getParent().getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( [ 0, 0 ] );
+ if ( nodeToMove && nodeToMove.type == 1 )
+ {
+ nodeToMove.focus();
+ onBlur( ev, element );
+ onFocus( ev, nodeToMove );
+ ev.preventDefault( true );
+ }
+ else
+ onBlur( null, element );
+ }
+ break;
+
+ // LEFT-ARROW
+ case rtl ? 39 : 37 :
+ // relative is TD
+ if ( ( relative = element.getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getChild( 0 );
+ nodeToMove.focus();
+ onBlur( ev, element );
+ onFocus( ev, nodeToMove );
+ ev.preventDefault( true );
+ }
+ // relative is TR
+ else if ( ( relative = element.getParent().getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getLast().getChild( 0 );
+ nodeToMove.focus();
+ onBlur( ev, element );
+ onFocus( ev, nodeToMove );
+ ev.preventDefault( true );
+ }
+ else
+ onBlur( null, element );
+ break;
+ default :
+ // Do not stop not handled events.
+ return;
+ }
+ });
+
+ function createColorTable()
+ {
+ // Create the base colors array.
+ var aColors = ['00','33','66','99','cc','ff'];
+
+ // This function combines two ranges of three values from the color array into a row.
+ function appendColorRow( rangeA, rangeB )
+ {
+ for ( var i = rangeA ; i < rangeA + 3 ; i++ )
+ {
+ var row = table.$.insertRow(-1);
+
+ for ( var j = rangeB ; j < rangeB + 3 ; j++ )
+ {
+ for ( var n = 0 ; n < 6 ; n++ )
+ {
+ appendColorCell( row, '#' + aColors[j] + aColors[n] + aColors[i] );
+ }
+ }
+ }
+ }
+
+ // This function create a single color cell in the color table.
+ function appendColorCell( targetRow, color )
+ {
+ var cell = new $el( targetRow.insertCell( -1 ) );
+ cell.setAttribute( 'class', 'ColorCell' );
+ cell.setStyle( 'background-color', color );
+
+ cell.setStyle( 'width', '15px' );
+ cell.setStyle( 'height', '15px' );
+
+ var index = cell.$.cellIndex + 1 + 18 * targetRow.rowIndex;
+ cell.append( CKEDITOR.dom.element.createFromHtml(
+ '<a href="javascript: void(0);" role="option"' +
+ ' aria-posinset="' + index + '"' +
+ ' aria-setsize="' + 13 * 18 + '"' +
+ ' style="cursor: pointer;display:block;width:100%;height:100% " title="'+ CKEDITOR.tools.htmlEncode( color )+ '"' +
+ ' onkeydown="CKEDITOR.tools.callFunction( ' + onKeydownHandler + ', event, this )"' +
+ ' onclick="CKEDITOR.tools.callFunction(' + onClickHandler + ', event, this ); return false;"' +
+ ' tabindex="-1"><span class="cke_voice_label">' + color + '</span> </a>', CKEDITOR.document ) );
+ }
+
+ appendColorRow( 0, 0 );
+ appendColorRow( 3, 0 );
+ appendColorRow( 0, 3 );
+ appendColorRow( 3, 3 );
+
+ // Create the last row.
+ var oRow = table.$.insertRow(-1) ;
+
+ // Create the gray scale colors cells.
+ for ( var n = 0 ; n < 6 ; n++ )
+ {
+ appendColorCell( oRow, '#' + aColors[n] + aColors[n] + aColors[n] ) ;
+ }
+
+ // Fill the row with black cells.
+ for ( var i = 0 ; i < 12 ; i++ )
+ {
+ appendColorCell( oRow, '#000000' ) ;
+ }
+ }
+
+ var table = new $el( 'table' );
+ createColorTable();
+
+ var numbering = function( id )
+ {
+ return CKEDITOR.tools.getNextId() + '_' + id;
+ },
+ hicolorId = numbering( 'hicolor' ),
+ hicolorTextId = numbering( 'hicolortext' ),
+ selHiColorId = numbering( 'selhicolor' ),
+ tableLabelId = numbering( 'color_table_label' );
+
+ return {
+ title : lang.title,
+ minWidth : 360,
+ minHeight : 220,
+ onLoad : function()
+ {
+ // Update reference.
+ dialog = this;
+ },
+ contents : [
+ {
+ id : 'picker',
+ label : lang.title,
+ accessKey : 'I',
+ elements :
+ [
+ {
+ type : 'hbox',
+ padding : 0,
+ widths : [ '70%', '10%', '30%' ],
+ children :
+ [
+ {
+ type : 'html',
+ html : '<table role="listbox" aria-labelledby="' + tableLabelId + '" onmouseout="CKEDITOR.tools.callFunction( ' + onMouseout + ' );">' + table.getHtml() + '</table>' +
+ '<span id="' + tableLabelId + '" class="cke_voice_label">' + lang.options +'</span>',
+ onLoad : function()
+ {
+ var table = CKEDITOR.document.getById( this.domId );
+ table.on( 'mouseover', updateHighlight );
+ },
+ focus: function()
+ {
+ var firstColor = this.getElement().getElementsByTag( 'a' ).getItem( 0 );
+ firstColor.focus();
+ }
+ },
+ spacer(),
+ {
+ type : 'vbox',
+ padding : 0,
+ widths : [ '70%', '5%', '25%' ],
+ children :
+ [
+ {
+ type : 'html',
+ html : '<span>' + lang.highlight +'</span>\
+ <div id="' + hicolorId + '" style="border: 1px solid; height: 74px; width: 74px;"></div>\
+ <div id="' + hicolorTextId + '"> </div><span>' + lang.selected + '</span>\
+ <div id="' + selHiColorId + '" style="border: 1px solid; height: 20px; width: 74px;"></div>'
+ },
+ {
+ type : 'text',
+ label : lang.selected,
+ labelStyle: 'display:none',
+ id : 'selectedColor',
+ style : 'width: 74px',
+ onChange : function()
+ {
+ // Try to update color preview with new value. If fails, then set it no none.
+ try
+ {
+ $doc.getById( selHiColorId ).setStyle( 'background-color', this.getValue() );
+ }
+ catch ( e )
+ {
+ clearSelected();
+ }
+ }
+ },
+ spacer(),
+ {
+ type : 'button',
+ id : 'clear',
+ style : 'margin-top: 5px',
+ label : lang.clear,
+ onClick : clearSelected
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ };
+ }
+ );
diff --git a/devel/third-party/ckeditor/plugins/colordialog/plugin.js b/devel/third-party/ckeditor/plugins/colordialog/plugin.js
new file mode 100644
index 0000000..7006d68
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/colordialog/plugin.js
@@ -0,0 +1,13 @@
+( function()
+{
+ CKEDITOR.plugins.colordialog =
+ {
+ init : function( editor )
+ {
+ editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) );
+ CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' );
+ }
+ };
+
+ CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog );
+} )();
diff --git a/devel/third-party/ckeditor/plugins/contextmenu/plugin.js b/devel/third-party/ckeditor/plugins/contextmenu/plugin.js
new file mode 100644
index 0000000..b009dee
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/contextmenu/plugin.js
@@ -0,0 +1,276 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'contextmenu',
+{
+ requires : [ 'menu' ],
+
+ beforeInit : function( editor )
+ {
+ editor.contextMenu = new CKEDITOR.plugins.contextMenu( editor );
+
+ editor.addCommand( 'contextMenu',
+ {
+ exec : function()
+ {
+ editor.contextMenu.show( editor.document.getBody() );
+ }
+ });
+ }
+});
+
+CKEDITOR.plugins.contextMenu = CKEDITOR.tools.createClass(
+{
+ $ : function( editor )
+ {
+ this.id = 'cke_' + CKEDITOR.tools.getNextNumber();
+ this.editor = editor;
+ this._.listeners = [];
+ this._.functionId = CKEDITOR.tools.addFunction( function( commandName )
+ {
+ this._.panel.hide();
+ editor.focus();
+ editor.execCommand( commandName );
+ },
+ this);
+
+ this.definition =
+ {
+ panel:
+ {
+ className : editor.skinClass + ' cke_contextmenu',
+ attributes :
+ {
+ 'aria-label' : editor.lang.contextmenu.options
+ }
+ }
+ };
+ },
+
+ _ :
+ {
+ onMenu : function( offsetParent, corner, offsetX, offsetY )
+ {
+ var menu = this._.menu,
+ editor = this.editor;
+
+ if ( menu )
+ {
+ menu.hide();
+ menu.removeAll();
+ }
+ else
+ {
+ menu = this._.menu = new CKEDITOR.menu( editor, this.definition );
+ menu.onClick = CKEDITOR.tools.bind( function( item )
+ {
+ menu.hide();
+
+ if ( item.onClick )
+ item.onClick();
+ else if ( item.command )
+ editor.execCommand( item.command );
+
+ }, this );
+
+ menu.onEscape = function( keystroke )
+ {
+ var parent = this.parent;
+ // 1. If it's sub-menu, restore the last focused item
+ // of upper level menu.
+ // 2. In case of a top-menu, close it.
+ if ( parent )
+ {
+ parent._.panel.hideChild();
+ // Restore parent block item focus.
+ var parentBlock = parent._.panel._.panel._.currentBlock,
+ parentFocusIndex = parentBlock._.focusIndex;
+ parentBlock._.markItem( parentFocusIndex );
+ }
+ else if ( keystroke == 27 )
+ {
+ this.hide();
+ editor.focus();
+ }
+ return false;
+ };
+ }
+
+ var listeners = this._.listeners,
+ includedItems = [];
+
+ var selection = this.editor.getSelection(),
+ element = selection && selection.getStartElement();
+
+ menu.onHide = CKEDITOR.tools.bind( function()
+ {
+ menu.onHide = null;
+
+ if ( CKEDITOR.env.ie )
+ {
+ var selection = editor.getSelection();
+ selection && selection.unlock();
+ }
+
+ this.onHide && this.onHide();
+ },
+ this );
+
+ // Call all listeners, filling the list of items to be displayed.
+ for ( var i = 0 ; i < listeners.length ; i++ )
+ {
+ var listenerItems = listeners[ i ]( element, selection );
+
+ if ( listenerItems )
+ {
+ for ( var itemName in listenerItems )
+ {
+ var item = this.editor.getMenuItem( itemName );
+
+ if ( item )
+ {
+ item.state = listenerItems[ itemName ];
+ menu.add( item );
+ }
+ }
+ }
+ }
+
+ // Don't show context menu with zero items.
+ menu.items.length && menu.show( offsetParent, corner || ( editor.lang.dir == 'rtl' ? 2 : 1 ), offsetX, offsetY );
+ }
+ },
+
+ proto :
+ {
+ addTarget : function( element, nativeContextMenuOnCtrl )
+ {
+ // Opera doesn't support 'contextmenu' event, we have duo approaches employed here:
+ // 1. Inherit the 'button override' hack we introduced in v2 (#4530), while this require the Opera browser
+ // option 'Allow script to detect context menu/right click events' to be always turned on.
+ // 2. Considering the fact that ctrl/meta key is not been occupied
+ // for multiple range selecting (like Gecko), we use this key
+ // combination as a fallback for triggering context-menu. (#4530)
+ if ( CKEDITOR.env.opera )
+ {
+ var contextMenuOverrideButton;
+ element.on( 'mousedown', function( evt )
+ {
+ evt = evt.data;
+ if ( evt.$.button != 2 )
+ {
+ if ( evt.getKeystroke() == CKEDITOR.CTRL + 1 )
+ element.fire( 'contextmenu', evt );
+ return;
+ }
+
+ if ( nativeContextMenuOnCtrl
+ && ( CKEDITOR.env.mac ? evt.$.metaKey : evt.$.ctrlKey ) )
+ return;
+
+ var target = evt.getTarget();
+
+ if ( !contextMenuOverrideButton )
+ {
+ var ownerDoc = target.getDocument();
+ contextMenuOverrideButton = ownerDoc.createElement( 'input' ) ;
+ contextMenuOverrideButton.$.type = 'button' ;
+ ownerDoc.getBody().append( contextMenuOverrideButton ) ;
+ }
+
+ contextMenuOverrideButton.setAttribute( 'style', 'position:absolute;top:' + ( evt.$.clientY - 2 ) +
+ 'px;left:' + ( evt.$.clientX - 2 ) +
+ 'px;width:5px;height:5px;opacity:0.01' );
+
+ } );
+
+ element.on( 'mouseup', function ( evt )
+ {
+ if ( contextMenuOverrideButton )
+ {
+ contextMenuOverrideButton.remove();
+ contextMenuOverrideButton = undefined;
+ // Simulate 'contextmenu' event.
+ element.fire( 'contextmenu', evt.data );
+ }
+ } );
+ }
+
+ element.on( 'contextmenu', function( event )
+ {
+ var domEvent = event.data;
+
+ if ( nativeContextMenuOnCtrl &&
+ // Safari on Windows always show 'ctrlKey' as true in 'contextmenu' event,
+ // which make this property unreliable. (#4826)
+ ( CKEDITOR.env.webkit ? holdCtrlKey : ( CKEDITOR.env.mac ? domEvent.$.metaKey : domEvent.$.ctrlKey ) ) )
+ return;
+
+
+ // Cancel the browser context menu.
+ domEvent.preventDefault();
+
+ var offsetParent = domEvent.getTarget().getDocument().getDocumentElement(),
+ offsetX = domEvent.$.clientX,
+ offsetY = domEvent.$.clientY;
+
+ CKEDITOR.tools.setTimeout( function()
+ {
+ this.show( offsetParent, null, offsetX, offsetY );
+ },
+ 0, this );
+ },
+ this );
+
+ if ( CKEDITOR.env.webkit )
+ {
+ var holdCtrlKey,
+ onKeyDown = function( event )
+ {
+ holdCtrlKey = CKEDITOR.env.mac ? event.data.$.metaKey : event.data.$.ctrlKey ;
+ },
+ resetOnKeyUp = function()
+ {
+ holdCtrlKey = 0;
+ };
+
+ element.on( 'keydown', onKeyDown );
+ element.on( 'keyup', resetOnKeyUp );
+ element.on( 'contextmenu', resetOnKeyUp );
+ }
+ },
+
+ addListener : function( listenerFn )
+ {
+ this._.listeners.push( listenerFn );
+ },
+
+ show : function( offsetParent, corner, offsetX, offsetY )
+ {
+ this.editor.focus();
+
+ // Selection will be unavailable after context menu shows up
+ // in IE, lock it now.
+ if ( CKEDITOR.env.ie )
+ {
+ var selection = this.editor.getSelection();
+ selection && selection.lock();
+ }
+
+ this._.onMenu( offsetParent || CKEDITOR.document.getDocumentElement(), corner, offsetX || 0, offsetY || 0 );
+ }
+ }
+});
+
+/**
+ * Whether to show the browser native context menu when the CTRL or the
+ * META (Mac) key is pressed while opening the context menu.
+ * @name CKEDITOR.config.browserContextMenuOnCtrl
+ * @since 3.0.2
+ * @type Boolean
+ * @default true
+ * @example
+ * config.browserContextMenuOnCtrl = false;
+ */
diff --git a/devel/third-party/ckeditor/plugins/dialog/dialogDefinition.js b/devel/third-party/ckeditor/plugins/dialog/dialogDefinition.js
new file mode 100644
index 0000000..a3094f6
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/dialog/dialogDefinition.js
@@ -0,0 +1,315 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Defines the "virtual" dialog, dialog content and dialog button
+ * definition classes.
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialogs.
+ * @name CKEDITOR.dialog.dialogDefinition
+ * @constructor
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ *
+ * CKEDITOR.dialog.add( 'testOnly', function( editor )
+ * {
+ * return {
+ * title : 'Test Dialog',
+ * resizable : CKEDITOR.DIALOG_RESIZE_BOTH,
+ * minWidth : 500,
+ * minHeight : 400,
+ * contents : [
+ * {
+ * id : 'tab1',
+ * label : 'First Tab',
+ * title : 'First Tab Title',
+ * accessKey : 'Q',
+ * elements : [
+ * {
+ * type : 'text',
+ * label : 'Test Text 1',
+ * id : 'testText1',
+ * 'default' : 'hello world!'
+ * }
+ * ]
+ * }
+ * ]
+ * };
+ * });
+ */
+
+/**
+ * The dialog title, displayed in the dialog's header. Required.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.title
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * How the dialog can be resized, must be one of the four contents defined below.
+ * <br /><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_NONE</strong><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_WIDTH</strong><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_HEIGHT</strong><br />
+ * <strong>CKEDITOR.DIALOG_RESIZE_BOTH</strong><br />
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.resizable
+ * @field
+ * @type Number
+ * @default CKEDITOR.DIALOG_RESIZE_NONE
+ * @example
+ */
+
+/**
+ * The minimum width of the dialog, in pixels.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.minWidth
+ * @field
+ * @type Number
+ * @default 600
+ * @example
+ */
+
+/**
+ * The minimum height of the dialog, in pixels.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.minHeight
+ * @field
+ * @type Number
+ * @default 400
+ * @example
+ */
+
+/**
+ * The buttons in the dialog, defined as an array of
+ * {@link CKEDITOR.dialog.buttonDefinition} objects.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.buttons
+ * @field
+ * @type Array
+ * @default [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
+ * @example
+ */
+
+/**
+ * The contents in the dialog, defined as an array of
+ * {@link CKEDITOR.dialog.contentDefinition} objects. Required.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.contents
+ * @field
+ * @type Array
+ * @example
+ */
+
+/**
+ * The function to execute when OK is pressed.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.onOk
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * The function to execute when Cancel is pressed.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.onCancel
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * The function to execute when the dialog is displayed for the first time.
+ * @name CKEDITOR.dialog.dialogDefinition.prototype.onLoad
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialog content pages.
+ * @name CKEDITOR.dialog.contentDefinition
+ * @constructor
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ */
+
+/**
+ * The id of the content page.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.id
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The tab label of the content page.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.label
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The popup message of the tab label.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.title
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The CTRL hotkey for switching to the tab.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.accessKey
+ * @field
+ * @type String
+ * @example
+ * contentDefinition.accessKey = 'Q'; // Switch to this page when CTRL-Q is pressed.
+ */
+
+/**
+ * The UI elements contained in this content page, defined as an array of
+ * {@link CKEDITOR.dialog.uiElementDefinition} objects.
+ * @name CKEDITOR.dialog.contentDefinition.prototype.elements
+ * @field
+ * @type Array
+ * @example
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialog buttons.
+ * @name CKEDITOR.dialog.buttonDefinition
+ * @constructor
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ */
+
+/**
+ * The id of the dialog button. Required.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.id
+ * @type String
+ * @field
+ * @example
+ */
+
+/**
+ * The label of the dialog button. Required.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.label
+ * @type String
+ * @field
+ * @example
+ */
+
+/**
+ * The popup message of the dialog button.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.title
+ * @type String
+ * @field
+ * @example
+ */
+
+/**
+ * The CTRL hotkey for the button.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.accessKey
+ * @type String
+ * @field
+ * @example
+ * exitButton.accessKey = 'X'; // Button will be pressed when user presses CTRL-X
+ */
+
+/**
+ * Whether the button is disabled.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.disabled
+ * @type Boolean
+ * @field
+ * @default false
+ * @example
+ */
+
+/**
+ * The function to execute when the button is clicked.
+ * @name CKEDITOR.dialog.buttonDefinition.prototype.onClick
+ * @type Function
+ * @field
+ * @example
+ */
+
+/**
+ * This class is not really part of the API. It just illustrates the properties
+ * that developers can use to define and create dialog UI elements.
+ * @name CKEDITOR.dialog.uiElementDefinition
+ * @constructor
+ * @see CKEDITOR.ui.dialog.uiElement
+ * @example
+ * // There is no constructor for this class, the user just has to define an
+ * // object with the appropriate properties.
+ */
+
+/**
+ * The id of the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.id
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The type of the UI element. Required.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.type
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * The popup label of the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.title
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * CSS class names to append to the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.className
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * Inline CSS classes to append to the UI element.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.style
+ * @field
+ * @type String
+ * @example
+ */
+
+/**
+ * Function to execute the first time the UI element is displayed.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.onLoad
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * Function to execute whenever the UI element's parent dialog is displayed.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.onShow
+ * @field
+ * @type Function
+ * @example
+ */
+
+/**
+ * Function to execute whenever the UI element's parent dialog is closed.
+ * @name CKEDITOR.dialog.uiElementDefinition.prototype.onHide
+ * @field
+ * @type Function
+ * @example
+ */
diff --git a/devel/third-party/ckeditor/plugins/dialog/plugin.js b/devel/third-party/ckeditor/plugins/dialog/plugin.js
new file mode 100644
index 0000000..d708616
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/dialog/plugin.js
@@ -0,0 +1,3016 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The floating dialog plugin.
+ */
+
+/**
+ * No resize for this dialog.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_NONE = 0;
+
+/**
+ * Only allow horizontal resizing for this dialog, disable vertical resizing.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_WIDTH = 1;
+
+/**
+ * Only allow vertical resizing for this dialog, disable horizontal resizing.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_HEIGHT = 2;
+
+/*
+ * Allow the dialog to be resized in both directions.
+ * @constant
+ */
+CKEDITOR.DIALOG_RESIZE_BOTH = 3;
+
+(function()
+{
+ function isTabVisible( tabId )
+ {
+ return !!this._.tabs[ tabId ][ 0 ].$.offsetHeight;
+ }
+
+ function getPreviousVisibleTab()
+ {
+ var tabId = this._.currentTabId,
+ length = this._.tabIdList.length,
+ tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId ) + length;
+
+ for ( var i = tabIndex - 1 ; i > tabIndex - length ; i-- )
+ {
+ if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
+ return this._.tabIdList[ i % length ];
+ }
+
+ return null;
+ }
+
+ function getNextVisibleTab()
+ {
+ var tabId = this._.currentTabId,
+ length = this._.tabIdList.length,
+ tabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, tabId );
+
+ for ( var i = tabIndex + 1 ; i < tabIndex + length ; i++ )
+ {
+ if ( isTabVisible.call( this, this._.tabIdList[ i % length ] ) )
+ return this._.tabIdList[ i % length ];
+ }
+
+ return null;
+ }
+
+
+ function clearOrRecoverTextInputValue( container, isRecover )
+ {
+ var inputs = container.$.getElementsByTagName( 'input' );
+ for ( var i = 0, length = inputs.length; i < length ; i++ )
+ {
+ var item = new CKEDITOR.dom.element( inputs[ i ] );
+
+ if ( item.getAttribute( 'type' ).toLowerCase() == 'text' )
+ {
+ if ( isRecover )
+ {
+ item.setAttribute( 'value', item.getCustomData( 'fake_value' ) || '' );
+ item.removeCustomData( 'fake_value' );
+ }
+ else
+ {
+ item.setCustomData( 'fake_value', item.getAttribute( 'value' ) );
+ item.setAttribute( 'value', '' );
+ }
+ }
+ }
+ }
+
+ /**
+ * This is the base class for runtime dialog objects. An instance of this
+ * class represents a single named dialog for a single editor instance.
+ * @param {Object} editor The editor which created the dialog.
+ * @param {String} dialogName The dialog's registered name.
+ * @constructor
+ * @example
+ * var dialogObj = new CKEDITOR.dialog( editor, 'smiley' );
+ */
+ CKEDITOR.dialog = function( editor, dialogName )
+ {
+ // Load the dialog definition.
+ var definition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ];
+
+ // Completes the definition with the default values.
+ definition = CKEDITOR.tools.extend( definition( editor ), defaultDialogDefinition );
+
+ // Clone a functionally independent copy for this dialog.
+ definition = CKEDITOR.tools.clone( definition );
+
+ // Create a complex definition object, extending it with the API
+ // functions.
+ definition = new definitionObject( this, definition );
+
+
+ var doc = CKEDITOR.document;
+
+ var themeBuilt = editor.theme.buildDialog( editor );
+
+ // Initialize some basic parameters.
+ this._ =
+ {
+ editor : editor,
+ element : themeBuilt.element,
+ name : dialogName,
+ contentSize : { width : 0, height : 0 },
+ size : { width : 0, height : 0 },
+ updateSize : false,
+ contents : {},
+ buttons : {},
+ accessKeyMap : {},
+
+ // Initialize the tab and page map.
+ tabs : {},
+ tabIdList : [],
+ currentTabId : null,
+ currentTabIndex : null,
+ pageCount : 0,
+ lastTab : null,
+ tabBarMode : false,
+
+ // Initialize the tab order array for input widgets.
+ focusList : [],
+ currentFocusIndex : 0,
+ hasFocus : false
+ };
+
+ this.parts = themeBuilt.parts;
+
+ CKEDITOR.tools.setTimeout( function()
+ {
+ editor.fire( 'ariaWidget', this.parts.contents );
+ },
+ 0, this );
+
+ // Set the startup styles for the dialog, avoiding it enlarging the
+ // page size on the dialog creation.
+ this.parts.dialog.setStyles(
+ {
+ position : CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed',
+ top : 0,
+ left: 0,
+ visibility : 'hidden'
+ });
+
+ // Call the CKEDITOR.event constructor to initialize this instance.
+ CKEDITOR.event.call( this );
+
+ // Fire the "dialogDefinition" event, making it possible to customize
+ // the dialog definition.
+ this.definition = definition = CKEDITOR.fire( 'dialogDefinition',
+ {
+ name : dialogName,
+ definition : definition
+ }
+ , editor ).definition;
+ // Initialize load, show, hide, ok and cancel events.
+ if ( definition.onLoad )
+ this.on( 'load', definition.onLoad );
+
+ if ( definition.onShow )
+ this.on( 'show', definition.onShow );
+
+ if ( definition.onHide )
+ this.on( 'hide', definition.onHide );
+
+ if ( definition.onOk )
+ {
+ this.on( 'ok', function( evt )
+ {
+ // Dialog confirm might probably introduce content changes (#5415).
+ editor.fire( 'saveSnapshot' );
+ setTimeout( function () { editor.fire( 'saveSnapshot' ); }, 0 );
+ if ( definition.onOk.call( this, evt ) === false )
+ evt.data.hide = false;
+ });
+ }
+
+ if ( definition.onCancel )
+ {
+ this.on( 'cancel', function( evt )
+ {
+ if ( definition.onCancel.call( this, evt ) === false )
+ evt.data.hide = false;
+ });
+ }
+
+ var me = this;
+
+ // Iterates over all items inside all content in the dialog, calling a
+ // function for each of them.
+ var iterContents = function( func )
+ {
+ var contents = me._.contents,
+ stop = false;
+
+ for ( var i in contents )
+ {
+ for ( var j in contents[i] )
+ {
+ stop = func.call( this, contents[i][j] );
+ if ( stop )
+ return;
+ }
+ }
+ };
+
+ this.on( 'ok', function( evt )
+ {
+ iterContents( function( item )
+ {
+ if ( item.validate )
+ {
+ var isValid = item.validate( this );
+
+ if ( typeof isValid == 'string' )
+ {
+ alert( isValid );
+ isValid = false;
+ }
+
+ if ( isValid === false )
+ {
+ if ( item.select )
+ item.select();
+ else
+ item.focus();
+
+ evt.data.hide = false;
+ evt.stop();
+ return true;
+ }
+ }
+ });
+ }, this, null, 0 );
+
+ this.on( 'cancel', function( evt )
+ {
+ iterContents( function( item )
+ {
+ if ( item.isChanged() )
+ {
+ if ( !confirm( editor.lang.common.confirmCancel ) )
+ evt.data.hide = false;
+ return true;
+ }
+ });
+ }, this, null, 0 );
+
+ this.parts.close.on( 'click', function( evt )
+ {
+ if ( this.fire( 'cancel', { hide : true } ).hide !== false )
+ this.hide();
+ evt.data.preventDefault();
+ }, this );
+
+ // Sort focus list according to tab order definitions.
+ function setupFocus()
+ {
+ var focusList = me._.focusList;
+ focusList.sort( function( a, b )
+ {
+ // Mimics browser tab order logics;
+ if ( a.tabIndex != b.tabIndex )
+ return b.tabIndex - a.tabIndex;
+ // Sort is not stable in some browsers,
+ // fall-back the comparator to 'focusIndex';
+ else
+ return a.focusIndex - b.focusIndex;
+ });
+
+ var size = focusList.length;
+ for ( var i = 0; i < size; i++ )
+ focusList[ i ].focusIndex = i;
+ }
+
+ function changeFocus( forward )
+ {
+ var focusList = me._.focusList,
+ offset = forward ? 1 : -1;
+ if ( focusList.length < 1 )
+ return;
+
+ var current = me._.currentFocusIndex;
+
+ // Trigger the 'blur' event of any input element before anything,
+ // since certain UI updates may depend on it.
+ try
+ {
+ focusList[ current ].getInputElement().$.blur();
+ }
+ catch( e ){}
+
+ var startIndex = ( current + offset + focusList.length ) % focusList.length,
+ currentIndex = startIndex;
+ while ( !focusList[ currentIndex ].isFocusable() )
+ {
+ currentIndex = ( currentIndex + offset + focusList.length ) % focusList.length;
+ if ( currentIndex == startIndex )
+ break;
+ }
+ focusList[ currentIndex ].focus();
+
+ // Select whole field content.
+ if ( focusList[ currentIndex ].type == 'text' )
+ focusList[ currentIndex ].select();
+ }
+
+ this.changeFocus = changeFocus;
+
+ var processed;
+
+ function focusKeydownHandler( evt )
+ {
+ // If I'm not the top dialog, ignore.
+ if ( me != CKEDITOR.dialog._.currentTop )
+ return;
+
+ var keystroke = evt.data.getKeystroke(),
+ rtl = editor.lang.dir == 'rtl';
+
+ processed = 0;
+ if ( keystroke == 9 || keystroke == CKEDITOR.SHIFT + 9 )
+ {
+ var shiftPressed = ( keystroke == CKEDITOR.SHIFT + 9 );
+
+ // Handling Tab and Shift-Tab.
+ if ( me._.tabBarMode )
+ {
+ // Change tabs.
+ var nextId = shiftPressed ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me );
+ me.selectPage( nextId );
+ me._.tabs[ nextId ][ 0 ].focus();
+ }
+ else
+ {
+ // Change the focus of inputs.
+ changeFocus( !shiftPressed );
+ }
+
+ processed = 1;
+ }
+ else if ( keystroke == CKEDITOR.ALT + 121 && !me._.tabBarMode && me.getPageCount() > 1 )
+ {
+ // Alt-F10 puts focus into the current tab item in the tab bar.
+ me._.tabBarMode = true;
+ me._.tabs[ me._.currentTabId ][ 0 ].focus();
+ processed = 1;
+ }
+ else if ( ( keystroke == 37 || keystroke == 39 ) && me._.tabBarMode )
+ {
+ // Arrow keys - used for changing tabs.
+ nextId = ( keystroke == ( rtl ? 39 : 37 ) ? getPreviousVisibleTab.call( me ) : getNextVisibleTab.call( me ) );
+ me.selectPage( nextId );
+ me._.tabs[ nextId ][ 0 ].focus();
+ processed = 1;
+ }
+ else if ( ( keystroke == 13 || keystroke == 32 ) && me._.tabBarMode )
+ {
+ this.selectPage( this._.currentTabId );
+ this._.tabBarMode = false;
+ this._.currentFocusIndex = -1;
+ changeFocus( true );
+ processed = 1;
+ }
+
+ if ( processed )
+ {
+ evt.stop();
+ evt.data.preventDefault();
+ }
+ }
+
+ function focusKeyPressHandler( evt )
+ {
+ processed && evt.data.preventDefault();
+ }
+
+ var dialogElement = this._.element;
+ // Add the dialog keyboard handlers.
+ this.on( 'show', function()
+ {
+ dialogElement.on( 'keydown', focusKeydownHandler, this, null, 0 );
+ // Some browsers instead, don't cancel key events in the keydown, but in the
+ // keypress. So we must do a longer trip in those cases. (#4531)
+ if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+ dialogElement.on( 'keypress', focusKeyPressHandler, this );
+
+ } );
+ this.on( 'hide', function()
+ {
+ dialogElement.removeListener( 'keydown', focusKeydownHandler );
+ if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+ dialogElement.removeListener( 'keypress', focusKeyPressHandler );
+ } );
+ this.on( 'iframeAdded', function( evt )
+ {
+ var doc = new CKEDITOR.dom.document( evt.data.iframe.$.contentWindow.document );
+ doc.on( 'keydown', focusKeydownHandler, this, null, 0 );
+ } );
+
+ // Auto-focus logic in dialog.
+ this.on( 'show', function()
+ {
+ // Setup tabIndex on showing the dialog instead of on loading
+ // to allow dynamic tab order happen in dialog definition.
+ setupFocus();
+
+ if ( editor.config.dialog_startupFocusTab
+ && me._.pageCount > 1 )
+ {
+ me._.tabBarMode = true;
+ me._.tabs[ me._.currentTabId ][ 0 ].focus();
+ }
+ else if ( !this._.hasFocus )
+ {
+ this._.currentFocusIndex = -1;
+
+ // Decide where to put the initial focus.
+ if ( definition.onFocus )
+ {
+ var initialFocus = definition.onFocus.call( this );
+ // Focus the field that the user specified.
+ initialFocus && initialFocus.focus();
+ }
+ // Focus the first field in layout order.
+ else
+ changeFocus( true );
+
+ /*
+ * IE BUG: If the initial focus went into a non-text element (e.g. button),
+ * then IE would still leave the caret inside the editing area.
+ */
+ if ( this._.editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
+ {
+ var $selection = editor.document.$.selection,
+ $range = $selection.createRange();
+
+ if ( $range )
+ {
+ if ( $range.parentElement && $range.parentElement().ownerDocument == editor.document.$
+ || $range.item && $range.item( 0 ).ownerDocument == editor.document.$ )
+ {
+ var $myRange = document.body.createTextRange();
+ $myRange.moveToElementText( this.getElement().getFirst().$ );
+ $myRange.collapse( true );
+ $myRange.select();
+ }
+ }
+ }
+ }
+ }, this, null, 0xffffffff );
+
+ // IE6 BUG: Text fields and text areas are only half-rendered the first time the dialog appears in IE6 (#2661).
+ // This is still needed after [2708] and [2709] because text fields in hidden TR tags are still broken.
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ this.on( 'load', function( evt )
+ {
+ var outer = this.getElement(),
+ inner = outer.getFirst();
+ inner.remove();
+ inner.appendTo( outer );
+ }, this );
+ }
+
+ initDragAndDrop( this );
+ initResizeHandles( this );
+
+ // Insert the title.
+ ( new CKEDITOR.dom.text( definition.title, CKEDITOR.document ) ).appendTo( this.parts.title );
+
+ // Insert the tabs and contents.
+ for ( var i = 0 ; i < definition.contents.length ; i++ )
+ {
+ var page = definition.contents[i];
+ page && this.addPage( page );
+ }
+
+ this.parts['tabs'].on( 'click', function( evt )
+ {
+ var target = evt.data.getTarget();
+ // If we aren't inside a tab, bail out.
+ if ( target.hasClass( 'cke_dialog_tab' ) )
+ {
+ // Get the ID of the tab, without the 'cke_' prefix and the unique number suffix.
+ var id = target.$.id;
+ this.selectPage( id.substring( 4, id.lastIndexOf( '_' ) ) );
+
+ if ( this._.tabBarMode )
+ {
+ this._.tabBarMode = false;
+ this._.currentFocusIndex = -1;
+ changeFocus( true );
+ }
+ evt.data.preventDefault();
+ }
+ }, this );
+
+ // Insert buttons.
+ var buttonsHtml = [],
+ buttons = CKEDITOR.dialog._.uiElementBuilders.hbox.build( this,
+ {
+ type : 'hbox',
+ className : 'cke_dialog_footer_buttons',
+ widths : [],
+ children : definition.buttons
+ }, buttonsHtml ).getChild();
+ this.parts.footer.setHtml( buttonsHtml.join( '' ) );
+
+ for ( i = 0 ; i < buttons.length ; i++ )
+ this._.buttons[ buttons[i].id ] = buttons[i];
+ };
+
+ // Focusable interface. Use it via dialog.addFocusable.
+ function Focusable( dialog, element, index )
+ {
+ this.element = element;
+ this.focusIndex = index;
+ // TODO: support tabIndex for focusables.
+ this.tabIndex = 0;
+ this.isFocusable = function()
+ {
+ return !element.getAttribute( 'disabled' ) && element.isVisible();
+ };
+ this.focus = function()
+ {
+ dialog._.currentFocusIndex = this.focusIndex;
+ this.element.focus();
+ };
+ // Bind events
+ element.on( 'keydown', function( e )
+ {
+ if ( e.data.getKeystroke() in { 32:1, 13:1 } )
+ this.fire( 'click' );
+ } );
+ element.on( 'focus', function()
+ {
+ this.fire( 'mouseover' );
+ } );
+ element.on( 'blur', function()
+ {
+ this.fire( 'mouseout' );
+ } );
+ }
+
+ CKEDITOR.dialog.prototype =
+ {
+ destroy : function()
+ {
+ this.hide();
+ this._.element.remove();
+ },
+
+ /**
+ * Resizes the dialog.
+ * @param {Number} width The width of the dialog in pixels.
+ * @param {Number} height The height of the dialog in pixels.
+ * @function
+ * @example
+ * dialogObj.resize( 800, 640 );
+ */
+ resize : (function()
+ {
+ return function( width, height )
+ {
+ if ( this._.contentSize && this._.contentSize.width == width && this._.contentSize.height == height )
+ return;
+
+ CKEDITOR.dialog.fire( 'resize',
+ {
+ dialog : this,
+ skin : this._.editor.skinName,
+ width : width,
+ height : height
+ }, this._.editor );
+
+ this._.contentSize = { width : width, height : height };
+ this._.updateSize = true;
+ };
+ })(),
+
+ /**
+ * Gets the current size of the dialog in pixels.
+ * @returns {Object} An object with "width" and "height" properties.
+ * @example
+ * var width = dialogObj.getSize().width;
+ */
+ getSize : function()
+ {
+ if ( !this._.updateSize )
+ return this._.size;
+ var element = this._.element.getFirst();
+ var size = this._.size = { width : element.$.offsetWidth || 0, height : element.$.offsetHeight || 0};
+
+ // If either the offsetWidth or offsetHeight is 0, the element isn't visible.
+ this._.updateSize = !size.width || !size.height;
+
+ return size;
+ },
+
+ /**
+ * Moves the dialog to an (x, y) coordinate relative to the window.
+ * @function
+ * @param {Number} x The target x-coordinate.
+ * @param {Number} y The target y-coordinate.
+ * @example
+ * dialogObj.move( 10, 40 );
+ */
+ move : (function()
+ {
+ var isFixed;
+ return function( x, y )
+ {
+ // The dialog may be fixed positioned or absolute positioned. Ask the
+ // browser what is the current situation first.
+ var element = this._.element.getFirst();
+ if ( isFixed === undefined )
+ isFixed = element.getComputedStyle( 'position' ) == 'fixed';
+
+ if ( isFixed && this._.position && this._.position.x == x && this._.position.y == y )
+ return;
+
+ // 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;
+ }
+
+ element.setStyles(
+ {
+ 'left' : ( x > 0 ? x : 0 ) + 'px',
+ 'top' : ( y > 0 ? y : 0 ) + 'px'
+ });
+ };
+ })(),
+
+ /**
+ * Gets the dialog's position in the window.
+ * @returns {Object} An object with "x" and "y" properties.
+ * @example
+ * var dialogX = dialogObj.getPosition().x;
+ */
+ getPosition : function(){ return CKEDITOR.tools.extend( {}, this._.position ); },
+
+ /**
+ * Shows the dialog box.
+ * @example
+ * dialogObj.show();
+ */
+ show : function()
+ {
+ var editor = this._.editor;
+ if ( editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
+ {
+ var selection = editor.getSelection();
+ selection && selection.lock();
+ }
+
+ // Insert the dialog's element to the root document.
+ var element = this._.element;
+ var definition = this.definition;
+ if ( !( element.getParent() && element.getParent().equals( CKEDITOR.document.getBody() ) ) )
+ element.appendTo( CKEDITOR.document.getBody() );
+ else
+ element.setStyle( 'display', 'block' );
+
+ // FIREFOX BUG: Fix vanishing caret for Firefox 2 or Gecko 1.8.
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 )
+ {
+ var dialogElement = this.parts.dialog;
+ dialogElement.setStyle( 'position', 'absolute' );
+ setTimeout( function()
+ {
+ dialogElement.setStyle( 'position', 'fixed' );
+ }, 0 );
+ }
+
+
+ // First, set the dialog to an appropriate size.
+ this.resize( definition.minWidth, definition.minHeight );
+
+ // Reset all inputs back to their default value.
+ this.reset();
+
+ // Select the first tab by default.
+ this.selectPage( this.definition.contents[0].id );
+
+ // Set z-index.
+ if ( CKEDITOR.dialog._.currentZIndex === null )
+ CKEDITOR.dialog._.currentZIndex = this._.editor.config.baseFloatZIndex;
+ this._.element.getFirst().setStyle( 'z-index', CKEDITOR.dialog._.currentZIndex += 10 );
+
+ // Maintain the dialog ordering and dialog cover.
+ // Also register key handlers if first dialog.
+ if ( CKEDITOR.dialog._.currentTop === null )
+ {
+ CKEDITOR.dialog._.currentTop = this;
+ this._.parentDialog = null;
+ showCover( this._.editor );
+
+ element.on( 'keydown', accessKeyDownHandler );
+ element.on( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
+
+ // Prevent some keys from bubbling up. (#4269)
+ for ( var event in { keyup :1, keydown :1, keypress :1 } )
+ element.on( event, preventKeyBubbling );
+ }
+ else
+ {
+ this._.parentDialog = CKEDITOR.dialog._.currentTop;
+ var parentElement = this._.parentDialog.getElement().getFirst();
+ parentElement.$.style.zIndex -= Math.floor( this._.editor.config.baseFloatZIndex / 2 );
+ CKEDITOR.dialog._.currentTop = this;
+ }
+
+ // Register the Esc hotkeys.
+ registerAccessKey( this, this, '\x1b', null, function()
+ {
+ this.getButton( 'cancel' ) && this.getButton( 'cancel' ).click();
+ } );
+
+ // Reset the hasFocus state.
+ this._.hasFocus = false;
+
+ // Rearrange the dialog to the middle of the window.
+ CKEDITOR.tools.setTimeout( function()
+ {
+ var viewSize = CKEDITOR.document.getWindow().getViewPaneSize();
+ var dialogSize = this.getSize();
+
+ // We're using definition size for initial position because of
+ // offten corrupted data in offsetWidth at this point. (#4084)
+ this.move( ( viewSize.width - definition.minWidth ) / 2, ( viewSize.height - dialogSize.height ) / 2 );
+
+ this.parts.dialog.setStyle( 'visibility', '' );
+
+ // Execute onLoad for the first show.
+ this.fireOnce( 'load', {} );
+ this.fire( 'show', {} );
+ this._.editor.fire( 'dialogShow', this );
+
+ // Save the initial values of the dialog.
+ this.foreach( function( contentObj ) { contentObj.setInitValue && contentObj.setInitValue(); } );
+
+ },
+ 100, this );
+ },
+
+ /**
+ * Executes a function for each UI element.
+ * @param {Function} fn Function to execute for each UI element.
+ * @returns {CKEDITOR.dialog} The current dialog object.
+ */
+ foreach : function( fn )
+ {
+ for ( var i in this._.contents )
+ {
+ for ( var j in this._.contents[i] )
+ fn( this._.contents[i][j] );
+ }
+ return this;
+ },
+
+ /**
+ * Resets all input values in the dialog.
+ * @example
+ * dialogObj.reset();
+ * @returns {CKEDITOR.dialog} The current dialog object.
+ */
+ reset : (function()
+ {
+ var fn = function( widget ){ if ( widget.reset ) widget.reset( 1 ); };
+ return function(){ this.foreach( fn ); return this; };
+ })(),
+
+ setupContent : function()
+ {
+ var args = arguments;
+ this.foreach( function( widget )
+ {
+ if ( widget.setup )
+ widget.setup.apply( widget, args );
+ });
+ },
+
+ commitContent : function()
+ {
+ var args = arguments;
+ this.foreach( function( widget )
+ {
+ if ( widget.commit )
+ widget.commit.apply( widget, args );
+ });
+ },
+
+ /**
+ * Hides the dialog box.
+ * @example
+ * dialogObj.hide();
+ */
+ hide : function()
+ {
+ if ( !this.parts.dialog.isVisible() )
+ return;
+
+ this.fire( 'hide', {} );
+ this._.editor.fire( 'dialogHide', this );
+ var element = this._.element;
+ element.setStyle( 'display', 'none' );
+ this.parts.dialog.setStyle( 'visibility', 'hidden' );
+ // Unregister all access keys associated with this dialog.
+ unregisterAccessKey( this );
+
+ // Close any child(top) dialogs first.
+ while( CKEDITOR.dialog._.currentTop != this )
+ CKEDITOR.dialog._.currentTop.hide();
+
+ // Maintain dialog ordering and remove cover if needed.
+ if ( !this._.parentDialog )
+ hideCover();
+ else
+ {
+ var parentElement = this._.parentDialog.getElement().getFirst();
+ parentElement.setStyle( 'z-index', parseInt( parentElement.$.style.zIndex, 10 ) + Math.floor( this._.editor.config.baseFloatZIndex / 2 ) );
+ }
+ CKEDITOR.dialog._.currentTop = this._.parentDialog;
+
+ // Deduct or clear the z-index.
+ if ( !this._.parentDialog )
+ {
+ CKEDITOR.dialog._.currentZIndex = null;
+
+ // Remove access key handlers.
+ element.removeListener( 'keydown', accessKeyDownHandler );
+ element.removeListener( CKEDITOR.env.opera ? 'keypress' : 'keyup', accessKeyUpHandler );
+
+ // Remove bubbling-prevention handler. (#4269)
+ for ( var event in { keyup :1, keydown :1, keypress :1 } )
+ element.removeListener( event, preventKeyBubbling );
+
+ var editor = this._.editor;
+ editor.focus();
+
+ if ( editor.mode == 'wysiwyg' && CKEDITOR.env.ie )
+ {
+ var selection = editor.getSelection();
+ selection && selection.unlock( true );
+ }
+ }
+ else
+ CKEDITOR.dialog._.currentZIndex -= 10;
+
+ delete this._.parentDialog;
+ // Reset the initial values of the dialog.
+ this.foreach( function( contentObj ) { contentObj.resetInitValue && contentObj.resetInitValue(); } );
+ },
+
+ /**
+ * Adds a tabbed page into the dialog.
+ * @param {Object} contents Content definition.
+ * @example
+ */
+ addPage : function( contents )
+ {
+ var pageHtml = [],
+ titleHtml = contents.label ? ' title="' + CKEDITOR.tools.htmlEncode( contents.label ) + '"' : '',
+ elements = contents.elements,
+ vbox = CKEDITOR.dialog._.uiElementBuilders.vbox.build( this,
+ {
+ type : 'vbox',
+ className : 'cke_dialog_page_contents',
+ children : contents.elements,
+ expand : !!contents.expand,
+ padding : contents.padding,
+ style : contents.style || 'width: 100%; height: 100%;'
+ }, pageHtml );
+
+ // Create the HTML for the tab and the content block.
+ var page = CKEDITOR.dom.element.createFromHtml( pageHtml.join( '' ) );
+ page.setAttribute( 'role', 'tabpanel' );
+
+ var env = CKEDITOR.env;
+ var tabId = 'cke_' + contents.id + '_' + CKEDITOR.tools.getNextNumber(),
+ tab = CKEDITOR.dom.element.createFromHtml( [
+ '<a class="cke_dialog_tab"',
+ ( this._.pageCount > 0 ? ' cke_last' : 'cke_first' ),
+ titleHtml,
+ ( !!contents.hidden ? ' style="display:none"' : '' ),
+ ' id="', tabId, '"',
+ env.gecko && env.version >= 10900 && !env.hc ? '' : ' href="javascript:void(0)"',
+ ' tabIndex="-1"',
+ ' hidefocus="true"',
+ ' role="tab">',
+ contents.label,
+ '</a>'
+ ].join( '' ) );
+
+ page.setAttribute( 'aria-labelledby', tabId );
+
+ // Take records for the tabs and elements created.
+ this._.tabs[ contents.id ] = [ tab, page ];
+ this._.tabIdList.push( contents.id );
+ !contents.hidden && this._.pageCount++;
+ this._.lastTab = tab;
+ this.updateStyle();
+
+ var contentMap = this._.contents[ contents.id ] = {},
+ cursor,
+ children = vbox.getChild();
+
+ while ( ( cursor = children.shift() ) )
+ {
+ contentMap[ cursor.id ] = cursor;
+ if ( typeof( cursor.getChild ) == 'function' )
+ children.push.apply( children, cursor.getChild() );
+ }
+
+ // Attach the DOM nodes.
+
+ page.setAttribute( 'name', contents.id );
+ page.appendTo( this.parts.contents );
+
+ tab.unselectable();
+ this.parts.tabs.append( tab );
+
+ // Add access key handlers if access key is defined.
+ if ( contents.accessKey )
+ {
+ registerAccessKey( this, this, 'CTRL+' + contents.accessKey,
+ tabAccessKeyDown, tabAccessKeyUp );
+ this._.accessKeyMap[ 'CTRL+' + contents.accessKey ] = contents.id;
+ }
+ },
+
+ /**
+ * Activates a tab page in the dialog by its id.
+ * @param {String} id The id of the dialog tab to be activated.
+ * @example
+ * dialogObj.selectPage( 'tab_1' );
+ */
+ selectPage : function( id )
+ {
+ if ( this._.currentTabId == id )
+ return;
+
+ // Returning true means that the event has been canceled
+ if ( this.fire( 'selectPage', { page : id, currentPage : this._.currentTabId } ) === true )
+ return;
+
+ // Hide the non-selected tabs and pages.
+ for ( var i in this._.tabs )
+ {
+ var tab = this._.tabs[i][0],
+ page = this._.tabs[i][1];
+ if ( i != id )
+ {
+ tab.removeClass( 'cke_dialog_tab_selected' );
+ page.hide();
+ }
+ page.setAttribute( 'aria-hidden', i != id );
+ }
+
+ var selected = this._.tabs[id];
+ selected[0].addClass( 'cke_dialog_tab_selected' );
+
+ // [IE] a unvisible input[type='text'] will enlarge it's width
+ // if it's value is long when it show( #5649 )
+ // so we clear it's value before it shows and then recover it
+ if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat )
+ {
+ clearOrRecoverTextInputValue( selected[1] );
+ selected[1].show();
+ setTimeout( function()
+ {
+ clearOrRecoverTextInputValue( selected[1], true );
+ }, 0 );
+ }
+ else
+ {
+ selected[1].show();
+ }
+
+
+ this._.currentTabId = id;
+ this._.currentTabIndex = CKEDITOR.tools.indexOf( this._.tabIdList, id );
+ },
+
+ // Dialog state-specific style updates.
+ updateStyle : function()
+ {
+ // If only a single page shown, a different style is used in the central pane.
+ this.parts.dialog[ ( this._.pageCount === 1 ? 'add' : 'remove' ) + 'Class' ]( 'cke_single_page' );
+ },
+
+ /**
+ * Hides a page's tab away from the dialog.
+ * @param {String} id The page's Id.
+ * @example
+ * dialog.hidePage( 'tab_3' );
+ */
+ hidePage : function( id )
+ {
+ var tab = this._.tabs[id] && this._.tabs[id][0];
+ if ( !tab || this._.pageCount == 1 )
+ return;
+ // Switch to other tab first when we're hiding the active tab.
+ else if ( id == this._.currentTabId )
+ this.selectPage( getPreviousVisibleTab.call( this ) );
+
+ tab.hide();
+ this._.pageCount--;
+ this.updateStyle();
+ },
+
+ /**
+ * Unhides a page's tab.
+ * @param {String} id The page's Id.
+ * @example
+ * dialog.showPage( 'tab_2' );
+ */
+ showPage : function( id )
+ {
+ var tab = this._.tabs[id] && this._.tabs[id][0];
+ if ( !tab )
+ return;
+ tab.show();
+ this._.pageCount++;
+ this.updateStyle();
+ },
+
+ /**
+ * Gets the root DOM element of the dialog.
+ * @returns {CKEDITOR.dom.element} The <span> element containing this dialog.
+ * @example
+ * var dialogElement = dialogObj.getElement().getFirst();
+ * dialogElement.setStyle( 'padding', '5px' );
+ */
+ getElement : function()
+ {
+ return this._.element;
+ },
+
+ /**
+ * Gets the name of the dialog.
+ * @returns {String} The name of this dialog.
+ * @example
+ * var dialogName = dialogObj.getName();
+ */
+ getName : function()
+ {
+ return this._.name;
+ },
+
+ /**
+ * Gets a dialog UI element object from a dialog page.
+ * @param {String} pageId id of dialog page.
+ * @param {String} elementId id of UI element.
+ * @example
+ * @returns {CKEDITOR.ui.dialog.uiElement} The dialog UI element.
+ */
+ getContentElement : function( pageId, elementId )
+ {
+ var page = this._.contents[ pageId ];
+ return page && page[ elementId ];
+ },
+
+ /**
+ * Gets the value of a dialog UI element.
+ * @param {String} pageId id of dialog page.
+ * @param {String} elementId id of UI element.
+ * @example
+ * @returns {Object} The value of the UI element.
+ */
+ getValueOf : function( pageId, elementId )
+ {
+ return this.getContentElement( pageId, elementId ).getValue();
+ },
+
+ /**
+ * Sets the value of a dialog UI element.
+ * @param {String} pageId id of the dialog page.
+ * @param {String} elementId id of the UI element.
+ * @param {Object} value The new value of the UI element.
+ * @example
+ */
+ setValueOf : function( pageId, elementId, value )
+ {
+ return this.getContentElement( pageId, elementId ).setValue( value );
+ },
+
+ /**
+ * Gets the UI element of a button in the dialog's button row.
+ * @param {String} id The id of the button.
+ * @example
+ * @returns {CKEDITOR.ui.dialog.button} The button object.
+ */
+ getButton : function( id )
+ {
+ return this._.buttons[ id ];
+ },
+
+ /**
+ * Simulates a click to a dialog button in the dialog's button row.
+ * @param {String} id The id of the button.
+ * @example
+ * @returns The return value of the dialog's "click" event.
+ */
+ click : function( id )
+ {
+ return this._.buttons[ id ].click();
+ },
+
+ /**
+ * Disables a dialog button.
+ * @param {String} id The id of the button.
+ * @example
+ */
+ disableButton : function( id )
+ {
+ return this._.buttons[ id ].disable();
+ },
+
+ /**
+ * Enables a dialog button.
+ * @param {String} id The id of the button.
+ * @example
+ */
+ enableButton : function( id )
+ {
+ return this._.buttons[ id ].enable();
+ },
+
+ /**
+ * Gets the number of pages in the dialog.
+ * @returns {Number} Page count.
+ */
+ getPageCount : function()
+ {
+ return this._.pageCount;
+ },
+
+ /**
+ * Gets the editor instance which opened this dialog.
+ * @returns {CKEDITOR.editor} Parent editor instances.
+ */
+ getParentEditor : function()
+ {
+ return this._.editor;
+ },
+
+ /**
+ * Gets the element that was selected when opening the dialog, if any.
+ * @returns {CKEDITOR.dom.element} The element that was selected, or null.
+ */
+ getSelectedElement : function()
+ {
+ return this.getParentEditor().getSelection().getSelectedElement();
+ },
+
+ /**
+ * Adds element to dialog's focusable list.
+ *
+ * @param {CKEDITOR.dom.element} element
+ * @param {Number} [index]
+ */
+ addFocusable: function( element, index ) {
+ if ( typeof index == 'undefined' )
+ {
+ index = this._.focusList.length;
+ this._.focusList.push( new Focusable( this, element, index ) );
+ }
+ else
+ {
+ this._.focusList.splice( index, 0, new Focusable( this, element, index ) );
+ for ( var i = index + 1 ; i < this._.focusList.length ; i++ )
+ this._.focusList[ i ].focusIndex++;
+ }
+ }
+ };
+
+ CKEDITOR.tools.extend( CKEDITOR.dialog,
+ /**
+ * @lends CKEDITOR.dialog
+ */
+ {
+ /**
+ * Registers a dialog.
+ * @param {String} name The dialog's name.
+ * @param {Function|String} dialogDefinition
+ * A function returning the dialog's definition, or the URL to the .js file holding the function.
+ * The function should accept an argument "editor" which is the current editor instance, and
+ * return an object conforming to {@link CKEDITOR.dialog.dialogDefinition}.
+ * @example
+ * @see CKEDITOR.dialog.dialogDefinition
+ */
+ add : function( name, dialogDefinition )
+ {
+ // Avoid path registration from multiple instances override definition.
+ if ( !this._.dialogDefinitions[name]
+ || typeof dialogDefinition == 'function' )
+ this._.dialogDefinitions[name] = dialogDefinition;
+ },
+
+ exists : function( name )
+ {
+ return !!this._.dialogDefinitions[ name ];
+ },
+
+ getCurrent : function()
+ {
+ return CKEDITOR.dialog._.currentTop;
+ },
+
+ /**
+ * The default OK button for dialogs. Fires the "ok" event and closes the dialog if the event succeeds.
+ * @static
+ * @field
+ * @example
+ * @type Function
+ */
+ okButton : (function()
+ {
+ var retval = function( editor, override )
+ {
+ override = override || {};
+ return CKEDITOR.tools.extend( {
+ id : 'ok',
+ type : 'button',
+ label : editor.lang.common.ok,
+ 'class' : 'cke_dialog_ui_button_ok',
+ onClick : function( evt )
+ {
+ var dialog = evt.data.dialog;
+ if ( dialog.fire( 'ok', { hide : true } ).hide !== false )
+ dialog.hide();
+ }
+ }, override, true );
+ };
+ retval.type = 'button';
+ retval.override = function( override )
+ {
+ return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
+ { type : 'button' }, true );
+ };
+ return retval;
+ })(),
+
+ /**
+ * The default cancel button for dialogs. Fires the "cancel" event and closes the dialog if no UI element value changed.
+ * @static
+ * @field
+ * @example
+ * @type Function
+ */
+ cancelButton : (function()
+ {
+ var retval = function( editor, override )
+ {
+ override = override || {};
+ return CKEDITOR.tools.extend( {
+ id : 'cancel',
+ type : 'button',
+ label : editor.lang.common.cancel,
+ 'class' : 'cke_dialog_ui_button_cancel',
+ onClick : function( evt )
+ {
+ var dialog = evt.data.dialog;
+ if ( dialog.fire( 'cancel', { hide : true } ).hide !== false )
+ dialog.hide();
+ }
+ }, override, true );
+ };
+ retval.type = 'button';
+ retval.override = function( override )
+ {
+ return CKEDITOR.tools.extend( function( editor ){ return retval( editor, override ); },
+ { type : 'button' }, true );
+ };
+ return retval;
+ })(),
+
+ /**
+ * Registers a dialog UI element.
+ * @param {String} typeName The name of the UI element.
+ * @param {Function} builder The function to build the UI element.
+ * @example
+ */
+ addUIElement : function( typeName, builder )
+ {
+ this._.uiElementBuilders[ typeName ] = builder;
+ }
+ });
+
+ CKEDITOR.dialog._ =
+ {
+ uiElementBuilders : {},
+
+ dialogDefinitions : {},
+
+ currentTop : null,
+
+ currentZIndex : null
+ };
+
+ // "Inherit" (copy actually) from CKEDITOR.event.
+ CKEDITOR.event.implementOn( CKEDITOR.dialog );
+ CKEDITOR.event.implementOn( CKEDITOR.dialog.prototype, true );
+
+ var defaultDialogDefinition =
+ {
+ resizable : CKEDITOR.DIALOG_RESIZE_BOTH,
+ minWidth : 600,
+ minHeight : 400,
+ buttons : [ CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton ]
+ };
+
+ // The buttons in MacOS Apps are in reverse order #4750
+ CKEDITOR.env.mac && defaultDialogDefinition.buttons.reverse();
+
+ // Tool function used to return an item from an array based on its id
+ // property.
+ var getById = function( array, id, recurse )
+ {
+ for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
+ {
+ if ( item.id == id )
+ return item;
+ if ( recurse && item[ recurse ] )
+ {
+ var retval = getById( item[ recurse ], id, recurse ) ;
+ if ( retval )
+ return retval;
+ }
+ }
+ return null;
+ };
+
+ // Tool function used to add an item into an array.
+ var addById = function( array, newItem, nextSiblingId, recurse, nullIfNotFound )
+ {
+ if ( nextSiblingId )
+ {
+ for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
+ {
+ if ( item.id == nextSiblingId )
+ {
+ array.splice( i, 0, newItem );
+ return newItem;
+ }
+
+ if ( recurse && item[ recurse ] )
+ {
+ var retval = addById( item[ recurse ], newItem, nextSiblingId, recurse, true );
+ if ( retval )
+ return retval;
+ }
+ }
+
+ if ( nullIfNotFound )
+ return null;
+ }
+
+ array.push( newItem );
+ return newItem;
+ };
+
+ // Tool function used to remove an item from an array based on its id.
+ var removeById = function( array, id, recurse )
+ {
+ for ( var i = 0, item ; ( item = array[ i ] ) ; i++ )
+ {
+ if ( item.id == id )
+ return array.splice( i, 1 );
+ if ( recurse && item[ recurse ] )
+ {
+ var retval = removeById( item[ recurse ], id, recurse );
+ if ( retval )
+ return retval;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * This class is not really part of the API. It is the "definition" property value
+ * passed to "dialogDefinition" event handlers.
+ * @constructor
+ * @name CKEDITOR.dialog.dialogDefinitionObject
+ * @extends CKEDITOR.dialog.dialogDefinition
+ * @example
+ * CKEDITOR.on( 'dialogDefinition', function( evt )
+ * {
+ * var definition = evt.data.definition;
+ * var content = definition.getContents( 'page1' );
+ * ...
+ * } );
+ */
+ var definitionObject = function( dialog, dialogDefinition )
+ {
+ // TODO : Check if needed.
+ this.dialog = dialog;
+
+ // Transform the contents entries in contentObjects.
+ var contents = dialogDefinition.contents;
+ for ( var i = 0, content ; ( content = contents[i] ) ; i++ )
+ contents[ i ] = content && new contentObject( dialog, content );
+
+ CKEDITOR.tools.extend( this, dialogDefinition );
+ };
+
+ definitionObject.prototype =
+ /** @lends CKEDITOR.dialog.dialogDefinitionObject.prototype */
+ {
+ /**
+ * Gets a content definition.
+ * @param {String} id The id of the content definition.
+ * @returns {CKEDITOR.dialog.contentDefinition} The content definition
+ * matching id.
+ */
+ getContents : function( id )
+ {
+ return getById( this.contents, id );
+ },
+
+ /**
+ * Gets a button definition.
+ * @param {String} id The id of the button definition.
+ * @returns {CKEDITOR.dialog.buttonDefinition} The button definition
+ * matching id.
+ */
+ getButton : function( id )
+ {
+ return getById( this.buttons, id );
+ },
+
+ /**
+ * Adds a content definition object under this dialog definition.
+ * @param {CKEDITOR.dialog.contentDefinition} contentDefinition The
+ * content definition.
+ * @param {String} [nextSiblingId] The id of an existing content
+ * definition which the new content definition will be inserted
+ * before. Omit if the new content definition is to be inserted as
+ * the last item.
+ * @returns {CKEDITOR.dialog.contentDefinition} The inserted content
+ * definition.
+ */
+ addContents : function( contentDefinition, nextSiblingId )
+ {
+ return addById( this.contents, contentDefinition, nextSiblingId );
+ },
+
+ /**
+ * Adds a button definition object under this dialog definition.
+ * @param {CKEDITOR.dialog.buttonDefinition} buttonDefinition The
+ * button definition.
+ * @param {String} [nextSiblingId] The id of an existing button
+ * definition which the new button definition will be inserted
+ * before. Omit if the new button definition is to be inserted as
+ * the last item.
+ * @returns {CKEDITOR.dialog.buttonDefinition} The inserted button
+ * definition.
+ */
+ addButton : function( buttonDefinition, nextSiblingId )
+ {
+ return addById( this.buttons, buttonDefinition, nextSiblingId );
+ },
+
+ /**
+ * Removes a content definition from this dialog definition.
+ * @param {String} id The id of the content definition to be removed.
+ * @returns {CKEDITOR.dialog.contentDefinition} The removed content
+ * definition.
+ */
+ removeContents : function( id )
+ {
+ removeById( this.contents, id );
+ },
+
+ /**
+ * Removes a button definition from the dialog definition.
+ * @param {String} id The id of the button definition to be removed.
+ * @returns {CKEDITOR.dialog.buttonDefinition} The removed button
+ * definition.
+ */
+ removeButton : function( id )
+ {
+ removeById( this.buttons, id );
+ }
+ };
+
+ /**
+ * This class is not really part of the API. It is the template of the
+ * objects representing content pages inside the
+ * CKEDITOR.dialog.dialogDefinitionObject.
+ * @constructor
+ * @name CKEDITOR.dialog.contentDefinitionObject
+ * @example
+ * CKEDITOR.on( 'dialogDefinition', function( evt )
+ * {
+ * var definition = evt.data.definition;
+ * var content = definition.getContents( 'page1' );
+ * content.remove( 'textInput1' );
+ * ...
+ * } );
+ */
+ function contentObject( dialog, contentDefinition )
+ {
+ this._ =
+ {
+ dialog : dialog
+ };
+
+ CKEDITOR.tools.extend( this, contentDefinition );
+ }
+
+ contentObject.prototype =
+ /** @lends CKEDITOR.dialog.contentDefinitionObject.prototype */
+ {
+ /**
+ * Gets a UI element definition under the content definition.
+ * @param {String} id The id of the UI element definition.
+ * @returns {CKEDITOR.dialog.uiElementDefinition}
+ */
+ get : function( id )
+ {
+ return getById( this.elements, id, 'children' );
+ },
+
+ /**
+ * Adds a UI element definition to the content definition.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition The
+ * UI elemnet definition to be added.
+ * @param {String} nextSiblingId The id of an existing UI element
+ * definition which the new UI element definition will be inserted
+ * before. Omit if the new button definition is to be inserted as
+ * the last item.
+ * @returns {CKEDITOR.dialog.uiElementDefinition} The element
+ * definition inserted.
+ */
+ add : function( elementDefinition, nextSiblingId )
+ {
+ return addById( this.elements, elementDefinition, nextSiblingId, 'children' );
+ },
+
+ /**
+ * Removes a UI element definition from the content definition.
+ * @param {String} id The id of the UI element definition to be
+ * removed.
+ * @returns {CKEDITOR.dialog.uiElementDefinition} The element
+ * definition removed.
+ * @example
+ */
+ remove : function( id )
+ {
+ removeById( this.elements, id, 'children' );
+ }
+ };
+
+ function initDragAndDrop( dialog )
+ {
+ var lastCoords = null,
+ abstractDialogCoords = null,
+ element = dialog.getElement().getFirst(),
+ editor = dialog.getParentEditor(),
+ magnetDistance = editor.config.dialog_magnetDistance,
+ margins = editor.skin.margins || [ 0, 0, 0, 0 ];
+
+ if ( typeof magnetDistance == 'undefined' )
+ magnetDistance = 20;
+
+ function mouseMoveHandler( evt )
+ {
+ var dialogSize = dialog.getSize(),
+ viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(),
+ x = evt.data.$.screenX,
+ y = evt.data.$.screenY,
+ dx = x - lastCoords.x,
+ dy = y - lastCoords.y,
+ realX, realY;
+
+ lastCoords = { x : x, y : y };
+ abstractDialogCoords.x += dx;
+ abstractDialogCoords.y += dy;
+
+ if ( abstractDialogCoords.x + margins[3] < magnetDistance )
+ realX = - margins[3];
+ else if ( abstractDialogCoords.x - margins[1] > viewPaneSize.width - dialogSize.width - magnetDistance )
+ realX = viewPaneSize.width - dialogSize.width + margins[1];
+ else
+ realX = abstractDialogCoords.x;
+
+ if ( abstractDialogCoords.y + margins[0] < magnetDistance )
+ realY = - margins[0];
+ else if ( abstractDialogCoords.y - margins[2] > viewPaneSize.height - dialogSize.height - magnetDistance )
+ realY = viewPaneSize.height - dialogSize.height + margins[2];
+ else
+ realY = abstractDialogCoords.y;
+
+ dialog.move( realX, realY );
+
+ evt.data.preventDefault();
+ }
+
+ function mouseUpHandler( evt )
+ {
+ CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
+ CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
+
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
+ coverDoc.removeListener( 'mousemove', mouseMoveHandler );
+ coverDoc.removeListener( 'mouseup', mouseUpHandler );
+ }
+ }
+
+ dialog.parts.title.on( 'mousedown', function( evt )
+ {
+ dialog._.updateSize = true;
+
+ lastCoords = { x : evt.data.$.screenX, y : evt.data.$.screenY };
+
+ CKEDITOR.document.on( 'mousemove', mouseMoveHandler );
+ CKEDITOR.document.on( 'mouseup', mouseUpHandler );
+ abstractDialogCoords = dialog.getPosition();
+
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
+ coverDoc.on( 'mousemove', mouseMoveHandler );
+ coverDoc.on( 'mouseup', mouseUpHandler );
+ }
+
+ evt.data.preventDefault();
+ }, dialog );
+ }
+
+ function initResizeHandles( dialog )
+ {
+ var definition = dialog.definition,
+ minWidth = definition.minWidth || 0,
+ minHeight = definition.minHeight || 0,
+ resizable = definition.resizable,
+ margins = dialog.getParentEditor().skin.margins || [ 0, 0, 0, 0 ];
+
+ function topSizer( coords, dy )
+ {
+ coords.y += dy;
+ }
+
+ function rightSizer( coords, dx )
+ {
+ coords.x2 += dx;
+ }
+
+ function bottomSizer( coords, dy )
+ {
+ coords.y2 += dy;
+ }
+
+ function leftSizer( coords, dx )
+ {
+ coords.x += dx;
+ }
+
+ var lastCoords = null,
+ abstractDialogCoords = null,
+ magnetDistance = dialog._.editor.config.magnetDistance,
+ parts = [ 'tl', 't', 'tr', 'l', 'r', 'bl', 'b', 'br' ];
+
+ function mouseDownHandler( evt )
+ {
+ var partName = evt.listenerData.part, size = dialog.getSize();
+ abstractDialogCoords = dialog.getPosition();
+ CKEDITOR.tools.extend( abstractDialogCoords,
+ {
+ x2 : abstractDialogCoords.x + size.width,
+ y2 : abstractDialogCoords.y + size.height
+ } );
+ lastCoords = { x : evt.data.$.screenX, y : evt.data.$.screenY };
+
+ CKEDITOR.document.on( 'mousemove', mouseMoveHandler, dialog, { part : partName } );
+ CKEDITOR.document.on( 'mouseup', mouseUpHandler, dialog, { part : partName } );
+
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
+ coverDoc.on( 'mousemove', mouseMoveHandler, dialog, { part : partName } );
+ coverDoc.on( 'mouseup', mouseUpHandler, dialog, { part : partName } );
+ }
+
+ evt.data.preventDefault();
+ }
+
+ function mouseMoveHandler( evt )
+ {
+ var x = evt.data.$.screenX,
+ y = evt.data.$.screenY,
+ dx = x - lastCoords.x,
+ dy = y - lastCoords.y,
+ viewPaneSize = CKEDITOR.document.getWindow().getViewPaneSize(),
+ partName = evt.listenerData.part;
+
+ if ( partName.search( 't' ) != -1 )
+ topSizer( abstractDialogCoords, dy );
+ if ( partName.search( 'l' ) != -1 )
+ leftSizer( abstractDialogCoords, dx );
+ if ( partName.search( 'b' ) != -1 )
+ bottomSizer( abstractDialogCoords, dy );
+ if ( partName.search( 'r' ) != -1 )
+ rightSizer( abstractDialogCoords, dx );
+
+ lastCoords = { x : x, y : y };
+
+ var realX, realY, realX2, realY2;
+
+ if ( abstractDialogCoords.x + margins[3] < magnetDistance )
+ realX = - margins[3];
+ else if ( partName.search( 'l' ) != -1 && abstractDialogCoords.x2 - abstractDialogCoords.x < minWidth + magnetDistance )
+ realX = abstractDialogCoords.x2 - minWidth;
+ else
+ realX = abstractDialogCoords.x;
+
+ if ( abstractDialogCoords.y + margins[0] < magnetDistance )
+ realY = - margins[0];
+ else if ( partName.search( 't' ) != -1 && abstractDialogCoords.y2 - abstractDialogCoords.y < minHeight + magnetDistance )
+ realY = abstractDialogCoords.y2 - minHeight;
+ else
+ realY = abstractDialogCoords.y;
+
+ if ( abstractDialogCoords.x2 - margins[1] > viewPaneSize.width - magnetDistance )
+ realX2 = viewPaneSize.width + margins[1] ;
+ else if ( partName.search( 'r' ) != -1 && abstractDialogCoords.x2 - abstractDialogCoords.x < minWidth + magnetDistance )
+ realX2 = abstractDialogCoords.x + minWidth;
+ else
+ realX2 = abstractDialogCoords.x2;
+
+ if ( abstractDialogCoords.y2 - margins[2] > viewPaneSize.height - magnetDistance )
+ realY2= viewPaneSize.height + margins[2] ;
+ else if ( partName.search( 'b' ) != -1 && abstractDialogCoords.y2 - abstractDialogCoords.y < minHeight + magnetDistance )
+ realY2 = abstractDialogCoords.y + minHeight;
+ else
+ realY2 = abstractDialogCoords.y2 ;
+
+ dialog.move( realX, realY );
+ dialog.resize( realX2 - realX, realY2 - realY );
+
+ evt.data.preventDefault();
+ }
+
+ function mouseUpHandler( evt )
+ {
+ CKEDITOR.document.removeListener( 'mouseup', mouseUpHandler );
+ CKEDITOR.document.removeListener( 'mousemove', mouseMoveHandler );
+
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ var coverDoc = currentCover.getChild( 0 ).getFrameDocument();
+ coverDoc.removeListener( 'mouseup', mouseUpHandler );
+ coverDoc.removeListener( 'mousemove', mouseMoveHandler );
+ }
+ }
+
+// TODO : Simplify the resize logic, having just a single resize grip <div>.
+// var widthTest = /[lr]/,
+// heightTest = /[tb]/;
+// for ( var i = 0 ; i < parts.length ; i++ )
+// {
+// var element = dialog.parts[ parts[i] + '_resize' ];
+// if ( resizable == CKEDITOR.DIALOG_RESIZE_NONE ||
+// resizable == CKEDITOR.DIALOG_RESIZE_HEIGHT && widthTest.test( parts[i] ) ||
+// resizable == CKEDITOR.DIALOG_RESIZE_WIDTH && heightTest.test( parts[i] ) )
+// {
+// element.hide();
+// continue;
+// }
+// element.on( 'mousedown', mouseDownHandler, dialog, { part : parts[i] } );
+// }
+ }
+
+ var resizeCover;
+ // Caching resuable covers and allowing only one cover
+ // on screen.
+ var covers = {},
+ currentCover;
+
+ function showCover( editor )
+ {
+ var win = CKEDITOR.document.getWindow();
+ var backgroundColorStyle = editor.config.dialog_backgroundCoverColor || 'white',
+ backgroundCoverOpacity = editor.config.dialog_backgroundCoverOpacity,
+ baseFloatZIndex = editor.config.baseFloatZIndex,
+ coverKey = CKEDITOR.tools.genKey(
+ backgroundColorStyle,
+ backgroundCoverOpacity,
+ baseFloatZIndex ),
+ coverElement = covers[ coverKey ];
+
+ if ( !coverElement )
+ {
+ var html = [
+ '<div style="position: ', ( CKEDITOR.env.ie6Compat ? 'absolute' : 'fixed' ),
+ '; z-index: ', baseFloatZIndex,
+ '; top: 0px; left: 0px; ',
+ ( !CKEDITOR.env.ie6Compat ? 'background-color: ' + backgroundColorStyle : '' ),
+ '" class="cke_dialog_background_cover">'
+ ];
+
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ // Support for custom document.domain in IE.
+ var isCustomDomain = CKEDITOR.env.isCustomDomain(),
+ iframeHtml = '<html><body style=\\\'background-color:' + backgroundColorStyle + ';\\\'></body></html>';
+
+ html.push(
+ '<iframe' +
+ ' hidefocus="true"' +
+ ' frameborder="0"' +
+ ' id="cke_dialog_background_iframe"' +
+ ' src="javascript:' );
+
+ html.push( 'void((function(){' +
+ 'document.open();' +
+ ( isCustomDomain ? 'document.domain=\'' + document.domain + '\';' : '' ) +
+ 'document.write( \'' + iframeHtml + '\' );' +
+ 'document.close();' +
+ '})())' );
+
+ html.push(
+ '"' +
+ ' style="' +
+ 'position:absolute;' +
+ 'left:0;' +
+ 'top:0;' +
+ 'width:100%;' +
+ 'height: 100%;' +
+ 'progid:DXImageTransform.Microsoft.Alpha(opacity=0)">' +
+ '</iframe>' );
+ }
+
+ html.push( '</div>' );
+
+ coverElement = CKEDITOR.dom.element.createFromHtml( html.join( '' ) );
+ coverElement.setOpacity( backgroundCoverOpacity != undefined ? backgroundCoverOpacity : 0.5 );
+
+ coverElement.appendTo( CKEDITOR.document.getBody() );
+ covers[ coverKey ] = coverElement;
+ }
+ else
+ coverElement. show();
+
+ currentCover = coverElement;
+ var resizeFunc = function()
+ {
+ var size = win.getViewPaneSize();
+ coverElement.setStyles(
+ {
+ width : size.width + 'px',
+ height : size.height + 'px'
+ } );
+ };
+
+ var scrollFunc = function()
+ {
+ var pos = win.getScrollPosition(),
+ cursor = CKEDITOR.dialog._.currentTop;
+ coverElement.setStyles(
+ {
+ left : pos.x + 'px',
+ top : pos.y + 'px'
+ });
+
+ do
+ {
+ var dialogPos = cursor.getPosition();
+ cursor.move( dialogPos.x, dialogPos.y );
+ } while ( ( cursor = cursor._.parentDialog ) );
+ };
+
+ resizeCover = resizeFunc;
+ win.on( 'resize', resizeFunc );
+ resizeFunc();
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ // IE BUG: win.$.onscroll assignment doesn't work.. it must be window.onscroll.
+ // So we need to invent a really funny way to make it work.
+ var myScrollHandler = function()
+ {
+ scrollFunc();
+ arguments.callee.prevScrollHandler.apply( this, arguments );
+ };
+ win.$.setTimeout( function()
+ {
+ myScrollHandler.prevScrollHandler = window.onscroll || function(){};
+ window.onscroll = myScrollHandler;
+ }, 0 );
+ scrollFunc();
+ }
+ }
+
+ function hideCover()
+ {
+ if ( !currentCover )
+ return;
+
+ var win = CKEDITOR.document.getWindow();
+ currentCover.hide();
+ win.removeListener( 'resize', resizeCover );
+
+ if ( CKEDITOR.env.ie6Compat )
+ {
+ win.$.setTimeout( function()
+ {
+ var prevScrollHandler = window.onscroll && window.onscroll.prevScrollHandler;
+ window.onscroll = prevScrollHandler || null;
+ }, 0 );
+ }
+ resizeCover = null;
+ }
+
+ function removeCovers()
+ {
+ for ( var coverId in covers )
+ covers[ coverId ].remove();
+ covers = {};
+ }
+
+ var accessKeyProcessors = {};
+
+ var accessKeyDownHandler = function( evt )
+ {
+ var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
+ alt = evt.data.$.altKey,
+ shift = evt.data.$.shiftKey,
+ key = String.fromCharCode( evt.data.$.keyCode ),
+ keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
+
+ if ( !keyProcessor || !keyProcessor.length )
+ return;
+
+ keyProcessor = keyProcessor[keyProcessor.length - 1];
+ keyProcessor.keydown && keyProcessor.keydown.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
+ evt.data.preventDefault();
+ };
+
+ var accessKeyUpHandler = function( evt )
+ {
+ var ctrl = evt.data.$.ctrlKey || evt.data.$.metaKey,
+ alt = evt.data.$.altKey,
+ shift = evt.data.$.shiftKey,
+ key = String.fromCharCode( evt.data.$.keyCode ),
+ keyProcessor = accessKeyProcessors[( ctrl ? 'CTRL+' : '' ) + ( alt ? 'ALT+' : '') + ( shift ? 'SHIFT+' : '' ) + key];
+
+ if ( !keyProcessor || !keyProcessor.length )
+ return;
+
+ keyProcessor = keyProcessor[keyProcessor.length - 1];
+ if ( keyProcessor.keyup )
+ {
+ keyProcessor.keyup.call( keyProcessor.uiElement, keyProcessor.dialog, keyProcessor.key );
+ evt.data.preventDefault();
+ }
+ };
+
+ var registerAccessKey = function( uiElement, dialog, key, downFunc, upFunc )
+ {
+ var procList = accessKeyProcessors[key] || ( accessKeyProcessors[key] = [] );
+ procList.push( {
+ uiElement : uiElement,
+ dialog : dialog,
+ key : key,
+ keyup : upFunc || uiElement.accessKeyUp,
+ keydown : downFunc || uiElement.accessKeyDown
+ } );
+ };
+
+ var unregisterAccessKey = function( obj )
+ {
+ for ( var i in accessKeyProcessors )
+ {
+ var list = accessKeyProcessors[i];
+ for ( var j = list.length - 1 ; j >= 0 ; j-- )
+ {
+ if ( list[j].dialog == obj || list[j].uiElement == obj )
+ list.splice( j, 1 );
+ }
+ if ( list.length === 0 )
+ delete accessKeyProcessors[i];
+ }
+ };
+
+ var tabAccessKeyUp = function( dialog, key )
+ {
+ if ( dialog._.accessKeyMap[key] )
+ dialog.selectPage( dialog._.accessKeyMap[key] );
+ };
+
+ var tabAccessKeyDown = function( dialog, key )
+ {
+ };
+
+ // ESC, ENTER
+ var preventKeyBubblingKeys = { 27 :1, 13 :1 };
+ var preventKeyBubbling = function( e )
+ {
+ if ( e.data.getKeystroke() in preventKeyBubblingKeys )
+ e.data.stopPropagation();
+ };
+
+ (function()
+ {
+ CKEDITOR.ui.dialog =
+ {
+ /**
+ * The base class of all dialog UI elements.
+ * @constructor
+ * @param {CKEDITOR.dialog} dialog Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition Element
+ * definition. Accepted fields:
+ * <ul>
+ * <li><strong>id</strong> (Required) The id of the UI element. See {@link
+ * CKEDITOR.dialog#getContentElement}</li>
+ * <li><strong>type</strong> (Required) The type of the UI element. The
+ * value to this field specifies which UI element class will be used to
+ * generate the final widget.</li>
+ * <li><strong>title</strong> (Optional) The popup tooltip for the UI
+ * element.</li>
+ * <li><strong>hidden</strong> (Optional) A flag that tells if the element
+ * should be initially visible.</li>
+ * <li><strong>className</strong> (Optional) Additional CSS class names
+ * to add to the UI element. Separated by space.</li>
+ * <li><strong>style</strong> (Optional) Additional CSS inline styles
+ * to add to the UI element. A semicolon (;) is required after the last
+ * style declaration.</li>
+ * <li><strong>accessKey</strong> (Optional) The alphanumeric access key
+ * for this element. Access keys are automatically prefixed by CTRL.</li>
+ * <li><strong>on*</strong> (Optional) Any UI element definition field that
+ * starts with <em>on</em> followed immediately by a capital letter and
+ * probably more letters is an event handler. Event handlers may be further
+ * divided into registered event handlers and DOM event handlers. Please
+ * refer to {@link CKEDITOR.ui.dialog.uiElement#registerEvents} and
+ * {@link CKEDITOR.ui.dialog.uiElement#eventProcessors} for more
+ * information.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to be added to the dialog's content area.
+ * @param {Function|String} nodeNameArg
+ * A function returning a string, or a simple string for the node name for
+ * the root DOM node. Default is 'div'.
+ * @param {Function|Object} stylesArg
+ * A function returning an object, or a simple object for CSS styles applied
+ * to the DOM node. Default is empty object.
+ * @param {Function|Object} attributesArg
+ * A fucntion returning an object, or a simple object for attributes applied
+ * to the DOM node. Default is empty object.
+ * @param {Function|String} contentsArg
+ * A function returning a string, or a simple string for the HTML code inside
+ * the root DOM node. Default is empty string.
+ * @example
+ */
+ uiElement : function( dialog, elementDefinition, htmlList, nodeNameArg, stylesArg, attributesArg, contentsArg )
+ {
+ if ( arguments.length < 4 )
+ return;
+
+ var nodeName = ( nodeNameArg.call ? nodeNameArg( elementDefinition ) : nodeNameArg ) || 'div',
+ html = [ '<', nodeName, ' ' ],
+ styles = ( stylesArg && stylesArg.call ? stylesArg( elementDefinition ) : stylesArg ) || {},
+ attributes = ( attributesArg && attributesArg.call ? attributesArg( elementDefinition ) : attributesArg ) || {},
+ innerHTML = ( contentsArg && contentsArg.call ? contentsArg.call( this, dialog, elementDefinition ) : contentsArg ) || '',
+ domId = this.domId = attributes.id || CKEDITOR.tools.getNextId() + '_uiElement',
+ id = this.id = elementDefinition.id,
+ i;
+
+ // Set the id, a unique id is required for getElement() to work.
+ attributes.id = domId;
+
+ // Set the type and definition CSS class names.
+ var classes = {};
+ if ( elementDefinition.type )
+ classes[ 'cke_dialog_ui_' + elementDefinition.type ] = 1;
+ if ( elementDefinition.className )
+ classes[ elementDefinition.className ] = 1;
+ var attributeClasses = ( attributes['class'] && attributes['class'].split ) ? attributes['class'].split( ' ' ) : [];
+ for ( i = 0 ; i < attributeClasses.length ; i++ )
+ {
+ if ( attributeClasses[i] )
+ classes[ attributeClasses[i] ] = 1;
+ }
+ var finalClasses = [];
+ for ( i in classes )
+ finalClasses.push( i );
+ attributes['class'] = finalClasses.join( ' ' );
+
+ // Set the popup tooltop.
+ if ( elementDefinition.title )
+ attributes.title = elementDefinition.title;
+
+ // Write the inline CSS styles.
+ var styleStr = ( elementDefinition.style || '' ).split( ';' );
+ for ( i in styles )
+ styleStr.push( i + ':' + styles[i] );
+ if ( elementDefinition.hidden )
+ styleStr.push( 'display:none' );
+ for ( i = styleStr.length - 1 ; i >= 0 ; i-- )
+ {
+ if ( styleStr[i] === '' )
+ styleStr.splice( i, 1 );
+ }
+ if ( styleStr.length > 0 )
+ attributes.style = ( attributes.style ? ( attributes.style + '; ' ) : '' ) + styleStr.join( '; ' );
+
+ // Write the attributes.
+ for ( i in attributes )
+ html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ) + '" ');
+
+ // Write the content HTML.
+ html.push( '>', innerHTML, '</', nodeName, '>' );
+
+ // Add contents to the parent HTML array.
+ htmlList.push( html.join( '' ) );
+
+ ( this._ || ( this._ = {} ) ).dialog = dialog;
+
+ // Override isChanged if it is defined in element definition.
+ if ( typeof( elementDefinition.isChanged ) == 'boolean' )
+ this.isChanged = function(){ return elementDefinition.isChanged; };
+ if ( typeof( elementDefinition.isChanged ) == 'function' )
+ this.isChanged = elementDefinition.isChanged;
+
+ // Add events.
+ CKEDITOR.event.implementOn( this );
+
+ this.registerEvents( elementDefinition );
+ if ( this.accessKeyUp && this.accessKeyDown && elementDefinition.accessKey )
+ registerAccessKey( this, dialog, 'CTRL+' + elementDefinition.accessKey );
+
+ var me = this;
+ dialog.on( 'load', function()
+ {
+ if ( me.getInputElement() )
+ {
+ me.getInputElement().on( 'focus', function()
+ {
+ dialog._.tabBarMode = false;
+ dialog._.hasFocus = true;
+ me.fire( 'focus' );
+ }, me );
+ }
+ } );
+
+ // Register the object as a tab focus if it can be included.
+ if ( this.keyboardFocusable )
+ {
+ this.tabIndex = elementDefinition.tabIndex || 0;
+
+ this.focusIndex = dialog._.focusList.push( this ) - 1;
+ this.on( 'focus', function()
+ {
+ dialog._.currentFocusIndex = me.focusIndex;
+ } );
+ }
+
+ // Completes this object with everything we have in the
+ // definition.
+ CKEDITOR.tools.extend( this, elementDefinition );
+ },
+
+ /**
+ * Horizontal layout box for dialog UI elements, auto-expends to available width of container.
+ * @constructor
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {Array} childObjList
+ * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
+ * container.
+ * @param {Array} childHtmlList
+ * Array of HTML code that correspond to the HTML output of all the
+ * objects in childObjList.
+ * @param {Array} htmlList
+ * Array of HTML code that this element will output to.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>widths</strong> (Optional) The widths of child cells.</li>
+ * <li><strong>height</strong> (Optional) The height of the layout.</li>
+ * <li><strong>padding</strong> (Optional) The padding width inside child
+ * cells.</li>
+ * <li><strong>align</strong> (Optional) The alignment of the whole layout
+ * </li>
+ * </ul>
+ * @example
+ */
+ hbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
+ {
+ if ( arguments.length < 4 )
+ return;
+
+ this._ || ( this._ = {} );
+
+ var children = this._.children = childObjList,
+ widths = elementDefinition && elementDefinition.widths || null,
+ height = elementDefinition && elementDefinition.height || null,
+ styles = {},
+ i;
+ /** @ignore */
+ var innerHTML = function()
+ {
+ var html = [ '<tbody><tr class="cke_dialog_ui_hbox">' ];
+ for ( i = 0 ; i < childHtmlList.length ; i++ )
+ {
+ var className = 'cke_dialog_ui_hbox_child',
+ styles = [];
+ if ( i === 0 )
+ className = 'cke_dialog_ui_hbox_first';
+ if ( i == childHtmlList.length - 1 )
+ className = 'cke_dialog_ui_hbox_last';
+ html.push( '<td class="', className, '" role="presentation" ' );
+ if ( widths )
+ {
+ if ( widths[i] )
+ styles.push( 'width:' + CKEDITOR.tools.cssLength( widths[i] ) );
+ }
+ else
+ styles.push( 'width:' + Math.floor( 100 / childHtmlList.length ) + '%' );
+ if ( height )
+ styles.push( 'height:' + CKEDITOR.tools.cssLength( height ) );
+ if ( elementDefinition && elementDefinition.padding != undefined )
+ styles.push( 'padding:' + CKEDITOR.tools.cssLength( elementDefinition.padding ) );
+ if ( styles.length > 0 )
+ html.push( 'style="' + styles.join('; ') + '" ' );
+ html.push( '>', childHtmlList[i], '</td>' );
+ }
+ html.push( '</tr></tbody>' );
+ return html.join( '' );
+ };
+
+ var attribs = { role : 'presentation' };
+ elementDefinition && elementDefinition.align && ( attribs.align = elementDefinition.align );
+
+ CKEDITOR.ui.dialog.uiElement.call(
+ this,
+ dialog,
+ elementDefinition || { type : 'hbox' },
+ htmlList,
+ 'table',
+ styles,
+ attribs,
+ innerHTML );
+ },
+
+ /**
+ * Vertical layout box for dialog UI elements.
+ * @constructor
+ * @extends CKEDITOR.ui.dialog.hbox
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {Array} childObjList
+ * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
+ * container.
+ * @param {Array} childHtmlList
+ * Array of HTML code that correspond to the HTML output of all the
+ * objects in childObjList.
+ * @param {Array} htmlList
+ * Array of HTML code that this element will output to.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>width</strong> (Optional) The width of the layout.</li>
+ * <li><strong>heights</strong> (Optional) The heights of individual cells.
+ * </li>
+ * <li><strong>align</strong> (Optional) The alignment of the layout.</li>
+ * <li><strong>padding</strong> (Optional) The padding width inside child
+ * cells.</li>
+ * <li><strong>expand</strong> (Optional) Whether the layout should expand
+ * vertically to fill its container.</li>
+ * </ul>
+ * @example
+ */
+ vbox : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
+ {
+ if (arguments.length < 3 )
+ return;
+
+ this._ || ( this._ = {} );
+
+ var children = this._.children = childObjList,
+ width = elementDefinition && elementDefinition.width || null,
+ heights = elementDefinition && elementDefinition.heights || null;
+ /** @ignore */
+ var innerHTML = function()
+ {
+ var html = [ '<table role="presentation" cellspacing="0" border="0" ' ];
+ html.push( 'style="' );
+ if ( elementDefinition && elementDefinition.expand )
+ html.push( 'height:100%;' );
+ html.push( 'width:' + CKEDITOR.tools.cssLength( width || '100%' ), ';' );
+ html.push( '"' );
+ html.push( 'align="', CKEDITOR.tools.htmlEncode(
+ ( elementDefinition && elementDefinition.align ) || ( dialog.getParentEditor().lang.dir == 'ltr' ? 'left' : 'right' ) ), '" ' );
+
+ html.push( '><tbody>' );
+ for ( var i = 0 ; i < childHtmlList.length ; i++ )
+ {
+ var styles = [];
+ html.push( '<tr><td role="presentation" ' );
+ if ( width )
+ styles.push( 'width:' + CKEDITOR.tools.cssLength( width || '100%' ) );
+ if ( heights )
+ styles.push( 'height:' + CKEDITOR.tools.cssLength( heights[i] ) );
+ else if ( elementDefinition && elementDefinition.expand )
+ styles.push( 'height:' + Math.floor( 100 / childHtmlList.length ) + '%' );
+ if ( elementDefinition && elementDefinition.padding != undefined )
+ styles.push( 'padding:' + CKEDITOR.tools.cssLength( elementDefinition.padding ) );
+ if ( styles.length > 0 )
+ html.push( 'style="', styles.join( '; ' ), '" ' );
+ html.push( ' class="cke_dialog_ui_vbox_child">', childHtmlList[i], '</td></tr>' );
+ }
+ html.push( '</tbody></table>' );
+ return html.join( '' );
+ };
+ CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition || { type : 'vbox' }, htmlList, 'div', null, { role : 'presentation' }, innerHTML );
+ }
+ };
+ })();
+
+ CKEDITOR.ui.dialog.uiElement.prototype =
+ {
+ /**
+ * Gets the root DOM element of this dialog UI object.
+ * @returns {CKEDITOR.dom.element} Root DOM element of UI object.
+ * @example
+ * uiElement.getElement().hide();
+ */
+ getElement : function()
+ {
+ return CKEDITOR.document.getById( this.domId );
+ },
+
+ /**
+ * Gets the DOM element that the user inputs values.
+ * This function is used by setValue(), getValue() and focus(). It should
+ * be overrided in child classes where the input element isn't the root
+ * element.
+ * @returns {CKEDITOR.dom.element} The element where the user input values.
+ * @example
+ * var rawValue = textInput.getInputElement().$.value;
+ */
+ getInputElement : function()
+ {
+ return this.getElement();
+ },
+
+ /**
+ * Gets the parent dialog object containing this UI element.
+ * @returns {CKEDITOR.dialog} Parent dialog object.
+ * @example
+ * var dialog = uiElement.getDialog();
+ */
+ getDialog : function()
+ {
+ return this._.dialog;
+ },
+
+ /**
+ * Sets the value of this dialog UI object.
+ * @param {Object} value The new value.
+ * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+ * @example
+ * uiElement.setValue( 'Dingo' );
+ */
+ setValue : function( value, noChangeEvent )
+ {
+ this.getInputElement().setValue( value );
+ !noChangeEvent && this.fire( 'change', { value : value } );
+ return this;
+ },
+
+ /**
+ * Gets the current value of this dialog UI object.
+ * @returns {Object} The current value.
+ * @example
+ * var myValue = uiElement.getValue();
+ */
+ getValue : function()
+ {
+ return this.getInputElement().getValue();
+ },
+
+ /**
+ * Tells whether the UI object's value has changed.
+ * @returns {Boolean} true if changed, false if not changed.
+ * @example
+ * if ( uiElement.isChanged() )
+ * confirm( 'Value changed! Continue?' );
+ */
+ isChanged : function()
+ {
+ // Override in input classes.
+ return false;
+ },
+
+ /**
+ * Selects the parent tab of this element. Usually called by focus() or overridden focus() methods.
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+ * @example
+ * focus : function()
+ * {
+ * this.selectParentTab();
+ * // do something else.
+ * }
+ */
+ selectParentTab : function()
+ {
+ var element = this.getInputElement(),
+ cursor = element,
+ tabId;
+ while ( ( cursor = cursor.getParent() ) && cursor.$.className.search( 'cke_dialog_page_contents' ) == -1 )
+ { /*jsl:pass*/ }
+
+ // Some widgets don't have parent tabs (e.g. OK and Cancel buttons).
+ if ( !cursor )
+ return this;
+
+ tabId = cursor.getAttribute( 'name' );
+ // Avoid duplicate select.
+ if ( this._.dialog._.currentTabId != tabId )
+ this._.dialog.selectPage( tabId );
+ return this;
+ },
+
+ /**
+ * Puts the focus to the UI object. Switches tabs if the UI object isn't in the active tab page.
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+ * @example
+ * uiElement.focus();
+ */
+ focus : function()
+ {
+ this.selectParentTab().getInputElement().focus();
+ return this;
+ },
+
+ /**
+ * Registers the on* event handlers defined in the element definition.
+ * The default behavior of this function is:
+ * <ol>
+ * <li>
+ * If the on* event is defined in the class's eventProcesors list,
+ * then the registration is delegated to the corresponding function
+ * in the eventProcessors list.
+ * </li>
+ * <li>
+ * If the on* event is not defined in the eventProcessors list, then
+ * register the event handler under the corresponding DOM event of
+ * the UI element's input DOM element (as defined by the return value
+ * of {@link CKEDITOR.ui.dialog.uiElement#getInputElement}).
+ * </li>
+ * </ol>
+ * This function is only called at UI element instantiation, but can
+ * be overridded in child classes if they require more flexibility.
+ * @param {CKEDITOR.dialog.uiElementDefinition} definition The UI element
+ * definition.
+ * @returns {CKEDITOR.dialog.uiElement} The current UI element.
+ * @example
+ */
+ registerEvents : function( definition )
+ {
+ var regex = /^on([A-Z]\w+)/,
+ match;
+
+ var registerDomEvent = function( uiElement, dialog, eventName, func )
+ {
+ dialog.on( 'load', function()
+ {
+ uiElement.getInputElement().on( eventName, func, uiElement );
+ });
+ };
+
+ for ( var i in definition )
+ {
+ if ( !( match = i.match( regex ) ) )
+ continue;
+ if ( this.eventProcessors[i] )
+ this.eventProcessors[i].call( this, this._.dialog, definition[i] );
+ else
+ registerDomEvent( this, this._.dialog, match[1].toLowerCase(), definition[i] );
+ }
+
+ return this;
+ },
+
+ /**
+ * The event processor list used by
+ * {@link CKEDITOR.ui.dialog.uiElement#getInputElement} at UI element
+ * instantiation. The default list defines three on* events:
+ * <ol>
+ * <li>onLoad - Called when the element's parent dialog opens for the
+ * first time</li>
+ * <li>onShow - Called whenever the element's parent dialog opens.</li>
+ * <li>onHide - Called whenever the element's parent dialog closes.</li>
+ * </ol>
+ * @field
+ * @type Object
+ * @example
+ * // This connects the 'click' event in CKEDITOR.ui.dialog.button to onClick
+ * // handlers in the UI element's definitions.
+ * CKEDITOR.ui.dialog.button.eventProcessors = CKEDITOR.tools.extend( {},
+ * CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
+ * { onClick : function( dialog, func ) { this.on( 'click', func ); } },
+ * true );
+ */
+ eventProcessors :
+ {
+ onLoad : function( dialog, func )
+ {
+ dialog.on( 'load', func, this );
+ },
+
+ onShow : function( dialog, func )
+ {
+ dialog.on( 'show', func, this );
+ },
+
+ onHide : function( dialog, func )
+ {
+ dialog.on( 'hide', func, this );
+ }
+ },
+
+ /**
+ * The default handler for a UI element's access key down event, which
+ * tries to put focus to the UI element.<br />
+ * Can be overridded in child classes for more sophisticaed behavior.
+ * @param {CKEDITOR.dialog} dialog The parent dialog object.
+ * @param {String} key The key combination pressed. Since access keys
+ * are defined to always include the CTRL key, its value should always
+ * include a 'CTRL+' prefix.
+ * @example
+ */
+ accessKeyDown : function( dialog, key )
+ {
+ this.focus();
+ },
+
+ /**
+ * The default handler for a UI element's access key up event, which
+ * does nothing.<br />
+ * Can be overridded in child classes for more sophisticated behavior.
+ * @param {CKEDITOR.dialog} dialog The parent dialog object.
+ * @param {String} key The key combination pressed. Since access keys
+ * are defined to always include the CTRL key, its value should always
+ * include a 'CTRL+' prefix.
+ * @example
+ */
+ accessKeyUp : function( dialog, key )
+ {
+ },
+
+ /**
+ * Disables a UI element.
+ * @example
+ */
+ disable : function()
+ {
+ var element = this.getInputElement();
+ element.setAttribute( 'disabled', 'true' );
+ element.addClass( 'cke_disabled' );
+ },
+
+ /**
+ * Enables a UI element.
+ * @example
+ */
+ enable : function()
+ {
+ var element = this.getInputElement();
+ element.removeAttribute( 'disabled' );
+ element.removeClass( 'cke_disabled' );
+ },
+
+ /**
+ * Determines whether an UI element is enabled or not.
+ * @returns {Boolean} Whether the UI element is enabled.
+ * @example
+ */
+ isEnabled : function()
+ {
+ return !this.getInputElement().getAttribute( 'disabled' );
+ },
+
+ /**
+ * Determines whether an UI element is visible or not.
+ * @returns {Boolean} Whether the UI element is visible.
+ * @example
+ */
+ isVisible : function()
+ {
+ return this.getInputElement().isVisible();
+ },
+
+ /**
+ * Determines whether an UI element is focus-able or not.
+ * Focus-able is defined as being both visible and enabled.
+ * @returns {Boolean} Whether the UI element can be focused.
+ * @example
+ */
+ isFocusable : function()
+ {
+ if ( !this.isEnabled() || !this.isVisible() )
+ return false;
+ return true;
+ }
+ };
+
+ CKEDITOR.ui.dialog.hbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+ /**
+ * @lends CKEDITOR.ui.dialog.hbox.prototype
+ */
+ {
+ /**
+ * Gets a child UI element inside this container.
+ * @param {Array|Number} indices An array or a single number to indicate the child's
+ * position in the container's descendant tree. Omit to get all the children in an array.
+ * @returns {Array|CKEDITOR.ui.dialog.uiElement} Array of all UI elements in the container
+ * if no argument given, or the specified UI element if indices is given.
+ * @example
+ * var checkbox = hbox.getChild( [0,1] );
+ * checkbox.setValue( true );
+ */
+ getChild : function( indices )
+ {
+ // If no arguments, return a clone of the children array.
+ if ( arguments.length < 1 )
+ return this._.children.concat();
+
+ // If indices isn't array, make it one.
+ if ( !indices.splice )
+ indices = [ indices ];
+
+ // Retrieve the child element according to tree position.
+ if ( indices.length < 2 )
+ return this._.children[ indices[0] ];
+ else
+ return ( this._.children[ indices[0] ] && this._.children[ indices[0] ].getChild ) ?
+ this._.children[ indices[0] ].getChild( indices.slice( 1, indices.length ) ) :
+ null;
+ }
+ }, true );
+
+ CKEDITOR.ui.dialog.vbox.prototype = new CKEDITOR.ui.dialog.hbox();
+
+
+
+ (function()
+ {
+ var commonBuilder = {
+ build : function( dialog, elementDefinition, output )
+ {
+ var children = elementDefinition.children,
+ child,
+ childHtmlList = [],
+ childObjList = [];
+ for ( var i = 0 ; ( i < children.length && ( child = children[i] ) ) ; i++ )
+ {
+ var childHtml = [];
+ childHtmlList.push( childHtml );
+ childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) );
+ }
+ return new CKEDITOR.ui.dialog[elementDefinition.type]( dialog, childObjList, childHtmlList, output, elementDefinition );
+ }
+ };
+
+ CKEDITOR.dialog.addUIElement( 'hbox', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'vbox', commonBuilder );
+ })();
+
+ /**
+ * Generic dialog command. It opens a specific dialog when executed.
+ * @constructor
+ * @augments CKEDITOR.commandDefinition
+ * @param {string} dialogName The name of the dialog to open when executing
+ * this command.
+ * @example
+ * // Register the "link" command, which opens the "link" dialog.
+ * editor.addCommand( 'link', <b>new CKEDITOR.dialogCommand( 'link' )</b> );
+ */
+ CKEDITOR.dialogCommand = function( dialogName )
+ {
+ this.dialogName = dialogName;
+ };
+
+ CKEDITOR.dialogCommand.prototype =
+ {
+ /** @ignore */
+ exec : function( editor )
+ {
+ editor.openDialog( this.dialogName );
+ },
+
+ // Dialog commands just open a dialog ui, thus require no undo logic,
+ // undo support should dedicate to specific dialog implementation.
+ canUndo: false,
+
+ editorFocus : CKEDITOR.env.ie || CKEDITOR.env.webkit
+ };
+
+ (function()
+ {
+ var notEmptyRegex = /^([a]|[^a])+$/,
+ integerRegex = /^\d*$/,
+ numberRegex = /^\d*(?:\.\d+)?$/;
+
+ CKEDITOR.VALIDATE_OR = 1;
+ CKEDITOR.VALIDATE_AND = 2;
+
+ CKEDITOR.dialog.validate =
+ {
+ functions : function()
+ {
+ return function()
+ {
+ /**
+ * It's important for validate functions to be able to accept the value
+ * as argument in addition to this.getValue(), so that it is possible to
+ * combine validate functions together to make more sophisticated
+ * validators.
+ */
+ var value = this && this.getValue ? this.getValue() : arguments[0];
+
+ var msg = undefined,
+ relation = CKEDITOR.VALIDATE_AND,
+ functions = [], i;
+
+ for ( i = 0 ; i < arguments.length ; i++ )
+ {
+ if ( typeof( arguments[i] ) == 'function' )
+ functions.push( arguments[i] );
+ else
+ break;
+ }
+
+ if ( i < arguments.length && typeof( arguments[i] ) == 'string' )
+ {
+ msg = arguments[i];
+ i++;
+ }
+
+ if ( i < arguments.length && typeof( arguments[i]) == 'number' )
+ relation = arguments[i];
+
+ var passed = ( relation == CKEDITOR.VALIDATE_AND ? true : false );
+ for ( i = 0 ; i < functions.length ; i++ )
+ {
+ if ( relation == CKEDITOR.VALIDATE_AND )
+ passed = passed && functions[i]( value );
+ else
+ passed = passed || functions[i]( value );
+ }
+
+ if ( !passed )
+ {
+ if ( msg !== undefined )
+ alert( msg );
+ if ( this && ( this.select || this.focus ) )
+ ( this.select || this.focus )();
+ return false;
+ }
+
+ return true;
+ };
+ },
+
+ regex : function( regex, msg )
+ {
+ /*
+ * Can be greatly shortened by deriving from functions validator if code size
+ * turns out to be more important than performance.
+ */
+ return function()
+ {
+ var value = this && this.getValue ? this.getValue() : arguments[0];
+ if ( !regex.test( value ) )
+ {
+ if ( msg !== undefined )
+ alert( msg );
+ if ( this && ( this.select || this.focus ) )
+ {
+ if ( this.select )
+ this.select();
+ else
+ this.focus();
+ }
+ return false;
+ }
+ return true;
+ };
+ },
+
+ notEmpty : function( msg )
+ {
+ return this.regex( notEmptyRegex, msg );
+ },
+
+ integer : function( msg )
+ {
+ return this.regex( integerRegex, msg );
+ },
+
+ 'number' : function( msg )
+ {
+ return this.regex( numberRegex, msg );
+ },
+
+ equals : function( value, msg )
+ {
+ return this.functions( function( val ){ return val == value; }, msg );
+ },
+
+ notEqual : function( value, msg )
+ {
+ return this.functions( function( val ){ return val != value; }, msg );
+ }
+ };
+
+ CKEDITOR.on( 'instanceDestroyed', function( evt )
+ {
+ // Remove dialog cover on last instance destroy.
+ if ( CKEDITOR.tools.isEmpty( CKEDITOR.instances ) )
+ {
+ var currentTopDialog;
+ while ( ( currentTopDialog = CKEDITOR.dialog._.currentTop ) )
+ currentTopDialog.hide();
+ removeCovers();
+ }
+
+ var dialogs = evt.editor._.storedDialogs;
+ for ( var name in dialogs )
+ dialogs[ name ].destroy();
+
+ });
+
+ })();
+})();
+
+// Extend the CKEDITOR.editor class with dialog specific functions.
+CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
+ /** @lends CKEDITOR.editor.prototype */
+ {
+ /**
+ * Loads and opens a registered dialog.
+ * @param {String} dialogName The registered name of the dialog.
+ * @param {Function} callback The function to be invoked after dialog instance created.
+ * @see CKEDITOR.dialog.add
+ * @example
+ * CKEDITOR.instances.editor1.openDialog( 'smiley' );
+ * @returns {CKEDITOR.dialog} The dialog object corresponding to the dialog displayed. null if the dialog name is not registered.
+ */
+ openDialog : function( dialogName, callback )
+ {
+ var dialogDefinitions = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
+ dialogSkin = this.skin.dialog;
+
+ // If the dialogDefinition is already loaded, open it immediately.
+ if ( typeof dialogDefinitions == 'function' && dialogSkin._isLoaded )
+ {
+ var storedDialogs = this._.storedDialogs ||
+ ( this._.storedDialogs = {} );
+
+ var dialog = storedDialogs[ dialogName ] ||
+ ( storedDialogs[ dialogName ] = new CKEDITOR.dialog( this, dialogName ) );
+
+ callback && callback.call( dialog, dialog );
+ dialog.show();
+
+ return dialog;
+ }
+ else if ( dialogDefinitions == 'failed' )
+ throw new Error( '[CKEDITOR.dialog.openDialog] Dialog "' + dialogName + '" failed when loading definition.' );
+
+ // Not loaded? Load the .js file first.
+ var body = CKEDITOR.document.getBody(),
+ cursor = body.$.style.cursor,
+ me = this;
+
+ body.setStyle( 'cursor', 'wait' );
+
+ function onDialogFileLoaded( success )
+ {
+ var dialogDefinition = CKEDITOR.dialog._.dialogDefinitions[ dialogName ],
+ skin = me.skin.dialog;
+
+ // Check if both skin part and definition is loaded.
+ if ( !skin._isLoaded || loadDefinition && typeof success == 'undefined' )
+ return;
+
+ // In case of plugin error, mark it as loading failed.
+ if ( typeof dialogDefinition != 'function' )
+ CKEDITOR.dialog._.dialogDefinitions[ dialogName ] = 'failed';
+
+ me.openDialog( dialogName, callback );
+ body.setStyle( 'cursor', cursor );
+ }
+
+ if ( typeof dialogDefinitions == 'string' )
+ {
+ var loadDefinition = 1;
+ CKEDITOR.scriptLoader.load( CKEDITOR.getUrl( dialogDefinitions ), onDialogFileLoaded );
+ }
+
+ CKEDITOR.skins.load( this, 'dialog', onDialogFileLoaded );
+
+ return null;
+ }
+ });
+
+CKEDITOR.plugins.add( 'dialog',
+ {
+ requires : [ 'dialogui' ]
+ });
+
+// Dialog related configurations.
+
+/**
+ * The color of the dialog background cover. It should be a valid CSS color
+ * string.
+ * @name CKEDITOR.config.dialog_backgroundCoverColor
+ * @type String
+ * @default 'white'
+ * @example
+ * config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)';
+ */
+
+/**
+ * The opacity of the dialog background cover. It should be a number within the
+ * range [0.0, 1.0].
+ * @name CKEDITOR.config.dialog_backgroundCoverOpacity
+ * @type Number
+ * @default 0.5
+ * @example
+ * config.dialog_backgroundCoverOpacity = 0.7;
+ */
+
+/**
+ * If the dialog has more than one tab, put focus into the first tab as soon as dialog is opened.
+ * @name CKEDITOR.config.dialog_startupFocusTab
+ * @type Boolean
+ * @default false
+ * @example
+ * config.dialog_startupFocusTab = true;
+ */
+
+/**
+ * The distance of magnetic borders used in moving and resizing dialogs,
+ * measured in pixels.
+ * @name CKEDITOR.config.dialog_magnetDistance
+ * @type Number
+ * @default 20
+ * @example
+ * config.dialog_magnetDistance = 30;
+ */
+
+/**
+ * Fired when a dialog definition is about to be used to create a dialog into
+ * an editor instance. This event makes it possible to customize the definition
+ * before creating it.
+ * <p>Note that this event is called only the first time a specific dialog is
+ * opened. Successive openings will use the cached dialog, and this event will
+ * not get fired.</p>
+ * @name CKEDITOR#dialogDefinition
+ * @event
+ * @param {CKEDITOR.dialog.dialogDefinition} data The dialog defination that
+ * is being loaded.
+ * @param {CKEDITOR.editor} editor The editor instance that will use the
+ * dialog.
+ */
+
+/**
+ * Fired when a tab is going to be selected in a dialog
+ * @name dialog#selectPage
+ * @event
+ * @param String page The id of the page that it's gonna be selected.
+ * @param String currentPage The id of the current page.
+ */
diff --git a/devel/third-party/ckeditor/plugins/dialogadvtab/plugin.js b/devel/third-party/ckeditor/plugins/dialogadvtab/plugin.js
new file mode 100644
index 0000000..5feec9c
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/dialogadvtab/plugin.js
@@ -0,0 +1,207 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+
+function setupAdvParams( element )
+{
+ var attrName = this.att;
+
+ var value = element && element.hasAttribute( attrName ) && element.getAttribute( attrName ) || '';
+
+ if ( value !== undefined )
+ this.setValue( value );
+}
+
+function commitAdvParams()
+{
+ // Dialogs may use different parameters in the commit list, so, by
+ // definition, we take the first CKEDITOR.dom.element available.
+ var element;
+
+ for ( var i = 0 ; i < arguments.length ; i++ )
+ {
+ if ( arguments[ i ] instanceof CKEDITOR.dom.element )
+ {
+ element = arguments[ i ];
+ break;
+ }
+ }
+
+ if ( element )
+ {
+ var attrName = this.att,
+ value = this.getValue();
+
+ if ( value )
+ element.setAttribute( attrName, value );
+ else
+ element.removeAttribute( attrName, value );
+ }
+}
+
+CKEDITOR.plugins.add( 'dialogadvtab',
+{
+ /**
+ *
+ * @param tabConfig
+ * id, dir, classes, styles
+ */
+ createAdvancedTab : function( editor, tabConfig )
+ {
+ if ( !tabConfig )
+ tabConfig = { id:1, dir:1, classes:1, styles:1 };
+
+ var lang = editor.lang.common;
+
+ var result =
+ {
+ id : 'advanced',
+ label : lang.advancedTab,
+ title : lang.advancedTab,
+ elements :
+ [
+ {
+ type : 'vbox',
+ padding : 1,
+ children : []
+ }
+ ]
+ };
+
+ var contents = [];
+
+ if ( tabConfig.id || tabConfig.dir )
+ {
+ if ( tabConfig.id )
+ {
+ contents.push(
+ {
+ id : 'advId',
+ att : 'id',
+ type : 'text',
+ label : lang.id,
+ setup : setupAdvParams,
+ commit : commitAdvParams
+ });
+ }
+
+ if ( tabConfig.dir )
+ {
+ contents.push(
+ {
+ id : 'advLangDir',
+ att : 'dir',
+ type : 'select',
+ label : lang.langDir,
+ 'default' : '',
+ style : 'width:100%',
+ items :
+ [
+ [ lang.notSet, '' ],
+ [ lang.langDirLTR, 'ltr' ],
+ [ lang.langDirRTL, 'rtl' ]
+ ],
+ setup : setupAdvParams,
+ commit : commitAdvParams
+ });
+ }
+
+ result.elements[ 0 ].children.push(
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children : [].concat( contents )
+ });
+ }
+
+ if ( tabConfig.styles || tabConfig.classes )
+ {
+ contents = [];
+
+ if ( tabConfig.styles )
+ {
+ contents.push(
+ {
+ id : 'advStyles',
+ att : 'style',
+ type : 'text',
+ label : lang.styles,
+ 'default' : '',
+
+ onChange : function(){},
+
+ getStyle : function( name, defaultValue )
+ {
+ var match = this.getValue().match( new RegExp( name + '\\s*:\s*([^;]*)', 'i') );
+ return match ? match[ 1 ] : defaultValue;
+ },
+
+ updateStyle : function( name, value )
+ {
+ 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;
+ }
+
+ this.setValue( styles, true );
+
+ },
+
+ setup : setupAdvParams,
+
+ commit : commitAdvParams
+
+ });
+ }
+
+ if ( tabConfig.classes )
+ {
+ contents.push(
+ {
+ type : 'hbox',
+ widths : [ '45%', '55%' ],
+ children :
+ [
+ {
+ id : 'advCSSClasses',
+ att : 'class',
+ type : 'text',
+ label : lang.cssClasses,
+ 'default' : '',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ }
+ ]
+ });
+ }
+
+ result.elements[ 0 ].children.push(
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children : [].concat( contents )
+ });
+ }
+
+ return result;
+ }
+});
+
+})();
diff --git a/devel/third-party/ckeditor/plugins/dialogui/plugin.js b/devel/third-party/ckeditor/plugins/dialogui/plugin.js
new file mode 100644
index 0000000..7875b5b
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/dialogui/plugin.js
@@ -0,0 +1,1522 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/** @fileoverview The "dialogui" plugin. */
+
+CKEDITOR.plugins.add( 'dialogui' );
+
+(function()
+{
+ var initPrivateObject = function( elementDefinition )
+ {
+ this._ || ( this._ = {} );
+ this._['default'] = this._.initValue = elementDefinition['default'] || '';
+ this._.required = elementDefinition[ 'required' ] || false;
+ var args = [ this._ ];
+ for ( var i = 1 ; i < arguments.length ; i++ )
+ args.push( arguments[i] );
+ args.push( true );
+ CKEDITOR.tools.extend.apply( CKEDITOR.tools, args );
+ return this._;
+ },
+ textBuilder =
+ {
+ build : function( dialog, elementDefinition, output )
+ {
+ return new CKEDITOR.ui.dialog.textInput( dialog, elementDefinition, output );
+ }
+ },
+ commonBuilder =
+ {
+ build : function( dialog, elementDefinition, output )
+ {
+ return new CKEDITOR.ui.dialog[elementDefinition.type]( dialog, elementDefinition, output );
+ }
+ },
+ containerBuilder =
+ {
+ build : function( dialog, elementDefinition, output )
+ {
+ var children = elementDefinition.children,
+ child,
+ childHtmlList = [],
+ childObjList = [];
+ for ( var i = 0 ; ( i < children.length && ( child = children[i] ) ) ; i++ )
+ {
+ var childHtml = [];
+ childHtmlList.push( childHtml );
+ childObjList.push( CKEDITOR.dialog._.uiElementBuilders[ child.type ].build( dialog, child, childHtml ) );
+ }
+ return new CKEDITOR.ui.dialog[ elementDefinition.type ]( dialog, childObjList, childHtmlList, output, elementDefinition );
+ }
+ },
+ commonPrototype =
+ {
+ isChanged : function()
+ {
+ return this.getValue() != this.getInitValue();
+ },
+
+ reset : function( noChangeEvent )
+ {
+ this.setValue( this.getInitValue(), noChangeEvent );
+ },
+
+ setInitValue : function()
+ {
+ this._.initValue = this.getValue();
+ },
+
+ resetInitValue : function()
+ {
+ this._.initValue = this._['default'];
+ },
+
+ getInitValue : function()
+ {
+ return this._.initValue;
+ }
+ },
+ commonEventProcessors = CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
+ {
+ onChange : function( dialog, func )
+ {
+ if ( !this._.domOnChangeRegistered )
+ {
+ dialog.on( 'load', function()
+ {
+ this.getInputElement().on( 'change', function()
+ {
+ // Make sure 'onchange' doesn't get fired after dialog closed. (#5719)
+ if ( !dialog.parts.dialog.isVisible() )
+ return;
+
+ this.fire( 'change', { value : this.getValue() } );
+ }, this );
+ }, this );
+ this._.domOnChangeRegistered = true;
+ }
+
+ this.on( 'change', func );
+ }
+ }, true ),
+ eventRegex = /^on([A-Z]\w+)/,
+ cleanInnerDefinition = function( def )
+ {
+ // An inner UI element should not have the parent's type, title or events.
+ for ( var i in def )
+ {
+ if ( eventRegex.test( i ) || i == 'title' || i == 'type' )
+ delete def[i];
+ }
+ return def;
+ };
+
+ CKEDITOR.tools.extend( CKEDITOR.ui.dialog,
+ /** @lends CKEDITOR.ui.dialog */
+ {
+ /**
+ * Base class for all dialog elements with a textual label on the left.
+ * @constructor
+ * @example
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>label</strong> (Required) The label string.</li>
+ * <li><strong>labelLayout</strong> (Optional) Put 'horizontal' here if the
+ * label element is to be layed out horizontally. Otherwise a vertical
+ * layout will be used.</li>
+ * <li><strong>widths</strong> (Optional) This applies only for horizontal
+ * layouts - an 2-element array of lengths to specify the widths of the
+ * label and the content element.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ * @param {Function} contentHtml
+ * A function returning the HTML code string to be added inside the content
+ * cell.
+ */
+ labeledElement : function( dialog, elementDefinition, htmlList, contentHtml )
+ {
+ if ( arguments.length < 4 )
+ return;
+
+ var _ = initPrivateObject.call( this, elementDefinition );
+ _.labelId = CKEDITOR.tools.getNextId() + '_label';
+ var children = this._.children = [];
+ /** @ignore */
+ var innerHTML = function()
+ {
+ var html = [],
+ requiredClass = elementDefinition.required ? ' cke_required' : '' ;
+ if ( elementDefinition.labelLayout != 'horizontal' )
+ html.push( '<label class="cke_dialog_ui_labeled_label' + requiredClass + '" ',
+ ' id="'+ _.labelId + '"',
+ ' for="' + _.inputId + '"',
+ ' style="' + elementDefinition.labelStyle + '">',
+ elementDefinition.label,
+ '</label>',
+ '<div class="cke_dialog_ui_labeled_content" role="presentation">',
+ contentHtml.call( this, dialog, elementDefinition ),
+ '</div>' );
+ else
+ {
+ var hboxDefinition = {
+ type : 'hbox',
+ widths : elementDefinition.widths,
+ padding : 0,
+ children :
+ [
+ {
+ type : 'html',
+ html : '<label class="cke_dialog_ui_labeled_label' + requiredClass + '"' +
+ ' id="' + _.labelId + '"' +
+ ' for="' + _.inputId + '"' +
+ ' style="' + elementDefinition.labelStyle + '">' +
+ CKEDITOR.tools.htmlEncode( elementDefinition.label ) +
+ '</span>'
+ },
+ {
+ type : 'html',
+ html : '<span class="cke_dialog_ui_labeled_content">' +
+ contentHtml.call( this, dialog, elementDefinition ) +
+ '</span>'
+ }
+ ]
+ };
+ CKEDITOR.dialog._.uiElementBuilders.hbox.build( dialog, hboxDefinition, html );
+ }
+ return html.join( '' );
+ };
+ CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'div', null, { role : 'presentation' }, innerHTML );
+ },
+
+ /**
+ * A text input with a label. This UI element class represents both the
+ * single-line text inputs and password inputs in dialog boxes.
+ * @constructor
+ * @example
+ * @extends CKEDITOR.ui.dialog.labeledElement
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>default</strong> (Optional) The default value.</li>
+ * <li><strong>validate</strong> (Optional) The validation function. </li>
+ * <li><strong>maxLength</strong> (Optional) The maximum length of text box
+ * contents.</li>
+ * <li><strong>size</strong> (Optional) The size of the text box. This is
+ * usually overridden by the size defined by the skin, however.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ textInput : function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ initPrivateObject.call( this, elementDefinition );
+ var domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textInput',
+ attributes = { 'class' : 'cke_dialog_ui_input_' + elementDefinition.type, id : domId, type : 'text' },
+ i;
+
+ // Set the validator, if any.
+ if ( elementDefinition.validate )
+ this.validate = elementDefinition.validate;
+
+ // Set the max length and size.
+ if ( elementDefinition.maxLength )
+ attributes.maxlength = elementDefinition.maxLength;
+ if ( elementDefinition.size )
+ attributes.size = elementDefinition.size;
+
+ if ( elementDefinition.controlStyle )
+ attributes.style = elementDefinition.controlStyle;
+
+ // If user presses Enter in a text box, it implies clicking OK for the dialog.
+ var me = this, keyPressedOnMe = false;
+ dialog.on( 'load', function()
+ {
+ me.getInputElement().on( 'keydown', function( evt )
+ {
+ if ( evt.data.getKeystroke() == 13 )
+ keyPressedOnMe = true;
+ } );
+
+ // Lower the priority this 'keyup' since 'ok' will close the dialog.(#3749)
+ me.getInputElement().on( 'keyup', function( evt )
+ {
+ if ( evt.data.getKeystroke() == 13 && keyPressedOnMe )
+ {
+ dialog.getButton( 'ok' ) && setTimeout( function ()
+ {
+ dialog.getButton( 'ok' ).click();
+ }, 0 );
+ keyPressedOnMe = false;
+ }
+ }, null, null, 1000 );
+ } );
+
+ /** @ignore */
+ var innerHTML = function()
+ {
+ // IE BUG: Text input fields in IE at 100% would exceed a <td> or inline
+ // container's width, so need to wrap it inside a <div>.
+ var html = [ '<div class="cke_dialog_ui_input_', elementDefinition.type, '" role="presentation"' ];
+
+ if ( elementDefinition.width )
+ html.push( 'style="width:'+ elementDefinition.width +'" ' );
+
+ html.push( '><input ' );
+
+ attributes[ 'aria-labelledby' ] = this._.labelId;
+ this._.required && ( attributes[ 'aria-required' ] = this._.required );
+ for ( var i in attributes )
+ html.push( i + '="' + attributes[i] + '" ' );
+ html.push( ' /></div>' );
+ return html.join( '' );
+ };
+ CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+ },
+
+ /**
+ * A text area with a label on the top or left.
+ * @constructor
+ * @extends CKEDITOR.ui.dialog.labeledElement
+ * @example
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>rows</strong> (Optional) The number of rows displayed.
+ * Defaults to 5 if not defined.</li>
+ * <li><strong>cols</strong> (Optional) The number of cols displayed.
+ * Defaults to 20 if not defined. Usually overridden by skins.</li>
+ * <li><strong>default</strong> (Optional) The default value.</li>
+ * <li><strong>validate</strong> (Optional) The validation function. </li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ textarea : function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ initPrivateObject.call( this, elementDefinition );
+ var me = this,
+ domId = this._.inputId = CKEDITOR.tools.getNextId() + '_textarea',
+ attributes = {};
+
+ if ( elementDefinition.validate )
+ this.validate = elementDefinition.validate;
+
+ // Generates the essential attributes for the textarea tag.
+ attributes.rows = elementDefinition.rows || 5;
+ attributes.cols = elementDefinition.cols || 20;
+
+ /** @ignore */
+ var innerHTML = function()
+ {
+ attributes[ 'aria-labelledby' ] = this._.labelId;
+ this._.required && ( attributes[ 'aria-required' ] = this._.required );
+ var html = [ '<div class="cke_dialog_ui_input_textarea" role="presentation"><textarea class="cke_dialog_ui_input_textarea" id="', domId, '" ' ];
+ for ( var i in attributes )
+ html.push( i + '="' + CKEDITOR.tools.htmlEncode( attributes[i] ) + '" ' );
+ html.push( '>', CKEDITOR.tools.htmlEncode( me._['default'] ), '</textarea></div>' );
+ return html.join( '' );
+ };
+ CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+ },
+
+ /**
+ * A single checkbox with a label on the right.
+ * @constructor
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @example
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>checked</strong> (Optional) Whether the checkbox is checked
+ * on instantiation. Defaults to false.</li>
+ * <li><strong>validate</strong> (Optional) The validation function.</li>
+ * <li><strong>label</strong> (Optional) The checkbox label.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ checkbox : function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ var _ = initPrivateObject.call( this, elementDefinition, { 'default' : !!elementDefinition[ 'default' ] } );
+
+ if ( elementDefinition.validate )
+ this.validate = elementDefinition.validate;
+
+ /** @ignore */
+ var innerHTML = function()
+ {
+ var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
+ {
+ id : elementDefinition.id ? elementDefinition.id + '_checkbox' : CKEDITOR.tools.getNextId() + '_checkbox'
+ }, true ),
+ html = [];
+
+ var labelId = CKEDITOR.tools.getNextId() + '_label';
+ var attributes = { 'class' : 'cke_dialog_ui_checkbox_input', type : 'checkbox', 'aria-labelledby' : labelId };
+ cleanInnerDefinition( myDefinition );
+ if ( elementDefinition[ 'default' ] )
+ attributes.checked = 'checked';
+
+ if (typeof myDefinition.controlStyle != 'undefined')
+ myDefinition.style = myDefinition.controlStyle;
+
+ _.checkbox = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'input', null, attributes );
+ html.push( ' <label id="', labelId, '" for="', attributes.id, '">',
+ CKEDITOR.tools.htmlEncode( elementDefinition.label ),
+ '</label>' );
+ return html.join( '' );
+ };
+
+ CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'span', null, null, innerHTML );
+ },
+
+ /**
+ * A group of radio buttons.
+ * @constructor
+ * @example
+ * @extends CKEDITOR.ui.dialog.labeledElement
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>default</strong> (Required) The default value.</li>
+ * <li><strong>validate</strong> (Optional) The validation function.</li>
+ * <li><strong>items</strong> (Required) An array of options. Each option
+ * is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value'
+ * is missing, then the value would be assumed to be the same as the
+ * description.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ radio : function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3)
+ return;
+
+ initPrivateObject.call( this, elementDefinition );
+ if ( !this._['default'] )
+ this._['default'] = this._.initValue = elementDefinition.items[0][1];
+ if ( elementDefinition.validate )
+ this.validate = elementDefinition.valdiate;
+ var children = [], me = this;
+
+ /** @ignore */
+ var innerHTML = function()
+ {
+ var inputHtmlList = [], html = [],
+ commonAttributes = { 'class' : 'cke_dialog_ui_radio_item', 'aria-labelledby' : this._.labelId },
+ commonName = elementDefinition.id ? elementDefinition.id + '_radio' : CKEDITOR.tools.getNextId() + '_radio';
+ for ( var i = 0 ; i < elementDefinition.items.length ; i++ )
+ {
+ var item = elementDefinition.items[i],
+ title = item[2] !== undefined ? item[2] : item[0],
+ value = item[1] !== undefined ? item[1] : item[0],
+ inputId = CKEDITOR.tools.getNextId() + '_radio_input',
+ labelId = inputId + '_label',
+ inputDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
+ {
+ id : inputId,
+ title : null,
+ type : null
+ }, true ),
+ labelDefinition = CKEDITOR.tools.extend( {}, inputDefinition,
+ {
+ title : title
+ }, true ),
+ inputAttributes =
+ {
+ type : 'radio',
+ 'class' : 'cke_dialog_ui_radio_input',
+ name : commonName,
+ value : value,
+ 'aria-labelledby' : labelId
+ },
+ inputHtml = [];
+ if ( me._['default'] == value )
+ inputAttributes.checked = 'checked';
+ cleanInnerDefinition( inputDefinition );
+ cleanInnerDefinition( labelDefinition );
+
+ if (typeof inputDefinition.controlStyle != 'undefined')
+ inputDefinition.style = inputDefinition.controlStyle;
+
+ children.push( new CKEDITOR.ui.dialog.uiElement( dialog, inputDefinition, inputHtml, 'input', null, inputAttributes ) );
+ inputHtml.push( ' ' );
+ new CKEDITOR.ui.dialog.uiElement( dialog, labelDefinition, inputHtml, 'label', null, { id : labelId, 'for' : inputAttributes.id },
+ item[0] );
+ inputHtmlList.push( inputHtml.join( '' ) );
+ }
+ new CKEDITOR.ui.dialog.hbox( dialog, [], inputHtmlList, html );
+ return html.join( '' );
+ };
+
+ CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+ this._.children = children;
+ },
+
+ /**
+ * A button with a label inside.
+ * @constructor
+ * @example
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>label</strong> (Required) The button label.</li>
+ * <li><strong>disabled</strong> (Optional) Set to true if you want the
+ * button to appear in disabled state.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ button : function( dialog, elementDefinition, htmlList )
+ {
+ if ( !arguments.length )
+ return;
+
+ if ( typeof elementDefinition == 'function' )
+ elementDefinition = elementDefinition( dialog.getParentEditor() );
+
+ initPrivateObject.call( this, elementDefinition, { disabled : elementDefinition.disabled || false } );
+
+ // Add OnClick event to this input.
+ CKEDITOR.event.implementOn( this );
+
+ var me = this;
+
+ // Register an event handler for processing button clicks.
+ dialog.on( 'load', function( eventInfo )
+ {
+ var element = this.getElement();
+
+ (function()
+ {
+ element.on( 'click', function( evt )
+ {
+ me.fire( 'click', { dialog : me.getDialog() } );
+ evt.data.preventDefault();
+ } );
+
+ element.on( 'keydown', function( evt )
+ {
+ if ( evt.data.getKeystroke() in { 32:1 } )
+ {
+ me.click();
+ evt.data.preventDefault();
+ }
+ } );
+ })();
+
+ element.unselectable();
+ }, this );
+
+ var outerDefinition = CKEDITOR.tools.extend( {}, elementDefinition );
+ delete outerDefinition.style;
+
+ var labelId = CKEDITOR.tools.getNextId() + '_label';
+ CKEDITOR.ui.dialog.uiElement.call(
+ this,
+ dialog,
+ outerDefinition,
+ htmlList,
+ 'a',
+ null,
+ {
+ style : elementDefinition.style,
+ href : 'javascript:void(0)',
+ title : elementDefinition.label,
+ hidefocus : 'true',
+ 'class' : elementDefinition['class'],
+ role : 'button',
+ 'aria-labelledby' : labelId
+ },
+ '<span id="' + labelId + '" class="cke_dialog_ui_button">' +
+ CKEDITOR.tools.htmlEncode( elementDefinition.label ) +
+ '</span>' );
+ },
+
+ /**
+ * A select box.
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @example
+ * @constructor
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>default</strong> (Required) The default value.</li>
+ * <li><strong>validate</strong> (Optional) The validation function.</li>
+ * <li><strong>items</strong> (Required) An array of options. Each option
+ * is a 1- or 2-item array of format [ 'Description', 'Value' ]. If 'Value'
+ * is missing, then the value would be assumed to be the same as the
+ * description.</li>
+ * <li><strong>multiple</strong> (Optional) Set this to true if you'd like
+ * to have a multiple-choice select box.</li>
+ * <li><strong>size</strong> (Optional) The number of items to display in
+ * the select box.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ select : function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ var _ = initPrivateObject.call( this, elementDefinition );
+
+ if ( elementDefinition.validate )
+ this.validate = elementDefinition.validate;
+
+ _.inputId = CKEDITOR.tools.getNextId() + '_select';
+ /** @ignore */
+ var innerHTML = function()
+ {
+ var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition,
+ {
+ id : elementDefinition.id ? elementDefinition.id + '_select' : CKEDITOR.tools.getNextId() + '_select'
+ }, true ),
+ html = [],
+ innerHTML = [],
+ attributes = { 'id' : _.inputId, 'class' : 'cke_dialog_ui_input_select', 'aria-labelledby' : this._.labelId };
+
+ // Add multiple and size attributes from element definition.
+ if ( elementDefinition.size != undefined )
+ attributes.size = elementDefinition.size;
+ if ( elementDefinition.multiple != undefined )
+ attributes.multiple = elementDefinition.multiple;
+
+ cleanInnerDefinition( myDefinition );
+ for ( var i = 0, item ; i < elementDefinition.items.length && ( item = elementDefinition.items[i] ) ; i++ )
+ {
+ innerHTML.push( '<option value="',
+ CKEDITOR.tools.htmlEncode( item[1] !== undefined ? item[1] : item[0] ), '" /> ',
+ CKEDITOR.tools.htmlEncode( item[0] ) );
+ }
+
+ if (typeof myDefinition.controlStyle != 'undefined')
+ myDefinition.style = myDefinition.controlStyle;
+
+ _.select = new CKEDITOR.ui.dialog.uiElement( dialog, myDefinition, html, 'select', null, attributes, innerHTML.join( '' ) );
+ return html.join( '' );
+ };
+
+ CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+ },
+
+ /**
+ * A file upload input.
+ * @extends CKEDITOR.ui.dialog.labeledElement
+ * @example
+ * @constructor
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>validate</strong> (Optional) The validation function.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ file : function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ if ( elementDefinition['default'] === undefined )
+ elementDefinition['default'] = '';
+
+ var _ = CKEDITOR.tools.extend( initPrivateObject.call( this, elementDefinition ), { definition : elementDefinition, buttons : [] } );
+
+ if ( elementDefinition.validate )
+ this.validate = elementDefinition.validate;
+
+ /** @ignore */
+ var innerHTML = function()
+ {
+ _.frameId = CKEDITOR.tools.getNextId() + '_fileInput';
+
+ // Support for custom document.domain in IE.
+ var isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+ var html = [
+ '<iframe' +
+ ' frameborder="0"' +
+ ' allowtransparency="0"' +
+ ' class="cke_dialog_ui_input_file"' +
+ ' id="', _.frameId, '"' +
+ ' title="', elementDefinition.label, '"' +
+ ' src="javascript:void(' ];
+
+ html.push(
+ isCustomDomain ?
+ '(function(){' +
+ 'document.open();' +
+ 'document.domain=\'' + document.domain + '\';' +
+ 'document.close();' +
+ '})()'
+ :
+ '0' );
+
+ html.push(
+ ')">' +
+ '</iframe>' );
+
+ return html.join( '' );
+ };
+
+ // IE BUG: Parent container does not resize to contain the iframe automatically.
+ dialog.on( 'load', function()
+ {
+ var iframe = CKEDITOR.document.getById( _.frameId ),
+ contentDiv = iframe.getParent();
+ contentDiv.addClass( 'cke_dialog_ui_input_file' );
+ } );
+
+ CKEDITOR.ui.dialog.labeledElement.call( this, dialog, elementDefinition, htmlList, innerHTML );
+ },
+
+ /**
+ * A button for submitting the file in a file upload input.
+ * @extends CKEDITOR.ui.dialog.button
+ * @example
+ * @constructor
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>for</strong> (Required) The file input's page and element Id
+ * to associate to, in a 2-item array format: [ 'page_id', 'element_id' ].
+ * </li>
+ * <li><strong>validate</strong> (Optional) The validation function.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ fileButton : function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ var _ = initPrivateObject.call( this, elementDefinition ),
+ me = this;
+
+ if ( elementDefinition.validate )
+ this.validate = elementDefinition.validate;
+
+ var myDefinition = CKEDITOR.tools.extend( {}, elementDefinition );
+ var onClick = myDefinition.onClick;
+ myDefinition.className = ( myDefinition.className ? myDefinition.className + ' ' : '' ) + 'cke_dialog_ui_button';
+ myDefinition.onClick = function( evt )
+ {
+ var target = elementDefinition[ 'for' ]; // [ pageId, elementId ]
+ if ( !onClick || onClick.call( this, evt ) !== false )
+ {
+ dialog.getContentElement( target[0], target[1] ).submit();
+ this.disable();
+ }
+ };
+
+ dialog.on( 'load', function()
+ {
+ dialog.getContentElement( elementDefinition[ 'for' ][0], elementDefinition[ 'for' ][1] )._.buttons.push( me );
+ } );
+
+ CKEDITOR.ui.dialog.button.call( this, dialog, myDefinition, htmlList );
+ },
+
+ html : (function()
+ {
+ var myHtmlRe = /^\s*<[\w:]+\s+([^>]*)?>/,
+ theirHtmlRe = /^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,
+ emptyTagRe = /\/$/;
+ /**
+ * A dialog element made from raw HTML code.
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @name CKEDITOR.ui.dialog.html
+ * @param {CKEDITOR.dialog} dialog Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition Element definition.
+ * Accepted fields:
+ * <ul>
+ * <li><strong>html</strong> (Required) HTML code of this element.</li>
+ * </ul>
+ * @param {Array} htmlList List of HTML code to be added to the dialog's content area.
+ * @example
+ * @constructor
+ */
+ return function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ var myHtmlList = [],
+ myHtml,
+ theirHtml = elementDefinition.html,
+ myMatch, theirMatch;
+
+ // If the HTML input doesn't contain any tags at the beginning, add a <span> tag around it.
+ if ( theirHtml.charAt( 0 ) != '<' )
+ theirHtml = '<span>' + theirHtml + '</span>';
+
+ // Look for focus function in definition.
+ var focus = elementDefinition.focus;
+ if ( focus )
+ {
+ var oldFocus = this.focus;
+ this.focus = function()
+ {
+ oldFocus.call( this );
+ typeof focus == 'function' && focus.call( this );
+ this.fire( 'focus' );
+ };
+ if ( elementDefinition.isFocusable )
+ {
+ var oldIsFocusable = this.isFocusable;
+ this.isFocusable = oldIsFocusable;
+ }
+ this.keyboardFocusable = true;
+ }
+
+ CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, myHtmlList, 'span', null, null, '' );
+
+ // Append the attributes created by the uiElement call to the real HTML.
+ myHtml = myHtmlList.join( '' );
+ myMatch = myHtml.match( myHtmlRe );
+ theirMatch = theirHtml.match( theirHtmlRe ) || [ '', '', '' ];
+
+ if ( emptyTagRe.test( theirMatch[1] ) )
+ {
+ theirMatch[1] = theirMatch[1].slice( 0, -1 );
+ theirMatch[2] = '/' + theirMatch[2];
+ }
+
+ htmlList.push( [ theirMatch[1], ' ', myMatch[1] || '', theirMatch[2] ].join( '' ) );
+ };
+ })(),
+
+ /**
+ * Form fieldset for grouping dialog UI elements.
+ * @constructor
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @param {CKEDITOR.dialog} dialog Parent dialog object.
+ * @param {Array} childObjList
+ * Array of {@link CKEDITOR.ui.dialog.uiElement} objects inside this
+ * container.
+ * @param {Array} childHtmlList
+ * Array of HTML code that correspond to the HTML output of all the
+ * objects in childObjList.
+ * @param {Array} htmlList
+ * Array of HTML code that this element will output to.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>label</strong> (Optional) The legend of the this fieldset.</li>
+ * <li><strong>children</strong> (Required) An array of dialog field definitions which will be grouped inside this fieldset. </li>
+ * </ul>
+ */
+ fieldset : function( dialog, childObjList, childHtmlList, htmlList, elementDefinition )
+ {
+ var legendLabel = elementDefinition.label;
+ /** @ignore */
+ var innerHTML = function()
+ {
+ var html = [];
+ legendLabel && html.push( '<legend>' + legendLabel + '</legend>' );
+ for ( var i = 0; i < childHtmlList.length; i++ )
+ html.push( childHtmlList[ i ] );
+ return html.join( '' );
+ };
+
+ this._ = { children : childObjList };
+ CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, htmlList, 'fieldset', null, null, innerHTML );
+ }
+
+ }, true );
+
+ CKEDITOR.ui.dialog.html.prototype = new CKEDITOR.ui.dialog.uiElement;
+
+ CKEDITOR.ui.dialog.labeledElement.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+ /** @lends CKEDITOR.ui.dialog.labeledElement.prototype */
+ {
+ /**
+ * Sets the label text of the element.
+ * @param {String} label The new label text.
+ * @returns {CKEDITOR.ui.dialog.labeledElement} The current labeled element.
+ * @example
+ */
+ setLabel : function( label )
+ {
+ var node = CKEDITOR.document.getById( this._.labelId );
+ if ( node.getChildCount() < 1 )
+ ( new CKEDITOR.dom.text( label, CKEDITOR.document ) ).appendTo( node );
+ else
+ node.getChild( 0 ).$.nodeValue = label;
+ return this;
+ },
+
+ /**
+ * Retrieves the current label text of the elment.
+ * @returns {String} The current label text.
+ * @example
+ */
+ getLabel : function()
+ {
+ var node = CKEDITOR.document.getById( this._.labelId );
+ if ( !node || node.getChildCount() < 1 )
+ return '';
+ else
+ return node.getChild( 0 ).getText();
+ },
+
+ /**
+ * Defines the onChange event for UI element definitions.
+ * @field
+ * @type Object
+ * @example
+ */
+ eventProcessors : commonEventProcessors
+ }, true );
+
+ CKEDITOR.ui.dialog.button.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+ /** @lends CKEDITOR.ui.dialog.button.prototype */
+ {
+ /**
+ * Simulates a click to the button.
+ * @example
+ * @returns {Object} Return value of the 'click' event.
+ */
+ click : function()
+ {
+ if ( !this._.disabled )
+ return this.fire( 'click', { dialog : this._.dialog } );
+ this.getElement().$.blur();
+ return false;
+ },
+
+ /**
+ * Enables the button.
+ * @example
+ */
+ enable : function()
+ {
+ this._.disabled = false;
+ var element = this.getElement();
+ element && element.removeClass( 'disabled' );
+ },
+
+ /**
+ * Disables the button.
+ * @example
+ */
+ disable : function()
+ {
+ this._.disabled = true;
+ this.getElement().addClass( 'disabled' );
+ },
+
+ isVisible : function()
+ {
+ return this.getElement().getFirst().isVisible();
+ },
+
+ isEnabled : function()
+ {
+ return !this._.disabled;
+ },
+
+ /**
+ * Defines the onChange event and onClick for button element definitions.
+ * @field
+ * @type Object
+ * @example
+ */
+ eventProcessors : CKEDITOR.tools.extend( {}, CKEDITOR.ui.dialog.uiElement.prototype.eventProcessors,
+ {
+ /** @ignore */
+ onClick : function( dialog, func )
+ {
+ this.on( 'click', func );
+ }
+ }, true ),
+
+ /**
+ * Handler for the element's access key up event. Simulates a click to
+ * the button.
+ * @example
+ */
+ accessKeyUp : function()
+ {
+ this.click();
+ },
+
+ /**
+ * Handler for the element's access key down event. Simulates a mouse
+ * down to the button.
+ * @example
+ */
+ accessKeyDown : function()
+ {
+ this.focus();
+ },
+
+ keyboardFocusable : true
+ }, true );
+
+ CKEDITOR.ui.dialog.textInput.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement,
+ /** @lends CKEDITOR.ui.dialog.textInput.prototype */
+ {
+ /**
+ * Gets the text input DOM element under this UI object.
+ * @example
+ * @returns {CKEDITOR.dom.element} The DOM element of the text input.
+ */
+ getInputElement : function()
+ {
+ return CKEDITOR.document.getById( this._.inputId );
+ },
+
+ /**
+ * Puts focus into the text input.
+ * @example
+ */
+ focus : function()
+ {
+ var me = this.selectParentTab();
+
+ // GECKO BUG: setTimeout() is needed to workaround invisible selections.
+ setTimeout( function()
+ {
+ var element = me.getInputElement();
+ element && element.$.focus();
+ }, 0 );
+ },
+
+ /**
+ * Selects all the text in the text input.
+ * @example
+ */
+ select : function()
+ {
+ var me = this.selectParentTab();
+
+ // GECKO BUG: setTimeout() is needed to workaround invisible selections.
+ setTimeout( function()
+ {
+ var e = me.getInputElement();
+ if ( e )
+ {
+ e.$.focus();
+ e.$.select();
+ }
+ }, 0 );
+ },
+
+ /**
+ * Handler for the text input's access key up event. Makes a select()
+ * call to the text input.
+ * @example
+ */
+ accessKeyUp : function()
+ {
+ this.select();
+ },
+
+ /**
+ * Sets the value of this text input object.
+ * @param {Object} value The new value.
+ * @returns {CKEDITOR.ui.dialog.textInput} The current UI element.
+ * @example
+ * uiElement.setValue( 'Blamo' );
+ */
+ setValue : function( value )
+ {
+ !value && ( value = '' );
+ return CKEDITOR.ui.dialog.uiElement.prototype.setValue.apply( this, arguments );
+ },
+
+ keyboardFocusable : true
+ }, commonPrototype, true );
+
+ CKEDITOR.ui.dialog.textarea.prototype = new CKEDITOR.ui.dialog.textInput();
+
+ CKEDITOR.ui.dialog.select.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement,
+ /** @lends CKEDITOR.ui.dialog.select.prototype */
+ {
+ /**
+ * Gets the DOM element of the select box.
+ * @returns {CKEDITOR.dom.element} The <select> element of this UI
+ * element.
+ * @example
+ */
+ getInputElement : function()
+ {
+ return this._.select.getElement();
+ },
+
+ /**
+ * Adds an option to the select box.
+ * @param {String} label Option label.
+ * @param {String} value (Optional) Option value, if not defined it'll be
+ * assumed to be the same as the label.
+ * @param {Number} index (Optional) Position of the option to be inserted
+ * to. If not defined the new option will be inserted to the end of list.
+ * @example
+ * @returns {CKEDITOR.ui.dialog.select} The current select UI element.
+ */
+ add : function( label, value, index )
+ {
+ var option = new CKEDITOR.dom.element( 'option', this.getDialog().getParentEditor().document ),
+ selectElement = this.getInputElement().$;
+ option.$.text = label;
+ option.$.value = ( value === undefined || value === null ) ? label : value;
+ if ( index === undefined || index === null )
+ {
+ if ( CKEDITOR.env.ie )
+ selectElement.add( option.$ );
+ else
+ selectElement.add( option.$, null );
+ }
+ else
+ selectElement.add( option.$, index );
+ return this;
+ },
+
+ /**
+ * Removes an option from the selection list.
+ * @param {Number} index Index of the option to be removed.
+ * @example
+ * @returns {CKEDITOR.ui.dialog.select} The current select UI element.
+ */
+ remove : function( index )
+ {
+ var selectElement = this.getInputElement().$;
+ selectElement.remove( index );
+ return this;
+ },
+
+ /**
+ * Clears all options out of the selection list.
+ * @returns {CKEDITOR.ui.dialog.select} The current select UI element.
+ */
+ clear : function()
+ {
+ var selectElement = this.getInputElement().$;
+ while ( selectElement.length > 0 )
+ selectElement.remove( 0 );
+ return this;
+ },
+
+ keyboardFocusable : true
+ }, commonPrototype, true );
+
+ CKEDITOR.ui.dialog.checkbox.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+ /** @lends CKEDITOR.ui.dialog.checkbox.prototype */
+ {
+ /**
+ * Gets the checkbox DOM element.
+ * @example
+ * @returns {CKEDITOR.dom.element} The DOM element of the checkbox.
+ */
+ getInputElement : function()
+ {
+ return this._.checkbox.getElement();
+ },
+
+ /**
+ * Sets the state of the checkbox.
+ * @example
+ * @param {Boolean} true to tick the checkbox, false to untick it.
+ * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
+ */
+ setValue : function( checked, noChangeEvent )
+ {
+ this.getInputElement().$.checked = checked;
+ !noChangeEvent && this.fire( 'change', { value : checked } );
+ },
+
+ /**
+ * Gets the state of the checkbox.
+ * @example
+ * @returns {Boolean} true means the checkbox is ticked, false means it's not ticked.
+ */
+ getValue : function()
+ {
+ return this.getInputElement().$.checked;
+ },
+
+ /**
+ * Handler for the access key up event. Toggles the checkbox.
+ * @example
+ */
+ accessKeyUp : function()
+ {
+ this.setValue( !this.getValue() );
+ },
+
+ /**
+ * Defines the onChange event for UI element definitions.
+ * @field
+ * @type Object
+ * @example
+ */
+ eventProcessors :
+ {
+ onChange : function( dialog, func )
+ {
+ if ( !CKEDITOR.env.ie )
+ return commonEventProcessors.onChange.apply( this, arguments );
+ else
+ {
+ dialog.on( 'load', function()
+ {
+ var element = this._.checkbox.getElement();
+ element.on( 'propertychange', function( evt )
+ {
+ evt = evt.data.$;
+ if ( evt.propertyName == 'checked' )
+ this.fire( 'change', { value : element.$.checked } );
+ }, this );
+ }, this );
+ this.on( 'change', func );
+ }
+ return null;
+ }
+ },
+
+ keyboardFocusable : true
+ }, commonPrototype, true );
+
+ CKEDITOR.ui.dialog.radio.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.uiElement,
+ /** @lends CKEDITOR.ui.dialog.radio.prototype */
+ {
+ /**
+ * Checks one of the radio buttons in this button group.
+ * @example
+ * @param {String} value The value of the button to be chcked.
+ * @param {Boolean} noChangeEvent Internal commit, to supress 'change' event on this element.
+ */
+ setValue : function( value, noChangeEvent )
+ {
+ var children = this._.children,
+ item;
+ for ( var i = 0 ; ( i < children.length ) && ( item = children[i] ) ; i++ )
+ item.getElement().$.checked = ( item.getValue() == value );
+ !noChangeEvent && this.fire( 'change', { value : value } );
+ },
+
+ /**
+ * Gets the value of the currently checked radio button.
+ * @example
+ * @returns {String} The currently checked button's value.
+ */
+ getValue : function()
+ {
+ var children = this._.children;
+ for ( var i = 0 ; i < children.length ; i++ )
+ {
+ if ( children[i].getElement().$.checked )
+ return children[i].getValue();
+ }
+ return null;
+ },
+
+ /**
+ * Handler for the access key up event. Focuses the currently
+ * selected radio button, or the first radio button if none is
+ * selected.
+ * @example
+ */
+ accessKeyUp : function()
+ {
+ var children = this._.children, i;
+ for ( i = 0 ; i < children.length ; i++ )
+ {
+ if ( children[i].getElement().$.checked )
+ {
+ children[i].getElement().focus();
+ return;
+ }
+ }
+ children[0].getElement().focus();
+ },
+
+ /**
+ * Defines the onChange event for UI element definitions.
+ * @field
+ * @type Object
+ * @example
+ */
+ eventProcessors :
+ {
+ onChange : function( dialog, func )
+ {
+ if ( !CKEDITOR.env.ie )
+ return commonEventProcessors.onChange.apply( this, arguments );
+ else
+ {
+ dialog.on( 'load', function()
+ {
+ var children = this._.children, me = this;
+ for ( var i = 0 ; i < children.length ; i++ )
+ {
+ var element = children[i].getElement();
+ element.on( 'propertychange', function( evt )
+ {
+ evt = evt.data.$;
+ if ( evt.propertyName == 'checked' && this.$.checked )
+ me.fire( 'change', { value : this.getAttribute( 'value' ) } );
+ } );
+ }
+ }, this );
+ this.on( 'change', func );
+ }
+ return null;
+ }
+ },
+
+ keyboardFocusable : true
+ }, commonPrototype, true );
+
+ CKEDITOR.ui.dialog.file.prototype = CKEDITOR.tools.extend( new CKEDITOR.ui.dialog.labeledElement,
+ commonPrototype,
+ /** @lends CKEDITOR.ui.dialog.file.prototype */
+ {
+ /**
+ * Gets the <input> element of this file input.
+ * @returns {CKEDITOR.dom.element} The file input element.
+ * @example
+ */
+ getInputElement : function()
+ {
+ var frameDocument = CKEDITOR.document.getById( this._.frameId ).getFrameDocument();
+ return frameDocument.$.forms.length > 0 ?
+ new CKEDITOR.dom.element( frameDocument.$.forms[0].elements[0] ) :
+ this.getElement();
+ },
+
+ /**
+ * Uploads the file in the file input.
+ * @returns {CKEDITOR.ui.dialog.file} This object.
+ * @example
+ */
+ submit : function()
+ {
+ this.getInputElement().getParent().$.submit();
+ return this;
+ },
+
+ /**
+ * Get the action assigned to the form.
+ * @returns {String} The value of the action.
+ * @example
+ */
+ getAction : function()
+ {
+ return this.getInputElement().getParent().$.action;
+ },
+
+ /**
+ * The events must be applied on the inner input element, and
+ * that must be done when the iframe & form has been loaded
+ */
+ registerEvents : function( definition )
+ {
+ var regex = /^on([A-Z]\w+)/,
+ match;
+
+ var registerDomEvent = function( uiElement, dialog, eventName, func )
+ {
+ uiElement.on( 'formLoaded', function()
+ {
+ uiElement.getInputElement().on( eventName, func, uiElement );
+ });
+ };
+
+ for ( var i in definition )
+ {
+ if ( !( match = i.match( regex ) ) )
+ continue;
+
+ if ( this.eventProcessors[i] )
+ this.eventProcessors[i].call( this, this._.dialog, definition[i] );
+ else
+ registerDomEvent( this, this._.dialog, match[1].toLowerCase(), definition[i] );
+ }
+
+ return this;
+ },
+
+ /**
+ * Redraws the file input and resets the file path in the file input.
+ * The redraw logic is necessary because non-IE browsers tend to clear
+ * the <iframe> containing the file input after closing the dialog.
+ * @example
+ */
+ reset : function()
+ {
+ var frameElement = CKEDITOR.document.getById( this._.frameId ),
+ frameDocument = frameElement.getFrameDocument(),
+ elementDefinition = this._.definition,
+ buttons = this._.buttons,
+ callNumber = this.formLoadedNumber,
+ unloadNumber = this.formUnloadNumber,
+ langDir = this._.dialog._.editor.lang.dir,
+ langCode = this._.dialog._.editor.langCode;
+
+ // The callback function for the iframe, but we must call tools.addFunction only once
+ // so we store the function number in this.formLoadedNumber
+ if (!callNumber)
+ {
+ callNumber = this.formLoadedNumber = CKEDITOR.tools.addFunction(
+ function()
+ {
+ // Now we can apply the events to the input type=file
+ this.fire( 'formLoaded' ) ;
+ }, this ) ;
+
+ // Remove listeners attached to the content of the iframe (the file input)
+ unloadNumber = this.formUnloadNumber = CKEDITOR.tools.addFunction(
+ function()
+ {
+ this.getInputElement().clearCustomData();
+ }, this ) ;
+
+ this.getDialog()._.editor.on( 'destroy', function()
+ {
+ CKEDITOR.tools.removeFunction( callNumber );
+ CKEDITOR.tools.removeFunction( unloadNumber );
+ } );
+ }
+
+ function generateFormField()
+ {
+ frameDocument.$.open();
+
+ // Support for custom document.domain in IE.
+ if ( CKEDITOR.env.isCustomDomain() )
+ frameDocument.$.domain = document.domain;
+
+ var size = '';
+ if ( elementDefinition.size )
+ size = elementDefinition.size - ( CKEDITOR.env.ie ? 7 : 0 ); // "Browse" button is bigger in IE.
+
+ frameDocument.$.write( [ '<html dir="' + langDir + '" lang="' + langCode + '"><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">',
+ '<form enctype="multipart/form-data" method="POST" dir="' + langDir + '" lang="' + langCode + '" action="',
+ CKEDITOR.tools.htmlEncode( elementDefinition.action ),
+ '">',
+ '<input type="file" name="',
+ CKEDITOR.tools.htmlEncode( elementDefinition.id || 'cke_upload' ),
+ '" size="',
+ CKEDITOR.tools.htmlEncode( size > 0 ? size : "" ),
+ '" />',
+ '</form>',
+ '</body></html>',
+ '<script>window.parent.CKEDITOR.tools.callFunction(' + callNumber + ');',
+ 'window.onbeforeunload = function() {window.parent.CKEDITOR.tools.callFunction(' + unloadNumber + ')}</script>' ].join( '' ) );
+
+ frameDocument.$.close();
+
+ for ( var i = 0 ; i < buttons.length ; i++ )
+ buttons[i].enable();
+ }
+
+ // #3465: Wait for the browser to finish rendering the dialog first.
+ if ( CKEDITOR.env.gecko )
+ setTimeout( generateFormField, 500 );
+ else
+ generateFormField();
+ },
+
+ getValue : function()
+ {
+ return this.getInputElement().$.value;
+ },
+
+ /***
+ * The default value of input type="file" is an empty string, but during initialization
+ * of this UI element, the iframe still isn't ready so it can't be read from that object
+ * Setting it manually prevents later issues about the current value ("") being different
+ * of the initial value (undefined as it asked for .value of a div)
+ */
+ setInitValue : function()
+ {
+ this._.initValue = '';
+ },
+
+ /**
+ * Defines the onChange event for UI element definitions.
+ * @field
+ * @type Object
+ * @example
+ */
+ eventProcessors :
+ {
+ onChange : function( dialog, func )
+ {
+ // If this method is called several times (I'm not sure about how this can happen but the default
+ // onChange processor includes this protection)
+ // In order to reapply to the new element, the property is deleted at the beggining of the registerEvents method
+ if ( !this._.domOnChangeRegistered )
+ {
+ // By listening for the formLoaded event, this handler will get reapplied when a new
+ // form is created
+ this.on( 'formLoaded', function()
+ {
+ this.getInputElement().on( 'change', function(){ this.fire( 'change', { value : this.getValue() } ); }, this );
+ }, this );
+ this._.domOnChangeRegistered = true;
+ }
+
+ this.on( 'change', func );
+ }
+ },
+
+ keyboardFocusable : true
+ }, true );
+
+ CKEDITOR.ui.dialog.fileButton.prototype = new CKEDITOR.ui.dialog.button;
+
+ CKEDITOR.ui.dialog.fieldset.prototype = CKEDITOR.tools.clone( CKEDITOR.ui.dialog.hbox.prototype );
+
+ CKEDITOR.dialog.addUIElement( 'text', textBuilder );
+ CKEDITOR.dialog.addUIElement( 'password', textBuilder );
+ CKEDITOR.dialog.addUIElement( 'textarea', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'checkbox', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'radio', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'button', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'select', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'file', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'fileButton', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'html', commonBuilder );
+ CKEDITOR.dialog.addUIElement( 'fieldset', containerBuilder );
+})();
diff --git a/devel/third-party/ckeditor/plugins/div/dialogs/div.js b/devel/third-party/ckeditor/plugins/div/dialogs/div.js
new file mode 100644
index 0000000..cf865f7
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/div/dialogs/div.js
@@ -0,0 +1,535 @@
+/*
+ * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+(function()
+{
+
+ /**
+ * Add to collection with DUP examination.
+ * @param {Object} collection
+ * @param {Object} element
+ * @param {Object} database
+ */
+ function addSafely( collection, element, database )
+ {
+ // 1. IE doesn't support customData on text nodes;
+ // 2. Text nodes never get chance to appear twice;
+ if ( !element.is || !element.getCustomData( 'block_processed' ) )
+ {
+ element.is && CKEDITOR.dom.element.setMarker( database, element, 'block_processed', true );
+ collection.push( element );
+ }
+ }
+
+ function getNonEmptyChildren( element )
+ {
+ var retval = [];
+ var children = element.getChildren();
+ for ( var i = 0 ; i < children.count() ; i++ )
+ {
+ var child = children.getItem( i );
+ if ( ! ( child.type === CKEDITOR.NODE_TEXT
+ && ( /^[ \t\n\r]+$/ ).test( child.getText() ) ) )
+ retval.push( child );
+ }
+ return retval;
+ }
+
+
+ /**
+ * Dialog reused by both 'creatediv' and 'editdiv' commands.
+ * @param {Object} editor
+ * @param {String} command The command name which indicate what the current command is.
+ */
+ function divDialog( editor, command )
+ {
+ // Definition of elements at which div operation should stopped.
+ var divLimitDefinition = ( function(){
+
+ // Customzie from specialize blockLimit elements
+ var definition = CKEDITOR.tools.extend( {}, CKEDITOR.dtd.$blockLimit );
+
+ // Exclude 'div' itself.
+ delete definition.div;
+
+ // Exclude 'td' and 'th' when 'wrapping table'
+ if ( editor.config.div_wrapTable )
+ {
+ delete definition.td;
+ delete definition.th;
+ }
+ return definition;
+ })();
+
+ // DTD of 'div' element
+ var dtd = CKEDITOR.dtd.div;
+
+ /**
+ * Get the first div limit element on the element's path.
+ * @param {Object} element
+ */
+ function getDivLimitElement( element )
+ {
+ var pathElements = new CKEDITOR.dom.elementPath( element ).elements;
+ var divLimit;
+ for ( var i = 0; i < pathElements.length ; i++ )
+ {
+ if ( pathElements[ i ].getName() in divLimitDefinition )
+ {
+ divLimit = pathElements[ i ];
+ break;
+ }
+ }
+ return divLimit;
+ }
+
+ /**
+ * Init all fields' setup/commit function.
+ * @memberof divDialog
+ */
+ function setupFields()
+ {
+ this.foreach( function( field )
+ {
+ // Exclude layout container elements
+ if ( /^(?!vbox|hbox)/.test( field.type ) )
+ {
+ if ( !field.setup )
+ {
+ // Read the dialog fields values from the specified
+ // element attributes.
+ field.setup = function( element )
+ {
+ field.setValue( element.getAttribute( field.id ) || '' );
+ };
+ }
+ if ( !field.commit )
+ {
+ // Set element attributes assigned by the dialog
+ // fields.
+ field.commit = function( element )
+ {
+ var fieldValue = this.getValue();
+ // ignore default element attribute values
+ if ( 'dir' == field.id && element.getComputedStyle( 'direction' ) == fieldValue )
+ return;
+
+ if ( fieldValue )
+ element.setAttribute( field.id, fieldValue );
+ else
+ element.removeAttribute( field.id );
+ };
+ }
+ }
+ } );
+ }
+
+ /**
+ * Wrapping 'div' element around appropriate blocks among the selected ranges.
+ * @param {Object} editor
+ */
+ function createDiv( editor )
+ {
+ // new adding containers OR detected pre-existed containers.
+ var containers = [];
+ // node markers store.
+ var database = {};
+ // All block level elements which contained by the ranges.
+ var containedBlocks = [], block;
+
+ // Get all ranges from the selection.
+ var selection = editor.document.getSelection();
+ var ranges = selection.getRanges();
+ var bookmarks = selection.createBookmarks();
+ var i, iterator;
+
+ // Calcualte a default block tag if we need to create blocks.
+ var blockTag = editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p';
+
+ // collect all included elements from dom-iterator
+ for ( i = 0 ; i < ranges.length ; i++ )
+ {
+ iterator = ranges[ i ].createIterator();
+ while ( ( block = iterator.getNextParagraph() ) )
+ {
+ // include contents of blockLimit elements.
+ if ( block.getName() in divLimitDefinition )
+ {
+ var j, childNodes = block.getChildren();
+ for ( j = 0 ; j < childNodes.count() ; j++ )
+ addSafely( containedBlocks, childNodes.getItem( j ) , database );
+ }
+ else
+ {
+ // Bypass dtd disallowed elements.
+ while ( !dtd[ block.getName() ] && block.getName() != 'body' )
+ block = block.getParent();
+ addSafely( containedBlocks, block, database );
+ }
+ }
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ var blockGroups = groupByDivLimit( containedBlocks );
+ var ancestor, blockEl, divElement;
+
+ for ( i = 0 ; i < blockGroups.length ; i++ )
+ {
+ var currentNode = blockGroups[ i ][ 0 ];
+
+ // Calculate the common parent node of all contained elements.
+ ancestor = currentNode.getParent();
+ for ( j = 1 ; j < blockGroups[ i ].length; j++ )
+ ancestor = ancestor.getCommonAncestor( blockGroups[ i ][ j ] );
+
+ divElement = new CKEDITOR.dom.element( 'div', editor.document );
+
+ // Normalize the blocks in each group to a common parent.
+ for ( j = 0; j < blockGroups[ i ].length ; j++ )
+ {
+ currentNode = blockGroups[ i ][ j ];
+
+ while ( !currentNode.getParent().equals( ancestor ) )
+ currentNode = currentNode.getParent();
+
+ // This could introduce some duplicated elements in array.
+ blockGroups[ i ][ j ] = currentNode;
+ }
+
+ // Wrapped blocks counting
+ var fixedBlock = null;
+ for ( j = 0 ; j < blockGroups[ i ].length ; j++ )
+ {
+ currentNode = blockGroups[ i ][ j ];
+
+ // Avoid DUP elements introduced by grouping.
+ if ( !( currentNode.getCustomData && currentNode.getCustomData( 'block_processed' ) ) )
+ {
+ currentNode.is && CKEDITOR.dom.element.setMarker( database, currentNode, 'block_processed', true );
+
+ // Establish new container, wrapping all elements in this group.
+ if ( !j )
+ divElement.insertBefore( currentNode );
+
+ divElement.append( currentNode );
+ }
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+ containers.push( divElement );
+ }
+
+ selection.selectBookmarks( bookmarks );
+ return containers;
+ }
+
+ function getDiv( editor )
+ {
+ var path = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() ),
+ blockLimit = path.blockLimit,
+ div = blockLimit && blockLimit.getAscendant( 'div', true );
+ return div;
+ }
+ /**
+ * Divide a set of nodes to different groups by their path's blocklimit element.
+ * Note: the specified nodes should be in source order naturally, which mean they are supposed to producea by following class:
+ * * CKEDITOR.dom.range.Iterator
+ * * CKEDITOR.dom.domWalker
+ * @return {Array []} the grouped nodes
+ */
+ function groupByDivLimit( nodes )
+ {
+ var groups = [],
+ lastDivLimit = null,
+ path, block;
+ for ( var i = 0 ; i < nodes.length ; i++ )
+ {
+ block = nodes[i];
+ var limit = getDivLimitElement( block );
+ if ( !limit.equals( lastDivLimit ) )
+ {
+ lastDivLimit = limit ;
+ groups.push( [] ) ;
+ }
+ groups[ groups.length - 1 ].push( block ) ;
+ }
+ return groups;
+ }
+
+ // Synchronous field values to other impacted fields is required, e.g. div styles
+ // change should also alter inline-style text.
+ function commitInternally( targetFields )
+ {
+ var dialog = this.getDialog(),
+ element = dialog._element && dialog._element.clone()
+ || new CKEDITOR.dom.element( 'div', editor.document );
+
+ // Commit this field and broadcast to target fields.
+ this.commit( element, true );
+
+ targetFields = [].concat( targetFields );
+ var length = targetFields.length, field;
+ for ( var i = 0; i < length; i++ )
+ {
+ field = dialog.getContentElement.apply( dialog, targetFields[ i ].split( ':' ) );
+ field && field.setup && field.setup( element, true );
+ }
+ }
+
+
+ // Registered 'CKEDITOR.style' instances.
+ var styles = {} ;
+ /**
+ * Hold a collection of created block container elements.
+ */
+ var containers = [];
+ /**
+ * @type divDialog
+ */
+ return {
+ title : editor.lang.div.title,
+ minWidth : 400,
+ minHeight : 165,
+ contents :
+ [
+ {
+ id :'info',
+ label :editor.lang.common.generalTab,
+ title :editor.lang.common.generalTab,
+ elements :
+ [
+ {
+ type :'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ id :'elementStyle',
+ type :'select',
+ style :'width: 100%;',
+ label :editor.lang.div.styleSelectLabel,
+ 'default' : '',
+ // Options are loaded dynamically.
+ items :
+ [
+ [ editor.lang.common.notSet , '' ]
+ ],
+ onChange : function()
+ {
+ commitInternally.call( this, [ 'info:class', 'advanced:dir', 'advanced:style' ] );
+ },
+ setup : function( element )
+ {
+ for ( var name in styles )
+ styles[ name ].checkElementRemovable( element, true ) && this.setValue( name );
+ },
+ commit: function( element )
+ {
+ var styleName;
+ if ( ( styleName = this.getValue() ) )
+ {
+ var style = styles[ styleName ];
+ var customData = element.getCustomData( 'elementStyle' ) || '';
+
+ style.applyToObject( element );
+ element.setCustomData( 'elementStyle', customData + style._.definition.attributes.style );
+ }
+ }
+ },
+ {
+ id :'class',
+ type :'text',
+ label :editor.lang.common.cssClass,
+ 'default' : ''
+ }
+ ]
+ }
+ ]
+ },
+ {
+ id :'advanced',
+ label :editor.lang.common.advancedTab,
+ title :editor.lang.common.advancedTab,
+ elements :
+ [
+ {
+ type :'vbox',
+ padding :1,
+ children :
+ [
+ {
+ type :'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ type :'text',
+ id :'id',
+ label :editor.lang.common.id,
+ 'default' : ''
+ },
+ {
+ type :'text',
+ id :'lang',
+ label :editor.lang.link.langCode,
+ 'default' : ''
+ }
+ ]
+ },
+ {
+ type :'hbox',
+ children :
+ [
+ {
+ type :'text',
+ id :'style',
+ style :'width: 100%;',
+ label :editor.lang.common.cssStyle,
+ 'default' : '',
+ commit : function( element )
+ {
+ // Merge with 'elementStyle', which is of higher priority.
+ var merged = this.getValue() + ( element.getCustomData( 'elementStyle' ) || '' );
+ element.setAttribute( 'style', merged );
+ }
+ }
+ ]
+ },
+ {
+ type :'hbox',
+ children :
+ [
+ {
+ type :'text',
+ id :'title',
+ style :'width: 100%;',
+ label :editor.lang.common.advisoryTitle,
+ 'default' : ''
+ }
+ ]
+ },
+ {
+ type :'select',
+ id :'dir',
+ style :'width: 100%;',
+ label :editor.lang.common.langDir,
+ 'default' : '',
+ items :
+ [
+ [ editor.lang.common.notSet , '' ],
+ [
+ editor.lang.common.langDirLtr,
+ 'ltr'
+ ],
+ [
+ editor.lang.common.langDirRtl,
+ 'rtl'
+ ]
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ onLoad : function()
+ {
+ setupFields.call(this);
+
+ // Preparing for the 'elementStyle' field.
+ var dialog = this,
+ stylesField = this.getContentElement( 'info', 'elementStyle' );
+
+ // Reuse the 'stylescombo' plugin's styles definition.
+ editor.getStylesSet( function( stylesDefinitions )
+ {
+ var styleName;
+
+ if ( stylesDefinitions )
+ {
+ // Digg only those styles that apply to 'div'.
+ for ( var i = 0 ; i < stylesDefinitions.length ; i++ )
+ {
+ var styleDefinition = stylesDefinitions[ i ];
+ if ( styleDefinition.element && styleDefinition.element == 'div' )
+ {
+ styleName = styleDefinition.name;
+ styles[ styleName ] = new CKEDITOR.style( styleDefinition );
+
+ // Populate the styles field options with style name.
+ stylesField.items.push( [ styleName, styleName ] );
+ stylesField.add( styleName, styleName );
+ }
+ }
+ }
+
+ // We should disable the content element
+ // it if no options are available at all.
+ stylesField[ stylesField.items.length > 1 ? 'enable' : 'disable' ]();
+
+ // Now setup the field value manually.
+ setTimeout( function() { stylesField.setup( dialog._element ); }, 0 );
+ } );
+ },
+ onShow : function()
+ {
+ // Whether always create new container regardless of existed
+ // ones.
+ if ( command == 'editdiv' )
+ {
+ // Try to discover the containers that already existed in
+ // ranges
+ var div = getDiv( editor );
+ // update dialog field values
+ div && this.setupContent( this._element = div );
+ }
+ },
+ onOk : function()
+ {
+ if ( command == 'editdiv' )
+ containers = [ this._element ];
+ else
+ containers = createDiv( editor, true );
+
+ // Update elements attributes
+ var size = containers.length;
+ for ( var i = 0; i < size; i++ )
+ {
+ this.commitContent( containers[ i ] );
+
+ // Remove empty 'style' attribute.
+ !containers[ i ].getAttribute( 'style' ) && containers[ i ].removeAttribute( 'style' );
+ }
+
+ this.hide();
+ },
+ onHide : function()
+ {
+ // Remove style only when editing existing DIV. (#6315)
+ if ( command == 'editdiv' )
+ this._element.removeCustomData( 'elementStyle' );
+ delete this._element;
+ }
+ };
+ }
+
+ CKEDITOR.dialog.add( 'creatediv', function( editor )
+ {
+ return divDialog( editor, 'creatediv' );
+ } );
+ CKEDITOR.dialog.add( 'editdiv', function( editor )
+ {
+ return divDialog( editor, 'editdiv' );
+ } );
+} )();
+
+/*
+ * @name CKEDITOR.config.div_wrapTable
+ * Whether to wrap the whole table instead of indivisual cells when created 'div' in table cell.
+ * @type Boolean
+ * @default false
+ * @example config.div_wrapTable = true;
+ */
diff --git a/devel/third-party/ckeditor/plugins/div/plugin.js b/devel/third-party/ckeditor/plugins/div/plugin.js
new file mode 100644
index 0000000..158070f
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/div/plugin.js
@@ -0,0 +1,121 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "div" plugin. It wraps the selected block level elements with a 'div' element with specified styles and attributes.
+ *
+ */
+
+(function()
+{
+ CKEDITOR.plugins.add( 'div',
+ {
+ requires : [ 'editingblock', 'domiterator', 'styles' ],
+
+ init : function( editor )
+ {
+ var lang = editor.lang.div;
+
+ editor.addCommand( 'creatediv', new CKEDITOR.dialogCommand( 'creatediv' ) );
+ editor.addCommand( 'editdiv', new CKEDITOR.dialogCommand( 'editdiv' ) );
+ editor.addCommand( 'removediv',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection(),
+ ranges = selection && selection.getRanges(),
+ range,
+ bookmarks = selection.createBookmarks(),
+ walker,
+ toRemove = [];
+
+ function findDiv( node )
+ {
+ var path = new CKEDITOR.dom.elementPath( node ),
+ blockLimit = path.blockLimit,
+ div = blockLimit.is( 'div' ) && blockLimit;
+
+ if ( div && !div.getAttribute( '_cke_div_added' ) )
+ {
+ toRemove.push( div );
+ div.setAttribute( '_cke_div_added' );
+ }
+ }
+
+ for ( var i = 0 ; i < ranges.length ; i++ )
+ {
+ range = ranges[ i ];
+ if ( range.collapsed )
+ findDiv( selection.getStartElement() );
+ else
+ {
+ walker = new CKEDITOR.dom.walker( range );
+ walker.evaluator = findDiv;
+ walker.lastForward();
+ }
+ }
+
+ for ( i = 0 ; i < toRemove.length ; i++ )
+ toRemove[ i ].remove( true );
+
+ selection.selectBookmarks( bookmarks );
+ }
+ } );
+
+ editor.ui.addButton( 'CreateDiv',
+ {
+ label : lang.toolbar,
+ command :'creatediv'
+ } );
+
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItems(
+ {
+ editdiv :
+ {
+ label : lang.edit,
+ command : 'editdiv',
+ group : 'div',
+ order : 1
+ },
+
+ removediv:
+ {
+ label : lang.remove,
+ command : 'removediv',
+ group : 'div',
+ order : 5
+ }
+ } );
+
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( !element || element.isReadOnly())
+ return null;
+
+ var elementPath = new CKEDITOR.dom.elementPath( element ),
+ blockLimit = elementPath.blockLimit;
+
+ if ( blockLimit && blockLimit.getAscendant( 'div', true ) )
+ {
+ return {
+ editdiv : CKEDITOR.TRISTATE_OFF,
+ removediv : CKEDITOR.TRISTATE_OFF
+ };
+ }
+
+ return null;
+ } );
+ }
+ }
+
+ CKEDITOR.dialog.add( 'creatediv', this.path + 'dialogs/div.js' );
+ CKEDITOR.dialog.add( 'editdiv', this.path + 'dialogs/div.js' );
+ }
+ } );
+})();
diff --git a/devel/third-party/ckeditor/plugins/domiterator/plugin.js b/devel/third-party/ckeditor/plugins/domiterator/plugin.js
new file mode 100644
index 0000000..f0b1835
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/domiterator/plugin.js
@@ -0,0 +1,350 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file DOM iterator, which iterates over list items, lines and paragraphs.
+ */
+
+CKEDITOR.plugins.add( 'domiterator' );
+
+(function()
+{
+ /**
+ * @name CKEDITOR.dom.iterator
+ */
+ function iterator( range )
+ {
+ if ( arguments.length < 1 )
+ return;
+
+ this.range = range;
+ this.forceBrBreak = false;
+
+ // Whether include <br>s into the enlarged range.(#3730).
+ this.enlargeBr = true;
+ this.enforceRealBlocks = false;
+
+ this._ || ( this._ = {} );
+ }
+
+ var beginWhitespaceRegex = /^[\r\n\t ]+$/,
+ isBookmark = CKEDITOR.dom.walker.bookmark();
+
+ iterator.prototype = {
+ getNextParagraph : function( blockTag )
+ {
+ // The block element to be returned.
+ var block;
+
+ // The range object used to identify the paragraph contents.
+ var range;
+
+ // Indicats that the current element in the loop is the last one.
+ var isLast;
+
+ // Indicate at least one of the range boundaries is inside a preformat block.
+ var touchPre;
+
+ // Instructs to cleanup remaining BRs.
+ var removePreviousBr, removeLastBr;
+
+ // This is the first iteration. Let's initialize it.
+ if ( !this._.lastNode )
+ {
+ range = this.range.clone();
+
+ // Shrink the range to exclude harmful "noises" (#4087, #4450, #5435).
+ range.shrink( CKEDITOR.NODE_ELEMENT, true );
+
+ touchPre = range.endContainer.hasAscendant( 'pre', true )
+ || range.startContainer.hasAscendant( 'pre', true );
+
+ range.enlarge( this.forceBrBreak && !touchPre || !this.enlargeBr ?
+ CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS : CKEDITOR.ENLARGE_BLOCK_CONTENTS );
+
+ var walker = new CKEDITOR.dom.walker( range ),
+ ignoreBookmarkTextEvaluator = CKEDITOR.dom.walker.bookmark( true, true );
+ // Avoid anchor inside bookmark inner text.
+ walker.evaluator = ignoreBookmarkTextEvaluator;
+ this._.nextNode = walker.next();
+ // TODO: It's better to have walker.reset() used here.
+ walker = new CKEDITOR.dom.walker( range );
+ walker.evaluator = ignoreBookmarkTextEvaluator;
+ var lastNode = walker.previous();
+ this._.lastNode = lastNode.getNextSourceNode( true );
+
+ // We may have an empty text node at the end of block due to [3770].
+ // If that node is the lastNode, it would cause our logic to leak to the
+ // next block.(#3887)
+ if ( this._.lastNode &&
+ this._.lastNode.type == CKEDITOR.NODE_TEXT &&
+ !CKEDITOR.tools.trim( this._.lastNode.getText( ) ) &&
+ this._.lastNode.getParent().isBlockBoundary() )
+ {
+ var testRange = new CKEDITOR.dom.range( range.document );
+ testRange.moveToPosition( this._.lastNode, CKEDITOR.POSITION_AFTER_END );
+ if ( testRange.checkEndOfBlock() )
+ {
+ var path = new CKEDITOR.dom.elementPath( testRange.endContainer );
+ var lastBlock = path.block || path.blockLimit;
+ this._.lastNode = lastBlock.getNextSourceNode( true );
+ }
+ }
+
+ // Probably the document end is reached, we need a marker node.
+ if ( !this._.lastNode )
+ {
+ this._.lastNode = this._.docEndMarker = range.document.createText( '' );
+ this._.lastNode.insertAfter( lastNode );
+ }
+
+ // Let's reuse this variable.
+ range = null;
+ }
+
+ var currentNode = this._.nextNode;
+ lastNode = this._.lastNode;
+
+ this._.nextNode = null;
+ while ( currentNode )
+ {
+ // closeRange indicates that a paragraph boundary has been found,
+ // so the range can be closed.
+ var closeRange = false,
+ parentPre = currentNode.hasAscendant( 'pre' );
+
+ // includeNode indicates that the current node is good to be part
+ // of the range. By default, any non-element node is ok for it.
+ var includeNode = ( currentNode.type != CKEDITOR.NODE_ELEMENT ),
+ continueFromSibling = false;
+
+ // If it is an element node, let's check if it can be part of the
+ // range.
+ if ( !includeNode )
+ {
+ var nodeName = currentNode.getName();
+
+ if ( currentNode.isBlockBoundary( this.forceBrBreak &&
+ !parentPre && { br : 1 } ) )
+ {
+ // <br> boundaries must be part of the range. It will
+ // happen only if ForceBrBreak.
+ if ( nodeName == 'br' )
+ includeNode = true;
+ else if ( !range && !currentNode.getChildCount() && nodeName != 'hr' )
+ {
+ // If we have found an empty block, and haven't started
+ // the range yet, it means we must return this block.
+ block = currentNode;
+ isLast = currentNode.equals( lastNode );
+ break;
+ }
+
+ // The range must finish right before the boundary,
+ // including possibly skipped empty spaces. (#1603)
+ if ( range )
+ {
+ range.setEndAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
+
+ // The found boundary must be set as the next one at this
+ // point. (#1717)
+ if ( nodeName != 'br' )
+ this._.nextNode = currentNode;
+ }
+
+ closeRange = true;
+ }
+ else
+ {
+ // If we have child nodes, let's check them.
+ if ( currentNode.getFirst() )
+ {
+ // If we don't have a range yet, let's start it.
+ if ( !range )
+ {
+ range = new CKEDITOR.dom.range( this.range.document );
+ range.setStartAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
+ }
+
+ currentNode = currentNode.getFirst();
+ continue;
+ }
+ includeNode = true;
+ }
+ }
+ else if ( currentNode.type == CKEDITOR.NODE_TEXT )
+ {
+ // Ignore normal whitespaces (i.e. not including or
+ // other unicode whitespaces) before/after a block node.
+ if ( beginWhitespaceRegex.test( currentNode.getText() ) )
+ includeNode = false;
+ }
+
+ // The current node is good to be part of the range and we are
+ // starting a new range, initialize it first.
+ if ( includeNode && !range )
+ {
+ range = new CKEDITOR.dom.range( this.range.document );
+ range.setStartAt( currentNode, CKEDITOR.POSITION_BEFORE_START );
+ }
+
+ // The last node has been found.
+ isLast = ( ( !closeRange || includeNode ) && currentNode.equals( lastNode ) );
+
+ // If we are in an element boundary, let's check if it is time
+ // to close the range, otherwise we include the parent within it.
+ if ( range && !closeRange )
+ {
+ while ( !currentNode.getNext() && !isLast )
+ {
+ var parentNode = currentNode.getParent();
+
+ if ( parentNode.isBlockBoundary( this.forceBrBreak
+ && !parentPre && { br : 1 } ) )
+ {
+ closeRange = true;
+ isLast = isLast || ( parentNode.equals( lastNode) );
+ break;
+ }
+
+ currentNode = parentNode;
+ includeNode = true;
+ isLast = ( currentNode.equals( lastNode ) );
+ continueFromSibling = true;
+ }
+ }
+
+ // Now finally include the node.
+ if ( includeNode )
+ range.setEndAt( currentNode, CKEDITOR.POSITION_AFTER_END );
+
+ currentNode = currentNode.getNextSourceNode( continueFromSibling, null, lastNode );
+ isLast = !currentNode;
+
+ // We have found a block boundary. Let's close the range and move out of the
+ // loop.
+ if ( isLast || ( closeRange && range ) )
+ break;
+ }
+
+ // Now, based on the processed range, look for (or create) the block to be returned.
+ if ( !block )
+ {
+ // If no range has been found, this is the end.
+ if ( !range )
+ {
+ this._.docEndMarker && this._.docEndMarker.remove();
+ this._.nextNode = null;
+ return null;
+ }
+
+ var startPath = new CKEDITOR.dom.elementPath( range.startContainer );
+ var startBlockLimit = startPath.blockLimit,
+ checkLimits = { div : 1, th : 1, td : 1 };
+ block = startPath.block;
+
+ if ( !block
+ && !this.enforceRealBlocks
+ && checkLimits[ startBlockLimit.getName() ]
+ && range.checkStartOfBlock()
+ && range.checkEndOfBlock() )
+ block = startBlockLimit;
+ else if ( !block || ( this.enforceRealBlocks && block.getName() == 'li' ) )
+ {
+ // Create the fixed block.
+ block = this.range.document.createElement( blockTag || 'p' );
+
+ // Move the contents of the temporary range to the fixed block.
+ range.extractContents().appendTo( block );
+ block.trim();
+
+ // Insert the fixed block into the DOM.
+ range.insertNode( block );
+
+ removePreviousBr = removeLastBr = true;
+ }
+ else if ( block.getName() != 'li' )
+ {
+ // If the range doesn't includes the entire contents of the
+ // block, we must split it, isolating the range in a dedicated
+ // block.
+ if ( !range.checkStartOfBlock() || !range.checkEndOfBlock() )
+ {
+ // The resulting block will be a clone of the current one.
+ block = block.clone( false );
+
+ // Extract the range contents, moving it to the new block.
+ range.extractContents().appendTo( block );
+ block.trim();
+
+ // Split the block. At this point, the range will be in the
+ // right position for our intents.
+ var splitInfo = range.splitBlock();
+
+ removePreviousBr = !splitInfo.wasStartOfBlock;
+ removeLastBr = !splitInfo.wasEndOfBlock;
+
+ // Insert the new block into the DOM.
+ range.insertNode( block );
+ }
+ }
+ else if ( !isLast )
+ {
+ // LIs are returned as is, with all their children (due to the
+ // nested lists). But, the next node is the node right after
+ // the current range, which could be an <li> child (nested
+ // lists) or the next sibling <li>.
+
+ this._.nextNode = ( block.equals( lastNode ) ? null :
+ range.getBoundaryNodes().endNode.getNextSourceNode( true, null, lastNode ) );
+ }
+ }
+
+ if ( removePreviousBr )
+ {
+ var previousSibling = block.getPrevious();
+ if ( previousSibling && previousSibling.type == CKEDITOR.NODE_ELEMENT )
+ {
+ if ( previousSibling.getName() == 'br' )
+ previousSibling.remove();
+ else if ( previousSibling.getLast() && previousSibling.getLast().$.nodeName.toLowerCase() == 'br' )
+ previousSibling.getLast().remove();
+ }
+ }
+
+ if ( removeLastBr )
+ {
+ // Ignore bookmark nodes.(#3783)
+ var bookmarkGuard = CKEDITOR.dom.walker.bookmark( false, true );
+
+ var lastChild = block.getLast();
+ if ( lastChild && lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.getName() == 'br' )
+ {
+ // Take care not to remove the block expanding <br> in non-IE browsers.
+ if ( CKEDITOR.env.ie
+ || lastChild.getPrevious( bookmarkGuard )
+ || lastChild.getNext( bookmarkGuard ) )
+ lastChild.remove();
+ }
+ }
+
+ // Get a reference for the next element. This is important because the
+ // above block can be removed or changed, so we can rely on it for the
+ // next interation.
+ if ( !this._.nextNode )
+ {
+ this._.nextNode = ( isLast || block.equals( lastNode ) ) ? null :
+ block.getNextSourceNode( true, null, lastNode );
+ }
+
+ return block;
+ }
+ };
+
+ CKEDITOR.dom.range.prototype.createIterator = function()
+ {
+ return new iterator( this );
+ };
+})();
diff --git a/devel/third-party/ckeditor/plugins/editingblock/plugin.js b/devel/third-party/ckeditor/plugins/editingblock/plugin.js
new file mode 100644
index 0000000..7dbb92c
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/editingblock/plugin.js
@@ -0,0 +1,230 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The default editing block plugin, which holds the editing area
+ * and source view.
+ */
+
+(function()
+{
+ var getMode = function( editor, mode )
+ {
+ return editor._.modes && editor._.modes[ mode || editor.mode ];
+ };
+
+ // This is a semaphore used to avoid recursive calls between
+ // the following data handling functions.
+ var isHandlingData;
+
+ CKEDITOR.plugins.add( 'editingblock',
+ {
+ init : function( editor )
+ {
+ if ( !editor.config.editingBlock )
+ return;
+
+ editor.on( 'themeSpace', function( event )
+ {
+ if ( event.data.space == 'contents' )
+ event.data.html += '<br>';
+ });
+
+ editor.on( 'themeLoaded', function()
+ {
+ editor.fireOnce( 'editingBlockReady' );
+ });
+
+ editor.on( 'uiReady', function()
+ {
+ editor.setMode( editor.config.startupMode );
+ });
+
+ editor.on( 'afterSetData', function()
+ {
+ if ( !isHandlingData )
+ {
+ function setData()
+ {
+ isHandlingData = true;
+ getMode( editor ).loadData( editor.getData() );
+ isHandlingData = false;
+ }
+
+ if ( editor.mode )
+ setData();
+ else
+ {
+ editor.on( 'mode', function()
+ {
+ setData();
+ editor.removeListener( 'mode', arguments.callee );
+ });
+ }
+ }
+ });
+
+ editor.on( 'beforeGetData', function()
+ {
+ if ( !isHandlingData && editor.mode )
+ {
+ isHandlingData = true;
+ editor.setData( getMode( editor ).getData() );
+ isHandlingData = false;
+ }
+ });
+
+ editor.on( 'getSnapshot', function( event )
+ {
+ if ( editor.mode )
+ event.data = getMode( editor ).getSnapshotData();
+ });
+
+ editor.on( 'loadSnapshot', function( event )
+ {
+ if ( editor.mode )
+ getMode( editor ).loadSnapshotData( event.data );
+ });
+
+ // For the first "mode" call, we'll also fire the "instanceReady"
+ // event.
+ editor.on( 'mode', function( event )
+ {
+ // Do that once only.
+ event.removeListener();
+
+ // Redirect the focus into editor for webkit. (#5713)
+ CKEDITOR.env.webkit && editor.container.on( 'focus', function()
+ {
+ editor.focus();
+ });
+
+ if ( editor.config.startupFocus )
+ editor.focus();
+
+ // Fire instanceReady for both the editor and CKEDITOR, but
+ // defer this until the whole execution has completed
+ // to guarantee the editor is fully responsible.
+ setTimeout( function(){
+ editor.fireOnce( 'instanceReady' );
+ CKEDITOR.fire( 'instanceReady', null, editor );
+ }, 0 );
+ });
+ }
+ });
+
+ /**
+ * The current editing mode. An editing mode is basically a viewport for
+ * editing or content viewing. By default the possible values for this
+ * property are "wysiwyg" and "source".
+ * @type String
+ * @example
+ * alert( CKEDITOR.instances.editor1.mode ); // "wysiwyg" (e.g.)
+ */
+ CKEDITOR.editor.prototype.mode = '';
+
+ /**
+ * Registers an editing mode. This function is to be used mainly by plugins.
+ * @param {String} mode The mode name.
+ * @param {Object} modeEditor The mode editor definition.
+ * @example
+ */
+ CKEDITOR.editor.prototype.addMode = function( mode, modeEditor )
+ {
+ modeEditor.name = mode;
+ ( this._.modes || ( this._.modes = {} ) )[ mode ] = modeEditor;
+ };
+
+ /**
+ * Sets the current editing mode in this editor instance.
+ * @param {String} mode A registered mode name.
+ * @example
+ * // Switch to "source" view.
+ * CKEDITOR.instances.editor1.setMode( 'source' );
+ */
+ CKEDITOR.editor.prototype.setMode = function( mode )
+ {
+ var data,
+ holderElement = this.getThemeSpace( 'contents' ),
+ isDirty = this.checkDirty();
+
+ // Unload the previous mode.
+ if ( this.mode )
+ {
+ if ( mode == this.mode )
+ return;
+
+ this.fire( 'beforeModeUnload' );
+
+ var currentMode = getMode( this );
+ data = currentMode.getData();
+ currentMode.unload( holderElement );
+ this.mode = '';
+ }
+
+ holderElement.setHtml( '' );
+
+ // Load required mode.
+ var modeEditor = getMode( this, mode );
+ if ( !modeEditor )
+ throw '[CKEDITOR.editor.setMode] Unknown mode "' + mode + '".';
+
+ if ( !isDirty )
+ {
+ this.on( 'mode', function()
+ {
+ this.resetDirty();
+ this.removeListener( 'mode', arguments.callee );
+ });
+ }
+
+ modeEditor.load( holderElement, ( typeof data ) != 'string' ? this.getData() : data);
+ };
+
+ /**
+ * Moves the selection focus to the editing are space in the editor.
+ */
+ CKEDITOR.editor.prototype.focus = function()
+ {
+ var mode = getMode( this );
+ if ( mode )
+ mode.focus();
+ };
+})();
+
+/**
+ * The mode to load at the editor startup. It depends on the plugins
+ * loaded. By default, the "wysiwyg" and "source" modes are available.
+ * @type String
+ * @default 'wysiwyg'
+ * @example
+ * config.startupMode = 'source';
+ */
+CKEDITOR.config.startupMode = 'wysiwyg';
+
+/**
+ * Sets whether the editor should have the focus when the page loads.
+ * @type Boolean
+ * @default false
+ * @example
+ * config.startupFocus = true;
+ */
+CKEDITOR.config.startupFocus = false;
+
+/**
+ * Whether to render or not the editing block area in the editor interface.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.editingBlock = false;
+ */
+CKEDITOR.config.editingBlock = true;
+
+/**
+ * Fired when a CKEDITOR instance is created, fully initialized and ready for interaction.
+ * @name CKEDITOR#instanceReady
+ * @event
+ * @param {CKEDITOR.editor} editor The editor instance that has been created.
+ */
diff --git a/devel/third-party/ckeditor/plugins/elementspath/plugin.js b/devel/third-party/ckeditor/plugins/elementspath/plugin.js
new file mode 100644
index 0000000..47e7c47
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/elementspath/plugin.js
@@ -0,0 +1,206 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "elementspath" plugin. It shows all elements in the DOM
+ * parent tree relative to the current selection in the editing area.
+ */
+
+(function()
+{
+ var commands =
+ {
+ toolbarFocus :
+ {
+ exec : function( editor )
+ {
+ var idBase = editor._.elementsPath.idBase;
+ var element = CKEDITOR.document.getById( idBase + '0' );
+
+ if ( element )
+ element.focus();
+ }
+ }
+ };
+
+ var emptyHtml = '<span class="cke_empty"> </span>';
+
+ CKEDITOR.plugins.add( 'elementspath',
+ {
+ requires : [ 'selection' ],
+
+ init : function( editor )
+ {
+ var spaceId = 'cke_path_' + editor.name;
+ var spaceElement;
+ var getSpaceElement = function()
+ {
+ if ( !spaceElement )
+ spaceElement = CKEDITOR.document.getById( spaceId );
+ return spaceElement;
+ };
+
+ var idBase = 'cke_elementspath_' + CKEDITOR.tools.getNextNumber() + '_';
+
+ editor._.elementsPath = { idBase : idBase, filters : [] };
+
+ editor.on( 'themeSpace', function( event )
+ {
+ if ( event.data.space == 'bottom' )
+ {
+ event.data.html +=
+ '<span id="' + spaceId + '_label" class="cke_voice_label">' + editor.lang.elementsPath.eleLabel + '</span>' +
+ '<div id="' + spaceId + '" class="cke_path" role="group" aria-labelledby="' + spaceId + '_label">' + emptyHtml + '</div>';
+ }
+ });
+
+ editor.on( 'selectionChange', function( ev )
+ {
+ var env = CKEDITOR.env,
+ selection = ev.data.selection,
+ element = selection.getStartElement(),
+ html = [],
+ editor = ev.editor,
+ elementsList = editor._.elementsPath.list = [],
+ filters = editor._.elementsPath.filters;
+
+ while ( element )
+ {
+ var ignore = 0;
+ for ( var i = 0; i < filters.length; i++ )
+ {
+ if ( filters[ i ]( element ) === false )
+ {
+ ignore = 1;
+ break;
+ }
+ }
+
+ if ( !ignore )
+ {
+ var index = elementsList.push( element ) - 1;
+ var name;
+ if ( element.getAttribute( '_cke_real_element_type' ) )
+ name = element.getAttribute( '_cke_real_element_type' );
+ else
+ name = element.getName();
+
+ // Use this variable to add conditional stuff to the
+ // HTML (because we are doing it in reverse order... unshift).
+ var extra = '';
+
+ // Some browsers don't cancel key events in the keydown but in the
+ // keypress.
+ // TODO: Check if really needed for Gecko+Mac.
+ if ( env.opera || ( env.gecko && env.mac ) )
+ extra += ' onkeypress="return false;"';
+
+ // With Firefox, we need to force the button to redraw, otherwise it
+ // will remain in the focus state.
+ if ( env.gecko )
+ extra += ' onblur="this.style.cssText = this.style.cssText;"';
+
+ var label = editor.lang.elementsPath.eleTitle.replace( /%1/, name );
+ html.unshift(
+ '<a' +
+ ' id="', idBase, index, '"' +
+ ' href="javascript:void(\'', name, '\')"' +
+ ' tabindex="-1"' +
+ ' title="', label, '"' +
+ ( ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ?
+ ' onfocus="event.preventBubble();"' : '' ) +
+ ' hidefocus="true" ' +
+ ' onkeydown="return CKEDITOR._.elementsPath.keydown(\'', editor.name, '\',', index, ', event);"' +
+ extra ,
+ ' onclick="return CKEDITOR._.elementsPath.click(\'', editor.name, '\',', index, ');"',
+ ' role="button" aria-labelledby="' + idBase + index + '_label">',
+ name,
+ '<span id="', idBase, index, '_label" class="cke_label">' + label + '</span>',
+ '</a>' );
+
+ }
+
+ if ( name == 'body' )
+ break;
+
+ element = element.getParent();
+ }
+
+ getSpaceElement().setHtml( html.join('') + emptyHtml );
+ });
+
+ editor.on( 'contentDomUnload', function()
+ {
+ // If the spaceElement hasn't been initialized, don't try to do it at this time
+ // Only reuse existing reference.
+ spaceElement && spaceElement.setHtml( emptyHtml );
+ });
+
+ editor.addCommand( 'elementsPathFocus', commands.toolbarFocus );
+ }
+ });
+})();
+
+/**
+ * Handles the click on an element in the element path.
+ * @private
+ */
+CKEDITOR._.elementsPath =
+{
+ click : function( instanceName, elementIndex )
+ {
+ var editor = CKEDITOR.instances[ instanceName ];
+ editor.focus();
+
+ var element = editor._.elementsPath.list[ elementIndex ];
+ editor.getSelection().selectElement( element );
+
+ return false;
+ },
+
+ keydown : function( instanceName, elementIndex, ev )
+ {
+ var instance = CKEDITOR.ui.button._.instances[ elementIndex ];
+ var editor = CKEDITOR.instances[ instanceName ];
+ var idBase = editor._.elementsPath.idBase;
+
+ var element;
+
+ ev = new CKEDITOR.dom.event( ev );
+
+ var rtl = editor.lang.dir == 'rtl';
+ switch ( ev.getKeystroke() )
+ {
+ case rtl ? 39 : 37 : // LEFT-ARROW
+ case 9 : // TAB
+ element = CKEDITOR.document.getById( idBase + ( elementIndex + 1 ) );
+ if ( !element )
+ element = CKEDITOR.document.getById( idBase + '0' );
+ element.focus();
+ return false;
+
+ case rtl ? 37 : 39 : // RIGHT-ARROW
+ case CKEDITOR.SHIFT + 9 : // SHIFT + TAB
+ element = CKEDITOR.document.getById( idBase + ( elementIndex - 1 ) );
+ if ( !element )
+ element = CKEDITOR.document.getById( idBase + ( editor._.elementsPath.list.length - 1 ) );
+ element.focus();
+ return false;
+
+ case 27 : // ESC
+ editor.focus();
+ return false;
+
+ case 13 : // ENTER // Opera
+ case 32 : // SPACE
+ this.click( instanceName, elementIndex );
+ return false;
+
+ //default :
+ // alert( ev.getKeystroke() );
+ }
+ return true;
+ }
+};
diff --git a/devel/third-party/ckeditor/plugins/enterkey/plugin.js b/devel/third-party/ckeditor/plugins/enterkey/plugin.js
new file mode 100644
index 0000000..f383fb4
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/enterkey/plugin.js
@@ -0,0 +1,363 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ CKEDITOR.plugins.add( 'enterkey',
+ {
+ requires : [ 'keystrokes', 'indent' ],
+
+ init : function( editor )
+ {
+ var specialKeys = editor.specialKeys;
+ specialKeys[ 13 ] = enter;
+ specialKeys[ CKEDITOR.SHIFT + 13 ] = shiftEnter;
+ }
+ });
+
+ CKEDITOR.plugins.enterkey =
+ {
+ enterBlock : function( editor, mode, range, forceMode )
+ {
+ // Get the range for the current selection.
+ range = range || getRange( editor );
+
+ // We may not have valid ranges to work on, like when inside a
+ // contenteditable=false element.
+ if ( !range )
+ return;
+
+ var doc = range.document;
+
+ // Exit the list when we're inside an empty list item block. (#5376)
+ if ( range.checkStartOfBlock() && range.checkEndOfBlock() )
+ {
+ var path = new CKEDITOR.dom.elementPath( range.startContainer ),
+ block = path.block;
+
+ if ( block && ( block.is( 'li' ) || block.getParent().is( 'li' ) ) )
+ {
+ editor.execCommand( 'outdent' );
+ return;
+ }
+ }
+
+ // Determine the block element to be used.
+ var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
+
+ // Split the range.
+ var splitInfo = range.splitBlock( blockTag );
+
+ if ( !splitInfo )
+ return;
+
+ // Get the current blocks.
+ var previousBlock = splitInfo.previousBlock,
+ nextBlock = splitInfo.nextBlock;
+
+ var isStartOfBlock = splitInfo.wasStartOfBlock,
+ isEndOfBlock = splitInfo.wasEndOfBlock;
+
+ var node;
+
+ // If this is a block under a list item, split it as well. (#1647)
+ if ( nextBlock )
+ {
+ node = nextBlock.getParent();
+ if ( node.is( 'li' ) )
+ {
+ nextBlock.breakParent( node );
+ nextBlock.move( nextBlock.getNext(), true );
+ }
+ }
+ else if ( previousBlock && ( node = previousBlock.getParent() ) && node.is( 'li' ) )
+ {
+ previousBlock.breakParent( node );
+ range.moveToElementEditStart( previousBlock.getNext() );
+ previousBlock.move( previousBlock.getPrevious() );
+ }
+
+ // If we have both the previous and next blocks, it means that the
+ // boundaries were on separated blocks, or none of them where on the
+ // block limits (start/end).
+ if ( !isStartOfBlock && !isEndOfBlock )
+ {
+ // If the next block is an <li> with another list tree as the first
+ // child, we'll need to append a filler (<br>/NBSP) or the list item
+ // wouldn't be editable. (#1420)
+ if ( nextBlock.is( 'li' )
+ && ( node = nextBlock.getFirst( CKEDITOR.dom.walker.invisible( true ) ) )
+ && node.is && node.is( 'ul', 'ol' ) )
+ ( CKEDITOR.env.ie ? doc.createText( '\xa0' ) : doc.createElement( 'br' ) ).insertBefore( node );
+
+ // Move the selection to the end block.
+ if ( nextBlock )
+ range.moveToElementEditStart( nextBlock );
+ }
+ else
+ {
+ var newBlock;
+
+ if ( previousBlock )
+ {
+ // Do not enter this block if it's a header tag, or we are in
+ // a Shift+Enter (#77). Create a new block element instead
+ // (later in the code).
+ if ( previousBlock.is( 'li' ) || !headerTagRegex.test( previousBlock.getName() ) )
+ {
+ // Otherwise, duplicate the previous block.
+ newBlock = previousBlock.clone();
+ }
+ }
+ else if ( nextBlock )
+ newBlock = nextBlock.clone();
+
+ if ( !newBlock )
+ newBlock = doc.createElement( blockTag );
+ // Force the enter block unless we're talking of a list item.
+ else if ( forceMode && !newBlock.is( 'li' ) )
+ newBlock.renameNode( blockTag );
+
+ // Recreate the inline elements tree, which was available
+ // before hitting enter, so the same styles will be available in
+ // the new block.
+ var elementPath = splitInfo.elementPath;
+ if ( elementPath )
+ {
+ for ( var i = 0, len = elementPath.elements.length ; i < len ; i++ )
+ {
+ var element = elementPath.elements[ i ];
+
+ if ( element.equals( elementPath.block ) || element.equals( elementPath.blockLimit ) )
+ break;
+
+ if ( CKEDITOR.dtd.$removeEmpty[ element.getName() ] )
+ {
+ element = element.clone();
+ newBlock.moveChildren( element );
+ newBlock.append( element );
+ }
+ }
+ }
+
+ if ( !CKEDITOR.env.ie )
+ newBlock.appendBogus();
+
+ range.insertNode( newBlock );
+
+ // This is tricky, but to make the new block visible correctly
+ // we must select it.
+ // The previousBlock check has been included because it may be
+ // empty if we have fixed a block-less space (like ENTER into an
+ // empty table cell).
+ if ( CKEDITOR.env.ie && isStartOfBlock && ( !isEndOfBlock || !previousBlock.getChildCount() ) )
+ {
+ // Move the selection to the new block.
+ range.moveToElementEditStart( isEndOfBlock ? previousBlock : newBlock );
+ range.select();
+ }
+
+ // Move the selection to the new block.
+ range.moveToElementEditStart( isStartOfBlock && !isEndOfBlock ? nextBlock : newBlock );
+ }
+
+ if ( !CKEDITOR.env.ie )
+ {
+ if ( nextBlock )
+ {
+ // If we have split the block, adds a temporary span at the
+ // range position and scroll relatively to it.
+ var tmpNode = doc.createElement( 'span' );
+
+ // We need some content for Safari.
+ tmpNode.setHtml( ' ' );
+
+ range.insertNode( tmpNode );
+ tmpNode.scrollIntoView();
+ range.deleteContents();
+ }
+ else
+ {
+ // We may use the above scroll logic for the new block case
+ // too, but it gives some weird result with Opera.
+ newBlock.scrollIntoView();
+ }
+ }
+
+ range.select();
+ },
+
+ enterBr : function( editor, mode, range, forceMode )
+ {
+ // Get the range for the current selection.
+ range = range || getRange( editor );
+
+ // We may not have valid ranges to work on, like when inside a
+ // contenteditable=false element.
+ if ( !range )
+ return;
+
+ var doc = range.document;
+
+ // Determine the block element to be used.
+ var blockTag = ( mode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
+
+ var isEndOfBlock = range.checkEndOfBlock();
+
+ var elementPath = new CKEDITOR.dom.elementPath( editor.getSelection().getStartElement() );
+
+ var startBlock = elementPath.block,
+ startBlockTag = startBlock && elementPath.block.getName();
+
+ var isPre = false;
+
+ if ( !forceMode && startBlockTag == 'li' )
+ {
+ enterBlock( editor, mode, range, forceMode );
+ return;
+ }
+
+ // If we are at the end of a header block.
+ if ( !forceMode && isEndOfBlock && headerTagRegex.test( startBlockTag ) )
+ {
+ // Insert a <br> after the current paragraph.
+ doc.createElement( 'br' ).insertAfter( startBlock );
+
+ // A text node is required by Gecko only to make the cursor blink.
+ if ( CKEDITOR.env.gecko )
+ doc.createText( '' ).insertAfter( startBlock );
+
+ // IE has different behaviors regarding position.
+ range.setStartAt( startBlock.getNext(), CKEDITOR.env.ie ? CKEDITOR.POSITION_BEFORE_START : CKEDITOR.POSITION_AFTER_START );
+ }
+ else
+ {
+ var lineBreak;
+
+ isPre = ( startBlockTag == 'pre' );
+
+ // Gecko prefers <br> as line-break inside <pre> (#4711).
+ if ( isPre && !CKEDITOR.env.gecko )
+ lineBreak = doc.createText( CKEDITOR.env.ie ? '\r' : '\n' );
+ else
+ lineBreak = doc.createElement( 'br' );
+
+ range.deleteContents();
+ range.insertNode( lineBreak );
+
+ // A text node is required by Gecko only to make the cursor blink.
+ // We need some text inside of it, so the bogus <br> is properly
+ // created.
+ if ( !CKEDITOR.env.ie )
+ doc.createText( '\ufeff' ).insertAfter( lineBreak );
+
+ // If we are at the end of a block, we must be sure the bogus node is available in that block.
+ if ( isEndOfBlock && !CKEDITOR.env.ie )
+ lineBreak.getParent().appendBogus();
+
+ // Now we can remove the text node contents, so the caret doesn't
+ // stop on it.
+ if ( !CKEDITOR.env.ie )
+ lineBreak.getNext().$.nodeValue = '';
+ // IE has different behavior regarding position.
+ if ( CKEDITOR.env.ie )
+ range.setStartAt( lineBreak, CKEDITOR.POSITION_AFTER_END );
+ else
+ range.setStartAt( lineBreak.getNext(), CKEDITOR.POSITION_AFTER_START );
+
+ // Scroll into view, for non IE.
+ if ( !CKEDITOR.env.ie )
+ {
+ var dummy = null;
+
+ // BR is not positioned in Opera and Webkit.
+ if ( !CKEDITOR.env.gecko )
+ {
+ dummy = doc.createElement( 'span' );
+ // We need have some contents for Webkit to position it
+ // under parent node. ( #3681)
+ dummy.setHtml(' ');
+ }
+ else
+ dummy = doc.createElement( 'br' );
+
+ dummy.insertBefore( lineBreak.getNext() );
+ dummy.scrollIntoView();
+ dummy.remove();
+ }
+ }
+
+ // This collapse guarantees the cursor will be blinking.
+ range.collapse( true );
+
+ range.select( isPre );
+ }
+ };
+
+ var plugin = CKEDITOR.plugins.enterkey,
+ enterBr = plugin.enterBr,
+ enterBlock = plugin.enterBlock,
+ headerTagRegex = /^h[1-6]$/;
+
+ function shiftEnter( editor )
+ {
+ // Only effective within document.
+ if ( editor.mode != 'wysiwyg' )
+ return false;
+
+ // On SHIFT+ENTER:
+ // 1. We want to enforce the mode to be respected, instead
+ // of cloning the current block. (#77)
+ // 2. Always perform a block break when inside <pre> (#5402).
+ if ( editor.getSelection().getStartElement().hasAscendant( 'pre', true ) )
+ {
+ setTimeout( function() { enterBlock( editor, editor.config.enterMode, null, true ); }, 0 );
+ return true;
+ }
+ else
+ return enter( editor, editor.config.shiftEnterMode, true );
+ }
+
+ function enter( editor, mode, forceMode )
+ {
+ forceMode = editor.config.forceEnterMode || forceMode;
+
+ // Only effective within document.
+ if ( editor.mode != 'wysiwyg' )
+ return false;
+
+ if ( !mode )
+ mode = editor.config.enterMode;
+
+ // Use setTimout so the keys get cancelled immediatelly.
+ setTimeout( function()
+ {
+ editor.fire( 'saveSnapshot' ); // Save undo step.
+ if ( mode == CKEDITOR.ENTER_BR || editor.getSelection().getStartElement().hasAscendant( 'pre', true ) )
+ enterBr( editor, mode, null, forceMode );
+ else
+ enterBlock( editor, mode, null, forceMode );
+
+ }, 0 );
+
+ return true;
+ }
+
+
+ function getRange( editor )
+ {
+ // Get the selection ranges.
+ var ranges = editor.getSelection().getRanges( true );
+
+ // Delete the contents of all ranges except the first one.
+ for ( var i = ranges.length - 1 ; i > 0 ; i-- )
+ {
+ ranges[ i ].deleteContents();
+ }
+
+ // Return the first range.
+ return ranges[ 0 ];
+ }
+})();
diff --git a/devel/third-party/ckeditor/plugins/entities/plugin.js b/devel/third-party/ckeditor/plugins/entities/plugin.js
new file mode 100644
index 0000000..ce0f34e
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/entities/plugin.js
@@ -0,0 +1,227 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ // Base HTML entities.
+ var htmlbase = 'nbsp,gt,lt,quot';
+
+ var entities =
+ // Latin-1 Entities
+ '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,' +
+
+ // Symbols
+ '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,' +
+
+ // Other Special Characters
+ 'circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,' +
+ 'rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,' +
+ 'euro';
+
+ // Latin Letters Entities
+ var latin =
+ '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';
+
+ // Greek Letters Entities.
+ var greek =
+ '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';
+
+ /**
+ * Create a mapping table between one character and it's entity form from a list of entity names.
+ * @param reverse {Boolean} Whether create a reverse map from the entity string form to actual character.
+ */
+ function buildTable( entities, reverse )
+ {
+ var table = {},
+ regex = [];
+
+ // Entities that the browsers DOM don't transform to the final char
+ // automatically.
+ var specialTable =
+ {
+ nbsp : '\u00A0', // IE | FF
+ shy : '\u00AD', // IE
+ gt : '\u003E', // IE | FF | -- | Opera
+ lt : '\u003C' // IE | FF | Safari | Opera
+ };
+
+ entities = entities.replace( /\b(nbsp|shy|gt|lt|amp)(?:,|$)/g, function( match, entity )
+ {
+ var org = reverse ? '&' + entity + ';' : specialTable[ entity ],
+ result = reverse ? specialTable[ entity ] : '&' + entity + ';';
+
+ table[ org ] = result;
+ regex.push( org );
+ return '';
+ });
+
+ if ( !reverse )
+ {
+ // Transforms the entities string into an array.
+ entities = entities.split( ',' );
+
+ // Put all entities inside a DOM element, transforming them to their
+ // final chars.
+ var div = document.createElement( 'div' ),
+ chars;
+ div.innerHTML = '&' + entities.join( ';&' ) + ';';
+ chars = div.innerHTML;
+ div = null;
+
+ // Add all chars to the table.
+ for ( var i = 0 ; i < chars.length ; i++ )
+ {
+ var charAt = chars.charAt( i );
+ table[ charAt ] = '&' + entities[ i ] + ';';
+ regex.push( charAt );
+ }
+ }
+
+ table.regex = regex.join( reverse ? '|' : '' );
+
+ return table;
+ }
+
+ CKEDITOR.plugins.add( 'entities',
+ {
+ afterInit : function( editor )
+ {
+ var config = editor.config;
+
+ var dataProcessor = editor.dataProcessor,
+ htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+ if ( htmlFilter )
+ {
+ // Mandatory HTML base entities.
+ var selectedEntities = htmlbase;
+
+ if ( config.entities )
+ {
+ selectedEntities += ',' + entities;
+ if ( config.entities_latin )
+ selectedEntities += ',' + latin;
+
+ if ( config.entities_greek )
+ selectedEntities += ',' + greek;
+
+ if ( config.entities_additional )
+ selectedEntities += ',' + config.entities_additional;
+ }
+
+ var entitiesTable = buildTable( selectedEntities );
+
+ // Create the Regex used to find entities in the text.
+ var entitiesRegex = '[' + entitiesTable.regex + ']';
+ delete entitiesTable.regex;
+
+ if ( config.entities && config.entities_processNumerical )
+ entitiesRegex = '[^ -~]|' + entitiesRegex ;
+
+ entitiesRegex = new RegExp( entitiesRegex, 'g' );
+
+ function getEntity( character )
+ {
+ return config.entities_processNumerical == 'force' || !entitiesTable[ character ] ?
+ '&#' + character.charCodeAt(0) + ';'
+ : entitiesTable[ character ];
+ }
+
+ // Decode entities that the browsers has transformed
+ // at first place.
+ var baseEntitiesTable = buildTable( [ htmlbase, 'shy' ].join( ',' ) , true ),
+ baseEntitiesRegex = new RegExp( baseEntitiesTable.regex, 'g' );
+
+ function getChar( character )
+ {
+ return baseEntitiesTable[ character ];
+ }
+
+ htmlFilter.addRules(
+ {
+ text : function( text )
+ {
+ return text.replace( baseEntitiesRegex, getChar )
+ .replace( entitiesRegex, getEntity );
+ }
+ });
+ }
+ }
+ });
+})();
+
+/**
+ * Whether to use HTML entities in the output.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.entities = false;
+ */
+CKEDITOR.config.entities = true;
+
+/**
+ * Whether to convert some Latin characters (Latin alphabet No. 1, ISO 8859-1)
+ * to HTML entities. The list of entities can be found at the
+ * <a href="http://www.w3.org/TR/html4/sgml/entities.html#h-24.2.1">W3C HTML 4.01 Specification, section 24.2.1</a>.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.entities_latin = false;
+ */
+CKEDITOR.config.entities_latin = true;
+
+/**
+ * Whether to convert some symbols, mathematical symbols, and Greek letters to
+ * HTML entities. This may be more relevant for users typing text written in Greek.
+ * The list of entities can be found at the
+ * <a href="http://www.w3.org/TR/html4/sgml/entities.html#h-24.3.1">W3C HTML 4.01 Specification, section 24.3.1</a>.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.entities_greek = false;
+ */
+CKEDITOR.config.entities_greek = true;
+
+/**
+ * Whether to convert all remaining characters, not comprised in the ASCII
+ * character table, to their relative decimal numeric representation of HTML entity.
+ * When specified as the value 'force', it will simply convert all entities into the above form.
+ * For example, the phrase "This is Chinese: 汉语." is outputted
+ * as "This is Chinese: &#27721;&#35821;."
+ * @type Boolean
+ * @type Boolean|String
+ * @default false
+ * @example
+ * config.entities_processNumerical = true;
+ * config.entities_processNumerical = 'force'; //Convert from " " into " ";
+ */
+CKEDITOR.config.entities_processNumerical = false;
+
+/**
+ * An additional list of entities to be used. It's a string containing each
+ * entry separated by a comma. Entities names or number must be used, exclusing
+ * the "&" preffix and the ";" termination.
+ * @default '#39' // The single quote (') character.
+ * @type String
+ * @example
+ */
+CKEDITOR.config.entities_additional = '#39';
diff --git a/devel/third-party/ckeditor/plugins/fakeobjects/plugin.js b/devel/third-party/ckeditor/plugins/fakeobjects/plugin.js
new file mode 100644
index 0000000..0b173c2
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/fakeobjects/plugin.js
@@ -0,0 +1,122 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var htmlFilterRules =
+ {
+ elements :
+ {
+ $ : function( element )
+ {
+ var attributes = element.attributes,
+ realHtml = attributes && attributes._cke_realelement,
+ realFragment = realHtml && new CKEDITOR.htmlParser.fragment.fromHtml( decodeURIComponent( realHtml ) ),
+ realElement = realFragment && realFragment.children[ 0 ];
+
+ // If we have width/height in the element, we must move it into
+ // the real element.
+ if ( realElement && element.attributes._cke_resizable )
+ {
+ var style = element.attributes.style;
+
+ if ( style )
+ {
+ // Get the width from the style.
+ var match = /(?:^|\s)width\s*:\s*(\d+)/i.exec( style ),
+ width = match && match[1];
+
+ // Get the height from the style.
+ match = /(?:^|\s)height\s*:\s*(\d+)/i.exec( style );
+ var height = match && match[1];
+
+ if ( width )
+ realElement.attributes.width = width;
+
+ if ( height )
+ realElement.attributes.height = height;
+ }
+ }
+
+ return realElement;
+ }
+ }
+ };
+
+ CKEDITOR.plugins.add( 'fakeobjects',
+ {
+ requires : [ 'htmlwriter' ],
+
+ afterInit : function( editor )
+ {
+ var dataProcessor = editor.dataProcessor,
+ htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+ if ( htmlFilter )
+ htmlFilter.addRules( htmlFilterRules );
+ }
+ });
+})();
+
+CKEDITOR.editor.prototype.createFakeElement = function( realElement, className, realElementType, isResizable )
+{
+ var lang = this.lang.fakeobjects;
+
+ var attributes =
+ {
+ 'class' : className,
+ src : CKEDITOR.getUrl( 'images/spacer.gif' ),
+ _cke_realelement : encodeURIComponent( realElement.getOuterHtml() ),
+ _cke_real_node_type : realElement.type,
+ alt : lang[ realElementType ] || lang.unknown,
+ align : realElement.getAttribute( 'align' ) || ''
+ };
+
+ if ( realElementType )
+ attributes._cke_real_element_type = realElementType;
+
+ if ( isResizable )
+ attributes._cke_resizable = isResizable;
+
+ return this.document.createElement( 'img', { attributes : attributes } );
+};
+
+CKEDITOR.editor.prototype.createFakeParserElement = function( realElement, className, realElementType, isResizable )
+{
+ var lang = this.lang.fakeobjects,
+ html;
+
+ var writer = new CKEDITOR.htmlParser.basicWriter();
+ realElement.writeHtml( writer );
+ html = writer.getHtml();
+
+ var attributes =
+ {
+ 'class' : className,
+ src : CKEDITOR.getUrl( 'images/spacer.gif' ),
+ _cke_realelement : encodeURIComponent( html ),
+ _cke_real_node_type : realElement.type,
+ alt : lang[ realElementType ] || lang.unknown,
+ align : realElement.attributes.align || ''
+ };
+
+ if ( realElementType )
+ attributes._cke_real_element_type = realElementType;
+
+ if ( isResizable )
+ attributes._cke_resizable = isResizable;
+
+ return new CKEDITOR.htmlParser.element( 'img', attributes );
+};
+
+CKEDITOR.editor.prototype.restoreRealElement = function( fakeElement )
+{
+ if ( fakeElement.getAttribute( '_cke_real_node_type' ) != CKEDITOR.NODE_ELEMENT )
+ return null;
+
+ return CKEDITOR.dom.element.createFromHtml(
+ decodeURIComponent( fakeElement.getAttribute( '_cke_realelement' ) ),
+ this.document );
+};
diff --git a/devel/third-party/ckeditor/plugins/filebrowser/plugin.js b/devel/third-party/ckeditor/plugins/filebrowser/plugin.js
new file mode 100644
index 0000000..176ce05
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/filebrowser/plugin.js
@@ -0,0 +1,491 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "filebrowser" plugin, it adds support for file uploads and
+ * browsing.
+ *
+ * When file is selected inside of the file browser or uploaded, its url is
+ * inserted automatically to a field, which is described in the 'filebrowser'
+ * attribute. To specify field that should be updated, pass the tab id and
+ * element id, separated with a colon.
+ *
+ * Example 1: (Browse)
+ *
+ * <pre>
+ * {
+ * type : 'button',
+ * id : 'browse',
+ * filebrowser : 'tabId:elementId',
+ * label : editor.lang.common.browseServer
+ * }
+ * </pre>
+ *
+ * If you set the 'filebrowser' attribute on any element other than
+ * 'fileButton', the 'Browse' action will be triggered.
+ *
+ * Example 2: (Quick Upload)
+ *
+ * <pre>
+ * {
+ * type : 'fileButton',
+ * id : 'uploadButton',
+ * filebrowser : 'tabId:elementId',
+ * label : editor.lang.common.uploadSubmit,
+ * 'for' : [ 'upload', 'upload' ]
+ * }
+ * </pre>
+ *
+ * If you set the 'filebrowser' attribute on a fileButton element, the
+ * 'QuickUpload' action will be executed.
+ *
+ * Filebrowser plugin also supports more advanced configuration (through
+ * javascript object).
+ *
+ * The following settings are supported:
+ *
+ * <pre>
+ * [action] - Browse or QuickUpload
+ * [target] - field to update, tabId:elementId
+ * [params] - additional arguments to be passed to the server connector (optional)
+ * [onSelect] - function to execute when file is selected/uploaded (optional)
+ * [url] - the URL to be called (optional)
+ * </pre>
+ *
+ * Example 3: (Quick Upload)
+ *
+ * <pre>
+ * {
+ * type : 'fileButton',
+ * label : editor.lang.common.uploadSubmit,
+ * id : 'buttonId',
+ * filebrowser :
+ * {
+ * action : 'QuickUpload', //required
+ * target : 'tab1:elementId', //required
+ * params : //optional
+ * {
+ * type : 'Files',
+ * currentFolder : '/folder/'
+ * },
+ * onSelect : function( fileUrl, errorMessage ) //optional
+ * {
+ * // Do not call the built-in selectFuntion
+ * // return false;
+ * }
+ * },
+ * 'for' : [ 'tab1', 'myFile' ]
+ * }
+ * </pre>
+ *
+ * Suppose we have a file element with id 'myFile', text field with id
+ * 'elementId' and a fileButton. If filebowser.url is not specified explicitly,
+ * form action will be set to 'filebrowser[DialogName]UploadUrl' or, if not
+ * specified, to 'filebrowserUploadUrl'. Additional parameters from 'params'
+ * object will be added to the query string. It is possible to create your own
+ * uploadHandler and cancel the built-in updateTargetElement command.
+ *
+ * Example 4: (Browse)
+ *
+ * <pre>
+ * {
+ * type : 'button',
+ * id : 'buttonId',
+ * label : editor.lang.common.browseServer,
+ * filebrowser :
+ * {
+ * action : 'Browse',
+ * url : '/ckfinder/ckfinder.html&type=Images',
+ * target : 'tab1:elementId'
+ * }
+ * }
+ * </pre>
+ *
+ * In this example, after pressing a button, file browser will be opened in a
+ * popup. If we don't specify filebrowser.url attribute,
+ * 'filebrowser[DialogName]BrowseUrl' or 'filebrowserBrowseUrl' will be used.
+ * After selecting a file in a file browser, an element with id 'elementId' will
+ * be updated. Just like in the third example, a custom 'onSelect' function may be
+ * defined.
+ */
+( function()
+{
+ /**
+ * Adds (additional) arguments to given url.
+ *
+ * @param {String}
+ * url The url.
+ * @param {Object}
+ * params Additional parameters.
+ */
+ function addQueryString( url, params )
+ {
+ var queryString = [];
+
+ if ( !params )
+ return url;
+ else
+ {
+ for ( var i in params )
+ queryString.push( i + "=" + encodeURIComponent( params[ i ] ) );
+ }
+
+ return url + ( ( url.indexOf( "?" ) != -1 ) ? "&" : "?" ) + queryString.join( "&" );
+ }
+
+ /**
+ * Make a string's first character uppercase.
+ *
+ * @param {String}
+ * str String.
+ */
+ function ucFirst( str )
+ {
+ str += '';
+ var f = str.charAt( 0 ).toUpperCase();
+ return f + str.substr( 1 );
+ }
+
+ /**
+ * The onlick function assigned to the 'Browse Server' button. Opens the
+ * file browser and updates target field when file is selected.
+ *
+ * @param {CKEDITOR.event}
+ * evt The event object.
+ */
+ function browseServer( evt )
+ {
+ var dialog = this.getDialog();
+ var editor = dialog.getParentEditor();
+
+ editor._.filebrowserSe = this;
+
+ var width = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowWidth' ]
+ || editor.config.filebrowserWindowWidth || '80%';
+ var height = editor.config[ 'filebrowser' + ucFirst( dialog.getName() ) + 'WindowHeight' ]
+ || editor.config.filebrowserWindowHeight || '70%';
+
+ var params = this.filebrowser.params || {};
+ params.CKEditor = editor.name;
+ params.CKEditorFuncNum = editor._.filebrowserFn;
+ if ( !params.langCode )
+ params.langCode = editor.langCode;
+
+ var url = addQueryString( this.filebrowser.url, params );
+ editor.popup( url, width, height, editor.config.fileBrowserWindowFeatures );
+ }
+
+ /**
+ * The onlick function assigned to the 'Upload' button. Makes the final
+ * decision whether form is really submitted and updates target field when
+ * file is uploaded.
+ *
+ * @param {CKEDITOR.event}
+ * evt The event object.
+ */
+ function uploadFile( evt )
+ {
+ var dialog = this.getDialog();
+ var editor = dialog.getParentEditor();
+
+ editor._.filebrowserSe = this;
+
+ // If user didn't select the file, stop the upload.
+ if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getInputElement().$.value )
+ return false;
+
+ if ( !dialog.getContentElement( this[ 'for' ][ 0 ], this[ 'for' ][ 1 ] ).getAction() )
+ return false;
+
+ return true;
+ }
+
+ /**
+ * Setups the file element.
+ *
+ * @param {CKEDITOR.ui.dialog.file}
+ * fileInput The file element used during file upload.
+ * @param {Object}
+ * filebrowser Object containing filebrowser settings assigned to
+ * the fileButton associated with this file element.
+ */
+ function setupFileElement( editor, fileInput, filebrowser )
+ {
+ var params = filebrowser.params || {};
+ params.CKEditor = editor.name;
+ params.CKEditorFuncNum = editor._.filebrowserFn;
+ if ( !params.langCode )
+ params.langCode = editor.langCode;
+
+ fileInput.action = addQueryString( filebrowser.url, params );
+ fileInput.filebrowser = filebrowser;
+ }
+
+ /**
+ * Traverse through the content definition and attach filebrowser to
+ * elements with 'filebrowser' attribute.
+ *
+ * @param String
+ * dialogName Dialog name.
+ * @param {CKEDITOR.dialog.dialogDefinitionObject}
+ * definition Dialog definition.
+ * @param {Array}
+ * elements Array of {@link CKEDITOR.dialog.contentDefinition}
+ * objects.
+ */
+ function attachFileBrowser( editor, dialogName, definition, elements )
+ {
+ var element, fileInput;
+
+ for ( var i in elements )
+ {
+ element = elements[ i ];
+
+ if ( element.type == 'hbox' || element.type == 'vbox' )
+ attachFileBrowser( editor, dialogName, definition, element.children );
+
+ if ( !element.filebrowser )
+ continue;
+
+ if ( typeof element.filebrowser == 'string' )
+ {
+ var fb =
+ {
+ action : ( element.type == 'fileButton' ) ? 'QuickUpload' : 'Browse',
+ target : element.filebrowser
+ };
+ element.filebrowser = fb;
+ }
+
+ if ( element.filebrowser.action == 'Browse' )
+ {
+ var url = element.filebrowser.url || editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'BrowseUrl' ]
+ || editor.config.filebrowserBrowseUrl;
+
+ if ( url )
+ {
+ element.onClick = browseServer;
+ element.filebrowser.url = url;
+ element.hidden = false;
+ }
+ }
+ else if ( element.filebrowser.action == 'QuickUpload' && element[ 'for' ] )
+ {
+ url = element.filebrowser.url || editor.config[ 'filebrowser' + ucFirst( dialogName ) + 'UploadUrl' ]
+ || editor.config.filebrowserUploadUrl;
+
+ if ( url )
+ {
+ var onClick = element.onClick;
+ element.onClick = function( evt )
+ {
+ // "element" here means the definition object, so we need to find the correct
+ // button to scope the event call
+ var sender = evt.sender;
+ if ( onClick && onClick.call( sender, evt ) === false )
+ return false;
+
+ return uploadFile.call( sender, evt );
+ };
+
+ element.filebrowser.url = url;
+ element.hidden = false;
+ setupFileElement( editor, definition.getContents( element[ 'for' ][ 0 ] ).get( element[ 'for' ][ 1 ] ), element.filebrowser );
+ }
+ }
+ }
+ }
+
+ /**
+ * Updates the target element with the url of uploaded/selected file.
+ *
+ * @param {String}
+ * url The url of a file.
+ */
+ function updateTargetElement( url, sourceElement )
+ {
+ var dialog = sourceElement.getDialog();
+ var targetElement = sourceElement.filebrowser.target || null;
+ url = url.replace( /#/g, '%23' );
+
+ // If there is a reference to targetElement, update it.
+ if ( targetElement )
+ {
+ var target = targetElement.split( ':' );
+ var element = dialog.getContentElement( target[ 0 ], target[ 1 ] );
+ if ( element )
+ {
+ element.setValue( url );
+ dialog.selectPage( target[ 0 ] );
+ }
+ }
+ }
+
+ /**
+ * Returns true if filebrowser is configured in one of the elements.
+ *
+ * @param {CKEDITOR.dialog.dialogDefinitionObject}
+ * definition Dialog definition.
+ * @param String
+ * tabId The tab id where element(s) can be found.
+ * @param String
+ * elementId The element id (or ids, separated with a semicolon) to check.
+ */
+ function isConfigured( definition, tabId, elementId )
+ {
+ if ( elementId.indexOf( ";" ) !== -1 )
+ {
+ var ids = elementId.split( ";" );
+ for ( var i = 0 ; i < ids.length ; i++ )
+ {
+ if ( isConfigured( definition, tabId, ids[i]) )
+ return true;
+ }
+ return false;
+ }
+
+ var elementFileBrowser = definition.getContents( tabId ).get( elementId ).filebrowser;
+ return ( elementFileBrowser && elementFileBrowser.url );
+ }
+
+ function setUrl( fileUrl, data )
+ {
+ var dialog = this._.filebrowserSe.getDialog(),
+ targetInput = this._.filebrowserSe[ 'for' ],
+ onSelect = this._.filebrowserSe.filebrowser.onSelect;
+
+ if ( targetInput )
+ dialog.getContentElement( targetInput[ 0 ], targetInput[ 1 ] ).reset();
+
+ if ( typeof data == 'function' && data.call( this._.filebrowserSe ) === false )
+ return;
+
+ if ( onSelect && onSelect.call( this._.filebrowserSe, fileUrl, data ) === false )
+ return;
+
+ // The "data" argument may be used to pass the error message to the editor.
+ if ( typeof data == 'string' && data )
+ alert( data );
+
+ if ( fileUrl )
+ updateTargetElement( fileUrl, this._.filebrowserSe );
+ }
+
+ CKEDITOR.plugins.add( 'filebrowser',
+ {
+ init : function( editor, pluginPath )
+ {
+ editor._.filebrowserFn = CKEDITOR.tools.addFunction( setUrl, editor );
+ }
+ } );
+
+ CKEDITOR.on( 'dialogDefinition', function( evt )
+ {
+ var definition = evt.data.definition,
+ element;
+ // Associate filebrowser to elements with 'filebrowser' attribute.
+ for ( var i in definition.contents )
+ {
+ if ( ( element = definition.contents[ i ] ) )
+ {
+ attachFileBrowser( evt.editor, evt.data.name, definition, element.elements );
+ if ( element.hidden && element.filebrowser )
+ {
+ element.hidden = !isConfigured( definition, element[ 'id' ], element.filebrowser );
+ }
+ }
+ }
+ } );
+
+} )();
+
+/**
+ * The location of an external file browser, that should be launched when "Browse Server" button is pressed.
+ * If configured, the "Browse Server" button will appear in Link, Image and Flash dialogs.
+ * @see The <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)">File Browser/Uploader</a> documentation.
+ * @name CKEDITOR.config.filebrowserBrowseUrl
+ * @since 3.0
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * config.filebrowserBrowseUrl = '/browser/browse.php';
+ */
+
+/**
+ * The location of a script that handles file uploads.
+ * If set, the "Upload" tab will appear in "Link", "Image" and "Flash" dialogs.
+ * @name CKEDITOR.config.filebrowserUploadUrl
+ * @see The <a href="http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)">File Browser/Uploader</a> documentation.
+ * @since 3.0
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * config.filebrowserUploadUrl = '/uploader/upload.php';
+ */
+
+/**
+ * The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Image dialog.
+ * If not set, CKEditor will use {@link CKEDITOR.config.filebrowserBrowseUrl}.
+ * @name CKEDITOR.config.filebrowserImageBrowseUrl
+ * @since 3.0
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * config.filebrowserImageBrowseUrl = '/browser/browse.php?type=Images';
+ */
+
+/**
+ * The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Flash dialog.
+ * If not set, CKEditor will use {@link CKEDITOR.config.filebrowserBrowseUrl}.
+ * @name CKEDITOR.config.filebrowserFlashBrowseUrl
+ * @since 3.0
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * config.filebrowserFlashBrowseUrl = '/browser/browse.php?type=Flash';
+ */
+
+/**
+ * The location of a script that handles file uploads in the Image dialog.
+ * If not set, CKEditor will use {@link CKEDITOR.config.filebrowserUploadUrl}.
+ * @name CKEDITOR.config.filebrowserImageUploadUrl
+ * @since 3.0
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * config.filebrowserImageUploadUrl = '/uploader/upload.php?type=Images';
+ */
+
+/**
+ * The location of a script that handles file uploads in the Flash dialog.
+ * If not set, CKEditor will use {@link CKEDITOR.config.filebrowserUploadUrl}.
+ * @name CKEDITOR.config.filebrowserFlashUploadUrl
+ * @since 3.0
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * config.filebrowserFlashUploadUrl = '/uploader/upload.php?type=Flash';
+ */
+
+/**
+ * The location of an external file browser, that should be launched when "Browse Server" button is pressed in the Link tab of Image dialog.
+ * If not set, CKEditor will use {@link CKEDITOR.config.filebrowserBrowseUrl}.
+ * @name CKEDITOR.config.filebrowserImageBrowseLinkUrl
+ * @since 3.2
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * config.filebrowserImageBrowseLinkUrl = '/browser/browse.php';
+ */
+
+/**
+ * The "features" to use in the file browser popup window.
+ * @name CKEDITOR.config.filebrowserWindowFeatures
+ * @since 3.4.1
+ * @type String
+ * @default 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes'
+ * @example
+ * config.filebrowserWindowFeatures = 'resizable=yes,scrollbars=no';
+ */
diff --git a/devel/third-party/ckeditor/plugins/find/dialogs/find.js b/devel/third-party/ckeditor/plugins/find/dialogs/find.js
new file mode 100644
index 0000000..bc9f8a4
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/find/dialogs/find.js
@@ -0,0 +1,885 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var isReplace;
+
+ function findEvaluator( node )
+ {
+ return node.type == CKEDITOR.NODE_TEXT && node.getLength() > 0 && ( !isReplace || !node.isReadOnly() );
+ }
+
+ /**
+ * Elements which break characters been considered as sequence.
+ */
+ function nonCharactersBoundary( node )
+ {
+ return !( node.type == CKEDITOR.NODE_ELEMENT && node.isBlockBoundary(
+ CKEDITOR.tools.extend( {}, CKEDITOR.dtd.$empty, CKEDITOR.dtd.$nonEditable ) ) );
+ }
+
+ /**
+ * Get the cursor object which represent both current character and it's dom
+ * position thing.
+ */
+ var cursorStep = function()
+ {
+ return {
+ textNode : this.textNode,
+ offset : this.offset,
+ character : this.textNode ?
+ this.textNode.getText().charAt( this.offset ) : null,
+ hitMatchBoundary : this._.matchBoundary
+ };
+ };
+
+ var pages = [ 'find', 'replace' ],
+ fieldsMapping = [
+ [ 'txtFindFind', 'txtFindReplace' ],
+ [ 'txtFindCaseChk', 'txtReplaceCaseChk' ],
+ [ 'txtFindWordChk', 'txtReplaceWordChk' ],
+ [ 'txtFindCyclic', 'txtReplaceCyclic' ] ];
+
+ /**
+ * Synchronize corresponding filed values between 'replace' and 'find' pages.
+ * @param {String} currentPageId The page id which receive values.
+ */
+ function syncFieldsBetweenTabs( currentPageId )
+ {
+ var sourceIndex, targetIndex,
+ sourceField, targetField;
+
+ sourceIndex = currentPageId === 'find' ? 1 : 0;
+ targetIndex = 1 - sourceIndex;
+ var i, l = fieldsMapping.length;
+ for ( i = 0 ; i < l ; i++ )
+ {
+ sourceField = this.getContentElement( pages[ sourceIndex ],
+ fieldsMapping[ i ][ sourceIndex ] );
+ targetField = this.getContentElement( pages[ targetIndex ],
+ fieldsMapping[ i ][ targetIndex ] );
+
+ targetField.setValue( sourceField.getValue() );
+ }
+ }
+
+ var findDialog = function( editor, startupPage )
+ {
+ // Style object for highlights: (#5018)
+ // 1. Defined as full match style to avoid compromising ordinary text color styles.
+ // 2. Must be apply onto inner-most text to avoid conflicting with ordinary text color styles visually.
+ var highlightStyle = new CKEDITOR.style( CKEDITOR.tools.extend( { fullMatch : true, childRule : function(){ return false; } },
+ editor.config.find_highlight ) );
+
+ /**
+ * Iterator which walk through the specified range char by char. By
+ * default the walking will not stop at the character boundaries, until
+ * the end of the range is encountered.
+ * @param { CKEDITOR.dom.range } range
+ * @param {Boolean} matchWord Whether the walking will stop at character boundary.
+ */
+ var characterWalker = function( range , matchWord )
+ {
+ var walker =
+ new CKEDITOR.dom.walker( range );
+ walker.guard = matchWord ? nonCharactersBoundary : null;
+ walker[ 'evaluator' ] = findEvaluator;
+ walker.breakOnFalse = true;
+
+ this._ = {
+ matchWord : matchWord,
+ walker : walker,
+ matchBoundary : false
+ };
+ };
+
+ characterWalker.prototype = {
+ next : function()
+ {
+ return this.move();
+ },
+
+ back : function()
+ {
+ return this.move( true );
+ },
+
+ move : function( rtl )
+ {
+ var currentTextNode = this.textNode;
+ // Already at the end of document, no more character available.
+ if ( currentTextNode === null )
+ return cursorStep.call( this );
+
+ this._.matchBoundary = false;
+
+ // There are more characters in the text node, step forward.
+ if ( currentTextNode
+ && rtl
+ && this.offset > 0 )
+ {
+ this.offset--;
+ return cursorStep.call( this );
+ }
+ else if ( currentTextNode
+ && this.offset < currentTextNode.getLength() - 1 )
+ {
+ this.offset++;
+ return cursorStep.call( this );
+ }
+ else
+ {
+ currentTextNode = null;
+ // At the end of the text node, walking foward for the next.
+ while ( !currentTextNode )
+ {
+ currentTextNode =
+ this._.walker[ rtl ? 'previous' : 'next' ].call( this._.walker );
+
+ // Stop searching if we're need full word match OR
+ // already reach document end.
+ if ( this._.matchWord && !currentTextNode
+ ||this._.walker._.end )
+ break;
+
+ // Marking as match character boundaries.
+ if ( !currentTextNode
+ && !nonCharactersBoundary( this._.walker.current ) )
+ this._.matchBoundary = true;
+
+ }
+ // Found a fresh text node.
+ this.textNode = currentTextNode;
+ if ( currentTextNode )
+ this.offset = rtl ? currentTextNode.getLength() - 1 : 0;
+ else
+ this.offset = 0;
+ }
+
+ return cursorStep.call( this );
+ }
+
+ };
+
+ /**
+ * A range of cursors which represent a trunk of characters which try to
+ * match, it has the same length as the pattern string.
+ */
+ var characterRange = function( characterWalker, rangeLength )
+ {
+ this._ = {
+ walker : characterWalker,
+ cursors : [],
+ rangeLength : rangeLength,
+ highlightRange : null,
+ isMatched : false
+ };
+ };
+
+ characterRange.prototype = {
+ /**
+ * Translate this range to {@link CKEDITOR.dom.range}
+ */
+ toDomRange : function()
+ {
+ var range = new CKEDITOR.dom.range( editor.document );
+ var cursors = this._.cursors;
+ if ( cursors.length < 1 )
+ {
+ var textNode = this._.walker.textNode;
+ if ( textNode )
+ range.setStartAfter( textNode );
+ else
+ return null;
+ }
+ else
+ {
+ var first = cursors[0],
+ last = cursors[ cursors.length - 1 ];
+
+ range.setStart( first.textNode, first.offset );
+ range.setEnd( last.textNode, last.offset + 1 );
+ }
+
+ return range;
+ },
+ /**
+ * Reflect the latest changes from dom range.
+ */
+ updateFromDomRange : function( domRange )
+ {
+ var cursor,
+ walker = new characterWalker( domRange );
+ this._.cursors = [];
+ do
+ {
+ cursor = walker.next();
+ if ( cursor.character )
+ this._.cursors.push( cursor );
+ }
+ while ( cursor.character );
+ this._.rangeLength = this._.cursors.length;
+ },
+
+ setMatched : function()
+ {
+ this._.isMatched = true;
+ },
+
+ clearMatched : function()
+ {
+ this._.isMatched = false;
+ },
+
+ isMatched : function()
+ {
+ return this._.isMatched;
+ },
+
+ /**
+ * Hightlight the current matched chunk of text.
+ */
+ highlight : function()
+ {
+ // Do not apply if nothing is found.
+ if ( this._.cursors.length < 1 )
+ return;
+
+ // Remove the previous highlight if there's one.
+ if ( this._.highlightRange )
+ this.removeHighlight();
+
+ // Apply the highlight.
+ var range = this.toDomRange(),
+ bookmark = range.createBookmark();
+ highlightStyle.applyToRange( range );
+ range.moveToBookmark( bookmark );
+ this._.highlightRange = range;
+
+ // Scroll the editor to the highlighted area.
+ var element = range.startContainer;
+ if ( element.type != CKEDITOR.NODE_ELEMENT )
+ element = element.getParent();
+ element.scrollIntoView();
+
+ // Update the character cursors.
+ this.updateFromDomRange( range );
+ },
+
+ /**
+ * Remove highlighted find result.
+ */
+ removeHighlight : function()
+ {
+ if ( !this._.highlightRange )
+ return;
+
+ var bookmark = this._.highlightRange.createBookmark();
+ highlightStyle.removeFromRange( this._.highlightRange );
+ this._.highlightRange.moveToBookmark( bookmark );
+ this.updateFromDomRange( this._.highlightRange );
+ this._.highlightRange = null;
+ },
+
+ isReadOnly : function()
+ {
+ if ( !this._.highlightRange )
+ return 0;
+
+ return this._.highlightRange.startContainer.isReadOnly();
+ },
+
+ moveBack : function()
+ {
+ var retval = this._.walker.back(),
+ cursors = this._.cursors;
+
+ if ( retval.hitMatchBoundary )
+ this._.cursors = cursors = [];
+
+ cursors.unshift( retval );
+ if ( cursors.length > this._.rangeLength )
+ cursors.pop();
+
+ return retval;
+ },
+
+ moveNext : function()
+ {
+ var retval = this._.walker.next(),
+ cursors = this._.cursors;
+
+ // Clear the cursors queue if we've crossed a match boundary.
+ if ( retval.hitMatchBoundary )
+ this._.cursors = cursors = [];
+
+ cursors.push( retval );
+ if ( cursors.length > this._.rangeLength )
+ cursors.shift();
+
+ return retval;
+ },
+
+ getEndCharacter : function()
+ {
+ var cursors = this._.cursors;
+ if ( cursors.length < 1 )
+ return null;
+
+ return cursors[ cursors.length - 1 ].character;
+ },
+
+ getNextCharacterRange : function( maxLength )
+ {
+ var lastCursor,
+ nextRangeWalker,
+ cursors = this._.cursors;
+
+ if ( ( lastCursor = cursors[ cursors.length - 1 ] ) && lastCursor.textNode )
+ nextRangeWalker = new characterWalker( getRangeAfterCursor( lastCursor ) );
+ // In case it's an empty range (no cursors), figure out next range from walker (#4951).
+ else
+ nextRangeWalker = this._.walker;
+
+ return new characterRange( nextRangeWalker, maxLength );
+ },
+
+ getCursors : function()
+ {
+ return this._.cursors;
+ }
+ };
+
+
+ // The remaining document range after the character cursor.
+ function getRangeAfterCursor( cursor , inclusive )
+ {
+ var range = new CKEDITOR.dom.range();
+ range.setStart( cursor.textNode,
+ ( inclusive ? cursor.offset : cursor.offset + 1 ) );
+ range.setEndAt( editor.document.getBody(),
+ CKEDITOR.POSITION_BEFORE_END );
+ return range;
+ }
+
+ // The document range before the character cursor.
+ function getRangeBeforeCursor( cursor )
+ {
+ var range = new CKEDITOR.dom.range();
+ range.setStartAt( editor.document.getBody(),
+ CKEDITOR.POSITION_AFTER_START );
+ range.setEnd( cursor.textNode, cursor.offset );
+ return range;
+ }
+
+ var KMP_NOMATCH = 0,
+ KMP_ADVANCED = 1,
+ KMP_MATCHED = 2;
+ /**
+ * Examination the occurrence of a word which implement KMP algorithm.
+ */
+ var kmpMatcher = function( pattern, ignoreCase )
+ {
+ var overlap = [ -1 ];
+ if ( ignoreCase )
+ pattern = pattern.toLowerCase();
+ for ( var i = 0 ; i < pattern.length ; i++ )
+ {
+ overlap.push( overlap[i] + 1 );
+ while ( overlap[ i + 1 ] > 0
+ && pattern.charAt( i ) != pattern
+ .charAt( overlap[ i + 1 ] - 1 ) )
+ overlap[ i + 1 ] = overlap[ overlap[ i + 1 ] - 1 ] + 1;
+ }
+
+ this._ = {
+ overlap : overlap,
+ state : 0,
+ ignoreCase : !!ignoreCase,
+ pattern : pattern
+ };
+ };
+
+ kmpMatcher.prototype =
+ {
+ feedCharacter : function( c )
+ {
+ if ( this._.ignoreCase )
+ c = c.toLowerCase();
+
+ while ( true )
+ {
+ if ( c == this._.pattern.charAt( this._.state ) )
+ {
+ this._.state++;
+ if ( this._.state == this._.pattern.length )
+ {
+ this._.state = 0;
+ return KMP_MATCHED;
+ }
+ return KMP_ADVANCED;
+ }
+ else if ( !this._.state )
+ return KMP_NOMATCH;
+ else
+ this._.state = this._.overlap[ this._.state ];
+ }
+
+ return null;
+ },
+
+ reset : function()
+ {
+ this._.state = 0;
+ }
+ };
+
+ var wordSeparatorRegex =
+ /[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/;
+
+ var isWordSeparator = function( c )
+ {
+ if ( !c )
+ return true;
+ var code = c.charCodeAt( 0 );
+ return ( code >= 9 && code <= 0xd )
+ || ( code >= 0x2000 && code <= 0x200a )
+ || wordSeparatorRegex.test( c );
+ };
+
+ var finder = {
+ searchRange : null,
+ matchRange : null,
+ find : function( pattern, matchCase, matchWord, matchCyclic, highlightMatched, cyclicRerun )
+ {
+ if ( !this.matchRange )
+ this.matchRange =
+ new characterRange(
+ new characterWalker( this.searchRange ),
+ pattern.length );
+ else
+ {
+ this.matchRange.removeHighlight();
+ this.matchRange = this.matchRange.getNextCharacterRange( pattern.length );
+ }
+
+ var matcher = new kmpMatcher( pattern, !matchCase ),
+ matchState = KMP_NOMATCH,
+ character = '%';
+
+ while ( character !== null )
+ {
+ this.matchRange.moveNext();
+ while ( ( character = this.matchRange.getEndCharacter() ) )
+ {
+ matchState = matcher.feedCharacter( character );
+ if ( matchState == KMP_MATCHED )
+ break;
+ if ( this.matchRange.moveNext().hitMatchBoundary )
+ matcher.reset();
+ }
+
+ if ( matchState == KMP_MATCHED )
+ {
+ if ( matchWord )
+ {
+ var cursors = this.matchRange.getCursors(),
+ tail = cursors[ cursors.length - 1 ],
+ head = cursors[ 0 ];
+
+ var headWalker = new characterWalker( getRangeBeforeCursor( head ), true ),
+ tailWalker = new characterWalker( getRangeAfterCursor( tail ), true );
+
+ if ( ! ( isWordSeparator( headWalker.back().character )
+ && isWordSeparator( tailWalker.next().character ) ) )
+ continue;
+ }
+ this.matchRange.setMatched();
+ if ( highlightMatched !== false )
+ this.matchRange.highlight();
+ return true;
+ }
+ }
+
+ this.matchRange.clearMatched();
+ this.matchRange.removeHighlight();
+ // Clear current session and restart with the default search
+ // range.
+ // Re-run the finding once for cyclic.(#3517)
+ if ( matchCyclic && !cyclicRerun )
+ {
+ this.searchRange = getSearchRange( true );
+ this.matchRange = null;
+ return arguments.callee.apply( this,
+ Array.prototype.slice.call( arguments ).concat( [ true ] ) );
+ }
+
+ return false;
+ },
+
+ /**
+ * Record how much replacement occurred toward one replacing.
+ */
+ replaceCounter : 0,
+
+ replace : function( dialog, pattern, newString, matchCase, matchWord,
+ matchCyclic , isReplaceAll )
+ {
+ isReplace = 1;
+
+ // Successiveness of current replace/find.
+ var result = false;
+
+ // 1. Perform the replace when there's already a match here.
+ // 2. Otherwise perform the find but don't replace it immediately.
+ if ( this.matchRange && this.matchRange.isMatched()
+ && !this.matchRange._.isReplaced && !this.matchRange.isReadOnly() )
+ {
+ // Turn off highlight for a while when saving snapshots.
+ this.matchRange.removeHighlight();
+ var domRange = this.matchRange.toDomRange();
+ var text = editor.document.createText( newString );
+ if ( !isReplaceAll )
+ {
+ // Save undo snaps before and after the replacement.
+ var selection = editor.getSelection();
+ selection.selectRanges( [ domRange ] );
+ editor.fire( 'saveSnapshot' );
+ }
+ domRange.deleteContents();
+ domRange.insertNode( text );
+ if ( !isReplaceAll )
+ {
+ selection.selectRanges( [ domRange ] );
+ editor.fire( 'saveSnapshot' );
+ }
+ this.matchRange.updateFromDomRange( domRange );
+ if ( !isReplaceAll )
+ this.matchRange.highlight();
+ this.matchRange._.isReplaced = true;
+ this.replaceCounter++;
+ result = true;
+ }
+ else
+ result = this.find( pattern, matchCase, matchWord, matchCyclic, !isReplaceAll );
+
+ isReplace = 0;
+
+ return result;
+ }
+ };
+
+ /**
+ * The range in which find/replace happened, receive from user
+ * selection prior.
+ */
+ function getSearchRange( isDefault )
+ {
+ var searchRange,
+ sel = editor.getSelection(),
+ body = editor.document.getBody();
+ if ( sel && !isDefault )
+ {
+ searchRange = sel.getRanges()[ 0 ].clone();
+ searchRange.collapse( true );
+ }
+ else
+ {
+ searchRange = new CKEDITOR.dom.range();
+ searchRange.setStartAt( body, CKEDITOR.POSITION_AFTER_START );
+ }
+ searchRange.setEndAt( body, CKEDITOR.POSITION_BEFORE_END );
+ return searchRange;
+ }
+
+ return {
+ title : editor.lang.findAndReplace.title,
+ resizable : CKEDITOR.DIALOG_RESIZE_NONE,
+ minWidth : 350,
+ minHeight : 165,
+ buttons : [ CKEDITOR.dialog.cancelButton ], //Cancel button only.
+ contents : [
+ {
+ id : 'find',
+ label : editor.lang.findAndReplace.find,
+ title : editor.lang.findAndReplace.find,
+ accessKey : '',
+ elements : [
+ {
+ type : 'hbox',
+ widths : [ '230px', '90px' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtFindFind',
+ label : editor.lang.findAndReplace.findWhat,
+ isChanged : false,
+ labelLayout : 'horizontal',
+ accessKey : 'F'
+ },
+ {
+ type : 'button',
+ align : 'left',
+ style : 'width:100%',
+ label : editor.lang.findAndReplace.find,
+ onClick : function()
+ {
+ var dialog = this.getDialog();
+ if ( !finder.find( dialog.getValueOf( 'find', 'txtFindFind' ),
+ dialog.getValueOf( 'find', 'txtFindCaseChk' ),
+ dialog.getValueOf( 'find', 'txtFindWordChk' ),
+ dialog.getValueOf( 'find', 'txtFindCyclic' ) ) )
+ alert( editor.lang.findAndReplace
+ .notFoundMsg );
+ }
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'checkbox',
+ id : 'txtFindCaseChk',
+ isChanged : false,
+ style : 'margin-top:28px',
+ label : editor.lang.findAndReplace.matchCase
+ },
+ {
+ type : 'checkbox',
+ id : 'txtFindWordChk',
+ isChanged : false,
+ label : editor.lang.findAndReplace.matchWord
+ },
+ {
+ type : 'checkbox',
+ id : 'txtFindCyclic',
+ isChanged : false,
+ 'default' : true,
+ label : editor.lang.findAndReplace.matchCyclic
+ }
+ ]
+ }
+ ]
+ },
+ {
+ id : 'replace',
+ label : editor.lang.findAndReplace.replace,
+ accessKey : 'M',
+ elements : [
+ {
+ type : 'hbox',
+ widths : [ '230px', '90px' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtFindReplace',
+ label : editor.lang.findAndReplace.findWhat,
+ isChanged : false,
+ labelLayout : 'horizontal',
+ accessKey : 'F'
+ },
+ {
+ type : 'button',
+ align : 'left',
+ style : 'width:100%',
+ label : editor.lang.findAndReplace.replace,
+ onClick : function()
+ {
+ var dialog = this.getDialog();
+ if ( !finder.replace( dialog,
+ dialog.getValueOf( 'replace', 'txtFindReplace' ),
+ dialog.getValueOf( 'replace', 'txtReplace' ),
+ dialog.getValueOf( 'replace', 'txtReplaceCaseChk' ),
+ dialog.getValueOf( 'replace', 'txtReplaceWordChk' ),
+ dialog.getValueOf( 'replace', 'txtReplaceCyclic' ) ) )
+ alert( editor.lang.findAndReplace
+ .notFoundMsg );
+ }
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '230px', '90px' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtReplace',
+ label : editor.lang.findAndReplace.replaceWith,
+ isChanged : false,
+ labelLayout : 'horizontal',
+ accessKey : 'R'
+ },
+ {
+ type : 'button',
+ align : 'left',
+ style : 'width:100%',
+ label : editor.lang.findAndReplace.replaceAll,
+ isChanged : false,
+ onClick : function()
+ {
+ var dialog = this.getDialog();
+ var replaceNums;
+
+ finder.replaceCounter = 0;
+
+ // Scope to full document.
+ finder.searchRange = getSearchRange( true );
+ if ( finder.matchRange )
+ {
+ finder.matchRange.removeHighlight();
+ finder.matchRange = null;
+ }
+ editor.fire( 'saveSnapshot' );
+ while ( finder.replace( dialog,
+ dialog.getValueOf( 'replace', 'txtFindReplace' ),
+ dialog.getValueOf( 'replace', 'txtReplace' ),
+ dialog.getValueOf( 'replace', 'txtReplaceCaseChk' ),
+ dialog.getValueOf( 'replace', 'txtReplaceWordChk' ),
+ false, true ) )
+ { /*jsl:pass*/ }
+
+ if ( finder.replaceCounter )
+ {
+ alert( editor.lang.findAndReplace.replaceSuccessMsg.replace( /%1/, finder.replaceCounter ) );
+ editor.fire( 'saveSnapshot' );
+ }
+ else
+ alert( editor.lang.findAndReplace.notFoundMsg );
+ }
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'checkbox',
+ id : 'txtReplaceCaseChk',
+ isChanged : false,
+ label : editor.lang.findAndReplace
+ .matchCase
+ },
+ {
+ type : 'checkbox',
+ id : 'txtReplaceWordChk',
+ isChanged : false,
+ label : editor.lang.findAndReplace
+ .matchWord
+ },
+ {
+ type : 'checkbox',
+ id : 'txtReplaceCyclic',
+ isChanged : false,
+ 'default' : true,
+ label : editor.lang.findAndReplace
+ .matchCyclic
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ onLoad : function()
+ {
+ var dialog = this;
+
+ //keep track of the current pattern field in use.
+ var patternField, wholeWordChkField;
+
+ //Ignore initial page select on dialog show
+ var isUserSelect = false;
+ this.on('hide', function()
+ {
+ isUserSelect = false;
+ } );
+ this.on('show', function()
+ {
+ isUserSelect = true;
+ } );
+
+ this.selectPage = CKEDITOR.tools.override( this.selectPage, function( originalFunc )
+ {
+ return function( pageId )
+ {
+ originalFunc.call( dialog, pageId );
+
+ var currPage = dialog._.tabs[ pageId ];
+ var patternFieldInput, patternFieldId, wholeWordChkFieldId;
+ patternFieldId = pageId === 'find' ? 'txtFindFind' : 'txtFindReplace';
+ wholeWordChkFieldId = pageId === 'find' ? 'txtFindWordChk' : 'txtReplaceWordChk';
+
+ patternField = dialog.getContentElement( pageId,
+ patternFieldId );
+ wholeWordChkField = dialog.getContentElement( pageId,
+ wholeWordChkFieldId );
+
+ // prepare for check pattern text filed 'keyup' event
+ if ( !currPage.initialized )
+ {
+ patternFieldInput = CKEDITOR.document
+ .getById( patternField._.inputId );
+ currPage.initialized = true;
+ }
+
+ if ( isUserSelect )
+ // synchronize fields on tab switch.
+ syncFieldsBetweenTabs.call( this, pageId );
+ };
+ } );
+
+ },
+ onShow : function()
+ {
+ // Establish initial searching start position.
+ finder.searchRange = getSearchRange();
+
+ this.selectPage( startupPage );
+ },
+ onHide : function()
+ {
+ var range;
+ if ( finder.matchRange && finder.matchRange.isMatched() )
+ {
+ finder.matchRange.removeHighlight();
+ editor.focus();
+
+ range = finder.matchRange.toDomRange();
+ if ( range )
+ editor.getSelection().selectRanges( [ range ] );
+ }
+
+ // Clear current session before dialog close
+ delete finder.matchRange;
+ },
+ onFocus : function()
+ {
+ if ( startupPage == 'replace' )
+ return this.getContentElement( 'replace', 'txtFindReplace' );
+ else
+ return this.getContentElement( 'find', 'txtFindFind' );
+ }
+ };
+ };
+
+ CKEDITOR.dialog.add( 'find', function( editor )
+ {
+ return findDialog( editor, 'find' );
+ });
+
+ CKEDITOR.dialog.add( 'replace', function( editor )
+ {
+ return findDialog( editor, 'replace' );
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/find/plugin.js b/devel/third-party/ckeditor/plugins/find/plugin.js
new file mode 100644
index 0000000..7b4ceca
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/find/plugin.js
@@ -0,0 +1,46 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'find',
+{
+ init : function( editor )
+ {
+ var forms = CKEDITOR.plugins.find;
+ editor.ui.addButton( 'Find',
+ {
+ label : editor.lang.findAndReplace.find,
+ command : 'find'
+ });
+ var findCommand = editor.addCommand( 'find', new CKEDITOR.dialogCommand( 'find' ) );
+ findCommand.canUndo = false;
+
+ editor.ui.addButton( 'Replace',
+ {
+ label : editor.lang.findAndReplace.replace,
+ command : 'replace'
+ });
+ var replaceCommand = editor.addCommand( 'replace', new CKEDITOR.dialogCommand( 'replace' ) );
+ replaceCommand.canUndo = false;
+
+ CKEDITOR.dialog.add( 'find', this.path + 'dialogs/find.js' );
+ CKEDITOR.dialog.add( 'replace', this.path + 'dialogs/find.js' );
+ },
+
+ requires : [ 'styles' ]
+} );
+
+/**
+ * Defines the style to be used to highlight results with the find dialog.
+ * @type Object
+ * @default { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } }
+ * @example
+ * // Highlight search results with blue on yellow.
+ * config.find_highlight =
+ * {
+ * element : 'span',
+ * styles : { 'background-color' : '#ff0', 'color' : '#00f' }
+ * };
+ */
+CKEDITOR.config.find_highlight = { element : 'span', styles : { 'background-color' : '#004', 'color' : '#fff' } };
diff --git a/devel/third-party/ckeditor/plugins/flash/dialogs/flash.js b/devel/third-party/ckeditor/plugins/flash/dialogs/flash.js
new file mode 100644
index 0000000..861cc34
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/flash/dialogs/flash.js
@@ -0,0 +1,698 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ /*
+ * It is possible to set things in three different places.
+ * 1. As attributes in the object tag.
+ * 2. As param tags under the object tag.
+ * 3. As attributes in the embed tag.
+ * It is possible for a single attribute to be present in more than one place.
+ * So let's define a mapping between a sementic attribute and its syntactic
+ * equivalents.
+ * Then we'll set and retrieve attribute values according to the mapping,
+ * instead of having to check and set each syntactic attribute every time.
+ *
+ * Reference: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701
+ */
+ var ATTRTYPE_OBJECT = 1,
+ ATTRTYPE_PARAM = 2,
+ ATTRTYPE_EMBED = 4;
+
+ var attributesMap =
+ {
+ id : [ { type : ATTRTYPE_OBJECT, name : 'id' } ],
+ classid : [ { type : ATTRTYPE_OBJECT, name : 'classid' } ],
+ codebase : [ { type : ATTRTYPE_OBJECT, name : 'codebase'} ],
+ pluginspage : [ { type : ATTRTYPE_EMBED, name : 'pluginspage' } ],
+ src : [ { type : ATTRTYPE_PARAM, name : 'movie' }, { type : ATTRTYPE_EMBED, name : 'src' } ],
+ name : [ { type : ATTRTYPE_EMBED, name : 'name' } ],
+ align : [ { type : ATTRTYPE_OBJECT, name : 'align' } ],
+ title : [ { type : ATTRTYPE_OBJECT, name : 'title' }, { type : ATTRTYPE_EMBED, name : 'title' } ],
+ 'class' : [ { type : ATTRTYPE_OBJECT, name : 'class' }, { type : ATTRTYPE_EMBED, name : 'class'} ],
+ width : [ { type : ATTRTYPE_OBJECT, name : 'width' }, { type : ATTRTYPE_EMBED, name : 'width' } ],
+ height : [ { type : ATTRTYPE_OBJECT, name : 'height' }, { type : ATTRTYPE_EMBED, name : 'height' } ],
+ hSpace : [ { type : ATTRTYPE_OBJECT, name : 'hSpace' }, { type : ATTRTYPE_EMBED, name : 'hSpace' } ],
+ vSpace : [ { type : ATTRTYPE_OBJECT, name : 'vSpace' }, { type : ATTRTYPE_EMBED, name : 'vSpace' } ],
+ style : [ { type : ATTRTYPE_OBJECT, name : 'style' }, { type : ATTRTYPE_EMBED, name : 'style' } ],
+ type : [ { type : ATTRTYPE_EMBED, name : 'type' } ]
+ };
+
+ var names = [ 'play', 'loop', 'menu', 'quality', 'scale', 'salign', 'wmode', 'bgcolor', 'base', 'flashvars', 'allowScriptAccess',
+ 'allowFullScreen' ];
+ for ( var i = 0 ; i < names.length ; i++ )
+ attributesMap[ names[i] ] = [ { type : ATTRTYPE_EMBED, name : names[i] }, { type : ATTRTYPE_PARAM, name : names[i] } ];
+ names = [ 'allowFullScreen', 'play', 'loop', 'menu' ];
+ for ( i = 0 ; i < names.length ; i++ )
+ attributesMap[ names[i] ][0]['default'] = attributesMap[ names[i] ][1]['default'] = true;
+
+ function loadValue( objectNode, embedNode, paramMap )
+ {
+ var attributes = attributesMap[ this.id ];
+ if ( !attributes )
+ return;
+
+ var isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox );
+ for ( var i = 0 ; i < attributes.length ; i++ )
+ {
+ var attrDef = attributes[ i ];
+ switch ( attrDef.type )
+ {
+ case ATTRTYPE_OBJECT:
+ if ( !objectNode )
+ continue;
+ if ( objectNode.getAttribute( attrDef.name ) !== null )
+ {
+ var value = objectNode.getAttribute( attrDef.name );
+ if ( isCheckbox )
+ this.setValue( value.toLowerCase() == 'true' );
+ else
+ this.setValue( value );
+ return;
+ }
+ else if ( isCheckbox )
+ this.setValue( !!attrDef[ 'default' ] );
+ break;
+ case ATTRTYPE_PARAM:
+ if ( !objectNode )
+ continue;
+ if ( attrDef.name in paramMap )
+ {
+ value = paramMap[ attrDef.name ];
+ if ( isCheckbox )
+ this.setValue( value.toLowerCase() == 'true' );
+ else
+ this.setValue( value );
+ return;
+ }
+ else if ( isCheckbox )
+ this.setValue( !!attrDef[ 'default' ] );
+ break;
+ case ATTRTYPE_EMBED:
+ if ( !embedNode )
+ continue;
+ if ( embedNode.getAttribute( attrDef.name ) )
+ {
+ value = embedNode.getAttribute( attrDef.name );
+ if ( isCheckbox )
+ this.setValue( value.toLowerCase() == 'true' );
+ else
+ this.setValue( value );
+ return;
+ }
+ else if ( isCheckbox )
+ this.setValue( !!attrDef[ 'default' ] );
+ }
+ }
+ }
+
+ function commitValue( objectNode, embedNode, paramMap )
+ {
+ var attributes = attributesMap[ this.id ];
+ if ( !attributes )
+ return;
+
+ var isRemove = ( this.getValue() === '' ),
+ isCheckbox = ( this instanceof CKEDITOR.ui.dialog.checkbox );
+
+ for ( var i = 0 ; i < attributes.length ; i++ )
+ {
+ var attrDef = attributes[i];
+ switch ( attrDef.type )
+ {
+ case ATTRTYPE_OBJECT:
+ if ( !objectNode )
+ continue;
+ var value = this.getValue();
+ if ( isRemove || isCheckbox && value === attrDef[ 'default' ] )
+ objectNode.removeAttribute( attrDef.name );
+ else
+ objectNode.setAttribute( attrDef.name, value );
+ break;
+ case ATTRTYPE_PARAM:
+ if ( !objectNode )
+ continue;
+ value = this.getValue();
+ if ( isRemove || isCheckbox && value === attrDef[ 'default' ] )
+ {
+ if ( attrDef.name in paramMap )
+ paramMap[ attrDef.name ].remove();
+ }
+ else
+ {
+ if ( attrDef.name in paramMap )
+ paramMap[ attrDef.name ].setAttribute( 'value', value );
+ else
+ {
+ var param = CKEDITOR.dom.element.createFromHtml( '<cke:param></cke:param>', objectNode.getDocument() );
+ param.setAttributes( { name : attrDef.name, value : value } );
+ if ( objectNode.getChildCount() < 1 )
+ param.appendTo( objectNode );
+ else
+ param.insertBefore( objectNode.getFirst() );
+ }
+ }
+ break;
+ case ATTRTYPE_EMBED:
+ if ( !embedNode )
+ continue;
+ value = this.getValue();
+ if ( isRemove || isCheckbox && value === attrDef[ 'default' ])
+ embedNode.removeAttribute( attrDef.name );
+ else
+ embedNode.setAttribute( attrDef.name, value );
+ }
+ }
+ }
+
+ CKEDITOR.dialog.add( 'flash', function( editor )
+ {
+ var makeObjectTag = !editor.config.flashEmbedTagOnly,
+ makeEmbedTag = editor.config.flashAddEmbedTag || editor.config.flashEmbedTagOnly;
+
+ var previewPreloader,
+ previewAreaHtml = '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.common.preview ) +'<br>' +
+ '<div id="cke_FlashPreviewLoader' + CKEDITOR.tools.getNextNumber() + '" style="display:none"><div class="loading"> </div></div>' +
+ '<div id="cke_FlashPreviewBox' + CKEDITOR.tools.getNextNumber() + '" class="FlashPreviewBox"></div></div>';
+
+ return {
+ title : editor.lang.flash.title,
+ minWidth : 420,
+ minHeight : 310,
+ onShow : function()
+ {
+ // Clear previously saved elements.
+ this.fakeImage = this.objectNode = this.embedNode = null;
+ previewPreloader = new CKEDITOR.dom.element( 'embed', editor.document );
+
+ // Try to detect any embed or object tag that has Flash parameters.
+ var fakeImage = this.getSelectedElement();
+ if ( fakeImage && fakeImage.getAttribute( '_cke_real_element_type' ) && fakeImage.getAttribute( '_cke_real_element_type' ) == 'flash' )
+ {
+ this.fakeImage = fakeImage;
+
+ var realElement = editor.restoreRealElement( fakeImage ),
+ objectNode = null, embedNode = null, paramMap = {};
+ if ( realElement.getName() == 'cke:object' )
+ {
+ objectNode = realElement;
+ var embedList = objectNode.getElementsByTag( 'embed', 'cke' );
+ if ( embedList.count() > 0 )
+ embedNode = embedList.getItem( 0 );
+ var paramList = objectNode.getElementsByTag( 'param', 'cke' );
+ for ( var i = 0, length = paramList.count() ; i < length ; i++ )
+ {
+ var item = paramList.getItem( i ),
+ name = item.getAttribute( 'name' ),
+ value = item.getAttribute( 'value' );
+ paramMap[ name ] = value;
+ }
+ }
+ else if ( realElement.getName() == 'cke:embed' )
+ embedNode = realElement;
+
+ this.objectNode = objectNode;
+ this.embedNode = embedNode;
+
+ this.setupContent( objectNode, embedNode, paramMap, fakeImage );
+ }
+ },
+ onOk : function()
+ {
+ // If there's no selected object or embed, create one. Otherwise, reuse the
+ // selected object and embed nodes.
+ var objectNode = null,
+ embedNode = null,
+ paramMap = null;
+ if ( !this.fakeImage )
+ {
+ if ( makeObjectTag )
+ {
+ objectNode = CKEDITOR.dom.element.createFromHtml( '<cke:object></cke:object>', editor.document );
+ var attributes = {
+ classid : 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
+ codebase : 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'
+ };
+ objectNode.setAttributes( attributes );
+ }
+ if ( makeEmbedTag )
+ {
+ embedNode = CKEDITOR.dom.element.createFromHtml( '<cke:embed></cke:embed>', editor.document );
+ embedNode.setAttributes(
+ {
+ type : 'application/x-shockwave-flash',
+ pluginspage : 'http://www.macromedia.com/go/getflashplayer'
+ } );
+ if ( objectNode )
+ embedNode.appendTo( objectNode );
+ }
+ }
+ else
+ {
+ objectNode = this.objectNode;
+ embedNode = this.embedNode;
+ }
+
+ // Produce the paramMap if there's an object tag.
+ if ( objectNode )
+ {
+ paramMap = {};
+ var paramList = objectNode.getElementsByTag( 'param', 'cke' );
+ for ( var i = 0, length = paramList.count() ; i < length ; i++ )
+ paramMap[ paramList.getItem( i ).getAttribute( 'name' ) ] = paramList.getItem( i );
+ }
+
+ // A subset of the specified attributes/styles
+ // should also be applied on the fake element to
+ // have better visual effect. (#5240)
+ var extraStyles = {}, extraAttributes = {};
+ this.commitContent( objectNode, embedNode, paramMap, extraStyles, extraAttributes );
+
+ // Refresh the fake image.
+ var newFakeImage = editor.createFakeElement( objectNode || embedNode, 'cke_flash', 'flash', true );
+ newFakeImage.setAttributes( extraAttributes );
+ newFakeImage.setStyles( extraStyles );
+ if ( this.fakeImage )
+ {
+ newFakeImage.replace( this.fakeImage );
+ editor.getSelection().selectElement( newFakeImage );
+ }
+ else
+ editor.insertElement( newFakeImage );
+ },
+
+ onHide : function()
+ {
+ if ( this.preview )
+ this.preview.setHtml('');
+ },
+
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.common.generalTab,
+ accessKey : 'I',
+ elements :
+ [
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '280px', '110px' ],
+ align : 'right',
+ children :
+ [
+ {
+ id : 'src',
+ type : 'text',
+ label : editor.lang.common.url,
+ required : true,
+ validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.flash.validateSrc ),
+ setup : loadValue,
+ commit : commitValue,
+ onLoad : function()
+ {
+ var dialog = this.getDialog(),
+ updatePreview = function( src ){
+ // Query the preloader to figure out the url impacted by based href.
+ previewPreloader.setAttribute( 'src', src );
+ dialog.preview.setHtml( '<embed height="100%" width="100%" src="'
+ + CKEDITOR.tools.htmlEncode( previewPreloader.getAttribute( 'src' ) )
+ + '" type="application/x-shockwave-flash"></embed>' );
+ };
+ // Preview element
+ dialog.preview = dialog.getContentElement( 'info', 'preview' ).getElement().getChild( 3 );
+
+ // Sync on inital value loaded.
+ this.on( 'change', function( evt ){
+
+ if ( evt.data && evt.data.value )
+ updatePreview( evt.data.value );
+ } );
+ // Sync when input value changed.
+ this.getInputElement().on( 'change', function( evt ){
+
+ updatePreview( this.getValue() );
+ }, this );
+ }
+ },
+ {
+ type : 'button',
+ id : 'browse',
+ filebrowser : 'info:src',
+ hidden : true,
+ // v-align with the 'src' field.
+ // TODO: We need something better than a fixed size here.
+ style : 'display:inline-block;margin-top:10px;',
+ label : editor.lang.common.browseServer
+ }
+ ]
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '25%', '25%', '25%', '25%', '25%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'width',
+ style : 'width:95px',
+ label : editor.lang.flash.width,
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateWidth ),
+ setup : function( objectNode, embedNode, paramMap, fakeImage )
+ {
+ loadValue.apply( this, arguments );
+ if ( fakeImage )
+ {
+ var fakeImageWidth = parseInt( fakeImage.$.style.width, 10 );
+ if ( !isNaN( fakeImageWidth ) )
+ this.setValue( fakeImageWidth );
+ }
+ },
+ commit : function( objectNode, embedNode, paramMap, extraStyles )
+ {
+ commitValue.apply( this, arguments );
+ if ( this.getValue() )
+ extraStyles.width = this.getValue() + 'px';
+ }
+ },
+ {
+ type : 'text',
+ id : 'height',
+ style : 'width:95px',
+ label : editor.lang.flash.height,
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHeight ),
+ setup : function( objectNode, embedNode, paramMap, fakeImage )
+ {
+ loadValue.apply( this, arguments );
+ if ( fakeImage )
+ {
+ var fakeImageHeight = parseInt( fakeImage.$.style.height, 10 );
+ if ( !isNaN( fakeImageHeight ) )
+ this.setValue( fakeImageHeight );
+ }
+ },
+ commit : function( objectNode, embedNode, paramMap, extraStyles )
+ {
+ commitValue.apply( this, arguments );
+ if ( this.getValue() )
+ extraStyles.height = this.getValue() + 'px';
+ }
+ },
+ {
+ type : 'text',
+ id : 'hSpace',
+ style : 'width:95px',
+ label : editor.lang.flash.hSpace,
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateHSpace ),
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ type : 'text',
+ id : 'vSpace',
+ style : 'width:95px',
+ label : editor.lang.flash.vSpace,
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.flash.validateVSpace ),
+ setup : loadValue,
+ commit : commitValue
+ }
+ ]
+ },
+
+ {
+ type : 'vbox',
+ children :
+ [
+ {
+ type : 'html',
+ id : 'preview',
+ style : 'width:95%;',
+ html : previewAreaHtml
+ }
+ ]
+ }
+ ]
+ },
+ {
+ id : 'Upload',
+ hidden : true,
+ filebrowser : 'uploadButton',
+ label : editor.lang.common.upload,
+ elements :
+ [
+ {
+ type : 'file',
+ id : 'upload',
+ label : editor.lang.common.upload,
+ size : 38
+ },
+ {
+ type : 'fileButton',
+ id : 'uploadButton',
+ label : editor.lang.common.uploadSubmit,
+ filebrowser : 'info:src',
+ 'for' : [ 'Upload', 'upload' ]
+ }
+ ]
+ },
+ {
+ id : 'properties',
+ label : editor.lang.flash.propertiesTab,
+ elements :
+ [
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ id : 'scale',
+ type : 'select',
+ label : editor.lang.flash.scale,
+ 'default' : '',
+ style : 'width : 100%;',
+ items :
+ [
+ [ editor.lang.common.notSet , ''],
+ [ editor.lang.flash.scaleAll, 'showall' ],
+ [ editor.lang.flash.scaleNoBorder, 'noborder' ],
+ [ editor.lang.flash.scaleFit, 'exactfit' ]
+ ],
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ id : 'allowScriptAccess',
+ type : 'select',
+ label : editor.lang.flash.access,
+ 'default' : '',
+ style : 'width : 100%;',
+ items :
+ [
+ [ editor.lang.common.notSet , ''],
+ [ editor.lang.flash.accessAlways, 'always' ],
+ [ editor.lang.flash.accessSameDomain, 'samedomain' ],
+ [ editor.lang.flash.accessNever, 'never' ]
+ ],
+ setup : loadValue,
+ commit : commitValue
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ id : 'wmode',
+ type : 'select',
+ label : editor.lang.flash.windowMode,
+ 'default' : '',
+ style : 'width : 100%;',
+ items :
+ [
+ [ editor.lang.common.notSet , '' ],
+ [ editor.lang.flash.windowModeWindow, 'window' ],
+ [ editor.lang.flash.windowModeOpaque, 'opaque' ],
+ [ editor.lang.flash.windowModeTransparent, 'transparent' ]
+ ],
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ id : 'quality',
+ type : 'select',
+ label : editor.lang.flash.quality,
+ 'default' : 'high',
+ style : 'width : 100%;',
+ items :
+ [
+ [ editor.lang.common.notSet , '' ],
+ [ editor.lang.flash.qualityBest, 'best' ],
+ [ editor.lang.flash.qualityHigh, 'high' ],
+ [ editor.lang.flash.qualityAutoHigh, 'autohigh' ],
+ [ editor.lang.flash.qualityMedium, 'medium' ],
+ [ editor.lang.flash.qualityAutoLow, 'autolow' ],
+ [ editor.lang.flash.qualityLow, 'low' ]
+ ],
+ setup : loadValue,
+ commit : commitValue
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ id : 'align',
+ type : 'select',
+ label : editor.lang.flash.align,
+ 'default' : '',
+ style : 'width : 100%;',
+ items :
+ [
+ [ editor.lang.common.notSet , ''],
+ [ editor.lang.flash.alignLeft , 'left'],
+ [ editor.lang.flash.alignAbsBottom , 'absBottom'],
+ [ editor.lang.flash.alignAbsMiddle , 'absMiddle'],
+ [ editor.lang.flash.alignBaseline , 'baseline'],
+ [ editor.lang.flash.alignBottom , 'bottom'],
+ [ editor.lang.flash.alignMiddle , 'middle'],
+ [ editor.lang.flash.alignRight , 'right'],
+ [ editor.lang.flash.alignTextTop , 'textTop'],
+ [ editor.lang.flash.alignTop , 'top']
+ ],
+ setup : loadValue,
+ commit : function( objectNode, embedNode, paramMap, extraStyles, extraAttributes )
+ {
+ var value = this.getValue();
+ commitValue.apply( this, arguments );
+ value && ( extraAttributes.align = value );
+ }
+ },
+ {
+ type : 'html',
+ html : '<div></div>'
+ }
+ ]
+ },
+ {
+ type : 'fieldset',
+ label : CKEDITOR.tools.htmlEncode( editor.lang.flash.flashvars ),
+ children :
+ [
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'checkbox',
+ id : 'menu',
+ label : editor.lang.flash.chkMenu,
+ 'default' : true,
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ type : 'checkbox',
+ id : 'play',
+ label : editor.lang.flash.chkPlay,
+ 'default' : true,
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ type : 'checkbox',
+ id : 'loop',
+ label : editor.lang.flash.chkLoop,
+ 'default' : true,
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ type : 'checkbox',
+ id : 'allowFullScreen',
+ label : editor.lang.flash.chkFull,
+ 'default' : true,
+ setup : loadValue,
+ commit : commitValue
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ id : 'advanced',
+ label : editor.lang.common.advancedTab,
+ elements :
+ [
+ {
+ type : 'hbox',
+ widths : [ '45%', '55%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'id',
+ label : editor.lang.common.id,
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ type : 'text',
+ id : 'title',
+ label : editor.lang.common.advisoryTitle,
+ setup : loadValue,
+ commit : commitValue
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '45%', '55%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'bgcolor',
+ label : editor.lang.flash.bgcolor,
+ setup : loadValue,
+ commit : commitValue
+ },
+ {
+ type : 'text',
+ id : 'class',
+ label : editor.lang.common.cssClass,
+ setup : loadValue,
+ commit : commitValue
+ }
+ ]
+ },
+ {
+ type : 'text',
+ id : 'style',
+ label : editor.lang.common.cssStyle,
+ setup : loadValue,
+ commit : commitValue
+ }
+ ]
+ }
+ ]
+ };
+ } );
+})();
diff --git a/devel/third-party/ckeditor/plugins/flash/plugin.js b/devel/third-party/ckeditor/plugins/flash/plugin.js
new file mode 100644
index 0000000..65e76c5
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/flash/plugin.js
@@ -0,0 +1,174 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var flashFilenameRegex = /\.swf(?:$|\?)/i,
+ numberRegex = /^\d+(?:\.\d+)?$/;
+
+ function cssifyLength( length )
+ {
+ if ( numberRegex.test( length ) )
+ return length + 'px';
+ return length;
+ }
+
+ function isFlashEmbed( element )
+ {
+ var attributes = element.attributes;
+
+ return ( attributes.type == 'application/x-shockwave-flash' || flashFilenameRegex.test( attributes.src || '' ) );
+ }
+
+ function createFakeElement( editor, realElement )
+ {
+ var fakeElement = editor.createFakeParserElement( realElement, 'cke_flash', 'flash', true ),
+ fakeStyle = fakeElement.attributes.style || '';
+
+ var width = realElement.attributes.width,
+ height = realElement.attributes.height;
+
+ if ( typeof width != 'undefined' )
+ fakeStyle = fakeElement.attributes.style = fakeStyle + 'width:' + cssifyLength( width ) + ';';
+
+ if ( typeof height != 'undefined' )
+ fakeStyle = fakeElement.attributes.style = fakeStyle + 'height:' + cssifyLength( height ) + ';';
+
+ return fakeElement;
+ }
+
+ CKEDITOR.plugins.add( 'flash',
+ {
+ init : function( editor )
+ {
+ editor.addCommand( 'flash', new CKEDITOR.dialogCommand( 'flash' ) );
+ editor.ui.addButton( 'Flash',
+ {
+ label : editor.lang.common.flash,
+ command : 'flash'
+ });
+ CKEDITOR.dialog.add( 'flash', this.path + 'dialogs/flash.js' );
+
+ editor.addCss(
+ 'img.cke_flash' +
+ '{' +
+ 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/placeholder.png' ) + ');' +
+ 'background-position: center center;' +
+ 'background-repeat: no-repeat;' +
+ 'border: 1px solid #a9a9a9;' +
+ 'width: 80px;' +
+ 'height: 80px;' +
+ '}'
+ );
+
+ // If the "menu" plugin is loaded, register the menu items.
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItems(
+ {
+ flash :
+ {
+ label : editor.lang.flash.properties,
+ command : 'flash',
+ group : 'flash'
+ }
+ });
+ }
+
+ editor.on( 'doubleclick', function( evt )
+ {
+ var element = evt.data.element;
+
+ if ( element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'flash' )
+ evt.data.dialog = 'flash';
+ });
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( element && element.is( 'img' ) && !element.isReadOnly()
+ && element.getAttribute( '_cke_real_element_type' ) == 'flash' )
+ return { flash : CKEDITOR.TRISTATE_OFF };
+ });
+ }
+ },
+
+ afterInit : function( editor )
+ {
+ var dataProcessor = editor.dataProcessor,
+ dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+ if ( dataFilter )
+ {
+ dataFilter.addRules(
+ {
+ elements :
+ {
+ 'cke:object' : function( element )
+ {
+ var attributes = element.attributes,
+ classId = attributes.classid && String( attributes.classid ).toLowerCase();
+
+ if ( !classId )
+ {
+ // Look for the inner <embed>
+ for ( var i = 0 ; i < element.children.length ; i++ )
+ {
+ if ( element.children[ i ].name == 'cke:embed' )
+ {
+ if ( !isFlashEmbed( element.children[ i ] ) )
+ return null;
+
+ return createFakeElement( editor, element );
+ }
+ }
+ return null;
+ }
+
+ return createFakeElement( editor, element );
+ },
+
+ 'cke:embed' : function( element )
+ {
+ if ( !isFlashEmbed( element ) )
+ return null;
+
+ return createFakeElement( editor, element );
+ }
+ }
+ },
+ 5);
+ }
+ },
+
+ requires : [ 'fakeobjects' ]
+ });
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+{
+ /**
+ * Save as EMBED tag only. This tag is unrecommended.
+ * @type Boolean
+ * @default false
+ */
+ flashEmbedTagOnly : false,
+
+ /**
+ * Add EMBED tag as alternative: <object><embed></embed></object>
+ * @type Boolean
+ * @default false
+ */
+ flashAddEmbedTag : true,
+
+ /**
+ * Use embedTagOnly and addEmbedTag values on edit.
+ * @type Boolean
+ * @default false
+ */
+ flashConvertOnEdit : false
+} );
diff --git a/devel/third-party/ckeditor/plugins/floatpanel/plugin.js b/devel/third-party/ckeditor/plugins/floatpanel/plugin.js
new file mode 100644
index 0000000..178459e
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/floatpanel/plugin.js
@@ -0,0 +1,398 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'floatpanel',
+{
+ requires : [ 'panel' ]
+});
+
+(function()
+{
+ var panels = {};
+ var isShowing = false;
+
+ function getPanel( editor, doc, parentElement, definition, level )
+ {
+ // Generates the panel key: docId-eleId-skinName-langDir[-uiColor][-CSSs][-level]
+ var key =
+ doc.getUniqueId() +
+ '-' + parentElement.getUniqueId() +
+ '-' + editor.skinName +
+ '-' + editor.lang.dir +
+ ( ( editor.uiColor && ( '-' + editor.uiColor ) ) || '' ) +
+ ( ( definition.css && ( '-' + definition.css ) ) || '' ) +
+ ( ( level && ( '-' + level ) ) || '' );
+
+ var panel = panels[ key ];
+
+ if ( !panel )
+ {
+ panel = panels[ key ] = new CKEDITOR.ui.panel( doc, definition );
+ panel.element = parentElement.append( CKEDITOR.dom.element.createFromHtml( panel.renderHtml( editor ), doc ) );
+
+ panel.element.setStyles(
+ {
+ display : 'none',
+ position : 'absolute'
+ });
+ }
+
+ return panel;
+ }
+
+ CKEDITOR.ui.floatPanel = CKEDITOR.tools.createClass(
+ {
+ $ : function( editor, parentElement, definition, level )
+ {
+ definition.forceIFrame = true;
+
+ var doc = parentElement.getDocument(),
+ panel = getPanel( editor, doc, parentElement, definition, level || 0 ),
+ element = panel.element,
+ iframe = element.getFirst().getFirst();
+
+ this.element = element;
+
+ this._ =
+ {
+ // The panel that will be floating.
+ panel : panel,
+ parentElement : parentElement,
+ definition : definition,
+ document : doc,
+ iframe : iframe,
+ children : [],
+ dir : editor.lang.dir
+ };
+ },
+
+ proto :
+ {
+ addBlock : function( name, block )
+ {
+ return this._.panel.addBlock( name, block );
+ },
+
+ addListBlock : function( name, multiSelect )
+ {
+ return this._.panel.addListBlock( name, multiSelect );
+ },
+
+ getBlock : function( name )
+ {
+ return this._.panel.getBlock( name );
+ },
+
+ /*
+ corner (LTR):
+ 1 = top-left
+ 2 = top-right
+ 3 = bottom-right
+ 4 = bottom-left
+
+ corner (RTL):
+ 1 = top-right
+ 2 = top-left
+ 3 = bottom-left
+ 4 = bottom-right
+ */
+ showBlock : function( name, offsetParent, corner, offsetX, offsetY )
+ {
+ var panel = this._.panel,
+ block = panel.showBlock( name );
+
+ this.allowBlur( false );
+ isShowing = true;
+
+ var element = this.element,
+ iframe = this._.iframe,
+ definition = this._.definition,
+ position = offsetParent.getDocumentPosition( element.getDocument() ),
+ rtl = this._.dir == 'rtl';
+
+ var left = position.x + ( offsetX || 0 ),
+ top = position.y + ( offsetY || 0 );
+
+ // Floating panels are off by (-1px, 0px) in RTL mode. (#3438)
+ if ( rtl && ( corner == 1 || corner == 4 ) )
+ left += offsetParent.$.offsetWidth;
+ else if ( !rtl && ( corner == 2 || corner == 3 ) )
+ left += offsetParent.$.offsetWidth - 1;
+
+ if ( corner == 3 || corner == 4 )
+ top += offsetParent.$.offsetHeight - 1;
+
+ // Memorize offsetParent by it's ID.
+ this._.panel._.offsetParentId = offsetParent.getId();
+
+ element.setStyles(
+ {
+ top : '-30000px',
+ display : ''
+ });
+ // Don't use display or visibility style because we need to
+ // calculate the rendering layout later and focus the element.
+ element.setOpacity( 0 );
+
+ // To allow the context menu to decrease back their width
+ element.getFirst().removeStyle( 'width' );
+
+ // Configure the IFrame blur event. Do that only once.
+ if ( !this._.blurSet )
+ {
+ // Non IE prefer the event into a window object.
+ var focused = CKEDITOR.env.ie ? iframe : new CKEDITOR.dom.window( iframe.$.contentWindow );
+
+ // With addEventListener compatible browsers, we must
+ // useCapture when registering the focus/blur events to
+ // guarantee they will be firing in all situations. (#3068, #3222 )
+ CKEDITOR.event.useCapture = true;
+
+ focused.on( 'blur', function( ev )
+ {
+ if ( !this.allowBlur() )
+ return;
+
+ // As we are using capture to register the listener,
+ // the blur event may get fired even when focusing
+ // inside the window itself, so we must ensure the
+ // target is out of it.
+ var target;
+ if ( CKEDITOR.env.ie && !this.allowBlur()
+ || ( target = ev.data.getTarget() )
+ && target.getName && target.getName() != 'iframe' )
+ return;
+
+ if ( this.visible && !this._.activeChild && !isShowing )
+ this.hide();
+ },
+ this );
+
+ focused.on( 'focus', function()
+ {
+ this._.focused = true;
+ this.hideChild();
+ this.allowBlur( true );
+ },
+ this );
+
+ CKEDITOR.event.useCapture = false;
+
+ this._.blurSet = 1;
+ }
+
+ panel.onEscape = CKEDITOR.tools.bind( function( keystroke )
+ {
+ if ( this.onEscape && this.onEscape( keystroke ) === false )
+ return false;
+ },
+ this );
+
+ CKEDITOR.tools.setTimeout( function()
+ {
+ if ( rtl )
+ left -= element.$.offsetWidth;
+
+ var panelLoad = CKEDITOR.tools.bind( function ()
+ {
+ var target = element.getFirst();
+
+ if ( block.autoSize )
+ {
+ // We must adjust first the width or IE6 could include extra lines in the height computation
+ var widthNode = block.element.$;
+
+ 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)
+ if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && width > 0 )
+ width += ( target.$.offsetWidth || 0 ) - ( target.$.clientWidth || 0 );
+ // A little extra at the end.
+ // If not present, IE6 might break into the next line, but also it looks better this way
+ width += 4 ;
+
+ target.setStyle( 'width', width + 'px' );
+
+ // IE doesn't compute the scrollWidth if a filter is applied previously
+ block.element.addClass( 'cke_frameLoaded' );
+
+ var height = block.element.$.scrollHeight;
+
+ // Account for extra height needed due to IE quirks box model bug:
+ // http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug
+ // (#3426)
+ if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && height > 0 )
+ height += ( target.$.offsetHeight || 0 ) - ( target.$.clientHeight || 0 );
+
+ target.setStyle( 'height', height + 'px' );
+
+ // Fix IE < 8 visibility.
+ panel._.currentBlock.element.setStyle( 'display', 'none' ).removeStyle( 'display' );
+ }
+ else
+ target.removeStyle( 'height' );
+
+ var panelElement = panel.element,
+ panelWindow = panelElement.getWindow(),
+ windowScroll = panelWindow.getScrollPosition(),
+ viewportSize = panelWindow.getViewPaneSize(),
+ panelSize =
+ {
+ 'height' : panelElement.$.offsetHeight,
+ 'width' : panelElement.$.offsetWidth
+ };
+
+ // If the menu is horizontal off, shift it toward
+ // the opposite language direction.
+ if ( rtl ? left < 0 : left + panelSize.width > viewportSize.width + windowScroll.x )
+ left += ( panelSize.width * ( rtl ? 1 : -1 ) );
+
+ // Vertical off screen is simpler.
+ if ( top + panelSize.height > viewportSize.height + windowScroll.y )
+ top -= panelSize.height;
+
+ // If IE is in RTL, we have troubles with absolute
+ // position and horizontal scrolls. Here we have a
+ // series of hacks to workaround it. (#6146)
+ if ( CKEDITOR.env.ie )
+ {
+ var offsetParent = new CKEDITOR.dom.element( element.$.offsetParent ),
+ scrollParent = offsetParent;
+
+ // Quirks returns <body>, but standards returns <html>.
+ if ( scrollParent.getName() == 'html' )
+ scrollParent = scrollParent.getDocument().getBody();
+
+ if ( scrollParent.getComputedStyle( 'direction' ) == 'rtl' )
+ {
+ // For IE8, there is not much logic on this, but it works.
+ if ( CKEDITOR.env.ie8Compat )
+ left -= element.getDocument().getDocumentElement().$.scrollLeft * 2;
+ else
+ left -= ( offsetParent.$.scrollWidth - offsetParent.$.clientWidth );
+ }
+ }
+
+ element.setStyles(
+ {
+ top : top + 'px',
+ left : left + 'px'
+ } );
+ element.setOpacity( 1 );
+ } , this );
+
+ panel.isLoaded ? panelLoad() : panel.onLoad = panelLoad;
+
+ // Set the panel frame focus, so the blur event gets fired.
+ CKEDITOR.tools.setTimeout( function()
+ {
+ iframe.$.contentWindow.focus();
+ // We need this get fired manually because of unfired focus() function.
+ this.allowBlur( true );
+ }, 0, this);
+ }, 0, this);
+ this.visible = 1;
+
+ if ( this.onShow )
+ this.onShow.call( this );
+
+ isShowing = false;
+ },
+
+ hide : function()
+ {
+ if ( this.visible && ( !this.onHide || this.onHide.call( this ) !== true ) )
+ {
+ this.hideChild();
+ this.element.setStyle( 'display', 'none' );
+ this.visible = 0;
+ }
+ },
+
+ allowBlur : function( allow ) // Prevent editor from hiding the panel. #3222.
+ {
+ var panel = this._.panel;
+ if ( allow != undefined )
+ panel.allowBlur = allow;
+
+ return panel.allowBlur;
+ },
+
+ showAsChild : function( panel, blockName, offsetParent, corner, offsetX, offsetY )
+ {
+ // Skip reshowing of child which is already visible.
+ if ( this._.activeChild == panel && panel._.panel._.offsetParentId == offsetParent.getId() )
+ return;
+
+ this.hideChild();
+
+ panel.onHide = CKEDITOR.tools.bind( function()
+ {
+ // Use a timeout, so we give time for this menu to get
+ // potentially focused.
+ CKEDITOR.tools.setTimeout( function()
+ {
+ if ( !this._.focused )
+ this.hide();
+ },
+ 0, this );
+ },
+ this );
+
+ this._.activeChild = panel;
+ this._.focused = false;
+
+ panel.showBlock( blockName, offsetParent, corner, offsetX, offsetY );
+
+ /* #3767 IE: Second level menu may not have borders */
+ if ( CKEDITOR.env.ie7Compat || ( CKEDITOR.env.ie8 && CKEDITOR.env.ie6Compat ) )
+ {
+ setTimeout(function()
+ {
+ panel.element.getChild( 0 ).$.style.cssText += '';
+ }, 100);
+ }
+ },
+
+ hideChild : function()
+ {
+ var activeChild = this._.activeChild;
+
+ if ( activeChild )
+ {
+ delete activeChild.onHide;
+ delete this._.activeChild;
+ activeChild.hide();
+ }
+ }
+ }
+ });
+
+ CKEDITOR.on( 'instanceDestroyed', function()
+ {
+ var isLastInstance = CKEDITOR.tools.isEmpty( CKEDITOR.instances );
+
+ for ( var i in panels )
+ {
+ var panel = panels[ i ];
+ // Safe to destroy it since there're no more instances.(#4241)
+ if ( isLastInstance )
+ panel.destroy();
+ // Panel might be used by other instances, just hide them.(#4552)
+ else
+ panel.element.hide();
+ }
+ // Remove the registration.
+ isLastInstance && ( panels = {} );
+
+ } );
+})();
diff --git a/devel/third-party/ckeditor/plugins/font/plugin.js b/devel/third-party/ckeditor/plugins/font/plugin.js
new file mode 100644
index 0000000..8dba467
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/font/plugin.js
@@ -0,0 +1,234 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ function addCombo( editor, comboName, styleType, lang, entries, defaultLabel, styleDefinition )
+ {
+ var config = editor.config;
+
+ // Gets the list of fonts from the settings.
+ var names = entries.split( ';' ),
+ values = [];
+
+ // Create style objects for all fonts.
+ var styles = {};
+ for ( var i = 0 ; i < names.length ; i++ )
+ {
+ var parts = names[ i ];
+
+ if ( parts )
+ {
+ parts = parts.split( '/' );
+
+ var vars = {},
+ name = names[ i ] = parts[ 0 ];
+
+ vars[ styleType ] = values[ i ] = parts[ 1 ] || name;
+
+ styles[ name ] = new CKEDITOR.style( styleDefinition, vars );
+ styles[ name ]._.definition.name = name;
+ }
+ else
+ names.splice( i--, 1 );
+ }
+
+ editor.ui.addRichCombo( comboName,
+ {
+ label : lang.label,
+ title : lang.panelTitle,
+ className : 'cke_' + ( styleType == 'size' ? 'fontSize' : 'font' ),
+ panel :
+ {
+ css : editor.skin.editor.css.concat( config.contentsCss ),
+ multiSelect : false,
+ attributes : { 'aria-label' : lang.panelTitle }
+ },
+
+ init : function()
+ {
+ this.startGroup( lang.panelTitle );
+
+ for ( var i = 0 ; i < names.length ; i++ )
+ {
+ var name = names[ i ];
+
+ // Add the tag entry to the panel list.
+ this.add( name, styles[ name ].buildPreview(), name );
+ }
+ },
+
+ onClick : function( value )
+ {
+ editor.focus();
+ editor.fire( 'saveSnapshot' );
+
+ var style = styles[ value ];
+
+ if ( this.getValue() == value )
+ style.remove( editor.document );
+ else
+ style.apply( editor.document );
+
+ editor.fire( 'saveSnapshot' );
+ },
+
+ onRender : function()
+ {
+ editor.on( 'selectionChange', function( ev )
+ {
+ var currentValue = this.getValue();
+
+ var elementPath = ev.data.path,
+ elements = elementPath.elements;
+
+ // For each element into the elements path.
+ for ( var i = 0, element ; i < elements.length ; i++ )
+ {
+ element = elements[i];
+
+ // Check if the element is removable by any of
+ // the styles.
+ for ( var value in styles )
+ {
+ if ( styles[ value ].checkElementRemovable( element, true ) )
+ {
+ if ( value != currentValue )
+ this.setValue( value );
+ return;
+ }
+ }
+ }
+
+ // If no styles match, just empty it.
+ this.setValue( '', defaultLabel );
+ },
+ this);
+ }
+ });
+ }
+
+ CKEDITOR.plugins.add( 'font',
+ {
+ requires : [ 'richcombo', 'styles' ],
+
+ init : function( editor )
+ {
+ var config = editor.config;
+
+ addCombo( editor, 'Font', 'family', editor.lang.font, config.font_names, config.font_defaultLabel, config.font_style );
+ addCombo( editor, 'FontSize', 'size', editor.lang.fontSize, config.fontSize_sizes, config.fontSize_defaultLabel, config.fontSize_style );
+ }
+ });
+})();
+
+/**
+ * The list of fonts names to be displayed in the Font combo in the toolbar.
+ * Entries are separated by semi-colons (;), while it's possible to have more
+ * than one font for each entry, in the HTML way (separated by comma).
+ *
+ * A display name may be optionally defined by prefixing the entries with the
+ * name and the slash character. For example, "Arial/Arial, Helvetica, sans-serif"
+ * will be displayed as "Arial" in the list, but will be outputted as
+ * "Arial, Helvetica, sans-serif".
+ * @type String
+ * @example
+ * config.font_names =
+ * 'Arial/Arial, Helvetica, sans-serif;' +
+ * 'Times New Roman/Times New Roman, Times, serif;' +
+ * 'Verdana';
+ * @example
+ * config.font_names = 'Arial;Times New Roman;Verdana';
+ */
+CKEDITOR.config.font_names =
+ 'Arial/Arial, Helvetica, sans-serif;' +
+ 'Comic Sans MS/Comic Sans MS, cursive;' +
+ 'Courier New/Courier New, Courier, monospace;' +
+ 'Georgia/Georgia, serif;' +
+ 'Lucida Sans Unicode/Lucida Sans Unicode, Lucida Grande, sans-serif;' +
+ 'Tahoma/Tahoma, Geneva, sans-serif;' +
+ 'Times New Roman/Times New Roman, Times, serif;' +
+ 'Trebuchet MS/Trebuchet MS, Helvetica, sans-serif;' +
+ 'Verdana/Verdana, Geneva, sans-serif';
+
+/**
+ * The text to be displayed in the Font combo is none of the available values
+ * matches the current cursor position or text selection.
+ * @type String
+ * @example
+ * // If the default site font is Arial, we may making it more explicit to the end user.
+ * config.font_defaultLabel = 'Arial';
+ */
+CKEDITOR.config.font_defaultLabel = '';
+
+/**
+ * The style definition to be used to apply the font in the text.
+ * @type Object
+ * @example
+ * // This is actually the default value for it.
+ * config.font_style =
+ * {
+ * element : 'span',
+ * styles : { 'font-family' : '#(family)' },
+ * overrides : [ { element : 'font', attributes : { 'face' : null } } ]
+ * };
+ */
+CKEDITOR.config.font_style =
+ {
+ element : 'span',
+ styles : { 'font-family' : '#(family)' },
+ overrides : [ { element : 'font', attributes : { 'face' : null } } ]
+ };
+
+/**
+ * The list of fonts size to be displayed in the Font Size combo in the
+ * toolbar. Entries are separated by semi-colons (;).
+ *
+ * Any kind of "CSS like" size can be used, like "12px", "2.3em", "130%",
+ * "larger" or "x-small".
+ *
+ * A display name may be optionally defined by prefixing the entries with the
+ * name and the slash character. For example, "Bigger Font/14px" will be
+ * displayed as "Bigger Font" in the list, but will be outputted as "14px".
+ * @type String
+ * @default '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px'
+ * @example
+ * config.fontSize_sizes = '16/16px;24/24px;48/48px;';
+ * @example
+ * config.fontSize_sizes = '12px;2.3em;130%;larger;x-small';
+ * @example
+ * config.fontSize_sizes = '12 Pixels/12px;Big/2.3em;30 Percent More/130%;Bigger/larger;Very Small/x-small';
+ */
+CKEDITOR.config.fontSize_sizes =
+ '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px';
+
+/**
+ * The text to be displayed in the Font Size combo is none of the available
+ * values matches the current cursor position or text selection.
+ * @type String
+ * @example
+ * // If the default site font size is 12px, we may making it more explicit to the end user.
+ * config.fontSize_defaultLabel = '12px';
+ */
+CKEDITOR.config.fontSize_defaultLabel = '';
+
+/**
+ * The style definition to be used to apply the font size in the text.
+ * @type Object
+ * @example
+ * // This is actually the default value for it.
+ * config.fontSize_style =
+ * {
+ * element : 'span',
+ * styles : { 'font-size' : '#(size)' },
+ * overrides : [ { element : 'font', attributes : { 'size' : null } } ]
+ * };
+ */
+CKEDITOR.config.fontSize_style =
+ {
+ element : 'span',
+ styles : { 'font-size' : '#(size)' },
+ overrides : [ { element : 'font', attributes : { 'size' : null } } ]
+ };
diff --git a/devel/third-party/ckeditor/plugins/format/plugin.js b/devel/third-party/ckeditor/plugins/format/plugin.js
new file mode 100644
index 0000000..bb0d997
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/format/plugin.js
@@ -0,0 +1,194 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'format',
+{
+ requires : [ 'richcombo', 'styles' ],
+
+ init : function( editor )
+ {
+ var config = editor.config,
+ lang = editor.lang.format;
+
+ // Gets the list of tags from the settings.
+ var tags = config.format_tags.split( ';' );
+
+ // Create style objects for all defined styles.
+ var styles = {};
+ for ( var i = 0 ; i < tags.length ; i++ )
+ {
+ var tag = tags[ i ];
+ styles[ tag ] = new CKEDITOR.style( config[ 'format_' + tag ] );
+ styles[ tag ]._.enterMode = editor.config.enterMode;
+ }
+
+ editor.ui.addRichCombo( 'Format',
+ {
+ label : lang.label,
+ title : lang.panelTitle,
+ className : 'cke_format',
+ panel :
+ {
+ css : editor.skin.editor.css.concat( config.contentsCss ),
+ multiSelect : false,
+ attributes : { 'aria-label' : lang.panelTitle }
+ },
+
+ init : function()
+ {
+ this.startGroup( lang.panelTitle );
+
+ for ( var tag in styles )
+ {
+ var label = lang[ 'tag_' + tag ];
+
+ // Add the tag entry to the panel list.
+ this.add( tag, '<' + tag + '>' + label + '</' + tag + '>', label );
+ }
+ },
+
+ onClick : function( value )
+ {
+ editor.focus();
+ editor.fire( 'saveSnapshot' );
+
+ styles[ value ].apply( editor.document );
+
+ // Save the undo snapshot after all changes are affected. (#4899)
+ setTimeout( function()
+ {
+ editor.fire( 'saveSnapshot' );
+ }, 0 );
+ },
+
+ onRender : function()
+ {
+ editor.on( 'selectionChange', function( ev )
+ {
+ var currentTag = this.getValue();
+
+ var elementPath = ev.data.path;
+
+ for ( var tag in styles )
+ {
+ if ( styles[ tag ].checkActive( elementPath ) )
+ {
+ if ( tag != currentTag )
+ this.setValue( tag, editor.lang.format[ 'tag_' + tag ] );
+ return;
+ }
+ }
+
+ // If no styles match, just empty it.
+ this.setValue( '' );
+ },
+ this);
+ }
+ });
+ }
+});
+
+/**
+ * A list of semi colon separated style names (by default tags) representing
+ * the style definition for each entry to be displayed in the Format combo in
+ * the toolbar. Each entry must have its relative definition configuration in a
+ * setting named "format_(tagName)". For example, the "p" entry has its
+ * definition taken from config.format_p.
+ * @type String
+ * @default 'p;h1;h2;h3;h4;h5;h6;pre;address;div'
+ * @example
+ * config.format_tags = 'p;h2;h3;pre'
+ */
+CKEDITOR.config.format_tags = 'p;h1;h2;h3;h4;h5;h6;pre;address;div';
+
+/**
+ * The style definition to be used to apply the "Normal" format.
+ * @type Object
+ * @default { element : 'p' }
+ * @example
+ * config.format_p = { element : 'p', attributes : { class : 'normalPara' } };
+ */
+CKEDITOR.config.format_p = { element : 'p' };
+
+/**
+ * The style definition to be used to apply the "Normal (DIV)" format.
+ * @type Object
+ * @default { element : 'div' }
+ * @example
+ * config.format_div = { element : 'div', attributes : { class : 'normalDiv' } };
+ */
+CKEDITOR.config.format_div = { element : 'div' };
+
+/**
+ * The style definition to be used to apply the "Formatted" format.
+ * @type Object
+ * @default { element : 'pre' }
+ * @example
+ * config.format_pre = { element : 'pre', attributes : { class : 'code' } };
+ */
+CKEDITOR.config.format_pre = { element : 'pre' };
+
+/**
+ * The style definition to be used to apply the "Address" format.
+ * @type Object
+ * @default { element : 'address' }
+ * @example
+ * config.format_address = { element : 'address', attributes : { class : 'styledAddress' } };
+ */
+CKEDITOR.config.format_address = { element : 'address' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h1' }
+ * @example
+ * config.format_h1 = { element : 'h1', attributes : { class : 'contentTitle1' } };
+ */
+CKEDITOR.config.format_h1 = { element : 'h1' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h2' }
+ * @example
+ * config.format_h2 = { element : 'h2', attributes : { class : 'contentTitle2' } };
+ */
+CKEDITOR.config.format_h2 = { element : 'h2' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h3' }
+ * @example
+ * config.format_h3 = { element : 'h3', attributes : { class : 'contentTitle3' } };
+ */
+CKEDITOR.config.format_h3 = { element : 'h3' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h4' }
+ * @example
+ * config.format_h4 = { element : 'h4', attributes : { class : 'contentTitle4' } };
+ */
+CKEDITOR.config.format_h4 = { element : 'h4' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h5' }
+ * @example
+ * config.format_h5 = { element : 'h5', attributes : { class : 'contentTitle5' } };
+ */
+CKEDITOR.config.format_h5 = { element : 'h5' };
+
+/**
+ * The style definition to be used to apply the "Heading 1" format.
+ * @type Object
+ * @default { element : 'h6' }
+ * @example
+ * config.format_h6 = { element : 'h6', attributes : { class : 'contentTitle6' } };
+ */
+CKEDITOR.config.format_h6 = { element : 'h6' };
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/button.js b/devel/third-party/ckeditor/plugins/forms/dialogs/button.js
new file mode 100644
index 0000000..86cb4d7
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/button.js
@@ -0,0 +1,135 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'button', function( editor )
+{
+ return {
+ title : editor.lang.button.title,
+ minWidth : 350,
+ minHeight : 150,
+ onShow : function()
+ {
+ delete this.button;
+ var element = this.getParentEditor().getSelection().getSelectedElement();
+ if ( element && element.getName() == "input" )
+ {
+ var type = element.getAttribute( 'type' );
+ if ( type == "button" || type == "reset" || type == "submit" )
+ {
+ this.button = element;
+ this.setupContent( element );
+ }
+ }
+ },
+ onOk : function()
+ {
+ var editor,
+ element = this.button,
+ isInsertMode = !element;
+
+ if ( isInsertMode )
+ {
+ editor = this.getParentEditor();
+ element = editor.document.createElement( 'input' );
+ }
+
+ if ( isInsertMode )
+ editor.insertElement( element );
+ this.commitContent( { element : element } );
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.button.title,
+ title : editor.lang.button.title,
+ elements : [
+ {
+ id : '_cke_saved_name',
+ type : 'text',
+ label : editor.lang.common.name,
+ 'default' : '',
+ setup : function( element )
+ {
+ this.setValue(
+ element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( this.getValue() )
+ element.setAttribute( '_cke_saved_name', this.getValue() );
+ else
+ {
+ element.removeAttribute( '_cke_saved_name' );
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'value',
+ type : 'text',
+ label : editor.lang.button.text,
+ accessKey : 'V',
+ 'default' : '',
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( 'value' ) || '' );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( this.getValue() )
+ element.setAttribute( 'value', this.getValue() );
+ else
+ element.removeAttribute( 'value' );
+ }
+ },
+ {
+ id : 'type',
+ type : 'select',
+ label : editor.lang.button.type,
+ 'default' : 'button',
+ accessKey : 'T',
+ items :
+ [
+ [ editor.lang.button.typeBtn, 'button' ],
+ [ editor.lang.button.typeSbm, 'submit' ],
+ [ editor.lang.button.typeRst, 'reset' ]
+ ],
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( 'type' ) || '' );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( CKEDITOR.env.ie )
+ {
+ var elementType = element.getAttribute( 'type' );
+ var currentType = this.getValue();
+
+ if ( currentType != elementType )
+ {
+ var replace = CKEDITOR.dom.element.createFromHtml( '<input type="' + currentType +
+ '"></input>', editor.document );
+ element.copyAttributes( replace, { type : 1 } );
+ replace.replace( element );
+ editor.getSelection().selectElement( replace );
+ data.element = replace;
+ }
+ }
+ else
+ element.setAttribute( 'type', this.getValue() );
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/checkbox.js b/devel/third-party/ckeditor/plugins/forms/dialogs/checkbox.js
new file mode 100644
index 0000000..92bcddb
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/checkbox.js
@@ -0,0 +1,155 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'checkbox', function( editor )
+{
+ return {
+ title : editor.lang.checkboxAndRadio.checkboxTitle,
+ minWidth : 350,
+ minHeight : 140,
+ onShow : function()
+ {
+ delete this.checkbox;
+
+ var element = this.getParentEditor().getSelection().getSelectedElement();
+
+ if ( element && element.getAttribute( 'type' ) == "checkbox" )
+ {
+ this.checkbox = element;
+ this.setupContent( element );
+ }
+ },
+ onOk : function()
+ {
+ var editor,
+ element = this.checkbox,
+ isInsertMode = !element;
+
+ if ( isInsertMode )
+ {
+ editor = this.getParentEditor();
+ element = editor.document.createElement( 'input' );
+ element.setAttribute( 'type', 'checkbox' );
+ }
+
+ if ( isInsertMode )
+ editor.insertElement( element );
+ this.commitContent( { element : element } );
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.checkboxAndRadio.checkboxTitle,
+ title : editor.lang.checkboxAndRadio.checkboxTitle,
+ startupFocus : 'txtName',
+ elements : [
+ {
+ id : 'txtName',
+ type : 'text',
+ label : editor.lang.common.name,
+ 'default' : '',
+ accessKey : 'N',
+ setup : function( element )
+ {
+ this.setValue(
+ element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ // IE failed to update 'name' property on input elements, protect it now.
+ if ( this.getValue() )
+ element.setAttribute( '_cke_saved_name', this.getValue() );
+ else
+ {
+ element.removeAttribute( '_cke_saved_name' );
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'txtValue',
+ type : 'text',
+ label : editor.lang.checkboxAndRadio.value,
+ 'default' : '',
+ accessKey : 'V',
+ setup : function( element )
+ {
+ var value = element.getAttribute( 'value' );
+ // IE Return 'on' as default attr value.
+ this.setValue( CKEDITOR.env.ie && value == 'on' ? '' : value );
+ },
+ commit : function( data )
+ {
+ var element = data.element,
+ value = this.getValue();
+
+ if ( value && !( CKEDITOR.env.ie && value == 'on' ) )
+ element.setAttribute( 'value', value );
+ else
+ {
+ if ( CKEDITOR.env.ie )
+ {
+ // Remove attribute 'value' of checkbox #4721.
+ var checkbox = new CKEDITOR.dom.element( 'input', element.getDocument() );
+ element.copyAttributes( checkbox, { value: 1 } );
+ checkbox.replace( element );
+ editor.getSelection().selectElement( checkbox );
+ data.element = checkbox;
+ }
+ else
+ element.removeAttribute( 'value' );
+ }
+ }
+ },
+ {
+ id : 'cmbSelected',
+ type : 'checkbox',
+ label : editor.lang.checkboxAndRadio.selected,
+ 'default' : '',
+ accessKey : 'S',
+ value : "checked",
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( 'checked' ) );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( CKEDITOR.env.ie )
+ {
+ var isElementChecked = !!element.getAttribute( 'checked' );
+ var isChecked = !!this.getValue();
+
+ if ( isElementChecked != isChecked )
+ {
+ var replace = CKEDITOR.dom.element.createFromHtml( '<input type="checkbox"'
+ + ( isChecked ? ' checked="checked"' : '' )
+ + '/>', editor.document );
+
+ element.copyAttributes( replace, { type : 1, checked : 1 } );
+ replace.replace( element );
+ editor.getSelection().selectElement( replace );
+ data.element = replace;
+ }
+ }
+ else
+ {
+ var value = this.getValue();
+ if ( value )
+ element.setAttribute( 'checked', 'checked' );
+ else
+ element.removeAttribute( 'checked' );
+ }
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/form.js b/devel/third-party/ckeditor/plugins/forms/dialogs/form.js
new file mode 100644
index 0000000..43c29c3
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/form.js
@@ -0,0 +1,177 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'form', function( editor )
+{
+ var autoAttributes =
+ {
+ action : 1,
+ id : 1,
+ method : 1,
+ enctype : 1,
+ target : 1
+ };
+
+ return {
+ title : editor.lang.form.title,
+ minWidth : 350,
+ minHeight : 200,
+ onShow : function()
+ {
+ delete this.form;
+
+ var element = this.getParentEditor().getSelection().getStartElement();
+ var form = element && element.getAscendant( 'form', true );
+ if ( form )
+ {
+ this.form = form;
+ this.setupContent( form );
+ }
+ },
+ onOk : function()
+ {
+ var editor,
+ element = this.form,
+ isInsertMode = !element;
+
+ if ( isInsertMode )
+ {
+ editor = this.getParentEditor();
+ element = editor.document.createElement( 'form' );
+ element.append( editor.document.createElement( 'br' ) );
+ }
+
+ if ( isInsertMode )
+ editor.insertElement( element );
+ this.commitContent( element );
+ },
+ onLoad : function()
+ {
+ function autoSetup( element )
+ {
+ this.setValue( element.getAttribute( this.id ) || '' );
+ }
+
+ function autoCommit( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( this.id, this.getValue() );
+ else
+ element.removeAttribute( this.id );
+ }
+
+ this.foreach( function( contentObj )
+ {
+ if ( autoAttributes[ contentObj.id ] )
+ {
+ contentObj.setup = autoSetup;
+ contentObj.commit = autoCommit;
+ }
+ } );
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.form.title,
+ title : editor.lang.form.title,
+ elements : [
+ {
+ id : 'txtName',
+ type : 'text',
+ label : editor.lang.common.name,
+ 'default' : '',
+ accessKey : 'N',
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( '_cke_saved_name', this.getValue() );
+ else
+ {
+ element.removeAttribute( '_cke_saved_name' );
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'action',
+ type : 'text',
+ label : editor.lang.form.action,
+ 'default' : '',
+ accessKey : 'T'
+ },
+ {
+ type : 'hbox',
+ widths : [ '45%', '55%' ],
+ children :
+ [
+ {
+ id : 'id',
+ type : 'text',
+ label : editor.lang.common.id,
+ 'default' : '',
+ accessKey : 'I'
+ },
+ {
+ id : 'enctype',
+ type : 'select',
+ label : editor.lang.form.encoding,
+ style : 'width:100%',
+ accessKey : 'E',
+ 'default' : '',
+ items :
+ [
+ [ '' ],
+ [ 'text/plain' ],
+ [ 'multipart/form-data' ],
+ [ 'application/x-www-form-urlencoded' ]
+ ]
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '45%', '55%' ],
+ children :
+ [
+ {
+ id : 'target',
+ type : 'select',
+ label : editor.lang.common.target,
+ style : 'width:100%',
+ accessKey : 'M',
+ 'default' : '',
+ items :
+ [
+ [ editor.lang.common.notSet, '' ],
+ [ editor.lang.common.targetNew, '_blank' ],
+ [ editor.lang.common.targetTop, '_top' ],
+ [ editor.lang.common.targetSelf, '_self' ],
+ [ editor.lang.common.targetParent, '_parent' ]
+ ]
+ },
+ {
+ id : 'method',
+ type : 'select',
+ label : editor.lang.form.method,
+ accessKey : 'M',
+ 'default' : 'GET',
+ items :
+ [
+ [ 'GET', 'get' ],
+ [ 'POST', 'post' ]
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/hiddenfield.js b/devel/third-party/ckeditor/plugins/forms/dialogs/hiddenfield.js
new file mode 100644
index 0000000..4d823b1
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/hiddenfield.js
@@ -0,0 +1,98 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'hiddenfield', function( editor )
+{
+ return {
+ title : editor.lang.hidden.title,
+ hiddenField : null,
+ minWidth : 350,
+ minHeight : 110,
+ onShow : function()
+ {
+ delete this.hiddenField;
+
+ var editor = this.getParentEditor(),
+ selection = editor.getSelection(),
+ element = selection.getSelectedElement();
+
+ if ( element && element.getAttribute( '_cke_real_element_type' ) && element.getAttribute( '_cke_real_element_type' ) == 'hiddenfield' )
+ {
+ this.hiddenField = element;
+ element = editor.restoreRealElement( this.hiddenField );
+ this.setupContent( element );
+ selection.selectElement( this.hiddenField );
+ }
+ },
+ onOk : function()
+ {
+ var name = this.getValueOf( 'info', '_cke_saved_name' ),
+ value = this.getValueOf( 'info', 'value' ),
+ editor = this.getParentEditor(),
+ element = CKEDITOR.env.ie ? editor.document.createElement( '<input name="' + CKEDITOR.tools.htmlEncode( name ) + '">' ) : editor.document.createElement( 'input' );
+
+ element.setAttribute( 'type', 'hidden' );
+ this.commitContent( element );
+ var fakeElement = editor.createFakeElement( element, 'cke_hidden', 'hiddenfield' );
+ if ( !this.hiddenField )
+ editor.insertElement( fakeElement );
+ else
+ {
+ fakeElement.replace( this.hiddenField );
+ editor.getSelection().selectElement( fakeElement );
+ }
+ return true;
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.hidden.title,
+ title : editor.lang.hidden.title,
+ elements : [
+ {
+ id : '_cke_saved_name',
+ type : 'text',
+ label : editor.lang.hidden.name,
+ 'default' : '',
+ accessKey : 'N',
+ setup : function( element )
+ {
+ this.setValue(
+ element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( 'name', this.getValue() );
+ else
+ {
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'value',
+ type : 'text',
+ label : editor.lang.hidden.value,
+ 'default' : '',
+ accessKey : 'V',
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( 'value' ) || '' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( 'value', this.getValue() );
+ else
+ element.removeAttribute( 'value' );
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/radio.js b/devel/third-party/ckeditor/plugins/forms/dialogs/radio.js
new file mode 100644
index 0000000..a967388
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/radio.js
@@ -0,0 +1,135 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'radio', function( editor )
+{
+ return {
+ title : editor.lang.checkboxAndRadio.radioTitle,
+ minWidth : 350,
+ minHeight : 140,
+ onShow : function()
+ {
+ delete this.radioButton;
+
+ var element = this.getParentEditor().getSelection().getSelectedElement();
+ if ( element && element.getName() == "input" && element.getAttribute( 'type' ) == "radio" )
+ {
+ this.radioButton = element;
+ this.setupContent( element );
+ }
+ },
+ onOk : function()
+ {
+ var editor,
+ element = this.radioButton,
+ isInsertMode = !element;
+
+ if ( isInsertMode )
+ {
+ editor = this.getParentEditor();
+ element = editor.document.createElement( 'input' );
+ element.setAttribute( 'type', 'radio' );
+ }
+
+ if ( isInsertMode )
+ editor.insertElement( element );
+ this.commitContent( { element : element } );
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.checkboxAndRadio.radioTitle,
+ title : editor.lang.checkboxAndRadio.radioTitle,
+ elements : [
+ {
+ id : 'name',
+ type : 'text',
+ label : editor.lang.common.name,
+ 'default' : '',
+ accessKey : 'N',
+ setup : function( element )
+ {
+ this.setValue(
+ element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( this.getValue() )
+ element.setAttribute( '_cke_saved_name', this.getValue() );
+ else
+ {
+ element.removeAttribute( '_cke_saved_name' );
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'value',
+ type : 'text',
+ label : editor.lang.checkboxAndRadio.value,
+ 'default' : '',
+ accessKey : 'V',
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( 'value' ) || '' );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( this.getValue() )
+ element.setAttribute( 'value', this.getValue() );
+ else
+ element.removeAttribute( 'value' );
+ }
+ },
+ {
+ id : 'checked',
+ type : 'checkbox',
+ label : editor.lang.checkboxAndRadio.selected,
+ 'default' : '',
+ accessKey : 'S',
+ value : "checked",
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( 'checked' ) );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( !CKEDITOR.env.ie )
+ {
+ if ( this.getValue() )
+ element.setAttribute( 'checked', 'checked' );
+ else
+ element.removeAttribute( 'checked' );
+ }
+ else
+ {
+ var isElementChecked = element.getAttribute( 'checked' );
+ var isChecked = !!this.getValue();
+
+ if ( isElementChecked != isChecked )
+ {
+ var replace = CKEDITOR.dom.element.createFromHtml( '<input type="radio"'
+ + ( isChecked ? ' checked="checked"' : '' )
+ + '></input>', editor.document );
+ element.copyAttributes( replace, { type : 1, checked : 1 } );
+ replace.replace( element );
+ editor.getSelection().selectElement( replace );
+ data.element = replace;
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/select.js b/devel/third-party/ckeditor/plugins/forms/dialogs/select.js
new file mode 100644
index 0000000..7bd91e5
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/select.js
@@ -0,0 +1,556 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'select', function( editor )
+{
+ // Add a new option to a SELECT object (combo or list).
+ function addOption( combo, optionText, optionValue, documentObject, index )
+ {
+ combo = getSelect( combo );
+ var oOption;
+ if ( documentObject )
+ oOption = documentObject.createElement( "OPTION" );
+ else
+ oOption = document.createElement( "OPTION" );
+
+ if ( combo && oOption && oOption.getName() == 'option' )
+ {
+ if ( CKEDITOR.env.ie ) {
+ if ( !isNaN( parseInt( index, 10) ) )
+ combo.$.options.add( oOption.$, index );
+ else
+ combo.$.options.add( oOption.$ );
+
+ oOption.$.innerHTML = optionText.length > 0 ? optionText : '';
+ oOption.$.value = optionValue;
+ }
+ else
+ {
+ if ( index !== null && index < combo.getChildCount() )
+ combo.getChild( index < 0 ? 0 : index ).insertBeforeMe( oOption );
+ else
+ combo.append( oOption );
+
+ oOption.setText( optionText.length > 0 ? optionText : '' );
+ oOption.setValue( optionValue );
+ }
+ }
+ else
+ return false;
+
+ return oOption;
+ }
+ // Remove all selected options from a SELECT object.
+ function removeSelectedOptions( combo )
+ {
+ combo = getSelect( combo );
+
+ // Save the selected index
+ var iSelectedIndex = getSelectedIndex( combo );
+
+ // Remove all selected options.
+ for ( var i = combo.getChildren().count() - 1 ; i >= 0 ; i-- )
+ {
+ if ( combo.getChild( i ).$.selected )
+ combo.getChild( i ).remove();
+ }
+
+ // Reset the selection based on the original selected index.
+ setSelectedIndex( combo, iSelectedIndex );
+ }
+ //Modify option from a SELECT object.
+ function modifyOption( combo, index, title, value )
+ {
+ combo = getSelect( combo );
+ if ( index < 0 )
+ return false;
+ var child = combo.getChild( index );
+ child.setText( title );
+ child.setValue( value );
+ return child;
+ }
+ function removeAllOptions( combo )
+ {
+ combo = getSelect( combo );
+ while ( combo.getChild( 0 ) && combo.getChild( 0 ).remove() )
+ { /*jsl:pass*/ }
+ }
+ // Moves the selected option by a number of steps (also negative).
+ function changeOptionPosition( combo, steps, documentObject )
+ {
+ combo = getSelect( combo );
+ var iActualIndex = getSelectedIndex( combo );
+ if ( iActualIndex < 0 )
+ return false;
+
+ var iFinalIndex = iActualIndex + steps;
+ iFinalIndex = ( iFinalIndex < 0 ) ? 0 : iFinalIndex;
+ iFinalIndex = ( iFinalIndex >= combo.getChildCount() ) ? combo.getChildCount() - 1 : iFinalIndex;
+
+ if ( iActualIndex == iFinalIndex )
+ return false;
+
+ var oOption = combo.getChild( iActualIndex ),
+ sText = oOption.getText(),
+ sValue = oOption.getValue();
+
+ oOption.remove();
+
+ oOption = addOption( combo, sText, sValue, ( !documentObject ) ? null : documentObject, iFinalIndex );
+ setSelectedIndex( combo, iFinalIndex );
+ return oOption;
+ }
+ function getSelectedIndex( combo )
+ {
+ combo = getSelect( combo );
+ return combo ? combo.$.selectedIndex : -1;
+ }
+ function setSelectedIndex( combo, index )
+ {
+ combo = getSelect( combo );
+ if ( index < 0 )
+ return null;
+ var count = combo.getChildren().count();
+ combo.$.selectedIndex = ( index >= count ) ? ( count - 1 ) : index;
+ return combo;
+ }
+ function getOptions( combo )
+ {
+ combo = getSelect( combo );
+ return combo ? combo.getChildren() : false;
+ }
+ function getSelect( obj )
+ {
+ if ( obj && obj.domId && obj.getInputElement().$ ) // Dialog element.
+ return obj.getInputElement();
+ else if ( obj && obj.$ )
+ return obj;
+ return false;
+ }
+
+ return {
+ title : editor.lang.select.title,
+ minWidth : CKEDITOR.env.ie ? 460 : 395,
+ minHeight : CKEDITOR.env.ie ? 320 : 300,
+ onShow : function()
+ {
+ delete this.selectBox;
+ this.setupContent( 'clear' );
+ var element = this.getParentEditor().getSelection().getSelectedElement();
+ if ( element && element.getName() == "select" )
+ {
+ this.selectBox = element;
+ this.setupContent( element.getName(), element );
+
+ // Load Options into dialog.
+ var objOptions = getOptions( element );
+ for ( var i = 0 ; i < objOptions.count() ; i++ )
+ this.setupContent( 'option', objOptions.getItem( i ) );
+ }
+ },
+ onOk : function()
+ {
+ var editor = this.getParentEditor(),
+ element = this.selectBox,
+ isInsertMode = !element;
+
+ if ( isInsertMode )
+ element = editor.document.createElement( 'select' );
+ this.commitContent( element );
+
+ if ( isInsertMode )
+ {
+ editor.insertElement( element );
+ if ( CKEDITOR.env.ie )
+ {
+ var sel = editor.getSelection(),
+ bms = sel.createBookmarks();
+ setTimeout(function()
+ {
+ sel.selectBookmarks( bms );
+ }, 0 );
+ }
+ }
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.select.selectInfo,
+ title : editor.lang.select.selectInfo,
+ accessKey : '',
+ elements : [
+ {
+ id : 'txtName',
+ type : 'text',
+ widths : [ '25%','75%' ],
+ labelLayout : 'horizontal',
+ label : editor.lang.common.name,
+ 'default' : '',
+ accessKey : 'N',
+ align : 'center',
+ style : 'width:350px',
+ setup : function( name, element )
+ {
+ if ( name == 'clear' )
+ this.setValue( this['default'] || '' );
+ else if ( name == 'select' )
+ {
+ this.setValue(
+ element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ }
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( '_cke_saved_name', this.getValue() );
+ else
+ {
+ element.removeAttribute( '_cke_saved_name' ) ;
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'txtValue',
+ type : 'text',
+ widths : [ '25%','75%' ],
+ labelLayout : 'horizontal',
+ label : editor.lang.select.value,
+ style : 'width:350px',
+ 'default' : '',
+ className : 'cke_disabled',
+ onLoad : function()
+ {
+ this.getInputElement().setAttribute( 'readOnly', true );
+ },
+ setup : function( name, element )
+ {
+ if ( name == 'clear' )
+ this.setValue( '' );
+ else if ( name == 'option' && element.getAttribute( 'selected' ) )
+ this.setValue( element.$.value );
+ }
+ },
+ {
+ type : 'hbox',
+ widths : [ '175px', '170px' ],
+ align : 'center',
+ children :
+ [
+ {
+ id : 'txtSize',
+ type : 'text',
+ align : 'center',
+ labelLayout : 'horizontal',
+ label : editor.lang.select.size,
+ 'default' : '',
+ accessKey : 'S',
+ style : 'width:175px',
+ validate: function()
+ {
+ var func = CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed );
+ return ( ( this.getValue() === '' ) || func.apply( this ) );
+ },
+ setup : function( name, element )
+ {
+ if ( name == 'select' )
+ this.setValue( element.getAttribute( 'size' ) || '' );
+ if ( CKEDITOR.env.webkit )
+ this.getInputElement().setStyle( 'width', '86px' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( 'size', this.getValue() );
+ else
+ element.removeAttribute( 'size' );
+ }
+ },
+ {
+ type : 'html',
+ html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.select.lines ) + '</span>'
+ }
+ ]
+ },
+ {
+ type : 'html',
+ html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.select.opAvail ) + '</span>'
+ },
+ {
+ type : 'hbox',
+ widths : [ '115px', '115px' ,'100px' ],
+ align : 'top',
+ children :
+ [
+ {
+ type : 'vbox',
+ children :
+ [
+ {
+ id : 'txtOptName',
+ type : 'text',
+ label : editor.lang.select.opText,
+ style : 'width:115px',
+ setup : function( name, element )
+ {
+ if ( name == 'clear' )
+ this.setValue( "" );
+ }
+ },
+ {
+ type : 'select',
+ id : 'cmbName',
+ label : '',
+ title : '',
+ size : 5,
+ style : 'width:115px;height:75px',
+ items : [],
+ onChange : function()
+ {
+ var dialog = this.getDialog(),
+ values = dialog.getContentElement( 'info', 'cmbValue' ),
+ optName = dialog.getContentElement( 'info', 'txtOptName' ),
+ optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+ iIndex = getSelectedIndex( this );
+
+ setSelectedIndex( values, iIndex );
+ optName.setValue( this.getValue() );
+ optValue.setValue( values.getValue() );
+ },
+ setup : function( name, element )
+ {
+ if ( name == 'clear' )
+ removeAllOptions( this );
+ else if ( name == 'option' )
+ addOption( this, element.getText(), element.getText(),
+ this.getDialog().getParentEditor().document );
+ },
+ commit : function( element )
+ {
+ var dialog = this.getDialog(),
+ optionsNames = getOptions( this ),
+ optionsValues = getOptions( dialog.getContentElement( 'info', 'cmbValue' ) ),
+ selectValue = dialog.getContentElement( 'info', 'txtValue' ).getValue();
+
+ removeAllOptions( element );
+
+ for ( var i = 0 ; i < optionsNames.count() ; i++ )
+ {
+ var oOption = addOption( element, optionsNames.getItem( i ).getValue(),
+ optionsValues.getItem( i ).getValue(), dialog.getParentEditor().document );
+ if ( optionsValues.getItem( i ).getValue() == selectValue )
+ {
+ oOption.setAttribute( 'selected', 'selected' );
+ oOption.selected = true;
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ children :
+ [
+ {
+ id : 'txtOptValue',
+ type : 'text',
+ label : editor.lang.select.opValue,
+ style : 'width:115px',
+ setup : function( name, element )
+ {
+ if ( name == 'clear' )
+ this.setValue( "" );
+ }
+ },
+ {
+ type : 'select',
+ id : 'cmbValue',
+ label : '',
+ size : 5,
+ style : 'width:115px;height:75px',
+ items : [],
+ onChange : function()
+ {
+ var dialog = this.getDialog(),
+ names = dialog.getContentElement( 'info', 'cmbName' ),
+ optName = dialog.getContentElement( 'info', 'txtOptName' ),
+ optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+ iIndex = getSelectedIndex( this );
+
+ setSelectedIndex( names, iIndex );
+ optName.setValue( names.getValue() );
+ optValue.setValue( this.getValue() );
+ },
+ setup : function( name, element )
+ {
+ if ( name == 'clear' )
+ removeAllOptions( this );
+ else if ( name == 'option' )
+ {
+ var oValue = element.getValue();
+ addOption( this, oValue, oValue,
+ this.getDialog().getParentEditor().document );
+ if ( element.getAttribute( 'selected' ) == 'selected' )
+ this.getDialog().getContentElement( 'info', 'txtValue' ).setValue( oValue );
+ }
+ }
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ padding : 5,
+ children :
+ [
+ {
+ type : 'button',
+ style : '',
+ label : editor.lang.select.btnAdd,
+ title : editor.lang.select.btnAdd,
+ style : 'width:100%;',
+ onClick : function()
+ {
+ //Add new option.
+ var dialog = this.getDialog(),
+ parentEditor = dialog.getParentEditor(),
+ optName = dialog.getContentElement( 'info', 'txtOptName' ),
+ optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+ names = dialog.getContentElement( 'info', 'cmbName' ),
+ values = dialog.getContentElement( 'info', 'cmbValue' );
+
+ addOption(names, optName.getValue(), optName.getValue(), dialog.getParentEditor().document );
+ addOption(values, optValue.getValue(), optValue.getValue(), dialog.getParentEditor().document );
+
+ optName.setValue( "" );
+ optValue.setValue( "" );
+ }
+ },
+ {
+ type : 'button',
+ label : editor.lang.select.btnModify,
+ title : editor.lang.select.btnModify,
+ style : 'width:100%;',
+ onClick : function()
+ {
+ //Modify selected option.
+ var dialog = this.getDialog(),
+ optName = dialog.getContentElement( 'info', 'txtOptName' ),
+ optValue = dialog.getContentElement( 'info', 'txtOptValue' ),
+ names = dialog.getContentElement( 'info', 'cmbName' ),
+ values = dialog.getContentElement( 'info', 'cmbValue' ),
+ iIndex = getSelectedIndex( names );
+
+ if ( iIndex >= 0 )
+ {
+ modifyOption( names, iIndex, optName.getValue(), optName.getValue() );
+ modifyOption( values, iIndex, optValue.getValue(), optValue.getValue() );
+ }
+ }
+ },
+ {
+ type : 'button',
+ style : 'width:100%;',
+ label : editor.lang.select.btnUp,
+ title : editor.lang.select.btnUp,
+ onClick : function()
+ {
+ //Move up.
+ var dialog = this.getDialog(),
+ names = dialog.getContentElement( 'info', 'cmbName' ),
+ values = dialog.getContentElement( 'info', 'cmbValue' );
+
+ changeOptionPosition( names, -1, dialog.getParentEditor().document );
+ changeOptionPosition( values, -1, dialog.getParentEditor().document );
+ }
+ },
+ {
+ type : 'button',
+ style : 'width:100%;',
+ label : editor.lang.select.btnDown,
+ title : editor.lang.select.btnDown,
+ onClick : function()
+ {
+ //Move down.
+ var dialog = this.getDialog(),
+ names = dialog.getContentElement( 'info', 'cmbName' ),
+ values = dialog.getContentElement( 'info', 'cmbValue' );
+
+ changeOptionPosition( names, 1, dialog.getParentEditor().document );
+ changeOptionPosition( values, 1, dialog.getParentEditor().document );
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '40%', '20%', '40%' ],
+ children :
+ [
+ {
+ type : 'button',
+ label : editor.lang.select.btnSetValue,
+ title : editor.lang.select.btnSetValue,
+ onClick : function()
+ {
+ //Set as default value.
+ var dialog = this.getDialog(),
+ values = dialog.getContentElement( 'info', 'cmbValue' ),
+ txtValue = dialog.getContentElement( 'info', 'txtValue' );
+ txtValue.setValue( values.getValue() );
+ }
+ },
+ {
+ type : 'button',
+ label : editor.lang.select.btnDelete,
+ title : editor.lang.select.btnDelete,
+ onClick : function()
+ {
+ // Delete option.
+ var dialog = this.getDialog(),
+ names = dialog.getContentElement( 'info', 'cmbName' ),
+ values = dialog.getContentElement( 'info', 'cmbValue' ),
+ optName = dialog.getContentElement( 'info', 'txtOptName' ),
+ optValue = dialog.getContentElement( 'info', 'txtOptValue' );
+
+ removeSelectedOptions( names );
+ removeSelectedOptions( values );
+
+ optName.setValue( "" );
+ optValue.setValue( "" );
+ }
+ },
+ {
+ id : 'chkMulti',
+ type : 'checkbox',
+ label : editor.lang.select.chkMulti,
+ 'default' : '',
+ accessKey : 'M',
+ value : "checked",
+ setup : function( name, element )
+ {
+ if ( name == 'select' )
+ this.setValue( element.getAttribute( 'multiple' ) );
+ if ( CKEDITOR.env.webkit )
+ this.getElement().getParent().setStyle( 'vertical-align', 'middle' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( 'multiple', this.getValue() );
+ else
+ element.removeAttribute( 'multiple' );
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/textarea.js b/devel/third-party/ckeditor/plugins/forms/dialogs/textarea.js
new file mode 100644
index 0000000..a8ba271
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/textarea.js
@@ -0,0 +1,114 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'textarea', function( editor )
+{
+ return {
+ title : editor.lang.textarea.title,
+ minWidth : 350,
+ minHeight : 150,
+ onShow : function()
+ {
+ delete this.textarea;
+
+ var element = this.getParentEditor().getSelection().getSelectedElement();
+ if ( element && element.getName() == "textarea" )
+ {
+ this.textarea = element;
+ this.setupContent( element );
+ }
+ },
+ onOk : function()
+ {
+ var editor,
+ element = this.textarea,
+ isInsertMode = !element;
+
+ if ( isInsertMode )
+ {
+ editor = this.getParentEditor();
+ element = editor.document.createElement( 'textarea' );
+ }
+ this.commitContent( element );
+
+ if ( isInsertMode )
+ editor.insertElement( element );
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.textarea.title,
+ title : editor.lang.textarea.title,
+ elements : [
+ {
+ id : '_cke_saved_name',
+ type : 'text',
+ label : editor.lang.common.name,
+ 'default' : '',
+ accessKey : 'N',
+ setup : function( element )
+ {
+ this.setValue(
+ element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( '_cke_saved_name', this.getValue() );
+ else
+ {
+ element.removeAttribute( '_cke_saved_name' );
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'cols',
+ type : 'text',
+ label : editor.lang.textarea.cols,
+ 'default' : '',
+ accessKey : 'C',
+ style : 'width:50px',
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ),
+ setup : function( element )
+ {
+ var value = element.hasAttribute( 'cols' ) && element.getAttribute( 'cols' );
+ this.setValue( value || '' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( 'cols', this.getValue() );
+ else
+ element.removeAttribute( 'cols' );
+ }
+ },
+ {
+ id : 'rows',
+ type : 'text',
+ label : editor.lang.textarea.rows,
+ 'default' : '',
+ accessKey : 'R',
+ style : 'width:50px',
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed ),
+ setup : function( element )
+ {
+ var value = element.hasAttribute( 'rows' ) && element.getAttribute( 'rows' );
+ this.setValue( value || '' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() )
+ element.setAttribute( 'rows', this.getValue() );
+ else
+ element.removeAttribute( 'rows' );
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/dialogs/textfield.js b/devel/third-party/ckeditor/plugins/forms/dialogs/textfield.js
new file mode 100644
index 0000000..a2a4d3d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/dialogs/textfield.js
@@ -0,0 +1,199 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+CKEDITOR.dialog.add( 'textfield', function( editor )
+{
+ var autoAttributes =
+ {
+ value : 1,
+ size : 1,
+ maxLength : 1
+ };
+
+ var acceptedTypes =
+ {
+ text : 1,
+ password : 1
+ };
+
+ return {
+ title : editor.lang.textfield.title,
+ minWidth : 350,
+ minHeight : 150,
+ onShow : function()
+ {
+ delete this.textField;
+
+ var element = this.getParentEditor().getSelection().getSelectedElement();
+ if ( element && element.getName() == "input" &&
+ ( acceptedTypes[ element.getAttribute( 'type' ) ] || !element.getAttribute( 'type' ) ) )
+ {
+ this.textField = element;
+ this.setupContent( element );
+ }
+ },
+ onOk : function()
+ {
+ var editor,
+ element = this.textField,
+ isInsertMode = !element;
+
+ if ( isInsertMode )
+ {
+ editor = this.getParentEditor();
+ element = editor.document.createElement( 'input' );
+ element.setAttribute( 'type', 'text' );
+ }
+
+ if ( isInsertMode )
+ editor.insertElement( element );
+ this.commitContent( { element : element } );
+ },
+ onLoad : function()
+ {
+ var autoSetup = function( element )
+ {
+ var value = element.hasAttribute( this.id ) && element.getAttribute( this.id );
+ this.setValue( value || '' );
+ };
+
+ var autoCommit = function( data )
+ {
+ var element = data.element;
+ var value = this.getValue();
+
+ if ( value )
+ element.setAttribute( this.id, value );
+ else
+ element.removeAttribute( this.id );
+ };
+
+ this.foreach( function( contentObj )
+ {
+ if ( autoAttributes[ contentObj.id ] )
+ {
+ contentObj.setup = autoSetup;
+ contentObj.commit = autoCommit;
+ }
+ } );
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.textfield.title,
+ title : editor.lang.textfield.title,
+ elements : [
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ id : '_cke_saved_name',
+ type : 'text',
+ label : editor.lang.textfield.name,
+ 'default' : '',
+ accessKey : 'N',
+ setup : function( element )
+ {
+ this.setValue(
+ element.getAttribute( '_cke_saved_name' ) ||
+ element.getAttribute( 'name' ) ||
+ '' );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( this.getValue() )
+ element.setAttribute( '_cke_saved_name', this.getValue() );
+ else
+ {
+ element.removeAttribute( '_cke_saved_name' );
+ element.removeAttribute( 'name' );
+ }
+ }
+ },
+ {
+ id : 'value',
+ type : 'text',
+ label : editor.lang.textfield.value,
+ 'default' : '',
+ accessKey : 'V'
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ id : 'size',
+ type : 'text',
+ label : editor.lang.textfield.charWidth,
+ 'default' : '',
+ accessKey : 'C',
+ style : 'width:50px',
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed )
+ },
+ {
+ id : 'maxLength',
+ type : 'text',
+ label : editor.lang.textfield.maxChars,
+ 'default' : '',
+ accessKey : 'M',
+ style : 'width:50px',
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.common.validateNumberFailed )
+ }
+ ],
+ onLoad : function()
+ {
+ // Repaint the style for IE7 (#6068)
+ if ( CKEDITOR.env.ie7Compat )
+ this.getElement().setStyle( 'zoom', '100%' );
+ }
+ },
+ {
+ id : 'type',
+ type : 'select',
+ label : editor.lang.textfield.type,
+ 'default' : 'text',
+ accessKey : 'M',
+ items :
+ [
+ [ editor.lang.textfield.typeText, 'text' ],
+ [ editor.lang.textfield.typePass, 'password' ]
+ ],
+ setup : function( element )
+ {
+ this.setValue( element.getAttribute( 'type' ) );
+ },
+ commit : function( data )
+ {
+ var element = data.element;
+
+ if ( CKEDITOR.env.ie )
+ {
+ var elementType = element.getAttribute( 'type' );
+ var myType = this.getValue();
+
+ if ( elementType != myType )
+ {
+ var replace = CKEDITOR.dom.element.createFromHtml( '<input type="' + myType + '"></input>', editor.document );
+ element.copyAttributes( replace, { type : 1 } );
+ replace.replace( element );
+ editor.getSelection().selectElement( replace );
+ data.element = replace;
+ }
+ }
+ else
+ element.setAttribute( 'type', this.getValue() );
+ }
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/forms/plugin.js b/devel/third-party/ckeditor/plugins/forms/plugin.js
new file mode 100644
index 0000000..7d8ea45
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/forms/plugin.js
@@ -0,0 +1,281 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Forms Plugin
+ */
+
+CKEDITOR.plugins.add( 'forms',
+{
+ init : function( editor )
+ {
+ var lang = editor.lang;
+
+ editor.addCss(
+ 'form' +
+ '{' +
+ 'border: 1px dotted #FF0000;' +
+ 'padding: 2px;' +
+ '}\n' );
+
+ editor.addCss(
+ 'img.cke_hidden' +
+ '{' +
+ 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/hiddenfield.gif' ) + ');' +
+ 'background-position: center center;' +
+ 'background-repeat: no-repeat;' +
+ 'border: 1px solid #a9a9a9;' +
+ 'width: 16px !important;' +
+ 'height: 16px !important;' +
+ '}' );
+
+ // All buttons use the same code to register. So, to avoid
+ // duplications, let's use this tool function.
+ var addButtonCommand = function( buttonName, commandName, dialogFile )
+ {
+ editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );
+
+ editor.ui.addButton( buttonName,
+ {
+ label : lang.common[ buttonName.charAt(0).toLowerCase() + buttonName.slice(1) ],
+ command : commandName
+ });
+ CKEDITOR.dialog.add( commandName, dialogFile );
+ };
+
+ var dialogPath = this.path + 'dialogs/';
+ addButtonCommand( 'Form', 'form', dialogPath + 'form.js' );
+ addButtonCommand( 'Checkbox', 'checkbox', dialogPath + 'checkbox.js' );
+ addButtonCommand( 'Radio', 'radio', dialogPath + 'radio.js' );
+ addButtonCommand( 'TextField', 'textfield', dialogPath + 'textfield.js' );
+ addButtonCommand( 'Textarea', 'textarea', dialogPath + 'textarea.js' );
+ addButtonCommand( 'Select', 'select', dialogPath + 'select.js' );
+ addButtonCommand( 'Button', 'button', dialogPath + 'button.js' );
+ addButtonCommand( 'ImageButton', 'imagebutton', CKEDITOR.plugins.getPath('image') + 'dialogs/image.js' );
+ addButtonCommand( 'HiddenField', 'hiddenfield', dialogPath + 'hiddenfield.js' );
+
+ // If the "menu" plugin is loaded, register the menu items.
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItems(
+ {
+ form :
+ {
+ label : lang.form.menu,
+ command : 'form',
+ group : 'form'
+ },
+
+ checkbox :
+ {
+ label : lang.checkboxAndRadio.checkboxTitle,
+ command : 'checkbox',
+ group : 'checkbox'
+ },
+
+ radio :
+ {
+ label : lang.checkboxAndRadio.radioTitle,
+ command : 'radio',
+ group : 'radio'
+ },
+
+ textfield :
+ {
+ label : lang.textfield.title,
+ command : 'textfield',
+ group : 'textfield'
+ },
+
+ hiddenfield :
+ {
+ label : lang.hidden.title,
+ command : 'hiddenfield',
+ group : 'hiddenfield'
+ },
+
+ imagebutton :
+ {
+ label : lang.image.titleButton,
+ command : 'imagebutton',
+ group : 'imagebutton'
+ },
+
+ button :
+ {
+ label : lang.button.title,
+ command : 'button',
+ group : 'button'
+ },
+
+ select :
+ {
+ label : lang.select.title,
+ command : 'select',
+ group : 'select'
+ },
+
+ textarea :
+ {
+ label : lang.textarea.title,
+ command : 'textarea',
+ group : 'textarea'
+ }
+ });
+ }
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element )
+ {
+ if ( element && element.hasAscendant( 'form', true ) && !element.isReadOnly() )
+ return { form : CKEDITOR.TRISTATE_OFF };
+ });
+
+ editor.contextMenu.addListener( function( element )
+ {
+ if ( element && !element.isReadOnly() )
+ {
+ var name = element.getName();
+
+ if ( name == 'select' )
+ return { select : CKEDITOR.TRISTATE_OFF };
+
+ if ( name == 'textarea' )
+ return { textarea : CKEDITOR.TRISTATE_OFF };
+
+ if ( name == 'input' )
+ {
+ var type = element.getAttribute( 'type' );
+
+ if ( type == 'text' || type == 'password' )
+ return { textfield : CKEDITOR.TRISTATE_OFF };
+
+ if ( type == 'button' || type == 'submit' || type == 'reset' )
+ return { button : CKEDITOR.TRISTATE_OFF };
+
+ if ( type == 'checkbox' )
+ return { checkbox : CKEDITOR.TRISTATE_OFF };
+
+ if ( type == 'radio' )
+ return { radio : CKEDITOR.TRISTATE_OFF };
+
+ if ( type == 'image' )
+ return { imagebutton : CKEDITOR.TRISTATE_OFF };
+ }
+
+ if ( name == 'img' && element.getAttribute( '_cke_real_element_type' ) == 'hiddenfield' )
+ return { hiddenfield : CKEDITOR.TRISTATE_OFF };
+ }
+ });
+ }
+
+ editor.on( 'doubleclick', function( evt )
+ {
+ var element = evt.data.element;
+
+ if ( element.is( 'form' ) )
+ evt.data.dialog = 'form';
+ else if ( element.is( 'select' ) )
+ evt.data.dialog = 'select';
+ else if ( element.is( 'textarea' ) )
+ evt.data.dialog = 'textarea';
+ else if ( element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'hiddenfield' )
+ evt.data.dialog = 'hiddenfield';
+ else if ( element.is( 'input' ) )
+ {
+ var type = element.getAttribute( 'type' );
+
+ switch ( type )
+ {
+ case 'text' : case 'password':
+ evt.data.dialog = 'textfield';
+ break;
+ case 'button' : case 'submit' : case 'reset' :
+ evt.data.dialog = 'button';
+ break;
+ case 'checkbox' :
+ evt.data.dialog = 'checkbox';
+ break;
+ case 'radio' :
+ evt.data.dialog = 'radio';
+ break;
+ case 'image' :
+ evt.data.dialog = 'imagebutton';
+ break;
+ }
+ }
+ });
+ },
+
+ afterInit : function( editor )
+ {
+ var dataProcessor = editor.dataProcessor,
+ htmlFilter = dataProcessor && dataProcessor.htmlFilter,
+ dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+ // Cleanup certain IE form elements default values.
+ if ( CKEDITOR.env.ie )
+ {
+ htmlFilter && htmlFilter.addRules(
+ {
+ elements :
+ {
+ input : function( input )
+ {
+ var attrs = input.attributes,
+ type = attrs.type;
+ if ( type == 'checkbox' || type == 'radio' )
+ attrs.value == 'on' && delete attrs.value;
+ }
+ }
+ } );
+ }
+
+ if ( dataFilter )
+ {
+ dataFilter.addRules(
+ {
+ elements :
+ {
+ input : function( element )
+ {
+ if ( element.attributes.type == 'hidden' )
+ return editor.createFakeParserElement( element, 'cke_hidden', 'hiddenfield' );
+ }
+ }
+ } );
+ }
+ },
+ requires : [ 'image', 'fakeobjects' ]
+} );
+
+if ( CKEDITOR.env.ie )
+{
+ CKEDITOR.dom.element.prototype.hasAttribute = function( name )
+ {
+ var $attr = this.$.attributes.getNamedItem( name );
+
+ if ( this.getName() == 'input' )
+ {
+ switch ( name )
+ {
+ case 'class' :
+ return this.$.className.length > 0;
+ case 'checked' :
+ return !!this.$.checked;
+ case 'value' :
+ var type = this.getAttribute( 'type' );
+ if ( type == 'checkbox' || type == 'radio' )
+ return this.$.value != 'on';
+ break;
+ default:
+ }
+ }
+
+ return !!( $attr && $attr.specified );
+ };
+}
diff --git a/devel/third-party/ckeditor/plugins/horizontalrule/plugin.js b/devel/third-party/ckeditor/plugins/horizontalrule/plugin.js
new file mode 100644
index 0000000..a5d1edd
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/horizontalrule/plugin.js
@@ -0,0 +1,36 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Horizontal Rule plugin.
+ */
+
+(function()
+{
+ var horizontalruleCmd =
+ {
+ canUndo : false, // The undo snapshot will be handled by 'insertElement'.
+ exec : function( editor )
+ {
+ editor.insertElement( editor.document.createElement( 'hr' ) );
+ }
+ };
+
+ var pluginName = 'horizontalrule';
+
+ // Register a plugin named "horizontalrule".
+ CKEDITOR.plugins.add( pluginName,
+ {
+ init : function( editor )
+ {
+ editor.addCommand( pluginName, horizontalruleCmd );
+ editor.ui.addButton( 'HorizontalRule',
+ {
+ label : editor.lang.horizontalrule,
+ command : pluginName
+ });
+ }
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/htmldataprocessor/plugin.js b/devel/third-party/ckeditor/plugins/htmldataprocessor/plugin.js
new file mode 100644
index 0000000..c431c03
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/htmldataprocessor/plugin.js
@@ -0,0 +1,494 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ // Regex to scan for at the end of blocks, which are actually placeholders.
+ // Safari transforms the to \xa0. (#4172)
+ var tailNbspRegex = /^[\t\r\n ]*(?: |\xa0)$/;
+
+ var protectedSourceMarker = '{cke_protected}';
+
+ // Return the last non-space child node of the block (#4344).
+ function lastNoneSpaceChild( block )
+ {
+ var lastIndex = block.children.length,
+ last = block.children[ lastIndex - 1 ];
+ while ( last && last.type == CKEDITOR.NODE_TEXT && !CKEDITOR.tools.trim( last.value ) )
+ last = block.children[ --lastIndex ];
+ return last;
+ }
+
+ function trimFillers( block, fromSource )
+ {
+ // If the current node is a block, and if we're converting from source or
+ // we're not in IE then search for and remove any tailing BR node.
+ //
+ // Also, any at the end of blocks are fillers, remove them as well.
+ // (#2886)
+ var children = block.children, lastChild = lastNoneSpaceChild( block );
+ if ( lastChild )
+ {
+ if ( ( fromSource || !CKEDITOR.env.ie ) && lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br' )
+ children.pop();
+ if ( lastChild.type == CKEDITOR.NODE_TEXT && tailNbspRegex.test( lastChild.value ) )
+ children.pop();
+ }
+ }
+
+ function blockNeedsExtension( block )
+ {
+ var lastChild = lastNoneSpaceChild( block );
+
+ return !lastChild
+ || lastChild.type == CKEDITOR.NODE_ELEMENT && lastChild.name == 'br'
+ // Some of the controls in form needs extension too,
+ // to move cursor at the end of the form. (#4791)
+ || block.name == 'form' && lastChild.name == 'input';
+ }
+
+ function extendBlockForDisplay( block )
+ {
+ trimFillers( block, true );
+
+ if ( blockNeedsExtension( block ) )
+ {
+ if ( CKEDITOR.env.ie )
+ block.add( new CKEDITOR.htmlParser.text( '\xa0' ) );
+ else
+ block.add( new CKEDITOR.htmlParser.element( 'br', {} ) );
+ }
+ }
+
+ function extendBlockForOutput( block )
+ {
+ trimFillers( block );
+
+ if ( blockNeedsExtension( block ) )
+ block.add( new CKEDITOR.htmlParser.text( '\xa0' ) );
+ }
+
+ var dtd = CKEDITOR.dtd;
+
+ // Find out the list of block-like tags that can contain <br>.
+ var blockLikeTags = CKEDITOR.tools.extend( {}, dtd.$block, dtd.$listItem, dtd.$tableContent );
+ for ( var i in blockLikeTags )
+ {
+ if ( ! ( 'br' in dtd[i] ) )
+ delete blockLikeTags[i];
+ }
+ // We just avoid filler in <pre> right now.
+ // TODO: Support filler for <pre>, line break is also occupy line height.
+ delete blockLikeTags.pre;
+ var defaultDataFilterRules =
+ {
+ elements : {},
+ attributeNames :
+ [
+ // Event attributes (onXYZ) must not be directly set. They can become
+ // active in the editing area (IE|WebKit).
+ [ ( /^on/ ), '_cke_pa_on' ]
+ ]
+ };
+
+ var defaultDataBlockFilterRules = { elements : {} };
+
+ for ( i in blockLikeTags )
+ defaultDataBlockFilterRules.elements[ i ] = extendBlockForDisplay;
+
+ var defaultHtmlFilterRules =
+ {
+ elementNames :
+ [
+ // Remove the "cke:" namespace prefix.
+ [ ( /^cke:/ ), '' ],
+
+ // Ignore <?xml:namespace> tags.
+ [ ( /^\?xml:namespace$/ ), '' ]
+ ],
+
+ attributeNames :
+ [
+ // Attributes saved for changes and protected attributes.
+ [ ( /^_cke_(saved|pa)_/ ), '' ],
+
+ // All "_cke" attributes are to be ignored.
+ [ ( /^_cke.*/ ), '' ],
+
+ [ 'hidefocus', '' ]
+ ],
+
+ elements :
+ {
+ $ : function( element )
+ {
+ var attribs = element.attributes;
+
+ if ( attribs )
+ {
+ // Elements marked as temporary are to be ignored.
+ if ( attribs.cke_temp )
+ return false;
+
+ // Remove duplicated attributes - #3789.
+ var attributeNames = [ 'name', 'href', 'src' ],
+ savedAttributeName;
+ for ( var i = 0 ; i < attributeNames.length ; i++ )
+ {
+ savedAttributeName = '_cke_saved_' + attributeNames[ i ];
+ savedAttributeName in attribs && ( delete attribs[ attributeNames[ i ] ] );
+ }
+ }
+
+ return element;
+ },
+
+ embed : function( element )
+ {
+ var parent = element.parent;
+
+ // If the <embed> is child of a <object>, copy the width
+ // and height attributes from it.
+ if ( parent && parent.name == 'object' )
+ {
+ var parentWidth = parent.attributes.width,
+ parentHeight = parent.attributes.height;
+ parentWidth && ( element.attributes.width = parentWidth );
+ parentHeight && ( element.attributes.height = parentHeight );
+ }
+ },
+ // Restore param elements into self-closing.
+ param : function( param )
+ {
+ param.children = [];
+ param.isEmpty = true;
+ return param;
+ },
+
+ // Remove empty link but not empty anchor.(#3829)
+ a : function( element )
+ {
+ if ( !( element.children.length ||
+ element.attributes.name ||
+ element.attributes._cke_saved_name ) )
+ {
+ return false;
+ }
+ },
+
+ html : function( element )
+ {
+ delete element.attributes.contenteditable;
+ delete element.attributes[ 'class' ];
+ },
+
+ body : function( element )
+ {
+ delete element.attributes.spellcheck;
+ delete element.attributes.contenteditable;
+ },
+
+ style : function( element )
+ {
+ var child = element.children[ 0 ];
+ child && child.value && ( child.value = CKEDITOR.tools.trim( child.value ));
+
+ if ( !element.attributes.type )
+ element.attributes.type = 'text/css';
+ },
+
+ title : function( element )
+ {
+ var titleText = element.children[ 0 ];
+ titleText && ( titleText.value = element.attributes[ '_cke_title' ] || '' );
+ }
+ },
+
+ attributes :
+ {
+ 'class' : function( value, element )
+ {
+ // Remove all class names starting with "cke_".
+ return CKEDITOR.tools.ltrim( value.replace( /(?:^|\s+)cke_[^\s]*/g, '' ) ) || false;
+ }
+ },
+
+ comment : function( contents )
+ {
+ // If this is a comment for protected source.
+ if ( contents.substr( 0, protectedSourceMarker.length ) == protectedSourceMarker )
+ {
+ // Remove the extra marker for real comments from it.
+ if ( contents.substr( protectedSourceMarker.length, 3 ) == '{C}' )
+ contents = contents.substr( protectedSourceMarker.length + 3 );
+ else
+ contents = contents.substr( protectedSourceMarker.length );
+
+ return new CKEDITOR.htmlParser.cdata( decodeURIComponent( contents ) );
+ }
+
+ return contents;
+ }
+ };
+
+ var defaultHtmlBlockFilterRules = { elements : {} };
+
+ for ( i in blockLikeTags )
+ defaultHtmlBlockFilterRules.elements[ i ] = extendBlockForOutput;
+
+ if ( CKEDITOR.env.ie )
+ {
+ // IE outputs style attribute in capital letters. We should convert
+ // them back to lower case.
+ defaultHtmlFilterRules.attributes.style = function( value, element )
+ {
+ return value.toLowerCase();
+ };
+ }
+
+ function protectReadOnly( element )
+ {
+ element.attributes.contenteditable = "false";
+ }
+ function unprotectReadyOnly( element )
+ {
+ delete element.attributes.contenteditable;
+ }
+ // Disable form elements editing mode provided by some browers. (#5746)
+ for ( i in { input : 1, textarea : 1 } )
+ {
+ defaultDataFilterRules.elements[ i ] = protectReadOnly;
+ defaultHtmlFilterRules.elements[ i ] = unprotectReadyOnly;
+ }
+
+ var protectAttributeRegex = /<((?:a|area|img|input)[\s\S]*?\s)((href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+)))([^>]*)>/gi,
+ findSavedSrcRegex = /\s_cke_saved_src\s*=/;
+
+ var protectElementsRegex = /(?:<style(?=[ >])[^>]*>[\s\S]*<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,
+ encodedElementsRegex = /<cke:encoded>([^<]*)<\/cke:encoded>/gi;
+
+ var protectElementNamesRegex = /(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi,
+ unprotectElementNamesRegex = /(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi;
+
+ var protectSelfClosingRegex = /<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi;
+
+ function protectAttributes( html )
+ {
+ return html.replace( protectAttributeRegex, function( tag, beginning, fullAttr, attrName, end )
+ {
+ // We should not rewrite the _cke_saved_src attribute (#5218)
+ if ( attrName == 'src' && findSavedSrcRegex.test( tag ) )
+ return tag;
+ else
+ return '<' + beginning + fullAttr + ' _cke_saved_' + fullAttr + end + '>';
+ });
+ }
+
+ function protectElements( html )
+ {
+ return html.replace( protectElementsRegex, function( match )
+ {
+ return '<cke:encoded>' + encodeURIComponent( match ) + '</cke:encoded>';
+ });
+ }
+
+ function unprotectElements( html )
+ {
+ return html.replace( encodedElementsRegex, function( match, encoded )
+ {
+ return decodeURIComponent( encoded );
+ });
+ }
+
+ function protectElementsNames( html )
+ {
+ return html.replace( protectElementNamesRegex, '$1cke:$2');
+ }
+
+ function unprotectElementNames( html )
+ {
+ return html.replace( unprotectElementNamesRegex, '$1$2' );
+ }
+
+ function protectSelfClosingElements( html )
+ {
+ return html.replace( protectSelfClosingRegex, '<cke:$1$2></cke:$1>' );
+ }
+
+ function protectRealComments( html )
+ {
+ return html.replace( /<!--(?!{cke_protected})[\s\S]+?-->/g, function( match )
+ {
+ return '<!--' + protectedSourceMarker +
+ '{C}' +
+ encodeURIComponent( match ).replace( /--/g, '%2D%2D' ) +
+ '-->';
+ });
+ }
+
+ function unprotectRealComments( html )
+ {
+ return html.replace( /<!--\{cke_protected\}\{C\}([\s\S]+?)-->/g, function( match, data )
+ {
+ return decodeURIComponent( data );
+ });
+ }
+
+ function protectSource( data, protectRegexes )
+ {
+ var protectedHtml = [],
+ tempRegex = /<\!--\{cke_temp(comment)?\}(\d*?)-->/g;
+
+ var regexes =
+ [
+ // Script tags will also be forced to be protected, otherwise
+ // IE will execute them.
+ ( /<script[\s\S]*?<\/script>/gi ),
+
+ // <noscript> tags (get lost in IE and messed up in FF).
+ /<noscript[\s\S]*?<\/noscript>/gi
+ ]
+ .concat( protectRegexes );
+
+ // First of any other protection, we must protect all comments
+ // to avoid loosing them (of course, IE related).
+ // Note that we use a different tag for comments, as we need to
+ // transform them when applying filters.
+ data = data.replace( (/<!--[\s\S]*?-->/g), function( match )
+ {
+ return '<!--{cke_tempcomment}' + ( protectedHtml.push( match ) - 1 ) + '-->';
+ });
+
+ for ( var i = 0 ; i < regexes.length ; i++ )
+ {
+ data = data.replace( regexes[i], function( match )
+ {
+ match = match.replace( tempRegex, // There could be protected source inside another one. (#3869).
+ function( $, isComment, id )
+ {
+ return protectedHtml[ id ];
+ }
+ );
+ return '<!--{cke_temp}' + ( protectedHtml.push( match ) - 1 ) + '-->';
+ });
+ }
+ data = data.replace( tempRegex, function( $, isComment, id )
+ {
+ return '<!--' + protectedSourceMarker +
+ ( isComment ? '{C}' : '' ) +
+ encodeURIComponent( protectedHtml[ id ] ).replace( /--/g, '%2D%2D' ) +
+ '-->';
+ }
+ );
+ return data;
+ }
+
+ CKEDITOR.plugins.add( 'htmldataprocessor',
+ {
+ requires : [ 'htmlwriter' ],
+
+ init : function( editor )
+ {
+ var dataProcessor = editor.dataProcessor = new CKEDITOR.htmlDataProcessor( editor );
+
+ dataProcessor.writer.forceSimpleAmpersand = editor.config.forceSimpleAmpersand;
+
+ dataProcessor.dataFilter.addRules( defaultDataFilterRules );
+ dataProcessor.dataFilter.addRules( defaultDataBlockFilterRules );
+ dataProcessor.htmlFilter.addRules( defaultHtmlFilterRules );
+ dataProcessor.htmlFilter.addRules( defaultHtmlBlockFilterRules );
+ }
+ });
+
+ CKEDITOR.htmlDataProcessor = function( editor )
+ {
+ this.editor = editor;
+
+ this.writer = new CKEDITOR.htmlWriter();
+ this.dataFilter = new CKEDITOR.htmlParser.filter();
+ this.htmlFilter = new CKEDITOR.htmlParser.filter();
+ };
+
+ CKEDITOR.htmlDataProcessor.prototype =
+ {
+ toHtml : function( data, fixForBody )
+ {
+ // The source data is already HTML, but we need to clean
+ // it up and apply the filter.
+
+ data = protectSource( data, this.editor.config.protectedSource );
+
+ // Before anything, we must protect the URL attributes as the
+ // browser may changing them when setting the innerHTML later in
+ // the code.
+ data = protectAttributes( data );
+
+ // Protect elements than can't be set inside a DIV. E.g. IE removes
+ // style tags from innerHTML. (#3710)
+ data = protectElements( data );
+
+ // Certain elements has problem to go through DOM operation, protect
+ // them by prefixing 'cke' namespace. (#3591)
+ data = protectElementsNames( data );
+
+ // All none-IE browsers ignore self-closed custom elements,
+ // protecting them into open-close. (#3591)
+ data = protectSelfClosingElements( data );
+
+ // Call the browser to help us fixing a possibly invalid HTML
+ // structure.
+ var div = new CKEDITOR.dom.element( 'div' );
+ // Add fake character to workaround IE comments bug. (#3801)
+ div.setHtml( 'a' + data );
+ data = div.getHtml().substr( 1 );
+
+ // Unprotect "some" of the protected elements at this point.
+ data = unprotectElementNames( data );
+
+ data = unprotectElements( data );
+
+ // Restore the comments that have been protected, in this way they
+ // can be properly filtered.
+ data = unprotectRealComments( data );
+
+ // Now use our parser to make further fixes to the structure, as
+ // well as apply the filter.
+ var fragment = CKEDITOR.htmlParser.fragment.fromHtml( data, fixForBody ),
+ writer = new CKEDITOR.htmlParser.basicWriter();
+
+ fragment.writeHtml( writer, this.dataFilter );
+ data = writer.getHtml( true );
+
+ // Protect the real comments again.
+ data = protectRealComments( data );
+
+ return data;
+ },
+
+ toDataFormat : function( html, fixForBody )
+ {
+ var writer = this.writer,
+ fragment = CKEDITOR.htmlParser.fragment.fromHtml( html, fixForBody );
+
+ writer.reset();
+
+ fragment.writeHtml( writer, this.htmlFilter );
+
+ return writer.getHtml( true );
+ }
+ };
+})();
+
+/**
+ * Whether to force using "&" instead of "&amp;" in elements attributes
+ * values. It's not recommended to change this setting for compliance with the
+ * W3C XHTML 1.0 standards
+ * (<a href="http://www.w3.org/TR/xhtml1/#C_12">C.12, XHTML 1.0</a>).
+ * @type Boolean
+ * @default false
+ * @example
+ * config.forceSimpleAmpersand = false;
+ */
+CKEDITOR.config.forceSimpleAmpersand = false;
diff --git a/devel/third-party/ckeditor/plugins/htmlwriter/plugin.js b/devel/third-party/ckeditor/plugins/htmlwriter/plugin.js
new file mode 100644
index 0000000..46fadde
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/htmlwriter/plugin.js
@@ -0,0 +1,314 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'htmlwriter' );
+
+/**
+ * Class used to write HTML data.
+ * @constructor
+ * @example
+ * var writer = new CKEDITOR.htmlWriter();
+ * writer.openTag( 'p' );
+ * writer.attribute( 'class', 'MyClass' );
+ * writer.openTagClose( 'p' );
+ * writer.text( 'Hello' );
+ * writer.closeTag( 'p' );
+ * alert( writer.getHtml() ); "<p class="MyClass">Hello</p>"
+ */
+CKEDITOR.htmlWriter = CKEDITOR.tools.createClass(
+{
+ base : CKEDITOR.htmlParser.basicWriter,
+
+ $ : function()
+ {
+ // Call the base contructor.
+ this.base();
+
+ /**
+ * The characters to be used for each identation step.
+ * @type String
+ * @default "\t" (tab)
+ * @example
+ * // Use two spaces for indentation.
+ * editorInstance.dataProcessor.writer.indentationChars = ' ';
+ */
+ this.indentationChars = '\t';
+
+ /**
+ * The characters to be used to close "self-closing" elements, like "br" or
+ * "img".
+ * @type String
+ * @default " />"
+ * @example
+ * // Use HTML4 notation for self-closing elements.
+ * editorInstance.dataProcessor.writer.selfClosingEnd = '>';
+ */
+ this.selfClosingEnd = ' />';
+
+ /**
+ * The characters to be used for line breaks.
+ * @type String
+ * @default "\n" (LF)
+ * @example
+ * // Use CRLF for line breaks.
+ * editorInstance.dataProcessor.writer.lineBreakChars = '\r\n';
+ */
+ this.lineBreakChars = '\n';
+
+ this.forceSimpleAmpersand = false;
+
+ this.sortAttributes = true;
+
+ this._.indent = false;
+ this._.indentation = '';
+ this._.rules = {};
+
+ var dtd = CKEDITOR.dtd;
+
+ for ( var e in CKEDITOR.tools.extend( {}, dtd.$nonBodyContent, dtd.$block, dtd.$listItem, dtd.$tableContent ) )
+ {
+ this.setRules( e,
+ {
+ indent : true,
+ breakBeforeOpen : true,
+ breakAfterOpen : true,
+ breakBeforeClose : !dtd[ e ][ '#' ],
+ breakAfterClose : true
+ });
+ }
+
+ this.setRules( 'br',
+ {
+ breakAfterOpen : true
+ });
+
+ this.setRules( 'title',
+ {
+ indent : false,
+ breakAfterOpen : false
+ });
+
+ this.setRules( 'style',
+ {
+ indent : false,
+ breakBeforeClose : true
+ });
+
+ // Disable indentation on <pre>.
+ this.setRules( 'pre',
+ {
+ indent: false
+ });
+ },
+
+ proto :
+ {
+ /**
+ * Writes the tag opening part for a opener tag.
+ * @param {String} tagName The element name for this tag.
+ * @param {Object} attributes The attributes defined for this tag. The
+ * attributes could be used to inspect the tag.
+ * @example
+ * // Writes "<p".
+ * writer.openTag( 'p', { class : 'MyClass', id : 'MyId' } );
+ */
+ openTag : function( tagName, attributes )
+ {
+ var rules = this._.rules[ tagName ];
+
+ if ( this._.indent )
+ this.indentation();
+ // Do not break if indenting.
+ else if ( rules && rules.breakBeforeOpen )
+ {
+ this.lineBreak();
+ this.indentation();
+ }
+
+ this._.output.push( '<', tagName );
+ },
+
+ /**
+ * Writes the tag closing part for a opener tag.
+ * @param {String} tagName The element name for this tag.
+ * @param {Boolean} isSelfClose Indicates that this is a self-closing tag,
+ * like "br" or "img".
+ * @example
+ * // Writes ">".
+ * writer.openTagClose( 'p', false );
+ * @example
+ * // Writes " />".
+ * writer.openTagClose( 'br', true );
+ */
+ openTagClose : function( tagName, isSelfClose )
+ {
+ var rules = this._.rules[ tagName ];
+
+ if ( isSelfClose )
+ this._.output.push( this.selfClosingEnd );
+ else
+ {
+ this._.output.push( '>' );
+
+ if ( rules && rules.indent )
+ this._.indentation += this.indentationChars;
+ }
+
+ if ( rules && rules.breakAfterOpen )
+ this.lineBreak();
+ },
+
+ /**
+ * Writes an attribute. This function should be called after opening the
+ * tag with {@link #openTagClose}.
+ * @param {String} attName The attribute name.
+ * @param {String} attValue The attribute value.
+ * @example
+ * // Writes ' class="MyClass"'.
+ * writer.attribute( 'class', 'MyClass' );
+ */
+ attribute : function( attName, attValue )
+ {
+
+ if ( typeof attValue == 'string' )
+ {
+ this.forceSimpleAmpersand && ( attValue = attValue.replace( /&/g, '&' ) );
+ // Browsers don't always escape special character in attribute values. (#4683, #4719).
+ attValue = CKEDITOR.tools.htmlEncodeAttr( attValue );
+ }
+
+ this._.output.push( ' ', attName, '="', attValue, '"' );
+ },
+
+ /**
+ * Writes a closer tag.
+ * @param {String} tagName The element name for this tag.
+ * @example
+ * // Writes "</p>".
+ * writer.closeTag( 'p' );
+ */
+ closeTag : function( tagName )
+ {
+ var rules = this._.rules[ tagName ];
+
+ if ( rules && rules.indent )
+ this._.indentation = this._.indentation.substr( this.indentationChars.length );
+
+ if ( this._.indent )
+ this.indentation();
+ // Do not break if indenting.
+ else if ( rules && rules.breakBeforeClose )
+ {
+ this.lineBreak();
+ this.indentation();
+ }
+
+ this._.output.push( '</', tagName, '>' );
+
+ if ( rules && rules.breakAfterClose )
+ this.lineBreak();
+ },
+
+ /**
+ * Writes text.
+ * @param {String} text The text value
+ * @example
+ * // Writes "Hello Word".
+ * writer.text( 'Hello Word' );
+ */
+ text : function( text )
+ {
+ if ( this._.indent )
+ {
+ this.indentation();
+ text = CKEDITOR.tools.ltrim( text );
+ }
+
+ this._.output.push( text );
+ },
+
+ /**
+ * Writes a comment.
+ * @param {String} comment The comment text.
+ * @example
+ * // Writes "<!-- My comment -->".
+ * writer.comment( ' My comment ' );
+ */
+ comment : function( comment )
+ {
+ if ( this._.indent )
+ this.indentation();
+
+ this._.output.push( '<!--', comment, '-->' );
+ },
+
+ /**
+ * Writes a line break. It uses the {@link #lineBreakChars} property for it.
+ * @example
+ * // Writes "\n" (e.g.).
+ * writer.lineBreak();
+ */
+ lineBreak : function()
+ {
+ if ( this._.output.length > 0 )
+ this._.output.push( this.lineBreakChars );
+ this._.indent = true;
+ },
+
+ /**
+ * Writes the current indentation chars. It uses the
+ * {@link #indentationChars} property, repeating it for the current
+ * indentation steps.
+ * @example
+ * // Writes "\t" (e.g.).
+ * writer.indentation();
+ */
+ indentation : function()
+ {
+ this._.output.push( this._.indentation );
+ this._.indent = false;
+ },
+
+ /**
+ * Sets formatting rules for a give element. The possible rules are:
+ * <ul>
+ * <li><b>indent</b>: indent the element contents.</li>
+ * <li><b>breakBeforeOpen</b>: break line before the opener tag for this element.</li>
+ * <li><b>breakAfterOpen</b>: break line after the opener tag for this element.</li>
+ * <li><b>breakBeforeClose</b>: break line before the closer tag for this element.</li>
+ * <li><b>breakAfterClose</b>: break line after the closer tag for this element.</li>
+ * </ul>
+ *
+ * All rules default to "false". Each call to the function overrides
+ * already present rules, leaving the undefined untouched.
+ *
+ * By default, all elements available in the {@link CKEDITOR.dtd.$block),
+ * {@link CKEDITOR.dtd.$listItem} and {@link CKEDITOR.dtd.$tableContent}
+ * lists have all the above rules set to "true". Additionaly, the "br"
+ * element has the "breakAfterOpen" set to "true".
+ * @param {String} tagName The element name to which set the rules.
+ * @param {Object} rules An object containing the element rules.
+ * @example
+ * // Break line before and after "img" tags.
+ * writer.setRules( 'img',
+ * {
+ * breakBeforeOpen : true
+ * breakAfterOpen : true
+ * });
+ * @example
+ * // Reset the rules for the "h1" tag.
+ * writer.setRules( 'h1', {} );
+ */
+ setRules : function( tagName, rules )
+ {
+ var currentRules = this._.rules[ tagName ];
+
+ if ( currentRules )
+ CKEDITOR.tools.extend( currentRules, rules, true );
+ else
+ this._.rules[ tagName ] = rules;
+ }
+ }
+});
diff --git a/devel/third-party/ckeditor/plugins/iframedialog/plugin.js b/devel/third-party/ckeditor/plugins/iframedialog/plugin.js
new file mode 100644
index 0000000..dcde6fe
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/iframedialog/plugin.js
@@ -0,0 +1,136 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Plugin for making iframe based dialogs.
+ */
+
+CKEDITOR.plugins.add( 'iframedialog',
+{
+ requires : [ 'dialog' ],
+ onLoad : function()
+ {
+ CKEDITOR.dialog.addIframe = function( name, title, src, width, height, onContentLoad )
+ {
+ var element =
+ {
+ type : 'iframe',
+ src : src,
+ width : '100%',
+ height : '100%'
+ };
+
+ if ( typeof( onContentLoad ) == 'function' )
+ element.onContentLoad = onContentLoad;
+
+ var definition =
+ {
+ title : title,
+ minWidth : width,
+ minHeight : height,
+ contents :
+ [
+ {
+ id : 'iframe',
+ label : title,
+ expand : true,
+ elements : [ element ]
+ }
+ ]
+ };
+
+ return this.add( name, function(){ return definition; } );
+ };
+
+ (function()
+ {
+ /**
+ * An iframe element.
+ * @extends CKEDITOR.ui.dialog.uiElement
+ * @example
+ * @constructor
+ * @param {CKEDITOR.dialog} dialog
+ * Parent dialog object.
+ * @param {CKEDITOR.dialog.uiElementDefinition} elementDefinition
+ * The element definition. Accepted fields:
+ * <ul>
+ * <li><strong>src</strong> (Required) The src field of the iframe. </li>
+ * <li><strong>width</strong> (Required) The iframe's width.</li>
+ * <li><strong>height</strong> (Required) The iframe's height.</li>
+ * <li><strong>onContentLoad</strong> (Optional) A function to be executed
+ * after the iframe's contents has finished loading.</li>
+ * </ul>
+ * @param {Array} htmlList
+ * List of HTML code to output to.
+ */
+ var iframeElement = function( dialog, elementDefinition, htmlList )
+ {
+ if ( arguments.length < 3 )
+ return;
+
+ var _ = ( this._ || ( this._ = {} ) ),
+ contentLoad = elementDefinition.onContentLoad && CKEDITOR.tools.bind( elementDefinition.onContentLoad, this ),
+ cssWidth = CKEDITOR.tools.cssLength( elementDefinition.width ),
+ cssHeight = CKEDITOR.tools.cssLength( elementDefinition.height );
+ _.frameId = CKEDITOR.tools.getNextNumber() + '_iframe';
+
+ // IE BUG: Parent container does not resize to contain the iframe automatically.
+ dialog.on( 'load', function()
+ {
+ var iframe = CKEDITOR.document.getById( _.frameId ),
+ parentContainer = iframe.getParent();
+
+ parentContainer.setStyles(
+ {
+ width : cssWidth,
+ height : cssHeight
+ } );
+ } );
+
+ var attributes =
+ {
+ src : '%2',
+ id : _.frameId,
+ frameborder : 0,
+ allowtransparency : true
+ };
+ var myHtml = [];
+
+ if ( typeof( elementDefinition.onContentLoad ) == 'function' )
+ attributes.onload = 'CKEDITOR.tools.callFunction(%1);';
+
+ CKEDITOR.ui.dialog.uiElement.call( this, dialog, elementDefinition, myHtml, 'iframe',
+ {
+ width : cssWidth,
+ height : cssHeight
+ }, attributes, '' );
+
+ // Put a placeholder for the first time.
+ htmlList.push( '<div style="width:' + cssWidth + ';height:' + cssHeight + ';" id="' + this.domId + '"></div>' );
+
+ // Iframe elements should be refreshed whenever it is shown.
+ myHtml = myHtml.join( '' );
+ dialog.on( 'show', function()
+ {
+ var iframe = CKEDITOR.document.getById( _.frameId ),
+ parentContainer = iframe.getParent(),
+ callIndex = CKEDITOR.tools.addFunction( contentLoad ),
+ html = myHtml.replace( '%1', callIndex ).replace( '%2', CKEDITOR.tools.htmlEncode( elementDefinition.src ) );
+ parentContainer.setHtml( html );
+ } );
+ };
+
+ iframeElement.prototype = new CKEDITOR.ui.dialog.uiElement;
+
+ CKEDITOR.dialog.addUIElement( 'iframe',
+ {
+ build : function( dialog, elementDefinition, output )
+ {
+ return new iframeElement( dialog, elementDefinition, output );
+ }
+ } );
+ })();
+ }
+} );
diff --git a/devel/third-party/ckeditor/plugins/image/dialogs/image.js b/devel/third-party/ckeditor/plugins/image/dialogs/image.js
new file mode 100644
index 0000000..72a4c45
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/image/dialogs/image.js
@@ -0,0 +1,1396 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var imageDialog = function( editor, dialogType )
+ {
+ // Load image preview.
+ var IMAGE = 1,
+ LINK = 2,
+ PREVIEW = 4,
+ CLEANUP = 8,
+ regexGetSize = /^\s*(\d+)((px)|\%)?\s*$/i,
+ regexGetSizeOrEmpty = /(^\s*(\d+)((px)|\%)?\s*$)|^$/i,
+ pxLengthRegex = /^\d+px$/;
+
+ var onSizeChange = function()
+ {
+ var value = this.getValue(), // This = input element.
+ dialog = this.getDialog(),
+ aMatch = value.match( regexGetSize ); // Check value
+ if ( aMatch )
+ {
+ if ( aMatch[2] == '%' ) // % is allowed - > unlock ratio.
+ switchLockRatio( dialog, false ); // Unlock.
+ value = aMatch[1];
+ }
+
+ // Only if ratio is locked
+ if ( dialog.lockRatio )
+ {
+ var oImageOriginal = dialog.originalElement;
+ if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+ {
+ if ( this.id == 'txtHeight' )
+ {
+ if ( value && value != '0' )
+ value = Math.round( oImageOriginal.$.width * ( value / oImageOriginal.$.height ) );
+ if ( !isNaN( value ) )
+ dialog.setValueOf( 'info', 'txtWidth', value );
+ }
+ else //this.id = txtWidth.
+ {
+ if ( value && value != '0' )
+ value = Math.round( oImageOriginal.$.height * ( value / oImageOriginal.$.width ) );
+ if ( !isNaN( value ) )
+ dialog.setValueOf( 'info', 'txtHeight', value );
+ }
+ }
+ }
+ updatePreview( dialog );
+ };
+
+ var updatePreview = function( dialog )
+ {
+ //Don't load before onShow.
+ if ( !dialog.originalElement || !dialog.preview )
+ return 1;
+
+ // Read attributes and update imagePreview;
+ dialog.commitContent( PREVIEW, dialog.preview );
+ return 0;
+ };
+
+ // Custom commit dialog logic, where we're intended to give inline style
+ // field (txtdlgGenStyle) higher priority to avoid overwriting styles contribute
+ // by other fields.
+ function commitContent()
+ {
+ var args = arguments;
+ var inlineStyleField = this.getContentElement( 'advanced', 'txtdlgGenStyle' );
+ inlineStyleField && inlineStyleField.commit.apply( inlineStyleField, args );
+
+ this.foreach( function( widget )
+ {
+ if ( widget.commit && widget.id != 'txtdlgGenStyle' )
+ widget.commit.apply( widget, args );
+ });
+ }
+
+ // Avoid recursions.
+ var incommit;
+
+ // Synchronous field values to other impacted fields is required, e.g. border
+ // size change should alter inline-style text as well.
+ function commitInternally( targetFields )
+ {
+ if ( incommit )
+ return;
+
+ incommit = 1;
+
+ var dialog = this.getDialog(),
+ element = dialog.imageElement;
+ if ( element )
+ {
+ // Commit this field and broadcast to target fields.
+ this.commit( IMAGE, element );
+
+ targetFields = [].concat( targetFields );
+ var length = targetFields.length,
+ field;
+ for ( var i = 0; i < length; i++ )
+ {
+ field = dialog.getContentElement.apply( dialog, targetFields[ i ].split( ':' ) );
+ // May cause recursion.
+ field && field.setup( IMAGE, element );
+ }
+ }
+
+ incommit = 0;
+ }
+
+ var switchLockRatio = function( dialog, value )
+ {
+ var oImageOriginal = dialog.originalElement;
+
+ // Dialog may already closed. (#5505)
+ if( !oImageOriginal )
+ return null;
+
+ var ratioButton = CKEDITOR.document.getById( btnLockSizesId );
+
+ if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+ {
+ if ( value == 'check' ) // Check image ratio and original image ratio.
+ {
+ var width = dialog.getValueOf( 'info', 'txtWidth' ),
+ height = dialog.getValueOf( 'info', 'txtHeight' ),
+ originalRatio = oImageOriginal.$.width * 1000 / oImageOriginal.$.height,
+ thisRatio = width * 1000 / height;
+ dialog.lockRatio = false; // Default: unlock ratio
+
+ if ( !width && !height )
+ dialog.lockRatio = true;
+ else if ( !isNaN( originalRatio ) && !isNaN( thisRatio ) )
+ {
+ if ( Math.round( originalRatio ) == Math.round( thisRatio ) )
+ dialog.lockRatio = true;
+ }
+ }
+ else if ( value != undefined )
+ dialog.lockRatio = value;
+ else
+ dialog.lockRatio = !dialog.lockRatio;
+ }
+ else if ( value != 'check' ) // I can't lock ratio if ratio is unknown.
+ dialog.lockRatio = false;
+
+ if ( dialog.lockRatio )
+ ratioButton.removeClass( 'cke_btn_unlocked' );
+ else
+ ratioButton.addClass( 'cke_btn_unlocked' );
+
+ var lang = dialog._.editor.lang.image,
+ label = lang[ dialog.lockRatio ? 'unlockRatio' : 'lockRatio' ];
+
+ ratioButton.setAttribute( 'title', label );
+ ratioButton.getFirst().setText( label );
+
+ return dialog.lockRatio;
+ };
+
+ var resetSize = function( dialog )
+ {
+ var oImageOriginal = dialog.originalElement;
+ if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+ {
+ dialog.setValueOf( 'info', 'txtWidth', oImageOriginal.$.width );
+ dialog.setValueOf( 'info', 'txtHeight', oImageOriginal.$.height );
+ }
+ updatePreview( dialog );
+ };
+
+ var setupDimension = function( type, element )
+ {
+ if ( type != IMAGE )
+ return;
+
+ function checkDimension( size, defaultValue )
+ {
+ var aMatch = size.match( regexGetSize );
+ if ( aMatch )
+ {
+ if ( aMatch[2] == '%' ) // % is allowed.
+ {
+ aMatch[1] += '%';
+ switchLockRatio( dialog, false ); // Unlock ratio
+ }
+ return aMatch[1];
+ }
+ return defaultValue;
+ }
+
+ var dialog = this.getDialog(),
+ value = '',
+ dimension = (( this.id == 'txtWidth' )? 'width' : 'height' ),
+ size = element.getAttribute( dimension );
+
+ if ( size )
+ value = checkDimension( size, value );
+ value = checkDimension( element.getStyle( dimension ), value );
+
+ this.setValue( value );
+ };
+
+ var previewPreloader;
+
+ var onImgLoadEvent = function()
+ {
+ // Image is ready.
+ var original = this.originalElement;
+ original.setCustomData( 'isReady', 'true' );
+ original.removeListener( 'load', onImgLoadEvent );
+ original.removeListener( 'error', onImgLoadErrorEvent );
+ original.removeListener( 'abort', onImgLoadErrorEvent );
+
+ // Hide loader
+ CKEDITOR.document.getById( imagePreviewLoaderId ).setStyle( 'display', 'none' );
+
+ // New image -> new domensions
+ if ( !this.dontResetSize )
+ resetSize( this );
+
+ if ( this.firstLoad )
+ CKEDITOR.tools.setTimeout( function(){ switchLockRatio( this, 'check' ); }, 0, this );
+
+ this.firstLoad = false;
+ this.dontResetSize = false;
+ };
+
+ var onImgLoadErrorEvent = function()
+ {
+ // Error. Image is not loaded.
+ var original = this.originalElement;
+ original.removeListener( 'load', onImgLoadEvent );
+ original.removeListener( 'error', onImgLoadErrorEvent );
+ original.removeListener( 'abort', onImgLoadErrorEvent );
+
+ // Set Error image.
+ var noimage = CKEDITOR.getUrl( editor.skinPath + 'images/noimage.png' );
+
+ if ( this.preview )
+ this.preview.setAttribute( 'src', noimage );
+
+ // Hide loader
+ CKEDITOR.document.getById( imagePreviewLoaderId ).setStyle( 'display', 'none' );
+ switchLockRatio( this, false ); // Unlock.
+ };
+
+ var numbering = function( id )
+ {
+ return CKEDITOR.tools.getNextId() + '_' + id;
+ },
+ btnLockSizesId = numbering( 'btnLockSizes' ),
+ btnResetSizeId = numbering( 'btnResetSize' ),
+ imagePreviewLoaderId = numbering( 'ImagePreviewLoader' ),
+ imagePreviewBoxId = numbering( 'ImagePreviewBox' ),
+ previewLinkId = numbering( 'previewLink' ),
+ previewImageId = numbering( 'previewImage' );
+
+ return {
+ title : ( dialogType == 'image' ) ? editor.lang.image.title : editor.lang.image.titleButton,
+ minWidth : 420,
+ minHeight : 310,
+ onShow : function()
+ {
+ this.imageElement = false;
+ this.linkElement = false;
+
+ // Default: create a new element.
+ this.imageEditMode = false;
+ this.linkEditMode = false;
+
+ this.lockRatio = true;
+ this.dontResetSize = false;
+ this.firstLoad = true;
+ this.addLink = false;
+
+ var editor = this.getParentEditor(),
+ sel = this.getParentEditor().getSelection(),
+ element = sel.getSelectedElement(),
+ link = element && element.getAscendant( 'a' );
+
+ //Hide loader.
+ CKEDITOR.document.getById( imagePreviewLoaderId ).setStyle( 'display', 'none' );
+ // Create the preview before setup the dialog contents.
+ previewPreloader = new CKEDITOR.dom.element( 'img', editor.document );
+ this.preview = CKEDITOR.document.getById( previewImageId );
+
+ // Copy of the image
+ this.originalElement = editor.document.createElement( 'img' );
+ this.originalElement.setAttribute( 'alt', '' );
+ this.originalElement.setCustomData( 'isReady', 'false' );
+
+ if ( link )
+ {
+ this.linkElement = link;
+ this.linkEditMode = true;
+
+ // Look for Image element.
+ var linkChildren = link.getChildren();
+ if ( linkChildren.count() == 1 ) // 1 child.
+ {
+ var childTagName = linkChildren.getItem( 0 ).getName();
+ if ( childTagName == 'img' || childTagName == 'input' )
+ {
+ this.imageElement = linkChildren.getItem( 0 );
+ if ( this.imageElement.getName() == 'img' )
+ this.imageEditMode = 'img';
+ else if ( this.imageElement.getName() == 'input' )
+ this.imageEditMode = 'input';
+ }
+ }
+ // Fill out all fields.
+ if ( dialogType == 'image' )
+ this.setupContent( LINK, link );
+ }
+
+ if ( element && element.getName() == 'img' && !element.getAttribute( '_cke_realelement' )
+ || element && element.getName() == 'input' && element.getAttribute( 'type' ) == 'image' )
+ {
+ this.imageEditMode = element.getName();
+ this.imageElement = element;
+ }
+
+ if ( this.imageEditMode )
+ {
+ // Use the original element as a buffer from since we don't want
+ // temporary changes to be committed, e.g. if the dialog is canceled.
+ this.cleanImageElement = this.imageElement;
+ this.imageElement = this.cleanImageElement.clone( true, true );
+
+ // Fill out all fields.
+ this.setupContent( IMAGE, this.imageElement );
+
+ // Refresh LockRatio button
+ switchLockRatio ( this, true );
+ }
+ else
+ this.imageElement = editor.document.createElement( 'img' );
+
+ // Dont show preview if no URL given.
+ if ( !CKEDITOR.tools.trim( this.getValueOf( 'info', 'txtUrl' ) ) )
+ {
+ this.preview.removeAttribute( 'src' );
+ this.preview.setStyle( 'display', 'none' );
+ }
+ },
+ onOk : function()
+ {
+ // Edit existing Image.
+ if ( this.imageEditMode )
+ {
+ var imgTagName = this.imageEditMode;
+
+ // Image dialog and Input element.
+ if ( dialogType == 'image' && imgTagName == 'input' && confirm( editor.lang.image.button2Img ) )
+ {
+ // Replace INPUT-> IMG
+ imgTagName = 'img';
+ this.imageElement = editor.document.createElement( 'img' );
+ this.imageElement.setAttribute( 'alt', '' );
+ editor.insertElement( this.imageElement );
+ }
+ // ImageButton dialog and Image element.
+ else if ( dialogType != 'image' && imgTagName == 'img' && confirm( editor.lang.image.img2Button ))
+ {
+ // Replace IMG -> INPUT
+ imgTagName = 'input';
+ this.imageElement = editor.document.createElement( 'input' );
+ this.imageElement.setAttributes(
+ {
+ type : 'image',
+ alt : ''
+ }
+ );
+ editor.insertElement( this.imageElement );
+ }
+ else
+ {
+ // Restore the original element before all commits.
+ this.imageElement = this.cleanImageElement;
+ delete this.cleanImageElement;
+ }
+ }
+ else // Create a new image.
+ {
+ // Image dialog -> create IMG element.
+ if ( dialogType == 'image' )
+ this.imageElement = editor.document.createElement( 'img' );
+ else
+ {
+ this.imageElement = editor.document.createElement( 'input' );
+ this.imageElement.setAttribute ( 'type' ,'image' );
+ }
+ this.imageElement.setAttribute( 'alt', '' );
+ }
+
+ // Create a new link.
+ if ( !this.linkEditMode )
+ this.linkElement = editor.document.createElement( 'a' );
+
+ // Set attributes.
+ this.commitContent( IMAGE, this.imageElement );
+ this.commitContent( LINK, this.linkElement );
+
+ // Remove empty style attribute.
+ if ( !this.imageElement.getAttribute( 'style' ) )
+ this.imageElement.removeAttribute( 'style' );
+
+ // Insert a new Image.
+ if ( !this.imageEditMode )
+ {
+ if ( this.addLink )
+ {
+ //Insert a new Link.
+ if ( !this.linkEditMode )
+ {
+ editor.insertElement(this.linkElement);
+ this.linkElement.append(this.imageElement, false);
+ }
+ else //Link already exists, image not.
+ editor.insertElement(this.imageElement );
+ }
+ else
+ editor.insertElement( this.imageElement );
+ }
+ else // Image already exists.
+ {
+ //Add a new link element.
+ if ( !this.linkEditMode && this.addLink )
+ {
+ editor.insertElement( this.linkElement );
+ this.imageElement.appendTo( this.linkElement );
+ }
+ //Remove Link, Image exists.
+ else if ( this.linkEditMode && !this.addLink )
+ {
+ editor.getSelection().selectElement( this.linkElement );
+ editor.insertElement( this.imageElement );
+ }
+ }
+ },
+ onLoad : function()
+ {
+ if ( dialogType != 'image' )
+ this.hidePage( 'Link' ); //Hide Link tab.
+ var doc = this._.element.getDocument();
+ this.addFocusable( doc.getById( btnResetSizeId ), 5 );
+ this.addFocusable( doc.getById( btnLockSizesId ), 5 );
+
+ this.commitContent = commitContent;
+ },
+ onHide : function()
+ {
+ if ( this.preview )
+ this.commitContent( CLEANUP, this.preview );
+
+ if ( this.originalElement )
+ {
+ this.originalElement.removeListener( 'load', onImgLoadEvent );
+ this.originalElement.removeListener( 'error', onImgLoadErrorEvent );
+ this.originalElement.removeListener( 'abort', onImgLoadErrorEvent );
+ this.originalElement.remove();
+ this.originalElement = false; // Dialog is closed.
+ }
+
+ delete this.imageElement;
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.image.infoTab,
+ accessKey : 'I',
+ elements :
+ [
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '280px', '110px' ],
+ align : 'right',
+ children :
+ [
+ {
+ id : 'txtUrl',
+ type : 'text',
+ label : editor.lang.common.url,
+ required: true,
+ onChange : function()
+ {
+ var dialog = this.getDialog(),
+ newUrl = this.getValue();
+
+ //Update original image
+ if ( newUrl.length > 0 ) //Prevent from load before onShow
+ {
+ dialog = this.getDialog();
+ var original = dialog.originalElement;
+
+ dialog.preview.removeStyle( 'display' );
+
+ original.setCustomData( 'isReady', 'false' );
+ // Show loader
+ var loader = CKEDITOR.document.getById( imagePreviewLoaderId );
+ if ( loader )
+ loader.setStyle( 'display', '' );
+
+ original.on( 'load', onImgLoadEvent, dialog );
+ original.on( 'error', onImgLoadErrorEvent, dialog );
+ original.on( 'abort', onImgLoadErrorEvent, dialog );
+ original.setAttribute( 'src', newUrl );
+
+ // Query the preloader to figure out the url impacted by based href.
+ previewPreloader.setAttribute( 'src', newUrl );
+ dialog.preview.setAttribute( 'src', previewPreloader.$.src );
+ updatePreview( dialog );
+ }
+ // Dont show preview if no URL given.
+ else if ( dialog.preview )
+ {
+ dialog.preview.removeAttribute( 'src' );
+ dialog.preview.setStyle( 'display', 'none' );
+ }
+ },
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ var url = element.getAttribute( '_cke_saved_src' ) || element.getAttribute( 'src' );
+ var field = this;
+
+ this.getDialog().dontResetSize = true;
+
+ field.setValue( url ); // And call this.onChange()
+ // Manually set the initial value.(#4191)
+ field.setInitValue();
+ }
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE && ( this.getValue() || this.isChanged() ) )
+ {
+ element.setAttribute( '_cke_saved_src', decodeURI( this.getValue() ) );
+ element.setAttribute( 'src', decodeURI( this.getValue() ) );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.setAttribute( 'src', '' ); // If removeAttribute doesn't work.
+ element.removeAttribute( 'src' );
+ }
+ },
+ validate : CKEDITOR.dialog.validate.notEmpty( editor.lang.image.urlMissing )
+ },
+ {
+ type : 'button',
+ id : 'browse',
+ // v-align with the 'txtUrl' field.
+ // TODO: We need something better than a fixed size here.
+ style : 'display:inline-block;margin-top:10px;',
+ align : 'center',
+ label : editor.lang.common.browseServer,
+ hidden : true,
+ filebrowser : 'info:txtUrl'
+ }
+ ]
+ }
+ ]
+ },
+ {
+ id : 'txtAlt',
+ type : 'text',
+ label : editor.lang.image.alt,
+ accessKey : 'T',
+ 'default' : '',
+ onChange : function()
+ {
+ updatePreview( this.getDialog() );
+ },
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ this.setValue( element.getAttribute( 'alt' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'alt', this.getValue() );
+ }
+ else if ( type == PREVIEW )
+ {
+ element.setAttribute( 'alt', this.getValue() );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.removeAttribute( 'alt' );
+ }
+ }
+ },
+ {
+ type : 'hbox',
+ widths : [ '140px', '240px' ],
+ children :
+ [
+ {
+ type : 'vbox',
+ padding : 10,
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '70%', '30%' ],
+ children :
+ [
+ {
+ type : 'vbox',
+ padding : 1,
+ children :
+ [
+ {
+ type : 'text',
+ width: '40px',
+ id : 'txtWidth',
+ labelLayout : 'horizontal',
+ label : editor.lang.image.width,
+ onKeyUp : onSizeChange,
+ onChange : function()
+ {
+ commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+ },
+ validate : function()
+ {
+ var aMatch = this.getValue().match( regexGetSizeOrEmpty );
+ if ( !aMatch )
+ alert( editor.lang.image.validateWidth );
+ return !!aMatch;
+ },
+ setup : setupDimension,
+ commit : function( type, element, internalCommit )
+ {
+ var value = this.getValue();
+ if ( type == IMAGE )
+ {
+ if ( value )
+ element.setStyle( 'width', CKEDITOR.tools.cssLength( value ) );
+ else if ( !value && this.isChanged( ) )
+ element.removeStyle( 'width' );
+
+ !internalCommit && element.removeAttribute( 'width' );
+ }
+ else if ( type == PREVIEW )
+ {
+ var aMatch = value.match( regexGetSize );
+ if ( !aMatch )
+ {
+ var oImageOriginal = this.getDialog().originalElement;
+ if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+ element.setStyle( 'width', oImageOriginal.$.width + 'px');
+ }
+ else
+ element.setStyle( 'width', CKEDITOR.tools.cssLength( value ) );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.removeAttribute( 'width' );
+ element.removeStyle( 'width' );
+ }
+ }
+ },
+ {
+ type : 'text',
+ id : 'txtHeight',
+ width: '40px',
+ labelLayout : 'horizontal',
+ label : editor.lang.image.height,
+ onKeyUp : onSizeChange,
+ onChange : function()
+ {
+ commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+ },
+ validate : function()
+ {
+ var aMatch = this.getValue().match( regexGetSizeOrEmpty );
+ if ( !aMatch )
+ alert( editor.lang.image.validateHeight );
+ return !!aMatch;
+ },
+ setup : setupDimension,
+ commit : function( type, element, internalCommit )
+ {
+ var value = this.getValue();
+ if ( type == IMAGE )
+ {
+ if ( value )
+ element.setStyle( 'height', CKEDITOR.tools.cssLength( value ) );
+ else if ( !value && this.isChanged( ) )
+ element.removeStyle( 'height' );
+
+ if ( !internalCommit && type == IMAGE )
+ element.removeAttribute( 'height' );
+ }
+ else if ( type == PREVIEW )
+ {
+ var aMatch = value.match( regexGetSize );
+ if ( !aMatch )
+ {
+ var oImageOriginal = this.getDialog().originalElement;
+ if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' )
+ element.setStyle( 'height', oImageOriginal.$.height + 'px' );
+ }
+ else
+ element.setStyle( 'height', CKEDITOR.tools.cssLength( value ) );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.removeAttribute( 'height' );
+ element.removeStyle( 'height' );
+ }
+ }
+ }
+ ]
+ },
+ {
+ type : 'html',
+ style : 'margin-top:10px;width:40px;height:40px;',
+ onLoad : function()
+ {
+ // Activate Reset button
+ var resetButton = CKEDITOR.document.getById( btnResetSizeId ),
+ ratioButton = CKEDITOR.document.getById( btnLockSizesId );
+ if ( resetButton )
+ {
+ resetButton.on( 'click', function(evt)
+ {
+ resetSize( this );
+ evt.data.preventDefault();
+ }, this.getDialog() );
+ resetButton.on( 'mouseover', function()
+ {
+ this.addClass( 'cke_btn_over' );
+ }, resetButton );
+ resetButton.on( 'mouseout', function()
+ {
+ this.removeClass( 'cke_btn_over' );
+ }, resetButton );
+ }
+ // Activate (Un)LockRatio button
+ if ( ratioButton )
+ {
+ ratioButton.on( 'click', function(evt)
+ {
+ var locked = switchLockRatio( this ),
+ oImageOriginal = this.originalElement,
+ width = this.getValueOf( 'info', 'txtWidth' );
+
+ if ( oImageOriginal.getCustomData( 'isReady' ) == 'true' && width )
+ {
+ var height = oImageOriginal.$.height / oImageOriginal.$.width * width;
+ if ( !isNaN( height ) )
+ {
+ this.setValueOf( 'info', 'txtHeight', Math.round( height ) );
+ updatePreview( this );
+ }
+ }
+ evt.data.preventDefault();
+ }, this.getDialog() );
+ ratioButton.on( 'mouseover', function()
+ {
+ this.addClass( 'cke_btn_over' );
+ }, ratioButton );
+ ratioButton.on( 'mouseout', function()
+ {
+ this.removeClass( 'cke_btn_over' );
+ }, ratioButton );
+ }
+ },
+ html : '<div>'+
+ '<a href="javascript:void(0)" tabindex="-1" title="' + editor.lang.image.unlockRatio +
+ '" class="cke_btn_locked" id="' + btnLockSizesId + '" role="button"><span class="cke_label">' + editor.lang.image.unlockRatio + '</span></a>' +
+ '<a href="javascript:void(0)" tabindex="-1" title="' + editor.lang.image.resetSize +
+ '" class="cke_btn_reset" id="' + btnResetSizeId + '" role="button"><span class="cke_label">' + editor.lang.image.resetSize + '</span></a>'+
+ '</div>'
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ padding : 1,
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtBorder',
+ width: '60px',
+ labelLayout : 'horizontal',
+ label : editor.lang.image.border,
+ 'default' : '',
+ onKeyUp : function()
+ {
+ updatePreview( this.getDialog() );
+ },
+ onChange : function()
+ {
+ commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+ },
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.image.validateBorder ),
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ var value,
+ borderStyle = element.getStyle( 'border-width' );
+ borderStyle = borderStyle && borderStyle.match( /^(\d+px)(?: \1 \1 \1)?$/ );
+ value = borderStyle && parseInt( borderStyle[ 1 ], 10 );
+ isNaN ( parseInt( value, 10 ) ) && ( value = element.getAttribute( 'border' ) );
+ this.setValue( value );
+ }
+ },
+ commit : function( type, element, internalCommit )
+ {
+ var value = parseInt( this.getValue(), 10 );
+ if ( type == IMAGE || type == PREVIEW )
+ {
+ if ( !isNaN( value ) )
+ {
+ element.setStyle( 'border-width', CKEDITOR.tools.cssLength( value ) );
+ element.setStyle( 'border-style', 'solid' );
+ }
+ else if ( !value && this.isChanged() )
+ {
+ element.removeStyle( 'border-width' );
+ element.removeStyle( 'border-style' );
+ element.removeStyle( 'border-color' );
+ }
+
+ if ( !internalCommit && type == IMAGE )
+ element.removeAttribute( 'border' );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.removeAttribute( 'border' );
+ element.removeStyle( 'border-width' );
+ element.removeStyle( 'border-style' );
+ element.removeStyle( 'border-color' );
+ }
+ }
+ },
+ {
+ type : 'text',
+ id : 'txtHSpace',
+ width: '60px',
+ labelLayout : 'horizontal',
+ label : editor.lang.image.hSpace,
+ 'default' : '',
+ onKeyUp : function()
+ {
+ updatePreview( this.getDialog() );
+ },
+ onChange : function()
+ {
+ commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+ },
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.image.validateHSpace ),
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ var value,
+ marginLeftPx,
+ marginRightPx,
+ marginLeftStyle = element.getStyle( 'margin-left' ),
+ marginRightStyle = element.getStyle( 'margin-right' );
+
+ marginLeftStyle = marginLeftStyle && marginLeftStyle.match( pxLengthRegex );
+ marginRightStyle = marginRightStyle && marginRightStyle.match( pxLengthRegex );
+ marginLeftPx = parseInt( marginLeftStyle, 10 );
+ marginRightPx = parseInt( marginRightStyle, 10 );
+
+ value = ( marginLeftPx == marginRightPx ) && marginLeftPx;
+ isNaN( parseInt( value, 10 ) ) && ( value = element.getAttribute( 'hspace' ) );
+
+ this.setValue( value );
+ }
+ },
+ commit : function( type, element, internalCommit )
+ {
+ var value = parseInt( this.getValue(), 10 );
+ if ( type == IMAGE || type == PREVIEW )
+ {
+ if ( !isNaN( value ) )
+ {
+ element.setStyle( 'margin-left', CKEDITOR.tools.cssLength( value ) );
+ element.setStyle( 'margin-right', CKEDITOR.tools.cssLength( value ) );
+ }
+ else if ( !value && this.isChanged( ) )
+ {
+ element.removeStyle( 'margin-left' );
+ element.removeStyle( 'margin-right' );
+ }
+
+ if ( !internalCommit && type == IMAGE )
+ element.removeAttribute( 'hspace' );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.removeAttribute( 'hspace' );
+ element.removeStyle( 'margin-left' );
+ element.removeStyle( 'margin-right' );
+ }
+ }
+ },
+ {
+ type : 'text',
+ id : 'txtVSpace',
+ width : '60px',
+ labelLayout : 'horizontal',
+ label : editor.lang.image.vSpace,
+ 'default' : '',
+ onKeyUp : function()
+ {
+ updatePreview( this.getDialog() );
+ },
+ onChange : function()
+ {
+ commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+ },
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.image.validateVSpace ),
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ var value,
+ marginTopPx,
+ marginBottomPx,
+ marginTopStyle = element.getStyle( 'margin-top' ),
+ marginBottomStyle = element.getStyle( 'margin-bottom' );
+
+ marginTopStyle = marginTopStyle && marginTopStyle.match( pxLengthRegex );
+ marginBottomStyle = marginBottomStyle && marginBottomStyle.match( pxLengthRegex );
+ marginTopPx = parseInt( marginTopStyle, 10 );
+ marginBottomPx = parseInt( marginBottomStyle, 10 );
+
+ value = ( marginTopPx == marginBottomPx ) && marginTopPx;
+ isNaN ( parseInt( value, 10 ) ) && ( value = element.getAttribute( 'vspace' ) );
+ this.setValue( value );
+ }
+ },
+ commit : function( type, element, internalCommit )
+ {
+ var value = parseInt( this.getValue(), 10 );
+ if ( type == IMAGE || type == PREVIEW )
+ {
+ if ( !isNaN( value ) )
+ {
+ element.setStyle( 'margin-top', CKEDITOR.tools.cssLength( value ) );
+ element.setStyle( 'margin-bottom', CKEDITOR.tools.cssLength( value ) );
+ }
+ else if ( !value && this.isChanged( ) )
+ {
+ element.removeStyle( 'margin-top' );
+ element.removeStyle( 'margin-bottom' );
+ }
+
+ if ( !internalCommit && type == IMAGE )
+ element.removeAttribute( 'vspace' );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.removeAttribute( 'vspace' );
+ element.removeStyle( 'margin-top' );
+ element.removeStyle( 'margin-bottom' );
+ }
+ }
+ },
+ {
+ id : 'cmbAlign',
+ type : 'select',
+ labelLayout : 'horizontal',
+ widths : [ '35%','65%' ],
+ style : 'width:90px',
+ label : editor.lang.image.align,
+ 'default' : '',
+ items :
+ [
+ [ editor.lang.common.notSet , ''],
+ [ editor.lang.image.alignLeft , 'left'],
+ [ editor.lang.image.alignRight , 'right']
+ // Backward compatible with v2 on setup when specified as attribute value,
+ // while these values are no more available as select options.
+ // [ editor.lang.image.alignAbsBottom , 'absBottom'],
+ // [ editor.lang.image.alignAbsMiddle , 'absMiddle'],
+ // [ editor.lang.image.alignBaseline , 'baseline'],
+ // [ editor.lang.image.alignTextTop , 'text-top'],
+ // [ editor.lang.image.alignBottom , 'bottom'],
+ // [ editor.lang.image.alignMiddle , 'middle'],
+ // [ editor.lang.image.alignTop , 'top']
+ ],
+ onChange : function()
+ {
+ updatePreview( this.getDialog() );
+ commitInternally.call( this, 'advanced:txtdlgGenStyle' );
+ },
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ var value = element.getStyle( 'float' );
+ switch( value )
+ {
+ // Ignore those unrelated values.
+ case 'inherit':
+ case 'none':
+ value = '';
+ }
+
+ !value && ( value = ( element.getAttribute( 'align' ) || '' ).toLowerCase() );
+ this.setValue( value );
+ }
+ },
+ commit : function( type, element, internalCommit )
+ {
+ var value = this.getValue();
+ if ( type == IMAGE || type == PREVIEW )
+ {
+ if ( value )
+ element.setStyle( 'float', value );
+ else
+ element.removeStyle( 'float' );
+
+ if ( !internalCommit && type == IMAGE )
+ {
+ value = ( element.getAttribute( 'align' ) || '' ).toLowerCase();
+ switch( value )
+ {
+ // we should remove it only if it matches "left" or "right",
+ // otherwise leave it intact.
+ case 'left':
+ case 'right':
+ element.removeAttribute( 'align' );
+ }
+ }
+ }
+ else if ( type == CLEANUP )
+ element.removeStyle( 'float' );
+
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ height : '250px',
+ children :
+ [
+ {
+ type : 'html',
+ style : 'width:95%;',
+ html : '<div>' + CKEDITOR.tools.htmlEncode( editor.lang.common.preview ) +'<br>'+
+ '<div id="' + imagePreviewLoaderId + '" class="ImagePreviewLoader" style="display:none"><div class="loading"> </div></div>'+
+ '<div id="' + imagePreviewBoxId + '" class="ImagePreviewBox"><table><tr><td>'+
+ '<a href="javascript:void(0)" target="_blank" onclick="return false;" id="' + previewLinkId + '">'+
+ '<img id="' + previewImageId + '" alt="" /></a>' +
+ ( editor.config.image_previewText ||
+ 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. '+
+ 'Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus a, commodo non, facilisis vitae, '+
+ 'nulla. Aenean dictum lacinia tortor. Nunc iaculis, nibh non iaculis aliquam, orci felis euismod neque, sed ornare massa mauris sed velit. Nulla pretium mi et risus. Fusce mi pede, tempor id, cursus ac, ullamcorper nec, enim. Sed tortor. Curabitur molestie. Duis velit augue, condimentum at, ultrices a, luctus ut, orci. Donec pellentesque egestas eros. Integer cursus, augue in cursus faucibus, eros pede bibendum sem, in tempus tellus justo quis ligula. Etiam eget tortor. Vestibulum rutrum, est ut placerat elementum, lectus nisl aliquam velit, tempor aliquam eros nunc nonummy metus. In eros metus, gravida a, gravida sed, lobortis id, turpis. Ut ultrices, ipsum at venenatis fringilla, sem nulla lacinia tellus, eget aliquet turpis mauris non enim. Nam turpis. Suspendisse lacinia. Curabitur ac tortor ut ipsum egestas elementum. Nunc imperdiet gravida mauris.' ) +
+ '</td></tr></table></div></div>'
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ id : 'Link',
+ label : editor.lang.link.title,
+ padding : 0,
+ elements :
+ [
+ {
+ id : 'txtUrl',
+ type : 'text',
+ label : editor.lang.common.url,
+ style : 'width: 100%',
+ 'default' : '',
+ setup : function( type, element )
+ {
+ if ( type == LINK )
+ {
+ var href = element.getAttribute( '_cke_saved_href' );
+ if ( !href )
+ href = element.getAttribute( 'href' );
+ this.setValue( href );
+ }
+ },
+ commit : function( type, element )
+ {
+ if ( type == LINK )
+ {
+ if ( this.getValue() || this.isChanged() )
+ {
+ element.setAttribute( '_cke_saved_href', decodeURI( this.getValue() ) );
+ element.setAttribute( 'href', 'javascript:void(0)/*' +
+ CKEDITOR.tools.getNextNumber() + '*/' );
+
+ if ( this.getValue() || !editor.config.image_removeLinkByEmptyURL )
+ this.getDialog().addLink = true;
+ }
+ }
+ }
+ },
+ {
+ type : 'button',
+ id : 'browse',
+ filebrowser :
+ {
+ action : 'Browse',
+ target: 'Link:txtUrl',
+ url: editor.config.filebrowserImageBrowseLinkUrl || editor.config.filebrowserBrowseUrl
+ },
+ style : 'float:right',
+ hidden : true,
+ label : editor.lang.common.browseServer
+ },
+ {
+ id : 'cmbTarget',
+ type : 'select',
+ label : editor.lang.common.target,
+ 'default' : '',
+ items :
+ [
+ [ editor.lang.common.notSet , ''],
+ [ editor.lang.common.targetNew , '_blank'],
+ [ editor.lang.common.targetTop , '_top'],
+ [ editor.lang.common.targetSelf , '_self'],
+ [ editor.lang.common.targetParent , '_parent']
+ ],
+ setup : function( type, element )
+ {
+ if ( type == LINK )
+ this.setValue( element.getAttribute( 'target' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == LINK )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'target', this.getValue() );
+ }
+ }
+ }
+ ]
+ },
+ {
+ id : 'Upload',
+ hidden : true,
+ filebrowser : 'uploadButton',
+ label : editor.lang.image.upload,
+ elements :
+ [
+ {
+ type : 'file',
+ id : 'upload',
+ label : editor.lang.image.btnUpload,
+ style: 'height:40px',
+ size : 38
+ },
+ {
+ type : 'fileButton',
+ id : 'uploadButton',
+ filebrowser : 'info:txtUrl',
+ label : editor.lang.image.btnUpload,
+ 'for' : [ 'Upload', 'upload' ]
+ }
+ ]
+ },
+ {
+ id : 'advanced',
+ label : editor.lang.common.advancedTab,
+ elements :
+ [
+ {
+ type : 'hbox',
+ widths : [ '50%', '25%', '25%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'linkId',
+ label : editor.lang.common.id,
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ this.setValue( element.getAttribute( 'id' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'id', this.getValue() );
+ }
+ }
+ },
+ {
+ id : 'cmbLangDir',
+ type : 'select',
+ style : 'width : 100px;',
+ label : editor.lang.common.langDir,
+ 'default' : '',
+ items :
+ [
+ [ editor.lang.common.notSet, '' ],
+ [ editor.lang.common.langDirLtr, 'ltr' ],
+ [ editor.lang.common.langDirRtl, 'rtl' ]
+ ],
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ this.setValue( element.getAttribute( 'dir' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'dir', this.getValue() );
+ }
+ }
+ },
+ {
+ type : 'text',
+ id : 'txtLangCode',
+ label : editor.lang.common.langCode,
+ 'default' : '',
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ this.setValue( element.getAttribute( 'lang' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'lang', this.getValue() );
+ }
+ }
+ }
+ ]
+ },
+ {
+ type : 'text',
+ id : 'txtGenLongDescr',
+ label : editor.lang.common.longDescr,
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ this.setValue( element.getAttribute( 'longDesc' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'longDesc', this.getValue() );
+ }
+ }
+ },
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtGenClass',
+ label : editor.lang.common.cssClass,
+ 'default' : '',
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ this.setValue( element.getAttribute( 'class' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'class', this.getValue() );
+ }
+ }
+ },
+ {
+ type : 'text',
+ id : 'txtGenTitle',
+ label : editor.lang.common.advisoryTitle,
+ 'default' : '',
+ onChange : function()
+ {
+ updatePreview( this.getDialog() );
+ },
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ this.setValue( element.getAttribute( 'title' ) );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ if ( this.getValue() || this.isChanged() )
+ element.setAttribute( 'title', this.getValue() );
+ }
+ else if ( type == PREVIEW )
+ {
+ element.setAttribute( 'title', this.getValue() );
+ }
+ else if ( type == CLEANUP )
+ {
+ element.removeAttribute( 'title' );
+ }
+ }
+ }
+ ]
+ },
+ {
+ type : 'text',
+ id : 'txtdlgGenStyle',
+ label : editor.lang.common.cssStyle,
+ 'default' : '',
+ setup : function( type, element )
+ {
+ if ( type == IMAGE )
+ {
+ var genStyle = element.getAttribute( 'style' );
+ if ( !genStyle && element.$.style.cssText )
+ genStyle = element.$.style.cssText;
+ this.setValue( genStyle );
+
+ var height = element.$.style.height,
+ width = element.$.style.width,
+ aMatchH = ( height ? height : '' ).match( regexGetSize ),
+ aMatchW = ( width ? width : '').match( regexGetSize );
+
+ this.attributesInStyle =
+ {
+ height : !!aMatchH,
+ width : !!aMatchW
+ };
+ }
+ },
+ onChange : function ()
+ {
+ commitInternally.call( this,
+ [ 'info:cmbFloat', 'info:cmbAlign',
+ 'info:txtVSpace', 'info:txtHSpace',
+ 'info:txtBorder',
+ 'info:txtWidth', 'info:txtHeight' ] );
+ updatePreview( this );
+ },
+ commit : function( type, element )
+ {
+ if ( type == IMAGE && ( this.getValue() || this.isChanged() ) )
+ {
+ element.setAttribute( 'style', this.getValue() );
+ }
+ }
+ }
+ ]
+ }
+ ]
+ };
+ };
+
+ CKEDITOR.dialog.add( 'image', function( editor )
+ {
+ return imageDialog( editor, 'image' );
+ });
+
+ CKEDITOR.dialog.add( 'imagebutton', function( editor )
+ {
+ return imageDialog( editor, 'imagebutton' );
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/image/plugin.js b/devel/third-party/ckeditor/plugins/image/plugin.js
new file mode 100644
index 0000000..6757aa3
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/image/plugin.js
@@ -0,0 +1,81 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Image plugin
+ */
+
+CKEDITOR.plugins.add( 'image',
+{
+ init : function( editor )
+ {
+ var pluginName = 'image';
+
+ // Register the dialog.
+ CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/image.js' );
+
+ // Register the command.
+ editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
+
+ // Register the toolbar button.
+ editor.ui.addButton( 'Image',
+ {
+ label : editor.lang.common.image,
+ command : pluginName
+ });
+
+ editor.on( 'doubleclick', function( evt )
+ {
+ var element = evt.data.element;
+
+ if ( element.is( 'img' ) && !element.getAttribute( '_cke_realelement' ) )
+ evt.data.dialog = 'image';
+ });
+
+ // If the "menu" plugin is loaded, register the menu items.
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItems(
+ {
+ image :
+ {
+ label : editor.lang.image.menu,
+ command : 'image',
+ group : 'image'
+ }
+ });
+ }
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( !element || !element.is( 'img' ) || element.getAttribute( '_cke_realelement' ) || element.isReadOnly() )
+ return null;
+
+ return { image : CKEDITOR.TRISTATE_OFF };
+ });
+ }
+ }
+} );
+
+/**
+ * Whether to remove links when emptying the link URL field in the image dialog.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.image_removeLinkByEmptyURL = false;
+ */
+CKEDITOR.config.image_removeLinkByEmptyURL = true;
+
+/**
+ * Padding text to set off the image in preview area.
+ * @name CKEDITOR.config.image_previewText
+ * @type String
+ * @default "Lorem ipsum dolor..." placehoder text.
+ * @example
+ * config.image_previewText = CKEDITOR.tools.repeat( '___ ', 100 );
+ */
diff --git a/devel/third-party/ckeditor/plugins/indent/plugin.js b/devel/third-party/ckeditor/plugins/indent/plugin.js
new file mode 100644
index 0000000..4c1406e
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/indent/plugin.js
@@ -0,0 +1,447 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Increse and decrease indent commands.
+ */
+
+(function()
+{
+ var listNodeNames = { ol : 1, ul : 1 };
+
+ var isNotWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
+ isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true );
+
+ function setState( editor, state )
+ {
+ editor.getCommand( this.name ).setState( state );
+ }
+
+ function onSelectionChange( evt )
+ {
+ var editor = evt.editor;
+
+ var elementPath = evt.data.path,
+ list = elementPath && elementPath.contains( listNodeNames );
+
+ if ( list )
+ return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+
+ if ( !this.useIndentClasses && this.name == 'indent' )
+ return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+
+ var path = evt.data.path,
+ firstBlock = path.block || path.blockLimit;
+ if ( !firstBlock )
+ return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
+
+ if ( this.useIndentClasses )
+ {
+ var indentClass = firstBlock.$.className.match( this.classNameRegex ),
+ indentStep = 0;
+ if ( indentClass )
+ {
+ indentClass = indentClass[1];
+ indentStep = this.indentClassMap[ indentClass ];
+ }
+ if ( ( this.name == 'outdent' && !indentStep ) ||
+ ( this.name == 'indent' && indentStep == editor.config.indentClasses.length ) )
+ return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
+ return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+ }
+ else
+ {
+ var indent = parseInt( firstBlock.getStyle( getIndentCssProperty( firstBlock ) ), 10 );
+ if ( isNaN( indent ) )
+ indent = 0;
+ if ( indent <= 0 )
+ return setState.call( this, editor, CKEDITOR.TRISTATE_DISABLED );
+ return setState.call( this, editor, CKEDITOR.TRISTATE_OFF );
+ }
+ }
+
+ function indentCommand( editor, name )
+ {
+ this.name = name;
+ this.useIndentClasses = editor.config.indentClasses && editor.config.indentClasses.length > 0;
+ if ( this.useIndentClasses )
+ {
+ this.classNameRegex = new RegExp( '(?:^|\\s+)(' + editor.config.indentClasses.join( '|' ) + ')(?=$|\\s)' );
+ this.indentClassMap = {};
+ for ( var i = 0 ; i < editor.config.indentClasses.length ; i++ )
+ this.indentClassMap[ editor.config.indentClasses[i] ] = i + 1;
+ }
+
+ this.startDisabled = name == 'outdent';
+ }
+
+ // Returns the CSS property to be used for identing a given element.
+ function getIndentCssProperty( element )
+ {
+ return element.getComputedStyle( 'direction' ) == 'ltr' ? 'margin-left' : 'margin-right';
+ }
+
+ function isListItem( node )
+ {
+ return node.type = CKEDITOR.NODE_ELEMENT && node.is( 'li' );
+ }
+
+ indentCommand.prototype = {
+ exec : function( editor )
+ {
+ var self = this, database = {};
+
+ function indentList( listNode )
+ {
+ // Our starting and ending points of the range might be inside some blocks under a list item...
+ // So before playing with the iterator, we need to expand the block to include the list items.
+ var startContainer = range.startContainer,
+ endContainer = range.endContainer;
+ while ( startContainer && !startContainer.getParent().equals( listNode ) )
+ startContainer = startContainer.getParent();
+ while ( endContainer && !endContainer.getParent().equals( listNode ) )
+ endContainer = endContainer.getParent();
+
+ if ( !startContainer || !endContainer )
+ return;
+
+ // Now we can iterate over the individual items on the same tree depth.
+ var block = startContainer,
+ itemsToMove = [],
+ stopFlag = false;
+ while ( !stopFlag )
+ {
+ if ( block.equals( endContainer ) )
+ stopFlag = true;
+ itemsToMove.push( block );
+ block = block.getNext();
+ }
+ if ( itemsToMove.length < 1 )
+ return;
+
+ // Do indent or outdent operations on the array model of the list, not the
+ // list's DOM tree itself. The array model demands that it knows as much as
+ // possible about the surrounding lists, we need to feed it the further
+ // ancestor node that is still a list.
+ var listParents = listNode.getParents( true );
+ for ( var i = 0 ; i < listParents.length ; i++ )
+ {
+ if ( listParents[i].getName && listNodeNames[ listParents[i].getName() ] )
+ {
+ listNode = listParents[i];
+ break;
+ }
+ }
+ var indentOffset = self.name == 'indent' ? 1 : -1,
+ startItem = itemsToMove[0],
+ lastItem = itemsToMove[ itemsToMove.length - 1 ];
+
+ // Convert the list DOM tree into a one dimensional array.
+ var listArray = CKEDITOR.plugins.list.listToArray( listNode, database );
+
+ // Apply indenting or outdenting on the array.
+ var baseIndent = listArray[ lastItem.getCustomData( 'listarray_index' ) ].indent;
+ for ( i = startItem.getCustomData( 'listarray_index' ); i <= lastItem.getCustomData( 'listarray_index' ); i++ )
+ {
+ listArray[ i ].indent += indentOffset;
+ // Make sure the newly created sublist get a brand-new element of the same type. (#5372)
+ var listRoot = listArray[ i ].parent;
+ listArray[ i ].parent = new CKEDITOR.dom.element( listRoot.getName(), listRoot.getDocument() );
+ }
+
+ for ( i = lastItem.getCustomData( 'listarray_index' ) + 1 ;
+ i < listArray.length && listArray[i].indent > baseIndent ; i++ )
+ listArray[i].indent += indentOffset;
+
+ // Convert the array back to a DOM forest (yes we might have a few subtrees now).
+ // And replace the old list with the new forest.
+ var newListDir = listNode.getAttribute( 'dir' ) || listNode.getStyle( 'direction' );
+ var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode, newListDir );
+
+ // Avoid nested <li> after outdent even they're visually same,
+ // recording them for later refactoring.(#3982)
+ if ( self.name == 'outdent' )
+ {
+ var parentLiElement;
+ if ( ( parentLiElement = listNode.getParent() ) && parentLiElement.is( 'li' ) )
+ {
+ var children = newList.listNode.getChildren(),
+ pendingLis = [],
+ count = children.count(),
+ child;
+
+ for ( i = count - 1 ; i >= 0 ; i-- )
+ {
+ if ( ( child = children.getItem( i ) ) && child.is && child.is( 'li' ) )
+ pendingLis.push( child );
+ }
+ }
+ }
+
+ if ( newList )
+ newList.listNode.replace( listNode );
+
+ // Move the nested <li> to be appeared after the parent.
+ if ( pendingLis && pendingLis.length )
+ {
+ for ( i = 0; i < pendingLis.length ; i++ )
+ {
+ var li = pendingLis[ i ],
+ followingList = li;
+
+ // Nest preceding <ul>/<ol> inside current <li> if any.
+ while ( ( followingList = followingList.getNext() ) &&
+ followingList.is &&
+ followingList.getName() in listNodeNames )
+ {
+ // IE requires a filler NBSP for nested list inside empty list item,
+ // otherwise the list item will be inaccessiable. (#4476)
+ if ( CKEDITOR.env.ie && !li.getFirst( function( node ){ return isNotWhitespaces( node ) && isNotBookmark( node ); } ) )
+ li.append( range.document.createText( '\u00a0' ) );
+
+ li.append( followingList );
+ }
+
+ li.insertAfter( parentLiElement );
+ }
+ }
+ }
+
+ function indentBlock()
+ {
+ var iterator = range.createIterator(),
+ enterMode = editor.config.enterMode;
+ iterator.enforceRealBlocks = true;
+ iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
+ var block;
+ while ( ( block = iterator.getNextParagraph() ) )
+ indentElement( block );
+ }
+
+ function indentElement( element )
+ {
+ if ( element.getCustomData( 'indent_processed' ) )
+ return false;
+
+ if ( self.useIndentClasses )
+ {
+ // Transform current class name to indent step index.
+ var indentClass = element.$.className.match( self.classNameRegex ),
+ indentStep = 0;
+ if ( indentClass )
+ {
+ indentClass = indentClass[1];
+ indentStep = self.indentClassMap[ indentClass ];
+ }
+
+ // Operate on indent step index, transform indent step index back to class
+ // name.
+ if ( self.name == 'outdent' )
+ indentStep--;
+ else
+ indentStep++;
+
+ if ( indentStep < 0 )
+ return false;
+
+ indentStep = Math.min( indentStep, editor.config.indentClasses.length );
+ indentStep = Math.max( indentStep, 0 );
+ var className = CKEDITOR.tools.ltrim( element.$.className.replace( self.classNameRegex, '' ) );
+ if ( indentStep < 1 )
+ element.$.className = className;
+ else
+ element.addClass( editor.config.indentClasses[ indentStep - 1 ] );
+ }
+ else
+ {
+ var indentCssProperty = getIndentCssProperty( element );
+ var currentOffset = parseInt( element.getStyle( indentCssProperty ), 10 );
+ if ( isNaN( currentOffset ) )
+ currentOffset = 0;
+ currentOffset += ( self.name == 'indent' ? 1 : -1 ) * editor.config.indentOffset;
+
+ if ( currentOffset < 0 )
+ return false;
+
+ currentOffset = Math.max( currentOffset, 0 );
+ currentOffset = Math.ceil( currentOffset / editor.config.indentOffset ) * editor.config.indentOffset;
+ element.setStyle( indentCssProperty, currentOffset ? currentOffset + editor.config.indentUnit : '' );
+ if ( element.getAttribute( 'style' ) === '' )
+ element.removeAttribute( 'style' );
+ }
+
+ CKEDITOR.dom.element.setMarker( database, element, 'indent_processed', true );
+ return true;
+ }
+
+ var selection = editor.getSelection(),
+ bookmarks = selection.createBookmarks( true ),
+ ranges = selection && selection.getRanges( true ),
+ range;
+
+ var skipBookmarks = function( node )
+ {
+ return ! node.hasAttribute( '_cke_bookmark' );
+ };
+
+ var iterator = ranges.createIterator();
+ while ( ( range = iterator.getNextRange() ) )
+ {
+ // Do not indent body. (#6138)
+ range.shrink( CKEDITOR.SHRINK_ELEMENT );
+ if ( range.endContainer.getName() == 'body' )
+ range.setEndAt( range.endContainer.getLast( skipBookmarks ), CKEDITOR.POSITION_BEFORE_END );
+
+ var startContainer = range.startContainer,
+ endContainer = range.endContainer,
+ rangeRoot = range.getCommonAncestor(),
+ nearestListBlock = rangeRoot;
+
+ while ( nearestListBlock && !( nearestListBlock.type == CKEDITOR.NODE_ELEMENT &&
+ listNodeNames[ nearestListBlock.getName() ] ) )
+ nearestListBlock = nearestListBlock.getParent();
+
+ // Avoid selection anchors under list root.
+ // <ul>[<li>...</li>]</ul> => <ul><li>[...]</li></ul>
+ if ( nearestListBlock && startContainer.type == CKEDITOR.NODE_ELEMENT
+ && startContainer.getName() in listNodeNames )
+ {
+ var walker = new CKEDITOR.dom.walker( range );
+ walker.evaluator = isListItem;
+ range.startContainer = walker.next();
+ }
+
+ if ( nearestListBlock && endContainer.type == CKEDITOR.NODE_ELEMENT
+ && endContainer.getName() in listNodeNames )
+ {
+ walker = new CKEDITOR.dom.walker( range );
+ walker.evaluator = isListItem;
+ range.endContainer = walker.previous();
+ }
+
+ if ( nearestListBlock )
+ {
+ var firstListItem = nearestListBlock.getFirst( function( node )
+ {
+ return node.type == CKEDITOR.NODE_ELEMENT && node.is( 'li' );
+ }),
+ rangeStart = range.startContainer,
+ indentWholeList = firstListItem.equals( rangeStart ) || firstListItem.contains( rangeStart );
+
+ // Indent the entire list if cursor is inside the first list item. (#3893)
+ if ( !( indentWholeList && indentElement( nearestListBlock ) ) )
+ indentList( nearestListBlock );
+ }
+ else
+ indentBlock();
+ }
+
+ // Clean up the markers.
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ editor.forceNextSelectionCheck();
+ selection.selectBookmarks( bookmarks );
+ }
+ };
+
+ CKEDITOR.plugins.add( 'indent',
+ {
+ init : function( editor )
+ {
+ // Register commands.
+ var indent = new indentCommand( editor, 'indent' ),
+ outdent = new indentCommand( editor, 'outdent' );
+ editor.addCommand( 'indent', indent );
+ editor.addCommand( 'outdent', outdent );
+
+ // Register the toolbar buttons.
+ editor.ui.addButton( 'Indent',
+ {
+ label : editor.lang.indent,
+ command : 'indent'
+ });
+ editor.ui.addButton( 'Outdent',
+ {
+ label : editor.lang.outdent,
+ command : 'outdent'
+ });
+
+ // Register the state changing handlers.
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, indent ) );
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, outdent ) );
+
+ // [IE6/7] Raw lists are using margin instead of padding for visual indentation in wysiwyg mode. (#3893)
+ if ( CKEDITOR.env.ie6Compat || CKEDITOR.env.ie7Compat )
+ {
+ editor.addCss(
+ "ul,ol" +
+ "{" +
+ " margin-left: 0px;" +
+ " padding-left: 40px;" +
+ "}" );
+ }
+ },
+
+ requires : [ 'domiterator', 'list' ]
+ } );
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+ {
+ indentOffset : 40,
+ indentUnit : 'px',
+ indentClasses : null
+ });
+
+/**
+ * Size of each indentation step
+ * @type Number
+ * @example
+ * config.indentOffset = 40;
+ */
+
+ /**
+ * Unit for the indentation style
+ * @type String
+ * @example
+ * config.indentUnit = 'px';
+ */
+
+ /**
+ * List of classes to use for indenting the contents.
+ * @type Array
+ * @example
+ * // Don't use classes for indenting. (this is the default value)
+ * config.indentClasses = null;
+ * @example
+ * // Use the classes 'Indent1', 'Indent2', 'Indent3'
+ * config.indentClasses = ['Indent1', 'Indent2', 'Indent3'];
+ */
+
+/**
+ * Size of each indentation step
+ * @type Number
+ * @default 40
+ * @example
+ * config.indentOffset = 4;
+ */
+
+ /**
+ * Unit for the indentation style
+ * @type String
+ * @default 'px'
+ * @example
+ * config.indentUnit = 'em';
+ */
+
+ /**
+ * List of classes to use for indenting the contents. If it's null, no classes will be used
+ * and instead the {@link #indentUnit} and {@link #indentOffset} properties will be used.
+ * @type Array
+ * default null
+ * @example
+ * // Use the classes 'Indent1', 'Indent2', 'Indent3'
+ * config.indentClasses = ['Indent1', 'Indent2', 'Indent3'];
+ */
diff --git a/devel/third-party/ckeditor/plugins/justify/plugin.js b/devel/third-party/ckeditor/plugins/justify/plugin.js
new file mode 100644
index 0000000..036434d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/justify/plugin.js
@@ -0,0 +1,190 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Justify commands.
+ */
+
+(function()
+{
+ function getState( editor, path )
+ {
+ var firstBlock = path.block || path.blockLimit;
+
+ if ( !firstBlock || firstBlock.getName() == 'body' )
+ return CKEDITOR.TRISTATE_OFF;
+
+ return ( getAlignment( firstBlock, editor.config.useComputedState ) == this.value ) ?
+ CKEDITOR.TRISTATE_ON :
+ CKEDITOR.TRISTATE_OFF;
+ }
+
+ function getAlignment( element, useComputedState )
+ {
+ useComputedState = useComputedState === undefined || useComputedState;
+
+ var align;
+ if ( useComputedState )
+ align = element.getComputedStyle( 'text-align' );
+ else
+ {
+ while ( !element.hasAttribute || !( element.hasAttribute( 'align' ) || element.getStyle( 'text-align' ) ) )
+ {
+ var parent = element.getParent();
+ if ( !parent )
+ break;
+ element = parent;
+ }
+ align = element.getStyle( 'text-align' ) || element.getAttribute( 'align' ) || '';
+ }
+
+ align && ( align = align.replace( /-moz-|-webkit-|start|auto/i, '' ) );
+
+ !align && useComputedState && ( align = element.getComputedStyle( 'direction' ) == 'rtl' ? 'right' : 'left' );
+
+ return align;
+ }
+
+ function onSelectionChange( evt )
+ {
+ var command = evt.editor.getCommand( this.name );
+ command.state = getState.call( this, evt.editor, evt.data.path );
+ command.fire( 'state' );
+ }
+
+ function justifyCommand( editor, name, value )
+ {
+ this.name = name;
+ this.value = value;
+
+ var classes = editor.config.justifyClasses;
+ if ( classes )
+ {
+ switch ( value )
+ {
+ case 'left' :
+ this.cssClassName = classes[0];
+ break;
+ case 'center' :
+ this.cssClassName = classes[1];
+ break;
+ case 'right' :
+ this.cssClassName = classes[2];
+ break;
+ case 'justify' :
+ this.cssClassName = classes[3];
+ break;
+ }
+
+ this.cssClassRegex = new RegExp( '(?:^|\\s+)(?:' + classes.join( '|' ) + ')(?=$|\\s)' );
+ }
+ }
+
+ justifyCommand.prototype = {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection(),
+ enterMode = editor.config.enterMode;
+
+ if ( !selection )
+ return;
+
+ var bookmarks = selection.createBookmarks(),
+ ranges = selection.getRanges( true );
+
+ var cssClassName = this.cssClassName,
+ iterator,
+ block;
+
+ var useComputedState = editor.config.useComputedState;
+ useComputedState = useComputedState === undefined || useComputedState;
+
+ for ( var i = ranges.length - 1 ; i >= 0 ; i-- )
+ {
+ iterator = ranges[ i ].createIterator();
+ iterator.enlargeBr = enterMode != CKEDITOR.ENTER_BR;
+
+ while ( ( block = iterator.getNextParagraph() ) )
+ {
+ block.removeAttribute( 'align' );
+ block.removeStyle( 'text-align' );
+
+ // Remove any of the alignment classes from the className.
+ var className = cssClassName && ( block.$.className =
+ CKEDITOR.tools.ltrim( block.$.className.replace( this.cssClassRegex, '' ) ) );
+
+ var apply =
+ ( this.state == CKEDITOR.TRISTATE_OFF ) &&
+ ( !useComputedState || ( getAlignment( block, true ) != this.value ) );
+
+ if ( cssClassName )
+ {
+ // Append the desired class name.
+ if ( apply )
+ block.addClass( cssClassName );
+ else if ( !className )
+ block.removeAttribute( 'class' );
+ }
+ else if ( apply )
+ block.setStyle( 'text-align', this.value );
+ }
+
+ }
+
+ editor.focus();
+ editor.forceNextSelectionCheck();
+ selection.selectBookmarks( bookmarks );
+ }
+ };
+
+ CKEDITOR.plugins.add( 'justify',
+ {
+ init : function( editor )
+ {
+ var left = new justifyCommand( editor, 'justifyleft', 'left' ),
+ center = new justifyCommand( editor, 'justifycenter', 'center' ),
+ right = new justifyCommand( editor, 'justifyright', 'right' ),
+ justify = new justifyCommand( editor, 'justifyblock', 'justify' );
+
+ editor.addCommand( 'justifyleft', left );
+ editor.addCommand( 'justifycenter', center );
+ editor.addCommand( 'justifyright', right );
+ editor.addCommand( 'justifyblock', justify );
+
+ editor.ui.addButton( 'JustifyLeft',
+ {
+ label : editor.lang.justify.left,
+ command : 'justifyleft'
+ } );
+ editor.ui.addButton( 'JustifyCenter',
+ {
+ label : editor.lang.justify.center,
+ command : 'justifycenter'
+ } );
+ editor.ui.addButton( 'JustifyRight',
+ {
+ label : editor.lang.justify.right,
+ command : 'justifyright'
+ } );
+ editor.ui.addButton( 'JustifyBlock',
+ {
+ label : editor.lang.justify.block,
+ command : 'justifyblock'
+ } );
+
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, left ) );
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, right ) );
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, center ) );
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, justify ) );
+ },
+
+ requires : [ 'domiterator' ]
+ });
+})();
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+ {
+ justifyClasses : null
+ } );
diff --git a/devel/third-party/ckeditor/plugins/keystrokes/plugin.js b/devel/third-party/ckeditor/plugins/keystrokes/plugin.js
new file mode 100644
index 0000000..73c0085
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/keystrokes/plugin.js
@@ -0,0 +1,229 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Register a plugin named "sample".
+CKEDITOR.plugins.add( 'keystrokes',
+{
+ beforeInit : function( editor )
+ {
+ /**
+ * Controls keystrokes typing in this editor instance.
+ * @name CKEDITOR.editor.prototype.keystrokeHandler
+ * @type CKEDITOR.keystrokeHandler
+ * @example
+ */
+ editor.keystrokeHandler = new CKEDITOR.keystrokeHandler( editor );
+
+ editor.specialKeys = {};
+ },
+
+ init : function( editor )
+ {
+ var keystrokesConfig = editor.config.keystrokes,
+ blockedConfig = editor.config.blockedKeystrokes;
+
+ var keystrokes = editor.keystrokeHandler.keystrokes,
+ blockedKeystrokes = editor.keystrokeHandler.blockedKeystrokes;
+
+ for ( var i = 0 ; i < keystrokesConfig.length ; i++ )
+ {
+ keystrokes[ keystrokesConfig[i][0] ] = keystrokesConfig[i][1];
+ }
+
+ for ( i = 0 ; i < blockedConfig.length ; i++ )
+ {
+ blockedKeystrokes[ blockedConfig[i] ] = 1;
+ }
+ }
+});
+
+/**
+ * Controls keystrokes typing in an editor instance.
+ * @constructor
+ * @param {CKEDITOR.editor} editor The editor instance.
+ * @example
+ */
+CKEDITOR.keystrokeHandler = function( editor )
+{
+ if ( editor.keystrokeHandler )
+ return editor.keystrokeHandler;
+
+ /**
+ * List of keystrokes associated to commands. Each entry points to the
+ * command to be executed.
+ * @type Object
+ * @example
+ */
+ this.keystrokes = {};
+
+ /**
+ * List of keystrokes that should be blocked if not defined at
+ * {@link keystrokes}. In this way it is possible to block the default
+ * browser behavior for those keystrokes.
+ * @type Object
+ * @example
+ */
+ this.blockedKeystrokes = {};
+
+ this._ =
+ {
+ editor : editor
+ };
+
+ return this;
+};
+
+(function()
+{
+ var cancel;
+
+ var onKeyDown = function( event )
+ {
+ // The DOM event object is passed by the "data" property.
+ event = event.data;
+
+ var keyCombination = event.getKeystroke();
+ var command = this.keystrokes[ keyCombination ];
+ var editor = this._.editor;
+
+ cancel = ( editor.fire( 'key', { keyCode : keyCombination } ) === true );
+
+ if ( !cancel )
+ {
+ if ( command )
+ {
+ var data = { from : 'keystrokeHandler' };
+ cancel = ( editor.execCommand( command, data ) !== false );
+ }
+
+ if ( !cancel )
+ {
+ var handler = editor.specialKeys[ keyCombination ];
+ cancel = ( handler && handler( editor ) === true );
+
+ if ( !cancel )
+ cancel = !!this.blockedKeystrokes[ keyCombination ];
+ }
+ }
+
+ if ( cancel )
+ event.preventDefault( true );
+
+ return !cancel;
+ };
+
+ var onKeyPress = function( event )
+ {
+ if ( cancel )
+ {
+ cancel = false;
+ event.data.preventDefault( true );
+ }
+ };
+
+ CKEDITOR.keystrokeHandler.prototype =
+ {
+ /**
+ * Attaches this keystroke handle to a DOM object. Keystrokes typed
+ ** over this object will get handled by this keystrokeHandler.
+ * @param {CKEDITOR.dom.domObject} domObject The DOM object to attach
+ * to.
+ * @example
+ */
+ attach : function( domObject )
+ {
+ // For most browsers, it is enough to listen to the keydown event
+ // only.
+ domObject.on( 'keydown', onKeyDown, this );
+
+ // Some browsers instead, don't cancel key events in the keydown, but in the
+ // keypress. So we must do a longer trip in those cases.
+ if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+ domObject.on( 'keypress', onKeyPress, this );
+ }
+ };
+})();
+
+/**
+ * A list of keystrokes to be blocked if not defined in the {@link CKEDITOR.config.keystrokes}
+ * setting. In this way it is possible to block the default browser behavior
+ * for those keystrokes.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.blockedKeystrokes =
+ * [
+ * CKEDITOR.CTRL + 66 /*B*/,
+ * CKEDITOR.CTRL + 73 /*I*/,
+ * CKEDITOR.CTRL + 85 /*U*/
+ * ];
+ */
+CKEDITOR.config.blockedKeystrokes =
+[
+ CKEDITOR.CTRL + 66 /*B*/,
+ CKEDITOR.CTRL + 73 /*I*/,
+ CKEDITOR.CTRL + 85 /*U*/
+];
+
+/**
+ * A list associating keystrokes to editor commands. Each element in the list
+ * is an array where the first item is the keystroke, and the second is the
+ * name of the command to be executed.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.keystrokes =
+ * [
+ * [ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
+ * [ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],
+ *
+ * [ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
+ *
+ * [ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],
+ * [ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],
+ * [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],
+ *
+ * [ CKEDITOR.CTRL + 76 /*L*/, 'link' ],
+ *
+ * [ CKEDITOR.CTRL + 66 /*B*/, 'bold' ],
+ * [ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
+ * [ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
+ *
+ * [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
+ * ];
+ */
+CKEDITOR.config.keystrokes =
+[
+ [ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
+ [ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],
+
+ [ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
+ [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
+
+ [ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],
+ [ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],
+ [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],
+
+ [ CKEDITOR.CTRL + 76 /*L*/, 'link' ],
+
+ [ CKEDITOR.CTRL + 66 /*B*/, 'bold' ],
+ [ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
+ [ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
+
+ [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ],
+ [ CKEDITOR.ALT + 48 /*0*/, 'a11yHelp' ]
+];
+
+/**
+ * Fired when any keyboard key (or combination) is pressed into the editing area.
+ * @name CKEDITOR#key
+ * @event
+ * @param {Number} data.keyCode A number representing the key code (or
+ * combination). It is the sum of the current key code and the
+ * {@link CKEDITOR.CTRL}, {@link CKEDITOR.SHIFT} and {@link CKEDITOR.ALT}
+ * constants, if those are pressed.
+ */
diff --git a/devel/third-party/ckeditor/plugins/link/dialogs/anchor.js b/devel/third-party/ckeditor/plugins/link/dialogs/anchor.js
new file mode 100644
index 0000000..1d28b27
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/link/dialogs/anchor.js
@@ -0,0 +1,99 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'anchor', function( editor )
+{
+ // Function called in onShow to load selected element.
+ var loadElements = function( editor, selection, element )
+ {
+ this.editMode = true;
+ this.editObj = element;
+
+ var attributeValue = this.editObj.getAttribute( 'name' );
+ if ( attributeValue )
+ this.setValueOf( 'info','txtName', attributeValue );
+ else
+ this.setValueOf( 'info','txtName', "" );
+ };
+
+ return {
+ title : editor.lang.anchor.title,
+ minWidth : 300,
+ minHeight : 60,
+ onOk : function()
+ {
+ // Always create a new anchor, because of IE BUG.
+ var name = this.getValueOf( 'info', 'txtName' ),
+ element = CKEDITOR.env.ie ?
+ editor.document.createElement( '<a name="' + CKEDITOR.tools.htmlEncode( name ) + '">' ) :
+ editor.document.createElement( 'a' );
+
+ // Move contents and attributes of old anchor to new anchor.
+ if ( this.editMode )
+ {
+ this.editObj.copyAttributes( element, { name : 1 } );
+ this.editObj.moveChildren( element );
+ }
+
+ // Set name.
+ element.removeAttribute( '_cke_saved_name' );
+ element.setAttribute( 'name', name );
+
+ // Insert a new anchor.
+ var fakeElement = editor.createFakeElement( element, 'cke_anchor', 'anchor' );
+ if ( !this.editMode )
+ editor.insertElement( fakeElement );
+ else
+ {
+ fakeElement.replace( this.fakeObj );
+ editor.getSelection().selectElement( fakeElement );
+ }
+
+ return true;
+ },
+ onShow : function()
+ {
+ this.editObj = false;
+ this.fakeObj = false;
+ this.editMode = false;
+
+ var selection = editor.getSelection();
+ var element = selection.getSelectedElement();
+ if ( element && element.getAttribute( '_cke_real_element_type' ) && element.getAttribute( '_cke_real_element_type' ) == 'anchor' )
+ {
+ this.fakeObj = element;
+ element = editor.restoreRealElement( this.fakeObj );
+ loadElements.apply( this, [ editor, selection, element ] );
+ selection.selectElement( this.fakeObj );
+ }
+ this.getContentElement( 'info', 'txtName' ).focus();
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.anchor.title,
+ accessKey : 'I',
+ elements :
+ [
+ {
+ type : 'text',
+ id : 'txtName',
+ label : editor.lang.anchor.name,
+ required: true,
+ validate : function()
+ {
+ if ( !this.getValue() )
+ {
+ alert( editor.lang.anchor.errorName );
+ return false;
+ }
+ return true;
+ }
+ }
+ ]
+ }
+ ]
+ };
+} );
diff --git a/devel/third-party/ckeditor/plugins/link/dialogs/link.js b/devel/third-party/ckeditor/plugins/link/dialogs/link.js
new file mode 100644
index 0000000..204d863
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/link/dialogs/link.js
@@ -0,0 +1,1420 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'link', function( editor )
+{
+ var plugin = CKEDITOR.plugins.link;
+ // Handles the event when the "Target" selection box is changed.
+ var targetChanged = function()
+ {
+ var dialog = this.getDialog(),
+ popupFeatures = dialog.getContentElement( 'target', 'popupFeatures' ),
+ targetName = dialog.getContentElement( 'target', 'linkTargetName' ),
+ value = this.getValue();
+
+ if ( !popupFeatures || !targetName )
+ return;
+
+ popupFeatures = popupFeatures.getElement();
+ popupFeatures.hide();
+ targetName.setValue( '' );
+
+ switch ( value )
+ {
+ case 'frame' :
+ targetName.setLabel( editor.lang.link.targetFrameName );
+ targetName.getElement().show();
+ break;
+ case 'popup' :
+ popupFeatures.show();
+ targetName.setLabel( editor.lang.link.targetPopupName );
+ targetName.getElement().show();
+ break;
+ default :
+ targetName.setValue( value );
+ targetName.getElement().hide();
+ break;
+ }
+
+ };
+
+ // Handles the event when the "Type" selection box is changed.
+ var linkTypeChanged = function()
+ {
+ var dialog = this.getDialog(),
+ partIds = [ 'urlOptions', 'anchorOptions', 'emailOptions' ],
+ typeValue = this.getValue(),
+ uploadTab = dialog.definition.getContents( 'upload' ),
+ uploadInitiallyHidden = uploadTab && uploadTab.hidden;
+
+ if ( typeValue == 'url' )
+ {
+ if ( editor.config.linkShowTargetTab )
+ dialog.showPage( 'target' );
+ if ( !uploadInitiallyHidden )
+ dialog.showPage( 'upload' );
+ }
+ else
+ {
+ dialog.hidePage( 'target' );
+ if ( !uploadInitiallyHidden )
+ dialog.hidePage( 'upload' );
+ }
+
+ for ( var i = 0 ; i < partIds.length ; i++ )
+ {
+ var element = dialog.getContentElement( 'info', partIds[i] );
+ if ( !element )
+ continue;
+
+ element = element.getElement().getParent().getParent();
+ if ( partIds[i] == typeValue + 'Options' )
+ element.show();
+ else
+ element.hide();
+ }
+ };
+
+ // Loads the parameters in a selected link to the link dialog fields.
+ var javascriptProtocolRegex = /^javascript:/,
+ emailRegex = /^mailto:([^?]+)(?:\?(.+))?$/,
+ emailSubjectRegex = /subject=([^;?:@&=$,\/]*)/,
+ emailBodyRegex = /body=([^;?:@&=$,\/]*)/,
+ anchorRegex = /^#(.*)$/,
+ urlRegex = /^((?:http|https|ftp|news):\/\/)?(.*)$/,
+ selectableTargets = /^(_(?:self|top|parent|blank))$/,
+ encodedEmailLinkRegex = /^javascript:void\(location\.href='mailto:'\+String\.fromCharCode\(([^)]+)\)(?:\+'(.*)')?\)$/,
+ functionCallProtectedEmailLinkRegex = /^javascript:([^(]+)\(([^)]+)\)$/;
+
+ var popupRegex =
+ /\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/;
+ var popupFeaturesRegex = /(?:^|,)([^=]+)=(\d+|yes|no)/gi;
+
+ var parseLink = function( editor, element )
+ {
+ var href = ( element && ( element.getAttribute( '_cke_saved_href' ) || element.getAttribute( 'href' ) ) ) || '',
+ javascriptMatch,
+ emailMatch,
+ anchorMatch,
+ urlMatch,
+ retval = {};
+
+ if ( ( javascriptMatch = href.match( javascriptProtocolRegex ) ) )
+ {
+ if ( emailProtection == 'encode' )
+ {
+ href = href.replace( encodedEmailLinkRegex,
+ function ( match, protectedAddress, rest )
+ {
+ return 'mailto:' +
+ String.fromCharCode.apply( String, protectedAddress.split( ',' ) ) +
+ ( rest && unescapeSingleQuote( rest ) );
+ });
+ }
+ // Protected email link as function call.
+ else if ( emailProtection )
+ {
+ href.replace( functionCallProtectedEmailLinkRegex, function( match, funcName, funcArgs )
+ {
+ if ( funcName == compiledProtectionFunction.name )
+ {
+ retval.type = 'email';
+ var email = retval.email = {};
+
+ var paramRegex = /[^,\s]+/g,
+ paramQuoteRegex = /(^')|('$)/g,
+ paramsMatch = funcArgs.match( paramRegex ),
+ paramsMatchLength = paramsMatch.length,
+ paramName,
+ paramVal;
+
+ for ( var i = 0; i < paramsMatchLength; i++ )
+ {
+ paramVal = decodeURIComponent( unescapeSingleQuote( paramsMatch[ i ].replace( paramQuoteRegex, '' ) ) );
+ paramName = compiledProtectionFunction.params[ i ].toLowerCase();
+ email[ paramName ] = paramVal;
+ }
+ email.address = [ email.name, email.domain ].join( '@' );
+ }
+ } );
+ }
+ }
+
+ if ( !retval.type )
+ {
+ if ( ( anchorMatch = href.match( anchorRegex ) ) )
+ {
+ retval.type = 'anchor';
+ retval.anchor = {};
+ retval.anchor.name = retval.anchor.id = anchorMatch[1];
+ }
+ // Protected email link as encoded string.
+ else if ( ( emailMatch = href.match( emailRegex ) ) )
+ {
+ var subjectMatch = href.match( emailSubjectRegex ),
+ bodyMatch = href.match( emailBodyRegex );
+
+ retval.type = 'email';
+ var email = ( retval.email = {} );
+ email.address = emailMatch[ 1 ];
+ subjectMatch && ( email.subject = decodeURIComponent( subjectMatch[ 1 ] ) );
+ bodyMatch && ( email.body = decodeURIComponent( bodyMatch[ 1 ] ) );
+ }
+ // urlRegex matches empty strings, so need to check for href as well.
+ else if ( href && ( urlMatch = href.match( urlRegex ) ) )
+ {
+ retval.type = 'url';
+ retval.url = {};
+ retval.url.protocol = urlMatch[1];
+ retval.url.url = urlMatch[2];
+ }
+ else
+ retval.type = 'url';
+ }
+
+ // Load target and popup settings.
+ if ( element )
+ {
+ var target = element.getAttribute( 'target' );
+ retval.target = {};
+ retval.adv = {};
+
+ // IE BUG: target attribute is an empty string instead of null in IE if it's not set.
+ if ( !target )
+ {
+ var onclick = element.getAttribute( '_cke_pa_onclick' ) || element.getAttribute( 'onclick' ),
+ onclickMatch = onclick && onclick.match( popupRegex );
+ if ( onclickMatch )
+ {
+ retval.target.type = 'popup';
+ retval.target.name = onclickMatch[1];
+
+ var featureMatch;
+ while ( ( featureMatch = popupFeaturesRegex.exec( onclickMatch[2] ) ) )
+ {
+ if ( featureMatch[2] == 'yes' || featureMatch[2] == '1' )
+ retval.target[ featureMatch[1] ] = true;
+ else if ( isFinite( featureMatch[2] ) )
+ retval.target[ featureMatch[1] ] = featureMatch[2];
+ }
+ }
+ }
+ else
+ {
+ var targetMatch = target.match( selectableTargets );
+ if ( targetMatch )
+ retval.target.type = retval.target.name = target;
+ else
+ {
+ retval.target.type = 'frame';
+ retval.target.name = target;
+ }
+ }
+
+ var me = this;
+ var advAttr = function( inputName, attrName )
+ {
+ var value = element.getAttribute( attrName );
+ if ( value !== null )
+ retval.adv[ inputName ] = value || '';
+ };
+ advAttr( 'advId', 'id' );
+ advAttr( 'advLangDir', 'dir' );
+ advAttr( 'advAccessKey', 'accessKey' );
+ advAttr( 'advName', 'name' );
+ advAttr( 'advLangCode', 'lang' );
+ advAttr( 'advTabIndex', 'tabindex' );
+ advAttr( 'advTitle', 'title' );
+ advAttr( 'advContentType', 'type' );
+ advAttr( 'advCSSClasses', 'class' );
+ advAttr( 'advCharset', 'charset' );
+ advAttr( 'advStyles', 'style' );
+ }
+
+ // Find out whether we have any anchors in the editor.
+ // Get all IMG elements in CK document.
+ var elements = editor.document.getElementsByTag( 'img' ),
+ realAnchors = new CKEDITOR.dom.nodeList( editor.document.$.anchors ),
+ anchors = retval.anchors = [];
+
+ for ( var i = 0; i < elements.count() ; i++ )
+ {
+ var item = elements.getItem( i );
+ if ( item.getAttribute( '_cke_realelement' ) && item.getAttribute( '_cke_real_element_type' ) == 'anchor' )
+ {
+ anchors.push( editor.restoreRealElement( item ) );
+ }
+ }
+
+ for ( i = 0 ; i < realAnchors.count() ; i++ )
+ anchors.push( realAnchors.getItem( i ) );
+
+ for ( i = 0 ; i < anchors.length ; i++ )
+ {
+ item = anchors[ i ];
+ anchors[ i ] = { name : item.getAttribute( 'name' ), id : item.getAttribute( 'id' ) };
+ }
+
+ // Record down the selected element in the dialog.
+ this._.selectedElement = element;
+
+ return retval;
+ };
+
+ var setupParams = function( page, data )
+ {
+ if ( data[page] )
+ this.setValue( data[page][this.id] || '' );
+ };
+
+ var setupPopupParams = function( data )
+ {
+ return setupParams.call( this, 'target', data );
+ };
+
+ var setupAdvParams = function( data )
+ {
+ return setupParams.call( this, 'adv', data );
+ };
+
+ var commitParams = function( page, data )
+ {
+ if ( !data[page] )
+ data[page] = {};
+
+ data[page][this.id] = this.getValue() || '';
+ };
+
+ var commitPopupParams = function( data )
+ {
+ return commitParams.call( this, 'target', data );
+ };
+
+ var commitAdvParams = function( data )
+ {
+ return commitParams.call( this, 'adv', data );
+ };
+
+ function unescapeSingleQuote( str )
+ {
+ return str.replace( /\\'/g, '\'' );
+ }
+
+ function escapeSingleQuote( str )
+ {
+ return str.replace( /'/g, '\\$&' );
+ }
+
+ var emailProtection = editor.config.emailProtection || '';
+
+ // Compile the protection function pattern.
+ if ( emailProtection && emailProtection != 'encode' )
+ {
+ var compiledProtectionFunction = {};
+
+ emailProtection.replace( /^([^(]+)\(([^)]+)\)$/, function( match, funcName, params )
+ {
+ compiledProtectionFunction.name = funcName;
+ compiledProtectionFunction.params = [];
+ params.replace( /[^,\s]+/g, function( param )
+ {
+ compiledProtectionFunction.params.push( param );
+ } );
+ } );
+ }
+
+ function protectEmailLinkAsFunction( email )
+ {
+ var retval,
+ name = compiledProtectionFunction.name,
+ params = compiledProtectionFunction.params,
+ paramName,
+ paramValue;
+
+ retval = [ name, '(' ];
+ for ( var i = 0; i < params.length; i++ )
+ {
+ paramName = params[ i ].toLowerCase();
+ paramValue = email[ paramName ];
+
+ i > 0 && retval.push( ',' );
+ retval.push( '\'',
+ paramValue ?
+ escapeSingleQuote( encodeURIComponent( email[ paramName ] ) )
+ : '',
+ '\'');
+ }
+ retval.push( ')' );
+ return retval.join( '' );
+ }
+
+ function protectEmailAddressAsEncodedString( address )
+ {
+ var charCode,
+ length = address.length,
+ encodedChars = [];
+ for ( var i = 0; i < length; i++ )
+ {
+ charCode = address.charCodeAt( i );
+ encodedChars.push( charCode );
+ }
+ return 'String.fromCharCode(' + encodedChars.join( ',' ) + ')';
+ }
+
+ return {
+ title : editor.lang.link.title,
+ minWidth : 350,
+ minHeight : 230,
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.link.info,
+ title : editor.lang.link.info,
+ elements :
+ [
+ {
+ id : 'linkType',
+ type : 'select',
+ label : editor.lang.link.type,
+ 'default' : 'url',
+ items :
+ [
+ [ editor.lang.link.toUrl, 'url' ],
+ [ editor.lang.link.toAnchor, 'anchor' ],
+ [ editor.lang.link.toEmail, 'email' ]
+ ],
+ onChange : linkTypeChanged,
+ setup : function( data )
+ {
+ if ( data.type )
+ this.setValue( data.type );
+ },
+ commit : function( data )
+ {
+ data.type = this.getValue();
+ }
+ },
+ {
+ type : 'vbox',
+ id : 'urlOptions',
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '25%', '75%' ],
+ children :
+ [
+ {
+ id : 'protocol',
+ type : 'select',
+ label : editor.lang.common.protocol,
+ 'default' : 'http://',
+ items :
+ [
+ // Force 'ltr' for protocol names in BIDI. (#5433)
+ [ 'http://\u200E', 'http://' ],
+ [ 'https://\u200E', 'https://' ],
+ [ 'ftp://\u200E', 'ftp://' ],
+ [ 'news://\u200E', 'news://' ],
+ [ editor.lang.link.other , '' ]
+ ],
+ setup : function( data )
+ {
+ if ( data.url )
+ this.setValue( data.url.protocol || '' );
+ },
+ commit : function( data )
+ {
+ if ( !data.url )
+ data.url = {};
+
+ data.url.protocol = this.getValue();
+ }
+ },
+ {
+ type : 'text',
+ id : 'url',
+ label : editor.lang.common.url,
+ required: true,
+ onLoad : function ()
+ {
+ this.allowOnChange = true;
+ },
+ onKeyUp : function()
+ {
+ this.allowOnChange = false;
+ var protocolCmb = this.getDialog().getContentElement( 'info', 'protocol' ),
+ url = this.getValue(),
+ urlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/gi,
+ urlOnChangeTestOther = /^((javascript:)|[#\/\.\?])/gi;
+
+ var protocol = urlOnChangeProtocol.exec( url );
+ if ( protocol )
+ {
+ this.setValue( url.substr( protocol[ 0 ].length ) );
+ protocolCmb.setValue( protocol[ 0 ].toLowerCase() );
+ }
+ else if ( urlOnChangeTestOther.test( url ) )
+ protocolCmb.setValue( '' );
+
+ this.allowOnChange = true;
+ },
+ onChange : function()
+ {
+ if ( this.allowOnChange ) // Dont't call on dialog load.
+ this.onKeyUp();
+ },
+ validate : function()
+ {
+ var dialog = this.getDialog();
+
+ if ( dialog.getContentElement( 'info', 'linkType' ) &&
+ dialog.getValueOf( 'info', 'linkType' ) != 'url' )
+ return true;
+
+ if ( this.getDialog().fakeObj ) // Edit Anchor.
+ return true;
+
+ var func = CKEDITOR.dialog.validate.notEmpty( editor.lang.link.noUrl );
+ return func.apply( this );
+ },
+ setup : function( data )
+ {
+ this.allowOnChange = false;
+ if ( data.url )
+ this.setValue( data.url.url );
+ this.allowOnChange = true;
+
+ },
+ commit : function( data )
+ {
+ // IE will not trigger the onChange event if the mouse has been used
+ // to carry all the operations #4724
+ this.onChange();
+
+ if ( !data.url )
+ data.url = {};
+
+ data.url.url = this.getValue();
+ this.allowOnChange = false;
+ }
+ }
+ ],
+ setup : function( data )
+ {
+ if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
+ this.getElement().show();
+ }
+ },
+ {
+ type : 'button',
+ id : 'browse',
+ hidden : 'true',
+ filebrowser : 'info:url',
+ label : editor.lang.common.browseServer
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ id : 'anchorOptions',
+ width : 260,
+ align : 'center',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'fieldset',
+ id : 'selectAnchorText',
+ label : editor.lang.link.selectAnchor,
+ setup : function( data )
+ {
+ if ( data.anchors.length > 0 )
+ this.getElement().show();
+ else
+ this.getElement().hide();
+ },
+ children :
+ [
+ {
+ type : 'hbox',
+ id : 'selectAnchor',
+ children :
+ [
+ {
+ type : 'select',
+ id : 'anchorName',
+ 'default' : '',
+ label : editor.lang.link.anchorName,
+ style : 'width: 100%;',
+ items :
+ [
+ [ '' ]
+ ],
+ setup : function( data )
+ {
+ this.clear();
+ this.add( '' );
+ for ( var i = 0 ; i < data.anchors.length ; i++ )
+ {
+ if ( data.anchors[i].name )
+ this.add( data.anchors[i].name );
+ }
+
+ if ( data.anchor )
+ this.setValue( data.anchor.name );
+
+ var linkType = this.getDialog().getContentElement( 'info', 'linkType' );
+ if ( linkType && linkType.getValue() == 'email' )
+ this.focus();
+ },
+ commit : function( data )
+ {
+ if ( !data.anchor )
+ data.anchor = {};
+
+ data.anchor.name = this.getValue();
+ }
+ },
+ {
+ type : 'select',
+ id : 'anchorId',
+ 'default' : '',
+ label : editor.lang.link.anchorId,
+ style : 'width: 100%;',
+ items :
+ [
+ [ '' ]
+ ],
+ setup : function( data )
+ {
+ this.clear();
+ this.add( '' );
+ for ( var i = 0 ; i < data.anchors.length ; i++ )
+ {
+ if ( data.anchors[i].id )
+ this.add( data.anchors[i].id );
+ }
+
+ if ( data.anchor )
+ this.setValue( data.anchor.id );
+ },
+ commit : function( data )
+ {
+ if ( !data.anchor )
+ data.anchor = {};
+
+ data.anchor.id = this.getValue();
+ }
+ }
+ ],
+ setup : function( data )
+ {
+ if ( data.anchors.length > 0 )
+ this.getElement().show();
+ else
+ this.getElement().hide();
+ }
+ }
+ ]
+ },
+ {
+ type : 'html',
+ id : 'noAnchors',
+ style : 'text-align: center;',
+ html : '<div role="label" tabIndex="-1">' + CKEDITOR.tools.htmlEncode( editor.lang.link.noAnchors ) + '</div>',
+ // Focus the first element defined in above html.
+ focus : true,
+ setup : function( data )
+ {
+ if ( data.anchors.length < 1 )
+ this.getElement().show();
+ else
+ this.getElement().hide();
+ }
+ }
+ ],
+ setup : function( data )
+ {
+ if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
+ this.getElement().hide();
+ }
+ },
+ {
+ type : 'vbox',
+ id : 'emailOptions',
+ padding : 1,
+ children :
+ [
+ {
+ type : 'text',
+ id : 'emailAddress',
+ label : editor.lang.link.emailAddress,
+ required : true,
+ validate : function()
+ {
+ var dialog = this.getDialog();
+
+ if ( !dialog.getContentElement( 'info', 'linkType' ) ||
+ dialog.getValueOf( 'info', 'linkType' ) != 'email' )
+ return true;
+
+ var func = CKEDITOR.dialog.validate.notEmpty( editor.lang.link.noEmail );
+ return func.apply( this );
+ },
+ setup : function( data )
+ {
+ if ( data.email )
+ this.setValue( data.email.address );
+
+ var linkType = this.getDialog().getContentElement( 'info', 'linkType' );
+ if ( linkType && linkType.getValue() == 'email' )
+ this.select();
+ },
+ commit : function( data )
+ {
+ if ( !data.email )
+ data.email = {};
+
+ data.email.address = this.getValue();
+ }
+ },
+ {
+ type : 'text',
+ id : 'emailSubject',
+ label : editor.lang.link.emailSubject,
+ setup : function( data )
+ {
+ if ( data.email )
+ this.setValue( data.email.subject );
+ },
+ commit : function( data )
+ {
+ if ( !data.email )
+ data.email = {};
+
+ data.email.subject = this.getValue();
+ }
+ },
+ {
+ type : 'textarea',
+ id : 'emailBody',
+ label : editor.lang.link.emailBody,
+ rows : 3,
+ 'default' : '',
+ setup : function( data )
+ {
+ if ( data.email )
+ this.setValue( data.email.body );
+ },
+ commit : function( data )
+ {
+ if ( !data.email )
+ data.email = {};
+
+ data.email.body = this.getValue();
+ }
+ }
+ ],
+ setup : function( data )
+ {
+ if ( !this.getDialog().getContentElement( 'info', 'linkType' ) )
+ this.getElement().hide();
+ }
+ }
+ ]
+ },
+ {
+ id : 'target',
+ label : editor.lang.link.target,
+ title : editor.lang.link.target,
+ elements :
+ [
+ {
+ type : 'hbox',
+ widths : [ '50%', '50%' ],
+ children :
+ [
+ {
+ type : 'select',
+ id : 'linkTargetType',
+ label : editor.lang.common.target,
+ 'default' : 'notSet',
+ style : 'width : 100%;',
+ 'items' :
+ [
+ [ editor.lang.common.notSet, 'notSet' ],
+ [ editor.lang.link.targetFrame, 'frame' ],
+ [ editor.lang.link.targetPopup, 'popup' ],
+ [ editor.lang.common.targetNew, '_blank' ],
+ [ editor.lang.common.targetTop, '_top' ],
+ [ editor.lang.common.targetSelf, '_self' ],
+ [ editor.lang.common.targetParent, '_parent' ]
+ ],
+ onChange : targetChanged,
+ setup : function( data )
+ {
+ if ( data.target )
+ this.setValue( data.target.type );
+ targetChanged.call( this );
+ },
+ commit : function( data )
+ {
+ if ( !data.target )
+ data.target = {};
+
+ data.target.type = this.getValue();
+ }
+ },
+ {
+ type : 'text',
+ id : 'linkTargetName',
+ label : editor.lang.link.targetFrameName,
+ 'default' : '',
+ setup : function( data )
+ {
+ if ( data.target )
+ this.setValue( data.target.name );
+ },
+ commit : function( data )
+ {
+ if ( !data.target )
+ data.target = {};
+
+ data.target.name = this.getValue().replace(/\W/gi, '');
+ }
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ width : 260,
+ align : 'center',
+ padding : 2,
+ id : 'popupFeatures',
+ children :
+ [
+ {
+ type : 'fieldset',
+ label : editor.lang.link.popupFeatures,
+ children :
+ [
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ type : 'checkbox',
+ id : 'resizable',
+ label : editor.lang.link.popupResizable,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+ },
+ {
+ type : 'checkbox',
+ id : 'status',
+ label : editor.lang.link.popupStatusBar,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ type : 'checkbox',
+ id : 'location',
+ label : editor.lang.link.popupLocationBar,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ },
+ {
+ type : 'checkbox',
+ id : 'toolbar',
+ label : editor.lang.link.popupToolbar,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ type : 'checkbox',
+ id : 'menubar',
+ label : editor.lang.link.popupMenuBar,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ },
+ {
+ type : 'checkbox',
+ id : 'fullscreen',
+ label : editor.lang.link.popupFullScreen,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ type : 'checkbox',
+ id : 'scrollbars',
+ label : editor.lang.link.popupScrollBars,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ },
+ {
+ type : 'checkbox',
+ id : 'dependent',
+ label : editor.lang.link.popupDependent,
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ type : 'text',
+ widths : [ '30%', '70%' ],
+ labelLayout : 'horizontal',
+ label : editor.lang.link.popupWidth,
+ id : 'width',
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ },
+ {
+ type : 'text',
+ labelLayout : 'horizontal',
+ widths : [ '55%', '45%' ],
+ label : editor.lang.link.popupLeft,
+ id : 'left',
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ type : 'text',
+ labelLayout : 'horizontal',
+ widths : [ '30%', '70%' ],
+ label : editor.lang.link.popupHeight,
+ id : 'height',
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ },
+ {
+ type : 'text',
+ labelLayout : 'horizontal',
+ label : editor.lang.link.popupTop,
+ widths : [ '55%', '45%' ],
+ id : 'top',
+ setup : setupPopupParams,
+ commit : commitPopupParams
+
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ id : 'upload',
+ label : editor.lang.link.upload,
+ title : editor.lang.link.upload,
+ hidden : true,
+ filebrowser : 'uploadButton',
+ elements :
+ [
+ {
+ type : 'file',
+ id : 'upload',
+ label : editor.lang.common.upload,
+ style: 'height:40px',
+ size : 29
+ },
+ {
+ type : 'fileButton',
+ id : 'uploadButton',
+ label : editor.lang.common.uploadSubmit,
+ filebrowser : 'info:url',
+ 'for' : [ 'upload', 'upload' ]
+ }
+ ]
+ },
+ {
+ id : 'advanced',
+ label : editor.lang.link.advanced,
+ title : editor.lang.link.advanced,
+ elements :
+ [
+ {
+ type : 'vbox',
+ padding : 1,
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '45%', '35%', '20%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'advId',
+ label : editor.lang.link.id,
+ setup : setupAdvParams,
+ commit : commitAdvParams
+ },
+ {
+ type : 'select',
+ id : 'advLangDir',
+ label : editor.lang.link.langDir,
+ 'default' : '',
+ style : 'width:110px',
+ items :
+ [
+ [ editor.lang.common.notSet, '' ],
+ [ editor.lang.link.langDirLTR, 'ltr' ],
+ [ editor.lang.link.langDirRTL, 'rtl' ]
+ ],
+ setup : setupAdvParams,
+ commit : commitAdvParams
+ },
+ {
+ type : 'text',
+ id : 'advAccessKey',
+ width : '80px',
+ label : editor.lang.link.acccessKey,
+ maxLength : 1,
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '45%', '35%', '20%' ],
+ children :
+ [
+ {
+ type : 'text',
+ label : editor.lang.link.name,
+ id : 'advName',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ },
+ {
+ type : 'text',
+ label : editor.lang.link.langCode,
+ id : 'advLangCode',
+ width : '110px',
+ 'default' : '',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ },
+ {
+ type : 'text',
+ label : editor.lang.link.tabIndex,
+ id : 'advTabIndex',
+ width : '80px',
+ maxLength : 5,
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ }
+ ]
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ padding : 1,
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '45%', '55%' ],
+ children :
+ [
+ {
+ type : 'text',
+ label : editor.lang.link.advisoryTitle,
+ 'default' : '',
+ id : 'advTitle',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ },
+ {
+ type : 'text',
+ label : editor.lang.link.advisoryContentType,
+ 'default' : '',
+ id : 'advContentType',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '45%', '55%' ],
+ children :
+ [
+ {
+ type : 'text',
+ label : editor.lang.link.cssClasses,
+ 'default' : '',
+ id : 'advCSSClasses',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ },
+ {
+ type : 'text',
+ label : editor.lang.link.charset,
+ 'default' : '',
+ id : 'advCharset',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ type : 'text',
+ label : editor.lang.link.styles,
+ 'default' : '',
+ id : 'advStyles',
+ setup : setupAdvParams,
+ commit : commitAdvParams
+
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ onShow : function()
+ {
+ this.fakeObj = false;
+
+ var editor = this.getParentEditor(),
+ selection = editor.getSelection(),
+ element = null;
+
+ // Fill in all the relevant fields if there's already one link selected.
+ if ( ( element = plugin.getSelectedLink( editor ) ) && element.hasAttribute( 'href' ) )
+ selection.selectElement( element );
+ else if ( ( element = selection.getSelectedElement() ) && element.is( 'img' )
+ && element.getAttribute( '_cke_real_element_type' )
+ && element.getAttribute( '_cke_real_element_type' ) == 'anchor' )
+ {
+ this.fakeObj = element;
+ element = editor.restoreRealElement( this.fakeObj );
+ selection.selectElement( this.fakeObj );
+ }
+ else
+ element = null;
+
+ this.setupContent( parseLink.apply( this, [ editor, element ] ) );
+ },
+ onOk : function()
+ {
+ var attributes = { href : 'javascript:void(0)/*' + CKEDITOR.tools.getNextNumber() + '*/' },
+ removeAttributes = [],
+ data = { href : attributes.href },
+ me = this,
+ editor = this.getParentEditor();
+
+ this.commitContent( data );
+
+ // Compose the URL.
+ switch ( data.type || 'url' )
+ {
+ case 'url':
+ var protocol = ( data.url && data.url.protocol != undefined ) ? data.url.protocol : 'http://',
+ url = ( data.url && data.url.url ) || '';
+ attributes._cke_saved_href = ( url.indexOf( '/' ) === 0 ) ? url : protocol + url;
+ break;
+ case 'anchor':
+ var name = ( data.anchor && data.anchor.name ),
+ id = ( data.anchor && data.anchor.id );
+ attributes._cke_saved_href = '#' + ( name || id || '' );
+ break;
+ case 'email':
+
+ var linkHref,
+ email = data.email,
+ address = email.address;
+
+ switch( emailProtection )
+ {
+ case '' :
+ case 'encode' :
+ {
+ var subject = encodeURIComponent( email.subject || '' ),
+ body = encodeURIComponent( email.body || '' );
+
+ // Build the e-mail parameters first.
+ var argList = [];
+ subject && argList.push( 'subject=' + subject );
+ body && argList.push( 'body=' + body );
+ argList = argList.length ? '?' + argList.join( '&' ) : '';
+
+ if ( emailProtection == 'encode' )
+ {
+ linkHref = [ 'javascript:void(location.href=\'mailto:\'+',
+ protectEmailAddressAsEncodedString( address ) ];
+ // parameters are optional.
+ argList && linkHref.push( '+\'', escapeSingleQuote( argList ), '\'' );
+
+ linkHref.push( ')' );
+ }
+ else
+ linkHref = [ 'mailto:', address, argList ];
+
+ break;
+ }
+ default :
+ {
+ // Separating name and domain.
+ var nameAndDomain = address.split( '@', 2 );
+ email.name = nameAndDomain[ 0 ];
+ email.domain = nameAndDomain[ 1 ];
+
+ linkHref = [ 'javascript:', protectEmailLinkAsFunction( email ) ];
+ }
+ }
+
+ attributes._cke_saved_href = linkHref.join( '' );
+ break;
+ }
+
+ // Popups and target.
+ if ( data.target )
+ {
+ if ( data.target.type == 'popup' )
+ {
+ var onclickList = [ 'window.open(this.href, \'',
+ data.target.name || '', '\', \'' ];
+ var featureList = [ 'resizable', 'status', 'location', 'toolbar', 'menubar', 'fullscreen',
+ 'scrollbars', 'dependent' ];
+ var featureLength = featureList.length;
+ var addFeature = function( featureName )
+ {
+ if ( data.target[ featureName ] )
+ featureList.push( featureName + '=' + data.target[ featureName ] );
+ };
+
+ for ( var i = 0 ; i < featureLength ; i++ )
+ featureList[i] = featureList[i] + ( data.target[ featureList[i] ] ? '=yes' : '=no' ) ;
+ addFeature( 'width' );
+ addFeature( 'left' );
+ addFeature( 'height' );
+ addFeature( 'top' );
+
+ onclickList.push( featureList.join( ',' ), '\'); return false;' );
+ attributes[ '_cke_pa_onclick' ] = onclickList.join( '' );
+ }
+ else
+ {
+ if ( data.target.type != 'notSet' && data.target.name )
+ attributes.target = data.target.name;
+ else
+ removeAttributes.push( 'target' );
+
+ removeAttributes.push( '_cke_pa_onclick', 'onclick' );
+ }
+ }
+
+ // Advanced attributes.
+ if ( data.adv )
+ {
+ var advAttr = function( inputName, attrName )
+ {
+ var value = data.adv[ inputName ];
+ if ( value )
+ attributes[attrName] = value;
+ else
+ removeAttributes.push( attrName );
+ };
+
+ if ( this._.selectedElement )
+ advAttr( 'advId', 'id' );
+ advAttr( 'advLangDir', 'dir' );
+ advAttr( 'advAccessKey', 'accessKey' );
+ advAttr( 'advName', 'name' );
+ advAttr( 'advLangCode', 'lang' );
+ advAttr( 'advTabIndex', 'tabindex' );
+ advAttr( 'advTitle', 'title' );
+ advAttr( 'advContentType', 'type' );
+ advAttr( 'advCSSClasses', 'class' );
+ advAttr( 'advCharset', 'charset' );
+ advAttr( 'advStyles', 'style' );
+ }
+
+ if ( !this._.selectedElement )
+ {
+ // Create element if current selection is collapsed.
+ var selection = editor.getSelection(),
+ ranges = selection.getRanges( true );
+ if ( ranges.length == 1 && ranges[0].collapsed )
+ {
+ // Short mailto link text view (#5736).
+ var text = new CKEDITOR.dom.text( data.type == 'email' ?
+ data.email.address : attributes._cke_saved_href, editor.document );
+ ranges[0].insertNode( text );
+ ranges[0].selectNodeContents( text );
+ selection.selectRanges( ranges );
+ }
+
+ // Apply style.
+ var style = new CKEDITOR.style( { element : 'a', attributes : attributes } );
+ style.type = CKEDITOR.STYLE_INLINE; // need to override... dunno why.
+ style.apply( editor.document );
+
+ // Id. Apply only to the first link.
+ if ( data.adv && data.adv.advId )
+ {
+ var links = this.getParentEditor().document.$.getElementsByTagName( 'a' );
+ for ( i = 0 ; i < links.length ; i++ )
+ {
+ if ( links[i].href == attributes.href )
+ {
+ links[i].id = data.adv.advId;
+ break;
+ }
+ }
+ }
+ }
+ else
+ {
+ // We're only editing an existing link, so just overwrite the attributes.
+ var element = this._.selectedElement,
+ href = element.getAttribute( '_cke_saved_href' ),
+ textView = element.getHtml();
+
+ // IE BUG: Setting the name attribute to an existing link doesn't work.
+ // Must re-create the link from weired syntax to workaround.
+ if ( CKEDITOR.env.ie && attributes.name != element.getAttribute( 'name' ) )
+ {
+ var newElement = new CKEDITOR.dom.element( '<a name="' + CKEDITOR.tools.htmlEncode( attributes.name ) + '">',
+ editor.document );
+
+ selection = editor.getSelection();
+
+ element.moveChildren( newElement );
+ element.copyAttributes( newElement, { name : 1 } );
+ newElement.replace( element );
+ element = newElement;
+
+ selection.selectElement( element );
+ }
+
+ element.setAttributes( attributes );
+ element.removeAttributes( removeAttributes );
+ // Update text view when user changes protocol (#4612).
+ if ( href == textView || data.type == 'email' && textView.indexOf( '@' ) != -1 )
+ {
+ // Short mailto link text view (#5736).
+ element.setHtml( data.type == 'email' ?
+ data.email.address : attributes._cke_saved_href );
+ }
+ // Make the element display as an anchor if a name has been set.
+ if ( element.getAttribute( 'name' ) )
+ element.addClass( 'cke_anchor' );
+ else
+ element.removeClass( 'cke_anchor' );
+
+ if ( this.fakeObj )
+ editor.createFakeElement( element, 'cke_anchor', 'anchor' ).replace( this.fakeObj );
+
+ delete this._.selectedElement;
+ }
+ },
+ onLoad : function()
+ {
+ if ( !editor.config.linkShowAdvancedTab )
+ this.hidePage( 'advanced' ); //Hide Advanded tab.
+
+ if ( !editor.config.linkShowTargetTab )
+ this.hidePage( 'target' ); //Hide Target tab.
+
+ },
+ // Inital focus on 'url' field if link is of type URL.
+ onFocus : function()
+ {
+ var linkType = this.getContentElement( 'info', 'linkType' ),
+ urlField;
+ if ( linkType && linkType.getValue( ) == 'url' )
+ {
+ urlField = this.getContentElement( 'info', 'url' );
+ urlField.select();
+ }
+ }
+ };
+});
+
+/**
+ * The e-mail address anti-spam protection option. The protection will be
+ * applied when creating or modifying e-mail links through the editor interface.<br>
+ * Two methods of protection can be choosed:
+ * <ol> <li>The e-mail parts (name, domain and any other query string) are
+ * assembled into a function call pattern. Such function must be
+ * provided by the developer in the pages that will use the contents.
+ * <li>Only the e-mail address is obfuscated into a special string that
+ * has no meaning for humans or spam bots, but which is properly
+ * rendered and accepted by the browser.</li></ol>
+ * Both approaches require JavaScript to be enabled.
+ * @name CKEDITOR.config.emailProtection
+ * @since 3.1
+ * @type String
+ * @default '' (empty string = disabled)
+ * @example
+ * // href="mailto:tester at ckeditor.com?subject=subject&body=body"
+ * config.emailProtection = '';
+ * @example
+ * // href="<a href=\"javascript:void(location.href=\'mailto:\'+String.fromCharCode(116,101,115,116,101,114,64,99,107,101,100,105,116,111,114,46,99,111,109)+\'?subject=subject&body=body\')\">e-mail</a>"
+ * config.emailProtection = 'encode';
+ * @example
+ * // href="javascript:mt('tester','ckeditor.com','subject','body')"
+ * config.emailProtection = 'mt(NAME,DOMAIN,SUBJECT,BODY)';
+ */
diff --git a/devel/third-party/ckeditor/plugins/link/plugin.js b/devel/third-party/ckeditor/plugins/link/plugin.js
new file mode 100644
index 0000000..3cdc6fb
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/link/plugin.js
@@ -0,0 +1,238 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'link',
+{
+ init : function( editor )
+ {
+ // Add the link and unlink buttons.
+ editor.addCommand( 'link', new CKEDITOR.dialogCommand( 'link' ) );
+ editor.addCommand( 'anchor', new CKEDITOR.dialogCommand( 'anchor' ) );
+ editor.addCommand( 'unlink', new CKEDITOR.unlinkCommand() );
+ editor.ui.addButton( 'Link',
+ {
+ label : editor.lang.link.toolbar,
+ command : 'link'
+ } );
+ editor.ui.addButton( 'Unlink',
+ {
+ label : editor.lang.unlink,
+ command : 'unlink'
+ } );
+ editor.ui.addButton( 'Anchor',
+ {
+ label : editor.lang.anchor.toolbar,
+ command : 'anchor'
+ } );
+ CKEDITOR.dialog.add( 'link', this.path + 'dialogs/link.js' );
+ CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' );
+
+ // Add the CSS styles for anchor placeholders.
+ editor.addCss(
+ 'img.cke_anchor' +
+ '{' +
+ 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' +
+ 'background-position: center center;' +
+ 'background-repeat: no-repeat;' +
+ 'border: 1px solid #a9a9a9;' +
+ 'width: 18px !important;' +
+ 'height: 18px !important;' +
+ '}\n' +
+ 'a.cke_anchor' +
+ '{' +
+ 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' +
+ 'background-position: 0 center;' +
+ 'background-repeat: no-repeat;' +
+ 'border: 1px solid #a9a9a9;' +
+ 'padding-left: 18px;' +
+ '}'
+ );
+
+ // Register selection change handler for the unlink button.
+ editor.on( 'selectionChange', function( evt )
+ {
+ /*
+ * Despite our initial hope, document.queryCommandEnabled() does not work
+ * for this in Firefox. So we must detect the state by element paths.
+ */
+ var command = editor.getCommand( 'unlink' ),
+ element = evt.data.path.lastElement && evt.data.path.lastElement.getAscendant( 'a', true );
+ if ( element && element.getName() == 'a' && element.getAttribute( 'href' ) )
+ command.setState( CKEDITOR.TRISTATE_OFF );
+ else
+ command.setState( CKEDITOR.TRISTATE_DISABLED );
+ } );
+
+ editor.on( 'doubleclick', function( evt )
+ {
+ var element = CKEDITOR.plugins.link.getSelectedLink( editor ) || evt.data.element;
+
+ if ( element.is( 'a' ) )
+ evt.data.dialog = ( element.getAttribute( 'name' ) && !element.getAttribute( 'href' ) ) ? 'anchor' : 'link';
+ else if ( element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'anchor' )
+ evt.data.dialog = 'anchor';
+ });
+
+ // If the "menu" plugin is loaded, register the menu items.
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItems(
+ {
+ anchor :
+ {
+ label : editor.lang.anchor.menu,
+ command : 'anchor',
+ group : 'anchor'
+ },
+
+ link :
+ {
+ label : editor.lang.link.menu,
+ command : 'link',
+ group : 'link',
+ order : 1
+ },
+
+ unlink :
+ {
+ label : editor.lang.unlink,
+ command : 'unlink',
+ group : 'link',
+ order : 5
+ }
+ });
+ }
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( !element || element.isReadOnly() )
+ return null;
+
+ var isAnchor = ( element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'anchor' );
+
+ if ( !isAnchor )
+ {
+ if ( !( element = CKEDITOR.plugins.link.getSelectedLink( editor ) ) )
+ return null;
+
+ isAnchor = ( element.getAttribute( 'name' ) && !element.getAttribute( 'href' ) );
+ }
+
+ return isAnchor ?
+ { anchor : CKEDITOR.TRISTATE_OFF } :
+ { link : CKEDITOR.TRISTATE_OFF, unlink : CKEDITOR.TRISTATE_OFF };
+ });
+ }
+ },
+
+ afterInit : function( editor )
+ {
+ // Register a filter to displaying placeholders after mode change.
+
+ var dataProcessor = editor.dataProcessor,
+ dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+ if ( dataFilter )
+ {
+ dataFilter.addRules(
+ {
+ elements :
+ {
+ a : function( element )
+ {
+ var attributes = element.attributes;
+ if ( attributes.name && !attributes.href )
+ return editor.createFakeParserElement( element, 'cke_anchor', 'anchor' );
+ }
+ }
+ });
+ }
+ },
+
+ requires : [ 'fakeobjects' ]
+} );
+
+CKEDITOR.plugins.link =
+{
+ /**
+ * Get the surrounding link element of current selection.
+ * @param editor
+ * @example CKEDITOR.plugins.link.getSelectedLink( editor );
+ * @since 3.2.1
+ * The following selection will all return the link element.
+ * <pre>
+ * <a href="#">li^nk</a>
+ * <a href="#">[link]</a>
+ * text[<a href="#">link]</a>
+ * <a href="#">li[nk</a>]
+ * [<b><a href="#">li]nk</a></b>]
+ * [<a href="#"><b>li]nk</b></a>
+ * </pre>
+ */
+ getSelectedLink : function( editor )
+ {
+ try
+ {
+ var selection = editor.getSelection();
+ if ( selection.getType() == CKEDITOR.SELECTION_ELEMENT )
+ {
+ var selectedElement = selection.getSelectedElement();
+ if ( selectedElement.is( 'a' ) )
+ return selectedElement;
+ }
+
+ var range = selection.getRanges( true )[ 0 ];
+ range.shrink( CKEDITOR.SHRINK_TEXT );
+ var root = range.getCommonAncestor();
+ return root.getAscendant( 'a', true );
+ }
+ catch( e ) { return null; }
+ }
+};
+
+CKEDITOR.unlinkCommand = function(){};
+CKEDITOR.unlinkCommand.prototype =
+{
+ /** @ignore */
+ exec : function( editor )
+ {
+ /*
+ * execCommand( 'unlink', ... ) in Firefox leaves behind <span> tags at where
+ * the <a> was, so again we have to remove the link ourselves. (See #430)
+ *
+ * TODO: Use the style system when it's complete. Let's use execCommand()
+ * as a stopgap solution for now.
+ */
+ var selection = editor.getSelection(),
+ bookmarks = selection.createBookmarks(),
+ ranges = selection.getRanges(),
+ rangeRoot,
+ element;
+
+ for ( var i = 0 ; i < ranges.length ; i++ )
+ {
+ rangeRoot = ranges[i].getCommonAncestor( true );
+ element = rangeRoot.getAscendant( 'a', true );
+ if ( !element )
+ continue;
+ ranges[i].selectNodeContents( element );
+ }
+
+ selection.selectRanges( ranges );
+ editor.document.$.execCommand( 'unlink', false, null );
+ selection.selectBookmarks( bookmarks );
+ },
+
+ startDisabled : true
+};
+
+CKEDITOR.tools.extend( CKEDITOR.config,
+{
+ linkShowAdvancedTab : true,
+ linkShowTargetTab : true
+} );
diff --git a/devel/third-party/ckeditor/plugins/list/plugin.js b/devel/third-party/ckeditor/plugins/list/plugin.js
new file mode 100644
index 0000000..b0d5e8c
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/list/plugin.js
@@ -0,0 +1,683 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Insert and remove numbered and bulleted lists.
+ */
+
+(function()
+{
+ var listNodeNames = { ol : 1, ul : 1 },
+ emptyTextRegex = /^[\n\r\t ]*$/;
+
+ CKEDITOR.plugins.list = {
+ /*
+ * Convert a DOM list tree into a data structure that is easier to
+ * manipulate. This operation should be non-intrusive in the sense that it
+ * does not change the DOM tree, with the exception that it may add some
+ * markers to the list item nodes when database is specified.
+ */
+ listToArray : function( listNode, database, baseArray, baseIndentLevel, grandparentNode )
+ {
+ if ( !listNodeNames[ listNode.getName() ] )
+ return [];
+
+ if ( !baseIndentLevel )
+ baseIndentLevel = 0;
+ if ( !baseArray )
+ baseArray = [];
+
+ // Iterate over all list items to and look for inner lists.
+ for ( var i = 0, count = listNode.getChildCount() ; i < count ; i++ )
+ {
+ var listItem = listNode.getChild( i );
+
+ // It may be a text node or some funny stuff.
+ if ( listItem.$.nodeName.toLowerCase() != 'li' )
+ continue;
+
+ var itemObj = { 'parent' : listNode, indent : baseIndentLevel, element : listItem, contents : [] };
+ if ( !grandparentNode )
+ {
+ itemObj.grandparent = listNode.getParent();
+ if ( itemObj.grandparent && itemObj.grandparent.$.nodeName.toLowerCase() == 'li' )
+ itemObj.grandparent = itemObj.grandparent.getParent();
+ }
+ else
+ itemObj.grandparent = grandparentNode;
+
+ if ( database )
+ CKEDITOR.dom.element.setMarker( database, listItem, 'listarray_index', baseArray.length );
+ baseArray.push( itemObj );
+
+ for ( var j = 0, itemChildCount = listItem.getChildCount(), child; j < itemChildCount ; j++ )
+ {
+ child = listItem.getChild( j );
+ if ( child.type == CKEDITOR.NODE_ELEMENT && listNodeNames[ child.getName() ] )
+ // Note the recursion here, it pushes inner list items with
+ // +1 indentation in the correct order.
+ CKEDITOR.plugins.list.listToArray( child, database, baseArray, baseIndentLevel + 1, itemObj.grandparent );
+ else
+ itemObj.contents.push( child );
+ }
+ }
+ return baseArray;
+ },
+
+ // Convert our internal representation of a list back to a DOM forest.
+ arrayToList : function( listArray, database, baseIndex, paragraphMode, dir )
+ {
+ if ( !baseIndex )
+ baseIndex = 0;
+ if ( !listArray || listArray.length < baseIndex + 1 )
+ return null;
+ var doc = listArray[ baseIndex ].parent.getDocument(),
+ retval = new CKEDITOR.dom.documentFragment( doc ),
+ rootNode = null,
+ currentIndex = baseIndex,
+ indentLevel = Math.max( listArray[ baseIndex ].indent, 0 ),
+ currentListItem = null,
+ paragraphName = ( paragraphMode == CKEDITOR.ENTER_P ? 'p' : 'div' );
+ while ( true )
+ {
+ var item = listArray[ currentIndex ];
+ if ( item.indent == indentLevel )
+ {
+ if ( !rootNode || listArray[ currentIndex ].parent.getName() != rootNode.getName() )
+ {
+ rootNode = listArray[ currentIndex ].parent.clone( false, true );
+ retval.append( rootNode );
+ }
+ currentListItem = rootNode.append( item.element.clone( false, true ) );
+ for ( var i = 0 ; i < item.contents.length ; i++ )
+ currentListItem.append( item.contents[i].clone( true, true ) );
+ currentIndex++;
+ }
+ else if ( item.indent == Math.max( indentLevel, 0 ) + 1 )
+ {
+ var listData = CKEDITOR.plugins.list.arrayToList( listArray, null, currentIndex, paragraphMode );
+ currentListItem.append( listData.listNode );
+ currentIndex = listData.nextIndex;
+ }
+ else if ( item.indent == -1 && !baseIndex && item.grandparent )
+ {
+ currentListItem;
+ if ( listNodeNames[ item.grandparent.getName() ] )
+ currentListItem = item.element.clone( false, true );
+ else
+ {
+ // Create completely new blocks here, attributes are dropped.
+ if ( dir || ( paragraphMode != CKEDITOR.ENTER_BR && item.grandparent.getName() != 'td' ) )
+ {
+ currentListItem = doc.createElement( paragraphName );
+ if ( dir )
+ currentListItem.setAttribute( 'dir', dir );
+ }
+ else
+ currentListItem = new CKEDITOR.dom.documentFragment( doc );
+ }
+
+ for ( i = 0 ; i < item.contents.length ; i++ )
+ currentListItem.append( item.contents[i].clone( true, true ) );
+
+ if ( currentListItem.type == CKEDITOR.NODE_DOCUMENT_FRAGMENT
+ && currentIndex != listArray.length - 1 )
+ {
+ if ( currentListItem.getLast()
+ && currentListItem.getLast().type == CKEDITOR.NODE_ELEMENT
+ && currentListItem.getLast().getAttribute( 'type' ) == '_moz' )
+ currentListItem.getLast().remove();
+ currentListItem.appendBogus();
+ }
+
+ if ( currentListItem.type == CKEDITOR.NODE_ELEMENT &&
+ currentListItem.getName() == paragraphName &&
+ currentListItem.$.firstChild )
+ {
+ currentListItem.trim();
+ var firstChild = currentListItem.getFirst();
+ if ( firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.isBlockBoundary() )
+ {
+ var tmp = new CKEDITOR.dom.documentFragment( doc );
+ currentListItem.moveChildren( tmp );
+ currentListItem = tmp;
+ }
+ }
+
+ var currentListItemName = currentListItem.$.nodeName.toLowerCase();
+ if ( !CKEDITOR.env.ie && ( currentListItemName == 'div' || currentListItemName == 'p' ) )
+ currentListItem.appendBogus();
+ retval.append( currentListItem );
+ rootNode = null;
+ currentIndex++;
+ }
+ else
+ return null;
+
+ if ( listArray.length <= currentIndex || Math.max( listArray[ currentIndex ].indent, 0 ) < indentLevel )
+ break;
+ }
+
+ // Clear marker attributes for the new list tree made of cloned nodes, if any.
+ if ( database )
+ {
+ var currentNode = retval.getFirst();
+ while ( currentNode )
+ {
+ if ( currentNode.type == CKEDITOR.NODE_ELEMENT )
+ CKEDITOR.dom.element.clearMarkers( database, currentNode );
+ currentNode = currentNode.getNextSourceNode();
+ }
+ }
+
+ return { listNode : retval, nextIndex : currentIndex };
+ }
+ };
+
+ function setState( editor, state )
+ {
+ editor.getCommand( this.name ).setState( state );
+ }
+
+ function onSelectionChange( evt )
+ {
+ var path = evt.data.path,
+ blockLimit = path.blockLimit,
+ elements = path.elements,
+ element;
+
+ // Grouping should only happen under blockLimit.(#3940).
+ for ( var i = 0 ; i < elements.length && ( element = elements[ i ] )
+ && !element.equals( blockLimit ); i++ )
+ {
+ if ( listNodeNames[ elements[i].getName() ] )
+ {
+ return setState.call( this, evt.editor,
+ this.type == elements[i].getName() ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+ }
+ }
+
+ return setState.call( this, evt.editor, CKEDITOR.TRISTATE_OFF );
+ }
+
+ function changeListType( editor, groupObj, database, listsCreated )
+ {
+ // This case is easy...
+ // 1. Convert the whole list into a one-dimensional array.
+ // 2. Change the list type by modifying the array.
+ // 3. Recreate the whole list by converting the array to a list.
+ // 4. Replace the original list with the recreated list.
+ var listArray = CKEDITOR.plugins.list.listToArray( groupObj.root, database ),
+ selectedListItems = [];
+
+ for ( var i = 0 ; i < groupObj.contents.length ; i++ )
+ {
+ var itemNode = groupObj.contents[i];
+ itemNode = itemNode.getAscendant( 'li', true );
+ if ( !itemNode || itemNode.getCustomData( 'list_item_processed' ) )
+ continue;
+ selectedListItems.push( itemNode );
+ CKEDITOR.dom.element.setMarker( database, itemNode, 'list_item_processed', true );
+ }
+
+ var root = groupObj.root,
+ fakeParent = root.getDocument().createElement( this.type );
+ // Copy all attributes, except from 'start' and 'type'.
+ root.copyAttributes( fakeParent, { start : 1, type : 1 } );
+ // The list-style-type property should be ignored.
+ fakeParent.removeStyle( 'list-style-type' );
+
+ for ( i = 0 ; i < selectedListItems.length ; i++ )
+ {
+ var listIndex = selectedListItems[i].getCustomData( 'listarray_index' );
+ listArray[listIndex].parent = fakeParent;
+ }
+ var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode );
+ var child, length = newList.listNode.getChildCount();
+ for ( i = 0 ; i < length && ( child = newList.listNode.getChild( i ) ) ; i++ )
+ {
+ if ( child.getName() == this.type )
+ listsCreated.push( child );
+ }
+ newList.listNode.replace( groupObj.root );
+ }
+
+ var headerTagRegex = /^h[1-6]$/;
+
+ function createList( editor, groupObj, listsCreated )
+ {
+ var contents = groupObj.contents,
+ doc = groupObj.root.getDocument(),
+ listContents = [];
+
+ // It is possible to have the contents returned by DomRangeIterator to be the same as the root.
+ // e.g. when we're running into table cells.
+ // In such a case, enclose the childNodes of contents[0] into a <div>.
+ if ( contents.length == 1 && contents[0].equals( groupObj.root ) )
+ {
+ var divBlock = doc.createElement( 'div' );
+ contents[0].moveChildren && contents[0].moveChildren( divBlock );
+ contents[0].append( divBlock );
+ contents[0] = divBlock;
+ }
+
+ // Calculate the common parent node of all content blocks.
+ var commonParent = groupObj.contents[0].getParent();
+ for ( var i = 0 ; i < contents.length ; i++ )
+ commonParent = commonParent.getCommonAncestor( contents[i].getParent() );
+
+ // We want to insert things that are in the same tree level only, so calculate the contents again
+ // by expanding the selected blocks to the same tree level.
+ for ( i = 0 ; i < contents.length ; i++ )
+ {
+ var contentNode = contents[i],
+ parentNode;
+ while ( ( parentNode = contentNode.getParent() ) )
+ {
+ if ( parentNode.equals( commonParent ) )
+ {
+ listContents.push( contentNode );
+ break;
+ }
+ contentNode = parentNode;
+ }
+ }
+
+ if ( listContents.length < 1 )
+ return;
+
+ // Insert the list to the DOM tree.
+ var insertAnchor = listContents[ listContents.length - 1 ].getNext(),
+ listNode = doc.createElement( this.type ),
+ dir;
+
+ listsCreated.push( listNode );
+ while ( listContents.length )
+ {
+ var contentBlock = listContents.shift(),
+ listItem = doc.createElement( 'li' );
+
+ // Preserve preformat block and heading structure when converting to list item. (#5335) (#5271)
+ if ( contentBlock.is( 'pre' ) || headerTagRegex.test( contentBlock.getName() ) )
+ contentBlock.appendTo( listItem );
+ else
+ {
+ if ( contentBlock.hasAttribute( 'dir' ) )
+ {
+ dir = dir || contentBlock.getAttribute( 'dir' );
+ contentBlock.removeAttribute( 'dir' );
+ }
+ contentBlock.copyAttributes( listItem );
+ contentBlock.moveChildren( listItem );
+ contentBlock.remove();
+
+ // Append a bogus BR to force the LI to render at full height
+ if ( !CKEDITOR.env.ie )
+ listItem.appendBogus();
+ }
+
+ listItem.appendTo( listNode );
+ }
+
+ if ( dir )
+ listNode.setAttribute( 'dir', dir );
+
+ if ( insertAnchor )
+ listNode.insertBefore( insertAnchor );
+ else
+ listNode.appendTo( commonParent );
+ }
+
+ function removeList( editor, groupObj, database )
+ {
+ // This is very much like the change list type operation.
+ // Except that we're changing the selected items' indent to -1 in the list array.
+ var listArray = CKEDITOR.plugins.list.listToArray( groupObj.root, database ),
+ selectedListItems = [];
+
+ for ( var i = 0 ; i < groupObj.contents.length ; i++ )
+ {
+ var itemNode = groupObj.contents[i];
+ itemNode = itemNode.getAscendant( 'li', true );
+ if ( !itemNode || itemNode.getCustomData( 'list_item_processed' ) )
+ continue;
+ selectedListItems.push( itemNode );
+ CKEDITOR.dom.element.setMarker( database, itemNode, 'list_item_processed', true );
+ }
+
+ var lastListIndex = null;
+ for ( i = 0 ; i < selectedListItems.length ; i++ )
+ {
+ var listIndex = selectedListItems[i].getCustomData( 'listarray_index' );
+ listArray[listIndex].indent = -1;
+ lastListIndex = listIndex;
+ }
+
+ // After cutting parts of the list out with indent=-1, we still have to maintain the array list
+ // model's nextItem.indent <= currentItem.indent + 1 invariant. Otherwise the array model of the
+ // list cannot be converted back to a real DOM list.
+ for ( i = lastListIndex + 1 ; i < listArray.length ; i++ )
+ {
+ if ( listArray[i].indent > listArray[i-1].indent + 1 )
+ {
+ var indentOffset = listArray[i-1].indent + 1 - listArray[i].indent;
+ var oldIndent = listArray[i].indent;
+ while ( listArray[i] && listArray[i].indent >= oldIndent )
+ {
+ listArray[i].indent += indentOffset;
+ i++;
+ }
+ i--;
+ }
+ }
+
+ var newList = CKEDITOR.plugins.list.arrayToList( listArray, database, null, editor.config.enterMode,
+ groupObj.root.getAttribute( 'dir' ) );
+
+ // Compensate <br> before/after the list node if the surrounds are non-blocks.(#3836)
+ var docFragment = newList.listNode, boundaryNode, siblingNode;
+ function compensateBrs( isStart )
+ {
+ if ( ( boundaryNode = docFragment[ isStart ? 'getFirst' : 'getLast' ]() )
+ && !( boundaryNode.is && boundaryNode.isBlockBoundary() )
+ && ( siblingNode = groupObj.root[ isStart ? 'getPrevious' : 'getNext' ]
+ ( CKEDITOR.dom.walker.whitespaces( true ) ) )
+ && !( siblingNode.is && siblingNode.isBlockBoundary( { br : 1 } ) ) )
+ editor.document.createElement( 'br' )[ isStart ? 'insertBefore' : 'insertAfter' ]( boundaryNode );
+ }
+ compensateBrs( true );
+ compensateBrs();
+
+ docFragment.replace( groupObj.root );
+ }
+
+ function listCommand( name, type )
+ {
+ this.name = name;
+ this.type = type;
+ }
+
+ listCommand.prototype = {
+ exec : function( editor )
+ {
+ editor.focus();
+
+ var doc = editor.document,
+ selection = editor.getSelection(),
+ ranges = selection && selection.getRanges( true );
+
+ // There should be at least one selected range.
+ if ( !ranges || ranges.length < 1 )
+ return;
+
+ // Midas lists rule #1 says we can create a list even in an empty document.
+ // But DOM iterator wouldn't run if the document is really empty.
+ // So create a paragraph if the document is empty and we're going to create a list.
+ if ( this.state == CKEDITOR.TRISTATE_OFF )
+ {
+ var body = doc.getBody();
+ body.trim();
+ if ( !body.getFirst() )
+ {
+ var paragraph = doc.createElement( editor.config.enterMode == CKEDITOR.ENTER_P ? 'p' :
+ ( editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'br' ) );
+ paragraph.appendTo( body );
+ ranges = new CKEDITOR.dom.rangeList( [ new CKEDITOR.dom.range( doc ) ] );
+ // IE exception on inserting anything when anchor inside <br>.
+ if ( paragraph.is( 'br' ) )
+ {
+ ranges[ 0 ].setStartBefore( paragraph );
+ ranges[ 0 ].setEndAfter( paragraph );
+ }
+ else
+ ranges[ 0 ].selectNodeContents( paragraph );
+ selection.selectRanges( ranges );
+ }
+ // Maybe a single range there enclosing the whole list,
+ // turn on the list state manually(#4129).
+ else
+ {
+ var range = ranges.length == 1 && ranges[ 0 ],
+ enclosedNode = range && range.getEnclosedNode();
+ if ( enclosedNode && enclosedNode.is
+ && this.type == enclosedNode.getName() )
+ {
+ setState.call( this, editor, CKEDITOR.TRISTATE_ON );
+ }
+ }
+ }
+
+ var bookmarks = selection.createBookmarks( true );
+
+ // Group the blocks up because there are many cases where multiple lists have to be created,
+ // or multiple lists have to be cancelled.
+ var listGroups = [],
+ database = {},
+ rangeIterator = ranges.createIterator(),
+ index = 0;
+
+ while ( ( range = rangeIterator.getNextRange() ) && ++index )
+ {
+ var boundaryNodes = range.getBoundaryNodes(),
+ startNode = boundaryNodes.startNode,
+ endNode = boundaryNodes.endNode;
+
+ if ( startNode.type == CKEDITOR.NODE_ELEMENT && startNode.getName() == 'td' )
+ range.setStartAt( boundaryNodes.startNode, CKEDITOR.POSITION_AFTER_START );
+
+ if ( endNode.type == CKEDITOR.NODE_ELEMENT && endNode.getName() == 'td' )
+ range.setEndAt( boundaryNodes.endNode, CKEDITOR.POSITION_BEFORE_END );
+
+ var iterator = range.createIterator(),
+ block;
+
+ iterator.forceBrBreak = ( this.state == CKEDITOR.TRISTATE_OFF );
+
+ while ( ( block = iterator.getNextParagraph() ) )
+ {
+ // Avoid duplicate blocks get processed across ranges.
+ if( block.getCustomData( 'list_block' ) )
+ continue;
+ else
+ CKEDITOR.dom.element.setMarker( database, block, 'list_block', 1 );
+
+ var path = new CKEDITOR.dom.elementPath( block ),
+ pathElements = path.elements,
+ pathElementsCount = pathElements.length,
+ listNode = null,
+ processedFlag = false,
+ blockLimit = path.blockLimit,
+ element;
+
+ // First, try to group by a list ancestor.
+ for ( var i = pathElementsCount - 1; i >= 0 && ( element = pathElements[ i ] ); i-- )
+ {
+ if ( listNodeNames[ element.getName() ]
+ && blockLimit.contains( element ) ) // Don't leak outside block limit (#3940).
+ {
+ // If we've encountered a list inside a block limit
+ // The last group object of the block limit element should
+ // no longer be valid. Since paragraphs after the list
+ // should belong to a different group of paragraphs before
+ // the list. (Bug #1309)
+ blockLimit.removeCustomData( 'list_group_object_' + index );
+
+ var groupObj = element.getCustomData( 'list_group_object' );
+ if ( groupObj )
+ groupObj.contents.push( block );
+ else
+ {
+ groupObj = { root : element, contents : [ block ] };
+ listGroups.push( groupObj );
+ CKEDITOR.dom.element.setMarker( database, element, 'list_group_object', groupObj );
+ }
+ processedFlag = true;
+ break;
+ }
+ }
+
+ if ( processedFlag )
+ continue;
+
+ // No list ancestor? Group by block limit, but don't mix contents from different ranges.
+ var root = blockLimit;
+ if ( root.getCustomData( 'list_group_object_' + index ) )
+ root.getCustomData( 'list_group_object_' + index ).contents.push( block );
+ else
+ {
+ groupObj = { root : root, contents : [ block ] };
+ CKEDITOR.dom.element.setMarker( database, root, 'list_group_object_' + index, groupObj );
+ listGroups.push( groupObj );
+ }
+ }
+ }
+
+ // Now we have two kinds of list groups, groups rooted at a list, and groups rooted at a block limit element.
+ // We either have to build lists or remove lists, for removing a list does not makes sense when we are looking
+ // at the group that's not rooted at lists. So we have three cases to handle.
+ var listsCreated = [];
+ while ( listGroups.length > 0 )
+ {
+ groupObj = listGroups.shift();
+ if ( this.state == CKEDITOR.TRISTATE_OFF )
+ {
+ if ( listNodeNames[ groupObj.root.getName() ] )
+ changeListType.call( this, editor, groupObj, database, listsCreated );
+ else
+ createList.call( this, editor, groupObj, listsCreated );
+ }
+ else if ( this.state == CKEDITOR.TRISTATE_ON && listNodeNames[ groupObj.root.getName() ] )
+ removeList.call( this, editor, groupObj, database );
+ }
+
+ // For all new lists created, merge adjacent, same type lists.
+ for ( i = 0 ; i < listsCreated.length ; i++ )
+ {
+ listNode = listsCreated[i];
+ var mergeSibling, listCommand = this;
+ ( mergeSibling = function( rtl ){
+
+ var sibling = listNode[ rtl ?
+ 'getPrevious' : 'getNext' ]( CKEDITOR.dom.walker.whitespaces( true ) );
+ if ( sibling && sibling.getName &&
+ sibling.getName() == listCommand.type )
+ {
+ sibling.remove();
+ // Move children order by merge direction.(#3820)
+ sibling.moveChildren( listNode, rtl ? true : false );
+ }
+ } )();
+ mergeSibling( true );
+ }
+
+ // Clean up, restore selection and update toolbar button states.
+ CKEDITOR.dom.element.clearAllMarkers( database );
+ selection.selectBookmarks( bookmarks );
+ editor.focus();
+ }
+ };
+
+ var dtd = CKEDITOR.dtd;
+ var tailNbspRegex = /[\t\r\n ]*(?: |\xa0)$/;
+
+ function indexOfFirstChildElement( element, tagNameList )
+ {
+ var child,
+ children = element.children,
+ length = children.length;
+
+ for ( var i = 0 ; i < length ; i++ )
+ {
+ child = children[ i ];
+ if ( child.name && ( child.name in tagNameList ) )
+ return i;
+ }
+
+ return length;
+ }
+
+ function getExtendNestedListFilter( isHtmlFilter )
+ {
+ // An element filter function that corrects nested list start in an empty
+ // list item for better displaying/outputting. (#3165)
+ return function( listItem )
+ {
+ var children = listItem.children,
+ firstNestedListIndex = indexOfFirstChildElement( listItem, dtd.$list ),
+ firstNestedList = children[ firstNestedListIndex ],
+ nodeBefore = firstNestedList && firstNestedList.previous,
+ tailNbspmatch;
+
+ if ( nodeBefore
+ && ( nodeBefore.name && nodeBefore.name == 'br'
+ || nodeBefore.value && ( tailNbspmatch = nodeBefore.value.match( tailNbspRegex ) ) ) )
+ {
+ var fillerNode = nodeBefore;
+
+ // Always use 'nbsp' as filler node if we found a nested list appear
+ // in front of a list item.
+ if ( !( tailNbspmatch && tailNbspmatch.index ) && fillerNode == children[ 0 ] )
+ children[ 0 ] = ( isHtmlFilter || CKEDITOR.env.ie ) ?
+ new CKEDITOR.htmlParser.text( '\xa0' ) :
+ new CKEDITOR.htmlParser.element( 'br', {} );
+
+ // Otherwise the filler is not needed anymore.
+ else if ( fillerNode.name == 'br' )
+ children.splice( firstNestedListIndex - 1, 1 );
+ else
+ fillerNode.value = fillerNode.value.replace( tailNbspRegex, '' );
+ }
+
+ };
+ }
+
+ var defaultListDataFilterRules = { elements : {} };
+ for ( var i in dtd.$listItem )
+ defaultListDataFilterRules.elements[ i ] = getExtendNestedListFilter();
+
+ var defaultListHtmlFilterRules = { elements : {} };
+ for ( i in dtd.$listItem )
+ defaultListHtmlFilterRules.elements[ i ] = getExtendNestedListFilter( true );
+
+ CKEDITOR.plugins.add( 'list',
+ {
+ init : function( editor )
+ {
+ // Register commands.
+ var numberedListCommand = new listCommand( 'numberedlist', 'ol' ),
+ bulletedListCommand = new listCommand( 'bulletedlist', 'ul' );
+ editor.addCommand( 'numberedlist', numberedListCommand );
+ editor.addCommand( 'bulletedlist', bulletedListCommand );
+
+ // Register the toolbar button.
+ editor.ui.addButton( 'NumberedList',
+ {
+ label : editor.lang.numberedlist,
+ command : 'numberedlist'
+ } );
+ editor.ui.addButton( 'BulletedList',
+ {
+ label : editor.lang.bulletedlist,
+ command : 'bulletedlist'
+ } );
+
+ // Register the state changing handlers.
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, numberedListCommand ) );
+ editor.on( 'selectionChange', CKEDITOR.tools.bind( onSelectionChange, bulletedListCommand ) );
+ },
+
+ afterInit : function ( editor )
+ {
+ var dataProcessor = editor.dataProcessor;
+ if ( dataProcessor )
+ {
+ dataProcessor.dataFilter.addRules( defaultListDataFilterRules );
+ dataProcessor.htmlFilter.addRules( defaultListHtmlFilterRules );
+ }
+ },
+
+ requires : [ 'domiterator' ]
+ } );
+})();
diff --git a/devel/third-party/ckeditor/plugins/listblock/plugin.js b/devel/third-party/ckeditor/plugins/listblock/plugin.js
new file mode 100644
index 0000000..63f85c7
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/listblock/plugin.js
@@ -0,0 +1,257 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'listblock',
+{
+ requires : [ 'panel' ],
+
+ onLoad : function()
+ {
+ CKEDITOR.ui.panel.prototype.addListBlock = function( name, definition )
+ {
+ return this.addBlock( name, new CKEDITOR.ui.listBlock( this.getHolderElement(), definition ) );
+ };
+
+ CKEDITOR.ui.listBlock = CKEDITOR.tools.createClass(
+ {
+ base : CKEDITOR.ui.panel.block,
+
+ $ : function( blockHolder, blockDefinition )
+ {
+ blockDefinition = blockDefinition || {};
+
+ var attribs = blockDefinition.attributes || ( blockDefinition.attributes = {} );
+ ( this.multiSelect = !!blockDefinition.multiSelect ) &&
+ ( attribs[ 'aria-multiselectable' ] = true );
+ // Provide default role of 'listbox'.
+ !attribs.role && ( attribs.role = 'listbox' );
+
+ // Call the base contructor.
+ this.base.apply( this, arguments );
+
+ var keys = this.keys;
+ keys[ 40 ] = 'next'; // ARROW-DOWN
+ keys[ 9 ] = 'next'; // TAB
+ keys[ 38 ] = 'prev'; // ARROW-UP
+ keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB
+ keys[ 32 ] = 'click'; // SPACE
+
+ this._.pendingHtml = [];
+ this._.items = {};
+ this._.groups = {};
+ },
+
+ _ :
+ {
+ close : function()
+ {
+ if ( this._.started )
+ {
+ this._.pendingHtml.push( '</ul>' );
+ delete this._.started;
+ }
+ },
+
+ getClick : function()
+ {
+ if ( !this._.click )
+ {
+ this._.click = CKEDITOR.tools.addFunction( function( value )
+ {
+ var marked = true;
+
+ if ( this.multiSelect )
+ marked = this.toggle( value );
+ else
+ this.mark( value );
+
+ if ( this.onClick )
+ this.onClick( value, marked );
+ },
+ this );
+ }
+ return this._.click;
+ }
+ },
+
+ proto :
+ {
+ add : function( value, html, title )
+ {
+ var pendingHtml = this._.pendingHtml,
+ id = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+ if ( !this._.started )
+ {
+ pendingHtml.push( '<ul role="presentation" class=cke_panel_list>' );
+ this._.started = 1;
+ this._.size = this._.size || 0;
+ }
+
+ this._.items[ value ] = id;
+
+ pendingHtml.push(
+ '<li id=', id, ' class=cke_panel_listItem>' +
+ '<a id="', id, '_option" _cke_focus=1 hidefocus=true' +
+ ' title="', title || value, '"' +
+ ' href="javascript:void(\'', value, '\')"' +
+ ' onclick="CKEDITOR.tools.callFunction(', this._.getClick(), ',\'', value, '\'); return false;"',
+ ' role="option"' +
+ ' aria-posinset="' + ++this._.size + '">',
+ html || value,
+ '</a>' +
+ '</li>' );
+ },
+
+ startGroup : function( title )
+ {
+ this._.close();
+
+ var id = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+ this._.groups[ title ] = id;
+
+ this._.pendingHtml.push( '<h1 role="presentation" id=', id, ' class=cke_panel_grouptitle>', title, '</h1>' );
+ },
+
+ commit : function()
+ {
+ this._.close();
+ this.element.appendHtml( this._.pendingHtml.join( '' ) );
+
+ var items = this._.items,
+ doc = this.element.getDocument();
+ for ( var value in items )
+ doc.getById( items[ value ] + '_option' ).setAttribute( 'aria-setsize', this._.size );
+ delete this._.size;
+
+ this._.pendingHtml = [];
+ },
+
+ toggle : function( value )
+ {
+ var isMarked = this.isMarked( value );
+
+ if ( isMarked )
+ this.unmark( value );
+ else
+ this.mark( value );
+
+ return !isMarked;
+ },
+
+ hideGroup : function( groupTitle )
+ {
+ var group = this.element.getDocument().getById( this._.groups[ groupTitle ] ),
+ list = group && group.getNext();
+
+ if ( group )
+ {
+ group.setStyle( 'display', 'none' );
+
+ if ( list && list.getName() == 'ul' )
+ list.setStyle( 'display', 'none' );
+ }
+ },
+
+ hideItem : function( value )
+ {
+ this.element.getDocument().getById( this._.items[ value ] ).setStyle( 'display', 'none' );
+ },
+
+ showAll : function()
+ {
+ var items = this._.items,
+ groups = this._.groups,
+ doc = this.element.getDocument();
+
+ for ( var value in items )
+ {
+ doc.getById( items[ value ] ).setStyle( 'display', '' );
+ }
+
+ for ( var title in groups )
+ {
+ var group = doc.getById( groups[ title ] ),
+ list = group.getNext();
+
+ group.setStyle( 'display', '' );
+
+ if ( list && list.getName() == 'ul' )
+ list.setStyle( 'display', '' );
+ }
+ },
+
+ mark : function( value )
+ {
+ if ( !this.multiSelect )
+ this.unmarkAll();
+
+ var itemId = this._.items[ value ],
+ item = this.element.getDocument().getById( itemId );
+ item.addClass( 'cke_selected' );
+
+ this.element.getDocument().getById( itemId + '_option' ).setAttribute( 'aria-selected', true );
+ this.element.setAttribute( 'aria-activedescendant', itemId + '_option' );
+
+ this.onMark && this.onMark( item );
+ },
+
+ unmark : function( value )
+ {
+ this.element.getDocument().getById( this._.items[ value ] ).removeClass( 'cke_selected' );
+ this.onUnmark && this.onUnmark( this._.items[ value ] );
+ },
+
+ unmarkAll : function()
+ {
+ var items = this._.items,
+ doc = this.element.getDocument();
+
+ for ( var value in items )
+ {
+ doc.getById( items[ value ] ).removeClass( 'cke_selected' );
+ }
+
+ this.onUnmark && this.onUnmark();
+ },
+
+ isMarked : function( value )
+ {
+ return this.element.getDocument().getById( this._.items[ value ] ).hasClass( 'cke_selected' );
+ },
+
+ focus : function( value )
+ {
+ this._.focusIndex = -1;
+
+ if ( value )
+ {
+ var selected = this.element.getDocument().getById( this._.items[ value ] ).getFirst();
+
+ var links = this.element.getElementsByTag( 'a' ),
+ link,
+ i = -1;
+
+ while ( ( link = links.getItem( ++i ) ) )
+ {
+ if ( link.equals( selected ) )
+ {
+ this._.focusIndex = i;
+ break;
+ }
+ }
+
+ setTimeout( function()
+ {
+ selected.focus();
+ },
+ 0 );
+ }
+ }
+ }
+ });
+ }
+});
diff --git a/devel/third-party/ckeditor/plugins/liststyle/dialogs/liststyle.js b/devel/third-party/ckeditor/plugins/liststyle/dialogs/liststyle.js
new file mode 100644
index 0000000..d14ebb5
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/liststyle/dialogs/liststyle.js
@@ -0,0 +1,203 @@
+/*
+ * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+(function()
+{
+ function getListElement( editor, listTag )
+ {
+ var range;
+ try { range = editor.getSelection().getRanges()[ 0 ]; }
+ catch( e ) { return null; }
+
+ range.shrink( CKEDITOR.SHRINK_TEXT );
+ return range.getCommonAncestor().getAscendant( listTag, true );
+ }
+
+ var mapListStyle = {
+ 'a' : 'lower-alpha',
+ 'A' : 'upper-alpha',
+ 'i' : 'lower-roman',
+ 'I' : 'upper-roman',
+ '1' : 'decimal',
+ 'disc' : 'disc',
+ 'circle': 'circle',
+ 'square' : 'square'
+ };
+
+ function listStyle( editor, startupPage )
+ {
+ if ( startupPage == 'bulletedListStyle' )
+ {
+ return {
+ title : editor.lang.list.bulletedTitle,
+ minWidth : 300,
+ minHeight : 50,
+ contents :
+ [
+ {
+ id : 'info',
+ accessKey : 'I',
+ elements :
+ [
+ {
+ type : 'select',
+ label : editor.lang.list.type,
+ id : 'type',
+ style : 'width: 150px; margin: auto;',
+ items :
+ [
+ [ editor.lang.list.notset, '' ],
+ [ editor.lang.list.circle, 'circle' ],
+ [ editor.lang.list.disc, 'disc' ],
+ [ editor.lang.list.square, 'square' ]
+ ],
+ setup : function( element )
+ {
+ var value = element.getStyle( 'list-style-type' )
+ || mapListStyle[ element.getAttribute( 'type' ) ]
+ || element.getAttribute( 'type' )
+ || '';
+
+ this.setValue( value );
+ },
+ commit : function( element )
+ {
+ var value = this.getValue();
+ if ( value )
+ element.setStyle( 'list-style-type', value );
+ else
+ element.removeStyle( 'list-style-type' );
+ }
+ }
+ ]
+ }
+ ],
+ onShow: function()
+ {
+ var editor = this.getParentEditor(),
+ element = getListElement( editor, 'ul' );
+
+ element && this.setupContent( element );
+ },
+ onOk: function()
+ {
+ var editor = this.getParentEditor(),
+ element = getListElement( editor, 'ul' );
+
+ element && this.commitContent( element );
+ }
+ };
+ }
+ else if ( startupPage == 'numberedListStyle' )
+ {
+
+ var listStyleOptions =
+ [
+ [ editor.lang.list.notset, '' ],
+ [ editor.lang.list.lowerRoman, 'lower-roman' ],
+ [ editor.lang.list.upperRoman, 'upper-roman' ],
+ [ editor.lang.list.lowerAlpha, 'lower-alpha' ],
+ [ editor.lang.list.upperAlpha, 'upper-alpha' ],
+ [ editor.lang.list.decimal, 'decimal' ]
+ ];
+
+ if ( !CKEDITOR.env.ie || CKEDITOR.env.version > 7 )
+ {
+ listStyleOptions.concat( [
+ [ editor.lang.list.armenian, 'armenian' ],
+ [ editor.lang.list.decimalLeadingZero, 'decimal-leading-zero' ],
+ [ editor.lang.list.georgian, 'georgian' ],
+ [ editor.lang.list.lowerGreek, 'lower-greek' ]
+ ]);
+ }
+
+ return {
+ title : editor.lang.list.numberedTitle,
+ minWidth : 300,
+ minHeight : 50,
+ contents :
+ [
+ {
+ id : 'info',
+ accessKey : 'I',
+ elements :
+ [
+ {
+ type : 'hbox',
+ widths : [ '25%', '75%' ],
+ children :
+ [
+ {
+ label : editor.lang.list.start,
+ type : 'text',
+ id : 'start',
+ validate : CKEDITOR.dialog.validate.integer( editor.lang.list.validateStartNumber ),
+ setup : function( element )
+ {
+ var value = element.getAttribute( 'start' ) || 1;
+ value && this.setValue( value );
+ },
+ commit : function( element )
+ {
+ element.setAttribute( 'start', this.getValue() );
+ }
+ },
+ {
+ type : 'select',
+ label : editor.lang.list.type,
+ id : 'type',
+ style : 'width: 100%;',
+ items : listStyleOptions,
+ setup : function( element )
+ {
+ var value = element.getStyle( 'list-style-type' )
+ || mapListStyle[ element.getAttribute( 'type' ) ]
+ || element.getAttribute( 'type' )
+ || '';
+
+ this.setValue( value );
+ },
+ commit : function( element )
+ {
+ var value = this.getValue();
+ if ( value )
+ element.setStyle( 'list-style-type', value );
+ else
+ element.removeStyle( 'list-style-type' );
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ onShow: function()
+ {
+ var editor = this.getParentEditor(),
+ element = getListElement( editor, 'ol' );
+
+ element && this.setupContent( element );
+ },
+ onOk: function()
+ {
+ var editor = this.getParentEditor(),
+ element = getListElement( editor, 'ol' );
+
+ element && this.commitContent( element );
+ }
+ };
+ }
+ }
+
+ CKEDITOR.dialog.add( 'numberedListStyle', function( editor )
+ {
+ return listStyle( editor, 'numberedListStyle' );
+ });
+
+ CKEDITOR.dialog.add( 'bulletedListStyle', function( editor )
+ {
+ return listStyle( editor, 'bulletedListStyle' );
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/liststyle/plugin.js b/devel/third-party/ckeditor/plugins/liststyle/plugin.js
new file mode 100644
index 0000000..8e23cca
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/liststyle/plugin.js
@@ -0,0 +1,66 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ CKEDITOR.plugins.liststyle =
+ {
+ requires : [ 'dialog' ],
+ init : function( editor )
+ {
+ editor.addCommand( 'numberedListStyle', new CKEDITOR.dialogCommand( 'numberedListStyle' ) );
+ CKEDITOR.dialog.add( 'numberedListStyle', this.path + 'dialogs/liststyle.js' );
+ editor.addCommand( 'bulletedListStyle', new CKEDITOR.dialogCommand( 'bulletedListStyle' ) );
+ CKEDITOR.dialog.add( 'bulletedListStyle', this.path + 'dialogs/liststyle.js' );
+
+ // If the "menu" plugin is loaded, register the menu items.
+ if ( editor.addMenuItems )
+ {
+ //Register map group;
+ editor.addMenuGroup("list", 108);
+
+ editor.addMenuItems(
+ {
+ numberedlist :
+ {
+ label : editor.lang.list.numberedTitle,
+ group : 'list',
+ command: 'numberedListStyle'
+ },
+ bulletedlist :
+ {
+ label : editor.lang.list.bulletedTitle,
+ group : 'list',
+ command: 'bulletedListStyle'
+ }
+ });
+ }
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( !element || element.isReadOnly() )
+ return null;
+
+ while ( element )
+ {
+ var name = element.getName();
+ if ( name == 'ol' )
+ return { numberedlist: CKEDITOR.TRISTATE_OFF };
+ else if ( name == 'ul' )
+ return { bulletedlist: CKEDITOR.TRISTATE_OFF };
+
+ element = element.getParent();
+ }
+ return null;
+ });
+ }
+ }
+ };
+
+ CKEDITOR.plugins.add( 'liststyle', CKEDITOR.plugins.liststyle );
+})();
diff --git a/devel/third-party/ckeditor/plugins/maximize/plugin.js b/devel/third-party/ckeditor/plugins/maximize/plugin.js
new file mode 100644
index 0000000..9f18043
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/maximize/plugin.js
@@ -0,0 +1,343 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ function protectFormStyles( formElement )
+ {
+ if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' )
+ return [];
+
+ var hijackRecord = [];
+ var hijackNames = [ 'style', 'className' ];
+ for ( var i = 0 ; i < hijackNames.length ; i++ )
+ {
+ var name = hijackNames[i];
+ var $node = formElement.$.elements.namedItem( name );
+ if ( $node )
+ {
+ var hijackNode = new CKEDITOR.dom.element( $node );
+ hijackRecord.push( [ hijackNode, hijackNode.nextSibling ] );
+ hijackNode.remove();
+ }
+ }
+
+ return hijackRecord;
+ }
+
+ function restoreFormStyles( formElement, hijackRecord )
+ {
+ if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' )
+ return;
+
+ if ( hijackRecord.length > 0 )
+ {
+ for ( var i = hijackRecord.length - 1 ; i >= 0 ; i-- )
+ {
+ var node = hijackRecord[i][0];
+ var sibling = hijackRecord[i][1];
+ if ( sibling )
+ node.insertBefore( sibling );
+ else
+ node.appendTo( formElement );
+ }
+ }
+ }
+
+ function saveStyles( element, isInsideEditor )
+ {
+ var data = protectFormStyles( element );
+ var retval = {};
+
+ var $element = element.$;
+
+ if ( !isInsideEditor )
+ {
+ retval[ 'class' ] = $element.className || '';
+ $element.className = '';
+ }
+
+ retval.inline = $element.style.cssText || '';
+ if ( !isInsideEditor ) // Reset any external styles that might interfere. (#2474)
+ $element.style.cssText = 'position: static; overflow: visible';
+
+ restoreFormStyles( data );
+ return retval;
+ }
+
+ function restoreStyles( element, savedStyles )
+ {
+ var data = protectFormStyles( element );
+ var $element = element.$;
+ if ( 'class' in savedStyles )
+ $element.className = savedStyles[ 'class' ];
+ if ( 'inline' in savedStyles )
+ $element.style.cssText = savedStyles.inline;
+ restoreFormStyles( data );
+ }
+
+ function refreshCursor( editor )
+ {
+ // Refresh all editor instances on the page (#5724).
+ var all = CKEDITOR.instances;
+ for ( var i in all )
+ {
+ var one = all[ i ];
+ if ( one.mode == 'wysiwyg' )
+ {
+ var body = one.document.getBody();
+ // Refresh 'contentEditable' otherwise
+ // DOM lifting breaks design mode. (#5560)
+ body.setAttribute( 'contentEditable', false );
+ body.setAttribute( 'contentEditable', true );
+ }
+ }
+
+ if ( editor.focusManager.hasFocus )
+ {
+ editor.toolbox.focus();
+ editor.focus();
+ }
+ }
+
+ /**
+ * Adding an iframe shim to this element, OR removing the existing one if already applied.
+ * Note: This will only affect IE version below 7.
+ */
+ function createIframeShim( element )
+ {
+ if ( !CKEDITOR.env.ie || CKEDITOR.env.version > 6 )
+ return null;
+
+ var shim = CKEDITOR.dom.element.createFromHtml( '<iframe frameborder="0" tabindex="-1"' +
+ ' src="javascript:' +
+ 'void((function(){' +
+ 'document.open();' +
+ ( CKEDITOR.env.isCustomDomain() ? 'document.domain=\'' + this.getDocument().$.domain + '\';' : '' ) +
+ 'document.close();' +
+ '})())"' +
+ ' style="display:block;position:absolute;z-index:-1;' +
+ 'progid:DXImageTransform.Microsoft.Alpha(opacity=0);' +
+ '"></iframe>' );
+ return element.append( shim, true );
+ }
+
+ CKEDITOR.plugins.add( 'maximize',
+ {
+ init : function( editor )
+ {
+ var lang = editor.lang;
+ var mainDocument = CKEDITOR.document;
+ var mainWindow = mainDocument.getWindow();
+
+ // Saved selection and scroll position for the editing area.
+ var savedSelection;
+ var savedScroll;
+
+ // Saved scroll position for the outer window.
+ var outerScroll;
+
+ var shim;
+
+ // Saved resize handler function.
+ function resizeHandler()
+ {
+ var viewPaneSize = mainWindow.getViewPaneSize();
+ shim && shim.setStyles( { width : viewPaneSize.width + 'px', height : viewPaneSize.height + 'px' } );
+ editor.resize( viewPaneSize.width, viewPaneSize.height, null, true );
+ }
+
+ // Retain state after mode switches.
+ var savedState = CKEDITOR.TRISTATE_OFF;
+
+ editor.addCommand( 'maximize',
+ {
+ modes : { wysiwyg : 1, source : 1 },
+ editorFocus : false,
+ exec : function()
+ {
+ var container = editor.container.getChild( 1 );
+ var contents = editor.getThemeSpace( 'contents' );
+
+ // Save current selection and scroll position in editing area.
+ if ( editor.mode == 'wysiwyg' )
+ {
+ var selection = editor.getSelection();
+ savedSelection = selection && selection.getRanges();
+ savedScroll = mainWindow.getScrollPosition();
+ }
+ else
+ {
+ var $textarea = editor.textarea.$;
+ savedSelection = !CKEDITOR.env.ie && [ $textarea.selectionStart, $textarea.selectionEnd ];
+ savedScroll = [ $textarea.scrollLeft, $textarea.scrollTop ];
+ }
+
+ if ( this.state == CKEDITOR.TRISTATE_OFF ) // Go fullscreen if the state is off.
+ {
+ // Add event handler for resizing.
+ mainWindow.on( 'resize', resizeHandler );
+
+ // Save the scroll bar position.
+ outerScroll = mainWindow.getScrollPosition();
+
+ // Save and reset the styles for the entire node tree.
+ var currentNode = editor.container;
+ while ( ( currentNode = currentNode.getParent() ) )
+ {
+ currentNode.setCustomData( 'maximize_saved_styles', saveStyles( currentNode ) );
+ currentNode.setStyle( 'z-index', editor.config.baseFloatZIndex - 1 );
+ }
+ contents.setCustomData( 'maximize_saved_styles', saveStyles( contents, true ) );
+ container.setCustomData( 'maximize_saved_styles', saveStyles( container, true ) );
+
+ // Hide scroll bars.
+ if ( CKEDITOR.env.ie )
+ {
+ mainDocument.$.documentElement.style.overflow =
+ mainDocument.getBody().$.style.overflow = 'hidden';
+ }
+ else
+ {
+ mainDocument.getBody().setStyles(
+ {
+ overflow : 'hidden',
+ width : '0px',
+ height : '0px'
+ } );
+ }
+
+ // Scroll to the top left (IE needs some time for it - #4923).
+ CKEDITOR.env.ie ?
+ setTimeout( function() { mainWindow.$.scrollTo( 0, 0 ); }, 0 ) :
+ mainWindow.$.scrollTo( 0, 0 );
+
+ // Resize and move to top left.
+ var viewPaneSize = mainWindow.getViewPaneSize();
+ container.setStyle( 'position', 'absolute' );
+ container.$.offsetLeft; // SAFARI BUG: See #2066.
+ container.setStyles(
+ {
+ 'z-index' : editor.config.baseFloatZIndex - 1,
+ left : '0px',
+ top : '0px'
+ } );
+
+ shim = createIframeShim( container ); // IE6 select element penetration when maximized. (#4459)
+
+ // Add cke_maximized class before resize handle since that will change things sizes (#5580)
+ container.addClass( 'cke_maximized' );
+
+ resizeHandler();
+
+ // Still not top left? Fix it. (Bug #174)
+ var offset = container.getDocumentPosition();
+ container.setStyles(
+ {
+ left : ( -1 * offset.x ) + 'px',
+ top : ( -1 * offset.y ) + 'px'
+ } );
+
+ // Fixing positioning editor chrome in Firefox break design mode. (#5149)
+ CKEDITOR.env.gecko && refreshCursor( editor );
+
+ }
+ else if ( this.state == CKEDITOR.TRISTATE_ON ) // Restore from fullscreen if the state is on.
+ {
+ // Remove event handler for resizing.
+ mainWindow.removeListener( 'resize', resizeHandler );
+
+ // Restore CSS styles for the entire node tree.
+ var editorElements = [ contents, container ];
+ for ( var i = 0 ; i < editorElements.length ; i++ )
+ {
+ restoreStyles( editorElements[i], editorElements[i].getCustomData( 'maximize_saved_styles' ) );
+ editorElements[i].removeCustomData( 'maximize_saved_styles' );
+ }
+
+ currentNode = editor.container;
+ while ( ( currentNode = currentNode.getParent() ) )
+ {
+ restoreStyles( currentNode, currentNode.getCustomData( 'maximize_saved_styles' ) );
+ currentNode.removeCustomData( 'maximize_saved_styles' );
+ }
+
+ // Restore the window scroll position.
+ CKEDITOR.env.ie ?
+ setTimeout( function() { mainWindow.$.scrollTo( outerScroll.x, outerScroll.y ); }, 0 ) :
+ mainWindow.$.scrollTo( outerScroll.x, outerScroll.y );
+
+ // Remove cke_maximized class.
+ container.removeClass( 'cke_maximized' );
+
+ if ( shim )
+ {
+ shim.remove();
+ shim = null;
+ }
+
+ // Emit a resize event, because this time the size is modified in
+ // restoreStyles.
+ editor.fire( 'resize' );
+ }
+
+ this.toggleState();
+
+ // Toggle button label.
+ var button = this.uiItems[ 0 ];
+ var label = ( this.state == CKEDITOR.TRISTATE_OFF )
+ ? lang.maximize : lang.minimize;
+ var buttonNode = editor.element.getDocument().getById( button._.id );
+ buttonNode.getChild( 1 ).setHtml( label );
+ buttonNode.setAttribute( 'title', label );
+ buttonNode.setAttribute( 'href', 'javascript:void("' + label + '");' );
+
+ // Restore selection and scroll position in editing area.
+ if ( editor.mode == 'wysiwyg' )
+ {
+ if ( savedSelection )
+ {
+ // Fixing positioning editor chrome in Firefox break design mode. (#5149)
+ CKEDITOR.env.gecko && refreshCursor( editor );
+
+ editor.getSelection().selectRanges(savedSelection);
+ var element = editor.getSelection().getStartElement();
+ element && element.scrollIntoView( true );
+ }
+
+ else
+ mainWindow.$.scrollTo( savedScroll.x, savedScroll.y );
+ }
+ else
+ {
+ if ( savedSelection )
+ {
+ $textarea.selectionStart = savedSelection[0];
+ $textarea.selectionEnd = savedSelection[1];
+ }
+ $textarea.scrollLeft = savedScroll[0];
+ $textarea.scrollTop = savedScroll[1];
+ }
+
+ savedSelection = savedScroll = null;
+ savedState = this.state;
+ },
+ canUndo : false
+ } );
+
+ editor.ui.addButton( 'Maximize',
+ {
+ label : lang.maximize,
+ command : 'maximize'
+ } );
+
+ // Restore the command state after mode change.
+ editor.on( 'mode', function()
+ {
+ editor.getCommand( 'maximize' ).setState( savedState );
+ }, null, null, 100 );
+ }
+ } );
+})();
diff --git a/devel/third-party/ckeditor/plugins/menu/plugin.js b/devel/third-party/ckeditor/plugins/menu/plugin.js
new file mode 100644
index 0000000..74fbb4f
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/menu/plugin.js
@@ -0,0 +1,409 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'menu',
+{
+ beforeInit : function( editor )
+ {
+ var groups = editor.config.menu_groups.split( ',' ),
+ groupsOrder = editor._.menuGroups = {},
+ menuItems = editor._.menuItems = {};
+
+ for ( var i = 0 ; i < groups.length ; i++ )
+ groupsOrder[ groups[ i ] ] = i + 1;
+
+ editor.addMenuGroup = function( name, order )
+ {
+ groupsOrder[ name ] = order || 100;
+ };
+
+ editor.addMenuItem = function( name, definition )
+ {
+ if ( groupsOrder[ definition.group ] )
+ menuItems[ name ] = new CKEDITOR.menuItem( this, name, definition );
+ };
+
+ editor.addMenuItems = function( definitions )
+ {
+ for ( var itemName in definitions )
+ {
+ this.addMenuItem( itemName, definitions[ itemName ] );
+ }
+ };
+
+ editor.getMenuItem = function( name )
+ {
+ return menuItems[ name ];
+ };
+ },
+
+ requires : [ 'floatpanel' ]
+});
+
+(function()
+{
+ CKEDITOR.menu = CKEDITOR.tools.createClass(
+ {
+ $ : function( editor, definition )
+ {
+ definition = this._.definition = definition || {};
+ this.id = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+ this.editor = editor;
+ this.items = [];
+
+ this._.level = definition.level || 1;
+
+ var panelDefinition = CKEDITOR.tools.extend( {}, definition.panel,
+ {
+ css : editor.skin.editor.css,
+ level : this._.level - 1,
+ block : {}
+ } );
+
+ var attrs = panelDefinition.block.attributes = ( panelDefinition.attributes || {} );
+ // Provide default role of 'menu'.
+ !attrs.role && ( attrs.role = 'menu' );
+ this._.panelDefinition = panelDefinition;
+ },
+
+ _ :
+ {
+ showSubMenu : function( index )
+ {
+ var menu = this._.subMenu,
+ item = this.items[ index ],
+ subItemDefs = item.getItems && item.getItems();
+
+ // If this item has no subitems, we just hide the submenu, if
+ // available, and return back.
+ if ( !subItemDefs )
+ {
+ this._.panel.hideChild();
+ return;
+ }
+
+ // Record parent menu focused item first (#3389).
+ var block = this._.panel.getBlock( this.id );
+ block._.focusIndex = index;
+
+ // Create the submenu, if not available, or clean the existing
+ // one.
+ if ( menu )
+ menu.removeAll();
+ else
+ {
+ menu = this._.subMenu = new CKEDITOR.menu( this.editor,
+ CKEDITOR.tools.extend( {}, this._.definition, { level : this._.level + 1 }, true ) );
+ menu.parent = this;
+ menu.onClick = CKEDITOR.tools.bind( this.onClick, this );
+ // Sub menu use their own scope for binding onEscape.
+ menu.onEscape = this.onEscape;
+ }
+
+ // Add all submenu items to the menu.
+ for ( var subItemName in subItemDefs )
+ {
+ var subItem = this.editor.getMenuItem( subItemName );
+ if ( subItem )
+ {
+ subItem.state = subItemDefs[ subItemName ];
+ menu.add( subItem );
+ }
+ }
+
+ // Get the element representing the current item.
+ var element = this._.panel.getBlock( this.id ).element.getDocument().getById( this.id + String( index ) );
+
+ // Show the submenu.
+ menu.show( element, 2 );
+ }
+ },
+
+ proto :
+ {
+ add : function( item )
+ {
+ // Later we may sort the items, but Array#sort is not stable in
+ // some browsers, here we're forcing the original sequence with
+ // 'order' attribute if it hasn't been assigned. (#3868)
+ if ( !item.order )
+ item.order = this.items.length;
+
+ this.items.push( item );
+ },
+
+ removeAll : function()
+ {
+ this.items = [];
+ },
+
+ show : function( offsetParent, corner, offsetX, offsetY )
+ {
+ var items = this.items,
+ editor = this.editor,
+ panel = this._.panel,
+ element = this._.element;
+
+ // Create the floating panel for this menu.
+ if ( !panel )
+ {
+ panel = this._.panel = new CKEDITOR.ui.floatPanel( this.editor,
+ CKEDITOR.document.getBody(),
+ this._.panelDefinition,
+ this._.level );
+
+ panel.onEscape = CKEDITOR.tools.bind( function( keystroke )
+ {
+ if ( this.onEscape && this.onEscape( keystroke ) === false )
+ return false;
+ },
+ this );
+
+ panel.onHide = CKEDITOR.tools.bind( function()
+ {
+ this.onHide && this.onHide();
+ },
+ this );
+
+ // Create an autosize block inside the panel.
+ var block = panel.addBlock( this.id, this._.panelDefinition.block );
+ block.autoSize = true;
+
+ var keys = block.keys;
+ keys[ 40 ] = 'next'; // ARROW-DOWN
+ keys[ 9 ] = 'next'; // TAB
+ keys[ 38 ] = 'prev'; // ARROW-UP
+ keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB
+ keys[ 32 ] = 'click'; // SPACE
+ keys[ ( editor.lang.dir == 'rtl' ? 37 : 39 ) ] = 'click'; // ARROW-RIGHT/ARROW-LEFT(rtl)
+
+ element = this._.element = block.element;
+ element.addClass( editor.skinClass );
+
+ var elementDoc = element.getDocument();
+ elementDoc.getBody().setStyle( 'overflow', 'hidden' );
+ elementDoc.getElementsByTag( 'html' ).getItem( 0 ).setStyle( 'overflow', 'hidden' );
+
+ this._.itemOverFn = CKEDITOR.tools.addFunction( function( index )
+ {
+ clearTimeout( this._.showSubTimeout );
+ this._.showSubTimeout = CKEDITOR.tools.setTimeout( this._.showSubMenu, editor.config.menu_subMenuDelay, this, [ index ] );
+ },
+ this);
+
+ this._.itemOutFn = CKEDITOR.tools.addFunction( function( index )
+ {
+ clearTimeout( this._.showSubTimeout );
+ },
+ this);
+
+ this._.itemClickFn = CKEDITOR.tools.addFunction( function( index )
+ {
+ var item = this.items[ index ];
+
+ if ( item.state == CKEDITOR.TRISTATE_DISABLED )
+ {
+ this.hide();
+ return;
+ }
+
+ if ( item.getItems )
+ this._.showSubMenu( index );
+ else
+ this.onClick && this.onClick( item );
+ },
+ this);
+ }
+
+ // Put the items in the right order.
+ sortItems( items );
+
+ var chromeRoot = editor.container.getChild( 1 );
+ var mixedContentClass = chromeRoot.hasClass( 'cke_mixed_dir_content' ) ? ' cke_mixed_dir_content' : '';
+
+ // Build the HTML that composes the menu and its items.
+ var output = [ '<div class="cke_menu' + mixedContentClass + '" role="presentation">' ];
+
+ var length = items.length,
+ lastGroup = length && items[ 0 ].group;
+
+ for ( var i = 0 ; i < length ; i++ )
+ {
+ var item = items[ i ];
+ if ( lastGroup != item.group )
+ {
+ output.push( '<div class="cke_menuseparator" role="separator"></div>' );
+ lastGroup = item.group;
+ }
+
+ item.render( this, i, output );
+ }
+
+ output.push( '</div>' );
+
+ // Inject the HTML inside the panel.
+ element.setHtml( output.join( '' ) );
+
+ // Show the panel.
+ if ( this.parent )
+ this.parent._.panel.showAsChild( panel, this.id, offsetParent, corner, offsetX, offsetY );
+ else
+ panel.showBlock( this.id, offsetParent, corner, offsetX, offsetY );
+
+ editor.fire( 'menuShow', [ panel ] );
+ },
+
+ hide : function()
+ {
+ this._.panel && this._.panel.hide();
+ }
+ }
+ });
+
+ function sortItems( items )
+ {
+ items.sort( function( itemA, itemB )
+ {
+ if ( itemA.group < itemB.group )
+ return -1;
+ else if ( itemA.group > itemB.group )
+ return 1;
+
+ return itemA.order < itemB.order ? -1 :
+ itemA.order > itemB.order ? 1 :
+ 0;
+ });
+ }
+})();
+
+CKEDITOR.menuItem = CKEDITOR.tools.createClass(
+{
+ $ : function( editor, name, definition )
+ {
+ CKEDITOR.tools.extend( this, definition,
+ // Defaults
+ {
+ order : 0,
+ className : 'cke_button_' + name
+ });
+
+ // Transform the group name into its order number.
+ this.group = editor._.menuGroups[ this.group ];
+
+ this.editor = editor;
+ this.name = name;
+ },
+
+ proto :
+ {
+ render : function( menu, index, output )
+ {
+ var id = menu.id + String( index ),
+ state = ( typeof this.state == 'undefined' ) ? CKEDITOR.TRISTATE_OFF : this.state;
+
+ var classes = ' cke_' + (
+ state == CKEDITOR.TRISTATE_ON ? 'on' :
+ state == CKEDITOR.TRISTATE_DISABLED ? 'disabled' :
+ 'off' );
+
+ var htmlLabel = this.label;
+
+ if ( this.className )
+ classes += ' ' + this.className;
+
+ var hasSubMenu = this.getItems;
+
+ output.push(
+ '<span class="cke_menuitem">' +
+ '<a id="', id, '"' +
+ ' class="', classes, '" href="javascript:void(\'', ( this.label || '' ).replace( "'", '' ), '\')"' +
+ ' title="', this.label, '"' +
+ ' tabindex="-1"' +
+ '_cke_focus=1' +
+ ' hidefocus="true"' +
+ ' role="menuitem"' +
+ ( hasSubMenu ? 'aria-haspopup="true"' : '' ) +
+ ( state == CKEDITOR.TRISTATE_DISABLED ? 'aria-disabled="true"' : '' ) +
+ ( state == CKEDITOR.TRISTATE_ON ? 'aria-pressed="true"' : '' ) );
+
+ // Some browsers don't cancel key events in the keydown but in the
+ // keypress.
+ // TODO: Check if really needed for Gecko+Mac.
+ if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+ {
+ output.push(
+ ' onkeypress="return false;"' );
+ }
+
+ // With Firefox, we need to force the button to redraw, otherwise it
+ // will remain in the focus state.
+ if ( CKEDITOR.env.gecko )
+ {
+ output.push(
+ ' onblur="this.style.cssText = this.style.cssText;"' );
+ }
+
+ var offset = ( this.iconOffset || 0 ) * -16;
+ output.push(
+// ' onkeydown="return CKEDITOR.ui.button._.keydown(', index, ', event);"' +
+ ' onmouseover="CKEDITOR.tools.callFunction(', menu._.itemOverFn, ',', index, ');"' +
+ ' onmouseout="CKEDITOR.tools.callFunction(', menu._.itemOutFn, ',', index, ');"' +
+ ' onclick="CKEDITOR.tools.callFunction(', menu._.itemClickFn, ',', index, '); return false;"' +
+ '>' +
+ '<span class="cke_icon_wrapper"><span class="cke_icon"' +
+ ( this.icon ? ' style="background-image:url(' + CKEDITOR.getUrl( this.icon ) + ');background-position:0 ' + offset + 'px;"'
+ : '' ) +
+ '></span></span>' +
+ '<span class="cke_label">' );
+
+ if ( hasSubMenu )
+ {
+ output.push(
+ '<span class="cke_menuarrow">',
+ '<span>&#',
+ ( this.editor.lang.dir == 'rtl' ?
+ '9668' : // BLACK LEFT-POINTING POINTER
+ '9658' ), // BLACK RIGHT-POINTING POINTER
+ ';</span>',
+ '</span>' );
+ }
+
+ output.push(
+ htmlLabel,
+ '</span>' +
+ '</a>' +
+ '</span>' );
+ }
+ }
+});
+
+/**
+ * The amount of time, in milliseconds, the editor waits before showing submenu
+ * options when moving the mouse over options that contains submenus, like the
+ * "Cell Properties" entry for tables.
+ * @type Number
+ * @default 400
+ * @example
+ * // Remove the submenu delay.
+ * config.menu_subMenuDelay = 0;
+ */
+CKEDITOR.config.menu_subMenuDelay = 400;
+
+/**
+ * A comma separated list of items group names to be displayed in the context
+ * menu. The items order will reflect the order in this list if no priority
+ * has been definted in the groups.
+ * @type String
+ * @default 'clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea'
+ * @example
+ * config.menu_groups = 'clipboard,table,anchor,link,image';
+ */
+CKEDITOR.config.menu_groups =
+ 'clipboard,' +
+ 'form,' +
+ 'tablecell,tablecellproperties,tablerow,tablecolumn,table,'+
+ 'anchor,link,image,flash,' +
+ 'checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div';
diff --git a/devel/third-party/ckeditor/plugins/menubutton/plugin.js b/devel/third-party/ckeditor/plugins/menubutton/plugin.js
new file mode 100644
index 0000000..bd98f79
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/menubutton/plugin.js
@@ -0,0 +1,94 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'menubutton',
+{
+ requires : [ 'button', 'contextmenu' ],
+ beforeInit : function( editor )
+ {
+ editor.ui.addHandler( CKEDITOR.UI_MENUBUTTON, CKEDITOR.ui.menuButton.handler );
+ }
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_MENUBUTTON = 5;
+
+(function()
+{
+ var clickFn = function( editor )
+ {
+ var _ = this._;
+
+ // Do nothing if this button is disabled.
+ if ( _.state === CKEDITOR.TRISTATE_DISABLED )
+ return;
+
+ _.previousState = _.state;
+
+ // Check if we already have a menu for it, otherwise just create it.
+ var menu = _.menu;
+ if ( !menu )
+ {
+ menu = _.menu = new CKEDITOR.plugins.contextMenu( editor );
+ menu.definition.panel.attributes[ 'aria-label' ] = editor.lang.common.options;
+
+ menu.onHide = CKEDITOR.tools.bind( function()
+ {
+ this.setState( _.previousState );
+ },
+ this );
+
+ // Initialize the menu items at this point.
+ if ( this.onMenu )
+ {
+ menu.addListener( this.onMenu );
+ }
+ }
+
+ if ( _.on )
+ {
+ menu.hide();
+ return;
+ }
+
+ this.setState( CKEDITOR.TRISTATE_ON );
+
+ menu.show( CKEDITOR.document.getById( this._.id ), 4 );
+ };
+
+
+ CKEDITOR.ui.menuButton = CKEDITOR.tools.createClass(
+ {
+ base : CKEDITOR.ui.button,
+
+ $ : function( definition )
+ {
+ // We don't want the panel definition in this object.
+ var panelDefinition = definition.panel;
+ delete definition.panel;
+
+ this.base( definition );
+
+ this.hasArrow = true;
+
+ this.click = clickFn;
+ },
+
+ statics :
+ {
+ handler :
+ {
+ create : function( definition )
+ {
+ return new CKEDITOR.ui.menuButton( definition );
+ }
+ }
+ }
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/newpage/plugin.js b/devel/third-party/ckeditor/plugins/newpage/plugin.js
new file mode 100644
index 0000000..62c5405
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/newpage/plugin.js
@@ -0,0 +1,54 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Horizontal Page Break
+ */
+
+// Register a plugin named "newpage".
+CKEDITOR.plugins.add( 'newpage',
+{
+ init : function( editor )
+ {
+ editor.addCommand( 'newpage',
+ {
+ modes : { wysiwyg:1, source:1 },
+
+ exec : function( editor )
+ {
+ var command = this;
+ editor.setData( editor.config.newpage_html, function()
+ {
+ // Save the undo snapshot after all document changes are affected. (#4889)
+ setTimeout( function ()
+ {
+ editor.fire( 'afterCommandExec',
+ {
+ name: command.name,
+ command: command
+ } );
+
+ }, 200 );
+ } );
+ editor.focus();
+ },
+ async : true
+ });
+
+ editor.ui.addButton( 'NewPage',
+ {
+ label : editor.lang.newPage,
+ command : 'newpage'
+ });
+ }
+});
+/**
+ * The HTML to load in the editor when the "new page" command is executed.
+ * @type String
+ * @default ''
+ * @example
+ * config.newpage_html = '<p>Type your text here.</p>';
+ */
+CKEDITOR.config.newpage_html = '';
diff --git a/devel/third-party/ckeditor/plugins/pagebreak/plugin.js b/devel/third-party/ckeditor/plugins/pagebreak/plugin.js
new file mode 100644
index 0000000..e3e05d5
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/pagebreak/plugin.js
@@ -0,0 +1,121 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Horizontal Page Break
+ */
+
+// Register a plugin named "pagebreak".
+CKEDITOR.plugins.add( 'pagebreak',
+{
+ init : function( editor )
+ {
+ // Register the command.
+ editor.addCommand( 'pagebreak', CKEDITOR.plugins.pagebreakCmd );
+
+ // Register the toolbar button.
+ editor.ui.addButton( 'PageBreak',
+ {
+ label : editor.lang.pagebreak,
+ command : 'pagebreak'
+ });
+
+ // Add the style that renders our placeholder.
+ editor.addCss(
+ 'img.cke_pagebreak' +
+ '{' +
+ 'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/pagebreak.gif' ) + ');' +
+ 'background-position: center center;' +
+ 'background-repeat: no-repeat;' +
+ 'clear: both;' +
+ 'display: block;' +
+ 'float: none;' +
+ 'width:100% !important; _width:99.9% !important;' +
+ 'border-top: #999999 1px dotted;' +
+ 'border-bottom: #999999 1px dotted;' +
+ 'height: 5px !important;' +
+ 'page-break-after: always;' +
+
+ '}' );
+ },
+
+ afterInit : function( editor )
+ {
+ // Register a filter to displaying placeholders after mode change.
+
+ var dataProcessor = editor.dataProcessor,
+ dataFilter = dataProcessor && dataProcessor.dataFilter;
+
+ if ( dataFilter )
+ {
+ dataFilter.addRules(
+ {
+ elements :
+ {
+ div : function( element )
+ {
+ var attributes = element.attributes,
+ style = attributes && attributes.style,
+ child = style && element.children.length == 1 && element.children[ 0 ],
+ childStyle = child && ( child.name == 'span' ) && child.attributes.style;
+
+ if ( childStyle && ( /page-break-after\s*:\s*always/i ).test( style ) && ( /display\s*:\s*none/i ).test( childStyle ) )
+ {
+ var fakeImg = editor.createFakeParserElement( element, 'cke_pagebreak', 'div' );
+ var label = editor.lang.pagebreakAlt;
+ fakeImg.attributes[ 'alt' ] = label;
+ fakeImg.attributes[ 'aria-label' ] = label;
+ return fakeImg;
+ }
+ }
+ }
+ });
+ }
+ },
+
+ requires : [ 'fakeobjects' ]
+});
+
+CKEDITOR.plugins.pagebreakCmd =
+{
+ exec : function( editor )
+ {
+ // Create the element that represents a print break.
+ var label = editor.lang.pagebreakAlt;
+ var breakObject = CKEDITOR.dom.element.createFromHtml( '<div style="page-break-after: always;"><span style="display: none;"> </span></div>' );
+
+ // Creates the fake image used for this element.
+ breakObject = editor.createFakeElement( breakObject, 'cke_pagebreak', 'div' );
+ breakObject.setAttribute( 'alt', label );
+ breakObject.setAttribute( 'aria-label', label );
+
+ var ranges = editor.getSelection().getRanges( true );
+
+ editor.fire( 'saveSnapshot' );
+
+ for ( var range, i = ranges.length - 1 ; i >= 0; i-- )
+ {
+ range = ranges[ i ];
+
+ if ( i < ranges.length -1 )
+ breakObject = breakObject.clone( true );
+
+ range.splitBlock( 'p' );
+ range.insertNode( breakObject );
+ if ( i == ranges.length - 1 )
+ {
+ range.moveToPosition( breakObject, CKEDITOR.POSITION_AFTER_END );
+ range.select();
+ }
+
+ var previous = breakObject.getPrevious();
+
+ if ( previous && CKEDITOR.dtd[ previous.getName() ].div )
+ breakObject.move( previous );
+ }
+
+ editor.fire( 'saveSnapshot' );
+ }
+};
diff --git a/devel/third-party/ckeditor/plugins/panel/plugin.js b/devel/third-party/ckeditor/plugins/panel/plugin.js
new file mode 100644
index 0000000..c7c6adb
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/panel/plugin.js
@@ -0,0 +1,398 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'panel',
+{
+ beforeInit : function( editor )
+ {
+ editor.ui.addHandler( CKEDITOR.UI_PANEL, CKEDITOR.ui.panel.handler );
+ }
+});
+
+/**
+ * Panel UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_PANEL = 2;
+
+CKEDITOR.ui.panel = function( document, definition )
+{
+ // Copy all definition properties to this object.
+ if ( definition )
+ CKEDITOR.tools.extend( this, definition );
+
+ // Set defaults.
+ CKEDITOR.tools.extend( this,
+ {
+ className : '',
+ css : []
+ });
+
+ this.id = CKEDITOR.tools.getNextNumber();
+ this.document = document;
+
+ this._ =
+ {
+ blocks : {}
+ };
+};
+
+/**
+ * Transforms a rich combo definition in a {@link CKEDITOR.ui.richCombo}
+ * instance.
+ * @type Object
+ * @example
+ */
+CKEDITOR.ui.panel.handler =
+{
+ create : function( definition )
+ {
+ return new CKEDITOR.ui.panel( definition );
+ }
+};
+
+CKEDITOR.ui.panel.prototype =
+{
+ renderHtml : function( editor )
+ {
+ var output = [];
+ this.render( editor, output );
+ return output.join( '' );
+ },
+
+ /**
+ * Renders the combo.
+ * @param {CKEDITOR.editor} editor The editor instance which this button is
+ * to be used by.
+ * @param {Array} output The output array to which append the HTML relative
+ * to this button.
+ * @example
+ */
+ render : function( editor, output )
+ {
+ var id = 'cke_' + this.id;
+
+ output.push(
+ '<div class="', editor.skinClass ,'"' +
+ ' lang="', editor.langCode, '"' +
+ ' role="presentation"' +
+ // iframe loading need sometime, keep the panel hidden(#4186).
+ ' style="display:none;z-index:' + ( editor.config.baseFloatZIndex + 1 ) + '">' +
+ '<div' +
+ ' id=', id,
+ ' dir=', editor.lang.dir,
+ ' role="presentation"' +
+ ' class="cke_panel cke_', editor.lang.dir );
+
+ if ( this.className )
+ output.push( ' ', this.className );
+
+ output.push(
+ '">' );
+
+ if ( this.forceIFrame || this.css.length )
+ {
+ output.push(
+ '<iframe id="', id, '_frame"' +
+ ' frameborder="0"' +
+ ' role="application" src="javascript:void(' );
+
+ output.push(
+ // Support for custom document.domain in IE.
+ CKEDITOR.env.isCustomDomain() ?
+ '(function(){' +
+ 'document.open();' +
+ 'document.domain=\'' + document.domain + '\';' +
+ 'document.close();' +
+ '})()'
+ :
+ '0' );
+
+ output.push(
+ ')"></iframe>' );
+ }
+
+ output.push(
+ '</div>' +
+ '</div>' );
+
+ return id;
+ },
+
+ getHolderElement : function()
+ {
+ var holder = this._.holder;
+
+ if ( !holder )
+ {
+ if ( this.forceIFrame || this.css.length )
+ {
+ var iframe = this.document.getById( 'cke_' + this.id + '_frame' ),
+ parentDiv = iframe.getParent(),
+ dir = parentDiv.getAttribute( 'dir' ),
+ className = parentDiv.getParent().getAttribute( 'class' ),
+ langCode = parentDiv.getParent().getAttribute( 'lang' ),
+ doc = iframe.getFrameDocument();
+ // Initialize the IFRAME document body.
+ doc.$.open();
+
+ // Support for custom document.domain in IE.
+ if ( CKEDITOR.env.isCustomDomain() )
+ doc.$.domain = document.domain;
+
+ var onLoad = CKEDITOR.tools.addFunction( CKEDITOR.tools.bind( function( ev )
+ {
+ this.isLoaded = true;
+ if ( this.onLoad )
+ this.onLoad();
+ }, this ) );
+
+ doc.$.write(
+ '<!DOCTYPE html>' +
+ '<html dir="' + dir + '" class="' + className + '_container" lang="' + langCode + '">' +
+ '<head>' +
+ '<style>.' + className + '_container{visibility:hidden}</style>' +
+ '</head>' +
+ '<body class="cke_' + dir + ' cke_panel_frame ' + CKEDITOR.env.cssClass + '" style="margin:0;padding:0"' +
+ ' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction(' + onLoad + ');"></body>' +
+ // It looks strange, but for FF2, the styles must go
+ // after <body>, so it (body) becames immediatelly
+ // available. (#3031)
+ CKEDITOR.tools.buildStyleHtml( this.css ) +
+ '<\/html>' );
+ doc.$.close();
+
+ var win = doc.getWindow();
+
+ // Register the CKEDITOR global.
+ win.$.CKEDITOR = CKEDITOR;
+
+ doc.on( 'keydown', function( evt )
+ {
+ var keystroke = evt.data.getKeystroke(),
+ dir = this.document.getById( 'cke_' + this.id ).getAttribute( 'dir' );
+
+ // Delegate key processing to block.
+ if ( this._.onKeyDown && this._.onKeyDown( keystroke ) === false )
+ {
+ evt.data.preventDefault();
+ return;
+ }
+
+ // ESC/ARROW-LEFT(ltr) OR ARROW-RIGHT(rtl)
+ if ( keystroke == 27 || keystroke == ( dir == 'rtl' ? 39 : 37 ) )
+ {
+ if ( this.onEscape && this.onEscape( keystroke ) === false )
+ evt.data.preventDefault( );
+ }
+ },
+ this );
+
+ holder = doc.getBody();
+ holder.unselectable();
+ }
+ else
+ holder = this.document.getById( 'cke_' + this.id );
+
+ this._.holder = holder;
+ }
+
+ return holder;
+ },
+
+ addBlock : function( name, block )
+ {
+ block = this._.blocks[ name ] = block instanceof CKEDITOR.ui.panel.block ? block
+ : new CKEDITOR.ui.panel.block( this.getHolderElement(), block );
+
+ if ( !this._.currentBlock )
+ this.showBlock( name );
+
+ return block;
+ },
+
+ getBlock : function( name )
+ {
+ return this._.blocks[ name ];
+ },
+
+ showBlock : function( name )
+ {
+ var blocks = this._.blocks,
+ block = blocks[ name ],
+ current = this._.currentBlock,
+ holder = this.forceIFrame ?
+ this.document.getById( 'cke_' + this.id + '_frame' )
+ : this._.holder;
+
+ // Disable context menu for block panel.
+ holder.getParent().getParent().disableContextMenu();
+
+ if ( current )
+ {
+ // Clean up the current block's effects on holder.
+ holder.removeAttributes( current.attributes );
+ current.hide();
+ }
+
+ this._.currentBlock = block;
+
+ holder.setAttributes( block.attributes );
+ CKEDITOR.fire( 'ariaWidget', holder );
+
+ // Reset the focus index, so it will always go into the first one.
+ block._.focusIndex = -1;
+
+ this._.onKeyDown = block.onKeyDown && CKEDITOR.tools.bind( block.onKeyDown, block );
+
+ block.onMark = function( item )
+ {
+ holder.setAttribute( 'aria-activedescendant', item.getId() + '_option' );
+ };
+
+ block.onUnmark = function()
+ {
+ holder.removeAttribute( 'aria-activedescendant' );
+ };
+
+ block.show();
+
+ return block;
+ },
+
+ destroy : function()
+ {
+ this.element && this.element.remove();
+ }
+};
+
+CKEDITOR.ui.panel.block = CKEDITOR.tools.createClass(
+{
+ $ : function( blockHolder, blockDefinition )
+ {
+ this.element = blockHolder.append(
+ blockHolder.getDocument().createElement( 'div',
+ {
+ attributes :
+ {
+ 'tabIndex' : -1,
+ 'class' : 'cke_panel_block',
+ 'role' : 'presentation'
+ },
+ styles :
+ {
+ display : 'none'
+ }
+ }) );
+
+ // Copy all definition properties to this object.
+ if ( blockDefinition )
+ CKEDITOR.tools.extend( this, blockDefinition );
+
+ if ( !this.attributes.title )
+ this.attributes.title = this.attributes[ 'aria-label' ];
+
+ this.keys = {};
+
+ this._.focusIndex = -1;
+
+ // Disable context menu for panels.
+ this.element.disableContextMenu();
+ },
+
+ _ : {
+
+ /**
+ * Mark the item specified by the index as current activated.
+ */
+ markItem: function( index )
+ {
+ if ( index == -1 )
+ return;
+ var links = this.element.getElementsByTag( 'a' );
+ var item = links.getItem( this._.focusIndex = index );
+
+ // Safari need focus on the iframe window first(#3389), but we need
+ // lock the blur to avoid hiding the panel.
+ if ( CKEDITOR.env.webkit )
+ item.getDocument().getWindow().focus();
+ item.focus();
+
+ this.onMark && this.onMark( item );
+ }
+ },
+
+ proto :
+ {
+ show : function()
+ {
+ this.element.setStyle( 'display', '' );
+ },
+
+ hide : function()
+ {
+ if ( !this.onHide || this.onHide.call( this ) !== true )
+ this.element.setStyle( 'display', 'none' );
+ },
+
+ onKeyDown : function( keystroke )
+ {
+ var keyAction = this.keys[ keystroke ];
+ switch ( keyAction )
+ {
+ // Move forward.
+ case 'next' :
+ var index = this._.focusIndex,
+ links = this.element.getElementsByTag( 'a' ),
+ link;
+
+ while ( ( link = links.getItem( ++index ) ) )
+ {
+ // Move the focus only if the element is marked with
+ // the _cke_focus and it it's visible (check if it has
+ // width).
+ if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth )
+ {
+ this._.focusIndex = index;
+ link.focus();
+ break;
+ }
+ }
+ return false;
+
+ // Move backward.
+ case 'prev' :
+ index = this._.focusIndex;
+ links = this.element.getElementsByTag( 'a' );
+
+ while ( index > 0 && ( link = links.getItem( --index ) ) )
+ {
+ // Move the focus only if the element is marked with
+ // the _cke_focus and it it's visible (check if it has
+ // width).
+ if ( link.getAttribute( '_cke_focus' ) && link.$.offsetWidth )
+ {
+ this._.focusIndex = index;
+ link.focus();
+ break;
+ }
+ }
+ return false;
+
+ case 'click' :
+ index = this._.focusIndex;
+ link = index >= 0 && this.element.getElementsByTag( 'a' ).getItem( index );
+
+ if ( link )
+ link.$.click ? link.$.click() : link.$.onclick();
+
+ return false;
+ }
+
+ return true;
+ }
+ }
+});
diff --git a/devel/third-party/ckeditor/plugins/panelbutton/plugin.js b/devel/third-party/ckeditor/plugins/panelbutton/plugin.js
new file mode 100644
index 0000000..4e017b4
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/panelbutton/plugin.js
@@ -0,0 +1,147 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'panelbutton',
+{
+ requires : [ 'button' ],
+ beforeInit : function( editor )
+ {
+ editor.ui.addHandler( CKEDITOR.UI_PANELBUTTON, CKEDITOR.ui.panelButton.handler );
+ }
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_PANELBUTTON = 4;
+
+(function()
+{
+ var clickFn = function( editor )
+ {
+ var _ = this._;
+
+ if ( _.state == CKEDITOR.TRISTATE_DISABLED )
+ return;
+
+ this.createPanel( editor );
+
+ if ( _.on )
+ {
+ _.panel.hide();
+ return;
+ }
+
+ _.panel.showBlock( this._.id, this.document.getById( this._.id ), 4 );
+ };
+
+
+ CKEDITOR.ui.panelButton = CKEDITOR.tools.createClass(
+ {
+ base : CKEDITOR.ui.button,
+
+ $ : function( definition )
+ {
+ // We don't want the panel definition in this object.
+ var panelDefinition = definition.panel;
+ delete definition.panel;
+
+ this.base( definition );
+
+ this.document = ( panelDefinition
+ && panelDefinition.parent
+ && panelDefinition.parent.getDocument() )
+ || CKEDITOR.document;
+
+ panelDefinition.block =
+ {
+ attributes : panelDefinition.attributes
+ };
+
+ this.hasArrow = true;
+
+ this.click = clickFn;
+
+ this._ =
+ {
+ panelDefinition : panelDefinition
+ };
+ },
+
+ statics :
+ {
+ handler :
+ {
+ create : function( definition )
+ {
+ return new CKEDITOR.ui.panelButton( definition );
+ }
+ }
+ },
+
+ proto :
+ {
+ createPanel : function( editor )
+ {
+ var _ = this._;
+
+ if ( _.panel )
+ return;
+
+ var panelDefinition = this._.panelDefinition || {},
+ panelBlockDefinition = this._.panelDefinition.block,
+ panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(),
+ panel = this._.panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ),
+ block = panel.addBlock( _.id, panelBlockDefinition ),
+ me = this;
+
+ panel.onShow = function()
+ {
+ if ( me.className )
+ this.element.getFirst().addClass( me.className + '_panel' );
+
+ _.oldState = me._.state;
+ me.setState( CKEDITOR.TRISTATE_ON );
+
+ _.on = 1;
+
+ if ( me.onOpen )
+ me.onOpen();
+ };
+
+ panel.onHide = function()
+ {
+ if ( me.className )
+ this.element.getFirst().removeClass( me.className + '_panel' );
+
+ me.setState( _.oldState );
+
+ _.on = 0;
+
+ if ( me.onClose )
+ me.onClose();
+ };
+
+ panel.onEscape = function()
+ {
+ panel.hide();
+ me.document.getById( _.id ).focus();
+ };
+
+ if ( this.onBlock )
+ this.onBlock( panel, block );
+
+ block.onHide = function()
+ {
+ _.on = 0;
+ me.setState( CKEDITOR.TRISTATE_OFF );
+ };
+ }
+ }
+ });
+
+})();
diff --git a/devel/third-party/ckeditor/plugins/pastefromword/filter/default.js b/devel/third-party/ckeditor/plugins/pastefromword/filter/default.js
new file mode 100644
index 0000000..61ceaf8
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/pastefromword/filter/default.js
@@ -0,0 +1,1170 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var fragmentPrototype = CKEDITOR.htmlParser.fragment.prototype,
+ elementPrototype = CKEDITOR.htmlParser.element.prototype;
+
+ fragmentPrototype.onlyChild = elementPrototype.onlyChild = function()
+ {
+ var children = this.children,
+ count = children.length,
+ firstChild = ( count == 1 ) && children[ 0 ];
+ return firstChild || null;
+ };
+
+ elementPrototype.removeAnyChildWithName = function( tagName )
+ {
+ var children = this.children,
+ childs = [],
+ child;
+
+ for ( var i = 0; i < children.length; i++ )
+ {
+ child = children[ i ];
+ if ( !child.name )
+ continue;
+
+ if ( child.name == tagName )
+ {
+ childs.push( child );
+ children.splice( i--, 1 );
+ }
+ childs = childs.concat( child.removeAnyChildWithName( tagName ) );
+ }
+ return childs;
+ };
+
+ elementPrototype.getAncestor = function( tagNameRegex )
+ {
+ var parent = this.parent;
+ while ( parent && !( parent.name && parent.name.match( tagNameRegex ) ) )
+ parent = parent.parent;
+ return parent;
+ };
+
+ fragmentPrototype.firstChild = elementPrototype.firstChild = function( evaluator )
+ {
+ var child;
+
+ for ( var i = 0 ; i < this.children.length ; i++ )
+ {
+ child = this.children[ i ];
+ if ( evaluator( child ) )
+ return child;
+ else if ( child.name )
+ {
+ child = child.firstChild( evaluator );
+ if ( child )
+ return child;
+ }
+ }
+
+ return null;
+ };
+
+ // Adding a (set) of styles to the element's 'style' attributes.
+ elementPrototype.addStyle = function( name, value, isPrepend )
+ {
+ var styleText, addingStyleText = '';
+ // name/value pair.
+ if ( typeof value == 'string' )
+ addingStyleText += name + ':' + value + ';';
+ else
+ {
+ // style literal.
+ if ( typeof name == 'object' )
+ {
+ for ( var style in name )
+ {
+ if ( name.hasOwnProperty( style ) )
+ addingStyleText += style + ':' + name[ style ] + ';';
+ }
+ }
+ // raw style text form.
+ else
+ addingStyleText += name;
+
+ isPrepend = value;
+ }
+
+ if ( !this.attributes )
+ this.attributes = {};
+
+ styleText = this.attributes.style || '';
+
+ styleText = ( isPrepend ?
+ [ addingStyleText, styleText ]
+ : [ styleText, addingStyleText ] ).join( ';' );
+
+ this.attributes.style = styleText.replace( /^;|;(?=;)/, '' );
+ };
+
+ /**
+ * Return the DTD-valid parent tag names of the specified one.
+ * @param tagName
+ */
+ CKEDITOR.dtd.parentOf = function( tagName )
+ {
+ var result = {};
+ for ( var tag in this )
+ {
+ if ( tag.indexOf( '$' ) == -1 && this[ tag ][ tagName ] )
+ result[ tag ] = 1;
+ }
+ return result;
+ };
+
+ var cssLengthRelativeUnit = /^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz){1}?/i;
+ var emptyMarginRegex = /^(?:\b0[^\s]*\s*){1,4}$/; // e.g. 0px 0pt 0px
+
+ var listBaseIndent = 0,
+ previousListItemMargin;
+
+ CKEDITOR.plugins.pastefromword =
+ {
+ utils :
+ {
+ // Create a <cke:listbullet> which indicate an list item type.
+ createListBulletMarker : function ( bulletStyle, bulletText )
+ {
+ var marker = new CKEDITOR.htmlParser.element( 'cke:listbullet' ),
+ listType;
+
+ // TODO: Support more list style type from MS-Word.
+ if ( !bulletStyle )
+ {
+ bulletStyle = 'decimal';
+ listType = 'ol';
+ }
+ else if ( bulletStyle[ 2 ] )
+ {
+ if ( !isNaN( bulletStyle[ 1 ] ) )
+ bulletStyle = 'decimal';
+ // No way to distinguish between Roman numerals and Alphas,
+ // detect them as a whole.
+ else if ( /^[a-z]+$/.test( bulletStyle[ 1 ] ) )
+ bulletStyle = 'lower-alpha';
+ else if ( /^[A-Z]+$/.test( bulletStyle[ 1 ] ) )
+ bulletStyle = 'upper-alpha';
+ // Simply use decimal for the rest forms of unrepresentable
+ // numerals, e.g. Chinese...
+ else
+ bulletStyle = 'decimal';
+
+ listType = 'ol';
+ }
+ else
+ {
+ if ( /[l\u00B7\u2002]/.test( bulletStyle[ 1 ] ) )
+ bulletStyle = 'disc';
+ else if ( /[\u006F\u00D8]/.test( bulletStyle[ 1 ] ) )
+ bulletStyle = 'circle';
+ else if ( /[\u006E\u25C6]/.test( bulletStyle[ 1 ] ) )
+ bulletStyle = 'square';
+ else
+ bulletStyle = 'disc';
+
+ listType = 'ul';
+ }
+
+ // Represent list type as CSS style.
+ marker.attributes =
+ {
+ 'cke:listtype' : listType,
+ 'style' : 'list-style-type:' + bulletStyle + ';'
+ };
+ marker.add( new CKEDITOR.htmlParser.text( bulletText ) );
+ return marker;
+ },
+
+ isListBulletIndicator : function( element )
+ {
+ var styleText = element.attributes && element.attributes.style;
+ if ( /mso-list\s*:\s*Ignore/i.test( styleText ) )
+ return true;
+ },
+
+ isContainingOnlySpaces : function( element )
+ {
+ var text;
+ return ( ( text = element.onlyChild() )
+ && ( /^(:?\s| )+$/ ).test( text.value ) );
+ },
+
+ resolveList : function( element )
+ {
+ // <cke:listbullet> indicate a list item.
+ var attrs = element.attributes,
+ listMarker;
+
+ if ( ( listMarker = element.removeAnyChildWithName( 'cke:listbullet' ) )
+ && listMarker.length
+ && ( listMarker = listMarker[ 0 ] ) )
+ {
+ element.name = 'cke:li';
+
+ if ( attrs.style )
+ {
+ attrs.style = CKEDITOR.plugins.pastefromword.filters.stylesFilter(
+ [
+ // Text-indent is not representing list item level any more.
+ [ 'text-indent' ],
+ [ 'line-height' ],
+ // Resolve indent level from 'margin-left' value.
+ [ ( /^margin(:?-left)?$/ ), null, function( margin )
+ {
+ // Be able to deal with component/short-hand form style.
+ var values = margin.split( ' ' );
+ margin = values[ 3 ] || values[ 1 ] || values [ 0 ];
+ margin = parseInt( margin, 10 );
+
+ // Figure out the indent unit by looking at the first increament.
+ if ( !listBaseIndent && previousListItemMargin && margin > previousListItemMargin )
+ listBaseIndent = margin - previousListItemMargin;
+
+ attrs[ 'cke:margin' ] = previousListItemMargin = margin;
+ } ]
+ ] )( attrs.style, element ) || '' ;
+ }
+
+ // Inherit list-type-style from bullet.
+ var listBulletAttrs = listMarker.attributes,
+ listBulletStyle = listBulletAttrs.style;
+
+ element.addStyle( listBulletStyle );
+ CKEDITOR.tools.extend( attrs, listBulletAttrs );
+ return true;
+ }
+
+ return false;
+ },
+
+ // Convert various length units to 'px' in ignorance of DPI.
+ convertToPx : ( function ()
+ {
+ var calculator = CKEDITOR.dom.element.createFromHtml(
+ '<div style="position:absolute;left:-9999px;' +
+ 'top:-9999px;margin:0px;padding:0px;border:0px;"' +
+ '></div>', CKEDITOR.document );
+ CKEDITOR.document.getBody().append( calculator );
+
+ return function( cssLength )
+ {
+ if ( cssLengthRelativeUnit.test( cssLength ) )
+ {
+ calculator.setStyle( 'width', cssLength );
+ return calculator.$.clientWidth + 'px';
+ }
+
+ return cssLength;
+ };
+ } )(),
+
+ // Providing a shorthand style then retrieve one or more style component values.
+ getStyleComponents : ( function()
+ {
+ var calculator = CKEDITOR.dom.element.createFromHtml(
+ '<div style="position:absolute;left:-9999px;top:-9999px;"></div>',
+ CKEDITOR.document );
+ CKEDITOR.document.getBody().append( calculator );
+
+ return function( name, styleValue, fetchList )
+ {
+ calculator.setStyle( name, styleValue );
+ var styles = {},
+ count = fetchList.length;
+ for ( var i = 0; i < count; i++ )
+ styles[ fetchList[ i ] ] = calculator.getStyle( fetchList[ i ] );
+
+ return styles;
+ };
+ } )(),
+
+ listDtdParents : CKEDITOR.dtd.parentOf( 'ol' )
+ },
+
+ filters :
+ {
+ // Transform a normal list into flat list items only presentation.
+ // E.g. <ul><li>level1<ol><li>level2</li></ol></li> =>
+ // <cke:li cke:listtype="ul" cke:indent="1">level1</cke:li>
+ // <cke:li cke:listtype="ol" cke:indent="2">level2</cke:li>
+ flattenList : function( element )
+ {
+ var attrs = element.attributes,
+ parent = element.parent;
+
+ var listStyleType,
+ indentLevel = 1;
+
+ // Resolve how many level nested.
+ while ( parent )
+ {
+ parent.attributes && parent.attributes[ 'cke:list'] && indentLevel++;
+ parent = parent.parent;
+ }
+
+ // All list items are of the same type.
+ switch ( attrs.type )
+ {
+ case 'a' :
+ listStyleType = 'lower-alpha';
+ break;
+ // TODO: Support more list style type from MS-Word.
+ }
+
+ var children = element.children,
+ child;
+
+ for ( var i = 0; i < children.length; i++ )
+ {
+ child = children[ i ];
+ var attributes = child.attributes;
+
+ if ( child.name in CKEDITOR.dtd.$listItem )
+ {
+ var listItemChildren = child.children,
+ count = listItemChildren.length,
+ last = listItemChildren[ count - 1 ];
+
+ // Move out nested list.
+ if ( last.name in CKEDITOR.dtd.$list )
+ {
+ children.splice( i + 1, 0, last );
+ last.parent = element;
+
+ // Remove the parent list item if it's just a holder.
+ if ( !--listItemChildren.length )
+ children.splice( i, 1 );
+ }
+
+ child.name = 'cke:li';
+ attributes[ 'cke:indent' ] = indentLevel;
+ previousListItemMargin = 0;
+ attributes[ 'cke:listtype' ] = element.name;
+ listStyleType && child.addStyle( 'list-style-type', listStyleType, true );
+ }
+ }
+
+ delete element.name;
+
+ // We're loosing tag name here, signalize this element as a list.
+ attrs[ 'cke:list' ] = 1;
+ },
+
+ /**
+ * Try to collect all list items among the children and establish one
+ * or more HTML list structures for them.
+ * @param element
+ */
+ assembleList : function( element )
+ {
+ var children = element.children, child,
+ listItem, // The current processing cke:li element.
+ listItemAttrs,
+ listType, // Determine the root type of the list.
+ listItemIndent, // Indent level of current list item.
+ lastListItem, // The previous one just been added to the list.
+ list, parentList, // Current staging list and it's parent list if any.
+ indent;
+
+ for ( var i = 0; i < children.length; i++ )
+ {
+ child = children[ i ];
+
+ if ( 'cke:li' == child.name )
+ {
+ child.name = 'li';
+ listItem = child;
+ listItemAttrs = listItem.attributes;
+ listType = listItem.attributes[ 'cke:listtype' ];
+
+ // List item indent level might come from a real list indentation or
+ // been resolved from a pseudo list item's margin value, even get
+ // no indentation at all.
+ listItemIndent = parseInt( listItemAttrs[ 'cke:indent' ], 10 )
+ || listBaseIndent && ( Math.ceil( listItemAttrs[ 'cke:margin' ] / listBaseIndent ) )
+ || 1;
+
+ // Ignore the 'list-style-type' attribute if it's matched with
+ // the list root element's default style type.
+ listItemAttrs.style && ( listItemAttrs.style =
+ CKEDITOR.plugins.pastefromword.filters.stylesFilter(
+ [
+ [ 'list-style-type', listType == 'ol' ? 'decimal' : 'disc' ]
+ ] )( listItemAttrs.style )
+ || '' );
+
+ if ( !list )
+ {
+ list = new CKEDITOR.htmlParser.element( listType );
+ list.add( listItem );
+ children[ i ] = list;
+ }
+ else
+ {
+ if ( listItemIndent > indent )
+ {
+ list = new CKEDITOR.htmlParser.element( listType );
+ list.add( listItem );
+ lastListItem.add( list );
+ }
+ else if ( listItemIndent < indent )
+ {
+ // There might be a negative gap between two list levels. (#4944)
+ var diff = indent - listItemIndent,
+ parent;
+ while ( diff-- && ( parent = list.parent ) )
+ list = parent.parent;
+
+ list.add( listItem );
+ }
+ else
+ list.add( listItem );
+
+ children.splice( i--, 1 );
+ }
+
+ lastListItem = listItem;
+ indent = listItemIndent;
+ }
+ else
+ list = null;
+ }
+
+ listBaseIndent = 0;
+ },
+
+ /**
+ * A simple filter which always rejecting.
+ */
+ falsyFilter : function( value )
+ {
+ return false;
+ },
+
+ /**
+ * A filter dedicated on the 'style' attribute filtering, e.g. dropping/replacing style properties.
+ * @param styles {Array} in form of [ styleNameRegexp, styleValueRegexp,
+ * newStyleValue/newStyleGenerator, newStyleName ] where only the first
+ * parameter is mandatory.
+ * @param whitelist {Boolean} Whether the {@param styles} will be considered as a white-list.
+ */
+ stylesFilter : function( styles, whitelist )
+ {
+ return function( styleText, element )
+ {
+ var rules = [];
+ // html-encoded quote might be introduced by 'font-family'
+ // from MS-Word which confused the following regexp. e.g.
+ //'font-family: "Lucida, Console"'
+ styleText
+ .replace( /"/g, '"' )
+ .replace( /\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,
+ function( match, name, value )
+ {
+ name = name.toLowerCase();
+ name == 'font-family' && ( value = value.replace( /["']/g, '' ) );
+
+ var namePattern,
+ valuePattern,
+ newValue,
+ newName;
+ for ( var i = 0 ; i < styles.length; i++ )
+ {
+ if ( styles[ i ] )
+ {
+ namePattern = styles[ i ][ 0 ];
+ valuePattern = styles[ i ][ 1 ];
+ newValue = styles[ i ][ 2 ];
+ newName = styles[ i ][ 3 ];
+
+ if ( name.match( namePattern )
+ && ( !valuePattern || value.match( valuePattern ) ) )
+ {
+ name = newName || name;
+ whitelist && ( newValue = newValue || value );
+
+ if ( typeof newValue == 'function' )
+ newValue = newValue( value, element, name );
+
+ // Return an couple indicate both name and value
+ // changed.
+ if ( newValue && newValue.push )
+ name = newValue[ 0 ], newValue = newValue[ 1 ];
+
+ if ( typeof newValue == 'string' )
+ rules.push( [ name, newValue ] );
+ return;
+ }
+ }
+ }
+
+ !whitelist && rules.push( [ name, value ] );
+
+ });
+
+ for ( var i = 0 ; i < rules.length ; i++ )
+ rules[ i ] = rules[ i ].join( ':' );
+ return rules.length ?
+ ( rules.join( ';' ) + ';' ) : false;
+ };
+ },
+
+ /**
+ * Migrate the element by decorate styles on it.
+ * @param styleDefiniton
+ * @param variables
+ */
+ elementMigrateFilter : function ( styleDefiniton, variables )
+ {
+ return function( element )
+ {
+ var styleDef =
+ variables ?
+ new CKEDITOR.style( styleDefiniton, variables )._.definition
+ : styleDefiniton;
+ element.name = styleDef.element;
+ CKEDITOR.tools.extend( element.attributes, CKEDITOR.tools.clone( styleDef.attributes ) );
+ element.addStyle( CKEDITOR.style.getStyleText( styleDef ) );
+ };
+ },
+
+ /**
+ * Migrate styles by creating a new nested stylish element.
+ * @param styleDefinition
+ */
+ styleMigrateFilter : function( styleDefinition, variableName )
+ {
+
+ var elementMigrateFilter = this.elementMigrateFilter;
+ return function( value, element )
+ {
+ // Build an stylish element first.
+ var styleElement = new CKEDITOR.htmlParser.element( null ),
+ variables = {};
+
+ variables[ variableName ] = value;
+ elementMigrateFilter( styleDefinition, variables )( styleElement );
+ // Place the new element inside the existing span.
+ styleElement.children = element.children;
+ element.children = [ styleElement ];
+ };
+ },
+
+ /**
+ * A filter which remove cke-namespaced-attribute on
+ * all none-cke-namespaced elements.
+ * @param value
+ * @param element
+ */
+ bogusAttrFilter : function( value, element )
+ {
+ if ( element.name.indexOf( 'cke:' ) == -1 )
+ return false;
+ },
+
+ /**
+ * A filter which will be used to apply inline css style according the stylesheet
+ * definition rules, is generated lazily when filtering.
+ */
+ applyStyleFilter : null
+
+ },
+
+ getRules : function( editor )
+ {
+ var dtd = CKEDITOR.dtd,
+ blockLike = CKEDITOR.tools.extend( {}, dtd.$block, dtd.$listItem, dtd.$tableContent ),
+ config = editor.config,
+ filters = this.filters,
+ falsyFilter = filters.falsyFilter,
+ stylesFilter = filters.stylesFilter,
+ elementMigrateFilter = filters.elementMigrateFilter,
+ styleMigrateFilter = CKEDITOR.tools.bind( this.filters.styleMigrateFilter, this.filters ),
+ createListBulletMarker = this.utils.createListBulletMarker,
+ flattenList = filters.flattenList,
+ assembleList = filters.assembleList,
+ isListBulletIndicator = this.utils.isListBulletIndicator,
+ containsNothingButSpaces = this.utils.isContainingOnlySpaces,
+ resolveListItem = this.utils.resolveList,
+ convertToPx = this.utils.convertToPx,
+ getStyleComponents = this.utils.getStyleComponents,
+ listDtdParents = this.utils.listDtdParents,
+ removeFontStyles = config.pasteFromWordRemoveFontStyles !== false,
+ removeStyles = config.pasteFromWordRemoveStyles !== false;
+
+ return {
+
+ elementNames :
+ [
+ // Remove script, meta and link elements.
+ [ ( /meta|link|script/ ), '' ]
+ ],
+
+ root : function( element )
+ {
+ element.filterChildren();
+ assembleList( element );
+ },
+
+ elements :
+ {
+ '^' : function( element )
+ {
+ // Transform CSS style declaration to inline style.
+ var applyStyleFilter;
+ if ( CKEDITOR.env.gecko && ( applyStyleFilter = filters.applyStyleFilter ) )
+ applyStyleFilter( element );
+ },
+
+ $ : function( element )
+ {
+ var tagName = element.name || '',
+ attrs = element.attributes;
+
+ // Convert length unit of width/height on blocks to
+ // a more editor-friendly way (px).
+ if ( tagName in blockLike
+ && attrs.style )
+ {
+ attrs.style = stylesFilter(
+ [ [ ( /^(:?width|height)$/ ), null, convertToPx ] ] )( attrs.style ) || '';
+ }
+
+ // Processing headings.
+ if ( tagName.match( /h\d/ ) )
+ {
+ element.filterChildren();
+ // Is the heading actually a list item?
+ if ( resolveListItem( element ) )
+ return;
+
+ // Adapt heading styles to editor's convention.
+ elementMigrateFilter( config[ 'format_' + tagName ] )( element );
+ }
+ // Remove inline elements which contain only empty spaces.
+ else if ( tagName in dtd.$inline )
+ {
+ element.filterChildren();
+ if ( containsNothingButSpaces( element ) )
+ delete element.name;
+ }
+ // Remove element with ms-office namespace,
+ // with it's content preserved, e.g. 'o:p'.
+ else if ( tagName.indexOf( ':' ) != -1
+ && tagName.indexOf( 'cke' ) == -1 )
+ {
+ element.filterChildren();
+
+ // Restore image real link from vml.
+ if ( tagName == 'v:imagedata' )
+ {
+ var href = element.attributes[ 'o:href' ];
+ if ( href )
+ element.attributes.src = href;
+ element.name = 'img';
+ return;
+ }
+ delete element.name;
+ }
+
+ // Assembling list items into a whole list.
+ if ( tagName in listDtdParents )
+ {
+ element.filterChildren();
+ assembleList( element );
+ }
+ },
+
+ // We'll drop any style sheet, but Firefox conclude
+ // certain styles in a single style element, which are
+ // required to be changed into inline ones.
+ 'style' : function( element )
+ {
+ if ( CKEDITOR.env.gecko )
+ {
+ // Grab only the style definition section.
+ var styleDefSection = element.onlyChild().value.match( /\/\* Style Definitions \*\/([\s\S]*?)\/\*/ ),
+ styleDefText = styleDefSection && styleDefSection[ 1 ],
+ rules = {}; // Storing the parsed result.
+
+ if ( styleDefText )
+ {
+ styleDefText
+ // Remove line-breaks.
+ .replace(/[\n\r]/g,'')
+ // Extract selectors and style properties.
+ .replace( /(.+?)\{(.+?)\}/g,
+ function( rule, selectors, styleBlock )
+ {
+ selectors = selectors.split( ',' );
+ var length = selectors.length, selector;
+ for ( var i = 0; i < length; i++ )
+ {
+ // Assume MS-Word mostly generate only simple
+ // selector( [Type selector][Class selector]).
+ CKEDITOR.tools.trim( selectors[ i ] )
+ .replace( /^(\w+)(\.[\w-]+)?$/g,
+ function( match, tagName, className )
+ {
+ tagName = tagName || '*';
+ className = className.substring( 1, className.length );
+
+ // Reject MS-Word Normal styles.
+ if ( className.match( /MsoNormal/ ) )
+ return;
+
+ if ( !rules[ tagName ] )
+ rules[ tagName ] = {};
+ if ( className )
+ rules[ tagName ][ className ] = styleBlock;
+ else
+ rules[ tagName ] = styleBlock;
+ } );
+ }
+ });
+
+ filters.applyStyleFilter = function( element )
+ {
+ var name = rules[ '*' ] ? '*' : element.name,
+ className = element.attributes && element.attributes[ 'class' ],
+ style;
+ if ( name in rules )
+ {
+ style = rules[ name ];
+ if ( typeof style == 'object' )
+ style = style[ className ];
+ // Maintain style rules priorities.
+ style && element.addStyle( style, true );
+ }
+ };
+ }
+ }
+ return false;
+ },
+
+ 'p' : function( element )
+ {
+ element.filterChildren();
+
+ // Is the paragraph actually a list item?
+ if ( resolveListItem( element ) )
+ return;
+
+ // Adapt paragraph formatting to editor's convention
+ // according to enter-mode.
+ if ( config.enterMode == CKEDITOR.ENTER_BR )
+ {
+ // We suffer from attribute/style lost in this situation.
+ delete element.name;
+ element.add( new CKEDITOR.htmlParser.element( 'br' ) );
+ }
+ else
+ elementMigrateFilter( config[ 'format_' + ( config.enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) ] )( element );
+ },
+
+ 'div' : function( element )
+ {
+ // Aligned table with no text surrounded is represented by a wrapper div, from which
+ // table cells inherit as text-align styles, which is wrong.
+ // Instead we use a clear-float div after the table to properly achieve the same layout.
+ var singleChild = element.onlyChild();
+ if ( singleChild && singleChild.name == 'table' )
+ {
+ var attrs = element.attributes;
+ singleChild.attributes = CKEDITOR.tools.extend( singleChild.attributes, attrs );
+ attrs.style && singleChild.addStyle( attrs.style );
+
+ var clearFloatDiv = new CKEDITOR.htmlParser.element( 'div' );
+ clearFloatDiv.addStyle( 'clear' ,'both' );
+ element.add( clearFloatDiv );
+ delete element.name;
+ }
+ },
+
+ 'td' : function ( element )
+ {
+ // 'td' in 'thead' is actually <th>.
+ if ( element.getAncestor( 'thead') )
+ element.name = 'th';
+ },
+
+ // MS-Word sometimes present list as a mixing of normal list
+ // and pseudo-list, normalize the previous ones into pseudo form.
+ 'ol' : flattenList,
+ 'ul' : flattenList,
+ 'dl' : flattenList,
+
+ 'font' : function( element )
+ {
+ // IE/Safari: drop the font tag if it comes from list bullet text.
+ if ( !CKEDITOR.env.gecko && isListBulletIndicator( element.parent ) )
+ {
+ delete element.name;
+ return;
+ }
+
+ element.filterChildren();
+
+ var attrs = element.attributes,
+ styleText = attrs.style,
+ parent = element.parent;
+
+ if ( 'font' == parent.name ) // Merge nested <font> tags.
+ {
+ CKEDITOR.tools.extend( parent.attributes,
+ element.attributes );
+ styleText && parent.addStyle( styleText );
+ delete element.name;
+ }
+ // Convert the merged into a span with all attributes preserved.
+ else
+ {
+ styleText = styleText || '';
+ // IE's having those deprecated attributes, normalize them.
+ if ( attrs.color )
+ {
+ attrs.color != '#000000' && ( styleText += 'color:' + attrs.color + ';' );
+ delete attrs.color;
+ }
+ if ( attrs.face )
+ {
+ styleText += 'font-family:' + attrs.face + ';';
+ delete attrs.face;
+ }
+ // TODO: Mapping size in ranges of xx-small,
+ // x-small, small, medium, large, x-large, xx-large.
+ if ( attrs.size )
+ {
+ styleText += 'font-size:' +
+ ( attrs.size > 3 ? 'large'
+ : ( attrs.size < 3 ? 'small' : 'medium' ) ) + ';';
+ delete attrs.size;
+ }
+
+ element.name = 'span';
+ element.addStyle( styleText );
+ }
+ },
+
+ 'span' : function( element )
+ {
+ // IE/Safari: remove the span if it comes from list bullet text.
+ if ( !CKEDITOR.env.gecko && isListBulletIndicator( element.parent ) )
+ return false;
+
+ element.filterChildren();
+ if ( containsNothingButSpaces( element ) )
+ {
+ delete element.name;
+ return null;
+ }
+
+ // For IE/Safari: List item bullet type is supposed to be indicated by
+ // the text of a span with style 'mso-list : Ignore' or an image.
+ if ( !CKEDITOR.env.gecko && isListBulletIndicator( element ) )
+ {
+ var listSymbolNode = element.firstChild( function( node )
+ {
+ return node.value || node.name == 'img';
+ });
+
+ var listSymbol = listSymbolNode && ( listSymbolNode.value || 'l.' ),
+ listType = listSymbol.match( /^([^\s]+?)([.)]?)$/ );
+ return createListBulletMarker( listType, listSymbol );
+ }
+
+ // Update the src attribute of image element with href.
+ var children = element.children,
+ attrs = element.attributes,
+ styleText = attrs && attrs.style,
+ firstChild = children && children[ 0 ];
+
+ // Assume MS-Word mostly carry font related styles on <span>,
+ // adapting them to editor's convention.
+ if ( styleText )
+ {
+ attrs.style = stylesFilter(
+ [
+ // Drop 'inline-height' style which make lines overlapping.
+ [ 'line-height' ],
+ [ ( /^font-family$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'font_style' ], 'family' ) : null ] ,
+ [ ( /^font-size$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'fontSize_style' ], 'size' ) : null ] ,
+ [ ( /^color$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'colorButton_foreStyle' ], 'color' ) : null ] ,
+ [ ( /^background-color$/ ), null, !removeFontStyles ? styleMigrateFilter( config[ 'colorButton_backStyle' ], 'color' ) : null ]
+ ] )( styleText, element ) || '';
+ }
+
+ return null;
+ },
+
+ // Migrate basic style formats to editor configured ones.
+ 'b' : elementMigrateFilter( config[ 'coreStyles_bold' ] ),
+ 'i' : elementMigrateFilter( config[ 'coreStyles_italic' ] ),
+ 'u' : elementMigrateFilter( config[ 'coreStyles_underline' ] ),
+ 's' : elementMigrateFilter( config[ 'coreStyles_strike' ] ),
+ 'sup' : elementMigrateFilter( config[ 'coreStyles_superscript' ] ),
+ 'sub' : elementMigrateFilter( config[ 'coreStyles_subscript' ] ),
+ // Editor doesn't support anchor with content currently (#3582),
+ // drop such anchors with content preserved.
+ 'a' : function( element )
+ {
+ var attrs = element.attributes;
+ if ( attrs && !attrs.href && attrs.name )
+ delete element.name;
+ },
+ 'cke:listbullet' : function( element )
+ {
+ if ( element.getAncestor( /h\d/ ) && !config.pasteFromWordNumberedHeadingToList )
+ delete element.name;
+ }
+ },
+
+ attributeNames :
+ [
+ // Remove onmouseover and onmouseout events (from MS Word comments effect)
+ [ ( /^onmouse(:?out|over)/ ), '' ],
+ // Onload on image element.
+ [ ( /^onload$/ ), '' ],
+ // Remove office and vml attribute from elements.
+ [ ( /(?:v|o):\w+/ ), '' ],
+ // Remove lang/language attributes.
+ [ ( /^lang/ ), '' ]
+ ],
+
+ attributes :
+ {
+ 'style' : stylesFilter(
+ removeStyles ?
+ // Provide a white-list of styles that we preserve, those should
+ // be the ones that could later be altered with editor tools.
+ [
+ // Preserve margin-left/right which used as default indent style in the editor.
+ [ ( /^margin$|^margin-(?!bottom|top)/ ), null, function( value, element, name )
+ {
+ if ( element.name in { p : 1, div : 1 } )
+ {
+ var indentStyleName = config.contentsLangDirection == 'ltr' ?
+ 'margin-left' : 'margin-right';
+
+ // Extract component value from 'margin' shorthand.
+ if ( name == 'margin' )
+ {
+ value = getStyleComponents( name, value,
+ [ indentStyleName ] )[ indentStyleName ];
+ }
+ else if ( name != indentStyleName )
+ return null;
+
+ if ( value && !emptyMarginRegex.test( value ) )
+ return [ indentStyleName, value ];
+ }
+
+ return null;
+ } ],
+
+ // Preserve clear float style.
+ [ ( /^clear$/ ) ],
+
+ [ ( /^border.*|margin.*|vertical-align|float$/ ), null,
+ function( value, element )
+ {
+ if ( element.name == 'img' )
+ return value;
+ } ],
+
+ [ (/^width|height$/ ), null,
+ function( value, element )
+ {
+ if ( element.name in { table : 1, td : 1, th : 1, img : 1 } )
+ return value;
+ } ]
+ ] :
+ // Otherwise provide a black-list of styles that we remove.
+ [
+ [ ( /^mso-/ ) ],
+ // Fixing color values.
+ [ ( /-color$/ ), null, function( value )
+ {
+ if ( value == 'transparent' )
+ return false;
+ if ( CKEDITOR.env.gecko )
+ return value.replace( /-moz-use-text-color/g, 'transparent' );
+ } ],
+ // Remove empty margin values, e.g. 0.00001pt 0em 0pt
+ [ ( /^margin$/ ), emptyMarginRegex ],
+ [ 'text-indent', '0cm' ],
+ [ 'page-break-before' ],
+ [ 'tab-stops' ],
+ [ 'display', 'none' ],
+ removeFontStyles ? [ ( /font-?/ ) ] : null
+ ], removeStyles ),
+
+ // Prefer width styles over 'width' attributes.
+ 'width' : function( value, element )
+ {
+ if ( element.name in dtd.$tableContent )
+ return false;
+ },
+ // Prefer border styles over table 'border' attributes.
+ 'border' : function( value, element )
+ {
+ if ( element.name in dtd.$tableContent )
+ return false;
+ },
+
+ // Only Firefox carry style sheet from MS-Word, which
+ // will be applied by us manually. For other browsers
+ // the css className is useless.
+ 'class' : falsyFilter,
+
+ // MS-Word always generate 'background-color' along with 'bgcolor',
+ // simply drop the deprecated attributes.
+ 'bgcolor' : falsyFilter,
+
+ // Deprecate 'valign' attribute in favor of 'vertical-align'.
+ 'valign' : removeStyles ? falsyFilter : function( value, element )
+ {
+ element.addStyle( 'vertical-align', value );
+ return false;
+ }
+ },
+
+ // Fore none-IE, some useful data might be buried under these IE-conditional
+ // comments where RegExp were the right approach to dig them out where usual approach
+ // is transform it into a fake element node which hold the desired data.
+ comment :
+ !CKEDITOR.env.ie ?
+ function( value, node )
+ {
+ var imageInfo = value.match( /<img.*?>/ ),
+ listInfo = value.match( /^\[if !supportLists\]([\s\S]*?)\[endif\]$/ );
+
+ // Seek for list bullet indicator.
+ if ( listInfo )
+ {
+ // Bullet symbol could be either text or an image.
+ var listSymbol = listInfo[ 1 ] || ( imageInfo && 'l.' ),
+ listType = listSymbol && listSymbol.match( />([^\s]+?)([.)]?)</ );
+ return createListBulletMarker( listType, listSymbol );
+ }
+
+ // Reveal the <img> element in conditional comments for Firefox.
+ if ( CKEDITOR.env.gecko && imageInfo )
+ {
+ var img = CKEDITOR.htmlParser.fragment.fromHtml( imageInfo[ 0 ] ).children[ 0 ],
+ previousComment = node.previous,
+ // Try to dig the real image link from vml markup from previous comment text.
+ imgSrcInfo = previousComment && previousComment.value.match( /<v:imagedata[^>]*o:href=['"](.*?)['"]/ ),
+ imgSrc = imgSrcInfo && imgSrcInfo[ 1 ];
+
+ // Is there a real 'src' url to be used?
+ imgSrc && ( img.attributes.src = imgSrc );
+ return img;
+ }
+
+ return false;
+ }
+ : falsyFilter
+ };
+ }
+ };
+
+ // The paste processor here is just a reduced copy of html data processor.
+ var pasteProcessor = function()
+ {
+ this.dataFilter = new CKEDITOR.htmlParser.filter();
+ };
+
+ pasteProcessor.prototype =
+ {
+ toHtml : function( data )
+ {
+ var fragment = CKEDITOR.htmlParser.fragment.fromHtml( data, false ),
+ writer = new CKEDITOR.htmlParser.basicWriter();
+
+ fragment.writeHtml( writer, this.dataFilter );
+ return writer.getHtml( true );
+ }
+ };
+
+ CKEDITOR.cleanWord = function( data, editor )
+ {
+ // Firefox will be confused by those downlevel-revealed IE conditional
+ // comments, fixing them first( convert it to upperlevel-revealed one ).
+ // e.g. <![if !vml]>...<![endif]>
+ if ( CKEDITOR.env.gecko )
+ data = data.replace( /(<!--\[if[^<]*?\])-->([\S\s]*?)<!--(\[endif\]-->)/gi, '$1$2$3' );
+
+ var dataProcessor = new pasteProcessor(),
+ dataFilter = dataProcessor.dataFilter;
+
+ // These rules will have higher priorities than default ones.
+ dataFilter.addRules( CKEDITOR.plugins.pastefromword.getRules( editor ) );
+
+ // Allow extending data filter rules.
+ editor.fire( 'beforeCleanWord', { filter : dataFilter } );
+
+ try
+ {
+ data = dataProcessor.toHtml( data, false );
+ }
+ catch ( e )
+ {
+ alert( editor.lang.pastefromword.error );
+ }
+
+ /* Below post processing those things that are unable to delivered by filter rules. */
+
+ // Remove 'cke' namespaced attribute used in filter rules as marker.
+ data = data.replace( /cke:.*?".*?"/g, '' );
+
+ // Remove empty style attribute.
+ data = data.replace( /style=""/g, '' );
+
+ // Remove the dummy spans ( having no inline style ).
+ data = data.replace( /<span>/g, '' );
+
+ return data;
+ };
+})();
+
+/**
+ * Whether to ignore all font related formatting styles, including:
+ * <ul> <li>font size;</li>
+ * <li>font family;</li>
+ * <li>font foreground/background color.</li></ul>
+ * @name CKEDITOR.config.pasteFromWordRemoveFontStyles
+ * @since 3.1
+ * @type Boolean
+ * @default true
+ * @example
+ * config.pasteFromWordRemoveFontStyles = false;
+ */
+
+/**
+ * Whether to transform MS Word outline numbered headings into lists.
+ * @name CKEDITOR.config.pasteFromWordNumberedHeadingToList
+ * @since 3.1
+ * @type Boolean
+ * @default false
+ * @example
+ * config.pasteFromWordNumberedHeadingToList = true;
+ */
+
+/**
+ * Whether to remove element styles that can't be managed with the editor. Note
+ * that this doesn't handle the font specific styles, which depends on the
+ * {@link CKEDITOR.config.pasteFromWordRemoveFontStyles} setting instead.
+ * @name CKEDITOR.config.pasteFromWordRemoveStyles
+ * @since 3.1
+ * @type Boolean
+ * @default true
+ * @example
+ * config.pasteFromWordRemoveStyles = false;
+ */
diff --git a/devel/third-party/ckeditor/plugins/pastefromword/plugin.js b/devel/third-party/ckeditor/plugins/pastefromword/plugin.js
new file mode 100644
index 0000000..d50b3f0
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/pastefromword/plugin.js
@@ -0,0 +1,122 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+(function()
+{
+ CKEDITOR.plugins.add( 'pastefromword',
+ {
+ init : function( editor )
+ {
+
+ // Flag indicate this command is actually been asked instead of a generic
+ // pasting.
+ var forceFromWord = 0;
+ var resetFromWord = function()
+ {
+ setTimeout( function() { forceFromWord = 0; }, 0 );
+ };
+
+ // Features bring by this command beside the normal process:
+ // 1. No more bothering of user about the clean-up.
+ // 2. Perform the clean-up even if content is not from MS-Word.
+ // (e.g. from a MS-Word similar application.)
+ editor.addCommand( 'pastefromword',
+ {
+ canUndo : false,
+ exec : function()
+ {
+ forceFromWord = 1;
+ if ( editor.execCommand( 'paste' ) === false )
+ {
+ editor.on( 'dialogHide', function ( evt )
+ {
+ evt.removeListener();
+ resetFromWord();
+ });
+ }
+ else
+ resetFromWord();
+ }
+ });
+
+ // Register the toolbar button.
+ editor.ui.addButton( 'PasteFromWord',
+ {
+ label : editor.lang.pastefromword.toolbar,
+ command : 'pastefromword'
+ });
+
+ editor.on( 'paste', function( evt )
+ {
+ var data = evt.data,
+ mswordHtml;
+
+ // MS-WORD format sniffing.
+ if ( ( mswordHtml = data[ 'html' ] )
+ && ( forceFromWord || ( /(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/ ).test( mswordHtml ) ) )
+ {
+ var isLazyLoad = this.loadFilterRules( function()
+ {
+ // Event continuation with the original data.
+ if ( isLazyLoad )
+ editor.fire( 'paste', data );
+ else if ( !editor.config.pasteFromWordPromptCleanup
+ || ( forceFromWord || confirm( editor.lang.pastefromword.confirmCleanup ) ) )
+ {
+ data[ 'html' ] = CKEDITOR.cleanWord( mswordHtml, editor );
+ }
+ });
+
+ // The cleanup rules are to be loaded, we should just cancel
+ // this event.
+ isLazyLoad && evt.cancel();
+ }
+ }, this );
+ },
+
+ loadFilterRules : function( callback )
+ {
+
+ var isLoaded = CKEDITOR.cleanWord;
+
+ if ( isLoaded )
+ callback();
+ else
+ {
+ var filterFilePath = CKEDITOR.getUrl(
+ CKEDITOR.config.pasteFromWordCleanupFile
+ || ( this.path + 'filter/default.js' ) );
+
+ // Load with busy indicator.
+ CKEDITOR.scriptLoader.load( filterFilePath, callback, null, false, true );
+ }
+
+ return !isLoaded;
+ }
+ });
+})();
+
+/**
+ * Whether to prompt the user about the clean up of content being pasted from
+ * MS Word.
+ * @name CKEDITOR.config.pasteFromWordPromptCleanup
+ * @since 3.1
+ * @type Boolean
+ * @default undefined
+ * @example
+ * config.pasteFromWordPromptCleanup = true;
+ */
+
+/**
+ * The file that provides the MS Word cleanup function for pasting operations.
+ * Note: This is a global configuration shared by all editor instances present
+ * in the page.
+ * @name CKEDITOR.config.pasteFromWordCleanupFile
+ * @since 3.1
+ * @type String
+ * @default 'default'
+ * @example
+ * // Load from 'pastefromword' plugin 'filter' sub folder (custom.js file).
+ * CKEDITOR.config.pasteFromWordCleanupFile = 'custom';
+ */
diff --git a/devel/third-party/ckeditor/plugins/pastetext/dialogs/pastetext.js b/devel/third-party/ckeditor/plugins/pastetext/dialogs/pastetext.js
new file mode 100644
index 0000000..82e4217
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/pastetext/dialogs/pastetext.js
@@ -0,0 +1,70 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ CKEDITOR.dialog.add( 'pastetext', function( editor )
+ {
+ return {
+ title : editor.lang.pasteText.title,
+
+ minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 368 : 350,
+ minHeight : 240,
+
+ onShow : function()
+ {
+ // Reset the textarea value.
+ this.getContentElement( 'general', 'content' ).getInputElement().setValue( '' );
+ },
+
+ onOk : function()
+ {
+ // Get the textarea value.
+ var text = this.getContentElement( 'general', 'content' ).getInputElement().getValue(),
+ editor = this.getParentEditor();
+
+ setTimeout( function()
+ {
+ editor.fire( 'paste', { 'text' : text } );
+ }, 0 );
+ },
+
+ contents :
+ [
+ {
+ label : editor.lang.common.generalTab,
+ id : 'general',
+ elements :
+ [
+ {
+ type : 'html',
+ id : 'pasteMsg',
+ html : '<div style="white-space:normal;width:340px;">' + editor.lang.clipboard.pasteMsg + '</div>'
+ },
+ {
+ type : 'textarea',
+ id : 'content',
+ className : 'cke_pastetext',
+
+ onLoad : function()
+ {
+ var label = this.getDialog().getContentElement( 'general', 'pasteMsg' ).getElement(),
+ input = this.getElement().getElementsByTag( 'textarea' ).getItem( 0 );
+
+ input.setAttribute( 'aria-labelledby', label.$.id );
+ input.setStyle( 'direction', editor.config.contentsLangDirection );
+ },
+
+ focus : function()
+ {
+ this.getElement().focus();
+ }
+ }
+ ]
+ }
+ ]
+ };
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/pastetext/plugin.js b/devel/third-party/ckeditor/plugins/pastetext/plugin.js
new file mode 100644
index 0000000..2d03974
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/pastetext/plugin.js
@@ -0,0 +1,145 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Paste as plain text plugin
+ */
+
+(function()
+{
+ // The pastetext command definition.
+ var pasteTextCmd =
+ {
+ exec : function( editor )
+ {
+ var clipboardText = CKEDITOR.tools.tryThese(
+ function()
+ {
+ var clipboardText = window.clipboardData.getData( 'Text' );
+ if ( !clipboardText )
+ throw 0;
+ return clipboardText;
+ }
+ // Any other approach that's working...
+ );
+
+ if ( !clipboardText ) // Clipboard access privilege is not granted.
+ {
+ editor.openDialog( 'pastetext' );
+ return false;
+ }
+ else
+ editor.fire( 'paste', { 'text' : clipboardText } );
+
+ return true;
+ }
+ };
+
+ function doInsertText( doc, text )
+ {
+ // Native text insertion.
+ if ( CKEDITOR.env.ie )
+ {
+ var selection = doc.selection;
+ if ( selection.type == 'Control' )
+ selection.clear();
+ selection.createRange().pasteHTML( text );
+ }
+ else
+ doc.execCommand( 'inserthtml', false, text );
+ }
+
+ // Register the plugin.
+ CKEDITOR.plugins.add( 'pastetext',
+ {
+ init : function( editor )
+ {
+ var commandName = 'pastetext',
+ command = editor.addCommand( commandName, pasteTextCmd );
+
+ editor.ui.addButton( 'PasteText',
+ {
+ label : editor.lang.pasteText.button,
+ command : commandName
+ });
+
+ CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/pastetext.js' ) );
+
+ if ( editor.config.forcePasteAsPlainText )
+ {
+ // Intercept the default pasting process.
+ editor.on( 'beforeCommandExec', function ( evt )
+ {
+ if ( evt.data.name == 'paste' )
+ {
+ editor.execCommand( 'pastetext' );
+ evt.cancel();
+ }
+ }, null, null, 0 );
+ }
+ },
+
+ requires : [ 'clipboard' ]
+ });
+
+ function doEnter( editor, mode, times, forceMode )
+ {
+ while ( times-- )
+ {
+ CKEDITOR.plugins.enterkey[ mode == CKEDITOR.ENTER_BR ? 'enterBr' : 'enterBlock' ]
+ ( editor, mode, null, forceMode );
+ }
+ }
+
+ CKEDITOR.editor.prototype.insertText = function( text )
+ {
+ this.focus();
+ this.fire( 'saveSnapshot' );
+
+ var mode = this.getSelection().getStartElement().hasAscendant( 'pre', true ) ? CKEDITOR.ENTER_BR : this.config.enterMode,
+ isEnterBrMode = mode == CKEDITOR.ENTER_BR,
+ doc = this.document.$,
+ self = this,
+ line;
+
+ text = CKEDITOR.tools.htmlEncode( text.replace( /\r\n|\r/g, '\n' ) );
+
+ var startIndex = 0;
+ text.replace( /\n+/g, function( match, lastIndex )
+ {
+ line = text.substring( startIndex, lastIndex );
+ startIndex = lastIndex + match.length;
+ line.length && doInsertText( doc, line );
+
+ var lineBreakNums = match.length,
+ // Duo consequence line-break as a enter block.
+ enterBlockTimes = isEnterBrMode ? 0 : Math.floor( lineBreakNums / 2 ),
+ // Per link-break as a enter br.
+ enterBrTimes = isEnterBrMode ? lineBreakNums : lineBreakNums % 2;
+
+ // Line-breaks are converted to editor enter key strokes.
+ doEnter( self, mode, enterBlockTimes );
+ doEnter( self, CKEDITOR.ENTER_BR, enterBrTimes, isEnterBrMode ? false : true );
+ });
+
+ // Insert the last text line of text.
+ line = text.substring( startIndex, text.length );
+ line.length && doInsertText( doc, line );
+
+ this.fire( 'saveSnapshot' );
+ };
+})();
+
+
+/**
+ * Whether to force all pasting operations to insert on plain text into the
+ * editor, loosing any formatting information possibly available in the source
+ * text.
+ * @name CKEDITOR.config.forcePasteAsPlainText
+ * @type Boolean
+ * @default false
+ * @example
+ * config.forcePasteAsPlainText = true;
+ */
diff --git a/devel/third-party/ckeditor/plugins/popup/plugin.js b/devel/third-party/ckeditor/plugins/popup/plugin.js
new file mode 100644
index 0000000..fb7f2c4
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/popup/plugin.js
@@ -0,0 +1,64 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'popup' );
+
+CKEDITOR.tools.extend( CKEDITOR.editor.prototype,
+{
+ /**
+ * Opens Browser in a popup. The "width" and "height" parameters accept
+ * numbers (pixels) or percent (of screen size) values.
+ * @param {String} url The url of the external file browser.
+ * @param {String} width Popup window width.
+ * @param {String} height Popup window height.
+ * @param {String} options Popup window features.
+ */
+ popup : function( url, width, height, options )
+ {
+ width = width || '80%';
+ height = height || '70%';
+
+ if ( typeof width == 'string' && width.length > 1 && width.substr( width.length - 1, 1 ) == '%' )
+ width = parseInt( window.screen.width * parseInt( width, 10 ) / 100, 10 );
+
+ if ( typeof height == 'string' && height.length > 1 && height.substr( height.length - 1, 1 ) == '%' )
+ height = parseInt( window.screen.height * parseInt( height, 10 ) / 100, 10 );
+
+ if ( width < 640 )
+ width = 640;
+
+ if ( height < 420 )
+ height = 420;
+
+ var top = parseInt( ( window.screen.height - height ) / 2, 10 ),
+ left = parseInt( ( window.screen.width - width ) / 2, 10 );
+
+ options = ( options || 'location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,scrollbars=yes' ) +
+ ',width=' + width +
+ ',height=' + height +
+ ',top=' + top +
+ ',left=' + left;
+
+ var popupWindow = window.open( '', null, options, true );
+
+ // Blocked by a popup blocker.
+ if ( !popupWindow )
+ return false;
+
+ try
+ {
+ popupWindow.moveTo( left, top );
+ popupWindow.resizeTo( width, height );
+ popupWindow.focus();
+ popupWindow.location.href = url;
+ }
+ catch (e)
+ {
+ popupWindow = window.open( url, null, options, true );
+ }
+
+ return true;
+ }
+});
diff --git a/devel/third-party/ckeditor/plugins/preview/plugin.js b/devel/third-party/ckeditor/plugins/preview/plugin.js
new file mode 100644
index 0000000..dd53d43
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/preview/plugin.js
@@ -0,0 +1,108 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Preview plugin.
+ */
+
+(function()
+{
+ var previewCmd =
+ {
+ modes : { wysiwyg:1, source:1 },
+ canUndo : false,
+ exec : function( editor )
+ {
+ var sHTML,
+ config = editor.config,
+ baseTag = config.baseHref ? '<base href="' + config.baseHref + '"/>' : '',
+ isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+ if ( config.fullPage )
+ {
+ sHTML = editor.getData()
+ .replace( /<head>/, '$&' + baseTag )
+ .replace( /[^>]*(?=<\/title>)/, editor.lang.preview );
+ }
+ else
+ {
+ var bodyHtml = '<body ',
+ body = editor.document && editor.document.getBody();
+
+ if ( body )
+ {
+ if ( body.getAttribute( 'id' ) )
+ bodyHtml += 'id="' + body.getAttribute( 'id' ) + '" ';
+ if ( body.getAttribute( 'class' ) )
+ bodyHtml += 'class="' + body.getAttribute( 'class' ) + '" ';
+ }
+
+ bodyHtml += '>';
+
+ sHTML =
+ editor.config.docType +
+ '<html dir="' + editor.config.contentsLangDirection + '">' +
+ '<head>' +
+ baseTag +
+ '<title>' + editor.lang.preview + '</title>' +
+ CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) +
+ '</head>' + bodyHtml +
+ editor.getData() +
+ '</body></html>';
+ }
+
+ var iWidth = 640, // 800 * 0.8,
+ iHeight = 420, // 600 * 0.7,
+ iLeft = 80; // (800 - 0.8 * 800) /2 = 800 * 0.1.
+ try
+ {
+ var screen = window.screen;
+ iWidth = Math.round( screen.width * 0.8 );
+ iHeight = Math.round( screen.height * 0.7 );
+ iLeft = Math.round( screen.width * 0.1 );
+ }
+ catch ( e ){}
+
+ var sOpenUrl = '';
+ if ( isCustomDomain )
+ {
+ window._cke_htmlToLoad = sHTML;
+ sOpenUrl = 'javascript:void( (function(){' +
+ 'document.open();' +
+ 'document.domain="' + document.domain + '";' +
+ 'document.write( window.opener._cke_htmlToLoad );' +
+ 'document.close();' +
+ 'window.opener._cke_htmlToLoad = null;' +
+ '})() )';
+ }
+
+ var oWindow = window.open( sOpenUrl, null, 'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=' +
+ iWidth + ',height=' + iHeight + ',left=' + iLeft );
+
+ if ( !isCustomDomain )
+ {
+ oWindow.document.open();
+ oWindow.document.write( sHTML );
+ oWindow.document.close();
+ }
+ }
+ };
+
+ var pluginName = 'preview';
+
+ // Register a plugin named "preview".
+ CKEDITOR.plugins.add( pluginName,
+ {
+ init : function( editor )
+ {
+ editor.addCommand( pluginName, previewCmd );
+ editor.ui.addButton( 'Preview',
+ {
+ label : editor.lang.preview,
+ command : pluginName
+ });
+ }
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/print/plugin.js b/devel/third-party/ckeditor/plugins/print/plugin.js
new file mode 100644
index 0000000..8145093
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/print/plugin.js
@@ -0,0 +1,41 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Print Plugin
+ */
+
+CKEDITOR.plugins.add( 'print',
+{
+ init : function( editor )
+ {
+ var pluginName = 'print';
+
+ // Register the command.
+ var command = editor.addCommand( pluginName, CKEDITOR.plugins.print );
+
+ // Register the toolbar button.
+ editor.ui.addButton( 'Print',
+ {
+ label : editor.lang.print,
+ command : pluginName
+ });
+ }
+} );
+
+CKEDITOR.plugins.print =
+{
+ exec : function( editor )
+ {
+ if ( CKEDITOR.env.opera )
+ return;
+ else if ( CKEDITOR.env.gecko )
+ editor.window.$.print();
+ else
+ editor.document.$.execCommand( "Print" );
+ },
+ canUndo : false,
+ modes : { wysiwyg : !( CKEDITOR.env.opera ) } // It is imposible to print the inner document in Opera.
+};
diff --git a/devel/third-party/ckeditor/plugins/removeformat/plugin.js b/devel/third-party/ckeditor/plugins/removeformat/plugin.js
new file mode 100644
index 0000000..28b4ea7
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/removeformat/plugin.js
@@ -0,0 +1,184 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'removeformat',
+{
+ requires : [ 'selection' ],
+
+ init : function( editor )
+ {
+ editor.addCommand( 'removeFormat', CKEDITOR.plugins.removeformat.commands.removeformat );
+ editor.ui.addButton( 'RemoveFormat',
+ {
+ label : editor.lang.removeFormat,
+ command : 'removeFormat'
+ });
+
+ editor._.removeFormat = { filters: [] };
+ }
+});
+
+CKEDITOR.plugins.removeformat =
+{
+ commands :
+ {
+ removeformat :
+ {
+ exec : function( editor )
+ {
+ var tagsRegex = editor._.removeFormatRegex ||
+ ( editor._.removeFormatRegex = new RegExp( '^(?:' + editor.config.removeFormatTags.replace( /,/g,'|' ) + ')$', 'i' ) );
+
+ var removeAttributes = editor._.removeAttributes ||
+ ( editor._.removeAttributes = editor.config.removeFormatAttributes.split( ',' ) );
+
+ var filter = CKEDITOR.plugins.removeformat.filter;
+ var ranges = editor.getSelection().getRanges( true ),
+ iterator = ranges.createIterator(),
+ range;
+
+ while ( ( range = iterator.getNextRange() ) )
+ {
+ if ( range.collapsed )
+ continue;
+
+ range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+
+ // Bookmark the range so we can re-select it after processing.
+ var bookmark = range.createBookmark();
+
+ // The style will be applied within the bookmark boundaries.
+ var startNode = bookmark.startNode;
+ var endNode = bookmark.endNode;
+
+ // We need to check the selection boundaries (bookmark spans) to break
+ // the code in a way that we can properly remove partially selected nodes.
+ // For example, removing a <b> style from
+ // <b>This is [some text</b> to show <b>the] problem</b>
+ // ... where [ and ] represent the selection, must result:
+ // <b>This is </b>[some text to show the]<b> problem</b>
+ // The strategy is simple, we just break the partial nodes before the
+ // removal logic, having something that could be represented this way:
+ // <b>This is </b>[<b>some text</b> to show <b>the</b>]<b> problem</b>
+
+ var breakParent = function( node )
+ {
+ // Let's start checking the start boundary.
+ var path = new CKEDITOR.dom.elementPath( node );
+ var pathElements = path.elements;
+
+ for ( var i = 1, pathElement ; pathElement = pathElements[ i ] ; i++ )
+ {
+ if ( pathElement.equals( path.block ) || pathElement.equals( path.blockLimit ) )
+ break;
+
+ // If this element can be removed (even partially).
+ if ( tagsRegex.test( pathElement.getName() ) && filter( editor, pathElement ) )
+ node.breakParent( pathElement );
+ }
+ };
+
+ breakParent( startNode );
+ breakParent( endNode );
+
+ // Navigate through all nodes between the bookmarks.
+ var currentNode = startNode.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT );
+
+ while ( currentNode )
+ {
+ // If we have reached the end of the selection, stop looping.
+ if ( currentNode.equals( endNode ) )
+ break;
+
+ // Cache the next node to be processed. Do it now, because
+ // currentNode may be removed.
+ var nextNode = currentNode.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT );
+
+ // This node must not be a fake element.
+ if ( !( currentNode.getName() == 'img'
+ && currentNode.getAttribute( '_cke_realelement' ) )
+ && filter( editor, currentNode ) )
+ {
+ // Remove elements nodes that match with this style rules.
+ if ( tagsRegex.test( currentNode.getName() ) )
+ currentNode.remove( true );
+ else
+ {
+ currentNode.removeAttributes( removeAttributes );
+ editor.fire( 'removeFormatCleanup', currentNode );
+ }
+ }
+
+ currentNode = nextNode;
+ }
+
+ range.moveToBookmark( bookmark );
+ }
+
+ editor.getSelection().selectRanges( ranges );
+ }
+ }
+ },
+
+ /**
+ * Perform the remove format filters on the passed element.
+ * @param {CKEDITOR.editor} editor
+ * @param {CKEDITOR.dom.element} element
+ */
+ filter : function ( editor, element )
+ {
+ var filters = editor._.removeFormat.filters;
+ for ( var i = 0; i < filters.length; i++ )
+ {
+ if ( filters[ i ]( element ) === false )
+ return false;
+ }
+ return true;
+ }
+};
+
+/**
+ * Add to a collection of functions to decide whether a specific
+ * element should be considered as formatting element and thus
+ * could be removed during <b>removeFormat</b> command,
+ * Note: Only available with the existence of 'removeformat' plugin.
+ * @since 3.3
+ * @param {Function} func The function to be called, which will be passed a {CKEDITOR.dom.element} element to test.
+ * @example
+ * // Don't remove empty span
+ * editor.addRemoveFormatFilter.push( function( element )
+ * {
+ * return !( element.is( 'span' ) && CKEDITOR.tools.isEmpty( element.getAttributes() ) );
+ * });
+ */
+CKEDITOR.editor.prototype.addRemoveFormatFilter = function( func )
+{
+ this._.removeFormat.filters.push( func );
+};
+
+/**
+ * A comma separated list of elements to be removed when executing the "remove
+ " format" command. Note that only inline elements are allowed.
+ * @type String
+ * @default 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var'
+ * @example
+ */
+CKEDITOR.config.removeFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var';
+
+/**
+ * A comma separated list of elements attributes to be removed when executing
+ * the "remove format" command.
+ * @type String
+ * @default 'class,style,lang,width,height,align,hspace,valign'
+ * @example
+ */
+CKEDITOR.config.removeFormatAttributes = 'class,style,lang,width,height,align,hspace,valign';
+
+/**
+ * Fired after an element was cleaned by the removeFormat plugin.
+ * @name CKEDITOR#removeFormatCleanup
+ * @event
+ * @param {Object} data.element The element that was cleaned up.
+ */
diff --git a/devel/third-party/ckeditor/plugins/resize/plugin.js b/devel/third-party/ckeditor/plugins/resize/plugin.js
new file mode 100644
index 0000000..6f31bd3
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/resize/plugin.js
@@ -0,0 +1,157 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'resize',
+{
+ init : function( editor )
+ {
+ var config = editor.config;
+
+ !config.resize_dir && ( config.resize_dir = 'both' );
+ ( config.resize_maxWidth == undefined ) && ( config.resize_maxWidth = 3000 );
+ ( config.resize_maxHeight == undefined ) && ( config.resize_maxHeight = 3000 );
+ ( config.resize_minWidth == undefined ) && ( config.resize_minWidth = 750 );
+ ( config.resize_minHeight == undefined ) && ( config.resize_minHeight = 250 );
+
+ if ( config.resize_enabled !== false )
+ {
+ var container = null,
+ origin,
+ startSize,
+ resizeHorizontal = ( config.resize_dir == 'both' || config.resize_dir == 'horizontal' ) &&
+ ( config.resize_minWidth != config.resize_maxWidth ),
+ resizeVertical = ( config.resize_dir == 'both' || config.resize_dir == 'vertical' ) &&
+ ( config.resize_minHeight != config.resize_maxHeight );
+
+ function dragHandler( evt )
+ {
+ var dx = evt.data.$.screenX - origin.x,
+ dy = evt.data.$.screenY - origin.y,
+ width = startSize.width,
+ height = startSize.height,
+ internalWidth = width + dx * ( editor.lang.dir == 'rtl' ? -1 : 1 ),
+ internalHeight = height + dy;
+
+ if ( resizeHorizontal )
+ width = Math.max( config.resize_minWidth, Math.min( internalWidth, config.resize_maxWidth ) );
+
+ if ( resizeVertical )
+ height = Math.max( config.resize_minHeight, Math.min( internalHeight, config.resize_maxHeight ) );
+
+ editor.resize( width, height );
+ }
+
+ function dragEndHandler ( evt )
+ {
+ CKEDITOR.document.removeListener( 'mousemove', dragHandler );
+ CKEDITOR.document.removeListener( 'mouseup', dragEndHandler );
+
+ if ( editor.document )
+ {
+ editor.document.removeListener( 'mousemove', dragHandler );
+ editor.document.removeListener( 'mouseup', dragEndHandler );
+ }
+ }
+
+ var mouseDownFn = CKEDITOR.tools.addFunction( function( $event )
+ {
+ if ( !container )
+ container = editor.getResizable();
+
+ startSize = { width : container.$.offsetWidth || 0, height : container.$.offsetHeight || 0 };
+ origin = { x : $event.screenX, y : $event.screenY };
+
+ config.resize_minWidth > startSize.width && ( config.resize_minWidth = startSize.width );
+ config.resize_minHeight > startSize.height && ( config.resize_minHeight = startSize.height );
+
+ CKEDITOR.document.on( 'mousemove', dragHandler );
+ CKEDITOR.document.on( 'mouseup', dragEndHandler );
+
+ if ( editor.document )
+ {
+ editor.document.on( 'mousemove', dragHandler );
+ editor.document.on( 'mouseup', dragEndHandler );
+ }
+ });
+
+ editor.on( 'destroy', function() { CKEDITOR.tools.removeFunction( mouseDownFn ); } );
+
+ editor.on( 'themeSpace', function( event )
+ {
+ if ( event.data.space == 'bottom' )
+ {
+ var direction = '';
+ if ( resizeHorizontal && !resizeVertical)
+ direction = ' cke_resizer_horizontal';
+ if ( !resizeHorizontal && resizeVertical)
+ direction = ' cke_resizer_vertical';
+
+ event.data.html += '<div class="cke_resizer' + direction + '"' +
+ ' title="' + CKEDITOR.tools.htmlEncode( editor.lang.resize ) + '"' +
+ ' onmousedown="CKEDITOR.tools.callFunction(' + mouseDownFn + ', event)"' +
+ '></div>';
+ }
+ }, editor, null, 100 );
+ }
+ }
+} );
+
+/**
+ * The minimum editor width, in pixels, when resizing it with the resize handle.
+ * Note: It fallbacks to editor's actual width if that's smaller than the default value.
+ * @name CKEDITOR.config.resize_minWidth
+ * @type Number
+ * @default 750
+ * @example
+ * config.resize_minWidth = 500;
+ */
+
+/**
+ * The minimum editor height, in pixels, when resizing it with the resize handle.
+ * Note: It fallbacks to editor's actual height if that's smaller than the default value.
+ * @name CKEDITOR.config.resize_minHeight
+ * @type Number
+ * @default 250
+ * @example
+ * config.resize_minHeight = 600;
+ */
+
+/**
+ * The maximum editor width, in pixels, when resizing it with the resize handle.
+ * @name CKEDITOR.config.resize_maxWidth
+ * @type Number
+ * @default 3000
+ * @example
+ * config.resize_maxWidth = 750;
+ */
+
+/**
+ * The maximum editor height, in pixels, when resizing it with the resize handle.
+ * @name CKEDITOR.config.resize_maxHeight
+ * @type Number
+ * @default 3000
+ * @example
+ * config.resize_maxHeight = 600;
+ */
+
+/**
+ * Whether to enable the resizing feature. If disabled the resize handler will not be visible.
+ * @name CKEDITOR.config.resize_enabled
+ * @type Boolean
+ * @default true
+ * @example
+ * config.resize_enabled = false;
+ */
+
+/**
+ * The directions to which the editor resizing is enabled. Possible values
+ * are "both", "vertical" and "horizontal".
+ * @name CKEDITOR.config.resize_dir
+ * @type String
+ * @default 'both'
+ * @since 3.3
+ * @example
+ * config.resize_dir = 'vertical';
+ */
diff --git a/devel/third-party/ckeditor/plugins/richcombo/plugin.js b/devel/third-party/ckeditor/plugins/richcombo/plugin.js
new file mode 100644
index 0000000..710b946
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/richcombo/plugin.js
@@ -0,0 +1,370 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'richcombo',
+{
+ requires : [ 'floatpanel', 'listblock', 'button' ],
+
+ beforeInit : function( editor )
+ {
+ editor.ui.addHandler( CKEDITOR.UI_RICHCOMBO, CKEDITOR.ui.richCombo.handler );
+ }
+});
+
+/**
+ * Button UI element.
+ * @constant
+ * @example
+ */
+CKEDITOR.UI_RICHCOMBO = 3;
+
+CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass(
+{
+ $ : function( definition )
+ {
+ // Copy all definition properties to this object.
+ CKEDITOR.tools.extend( this, definition,
+ // Set defaults.
+ {
+ title : definition.label,
+ modes : { wysiwyg : 1 }
+ });
+
+ // We don't want the panel definition in this object.
+ var panelDefinition = this.panel || {};
+ delete this.panel;
+
+ this.id = CKEDITOR.tools.getNextNumber();
+
+ this.document = ( panelDefinition
+ && panelDefinition.parent
+ && panelDefinition.parent.getDocument() )
+ || CKEDITOR.document;
+
+ panelDefinition.className = ( panelDefinition.className || '' ) + ' cke_rcombopanel';
+ panelDefinition.block =
+ {
+ multiSelect : panelDefinition.multiSelect,
+ attributes : panelDefinition.attributes
+ };
+
+ this._ =
+ {
+ panelDefinition : panelDefinition,
+ items : {},
+ state : CKEDITOR.TRISTATE_OFF
+ };
+ },
+
+ statics :
+ {
+ handler :
+ {
+ create : function( definition )
+ {
+ return new CKEDITOR.ui.richCombo( definition );
+ }
+ }
+ },
+
+ proto :
+ {
+ renderHtml : function( editor )
+ {
+ var output = [];
+ this.render( editor, output );
+ return output.join( '' );
+ },
+
+ /**
+ * Renders the combo.
+ * @param {CKEDITOR.editor} editor The editor instance which this button is
+ * to be used by.
+ * @param {Array} output The output array to which append the HTML relative
+ * to this button.
+ * @example
+ */
+ render : function( editor, output )
+ {
+ var env = CKEDITOR.env;
+
+ var id = 'cke_' + this.id;
+ var clickFn = CKEDITOR.tools.addFunction( function( $element )
+ {
+ var _ = this._;
+
+ if ( _.state == CKEDITOR.TRISTATE_DISABLED )
+ return;
+
+ this.createPanel( editor );
+
+ if ( _.on )
+ {
+ _.panel.hide();
+ return;
+ }
+
+ if ( !_.committed )
+ {
+ _.list.commit();
+ _.committed = 1;
+ }
+
+ var value = this.getValue();
+ if ( value )
+ _.list.mark( value );
+ else
+ _.list.unmarkAll();
+
+ _.panel.showBlock( this.id, new CKEDITOR.dom.element( $element ), 4 );
+ },
+ this );
+
+ var instance = {
+ id : id,
+ combo : this,
+ focus : function()
+ {
+ var element = CKEDITOR.document.getById( id ).getChild( 1 );
+ element.focus();
+ },
+ clickFn : clickFn
+ };
+
+ editor.on( 'mode', function()
+ {
+ this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+ },
+ this );
+
+ var keyDownFn = CKEDITOR.tools.addFunction( function( ev, element )
+ {
+ ev = new CKEDITOR.dom.event( ev );
+
+ var keystroke = ev.getKeystroke();
+ switch ( keystroke )
+ {
+ case 13 : // ENTER
+ case 32 : // SPACE
+ case 40 : // ARROW-DOWN
+ // Show panel
+ CKEDITOR.tools.callFunction( clickFn, element );
+ break;
+ default :
+ // Delegate the default behavior to toolbar button key handling.
+ instance.onkey( instance, keystroke );
+ }
+
+ // Avoid subsequent focus grab on editor document.
+ ev.preventDefault();
+ });
+
+ // For clean up
+ instance.keyDownFn = keyDownFn;
+
+ output.push(
+ '<span class="cke_rcombo">',
+ '<span id=', id );
+
+ if ( this.className )
+ output.push( ' class="', this.className, ' cke_off"');
+
+ output.push(
+ '>',
+ '<span id="' + id+ '_label" class=cke_label>', this.label, '</span>',
+ '<a hidefocus=true title="', this.title, '" tabindex="-1"',
+ env.gecko && env.version >= 10900 && !env.hc ? '' : ' href="javascript:void(\'' + this.label + '\')"',
+ ' role="button" aria-labelledby="', id , '_label" aria-describedby="', id, '_text" aria-haspopup="true"' );
+
+ // Some browsers don't cancel key events in the keydown but in the
+ // keypress.
+ // TODO: Check if really needed for Gecko+Mac.
+ if ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.mac ) )
+ {
+ output.push(
+ ' onkeypress="return false;"' );
+ }
+
+ // With Firefox, we need to force it to redraw, otherwise it
+ // will remain in the focus state.
+ if ( CKEDITOR.env.gecko )
+ {
+ output.push(
+ ' onblur="this.style.cssText = this.style.cssText;"' );
+ }
+
+ output.push(
+ ' onkeydown="CKEDITOR.tools.callFunction( ', keyDownFn, ', event, this );"' +
+ ' onclick="CKEDITOR.tools.callFunction(', clickFn, ', this); return false;">' +
+ '<span>' +
+ '<span id="' + id + '_text" class="cke_text cke_inline_label">' + this.label + '</span>' +
+ '</span>' +
+ '<span class=cke_openbutton>' + ( CKEDITOR.env.hc ? '<span>▼</span>' : '' ) + '</span>' + // BLACK DOWN-POINTING TRIANGLE
+ '</a>' +
+ '</span>' +
+ '</span>' );
+
+ if ( this.onRender )
+ this.onRender();
+
+ return instance;
+ },
+
+ createPanel : function( editor )
+ {
+ if ( this._.panel )
+ return;
+
+ var panelDefinition = this._.panelDefinition,
+ panelBlockDefinition = this._.panelDefinition.block,
+ panelParentElement = panelDefinition.parent || CKEDITOR.document.getBody(),
+ panel = new CKEDITOR.ui.floatPanel( editor, panelParentElement, panelDefinition ),
+ list = panel.addListBlock( this.id, panelBlockDefinition ),
+ me = this;
+
+ panel.onShow = function()
+ {
+ if ( me.className )
+ this.element.getFirst().addClass( me.className + '_panel' );
+
+ me.setState( CKEDITOR.TRISTATE_ON );
+
+ list.focus( !me.multiSelect && me.getValue() );
+
+ me._.on = 1;
+
+ if ( me.onOpen )
+ me.onOpen();
+ };
+
+ panel.onHide = function()
+ {
+ if ( me.className )
+ this.element.getFirst().removeClass( me.className + '_panel' );
+
+ me.setState( CKEDITOR.TRISTATE_OFF );
+
+ me._.on = 0;
+
+ if ( me.onClose )
+ me.onClose();
+ };
+
+ panel.onEscape = function()
+ {
+ panel.hide();
+ me.document.getById( 'cke_' + me.id ).getFirst().getNext().focus();
+ };
+
+ list.onClick = function( value, marked )
+ {
+ // Move the focus to the main windows, otherwise it will stay
+ // into the floating panel, even if invisible, and Safari and
+ // Opera will go a bit crazy.
+ me.document.getWindow().focus();
+
+ if ( me.onClick )
+ me.onClick.call( me, value, marked );
+
+ if ( marked )
+ me.setValue( value, me._.items[ value ] );
+ else
+ me.setValue( '' );
+
+ panel.hide();
+ };
+
+ this._.panel = panel;
+ this._.list = list;
+
+ panel.getBlock( this.id ).onHide = function()
+ {
+ me._.on = 0;
+ me.setState( CKEDITOR.TRISTATE_OFF );
+ };
+
+ if ( this.init )
+ this.init();
+ },
+
+ setValue : function( value, text )
+ {
+ this._.value = value;
+
+ var textElement = this.document.getById( 'cke_' + this.id + '_text' );
+
+ if ( !( value || text ) )
+ {
+ text = this.label;
+ textElement.addClass( 'cke_inline_label' );
+ }
+ else
+ textElement.removeClass( 'cke_inline_label' );
+
+ textElement.setHtml( typeof text != 'undefined' ? text : value );
+ },
+
+ getValue : function()
+ {
+ return this._.value || '';
+ },
+
+ unmarkAll : function()
+ {
+ this._.list.unmarkAll();
+ },
+
+ mark : function( value )
+ {
+ this._.list.mark( value );
+ },
+
+ hideItem : function( value )
+ {
+ this._.list.hideItem( value );
+ },
+
+ hideGroup : function( groupTitle )
+ {
+ this._.list.hideGroup( groupTitle );
+ },
+
+ showAll : function()
+ {
+ this._.list.showAll();
+ },
+
+ add : function( value, html, text )
+ {
+ this._.items[ value ] = text || value;
+ this._.list.add( value, html, text );
+ },
+
+ startGroup : function( title )
+ {
+ this._.list.startGroup( title );
+ },
+
+ commit : function()
+ {
+ this._.list.commit();
+ },
+
+ setState : function( state )
+ {
+ if ( this._.state == state )
+ return;
+
+ this.document.getById( 'cke_' + this.id ).setState( state );
+
+ this._.state = state;
+ }
+ }
+});
+
+CKEDITOR.ui.prototype.addRichCombo = function( name, definition )
+{
+ this.add( name, CKEDITOR.UI_RICHCOMBO, definition );
+};
diff --git a/devel/third-party/ckeditor/plugins/save/plugin.js b/devel/third-party/ckeditor/plugins/save/plugin.js
new file mode 100644
index 0000000..73fd23d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/save/plugin.js
@@ -0,0 +1,55 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileSave plugin.
+ */
+
+(function()
+{
+ var saveCmd =
+ {
+ modes : { wysiwyg:1, source:1 },
+
+ exec : function( editor )
+ {
+ var $form = editor.element.$.form;
+
+ if ( $form )
+ {
+ try
+ {
+ $form.submit();
+ }
+ catch( e )
+ {
+ // If there's a button named "submit" then the form.submit
+ // function is masked and can't be called in IE/FF, so we
+ // call the click() method of that button.
+ if ( $form.submit.click )
+ $form.submit.click();
+ }
+ }
+ }
+ };
+
+ var pluginName = 'save';
+
+ // Register a plugin named "save".
+ CKEDITOR.plugins.add( pluginName,
+ {
+ init : function( editor )
+ {
+ var command = editor.addCommand( pluginName, saveCmd );
+ command.modes = { wysiwyg : !!( editor.element.$.form ) };
+
+ editor.ui.addButton( 'Save',
+ {
+ label : editor.lang.save,
+ command : pluginName
+ });
+ }
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/scayt/dialogs/options.js b/devel/third-party/ckeditor/plugins/scayt/dialogs/options.js
new file mode 100644
index 0000000..f745d82
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/scayt/dialogs/options.js
@@ -0,0 +1,533 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'scaytcheck', function( editor )
+{
+ var firstLoad = true,
+ captions,
+ doc = CKEDITOR.document,
+ tags = [],
+ i,
+ contents = [],
+ userDicActive = false,
+ dic_buttons = [
+ // [0] contains buttons for creating
+ "dic_create,dic_restore",
+ // [1] contains buton for manipulation
+ "dic_rename,dic_delete"
+ ],
+ optionsIds= [ 'mixedCase','mixedWithDigits','allCaps','ignoreDomainNames' ];
+
+ // common operations
+
+ function getBOMAllOptions () {
+ return document.forms.optionsbar["options"];
+ }
+ function getBOMAllLangs () {
+ return document.forms.languagesbar["scayt_lang"];
+ }
+
+ function setCheckedValue(radioObj, newValue) {
+ if (!radioObj)
+ return;
+ var radioLength = radioObj.length;
+ if (radioLength == undefined) {
+ radioObj.checked = (radioObj.value == newValue.toString());
+ return;
+ }
+ for (var i = 0; i < radioLength; i++) {
+ radioObj[i].checked = false;
+ if (radioObj[i].value == newValue.toString()) {
+ radioObj[i].checked = true;
+ }
+ }
+ }
+
+ var tags_contents = [
+ {
+ id : 'options',
+ label : editor.lang.scayt.optionsTab,
+ elements : [
+ {
+ type : 'html',
+ id : 'options',
+ html : '<form name="optionsbar"><div class="inner_options">' +
+ ' <div class="messagebox"></div>' +
+ ' <div style="display:none;">' +
+ ' <input type="checkbox" name="options" id="allCaps" />' +
+ ' <label for="allCaps" id="label_allCaps"></label>' +
+ ' </div>' +
+ ' <div style="display:none;">' +
+ ' <input name="options" type="checkbox" id="ignoreDomainNames" />' +
+ ' <label for="ignoreDomainNames" id="label_ignoreDomainNames"></label>' +
+ ' </div>' +
+ ' <div style="display:none;">' +
+ ' <input name="options" type="checkbox" id="mixedCase" />' +
+ ' <label for="mixedCase" id="label_mixedCase"></label>' +
+ ' </div>' +
+ ' <div style="display:none;">' +
+ ' <input name="options" type="checkbox" id="mixedWithDigits" />' +
+ ' <label for="mixedWithDigits" id="label_mixedWithDigits"></label>' +
+ ' </div>' +
+ '</div></form>'
+ }
+ ]
+ },
+ {
+ id : 'langs',
+ label : editor.lang.scayt.languagesTab,
+ elements : [
+ {
+ type : 'html',
+ id : 'langs',
+ html : '<form name="languagesbar"><div class="inner_langs">' +
+ ' <div class="messagebox"></div> ' +
+ ' <div style="float:left;width:45%;margin-left:5px;" id="scayt_lcol" ></div>' +
+ ' <div style="float:left;width:45%;margin-left:15px;" id="scayt_rcol"></div>' +
+ '</div></form>'
+ }
+ ]
+ },
+ {
+ id : 'dictionaries',
+ label : editor.lang.scayt.dictionariesTab,
+ elements : [
+ {
+ type : 'html',
+ style: '',
+ id : 'dictionaries',
+ html : '<form name="dictionarybar"><div class="inner_dictionary" style="text-align:left; white-space:normal; width:320px; overflow: hidden;">' +
+ ' <div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message"> </div>' +
+ ' <div style="margin:5px auto; width:80%;white-space:normal;"> ' +
+ ' <span class="cke_dialog_ui_labeled_label" >Dictionary name</span><br>'+
+ ' <span class="cke_dialog_ui_labeled_content" >'+
+ ' <div class="cke_dialog_ui_input_text">'+
+ ' <input id="dic_name" type="text" class="cke_dialog_ui_input_text"/>'+
+ ' </div></span></div>'+
+ ' <div style="margin:5px auto; width:80%;white-space:normal;">'+
+ ' <a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_create">'+
+ ' </a>' +
+ ' <a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_delete">'+
+ ' </a>' +
+ ' <a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_rename">'+
+ ' </a>' +
+ ' <a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_restore">'+
+ ' </a>' +
+ ' </div>' +
+ ' <div style="margin:5px auto; width:95%;white-space:normal;" id="dic_info"></div>' +
+ '</div></form>'
+ }
+ ]
+ },
+ {
+ id : 'about',
+ label : editor.lang.scayt.aboutTab,
+ elements : [
+ {
+ type : 'html',
+ id : 'about',
+ style : 'margin: 5px 5px;',
+ html : '<div id="scayt_about"></div>'
+ }
+ ]
+ }
+ ];
+
+ var dialogDefiniton = {
+ title : editor.lang.scayt.title,
+ minWidth : 360,
+ minHeight : 220,
+ onShow : function()
+ {
+ var dialog = this;
+ dialog.data = editor.fire( 'scaytDialog', {} );
+ dialog.options = dialog.data.scayt_control.option();
+ dialog.sLang = dialog.data.scayt_control.sLang;
+
+ if ( !dialog.data || !dialog.data.scayt || !dialog.data.scayt_control )
+ {
+ alert( 'Error loading application service' );
+ dialog.hide();
+ return;
+ }
+
+ var stop = 0;
+ if ( firstLoad )
+ {
+ dialog.data.scayt.getCaption( editor.langCode || 'en', function( caps )
+ {
+ if ( stop++ > 0 ) // Once only
+ return;
+ captions = caps;
+ init_with_captions.apply( dialog );
+ reload.apply( dialog );
+ firstLoad = false;
+ });
+ }
+ else
+ reload.apply( dialog );
+
+ dialog.selectPage( dialog.data.tab );
+ },
+ onOk : function()
+ {
+ var scayt_control = this.data.scayt_control;
+ scayt_control.option( this.options );
+ // Setup languge if it was changed.
+ var csLang = this.chosed_lang;
+ scayt_control.setLang( csLang );
+ scayt_control.refresh();
+ },
+ onCancel: function()
+ {
+ var o = getBOMAllOptions();
+ for (i in o)
+ o[i].checked = false;
+
+ setCheckedValue(getBOMAllLangs(),"");
+ },
+ contents : contents
+ };
+
+ var scayt_control = CKEDITOR.plugins.scayt.getScayt( editor );
+
+ tags = CKEDITOR.plugins.scayt.uiTabs;
+
+ for ( i in tags )
+ {
+ if ( tags[ i ] == 1 )
+ contents[ contents.length ] = tags_contents[ i ];
+ }
+ if ( tags[2] == 1 )
+ userDicActive = true;
+
+
+ var init_with_captions = function()
+ {
+ var dialog = this,
+ lang_list = dialog.data.scayt.getLangList(),
+ buttons = [ 'dic_create','dic_delete','dic_rename','dic_restore' ],
+ labels = optionsIds,
+ i;
+
+ // Add buttons titles
+ if ( userDicActive )
+ {
+ for ( i = 0; i < buttons.length; i++ )
+ {
+ var button = buttons[ i ];
+ doc.getById( button ).setHtml( '<span class="cke_dialog_ui_button">' + captions[ 'button_' + button] +'</span>' );
+ }
+ doc.getById( 'dic_info' ).setHtml( captions[ 'dic_info' ] );
+ }
+
+
+ // Fill options and dictionary labels.
+ if ( tags[0] == 1 )
+ {
+ for ( i in labels )
+ {
+ var label = 'label_' + labels[ i ],
+ labelElement = doc.getById( label );
+
+ if ( 'undefined' != typeof labelElement
+ && 'undefined' != typeof captions[ label ]
+ && 'undefined' != typeof dialog.options[labels[ i ]] )
+ {
+ labelElement.setHtml( captions[ label ] );
+ var labelParent = labelElement.getParent();
+ labelParent.$.style.display = "block";
+ }
+ }
+ }
+
+ var about = '<p><img src="' + window.scayt.getAboutInfo().logoURL + '" /></p>' +
+ '<p>' + captions[ 'version' ] + window.scayt.getAboutInfo().version.toString() + '</p>' +
+ '<p>' + captions[ 'about_throwt_copy' ] + '</p>';
+
+ doc.getById( 'scayt_about' ).setHtml( about );
+
+ // Create languages tab.
+ var createOption = function( option, list )
+ {
+ var label = doc.createElement( 'label' );
+ label.setAttribute( 'for', 'cke_option' + option );
+ label.setHtml( list[ option ] );
+
+ if ( dialog.sLang == option ) // Current.
+ dialog.chosed_lang = option;
+
+ var div = doc.createElement( 'div' );
+ var radio = CKEDITOR.dom.element.createFromHtml( '<input id="cke_option' +
+ option + '" type="radio" ' +
+ ( dialog.sLang == option ? 'checked="checked"' : '' ) +
+ ' value="' + option + '" name="scayt_lang" />' );
+
+ radio.on( 'click', function()
+ {
+ this.$.checked = true;
+ dialog.chosed_lang = option;
+ });
+
+ div.append( radio );
+ div.append( label );
+
+ return {
+ lang : list[ option ],
+ code : option,
+ radio : div
+ };
+ };
+
+ var langList = [];
+ if (tags[1] ==1 )
+ {
+ for ( i in lang_list.rtl )
+ langList[ langList.length ] = createOption( i, lang_list.ltr );
+
+ for ( i in lang_list.ltr )
+ langList[ langList.length ] = createOption( i, lang_list.ltr );
+
+ langList.sort( function( lang1, lang2 )
+ {
+ return ( lang2.lang > lang1.lang ) ? -1 : 1 ;
+ });
+
+ var fieldL = doc.getById( 'scayt_lcol' ),
+ fieldR = doc.getById( 'scayt_rcol' );
+ for ( i=0; i < langList.length; i++ )
+ {
+ var field = ( i < langList.length / 2 ) ? fieldL : fieldR;
+ field.append( langList[ i ].radio );
+ }
+ }
+
+ // user dictionary handlers
+ var dic = {};
+ dic.dic_create = function( el, dic_name , dic_buttons )
+ {
+ // comma separated button's ids include repeats if exists
+ var all_buttons = dic_buttons[0] + ',' + dic_buttons[1];
+
+ var err_massage = captions["err_dic_create"];
+ var suc_massage = captions["succ_dic_create"];
+
+ window.scayt.createUserDictionary(dic_name,
+ function(arg)
+ {
+ hide_dic_buttons ( all_buttons );
+ display_dic_buttons ( dic_buttons[1] );
+ suc_massage = suc_massage.replace("%s" , arg.dname );
+ dic_success_message (suc_massage);
+ },
+ function(arg)
+ {
+ err_massage = err_massage.replace("%s" ,arg.dname );
+ dic_error_message ( err_massage + "( "+ (arg.message || "") +")");
+ });
+
+ };
+
+ dic.dic_rename = function( el, dic_name )
+ {
+ //
+ // try to rename dictionary
+ var err_massage = captions["err_dic_rename"] || "";
+ var suc_massage = captions["succ_dic_rename"] || "";
+ window.scayt.renameUserDictionary(dic_name,
+ function(arg)
+ {
+ suc_massage = suc_massage.replace("%s" , arg.dname );
+ set_dic_name( dic_name );
+ dic_success_message ( suc_massage );
+ },
+ function(arg)
+ {
+ err_massage = err_massage.replace("%s" , arg.dname );
+ set_dic_name( dic_name );
+ dic_error_message( err_massage + "( " + ( arg.message || "" ) + " )" );
+ });
+ };
+
+ dic.dic_delete = function ( el, dic_name , dic_buttons )
+ {
+ var all_buttons = dic_buttons[0] + ',' + dic_buttons[1];
+ var err_massage = captions["err_dic_delete"];
+ var suc_massage = captions["succ_dic_delete"];
+
+ // try to delete dictionary
+ window.scayt.deleteUserDictionary(
+ function(arg)
+ {
+ suc_massage = suc_massage.replace("%s" , arg.dname );
+ hide_dic_buttons ( all_buttons );
+ display_dic_buttons ( dic_buttons[0] );
+ set_dic_name( "" ); // empty input field
+ dic_success_message( suc_massage );
+ },
+ function(arg)
+ {
+ err_massage = err_massage.replace("%s" , arg.dname );
+ dic_error_message(err_massage);
+ });
+ };
+
+ dic.dic_restore = dialog.dic_restore || function ( el, dic_name , dic_buttons )
+ {
+ // try to restore existing dictionary
+ var all_buttons = dic_buttons[0] + ',' + dic_buttons[1];
+ var err_massage = captions["err_dic_restore"];
+ var suc_massage = captions["succ_dic_restore"];
+
+ window.scayt.restoreUserDictionary(dic_name,
+ function(arg)
+ {
+ suc_massage = suc_massage.replace("%s" , arg.dname );
+ hide_dic_buttons ( all_buttons );
+ display_dic_buttons(dic_buttons[1]);
+ dic_success_message( suc_massage );
+ },
+ function(arg)
+ {
+ err_massage = err_massage.replace("%s" , arg.dname );
+ dic_error_message( err_massage );
+ });
+ };
+
+ function onDicButtonClick( ev )
+ {
+ var dic_name = doc.getById('dic_name').getValue();
+ if ( !dic_name )
+ {
+ dic_error_message(" Dictionary name should not be empty. ");
+ return false;
+ }
+ try{
+ var el = id = ev.data.getTarget().getParent();
+ var id = el.getId();
+ dic[ id ].apply( null, [ el, dic_name, dic_buttons ] );
+ }catch(err){
+ dic_error_message(" Dictionary error. ");
+ }
+
+ return true;
+ }
+
+ // ** bind event listeners
+ var arr_buttons = ( dic_buttons[0] + ',' + dic_buttons[1] ).split( ',' ),
+ l;
+
+ for ( i = 0, l = arr_buttons.length ; i < l ; i += 1 )
+ {
+ var dic_button = doc.getById(arr_buttons[i]);
+ if ( dic_button )
+ dic_button.on( 'click', onDicButtonClick, this );
+ }
+ };
+
+ var reload = function()
+ {
+ var dialog = this;
+ // for enabled options tab
+ if (tags[0] == 1){
+ var opto = getBOMAllOptions();
+
+ // Animate options.
+ for ( var k=0,l = opto.length; k<l;k++ )
+ {
+
+ var i = opto[k].id;
+ var checkbox = doc.getById( i );
+
+ if ( checkbox )
+ {
+ opto[k].checked = false;
+ //alert (opto[k].removeAttribute)
+ if ( dialog.options[ i ] == 1 )
+ {
+ opto[k].checked = true;
+ }
+
+
+ // Bind events. Do it only once.
+ if ( firstLoad )
+ {
+ checkbox.on( 'click', function()
+ {
+ dialog.options[ this.getId() ] = this.$.checked ? 1 : 0 ;
+ });
+ }
+ }
+ }
+ }
+
+ //for enabled languages tab
+ if ( tags[1] == 1 )
+ {
+ var domLang = doc.getById("cke_option"+dialog.sLang);
+ setCheckedValue(domLang.$,dialog.sLang);
+ }
+
+ // * user dictionary
+ if ( userDicActive )
+ {
+ window.scayt.getNameUserDictionary(
+ function( o )
+ {
+ var dic_name = o.dname;
+ hide_dic_buttons( dic_buttons[0] + ',' + dic_buttons[1] );
+ if ( dic_name )
+ {
+ doc.getById( 'dic_name' ).setValue(dic_name);
+ display_dic_buttons( dic_buttons[1] );
+ }
+ else
+ display_dic_buttons( dic_buttons[0] );
+
+ },
+ function ()
+ {
+ doc.getById( 'dic_name' ).setValue("");
+ });
+ dic_success_message("");
+ }
+
+ };
+
+ function dic_error_message ( m )
+ {
+ doc.getById('dic_message').setHtml('<span style="color:red;">' + m + '</span>' );
+ }
+ function dic_success_message ( m )
+ {
+ doc.getById('dic_message').setHtml('<span style="color:blue;">' + m + '</span>') ;
+ }
+ function display_dic_buttons ( sIds )
+ {
+
+ sIds = String( sIds );
+ var aIds = sIds.split(',');
+ for ( var i=0, l = aIds.length; i < l ; i+=1)
+ {
+ doc.getById( aIds[i] ).$.style.display = "inline";
+ }
+
+ }
+ function hide_dic_buttons ( sIds )
+ {
+ sIds = String( sIds );
+ var aIds = sIds.split(',');
+ for ( var i = 0, l = aIds.length; i < l ; i += 1 )
+ {
+ doc.getById( aIds[i] ).$.style.display = "none";
+ }
+ }
+ function set_dic_name ( dic_name )
+ {
+ doc.getById('dic_name').$.value= dic_name;
+ }
+
+ return dialogDefiniton;
+});
diff --git a/devel/third-party/ckeditor/plugins/scayt/dialogs/toolbar.css b/devel/third-party/ckeditor/plugins/scayt/dialogs/toolbar.css
new file mode 100644
index 0000000..ecabdac
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/scayt/dialogs/toolbar.css
@@ -0,0 +1,71 @@
+a
+{
+ text-decoration:none;
+ padding: 2px 4px 4px 6px;
+ display : block;
+ border-width: 1px;
+ border-style: solid;
+ margin : 0px;
+}
+
+a.cke_scayt_toogle:hover,
+a.cke_scayt_toogle:focus,
+a.cke_scayt_toogle:active
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+ color : #000;
+ cursor: pointer;
+ margin : 0px;
+}
+a.cke_scayt_toogle {
+ color : #316ac5;
+ border-color: #fff;
+}
+.scayt_enabled a.cke_scayt_item {
+ color : #316ac5;
+ border-color: #fff;
+ margin : 0px;
+}
+.scayt_disabled a.cke_scayt_item {
+ color : gray;
+ border-color : #fff;
+}
+.scayt_enabled a.cke_scayt_item:hover,
+.scayt_enabled a.cke_scayt_item:focus,
+.scayt_enabled a.cke_scayt_item:active
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+ color : #000;
+ cursor: pointer;
+}
+.scayt_disabled a.cke_scayt_item:hover,
+.scayt_disabled a.cke_scayt_item:focus,
+.scayt_disabled a.cke_scayt_item:active
+{
+ border-color: gray;
+ background-color: #dff1ff;
+ color : gray;
+ cursor: no-drop;
+}
+.cke_scayt_set_on, .cke_scayt_set_off
+{
+ display: none;
+}
+.scayt_enabled .cke_scayt_set_on
+{
+ display: none;
+}
+.scayt_disabled .cke_scayt_set_on
+{
+ display: inline;
+}
+.scayt_disabled .cke_scayt_set_off
+{
+ display: none;
+}
+.scayt_enabled .cke_scayt_set_off
+{
+ display: inline;
+}
diff --git a/devel/third-party/ckeditor/plugins/scayt/plugin.js b/devel/third-party/ckeditor/plugins/scayt/plugin.js
new file mode 100644
index 0000000..ec64fed
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/scayt/plugin.js
@@ -0,0 +1,943 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Spell Check As You Type (SCAYT).
+ * Button name : Scayt.
+ */
+
+(function()
+{
+ var commandName = 'scaytcheck',
+ openPage = '';
+
+ // Checks if a value exists in an array
+ function in_array(needle, haystack)
+ {
+ var found = false, key;
+ for (key in haystack)
+ {
+ if ((haystack[key] === needle) || ( haystack[key] == needle))
+ {
+ found = true;
+ break;
+ }
+ }
+ return found;
+ }
+
+ var onEngineLoad = function()
+ {
+ var editor = this;
+
+ var createInstance = function() // Create new instance every time Document is created.
+ {
+ // Initialise Scayt instance.
+ var oParams = {};
+ // Get the iframe.
+ oParams.srcNodeRef = editor.document.getWindow().$.frameElement;
+ // syntax : AppName.AppVersion at AppRevision
+ oParams.assocApp = 'CKEDITOR.' + CKEDITOR.version + '@' + CKEDITOR.revision;
+ oParams.customerid = editor.config.scayt_customerid || '1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2';
+ oParams.customDictionaryIds = editor.config.scayt_customDictionaryIds || '';
+ oParams.userDictionaryName = editor.config.scayt_userDictionaryName || '';
+ oParams.sLang = editor.config.scayt_sLang || 'en_US';
+
+ // Introduce SCAYT onLoad callback. (#5632)
+ oParams.onLoad = function()
+ {
+ // Draw down word marker to avoid being covered by background-color style.(#5466)
+ if ( !( CKEDITOR.env.ie && CKEDITOR.env.version < 8 ) )
+ this.addStyle( this.selectorCss(), 'padding-bottom: 2px !important;' );
+
+ // Call scayt_control.focus when SCAYT loaded
+ // and only if editor has focus and scayt control creates at first time (#5720)
+ if ( editor.focusManager.hasFocus && !plugin.isControlRestored( editor ) )
+ this.focus();
+
+ };
+
+ oParams.onBeforeChange = function()
+ {
+ if ( plugin.getScayt( editor ) && !editor.checkDirty() )
+ setTimeout( function(){ editor.resetDirty(); }, 0 );
+ };
+
+ var scayt_custom_params = window.scayt_custom_params;
+ if ( typeof scayt_custom_params == 'object')
+ {
+ for ( var k in scayt_custom_params )
+ {
+ oParams[ k ] = scayt_custom_params[ k ];
+ }
+ }
+ // needs for restoring a specific scayt control settings
+ if ( plugin.getControlId(editor) )
+ oParams.id = plugin.getControlId(editor);
+
+ var scayt_control = new window.scayt( oParams );
+
+ scayt_control.afterMarkupRemove.push( function( node )
+ {
+ ( new CKEDITOR.dom.element( node, scayt_control.document ) ).mergeSiblings();
+ } );
+
+ // Copy config.
+ var lastInstance = plugin.instances[ editor.name ];
+ if ( lastInstance )
+ {
+ scayt_control.sLang = lastInstance.sLang;
+ scayt_control.option( lastInstance.option() );
+ scayt_control.paused = lastInstance.paused;
+ }
+
+ plugin.instances[ editor.name ] = scayt_control;
+
+ //window.scayt.uiTags
+ var menuGroup = 'scaytButton';
+ var uiTabs = window.scayt.uiTags;
+ var fTabs = [];
+
+ for (var i = 0,l=4; i<l; i++)
+ fTabs.push( uiTabs[i] && plugin.uiTabs[i] );
+
+ plugin.uiTabs = fTabs;
+ try {
+ scayt_control.setDisabled( plugin.isPaused( editor ) === false );
+ } catch (e) {}
+
+ editor.fire( 'showScaytState' );
+ };
+
+ editor.on( 'contentDom', createInstance );
+ editor.on( 'contentDomUnload', function()
+ {
+ // Remove scripts.
+ var scripts = CKEDITOR.document.getElementsByTag( 'script' ),
+ scaytIdRegex = /^dojoIoScript(\d+)$/i,
+ scaytSrcRegex = /^https?:\/\/svc\.spellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;
+
+ for ( var i=0; i < scripts.count(); i++ )
+ {
+ var script = scripts.getItem( i ),
+ id = script.getId(),
+ src = script.getAttribute( 'src' );
+
+ if ( id && src && id.match( scaytIdRegex ) && src.match( scaytSrcRegex ))
+ script.remove();
+ }
+ });
+
+ editor.on( 'beforeCommandExec', function( ev ) // Disable SCAYT before Source command execution.
+ {
+ if ( (ev.data.name == 'source' || ev.data.name == 'newpage') && editor.mode == 'wysiwyg' )
+ {
+ var scayt_instance = plugin.getScayt( editor );
+ if ( scayt_instance )
+ {
+ plugin.setPaused( editor, !scayt_instance.disabled );
+ // store a control id for restore a specific scayt control settings
+ plugin.setControlId( editor, scayt_instance.id );
+ scayt_instance.destroy( true );
+ delete plugin.instances[ editor.name ];
+ }
+ }
+ // Catch on source mode switch off (#5720)
+ else if ( ev.data.name == 'source' && editor.mode == 'source' )
+ plugin.markControlRestore( editor );
+ });
+
+ editor.on( 'afterCommandExec', function( ev )
+ {
+ if ( !plugin.isScaytEnabled( editor ) )
+ return;
+
+ if ( editor.mode == 'wysiwyg' && ( ev.data.name == 'undo' || ev.data.name == 'redo' ) )
+ window.setTimeout( function() { plugin.getScayt( editor ).refresh(); }, 10 );
+ });
+
+ editor.on( 'destroy', function( ev )
+ {
+ var editor = ev.editor,
+ scayt_instance = plugin.getScayt( editor );
+
+ // SCAYT instance might already get destroyed by mode switch (#5744).
+ if ( !scayt_instance )
+ return;
+
+ delete plugin.instances[ editor.name ];
+ // store a control id for restore a specific scayt control settings
+ plugin.setControlId( editor, scayt_instance.id );
+ scayt_instance.destroy( true );
+ });
+
+ // Listen to data manipulation to reflect scayt markup.
+ editor.on( 'afterSetData', function()
+ {
+ if ( plugin.isScaytEnabled( editor ) ) {
+ window.setTimeout( function()
+ {
+ var instance = plugin.getScayt( editor );
+ instance && instance.refresh();
+ }, 10 );
+ }
+ });
+
+ // Reload spell-checking for current word after insertion completed.
+ editor.on( 'insertElement', function()
+ {
+ var scayt_instance = plugin.getScayt( editor );
+ if ( plugin.isScaytEnabled( editor ) )
+ {
+ // Unlock the selection before reload, SCAYT will take
+ // care selection update.
+ if ( CKEDITOR.env.ie )
+ editor.getSelection().unlock( true );
+
+ // Return focus to the editor and refresh SCAYT markup (#5573).
+ window.setTimeout( function()
+ {
+ scayt_instance.focus();
+ scayt_instance.refresh();
+ }, 10 );
+ }
+ }, this, null, 50 );
+
+ editor.on( 'insertHtml', function()
+ {
+ var scayt_instance = plugin.getScayt( editor );
+ if ( plugin.isScaytEnabled( editor ) )
+ {
+ // Unlock the selection before reload, SCAYT will take
+ // care selection update.
+ if ( CKEDITOR.env.ie )
+ editor.getSelection().unlock( true );
+
+ // Return focus to the editor (#5573)
+ // Refresh SCAYT markup
+ window.setTimeout( function()
+ {
+ scayt_instance.focus();
+ scayt_instance.refresh();
+ }, 10 );
+ }
+ }, this, null, 50 );
+
+ editor.on( 'scaytDialog', function( ev ) // Communication with dialog.
+ {
+ ev.data.djConfig = window.djConfig;
+ ev.data.scayt_control = plugin.getScayt( editor );
+ ev.data.tab = openPage;
+ ev.data.scayt = window.scayt;
+ });
+
+ var dataProcessor = editor.dataProcessor,
+ htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+ if ( htmlFilter )
+ {
+ htmlFilter.addRules(
+ {
+ elements :
+ {
+ span : function( element )
+ {
+ if ( element.attributes.scayt_word && element.attributes.scaytid )
+ {
+ delete element.name; // Write children, but don't write this node.
+ return element;
+ }
+ }
+ }
+ }
+ );
+ }
+
+ // Override Image.equals method avoid CK snapshot module to add SCAYT markup to snapshots. (#5546)
+ var undoImagePrototype = CKEDITOR.plugins.undo.Image.prototype;
+ undoImagePrototype.equals = CKEDITOR.tools.override( undoImagePrototype.equals, function( org )
+ {
+ return function( otherImage )
+ {
+ var thisContents = this.contents,
+ otherContents = otherImage.contents;
+ var scayt_instance = plugin.getScayt( this.editor );
+ // Making the comparison based on content without SCAYT word markers.
+ if ( scayt_instance && plugin.isScaytReady( this.editor ) )
+ {
+ // scayt::reset might return value undefined. (#5742)
+ this.contents = scayt_instance.reset( thisContents ) || '';
+ otherImage.contents = scayt_instance.reset( otherContents ) || '';
+ }
+
+ var retval = org.apply( this, arguments );
+
+ this.contents = thisContents;
+ otherImage.contents = otherContents;
+ return retval;
+ };
+ });
+
+ if ( editor.document )
+ createInstance();
+ };
+
+CKEDITOR.plugins.scayt =
+ {
+ engineLoaded : false,
+ instances : {},
+ // Data storage for SCAYT control, based on editor instances
+ controlInfo : {},
+ setControlInfo : function( editor, o )
+ {
+ if ( editor && editor.name && typeof ( this.controlInfo[ editor.name ] ) != 'object' )
+ this.controlInfo[ editor.name ] = {};
+
+ for ( var infoOpt in o )
+ this.controlInfo[ editor.name ][ infoOpt ] = o[ infoOpt ];
+ },
+ isControlRestored : function ( editor )
+ {
+ if ( editor &&
+ editor.name &&
+ this.controlInfo[ editor.name ] )
+ {
+ return this.controlInfo[ editor.name ].restored ;
+ }
+ return false;
+ },
+ markControlRestore : function ( editor )
+ {
+ this.setControlInfo( editor,{ restored:true } );
+ },
+ setControlId: function (editor, id)
+ {
+ this.setControlInfo( editor,{ id:id } );
+ },
+ getControlId: function (editor)
+ {
+ if ( editor &&
+ editor.name &&
+ this.controlInfo[ editor.name ] &&
+ this.controlInfo[ editor.name ].id )
+ {
+ return this.controlInfo[ editor.name ].id;
+ }
+ return null;
+ },
+ setPaused: function ( editor , bool )
+ {
+ this.setControlInfo( editor,{ paused:bool } );
+ },
+ isPaused: function (editor)
+ {
+ if ( editor &&
+ editor.name &&
+ this.controlInfo[editor.name] )
+ {
+ return this.controlInfo[editor.name].paused ;
+ }
+ return undefined;
+ },
+ getScayt : function( editor )
+ {
+ return this.instances[ editor.name ];
+ },
+ isScaytReady : function( editor )
+ {
+ return this.engineLoaded === true &&
+ 'undefined' !== typeof window.scayt && this.getScayt( editor );
+ },
+ isScaytEnabled : function( editor )
+ {
+ var scayt_instance = this.getScayt( editor );
+ return ( scayt_instance ) ? scayt_instance.disabled === false : false;
+ },
+ loadEngine : function( editor )
+ {
+ // SCAYT doesn't work with Firefox2, Opera.
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 || CKEDITOR.env.opera )
+ return editor.fire( 'showScaytState' );
+
+ if ( this.engineLoaded === true )
+ return onEngineLoad.apply( editor ); // Add new instance.
+ else if ( this.engineLoaded == -1 ) // We are waiting.
+ return CKEDITOR.on( 'scaytReady', function(){ onEngineLoad.apply( editor ); } ); // Use function(){} to avoid rejection as duplicate.
+
+ CKEDITOR.on( 'scaytReady', onEngineLoad, editor );
+ CKEDITOR.on( 'scaytReady', function()
+ {
+ this.engineLoaded = true;
+ },
+ this,
+ null,
+ 0
+ ); // First to run.
+
+ this.engineLoaded = -1; // Loading in progress.
+
+ // compose scayt url
+ var protocol = document.location.protocol;
+ // Default to 'http' for unknown.
+ protocol = protocol.search( /https?:/) != -1? protocol : 'http:';
+ var baseUrl = 'svc.spellchecker.net/scayt25/loader__base.js';
+
+ var scaytUrl = editor.config.scayt_srcUrl || ( protocol + '//' + baseUrl );
+ var scaytConfigBaseUrl = plugin.parseUrl( scaytUrl ).path + '/';
+
+ if( window.scayt == undefined )
+ {
+ CKEDITOR._djScaytConfig =
+ {
+ baseUrl: scaytConfigBaseUrl,
+ addOnLoad:
+ [
+ function()
+ {
+ CKEDITOR.fireOnce( 'scaytReady' );
+ }
+ ],
+ isDebug: false
+ };
+ // Append javascript code.
+ CKEDITOR.document.getHead().append(
+ CKEDITOR.document.createElement( 'script',
+ {
+ attributes :
+ {
+ type : 'text/javascript',
+ async : 'true',
+ src : scaytUrl
+ }
+ })
+ );
+ }
+ else
+ CKEDITOR.fireOnce( 'scaytReady' );
+
+ return null;
+ },
+ parseUrl : function ( data )
+ {
+ var match;
+ if ( data.match && ( match = data.match(/(.*)[\/\\](.*?\.\w+)$/) ) )
+ return { path: match[1], file: match[2] };
+ else
+ return data;
+ }
+ };
+
+ var plugin = CKEDITOR.plugins.scayt;
+
+ // Context menu constructing.
+ var addButtonCommand = function( editor, buttonName, buttonLabel, commandName, command, menugroup, menuOrder )
+ {
+ editor.addCommand( commandName, command );
+
+ // If the "menu" plugin is loaded, register the menu item.
+ editor.addMenuItem( commandName,
+ {
+ label : buttonLabel,
+ command : commandName,
+ group : menugroup,
+ order : menuOrder
+ });
+ };
+
+ var commandDefinition =
+ {
+ preserveState : true,
+ editorFocus : false,
+
+ exec: function( editor )
+ {
+ if ( plugin.isScaytReady( editor ) )
+ {
+ var isEnabled = plugin.isScaytEnabled( editor );
+
+ this.setState( isEnabled ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_ON );
+
+ var scayt_control = plugin.getScayt( editor );
+ // the place where the status of editor focus should be restored
+ // after there will be ability to store its state before SCAYT button click
+ // if (storedFocusState is focused )
+ // scayt_control.focus();
+ //
+ // now focus is set certainly
+ scayt_control.focus( );
+ scayt_control.setDisabled( isEnabled );
+ }
+ else if ( !editor.config.scayt_autoStartup && plugin.engineLoaded >= 0 ) // Load first time
+ {
+ this.setState( CKEDITOR.TRISTATE_DISABLED );
+ plugin.loadEngine( editor );
+ }
+ }
+ };
+
+ // Add scayt plugin.
+ CKEDITOR.plugins.add( 'scayt',
+ {
+ requires : [ 'menubutton' ],
+
+ beforeInit : function( editor )
+ {
+ var items_order = editor.config.scayt_contextMenuItemsOrder
+ || 'suggest|moresuggest|control',
+ items_order_str = "";
+
+ items_order = items_order.split( '|' );
+
+ if ( items_order && items_order.length )
+ {
+ for ( var pos in items_order )
+ items_order_str += 'scayt_' + items_order[ pos ] + ( items_order.length != parseInt( pos, 10 ) + 1 ? ',' : '' );
+ }
+
+ // Put it on top of all context menu items (#5717)
+ editor.config.menu_groups = items_order_str + ',' + editor.config.menu_groups;
+ },
+
+ init : function( editor )
+ {
+ var moreSuggestions = {};
+ var mainSuggestions = {};
+
+ // Scayt command.
+ var command = editor.addCommand( commandName, commandDefinition );
+
+ // Add Options dialog.
+ CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/options.js' ) );
+ // read ui tags
+ var confuiTabs = editor.config.scayt_uiTabs || '1,1,1';
+ var uiTabs =[];
+ // string to array convert
+ confuiTabs = confuiTabs.split( ',' );
+ // check array length ! always must be 3 filled with 1 or 0
+ for (var i=0,l=3; i<l; i++)
+ {
+ var flag = parseInt(confuiTabs[i] || '1' ,10);
+ uiTabs.push( flag );
+ }
+
+ var menuGroup = 'scaytButton';
+ editor.addMenuGroup( menuGroup );
+ // combine menu items to render
+ var uiMuneItems = {};
+
+ // always added
+ uiMuneItems.scaytToggle =
+ {
+ label : editor.lang.scayt.enable,
+ command : commandName,
+ group : menuGroup
+ };
+
+ if (uiTabs[0] == 1)
+ uiMuneItems.scaytOptions =
+ {
+ label : editor.lang.scayt.options,
+ group : menuGroup,
+ onClick : function()
+ {
+ openPage = 'options';
+ editor.openDialog( commandName );
+ }
+ };
+
+ if (uiTabs[1] == 1)
+ uiMuneItems.scaytLangs =
+ {
+ label : editor.lang.scayt.langs,
+ group : menuGroup,
+ onClick : function()
+ {
+ openPage = 'langs';
+ editor.openDialog( commandName );
+ }
+ };
+ if (uiTabs[2] == 1)
+ uiMuneItems.scaytDict =
+ {
+ label : editor.lang.scayt.dictionariesTab,
+ group : menuGroup,
+ onClick : function()
+ {
+ openPage = 'dictionaries';
+ editor.openDialog( commandName );
+ }
+ };
+ // always added
+ uiMuneItems.scaytAbout =
+ {
+ label : editor.lang.scayt.about,
+ group : menuGroup,
+ onClick : function()
+ {
+ openPage = 'about';
+ editor.openDialog( commandName );
+ }
+ }
+ ;
+
+ uiTabs[3] = 1; // about us tab is always on
+ plugin.uiTabs = uiTabs;
+
+ editor.addMenuItems( uiMuneItems );
+
+ editor.ui.add( 'Scayt', CKEDITOR.UI_MENUBUTTON,
+ {
+ label : editor.lang.scayt.title,
+ title : CKEDITOR.env.opera ? editor.lang.scayt.opera_title : editor.lang.scayt.title,
+ className : 'cke_button_scayt',
+ onRender: function()
+ {
+ command.on( 'state', function()
+ {
+ this.setState( command.state );
+ },
+ this);
+ },
+ onMenu : function()
+ {
+ var isEnabled = plugin.isScaytEnabled( editor );
+
+ editor.getMenuItem( 'scaytToggle' ).label = editor.lang.scayt[ isEnabled ? 'disable' : 'enable' ];
+
+ return {
+ scaytToggle : CKEDITOR.TRISTATE_OFF,
+ scaytOptions : isEnabled && plugin.uiTabs[0] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ scaytLangs : isEnabled && plugin.uiTabs[1] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ scaytDict : isEnabled && plugin.uiTabs[2] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ scaytAbout : isEnabled && plugin.uiTabs[3] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED
+ };
+ }
+ });
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu && editor.addMenuItems )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( !plugin.isScaytEnabled( editor )
+ || selection.getCommonAncestor().isReadOnly() )
+ return null;
+
+ var scayt_control = plugin.getScayt( editor ),
+ node = scayt_control.getScaytNode();
+
+ if ( !node )
+ return null;
+
+ var word = scayt_control.getWord( node );
+
+ if ( !word )
+ return null;
+
+ var sLang = scayt_control.getLang(),
+ _r = {},
+ items_suggestion = window.scayt.getSuggestion( word, sLang );
+ if ( !items_suggestion || !items_suggestion.length )
+ return null;
+ // Remove unused commands and menuitems
+ for ( i in moreSuggestions )
+ {
+ delete editor._.menuItems[ i ];
+ delete editor._.commands[ i ];
+ }
+ for ( i in mainSuggestions )
+ {
+ delete editor._.menuItems[ i ];
+ delete editor._.commands[ i ];
+ }
+ moreSuggestions = {}; // Reset items.
+ mainSuggestions = {};
+
+ var moreSuggestionsUnable = editor.config.scayt_moreSuggestions || 'on';
+ var moreSuggestionsUnableAdded = false;
+
+ var maxSuggestions = editor.config.scayt_maxSuggestions;
+ ( typeof maxSuggestions != 'number' ) && ( maxSuggestions = 5 );
+ !maxSuggestions && ( maxSuggestions = items_suggestion.length );
+
+ var contextCommands = editor.config.scayt_contextCommands || 'all';
+ contextCommands = contextCommands.split( '|' );
+
+ for ( var i = 0, l = items_suggestion.length; i < l; i += 1 )
+ {
+ var commandName = 'scayt_suggestion_' + items_suggestion[i].replace( ' ', '_' );
+ var exec = ( function( el, s )
+ {
+ return {
+ exec: function()
+ {
+ scayt_control.replace(el, s);
+ }
+ };
+ })( node, items_suggestion[i] );
+
+ if ( i < maxSuggestions )
+ {
+ addButtonCommand( editor, 'button_' + commandName, items_suggestion[i],
+ commandName, exec, 'scayt_suggest', i + 1 );
+ _r[ commandName ] = CKEDITOR.TRISTATE_OFF;
+ mainSuggestions[ commandName ] = CKEDITOR.TRISTATE_OFF;
+ }
+ else if ( moreSuggestionsUnable == 'on' )
+ {
+ addButtonCommand( editor, 'button_' + commandName, items_suggestion[i],
+ commandName, exec, 'scayt_moresuggest', i + 1 );
+ moreSuggestions[ commandName ] = CKEDITOR.TRISTATE_OFF;
+ moreSuggestionsUnableAdded = true;
+ }
+ }
+
+ if ( moreSuggestionsUnableAdded )
+ {
+ // Register the More suggestions group;
+ editor.addMenuItem( 'scayt_moresuggest',
+ {
+ label : editor.lang.scayt.moreSuggestions,
+ group : 'scayt_moresuggest',
+ order : 10,
+ getItems : function()
+ {
+ return moreSuggestions;
+ }
+ });
+ mainSuggestions[ 'scayt_moresuggest' ] = CKEDITOR.TRISTATE_OFF;
+ }
+
+ if ( in_array( 'all', contextCommands ) || in_array( 'ignore', contextCommands) )
+ {
+ var ignore_command = {
+ exec: function(){
+ scayt_control.ignore( node );
+ }
+ };
+ addButtonCommand( editor, 'ignore', editor.lang.scayt.ignore, 'scayt_ignore', ignore_command, 'scayt_control', 1 );
+ mainSuggestions[ 'scayt_ignore' ] = CKEDITOR.TRISTATE_OFF;
+ }
+
+ if ( in_array( 'all', contextCommands ) || in_array( 'ignoreall', contextCommands ) )
+ {
+ var ignore_all_command = {
+ exec: function(){
+ scayt_control.ignoreAll( node );
+ }
+ };
+ addButtonCommand(editor, 'ignore_all', editor.lang.scayt.ignoreAll, 'scayt_ignore_all', ignore_all_command, 'scayt_control', 2);
+ mainSuggestions['scayt_ignore_all'] = CKEDITOR.TRISTATE_OFF;
+ }
+
+ if ( in_array( 'all', contextCommands ) || in_array( 'add', contextCommands ) )
+ {
+ var addword_command = {
+ exec: function(){
+ window.scayt.addWordToUserDictionary( node );
+ }
+ };
+ addButtonCommand(editor, 'add_word', editor.lang.scayt.addWord, 'scayt_add_word', addword_command, 'scayt_control', 3);
+ mainSuggestions['scayt_add_word'] = CKEDITOR.TRISTATE_OFF;
+ }
+
+ if ( scayt_control.fireOnContextMenu )
+ scayt_control.fireOnContextMenu( editor );
+
+ return mainSuggestions;
+ });
+ }
+
+ var showInitialState = function()
+ {
+ editor.removeListener( 'showScaytState', showInitialState );
+
+ if ( !CKEDITOR.env.opera )
+ command.setState( plugin.isScaytEnabled( editor ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF );
+ else
+ command.setState( CKEDITOR.TRISTATE_DISABLED );
+ };
+
+ editor.on( 'showScaytState', showInitialState );
+
+ if ( CKEDITOR.env.opera )
+ {
+ editor.on( 'instanceReady', function()
+ {
+ showInitialState();
+ });
+ }
+
+ // Start plugin
+ if ( editor.config.scayt_autoStartup )
+ {
+ editor.on( 'instanceReady', function()
+ {
+ plugin.loadEngine( editor );
+ });
+ }
+ },
+
+ afterInit : function( editor )
+ {
+ // Prevent word marker line from displaying in elements path and been removed when cleaning format. (#3570) (#4125)
+ var elementsPathFilters,
+ scaytFilter = function( element )
+ {
+ if ( element.hasAttribute( 'scaytid' ) )
+ return false;
+ };
+
+ if ( editor._.elementsPath && ( elementsPathFilters = editor._.elementsPath.filters ) )
+ elementsPathFilters.push( scaytFilter );
+
+ editor.addRemoveFormatFilter && editor.addRemoveFormatFilter( scaytFilter );
+
+ }
+ });
+})();
+
+/**
+ * If enabled (true), turns on SCAYT automatically after loading the editor.
+ * @name CKEDITOR.config.scayt_autoStartup
+ * @type Boolean
+ * @default false
+ * @example
+ * config.scayt_autoStartup = true;
+ */
+
+/**
+ * Defines the number of SCAYT suggestions to show in the main context menu.
+ * The possible values are:
+ * <ul>
+ * <li>0 (zero): All suggestions are displayed in the main context menu.</li>
+ * <li>Positive number: The maximum number of suggestions to shown in context
+ * menu. Other entries will be shown in "More Suggestions" sub-menu.</li>
+ * <li>Negative number: No suggestions are shown in the main context menu. All
+ * entries will be listed in the "Suggestions" sub-menu.</li>
+ * </ul>
+ * @name CKEDITOR.config.scayt_maxSuggestions
+ * @type Number
+ * @default 5
+ * @example
+ * // Display only three suggestions in the main context menu.
+ * config.scayt_maxSuggestions = 3;
+ * @example
+ * // Do not show the suggestions directly.
+ * config.scayt_maxSuggestions = -1;
+ */
+
+/**
+ * Sets the customer ID for SCAYT. Required for migration from free version
+ * with banner to paid version.
+ * @name CKEDITOR.config.scayt_customerid
+ * @type String
+ * @default ''
+ * @example
+ * // Load SCAYT using my customer ID.
+ * config.scayt_customerid = 'your-encrypted-customer-id';
+ */
+
+/**
+ * Enables/disables the "More Suggestions" sub-menu in the context menu.
+ * The possible values are "on" or "off".
+ * @name CKEDITOR.config.scayt_moreSuggestions
+ * @type String
+ * @default 'on'
+ * @example
+ * // Disables the "More Suggestions" sub-menu.
+ * config.scayt_moreSuggestions = 'off';
+ */
+
+/**
+ * Customizes the display of SCAYT context menu commands ("Add Word", "Ignore"
+ * and "Ignore All"). It must be a string with one or more of the following
+ * words separated by a pipe ("|"):
+ * <ul>
+ * <li>"off": disables all options.</li>
+ * <li>"all": enables all options.</li>
+ * <li>"ignore": enables the "Ignore" option.</li>
+ * <li>"ignoreall": enables the "Ignore All" option.</li>
+ * <li>"add": enables the "Add Word" option.</li>
+ * </ul>
+ * @name CKEDITOR.config.scayt_contextCommands
+ * @type String
+ * @default 'all'
+ * @example
+ * // Show only "Add Word" and "Ignore All" in the context menu.
+ * config.scayt_contextCommands = 'add|ignoreall';
+ */
+
+/**
+ * Sets the default spellchecking language for SCAYT.
+ * @name CKEDITOR.config.scayt_sLang
+ * @type String
+ * @default 'en_US'
+ * @example
+ * // Sets SCAYT to German.
+ * config.scayt_sLang = 'de_DE';
+ */
+
+/**
+ * Sets the visibility of the SCAYT tabs in the settings dialog and toolbar
+ * button. The value must contain a "1" (enabled) or "0" (disabled) number for
+ * each of the following entries, in this precise order, separated by a
+ * comma (","): "Options", "Languages" and "Dictionary".
+ * @name CKEDITOR.config.scayt_uiTabs
+ * @type String
+ * @default '1,1,1'
+ * @example
+ * // Hide the "Languages" tab.
+ * config.scayt_uiTabs = '1,0,1';
+ */
+
+
+/**
+ * Set the URL to SCAYT core. Required to switch to licensed version of SCAYT application.
+ * Further details at http://wiki.spellchecker.net/doku.php?id=3rd:wysiwyg:fckeditor:wscckf3l .
+ * @name CKEDITOR.config.scayt_srcUrl
+ * @type String
+ * @default ''
+ * @example
+ * config.scayt_srcUrl = "http://my-host/spellcheck/lf/scayt/scayt.js";
+ */
+
+/**
+ * Links SCAYT to custom dictionaries. It's a string containing dictionary ids
+ * separared by commas (","). Available only for licensed version.
+ * Further details at http://wiki.spellchecker.net/doku.php?id=custom_dictionary_support .
+ * @name CKEDITOR.config.scayt_customDictionaryIds
+ * @type String
+ * @default ''
+ * @example
+ * config.scayt_customDictionaryIds = '3021,3456,3478"';
+ */
+
+/**
+ * Makes it possible to activate a custom dictionary on SCAYT. The user
+ * dictionary name must be used. Available only for licensed version.
+ * @name CKEDITOR.config.scayt_userDictionaryName
+ * @type String
+ * @default ''
+ * @example
+ * config.scayt_userDictionaryName = 'MyDictionary';
+ */
+
+/**
+ * Define order of placing of SCAYT context menu items by groups.
+ * It must be a string with one or more of the following
+ * words separated by a pipe ("|"):
+ * <ul>
+ * <li>'suggest' - main suggestion word list,</li>
+ * <li>'moresuggest' - more suggestions word list,</li>
+ * <li>'control' - SCAYT commands, such as 'Ignore' and 'Add Word'</li>
+ * </ul>
+ *
+ * @name CKEDITOR.config.scayt_contextMenuItemsOrder
+ * @type String
+ * @default 'suggest|moresuggest|control'
+ * @example
+ * config.scayt_contextMenuItemsOrder = 'moresuggest|control|suggest';
+ */
diff --git a/devel/third-party/ckeditor/plugins/selection/plugin.js b/devel/third-party/ckeditor/plugins/selection/plugin.js
new file mode 100644
index 0000000..f0d2c44
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/selection/plugin.js
@@ -0,0 +1,1367 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ // #### checkSelectionChange : START
+
+ // The selection change check basically saves the element parent tree of
+ // the current node and check it on successive requests. If there is any
+ // change on the tree, then the selectionChange event gets fired.
+ function checkSelectionChange()
+ {
+ try
+ {
+ // In IE, the "selectionchange" event may still get thrown when
+ // releasing the WYSIWYG mode, so we need to check it first.
+ var sel = this.getSelection();
+ if ( !sel || !sel.document.getWindow().$ )
+ return;
+
+ var firstElement = sel.getStartElement();
+ var currentPath = new CKEDITOR.dom.elementPath( firstElement );
+
+ if ( !currentPath.compare( this._.selectionPreviousPath ) )
+ {
+ this._.selectionPreviousPath = currentPath;
+ this.fire( 'selectionChange', { selection : sel, path : currentPath, element : firstElement } );
+ }
+ }
+ catch (e)
+ {}
+ }
+
+ var checkSelectionChangeTimer,
+ checkSelectionChangeTimeoutPending;
+
+ function checkSelectionChangeTimeout()
+ {
+ // Firing the "OnSelectionChange" event on every key press started to
+ // be too slow. This function guarantees that there will be at least
+ // 200ms delay between selection checks.
+
+ checkSelectionChangeTimeoutPending = true;
+
+ if ( checkSelectionChangeTimer )
+ return;
+
+ checkSelectionChangeTimeoutExec.call( this );
+
+ checkSelectionChangeTimer = CKEDITOR.tools.setTimeout( checkSelectionChangeTimeoutExec, 200, this );
+ }
+
+ function checkSelectionChangeTimeoutExec()
+ {
+ checkSelectionChangeTimer = null;
+
+ if ( checkSelectionChangeTimeoutPending )
+ {
+ // Call this with a timeout so the browser properly moves the
+ // selection after the mouseup. It happened that the selection was
+ // being moved after the mouseup when clicking inside selected text
+ // with Firefox.
+ CKEDITOR.tools.setTimeout( checkSelectionChange, 0, this );
+
+ checkSelectionChangeTimeoutPending = false;
+ }
+ }
+
+ // #### checkSelectionChange : END
+
+ var selectAllCmd =
+ {
+ modes : { wysiwyg : 1, source : 1 },
+ exec : function( editor )
+ {
+ switch ( editor.mode )
+ {
+ case 'wysiwyg' :
+ editor.document.$.execCommand( 'SelectAll', false, null );
+ break;
+ case 'source' :
+ // Select the contents of the textarea
+ var textarea = editor.textarea.$ ;
+ if ( CKEDITOR.env.ie )
+ {
+ textarea.createTextRange().execCommand( 'SelectAll' ) ;
+ }
+ else
+ {
+ textarea.selectionStart = 0 ;
+ textarea.selectionEnd = textarea.value.length ;
+ }
+ textarea.focus() ;
+ }
+ },
+ canUndo : false
+ };
+
+ CKEDITOR.plugins.add( 'selection',
+ {
+ init : function( editor )
+ {
+ editor.on( 'contentDom', function()
+ {
+ var doc = editor.document,
+ body = doc.getBody(),
+ html = doc.getDocumentElement();
+
+ if ( CKEDITOR.env.ie )
+ {
+ // Other browsers don't loose the selection if the
+ // editor document loose the focus. In IE, we don't
+ // have support for it, so we reproduce it here, other
+ // than firing the selection change event.
+
+ var savedRange,
+ saveEnabled,
+ restoreEnabled = 1;
+
+ // "onfocusin" is fired before "onfocus". It makes it
+ // possible to restore the selection before click
+ // events get executed.
+ body.on( 'focusin', function( evt )
+ {
+ // If there are elements with layout they fire this event but
+ // it must be ignored to allow edit its contents #4682
+ if ( evt.data.$.srcElement.nodeName != 'BODY' )
+ return;
+
+ // If we have saved a range, restore it at this
+ // point.
+ if ( savedRange )
+ {
+ if ( restoreEnabled )
+ {
+ // Well not break because of this.
+ try
+ {
+ savedRange.select();
+ }
+ catch (e)
+ {}
+ }
+
+ savedRange = null;
+ }
+ });
+
+ body.on( 'focus', function()
+ {
+ // Enable selections to be saved.
+ saveEnabled = true;
+
+ saveSelection();
+ });
+
+ body.on( 'beforedeactivate', function( evt )
+ {
+ // Ignore this event if it's caused by focus switch between
+ // internal editable control type elements, e.g. layouted paragraph. (#4682)
+ if ( evt.data.$.toElement )
+ return;
+
+ // Disable selections from being saved.
+ saveEnabled = false;
+ restoreEnabled = 1;
+ });
+
+ // IE before version 8 will leave cursor blinking inside the document after
+ // editor blurred unless we clean up the selection. (#4716)
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
+ {
+ editor.on( 'blur', function( evt )
+ {
+ editor.document && editor.document.$.selection.empty();
+ });
+ }
+
+ // Listening on document element ensures that
+ // scrollbar is included. (#5280)
+ html.on( 'mousedown', function ()
+ {
+ // Lock restore selection now, as we have
+ // a followed 'click' event which introduce
+ // new selection. (#5735)
+ restoreEnabled = 0;
+ });
+
+ html.on( 'mouseup', function ()
+ {
+ restoreEnabled = 1;
+ });
+
+ // In IE6/7 the blinking cursor appears, but contents are
+ // not editable. (#5634)
+ if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.version < 8 || CKEDITOR.env.quirks ) )
+ {
+ // The 'click' event is not fired when clicking the
+ // scrollbars, so we can use it to check whether
+ // the empty space following <body> has been clicked.
+ html.on( 'click', function( evt )
+ {
+ if ( evt.data.getTarget().getName() == 'html' )
+ editor.getSelection().getRanges()[ 0 ].select();
+ });
+ }
+
+ var scroll;
+ // IE fires the "selectionchange" event when clicking
+ // inside a selection. We don't want to capture that.
+ body.on( 'mousedown', function( evt )
+ {
+ // IE scrolls document to top on right mousedown
+ // when editor has no focus, remember this scroll
+ // position and revert it before context menu opens. (#5778)
+ if ( evt.data.$.button == 2 )
+ {
+ var sel = editor.document.$.selection;
+ if ( sel.type == 'None' )
+ scroll = editor.window.getScrollPosition();
+ }
+ disableSave();
+ });
+
+ body.on( 'mouseup',
+ function( evt )
+ {
+ // Restore recorded scroll position when needed on right mouseup.
+ if ( evt.data.$.button == 2 && scroll )
+ {
+ editor.document.$.documentElement.scrollLeft = scroll.x;
+ editor.document.$.documentElement.scrollTop = scroll.y;
+ }
+ scroll = null;
+
+ saveEnabled = true;
+ setTimeout( function()
+ {
+ saveSelection( true );
+ },
+ 0 );
+ });
+
+ body.on( 'keydown', disableSave );
+ body.on( 'keyup',
+ function()
+ {
+ saveEnabled = true;
+ saveSelection();
+ });
+
+
+ // IE is the only to provide the "selectionchange"
+ // event.
+ doc.on( 'selectionchange', saveSelection );
+
+ function disableSave()
+ {
+ saveEnabled = false;
+ }
+
+ function saveSelection( testIt )
+ {
+ if ( saveEnabled )
+ {
+ var doc = editor.document,
+ sel = editor.getSelection(),
+ nativeSel = sel && sel.getNative();
+
+ // There is a very specific case, when clicking
+ // inside a text selection. In that case, the
+ // selection collapses at the clicking point,
+ // but the selection object remains in an
+ // unknown state, making createRange return a
+ // range at the very start of the document. In
+ // such situation we have to test the range, to
+ // be sure it's valid.
+ if ( testIt && nativeSel && nativeSel.type == 'None' )
+ {
+ // The "InsertImage" command can be used to
+ // test whether the selection is good or not.
+ // If not, it's enough to give some time to
+ // IE to put things in order for us.
+ if ( !doc.$.queryCommandEnabled( 'InsertImage' ) )
+ {
+ CKEDITOR.tools.setTimeout( saveSelection, 50, this, true );
+ return;
+ }
+ }
+
+ // Avoid saving selection from within text input. (#5747)
+ var parentTag;
+ if ( nativeSel && nativeSel.type && nativeSel.type != 'Control'
+ && ( parentTag = nativeSel.createRange() )
+ && ( parentTag = parentTag.parentElement() )
+ && ( parentTag = parentTag.nodeName )
+ && parentTag.toLowerCase() in { input: 1, textarea : 1 } )
+ {
+ return;
+ }
+
+ savedRange = nativeSel && sel.getRanges()[ 0 ];
+
+ checkSelectionChangeTimeout.call( editor );
+ }
+ }
+ }
+ else
+ {
+ // In other browsers, we make the selection change
+ // check based on other events, like clicks or keys
+ // press.
+
+ doc.on( 'mouseup', checkSelectionChangeTimeout, editor );
+ doc.on( 'keyup', checkSelectionChangeTimeout, editor );
+ }
+ });
+
+ editor.addCommand( 'selectAll', selectAllCmd );
+ editor.ui.addButton( 'SelectAll',
+ {
+ label : editor.lang.selectAll,
+ command : 'selectAll'
+ });
+
+ editor.selectionChange = checkSelectionChangeTimeout;
+ }
+ });
+
+ /**
+ * Gets the current selection from the editing area when in WYSIWYG mode.
+ * @returns {CKEDITOR.dom.selection} A selection object or null if not on
+ * WYSIWYG mode or no selection is available.
+ * @example
+ * var selection = CKEDITOR.instances.editor1.<b>getSelection()</b>;
+ * alert( selection.getType() );
+ */
+ CKEDITOR.editor.prototype.getSelection = function()
+ {
+ return this.document && this.document.getSelection();
+ };
+
+ CKEDITOR.editor.prototype.forceNextSelectionCheck = function()
+ {
+ delete this._.selectionPreviousPath;
+ };
+
+ /**
+ * Gets the current selection from the document.
+ * @returns {CKEDITOR.dom.selection} A selection object.
+ * @example
+ * var selection = CKEDITOR.instances.editor1.document.<b>getSelection()</b>;
+ * alert( selection.getType() );
+ */
+ CKEDITOR.dom.document.prototype.getSelection = function()
+ {
+ var sel = new CKEDITOR.dom.selection( this );
+ return ( !sel || sel.isInvalid ) ? null : sel;
+ };
+
+ /**
+ * No selection.
+ * @constant
+ * @example
+ * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_NONE )
+ * alert( 'Nothing is selected' );
+ */
+ CKEDITOR.SELECTION_NONE = 1;
+
+ /**
+ * Text or collapsed selection.
+ * @constant
+ * @example
+ * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_TEXT )
+ * alert( 'Text is selected' );
+ */
+ CKEDITOR.SELECTION_TEXT = 2;
+
+ /**
+ * Element selection.
+ * @constant
+ * @example
+ * if ( editor.getSelection().getType() == CKEDITOR.SELECTION_ELEMENT )
+ * alert( 'An element is selected' );
+ */
+ CKEDITOR.SELECTION_ELEMENT = 3;
+
+ /**
+ * Manipulates the selection in a DOM document.
+ * @constructor
+ * @example
+ */
+ CKEDITOR.dom.selection = function( document )
+ {
+ var lockedSelection = document.getCustomData( 'cke_locked_selection' );
+
+ if ( lockedSelection )
+ return lockedSelection;
+
+ this.document = document;
+ this.isLocked = false;
+ this._ =
+ {
+ cache : {}
+ };
+
+ /**
+ * IE BUG: The selection's document may be a different document than the
+ * editor document. Return null if that's the case.
+ */
+ if ( CKEDITOR.env.ie )
+ {
+ var range = this.getNative().createRange();
+ if ( !range
+ || ( range.item && range.item(0).ownerDocument != this.document.$ )
+ || ( range.parentElement && range.parentElement().ownerDocument != this.document.$ ) )
+ {
+ this.isInvalid = true;
+ }
+ }
+
+ return this;
+ };
+
+ var styleObjectElements =
+ {
+ img:1,hr:1,li:1,table:1,tr:1,td:1,th:1,embed:1,object:1,ol:1,ul:1,
+ a:1, input:1, form:1, select:1, textarea:1, button:1, fieldset:1, th:1, thead:1, tfoot:1
+ };
+
+ CKEDITOR.dom.selection.prototype =
+ {
+ /**
+ * Gets the native selection object from the browser.
+ * @function
+ * @returns {Object} The native selection object.
+ * @example
+ * var selection = editor.getSelection().<b>getNative()</b>;
+ */
+ getNative :
+ CKEDITOR.env.ie ?
+ function()
+ {
+ return this._.cache.nativeSel || ( this._.cache.nativeSel = this.document.$.selection );
+ }
+ :
+ function()
+ {
+ return this._.cache.nativeSel || ( this._.cache.nativeSel = this.document.getWindow().$.getSelection() );
+ },
+
+ /**
+ * Gets the type of the current selection. The following values are
+ * available:
+ * <ul>
+ * <li>{@link CKEDITOR.SELECTION_NONE} (1): No selection.</li>
+ * <li>{@link CKEDITOR.SELECTION_TEXT} (2): Text is selected or
+ * collapsed selection.</li>
+ * <li>{@link CKEDITOR.SELECTION_ELEMENT} (3): A element
+ * selection.</li>
+ * </ul>
+ * @function
+ * @returns {Number} One of the following constant values:
+ * {@link CKEDITOR.SELECTION_NONE}, {@link CKEDITOR.SELECTION_TEXT} or
+ * {@link CKEDITOR.SELECTION_ELEMENT}.
+ * @example
+ * if ( editor.getSelection().<b>getType()</b> == CKEDITOR.SELECTION_TEXT )
+ * alert( 'Text is selected' );
+ */
+ getType :
+ CKEDITOR.env.ie ?
+ function()
+ {
+ var cache = this._.cache;
+ if ( cache.type )
+ return cache.type;
+
+ var type = CKEDITOR.SELECTION_NONE;
+
+ try
+ {
+ var sel = this.getNative(),
+ ieType = sel.type;
+
+ if ( ieType == 'Text' )
+ type = CKEDITOR.SELECTION_TEXT;
+
+ if ( ieType == 'Control' )
+ type = CKEDITOR.SELECTION_ELEMENT;
+
+ // It is possible that we can still get a text range
+ // object even when type == 'None' is returned by IE.
+ // So we'd better check the object returned by
+ // createRange() rather than by looking at the type.
+ if ( sel.createRange().parentElement )
+ type = CKEDITOR.SELECTION_TEXT;
+ }
+ catch(e) {}
+
+ return ( cache.type = type );
+ }
+ :
+ function()
+ {
+ var cache = this._.cache;
+ if ( cache.type )
+ return cache.type;
+
+ var type = CKEDITOR.SELECTION_TEXT;
+
+ var sel = this.getNative();
+
+ if ( !sel )
+ type = CKEDITOR.SELECTION_NONE;
+ else if ( sel.rangeCount == 1 )
+ {
+ // Check if the actual selection is a control (IMG,
+ // TABLE, HR, etc...).
+
+ var range = sel.getRangeAt(0),
+ startContainer = range.startContainer;
+
+ if ( startContainer == range.endContainer
+ && startContainer.nodeType == 1
+ && ( range.endOffset - range.startOffset ) == 1
+ && styleObjectElements[ startContainer.childNodes[ range.startOffset ].nodeName.toLowerCase() ] )
+ {
+ type = CKEDITOR.SELECTION_ELEMENT;
+ }
+ }
+
+ return ( cache.type = type );
+ },
+
+ /**
+ * Retrieve the {@link CKEDITOR.dom.range} instances that represent the current selection.
+ * Note: Some browsers returns multiple ranges even on a sequent selection, e.g. Firefox returns
+ * one range for each table cell when one or more table row is selected.
+ * @return {Array}
+ * @example
+ * var ranges = selection.getRanges();
+ * alert(ranges.length);
+ */
+ getRanges : (function ()
+ {
+ var func = CKEDITOR.env.ie ?
+ ( function()
+ {
+ // Finds the container and offset for a specific boundary
+ // of an IE range.
+ var getBoundaryInformation = function( range, start )
+ {
+ // Creates a collapsed range at the requested boundary.
+ range = range.duplicate();
+ range.collapse( start );
+
+ // Gets the element that encloses the range entirely.
+ var parent = range.parentElement();
+ var siblings = parent.childNodes;
+
+ var testRange;
+
+ for ( var i = 0 ; i < siblings.length ; i++ )
+ {
+ var child = siblings[ i ];
+ if ( child.nodeType == 1 )
+ {
+ testRange = range.duplicate();
+
+ testRange.moveToElementText( child );
+
+ var comparisonStart = testRange.compareEndPoints( 'StartToStart', range ),
+ comparisonEnd = testRange.compareEndPoints( 'EndToStart', range );
+
+ testRange.collapse();
+
+ if ( comparisonStart > 0 )
+ break;
+ // When selection stay at the side of certain self-closing elements, e.g. BR,
+ // our comparison will never shows an equality. (#4824)
+ else if ( !comparisonStart
+ || comparisonEnd == 1 && comparisonStart == -1 )
+ return { container : parent, offset : i };
+ else if ( !comparisonEnd )
+ return { container : parent, offset : i + 1 };
+
+ testRange = null;
+ }
+ }
+
+ if ( !testRange )
+ {
+ testRange = range.duplicate();
+ testRange.moveToElementText( parent );
+ testRange.collapse( false );
+ }
+
+ testRange.setEndPoint( 'StartToStart', range );
+ // IE report line break as CRLF with range.text but
+ // only LF with textnode.nodeValue, normalize them to avoid
+ // breaking character counting logic below. (#3949)
+ var distance = testRange.text.replace( /(\r\n|\r)/g, '\n' ).length;
+
+ try
+ {
+ while ( distance > 0 )
+ distance -= siblings[ --i ].nodeValue.length;
+ }
+ // Measurement in IE could be somtimes wrong because of <select> element. (#4611)
+ catch( e )
+ {
+ distance = 0;
+ }
+
+
+ if ( distance === 0 )
+ {
+ return {
+ container : parent,
+ offset : i
+ };
+ }
+ else
+ {
+ return {
+ container : siblings[ i ],
+ offset : -distance
+ };
+ }
+ };
+
+ return function()
+ {
+ // IE doesn't have range support (in the W3C way), so we
+ // need to do some magic to transform selections into
+ // CKEDITOR.dom.range instances.
+
+ var sel = this.getNative(),
+ nativeRange = sel && sel.createRange(),
+ type = this.getType(),
+ range;
+
+ if ( !sel )
+ return [];
+
+ if ( type == CKEDITOR.SELECTION_TEXT )
+ {
+ range = new CKEDITOR.dom.range( this.document );
+
+ var boundaryInfo = getBoundaryInformation( nativeRange, true );
+ range.setStart( new CKEDITOR.dom.node( boundaryInfo.container ), boundaryInfo.offset );
+
+ boundaryInfo = getBoundaryInformation( nativeRange );
+ range.setEnd( new CKEDITOR.dom.node( boundaryInfo.container ), boundaryInfo.offset );
+
+ return [ range ];
+ }
+ else if ( type == CKEDITOR.SELECTION_ELEMENT )
+ {
+ var retval = [];
+
+ for ( var i = 0 ; i < nativeRange.length ; i++ )
+ {
+ var element = nativeRange.item( i ),
+ parentElement = element.parentNode,
+ j = 0;
+
+ range = new CKEDITOR.dom.range( this.document );
+
+ for (; j < parentElement.childNodes.length && parentElement.childNodes[j] != element ; j++ )
+ { /*jsl:pass*/ }
+
+ range.setStart( new CKEDITOR.dom.node( parentElement ), j );
+ range.setEnd( new CKEDITOR.dom.node( parentElement ), j + 1 );
+ retval.push( range );
+ }
+
+ return retval;
+ }
+
+ return [];
+ };
+ })()
+ :
+ function()
+ {
+
+ // On browsers implementing the W3C range, we simply
+ // tranform the native ranges in CKEDITOR.dom.range
+ // instances.
+
+ var ranges = [],
+ range,
+ doc = this.document,
+ sel = this.getNative();
+
+ if ( !sel )
+ return ranges;
+
+ // On WebKit, it may happen that we'll have no selection
+ // available. We normalize it here by replicating the
+ // behavior of other browsers.
+ if ( !sel.rangeCount )
+ {
+ range = new CKEDITOR.dom.range( doc );
+ range.moveToElementEditStart( doc.getBody() );
+ ranges.push( range );
+ }
+
+ for ( var i = 0 ; i < sel.rangeCount ; i++ )
+ {
+ var nativeRange = sel.getRangeAt( i );
+
+ range = new CKEDITOR.dom.range( doc );
+
+ range.setStart( new CKEDITOR.dom.node( nativeRange.startContainer ), nativeRange.startOffset );
+ range.setEnd( new CKEDITOR.dom.node( nativeRange.endContainer ), nativeRange.endOffset );
+ ranges.push( range );
+ }
+ return ranges;
+ };
+
+ return function( onlyEditables )
+ {
+ var cache = this._.cache;
+ if ( cache.ranges && !onlyEditables )
+ return cache.ranges;
+ else if ( !cache.ranges )
+ cache.ranges = new CKEDITOR.dom.rangeList( func.call( this ) );
+
+ // Split range into multiple by read-only nodes.
+ if ( onlyEditables )
+ {
+ var ranges = cache.ranges;
+ for ( var i = 0; i < ranges.length; i++ )
+ {
+ var range = ranges[ i ];
+
+ // Drop range spans inside one ready-only node.
+ var parent = range.getCommonAncestor();
+ if ( parent.isReadOnly())
+ ranges.splice( i, 1 );
+
+ if ( range.collapsed )
+ continue;
+
+ var startContainer = range.startContainer,
+ endContainer = range.endContainer,
+ startOffset = range.startOffset,
+ endOffset = range.endOffset,
+ walkerRange = range.clone();
+
+ // Range may start inside a non-editable element, restart range
+ // by the end of it.
+ var readOnly;
+ if ( ( readOnly = startContainer.isReadOnly() ) )
+ range.setStartAfter( readOnly );
+
+ // Enlarge range start/end with text node to avoid walker
+ // being DOM destructive, it doesn't interfere our checking
+ // of elements below as well.
+ if ( startContainer && startContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ if ( startOffset >= startContainer.getLength() )
+ walkerRange.setStartAfter( startContainer );
+ else
+ walkerRange.setStartBefore( startContainer );
+ }
+
+ if ( endContainer && endContainer.type == CKEDITOR.NODE_TEXT )
+ {
+ if ( !endOffset )
+ walkerRange.setEndBefore( endContainer );
+ else
+ walkerRange.setEndAfter( endContainer );
+ }
+
+ // Looking for non-editable element inside the range.
+ var walker = new CKEDITOR.dom.walker( walkerRange );
+ walker.evaluator = function( node )
+ {
+ if ( node.type == CKEDITOR.NODE_ELEMENT
+ && node.getAttribute( 'contenteditable' ) == 'false' )
+ {
+ var newRange = range.clone();
+ range.setEndBefore( node );
+
+ // Drop collapsed range around read-only elements,
+ // it make sure the range list empty when selecting
+ // only non-editable elements.
+ if ( range.collapsed )
+ ranges.splice( i--, 1 );
+
+ // Avoid creating invalid range.
+ if ( !( node.getPosition( walkerRange.endContainer ) & CKEDITOR.POSITION_CONTAINS ) )
+ {
+ newRange.setStartAfter( node );
+ if ( !newRange.collapsed )
+ ranges.splice( i + 1, 0, newRange );
+ }
+
+ return true;
+ }
+
+ return false;
+ };
+
+ walker.next();
+ }
+ }
+
+ return cache.ranges;
+ };
+ })(),
+
+ /**
+ * Gets the DOM element in which the selection starts.
+ * @returns {CKEDITOR.dom.element} The element at the beginning of the
+ * selection.
+ * @example
+ * var element = editor.getSelection().<b>getStartElement()</b>;
+ * alert( element.getName() );
+ */
+ getStartElement : function()
+ {
+ var cache = this._.cache;
+ if ( cache.startElement !== undefined )
+ return cache.startElement;
+
+ var node,
+ sel = this.getNative();
+
+ switch ( this.getType() )
+ {
+ case CKEDITOR.SELECTION_ELEMENT :
+ return this.getSelectedElement();
+
+ case CKEDITOR.SELECTION_TEXT :
+
+ var range = this.getRanges()[0];
+
+ if ( range )
+ {
+ if ( !range.collapsed )
+ {
+ range.optimize();
+
+ // Decrease the range content to exclude particial
+ // selected node on the start which doesn't have
+ // visual impact. ( #3231 )
+ while ( true )
+ {
+ var startContainer = range.startContainer,
+ startOffset = range.startOffset;
+ // Limit the fix only to non-block elements.(#3950)
+ if ( startOffset == ( startContainer.getChildCount ?
+ startContainer.getChildCount() : startContainer.getLength() )
+ && !startContainer.isBlockBoundary() )
+ range.setStartAfter( startContainer );
+ else break;
+ }
+
+ node = range.startContainer;
+
+ if ( node.type != CKEDITOR.NODE_ELEMENT )
+ return node.getParent();
+
+ node = node.getChild( range.startOffset );
+
+ if ( !node || node.type != CKEDITOR.NODE_ELEMENT )
+ return range.startContainer;
+
+ var child = node.getFirst();
+ while ( child && child.type == CKEDITOR.NODE_ELEMENT )
+ {
+ node = child;
+ child = child.getFirst();
+ }
+
+ return node;
+ }
+ }
+
+ if ( CKEDITOR.env.ie )
+ {
+ range = sel.createRange();
+ range.collapse( true );
+
+ node = range.parentElement();
+ }
+ else
+ {
+ node = sel.anchorNode;
+
+ if ( node && node.nodeType != 1 )
+ node = node.parentNode;
+ }
+ }
+
+ return cache.startElement = ( node ? new CKEDITOR.dom.element( node ) : null );
+ },
+
+ /**
+ * Gets the current selected element.
+ * @returns {CKEDITOR.dom.element} The selected element. Null if no
+ * selection is available or the selection type is not
+ * {@link CKEDITOR.SELECTION_ELEMENT}.
+ * @example
+ * var element = editor.getSelection().<b>getSelectedElement()</b>;
+ * alert( element.getName() );
+ */
+ getSelectedElement : function()
+ {
+ var cache = this._.cache;
+ if ( cache.selectedElement !== undefined )
+ return cache.selectedElement;
+
+ var self = this;
+
+ var node = CKEDITOR.tools.tryThese(
+ // Is it native IE control type selection?
+ function()
+ {
+ return self.getNative().createRange().item( 0 );
+ },
+ // Figure it out by checking if there's a single enclosed
+ // node of the range.
+ function()
+ {
+ var range = self.getRanges()[ 0 ],
+ enclosed,
+ selected;
+
+ // Check first any enclosed element, e.g. <ul>[<li><a href="#">item</a></li>]</ul>
+ for ( var i = 2; i && !( ( enclosed = range.getEnclosedNode() )
+ && ( enclosed.type == CKEDITOR.NODE_ELEMENT )
+ && styleObjectElements[ enclosed.getName() ]
+ && ( selected = enclosed ) ); i-- )
+ {
+ // Then check any deep wrapped element, e.g. [<b><i><img /></i></b>]
+ range.shrink( CKEDITOR.SHRINK_ELEMENT );
+ }
+
+ return selected.$;
+ });
+
+ return cache.selectedElement = ( node ? new CKEDITOR.dom.element( node ) : null );
+ },
+
+ lock : function()
+ {
+ // Call all cacheable function.
+ this.getRanges();
+ this.getStartElement();
+ this.getSelectedElement();
+
+ // The native selection is not available when locked.
+ this._.cache.nativeSel = {};
+
+ this.isLocked = true;
+
+ // Save this selection inside the DOM document.
+ this.document.setCustomData( 'cke_locked_selection', this );
+ },
+
+ unlock : function( restore )
+ {
+ var doc = this.document,
+ lockedSelection = doc.getCustomData( 'cke_locked_selection' );
+
+ if ( lockedSelection )
+ {
+ doc.setCustomData( 'cke_locked_selection', null );
+
+ if ( restore )
+ {
+ var selectedElement = lockedSelection.getSelectedElement(),
+ ranges = !selectedElement && lockedSelection.getRanges();
+
+ this.isLocked = false;
+ this.reset();
+
+ doc.getBody().focus();
+
+ if ( selectedElement )
+ this.selectElement( selectedElement );
+ else
+ this.selectRanges( ranges );
+ }
+ }
+
+ if ( !lockedSelection || !restore )
+ {
+ this.isLocked = false;
+ this.reset();
+ }
+ },
+
+ reset : function()
+ {
+ this._.cache = {};
+ },
+
+ /**
+ * Make the current selection of type {@link CKEDITOR.SELECTION_ELEMENT} by enclosing the specified element.
+ * @param element
+ */
+ selectElement : function( element )
+ {
+ if ( this.isLocked )
+ {
+ var range = new CKEDITOR.dom.range( this.document );
+ range.setStartBefore( element );
+ range.setEndAfter( element );
+
+ this._.cache.selectedElement = element;
+ this._.cache.startElement = element;
+ this._.cache.ranges = new CKEDITOR.dom.rangeList( range );
+ this._.cache.type = CKEDITOR.SELECTION_ELEMENT;
+
+ return;
+ }
+
+ if ( CKEDITOR.env.ie )
+ {
+ this.getNative().empty();
+
+ try
+ {
+ // Try to select the node as a control.
+ range = this.document.$.body.createControlRange();
+ range.addElement( element.$ );
+ range.select();
+ }
+ catch(e)
+ {
+ // If failed, select it as a text range.
+ range = this.document.$.body.createTextRange();
+ range.moveToElementText( element.$ );
+ range.select();
+ }
+ finally
+ {
+ this.document.fire( 'selectionchange' );
+ }
+
+ this.reset();
+ }
+ else
+ {
+ // Create the range for the element.
+ range = this.document.$.createRange();
+ range.selectNode( element.$ );
+
+ // Select the range.
+ var sel = this.getNative();
+ sel.removeAllRanges();
+ sel.addRange( range );
+
+ this.reset();
+ }
+ },
+
+ /**
+ * Adding the specified ranges to document selection preceding
+ * by clearing up the original selection.
+ * @param {CKEDITOR.dom.range} ranges
+ */
+ selectRanges : function( ranges )
+ {
+ if ( this.isLocked )
+ {
+ this._.cache.selectedElement = null;
+ this._.cache.startElement = ranges[ 0 ] && ranges[ 0 ].getTouchedStartNode();
+ this._.cache.ranges = new CKEDITOR.dom.rangeList( ranges );
+ this._.cache.type = CKEDITOR.SELECTION_TEXT;
+
+ return;
+ }
+
+ if ( CKEDITOR.env.ie )
+ {
+ if ( ranges.length > 1 )
+ {
+ // IE doesn't accept multiple ranges selection, so we join all into one.
+ var last = ranges[ ranges.length -1 ] ;
+ ranges[ 0 ].setEnd( last.endContainer, last.endOffset );
+ ranges.length = 1;
+ }
+
+ if ( ranges[ 0 ] )
+ ranges[ 0 ].select();
+
+ this.reset();
+ }
+ else
+ {
+ var sel = this.getNative();
+
+ if ( ranges.length )
+ sel.removeAllRanges();
+
+ for ( var i = 0 ; i < ranges.length ; i++ )
+ {
+ // Joining sequential ranges introduced by
+ // readonly elements protection.
+ if ( i < ranges.length -1 )
+ {
+ var left = ranges[ i ], right = ranges[ i +1 ],
+ between = left.clone();
+ between.setStart( left.endContainer, left.endOffset );
+ between.setEnd( right.startContainer, right.startOffset );
+
+ // Don't confused by Firefox adjancent multi-ranges
+ // introduced by table cells selection.
+ if ( !between.collapsed )
+ {
+ between.shrink( CKEDITOR.NODE_ELEMENT, true );
+ if ( between.getCommonAncestor().isReadOnly())
+ {
+ right.setStart( left.startContainer, left.startOffset );
+ ranges.splice( i--, 1 );
+ continue;
+ }
+ }
+ }
+
+ var range = ranges[ i ];
+ var nativeRange = this.document.$.createRange();
+ var startContainer = range.startContainer;
+
+ // In FF2, if we have a collapsed range, inside an empty
+ // element, we must add something to it otherwise the caret
+ // will not be visible.
+ // In Opera instead, the selection will be moved out of the
+ // element. (#4657)
+ if ( range.collapsed &&
+ ( CKEDITOR.env.opera || ( CKEDITOR.env.gecko && CKEDITOR.env.version < 10900 ) ) &&
+ startContainer.type == CKEDITOR.NODE_ELEMENT &&
+ !startContainer.getChildCount() )
+ {
+ startContainer.appendText( '' );
+ }
+
+ nativeRange.setStart( startContainer.$, range.startOffset );
+ nativeRange.setEnd( range.endContainer.$, range.endOffset );
+
+ // Select the range.
+ sel.addRange( nativeRange );
+ }
+
+ this.reset();
+ }
+ },
+
+ /**
+ * Create bookmark for every single of this selection range (from #getRanges)
+ * by calling the {@link CKEDITOR.dom.range.prototype.createBookmark} method,
+ * with extra cares to avoid interferon among those ranges. Same arguments are
+ * received as with the underlay range method.
+ */
+ createBookmarks : function( serializable )
+ {
+ return this.getRanges().createBookmarks( serializable );
+ },
+
+ /**
+ * Create bookmark for every single of this selection range (from #getRanges)
+ * by calling the {@link CKEDITOR.dom.range.prototype.createBookmark2} method,
+ * with extra cares to avoid interferon among those ranges. Same arguments are
+ * received as with the underlay range method.
+ */
+ createBookmarks2 : function( normalized )
+ {
+ return this.getRanges().createBookmarks2( normalized );
+ },
+
+ /**
+ * Select the virtual ranges denote by the bookmarks by calling #selectRanges.
+ * @param bookmarks
+ */
+ selectBookmarks : function( bookmarks )
+ {
+ var ranges = [];
+ for ( var i = 0 ; i < bookmarks.length ; i++ )
+ {
+ var range = new CKEDITOR.dom.range( this.document );
+ range.moveToBookmark( bookmarks[i] );
+ ranges.push( range );
+ }
+ this.selectRanges( ranges );
+ return this;
+ },
+
+ /**
+ * Retrieve the common ancestor node of the first range and the last range.
+ */
+ getCommonAncestor : function()
+ {
+ var ranges = this.getRanges(),
+ startNode = ranges[ 0 ].startContainer,
+ endNode = ranges[ ranges.length - 1 ].endContainer;
+ return startNode.getCommonAncestor( endNode );
+ },
+
+ /**
+ * Moving scroll bar to the current selection's start position.
+ */
+ scrollIntoView : function()
+ {
+ // If we have split the block, adds a temporary span at the
+ // range position and scroll relatively to it.
+ var start = this.getStartElement();
+ start.scrollIntoView();
+ }
+ };
+})();
+
+( function()
+{
+ var notWhitespaces = CKEDITOR.dom.walker.whitespaces( true ),
+ fillerTextRegex = /\ufeff|\u00a0/,
+ nonCells = { table:1,tbody:1,tr:1 };
+
+ CKEDITOR.dom.range.prototype.select =
+ CKEDITOR.env.ie ?
+ // V2
+ function( forceExpand )
+ {
+ var collapsed = this.collapsed;
+ var isStartMarkerAlone;
+ var dummySpan;
+
+ // IE doesn't support selecting the entire table row/cell, move the selection into cells, e.g.
+ // <table><tbody><tr>[<td>cell</b></td>... => <table><tbody><tr><td>[cell</td>...
+ if ( this.startContainer.type == CKEDITOR.NODE_ELEMENT && this.startContainer.getName() in nonCells
+ || this.endContainer.type == CKEDITOR.NODE_ELEMENT && this.endContainer.getName() in nonCells )
+ {
+ this.shrink( CKEDITOR.NODE_ELEMENT, true );
+ }
+
+ var bookmark = this.createBookmark();
+
+ // Create marker tags for the start and end boundaries.
+ var startNode = bookmark.startNode;
+
+ var endNode;
+ if ( !collapsed )
+ endNode = bookmark.endNode;
+
+ // Create the main range which will be used for the selection.
+ var ieRange = this.document.$.body.createTextRange();
+
+ // Position the range at the start boundary.
+ ieRange.moveToElementText( startNode.$ );
+ ieRange.moveStart( 'character', 1 );
+
+ if ( endNode )
+ {
+ // Create a tool range for the end.
+ var ieRangeEnd = this.document.$.body.createTextRange();
+
+ // Position the tool range at the end.
+ ieRangeEnd.moveToElementText( endNode.$ );
+
+ // Move the end boundary of the main range to match the tool range.
+ ieRange.setEndPoint( 'EndToEnd', ieRangeEnd );
+ ieRange.moveEnd( 'character', -1 );
+ }
+ else
+ {
+ // The isStartMarkerAlone logic comes from V2. It guarantees that the lines
+ // will expand and that the cursor will be blinking on the right place.
+ // Actually, we are using this flag just to avoid using this hack in all
+ // situations, but just on those needed.
+ var next = startNode.getNext( notWhitespaces );
+ isStartMarkerAlone = ( !( next && next.getText && next.getText().match( fillerTextRegex ) ) // already a filler there?
+ && ( forceExpand || !startNode.hasPrevious() || ( startNode.getPrevious().is && startNode.getPrevious().is( 'br' ) ) ) );
+
+ // Append a temporary <span></span> before the selection.
+ // This is needed to avoid IE destroying selections inside empty
+ // inline elements, like <b></b> (#253).
+ // It is also needed when placing the selection right after an inline
+ // element to avoid the selection moving inside of it.
+ dummySpan = this.document.createElement( 'span' );
+ dummySpan.setHtml( '' ); // Zero Width No-Break Space (U+FEFF). See #1359.
+ dummySpan.insertBefore( startNode );
+
+ if ( isStartMarkerAlone )
+ {
+ // To expand empty blocks or line spaces after <br>, we need
+ // instead to have any char, which will be later deleted using the
+ // selection.
+ // \ufeff = Zero Width No-Break Space (U+FEFF). (#1359)
+ this.document.createText( '\ufeff' ).insertBefore( startNode );
+ }
+ }
+
+ // Remove the markers (reset the position, because of the changes in the DOM tree).
+ this.setStartBefore( startNode );
+ startNode.remove();
+
+ if ( collapsed )
+ {
+ if ( isStartMarkerAlone )
+ {
+ // Move the selection start to include the temporary \ufeff.
+ ieRange.moveStart( 'character', -1 );
+
+ ieRange.select();
+
+ // Remove our temporary stuff.
+ this.document.$.selection.clear();
+ }
+ else
+ ieRange.select();
+
+ this.moveToPosition( dummySpan, CKEDITOR.POSITION_BEFORE_START );
+ dummySpan.remove();
+ }
+ else
+ {
+ this.setEndBefore( endNode );
+ endNode.remove();
+ ieRange.select();
+ }
+
+ this.document.fire( 'selectionchange' );
+ }
+ :
+ function()
+ {
+ var startContainer = this.startContainer;
+
+ // If we have a collapsed range, inside an empty element, we must add
+ // something to it, otherwise the caret will not be visible.
+ if ( this.collapsed && startContainer.type == CKEDITOR.NODE_ELEMENT && !startContainer.getChildCount() )
+ startContainer.append( new CKEDITOR.dom.text( '' ) );
+
+ var nativeRange = this.document.$.createRange();
+ nativeRange.setStart( startContainer.$, this.startOffset );
+
+ try
+ {
+ nativeRange.setEnd( this.endContainer.$, this.endOffset );
+ }
+ catch ( e )
+ {
+ // There is a bug in Firefox implementation (it would be too easy
+ // otherwise). The new start can't be after the end (W3C says it can).
+ // So, let's create a new range and collapse it to the desired point.
+ if ( e.toString().indexOf( 'NS_ERROR_ILLEGAL_VALUE' ) >= 0 )
+ {
+ this.collapse( true );
+ nativeRange.setEnd( this.endContainer.$, this.endOffset );
+ }
+ else
+ throw( e );
+ }
+
+ var selection = this.document.getSelection().getNative();
+ selection.removeAllRanges();
+ selection.addRange( nativeRange );
+ };
+} )();
diff --git a/devel/third-party/ckeditor/plugins/showblocks/plugin.js b/devel/third-party/ckeditor/plugins/showblocks/plugin.js
new file mode 100644
index 0000000..818e833
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/showblocks/plugin.js
@@ -0,0 +1,156 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "showblocks" plugin. Enable it will make all block level
+ * elements being decorated with a border and the element name
+ * displayed on the left-right corner.
+ */
+
+(function()
+{
+ var cssTemplate = '.%2 p,'+
+ '.%2 div,'+
+ '.%2 pre,'+
+ '.%2 address,'+
+ '.%2 blockquote,'+
+ '.%2 h1,'+
+ '.%2 h2,'+
+ '.%2 h3,'+
+ '.%2 h4,'+
+ '.%2 h5,'+
+ '.%2 h6'+
+ '{'+
+ 'background-repeat: no-repeat;'+
+ 'background-position: top %3;'+
+ 'border: 1px dotted gray;'+
+ 'padding-top: 8px;'+
+ 'padding-%3: 8px;'+
+ '}'+
+
+ '.%2 p'+
+ '{'+
+ '%1p.png);'+
+ '}'+
+
+ '.%2 div'+
+ '{'+
+ '%1div.png);'+
+ '}'+
+
+ '.%2 pre'+
+ '{'+
+ '%1pre.png);'+
+ '}'+
+
+ '.%2 address'+
+ '{'+
+ '%1address.png);'+
+ '}'+
+
+ '.%2 blockquote'+
+ '{'+
+ '%1blockquote.png);'+
+ '}'+
+
+ '.%2 h1'+
+ '{'+
+ '%1h1.png);'+
+ '}'+
+
+ '.%2 h2'+
+ '{'+
+ '%1h2.png);'+
+ '}'+
+
+ '.%2 h3'+
+ '{'+
+ '%1h3.png);'+
+ '}'+
+
+ '.%2 h4'+
+ '{'+
+ '%1h4.png);'+
+ '}'+
+
+ '.%2 h5'+
+ '{'+
+ '%1h5.png);'+
+ '}'+
+
+ '.%2 h6'+
+ '{'+
+ '%1h6.png);'+
+ '}';
+
+ var cssTemplateRegex = /%1/g, cssClassRegex = /%2/g, backgroundPositionRegex = /%3/g;
+
+ var commandDefinition =
+ {
+ preserveState : true,
+ editorFocus : false,
+
+ exec : function ( editor )
+ {
+ this.toggleState();
+ this.refresh( editor );
+ },
+
+ refresh : function( editor )
+ {
+ var funcName = ( this.state == CKEDITOR.TRISTATE_ON ) ? 'addClass' : 'removeClass';
+ editor.document.getBody()[ funcName ]( 'cke_show_blocks' );
+ }
+ };
+
+ CKEDITOR.plugins.add( 'showblocks',
+ {
+ requires : [ 'wysiwygarea' ],
+
+ init : function( editor )
+ {
+ var command = editor.addCommand( 'showblocks', commandDefinition );
+ command.canUndo = false;
+
+ if ( editor.config.startupOutlineBlocks )
+ command.setState( CKEDITOR.TRISTATE_ON );
+
+ editor.addCss( cssTemplate
+ .replace( cssTemplateRegex, 'background-image: url(' + CKEDITOR.getUrl( this.path ) + 'images/block_' )
+ .replace( cssClassRegex, 'cke_show_blocks ' )
+ .replace( backgroundPositionRegex, editor.lang.dir == 'rtl' ? 'right' : 'left' ) );
+
+ editor.ui.addButton( 'ShowBlocks',
+ {
+ label : editor.lang.showBlocks,
+ command : 'showblocks'
+ });
+
+ // Refresh the command on setData.
+ editor.on( 'mode', function()
+ {
+ if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+ command.refresh( editor );
+ });
+
+ // Refresh the command on setData.
+ editor.on( 'contentDom', function()
+ {
+ if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+ command.refresh( editor );
+ });
+ }
+ });
+} )();
+
+/**
+ * Whether to automaticaly enable the "show block" command when the editor
+ * loads.
+ * @type Boolean
+ * @default false
+ * @example
+ * config.startupOutlineBlocks = true;
+ */
+CKEDITOR.config.startupOutlineBlocks = false;
diff --git a/devel/third-party/ckeditor/plugins/showborders/plugin.js b/devel/third-party/ckeditor/plugins/showborders/plugin.js
new file mode 100644
index 0000000..9219206
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/showborders/plugin.js
@@ -0,0 +1,201 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "show border" plugin. The command display visible outline
+ * border line around all table elements if table doesn't have a none-zero 'border' attribute specified.
+ */
+
+(function()
+{
+ var showBorderClassName = 'cke_show_border',
+ cssStyleText,
+ cssTemplate =
+ // TODO: For IE6, we don't have child selector support,
+ // where nested table cells could be incorrect.
+ ( CKEDITOR.env.ie6Compat ?
+ [
+ '.%1 table.%2,',
+ '.%1 table.%2 td, .%1 table.%2 th,',
+ '{',
+ 'border : #d3d3d3 1px dotted',
+ '}'
+ ] :
+ [
+ '.%1 table.%2,',
+ '.%1 table.%2 > 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( '' );
+
+ cssStyleText = cssTemplate.replace( /%2/g, showBorderClassName ).replace( /%1/g, 'cke_show_borders ' );
+
+ var commandDefinition =
+ {
+ preserveState : true,
+ editorFocus : false,
+
+ exec : function ( editor )
+ {
+ this.toggleState();
+ this.refresh( editor );
+ },
+
+ refresh : function( editor )
+ {
+ var funcName = ( this.state == CKEDITOR.TRISTATE_ON ) ? 'addClass' : 'removeClass';
+ editor.document.getBody()[ funcName ]( 'cke_show_borders' );
+ }
+ };
+
+ CKEDITOR.plugins.add( 'showborders',
+ {
+ requires : [ 'wysiwygarea' ],
+ modes : { 'wysiwyg' : 1 },
+
+ init : function( editor )
+ {
+
+ var command = editor.addCommand( 'showborders', commandDefinition );
+ command.canUndo = false;
+
+ if ( editor.config.startupShowBorders !== false )
+ command.setState( CKEDITOR.TRISTATE_ON );
+
+ editor.addCss( cssStyleText );
+
+ // Refresh the command on setData.
+ editor.on( 'mode', function()
+ {
+ if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+ command.refresh( editor );
+ }, null, null, 100 );
+
+ // Refresh the command on wysiwyg frame reloads.
+ editor.on( 'contentDom', function()
+ {
+ if ( command.state != CKEDITOR.TRISTATE_DISABLED )
+ command.refresh( editor );
+ });
+
+ editor.on( 'removeFormatCleanup', function( evt )
+ {
+ var element = evt.data;
+ if ( editor.getCommand( 'showborders' ).state == CKEDITOR.TRISTATE_ON &&
+ element.is( 'table' ) && ( !element.hasAttribute( 'border' ) || parseInt( element.getAttribute( 'border' ), 10 ) <= 0 ) )
+ element.addClass( showBorderClassName );
+ });
+ },
+
+ afterInit : function( editor )
+ {
+ var dataProcessor = editor.dataProcessor,
+ dataFilter = dataProcessor && dataProcessor.dataFilter,
+ htmlFilter = dataProcessor && dataProcessor.htmlFilter;
+
+ if ( dataFilter )
+ {
+ dataFilter.addRules(
+ {
+ elements :
+ {
+ 'table' : function( element )
+ {
+ var attributes = element.attributes,
+ cssClass = attributes[ 'class' ],
+ border = parseInt( attributes.border, 10 );
+
+ if ( !border || border <= 0 )
+ attributes[ 'class' ] = ( cssClass || '' ) + ' ' + showBorderClassName;
+ }
+ }
+ } );
+ }
+
+ if ( htmlFilter )
+ {
+ htmlFilter.addRules(
+ {
+ elements :
+ {
+ 'table' : function( table )
+ {
+ var attributes = table.attributes,
+ cssClass = attributes[ 'class' ];
+
+ cssClass && ( attributes[ 'class' ] =
+ cssClass.replace( showBorderClassName, '' )
+ .replace( /\s{2}/, ' ' )
+ .replace( /^\s+|\s+$/, '' ) );
+ }
+ }
+ } );
+ }
+ }
+ });
+
+ // Table dialog must be aware of it.
+ CKEDITOR.on( 'dialogDefinition', function( ev )
+ {
+ var dialogName = ev.data.name;
+
+ if ( dialogName == 'table' || dialogName == 'tableProperties' )
+ {
+ var dialogDefinition = ev.data.definition,
+ infoTab = dialogDefinition.getContents( 'info' ),
+ borderField = infoTab.get( 'txtBorder' ),
+ originalCommit = borderField.commit;
+
+ borderField.commit = CKEDITOR.tools.override( originalCommit, function( org )
+ {
+ return function( data, selectedTable )
+ {
+ org.apply( this, arguments );
+ var value = parseInt( this.getValue(), 10 );
+ selectedTable[ ( !value || value <= 0 ) ? 'addClass' : 'removeClass' ]( showBorderClassName );
+ };
+ } );
+
+ var advTab = dialogDefinition.getContents( 'advanced' ),
+ classField = advTab && advTab.get( 'advCSSClasses' );
+
+ if ( classField )
+ {
+ classField.setup = CKEDITOR.tools.override( classField.setup, function( originalSetup )
+ {
+ return function()
+ {
+ originalSetup.apply( this, arguments );
+ this.setValue( this.getValue().replace( /cke_show_border/, '' ) );
+ };
+ });
+
+ classField.commit = CKEDITOR.tools.override( classField.commit, function( originalCommit )
+ {
+ return function( data, element )
+ {
+ originalCommit.apply( this, arguments );
+
+ if ( !parseInt( element.getAttribute( 'border' ), 10 ) )
+ element.addClass( 'cke_show_border' );
+ };
+ });
+ }
+ }
+ });
+
+} )();
+
+/**
+ * Whether to automatically enable the "show borders" command when the editor loads.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.startupShowBorders = false;
+ */
diff --git a/devel/third-party/ckeditor/plugins/smiley/dialogs/smiley.js b/devel/third-party/ckeditor/plugins/smiley/dialogs/smiley.js
new file mode 100644
index 0000000..8371fb1
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/smiley/dialogs/smiley.js
@@ -0,0 +1,216 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'smiley', function( editor )
+{
+ var config = editor.config,
+ lang = editor.lang.smiley,
+ images = config.smiley_images,
+ columns = config.smiley_columns || 8,
+ i;
+
+ /**
+ * Simulate "this" of a dialog for non-dialog events.
+ * @type {CKEDITOR.dialog}
+ */
+ var dialog;
+ var onClick = function( evt )
+ {
+ var target = evt.data.getTarget(),
+ targetName = target.getName();
+
+ if ( targetName == 'a' )
+ target = target.getChild( 0 );
+ else if ( targetName != 'img' )
+ return;
+
+ var src = target.getAttribute( 'cke_src' ),
+ title = target.getAttribute( 'title' );
+
+ var img = editor.document.createElement( 'img',
+ {
+ attributes :
+ {
+ src : src,
+ _cke_saved_src : src,
+ title : title,
+ alt : title
+ }
+ });
+
+ editor.insertElement( img );
+
+ dialog.hide();
+ evt.data.preventDefault();
+ };
+
+ var onKeydown = CKEDITOR.tools.addFunction( function( ev, element )
+ {
+ ev = new CKEDITOR.dom.event( ev );
+ element = new CKEDITOR.dom.element( element );
+ var relative, nodeToMove;
+
+ var keystroke = ev.getKeystroke();
+ var rtl = editor.lang.dir == 'rtl';
+ switch ( keystroke )
+ {
+ // UP-ARROW
+ case 38 :
+ // relative is TR
+ if ( ( relative = element.getParent().getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
+ nodeToMove.focus();
+ }
+ ev.preventDefault();
+ break;
+ // DOWN-ARROW
+ case 40 :
+ // relative is TR
+ if ( ( relative = element.getParent().getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
+ if ( nodeToMove )
+ nodeToMove.focus();
+ }
+ ev.preventDefault();
+ break;
+ // ENTER
+ // SPACE
+ case 32 :
+ onClick( { data: ev } );
+ ev.preventDefault();
+ break;
+
+ // RIGHT-ARROW
+ case rtl ? 37 : 39 :
+ // TAB
+ case 9 :
+ // relative is TD
+ if ( ( relative = element.getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( 0 );
+ nodeToMove.focus();
+ ev.preventDefault(true);
+ }
+ // relative is TR
+ else if ( ( relative = element.getParent().getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( [0, 0] );
+ if ( nodeToMove )
+ nodeToMove.focus();
+ ev.preventDefault(true);
+ }
+ break;
+
+ // LEFT-ARROW
+ case rtl ? 39 : 37 :
+ // SHIFT + TAB
+ case CKEDITOR.SHIFT + 9 :
+ // relative is TD
+ if ( ( relative = element.getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getChild( 0 );
+ nodeToMove.focus();
+ ev.preventDefault(true);
+ }
+ // relative is TR
+ else if ( ( relative = element.getParent().getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getLast().getChild( 0 );
+ nodeToMove.focus();
+ ev.preventDefault(true);
+ }
+ break;
+ default :
+ // Do not stop not handled events.
+ return;
+ }
+ });
+
+ // Build the HTML for the smiley images table.
+ var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label';
+ var html =
+ [
+ '<div>' +
+ '<span id="' + labelId + '" class="cke_voice_label">' + lang.options +'</span>',
+ '<table role="listbox" aria-labelledby="' + labelId + '" style="width:100%;height:100%" cellspacing="2" cellpadding="2"',
+ CKEDITOR.env.ie && CKEDITOR.env.quirks ? ' style="position:absolute;"' : '',
+ '><tbody>'
+ ];
+
+ var size = images.length;
+ for ( i = 0 ; i < size ; i++ )
+ {
+ if ( i % columns === 0 )
+ html.push( '<tr>' );
+
+ var smileyLabelId = 'cke_smile_label_' + i + '_' + CKEDITOR.tools.getNextNumber();
+ html.push(
+ '<td class="cke_dark_background cke_centered" style="vertical-align: middle;">' +
+ '<a href="javascript:void(0)" role="option"',
+ ' aria-posinset="' + ( i +1 ) + '"',
+ ' aria-setsize="' + size + '"',
+ ' aria-labelledby="' + smileyLabelId + '"',
+ ' class="cke_smile cke_hand" tabindex="-1" onkeydown="CKEDITOR.tools.callFunction( ', onKeydown, ', event, this );">',
+ '<img class="cke_hand" title="', config.smiley_descriptions[i], '"' +
+ ' cke_src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '" alt="', config.smiley_descriptions[i], '"',
+ ' src="', CKEDITOR.tools.htmlEncode( config.smiley_path + images[ i ] ), '"',
+ // IE BUG: Below is a workaround to an IE image loading bug to ensure the image sizes are correct.
+ ( CKEDITOR.env.ie ? ' onload="this.setAttribute(\'width\', 2); this.removeAttribute(\'width\');" ' : '' ),
+ '>' +
+ '<span id="' + smileyLabelId + '" class="cke_voice_label">' +config.smiley_descriptions[ i ] + '</span>' +
+ '</a>',
+ '</td>' );
+
+ if ( i % columns == columns - 1 )
+ html.push( '</tr>' );
+ }
+
+ if ( i < columns - 1 )
+ {
+ for ( ; i < columns - 1 ; i++ )
+ html.push( '<td></td>' );
+ html.push( '</tr>' );
+ }
+
+ html.push( '</tbody></table></div>' );
+
+ var smileySelector =
+ {
+ type : 'html',
+ html : html.join( '' ),
+ onLoad : function( event )
+ {
+ dialog = event.sender;
+ },
+ focus : function()
+ {
+ var firstSmile = this.getElement().getElementsByTag( 'a' ).getItem( 0 );
+ firstSmile.focus();
+ },
+ onClick : onClick,
+ style : 'width: 100%; border-collapse: separate;'
+ };
+
+ return {
+ title : editor.lang.smiley.title,
+ minWidth : 270,
+ minHeight : 120,
+ contents : [
+ {
+ id : 'tab1',
+ label : '',
+ title : '',
+ expand : true,
+ padding : 0,
+ elements : [
+ smileySelector
+ ]
+ }
+ ],
+ buttons : [ CKEDITOR.dialog.cancelButton ]
+ };
+} );
diff --git a/devel/third-party/ckeditor/plugins/smiley/plugin.js b/devel/third-party/ckeditor/plugins/smiley/plugin.js
new file mode 100644
index 0000000..a915189
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/smiley/plugin.js
@@ -0,0 +1,94 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'smiley',
+{
+ requires : [ 'dialog' ],
+
+ init : function( editor )
+ {
+ editor.config.smiley_path = editor.config.smiley_path || ( this.path + 'images/' );
+ editor.addCommand( 'smiley', new CKEDITOR.dialogCommand( 'smiley' ) );
+ editor.ui.addButton( 'Smiley',
+ {
+ label : editor.lang.smiley.toolbar,
+ command : 'smiley'
+ });
+ CKEDITOR.dialog.add( 'smiley', this.path + 'dialogs/smiley.js' );
+ }
+} );
+
+/**
+ * The base path used to build the URL for the smiley images. It must end with
+ * a slash.
+ * @name CKEDITOR.config.smiley_path
+ * @type String
+ * @default {@link CKEDITOR.basePath} + 'plugins/smiley/images/'
+ * @example
+ * config.smiley_path = 'http://www.example.com/images/smileys/';
+ * @example
+ * config.smiley_path = '/images/smileys/';
+ */
+
+/**
+ * The file names for the smileys to be displayed. These files must be
+ * contained inside the URL path defined with the
+ * {@link CKEDITOR.config.smiley_path} setting.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.smiley_images = [
+ * 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
+ * 'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
+ * 'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
+ * 'broken_heart.gif','kiss.gif','envelope.gif'];
+ */
+CKEDITOR.config.smiley_images = [
+ 'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',
+ 'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',
+ 'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',
+ 'broken_heart.gif','kiss.gif','envelope.gif'];
+
+/**
+ * The description to be used for each of the smileys defined in the
+ * {@link CKEDITOR.config.smiley_images} setting. Each entry in this array list
+ * must match its relative pair in the {@link CKEDITOR.config.smiley_images}
+ * setting.
+ * @type Array
+ * @default The textual descriptions of smiley.
+ * @example
+ * // Default settings.
+ * config.smiley_descriptions =
+ * [
+ * 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
+ * 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
+ * 'yes', 'heart', 'broken heart', 'kiss', 'mail'
+ * ];
+ * @example
+ * // Use textual emoticons as description.
+ * config.smiley_descriptions =
+ * [
+ * ':)', ':(', ';)', ':D', ':/', ':P', ':*)', ':-o',
+ * ':|', '>:(', 'o:)', '8-)', '>:-)', ';(', '', '', '',
+ * '', '', ':-*', ''
+ * ];
+ */
+CKEDITOR.config.smiley_descriptions =
+ [
+ 'smiley', 'sad', 'wink', 'laugh', 'frown', 'cheeky', 'blush', 'surprise',
+ 'indecision', 'angry', 'angel', 'cool', 'devil', 'crying', 'enlightened', 'no',
+ 'yes', 'heart', 'broken heart', 'kiss', 'mail'
+ ];
+
+/**
+ * The number of columns to be generated by the smilies matrix.
+ * @name CKEDITOR.config.smiley_columns
+ * @type Number
+ * @default 8
+ * @since 3.3.2
+ * @example
+ * config.smiley_columns = 6;
+ */
diff --git a/devel/third-party/ckeditor/plugins/sourcearea/plugin.js b/devel/third-party/ckeditor/plugins/sourcearea/plugin.js
new file mode 100644
index 0000000..fe39339
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/sourcearea/plugin.js
@@ -0,0 +1,207 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "sourcearea" plugin. It registers the "source" editing
+ * mode, which displays the raw data being edited in the editor.
+ */
+
+CKEDITOR.plugins.add( 'sourcearea',
+{
+ requires : [ 'editingblock' ],
+
+ init : function( editor )
+ {
+ var sourcearea = CKEDITOR.plugins.sourcearea,
+ win = CKEDITOR.document.getWindow();
+
+ editor.on( 'editingBlockReady', function()
+ {
+ var textarea,
+ onResize;
+
+ editor.addMode( 'source',
+ {
+ load : function( holderElement, data )
+ {
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
+ holderElement.setStyle( 'position', 'relative' );
+
+ // Create the source area <textarea>.
+ editor.textarea = textarea = new CKEDITOR.dom.element( 'textarea' );
+ textarea.setAttributes(
+ {
+ dir : 'ltr',
+ tabIndex : CKEDITOR.env.webkit ? -1 : editor.tabIndex,
+ 'role' : 'textbox',
+ 'aria-label' : editor.lang.editorTitle.replace( '%1', editor.name )
+ });
+ textarea.addClass( 'cke_source' );
+ textarea.addClass( 'cke_enable_context_menu' );
+
+ var styles =
+ {
+ // IE7 has overflow the <textarea> from wrapping table cell.
+ width : CKEDITOR.env.ie7Compat ? '99%' : '100%',
+ height : '100%',
+ resize : 'none',
+ outline : 'none',
+ 'text-align' : 'left'
+ };
+
+ // Having to make <textarea> fixed sized to conque the following bugs:
+ // 1. The textarea height/width='100%' doesn't constraint to the 'td' in IE6/7.
+ // 2. Unexpected vertical-scrolling behavior happens whenever focus is moving out of editor
+ // if text content within it has overflowed. (#4762)
+ if ( CKEDITOR.env.ie )
+ {
+ onResize = function()
+ {
+ // Holder rectange size is stretched by textarea,
+ // so hide it just for a moment.
+ textarea.hide();
+ textarea.setStyle( 'height', holderElement.$.clientHeight + 'px' );
+ textarea.setStyle( 'width', holderElement.$.clientWidth + 'px' );
+ // When we have proper holder size, show textarea again.
+ textarea.show();
+ };
+
+ editor.on( 'resize', onResize );
+ win.on( 'resize', onResize );
+ setTimeout( onResize, 0 );
+ }
+ else
+ {
+ // By some yet unknown reason, we must stop the
+ // mousedown propagation for the textarea,
+ // otherwise it's not possible to place the caret
+ // inside of it (non IE).
+ textarea.on( 'mousedown', function( evt )
+ {
+ evt.data.stopPropagation();
+ } );
+ }
+
+ // Reset the holder element and append the
+ // <textarea> to it.
+ holderElement.setHtml( '' );
+ holderElement.append( textarea );
+ textarea.setStyles( styles );
+
+ editor.fire( 'ariaWidget', textarea );
+
+ textarea.on( 'blur', function()
+ {
+ editor.focusManager.blur();
+ });
+
+ textarea.on( 'focus', function()
+ {
+ editor.focusManager.focus();
+ });
+
+ // The editor data "may be dirty" after this point.
+ editor.mayBeDirty = true;
+
+ // Set the <textarea> value.
+ this.loadData( data );
+
+ var keystrokeHandler = editor.keystrokeHandler;
+ if ( keystrokeHandler )
+ keystrokeHandler.attach( textarea );
+
+ setTimeout( function()
+ {
+ editor.mode = 'source';
+ editor.fire( 'mode' );
+ },
+ ( CKEDITOR.env.gecko || CKEDITOR.env.webkit ) ? 100 : 0 );
+ },
+
+ loadData : function( data )
+ {
+ textarea.setValue( data );
+ editor.fire( 'dataReady' );
+ },
+
+ getData : function()
+ {
+ return textarea.getValue();
+ },
+
+ getSnapshotData : function()
+ {
+ return textarea.getValue();
+ },
+
+ unload : function( holderElement )
+ {
+ textarea.clearCustomData();
+ editor.textarea = textarea = null;
+
+ if ( onResize )
+ {
+ editor.removeListener( 'resize', onResize );
+ win.removeListener( 'resize', onResize );
+ }
+
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 8 )
+ holderElement.removeStyle( 'position' );
+ },
+
+ focus : function()
+ {
+ textarea.focus();
+ }
+ });
+ });
+
+ editor.addCommand( 'source', sourcearea.commands.source );
+
+ if ( editor.ui.addButton )
+ {
+ editor.ui.addButton( 'Source',
+ {
+ label : editor.lang.source,
+ command : 'source'
+ });
+ }
+
+ editor.on( 'mode', function()
+ {
+ editor.getCommand( 'source' ).setState(
+ editor.mode == 'source' ?
+ CKEDITOR.TRISTATE_ON :
+ CKEDITOR.TRISTATE_OFF );
+ });
+ }
+});
+
+/**
+ * Holds the definition of commands an UI elements included with the sourcearea
+ * plugin.
+ * @example
+ */
+CKEDITOR.plugins.sourcearea =
+{
+ commands :
+ {
+ source :
+ {
+ modes : { wysiwyg:1, source:1 },
+ editorFocus : false,
+
+ exec : function( editor )
+ {
+ if ( editor.mode == 'wysiwyg' )
+ editor.fire( 'saveSnapshot' );
+ editor.getCommand( 'source' ).setState( CKEDITOR.TRISTATE_DISABLED );
+ editor.setMode( editor.mode == 'source' ? 'wysiwyg' : 'source' );
+ },
+
+ canUndo : false
+ }
+ }
+};
diff --git a/devel/third-party/ckeditor/plugins/specialchar/dialogs/specialchar.js b/devel/third-party/ckeditor/plugins/specialchar/dialogs/specialchar.js
new file mode 100644
index 0000000..5e706c7
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/specialchar/dialogs/specialchar.js
@@ -0,0 +1,409 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'specialchar', function( editor )
+{
+ /**
+ * Simulate "this" of a dialog for non-dialog events.
+ * @type {CKEDITOR.dialog}
+ */
+ var dialog,
+ lang = editor.lang.specialChar;
+
+ var insertSpecialChar = function ( specialChar )
+ {
+ var selection = editor.getSelection(),
+ ranges = selection.getRanges( true ),
+ range, textNode;
+
+ editor.fire( 'saveSnapshot' );
+
+ for ( var i = ranges.length - 1; i >= 0 ; i-- )
+ {
+ range = ranges[ i ];
+ range.deleteContents();
+
+ textNode = CKEDITOR.dom.element.createFromHtml( specialChar );
+ range.insertNode( textNode );
+ }
+
+ if ( range )
+ {
+ range.moveToPosition( textNode, CKEDITOR.POSITION_AFTER_END );
+ range.select();
+ }
+
+ editor.fire( 'saveSnapshot' );
+ };
+
+ var onChoice = function( evt )
+ {
+ var target, value;
+ if ( evt.data )
+ target = evt.data.getTarget();
+ else
+ target = new CKEDITOR.dom.element( evt );
+
+ if ( target.getName() == 'a' && ( value = target.getChild( 0 ).getHtml() ) )
+ {
+ target.removeClass( "cke_light_background" );
+ dialog.hide();
+
+ // Firefox has bug on insert chars into a element use its own API. (#5170)
+ if ( CKEDITOR.env.gecko )
+ insertSpecialChar( value );
+ else
+ editor.insertHtml( value );
+ }
+ };
+
+ var onClick = CKEDITOR.tools.addFunction( onChoice );
+
+ var focusedNode;
+
+ var onFocus = function( evt, target )
+ {
+ var value;
+ target = target || evt.data.getTarget();
+
+ if ( target.getName() == 'span' )
+ target = target.getParent();
+
+ if ( target.getName() == 'a' && ( value = target.getChild( 0 ).getHtml() ) )
+ {
+ // Trigger blur manually if there is focused node.
+ if ( focusedNode )
+ onBlur( null, focusedNode );
+
+ var htmlPreview = dialog.getContentElement( 'info', 'htmlPreview' ).getElement();
+
+ dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( value );
+ htmlPreview.setHtml( CKEDITOR.tools.htmlEncode( value ) );
+ target.getParent().addClass( "cke_light_background" );
+
+ // Memorize focused node.
+ focusedNode = target;
+ }
+ };
+
+ var onBlur = function( evt, target )
+ {
+ target = target || evt.data.getTarget();
+
+ if ( target.getName() == 'span' )
+ target = target.getParent();
+
+ if ( target.getName() == 'a' )
+ {
+ dialog.getContentElement( 'info', 'charPreview' ).getElement().setHtml( ' ' );
+ dialog.getContentElement( 'info', 'htmlPreview' ).getElement().setHtml( ' ' );
+ target.getParent().removeClass( "cke_light_background" );
+
+ focusedNode = undefined;
+ }
+ };
+
+ var onKeydown = CKEDITOR.tools.addFunction( function( ev )
+ {
+ ev = new CKEDITOR.dom.event( ev );
+
+ // Get an Anchor element.
+ var element = ev.getTarget();
+ var relative, nodeToMove;
+ var keystroke = ev.getKeystroke();
+ var rtl = editor.lang.dir == 'rtl';
+
+ switch ( keystroke )
+ {
+ // UP-ARROW
+ case 38 :
+ // relative is TR
+ if ( ( relative = element.getParent().getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getChild( [element.getParent().getIndex(), 0] );
+ nodeToMove.focus();
+ onBlur( null, element );
+ onFocus( null, nodeToMove );
+ }
+ ev.preventDefault();
+ break;
+ // DOWN-ARROW
+ case 40 :
+ // relative is TR
+ if ( ( relative = element.getParent().getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( [ element.getParent().getIndex(), 0 ] );
+ if ( nodeToMove && nodeToMove.type == 1 )
+ {
+ nodeToMove.focus();
+ onBlur( null, element );
+ onFocus( null, nodeToMove );
+ }
+ }
+ ev.preventDefault();
+ break;
+ // SPACE
+ // ENTER is already handled as onClick
+ case 32 :
+ onChoice( { data: ev } );
+ ev.preventDefault();
+ break;
+
+ // RIGHT-ARROW
+ case rtl ? 37 : 39 :
+ // TAB
+ case 9 :
+ // relative is TD
+ if ( ( relative = element.getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( 0 );
+ if ( nodeToMove.type == 1 )
+ {
+ nodeToMove.focus();
+ onBlur( null, element );
+ onFocus( null, nodeToMove );
+ ev.preventDefault( true );
+ }
+ else
+ onBlur( null, element );
+ }
+ // relative is TR
+ else if ( ( relative = element.getParent().getParent().getNext() ) )
+ {
+ nodeToMove = relative.getChild( [ 0, 0 ] );
+ if ( nodeToMove && nodeToMove.type == 1 )
+ {
+ nodeToMove.focus();
+ onBlur( null, element );
+ onFocus( null, nodeToMove );
+ ev.preventDefault( true );
+ }
+ else
+ onBlur( null, element );
+ }
+ break;
+
+ // LEFT-ARROW
+ case rtl ? 39 : 37 :
+ // SHIFT + TAB
+ case CKEDITOR.SHIFT + 9 :
+ // relative is TD
+ if ( ( relative = element.getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getChild( 0 );
+ nodeToMove.focus();
+ onBlur( null, element );
+ onFocus( null, nodeToMove );
+ ev.preventDefault( true );
+ }
+ // relative is TR
+ else if ( ( relative = element.getParent().getParent().getPrevious() ) )
+ {
+ nodeToMove = relative.getLast().getChild( 0 );
+ nodeToMove.focus();
+ onBlur( null, element );
+ onFocus( null, nodeToMove );
+ ev.preventDefault( true );
+ }
+ else
+ onBlur( null, element );
+ break;
+ default :
+ // Do not stop not handled events.
+ return;
+ }
+ });
+
+ return {
+ title : lang.title,
+ minWidth : 430,
+ minHeight : 280,
+ buttons : [ CKEDITOR.dialog.cancelButton ],
+ charColumns : 17,
+ chars :
+ [
+ '!','"','#','$','%','&',"'",'(',')','*','+','-','.','/',
+ '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',
+ '{','|','}','~','€(EURO SIGN)','‘(LEFT SINGLE QUOTATION MARK)','’(RIGHT SINGLE QUOTATION MARK)','“(LEFT DOUBLE QUOTATION MARK)',
+ '”(RIGHT DOUBLE QUOTATION MARK)','–(EN DASH)','—(EM DASH)','¡(INVERTED EXCLAMATION MARK)','¢(CENT SIGN)','£(POUND SIGN)',
+ '¤(CURRENCY SIGN)','¥(YEN SIGN)','¦(BROKEN BAR)','§(SECTION SIGN)','¨(DIAERESIS)','©(COPYRIGHT SIGN)','ª(FEMININE ORDINAL INDICATOR)',
+ '«(LEFT-POINTING DOUBLE ANGLE QUOTATION MARK)','¬(NOT SIGN)','®(REGISTERED SIGN)','¯(MACRON)','°(DEGREE SIGN)','±(PLUS-MINUS SIGN)','²(SUPERSCRIPT TWO)',
+ '³(SUPERSCRIPT THREE)','´(ACUTE ACCENT)','µ(MICRO SIGN)','¶(PILCROW SIGN)','·(MIDDLE DOT)','¸(CEDILLA)',
+ '¹(SUPERSCRIPT ONE)','º(MASCULINE ORDINAL INDICATOR)','»(RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK)','¼(VULGAR FRACTION ONE QUARTER)','½(VULGAR FRACTION ONE HALF)','¾(VULGAR FRACTION THREE QUARTERS)',
+ '¿(INVERTED QUESTION MARK)','À(LATIN CAPITAL LETTER A WITH GRAVE)','Á(LATIN CAPITAL LETTER A WITH ACUTE)','Â(LATIN CAPITAL LETTER A WITH CIRCUMFLEX)','Ã(LATIN CAPITAL LETTER A WITH TILDE)','Ä(LATIN CAPITAL LETTER A WITH DIAERESIS)',
+ 'Å(LATIN CAPITAL LETTER A WITH RING ABOVE)','Æ(LATIN CAPITAL LETTER AE)','Ç(LATIN CAPITAL LETTER C WITH CEDILLA)','È(LATIN CAPITAL LETTER E WITH GRAVE)','É(LATIN CAPITAL LETTER E WITH ACUTE)','Ê(LATIN CAPITAL LETTER E WITH CIRCUMFLEX)',
+ 'Ë(LATIN CAPITAL LETTER E WITH DIAERESIS)','Ì(LATIN CAPITAL LETTER I WITH GRAVE)','Í(LATIN CAPITAL LETTER I WITH ACUTE)','Î(LATIN CAPITAL LETTER I WITH CIRCUMFLEX)','Ï(LATIN CAPITAL LETTER I WITH DIAERESIS)','Ð(LATIN CAPITAL LETTER ETH)',
+ 'Ñ(LATIN CAPITAL LETTER N WITH TILDE)','Ò(LATIN CAPITAL LETTER O WITH GRAVE)','Ó(LATIN CAPITAL LETTER O WITH ACUTE)','Ô(LATIN CAPITAL LETTER O WITH CIRCUMFLEX)','Õ(LATIN CAPITAL LETTER O WITH TILDE)','Ö(LATIN CAPITAL LETTER O WITH DIAERESIS)',
+ '×(MULTIPLICATION SIGN)','Ø(LATIN CAPITAL LETTER O WITH STROKE)','Ù(LATIN CAPITAL LETTER U WITH GRAVE)','Ú(LATIN CAPITAL LETTER U WITH ACUTE)','Û(LATIN CAPITAL LETTER U WITH CIRCUMFLEX)','Ü(LATIN CAPITAL LETTER U WITH DIAERESIS)',
+ 'Ý(LATIN CAPITAL LETTER Y WITH ACUTE)','Þ(LATIN CAPITAL LETTER THORN)','ß(LATIN SMALL LETTER SHARP S)','à(LATIN SMALL LETTER A WITH GRAVE)','á(LATIN SMALL LETTER A WITH ACUTE)','â(LATIN SMALL LETTER A WITH CIRCUMFLEX)',
+ 'ã(LATIN SMALL LETTER A WITH TILDE)','ä(LATIN SMALL LETTER A WITH DIAERESIS)','å(LATIN SMALL LETTER A WITH RING ABOVE)','æ(LATIN SMALL LETTER AE)','ç(LATIN SMALL LETTER C WITH CEDILLA)','è(LATIN SMALL LETTER E WITH GRAVE)',
+ 'é(LATIN SMALL LETTER E WITH ACUTE)','ê(LATIN SMALL LETTER E WITH CIRCUMFLEX)','ë(LATIN SMALL LETTER E WITH DIAERESIS)','ì(LATIN SMALL LETTER I WITH GRAVE)','í(LATIN SMALL LETTER I WITH ACUTE)','î(LATIN SMALL LETTER I WITH CIRCUMFLEX)',
+ 'ï(LATIN SMALL LETTER I WITH DIAERESIS)','ð(LATIN SMALL LETTER ETH)','ñ(LATIN SMALL LETTER N WITH TILDE)','ò(LATIN SMALL LETTER O WITH GRAVE)','ó(LATIN SMALL LETTER O WITH ACUTE)','ô(LATIN SMALL LETTER O WITH CIRCUMFLEX)',
+ 'õ(LATIN SMALL LETTER O WITH TILDE)','ö(LATIN SMALL LETTER O WITH DIAERESIS)',
+ '÷(DIVISION SIGN)','ø(LATIN SMALL LETTER O WITH STROKE)',
+ 'ù(LATIN SMALL LETTER U WITH GRAVE)','ú(LATIN SMALL LETTER U WITH ACUTE)',
+ 'û(LATIN SMALL LETTER U WITH CIRCUMFLEX)','ü(LATIN SMALL LETTER U WITH DIAERESIS)',
+ 'ü(LATIN SMALL LETTER U WITH DIAERESIS)','ý(LATIN SMALL LETTER Y WITH ACUTE)','þ(LATIN SMALL LETTER THORN)','ÿ(LATIN SMALL LETTER Y WITH DIAERESIS)',
+ 'Œ(LATIN CAPITAL LIGATURE OE)',
+ 'œ(LATIN SMALL LIGATURE OE)','Ŵ(LATIN CAPITAL LETTER W WITH CIRCUMFLEX)',
+ 'Ŷ(LATIN CAPITAL LETTER Y WITH CIRCUMFLEX)','ŵ(LATIN SMALL LETTER W WITH CIRCUMFLEX)',
+ 'ŷ(LATIN SMALL LETTER Y WITH CIRCUMFLEX)','‚(SINGLE LOW-9 QUOTATION MARK)',
+ '‛(SINGLE HIGH-REVERSED-9 QUOTATION MARK)','„(DOUBLE LOW-9 QUOTATION MARK)','…(HORIZONTAL ELLIPSIS)',
+ '™(TRADE MARK SIGN)','►(BLACK RIGHT-POINTING POINTER)','•(BULLET)',
+ '→(RIGHTWARDS ARROW)','⇒(RIGHTWARDS DOUBLE ARROW)','⇔(LEFT RIGHT DOUBLE ARROW)','♦(BLACK DIAMOND SUIT)','≈(ALMOST EQUAL TO)'
+ ],
+ onLoad : function()
+ {
+ var columns = this.definition.charColumns,
+ chars = this.definition.chars;
+
+ var charsTableLabel = CKEDITOR.tools.getNextId() + '_specialchar_table_label';
+ var html = [ '<table role="listbox" aria-labelledby="' + charsTableLabel + '"' +
+ ' style="width: 320px; height: 100%; border-collapse: separate;"' +
+ ' align="center" cellspacing="2" cellpadding="2" border="0">' ];
+
+ var i = 0,
+ size = chars.length,
+ character,
+ charDesc;
+
+ while ( i < size )
+ {
+ html.push( '<tr>' ) ;
+
+ for ( var j = 0 ; j < columns ; j++, i++ )
+ {
+ if ( ( character = chars[ i ] ) )
+ {
+ charDesc = '';
+ character = character.replace( /\((.*?)\)/, function( match, desc )
+ {
+ charDesc = desc;
+ return '';
+ } );
+
+ // Use character in case description unavailable.
+ charDesc = charDesc || character;
+
+ var charLabelId = 'cke_specialchar_label_' + i + '_' + CKEDITOR.tools.getNextNumber();
+
+ html.push(
+ '<td class="cke_dark_background" style="cursor: default" role="presentation">' +
+ '<a href="javascript: void(0);" role="option"' +
+ ' aria-posinset="' + ( i +1 ) + '"',
+ ' aria-setsize="' + size + '"',
+ ' aria-labelledby="' + charLabelId + '"',
+ ' style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="', CKEDITOR.tools.htmlEncode( charDesc ), '"' +
+ ' onkeydown="CKEDITOR.tools.callFunction( ' + onKeydown + ', event, this )"' +
+ ' onclick="CKEDITOR.tools.callFunction(' + onClick + ', this); return false;"' +
+ ' tabindex="-1">' +
+ '<span style="margin: 0 auto;cursor: inherit">' +
+ character +
+ '</span>' +
+ '<span class="cke_voice_label" id="' + charLabelId + '">' +
+ charDesc +
+ '</span></a>');
+ }
+ else
+ html.push( '<td class="cke_dark_background"> ' );
+
+ html.push( '</td>' );
+ }
+ html.push( '</tr>' );
+ }
+
+ html.push( '</tbody></table>', '<span id="' + charsTableLabel + '" class="cke_voice_label">' + lang.options +'</span>' );
+
+ this.getContentElement( 'info', 'charContainer' ).getElement().setHtml( html.join( '' ) );
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.common.generalTab,
+ title : editor.lang.common.generalTab,
+ padding : 0,
+ align : 'top',
+ elements : [
+ {
+ type : 'hbox',
+ align : 'top',
+ widths : [ '320px', '90px' ],
+ children :
+ [
+ {
+ type : 'html',
+ id : 'charContainer',
+ html : '',
+ onMouseover : onFocus,
+ onMouseout : onBlur,
+ focus : function()
+ {
+ var firstChar = this.getElement().getElementsByTag( 'a' ).getItem( 0 );
+ setTimeout(function()
+ {
+ firstChar.focus();
+ onFocus( null, firstChar );
+ }, 0 );
+ },
+ onShow : function()
+ {
+ var firstChar = this.getElement().getChild( [ 0, 0, 0, 0, 0 ] );
+ setTimeout( function()
+ {
+ firstChar.focus();
+ onFocus( null, firstChar );
+ }, 0 );
+ },
+ onLoad : function( event )
+ {
+ dialog = event.sender;
+ }
+ },
+ {
+ type : 'hbox',
+ align : 'top',
+ widths : [ '100%' ],
+ children :
+ [
+ {
+ type : 'vbox',
+ align : 'top',
+ children :
+ [
+ {
+ type : 'html',
+ html : '<div></div>'
+ },
+ {
+ type : 'html',
+ id : 'charPreview',
+ className : 'cke_dark_background',
+ style : 'border:1px solid #eeeeee;font-size:28px;height:40px;width:70px;padding-top:9px;font-family:\'Microsoft Sans Serif\',Arial,Helvetica,Verdana;text-align:center;',
+ html : '<div> </div>'
+ },
+ {
+ type : 'html',
+ id : 'htmlPreview',
+ className : 'cke_dark_background',
+ style : 'border:1px solid #eeeeee;font-size:14px;height:20px;width:70px;padding-top:2px;font-family:\'Microsoft Sans Serif\',Arial,Helvetica,Verdana;text-align:center;',
+ html : '<div> </div>'
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ };
+} );
diff --git a/devel/third-party/ckeditor/plugins/specialchar/plugin.js b/devel/third-party/ckeditor/plugins/specialchar/plugin.js
new file mode 100644
index 0000000..e6b02a7
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/specialchar/plugin.js
@@ -0,0 +1,29 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Special Character plugin
+ */
+
+CKEDITOR.plugins.add( 'specialchar',
+{
+ init : function( editor )
+ {
+ var pluginName = 'specialchar';
+
+ // Register the dialog.
+ CKEDITOR.dialog.add( pluginName, this.path + 'dialogs/specialchar.js' );
+
+ // Register the command.
+ editor.addCommand( pluginName, new CKEDITOR.dialogCommand( pluginName ) );
+
+ // Register the toolbar button.
+ editor.ui.addButton( 'SpecialChar',
+ {
+ label : editor.lang.specialChar.toolbar,
+ command : pluginName
+ });
+ }
+} );
diff --git a/devel/third-party/ckeditor/plugins/styles/plugin.js b/devel/third-party/ckeditor/plugins/styles/plugin.js
new file mode 100644
index 0000000..8bab79d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/styles/plugin.js
@@ -0,0 +1,1445 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'styles',
+{
+ requires : [ 'selection' ]
+});
+
+/**
+ * Registers a function to be called whenever a style changes its state in the
+ * editing area. The current state is passed to the function. The possible
+ * states are {@link CKEDITOR.TRISTATE_ON} and {@link CKEDITOR.TRISTATE_OFF}.
+ * @param {CKEDITOR.style} The style to be watched.
+ * @param {Function} The function to be called when the style state changes.
+ * @example
+ * // Create a style object for the <b> element.
+ * var style = new CKEDITOR.style( { element : 'b' } );
+ * var editor = CKEDITOR.instances.editor1;
+ * editor.attachStyleStateChange( style, function( state )
+ * {
+ * if ( state == CKEDITOR.TRISTATE_ON )
+ * alert( 'The current state for the B element is ON' );
+ * else
+ * alert( 'The current state for the B element is OFF' );
+ * });
+ */
+CKEDITOR.editor.prototype.attachStyleStateChange = function( style, callback )
+{
+ // Try to get the list of attached callbacks.
+ var styleStateChangeCallbacks = this._.styleStateChangeCallbacks;
+
+ // If it doesn't exist, it means this is the first call. So, let's create
+ // all the structure to manage the style checks and the callback calls.
+ if ( !styleStateChangeCallbacks )
+ {
+ // Create the callbacks array.
+ styleStateChangeCallbacks = this._.styleStateChangeCallbacks = [];
+
+ // Attach to the selectionChange event, so we can check the styles at
+ // that point.
+ this.on( 'selectionChange', function( ev )
+ {
+ // Loop throw all registered callbacks.
+ for ( var i = 0 ; i < styleStateChangeCallbacks.length ; i++ )
+ {
+ var callback = styleStateChangeCallbacks[ i ];
+
+ // Check the current state for the style defined for that
+ // callback.
+ var currentState = callback.style.checkActive( ev.data.path ) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF;
+
+ // If the state changed since the last check.
+ if ( callback.state !== currentState )
+ {
+ // Call the callback function, passing the current
+ // state to it.
+ callback.fn.call( this, currentState );
+
+ // Save the current state, so it can be compared next
+ // time.
+ callback.state = currentState;
+ }
+ }
+ });
+ }
+
+ // Save the callback info, so it can be checked on the next occurrence of
+ // selectionChange.
+ styleStateChangeCallbacks.push( { style : style, fn : callback } );
+};
+
+CKEDITOR.STYLE_BLOCK = 1;
+CKEDITOR.STYLE_INLINE = 2;
+CKEDITOR.STYLE_OBJECT = 3;
+
+(function()
+{
+ var blockElements = { address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 };
+ var objectElements = { a:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,th:1,ul:1,dl:1,dt:1,dd:1,form:1};
+
+ var semicolonFixRegex = /\s*(?:;\s*|$)/;
+
+ CKEDITOR.style = function( styleDefinition, variablesValues )
+ {
+ if ( variablesValues )
+ {
+ styleDefinition = CKEDITOR.tools.clone( styleDefinition );
+
+ replaceVariables( styleDefinition.attributes, variablesValues );
+ replaceVariables( styleDefinition.styles, variablesValues );
+ }
+
+ var element = this.element = ( styleDefinition.element || '*' ).toLowerCase();
+
+ this.type =
+ ( element == '#' || blockElements[ element ] ) ?
+ CKEDITOR.STYLE_BLOCK
+ : objectElements[ element ] ?
+ CKEDITOR.STYLE_OBJECT
+ :
+ CKEDITOR.STYLE_INLINE;
+
+ this._ =
+ {
+ definition : styleDefinition
+ };
+ };
+
+ CKEDITOR.style.prototype =
+ {
+ apply : function( document )
+ {
+ applyStyle.call( this, document, false );
+ },
+
+ remove : function( document )
+ {
+ applyStyle.call( this, document, true );
+ },
+
+ applyToRange : function( range )
+ {
+ return ( this.applyToRange =
+ this.type == CKEDITOR.STYLE_INLINE ?
+ applyInlineStyle
+ : this.type == CKEDITOR.STYLE_BLOCK ?
+ applyBlockStyle
+ : this.type == CKEDITOR.STYLE_OBJECT ?
+ applyObjectStyle
+ : null ).call( this, range );
+ },
+
+ removeFromRange : function( range )
+ {
+ return ( this.removeFromRange =
+ this.type == CKEDITOR.STYLE_INLINE ?
+ removeInlineStyle
+ : this.type == CKEDITOR.STYLE_OBJECT ?
+ removeObjectStyle
+ : null ).call( this, range );
+ },
+
+ applyToObject : function( element )
+ {
+ setupElement( element, this );
+ },
+
+ /**
+ * Get the style state inside an element path. Returns "true" if the
+ * element is active in the path.
+ */
+ checkActive : function( elementPath )
+ {
+ switch ( this.type )
+ {
+ case CKEDITOR.STYLE_BLOCK :
+ return this.checkElementRemovable( elementPath.block || elementPath.blockLimit, true );
+
+ case CKEDITOR.STYLE_OBJECT :
+ case CKEDITOR.STYLE_INLINE :
+
+ var elements = elementPath.elements;
+
+ for ( var i = 0, element ; i < elements.length ; i++ )
+ {
+ element = elements[ i ];
+
+ if ( this.type == CKEDITOR.STYLE_INLINE
+ && ( element == elementPath.block || element == elementPath.blockLimit ) )
+ continue;
+
+ if( this.type == CKEDITOR.STYLE_OBJECT
+ && !( element.getName() in objectElements ) )
+ continue;
+
+ if ( this.checkElementRemovable( element, true ) )
+ return true;
+ }
+ }
+ return false;
+ },
+
+ /**
+ * Whether this style can be applied at the element path.
+ * @param elementPath
+ */
+ checkApplicable : function( elementPath )
+ {
+ switch ( this.type )
+ {
+ case CKEDITOR.STYLE_INLINE :
+ case CKEDITOR.STYLE_BLOCK :
+ break;
+
+ case CKEDITOR.STYLE_OBJECT :
+ return elementPath.lastElement.getAscendant( this.element, true );
+ }
+
+ return true;
+ },
+
+ // Checks if an element, or any of its attributes, is removable by the
+ // current style definition.
+ checkElementRemovable : function( element, fullMatch )
+ {
+ if ( !element )
+ return false;
+
+ var def = this._.definition,
+ attribs;
+
+ // If the element name is the same as the style name.
+ if ( element.getName() == this.element )
+ {
+ // If no attributes are defined in the element.
+ if ( !fullMatch && !element.hasAttributes() )
+ return true;
+
+ attribs = getAttributesForComparison( def );
+
+ if ( attribs._length )
+ {
+ for ( var attName in attribs )
+ {
+ if ( attName == '_length' )
+ continue;
+
+ var elementAttr = element.getAttribute( attName ) || '';
+
+ // Special treatment for 'style' attribute is required.
+ if ( attName == 'style' ?
+ compareCssText( attribs[ attName ], normalizeCssText( elementAttr, false ) )
+ : attribs[ attName ] == elementAttr )
+ {
+ if ( !fullMatch )
+ return true;
+ }
+ else if ( fullMatch )
+ return false;
+ }
+ if ( fullMatch )
+ return true;
+ }
+ else
+ return true;
+ }
+
+ // Check if the element can be somehow overriden.
+ var override = getOverrides( this )[ element.getName() ] ;
+ if ( override )
+ {
+ // If no attributes have been defined, remove the element.
+ if ( !( attribs = override.attributes ) )
+ return true;
+
+ for ( var i = 0 ; i < attribs.length ; i++ )
+ {
+ attName = attribs[i][0];
+ var actualAttrValue = element.getAttribute( attName );
+ if ( actualAttrValue )
+ {
+ var attValue = attribs[i][1];
+
+ // Remove the attribute if:
+ // - The override definition value is null;
+ // - The override definition value is a string that
+ // matches the attribute value exactly.
+ // - The override definition value is a regex that
+ // has matches in the attribute value.
+ if ( attValue === null ||
+ ( typeof attValue == 'string' && actualAttrValue == attValue ) ||
+ attValue.test( actualAttrValue ) )
+ return true;
+ }
+ }
+ }
+ return false;
+ },
+
+ // Builds the preview HTML based on the styles definition.
+ buildPreview : function()
+ {
+ var styleDefinition = this._.definition,
+ html = [],
+ elementName = styleDefinition.element;
+
+ // Avoid <bdo> in the preview.
+ if ( elementName == 'bdo' )
+ elementName = 'span';
+
+ html = [ '<', elementName ];
+
+ // Assign all defined attributes.
+ var attribs = styleDefinition.attributes;
+ if ( attribs )
+ {
+ for ( var att in attribs )
+ {
+ html.push( ' ', att, '="', attribs[ att ], '"' );
+ }
+ }
+
+ // Assign the style attribute.
+ var cssStyle = CKEDITOR.style.getStyleText( styleDefinition );
+ if ( cssStyle )
+ html.push( ' style="', cssStyle, '"' );
+
+ html.push( '>', styleDefinition.name, '</', elementName, '>' );
+
+ return html.join( '' );
+ }
+ };
+
+ // Build the cssText based on the styles definition.
+ CKEDITOR.style.getStyleText = function( styleDefinition )
+ {
+ // If we have already computed it, just return it.
+ var stylesDef = styleDefinition._ST;
+ if ( stylesDef )
+ return stylesDef;
+
+ stylesDef = styleDefinition.styles;
+
+ // Builds the StyleText.
+ var stylesText = ( styleDefinition.attributes && styleDefinition.attributes[ 'style' ] ) || '',
+ specialStylesText = '';
+
+ if ( stylesText.length )
+ stylesText = stylesText.replace( semicolonFixRegex, ';' );
+
+ for ( var style in stylesDef )
+ {
+ var styleVal = stylesDef[ style ],
+ text = ( style + ':' + styleVal ).replace( semicolonFixRegex, ';' );
+
+ // Some browsers don't support 'inherit' property value, leave them intact. (#5242)
+ if ( styleVal == 'inherit' )
+ specialStylesText += text;
+ else
+ stylesText += text;
+ }
+
+ // Browsers make some changes to the style when applying them. So, here
+ // we normalize it to the browser format.
+ if ( stylesText.length )
+ stylesText = normalizeCssText( stylesText );
+
+ stylesText += specialStylesText;
+
+ // Return it, saving it to the next request.
+ return ( styleDefinition._ST = stylesText );
+ };
+
+ function applyInlineStyle( range )
+ {
+ var document = range.document;
+
+ if ( range.collapsed )
+ {
+ // Create the element to be inserted in the DOM.
+ var collapsedElement = getElement( this, document );
+
+ // Insert the empty element into the DOM at the range position.
+ range.insertNode( collapsedElement );
+
+ // Place the selection right inside the empty element.
+ range.moveToPosition( collapsedElement, CKEDITOR.POSITION_BEFORE_END );
+
+ return;
+ }
+
+ var elementName = this.element;
+ var def = this._.definition;
+ var isUnknownElement;
+
+ // Get the DTD definition for the element. Defaults to "span".
+ var dtd = CKEDITOR.dtd[ elementName ] || ( isUnknownElement = true, CKEDITOR.dtd.span );
+
+ // Expand the range.
+ range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+ range.trim();
+
+ // Get the first node to be processed and the last, which concludes the
+ // processing.
+ var boundaryNodes = range.createBookmark(),
+ firstNode = boundaryNodes.startNode,
+ lastNode = boundaryNodes.endNode;
+
+ var currentNode = firstNode;
+
+ var styleRange;
+
+ while ( currentNode )
+ {
+ var applyStyle = false;
+
+ if ( currentNode.equals( lastNode ) )
+ {
+ currentNode = null;
+ applyStyle = true;
+ }
+ else
+ {
+ var nodeType = currentNode.type;
+ var nodeName = nodeType == CKEDITOR.NODE_ELEMENT ? currentNode.getName() : null;
+
+ if ( nodeName && currentNode.getAttribute( '_cke_bookmark' ) )
+ {
+ currentNode = currentNode.getNextSourceNode( true );
+ continue;
+ }
+
+ // Check if the current node can be a child of the style element.
+ if ( !nodeName || ( dtd[ nodeName ]
+ && ( currentNode.getPosition( lastNode ) | CKEDITOR.POSITION_PRECEDING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED )
+ && ( !def.childRule || def.childRule( currentNode ) ) ) )
+ {
+ var currentParent = currentNode.getParent();
+
+ // Check if the style element can be a child of the current
+ // node parent or if the element is not defined in the DTD.
+ if ( currentParent
+ && ( ( currentParent.getDtd() || CKEDITOR.dtd.span )[ elementName ] || isUnknownElement )
+ && ( !def.parentRule || def.parentRule( currentParent ) ) )
+ {
+ // This node will be part of our range, so if it has not
+ // been started, place its start right before the node.
+ // In the case of an element node, it will be included
+ // only if it is entirely inside the range.
+ if ( !styleRange && ( !nodeName || !CKEDITOR.dtd.$removeEmpty[ nodeName ] || ( currentNode.getPosition( lastNode ) | CKEDITOR.POSITION_PRECEDING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_PRECEDING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED ) ) )
+ {
+ styleRange = new CKEDITOR.dom.range( document );
+ styleRange.setStartBefore( currentNode );
+ }
+
+ // Non element nodes, or empty elements can be added
+ // completely to the range.
+ if ( nodeType == CKEDITOR.NODE_TEXT || ( nodeType == CKEDITOR.NODE_ELEMENT && !currentNode.getChildCount() ) )
+ {
+ var includedNode = currentNode;
+ var parentNode;
+
+ // This node is about to be included completelly, but,
+ // if this is the last node in its parent, we must also
+ // check if the parent itself can be added completelly
+ // to the range.
+ while ( !includedNode.$.nextSibling
+ && ( parentNode = includedNode.getParent(), dtd[ parentNode.getName() ] )
+ && ( parentNode.getPosition( firstNode ) | CKEDITOR.POSITION_FOLLOWING | CKEDITOR.POSITION_IDENTICAL | CKEDITOR.POSITION_IS_CONTAINED ) == ( CKEDITOR.POSITION_FOLLOWING + CKEDITOR.POSITION_IDENTICAL + CKEDITOR.POSITION_IS_CONTAINED )
+ && ( !def.childRule || def.childRule( parentNode ) ) )
+ {
+ includedNode = parentNode;
+ }
+
+ styleRange.setEndAfter( includedNode );
+
+ // If the included node still is the last node in its
+ // parent, it means that the parent can't be included
+ // in this style DTD, so apply the style immediately.
+ if ( !includedNode.$.nextSibling )
+ applyStyle = true;
+
+ }
+ }
+ else
+ applyStyle = true;
+ }
+ else
+ applyStyle = true;
+
+ // Get the next node to be processed.
+ currentNode = currentNode.getNextSourceNode();
+ }
+
+ // Apply the style if we have something to which apply it.
+ if ( applyStyle && styleRange && !styleRange.collapsed )
+ {
+ // Build the style element, based on the style object definition.
+ var styleNode = getElement( this, document );
+
+ // Get the element that holds the entire range.
+ var parent = styleRange.getCommonAncestor();
+
+ // Loop through the parents, removing the redundant attributes
+ // from the element to be applied.
+ while ( styleNode && parent )
+ {
+ if ( parent.getName() == elementName )
+ {
+ for ( var attName in def.attributes )
+ {
+ if ( styleNode.getAttribute( attName ) == parent.getAttribute( attName ) )
+ styleNode.removeAttribute( attName );
+ }
+
+ for ( var styleName in def.styles )
+ {
+ if ( styleNode.getStyle( styleName ) == parent.getStyle( styleName ) )
+ styleNode.removeStyle( styleName );
+ }
+
+ if ( !styleNode.hasAttributes() )
+ {
+ styleNode = null;
+ break;
+ }
+ }
+
+ parent = parent.getParent();
+ }
+
+ if ( styleNode )
+ {
+ // Move the contents of the range to the style element.
+ styleRange.extractContents().appendTo( styleNode );
+
+ // Here we do some cleanup, removing all duplicated
+ // elements from the style element.
+ removeFromInsideElement( this, styleNode );
+
+ // Insert it into the range position (it is collapsed after
+ // extractContents.
+ styleRange.insertNode( styleNode );
+
+ // Let's merge our new style with its neighbors, if possible.
+ styleNode.mergeSiblings();
+
+ // As the style system breaks text nodes constantly, let's normalize
+ // things for performance.
+ // With IE, some paragraphs get broken when calling normalize()
+ // repeatedly. Also, for IE, we must normalize body, not documentElement.
+ // IE is also known for having a "crash effect" with normalize().
+ // We should try to normalize with IE too in some way, somewhere.
+ if ( !CKEDITOR.env.ie )
+ styleNode.$.normalize();
+ }
+
+ // Style applied, let's release the range, so it gets
+ // re-initialization in the next loop.
+ styleRange = null;
+ }
+ }
+
+ // Remove the bookmark nodes.
+ range.moveToBookmark( boundaryNodes );
+
+ // Minimize the result range to exclude empty text nodes. (#5374)
+ range.shrink( CKEDITOR.SHRINK_TEXT );
+ }
+
+ function removeInlineStyle( range )
+ {
+ /*
+ * Make sure our range has included all "collpased" parent inline nodes so
+ * that our operation logic can be simpler.
+ */
+ range.enlarge( CKEDITOR.ENLARGE_ELEMENT );
+
+ var bookmark = range.createBookmark(),
+ startNode = bookmark.startNode;
+
+ if ( range.collapsed )
+ {
+
+ var startPath = new CKEDITOR.dom.elementPath( startNode.getParent() ),
+ // The topmost element in elementspatch which we should jump out of.
+ boundaryElement;
+
+
+ for ( var i = 0, element ; i < startPath.elements.length
+ && ( element = startPath.elements[i] ) ; i++ )
+ {
+ /*
+ * 1. If it's collaped inside text nodes, try to remove the style from the whole element.
+ *
+ * 2. Otherwise if it's collapsed on element boundaries, moving the selection
+ * outside the styles instead of removing the whole tag,
+ * also make sure other inner styles were well preserverd.(#3309)
+ */
+ if ( element == startPath.block || element == startPath.blockLimit )
+ break;
+
+ if ( this.checkElementRemovable( element ) )
+ {
+ var isStart;
+
+ if ( range.collapsed && (
+ range.checkBoundaryOfElement( element, CKEDITOR.END ) ||
+ ( isStart = range.checkBoundaryOfElement( element, CKEDITOR.START ) ) ) )
+ {
+ boundaryElement = element;
+ boundaryElement.match = isStart ? 'start' : 'end';
+ }
+ else
+ {
+ /*
+ * Before removing the style node, there may be a sibling to the style node
+ * that's exactly the same to the one to be removed. To the user, it makes
+ * no difference that they're separate entities in the DOM tree. So, merge
+ * them before removal.
+ */
+ element.mergeSiblings();
+ removeFromElement( this, element );
+
+ }
+ }
+ }
+
+ // Re-create the style tree after/before the boundary element,
+ // the replication start from bookmark start node to define the
+ // new range.
+ if ( boundaryElement )
+ {
+ var clonedElement = startNode;
+ for ( i = 0 ;; i++ )
+ {
+ var newElement = startPath.elements[ i ];
+ if ( newElement.equals( boundaryElement ) )
+ break;
+ // Avoid copying any matched element.
+ else if ( newElement.match )
+ continue;
+ else
+ newElement = newElement.clone();
+ newElement.append( clonedElement );
+ clonedElement = newElement;
+ }
+ clonedElement[ boundaryElement.match == 'start' ?
+ 'insertBefore' : 'insertAfter' ]( boundaryElement );
+ }
+ }
+ else
+ {
+ /*
+ * Now our range isn't collapsed. Lets walk from the start node to the end
+ * node via DFS and remove the styles one-by-one.
+ */
+ var endNode = bookmark.endNode,
+ me = this;
+
+ /*
+ * Find out the style ancestor that needs to be broken down at startNode
+ * and endNode.
+ */
+ function breakNodes()
+ {
+ var startPath = new CKEDITOR.dom.elementPath( startNode.getParent() ),
+ endPath = new CKEDITOR.dom.elementPath( endNode.getParent() ),
+ breakStart = null,
+ breakEnd = null;
+ for ( var i = 0 ; i < startPath.elements.length ; i++ )
+ {
+ var element = startPath.elements[ i ];
+
+ if ( element == startPath.block || element == startPath.blockLimit )
+ break;
+
+ if ( me.checkElementRemovable( element ) )
+ breakStart = element;
+ }
+ for ( i = 0 ; i < endPath.elements.length ; i++ )
+ {
+ element = endPath.elements[ i ];
+
+ if ( element == endPath.block || element == endPath.blockLimit )
+ break;
+
+ if ( me.checkElementRemovable( element ) )
+ breakEnd = element;
+ }
+
+ if ( breakEnd )
+ endNode.breakParent( breakEnd );
+ if ( breakStart )
+ startNode.breakParent( breakStart );
+ }
+ breakNodes();
+
+ // Now, do the DFS walk.
+ var currentNode = startNode.getNext();
+ while ( !currentNode.equals( endNode ) )
+ {
+ /*
+ * Need to get the next node first because removeFromElement() can remove
+ * the current node from DOM tree.
+ */
+ var nextNode = currentNode.getNextSourceNode();
+ if ( currentNode.type == CKEDITOR.NODE_ELEMENT && this.checkElementRemovable( currentNode ) )
+ {
+ // Remove style from element or overriding element.
+ if ( currentNode.getName() == this.element )
+ removeFromElement( this, currentNode );
+ else
+ removeOverrides( currentNode, getOverrides( this )[ currentNode.getName() ] );
+
+ /*
+ * removeFromElement() may have merged the next node with something before
+ * the startNode via mergeSiblings(). In that case, the nextNode would
+ * contain startNode and we'll have to call breakNodes() again and also
+ * reassign the nextNode to something after startNode.
+ */
+ if ( nextNode.type == CKEDITOR.NODE_ELEMENT && nextNode.contains( startNode ) )
+ {
+ breakNodes();
+ nextNode = startNode.getNext();
+ }
+ }
+ currentNode = nextNode;
+ }
+ }
+
+ range.moveToBookmark( bookmark );
+}
+
+ function applyObjectStyle( range )
+ {
+ var root = range.getCommonAncestor( true, true ),
+ element = root.getAscendant( this.element, true );
+ element && setupElement( element, this );
+ }
+
+ function removeObjectStyle( range )
+ {
+ var root = range.getCommonAncestor( true, true ),
+ element = root.getAscendant( this.element, true );
+
+ if ( !element )
+ return;
+
+ var style = this;
+ var def = style._.definition;
+ var attributes = def.attributes;
+ var styles = CKEDITOR.style.getStyleText( def );
+
+ // Remove all defined attributes.
+ if ( attributes )
+ {
+ for ( var att in attributes )
+ {
+ element.removeAttribute( att, attributes[ att ] );
+ }
+ }
+
+ // Assign all defined styles.
+ if ( def.styles )
+ {
+ for ( var i in def.styles )
+ {
+ if ( !def.styles.hasOwnProperty( i ) )
+ continue;
+
+ element.removeStyle( i );
+ }
+ }
+ }
+
+ function applyBlockStyle( range )
+ {
+ // Serializible bookmarks is needed here since
+ // elements may be merged.
+ var bookmark = range.createBookmark( true );
+
+ var iterator = range.createIterator();
+ iterator.enforceRealBlocks = true;
+
+ // make recognize <br /> tag as a separator in ENTER_BR mode (#5121)
+ if ( this._.enterMode )
+ iterator.enlargeBr = ( this._.enterMode != CKEDITOR.ENTER_BR );
+
+ var block;
+ var doc = range.document;
+ var previousPreBlock;
+
+ while ( ( block = iterator.getNextParagraph() ) ) // Only one =
+ {
+ var newBlock = getElement( this, doc );
+ replaceBlock( block, newBlock );
+ }
+
+ range.moveToBookmark( bookmark );
+ }
+
+ // Replace the original block with new one, with special treatment
+ // for <pre> blocks to make sure content format is well preserved, and merging/splitting adjacent
+ // when necessary.(#3188)
+ function replaceBlock( block, newBlock )
+ {
+ var newBlockIsPre = newBlock.is( 'pre' );
+ var blockIsPre = block.is( 'pre' );
+
+ var isToPre = newBlockIsPre && !blockIsPre;
+ var isFromPre = !newBlockIsPre && blockIsPre;
+
+ if ( isToPre )
+ newBlock = toPre( block, newBlock );
+ else if ( isFromPre )
+ // Split big <pre> into pieces before start to convert.
+ newBlock = fromPres( splitIntoPres( block ), newBlock );
+ else
+ block.moveChildren( newBlock );
+
+ newBlock.replace( block );
+
+ if ( newBlockIsPre )
+ {
+ // Merge previous <pre> blocks.
+ mergePre( newBlock );
+ }
+ }
+
+ var nonWhitespaces = CKEDITOR.dom.walker.whitespaces( true );
+ /**
+ * Merge a <pre> block with a previous sibling if available.
+ */
+ function mergePre( preBlock )
+ {
+ var previousBlock;
+ if ( !( ( previousBlock = preBlock.getPrevious( nonWhitespaces ) )
+ && previousBlock.is
+ && previousBlock.is( 'pre') ) )
+ return;
+
+ // Merge the previous <pre> block contents into the current <pre>
+ // block.
+ //
+ // Another thing to be careful here is that currentBlock might contain
+ // a '\n' at the beginning, and previousBlock might contain a '\n'
+ // towards the end. These new lines are not normally displayed but they
+ // become visible after merging.
+ var mergedHtml = replace( previousBlock.getHtml(), /\n$/, '' ) + '\n\n' +
+ replace( preBlock.getHtml(), /^\n/, '' ) ;
+
+ // Krugle: IE normalizes innerHTML from <pre>, breaking whitespaces.
+ if ( CKEDITOR.env.ie )
+ preBlock.$.outerHTML = '<pre>' + mergedHtml + '</pre>';
+ else
+ preBlock.setHtml( mergedHtml );
+
+ previousBlock.remove();
+ }
+
+ /**
+ * Split into multiple <pre> blocks separated by double line-break.
+ * @param preBlock
+ */
+ function splitIntoPres( preBlock )
+ {
+ // Exclude the ones at header OR at tail,
+ // and ignore bookmark content between them.
+ var duoBrRegex = /(\S\s*)\n(?:\s|(<span[^>]+_cke_bookmark.*?\/span>))*\n(?!$)/gi,
+ blockName = preBlock.getName(),
+ splitedHtml = replace( preBlock.getOuterHtml(),
+ duoBrRegex,
+ function( match, charBefore, bookmark )
+ {
+ return charBefore + '</pre>' + bookmark + '<pre>';
+ } );
+
+ var pres = [];
+ splitedHtml.replace( /<pre\b.*?>([\s\S]*?)<\/pre>/gi, function( match, preContent ){
+ pres.push( preContent );
+ } );
+ return pres;
+ }
+
+ // Wrapper function of String::replace without considering of head/tail bookmarks nodes.
+ function replace( str, regexp, replacement )
+ {
+ var headBookmark = '',
+ tailBookmark = '';
+
+ str = str.replace( /(^<span[^>]+_cke_bookmark.*?\/span>)|(<span[^>]+_cke_bookmark.*?\/span>$)/gi,
+ function( str, m1, m2 ){
+ m1 && ( headBookmark = m1 );
+ m2 && ( tailBookmark = m2 );
+ return '';
+ } );
+ return headBookmark + str.replace( regexp, replacement ) + tailBookmark;
+ }
+ /**
+ * Converting a list of <pre> into blocks with format well preserved.
+ */
+ function fromPres( preHtmls, newBlock )
+ {
+ var docFrag = new CKEDITOR.dom.documentFragment( newBlock.getDocument() );
+ for ( var i = 0 ; i < preHtmls.length ; i++ )
+ {
+ var blockHtml = preHtmls[ i ];
+
+ // 1. Trim the first and last line-breaks immediately after and before <pre>,
+ // they're not visible.
+ blockHtml = blockHtml.replace( /(\r\n|\r)/g, '\n' ) ;
+ blockHtml = replace( blockHtml, /^[ \t]*\n/, '' ) ;
+ blockHtml = replace( blockHtml, /\n$/, '' ) ;
+ // 2. Convert spaces or tabs at the beginning or at the end to
+ blockHtml = replace( blockHtml, /^[ \t]+|[ \t]+$/g, function( match, offset, s )
+ {
+ if ( match.length == 1 ) // one space, preserve it
+ return ' ' ;
+ else if ( !offset ) // beginning of block
+ return CKEDITOR.tools.repeat( ' ', match.length - 1 ) + ' ';
+ else // end of block
+ return ' ' + CKEDITOR.tools.repeat( ' ', match.length - 1 );
+ } ) ;
+
+ // 3. Convert \n to <BR>.
+ // 4. Convert contiguous (i.e. non-singular) spaces or tabs to
+ blockHtml = blockHtml.replace( /\n/g, '<br>' ) ;
+ blockHtml = blockHtml.replace( /[ \t]{2,}/g,
+ function ( match )
+ {
+ return CKEDITOR.tools.repeat( ' ', match.length - 1 ) + ' ' ;
+ } ) ;
+
+ var newBlockClone = newBlock.clone();
+ newBlockClone.setHtml( blockHtml );
+ docFrag.append( newBlockClone );
+ }
+ return docFrag;
+ }
+
+ /**
+ * Converting from a non-PRE block to a PRE block in formatting operations.
+ */
+ function toPre( block, newBlock )
+ {
+ // First trim the block content.
+ var preHtml = block.getHtml();
+
+ // 1. Trim head/tail spaces, they're not visible.
+ preHtml = replace( preHtml, /(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g, '' );
+ // 2. Delete ANSI whitespaces immediately before and after <BR> because
+ // they are not visible.
+ preHtml = preHtml.replace( /[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi, '$1' );
+ // 3. Compress other ANSI whitespaces since they're only visible as one
+ // single space previously.
+ // 4. Convert to spaces since is no longer needed in <PRE>.
+ preHtml = preHtml.replace( /([ \t\n\r]+| )/g, ' ' );
+ // 5. Convert any <BR /> to \n. This must not be done earlier because
+ // the \n would then get compressed.
+ preHtml = preHtml.replace( /<br\b[^>]*>/gi, '\n' );
+
+ // Krugle: IE normalizes innerHTML to <pre>, breaking whitespaces.
+ if ( CKEDITOR.env.ie )
+ {
+ var temp = block.getDocument().createElement( 'div' );
+ temp.append( newBlock );
+ newBlock.$.outerHTML = '<pre>' + preHtml + '</pre>';
+ newBlock = temp.getFirst().remove();
+ }
+ else
+ newBlock.setHtml( preHtml );
+
+ return newBlock;
+ }
+
+ // Removes a style from an element itself, don't care about its subtree.
+ function removeFromElement( style, element )
+ {
+ var def = style._.definition,
+ attributes = CKEDITOR.tools.extend( {}, def.attributes, getOverrides( style )[ element.getName() ] ),
+ styles = def.styles,
+ // If the style is only about the element itself, we have to remove the element.
+ removeEmpty = CKEDITOR.tools.isEmpty( attributes ) && CKEDITOR.tools.isEmpty( styles );
+
+ // Remove definition attributes/style from the elemnt.
+ for ( var attName in attributes )
+ {
+ // The 'class' element value must match (#1318).
+ if ( ( attName == 'class' || style._.definition.fullMatch )
+ && element.getAttribute( attName ) != normalizeProperty( attName, attributes[ attName ] ) )
+ continue;
+ removeEmpty = element.hasAttribute( attName );
+ element.removeAttribute( attName );
+ }
+
+ for ( var styleName in styles )
+ {
+ // Full match style insist on having fully equivalence. (#5018)
+ if ( style._.definition.fullMatch
+ && element.getStyle( styleName ) != normalizeProperty( styleName, styles[ styleName ], true ) )
+ continue;
+
+ removeEmpty = removeEmpty || !!element.getStyle( styleName );
+ element.removeStyle( styleName );
+ }
+
+ removeEmpty && removeNoAttribsElement( element );
+ }
+
+ // Removes a style from inside an element.
+ function removeFromInsideElement( style, element )
+ {
+ var def = style._.definition,
+ attribs = def.attributes,
+ styles = def.styles,
+ overrides = getOverrides( style );
+
+ var innerElements = element.getElementsByTag( style.element );
+
+ for ( var i = innerElements.count(); --i >= 0 ; )
+ removeFromElement( style, innerElements.getItem( i ) );
+
+ // Now remove any other element with different name that is
+ // defined to be overriden.
+ for ( var overrideElement in overrides )
+ {
+ if ( overrideElement != style.element )
+ {
+ innerElements = element.getElementsByTag( overrideElement ) ;
+ for ( i = innerElements.count() - 1 ; i >= 0 ; i-- )
+ {
+ var innerElement = innerElements.getItem( i );
+ removeOverrides( innerElement, overrides[ overrideElement ] ) ;
+ }
+ }
+ }
+
+ }
+
+ /**
+ * Remove overriding styles/attributes from the specific element.
+ * Note: Remove the element if no attributes remain.
+ * @param {Object} element
+ * @param {Object} overrides
+ */
+ function removeOverrides( element, overrides )
+ {
+ var attributes = overrides && overrides.attributes ;
+
+ if ( attributes )
+ {
+ for ( var i = 0 ; i < attributes.length ; i++ )
+ {
+ var attName = attributes[i][0], actualAttrValue ;
+
+ if ( ( actualAttrValue = element.getAttribute( attName ) ) )
+ {
+ var attValue = attributes[i][1] ;
+
+ // Remove the attribute if:
+ // - The override definition value is null ;
+ // - The override definition valie is a string that
+ // matches the attribute value exactly.
+ // - The override definition value is a regex that
+ // has matches in the attribute value.
+ if ( attValue === null ||
+ ( attValue.test && attValue.test( actualAttrValue ) ) ||
+ ( typeof attValue == 'string' && actualAttrValue == attValue ) )
+ element.removeAttribute( attName ) ;
+ }
+ }
+ }
+
+ removeNoAttribsElement( element );
+ }
+
+ // If the element has no more attributes, remove it.
+ function removeNoAttribsElement( element )
+ {
+ // If no more attributes remained in the element, remove it,
+ // leaving its children.
+ if ( !element.hasAttributes() )
+ {
+ // Removing elements may open points where merging is possible,
+ // so let's cache the first and last nodes for later checking.
+ var firstChild = element.getFirst();
+ var lastChild = element.getLast();
+
+ element.remove( true );
+
+ if ( firstChild )
+ {
+ // Check the cached nodes for merging.
+ firstChild.type == CKEDITOR.NODE_ELEMENT && firstChild.mergeSiblings();
+
+ if ( lastChild && !firstChild.equals( lastChild )
+ && lastChild.type == CKEDITOR.NODE_ELEMENT )
+ lastChild.mergeSiblings();
+ }
+ }
+ }
+
+ function getElement( style, targetDocument )
+ {
+ var el;
+
+ var def = style._.definition;
+
+ var elementName = style.element;
+
+ // The "*" element name will always be a span for this function.
+ if ( elementName == '*' )
+ elementName = 'span';
+
+ // Create the element.
+ el = new CKEDITOR.dom.element( elementName, targetDocument );
+
+ return setupElement( el, style );
+ }
+
+ function setupElement( el, style )
+ {
+ var def = style._.definition;
+ var attributes = def.attributes;
+ var styles = CKEDITOR.style.getStyleText( def );
+
+ // Assign all defined attributes.
+ if ( attributes )
+ {
+ for ( var att in attributes )
+ {
+ el.setAttribute( att, attributes[ att ] );
+ }
+ }
+
+ // Assign all defined styles.
+ if ( def.styles )
+ {
+ for ( var i in def.styles )
+ {
+ if ( !def.styles.hasOwnProperty( i ) )
+ continue;
+
+ el.setStyle( i, def.styles[ i ] );
+ }
+ }
+
+ return el;
+ }
+
+ var varRegex = /#\((.+?)\)/g;
+ function replaceVariables( list, variablesValues )
+ {
+ for ( var item in list )
+ {
+ list[ item ] = list[ item ].replace( varRegex, function( match, varName )
+ {
+ return variablesValues[ varName ];
+ });
+ }
+ }
+
+
+ // Returns an object that can be used for style matching comparison.
+ // Attributes names and values are all lowercased, and the styles get
+ // merged with the style attribute.
+ function getAttributesForComparison( styleDefinition )
+ {
+ // If we have already computed it, just return it.
+ var attribs = styleDefinition._AC;
+ if ( attribs )
+ return attribs;
+
+ attribs = {};
+
+ var length = 0;
+
+ // Loop through all defined attributes.
+ var styleAttribs = styleDefinition.attributes;
+ if ( styleAttribs )
+ {
+ for ( var styleAtt in styleAttribs )
+ {
+ length++;
+ attribs[ styleAtt ] = styleAttribs[ styleAtt ];
+ }
+ }
+
+ // Includes the style definitions.
+ var styleText = CKEDITOR.style.getStyleText( styleDefinition );
+ if ( styleText )
+ {
+ if ( !attribs[ 'style' ] )
+ length++;
+ attribs[ 'style' ] = styleText;
+ }
+
+ // Appends the "length" information to the object.
+ attribs._length = length;
+
+ // Return it, saving it to the next request.
+ return ( styleDefinition._AC = attribs );
+ }
+
+ /**
+ * Get the the collection used to compare the elements and attributes,
+ * defined in this style overrides, with other element. All information in
+ * it is lowercased.
+ * @param {CKEDITOR.style} style
+ */
+ function getOverrides( style )
+ {
+ if ( style._.overrides )
+ return style._.overrides;
+
+ var overrides = ( style._.overrides = {} ),
+ definition = style._.definition.overrides;
+
+ if ( definition )
+ {
+ // The override description can be a string, object or array.
+ // Internally, well handle arrays only, so transform it if needed.
+ if ( !CKEDITOR.tools.isArray( definition ) )
+ definition = [ definition ];
+
+ // Loop through all override definitions.
+ for ( var i = 0 ; i < definition.length ; i++ )
+ {
+ var override = definition[i];
+ var elementName;
+ var overrideEl;
+ var attrs;
+
+ // If can be a string with the element name.
+ if ( typeof override == 'string' )
+ elementName = override.toLowerCase();
+ // Or an object.
+ else
+ {
+ elementName = override.element ? override.element.toLowerCase() : style.element;
+ attrs = override.attributes;
+ }
+
+ // We can have more than one override definition for the same
+ // element name, so we attempt to simply append information to
+ // it if it already exists.
+ overrideEl = overrides[ elementName ] || ( overrides[ elementName ] = {} );
+
+ if ( attrs )
+ {
+ // The returning attributes list is an array, because we
+ // could have different override definitions for the same
+ // attribute name.
+ var overrideAttrs = ( overrideEl.attributes = overrideEl.attributes || new Array() );
+ for ( var attName in attrs )
+ {
+ // Each item in the attributes array is also an array,
+ // where [0] is the attribute name and [1] is the
+ // override value.
+ overrideAttrs.push( [ attName.toLowerCase(), attrs[ attName ] ] );
+ }
+ }
+ }
+ }
+
+ return overrides;
+ }
+
+ // Make the comparison of attribute value easier by standardizing it.
+ function normalizeProperty( name, value, isStyle )
+ {
+ var temp = new CKEDITOR.dom.element( 'span' );
+ temp [ isStyle ? 'setStyle' : 'setAttribute' ]( name, value );
+ return temp[ isStyle ? 'getStyle' : 'getAttribute' ]( name );
+ }
+
+ // Make the comparison of style text easier by standardizing it.
+ function normalizeCssText( unparsedCssText, nativeNormalize )
+ {
+ var styleText;
+ if ( nativeNormalize !== false )
+ {
+ // Injects the style in a temporary span object, so the browser parses it,
+ // retrieving its final format.
+ var temp = new CKEDITOR.dom.element( 'span' );
+ temp.setAttribute( 'style', unparsedCssText );
+ styleText = temp.getAttribute( 'style' ) || '';
+ }
+ else
+ styleText = unparsedCssText;
+
+ // Shrinking white-spaces around colon and semi-colon (#4147).
+ // Compensate tail semi-colon.
+ return styleText.replace( /\s*([;:])\s*/, '$1' )
+ .replace( /([^\s;])$/, '$1;')
+ .replace( /,\s+/g, ',' ) // Trimming spaces after comma (e.g. font-family name)(#4107).
+ .toLowerCase();
+ }
+
+ // Turn inline style text properties into one hash.
+ function parseStyleText( styleText )
+ {
+ var retval = {};
+ styleText
+ .replace( /"/g, '"' )
+ .replace( /\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g, function( match, name, value )
+ {
+ retval[ name ] = value;
+ } );
+ return retval;
+ }
+
+ /**
+ * Compare two bunch of styles, with the speciality that value 'inherit'
+ * is treated as a wildcard which will match any value.
+ * @param {Object|String} source
+ * @param {Object|String} target
+ */
+ function compareCssText( source, target )
+ {
+ typeof source == 'string' && ( source = parseStyleText( source ) );
+ typeof target == 'string' && ( target = parseStyleText( target ) );
+ for( var name in source )
+ {
+ if ( !( name in target &&
+ ( target[ name ] == source[ name ]
+ || source[ name ] == 'inherit'
+ || target[ name ] == 'inherit' ) ) )
+ {
+ return false;
+ }
+ }
+ return true;
+ }
+
+ function applyStyle( document, remove )
+ {
+ var selection = document.getSelection(),
+ // Bookmark the range so we can re-select it after processing.
+ bookmarks = selection.createBookmarks(),
+ ranges = selection.getRanges( true ),
+ func = remove ? this.removeFromRange : this.applyToRange,
+ range;
+
+ var iterator = ranges.createIterator();
+ while ( ( range = iterator.getNextRange() ) )
+ func.call( this, range );
+
+ if ( bookmarks.length == 1 && bookmarks[0].collapsed )
+ {
+ selection.selectRanges( ranges );
+ bookmarks[0].startNode.remove();
+ }
+ else
+ selection.selectBookmarks( bookmarks );
+ }
+})();
+
+CKEDITOR.styleCommand = function( style )
+{
+ this.style = style;
+};
+
+CKEDITOR.styleCommand.prototype.exec = function( editor )
+{
+ editor.focus();
+
+ var doc = editor.document;
+
+ if ( doc )
+ {
+ if ( this.state == CKEDITOR.TRISTATE_OFF )
+ this.style.apply( doc );
+ else if ( this.state == CKEDITOR.TRISTATE_ON )
+ this.style.remove( doc );
+ }
+
+ return !!doc;
+};
+
+CKEDITOR.stylesSet = new CKEDITOR.resourceManager( '', 'stylesSet' );
+
+// Backward compatibility (#5025).
+CKEDITOR.addStylesSet = CKEDITOR.tools.bind( CKEDITOR.stylesSet.add, CKEDITOR.stylesSet );
+CKEDITOR.loadStylesSet = function( name, url, callback )
+ {
+ CKEDITOR.stylesSet.addExternal( name, url, '' );
+ CKEDITOR.stylesSet.load( name, callback );
+ };
+
+
+/**
+ * Gets the current styleSet for this instance
+ * @param {Function} The function to be called with the styles data.
+ * @example
+ * editor.getStylesSet( function( stylesDefinitions ) {} );
+ */
+CKEDITOR.editor.prototype.getStylesSet = function( callback )
+{
+ if ( !this._.stylesDefinitions )
+ {
+ var editor = this,
+ // Respect the backwards compatible definition entry
+ configStyleSet = editor.config.stylesCombo_stylesSet || editor.config.stylesSet || 'default';
+
+ // #5352 Allow to define the styles directly in the config object
+ if ( configStyleSet instanceof Array )
+ {
+ editor._.stylesDefinitions = configStyleSet;
+ callback( configStyleSet );
+ return;
+ }
+
+ var partsStylesSet = configStyleSet.split( ':' ),
+ styleSetName = partsStylesSet[ 0 ],
+ externalPath = partsStylesSet[ 1 ],
+ pluginPath = CKEDITOR.plugins.registered.styles.path;
+
+ CKEDITOR.stylesSet.addExternal( styleSetName,
+ externalPath ?
+ partsStylesSet.slice( 1 ).join( ':' ) :
+ pluginPath + 'styles/' + styleSetName + '.js', '' );
+
+ CKEDITOR.stylesSet.load( styleSetName, function( stylesSet )
+ {
+ editor._.stylesDefinitions = stylesSet[ styleSetName ];
+ callback( editor._.stylesDefinitions );
+ } ) ;
+ }
+ else
+ callback( this._.stylesDefinitions );
+};
+
+/**
+ * The "styles definition set" to use in the editor. They will be used in the
+ * styles combo and the Style selector of the div container. <br>
+ * The styles may be defined in the page containing the editor, or can be
+ * loaded on demand from an external file. In the second case, if this setting
+ * contains only a name, the styles definition file will be loaded from the
+ * "styles" folder inside the styles plugin folder.
+ * Otherwise, this setting has the "name:url" syntax, making it
+ * possible to set the URL from which loading the styles file.<br>
+ * Previously this setting was available as config.stylesCombo_stylesSet<br>
+ * @name CKEDITOR.config.stylesSet
+ * @type String|Array
+ * @default 'default'
+ * @since 3.3
+ * @example
+ * // Load from the styles' styles folder (mystyles.js file).
+ * config.stylesSet = 'mystyles';
+ * @example
+ * // Load from a relative URL.
+ * config.stylesSet = 'mystyles:/editorstyles/styles.js';
+ * @example
+ * // Load from a full URL.
+ * config.stylesSet = 'mystyles:http://www.example.com/editorstyles/styles.js';
+ * @example
+ * // Load from a list of definitions.
+ * config.stylesSet = [
+ * { name : 'Strong Emphasis', element : 'strong' },
+ * { name : 'Emphasis', element : 'em' }, ... ];
+ */
diff --git a/devel/third-party/ckeditor/plugins/styles/styles/default.js b/devel/third-party/ckeditor/plugins/styles/styles/default.js
new file mode 100644
index 0000000..c5fd85f
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/styles/styles/default.js
@@ -0,0 +1,88 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.stylesSet.add( 'default',
+[
+ /* Block Styles */
+
+ // These styles are already available in the "Format" combo, so they are
+ // not needed here by default. You may enable them to avoid placing the
+ // "Format" combo in the toolbar, maintaining the same features.
+ /*
+ { name : 'Paragraph' , element : 'p' },
+ { name : 'Heading 1' , element : 'h1' },
+ { name : 'Heading 2' , element : 'h2' },
+ { name : 'Heading 3' , element : 'h3' },
+ { name : 'Heading 4' , element : 'h4' },
+ { name : 'Heading 5' , element : 'h5' },
+ { name : 'Heading 6' , element : 'h6' },
+ { name : 'Preformatted Text', element : 'pre' },
+ { name : 'Address' , element : 'address' },
+ */
+
+ { name : 'Blue Title' , element : 'h3', styles : { 'color' : 'Blue' } },
+ { name : 'Red Title' , element : 'h3', styles : { 'color' : 'Red' } },
+
+ /* Inline Styles */
+
+ // These are core styles available as toolbar buttons. You may opt enabling
+ // some of them in the Styles combo, removing them from the toolbar.
+ /*
+ { name : 'Strong' , element : 'strong', overrides : 'b' },
+ { name : 'Emphasis' , element : 'em' , overrides : 'i' },
+ { name : 'Underline' , element : 'u' },
+ { name : 'Strikethrough' , element : 'strike' },
+ { name : 'Subscript' , element : 'sub' },
+ { name : 'Superscript' , element : 'sup' },
+ */
+
+ { name : 'Marker: Yellow' , element : 'span', styles : { 'background-color' : 'Yellow' } },
+ { name : 'Marker: Green' , element : 'span', styles : { 'background-color' : 'Lime' } },
+
+ { name : 'Big' , element : 'big' },
+ { name : 'Small' , element : 'small' },
+ { name : 'Typewriter' , element : 'tt' },
+
+ { name : 'Computer Code' , element : 'code' },
+ { name : 'Keyboard Phrase' , element : 'kbd' },
+ { name : 'Sample Text' , element : 'samp' },
+ { name : 'Variable' , element : 'var' },
+
+ { name : 'Deleted Text' , element : 'del' },
+ { name : 'Inserted Text' , element : 'ins' },
+
+ { name : 'Cited Work' , element : 'cite' },
+ { name : 'Inline Quotation' , element : 'q' },
+
+ { name : 'Language: RTL' , element : 'span', attributes : { 'dir' : 'rtl' } },
+ { name : 'Language: LTR' , element : 'span', attributes : { 'dir' : 'ltr' } },
+
+ /* Object Styles */
+
+ {
+ name : 'Image on Left',
+ element : 'img',
+ attributes :
+ {
+ 'style' : 'padding: 5px; margin-right: 5px',
+ 'border' : '2',
+ 'align' : 'left'
+ }
+ },
+
+ {
+ name : 'Image on Right',
+ element : 'img',
+ attributes :
+ {
+ 'style' : 'padding: 5px; margin-left: 5px',
+ 'border' : '2',
+ 'align' : 'right'
+ }
+ },
+
+ { name : 'Borderless Table', element : 'table', styles: { 'border-style': 'hidden', 'background-color' : '#E6E6FA' } },
+ { name : 'Square Bulleted List', element : 'ul', styles : { 'list-style-type' : 'square' } }
+]);
diff --git a/devel/third-party/ckeditor/plugins/stylescombo/plugin.js b/devel/third-party/ckeditor/plugins/stylescombo/plugin.js
new file mode 100644
index 0000000..f3ebfd5
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/stylescombo/plugin.js
@@ -0,0 +1,207 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ CKEDITOR.plugins.add( 'stylescombo',
+ {
+ requires : [ 'richcombo', 'styles' ],
+
+ init : function( editor )
+ {
+ var config = editor.config,
+ lang = editor.lang.stylesCombo,
+ styles = {},
+ stylesList = [];
+
+ function loadStylesSet( callback )
+ {
+ editor.getStylesSet( function( stylesDefinitions )
+ {
+ if ( !stylesList.length )
+ {
+ var style,
+ styleName;
+
+ // Put all styles into an Array.
+ for ( var i = 0 ; i < stylesDefinitions.length ; i++ )
+ {
+ var styleDefinition = stylesDefinitions[ i ];
+
+ styleName = styleDefinition.name;
+
+ style = styles[ styleName ] = new CKEDITOR.style( styleDefinition );
+ style._name = styleName;
+ style._.enterMode = config.enterMode;
+
+ stylesList.push( style );
+ }
+
+ // Sorts the Array, so the styles get grouped by type.
+ stylesList.sort( sortStyles );
+ }
+
+ callback && callback();
+ });
+ }
+
+ editor.ui.addRichCombo( 'Styles',
+ {
+ label : lang.label,
+ title : lang.panelTitle,
+ className : 'cke_styles',
+
+ panel :
+ {
+ css : editor.skin.editor.css.concat( config.contentsCss ),
+ multiSelect : true,
+ attributes : { 'aria-label' : lang.panelTitle }
+ },
+
+ init : function()
+ {
+ var combo = this;
+
+ loadStylesSet( function()
+ {
+ var style, styleName;
+
+ // Loop over the Array, adding all items to the
+ // combo.
+ var lastType;
+ for ( var i = 0 ; i < stylesList.length ; i++ )
+ {
+ style = stylesList[ i ];
+ styleName = style._name;
+
+ var type = style.type;
+
+ if ( type != lastType )
+ {
+ combo.startGroup( lang[ 'panelTitle' + String( type ) ] );
+ lastType = type;
+ }
+
+ combo.add(
+ styleName,
+ style.type == CKEDITOR.STYLE_OBJECT ? styleName : style.buildPreview(),
+ styleName );
+ }
+
+ combo.commit();
+
+ combo.onOpen();
+ });
+ },
+
+ onClick : function( value )
+ {
+ editor.focus();
+ editor.fire( 'saveSnapshot' );
+
+ var style = styles[ value ],
+ selection = editor.getSelection();
+
+ var elementPath = new CKEDITOR.dom.elementPath( selection.getStartElement() );
+
+ if ( style.type == CKEDITOR.STYLE_INLINE && style.checkActive( elementPath ) )
+ style.remove( editor.document );
+ else if ( style.type == CKEDITOR.STYLE_OBJECT && style.checkActive( elementPath ) )
+ style.remove( editor.document );
+ else
+ style.apply( editor.document );
+
+ editor.fire( 'saveSnapshot' );
+ },
+
+ onRender : function()
+ {
+ editor.on( 'selectionChange', function( ev )
+ {
+ var currentValue = this.getValue();
+
+ var elementPath = ev.data.path,
+ elements = elementPath.elements;
+
+ // For each element into the elements path.
+ for ( var i = 0, element ; i < elements.length ; i++ )
+ {
+ element = elements[i];
+
+ // Check if the element is removable by any of
+ // the styles.
+ for ( var value in styles )
+ {
+ if ( styles[ value ].checkElementRemovable( element, true ) )
+ {
+ if ( value != currentValue )
+ this.setValue( value );
+ return;
+ }
+ }
+ }
+
+ // If no styles match, just empty it.
+ this.setValue( '' );
+ },
+ this);
+ },
+
+ onOpen : function()
+ {
+ if ( CKEDITOR.env.ie || CKEDITOR.env.webkit )
+ editor.focus();
+
+ var selection = editor.getSelection();
+
+ var element = selection.getSelectedElement(),
+ elementPath = new CKEDITOR.dom.elementPath( element || selection.getStartElement() );
+
+ var counter = [ 0, 0, 0, 0 ];
+ this.showAll();
+ this.unmarkAll();
+ for ( var name in styles )
+ {
+ var style = styles[ name ],
+ type = style.type;
+
+ if ( style.checkActive( elementPath ) )
+ this.mark( name );
+ else if ( type == CKEDITOR.STYLE_OBJECT && !style.checkApplicable( elementPath ) )
+ {
+ this.hideItem( name );
+ counter[ type ]--;
+ }
+
+ counter[ type ]++;
+ }
+
+ if ( !counter[ CKEDITOR.STYLE_BLOCK ] )
+ this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_BLOCK ) ] );
+
+ if ( !counter[ CKEDITOR.STYLE_INLINE ] )
+ this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_INLINE ) ] );
+
+ if ( !counter[ CKEDITOR.STYLE_OBJECT ] )
+ this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_OBJECT ) ] );
+ }
+ });
+
+ editor.on( 'instanceReady', function() { loadStylesSet(); } );
+ }
+ });
+
+ function sortStyles( styleA, styleB )
+ {
+ var typeA = styleA.type,
+ typeB = styleB.type;
+
+ return typeA == typeB ? 0 :
+ typeA == CKEDITOR.STYLE_OBJECT ? -1 :
+ typeB == CKEDITOR.STYLE_OBJECT ? 1 :
+ typeB == CKEDITOR.STYLE_BLOCK ? 1 :
+ -1;
+ }
+})();
diff --git a/devel/third-party/ckeditor/plugins/tab/plugin.js b/devel/third-party/ckeditor/plugins/tab/plugin.js
new file mode 100644
index 0000000..f63cd5b
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/tab/plugin.js
@@ -0,0 +1,367 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var meta =
+ {
+ editorFocus : false,
+ modes : { wysiwyg:1, source:1 }
+ };
+
+ var blurCommand =
+ {
+ exec : function( editor )
+ {
+ editor.container.focusNext( true, editor.tabIndex );
+ }
+ };
+
+ var blurBackCommand =
+ {
+ exec : function( editor )
+ {
+ editor.container.focusPrevious( true, editor.tabIndex );
+ }
+ };
+
+ function selectNextCellCommand( backward )
+ {
+ return {
+ editorFocus : false,
+ canUndo : false,
+ modes : { wysiwyg : 1 },
+ exec : function( editor )
+ {
+ if ( editor.focusManager.hasFocus )
+ {
+ var sel = editor.getSelection(),
+ ancestor = sel.getCommonAncestor(),
+ cell;
+
+ if ( ( cell = ( ancestor.getAscendant( 'td', true ) || ancestor.getAscendant( 'th', true ) ) ) )
+ {
+ var resultRange = new CKEDITOR.dom.range( editor.document ),
+ next = CKEDITOR.tools.tryThese( function()
+ {
+ var row = cell.getParent(),
+ next = row.$.cells[ cell.$.cellIndex + ( backward ? - 1 : 1 ) ];
+
+ // Invalid any empty value.
+ next.parentNode.parentNode;
+ return next;
+ },
+ function()
+ {
+ var row = cell.getParent(),
+ table = row.getAscendant( 'table' ),
+ nextRow = table.$.rows[ row.$.rowIndex + ( backward ? - 1 : 1 ) ];
+
+ return nextRow.cells[ backward? nextRow.cells.length -1 : 0 ];
+ });
+
+ // Clone one more row at the end of table and select the first newly established cell.
+ if ( ! ( next || backward ) )
+ {
+ var table = cell.getAscendant( 'table' ).$,
+ cells = cell.getParent().$.cells;
+
+ var newRow = new CKEDITOR.dom.element( table.insertRow( -1 ), editor.document );
+
+ for ( var i = 0, count = cells.length ; i < count; i++ )
+ {
+ var newCell = newRow.append( new CKEDITOR.dom.element(
+ cells[ i ], editor.document ).clone( false, false ) );
+ !CKEDITOR.env.ie && newCell.appendBogus();
+ }
+
+ resultRange.moveToElementEditStart( newRow );
+ }
+ else if ( next )
+ {
+ next = new CKEDITOR.dom.element( next );
+ resultRange.moveToElementEditStart( next );
+ // Avoid selecting empty block makes the cursor blind.
+ if ( !( resultRange.checkStartOfBlock() && resultRange.checkEndOfBlock() ) )
+ resultRange.selectNodeContents( next );
+ }
+ else
+ return true;
+
+ resultRange.select( true );
+ return true;
+ }
+ }
+ return false;
+ }
+ };
+ }
+
+ CKEDITOR.plugins.add( 'tab',
+ {
+ requires : [ 'keystrokes' ],
+
+ init : function( editor )
+ {
+ var tabTools = editor.config.enableTabKeyTools !== false,
+ tabSpaces = editor.config.tabSpaces || 0,
+ tabText = '';
+
+ while ( tabSpaces-- )
+ tabText += '\xa0';
+
+ if ( tabText )
+ {
+ editor.on( 'key', function( ev )
+ {
+ if ( ev.data.keyCode == 9 ) // TAB
+ {
+ editor.insertHtml( tabText );
+ ev.cancel();
+ }
+ });
+ }
+
+ if ( tabTools )
+ {
+ editor.on( 'key', function( ev )
+ {
+ if ( ev.data.keyCode == 9 && editor.execCommand( 'selectNextCell' ) || // TAB
+ ev.data.keyCode == ( CKEDITOR.SHIFT + 9 ) && editor.execCommand( 'selectPreviousCell' ) ) // SHIFT+TAB
+ ev.cancel();
+ });
+ }
+
+ if ( CKEDITOR.env.webkit || CKEDITOR.env.gecko )
+ {
+ editor.on( 'key', function( ev )
+ {
+ var keyCode = ev.data.keyCode;
+
+ if ( keyCode == 9 && !tabText ) // TAB
+ {
+ ev.cancel();
+ editor.execCommand( 'blur' );
+ }
+
+ if ( keyCode == ( CKEDITOR.SHIFT + 9 ) ) // SHIFT+TAB
+ {
+ editor.execCommand( 'blurBack' );
+ ev.cancel();
+ }
+ });
+ }
+
+ editor.addCommand( 'blur', CKEDITOR.tools.extend( blurCommand, meta ) );
+ editor.addCommand( 'blurBack', CKEDITOR.tools.extend( blurBackCommand, meta ) );
+ editor.addCommand( 'selectNextCell', selectNextCellCommand() );
+ editor.addCommand( 'selectPreviousCell', selectNextCellCommand( true ) );
+ }
+ });
+})();
+
+/**
+ * Moves the UI focus to the element following this element in the tabindex
+ * order.
+ * @example
+ * var element = CKEDITOR.document.getById( 'example' );
+ * element.focusNext();
+ */
+CKEDITOR.dom.element.prototype.focusNext = function( ignoreChildren, indexToUse )
+{
+ var $ = this.$,
+ curTabIndex = ( indexToUse === undefined ? this.getTabIndex() : indexToUse ),
+ passedCurrent, enteredCurrent,
+ elected, electedTabIndex,
+ element, elementTabIndex;
+
+ if ( curTabIndex <= 0 )
+ {
+ // If this element has tabindex <= 0 then we must simply look for any
+ // element following it containing tabindex=0.
+
+ element = this.getNextSourceNode( ignoreChildren, CKEDITOR.NODE_ELEMENT );
+
+ while ( element )
+ {
+ if ( element.isVisible() && element.getTabIndex() === 0 )
+ {
+ elected = element;
+ break;
+ }
+
+ element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT );
+ }
+ }
+ else
+ {
+ // If this element has tabindex > 0 then we must look for:
+ // 1. An element following this element with the same tabindex.
+ // 2. The first element in source other with the lowest tabindex
+ // that is higher than this element tabindex.
+ // 3. The first element with tabindex=0.
+
+ element = this.getDocument().getBody().getFirst();
+
+ while ( ( element = element.getNextSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
+ {
+ if ( !passedCurrent )
+ {
+ if ( !enteredCurrent && element.equals( this ) )
+ {
+ enteredCurrent = true;
+
+ // Ignore this element, if required.
+ if ( ignoreChildren )
+ {
+ if ( !( element = element.getNextSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) )
+ break;
+ passedCurrent = 1;
+ }
+ }
+ else if ( enteredCurrent && !this.contains( element ) )
+ passedCurrent = 1;
+ }
+
+ if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 )
+ continue;
+
+ if ( passedCurrent && elementTabIndex == curTabIndex )
+ {
+ elected = element;
+ break;
+ }
+
+ if ( elementTabIndex > curTabIndex && ( !elected || !electedTabIndex || elementTabIndex < electedTabIndex ) )
+ {
+ elected = element;
+ electedTabIndex = elementTabIndex;
+ }
+ else if ( !elected && elementTabIndex === 0 )
+ {
+ elected = element;
+ electedTabIndex = elementTabIndex;
+ }
+ }
+ }
+
+ if ( elected )
+ elected.focus();
+};
+
+/**
+ * Moves the UI focus to the element before this element in the tabindex order.
+ * @example
+ * var element = CKEDITOR.document.getById( 'example' );
+ * element.focusPrevious();
+ */
+CKEDITOR.dom.element.prototype.focusPrevious = function( ignoreChildren, indexToUse )
+{
+ var $ = this.$,
+ curTabIndex = ( indexToUse === undefined ? this.getTabIndex() : indexToUse ),
+ passedCurrent, enteredCurrent,
+ elected,
+ electedTabIndex = 0,
+ elementTabIndex;
+
+ var element = this.getDocument().getBody().getLast();
+
+ while ( ( element = element.getPreviousSourceNode( false, CKEDITOR.NODE_ELEMENT ) ) )
+ {
+ if ( !passedCurrent )
+ {
+ if ( !enteredCurrent && element.equals( this ) )
+ {
+ enteredCurrent = true;
+
+ // Ignore this element, if required.
+ if ( ignoreChildren )
+ {
+ if ( !( element = element.getPreviousSourceNode( true, CKEDITOR.NODE_ELEMENT ) ) )
+ break;
+ passedCurrent = 1;
+ }
+ }
+ else if ( enteredCurrent && !this.contains( element ) )
+ passedCurrent = 1;
+ }
+
+ if ( !element.isVisible() || ( elementTabIndex = element.getTabIndex() ) < 0 )
+ continue;
+
+ if ( curTabIndex <= 0 )
+ {
+ // If this element has tabindex <= 0 then we must look for:
+ // 1. An element before this one containing tabindex=0.
+ // 2. The last element with the highest tabindex.
+
+ if ( passedCurrent && elementTabIndex === 0 )
+ {
+ elected = element;
+ break;
+ }
+
+ if ( elementTabIndex > electedTabIndex )
+ {
+ elected = element;
+ electedTabIndex = elementTabIndex;
+ }
+ }
+ else
+ {
+ // If this element has tabindex > 0 we must look for:
+ // 1. An element preceeding this one, with the same tabindex.
+ // 2. The last element in source other with the highest tabindex
+ // that is lower than this element tabindex.
+
+ if ( passedCurrent && elementTabIndex == curTabIndex )
+ {
+ elected = element;
+ break;
+ }
+
+ if ( elementTabIndex < curTabIndex && ( !elected || elementTabIndex > electedTabIndex ) )
+ {
+ elected = element;
+ electedTabIndex = elementTabIndex;
+ }
+ }
+ }
+
+ if ( elected )
+ elected.focus();
+};
+
+/**
+ * Intructs the editor to add a number of spaces (&nbsp;) to the text when
+ * hitting the TAB key. If set to zero, the TAB key will be used to move the
+ * cursor focus to the next element in the page, out of the editor focus.
+ * @name CKEDITOR.config.tabSpaces
+ * @type Number
+ * @default 0
+ * @example
+ * config.tabSpaces = 4;
+ */
+
+/**
+ * Allow context-sensitive tab key behaviors, including the following scenarios:
+ * <h5>When selection is anchored inside <b>table cells</b>:</h5>
+ * <ul>
+ * <li>If TAB is pressed, select the contents of the "next" cell. If in the last cell in the table, add a new row to it and focus its first cell.</li>
+ * <li>If SHIFT+TAB is pressed, select the contents of the "previous" cell. Do nothing when it's in the first cell.</li>
+ * </ul>
+ * @name CKEDITOR.config.enableTabKeyTools
+ * @type Boolean
+ * @default true
+ * @example
+ * config.enableTabKeyTools = false;
+ */
+
+// If the TAB key is not supposed to be enabled for navigation, the following
+// settings could be used alternatively:
+// config.keystrokes.push(
+// [ CKEDITOR.ALT + 38 /*Arrow Up*/, 'selectPreviousCell' ],
+// [ CKEDITOR.ALT + 40 /*Arrow Down*/, 'selectNextCell' ]
+// );
diff --git a/devel/third-party/ckeditor/plugins/table/dialogs/table.js b/devel/third-party/ckeditor/plugins/table/dialogs/table.js
new file mode 100644
index 0000000..c6f8a05
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/table/dialogs/table.js
@@ -0,0 +1,673 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/,
+ heightPattern = /^(\d+(?:\.\d+)?)px$/;
+
+ var commitValue = function( data )
+ {
+ var id = this.id;
+ if ( !data.info )
+ data.info = {};
+ data.info[id] = this.getValue();
+ };
+
+ function tableDialog( editor, command )
+ {
+ var makeElement = function( name )
+ {
+ return new CKEDITOR.dom.element( name, editor.document );
+ };
+
+ var dialogadvtab = editor.plugins.dialogadvtab;
+
+ return {
+ title : editor.lang.table.title,
+ minWidth : 310,
+ minHeight : CKEDITOR.env.ie ? 310 : 280,
+
+ onLoad : function()
+ {
+ var dialog = this;
+
+ var styles = dialog.getContentElement( 'advanced', 'advStyles' );
+
+ if ( styles )
+ {
+ styles.on( 'change', function( evt )
+ {
+ // Synchronize width value.
+ var width = this.getStyle( 'width', '' ),
+ txtWidth = dialog.getContentElement( 'info', 'txtWidth' ),
+ cmbWidthType = dialog.getContentElement( 'info', 'cmbWidthType' ),
+ isPx = 1;
+
+ if ( width )
+ {
+ isPx = ( width.length < 3 || width.substr( width.length - 1 ) != '%' );
+ width = parseInt( width, 10 );
+ }
+
+ txtWidth && txtWidth.setValue( width, true );
+ cmbWidthType && cmbWidthType.setValue( isPx ? 'pixels' : 'percents', true );
+
+ // Synchronize height value.
+ var height = this.getStyle( 'height', '' ),
+ txtHeight = dialog.getContentElement( 'info', 'txtHeight' );
+
+ height && ( height = parseInt( height, 10 ) );
+ txtHeight && txtHeight.setValue( height, true );
+ });
+ }
+ },
+
+ onShow : function()
+ {
+ // Detect if there's a selected table.
+ var selection = editor.getSelection(),
+ ranges = selection.getRanges(),
+ selectedTable = null;
+
+ var rowsInput = this.getContentElement( 'info', 'txtRows' ),
+ colsInput = this.getContentElement( 'info', 'txtCols' ),
+ widthInput = this.getContentElement( 'info', 'txtWidth' ),
+ heightInput = this.getContentElement( 'info', 'txtHeight' );
+
+ if ( command == 'tableProperties' )
+ {
+ if ( ( selectedTable = selection.getSelectedElement() ) )
+ selectedTable = selectedTable.getAscendant( 'table', true );
+ else if ( ranges.length > 0 )
+ {
+ // Webkit could report the following range on cell selection (#4948):
+ // <table><tr><td>[ </td></tr></table>]
+ if ( CKEDITOR.env.webkit )
+ ranges[ 0 ].shrink( CKEDITOR.NODE_ELEMENT );
+
+ var rangeRoot = ranges[0].getCommonAncestor( true );
+ selectedTable = rangeRoot.getAscendant( 'table', true );
+ }
+
+ // Save a reference to the selected table, and push a new set of default values.
+ this._.selectedElement = selectedTable;
+ }
+
+ // Enable or disable the row, cols, width fields.
+ if ( selectedTable )
+ {
+ this.setupContent( selectedTable );
+ rowsInput && rowsInput.disable();
+ colsInput && colsInput.disable();
+ }
+ else
+ {
+ rowsInput && rowsInput.enable();
+ colsInput && colsInput.enable();
+ }
+
+ // Call the onChange method for the widht and height fields so
+ // they get reflected into the Advanced tab.
+ widthInput && widthInput.onChange();
+ heightInput && heightInput.onChange();
+ },
+ onOk : function()
+ {
+ if ( this._.selectedElement )
+ {
+ var selection = editor.getSelection(),
+ bms = selection.createBookmarks();
+ }
+
+ var table = this._.selectedElement || makeElement( 'table' ),
+ me = this,
+ data = {};
+
+ this.commitContent( data, table );
+
+ if ( data.info )
+ {
+ var info = data.info;
+
+ // Generate the rows and cols.
+ if ( !this._.selectedElement )
+ {
+ var tbody = table.append( makeElement( 'tbody' ) ),
+ rows = parseInt( info.txtRows, 10 ) || 0,
+ cols = parseInt( info.txtCols, 10 ) || 0;
+
+ for ( var i = 0 ; i < rows ; i++ )
+ {
+ var row = tbody.append( makeElement( 'tr' ) );
+ for ( var j = 0 ; j < cols ; j++ )
+ {
+ var cell = row.append( makeElement( 'td' ) );
+ if ( !CKEDITOR.env.ie )
+ cell.append( makeElement( 'br' ) );
+ }
+ }
+ }
+
+ // Modify the table headers. Depends on having rows and cols generated
+ // correctly so it can't be done in commit functions.
+
+ // Should we make a <thead>?
+ var headers = info.selHeaders;
+ if ( !table.$.tHead && ( headers == 'row' || headers == 'both' ) )
+ {
+ var thead = new CKEDITOR.dom.element( table.$.createTHead() );
+ tbody = table.getElementsByTag( 'tbody' ).getItem( 0 );
+ var theRow = tbody.getElementsByTag( 'tr' ).getItem( 0 );
+
+ // Change TD to TH:
+ for ( i = 0 ; i < theRow.getChildCount() ; i++ )
+ {
+ var th = theRow.getChild( i );
+ // Skip bookmark nodes. (#6155)
+ if ( th.type == CKEDITOR.NODE_ELEMENT && !th.hasAttribute( '_cke_bookmark' ) )
+ {
+ th.renameNode( 'th' );
+ th.setAttribute( 'scope', 'col' );
+ }
+ }
+ thead.append( theRow.remove() );
+ }
+
+ if ( table.$.tHead !== null && !( headers == 'row' || headers == 'both' ) )
+ {
+ // Move the row out of the THead and put it in the TBody:
+ thead = new CKEDITOR.dom.element( table.$.tHead );
+ tbody = table.getElementsByTag( 'tbody' ).getItem( 0 );
+
+ var previousFirstRow = tbody.getFirst();
+ while ( thead.getChildCount() > 0 )
+ {
+ theRow = thead.getFirst();
+ for ( i = 0; i < theRow.getChildCount() ; i++ )
+ {
+ var newCell = theRow.getChild( i );
+ if ( newCell.type == CKEDITOR.NODE_ELEMENT )
+ {
+ newCell.renameNode( 'td' );
+ newCell.removeAttribute( 'scope' );
+ }
+ }
+ theRow.insertBefore( previousFirstRow );
+ }
+ thead.remove();
+ }
+
+ // Should we make all first cells in a row TH?
+ if ( !this.hasColumnHeaders && ( headers == 'col' || headers == 'both' ) )
+ {
+ for ( row = 0 ; row < table.$.rows.length ; row++ )
+ {
+ newCell = new CKEDITOR.dom.element( table.$.rows[ row ].cells[ 0 ] );
+ newCell.renameNode( 'th' );
+ newCell.setAttribute( 'scope', 'row' );
+ }
+ }
+
+ // Should we make all first TH-cells in a row make TD? If 'yes' we do it the other way round :-)
+ if ( ( this.hasColumnHeaders ) && !( headers == 'col' || headers == 'both' ) )
+ {
+ for ( i = 0 ; i < table.$.rows.length ; i++ )
+ {
+ row = new CKEDITOR.dom.element( table.$.rows[i] );
+ if ( row.getParent().getName() == 'tbody' )
+ {
+ newCell = new CKEDITOR.dom.element( row.$.cells[0] );
+ newCell.renameNode( 'td' );
+ newCell.removeAttribute( 'scope' );
+ }
+ }
+ }
+
+ // Set the width and height.
+ var styles = [];
+ if ( info.txtHeight )
+ table.setStyle( 'height', CKEDITOR.tools.cssLength( info.txtHeight ) );
+ else
+ table.removeStyle( 'height' );
+
+ if ( info.txtWidth )
+ {
+ var type = info.cmbWidthType || 'pixels';
+ table.setStyle( 'width', info.txtWidth + ( type == 'pixels' ? 'px' : '%' ) );
+ }
+ else
+ table.removeStyle( 'width' );
+
+ if ( !table.getAttribute( 'style' ) )
+ table.removeAttribute( 'style' );
+ }
+
+ // Insert the table element if we're creating one.
+ if ( !this._.selectedElement )
+ editor.insertElement( table );
+ // Properly restore the selection inside table. (#4822)
+ else
+ selection.selectBookmarks( bms );
+
+ return true;
+ },
+ contents : [
+ {
+ id : 'info',
+ label : editor.lang.table.title,
+ elements :
+ [
+ {
+ type : 'hbox',
+ widths : [ null, null ],
+ styles : [ 'vertical-align:top' ],
+ children :
+ [
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtRows',
+ 'default' : 3,
+ label : editor.lang.table.rows,
+ required : true,
+ style : 'width:5em',
+ validate : function()
+ {
+ var pass = true,
+ value = this.getValue();
+ pass = pass && CKEDITOR.dialog.validate.integer()( value )
+ && value > 0;
+ if ( !pass )
+ {
+ alert( editor.lang.table.invalidRows );
+ this.select();
+ }
+ return pass;
+ },
+ setup : function( selectedElement )
+ {
+ this.setValue( selectedElement.$.rows.length );
+ },
+ commit : commitValue
+ },
+ {
+ type : 'text',
+ id : 'txtCols',
+ 'default' : 2,
+ label : editor.lang.table.columns,
+ required : true,
+ style : 'width:5em',
+ validate : function()
+ {
+ var pass = true,
+ value = this.getValue();
+ pass = pass && CKEDITOR.dialog.validate.integer()( value )
+ && value > 0;
+ if ( !pass )
+ {
+ alert( editor.lang.table.invalidCols );
+ this.select();
+ }
+ return pass;
+ },
+ setup : function( selectedTable )
+ {
+ this.setValue( selectedTable.$.rows[0].cells.length);
+ },
+ commit : commitValue
+ },
+ {
+ type : 'html',
+ html : ' '
+ },
+ {
+ type : 'select',
+ id : 'selHeaders',
+ 'default' : '',
+ label : editor.lang.table.headers,
+ items :
+ [
+ [ editor.lang.table.headersNone, '' ],
+ [ editor.lang.table.headersRow, 'row' ],
+ [ editor.lang.table.headersColumn, 'col' ],
+ [ editor.lang.table.headersBoth, 'both' ]
+ ],
+ setup : function( selectedTable )
+ {
+ // Fill in the headers field.
+ var dialog = this.getDialog();
+ dialog.hasColumnHeaders = true;
+
+ // Check if all the first cells in every row are TH
+ for ( var row = 0 ; row < selectedTable.$.rows.length ; row++ )
+ {
+ // If just one cell isn't a TH then it isn't a header column
+ if ( selectedTable.$.rows[row].cells[0].nodeName.toLowerCase() != 'th' )
+ {
+ dialog.hasColumnHeaders = false;
+ break;
+ }
+ }
+
+ // Check if the table contains <thead>.
+ if ( ( selectedTable.$.tHead !== null) )
+ this.setValue( dialog.hasColumnHeaders ? 'both' : 'row' );
+ else
+ this.setValue( dialog.hasColumnHeaders ? 'col' : '' );
+ },
+ commit : commitValue
+ },
+ {
+ type : 'text',
+ id : 'txtBorder',
+ 'default' : 1,
+ label : editor.lang.table.border,
+ style : 'width:3em',
+ validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidBorder ),
+ setup : function( selectedTable )
+ {
+ this.setValue( selectedTable.getAttribute( 'border' ) || '' );
+ },
+ commit : function( data, selectedTable )
+ {
+ if ( this.getValue() )
+ selectedTable.setAttribute( 'border', this.getValue() );
+ else
+ selectedTable.removeAttribute( 'border' );
+ }
+ },
+ {
+ id : 'cmbAlign',
+ type : 'select',
+ 'default' : '',
+ label : editor.lang.table.align,
+ items :
+ [
+ [ editor.lang.common.notSet , ''],
+ [ editor.lang.table.alignLeft , 'left'],
+ [ editor.lang.table.alignCenter , 'center'],
+ [ editor.lang.table.alignRight , 'right']
+ ],
+ setup : function( selectedTable )
+ {
+ this.setValue( selectedTable.getAttribute( 'align' ) || '' );
+ },
+ commit : function( data, selectedTable )
+ {
+ if ( this.getValue() )
+ selectedTable.setAttribute( 'align', this.getValue() );
+ else
+ selectedTable.removeAttribute( 'align' );
+ }
+ }
+ ]
+ },
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '5em' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtWidth',
+ style : 'width:5em',
+ label : editor.lang.table.width,
+ 'default' : 500,
+ validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidWidth ),
+
+ // Extra labelling of width unit type.
+ onLoad : function()
+ {
+ var widthType = this.getDialog().getContentElement( 'info', 'cmbWidthType' ),
+ labelElement = widthType.getElement(),
+ inputElement = this.getInputElement(),
+ ariaLabelledByAttr = inputElement.getAttribute( 'aria-labelledby' );
+
+ inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) );
+ },
+
+ onChange : function()
+ {
+ var styles = this.getDialog().getContentElement( 'advanced', 'advStyles' );
+
+ if ( styles )
+ {
+ var value = this.getValue();
+
+ if ( value )
+ value += this.getDialog().getContentElement( 'info', 'cmbWidthType' ).getValue() == 'percents' ? '%' : 'px';
+
+ styles.updateStyle( 'width', value );
+ }
+ },
+
+ setup : function( selectedTable )
+ {
+ var widthMatch = widthPattern.exec( selectedTable.$.style.width );
+ if ( widthMatch )
+ this.setValue( widthMatch[1] );
+ else
+ this.setValue( '' );
+ },
+ commit : commitValue
+ },
+ {
+ id : 'cmbWidthType',
+ type : 'select',
+ label : editor.lang.table.widthUnit,
+ labelStyle: 'visibility:hidden',
+ 'default' : 'pixels',
+ items :
+ [
+ [ editor.lang.table.widthPx , 'pixels'],
+ [ editor.lang.table.widthPc , 'percents']
+ ],
+ setup : function( selectedTable )
+ {
+ var widthMatch = widthPattern.exec( selectedTable.$.style.width );
+ if ( widthMatch )
+ this.setValue( widthMatch[2] == 'px' ? 'pixels' : 'percents' );
+ },
+ onChange : function()
+ {
+ this.getDialog().getContentElement( 'info', 'txtWidth' ).onChange();
+ },
+ commit : commitValue
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '5em' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtHeight',
+ style : 'width:5em',
+ label : editor.lang.table.height,
+ 'default' : '',
+ validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidHeight ),
+
+ // Extra labelling of height unit type.
+ onLoad : function()
+ {
+ var heightType = this.getDialog().getContentElement( 'info', 'htmlHeightType' ),
+ labelElement = heightType.getElement(),
+ inputElement = this.getInputElement(),
+ ariaLabelledByAttr = inputElement.getAttribute( 'aria-labelledby' );
+
+ inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) );
+ },
+
+ onChange : function()
+ {
+ var styles = this.getDialog().getContentElement( 'advanced', 'advStyles' );
+
+ if ( styles )
+ {
+ var value = this.getValue();
+ styles.updateStyle( 'height', value && ( value + 'px' ) );
+ }
+ },
+
+ setup : function( selectedTable )
+ {
+ var heightMatch = heightPattern.exec( selectedTable.$.style.height );
+ if ( heightMatch )
+ this.setValue( heightMatch[1] );
+ },
+ commit : commitValue
+ },
+ {
+ id : 'htmlHeightType',
+ type : 'html',
+ html : '<div><br />' + editor.lang.table.widthPx + '</div>'
+ }
+ ]
+ },
+ {
+ type : 'html',
+ html : ' '
+ },
+ {
+ type : 'text',
+ id : 'txtCellSpace',
+ style : 'width:3em',
+ label : editor.lang.table.cellSpace,
+ 'default' : 1,
+ validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidCellSpacing ),
+ setup : function( selectedTable )
+ {
+ this.setValue( selectedTable.getAttribute( 'cellSpacing' ) || '' );
+ },
+ commit : function( data, selectedTable )
+ {
+ if ( this.getValue() )
+ selectedTable.setAttribute( 'cellSpacing', this.getValue() );
+ else
+ selectedTable.removeAttribute( 'cellSpacing' );
+ }
+ },
+ {
+ type : 'text',
+ id : 'txtCellPad',
+ style : 'width:3em',
+ label : editor.lang.table.cellPad,
+ 'default' : 1,
+ validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidCellPadding ),
+ setup : function( selectedTable )
+ {
+ this.setValue( selectedTable.getAttribute( 'cellPadding' ) || '' );
+ },
+ commit : function( data, selectedTable )
+ {
+ if ( this.getValue() )
+ selectedTable.setAttribute( 'cellPadding', this.getValue() );
+ else
+ selectedTable.removeAttribute( 'cellPadding' );
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ type : 'html',
+ align : 'right',
+ html : ''
+ },
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'text',
+ id : 'txtCaption',
+ label : editor.lang.table.caption,
+ setup : function( selectedTable )
+ {
+ var nodeList = selectedTable.getElementsByTag( 'caption' );
+ if ( nodeList.count() > 0 )
+ {
+ var caption = nodeList.getItem( 0 );
+ caption = ( caption.getChild( 0 ) && caption.getChild( 0 ).getText() ) || '';
+ caption = CKEDITOR.tools.trim( caption );
+ this.setValue( caption );
+ }
+ },
+ commit : function( data, table )
+ {
+ var caption = this.getValue(),
+ captionElement = table.getElementsByTag( 'caption' );
+ if ( caption )
+ {
+ if ( captionElement.count() > 0 )
+ {
+ captionElement = captionElement.getItem( 0 );
+ captionElement.setHtml( '' );
+ }
+ else
+ {
+ captionElement = new CKEDITOR.dom.element( 'caption', editor.document );
+ if ( table.getChildCount() )
+ captionElement.insertBefore( table.getFirst() );
+ else
+ captionElement.appendTo( table );
+ }
+ captionElement.append( new CKEDITOR.dom.text( caption, editor.document ) );
+ }
+ else if ( captionElement.count() > 0 )
+ {
+ for ( var i = captionElement.count() - 1 ; i >= 0 ; i-- )
+ captionElement.getItem( i ).remove();
+ }
+ }
+ },
+ {
+ type : 'text',
+ id : 'txtSummary',
+ label : editor.lang.table.summary,
+ setup : function( selectedTable )
+ {
+ this.setValue( selectedTable.getAttribute( 'summary' ) || '' );
+ },
+ commit : function( data, selectedTable )
+ {
+ if ( this.getValue() )
+ selectedTable.setAttribute( 'summary', this.getValue() );
+ else
+ selectedTable.removeAttribute( 'summary' );
+ }
+ }
+ ]
+ }
+ ]
+ },
+ dialogadvtab && dialogadvtab.createAdvancedTab( editor )
+ ]
+ };
+ }
+
+ CKEDITOR.dialog.add( 'table', function( editor )
+ {
+ return tableDialog( editor, 'table' );
+ } );
+ CKEDITOR.dialog.add( 'tableProperties', function( editor )
+ {
+ return tableDialog( editor, 'tableProperties' );
+ } );
+})();
diff --git a/devel/third-party/ckeditor/plugins/table/plugin.js b/devel/third-party/ckeditor/plugins/table/plugin.js
new file mode 100644
index 0000000..9f5ca9d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/table/plugin.js
@@ -0,0 +1,78 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'table',
+{
+ init : function( editor )
+ {
+ var table = CKEDITOR.plugins.table,
+ lang = editor.lang.table;
+
+ editor.addCommand( 'table', new CKEDITOR.dialogCommand( 'table' ) );
+ editor.addCommand( 'tableProperties', new CKEDITOR.dialogCommand( 'tableProperties' ) );
+
+ editor.ui.addButton( 'Table',
+ {
+ label : lang.toolbar,
+ command : 'table'
+ });
+
+ CKEDITOR.dialog.add( 'table', this.path + 'dialogs/table.js' );
+ CKEDITOR.dialog.add( 'tableProperties', this.path + 'dialogs/table.js' );
+
+ // If the "menu" plugin is loaded, register the menu items.
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItems(
+ {
+ table :
+ {
+ label : lang.menu,
+ command : 'tableProperties',
+ group : 'table',
+ order : 5
+ },
+
+ tabledelete :
+ {
+ label : lang.deleteTable,
+ command : 'tableDelete',
+ group : 'table',
+ order : 1
+ }
+ } );
+ }
+
+ editor.on( 'doubleclick', function( evt )
+ {
+ var element = evt.data.element;
+
+ if ( element.is( 'table' ) )
+ evt.data.dialog = 'tableProperties';
+ });
+
+ // If the "contextmenu" plugin is loaded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( !element || element.isReadOnly())
+ return null;
+
+ var isTable = element.is( 'table' ) || element.hasAscendant( 'table' );
+
+ if ( isTable )
+ {
+ return {
+ tabledelete : CKEDITOR.TRISTATE_OFF,
+ table : CKEDITOR.TRISTATE_OFF
+ };
+ }
+
+ return null;
+ } );
+ }
+ }
+} );
diff --git a/devel/third-party/ckeditor/plugins/tableresize/plugin.js b/devel/third-party/ckeditor/plugins/tableresize/plugin.js
new file mode 100644
index 0000000..f16978a
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/tableresize/plugin.js
@@ -0,0 +1,450 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var pxUnit = CKEDITOR.tools.cssLength,
+ needsIEHacks = CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.quirks || CKEDITOR.env.version < 7 );
+
+ function getWidth( el )
+ {
+ return CKEDITOR.env.ie ? el.$.clientWidth : parseInt( el.getComputedStyle( 'width' ), 10 );
+ }
+
+ function getBorderWidth( element, side )
+ {
+ var computed = element.getComputedStyle( 'border-' + side + '-width' ),
+ borderMap =
+ {
+ thin: '0px',
+ medium: '1px',
+ thick: '2px'
+ };
+
+ if ( computed.indexOf( 'px' ) < 0 )
+ {
+ // look up keywords
+ if ( computed in borderMap && element.getComputedStyle( 'border-style' ) != 'none' )
+ computed = borderMap[ computed ];
+ else
+ computed = 0;
+ }
+
+ return parseInt( computed, 10 );
+ }
+
+ // Gets the table row that contains the most columns.
+ function getMasterPillarRow( table )
+ {
+ var $rows = table.$.rows,
+ maxCells = 0, cellsCount,
+ $elected, $tr;
+
+ for ( var i = 0, len = $rows.length ; i < len; i++ )
+ {
+ $tr = $rows[ i ];
+ cellsCount = $tr.cells.length;
+
+ if ( cellsCount > maxCells )
+ {
+ maxCells = cellsCount;
+ $elected = $tr;
+ }
+ }
+
+ return $elected;
+ }
+
+ function buildTableColumnPillars( table )
+ {
+ var pillars = [],
+ pillarIndex = -1,
+ rtl = ( table.getComputedStyle( 'direction' ) == 'rtl' );
+
+ // Get the raw row element that cointains the most columns.
+ var $tr = getMasterPillarRow( table );
+
+ // Get the tbody element and position, which will be used to set the
+ // top and bottom boundaries.
+ var tbody = new CKEDITOR.dom.element( table.$.tBodies[ 0 ] ),
+ tbodyPosition = tbody.getDocumentPosition();
+
+ // Loop thorugh all cells, building pillars after each one of them.
+ for ( var i = 0, len = $tr.cells.length ; i < len ; i++ )
+ {
+ // Both the current cell and the successive one will be used in the
+ // pillar size calculation.
+ var td = new CKEDITOR.dom.element( $tr.cells[ i ] ),
+ nextTd = $tr.cells[ i + 1 ] && new CKEDITOR.dom.element( $tr.cells[ i + 1 ] );
+
+ pillarIndex += td.$.colSpan || 1;
+
+ // Calculate the pillar boundary positions.
+ var pillarLeft, pillarRight, pillarWidth, pillarPadding;
+
+ var x = td.getDocumentPosition().x;
+
+ // Calculate positions based on the current cell.
+ rtl ?
+ pillarRight = x + getBorderWidth( td, 'left' ) :
+ pillarLeft = x + td.$.offsetWidth - getBorderWidth( td, 'right' );
+
+ // Calculate positions based on the next cell, if available.
+ if ( nextTd )
+ {
+ x = nextTd.getDocumentPosition().x;
+
+ rtl ?
+ pillarLeft = x + nextTd.$.offsetWidth - getBorderWidth( nextTd, 'right' ) :
+ pillarRight = x + getBorderWidth( nextTd, 'left' );
+ }
+ // Otherwise calculate positions based on the table (for last cell).
+ else
+ {
+ x = table.getDocumentPosition().x;
+
+ rtl ?
+ pillarLeft = x :
+ pillarRight = x + table.$.offsetWidth;
+ }
+
+ pillarWidth = Math.max( pillarRight - pillarLeft, 3 );
+
+ // Make the pillar touch area at least 14 pixels wide, for easy to use.
+ pillarPadding = Math.max( Math.round( 7 - ( pillarWidth / 2 ) ), 0 );
+
+ // The pillar should reflects exactly the shape of the hovered
+ // column border line.
+ pillars.push( {
+ table : table,
+ index : pillarIndex,
+ x : pillarLeft,
+ y : tbodyPosition.y,
+ width : pillarWidth,
+ height: tbody.$.offsetHeight,
+ padding : pillarPadding,
+ rtl : rtl } );
+ }
+
+ return pillars;
+ }
+
+ function getPillarAtPosition( pillars, positionX )
+ {
+ for ( var i = 0, len = pillars.length ; i < len ; i++ )
+ {
+ var pillar = pillars[ i ],
+ pad = pillar.padding;
+
+ if ( positionX >= pillar.x - pad && positionX <= ( pillar.x + pillar.width + pad ) )
+ return pillar;
+ }
+
+ return null;
+ }
+
+ function cancel( evt )
+ {
+ ( evt.data || evt ).preventDefault();
+ }
+
+ function columnResizer( editor )
+ {
+ var pillar,
+ document,
+ resizer,
+ isResizing,
+ startOffset,
+ currentShift;
+
+ var leftSideCells, rightSideCells, leftShiftBoundary, rightShiftBoundary;
+
+ function detach()
+ {
+ pillar = null;
+ currentShift = 0;
+ isResizing = 0;
+
+ document.removeListener( 'mouseup', onMouseUp );
+ resizer.removeListener( 'mousedown', onMouseDown );
+ resizer.removeListener( 'mousemove', onMouseMove );
+
+ document.getBody().setStyle( 'cursor', 'auto' );
+
+ // Hide the resizer (remove it on IE7 - #5890).
+ needsIEHacks ? resizer.remove() : resizer.hide();
+ }
+
+ function resizeStart()
+ {
+ // Before starting to resize, figure out which cells to change
+ // and the boundaries of this resizing shift.
+
+ var columnIndex = pillar.index,
+ map = CKEDITOR.tools.buildTableMap( pillar.table ),
+ leftColumnCells = [],
+ rightColumnCells = [],
+ leftMinSize = Number.MAX_VALUE,
+ rightMinSize = leftMinSize,
+ rtl = pillar.rtl;
+
+ for ( var i = 0, len = map.length ; i < len ; i++ )
+ {
+ var row = map[ i ],
+ leftCell = row[ columnIndex + ( rtl ? 1 : 0 ) ],
+ rightCell = row[ columnIndex + ( rtl ? 0 : 1 ) ];
+
+ leftCell = leftCell && new CKEDITOR.dom.element( leftCell );
+ rightCell = rightCell && new CKEDITOR.dom.element( rightCell );
+
+ if ( !leftCell || !rightCell || !leftCell.equals( rightCell ) )
+ {
+ leftCell && ( leftMinSize = Math.min( leftMinSize, getWidth( leftCell ) ) );
+ rightCell && ( rightMinSize = Math.min( rightMinSize, getWidth( rightCell ) ) );
+
+ leftColumnCells.push( leftCell );
+ rightColumnCells.push( rightCell );
+ }
+ }
+
+ // Cache the list of cells to be resized.
+ leftSideCells = leftColumnCells;
+ rightSideCells = rightColumnCells;
+
+ // Cache the resize limit boundaries.
+ leftShiftBoundary = pillar.x - leftMinSize;
+ rightShiftBoundary = pillar.x + rightMinSize;
+
+ resizer.setOpacity( 0.5 );
+ startOffset = parseInt( resizer.getStyle( 'left' ), 10 );
+ currentShift = 0;
+ isResizing = 1;
+
+ resizer.on( 'mousemove', onMouseMove );
+
+ // Prevent the native drag behavior otherwise 'mousemove' won't fire.
+ document.on( 'dragstart', cancel );
+ }
+
+ function resizeEnd()
+ {
+ isResizing = 0;
+
+ resizer.setOpacity( 0 );
+
+ currentShift && resizeColumn();
+
+ var table = pillar.table;
+ setTimeout( function () { table.removeCustomData( '_cke_table_pillars' ); }, 0 );
+
+ document.removeListener( 'dragstart', cancel );
+ }
+
+ function resizeColumn()
+ {
+ var rtl = pillar.rtl,
+ cellsCount = rtl ? rightSideCells.length : leftSideCells.length;
+
+ // Perform the actual resize to table cells, only for those by side of the pillar.
+ for ( var i = 0 ; i < cellsCount ; i++ )
+ {
+ var leftCell = leftSideCells[ i ],
+ rightCell = rightSideCells[ i ],
+ table = pillar.table;
+
+ // Defer the resizing to avoid any interference among cells.
+ CKEDITOR.tools.setTimeout(
+ function( leftCell, leftOldWidth, rightCell, rightOldWidth, tableWidth, sizeShift )
+ {
+ leftCell && leftCell.setStyle( 'width', pxUnit( Math.max( leftOldWidth + sizeShift, 0 ) ) );
+ rightCell && rightCell.setStyle( 'width', pxUnit( Math.max( rightOldWidth - sizeShift, 0 ) ) );
+
+ // If we're in the last cell, we need to resize the table as well
+ if ( tableWidth )
+ table.setStyle( 'width', pxUnit( tableWidth + sizeShift * ( rtl ? -1 : 1 ) ) );
+ }
+ , 0,
+ this, [
+ leftCell, leftCell && getWidth( leftCell ),
+ rightCell, rightCell && getWidth( rightCell ),
+ ( !leftCell || !rightCell ) && ( getWidth( table ) + getBorderWidth( table, 'left' ) + getBorderWidth( table, 'right' ) ),
+ currentShift ] );
+ }
+ }
+
+ function onMouseDown( evt )
+ {
+ cancel( evt );
+
+ resizeStart();
+
+ document.on( 'mouseup', onMouseUp, this );
+ }
+
+ function onMouseUp( evt )
+ {
+ evt.removeListener();
+
+ resizeEnd();
+ }
+
+ function onMouseMove( evt )
+ {
+ move( evt.data.$.clientX );
+ }
+
+ document = editor.document;
+
+ resizer = CKEDITOR.dom.element.createFromHtml(
+ '<div cke_temp=1 contenteditable=false unselectable=on '+
+ 'style="position:absolute;cursor:col-resize;filter:alpha(opacity=0);opacity:0;' +
+ 'padding:0;background-color:#004;background-image:none;border:0px none;z-index:10"></div>', document );
+
+ // Except on IE6/7 (#5890), place the resizer after body to prevent it
+ // from being editable.
+ if ( !needsIEHacks )
+ document.getDocumentElement().append( resizer );
+
+ this.attachTo = function( targetPillar )
+ {
+ // Accept only one pillar at a time.
+ if ( isResizing )
+ return;
+
+ // On IE6/7, we append the resizer everytime we need it. (#5890)
+ if ( needsIEHacks )
+ {
+ document.getBody().append( resizer );
+ currentShift = 0;
+ }
+
+ pillar = targetPillar;
+
+ resizer.setStyles(
+ {
+ width: pxUnit( targetPillar.width ),
+ height : pxUnit( targetPillar.height ),
+ left : pxUnit( targetPillar.x ),
+ top : pxUnit( targetPillar.y )
+ });
+
+ // In IE6/7, it's not possible to have custom cursors for floating
+ // elements in an editable document. Show the resizer in that case,
+ // to give the user a visual clue.
+ needsIEHacks && resizer.setOpacity( 0.25 );
+
+ resizer.on( 'mousedown', onMouseDown, this );
+
+ document.getBody().setStyle( 'cursor', 'col-resize' );
+
+ // Display the resizer to receive events but don't show it,
+ // only change the cursor to resizable shape.
+ resizer.show();
+ };
+
+ var move = this.move = function( posX )
+ {
+ if ( !pillar )
+ return 0;
+
+ var pad = pillar.padding;
+
+ if ( !isResizing && ( posX < pillar.x - pad || posX > ( pillar.x + pillar.width + pad ) ) )
+ {
+ detach();
+ return 0;
+ }
+
+ var resizerNewPosition = posX - Math.round( resizer.$.offsetWidth / 2 );
+
+ if ( isResizing )
+ {
+ if ( resizerNewPosition == leftShiftBoundary || resizerNewPosition == rightShiftBoundary )
+ return 1;
+
+ resizerNewPosition = Math.max( resizerNewPosition, leftShiftBoundary );
+ resizerNewPosition = Math.min( resizerNewPosition, rightShiftBoundary );
+
+ currentShift = resizerNewPosition - startOffset;
+ }
+
+ resizer.setStyle( 'left', pxUnit( resizerNewPosition ) );
+
+ return 1;
+ };
+ }
+
+ function clearPillarsCache( evt )
+ {
+ var target = evt.data.getTarget();
+
+ if ( evt.name == 'mouseout' )
+ {
+ // Bypass interal mouse move.
+ if ( !target.is ( 'table' ) )
+ return;
+
+ var dest = new CKEDITOR.dom.element( evt.data.$.relatedTarget || evt.data.$.toElement );
+ while( dest && dest.$ && !dest.equals( target ) && !dest.is( 'body' ) )
+ dest = dest.getParent();
+ if ( !dest || dest.equals( target ) )
+ return;
+ }
+
+ target.getAscendant( 'table', true ).removeCustomData( '_cke_table_pillars' );
+ evt.removeListener();
+ }
+
+ CKEDITOR.plugins.add( 'tableresize',
+ {
+ requires : [ 'tabletools' ],
+ init : function( editor )
+ {
+ editor.on( 'contentDom', function()
+ {
+ var resizer;
+
+ editor.document.getBody().on( 'mousemove', function( evt )
+ {
+ evt = evt.data;
+
+ // If we're already attached to a pillar, simply move the
+ // resizer.
+ if ( resizer && resizer.move( evt.$.clientX ) )
+ {
+ cancel( evt );
+ return;
+ }
+
+ // Considering table, tr, td, tbody but nothing else.
+ var target = evt.getTarget(),
+ table,
+ pillars;
+
+ if ( !target.is( 'table' ) && !target.getAscendant( 'tbody', true ) )
+ return;
+
+ table = target.getAscendant( 'table', true );
+
+ if ( !( pillars = table.getCustomData( '_cke_table_pillars' ) ) )
+ {
+ // Cache table pillars calculation result.
+ table.setCustomData( '_cke_table_pillars', ( pillars = buildTableColumnPillars( table ) ) );
+ table.on( 'mouseout', clearPillarsCache );
+ table.on( 'mousedown', clearPillarsCache );
+ }
+
+ var pillar = getPillarAtPosition( pillars, evt.$.clientX );
+ if ( pillar )
+ {
+ !resizer && ( resizer = new columnResizer( editor ) );
+ resizer.attachTo( pillar );
+ }
+ });
+ });
+ }
+ });
+
+})();
diff --git a/devel/third-party/ckeditor/plugins/tabletools/dialogs/tableCell.js b/devel/third-party/ckeditor/plugins/tabletools/dialogs/tableCell.js
new file mode 100644
index 0000000..1393e24
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/tabletools/dialogs/tableCell.js
@@ -0,0 +1,533 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'cellProperties', function( editor )
+ {
+ var langTable = editor.lang.table,
+ langCell = langTable.cell,
+ langCommon = editor.lang.common,
+ validate = CKEDITOR.dialog.validate,
+ widthPattern = /^(\d+(?:\.\d+)?)(px|%)$/,
+ heightPattern = /^(\d+(?:\.\d+)?)px$/,
+ bind = CKEDITOR.tools.bind,
+ spacer = { type : 'html', html : ' ' };
+
+ /**
+ *
+ * @param dialogName
+ * @param callback [ childDialog ]
+ */
+ function getDialogValue( dialogName, callback )
+ {
+ var onOk = function()
+ {
+ releaseHandlers( this );
+ callback( this, this._.parentDialog );
+ this._.parentDialog.changeFocus( true );
+ };
+ var onCancel = function()
+ {
+ releaseHandlers( this );
+ this._.parentDialog.changeFocus();
+ };
+ var releaseHandlers = function( dialog )
+ {
+ dialog.removeListener( 'ok', onOk );
+ dialog.removeListener( 'cancel', onCancel );
+ };
+ var bindToDialog = function( dialog )
+ {
+ dialog.on( 'ok', onOk );
+ dialog.on( 'cancel', onCancel );
+ };
+ editor.execCommand( dialogName );
+ if ( editor._.storedDialogs.colordialog )
+ bindToDialog( editor._.storedDialogs.colordialog );
+ else
+ {
+ CKEDITOR.on( 'dialogDefinition', function( e )
+ {
+ if ( e.data.name != dialogName )
+ return;
+
+ var definition = e.data.definition;
+
+ e.removeListener();
+ definition.onLoad = CKEDITOR.tools.override( definition.onLoad, function( orginal )
+ {
+ return function()
+ {
+ bindToDialog( this );
+ definition.onLoad = orginal;
+ if ( typeof orginal == 'function' )
+ orginal.call( this );
+ };
+ } );
+ });
+ }
+ }
+
+ return {
+ title : langCell.title,
+ minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 550 : 480,
+ minHeight : CKEDITOR.env.ie ? ( CKEDITOR.env.quirks ? 180 : 150 ) : 140,
+ contents : [
+ {
+ id : 'info',
+ label : langCell.title,
+ accessKey : 'I',
+ elements :
+ [
+ {
+ type : 'hbox',
+ widths : [ '40%', '5%', '40%' ],
+ children :
+ [
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'hbox',
+ widths : [ '70%', '30%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'width',
+ label : langTable.width,
+ widths : [ '71%', '29%' ],
+ labelLayout : 'horizontal',
+ validate : validate[ 'number' ]( langCell.invalidWidth ),
+
+ // Extra labelling of width unit type.
+ onLoad : function()
+ {
+ var widthType = this.getDialog().getContentElement( 'info', 'widthType' ),
+ labelElement = widthType.getElement(),
+ inputElement = this.getInputElement(),
+ ariaLabelledByAttr = inputElement.getAttribute( 'aria-labelledby' );
+
+ inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) );
+ },
+
+ setup : function( element )
+ {
+ var widthAttr = parseInt( element.getAttribute( 'width' ), 10 ),
+ widthStyle = parseInt( element.getStyle( 'width' ), 10 );
+
+ !isNaN( widthAttr ) && this.setValue( widthAttr );
+ !isNaN( widthStyle ) && this.setValue( widthStyle );
+ },
+ commit : function( element )
+ {
+ var value = parseInt( this.getValue(), 10 ),
+ unit = this.getDialog().getValueOf( 'info', 'widthType' );
+
+ if ( !isNaN( value ) )
+ element.setStyle( 'width', value + unit );
+ else
+ element.removeStyle( 'width' );
+
+ element.removeAttribute( 'width' );
+ },
+ 'default' : ''
+ },
+ {
+ type : 'select',
+ id : 'widthType',
+ labelLayout : 'horizontal',
+ widths : [ '0%', '100%' ],
+ label : editor.lang.table.widthUnit,
+ labelStyle: 'display:none',
+ 'default' : 'px',
+ items :
+ [
+ [ langTable.widthPx, 'px' ],
+ [ langTable.widthPc, '%' ]
+ ],
+ setup : function( selectedCell )
+ {
+ var widthMatch = widthPattern.exec( selectedCell.getStyle( 'width' ) || selectedCell.getAttribute( 'width' ) );
+ if ( widthMatch )
+ this.setValue( widthMatch[2] );
+ }
+ }
+ ]
+ },
+ {
+ type : 'hbox',
+ widths : [ '70%', '30%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'height',
+ label : langTable.height,
+ 'default' : '',
+ widths : [ '71%', '29%' ],
+ labelLayout : 'horizontal',
+ validate : validate[ 'number' ]( langCell.invalidHeight ),
+
+ // Extra labelling of height unit type.
+ onLoad : function()
+ {
+ var heightType = this.getDialog().getContentElement( 'info', 'htmlHeightType' ),
+ labelElement = heightType.getElement(),
+ inputElement = this.getInputElement(),
+ ariaLabelledByAttr = inputElement.getAttribute( 'aria-labelledby' );
+
+ inputElement.setAttribute( 'aria-labelledby', [ ariaLabelledByAttr, labelElement.$.id ].join( ' ' ) );
+ },
+
+ setup : function( element )
+ {
+ var heightAttr = parseInt( element.getAttribute( 'height' ), 10 ),
+ heightStyle = parseInt( element.getStyle( 'height' ), 10 );
+
+ !isNaN( heightAttr ) && this.setValue( heightAttr );
+ !isNaN( heightStyle ) && this.setValue( heightStyle );
+ },
+ commit : function( element )
+ {
+ var value = parseInt( this.getValue(), 10 );
+
+ if ( !isNaN( value ) )
+ element.setStyle( 'height', CKEDITOR.tools.cssLength( value ) );
+ else
+ element.removeStyle( 'height' );
+
+ element.removeAttribute( 'height' );
+ }
+ },
+ {
+ id : 'htmlHeightType',
+ type : 'html',
+ html : langTable.widthPx
+ }
+ ]
+ },
+ spacer,
+ {
+ type : 'select',
+ id : 'wordWrap',
+ labelLayout : 'horizontal',
+ label : langCell.wordWrap,
+ widths : [ '50%', '50%' ],
+ 'default' : 'yes',
+ items :
+ [
+ [ langCell.yes, 'yes' ],
+ [ langCell.no, 'no' ]
+ ],
+ setup : function( element )
+ {
+ var wordWrapAttr = element.getAttribute( 'noWrap' ),
+ wordWrapStyle = element.getStyle( 'white-space' );
+
+ if ( wordWrapStyle == 'nowrap' || wordWrapAttr )
+ this.setValue( 'no' );
+ },
+ commit : function( element )
+ {
+ if ( this.getValue() == 'no' )
+ element.setStyle( 'white-space', 'nowrap' );
+ else
+ element.removeStyle( 'white-space' );
+
+ element.removeAttribute( 'noWrap' );
+ }
+ },
+ spacer,
+ {
+ type : 'select',
+ id : 'hAlign',
+ labelLayout : 'horizontal',
+ label : langCell.hAlign,
+ widths : [ '50%', '50%' ],
+ 'default' : '',
+ items :
+ [
+ [ langCommon.notSet, '' ],
+ [ langTable.alignLeft, 'left' ],
+ [ langTable.alignCenter, 'center' ],
+ [ langTable.alignRight, 'right' ]
+ ],
+ setup : function( element )
+ {
+ var alignAttr = element.getAttribute( 'align' ),
+ textAlignStyle = element.getStyle( 'text-align');
+
+ this.setValue( textAlignStyle || alignAttr || '' );
+ },
+ commit : function( selectedCell )
+ {
+ var value = this.getValue();
+
+ if ( value )
+ selectedCell.setStyle( 'text-align', value );
+ else
+ selectedCell.removeStyle( 'text-align' );
+
+ selectedCell.removeAttribute( 'align' );
+ }
+ },
+ {
+ type : 'select',
+ id : 'vAlign',
+ labelLayout : 'horizontal',
+ label : langCell.vAlign,
+ widths : [ '50%', '50%' ],
+ 'default' : '',
+ items :
+ [
+ [ langCommon.notSet, '' ],
+ [ langCell.alignTop, 'top' ],
+ [ langCell.alignMiddle, 'middle' ],
+ [ langCell.alignBottom, 'bottom' ],
+ [ langCell.alignBaseline, 'baseline' ]
+ ],
+ setup : function( element )
+ {
+ var vAlignAttr = element.getAttribute( 'vAlign' ),
+ vAlignStyle = element.getStyle( 'vertical-align' );
+
+ switch( vAlignStyle )
+ {
+ // Ignore all other unrelated style values..
+ case 'top':
+ case 'middle':
+ case 'bottom':
+ case 'baseline':
+ break;
+ default:
+ vAlignStyle = '';
+ }
+
+ this.setValue( vAlignStyle || vAlignAttr || '' );
+ },
+ commit : function( element )
+ {
+ var value = this.getValue();
+
+ if ( value )
+ element.setStyle( 'vertical-align', value );
+ else
+ element.removeStyle( 'vertical-align' );
+
+ element.removeAttribute( 'vAlign' );
+ }
+ }
+ ]
+ },
+ spacer,
+ {
+ type : 'vbox',
+ padding : 0,
+ children :
+ [
+ {
+ type : 'select',
+ id : 'cellType',
+ label : langCell.cellType,
+ labelLayout : 'horizontal',
+ widths : [ '50%', '50%' ],
+ 'default' : 'td',
+ items :
+ [
+ [ langCell.data, 'td' ],
+ [ langCell.header, 'th' ]
+ ],
+ setup : function( selectedCell )
+ {
+ this.setValue( selectedCell.getName() );
+ },
+ commit : function( selectedCell )
+ {
+ selectedCell.renameNode( this.getValue() );
+ }
+ },
+ spacer,
+ {
+ type : 'text',
+ id : 'rowSpan',
+ label : langCell.rowSpan,
+ labelLayout : 'horizontal',
+ widths : [ '50%', '50%' ],
+ 'default' : '',
+ validate : validate.integer( langCell.invalidRowSpan ),
+ setup : function( selectedCell )
+ {
+ var attrVal = parseInt( selectedCell.getAttribute( 'rowSpan' ), 10 );
+ if ( attrVal && attrVal != 1 )
+ this.setValue( attrVal );
+ },
+ commit : function( selectedCell )
+ {
+ var value = parseInt( this.getValue(), 10 );
+ if ( value && value != 1 )
+ selectedCell.setAttribute( 'rowSpan', this.getValue() );
+ else
+ selectedCell.removeAttribute( 'rowSpan' );
+ }
+ },
+ {
+ type : 'text',
+ id : 'colSpan',
+ label : langCell.colSpan,
+ labelLayout : 'horizontal',
+ widths : [ '50%', '50%' ],
+ 'default' : '',
+ validate : validate.integer( langCell.invalidColSpan ),
+ setup : function( element )
+ {
+ var attrVal = parseInt( element.getAttribute( 'colSpan' ), 10 );
+ if ( attrVal && attrVal != 1 )
+ this.setValue( attrVal );
+ },
+ commit : function( selectedCell )
+ {
+ var value = parseInt( this.getValue(), 10 );
+ if ( value && value != 1 )
+ selectedCell.setAttribute( 'colSpan', this.getValue() );
+ else
+ selectedCell.removeAttribute( 'colSpan' );
+ }
+ },
+ spacer,
+ {
+ type : 'hbox',
+ padding : 0,
+ widths : [ '80%', '20%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'bgColor',
+ label : langCell.bgColor,
+ labelLayout : 'horizontal',
+ widths : [ '70%', '30%' ],
+ 'default' : '',
+ setup : function( element )
+ {
+ var bgColorAttr = element.getAttribute( 'bgColor' ),
+ bgColorStyle = element.getStyle( 'background-color' );
+
+ this.setValue( bgColorStyle || bgColorAttr );
+ },
+ commit : function( selectedCell )
+ {
+ var value = this.getValue();
+
+ if ( value )
+ selectedCell.setStyle( 'background-color', this.getValue() );
+ else
+ selectedCell.removeStyle( 'background-color' );
+
+ selectedCell.removeAttribute( 'bgColor');
+ }
+ },
+ {
+ type : 'button',
+ id : 'bgColorChoose',
+ label : langCell.chooseColor,
+ style : 'margin-left: 10px',
+ onClick : function()
+ {
+ var self = this;
+ getDialogValue( 'colordialog', function( colorDialog )
+ {
+ self.getDialog().getContentElement( 'info', 'bgColor' ).setValue(
+ colorDialog.getContentElement( 'picker', 'selectedColor' ).getValue()
+ );
+ } );
+ }
+ }
+ ]
+ },
+ spacer,
+ {
+ type : 'hbox',
+ padding : 0,
+ widths : [ '80%', '20%' ],
+ children :
+ [
+ {
+ type : 'text',
+ id : 'borderColor',
+ label : langCell.borderColor,
+ labelLayout : 'horizontal',
+ widths : [ '70%', '30%' ],
+ 'default' : '',
+ setup : function( element )
+ {
+ var borderColorAttr = element.getAttribute( 'borderColor' ),
+ borderColorStyle = element.getStyle( 'border-color' );
+
+ this.setValue( borderColorStyle || borderColorAttr );
+ },
+ commit : function( selectedCell )
+ {
+ var value = this.getValue();
+ if ( value )
+ selectedCell.setStyle( 'border-color', this.getValue() );
+ else
+ selectedCell.removeStyle( 'border-color' );
+
+ selectedCell.removeAttribute( 'borderColor');
+ }
+ },
+ {
+ type : 'button',
+ id : 'borderColorChoose',
+ label : langCell.chooseColor,
+ style : 'margin-left: 10px',
+ onClick : function()
+ {
+ var self = this;
+ getDialogValue( 'colordialog', function( colorDialog )
+ {
+ self.getDialog().getContentElement( 'info', 'borderColor' ).setValue(
+ colorDialog.getContentElement( 'picker', 'selectedColor' ).getValue()
+ );
+ } );
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ onShow : function()
+ {
+ this.cells = CKEDITOR.plugins.tabletools.getSelectedCells(
+ this._.editor.getSelection() );
+ this.setupContent( this.cells[ 0 ] );
+ },
+ onOk : function()
+ {
+ var selection = this._.editor.getSelection(),
+ bookmarks = selection.createBookmarks();
+
+ var cells = this.cells;
+ for ( var i = 0 ; i < cells.length ; i++ )
+ this.commitContent( cells[ i ] );
+
+ selection.selectBookmarks( bookmarks );
+
+ // Force selectionChange event because of alignment style.
+ var firstElement = selection.getStartElement();
+ var currentPath = new CKEDITOR.dom.elementPath( firstElement );
+
+ this._.editor._.selectionPreviousPath = currentPath;
+ this._.editor.fire( 'selectionChange', { selection : selection, path : currentPath, element : firstElement } );
+ }
+ };
+ } );
diff --git a/devel/third-party/ckeditor/plugins/tabletools/plugin.js b/devel/third-party/ckeditor/plugins/tabletools/plugin.js
new file mode 100644
index 0000000..b06f59a
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/tabletools/plugin.js
@@ -0,0 +1,1120 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ function removeRawAttribute( $node, attr )
+ {
+ if ( CKEDITOR.env.ie )
+ $node.removeAttribute( attr );
+ else
+ delete $node[ attr ];
+ }
+
+ var cellNodeRegex = /^(?:td|th)$/;
+
+ function getSelectedCells( selection )
+ {
+ // Walker will try to split text nodes, which will make the current selection
+ // invalid. So save bookmarks before doing anything.
+ var bookmarks = selection.createBookmarks();
+
+ var ranges = selection.getRanges();
+ var retval = [];
+ var database = {};
+
+ function moveOutOfCellGuard( node )
+ {
+ // Apply to the first cell only.
+ if ( retval.length > 0 )
+ return;
+
+ // If we are exiting from the first </td>, then the td should definitely be
+ // included.
+ if ( node.type == CKEDITOR.NODE_ELEMENT && cellNodeRegex.test( node.getName() )
+ && !node.getCustomData( 'selected_cell' ) )
+ {
+ CKEDITOR.dom.element.setMarker( database, node, 'selected_cell', true );
+ retval.push( node );
+ }
+ }
+
+ for ( var i = 0 ; i < ranges.length ; i++ )
+ {
+ var range = ranges[ i ];
+
+ if ( range.collapsed )
+ {
+ // Walker does not handle collapsed ranges yet - fall back to old API.
+ var startNode = range.getCommonAncestor();
+ var nearestCell = startNode.getAscendant( 'td', true ) || startNode.getAscendant( 'th', true );
+ if ( nearestCell )
+ retval.push( nearestCell );
+ }
+ else
+ {
+ var walker = new CKEDITOR.dom.walker( range );
+ var node;
+ walker.guard = moveOutOfCellGuard;
+
+ while ( ( node = walker.next() ) )
+ {
+ // If may be possible for us to have a range like this:
+ // <td>^1</td><td>^2</td>
+ // The 2nd td shouldn't be included.
+ //
+ // So we have to take care to include a td we've entered only when we've
+ // walked into its children.
+
+ var parent = node.getParent();
+ if ( parent && cellNodeRegex.test( parent.getName() ) && !parent.getCustomData( 'selected_cell' ) )
+ {
+ CKEDITOR.dom.element.setMarker( database, parent, 'selected_cell', true );
+ retval.push( parent );
+ }
+ }
+ }
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ // Restore selection position.
+ selection.selectBookmarks( bookmarks );
+
+ return retval;
+ }
+
+ function getFocusElementAfterDelCells( cellsToDelete ) {
+ var i = 0,
+ last = cellsToDelete.length - 1,
+ database = {},
+ cell,focusedCell,
+ tr;
+
+ while ( ( cell = cellsToDelete[ i++ ] ) )
+ CKEDITOR.dom.element.setMarker( database, cell, 'delete_cell', true );
+
+ // 1.first we check left or right side focusable cell row by row;
+ i = 0;
+ while ( ( cell = cellsToDelete[ i++ ] ) )
+ {
+ if ( ( focusedCell = cell.getPrevious() ) && !focusedCell.getCustomData( 'delete_cell' )
+ || ( focusedCell = cell.getNext() ) && !focusedCell.getCustomData( 'delete_cell' ) )
+ {
+ CKEDITOR.dom.element.clearAllMarkers( database );
+ return focusedCell;
+ }
+ }
+
+ CKEDITOR.dom.element.clearAllMarkers( database );
+
+ // 2. then we check the toppest row (outside the selection area square) focusable cell
+ tr = cellsToDelete[ 0 ].getParent();
+ if ( ( tr = tr.getPrevious() ) )
+ return tr.getLast();
+
+ // 3. last we check the lowerest row focusable cell
+ tr = cellsToDelete[ last ].getParent();
+ if ( ( tr = tr.getNext() ) )
+ return tr.getChild( 0 );
+
+ return null;
+ }
+
+ function clearRow( $tr )
+ {
+ // Get the array of row's cells.
+ var $cells = $tr.cells;
+
+ // Empty all cells.
+ for ( var i = 0 ; i < $cells.length ; i++ )
+ {
+ $cells[ i ].innerHTML = '';
+
+ if ( !CKEDITOR.env.ie )
+ ( new CKEDITOR.dom.element( $cells[ i ] ) ).appendBogus();
+ }
+ }
+
+ function insertRow( selection, insertBefore )
+ {
+ // Get the row where the selection is placed in.
+ var row = selection.getStartElement().getAscendant( 'tr' );
+ if ( !row )
+ return;
+
+ // Create a clone of the row.
+ var newRow = row.clone( true );
+
+ insertBefore ?
+ newRow.insertBefore( row ) :
+ newRow.insertAfter( row );
+
+ // Clean the new row.
+ clearRow( newRow.$ );
+ }
+
+ function deleteRows( selectionOrRow )
+ {
+ if ( selectionOrRow instanceof CKEDITOR.dom.selection )
+ {
+ var cells = getSelectedCells( selectionOrRow ),
+ cellsCount = cells.length,
+ rowsToDelete = [],
+ cursorPosition,
+ previousRowIndex,
+ nextRowIndex;
+
+ // Queue up the rows - it's possible and likely that we have duplicates.
+ for ( var i = 0 ; i < cellsCount ; i++ )
+ {
+ var row = cells[ i ].getParent(),
+ rowIndex = row.$.rowIndex;
+
+ !i && ( previousRowIndex = rowIndex - 1 );
+ rowsToDelete[ rowIndex ] = row;
+ i == cellsCount - 1 && ( nextRowIndex = rowIndex + 1 );
+ }
+
+ var table = row.getAscendant( 'table' ),
+ rows = table.$.rows,
+ rowCount = rows.length;
+
+ // Where to put the cursor after rows been deleted?
+ // 1. Into next sibling row if any;
+ // 2. Into previous sibling row if any;
+ // 3. Into table's parent element if it's the very last row.
+ cursorPosition = new CKEDITOR.dom.element(
+ nextRowIndex < rowCount && table.$.rows[ nextRowIndex ] ||
+ previousRowIndex > 0 && table.$.rows[ previousRowIndex ] ||
+ table.$.parentNode );
+
+ for ( i = rowsToDelete.length ; i >= 0 ; i-- )
+ {
+ if ( rowsToDelete[ i ] )
+ deleteRows( rowsToDelete[ i ] );
+ }
+
+ return cursorPosition;
+ }
+ else if ( selectionOrRow instanceof CKEDITOR.dom.element )
+ {
+ table = selectionOrRow.getAscendant( 'table' );
+
+ if ( table.$.rows.length == 1 )
+ table.remove();
+ else
+ selectionOrRow.remove();
+ }
+
+ return 0;
+ }
+
+ function insertColumn( selection, insertBefore )
+ {
+ // Get the cell where the selection is placed in.
+ var startElement = selection.getStartElement();
+ var cell = startElement.getAscendant( 'td', true ) || startElement.getAscendant( 'th', true );
+
+ if ( !cell )
+ return;
+
+ // Get the cell's table.
+ var table = cell.getAscendant( 'table' );
+ var cellIndex = cell.$.cellIndex;
+
+ // Loop through all rows available in the table.
+ for ( var i = 0 ; i < table.$.rows.length ; i++ )
+ {
+ var $row = table.$.rows[ i ];
+
+ // If the row doesn't have enough cells, ignore it.
+ if ( $row.cells.length < ( cellIndex + 1 ) )
+ continue;
+
+ cell = ( new CKEDITOR.dom.element( $row.cells[ cellIndex ] ) ).clone( false );
+
+ if ( !CKEDITOR.env.ie )
+ cell.appendBogus();
+
+ // Get back the currently selected cell.
+ var baseCell = new CKEDITOR.dom.element( $row.cells[ cellIndex ] );
+ if ( insertBefore )
+ cell.insertBefore( baseCell );
+ else
+ cell.insertAfter( baseCell );
+ }
+ }
+
+ function getFocusElementAfterDelCols( cells )
+ {
+ var cellIndexList = [],
+ table = cells[ 0 ] && cells[ 0 ].getAscendant( 'table' ),
+ i, length,
+ targetIndex, targetCell;
+
+ // get the cellIndex list of delete cells
+ for ( i = 0, length = cells.length; i < length; i++ )
+ cellIndexList.push( cells[i].$.cellIndex );
+
+ // get the focusable column index
+ cellIndexList.sort();
+ for ( i = 1, length = cellIndexList.length; i < length; i++ )
+ {
+ if ( cellIndexList[ i ] - cellIndexList[ i - 1 ] > 1 )
+ {
+ targetIndex = cellIndexList[ i - 1 ] + 1;
+ break;
+ }
+ }
+
+ if ( !targetIndex )
+ targetIndex = cellIndexList[ 0 ] > 0 ? ( cellIndexList[ 0 ] - 1 )
+ : ( cellIndexList[ cellIndexList.length - 1 ] + 1 );
+
+ // scan row by row to get the target cell
+ var rows = table.$.rows;
+ for ( i = 0, length = rows.length; i < length ; i++ )
+ {
+ targetCell = rows[ i ].cells[ targetIndex ];
+ if ( targetCell )
+ break;
+ }
+
+ return targetCell ? new CKEDITOR.dom.element( targetCell ) : table.getPrevious();
+ }
+
+ function deleteColumns( selectionOrCell )
+ {
+ if ( selectionOrCell instanceof CKEDITOR.dom.selection )
+ {
+ var colsToDelete = getSelectedCells( selectionOrCell ),
+ elementToFocus = getFocusElementAfterDelCols( colsToDelete );
+
+ for ( var i = colsToDelete.length - 1 ; i >= 0 ; i-- )
+ {
+ if ( colsToDelete[ i ] )
+ deleteColumns( colsToDelete[ i ] );
+ }
+
+ return elementToFocus;
+ }
+ else if ( selectionOrCell instanceof CKEDITOR.dom.element )
+ {
+ // Get the cell's table.
+ var table = selectionOrCell.getAscendant( 'table' );
+ if ( !table )
+ return null;
+
+ // Get the cell index.
+ var cellIndex = selectionOrCell.$.cellIndex;
+
+ /*
+ * Loop through all rows from down to up, coz it's possible that some rows
+ * will be deleted.
+ */
+ for ( i = table.$.rows.length - 1 ; i >= 0 ; i-- )
+ {
+ // Get the row.
+ var row = new CKEDITOR.dom.element( table.$.rows[ i ] );
+
+ // If the cell to be removed is the first one and the row has just one cell.
+ if ( !cellIndex && row.$.cells.length == 1 )
+ {
+ deleteRows( row );
+ continue;
+ }
+
+ // Else, just delete the cell.
+ if ( row.$.cells[ cellIndex ] )
+ row.$.removeChild( row.$.cells[ cellIndex ] );
+ }
+ }
+
+ return null;
+ }
+
+ function insertCell( selection, insertBefore )
+ {
+ var startElement = selection.getStartElement();
+ var cell = startElement.getAscendant( 'td', true ) || startElement.getAscendant( 'th', true );
+
+ if ( !cell )
+ return;
+
+ // Create the new cell element to be added.
+ var newCell = cell.clone();
+ if ( !CKEDITOR.env.ie )
+ newCell.appendBogus();
+
+ if ( insertBefore )
+ newCell.insertBefore( cell );
+ else
+ newCell.insertAfter( cell );
+ }
+
+ function deleteCells( selectionOrCell )
+ {
+ if ( selectionOrCell instanceof CKEDITOR.dom.selection )
+ {
+ var cellsToDelete = getSelectedCells( selectionOrCell );
+ var table = cellsToDelete[ 0 ] && cellsToDelete[ 0 ].getAscendant( 'table' );
+ var cellToFocus = getFocusElementAfterDelCells( cellsToDelete );
+
+ for ( var i = cellsToDelete.length - 1 ; i >= 0 ; i-- )
+ deleteCells( cellsToDelete[ i ] );
+
+ if ( cellToFocus )
+ placeCursorInCell( cellToFocus, true );
+ else if ( table )
+ table.remove();
+ }
+ else if ( selectionOrCell instanceof CKEDITOR.dom.element )
+ {
+ var tr = selectionOrCell.getParent();
+ if ( tr.getChildCount() == 1 )
+ tr.remove();
+ else
+ selectionOrCell.remove();
+ }
+ }
+
+ // Remove filler at end and empty spaces around the cell content.
+ function trimCell( cell )
+ {
+ var bogus = cell.getBogus();
+ bogus && bogus.remove();
+ cell.trim();
+ }
+
+ function placeCursorInCell( cell, placeAtEnd )
+ {
+ var range = new CKEDITOR.dom.range( cell.getDocument() );
+ if ( !range[ 'moveToElementEdit' + ( placeAtEnd ? 'End' : 'Start' ) ]( cell ) )
+ {
+ range.selectNodeContents( cell );
+ range.collapse( placeAtEnd ? false : true );
+ }
+ range.select( true );
+ }
+
+ function cellInRow( tableMap, rowIndex, cell )
+ {
+ var oRow = tableMap[ rowIndex ];
+ if ( typeof cell == 'undefined' )
+ return oRow;
+
+ for ( var c = 0 ; oRow && c < oRow.length ; c++ )
+ {
+ if ( cell.is && oRow[c] == cell.$ )
+ return c;
+ else if ( c == cell )
+ return new CKEDITOR.dom.element( oRow[ c ] );
+ }
+ return cell.is ? -1 : null;
+ }
+
+ function cellInCol( tableMap, colIndex, cell )
+ {
+ var oCol = [];
+ for ( var r = 0; r < tableMap.length; r++ )
+ {
+ var row = tableMap[ r ];
+ if ( typeof cell == 'undefined' )
+ oCol.push( row[ colIndex ] );
+ else if ( cell.is && row[ colIndex ] == cell.$ )
+ return r;
+ else if ( r == cell )
+ return new CKEDITOR.dom.element( row[ colIndex ] );
+ }
+
+ return ( typeof cell == 'undefined' )? oCol : cell.is ? -1 : null;
+ }
+
+ function mergeCells( selection, mergeDirection, isDetect )
+ {
+ var cells = getSelectedCells( selection );
+
+ // Invalid merge request if:
+ // 1. In batch mode despite that less than two selected.
+ // 2. In solo mode while not exactly only one selected.
+ // 3. Cells distributed in different table groups (e.g. from both thead and tbody).
+ var commonAncestor;
+ if ( ( mergeDirection ? cells.length != 1 : cells.length < 2 )
+ || ( commonAncestor = selection.getCommonAncestor() )
+ && commonAncestor.type == CKEDITOR.NODE_ELEMENT
+ && commonAncestor.is( 'table' ) )
+ {
+ return false;
+ }
+
+ var cell,
+ firstCell = cells[ 0 ],
+ table = firstCell.getAscendant( 'table' ),
+ map = CKEDITOR.tools.buildTableMap( table ),
+ mapHeight = map.length,
+ mapWidth = map[ 0 ].length,
+ startRow = firstCell.getParent().$.rowIndex,
+ startColumn = cellInRow( map, startRow, firstCell );
+
+ if ( mergeDirection )
+ {
+ var targetCell;
+ try
+ {
+ targetCell =
+ map[ mergeDirection == 'up' ?
+ ( startRow - 1 ):
+ mergeDirection == 'down' ? ( startRow + 1 ) : startRow ] [
+ mergeDirection == 'left' ?
+ ( startColumn - 1 ):
+ mergeDirection == 'right' ? ( startColumn + 1 ) : startColumn ];
+
+ }
+ catch( er )
+ {
+ return false;
+ }
+
+ // 1. No cell could be merged.
+ // 2. Same cell actually.
+ if ( !targetCell || firstCell.$ == targetCell )
+ return false;
+
+ // Sort in map order regardless of the DOM sequence.
+ cells[ ( mergeDirection == 'up' || mergeDirection == 'left' ) ?
+ 'unshift' : 'push' ]( new CKEDITOR.dom.element( targetCell ) );
+ }
+
+ // Start from here are merging way ignorance (merge up/right, batch merge).
+ var doc = firstCell.getDocument(),
+ lastRowIndex = startRow,
+ totalRowSpan = 0,
+ totalColSpan = 0,
+ // Use a documentFragment as buffer when appending cell contents.
+ frag = !isDetect && new CKEDITOR.dom.documentFragment( doc ),
+ dimension = 0;
+
+ for ( var i = 0; i < cells.length; i++ )
+ {
+ cell = cells[ i ];
+
+ var tr = cell.getParent(),
+ cellFirstChild = cell.getFirst(),
+ colSpan = cell.$.colSpan,
+ rowSpan = cell.$.rowSpan,
+ rowIndex = tr.$.rowIndex,
+ colIndex = cellInRow( map, rowIndex, cell );
+
+ // Accumulated the actual places taken by all selected cells.
+ dimension += colSpan * rowSpan;
+ // Accumulated the maximum virtual spans from column and row.
+ totalColSpan = Math.max( totalColSpan, colIndex - startColumn + colSpan ) ;
+ totalRowSpan = Math.max( totalRowSpan, rowIndex - startRow + rowSpan );
+
+ if ( !isDetect )
+ {
+ // Trim all cell fillers and check to remove empty cells.
+ if ( trimCell( cell ), cell.getChildren().count() )
+ {
+ // Merge vertically cells as two separated paragraphs.
+ if ( rowIndex != lastRowIndex
+ && cellFirstChild
+ && !( cellFirstChild.isBlockBoundary
+ && cellFirstChild.isBlockBoundary( { br : 1 } ) ) )
+ {
+ var last = frag.getLast( CKEDITOR.dom.walker.whitespaces( true ) );
+ if ( last && !( last.is && last.is( 'br' ) ) )
+ frag.append( new CKEDITOR.dom.element( 'br' ) );
+ }
+
+ cell.moveChildren( frag );
+ }
+ i ? cell.remove() : cell.setHtml( '' );
+ }
+ lastRowIndex = rowIndex;
+ }
+
+ if ( !isDetect )
+ {
+ frag.moveChildren( firstCell );
+
+ if ( !CKEDITOR.env.ie )
+ firstCell.appendBogus();
+
+ if ( totalColSpan >= mapWidth )
+ firstCell.removeAttribute( 'rowSpan' );
+ else
+ firstCell.$.rowSpan = totalRowSpan;
+
+ if ( totalRowSpan >= mapHeight )
+ firstCell.removeAttribute( 'colSpan' );
+ else
+ firstCell.$.colSpan = totalColSpan;
+
+ // Swip empty <tr> left at the end of table due to the merging.
+ var trs = new CKEDITOR.dom.nodeList( table.$.rows ),
+ count = trs.count();
+
+ for ( i = count - 1; i >= 0; i-- )
+ {
+ var tailTr = trs.getItem( i );
+ if ( !tailTr.$.cells.length )
+ {
+ tailTr.remove();
+ count++;
+ continue;
+ }
+ }
+
+ return firstCell;
+ }
+ // Be able to merge cells only if actual dimension of selected
+ // cells equals to the caculated rectangle.
+ else
+ return ( totalRowSpan * totalColSpan ) == dimension;
+ }
+
+ function verticalSplitCell ( selection, isDetect )
+ {
+ var cells = getSelectedCells( selection );
+ if ( cells.length > 1 )
+ return false;
+ else if ( isDetect )
+ return true;
+
+ var cell = cells[ 0 ],
+ tr = cell.getParent(),
+ table = tr.getAscendant( 'table' ),
+ map = CKEDITOR.tools.buildTableMap( table ),
+ rowIndex = tr.$.rowIndex,
+ colIndex = cellInRow( map, rowIndex, cell ),
+ rowSpan = cell.$.rowSpan,
+ newCell,
+ newRowSpan,
+ newCellRowSpan,
+ newRowIndex;
+
+ if ( rowSpan > 1 )
+ {
+ newRowSpan = Math.ceil( rowSpan / 2 );
+ newCellRowSpan = Math.floor( rowSpan / 2 );
+ newRowIndex = rowIndex + newRowSpan;
+ var newCellTr = new CKEDITOR.dom.element( table.$.rows[ newRowIndex ] ),
+ newCellRow = cellInRow( map, newRowIndex ),
+ candidateCell;
+
+ newCell = cell.clone();
+
+ // Figure out where to insert the new cell by checking the vitual row.
+ for ( var c = 0; c < newCellRow.length; c++ )
+ {
+ candidateCell = newCellRow[ c ];
+ // Catch first cell actually following the column.
+ if ( candidateCell.parentNode == newCellTr.$
+ && c > colIndex )
+ {
+ newCell.insertBefore( new CKEDITOR.dom.element( candidateCell ) );
+ break;
+ }
+ else
+ candidateCell = null;
+ }
+
+ // The destination row is empty, append at will.
+ if ( !candidateCell )
+ newCellTr.append( newCell, true );
+ }
+ else
+ {
+ newCellRowSpan = newRowSpan = 1;
+
+ newCellTr = tr.clone();
+ newCellTr.insertAfter( tr );
+ newCellTr.append( newCell = cell.clone() );
+
+ var cellsInSameRow = cellInRow( map, rowIndex );
+ for ( var i = 0; i < cellsInSameRow.length; i++ )
+ cellsInSameRow[ i ].rowSpan++;
+ }
+
+ if ( !CKEDITOR.env.ie )
+ newCell.appendBogus();
+
+ cell.$.rowSpan = newRowSpan;
+ newCell.$.rowSpan = newCellRowSpan;
+ if ( newRowSpan == 1 )
+ cell.removeAttribute( 'rowSpan' );
+ if ( newCellRowSpan == 1 )
+ newCell.removeAttribute( 'rowSpan' );
+
+ return newCell;
+ }
+
+ function horizontalSplitCell( selection, isDetect )
+ {
+ var cells = getSelectedCells( selection );
+ if ( cells.length > 1 )
+ return false;
+ else if ( isDetect )
+ return true;
+
+ var cell = cells[ 0 ],
+ tr = cell.getParent(),
+ table = tr.getAscendant( 'table' ),
+ map = CKEDITOR.tools.buildTableMap( table ),
+ rowIndex = tr.$.rowIndex,
+ colIndex = cellInRow( map, rowIndex, cell ),
+ colSpan = cell.$.colSpan,
+ newCell,
+ newColSpan,
+ newCellColSpan;
+
+ if ( colSpan > 1 )
+ {
+ newColSpan = Math.ceil( colSpan / 2 );
+ newCellColSpan = Math.floor( colSpan / 2 );
+ }
+ else
+ {
+ newCellColSpan = newColSpan = 1;
+ var cellsInSameCol = cellInCol( map, colIndex );
+ for ( var i = 0; i < cellsInSameCol.length; i++ )
+ cellsInSameCol[ i ].colSpan++;
+ }
+ newCell = cell.clone();
+ newCell.insertAfter( cell );
+ if ( !CKEDITOR.env.ie )
+ newCell.appendBogus();
+
+ cell.$.colSpan = newColSpan;
+ newCell.$.colSpan = newCellColSpan;
+ if ( newColSpan == 1 )
+ cell.removeAttribute( 'colSpan' );
+ if ( newCellColSpan == 1 )
+ newCell.removeAttribute( 'colSpan' );
+
+ return newCell;
+ }
+ // Context menu on table caption incorrect (#3834)
+ var contextMenuTags = { thead : 1, tbody : 1, tfoot : 1, td : 1, tr : 1, th : 1 };
+
+ CKEDITOR.plugins.tabletools =
+ {
+ init : function( editor )
+ {
+ var lang = editor.lang.table;
+
+ editor.addCommand( 'cellProperties', new CKEDITOR.dialogCommand( 'cellProperties' ) );
+ CKEDITOR.dialog.add( 'cellProperties', this.path + 'dialogs/tableCell.js' );
+
+ editor.addCommand( 'tableDelete',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ var startElement = selection && selection.getStartElement();
+ var table = startElement && startElement.getAscendant( 'table', true );
+
+ if ( !table )
+ return;
+
+ // Maintain the selection point at where the table was deleted.
+ selection.selectElement( table );
+ var range = selection.getRanges()[0];
+ range.collapse();
+ selection.selectRanges( [ range ] );
+
+ // If the table's parent has only one child, remove it,except body,as well.( #5416 )
+ var parent = table.getParent();
+ if ( parent.getChildCount() == 1 && parent.getName() != 'body' )
+ parent.remove();
+ else
+ table.remove();
+ }
+ } );
+
+ editor.addCommand( 'rowDelete',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ placeCursorInCell( deleteRows( selection ) );
+ }
+ } );
+
+ editor.addCommand( 'rowInsertBefore',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ insertRow( selection, true );
+ }
+ } );
+
+ editor.addCommand( 'rowInsertAfter',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ insertRow( selection );
+ }
+ } );
+
+ editor.addCommand( 'columnDelete',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ var element = deleteColumns( selection );
+ element && placeCursorInCell( element, true );
+ }
+ } );
+
+ editor.addCommand( 'columnInsertBefore',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ insertColumn( selection, true );
+ }
+ } );
+
+ editor.addCommand( 'columnInsertAfter',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ insertColumn( selection );
+ }
+ } );
+
+ editor.addCommand( 'cellDelete',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ deleteCells( selection );
+ }
+ } );
+
+ editor.addCommand( 'cellMerge',
+ {
+ exec : function( editor )
+ {
+ placeCursorInCell( mergeCells( editor.getSelection() ), true );
+ }
+ } );
+
+ editor.addCommand( 'cellMergeRight',
+ {
+ exec : function( editor )
+ {
+ placeCursorInCell( mergeCells( editor.getSelection(), 'right' ), true );
+ }
+ } );
+
+ editor.addCommand( 'cellMergeDown',
+ {
+ exec : function( editor )
+ {
+ placeCursorInCell( mergeCells( editor.getSelection(), 'down' ), true );
+ }
+ } );
+
+ editor.addCommand( 'cellVerticalSplit',
+ {
+ exec : function( editor )
+ {
+ placeCursorInCell( verticalSplitCell( editor.getSelection() ) );
+ }
+ } );
+
+ editor.addCommand( 'cellHorizontalSplit',
+ {
+ exec : function( editor )
+ {
+ placeCursorInCell( horizontalSplitCell( editor.getSelection() ) );
+ }
+ } );
+
+ editor.addCommand( 'cellInsertBefore',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ insertCell( selection, true );
+ }
+ } );
+
+ editor.addCommand( 'cellInsertAfter',
+ {
+ exec : function( editor )
+ {
+ var selection = editor.getSelection();
+ insertCell( selection );
+ }
+ } );
+
+ // If the "menu" plugin is loaded, register the menu items.
+ if ( editor.addMenuItems )
+ {
+ editor.addMenuItems(
+ {
+ tablecell :
+ {
+ label : lang.cell.menu,
+ group : 'tablecell',
+ order : 1,
+ getItems : function()
+ {
+ var selection = editor.getSelection(),
+ cells = getSelectedCells( selection );
+ return {
+ tablecell_insertBefore : CKEDITOR.TRISTATE_OFF,
+ tablecell_insertAfter : CKEDITOR.TRISTATE_OFF,
+ tablecell_delete : CKEDITOR.TRISTATE_OFF,
+ tablecell_merge : mergeCells( selection, null, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ tablecell_merge_right : mergeCells( selection, 'right', true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ tablecell_merge_down : mergeCells( selection, 'down', true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ tablecell_split_vertical : verticalSplitCell( selection, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ tablecell_split_horizontal : horizontalSplitCell( selection, true ) ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED,
+ tablecell_properties : cells.length > 0 ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED
+ };
+ }
+ },
+
+ tablecell_insertBefore :
+ {
+ label : lang.cell.insertBefore,
+ group : 'tablecell',
+ command : 'cellInsertBefore',
+ order : 5
+ },
+
+ tablecell_insertAfter :
+ {
+ label : lang.cell.insertAfter,
+ group : 'tablecell',
+ command : 'cellInsertAfter',
+ order : 10
+ },
+
+ tablecell_delete :
+ {
+ label : lang.cell.deleteCell,
+ group : 'tablecell',
+ command : 'cellDelete',
+ order : 15
+ },
+
+ tablecell_merge :
+ {
+ label : lang.cell.merge,
+ group : 'tablecell',
+ command : 'cellMerge',
+ order : 16
+ },
+
+ tablecell_merge_right :
+ {
+ label : lang.cell.mergeRight,
+ group : 'tablecell',
+ command : 'cellMergeRight',
+ order : 17
+ },
+
+ tablecell_merge_down :
+ {
+ label : lang.cell.mergeDown,
+ group : 'tablecell',
+ command : 'cellMergeDown',
+ order : 18
+ },
+
+ tablecell_split_horizontal :
+ {
+ label : lang.cell.splitHorizontal,
+ group : 'tablecell',
+ command : 'cellHorizontalSplit',
+ order : 19
+ },
+
+ tablecell_split_vertical :
+ {
+ label : lang.cell.splitVertical,
+ group : 'tablecell',
+ command : 'cellVerticalSplit',
+ order : 20
+ },
+
+ tablecell_properties :
+ {
+ label : lang.cell.title,
+ group : 'tablecellproperties',
+ command : 'cellProperties',
+ order : 21
+ },
+
+ tablerow :
+ {
+ label : lang.row.menu,
+ group : 'tablerow',
+ order : 1,
+ getItems : function()
+ {
+ return {
+ tablerow_insertBefore : CKEDITOR.TRISTATE_OFF,
+ tablerow_insertAfter : CKEDITOR.TRISTATE_OFF,
+ tablerow_delete : CKEDITOR.TRISTATE_OFF
+ };
+ }
+ },
+
+ tablerow_insertBefore :
+ {
+ label : lang.row.insertBefore,
+ group : 'tablerow',
+ command : 'rowInsertBefore',
+ order : 5
+ },
+
+ tablerow_insertAfter :
+ {
+ label : lang.row.insertAfter,
+ group : 'tablerow',
+ command : 'rowInsertAfter',
+ order : 10
+ },
+
+ tablerow_delete :
+ {
+ label : lang.row.deleteRow,
+ group : 'tablerow',
+ command : 'rowDelete',
+ order : 15
+ },
+
+ tablecolumn :
+ {
+ label : lang.column.menu,
+ group : 'tablecolumn',
+ order : 1,
+ getItems : function()
+ {
+ return {
+ tablecolumn_insertBefore : CKEDITOR.TRISTATE_OFF,
+ tablecolumn_insertAfter : CKEDITOR.TRISTATE_OFF,
+ tablecolumn_delete : CKEDITOR.TRISTATE_OFF
+ };
+ }
+ },
+
+ tablecolumn_insertBefore :
+ {
+ label : lang.column.insertBefore,
+ group : 'tablecolumn',
+ command : 'columnInsertBefore',
+ order : 5
+ },
+
+ tablecolumn_insertAfter :
+ {
+ label : lang.column.insertAfter,
+ group : 'tablecolumn',
+ command : 'columnInsertAfter',
+ order : 10
+ },
+
+ tablecolumn_delete :
+ {
+ label : lang.column.deleteColumn,
+ group : 'tablecolumn',
+ command : 'columnDelete',
+ order : 15
+ }
+ });
+ }
+
+ // If the "contextmenu" plugin is laoded, register the listeners.
+ if ( editor.contextMenu )
+ {
+ editor.contextMenu.addListener( function( element, selection )
+ {
+ if ( !element || element.isReadOnly() )
+ return null;
+
+ while ( element )
+ {
+ if ( element.getName() in contextMenuTags )
+ {
+ return {
+ tablecell : CKEDITOR.TRISTATE_OFF,
+ tablerow : CKEDITOR.TRISTATE_OFF,
+ tablecolumn : CKEDITOR.TRISTATE_OFF
+ };
+ }
+ element = element.getParent();
+ }
+
+ return null;
+ } );
+ }
+ },
+
+ getSelectedCells : getSelectedCells
+
+ };
+ CKEDITOR.plugins.add( 'tabletools', CKEDITOR.plugins.tabletools );
+})();
+
+/**
+ * Create a two-dimension array that reflects the actual layout of table cells,
+ * with cell spans, with mappings to the original td elements.
+ * @param table {CKEDITOR.dom.element}
+ */
+CKEDITOR.tools.buildTableMap = function ( table )
+{
+ var aRows = table.$.rows ;
+
+ // Row and Column counters.
+ var r = -1 ;
+
+ var aMap = [];
+
+ for ( var i = 0 ; i < aRows.length ; i++ )
+ {
+ r++ ;
+ !aMap[r] && ( aMap[r] = [] );
+
+ var c = -1 ;
+
+ for ( var j = 0 ; j < aRows[i].cells.length ; j++ )
+ {
+ var oCell = aRows[i].cells[j] ;
+
+ c++ ;
+ while ( aMap[r][c] )
+ c++ ;
+
+ var iColSpan = isNaN( oCell.colSpan ) ? 1 : oCell.colSpan ;
+ var iRowSpan = isNaN( oCell.rowSpan ) ? 1 : oCell.rowSpan ;
+
+ for ( var rs = 0 ; rs < iRowSpan ; rs++ )
+ {
+ if ( !aMap[r + rs] )
+ aMap[r + rs] = [];
+
+ for ( var cs = 0 ; cs < iColSpan ; cs++ )
+ {
+ aMap[r + rs][c + cs] = aRows[i].cells[j] ;
+ }
+ }
+
+ c += iColSpan - 1 ;
+ }
+ }
+ return aMap ;
+};
diff --git a/devel/third-party/ckeditor/plugins/templates/dialogs/templates.js b/devel/third-party/ckeditor/plugins/templates/dialogs/templates.js
new file mode 100644
index 0000000..d3d78c6
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/templates/dialogs/templates.js
@@ -0,0 +1,231 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ var doc = CKEDITOR.document;
+
+ CKEDITOR.dialog.add( 'templates', function( editor )
+ {
+ // Constructs the HTML view of the specified templates data.
+ function renderTemplatesList( container, templatesDefinitions )
+ {
+ // clear loading wait text.
+ container.setHtml( '' );
+
+ for ( var i = 0 ; i < templatesDefinitions.length ; i++ )
+ {
+ var definition = CKEDITOR.getTemplates( templatesDefinitions[ i ] ),
+ imagesPath = definition.imagesPath,
+ templates = definition.templates,
+ count = templates.length;
+
+ for ( var j = 0 ; j < count ; j++ )
+ {
+ var template = templates[ j ],
+ item = createTemplateItem( template, imagesPath );
+ item.setAttribute( 'aria-posinset', j + 1 );
+ item.setAttribute( 'aria-setsize', count );
+ container.append( item );
+ }
+ }
+ }
+
+ function createTemplateItem( template, imagesPath )
+ {
+ var item = CKEDITOR.dom.element.createFromHtml(
+ '<a href="javascript:void(0)" tabIndex="-1" role="option" >' +
+ '<div class="cke_tpl_item"></div>' +
+ '</a>' );
+
+ // Build the inner HTML of our new item DIV.
+ var html = '<table style="width:350px;" class="cke_tpl_preview" role="presentation"><tr>';
+
+ if ( template.image && imagesPath )
+ html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"' + ( CKEDITOR.env.ie6Compat? ' onload="this.width=this.width"' : '' ) + ' alt="" title=""></td>';
+
+ html += '<td style="white-space:normal;"><span class="cke_tpl_title">' + template.title + '</span><br/>';
+
+ if ( template.description )
+ html += '<span>' + template.description + '</span>';
+
+ html += '</td></tr></table>';
+
+ item.getFirst().setHtml( html );
+
+ item.on( 'click', function() { insertTemplate( template.html ); } );
+
+ return item;
+ }
+
+ /**
+ * Insert the specified template content into editor.
+ * @param {Number} index
+ */
+ function insertTemplate( html )
+ {
+ var dialog = CKEDITOR.dialog.getCurrent(),
+ isInsert = dialog.getValueOf( 'selectTpl', 'chkInsertOpt' );
+
+ if ( isInsert )
+ {
+ // Everything should happen after the document is loaded (#4073).
+ editor.on( 'contentDom', function( evt )
+ {
+ evt.removeListener();
+ dialog.hide();
+
+ // Place the cursor at the first editable place.
+ var range = new CKEDITOR.dom.range( editor.document );
+ range.moveToElementEditStart( editor.document.getBody() );
+ range.select( true );
+ setTimeout( function ()
+ {
+ editor.fire( 'saveSnapshot' );
+ }, 0 );
+ } );
+
+ editor.fire( 'saveSnapshot' );
+ editor.setData( html );
+ }
+ else
+ {
+ editor.insertHtml( html );
+ dialog.hide();
+ }
+ }
+
+ function keyNavigation( evt )
+ {
+ var target = evt.data.getTarget(),
+ onList = listContainer.equals( target );
+
+ // Keyboard navigation for template list.
+ if ( onList || listContainer.contains( target ) )
+ {
+ var keystroke = evt.data.getKeystroke(),
+ items = listContainer.getElementsByTag( 'a' ),
+ focusItem;
+
+ if ( items )
+ {
+ // Focus not yet onto list items?
+ if ( onList )
+ focusItem = items.getItem( 0 );
+ else
+ {
+ switch ( keystroke )
+ {
+ case 40 : // ARROW-DOWN
+ focusItem = target.getNext();
+ break;
+
+ case 38 : // ARROW-UP
+ focusItem = target.getPrevious();
+ break;
+
+ case 13 : // ENTER
+ case 32 : // SPACE
+ target.fire( 'click' );
+ }
+ }
+
+ if ( focusItem )
+ {
+ focusItem.focus();
+ evt.data.preventDefault();
+ }
+ }
+ }
+ }
+
+ // Load skin at first.
+ CKEDITOR.skins.load( editor, 'templates' );
+
+ var listContainer;
+
+ var templateListLabelId = 'cke_tpl_list_label_' + CKEDITOR.tools.getNextNumber();
+ return {
+ title :editor.lang.templates.title,
+
+ minWidth : CKEDITOR.env.ie ? 440 : 400,
+ minHeight : 340,
+
+ contents :
+ [
+ {
+ id :'selectTpl',
+ label : editor.lang.templates.title,
+ elements :
+ [
+ {
+ type : 'vbox',
+ padding : 5,
+ children :
+ [
+ {
+ type : 'html',
+ html :
+ '<span>' +
+ editor.lang.templates.selectPromptMsg +
+ '</span>'
+ },
+ {
+ id : "templatesList",
+ type : 'html',
+ focus: true,
+ html :
+ '<div class="cke_tpl_list" tabIndex="-1" role="listbox" aria-labelledby="' + templateListLabelId+ '">' +
+ '<div class="cke_tpl_loading"><span></span></div>' +
+ '</div>' +
+ '<span class="cke_voice_label" id="' + templateListLabelId + '">' + editor.lang.templates.options+ '</span>'
+ },
+ {
+ id : 'chkInsertOpt',
+ type : 'checkbox',
+ label : editor.lang.templates.insertOption,
+ 'default' : editor.config.templates_replaceContent
+ }
+ ]
+ }
+ ]
+ }
+ ],
+
+ buttons : [ CKEDITOR.dialog.cancelButton ],
+
+ onShow : function()
+ {
+ var templatesListField = this.getContentElement( 'selectTpl' , 'templatesList' );
+ listContainer = templatesListField.getElement();
+
+ CKEDITOR.loadTemplates( editor.config.templates_files, function()
+ {
+ var templates = editor.config.templates.split( ',' );
+
+ if ( templates.length )
+ {
+ renderTemplatesList( listContainer, templates );
+ templatesListField.focus();
+ }
+ else
+ {
+ listContainer.setHtml(
+ '<div class="cke_tpl_empty">' +
+ '<span>' + editor.lang.templates.emptyListMsg + '</span>' +
+ '</div>' );
+ }
+ });
+
+ this._.element.on( 'keydown', keyNavigation );
+ },
+
+ onHide : function ()
+ {
+ this._.element.removeListener( 'keydown', keyNavigation );
+ }
+ };
+ });
+})();
diff --git a/devel/third-party/ckeditor/plugins/templates/plugin.js b/devel/third-party/ckeditor/plugins/templates/plugin.js
new file mode 100644
index 0000000..64d70e0
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/templates/plugin.js
@@ -0,0 +1,100 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+(function()
+{
+ CKEDITOR.plugins.add( 'templates',
+ {
+ requires : [ 'dialog' ],
+
+ init : function( editor )
+ {
+ CKEDITOR.dialog.add( 'templates', CKEDITOR.getUrl( this.path + 'dialogs/templates.js' ) );
+
+ editor.addCommand( 'templates', new CKEDITOR.dialogCommand( 'templates' ) );
+
+ editor.ui.addButton( 'Templates',
+ {
+ label : editor.lang.templates.button,
+ command : 'templates'
+ });
+ }
+ });
+
+ var templates = {},
+ loadedTemplatesFiles = {};
+
+ CKEDITOR.addTemplates = function( name, definition )
+ {
+ templates[ name ] = definition;
+ };
+
+ CKEDITOR.getTemplates = function( name )
+ {
+ return templates[ name ];
+ };
+
+ CKEDITOR.loadTemplates = function( templateFiles, callback )
+ {
+ // Holds the templates files to be loaded.
+ var toLoad = [];
+
+ // Look for pending template files to get loaded.
+ for ( var i = 0 ; i < templateFiles.length ; i++ )
+ {
+ if ( !loadedTemplatesFiles[ templateFiles[ i ] ] )
+ {
+ toLoad.push( templateFiles[ i ] );
+ loadedTemplatesFiles[ templateFiles[ i ] ] = 1;
+ }
+ }
+
+ if ( toLoad.length > 0 )
+ CKEDITOR.scriptLoader.load( toLoad, callback );
+ else
+ setTimeout( callback, 0 );
+ };
+})();
+
+
+
+/**
+ * The templates definition set to use. It accepts a list of names separated by
+ * comma. It must match definitions loaded with the templates_files setting.
+ * @type String
+ * @default 'default'
+ * @example
+ * config.templates = 'my_templates';
+ */
+CKEDITOR.config.templates = 'default';
+
+/**
+ * The list of templates definition files to load.
+ * @type (String) Array
+ * @default [ 'plugins/templates/templates/default.js' ]
+ * @example
+ * config.templates_files =
+ * [
+ * '/editor_templates/site_default.js',
+ * 'http://www.example.com/user_templates.js
+ * ];
+ *
+ */
+CKEDITOR.config.templates_files =
+ [
+ CKEDITOR.getUrl(
+ '_source/' + // @Packager.RemoveLine
+ 'plugins/templates/templates/default.js' )
+ ];
+
+/**
+ * Whether the "Replace actual contents" checkbox is checked by default in the
+ * Templates dialog.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.templates_replaceContent = false;
+ */
+CKEDITOR.config.templates_replaceContent = true;
diff --git a/devel/third-party/ckeditor/plugins/templates/templates/default.js b/devel/third-party/ckeditor/plugins/templates/templates/default.js
new file mode 100644
index 0000000..8bf9782
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/templates/templates/default.js
@@ -0,0 +1,94 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+// Register a templates definition set named "default".
+CKEDITOR.addTemplates( 'default',
+{
+ // The name of sub folder which hold the shortcut preview images of the
+ // templates.
+ imagesPath : CKEDITOR.getUrl( CKEDITOR.plugins.getPath( 'templates' ) + 'templates/images/' ),
+
+ // The templates definitions.
+ templates :
+ [
+ {
+ title: 'Image and Title',
+ image: 'template1.gif',
+ description: 'One main image with a title and text that surround the image.',
+ html:
+ '<h3>' +
+ '<img style="margin-right: 10px" height="100" width="100" align="left"/>' +
+ 'Type the title here'+
+ '</h3>' +
+ '<p>' +
+ 'Type the text here' +
+ '</p>'
+ },
+ {
+ title: 'Strange Template',
+ image: 'template2.gif',
+ description: 'A template that defines two colums, each one with a title, and some text.',
+ html:
+ '<table cellspacing="0" cellpadding="0" style="width:100%" border="0">' +
+ '<tr>' +
+ '<td style="width:50%">' +
+ '<h3>Title 1</h3>' +
+ '</td>' +
+ '<td></td>' +
+ '<td style="width:50%">' +
+ '<h3>Title 2</h3>' +
+ '</td>' +
+ '</tr>' +
+ '<tr>' +
+ '<td>' +
+ 'Text 1' +
+ '</td>' +
+ '<td></td>' +
+ '<td>' +
+ 'Text 2' +
+ '</td>' +
+ '</tr>' +
+ '</table>' +
+ '<p>' +
+ 'More text goes here.' +
+ '</p>'
+ },
+ {
+ title: 'Text and Table',
+ image: 'template3.gif',
+ description: 'A title with some text and a table.',
+ html:
+ '<div style="width: 80%">' +
+ '<h3>' +
+ 'Title goes here' +
+ '</h3>' +
+ '<table style="width:150px;float: right" cellspacing="0" cellpadding="0" border="1">' +
+ '<caption style="border:solid 1px black">' +
+ '<strong>Table title</strong>' +
+ '</caption>' +
+ '</tr>' +
+ '<tr>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '</tr>' +
+ '<tr>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '</tr>' +
+ '<tr>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '</tr>' +
+ '</table>' +
+ '<p>' +
+ 'Type the text here' +
+ '</p>' +
+ '</div>'
+ }
+ ]
+});
diff --git a/devel/third-party/ckeditor/plugins/toolbar/plugin.js b/devel/third-party/ckeditor/plugins/toolbar/plugin.js
new file mode 100644
index 0000000..5287752
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/toolbar/plugin.js
@@ -0,0 +1,481 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "toolbar" plugin. Renders the default toolbar interface in
+ * the editor.
+ */
+
+(function()
+{
+ var toolbox = function()
+ {
+ this.toolbars = [];
+ this.focusCommandExecuted = false;
+ };
+
+ toolbox.prototype.focus = function()
+ {
+ for ( var t = 0, toolbar ; toolbar = this.toolbars[ t++ ] ; )
+ {
+ for ( var i = 0, item ; item = toolbar.items[ i++ ] ; )
+ {
+ if ( item.focus )
+ {
+ item.focus();
+ return;
+ }
+ }
+ }
+ };
+
+ var commands =
+ {
+ toolbarFocus :
+ {
+ modes : { wysiwyg : 1, source : 1 },
+
+ exec : function( editor )
+ {
+ if ( editor.toolbox )
+ {
+ editor.toolbox.focusCommandExecuted = true;
+
+ // Make the first button focus accessible. (#3417)
+ if ( CKEDITOR.env.ie )
+ setTimeout( function(){ editor.toolbox.focus(); }, 100 );
+ else
+ editor.toolbox.focus();
+ }
+ }
+ }
+ };
+
+ CKEDITOR.plugins.add( 'toolbar',
+ {
+ init : function( editor )
+ {
+ var itemKeystroke = function( item, keystroke )
+ {
+ var next, nextToolGroup, groupItemsCount;
+ var rtl = editor.lang.dir == 'rtl';
+
+ switch ( keystroke )
+ {
+ case rtl ? 37 : 39 : // RIGHT-ARROW
+ case 9 : // TAB
+ do
+ {
+ // Look for the next item in the toolbar.
+ next = item.next;
+
+ if ( !next )
+ {
+ nextToolGroup = item.toolbar.next;
+ groupItemsCount = nextToolGroup && nextToolGroup.items.length;
+
+ // Bypass the empty toolgroups.
+ while ( groupItemsCount === 0 )
+ {
+ nextToolGroup = nextToolGroup.next;
+ groupItemsCount = nextToolGroup && nextToolGroup.items.length;
+ }
+
+ if ( nextToolGroup )
+ next = nextToolGroup.items[ 0 ];
+ }
+
+ item = next;
+ }
+ while ( item && !item.focus )
+
+ // If available, just focus it, otherwise focus the
+ // first one.
+ if ( item )
+ item.focus();
+ else
+ editor.toolbox.focus();
+
+ return false;
+
+ case rtl ? 39 : 37 : // LEFT-ARROW
+ case CKEDITOR.SHIFT + 9 : // SHIFT + TAB
+ do
+ {
+ // Look for the previous item in the toolbar.
+ next = item.previous;
+
+ if ( !next )
+ {
+ nextToolGroup = item.toolbar.previous;
+ groupItemsCount = nextToolGroup && nextToolGroup.items.length;
+
+ // Bypass the empty toolgroups.
+ while ( groupItemsCount === 0 )
+ {
+ nextToolGroup = nextToolGroup.previous;
+ groupItemsCount = nextToolGroup && nextToolGroup.items.length;
+ }
+
+ if ( nextToolGroup )
+ next = nextToolGroup.items[ groupItemsCount - 1 ];
+ }
+
+ item = next;
+ }
+ while ( item && !item.focus )
+
+ // If available, just focus it, otherwise focus the
+ // last one.
+ if ( item )
+ item.focus();
+ else
+ {
+ var lastToolbarItems = editor.toolbox.toolbars[ editor.toolbox.toolbars.length - 1 ].items;
+ lastToolbarItems[ lastToolbarItems.length - 1 ].focus();
+ }
+
+ return false;
+
+ case 27 : // ESC
+ editor.focus();
+ return false;
+
+ case 13 : // ENTER
+ case 32 : // SPACE
+ item.execute();
+ return false;
+ }
+ return true;
+ };
+
+ editor.on( 'themeSpace', function( event )
+ {
+ if ( event.data.space == editor.config.toolbarLocation )
+ {
+ editor.toolbox = new toolbox();
+
+ var labelId = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+ var output = [ '<div class="cke_toolbox" role="toolbar" aria-labelledby="', labelId, '"' ],
+ expanded = editor.config.toolbarStartupExpanded !== false,
+ groupStarted;
+
+ output.push( expanded ? '>' : ' style="display:none">' );
+
+ // Sends the ARIA label.
+ output.push( '<span id="', labelId, '" class="cke_voice_label">', editor.lang.toolbar, '</span>' );
+
+ var toolbars = editor.toolbox.toolbars,
+ toolbar =
+ ( editor.config.toolbar instanceof Array ) ?
+ editor.config.toolbar
+ :
+ editor.config[ 'toolbar_' + editor.config.toolbar ];
+
+ for ( var r = 0 ; r < toolbar.length ; r++ )
+ {
+ var row = toolbar[ r ];
+
+ // It's better to check if the row object is really
+ // available because it's a common mistake to leave
+ // an extra comma in the toolbar definition
+ // settings, which leads on the editor not loading
+ // at all in IE. (#3983)
+ if ( !row )
+ continue;
+
+ var toolbarId = 'cke_' + CKEDITOR.tools.getNextNumber(),
+ toolbarObj = { id : toolbarId, items : [] };
+
+ if ( groupStarted )
+ {
+ output.push( '</div>' );
+ groupStarted = 0;
+ }
+
+ if ( row === '/' )
+ {
+ output.push( '<div class="cke_break"></div>' );
+ continue;
+ }
+
+ output.push( '<span id="', toolbarId, '" class="cke_toolbar" role="presentation"><span class="cke_toolbar_start"></span>' );
+
+ // Add the toolbar to the "editor.toolbox.toolbars"
+ // array.
+ var index = toolbars.push( toolbarObj ) - 1;
+
+ // Create the next/previous reference.
+ if ( index > 0 )
+ {
+ toolbarObj.previous = toolbars[ index - 1 ];
+ toolbarObj.previous.next = toolbarObj;
+ }
+
+ // Create all items defined for this toolbar.
+ for ( var i = 0 ; i < row.length ; i++ )
+ {
+ var item,
+ itemName = row[ i ];
+
+ if ( itemName == '-' )
+ item = CKEDITOR.ui.separator;
+ else
+ item = editor.ui.create( itemName );
+
+ if ( item )
+ {
+ if ( item.canGroup )
+ {
+ if ( !groupStarted )
+ {
+ output.push( '<span class="cke_toolgroup" role="presentation">' );
+ groupStarted = 1;
+ }
+ }
+ else if ( groupStarted )
+ {
+ output.push( '</span>' );
+ groupStarted = 0;
+ }
+
+ var itemObj = item.render( editor, output );
+ index = toolbarObj.items.push( itemObj ) - 1;
+
+ if ( index > 0 )
+ {
+ itemObj.previous = toolbarObj.items[ index - 1 ];
+ itemObj.previous.next = itemObj;
+ }
+
+ itemObj.toolbar = toolbarObj;
+ itemObj.onkey = itemKeystroke;
+
+ /*
+ * Fix for #3052:
+ * Prevent JAWS from focusing the toolbar after document load.
+ */
+ itemObj.onfocus = function()
+ {
+ if ( !editor.toolbox.focusCommandExecuted )
+ editor.focus();
+ };
+ }
+ }
+
+ if ( groupStarted )
+ {
+ output.push( '</span>' );
+ groupStarted = 0;
+ }
+
+ output.push( '<span class="cke_toolbar_end"></span></span>' );
+ }
+
+ output.push( '</div>' );
+
+ if ( editor.config.toolbarCanCollapse )
+ {
+ var collapserFn = CKEDITOR.tools.addFunction(
+ function()
+ {
+ editor.execCommand( 'toolbarCollapse' );
+ } );
+
+ editor.on( 'destroy', function () {
+ CKEDITOR.tools.removeFunction( collapserFn );
+ } );
+
+ var collapserId = 'cke_' + CKEDITOR.tools.getNextNumber();
+
+ editor.addCommand( 'toolbarCollapse',
+ {
+ exec : function( editor )
+ {
+ var collapser = CKEDITOR.document.getById( collapserId );
+ var toolbox = collapser.getPrevious();
+ var contents = editor.getThemeSpace( 'contents' );
+ var toolboxContainer = toolbox.getParent();
+ var contentHeight = parseInt( contents.$.style.height, 10 );
+ var previousHeight = toolboxContainer.$.offsetHeight;
+ var collapsed = !toolbox.isVisible();
+
+ if ( !collapsed )
+ {
+ toolbox.hide();
+ collapser.addClass( 'cke_toolbox_collapser_min' );
+ collapser.setAttribute( 'title', editor.lang.toolbarExpand );
+ }
+ else
+ {
+ toolbox.show();
+ collapser.removeClass( 'cke_toolbox_collapser_min' );
+ collapser.setAttribute( 'title', editor.lang.toolbarCollapse );
+ }
+
+ // Update collapser symbol.
+ collapser.getFirst().setText( collapsed ?
+ '\u25B2' : // BLACK UP-POINTING TRIANGLE
+ '\u25C0' ); // BLACK LEFT-POINTING TRIANGLE
+
+ var dy = toolboxContainer.$.offsetHeight - previousHeight;
+ contents.setStyle( 'height', ( contentHeight - dy ) + 'px' );
+
+ editor.fire( 'resize' );
+ },
+
+ modes : { wysiwyg : 1, source : 1 }
+ } );
+
+ output.push( '<a title="' + ( expanded ? editor.lang.toolbarCollapse : editor.lang.toolbarExpand )
+ + '" id="' + collapserId + '" tabIndex="-1" class="cke_toolbox_collapser' );
+
+ if ( !expanded )
+ output.push( ' cke_toolbox_collapser_min' );
+
+ output.push( '" onclick="CKEDITOR.tools.callFunction(' + collapserFn + ')">',
+ '<span>▲</span>', // BLACK UP-POINTING TRIANGLE
+ '</a>' );
+ }
+
+ event.data.html += output.join( '' );
+ }
+ });
+
+ editor.addCommand( 'toolbarFocus', commands.toolbarFocus );
+ }
+ });
+})();
+
+/**
+ * The UI element that renders a toolbar separator.
+ * @type Object
+ * @example
+ */
+CKEDITOR.ui.separator =
+{
+ render : function( editor, output )
+ {
+ output.push( '<span class="cke_separator" role="separator"></span>' );
+ return {};
+ }
+};
+
+/**
+ * The "theme space" to which rendering the toolbar. For the default theme,
+ * the recommended options are "top" and "bottom".
+ * @type String
+ * @default 'top'
+ * @see CKEDITOR.config.theme
+ * @example
+ * config.toolbarLocation = 'bottom';
+ */
+CKEDITOR.config.toolbarLocation = 'top';
+
+/**
+ * The toolbar definition. It is an array of toolbars (strips),
+ * each one being also an array, containing a list of UI items.
+ * Note that this setting is composed by "toolbar_" added by the toolbar name,
+ * which in this case is called "Basic". This second part of the setting name
+ * can be anything. You must use this name in the
+ * {@link CKEDITOR.config.toolbar} setting, so you instruct the editor which
+ * toolbar_(name) setting to you.
+ * @type Array
+ * @example
+ * // Defines a toolbar with only one strip containing the "Source" button, a
+ * // separator and the "Bold" and "Italic" buttons.
+ * <b>config.toolbar_Basic =
+ * [
+ * [ 'Source', '-', 'Bold', 'Italic' ]
+ * ]</b>;
+ * config.toolbar = 'Basic';
+ */
+CKEDITOR.config.toolbar_Basic =
+[
+ ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']
+];
+
+/**
+ * This is the default toolbar definition used by the editor. It contains all
+ * editor features.
+ * @type Array
+ * @default (see example)
+ * @example
+ * // This is actually the default value.
+ * config.toolbar_Full =
+ * [
+ * ['Source','-','Save','NewPage','Preview','-','Templates'],
+ * ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
+ * ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
+ * ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
+ * '/',
+ * ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
+ * ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
+ * ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+ * ['BidiLtr', 'BidiRtl' ],
+ * ['Link','Unlink','Anchor'],
+ * ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
+ * '/',
+ * ['Styles','Format','Font','FontSize'],
+ * ['TextColor','BGColor'],
+ * ['Maximize', 'ShowBlocks','-','About']
+ * ];
+ */
+CKEDITOR.config.toolbar_Full =
+[
+ ['Source','-','Save','NewPage','Preview','-','Templates'],
+ ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
+ ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
+ ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
+ '/',
+ ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
+ ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
+ ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
+ ['BidiLtr', 'BidiRtl' ],
+ ['Link','Unlink','Anchor'],
+ ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
+ '/',
+ ['Styles','Format','Font','FontSize'],
+ ['TextColor','BGColor'],
+ ['Maximize', 'ShowBlocks','-','About']
+];
+
+/**
+ * The toolbox (alias toolbar) definition. It is a toolbar name or an array of
+ * toolbars (strips), each one being also an array, containing a list of UI items.
+ * @type Array|String
+ * @default 'Full'
+ * @example
+ * // Defines a toolbar with only one strip containing the "Source" button, a
+ * // separator and the "Bold" and "Italic" buttons.
+ * config.toolbar =
+ * [
+ * [ 'Source', '-', 'Bold', 'Italic' ]
+ * ];
+ * @example
+ * // Load toolbar_Name where Name = Basic.
+ * config.toolbar = 'Basic';
+ */
+CKEDITOR.config.toolbar = 'Full';
+
+/**
+ * Whether the toolbar can be collapsed by the user. If disabled, the collapser
+ * button will not be displayed.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.toolbarCanCollapse = false;
+ */
+CKEDITOR.config.toolbarCanCollapse = true;
+
+/**
+ * Whether the toolbar must start expanded when the editor is loaded.
+ * @name CKEDITOR.config.toolbarStartupExpanded
+ * @type Boolean
+ * @default true
+ * @example
+ * config.toolbarStartupExpanded = false;
+ */
diff --git a/devel/third-party/ckeditor/plugins/uicolor/dialogs/uicolor.js b/devel/third-party/ckeditor/plugins/uicolor/dialogs/uicolor.js
new file mode 100644
index 0000000..7d49394
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/uicolor/dialogs/uicolor.js
@@ -0,0 +1,205 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'uicolor', function( editor )
+{
+ var dialog, picker, pickerContents,
+ // Actual UI color value.
+ uiColor = editor.getUiColor(),
+ pickerId = 'cke_uicolor_picker' + CKEDITOR.tools.getNextNumber();
+
+ function setNewPickerColor( color )
+ {
+ // Convert HEX representation to RGB, stripping # char.
+ if ( /^#/.test( color ) )
+ color = window.YAHOO.util.Color.hex2rgb( color.substr( 1 ) );
+ picker.setValue( color, true );
+ // Refresh picker UI.
+ picker.refresh( pickerId );
+ }
+
+ function setNewUiColor( color, force )
+ {
+ if ( force || dialog._.contents.tab1.livePeview.getValue() )
+ editor.setUiColor( color );
+ // Write new config string into textbox.
+ dialog._.contents.tab1.configBox.setValue(
+ 'config.uiColor = "#' + picker.get( "hex" ) + '"'
+ );
+ }
+
+ pickerContents =
+ {
+ id : 'yuiColorPicker',
+ type : 'html',
+ html : "<div id='" + pickerId + "' class='cke_uicolor_picker' style='width: 360px; height: 200px; position: relative;'></div>",
+ onLoad : function( event )
+ {
+ var url = CKEDITOR.getUrl(
+ '_source/' + // @Packager.RemoveLine
+ 'plugins/uicolor/yui/'
+ );
+
+ // Create new color picker widget.
+ picker = new window.YAHOO.widget.ColorPicker( pickerId,
+ {
+ showhsvcontrols : true,
+ showhexcontrols : true,
+ images :
+ {
+ PICKER_THUMB : url + "assets/picker_thumb.png",
+ HUE_THUMB : url + "assets/hue_thumb.png"
+ }
+ });
+
+ // Set actual UI color to the picker.
+ if ( uiColor )
+ setNewPickerColor( uiColor );
+
+ // Subscribe to the rgbChange event.
+ picker.on( "rgbChange", function()
+ {
+ // Reset predefined box.
+ dialog._.contents.tab1.predefined.setValue( '' );
+ setNewUiColor( '#' + picker.get( 'hex' ) );
+ });
+
+ // Fix input class names.
+ var inputs = new CKEDITOR.dom.nodeList( picker.getElementsByTagName( 'input' ) );
+ for ( var i = 0; i < inputs.count() ; i++ )
+ inputs.getItem( i ).addClass( 'cke_dialog_ui_input_text' );
+ }
+ };
+
+ var skipPreviewChange = true;
+
+ return {
+ title : editor.lang.uicolor.title,
+ minWidth : 360,
+ minHeight : 320,
+ onLoad : function()
+ {
+ dialog = this;
+ this.setupContent();
+
+ // #3808
+ if ( CKEDITOR.env.ie7Compat )
+ dialog.parts.contents.setStyle( 'overflow', 'hidden' );
+ },
+ contents : [
+ {
+ id : 'tab1',
+ label : '',
+ title : '',
+ expand : true,
+ padding : 0,
+ elements : [
+ pickerContents,
+ {
+ id : 'tab1',
+ type : 'vbox',
+ children :
+ [
+ {
+ id : 'livePeview',
+ type : 'checkbox',
+ label : editor.lang.uicolor.preview,
+ 'default' : 1,
+ onLoad : function()
+ {
+ skipPreviewChange = true;
+ },
+ onChange : function()
+ {
+ if ( skipPreviewChange )
+ return;
+ var on = this.getValue(),
+ color = on ? '#' + picker.get( 'hex' ) : uiColor;
+ setNewUiColor( color, true );
+ }
+ },
+ {
+ type : 'hbox',
+ children :
+ [
+ {
+ id : 'predefined',
+ type : 'select',
+ 'default' : '',
+ label : editor.lang.uicolor.predefined,
+ items :
+ [
+ [ '' ],
+ [ 'Light blue', '#9AB8F3' ],
+ [ 'Sand', '#D2B48C' ],
+ [ 'Metallic', '#949AAA' ],
+ [ 'Purple', '#C2A3C7' ],
+ [ 'Olive', '#A2C980' ],
+ [ 'Happy green', '#9BD446' ],
+ [ 'Jezebel Blue', '#14B8C4' ],
+ [ 'Burn', '#FF893A' ],
+ [ 'Easy red', '#FF6969' ],
+ [ 'Pisces 3', '#48B4F2' ],
+ [ 'Aquarius 5', '#487ED4' ],
+ [ 'Absinthe', '#A8CF76' ],
+ [ 'Scrambled Egg', '#C7A622' ],
+ [ 'Hello monday', '#8E8D80' ],
+ [ 'Lovely sunshine', '#F1E8B1' ],
+ [ 'Recycled air', '#B3C593' ],
+ [ 'Down', '#BCBCA4' ],
+ [ 'Mark Twain', '#CFE91D' ],
+ [ 'Specks of dust', '#D1B596' ],
+ [ 'Lollipop', '#F6CE23' ]
+ ],
+ onChange : function()
+ {
+ var color = this.getValue();
+ if ( color )
+ {
+ setNewPickerColor( color );
+ setNewUiColor( color );
+ // Refresh predefined preview box.
+ CKEDITOR.document.getById( 'predefinedPreview' ).setStyle( 'background', color );
+ }
+ else
+ CKEDITOR.document.getById( 'predefinedPreview' ).setStyle( 'background', '' );
+ },
+ onShow : function()
+ {
+ var color = editor.getUiColor();
+ if ( color )
+ this.setValue( color );
+ }
+ },
+ {
+ id : 'predefinedPreview',
+ type : 'html',
+ html : '<div id="cke_uicolor_preview" style="border: 1px solid black; padding: 3px; width: 30px;">' +
+ '<div id="predefinedPreview" style="width: 30px; height: 30px;"> </div>' +
+ '</div>'
+ }
+ ]
+ },
+ {
+ id : 'configBox',
+ type : 'text',
+ label : editor.lang.uicolor.config,
+ onShow : function()
+ {
+ var color = editor.getUiColor();
+ if ( color )
+ this.setValue(
+ 'config.uiColor = "' + color + '"'
+ );
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ buttons : [ CKEDITOR.dialog.okButton ]
+ };
+} );
diff --git a/devel/third-party/ckeditor/plugins/uicolor/lang/en.js b/devel/third-party/ckeditor/plugins/uicolor/lang/en.js
new file mode 100644
index 0000000..9c47822
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/uicolor/lang/en.js
@@ -0,0 +1,15 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.setLang( 'uicolor', 'en',
+{
+ uicolor :
+ {
+ title : 'UI Color Picker',
+ preview : 'Live preview',
+ config : 'Paste this string into your config.js file',
+ predefined : 'Predefined color sets'
+ }
+});
diff --git a/devel/third-party/ckeditor/plugins/uicolor/plugin.js b/devel/third-party/ckeditor/plugins/uicolor/plugin.js
new file mode 100644
index 0000000..007f59f
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/uicolor/plugin.js
@@ -0,0 +1,37 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.plugins.add( 'uicolor',
+{
+ requires : [ 'dialog' ],
+ lang : [ 'en' ],
+
+ init : function( editor )
+ {
+ if ( CKEDITOR.env.ie6Compat )
+ return;
+
+ editor.addCommand( 'uicolor', new CKEDITOR.dialogCommand( 'uicolor' ) );
+ editor.ui.addButton( 'UIColor',
+ {
+ label : editor.lang.uicolor.title,
+ command : 'uicolor',
+ icon : this.path + 'uicolor.gif'
+ });
+ CKEDITOR.dialog.add( 'uicolor', this.path + 'dialogs/uicolor.js' );
+
+ // Load YUI js files.
+ CKEDITOR.scriptLoader.load( CKEDITOR.getUrl(
+ '_source/' + // @Packager.RemoveLine
+ 'plugins/uicolor/yui/yui.js'
+ ));
+
+ // Load YUI css files.
+ editor.element.getDocument().appendStyleSheet( CKEDITOR.getUrl(
+ '_source/' + // @Packager.RemoveLine
+ 'plugins/uicolor/yui/assets/yui.css'
+ ));
+ }
+} );
diff --git a/devel/third-party/ckeditor/plugins/uicolor/yui/assets/yui.css b/devel/third-party/ckeditor/plugins/uicolor/yui/assets/yui.css
new file mode 100644
index 0000000..e7dbd79
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/uicolor/yui/assets/yui.css
@@ -0,0 +1,15 @@
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+.yui-h-slider,.yui-v-slider{position:relative;}.yui-h-slider .yui-slider-thumb,.yui-v-slider .yui-slider-thumb{position:absolute;cursor:default;}.yui-skin-sam .yui-h-slider{background:url(bg-h.gif) no-repeat 5px 0;height:28px;width:228px;}.yui-skin-sam .yui-h-slider .yui-slider-thumb{top:4px;}.yui-skin-sam .yui-v-slider{background:url(bg-v.gif) no-repeat 12px 0;height:228px;width:48px;}
+
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+.cke_uicolor_picker .yui-picker-panel{background:#e3e3e3;border-color:#888;}.cke_uicolor_picker .yui-picker-panel .hd{background-color:#ccc;font-size:100%;line-height:100%;border:1px solid #e3e3e3;font-weight:bold;overflow:hidden;padding:6px;color:#000;}.cke_uicolor_picker .yui-picker-panel .bd{background:#e8e8e8;margin:1px;height:200px;}.cke_uicolor_picker .yui-picker-panel .ft{background:#e8e8e8;margin:1px;padding:1px;}.cke_uicolor_picker .yui-picker{position:relative;}.cke_uicolor_picker .yui-picker-hue-thumb{cursor:default;width:18px;height:18px;top:-8px;left:-2px;z-index:9;position:absolute;}.cke_uicolor_picker .yui-picker-hue-bg{-moz-outline:none;outline:0 none;position:absolute;left:200px;height:183px;width:14px;background:url(hue_bg.png) no-repeat;top:4px;}.cke_uicolor_picker .yui-picker-bg{-moz-outline:none;outline:0 none;position:absolute;top:4px;left:4px;height:182px;width:182px;background-color:#F00;background-image:url(picker_mask.png);}*html .cke_uicolor_picker
.yui-picker-bg{background-image:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='picker_mask.png',sizingMethod='scale');}.cke_uicolor_picker .yui-picker-mask{position:absolute;z-index:1;top:0;left:0;}.cke_uicolor_picker .yui-picker-thumb{cursor:default;width:11px;height:11px;z-index:9;position:absolute;top:-4px;left:-4px;}.cke_uicolor_picker .yui-picker-swatch{position:absolute;left:240px;top:4px;height:60px;width:55px;border:1px solid #888;}.cke_uicolor_picker .yui-picker-websafe-swatch{position:absolute;left:304px;top:4px;height:24px;width:24px;border:1px solid #888;}.cke_uicolor_picker .yui-picker-controls{position:absolute;top:72px;left:226px;font:1em monospace;}.cke_uicolor_picker .yui-picker-controls .hd{background:transparent;border-width:0!important;}.cke_uicolor_picker .yui-picker-controls .bd{height:100px;border-width:0!important;}.cke_uicolor_picker .yui-picker-controls ul{float:left;padding:0 2px 0 0;margin:0;}.cke_uicolor_picker .yui-picker-c
ontrols li{padding:2px;list-style:none;margin:0;}.cke_uicolor_picker .yui-picker-controls input{font-size:.85em;width:2.4em;}.cke_uicolor_picker .yui-picker-hex-controls{clear:both;padding:2px;}.cke_uicolor_picker .yui-picker-hex-controls input{width:4.6em;}.cke_uicolor_picker .yui-picker-controls a{font:1em arial,helvetica,clean,sans-serif;display:block;*display:inline-block;padding:0;color:#000;}
diff --git a/devel/third-party/ckeditor/plugins/uicolor/yui/yui.js b/devel/third-party/ckeditor/plugins/uicolor/yui/yui.js
new file mode 100644
index 0000000..714d141
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/uicolor/yui/yui.js
@@ -0,0 +1,71 @@
+/*jsl:ignoreall*/
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+if(typeof YAHOO=="undefined"||!YAHOO){var YAHOO={};}YAHOO.namespace=function(){var A=arguments,E=null,C,B,D;for(C=0;C<A.length;C=C+1){D=(""+A[C]).split(".");E=YAHOO;for(B=(D[0]=="YAHOO")?1:0;B<D.length;B=B+1){E[D[B]]=E[D[B]]||{};E=E[D[B]];}}return E;};YAHOO.log=function(D,A,C){var B=YAHOO.widget.Logger;if(B&&B.log){return B.log(D,A,C);}else{return false;}};YAHOO.register=function(A,E,D){var I=YAHOO.env.modules,B,H,G,F,C;if(!I[A]){I[A]={versions:[],builds:[]};}B=I[A];H=D.version;G=D.build;F=YAHOO.env.listeners;B.name=A;B.version=H;B.build=G;B.versions.push(H);B.builds.push(G);B.mainClass=E;for(C=0;C<F.length;C=C+1){F[C](B);}if(E){E.VERSION=H;E.BUILD=G;}else{YAHOO.log("mainClass is undefined for module "+A,"warn");}};YAHOO.env=YAHOO.env||{modules:[],listeners:[]};YAHOO.env.getVersion=function(A){return YAHOO.env.modules[A]||null;};YAHOO.env.ua=function(){var C={ie:0,opera:0,gecko:0,webkit:0,mobile:null,air:0,caja:0},B=navigator.userAgent,A;if((/KHTML/).test(B)){C.webkit=1;}A=B
.match(/AppleWebKit\/([^\s]*)/);if(A&&A[1]){C.webkit=parseFloat(A[1]);if(/ Mobile\//.test(B)){C.mobile="Apple";}else{A=B.match(/NokiaN[^\/]*/);if(A){C.mobile=A[0];}}A=B.match(/AdobeAIR\/([^\s]*)/);if(A){C.air=A[0];}}if(!C.webkit){A=B.match(/Opera[\s\/]([^\s]*)/);if(A&&A[1]){C.opera=parseFloat(A[1]);A=B.match(/Opera Mini[^;]*/);if(A){C.mobile=A[0];}}else{A=B.match(/MSIE\s([^;]*)/);if(A&&A[1]){C.ie=parseFloat(A[1]);}else{A=B.match(/Gecko\/([^\s]*)/);if(A){C.gecko=1;A=B.match(/rv:([^\s\)]*)/);if(A&&A[1]){C.gecko=parseFloat(A[1]);}}}}}A=B.match(/Caja\/([^\s]*)/);if(A&&A[1]){C.caja=parseFloat(A[1]);}return C;}();(function(){YAHOO.namespace("util","widget","example");if("undefined"!==typeof YAHOO_config){var B=YAHOO_config.listener,A=YAHOO.env.listeners,D=true,C;if(B){for(C=0;C<A.length;C=C+1){if(A[C]==B){D=false;break;}}if(D){A.push(B);}}}})();YAHOO.lang=YAHOO.lang||{};(function(){var B=YAHOO.lang,F="[object Array]",C="[object Function]",A=Object.prototype,E=["toString","valueOf"
],D={isArray:function(G){return A.toString.apply(G)===F;},isBoolean:function(G){return typeof G==="boolean";},isFunction:function(G){return A.toString.apply(G)===C;},isNull:function(G){return G===null;},isNumber:function(G){return typeof G==="number"&&isFinite(G);},isObject:function(G){return(G&&(typeof G==="object"||B.isFunction(G)))||false;},isString:function(G){return typeof G==="string";},isUndefined:function(G){return typeof G==="undefined";},_IEEnumFix:(YAHOO.env.ua.ie)?function(I,H){var G,K,J;for(G=0;G<E.length;G=G+1){K=E[G];J=H[K];if(B.isFunction(J)&&J!=A[K]){I[K]=J;}}}:function(){},extend:function(J,K,I){if(!K||!J){throw new Error("extend failed, please check that "+"all dependencies are included.");}var H=function(){},G;H.prototype=K.prototype;J.prototype=new H();J.prototype.constructor=J;J.superclass=K.prototype;if(K.prototype.constructor==A.constructor){K.prototype.constructor=K;}if(I){for(G in I){if(B.hasOwnProperty(I,G)){J.prototype[G]=I[G];}}B._IEEnumFix(J.pro
totype,I);}},augmentObject:function(K,J){if(!J||!K){throw new Error("Absorb failed, verify dependencies.");}var G=arguments,I,L,H=G[2];if(H&&H!==true){for(I=2;I<G.length;I=I+1){K[G[I]]=J[G[I]];}}else{for(L in J){if(H||!(L in K)){K[L]=J[L];}}B._IEEnumFix(K,J);}},augmentProto:function(J,I){if(!I||!J){throw new Error("Augment failed, verify dependencies.");}var G=[J.prototype,I.prototype],H;for(H=2;H<arguments.length;H=H+1){G.push(arguments[H]);}B.augmentObject.apply(this,G);},dump:function(G,L){var I,K,N=[],O="{...}",H="f(){...}",M=", ",J=" => ";if(!B.isObject(G)){return G+"";}else{if(G instanceof Date||("nodeType" in G&&"tagName" in G)){return G;}else{if(B.isFunction(G)){return H;}}}L=(B.isNumber(L))?L:3;if(B.isArray(G)){N.push("[");for(I=0,K=G.length;I<K;I=I+1){if(B.isObject(G[I])){N.push((L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}if(N.length>1){N.pop();}N.push("]");}else{N.push("{");for(I in G){if(B.hasOwnProperty(G,I)){N.push(I+J);if(B.isObject(G[I])){N.push(
(L>0)?B.dump(G[I],L-1):O);}else{N.push(G[I]);}N.push(M);}}if(N.length>1){N.pop();}N.push("}");}return N.join("");},substitute:function(V,H,O){var L,K,J,R,S,U,Q=[],I,M="dump",P=" ",G="{",T="}",N;for(;;){L=V.lastIndexOf(G);if(L<0){break;}K=V.indexOf(T,L);if(L+1>=K){break;}I=V.substring(L+1,K);R=I;U=null;J=R.indexOf(P);if(J>-1){U=R.substring(J+1);R=R.substring(0,J);}S=H[R];if(O){S=O(R,S,U);}if(B.isObject(S)){if(B.isArray(S)){S=B.dump(S,parseInt(U,10));}else{U=U||"";N=U.indexOf(M);if(N>-1){U=U.substring(4);}if(S.toString===A.toString||N>-1){S=B.dump(S,parseInt(U,10));}else{S=S.toString();}}}else{if(!B.isString(S)&&!B.isNumber(S)){S="~-"+Q.length+"-~";Q[Q.length]=I;}}V=V.substring(0,L)+S+V.substring(K+1);}for(L=Q.length-1;L>=0;L=L-1){V=V.replace(new RegExp("~-"+L+"-~"),"{"+Q[L]+"}","g");}return V;},trim:function(G){try{return G.replace(/^\s+|\s+$/g,"");}catch(H){return G;}},merge:function(){var J={},H=arguments,G=H.length,I;for(I=0;I<G;I=I+1){B.augmentObject(J,H[I],true);}return
J;},later:function(N,H,O,J,K){N=N||0;H=H||{};var I=O,M=J,L,G;if(B.isString(O)){I=H[O];}if(!I){throw new TypeError("method undefined");}if(!B.isArray(M)){M=[J];}L=function(){I.apply(H,M);};G=(K)?setInterval(L,N):setTimeout(L,N);return{interval:K,cancel:function(){if(this.interval){clearInterval(G);}else{clearTimeout(G);}}};},isValue:function(G){return(B.isObject(G)||B.isString(G)||B.isNumber(G)||B.isBoolean(G));}};B.hasOwnProperty=(A.hasOwnProperty)?function(G,H){return G&&G.hasOwnProperty(H);}:function(G,H){return !B.isUndefined(G[H])&&G.constructor.prototype[H]!==G[H];};D.augmentObject(B,D,true);YAHOO.util.Lang=B;B.augment=B.augmentProto;YAHOO.augment=B.augmentProto;YAHOO.extend=B.extend;})();YAHOO.register("yahoo",YAHOO,{version:"2.7.0",build:"1796"});(function(){YAHOO.env._id_counter=YAHOO.env._id_counter||0;var E=YAHOO.util,L=YAHOO.lang,m=YAHOO.env.ua,A=YAHOO.lang.trim,d={},h={},N=/^t(?:able|d|h)$/i,X=/color$/i,K=window.document,W=K.documentElement,e="ownerDocument",n="d
efaultView",v="documentElement",t="compatMode",b="offsetLeft",P="offsetTop",u="offsetParent",Z="parentNode",l="nodeType",C="tagName",O="scrollLeft",i="scrollTop",Q="getBoundingClientRect",w="getComputedStyle",a="currentStyle",M="CSS1Compat",c="BackCompat",g="class",F="className",J="",B=" ",s="(?:^|\\s)",k="(?= |$)",U="g",p="position",f="fixed",V="relative",j="left",o="top",r="medium",q="borderLeftWidth",R="borderTopWidth",D=m.opera,I=m.webkit,H=m.gecko,T=m.ie;E.Dom={CUSTOM_ATTRIBUTES:(!W.hasAttribute)?{"for":"htmlFor","class":F}:{"htmlFor":"for","className":g},get:function(y){var AA,Y,z,x,G;if(y){if(y[l]||y.item){return y;}if(typeof y==="string"){AA=y;y=K.getElementById(y);if(y&&y.id===AA){return y;}else{if(y&&K.all){y=null;Y=K.all[AA];for(x=0,G=Y.length;x<G;++x){if(Y[x].id===AA){return Y[x];}}}}return y;}if(y.DOM_EVENTS){y=y.get("element");}if("length" in y){z=[];for(x=0,G=y.length;x<G;++x){z[z.length]=E.Dom.get(y[x]);}return z;}return y;}return null;},getComputedStyle:func
tion(G,Y){if(window[w]){return G[e][n][w](G,null)[Y];}else{if(G[a]){return E.Dom.IE_ComputedStyle.get(G,Y);}}},getStyle:function(G,Y){return E.Dom.batch(G,E.Dom._getStyle,Y);},_getStyle:function(){if(window[w]){return function(G,y){y=(y==="float")?y="cssFloat":E.Dom._toCamel(y);var x=G.style[y],Y;if(!x){Y=G[e][n][w](G,null);if(Y){x=Y[y];}}return x;};}else{if(W[a]){return function(G,y){var x;switch(y){case"opacity":x=100;try{x=G.filters["DXImageTransform.Microsoft.Alpha"].opacity;}catch(z){try{x=G.filters("alpha").opacity;}catch(Y){}}return x/100;case"float":y="styleFloat";default:y=E.Dom._toCamel(y);x=G[a]?G[a][y]:null;return(G.style[y]||x);}};}}}(),setStyle:function(G,Y,x){E.Dom.batch(G,E.Dom._setStyle,{prop:Y,val:x});},_setStyle:function(){if(T){return function(Y,G){var x=E.Dom._toCamel(G.prop),y=G.val;if(Y){switch(x){case"opacity":if(L.isString(Y.style.filter)){Y.style.filter="alpha(opacity="+y*100+")";if(!Y[a]||!Y[a].hasLayout){Y.style.zoom=1;}}break;case"float":x="style
Float";default:Y.style[x]=y;}}else{}};}else{return function(Y,G){var x=E.Dom._toCamel(G.prop),y=G.val;if(Y){if(x=="float"){x="cssFloat";}Y.style[x]=y;}else{}};}}(),getXY:function(G){return E.Dom.batch(G,E.Dom._getXY);},_canPosition:function(G){return(E.Dom._getStyle(G,"display")!=="none"&&E.Dom._inDoc(G));},_getXY:function(){if(K[v][Q]){return function(y){var z,Y,AA,AF,AE,AD,AC,G,x,AB=Math.floor,AG=false;if(E.Dom._canPosition(y)){AA=y[Q]();AF=y[e];z=E.Dom.getDocumentScrollLeft(AF);Y=E.Dom.getDocumentScrollTop(AF);AG=[AB(AA[j]),AB(AA[o])];if(T&&m.ie<8){AE=2;AD=2;AC=AF[t];G=S(AF[v],q);x=S(AF[v],R);if(m.ie===6){if(AC!==c){AE=0;AD=0;}}if((AC==c)){if(G!==r){AE=parseInt(G,10);}if(x!==r){AD=parseInt(x,10);}}AG[0]-=AE;AG[1]-=AD;}if((Y||z)){AG[0]+=z;AG[1]+=Y;}AG[0]=AB(AG[0]);AG[1]=AB(AG[1]);}else{}return AG;};}else{return function(y){var x,Y,AA,AB,AC,z=false,G=y;if(E.Dom._canPosition(y)){z=[y[b],y[P]];x=E.Dom.getDocumentScrollLeft(y[e]);Y=E.Dom.getDocumentScrollTop(y[e]);AC=((H||m.we
bkit>519)?true:false);while((G=G[u])){z[0]+=G[b];z[1]+=G[P];if(AC){z=E.Dom._calcBorders(G,z);}}if(E.Dom._getStyle(y,p)!==f){G=y;while((G=G[Z])&&G[C]){AA=G[i];AB=G[O];if(H&&(E.Dom._getStyle(G,"overflow")!=="visible")){z=E.Dom._calcBorders(G,z);}if(AA||AB){z[0]-=AB;z[1]-=AA;}}z[0]+=x;z[1]+=Y;}else{if(D){z[0]-=x;z[1]-=Y;}else{if(I||H){z[0]+=x;z[1]+=Y;}}}z[0]=Math.floor(z[0]);z[1]=Math.floor(z[1]);}else{}return z;};}}(),getX:function(G){var Y=function(x){return E.Dom.getXY(x)[0];};return E.Dom.batch(G,Y,E.Dom,true);},getY:function(G){var Y=function(x){return E.Dom.getXY(x)[1];};return E.Dom.batch(G,Y,E.Dom,true);},setXY:function(G,x,Y){E.Dom.batch(G,E.Dom._setXY,{pos:x,noRetry:Y});},_setXY:function(G,z){var AA=E.Dom._getStyle(G,p),y=E.Dom.setStyle,AD=z.pos,Y=z.noRetry,AB=[parseInt(E.Dom.getComputedStyle(G,j),10),parseInt(E.Dom.getComputedStyle(G,o),10)],AC,x;if(AA=="static"){AA=V;y(G,p,AA);}AC=E.Dom._getXY(G);if(!AD||AC===false){return false;}if(isNaN(AB[0])){AB[0]=(AA==V)?0:G[b
];}if(isNaN(AB[1])){AB[1]=(AA==V)?0:G[P];}if(AD[0]!==null){y(G,j,AD[0]-AC[0]+AB[0]+"px");}if(AD[1]!==null){y(G,o,AD[1]-AC[1]+AB[1]+"px");}if(!Y){x=E.Dom._getXY(G);if((AD[0]!==null&&x[0]!=AD[0])||(AD[1]!==null&&x[1]!=AD[1])){E.Dom._setXY(G,{pos:AD,noRetry:true});}}},setX:function(Y,G){E.Dom.setXY(Y,[G,null]);},setY:function(G,Y){E.Dom.setXY(G,[null,Y]);},getRegion:function(G){var Y=function(x){var y=false;if(E.Dom._canPosition(x)){y=E.Region.getRegion(x);}else{}return y;};return E.Dom.batch(G,Y,E.Dom,true);},getClientWidth:function(){return E.Dom.getViewportWidth();},getClientHeight:function(){return E.Dom.getViewportHeight();},getElementsByClassName:function(AB,AF,AC,AE,x,AD){AB=L.trim(AB);AF=AF||"*";AC=(AC)?E.Dom.get(AC):null||K;if(!AC){return[];}var Y=[],G=AC.getElementsByTagName(AF),z=E.Dom.hasClass;for(var y=0,AA=G.length;y<AA;++y){if(z(G[y],AB)){Y[Y.length]=G[y];}}if(AE){E.Dom.batch(Y,AE,x,AD);}return Y;},hasClass:function(Y,G){return E.Dom.batch(Y,E.Dom._hasClass,G);},
_hasClass:function(x,Y){var G=false,y;if(x&&Y){y=E.Dom.getAttribute(x,F)||J;if(Y.exec){G=Y.test(y);}else{G=Y&&(B+y+B).indexOf(B+Y+B)>-1;}}else{}return G;},addClass:function(Y,G){return E.Dom.batch(Y,E.Dom._addClass,G);},_addClass:function(x,Y){var G=false,y;if(x&&Y){y=E.Dom.getAttribute(x,F)||J;if(!E.Dom._hasClass(x,Y)){E.Dom.setAttribute(x,F,A(y+B+Y));G=true;}}else{}return G;},removeClass:function(Y,G){return E.Dom.batch(Y,E.Dom._removeClass,G);},_removeClass:function(y,x){var Y=false,AA,z,G;if(y&&x){AA=E.Dom.getAttribute(y,F)||J;E.Dom.setAttribute(y,F,AA.replace(E.Dom._getClassRegex(x),J));z=E.Dom.getAttribute(y,F);if(AA!==z){E.Dom.setAttribute(y,F,A(z));Y=true;if(E.Dom.getAttribute(y,F)===""){G=(y.hasAttribute&&y.hasAttribute(g))?g:F;y.removeAttribute(G);}}}else{}return Y;},replaceClass:function(x,Y,G){return E.Dom.batch(x,E.Dom._replaceClass,{from:Y,to:G});
+},_replaceClass:function(y,x){var Y,AB,AA,G=false,z;if(y&&x){AB=x.from;AA=x.to;if(!AA){G=false;}else{if(!AB){G=E.Dom._addClass(y,x.to);}else{if(AB!==AA){z=E.Dom.getAttribute(y,F)||J;Y=(B+z.replace(E.Dom._getClassRegex(AB),B+AA)).split(E.Dom._getClassRegex(AA));Y.splice(1,0,B+AA);E.Dom.setAttribute(y,F,A(Y.join(J)));G=true;}}}}else{}return G;},generateId:function(G,x){x=x||"yui-gen";var Y=function(y){if(y&&y.id){return y.id;}var z=x+YAHOO.env._id_counter++;if(y){if(y[e].getElementById(z)){return E.Dom.generateId(y,z+x);}y.id=z;}return z;};return E.Dom.batch(G,Y,E.Dom,true)||Y.apply(E.Dom,arguments);},isAncestor:function(Y,x){Y=E.Dom.get(Y);x=E.Dom.get(x);var G=false;if((Y&&x)&&(Y[l]&&x[l])){if(Y.contains&&Y!==x){G=Y.contains(x);}else{if(Y.compareDocumentPosition){G=!!(Y.compareDocumentPosition(x)&16);}}}else{}return G;},inDocument:function(G,Y){return E.Dom._inDoc(E.Dom.get(G),Y);},_inDoc:function(Y,x){var G=false;if(Y&&Y[C]){x=x||Y[e];G=E.Dom.isAncestor(x[v],Y);}else{}return
G;},getElementsBy:function(Y,AF,AB,AD,y,AC,AE){AF=AF||"*";AB=(AB)?E.Dom.get(AB):null||K;if(!AB){return[];}var x=[],G=AB.getElementsByTagName(AF);for(var z=0,AA=G.length;z<AA;++z){if(Y(G[z])){if(AE){x=G[z];break;}else{x[x.length]=G[z];}}}if(AD){E.Dom.batch(x,AD,y,AC);}return x;},getElementBy:function(x,G,Y){return E.Dom.getElementsBy(x,G,Y,null,null,null,true);},batch:function(x,AB,AA,z){var y=[],Y=(z)?AA:window;x=(x&&(x[C]||x.item))?x:E.Dom.get(x);if(x&&AB){if(x[C]||x.length===undefined){return AB.call(Y,x,AA);}for(var G=0;G<x.length;++G){y[y.length]=AB.call(Y,x[G],AA);}}else{return false;}return y;},getDocumentHeight:function(){var Y=(K[t]!=M||I)?K.body.scrollHeight:W.scrollHeight,G=Math.max(Y,E.Dom.getViewportHeight());return G;},getDocumentWidth:function(){var Y=(K[t]!=M||I)?K.body.scrollWidth:W.scrollWidth,G=Math.max(Y,E.Dom.getViewportWidth());return G;},getViewportHeight:function(){var G=self.innerHeight,Y=K[t];if((Y||T)&&!D){G=(Y==M)?W.clientHeight:K.body.clientHeigh
t;}return G;},getViewportWidth:function(){var G=self.innerWidth,Y=K[t];if(Y||T){G=(Y==M)?W.clientWidth:K.body.clientWidth;}return G;},getAncestorBy:function(G,Y){while((G=G[Z])){if(E.Dom._testElement(G,Y)){return G;}}return null;},getAncestorByClassName:function(Y,G){Y=E.Dom.get(Y);if(!Y){return null;}var x=function(y){return E.Dom.hasClass(y,G);};return E.Dom.getAncestorBy(Y,x);},getAncestorByTagName:function(Y,G){Y=E.Dom.get(Y);if(!Y){return null;}var x=function(y){return y[C]&&y[C].toUpperCase()==G.toUpperCase();};return E.Dom.getAncestorBy(Y,x);},getPreviousSiblingBy:function(G,Y){while(G){G=G.previousSibling;if(E.Dom._testElement(G,Y)){return G;}}return null;},getPreviousSibling:function(G){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getPreviousSiblingBy(G);},getNextSiblingBy:function(G,Y){while(G){G=G.nextSibling;if(E.Dom._testElement(G,Y)){return G;}}return null;},getNextSibling:function(G){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getNextSiblingBy(G);},getF
irstChildBy:function(G,x){var Y=(E.Dom._testElement(G.firstChild,x))?G.firstChild:null;return Y||E.Dom.getNextSiblingBy(G.firstChild,x);},getFirstChild:function(G,Y){G=E.Dom.get(G);if(!G){return null;}return E.Dom.getFirstChildBy(G);},getLastChildBy:function(G,x){if(!G){return null;}var Y=(E.Dom._testElement(G.lastChild,x))?G.lastChild:null;return Y||E.Dom.getPreviousSiblingBy(G.lastChild,x);},getLastChild:function(G){G=E.Dom.get(G);return E.Dom.getLastChildBy(G);},getChildrenBy:function(Y,y){var x=E.Dom.getFirstChildBy(Y,y),G=x?[x]:[];E.Dom.getNextSiblingBy(x,function(z){if(!y||y(z)){G[G.length]=z;}return false;});return G;},getChildren:function(G){G=E.Dom.get(G);if(!G){}return E.Dom.getChildrenBy(G);},getDocumentScrollLeft:function(G){G=G||K;return Math.max(G[v].scrollLeft,G.body.scrollLeft);},getDocumentScrollTop:function(G){G=G||K;return Math.max(G[v].scrollTop,G.body.scrollTop);},insertBefore:function(Y,G){Y=E.Dom.get(Y);G=E.Dom.get(G);if(!Y||!G||!G[Z]){return null;}ret
urn G[Z].insertBefore(Y,G);},insertAfter:function(Y,G){Y=E.Dom.get(Y);G=E.Dom.get(G);if(!Y||!G||!G[Z]){return null;}if(G.nextSibling){return G[Z].insertBefore(Y,G.nextSibling);}else{return G[Z].appendChild(Y);}},getClientRegion:function(){var x=E.Dom.getDocumentScrollTop(),Y=E.Dom.getDocumentScrollLeft(),y=E.Dom.getViewportWidth()+Y,G=E.Dom.getViewportHeight()+x;return new E.Region(x,y,G,Y);},setAttribute:function(Y,G,x){G=E.Dom.CUSTOM_ATTRIBUTES[G]||G;Y.setAttribute(G,x);},getAttribute:function(Y,G){G=E.Dom.CUSTOM_ATTRIBUTES[G]||G;return Y.getAttribute(G);},_toCamel:function(Y){var x=d;function G(y,z){return z.toUpperCase();}return x[Y]||(x[Y]=Y.indexOf("-")===-1?Y:Y.replace(/-([a-z])/gi,G));},_getClassRegex:function(Y){var G;if(Y!==undefined){if(Y.exec){G=Y;}else{G=h[Y];if(!G){Y=Y.replace(E.Dom._patterns.CLASS_RE_TOKENS,"\\$1");G=h[Y]=new RegExp(s+Y+k,U);}}}return G;},_patterns:{ROOT_TAG:/^body|html$/i,CLASS_RE_TOKENS:/([\.\(\)\^\$\*\+\?\|\[\]\{\}])/g},_testElement:functio
n(G,Y){return G&&G[l]==1&&(!Y||Y(G));},_calcBorders:function(x,y){var Y=parseInt(E.Dom[w](x,R),10)||0,G=parseInt(E.Dom[w](x,q),10)||0;if(H){if(N.test(x[C])){Y=0;G=0;}}y[0]+=G;y[1]+=Y;return y;}};var S=E.Dom[w];if(m.opera){E.Dom[w]=function(Y,G){var x=S(Y,G);if(X.test(G)){x=E.Dom.Color.toRGB(x);}return x;};}if(m.webkit){E.Dom[w]=function(Y,G){var x=S(Y,G);if(x==="rgba(0, 0, 0, 0)"){x="transparent";}return x;};}})();YAHOO.util.Region=function(C,D,A,B){this.top=C;this.y=C;this[1]=C;this.right=D;this.bottom=A;this.left=B;this.x=B;this[0]=B;this.width=this.right-this.left;this.height=this.bottom-this.top;};YAHOO.util.Region.prototype.contains=function(A){return(A.left>=this.left&&A.right<=this.right&&A.top>=this.top&&A.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(E){var C=Math.max(this.top,E.top),D=Math.min(this.right,E.right),A=Math.min(this.bottom,E.bo
ttom),B=Math.max(this.left,E.left);if(A>=C&&D>=B){return new YAHOO.util.Region(C,D,A,B);
+}else{return null;}};YAHOO.util.Region.prototype.union=function(E){var C=Math.min(this.top,E.top),D=Math.max(this.right,E.right),A=Math.max(this.bottom,E.bottom),B=Math.min(this.left,E.left);return new YAHOO.util.Region(C,D,A,B);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+", height: "+this.height+", width: "+this.width+"}");};YAHOO.util.Region.getRegion=function(D){var F=YAHOO.util.Dom.getXY(D),C=F[1],E=F[0]+D.offsetWidth,A=F[1]+D.offsetHeight,B=F[0];return new YAHOO.util.Region(C,E,A,B);};YAHOO.util.Point=function(A,B){if(YAHOO.lang.isArray(A)){B=A[1];A=A[0];}YAHOO.util.Point.superclass.constructor.call(this,B,A,B,A);};YAHOO.extend(YAHOO.util.Point,YAHOO.util.Region);(function(){var B=YAHOO.util,A="clientTop",F="clientLeft",J="parentNode",K="right",W="hasLayout",I="px",U="opacity",L="auto",D="borderLeftWidth",G="borderTopWidth",P="borderRightWidth",V="borderBottomWi
dth",S="visible",Q="transparent",N="height",E="width",H="style",T="currentStyle",R=/^width|height$/,O=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz|%){1}?/i,M={get:function(X,Z){var Y="",a=X[T][Z];if(Z===U){Y=B.Dom.getStyle(X,U);}else{if(!a||(a.indexOf&&a.indexOf(I)>-1)){Y=a;}else{if(B.Dom.IE_COMPUTED[Z]){Y=B.Dom.IE_COMPUTED[Z](X,Z);}else{if(O.test(a)){Y=B.Dom.IE.ComputedStyle.getPixel(X,Z);}else{Y=a;}}}}return Y;},getOffset:function(Z,e){var b=Z[T][e],X=e.charAt(0).toUpperCase()+e.substr(1),c="offset"+X,Y="pixel"+X,a="",d;if(b==L){d=Z[c];if(d===undefined){a=0;}a=d;if(R.test(e)){Z[H][e]=d;if(Z[c]>d){a=d-(Z[c]-d);}Z[H][e]=L;}}else{if(!Z[H][Y]&&!Z[H][e]){Z[H][e]=b;}a=Z[H][Y];}return a+I;},getBorderWidth:function(X,Z){var Y=null;if(!X[T][W]){X[H].zoom=1;}switch(Z){case G:Y=X[A];break;case V:Y=X.offsetHeight-X.clientHeight-X[A];break;case D:Y=X[F];break;case P:Y=X.offsetWidth-X.clientWidth-X[F];break;}return Y+I;},getPixel:function(Y,X){var a=null,
b=Y[T][K],Z=Y[T][X];Y[H][K]=Z;a=Y[H].pixelRight;Y[H][K]=b;return a+I;},getMargin:function(Y,X){var Z;if(Y[T][X]==L){Z=0+I;}else{Z=B.Dom.IE.ComputedStyle.getPixel(Y,X);}return Z;},getVisibility:function(Y,X){var Z;while((Z=Y[T])&&Z[X]=="inherit"){Y=Y[J];}return(Z)?Z[X]:S;},getColor:function(Y,X){return B.Dom.Color.toRGB(Y[T][X])||Q;},getBorderColor:function(Y,X){var Z=Y[T],a=Z[X]||Z.color;return B.Dom.Color.toRGB(B.Dom.Color.toHex(a));}},C={};C.top=C.right=C.bottom=C.left=C[E]=C[N]=M.getOffset;C.color=M.getColor;C[G]=C[P]=C[V]=C[D]=M.getBorderWidth;C.marginTop=C.marginRight=C.marginBottom=C.marginLeft=M.getMargin;C.visibility=M.getVisibility;C.borderColor=C.borderTopColor=C.borderRightColor=C.borderBottomColor=C.borderLeftColor=M.getBorderColor;B.Dom.IE_COMPUTED=C;B.Dom.IE_ComputedStyle=M;})();(function(){var C="toString",A=parseInt,B=RegExp,D=YAHOO.util;D.Dom.Color={KEYWORDS:{black:"000",silver:"c0c0c0",gray:"808080",white:"fff",maroon:"800000",red:"f00",purple:"800080",fuch
sia:"f0f",green:"008000",lime:"0f0",olive:"808000",yellow:"ff0",navy:"000080",blue:"00f",teal:"008080",aqua:"0ff"},re_RGB:/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i,re_hex:/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i,re_hex3:/([0-9A-F])/gi,toRGB:function(E){if(!D.Dom.Color.re_RGB.test(E)){E=D.Dom.Color.toHex(E);}if(D.Dom.Color.re_hex.exec(E)){E="rgb("+[A(B.$1,16),A(B.$2,16),A(B.$3,16)].join(", ")+")";}return E;},toHex:function(H){H=D.Dom.Color.KEYWORDS[H]||H;if(D.Dom.Color.re_RGB.exec(H)){var G=(B.$1.length===1)?"0"+B.$1:Number(B.$1),F=(B.$2.length===1)?"0"+B.$2:Number(B.$2),E=(B.$3.length===1)?"0"+B.$3:Number(B.$3);H=[G[C](16),F[C](16),E[C](16)].join("");}if(H.length<6){H=H.replace(D.Dom.Color.re_hex3,"$1$1");}if(H!=="transparent"&&H.indexOf("#")<0){H="#"+H;}return H.toLowerCase();}};}());YAHOO.register("dom",YAHOO.util.Dom,{version:"2.7.0",build:"1796"});YAHOO.util.CustomEvent=function(D,C,B,A){this.type=D;this.scope=C||window;this.silent=B;this.signature=A||YAHO
O.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){}var E="_YUICEOnSubscribe";if(D!==E){this.subscribeEvent=new YAHOO.util.CustomEvent(E,this,true);}this.lastError=null;};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;YAHOO.util.CustomEvent.prototype={subscribe:function(A,B,C){if(!A){throw new Error("Invalid callback for subscriber to '"+this.type+"'");}if(this.subscribeEvent){this.subscribeEvent.fire(A,B,C);}this.subscribers.push(new YAHOO.util.Subscriber(A,B,C));},unsubscribe:function(D,F){if(!D){return this.unsubscribeAll();}var E=false;for(var B=0,A=this.subscribers.length;B<A;++B){var C=this.subscribers[B];if(C&&C.contains(D,F)){this._delete(B);E=true;}}return E;},fire:function(){this.lastError=null;var K=[],E=this.subscribers.length;if(!E&&this.silent){return true;}var I=[].slice.call(arguments,0),G=true,D,J=false;if(!this.silent){}var C=this.subscribers.slice(),A=YAHOO.util.Event.throwErrors;for(D=0;D<E;++D){var M=C[D];if(!M){J=true;}else{if(!th
is.silent){}var L=M.getScope(this.scope);if(this.signature==YAHOO.util.CustomEvent.FLAT){var B=null;if(I.length>0){B=I[0];}try{G=M.fn.call(L,B,M.obj);}catch(F){this.lastError=F;if(A){throw F;}}}else{try{G=M.fn.call(L,this.type,I,M.obj);}catch(H){this.lastError=H;if(A){throw H;}}}if(false===G){if(!this.silent){}break;}}}return(G!==false);},unsubscribeAll:function(){var A=this.subscribers.length,B;for(B=A-1;B>-1;B--){this._delete(B);}this.subscribers=[];return A;},_delete:function(A){var B=this.subscribers[A];if(B){delete B.fn;delete B.obj;}this.subscribers.splice(A,1);},toString:function(){return"CustomEvent: "+"'"+this.type+"', "+"context: "+this.scope;}};YAHOO.util.Subscriber=function(A,B,C){this.fn=A;this.obj=YAHOO.lang.isUndefined(B)?null:B;this.overrideContext=C;};YAHOO.util.Subscriber.prototype.getScope=function(A){if(this.overrideContext){if(this.overrideContext===true){return this.obj;}else{return this.overrideContext;}}return A;};YAHOO.util.Subscriber.prototype.conta
ins=function(A,B){if(B){return(this.fn==A&&this.obj==B);}else{return(this.fn==A);}};YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+this.obj+", overrideContext: "+(this.overrideContext||"no")+" }";};if(!YAHOO.util.Event){YAHOO.util.Event=function(){var H=false;var I=[];var J=[];var G=[];var E=[];var C=0;var F=[];var B=[];var A=0;var D={63232:38,63233:40,63234:37,63235:39,63276:33,63277:34,25:9};var K=YAHOO.env.ua.ie?"focusin":"focus";var L=YAHOO.env.ua.ie?"focusout":"blur";return{POLL_RETRYS:2000,POLL_INTERVAL:20,EL:0,TYPE:1,FN:2,WFN:3,UNLOAD_OBJ:3,ADJ_SCOPE:4,OBJ:5,OVERRIDE:6,lastError:null,isSafari:YAHOO.env.ua.webkit,webkit:YAHOO.env.ua.webkit,isIE:YAHOO.env.ua.ie,_interval:null,_dri:null,DOMReady:false,throwErrors:false,startInterval:function(){if(!this._interval){var M=this;var N=function(){M._tryPreloadAttach();};this._interval=setInterval(N,this.POLL_INTERVAL);}},onAvailable:function(S,O,Q,R,P){var M=(YAHOO.lang.isString(S))?[S]:S;for(va
r N=0;N<M.length;N=N+1){F.push({id:M[N],fn:O,obj:Q,overrideContext:R,checkReady:P});}C=this.POLL_RETRYS;this.startInterval();},onContentReady:function(P,M,N,O){this.onAvailable(P,M,N,O,true);},onDOMReady:function(M,N,O){if(this.DOMReady){setTimeout(function(){var P=window;if(O){if(O===true){P=N;}else{P=O;}}M.call(P,"DOMReady",[],N);},0);}else{this.DOMReadyEvent.subscribe(M,N,O);}},_addListener:function(O,M,Y,S,W,b){if(!Y||!Y.call){return false;}if(this._isValidCollection(O)){var Z=true;for(var T=0,V=O.length;T<V;++T){Z=this.on(O[T],M,Y,S,W)&&Z;}return Z;}else{if(YAHOO.lang.isString(O)){var R=this.getEl(O);if(R){O=R;}else{this.onAvailable(O,function(){YAHOO.util.Event.on(O,M,Y,S,W);});return true;}}}if(!O){return false;}if("unload"==M&&S!==this){J[J.length]=[O,M,Y,S,W];return true;}var N=O;if(W){if(W===true){N=S;}else{N=W;}}var P=function(c){return Y.call(N,YAHOO.util.Event.getEvent(c,O),S);};var a=[O,M,Y,P,N,S,W];var U=I.length;I[U]=a;if(this.useLegacyEvent(O,M)){var Q=this.
getLegacyIndex(O,M);if(Q==-1||O!=G[Q][0]){Q=G.length;B[O.id+M]=Q;G[Q]=[O,M,O["on"+M]];E[Q]=[];O["on"+M]=function(c){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(c),Q);};}E[Q].push(a);}else{try{this._simpleAdd(O,M,P,b);}catch(X){this.lastError=X;this.removeListener(O,M,Y);return false;}}return true;},addListener:function(N,Q,M,O,P){return this._addListener(N,Q,M,O,P,false);},addFocusListener:function(N,M,O,P){return this._addListener(N,K,M,O,P,true);},removeFocusListener:function(N,M){return this.removeListener(N,K,M);},addBlurListener:function(N,M,O,P){return this._addListener(N,L,M,O,P,true);},removeBlurListener:function(N,M){return this.removeListener(N,L,M);},fireLegacyEvent:function(R,P){var T=true,M,V,U,N,S;V=E[P].slice();for(var O=0,Q=V.length;O<Q;++O){U=V[O];if(U&&U[this.WFN]){N=U[this.ADJ_SCOPE];S=U[this.WFN].call(N,R);T=(T&&S);}}M=G[P];if(M&&M[2]){M[2](R);}return T;},getLegacyIndex:function(N,O){var M=this.generateId(N)+O;if(typeof B[M]=="undefined"){r
eturn -1;}else{return B[M];}},useLegacyEvent:function(M,N){return(this.webkit&&this.webkit<419&&("click"==N||"dblclick"==N));},removeListener:function(N,M,V){var Q,T,X;if(typeof N=="string"){N=this.getEl(N);}else{if(this._isValidCollection(N)){var W=true;for(Q=N.length-1;Q>-1;Q--){W=(this.removeListener(N[Q],M,V)&&W);}return W;}}if(!V||!V.call){return this.purgeElement(N,false,M);}if("unload"==M){for(Q=J.length-1;Q>-1;Q--){X=J[Q];if(X&&X[0]==N&&X[1]==M&&X[2]==V){J.splice(Q,1);return true;}}return false;}var R=null;var S=arguments[3];if("undefined"===typeof S){S=this._getCacheIndex(N,M,V);}if(S>=0){R=I[S];}if(!N||!R){return false;}if(this.useLegacyEvent(N,M)){var P=this.getLegacyIndex(N,M);var O=E[P];if(O){for(Q=0,T=O.length;Q<T;++Q){X=O[Q];if(X&&X[this.EL]==N&&X[this.TYPE]==M&&X[this.FN]==V){O.splice(Q,1);break;}}}}else{try{this._simpleRemove(N,M,R[this.WFN],false);}catch(U){this.lastError=U;return false;}}delete I[S][this.WFN];delete I[S][this.FN];
+I.splice(S,1);return true;},getTarget:function(O,N){var M=O.target||O.srcElement;return this.resolveTextNode(M);},resolveTextNode:function(N){try{if(N&&3==N.nodeType){return N.parentNode;}}catch(M){}return N;},getPageX:function(N){var M=N.pageX;if(!M&&0!==M){M=N.clientX||0;if(this.isIE){M+=this._getScrollLeft();}}return M;},getPageY:function(M){var N=M.pageY;if(!N&&0!==N){N=M.clientY||0;if(this.isIE){N+=this._getScrollTop();}}return N;},getXY:function(M){return[this.getPageX(M),this.getPageY(M)];},getRelatedTarget:function(N){var M=N.relatedTarget;if(!M){if(N.type=="mouseout"){M=N.toElement;}else{if(N.type=="mouseover"){M=N.fromElement;}}}return this.resolveTextNode(M);},getTime:function(O){if(!O.time){var N=new Date().getTime();try{O.time=N;}catch(M){this.lastError=M;return N;}}return O.time;},stopEvent:function(M){this.stopPropagation(M);this.preventDefault(M);},stopPropagation:function(M){if(M.stopPropagation){M.stopPropagation();}else{M.cancelBubble=true;}},preventDefaul
t:function(M){if(M.preventDefault){M.preventDefault();}else{M.returnValue=false;}},getEvent:function(O,M){var N=O||window.event;if(!N){var P=this.getEvent.caller;while(P){N=P.arguments[0];if(N&&Event==N.constructor){break;}P=P.caller;}}return N;},getCharCode:function(N){var M=N.keyCode||N.charCode||0;if(YAHOO.env.ua.webkit&&(M in D)){M=D[M];}return M;},_getCacheIndex:function(Q,R,P){for(var O=0,N=I.length;O<N;O=O+1){var M=I[O];if(M&&M[this.FN]==P&&M[this.EL]==Q&&M[this.TYPE]==R){return O;}}return -1;},generateId:function(M){var N=M.id;if(!N){N="yuievtautoid-"+A;++A;M.id=N;}return N;},_isValidCollection:function(N){try{return(N&&typeof N!=="string"&&N.length&&!N.tagName&&!N.alert&&typeof N[0]!=="undefined");}catch(M){return false;}},elCache:{},getEl:function(M){return(typeof M==="string")?document.getElementById(M):M;},clearCache:function(){},DOMReadyEvent:new YAHOO.util.CustomEvent("DOMReady",this),_load:function(N){if(!H){H=true;var M=YAHOO.util.Event;M._ready();M._tryPrelo
adAttach();}},_ready:function(N){var M=YAHOO.util.Event;if(!M.DOMReady){M.DOMReady=true;M.DOMReadyEvent.fire();M._simpleRemove(document,"DOMContentLoaded",M._ready);}},_tryPreloadAttach:function(){if(F.length===0){C=0;if(this._interval){clearInterval(this._interval);this._interval=null;}return;}if(this.locked){return;}if(this.isIE){if(!this.DOMReady){this.startInterval();return;}}this.locked=true;var S=!H;if(!S){S=(C>0&&F.length>0);}var R=[];var T=function(V,W){var U=V;if(W.overrideContext){if(W.overrideContext===true){U=W.obj;}else{U=W.overrideContext;}}W.fn.call(U,W.obj);};var N,M,Q,P,O=[];for(N=0,M=F.length;N<M;N=N+1){Q=F[N];if(Q){P=this.getEl(Q.id);if(P){if(Q.checkReady){if(H||P.nextSibling||!S){O.push(Q);F[N]=null;}}else{T(P,Q);F[N]=null;}}else{R.push(Q);}}}for(N=0,M=O.length;N<M;N=N+1){Q=O[N];T(this.getEl(Q.id),Q);}C--;if(S){for(N=F.length-1;N>-1;N--){Q=F[N];if(!Q||!Q.id){F.splice(N,1);}}this.startInterval();}else{if(this._interval){clearInterval(this._interval);this._
interval=null;}}this.locked=false;},purgeElement:function(Q,R,T){var O=(YAHOO.lang.isString(Q))?this.getEl(Q):Q;var S=this.getListeners(O,T),P,M;if(S){for(P=S.length-1;P>-1;P--){var N=S[P];this.removeListener(O,N.type,N.fn);}}if(R&&O&&O.childNodes){for(P=0,M=O.childNodes.length;P<M;++P){this.purgeElement(O.childNodes[P],R,T);}}},getListeners:function(O,M){var R=[],N;if(!M){N=[I,J];}else{if(M==="unload"){N=[J];}else{N=[I];}}var T=(YAHOO.lang.isString(O))?this.getEl(O):O;for(var Q=0;Q<N.length;Q=Q+1){var V=N[Q];if(V){for(var S=0,U=V.length;S<U;++S){var P=V[S];if(P&&P[this.EL]===T&&(!M||M===P[this.TYPE])){R.push({type:P[this.TYPE],fn:P[this.FN],obj:P[this.OBJ],adjust:P[this.OVERRIDE],scope:P[this.ADJ_SCOPE],index:S});}}}}return(R.length)?R:null;},_unload:function(T){var N=YAHOO.util.Event,Q,P,O,S,R,U=J.slice(),M;for(Q=0,S=J.length;Q<S;++Q){O=U[Q];if(O){M=window;if(O[N.ADJ_SCOPE]){if(O[N.ADJ_SCOPE]===true){M=O[N.UNLOAD_OBJ];}else{M=O[N.ADJ_SCOPE];}}O[N.FN].call(M,N.getEvent(T,O[
N.EL]),O[N.UNLOAD_OBJ]);U[Q]=null;}}O=null;M=null;J=null;if(I){for(P=I.length-1;P>-1;P--){O=I[P];if(O){N.removeListener(O[N.EL],O[N.TYPE],O[N.FN],P);}}O=null;}G=null;N._simpleRemove(window,"unload",N._unload);},_getScrollLeft:function(){return this._getScroll()[1];},_getScrollTop:function(){return this._getScroll()[0];},_getScroll:function(){var M=document.documentElement,N=document.body;if(M&&(M.scrollTop||M.scrollLeft)){return[M.scrollTop,M.scrollLeft];}else{if(N){return[N.scrollTop,N.scrollLeft];}else{return[0,0];}}},regCE:function(){},_simpleAdd:function(){if(window.addEventListener){return function(O,P,N,M){O.addEventListener(P,N,(M));};}else{if(window.attachEvent){return function(O,P,N,M){O.attachEvent("on"+P,N);};}else{return function(){};}}}(),_simpleRemove:function(){if(window.removeEventListener){return function(O,P,N,M){O.removeEventListener(P,N,(M));};}else{if(window.detachEvent){return function(N,O,M){N.detachEvent("on"+O,M);};}else{return function(){};}}}()};}(
);(function(){var EU=YAHOO.util.Event;EU.on=EU.addListener;EU.onFocus=EU.addFocusListener;EU.onBlur=EU.addBlurListener;
+/* DOMReady: based on work by: Dean Edwards/John Resig/Matthias Miller */
+if(EU.isIE){YAHOO.util.Event.onDOMReady(YAHOO.util.Event._tryPreloadAttach,YAHOO.util.Event,true);var n=document.createElement("p");EU._dri=setInterval(function(){try{n.doScroll("left");clearInterval(EU._dri);EU._dri=null;EU._ready();n=null;}catch(ex){}},EU.POLL_INTERVAL);}else{if(EU.webkit&&EU.webkit<525){EU._dri=setInterval(function(){var rs=document.readyState;if("loaded"==rs||"complete"==rs){clearInterval(EU._dri);EU._dri=null;EU._ready();}},EU.POLL_INTERVAL);}else{EU._simpleAdd(document,"DOMContentLoaded",EU._ready);}}EU._simpleAdd(window,"load",EU._load);EU._simpleAdd(window,"unload",EU._unload);EU._tryPreloadAttach();})();}YAHOO.util.EventProvider=function(){};YAHOO.util.EventProvider.prototype={__yui_events:null,__yui_subscribers:null,subscribe:function(A,C,F,E){this.__yui_events=this.__yui_events||{};var D=this.__yui_events[A];if(D){D.subscribe(C,F,E);
+}else{this.__yui_subscribers=this.__yui_subscribers||{};var B=this.__yui_subscribers;if(!B[A]){B[A]=[];}B[A].push({fn:C,obj:F,overrideContext:E});}},unsubscribe:function(C,E,G){this.__yui_events=this.__yui_events||{};var A=this.__yui_events;if(C){var F=A[C];if(F){return F.unsubscribe(E,G);}}else{var B=true;for(var D in A){if(YAHOO.lang.hasOwnProperty(A,D)){B=B&&A[D].unsubscribe(E,G);}}return B;}return false;},unsubscribeAll:function(A){return this.unsubscribe(A);},createEvent:function(G,D){this.__yui_events=this.__yui_events||{};var A=D||{};var I=this.__yui_events;if(I[G]){}else{var H=A.scope||this;var E=(A.silent);var B=new YAHOO.util.CustomEvent(G,H,E,YAHOO.util.CustomEvent.FLAT);I[G]=B;if(A.onSubscribeCallback){B.subscribeEvent.subscribe(A.onSubscribeCallback);}this.__yui_subscribers=this.__yui_subscribers||{};var F=this.__yui_subscribers[G];if(F){for(var C=0;C<F.length;++C){B.subscribe(F[C].fn,F[C].obj,F[C].overrideContext);}}}return I[G];},fireEvent:function(E,D,A,C){th
is.__yui_events=this.__yui_events||{};var G=this.__yui_events[E];if(!G){return null;}var B=[];for(var F=1;F<arguments.length;++F){B.push(arguments[F]);}return G.fire.apply(G,B);},hasEvent:function(A){if(this.__yui_events){if(this.__yui_events[A]){return true;}}return false;}};(function(){var A=YAHOO.util.Event,C=YAHOO.lang;YAHOO.util.KeyListener=function(D,I,E,F){if(!D){}else{if(!I){}else{if(!E){}}}if(!F){F=YAHOO.util.KeyListener.KEYDOWN;}var G=new YAHOO.util.CustomEvent("keyPressed");this.enabledEvent=new YAHOO.util.CustomEvent("enabled");this.disabledEvent=new YAHOO.util.CustomEvent("disabled");if(C.isString(D)){D=document.getElementById(D);}if(C.isFunction(E)){G.subscribe(E);}else{G.subscribe(E.fn,E.scope,E.correctScope);}function H(O,N){if(!I.shift){I.shift=false;}if(!I.alt){I.alt=false;}if(!I.ctrl){I.ctrl=false;}if(O.shiftKey==I.shift&&O.altKey==I.alt&&O.ctrlKey==I.ctrl){var J,M=I.keys,L;if(YAHOO.lang.isArray(M)){for(var K=0;K<M.length;K++){J=M[K];L=A.getCharCode(O);if(
J==L){G.fire(L,O);break;}}}else{L=A.getCharCode(O);if(M==L){G.fire(L,O);}}}}this.enable=function(){if(!this.enabled){A.on(D,F,H);this.enabledEvent.fire(I);}this.enabled=true;};this.disable=function(){if(this.enabled){A.removeListener(D,F,H);this.disabledEvent.fire(I);}this.enabled=false;};this.toString=function(){return"KeyListener ["+I.keys+"] "+D.tagName+(D.id?"["+D.id+"]":"");};};var B=YAHOO.util.KeyListener;B.KEYDOWN="keydown";B.KEYUP="keyup";B.KEY={ALT:18,BACK_SPACE:8,CAPS_LOCK:20,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,META:224,NUM_LOCK:144,PAGE_DOWN:34,PAGE_UP:33,PAUSE:19,PRINTSCREEN:44,RIGHT:39,SCROLL_LOCK:145,SHIFT:16,SPACE:32,TAB:9,UP:38};})();YAHOO.register("event",YAHOO.util.Event,{version:"2.7.0",build:"1796"});YAHOO.register("yahoo-dom-event", YAHOO, {version: "2.7.0", build: "1796"});
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+if(!YAHOO.util.DragDropMgr){YAHOO.util.DragDropMgr=function(){var A=YAHOO.util.Event,B=YAHOO.util.Dom;return{useShim:false,_shimActive:false,_shimState:false,_debugShim:false,_createShim:function(){var C=document.createElement("div");C.id="yui-ddm-shim";if(document.body.firstChild){document.body.insertBefore(C,document.body.firstChild);}else{document.body.appendChild(C);}C.style.display="none";C.style.backgroundColor="red";C.style.position="absolute";C.style.zIndex="99999";B.setStyle(C,"opacity","0");this._shim=C;A.on(C,"mouseup",this.handleMouseUp,this,true);A.on(C,"mousemove",this.handleMouseMove,this,true);A.on(window,"scroll",this._sizeShim,this,true);},_sizeShim:function(){if(this._shimActive){var C=this._shim;C.style.height=B.getDocumentHeight()+"px";C.style.width=B.getDocumentWidth()+"px";C.style.top="0";C.style.left="0";}},_activateShim:function(){if(this.useShim){if(!this._shim){this._createShim();}this._shimActive=true;var C=this._shim,D="0";if(this._debugShim){D="
.5";}B.setStyle(C,"opacity",D);this._sizeShim();C.style.display="block";}},_deactivateShim:function(){this._shim.style.display="none";this._shimActive=false;},_shim:null,ids:{},handleIds:{},dragCurrent:null,dragOvers:{},deltaX:0,deltaY:0,preventDefault:true,stopPropagation:true,initialized:false,locked:false,interactionInfo:null,init:function(){this.initialized=true;},POINT:0,INTERSECT:1,STRICT_INTERSECT:2,mode:0,_execOnAll:function(E,D){for(var F in this.ids){for(var C in this.ids[F]){var G=this.ids[F][C];if(!this.isTypeOfDD(G)){continue;}G[E].apply(G,D);}}},_onLoad:function(){this.init();A.on(document,"mouseup",this.handleMouseUp,this,true);A.on(document,"mousemove",this.handleMouseMove,this,true);A.on(window,"unload",this._onUnload,this,true);A.on(window,"resize",this._onResize,this,true);},_onResize:function(C){this._execOnAll("resetConstraints",[]);},lock:function(){this.locked=true;},unlock:function(){this.locked=false;},isLocked:function(){return this.locked;},locatio
nCache:{},useCache:true,clickPixelThresh:3,clickTimeThresh:1000,dragThreshMet:false,clickTimeout:null,startX:0,startY:0,fromTimeout:false,regDragDrop:function(D,C){if(!this.initialized){this.init();}if(!this.ids[C]){this.ids[C]={};}this.ids[C][D.id]=D;},removeDDFromGroup:function(E,C){if(!this.ids[C]){this.ids[C]={};}var D=this.ids[C];if(D&&D[E.id]){delete D[E.id];}},_remove:function(E){for(var D in E.groups){if(D){var C=this.ids[D];if(C&&C[E.id]){delete C[E.id];}}}delete this.handleIds[E.id];},regHandle:function(D,C){if(!this.handleIds[D]){this.handleIds[D]={};}this.handleIds[D][C]=C;},isDragDrop:function(C){return(this.getDDById(C))?true:false;},getRelated:function(H,D){var G=[];for(var F in H.groups){for(var E in this.ids[F]){var C=this.ids[F][E];if(!this.isTypeOfDD(C)){continue;}if(!D||C.isTarget){G[G.length]=C;}}}return G;},isLegalTarget:function(G,F){var D=this.getRelated(G,true);for(var E=0,C=D.length;E<C;++E){if(D[E].id==F.id){return true;}}return false;},isTypeOfDD:
function(C){return(C&&C.__ygDragDrop);},isHandle:function(D,C){return(this.handleIds[D]&&this.handleIds[D][C]);},getDDById:function(D){for(var C in this.ids){if(this.ids[C][D]){return this.ids[C][D];}}return null;},handleMouseDown:function(E,D){this.currentTarget=YAHOO.util.Event.getTarget(E);this.dragCurrent=D;var C=D.getEl();this.startX=YAHOO.util.Event.getPageX(E);this.startY=YAHOO.util.Event.getPageY(E);this.deltaX=this.startX-C.offsetLeft;this.deltaY=this.startY-C.offsetTop;this.dragThreshMet=false;this.clickTimeout=setTimeout(function(){var F=YAHOO.util.DDM;F.startDrag(F.startX,F.startY);F.fromTimeout=true;},this.clickTimeThresh);},startDrag:function(C,E){if(this.dragCurrent&&this.dragCurrent.useShim){this._shimState=this.useShim;this.useShim=true;}this._activateShim();clearTimeout(this.clickTimeout);var D=this.dragCurrent;if(D&&D.events.b4StartDrag){D.b4StartDrag(C,E);D.fireEvent("b4StartDragEvent",{x:C,y:E});}if(D&&D.events.startDrag){D.startDrag(C,E);D.fireEvent("st
artDragEvent",{x:C,y:E});}this.dragThreshMet=true;},handleMouseUp:function(C){if(this.dragCurrent){clearTimeout(this.clickTimeout);if(this.dragThreshMet){if(this.fromTimeout){this.fromTimeout=false;this.handleMouseMove(C);}this.fromTimeout=false;this.fireEvents(C,true);}else{}this.stopDrag(C);this.stopEvent(C);}},stopEvent:function(C){if(this.stopPropagation){YAHOO.util.Event.stopPropagation(C);}if(this.preventDefault){YAHOO.util.Event.preventDefault(C);}},stopDrag:function(E,D){var C=this.dragCurrent;if(C&&!D){if(this.dragThreshMet){if(C.events.b4EndDrag){C.b4EndDrag(E);C.fireEvent("b4EndDragEvent",{e:E});}if(C.events.endDrag){C.endDrag(E);C.fireEvent("endDragEvent",{e:E});}}if(C.events.mouseUp){C.onMouseUp(E);C.fireEvent("mouseUpEvent",{e:E});}}if(this._shimActive){this._deactivateShim();if(this.dragCurrent&&this.dragCurrent.useShim){this.useShim=this._shimState;this._shimState=false;}}this.dragCurrent=null;this.dragOvers={};},handleMouseMove:function(F){var C=this.dragCur
rent;if(C){if(YAHOO.util.Event.isIE&&!F.button){this.stopEvent(F);return this.handleMouseUp(F);}else{if(F.clientX<0||F.clientY<0){}}if(!this.dragThreshMet){var E=Math.abs(this.startX-YAHOO.util.Event.getPageX(F));var D=Math.abs(this.startY-YAHOO.util.Event.getPageY(F));if(E>this.clickPixelThresh||D>this.clickPixelThresh){this.startDrag(this.startX,this.startY);}}if(this.dragThreshMet){if(C&&C.events.b4Drag){C.b4Drag(F);C.fireEvent("b4DragEvent",{e:F});}if(C&&C.events.drag){C.onDrag(F);C.fireEvent("dragEvent",{e:F});}if(C){this.fireEvents(F,false);}}this.stopEvent(F);}},fireEvents:function(V,L){var a=this.dragCurrent;if(!a||a.isLocked()||a.dragOnly){return;}var N=YAHOO.util.Event.getPageX(V),M=YAHOO.util.Event.getPageY(V),P=new YAHOO.util.Point(N,M),K=a.getTargetCoord(P.x,P.y),F=a.getDragEl(),E=["out","over","drop","enter"],U=new YAHOO.util.Region(K.y,K.x+F.offsetWidth,K.y+F.offsetHeight,K.x),I=[],D={},Q=[],c={outEvts:[],overEvts:[],dropEvts:[],enterEvts:[]};for(var S in this
.dragOvers){var d=this.dragOvers[S];if(!this.isTypeOfDD(d)){continue;
+}if(!this.isOverTarget(P,d,this.mode,U)){c.outEvts.push(d);}I[S]=true;delete this.dragOvers[S];}for(var R in a.groups){if("string"!=typeof R){continue;}for(S in this.ids[R]){var G=this.ids[R][S];if(!this.isTypeOfDD(G)){continue;}if(G.isTarget&&!G.isLocked()&&G!=a){if(this.isOverTarget(P,G,this.mode,U)){D[R]=true;if(L){c.dropEvts.push(G);}else{if(!I[G.id]){c.enterEvts.push(G);}else{c.overEvts.push(G);}this.dragOvers[G.id]=G;}}}}}this.interactionInfo={out:c.outEvts,enter:c.enterEvts,over:c.overEvts,drop:c.dropEvts,point:P,draggedRegion:U,sourceRegion:this.locationCache[a.id],validDrop:L};for(var C in D){Q.push(C);}if(L&&!c.dropEvts.length){this.interactionInfo.validDrop=false;if(a.events.invalidDrop){a.onInvalidDrop(V);a.fireEvent("invalidDropEvent",{e:V});}}for(S=0;S<E.length;S++){var Y=null;if(c[E[S]+"Evts"]){Y=c[E[S]+"Evts"];}if(Y&&Y.length){var H=E[S].charAt(0).toUpperCase()+E[S].substr(1),X="onDrag"+H,J="b4Drag"+H,O="drag"+H+"Event",W="drag"+H;if(this.mode){if(a.events[J]
){a[J](V,Y,Q);a.fireEvent(J+"Event",{event:V,info:Y,group:Q});}if(a.events[W]){a[X](V,Y,Q);a.fireEvent(O,{event:V,info:Y,group:Q});}}else{for(var Z=0,T=Y.length;Z<T;++Z){if(a.events[J]){a[J](V,Y[Z].id,Q[0]);a.fireEvent(J+"Event",{event:V,info:Y[Z].id,group:Q[0]});}if(a.events[W]){a[X](V,Y[Z].id,Q[0]);a.fireEvent(O,{event:V,info:Y[Z].id,group:Q[0]});}}}}}},getBestMatch:function(E){var G=null;var D=E.length;if(D==1){G=E[0];}else{for(var F=0;F<D;++F){var C=E[F];if(this.mode==this.INTERSECT&&C.cursorIsOver){G=C;break;}else{if(!G||!G.overlap||(C.overlap&&G.overlap.getArea()<C.overlap.getArea())){G=C;}}}}return G;},refreshCache:function(D){var F=D||this.ids;for(var C in F){if("string"!=typeof C){continue;}for(var E in this.ids[C]){var G=this.ids[C][E];if(this.isTypeOfDD(G)){var H=this.getLocation(G);if(H){this.locationCache[G.id]=H;}else{delete this.locationCache[G.id];}}}}},verifyEl:function(D){try{if(D){var C=D.offsetParent;if(C){return true;}}}catch(E){}return false;},getLocati
on:function(H){if(!this.isTypeOfDD(H)){return null;}var F=H.getEl(),K,E,D,M,L,N,C,J,G;try{K=YAHOO.util.Dom.getXY(F);}catch(I){}if(!K){return null;}E=K[0];D=E+F.offsetWidth;M=K[1];L=M+F.offsetHeight;N=M-H.padding[0];C=D+H.padding[1];J=L+H.padding[2];G=E-H.padding[3];return new YAHOO.util.Region(N,C,J,G);},isOverTarget:function(K,C,E,F){var G=this.locationCache[C.id];if(!G||!this.useCache){G=this.getLocation(C);this.locationCache[C.id]=G;}if(!G){return false;}C.cursorIsOver=G.contains(K);var J=this.dragCurrent;if(!J||(!E&&!J.constrainX&&!J.constrainY)){return C.cursorIsOver;}C.overlap=null;if(!F){var H=J.getTargetCoord(K.x,K.y);var D=J.getDragEl();F=new YAHOO.util.Region(H.y,H.x+D.offsetWidth,H.y+D.offsetHeight,H.x);}var I=F.intersect(G);if(I){C.overlap=I;return(E)?true:C.cursorIsOver;}else{return false;}},_onUnload:function(D,C){this.unregAll();},unregAll:function(){if(this.dragCurrent){this.stopDrag();this.dragCurrent=null;}this._execOnAll("unreg",[]);this.ids={};},elementCa
che:{},getElWrapper:function(D){var C=this.elementCache[D];if(!C||!C.el){C=this.elementCache[D]=new this.ElementWrapper(YAHOO.util.Dom.get(D));}return C;},getElement:function(C){return YAHOO.util.Dom.get(C);},getCss:function(D){var C=YAHOO.util.Dom.get(D);return(C)?C.style:null;},ElementWrapper:function(C){this.el=C||null;this.id=this.el&&C.id;this.css=this.el&&C.style;},getPosX:function(C){return YAHOO.util.Dom.getX(C);},getPosY:function(C){return YAHOO.util.Dom.getY(C);},swapNode:function(E,C){if(E.swapNode){E.swapNode(C);}else{var F=C.parentNode;var D=C.nextSibling;if(D==E){F.insertBefore(E,C);}else{if(C==E.nextSibling){F.insertBefore(C,E);}else{E.parentNode.replaceChild(C,E);F.insertBefore(E,D);}}}},getScroll:function(){var E,C,F=document.documentElement,D=document.body;if(F&&(F.scrollTop||F.scrollLeft)){E=F.scrollTop;C=F.scrollLeft;}else{if(D){E=D.scrollTop;C=D.scrollLeft;}else{}}return{top:E,left:C};},getStyle:function(D,C){return YAHOO.util.Dom.getStyle(D,C);},getScro
llTop:function(){return this.getScroll().top;},getScrollLeft:function(){return this.getScroll().left;},moveToEl:function(C,E){var D=YAHOO.util.Dom.getXY(E);YAHOO.util.Dom.setXY(C,D);},getClientHeight:function(){return YAHOO.util.Dom.getViewportHeight();},getClientWidth:function(){return YAHOO.util.Dom.getViewportWidth();},numericSort:function(D,C){return(D-C);},_timeoutCount:0,_addListeners:function(){var C=YAHOO.util.DDM;if(YAHOO.util.Event&&document){C._onLoad();}else{if(C._timeoutCount>2000){}else{setTimeout(C._addListeners,10);if(document&&document.body){C._timeoutCount+=1;}}}},handleWasClicked:function(C,E){if(this.isHandle(E,C.id)){return true;}else{var D=C.parentNode;while(D){if(this.isHandle(E,D.id)){return true;}else{D=D.parentNode;}}}return false;}};}();YAHOO.util.DDM=YAHOO.util.DragDropMgr;YAHOO.util.DDM._addListeners();}(function(){var A=YAHOO.util.Event;var B=YAHOO.util.Dom;YAHOO.util.DragDrop=function(E,C,D){if(E){this.init(E,C,D);}};YAHOO.util.DragDrop.prototy
pe={events:null,on:function(){this.subscribe.apply(this,arguments);},id:null,config:null,dragElId:null,handleElId:null,invalidHandleTypes:null,invalidHandleIds:null,invalidHandleClasses:null,startPageX:0,startPageY:0,groups:null,locked:false,lock:function(){this.locked=true;},unlock:function(){this.locked=false;},isTarget:true,padding:null,dragOnly:false,useShim:false,_domRef:null,__ygDragDrop:true,constrainX:false,constrainY:false,minX:0,maxX:0,minY:0,maxY:0,deltaX:0,deltaY:0,maintainOffset:false,xTicks:null,yTicks:null,primaryButtonOnly:true,available:false,hasOuterHandles:false,cursorIsOver:false,overlap:null,b4StartDrag:function(C,D){},startDrag:function(C,D){},b4Drag:function(C){},onDrag:function(C){},onDragEnter:function(C,D){},b4DragOver:function(C){},onDragOver:function(C,D){},b4DragOut:function(C){},onDragOut:function(C,D){},b4DragDrop:function(C){},onDragDrop:function(C,D){},onInvalidDrop:function(C){},b4EndDrag:function(C){},endDrag:function(C){},b4MouseDown:funct
ion(C){},onMouseDown:function(C){},onMouseUp:function(C){},onAvailable:function(){},getEl:function(){if(!this._domRef){this._domRef=B.get(this.id);
+}return this._domRef;},getDragEl:function(){return B.get(this.dragElId);},init:function(F,C,D){this.initTarget(F,C,D);A.on(this._domRef||this.id,"mousedown",this.handleMouseDown,this,true);for(var E in this.events){this.createEvent(E+"Event");}},initTarget:function(E,C,D){this.config=D||{};this.events={};this.DDM=YAHOO.util.DDM;this.groups={};if(typeof E!=="string"){this._domRef=E;E=B.generateId(E);}this.id=E;this.addToGroup((C)?C:"default");this.handleElId=E;A.onAvailable(E,this.handleOnAvailable,this,true);this.setDragElId(E);this.invalidHandleTypes={A:"A"};this.invalidHandleIds={};this.invalidHandleClasses=[];this.applyConfig();},applyConfig:function(){this.events={mouseDown:true,b4MouseDown:true,mouseUp:true,b4StartDrag:true,startDrag:true,b4EndDrag:true,endDrag:true,drag:true,b4Drag:true,invalidDrop:true,b4DragOut:true,dragOut:true,dragEnter:true,b4DragOver:true,dragOver:true,b4DragDrop:true,dragDrop:true};if(this.config.events){for(var C in this.config.events){if(this.
config.events[C]===false){this.events[C]=false;}}}this.padding=this.config.padding||[0,0,0,0];this.isTarget=(this.config.isTarget!==false);this.maintainOffset=(this.config.maintainOffset);this.primaryButtonOnly=(this.config.primaryButtonOnly!==false);this.dragOnly=((this.config.dragOnly===true)?true:false);this.useShim=((this.config.useShim===true)?true:false);},handleOnAvailable:function(){this.available=true;this.resetConstraints();this.onAvailable();},setPadding:function(E,C,F,D){if(!C&&0!==C){this.padding=[E,E,E,E];}else{if(!F&&0!==F){this.padding=[E,C,E,C];}else{this.padding=[E,C,F,D];}}},setInitPosition:function(F,E){var G=this.getEl();if(!this.DDM.verifyEl(G)){if(G&&G.style&&(G.style.display=="none")){}else{}return;}var D=F||0;var C=E||0;var H=B.getXY(G);this.initPageX=H[0]-D;this.initPageY=H[1]-C;this.lastPageX=H[0];this.lastPageY=H[1];this.setStartPosition(H);},setStartPosition:function(D){var C=D||B.getXY(this.getEl());this.deltaSetXY=null;this.startPageX=C[0];this
.startPageY=C[1];},addToGroup:function(C){this.groups[C]=true;this.DDM.regDragDrop(this,C);},removeFromGroup:function(C){if(this.groups[C]){delete this.groups[C];}this.DDM.removeDDFromGroup(this,C);},setDragElId:function(C){this.dragElId=C;},setHandleElId:function(C){if(typeof C!=="string"){C=B.generateId(C);}this.handleElId=C;this.DDM.regHandle(this.id,C);},setOuterHandleElId:function(C){if(typeof C!=="string"){C=B.generateId(C);}A.on(C,"mousedown",this.handleMouseDown,this,true);this.setHandleElId(C);this.hasOuterHandles=true;},unreg:function(){A.removeListener(this.id,"mousedown",this.handleMouseDown);this._domRef=null;this.DDM._remove(this);},isLocked:function(){return(this.DDM.isLocked()||this.locked);},handleMouseDown:function(J,I){var D=J.which||J.button;if(this.primaryButtonOnly&&D>1){return;}if(this.isLocked()){return;}var C=this.b4MouseDown(J),F=true;if(this.events.b4MouseDown){F=this.fireEvent("b4MouseDownEvent",J);}var E=this.onMouseDown(J),H=true;if(this.events.
mouseDown){H=this.fireEvent("mouseDownEvent",J);}if((C===false)||(E===false)||(F===false)||(H===false)){return;}this.DDM.refreshCache(this.groups);var G=new YAHOO.util.Point(A.getPageX(J),A.getPageY(J));if(!this.hasOuterHandles&&!this.DDM.isOverTarget(G,this)){}else{if(this.clickValidator(J)){this.setStartPosition();this.DDM.handleMouseDown(J,this);this.DDM.stopEvent(J);}else{}}},clickValidator:function(D){var C=YAHOO.util.Event.getTarget(D);return(this.isValidHandleChild(C)&&(this.id==this.handleElId||this.DDM.handleWasClicked(C,this.id)));},getTargetCoord:function(E,D){var C=E-this.deltaX;var F=D-this.deltaY;if(this.constrainX){if(C<this.minX){C=this.minX;}if(C>this.maxX){C=this.maxX;}}if(this.constrainY){if(F<this.minY){F=this.minY;}if(F>this.maxY){F=this.maxY;}}C=this.getTick(C,this.xTicks);F=this.getTick(F,this.yTicks);return{x:C,y:F};},addInvalidHandleType:function(C){var D=C.toUpperCase();this.invalidHandleTypes[D]=D;},addInvalidHandleId:function(C){if(typeof C!=="str
ing"){C=B.generateId(C);}this.invalidHandleIds[C]=C;},addInvalidHandleClass:function(C){this.invalidHandleClasses.push(C);},removeInvalidHandleType:function(C){var D=C.toUpperCase();delete this.invalidHandleTypes[D];},removeInvalidHandleId:function(C){if(typeof C!=="string"){C=B.generateId(C);}delete this.invalidHandleIds[C];},removeInvalidHandleClass:function(D){for(var E=0,C=this.invalidHandleClasses.length;E<C;++E){if(this.invalidHandleClasses[E]==D){delete this.invalidHandleClasses[E];}}},isValidHandleChild:function(F){var E=true;var H;try{H=F.nodeName.toUpperCase();}catch(G){H=F.nodeName;}E=E&&!this.invalidHandleTypes[H];E=E&&!this.invalidHandleIds[F.id];for(var D=0,C=this.invalidHandleClasses.length;E&&D<C;++D){E=!B.hasClass(F,this.invalidHandleClasses[D]);}return E;},setXTicks:function(F,C){this.xTicks=[];this.xTickSize=C;var E={};for(var D=this.initPageX;D>=this.minX;D=D-C){if(!E[D]){this.xTicks[this.xTicks.length]=D;E[D]=true;}}for(D=this.initPageX;D<=this.maxX;D=D+
C){if(!E[D]){this.xTicks[this.xTicks.length]=D;E[D]=true;}}this.xTicks.sort(this.DDM.numericSort);},setYTicks:function(F,C){this.yTicks=[];this.yTickSize=C;var E={};for(var D=this.initPageY;D>=this.minY;D=D-C){if(!E[D]){this.yTicks[this.yTicks.length]=D;E[D]=true;}}for(D=this.initPageY;D<=this.maxY;D=D+C){if(!E[D]){this.yTicks[this.yTicks.length]=D;E[D]=true;}}this.yTicks.sort(this.DDM.numericSort);},setXConstraint:function(E,D,C){this.leftConstraint=parseInt(E,10);this.rightConstraint=parseInt(D,10);this.minX=this.initPageX-this.leftConstraint;this.maxX=this.initPageX+this.rightConstraint;if(C){this.setXTicks(this.initPageX,C);}this.constrainX=true;},clearConstraints:function(){this.constrainX=false;this.constrainY=false;this.clearTicks();},clearTicks:function(){this.xTicks=null;this.yTicks=null;this.xTickSize=0;this.yTickSize=0;},setYConstraint:function(C,E,D){this.topConstraint=parseInt(C,10);this.bottomConstraint=parseInt(E,10);this.minY=this.initPageY-this.topConstraint
;this.maxY=this.initPageY+this.bottomConstraint;if(D){this.setYTicks(this.initPageY,D);
+}this.constrainY=true;},resetConstraints:function(){if(this.initPageX||this.initPageX===0){var D=(this.maintainOffset)?this.lastPageX-this.initPageX:0;var C=(this.maintainOffset)?this.lastPageY-this.initPageY:0;this.setInitPosition(D,C);}else{this.setInitPosition();}if(this.constrainX){this.setXConstraint(this.leftConstraint,this.rightConstraint,this.xTickSize);}if(this.constrainY){this.setYConstraint(this.topConstraint,this.bottomConstraint,this.yTickSize);}},getTick:function(I,F){if(!F){return I;}else{if(F[0]>=I){return F[0];}else{for(var D=0,C=F.length;D<C;++D){var E=D+1;if(F[E]&&F[E]>=I){var H=I-F[D];var G=F[E]-I;return(G>H)?F[D]:F[E];}}return F[F.length-1];}}},toString:function(){return("DragDrop "+this.id);}};YAHOO.augment(YAHOO.util.DragDrop,YAHOO.util.EventProvider);})();YAHOO.util.DD=function(C,A,B){if(C){this.init(C,A,B);}};YAHOO.extend(YAHOO.util.DD,YAHOO.util.DragDrop,{scroll:true,autoOffset:function(C,B){var A=C-this.startPageX;var D=B-this.startPageY;this.setDe
lta(A,D);},setDelta:function(B,A){this.deltaX=B;this.deltaY=A;},setDragElPos:function(C,B){var A=this.getDragEl();this.alignElWithMouse(A,C,B);},alignElWithMouse:function(C,G,F){var E=this.getTargetCoord(G,F);if(!this.deltaSetXY){var H=[E.x,E.y];YAHOO.util.Dom.setXY(C,H);var D=parseInt(YAHOO.util.Dom.getStyle(C,"left"),10);var B=parseInt(YAHOO.util.Dom.getStyle(C,"top"),10);this.deltaSetXY=[D-E.x,B-E.y];}else{YAHOO.util.Dom.setStyle(C,"left",(E.x+this.deltaSetXY[0])+"px");YAHOO.util.Dom.setStyle(C,"top",(E.y+this.deltaSetXY[1])+"px");}this.cachePosition(E.x,E.y);var A=this;setTimeout(function(){A.autoScroll.call(A,E.x,E.y,C.offsetHeight,C.offsetWidth);},0);},cachePosition:function(B,A){if(B){this.lastPageX=B;this.lastPageY=A;}else{var C=YAHOO.util.Dom.getXY(this.getEl());this.lastPageX=C[0];this.lastPageY=C[1];}},autoScroll:function(J,I,E,K){if(this.scroll){var L=this.DDM.getClientHeight();var B=this.DDM.getClientWidth();var N=this.DDM.getScrollTop();var D=this.DDM.getScroll
Left();var H=E+I;var M=K+J;var G=(L+N-I-this.deltaY);var F=(B+D-J-this.deltaX);var C=40;var A=(document.all)?80:30;if(H>L&&G<C){window.scrollTo(D,N+A);}if(I<N&&N>0&&I-N<C){window.scrollTo(D,N-A);}if(M>B&&F<C){window.scrollTo(D+A,N);}if(J<D&&D>0&&J-D<C){window.scrollTo(D-A,N);}}},applyConfig:function(){YAHOO.util.DD.superclass.applyConfig.call(this);this.scroll=(this.config.scroll!==false);},b4MouseDown:function(A){this.setStartPosition();this.autoOffset(YAHOO.util.Event.getPageX(A),YAHOO.util.Event.getPageY(A));},b4Drag:function(A){this.setDragElPos(YAHOO.util.Event.getPageX(A),YAHOO.util.Event.getPageY(A));},toString:function(){return("DD "+this.id);}});YAHOO.util.DDProxy=function(C,A,B){if(C){this.init(C,A,B);this.initFrame();}};YAHOO.util.DDProxy.dragElId="ygddfdiv";YAHOO.extend(YAHOO.util.DDProxy,YAHOO.util.DD,{resizeFrame:true,centerFrame:false,createFrame:function(){var B=this,A=document.body;if(!A||!A.firstChild){setTimeout(function(){B.createFrame();},50);return;}var
F=this.getDragEl(),E=YAHOO.util.Dom;if(!F){F=document.createElement("div");F.id=this.dragElId;var D=F.style;D.position="absolute";D.visibility="hidden";D.cursor="move";D.border="2px solid #aaa";D.zIndex=999;D.height="25px";D.width="25px";var C=document.createElement("div");E.setStyle(C,"height","100%");E.setStyle(C,"width","100%");E.setStyle(C,"background-color","#ccc");E.setStyle(C,"opacity","0");F.appendChild(C);A.insertBefore(F,A.firstChild);}},initFrame:function(){this.createFrame();},applyConfig:function(){YAHOO.util.DDProxy.superclass.applyConfig.call(this);this.resizeFrame=(this.config.resizeFrame!==false);this.centerFrame=(this.config.centerFrame);this.setDragElId(this.config.dragElId||YAHOO.util.DDProxy.dragElId);},showFrame:function(E,D){var C=this.getEl();var A=this.getDragEl();var B=A.style;this._resizeProxy();if(this.centerFrame){this.setDelta(Math.round(parseInt(B.width,10)/2),Math.round(parseInt(B.height,10)/2));}this.setDragElPos(E,D);YAHOO.util.Dom.setStyle
(A,"visibility","visible");},_resizeProxy:function(){if(this.resizeFrame){var H=YAHOO.util.Dom;var B=this.getEl();var C=this.getDragEl();var G=parseInt(H.getStyle(C,"borderTopWidth"),10);var I=parseInt(H.getStyle(C,"borderRightWidth"),10);var F=parseInt(H.getStyle(C,"borderBottomWidth"),10);var D=parseInt(H.getStyle(C,"borderLeftWidth"),10);if(isNaN(G)){G=0;}if(isNaN(I)){I=0;}if(isNaN(F)){F=0;}if(isNaN(D)){D=0;}var E=Math.max(0,B.offsetWidth-I-D);var A=Math.max(0,B.offsetHeight-G-F);H.setStyle(C,"width",E+"px");H.setStyle(C,"height",A+"px");}},b4MouseDown:function(B){this.setStartPosition();var A=YAHOO.util.Event.getPageX(B);var C=YAHOO.util.Event.getPageY(B);this.autoOffset(A,C);},b4StartDrag:function(A,B){this.showFrame(A,B);},b4EndDrag:function(A){YAHOO.util.Dom.setStyle(this.getDragEl(),"visibility","hidden");},endDrag:function(D){var C=YAHOO.util.Dom;var B=this.getEl();var A=this.getDragEl();C.setStyle(A,"visibility","");C.setStyle(B,"visibility","hidden");YAHOO.util.DD
M.moveToEl(B,A);C.setStyle(A,"visibility","hidden");C.setStyle(B,"visibility","");},toString:function(){return("DDProxy "+this.id);}});YAHOO.util.DDTarget=function(C,A,B){if(C){this.initTarget(C,A,B);}};YAHOO.extend(YAHOO.util.DDTarget,YAHOO.util.DragDrop,{toString:function(){return("DDTarget "+this.id);}});YAHOO.register("dragdrop",YAHOO.util.DragDropMgr,{version:"2.7.0",build:"1796"});/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+(function(){var B=YAHOO.util.Dom.getXY,A=YAHOO.util.Event,D=Array.prototype.slice;function C(G,E,F,H){C.ANIM_AVAIL=(!YAHOO.lang.isUndefined(YAHOO.util.Anim));if(G){this.init(G,E,true);this.initSlider(H);this.initThumb(F);}}YAHOO.lang.augmentObject(C,{getHorizSlider:function(F,G,I,H,E){return new C(F,F,new YAHOO.widget.SliderThumb(G,F,I,H,0,0,E),"horiz");},getVertSlider:function(G,H,E,I,F){return new C(G,G,new YAHOO.widget.SliderThumb(H,G,0,0,E,I,F),"vert");},getSliderRegion:function(G,H,J,I,E,K,F){return new C(G,G,new YAHOO.widget.SliderThumb(H,G,J,I,E,K,F),"region");},SOURCE_UI_EVENT:1,SOURCE_SET_VALUE:2,SOURCE_KEY_EVENT:3,ANIM_AVAIL:false},true);YAHOO.extend(C,YAHOO.util.DragDrop,{_mouseDown:false,dragOnly:true,initSlider:function(E){this.type=E;this.createEvent("change",this);this.createEvent("slideStart",this);this.createEvent("slideEnd",this);this.isTarget=false;this.animate=C.ANIM_AVAIL;this.backgroundEnabled=true;this.tickPause=40;this.enableKeys=true;this.keyIncremen
t=20;this.moveComplete=true;this.animationDuration=0.2;this.SOURCE_UI_EVENT=1;this.SOURCE_SET_VALUE=2;this.valueChangeSource=0;this._silent=false;this.lastOffset=[0,0];},initThumb:function(F){var E=this;this.thumb=F;F.cacheBetweenDrags=true;if(F._isHoriz&&F.xTicks&&F.xTicks.length){this.tickPause=Math.round(360/F.xTicks.length);}else{if(F.yTicks&&F.yTicks.length){this.tickPause=Math.round(360/F.yTicks.length);}}F.onAvailable=function(){return E.setStartSliderState();};F.onMouseDown=function(){E._mouseDown=true;return E.focus();};F.startDrag=function(){E._slideStart();};F.onDrag=function(){E.fireEvents(true);};F.onMouseUp=function(){E.thumbMouseUp();};},onAvailable:function(){this._bindKeyEvents();},_bindKeyEvents:function(){A.on(this.id,"keydown",this.handleKeyDown,this,true);A.on(this.id,"keypress",this.handleKeyPress,this,true);},handleKeyPress:function(F){if(this.enableKeys){var E=A.getCharCode(F);switch(E){case 37:case 38:case 39:case 40:case 36:case 35:A.preventDefault(
F);break;default:}}},handleKeyDown:function(J){if(this.enableKeys){var G=A.getCharCode(J),F=this.thumb,H=this.getXValue(),E=this.getYValue(),I=true;switch(G){case 37:H-=this.keyIncrement;break;case 38:E-=this.keyIncrement;break;case 39:H+=this.keyIncrement;break;case 40:E+=this.keyIncrement;break;case 36:H=F.leftConstraint;E=F.topConstraint;break;case 35:H=F.rightConstraint;E=F.bottomConstraint;break;default:I=false;}if(I){if(F._isRegion){this._setRegionValue(C.SOURCE_KEY_EVENT,H,E,true);}else{this._setValue(C.SOURCE_KEY_EVENT,(F._isHoriz?H:E),true);}A.stopEvent(J);}}},setStartSliderState:function(){this.setThumbCenterPoint();this.baselinePos=B(this.getEl());this.thumb.startOffset=this.thumb.getOffsetFromParent(this.baselinePos);if(this.thumb._isRegion){if(this.deferredSetRegionValue){this._setRegionValue.apply(this,this.deferredSetRegionValue);this.deferredSetRegionValue=null;}else{this.setRegionValue(0,0,true,true,true);}}else{if(this.deferredSetValue){this._setValue.apply
(this,this.deferredSetValue);this.deferredSetValue=null;}else{this.setValue(0,true,true,true);}}},setThumbCenterPoint:function(){var E=this.thumb.getEl();if(E){this.thumbCenterPoint={x:parseInt(E.offsetWidth/2,10),y:parseInt(E.offsetHeight/2,10)};}},lock:function(){this.thumb.lock();this.locked=true;},unlock:function(){this.thumb.unlock();this.locked=false;},thumbMouseUp:function(){this._mouseDown=false;if(!this.isLocked()&&!this.moveComplete){this.endMove();}},onMouseUp:function(){this._mouseDown=false;if(this.backgroundEnabled&&!this.isLocked()&&!this.moveComplete){this.endMove();}},getThumb:function(){return this.thumb;},focus:function(){this.valueChangeSource=C.SOURCE_UI_EVENT;var E=this.getEl();if(E.focus){try{E.focus();}catch(F){}}this.verifyOffset();return !this.isLocked();},onChange:function(E,F){},onSlideStart:function(){},onSlideEnd:function(){},getValue:function(){return this.thumb.getValue();},getXValue:function(){return this.thumb.getXValue();},getYValue:functio
n(){return this.thumb.getYValue();},setValue:function(){var E=D.call(arguments);E.unshift(C.SOURCE_SET_VALUE);return this._setValue.apply(this,E);},_setValue:function(I,L,G,H,E){var F=this.thumb,K,J;if(!F.available){this.deferredSetValue=arguments;return false;}if(this.isLocked()&&!H){return false;}if(isNaN(L)){return false;}if(F._isRegion){return false;}this._silent=E;this.valueChangeSource=I||C.SOURCE_SET_VALUE;F.lastOffset=[L,L];this.verifyOffset(true);this._slideStart();if(F._isHoriz){K=F.initPageX+L+this.thumbCenterPoint.x;this.moveThumb(K,F.initPageY,G);}else{J=F.initPageY+L+this.thumbCenterPoint.y;this.moveThumb(F.initPageX,J,G);}return true;},setRegionValue:function(){var E=D.call(arguments);E.unshift(C.SOURCE_SET_VALUE);return this._setRegionValue.apply(this,E);},_setRegionValue:function(F,J,H,I,G,K){var L=this.thumb,E,M;if(!L.available){this.deferredSetRegionValue=arguments;return false;}if(this.isLocked()&&!G){return false;}if(isNaN(J)){return false;}if(!L._isRegi
on){return false;}this._silent=K;this.valueChangeSource=F||C.SOURCE_SET_VALUE;L.lastOffset=[J,H];this.verifyOffset(true);this._slideStart();E=L.initPageX+J+this.thumbCenterPoint.x;M=L.initPageY+H+this.thumbCenterPoint.y;this.moveThumb(E,M,I);return true;},verifyOffset:function(F){var G=B(this.getEl()),E=this.thumb;if(!this.thumbCenterPoint||!this.thumbCenterPoint.x){this.setThumbCenterPoint();}if(G){if(G[0]!=this.baselinePos[0]||G[1]!=this.baselinePos[1]){this.setInitPosition();this.baselinePos=G;E.initPageX=this.initPageX+E.startOffset[0];E.initPageY=this.initPageY+E.startOffset[1];E.deltaSetXY=null;this.resetThumbConstraints();return false;}}return true;},moveThumb:function(K,J,I,G){var L=this.thumb,M=this,F,E,H;if(!L.available){return;}L.setDelta(this.thumbCenterPoint.x,this.thumbCenterPoint.y);E=L.getTargetCoord(K,J);F=[Math.round(E.x),Math.round(E.y)];if(this.animate&&L._graduated&&!I){this.lock();this.curCoord=B(this.thumb.getEl());this.curCoord=[Math.round(this.curCoo
rd[0]),Math.round(this.curCoord[1])];setTimeout(function(){M.moveOneTick(F);
+},this.tickPause);}else{if(this.animate&&C.ANIM_AVAIL&&!I){this.lock();H=new YAHOO.util.Motion(L.id,{points:{to:F}},this.animationDuration,YAHOO.util.Easing.easeOut);H.onComplete.subscribe(function(){M.unlock();if(!M._mouseDown){M.endMove();}});H.animate();}else{L.setDragElPos(K,J);if(!G&&!this._mouseDown){this.endMove();}}}},_slideStart:function(){if(!this._sliding){if(!this._silent){this.onSlideStart();this.fireEvent("slideStart");}this._sliding=true;}},_slideEnd:function(){if(this._sliding&&this.moveComplete){var E=this._silent;this._sliding=false;this._silent=false;this.moveComplete=false;if(!E){this.onSlideEnd();this.fireEvent("slideEnd");}}},moveOneTick:function(F){var H=this.thumb,G=this,I=null,E,J;if(H._isRegion){I=this._getNextX(this.curCoord,F);E=(I!==null)?I[0]:this.curCoord[0];I=this._getNextY(this.curCoord,F);J=(I!==null)?I[1]:this.curCoord[1];I=E!==this.curCoord[0]||J!==this.curCoord[1]?[E,J]:null;}else{if(H._isHoriz){I=this._getNextX(this.curCoord,F);}else{I=t
his._getNextY(this.curCoord,F);}}if(I){this.curCoord=I;this.thumb.alignElWithMouse(H.getEl(),I[0]+this.thumbCenterPoint.x,I[1]+this.thumbCenterPoint.y);if(!(I[0]==F[0]&&I[1]==F[1])){setTimeout(function(){G.moveOneTick(F);},this.tickPause);}else{this.unlock();if(!this._mouseDown){this.endMove();}}}else{this.unlock();if(!this._mouseDown){this.endMove();}}},_getNextX:function(E,F){var H=this.thumb,J,G=[],I=null;if(E[0]>F[0]){J=H.tickSize-this.thumbCenterPoint.x;G=H.getTargetCoord(E[0]-J,E[1]);I=[G.x,G.y];}else{if(E[0]<F[0]){J=H.tickSize+this.thumbCenterPoint.x;G=H.getTargetCoord(E[0]+J,E[1]);I=[G.x,G.y];}else{}}return I;},_getNextY:function(E,F){var H=this.thumb,J,G=[],I=null;if(E[1]>F[1]){J=H.tickSize-this.thumbCenterPoint.y;G=H.getTargetCoord(E[0],E[1]-J);I=[G.x,G.y];}else{if(E[1]<F[1]){J=H.tickSize+this.thumbCenterPoint.y;G=H.getTargetCoord(E[0],E[1]+J);I=[G.x,G.y];}else{}}return I;},b4MouseDown:function(E){if(!this.backgroundEnabled){return false;}this.thumb.autoOffset();th
is.resetThumbConstraints();},onMouseDown:function(F){if(!this.backgroundEnabled||this.isLocked()){return false;}this._mouseDown=true;var E=A.getPageX(F),G=A.getPageY(F);this.focus();this._slideStart();this.moveThumb(E,G);},onDrag:function(F){if(this.backgroundEnabled&&!this.isLocked()){var E=A.getPageX(F),G=A.getPageY(F);this.moveThumb(E,G,true,true);this.fireEvents();}},endMove:function(){this.unlock();this.fireEvents();this.moveComplete=true;this._slideEnd();},resetThumbConstraints:function(){var E=this.thumb;E.setXConstraint(E.leftConstraint,E.rightConstraint,E.xTickSize);E.setYConstraint(E.topConstraint,E.bottomConstraint,E.xTickSize);},fireEvents:function(G){var F=this.thumb,I,H,E;if(!G){F.cachePosition();}if(!this.isLocked()){if(F._isRegion){I=F.getXValue();H=F.getYValue();if(I!=this.previousX||H!=this.previousY){if(!this._silent){this.onChange(I,H);this.fireEvent("change",{x:I,y:H});}}this.previousX=I;this.previousY=H;}else{E=F.getValue();if(E!=this.previousVal){if(!t
his._silent){this.onChange(E);this.fireEvent("change",E);}}this.previousVal=E;}}},toString:function(){return("Slider ("+this.type+") "+this.id);}});YAHOO.lang.augmentProto(C,YAHOO.util.EventProvider);YAHOO.widget.Slider=C;})();YAHOO.widget.SliderThumb=function(G,B,E,D,A,F,C){if(G){YAHOO.widget.SliderThumb.superclass.constructor.call(this,G,B);this.parentElId=B;}this.isTarget=false;this.tickSize=C;this.maintainOffset=true;this.initSlider(E,D,A,F,C);this.scroll=false;};YAHOO.extend(YAHOO.widget.SliderThumb,YAHOO.util.DD,{startOffset:null,dragOnly:true,_isHoriz:false,_prevVal:0,_graduated:false,getOffsetFromParent0:function(C){var A=YAHOO.util.Dom.getXY(this.getEl()),B=C||YAHOO.util.Dom.getXY(this.parentElId);return[(A[0]-B[0]),(A[1]-B[1])];},getOffsetFromParent:function(H){var A=this.getEl(),E,I,F,B,K,D,C,J,G;if(!this.deltaOffset){I=YAHOO.util.Dom.getXY(A);F=H||YAHOO.util.Dom.getXY(this.parentElId);E=[(I[0]-F[0]),(I[1]-F[1])];B=parseInt(YAHOO.util.Dom.getStyle(A,"left"),10);K=
parseInt(YAHOO.util.Dom.getStyle(A,"top"),10);D=B-E[0];C=K-E[1];if(isNaN(D)||isNaN(C)){}else{this.deltaOffset=[D,C];}}else{J=parseInt(YAHOO.util.Dom.getStyle(A,"left"),10);G=parseInt(YAHOO.util.Dom.getStyle(A,"top"),10);E=[J+this.deltaOffset[0],G+this.deltaOffset[1]];}return E;},initSlider:function(D,C,A,E,B){this.initLeft=D;this.initRight=C;this.initUp=A;this.initDown=E;this.setXConstraint(D,C,B);this.setYConstraint(A,E,B);if(B&&B>1){this._graduated=true;}this._isHoriz=(D||C);this._isVert=(A||E);this._isRegion=(this._isHoriz&&this._isVert);},clearTicks:function(){YAHOO.widget.SliderThumb.superclass.clearTicks.call(this);this.tickSize=0;this._graduated=false;},getValue:function(){return(this._isHoriz)?this.getXValue():this.getYValue();},getXValue:function(){if(!this.available){return 0;}var A=this.getOffsetFromParent();if(YAHOO.lang.isNumber(A[0])){this.lastOffset=A;return(A[0]-this.startOffset[0]);}else{return(this.lastOffset[0]-this.startOffset[0]);}},getYValue:function(){
if(!this.available){return 0;}var A=this.getOffsetFromParent();if(YAHOO.lang.isNumber(A[1])){this.lastOffset=A;return(A[1]-this.startOffset[1]);}else{return(this.lastOffset[1]-this.startOffset[1]);}},toString:function(){return"SliderThumb "+this.id;},onChange:function(A,B){}});(function(){var A=YAHOO.util.Event,B=YAHOO.widget;function C(I,F,H,D){var G=this,J={min:false,max:false},E,K;this.minSlider=I;this.maxSlider=F;this.activeSlider=I;this.isHoriz=I.thumb._isHoriz;E=this.minSlider.thumb.onMouseDown;K=this.maxSlider.thumb.onMouseDown;this.minSlider.thumb.onMouseDown=function(){G.activeSlider=G.minSlider;E.apply(this,arguments);};this.maxSlider.thumb.onMouseDown=function(){G.activeSlider=G.maxSlider;K.apply(this,arguments);};this.minSlider.thumb.onAvailable=function(){I.setStartSliderState();J.min=true;if(J.max){G.fireEvent("ready",G);}};this.maxSlider.thumb.onAvailable=function(){F.setStartSliderState();J.max=true;if(J.min){G.fireEvent("ready",G);}};I.onMouseDown=F.onMouseD
own=function(L){return this.backgroundEnabled&&G._handleMouseDown(L);
+};I.onDrag=F.onDrag=function(L){G._handleDrag(L);};I.onMouseUp=F.onMouseUp=function(L){G._handleMouseUp(L);};I._bindKeyEvents=function(){G._bindKeyEvents(this);};F._bindKeyEvents=function(){};I.subscribe("change",this._handleMinChange,I,this);I.subscribe("slideStart",this._handleSlideStart,I,this);I.subscribe("slideEnd",this._handleSlideEnd,I,this);F.subscribe("change",this._handleMaxChange,F,this);F.subscribe("slideStart",this._handleSlideStart,F,this);F.subscribe("slideEnd",this._handleSlideEnd,F,this);this.createEvent("ready",this);this.createEvent("change",this);this.createEvent("slideStart",this);this.createEvent("slideEnd",this);D=YAHOO.lang.isArray(D)?D:[0,H];D[0]=Math.min(Math.max(parseInt(D[0],10)|0,0),H);D[1]=Math.max(Math.min(parseInt(D[1],10)|0,H),0);if(D[0]>D[1]){D.splice(0,2,D[1],D[0]);}this.minVal=D[0];this.maxVal=D[1];this.minSlider.setValue(this.minVal,true,true,true);this.maxSlider.setValue(this.maxVal,true,true,true);}C.prototype={minVal:-1,maxVal:-1,minRa
nge:0,_handleSlideStart:function(E,D){this.fireEvent("slideStart",D);},_handleSlideEnd:function(E,D){this.fireEvent("slideEnd",D);},_handleDrag:function(D){B.Slider.prototype.onDrag.call(this.activeSlider,D);},_handleMinChange:function(){this.activeSlider=this.minSlider;this.updateValue();},_handleMaxChange:function(){this.activeSlider=this.maxSlider;this.updateValue();},_bindKeyEvents:function(D){A.on(D.id,"keydown",this._handleKeyDown,this,true);A.on(D.id,"keypress",this._handleKeyPress,this,true);},_handleKeyDown:function(D){this.activeSlider.handleKeyDown.apply(this.activeSlider,arguments);},_handleKeyPress:function(D){this.activeSlider.handleKeyPress.apply(this.activeSlider,arguments);},setValues:function(H,K,I,E,J){var F=this.minSlider,M=this.maxSlider,D=F.thumb,L=M.thumb,N=this,G={min:false,max:false};if(D._isHoriz){D.setXConstraint(D.leftConstraint,L.rightConstraint,D.tickSize);L.setXConstraint(D.leftConstraint,L.rightConstraint,L.tickSize);}else{D.setYConstraint(D.t
opConstraint,L.bottomConstraint,D.tickSize);L.setYConstraint(D.topConstraint,L.bottomConstraint,L.tickSize);}this._oneTimeCallback(F,"slideEnd",function(){G.min=true;if(G.max){N.updateValue(J);setTimeout(function(){N._cleanEvent(F,"slideEnd");N._cleanEvent(M,"slideEnd");},0);}});this._oneTimeCallback(M,"slideEnd",function(){G.max=true;if(G.min){N.updateValue(J);setTimeout(function(){N._cleanEvent(F,"slideEnd");N._cleanEvent(M,"slideEnd");},0);}});F.setValue(H,I,E,false);M.setValue(K,I,E,false);},setMinValue:function(F,H,I,E){var G=this.minSlider,D=this;this.activeSlider=G;D=this;this._oneTimeCallback(G,"slideEnd",function(){D.updateValue(E);setTimeout(function(){D._cleanEvent(G,"slideEnd");},0);});G.setValue(F,H,I);},setMaxValue:function(D,H,I,F){var G=this.maxSlider,E=this;this.activeSlider=G;this._oneTimeCallback(G,"slideEnd",function(){E.updateValue(F);setTimeout(function(){E._cleanEvent(G,"slideEnd");},0);});G.setValue(D,H,I);},updateValue:function(J){var E=this.minSlide
r.getValue(),K=this.maxSlider.getValue(),F=false,D,M,H,I,L,G;if(E!=this.minVal||K!=this.maxVal){F=true;D=this.minSlider.thumb;M=this.maxSlider.thumb;H=this.isHoriz?"x":"y";G=this.minSlider.thumbCenterPoint[H]+this.maxSlider.thumbCenterPoint[H];I=Math.max(K-G-this.minRange,0);L=Math.min(-E-G-this.minRange,0);if(this.isHoriz){I=Math.min(I,M.rightConstraint);D.setXConstraint(D.leftConstraint,I,D.tickSize);M.setXConstraint(L,M.rightConstraint,M.tickSize);}else{I=Math.min(I,M.bottomConstraint);D.setYConstraint(D.leftConstraint,I,D.tickSize);M.setYConstraint(L,M.bottomConstraint,M.tickSize);}}this.minVal=E;this.maxVal=K;if(F&&!J){this.fireEvent("change",this);}},selectActiveSlider:function(H){var E=this.minSlider,D=this.maxSlider,J=E.isLocked()||!E.backgroundEnabled,G=D.isLocked()||!E.backgroundEnabled,F=YAHOO.util.Event,I;if(J||G){this.activeSlider=J?D:E;}else{if(this.isHoriz){I=F.getPageX(H)-E.thumb.initPageX-E.thumbCenterPoint.x;}else{I=F.getPageY(H)-E.thumb.initPageY-E.thumbCe
nterPoint.y;}this.activeSlider=I*2>D.getValue()+E.getValue()?D:E;}},_handleMouseDown:function(D){if(!D._handled){D._handled=true;this.selectActiveSlider(D);return B.Slider.prototype.onMouseDown.call(this.activeSlider,D);}else{return false;}},_handleMouseUp:function(D){B.Slider.prototype.onMouseUp.apply(this.activeSlider,arguments);},_oneTimeCallback:function(F,D,E){F.subscribe(D,function(){F.unsubscribe(D,arguments.callee);E.apply({},[].slice.apply(arguments));});},_cleanEvent:function(K,E){var J,I,D,G,H,F;if(K.__yui_events&&K.events[E]){for(I=K.__yui_events.length;I>=0;--I){if(K.__yui_events[I].type===E){J=K.__yui_events[I];break;}}if(J){H=J.subscribers;F=[];G=0;for(I=0,D=H.length;I<D;++I){if(H[I]){F[G++]=H[I];}}J.subscribers=F;}}}};YAHOO.lang.augmentProto(C,YAHOO.util.EventProvider);B.Slider.getHorizDualSlider=function(H,J,K,G,F,D){var I=new B.SliderThumb(J,H,0,G,0,0,F),E=new B.SliderThumb(K,H,0,G,0,0,F);return new C(new B.Slider(H,H,I,"horiz"),new B.Slider(H,H,E,"horiz"),
G,D);};B.Slider.getVertDualSlider=function(H,J,K,G,F,D){var I=new B.SliderThumb(J,H,0,0,0,G,F),E=new B.SliderThumb(K,H,0,0,0,G,F);return new B.DualSlider(new B.Slider(H,H,I,"vert"),new B.Slider(H,H,E,"vert"),G,D);};YAHOO.widget.DualSlider=C;})();YAHOO.register("slider",YAHOO.widget.Slider,{version:"2.7.0",build:"1796"});/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+YAHOO.util.Attribute=function(B,A){if(A){this.owner=A;this.configure(B,true);}};YAHOO.util.Attribute.prototype={name:undefined,value:null,owner:null,readOnly:false,writeOnce:false,_initialConfig:null,_written:false,method:null,setter:null,getter:null,validator:null,getValue:function(){var A=this.value;if(this.getter){A=this.getter.call(this.owner,this.name);}return A;},setValue:function(F,B){var E,A=this.owner,C=this.name;var D={type:C,prevValue:this.getValue(),newValue:F};if(this.readOnly||(this.writeOnce&&this._written)){return false;}if(this.validator&&!this.validator.call(A,F)){return false;}if(!B){E=A.fireBeforeChangeEvent(D);if(E===false){return false;}}if(this.setter){F=this.setter.call(A,F,this.name);if(F===undefined){}}if(this.method){this.method.call(A,F,this.name);}this.value=F;this._written=true;D.type=C;if(!B){this.owner.fireChangeEvent(D);}return true;},configure:function(B,C){B=B||{};if(C){this._written=false;}this._initialConfig=this._initialConfig||{};for(va
r A in B){if(B.hasOwnProperty(A)){this[A]=B[A];if(C){this._initialConfig[A]=B[A];}}}},resetValue:function(){return this.setValue(this._initialConfig.value);},resetConfig:function(){this.configure(this._initialConfig,true);},refresh:function(A){this.setValue(this.value,A);}};(function(){var A=YAHOO.util.Lang;YAHOO.util.AttributeProvider=function(){};YAHOO.util.AttributeProvider.prototype={_configs:null,get:function(C){this._configs=this._configs||{};var B=this._configs[C];if(!B||!this._configs.hasOwnProperty(C)){return null;}return B.getValue();},set:function(D,E,B){this._configs=this._configs||{};var C=this._configs[D];if(!C){return false;}return C.setValue(E,B);},getAttributeKeys:function(){this._configs=this._configs;var C=[],B;for(B in this._configs){if(A.hasOwnProperty(this._configs,B)&&!A.isUndefined(this._configs[B])){C[C.length]=B;}}return C;},setAttributes:function(D,B){for(var C in D){if(A.hasOwnProperty(D,C)){this.set(C,D[C],B);}}},resetValue:function(C,B){this._co
nfigs=this._configs||{};if(this._configs[C]){this.set(C,this._configs[C]._initialConfig.value,B);return true;}return false;},refresh:function(E,C){this._configs=this._configs||{};var F=this._configs;E=((A.isString(E))?[E]:E)||this.getAttributeKeys();for(var D=0,B=E.length;D<B;++D){if(F.hasOwnProperty(E[D])){this._configs[E[D]].refresh(C);}}},register:function(B,C){this.setAttributeConfig(B,C);},getAttributeConfig:function(C){this._configs=this._configs||{};var B=this._configs[C]||{};var D={};for(C in B){if(A.hasOwnProperty(B,C)){D[C]=B[C];}}return D;},setAttributeConfig:function(B,C,D){this._configs=this._configs||{};C=C||{};if(!this._configs[B]){C.name=B;this._configs[B]=this.createAttribute(C);}else{this._configs[B].configure(C,D);}},configureAttribute:function(B,C,D){this.setAttributeConfig(B,C,D);},resetAttributeConfig:function(B){this._configs=this._configs||{};this._configs[B].resetConfig();},subscribe:function(B,C){this._events=this._events||{};if(!(B in this._events)
){this._events[B]=this.createEvent(B);}YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments);},on:function(){this.subscribe.apply(this,arguments);},addListener:function(){this.subscribe.apply(this,arguments);},fireBeforeChangeEvent:function(C){var B="before";B+=C.type.charAt(0).toUpperCase()+C.type.substr(1)+"Change";C.type=B;return this.fireEvent(C.type,C);},fireChangeEvent:function(B){B.type+="Change";return this.fireEvent(B.type,B);},createAttribute:function(B){return new YAHOO.util.Attribute(B,this);}};YAHOO.augment(YAHOO.util.AttributeProvider,YAHOO.util.EventProvider);})();(function(){var B=YAHOO.util.Dom,C=YAHOO.util.AttributeProvider;var A=function(D,E){this.init.apply(this,arguments);};A.DOM_EVENTS={"click":true,"dblclick":true,"keydown":true,"keypress":true,"keyup":true,"mousedown":true,"mousemove":true,"mouseout":true,"mouseover":true,"mouseup":true,"focus":true,"blur":true,"submit":true,"change":true};A.prototype={DOM_EVENTS:null,DEFAULT_HTML_SETTER:
function(F,D){var E=this.get("element");if(E){E[D]=F;}},DEFAULT_HTML_GETTER:function(D){var E=this.get("element"),F;if(E){F=E[D];}return F;},appendChild:function(D){D=D.get?D.get("element"):D;return this.get("element").appendChild(D);},getElementsByTagName:function(D){return this.get("element").getElementsByTagName(D);},hasChildNodes:function(){return this.get("element").hasChildNodes();},insertBefore:function(D,E){D=D.get?D.get("element"):D;E=(E&&E.get)?E.get("element"):E;return this.get("element").insertBefore(D,E);},removeChild:function(D){D=D.get?D.get("element"):D;return this.get("element").removeChild(D);},replaceChild:function(D,E){D=D.get?D.get("element"):D;E=E.get?E.get("element"):E;return this.get("element").replaceChild(D,E);},initAttributes:function(D){},addListener:function(H,G,I,F){var E=this.get("element")||this.get("id");F=F||this;var D=this;if(!this._events[H]){if(E&&this.DOM_EVENTS[H]){YAHOO.util.Event.addListener(E,H,function(J){if(J.srcElement&&!J.target)
{J.target=J.srcElement;}D.fireEvent(H,J);},I,F);}this.createEvent(H,this);}return YAHOO.util.EventProvider.prototype.subscribe.apply(this,arguments);},on:function(){return this.addListener.apply(this,arguments);},subscribe:function(){return this.addListener.apply(this,arguments);},removeListener:function(E,D){return this.unsubscribe.apply(this,arguments);},addClass:function(D){B.addClass(this.get("element"),D);},getElementsByClassName:function(E,D){return B.getElementsByClassName(E,D,this.get("element"));},hasClass:function(D){return B.hasClass(this.get("element"),D);},removeClass:function(D){return B.removeClass(this.get("element"),D);},replaceClass:function(E,D){return B.replaceClass(this.get("element"),E,D);},setStyle:function(E,D){return B.setStyle(this.get("element"),E,D);},getStyle:function(D){return B.getStyle(this.get("element"),D);},fireQueue:function(){var E=this._queue;for(var F=0,D=E.length;F<D;++F){this[E[F][0]].apply(this,E[F][1]);}},appendTo:function(E,F){E=(E
.get)?E.get("element"):B.get(E);this.fireEvent("beforeAppendTo",{type:"beforeAppendTo",target:E});
+F=(F&&F.get)?F.get("element"):B.get(F);var D=this.get("element");if(!D){return false;}if(!E){return false;}if(D.parent!=E){if(F){E.insertBefore(D,F);}else{E.appendChild(D);}}this.fireEvent("appendTo",{type:"appendTo",target:E});return D;},get:function(D){var F=this._configs||{},E=F.element;if(E&&!F[D]&&!YAHOO.lang.isUndefined(E.value[D])){this._setHTMLAttrConfig(D);}return C.prototype.get.call(this,D);},setAttributes:function(J,G){var E={},H=this._configOrder;for(var I=0,D=H.length;I<D;++I){if(J[H[I]]!==undefined){E[H[I]]=true;this.set(H[I],J[H[I]],G);}}for(var F in J){if(J.hasOwnProperty(F)&&!E[F]){this.set(F,J[F],G);}}},set:function(E,G,D){var F=this.get("element");if(!F){this._queue[this._queue.length]=["set",arguments];if(this._configs[E]){this._configs[E].value=G;}return;}if(!this._configs[E]&&!YAHOO.lang.isUndefined(F[E])){this._setHTMLAttrConfig(E);}return C.prototype.set.apply(this,arguments);},setAttributeConfig:function(D,E,F){this._configOrder.push(D);C.prototype.
setAttributeConfig.apply(this,arguments);},createEvent:function(E,D){this._events[E]=true;return C.prototype.createEvent.apply(this,arguments);},init:function(E,D){this._initElement(E,D);},destroy:function(){var D=this.get("element");YAHOO.util.Event.purgeElement(D,true);this.unsubscribeAll();if(D&&D.parentNode){D.parentNode.removeChild(D);}this._queue=[];this._events={};this._configs={};this._configOrder=[];},_initElement:function(F,E){this._queue=this._queue||[];this._events=this._events||{};this._configs=this._configs||{};this._configOrder=[];E=E||{};E.element=E.element||F||null;var H=false;var D=A.DOM_EVENTS;this.DOM_EVENTS=this.DOM_EVENTS||{};for(var G in D){if(D.hasOwnProperty(G)){this.DOM_EVENTS[G]=D[G];}}if(typeof E.element==="string"){this._setHTMLAttrConfig("id",{value:E.element});}if(B.get(E.element)){H=true;this._initHTMLElement(E);this._initContent(E);}YAHOO.util.Event.onAvailable(E.element,function(){if(!H){this._initHTMLElement(E);}this.fireEvent("available",{
type:"available",target:B.get(E.element)});},this,true);YAHOO.util.Event.onContentReady(E.element,function(){if(!H){this._initContent(E);}this.fireEvent("contentReady",{type:"contentReady",target:B.get(E.element)});},this,true);},_initHTMLElement:function(D){this.setAttributeConfig("element",{value:B.get(D.element),readOnly:true});},_initContent:function(D){this.initAttributes(D);this.setAttributes(D,true);this.fireQueue();},_setHTMLAttrConfig:function(D,F){var E=this.get("element");F=F||{};F.name=D;F.setter=F.setter||this.DEFAULT_HTML_SETTER;F.getter=F.getter||this.DEFAULT_HTML_GETTER;F.value=F.value||E[D];this._configs[D]=new YAHOO.util.Attribute(F,this);}};YAHOO.augment(A,C);YAHOO.util.Element=A;})();YAHOO.register("element",YAHOO.util.Element,{version:"2.7.0",build:"1796"});/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+YAHOO.util.Color=function(){var A="0",B=YAHOO.lang.isArray,C=YAHOO.lang.isNumber;return{real2dec:function(D){return Math.min(255,Math.round(D*256));},hsv2rgb:function(H,O,M){if(B(H)){return this.hsv2rgb.call(this,H[0],H[1],H[2]);}var D,I,L,G=Math.floor((H/60)%6),J=(H/60)-G,F=M*(1-O),E=M*(1-J*O),N=M*(1-(1-J)*O),K;switch(G){case 0:D=M;I=N;L=F;break;case 1:D=E;I=M;L=F;break;case 2:D=F;I=M;L=N;break;case 3:D=F;I=E;L=M;break;case 4:D=N;I=F;L=M;break;case 5:D=M;I=F;L=E;break;}K=this.real2dec;return[K(D),K(I),K(L)];},rgb2hsv:function(D,H,I){if(B(D)){return this.rgb2hsv.apply(this,D);}D/=255;H/=255;I/=255;var G,L,E=Math.min(Math.min(D,H),I),J=Math.max(Math.max(D,H),I),K=J-E,F;switch(J){case E:G=0;break;case D:G=60*(H-I)/K;if(H<I){G+=360;}break;case H:G=(60*(I-D)/K)+120;break;case I:G=(60*(D-H)/K)+240;break;}L=(J===0)?0:1-(E/J);F=[Math.round(G),L,J];return F;},rgb2hex:function(F,E,D){if(B(F)){return this.rgb2hex.apply(this,F);}var G=this.dec2hex;return G(F)+G(E)+G(D);},dec2hex:functi
on(D){D=parseInt(D,10)|0;D=(D>255||D<0)?0:D;return(A+D.toString(16)).slice(-2).toUpperCase();},hex2dec:function(D){return parseInt(D,16);},hex2rgb:function(D){var E=this.hex2dec;return[E(D.slice(0,2)),E(D.slice(2,4)),E(D.slice(4,6))];},websafe:function(F,E,D){if(B(F)){return this.websafe.apply(this,F);}var G=function(H){if(C(H)){H=Math.min(Math.max(0,H),255);var I,J;for(I=0;I<256;I=I+51){J=I+51;if(H>=I&&H<=J){return(H-I>25)?J:I;}}}return H;};return[G(F),G(E),G(D)];}};}();(function(){var J=0,F=YAHOO.util,C=YAHOO.lang,D=YAHOO.widget.Slider,B=F.Color,E=F.Dom,I=F.Event,A=C.substitute,H="yui-picker";function G(L,K){J=J+1;K=K||{};if(arguments.length===1&&!YAHOO.lang.isString(L)&&!L.nodeName){K=L;L=K.element||null;}if(!L&&!K.element){L=this._createHostElement(K);}G.superclass.constructor.call(this,L,K);this.initPicker();}YAHOO.extend(G,YAHOO.util.Element,{ID:{R:H+"-r",R_HEX:H+"-rhex",G:H+"-g",G_HEX:H+"-ghex",B:H+"-b",B_HEX:H+"-bhex",H:H+"-h",S:H+"-s",V:H+"-v",PICKER_BG:H+"-bg",PICK
ER_THUMB:H+"-thumb",HUE_BG:H+"-hue-bg",HUE_THUMB:H+"-hue-thumb",HEX:H+"-hex",SWATCH:H+"-swatch",WEBSAFE_SWATCH:H+"-websafe-swatch",CONTROLS:H+"-controls",RGB_CONTROLS:H+"-rgb-controls",HSV_CONTROLS:H+"-hsv-controls",HEX_CONTROLS:H+"-hex-controls",HEX_SUMMARY:H+"-hex-summary",CONTROLS_LABEL:H+"-controls-label"},TXT:{ILLEGAL_HEX:"Illegal hex value entered",SHOW_CONTROLS:"Show color details",HIDE_CONTROLS:"Hide color details",CURRENT_COLOR:"Currently selected color: {rgb}",CLOSEST_WEBSAFE:"Closest websafe color: {rgb}. Click to select.",R:"R",G:"G",B:"B",H:"H",S:"S",V:"V",HEX:"#",DEG:"\u00B0",PERCENT:"%"},IMAGE:{PICKER_THUMB:"../../build/colorpicker/assets/picker_thumb.png",HUE_THUMB:"../../build/colorpicker/assets/hue_thumb.png"},DEFAULT:{PICKER_SIZE:180},OPT:{HUE:"hue",SATURATION:"saturation",VALUE:"value",RED:"red",GREEN:"green",BLUE:"blue",HSV:"hsv",RGB:"rgb",WEBSAFE:"websafe",HEX:"hex",PICKER_SIZE:"pickersize",SHOW_CONTROLS:"showcontrols",SHOW_RGB_CONTROLS:"showrgbcontrols
",SHOW_HSV_CONTROLS:"showhsvcontrols",SHOW_HEX_CONTROLS:"showhexcontrols",SHOW_HEX_SUMMARY:"showhexsummary",SHOW_WEBSAFE:"showwebsafe",CONTAINER:"container",IDS:"ids",ELEMENTS:"elements",TXT:"txt",IMAGES:"images",ANIMATE:"animate"},skipAnim:true,_createHostElement:function(){var K=document.createElement("div");if(this.CSS.BASE){K.className=this.CSS.BASE;}return K;},_updateHueSlider:function(){var K=this.get(this.OPT.PICKER_SIZE),L=this.get(this.OPT.HUE);L=K-Math.round(L/360*K);if(L===K){L=0;}this.hueSlider.setValue(L,this.skipAnim);},_updatePickerSlider:function(){var L=this.get(this.OPT.PICKER_SIZE),M=this.get(this.OPT.SATURATION),K=this.get(this.OPT.VALUE);M=Math.round(M*L/100);K=Math.round(L-(K*L/100));this.pickerSlider.setRegionValue(M,K,this.skipAnim);},_updateSliders:function(){this._updateHueSlider();this._updatePickerSlider();},setValue:function(L,K){K=(K)||false;this.set(this.OPT.RGB,L,K);this._updateSliders();},hueSlider:null,pickerSlider:null,_getH:function(){var
K=this.get(this.OPT.PICKER_SIZE),L=(K-this.hueSlider.getValue())/K;L=Math.round(L*360);return(L===360)?0:L;},_getS:function(){return this.pickerSlider.getXValue()/this.get(this.OPT.PICKER_SIZE);},_getV:function(){var K=this.get(this.OPT.PICKER_SIZE);return(K-this.pickerSlider.getYValue())/K;},_updateSwatch:function(){var M=this.get(this.OPT.RGB),O=this.get(this.OPT.WEBSAFE),N=this.getElement(this.ID.SWATCH),L=M.join(","),K=this.get(this.OPT.TXT);E.setStyle(N,"background-color","rgb("+L+")");N.title=A(K.CURRENT_COLOR,{"rgb":"#"+this.get(this.OPT.HEX)});N=this.getElement(this.ID.WEBSAFE_SWATCH);L=O.join(",");E.setStyle(N,"background-color","rgb("+L+")");N.title=A(K.CLOSEST_WEBSAFE,{"rgb":"#"+B.rgb2hex(O)});},_getValuesFromSliders:function(){this.set(this.OPT.RGB,B.hsv2rgb(this._getH(),this._getS(),this._getV()));},_updateFormFields:function(){this.getElement(this.ID.H).value=this.get(this.OPT.HUE);this.getElement(this.ID.S).value=this.get(this.OPT.SATURATION);this.getElement(t
his.ID.V).value=this.get(this.OPT.VALUE);this.getElement(this.ID.R).value=this.get(this.OPT.RED);this.getElement(this.ID.R_HEX).innerHTML=B.dec2hex(this.get(this.OPT.RED));this.getElement(this.ID.G).value=this.get(this.OPT.GREEN);this.getElement(this.ID.G_HEX).innerHTML=B.dec2hex(this.get(this.OPT.GREEN));this.getElement(this.ID.B).value=this.get(this.OPT.BLUE);this.getElement(this.ID.B_HEX).innerHTML=B.dec2hex(this.get(this.OPT.BLUE));this.getElement(this.ID.HEX).value=this.get(this.OPT.HEX);},_onHueSliderChange:function(N){var L=this._getH(),K=B.hsv2rgb(L,1,1),M="rgb("+K.join(",")+")";this.set(this.OPT.HUE,L,true);E.setStyle(this.getElement(this.ID.PICKER_BG),"background-color",M);if(this.hueSlider.valueChangeSource!==D.SOURCE_SET_VALUE){this._getValuesFromSliders();}this._updateFormFields();this._updateSwatch();},_onPickerSliderChange:function(M){var L=this._getS(),K=this._getV();this.set(this.OPT.SATURATION,Math.round(L*100),true);this.set(this.OPT.VALUE,Math.round(K*100
),true);if(this.pickerSlider.valueChangeSource!==D.SOURCE_SET_VALUE){this._getValuesFromSliders();
+}this._updateFormFields();this._updateSwatch();},_getCommand:function(K){var L=I.getCharCode(K);if(L===38){return 3;}else{if(L===13){return 6;}else{if(L===40){return 4;}else{if(L>=48&&L<=57){return 1;}else{if(L>=97&&L<=102){return 2;}else{if(L>=65&&L<=70){return 2;}else{if("8, 9, 13, 27, 37, 39".indexOf(L)>-1||K.ctrlKey||K.metaKey){return 5;}else{return 0;}}}}}}}},_useFieldValue:function(L,K,N){var M=K.value;if(N!==this.OPT.HEX){M=parseInt(M,10);}if(M!==this.get(N)){this.set(N,M);}},_rgbFieldKeypress:function(M,K,O){var N=this._getCommand(M),L=(M.shiftKey)?10:1;switch(N){case 6:this._useFieldValue.apply(this,arguments);break;case 3:this.set(O,Math.min(this.get(O)+L,255));this._updateFormFields();break;case 4:this.set(O,Math.max(this.get(O)-L,0));this._updateFormFields();break;default:}},_hexFieldKeypress:function(L,K,N){var M=this._getCommand(L);if(M===6){this._useFieldValue.apply(this,arguments);}},_hexOnly:function(L,K){var M=this._getCommand(L);switch(M){case 6:case 5:cas
e 1:break;case 2:if(K!==true){break;}default:I.stopEvent(L);return false;}},_numbersOnly:function(K){return this._hexOnly(K,true);},getElement:function(K){return this.get(this.OPT.ELEMENTS)[this.get(this.OPT.IDS)[K]];},_createElements:function(){var N,M,P,O,L,K=this.get(this.OPT.IDS),Q=this.get(this.OPT.TXT),S=this.get(this.OPT.IMAGES),R=function(U,V){var W=document.createElement(U);if(V){C.augmentObject(W,V,true);}return W;},T=function(U,V){var W=C.merge({autocomplete:"off",value:"0",size:3,maxlength:3},V);W.name=W.id;return new R(U,W);};L=this.get("element");N=new R("div",{id:K[this.ID.PICKER_BG],className:"yui-picker-bg",tabIndex:-1,hideFocus:true});M=new R("div",{id:K[this.ID.PICKER_THUMB],className:"yui-picker-thumb"});P=new R("img",{src:S.PICKER_THUMB});M.appendChild(P);N.appendChild(M);L.appendChild(N);N=new R("div",{id:K[this.ID.HUE_BG],className:"yui-picker-hue-bg",tabIndex:-1,hideFocus:true});M=new R("div",{id:K[this.ID.HUE_THUMB],className:"yui-picker-hue-thumb"})
;P=new R("img",{src:S.HUE_THUMB});M.appendChild(P);N.appendChild(M);L.appendChild(N);N=new R("div",{id:K[this.ID.CONTROLS],className:"yui-picker-controls"});L.appendChild(N);L=N;N=new R("div",{className:"hd"});M=new R("a",{id:K[this.ID.CONTROLS_LABEL],href:"#"});N.appendChild(M);L.appendChild(N);N=new R("div",{className:"bd"});L.appendChild(N);L=N;N=new R("ul",{id:K[this.ID.RGB_CONTROLS],className:"yui-picker-rgb-controls"});M=new R("li");M.appendChild(document.createTextNode(Q.R+" "));O=new T("input",{id:K[this.ID.R],className:"yui-picker-r"});M.appendChild(O);N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.G+" "));O=new T("input",{id:K[this.ID.G],className:"yui-picker-g"});M.appendChild(O);N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.B+" "));O=new T("input",{id:K[this.ID.B],className:"yui-picker-b"});M.appendChild(O);N.appendChild(M);L.appendChild(N);N=new R("ul",{id:K[this.ID.HSV_CONTROLS],className:"yui-picker-hsv-controls
"});M=new R("li");M.appendChild(document.createTextNode(Q.H+" "));O=new T("input",{id:K[this.ID.H],className:"yui-picker-h"});M.appendChild(O);M.appendChild(document.createTextNode(" "+Q.DEG));N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.S+" "));O=new T("input",{id:K[this.ID.S],className:"yui-picker-s"});M.appendChild(O);M.appendChild(document.createTextNode(" "+Q.PERCENT));N.appendChild(M);M=new R("li");M.appendChild(document.createTextNode(Q.V+" "));O=new T("input",{id:K[this.ID.V],className:"yui-picker-v"});M.appendChild(O);M.appendChild(document.createTextNode(" "+Q.PERCENT));N.appendChild(M);L.appendChild(N);N=new R("ul",{id:K[this.ID.HEX_SUMMARY],className:"yui-picker-hex_summary"});M=new R("li",{id:K[this.ID.R_HEX]});N.appendChild(M);M=new R("li",{id:K[this.ID.G_HEX]});N.appendChild(M);M=new R("li",{id:K[this.ID.B_HEX]});N.appendChild(M);L.appendChild(N);N=new R("div",{id:K[this.ID.HEX_CONTROLS],className:"yui-picker-hex-controls"});N.appendC
hild(document.createTextNode(Q.HEX+" "));M=new T("input",{id:K[this.ID.HEX],className:"yui-picker-hex",size:6,maxlength:6});N.appendChild(M);L.appendChild(N);L=this.get("element");N=new R("div",{id:K[this.ID.SWATCH],className:"yui-picker-swatch"});L.appendChild(N);N=new R("div",{id:K[this.ID.WEBSAFE_SWATCH],className:"yui-picker-websafe-swatch"});L.appendChild(N);},_attachRGBHSV:function(L,K){I.on(this.getElement(L),"keydown",function(N,M){M._rgbFieldKeypress(N,this,K);},this);I.on(this.getElement(L),"keypress",this._numbersOnly,this,true);I.on(this.getElement(L),"blur",function(N,M){M._useFieldValue(N,this,K);},this);},_updateRGB:function(){var K=[this.get(this.OPT.RED),this.get(this.OPT.GREEN),this.get(this.OPT.BLUE)];this.set(this.OPT.RGB,K);this._updateSliders();},_initElements:function(){var O=this.OPT,N=this.get(O.IDS),L=this.get(O.ELEMENTS),K,M,P;for(K in this.ID){if(C.hasOwnProperty(this.ID,K)){N[this.ID[K]]=N[K];}}M=E.get(N[this.ID.PICKER_BG]);if(!M){this._createEle
ments();}else{}for(K in N){if(C.hasOwnProperty(N,K)){M=E.get(N[K]);P=E.generateId(M);N[K]=P;N[N[K]]=P;L[P]=M;}}},initPicker:function(){this._initSliders();this._bindUI();this.syncUI(true);},_initSliders:function(){var K=this.ID,L=this.get(this.OPT.PICKER_SIZE);this.hueSlider=D.getVertSlider(this.getElement(K.HUE_BG),this.getElement(K.HUE_THUMB),0,L);this.pickerSlider=D.getSliderRegion(this.getElement(K.PICKER_BG),this.getElement(K.PICKER_THUMB),0,L,0,L);this.set(this.OPT.ANIMATE,this.get(this.OPT.ANIMATE));},_bindUI:function(){var K=this.ID,L=this.OPT;this.hueSlider.subscribe("change",this._onHueSliderChange,this,true);this.pickerSlider.subscribe("change",this._onPickerSliderChange,this,true);I.on(this.getElement(K.WEBSAFE_SWATCH),"click",function(M){this.setValue(this.get(L.WEBSAFE));},this,true);I.on(this.getElement(K.CONTROLS_LABEL),"click",function(M){this.set(L.SHOW_CONTROLS,!this.get(L.SHOW_CONTROLS));I.preventDefault(M);},this,true);this._attachRGBHSV(K.R,L.RED);this.
_attachRGBHSV(K.G,L.GREEN);this._attachRGBHSV(K.B,L.BLUE);this._attachRGBHSV(K.H,L.HUE);
+this._attachRGBHSV(K.S,L.SATURATION);this._attachRGBHSV(K.V,L.VALUE);I.on(this.getElement(K.HEX),"keydown",function(N,M){M._hexFieldKeypress(N,this,L.HEX);},this);I.on(this.getElement(this.ID.HEX),"keypress",this._hexOnly,this,true);I.on(this.getElement(this.ID.HEX),"blur",function(N,M){M._useFieldValue(N,this,L.HEX);},this);},syncUI:function(K){this.skipAnim=K;this._updateRGB();this.skipAnim=false;},_updateRGBFromHSV:function(){var L=[this.get(this.OPT.HUE),this.get(this.OPT.SATURATION)/100,this.get(this.OPT.VALUE)/100],K=B.hsv2rgb(L);this.set(this.OPT.RGB,K);this._updateSliders();},_updateHex:function(){var N=this.get(this.OPT.HEX),K=N.length,O,M,L;if(K===3){O=N.split("");for(M=0;M<K;M=M+1){O[M]=O[M]+O[M];}N=O.join("");}if(N.length!==6){return false;}L=B.hex2rgb(N);this.setValue(L);},_hideShowEl:function(M,K){var L=(C.isString(M)?this.getElement(M):M);E.setStyle(L,"display",(K)?"":"none");},initAttributes:function(K){K=K||{};G.superclass.initAttributes.call(this,K);this.se
tAttributeConfig(this.OPT.PICKER_SIZE,{value:K.size||this.DEFAULT.PICKER_SIZE});this.setAttributeConfig(this.OPT.HUE,{value:K.hue||0,validator:C.isNumber});this.setAttributeConfig(this.OPT.SATURATION,{value:K.saturation||0,validator:C.isNumber});this.setAttributeConfig(this.OPT.VALUE,{value:C.isNumber(K.value)?K.value:100,validator:C.isNumber});this.setAttributeConfig(this.OPT.RED,{value:C.isNumber(K.red)?K.red:255,validator:C.isNumber});this.setAttributeConfig(this.OPT.GREEN,{value:C.isNumber(K.green)?K.green:255,validator:C.isNumber});this.setAttributeConfig(this.OPT.BLUE,{value:C.isNumber(K.blue)?K.blue:255,validator:C.isNumber});this.setAttributeConfig(this.OPT.HEX,{value:K.hex||"FFFFFF",validator:C.isString});this.setAttributeConfig(this.OPT.RGB,{value:K.rgb||[255,255,255],method:function(O){this.set(this.OPT.RED,O[0],true);this.set(this.OPT.GREEN,O[1],true);this.set(this.OPT.BLUE,O[2],true);var Q=B.websafe(O),P=B.rgb2hex(O),N=B.rgb2hsv(O);this.set(this.OPT.WEBSAFE,Q,tr
ue);this.set(this.OPT.HEX,P,true);if(N[1]){this.set(this.OPT.HUE,N[0],true);}this.set(this.OPT.SATURATION,Math.round(N[1]*100),true);this.set(this.OPT.VALUE,Math.round(N[2]*100),true);},readonly:true});this.setAttributeConfig(this.OPT.CONTAINER,{value:null,method:function(N){if(N){N.showEvent.subscribe(function(){this.pickerSlider.focus();},this,true);}}});this.setAttributeConfig(this.OPT.WEBSAFE,{value:K.websafe||[255,255,255]});var M=K.ids||C.merge({},this.ID),L;if(!K.ids&&J>1){for(L in M){if(C.hasOwnProperty(M,L)){M[L]=M[L]+J;}}}this.setAttributeConfig(this.OPT.IDS,{value:M,writeonce:true});this.setAttributeConfig(this.OPT.TXT,{value:K.txt||this.TXT,writeonce:true});this.setAttributeConfig(this.OPT.IMAGES,{value:K.images||this.IMAGE,writeonce:true});this.setAttributeConfig(this.OPT.ELEMENTS,{value:{},readonly:true});this.setAttributeConfig(this.OPT.SHOW_CONTROLS,{value:C.isBoolean(K.showcontrols)?K.showcontrols:true,method:function(N){var O=E.getElementsByClassName("bd","
div",this.getElement(this.ID.CONTROLS))[0];this._hideShowEl(O,N);this.getElement(this.ID.CONTROLS_LABEL).innerHTML=(N)?this.get(this.OPT.TXT).HIDE_CONTROLS:this.get(this.OPT.TXT).SHOW_CONTROLS;}});this.setAttributeConfig(this.OPT.SHOW_RGB_CONTROLS,{value:C.isBoolean(K.showrgbcontrols)?K.showrgbcontrols:true,method:function(N){this._hideShowEl(this.ID.RGB_CONTROLS,N);}});this.setAttributeConfig(this.OPT.SHOW_HSV_CONTROLS,{value:C.isBoolean(K.showhsvcontrols)?K.showhsvcontrols:false,method:function(N){this._hideShowEl(this.ID.HSV_CONTROLS,N);if(N&&this.get(this.OPT.SHOW_HEX_SUMMARY)){this.set(this.OPT.SHOW_HEX_SUMMARY,false);}}});this.setAttributeConfig(this.OPT.SHOW_HEX_CONTROLS,{value:C.isBoolean(K.showhexcontrols)?K.showhexcontrols:false,method:function(N){this._hideShowEl(this.ID.HEX_CONTROLS,N);}});this.setAttributeConfig(this.OPT.SHOW_WEBSAFE,{value:C.isBoolean(K.showwebsafe)?K.showwebsafe:true,method:function(N){this._hideShowEl(this.ID.WEBSAFE_SWATCH,N);}});this.setAtt
ributeConfig(this.OPT.SHOW_HEX_SUMMARY,{value:C.isBoolean(K.showhexsummary)?K.showhexsummary:true,method:function(N){this._hideShowEl(this.ID.HEX_SUMMARY,N);if(N&&this.get(this.OPT.SHOW_HSV_CONTROLS)){this.set(this.OPT.SHOW_HSV_CONTROLS,false);}}});this.setAttributeConfig(this.OPT.ANIMATE,{value:C.isBoolean(K.animate)?K.animate:true,method:function(N){if(this.pickerSlider){this.pickerSlider.animate=N;this.hueSlider.animate=N;}}});this.on(this.OPT.HUE+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.SATURATION+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.VALUE+"Change",this._updateRGBFromHSV,this,true);this.on(this.OPT.RED+"Change",this._updateRGB,this,true);this.on(this.OPT.GREEN+"Change",this._updateRGB,this,true);this.on(this.OPT.BLUE+"Change",this._updateRGB,this,true);this.on(this.OPT.HEX+"Change",this._updateHex,this,true);this._initElements();}});YAHOO.widget.ColorPicker=G;})();YAHOO.register("colorpicker",YAHOO.widget.ColorPicker,{version:"2.
7.0",build:"1796"});
+
+/*
+Copyright (c) 2009, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.7.0
+*/
+(function(){var B=YAHOO.util;var A=function(D,C,E,F){if(!D){}this.init(D,C,E,F);};A.NAME="Anim";A.prototype={toString:function(){var C=this.getEl()||{};var D=C.id||C.tagName;return(this.constructor.NAME+": "+D);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(C,E,D){return this.method(this.currentFrame,E,D-E,this.totalFrames);},setAttribute:function(C,F,E){var D=this.getEl();if(this.patterns.noNegatives.test(C)){F=(F>0)?F:0;}if("style" in D){B.Dom.setStyle(D,C,F+E);}else{if(C in D){D[C]=F;}}},getAttribute:function(C){var E=this.getEl();var G=B.Dom.getStyle(E,C);if(G!=="auto"&&!this.patterns.offsetUnit.test(G)){return parseFloat(G);}var D=this.patterns.offsetAttribute.exec(C)||[];var H=!!(D[3]);var F=!!(D[2]);if("style" in E){if(F||(B.Dom.getStyle(E,"position")=="absolute"&&H)){G=E["offset"+D[0].charAt(0)
.toUpperCase()+D[0].substr(1)];}else{G=0;}}else{if(C in E){G=E[C];}}return G;},getDefaultUnit:function(C){if(this.patterns.defaultUnit.test(C)){return"px";}return"";},setRuntimeAttribute:function(D){var I;var E;var F=this.attributes;this.runtimeAttributes[D]={};var H=function(J){return(typeof J!=="undefined");};if(!H(F[D]["to"])&&!H(F[D]["by"])){return false;}I=(H(F[D]["from"]))?F[D]["from"]:this.getAttribute(D);if(H(F[D]["to"])){E=F[D]["to"];}else{if(H(F[D]["by"])){if(I.constructor==Array){E=[];for(var G=0,C=I.length;G<C;++G){E[G]=I[G]+F[D]["by"][G]*1;}}else{E=I+F[D]["by"]*1;}}}this.runtimeAttributes[D].start=I;this.runtimeAttributes[D].end=E;this.runtimeAttributes[D].unit=(H(F[D].unit))?F[D]["unit"]:this.getDefaultUnit(D);return true;},init:function(E,J,I,C){var D=false;var F=null;var H=0;E=B.Dom.get(E);this.attributes=J||{};this.duration=!YAHOO.lang.isUndefined(I)?I:1;this.method=C||B.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=B.AnimMgr.fps;
this.setEl=function(M){E=B.Dom.get(M);};this.getEl=function(){return E;};this.isAnimated=function(){return D;};this.getStartTime=function(){return F;};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return false;}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(B.AnimMgr.fps*this.duration):this.duration;if(this.duration===0&&this.useSeconds){this.totalFrames=1;}B.AnimMgr.registerElement(this);return true;};this.stop=function(M){if(!this.isAnimated()){return false;}if(M){this.currentFrame=this.totalFrames;this._onTween.fire();}B.AnimMgr.stop(this);};var L=function(){this.onStart.fire();this.runtimeAttributes={};for(var M in this.attributes){this.setRuntimeAttribute(M);}D=true;H=0;F=new Date();};var K=function(){var O={duration:new Date()-this.getStartTime(),currentFrame:this.currentFrame};O.toString=function(){return("duration: "+O.duration+", currentFrame: "+O.currentFrame);};this.onTween.fire(O);var N=this.runtimeAttributes;for(var M
in N){this.setAttribute(M,this.doMethod(M,N[M].start,N[M].end),N[M].unit);}H+=1;};var G=function(){var M=(new Date()-F)/1000;var N={duration:M,frames:H,fps:H/M};N.toString=function(){return("duration: "+N.duration+", frames: "+N.frames+", fps: "+N.fps);};D=false;H=0;this.onComplete.fire(N);};this._onStart=new B.CustomEvent("_start",this,true);this.onStart=new B.CustomEvent("start",this);this.onTween=new B.CustomEvent("tween",this);this._onTween=new B.CustomEvent("_tween",this,true);this.onComplete=new B.CustomEvent("complete",this);this._onComplete=new B.CustomEvent("_complete",this,true);this._onStart.subscribe(L);this._onTween.subscribe(K);this._onComplete.subscribe(G);}};B.Anim=A;})();YAHOO.util.AnimMgr=new function(){var C=null;var B=[];var A=0;this.fps=1000;this.delay=1;this.registerElement=function(F){B[B.length]=F;A+=1;F._onStart.fire();this.start();};this.unRegister=function(G,F){F=F||E(G);if(!G.isAnimated()||F==-1){return false;}G._onComplete.fire();B.splice(F,1);A-
=1;if(A<=0){this.stop();}return true;};this.start=function(){if(C===null){C=setInterval(this.run,this.delay);}};this.stop=function(H){if(!H){clearInterval(C);for(var G=0,F=B.length;G<F;++G){this.unRegister(B[0],0);}B=[];C=null;A=0;}else{this.unRegister(H);}};this.run=function(){for(var H=0,F=B.length;H<F;++H){var G=B[H];if(!G||!G.isAnimated()){continue;}if(G.currentFrame<G.totalFrames||G.totalFrames===null){G.currentFrame+=1;if(G.useSeconds){D(G);}G._onTween.fire();}else{YAHOO.util.AnimMgr.stop(G,H);}}};var E=function(H){for(var G=0,F=B.length;G<F;++G){if(B[G]==H){return G;}}return -1;};var D=function(G){var J=G.totalFrames;var I=G.currentFrame;var H=(G.currentFrame*G.duration*1000/G.totalFrames);var F=(new Date()-G.getStartTime());var K=0;if(F<G.duration*1000){K=Math.round((F/H-1)*G.currentFrame);}else{K=J-(I+1);}if(K>0&&isFinite(K)){if(G.currentFrame+K>=J){K=J-(I+1);}G.currentFrame+=K;}};};YAHOO.util.Bezier=new function(){this.getPosition=function(E,D){var F=E.length;var C
=[];for(var B=0;B<F;++B){C[B]=[E[B][0],E[B][1]];}for(var A=1;A<F;++A){for(B=0;B<F-A;++B){C[B][0]=(1-D)*C[B][0]+D*C[parseInt(B+1,10)][0];C[B][1]=(1-D)*C[B][1]+D*C[parseInt(B+1,10)][1];}}return[C[0][0],C[0][1]];};};(function(){var A=function(F,E,G,H){A.superclass.constructor.call(this,F,E,G,H);};A.NAME="ColorAnim";A.DEFAULT_BGCOLOR="#fff";var C=YAHOO.util;YAHOO.extend(A,C.Anim);var D=A.superclass;var B=A.prototype;B.patterns.color=/color$/i;B.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;B.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;B.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;B.patterns.transparent=/^transparent|rgba\(0, 0, 0, 0\)$/;B.parseColor=function(E){if(E.length==3){return E;}var F=this.patterns.hex.exec(E);if(F&&F.length==4){return[parseInt(F[1],16),parseInt(F[2],16),parseInt(F[3],16)];}F=this.patterns.rgb.exec(E);if(F&&F.length==4){return[parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10)];}F=this.patterns.hex3.e
xec(E);if(F&&F.length==4){return[parseInt(F[1]+F[1],16),parseInt(F[2]+F[2],16),parseInt(F[3]+F[3],16)];
+}return null;};B.getAttribute=function(E){var G=this.getEl();if(this.patterns.color.test(E)){var I=YAHOO.util.Dom.getStyle(G,E);var H=this;if(this.patterns.transparent.test(I)){var F=YAHOO.util.Dom.getAncestorBy(G,function(J){return !H.patterns.transparent.test(I);});if(F){I=C.Dom.getStyle(F,E);}else{I=A.DEFAULT_BGCOLOR;}}}else{I=D.getAttribute.call(this,E);}return I;};B.doMethod=function(F,J,G){var I;if(this.patterns.color.test(F)){I=[];for(var H=0,E=J.length;H<E;++H){I[H]=D.doMethod.call(this,F,J[H],G[H]);}I="rgb("+Math.floor(I[0])+","+Math.floor(I[1])+","+Math.floor(I[2])+")";}else{I=D.doMethod.call(this,F,J,G);}return I;};B.setRuntimeAttribute=function(F){D.setRuntimeAttribute.call(this,F);if(this.patterns.color.test(F)){var H=this.attributes;var J=this.parseColor(this.runtimeAttributes[F].start);var G=this.parseColor(this.runtimeAttributes[F].end);if(typeof H[F]["to"]==="undefined"&&typeof H[F]["by"]!=="undefined"){G=this.parseColor(H[F].by);for(var I=0,E=J.length;I<E;+
+I){G[I]=J[I]+G[I];}}this.runtimeAttributes[F].start=J;this.runtimeAttributes[F].end=G;}};C.ColorAnim=A;})();
+/*
+TERMS OF USE - EASING EQUATIONS
+Open source under the BSD License.
+Copyright 2001 Robert Penner All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ * Neither the name of the author nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+YAHOO.util.Easing={easeNone:function(B,A,D,C){return D*B/C+A;},easeIn:function(B,A,D,C){return D*(B/=C)*B+A;},easeOut:function(B,A,D,C){return -D*(B/=C)*(B-2)+A;},easeBoth:function(B,A,D,C){if((B/=C/2)<1){return D/2*B*B+A;}return -D/2*((--B)*(B-2)-1)+A;},easeInStrong:function(B,A,D,C){return D*(B/=C)*B*B*B+A;},easeOutStrong:function(B,A,D,C){return -D*((B=B/C-1)*B*B*B-1)+A;},easeBothStrong:function(B,A,D,C){if((B/=C/2)<1){return D/2*B*B*B*B+A;}return -D/2*((B-=2)*B*B*B-2)+A;},elasticIn:function(C,A,G,F,B,E){if(C==0){return A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return -(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;},elasticOut:function(C,A,G,F,B,E){if(C==0){return A;}if((C/=F)==1){return A+G;}if(!E){E=F*0.3;}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}return B*Math.pow(2,-10*C)*Math.sin((C*F-D)*(2*Math.PI)/E)+G+A;},elasticBoth:function(C,A,G,F,B
,E){if(C==0){return A;}if((C/=F/2)==2){return A+G;}if(!E){E=F*(0.3*1.5);}if(!B||B<Math.abs(G)){B=G;var D=E/4;}else{var D=E/(2*Math.PI)*Math.asin(G/B);}if(C<1){return -0.5*(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A;}return B*Math.pow(2,-10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E)*0.5+G+A;},backIn:function(B,A,E,D,C){if(typeof C=="undefined"){C=1.70158;}return E*(B/=D)*B*((C+1)*B-C)+A;},backOut:function(B,A,E,D,C){if(typeof C=="undefined"){C=1.70158;}return E*((B=B/D-1)*B*((C+1)*B+C)+1)+A;},backBoth:function(B,A,E,D,C){if(typeof C=="undefined"){C=1.70158;}if((B/=D/2)<1){return E/2*(B*B*(((C*=(1.525))+1)*B-C))+A;}return E/2*((B-=2)*B*(((C*=(1.525))+1)*B+C)+2)+A;},bounceIn:function(B,A,D,C){return D-YAHOO.util.Easing.bounceOut(C-B,0,D,C)+A;},bounceOut:function(B,A,D,C){if((B/=C)<(1/2.75)){return D*(7.5625*B*B)+A;}else{if(B<(2/2.75)){return D*(7.5625*(B-=(1.5/2.75))*B+0.75)+A;}else{if(B<(2.5/2.75)){return D*(7.5625*(B-=(2.25/2.75))*B+0.9375)+A;}}}return D*(7.5625*
(B-=(2.625/2.75))*B+0.984375)+A;},bounceBoth:function(B,A,D,C){if(B<C/2){return YAHOO.util.Easing.bounceIn(B*2,0,D,C)*0.5+A;}return YAHOO.util.Easing.bounceOut(B*2-C,0,D,C)*0.5+D*0.5+A;}};(function(){var A=function(H,G,I,J){if(H){A.superclass.constructor.call(this,H,G,I,J);}};A.NAME="Motion";var E=YAHOO.util;YAHOO.extend(A,E.ColorAnim);var F=A.superclass;var C=A.prototype;C.patterns.points=/^points$/i;C.setAttribute=function(G,I,H){if(this.patterns.points.test(G)){H=H||"px";F.setAttribute.call(this,"left",I[0],H);F.setAttribute.call(this,"top",I[1],H);}else{F.setAttribute.call(this,G,I,H);}};C.getAttribute=function(G){if(this.patterns.points.test(G)){var H=[F.getAttribute.call(this,"left"),F.getAttribute.call(this,"top")];}else{H=F.getAttribute.call(this,G);}return H;};C.doMethod=function(G,K,H){var J=null;if(this.patterns.points.test(G)){var I=this.method(this.currentFrame,0,100,this.totalFrames)/100;J=E.Bezier.getPosition(this.runtimeAttributes[G],I);}else{J=F.doMethod.cal
l(this,G,K,H);}return J;};C.setRuntimeAttribute=function(P){if(this.patterns.points.test(P)){var H=this.getEl();var J=this.attributes;var G;var L=J["points"]["control"]||[];var I;var M,O;if(L.length>0&&!(L[0] instanceof Array)){L=[L];}else{var K=[];for(M=0,O=L.length;M<O;++M){K[M]=L[M];}L=K;}if(E.Dom.getStyle(H,"position")=="static"){E.Dom.setStyle(H,"position","relative");}if(D(J["points"]["from"])){E.Dom.setXY(H,J["points"]["from"]);
+}else{E.Dom.setXY(H,E.Dom.getXY(H));}G=this.getAttribute("points");if(D(J["points"]["to"])){I=B.call(this,J["points"]["to"],G);var N=E.Dom.getXY(this.getEl());for(M=0,O=L.length;M<O;++M){L[M]=B.call(this,L[M],G);}}else{if(D(J["points"]["by"])){I=[G[0]+J["points"]["by"][0],G[1]+J["points"]["by"][1]];for(M=0,O=L.length;M<O;++M){L[M]=[G[0]+L[M][0],G[1]+L[M][1]];}}}this.runtimeAttributes[P]=[G];if(L.length>0){this.runtimeAttributes[P]=this.runtimeAttributes[P].concat(L);}this.runtimeAttributes[P][this.runtimeAttributes[P].length]=I;}else{F.setRuntimeAttribute.call(this,P);}};var B=function(G,I){var H=E.Dom.getXY(this.getEl());G=[G[0]-H[0]+I[0],G[1]-H[1]+I[1]];return G;};var D=function(G){return(typeof G!=="undefined");};E.Motion=A;})();(function(){var D=function(F,E,G,H){if(F){D.superclass.constructor.call(this,F,E,G,H);}};D.NAME="Scroll";var B=YAHOO.util;YAHOO.extend(D,B.ColorAnim);var C=D.superclass;var A=D.prototype;A.doMethod=function(E,H,F){var G=null;if(E=="scroll"){G=[thi
s.method(this.currentFrame,H[0],F[0]-H[0],this.totalFrames),this.method(this.currentFrame,H[1],F[1]-H[1],this.totalFrames)];}else{G=C.doMethod.call(this,E,H,F);}return G;};A.getAttribute=function(E){var G=null;var F=this.getEl();if(E=="scroll"){G=[F.scrollLeft,F.scrollTop];}else{G=C.getAttribute.call(this,E);}return G;};A.setAttribute=function(E,H,G){var F=this.getEl();if(E=="scroll"){F.scrollLeft=H[0];F.scrollTop=H[1];}else{C.setAttribute.call(this,E,H,G);}};B.Scroll=D;})();YAHOO.register("animation",YAHOO.util.Anim,{version:"2.7.0",build:"1799"});
diff --git a/devel/third-party/ckeditor/plugins/undo/plugin.js b/devel/third-party/ckeditor/plugins/undo/plugin.js
new file mode 100644
index 0000000..fde581f
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/undo/plugin.js
@@ -0,0 +1,555 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview Undo/Redo system for saving shapshot for document modification
+ * and other recordable changes.
+ */
+
+(function()
+{
+ CKEDITOR.plugins.add( 'undo',
+ {
+ requires : [ 'selection', 'wysiwygarea' ],
+
+ init : function( editor )
+ {
+ var undoManager = new UndoManager( editor );
+
+ var undoCommand = editor.addCommand( 'undo',
+ {
+ exec : function()
+ {
+ if ( undoManager.undo() )
+ {
+ editor.selectionChange();
+ this.fire( 'afterUndo' );
+ }
+ },
+ state : CKEDITOR.TRISTATE_DISABLED,
+ canUndo : false
+ });
+
+ var redoCommand = editor.addCommand( 'redo',
+ {
+ exec : function()
+ {
+ if ( undoManager.redo() )
+ {
+ editor.selectionChange();
+ this.fire( 'afterRedo' );
+ }
+ },
+ state : CKEDITOR.TRISTATE_DISABLED,
+ canUndo : false
+ });
+
+ undoManager.onChange = function()
+ {
+ undoCommand.setState( undoManager.undoable() ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+ redoCommand.setState( undoManager.redoable() ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
+ };
+
+ function recordCommand( event )
+ {
+ // If the command hasn't been marked to not support undo.
+ if ( undoManager.enabled && event.data.command.canUndo !== false )
+ undoManager.save();
+ }
+
+ // We'll save snapshots before and after executing a command.
+ editor.on( 'beforeCommandExec', recordCommand );
+ editor.on( 'afterCommandExec', recordCommand );
+
+ // Save snapshots before doing custom changes.
+ editor.on( 'saveSnapshot', function()
+ {
+ undoManager.save();
+ });
+
+ // Registering keydown on every document recreation.(#3844)
+ editor.on( 'contentDom', function()
+ {
+ editor.document.on( 'keydown', function( event )
+ {
+ // Do not capture CTRL hotkeys.
+ if ( !event.data.$.ctrlKey && !event.data.$.metaKey )
+ undoManager.type( event );
+ });
+ });
+
+ // Always save an undo snapshot - the previous mode might have
+ // changed editor contents.
+ editor.on( 'beforeModeUnload', function()
+ {
+ editor.mode == 'wysiwyg' && undoManager.save( true );
+ });
+
+ // Make the undo manager available only in wysiwyg mode.
+ editor.on( 'mode', function()
+ {
+ undoManager.enabled = editor.mode == 'wysiwyg';
+ undoManager.onChange();
+ });
+
+ editor.ui.addButton( 'Undo',
+ {
+ label : editor.lang.undo,
+ command : 'undo'
+ });
+
+ editor.ui.addButton( 'Redo',
+ {
+ label : editor.lang.redo,
+ command : 'redo'
+ });
+
+ editor.resetUndo = function()
+ {
+ // Reset the undo stack.
+ undoManager.reset();
+
+ // Create the first image.
+ editor.fire( 'saveSnapshot' );
+ };
+
+ /**
+ * Update the undo stacks with any subsequent DOM changes after this call.
+ * @name CKEDITOR.editor#updateUndo
+ * @example
+ * function()
+ * {
+ * editor.fire( 'updateSnapshot' );
+ * ...
+ * // Ask to include subsequent (in this call stack) DOM changes to be
+ * // considered as part of the first snapshot.
+ * editor.fire( 'updateSnapshot' );
+ * editor.document.body.append(...);
+ * ...
+ * }
+ */
+ editor.on( 'updateSnapshot', function()
+ {
+ if ( undoManager.currentImage && new Image( editor ).equals( undoManager.currentImage ) )
+ setTimeout( function () { undoManager.update(); }, 0 );
+ });
+ }
+ });
+
+ CKEDITOR.plugins.undo = {};
+
+ /**
+ * Undo snapshot which represents the current document status.
+ * @name CKEDITOR.plugins.undo.Image
+ * @param editor The editor instance on which the image is created.
+ */
+ var Image = CKEDITOR.plugins.undo.Image = function( editor )
+ {
+ this.editor = editor;
+ var contents = editor.getSnapshot(),
+ selection = contents && editor.getSelection();
+
+ // In IE, we need to remove the expando attributes.
+ CKEDITOR.env.ie && contents && ( contents = contents.replace( /\s+_cke_expando=".*?"/g, '' ) );
+
+ this.contents = contents;
+ this.bookmarks = selection && selection.createBookmarks2( true );
+ };
+
+ // Attributes that browser may changing them when setting via innerHTML.
+ var protectedAttrs = /\b(?:href|src|name)="[^"]*?"/gi;
+
+ Image.prototype =
+ {
+ equals : function( otherImage, contentOnly )
+ {
+
+ var thisContents = this.contents,
+ otherContents = otherImage.contents;
+
+ // For IE6/7 : Comparing only the protected attribute values but not the original ones.(#4522)
+ if ( CKEDITOR.env.ie && ( CKEDITOR.env.ie7Compat || CKEDITOR.env.ie6Compat ) )
+ {
+ thisContents = thisContents.replace( protectedAttrs, '' );
+ otherContents = otherContents.replace( protectedAttrs, '' );
+ }
+
+ if ( thisContents != otherContents )
+ return false;
+
+ if ( contentOnly )
+ return true;
+
+ var bookmarksA = this.bookmarks,
+ bookmarksB = otherImage.bookmarks;
+
+ if ( bookmarksA || bookmarksB )
+ {
+ if ( !bookmarksA || !bookmarksB || bookmarksA.length != bookmarksB.length )
+ return false;
+
+ for ( var i = 0 ; i < bookmarksA.length ; i++ )
+ {
+ var bookmarkA = bookmarksA[ i ],
+ bookmarkB = bookmarksB[ i ];
+
+ if (
+ bookmarkA.startOffset != bookmarkB.startOffset ||
+ bookmarkA.endOffset != bookmarkB.endOffset ||
+ !CKEDITOR.tools.arrayCompare( bookmarkA.start, bookmarkB.start ) ||
+ !CKEDITOR.tools.arrayCompare( bookmarkA.end, bookmarkB.end ) )
+ {
+ return false;
+ }
+ }
+ }
+
+ return true;
+ }
+ };
+
+ /**
+ * @constructor Main logic for Redo/Undo feature.
+ */
+ function UndoManager( editor )
+ {
+ this.editor = editor;
+
+ // Reset the undo stack.
+ this.reset();
+ }
+
+
+ var editingKeyCodes = { /*Backspace*/ 8:1, /*Delete*/ 46:1 },
+ modifierKeyCodes = { /*Shift*/ 16:1, /*Ctrl*/ 17:1, /*Alt*/ 18:1 },
+ navigationKeyCodes = { 37:1, 38:1, 39:1, 40:1 }; // Arrows: L, T, R, B
+
+ UndoManager.prototype =
+ {
+ /**
+ * Process undo system regard keystrikes.
+ * @param {CKEDITOR.dom.event} event
+ */
+ type : function( event )
+ {
+ var keystroke = event && event.data.getKey(),
+ isModifierKey = keystroke in modifierKeyCodes,
+ isEditingKey = keystroke in editingKeyCodes,
+ wasEditingKey = this.lastKeystroke in editingKeyCodes,
+ sameAsLastEditingKey = isEditingKey && keystroke == this.lastKeystroke,
+ // Keystrokes which navigation through contents.
+ isReset = keystroke in navigationKeyCodes,
+ wasReset = this.lastKeystroke in navigationKeyCodes,
+
+ // Keystrokes which just introduce new contents.
+ isContent = ( !isEditingKey && !isReset ),
+
+ // Create undo snap for every different modifier key.
+ modifierSnapshot = ( isEditingKey && !sameAsLastEditingKey ),
+ // Create undo snap on the following cases:
+ // 1. Just start to type .
+ // 2. Typing some content after a modifier.
+ // 3. Typing some content after make a visible selection.
+ startedTyping = !( isModifierKey || this.typing )
+ || ( isContent && ( wasEditingKey || wasReset ) );
+
+ if ( startedTyping || modifierSnapshot )
+ {
+ var beforeTypeImage = new Image( this.editor );
+
+ // Use setTimeout, so we give the necessary time to the
+ // browser to insert the character into the DOM.
+ CKEDITOR.tools.setTimeout( function()
+ {
+ var currentSnapshot = this.editor.getSnapshot();
+
+ // In IE, we need to remove the expando attributes.
+ if ( CKEDITOR.env.ie )
+ currentSnapshot = currentSnapshot.replace( /\s+_cke_expando=".*?"/g, '' );
+
+ if ( beforeTypeImage.contents != currentSnapshot )
+ {
+ // It's safe to now indicate typing state.
+ this.typing = true;
+
+ // This's a special save, with specified snapshot
+ // and without auto 'fireChange'.
+ if ( !this.save( false, beforeTypeImage, false ) )
+ // Drop future snapshots.
+ this.snapshots.splice( this.index + 1, this.snapshots.length - this.index - 1 );
+
+ this.hasUndo = true;
+ this.hasRedo = false;
+
+ this.typesCount = 1;
+ this.modifiersCount = 1;
+
+ this.onChange();
+ }
+ },
+ 0, this
+ );
+ }
+
+ this.lastKeystroke = keystroke;
+
+ // Create undo snap after typed too much (over 25 times).
+ if ( isEditingKey )
+ {
+ this.typesCount = 0;
+ this.modifiersCount++;
+
+ if ( this.modifiersCount > 25 )
+ {
+ this.save( false, null, false );
+ this.modifiersCount = 1;
+ }
+ }
+ else if ( !isReset )
+ {
+ this.modifiersCount = 0;
+ this.typesCount++;
+
+ if ( this.typesCount > 25 )
+ {
+ this.save( false, null, false );
+ this.typesCount = 1;
+ }
+ }
+
+ },
+
+ reset : function() // Reset the undo stack.
+ {
+ /**
+ * Remember last pressed key.
+ */
+ this.lastKeystroke = 0;
+
+ /**
+ * Stack for all the undo and redo snapshots, they're always created/removed
+ * in consistency.
+ */
+ this.snapshots = [];
+
+ /**
+ * Current snapshot history index.
+ */
+ this.index = -1;
+
+ this.limit = this.editor.config.undoStackSize;
+
+ this.currentImage = null;
+
+ this.hasUndo = false;
+ this.hasRedo = false;
+
+ this.resetType();
+ },
+
+ /**
+ * Reset all states about typing.
+ * @see UndoManager.type
+ */
+ resetType : function()
+ {
+ this.typing = false;
+ delete this.lastKeystroke;
+ this.typesCount = 0;
+ this.modifiersCount = 0;
+ },
+ fireChange : function()
+ {
+ this.hasUndo = !!this.getNextImage( true );
+ this.hasRedo = !!this.getNextImage( false );
+ // Reset typing
+ this.resetType();
+ this.onChange();
+ },
+
+ /**
+ * Save a snapshot of document image for later retrieve.
+ */
+ save : function( onContentOnly, image, autoFireChange )
+ {
+ var snapshots = this.snapshots;
+
+ // Get a content image.
+ if ( !image )
+ image = new Image( this.editor );
+
+ // Do nothing if it was not possible to retrieve an image.
+ if ( image.contents === false )
+ return false;
+
+ // Check if this is a duplicate. In such case, do nothing.
+ if ( this.currentImage && image.equals( this.currentImage, onContentOnly ) )
+ return false;
+
+ // Drop future snapshots.
+ snapshots.splice( this.index + 1, snapshots.length - this.index - 1 );
+
+ // If we have reached the limit, remove the oldest one.
+ if ( snapshots.length == this.limit )
+ snapshots.shift();
+
+ // Add the new image, updating the current index.
+ this.index = snapshots.push( image ) - 1;
+
+ this.currentImage = image;
+
+ if ( autoFireChange !== false )
+ this.fireChange();
+ return true;
+ },
+
+ restoreImage : function( image )
+ {
+ this.editor.loadSnapshot( image.contents );
+
+ if ( image.bookmarks )
+ this.editor.getSelection().selectBookmarks( image.bookmarks );
+ else if ( CKEDITOR.env.ie )
+ {
+ // IE BUG: If I don't set the selection to *somewhere* after setting
+ // document contents, then IE would create an empty paragraph at the bottom
+ // the next time the document is modified.
+ var $range = this.editor.document.getBody().$.createTextRange();
+ $range.collapse( true );
+ $range.select();
+ }
+
+ this.index = image.index;
+
+ // Update current image with the actual editor
+ // content, since actualy content may differ from
+ // the original snapshot due to dom change. (#4622)
+ this.update();
+ this.fireChange();
+ },
+
+ // Get the closest available image.
+ getNextImage : function( isUndo )
+ {
+ var snapshots = this.snapshots,
+ currentImage = this.currentImage,
+ image, i;
+
+ if ( currentImage )
+ {
+ if ( isUndo )
+ {
+ for ( i = this.index - 1 ; i >= 0 ; i-- )
+ {
+ image = snapshots[ i ];
+ if ( !currentImage.equals( image, true ) )
+ {
+ image.index = i;
+ return image;
+ }
+ }
+ }
+ else
+ {
+ for ( i = this.index + 1 ; i < snapshots.length ; i++ )
+ {
+ image = snapshots[ i ];
+ if ( !currentImage.equals( image, true ) )
+ {
+ image.index = i;
+ return image;
+ }
+ }
+ }
+ }
+
+ return null;
+ },
+
+ /**
+ * Check the current redo state.
+ * @return {Boolean} Whether the document has previous state to
+ * retrieve.
+ */
+ redoable : function()
+ {
+ return this.enabled && this.hasRedo;
+ },
+
+ /**
+ * Check the current undo state.
+ * @return {Boolean} Whether the document has future state to restore.
+ */
+ undoable : function()
+ {
+ return this.enabled && this.hasUndo;
+ },
+
+ /**
+ * Perform undo on current index.
+ */
+ undo : function()
+ {
+ if ( this.undoable() )
+ {
+ this.save( true );
+
+ var image = this.getNextImage( true );
+ if ( image )
+ return this.restoreImage( image ), true;
+ }
+
+ return false;
+ },
+
+ /**
+ * Perform redo on current index.
+ */
+ redo : function()
+ {
+ if ( this.redoable() )
+ {
+ // Try to save. If no changes have been made, the redo stack
+ // will not change, so it will still be redoable.
+ this.save( true );
+
+ // If instead we had changes, we can't redo anymore.
+ if ( this.redoable() )
+ {
+ var image = this.getNextImage( false );
+ if ( image )
+ return this.restoreImage( image ), true;
+ }
+ }
+
+ return false;
+ },
+
+ /**
+ * Update the last snapshot of the undo stack with the current editor content.
+ */
+ update : function()
+ {
+ this.snapshots.splice( this.index, 1, ( this.currentImage = new Image( this.editor ) ) );
+ }
+ };
+})();
+
+/**
+ * The number of undo steps to be saved. The higher this setting value the more
+ * memory is used for it.
+ * @type Number
+ * @default 20
+ * @example
+ * config.undoStackSize = 50;
+ */
+CKEDITOR.config.undoStackSize = 20;
+
+/**
+ * Fired when the editor is about to save an undo snapshot. This event can be
+ * fired by plugins and customizations to make the editor saving undo snapshots.
+ * @name CKEDITOR.editor#saveSnapshot
+ * @event
+ */
diff --git a/devel/third-party/ckeditor/plugins/wsc/dialogs/ciframe.html b/devel/third-party/ckeditor/plugins/wsc/dialogs/ciframe.html
new file mode 100644
index 0000000..0a96d82
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/wsc/dialogs/ciframe.html
@@ -0,0 +1,49 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!--
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html>
+<head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <script type="text/javascript">
+
+function gup( name )
+{
+ name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ) ;
+ var regexS = '[\\?&]' + name + '=([^&#]*)' ;
+ var regex = new RegExp( regexS ) ;
+ var results = regex.exec( window.location.href ) ;
+
+ if ( results )
+ return results[ 1 ] ;
+ else
+ return '' ;
+}
+
+var interval;
+
+function sendData2Master()
+{
+ var destination = window.parent.parent ;
+ try
+ {
+ if ( destination.XDTMaster )
+ {
+ var t = destination.XDTMaster.read( [ gup( 'cmd' ), gup( 'data' ) ] ) ;
+ window.clearInterval( interval ) ;
+ }
+ }
+ catch (e) {}
+}
+
+function onLoad()
+{
+ interval = window.setInterval( sendData2Master, 100 );
+}
+
+</script>
+</head>
+<body onload="onLoad()"><p></p></body>
+</html>
diff --git a/devel/third-party/ckeditor/plugins/wsc/dialogs/tmpFrameset.html b/devel/third-party/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
new file mode 100644
index 0000000..41abd6e
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/wsc/dialogs/tmpFrameset.html
@@ -0,0 +1,52 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<!--
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+-->
+<html>
+<head>
+ <title></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <script type="text/javascript">
+
+function doLoadScript( url )
+{
+ if ( !url )
+ return false ;
+
+ var s = document.createElement( "script" ) ;
+ s.type = "text/javascript" ;
+ s.src = url ;
+ document.getElementsByTagName( "head" )[ 0 ].appendChild( s ) ;
+
+ return true ;
+}
+
+var opener;
+function tryLoad()
+{
+ opener = window.parent;
+
+ // get access to global parameters
+ var oParams = window.opener.oldFramesetPageParams;
+
+ // make frameset rows string prepare
+ var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
+ document.getElementById( 'itFrameset' ).rows = sFramesetRows ;
+
+ // dynamic including init frames and crossdomain transport code
+ // from config sproxy_js_frameset url
+ var addScriptUrl = oParams.sproxy_js_frameset ;
+ doLoadScript( addScriptUrl ) ;
+}
+
+ </script>
+</head>
+
+<frameset id="itFrameset" onload="tryLoad();" border="0" rows="30,*,*,0">
+ <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="2" src="" name="navbar"></frame>
+ <frame scrolling="auto" framespacing="0" frameborder="0" noresize="noresize" marginheight="0" marginwidth="0" src="" name="mid"></frame>
+ <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="bot"></frame>
+ <frame scrolling="no" framespacing="0" frameborder="0" noresize="noresize" marginheight="1" marginwidth="1" src="" name="spellsuggestall"></frame>
+</frameset>
+</html>
diff --git a/devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.css b/devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.css
new file mode 100644
index 0000000..b935fbb
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.css
@@ -0,0 +1,82 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+html, body
+{
+ background-color: transparent;
+ margin: 0px;
+ padding: 0px;
+}
+
+body
+{
+ padding: 10px;
+}
+
+body, td, input, select, textarea
+{
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
+}
+
+.midtext
+{
+ padding:0px;
+ margin:10px;
+}
+
+.midtext p
+{
+ padding:0px;
+ margin:10px;
+}
+
+.Button
+{
+ border: #737357 1px solid;
+ color: #3b3b1f;
+ background-color: #c7c78f;
+}
+
+.PopupTabArea
+{
+ color: #737357;
+ background-color: #e3e3c7;
+}
+
+.PopupTitleBorder
+{
+ border-bottom: #d5d59d 1px solid;
+}
+.PopupTabEmptyArea
+{
+ padding-left: 10px;
+ border-bottom: #d5d59d 1px solid;
+}
+
+.PopupTab, .PopupTabSelected
+{
+ border-right: #d5d59d 1px solid;
+ border-top: #d5d59d 1px solid;
+ border-left: #d5d59d 1px solid;
+ padding: 3px 5px 3px 5px;
+ color: #737357;
+}
+
+.PopupTab
+{
+ margin-top: 1px;
+ border-bottom: #d5d59d 1px solid;
+ cursor: pointer;
+}
+
+.PopupTabSelected
+{
+ font-weight: bold;
+ cursor: default;
+ padding-top: 4px;
+ border-bottom: #f1f1e3 1px solid;
+ background-color: #f1f1e3;
+}
diff --git a/devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.js b/devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.js
new file mode 100644
index 0000000..b084384
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/wsc/dialogs/wsc.js
@@ -0,0 +1,176 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.dialog.add( 'checkspell', function( editor )
+{
+ var number = CKEDITOR.tools.getNextNumber(),
+ iframeId = 'cke_frame_' + number,
+ textareaId = 'cke_data_' + number,
+ errorBoxId = 'cke_error_' + number,
+ interval,
+ protocol = document.location.protocol || 'http:',
+ errorMsg = editor.lang.spellCheck.notAvailable;
+
+ var pasteArea = '<textarea'+
+ ' style="display: none"' +
+ ' id="' + textareaId + '"' +
+ ' rows="10"' +
+ ' cols="40">' +
+ ' </textarea><div' +
+ ' id="' + errorBoxId + '"' +
+ ' style="display:none;color:red;font-size:16px;font-weight:bold;padding-top:160px;text-align:center;z-index:11;">' +
+ '</div><iframe' +
+ ' src=""' +
+ ' style="width:485px;background-color:#f1f1e3;height:380px"' +
+ ' frameborder="0"' +
+ ' name="' + iframeId + '"' +
+ ' id="' + iframeId + '"' +
+ ' allowtransparency="1">' +
+ '</iframe>';
+
+ var wscCoreUrl = editor.config.wsc_customLoaderScript || ( protocol +
+ '//loader.spellchecker.net/sproxy_fck/sproxy.php'
+ + '?plugin=fck2'
+ + '&customerid=' + editor.config.wsc_customerId
+ + '&cmd=script&doc=wsc&schema=22'
+ );
+
+ if ( editor.config.wsc_customLoaderScript )
+ errorMsg += '<p style="color:#000;font-size:11px;font-weight: normal;text-align:center;padding-top:10px">' +
+ editor.lang.spellCheck.errorLoading.replace( /%s/g, editor.config.wsc_customLoaderScript ) + '</p>';
+
+ function burnSpelling( dialog, errorMsg )
+ {
+ var i = 0;
+ return function ()
+ {
+ if ( typeof( window.doSpell ) == 'function' )
+ {
+ //Call from window.setInteval expected at once.
+ if ( typeof( interval ) != 'undefined' )
+ window.clearInterval( interval );
+
+ initAndSpell( dialog );
+ }
+ else if ( i++ == 180 ) // Timeout: 180 * 250ms = 45s.
+ window._cancelOnError( errorMsg );
+ };
+ }
+
+ window._cancelOnError = function( m )
+ {
+ if ( typeof( window.WSC_Error ) == 'undefined' )
+ {
+ CKEDITOR.document.getById( iframeId ).setStyle( 'display', 'none' );
+ var errorBox = CKEDITOR.document.getById( errorBoxId );
+ errorBox.setStyle( 'display', 'block' );
+ errorBox.setHtml( m || editor.lang.spellCheck.notAvailable );
+ }
+ };
+
+ function initAndSpell( dialog )
+ {
+ var LangComparer = new window._SP_FCK_LangCompare(), // Language abbr standarts comparer.
+ pluginPath = CKEDITOR.getUrl( editor.plugins.wsc.path + 'dialogs/' ), // Service paths corecting/preparing.
+ framesetPath = pluginPath + 'tmpFrameset.html';
+
+ // global var is used in FCK specific core
+ // change on equal var used in fckplugin.js
+ window.gFCKPluginName = 'wsc';
+
+ LangComparer.setDefaulLangCode( editor.config.defaultLanguage );
+
+ window.doSpell({
+ ctrl : textareaId,
+
+ lang : editor.config.wsc_lang || LangComparer.getSPLangCode(editor.langCode ),
+ intLang: editor.config.wsc_uiLang || LangComparer.getSPLangCode(editor.langCode ),
+ winType : iframeId, // If not defined app will run on winpopup.
+
+ // Callback binding section.
+ onCancel : function()
+ {
+ dialog.hide();
+ },
+ onFinish : function( dT )
+ {
+ editor.focus();
+ dialog.getParentEditor().setData( dT.value );
+ dialog.hide();
+ },
+
+ // Some manipulations with client static pages.
+ staticFrame : framesetPath,
+ framesetPath : framesetPath,
+ iframePath : pluginPath + 'ciframe.html',
+
+ // Styles defining.
+ schemaURI : pluginPath + 'wsc.css',
+
+ userDictionaryName: editor.config.wsc_userDictionaryName,
+ customDictionaryName: editor.config.wsc_customDictionaryIds && editor.config.wsc_customDictionaryIds.split(","),
+ domainName: editor.config.wsc_domainName
+
+ });
+
+ // Hide user message console (if application was loaded more then after timeout).
+ CKEDITOR.document.getById( errorBoxId ).setStyle( 'display', 'none' );
+ CKEDITOR.document.getById( iframeId ).setStyle( 'display', 'block' );
+ }
+
+ return {
+ title : editor.config.wsc_dialogTitle || editor.lang.spellCheck.title,
+ minWidth : 485,
+ minHeight : 380,
+ buttons : [ CKEDITOR.dialog.cancelButton ],
+ onShow : function()
+ {
+ var contentArea = this.getContentElement( 'general', 'content' ).getElement();
+ contentArea.setHtml( pasteArea );
+
+ if ( typeof( window.doSpell ) != 'function' )
+ {
+ // Load script.
+ CKEDITOR.document.getHead().append(
+ CKEDITOR.document.createElement( 'script',
+ {
+ attributes :
+ {
+ type : 'text/javascript',
+ src : wscCoreUrl
+ }
+ })
+ );
+ }
+
+ var sData = editor.getData(); // Get the data to be checked.
+ CKEDITOR.document.getById( textareaId ).setValue( sData );
+
+ interval = window.setInterval( burnSpelling( this, errorMsg ), 250 );
+ },
+ onHide : function()
+ {
+ window.ooo = undefined;
+ window.int_framsetLoaded = undefined;
+ window.framesetLoaded = undefined;
+ window.is_window_opened = false;
+ },
+ contents : [
+ {
+ id : 'general',
+ label : editor.config.wsc_dialogTitle || editor.lang.spellCheck.title,
+ padding : 0,
+ elements : [
+ {
+ type : 'html',
+ id : 'content',
+ style : 'width:485;height:380px',
+ html : '<div></div>'
+ }
+ ]
+ }
+ ]
+ };
+});
diff --git a/devel/third-party/ckeditor/plugins/wsc/plugin.js b/devel/third-party/ckeditor/plugins/wsc/plugin.js
new file mode 100644
index 0000000..3edb26d
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/wsc/plugin.js
@@ -0,0 +1,33 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @file Spell checker
+ */
+
+// Register a plugin named "wsc".
+CKEDITOR.plugins.add( 'wsc',
+{
+ requires : [ 'dialog' ],
+ init : function( editor )
+ {
+ var commandName = 'checkspell';
+
+ var command = editor.addCommand( commandName, new CKEDITOR.dialogCommand( commandName ) );
+
+ // SpellChecker doesn't work in Opera and with custom domain
+ command.modes = { wysiwyg : ( !CKEDITOR.env.opera && document.domain == window.location.hostname ) };
+
+ editor.ui.addButton( 'SpellChecker',
+ {
+ label : editor.lang.spellCheck.toolbar,
+ command : commandName
+ });
+ CKEDITOR.dialog.add( commandName, this.path + 'dialogs/wsc.js' );
+ }
+});
+
+CKEDITOR.config.wsc_customerId = CKEDITOR.config.wsc_customerId || '1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk' ;
+CKEDITOR.config.wsc_customLoaderScript = CKEDITOR.config.wsc_customLoaderScript || null;
diff --git a/devel/third-party/ckeditor/plugins/wysiwygarea/plugin.js b/devel/third-party/ckeditor/plugins/wysiwygarea/plugin.js
new file mode 100644
index 0000000..e626aad
--- /dev/null
+++ b/devel/third-party/ckeditor/plugins/wysiwygarea/plugin.js
@@ -0,0 +1,1126 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * @fileOverview The "wysiwygarea" plugin. It registers the "wysiwyg" editing
+ * mode, which handles the main editing area space.
+ */
+
+(function()
+{
+ // List of elements in which has no way to move editing focus outside.
+ var nonExitableElementNames = { table:1,pre:1 };
+
+ // Matching an empty paragraph at the end of document.
+ var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>| |\u00A0| )?\s*(:?<\/\1>)?(?=\s*$|<\/body>)/gi;
+
+ var notWhitespaceEval = CKEDITOR.dom.walker.whitespaces( true );
+
+ function checkReadOnly( selection )
+ {
+ if ( selection.getType() == CKEDITOR.SELECTION_ELEMENT )
+ return selection.getSelectedElement().isReadOnly();
+ else
+ return selection.getCommonAncestor().isReadOnly();
+ }
+
+ function onInsertHtml( evt )
+ {
+ if ( this.mode == 'wysiwyg' )
+ {
+ this.focus();
+
+ var selection = this.getSelection();
+ if ( checkReadOnly( selection ) )
+ return;
+
+ var data = evt.data;
+ this.fire( 'saveSnapshot' );
+
+ if ( this.dataProcessor )
+ data = this.dataProcessor.toHtml( data );
+
+ if ( CKEDITOR.env.ie )
+ {
+ var selIsLocked = selection.isLocked;
+
+ if ( selIsLocked )
+ selection.unlock();
+
+ var $sel = selection.getNative();
+
+ // Delete control selections to avoid IE bugs on pasteHTML.
+ if ( $sel.type == 'Control' )
+ $sel.clear();
+ else if ( selection.getType() == CKEDITOR.SELECTION_TEXT )
+ {
+ // Due to IE bugs on handling contenteditable=false blocks
+ // (#6005), we need to make some checks and eventually
+ // delete the selection first.
+
+ var range = selection.getRanges()[0],
+ endContainer = range && range.endContainer;
+
+ if ( endContainer &&
+ endContainer.type == CKEDITOR.NODE_ELEMENT &&
+ endContainer.getAttribute( 'contenteditable' ) == 'false' &&
+ range.checkBoundaryOfElement( endContainer, CKEDITOR.END ) )
+ {
+ range.setEndAfter( range.endContainer );
+ range.deleteContents();
+ }
+ }
+
+ try
+ {
+ $sel.createRange().pasteHTML( data );
+ }
+ catch (e) {}
+
+ if ( selIsLocked )
+ this.getSelection().lock();
+ }
+ else
+ this.document.$.execCommand( 'inserthtml', false, data );
+
+ // Webkit does not scroll to the cursor position after pasting (#5558)
+ if ( CKEDITOR.env.webkit )
+ {
+ this.document.$.execCommand( 'inserthtml', false, '<span id="cke_paste_marker" cke_temp="1"></span>' );
+ var marker = this.document.getById( 'cke_paste_marker' );
+ marker.scrollIntoView();
+ marker.remove();
+ }
+
+ CKEDITOR.tools.setTimeout( function()
+ {
+ this.fire( 'saveSnapshot' );
+ }, 0, this );
+ }
+ }
+
+ function onInsertElement( evt )
+ {
+ if ( this.mode == 'wysiwyg' )
+ {
+ this.focus();
+
+ var selection = this.getSelection();
+ if ( checkReadOnly( selection ) )
+ return;
+
+ this.fire( 'saveSnapshot' );
+
+ var ranges = selection.getRanges(),
+ element = evt.data,
+ elementName = element.getName(),
+ isBlock = CKEDITOR.dtd.$block[ elementName ];
+
+ var selIsLocked = selection.isLocked;
+
+ if ( selIsLocked )
+ selection.unlock();
+
+ var range, clone, lastElement, bookmark;
+
+ for ( var i = ranges.length - 1 ; i >= 0 ; i-- )
+ {
+ range = ranges[ i ];
+
+ // Remove the original contents.
+ range.deleteContents();
+
+ clone = !i && element || element.clone( true );
+
+ // If we're inserting a block at dtd-violated position, split
+ // the parent blocks until we reach blockLimit.
+ var current, dtd;
+ if ( isBlock )
+ {
+ while ( ( current = range.getCommonAncestor( false, true ) )
+ && ( dtd = CKEDITOR.dtd[ current.getName() ] )
+ && !( dtd && dtd [ elementName ] ) )
+ {
+ // Split up inline elements.
+ if ( current.getName() in CKEDITOR.dtd.span )
+ range.splitElement( current );
+ // If we're in an empty block which indicate a new paragraph,
+ // simply replace it with the inserting block.(#3664)
+ else if ( range.checkStartOfBlock()
+ && range.checkEndOfBlock() )
+ {
+ range.setStartBefore( current );
+ range.collapse( true );
+ current.remove();
+ }
+ else
+ range.splitBlock();
+ }
+ }
+
+ // Insert the new node.
+ range.insertNode( clone );
+
+ // Save the last element reference so we can make the
+ // selection later.
+ if ( !lastElement )
+ lastElement = clone;
+ }
+
+ range.moveToPosition( lastElement, CKEDITOR.POSITION_AFTER_END );
+
+ // If we're inserting a block element immediatelly followed by
+ // another block element, the selection must move there. (#3100,#5436)
+ if ( isBlock )
+ {
+ var next = lastElement.getNext( notWhitespaceEval ),
+ nextName = next && next.type == CKEDITOR.NODE_ELEMENT && next.getName();
+
+ // Check if it's a block element that accepts text.
+ if ( nextName && CKEDITOR.dtd.$block[ nextName ] && CKEDITOR.dtd[ nextName ]['#'] )
+ range.moveToElementEditStart( next );
+ }
+
+ selection.selectRanges( [ range ] );
+
+ if ( selIsLocked )
+ this.getSelection().lock();
+
+ // Save snaps after the whole execution completed.
+ // This's a workaround for make DOM modification's happened after
+ // 'insertElement' to be included either, e.g. Form-based dialogs' 'commitContents'
+ // call.
+ CKEDITOR.tools.setTimeout( function(){
+ this.fire( 'saveSnapshot' );
+ }, 0, this );
+ }
+ }
+
+ // DOM modification here should not bother dirty flag.(#4385)
+ function restoreDirty( editor )
+ {
+ if ( !editor.checkDirty() )
+ setTimeout( function(){ editor.resetDirty(); }, 0 );
+ }
+
+ var isNotWhitespace = CKEDITOR.dom.walker.whitespaces( true ),
+ isNotBookmark = CKEDITOR.dom.walker.bookmark( false, true );
+
+ function isNotEmpty( node )
+ {
+ return isNotWhitespace( node ) && isNotBookmark( node );
+ }
+
+ function isNbsp( node )
+ {
+ return node.type == CKEDITOR.NODE_TEXT
+ && CKEDITOR.tools.trim( node.getText() ).match( /^(?: |\xa0)$/ );
+ }
+
+ function restoreSelection( selection )
+ {
+ if ( selection.isLocked )
+ {
+ selection.unlock();
+ setTimeout( function() { selection.lock(); }, 0 );
+ }
+ }
+
+ function isBlankParagraph( block )
+ {
+ return block.getOuterHtml().match( emptyParagraphRegexp );
+ }
+
+ isNotWhitespace = CKEDITOR.dom.walker.whitespaces( true );
+
+ // Gecko need a key event to 'wake up' the editing
+ // ability when document is empty.(#3864, #5781)
+ function activateEditing( editor )
+ {
+ var win = editor.window,
+ doc = editor.document,
+ body = editor.document.getBody(),
+ bodyChildsNum = body.getChildren().count();
+
+ if ( !bodyChildsNum || ( bodyChildsNum == 1&& body.getFirst().hasAttribute( '_moz_editor_bogus_node' ) ) )
+ {
+ restoreDirty( editor );
+
+ // Memorize scroll position to restore it later (#4472).
+ var hostDocument = editor.element.getDocument();
+ var hostDocumentElement = hostDocument.getDocumentElement();
+ var scrollTop = hostDocumentElement.$.scrollTop;
+ var scrollLeft = hostDocumentElement.$.scrollLeft;
+
+ // Simulating keyboard character input by dispatching a keydown of white-space text.
+ var keyEventSimulate = doc.$.createEvent( "KeyEvents" );
+ keyEventSimulate.initKeyEvent( 'keypress', true, true, win.$, false,
+ false, false, false, 0, 32 );
+ doc.$.dispatchEvent( keyEventSimulate );
+
+ if ( scrollTop != hostDocumentElement.$.scrollTop || scrollLeft != hostDocumentElement.$.scrollLeft )
+ hostDocument.getWindow().$.scrollTo( scrollLeft, scrollTop );
+
+ // Restore the original document status by placing the cursor before a bogus br created (#5021).
+ bodyChildsNum && body.getFirst().remove();
+ doc.getBody().appendBogus();
+ var nativeRange = new CKEDITOR.dom.range( doc );
+ nativeRange.setStartAt( body , CKEDITOR.POSITION_AFTER_START );
+ nativeRange.select();
+ }
+ }
+
+ /**
+ * Auto-fixing block-less content by wrapping paragraph (#3190), prevent
+ * non-exitable-block by padding extra br.(#3189)
+ */
+ function onSelectionChangeFixBody( evt )
+ {
+ var editor = evt.editor,
+ path = evt.data.path,
+ blockLimit = path.blockLimit,
+ selection = evt.data.selection,
+ range = selection.getRanges()[0],
+ body = editor.document.getBody(),
+ enterMode = editor.config.enterMode;
+
+ CKEDITOR.env.gecko && activateEditing( editor );
+
+ // When enterMode set to block, we'll establing new paragraph only if we're
+ // selecting inline contents right under body. (#3657)
+ if ( enterMode != CKEDITOR.ENTER_BR
+ && range.collapsed
+ && blockLimit.getName() == 'body'
+ && !path.block )
+ {
+ editor.fire( 'updateSnapshot' );
+ restoreDirty( editor );
+ CKEDITOR.env.ie && restoreSelection( selection );
+
+ var fixedBlock = range.fixBlock( true,
+ editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' );
+
+ // For IE, we should remove any filler node which was introduced before.
+ if ( CKEDITOR.env.ie )
+ {
+ var first = fixedBlock.getFirst( isNotEmpty );
+ first && isNbsp( first ) && first.remove();
+ }
+
+ // If the fixed block is actually blank and is already followed by an exitable blank
+ // block, we should revert the fix and move into the existed one. (#3684)
+ if ( isBlankParagraph( fixedBlock ) )
+ {
+ var element = fixedBlock.getNext( isNotWhitespace );
+ if ( element &&
+ element.type == CKEDITOR.NODE_ELEMENT &&
+ !nonExitableElementNames[ element.getName() ] )
+ {
+ range.moveToElementEditStart( element );
+ fixedBlock.remove();
+ }
+ else
+ {
+ element = fixedBlock.getPrevious( isNotWhitespace );
+ if ( element &&
+ element.type == CKEDITOR.NODE_ELEMENT &&
+ !nonExitableElementNames[ element.getName() ] )
+ {
+ range.moveToElementEditEnd( element );
+ fixedBlock.remove();
+ }
+ }
+ }
+
+ range.select();
+ // Notify non-IE that selection has changed.
+ if ( !CKEDITOR.env.ie )
+ editor.selectionChange();
+ }
+
+ // All browsers are incapable to moving cursor out of certain non-exitable
+ // blocks (e.g. table, list, pre) at the end of document, make this happen by
+ // place a bogus node there, which would be later removed by dataprocessor.
+ var walkerRange = new CKEDITOR.dom.range( editor.document ),
+ walker = new CKEDITOR.dom.walker( walkerRange );
+ walkerRange.selectNodeContents( body );
+ walker.evaluator = function( node )
+ {
+ return node.type == CKEDITOR.NODE_ELEMENT && ( node.getName() in nonExitableElementNames );
+ };
+ walker.guard = function( node, isMoveout )
+ {
+ return !( ( node.type == CKEDITOR.NODE_TEXT && isNotWhitespace( node ) ) || isMoveout );
+ };
+
+ if ( walker.previous() )
+ {
+ editor.fire( 'updateSnapshot' );
+ restoreDirty( editor );
+ CKEDITOR.env.ie && restoreSelection( selection );
+
+ var paddingBlock;
+ if ( enterMode != CKEDITOR.ENTER_BR )
+ paddingBlock = body.append( new CKEDITOR.dom.element( enterMode == CKEDITOR.ENTER_P ? 'p' : 'div' ) );
+ else
+ paddingBlock = body;
+
+ if ( !CKEDITOR.env.ie )
+ paddingBlock.appendBogus();
+ }
+ }
+
+ CKEDITOR.plugins.add( 'wysiwygarea',
+ {
+ requires : [ 'editingblock' ],
+
+ init : function( editor )
+ {
+ var fixForBody = ( editor.config.enterMode != CKEDITOR.ENTER_BR )
+ ? editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p' : false;
+
+ var frameLabel = editor.lang.editorTitle.replace( '%1', editor.name );
+
+ var contentDomReadyHandler;
+ editor.on( 'editingBlockReady', function()
+ {
+ var mainElement,
+ iframe,
+ isLoadingData,
+ isPendingFocus,
+ frameLoaded,
+ fireMode;
+
+
+ // Support for custom document.domain in IE.
+ var isCustomDomain = CKEDITOR.env.isCustomDomain();
+
+ // Creates the iframe that holds the editable document.
+ var createIFrame = function( data )
+ {
+ if ( iframe )
+ iframe.remove();
+
+
+ var srcScript =
+ 'document.open();' +
+
+ // The document domain must be set any time we
+ // call document.open().
+ ( isCustomDomain ? ( 'document.domain="' + document.domain + '";' ) : '' ) +
+
+ 'document.close();';
+
+ iframe = CKEDITOR.dom.element.createFromHtml( '<iframe' +
+ ' style="width:100%;height:100%"' +
+ ' frameBorder="0"' +
+ ' title="' + frameLabel + '"' +
+ // With IE, the custom domain has to be taken care at first,
+ // for other browers, the 'src' attribute should be left empty to
+ // trigger iframe's 'load' event.
+ ' src="' + ( CKEDITOR.env.ie ? 'javascript:void(function(){' + encodeURIComponent( srcScript ) + '}())' : '' ) + '"' +
+ ' tabIndex="' + ( CKEDITOR.env.webkit? -1 : editor.tabIndex ) + '"' +
+ ' allowTransparency="true"' +
+ '></iframe>' );
+
+ // Running inside of Firefox chrome the load event doesn't bubble like in a normal page (#5689)
+ if ( document.location.protocol == 'chrome:' )
+ CKEDITOR.event.useCapture = true;
+
+ // With FF, it's better to load the data on iframe.load. (#3894,#4058)
+ iframe.on( 'load', function( ev )
+ {
+ frameLoaded = 1;
+ ev.removeListener();
+
+ var doc = iframe.getFrameDocument().$;
+
+ // Don't leave any history log in IE. (#5657)
+ doc.open( "text/html","replace" );
+ doc.write( data );
+ doc.close();
+ });
+
+ // Reset adjustment back to default (#5689)
+ if ( document.location.protocol == 'chrome:' )
+ CKEDITOR.event.useCapture = false;
+
+ // The container must be visible when creating the iframe in FF (#5956)
+ var element = editor.element,
+ isHidden = CKEDITOR.env.gecko && !element.isVisible(),
+ previousStyles = {};
+ if ( isHidden )
+ {
+ element.show();
+ previousStyles = {
+ position : element.getStyle( 'position' ),
+ top : element.getStyle( 'top' )
+ };
+ element.setStyles( { position : 'absolute', top : '-3000px' } );
+ }
+
+ mainElement.append( iframe );
+
+ if ( isHidden )
+ {
+ setTimeout( function()
+ {
+ element.hide();
+ element.setStyles( previousStyles );
+ }, 1000 );
+ }
+ };
+
+ // The script that launches the bootstrap logic on 'domReady', so the document
+ // is fully editable even before the editing iframe is fully loaded (#4455).
+ contentDomReadyHandler = CKEDITOR.tools.addFunction( contentDomReady );
+ var activationScript =
+ '<script id="cke_actscrpt" type="text/javascript" cke_temp="1">' +
+ ( isCustomDomain ? ( 'document.domain="' + document.domain + '";' ) : '' ) +
+ 'window.parent.CKEDITOR.tools.callFunction( ' + contentDomReadyHandler + ', window );' +
+ '</script>';
+
+ // Editing area bootstrap code.
+ function contentDomReady( domWindow )
+ {
+ if ( !frameLoaded )
+ return;
+ frameLoaded = 0;
+
+ editor.fire( 'ariaWidget', iframe );
+
+ var domDocument = domWindow.document,
+ body = domDocument.body;
+
+ // Remove this script from the DOM.
+ var script = domDocument.getElementById( "cke_actscrpt" );
+ script.parentNode.removeChild( script );
+
+ body.spellcheck = !editor.config.disableNativeSpellChecker;
+
+ if ( CKEDITOR.env.ie )
+ {
+ // Don't display the focus border.
+ body.hideFocus = true;
+
+ // Disable and re-enable the body to avoid IE from
+ // taking the editing focus at startup. (#141 / #523)
+ body.disabled = true;
+ body.contentEditable = true;
+ body.removeAttribute( 'disabled' );
+ }
+ else
+ {
+ // Avoid opening design mode in a frame window thread,
+ // which will cause host page scrolling.(#4397)
+ setTimeout( function()
+ {
+ // Prefer 'contentEditable' instead of 'designMode'. (#3593)
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version >= 10900
+ || CKEDITOR.env.opera )
+ domDocument.$.body.contentEditable = true;
+ else if ( CKEDITOR.env.webkit )
+ domDocument.$.body.parentNode.contentEditable = true;
+ else
+ domDocument.$.designMode = 'on';
+ }, 0 );
+ }
+
+ CKEDITOR.env.gecko && CKEDITOR.tools.setTimeout( activateEditing, 0, null, editor );
+
+ domWindow = editor.window = new CKEDITOR.dom.window( domWindow );
+ domDocument = editor.document = new CKEDITOR.dom.document( domDocument );
+
+ domDocument.on( 'dblclick', function( evt )
+ {
+ var element = evt.data.getTarget(),
+ data = { element : element, dialog : '' };
+ editor.fire( 'doubleclick', data );
+ data.dialog && editor.openDialog( data.dialog );
+ });
+
+ // Gecko/Webkit need some help when selecting control type elements. (#3448)
+ if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera) )
+ {
+ domDocument.on( 'mousedown', function( ev )
+ {
+ var control = ev.data.getTarget();
+ if ( control.is( 'img', 'hr', 'input', 'textarea', 'select' ) )
+ editor.getSelection().selectElement( control );
+ } );
+ }
+
+ if ( CKEDITOR.env.gecko )
+ {
+ domDocument.on( 'mouseup', function( ev )
+ {
+ if ( ev.data.$.button == 2 )
+ {
+ var target = ev.data.getTarget();
+
+ // Prevent right click from selecting an empty block even
+ // when selection is anchored inside it. (#5845)
+ if ( !target.getOuterHtml().replace( emptyParagraphRegexp, '' ) )
+ {
+ var range = new CKEDITOR.dom.range( domDocument );
+ range.moveToElementEditStart( target );
+ range.select( true );
+ }
+ }
+ } );
+ }
+
+ // Prevent the browser opening links in read-only blocks. (#6032)
+ domDocument.on( 'click', function( ev )
+ {
+ ev = ev.data;
+ if ( ev.getTarget().is( 'a' ) && ev.$.button != 2 )
+ ev.preventDefault();
+ });
+
+ // Webkit: avoid from editing form control elements content.
+ if ( CKEDITOR.env.webkit )
+ {
+ // Prevent from tick checkbox/radiobox/select
+ domDocument.on( 'click', function( ev )
+ {
+ if ( ev.data.getTarget().is( 'input', 'select' ) )
+ ev.data.preventDefault();
+ } );
+
+ // Prevent from editig textfield/textarea value.
+ domDocument.on( 'mouseup', function( ev )
+ {
+ if ( ev.data.getTarget().is( 'input', 'textarea' ) )
+ ev.data.preventDefault();
+ } );
+ }
+
+ // IE standard compliant in editing frame doesn't focus the editor when
+ // clicking outside actual content, manually apply the focus. (#1659)
+ if ( CKEDITOR.env.ie
+ && domDocument.$.compatMode == 'CSS1Compat'
+ || CKEDITOR.env.gecko
+ || CKEDITOR.env.opera )
+ {
+ var htmlElement = domDocument.getDocumentElement();
+ htmlElement.on( 'mousedown', function( evt )
+ {
+ // Setting focus directly on editor doesn't work, we
+ // have to use here a temporary element to 'redirect'
+ // the focus.
+ if ( evt.data.getTarget().equals( htmlElement ) )
+ {
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version >= 10900 )
+ blinkCursor();
+ focusGrabber.focus();
+ }
+ } );
+ }
+
+ domWindow.on( 'blur', function()
+ {
+ editor.focusManager.blur();
+ });
+
+ domWindow.on( 'focus', function()
+ {
+ var doc = editor.document;
+
+ if ( CKEDITOR.env.gecko && CKEDITOR.env.version >= 10900 )
+ blinkCursor();
+ else if ( CKEDITOR.env.opera )
+ doc.getBody().focus();
+
+ editor.focusManager.focus();
+ });
+
+ var keystrokeHandler = editor.keystrokeHandler;
+ if ( keystrokeHandler )
+ keystrokeHandler.attach( domDocument );
+
+ if ( CKEDITOR.env.ie )
+ {
+ domDocument.getDocumentElement().addClass( domDocument.$.compatMode );
+ // Override keystrokes which should have deletion behavior
+ // on control types in IE . (#4047)
+ domDocument.on( 'keydown', function( evt )
+ {
+ var keyCode = evt.data.getKeystroke();
+
+ // Backspace OR Delete.
+ if ( keyCode in { 8 : 1, 46 : 1 } )
+ {
+ var sel = editor.getSelection(),
+ control = sel.getSelectedElement();
+
+ if ( control )
+ {
+ // Make undo snapshot.
+ editor.fire( 'saveSnapshot' );
+
+ // Delete any element that 'hasLayout' (e.g. hr,table) in IE8 will
+ // break up the selection, safely manage it here. (#4795)
+ var bookmark = sel.getRanges()[ 0 ].createBookmark();
+ // Remove the control manually.
+ control.remove();
+ sel.selectBookmarks( [ bookmark ] );
+
+ editor.fire( 'saveSnapshot' );
+
+ evt.data.preventDefault();
+ }
+ }
+ } );
+
+ // PageUp/PageDown scrolling is broken in document
+ // with standard doctype, manually fix it. (#4736)
+ if ( domDocument.$.compatMode == 'CSS1Compat' )
+ {
+ var pageUpDownKeys = { 33 : 1, 34 : 1 };
+ domDocument.on( 'keydown', function( evt )
+ {
+ if ( evt.data.getKeystroke() in pageUpDownKeys )
+ {
+ setTimeout( function ()
+ {
+ editor.getSelection().scrollIntoView();
+ }, 0 );
+ }
+ } );
+ }
+ }
+
+ // Adds the document body as a context menu target.
+ if ( editor.contextMenu )
+ editor.contextMenu.addTarget( domDocument, editor.config.browserContextMenuOnCtrl !== false );
+
+ setTimeout( function()
+ {
+ editor.fire( 'contentDom' );
+
+ if ( fireMode )
+ {
+ editor.mode = 'wysiwyg';
+ editor.fire( 'mode' );
+ fireMode = false;
+ }
+
+ isLoadingData = false;
+
+ if ( isPendingFocus )
+ {
+ editor.focus();
+ isPendingFocus = false;
+ }
+ setTimeout( function()
+ {
+ editor.fire( 'dataReady' );
+ }, 0 );
+
+ // IE, Opera and Safari may not support it and throw errors.
+ try { editor.document.$.execCommand( 'enableObjectResizing', false, !editor.config.disableObjectResizing ) ; } catch(e) {}
+ try { editor.document.$.execCommand( 'enableInlineTableEditing', false, !editor.config.disableNativeTableHandles ) ; } catch(e) {}
+
+ /*
+ * IE BUG: IE might have rendered the iframe with invisible contents.
+ * (#3623). Push some inconsequential CSS style changes to force IE to
+ * refresh it.
+ *
+ * Also, for some unknown reasons, short timeouts (e.g. 100ms) do not
+ * fix the problem. :(
+ */
+ if ( CKEDITOR.env.ie )
+ {
+ setTimeout( function()
+ {
+ if ( editor.document )
+ {
+ var $body = editor.document.$.body;
+ $body.runtimeStyle.marginBottom = '0px';
+ $body.runtimeStyle.marginBottom = '';
+ }
+ }, 1000 );
+ }
+ },
+ 0 );
+ }
+
+ editor.addMode( 'wysiwyg',
+ {
+ load : function( holderElement, data, isSnapshot )
+ {
+ mainElement = holderElement;
+
+ if ( CKEDITOR.env.ie && CKEDITOR.env.quirks )
+ holderElement.setStyle( 'position', 'relative' );
+
+ // The editor data "may be dirty" after this
+ // point.
+ editor.mayBeDirty = true;
+
+ fireMode = true;
+
+ if ( isSnapshot )
+ this.loadSnapshotData( data );
+ else
+ this.loadData( data );
+ },
+
+ loadData : function( data )
+ {
+ isLoadingData = true;
+
+ var config = editor.config,
+ fullPage = config.fullPage,
+ docType = config.docType;
+
+ // Build the additional stuff to be included into <head>.
+ var headExtra =
+ '<style type="text/css" cke_temp="1">' +
+ editor._.styles.join( '\n' ) +
+ '</style>';
+
+ !fullPage && ( headExtra =
+ CKEDITOR.tools.buildStyleHtml( editor.config.contentsCss ) +
+ headExtra );
+
+ var baseTag = config.baseHref ? '<base href="' + config.baseHref + '" cke_temp="1" />' : '';
+
+ if ( fullPage )
+ {
+ // Search and sweep out the doctype declaration.
+ data = data.replace( /<!DOCTYPE[^>]*>/i, function( match )
+ {
+ editor.docType = docType = match;
+ return '';
+ });
+ }
+
+ // Get the HTML version of the data.
+ if ( editor.dataProcessor )
+ data = editor.dataProcessor.toHtml( data, fixForBody );
+
+ if ( fullPage )
+ {
+ // Check if the <body> tag is available.
+ if ( !(/<body[\s|>]/).test( data ) )
+ data = '<body>' + data;
+
+ // Check if the <html> tag is available.
+ if ( !(/<html[\s|>]/).test( data ) )
+ data = '<html>' + data + '</html>';
+
+ // Check if the <head> tag is available.
+ if ( !(/<head[\s|>]/).test( data ) )
+ data = data.replace( /<html[^>]*>/, '$&<head><title></title></head>' ) ;
+ else if ( !(/<title[\s|>]/).test( data ) )
+ data = data.replace( /<head[^>]*>/, '$&<title></title>' ) ;
+
+ // The base must be the first tag in the HEAD, e.g. to get relative
+ // links on styles.
+ baseTag && ( data = data.replace( /<head>/, '$&' + baseTag ) );
+
+ // Inject the extra stuff into <head>.
+ // Attention: do not change it before testing it well. (V2)
+ // This is tricky... if the head ends with <meta ... content type>,
+ // Firefox will break. But, it works if we place our extra stuff as
+ // the last elements in the HEAD.
+ data = data.replace( /<\/head\s*>/, headExtra + '$&' );
+
+ // Add the DOCTYPE back to it.
+ data = docType + data;
+ }
+ else
+ {
+ data =
+ config.docType +
+ '<html dir="' + config.contentsLangDirection + '"' +
+ ' lang="' + ( config.contentsLanguage || editor.langCode ) + '">' +
+ '<head>' +
+ '<title>' + frameLabel + '</title>' +
+ baseTag +
+ headExtra +
+ '</head>' +
+ '<body' + ( config.bodyId ? ' id="' + config.bodyId + '"' : '' ) +
+ ( config.bodyClass ? ' class="' + config.bodyClass + '"' : '' ) +
+ '>' +
+ data +
+ '</html>';
+ }
+
+ data += activationScript;
+
+
+ // The iframe is recreated on each call of setData, so we need to clear DOM objects
+ this.onDispose();
+ createIFrame( data );
+ },
+
+ getData : function()
+ {
+ var config = editor.config,
+ fullPage = config.fullPage,
+ docType = fullPage && editor.docType,
+ doc = iframe.getFrameDocument();
+
+ var data = fullPage
+ ? doc.getDocumentElement().getOuterHtml()
+ : doc.getBody().getHtml();
+
+ if ( editor.dataProcessor )
+ data = editor.dataProcessor.toDataFormat( data, fixForBody );
+
+ // Strip the last blank paragraph within document.
+ if ( config.ignoreEmptyParagraph )
+ data = data.replace( emptyParagraphRegexp, '' );
+
+ if ( docType )
+ data = docType + '\n' + data;
+
+ return data;
+ },
+
+ getSnapshotData : function()
+ {
+ return iframe.getFrameDocument().getBody().getHtml();
+ },
+
+ loadSnapshotData : function( data )
+ {
+ iframe.getFrameDocument().getBody().setHtml( data );
+ },
+
+ onDispose : function()
+ {
+ if ( !editor.document )
+ return;
+
+ editor.document.getDocumentElement().clearCustomData();
+ editor.document.getBody().clearCustomData();
+
+ editor.window.clearCustomData();
+ editor.document.clearCustomData();
+
+ iframe.clearCustomData();
+
+ /*
+ * IE BUG: When destroying editor DOM with the selection remains inside
+ * editing area would break IE7/8's selection system, we have to put the editing
+ * iframe offline first. (#3812 and #5441)
+ */
+ iframe.remove();
+ },
+
+ unload : function( holderElement )
+ {
+ this.onDispose();
+
+ editor.window = editor.document = iframe = mainElement = isPendingFocus = null;
+
+ editor.fire( 'contentDomUnload' );
+ },
+
+ focus : function()
+ {
+ if ( isLoadingData )
+ isPendingFocus = true;
+ // Temporary solution caused by #6025, supposed be unified by #6154.
+ else if ( CKEDITOR.env.opera && editor.document )
+ {
+ editor.document.getBody().focus();
+
+ editor.selectionChange();
+ }
+ else if ( !CKEDITOR.env.opera && editor.window )
+ {
+ editor.window.focus();
+
+ editor.selectionChange();
+ }
+ }
+ });
+
+ editor.on( 'insertHtml', onInsertHtml, null, null, 20 );
+ editor.on( 'insertElement', onInsertElement, null, null, 20 );
+ // Auto fixing on some document structure weakness to enhance usabilities. (#3190 and #3189)
+ editor.on( 'selectionChange', onSelectionChangeFixBody, null, null, 1 );
+ });
+
+ var titleBackup;
+ // Setting voice label as window title, backup the original one
+ // and restore it before running into use.
+ editor.on( 'contentDom', function ()
+ {
+ var title = editor.document.getElementsByTag( 'title' ).getItem( 0 );
+ title.setAttribute( '_cke_title', editor.document.$.title );
+ editor.document.$.title = frameLabel;
+ });
+
+ // IE8 stricts mode doesn't have 'contentEditable' in effect
+ // on element unless it has layout. (#5562)
+ if ( CKEDITOR.env.ie8Compat )
+ {
+ editor.addCss( 'html.CSS1Compat [contenteditable=false]{ min-height:0 !important;}' );
+
+ var selectors = [];
+ for ( var tag in CKEDITOR.dtd.$removeEmpty )
+ selectors.push( 'html.CSS1Compat ' + tag + '[contenteditable=false]' );
+ editor.addCss( selectors.join( ',' ) + '{ display:inline-block;}' );
+ }
+
+ // Switch on design mode for a short while and close it after then.
+ function blinkCursor( retry )
+ {
+ CKEDITOR.tools.tryThese(
+ function()
+ {
+ editor.document.$.designMode = 'on';
+ setTimeout( function ()
+ {
+ editor.document.$.designMode = 'off';
+ editor.document.getBody().focus();
+ }, 50 );
+ },
+ function()
+ {
+ // The above call is known to fail when parent DOM
+ // tree layout changes may break design mode. (#5782)
+ // Refresh the 'contentEditable' is a cue to this.
+ editor.document.$.designMode = 'off';
+ var body = editor.document.getBody();
+ body.setAttribute( 'contentEditable', false );
+ body.setAttribute( 'contentEditable', true );
+ // Try it again once..
+ !retry && blinkCursor( 1 );
+ });
+ }
+
+ // Create an invisible element to grab focus.
+ if ( CKEDITOR.env.gecko || CKEDITOR.env.ie || CKEDITOR.env.opera )
+ {
+ var focusGrabber;
+ editor.on( 'uiReady', function()
+ {
+ focusGrabber = editor.container.append( CKEDITOR.dom.element.createFromHtml(
+ // Use 'span' instead of anything else to fly under the screen-reader radar. (#5049)
+ '<span tabindex="-1" style="position:absolute; left:-10000" role="presentation"></span>' ) );
+
+ focusGrabber.on( 'focus', function()
+ {
+ editor.focus();
+ } );
+ } );
+ editor.on( 'destroy', function()
+ {
+ CKEDITOR.tools.removeFunction( contentDomReadyHandler );
+ focusGrabber.clearCustomData();
+ } );
+ }
+
+ // Disable form elements editing mode provided by some browers. (#5746)
+ editor.on( 'insertElement', function ( evt )
+ {
+ var element = evt.data;
+ if ( element.type == CKEDITOR.NODE_ELEMENT
+ && ( element.is( 'input' ) || element.is( 'textarea' ) ) )
+ {
+ if ( !element.isReadOnly() )
+ {
+ element.setAttribute( 'contentEditable', false );
+ // We should flag that the element was locked by our code so
+ // it'll be editable by the editor functions (#6046).
+ element.setCustomData( '_cke_notReadOnly', 1 );
+ }
+ }
+ });
+
+ }
+ });
+
+ // Fixing Firefox 'Back-Forward Cache' break design mode. (#4514)
+ if ( CKEDITOR.env.gecko )
+ {
+ ( function ()
+ {
+ var body = document.body;
+
+ if ( !body )
+ window.addEventListener( 'load', arguments.callee, false );
+ else
+ {
+ var currentHandler = body.getAttribute( 'onpageshow' );
+ body.setAttribute( 'onpageshow', ( currentHandler ? currentHandler + ';' : '') +
+ 'event.persisted && (function(){' +
+ 'var allInstances = CKEDITOR.instances, editor, doc;' +
+ 'for ( var i in allInstances )' +
+ '{' +
+ ' editor = allInstances[ i ];' +
+ ' doc = editor.document;' +
+ ' if ( doc )' +
+ ' {' +
+ ' doc.$.designMode = "off";' +
+ ' doc.$.designMode = "on";' +
+ ' }' +
+ '}' +
+ '})();' );
+ }
+ } )();
+
+ }
+})();
+
+/**
+ * Disables the ability of resize objects (image and tables) in the editing
+ * area.
+ * @type Boolean
+ * @default false
+ * @example
+ * config.disableObjectResizing = true;
+ */
+CKEDITOR.config.disableObjectResizing = false;
+
+/**
+ * Disables the "table tools" offered natively by the browser (currently
+ * Firefox only) to make quick table editing operations, like adding or
+ * deleting rows and columns.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.disableNativeTableHandles = false;
+ */
+CKEDITOR.config.disableNativeTableHandles = true;
+
+/**
+ * Disables the built-in spell checker while typing natively available in the
+ * browser (currently Firefox and Safari only).<br /><br />
+ *
+ * Even if word suggestions will not appear in the CKEditor context menu, this
+ * feature is useful to help quickly identifying misspelled words.<br /><br />
+ *
+ * This setting is currently compatible with Firefox only due to limitations in
+ * other browsers.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.disableNativeSpellChecker = false;
+ */
+CKEDITOR.config.disableNativeSpellChecker = true;
+
+/**
+ * Whether the editor must output an empty value ("") if it's contents is made
+ * by an empty paragraph only.
+ * @type Boolean
+ * @default true
+ * @example
+ * config.ignoreEmptyParagraph = false;
+ */
+CKEDITOR.config.ignoreEmptyParagraph = true;
+
+/**
+ * Fired when data is loaded and ready for retrieval in an editor instance.
+ * @name CKEDITOR.editor#dataReady
+ * @event
+ */
diff --git a/devel/third-party/ckeditor/skins/kama/dialog.css b/devel/third-party/ckeditor/skins/kama/dialog.css
new file mode 100644
index 0000000..743854e
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/dialog.css
@@ -0,0 +1,856 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Restore the dialog visibility */
+body .cke_dialog
+{
+ visibility: visible;
+}
+
+/* Force Gecko to consider table as positioned */
+.cke_skin_kama table.cke_dialog.cke_browser_gecko
+{
+ display:block;
+}
+
+.cke_skin_kama .cke_dialog_body
+{
+ z-index: 1;
+ border: solid 1px #ddd;
+ padding: 5px;
+ background-color: #fff;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+
+ /* 'cke_dialog' element has been fixed positioned in all but IE6, while we
+ need it to be positioned to hold e.g. close button. */
+ position: relative;
+ _position: static;
+}
+
+.cke_skin_kama .cke_dialog_tl,
+.cke_skin_kama .cke_dialog_tr,
+.cke_skin_kama .cke_dialog_tc,
+.cke_skin_kama .cke_dialog_bl,
+.cke_skin_kama .cke_dialog_br,
+.cke_skin_kama .cke_dialog_bc,
+.cke_skin_kama .cke_dialog_ml,
+.cke_skin_kama .cke_dialog_mr
+{
+ display:none;
+}
+
+.cke_skin_kama .cke_dialog_title
+{
+ font-weight: bold;
+ font-size: 14px;
+ padding: 3px 3px 8px;
+ cursor: move;
+ position: relative;
+ border-bottom: 1px solid #eee;
+}
+
+.cke_skin_kama .cke_browser_iequirks .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie6 .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie7 .cke_dialog_title
+{
+ margin-bottom: 22px;
+}
+
+.cke_skin_kama .cke_browser_iequirks.cke_single_page .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie6.cke_single_page .cke_dialog_title,
+.cke_skin_kama .cke_browser_ie7.cke_single_page .cke_dialog_title
+{
+ margin-bottom: 10px;
+}
+
+.cke_skin_kama .cke_dialog_contents
+{
+ background-color: #ebebeb;
+ border: solid 1px #fff;
+ border-bottom: none;
+ overflow: auto;
+ padding: 17px 10px 5px 10px;
+ -moz-border-radius-topleft: 5px;
+ -moz-border-radius-topright: 5px;
+ -webkit-border-top-left-radius: 5px;
+ -webkit-border-top-right-radius: 5px;
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+ margin-top: 22px;
+}
+
+.cke_skin_kama .cke_dialog_footer
+{
+ text-align: right;
+ background-color: #ebebeb;
+ border: solid 1px #fff;
+ border-bottom: none;
+ -moz-border-radius-bottomleft: 5px;
+ -moz-border-radius-bottomright: 5px;
+ -webkit-border-bottom-left-radius: 5px;
+ -webkit-border-bottom-right-radius: 5px;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_footer
+{
+ text-align: left;
+}
+
+/* tabs */
+
+.cke_skin_kama .cke_dialog_tabs
+{
+ height: 23px;
+ display: inline-block;
+ _display: block;
+ margin-left:10px;
+ margin-right:10px;
+ margin-top: 11px;
+ position: absolute;
+ z-index: 2;
+}
+
+.cke_skin_kama .cke_browser_iequirks .cke_dialog_tabs,
+.cke_skin_kama .cke_browser_ie6 .cke_dialog_tabs,
+.cke_skin_kama .cke_browser_ie7 .cke_dialog_tabs
+{
+ top: 33px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_tabs
+{
+ right: 10px;
+}
+
+.cke_skin_kama a.cke_dialog_tab,
+.cke_skin_kama a:link.cke_dialog_tab,
+.cke_skin_kama a:active.cke_dialog_tab,
+.cke_skin_kama a:hover.cke_dialog_tab,
+.cke_skin_kama a:visited.cke_dialog_tab
+{
+ background-image: url(images/sprites.png);
+ background-repeat: repeat-x;
+ background-position: 0 -1323px;
+
+ background-color: #ebebeb;
+ height: 14px;
+ padding: 4px 8px;
+ display: inline-block;
+ cursor: pointer;
+
+}
+
+/* Gecko 1.8 layout workaround. */
+.cke_skin_kama .cke_browser_gecko18 a.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:link.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:active.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:hover.cke_dialog_tab,
+.cke_skin_kama .cke_browser_gecko18 a:visited.cke_dialog_tab
+{
+ display: inline;
+ position: relative;
+ top: 6px;
+}
+
+.cke_skin_kama a:hover.cke_dialog_tab
+{
+ background-color: #f1f1e3;
+}
+
+.cke_skin_kama .cke_hc a:hover.cke_dialog_tab
+{
+ padding: 2px 6px !important;
+ border-width: 3px;
+}
+
+.cke_skin_kama a.cke_dialog_tab_selected,
+.cke_skin_kama a:link.cke_dialog_tab_selected,
+.cke_skin_kama a:active.cke_dialog_tab_selected,
+.cke_skin_kama a:hover.cke_dialog_tab_selected,
+.cke_skin_kama a:visited.cke_dialog_tab_selected
+{
+ background-position: 0 -1279px;
+ cursor: default;
+}
+
+.cke_skin_kama .cke_hc a.cke_dialog_tab_selected,
+.cke_skin_kama .cke_hc a:link.cke_dialog_tab_selected,
+.cke_skin_kama .cke_hc a:active.cke_dialog_tab_selected,
+.cke_skin_kama .cke_hc a:hover.cke_dialog_tab_selected,
+.cke_skin_kama .cke_hc a:visited.cke_dialog_tab_selected
+{
+ padding: 2px 6px !important;
+ border-width: 3px;
+}
+
+/* single_page */
+
+.cke_skin_kama .cke_single_page .cke_dialog_tabs
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_single_page .cke_dialog_contents
+{
+ padding-top: 5px;
+ margin-top: 10px;
+}
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_single_page .cke_dialog_contents
+{
+ margin-top: 0px;
+ position: relative;
+ margin-bottom: -22px;
+}
+
+.cke_skin_kama .cke_dialog_ui_vbox table,
+.cke_skin_kama .cke_dialog_ui_hbox table
+{
+ margin: auto;
+}
+
+.cke_skin_kama .cke_dialog_ui_vbox_child
+{
+ padding: 5px 0px;
+}
+
+.cke_skin_kama input.cke_dialog_ui_input_text,
+.cke_skin_kama input.cke_dialog_ui_input_password
+{
+ background-color: white;
+ border: none;
+ padding: 0px;
+ width: 100%;
+ height: 14px;
+}
+
+.cke_skin_kama div.cke_dialog_ui_input_text,
+.cke_skin_kama div.cke_dialog_ui_input_password
+{
+ background-color: white;
+ border: 1px solid #a0a0a0;
+ padding: 1px 0px;
+}
+
+.cke_skin_kama .cke_browser_ie.cke_rtl div.cke_dialog_ui_input_text {
+ padding-right: 1px;
+}
+
+.cke_skin_kama .cke_browser_gecko.cke_hc div.cke_dialog_ui_input_text,
+.cke_skin_kama .cke_browser_gecko.cke_hc div.cke_dialog_ui_input_password
+{
+ border-width: 0px;
+}
+
+.cke_skin_kama .cke_browser_gecko18.cke_hc div.cke_dialog_ui_input_text,
+.cke_skin_kama .cke_browser_gecko18.cke_hc div.cke_dialog_ui_input_password
+{
+ border-width: 1px;
+}
+
+.cke_skin_kama textarea.cke_dialog_ui_input_textarea
+{
+ background-color: white;
+ border: none;
+ padding: 0px;
+ width: 100%;
+ /*
+ * IE6 BUG: Scrollbars in textareas can overflow even if the outer DIV is set to overflow:hidden.
+ * So leave 1% width for the scrollbar. In most situations the 1% isn't noticeable by users.
+ */
+ _width: 99%;
+ overflow: auto;
+ resize: none;
+}
+
+.cke_skin_kama div.cke_dialog_ui_input_textarea
+{
+ background-color: white;
+ border: 1px solid #a0a0a0;
+ padding: 1px 0px;
+}
+
+.cke_skin_kama div.cke_disabled .cke_dialog_ui_labeled_content *
+{
+ background-color : #a0a0a0;
+ cursor : default;
+}
+
+.cke_skin_kama .cke_dialog_ui_hbox
+{
+ width: 100%;
+}
+
+.cke_skin_kama .cke_dialog_ui_hbox_first,
+.cke_skin_kama .cke_dialog_ui_hbox_child,
+.cke_skin_kama .cke_dialog_ui_hbox_last
+{
+ vertical-align: top;
+}
+
+.cke_skin_kama .cke_ltr .cke_dialog_ui_hbox_first,
+.cke_skin_kama .cke_ltr .cke_dialog_ui_hbox_child
+{
+ padding-right: 10px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_ui_hbox_first,
+.cke_skin_kama .cke_rtl .cke_dialog_ui_hbox_child
+{
+ padding-left: 10px;
+}
+
+/* button */
+
+.cke_skin_kama a.cke_dialog_ui_button
+{
+ border-collapse: separate;
+ cursor: default;
+
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ background: transparent url(images/sprites.png) repeat-x scroll 0 -1069px;
+ _background: none;
+ padding: 5px 0;
+ text-align: center;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button
+{
+ padding: 0;
+}
+
+/* IE6 buttons. */
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button span
+{
+ width: 70px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span
+{
+ width: 100px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button span
+{
+ padding: 5px 15px;
+ text-align: center;
+ color: #3b3b1f;
+ background: #53D9F0 none;
+ display: inline-block;
+ cursor: default;
+}
+/* END IE6 buttons. */
+
+.cke_skin_kama .cke_browser_webkit a.cke_dialog_ui_button span.cke_dialog_ui_button
+{
+ margin: 0;
+}
+.cke_skin_kama .cke_browser_webkit a.cke_dialog_ui_button
+{
+ display:inline-block;
+ padding-top: 3px;
+ padding-bottom: 2px;
+ margin: 2px 0;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_ok span,
+.cke_skin_kama a.cke_dialog_ui_button_cancel span
+{
+ padding-right: 20px;
+ padding-left: 20px;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_ok
+{
+ background-position: 0 -1143px;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_ok span
+{
+ background: transparent url(images/sprites.png) no-repeat scroll right -1219px;
+}
+
+.cke_skin_kama .cke_rtl a.cke_dialog_ui_button_ok span
+{
+ background-position: left -1219px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_ok span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_ok span
+{
+ background-color: #B8E834;
+ margin-right: 0;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_cancel
+{
+ background-position: 0 -1104px;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button_cancel span
+{
+ background: transparent url(images/sprites.png) no-repeat scroll right -1245px;
+}
+
+.cke_skin_kama .cke_rtl a.cke_dialog_ui_button_cancel span
+{
+ background-position: left -1245px;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_cancel span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_cancel span
+{
+ background-color: #F65D20;
+}
+
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_cancel span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_cancel span,
+.cke_skin_kama .cke_browser_iequirks a.cke_dialog_ui_button_ok span,
+.cke_skin_kama .cke_browser_ie6 a.cke_dialog_ui_button_ok span
+{
+ background-image: none;
+}
+
+.cke_skin_kama span.cke_dialog_ui_button
+{
+ padding: 2px 10px;
+ text-align: center;
+ color: #222;
+ display: inline-block;
+ cursor: default;
+ min-width: 60px;
+ +margin: 2px 0; /* IE7 */
+}
+
+/* Gecko 1.8 does not support display: inline-block */
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+ display: block;
+}
+
+.cke_skin_kama a.cke_dialog_ui_button span.cke_disabled
+{
+ border: #898980 1px solid;
+ color: #5e5e55;
+ background-color: #c5c5b3;
+}
+
+.cke_skin_kama a:hover.cke_dialog_ui_button,
+.cke_skin_kama a:focus.cke_dialog_ui_button,
+.cke_skin_kama a:active.cke_dialog_ui_button
+{
+ background-position: 0 -1179px;
+}
+
+.cke_skin_kama .cke_hc a:hover.cke_dialog_ui_button,
+.cke_skin_kama .cke_hc a:focus.cke_dialog_ui_button,
+.cke_skin_kama .cke_hc a:active.cke_dialog_ui_button
+{
+ border-width: 2px;
+}
+
+/* Skip hover effect on IE6 */
+.cke_skin_kama .cke_browser_iequirks a:hover.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a:focus.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_iequirks a:active.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a:hover.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a:focus.cke_dialog_ui_button span,
+.cke_skin_kama .cke_browser_ie6 a:active.cke_dialog_ui_button span
+{
+ background-image: none;
+ background: #F7A922;
+}
+
+.cke_skin_kama .cke_dialog_footer_buttons
+{
+ display: inline-table;
+ margin-right: 12px;
+ margin-left: 12px;
+ width: auto;
+ position: relative;
+}
+
+/* Gecko 1.8 does not support for display: inline-table */
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons
+{
+ display: inline;
+}
+
+.cke_skin_kama .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+ margin: 7px 0;
+ width: 60px;
+ text-align: center;
+}
+
+/* Firefox2 buttons */
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons a.cke_dialog_ui_button
+{
+ display: block;
+ padding: 0;
+}
+
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+ padding-bottom: 5px;
+ padding-top: 6px;
+ margin-bottom: 0;
+}
+
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons .cke_dialog_ui_button_ok .cke_dialog_ui_button
+{
+ background-position: right -1214px;
+}
+
+.cke_skin_kama .cke_browser_gecko18 .cke_dialog_footer_buttons .cke_dialog_ui_button_cancel .cke_dialog_ui_button
+{
+ background-position: right -1242px;
+}
+/* END Firefox2 buttons */
+
+.cke_skin_kama strong
+{
+ font-weight: bold;
+}
+
+/* close_button */
+
+.cke_skin_kama .cke_dialog .cke_dialog_body .cke_dialog_close_button
+{
+ background-image: url(images/sprites.png);
+ background-repeat: no-repeat;
+ background-position: 0 -1022px;
+ position: absolute;
+ cursor: pointer;
+ text-align: center;
+ height: 20px;
+ width: 20px;
+ top: 5px;
+ /* IE 6 */
+ _background-image: url(images/sprites_ie6.png);
+}
+
+.cke_skin_kama .cke_dialog_close_button span
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_dialog_close_button:hover
+{
+ background-position: 0 -1045px;
+}
+
+.cke_skin_kama .cke_ltr .cke_dialog_close_button
+{
+ right: 10px;
+}
+
+.cke_skin_kama .cke_browser_ie8.cke_rtl .cke_dialog_close_button
+{
+ left: 8px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog_close_button
+{
+ left: 10px;
+}
+
+.cke_skin_kama .cke_browser_ie7.cke_rtl .cke_dialog_close_button
+{
+ left: 16px;
+ top: 0;
+}
+
+/*.cke_skin_kama .cke_browser_ie6.cke_rtl .cke_dialog_close_button
+{
+ left: 16px;
+}*/
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_rtl .cke_dialog_close_button
+{
+ position: absolute;
+ left: 10px;
+ top: 5px;
+}
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_single_page .cke_dialog_footer
+{
+ margin-top: 22px;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_dialog_close_button,
+.cke_skin_kama .cke_browser_iequirks .cke_dialog_close_button
+{
+ top: 7px;
+}
+
+/* IE7 + IE quirks */
+.cke_skin_kama .cke_browser_ie7.cke_ltr .cke_dialog_close_button
+{
+ margin-top: 0;
+}
+
+.cke_skin_kama .cke_dialog_ui_input_select
+{
+ border: 1px solid #a0a0a0;
+ background-color: white;
+}
+
+.cke_skin_kama .cke_dialog_ui_input_file
+{
+ width: 100%;
+ height: 25px;
+}
+
+/*
+ * Some utility CSS classes for dialog authors.
+ */
+.cke_skin_kama .cke_dialog .cke_dark_background
+{
+ background-color: #eaead1;
+}
+
+.cke_skin_kama .cke_dialog .cke_hand
+{
+ cursor: pointer;
+}
+
+.cke_skin_kama .cke_dialog .cke_centered
+{
+ text-align: center;
+}
+
+.cke_skin_kama .cke_dialog a.cke_btn_reset
+{
+ float: right;
+ background-position: 0 -32px;
+ background-image: url(images/mini.gif);
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ border: 1px none;
+ font-size: 1px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog a.cke_btn_reset
+{
+ float: left;
+}
+
+.cke_skin_kama .cke_dialog a.cke_btn_locked,
+.cke_skin_kama .cke_dialog a.cke_btn_unlocked
+{
+ float: left;
+ background-position: 0 0;
+ background-image: url(images/mini.gif);
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ border: none 1px;
+ font-size: 1px;
+}
+
+.cke_skin_kama .cke_rtl .cke_dialog a.cke_btn_locked,
+.cke_skin_kama .cke_rtl .cke_dialog a.cke_btn_unlocked
+{
+ float: right;
+}
+
+.cke_skin_kama .cke_dialog a.cke_btn_unlocked
+{
+ background-position: 0 -16px;
+ background-image: url(images/mini.gif);
+}
+
+.cke_skin_kama .cke_dialog .cke_btn_over
+{
+ border: outset 1px;
+ cursor: pointer;
+}
+
+.cke_skin_kama .cke_dialog .ImagePreviewBox
+{
+ border : 2px ridge black;
+ overflow : scroll;
+ height : 160px;
+ width : 230px;
+ padding : 2px;
+ background-color : white;
+}
+
+.cke_skin_kama .cke_dialog .ImagePreviewBox table td {
+ white-space: normal;
+}
+
+/* Fix iframedialog's height doesn't stretch to 100% #4863.*/
+.cke_skin_kama .cke_browser_iequirks .cke_dialog_page_contents
+{
+ _position: absolute;
+}
+
+.cke_skin_kama .cke_dialog .ImagePreviewLoader
+{
+ position: absolute;
+ white-space : normal;
+ overflow : hidden;
+ height : 160px;
+ width : 230px;
+ margin : 2px;
+ padding : 2px;
+ opacity : 0.9;
+ filter : alpha(opacity=90);
+
+ background-color : #e4e4e4;
+}
+
+.cke_skin_kama .cke_dialog .FlashPreviewBox
+{
+ white-space : normal;
+ border : 2px ridge black;
+ overflow : auto;
+ height : 160px;
+ width : 390px;
+ padding : 2px;
+ background-color : white;
+}
+
+.cke_skin_kama .cke_dialog .cke_pastetext
+{
+ width: 346px;
+ height: 170px;
+}
+
+.cke_skin_kama .cke_dialog .cke_pastetext textarea
+{
+ width: 340px;
+ height: 170px;
+ resize: none;
+}
+
+.cke_skin_kama .cke_dialog iframe.cke_pasteframe
+{
+ width: 346px;
+ height: 130px;
+ background-color: white;
+ border: 1px solid black;
+}
+
+.cke_skin_kama .cke_dialog .cke_dark_background
+{
+ text-align : center;
+ background-color: #eaead1;
+ font-size : 14px;
+}
+
+.cke_skin_kama .cke_dialog .cke_light_background
+{
+ text-align : center;
+ background-color: #ffffbe;
+}
+
+.cke_skin_kama .cke_dialog .cke_hand
+{
+ cursor: pointer;
+}
+
+.cke_skin_kama .cke_disabled
+{
+ color: #a0a0a0;
+}
+
+/* High Contrast Mode */
+
+.cke_skin_kama .cke_hc .cke_dialog_title,
+.cke_skin_kama .cke_hc .cke_dialog_tabs,
+.cke_skin_kama .cke_hc .cke_dialog_contents,
+.cke_skin_kama .cke_hc .cke_dialog_footer
+{
+ border-left: 1px solid;
+ border-right: 1px solid;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_title
+{
+ border-top: 1px solid;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_footer
+{
+ border-bottom: 1px solid;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_close_button span
+{
+ display: inline;
+ cursor: pointer;
+ font-weight: bold;
+ position: relative;
+ top: 3px;
+}
+
+.cke_skin_kama .cke_dialog_body .cke_label
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_dialog_body label.cke_required
+{
+ font-weight: bold;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_body .cke_label
+{
+ display: inline;
+}
+
+.cke_skin_kama .cke_hc a.cke_btn_locked,
+.cke_skin_kama .cke_hc a.cke_btn_unlocked,
+.cke_skin_kama .cke_hc a.cke_btn_reset
+{
+ border-style: solid;
+ float: left;
+ width: auto;
+ height: auto;
+}
+
+.cke_skin_kama .cke_rtl.cke_hc a.cke_btn_locked,
+.cke_skin_kama .cke_rtl.cke_hc a.cke_btn_unlocked,
+.cke_skin_kama .cke_rtl.cke_hc a.cke_btn_reset
+{
+ float: right;
+}
+
+.cke_skin_kama a.cke_smile img
+{
+ /* IE6 does not support transparent borders */
+ border: 2px solid #eaead1;
+}
+
+.cke_skin_kama a.cke_smile:focus img,
+.cke_skin_kama a.cke_smile:active img,
+.cke_skin_kama a.cke_smile:hover img
+{
+ border-color: #C7C78F;
+}
+
+.cke_skin_kama .cke_hc .cke_dialog_tabs a,
+.cke_skin_kama .cke_hc .cke_dialog_footer a
+{
+ opacity: 1.0;
+ filter: alpha(opacity=100);
+ border: 1px solid white;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/editor.css b/devel/third-party/ckeditor/skins/kama/editor.css
new file mode 100644
index 0000000..5833a06
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/editor.css
@@ -0,0 +1,25 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at import url("reset.css");
+ at import url("mainui.css");
+ at import url("panel.css");
+ at import url("toolbar.css");
+ at import url("menu.css");
+ at import url("richcombo.css");
+ at import url("elementspath.css");
+ at import url("icons.css");
+ at import url("presets.css");
+
+/* Restore the container visibility */
+html .cke_skin_kama
+{
+ visibility: inherit;
+}
+
+html.cke_skin_kama_container
+{
+ visibility: visible;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/elementspath.css b/devel/third-party/ckeditor/skins/kama/elementspath.css
new file mode 100644
index 0000000..62f0d4c
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/elementspath.css
@@ -0,0 +1,73 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at media print
+{
+ .cke_path
+ {
+ display: none;
+ }
+}
+
+.cke_skin_kama .cke_path
+{
+ display: inline-block;
+ float: left;
+ margin-top: 5px;
+}
+
+.cke_skin_kama .cke_rtl .cke_path
+{
+ float: right;
+}
+
+.cke_shared .cke_skin_kama .cke_path
+{
+ _width: 100%;
+ margin: 0 0 5px;
+}
+
+.cke_skin_kama .cke_path a,
+.cke_skin_kama .cke_path .cke_empty
+{
+ display: inline-block;
+ float: left;
+ padding: 1px 4px 0;
+ color: #60676a;
+ cursor: default;
+}
+
+.cke_skin_kama .cke_path .cke_empty
+{
+ visibility: hidden;
+}
+
+.cke_skin_kama .cke_rtl .cke_path a,
+.cke_skin_kama .cke_rtl .cke_path cke_empty
+{
+ float: right;
+}
+
+.cke_skin_kama .cke_path a:hover,
+.cke_skin_kama .cke_path a:focus,
+.cke_skin_kama .cke_path a:active /* IE */
+{
+ background-color: #dff1ff;
+ padding: 1px 4px 0;
+ outline: none;
+ color : #000;
+}
+
+/* IE double float-right workaround */
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_path a,
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_path .cke_empty
+{
+ float: none;
+}
+
+.cke_skin_kama .cke_path .cke_label
+{
+ display: none;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/icons.css b/devel/third-party/ckeditor/skins/kama/icons.css
new file mode 100644
index 0000000..df03f98
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/icons.css
@@ -0,0 +1,357 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama .cke_button_source .cke_icon
+{
+ background-position: 0 0;
+}
+
+.cke_skin_kama .cke_button_newpage .cke_icon
+{
+ background-position: 0 -48px;
+}
+
+.cke_skin_kama .cke_button_preview .cke_icon
+{
+ background-position: 0 -64px;
+}
+
+.cke_skin_kama .cke_button_cut .cke_icon
+{
+ background-position: 0 -96px;
+}
+
+.cke_skin_kama .cke_button_copy .cke_icon
+{
+ background-position: 0 -112px;
+}
+
+.cke_skin_kama .cke_button_paste .cke_icon
+{
+ background-position: 0 -128px;
+}
+
+.cke_skin_kama .cke_button_pastetext .cke_icon
+{
+ background-position: 0 -144px;
+}
+
+.cke_skin_kama .cke_button_find .cke_icon
+{
+ background-position: 0 -240px;
+}
+
+.cke_skin_kama .cke_button_replace .cke_icon
+{
+ background-position: 0 -256px;
+}
+
+.cke_skin_kama .cke_button_selectAll .cke_icon
+{
+ background-position: 0 -272px;
+}
+
+.cke_skin_kama .cke_button_removeFormat .cke_icon
+{
+ background-position: 0 -288px;
+}
+
+.cke_skin_kama .cke_button_bold .cke_icon
+{
+ background-position: 0 -304px;
+}
+
+.cke_skin_kama .cke_button_italic .cke_icon
+{
+ background-position: 0 -320px;
+}
+
+.cke_skin_kama .cke_button_underline .cke_icon
+{
+ background-position: 0 -336px;
+}
+
+.cke_skin_kama .cke_button_strike .cke_icon
+{
+ background-position: 0 -352px;
+}
+
+.cke_skin_kama .cke_button_subscript .cke_icon
+{
+ background-position: 0 -368px;
+}
+
+.cke_skin_kama .cke_button_superscript .cke_icon
+{
+ background-position: 0 -384px;
+}
+
+.cke_skin_kama .cke_button_table .cke_icon
+{
+ background-position: 0 -608px;
+}
+
+.cke_skin_kama .cke_button_horizontalrule .cke_icon
+{
+ background-position: 0 -624px;
+}
+
+.cke_skin_kama .cke_button_smiley .cke_icon
+{
+ background-position: 0 -640px;
+}
+
+.cke_skin_kama .cke_button_link .cke_icon
+{
+ background-position: 0 -528px;
+}
+
+.cke_skin_kama .cke_button_unlink .cke_icon
+{
+ background-position: 0 -544px;
+}
+
+.cke_skin_kama .cke_button_anchor .cke_icon
+{
+ background-position: 0 -560px;
+}
+
+.cke_skin_kama .cke_button_image .cke_icon
+{
+ background-position: 0 -576px;
+}
+
+.cke_skin_kama .cke_button_flash .cke_icon
+{
+ background-position: 0 -592px;
+}
+
+.cke_skin_kama .cke_button_specialchar .cke_icon
+{
+ background-position: 0 -656px;
+}
+
+.cke_skin_kama .cke_button_pagebreak .cke_icon
+{
+ background-position: 0 -672px;
+}
+
+.cke_skin_kama .cke_button_print .cke_icon
+{
+ background-position: 0 -176px;
+}
+
+.cke_skin_kama .cke_button_checkspell .cke_icon,
+.cke_skin_kama .cke_button_scayt .cke_icon
+{
+ background-position: 0 -192px;
+}
+
+.cke_skin_kama .cke_button_pagebreak .cke_icon
+{
+ background-position: 0 -672px;
+}
+
+.cke_skin_kama .cke_button_textcolor .cke_icon
+{
+ background-position: 0 -704px;
+}
+
+.cke_skin_kama .cke_button_bgcolor .cke_icon
+{
+ background-position: 0 -720px;
+}
+
+.cke_skin_kama .cke_button_form .cke_icon
+{
+ background-position: 0 -752px;
+}
+
+.cke_skin_kama .cke_button_checkbox .cke_icon
+{
+ background-position: 0 -768px;
+}
+
+.cke_skin_kama .cke_button_radio .cke_icon
+{
+ background-position: 0 -784px;
+}
+
+.cke_skin_kama .cke_button_textfield .cke_icon
+{
+ background-position: 0 -800px;
+}
+
+.cke_skin_kama .cke_button_textarea .cke_icon
+{
+ background-position: 0 -816px;
+}
+.cke_skin_kama .cke_button_showblocks .cke_icon
+{
+ background-position: 0 -1136px;
+}
+
+.cke_skin_kama .cke_button_select .cke_icon
+{
+ background-position: 0 -832px;
+}
+
+.cke_skin_kama .cke_button_button .cke_icon
+{
+ background-position: 0 -848px;
+}
+
+.cke_skin_kama .cke_button_imagebutton .cke_icon
+{
+ background-position: 0 -864px;
+}
+
+.cke_skin_kama .cke_button_hiddenfield .cke_icon
+{
+ background-position: 0 -880px;
+}
+
+.cke_skin_kama .cke_button_undo .cke_icon
+{
+ background-position: 0 -208px;
+}
+
+.cke_skin_kama .cke_rtl .cke_button_undo .cke_icon
+{
+ background-position: 0 -224px;
+}
+
+.cke_skin_kama .cke_button_redo .cke_icon
+{
+ background-position: 0 -224px;
+}
+
+.cke_skin_kama .cke_rtl .cke_button_redo .cke_icon
+{
+ background-position: 0 -208px;
+}
+
+.cke_skin_kama .cke_button_templates .cke_icon
+{
+ background-position: 0 -80px;
+}
+
+.cke_skin_kama .cke_button_numberedlist .cke_icon
+{
+ background-position: 0 -400px;
+}
+
+.cke_skin_kama .cke_button_bulletedlist .cke_icon
+{
+ background-position: 0 -416px;
+}
+
+.cke_skin_kama .cke_mixed_dir_content .cke_button_numberedlist .cke_icon
+{
+ background-position: 0 -1217px;
+}
+
+.cke_skin_kama .cke_mixed_dir_content .cke_button_bulletedlist .cke_icon
+{
+ background-position: 0 -1233px;
+}
+
+.cke_skin_kama .cke_button_outdent .cke_icon
+{
+ background-position: 0 -432px;
+}
+
+.cke_skin_kama .cke_button_indent .cke_icon
+{
+ background-position: 0 -448px;
+}
+
+.cke_skin_kama .cke_mixed_dir_content .cke_button_indent .cke_icon
+{
+ background-position: 0 -1265px;
+}
+
+.cke_skin_kama .cke_mixed_dir_content .cke_button_outdent .cke_icon
+{
+ background-position: 0 -1249px;
+}
+
+.cke_skin_kama .cke_button_justifyleft .cke_icon
+{
+ background-position: 0 -464px;
+}
+
+.cke_skin_kama .cke_button_justifycenter .cke_icon
+{
+ background-position: 0 -480px;
+}
+
+.cke_skin_kama .cke_button_justifyright .cke_icon
+{
+ background-position: 0 -496px;
+}
+
+.cke_skin_kama .cke_button_justifyblock .cke_icon
+{
+ background-position: 0 -512px;
+}
+
+.cke_skin_kama .cke_button_blockquote .cke_icon
+{
+ background-position: 0 -1152px;
+}
+
+.cke_skin_kama .cke_button_creatediv .cke_icon
+{
+ background-position: 0 -1168px;
+}
+.cke_skin_kama .cke_button_editdiv .cke_icon
+{
+ background-position: 0 -1184px;
+}
+.cke_skin_kama .cke_button_removediv .cke_icon
+{
+ background-position: 0 -1200px;
+}
+
+.cke_skin_kama .cke_button_flash .cke_icon
+{
+ background-position: 0 -592px;
+}
+
+.cke_skin_kama .cke_button_pastefromword .cke_icon
+{
+ background-position: 0 -160px;
+}
+
+.cke_skin_kama .cke_button_save .cke_icon
+{
+ background-position: 0 -32px;
+}
+
+.cke_skin_kama .cke_button_about .cke_icon
+{
+ background-position: 0 -736px;
+}
+
+.cke_skin_kama .cke_button_maximize .cke_icon
+{
+ background-position: 0 -1040px;
+}
+
+.cke_skin_kama .cke_button_editdiv .cke_icon
+{
+ background-position: 0 -1184px;
+}
+
+.cke_skin_kama .cke_button_bidirtl .cke_icon
+{
+ background-position: 0 -1072px;
+}
+
+.cke_skin_kama .cke_button_bidiltr .cke_icon
+{
+ background-position: 0 -1056px;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/mainui.css b/devel/third-party/ckeditor/skins/kama/mainui.css
new file mode 100644
index 0000000..c614d9e
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/mainui.css
@@ -0,0 +1,195 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama
+{
+ display: block;
+}
+
+/* Main editor only settings. */
+span.cke_skin_kama
+{
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ border: 1px solid #D3D3D3;
+ padding: 5px;
+}
+
+.cke_skin_kama span.cke_browser_webkit,
+.cke_skin_kama span.cke_browser_gecko18
+{
+ display: block;
+}
+
+.cke_skin_kama .cke_wrapper
+{
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ background-color: #d3d3d3;
+ background-image: url(images/sprites.png);
+ background-repeat: repeat-x;
+ background-position: 0 -1950px;
+ display: block;
+ /* IE Quirks: editor chrome overflow horizontally without an explicit width. */
+ _display: inline-block;
+ padding: 5px;
+
+ /*background-color: Red;*/
+}
+
+.cke_shared .cke_skin_kama .cke_wrapper
+{
+ padding-bottom: 0;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_wrapper,
+.cke_skin_kama .cke_browser_iequirks .cke_wrapper
+{
+ background-image: none;
+}
+
+.cke_skin_kama .cke_editor
+{
+/*
+ border: solid 1px #dcdcdc;
+*/
+ display: inline-table;
+ width: 100%;
+}
+
+.cke_skin_kama .ltr .cke_browser_ie iframe
+{
+ margin-right: -10px;
+}
+
+.cke_skin_kama .rtl .cke_browser_ie iframe
+{
+ margin-left: -10px;
+}
+
+.cke_skin_kama .cke_browser_opera .cke_editor.cke_skin_kama .cke_resizer
+{
+ display: table;
+}
+
+.cke_skin_kama .cke_contents
+{
+ margin: 5px;
+}
+
+.cke_skin_kama .cke_hc .cke_contents
+{
+ border: 1px solid black;
+}
+
+.cke_skin_kama .cke_contents iframe
+{
+ background-color: #fff;
+}
+
+.cke_skin_kama .cke_focus
+{
+ outline: auto 5px -webkit-focus-ring-color;
+}
+
+.cke_skin_kama textarea.cke_source
+{
+ font-family: 'Courier New' , Monospace;
+ font-size: small;
+ background-color: #fff;
+ white-space: pre;
+}
+
+.cke_skin_kama .cke_browser_iequirks textarea.cke_source
+{
+ /* For IE6+Quirks only */
+ _white-space: normal;
+}
+
+.cke_skin_kama .cke_resizer
+{
+ width: 12px;
+ height: 12px;
+ margin-top: 9px;
+ display: block;
+ float: right;
+ /* resizer.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -1428px;
+ background-repeat: no-repeat;
+ cursor: se-resize;
+}
+
+.cke_skin_kama .cke_rtl .cke_resizer
+{
+ cursor: sw-resize;
+ /* resizer_rtl.gif*/
+ background-position: 0 -1455px;
+ float: left;
+}
+
+.cke_skin_kama .cke_resizer_horizontal,
+.cke_skin_kama .cke_rtl .cke_resizer_horizontal
+{
+ cursor: e-resize;
+}
+
+.cke_skin_kama .cke_resizer_vertical,
+.cke_skin_kama .cke_rtl .cke_resizer_vertical
+{
+ cursor: n-resize;
+}
+
+.cke_skin_kama .cke_maximized .cke_resizer
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_contents textarea,
+.cke_skin_kama .cke_browser_ie7 .cke_contents textarea
+{
+ position: absolute;
+}
+
+.cke_skin_kama .cke_browser_ie.cke_browser_quirks .cke_contents iframe
+{
+ position: absolute;
+ top: 0;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_editor,
+.cke_skin_kama .cke_browser_ie7 .cke_editor
+{
+ display: inline-block;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_editor,
+.cke_shared .cke_skin_kama .cke_browser_ie7 .cke_wrapper
+{
+ padding-bottom: 5px;
+}
+
+/* All voice labels are not displayed. */
+.cke_skin_kama .cke_voice_label
+{
+ display: none;
+}
+
+.cke_skin_kama legend.cke_voice_label
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_browser_ie legend.cke_voice_label
+{
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ overflow: hidden;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/menu.css b/devel/third-party/ckeditor/skins/kama/menu.css
new file mode 100644
index 0000000..1b2fa76
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/menu.css
@@ -0,0 +1,202 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama .cke_contextmenu
+{
+ padding: 2px;
+}
+
+.cke_skin_kama .cke_menuitem a
+{
+ display:block;
+}
+
+.cke_skin_kama .cke_menuitem span
+{
+ cursor: default;
+}
+
+.cke_skin_kama .cke_menuitem a:hover,
+.cke_skin_kama .cke_menuitem a:focus,
+.cke_skin_kama .cke_menuitem a:active
+{
+ background-color: #D3D3D3;
+ display:block;
+}
+
+.cke_hc .cke_menuitem a:hover,
+.cke_hc .cke_menuitem a:focus,
+.cke_hc .cke_menuitem a:active
+{
+ border: 2px solid;
+}
+
+.cke_skin_kama .cke_menuitem .cke_icon
+{
+ background-image: url(icons.png);
+ background-position: 100px;
+ background-repeat:no-repeat;
+ background-color: transparent;
+ width: 16px;
+ height: 16px;
+ float: left;
+}
+
+.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon
+{
+ background-image: url(icons_rtl.png);
+}
+
+.cke_skin_kama .cke_menuitem .cke_disabled .cke_icon
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_menuitem .cke_icon_wrapper
+{
+ background-color: #D3D3D3;
+ border: solid 4px #D3D3D3;
+ width: 16px;
+ height: 16px;
+ float: left;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ clear: both;
+}
+
+.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon_wrapper
+{
+ float: right;
+}
+
+.cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper
+{
+ background-color: #9d9d9d;
+ border: solid 4px #9d9d9d;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_menuitem a:hover.cke_disabled .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:focus.cke_disabled .cke_icon_wrapper,
+.cke_skin_kama .cke_menuitem a:active.cke_disabled .cke_icon_wrapper
+{
+ background-color: #D3D3D3;
+ border: solid 4px #D3D3D3;
+}
+
+.cke_skin_kama .cke_menuitem .cke_label
+{
+ display:block;
+ padding-right: 3px;
+ padding-top: 5px;
+ padding-left: 4px;
+ height:19px;
+ margin-left: 24px;
+ background-color: #fff;
+}
+/* Set these after the document has been loaded and we know the dimensions*/
+.cke_skin_kama .cke_frameLoaded .cke_menuitem .cke_label
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_kama .cke_menuitem .cke_label
+{
+ padding-right: 0;
+ margin-left: 0;
+ padding-left: 3px;
+ margin-right: 28px;
+}
+
+.cke_skin_kama .cke_menuitem a.cke_disabled .cke_label
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.30; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_menuitem a:hover .cke_label,
+.cke_skin_kama .cke_menuitem a:focus .cke_label,
+.cke_skin_kama .cke_menuitem a:active .cke_label
+{
+ background-color: #D3D3D3;
+}
+
+.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,
+.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,
+.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label
+{
+ background-color: transparent;
+}
+
+.cke_skin_kama .cke_menuseparator
+{
+ background-color: #D3D3D3;
+ height: 2px;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+
+ _font-size: 0;
+}
+
+.cke_skin_kama .cke_menuarrow
+{
+ /* arrowright.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -1411px;
+ background-repeat: no-repeat;
+ height: 5px;
+ width: 3px;
+ float: right;
+ margin-right: 2px;
+ margin-top: 3px;
+}
+
+.cke_rtl .cke_skin_kama .cke_menuarrow
+{
+ float: left;
+ margin-right: 0;
+ margin-left: 2px;
+ /* arrowleft.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0px -1390px;
+ background-repeat: no-repeat;
+}
+
+.cke_skin_kama .cke_menuarrow span
+{
+ display: none;
+}
+
+.cke_hc .cke_skin_kama .cke_menuarrow
+{
+ width: auto;
+ margin-top: 0;
+}
+
+.cke_hc .cke_skin_kama .cke_menuarrow span
+{
+ display: inline;
+}
+
+/* #3766 In the context menu, long labels with second level menu get wrapped */
+.cke_browser_ie.cke_ltr .cke_skin_kama .cke_menuarrow
+{
+ position: absolute;
+ right: 2px;
+}
+
+.cke_browser_ie.cke_rtl .cke_skin_kama .cke_menuarrow
+{
+ position: absolute;
+ left: 2px;
+}
+/* END #3766 */
diff --git a/devel/third-party/ckeditor/skins/kama/panel.css b/devel/third-party/ckeditor/skins/kama/panel.css
new file mode 100644
index 0000000..ccf9fcc
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/panel.css
@@ -0,0 +1,217 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_kama .cke_panel
+{
+ border: 1px solid #8f8f73;
+ background-color: #fff;
+
+ width: 120px;
+ height: 100px;
+
+ overflow: hidden;
+
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+}
+
+.cke_skin_kama .cke_contextmenu
+{
+ margin: 0;
+}
+
+/* Ideally we would use "inherit here"... but you know... IE :( */
+.cke_skin_kama .cke_panel iframe
+{
+ width: 100%;
+ height: 100%;
+}
+
+/*
+ * All the following styles are to be used inside the iframe that holds panel
+ * contents. We don't use the cke_skin_default there to avoid the reset to be
+ * active.
+ * This is not an issue as we'll never have two skins running inside the same
+ * panel iframe.
+ */
+
+html.cke_skin_kama_container
+{
+ overflow: auto;
+ overflow-x: hidden;
+}
+
+body.cke_panel_frame
+{
+ overflow: auto;
+}
+
+.cke_panel_frame .cke_label
+{
+ display: none;
+}
+
+ul.cke_panel_list
+{
+ list-style-type: none;
+ margin: 3px;
+ padding: 0px;
+ white-space: nowrap;
+}
+
+li.cke_panel_listItem
+{
+ margin: 0px;
+}
+
+.cke_panel_listItem a
+{
+ padding: 2px;
+ display: block;
+ border: 1px solid #fff;
+ color: inherit !important;
+ text-decoration: none;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+/* IE6 */
+* html .cke_panel_listItem a
+{
+ width : 100%;
+
+ /* IE is not able to inherit the color, so we must force it to black */
+ color: #000;
+}
+
+/* IE7 */
+*:first-child+html .cke_panel_listItem a
+{
+ /* IE is not able to inherit the color, so we must force it to black */
+ color: #000;
+}
+
+.cke_panel_listItem.cke_selected a
+{
+ border: 1px solid #ccc;
+ background-color: #e9f5ff;
+}
+
+.cke_panel_listItem a:hover,
+.cke_panel_listItem a:focus,
+.cke_panel_listItem a:active
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+}
+
+.cke_hc .cke_panel_listItem.cke_selected a,
+.cke_hc .cke_panel_listItem a:hover,
+.cke_hc .cke_panel_listItem a:focus,
+.cke_hc .cke_panel_listItem a:active
+{
+ border-width: 3px;
+ padding: 0px;
+}
+
+.cke_panel_grouptitle
+{
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+ font-weight: bold;
+ white-space: nowrap;
+ background-color: #dcdcdc;
+ color: #000;
+ margin:0px;
+ padding:3px;
+}
+
+.cke_panel_listItem p,
+.cke_panel_listItem h1,
+.cke_panel_listItem h2,
+.cke_panel_listItem h3,
+.cke_panel_listItem h4,
+.cke_panel_listItem h5,
+.cke_panel_listItem h6,
+.cke_panel_listItem pre
+{
+ margin-top: 3px;
+ margin-bottom: 3px;
+}
+
+.cke_skin_kama .cke_button_textcolor_panel,
+.cke_skin_kama .cke_button_bgcolor_panel
+{
+ width: 150px;
+ height: 135px;
+}
+
+.cke_colorblock
+{
+ padding: 3px;
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_colorblock,
+.cke_colorblock a
+{
+ text-decoration: none;
+ color: #000;
+}
+
+span.cke_colorbox
+{
+ width: 10px;
+ height: 10px;
+ border: #808080 1px solid;
+ float: left;
+}
+
+.cke_rtl span.cke_colorbox
+{
+ float: right;
+}
+
+a.cke_colorbox
+{
+ border: #fff 1px solid;
+ padding: 2px;
+ float: left;
+}
+
+.cke_rtl a.cke_colorbox
+{
+ float: right;
+}
+
+a:hover.cke_colorbox,
+a:focus.cke_colorbox,
+a:active.cke_colorbox
+{
+ border: #316ac5 1px solid;
+ background-color: #dff1ff;
+}
+
+a.cke_colorauto,
+a.cke_colormore
+{
+ border: #fff 1px solid;
+ padding: 2px;
+ display: block;
+ cursor: pointer;
+}
+
+a:hover.cke_colorauto,
+a:hover.cke_colormore,
+a:focus.cke_colorauto,
+a:focus.cke_colormore,
+a:active.cke_colorauto,
+a:active.cke_colormore
+{
+ border: #316ac5 1px solid;
+ background-color: #dff1ff;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/presets.css b/devel/third-party/ckeditor/skins/kama/presets.css
new file mode 100644
index 0000000..509a356
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/presets.css
@@ -0,0 +1,49 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* "Source" button label */
+.cke_skin_kama .cke_button_source .cke_label
+{
+ display: inline;
+}
+
+/* "Styles" panel size */
+.cke_skin_kama .cke_styles_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Format" panel size */
+.cke_skin_kama .cke_format_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Font" panel size */
+.cke_skin_kama .cke_font_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Font Size" panel size */
+.cke_skin_kama .cke_fontSize_panel
+{
+ height: 170px;
+}
+
+/* "Font Size" combo width */
+.cke_skin_kama .cke_fontSize .cke_text
+{
+ width: 25px;
+}
+
+/* "Font Size" combo width (IE Quirks) */
+.cke_skin_kama .cke_browser_iequirks .cke_fontSize .cke_text
+{
+ width: 32px;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/reset.css b/devel/third-party/ckeditor/skins/kama/reset.css
new file mode 100644
index 0000000..d1a78af
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/reset.css
@@ -0,0 +1,84 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Reset and Default Values
+ */
+.cke_skin_kama *,
+.cke_skin_kama a:hover,
+.cke_skin_kama a:link,
+.cke_skin_kama a:visited,
+.cke_skin_kama a:active
+{
+ margin: 0;
+ padding: 0;
+ border: 0;
+ background: transparent;
+ text-decoration: none;
+ font: normal normal normal 100% Sans-Serif;
+ width: auto;
+ height: auto;
+ border-collapse: collapse;
+ text-align: left;
+ vertical-align: baseline;
+ white-space: nowrap;
+ cursor: auto;
+ color: #000;
+
+ font-size: 12px;
+ font-family: Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
+}
+
+.cke_skin_kama .cke_rtl *,
+.cke_skin_kama .cke_rtl a:hover,
+.cke_skin_kama .cke_rtl a:link,
+.cke_skin_kama .cke_rtl a:visited,
+.cke_skin_kama .cke_rtl a:active,
+.cke_rtl .cke_skin_kama *,
+.cke_rtl .cke_skin_kama a:hover,
+.cke_rtl .cke_skin_kama a:link,
+.cke_rtl .cke_skin_kama a:visited,
+.cke_rtl .cke_skin_kama a:active
+{
+ text-align: right;
+}
+
+.cke_skin_kama iframe
+{
+ vertical-align: inherit; /** For IE */
+}
+
+.cke_skin_kama textarea
+{
+ white-space: pre;
+}
+
+.cke_skin_kama .cke_browser_gecko textarea
+{
+ cursor: text;
+}
+
+.cke_skin_kama .cke_browser_gecko textarea[disabled]
+{
+ cursor: default;
+}
+
+.cke_skin_kama input[type="text"],
+.cke_skin_kama input[type="password"]
+{
+ cursor: text;
+}
+
+.cke_skin_kama input[type="text"][disabled],
+.cke_skin_kama input[type="password"][disabled]
+{
+ cursor: default;
+}
+
+.cke_skin_kama fieldset
+{
+ padding: 10px;
+ border: 2px groove #E0DFE3;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/richcombo.css b/devel/third-party/ckeditor/skins/kama/richcombo.css
new file mode 100644
index 0000000..928b1f2
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/richcombo.css
@@ -0,0 +1,277 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Special Combo */
+
+.cke_skin_kama .cke_rcombo
+{
+ display: inline;
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo
+{
+}
+
+.cke_skin_kama .cke_rcombopanel
+{
+ border: 1px solid #8F8F73;
+ -moz-border-radius-topleft: 0;
+ -webkit-border-top-left-radius: 0;
+ border-top-left-radius: 0;
+ height: auto;
+ _height: 100px;
+}
+
+/* IE6 workaround, shouldn't be here */
+.cke_skin_kama .cke_browser_iequirks .cke_rcombopanel,
+.cke_skin_kama .cke_browser_ie6 .cke_rcombopanel
+{
+/* width: 150px;*/
+}
+
+.cke_skin_kama .cke_rcombo a,
+.cke_skin_kama .cke_rcombo a:active,
+.cke_skin_kama .cke_rcombo a:hover
+{
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: repeat-x;
+ background-position: 0 -100px;
+ border-bottom:1px solid #DAD9D9;
+ border-right:1px solid #DAD9D9;
+ float:left;
+ padding: 2px;
+ height: 21px;
+ margin-right: 6px;
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo a,
+.cke_skin_kama .cke_rtl .cke_rcombo a:active,
+.cke_skin_kama .cke_rtl .cke_rcombo a:hover
+{
+ float:right;
+ margin-right: 0;
+ margin-left: 6px;
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo a
+{
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1.0; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_rcombo .cke_label
+{
+ display: none;
+ line-height: 26px;
+ vertical-align: top;
+ margin-right: 5px;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ /* background-color: #f1f1e3; Because of IE6+ClearType */
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_label
+{
+ margin-right: 0;
+ margin-left: 5px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_inline_label
+{
+ line-height: 21px;
+ font-style: italic;
+ color: #666666;
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_openbutton
+{
+ vertical-align: top;
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_label
+{
+ filter: alpha(opacity=100);
+ opacity: 1.0;
+}
+
+.cke_skin_kama .cke_rcombo .cke_text
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+
+ height: 21px;
+ line-height: 21px;
+ width:60px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ display: inline-block;
+ margin: 0 2px 0 4px;
+ cursor: default;
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_text
+{
+ margin: 0 4px 0 2px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_openbutton
+{
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -68px;
+ background-repeat: no-repeat;
+ display: inline-block;
+ width: 17px;
+ height: 19px;
+ margin: 1px 2px;
+ background-repeat: no-repeat;
+}
+
+.cke_skin_kama .cke_rcombo .cke_openbutton span
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_openbutton span
+{
+ display : inline;
+}
+
+.cke_skin_kama .cke_browser_iequirks .cke_rcombo .cke_openbutton
+{
+ margin-bottom: 0;
+}
+
+.cke_skin_kama .cke_rcombo .cke_off a:hover .cke_text,
+.cke_skin_kama .cke_rcombo .cke_off a:focus .cke_text,
+.cke_skin_kama .cke_rcombo .cke_off a:active .cke_text,
+.cke_skin_kama .cke_rcombo .cke_on .cke_text
+{
+ border-color: #316ac5;
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_rcombo .cke_off a:hover .cke_openbutton,
+.cke_skin_kama .cke_rcombo .cke_off a:focus .cke_openbutton,
+.cke_skin_kama .cke_rcombo .cke_off a:active .cke_openbutton,
+.cke_skin_kama .cke_rcombo .cke_on .cke_openbutton
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+}
+
+.cke_skin_kama .cke_rcombo .cke_on .cke_text
+{
+ -moz-border-radius-bottomleft: 0px;
+ -webkit-border-bottom-left-radius: 0px;
+ border-bottom-left-radius: 0px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_on .cke_openbutton
+{
+ -moz-border-radius-bottomright: 0px;
+ -webkit-border-bottom-right-radius: 0px;
+ border-bottom-right-radius: 0px;
+}
+
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_label
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_label
+{
+ filter: alpha(opacity=70);
+ opacity: 0.7;
+}
+
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_openbutton
+{
+ filter: alpha(opacity=50); /* IE */
+ opacity: 0.5; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_kama .cke_hc .cke_rcombo .cke_disabled .cke_openbutton
+{
+ filter: alpha(opacity=80);
+ opacity: 0.8;
+}
+
+.cke_skin_kama .cke_rcombo .cke_disabled .cke_text
+{
+ color: #fff;
+}
+
+/* RTL */
+
+.cke_skin_kama .cke_rtl .cke_rcombo span
+{
+/* _zoom: 1;*/
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_text
+{
+/* _float: left;*/
+}
+
+/* Firefox 2 & WebKit Section */
+
+.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_openbutton,
+.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_openbutton
+{
+ display: block;
+ float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text
+{
+/* float: right;*/
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rcombo .cke_label,
+.cke_skin_kama .cke_browser_webkit .cke_rcombo .cke_label
+{
+ /*display: block;*/
+ float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_rcombo .cke_openbutton,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_rcombo .cke_openbutton
+{
+ float: right;
+}
+
+.cke_skin_kama .cke_browser_ie7 .cke_rcombo .cke_text
+{
+ line-height: 18px;
+}
+
+.cke_skin_kama .cke_browser_ie6 .cke_rcombo .cke_text,
+.cke_skin_kama .cke_browser_iequirks .cke_rcombo .cke_text
+{
+ height: auto;
+ line-height: 17px;
+}
+
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_font .cke_text,
+.cke_skin_kama .cke_rtl .cke_rcombo .cke_fontSize .cke_text
+{
+ direction: ltr;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/skin.js b/devel/third-party/ckeditor/skins/kama/skin.js
new file mode 100644
index 0000000..fe8923b
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/skin.js
@@ -0,0 +1,268 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.skins.add( 'kama', (function()
+{
+ var preload = [],
+ uiColorStylesheetId = 'cke_ui_color';
+
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+ {
+ // For IE6, we need to preload some images, otherwhise they will be
+ // downloaded several times (CSS background bug).
+ preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' );
+ }
+
+ return {
+ preload : preload,
+ editor : { css : [ 'editor.css' ] },
+ dialog : { css : [ 'dialog.css' ] },
+ templates : { css : [ 'templates.css' ] },
+ margins : [ 0, 0, 0, 0 ],
+ init : function( editor )
+ {
+ if ( editor.config.width && !isNaN( editor.config.width ) )
+ editor.config.width -= 12;
+
+ var uiColorMenus = [];
+ var uiColorRegex = /\$color/g;
+ var uiColorMenuCss = "/* UI Color Support */\
+.cke_skin_kama .cke_menuitem .cke_icon_wrapper\
+{\
+ background-color: $color !important;\
+ border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a:hover .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a:focus .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a:active .cke_icon_wrapper\
+{\
+ background-color: $color !important;\
+ border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a:hover .cke_label,\
+.cke_skin_kama .cke_menuitem a:focus .cke_label,\
+.cke_skin_kama .cke_menuitem a:active .cke_label\
+{\
+ background-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_label,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_label,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_label\
+{\
+ background-color: transparent !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a.cke_disabled:hover .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:focus .cke_icon_wrapper,\
+.cke_skin_kama .cke_menuitem a.cke_disabled:active .cke_icon_wrapper\
+{\
+ background-color: $color !important;\
+ border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a.cke_disabled .cke_icon_wrapper\
+{\
+ background-color: $color !important;\
+ border-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuseparator\
+{\
+ background-color: $color !important;\
+}\
+\
+.cke_skin_kama .cke_menuitem a:hover,\
+.cke_skin_kama .cke_menuitem a:focus,\
+.cke_skin_kama .cke_menuitem a:active\
+{\
+ background-color: $color !important;\
+}";
+ // We have to split CSS declarations for webkit.
+ if ( CKEDITOR.env.webkit )
+ {
+ uiColorMenuCss = uiColorMenuCss.split( '}' ).slice( 0, -1 );
+ for ( var i = 0 ; i < uiColorMenuCss.length ; i++ )
+ uiColorMenuCss[ i ] = uiColorMenuCss[ i ].split( '{' );
+ }
+
+ function getStylesheet( document )
+ {
+ var node = document.getById( uiColorStylesheetId );
+ if ( !node )
+ {
+ node = document.getHead().append( 'style' );
+ node.setAttribute( "id", uiColorStylesheetId );
+ node.setAttribute( "type", "text/css" );
+ }
+ return node;
+ }
+
+ function updateStylesheets( styleNodes, styleContent, replace )
+ {
+ var r, i, content;
+ for ( var id = 0 ; id < styleNodes.length ; id++ )
+ {
+ if ( CKEDITOR.env.webkit )
+ {
+ for ( i = 0 ; i < styleContent.length ; i++ )
+ {
+ content = styleContent[ i ][ 1 ];
+ for ( r = 0 ; r < replace.length ; r++ )
+ content = content.replace( replace[ r ][ 0 ], replace[ r ][ 1 ] );
+
+ styleNodes[ id ].$.sheet.addRule( styleContent[ i ][ 0 ], content );
+ }
+ }
+ else
+ {
+ content = styleContent;
+ for ( r = 0 ; r < replace.length ; r++ )
+ content = content.replace( replace[ r ][ 0 ], replace[ r ][ 1 ] );
+
+ if ( CKEDITOR.env.ie )
+ styleNodes[ id ].$.styleSheet.cssText += content;
+ else
+ styleNodes[ id ].$.innerHTML += content;
+ }
+ }
+ }
+
+ var uiColorRegexp = /\$color/g;
+
+ CKEDITOR.tools.extend( editor,
+ {
+ uiColor: null,
+
+ getUiColor : function()
+ {
+ return this.uiColor;
+ },
+
+ setUiColor : function( color )
+ {
+ var cssContent,
+ uiStyle = getStylesheet( CKEDITOR.document ),
+ cssId = '.cke_editor_' + CKEDITOR.tools.escapeCssSelector( editor.name );
+
+ var cssSelectors =
+ [
+ cssId + " .cke_wrapper",
+ cssId + "_dialog .cke_dialog_contents",
+ cssId + "_dialog a.cke_dialog_tab",
+ cssId + "_dialog .cke_dialog_footer"
+ ].join( ',' );
+ var cssProperties = "background-color: $color !important;";
+
+ if ( CKEDITOR.env.webkit )
+ cssContent = [ [ cssSelectors, cssProperties ] ];
+ else
+ cssContent = cssSelectors + '{' + cssProperties + '}';
+
+ return ( this.setUiColor =
+ function( color )
+ {
+ var replace = [ [ uiColorRegexp, color ] ];
+ editor.uiColor = color;
+
+ // Update general style.
+ updateStylesheets( [ uiStyle ], cssContent, replace );
+
+ // Update menu styles.
+ updateStylesheets( uiColorMenus, uiColorMenuCss, replace );
+ })( color );
+ }
+ });
+
+ editor.on( 'menuShow', function( event )
+ {
+ var panel = event.data[ 0 ];
+ var iframe = panel.element.getElementsByTag( 'iframe' ).getItem( 0 ).getFrameDocument();
+
+ // Add stylesheet if missing.
+ if ( !iframe.getById( 'cke_ui_color' ) )
+ {
+ var node = getStylesheet( iframe );
+ uiColorMenus.push( node );
+
+ var color = editor.getUiColor();
+ // Set uiColor for new menu.
+ if ( color )
+ updateStylesheets( [ node ], uiColorMenuCss, [ [ uiColorRegexp, color ] ] );
+ }
+ });
+
+ // Apply UI color if specified in config.
+ if ( editor.config.uiColor )
+ editor.setUiColor( editor.config.uiColor );
+ }
+ };
+})() );
+
+(function()
+{
+ CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup );
+
+ function dialogSetup()
+ {
+ CKEDITOR.dialog.on( 'resize', function( evt )
+ {
+ var data = evt.data,
+ width = data.width,
+ height = data.height,
+ dialog = data.dialog,
+ contents = dialog.parts.contents;
+
+ if ( data.skin != 'kama' )
+ return;
+
+ contents.setStyles(
+ {
+ width : width + 'px',
+ height : height + 'px'
+ });
+
+ // Fix the size of the elements which have flexible lengths.
+ setTimeout( function()
+ {
+ var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),
+ body = innerDialog.getChild( 0 );
+
+ // tc
+ var el = innerDialog.getChild( 2 );
+ el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' );
+
+ // bc
+ el = innerDialog.getChild( 7 );
+ el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' );
+
+ // ml
+ el = innerDialog.getChild( 4 );
+ el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+
+ // mr
+ el = innerDialog.getChild( 5 );
+ el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+ },
+ 100 );
+ });
+ }
+})();
+
+/**
+ * The base user interface color to be used by the editor. Not all skins are
+ * compatible with this setting.
+ * @name CKEDITOR.config.uiColor
+ * @type String
+ * @default '' (empty)
+ * @example
+ * // Using a color code.
+ * config.uiColor = '#AADC6E';
+ * @example
+ * // Using an HTML color name.
+ * config.uiColor = 'Gold';
+ */
diff --git a/devel/third-party/ckeditor/skins/kama/templates.css b/devel/third-party/ckeditor/skins/kama/templates.css
new file mode 100644
index 0000000..78f7b49
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/templates.css
@@ -0,0 +1,88 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Styles for the "templates" plugin.
+ */
+
+.cke_skin_kama .cke_tpl_list
+{
+ border: #dcdcdc 2px solid;
+ background-color: #ffffff;
+ overflow-y: auto;
+ overflow-x: hidden;
+ width: 100%;
+ height: 220px;
+}
+
+.cke_skin_kama .cke_tpl_item
+{
+ margin: 5px;
+ padding: 7px;
+ border: #eeeeee 1px solid;
+ *width: 88%;
+}
+
+.cke_skin_kama .cke_tpl_preview
+{
+ border-collapse: separate;
+ text-indent:0;
+ width: 100%;
+}
+.cke_skin_kama .cke_tpl_preview td
+{
+ padding: 2px;
+ vertical-align: middle;
+}
+.cke_skin_kama .cke_tpl_preview .cke_tpl_preview_img
+{
+ width: 100px;
+}
+.cke_skin_kama .cke_tpl_preview span
+{
+ white-space: normal;
+}
+
+.cke_skin_kama .cke_tpl_title
+{
+ font-weight: bold;
+}
+
+.cke_skin_kama .cke_tpl_list a:active .cke_tpl_item,
+.cke_skin_kama .cke_tpl_list a:hover .cke_tpl_item,
+.cke_skin_kama .cke_tpl_list a:focus .cke_tpl_item
+{
+ border: #ff9933 1px solid;
+ background-color: #fffacd;
+}
+
+.cke_skin_kama .cke_tpl_list a:active *,
+.cke_skin_kama .cke_tpl_list a:hover *,
+.cke_skin_kama .cke_tpl_list a:focus *
+{
+ cursor: pointer;
+}
+
+/* IE6 contextual selectors childs won't get :hover transition until,
+ the hover style of the link itself contains certain CSS declarations.*/
+.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:active,
+.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:hover,
+.cke_skin_kama .cke_browser_ie6 .cke_tpl_list a:focus
+{
+ background-position: 0 0;
+}
+
+.cke_skin_kama .cke_hc .cke_tpl_list a:active .cke_tpl_item,
+.cke_skin_kama .cke_hc .cke_tpl_list a:hover .cke_tpl_item,
+.cke_skin_kama .cke_hc .cke_tpl_list a:focus .cke_tpl_item
+{
+ border-width: 3px;
+}
+
+.cke_skin_kama .cke_tpl_empty, .cke_tpl_loading
+{
+ text-align: center;
+ padding: 5px;
+}
diff --git a/devel/third-party/ckeditor/skins/kama/toolbar.css b/devel/third-party/ckeditor/skins/kama/toolbar.css
new file mode 100644
index 0000000..a09edc9
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/kama/toolbar.css
@@ -0,0 +1,409 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at media print
+{
+ /* For printing, we simply hide the toolbar */
+
+ .cke_skin_kama .cke_toolbox
+ {
+ display: none;
+ }
+}
+
+.cke_skin_kama .cke_browser_webkit .cke_toolbox,
+.cke_skin_kama .cke_browser_webkit .cke_toolbox > span
+{
+ white-space: normal;
+}
+
+.cke_skin_kama .cke_toolbox
+{
+ clear: both;
+ /* Define the padding-bottom otherwise the collapser button will not be clickable #4932*/
+ padding-bottom: 1px;
+}
+
+.cke_skin_kama a.cke_toolbox_collapser,
+.cke_skin_kama a:hover.cke_toolbox_collapser
+{
+ /* arrowtop.gif */
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 3px -1366px; /* +3px +4px */
+ background-repeat: no-repeat;
+ width: 11px;
+ height: 11px;
+ float: right;
+ border: 1px outset #D3D3D3;
+ margin: 11px 0 2px;
+ cursor: pointer;
+}
+
+.cke_skin_kama .cke_rtl a.cke_toolbox_collapser,
+.cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser
+{
+ float: left;
+}
+
+.cke_skin_kama a.cke_toolbox_collapser span
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_hc a.cke_toolbox_collapser span
+{
+ font-size: 10px;
+ font-weight: bold;
+ font-family: Arial;
+ display: inline;
+}
+
+.cke_skin_kama a.cke_toolbox_collapser_min,
+.cke_skin_kama a:hover.cke_toolbox_collapser_min
+{
+ /* arrowleft.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 4px -1387px; /* +4px +3px */
+ background-repeat: no-repeat;
+ margin: 2px 4px;
+}
+
+.cke_skin_kama .cke_rtl a.cke_toolbox_collapser_min,
+.cke_skin_kama .cke_rtl a:hover.cke_toolbox_collapser_min
+{
+ /* arrowright.gif*/
+ background-position: 4px -1408px; /* +2px +3px */
+}
+
+.cke_skin_kama .cke_toolbar
+{
+ display: inline;
+}
+
+.cke_skin_kama .cke_separator
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_break
+{
+ font-size: 0;
+ clear: left;
+}
+
+.cke_skin_kama .cke_rtl .cke_break
+{
+ clear: right;
+}
+
+.cke_skin_kama .cke_toolbar_start
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_toolgroup
+{
+ -moz-border-radius:5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: repeat-x;
+ background-position: 0 -500px;
+ float: left;
+ margin-right: 6px;
+ margin-bottom: 5px;
+ padding: 2px;
+ display: inline;
+}
+
+.cke_skin_kama .cke_rtl .cke_toolgroup
+{
+ float: right;
+ margin-right: 0;
+ margin-left: 6px;
+}
+
+.cke_skin_kama .cke_toolgroup
+{
+ display: block;
+ height: 22px;
+}
+
+.cke_skin_kama .cke_button a,
+.cke_skin_kama .cke_button a:hover,
+.cke_skin_kama .cke_button a:focus,
+.cke_skin_kama .cke_button a:active,
+.cke_skin_kama .cke_button a.cke_off
+{
+ border-radius: 3px;
+ outline: none;
+ padding: 2px 4px;
+ height: 18px;
+ display: inline-block;
+ cursor: default;
+}
+
+.cke_skin_kama .cke_button a,
+.cke_skin_kama .cke_button a.cke_off
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+}
+
+.cke_skin_kama .cke_hc .cke_button a,
+.cke_skin_kama .cke_hc .cke_button a.cke_off
+{
+ opacity: 1.0;
+ filter: alpha(opacity=100);
+ border: 1px solid white;
+}
+
+.cke_skin_kama .cke_button a.cke_on
+{
+ background-color: #a3d7ff;
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+ padding: 2px 4px;
+}
+
+.cke_skin_kama .cke_hc .cke_button a.cke_on
+{
+ padding: 0 2px !important;
+ border-width: 3px;
+}
+
+.cke_skin_kama .cke_button a.cke_disabled *,
+.cke_skin_kama .cke_browser_ie a:hover.cke_button .cke_disabled *
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_kama .cke_hc .cke_button a.cke_disabled *,
+.cke_skin_kama .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled *
+{
+ filter: alpha(opacity=60);
+ opacity: 0.6;
+}
+
+.cke_skin_kama .cke_button a:hover.cke_on,
+.cke_skin_kama .cke_button a:focus.cke_on,
+.cke_skin_kama .cke_button a:active.cke_on, /* IE */
+.cke_skin_kama .cke_button a:hover.cke_off,
+.cke_skin_kama .cke_button a:focus.cke_off,
+.cke_skin_kama .cke_button a:active.cke_off /* IE */
+{
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+ padding: 2px 4px;
+}
+
+.cke_skin_kama .cke_button a:hover,
+.cke_skin_kama .cke_button a:focus,
+.cke_skin_kama .cke_button a:active /* IE */
+{
+ background-color: #dff1ff;
+}
+
+.cke_skin_kama .cke_button a:hover.cke_on,
+.cke_skin_kama .cke_button a:focus.cke_on,
+.cke_skin_kama .cke_button a:active.cke_on /* IE */
+{
+ background-color: #86caff;
+}
+
+.cke_skin_kama .cke_hc .cke_button a:hover,
+.cke_skin_kama .cke_hc .cke_button a:focus,
+.cke_skin_kama .cke_hc .cke_button a:active /* IE */
+{
+ padding: 0 2px !important;
+ border-width: 3px;
+}
+
+.cke_skin_kama .cke_button .cke_icon
+{
+ background-image: url(icons.png);
+ background-position: 100px;
+ background-repeat: no-repeat;
+ margin-top: 1px;
+ width: 16px;
+ height: 16px;
+ display: inline-block;
+ float: left;
+ cursor: default;
+}
+
+.cke_skin_kama .cke_rtl .cke_button .cke_icon
+{
+ background-image: url(icons_rtl.png);
+}
+
+.cke_skin_kama .cke_rtl .cke_button .cke_icon
+{
+ float: right;
+}
+
+.cke_skin_kama .cke_button .cke_label
+{
+ cursor: default;
+ display: none;
+ padding-left: 3px;
+ line-height: 18px;
+ vertical-align: middle;
+ float: left;
+}
+
+.cke_skin_kama .cke_rtl .cke_button .cke_label
+{
+ padding-left: 0;
+ padding-right: 3px;
+ float: right;
+}
+
+.cke_skin_kama .cke_hc .cke_button .cke_label
+{
+ padding: 0;
+ display: inline-block;
+}
+
+.cke_skin_kama .cke_hc .cke_button .cke_icon
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_accessibility
+{
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ overflow: hidden;
+}
+
+.cke_skin_kama .cke_button .cke_buttonarrow
+{
+ display: inline-block;
+ height: 17px;
+ width: 8px;
+ background-position: 2px -1469px; /* (+2, -5) */
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: no-repeat;
+ float: left;
+ cursor: default;
+}
+
+.cke_skin_kama .cke_rtl .cke_button .cke_buttonarrow
+{
+ background-position: 0 -1469px; /* (0, -5) */
+ float: right;
+}
+
+/*** Firefox 2 ***/
+
+.cke_skin_kama .cke_browser_gecko .cke_toolbar,
+.cke_skin_kama .cke_browser_gecko .cke_button a,
+.cke_skin_kama .cke_browser_gecko .cke_button a.cke_off,
+.cke_skin_kama .cke_browser_gecko .cke_button .cke_icon,
+.cke_skin_kama .cke_browser_gecko .cke_button .cke_buttonarrow,
+.cke_skin_kama .cke_browser_gecko .cke_separator,
+.cke_skin_kama .cke_browser_gecko .cke_toolbar_start
+{
+ display: block;
+ float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko.cke_hc .cke_button .cke_icon
+{
+ display: none;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button a,
+.cke_skin_kama .cke_browser_gecko .cke_rtl.cke_button a.cke_off,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_icon,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_buttonarrow,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_toolbar_start
+{
+ float: right;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_button .cke_label,
+.cke_skin_kama .cke_browser_gecko .cke_break
+{
+ float: left;
+}
+
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_button .cke_label,
+.cke_skin_kama .cke_browser_gecko .cke_rtl .cke_break
+{
+ float: right;
+}
+
+/*** IE ***/
+
+/* The biggest problem with IE is the RTL support (and float:right). It's
+ totally broken, and quite delicate. IE8 fixed these issues. */
+
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_icon,
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_label,
+.cke_skin_kama .cke_browser_ie .cke_rtl .cke_button .cke_buttonarrow
+{
+ float: none;
+}
+
+/*** WebKit ***/
+
+/* We have originally used display:inline-block+float for cke_toolbar and it
+ worked well in all browsers, except IE+RTL. We had to change it to inline
+ and remove the float. This change didn't play well with Safari. */
+
+.cke_skin_kama .cke_browser_webkit .cke_toolbar
+{
+ float: left;
+}
+
+.cke_skin_kama .cke_browser_webkit .cke_rtl .cke_toolbar
+{
+ float: right;
+}
+
+/*** Mixed Fixes ***/
+
+.cke_skin_kama .cke_browser_ie8 .cke_button .cke_label,
+.cke_skin_kama .cke_browser_opera .cke_button .cke_label,
+.cke_skin_kama .cke_browser_webkit .cke_button .cke_label
+{
+ line-height: 20px;
+}
+
+.cke_skin_kama .cke_browser_opera.cke_browser_quirks .cke_button .cke_label,
+.cke_skin_kama .cke_browser_iequirks .cke_button .cke_label
+{
+ line-height: 17px;
+}
+
+/* Fix cursor shape consistency on toolbar combos (#4031) */
+.cke_skin_kama .cke_browser_ie .cke_rcombo,
+.cke_skin_kama .cke_browser_ie .cke_rcombo *
+{
+ cursor: default;
+}
+
+.cke_skin_kama .cke_browser_ie .cke_toolbox
+{
+ padding-bottom: 5px;
+ _padding-bottom: 6px;
+}
+
+.cke_shared .cke_skin_kama .cke_browser_ie .cke_toolbox
+{
+ padding-bottom: 0;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/dialog.css b/devel/third-party/ckeditor/skins/office2003/dialog.css
new file mode 100644
index 0000000..05dc4a4
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/dialog.css
@@ -0,0 +1,765 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Restore the dialog visibility */
+body .cke_dialog
+{
+ visibility: visible;
+}
+
+/* Force Gecko to consider table as positioned */
+.cke_skin_office2003 table.cke_dialog.cke_browser_gecko
+{
+ display:block;
+}
+
+.cke_skin_office2003 .cke_dialog_body
+{
+ margin-left: 16px;
+ margin-right: 16px;
+ margin-top: 2px;
+ margin-bottom: 20px;
+ z-index: 1;
+
+ /* 'cke_dialog' element has been fixed positioned in all but IE6, while we
+ need it to be positioned to hold e.g. close button. */
+ position: relative;
+ _position: static;
+}
+
+.cke_skin_office2003 .cke_dialog_tl,
+.cke_skin_office2003 .cke_dialog_tr,
+.cke_skin_office2003 .cke_dialog_tc,
+.cke_skin_office2003 .cke_dialog_bl,
+.cke_skin_office2003 .cke_dialog_br,
+.cke_skin_office2003 .cke_dialog_bc
+{
+ background-image: url(images/sprites.png);
+ background-repeat: no-repeat;
+ position: absolute;
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/sprites_ie6.png);
+ /* Dialog corner parts require a negative z-index to avoid covering dialog body. (#4954) */
+ _z-index: -1;
+}
+
+.cke_skin_office2003 .cke_dialog_tl
+{
+ background-position: -16px -16px;
+ height: 16px;
+ width: 16px;
+ top: 0;
+ left: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_tl
+{
+ background-position: -16px -397px;
+}
+
+.cke_skin_office2003 .cke_dialog_tr
+{
+ background-position: -16px -76px;
+ height: 16px;
+ width: 16px;
+ top: 0;
+ right: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_tr
+{
+ background-position: -16px -457px;
+}
+
+.cke_skin_office2003 .cke_dialog_tc
+{
+ background-position: 0 -136px;
+ background-repeat: repeat-x;
+ height: 16px;
+ top: 0;
+ left: 16px;
+ right: 16px;
+}
+
+.cke_skin_office2003 .cke_dialog_bl
+{
+ background-position: -16px -196px;
+ height: 51px;
+ width: 30px;
+ bottom: 0;
+ left: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_bl
+{
+ background-position: -16px -517px;
+}
+
+.cke_skin_office2003 .cke_dialog_br
+{
+ background-position: -16px -263px;
+ height: 51px;
+ width: 30px;
+ bottom: 0;
+ right: 0;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_br
+{
+ background-position: -16px -584px;
+}
+
+.cke_skin_office2003 .cke_dialog_bc
+{
+ background-position: 0 -330px;
+ background-repeat: repeat-x;
+ height: 51px;
+ bottom: 0;
+ left: 30px;
+ right: 30px;
+}
+
+.cke_skin_office2003 .cke_dialog_ml,
+.cke_skin_office2003 .cke_dialog_mr
+{
+ background-image: url(images/dialog_sides.png);
+ background-repeat: repeat-y;
+ position: absolute;
+ width: 16px;
+ top: 16px;
+ bottom: 51px;
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/dialog_sides.gif);
+
+ /* IE quirks gets confused when we have both top and bottom. */
+ _top: auto;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_ml,
+.cke_skin_office2003 .cke_rtl .cke_dialog_mr
+{
+ background-image: url(images/dialog_sides_rtl.png);
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/dialog_sides.gif);
+}
+
+.cke_skin_office2003 .cke_dialog_ml
+{
+ background-position: 0 0;
+ left: 0;
+}
+
+.cke_skin_office2003 .cke_dialog_mr
+{
+ background-position: -16px 0;
+ right: 0;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks .cke_dialog_ml,
+.cke_skin_office2003 .cke_browser_iequirks .cke_dialog_mr
+{
+ margin-top: 3px;
+}
+
+.cke_skin_office2003 .cke_dialog_title
+{
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -678px;
+ background-repeat: repeat-x;
+ font-weight: bold;
+ font-size: 14pt;
+ color: #0E3460;
+ background-color: #8db1ff;
+ padding: 3px 10px 26px 10px;
+ cursor: move;
+ position: relative;
+}
+
+.cke_skin_office2003 .cke_browser_ie.cke_rtl .cke_dialog_title
+{
+ position: static !important;
+ unicode-bidi: bidi-override;
+}
+
+.cke_skin_office2003 .cke_dialog_contents
+{
+ background-color: #f7f8fd;
+ border: #2b66c9 1px solid;
+ overflow: auto;
+ padding: 5px 10px;
+}
+
+.cke_skin_office2003 .cke_dialog_footer
+{
+ background-color: #8db1ff;
+ text-align: right;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_footer
+{
+ text-align: left;
+}
+
+/* tabs */
+
+.cke_skin_office2003 .cke_dialog_tabs
+{
+ height: 23px;
+ background-color: #8db1ff;
+ display: inline-block;
+ margin-left:10px;
+ margin-right:10px;
+ margin-top:-23px;
+ position: absolute;
+ z-index: 2;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_tabs
+{
+ right: 10px;
+}
+
+.cke_skin_office2003 a.cke_dialog_tab,
+.cke_skin_office2003 a:link.cke_dialog_tab,
+.cke_skin_office2003 a:active.cke_dialog_tab,
+.cke_skin_office2003 a:hover.cke_dialog_tab,
+.cke_skin_office2003 a:visited.cke_dialog_tab
+{
+ color: #0E3460;
+ border-left: 1px solid #2b66c9;
+ border-right: 1px solid #2b66c9;
+ border-top: 1px solid #2b66c9;
+ height: 14px;
+ padding: 4px 5px;
+ display: inline-block;
+ cursor: pointer;
+}
+
+/* Gecko 1.8 layout workaround. */
+.cke_skin_office2003 .cke_browser_gecko18 a.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:link.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:active.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:hover.cke_dialog_tab,
+.cke_skin_office2003 .cke_browser_gecko18 a:visited.cke_dialog_tab
+{
+ display: inline;
+ position: relative;
+ top: 6px;
+}
+
+.cke_skin_office2003 a:hover.cke_dialog_tab
+{
+ background-color: #f7f8fd;
+}
+.cke_skin_office2003 .cke_hc a:hover.cke_dialog_tab
+{
+ padding: 2px 3px !important;
+ border-width: 3px;
+}
+
+.cke_skin_office2003 a.cke_dialog_tab_selected,
+.cke_skin_office2003 a:link.cke_dialog_tab_selected,
+.cke_skin_office2003 a:active.cke_dialog_tab_selected,
+.cke_skin_office2003 a:hover.cke_dialog_tab_selected,
+.cke_skin_office2003 a:visited.cke_dialog_tab_selected
+{
+ border-bottom: 1px solid #f7f8fd;
+ background-color: #f7f8fd;
+ font-weight: bold;
+ cursor: default;
+}
+.cke_skin_office2003 .cke_hc a.cke_dialog_tab_selected,
+.cke_skin_office2003 .cke_hc a:link.cke_dialog_tab_selected,
+.cke_skin_office2003 .cke_hc a:active.cke_dialog_tab_selected,
+.cke_skin_office2003 .cke_hc a:hover.cke_dialog_tab_selected,
+.cke_skin_office2003 .cke_hc a:visited.cke_dialog_tab_selected
+{
+ padding: 2px 3px !important;
+ border-width: 3px;
+}
+
+/* single_page */
+
+.cke_skin_office2003 .cke_single_page .cke_dialog_tabs
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_tabs a,
+.cke_skin_office2003 .cke_hc .cke_dialog_footer a
+{
+ opacity: 1.0;
+ filter: alpha(opacity=100);
+ border: 1px solid white;
+}
+
+.cke_skin_office2003 .cke_single_page .cke_dialog_title
+{
+ padding-bottom: 3px;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_vbox table,
+.cke_skin_office2003 .cke_dialog_ui_hbox table
+{
+ margin: auto;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_vbox_child
+{
+ padding: 5px 0px;
+}
+
+.cke_skin_office2003 input.cke_dialog_ui_input_text,
+.cke_skin_office2003 input.cke_dialog_ui_input_password
+{
+ background-color: white;
+ border: none;
+ padding: 0px;
+ width: 100%;
+ height: 14px;
+}
+
+.cke_skin_office2003 div.cke_dialog_ui_input_text,
+.cke_skin_office2003 div.cke_dialog_ui_input_password
+{
+ background-color: white;
+ border: 1px solid #a0a0a0;
+ padding: 1px 0px;
+}
+
+.cke_skin_office2003 .cke_browser_ie.cke_rtl div.cke_dialog_ui_input_text {
+ padding-right: 1px;
+}
+
+.cke_skin_office2003 .cke_browser_gecko.cke_hc div.cke_dialog_ui_input_text,
+.cke_skin_office2003 .cke_browser_gecko.cke_hc div.cke_dialog_ui_input_password
+{
+ border-width: 0px;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18.cke_hc div.cke_dialog_ui_input_text,
+.cke_skin_office2003 .cke_browser_gecko18.cke_hc div.cke_dialog_ui_input_password
+{
+ border-width: 1px;
+}
+
+.cke_skin_office2003 textarea.cke_dialog_ui_input_textarea
+{
+ background-color: white;
+ border: none;
+ padding: 0px;
+ width: 100%;
+ /*
+ * IE6 BUG: Scrollbars in textareas can overflow even if the outer DIV is set to overflow:hidden.
+ * So leave 1% width for the scrollbar. In most situations the 1% isn't noticeable by users.
+ */
+ _width: 99%;
+ overflow: auto;
+ resize: none;
+}
+
+.cke_skin_office2003 div.cke_dialog_ui_input_textarea
+{
+ background-color: white;
+ border: 1px solid #a0a0a0;
+ padding: 1px 0px;
+}
+
+.cke_skin_office2003 div.cke_disabled .cke_dialog_ui_labeled_content *
+{
+ background-color : #a0a0a0;
+ cursor : default;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_hbox
+{
+ width: 100%;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_hbox_first,
+.cke_skin_office2003 .cke_dialog_ui_hbox_child,
+.cke_skin_office2003 .cke_dialog_ui_hbox_last
+{
+ vertical-align: top;
+}
+
+.cke_skin_office2003 .cke_ltr .cke_dialog_ui_hbox_first,
+.cke_skin_office2003 .cke_ltr .cke_dialog_ui_hbox_child
+{
+ padding-right: 10px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_first,
+.cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_child
+{
+ padding-left: 10px;
+}
+
+/* button */
+
+.cke_skin_office2003 a.cke_dialog_ui_button
+{
+ border-collapse: separate;
+ cursor: default;
+}
+
+.cke_skin_office2003 span.cke_dialog_ui_button
+{
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -678px;
+ background-repeat: repeat-x;
+ border: #0E3460 1px solid;
+ padding: 2px 10px;
+ text-align: center;
+ color: #0E3460;
+ background-color: #8db1ff;
+ display: inline-block;
+ cursor: default;
+}
+
+/* Gecko 1.8 does not support display: inline-block */
+.cke_skin_office2003 .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+ display: block;
+}
+
+.cke_skin_office2003 a.cke_dialog_ui_button span.cke_disabled
+{
+ border: #898980 1px solid;
+ color: #5e5e55;
+ background-color: #c5c5b3;
+}
+
+.cke_skin_office2003 a:focus span.cke_dialog_ui_button,
+.cke_skin_office2003 a:active span.cke_dialog_ui_button
+{
+ background-color: #8db1ff;
+}
+.cke_skin_office2003 .cke_hc a:focus span.cke_dialog_ui_button,
+.cke_skin_office2003 .cke_hc a:active span.cke_dialog_ui_button
+{
+ border-width: 2px;
+}
+
+.cke_skin_office2003 .cke_dialog_footer_buttons
+{
+ display: inline-table;
+ margin-right: 12px;
+ margin-left: 12px;
+ width: auto;
+ position: relative;
+}
+
+/* Gecko 1.8 does not support for display: inline-table */
+.cke_skin_office2003 .cke_browser_gecko18 .cke_dialog_footer_buttons
+{
+ display: inline;
+}
+
+.cke_skin_office2003 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+ width: 60px;
+ margin: 7px 0;
+}
+
+.cke_skin_office2003 strong
+{
+ font-weight: bold;
+}
+
+/* close_button */
+
+.cke_skin_office2003 a.cke_dialog_close_button,
+.cke_skin_office2003 a:hover.cke_dialog_close_button,
+.cke_skin_office2003 .cke_browser_ie6 a.cke_dialog_close_button,
+.cke_skin_office2003 .cke_browser_ie6 a:hover.cke_dialog_close_button
+{
+ background-image: url(images/sprites.png);
+ background-repeat: no-repeat;
+ background-position: -20px -655px;
+ position: absolute;
+ cursor: pointer;
+ text-align: center;
+ height: 21px;
+ width: 21px;
+ top: 4px;
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/sprites_ie6.png);
+}
+
+.cke_skin_office2003 a.cke_dialog_close_button span
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_ltr a.cke_dialog_close_button
+{
+ right: 10px;
+ _right: 22px;
+}
+
+.cke_skin_office2003 .cke_rtl a.cke_dialog_close_button,
+.cke_skin_office2003 .cke_rtl a:hover.cke_dialog_close_button
+{
+ left: 10px;
+ _left: 16px;
+ _top: 6px;
+}
+
+.cke_skin_office2003 .cke_browser_ie6.cke_rtl a.cke_dialog_close_button,
+.cke_skin_office2003 .cke_browser_ie6.cke_rtl a:hover.cke_dialog_close_button
+{
+ position: relative;
+ float: left;
+ margin-top: -55px;
+ margin-left: -7px;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks.cke_rtl.cke_single_page a.cke_dialog_close_button,
+.cke_skin_office2003 .cke_browser_iequirks.cke_rtl.cke_single_page a:hover.cke_dialog_close_button
+{
+ margin-top: -32px;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks.cke_ltr a.cke_dialog_close_button,
+.cke_skin_office2003 .cke_browser_iequirks.cke_ltr a:hover.cke_dialog_close_button
+{
+ margin-top: 0;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_input_select
+{
+ border: 1px solid #a0a0a0;
+ background-color: white;
+}
+
+.cke_skin_office2003 .cke_dialog_ui_input_file
+{
+ width: 100%;
+ height: 25px;
+}
+
+/*
+ * Some utility CSS classes for dialog authors.
+ */
+.cke_skin_office2003 .cke_dialog .cke_dark_background
+{
+ background-color: #eaead1;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_hand
+{
+ cursor: pointer;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_centered
+{
+ text-align: center;
+}
+
+.cke_skin_office2003 .cke_dialog a.cke_btn_reset
+{
+ float: right;
+ background-position: 0 -32px;
+ background-image: url(images/mini.gif);
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ border: 1px none;
+ font-size: 1px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_reset
+{
+ float: left;
+}
+
+.cke_skin_office2003 .cke_dialog a.cke_btn_locked,
+.cke_skin_office2003 .cke_dialog a.cke_btn_unlocked
+{
+ float: left;
+ background-position: 0 0;
+ background-image: url(images/mini.gif);
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ border: none 1px;
+ font-size: 1px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_locked,
+.cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_unlocked
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_dialog a.cke_btn_unlocked
+{
+ background-position: 0 -16px;
+ background-image: url(images/mini.gif);
+}
+
+.cke_skin_office2003 .cke_dialog .cke_btn_over
+{
+ border: outset 1px;
+ cursor: pointer;
+}
+
+.cke_skin_office2003 .cke_dialog .ImagePreviewBox
+{
+ border : 2px ridge black;
+ overflow : scroll;
+ height : 160px;
+ width : 230px;
+ padding : 2px;
+ background-color : white;
+}
+
+.cke_skin_office2003 .cke_dialog .ImagePreviewBox table td {
+ white-space: normal;
+}
+
+/* Fix iframedialog's height doesn't stretch to 100% #4863.*/
+.cke_skin_office2003 .cke_browser_iequirks .cke_dialog_page_contents
+{
+ _position: absolute;
+}
+
+.cke_skin_office2003 .cke_dialog .ImagePreviewLoader
+{
+ position: absolute;
+ white-space : normal;
+ overflow : hidden;
+ height : 160px;
+ width : 230px;
+ margin : 2px;
+ padding : 2px;
+ opacity : 0.9;
+ filter : alpha(opacity=90);
+
+ background-color : #e4e4e4;
+}
+
+.cke_skin_office2003 .cke_dialog .FlashPreviewBox
+{
+ white-space : normal;
+ border : 2px ridge black;
+ overflow : auto;
+ height : 160px;
+ width : 390px;
+ padding : 2px;
+ background-color : white;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_pastetext
+{
+ width: 346px;
+ height: 170px;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_pastetext textarea
+{
+ width: 340px;
+ height: 170px;
+ resize: none;
+}
+
+.cke_skin_office2003 .cke_dialog iframe.cke_pasteframe
+{
+ width: 346px;
+ height: 130px;
+ background-color: white;
+ border: 1px solid black;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_dark_background
+{
+ text-align : center;
+ background-color: #eaead1;
+ font-size : 14px;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_light_background
+{
+ text-align : center;
+ background-color: #ffffbe;
+}
+
+.cke_skin_office2003 .cke_dialog .cke_hand
+{
+ cursor: pointer;
+}
+
+.cke_skin_office2003 .cke_disabled
+{
+ color: #a0a0a0;
+}
+
+/* High Contrast Mode */
+.cke_skin_office2003 .cke_hc .cke_dialog_title,
+.cke_skin_office2003 .cke_hc .cke_dialog_tabs,
+.cke_skin_office2003 .cke_hc .cke_dialog_contents,
+.cke_skin_office2003 .cke_hc .cke_dialog_footer
+{
+ border-left: 1px solid;
+ border-right: 1px solid;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_title
+{
+ border-top: 1px solid;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_footer
+{
+ border-bottom: 1px solid;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_close_button span
+{
+ display: inline;
+ cursor: pointer;
+ font-weight: bold;
+ position: relative;
+ top: 3px;
+}
+
+.cke_skin_office2003 .cke_dialog_body .cke_label
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_dialog_body label.cke_required
+{
+ font-weight: bold;
+}
+
+.cke_skin_office2003 .cke_hc .cke_dialog_body .cke_label
+{
+ display: inline;
+}
+
+.cke_skin_office2003 .cke_hc a.cke_btn_locked,
+.cke_skin_office2003 .cke_hc a.cke_btn_unlocked,
+.cke_skin_office2003 .cke_hc a.cke_btn_reset
+{
+ border-style: solid;
+ float: left;
+ width: auto;
+ height: auto;
+}
+
+.cke_skin_office2003 .cke_rtl.cke_hc a.cke_btn_locked,
+.cke_skin_office2003 .cke_rtl.cke_hc a.cke_btn_unlocked,
+.cke_skin_office2003 .cke_rtl.cke_hc a.cke_btn_reset
+{
+ float: right;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/editor.css b/devel/third-party/ckeditor/skins/office2003/editor.css
new file mode 100644
index 0000000..b0b4535
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/editor.css
@@ -0,0 +1,25 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at import url("reset.css");
+ at import url("mainui.css");
+ at import url("panel.css");
+ at import url("toolbar.css");
+ at import url("menu.css");
+ at import url("richcombo.css");
+ at import url("elementspath.css");
+ at import url("icons.css");
+ at import url("presets.css");
+
+/* Restore the container visibility */
+html .cke_skin_office2003
+{
+ visibility: inherit;
+}
+
+html.cke_skin_office2003_container
+{
+ visibility: visible;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/elementspath.css b/devel/third-party/ckeditor/skins/office2003/elementspath.css
new file mode 100644
index 0000000..853b8ad
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/elementspath.css
@@ -0,0 +1,74 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at media print
+{
+ .cke_path
+ {
+ display: none;
+ }
+}
+
+.cke_skin_office2003 .cke_path
+{
+ padding: 3px 3px 0 3px;
+ display: inline-block;
+ float: left;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_path
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_path a,
+.cke_skin_office2003 .cke_path .cke_empty
+{
+ display: inline-block;
+ float: left;
+ border: solid 1px #f7f8fd;
+ background-color: #f7f8fd;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ padding-left: 4px;
+ padding-right: 4px;
+ margin-bottom : 3px;
+ cursor: default;
+}
+
+.cke_skin_office2003 .cke_path .cke_empty
+{
+ visibility: hidden;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_path a,
+.cke_skin_office2003 .cke_rtl .cke_path cke_empty
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_path a:hover,
+.cke_skin_office2003 .cke_path a:focus,
+.cke_skin_office2003 .cke_path a:active /* IE */
+{
+ border: solid 1px #316ac5;
+ background-color: #dff1ff;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ padding-left: 4px;
+ padding-right: 4px;
+ outline: none;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_path a,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_path .cke_empty
+{
+ float: none;
+}
+
+.cke_skin_office2003 .cke_path .cke_label
+{
+ display: none;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/icons.css b/devel/third-party/ckeditor/skins/office2003/icons.css
new file mode 100644
index 0000000..131bf65
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/icons.css
@@ -0,0 +1,354 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_button_source .cke_icon
+{
+ background-position: 0 0;
+}
+
+.cke_skin_office2003 .cke_button_newpage .cke_icon
+{
+ background-position: 0 -48px;
+}
+
+.cke_skin_office2003 .cke_button_preview .cke_icon
+{
+ background-position: 0 -64px;
+}
+
+.cke_skin_office2003 .cke_button_cut .cke_icon
+{
+ background-position: 0 -96px;
+}
+
+.cke_skin_office2003 .cke_button_copy .cke_icon
+{
+ background-position: 0 -112px;
+}
+
+.cke_skin_office2003 .cke_button_paste .cke_icon
+{
+ background-position: 0 -128px;
+}
+
+.cke_skin_office2003 .cke_button_pastetext .cke_icon
+{
+ background-position: 0 -144px;
+}
+
+.cke_skin_office2003 .cke_button_find .cke_icon
+{
+ background-position: 0 -240px;
+}
+
+.cke_skin_office2003 .cke_button_replace .cke_icon
+{
+ background-position: 0 -256px;
+}
+
+.cke_skin_office2003 .cke_button_selectAll .cke_icon
+{
+ background-position: 0 -272px;
+}
+
+.cke_skin_office2003 .cke_button_removeFormat .cke_icon
+{
+ background-position: 0 -288px;
+}
+
+.cke_skin_office2003 .cke_button_bold .cke_icon
+{
+ background-position: 0 -304px;
+}
+
+.cke_skin_office2003 .cke_button_italic .cke_icon
+{
+ background-position: 0 -320px;
+}
+
+.cke_skin_office2003 .cke_button_underline .cke_icon
+{
+ background-position: 0 -336px;
+}
+
+.cke_skin_office2003 .cke_button_strike .cke_icon
+{
+ background-position: 0 -352px;
+}
+
+.cke_skin_office2003 .cke_button_subscript .cke_icon
+{
+ background-position: 0 -368px;
+}
+
+.cke_skin_office2003 .cke_button_superscript .cke_icon
+{
+ background-position: 0 -384px;
+}
+
+.cke_skin_office2003 .cke_button_table .cke_icon
+{
+ background-position: 0 -608px;
+}
+
+.cke_skin_office2003 .cke_button_horizontalrule .cke_icon
+{
+ background-position: 0 -624px;
+}
+
+.cke_skin_office2003 .cke_button_smiley .cke_icon
+{
+ background-position: 0 -640px;
+}
+
+.cke_skin_office2003 .cke_button_link .cke_icon
+{
+ background-position: 0 -528px;
+}
+
+.cke_skin_office2003 .cke_button_unlink .cke_icon
+{
+ background-position: 0 -544px;
+}
+
+.cke_skin_office2003 .cke_button_anchor .cke_icon
+{
+ background-position: 0 -560px;
+}
+
+.cke_skin_office2003 .cke_button_image .cke_icon
+{
+ background-position: 0 -576px;
+}
+
+.cke_skin_office2003 .cke_button_flash .cke_icon
+{
+ background-position: 0 -592px;
+}
+
+.cke_skin_office2003 .cke_button_specialchar .cke_icon
+{
+ background-position: 0 -656px;
+}
+
+.cke_skin_office2003 .cke_button_pagebreak .cke_icon
+{
+ background-position: 0 -672px;
+}
+
+.cke_skin_office2003 .cke_button_print .cke_icon
+{
+ background-position: 0 -176px;
+}
+
+.cke_skin_office2003 .cke_button_checkspell .cke_icon,
+.cke_skin_office2003 .cke_button_scayt .cke_icon
+{
+ background-position: 0 -192px;
+}
+
+.cke_skin_office2003 .cke_button_pagebreak .cke_icon
+{
+ background-position: 0 -672px;
+}
+
+.cke_skin_office2003 .cke_button_textcolor .cke_icon
+{
+ background-position: 0 -704px;
+}
+
+.cke_skin_office2003 .cke_button_bgcolor .cke_icon
+{
+ background-position: 0 -720px;
+}
+
+.cke_skin_office2003 .cke_button_form .cke_icon
+{
+ background-position: 0 -752px;
+}
+
+.cke_skin_office2003 .cke_button_checkbox .cke_icon
+{
+ background-position: 0 -768px;
+}
+
+.cke_skin_office2003 .cke_button_radio .cke_icon
+{
+ background-position: 0 -784px;
+}
+
+.cke_skin_office2003 .cke_button_textfield .cke_icon
+{
+ background-position: 0 -800px;
+}
+
+.cke_skin_office2003 .cke_button_textarea .cke_icon
+{
+ background-position: 0 -816px;
+}
+.cke_skin_office2003 .cke_button_showblocks .cke_icon
+{
+ background-position: 0 -1136px;
+}
+
+.cke_skin_office2003 .cke_button_select .cke_icon
+{
+ background-position: 0 -832px;
+}
+
+.cke_skin_office2003 .cke_button_button .cke_icon
+{
+ background-position: 0 -848px;
+}
+
+.cke_skin_office2003 .cke_button_imagebutton .cke_icon
+{
+ background-position: 0 -864px;
+}
+
+.cke_skin_office2003 .cke_button_hiddenfield .cke_icon
+{
+ background-position: 0 -880px;
+}
+
+.cke_skin_office2003 .cke_button_undo .cke_icon
+{
+ background-position: 0 -208px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_button_undo .cke_icon
+{
+ background-position: 0 -224px;
+}
+
+.cke_skin_office2003 .cke_button_redo .cke_icon
+{
+ background-position: 0 -224px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_button_redo .cke_icon
+{
+ background-position: 0 -208px;
+}
+
+.cke_skin_office2003 .cke_button_templates .cke_icon
+{
+ background-position: 0 -80px;
+}
+
+.cke_skin_office2003 .cke_button_numberedlist .cke_icon
+{
+ background-position: 0 -400px;
+}
+
+.cke_skin_office2003 .cke_button_bulletedlist .cke_icon
+{
+ background-position: 0 -416px;
+}
+
+.cke_skin_office2003 .cke_mixed_dir_content .cke_button_numberedlist .cke_icon
+{
+ background-position: 0 -1217px;
+}
+
+.cke_skin_office2003 .cke_mixed_dir_content .cke_button_bulletedlist .cke_icon
+{
+ background-position: 0 -1233px;
+}
+
+.cke_skin_office2003 .cke_button_outdent .cke_icon
+{
+ background-position: 0 -432px;
+}
+
+.cke_skin_office2003 .cke_button_indent .cke_icon
+{
+ background-position: 0 -448px;
+}
+
+.cke_skin_office2003 .cke_mixed_dir_content .cke_button_indent .cke_icon
+{
+ background-position: 0 -1265px;
+}
+
+.cke_skin_office2003 .cke_mixed_dir_content .cke_button_outdent .cke_icon
+{
+ background-position: 0 -1249px;
+}
+
+.cke_skin_office2003 .cke_button_justifyleft .cke_icon
+{
+ background-position: 0 -464px;
+}
+
+.cke_skin_office2003 .cke_button_justifycenter .cke_icon
+{
+ background-position: 0 -480px;
+}
+
+.cke_skin_office2003 .cke_button_justifyright .cke_icon
+{
+ background-position: 0 -496px;
+}
+
+.cke_skin_office2003 .cke_button_justifyblock .cke_icon
+{
+ background-position: 0 -512px;
+}
+
+.cke_skin_office2003 .cke_button_blockquote .cke_icon
+{
+ background-position: 0 -1152px;
+}
+
+.cke_skin_office2003 .cke_button_flash .cke_icon
+{
+ background-position: 0 -592px;
+}
+
+.cke_skin_office2003 .cke_button_pastefromword .cke_icon
+{
+ background-position: 0 -160px;
+}
+
+.cke_skin_office2003 .cke_button_save .cke_icon
+{
+ background-position: 0 -32px;
+}
+
+.cke_skin_office2003 .cke_button_about .cke_icon
+{
+ background-position: 0 -736px;
+}
+
+.cke_skin_office2003 .cke_button_maximize .cke_icon
+{
+ background-position: 0 -1040px;
+}
+
+.cke_skin_office2003 .cke_button_creatediv .cke_icon
+{
+ background-position: 0 -1168px;
+}
+
+.cke_skin_office2003 .cke_button_editdiv .cke_icon
+{
+ background-position: 0 -1184px;
+}
+
+.cke_skin_office2003 .cke_button_removediv .cke_icon
+{
+ background-position: 0 -1200px;
+}
+
+.cke_skin_office2003 .cke_button_bidirtl .cke_icon
+{
+ background-position: 0 -1072px;
+}
+
+.cke_skin_office2003 .cke_button_bidiltr .cke_icon
+{
+ background-position: 0 -1056px;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/mainui.css b/devel/third-party/ckeditor/skins/office2003/mainui.css
new file mode 100644
index 0000000..d0e077d
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/mainui.css
@@ -0,0 +1,145 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_editor
+{
+/*
+ border: solid 1px #dcdcdc;
+*/
+ display: inline-table;
+ width: 100%;
+}
+
+.cke_skin_office2003 span.cke_browser_webkit,
+.cke_skin_office2003 span.cke_browser_gecko18
+{
+ display: block;
+}
+
+.cke_skin_office2003,
+.cke_skin_office2003 .cke_wrapper
+{
+ display: block;
+}
+
+.cke_skin_office2003 .cke_top,
+.cke_skin_office2003 .cke_bottom,
+ .cke_shared .cke_skin_office2003
+{
+ background-color: #f7f8fd;
+}
+
+.cke_skin_office2003 .cke_top
+{
+ border-top: solid 1px #fafaf5;
+ border-left: solid 1px #fafaf5;
+ border-right: solid 1px #696969;
+ border-bottom: solid 2px #696969;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_top
+{
+ border-left: solid 1px #696969;
+ border-right: solid 1px #fafaf5;
+}
+
+.cke_skin_office2003 .cke_bottom
+{
+ border-left: solid 1px #696969;
+ border-right: solid 1px #696969;
+ border-bottom: solid 1px #696969;
+}
+
+.cke_skin_office2003 .cke_contents
+{
+ border: solid 1px #696969;
+ /* Prevent background content from penetrate through when switching between editing modes. (#4918) */
+ background-color: white;
+}
+
+.cke_skin_office2003 .cke_focus
+{
+ outline: auto 5px -webkit-focus-ring-color;
+}
+
+.cke_skin_office2003 textarea.cke_source
+{
+ font-family: 'Courier New' , Monospace;
+ font-size: small;
+ white-space: pre;
+ background-color: #fff;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks textarea.cke_source
+{
+ /* For IE6+Quirks only */
+ _white-space: normal;
+}
+
+.cke_skin_office2003 .cke_resizer
+{
+ width: 12px;
+ height: 12px;
+ margin-top: 16px;
+ display: block;
+ float: right;
+ /* resizer.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -1088px;
+ background-repeat: no-repeat;
+ cursor: se-resize;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_resizer
+{
+ cursor: sw-resize;
+ /* resizer_rtl.gif*/
+ background-position: 0 -1115px;
+ float: left;
+}
+
+.cke_skin_office2003 .cke_resizer_horizontal,
+.cke_skin_office2003 .cke_rtl .cke_resizer_horizontal
+{
+ cursor: e-resize;
+}
+
+.cke_skin_office2003 .cke_resizer_vertical,
+.cke_skin_office2003 .cke_rtl .cke_resizer_vertical
+{
+ cursor: n-resize;
+}
+
+.cke_skin_office2003 .cke_maximized .cke_resizer
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_browser_ie6 .cke_contents textarea,
+.cke_skin_office2003 .cke_browser_ie7 .cke_contents textarea
+{
+ position: absolute;
+}
+
+/* All voice labels are not displayed. */
+.cke_skin_office2003 .cke_voice_label
+{
+ display: none;
+}
+
+.cke_skin_office2003 legend.cke_voice_label
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_browser_ie legend.cke_voice_label
+{
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ overflow: hidden;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/menu.css b/devel/third-party/ckeditor/skins/office2003/menu.css
new file mode 100644
index 0000000..385dfb0
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/menu.css
@@ -0,0 +1,199 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_contextmenu
+{
+ padding: 2px;
+}
+
+.cke_skin_office2003 .cke_menuitem a
+{
+ display:block;
+}
+
+.cke_skin_office2003 .cke_menuitem span
+{
+ cursor: default;
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover,
+.cke_skin_office2003 .cke_menuitem a:focus,
+.cke_skin_office2003 .cke_menuitem a:active
+{
+ background-color: #8db1ff;
+ display:block;
+}
+
+.cke_hc .cke_menuitem a:hover,
+.cke_hc .cke_menuitem a:focus,
+.cke_hc .cke_menuitem a:active
+{
+ border: 2px solid;
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_icon
+{
+ background-image: url(icons.png);
+ background-position: 100px;
+ background-repeat:no-repeat;
+ background-color: transparent;
+ width: 16px;
+ height: 16px;
+ float: left;
+}
+
+.cke_rtl .cke_skin_office2003 .cke_menuitem .cke_icon
+{
+ background-image: url(icons_rtl.png);
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_disabled .cke_icon
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_icon_wrapper
+{
+ background-color: #f7f8fd;
+ border: solid 4px #f7f8fd;
+ width: 16px;
+ height: 16px;
+ float: left;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ clear: both;
+}
+
+.cke_rtl .cke_skin_office2003 .cke_menuitem .cke_icon_wrapper
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:focus .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:active .cke_icon_wrapper
+{
+ background-color: #9d9d9d;
+ border: solid 4px #9d9d9d;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover.cke_disabled .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:focus.cke_disabled .cke_icon_wrapper,
+.cke_skin_office2003 .cke_menuitem a:active.cke_disabled .cke_icon_wrapper
+{
+ background-color: #f7f8fd;
+ border: solid 4px #f7f8fd;
+}
+
+.cke_skin_office2003 .cke_menuitem .cke_label
+{
+ display:block;
+ padding-right: 3px;
+ padding-top: 5px;
+ padding-left: 4px;
+ height:19px;
+ margin-left: 24px;
+ background-color: #fff;
+}
+/* Set these after the document has been loaded and we know the dimensions*/
+.cke_skin_office2003 .cke_frameLoaded .cke_menuitem .cke_label
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_office2003 .cke_menuitem .cke_label
+{
+ padding-right: 0;
+ margin-left: 0;
+ padding-left: 3px;
+ margin-right: 28px;
+}
+
+.cke_skin_office2003 .cke_menuitem a.cke_disabled .cke_label
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.30; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_menuitem a:hover .cke_label,
+.cke_skin_office2003 .cke_menuitem a:focus .cke_label,
+.cke_skin_office2003 .cke_menuitem a:active .cke_label
+{
+ background-color: #8db1ff;
+}
+
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:hover .cke_label,
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:focus .cke_label,
+.cke_skin_office2003 .cke_menuitem a.cke_disabled:active .cke_label
+{
+ background-color: transparent;
+}
+
+.cke_skin_office2003 .cke_menuseparator
+{
+ background-color: #f7f8fd;
+ height: 2px;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+
+ _font-size: 0;
+}
+
+.cke_skin_office2003 .cke_menuarrow
+{
+ /* arrowright.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -1071px;
+ background-repeat: no-repeat;
+ height: 5px;
+ width: 3px;
+ float: right;
+ margin-right: 2px;
+ margin-top: 3px;
+}
+
+.cke_rtl .cke_skin_office2003 .cke_menuarrow
+{
+ float: left;
+ margin-right: 0;
+ margin-left: 2px;
+ /* arrowleft.gif*/
+ background-position: 0 -1050px;
+}
+
+.cke_skin_office2003 .cke_menuarrow span
+{
+ display: none;
+}
+
+.cke_hc .cke_skin_office2003 .cke_menuarrow
+{
+ width: auto;
+ margin-top: 0;
+}
+
+.cke_hc .cke_skin_office2003 .cke_menuarrow span
+{
+ display: inline;
+}
+
+/* #3766 In the context menu, long labels with second level menu get wrapped */
+.cke_browser_ie.cke_ltr .cke_skin_office2003 .cke_menuarrow
+{
+ position: absolute;
+ right: 2px;
+}
+
+.cke_browser_ie.cke_rtl .cke_skin_office2003 .cke_menuarrow
+{
+ position: absolute;
+ left: 2px;
+}
+/* END #3766 */
diff --git a/devel/third-party/ckeditor/skins/office2003/panel.css b/devel/third-party/ckeditor/skins/office2003/panel.css
new file mode 100644
index 0000000..78f37cc
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/panel.css
@@ -0,0 +1,212 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_office2003 .cke_panel
+{
+ border: 1px solid #8f8f73;
+ background-color: #fff;
+
+ width: 120px;
+ height: 100px;
+
+ overflow:hidden;
+
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+}
+
+/* Ideally we would use "inherit here"... but you know... IE :( */
+.cke_skin_office2003 .cke_panel iframe
+{
+ width: 100%;
+ height: 100%;
+}
+
+cke_skin_office2003 .cke_panel_frame .cke_label
+{
+ display: none;
+}
+
+/*
+ * All the following styles are to be used inside the iframe that holds panel
+ * contents. We don't use the cke_skin_default there to avoid the reset to be
+ * active.
+ * This is not an issue as we'll never have two skins running inside the same
+ * panel iframe.
+ */
+
+html.cke_skin_office2003_container
+{
+ overflow: auto;
+ overflow-x: hidden;
+}
+
+body.cke_panel_frame
+{
+ overflow: auto;
+}
+
+ul.cke_panel_list
+{
+ list-style-type: none;
+ margin: 3px;
+ padding: 0px;
+ white-space: nowrap;
+}
+
+li.cke_panel_listItem
+{
+ margin: 0px;
+}
+
+.cke_panel_listItem a
+{
+ padding: 2px;
+ display: block;
+ border: 1px solid #fff;
+ color: inherit !important;
+ text-decoration: none;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+/* IE6 */
+* html .cke_panel_listItem a
+{
+ width : 100%;
+
+ /* IE is not able to inherit the color, so we must force it to black */
+ color: #000;
+}
+
+/* IE7 */
+*:first-child+html .cke_panel_listItem a
+{
+ /* IE is not able to inherit the color, so we must force it to black */
+ color: #000;
+}
+
+.cke_panel_listItem.cke_selected a
+{
+ border: 1px solid #ccc;
+ background-color: #e9f5ff;
+}
+
+.cke_panel_listItem a:hover,
+.cke_panel_listItem a:focus,
+.cke_panel_listItem a:active
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+}
+
+.cke_hc .cke_panel_listItem.cke_selected a,
+.cke_hc .cke_panel_listItem a:hover,
+.cke_hc .cke_panel_listItem a:focus,
+.cke_hc .cke_panel_listItem a:active
+{
+ border-width: 3px;
+ padding: 0px;
+}
+
+.cke_panel_grouptitle
+{
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+ font-weight: bold;
+ white-space: nowrap;
+ background-color: #dcdcdc;
+ color: #000;
+ margin:0px;
+ padding:3px;
+}
+
+.cke_panel_listItem p,
+.cke_panel_listItem h1,
+.cke_panel_listItem h2,
+.cke_panel_listItem h3,
+.cke_panel_listItem h4,
+.cke_panel_listItem h5,
+.cke_panel_listItem h6,
+.cke_panel_listItem pre
+{
+ margin-top: 3px;
+ margin-bottom: 3px;
+}
+
+.cke_skin_office2003 .cke_button_textcolor_panel,
+.cke_skin_office2003 .cke_button_bgcolor_panel
+{
+ width: 150px;
+ height: 135px;
+}
+
+.cke_colorblock
+{
+ padding: 3px;
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_colorblock,
+.cke_colorblock a
+{
+ text-decoration: none;
+ color: #000;
+}
+
+span.cke_colorbox
+{
+ width: 10px;
+ height: 10px;
+ border: #808080 1px solid;
+ float: left;
+}
+
+.cke_rtl span.cke_colorbox
+{
+ float: right;
+}
+
+a.cke_colorbox
+{
+ border: #fff 1px solid;
+ padding: 2px;
+ float: left;
+}
+
+.cke_rtl a.cke_colorbox
+{
+ float: right;
+}
+
+a:hover.cke_colorbox,
+a:focus.cke_colorbox,
+a:active.cke_colorbox
+{
+ border: #316ac5 1px solid;
+ background-color: #dff1ff;
+}
+
+a.cke_colorauto,
+a.cke_colormore
+{
+ border: #fff 1px solid;
+ padding: 2px;
+ display: block;
+ cursor: pointer;
+}
+
+a:hover.cke_colorauto,
+a:hover.cke_colormore,
+a:focus.cke_colorauto,
+a:focus.cke_colormore,
+a:active.cke_colorauto,
+a:active.cke_colormore
+{
+ border: #316ac5 1px solid;
+ background-color: #dff1ff;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/presets.css b/devel/third-party/ckeditor/skins/office2003/presets.css
new file mode 100644
index 0000000..69832f2
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/presets.css
@@ -0,0 +1,49 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* "Source" button label */
+.cke_skin_office2003 .cke_button_source .cke_label
+{
+ display: inline;
+}
+
+/* "Styles" panel size */
+.cke_skin_office2003 .cke_styles_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Format" panel size */
+.cke_skin_office2003 .cke_format_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Font" panel size */
+.cke_skin_office2003 .cke_font_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Font Size" panel size */
+.cke_skin_office2003 .cke_fontSize_panel
+{
+ height: 170px;
+}
+
+/* "Font Size" combo width */
+.cke_skin_office2003 .cke_fontSize .cke_text
+{
+ width: 20px;
+}
+
+/* "Font Size" combo width (IE Quirks) */
+.cke_skin_office2003 .cke_browser_iequirks .cke_fontSize .cke_text
+{
+ width: 32px;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/reset.css b/devel/third-party/ckeditor/skins/office2003/reset.css
new file mode 100644
index 0000000..8ba3371
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/reset.css
@@ -0,0 +1,84 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Reset and Default Values
+ */
+.cke_skin_office2003 *,
+.cke_skin_office2003 a:hover,
+.cke_skin_office2003 a:link,
+.cke_skin_office2003 a:visited,
+.cke_skin_office2003 a:active
+{
+ margin: 0;
+ padding: 0;
+ border: 0;
+ background: transparent;
+ text-decoration: none;
+ font: normal normal normal 100% Sans-Serif;
+ width: auto;
+ height: auto;
+ border-collapse: collapse;
+ text-align: left;
+ vertical-align: baseline;
+ white-space: nowrap;
+ cursor: auto;
+ color: #000;
+
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_skin_office2003 .cke_rtl *,
+.cke_skin_office2003 .cke_rtl a:hover,
+.cke_skin_office2003 .cke_rtl a:link,
+.cke_skin_office2003 .cke_rtl a:visited,
+.cke_skin_office2003 .cke_rtl a:active,
+.cke_rtl .cke_skin_office2003 *,
+.cke_rtl .cke_skin_office2003 a:hover,
+.cke_rtl .cke_skin_office2003 a:link,
+.cke_rtl .cke_skin_office2003 a:visited,
+.cke_rtl .cke_skin_office2003 a:active
+{
+ text-align: right;
+}
+
+.cke_skin_office2003 iframe
+{
+ vertical-align: inherit; /** For IE */
+}
+
+.cke_skin_office2003 textarea
+{
+ white-space: pre;
+}
+
+.cke_skin_office2003 .cke_browser_gecko textarea
+{
+ cursor: text;
+}
+
+.cke_skin_office2003 .cke_browser_gecko textarea[disabled]
+{
+ cursor: default;
+}
+
+.cke_skin_office2003 input[type="text"],
+.cke_skin_office2003 input[type="password"]
+{
+ cursor: text;
+}
+
+.cke_skin_office2003 input[type="text"][disabled],
+.cke_skin_office2003 input[type="password"][disabled]
+{
+ cursor: default;
+}
+
+.cke_skin_office2003 fieldset
+{
+ padding: 10px;
+ border: 2px groove #E0DFE3;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/richcombo.css b/devel/third-party/ckeditor/skins/office2003/richcombo.css
new file mode 100644
index 0000000..83a13f2
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/richcombo.css
@@ -0,0 +1,297 @@
+/* Special Combo */
+
+.cke_skin_office2003 .cke_rcombo
+{
+ display: inline-block;
+ margin-left: 2px;
+ margin-right: 2px;
+ margin-top: 2px;
+ vertical-align: top;
+ float: left;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo
+{
+ #float: none;
+}
+
+.cke_skin_office2003 .cke_rcombopanel
+{
+ border: 1px solid #316ac5;
+ -moz-border-radius-topleft: 0;
+ -webkit-border-top-left-radius: 0;
+ border-top-left-radius: 0;
+ /*margin-left: 1px;*/
+ /*_margin-left: 0;*/
+}
+
+.cke_skin_office2003 .cke_rcombo a
+{
+ display: inline-block;
+ float: left;
+
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo a
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo a
+{
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1.0; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_label
+{
+ display: inline-block;
+ float: left;
+ cursor: default;
+
+ line-height: 24px;
+ height: 24px;
+
+ vertical-align: top;
+ padding-left: 4px;
+ padding-right: 5px;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+
+ _background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ _background-position: 0 -962px;
+ _background-repeat: repeat-x;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_label
+{
+ float: right;
+ padding-right: 4px;
+ padding-left: 5px;
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_label
+{
+ filter: alpha(opacity=100);
+ opacity: 1.0;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_inline_label
+{
+ color: #fff;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_text
+{
+ border: 1px solid #8f8f73;
+ background-color: #fff;
+ height: 14px;
+ width:60px;
+ padding-top: 4px;
+ padding-bottom: 4px;
+ padding-left: 5px;
+ padding-right: 5px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ display: inline-block;
+ vertical-align: top;
+ cursor: default;
+}
+
+.cke_skin_office2003 .cke_ltr .cke_rcombo .cke_text
+{
+ -moz-border-radius-topleft: 3px;
+ -webkit-border-top-left-radius: 3px;
+ border-top-left-radius: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ -webkit-border-bottom-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_text
+{
+ -moz-border-radius-topright: 3px;
+ -webkit-border-top-right-radius: 3px;
+ border-top-right-radius: 3px;
+ -moz-border-radius-bottomright: 3px;
+ -webkit-border-bottom-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+
+/* Fix for IE height */
+.cke_skin_office2003 .cke_browser_iequirks .cke_rcombo .cke_text
+{
+ height: 22px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_openbutton
+{
+ display: inline-block;
+
+ background-position: 5px -1002px;
+ background-image: url(images/sprites.png);
+ background-image: url(images/sprites_ie6.png);
+ background-repeat: no-repeat;
+
+ border-top: 1px solid #8f8f73;
+ border-bottom: 1px solid #8f8f73;
+ width: 14px;
+ height: 22px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_openbutton span
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_openbutton span
+{
+ display : inline;
+}
+
+.cke_skin_office2003 .cke_ltr .cke_rcombo .cke_openbutton
+{
+ border-right: 1px solid #8f8f73;
+ -moz-border-radius-topright: 3px;
+ -webkit-border-top-right-radius: 3px;
+ border-top-right-radius: 3px;
+ -moz-border-radius-bottomright: 3px;
+ -webkit-border-bottom-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_openbutton
+{
+ border-left: 1px solid #8f8f73;
+ -moz-border-radius-topleft: 3px;
+ -webkit-border-top-left-radius: 3px;
+ border-top-left-radius: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ -webkit-border-bottom-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_off a:hover,
+.cke_skin_office2003 .cke_rcombo .cke_off a:focus,
+.cke_skin_office2003 .cke_rcombo .cke_off a:active,
+.cke_skin_office2003 .cke_rcombo .cke_on a
+{
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_off a:hover .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_off a:focus .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_off a:active .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_text
+{
+ border-color: #316ac5;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_off a:hover .cke_openbutton,
+.cke_skin_office2003 .cke_rcombo .cke_off a:focus .cke_openbutton,
+.cke_skin_office2003 .cke_rcombo .cke_off a:active .cke_openbutton,
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_openbutton
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_text
+{
+ -moz-border-radius-bottomleft: 0px;
+ -webkit-border-bottom-left-radius: 0px;
+ border-bottom-left-radius: 0px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_on .cke_openbutton
+{
+ -moz-border-radius-bottomright: 0px;
+ -webkit-border-bottom-right-radius: 0px;
+ border-bottom-right-radius: 0px;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_label
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_disabled .cke_label
+{
+ filter: alpha(opacity=70);
+ opacity: 0.7;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_openbutton
+{
+ filter: alpha(opacity=50); /* IE */
+ opacity: 0.5; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_office2003 .cke_hc .cke_rcombo .cke_disabled .cke_openbutton
+{
+ filter: alpha(opacity=80);
+ opacity: 0.8;
+}
+
+.cke_skin_office2003 .cke_rcombo .cke_disabled .cke_text
+{
+ color: #fff;
+}
+
+/* Firefox 2 & WebKit Section */
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rcombo .cke_openbutton,
+.cke_skin_office2003 .cke_browser_webkit .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_webkit .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_webkit .cke_rcombo .cke_openbutton
+{
+ display: block;
+ float: left;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_openbutton,
+.cke_skin_office2003 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_office2003 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_office2003 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_openbutton
+{
+ float: right;
+}
+
+/*** IE ***/
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_rcombo,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_rcombo a,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_rcombo .cke_label
+{
+ float: none;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_font .cke_text,
+.cke_skin_office2003 .cke_rtl .cke_rcombo .cke_fontSize .cke_text
+{
+ direction: ltr;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/skin.js b/devel/third-party/ckeditor/skins/office2003/skin.js
new file mode 100644
index 0000000..61aee1e
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/skin.js
@@ -0,0 +1,81 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.skins.add( 'office2003', (function()
+{
+ var preload = [];
+
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+ {
+ // For IE6, we need to preload some images, otherwhise they will be
+ // downloaded several times (CSS background bug).
+ preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' );
+ }
+
+ return {
+ preload : preload,
+ editor : { css : [ 'editor.css' ] },
+ dialog : { css : [ 'dialog.css' ] },
+ templates : { css : [ 'templates.css' ] },
+ margins : [ 0, 14, 18, 14 ]
+ };
+})() );
+
+(function()
+{
+ CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup );
+
+ function dialogSetup()
+ {
+ CKEDITOR.dialog.on( 'resize', function( evt )
+ {
+ var data = evt.data,
+ width = data.width,
+ height = data.height,
+ dialog = data.dialog,
+ contents = dialog.parts.contents;
+
+ if ( data.skin != 'office2003' )
+ return;
+
+ contents.setStyles(
+ {
+ width : width + 'px',
+ height : height + 'px'
+ });
+
+ if ( !CKEDITOR.env.ie )
+ return;
+
+ // Fix the size of the elements which have flexible lengths.
+ var fixSize = function()
+ {
+ var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),
+ body = innerDialog.getChild( 0 );
+
+ // tc
+ var el = innerDialog.getChild( 2 );
+ el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' );
+
+ // bc
+ el = innerDialog.getChild( 7 );
+ el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' );
+
+ // ml
+ el = innerDialog.getChild( 4 );
+ el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+
+ // mr
+ el = innerDialog.getChild( 5 );
+ el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+ };
+ setTimeout( fixSize, 100 );
+
+ // Ensure size is correct for RTL mode. (#4003)
+ if ( evt.editor.lang.dir == 'rtl' )
+ setTimeout( fixSize, 1000 );
+ });
+ }
+})();
diff --git a/devel/third-party/ckeditor/skins/office2003/templates.css b/devel/third-party/ckeditor/skins/office2003/templates.css
new file mode 100644
index 0000000..411d1ee
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/templates.css
@@ -0,0 +1,87 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Styles for the "templates" plugin.
+ */
+
+.cke_skin_office2003 .cke_tpl_list
+{
+ border: #dcdcdc 2px solid;
+ background-color: #ffffff;
+ overflow: auto;
+ width: 100%;
+ height: 220px;
+}
+
+.cke_skin_office2003 .cke_tpl_item
+{
+ margin: 5px;
+ padding: 7px;
+ border: #eeeeee 1px solid;
+ *width: 88%;
+}
+
+.cke_skin_office2003 .cke_tpl_preview
+{
+ border-collapse: separate;
+ text-indent:0;
+ width: 100%;
+}
+.cke_skin_office2003 .cke_tpl_preview td
+{
+ padding: 2px;
+ vertical-align: middle;
+}
+.cke_skin_office2003 .cke_tpl_preview .cke_tpl_preview_img
+{
+ width: 100px;
+}
+.cke_skin_office2003 .cke_tpl_preview span
+{
+ white-space: normal;
+}
+
+.cke_skin_office2003 .cke_tpl_title
+{
+ font-weight: bold;
+}
+
+.cke_skin_office2003 .cke_tpl_list a:active .cke_tpl_item,
+.cke_skin_office2003 .cke_tpl_list a:hover .cke_tpl_item,
+.cke_skin_office2003 .cke_tpl_list a:focus .cke_tpl_item
+{
+ border: #ff9933 1px solid !important;
+ background-color: #fffacd !important;
+}
+
+.cke_skin_office2003 .cke_tpl_list a:active *,
+.cke_skin_office2003 .cke_tpl_list a:hover *,
+.cke_skin_office2003 .cke_tpl_list a:focus *
+{
+ cursor: pointer;
+}
+
+/* IE6 contextual selectors childs won't get :hover transition until,
+ the hover style of the link itself contains certain CSS declarations.*/
+.cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:active,
+.cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:hover,
+.cke_skin_office2003 .cke_browser_ie6 .cke_tpl_list a:focus
+{
+ background-position: 0 0;
+}
+
+.cke_skin_office2003 .cke_tpl_list a:active .cke_tpl_item,
+.cke_skin_office2003 .cke_tpl_list a:hover .cke_tpl_item,
+.cke_skin_office2003 .cke_tpl_list a:focus .cke_tpl_item
+{
+ border-width: 3px;
+}
+
+.cke_skin_office2003 .cke_tpl_empty, .cke_tpl_loading
+{
+ text-align: center;
+ padding: 5px;
+}
diff --git a/devel/third-party/ckeditor/skins/office2003/toolbar.css b/devel/third-party/ckeditor/skins/office2003/toolbar.css
new file mode 100644
index 0000000..ef08c45
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/office2003/toolbar.css
@@ -0,0 +1,470 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at media print
+{
+ .cke_skin_office2003 .cke_toolbox
+ {
+ display: none;
+ }
+}
+
+.cke_skin_office2003 .cke_browser_webkit .cke_toolbox,
+.cke_skin_office2003 .cke_browser_webkit .cke_toolbox > span
+{
+ white-space: normal;
+}
+
+.cke_skin_office2003 .cke_toolbox
+{
+ clear: both;
+ /* Define the padding-bottom otherwise the collapser button will not be clickable #4932*/
+ padding-bottom: 1px;
+}
+
+.cke_skin_office2003 a.cke_toolbox_collapser,
+.cke_skin_office2003 a:hover.cke_toolbox_collapser
+{
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 3px -1026px; /* +3px +4px */
+ background-repeat: no-repeat;
+ width: 11px;
+ height: 11px;
+ float: right;
+ border: outset 1px;
+ margin: 11px 2px 2px;
+ cursor: pointer;
+}
+
+.cke_skin_office2003 .cke_rtl a.cke_toolbox_collapser,
+.cke_skin_office2003 .cke_rtl a:hover.cke_toolbox_collapser
+{
+ float: left;
+}
+
+.cke_skin_office2003 a.cke_toolbox_collapser span
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_hc a.cke_toolbox_collapser span
+{
+ font-size: 10px;
+ font-weight: bold;
+ font-family: Arial;
+ display: inline;
+}
+
+.cke_skin_office2003 a.cke_toolbox_collapser_min,
+.cke_skin_office2003 a:hover.cke_toolbox_collapser_min
+{
+ /* arrowleft.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 4px -1047px; /* +4px +3px */
+ background-repeat: no-repeat;
+ margin: 2px;
+}
+
+.cke_skin_office2003 .cke_rtl a.cke_toolbox_collapser_min,
+.cke_skin_office2003 .cke_rtl a:hover.cke_toolbox_collapser_min
+{
+ /* arrowright.gif*/
+ background-position: 4px -1068px; /* +2px +3px */
+}
+
+.cke_skin_office2003 .cke_toolbar
+{
+ background-color: #d6dff7;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -962px;
+ background-repeat: repeat-x;
+ display: inline-block;
+ float: left;
+ !height: 28px;
+ !line-height: 28px;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolbar
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_toolgroup
+{
+ display: inline-block;
+ float: left;
+ height: 28px;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_toolgroup
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolgroup
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolgroup
+{
+ #float: none;
+}
+
+.cke_skin_office2003 .cke_separator
+{
+ display: inline-block;
+ float: left;
+ border-left: solid 1px #B2CBFF;
+ margin: 6px 2px;
+ height: 16px;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_separator
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_separator
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_separator
+{
+ #float: none;
+}
+
+.cke_skin_office2003 .cke_break
+{
+ clear: left;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_break
+{
+ clear: right;
+}
+
+.cke_skin_office2003 .cke_toolbar_start
+{
+ display: inline-block;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: no-repeat;
+ background-position: -27px -765px;
+ width: 10px;
+ height: 28px;
+ float: left;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_toolbar_start
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolbar_start
+{
+ background-position: -27px -816px;
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_start
+{
+ #float: none;
+}
+
+.cke_skin_office2003 .cke_toolbar_end
+{
+ display: inline-block;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: no-repeat;
+ background-position: -29px -861px;
+ width: 4px;
+ height: 28px;
+ float: left;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_toolbar_end
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_toolbar_end
+{
+ background-position: -29px -907px;
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+ #float: none;
+}
+
+.cke_skin_office2003 .cke_button a,
+.cke_skin_office2003 .cke_button a:hover,
+.cke_skin_office2003 .cke_button a:focus,
+.cke_skin_office2003 .cke_button a:active,
+.cke_skin_office2003 .cke_button a.cke_off
+{
+ border: solid 1px transparent;
+ border-radius: 3px;
+ outline: none;
+ padding-top: 2px;
+ padding-left: 4px;
+ padding-right: 4px;
+ padding-bottom: 2px;
+ margin-top: 2px;
+ height: 18px;
+ vertical-align: top;
+
+ _border: none;
+ _margin: 3px 1px 1px 1px;
+ cursor: default;
+ display: inline-block;
+}
+
+.cke_skin_office2003 .cke_button a,
+.cke_skin_office2003 .cke_button a.cke_off
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button a,
+.cke_skin_office2003 .cke_hc .cke_button a.cke_off
+{
+ opacity: 1.0;
+ filter: alpha(opacity=100);
+ _border: 1px solid transparent;
+}
+
+.cke_skin_office2003 .cke_button a.cke_on
+{
+ border: solid 1px #316ac5;
+ background-color: #c1d2ee;
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+
+ _margin: 2px 0 0 0;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button a:hover,
+.cke_skin_office2003 .cke_hc .cke_button a:focus,
+.cke_skin_office2003 .cke_hc .cke_button a:active /* IE */
+{
+ padding: 0 2px !important;
+ border-width: 3px;
+}
+
+.cke_skin_office2003 .cke_button a.cke_disabled *,
+.cke_skin_office2003 .cke_browser_ie a:hover.cke_button .cke_disabled *
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_office2003 .cke_hc .cke_button a.cke_disabled *,
+.cke_skin_office2003 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled *
+{
+ filter: alpha(opacity=60);
+ opacity: 0.6;
+}
+
+.cke_skin_office2003 .cke_button a:hover,
+.cke_skin_office2003 .cke_button a:focus,
+.cke_skin_office2003 .cke_button a:active /* IE */
+{
+ border: solid 1px #316ac5;
+ background-color: #dff1ff;
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+ vertical-align: top;
+
+ _margin: 2px 0 0 0;
+ padding: 2px 4px;
+}
+
+.cke_skin_office2003 .cke_button .cke_icon
+{
+ background-image: url(icons.png);
+ background-position: 100px;
+ background-repeat:no-repeat;
+ margin-top:1px;
+ width: 16px;
+ height: 16px;
+ display: inline-block;
+ cursor: default;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_button .cke_icon
+{
+ background-image: url(icons_rtl.png);
+}
+
+.cke_skin_office2003 .cke_button .cke_label
+{
+ display: none;
+ padding-left: 3px;
+ cursor: default;
+ vertical-align:middle;
+ _background-image: url(images/sprites_ie6.png);
+ _background-position: 0 -970px;
+ _background-repeat: repeat-x;
+}
+
+.cke_skin_office2003 .cke_button a:hover .cke_label
+{
+ _background-color: #dff1ff;
+ _background-image: none;
+}
+
+.cke_skin_office2003 .cke_button a.cke_on .cke_label
+{
+ _background-color: #c1d2ee;
+ _background-image: none;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button .cke_label
+{
+ padding: 0;
+ display: inline-block;
+}
+
+.cke_skin_office2003 .cke_hc .cke_button .cke_icon
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_accessibility
+{
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ overflow: hidden;
+}
+
+.cke_skin_office2003 .cke_button .cke_buttonarrow
+{
+ display: inline-block;
+ height: 18px;
+ width: 8px;
+ background-position: 2px -1004px;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: no-repeat;
+ cursor: default;
+}
+
+.cke_skin_office2003 .cke_rtl .cke_button .cke_buttonarrow
+{
+ background-position: 0 -1004px;
+}
+
+/*** Firefox 2 ***/
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_toolbar,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button a,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button a.cke_off,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_icon,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_buttonarrow,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_separator,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_toolbar_start,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_toolbar_end
+{
+ display: block;
+ float: left;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_hc .cke_button .cke_icon
+{
+ display: none;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_toolbar,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button a,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button a.cke_off,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button .cke_icon,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button .cke_buttonarrow,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_separator,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_toolbar_start,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_toolbar_end
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_break
+{
+ float: left;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl span.cke_inline_label
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_button .cke_label,
+.cke_skin_office2003 .cke_browser_gecko18 .cke_rtl .cke_break
+{
+ float: right;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_separator
+{
+ margin-top: 4px;
+}
+
+.cke_skin_office2003 .cke_browser_gecko18 .cke_button .cke_label
+{
+ padding-top: 3px;
+}
+
+/*** IE6 ***/
+
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolgroup,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_separator,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_start,
+.cke_skin_office2003 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+ float: none;
+}
+
+/*** IE8 ***/
+
+.cke_skin_office2003 .cke_browser_ie8 .cke_toolbar,
+.cke_skin_office2003 .cke_browser_ie8 .cke_toolgroup
+{
+ vertical-align: top;
+}
+
+.cke_skin_office2003 .cke_browser_iequirks.cke_browser_ie8 .cke_toolbar,
+.cke_skin_office2003 .cke_browser_iequirks.cke_browser_ie8 .cke_toolgroup
+{
+ /* revert previous */
+ vertical-align: baseline;
+}
+
+/* Separator + Combo penetrate toolbar in IE quirks. (#4461) */
+.cke_skin_office2003 .cke_browser_iequirks .cke_separator
+{
+ vertical-align: text-bottom;
+}
+/* Fix cursor shape consistency on toolbar combos (#4031) */
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo,
+.cke_skin_office2003 .cke_browser_ie .cke_rcombo *
+{
+ cursor: default;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/dialog.css b/devel/third-party/ckeditor/skins/v2/dialog.css
new file mode 100644
index 0000000..a63baca
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/dialog.css
@@ -0,0 +1,780 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* Restore the dialog visibility */
+body .cke_dialog
+{
+ visibility: visible;
+}
+
+/* Force Gecko to consider table as positioned */
+.cke_skin_v2 table.cke_dialog.cke_browser_gecko
+{
+ display:block;
+}
+
+.cke_skin_v2 .cke_dialog_body
+{
+ margin-left: 16px;
+ margin-right: 16px;
+ margin-top: 2px;
+ margin-bottom: 20px;
+ z-index: 1;
+
+ /* 'cke_dialog' element has been fixed positioned in all but IE6, while we
+ need it to be positioned to hold e.g. close button. */
+ position: relative;
+ _position: static;
+
+}
+
+.cke_skin_v2 .cke_dialog_tl,
+.cke_skin_v2 .cke_dialog_tr,
+.cke_skin_v2 .cke_dialog_tc,
+.cke_skin_v2 .cke_dialog_bl,
+.cke_skin_v2 .cke_dialog_br,
+.cke_skin_v2 .cke_dialog_bc
+{
+ background-image: url(images/sprites.png);
+ background-repeat: no-repeat;
+ position: absolute;
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/sprites_ie6.png);
+ /* Dialog corner parts require a negative z-index to avoid covering dialog body. (#4954) */
+ _z-index: -1;
+}
+
+.cke_skin_v2 .cke_dialog_tl
+{
+ background-position: -16px -16px;
+ height: 16px;
+ width: 16px;
+ top: 0;
+ left: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_tl
+{
+ background-position: -16px -397px;
+}
+
+.cke_skin_v2 .cke_dialog_tr
+{
+ background-position: -16px -76px;
+ height: 16px;
+ width: 16px;
+ top: 0;
+ right: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_tr
+{
+ background-position: -16px -457px;
+}
+
+.cke_skin_v2 .cke_dialog_tc
+{
+ background-position: 0 -136px;
+ background-repeat: repeat-x;
+ height: 16px;
+ top: 0;
+ left: 16px;
+ right: 16px;
+}
+
+.cke_skin_v2 .cke_dialog_bl
+{
+ background-position: -16px -196px;
+ height: 51px;
+ width: 30px;
+ bottom: 0;
+ left: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_bl
+{
+ background-position: -16px -517px;
+}
+
+.cke_skin_v2 .cke_dialog_br
+{
+ background-position: -16px -263px;
+ height: 51px;
+ width: 30px;
+ bottom: 0;
+ right: 0;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_br
+{
+ background-position: -16px -584px;
+}
+
+.cke_skin_v2 .cke_dialog_bc
+{
+ background-position: 0 -330px;
+ background-repeat: repeat-x;
+ height: 51px;
+ bottom: 0;
+ left: 30px;
+ right: 30px;
+}
+
+.cke_skin_v2 .cke_dialog_ml,
+.cke_skin_v2 .cke_dialog_mr
+{
+ background-image: url(images/dialog_sides.png);
+ background-repeat: repeat-y;
+ position: absolute;
+ width: 16px;
+ top: 16px;
+ bottom: 51px;
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/dialog_sides.gif);
+
+ /* IE quirks gets confused when we have both top and bottom. */
+ _top: auto;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_ml,
+.cke_skin_v2 .cke_rtl .cke_dialog_mr
+{
+ background-image: url(images/dialog_sides_rtl.png);
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/dialog_sides.gif);
+}
+
+.cke_skin_v2 .cke_dialog_ml
+{
+ background-position: 0 0;
+ left: 0;
+}
+
+.cke_skin_v2 .cke_dialog_mr
+{
+ background-position: -16px 0;
+ right: 0;
+}
+
+.cke_skin_v2 .cke_browser_iequirks .cke_dialog_ml,
+.cke_skin_v2 .cke_browser_iequirks .cke_dialog_mr
+{
+ margin-top: 3px;
+}
+
+.cke_skin_v2 .cke_dialog_title
+{
+ font-weight: bold;
+ font-size: 14pt;
+ color: #737357;
+ background-color: #e3e3c7;
+ padding: 3px 10px 26px 10px;
+ cursor: move;
+ position: relative;
+}
+
+.cke_skin_v2 .cke_browser_ie.cke_rtl .cke_dialog_title
+{
+ position: static !important;
+ unicode-bidi: bidi-override;
+}
+
+.cke_skin_v2 .cke_dialog_contents
+{
+ background-color: #f1f1e3;
+ border: #d5d59d 1px solid;
+ overflow: auto;
+ padding: 5px 10px;
+}
+
+.cke_skin_v2 .cke_dialog_footer
+{
+ background-color: #e3e3c7;
+ text-align: right;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_footer
+{
+ text-align: left;
+}
+
+/* tabs */
+
+.cke_skin_v2 .cke_dialog_tabs
+{
+ height: 23px;
+ background-color: #e3e3c7;
+ display: inline-block;
+ margin-left:10px;
+ margin-right:10px;
+ margin-top:-23px;
+ position: absolute;
+ z-index: 2;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_tabs
+{
+ right: 10px;
+}
+
+.cke_skin_v2 a.cke_dialog_tab,
+.cke_skin_v2 a:link.cke_dialog_tab,
+.cke_skin_v2 a:active.cke_dialog_tab,
+.cke_skin_v2 a:hover.cke_dialog_tab,
+.cke_skin_v2 a:visited.cke_dialog_tab
+{
+ color: #737357;
+ border-left: 1px solid #d5d59d;
+ border-right: 1px solid #d5d59d;
+ border-top: 1px solid #d5d59d;
+ height: 14px;
+ padding: 4px 5px;
+ display: inline-block;
+ cursor: pointer;
+}
+
+/* Gecko 1.8 layout workaround. */
+.cke_skin_v2 .cke_browser_gecko18 a.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:link.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:active.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:hover.cke_dialog_tab,
+.cke_skin_v2 .cke_browser_gecko18 a:visited.cke_dialog_tab
+{
+ display: inline;
+ position: relative;
+ top: 6px;
+}
+
+.cke_skin_v2 a:hover.cke_dialog_tab
+{
+ background-color: #f1f1e3;
+}
+
+.cke_skin_v2 .cke_hc a:hover.cke_dialog_tab
+{
+ padding: 2px 3px !important;
+ border-width: 3px;
+}
+
+.cke_skin_v2 a.cke_dialog_tab_selected,
+.cke_skin_v2 a:link.cke_dialog_tab_selected,
+.cke_skin_v2 a:active.cke_dialog_tab_selected,
+.cke_skin_v2 a:hover.cke_dialog_tab_selected,
+.cke_skin_v2 a:visited.cke_dialog_tab_selected
+{
+ border-bottom: 1px solid #f1f1e3;
+ background-color: #f1f1e3;
+ font-weight: bold;
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_hc a.cke_dialog_tab_selected,
+.cke_skin_v2 .cke_hc a:link.cke_dialog_tab_selected,
+.cke_skin_v2 .cke_hc a:active.cke_dialog_tab_selected,
+.cke_skin_v2 .cke_hc a:hover.cke_dialog_tab_selected,
+.cke_skin_v2 .cke_hc a:visited.cke_dialog_tab_selected
+{
+ padding: 2px 3px !important;
+ border-width: 3px;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_tabs a,
+.cke_skin_v2 .cke_hc .cke_dialog_footer a
+{
+ opacity: 1.0;
+ filter: alpha(opacity=100);
+ border: 1px solid white;
+}
+
+/* single_page */
+
+.cke_skin_v2 .cke_single_page .cke_dialog_tabs
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_single_page .cke_dialog_title
+{
+ padding-bottom: 3px;
+}
+
+.cke_skin_v2 .cke_dialog_ui_vbox table,
+.cke_skin_v2 .cke_dialog_ui_hbox table
+{
+ margin: auto;
+}
+
+.cke_skin_v2 .cke_dialog_ui_vbox_child
+{
+ padding: 5px 0px;
+}
+
+.cke_skin_v2 input.cke_dialog_ui_input_text,
+.cke_skin_v2 input.cke_dialog_ui_input_password
+{
+ background-color: white;
+ border: none;
+ padding: 0px;
+ width: 100%;
+ height: 14px;
+}
+
+.cke_skin_v2 .cke_browser_gecko.cke_hc div.cke_dialog_ui_input_text,
+.cke_skin_v2 .cke_browser_gecko.cke_hc div.cke_dialog_ui_input_password
+{
+ border-width: 0px;
+}
+
+.cke_skin_v2 .cke_browser_gecko18.cke_hc div.cke_dialog_ui_input_text,
+.cke_skin_v2 .cke_browser_gecko18.cke_hc div.cke_dialog_ui_input_password
+{
+ border-width: 1px;
+}
+
+.cke_skin_v2 div.cke_dialog_ui_input_text,
+.cke_skin_v2 div.cke_dialog_ui_input_password
+{
+ background-color: white;
+ border: 1px solid #a0a0a0;
+ padding: 1px 0px;
+}
+
+.cke_skin_v2 .cke_browser_ie.cke_rtl div.cke_dialog_ui_input_text {
+ padding-right: 1px;
+}
+
+.cke_skin_v2 textarea.cke_dialog_ui_input_textarea
+{
+ background-color: white;
+ border: none;
+ padding: 0px;
+ width: 100%;
+ /*
+ * IE6 BUG: Scrollbars in textareas can overflow even if the outer DIV is set to overflow:hidden.
+ * So leave 1% width for the scrollbar. In most situations the 1% isn't noticeable by users.
+ */
+ _width: 99%;
+ overflow: auto;
+ resize: none;
+}
+
+.cke_skin_v2 div.cke_dialog_ui_input_textarea
+{
+ background-color: white;
+ border: 1px solid #a0a0a0;
+ padding: 1px 0px;
+}
+
+.cke_skin_v2 div.cke_disabled .cke_dialog_ui_labeled_content *
+{
+ background-color : #a0a0a0;
+ cursor : default;
+}
+
+.cke_skin_v2 .cke_dialog_ui_hbox
+{
+ width: 100%;
+}
+
+.cke_skin_v2 .cke_dialog_ui_hbox_first,
+.cke_skin_v2 .cke_dialog_ui_hbox_child,
+.cke_skin_v2 .cke_dialog_ui_hbox_last
+{
+ vertical-align: top;
+}
+
+.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_first,
+.cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_child
+{
+ padding-right: 10px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_first,
+.cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_child
+{
+ padding-left: 10px;
+}
+
+/* button */
+
+.cke_skin_v2 a.cke_dialog_ui_button
+{
+ border-collapse: separate;
+ cursor: default;
+}
+
+.cke_skin_v2 span.cke_dialog_ui_button
+{
+ border: #737357 1px solid;
+ padding: 2px 10px;
+ text-align: center;
+ color: #3b3b1f;
+ background-color: #c7c78f;
+ display: inline-block;
+ cursor: default;
+}
+
+/* Gecko 1.8 does not support display: inline-block */
+.cke_skin_v2 .cke_browser_gecko18 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+ display: block;
+}
+
+.cke_skin_v2 a.cke_dialog_ui_button span.cke_disabled
+{
+ border: #898980 1px solid;
+ color: #5e5e55;
+ background-color: #c5c5b3;
+}
+
+.cke_skin_v2 a:focus span.cke_dialog_ui_button,
+.cke_skin_v2 a:active span.cke_dialog_ui_button
+{
+ background-color: #e3e3c7;
+}
+
+.cke_skin_v2 .cke_hc a:focus span.cke_dialog_ui_button,
+.cke_skin_v2 .cke_hc a:active span.cke_dialog_ui_button
+{
+ border-width: 2px;
+}
+
+.cke_skin_v2 .cke_dialog_footer_buttons
+{
+ display: inline-table;
+ margin-right: 12px;
+ margin-left: 12px;
+ width: auto;
+ position: relative;
+}
+
+/* Gecko 1.8 does not support for display: inline-table */
+.cke_skin_v2 .cke_browser_gecko18 .cke_dialog_footer_buttons
+{
+ display: inline;
+}
+
+.cke_skin_v2 .cke_dialog_footer_buttons span.cke_dialog_ui_button
+{
+ width: 60px;
+ margin: 7px 0;
+}
+
+.cke_skin_v2 strong
+{
+ font-weight: bold;
+}
+
+/* close_button */
+
+.cke_skin_v2 a.cke_dialog_close_button,
+.cke_skin_v2 a:hover.cke_dialog_close_button,
+.cke_skin_v2 .cke_browser_ie6 a.cke_dialog_close_button,
+.cke_skin_v2 .cke_browser_ie6 a:hover.cke_dialog_close_button
+{
+ background-image: url(images/sprites.png);
+ background-repeat: no-repeat;
+ background-position: -16px -651px;
+ position: absolute;
+ cursor: pointer;
+ text-align: center;
+ height: 20px;
+ width: 20px;
+ top: 5px;
+
+ /* IE6 does not support full color transparent PNG. */
+ _background-image: url(images/sprites_ie6.png);
+}
+
+.cke_skin_v2 a.cke_dialog_close_button span
+{
+ display: none;
+}
+
+.cke_skin_v2 a:hover.cke_dialog_close_button
+{
+ background-position: -16px -687px;
+}
+
+.cke_skin_v2 .cke_ltr a.cke_dialog_close_button,
+.cke_skin_v2 .cke_ltr a:hover.cke_dialog_close_button
+{
+ right: 10px;
+ _right: 22px;
+}
+
+.cke_skin_v2 .cke_rtl a.cke_dialog_close_button,
+.cke_skin_v2 .cke_rtl a:hover.cke_dialog_close_button
+{
+ left: 10px;
+ _left: 16px;
+ _top: 7px;
+}
+
+.cke_skin_v2 .cke_browser_ie6.cke_rtl a.cke_dialog_close_button,
+.cke_skin_v2 .cke_browser_ie6.cke_rtl a:hover.cke_dialog_close_button
+{
+ position: relative;
+ float: left;
+ margin-top: -55px;
+ margin-left: -7px;
+}
+
+.cke_skin_v2 .cke_browser_iequirks.cke_rtl.cke_single_page a.cke_dialog_close_button,
+.cke_skin_v2 .cke_browser_iequirks.cke_rtl.cke_single_page a:hover.cke_dialog_close_button
+{
+ margin-top: -32px;
+}
+
+.cke_skin_v2 .cke_browser_iequirks.cke_ltr a.cke_dialog_close_button,
+.cke_skin_v2 .cke_browser_iequirks.cke_ltr a:hover.cke_dialog_close_button
+{
+ margin-top: 0;
+}
+
+.cke_skin_v2 .cke_dialog_ui_input_select
+{
+ border: 1px solid #a0a0a0;
+ background-color: white;
+}
+
+.cke_skin_v2 .cke_dialog_ui_input_file
+{
+ width: 100%;
+ height: 25px;
+}
+
+/*
+ * Some utility CSS classes for dialog authors.
+ */
+.cke_skin_v2 .cke_dialog .cke_dark_background
+{
+ background-color: #eaead1;
+}
+
+.cke_skin_v2 .cke_dialog .cke_hand
+{
+ cursor: pointer;
+}
+
+.cke_skin_v2 .cke_dialog .cke_centered
+{
+ text-align: center;
+}
+
+.cke_skin_v2 .cke_dialog a.cke_btn_reset
+{
+ float: right;
+ background-position: 0 -32px;
+ background-image: url(images/mini.gif);
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ border: 1px none;
+ font-size: 1px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog a.cke_btn_reset
+{
+ float: left;
+}
+
+.cke_skin_v2 .cke_dialog a.cke_btn_locked,
+.cke_skin_v2 .cke_dialog a.cke_btn_unlocked
+{
+ float: left;
+ background-position: 0 0;
+ background-image: url(images/mini.gif);
+ width: 16px;
+ height: 16px;
+ background-repeat: no-repeat;
+ border: none 1px;
+ font-size: 1px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_dialog a.cke_btn_locked,
+.cke_skin_v2 .cke_rtl .cke_dialog a.cke_btn_unlocked
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_dialog a.cke_btn_unlocked
+{
+ background-position: 0 -16px;
+ background-image: url(images/mini.gif);
+}
+
+.cke_skin_v2 .cke_dialog .cke_btn_over
+{
+ border: outset 1px;
+ cursor: pointer;
+}
+
+.cke_skin_v2 .cke_dialog .ImagePreviewBox
+{
+ border : 2px ridge black;
+ overflow : scroll;
+ height : 160px;
+ width : 230px;
+ padding : 2px;
+ background-color : white;
+}
+
+.cke_skin_v2 .cke_dialog .ImagePreviewBox table td {
+ white-space: normal;
+}
+
+/* Fix iframedialog's height doesn't stretch to 100% #4863.*/
+.cke_skin_v2 .cke_browser_iequirks .cke_dialog_page_contents
+{
+ _position: absolute;
+}
+
+.cke_skin_v2 .cke_dialog .ImagePreviewLoader
+{
+ position: absolute;
+ white-space : normal;
+ overflow : hidden;
+ height : 160px;
+ width : 230px;
+ margin : 2px;
+ padding : 2px;
+ opacity : 0.9;
+ filter : alpha(opacity=90);
+
+ background-color : #e4e4e4;
+}
+
+.cke_skin_v2 .cke_dialog .FlashPreviewBox
+{
+ white-space : normal;
+ border : 2px ridge black;
+ overflow : auto;
+ height : 160px;
+ width : 390px;
+ padding : 2px;
+ background-color : white;
+}
+
+.cke_skin_v2 .cke_dialog .cke_pastetext
+{
+ width: 346px;
+ height: 170px;
+}
+
+.cke_skin_v2 .cke_dialog .cke_pastetext textarea
+{
+ width: 340px;
+ height: 170px;
+ resize: none;
+}
+
+.cke_skin_v2 .cke_dialog iframe.cke_pasteframe
+{
+ width: 346px;
+ height: 130px;
+ background-color: white;
+ border: 1px solid black;
+}
+
+.cke_skin_v2 .cke_dialog .cke_dark_background
+{
+ text-align : center;
+ background-color: #eaead1;
+ font-size : 14px;
+}
+
+.cke_skin_v2 .cke_dialog .cke_light_background
+{
+ text-align : center;
+ background-color: #ffffbe;
+}
+
+.cke_skin_v2 .cke_dialog .cke_hand
+{
+ cursor: pointer;
+}
+
+.cke_skin_v2 .cke_disabled
+{
+ color: #a0a0a0;
+}
+
+/* High Contrast Mode */
+.cke_skin_v2 .cke_hc .cke_dialog_title,
+.cke_skin_v2 .cke_hc .cke_dialog_tabs,
+.cke_skin_v2 .cke_hc .cke_dialog_contents,
+.cke_skin_v2 .cke_hc .cke_dialog_footer
+{
+ border-left: 1px solid;
+ border-right: 1px solid;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_title
+{
+ border-top: 1px solid;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_footer
+{
+ border-bottom: 1px solid;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_close_button span
+{
+ display: inline;
+ cursor: pointer;
+ font-weight: bold;
+ position: relative;
+ top: 3px;
+}
+
+.cke_skin_v2 .cke_dialog_body .cke_label
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_dialog_body label.cke_required
+{
+ font-weight: bold;
+}
+
+.cke_skin_v2 .cke_hc .cke_dialog_body .cke_label
+{
+ display: inline;
+}
+
+.cke_skin_v2 .cke_hc a.cke_btn_locked,
+.cke_skin_v2 .cke_hc a.cke_btn_unlocked,
+.cke_skin_v2 .cke_hc a.cke_btn_reset
+{
+ border-style: solid;
+ float:left;
+ width:auto;
+ height:auto;
+}
+
+.cke_skin_v2 .cke_rtl.cke_hc a.cke_btn_locked,
+.cke_skin_v2 .cke_rtl.cke_hc a.cke_btn_unlocked,
+.cke_skin_v2 .cke_rtl.cke_hc a.cke_btn_reset
+{
+ float:right;
+}
+
+.cke_skin_v2 a.cke_smile img
+{
+ /* IE6 does not support transparent borders */
+ border: 2px solid #eaead1;
+}
+
+.cke_skin_v2 a.cke_smile:focus img,
+.cke_skin_v2 a.cke_smile:active img,
+.cke_skin_v2 a.cke_smile:hover img
+{
+ border-color: #C7C78F;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/editor.css b/devel/third-party/ckeditor/skins/v2/editor.css
new file mode 100644
index 0000000..a561c97
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/editor.css
@@ -0,0 +1,25 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at import url("reset.css");
+ at import url("mainui.css");
+ at import url("panel.css");
+ at import url("toolbar.css");
+ at import url("menu.css");
+ at import url("richcombo.css");
+ at import url("elementspath.css");
+ at import url("icons.css");
+ at import url("presets.css");
+
+/* Restore the container visibility */
+html .cke_skin_v2
+{
+ visibility: inherit;
+}
+
+html.cke_skin_v2_container
+{
+ visibility: visible;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/elementspath.css b/devel/third-party/ckeditor/skins/v2/elementspath.css
new file mode 100644
index 0000000..5ebefaf
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/elementspath.css
@@ -0,0 +1,74 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at media print
+{
+ .cke_path
+ {
+ display: none;
+ }
+}
+
+.cke_skin_v2 .cke_path
+{
+ padding: 3px 3px 0 3px;
+ display: inline-block;
+ float: left;
+}
+
+.cke_skin_v2 .cke_rtl .cke_path
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_path a,
+.cke_skin_v2 .cke_path .cke_empty
+{
+ display: inline-block;
+ float: left;
+ border: solid 1px #efefde;
+ background-color: #efefde;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ padding-left: 4px;
+ padding-right: 4px;
+ margin-bottom : 3px;
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_path .cke_empty
+{
+ visibility: hidden;
+}
+
+.cke_skin_v2 .cke_rtl .cke_path a,
+.cke_skin_v2 .cke_rtl .cke_path cke_empty
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_path a:hover,
+.cke_skin_v2 .cke_path a:focus,
+.cke_skin_v2 .cke_path a:active /* IE */
+{
+ border: solid 1px #316ac5;
+ background-color: #dff1ff;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ padding-left: 4px;
+ padding-right: 4px;
+ outline: none;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_path a,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_path .cke_empty
+{
+ float: none;
+}
+
+.cke_skin_v2 .cke_path .cke_label
+{
+ display: none;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/icons.css b/devel/third-party/ckeditor/skins/v2/icons.css
new file mode 100644
index 0000000..dea76b3
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/icons.css
@@ -0,0 +1,354 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_button_source .cke_icon
+{
+ background-position: 0 0;
+}
+
+.cke_skin_v2 .cke_button_newpage .cke_icon
+{
+ background-position: 0 -48px;
+}
+
+.cke_skin_v2 .cke_button_preview .cke_icon
+{
+ background-position: 0 -64px;
+}
+
+.cke_skin_v2 .cke_button_cut .cke_icon
+{
+ background-position: 0 -96px;
+}
+
+.cke_skin_v2 .cke_button_copy .cke_icon
+{
+ background-position: 0 -112px;
+}
+
+.cke_skin_v2 .cke_button_paste .cke_icon
+{
+ background-position: 0 -128px;
+}
+
+.cke_skin_v2 .cke_button_pastetext .cke_icon
+{
+ background-position: 0 -144px;
+}
+
+.cke_skin_v2 .cke_button_find .cke_icon
+{
+ background-position: 0 -240px;
+}
+
+.cke_skin_v2 .cke_button_replace .cke_icon
+{
+ background-position: 0 -256px;
+}
+
+.cke_skin_v2 .cke_button_selectAll .cke_icon
+{
+ background-position: 0 -272px;
+}
+
+.cke_skin_v2 .cke_button_removeFormat .cke_icon
+{
+ background-position: 0 -288px;
+}
+
+.cke_skin_v2 .cke_button_bold .cke_icon
+{
+ background-position: 0 -304px;
+}
+
+.cke_skin_v2 .cke_button_italic .cke_icon
+{
+ background-position: 0 -320px;
+}
+
+.cke_skin_v2 .cke_button_underline .cke_icon
+{
+ background-position: 0 -336px;
+}
+
+.cke_skin_v2 .cke_button_strike .cke_icon
+{
+ background-position: 0 -352px;
+}
+
+.cke_skin_v2 .cke_button_subscript .cke_icon
+{
+ background-position: 0 -368px;
+}
+
+.cke_skin_v2 .cke_button_superscript .cke_icon
+{
+ background-position: 0 -384px;
+}
+
+.cke_skin_v2 .cke_button_table .cke_icon
+{
+ background-position: 0 -608px;
+}
+
+.cke_skin_v2 .cke_button_horizontalrule .cke_icon
+{
+ background-position: 0 -624px;
+}
+
+.cke_skin_v2 .cke_button_smiley .cke_icon
+{
+ background-position: 0 -640px;
+}
+
+.cke_skin_v2 .cke_button_link .cke_icon
+{
+ background-position: 0 -528px;
+}
+
+.cke_skin_v2 .cke_button_unlink .cke_icon
+{
+ background-position: 0 -544px;
+}
+
+.cke_skin_v2 .cke_button_anchor .cke_icon
+{
+ background-position: 0 -560px;
+}
+
+.cke_skin_v2 .cke_button_image .cke_icon
+{
+ background-position: 0 -576px;
+}
+
+.cke_skin_v2 .cke_button_flash .cke_icon
+{
+ background-position: 0 -592px;
+}
+
+.cke_skin_v2 .cke_button_specialchar .cke_icon
+{
+ background-position: 0 -656px;
+}
+
+.cke_skin_v2 .cke_button_pagebreak .cke_icon
+{
+ background-position: 0 -672px;
+}
+
+.cke_skin_v2 .cke_button_print .cke_icon
+{
+ background-position: 0 -176px;
+}
+
+.cke_skin_v2 .cke_button_checkspell .cke_icon,
+.cke_skin_v2 .cke_button_scayt .cke_icon
+{
+ background-position: 0 -192px;
+}
+
+.cke_skin_v2 .cke_button_pagebreak .cke_icon
+{
+ background-position: 0 -672px;
+}
+
+.cke_skin_v2 .cke_button_textcolor .cke_icon
+{
+ background-position: 0 -704px;
+}
+
+.cke_skin_v2 .cke_button_bgcolor .cke_icon
+{
+ background-position: 0 -720px;
+}
+
+.cke_skin_v2 .cke_button_form .cke_icon
+{
+ background-position: 0 -752px;
+}
+
+.cke_skin_v2 .cke_button_checkbox .cke_icon
+{
+ background-position: 0 -768px;
+}
+
+.cke_skin_v2 .cke_button_radio .cke_icon
+{
+ background-position: 0 -784px;
+}
+
+.cke_skin_v2 .cke_button_textfield .cke_icon
+{
+ background-position: 0 -800px;
+}
+
+.cke_skin_v2 .cke_button_textarea .cke_icon
+{
+ background-position: 0 -816px;
+}
+.cke_skin_v2 .cke_button_showblocks .cke_icon
+{
+ background-position: 0 -1136px;
+}
+
+.cke_skin_v2 .cke_button_select .cke_icon
+{
+ background-position: 0 -832px;
+}
+
+.cke_skin_v2 .cke_button_button .cke_icon
+{
+ background-position: 0 -848px;
+}
+
+.cke_skin_v2 .cke_button_imagebutton .cke_icon
+{
+ background-position: 0 -864px;
+}
+
+.cke_skin_v2 .cke_button_hiddenfield .cke_icon
+{
+ background-position: 0 -880px;
+}
+
+.cke_skin_v2 .cke_button_undo .cke_icon
+{
+ background-position: 0 -208px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_button_undo .cke_icon
+{
+ background-position: 0 -224px;
+}
+
+.cke_skin_v2 .cke_button_redo .cke_icon
+{
+ background-position: 0 -224px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_button_redo .cke_icon
+{
+ background-position: 0 -208px;
+}
+
+.cke_skin_v2 .cke_button_templates .cke_icon
+{
+ background-position: 0 -80px;
+}
+
+.cke_skin_v2 .cke_button_numberedlist .cke_icon
+{
+ background-position: 0 -400px;
+}
+
+.cke_skin_v2 .cke_button_bulletedlist .cke_icon
+{
+ background-position: 0 -416px;
+}
+
+.cke_skin_v2 .cke_mixed_dir_content .cke_button_numberedlist .cke_icon
+{
+ background-position: 0 -1217px;
+}
+
+.cke_skin_v2 .cke_mixed_dir_content .cke_button_bulletedlist .cke_icon
+{
+ background-position: 0 -1233px;
+}
+
+.cke_skin_v2 .cke_button_outdent .cke_icon
+{
+ background-position: 0 -432px;
+}
+
+.cke_skin_v2 .cke_button_indent .cke_icon
+{
+ background-position: 0 -448px;
+}
+
+.cke_skin_v2 .cke_mixed_dir_content .cke_button_indent .cke_icon
+{
+ background-position: 0 -1265px;
+}
+
+.cke_skin_v2 .cke_mixed_dir_content .cke_button_outdent .cke_icon
+{
+ background-position: 0 -1249px;
+}
+
+.cke_skin_v2 .cke_button_justifyleft .cke_icon
+{
+ background-position: 0 -464px;
+}
+
+.cke_skin_v2 .cke_button_justifycenter .cke_icon
+{
+ background-position: 0 -480px;
+}
+
+.cke_skin_v2 .cke_button_justifyright .cke_icon
+{
+ background-position: 0 -496px;
+}
+
+.cke_skin_v2 .cke_button_justifyblock .cke_icon
+{
+ background-position: 0 -512px;
+}
+
+.cke_skin_v2 .cke_button_blockquote .cke_icon
+{
+ background-position: 0 -1152px;
+}
+
+.cke_skin_v2 .cke_button_flash .cke_icon
+{
+ background-position: 0 -592px;
+}
+
+.cke_skin_v2 .cke_button_pastefromword .cke_icon
+{
+ background-position: 0 -160px;
+}
+
+.cke_skin_v2 .cke_button_save .cke_icon
+{
+ background-position: 0 -32px;
+}
+
+.cke_skin_v2 .cke_button_about .cke_icon
+{
+ background-position: 0 -736px;
+}
+
+.cke_skin_v2 .cke_button_maximize .cke_icon
+{
+ background-position: 0 -1040px;
+}
+
+.cke_skin_v2 .cke_button_creatediv .cke_icon
+{
+ background-position: 0 -1168px;
+}
+
+.cke_skin_v2 .cke_button_editdiv .cke_icon
+{
+ background-position: 0 -1184px;
+}
+
+.cke_skin_v2 .cke_button_removediv .cke_icon
+{
+ background-position: 0 -1200px;
+}
+
+.cke_skin_v2 .cke_button_bidirtl .cke_icon
+{
+ background-position: 0 -1072px;
+}
+
+.cke_skin_v2 .cke_button_bidiltr .cke_icon
+{
+ background-position: 0 -1056px;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/mainui.css b/devel/third-party/ckeditor/skins/v2/mainui.css
new file mode 100644
index 0000000..4bb149b
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/mainui.css
@@ -0,0 +1,154 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_editor
+{
+/*
+ border: solid 1px #dcdcdc;
+*/
+ display: inline-table;
+ width: 100%;
+}
+
+.cke_skin_v2
+{
+ display: block;
+}
+
+.cke_skin_v2 span.cke_browser_webkit,
+.cke_skin_v2 span.cke_browser_gecko18
+{
+ display: block;
+}
+
+.cke_skin_v2 .cke_wrapper
+{
+ display: block;
+}
+
+.cke_skin_v2 .cke_browser_opera .cke_editor
+{
+ display: table;
+}
+
+.cke_skin_v2 .cke_top,
+.cke_skin_v2 .cke_bottom,
+ .cke_shared .cke_skin_v2
+{
+ background-color: #efefde;
+}
+
+.cke_skin_v2 .cke_top
+{
+ border-top: solid 1px #fafaf5;
+ border-left: solid 1px #fafaf5;
+ border-right: solid 1px #696969;
+ border-bottom: solid 2px #696969;
+}
+
+.cke_skin_v2 .cke_rtl .cke_top
+{
+ border-left: solid 1px #696969;
+ border-right: solid 1px #fafaf5;
+}
+
+.cke_skin_v2 .cke_bottom
+{
+ border-left: solid 1px #696969;
+ border-right: solid 1px #696969;
+ border-bottom: solid 1px #696969;
+}
+
+.cke_skin_v2 .cke_contents
+{
+ border: solid 1px #696969;
+ /* Prevent background content from penetrate through when switching between editing modes. (#4918) */
+ background-color: white;
+}
+
+.cke_skin_v2 .cke_focus
+{
+ outline: auto 5px -webkit-focus-ring-color;
+}
+
+.cke_skin_v2 textarea.cke_source
+{
+ font-family: 'Courier New' , Monospace;
+ font-size: small;
+ background-color: #fff;
+ white-space: pre;
+}
+
+.cke_skin_v2 .cke_browser_iequirks textarea.cke_source
+{
+ /* For IE6+Quirks only */
+ _white-space: normal;
+}
+
+.cke_skin_v2 .cke_resizer
+{
+ width: 12px;
+ height: 12px;
+ margin-top: 16px;
+ display: block;
+ float: right;
+ /* resizer.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -801px;
+ background-repeat: no-repeat;
+ cursor: se-resize;
+}
+
+.cke_skin_v2 .cke_rtl .cke_resizer
+{
+ cursor: sw-resize;
+ /* resizer_rtl.gif*/
+ background-position: 0 -828px;
+ float: left;
+}
+
+.cke_skin_v2 .cke_resizer_horizontal,
+.cke_skin_v2 .cke_rtl .cke_resizer_horizontal
+{
+ cursor: e-resize;
+}
+
+.cke_skin_v2 .cke_resizer_vertical,
+.cke_skin_v2 .cke_rtl .cke_resizer_vertical
+{
+ cursor: n-resize;
+}
+
+.cke_skin_v2 .cke_maximized .cke_resizer
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_browser_ie6 .cke_contents textarea,
+.cke_skin_v2 .cke_browser_ie7 .cke_contents textarea
+{
+ position: absolute;
+}
+
+/* All voice labels are not displayed. */
+.cke_skin_v2 .cke_voice_label
+{
+ display: none;
+}
+
+.cke_skin_v2 legend.cke_voice_label
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_browser_ie legend.cke_voice_label
+{
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ overflow: hidden;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/menu.css b/devel/third-party/ckeditor/skins/v2/menu.css
new file mode 100644
index 0000000..8b25e26
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/menu.css
@@ -0,0 +1,201 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_contextmenu
+{
+ padding: 2px;
+}
+
+.cke_skin_v2 .cke_menuitem a
+{
+ display:block;
+}
+
+.cke_skin_v2 .cke_menuitem span
+{
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_menuitem a:hover,
+.cke_skin_v2 .cke_menuitem a:focus,
+.cke_skin_v2 .cke_menuitem a:active
+{
+ background-color: #8f8f73;
+ display:block;
+}
+.cke_hc .cke_menuitem a:hover,
+.cke_hc .cke_menuitem a:focus,
+.cke_hc .cke_menuitem a:active
+{
+ border: 2px solid;
+}
+
+.cke_skin_v2 .cke_menuitem .cke_icon
+{
+ background-image: url(icons.png);
+ background-position: 100px;
+ background-repeat:no-repeat;
+ background-color: transparent;
+ width: 16px;
+ height: 16px;
+ float: left;
+}
+
+.cke_rtl .cke_skin_v2 .cke_menuitem .cke_icon
+{
+ background-image: url(icons_rtl.png);
+}
+
+.cke_skin_v2 .cke_menuitem .cke_disabled .cke_icon
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_menuitem .cke_icon_wrapper
+{
+ background-color: #e3e3c7;
+ border: solid 4px #e3e3c7;
+ width: 16px;
+ height: 16px;
+ float: left;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ clear: both;
+}
+
+.cke_rtl .cke_skin_v2 .cke_menuitem .cke_icon_wrapper
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_menuitem a:hover .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:focus .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:active .cke_icon_wrapper
+{
+ background-color: #9d9d9d;
+ border: solid 4px #9d9d9d;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_menuitem a:hover.cke_disabled .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:focus.cke_disabled .cke_icon_wrapper,
+.cke_skin_v2 .cke_menuitem a:active.cke_disabled .cke_icon_wrapper
+{
+ background-color: #e3e3c7;
+ border: solid 4px #e3e3c7;
+}
+
+.cke_skin_v2 .cke_menuitem .cke_label
+{
+ display:block;
+ padding-right: 3px;
+ padding-top: 5px;
+ padding-left: 4px;
+ height:19px;
+ margin-left: 24px;
+ background-color: #fff;
+}
+/* Set these after the document has been loaded and we know the dimensions*/
+.cke_skin_v2 .cke_frameLoaded .cke_menuitem .cke_label
+{
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_rtl .cke_skin_v2 .cke_menuitem .cke_label
+{
+ padding-right: 0;
+ margin-left: 0;
+ padding-left: 3px;
+ margin-right: 28px;
+}
+
+.cke_skin_v2 .cke_menuitem a.cke_disabled .cke_label
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.30; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_menuitem a:hover .cke_label,
+.cke_skin_v2 .cke_menuitem a:focus .cke_label,
+.cke_skin_v2 .cke_menuitem a:active .cke_label
+{
+ background-color: #8f8f73;
+ color: white;
+}
+
+.cke_skin_v2 .cke_menuitem a.cke_disabled:hover .cke_label,
+.cke_skin_v2 .cke_menuitem a.cke_disabled:focus .cke_label,
+.cke_skin_v2 .cke_menuitem a.cke_disabled:active .cke_label
+{
+ background-color: transparent;
+ color: black;
+}
+
+.cke_skin_v2 .cke_menuseparator
+{
+ background-color: #e3e3c7;
+ height: 2px;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+
+ _font-size: 0;
+}
+
+.cke_skin_v2 .cke_menuarrow
+{
+ /* arrowright.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 0 -784px;
+ background-repeat: no-repeat;
+ height: 5px;
+ width: 3px;
+ float: right;
+ margin-right: 2px;
+ margin-top: 3px;
+}
+
+/* Never applied */
+.cke_rtl .cke_skin_v2 .cke_menuarrow
+{
+ float: left;
+ margin-right: 0;
+ margin-left: 2px;
+ /* arrowleft.gif*/
+ background-position: 0 -763px;
+}
+
+.cke_skin_v2 .cke_menuarrow span
+{
+ display: none;
+}
+
+.cke_hc .cke_skin_v2 .cke_menuarrow
+{
+ width: auto;
+ margin-top: 0;
+}
+
+.cke_hc .cke_skin_v2 .cke_menuarrow span
+{
+ display: inline;
+}
+
+/* #3766 In the context menu, long labels with second level menu get wrapped */
+.cke_browser_ie.cke_ltr .cke_skin_v2 .cke_menuarrow
+{
+ position: absolute;
+ right: 2px;
+}
+
+.cke_browser_ie.cke_rtl .cke_skin_v2 .cke_menuarrow
+{
+ position: absolute;
+ left: 2px;
+}
+/* END #3766 */
diff --git a/devel/third-party/ckeditor/skins/v2/panel.css b/devel/third-party/ckeditor/skins/v2/panel.css
new file mode 100644
index 0000000..5064695
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/panel.css
@@ -0,0 +1,212 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+.cke_skin_v2 .cke_panel
+{
+ border: 1px solid #8f8f73;
+ background-color: #fff;
+
+ width: 120px;
+ height: 100px;
+
+ overflow:hidden;
+
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+}
+
+/* Ideally we would use "inherit here"... but you know... IE :( */
+.cke_skin_v2 .cke_panel iframe
+{
+ width: 100%;
+ height: 100%;
+}
+
+.cke_skin_v2 .cke_panel_frame .cke_label
+{
+ display: none;
+}
+
+/*
+ * All the following styles are to be used inside the iframe that holds panel
+ * contents. We don't use the cke_skin_default there to avoid the reset to be
+ * active.
+ * This is not an issue as we'll never have two skins running inside the same
+ * panel iframe.
+ */
+
+html.cke_skin_v2_container
+{
+ overflow: auto;
+ overflow-x: hidden;
+}
+
+body.cke_panel_frame
+{
+ overflow: auto;
+}
+
+ul.cke_panel_list
+{
+ list-style-type: none;
+ margin: 3px;
+ padding: 0px;
+ white-space: nowrap;
+}
+
+li.cke_panel_listItem
+{
+ margin: 0px;
+}
+
+.cke_panel_listItem a
+{
+ padding: 2px;
+ display: block;
+ border: 1px solid #fff;
+ color: inherit !important;
+ text-decoration: none;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+/* IE6 */
+* html .cke_panel_listItem a
+{
+ width : 100%;
+
+ /* IE is not able to inherit the color, so we must force it to black */
+ color: #000;
+}
+
+/* IE7 */
+*:first-child+html .cke_panel_listItem a
+{
+ /* IE is not able to inherit the color, so we must force it to black */
+ color: #000;
+}
+
+.cke_panel_listItem.cke_selected a
+{
+ border: 1px solid #ccc;
+ background-color: #e9f5ff;
+}
+
+.cke_panel_listItem a:hover,
+.cke_panel_listItem a:focus,
+.cke_panel_listItem a:active
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+}
+
+.cke_hc .cke_panel_listItem.cke_selected a,
+.cke_hc .cke_panel_listItem a:hover,
+.cke_hc .cke_panel_listItem a:focus,
+.cke_hc .cke_panel_listItem a:active
+{
+ border-width: 3px;
+ padding: 0px;
+}
+
+.cke_panel_grouptitle
+{
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+ font-weight: bold;
+ white-space: nowrap;
+ background-color: #dcdcdc;
+ color: #000;
+ margin:0px;
+ padding:3px;
+}
+
+.cke_panel_listItem p,
+.cke_panel_listItem h1,
+.cke_panel_listItem h2,
+.cke_panel_listItem h3,
+.cke_panel_listItem h4,
+.cke_panel_listItem h5,
+.cke_panel_listItem h6,
+.cke_panel_listItem pre
+{
+ margin-top: 3px;
+ margin-bottom: 3px;
+}
+
+.cke_skin_v2 .cke_button_textcolor_panel,
+.cke_skin_v2 .cke_button_bgcolor_panel
+{
+ width: 150px;
+ height: 135px;
+}
+
+.cke_colorblock
+{
+ padding: 3px;
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_colorblock,
+.cke_colorblock a
+{
+ text-decoration: none;
+ color: #000;
+}
+
+span.cke_colorbox
+{
+ width: 10px;
+ height: 10px;
+ border: #808080 1px solid;
+ float: left;
+}
+
+.cke_rtl span.cke_colorbox
+{
+ float: right;
+}
+
+a.cke_colorbox
+{
+ border: #fff 1px solid;
+ padding: 2px;
+ float: left;
+}
+
+.cke_rtl a.cke_colorbox
+{
+ float: right;
+}
+
+a:hover.cke_colorbox,
+a:focus.cke_colorbox,
+a:active.cke_colorbox
+{
+ border: #316ac5 1px solid;
+ background-color: #dff1ff;
+}
+
+a.cke_colorauto,
+a.cke_colormore
+{
+ border: #fff 1px solid;
+ padding: 2px;
+ display: block;
+ cursor: pointer;
+}
+
+a:hover.cke_colorauto,
+a:hover.cke_colormore,
+a:focus.cke_colorauto,
+a:focus.cke_colormore,
+a:active.cke_colorauto,
+a:active.cke_colormore
+{
+ border: #316ac5 1px solid;
+ background-color: #dff1ff;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/presets.css b/devel/third-party/ckeditor/skins/v2/presets.css
new file mode 100644
index 0000000..a289b48
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/presets.css
@@ -0,0 +1,50 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/* "Source" button label */
+.cke_skin_v2 .cke_button_source .cke_label
+{
+ display: inline; /* FF2 */
+ display: inline-block;
+}
+
+/* "Styles" panel size */
+.cke_skin_v2 .cke_styles_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Format" panel size */
+.cke_skin_v2 .cke_format_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Font" panel size */
+.cke_skin_v2 .cke_font_panel
+{
+ width: 150px;
+ height: 170px;
+}
+
+/* "Font Size" panel size */
+.cke_skin_v2 .cke_fontSize_panel
+{
+ height: 170px;
+}
+
+/* "Font Size" combo width */
+.cke_skin_v2 .cke_fontSize .cke_text
+{
+ width: 20px;
+}
+
+/* "Font Size" combo width (IE Quirks) */
+.cke_skin_v2 .cke_browser_iequirks .cke_fontSize .cke_text
+{
+ width: 32px;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/reset.css b/devel/third-party/ckeditor/skins/v2/reset.css
new file mode 100644
index 0000000..0903971
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/reset.css
@@ -0,0 +1,84 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Reset and Default Values
+ */
+.cke_skin_v2 *,
+.cke_skin_v2 a:hover,
+.cke_skin_v2 a:link,
+.cke_skin_v2 a:visited,
+.cke_skin_v2 a:active
+{
+ margin: 0;
+ padding: 0;
+ border: 0;
+ background: transparent;
+ text-decoration: none;
+ font: normal normal normal 100% Sans-Serif;
+ width: auto;
+ height: auto;
+ border-collapse: collapse;
+ text-align: left;
+ vertical-align: baseline;
+ white-space: nowrap;
+ cursor: auto;
+ color: #000;
+
+ font-size: 11px;
+ font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
+}
+
+.cke_skin_v2 .cke_rtl *,
+.cke_skin_v2 .cke_rtl a:hover,
+.cke_skin_v2 .cke_rtl a:link,
+.cke_skin_v2 .cke_rtl a:visited,
+.cke_skin_v2 .cke_rtl a:active,
+.cke_rtl .cke_skin_v2 *,
+.cke_rtl .cke_skin_v2 a:hover,
+.cke_rtl .cke_skin_v2 a:link,
+.cke_rtl .cke_skin_v2 a:visited,
+.cke_rtl .cke_skin_v2 a:active
+{
+ text-align: right;
+}
+
+.cke_skin_v2 iframe
+{
+ vertical-align: inherit; /** For IE */
+}
+
+.cke_skin_v2 textarea
+{
+ white-space: pre;
+}
+
+.cke_skin_v2 .cke_browser_gecko textarea
+{
+ cursor: text;
+}
+
+.cke_skin_v2 .cke_browser_gecko textarea[disabled]
+{
+ cursor: default;
+}
+
+.cke_skin_v2 input[type="text"],
+.cke_skin_v2 input[type="password"]
+{
+ cursor: text;
+}
+
+.cke_skin_v2 input[type="text"][disabled],
+.cke_skin_v2 input[type="password"][disabled]
+{
+ cursor: default;
+}
+
+.cke_skin_v2 fieldset
+{
+ padding: 10px;
+ border: 2px groove #E0DFE3;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/richcombo.css b/devel/third-party/ckeditor/skins/v2/richcombo.css
new file mode 100644
index 0000000..3641168
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/richcombo.css
@@ -0,0 +1,297 @@
+/* Special Combo */
+
+.cke_skin_v2 .cke_rcombo
+{
+ display: inline-block;
+ margin-left: 2px;
+ margin-right: 2px;
+ margin-top: 2px;
+ vertical-align: top;
+ float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rcombo
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rcombo
+{
+ #float: none;
+}
+
+.cke_skin_v2 .cke_rcombopanel
+{
+ border: 1px solid #316ac5;
+ -moz-border-radius-topleft: 0;
+ -webkit-border-top-left-radius: 0;
+ border-top-left-radius: 0;
+ /*margin-left: 1px;*/
+ /*_margin-left: 0;*/
+}
+
+.cke_skin_v2 .cke_rcombo a
+{
+ display: inline-block;
+ float: left;
+
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo a
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo a
+{
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1.0; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_rcombo .cke_label
+{
+ display: inline-block;
+ float: left;
+
+ line-height: 24px;
+ height: 22px;
+ vertical-align: top;
+ padding-left: 4px;
+ padding-right: 5px;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ background-color: #f1f1e3; /* Because of IE6+ClearType */
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_label
+{
+ float: right;
+ padding-right: 4px;
+ padding-left: 5px;
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_label
+{
+ filter: alpha(opacity=100);
+ opacity: 1.0;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_inline_label
+{
+ color: #fff;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_text
+{
+ border: 1px solid #8f8f73;
+ background-color: #fff;
+ height: 12px;
+ width:60px;
+ padding-top: 4px;
+ padding-bottom: 4px;
+ padding-left: 5px;
+ padding-right: 5px;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ display: inline-block;
+ vertical-align: top;
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_ltr .cke_rcombo .cke_text
+{
+ -moz-border-radius-topleft: 3px;
+ -webkit-border-top-left-radius: 3px;
+ border-top-left-radius: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ -webkit-border-bottom-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_text
+{
+ -moz-border-radius-topright: 3px;
+ -webkit-border-top-right-radius: 3px;
+ border-top-right-radius: 3px;
+ -moz-border-radius-bottomright: 3px;
+ -webkit-border-bottom-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+
+/* Fix for IE height */
+.cke_skin_v2 .cke_browser_iequirks .cke_rcombo .cke_text
+{
+ height: 22px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_openbutton
+{
+ display: inline-block;
+
+ background-position: 5px -715px;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: no-repeat;
+
+ border-top: 1px solid #8f8f73;
+ border-bottom: 1px solid #8f8f73;
+ width: 14px;
+ height: 20px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_openbutton span
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_openbutton span
+{
+ display : inline;
+}
+
+.cke_skin_v2 .cke_ltr .cke_rcombo .cke_openbutton
+{
+ border-right: 1px solid #8f8f73;
+ -moz-border-radius-topright: 3px;
+ -webkit-border-top-right-radius: 3px;
+ border-top-right-radius: 3px;
+ -moz-border-radius-bottomright: 3px;
+ -webkit-border-bottom-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_openbutton
+{
+ border-left: 1px solid #8f8f73;
+ -moz-border-radius-topleft: 3px;
+ -webkit-border-top-left-radius: 3px;
+ border-top-left-radius: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ -webkit-border-bottom-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_off a:hover,
+.cke_skin_v2 .cke_rcombo .cke_off a:focus,
+.cke_skin_v2 .cke_rcombo .cke_off a:active,
+.cke_skin_v2 .cke_rcombo .cke_on a
+{
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_rcombo .cke_off a:hover .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_off a:focus .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_off a:active .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_on .cke_text
+{
+ border-color: #316ac5;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_off a:hover .cke_openbutton,
+.cke_skin_v2 .cke_rcombo .cke_off a:focus .cke_openbutton,
+.cke_skin_v2 .cke_rcombo .cke_off a:active .cke_openbutton,
+.cke_skin_v2 .cke_rcombo .cke_on .cke_openbutton
+{
+ border-color: #316ac5;
+ background-color: #dff1ff;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_on .cke_text
+{
+ -moz-border-radius-bottomleft: 0px;
+ -webkit-border-bottom-left-radius: 0px;
+ border-bottom-left-radius: 0px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_on .cke_openbutton
+{
+ -moz-border-radius-bottomright: 0px;
+ -webkit-border-bottom-right-radius: 0px;
+ border-bottom-right-radius: 0px;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_label
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_disabled .cke_label
+{
+ filter: alpha(opacity=70);
+ opacity: 0.7;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_openbutton
+{
+ filter: alpha(opacity=50); /* IE */
+ opacity: 0.5; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_disabled .cke_text,
+.cke_skin_v2 .cke_hc .cke_rcombo .cke_disabled .cke_openbutton
+{
+ filter: alpha(opacity=80);
+ opacity: 0.8;
+}
+
+.cke_skin_v2 .cke_rcombo .cke_disabled .cke_text
+{
+ color: #fff;
+}
+
+/* Firefox 2 & WebKit Section */
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rcombo .cke_openbutton,
+.cke_skin_v2 .cke_browser_webkit .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_webkit .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_webkit .cke_rcombo .cke_openbutton
+{
+ display: block;
+ float: left;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_rcombo .cke_openbutton,
+.cke_skin_v2 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_label,
+.cke_skin_v2 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_text,
+.cke_skin_v2 .cke_browser_webkit .cke_rtl .cke_rcombo .cke_openbutton
+{
+ float: right;
+}
+
+/*** IE ***/
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_rcombo,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_rcombo a,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_rcombo .cke_label
+{
+ float: none;
+}
+
+.cke_skin_v2 .cke_browser_iequirks .cke_rcombo .cke_openbutton
+{
+ height: 22px;
+}
+
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_font .cke_text,
+.cke_skin_v2 .cke_rtl .cke_rcombo .cke_fontSize .cke_text
+{
+ direction: ltr;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/skin.js b/devel/third-party/ckeditor/skins/v2/skin.js
new file mode 100644
index 0000000..f7d5060
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/skin.js
@@ -0,0 +1,77 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.skins.add( 'v2', (function()
+{
+ var preload = [];
+
+ if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )
+ {
+ // For IE6, we need to preload some images, otherwhise they will be
+ // downloaded several times (CSS background bug).
+ preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' );
+ }
+
+ return {
+ preload : preload,
+ editor : { css : [ 'editor.css' ] },
+ dialog : { css : [ 'dialog.css' ] },
+ templates : { css : [ 'templates.css' ] },
+ margins : [ 0, 14, 18, 14 ]
+ };
+})() );
+
+(function()
+{
+ CKEDITOR.dialog ? dialogSetup() : CKEDITOR.on( 'dialogPluginReady', dialogSetup );
+
+ function dialogSetup()
+ {
+ CKEDITOR.dialog.on( 'resize', function( evt )
+ {
+ var data = evt.data,
+ width = data.width,
+ height = data.height,
+ dialog = data.dialog,
+ contents = dialog.parts.contents;
+
+ if ( data.skin != 'v2' )
+ return;
+
+ contents.setStyles(
+ {
+ width : width + 'px',
+ height : height + 'px'
+ });
+
+ if ( !CKEDITOR.env.ie )
+ return;
+
+ // Fix the size of the elements which have flexible lengths.
+ setTimeout( function()
+ {
+ var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),
+ body = innerDialog.getChild( 0 );
+
+ // tc
+ var el = innerDialog.getChild( 2 );
+ el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' );
+
+ // bc
+ el = innerDialog.getChild( 7 );
+ el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' );
+
+ // ml
+ el = innerDialog.getChild( 4 );
+ el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+
+ // mr
+ el = innerDialog.getChild( 5 );
+ el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );
+ },
+ 100 );
+ });
+ }
+})();
diff --git a/devel/third-party/ckeditor/skins/v2/templates.css b/devel/third-party/ckeditor/skins/v2/templates.css
new file mode 100644
index 0000000..7964e37
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/templates.css
@@ -0,0 +1,87 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+/**
+ * Styles for the "templates" plugin.
+ */
+
+.cke_skin_v2 .cke_tpl_list
+{
+ border: #dcdcdc 2px solid;
+ background-color: #ffffff;
+ overflow: auto;
+ width: 100%;
+ height: 220px;
+}
+
+.cke_skin_v2 .cke_tpl_item
+{
+ margin: 5px;
+ padding: 7px;
+ border: #eeeeee 1px solid;
+ *width: 88%;
+}
+
+.cke_skin_v2 .cke_tpl_preview
+{
+ border-collapse: separate;
+ text-indent:0;
+ width: 100%;
+}
+.cke_skin_v2 .cke_tpl_preview td
+{
+ padding: 2px;
+ vertical-align: middle;
+}
+.cke_skin_v2 .cke_tpl_preview .cke_tpl_preview_img
+{
+ width: 100px;
+}
+.cke_skin_v2 .cke_tpl_preview span
+{
+ white-space: normal;
+}
+
+.cke_skin_v2 .cke_tpl_title
+{
+ font-weight: bold;
+}
+
+.cke_skin_v2 .cke_tpl_list a:active .cke_tpl_item,
+.cke_skin_v2 .cke_tpl_list a:hover .cke_tpl_item,
+.cke_skin_v2 .cke_tpl_list a:focus .cke_tpl_item
+{
+ border: #ff9933 1px solid !important;
+ background-color: #fffacd !important;
+}
+
+.cke_skin_v2 .cke_tpl_list a:active *,
+.cke_skin_v2 .cke_tpl_list a:hover *,
+.cke_skin_v2 .cke_tpl_list a:focus *
+{
+ cursor: pointer;
+}
+
+/* IE6 contextual selectors childs won't get :hover transition until,
+ the hover style of the link itself contains certain CSS declarations.*/
+.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:active,
+.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:hover,
+.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:focus
+{
+ background-position: 0 0;
+}
+
+.cke_skin_v2 .cke_tpl_list a:active .cke_tpl_item,
+.cke_skin_v2 .cke_tpl_list a:hover .cke_tpl_item,
+.cke_skin_v2 .cke_tpl_list a:focus .cke_tpl_item
+{
+ border-width: 3px;
+}
+
+.cke_skin_v2 .cke_tpl_empty, .cke_tpl_loading
+{
+ text-align: center;
+ padding: 5px;
+}
diff --git a/devel/third-party/ckeditor/skins/v2/toolbar.css b/devel/third-party/ckeditor/skins/v2/toolbar.css
new file mode 100644
index 0000000..b6d7a97
--- /dev/null
+++ b/devel/third-party/ckeditor/skins/v2/toolbar.css
@@ -0,0 +1,423 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+ at media print
+{
+ .cke_skin_v2 .cke_toolbox
+ {
+ display: none;
+ }
+}
+
+.cke_skin_v2 .cke_browser_webkit .cke_toolbox,
+.cke_skin_v2 .cke_browser_webkit .cke_toolbox > span
+{
+ white-space: normal;
+}
+
+.cke_skin_v2 .cke_toolbox
+{
+ clear: both;
+ /* Define the padding-bottom otherwise the collapser button will not be clickable #4932*/
+ padding-bottom: 1px;
+}
+
+.cke_skin_v2 a.cke_toolbox_collapser,
+.cke_skin_v2 a:hover.cke_toolbox_collapser
+{
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 3px -739px; /* +3px +4px */
+ background-repeat: no-repeat;
+ width: 11px;
+ height: 11px;
+ float: right;
+ border: outset 1px;
+ margin: 11px 2px 2px;
+ cursor: pointer;
+}
+
+.cke_skin_v2 a.cke_toolbox_collapser span
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_hc a.cke_toolbox_collapser span
+{
+ font-size: 10px;
+ font-weight: bold;
+ font-family: Arial;
+ display: inline;
+}
+
+.cke_skin_v2 .cke_rtl a.cke_toolbox_collapser,
+.cke_skin_v2 .cke_rtl a:hover.cke_toolbox_collapser
+{
+ float: left;
+}
+
+.cke_skin_v2 a.cke_toolbox_collapser_min,
+.cke_skin_v2 a:hover.cke_toolbox_collapser_min
+{
+ /* arrowleft.gif*/
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-position: 4px -760px; /* +4px +3px */
+ background-repeat: no-repeat;
+ margin: 2px;
+}
+
+.cke_skin_v2 .cke_rtl a.cke_toolbox_collapser_min,
+.cke_skin_v2 .cke_rtl a:hover.cke_toolbox_collapser_min
+{
+ /* arrowright.gif*/
+ background-position: 4px -781px; /* +2px +3px */
+}
+
+.cke_skin_v2 .cke_toolbar
+{
+ padding-top: 1px;
+ padding-bottom: 1px;
+ display: inline-block;
+ float: left;
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolbar
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_toolgroup
+{
+ display: inline-block;
+ float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_toolgroup
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolgroup
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolgroup
+{
+ #float: none;
+}
+
+.cke_skin_v2 .cke_separator
+{
+ display: inline-block;
+ float: left;
+ border-left: solid 1px #999;
+ margin: 4px 2px;
+ height: 16px;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_separator
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_separator
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_separator
+{
+ #float: none;
+}
+
+.cke_skin_v2 .cke_break
+{
+ clear: left;
+}
+
+.cke_skin_v2 .cke_rtl .cke_break
+{
+ clear: right;
+}
+
+.cke_skin_v2 .cke_toolbar_start
+{
+ display: inline-block;
+ background-image: url(images/toolbar_start.gif);
+ background-repeat: no-repeat;
+ margin: 4px 2px 0 2px;
+ width: 3px;
+ height: 20px;
+ float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_toolbar_start
+{
+ #float: none;
+ #display: inline;
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolbar_start
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_start
+{
+ #float: none;
+}
+
+.cke_skin_v2 .cke_toolbar_end
+{
+ display: inline-block;
+ float: left;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_toolbar_end
+{
+ #float: none;
+ #display: inline
+}
+
+.cke_skin_v2 .cke_rtl .cke_toolbar_end
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+ #float: none;
+}
+
+.cke_skin_v2 .cke_button a,
+.cke_skin_v2 .cke_button a:hover,
+.cke_skin_v2 .cke_button a:focus,
+.cke_skin_v2 .cke_button a:active,
+.cke_skin_v2 .cke_button a.cke_off
+{
+ border: solid 1px #efefde;
+ display: inline-block;
+ border-radius: 3px;
+ outline: none;
+ padding-top: 2px;
+ padding-left: 4px;
+ padding-right: 4px;
+ padding-bottom: 2px;
+ height: 18px;
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_button a,
+.cke_skin_v2 .cke_button a.cke_off
+{
+ background-color: #efefde;
+ filter: alpha(opacity=70); /* IE */
+ opacity: 0.70; /* Safari, Opera and Mozilla */
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+}
+
+.cke_skin_v2 .cke_hc .cke_button a,
+.cke_skin_v2 .cke_hc .cke_button a.cke_off
+{
+ opacity: 1.0;
+ filter: alpha(opacity=100);
+}
+
+.cke_skin_v2 .cke_button a.cke_on
+{
+ border: solid 1px #316ac5;
+ background-color: #a3d7ff;
+ filter: alpha(opacity=100); /* IE */
+ opacity: 1; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_button a.cke_disabled *,
+.cke_skin_v2 .cke_browser_ie a:hover.cke_button .cke_disabled *
+{
+ filter: alpha(opacity=30); /* IE */
+ opacity: 0.3; /* Safari, Opera and Mozilla */
+}
+
+.cke_skin_v2 .cke_hc .cke_button a.cke_disabled *,
+.cke_skin_v2 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled *
+{
+ filter: alpha(opacity=60);
+ opacity: 0.6;
+}
+
+.cke_skin_v2 .cke_button a:hover,
+.cke_skin_v2 .cke_button a:focus,
+.cke_skin_v2 .cke_button a:active /* IE */
+{
+ border: solid 1px #316ac5;
+ background-color: #dff1ff;
+ padding: 2px 4px;
+}
+
+.cke_skin_v2 .cke_hc .cke_button a:hover,
+.cke_skin_v2 .cke_hc .cke_button a:focus,
+.cke_skin_v2 .cke_hc .cke_button a:active /* IE */
+{
+ padding: 0 2px !important;
+ border-width: 3px;
+}
+
+.cke_skin_v2 .cke_button .cke_icon
+{
+ background-image: url(icons.png);
+ background-position: 100px;
+ background-repeat:no-repeat;
+ margin-top:1px;
+ width: 16px;
+ height: 16px;
+ display: inline-block;
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_rtl .cke_button .cke_icon
+{
+ background-image: url(icons_rtl.png);
+}
+
+.cke_skin_v2 .cke_button .cke_label
+{
+ cursor: default;
+ display: none;
+ padding-left: 3px;
+ vertical-align:middle;
+}
+
+.cke_skin_v2 .cke_hc .cke_button .cke_label
+{
+ padding: 0;
+ display: inline-block;
+}
+
+.cke_skin_v2 .cke_hc .cke_button .cke_icon
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_accessibility
+{
+ position: absolute;
+ display: block;
+ width: 0;
+ height: 0;
+ overflow: hidden;
+}
+
+.cke_skin_v2 .cke_button .cke_buttonarrow
+{
+ display: inline-block;
+ height: 17px;
+ width: 8px;
+ background-position: 2px -717px;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+ background-repeat: no-repeat;
+ cursor: default;
+}
+
+.cke_skin_v2 .cke_rtl .cke_button .cke_buttonarrow
+{
+ background-position: 0 -717px;
+ background-image: url(images/sprites.png);
+ _background-image: url(images/sprites_ie6.png);
+}
+
+/*** Firefox 2 ***/
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_toolbar,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button a,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button a.cke_off,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_icon,
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_buttonarrow,
+.cke_skin_v2 .cke_browser_gecko18 .cke_separator,
+.cke_skin_v2 .cke_browser_gecko18 .cke_toolbar_start
+{
+ display: block;
+ float: left;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_hc .cke_button .cke_icon
+{
+ display: none;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_toolbar,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button a,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button a.cke_off,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button .cke_icon,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button .cke_buttonarrow,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_separator,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_toolbar_start
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_break
+{
+ float: left;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl span.cke_inline_label
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_button .cke_label,
+.cke_skin_v2 .cke_browser_gecko18 .cke_rtl .cke_break
+{
+ float: right;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_separator
+{
+ margin-top: 4px;
+}
+
+.cke_skin_v2 .cke_browser_gecko18 .cke_button .cke_label
+{
+ padding-top: 3px;
+}
+
+/*** IE6 ***/
+
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolgroup,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_separator,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_start,
+.cke_skin_v2 .cke_browser_ie .cke_rtl .cke_toolbar_end
+{
+ float: none;
+}
+
+/*** IE8 ***/
+
+.cke_skin_v2 .cke_browser_ie8 .cke_toolbar,
+.cke_skin_v2 .cke_browser_ie8 .cke_toolgroup
+{
+ vertical-align: top;
+}
+
+.cke_skin_v2 .cke_browser_iequirks.cke_browser_ie8 .cke_toolbar,
+.cke_skin_v2 .cke_browser_iequirks.cke_browser_ie8 .cke_toolgroup
+{
+ /* revert previous */
+ vertical-align: baseline;
+}
+
+/* Fix cursor shape consistency on toolbar combos (#4031) */
+.cke_skin_v2 .cke_browser_ie .cke_rcombo,
+.cke_skin_v2 .cke_browser_ie .cke_rcombo *
+{
+ cursor: default;
+}
diff --git a/devel/third-party/ckeditor/themes/default/theme.js b/devel/third-party/ckeditor/themes/default/theme.js
new file mode 100644
index 0000000..00219ff
--- /dev/null
+++ b/devel/third-party/ckeditor/themes/default/theme.js
@@ -0,0 +1,356 @@
+/*
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.themes.add( 'default', (function()
+{
+ function checkSharedSpace( editor, spaceName )
+ {
+ var container,
+ element;
+
+ // Try to retrieve the target element from the sharedSpaces settings.
+ element = editor.config.sharedSpaces;
+ element = element && element[ spaceName ];
+ element = element && CKEDITOR.document.getById( element );
+
+ // If the element is available, we'll then create the container for
+ // the space.
+ if ( element )
+ {
+ // Creates an HTML structure that reproduces the editor class hierarchy.
+ var html =
+ '<span class="cke_shared">' +
+ '<span class="' + editor.skinClass + ' cke_editor_' + editor.name + '">' +
+ '<span class="' + CKEDITOR.env.cssClass + '">' +
+ '<span class="cke_wrapper cke_' + editor.lang.dir + '">' +
+ '<span class="cke_editor">' +
+ '<div class="cke_' + spaceName + '">' +
+ '</div></span></span></span></span></span>';
+
+ var mainContainer = element.append( CKEDITOR.dom.element.createFromHtml( html, element.getDocument() ) );
+
+ // Only the first container starts visible. Others get hidden.
+ if ( element.getCustomData( 'cke_hasshared' ) )
+ mainContainer.hide();
+ else
+ element.setCustomData( 'cke_hasshared', 1 );
+
+ // Get the deeper inner <div>.
+ container = mainContainer.getChild( [0,0,0,0] );
+
+ // When the editor gets focus, we show the space container, hiding others.
+ editor.on( 'focus', function()
+ {
+ for ( var i = 0, sibling, children = element.getChildren() ; ( sibling = children.getItem( i ) ) ; i++ )
+ {
+ if ( sibling.type == CKEDITOR.NODE_ELEMENT
+ && !sibling.equals( mainContainer )
+ && sibling.hasClass( 'cke_shared' ) )
+ {
+ sibling.hide();
+ }
+ }
+
+ mainContainer.show();
+ });
+
+ editor.on( 'destroy', function()
+ {
+ mainContainer.remove();
+ });
+ }
+
+ return container;
+ }
+
+ return {
+ build : function( editor, themePath )
+ {
+ var name = editor.name,
+ element = editor.element,
+ elementMode = editor.elementMode;
+
+ if ( !element || elementMode == CKEDITOR.ELEMENT_MODE_NONE )
+ return;
+
+ if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+ element.hide();
+
+ // Get the HTML for the predefined spaces.
+ var topHtml = editor.fire( 'themeSpace', { space : 'top', html : '' } ).html;
+ var contentsHtml = editor.fire( 'themeSpace', { space : 'contents', html : '' } ).html;
+ var bottomHtml = editor.fireOnce( 'themeSpace', { space : 'bottom', html : '' } ).html;
+
+ var height = contentsHtml && editor.config.height;
+
+ var tabIndex = editor.config.tabIndex || editor.element.getAttribute( 'tabindex' ) || 0;
+
+ // The editor height is considered only if the contents space got filled.
+ if ( !contentsHtml )
+ height = 'auto';
+ else if ( !isNaN( height ) )
+ height += 'px';
+
+ var style = '';
+ var width = editor.config.width;
+
+ if ( width )
+ {
+ if ( !isNaN( width ) )
+ width += 'px';
+
+ style += "width: " + width + ";";
+ }
+
+ var sharedTop = topHtml && checkSharedSpace( editor, 'top' ),
+ sharedBottoms = checkSharedSpace( editor, 'bottom' );
+
+ sharedTop && ( sharedTop.setHtml( topHtml ) , topHtml = '' );
+ sharedBottoms && ( sharedBottoms.setHtml( bottomHtml ), bottomHtml = '' );
+
+ var container = CKEDITOR.dom.element.createFromHtml( [
+ '<span' +
+ ' id="cke_', name, '"' +
+ ' onmousedown="return false;"' +
+ ' class="', editor.skinClass, ' cke_editor_', name, '"' +
+ ' dir="', editor.lang.dir, '"' +
+ ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' +
+ ' lang="', editor.langCode, '"' +
+ ( CKEDITOR.env.webkit? ' tabindex="' + tabIndex + '"' : '' ) +
+ ' role="application"' +
+ ' aria-labelledby="cke_', name, '_arialbl"' +
+ ( style ? ' style="' + style + '"' : '' ) +
+ '>' +
+ '<span id="cke_', name, '_arialbl" class="cke_voice_label">' + editor.lang.editor + '</span>' +
+ '<span class="' , CKEDITOR.env.cssClass, '" role="presentation">' +
+ '<span class="cke_wrapper cke_', editor.lang.dir, '" role="presentation">' +
+ '<table class="cke_editor" border="0" cellspacing="0" cellpadding="0" role="presentation"><tbody>' +
+ '<tr', topHtml ? '' : ' style="display:none"', ' role="presentation"><td id="cke_top_' , name, '" class="cke_top" role="presentation">' , topHtml , '</td></tr>' +
+ '<tr', contentsHtml ? '' : ' style="display:none"', ' role="presentation"><td id="cke_contents_', name, '" class="cke_contents" style="height:', height, '" role="presentation">', contentsHtml, '</td></tr>' +
+ '<tr', bottomHtml ? '' : ' style="display:none"', ' role="presentation"><td id="cke_bottom_' , name, '" class="cke_bottom" role="presentation">' , bottomHtml , '</td></tr>' +
+ '</tbody></table>' +
+ //Hide the container when loading skins, later restored by skin css.
+ '<style>.', editor.skinClass, '{visibility:hidden;}</style>' +
+ '</span>' +
+ '</span>' +
+ '</span>' ].join( '' ) );
+
+ container.getChild( [1, 0, 0, 0, 0] ).unselectable();
+ container.getChild( [1, 0, 0, 0, 2] ).unselectable();
+
+ if ( elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+ container.insertAfter( element );
+ else
+ element.append( container );
+
+ /**
+ * The DOM element that holds the main editor interface.
+ * @name CKEDITOR.editor.prototype.container
+ * @type CKEDITOR.dom.element
+ * @example
+ * var editor = CKEDITOR.instances.editor1;
+ * alert( <b>editor.container</b>.getName() ); "span"
+ */
+ editor.container = container;
+
+ // Disable browser context menu for editor's chrome.
+ container.disableContextMenu();
+
+ editor.fireOnce( 'themeLoaded' );
+ editor.fireOnce( 'uiReady' );
+ },
+
+ buildDialog : function( editor )
+ {
+ var baseIdNumber = CKEDITOR.tools.getNextNumber();
+
+ var element = CKEDITOR.dom.element.createFromHtml( [
+ '<div class="cke_editor_' + editor.name.replace('.', '\\.') + '_dialog cke_skin_', editor.skinName,
+ '" dir="', editor.lang.dir, '"' +
+ ' lang="', editor.langCode, '"' +
+ ' role="dialog"' +
+ ' aria-labelledby="%title#"' +
+ '>' +
+ '<table class="cke_dialog', ' ' + CKEDITOR.env.cssClass,
+ ' cke_', editor.lang.dir, '" style="position:absolute" role="presentation">' +
+ '<tr><td role="presentation">' +
+ '<div class="%body" role="presentation">' +
+ '<div id="%title#" class="%title" role="presentation"></div>' +
+ '<a id="%close_button#" class="%close_button" href="javascript:void(0)" title="' + editor.lang.common.close+'" role="button"><span class="cke_label">X</span></a>' +
+ '<div id="%tabs#" class="%tabs" role="tablist"></div>' +
+ '<table class="%contents" role="presentation"><tr>' +
+ '<td id="%contents#" class="%contents" role="presentation"></td>' +
+ '</tr></table>' +
+ '<div id="%footer#" class="%footer" role="presentation"></div>' +
+ '</div>' +
+ '<div id="%tl#" class="%tl"></div>' +
+ '<div id="%tc#" class="%tc"></div>' +
+ '<div id="%tr#" class="%tr"></div>' +
+ '<div id="%ml#" class="%ml"></div>' +
+ '<div id="%mr#" class="%mr"></div>' +
+ '<div id="%bl#" class="%bl"></div>' +
+ '<div id="%bc#" class="%bc"></div>' +
+ '<div id="%br#" class="%br"></div>' +
+ '</td></tr>' +
+ '</table>',
+
+ //Hide the container when loading skins, later restored by skin css.
+ ( CKEDITOR.env.ie ? '' : '<style>.cke_dialog{visibility:hidden;}</style>' ),
+
+ '</div>'
+ ].join( '' )
+ .replace( /#/g, '_' + baseIdNumber )
+ .replace( /%/g, 'cke_dialog_' ) );
+
+ var body = element.getChild( [ 0, 0, 0, 0, 0 ] ),
+ title = body.getChild( 0 ),
+ close = body.getChild( 1 );
+
+ // Make the Title and Close Button unselectable.
+ title.unselectable();
+ close.unselectable();
+
+
+ return {
+ element : element,
+ parts :
+ {
+ dialog : element.getChild( 0 ),
+ title : title,
+ close : close,
+ tabs : body.getChild( 2 ),
+ contents : body.getChild( [ 3, 0, 0, 0 ] ),
+ footer : body.getChild( 4 )
+ }
+ };
+ },
+
+ destroy : function( editor )
+ {
+ var container = editor.container;
+ container.clearCustomData();
+ editor.element.clearCustomData();
+
+ if ( container )
+ container.remove();
+
+ if ( editor.elementMode == CKEDITOR.ELEMENT_MODE_REPLACE )
+ editor.element.show();
+
+ delete editor.element;
+ }
+ };
+})() );
+
+/**
+ * Returns the DOM element that represents a theme space. The default theme defines
+ * three spaces, namely "top", "contents" and "bottom", representing the main
+ * blocks that compose the editor interface.
+ * @param {String} spaceName The space name.
+ * @returns {CKEDITOR.dom.element} The element that represents the space.
+ * @example
+ * // Hide the bottom space in the UI.
+ * var bottom = editor.getThemeSpace( 'bottom' );
+ * bottom.setStyle( 'display', 'none' );
+ */
+CKEDITOR.editor.prototype.getThemeSpace = function( spaceName )
+{
+ var spacePrefix = 'cke_' + spaceName;
+ var space = this._[ spacePrefix ] ||
+ ( this._[ spacePrefix ] = CKEDITOR.document.getById( spacePrefix + '_' + this.name ) );
+ return space;
+};
+
+/**
+ * Resizes the editor interface.
+ * @param {Number|String} width The new width. It can be an pixels integer or a
+ * CSS size value.
+ * @param {Number|String} height The new height. It can be an pixels integer or
+ * a CSS size value.
+ * @param {Boolean} [isContentHeight] Indicates that the provided height is to
+ * be applied to the editor contents space, not to the entire editor
+ * interface. Defaults to false.
+ * @param {Boolean} [resizeInner] Indicates that the first inner interface
+ * element must receive the size, not the outer element. The default theme
+ * defines the interface inside a pair of span elements
+ * (<span><span>...</span></span>). By default the
+ * first span element receives the sizes. If this parameter is set to
+ * true, the second span is sized instead.
+ * @example
+ * editor.resize( 900, 300 );
+ * @example
+ * editor.resize( '100%', 450, true );
+ */
+CKEDITOR.editor.prototype.resize = function( width, height, isContentHeight, resizeInner )
+{
+ var container = this.container,
+ contents = CKEDITOR.document.getById( 'cke_contents_' + this.name ),
+ outer = resizeInner ? container.getChild( 1 ) : container;
+
+ // Resize the width first.
+ // WEBKIT BUG: Webkit requires that we put the editor off from display when we
+ // resize it. If we don't, the browser crashes!
+ CKEDITOR.env.webkit && outer.setStyle( 'display', 'none' );
+ // Set as border box width. (#5353)
+ outer.setSize( 'width', width, true );
+ if ( CKEDITOR.env.webkit )
+ {
+ outer.$.offsetWidth;
+ outer.setStyle( 'display', '' );
+ }
+
+ // Get the height delta between the outer table and the content area.
+ // If we're setting the content area's height, then we don't need the delta.
+ var delta = isContentHeight ? 0 : ( outer.$.offsetHeight || 0 ) - ( contents.$.clientHeight || 0 );
+ contents.setStyle( 'height', Math.max( height - delta, 0 ) + 'px' );
+
+ // Emit a resize event.
+ this.fire( 'resize' );
+};
+
+/**
+ * Gets the element that can be freely used to check the editor size. This method
+ * is mainly used by the resize plugin, which adds a UI handle that can be used
+ * to resize the editor.
+ * @returns {CKEDITOR.dom.element} The resizable element.
+ * @example
+ */
+CKEDITOR.editor.prototype.getResizable = function()
+{
+ return this.container.getChild( 1 );
+};
+
+/**
+ * Makes it possible to place some of the editor UI blocks, like the toolbar
+ * and the elements path, into any element in the page.
+ * The elements used to hold the UI blocks can be shared among several editor
+ * instances. In that case, only the blocks of the active editor instance will
+ * display.
+ * @name CKEDITOR.config.sharedSpaces
+ * @type Object
+ * @default undefined
+ * @example
+ * // Place the toolbar inside the element with ID "someElementId" and the
+ * // elements path into the element with ID "anotherId".
+ * config.sharedSpaces =
+ * {
+ * top : 'someElementId',
+ * bottom : 'anotherId'
+ * };
+ * @example
+ * // Place the toolbar inside the element with ID "someElementId". The
+ * // elements path will remain attached to the editor UI.
+ * config.sharedSpaces =
+ * {
+ * top : 'someElementId'
+ * };
+ */
+
+/**
+ * Fired after the editor instance is resized through
+ * the {@link CKEDITOR.editor.prototype.resize} method.
+ * @name CKEDITOR#resize
+ * @event
+ */
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list