openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit fd106f03aec0d4f2c3092c64fa7a920249e2d1e4
parent 0ce16ae8a460f09a5a975178eff116484e921880
Author: dankert <devnull@localhost>
Date:   Thu, 18 Mar 2010 03:40:25 +0100

FCKEditor durch CKEditor 3 ersetzt, neuer eigener Filebrowser für CKEditor.

Diffstat:
actionClasses/FilemanagerAction.class.php | 225+++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
actionClasses/FilemanagerAction.ini.php | 18+++++++++++++++---
editor/editor/.htaccess | 24++++++++++++++++++++++++
editor/editor/LICENSE.html | 1334+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
editor/editor/ckeditor.js | 121+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
editor/editor/ckeditor.php | 29+++++++++++++++++++++++++++++
editor/editor/ckeditor_php4.php | 593+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
editor/editor/ckeditor_php5.php | 583+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
editor/editor/ckeditor_source.js | 25+++++++++++++++++++++++++
editor/editor/config.js | 11+++++++++++
editor/editor/contents.css | 35+++++++++++++++++++++++++++++++++++
editor/editor/css/behaviors/disablehandles.htc | 15---------------
editor/editor/css/behaviors/showtableborders.htc | 36------------------------------------
editor/editor/css/fck_editorarea.css | 92-------------------------------------------------------------------------------
editor/editor/css/fck_internal.css | 182-------------------------------------------------------------------------------
editor/editor/css/fck_showtableborders_gecko.css | 42------------------------------------------
editor/editor/css/images/block_address.png | 0
editor/editor/css/images/block_blockquote.png | 0
editor/editor/css/images/block_div.png | 0
editor/editor/css/images/block_h1.png | 0
editor/editor/css/images/block_h2.png | 0
editor/editor/css/images/block_h3.png | 0
editor/editor/css/images/block_h4.png | 0
editor/editor/css/images/block_h5.png | 0
editor/editor/css/images/block_h6.png | 0
editor/editor/css/images/block_p.png | 0
editor/editor/css/images/block_pre.png | 0
editor/editor/css/images/fck_anchor.gif | 0
editor/editor/css/images/fck_flashlogo.gif | 0
editor/editor/css/images/fck_hiddenfield.gif | 0
editor/editor/css/images/fck_pagebreak.gif | 0
editor/editor/dialog/common/fck_dialog_common.css | 78------------------------------------------------------------------------------
editor/editor/dialog/common/fck_dialog_common.js | 165-------------------------------------------------------------------------------
editor/editor/dialog/common/images/locked.gif | 0
editor/editor/dialog/common/images/reset.gif | 0
editor/editor/dialog/common/images/unlocked.gif | 0
editor/editor/dialog/fck_about.html | 155-------------------------------------------------------------------------------
editor/editor/dialog/fck_about/logo_fckeditor.gif | 0
editor/editor/dialog/fck_about/logo_fredck.gif | 0
editor/editor/dialog/fck_anchor.html | 208-------------------------------------------------------------------------------
editor/editor/dialog/fck_button.html | 110-------------------------------------------------------------------------------
editor/editor/dialog/fck_checkbox.html | 110-------------------------------------------------------------------------------
editor/editor/dialog/fck_colorselector.html | 171-------------------------------------------------------------------------------
editor/editor/dialog/fck_docprops.html | 600-------------------------------------------------------------------------------
editor/editor/dialog/fck_docprops/fck_document_preview.html | 113-------------------------------------------------------------------------------
editor/editor/dialog/fck_flash.html | 146-------------------------------------------------------------------------------
editor/editor/dialog/fck_flash/fck_flash.js | 285-------------------------------------------------------------------------------
editor/editor/dialog/fck_flash/fck_flash_preview.html | 46----------------------------------------------
editor/editor/dialog/fck_form.html | 107-------------------------------------------------------------------------------
editor/editor/dialog/fck_hiddenfield.html | 119-------------------------------------------------------------------------------
editor/editor/dialog/fck_image.html | 252-------------------------------------------------------------------------------
editor/editor/dialog/fck_image/fck_image.js | 492-------------------------------------------------------------------------------
editor/editor/dialog/fck_image/fck_image_preview.html | 66------------------------------------------------------------------
editor/editor/dialog/fck_link.html | 293-------------------------------------------------------------------------------
editor/editor/dialog/fck_link/fck_link.js | 715-------------------------------------------------------------------------------
editor/editor/dialog/fck_listprop.html | 117-------------------------------------------------------------------------------
editor/editor/dialog/fck_paste.html | 340-------------------------------------------------------------------------------
editor/editor/dialog/fck_radiobutton.html | 110-------------------------------------------------------------------------------
editor/editor/dialog/fck_replace.html | 490-------------------------------------------------------------------------------
editor/editor/dialog/fck_select.html | 178-------------------------------------------------------------------------------
editor/editor/dialog/fck_select/fck_select.js | 195-------------------------------------------------------------------------------
editor/editor/dialog/fck_smiley.html | 108-------------------------------------------------------------------------------
editor/editor/dialog/fck_source.html | 65-----------------------------------------------------------------
editor/editor/dialog/fck_specialchar.html | 120-------------------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages.html | 64----------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/blank.html | 0
editor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js | 87-------------------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/controls.html | 153-------------------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm | 146-------------------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php | 196-------------------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl | 180-------------------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js | 462-------------------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html | 71-----------------------------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css | 50--------------------------------------------------
editor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js | 272-------------------------------------------------------------------------------
editor/editor/dialog/fck_table.html | 293-------------------------------------------------------------------------------
editor/editor/dialog/fck_tablecell.html | 255-------------------------------------------------------------------------------
editor/editor/dialog/fck_template.html | 242-------------------------------------------------------------------------------
editor/editor/dialog/fck_template/images/template1.gif | 0
editor/editor/dialog/fck_template/images/template2.gif | 0
editor/editor/dialog/fck_template/images/template3.gif | 0
editor/editor/dialog/fck_textarea.html | 96-------------------------------------------------------------------------------
editor/editor/dialog/fck_textfield.html | 141-------------------------------------------------------------------------------
editor/editor/dtd/fck_dtd_test.html | 43-------------------------------------------
editor/editor/dtd/fck_xhtml10strict.js | 116-------------------------------------------------------------------------------
editor/editor/dtd/fck_xhtml10transitional.js | 141-------------------------------------------------------------------------------
editor/editor/fckdebug.html | 153-------------------------------------------------------------------------------
editor/editor/fckdialog.html | 340-------------------------------------------------------------------------------
editor/editor/fckeditor.html | 228-------------------------------------------------------------------------------
editor/editor/fckeditor.original.html | 331-------------------------------------------------------------------------------
editor/editor/filemanager/browser/default/browser.css | 27++++++++++++---------------
editor/editor/filemanager/browser/default/browser.html | 45+++++++++++++++++++++++++++++++++++++++++----
editor/editor/filemanager/browser/default/frmactualfolder.html | 46+++++++++++++++++++++++++++++++++++++---------
editor/editor/filemanager/browser/default/frmcreatefolder.html | 9+++++----
editor/editor/filemanager/browser/default/frmfolders.html | 12+++++++-----
editor/editor/filemanager/browser/default/frmresourceslist.html | 30+++++++++++++++++++++++++-----
editor/editor/filemanager/browser/default/frmresourcetype.html | 14+++++++++-----
editor/editor/filemanager/browser/default/frmupload.html | 11++++++-----
editor/editor/filemanager/browser/default/js/common.js | 38+++++++++++++++++++++++++++++++++++---
editor/editor/filemanager/browser/default/js/fckxml.js | 28+++++++++++++++++++++++-----
editor/editor/images/anchor.gif | 0
editor/editor/images/arrow_ltr.gif | 0
editor/editor/images/arrow_rtl.gif | 0
editor/editor/js/fckeditorcode_gecko.js | 108-------------------------------------------------------------------------------
editor/editor/js/fckeditorcode_ie.js | 109-------------------------------------------------------------------------------
editor/editor/lang/_getfontformat.html | 66------------------------------------------------------------------
editor/editor/lang/_languages.js | 6++++++
editor/editor/lang/_translationstatus.txt | 76----------------------------------------------------------------------------
editor/editor/lang/af.js | 516-------------------------------------------------------------------------------
editor/editor/lang/ar.js | 516-------------------------------------------------------------------------------
editor/editor/lang/bg.js | 516-------------------------------------------------------------------------------
editor/editor/lang/bn.js | 516-------------------------------------------------------------------------------
editor/editor/lang/bs.js | 516-------------------------------------------------------------------------------
editor/editor/lang/ca.js | 516-------------------------------------------------------------------------------
editor/editor/lang/cs.js | 516-------------------------------------------------------------------------------
editor/editor/lang/da.js | 516-------------------------------------------------------------------------------
editor/editor/lang/de.js | 518+------------------------------------------------------------------------------
editor/editor/lang/el.js | 516-------------------------------------------------------------------------------
editor/editor/lang/en-au.js | 516-------------------------------------------------------------------------------
editor/editor/lang/en-ca.js | 516-------------------------------------------------------------------------------
editor/editor/lang/en-uk.js | 516-------------------------------------------------------------------------------
editor/editor/lang/en.js | 518+------------------------------------------------------------------------------
editor/editor/lang/eo.js | 516-------------------------------------------------------------------------------
editor/editor/lang/es.js | 518+------------------------------------------------------------------------------
editor/editor/lang/et.js | 516-------------------------------------------------------------------------------
editor/editor/lang/eu.js | 517-------------------------------------------------------------------------------
editor/editor/lang/fa.js | 516-------------------------------------------------------------------------------
editor/editor/lang/fi.js | 516-------------------------------------------------------------------------------
editor/editor/lang/fo.js | 516-------------------------------------------------------------------------------
editor/editor/lang/fr.js | 518+------------------------------------------------------------------------------
editor/editor/lang/gl.js | 516-------------------------------------------------------------------------------
editor/editor/lang/he.js | 516-------------------------------------------------------------------------------
editor/editor/lang/hi.js | 516-------------------------------------------------------------------------------
editor/editor/lang/hr.js | 516-------------------------------------------------------------------------------
editor/editor/lang/hu.js | 516-------------------------------------------------------------------------------
editor/editor/lang/it.js | 518+------------------------------------------------------------------------------
editor/editor/lang/ja.js | 516-------------------------------------------------------------------------------
editor/editor/lang/km.js | 516-------------------------------------------------------------------------------
editor/editor/lang/ko.js | 516-------------------------------------------------------------------------------
editor/editor/lang/lt.js | 516-------------------------------------------------------------------------------
editor/editor/lang/lv.js | 516-------------------------------------------------------------------------------
editor/editor/lang/mn.js | 516-------------------------------------------------------------------------------
editor/editor/lang/ms.js | 516-------------------------------------------------------------------------------
editor/editor/lang/nb.js | 516-------------------------------------------------------------------------------
editor/editor/lang/nl.js | 516-------------------------------------------------------------------------------
editor/editor/lang/no.js | 516-------------------------------------------------------------------------------
editor/editor/lang/pl.js | 518+------------------------------------------------------------------------------
editor/editor/lang/pt-br.js | 516-------------------------------------------------------------------------------
editor/editor/lang/pt.js | 516-------------------------------------------------------------------------------
editor/editor/lang/ro.js | 516-------------------------------------------------------------------------------
editor/editor/lang/ru.js | 518+------------------------------------------------------------------------------
editor/editor/lang/sk.js | 516-------------------------------------------------------------------------------
editor/editor/lang/sl.js | 516-------------------------------------------------------------------------------
editor/editor/lang/sr-latn.js | 516-------------------------------------------------------------------------------
editor/editor/lang/sr.js | 516-------------------------------------------------------------------------------
editor/editor/lang/sv.js | 516-------------------------------------------------------------------------------
editor/editor/lang/th.js | 516-------------------------------------------------------------------------------
editor/editor/lang/tr.js | 516-------------------------------------------------------------------------------
editor/editor/lang/uk.js | 516-------------------------------------------------------------------------------
editor/editor/lang/vi.js | 516-------------------------------------------------------------------------------
editor/editor/lang/zh-cn.js | 516-------------------------------------------------------------------------------
editor/editor/lang/zh.js | 516-------------------------------------------------------------------------------
editor/editor/plugins/a11yhelp/dialogs/a11yhelp.js | 7+++++++
editor/editor/plugins/a11yhelp/lang/en.js | 6++++++
editor/editor/plugins/about/dialogs/about.js | 6++++++
editor/editor/plugins/about/dialogs/logo_ckeditor.png | 0
editor/editor/plugins/autogrow/fckplugin.js | 93-------------------------------------------------------------------------------
editor/editor/plugins/bbcode/_sample/sample.config.js | 26--------------------------
editor/editor/plugins/bbcode/_sample/sample.html | 67-------------------------------------------------------------------
editor/editor/plugins/bbcode/fckplugin.js | 124-------------------------------------------------------------------------------
editor/editor/plugins/clipboard/dialogs/paste.js | 7+++++++
editor/editor/plugins/colordialog/dialogs/colordialog.js | 6++++++
editor/editor/plugins/dialog/dialogDefinition.js | 4++++
editor/editor/plugins/div/dialogs/div.js | 7+++++++
editor/editor/plugins/dragresizetable/fckplugin.js | 503-------------------------------------------------------------------------------
editor/editor/plugins/find/dialogs/find.js | 9+++++++++
editor/editor/plugins/flash/dialogs/flash.js | 9+++++++++
editor/editor/plugins/flash/images/placeholder.png | 0
editor/editor/plugins/forms/dialogs/button.js | 6++++++
editor/editor/plugins/forms/dialogs/checkbox.js | 6++++++
editor/editor/plugins/forms/dialogs/form.js | 6++++++
editor/editor/plugins/forms/dialogs/hiddenfield.js | 6++++++
editor/editor/plugins/forms/dialogs/radio.js | 6++++++
editor/editor/plugins/forms/dialogs/select.js | 9+++++++++
editor/editor/plugins/forms/dialogs/textarea.js | 6++++++
editor/editor/plugins/forms/dialogs/textfield.js | 6++++++
editor/editor/plugins/iframedialog/plugin.js | 6++++++
editor/editor/plugins/image/dialogs/image.js | 13+++++++++++++
editor/editor/plugins/link/dialogs/anchor.js | 6++++++
editor/editor/plugins/link/dialogs/link.js | 11+++++++++++
editor/editor/plugins/link/images/anchor.gif | 0
editor/editor/plugins/pagebreak/images/pagebreak.gif | 0
editor/editor/plugins/pastefromword/filter/default.js | 10++++++++++
editor/editor/plugins/pastetext/dialogs/pastetext.js | 6++++++
editor/editor/plugins/placeholder/fck_placeholder.html | 101-------------------------------------------------------------------------------
editor/editor/plugins/placeholder/fckplugin.js | 188-------------------------------------------------------------------------------
editor/editor/plugins/placeholder/lang/de.js | 28----------------------------
editor/editor/plugins/placeholder/lang/en.js | 28----------------------------
editor/editor/plugins/placeholder/lang/fr.js | 27---------------------------
editor/editor/plugins/placeholder/lang/it.js | 27---------------------------
editor/editor/plugins/placeholder/lang/pl.js | 28----------------------------
editor/editor/plugins/placeholder/placeholder.gif | 0
editor/editor/plugins/scayt/dialogs/options.js | 8++++++++
editor/editor/plugins/scayt/dialogs/toolbar.css | 6++++++
editor/editor/plugins/showblocks/images/block_address.png | 0
editor/editor/plugins/showblocks/images/block_blockquote.png | 0
editor/editor/plugins/showblocks/images/block_div.png | 0
editor/editor/plugins/showblocks/images/block_h1.png | 0
editor/editor/plugins/showblocks/images/block_h2.png | 0
editor/editor/plugins/showblocks/images/block_h3.png | 0
editor/editor/plugins/showblocks/images/block_h4.png | 0
editor/editor/plugins/showblocks/images/block_h5.png | 0
editor/editor/plugins/showblocks/images/block_h6.png | 0
editor/editor/plugins/showblocks/images/block_p.png | 0
editor/editor/plugins/showblocks/images/block_pre.png | 0
editor/editor/plugins/simplecommands/fckplugin.js | 29-----------------------------
editor/editor/plugins/specialchar/dialogs/specialchar.js | 7+++++++
editor/editor/plugins/stylescombo/styles/default.js | 6++++++
editor/editor/plugins/table/dialogs/table.js | 9+++++++++
editor/editor/plugins/tablecommands/fckplugin.js | 33---------------------------------
editor/editor/plugins/tabletools/dialogs/tableCell.js | 8++++++++
editor/editor/plugins/uicolor/dialogs/uicolor.js | 7+++++++
editor/editor/plugins/uicolor/lang/en.js | 6++++++
editor/editor/plugins/uicolor/plugin.js | 6++++++
editor/editor/plugins/uicolor/uicolor.gif | 0
editor/editor/plugins/uicolor/yui/assets/hue_bg.png | 0
editor/editor/plugins/uicolor/yui/assets/hue_thumb.png | 0
editor/editor/plugins/uicolor/yui/assets/picker_mask.png | 0
editor/editor/plugins/uicolor/yui/assets/picker_thumb.png | 0
editor/editor/plugins/uicolor/yui/assets/yui.css | 6++++++
editor/editor/plugins/uicolor/yui/yui.js | 76++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
editor/editor/plugins/wsc/dialogs/ciframe.html | 49+++++++++++++++++++++++++++++++++++++++++++++++++
editor/editor/plugins/wsc/dialogs/tmpFrameset.html | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
editor/editor/plugins/wsc/dialogs/wsc.css | 6++++++
editor/editor/plugins/wsc/dialogs/wsc.js | 7+++++++
editor/editor/skins/_fckviewstrips.html | 121-------------------------------------------------------------------------------
editor/editor/skins/default/fck_dialog.css | 140-------------------------------------------------------------------------------
editor/editor/skins/default/fck_editor.css | 464-------------------------------------------------------------------------------
editor/editor/skins/default/fck_strip.gif | 0
editor/editor/skins/default/images/toolbar.arrowright.gif | 0
editor/editor/skins/default/images/toolbar.buttonarrow.gif | 0
editor/editor/skins/default/images/toolbar.collapse.gif | 0
editor/editor/skins/default/images/toolbar.end.gif | 0
editor/editor/skins/default/images/toolbar.expand.gif | 0
editor/editor/skins/default/images/toolbar.separator.gif | 0
editor/editor/skins/default/images/toolbar.start.gif | 0
editor/editor/skins/office2003/fck_dialog.css | 141-------------------------------------------------------------------------------
editor/editor/skins/office2003/fck_editor.css | 476-------------------------------------------------------------------------------
editor/editor/skins/office2003/fck_strip.gif | 0
editor/editor/skins/office2003/images/toolbar.arrowright.gif | 0
editor/editor/skins/office2003/images/toolbar.bg.gif | 0
editor/editor/skins/office2003/images/toolbar.buttonarrow.gif | 0
editor/editor/skins/office2003/images/toolbar.collapse.gif | 0
editor/editor/skins/office2003/images/toolbar.end.gif | 0
editor/editor/skins/office2003/images/toolbar.expand.gif | 0
editor/editor/skins/office2003/images/toolbar.separator.gif | 0
editor/editor/skins/office2003/images/toolbar.start.gif | 0
editor/editor/skins/silver/fck_dialog.css | 144-------------------------------------------------------------------------------
editor/editor/skins/silver/fck_editor.css | 473-------------------------------------------------------------------------------
editor/editor/skins/silver/fck_strip.gif | 0
editor/editor/skins/silver/images/toolbar.arrowright.gif | 0
editor/editor/skins/silver/images/toolbar.buttonarrow.gif | 0
editor/editor/skins/silver/images/toolbar.buttonbg.gif | 0
editor/editor/skins/silver/images/toolbar.collapse.gif | 0
editor/editor/skins/silver/images/toolbar.end.gif | 0
editor/editor/skins/silver/images/toolbar.expand.gif | 0
editor/editor/skins/silver/images/toolbar.separator.gif | 0
editor/editor/skins/silver/images/toolbar.start.gif | 0
editor/editor/skins/v2/dialog.css | 8++++++++
editor/editor/skins/v2/editor.css | 12++++++++++++
editor/editor/skins/v2/icons.png | 0
editor/editor/skins/v2/images/dialog_sides.gif | 0
editor/editor/skins/v2/images/dialog_sides.png | 0
editor/editor/skins/v2/images/dialog_sides_rtl.png | 0
editor/editor/skins/v2/images/mini.gif | 0
editor/editor/skins/v2/images/noimage.png | 0
editor/editor/skins/v2/images/sprites.png | 0
editor/editor/skins/v2/images/sprites_ie6.png | 0
editor/editor/skins/v2/images/toolbar_start.gif | 0
editor/editor/skins/v2/skin.js | 6++++++
editor/editor/skins/v2/templates.css | 6++++++
editor/editor/themes/default/theme.js | 8++++++++
editor/fckconfig.js | 307-------------------------------------------------------------------------------
editor/fckeditor.js | 212-------------------------------------------------------------------------------
editor/fckeditor.php | 71-----------------------------------------------------------------------
editor/fckeditor_php4.php | 147-------------------------------------------------------------------------------
editor/fckeditor_php5.php | 143-------------------------------------------------------------------------------
editor/fckstyles.xml | 115-------------------------------------------------------------------------------
editor/htaccess.txt | 44--------------------------------------------
editor/license.txt | 1247-------------------------------------------------------------------------------
editor/openrat-fckconfig.js | 39---------------------------------------
themes/default/include/html/editor.inc.php | 45++++++++++++++++++++++++++++++++++++++-------
themes/default/pages/html/filemanager/browse.tpl.php | 517+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
themes/default/pages/html/pageelement/diff.tpl.php | 8++++----
themes/default/pages/html/pageelement/edit.tpl.php | 98+++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
themes/default/pages/html/pageelement/prop.tpl.php | 16+++++++++-------
themes/default/templates/filemanager/browse.tpl.src.php | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
297 files changed, 4332 insertions(+), 44351 deletions(-)

diff --git a/actionClasses/FilemanagerAction.class.php b/actionClasses/FilemanagerAction.class.php @@ -49,7 +49,21 @@ class FilemanagerAction extends ObjectAction * Konstruktor */ function FilemanagerAction() - { + { + if ( $this->getRequestId() != 0 ) + { + $fid = $this->getRequestId(); + } + else + { + $project = Session::getProject(); + $fid = $project->getRootObjectId(); + } + + $this->folder = new Folder( $fid ); + $this->folder->load(); + + } @@ -59,9 +73,6 @@ class FilemanagerAction extends ObjectAction */ function investigateCurrentFolder() { - $project = Session::getProject(); - $folderid = $project->getRootObjectId(); - $this->folder = new Folder( $folderid ); $parts = explode('/',$this->currentFolder); foreach( $parts as $part ) @@ -87,7 +98,7 @@ class FilemanagerAction extends ObjectAction * Anzeigen des Inhaltes, der Inhalt wird samt Header direkt * auf die Standardausgabe geschrieben */ - function show() + function connector() { // PHP-Fehler ins Log schreiben, damit die Ausgabe nicht zerst�rt wird. if (version_compare(PHP_VERSION, '5.0.0', '>')) @@ -124,10 +135,14 @@ class FilemanagerAction extends ObjectAction // File Upload doesn't have to Return XML, so it must be intercepted before anything. if ( $this->command == 'FileUpload' ) { - $this->fileUpload() ; + $this->fileUpload('NewFile') ; return ; } - Logger::debug("Start"); + if ( $this->command == 'DirectUpload' ) + { + $this->fileUpload('upload') ; + return ; + } $this->setXmlHeaders(); $this->createXmlHeader(); @@ -311,9 +326,9 @@ class FilemanagerAction extends ObjectAction * Datei-Upload. * */ - function fileUpload() + function fileUpload( $var ) { - $upload = new Upload('NewFile'); + $upload = new Upload( $var ); // From FCK-Editor-Doc: // The "OnUploadCompleted" is a JavaScript function that is called to expose the upload result. The possible values are: @@ -323,77 +338,161 @@ class FilemanagerAction extends ObjectAction // OnUploadCompleted( 202 ) : invalid file. if ( !$upload->isValid() ) { - $errorNr = 202; - $errorText = 'Upload failed, reason: '.$upload->error; + echo 'Upload failed, reason: '.$upload->error; } else { $file = new File(); - $file->parentid = $this->folder->objectid; - $file->filename = $upload->filename; - $file->value = $upload->value; - $file->add(); - - $errorNr = 0; - $errorText = $file->filename; + $file->parentid = $this->folder->objectid; + $file->name = $upload->filename; + $file->filename = $upload->filename; + $file->extension = $upload->extension; + $file->value = $upload->value; + $file->add(); + + $newId = $file->objectid; + $newUrl = str_replace('&amp;','&',Html::url('file','show',$newId,array('oid'=>'__OID__'.$newId.'__'))); + + echo '<script type="text/javascript">' ; + echo 'window.parent.CKEDITOR.tools.callFunction('.$this->getRequestVar('CKEditorFuncNum','123').",'".$newUrl."','');</script>"; + echo '</script>' ; + echo 'OK' ; } - echo '<script type="text/javascript">' ; - echo 'window.parent.frames["frmUpload"].OnUploadCompleted(' .$errorNr.',"' . str_replace( '"', '\\"', $errorText ) . '") ;' ; - echo '</script>' ; } + - - - /** - * Erzeugt Javascript mit der Konfiguration für den FCK-Editor. - */ - function config() + function browse() { - echo <<<EOF -FCKConfig.ToolbarSets["Default"] = [ - ['Save','NewPage','Preview','Templates','-','Source','DocProps','ShowBlocks'], - ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], - ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], - ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], - '/', - ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], - ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'], - ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], - ['Link','Unlink','Anchor'], - ['Image','Flash','Table','Rule','SpecialChar','PageBreak'], - '/', - ['Style','FontFormat','FontName','FontSize'], - ['TextColor','BGColor'], - ['FitWindow'] // No comma for the last row. -] ; -EOF -; + global $conf_php; + $funcNum = $this->getRequestVar('CKEditorFuncNum','123'); + + if ( ! $this->folder->isRoot ) + $this->setTemplateVar('up_url',Html::url('filemanager','browse',$this->folder->parentid,array('CKEditorFuncNum'=>$funcNum))); + + $this->setTemplateVar('writable',$this->folder->hasRight(ACL_WRITE) ); + + $list = array(); + + // Schleife ueber alle Objekte in diesem Ordner + foreach( $this->folder->getObjects() as $o ) + { + $id = $o->objectid; - if ( $this->hasRequestVar( session_name() ) ) - $s = '&'.session_name().'='.session_id(); + if ( $o->hasRight(ACL_READ) ) + { + $list[$id]['name'] = Text::maxLaenge( 30,$o->name ); + $list[$id]['filename'] = Text::maxLaenge( 20,$o->filename ); + $list[$id]['desc'] = Text::maxLaenge( 30,$o->desc ); + if ( $list[$id]['desc'] == '' ) + $list[$id]['desc'] = lang('NO_DESCRIPTION_AVAILABLE'); + $list[$id]['desc'] = $list[$id]['desc'].' - '.lang('IMAGE').' '.$id; + + $list[$id]['type'] = $o->getType(); + + $list[$id]['icon' ] = $o->getType(); + $list[$id]['class'] = $o->getType(); + if ( $o->isFolder ) + $list[$id]['url' ] = Html::url('filemanager','browse',$id,array('CKEditorFuncNum'=>$funcNum) ); + else + $list[$id]['url' ] = "javascript:window.top.opener.CKEDITOR.tools.callFunction($funcNum,'".Html::url('file','show',$id,array('oid'=>'__OID__'.$id.'__'))."','');window.top.close();window.top.opener.focus();"; + + + + if ( $o->getType() == 'file' ) + { + $file = new File( $id ); + $file->load(); + $list[$id]['desc'] .= ' - '.intval($file->size/1000).'kB'; + + if ( $file->isImage() ) + { + $list[$id]['icon' ] = 'image'; + $list[$id]['class'] = 'image'; + //$list[$id]['url' ] = Html::url('file','show',$id) nur sinnvoll bei Lightbox-Anzeige + } +// if ( substr($file->mimeType(),0,5) == 'text/' ) +// $list[$id]['icon'] = 'text'; + } + + $list[$id]['date'] = $o->lastchangeDate; + $list[$id]['user'] = $o->lastchangeUser; + } + } + + $this->setTemplateVar('object' ,$list ); + $this->setTemplateVar('CKEditorFuncNum',$funcNum ); + $this->setTemplateVar('token',token() ); + $this->setTemplateVar('id',$this->folder->objectid ); + } + + + function addfolder() + { + + $filename = $this->getRequestVar('name'); + + if ( empty($filename) ) + { + $this->addNotice('folder',$this->name,'ADDED',OR_NOTICE_ERROR); + } + elseif( !$this->folder->hasRight(ACL_CREATE_FOLDER) ) + { + $this->addNotice('folder',$this->name,'ERROR',OR_NOTICE_ERROR); + } + elseif( $this->folder->hasFilename( $filename ) ) + { + $this->addNotice('folder',$this->name,'ERROR',OR_NOTICE_ERROR); + + } else - $s = ''; + { + $newFolder = new Folder(); + $newFolder->parentid = $this->folder->objectid; + $newFolder->filename = $filename; + $newFolder->name = $filename; + $newFolder->add(); - echo "var _FileBrowserLanguage = 'php' ;"; - echo "var _QuickUploadLanguage = 'php' ;"; - echo "var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ;"; - - echo "FCKConfig.LinkBrowser = true;"; - echo "FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=../../../../../do.php?action=filemanager".$s."';"; + $this->addNotice('folder',$this->folder->name,'ADDED',OR_NOTICE_OK); + } + } - echo "FCKConfig.ImageBrowser = true ;"; - echo "FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=../../../../../do.php?action=filemanager".$s."';"; - echo "FCKConfig.FlashBrowser = true ;"; - echo "FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=../../../../../do.php?action=filemanager".$s."';"; - echo "FCKConfig.LinkUpload = true;"; - echo "FCKConfig.ImageUpload = true;"; - echo "FCKConfig.FlashUpload = true;"; + function upload() + { + $upload = new Upload('file'); + if ( !$upload->isValid() ) + { + Html::debug($upload); + $this->addValidationError('file','COMMON_VALIDATION_ERROR',array(),$upload->error); + return; + } + // Pr�fen der maximal erlaubten Dateigr��e. + elseif ( $upload->size < 0 ) + { + // Maximale Dateigr��e ist �berschritten + $this->addValidationError('file','MAX_FILE_SIZE_EXCEEDED'); + return; + } + elseif( $upload->size > 0 ) + { + $file = new File(); + $file->desc = ''; + $file->filename = $upload->filename; + $file->name = $upload->filename; + $file->extension = $upload->extension; + $file->size = $upload->size; + $file->parentid = $this->folder->objectid; + + $file->value = $upload->value; + + $file->add(); // Datei hinzufuegen + $this->folder->setTimestamp(); + $this->addNotice('file',$file->name,'ADDED','ok'); + } } - } diff --git a/actionClasses/FilemanagerAction.ini.php b/actionClasses/FilemanagerAction.ini.php @@ -2,8 +2,20 @@ [default] goto=show -[show] +[connector] direct=true [config] -direct=true- \ No newline at end of file +direct=true + +[browse] +menu=browse + +[upload] +goto=browse + +[addfolder] +goto=browse + +[menu] +browse=browse+ \ No newline at end of file diff --git a/editor/editor/.htaccess b/editor/editor/.htaccess @@ -0,0 +1,24 @@ +# +# Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +# For licensing, see LICENSE.html or http://ckeditor.com/license +# + +# +# On some specific Linux installations you could face problems with Firefox. +# It could give you errors when loading the editor saying that some illegal +# characters were found (three strange chars in the beginning of the file). +# This could happen if you map the .js or .css files to PHP, for example. +# +# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. +# All FCKeditor files are Unicode encoded. +# + +AddType application/x-javascript .js +AddType text/css .css + +# +# If PHP is mapped to handle XML files, you could have some issues. The +# following will disable it. +# + +AddType text/xml .xml diff --git a/editor/editor/LICENSE.html b/editor/editor/LICENSE.html @@ -0,0 +1,1334 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- +== BEGIN TEXT ONLY VERSION == + +Software License Agreement +========================== + +CKEditor - The text editor for Internet - http://ckeditor.com +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. + +Licensed under the terms of any of the following licenses at your +choice: + + - GNU General Public License Version 2 or later (the "GPL") + http://www.gnu.org/licenses/gpl.html + (See Appendix A) + + - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + http://www.gnu.org/licenses/lgpl.html + (See Appendix B) + + - Mozilla Public License Version 1.1 or later (the "MPL") + http://www.mozilla.org/MPL/MPL-1.1.html + (See Appendix C) + +You are not required to, but if you want to explicitly declare the +license you have chosen to be bound to when using, reproducing, +modifying and distributing this software, just include a text file +titled "legal.txt" in your version of this software, indicating your +license choice. In any case, your choice will not restrict any +recipient of your version of this software to use, reproduce, modify +and distribute this software under any of the above licenses. + +Sources of Intellectual Property Included in CKEditor +===================================================== + +Where not otherwise indicated, all CKEditor content is authored by +CKSource engineers and consists of CKSource-owned intellectual +property. In some specific instances, CKEditor will incorporate work +done by developers outside of CKSource with their express permission. + +YUI Test: At _source/tests/yuitest.js can be found part of the source +code of YUI, which is licensed under the terms of the BSD License +(http://developer.yahoo.com/yui/license.txt). YUI is Copyright (C) +2008, Yahoo! Inc. + +Trademarks +========== + +CKEditor is a trademark of CKSource - Frederico Knabben. All other brand +and product names are trademarks, registered trademarks or service +marks of their respective holders. + +Appendix A: The GPL License +=========================== + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software-to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + +Appendix B: The LGPL License +============================ + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software-to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages-typically libraries-of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + +Appendix C: The MPL License +=========================== + + MOZILLA PUBLIC LICENSE + Version 1.1 + + =============== + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the + Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to + the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original + Code, prior Modifications used by a Contributor, and the Modifications + made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the + combination of the Original Code and Modifications, in each case + including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally + accepted in the software development community for the electronic + transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source + Code. + + 1.6. "Initial Developer" means the individual or entity identified + as the Initial Developer in the Source Code notice required by Exhibit + A. + + 1.7. "Larger Work" means a work which combines Covered Code or + portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum + extent possible, whether at the time of the initial grant or + subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the + substance or structure of either the Original Code or any previous + Modifications. When Covered Code is released as a series of files, a + Modification is: + A. Any addition to or deletion from the contents of a file + containing Original Code or previous Modifications. + + B. Any new file that contains any part of the Original Code or + previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code + which is described in the Source Code notice required by Exhibit A as + Original Code, and which, at the time of its release under this + License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or + hereafter acquired, including without limitation, method, process, + and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for + making modifications to it, including all modules it contains, plus + any associated interface definition files, scripts used to control + compilation and installation of an Executable, or source code + differential comparisons against either the Original Code or another + well known, available Covered Code of the Contributor's choice. The + Source Code can be in a compressed or archival form, provided the + appropriate decompression or de-archiving software is widely available + for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity + exercising rights under, and complying with all of the terms of, this + License or a future version of this License issued under Section 6.1. + For legal entities, "You" includes any entity which controls, is + controlled by, or is under common control with You. For purposes of + this definition, "control" means (a) the power, direct or indirect, + to cause the direction or management of such entity, whether by + contract or otherwise, or (b) ownership of more than fifty percent + (50%) of the outstanding shares or beneficial ownership of such + entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. + The Initial Developer hereby grants You a world-wide, royalty-free, + non-exclusive license, subject to third party intellectual property + claims: + (a) under intellectual property rights (other than patent or + trademark) Licensable by Initial Developer to use, reproduce, + modify, display, perform, sublicense and distribute the Original + Code (or portions thereof) with or without Modifications, and/or + as part of a Larger Work; and + + (b) under Patents Claims infringed by the making, using or + selling of Original Code, to make, have made, use, practice, + sell, and offer for sale, and/or otherwise dispose of the + Original Code (or portions thereof). + + (c) the licenses granted in this Section 2.1(a) and (b) are + effective on the date Initial Developer first distributes + Original Code under the terms of this License. + + (d) Notwithstanding Section 2.1(b) above, no patent license is + granted: 1) for code that You delete from the Original Code; 2) + separate from the Original Code; or 3) for infringements caused + by: i) the modification of the Original Code or ii) the + combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. + Subject to third party intellectual property claims, each Contributor + hereby grants You a world-wide, royalty-free, non-exclusive license + + (a) under intellectual property rights (other than patent or + trademark) Licensable by Contributor, to use, reproduce, modify, + display, perform, sublicense and distribute the Modifications + created by such Contributor (or portions thereof) either on an + unmodified basis, with other Modifications, as Covered Code + and/or as part of a Larger Work; and + + (b) under Patent Claims infringed by the making, using, or + selling of Modifications made by that Contributor either alone + and/or in combination with its Contributor Version (or portions + of such combination), to make, use, sell, offer for sale, have + made, and/or otherwise dispose of: 1) Modifications made by that + Contributor (or portions thereof); and 2) the combination of + Modifications made by that Contributor with its Contributor + Version (or portions of such combination). + + (c) the licenses granted in Sections 2.2(a) and 2.2(b) are + effective on the date Contributor first makes Commercial Use of + the Covered Code. + + (d) Notwithstanding Section 2.2(b) above, no patent license is + granted: 1) for any code that Contributor has deleted from the + Contributor Version; 2) separate from the Contributor Version; + 3) for infringements caused by: i) third party modifications of + Contributor Version or ii) the combination of Modifications made + by that Contributor with other software (except as part of the + Contributor Version) or other devices; or 4) under Patent Claims + infringed by Covered Code in the absence of Modifications made by + that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. + The Modifications which You create or to which You contribute are + governed by the terms of this License, including without limitation + Section 2.2. The Source Code version of Covered Code may be + distributed only under the terms of this License or a future version + of this License released under Section 6.1, and You must include a + copy of this License with every copy of the Source Code You + distribute. You may not offer or impose any terms on any Source Code + version that alters or restricts the applicable version of this + License or the recipients' rights hereunder. However, You may include + an additional document offering the additional rights described in + Section 3.5. + + 3.2. Availability of Source Code. + Any Modification which You create or to which You contribute must be + made available in Source Code form under the terms of this License + either on the same media as an Executable version or via an accepted + Electronic Distribution Mechanism to anyone to whom you made an + Executable version available; and if made available via Electronic + Distribution Mechanism, must remain available for at least twelve (12) + months after the date it initially became available, or at least six + (6) months after a subsequent version of that particular Modification + has been made available to such recipients. You are responsible for + ensuring that the Source Code version remains available even if the + Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. + You must cause all Covered Code to which You contribute to contain a + file documenting the changes You made to create that Covered Code and + the date of any change. You must include a prominent statement that + the Modification is derived, directly or indirectly, from Original + Code provided by the Initial Developer and including the name of the + Initial Developer in (a) the Source Code, and (b) in any notice in an + Executable version or related documentation in which You describe the + origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + (a) Third Party Claims. + If Contributor has knowledge that a license under a third party's + intellectual property rights is required to exercise the rights + granted by such Contributor under Sections 2.1 or 2.2, + Contributor must include a text file with the Source Code + distribution titled "LEGAL" which describes the claim and the + party making the claim in sufficient detail that a recipient will + know whom to contact. If Contributor obtains such knowledge after + the Modification is made available as described in Section 3.2, + Contributor shall promptly modify the LEGAL file in all copies + Contributor makes available thereafter and shall take other steps + (such as notifying appropriate mailing lists or newsgroups) + reasonably calculated to inform those who received the Covered + Code that new knowledge has been obtained. + + (b) Contributor APIs. + If Contributor's Modifications include an application programming + interface and Contributor has knowledge of patent licenses which + are reasonably necessary to implement that API, Contributor must + also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to + Section 3.4(a) above, Contributor believes that Contributor's + Modifications are Contributor's original creation(s) and/or + Contributor has sufficient rights to grant the rights conveyed by + this License. + + 3.5. Required Notices. + You must duplicate the notice in Exhibit A in each file of the Source + Code. If it is not possible to put such notice in a particular Source + Code file due to its structure, then You must include such notice in a + location (such as a relevant directory) where a user would be likely + to look for such a notice. If You created one or more Modification(s) + You may add your name as a Contributor to the notice described in + Exhibit A. You must also duplicate this License in any documentation + for the Source Code where You describe recipients' rights or ownership + rights relating to Covered Code. You may choose to offer, and to + charge a fee for, warranty, support, indemnity or liability + obligations to one or more recipients of Covered Code. However, You + may do so only on Your own behalf, and not on behalf of the Initial + Developer or any Contributor. You must make it absolutely clear than + any such warranty, support, indemnity or liability obligation is + offered by You alone, and You hereby agree to indemnify the Initial + Developer and every Contributor for any liability incurred by the + Initial Developer or such Contributor as a result of warranty, + support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. + You may distribute Covered Code in Executable form only if the + requirements of Section 3.1-3.5 have been met for that Covered Code, + and if You include a notice stating that the Source Code version of + the Covered Code is available under the terms of this License, + including a description of how and where You have fulfilled the + obligations of Section 3.2. The notice must be conspicuously included + in any notice in an Executable version, related documentation or + collateral in which You describe recipients' rights relating to the + Covered Code. You may distribute the Executable version of Covered + Code or ownership rights under a license of Your choice, which may + contain terms different from this License, provided that You are in + compliance with the terms of this License and that the license for the + Executable version does not attempt to limit or alter the recipient's + rights in the Source Code version from the rights set forth in this + License. If You distribute the Executable version under a different + license You must make it absolutely clear that any terms which differ + from this License are offered by You alone, not by the Initial + Developer or any Contributor. You hereby agree to indemnify the + Initial Developer and every Contributor for any liability incurred by + the Initial Developer or such Contributor as a result of any such + terms You offer. + + 3.7. Larger Works. + You may create a Larger Work by combining Covered Code with other code + not governed by the terms of this License and distribute the Larger + Work as a single product. In such a case, You must make sure the + requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Code due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description + must be included in the LEGAL file described in Section 3.4 and must + be included with all distributions of the Source Code. Except to the + extent prohibited by statute or regulation, such description must be + sufficiently detailed for a recipient of ordinary skill to be able to + understand it. + +5. Application of this License. + + This License applies to code to which the Initial Developer has + attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions. + Netscape Communications Corporation ("Netscape") may publish revised + and/or new versions of the License from time to time. Each version + will be given a distinguishing version number. + + 6.2. Effect of New Versions. + Once Covered Code has been published under a particular version of the + License, You may always continue to use it under the terms of that + version. You may also choose to use such Covered Code under the terms + of any subsequent version of the License published by Netscape. No one + other than Netscape has the right to modify the terms applicable to + Covered Code created under this License. + + 6.3. Derivative Works. + If You create or use a modified version of this License (which you may + only do in order to apply it to code which is not already Covered Code + governed by this License), You must (a) rename Your license so that + the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", + "MPL", "NPL" or any confusingly similar phrase do not appear in your + license (except to note that your license differs from this License) + and (b) otherwise make it clear that Your version of the license + contains terms which differ from the Mozilla Public License and + Netscape Public License. (Filling in the name of the Initial + Developer, Original Code or Contributor in the notice described in + Exhibit A shall not of themselves be deemed to be modifications of + this License.) + +7. DISCLAIMER OF WARRANTY. + + COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, + WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF + DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE + IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, + YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE + COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER + OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF + ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. TERMINATION. + + 8.1. This License and the rights granted hereunder will terminate + automatically if You fail to comply with terms herein and fail to cure + such breach within 30 days of becoming aware of the breach. All + sublicenses to the Covered Code which are properly granted shall + survive any termination of this License. Provisions which, by their + nature, must remain in effect beyond the termination of this License + shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement + claim (excluding declatory judgment actions) against Initial Developer + or a Contributor (the Initial Developer or Contributor against whom + You file such action is referred to as "Participant") alleging that: + + (a) such Participant's Contributor Version directly or indirectly + infringes any patent, then any and all rights granted by such + Participant to You under Sections 2.1 and/or 2.2 of this License + shall, upon 60 days notice from Participant terminate prospectively, + unless if within 60 days after receipt of notice You either: (i) + agree in writing to pay Participant a mutually agreeable reasonable + royalty for Your past and future use of Modifications made by such + Participant, or (ii) withdraw Your litigation claim with respect to + the Contributor Version against such Participant. If within 60 days + of notice, a reasonable royalty and payment arrangement are not + mutually agreed upon in writing by the parties or the litigation claim + is not withdrawn, the rights granted by Participant to You under + Sections 2.1 and/or 2.2 automatically terminate at the expiration of + the 60 day notice period specified above. + + (b) any software, hardware, or device, other than such Participant's + Contributor Version, directly or indirectly infringes any patent, then + any rights granted to You by such Participant under Sections 2.1(b) + and 2.2(b) are revoked effective as of the date You first made, used, + sold, distributed, or had made, Modifications made by that + Participant. + + 8.3. If You assert a patent infringement claim against Participant + alleging that such Participant's Contributor Version directly or + indirectly infringes any patent where such claim is resolved (such as + by license or settlement) prior to the initiation of patent + infringement litigation, then the reasonable value of the licenses + granted by such Participant under Sections 2.1 or 2.2 shall be taken + into account in determining the amount or value of any payment or + license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, + all end user license agreements (excluding distributors and resellers) + which have been validly granted by You or any distributor hereunder + prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY. + + UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT + (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL + DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, + OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR + ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY + CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, + WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER + COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN + INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF + LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY + RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW + PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO + THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. GOVERNMENT END USERS. + + The Covered Code is a "commercial item," as that term is defined in + 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer + software" and "commercial computer software documentation," as such + terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 + C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), + all U.S. Government End Users acquire Covered Code with only those + rights set forth herein. + +11. MISCELLANEOUS. + + This License represents the complete agreement concerning subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. This License shall be governed by + California law provisions (except to the extent applicable law, if + any, provides otherwise), excluding its conflict-of-law provisions. + With respect to disputes in which at least one party is a citizen of, + or an entity chartered or registered to do business in the United + States of America, any litigation relating to this License shall be + subject to the jurisdiction of the Federal Courts of the Northern + District of California, with venue lying in Santa Clara County, + California, with the losing party responsible for costs, including + without limitation, court costs and reasonable attorneys' fees and + expenses. The application of the United Nations Convention on + Contracts for the International Sale of Goods is expressly excluded. + Any law or regulation which provides that the language of a contract + shall be construed against the drafter shall not apply to this + License. + +12. RESPONSIBILITY FOR CLAIMS. + + As between Initial Developer and the Contributors, each party is + responsible for claims and damages arising, directly or indirectly, + out of its utilization of rights under this License and You agree to + work with Initial Developer and Contributors to distribute such + responsibility on an equitable basis. Nothing herein is intended or + shall be deemed to constitute any admission of liability. + +13. MULTIPLE-LICENSED CODE. + + Initial Developer may designate portions of the Covered Code as + "Multiple-Licensed". "Multiple-Licensed" means that the Initial + Developer permits you to utilize portions of the Covered Code under + Your choice of the NPL or the alternative licenses, if any, specified + by the Initial Developer in the file described in Exhibit A. + +EXHIBIT A -Mozilla Public License. + + ``The contents of this file are subject to the Mozilla Public License + Version 1.1 (the "License"); you may not use this file except in + compliance with the License. You may obtain a copy of the License at + http://www.mozilla.org/MPL/ + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the + License for the specific language governing rights and limitations + under the License. + + The Original Code is ______________________________________. + + The Initial Developer of the Original Code is ________________________. + Portions created by ______________________ are Copyright (C) ______ + _______________________. All Rights Reserved. + + Contributor(s): ______________________________________. + + Alternatively, the contents of this file may be used under the terms + of the _____ license (the "[___] License"), in which case the + provisions of [______] License are applicable instead of those + above. If you wish to allow use of your version of this file only + under the terms of the [____] License and not to allow others to use + your version of this file under the MPL, indicate your decision by + deleting the provisions above and replace them with the notice and + other provisions required by the [___] License. If you do not delete + the provisions above, a recipient may use your version of this file + under either the MPL or the [___] License." + + [NOTE: The text of this Exhibit A may differ slightly from the text of + the notices in the Source Code files of the Original Code. You should + use the text of this Exhibit A rather than the text found in the + Original Code Source Code for Your Modifications.] + +== END TEXT ONLY VERSION == +--> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>License - CKEditor</title> +</head> +<body> + <h1> + Software License Agreement + </h1> + <p> + <strong>CKEditor&trade;</strong> - The text editor for Internet&trade; - <a href="http://ckeditor.com"> + http://ckeditor.com</a><br /> + Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved. + </p> + <p> + Licensed under the terms of any of the following licenses at your choice: + </p> + <ul> + <li><a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a> Version + 2 or later (the "GPL");</li> + <li><a href="http://www.gnu.org/licenses/lgpl.html">GNU Lesser General Public License</a> + Version 2.1 or later (the "LGPL");</li> + <li><a href="http://www.mozilla.org/MPL/MPL-1.1.html">Mozilla Public License</a> Version + 1.1 or later (the "MPL").</li> + </ul> + <p> + You are not required to, but if you want to explicitly declare the license you have + chosen to be bound to when using, reproducing, modifying and distributing this software, + just include a text file titled "LEGAL" in your version of this software, indicating + your license choice. In any case, your choice will not restrict any recipient of + your version of this software to use, reproduce, modify and distribute this software + under any of the above licenses. + </p> + <h2> + Sources of Intellectual Property Included in CKEditor + </h2> + <p> + Where not otherwise indicated, all CKEditor content is authored by CKSource engineers + and consists of CKSource-owned intellectual property. In some specific instances, + CKEditor will incorporate work done by developers outside of CKSource with their + express permission. + </p> + <p> + <a href="http://developer.yahoo.com/yui/yuitest/">YUI Test</a>: At _source/tests/yuitest.js + can be found part of the source code of YUI, which is licensed under the terms of + the <a href="http://developer.yahoo.com/yui/license.txt">BSD License</a>. YUI is + Copyright &copy; 2008, Yahoo! Inc. + </p> + <h2> + Trademarks + </h2> + <p> + CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product + names are trademarks, registered trademarks or service marks of their respective + holders. + </p> +</body> +</html> diff --git a/editor/editor/ckeditor.js b/editor/editor/ckeditor.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 +*/ + +(function(){if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'A1QD',version:'3.2',revision:'5205',_:{},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;})();var a=CKEDITOR;if(!a.event){a.event=function(){};a.event.implementOn=function(b,c){var d=a.event.prototype;for(var e in d){if(b[e]==undefined)b[e]=d[e];}};a.event.prototype=(function(){var b=function(d){var e=d.getPrivate&&d.getPrivate()||d._||(d._={});return e.events||(e.events={});},c=function(d){this.name=d;this.listeners=[];};c.prototype={getListenerIndex:function(d){for(var e=0,f=this.listeners;e<f.length;e++){if(f[e].fn==d)return e;}return-1;}};return{on:function(d,e,f,g,h){var i=b(this),j=i[d]||(i[d]=new c(d));if(j.getListenerIndex(e)<0){var k=j.listeners;if(!f)f=this;if(isNaN(h))h=10;var l=this,m=function(o,p,q,r){var s={name:d,sender:this,editor:o,data:p,listenerData:g,stop:q,cancel:r,removeListener:function(){l.removeListener(d,e);}};e.call(f,s);return s.data;};m.fn=e;m.priority=h;for(var n=k.length-1;n>=0;n--){if(k[n].priority<=h){k.splice(n+1,0,m);return;}}k.unshift(m);}},fire:(function(){var d=false,e=function(){d=true;},f=false,g=function(){f=true;};return function(h,i,j){var k=b(this)[h],l=d,m=f;d=f=false;if(k){var n=k.listeners;if(n.length){n=n.slice(0);for(var o=0;o<n.length;o++){var p=n[o].call(this,j,i,e,g);if(typeof p!='undefined')i=p;if(d||f)break;}}}var q=f||(typeof i=='undefined'?false:i);d=l;f=m;return q;};})(),fireOnce:function(d,e,f){var g=this.fire(d,e,f);delete b(this)[d];return g;},removeListener:function(d,e){var f=b(this)[d];if(f){var g=f.getListenerIndex(e);if(g>=0)f.listeners.splice(g,1);}},hasListeners:function(d){var e=b(this)[d];return e&&e.listeners.length>0;}};})();}if(!a.editor){a.ELEMENT_MODE_NONE=0;a.ELEMENT_MODE_REPLACE=1;a.ELEMENT_MODE_APPENDTO=2;a.editor=function(b,c,d){var e=this;e._={instanceConfig:b,element:c}; +e.elementMode=d||0;a.event.call(e);e._init();};a.editor.replace=function(b,c){var d=b;if(typeof d!='object'){d=document.getElementById(b);if(!d){var e=0,f=document.getElementsByName(b);while((d=f[e++])&&d.tagName.toLowerCase()!='textarea'){}}if(!d)throw '[CKEDITOR.editor.replace] The element with id or name "'+b+'" was not found.';}d.style.visibility='hidden';return new a.editor(c,d,1);};a.editor.appendTo=function(b,c){var d=b;if(typeof d!='object'){d=document.getElementById(b);if(!d)throw '[CKEDITOR.editor.appendTo] The element with id "'+b+'" was not found.';}return new a.editor(c,d,2);};a.editor.prototype={_init:function(){var b=a.editor._pending||(a.editor._pending=[]);b.push(this);},fire:function(b,c){return a.event.prototype.fire.call(this,b,c,this);},fireOnce:function(b,c){return a.event.prototype.fireOnce.call(this,b,c,this);}};a.event.implementOn(a.editor.prototype,true);}if(!a.env)a.env=(function(){var b=navigator.userAgent.toLowerCase(),c=window.opera,d={ie:/*@cc_on!@*/false,opera:!!c&&c.version,webkit:b.indexOf(' applewebkit/')>-1,air:b.indexOf(' adobeair/')>-1,mac:b.indexOf('macintosh')>-1,quirks:document.compatMode=='BackCompat',isCustomDomain:function(){return this.ie&&document.domain!=window.location.hostname;}};d.gecko=navigator.product=='Gecko'&&!d.webkit&&!d.opera;var e=0;if(d.ie){e=parseFloat(b.match(/msie (\d+)/)[1]);d.ie8=!!document.documentMode;d.ie8Compat=document.documentMode==8;d.ie7Compat=e==7&&!document.documentMode||document.documentMode==7;d.ie6Compat=e<7||d.quirks;}if(d.gecko){var f=b.match(/rv:([\d\.]+)/);if(f){f=f[1].split('.');e=f[0]*10000+(f[1]||0)*100+ +(f[2]||0);}}if(d.opera)e=parseFloat(c.version());if(d.air)e=parseFloat(b.match(/ adobeair\/(\d+)/)[1]);if(d.webkit)e=parseFloat(b.match(/ applewebkit\/(\d+)/)[1]);d.version=e;d.isCompatible=d.ie&&e>=6||d.gecko&&e>=10801||d.opera&&e>=9.5||d.air&&e>=1||d.webkit&&e>=522||false;d.cssClass='cke_browser_'+(d.ie?'ie':d.gecko?'gecko':d.opera?'opera':d.air?'air':d.webkit?'webkit':'unknown');if(d.quirks)d.cssClass+=' cke_browser_quirks';if(d.ie){d.cssClass+=' cke_browser_ie'+(d.version<7?'6':d.version>=8?'8':'7');if(d.quirks)d.cssClass+=' cke_browser_iequirks';}if(d.gecko&&e<10900)d.cssClass+=' cke_browser_gecko18';return d;})();var b=a.env;var c=b.ie;if(a.status=='unloaded')(function(){a.event.implementOn(a);a.loadFullCore=function(){if(a.status!='basic_ready'){a.loadFullCore._load=true;return;}delete a.loadFullCore;var e=document.createElement('script');e.type='text/javascript'; +e.src=a.basePath+'ckeditor.js';document.getElementsByTagName('head')[0].appendChild(e);};a.loadFullCoreTimeout=0;a.replaceClass='ckeditor';a.replaceByClassEnabled=true;var d=function(e,f,g){if(b.isCompatible){if(a.loadFullCore)a.loadFullCore();var h=g(e,f);a.add(h);return h;}return null;};a.replace=function(e,f){return d(e,f,a.editor.replace);};a.appendTo=function(e,f){return d(e,f,a.editor.appendTo);};a.add=function(e){var f=this._.pending||(this._.pending=[]);f.push(e);};a.replaceAll=function(){var e=document.getElementsByTagName('textarea');for(var f=0;f<e.length;f++){var g=null,h=e[f],i=h.name;if(!h.name&&!h.id)continue;if(typeof arguments[0]=='string'){var j=new RegExp('(?:^| )'+arguments[0]+'(?:$| )');if(!j.test(h.className))continue;}else if(typeof arguments[0]=='function'){g={};if(arguments[0](h,g)===false)continue;}this.replace(h,g);}};(function(){var e=function(){var f=a.loadFullCore,g=a.loadFullCoreTimeout;if(a.replaceByClassEnabled)a.replaceAll(a.replaceClass);a.status='basic_ready';if(f&&f._load)f();else if(g)setTimeout(function(){if(a.loadFullCore)a.loadFullCore();},g*1000);};if(window.addEventListener)window.addEventListener('load',e,false);else if(window.attachEvent)window.attachEvent('onload',e);})();a.status='basic_loaded';})();a.dom={};var d=a.dom;(function(){var e=[];a.tools={arrayCompare:function(f,g){if(!f&&!g)return true;if(!f||!g||f.length!=g.length)return false;for(var h=0;h<f.length;h++){if(f[h]!=g[h])return false;}return true;},clone:function(f){var g;if(f&&f instanceof Array){g=[];for(var h=0;h<f.length;h++)g[h]=this.clone(f[h]);return g;}if(f===null||typeof f!='object'||f instanceof String||f instanceof Number||f instanceof Boolean||f instanceof Date||f instanceof RegExp)return f;g=new f.constructor();for(var i in f){var j=f[i];g[i]=this.clone(j);}return g;},capitalize:function(f){return f.charAt(0).toUpperCase()+f.substring(1).toLowerCase();},extend:function(f){var g=arguments.length,h,i;if(typeof (h=arguments[g-1])=='boolean')g--;else if(typeof (h=arguments[g-2])=='boolean'){i=arguments[g-1];g-=2;}for(var j=1;j<g;j++){var k=arguments[j];for(var l in k){if(h===true||f[l]==undefined)if(!i||l in i)f[l]=k[l];}}return f;},prototypedCopy:function(f){var g=function(){};g.prototype=f;return new g();},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?'styleFloat':'float'; +return function(h){if(h=='float')return g;else return h.replace(/-./g,function(i){return i.substr(1).toUpperCase();});};})(),buildStyleHtml:function(f){f=[].concat(f);var g,h=[];for(var i=0;i<f.length;i++){g=f[i];if(/@import|[{}]/.test(g))h.push('<style>'+g+'</style>');else h.push('<link type="text/css" rel=stylesheet href="'+g+'">');}return h.join('');},htmlEncode:function(f){var g=function(k){var l=new d.element('span');l.setText(k);return l.getHtml();},h=g('\n').toLowerCase()=='<br>'?function(k){return g(k).replace(/<br>/gi,'\n');}:g,i=g('>')=='>'?function(k){return h(k).replace(/>/g,'&gt;');}:h,j=g(' ')=='&nbsp; '?function(k){return i(k).replace(/&nbsp;/g,' ');}:i;this.htmlEncode=j;return this.htmlEncode(f);},escapeCssSelector:function(f){return f.replace(/[\s#:.,$*^\[\]()~=+>]/g,'\\$&');},getNextNumber:(function(){var f=0;return function(){return++f;};})(),override:function(f,g){return g(f);},setTimeout:function(f,g,h,i,j){if(!j)j=window;if(!h)h=j;return j.setTimeout(function(){if(i)f.apply(h,[].concat(i));else f.apply(h);},g||0);},trim:(function(){var f=/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g;return function(g){return g.replace(f,'');};})(),ltrim:(function(){var f=/^[ \t\n\r]+/g;return function(g){return g.replace(f,'');};})(),rtrim:(function(){var f=/[ \t\n\r]+$/g;return function(g){return g.replace(f,'');};})(),indexOf:Array.prototype.indexOf?function(f,g){return f.indexOf(g);}:function(f,g){for(var h=0,i=f.length;h<i;h++){if(f[h]===g)return h;}return-1;},bind:function(f,g){return function(){return f.apply(g,arguments);};},createClass:function(f){var g=f.$,h=f.base,i=f.privates||f._,j=f.proto,k=f.statics;if(i){var l=g;g=function(){var p=this;var m=p._||(p._={});for(var n in i){var o=i[n];m[n]=typeof o=='function'?a.tools.bind(o,p):o;}l.apply(p,arguments);};}if(h){g.prototype=this.prototypedCopy(h.prototype);g.prototype['constructor']=g;g.prototype.base=function(){this.base=h.prototype.base;h.apply(this,arguments);this.base=arguments.callee;};}if(j)this.extend(g.prototype,j,true);if(k)this.extend(g,k,true);return g;},addFunction:function(f,g){return e.push(function(){f.apply(g||this,arguments);})-1;},removeFunction:function(f){e[f]=null;},callFunction:function(f){var g=e[f];return g&&g.apply(window,Array.prototype.slice.call(arguments,1));},cssLength:(function(){var f=/^\d+(?:\.\d+)?$/;return function(g){return g+(f.test(g)?'px':'');};})(),repeat:function(f,g){return new Array(g+1).join(f);},tryThese:function(){var f;for(var g=0,h=arguments.length;g<h;g++){var i=arguments[g]; +try{f=i();break;}catch(j){}}return f;}};})();var e=a.tools;a.dtd=(function(){var f=e.extend,g={isindex:1,fieldset:1},h={input:1,button:1,select:1,textarea:1,label:1},i=f({a:1},h),j=f({iframe:1},i),k={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},l={ins:1,del:1,script:1},m=f({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},l),n=f({sub:1,img:1,object:1,sup:1,basefont:1,map:1,applet:1,font:1,big:1,small:1},m),o=f({p:1},n),p=f({iframe:1},n,h),q={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},r=f({a:1},p),s={tr:1},t={'#':1},u=f({param:1},q),v=f({form:1},g,j,k,o),w={li:1},x={style:1,script:1},y={base:1,link:1,meta:1,title:1},z=f(y,x),A={head:1,body:1},B={html:1},C={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{$nonBodyContent:f(B,A,y),$block:C,$blockLimit:{body:1,div:1,td:1,th:1,caption:1,form:1},$inline:r,$body:f({script:1,style:1},C),$cdata:{script:1,style:1},$empty:{area:1,base:1,br:1,col:1,hr:1,img:1,input:1,link:1,meta:1,param:1},$listItem:{dd:1,dt:1,li:1},$list:{ul:1,ol:1,dl:1},$nonEditable:{applet:1,button:1,embed:1,iframe:1,map:1,object:1,option:1,script:1,textarea:1,param:1},$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},$tabIndex:{a:1,area:1,button:1,input:1,object:1,select:1,textarea:1},$tableContent:{caption:1,col:1,colgroup:1,tbody:1,td:1,tfoot:1,th:1,thead:1,tr:1},html:A,head:z,style:t,script:t,body:v,base:{},link:{},meta:{},title:t,col:{},tr:{td:1,th:1},img:{},colgroup:{col:1},noscript:v,td:v,br:{},th:v,center:v,kbd:r,button:f(o,k),basefont:{},h5:r,h4:r,samp:r,h6:r,ol:w,h1:r,h3:r,option:t,h2:r,form:f(g,j,k,o),select:{optgroup:1,option:1},font:r,ins:r,menu:w,abbr:r,label:r,table:{thead:1,col:1,tbody:1,tr:1,colgroup:1,caption:1,tfoot:1},code:r,script:t,tfoot:s,cite:r,li:v,input:{},iframe:v,strong:r,textarea:t,noframes:v,big:r,small:r,span:r,hr:{},dt:r,sub:r,optgroup:{option:1},param:{},bdo:r,'var':r,div:v,object:u,sup:r,dd:v,strike:r,area:{},dir:w,map:f({area:1,form:1,p:1},g,l,k),applet:u,dl:{dt:1,dd:1},del:r,isindex:{},fieldset:f({legend:1},q),thead:s,ul:w,acronym:r,b:r,a:p,blockquote:v,caption:r,i:r,u:r,tbody:s,s:r,address:f(j,o),tt:r,legend:r,q:r,pre:f(m,i),p:r,em:r,dfn:r}; +})();var f=a.dtd;d.event=function(g){this.$=g;};d.event.prototype={getKey:function(){return this.$.keyCode||this.$.which;},getKeystroke:function(){var h=this;var g=h.getKey();if(h.$.ctrlKey||h.$.metaKey)g+=1000;if(h.$.shiftKey)g+=2000;if(h.$.altKey)g+=4000;return g;},preventDefault:function(g){var h=this.$;if(h.preventDefault)h.preventDefault();else h.returnValue=false;if(g)this.stopPropagation();},stopPropagation:function(){var g=this.$;if(g.stopPropagation)g.stopPropagation();else g.cancelBubble=true;},getTarget:function(){var g=this.$.target||this.$.srcElement;return g?new d.node(g):null;}};a.CTRL=1000;a.SHIFT=2000;a.ALT=4000;d.domObject=function(g){if(g)this.$=g;};d.domObject.prototype=(function(){var g=function(h,i){return function(j){if(typeof a!='undefined')h.fire(i,new d.event(j));};};return{getPrivate:function(){var h;if(!(h=this.getCustomData('_')))this.setCustomData('_',h={});return h;},on:function(h){var k=this;var i=k.getCustomData('_cke_nativeListeners');if(!i){i={};k.setCustomData('_cke_nativeListeners',i);}if(!i[h]){var j=i[h]=g(k,h);if(k.$.addEventListener)k.$.addEventListener(h,j,!!a.event.useCapture);else if(k.$.attachEvent)k.$.attachEvent('on'+h,j);}return a.event.prototype.on.apply(k,arguments);},removeListener:function(h){var k=this;a.event.prototype.removeListener.apply(k,arguments);if(!k.hasListeners(h)){var i=k.getCustomData('_cke_nativeListeners'),j=i&&i[h];if(j){if(k.$.removeEventListener)k.$.removeEventListener(h,j,false);else if(k.$.detachEvent)k.$.detachEvent('on'+h,j);delete i[h];}}}};})();(function(g){var h={};g.equals=function(i){return i&&i.$===this.$;};g.setCustomData=function(i,j){var k=this.getUniqueId(),l=h[k]||(h[k]={});l[i]=j;return this;};g.getCustomData=function(i){var j=this.$._cke_expando,k=j&&h[j];return k&&k[i];};g.removeCustomData=function(i){var j=this.$._cke_expando,k=j&&h[j],l=k&&k[i];if(typeof l!='undefined')delete k[i];return l||null;};g.getUniqueId=function(){return this.$._cke_expando||(this.$._cke_expando=e.getNextNumber());};a.event.implementOn(g);})(d.domObject.prototype);d.window=function(g){d.domObject.call(this,g);};d.window.prototype=new d.domObject();e.extend(d.window.prototype,{focus:function(){if(b.webkit&&this.$.parent)this.$.parent.focus();this.$.focus();},getViewPaneSize:function(){var g=this.$.document,h=g.compatMode=='CSS1Compat';return{width:(h?g.documentElement.clientWidth:g.body.clientWidth)||0,height:(h?g.documentElement.clientHeight:g.body.clientHeight)||0};},getScrollPosition:function(){var g=this.$; +if('pageXOffset' in g)return{x:g.pageXOffset||0,y:g.pageYOffset||0};else{var h=g.document;return{x:h.documentElement.scrollLeft||h.body.scrollLeft||0,y:h.documentElement.scrollTop||h.body.scrollTop||0};}}});d.document=function(g){d.domObject.call(this,g);};var g=d.document;g.prototype=new d.domObject();e.extend(g.prototype,{appendStyleSheet:function(h){if(this.$.createStyleSheet)this.$.createStyleSheet(h);else{var i=new d.element('link');i.setAttributes({rel:'stylesheet',type:'text/css',href:h});this.getHead().append(i);}},appendStyleText:function(h){var k=this;if(k.$.createStyleSheet){var i=k.$.createStyleSheet('');i.cssText=h;}else{var j=new d.element('style',k);j.append(new d.text(h,k));k.getHead().append(j);}},createElement:function(h,i){var j=new d.element(h,this);if(i){if(i.attributes)j.setAttributes(i.attributes);if(i.styles)j.setStyles(i.styles);}return j;},createText:function(h){return new d.text(h,this);},focus:function(){this.getWindow().focus();},getById:function(h){var i=this.$.getElementById(h);return i?new d.element(i):null;},getByAddress:function(h,i){var j=this.$.documentElement;for(var k=0;j&&k<h.length;k++){var l=h[k];if(!i){j=j.childNodes[l];continue;}var m=-1;for(var n=0;n<j.childNodes.length;n++){var o=j.childNodes[n];if(i===true&&o.nodeType==3&&o.previousSibling&&o.previousSibling.nodeType==3)continue;m++;if(m==l){j=o;break;}}}return j?new d.node(j):null;},getElementsByTag:function(h,i){if(!c&&i)h=i+':'+h;return new d.nodeList(this.$.getElementsByTagName(h));},getHead:function(){var h=this.$.getElementsByTagName('head')[0];h=new d.element(h);return(this.getHead=function(){return h;})();},getBody:function(){var h=new d.element(this.$.body);return(this.getBody=function(){return h;})();},getDocumentElement:function(){var h=new d.element(this.$.documentElement);return(this.getDocumentElement=function(){return h;})();},getWindow:function(){var h=new d.window(this.$.parentWindow||this.$.defaultView);return(this.getWindow=function(){return h;})();}});d.node=function(h){if(h){switch(h.nodeType){case 9:return new g(h);case 1:return new d.element(h);case 3:return new d.text(h);}d.domObject.call(this,h);}return this;};d.node.prototype=new d.domObject();a.NODE_ELEMENT=1;a.NODE_DOCUMENT=9;a.NODE_TEXT=3;a.NODE_COMMENT=8;a.NODE_DOCUMENT_FRAGMENT=11;a.POSITION_IDENTICAL=0;a.POSITION_DISCONNECTED=1;a.POSITION_FOLLOWING=2;a.POSITION_PRECEDING=4;a.POSITION_IS_CONTAINED=8;a.POSITION_CONTAINS=16;e.extend(d.node.prototype,{appendTo:function(h,i){h.append(this,i); +return h;},clone:function(h,i){var j=this.$.cloneNode(h);if(!i){var k=function(l){if(l.nodeType!=1)return;l.removeAttribute('id',false);l.removeAttribute('_cke_expando',false);var m=l.childNodes;for(var n=0;n<m.length;n++)k(m[n]);};k(j);}return new d.node(j);},hasPrevious:function(){return!!this.$.previousSibling;},hasNext:function(){return!!this.$.nextSibling;},insertAfter:function(h){h.$.parentNode.insertBefore(this.$,h.$.nextSibling);return h;},insertBefore:function(h){h.$.parentNode.insertBefore(this.$,h.$);return h;},insertBeforeMe:function(h){this.$.parentNode.insertBefore(h.$,this.$);return h;},getAddress:function(h){var i=[],j=this.getDocument().$.documentElement,k=this.$;while(k&&k!=j){var l=k.parentNode,m=-1;if(l){for(var n=0;n<l.childNodes.length;n++){var o=l.childNodes[n];if(h&&o.nodeType==3&&o.previousSibling&&o.previousSibling.nodeType==3)continue;m++;if(o==k)break;}i.unshift(m);}k=l;}return i;},getDocument:function(){var h=new g(this.$.ownerDocument||this.$.parentNode.ownerDocument);return(this.getDocument=function(){return h;})();},getIndex:function(){var h=this.$,i=h.parentNode&&h.parentNode.firstChild,j=-1;while(i){j++;if(i==h)return j;i=i.nextSibling;}return-1;},getNextSourceNode:function(h,i,j){if(j&&!j.call){var k=j;j=function(n){return!n.equals(k);};}var l=!h&&this.getFirst&&this.getFirst(),m;if(!l){if(this.type==1&&j&&j(this,true)===false)return null;l=this.getNext();}while(!l&&(m=(m||this).getParent())){if(j&&j(m,true)===false)return null;l=m.getNext();}if(!l)return null;if(j&&j(l)===false)return null;if(i&&i!=l.type)return l.getNextSourceNode(false,i,j);return l;},getPreviousSourceNode:function(h,i,j){if(j&&!j.call){var k=j;j=function(n){return!n.equals(k);};}var l=!h&&this.getLast&&this.getLast(),m;if(!l){if(this.type==1&&j&&j(this,true)===false)return null;l=this.getPrevious();}while(!l&&(m=(m||this).getParent())){if(j&&j(m,true)===false)return null;l=m.getPrevious();}if(!l)return null;if(j&&j(l)===false)return null;if(i&&l.type!=i)return l.getPreviousSourceNode(false,i,j);return l;},getPrevious:function(h){var i=this.$,j;do{i=i.previousSibling;j=i&&new d.node(i);}while(j&&h&&!h(j))return j;},getNext:function(h){var i=this.$,j;do{i=i.nextSibling;j=i&&new d.node(i);}while(j&&h&&!h(j))return j;},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:function(h){var j=this;if(h.equals(j))return j; +if(h.contains&&h.contains(j))return h;var i=j.contains?j:j.getParent();do{if(i.contains(h))return i;}while(i=i.getParent())return null;},getPosition:function(h){var i=this.$,j=h.$;if(i.compareDocumentPosition)return i.compareDocumentPosition(j);if(i==j)return 0;if(this.type==1&&h.type==1){if(i.contains){if(i.contains(j))return 16+4;if(j.contains(i))return 8+2;}if('sourceIndex' in i)return i.sourceIndex<0||j.sourceIndex<0?1:i.sourceIndex<j.sourceIndex?4:2;}var k=this.getAddress(),l=h.getAddress(),m=Math.min(k.length,l.length);for(var n=0;n<=m-1;n++){if(k[n]!=l[n]){if(n<m)return k[n]<l[n]?4:2;break;}}return k.length<l.length?16+4:8+2;},getAscendant:function(h,i){var j=this.$;if(!i)j=j.parentNode;while(j){if(j.nodeName&&j.nodeName.toLowerCase()==h)return new d.node(j);j=j.parentNode;}return null;},hasAscendant:function(h,i){var j=this.$;if(!i)j=j.parentNode;while(j){if(j.nodeName&&j.nodeName.toLowerCase()==h)return true;j=j.parentNode;}return false;},move:function(h,i){h.append(this.remove(),i);},remove:function(h){var i=this.$,j=i.parentNode;if(j){if(h)for(var k;k=i.firstChild;)j.insertBefore(i.removeChild(k),i);j.removeChild(i);}return this;},replace:function(h){this.insertBefore(h);h.remove();},trim:function(){this.ltrim();this.rtrim();},ltrim:function(){var k=this;var h;while(k.getFirst&&(h=k.getFirst())){if(h.type==3){var i=e.ltrim(h.getText()),j=h.getLength();if(!i){h.remove();continue;}else if(i.length<j){h.split(j-i.length);k.$.removeChild(k.$.firstChild);}}break;}},rtrim:function(){var k=this;var h;while(k.getLast&&(h=k.getLast())){if(h.type==3){var i=e.rtrim(h.getText()),j=h.getLength();if(!i){h.remove();continue;}else if(i.length<j){h.split(i.length);k.$.lastChild.parentNode.removeChild(k.$.lastChild);}}break;}if(!c&&!b.opera){h=k.$.lastChild;if(h&&h.type==1&&h.nodeName.toLowerCase()=='br')h.parentNode.removeChild(h);}}});d.nodeList=function(h){this.$=h;};d.nodeList.prototype={count:function(){return this.$.length;},getItem:function(h){var i=this.$[h];return i?new d.node(i):null;}};d.element=function(h,i){if(typeof h=='string')h=(i?i.$:document).createElement(h);d.domObject.call(this,h);};var h=d.element;h.get=function(i){return i&&(i.$?i:new h(i));};h.prototype=new d.node();h.createFromHtml=function(i,j){var k=new h('div',j);k.setHtml(i);return k.getFirst().remove();};h.setMarker=function(i,j,k,l){var m=j.getCustomData('list_marker_id')||j.setCustomData('list_marker_id',e.getNextNumber()).getCustomData('list_marker_id'),n=j.getCustomData('list_marker_names')||j.setCustomData('list_marker_names',{}).getCustomData('list_marker_names'); +i[m]=j;n[k]=1;return j.setCustomData(k,l);};h.clearAllMarkers=function(i){for(var j in i)h.clearMarkers(i,i[j],true);};h.clearMarkers=function(i,j,k){var l=j.getCustomData('list_marker_names'),m=j.getCustomData('list_marker_id');for(var n in l)j.removeCustomData(n);j.removeCustomData('list_marker_names');if(k){j.removeCustomData('list_marker_id');delete i[m];}};e.extend(h.prototype,{type:1,addClass:function(i){var j=this.$.className;if(j){var k=new RegExp('(?:^|\\s)'+i+'(?:\\s|$)','');if(!k.test(j))j+=' '+i;}this.$.className=j||i;},removeClass:function(i){var j=this.getAttribute('class');if(j){var k=new RegExp('(?:^|\\s+)'+i+'(?=\\s|$)','i');if(k.test(j)){j=j.replace(k,'').replace(/^\s+/,'');if(j)this.setAttribute('class',j);else this.removeAttribute('class');}}},hasClass:function(i){var j=new RegExp('(?:^|\\s+)'+i+'(?=\\s|$)','');return j.test(this.getAttribute('class'));},append:function(i,j){var k=this;if(typeof i=='string')i=k.getDocument().createElement(i);if(j)k.$.insertBefore(i.$,k.$.firstChild);else k.$.appendChild(i.$);return i;},appendHtml:function(i){var k=this;if(!k.$.childNodes.length)k.setHtml(i);else{var j=new h('div',k.getDocument());j.setHtml(i);j.moveChildren(k);}},appendText:function(i){if(this.$.text!=undefined)this.$.text+=i;else this.append(new d.text(i));},appendBogus:function(){var k=this;var i=k.getLast();while(i&&i.type==3&&!e.rtrim(i.getText()))i=i.getPrevious();if(!i||!i.is||!i.is('br')){var j=b.opera?k.getDocument().createText(''):k.getDocument().createElement('br');b.gecko&&j.setAttribute('type','_moz');k.append(j);}},breakParent:function(i){var l=this;var j=new d.range(l.getDocument());j.setStartAfter(l);j.setEndAfter(i);var k=j.extractContents();j.insertNode(l.remove());k.insertAfterNode(l);},contains:c||b.webkit?function(i){var j=this.$;return i.type!=1?j.contains(i.getParent().$):j!=i.$&&j.contains(i.$);}:function(i){return!!(this.$.compareDocumentPosition(i.$)&16);},focus:function(){try{this.$.focus();}catch(i){}},getHtml:function(){var i=this.$.innerHTML;return c?i.replace(/<\?[^>]*>/g,''):i;},getOuterHtml:function(){var j=this;if(j.$.outerHTML)return j.$.outerHTML.replace(/<\?[^>]*>/,'');var i=j.$.ownerDocument.createElement('div');i.appendChild(j.$.cloneNode(true));return i.innerHTML;},setHtml:function(i){return this.$.innerHTML=i;},setText:function(i){h.prototype.setText=this.$.innerText!=undefined?function(j){return this.$.innerText=j;}:function(j){return this.$.textContent=j;};return this.setText(i);},getAttribute:(function(){var i=function(j){return this.$.getAttribute(j,2); +};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){var n=this;switch(j){case 'class':j='className';break;case 'tabindex':var k=i.call(n,j);if(k!==0&&n.$.tabIndex===0)k=null;return k;break;case 'checked':var l=n.$.attributes.getNamedItem(j),m=l.specified?l.nodeValue:n.$.checked;return m?'checked':null;case 'hspace':return n.$.hspace;case 'style':return n.$.style.cssText;}return i.call(n,j);};else return i;})(),getChildren:function(){return new d.nodeList(this.$.childNodes);},getComputedStyle:c?function(i){return this.$.currentStyle[e.cssStyleToDomStyle(i)];}:function(i){return this.getWindow().$.getComputedStyle(this.$,'').getPropertyValue(i);},getDtd:function(){var i=f[this.getName()];this.getDtd=function(){return i;};return i;},getElementsByTag:g.prototype.getElementsByTag,getTabIndex:c?function(){var i=this.$.tabIndex;if(i===0&&!f.$tabIndex[this.getName()]&&parseInt(this.getAttribute('tabindex'),10)!==0)i=-1;return i;}:b.webkit?function(){var i=this.$.tabIndex;if(i==undefined){i=parseInt(this.getAttribute('tabindex'),10);if(isNaN(i))i=-1;}return i;}:function(){return this.$.tabIndex;},getText:function(){return this.$.textContent||this.$.innerText||'';},getWindow:function(){return this.getDocument().getWindow();},getId:function(){return this.$.id||null;},getNameAtt:function(){return this.$.name||null;},getName:function(){var i=this.$.nodeName.toLowerCase();if(c){var j=this.$.scopeName;if(j!='HTML')i=j.toLowerCase()+':'+i;}return(this.getName=function(){return i;})();},getValue:function(){return this.$.value;},getFirst:function(i){var j=this.$.firstChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getNext(i);return k;},getLast:function(i){var j=this.$.lastChild,k=j&&new d.node(j);if(k&&i&&!i(k))k=k.getPrevious(i);return k;},getStyle:function(i){return this.$.style[e.cssStyleToDomStyle(i)];},is:function(){var i=this.getName();for(var j=0;j<arguments.length;j++){if(arguments[j]==i)return true;}return false;},isEditable:function(){var i=this.getName(),j=!f.$nonEditable[i]&&(f[i]||f.span);return j&&j['#'];},isIdentical:function(i){if(this.getName()!=i.getName())return false;var j=this.$.attributes,k=i.$.attributes,l=j.length,m=k.length;if(!c&&l!=m)return false;for(var n=0;n<l;n++){var o=j[n];if((!c||o.specified&&o.nodeName!='_cke_expando')&&o.nodeValue!=i.getAttribute(o.nodeName))return false;}if(c)for(n=0;n<m;n++){o=k[n];if(o.specified&&o.nodeName!='_cke_expando'&&o.nodeValue!=this.getAttribute(o.nodeName))return false;}return true;},isVisible:function(){var i=!!this.$.offsetHeight&&this.getComputedStyle('visibility')!='hidden',j,k; +if(i&&(b.webkit||b.opera)){j=this.getWindow();if(!j.equals(a.document.getWindow())&&(k=j.$.frameElement))i=new h(k).isVisible();}return i;},hasAttributes:c&&(b.ie7Compat||b.ie6Compat)?function(){var i=this.$.attributes;for(var j=0;j<i.length;j++){var k=i[j];switch(k.nodeName){case 'class':if(this.getAttribute('class'))return true;case '_cke_expando':continue;default:if(k.specified)return true;}}return false;}:function(){var i=this.$.attributes;return i.length>1||i.length==1&&i[0].nodeName!='_cke_expando';},hasAttribute:function(i){var j=this.$.attributes.getNamedItem(i);return!!(j&&j.specified);},hide:function(){this.setStyle('display','none');},moveChildren:function(i,j){var k=this.$;i=i.$;if(k==i)return;var l;if(j)while(l=k.lastChild)i.insertBefore(k.removeChild(l),i.firstChild);else while(l=k.firstChild)i.appendChild(k.removeChild(l));},show:function(){this.setStyles({display:'',visibility:''});},setAttribute:(function(){var i=function(j,k){this.$.setAttribute(j,k);return this;};if(c&&(b.ie7Compat||b.ie6Compat))return function(j,k){var l=this;if(j=='class')l.$.className=k;else if(j=='style')l.$.style.cssText=k;else if(j=='tabindex')l.$.tabIndex=k;else if(j=='checked')l.$.checked=k;else i.apply(l,arguments);return l;};else return i;})(),setAttributes:function(i){for(var j in i)this.setAttribute(j,i[j]);return this;},setValue:function(i){this.$.value=i;return this;},removeAttribute:(function(){var i=function(j){this.$.removeAttribute(j);};if(c&&(b.ie7Compat||b.ie6Compat))return function(j){if(j=='class')j='className';else if(j=='tabindex')j='tabIndex';i.call(this,j);};else return i;})(),removeAttributes:function(i){if(e.isArray(i))for(var j=0;j<i.length;j++)this.removeAttribute(i[j]);else for(var k in i)i.hasOwnProperty(k)&&this.removeAttribute(k);},removeStyle:function(i){var j=this;j.setStyle(i,'');if(j.$.style.removeAttribute)j.$.style.removeAttribute(e.cssStyleToDomStyle(i));if(!j.$.style.cssText)j.removeAttribute('style');},setStyle:function(i,j){this.$.style[e.cssStyleToDomStyle(i)]=j;return this;},setStyles:function(i){for(var j in i)this.setStyle(j,i[j]);return this;},setOpacity:function(i){if(c){i=Math.round(i*100);this.setStyle('filter',i>=100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+i+')');}else this.setStyle('opacity',i);},unselectable:b.gecko?function(){this.$.style.MozUserSelect='none';}:b.webkit?function(){this.$.style.KhtmlUserSelect='none';}:function(){if(c||b.opera){var i=this.$,j,k=0;i.unselectable='on';while(j=i.all[k++])switch(j.tagName.toLowerCase()){case 'iframe':case 'textarea':case 'input':case 'select':break; +default:j.unselectable='on';}}},getPositionedAncestor:function(){var i=this;while(i.getName()!='html'){if(i.getComputedStyle('position')!='static')return i;i=i.getParent();}return null;},getDocumentPosition:function(i){var D=this;var j=0,k=0,l=D.getDocument().getBody(),m=D.getDocument().$.compatMode=='BackCompat',n=D.getDocument();if(document.documentElement.getBoundingClientRect){var o=D.$.getBoundingClientRect(),p=n.$,q=p.documentElement,r=q.clientTop||l.$.clientTop||0,s=q.clientLeft||l.$.clientLeft||0,t=true;if(c){var u=n.getDocumentElement().contains(D),v=n.getBody().contains(D);t=m&&v||!m&&u;}if(t){j=o.left+(!m&&q.scrollLeft||l.$.scrollLeft);j-=s;k=o.top+(!m&&q.scrollTop||l.$.scrollTop);k-=r;}}else{var w=D,x=null,y;while(w&&!(w.getName()=='body'||w.getName()=='html')){j+=w.$.offsetLeft-w.$.scrollLeft;k+=w.$.offsetTop-w.$.scrollTop;if(!w.equals(D)){j+=w.$.clientLeft||0;k+=w.$.clientTop||0;}var z=x;while(z&&!z.equals(w)){j-=z.$.scrollLeft;k-=z.$.scrollTop;z=z.getParent();}x=w;w=(y=w.$.offsetParent)?new h(y):null;}}if(i){var A=D.getWindow(),B=i.getWindow();if(!A.equals(B)&&A.$.frameElement){var C=new h(A.$.frameElement).getDocumentPosition(i);j+=C.x;k+=C.y;}}if(!document.documentElement.getBoundingClientRect)if(b.gecko&&!m){j+=D.$.clientLeft?1:0;k+=D.$.clientTop?1:0;}return{x:j,y:k};},scrollIntoView:function(i){var o=this;var j=o.getWindow(),k=j.getViewPaneSize().height,l=k*-1;if(i)l+=k;else{l+=o.$.offsetHeight||0;l+=parseInt(o.getComputedStyle('marginBottom')||0,10)||0;}var m=o.getDocumentPosition();l+=m.y;l=l<0?0:l;var n=j.getScrollPosition().y;if(l>n||l<n-k)j.$.scrollTo(0,l);},setState:function(i){var j=this;switch(i){case 1:j.addClass('cke_on');j.removeClass('cke_off');j.removeClass('cke_disabled');break;case 0:j.addClass('cke_disabled');j.removeClass('cke_off');j.removeClass('cke_on');break;default:j.addClass('cke_off');j.removeClass('cke_on');j.removeClass('cke_disabled');break;}},getFrameDocument:function(){var i=this.$;try{i.contentWindow.document;}catch(j){i.src=i.src;if(c&&b.version<7)window.showModalDialog('javascript:document.write("<script>window.setTimeout(function(){window.close();},50);</script>")');}return i&&new g(i.contentWindow.document);},copyAttributes:function(i,j){var p=this;var k=p.$.attributes;j=j||{};for(var l=0;l<k.length;l++){var m=k[l],n=m.nodeName.toLowerCase(),o;if(n in j)continue;if(n=='checked'&&(o=p.getAttribute(n)))i.setAttribute(n,o);else if(m.specified||c&&m.nodeValue&&n=='value'){o=p.getAttribute(n);if(o===null)o=m.nodeValue; +i.setAttribute(n,o);}}if(p.$.style.cssText!=='')i.$.style.cssText=p.$.style.cssText;},renameNode:function(i){var l=this;if(l.getName()==i)return;var j=l.getDocument(),k=new h(i,j);l.copyAttributes(k);l.moveChildren(k);l.$.parentNode.replaceChild(k.$,l.$);k.$._cke_expando=l.$._cke_expando;l.$=k.$;},getChild:function(i){var j=this.$;if(!i.slice)j=j.childNodes[i];else while(i.length>0&&j)j=j.childNodes[i.shift()];return j?new d.node(j):null;},getChildCount:function(){return this.$.childNodes.length;},disableContextMenu:function(){this.on('contextmenu',function(i){if(!i.data.getTarget().hasClass('cke_enable_context_menu'))i.data.preventDefault();});}});a.command=function(i,j){this.uiItems=[];this.exec=function(k){if(this.state==0)return false;if(this.editorFocus)i.focus();return j.exec.call(this,i,k)!==false;};e.extend(this,j,{modes:{wysiwyg:1},editorFocus:true,state:2});a.event.call(this);};a.command.prototype={enable:function(){var i=this;if(i.state==0)i.setState(!i.preserveState||typeof i.previousState=='undefined'?2:i.previousState);},disable:function(){this.setState(0);},setState:function(i){var j=this;if(j.state==i)return false;j.previousState=j.state;j.state=i;j.fire('state');return true;},toggleState:function(){var i=this;if(i.state==2)i.setState(1);else if(i.state==1)i.setState(2);}};a.event.implementOn(a.command.prototype,true);a.ENTER_P=1;a.ENTER_BR=2;a.ENTER_DIV=3;a.config={customConfig:'config.js',autoUpdateElement:true,baseHref:'',contentsCss:a.basePath+'contents.css',contentsLangDirection:'ltr',language:'',defaultLanguage:'en',enterMode:1,shiftEnterMode:2,corePlugins:'',docType:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',bodyId:'',bodyClass:'',fullPage:false,height:200,plugins:'about,a11yhelp,basicstyles,blockquote,button,clipboard,colorbutton,colordialog,contextmenu,div,elementspath,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,image,indent,justify,keystrokes,link,list,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',extraPlugins:'',removePlugins:'',protectedSource:[],tabIndex:0,theme:'default',skin:'kama',width:'',baseFloatZIndex:10000};var i=a.config;a.focusManager=function(j){if(j.focusManager)return j.focusManager;this.hasFocus=false;this._={editor:j}; +return this;};a.focusManager.prototype={focus:function(){var k=this;if(k._.timer)clearTimeout(k._.timer);if(!k.hasFocus){if(a.currentInstance)a.currentInstance.focusManager.forceBlur();var j=k._.editor;j.container.getChild(1).addClass('cke_focus');k.hasFocus=true;j.fire('focus');}},blur:function(){var j=this;if(j._.timer)clearTimeout(j._.timer);j._.timer=setTimeout(function(){delete j._.timer;j.forceBlur();},100);},forceBlur:function(){if(this.hasFocus){var j=this._.editor;j.container.getChild(1).removeClass('cke_focus');this.hasFocus=false;j.fire('blur');}}};(function(){var j={};a.lang={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},load:function(k,l,m){if(!k||!a.lang.languages[k])k=this.detect(l,k);if(!this[k])a.scriptLoader.load(a.getUrl('lang/'+k+'.js'),function(){m(k,this[k]);},this);else m(k,this[k]);},detect:function(k,l){var m=this.languages;l=l||navigator.userLanguage||navigator.language;var n=l.toLowerCase().match(/([a-z]+)(?:-([a-z]+))?/),o=n[1],p=n[2];if(m[o+'-'+p])o=o+'-'+p;else if(!m[o])o=null;a.lang.detect=o?function(){return o;}:function(q){return q;};return o||k;}};})();a.scriptLoader=(function(){var j={},k={};return{load:function(l,m,n,o,p){var q=typeof l=='string';if(q)l=[l];if(!n)n=a;var r=l.length,s=[],t=[],u=function(z){if(m)if(q)m.call(n,z);else m.call(n,s,t);};if(r===0){u(true);return;}var v=function(z,A){(A?s:t).push(z);if(--r<=0){p&&a.document.getDocumentElement().removeStyle('cursor');u(A);}},w=function(z,A){j[z]=1;var B=k[z];delete k[z];for(var C=0;C<B.length;C++)B[C](z,A);},x=function(z){if(o!==true&&j[z]){v(z,true);return;}var A=k[z]||(k[z]=[]);A.push(v);if(A.length>1)return;var B=new h('script');B.setAttributes({type:'text/javascript',src:z});if(m)if(c)B.$.onreadystatechange=function(){if(B.$.readyState=='loaded'||B.$.readyState=='complete'){B.$.onreadystatechange=null;w(z,true);}};else{B.$.onload=function(){setTimeout(function(){w(z,true);},0);};B.$.onerror=function(){w(z,false);};}B.appendTo(a.document.getHead());};p&&a.document.getDocumentElement().setStyle('cursor','wait');for(var y=0;y<r;y++)x(l[y]);},loadCode:function(l){var m=new h('script');m.setAttribute('type','text/javascript');m.appendText(l);m.appendTo(a.document.getHead());}}; +})();a.resourceManager=function(j,k){var l=this;l.basePath=j;l.fileName=k;l.registered={};l.loaded={};l.externals={};l._={waitingList:{}};};a.resourceManager.prototype={add:function(j,k){if(this.registered[j])throw '[CKEDITOR.resourceManager.add] The resource name "'+j+'" is already registered.';a.fire(j+e.capitalize(this.fileName)+'Ready',this.registered[j]=k||{});},get:function(j){return this.registered[j]||null;},getPath:function(j){var k=this.externals[j];return a.getUrl(k&&k.dir||this.basePath+j+'/');},getFilePath:function(j){var k=this.externals[j];return a.getUrl(this.getPath(j)+(k&&typeof k.file=='string'?k.file:this.fileName+'.js'));},addExternal:function(j,k,l){j=j.split(',');for(var m=0;m<j.length;m++){var n=j[m];this.externals[n]={dir:k,file:l};}},load:function(j,k,l){if(!e.isArray(j))j=j?[j]:[];var m=this.loaded,n=this.registered,o=[],p={},q={};for(var r=0;r<j.length;r++){var s=j[r];if(!s)continue;if(!m[s]&&!n[s]){var t=this.getFilePath(s);o.push(t);if(!(t in p))p[t]=[];p[t].push(s);}else q[s]=this.get(s);}a.scriptLoader.load(o,function(u,v){if(v.length)throw '[CKEDITOR.resourceManager.load] Resource name "'+p[v[0]].join(',')+'" was not found at "'+v[0]+'".';for(var w=0;w<u.length;w++){var x=p[u[w]];for(var y=0;y<x.length;y++){var z=x[y];q[z]=this.get(z);m[z]=1;}}k.call(l,q);},this);}};a.plugins=new a.resourceManager('plugins/','plugin');var j=a.plugins;j.load=e.override(j.load,function(k){return function(l,m,n){var o={},p=function(q){k.call(this,q,function(r){e.extend(o,r);var s=[];for(var t in r){var u=r[t],v=u&&u.requires;if(v)for(var w=0;w<v.length;w++){if(!o[v[w]])s.push(v[w]);}}if(s.length)p.call(this,s);else{for(t in o){u=o[t];if(u.onLoad&&!u.onLoad._called){u.onLoad();u.onLoad._called=1;}}if(m)m.call(n||window,o);}},this);};p.call(this,l);};});j.setLang=function(k,l,m){var n=this.get(k),o=n.lang||(n.lang={});o[l]=m;};(function(){var k={},l=function(m,n){var o=function(){k[m]=1;n();},p=new h('img');p.on('load',o);p.on('error',o);p.setAttribute('src',m);};a.imageCacher={load:function(m,n){var o=m.length,p=function(){if(--o===0)n();};for(var q=0;q<m.length;q++){var r=m[q];if(k[r])p();else l(r,p);}}};})();a.skins=(function(){var k={},l={},m={},n=function(o,p,q,r){var s=k[p];if(!o.skin){o.skin=s;if(s.init)s.init(o);}var t=function(D){for(var E=0;E<D.length;E++)D[E]=a.getUrl(m[p]+D[E]);};function u(D,E){return D.replace(/url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g,function(F,G,H,I){if(/^\/|^\w?:/.test(H))return F;else return 'url('+E+G+H+I+')';});};if(!l[p]){var v=s.preload; +if(v&&v.length>0){t(v);a.imageCacher.load(v,function(){l[p]=1;n(o,p,q,r);});return;}l[p]=1;}q=s[q];var w=!q||!!q._isLoaded;if(w)r&&r();else{var x=q._pending||(q._pending=[]);x.push(r);if(x.length>1)return;var y=!q.css||!q.css.length,z=!q.js||!q.js.length,A=function(){if(y&&z){q._isLoaded=1;for(var D=0;D<x.length;D++){if(x[D])x[D]();}}};if(!y){var B=q.css;if(e.isArray(B)){t(B);for(var C=0;C<B.length;C++)a.document.appendStyleSheet(B[C]);}else{B=u(B,a.getUrl(m[p]));a.document.appendStyleText(B);}q.css=B;y=1;}if(!z){t(q.js);a.scriptLoader.load(q.js,function(){z=1;A();});}A();}};return{add:function(o,p){k[o]=p;p.skinPath=m[o]||(m[o]=a.getUrl('skins/'+o+'/'));},load:function(o,p,q){var r=o.skinName,s=o.skinPath;if(k[r])n(o,r,p,q);else{m[r]=s;a.scriptLoader.load(a.getUrl(s+'skin.js'),function(){n(o,r,p,q);});}}};})();a.themes=new a.resourceManager('themes/','theme');a.ui=function(k){if(k.ui)return k.ui;this._={handlers:{},items:{},editor:k};return this;};var k=a.ui;k.prototype={add:function(l,m,n){this._.items[l]={type:m,command:n.command||null,args:Array.prototype.slice.call(arguments,2)};},create:function(l){var q=this;var m=q._.items[l],n=m&&q._.handlers[m.type],o=m&&m.command&&q._.editor.getCommand(m.command),p=n&&n.create.apply(q,m.args);if(o)o.uiItems.push(p);return p;},addHandler:function(l,m){this._.handlers[l]=m;}};(function(){var l=0,m=function(){var x='editor'+ ++l;return a.instances&&a.instances[x]?m():x;},n={},o=function(x){var y=x.config.customConfig;if(!y)return false;y=a.getUrl(y);var z=n[y]||(n[y]={});if(z.fn){z.fn.call(x,x.config);if(a.getUrl(x.config.customConfig)==y||!o(x))x.fireOnce('customConfigLoaded');}else a.scriptLoader.load(y,function(){if(a.editorConfig)z.fn=a.editorConfig;else z.fn=function(){};o(x);});return true;},p=function(x,y){x.on('customConfigLoaded',function(){if(y){if(y.on)for(var z in y.on)x.on(z,y.on[z]);e.extend(x.config,y,true);delete x.config.on;}q(x);});if(y&&y.customConfig!=undefined)x.config.customConfig=y.customConfig;if(!o(x))x.fireOnce('customConfigLoaded');},q=function(x){var y=x.config.skin.split(','),z=y[0],A=a.getUrl(y[1]||'skins/'+z+'/');x.skinName=z;x.skinPath=A;x.skinClass='cke_skin_'+z;x.tabIndex=x.config.tabIndex||x.element.getAttribute('tabindex')||0;x.fireOnce('configLoaded');t(x);},r=function(x){a.lang.load(x.config.language,x.config.defaultLanguage,function(y,z){x.langCode=y;x.lang=e.prototypedCopy(z);if(b.gecko&&b.version<10900&&x.lang.dir=='rtl')x.lang.dir='ltr';s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins; +if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var E=[],F=[],G=[];x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(var N=0;N<M.length;N++)for(var O=0;O<E.length;O++){var P=E[O];if(N===0&&F[O]&&P.lang)e.extend(x.lang,P.lang[F[O]]);if(P[M[N]])P[M[N]](x);}x.fire('pluginsLoaded');u(x);});});},t=function(x){a.skins.load(x,'editor',function(){r(x);});},u=function(x){var y=x.config.theme;a.themes.load(y,function(){var z=x.theme=a.themes.get(y);z.path=a.themes.getPath(y);z.build(x);if(x.config.autoUpdateElement)v(x);});},v=function(x){var y=x.element;if(x.elementMode==1&&y.is('textarea')){var z=y.$.form&&new h(y.$.form);if(z){function A(){x.updateElement();};z.on('submit',A);if(!z.$.submit.nodeName)z.$.submit=e.override(z.$.submit,function(B){return function(){x.updateElement();if(B.apply)B.apply(this,arguments);else B();};});x.on('destroy',function(){z.removeListener('submit',A);});}}};function w(){var x,y=this._.commands,z=this.mode;for(var A in y){x=y[A];x[x.modes[z]?'enable':'disable']();}};a.editor.prototype._init=function(){var z=this;var x=h.get(z._.element),y=z._.instanceConfig;delete z._.element;delete z._.instanceConfig;z._.commands={};z._.styles=[];z.element=x;z.name=x&&z.elementMode==1&&(x.getId()||x.getNameAtt())||m();if(z.name in a.instances)throw '[CKEDITOR.editor] The instance "'+z.name+'" already exists.';z.config=e.prototypedCopy(i);z.ui=new k(z);z.focusManager=new a.focusManager(z);a.fire('instanceCreated',null,z);z.on('mode',w,null,null,1);p(z,y);};})();e.extend(a.editor.prototype,{addCommand:function(l,m){return this._.commands[l]=new a.command(this,m);},addCss:function(l){this._.styles.push(l);},destroy:function(l){var m=this;if(!l)m.updateElement();m.theme.destroy(m);m.fire('destroy');a.remove(m);a.fire('instanceDestroyed',null,m);},execCommand:function(l,m){var n=this.getCommand(l),o={name:l,commandData:m,command:n};if(n&&n.state!=0)if(this.fire('beforeCommandExec',o)!==true){o.returnValue=n.exec(o.commandData);if(!n.async&&this.fire('afterCommandExec',o)!==true)return o.returnValue;}return false; +},getCommand:function(l){return this._.commands[l];},getData:function(){var n=this;n.fire('beforeGetData');var l=n._.data;if(typeof l!='string'){var m=n.element;if(m&&n.elementMode==1)l=m.is('textarea')?m.getValue():m.getHtml();else l='';}l={dataValue:l};n.fire('getData',l);return l.dataValue;},getSnapshot:function(){var l=this.fire('getSnapshot');if(typeof l!='string'){var m=this.element;if(m&&this.elementMode==1)l=m.is('textarea')?m.getValue():m.getHtml();}return l;},loadSnapshot:function(l){this.fire('loadSnapshot',l);},setData:function(l,m){if(m)this.on('dataReady',function(o){o.removeListener();m.call(o.editor);});var n={dataValue:l};this.fire('setData',n);this._.data=n.dataValue;this.fire('afterSetData',n);},insertHtml:function(l){this.fire('insertHtml',l);},insertElement:function(l){this.fire('insertElement',l);},checkDirty:function(){return this.mayBeDirty&&this._.previousValue!==this.getSnapshot();},resetDirty:function(){if(this.mayBeDirty)this._.previousValue=this.getSnapshot();},updateElement:function(){var n=this;var l=n.element;if(l&&n.elementMode==1){var m=n.getData();if(n.config.htmlEncodeOutput)m=e.htmlEncode(m);if(l.is('textarea'))l.setValue(m);else l.setHtml(m);}}});a.on('loaded',function(){var l=a.editor._pending;if(l){delete a.editor._pending;for(var m=0;m<l.length;m++)l[m]._init();}});a.htmlParser=function(){this._={htmlPartsRegex:new RegExp("<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s*((?:(?:[^\"'>]+)|(?:\"[^\"]*\")|(?:'[^']*'))*)\\/?>))",'g')};};(function(){var l=/([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,m={checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};a.htmlParser.prototype={onTagOpen:function(){},onTagClose:function(){},onText:function(){},onCDATA:function(){},onComment:function(){},parse:function(n){var A=this;var o,p,q=0,r;while(o=A._.htmlPartsRegex.exec(n)){var s=o.index;if(s>q){var t=n.substring(q,s);if(r)r.push(t);else A.onText(t);}q=A._.htmlPartsRegex.lastIndex;if(p=o[1]){p=p.toLowerCase();if(r&&f.$cdata[p]){A.onCDATA(r.join(''));r=null;}if(!r){A.onTagClose(p);continue;}}if(r){r.push(o[0]);continue;}if(p=o[3]){p=p.toLowerCase();var u={},v,w=o[4],x=!!(w&&w.charAt(w.length-1)=='/');if(w)while(v=l.exec(w)){var y=v[1].toLowerCase(),z=v[2]||v[3]||v[4]||'';if(!z&&m[y])u[y]=y;else u[y]=z;}A.onTagOpen(p,u,x);if(!r&&f.$cdata[p])r=[];continue;}if(p=o[2])A.onComment(p);}if(n.length>q)A.onText(n.substring(q,n.length)); +}};})();a.htmlParser.comment=function(l){this.value=l;this._={isBlockLike:false};};a.htmlParser.comment.prototype={type:8,writeHtml:function(l,m){var n=this.value;if(m){if(!(n=m.onComment(n,this)))return;if(typeof n!='string'){n.parent=this.parent;n.writeHtml(l,m);return;}}l.comment(n);}};(function(){var l=/[\t\r\n ]{2,}|[\t\r\n]/g;a.htmlParser.text=function(m){this.value=m;this._={isBlockLike:false};};a.htmlParser.text.prototype={type:3,writeHtml:function(m,n){var o=this.value;if(n&&!(o=n.onText(o,this)))return;m.text(o);}};})();(function(){a.htmlParser.cdata=function(l){this.value=l;};a.htmlParser.cdata.prototype={type:3,writeHtml:function(l){l.write(this.value);}};})();a.htmlParser.fragment=function(){this.children=[];this.parent=null;this._={isBlockLike:true,hasInlineStarted:false};};(function(){var l={colgroup:1,dd:1,dt:1,li:1,option:1,p:1,td:1,tfoot:1,th:1,thead:1,tr:1},m=e.extend({table:1,ul:1,ol:1,dl:1},f.table,f.ul,f.ol,f.dl),n=f.$list,o=f.$listItem;a.htmlParser.fragment.fromHtml=function(p,q){var r=new a.htmlParser(),s=[],t=new a.htmlParser.fragment(),u=[],v=[],w=t,x=false,y;function z(E){var F;if(u.length>0)for(var G=0;G<u.length;G++){var H=u[G],I=H.name,J=f[I],K=w.name&&f[w.name];if((!K||K[I])&&(!E||!J||J[E]||!f[E])){if(!F){A();F=1;}H=H.clone();H.parent=w;w=H;u.splice(G,1);G--;}}};function A(){while(v.length)w.add(v.shift());};function B(E,F,G){F=F||w||t;if(q&&!F.type){var H,I;if(E.attributes&&(I=E.attributes._cke_real_element_type))H=I;else H=E.name;if(H&&!(H in f.$body)&&!(H in f.$nonBodyContent)){var J=w;w=F;r.onTagOpen(q,{});F=w;if(G)w=J;}}if(E._.isBlockLike&&E.name!='pre'){var K=E.children.length,L=E.children[K-1],M;if(L&&L.type==3)if(!(M=e.rtrim(L.value)))E.children.length=K-1;else L.value=M;}F.add(E);if(E.returnPoint){w=E.returnPoint;delete E.returnPoint;}};r.onTagOpen=function(E,F,G){var H=new a.htmlParser.element(E,F);if(H.isUnknown&&G)H.isEmpty=true;if(f.$removeEmpty[E]){u.push(H);return;}else if(E=='pre')x=true;else if(E=='br'&&x){w.add(new a.htmlParser.text('\n'));return;}if(E=='br'){v.push(H);return;}var I=w.name,J=I&&(f[I]||(w._.isBlockLike?f.div:f.span));if(J&&!H.isUnknown&&!w.isUnknown&&!J[E]){var K=false,L;if(E in n&&I in n){var M=w.children,N=M[M.length-1];if(!(N&&N.name in o))B(N=new a.htmlParser.element('li'),w);y=w,L=N;}else if(E==I)B(w,w.parent);else{if(m[I]){if(!y)y=w;}else{B(w,w.parent,true);if(!l[I])u.unshift(w);}K=true;}if(L)w=L;else w=w.returnPoint||w.parent;if(K){r.onTagOpen.apply(this,arguments);return;}}z(E);H.parent=w; +H.returnPoint=y;y=0;if(H.isEmpty)B(H);else w=H;};r.onTagClose=function(E){for(var F=u.length-1;F>=0;F--){if(E==u[F].name){u.splice(F,1);return;}}var G=[],H=[],I=w;while(I.type&&I.name!=E){if(!I._.isBlockLike)H.unshift(I);G.push(I);I=I.parent;}if(I.type){for(F=0;F<G.length;F++){var J=G[F];B(J,J.parent);}w=I;if(w.name=='pre')x=false;if(I._.isBlockLike)A();B(I,I.parent);if(I==w)w=w.parent;u=u.concat(H);}if(E=='body')q=false;};r.onText=function(E){if(!w._.hasInlineStarted&&!x){E=e.ltrim(E);if(E.length===0)return;}A();z();if(q&&(!w.type||w.name=='body')&&e.trim(E))this.onTagOpen(q,{});if(!x)E=E.replace(/[\t\r\n ]{2,}|[\t\r\n]/g,' ');w.add(new a.htmlParser.text(E));};r.onCDATA=function(E){w.add(new a.htmlParser.cdata(E));};r.onComment=function(E){w.add(new a.htmlParser.comment(E));};r.parse(p);A();while(w.type){var C=w.parent,D=w;if(q&&(!C.type||C.name=='body')&&!f.$body[D.name]){w=C;r.onTagOpen(q,{});C=w;}C.add(D);w=C;}return t;};a.htmlParser.fragment.prototype={add:function(p){var s=this;var q=s.children.length,r=q>0&&s.children[q-1]||null;if(r){if(p._.isBlockLike&&r.type==3){r.value=e.rtrim(r.value);if(r.value.length===0){s.children.pop();s.add(p);return;}}r.next=p;}p.previous=r;p.parent=s;s.children.push(p);s._.hasInlineStarted=p.type==3||p.type==1&&!p._.isBlockLike;},writeHtml:function(p,q){var r;this.filterChildren=function(){var s=new a.htmlParser.basicWriter();this.writeChildrenHtml.call(this,s,q,true);var t=s.getHtml();this.children=new a.htmlParser.fragment.fromHtml(t).children;r=1;};!this.name&&q&&q.onFragment(this);this.writeChildrenHtml(p,r?null:q);},writeChildrenHtml:function(p,q){for(var r=0;r<this.children.length;r++)this.children[r].writeHtml(p,q);}};})();a.htmlParser.element=function(l,m){var r=this;r.name=l;r.attributes=m||(m={});r.children=[];var n=m._cke_real_element_type||l,o=f,p=!!(o.$nonBodyContent[n]||o.$block[n]||o.$listItem[n]||o.$tableContent[n]||o.$nonEditable[n]||n=='br'),q=!!o.$empty[l];r.isEmpty=q;r.isUnknown=!o[l];r._={isBlockLike:p,hasInlineStarted:q||!p};};(function(){var l=function(m,n){m=m[0];n=n[0];return m<n?-1:m>n?1:0;};a.htmlParser.element.prototype={type:1,add:a.htmlParser.fragment.prototype.add,clone:function(){return new a.htmlParser.element(this.name,this.attributes);},writeHtml:function(m,n){var o=this.attributes,p=this,q=p.name,r,s,t,u;p.filterChildren=function(){if(!u){var z=new a.htmlParser.basicWriter();a.htmlParser.fragment.prototype.writeChildrenHtml.call(p,z,n);p.children=new a.htmlParser.fragment.fromHtml(z.getHtml()).children; +u=1;}};if(n){for(;;){if(!(q=n.onElementName(q)))return;p.name=q;if(!(p=n.onElement(p)))return;p.parent=this.parent;if(p.name==q)break;if(p.type!=1){p.writeHtml(m,n);return;}q=p.name;if(!q){this.writeChildrenHtml.call(p,m,u?null:n);return;}}o=p.attributes;}m.openTag(q,o);var v=[];for(var w=0;w<2;w++)for(r in o){s=r;t=o[r];if(w==1)v.push([r,t]);else if(n){for(;;){if(!(s=n.onAttributeName(r))){delete o[r];break;}else if(s!=r){delete o[r];r=s;continue;}else break;}if(s)if((t=n.onAttribute(p,s,t))===false)delete o[s];else o[s]=t;}}if(m.sortAttributes)v.sort(l);var x=v.length;for(w=0;w<x;w++){var y=v[w];m.attribute(y[0],y[1]);}m.openTagClose(q,p.isEmpty);if(!p.isEmpty){this.writeChildrenHtml.call(p,m,u?null:n);m.closeTag(q);}},writeChildrenHtml:function(m,n){a.htmlParser.fragment.prototype.writeChildrenHtml.apply(this,arguments);}};})();(function(){a.htmlParser.filter=e.createClass({$:function(q){this._={elementNames:[],attributeNames:[],elements:{$length:0},attributes:{$length:0}};if(q)this.addRules(q,10);},proto:{addRules:function(q,r){var s=this;if(typeof r!='number')r=10;m(s._.elementNames,q.elementNames,r);m(s._.attributeNames,q.attributeNames,r);n(s._.elements,q.elements,r);n(s._.attributes,q.attributes,r);s._.text=o(s._.text,q.text,r)||s._.text;s._.comment=o(s._.comment,q.comment,r)||s._.comment;s._.root=o(s._.root,q.root,r)||s._.root;},onElementName:function(q){return l(q,this._.elementNames);},onAttributeName:function(q){return l(q,this._.attributeNames);},onText:function(q){var r=this._.text;return r?r.filter(q):q;},onComment:function(q,r){var s=this._.comment;return s?s.filter(q,r):q;},onFragment:function(q){var r=this._.root;return r?r.filter(q):q;},onElement:function(q){var v=this;var r=[v._.elements['^'],v._.elements[q.name],v._.elements.$],s,t;for(var u=0;u<3;u++){s=r[u];if(s){t=s.filter(q,v);if(t===false)return null;if(t&&t!=q)return v.onNode(t);if(q.parent&&!q.name)break;}}return q;},onNode:function(q){var r=q.type;return r==1?this.onElement(q):r==3?new a.htmlParser.text(this.onText(q.value)):r==8?new a.htmlParser.comment(this.onComment(q.value)):null;},onAttribute:function(q,r,s){var t=this._.attributes[r];if(t){var u=t.filter(s,q,this);if(u===false)return false;if(typeof u!='undefined')return u;}return s;}}});function l(q,r){for(var s=0;q&&s<r.length;s++){var t=r[s];q=q.replace(t[0],t[1]);}return q;};function m(q,r,s){if(typeof r=='function')r=[r];var t,u,v=q.length,w=r&&r.length;if(w){for(t=0;t<v&&q[t].pri<s;t++){}for(u=w-1;u>=0;u--){var x=r[u]; +if(x){x.pri=s;q.splice(t,0,x);}}}};function n(q,r,s){if(r)for(var t in r){var u=q[t];q[t]=o(u,r[t],s);if(!u)q.$length++;}};function o(q,r,s){if(r){r.pri=s;if(q){if(!q.splice){if(q.pri>s)q=[r,q];else q=[q,r];q.filter=p;}else m(q,r,s);return q;}else{r.filter=r;return r;}}};function p(q){var r=typeof q=='object';for(var s=0;s<this.length;s++){var t=this[s],u=t.apply(window,arguments);if(typeof u!='undefined'){if(u===false)return false;if(r&&u!=q)return u;}}return null;};})();a.htmlParser.basicWriter=e.createClass({$:function(){this._={output:[]};},proto:{openTag:function(l,m){this._.output.push('<',l);},openTagClose:function(l,m){if(m)this._.output.push(' />');else this._.output.push('>');},attribute:function(l,m){if(typeof m=='string')m=m.replace(/"/g,'&quot;');this._.output.push(' ',l,'="',m,'"');},closeTag:function(l){this._.output.push('</',l,'>');},text:function(l){this._.output.push(l);},comment:function(l){this._.output.push('<!--',l,'-->');},write:function(l){this._.output.push(l);},reset:function(){this._.output=[];this._.indent=false;},getHtml:function(l){var m=this._.output.join('');if(l)this.reset();return m;}}});delete a.loadFullCore;a.instances={};a.document=new g(document);a.add=function(l){a.instances[l.name]=l;l.on('focus',function(){if(a.currentInstance!=l){a.currentInstance=l;a.fire('currentInstance');}});l.on('blur',function(){if(a.currentInstance==l){a.currentInstance=null;a.fire('currentInstance');}});};a.remove=function(l){delete a.instances[l.name];};a.TRISTATE_ON=1;a.TRISTATE_OFF=2;a.TRISTATE_DISABLED=0;d.comment=e.createClass({base:d.node,$:function(l,m){if(typeof l=='string')l=(m?m.$:document).createComment(l);this.base(l);},proto:{type:8,getOuterHtml:function(){return '<!--'+this.$.nodeValue+'-->';}}});(function(){var l={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,de:1},m={body:1,div:1,table:1,tbody:1,tr:1,td:1,th:1,caption:1,form:1},n=function(o){var p=o.getChildren();for(var q=0,r=p.count();q<r;q++){var s=p.getItem(q);if(s.type==1&&f.$block[s.getName()])return true;}return false;};d.elementPath=function(o){var u=this;var p=null,q=null,r=[],s=o;while(s){if(s.type==1){if(!u.lastElement)u.lastElement=s;var t=s.getName();if(c&&s.$.scopeName!='HTML')t=s.$.scopeName.toLowerCase()+':'+t;if(!q){if(!p&&l[t])p=s;if(m[t])if(!p&&t=='div'&&!n(s))p=s;else q=s;}r.push(s);if(t=='body')break;}s=s.getParent();}u.block=p;u.blockLimit=q;u.elements=r;};})();d.elementPath.prototype={compare:function(l){var m=this.elements,n=l&&l.elements; +if(!n||m.length!=n.length)return false;for(var o=0;o<m.length;o++){if(!m[o].equals(n[o]))return false;}return true;}};d.text=function(l,m){if(typeof l=='string')l=(m?m.$:document).createTextNode(l);this.$=l;};d.text.prototype=new d.node();e.extend(d.text.prototype,{type:3,getLength:function(){return this.$.nodeValue.length;},getText:function(){return this.$.nodeValue;},split:function(l){var q=this;if(c&&l==q.getLength()){var m=q.getDocument().createText('');m.insertAfter(q);return m;}var n=q.getDocument(),o=new d.text(q.$.splitText(l),n);if(b.ie8){var p=new d.text('',n);p.insertAfter(o);p.remove();}return o;},substring:function(l,m){if(typeof m!='number')return this.$.nodeValue.substr(l);else return this.$.nodeValue.substring(l,m);}});d.documentFragment=function(l){l=l||a.document;this.$=l.$.createDocumentFragment();};e.extend(d.documentFragment.prototype,h.prototype,{type:11,insertAfterNode:function(l){l=l.$;l.parentNode.insertBefore(this.$,l.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});(function(){function l(t,u){if(this._.end)return null;var v,w=this.range,x,y=this.guard,z=this.type,A=t?'getPreviousSourceNode':'getNextSourceNode';if(!this._.start){this._.start=1;w.trim();if(w.collapsed){this.end();return null;}}if(!t&&!this._.guardLTR){var B=w.endContainer,C=B.getChild(w.endOffset);this._.guardLTR=function(G,H){return(!H||!B.equals(G))&&(!C||!G.equals(C))&&(G.type!=1||!H||G.getName()!='body');};}if(t&&!this._.guardRTL){var D=w.startContainer,E=w.startOffset>0&&D.getChild(w.startOffset-1);this._.guardRTL=function(G,H){return(!H||!D.equals(G))&&(!E||!G.equals(E))&&(G.type!=1||!H||G.getName()!='body');};}var F=t?this._.guardRTL:this._.guardLTR;if(y)x=function(G,H){if(F(G,H)===false)return false;return y(G,H);};else x=F;if(this.current)v=this.current[A](false,z,x);else if(t){v=w.endContainer;if(w.endOffset>0){v=v.getChild(w.endOffset-1);if(x(v)===false)v=null;}else v=x(v)===false?null:v.getPreviousSourceNode(true,z,x);}else{v=w.startContainer;v=v.getChild(w.startOffset);if(v){if(x(v)===false)v=null;}else v=x(w.startContainer)===false?null:w.startContainer.getNextSourceNode(true,z,x);}while(v&&!this._.end){this.current=v;if(!this.evaluator||this.evaluator(v)!==false){if(!u)return v;}else if(u&&this.evaluator)return false;v=v[A](false,z,x);}this.end();return this.current=null;};function m(t){var u,v=null; +while(u=l.call(this,t))v=u;return v;};d.walker=e.createClass({$:function(t){this.range=t;this._={};},proto:{end:function(){this._.end=1;},next:function(){return l.call(this);},previous:function(){return l.call(this,true);},checkForward:function(){return l.call(this,false,true)!==false;},checkBackward:function(){return l.call(this,true,true)!==false;},lastForward:function(){return m.call(this);},lastBackward:function(){return m.call(this,true);},reset:function(){delete this.current;this._={};}}});var n={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},o={hr:1};h.prototype.isBlockBoundary=function(t){var u=e.extend({},o,t||{});return n[this.getComputedStyle('display')]||u[this.getName()];};d.walker.blockBoundary=function(t){return function(u,v){return!(u.type==1&&u.isBlockBoundary(t));};};d.walker.listItemBoundary=function(){return this.blockBoundary({br:1});};d.walker.bookmarkContents=function(t){},d.walker.bookmark=function(t,u){function v(w){return w&&w.getName&&w.getName()=='span'&&w.hasAttribute('_fck_bookmark');};return function(w){var x,y;x=w&&!w.getName&&(y=w.getParent())&&v(y);x=t?x:x||v(w);return u^x;};};d.walker.whitespaces=function(t){return function(u){var v=u&&u.type==3&&!e.trim(u.getText());return t^v;};};d.walker.invisible=function(t){var u=d.walker.whitespaces();return function(v){var w=u(v)||v.is&&!v.$.offsetHeight;return t^w;};};var p=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,q=d.walker.whitespaces(true),r=d.walker.bookmark(false,true),s=function(t){return r(t)&&q(t);};h.prototype.getBogus=function(){var t=this.getLast(s);if(t&&(!c?t.is&&t.is('br'):t.getText&&p.test(t.getText())))return t;return false;};})();d.range=function(l){var m=this;m.startContainer=null;m.startOffset=null;m.endContainer=null;m.endOffset=null;m.collapsed=true;m.document=l;};(function(){var l=function(t){t.collapsed=t.startContainer&&t.endContainer&&t.startContainer.equals(t.endContainer)&&t.startOffset==t.endOffset;},m=function(t,u,v){t.optimizeBookmark();var w=t.startContainer,x=t.endContainer,y=t.startOffset,z=t.endOffset,A,B;if(x.type==3)x=x.split(z);else if(x.getChildCount()>0)if(z>=x.getChildCount()){x=x.append(t.document.createText(''));B=true;}else x=x.getChild(z);if(w.type==3){w.split(y);if(w.equals(x))x=w.getNext();}else if(!y){w=w.getFirst().insertBeforeMe(t.document.createText(''));A=true;}else if(y>=w.getChildCount()){w=w.append(t.document.createText('')); +A=true;}else w=w.getChild(y).getPrevious();var C=w.getParents(),D=x.getParents(),E,F,G;for(E=0;E<C.length;E++){F=C[E];G=D[E];if(!F.equals(G))break;}var H=v,I,J,K,L;for(var M=E;M<C.length;M++){I=C[M];if(H&&!I.equals(w))J=H.append(I.clone());K=I.getNext();while(K){if(K.equals(D[M])||K.equals(x))break;L=K.getNext();if(u==2)H.append(K.clone(true));else{K.remove();if(u==1)H.append(K);}K=L;}if(H)H=J;}H=v;for(var N=E;N<D.length;N++){I=D[N];if(u>0&&!I.equals(x))J=H.append(I.clone());if(!C[N]||I.$.parentNode!=C[N].$.parentNode){K=I.getPrevious();while(K){if(K.equals(C[N])||K.equals(w))break;L=K.getPrevious();if(u==2)H.$.insertBefore(K.$.cloneNode(true),H.$.firstChild);else{K.remove();if(u==1)H.$.insertBefore(K.$,H.$.firstChild);}K=L;}}if(H)H=J;}if(u==2){var O=t.startContainer;if(O.type==3){O.$.data+=O.$.nextSibling.data;O.$.parentNode.removeChild(O.$.nextSibling);}var P=t.endContainer;if(P.type==3&&P.$.nextSibling){P.$.data+=P.$.nextSibling.data;P.$.parentNode.removeChild(P.$.nextSibling);}}else{if(F&&G&&(w.$.parentNode!=F.$.parentNode||x.$.parentNode!=G.$.parentNode)){var Q=G.getIndex();if(A&&G.$.parentNode==w.$.parentNode)Q--;t.setStart(G.getParent(),Q);}t.collapse(true);}if(A)w.remove();if(B&&x.$.parentNode)x.remove();},n={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};function o(t){var u=false,v=d.walker.bookmark(true);return function(w){if(v(w))return true;if(w.type==3){if(e.trim(w.getText()).length)return false;}else if(w.type==1)if(!n[w.getName()])if(!t&&!c&&w.getName()=='br'&&!u)u=true;else return false;return true;};};function p(t){return t.type!=3&&t.getName() in f.$removeEmpty||!e.trim(t.getText())||t.getParent().hasAttribute('_fck_bookmark');};var q=new d.walker.whitespaces(),r=new d.walker.bookmark();function s(t){return!q(t)&&!r(t);};d.range.prototype={clone:function(){var u=this;var t=new d.range(u.document);t.startContainer=u.startContainer;t.startOffset=u.startOffset;t.endContainer=u.endContainer;t.endOffset=u.endOffset;t.collapsed=u.collapsed;return t;},collapse:function(t){var u=this;if(t){u.endContainer=u.startContainer;u.endOffset=u.startOffset;}else{u.startContainer=u.endContainer;u.startOffset=u.endOffset;}u.collapsed=true;},cloneContents:function(){var t=new d.documentFragment(this.document);if(!this.collapsed)m(this,2,t);return t;},deleteContents:function(){if(this.collapsed)return;m(this,0);},extractContents:function(){var t=new d.documentFragment(this.document); +if(!this.collapsed)m(this,1,t);return t;},createBookmark:function(t){var y=this;var u,v,w,x;u=y.document.createElement('span');u.setAttribute('_fck_bookmark',1);u.setStyle('display','none');u.setHtml('&nbsp;');if(t){w='cke_bm_'+e.getNextNumber();u.setAttribute('id',w+'S');}if(!y.collapsed){v=u.clone();v.setHtml('&nbsp;');if(t)v.setAttribute('id',w+'E');x=y.clone();x.collapse();x.insertNode(v);}x=y.clone();x.collapse(true);x.insertNode(u);if(v){y.setStartAfter(u);y.setEndBefore(v);}else y.moveToPosition(u,4);return{startNode:t?w+'S':u,endNode:t?w+'E':v,serializable:t};},createBookmark2:function(t){var A=this;var u=A.startContainer,v=A.endContainer,w=A.startOffset,x=A.endOffset,y,z;if(!u||!v)return{start:0,end:0};if(t){if(u.type==1){y=u.getChild(w);if(y&&y.type==3&&w>0&&y.getPrevious().type==3){u=y;w=0;}}while(u.type==3&&(z=u.getPrevious())&&z.type==3){u=z;w+=z.getLength();}if(!A.isCollapsed){if(v.type==1){y=v.getChild(x);if(y&&y.type==3&&x>0&&y.getPrevious().type==3){v=y;x=0;}}while(v.type==3&&(z=v.getPrevious())&&z.type==3){v=z;x+=z.getLength();}}}return{start:u.getAddress(t),end:A.isCollapsed?null:v.getAddress(t),startOffset:w,endOffset:x,normalized:t,is2:true};},moveToBookmark:function(t){var B=this;if(t.is2){var u=B.document.getByAddress(t.start,t.normalized),v=t.startOffset,w=t.end&&B.document.getByAddress(t.end,t.normalized),x=t.endOffset;B.setStart(u,v);if(w)B.setEnd(w,x);else B.collapse(true);}else{var y=t.serializable,z=y?B.document.getById(t.startNode):t.startNode,A=y?B.document.getById(t.endNode):t.endNode;B.setStartBefore(z);z.remove();if(A){B.setEndBefore(A);A.remove();}else B.collapse(true);}},getBoundaryNodes:function(){var y=this;var t=y.startContainer,u=y.endContainer,v=y.startOffset,w=y.endOffset,x;if(t.type==1){x=t.getChildCount();if(x>v)t=t.getChild(v);else if(x<1)t=t.getPreviousSourceNode();else{t=t.$;while(t.lastChild)t=t.lastChild;t=new d.node(t);t=t.getNextSourceNode()||t;}}if(u.type==1){x=u.getChildCount();if(x>w)u=u.getChild(w).getPreviousSourceNode(true);else if(x<1)u=u.getPreviousSourceNode();else{u=u.$;while(u.lastChild)u=u.lastChild;u=new d.node(u);}}if(t.getPosition(u)&2)t=u;return{startNode:t,endNode:u};},getCommonAncestor:function(t,u){var y=this;var v=y.startContainer,w=y.endContainer,x;if(v.equals(w)){if(t&&v.type==1&&y.startOffset==y.endOffset-1)x=v.getChild(y.startOffset);else x=v;}else x=v.getCommonAncestor(w);return u&&!x.is?x.getParent():x;},optimize:function(){var v=this;var t=v.startContainer,u=v.startOffset;if(t.type!=1)if(!u)v.setStartBefore(t); +else if(u>=t.getLength())v.setStartAfter(t);t=v.endContainer;u=v.endOffset;if(t.type!=1)if(!u)v.setEndBefore(t);else if(u>=t.getLength())v.setEndAfter(t);},optimizeBookmark:function(){var v=this;var t=v.startContainer,u=v.endContainer;if(t.is&&t.is('span')&&t.hasAttribute('_fck_bookmark'))v.setStartAt(t,3);if(u&&u.is&&u.is('span')&&u.hasAttribute('_fck_bookmark'))v.setEndAt(u,4);},trim:function(t,u){var B=this;var v=B.startContainer,w=B.startOffset,x=B.collapsed;if((!t||x)&&v&&v.type==3){if(!w){w=v.getIndex();v=v.getParent();}else if(w>=v.getLength()){w=v.getIndex()+1;v=v.getParent();}else{var y=v.split(w);w=v.getIndex()+1;v=v.getParent();if(B.startContainer.equals(B.endContainer))B.setEnd(y,B.endOffset-B.startOffset);else if(v.equals(B.endContainer))B.endOffset+=1;}B.setStart(v,w);if(x){B.collapse(true);return;}}var z=B.endContainer,A=B.endOffset;if(!(u||x)&&z&&z.type==3){if(!A){A=z.getIndex();z=z.getParent();}else if(A>=z.getLength()){A=z.getIndex()+1;z=z.getParent();}else{z.split(A);A=z.getIndex()+1;z=z.getParent();}B.setEnd(z,A);}},enlarge:function(t){switch(t){case 1:if(this.collapsed)return;var u=this.getCommonAncestor(),v=this.document.getBody(),w,x,y,z,A,B=false,C,D,E=this.startContainer,F=this.startOffset;if(E.type==3){if(F){E=!e.trim(E.substring(0,F)).length&&E;B=!!E;}if(E)if(!(z=E.getPrevious()))y=E.getParent();}else{if(F)z=E.getChild(F-1)||E.getLast();if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline'){B=false;if(A)w=y;else this.setStartBefore(y);}z=y.getPrevious();}while(z){C=false;if(z.type==3){D=z.getText();if(/[^\s\ufeff]/.test(D))z=null;C=/[\s\ufeff]$/.test(D);}else if(z.$.offsetWidth>0&&!z.getAttribute('_fck_bookmark'))if(B&&f.$removeEmpty[z.getName()]){D=z.getText();if(!/[^\s\ufeff]/.test(D))z=null;else{var G=z.$.all||z.$.getElementsByTagName('*');for(var H=0,I;I=G[H++];){if(!f.$removeEmpty[I.nodeName.toLowerCase()]){z=null;break;}}}if(z)C=!!D.length;}else z=null;if(C)if(B){if(A)w=y;else if(y)this.setStartBefore(y);}else B=true;if(z){var J=z.getPrevious();if(!y&&!J){y=z;z=null;break;}z=J;}else y=null;}if(y)y=y.getParent();}E=this.endContainer;F=this.endOffset;y=z=null;A=B=false;if(E.type==3){E=!e.trim(E.substring(F)).length&&E;B=!(E&&E.getLength());if(E)if(!(z=E.getNext()))y=E.getParent();}else{z=E.getChild(F);if(!z)y=E;}while(y||z){if(y&&!z){if(!A&&y.equals(u))A=true;if(!v.contains(y))break;if(!B||y.getComputedStyle('display')!='inline'){B=false;if(A)x=y;else if(y)this.setEndAfter(y); +}z=y.getNext();}while(z){C=false;if(z.type==3){D=z.getText();if(/[^\s\ufeff]/.test(D))z=null;C=/^[\s\ufeff]/.test(D);}else if(z.$.offsetWidth>0&&!z.getAttribute('_fck_bookmark'))if(B&&f.$removeEmpty[z.getName()]){D=z.getText();if(!/[^\s\ufeff]/.test(D))z=null;else{G=z.$.all||z.$.getElementsByTagName('*');for(H=0;I=G[H++];){if(!f.$removeEmpty[I.nodeName.toLowerCase()]){z=null;break;}}}if(z)C=!!D.length;}else z=null;if(C)if(B)if(A)x=y;else this.setEndAfter(y);if(z){J=z.getNext();if(!y&&!J){y=z;z=null;break;}z=J;}else y=null;}if(y)y=y.getParent();}if(w&&x){u=w.contains(x)?x:w;this.setStartBefore(u);this.setEndAfter(u);}break;case 2:case 3:var K=new d.range(this.document);v=this.document.getBody();K.setStartAt(v,1);K.setEnd(this.startContainer,this.startOffset);var L=new d.walker(K),M,N,O=d.walker.blockBoundary(t==3?{br:1}:null),P=function(R){var S=O(R);if(!S)M=R;return S;},Q=function(R){var S=P(R);if(!S&&R.is&&R.is('br'))N=R;return S;};L.guard=P;y=L.lastBackward();M=M||v;this.setStartAt(M,!M.is('br')&&(!y&&this.checkStartOfBlock()||y&&M.contains(y))?1:4);K=this.clone();K.collapse();K.setEndAt(v,2);L=new d.walker(K);L.guard=t==3?Q:P;M=null;y=L.lastForward();M=M||v;this.setEndAt(M,!y&&this.checkEndOfBlock()||y&&M.contains(y)?2:3);if(N)this.setEndAfter(N);}},insertNode:function(t){var x=this;x.optimizeBookmark();x.trim(false,true);var u=x.startContainer,v=x.startOffset,w=u.getChild(v);if(w)t.insertBefore(w);else u.append(t);if(t.getParent().equals(x.endContainer))x.endOffset++;x.setStartBefore(t);},moveToPosition:function(t,u){this.setStartAt(t,u);this.collapse(true);},selectNodeContents:function(t){this.setStart(t,0);this.setEnd(t,t.type==3?t.getLength():t.getChildCount());},setStart:function(t,u){var v=this;v.startContainer=t;v.startOffset=u;if(!v.endContainer){v.endContainer=t;v.endOffset=u;}l(v);},setEnd:function(t,u){var v=this;v.endContainer=t;v.endOffset=u;if(!v.startContainer){v.startContainer=t;v.startOffset=u;}l(v);},setStartAfter:function(t){this.setStart(t.getParent(),t.getIndex()+1);},setStartBefore:function(t){this.setStart(t.getParent(),t.getIndex());},setEndAfter:function(t){this.setEnd(t.getParent(),t.getIndex()+1);},setEndBefore:function(t){this.setEnd(t.getParent(),t.getIndex());},setStartAt:function(t,u){var v=this;switch(u){case 1:v.setStart(t,0);break;case 2:if(t.type==3)v.setStart(t,t.getLength());else v.setStart(t,t.getChildCount());break;case 3:v.setStartBefore(t);break;case 4:v.setStartAfter(t);}l(v);},setEndAt:function(t,u){var v=this;switch(u){case 1:v.setEnd(t,0); +break;case 2:if(t.type==3)v.setEnd(t,t.getLength());else v.setEnd(t,t.getChildCount());break;case 3:v.setEndBefore(t);break;case 4:v.setEndAfter(t);}l(v);},fixBlock:function(t,u){var x=this;var v=x.createBookmark(),w=x.document.createElement(u);x.collapse(t);x.enlarge(2);x.extractContents().appendTo(w);w.trim();if(!c)w.appendBogus();x.insertNode(w);x.moveToBookmark(v);return w;},splitBlock:function(t){var D=this;var u=new d.elementPath(D.startContainer),v=new d.elementPath(D.endContainer),w=u.blockLimit,x=v.blockLimit,y=u.block,z=v.block,A=null;if(!w.equals(x))return null;if(t!='br'){if(!y){y=D.fixBlock(true,t);z=new d.elementPath(D.endContainer).block;}if(!z)z=D.fixBlock(false,t);}var B=y&&D.checkStartOfBlock(),C=z&&D.checkEndOfBlock();D.deleteContents();if(y&&y.equals(z))if(C){A=new d.elementPath(D.startContainer);D.moveToPosition(z,4);z=null;}else if(B){A=new d.elementPath(D.startContainer);D.moveToPosition(y,3);y=null;}else{z=D.splitElement(y);if(!c&&!y.is('ul','ol'))y.appendBogus();}return{previousBlock:y,nextBlock:z,wasStartOfBlock:B,wasEndOfBlock:C,elementPath:A};},splitElement:function(t){var w=this;if(!w.collapsed)return null;w.setEndAt(t,2);var u=w.extractContents(),v=t.clone(false);u.appendTo(v);v.insertAfter(t);w.moveToPosition(t,4);return v;},checkBoundaryOfElement:function(t,u){var v=this.clone();v[u==1?'setStartAt':'setEndAt'](t,u==1?1:2);var w=new d.walker(v),x=false;w.evaluator=p;return w[u==1?'checkBackward':'checkForward']();},checkStartOfBlock:function(){var z=this;var t=z.startContainer,u=z.startOffset;if(u&&t.type==3){var v=e.ltrim(t.substring(0,u));if(v.length)return false;}z.trim();var w=new d.elementPath(z.startContainer),x=z.clone();x.collapse(true);x.setStartAt(w.block||w.blockLimit,1);var y=new d.walker(x);y.evaluator=o(true);return y.checkBackward();},checkEndOfBlock:function(){var z=this;var t=z.endContainer,u=z.endOffset;if(t.type==3){var v=e.rtrim(t.substring(u));if(v.length)return false;}z.trim();var w=new d.elementPath(z.endContainer),x=z.clone();x.collapse(false);x.setEndAt(w.block||w.blockLimit,2);var y=new d.walker(x);y.evaluator=o(false);return y.checkForward();},moveToElementEditablePosition:function(t,u){var v;while(t&&t.type==1){v=t.isEditable();if(v)this.moveToPosition(t,u?2:1);else if(f.$inline[t.getName()]){this.moveToPosition(t,u?4:3);return true;}if(f.$empty[t.getName()])t=t[u?'getPrevious':'getNext'](s);else t=t[u?'getLast':'getFirst'](s);if(t&&t.type==3){this.moveToPosition(t,u?4:3);return true;}}return v;},moveToElementEditStart:function(t){return this.moveToElementEditablePosition(t); +},moveToElementEditEnd:function(t){return this.moveToElementEditablePosition(t,true);},getEnclosedNode:function(){var t=this.clone(),u=new d.walker(t),v=d.walker.bookmark(true),w=d.walker.whitespaces(true),x=function(z){return w(z)&&v(z);};t.evaluator=x;var y=u.next();u.reset();return y&&y.equals(u.previous())?y:null;},getTouchedStartNode:function(){var t=this.startContainer;if(this.collapsed||t.type!=1)return t;return t.getChild(this.startOffset)||t;},getTouchedEndNode:function(){var t=this.endContainer;if(this.collapsed||t.type!=1)return t;return t.getChild(this.endOffset-1)||t;}};})();a.POSITION_AFTER_START=1;a.POSITION_BEFORE_END=2;a.POSITION_BEFORE_START=3;a.POSITION_AFTER_END=4;a.ENLARGE_ELEMENT=1;a.ENLARGE_BLOCK_CONTENTS=2;a.ENLARGE_LIST_ITEM_CONTENTS=3;a.START=1;a.END=2;a.STARTEND=3;(function(){var l=c&&b.version<7,m=c&&b.version==7,n=l?a.basePath+'images/spacer.gif':m?'about:blank':'data:image/png;base64,',o=h.createFromHtml('<div style="width:0px;height:0px;position:absolute;left:-10000px;background-image:url('+n+')"></div>',a.document);o.appendTo(a.document.getHead());try{b.hc=o.getComputedStyle('background-image')=='none';}catch(p){b.hc=false;}if(b.hc)b.cssClass+=' cke_hc';o.remove();})();j.load(i.corePlugins.split(','),function(){a.status='loaded';a.fire('loaded');var l=a._.pending;if(l){delete a._.pending;for(var m=0;m<l.length;m++)a.add(l[m]);}});a.skins.add('kama',(function(){var l=[],m='cke_ui_color';if(c&&b.version<7)l.push('icons.png','images/sprites_ie6.png','images/dialog_sides.gif');return{preload:l,editor:{css:['editor.css']},dialog:{css:['dialog.css']},templates:{css:['templates.css']},margins:[0,0,0,0],init:function(n){if(n.config.width&&!isNaN(n.config.width))n.config.width-=12;var o=[],p=/\$color/g,q='/* UI Color Support */.cke_skin_kama .cke_menuitem .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-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{\tbackground-color: $color !important;\tborder-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{\tbackground-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{\tbackground-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{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuitem a.cke_disabled .cke_icon_wrapper{\tbackground-color: $color !important;\tborder-color: $color !important;}.cke_skin_kama .cke_menuseparator{\tbackground-color: $color !important;}.cke_skin_kama .cke_menuitem a:hover,.cke_skin_kama .cke_menuitem a:focus,.cke_skin_kama .cke_menuitem a:active{\tbackground-color: $color !important;}'; +if(b.webkit){q=q.split('}').slice(0,-1);for(var r=0;r<q.length;r++)q[r]=q[r].split('{');}function s(v){var w=v.getById(m);if(!w){w=v.getHead().append('style');w.setAttribute('id',m);w.setAttribute('type','text/css');}return w;};function t(v,w,x){var y,z,A;for(var B=0;B<v.length;B++){if(b.webkit)for(z=0;z<w.length;z++){A=w[z][1];for(y=0;y<x.length;y++)A=A.replace(x[y][0],x[y][1]);v[B].$.sheet.addRule(w[z][0],A);}else{A=w;for(y=0;y<x.length;y++)A=A.replace(x[y][0],x[y][1]);if(c)v[B].$.styleSheet.cssText+=A;else v[B].$.innerHTML+=A;}}};var u=/\$color/g;e.extend(n,{uiColor:null,getUiColor:function(){return this.uiColor;},setUiColor:function(v){var w,x=s(a.document),y='.cke_editor_'+e.escapeCssSelector(n.name),z=[y+' .cke_wrapper',y+'_dialog .cke_dialog_contents',y+'_dialog a.cke_dialog_tab',y+'_dialog .cke_dialog_footer'].join(','),A='background-color: $color !important;';if(b.webkit)w=[[z,A]];else w=z+'{'+A+'}';return(this.setUiColor=function(B){var C=[[u,B]];n.uiColor=B;t([x],w,C);t(o,q,C);})(v);}});n.on('menuShow',function(v){var w=v.data[0],x=w.element.getElementsByTag('iframe').getItem(0).getFrameDocument();if(!x.getById('cke_ui_color')){var y=s(x);o.push(y);var z=n.getUiColor();if(z)t([y],q,[[u,z]]);}});if(n.config.uiColor)n.setUiColor(n.config.uiColor);}};})());(function(){a.dialog?l():a.on('dialogPluginReady',l);function l(){a.dialog.on('resize',function(m){var n=m.data,o=n.width,p=n.height,q=n.dialog,r=q.parts.contents;if(n.skin!='kama')return;r.setStyles({width:o+'px',height:p+'px'});setTimeout(function(){var s=q.parts.dialog.getChild([0,0,0]),t=s.getChild(0),u=s.getChild(2);u.setStyle('width',t.$.offsetWidth+'px');u=s.getChild(7);u.setStyle('width',t.$.offsetWidth-28+'px');u=s.getChild(4);u.setStyle('height',t.$.offsetHeight-31-14+'px');u=s.getChild(5);u.setStyle('height',t.$.offsetHeight-31-14+'px');},100);});};})();j.add('about',{requires:['dialog'],init:function(l){var m=l.addCommand('about',new a.dialogCommand('about'));m.modes={wysiwyg:1,source:1};m.canUndo=false;l.ui.addButton('About',{label:l.lang.about.title,command:'about'});a.dialog.add('about',this.path+'dialogs/about.js');}});(function(){var l='a11yhelp',m='a11yHelp';j.add(l,{availableLangs:{en:1},init:function(n){var o=this;n.addCommand(m,{exec:function(){var p=n.langCode;p=o.availableLangs[p]?p:'en';a.scriptLoader.load(a.getUrl(o.path+'lang/'+p+'.js'),function(){e.extend(n.lang,o.lang[p]);n.openDialog(m);});},modes:{wysiwyg:1,source:1},canUndo:false});a.dialog.add(m,this.path+'dialogs/a11yhelp.js'); +}});})();j.add('basicstyles',{requires:['styles','button'],init:function(l){var m=function(p,q,r,s){var t=new a.style(s);l.attachStyleStateChange(t,function(u){l.getCommand(r).setState(u);});l.addCommand(r,new a.styleCommand(t));l.ui.addButton(p,{label:q,command:r});},n=l.config,o=l.lang;m('Bold',o.bold,'bold',n.coreStyles_bold);m('Italic',o.italic,'italic',n.coreStyles_italic);m('Underline',o.underline,'underline',n.coreStyles_underline);m('Strike',o.strike,'strike',n.coreStyles_strike);m('Subscript',o.subscript,'subscript',n.coreStyles_subscript);m('Superscript',o.superscript,'superscript',n.coreStyles_superscript);}});i.coreStyles_bold={element:'strong',overrides:'b'};i.coreStyles_italic={element:'em',overrides:'i'};i.coreStyles_underline={element:'u'};i.coreStyles_strike={element:'strike'};i.coreStyles_subscript={element:'sub'};i.coreStyles_superscript={element:'sup'};(function(){function l(p,q){var r=q.block||q.blockLimit;if(!r||r.getName()=='body')return 2;if(r.getAscendant('blockquote',true))return 1;return 2;};function m(p){var q=p.editor,r=q.getCommand('blockquote');r.state=l(q,p.data.path);r.fire('state');};function n(p){for(var q=0,r=p.getChildCount(),s;q<r&&(s=p.getChild(q));q++){if(s.type==1&&s.isBlockBoundary())return false;}return true;};var o={exec:function(p){var q=p.getCommand('blockquote').state,r=p.getSelection(),s=r&&r.getRanges()[0];if(!s)return;var t=r.createBookmarks();if(c){var u=t[0].startNode,v=t[0].endNode,w;if(u&&u.getParent().getName()=='blockquote'){w=u;while(w=w.getNext()){if(w.type==1&&w.isBlockBoundary()){u.move(w,true);break;}}}if(v&&v.getParent().getName()=='blockquote'){w=v;while(w=w.getPrevious()){if(w.type==1&&w.isBlockBoundary()){v.move(w);break;}}}}var x=s.createIterator(),y;if(q==2){var z=[];while(y=x.getNextParagraph())z.push(y);if(z.length<1){var A=p.document.createElement(p.config.enterMode==1?'p':'div'),B=t.shift();s.insertNode(A);A.append(new d.text('',p.document));s.moveToBookmark(B);s.selectNodeContents(A);s.collapse(true);B=s.createBookmark();z.push(A);t.unshift(B);}var C=z[0].getParent(),D=[];for(var E=0;E<z.length;E++){y=z[E];C=C.getCommonAncestor(y.getParent());}var F={table:1,tbody:1,tr:1,ol:1,ul:1};while(F[C.getName()])C=C.getParent();var G=null;while(z.length>0){y=z.shift();while(!y.getParent().equals(C))y=y.getParent();if(!y.equals(G))D.push(y);G=y;}while(D.length>0){y=D.shift();if(y.getName()=='blockquote'){var H=new d.documentFragment(p.document);while(y.getFirst()){H.append(y.getFirst().remove()); +z.push(H.getLast());}H.replace(y);}else z.push(y);}var I=p.document.createElement('blockquote');I.insertBefore(z[0]);while(z.length>0){y=z.shift();I.append(y);}}else if(q==1){var J=[],K={};while(y=x.getNextParagraph()){var L=null,M=null;while(y.getParent()){if(y.getParent().getName()=='blockquote'){L=y.getParent();M=y;break;}y=y.getParent();}if(L&&M&&!M.getCustomData('blockquote_moveout')){J.push(M);h.setMarker(K,M,'blockquote_moveout',true);}}h.clearAllMarkers(K);var N=[],O=[];K={};while(J.length>0){var P=J.shift();I=P.getParent();if(!P.getPrevious())P.remove().insertBefore(I);else if(!P.getNext())P.remove().insertAfter(I);else{P.breakParent(P.getParent());O.push(P.getNext());}if(!I.getCustomData('blockquote_processed')){O.push(I);h.setMarker(K,I,'blockquote_processed',true);}N.push(P);}h.clearAllMarkers(K);for(E=O.length-1;E>=0;E--){I=O[E];if(n(I))I.remove();}if(p.config.enterMode==2){var Q=true;while(N.length){P=N.shift();if(P.getName()=='div'){H=new d.documentFragment(p.document);var R=Q&&P.getPrevious()&&!(P.getPrevious().type==1&&P.getPrevious().isBlockBoundary());if(R)H.append(p.document.createElement('br'));var S=P.getNext()&&!(P.getNext().type==1&&P.getNext().isBlockBoundary());while(P.getFirst())P.getFirst().remove().appendTo(H);if(S)H.append(p.document.createElement('br'));H.replace(P);Q=false;}}}}r.selectBookmarks(t);p.focus();}};j.add('blockquote',{init:function(p){p.addCommand('blockquote',o);p.ui.addButton('Blockquote',{label:p.lang.blockquote,command:'blockquote'});p.on('selectionChange',m);},requires:['domiterator']});})();j.add('button',{beforeInit:function(l){l.ui.addHandler(1,k.button.handler);}});a.UI_BUTTON=1;k.button=function(l){e.extend(this,l,{title:l.label,className:l.className||l.command&&'cke_button_'+l.command||'',click:l.click||(function(m){m.execCommand(l.command);})});this._={};};k.button.handler={create:function(l){return new k.button(l);}};k.button.prototype={canGroup:true,render:function(l,m){var n=b,o=this._.id='cke_'+e.getNextNumber();this._.editor=l;var p={id:o,button:this,editor:l,focus:function(){var v=a.document.getById(o);v.focus();},execute:function(){this.button.click(l);}},q=e.addFunction(p.execute,p),r=k.button._.instances.push(p)-1,s='',t=this.command;if(this.modes)l.on('mode',function(){this.setState(this.modes[l.mode]?2:0);},this);else if(t){t=l.getCommand(t);if(t){t.on('state',function(){this.setState(t.state);},this);s+='cke_'+(t.state==1?'on':t.state==0?'disabled':'off');}}if(!t)s+='cke_off';if(this.className)s+=' '+this.className; +m.push('<span class="cke_button">','<a id="',o,'" class="',s,'"',n.gecko&&n.version>=10900&&!n.hc?'':'" href="javascript:void(\''+(this.title||'').replace("'")+"')\"",' title="',this.title,'" tabindex="-1" hidefocus="true" role="button" aria-labelledby="'+o+'_label"'+(this.hasArrow?' aria-haspopup="true"':''));if(n.opera||n.gecko&&n.mac)m.push(' onkeypress="return false;"');if(n.gecko)m.push(' onblur="this.style.cssText = this.style.cssText;"');m.push(' onkeydown="return CKEDITOR.ui.button._.keydown(',r,', event);" onfocus="return CKEDITOR.ui.button._.focus(',r,', event);" onclick="CKEDITOR.tools.callFunction(',q,', this); return false;"><span class="cke_icon"');if(this.icon){var u=(this.iconOffset||0)*-16;m.push(' style="background-image:url(',a.getUrl(this.icon),');background-position:0 '+u+'px;"');}m.push('></span><span id="',o,'_label" class="cke_label">',this.label,'</span>');if(this.hasArrow)m.push('<span class="cke_buttonarrow"></span>');m.push('</a>','</span>');if(this.onRender)this.onRender();return p;},setState:function(l){if(this._.state==l)return false;this._.state=l;var m=a.document.getById(this._.id);if(m){m.setState(l);l==0?m.setAttribute('aria-disabled',true):m.removeAttribute('aria-disabled');l==1?m.setAttribute('aria-pressed',true):m.removeAttribute('aria-pressed');return true;}else return false;}};k.button._={instances:[],keydown:function(l,m){var n=k.button._.instances[l];if(n.onkey){m=new d.event(m);return n.onkey(n,m.getKeystroke())!==false;}},focus:function(l,m){var n=k.button._.instances[l],o;if(n.onfocus)o=n.onfocus(n,new d.event(m))!==false;if(b.gecko&&b.version<10900)m.preventBubble();return o;}};k.prototype.addButton=function(l,m){this.add(l,1,m);};(function(){var l=function(r,s){var t=r.document,u=t.getBody(),v=false,w=function(){v=true;};u.on(s,w);t.$.execCommand(s);u.removeListener(s,w);return v;},m=c?function(r,s){return l(r,s);}:function(r,s){try{return r.document.$.execCommand(s);}catch(t){return false;}},n=function(r){this.type=r;this.canUndo=this.type=='cut';};n.prototype={exec:function(r,s){var t=m(r,this.type);if(!t)alert(r.lang.clipboard[this.type+'Error']);return t;}};var o={canUndo:false,exec:c?function(r){r.focus();if(!r.document.getBody().fire('beforepaste')&&!l(r,'paste')){r.fire('pasteDialog');return false;}}:function(r){try{if(!r.document.getBody().fire('beforepaste')&&!r.document.$.execCommand('Paste',false,null))throw 0;}catch(s){setTimeout(function(){r.fire('pasteDialog');},0);return false;}}},p=function(r){if(this.mode!='wysiwyg')return; +switch(r.data.keyCode){case 1000+86:case 2000+45:var s=this.document.getBody();if(!c&&s.fire('beforepaste'))r.cancel();else if(b.opera||b.gecko&&b.version<10900)s.fire('paste');return;case 1000+88:case 2000+46:var t=this;this.fire('saveSnapshot');setTimeout(function(){t.fire('saveSnapshot');},0);}};function q(r,s,t){var u=this.document;if(c&&u.getById('cke_pastebin'))return;if(s=='text'&&r.data&&r.data.$.clipboardData){var v=r.data.$.clipboardData.getData('text/plain');if(v){r.data.preventDefault();t(v);return;}}var w=this.getSelection(),x=new d.range(u),y=new h(s=='text'?'textarea':'div',u);y.setAttribute('id','cke_pastebin');b.webkit&&y.append(u.createText('\xa0'));u.getBody().append(y);if(!c&&s!='html')y.setStyles({position:'absolute',left:'-1000px',top:w.getStartElement().getDocumentPosition().y+'px',width:'1px',height:'1px',overflow:'hidden'});var z=w.createBookmarks();if(s=='text'){if(c){var A=u.getBody().$.createTextRange();A.moveToElementText(y.$);A.execCommand('Paste');r.data.preventDefault();}else{u.$.designMode='off';y.$.focus();}}else{x.setStartAt(y,1);x.setEndAt(y,2);x.select(true);}window.setTimeout(function(){s=='text'&&!c&&(u.$.designMode='on');y.remove();var B;y=b.webkit&&(B=y.getFirst())&&B.is&&B.hasClass('Apple-style-span')?B:y;w.selectBookmarks(z);t(y['get'+(s=='text'?'Value':'Html')]());},0);};j.add('clipboard',{requires:['dialog','htmldataprocessor'],init:function(r){r.on('paste',function(w){var x=w.data;if(x.html)r.insertHtml(x.html);else if(x.text)r.insertText(x.text);},null,null,1000);r.on('pasteDialog',function(w){setTimeout(function(){r.openDialog('paste');},0);});function s(w,x,y,z){var A=r.lang[x];r.addCommand(x,y);r.ui.addButton(w,{label:A,command:x});if(r.addMenuItems)r.addMenuItem(x,{label:A,command:x,group:'clipboard',order:z});};s('Cut','cut',new n('cut'),1);s('Copy','copy',new n('copy'),4);s('Paste','paste',o,8);a.dialog.add('paste',a.getUrl(this.path+'dialogs/paste.js'));r.on('key',p,r);var t=r.config.forcePasteAsPlainText?'text':'html';r.on('contentDom',function(){var w=r.document.getBody();w.on(t=='text'&&c||b.webkit?'paste':'beforepaste',function(x){if(u)return;q.call(r,x,t,function(y){if(!y)return;var z={};z[t]=y;r.fire('paste',z);});});});if(r.contextMenu){var u;function v(w){c&&w=='Paste'&&(u=1);var x=r.document.$.queryCommandEnabled(w)?2:0;u=0;return x;};r.contextMenu.addListener(function(){return{cut:v('Cut'),copy:v('Cut'),paste:b.webkit?2:v('Paste')};});}}});})();j.add('colorbutton',{requires:['panelbutton','floatpanel','styles'],init:function(l){var m=l.config,n=l.lang.colorButton,o; +if(!b.hc){p('TextColor','fore',n.textColorTitle);p('BGColor','back',n.bgColorTitle);}function p(r,s,t){l.ui.add(r,4,{label:t,title:t,className:'cke_button_'+r.toLowerCase(),modes:{wysiwyg:1},panel:{css:l.skin.editor.css,attributes:{role:'listbox','aria-label':n.panelTitle}},onBlock:function(u,v){v.autoSize=true;v.element.addClass('cke_colorblock');v.element.setHtml(q(u,s));var w=v.keys;w[39]='next';w[40]='next';w[9]='next';w[37]='prev';w[38]='prev';w[2000+9]='prev';w[32]='click';}});};function q(r,s){var t=[],u=m.colorButton_colors.split(','),v=u.length+(m.colorButton_enableMore?2:1),w=e.addFunction(function(A,B){if(A=='?'){var C=arguments.callee;function D(F){this.removeListener('ok',D);this.removeListener('cancel',D);F.name=='ok'&&C(this.getContentElement('picker','selectedColor').getValue(),B);};l.openDialog('colordialog',function(){this.on('ok',D);this.on('cancel',D);});return;}l.focus();r.hide();var E=new a.style(m['colorButton_'+B+'Style'],A&&{color:A});l.fire('saveSnapshot');if(A)E.apply(l.document);else E.remove(l.document);l.fire('saveSnapshot');});t.push('<a class="cke_colorauto" _cke_focus=1 hidefocus=true title="',n.auto,'" onclick="CKEDITOR.tools.callFunction(',w,",null,'",s,"');return false;\" href=\"javascript:void('",n.auto,'\')" role="option" aria-posinset="1" aria-setsize="',v,'"><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>',n.auto,'</td></tr></table></a><table role="presentation" cellspacing=0 cellpadding=0 width="100%">');for(var x=0;x<u.length;x++){if(x%8===0)t.push('</tr><tr>');var y=u[x],z=l.lang.colors[y]||y;t.push('<td><a class="cke_colorbox" _cke_focus=1 hidefocus=true title="',z,'" onclick="CKEDITOR.tools.callFunction(',w,",'#",y,"','",s,"'); return false;\" href=\"javascript:void('",z,'\')" role="option" aria-posinset="',x+2,'" aria-setsize="',v,'"><span class="cke_colorbox" style="background-color:#',y,'"></span></a></td>');}if(m.colorButton_enableMore)t.push('</tr><tr><td colspan=8 align=center><a class="cke_colormore" _cke_focus=1 hidefocus=true title="',n.more,'" onclick="CKEDITOR.tools.callFunction(',w,",'?','",s,"');return false;\" href=\"javascript:void('",n.more,"')\"",' role="option" aria-posinset="',v,'" aria-setsize="',v,'">',n.more,'</a></td>');t.push('</tr></table>');return t.join('');};}});i.colorButton_enableMore=true;i.colorButton_colors='000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'; +i.colorButton_foreStyle={element:'span',styles:{color:'#(color)'},overrides:[{element:'font',attributes:{color:null}}],childRule:function(l){return l.getName()!='a';}};i.colorButton_backStyle={element:'span',styles:{'background-color':'#(color)'}};(function(){j.colordialog={init:function(l){l.addCommand('colordialog',new a.dialogCommand('colordialog'));a.dialog.add('colordialog',this.path+'dialogs/colordialog.js');}};j.add('colordialog',j.colordialog);})();j.add('contextmenu',{requires:['menu'],beforeInit:function(l){l.contextMenu=new j.contextMenu(l);l.addCommand('contextMenu',{exec:function(){l.contextMenu.show(l.document.getBody());}});}});j.contextMenu=e.createClass({$:function(l){this.id='cke_'+e.getNextNumber();this.editor=l;this._.listeners=[];this._.functionId=e.addFunction(function(m){this._.panel.hide();l.focus();l.execCommand(m);},this);this._.definiton={panel:{className:l.skinClass+' cke_contextmenu',attributes:{'aria-label':l.lang.common.options}}};},_:{onMenu:function(l,m,n,o){var p=this._.menu,q=this.editor;if(p){p.hide();p.removeAll();}else{p=this._.menu=new a.menu(q,this._.definiton);p.onClick=e.bind(function(z){p.hide();if(z.onClick)z.onClick();else if(z.command)q.execCommand(z.command);},this);p.onEscape=function(z){var A=this.parent;if(A){A._.panel.hideChild();var B=A._.panel._.panel._.currentBlock,C=B._.focusIndex;B._.markItem(C);}else if(z==27){this.hide();q.focus();}return false;};}var r=this._.listeners,s=[],t=this.editor.getSelection(),u=t&&t.getStartElement();p.onHide=e.bind(function(){p.onHide=null;if(c){var z=q.getSelection();z&&z.unlock();}this.onHide&&this.onHide();},this);for(var v=0;v<r.length;v++){var w=r[v](u,t);if(w)for(var x in w){var y=this.editor.getMenuItem(x);if(y){y.state=w[x];p.add(y);}}}p.items.length&&p.show(l,m||(q.lang.dir=='rtl'?2:1),n,o);}},proto:{addTarget:function(l,m){if(b.opera){var n;l.on('mousedown',function(r){r=r.data;if(r.$.button!=2){if(r.getKeystroke()==1000+1)l.fire('contextmenu',r);return;}if(m&&(r.$.ctrlKey||r.$.metaKey))return;var s=r.getTarget();if(!n){var t=s.getDocument();n=t.createElement('input');n.$.type='button';t.getBody().append(n);}n.setAttribute('style','position:absolute;top:'+(r.$.clientY-2)+'px;left:'+(r.$.clientX-2)+'px;width:5px;height:5px;opacity:0.01');});l.on('mouseup',function(r){if(n){n.remove();n=undefined;l.fire('contextmenu',r.data);}});}l.on('contextmenu',function(r){var s=r.data;if(m&&(b.webkit?o:s.$.ctrlKey||s.$.metaKey))return;if(c){var t=this.editor.getSelection();t&&t.lock(); +}s.preventDefault();var u=s.getTarget().getDocument().getDocumentElement(),v=s.$.clientX,w=s.$.clientY;e.setTimeout(function(){this.show(u,null,v,w);},0,this);},this);if(b.webkit){var o,p=function(r){o=r.data.$.ctrlKey||r.data.$.metaKey;},q=function(){o=0;};l.on('keydown',p);l.on('keyup',q);l.on('contextmenu',q);}},addListener:function(l){this._.listeners.push(l);},show:function(l,m,n,o){this.editor.focus();this._.onMenu(l||a.document.getDocumentElement(),m,n||0,o||0);}}});(function(){j.add('div',{requires:['editingblock','domiterator','styles'],init:function(l){var m=l.lang.div;l.addCommand('creatediv',new a.dialogCommand('creatediv'));l.addCommand('editdiv',new a.dialogCommand('editdiv'));l.addCommand('removediv',{exec:function(n){var o=n.getSelection(),p=o&&o.getRanges(),q,r=o.createBookmarks(),s,t=[];function u(w){var x=new d.elementPath(w),y=x.blockLimit,z=y.is('div')&&y;if(z&&!z.getAttribute('_cke_div_added')){t.push(z);z.setAttribute('_cke_div_added');}};for(var v=0;v<p.length;v++){q=p[v];if(q.collapsed)u(o.getStartElement());else{s=new d.walker(q);s.evaluator=u;s.lastForward();}}for(v=0;v<t.length;v++)t[v].remove(true);o.selectBookmarks(r);}});l.ui.addButton('CreateDiv',{label:m.toolbar,command:'creatediv'});if(l.addMenuItems){l.addMenuItems({editdiv:{label:m.edit,command:'editdiv',group:'div',order:1},removediv:{label:m.remove,command:'removediv',group:'div',order:5}});if(l.contextMenu)l.contextMenu.addListener(function(n,o){if(!n)return null;var p=new d.elementPath(n),q=p.blockLimit;if(q&&q.getAscendant('div',true))return{editdiv:2,removediv:2};return null;});}a.dialog.add('creatediv',this.path+'dialogs/div.js');a.dialog.add('editdiv',this.path+'dialogs/div.js');}});})();(function(){var l={toolbarFocus:{exec:function(n){var o=n._.elementsPath.idBase,p=a.document.getById(o+'0');if(p)p.focus();}}},m='<span class="cke_empty">&nbsp;</span>';j.add('elementspath',{requires:['selection'],init:function(n){var o='cke_path_'+n.name,p,q=function(){if(!p)p=a.document.getById(o);return p;},r='cke_elementspath_'+e.getNextNumber()+'_';n._.elementsPath={idBase:r};n.on('themeSpace',function(s){if(s.data.space=='bottom')s.data.html+='<span id="'+o+'_label" class="cke_voice_label">'+n.lang.elementsPath.eleLabel+'</span>'+'<div id="'+o+'" class="cke_path" role="group" aria-labelledby="'+o+'_label">'+m+'</div>';});n.on('selectionChange',function(s){var t=b,u=s.data.selection,v=u.getStartElement(),w=[],x=this._.elementsPath.list=[];while(v){var y=x.push(v)-1,z;if(v.getAttribute('_cke_real_element_type'))z=v.getAttribute('_cke_real_element_type'); +else z=v.getName();var A='';if(t.opera||t.gecko&&t.mac)A+=' onkeypress="return false;"';if(t.gecko)A+=' onblur="this.style.cssText = this.style.cssText;"';var B=n.lang.elementsPath.eleTitle.replace(/%1/,z);w.unshift('<a id="',r,y,'" href="javascript:void(\'',z,'\')" tabindex="-1" title="',B,'"'+(b.gecko&&b.version<10900?' onfocus="event.preventBubble();"':'')+' hidefocus="true" '+" onkeydown=\"return CKEDITOR._.elementsPath.keydown('",this.name,"',",y,', event);"'+A," onclick=\"return CKEDITOR._.elementsPath.click('",this.name,"',",y,');"',' role="button" aria-labelledby="'+r+y+'_label">',z,'<span id="',r,y,'_label" class="cke_label">'+B+'</span>','</a>');if(z=='body')break;v=v.getParent();}q().setHtml(w.join('')+m);});n.on('contentDomUnload',function(){q().setHtml(m);});n.addCommand('elementsPathFocus',l.toolbarFocus);}});})();a._.elementsPath={click:function(l,m){var n=a.instances[l];n.focus();var o=n._.elementsPath.list[m];n.getSelection().selectElement(o);return false;},keydown:function(l,m,n){var o=k.button._.instances[m],p=a.instances[l],q=p._.elementsPath.idBase,r;n=new d.event(n);switch(n.getKeystroke()){case 37:case 9:r=a.document.getById(q+(m+1));if(!r)r=a.document.getById(q+'0');r.focus();return false;case 39:case 2000+9:r=a.document.getById(q+(m-1));if(!r)r=a.document.getById(q+(p._.elementsPath.list.length-1));r.focus();return false;case 27:p.focus();return false;case 13:case 32:this.click(l,m);return false;}return true;}};(function(){j.add('enterkey',{requires:['keystrokes','indent'],init:function(s){var t=s.specialKeys;t[13]=q;t[2000+13]=p;}});j.enterkey={enterBlock:function(s,t,u,v){u=u||r(s);var w=u.document,x=t==3?'div':'p',y=u.splitBlock(x);if(!y)return;var z=y.previousBlock,A=y.nextBlock,B=y.wasStartOfBlock,C=y.wasEndOfBlock,D;if(A){D=A.getParent();if(D.is('li')){A.breakParent(D);A.move(A.getNext(),true);}}else if(z&&(D=z.getParent())&&D.is('li')){z.breakParent(D);u.moveToElementEditStart(z.getNext());z.move(z.getPrevious());}if(!B&&!C){if(A.is('li')&&(D=A.getFirst(d.walker.invisible(true)))&&D.is&&D.is('ul','ol'))(c?w.createText('\xa0'):w.createElement('br')).insertBefore(D);if(A)u.moveToElementEditStart(A);}else{if(B&&C&&z.is('li')){s.execCommand('outdent');return;}var E;if(z){if(!v&&!o.test(z.getName()))E=z.clone();}else if(A)E=A.clone();if(!E)E=w.createElement(x);var F=y.elementPath;if(F)for(var G=0,H=F.elements.length;G<H;G++){var I=F.elements[G];if(I.equals(F.block)||I.equals(F.blockLimit))break;if(f.$removeEmpty[I.getName()]){I=I.clone(); +E.moveChildren(I);E.append(I);}}if(!c)E.appendBogus();u.insertNode(E);if(c&&B&&(!C||!z.getChildCount())){u.moveToElementEditStart(C?z:E);u.select();}u.moveToElementEditStart(B&&!C?A:E);}if(!c)if(A){var J=w.createElement('span');J.setHtml('&nbsp;');u.insertNode(J);J.scrollIntoView();u.deleteContents();}else E.scrollIntoView();u.select();},enterBr:function(s,t,u,v){u=u||r(s);var w=u.document,x=t==3?'div':'p',y=u.checkEndOfBlock(),z=new d.elementPath(s.getSelection().getStartElement()),A=z.block,B=A&&z.block.getName(),C=false;if(!v&&B=='li'){n(s,t,u,v);return;}if(!v&&y&&o.test(B)){w.createElement('br').insertAfter(A);if(b.gecko)w.createText('').insertAfter(A);u.setStartAt(A.getNext(),c?3:1);}else{var D;C=B=='pre';if(C)D=w.createText(c?'\r':'\n');else D=w.createElement('br');u.deleteContents();u.insertNode(D);if(!c)w.createText('').insertAfter(D);if(y&&!c)D.getParent().appendBogus();if(!c)D.getNext().$.nodeValue='';if(c)u.setStartAt(D,4);else u.setStartAt(D.getNext(),1);if(!c){var E=null;if(!b.gecko){E=w.createElement('span');E.setHtml('&nbsp;');}else E=w.createElement('br');E.insertBefore(D.getNext());E.scrollIntoView();E.remove();}}u.collapse(true);u.select(C);}};var l=j.enterkey,m=l.enterBr,n=l.enterBlock,o=/^h[1-6]$/;function p(s){return q(s,s.config.shiftEnterMode,true);};function q(s,t,u){if(s.mode!='wysiwyg')return false;if(!t)t=s.config.enterMode;setTimeout(function(){s.fire('saveSnapshot');if(t==2||s.getSelection().getStartElement().hasAscendant('pre',true))m(s,t,null,u);else n(s,t,null,u);},0);return true;};function r(s){var t=s.getSelection().getRanges();for(var u=t.length-1;u>0;u--)t[u].deleteContents();return t[0];};})();(function(){var l='nbsp,gt,lt,quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,fnof,bull,hellip,prime,Prime,oline,frasl,weierp,image,real,trade,alefsym,larr,uarr,rarr,darr,harr,crarr,lArr,uArr,rArr,dArr,hArr,forall,part,exist,empty,nabla,isin,notin,ni,prod,sum,minus,lowast,radic,prop,infin,ang,and,or,cap,cup,int,there4,sim,cong,asymp,ne,equiv,le,ge,sub,sup,nsub,sube,supe,oplus,otimes,perp,sdot,lceil,rceil,lfloor,rfloor,lang,rang,loz,spades,clubs,hearts,diams,circ,tilde,ensp,emsp,thinsp,zwnj,zwj,lrm,rlm,ndash,mdash,lsquo,rsquo,sbquo,ldquo,rdquo,bdquo,dagger,Dagger,permil,lsaquo,rsaquo,euro',m='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',n='Alpha,Beta,Gamma,Delta,Epsilon,Zeta,Eta,Theta,Iota,Kappa,Lambda,Mu,Nu,Xi,Omicron,Pi,Rho,Sigma,Tau,Upsilon,Phi,Chi,Psi,Omega,alpha,beta,gamma,delta,epsilon,zeta,eta,theta,iota,kappa,lambda,mu,nu,xi,omicron,pi,rho,sigmaf,sigma,tau,upsilon,phi,chi,psi,omega,thetasym,upsih,piv'; +function o(p){var q={},r=[],s={nbsp:'\xa0',shy:'­',gt:'>',lt:'<'};p=p.replace(/\b(nbsp|shy|gt|lt|amp)(?:,|$)/g,function(x,y){q[s[y]]='&'+y+';';r.push(s[y]);return '';});p=p.split(',');var t=document.createElement('div'),u;t.innerHTML='&'+p.join(';&')+';';u=t.innerHTML;t=null;for(var v=0;v<u.length;v++){var w=u.charAt(v);q[w]='&'+p[v]+';';r.push(w);}q.regex=r.join('');return q;};j.add('entities',{afterInit:function(p){var q=p.config;if(!q.entities)return;var r=p.dataProcessor,s=r&&r.htmlFilter;if(s){var t=l;if(q.entities_latin)t+=','+m;if(q.entities_greek)t+=','+n;if(q.entities_additional)t+=','+q.entities_additional;var u=o(t),v='['+u.regex+']';delete u.regex;if(q.entities_processNumerical)v='[^ -~]|'+v;v=new RegExp(v,'g');function w(x){return u[x]||'&#'+x.charCodeAt(0)+';';};s.addRules({text:function(x){return x.replace(v,w);}});}}});})();i.entities=true;i.entities_latin=true;i.entities_greek=true;i.entities_processNumerical=false;i.entities_additional='#39';(function(){function l(u,v){var w=[];if(!v)return u;else for(var x in v)w.push(x+'='+encodeURIComponent(v[x]));return u+(u.indexOf('?')!=-1?'&':'?')+w.join('&');};function m(u){u+='';var v=u.charAt(0).toUpperCase();return v+u.substr(1);};function n(u){var B=this;var v=B.getDialog(),w=v.getParentEditor();w._.filebrowserSe=B;var x=w.config['filebrowser'+m(v.getName())+'WindowWidth']||w.config.filebrowserWindowWidth||'80%',y=w.config['filebrowser'+m(v.getName())+'WindowHeight']||w.config.filebrowserWindowHeight||'70%',z=B.filebrowser.params||{};z.CKEditor=w.name;z.CKEditorFuncNum=w._.filebrowserFn;if(!z.langCode)z.langCode=w.langCode;var A=l(B.filebrowser.url,z);w.popup(A,x,y);};function o(u){var x=this;var v=x.getDialog(),w=v.getParentEditor();w._.filebrowserSe=x;if(!v.getContentElement(x['for'][0],x['for'][1]).getInputElement().$.value)return false;if(!v.getContentElement(x['for'][0],x['for'][1]).getAction())return false;return true;};function p(u,v,w){var x=w.params||{};x.CKEditor=u.name;x.CKEditorFuncNum=u._.filebrowserFn;if(!x.langCode)x.langCode=u.langCode;v.action=l(w.url,x);v.filebrowser=w;};function q(u,v,w,x){var y,z;for(var A in x){y=x[A];if(y.type=='hbox'||y.type=='vbox')q(u,v,w,y.children);if(!y.filebrowser)continue;if(typeof y.filebrowser=='string'){var B={action:y.type=='fileButton'?'QuickUpload':'Browse',target:y.filebrowser};y.filebrowser=B;}if(y.filebrowser.action=='Browse'){var C=y.filebrowser.url||u.config['filebrowser'+m(v)+'BrowseUrl']||u.config.filebrowserBrowseUrl;if(C){y.onClick=n; +y.filebrowser.url=C;y.hidden=false;}}else if(y.filebrowser.action=='QuickUpload'&&y['for']){C=y.filebrowser.url||u.config['filebrowser'+m(v)+'UploadUrl']||u.config.filebrowserUploadUrl;if(C){var D=y.onClick;y.onClick=function(E){var F=E.sender;if(D&&D.call(F,E)===false)return false;return o.call(F,E);};y.filebrowser.url=C;y.hidden=false;p(u,w.getContents(y['for'][0]).get(y['for'][1]),y.filebrowser);}}}};function r(u,v){var w=v.getDialog(),x=v.filebrowser.target||null;u=u.replace(/#/g,'%23');if(x){var y=x.split(':'),z=w.getContentElement(y[0],y[1]);if(z){z.setValue(u);w.selectPage(y[0]);}}};function s(u,v,w){if(w.indexOf(';')!==-1){var x=w.split(';');for(var y=0;y<x.length;y++){if(s(u,v,x[y]))return true;}return false;}var z=u.getContents(v).get(w).filebrowser;return z&&z.url;};function t(u,v){var z=this;var w=z._.filebrowserSe.getDialog(),x=z._.filebrowserSe['for'],y=z._.filebrowserSe.filebrowser.onSelect;if(x)w.getContentElement(x[0],x[1]).reset();if(typeof v=='function'&&v.call(z._.filebrowserSe)===false)return;if(y&&y.call(z._.filebrowserSe,u,v)===false)return;if(typeof v=='string'&&v)alert(v);if(u)r(u,z._.filebrowserSe);};j.add('filebrowser',{init:function(u,v){u._.filebrowserFn=e.addFunction(t,u);a.on('dialogDefinition',function(w){var x=w.data.definition,y;for(var z in x.contents){y=x.contents[z];q(w.editor,w.data.name,x,y.elements);if(y.hidden&&y.filebrowser)y.hidden=!s(x,y.id,y.filebrowser);}});}});})();j.add('find',{init:function(l){var m=j.find;l.ui.addButton('Find',{label:l.lang.findAndReplace.find,command:'find'});var n=l.addCommand('find',new a.dialogCommand('find'));n.canUndo=false;l.ui.addButton('Replace',{label:l.lang.findAndReplace.replace,command:'replace'});var o=l.addCommand('replace',new a.dialogCommand('replace'));o.canUndo=false;a.dialog.add('find',this.path+'dialogs/find.js');a.dialog.add('replace',this.path+'dialogs/find.js');},requires:['styles']});i.find_highlight={element:'span',styles:{'background-color':'#004',color:'#fff'}};(function(){var l=/\.swf(?:$|\?)/i,m=/^\d+(?:\.\d+)?$/;function n(q){if(m.test(q))return q+'px';return q;};function o(q){var r=q.attributes;return r.type=='application/x-shockwave-flash'||l.test(r.src||'');};function p(q,r){var s=q.createFakeParserElement(r,'cke_flash','flash',true),t=s.attributes.style||'',u=r.attributes.width,v=r.attributes.height;if(typeof u!='undefined')t=s.attributes.style=t+'width:'+n(u)+';';if(typeof v!='undefined')t=s.attributes.style=t+'height:'+n(v)+';';return s;};j.add('flash',{init:function(q){q.addCommand('flash',new a.dialogCommand('flash')); +q.ui.addButton('Flash',{label:q.lang.common.flash,command:'flash'});a.dialog.add('flash',this.path+'dialogs/flash.js');q.addCss('img.cke_flash{background-image: url('+a.getUrl(this.path+'images/placeholder.png')+');'+'background-position: center center;'+'background-repeat: no-repeat;'+'border: 1px solid #a9a9a9;'+'width: 80px;'+'height: 80px;'+'}');if(q.addMenuItems)q.addMenuItems({flash:{label:q.lang.flash.properties,command:'flash',group:'flash'}});if(q.contextMenu)q.contextMenu.addListener(function(r,s){if(r&&r.is('img')&&r.getAttribute('_cke_real_element_type')=='flash')return{flash:2};});},afterInit:function(q){var r=q.dataProcessor,s=r&&r.dataFilter;if(s)s.addRules({elements:{'cke:object':function(t){var u=t.attributes,v=u.classid&&String(u.classid).toLowerCase();if(!v){for(var w=0;w<t.children.length;w++){if(t.children[w].name=='cke:embed'){if(!o(t.children[w]))return null;return p(q,t);}}return null;}return p(q,t);},'cke:embed':function(t){if(!o(t))return null;return p(q,t);}}},5);},requires:['fakeobjects']});})();e.extend(i,{flashEmbedTagOnly:false,flashAddEmbedTag:true,flashConvertOnEdit:false});(function(){function l(m,n,o,p,q,r,s){var t=m.config,u=q.split(';'),v=[],w={};for(var x=0;x<u.length;x++){var y=u[x];if(y){y=y.split('/');var z={},A=u[x]=y[0];z[o]=v[x]=y[1]||A;w[A]=new a.style(s,z);}else u.splice(x--,1);}m.ui.addRichCombo(n,{label:p.label,title:p.panelTitle,className:'cke_'+(o=='size'?'fontSize':'font'),panel:{css:m.skin.editor.css.concat(t.contentsCss),multiSelect:false,attributes:{'aria-label':p.panelTitle}},init:function(){this.startGroup(p.panelTitle);for(var B=0;B<u.length;B++){var C=u[B];this.add(C,'<span style="font-'+o+':'+v[B]+'">'+C+'</span>',C);}},onClick:function(B){m.focus();m.fire('saveSnapshot');var C=w[B];if(this.getValue()==B)C.remove(m.document);else C.apply(m.document);m.fire('saveSnapshot');},onRender:function(){m.on('selectionChange',function(B){var C=this.getValue(),D=B.data.path,E=D.elements;for(var F=0,G;F<E.length;F++){G=E[F];for(var H in w){if(w[H].checkElementRemovable(G,true)){if(H!=C)this.setValue(H);return;}}}this.setValue('',r);},this);}});};j.add('font',{requires:['richcombo','styles'],init:function(m){var n=m.config;l(m,'Font','family',m.lang.font,n.font_names,n.font_defaultLabel,n.font_style);l(m,'FontSize','size',m.lang.fontSize,n.fontSize_sizes,n.fontSize_defaultLabel,n.fontSize_style);}});})();i.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'; +i.font_defaultLabel='';i.font_style={element:'span',styles:{'font-family':'#(family)'},overrides:[{element:'font',attributes:{face:null}}]};i.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';i.fontSize_defaultLabel='';i.fontSize_style={element:'span',styles:{'font-size':'#(size)'},overrides:[{element:'font',attributes:{size:null}}]};j.add('format',{requires:['richcombo','styles'],init:function(l){var m=l.config,n=l.lang.format,o=m.format_tags.split(';'),p={};for(var q=0;q<o.length;q++){var r=o[q];p[r]=new a.style(m['format_'+r]);}l.ui.addRichCombo('Format',{label:n.label,title:n.panelTitle,className:'cke_format',panel:{css:l.skin.editor.css.concat(m.contentsCss),multiSelect:false,attributes:{'aria-label':n.panelTitle}},init:function(){this.startGroup(n.panelTitle);for(var s in p){var t=n['tag_'+s];this.add(s,'<'+s+'>'+t+'</'+s+'>',t);}},onClick:function(s){l.focus();l.fire('saveSnapshot');p[s].apply(l.document);setTimeout(function(){l.fire('saveSnapshot');},0);},onRender:function(){l.on('selectionChange',function(s){var t=this.getValue(),u=s.data.path;for(var v in p){if(p[v].checkActive(u)){if(v!=t)this.setValue(v,l.lang.format['tag_'+v]);return;}}this.setValue('');},this);}});}});i.format_tags='p;h1;h2;h3;h4;h5;h6;pre;address;div';i.format_p={element:'p'};i.format_div={element:'div'};i.format_pre={element:'pre'};i.format_address={element:'address'};i.format_h1={element:'h1'};i.format_h2={element:'h2'};i.format_h3={element:'h3'};i.format_h4={element:'h4'};i.format_h5={element:'h5'};i.format_h6={element:'h6'};j.add('forms',{init:function(l){var m=l.lang;l.addCss('form{border: 1px dotted #FF0000;padding: 2px;}');var n=function(p,q,r){l.addCommand(q,new a.dialogCommand(q));l.ui.addButton(p,{label:m.common[p.charAt(0).toLowerCase()+p.slice(1)],command:q});a.dialog.add(q,r);},o=this.path+'dialogs/';n('Form','form',o+'form.js');n('Checkbox','checkbox',o+'checkbox.js');n('Radio','radio',o+'radio.js');n('TextField','textfield',o+'textfield.js');n('Textarea','textarea',o+'textarea.js');n('Select','select',o+'select.js');n('Button','button',o+'button.js');n('ImageButton','imagebutton',j.getPath('image')+'dialogs/image.js');n('HiddenField','hiddenfield',o+'hiddenfield.js');if(l.addMenuItems)l.addMenuItems({form:{label:m.form.menu,command:'form',group:'form'},checkbox:{label:m.checkboxAndRadio.checkboxTitle,command:'checkbox',group:'checkbox'},radio:{label:m.checkboxAndRadio.radioTitle,command:'radio',group:'radio'},textfield:{label:m.textfield.title,command:'textfield',group:'textfield'},hiddenfield:{label:m.hidden.title,command:'hiddenfield',group:'hiddenfield'},imagebutton:{label:m.image.titleButton,command:'imagebutton',group:'imagebutton'},button:{label:m.button.title,command:'button',group:'button'},select:{label:m.select.title,command:'select',group:'select'},textarea:{label:m.textarea.title,command:'textarea',group:'textarea'}}); +if(l.contextMenu){l.contextMenu.addListener(function(p){if(p&&p.hasAscendant('form',true))return{form:2};});l.contextMenu.addListener(function(p){if(p){var q=p.getName();if(q=='select')return{select:2};if(q=='textarea')return{textarea:2};if(q=='input'){var r=p.getAttribute('type');if(r=='text'||r=='password')return{textfield:2};if(r=='button'||r=='submit'||r=='reset')return{button:2};if(r=='checkbox')return{checkbox:2};if(r=='radio')return{radio:2};if(r=='image')return{imagebutton:2};}if(q=='img'&&p.getAttribute('_cke_real_element_type')=='hiddenfield')return{hiddenfield:2};}});}},afterInit:function(l){if(c){var m=l.dataProcessor,n=m&&m.htmlFilter;n&&n.addRules({elements:{input:function(o){var p=o.attributes,q=p.type;if(q=='checkbox'||q=='radio')p.value=='on'&&delete p.value;}}});}},requires:['image']});if(c)h.prototype.hasAttribute=function(l){var o=this;var m=o.$.attributes.getNamedItem(l);if(o.getName()=='input')switch(l){case 'class':return o.$.className.length>0;case 'checked':return!!o.$.checked;case 'value':var n=o.getAttribute('type');if(n=='checkbox'||n=='radio')return o.$.value!='on';break;default:}return!!(m&&m.specified);};(function(){var l={canUndo:false,exec:function(n){n.insertElement(n.document.createElement('hr'));}},m='horizontalrule';j.add(m,{init:function(n){n.addCommand(m,l);n.ui.addButton('HorizontalRule',{label:n.lang.horizontalrule,command:m});}});})();(function(){var l=/^[\t\r\n ]*(?:&nbsp;|\xa0)$/,m='{cke_protected}';function n(O){var P=O.children.length,Q=O.children[P-1];while(Q&&Q.type==3&&!e.trim(Q.value))Q=O.children[--P];return Q;};function o(O,P){var Q=O.children,R=n(O);if(R){if((P||!c)&&R.type==1&&R.name=='br')Q.pop();if(R.type==3&&l.test(R.value))Q.pop();}};function p(O){var P=n(O);return!P||P.type==1&&P.name=='br';};function q(O){o(O,true);if(p(O))if(c)O.add(new a.htmlParser.text('\xa0'));else O.add(new a.htmlParser.element('br',{}));};function r(O){o(O);if(p(O))O.add(new a.htmlParser.text('\xa0'));};var s=f,t=e.extend({},s.$block,s.$listItem,s.$tableContent);for(var u in t){if(!('br' in s[u]))delete t[u];}delete t.pre;var v={attributeNames:[[/^on/,'_cke_pa_on']]},w={elements:{}};for(u in t)w.elements[u]=q;var x={elementNames:[[/^cke:/,''],[/^\?xml:namespace$/,'']],attributeNames:[[/^_cke_(saved|pa)_/,''],[/^_cke.*/,''],['hidefocus','']],elements:{$:function(O){var P=O.attributes;if(P){if(P.cke_temp)return false;var Q=['name','href','src'],R;for(var S=0;S<Q.length;S++){R='_cke_saved_'+Q[S];R in P&&delete P[Q[S]];}}return O; +},embed:function(O){var P=O.parent;if(P&&P.name=='object'){var Q=P.attributes.width,R=P.attributes.height;Q&&(O.attributes.width=Q);R&&(O.attributes.height=R);}},param:function(O){O.children=[];O.isEmpty=true;return O;},a:function(O){if(!(O.children.length||O.attributes.name||O.attributes._cke_saved_name))return false;},body:function(O){delete O.attributes.spellcheck;delete O.attributes.contenteditable;},style:function(O){var P=O.children[0];P&&P.value&&(P.value=e.trim(P.value));if(!O.attributes.type)O.attributes.type='text/css';},title:function(O){O.children[0].value=O.attributes._cke_title;}},attributes:{'class':function(O,P){return e.ltrim(O.replace(/(?:^|\s+)cke_[^\s]*/g,''))||false;}},comment:function(O){if(O.substr(0,m.length)==m){if(O.substr(m.length,3)=='{C}')O=O.substr(m.length+3);else O=O.substr(m.length);return new a.htmlParser.cdata(decodeURIComponent(O));}return O;}},y={elements:{}};for(u in t)y.elements[u]=r;if(c)x.attributes.style=function(O,P){return O.toLowerCase();};var z=/<(?:a|area|img|input)[\s\S]*?\s((?:href|src|name)\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|(?:[^ "'>]+)))/gi,A=/(?:<style(?=[ >])[^>]*>[\s\S]*<\/style>)|(?:<(:?link|meta|base)[^>]*>)/gi,B=/<cke:encoded>([^<]*)<\/cke:encoded>/gi,C=/(<\/?)((?:object|embed|param|html|body|head|title)[^>]*>)/gi,D=/(<\/?)cke:((?:html|body|head|title)[^>]*>)/gi,E=/<cke:(param|embed)([^>]*?)\/?>(?!\s*<\/cke:\1)/gi;function F(O){return O.replace(z,'$& _cke_saved_$1');};function G(O){return O.replace(A,function(P){return '<cke:encoded>'+encodeURIComponent(P)+'</cke:encoded>';});};function H(O){return O.replace(B,function(P,Q){return decodeURIComponent(Q);});};function I(O){return O.replace(C,'$1cke:$2');};function J(O){return O.replace(D,'$1$2');};function K(O){return O.replace(E,'<cke:$1$2></cke:$1>');};function L(O){return O.replace(/<!--(?!{cke_protected})[\s\S]+?-->/g,function(P){return '<!--'+m+'{C}'+encodeURIComponent(P).replace(/--/g,'%2D%2D')+'-->';});};function M(O){return O.replace(/<!--\{cke_protected\}\{C\}([\s\S]+?)-->/g,function(P,Q){return decodeURIComponent(Q);});};function N(O,P){var Q=[],R=/<\!--\{cke_temp(comment)?\}(\d*?)-->/g,S=[/<script[\s\S]*?<\/script>/gi,/<noscript[\s\S]*?<\/noscript>/gi].concat(P);O=O.replace(/<!--[\s\S]*?-->/g,function(U){return '<!--{cke_tempcomment}'+(Q.push(U)-1)+'-->';});for(var T=0;T<S.length;T++)O=O.replace(S[T],function(U){U=U.replace(R,function(V,W,X){return Q[X];});return '<!--{cke_temp}'+(Q.push(U)-1)+'-->';});O=O.replace(R,function(U,V,W){return '<!--'+m+(V?'{C}':'')+encodeURIComponent(Q[W]).replace(/--/g,'%2D%2D')+'-->'; +});return O;};j.add('htmldataprocessor',{requires:['htmlwriter'],init:function(O){var P=O.dataProcessor=new a.htmlDataProcessor(O);P.writer.forceSimpleAmpersand=O.config.forceSimpleAmpersand;P.dataFilter.addRules(v);P.dataFilter.addRules(w);P.htmlFilter.addRules(x);P.htmlFilter.addRules(y);}});a.htmlDataProcessor=function(O){var P=this;P.editor=O;P.writer=new a.htmlWriter();P.dataFilter=new a.htmlParser.filter();P.htmlFilter=new a.htmlParser.filter();};a.htmlDataProcessor.prototype={toHtml:function(O,P){O=N(O,this.editor.config.protectedSource);O=F(O);O=G(O);O=I(O);O=K(O);var Q=new h('div');Q.setHtml('a'+O);O=Q.getHtml().substr(1);O=J(O);O=H(O);O=M(O);var R=a.htmlParser.fragment.fromHtml(O,P),S=new a.htmlParser.basicWriter();R.writeHtml(S,this.dataFilter);O=S.getHtml(true);O=L(O);return O;},toDataFormat:function(O,P){var Q=this.writer,R=a.htmlParser.fragment.fromHtml(O,P);Q.reset();R.writeHtml(Q,this.htmlFilter);return Q.getHtml(true);}};})();i.forceSimpleAmpersand=false;j.add('image',{init:function(l){var m='image';a.dialog.add(m,this.path+'dialogs/image.js');l.addCommand(m,new a.dialogCommand(m));l.ui.addButton('Image',{label:l.lang.common.image,command:m});if(l.addMenuItems)l.addMenuItems({image:{label:l.lang.image.menu,command:'image',group:'image'}});if(l.contextMenu)l.contextMenu.addListener(function(n,o){if(!n||!n.is('img')||n.getAttribute('_cke_realelement'))return null;return{image:2};});}});i.image_removeLinkByEmptyURL=true;(function(){var l={ol:1,ul:1};function m(r,s){r.getCommand(this.name).setState(s);};function n(r){var C=this;var s=r.data.path.elements,t,u,v=r.editor;for(var w=0;w<s.length;w++){if(s[w].getName()=='li'){u=s[w];continue;}if(l[s[w].getName()]){t=s[w];break;}}if(t)if(C.name=='outdent')return m.call(C,v,2);else{while(u&&(u=u.getPrevious(d.walker.whitespaces(true)))){if(u.getName&&u.getName()=='li')return m.call(C,v,2);}return m.call(C,v,0);}if(!C.useIndentClasses&&C.name=='indent')return m.call(C,v,2);var x=r.data.path,y=x.block||x.blockLimit;if(!y)return m.call(C,v,0);if(C.useIndentClasses){var z=y.$.className.match(C.classNameRegex),A=0;if(z){z=z[1];A=C.indentClassMap[z];}if(C.name=='outdent'&&!A||C.name=='indent'&&A==v.config.indentClasses.length)return m.call(C,v,0);return m.call(C,v,2);}else{var B=parseInt(y.getStyle(C.indentCssProperty),10);if(isNaN(B))B=0;if(B<=0)return m.call(C,v,0);return m.call(C,v,2);}};function o(r,s,t){var u=s.startContainer,v=s.endContainer;while(u&&!u.getParent().equals(t))u=u.getParent();while(v&&!v.getParent().equals(t))v=v.getParent(); +if(!u||!v)return;var w=u,x=[],y=false;while(!y){if(w.equals(v))y=true;x.push(w);w=w.getNext();}if(x.length<1)return;var z=t.getParents(true);for(var A=0;A<z.length;A++){if(z[A].getName&&l[z[A].getName()]){t=z[A];break;}}var B=this.name=='indent'?1:-1,C=x[0],D=x[x.length-1],E={},F=j.list.listToArray(t,E),G=F[D.getCustomData('listarray_index')].indent;for(A=C.getCustomData('listarray_index');A<=D.getCustomData('listarray_index');A++)F[A].indent+=B;for(A=D.getCustomData('listarray_index')+1;A<F.length&&F[A].indent>G;A++)F[A].indent+=B;var H=j.list.arrayToList(F,E,null,r.config.enterMode,0);if(this.name=='outdent'){var I;if((I=t.getParent())&&I.is('li')){var J=H.listNode.getChildren(),K=[],L=J.count(),M;for(A=L-1;A>=0;A--){if((M=J.getItem(A))&&M.is&&M.is('li'))K.push(M);}}}if(H)H.listNode.replace(t);if(K&&K.length)for(A=0;A<K.length;A++){var N=K[A],O=N;while((O=O.getNext())&&O.is&&O.getName() in l)N.append(O);N.insertAfter(I);}h.clearAllMarkers(E);};function p(r,s){var A=this;var t=s.createIterator(),u=r.config.enterMode;t.enforceRealBlocks=true;t.enlargeBr=u!=2;var v;while(v=t.getNextParagraph()){if(A.useIndentClasses){var w=v.$.className.match(A.classNameRegex),x=0;if(w){w=w[1];x=A.indentClassMap[w];}if(A.name=='outdent')x--;else x++;x=Math.min(x,r.config.indentClasses.length);x=Math.max(x,0);var y=e.ltrim(v.$.className.replace(A.classNameRegex,''));if(x<1)v.$.className=y;else v.addClass(r.config.indentClasses[x-1]);}else{var z=parseInt(v.getStyle(A.indentCssProperty),10);if(isNaN(z))z=0;z+=(A.name=='indent'?1:-1)*r.config.indentOffset;z=Math.max(z,0);z=Math.ceil(z/r.config.indentOffset)*r.config.indentOffset;v.setStyle(A.indentCssProperty,z?z+r.config.indentUnit:'');if(v.getAttribute('style')==='')v.removeAttribute('style');}}};function q(r,s){var u=this;u.name=s;u.useIndentClasses=r.config.indentClasses&&r.config.indentClasses.length>0;if(u.useIndentClasses){u.classNameRegex=new RegExp('(?:^|\\s+)('+r.config.indentClasses.join('|')+')(?=$|\\s)');u.indentClassMap={};for(var t=0;t<r.config.indentClasses.length;t++)u.indentClassMap[r.config.indentClasses[t]]=t+1;}else u.indentCssProperty=r.config.contentsLangDirection=='ltr'?'margin-left':'margin-right';};q.prototype={exec:function(r){var s=r.getSelection(),t=s&&s.getRanges()[0];if(!s||!t)return;var u=s.createBookmarks(true),v=t.getCommonAncestor();while(v&&!(v.type==1&&l[v.getName()]))v=v.getParent();if(v)o.call(this,r,t,v);else p.call(this,r,t);r.focus();r.forceNextSelectionCheck();s.selectBookmarks(u);}};j.add('indent',{init:function(r){var s=new q(r,'indent'),t=new q(r,'outdent'); +r.addCommand('indent',s);r.addCommand('outdent',t);r.ui.addButton('Indent',{label:r.lang.indent,command:'indent'});r.ui.addButton('Outdent',{label:r.lang.outdent,command:'outdent'});r.on('selectionChange',e.bind(n,s));r.on('selectionChange',e.bind(n,t));},requires:['domiterator','list']});})();e.extend(i,{indentOffset:40,indentUnit:'px',indentClasses:null});(function(){var l=/(-moz-|-webkit-|start|auto)/i;function m(p,q){var r=q.block||q.blockLimit;if(!r||r.getName()=='body')return 2;var s=r.getComputedStyle('text-align').replace(l,'');if(!s&&this.isDefaultAlign||s==this.value)return 1;return 2;};function n(p){var q=p.editor.getCommand(this.name);q.state=m.call(this,p.editor,p.data.path);q.fire('state');};function o(p,q,r){var u=this;u.name=q;u.value=r;var s=p.config.contentsLangDirection;u.isDefaultAlign=r=='left'&&s=='ltr'||r=='right'&&s=='rtl';var t=p.config.justifyClasses;if(t){switch(r){case 'left':u.cssClassName=t[0];break;case 'center':u.cssClassName=t[1];break;case 'right':u.cssClassName=t[2];break;case 'justify':u.cssClassName=t[3];break;}u.cssClassRegex=new RegExp('(?:^|\\s+)(?:'+t.join('|')+')(?=$|\\s)');}};o.prototype={exec:function(p){var z=this;var q=p.getSelection(),r=p.config.enterMode;if(!q)return;var s=q.createBookmarks(),t=q.getRanges(),u=z.cssClassName,v,w;for(var x=t.length-1;x>=0;x--){v=t[x].createIterator();v.enlargeBr=r!=2;while(w=v.getNextParagraph()){w.removeAttribute('align');if(u){var y=w.$.className=e.ltrim(w.$.className.replace(z.cssClassRegex,''));if(z.state==2&&!z.isDefaultAlign)w.addClass(u);else if(!y)w.removeAttribute('class');}else if(z.state==2&&!z.isDefaultAlign)w.setStyle('text-align',z.value);else w.removeStyle('text-align');}}p.focus();p.forceNextSelectionCheck();q.selectBookmarks(s);}};j.add('justify',{init:function(p){var q=new o(p,'justifyleft','left'),r=new o(p,'justifycenter','center'),s=new o(p,'justifyright','right'),t=new o(p,'justifyblock','justify');p.addCommand('justifyleft',q);p.addCommand('justifycenter',r);p.addCommand('justifyright',s);p.addCommand('justifyblock',t);p.ui.addButton('JustifyLeft',{label:p.lang.justify.left,command:'justifyleft'});p.ui.addButton('JustifyCenter',{label:p.lang.justify.center,command:'justifycenter'});p.ui.addButton('JustifyRight',{label:p.lang.justify.right,command:'justifyright'});p.ui.addButton('JustifyBlock',{label:p.lang.justify.block,command:'justifyblock'});p.on('selectionChange',e.bind(n,q));p.on('selectionChange',e.bind(n,s));p.on('selectionChange',e.bind(n,r));p.on('selectionChange',e.bind(n,t)); +},requires:['domiterator']});})();e.extend(i,{justifyClasses:null});j.add('keystrokes',{beforeInit:function(l){l.keystrokeHandler=new a.keystrokeHandler(l);l.specialKeys={};},init:function(l){var m=l.config.keystrokes,n=l.config.blockedKeystrokes,o=l.keystrokeHandler.keystrokes,p=l.keystrokeHandler.blockedKeystrokes;for(var q=0;q<m.length;q++)o[m[q][0]]=m[q][1];for(q=0;q<n.length;q++)p[n[q]]=1;}});a.keystrokeHandler=function(l){var m=this;if(l.keystrokeHandler)return l.keystrokeHandler;m.keystrokes={};m.blockedKeystrokes={};m._={editor:l};return m;};(function(){var l,m=function(o){o=o.data;var p=o.getKeystroke(),q=this.keystrokes[p],r=this._.editor;l=r.fire('key',{keyCode:p})===true;if(!l){if(q){var s={from:'keystrokeHandler'};l=r.execCommand(q,s)!==false;}if(!l){var t=r.specialKeys[p];l=t&&t(r)===true;if(!l)l=!!this.blockedKeystrokes[p];}}if(l)o.preventDefault(true);return!l;},n=function(o){if(l){l=false;o.data.preventDefault(true);}};a.keystrokeHandler.prototype={attach:function(o){o.on('keydown',m,this);if(b.opera||b.gecko&&b.mac)o.on('keypress',n,this);}};})();i.blockedKeystrokes=[1000+66,1000+73,1000+85];i.keystrokes=[[4000+121,'toolbarFocus'],[4000+122,'elementsPathFocus'],[2000+121,'contextMenu'],[1000+2000+121,'contextMenu'],[1000+90,'undo'],[1000+89,'redo'],[1000+2000+90,'redo'],[1000+76,'link'],[1000+66,'bold'],[1000+73,'italic'],[1000+85,'underline'],[4000+109,'toolbarCollapse'],[4000+48,'a11yHelp']];j.add('link',{init:function(l){l.addCommand('link',new a.dialogCommand('link'));l.addCommand('anchor',new a.dialogCommand('anchor'));l.addCommand('unlink',new a.unlinkCommand());l.ui.addButton('Link',{label:l.lang.link.toolbar,command:'link'});l.ui.addButton('Unlink',{label:l.lang.unlink,command:'unlink'});l.ui.addButton('Anchor',{label:l.lang.anchor.toolbar,command:'anchor'});a.dialog.add('link',this.path+'dialogs/link.js');a.dialog.add('anchor',this.path+'dialogs/anchor.js');l.addCss('img.cke_anchor{background-image: url('+a.getUrl(this.path+'images/anchor.gif')+');'+'background-position: center center;'+'background-repeat: no-repeat;'+'border: 1px solid #a9a9a9;'+'width: 18px;'+'height: 18px;'+'}\n'+'a.cke_anchor'+'{'+'background-image: url('+a.getUrl(this.path+'images/anchor.gif')+');'+'background-position: 0 center;'+'background-repeat: no-repeat;'+'border: 1px solid #a9a9a9;'+'padding-left: 18px;'+'}');l.on('selectionChange',function(m){var n=l.getCommand('unlink'),o=m.data.path.lastElement.getAscendant('a',true);if(o&&o.getName()=='a'&&o.getAttribute('href'))n.setState(2); +else n.setState(0);});if(l.addMenuItems)l.addMenuItems({anchor:{label:l.lang.anchor.menu,command:'anchor',group:'anchor'},link:{label:l.lang.link.menu,command:'link',group:'link',order:1},unlink:{label:l.lang.unlink,command:'unlink',group:'link',order:5}});if(l.contextMenu)l.contextMenu.addListener(function(m,n){if(!m)return null;var o=m.is('img')&&m.getAttribute('_cke_real_element_type')=='anchor';if(!o){if(!(m=m.getAscendant('a',true)))return null;o=m.getAttribute('name')&&!m.getAttribute('href');}return o?{anchor:2}:{link:2,unlink:2};});},afterInit:function(l){var m=l.dataProcessor,n=m&&m.dataFilter;if(n)n.addRules({elements:{a:function(o){var p=o.attributes;if(p.name&&!p.href)return l.createFakeParserElement(o,'cke_anchor','anchor');}}});},requires:['fakeobjects']});a.unlinkCommand=function(){};a.unlinkCommand.prototype={exec:function(l){var m=l.getSelection(),n=m.createBookmarks(),o=m.getRanges(),p,q;for(var r=0;r<o.length;r++){p=o[r].getCommonAncestor(true);q=p.getAscendant('a',true);if(!q)continue;o[r].selectNodeContents(q);}m.selectRanges(o);l.document.$.execCommand('unlink',false,null);m.selectBookmarks(n);}};e.extend(i,{linkShowAdvancedTab:true,linkShowTargetTab:true});(function(){var l={ol:1,ul:1},m=/^[\n\r\t ]*$/;j.list={listToArray:function(A,B,C,D,E){if(!l[A.getName()])return[];if(!D)D=0;if(!C)C=[];for(var F=0,G=A.getChildCount();F<G;F++){var H=A.getChild(F);if(H.$.nodeName.toLowerCase()!='li')continue;var I={parent:A,indent:D,contents:[]};if(!E){I.grandparent=A.getParent();if(I.grandparent&&I.grandparent.$.nodeName.toLowerCase()=='li')I.grandparent=I.grandparent.getParent();}else I.grandparent=E;if(B)h.setMarker(B,H,'listarray_index',C.length);C.push(I);for(var J=0,K=H.getChildCount();J<K;J++){var L=H.getChild(J);if(L.type==1&&l[L.getName()])j.list.listToArray(L,B,C,D+1,I.grandparent);else I.contents.push(L);}}return C;},arrayToList:function(A,B,C,D){if(!C)C=0;if(!A||A.length<C+1)return null;var E=A[C].parent.getDocument(),F=new d.documentFragment(E),G=null,H=C,I=Math.max(A[C].indent,0),J=null,K=D==1?'p':'div';for(;;){var L=A[H];if(L.indent==I){if(!G||A[H].parent.getName()!=G.getName()){G=A[H].parent.clone(false,true);F.append(G);}J=G.append(E.createElement('li'));for(var M=0;M<L.contents.length;M++)J.append(L.contents[M].clone(true,true));H++;}else if(L.indent==Math.max(I,0)+1){var N=j.list.arrayToList(A,null,H,D);J.append(N.listNode);H=N.nextIndex;}else if(L.indent==-1&&!C&&L.grandparent){J;if(l[L.grandparent.getName()])J=E.createElement('li'); +else if(D!=2&&L.grandparent.getName()!='td')J=E.createElement(K);else J=new d.documentFragment(E);for(M=0;M<L.contents.length;M++)J.append(L.contents[M].clone(true,true));if(J.type==11&&H!=A.length-1){if(J.getLast()&&J.getLast().type==1&&J.getLast().getAttribute('type')=='_moz')J.getLast().remove();J.appendBogus();}if(J.type==1&&J.getName()==K&&J.$.firstChild){J.trim();var O=J.getFirst();if(O.type==1&&O.isBlockBoundary()){var P=new d.documentFragment(E);J.moveChildren(P);J=P;}}var Q=J.$.nodeName.toLowerCase();if(!c&&(Q=='div'||Q=='p'))J.appendBogus();F.append(J);G=null;H++;}else return null;if(A.length<=H||Math.max(A[H].indent,0)<I)break;}if(B){var R=F.getFirst();while(R){if(R.type==1)h.clearMarkers(B,R);R=R.getNextSourceNode();}}return{listNode:F,nextIndex:H};}};function n(A,B){A.getCommand(this.name).setState(B);};function o(A){var B=A.data.path,C=B.blockLimit,D=B.elements,E;for(var F=0;F<D.length&&(E=D[F])&&!E.equals(C);F++){if(l[D[F].getName()])return n.call(this,A.editor,this.type==D[F].getName()?1:2);}return n.call(this,A.editor,2);};function p(A,B,C,D){var E=j.list.listToArray(B.root,C),F=[];for(var G=0;G<B.contents.length;G++){var H=B.contents[G];H=H.getAscendant('li',true);if(!H||H.getCustomData('list_item_processed'))continue;F.push(H);h.setMarker(C,H,'list_item_processed',true);}var I=B.root.getDocument().createElement(this.type);for(G=0;G<F.length;G++){var J=F[G].getCustomData('listarray_index');E[J].parent=I;}var K=j.list.arrayToList(E,C,null,A.config.enterMode),L,M=K.listNode.getChildCount();for(G=0;G<M&&(L=K.listNode.getChild(G));G++){if(L.getName()==this.type)D.push(L);}K.listNode.replace(B.root);};function q(A,B,C){var D=B.contents,E=B.root.getDocument(),F=[];if(D.length==1&&D[0].equals(B.root)){var G=E.createElement('div');D[0].moveChildren&&D[0].moveChildren(G);D[0].append(G);D[0]=G;}var H=B.contents[0].getParent();for(var I=0;I<D.length;I++)H=H.getCommonAncestor(D[I].getParent());for(I=0;I<D.length;I++){var J=D[I],K;while(K=J.getParent()){if(K.equals(H)){F.push(J);break;}J=K;}}if(F.length<1)return;var L=F[F.length-1].getNext(),M=E.createElement(this.type);C.push(M);while(F.length){var N=F.shift(),O=E.createElement('li');N.moveChildren(O);N.remove();O.appendTo(M);if(!c)O.appendBogus();}if(L)M.insertBefore(L);else M.appendTo(H);};function r(A,B,C){var D=j.list.listToArray(B.root,C),E=[];for(var F=0;F<B.contents.length;F++){var G=B.contents[F];G=G.getAscendant('li',true);if(!G||G.getCustomData('list_item_processed'))continue;E.push(G);h.setMarker(C,G,'list_item_processed',true); +}var H=null;for(F=0;F<E.length;F++){var I=E[F].getCustomData('listarray_index');D[I].indent=-1;H=I;}for(F=H+1;F<D.length;F++){if(D[F].indent>D[F-1].indent+1){var J=D[F-1].indent+1-D[F].indent,K=D[F].indent;while(D[F]&&D[F].indent>=K){D[F].indent+=J;F++;}F--;}}var L=j.list.arrayToList(D,C,null,A.config.enterMode),M=L.listNode,N,O;function P(Q){if((N=M[Q?'getFirst':'getLast']())&&!(N.is&&N.isBlockBoundary())&&(O=B.root[Q?'getPrevious':'getNext'](d.walker.whitespaces(true)))&&!(O.is&&O.isBlockBoundary({br:1})))A.document.createElement('br')[Q?'insertBefore':'insertAfter'](N);};P(true);P();M.replace(B.root);};function s(A,B){this.name=A;this.type=B;};s.prototype={exec:function(A){A.focus();var B=A.document,C=A.getSelection(),D=C&&C.getRanges();if(!D||D.length<1)return;if(this.state==2){var E=B.getBody();E.trim();if(!E.getFirst()){var F=B.createElement(A.config.enterMode==1?'p':A.config.enterMode==3?'div':'br');F.appendTo(E);D=[new d.range(B)];if(F.is('br')){D[0].setStartBefore(F);D[0].setEndAfter(F);}else D[0].selectNodeContents(F);C.selectRanges(D);}else{var G=D.length==1&&D[0],H=G&&G.getEnclosedNode();if(H&&H.is&&this.type==H.getName())n.call(this,A,1);}}var I=C.createBookmarks(true),J=[],K={};while(D.length>0){G=D.shift();var L=G.getBoundaryNodes(),M=L.startNode,N=L.endNode;if(M.type==1&&M.getName()=='td')G.setStartAt(L.startNode,1);if(N.type==1&&N.getName()=='td')G.setEndAt(L.endNode,2);var O=G.createIterator(),P;O.forceBrBreak=this.state==2;while(P=O.getNextParagraph()){var Q=new d.elementPath(P),R=Q.elements,S=R.length,T=null,U=false,V=Q.blockLimit,W;for(var X=S-1;X>=0&&(W=R[X]);X--){if(l[W.getName()]&&V.contains(W)){V.removeCustomData('list_group_object');var Y=W.getCustomData('list_group_object');if(Y)Y.contents.push(P);else{Y={root:W,contents:[P]};J.push(Y);h.setMarker(K,W,'list_group_object',Y);}U=true;break;}}if(U)continue;var Z=V;if(Z.getCustomData('list_group_object'))Z.getCustomData('list_group_object').contents.push(P);else{Y={root:Z,contents:[P]};h.setMarker(K,Z,'list_group_object',Y);J.push(Y);}}}var aa=[];while(J.length>0){Y=J.shift();if(this.state==2){if(l[Y.root.getName()])p.call(this,A,Y,K,aa);else q.call(this,A,Y,aa);}else if(this.state==1&&l[Y.root.getName()])r.call(this,A,Y,K);}for(X=0;X<aa.length;X++){T=aa[X];var ab,ac=this;(ab=function(ad){var ae=T[ad?'getPrevious':'getNext'](d.walker.whitespaces(true));if(ae&&ae.getName&&ae.getName()==ac.type){ae.remove();ae.moveChildren(T,ad?true:false);}})();ab(true);}h.clearAllMarkers(K);C.selectBookmarks(I); +A.focus();}};var t=f,u=/[\t\r\n ]*(?:&nbsp;|\xa0)$/;function v(A,B){var C,D=A.children,E=D.length;for(var F=0;F<E;F++){C=D[F];if(C.name&&C.name in B)return F;}return E;};function w(A){return function(B){var C=B.children,D=v(B,t.$list),E=C[D],F=E&&E.previous,G;if(F&&(F.name&&F.name=='br'||F.value&&(G=F.value.match(u)))){var H=F;if(!(G&&G.index)&&H==C[0])C[0]=A||c?new a.htmlParser.text('\xa0'):new a.htmlParser.element('br',{});else if(H.name=='br')C.splice(D-1,1);else H.value=H.value.replace(u,'');}};};var x={elements:{}};for(var y in t.$listItem)x.elements[y]=w();var z={elements:{}};for(y in t.$listItem)z.elements[y]=w(true);j.add('list',{init:function(A){var B=new s('numberedlist','ol'),C=new s('bulletedlist','ul');A.addCommand('numberedlist',B);A.addCommand('bulletedlist',C);A.ui.addButton('NumberedList',{label:A.lang.numberedlist,command:'numberedlist'});A.ui.addButton('BulletedList',{label:A.lang.bulletedlist,command:'bulletedlist'});A.on('selectionChange',e.bind(o,B));A.on('selectionChange',e.bind(o,C));},afterInit:function(A){var B=A.dataProcessor;if(B){B.dataFilter.addRules(x);B.htmlFilter.addRules(z);}},requires:['domiterator']});})();(function(){function l(q){if(!q||q.type!=1||q.getName()!='form')return[];var r=[],s=['style','className'];for(var t=0;t<s.length;t++){var u=s[t],v=q.$.elements.namedItem(u);if(v){var w=new h(v);r.push([w,w.nextSibling]);w.remove();}}return r;};function m(q,r){if(!q||q.type!=1||q.getName()!='form')return;if(r.length>0)for(var s=r.length-1;s>=0;s--){var t=r[s][0],u=r[s][1];if(u)t.insertBefore(u);else t.appendTo(q);}};function n(q,r){var s=l(q),t={},u=q.$;if(!r){t['class']=u.className||'';u.className='';}t.inline=u.style.cssText||'';if(!r)u.style.cssText='position: static; overflow: visible';m(s);return t;};function o(q,r){var s=l(q),t=q.$;if('class' in r)t.className=r['class'];if('inline' in r)t.style.cssText=r.inline;m(s);};function p(q,r){return function(){var s=q.getViewPaneSize();r.resize(s.width,s.height,null,true);};};j.add('maximize',{init:function(q){var r=q.lang,s=a.document,t=s.getWindow(),u,v,w,x=p(t,q),y=2;q.addCommand('maximize',{modes:{wysiwyg:1,source:1},editorFocus:false,exec:function(){var z=q.container.getChild(1),A=q.getThemeSpace('contents');if(q.mode=='wysiwyg'){var B=q.getSelection();u=B&&B.getRanges();v=t.getScrollPosition();}else{var C=q.textarea.$;u=!c&&[C.selectionStart,C.selectionEnd];v=[C.scrollLeft,C.scrollTop];}if(this.state==2){t.on('resize',x);w=t.getScrollPosition();var D=q.container;while(D=D.getParent()){D.setCustomData('maximize_saved_styles',n(D)); +D.setStyle('z-index',q.config.baseFloatZIndex-1);}A.setCustomData('maximize_saved_styles',n(A,true));z.setCustomData('maximize_saved_styles',n(z,true));if(c)s.$.documentElement.style.overflow=s.getBody().$.style.overflow='hidden';else s.getBody().setStyles({overflow:'hidden',width:'0px',height:'0px'});c?setTimeout(function(){t.$.scrollTo(0,0);},0):t.$.scrollTo(0,0);var E=t.getViewPaneSize();z.setStyle('position','absolute');z.$.offsetLeft;z.setStyles({'z-index':q.config.baseFloatZIndex-1,left:'0px',top:'0px'});q.resize(E.width,E.height,null,true);var F=z.getDocumentPosition();z.setStyles({left:-1*F.x+'px',top:-1*F.y+'px'});z.addClass('cke_maximized');}else if(this.state==1){t.removeListener('resize',x);var G=[A,z];for(var H=0;H<G.length;H++){o(G[H],G[H].getCustomData('maximize_saved_styles'));G[H].removeCustomData('maximize_saved_styles');}D=q.container;while(D=D.getParent()){o(D,D.getCustomData('maximize_saved_styles'));D.removeCustomData('maximize_saved_styles');}c?setTimeout(function(){t.$.scrollTo(w.x,w.y);},0):t.$.scrollTo(w.x,w.y);z.removeClass('cke_maximized');q.fire('resize');}this.toggleState();var I=this.uiItems[0],J=this.state==2?r.maximize:r.minimize,K=q.element.getDocument().getById(I._.id);K.getChild(1).setHtml(J);K.setAttribute('title',J);K.setAttribute('href','javascript:void("'+J+'");');if(q.mode=='wysiwyg'){if(u){q.getSelection().selectRanges(u);var L=q.getSelection().getStartElement();L&&L.scrollIntoView(true);}else t.$.scrollTo(v.x,v.y);}else{if(u){C.selectionStart=u[0];C.selectionEnd=u[1];}C.scrollLeft=v[0];C.scrollTop=v[1];}u=v=null;y=this.state;},canUndo:false});q.ui.addButton('Maximize',{label:r.maximize,command:'maximize'});q.on('mode',function(){q.getCommand('maximize').setState(y);},null,null,100);}});})();j.add('newpage',{init:function(l){l.addCommand('newpage',{modes:{wysiwyg:1,source:1},exec:function(m){var n=this;m.setData(m.config.newpage_html,function(){setTimeout(function(){m.fire('afterCommandExec',{name:n.name,command:n});},200);});m.focus();},async:true});l.ui.addButton('NewPage',{label:l.lang.newPage,command:'newpage'});}});i.newpage_html='';j.add('pagebreak',{init:function(l){l.addCommand('pagebreak',j.pagebreakCmd);l.ui.addButton('PageBreak',{label:l.lang.pagebreak,command:'pagebreak'});l.addCss('img.cke_pagebreak{background-image: url('+a.getUrl(this.path+'images/pagebreak.gif')+');'+'background-position: center center;'+'background-repeat: no-repeat;'+'clear: both;'+'display: block;'+'float: none;'+'width: 100%;'+'border-top: #999999 1px dotted;'+'border-bottom: #999999 1px dotted;'+'height: 5px;'+'page-break-after: always;'+'}'); +},afterInit:function(l){var m=l.dataProcessor,n=m&&m.dataFilter;if(n)n.addRules({elements:{div:function(o){var p=o.attributes,q=p&&p.style,r=q&&o.children.length==1&&o.children[0],s=r&&r.name=='span'&&r.attributes.style;if(s&&/page-break-after\s*:\s*always/i.test(q)&&/display\s*:\s*none/i.test(s))return l.createFakeParserElement(o,'cke_pagebreak','div');}}});},requires:['fakeobjects']});j.pagebreakCmd={exec:function(l){var m=h.createFromHtml('<div style="page-break-after: always;"><span style="display: none;">&nbsp;</span></div>');m=l.createFakeElement(m,'cke_pagebreak','div');var n=l.getSelection().getRanges();for(var o,p=0;p<n.length;p++){o=n[p];if(p>0)m=m.clone(true);o.splitBlock('p');o.insertNode(m);}}};(function(){j.add('pastefromword',{init:function(l){var m=0,n=function(){setTimeout(function(){m=0;},0);};l.addCommand('pastefromword',{canUndo:false,exec:function(){m=1;if(l.execCommand('paste')===false)l.on('dialogHide',function(o){o.removeListener();n();});}});l.ui.addButton('PasteFromWord',{label:l.lang.pastefromword.toolbar,command:'pastefromword'});l.on('paste',function(o){var p=o.data,q;if((q=p.html)&&(m||/(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/.test(q))){var r=this.loadFilterRules(function(){if(r)l.fire('paste',p);else if(!l.config.pasteFromWordPromptCleanup||m||confirm(l.lang.pastefromword.confirmCleanup))p.html=a.cleanWord(q,l);});r&&o.cancel();}},this);},loadFilterRules:function(l){var m=a.cleanWord;if(m)l();else{var n=a.getUrl(i.pasteFromWordCleanupFile||this.path+'filter/default.js');a.scriptLoader.load(n,l,null,false,true);}return!m;}});})();(function(){var l={exec:function(o){var p=e.tryThese(function(){var q=window.clipboardData.getData('Text');if(!q)throw 0;return q;},function(){window.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');var q=window.Components.classes['@mozilla.org/widget/clipboard;1'].getService(window.Components.interfaces.nsIClipboard),r=window.Components.classes['@mozilla.org/widget/transferable;1'].createInstance(window.Components.interfaces.nsITransferable);r.addDataFlavor('text/unicode');q.getData(r,q.kGlobalClipboard);var s={},t={},u;r.getTransferData('text/unicode',s,t);s=s.value.QueryInterface(window.Components.interfaces.nsISupportsString);u=s.data.substring(0,t.value/2);return u;});if(!p){o.openDialog('pastetext');return false;}else o.fire('paste',{text:p});return true;}};function m(o,p){if(c){var q=o.selection;if(q.type=='Control')q.clear();q.createRange().pasteHTML(p);}else o.execCommand('inserthtml',false,p); +};j.add('pastetext',{init:function(o){var p='pastetext',q=o.addCommand(p,l);o.ui.addButton('PasteText',{label:o.lang.pasteText.button,command:p});a.dialog.add(p,a.getUrl(this.path+'dialogs/pastetext.js'));if(o.config.forcePasteAsPlainText)o.on('beforeCommandExec',function(r){if(r.data.name=='paste'){o.execCommand('pastetext');r.cancel();}},null,null,0);},requires:['clipboard']});function n(o,p,q,r){while(q--)j.enterkey[p==2?'enterBr':'enterBlock'](o,p,null,r);};a.editor.prototype.insertText=function(o){this.focus();this.fire('saveSnapshot');var p=this.getSelection().getStartElement().hasAscendant('pre',true)?2:this.config.enterMode,q=p==2,r=this.document.$,s=this,t;o=e.htmlEncode(o.replace(/\r\n|\r/g,'\n'));var u=0;o.replace(/\n+/g,function(v,w){t=o.substring(u,w);u=w+v.length;t.length&&m(r,t);var x=v.length,y=q?0:Math.floor(x/2),z=q?x:x%2;n(s,p,y);n(s,2,z,q?false:true);});t=o.substring(u,o.length);t.length&&m(r,t);this.fire('saveSnapshot');};})();j.add('popup');e.extend(a.editor.prototype,{popup:function(l,m,n){m=m||'80%';n=n||'70%';if(typeof m=='string'&&m.length>1&&m.substr(m.length-1,1)=='%')m=parseInt(window.screen.width*parseInt(m,10)/100,10);if(typeof n=='string'&&n.length>1&&n.substr(n.length-1,1)=='%')n=parseInt(window.screen.height*parseInt(n,10)/100,10);if(m<640)m=640;if(n<420)n=420;var o=parseInt((window.screen.height-n)/2,10),p=parseInt((window.screen.width-m)/2,10),q='location=no,menubar=no,toolbar=no,dependent=yes,minimizable=no,modal=yes,alwaysRaised=yes,resizable=yes,width='+m+',height='+n+',top='+o+',left='+p,r=window.open('',null,q,true);if(!r)return false;try{r.moveTo(p,o);r.resizeTo(m,n);r.focus();r.location.href=l;}catch(s){r=window.open(l,null,q,true);}return true;}});(function(){var l={modes:{wysiwyg:1,source:1},canUndo:false,exec:function(n){var o,p=n.config,q=p.baseHref?'<base href="'+p.baseHref+'"/>':'',r=b.isCustomDomain();if(p.fullPage)o=n.getData().replace(/<head>/,'$&'+q).replace(/[^>]*(?=<\/title>)/,n.lang.preview);else{var s='<body ',t=n.document&&n.document.getBody();if(t){if(t.getAttribute('id'))s+='id="'+t.getAttribute('id')+'" ';if(t.getAttribute('class'))s+='class="'+t.getAttribute('class')+'" ';}s+='>';o=n.config.docType+'<html dir="'+n.config.contentsLangDirection+'">'+'<head>'+q+'<title>'+n.lang.preview+'</title>'+e.buildStyleHtml(n.config.contentsCss)+'</head>'+s+n.getData()+'</body></html>';}var u=640,v=420,w=80;try{var x=window.screen;u=Math.round(x.width*0.8);v=Math.round(x.height*0.7);w=Math.round(x.width*0.1);}catch(A){}var y=''; +if(r){window._cke_htmlToLoad=o;y='javascript:void( (function(){document.open();document.domain="'+document.domain+'";'+'document.write( window.opener._cke_htmlToLoad );'+'document.close();'+'window.opener._cke_htmlToLoad = null;'+'})() )';}var z=window.open(y,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+u+',height='+v+',left='+w);if(!r){z.document.open();z.document.write(o);z.document.close();}}},m='preview';j.add(m,{init:function(n){n.addCommand(m,l);n.ui.addButton('Preview',{label:n.lang.preview,command:m});}});})();j.add('print',{init:function(l){var m='print',n=l.addCommand(m,j.print);l.ui.addButton('Print',{label:l.lang.print,command:m});}});j.print={exec:function(l){if(b.opera)return;else if(b.gecko)l.window.$.print();else l.document.$.execCommand('Print');},canUndo:false,modes:{wysiwyg:!b.opera}};j.add('removeformat',{requires:['selection'],init:function(l){l.addCommand('removeFormat',j.removeformat.commands.removeformat);l.ui.addButton('RemoveFormat',{label:l.lang.removeFormat,command:'removeFormat'});}});j.removeformat={commands:{removeformat:{exec:function(l){var m=l._.removeFormatRegex||(l._.removeFormatRegex=new RegExp('^(?:'+l.config.removeFormatTags.replace(/,/g,'|')+')$','i')),n=l._.removeAttributes||(l._.removeAttributes=l.config.removeFormatAttributes.split(',')),o=l.getSelection().getRanges();for(var p=0,q;q=o[p];p++){if(q.collapsed)continue;q.enlarge(1);var r=q.createBookmark(),s=r.startNode,t=r.endNode,u=function(x){var y=new d.elementPath(x),z=y.elements;for(var A=1,B;B=z[A];A++){if(B.equals(y.block)||B.equals(y.blockLimit))break;if(m.test(B.getName()))x.breakParent(B);}};u(s);u(t);var v=s.getNextSourceNode(true,1);while(v){if(v.equals(t))break;var w=v.getNextSourceNode(false,1);if(!(v.getName()=='img'&&v.getAttribute('_cke_realelement')))if(m.test(v.getName()))v.remove(true);else v.removeAttributes(n);v=w;}q.moveToBookmark(r);}l.getSelection().selectRanges(o);}}}};i.removeFormatTags='b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var';i.removeFormatAttributes='class,style,lang,width,height,align,hspace,valign';j.add('resize',{init:function(l){var m=l.config;if(m.resize_enabled){var n=null,o,p;function q(t){var u=t.data.$.screenX-o.x,v=t.data.$.screenY-o.y,w=p.width+u*(l.lang.dir=='rtl'?-1:1),x=p.height+v;l.resize(Math.max(m.resize_minWidth,Math.min(w,m.resize_maxWidth)),Math.max(m.resize_minHeight,Math.min(x,m.resize_maxHeight)));};function r(t){a.document.removeListener('mousemove',q); +a.document.removeListener('mouseup',r);if(l.document){l.document.removeListener('mousemove',q);l.document.removeListener('mouseup',r);}};var s=e.addFunction(function(t){if(!n)n=l.getResizable();p={width:n.$.offsetWidth||0,height:n.$.offsetHeight||0};o={x:t.screenX,y:t.screenY};a.document.on('mousemove',q);a.document.on('mouseup',r);if(l.document){l.document.on('mousemove',q);l.document.on('mouseup',r);}});l.on('themeSpace',function(t){if(t.data.space=='bottom')t.data.html+='<div class="cke_resizer" title="'+e.htmlEncode(l.lang.resize)+'"'+' onmousedown="CKEDITOR.tools.callFunction('+s+', event)"'+'></div>';},l,null,100);}}});i.resize_minWidth=750;i.resize_minHeight=250;i.resize_maxWidth=3000;i.resize_maxHeight=3000;i.resize_enabled=true;(function(){var l={modes:{wysiwyg:1,source:1},exec:function(n){var o=n.element.$.form;if(o)try{o.submit();}catch(p){if(o.submit.click)o.submit.click();}}},m='save';j.add(m,{init:function(n){var o=n.addCommand(m,l);o.modes={wysiwyg:!!n.element.$.form};n.ui.addButton('Save',{label:n.lang.save,command:m});}});})();(function(){var l='scaytcheck',m='',n=null;function o(t,u){var v=false,w;for(w in u){if(u[w]===t||u[w]==t){v=true;break;}}return v;};var p=function(){var t=this,u=function(){var x={};x.srcNodeRef=t.document.getWindow().$.frameElement;x.assocApp='CKEDITOR.'+a.version+'@'+a.revision;x.customerid=t.config.scayt_customerid||'1:WvF0D4-UtPqN1-43nkD4-NKvUm2-daQqk3-LmNiI-z7Ysb4-mwry24-T8YrS3-Q2tpq2';x.customDictionaryIds=t.config.scayt_customDictionaryIds;x.userDictionaryName=t.config.scayt_userDictionaryName;x.sLang=t.config.scayt_sLang||'en_US';if(a._scaytParams)for(var y in a._scaytParams)x[y]=a._scaytParams[y];var z=new window.scayt(x),A=q.instances[t.name];if(A){z.sLang=A.sLang;z.option(A.option());z.paused=A.paused;}q.instances[t.name]=z;var B='scaytButton',C=window.scayt.uiTags,D=[];for(var E=0,F=4;E<F;E++)D.push(C[E]&&q.uiTabs[E]);q.uiTabs=D;try{z.setDisabled(n===false);}catch(G){}t.fire('showScaytState');};t.on('contentDom',u);t.on('contentDomUnload',function(){var x=a.document.getElementsByTag('script'),y=/^dojoIoScript(\d+)$/i,z=/^https?:\/\/svc\.spellchecker\.net\/spellcheck\/script\/ssrv\.cgi/i;for(var A=0;A<x.count();A++){var B=x.getItem(A),C=B.getId(),D=B.getAttribute('src');if(C&&D&&C.match(y)&&D.match(z))B.remove();}});t.on('beforeCommandExec',function(x){if((x.data.name=='source'||x.data.name=='newpage')&&t.mode=='wysiwyg'){var y=q.getScayt(t);if(y){n=y.paused=!y.disabled;y.destroy();delete q.instances[t.name]; +}}});t.on('destroy',function(){q.getScayt(t).destroy();});t.on('afterSetData',function(){if(q.isScaytEnabled(t))q.getScayt(t).refresh();});t.on('insertElement',function(){var x=q.getScayt(t);if(q.isScaytEnabled(t)){if(c)t.getSelection().unlock(true);try{x.refresh();}catch(y){}}},this,null,50);t.on('insertHtml',function(){var x=q.getScayt(t);if(q.isScaytEnabled(t)){if(c)t.getSelection().unlock(true);try{x.refresh();}catch(y){}}},this,null,50);t.on('scaytDialog',function(x){x.data.djConfig=window.djConfig;x.data.scayt_control=q.getScayt(t);x.data.tab=m;x.data.scayt=window.scayt;});var v=t.dataProcessor,w=v&&v.htmlFilter;if(w)w.addRules({elements:{span:function(x){if(x.attributes.scayt_word&&x.attributes.scaytid){delete x.name;return x;}}}});if(t.document)u();};j.scayt={engineLoaded:false,instances:{},getScayt:function(t){return this.instances[t.name];},isScaytReady:function(t){return this.engineLoaded===true&&'undefined'!==typeof window.scayt&&this.getScayt(t);},isScaytEnabled:function(t){var u=this.getScayt(t);return u?u.disabled===false:false;},loadEngine:function(t){if(this.engineLoaded===true)return p.apply(t);else if(this.engineLoaded==-1)return a.on('scaytReady',function(){p.apply(t);});a.on('scaytReady',p,t);a.on('scaytReady',function(){this.engineLoaded=true;},this,null,0);this.engineLoaded=-1;var u=document.location.protocol;u=u.search(/https?:/)!=-1?u:'http:';var v='svc.spellchecker.net/spellcheck3/lf/scayt/scayt21.js',w=t.config.scayt_srcUrl||u+'//'+v,x=q.parseUrl(w).path+'/';a._djScaytConfig={baseUrl:x,addOnLoad:[function(){a.fireOnce('scaytReady');}],isDebug:false};a.document.getHead().append(a.document.createElement('script',{attributes:{type:'text/javascript',src:w}}));return null;},parseUrl:function(t){var u;if(t.match&&(u=t.match(/(.*)[\/\\](.*?\.\w+)$/)))return{path:u[1],file:u[2]};else return t;}};var q=j.scayt,r=function(t,u,v,w,x,y,z){t.addCommand(w,x);t.addMenuItem(w,{label:v,command:w,group:y,order:z});},s={preserveState:true,editorFocus:false,exec:function(t){if(q.isScaytReady(t)){var u=q.isScaytEnabled(t);this.setState(u?2:1);var v=q.getScayt(t);v.setDisabled(u);}else if(!t.config.scayt_autoStartup&&q.engineLoaded>=0){this.setState(0);t.on('showScaytState',function(){this.removeListener();this.setState(q.isScaytEnabled(t)?1:2);},this);q.loadEngine(t);}}};j.add('scayt',{requires:['menubutton'],beforeInit:function(t){t.config.menu_groups='scayt_suggest,scayt_moresuggest,scayt_control,'+t.config.menu_groups;},init:function(t){var u={},v={},w=t.addCommand(l,s); +a.dialog.add(l,a.getUrl(this.path+'dialogs/options.js'));var x=t.config.scayt_uiTabs||'1,1,1',y=[];x=x.split(',');for(var z=0,A=3;z<A;z++){var B=parseInt(x[z]||'1',10);y.push(B);}var C='scaytButton';t.addMenuGroup(C);var D={};D.scaytToggle={label:t.lang.scayt.enable,command:l,group:C};if(y[0]==1)D.scaytOptions={label:t.lang.scayt.options,group:C,onClick:function(){m='options';t.openDialog(l);}};if(y[1]==1)D.scaytLangs={label:t.lang.scayt.langs,group:C,onClick:function(){m='langs';t.openDialog(l);}};if(y[2]==1)D.scaytDict={label:t.lang.scayt.dictionariesTab,group:C,onClick:function(){m='dictionaries';t.openDialog(l);}};D.scaytAbout={label:t.lang.scayt.about,group:C,onClick:function(){m='about';t.openDialog(l);}};y[3]=1;q.uiTabs=y;t.addMenuItems(D);t.ui.add('Scayt',5,{label:t.lang.scayt.title,title:t.lang.scayt.title,className:'cke_button_scayt',onRender:function(){w.on('state',function(){this.setState(w.state);},this);},onMenu:function(){var F=q.isScaytEnabled(t);t.getMenuItem('scaytToggle').label=t.lang.scayt[F?'disable':'enable'];return{scaytToggle:2,scaytOptions:F&&q.uiTabs[0]?2:0,scaytLangs:F&&q.uiTabs[1]?2:0,scaytDict:F&&q.uiTabs[2]?2:0,scaytAbout:F&&q.uiTabs[3]?2:0};}});if(t.contextMenu&&t.addMenuItems)t.contextMenu.addListener(function(F){if(!(q.isScaytEnabled(t)&&F))return null;var G=q.getScayt(t),H=G.getWord(F.$);if(!H)return null;var I=G.getLang(),J={},K=window.scayt.getSuggestion(H,I);if(!K||!K.length)return null;for(z in u){delete t._.menuItems[z];delete t._.commands[z];}for(z in v){delete t._.menuItems[z];delete t._.commands[z];}u={};v={};var L=t.config.scayt_moreSuggestions||'on',M=false,N=t.config.scayt_maxSuggestions;typeof N!='number'&&(N=5);!N&&(N=K.length);var O=t.config.scayt_contextCommands||'all';O=O.split('|');for(var P=0,Q=K.length;P<Q;P+=1){var R='scayt_suggestion_'+K[P].replace(' ','_'),S=(function(W,X){return{exec:function(){G.replace(W,X);}};})(F.$,K[P]);if(P<N){r(t,'button_'+R,K[P],R,S,'scayt_suggest',P+1);J[R]=2;v[R]=2;}else if(L=='on'){r(t,'button_'+R,K[P],R,S,'scayt_moresuggest',P+1);u[R]=2;M=true;}}if(M){t.addMenuItem('scayt_moresuggest',{label:t.lang.scayt.moreSuggestions,group:'scayt_moresuggest',order:10,getItems:function(){return u;}});v.scayt_moresuggest=2;}if(o('all',O)||o('ignore',O)){var T={exec:function(){G.ignore(F.$);}};r(t,'ignore',t.lang.scayt.ignore,'scayt_ignore',T,'scayt_control',1);v.scayt_ignore=2;}if(o('all',O)||o('ignoreall',O)){var U={exec:function(){G.ignoreAll(F.$);}};r(t,'ignore_all',t.lang.scayt.ignoreAll,'scayt_ignore_all',U,'scayt_control',2); +v.scayt_ignore_all=2;}if(o('all',O)||o('add',O)){var V={exec:function(){window.scayt.addWordToUserDictionary(F.$);}};r(t,'add_word',t.lang.scayt.addWord,'scayt_add_word',V,'scayt_control',3);v.scayt_add_word=2;}if(G.fireOnContextMenu)G.fireOnContextMenu(t);return v;});if(t.config.scayt_autoStartup){var E=function(){t.removeListener('showScaytState',E);w.setState(q.isScaytEnabled(t)?1:2);};t.on('showScaytState',E);q.loadEngine(t);}}});})();j.add('smiley',{requires:['dialog'],init:function(l){l.addCommand('smiley',new a.dialogCommand('smiley'));l.ui.addButton('Smiley',{label:l.lang.smiley.toolbar,command:'smiley'});a.dialog.add('smiley',this.path+'dialogs/smiley.js');}});i.smiley_path=a.basePath+'plugins/smiley/images/';i.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'];i.smiley_descriptions=['smiley','sad','wink','laugh','frown','cheeky','blush','surprise','indecision','angry','angle','cool','devil','crying','enlightened','no','yes','heart','broken heart','kiss','mail'];(function(){var l='.%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;border: 1px dotted gray;padding-top: 8px;padding-left: 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);}',m=/%1/g,n=/%2/g,o={preserveState:true,editorFocus:false,exec:function(p){this.toggleState();this.refresh(p);},refresh:function(p){var q=this.state==1?'addClass':'removeClass';p.document.getBody()[q]('cke_show_blocks');}};j.add('showblocks',{requires:['wysiwygarea'],init:function(p){var q=p.addCommand('showblocks',o);q.canUndo=false;if(p.config.startupOutlineBlocks)q.setState(1);p.addCss(l.replace(m,'background-image: url('+a.getUrl(this.path)+'images/block_').replace(n,'cke_show_blocks '));p.ui.addButton('ShowBlocks',{label:p.lang.showBlocks,command:'showblocks'});p.on('mode',function(){if(q.state!=0)q.refresh(p);});p.on('contentDom',function(){if(q.state!=0)q.refresh(p);});}});})();i.startupOutlineBlocks=false;(function(){var l='cke_show_border',m,n=(b.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(''); +m=n.replace(/%2/g,l).replace(/%1/g,'cke_show_borders ');var o={preserveState:true,editorFocus:false,exec:function(p){this.toggleState();this.refresh(p);},refresh:function(p){var q=this.state==1?'addClass':'removeClass';p.document.getBody()[q]('cke_show_borders');}};j.add('showborders',{requires:['wysiwygarea'],modes:{wysiwyg:1},init:function(p){var q=p.addCommand('showborders',o);q.canUndo=false;if(p.config.startupShowBorders!==false)q.setState(1);p.addCss(m);p.on('mode',function(){if(q.state!=0)q.refresh(p);},null,null,100);p.on('contentDom',function(){if(q.state!=0)q.refresh(p);});},afterInit:function(p){var q=p.dataProcessor,r=q&&q.dataFilter,s=q&&q.htmlFilter;if(r)r.addRules({elements:{table:function(t){var u=t.attributes,v=u['class'],w=parseInt(u.border,10);if(!w||w<=0)u['class']=(v||'')+' '+l;}}});if(s)s.addRules({elements:{table:function(t){var u=t.attributes,v=u['class'];v&&(u['class']=v.replace(l,'').replace(/\s{2}/,' ').replace(/^\s+|\s+$/,''));}}});a.on('dialogDefinition',function(t){if(t.editor!=p)return;var u=t.data.name;if(u=='table'||u=='tableProperties'){var v=t.data.definition,w=v.getContents('info'),x=w.get('txtBorder'),y=x.commit;x.commit=e.override(y,function(z){return function(A,B){z.apply(this,arguments);var C=parseInt(this.getValue(),10);B[!C||C<=0?'addClass':'removeClass'](l);};});}});}});})();j.add('sourcearea',{requires:['editingblock'],init:function(l){var m=j.sourcearea,n=a.document.getWindow();l.on('editingBlockReady',function(){var o,p;l.addMode('source',{load:function(q,r){if(c&&b.version<8)q.setStyle('position','relative');l.textarea=o=new h('textarea');o.setAttributes({dir:'ltr',tabIndex:l.tabIndex,role:'textbox','aria-label':l.lang.editorTitle.replace('%1',l.name)});o.addClass('cke_source');o.addClass('cke_enable_context_menu');var s={width:b.ie7Compat?'99%':'100%',height:'100%',resize:'none',outline:'none','text-align':'left'};if(c){p=function(){o.hide();o.setStyle('height',q.$.clientHeight+'px');o.setStyle('width',q.$.clientWidth+'px');o.show();};l.on('resize',p);n.on('resize',p);setTimeout(p,0);}else o.on('mousedown',function(u){u.data.stopPropagation();});q.setHtml('');q.append(o);o.setStyles(s);l.fire('ariaWidget',o);o.on('blur',function(){l.focusManager.blur();});o.on('focus',function(){l.focusManager.focus();});l.mayBeDirty=true;this.loadData(r);var t=l.keystrokeHandler;if(t)t.attach(o);setTimeout(function(){l.mode='source';l.fire('mode');},b.gecko||b.webkit?100:0);},loadData:function(q){o.setValue(q);l.fire('dataReady'); +},getData:function(){return o.getValue();},getSnapshotData:function(){return o.getValue();},unload:function(q){l.textarea=o=null;if(p){l.removeListener('resize',p);n.removeListener('resize',p);}if(c&&b.version<8)q.removeStyle('position');},focus:function(){o.focus();}});});l.addCommand('source',m.commands.source);if(l.ui.addButton)l.ui.addButton('Source',{label:l.lang.source,command:'source'});l.on('mode',function(){l.getCommand('source').setState(l.mode=='source'?1:2);});}});j.sourcearea={commands:{source:{modes:{wysiwyg:1,source:1},exec:function(l){if(l.mode=='wysiwyg')l.fire('saveSnapshot');l.getCommand('source').setState(0);l.setMode(l.mode=='source'?'wysiwyg':'source');},canUndo:false}}};(function(){var l;j.add('stylescombo',{requires:['richcombo','styles'],init:function(o){var p=o.config,q=o.lang.stylesCombo,r=this.path,s;if(!l)l=a.stylesSet;var t=p.stylesCombo_stylesSet.split(':'),u=t[0],v=t[1];l.addExternal(u,v?t.slice(1).join(':'):r+'styles/'+u+'.js','');o.ui.addRichCombo('Styles',{label:q.label,title:q.panelTitle,className:'cke_styles',panel:{css:o.skin.editor.css.concat(p.contentsCss),multiSelect:true,attributes:{'aria-label':q.panelTitle}},init:function(){var w=this;a.stylesSet.load(u,function(x){var y=x[u],z,A,B=[];s={};for(var C=0;C<y.length;C++){var D=y[C];A=D.name;z=s[A]=new a.style(D);z._name=A;B.push(z);}B.sort(n);var E;for(C=0;C<B.length;C++){z=B[C];A=z._name;var F=z.type;if(F!=E){w.startGroup(q['panelTitle'+String(F)]);E=F;}w.add(A,z.type==3?A:m(z._.definition),A);}w.commit();w.onOpen();});},onClick:function(w){o.focus();o.fire('saveSnapshot');var x=s[w],y=o.getSelection();if(x.type==3){var z=y.getSelectedElement();if(z)x.applyToObject(z);return;}var A=new d.elementPath(y.getStartElement());if(x.type==2&&x.checkActive(A))x.remove(o.document);else x.apply(o.document);o.fire('saveSnapshot');},onRender:function(){o.on('selectionChange',function(w){var x=this.getValue(),y=w.data.path,z=y.elements;for(var A=0,B;A<z.length;A++){B=z[A];for(var C in s){if(s[C].checkElementRemovable(B,true)){if(C!=x)this.setValue(C);return;}}}this.setValue('');},this);},onOpen:function(){var E=this;if(c)o.focus();var w=o.getSelection(),x=w.getSelectedElement(),y=x&&x.getName(),z=new d.elementPath(x||w.getStartElement()),A=[0,0,0,0];E.showAll();E.unmarkAll();for(var B in s){var C=s[B],D=C.type;if(D==3){if(x&&C.element==y){if(C.checkElementRemovable(x,true))E.mark(B);A[D]++;}else E.hideItem(B);}else{if(C.checkActive(z))E.mark(B);A[D]++;}}if(!A[1])E.hideGroup(q['panelTitle'+String(1)]); +if(!A[2])E.hideGroup(q['panelTitle'+String(2)]);if(!A[3])E.hideGroup(q['panelTitle'+String(3)]);}});}});function m(o){var p=[],q=o.element;if(q=='bdo')q='span';p=['<',q];var r=o.attributes;if(r)for(var s in r)p.push(' ',s,'="',r[s],'"');var t=a.style.getStyleText(o);if(t)p.push(' style="',t,'"');p.push('>',o.name,'</',q,'>');return p.join('');};function n(o,p){var q=o.type,r=p.type;return q==r?0:q==3?-1:r==3?1:r==1?1:-1;};})();i.stylesCombo_stylesSet='default';j.add('table',{init:function(l){var m=j.table,n=l.lang.table;l.addCommand('table',new a.dialogCommand('table'));l.addCommand('tableProperties',new a.dialogCommand('tableProperties'));l.ui.addButton('Table',{label:n.toolbar,command:'table'});a.dialog.add('table',this.path+'dialogs/table.js');a.dialog.add('tableProperties',this.path+'dialogs/table.js');if(l.addMenuItems)l.addMenuItems({table:{label:n.menu,command:'tableProperties',group:'table',order:5},tabledelete:{label:n.deleteTable,command:'tableDelete',group:'table',order:1}});if(l.contextMenu)l.contextMenu.addListener(function(o,p){if(!o)return null;var q=o.is('table')||o.hasAscendant('table');if(q)return{tabledelete:2,table:2};return null;});}});(function(){function l(E,F){if(c)E.removeAttribute(F);else delete E[F];};var m=/^(?:td|th)$/;function n(E){var F=E.createBookmarks(),G=E.getRanges(),H=[],I={};function J(R){if(H.length>0)return;if(R.type==1&&m.test(R.getName())&&!R.getCustomData('selected_cell')){h.setMarker(I,R,'selected_cell',true);H.push(R);}};for(var K=0;K<G.length;K++){var L=G[K];if(L.collapsed){var M=L.getCommonAncestor(),N=M.getAscendant('td',true)||M.getAscendant('th',true);if(N)H.push(N);}else{var O=new d.walker(L),P;O.guard=J;while(P=O.next()){var Q=P.getParent();if(Q&&m.test(Q.getName())&&!Q.getCustomData('selected_cell')){h.setMarker(I,Q,'selected_cell',true);H.push(Q);}}}}h.clearAllMarkers(I);E.selectBookmarks(F);return H;};function o(E){var F=E.cells;for(var G=0;G<F.length;G++){F[G].innerHTML='';if(!c)new h(F[G]).appendBogus();}};function p(E,F){var G=E.getStartElement().getAscendant('tr');if(!G)return;var H=G.clone(true);H.insertBefore(G);o(F?H.$:G.$);};function q(E){if(E instanceof d.selection){var F=n(E),G=F.length,H=[],I,J,K;for(var L=0;L<G;L++){var M=F[L].getParent(),N=M.$.rowIndex;!L&&(J=N-1);H[N]=M;L==G-1&&(K=N+1);}var O=M.getAscendant('table'),P=O.$.rows,Q=P.length;I=new h(K<Q&&O.$.rows[K]||J>0&&O.$.rows[J]||O.$.parentNode);for(L=H.length;L>=0;L--){if(H[L])q(H[L]);}return I;}else if(E instanceof h){O=E.getAscendant('table'); +if(O.$.rows.length==1)O.remove();else E.remove();}return 0;};function r(E,F){var G=E.getStartElement(),H=G.getAscendant('td',true)||G.getAscendant('th',true);if(!H)return;var I=H.getAscendant('table'),J=H.$.cellIndex;for(var K=0;K<I.$.rows.length;K++){var L=I.$.rows[K];if(L.cells.length<J+1)continue;H=new h(L.cells[J].cloneNode(false));if(!c)H.appendBogus();var M=new h(L.cells[J]);if(F)H.insertBefore(M);else H.insertAfter(M);}};function s(E){if(E instanceof d.selection){var F=n(E);for(var G=F.length;G>=0;G--){if(F[G])s(F[G]);}}else if(E instanceof h){var H=E.getAscendant('table'),I=E.$.cellIndex;for(G=H.$.rows.length-1;G>=0;G--){var J=new h(H.$.rows[G]);if(!I&&J.$.cells.length==1){q(J);continue;}if(J.$.cells[I])J.$.removeChild(J.$.cells[I]);}}};function t(E,F){var G=E.getStartElement(),H=G.getAscendant('td',true)||G.getAscendant('th',true);if(!H)return;var I=H.clone();if(!c)I.appendBogus();if(F)I.insertBefore(H);else I.insertAfter(H);};function u(E){if(E instanceof d.selection){var F=n(E);for(var G=F.length-1;G>=0;G--)u(F[G]);}else if(E instanceof h)if(E.getParent().getChildCount()==1)E.getParent().remove();else E.remove();};function v(E){var F=E.getBogus();F&&F.remove();E.trim();};function w(E,F){var G=new d.range(E.getDocument());if(!G['moveToElementEdit'+(F?'End':'Start')](E)){G.selectNodeContents(E);G.collapse(F?false:true);}G.select(true);};function x(E){var F=E.$.rows,G=-1,H=[];for(var I=0;I<F.length;I++){G++;!H[G]&&(H[G]=[]);var J=-1;for(var K=0;K<F[I].cells.length;K++){var L=F[I].cells[K];J++;while(H[G][J])J++;var M=isNaN(L.colSpan)?1:L.colSpan,N=isNaN(L.rowSpan)?1:L.rowSpan;for(var O=0;O<N;O++){if(!H[G+O])H[G+O]=[];for(var P=0;P<M;P++)H[G+O][J+P]=F[I].cells[K];}J+=M-1;}}return H;};function y(E,F,G){var H=E[F];if(typeof G=='undefined')return H;for(var I=0;H&&I<H.length;I++){if(G.is&&H[I]==G.$)return I;else if(I==G)return new h(H[I]);}return G.is?-1:null;};function z(E,F,G){var H=[];for(var I=0;I<E.length;I++){var J=E[I];if(typeof G=='undefined')H.push(J[F]);else if(G.is&&J[F]==G.$)return I;else if(I==G)return new h(J[F]);}return typeof G=='undefined'?H:G.is?-1:null;};function A(E,F,G){var H=n(E),I;if((F?H.length!=1:H.length<2)||(I=E.getCommonAncestor())&&I.type==1&&I.is('table'))return false;var J,K=H[0],L=K.getAscendant('table'),M=x(L),N=M.length,O=M[0].length,P=K.getParent().$.rowIndex,Q=y(M,P,K);if(F){var R;try{R=M[F=='up'?P-1:F=='down'?P+1:P][F=='left'?Q-1:F=='right'?Q+1:Q];}catch(aj){return false;}if(!R||K.$==R)return false;H[F=='up'||F=='left'?'unshift':'push'](new h(R)); +}var S=K.getDocument(),T=P,U=0,V=0,W=!G&&new d.documentFragment(S),X=0;for(var Y=0;Y<H.length;Y++){J=H[Y];var Z=J.getParent(),aa=J.getFirst(),ab=J.$.colSpan,ac=J.$.rowSpan,ad=Z.$.rowIndex,ae=y(M,ad,J);X+=ab*ac;V=Math.max(V,ae-Q+ab);U=Math.max(U,ad-P+ac);if(!G){if(v(J),J.getChildren().count()){if(ad!=T&&aa&&!(aa.isBlockBoundary&&aa.isBlockBoundary({br:1}))){var af=W.getLast(d.walker.whitespaces(true));if(af&&!(af.is&&af.is('br')))W.append(new h('br'));}J.moveChildren(W);}Y?J.remove():J.setHtml('');}T=ad;}if(!G){W.moveChildren(K);if(!c)K.appendBogus();if(V>=O)K.removeAttribute('rowSpan');else K.$.rowSpan=U;if(U>=N)K.removeAttribute('colSpan');else K.$.colSpan=V;var ag=new d.nodeList(L.$.rows),ah=ag.count();for(Y=ah-1;Y>=0;Y--){var ai=ag.getItem(Y);if(!ai.$.cells.length){ai.remove();ah++;continue;}}return K;}else return U*V==X;};function B(E,F){var G=n(E);if(G.length>1)return false;else if(F)return true;var H=G[0],I=H.getParent(),J=I.getAscendant('table'),K=x(J),L=I.$.rowIndex,M=y(K,L,H),N=H.$.rowSpan,O,P,Q,R;if(N>1){P=Math.ceil(N/2);Q=Math.floor(N/2);R=L+P;var S=new h(J.$.rows[R]),T=y(K,R),U;O=H.clone();for(var V=0;V<T.length;V++){U=T[V];if(U.parentNode==S.$&&V>M){O.insertBefore(new h(U));break;}else U=null;}if(!U)S.append(O,true);}else{Q=P=1;S=I.clone();S.insertAfter(I);S.append(O=H.clone());var W=y(K,L);for(var X=0;X<W.length;X++)W[X].rowSpan++;}if(!c)O.appendBogus();H.$.rowSpan=P;O.$.rowSpan=Q;if(P==1)H.removeAttribute('rowSpan');if(Q==1)O.removeAttribute('rowSpan');return O;};function C(E,F){var G=n(E);if(G.length>1)return false;else if(F)return true;var H=G[0],I=H.getParent(),J=I.getAscendant('table'),K=x(J),L=I.$.rowIndex,M=y(K,L,H),N=H.$.colSpan,O,P,Q;if(N>1){P=Math.ceil(N/2);Q=Math.floor(N/2);}else{Q=P=1;var R=z(K,M);for(var S=0;S<R.length;S++)R[S].colSpan++;}O=H.clone();O.insertAfter(H);if(!c)O.appendBogus();H.$.colSpan=P;O.$.colSpan=Q;if(P==1)H.removeAttribute('colSpan');if(Q==1)O.removeAttribute('colSpan');return O;};var D={thead:1,tbody:1,tfoot:1,td:1,tr:1,th:1};j.tabletools={init:function(E){var F=E.lang.table;E.addCommand('cellProperties',new a.dialogCommand('cellProperties'));a.dialog.add('cellProperties',this.path+'dialogs/tableCell.js');E.addCommand('tableDelete',{exec:function(G){var H=G.getSelection(),I=H&&H.getStartElement(),J=I&&I.getAscendant('table',true);if(!J)return;H.selectElement(J);var K=H.getRanges()[0];K.collapse();H.selectRanges([K]);if(J.getParent().getChildCount()==1)J.getParent().remove();else J.remove();}});E.addCommand('rowDelete',{exec:function(G){var H=G.getSelection(); +w(q(H));}});E.addCommand('rowInsertBefore',{exec:function(G){var H=G.getSelection();p(H,true);}});E.addCommand('rowInsertAfter',{exec:function(G){var H=G.getSelection();p(H);}});E.addCommand('columnDelete',{exec:function(G){var H=G.getSelection();s(H);}});E.addCommand('columnInsertBefore',{exec:function(G){var H=G.getSelection();r(H,true);}});E.addCommand('columnInsertAfter',{exec:function(G){var H=G.getSelection();r(H);}});E.addCommand('cellDelete',{exec:function(G){var H=G.getSelection();u(H);}});E.addCommand('cellMerge',{exec:function(G){w(A(G.getSelection()),true);}});E.addCommand('cellMergeRight',{exec:function(G){w(A(G.getSelection(),'right'),true);}});E.addCommand('cellMergeDown',{exec:function(G){w(A(G.getSelection(),'down'),true);}});E.addCommand('cellVerticalSplit',{exec:function(G){w(B(G.getSelection()));}});E.addCommand('cellHorizontalSplit',{exec:function(G){w(C(G.getSelection()));}});E.addCommand('cellInsertBefore',{exec:function(G){var H=G.getSelection();t(H,true);}});E.addCommand('cellInsertAfter',{exec:function(G){var H=G.getSelection();t(H);}});if(E.addMenuItems)E.addMenuItems({tablecell:{label:F.cell.menu,group:'tablecell',order:1,getItems:function(){var G=E.getSelection(),H=n(G);return{tablecell_insertBefore:2,tablecell_insertAfter:2,tablecell_delete:2,tablecell_merge:A(G,null,true)?2:0,tablecell_merge_right:A(G,'right',true)?2:0,tablecell_merge_down:A(G,'down',true)?2:0,tablecell_split_vertical:B(G,true)?2:0,tablecell_split_horizontal:C(G,true)?2:0,tablecell_properties:H.length>0?2:0};}},tablecell_insertBefore:{label:F.cell.insertBefore,group:'tablecell',command:'cellInsertBefore',order:5},tablecell_insertAfter:{label:F.cell.insertAfter,group:'tablecell',command:'cellInsertAfter',order:10},tablecell_delete:{label:F.cell.deleteCell,group:'tablecell',command:'cellDelete',order:15},tablecell_merge:{label:F.cell.merge,group:'tablecell',command:'cellMerge',order:16},tablecell_merge_right:{label:F.cell.mergeRight,group:'tablecell',command:'cellMergeRight',order:17},tablecell_merge_down:{label:F.cell.mergeDown,group:'tablecell',command:'cellMergeDown',order:18},tablecell_split_horizontal:{label:F.cell.splitHorizontal,group:'tablecell',command:'cellHorizontalSplit',order:19},tablecell_split_vertical:{label:F.cell.splitVertical,group:'tablecell',command:'cellVerticalSplit',order:20},tablecell_properties:{label:F.cell.title,group:'tablecellproperties',command:'cellProperties',order:21},tablerow:{label:F.row.menu,group:'tablerow',order:1,getItems:function(){return{tablerow_insertBefore:2,tablerow_insertAfter:2,tablerow_delete:2}; +}},tablerow_insertBefore:{label:F.row.insertBefore,group:'tablerow',command:'rowInsertBefore',order:5},tablerow_insertAfter:{label:F.row.insertAfter,group:'tablerow',command:'rowInsertAfter',order:10},tablerow_delete:{label:F.row.deleteRow,group:'tablerow',command:'rowDelete',order:15},tablecolumn:{label:F.column.menu,group:'tablecolumn',order:1,getItems:function(){return{tablecolumn_insertBefore:2,tablecolumn_insertAfter:2,tablecolumn_delete:2};}},tablecolumn_insertBefore:{label:F.column.insertBefore,group:'tablecolumn',command:'columnInsertBefore',order:5},tablecolumn_insertAfter:{label:F.column.insertAfter,group:'tablecolumn',command:'columnInsertAfter',order:10},tablecolumn_delete:{label:F.column.deleteColumn,group:'tablecolumn',command:'columnDelete',order:15}});if(E.contextMenu)E.contextMenu.addListener(function(G,H){if(!G)return null;while(G){if(G.getName() in D)return{tablecell:2,tablerow:2,tablecolumn:2};G=G.getParent();}return null;});},getSelectedCells:n};j.add('tabletools',j.tabletools);})();j.add('specialchar',{init:function(l){var m='specialchar';a.dialog.add(m,this.path+'dialogs/specialchar.js');l.addCommand(m,new a.dialogCommand(m));l.ui.addButton('SpecialChar',{label:l.lang.specialChar.toolbar,command:m});}});(function(){var l={editorFocus:false,modes:{wysiwyg:1,source:1}},m={exec:function(o){o.container.focusNext(true,o.tabIndex);}},n={exec:function(o){o.container.focusPrevious(true,o.tabIndex);}};j.add('tab',{requires:['keystrokes'],init:function(o){var p=o.config.tabSpaces||0,q='';while(p--)q+='\xa0';if(q)o.on('key',function(r){if(r.data.keyCode==9){o.insertHtml(q);r.cancel();}});if(b.webkit)o.on('key',function(r){var s=r.data.keyCode;if(s==9&&!q){r.cancel();o.execCommand('blur');}if(s==2000+9){o.execCommand('blurBack');r.cancel();}});o.addCommand('blur',e.extend(m,l));o.addCommand('blurBack',e.extend(n,l));}});})();h.prototype.focusNext=function(l,m){var v=this;var n=v.$,o=m===undefined?v.getTabIndex():m,p,q,r,s,t,u;if(o<=0){t=v.getNextSourceNode(l,1);while(t){if(t.isVisible()&&t.getTabIndex()===0){r=t;break;}t=t.getNextSourceNode(false,1);}}else{t=v.getDocument().getBody().getFirst();while(t=t.getNextSourceNode(false,1)){if(!p)if(!q&&t.equals(v)){q=true;if(l){if(!(t=t.getNextSourceNode(true,1)))break;p=1;}}else if(q&&!v.contains(t))p=1;if(!t.isVisible()||(u=t.getTabIndex())<0)continue;if(p&&u==o){r=t;break;}if(u>o&&(!r||!s||u<s)){r=t;s=u;}else if(!r&&u===0){r=t;s=u;}}}if(r)r.focus();};h.prototype.focusPrevious=function(l,m){var v=this; +var n=v.$,o=m===undefined?v.getTabIndex():m,p,q,r,s=0,t,u=v.getDocument().getBody().getLast();while(u=u.getPreviousSourceNode(false,1)){if(!p)if(!q&&u.equals(v)){q=true;if(l){if(!(u=u.getPreviousSourceNode(true,1)))break;p=1;}}else if(q&&!v.contains(u))p=1;if(!u.isVisible()||(t=u.getTabIndex())<0)continue;if(o<=0){if(p&&t===0){r=u;break;}if(t>s){r=u;s=t;}}else{if(p&&t==o){r=u;break;}if(t<o&&(!r||t>s)){r=u;s=t;}}}if(r)r.focus();};(function(){j.add('templates',{requires:['dialog'],init:function(n){a.dialog.add('templates',a.getUrl(this.path+'dialogs/templates.js'));n.addCommand('templates',new a.dialogCommand('templates'));n.ui.addButton('Templates',{label:n.lang.templates.button,command:'templates'});}});var l={},m={};a.addTemplates=function(n,o){l[n]=o;};a.getTemplates=function(n){return l[n];};a.loadTemplates=function(n,o){var p=[];for(var q=0;q<n.length;q++){if(!m[n[q]]){p.push(n[q]);m[n[q]]=1;}}if(p.length>0)a.scriptLoader.load(p,o);else setTimeout(o,0);};})();i.templates='default';i.templates_files=[a.getUrl('plugins/templates/templates/default.js')];i.templates_replaceContent=true;(function(){var l=function(){this.toolbars=[];this.focusCommandExecuted=false;};l.prototype.focus=function(){for(var n=0,o;o=this.toolbars[n++];)for(var p=0,q;q=o.items[p++];){if(q.focus){q.focus();return;}}};var m={toolbarFocus:{modes:{wysiwyg:1,source:1},exec:function(n){if(n.toolbox){n.toolbox.focusCommandExecuted=true;if(c)setTimeout(function(){n.toolbox.focus();},100);else n.toolbox.focus();}}}};j.add('toolbar',{init:function(n){var o=function(p,q){var r,s,t;switch(q){case 39:case 9:do{r=p.next;if(!r){s=p.toolbar.next;t=s&&s.items.length;while(t===0){s=s.next;t=s&&s.items.length;}if(s)r=s.items[0];}p=r;}while(p&&!p.focus)if(p)p.focus();else n.toolbox.focus();return false;case 37:case 2000+9:do{r=p.previous;if(!r){s=p.toolbar.previous;t=s&&s.items.length;while(t===0){s=s.previous;t=s&&s.items.length;}if(s)r=s.items[t-1];}p=r;}while(p&&!p.focus)if(p)p.focus();else{var u=n.toolbox.toolbars[n.toolbox.toolbars.length-1].items;u[u.length-1].focus();}return false;case 27:n.focus();return false;case 13:case 32:p.execute();return false;}return true;};n.on('themeSpace',function(p){if(p.data.space==n.config.toolbarLocation){n.toolbox=new l();var q='cke_'+e.getNextNumber(),r=['<div class="cke_toolbox" role="toolbar" aria-labelledby="',q,'"'],s=n.config.toolbarStartupExpanded!==false,t;r.push(s?'>':' style="display:none">');r.push('<span id="',q,'" class="cke_voice_label">',n.lang.toolbar,'</span>'); +var u=n.toolbox.toolbars,v=n.config.toolbar instanceof Array?n.config.toolbar:n.config['toolbar_'+n.config.toolbar];for(var w=0;w<v.length;w++){var x=v[w];if(!x)continue;var y='cke_'+e.getNextNumber(),z={id:y,items:[]};if(t){r.push('</div>');t=0;}if(x==='/'){r.push('<div class="cke_break"></div>');continue;}r.push('<span id="',y,'" class="cke_toolbar" role="presentation"><span class="cke_toolbar_start"></span>');var A=u.push(z)-1;if(A>0){z.previous=u[A-1];z.previous.next=z;}for(var B=0;B<x.length;B++){var C,D=x[B];if(D=='-')C=k.separator;else C=n.ui.create(D);if(C){if(C.canGroup){if(!t){r.push('<span class="cke_toolgroup" role="presentation">');t=1;}}else if(t){r.push('</span>');t=0;}var E=C.render(n,r);A=z.items.push(E)-1;if(A>0){E.previous=z.items[A-1];E.previous.next=E;}E.toolbar=z;E.onkey=o;E.onfocus=function(){if(!n.toolbox.focusCommandExecuted)n.focus();};}}if(t){r.push('</span>');t=0;}r.push('<span class="cke_toolbar_end"></span></span>');}r.push('</div>');if(n.config.toolbarCanCollapse){var F=e.addFunction(function(){n.execCommand('toolbarCollapse');}),G='cke_'+e.getNextNumber();n.addCommand('toolbarCollapse',{exec:function(H){var I=a.document.getById(G),J=I.getPrevious(),K=H.getThemeSpace('contents'),L=J.getParent(),M=parseInt(K.$.style.height,10),N=L.$.offsetHeight,O=!J.isVisible();if(!O){J.hide();I.addClass('cke_toolbox_collapser_min');I.setAttribute('title',H.lang.toolbarExpand);}else{J.show();I.removeClass('cke_toolbox_collapser_min');I.setAttribute('title',H.lang.toolbarCollapse);}I.getFirst().setText(O?'▲':'◀');var P=L.$.offsetHeight-N;K.setStyle('height',M-P+'px');H.fire('resize');},modes:{wysiwyg:1,source:1}});r.push('<a title="'+(s?n.lang.toolbarCollapse:n.lang.toolbarExpand)+'" id="'+G+'" tabIndex="-1" class="cke_toolbox_collapser');if(!s)r.push(' cke_toolbox_collapser_min');r.push('" onclick="CKEDITOR.tools.callFunction('+F+')">','<span>&#9650;</span>','</a>');}p.data.html+=r.join('');}});n.addCommand('toolbarFocus',m.toolbarFocus);}});})();k.separator={render:function(l,m){m.push('<span class="cke_separator" role="separator"></span>');return{};}};i.toolbarLocation='top';i.toolbar_Basic=[['Bold','Italic','-','NumberedList','BulletedList','-','Link','Unlink','-','About']];i.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'],['Link','Unlink','Anchor'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],'/',['Styles','Format','Font','FontSize'],['TextColor','BGColor'],['Maximize','ShowBlocks','-','About']]; +i.toolbar='Full';i.toolbarCanCollapse=true;(function(){j.add('undo',{requires:['selection','wysiwygarea'],init:function(r){var s=new n(r),t=r.addCommand('undo',{exec:function(){if(s.undo()){r.selectionChange();this.fire('afterUndo');}},state:0,canUndo:false}),u=r.addCommand('redo',{exec:function(){if(s.redo()){r.selectionChange();this.fire('afterRedo');}},state:0,canUndo:false});s.onChange=function(){t.setState(s.undoable()?2:0);u.setState(s.redoable()?2:0);};function v(w){if(s.enabled&&w.data.command.canUndo!==false)s.save();};r.on('beforeCommandExec',v);r.on('afterCommandExec',v);r.on('saveSnapshot',function(){s.save();});r.on('contentDom',function(){r.document.on('keydown',function(w){if(!w.data.$.ctrlKey&&!w.data.$.metaKey)s.type(w);});});r.on('beforeModeUnload',function(){r.mode=='wysiwyg'&&s.save(true);});r.on('mode',function(){s.enabled=r.mode=='wysiwyg';s.onChange();});r.ui.addButton('Undo',{label:r.lang.undo,command:'undo'});r.ui.addButton('Redo',{label:r.lang.redo,command:'redo'});r.resetUndo=function(){s.reset();r.fire('saveSnapshot');};}});function l(r){var s=r.getSnapshot(),t=s&&r.getSelection();c&&s&&(s=s.replace(/\s+_cke_expando=".*?"/g,''));this.contents=s;this.bookmarks=t&&t.createBookmarks2(true);};var m=/\b(?:href|src|name)="[^"]*?"/gi;l.prototype={equals:function(r,s){var t=this.contents,u=r.contents;if(c&&(b.ie7Compat||b.ie6Compat)){t=t.replace(m,'');u=u.replace(m,'');}if(t!=u)return false;if(s)return true;var v=this.bookmarks,w=r.bookmarks;if(v||w){if(!v||!w||v.length!=w.length)return false;for(var x=0;x<v.length;x++){var y=v[x],z=w[x];if(y.startOffset!=z.startOffset||y.endOffset!=z.endOffset||!e.arrayCompare(y.start,z.start)||!e.arrayCompare(y.end,z.end))return false;}}return true;}};function n(r){this.editor=r;this.reset();};var o={8:1,46:1},p={16:1,17:1,18:1},q={37:1,38:1,39:1,40:1};n.prototype={type:function(r){var s=r&&r.data.getKey(),t=s in p,u=s in o,v=this.lastKeystroke in o,w=u&&s==this.lastKeystroke,x=s in q,y=this.lastKeystroke in q,z=!u&&!x,A=u&&!w,B=!(t||this.typing)||z&&(v||y);if(B||A){var C=new l(this.editor);e.setTimeout(function(){var E=this;var D=E.editor.getSnapshot();if(c)D=D.replace(/\s+_cke_expando=".*?"/g,'');if(C.contents!=D){E.typing=true;if(!E.save(false,C,false))E.snapshots.splice(E.index+1,E.snapshots.length-E.index-1);E.hasUndo=true;E.hasRedo=false;E.typesCount=1;E.modifiersCount=1;E.onChange();}},0,this);}this.lastKeystroke=s;if(u){this.typesCount=0;this.modifiersCount++;if(this.modifiersCount>25){this.save(false,null,false); +this.modifiersCount=1;}}else if(!x){this.modifiersCount=0;this.typesCount++;if(this.typesCount>25){this.save(false,null,false);this.typesCount=1;}}},reset:function(){var r=this;r.lastKeystroke=0;r.snapshots=[];r.index=-1;r.limit=r.editor.config.undoStackSize;r.currentImage=null;r.hasUndo=false;r.hasRedo=false;r.resetType();},resetType:function(){var r=this;r.typing=false;delete r.lastKeystroke;r.typesCount=0;r.modifiersCount=0;},fireChange:function(){var r=this;r.hasUndo=!!r.getNextImage(true);r.hasRedo=!!r.getNextImage(false);r.resetType();r.onChange();},save:function(r,s,t){var v=this;var u=v.snapshots;if(!s)s=new l(v.editor);if(s.contents===false)return false;if(v.currentImage&&s.equals(v.currentImage,r))return false;u.splice(v.index+1,u.length-v.index-1);if(u.length==v.limit)u.shift();v.index=u.push(s)-1;v.currentImage=s;if(t!==false)v.fireChange();return true;},restoreImage:function(r){var t=this;t.editor.loadSnapshot(r.contents);if(r.bookmarks)t.editor.getSelection().selectBookmarks(r.bookmarks);else if(c){var s=t.editor.document.getBody().$.createTextRange();s.collapse(true);s.select();}t.index=r.index;t.snapshots.splice(t.index,1,t.currentImage=new l(t.editor));t.fireChange();},getNextImage:function(r){var w=this;var s=w.snapshots,t=w.currentImage,u,v;if(t)if(r)for(v=w.index-1;v>=0;v--){u=s[v];if(!t.equals(u,true)){u.index=v;return u;}}else for(v=w.index+1;v<s.length;v++){u=s[v];if(!t.equals(u,true)){u.index=v;return u;}}return null;},redoable:function(){return this.enabled&&this.hasRedo;},undoable:function(){return this.enabled&&this.hasUndo;},undo:function(){var s=this;if(s.undoable()){s.save(true);var r=s.getNextImage(true);if(r)return s.restoreImage(r),true;}return false;},redo:function(){var s=this;if(s.redoable()){s.save(true);if(s.redoable()){var r=s.getNextImage(false);if(r)return s.restoreImage(r),true;}}return false;}};})();i.undoStackSize=20;(function(){var l={table:1,pre:1},m=/\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>|&nbsp;|\u00A0|&#160;)?\s*(:?<\/\1>)?\s*(?=$|<\/body>)/gi;function n(v){if(this.mode=='wysiwyg'){this.focus();this.fire('saveSnapshot');var w=this.getSelection(),x=v.data;if(this.dataProcessor)x=this.dataProcessor.toHtml(x);if(c){var y=w.isLocked;if(y)w.unlock();var z=w.getNative();if(z.type=='Control')z.clear();z.createRange().pasteHTML(x);if(y)this.getSelection().lock();}else this.document.$.execCommand('inserthtml',false,x);e.setTimeout(function(){this.fire('saveSnapshot');},0,this);}};function o(v){if(this.mode=='wysiwyg'){this.focus(); +this.fire('saveSnapshot');var w=v.data,x=w.getName(),y=f.$block[x],z=this.getSelection(),A=z.getRanges(),B=z.isLocked;if(B)z.unlock();var C,D,E,F;for(var G=A.length-1;G>=0;G--){C=A[G];C.deleteContents();D=!G&&w||w.clone(true);var H,I;if(y)while((H=C.getCommonAncestor(false,true))&&(I=f[H.getName()])&&!(I&&I[x])){if(H.getName() in f.span)C.splitElement(H);else if(C.checkStartOfBlock()&&C.checkEndOfBlock()){C.setStartBefore(H);C.collapse(true);H.remove();}else C.splitBlock();}C.insertNode(D);if(!E)E=D;}C.moveToPosition(E,4);var J=E.getNextSourceNode(true);if(J&&J.type==1)C.moveToElementEditStart(J);z.selectRanges([C]);if(B)this.getSelection().lock();e.setTimeout(function(){this.fire('saveSnapshot');},0,this);}};function p(v){if(!v.checkDirty())setTimeout(function(){v.resetDirty();});};var q=d.walker.whitespaces(true),r=d.walker.bookmark(false,true);function s(v){return q(v)&&r(v);};function t(v){return v.type==3&&e.trim(v.getText()).match(/^(?:&nbsp;|\xa0)$/);};function u(v){var w=v.editor,x=v.data.path,y=x.blockLimit,z=v.data.selection,A=z.getRanges()[0],B=w.document.getBody(),C=w.config.enterMode;if(C!=2&&A.collapsed&&y.getName()=='body'&&!x.block){p(w);var D=A.fixBlock(true,w.config.enterMode==3?'div':'p');if(c){var E=D.getFirst(s);E&&t(E)&&E.remove();}if(D.getOuterHtml().match(m)){var F=D.getPrevious(q),G=D.getNext(q);if(F&&F.getName&&!(F.getName() in l)&&A.moveToElementEditStart(F)||G&&G.getName&&!(G.getName() in l)&&A.moveToElementEditStart(G))D.remove();}A.select();if(!c)w.selectionChange();}var H=B.getLast(d.walker.whitespaces(true));if(H&&H.getName&&H.getName() in l){p(w);if(!c)B.appendBogus();else B.append(w.document.createText('\xa0'));}};j.add('wysiwygarea',{requires:['editingblock'],init:function(v){var w=v.config.enterMode!=2?v.config.enterMode==3?'div':'p':false,x=v.lang.editorTitle.replace('%1',v.name);v.on('editingBlockReady',function(){var A,B,C,D,E,F,G=b.isCustomDomain(),H=function(K){if(B)B.remove();E=0;var L=!b.gecko&&e.addFunction(function(N){e.removeFunction(L);N.write(K);}),M='document.open();'+(G?'document.domain="'+document.domain+'";':'')+(b.gecko?'':'parent.CKEDITOR.tools.callFunction('+L+',document);')+'document.close();';B=h.createFromHtml('<iframe style="width:100%;height:100%" frameBorder="0" src="javascript:void(function(){'+encodeURIComponent(M)+'}())"'+' tabIndex="'+v.tabIndex+'"'+' allowTransparency="true"'+'></iframe>');b.gecko&&B.on('load',function(N){N.removeListener();var O=B.getFrameDocument().$;O.open();O.write(K);O.close(); +});A.append(B);},I='<script id="cke_actscrpt" type="text/javascript" cke_temp="1">'+(G?'document.domain="'+document.domain+'";':'')+'parent.CKEDITOR._["contentDomReady'+v.name+'"]( window );'+'</script>',J=function(K){if(E)return;E=1;v.fire('ariaWidget',B);var L=K.document,M=L.body,N=L.getElementById('cke_actscrpt');N.parentNode.removeChild(N);delete a._['contentDomReady'+v.name];M.spellcheck=!v.config.disableNativeSpellChecker;if(c){M.hideFocus=true;M.disabled=true;M.contentEditable=true;M.removeAttribute('disabled');}else L.designMode='on';try{L.execCommand('enableObjectResizing',false,!v.config.disableObjectResizing);}catch(S){}try{L.execCommand('enableInlineTableEditing',false,!v.config.disableNativeTableHandles);}catch(T){}K=v.window=new d.window(K);L=v.document=new g(L);if(!(c||b.opera))L.on('mousedown',function(U){var V=U.data.getTarget();if(V.is('img','hr','input','textarea','select'))v.getSelection().selectElement(V);});if(b.webkit){L.on('click',function(U){if(U.data.getTarget().is('input','select'))U.data.preventDefault();});L.on('mouseup',function(U){if(U.data.getTarget().is('input','textarea'))U.data.preventDefault();});}if(c&&L.$.compatMode=='CSS1Compat'){var O=L.getDocumentElement();O.on('mousedown',function(U){if(U.data.getTarget().equals(O))z.focus();});}var P=c||b.webkit?K:L;P.on('blur',function(){v.focusManager.blur();});P.on('focus',function(){if(b.gecko){var U=M;while(U.firstChild)U=U.firstChild;if(!U.nextSibling&&'BR'==U.tagName&&U.hasAttribute('_moz_editor_bogus_node')){var V=L.$.createEvent('KeyEvents');V.initKeyEvent('keypress',true,true,K.$,false,false,false,false,0,32);L.$.dispatchEvent(V);var W=L.getBody().getFirst();if(v.config.enterMode==2)L.createElement('br',{attributes:{_moz_dirty:''}}).replace(W);else W.remove();}}v.focusManager.focus();});var Q=v.keystrokeHandler;if(Q)Q.attach(L);if(c){L.on('keydown',function(U){var V=U.data.getKeystroke();if(V in {8:1,46:1}){var W=v.getSelection(),X=W.getSelectedElement();if(X){v.fire('saveSnapshot');var Y=W.getRanges()[0].createBookmark();X.remove();W.selectBookmarks([Y]);v.fire('saveSnapshot');U.data.preventDefault();}}});if(L.$.compatMode=='CSS1Compat'){var R={33:1,34:1};L.on('keydown',function(U){if(U.data.getKeystroke() in R)setTimeout(function(){v.getSelection().scrollIntoView();},0);});}}if(v.contextMenu)v.contextMenu.addTarget(L,v.config.browserContextMenuOnCtrl!==false);setTimeout(function(){v.fire('contentDom');if(F){v.mode='wysiwyg';v.fire('mode');F=false;}C=false;if(D){v.focus(); +D=false;}setTimeout(function(){v.fire('dataReady');},0);if(c)setTimeout(function(){if(v.document){var U=v.document.$.body;U.runtimeStyle.marginBottom='0px';U.runtimeStyle.marginBottom='';}},1000);},0);};v.addMode('wysiwyg',{load:function(K,L,M){A=K;if(c&&b.quirks)K.setStyle('position','relative');v.mayBeDirty=true;F=true;if(M)this.loadSnapshotData(L);else this.loadData(L);},loadData:function(K){C=true;var L=v.config,M=L.fullPage,N=L.docType,O='<style type="text/css" cke_temp="1">'+v._.styles.join('\n')+'</style>';!M&&(O=e.buildStyleHtml(v.config.contentsCss)+O);var P=L.baseHref?'<base href="'+L.baseHref+'" cke_temp="1" />':'';if(M)K=K.replace(/<!DOCTYPE[^>]*>/i,function(Q){v.docType=N=Q;return '';});if(v.dataProcessor)K=v.dataProcessor.toHtml(K,w);if(M){if(!/<body[\s|>]/.test(K))K='<body>'+K;if(!/<html[\s|>]/.test(K))K='<html>'+K+'</html>';if(!/<head[\s|>]/.test(K))K=K.replace(/<html[^>]*>/,'$&<head><title></title></head>');P&&(K=K.replace(/<head>/,'$&'+P));K=K.replace(/<\/head\s*>/,O+'$&');K=N+K;}else K=L.docType+'<html dir="'+L.contentsLangDirection+'">'+'<title>'+x+'</title>'+'<head>'+P+O+'</head>'+'<body'+(L.bodyId?' id="'+L.bodyId+'"':'')+(L.bodyClass?' class="'+L.bodyClass+'"':'')+'>'+K+'</html>';K+=I;a._['contentDomReady'+v.name]=J;H(K);},getData:function(){var K=v.config,L=K.fullPage,M=L&&v.docType,N=B.getFrameDocument(),O=L?N.getDocumentElement().getOuterHtml():N.getBody().getHtml();if(v.dataProcessor)O=v.dataProcessor.toDataFormat(O,w);if(K.ignoreEmptyParagraph)O=O.replace(m,'');if(M)O=M+'\n'+O;return O;},getSnapshotData:function(){return B.getFrameDocument().getBody().getHtml();},loadSnapshotData:function(K){B.getFrameDocument().getBody().setHtml(K);},unload:function(K){v.window=v.document=B=A=D=null;v.fire('contentDomUnload');},focus:function(){if(C)D=true;else if(v.window){v.window.focus();if(c)try{var K=v.getSelection();K=K&&K.getNative();var L=K&&K.type&&K.createRange();if(L){K.empty();L.select();}}catch(M){}v.selectionChange();}}});v.on('insertHtml',n,null,null,20);v.on('insertElement',o,null,null,20);v.on('selectionChange',u,null,null,1);});var y;v.on('contentDom',function(){var A=v.document.getElementsByTag('title').getItem(0);A.setAttribute('_cke_title',v.document.$.title);v.document.$.title=x;});if(c){var z;v.on('uiReady',function(){z=v.container.append(h.createFromHtml('<span tabindex="-1" style="position:absolute; left:-10000" role="presentation"></span>'));z.on('focus',function(){v.focus();});});}}});if(b.gecko)(function(){var v=document.body; +if(!v)window.addEventListener('load',arguments.callee,false);else v.setAttribute('onpageshow',v.getAttribute('onpageshow')+';event.persisted && CKEDITOR.tools.callFunction('+e.addFunction(function(){var w=a.instances,x,y;for(var z in w){x=w[z];y=x.document;if(y){y.$.designMode='off';y.$.designMode='on';}}})+')');})();})();i.disableObjectResizing=false;i.disableNativeTableHandles=true;i.disableNativeSpellChecker=true;i.ignoreEmptyParagraph=true;j.add('wsc',{requires:['dialog'],init:function(l){var m='checkspell',n=l.addCommand(m,new a.dialogCommand(m));n.modes={wysiwyg:!b.opera&&document.domain==window.location.hostname};l.ui.addButton('SpellChecker',{label:l.lang.spellCheck.toolbar,command:m});a.dialog.add(m,this.path+'dialogs/wsc.js');}});i.wsc_customerId=i.wsc_customerId||'1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk';i.wsc_customLoaderScript=i.wsc_customLoaderScript||null;a.DIALOG_RESIZE_NONE=0;a.DIALOG_RESIZE_WIDTH=1;a.DIALOG_RESIZE_HEIGHT=2;a.DIALOG_RESIZE_BOTH=3;(function(){function l(K){return!!this._.tabs[K][0].$.offsetHeight;};function m(){var O=this;var K=O._.currentTabId,L=O._.tabIdList.length,M=e.indexOf(O._.tabIdList,K)+L;for(var N=M-1;N>M-L;N--){if(l.call(O,O._.tabIdList[N%L]))return O._.tabIdList[N%L];}return null;};function n(){var O=this;var K=O._.currentTabId,L=O._.tabIdList.length,M=e.indexOf(O._.tabIdList,K);for(var N=M+1;N<M+L;N++){if(l.call(O,O._.tabIdList[N%L]))return O._.tabIdList[N%L];}return null;};a.dialog=function(K,L){var M=a.dialog._.dialogDefinitions[L];M=e.extend(M(K),p);M=e.clone(M);M=new t(this,M);var N=a.document,O=K.theme.buildDialog(K);this._={editor:K,element:O.element,name:L,contentSize:{width:0,height:0},size:{width:0,height:0},updateSize:false,contents:{},buttons:{},accessKeyMap:{},tabs:{},tabIdList:[],currentTabId:null,currentTabIndex:null,pageCount:0,lastTab:null,tabBarMode:false,focusList:[],currentFocusIndex:0,hasFocus:false};this.parts=O.parts;e.setTimeout(function(){K.fire('ariaWidget',this.parts.contents);},0,this);this.parts.dialog.setStyles({position:b.ie6Compat?'absolute':'fixed',top:0,left:0,visibility:'hidden'});a.event.call(this);this.definition=M=a.fire('dialogDefinition',{name:L,definition:M},K).definition;if(M.onLoad)this.on('load',M.onLoad);if(M.onShow)this.on('show',M.onShow);if(M.onHide)this.on('hide',M.onHide);if(M.onOk)this.on('ok',function(aa){if(M.onOk.call(this,aa)===false)aa.data.hide=false;});if(M.onCancel)this.on('cancel',function(aa){if(M.onCancel.call(this,aa)===false)aa.data.hide=false; +});var P=this,Q=function(aa){var ab=P._.contents,ac=false;for(var ad in ab)for(var ae in ab[ad]){ac=aa.call(this,ab[ad][ae]);if(ac)return;}};this.on('ok',function(aa){Q(function(ab){if(ab.validate){var ac=ab.validate(this);if(typeof ac=='string'){alert(ac);ac=false;}if(ac===false){if(ab.select)ab.select();else ab.focus();aa.data.hide=false;aa.stop();return true;}}});},this,null,0);this.on('cancel',function(aa){Q(function(ab){if(ab.isChanged()){if(!confirm(K.lang.common.confirmCancel))aa.data.hide=false;return true;}});},this,null,0);this.parts.close.on('click',function(aa){if(this.fire('cancel',{hide:true}).hide!==false)this.hide();},this);function R(){var aa=P._.focusList;aa.sort(function(ad,ae){if(ad.tabIndex!=ae.tabIndex)return ae.tabIndex-ad.tabIndex;else return ad.focusIndex-ae.focusIndex;});var ab=aa.length;for(var ac=0;ac<ab;ac++)aa[ac].focusIndex=ac;};function S(aa){var ab=P._.focusList,ac=aa?1:-1;if(ab.length<1)return;var ad=P._.currentFocusIndex;try{ab[ad].getInputElement().$.blur();}catch(ag){}var ae=(ad+ac+ab.length)%ab.length,af=ae;while(!ab[af].isFocusable()){af=(af+ac+ab.length)%ab.length;if(af==ae)break;}ab[af].focus();if(ab[af].type=='text')ab[af].select();};this.changeFocus=S;var T;function U(aa){var ae=this;if(P!=a.dialog._.currentTop)return;var ab=aa.data.getKeystroke();T=0;if(ab==9||ab==2000+9){var ac=ab==2000+9;if(P._.tabBarMode){var ad=ac?m.call(P):n.call(P);P.selectPage(ad);P._.tabs[ad][0].focus();}else S(!ac);T=1;}else if(ab==4000+121&&!P._.tabBarMode){P._.tabBarMode=true;P._.tabs[P._.currentTabId][0].focus();T=1;}else if((ab==37||ab==39)&&P._.tabBarMode){ad=ab==37?m.call(P):n.call(P);P.selectPage(ad);P._.tabs[ad][0].focus();T=1;}else if((ab==13||ab==32)&&P._.tabBarMode){ae.selectPage(ae._.currentTabId);ae._.tabBarMode=false;ae._.currentFocusIndex=-1;S(true);T=1;}if(T){aa.stop();aa.data.preventDefault();}};function V(aa){T&&aa.data.preventDefault();};var W=this._.element;this.on('show',function(){W.on('keydown',U,this,null,0);if(b.opera||b.gecko&&b.mac)W.on('keypress',V,this);if(b.ie6Compat){var aa=y.getChild(0).getFrameDocument();aa.on('keydown',U,this,null,0);}});this.on('hide',function(){W.removeListener('keydown',U);if(b.opera||b.gecko&&b.mac)W.removeListener('keypress',V);});this.on('iframeAdded',function(aa){var ab=new g(aa.data.iframe.$.contentWindow.document);ab.on('keydown',U,this,null,0);});this.on('show',function(){var ae=this;R();if(K.config.dialog_startupFocusTab&&P._.tabIdList.length>1){P._.tabBarMode=true;P._.tabs[P._.currentTabId][0].focus(); +}else if(!ae._.hasFocus){ae._.currentFocusIndex=-1;if(M.onFocus){var aa=M.onFocus.call(ae);aa&&aa.focus();}else S(true);if(ae._.editor.mode=='wysiwyg'&&c){var ab=K.document.$.selection,ac=ab.createRange();if(ac)if(ac.parentElement&&ac.parentElement().ownerDocument==K.document.$||ac.item&&ac.item(0).ownerDocument==K.document.$){var ad=document.body.createTextRange();ad.moveToElementText(ae.getElement().getFirst().$);ad.collapse(true);ad.select();}}}},this,null,4294967295);if(b.ie6Compat)this.on('load',function(aa){var ab=this.getElement(),ac=ab.getFirst();ac.remove();ac.appendTo(ab);},this);v(this);w(this);new d.text(M.title,a.document).appendTo(this.parts.title);for(var X=0;X<M.contents.length;X++)this.addPage(M.contents[X]);this.parts.tabs.on('click',function(aa){var ad=this;var ab=aa.data.getTarget();if(ab.hasClass('cke_dialog_tab')){var ac=ab.$.id;ad.selectPage(ac.substr(0,ac.lastIndexOf('_')));if(ad._.tabBarMode){ad._.tabBarMode=false;ad._.currentFocusIndex=-1;S(true);}aa.data.preventDefault();}},this);var Y=[],Z=a.dialog._.uiElementBuilders.hbox.build(this,{type:'hbox',className:'cke_dialog_footer_buttons',widths:[],children:M.buttons},Y).getChild();this.parts.footer.setHtml(Y.join(''));for(X=0;X<Z.length;X++)this._.buttons[Z[X].id]=Z[X];a.skins.load(K,'dialog');};function o(K,L,M){this.element=L;this.focusIndex=M;this.tabIndex=0;this.isFocusable=function(){return!L.getAttribute('disabled')&&L.isVisible();};this.focus=function(){K._.currentFocusIndex=this.focusIndex;this.element.focus();};L.on('keydown',function(N){if(N.data.getKeystroke() in {32:1,13:1})this.fire('click');});L.on('focus',function(){this.fire('mouseover');});L.on('blur',function(){this.fire('mouseout');});};a.dialog.prototype={resize:(function(){return function(K,L){var M=this;if(M._.contentSize&&M._.contentSize.width==K&&M._.contentSize.height==L)return;a.dialog.fire('resize',{dialog:M,skin:M._.editor.skinName,width:K,height:L},M._.editor);M._.contentSize={width:K,height:L};M._.updateSize=true;};})(),getSize:function(){var M=this;if(!M._.updateSize)return M._.size;var K=M._.element.getFirst(),L=M._.size={width:K.$.offsetWidth||0,height:K.$.offsetHeight||0};M._.updateSize=!L.width||!L.height;return L;},move:(function(){var K;return function(L,M){var P=this;var N=P._.element.getFirst();if(K===undefined)K=N.getComputedStyle('position')=='fixed';if(K&&P._.position&&P._.position.x==L&&P._.position.y==M)return;P._.position={x:L,y:M};if(!K){var O=a.document.getWindow().getScrollPosition();L+=O.x; +M+=O.y;}N.setStyles({left:(L>0?L:0)+'px',top:(M>0?M:0)+'px'});};})(),getPosition:function(){return e.extend({},this._.position);},show:function(){var K=this._.editor;if(K.mode=='wysiwyg'&&c){var L=K.getSelection();L&&L.lock();}var M=this._.element,N=this.definition;if(!(M.getParent()&&M.getParent().equals(a.document.getBody())))M.appendTo(a.document.getBody());else return;if(b.gecko&&b.version<10900){var O=this.parts.dialog;O.setStyle('position','absolute');setTimeout(function(){O.setStyle('position','fixed');},0);}this.resize(N.minWidth,N.minHeight);this.selectPage(this.definition.contents[0].id);this.reset();if(a.dialog._.currentZIndex===null)a.dialog._.currentZIndex=this._.editor.config.baseFloatZIndex;this._.element.getFirst().setStyle('z-index',a.dialog._.currentZIndex+=10);if(a.dialog._.currentTop===null){a.dialog._.currentTop=this;this._.parentDialog=null;z(this._.editor);M.on('keydown',C);M.on(b.opera?'keypress':'keyup',D);for(var P in {keyup:1,keydown:1,keypress:1})M.on(P,J);}else{this._.parentDialog=a.dialog._.currentTop;var Q=this._.parentDialog.getElement().getFirst();Q.$.style.zIndex-=Math.floor(this._.editor.config.baseFloatZIndex/2);a.dialog._.currentTop=this;}E(this,this,'\x1b',null,function(){this.getButton('cancel')&&this.getButton('cancel').click();});this._.hasFocus=false;e.setTimeout(function(){var R=a.document.getWindow().getViewPaneSize(),S=this.getSize();this.move((R.width-N.minWidth)/2,(R.height-S.height)/2);this.parts.dialog.setStyle('visibility','');this.fireOnce('load',{});this.fire('show',{});this._.editor.fire('dialogShow',this);this.foreach(function(T){T.setInitValue&&T.setInitValue();});},100,this);},foreach:function(K){var N=this;for(var L in N._.contents)for(var M in N._.contents[L])K(N._.contents[L][M]);return N;},reset:(function(){var K=function(L){if(L.reset)L.reset();};return function(){this.foreach(K);return this;};})(),setupContent:function(){var K=arguments;this.foreach(function(L){if(L.setup)L.setup.apply(L,K);});},commitContent:function(){var K=arguments;this.foreach(function(L){if(L.commit)L.commit.apply(L,K);});},hide:function(){this.fire('hide',{});this._.editor.fire('dialogHide',this);var K=this._.element;if(!K.getParent())return;K.remove();this.parts.dialog.setStyle('visibility','hidden');F(this);if(!this._.parentDialog)A();else{var L=this._.parentDialog.getElement().getFirst();L.setStyle('z-index',parseInt(L.$.style.zIndex,10)+Math.floor(this._.editor.config.baseFloatZIndex/2));}a.dialog._.currentTop=this._.parentDialog; +if(!this._.parentDialog){a.dialog._.currentZIndex=null;K.removeListener('keydown',C);K.removeListener(b.opera?'keypress':'keyup',D);for(var M in {keyup:1,keydown:1,keypress:1})K.removeListener(M,J);var N=this._.editor;N.focus();if(N.mode=='wysiwyg'&&c){var O=N.getSelection();O&&O.unlock(true);}}else a.dialog._.currentZIndex-=10;this.foreach(function(P){P.resetInitValue&&P.resetInitValue();});},addPage:function(K){var W=this;var L=[],M=K.label?' title="'+e.htmlEncode(K.label)+'"':'',N=K.elements,O=a.dialog._.uiElementBuilders.vbox.build(W,{type:'vbox',className:'cke_dialog_page_contents',children:K.elements,expand:!!K.expand,padding:K.padding,style:K.style||'width: 100%;'+(b.ie6Compat?'':'height: 100%;')},L),P=h.createFromHtml(L.join(''));P.setAttribute('role','tabpanel');var Q=b,R=K.id+'_'+e.getNextNumber(),S=h.createFromHtml(['<a class="cke_dialog_tab"',W._.pageCount>0?' cke_last':'cke_first',M,!!K.hidden?' style="display:none"':'',' id="',R,'"',Q.gecko&&Q.version>=10900&&!Q.hc?'':' href="javascript:void(0)"',' tabIndex="-1"',' hidefocus="true"',' role="tab">',K.label,'</a>'].join(''));P.setAttribute('aria-labelledby',R);if(W._.pageCount===0)W.parts.dialog.addClass('cke_single_page');else W.parts.dialog.removeClass('cke_single_page');W._.tabs[K.id]=[S,P];W._.tabIdList.push(K.id);W._.pageCount++;W._.lastTab=S;var T=W._.contents[K.id]={},U,V=O.getChild();while(U=V.shift()){T[U.id]=U;if(typeof U.getChild=='function')V.push.apply(V,U.getChild());}P.setAttribute('name',K.id);P.appendTo(W.parts.contents);S.unselectable();W.parts.tabs.append(S);if(K.accessKey){E(W,W,'CTRL+'+K.accessKey,H,G);W._.accessKeyMap['CTRL+'+K.accessKey]=K.id;}},selectPage:function(K){var P=this;for(var L in P._.tabs){var M=P._.tabs[L][0],N=P._.tabs[L][1];if(L!=K){M.removeClass('cke_dialog_tab_selected');N.hide();}N.setAttribute('aria-hidden',L!=K);}var O=P._.tabs[K];O[0].addClass('cke_dialog_tab_selected');O[1].show();P._.currentTabId=K;P._.currentTabIndex=e.indexOf(P._.tabIdList,K);},hidePage:function(K){var L=this._.tabs[K]&&this._.tabs[K][0];if(!L)return;L.hide();},showPage:function(K){var L=this._.tabs[K]&&this._.tabs[K][0];if(!L)return;L.show();},getElement:function(){return this._.element;},getName:function(){return this._.name;},getContentElement:function(K,L){var M=this._.contents[K];return M&&M[L];},getValueOf:function(K,L){return this.getContentElement(K,L).getValue();},setValueOf:function(K,L,M){return this.getContentElement(K,L).setValue(M);},getButton:function(K){return this._.buttons[K]; +},click:function(K){return this._.buttons[K].click();},disableButton:function(K){return this._.buttons[K].disable();},enableButton:function(K){return this._.buttons[K].enable();},getPageCount:function(){return this._.pageCount;},getParentEditor:function(){return this._.editor;},getSelectedElement:function(){return this.getParentEditor().getSelection().getSelectedElement();},addFocusable:function(K,L){var N=this;if(typeof L=='undefined'){L=N._.focusList.length;N._.focusList.push(new o(N,K,L));}else{N._.focusList.splice(L,0,new o(N,K,L));for(var M=L+1;M<N._.focusList.length;M++)N._.focusList[M].focusIndex++;}}};e.extend(a.dialog,{add:function(K,L){if(!this._.dialogDefinitions[K]||typeof L=='function')this._.dialogDefinitions[K]=L;},exists:function(K){return!!this._.dialogDefinitions[K];},getCurrent:function(){return a.dialog._.currentTop;},okButton:(function(){var K=function(L,M){M=M||{};return e.extend({id:'ok',type:'button',label:L.lang.common.ok,'class':'cke_dialog_ui_button_ok',onClick:function(N){var O=N.data.dialog;if(O.fire('ok',{hide:true}).hide!==false)O.hide();}},M,true);};K.type='button';K.override=function(L){return e.extend(function(M){return K(M,L);},{type:'button'},true);};return K;})(),cancelButton:(function(){var K=function(L,M){M=M||{};return e.extend({id:'cancel',type:'button',label:L.lang.common.cancel,'class':'cke_dialog_ui_button_cancel',onClick:function(N){var O=N.data.dialog;if(O.fire('cancel',{hide:true}).hide!==false)O.hide();}},M,true);};K.type='button';K.override=function(L){return e.extend(function(M){return K(M,L);},{type:'button'},true);};return K;})(),addUIElement:function(K,L){this._.uiElementBuilders[K]=L;}});a.dialog._={uiElementBuilders:{},dialogDefinitions:{},currentTop:null,currentZIndex:null};a.event.implementOn(a.dialog);a.event.implementOn(a.dialog.prototype,true);var p={resizable:0,minWidth:600,minHeight:400,buttons:[a.dialog.okButton,a.dialog.cancelButton]},q=function(K,L,M){for(var N=0,O;O=K[N];N++){if(O.id==L)return O;if(M&&O[M]){var P=q(O[M],L,M);if(P)return P;}}return null;},r=function(K,L,M,N,O){if(M){for(var P=0,Q;Q=K[P];P++){if(Q.id==M){K.splice(P,0,L);return L;}if(N&&Q[N]){var R=r(Q[N],L,M,N,true);if(R)return R;}}if(O)return null;}K.push(L);return L;},s=function(K,L,M){for(var N=0,O;O=K[N];N++){if(O.id==L)return K.splice(N,1);if(M&&O[M]){var P=s(O[M],L,M);if(P)return P;}}return null;},t=function(K,L){this.dialog=K;var M=L.contents;for(var N=0,O;O=M[N];N++)M[N]=new u(K,O);e.extend(this,L);};t.prototype={getContents:function(K){return q(this.contents,K); +},getButton:function(K){return q(this.buttons,K);},addContents:function(K,L){return r(this.contents,K,L);},addButton:function(K,L){return r(this.buttons,K,L);},removeContents:function(K){s(this.contents,K);},removeButton:function(K){s(this.buttons,K);}};function u(K,L){this._={dialog:K};e.extend(this,L);};u.prototype={get:function(K){return q(this.elements,K,'children');},add:function(K,L){return r(this.elements,K,L,'children');},remove:function(K){s(this.elements,K,'children');}};function v(K){var L=null,M=null,N=K.getElement().getFirst(),O=K.getParentEditor(),P=O.config.dialog_magnetDistance,Q=O.skin.margins||[0,0,0,0];if(typeof P=='undefined')P=20;function R(T){var U=K.getSize(),V=a.document.getWindow().getViewPaneSize(),W=T.data.$.screenX,X=T.data.$.screenY,Y=W-L.x,Z=X-L.y,aa,ab;L={x:W,y:X};M.x+=Y;M.y+=Z;if(M.x+Q[3]<P)aa=-Q[3];else if(M.x-Q[1]>V.width-U.width-P)aa=V.width-U.width+Q[1];else aa=M.x;if(M.y+Q[0]<P)ab=-Q[0];else if(M.y-Q[2]>V.height-U.height-P)ab=V.height-U.height+Q[2];else ab=M.y;K.move(aa,ab);T.data.preventDefault();};function S(T){a.document.removeListener('mousemove',R);a.document.removeListener('mouseup',S);if(b.ie6Compat){var U=y.getChild(0).getFrameDocument();U.removeListener('mousemove',R);U.removeListener('mouseup',S);}};K.parts.title.on('mousedown',function(T){K._.updateSize=true;L={x:T.data.$.screenX,y:T.data.$.screenY};a.document.on('mousemove',R);a.document.on('mouseup',S);M=K.getPosition();if(b.ie6Compat){var U=y.getChild(0).getFrameDocument();U.on('mousemove',R);U.on('mouseup',S);}T.data.preventDefault();},K);};function w(K){var L=K.definition,M=L.minWidth||0,N=L.minHeight||0,O=L.resizable,P=K.getParentEditor().skin.margins||[0,0,0,0];function Q(ab,ac){ab.y+=ac;};function R(ab,ac){ab.x2+=ac;};function S(ab,ac){ab.y2+=ac;};function T(ab,ac){ab.x+=ac;};var U=null,V=null,W=K._.editor.config.magnetDistance,X=['tl','t','tr','l','r','bl','b','br'];function Y(ab){var ac=ab.listenerData.part,ad=K.getSize();V=K.getPosition();e.extend(V,{x2:V.x+ad.width,y2:V.y+ad.height});U={x:ab.data.$.screenX,y:ab.data.$.screenY};a.document.on('mousemove',Z,K,{part:ac});a.document.on('mouseup',aa,K,{part:ac});if(b.ie6Compat){var ae=y.getChild(0).getFrameDocument();ae.on('mousemove',Z,K,{part:ac});ae.on('mouseup',aa,K,{part:ac});}ab.data.preventDefault();};function Z(ab){var ac=ab.data.$.screenX,ad=ab.data.$.screenY,ae=ac-U.x,af=ad-U.y,ag=a.document.getWindow().getViewPaneSize(),ah=ab.listenerData.part;if(ah.search('t')!=-1)Q(V,af);if(ah.search('l')!=-1)T(V,ae); +if(ah.search('b')!=-1)S(V,af);if(ah.search('r')!=-1)R(V,ae);U={x:ac,y:ad};var ai,aj,ak,al;if(V.x+P[3]<W)ai=-P[3];else if(ah.search('l')!=-1&&V.x2-V.x<M+W)ai=V.x2-M;else ai=V.x;if(V.y+P[0]<W)aj=-P[0];else if(ah.search('t')!=-1&&V.y2-V.y<N+W)aj=V.y2-N;else aj=V.y;if(V.x2-P[1]>ag.width-W)ak=ag.width+P[1];else if(ah.search('r')!=-1&&V.x2-V.x<M+W)ak=V.x+M;else ak=V.x2;if(V.y2-P[2]>ag.height-W)al=ag.height+P[2];else if(ah.search('b')!=-1&&V.y2-V.y<N+W)al=V.y+N;else al=V.y2;K.move(ai,aj);K.resize(ak-ai,al-aj);ab.data.preventDefault();};function aa(ab){a.document.removeListener('mouseup',aa);a.document.removeListener('mousemove',Z);if(b.ie6Compat){var ac=y.getChild(0).getFrameDocument();ac.removeListener('mouseup',aa);ac.removeListener('mousemove',Z);}};};var x,y,z=function(K){var L=a.document.getWindow();if(!y){var M=K.config.dialog_backgroundCoverColor||'white',N=['<div style="position: ',b.ie6Compat?'absolute':'fixed','; z-index: ',K.config.baseFloatZIndex,'; top: 0px; left: 0px; ',!b.ie6Compat?'background-color: '+M:'','" id="cke_dialog_background_cover">'];if(b.ie6Compat){var O=b.isCustomDomain(),P="<html><body style=\\'background-color:"+M+";\\'></body></html>";N.push('<iframe hidefocus="true" frameborder="0" id="cke_dialog_background_iframe" src="javascript:');N.push('void((function(){document.open();'+(O?"document.domain='"+document.domain+"';":'')+"document.write( '"+P+"' );"+'document.close();'+'})())');N.push('" style="position:absolute;left:0;top:0;width:100%;height: 100%;progid:DXImageTransform.Microsoft.Alpha(opacity=0)"></iframe>');}N.push('</div>');y=h.createFromHtml(N.join(''));}var Q=y,R=function(){var V=L.getViewPaneSize();Q.setStyles({width:V.width+'px',height:V.height+'px'});},S=function(){var V=L.getScrollPosition(),W=a.dialog._.currentTop;Q.setStyles({left:V.x+'px',top:V.y+'px'});do{var X=W.getPosition();W.move(X.x,X.y);}while(W=W._.parentDialog)};x=R;L.on('resize',R);R();if(b.ie6Compat){var T=function(){S();arguments.callee.prevScrollHandler.apply(this,arguments);};L.$.setTimeout(function(){T.prevScrollHandler=window.onscroll||(function(){});window.onscroll=T;},0);S();}var U=K.config.dialog_backgroundCoverOpacity;Q.setOpacity(typeof U!='undefined'?U:0.5);Q.appendTo(a.document.getBody());},A=function(){if(!y)return;var K=a.document.getWindow();y.remove();K.removeListener('resize',x);if(b.ie6Compat)K.$.setTimeout(function(){var L=window.onscroll&&window.onscroll.prevScrollHandler;window.onscroll=L||null;},0);x=null;},B={},C=function(K){var L=K.data.$.ctrlKey||K.data.$.metaKey,M=K.data.$.altKey,N=K.data.$.shiftKey,O=String.fromCharCode(K.data.$.keyCode),P=B[(L?'CTRL+':'')+(M?'ALT+':'')+(N?'SHIFT+':'')+O]; +if(!P||!P.length)return;P=P[P.length-1];P.keydown&&P.keydown.call(P.uiElement,P.dialog,P.key);K.data.preventDefault();},D=function(K){var L=K.data.$.ctrlKey||K.data.$.metaKey,M=K.data.$.altKey,N=K.data.$.shiftKey,O=String.fromCharCode(K.data.$.keyCode),P=B[(L?'CTRL+':'')+(M?'ALT+':'')+(N?'SHIFT+':'')+O];if(!P||!P.length)return;P=P[P.length-1];if(P.keyup){P.keyup.call(P.uiElement,P.dialog,P.key);K.data.preventDefault();}},E=function(K,L,M,N,O){var P=B[M]||(B[M]=[]);P.push({uiElement:K,dialog:L,key:M,keyup:O||K.accessKeyUp,keydown:N||K.accessKeyDown});},F=function(K){for(var L in B){var M=B[L];for(var N=M.length-1;N>=0;N--){if(M[N].dialog==K||M[N].uiElement==K)M.splice(N,1);}if(M.length===0)delete B[L];}},G=function(K,L){if(K._.accessKeyMap[L])K.selectPage(K._.accessKeyMap[L]);},H=function(K,L){},I={27:1,13:1},J=function(K){if(K.data.getKeystroke() in I)K.data.stopPropagation();};(function(){k.dialog={uiElement:function(K,L,M,N,O,P,Q){if(arguments.length<4)return;var R=(N.call?N(L):N)||'div',S=['<',R,' '],T=(O&&O.call?O(L):O)||{},U=(P&&P.call?P(L):P)||{},V=(Q&&Q.call?Q.call(this,K,L):Q)||'',W=this.domId=U.id||e.getNextNumber()+'_uiElement',X=this.id=L.id,Y;U.id=W;var Z={};if(L.type)Z['cke_dialog_ui_'+L.type]=1;if(L.className)Z[L.className]=1;var aa=U['class']&&U['class'].split?U['class'].split(' '):[];for(Y=0;Y<aa.length;Y++){if(aa[Y])Z[aa[Y]]=1;}var ab=[];for(Y in Z)ab.push(Y);U['class']=ab.join(' ');if(L.title)U.title=L.title;var ac=(L.style||'').split(';');for(Y in T)ac.push(Y+':'+T[Y]);if(L.hidden)ac.push('display:none');for(Y=ac.length-1;Y>=0;Y--){if(ac[Y]==='')ac.splice(Y,1);}if(ac.length>0)U.style=(U.style?U.style+'; ':'')+ac.join('; ');for(Y in U)S.push(Y+'="'+e.htmlEncode(U[Y])+'" ');S.push('>',V,'</',R,'>');M.push(S.join(''));(this._||(this._={})).dialog=K;if(typeof L.isChanged=='boolean')this.isChanged=function(){return L.isChanged;};if(typeof L.isChanged=='function')this.isChanged=L.isChanged;a.event.implementOn(this);this.registerEvents(L);if(this.accessKeyUp&&this.accessKeyDown&&L.accessKey)E(this,K,'CTRL+'+L.accessKey);var ad=this;K.on('load',function(){if(ad.getInputElement())ad.getInputElement().on('focus',function(){K._.tabBarMode=false;K._.hasFocus=true;ad.fire('focus');},ad);});if(this.keyboardFocusable){this.tabIndex=L.tabIndex||0;this.focusIndex=K._.focusList.push(this)-1;this.on('focus',function(){K._.currentFocusIndex=ad.focusIndex;});}e.extend(this,L);},hbox:function(K,L,M,N,O){if(arguments.length<4)return;this._||(this._={});var P=this._.children=L,Q=O&&O.widths||null,R=O&&O.height||null,S={},T,U=function(){var W=['<tbody><tr class="cke_dialog_ui_hbox">']; +for(T=0;T<M.length;T++){var X='cke_dialog_ui_hbox_child',Y=[];if(T===0)X='cke_dialog_ui_hbox_first';if(T==M.length-1)X='cke_dialog_ui_hbox_last';W.push('<td class="',X,'" role="presentation" ');if(Q){if(Q[T])Y.push('width:'+e.cssLength(Q[T]));}else Y.push('width:'+Math.floor(100/M.length)+'%');if(R)Y.push('height:'+e.cssLength(R));if(O&&O.padding!=undefined)Y.push('padding:'+e.cssLength(O.padding));if(Y.length>0)W.push('style="'+Y.join('; ')+'" ');W.push('>',M[T],'</td>');}W.push('</tr></tbody>');return W.join('');},V={role:'presentation'};O&&O.align&&(V.align=O.align);k.dialog.uiElement.call(this,K,O||{type:'hbox'},N,'table',S,V,U);},vbox:function(K,L,M,N,O){if(arguments.length<3)return;this._||(this._={});var P=this._.children=L,Q=O&&O.width||null,R=O&&O.heights||null,S=function(){var T=['<table role="presentation" cellspacing="0" border="0" '];T.push('style="');if(O&&O.expand)T.push('height:100%;');T.push('width:'+e.cssLength(Q||'100%'),';');T.push('"');T.push('align="',e.htmlEncode(O&&O.align||(K.getParentEditor().lang.dir=='ltr'?'left':'right')),'" ');T.push('><tbody>');for(var U=0;U<M.length;U++){var V=[];T.push('<tr><td role="presentation" ');if(Q)V.push('width:'+e.cssLength(Q||'100%'));if(R)V.push('height:'+e.cssLength(R[U]));else if(O&&O.expand)V.push('height:'+Math.floor(100/M.length)+'%');if(O&&O.padding!=undefined)V.push('padding:'+e.cssLength(O.padding));if(V.length>0)T.push('style="',V.join('; '),'" ');T.push(' class="cke_dialog_ui_vbox_child">',M[U],'</td></tr>');}T.push('</tbody></table>');return T.join('');};k.dialog.uiElement.call(this,K,O||{type:'vbox'},N,'div',null,{role:'presentation'},S);}};})();k.dialog.uiElement.prototype={getElement:function(){return a.document.getById(this.domId);},getInputElement:function(){return this.getElement();},getDialog:function(){return this._.dialog;},setValue:function(K){this.getInputElement().setValue(K);this.fire('change',{value:K});return this;},getValue:function(){return this.getInputElement().getValue();},isChanged:function(){return false;},selectParentTab:function(){var N=this;var K=N.getInputElement(),L=K,M;while((L=L.getParent())&&L.$.className.search('cke_dialog_page_contents')==-1){}if(!L)return N;M=L.getAttribute('name');if(N._.dialog._.currentTabId!=M)N._.dialog.selectPage(M);return N;},focus:function(){this.selectParentTab().getInputElement().focus();return this;},registerEvents:function(K){var L=/^on([A-Z]\w+)/,M,N=function(P,Q,R,S){Q.on('load',function(){P.getInputElement().on(R,S,P);});}; +for(var O in K){if(!(M=O.match(L)))continue;if(this.eventProcessors[O])this.eventProcessors[O].call(this,this._.dialog,K[O]);else N(this,this._.dialog,M[1].toLowerCase(),K[O]);}return this;},eventProcessors:{onLoad:function(K,L){K.on('load',L,this);},onShow:function(K,L){K.on('show',L,this);},onHide:function(K,L){K.on('hide',L,this);}},accessKeyDown:function(K,L){this.focus();},accessKeyUp:function(K,L){},disable:function(){var K=this.getInputElement();K.setAttribute('disabled','true');K.addClass('cke_disabled');},enable:function(){var K=this.getInputElement();K.removeAttribute('disabled');K.removeClass('cke_disabled');},isEnabled:function(){return!this.getInputElement().getAttribute('disabled');},isVisible:function(){return this.getInputElement().isVisible();},isFocusable:function(){if(!this.isEnabled()||!this.isVisible())return false;return true;}};k.dialog.hbox.prototype=e.extend(new k.dialog.uiElement(),{getChild:function(K){var L=this;if(arguments.length<1)return L._.children.concat();if(!K.splice)K=[K];if(K.length<2)return L._.children[K[0]];else return L._.children[K[0]]&&L._.children[K[0]].getChild?L._.children[K[0]].getChild(K.slice(1,K.length)):null;}},true);k.dialog.vbox.prototype=new k.dialog.hbox();(function(){var K={build:function(L,M,N){var O=M.children,P,Q=[],R=[];for(var S=0;S<O.length&&(P=O[S]);S++){var T=[];Q.push(T);R.push(a.dialog._.uiElementBuilders[P.type].build(L,P,T));}return new k.dialog[M.type](L,R,Q,N,M);}};a.dialog.addUIElement('hbox',K);a.dialog.addUIElement('vbox',K);})();a.dialogCommand=function(K){this.dialogName=K;};a.dialogCommand.prototype={exec:function(K){K.openDialog(this.dialogName);},canUndo:false,editorFocus:c};(function(){var K=/^([a]|[^a])+$/,L=/^\d*$/,M=/^\d*(?:\.\d+)?$/;a.VALIDATE_OR=1;a.VALIDATE_AND=2;a.dialog.validate={functions:function(){return function(){var T=this;var N=T&&T.getValue?T.getValue():arguments[0],O=undefined,P=2,Q=[],R;for(R=0;R<arguments.length;R++){if(typeof arguments[R]=='function')Q.push(arguments[R]);else break;}if(R<arguments.length&&typeof arguments[R]=='string'){O=arguments[R];R++;}if(R<arguments.length&&typeof arguments[R]=='number')P=arguments[R];var S=P==2?true:false;for(R=0;R<Q.length;R++){if(P==2)S=S&&Q[R](N);else S=S||Q[R](N);}if(!S){if(O!==undefined)alert(O);if(T&&(T.select||T.focus))T.select||T.focus();return false;}return true;};},regex:function(N,O){return function(){var Q=this;var P=Q&&Q.getValue?Q.getValue():arguments[0];if(!N.test(P)){if(O!==undefined)alert(O);if(Q&&(Q.select||Q.focus))if(Q.select)Q.select(); +else Q.focus();return false;}return true;};},notEmpty:function(N){return this.regex(K,N);},integer:function(N){return this.regex(L,N);},number:function(N){return this.regex(M,N);},equals:function(N,O){return this.functions(function(P){return P==N;},O);},notEqual:function(N,O){return this.functions(function(P){return P!=N;},O);}};})();})();e.extend(a.editor.prototype,{openDialog:function(l,m){var n=a.dialog._.dialogDefinitions[l];if(typeof n=='function'){var o=this._.storedDialogs||(this._.storedDialogs={}),p=o[l]||(o[l]=new a.dialog(this,l));m&&m.call(p,p);p.show();return p;}else if(n=='failed')throw new Error('[CKEDITOR.dialog.openDialog] Dialog "'+l+'" failed when loading definition.');var q=a.document.getBody(),r=q.$.style.cursor,s=this;q.setStyle('cursor','wait');a.scriptLoader.load(a.getUrl(n),function(){if(typeof a.dialog._.dialogDefinitions[l]!='function')a.dialog._.dialogDefinitions[l]='failed';s.openDialog(l,m);q.setStyle('cursor',r);});return null;}});j.add('dialog',{requires:['dialogui']});j.add('styles',{requires:['selection']});a.editor.prototype.attachStyleStateChange=function(l,m){var n=this._.styleStateChangeCallbacks;if(!n){n=this._.styleStateChangeCallbacks=[];this.on('selectionChange',function(o){for(var p=0;p<n.length;p++){var q=n[p],r=q.style.checkActive(o.data.path)?1:2;if(q.state!==r){q.fn.call(this,r);q.state!==r;}}});}n.push({style:l,fn:m});};a.STYLE_BLOCK=1;a.STYLE_INLINE=2;a.STYLE_OBJECT=3;(function(){var l={address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1},m={a:1,embed:1,hr:1,img:1,li:1,object:1,ol:1,table:1,td:1,tr:1,ul:1},n=/\s*(?:;\s*|$)/;a.style=function(L,M){if(M){L=e.clone(L);G(L.attributes,M);G(L.styles,M);}var N=this.element=(L.element||'*').toLowerCase();this.type=N=='#'||l[N]?1:m[N]?3:2;this._={definition:L};};a.style.prototype={apply:function(L){K.call(this,L,false);},remove:function(L){K.call(this,L,true);},applyToRange:function(L){var M=this;return(M.applyToRange=M.type==2?o:M.type==1?q:null).call(M,L);},removeFromRange:function(L){return(this.removeFromRange=this.type==2?p:null).call(this,L);},applyToObject:function(L){E(L,this);},checkActive:function(L){switch(this.type){case 1:return this.checkElementRemovable(L.block||L.blockLimit,true);case 2:var M=L.elements;for(var N=0,O;N<M.length;N++){O=M[N];if(O==L.block||O==L.blockLimit)continue;if(this.checkElementRemovable(O,true))return true;}}return false;},checkElementRemovable:function(L,M){if(!L)return false;var N=this._.definition,O;if(L.getName()==this.element){if(!M&&!L.hasAttributes())return true; +O=H(N);if(O._length){for(var P in O){if(P=='_length')continue;var Q=L.getAttribute(P)||'';if(O[P]==(P=='style'?J(Q,false):Q)){if(!M)return true;}else if(M)return false;}if(M)return true;}else return true;}var R=I(this)[L.getName()];if(R){if(!(O=R.attributes))return true;for(var S=0;S<O.length;S++){P=O[S][0];var T=L.getAttribute(P);if(T){var U=O[S][1];if(U===null||typeof U=='string'&&T==U||U.test(T))return true;}}}return false;}};a.style.getStyleText=function(L){var M=L._ST;if(M)return M;M=L.styles;var N=L.attributes&&L.attributes.style||'';if(N.length)N=N.replace(n,';');for(var O in M)N+=(O+':'+M[O]).replace(n,';');if(N.length)N=J(N);return L._ST=N;};function o(L){var al=this;var M=L.document;if(L.collapsed){var N=D(al,M);L.insertNode(N);L.moveToPosition(N,2);return;}var O=al.element,P=al._.definition,Q,R=f[O]||(Q=true,f.span),S=L.createBookmark();L.enlarge(1);L.trim();var T=L.getBoundaryNodes(),U=T.startNode,V=T.endNode.getNextSourceNode(true);if(!V){var W;V=W=M.createText('');V.insertAfter(L.endContainer);}var X=V.getParent();if(X&&X.getAttribute('_fck_bookmark'))V=X;if(V.equals(U)){V=V.getNextSourceNode(true);if(!V){V=W=M.createText('');V.insertAfter(U);}}var Y=U,Z,aa;while(Y){var ab=false;if(Y.equals(V)){Y=null;ab=true;}else{var ac=Y.type,ad=ac==1?Y.getName():null;if(ad&&Y.getAttribute('_fck_bookmark')){Y=Y.getNextSourceNode(true);continue;}if(!ad||R[ad]&&(Y.getPosition(V)|4|0|8)==4+0+8&&(!P.childRule||P.childRule(Y))){var ae=Y.getParent();if(ae&&((ae.getDtd()||f.span)[O]||Q)&&(!P.parentRule||P.parentRule(ae))){if(!Z&&(!ad||!f.$removeEmpty[ad]||(Y.getPosition(V)|4|0|8)==4+0+8)){Z=new d.range(M);Z.setStartBefore(Y);}if(ac==3||ac==1&&!Y.getChildCount()){var af=Y,ag;while(!af.$.nextSibling&&(ag=af.getParent(),R[ag.getName()])&&(ag.getPosition(U)|2|0|8)==2+0+8&&(!P.childRule||P.childRule(ag)))af=ag;Z.setEndAfter(af);if(!af.$.nextSibling)ab=true;if(!aa)aa=ac!=3||/[^\s\ufeff]/.test(Y.getText());}}else ab=true;}else ab=true;Y=Y.getNextSourceNode();}if(ab&&aa&&Z&&!Z.collapsed){var ah=D(al,M),ai=Z.getCommonAncestor();while(ah&&ai){if(ai.getName()==O){for(var aj in P.attributes){if(ah.getAttribute(aj)==ai.getAttribute(aj))ah.removeAttribute(aj);}for(var ak in P.styles){if(ah.getStyle(ak)==ai.getStyle(ak))ah.removeStyle(ak);}if(!ah.hasAttributes()){ah=null;break;}}ai=ai.getParent();}if(ah){Z.extractContents().appendTo(ah);y(al,ah);Z.insertNode(ah);B(ah);if(!c)ah.$.normalize();}Z=null;}}W&&W.remove();L.moveToBookmark(S);};function p(L){L.enlarge(1);var M=L.createBookmark(),N=M.startNode; +if(L.collapsed){var O=new d.elementPath(N.getParent()),P;for(var Q=0,R;Q<O.elements.length&&(R=O.elements[Q]);Q++){if(R==O.block||R==O.blockLimit)break;if(this.checkElementRemovable(R)){var S=L.checkBoundaryOfElement(R,2),T=!S&&L.checkBoundaryOfElement(R,1);if(T||S){P=R;P.match=T?'start':'end';}else{B(R);x(this,R);}}}if(P){var U=N;for(Q=0;true;Q++){var V=O.elements[Q];if(V.equals(P))break;else if(V.match)continue;else V=V.clone();V.append(U);U=V;}U[P.match=='start'?'insertBefore':'insertAfter'](P);}}else{var W=M.endNode,X=this;function Y(){var ab=new d.elementPath(N.getParent()),ac=new d.elementPath(W.getParent()),ad=null,ae=null;for(var af=0;af<ab.elements.length;af++){var ag=ab.elements[af];if(ag==ab.block||ag==ab.blockLimit)break;if(X.checkElementRemovable(ag))ad=ag;}for(af=0;af<ac.elements.length;af++){ag=ac.elements[af];if(ag==ac.block||ag==ac.blockLimit)break;if(X.checkElementRemovable(ag))ae=ag;}if(ae)W.breakParent(ae);if(ad)N.breakParent(ad);};Y();var Z=N.getNext();while(!Z.equals(W)){var aa=Z.getNextSourceNode();if(Z.type==1&&this.checkElementRemovable(Z)){if(Z.getName()==this.element)x(this,Z);else z(Z,I(this)[Z.getName()]);if(aa.type==1&&aa.contains(N)){Y();aa=N.getNext();}}Z=aa;}}L.moveToBookmark(M);};function q(L){var M=L.createBookmark(true),N=L.createIterator();N.enforceRealBlocks=true;var O,P=L.document,Q;while(O=N.getNextParagraph()){var R=D(this,P);r(O,R);}L.moveToBookmark(M);};function r(L,M){var N=M.is('pre'),O=L.is('pre'),P=N&&!O,Q=!N&&O;if(P)M=w(L,M);else if(Q)M=v(t(L),M);else L.moveChildren(M);M.replace(L);if(N)s(M);};function s(L){var M;if(!((M=L.getPreviousSourceNode(true,1))&&M.is&&M.is('pre')))return;var N=u(M.getHtml(),/\n$/,'')+'\n\n'+u(L.getHtml(),/^\n/,'');if(c)L.$.outerHTML='<pre>'+N+'</pre>';else L.setHtml(N);M.remove();};function t(L){var M=/(\S\s*)\n(?:\s|(<span[^>]+_fck_bookmark.*?\/span>))*\n(?!$)/gi,N=L.getName(),O=u(L.getOuterHtml(),M,function(Q,R,S){return R+'</pre>'+S+'<pre>';}),P=[];O.replace(/<pre>([\s\S]*?)<\/pre>/gi,function(Q,R){P.push(R);});return P;};function u(L,M,N){var O='',P='';L=L.replace(/(^<span[^>]+_fck_bookmark.*?\/span>)|(<span[^>]+_fck_bookmark.*?\/span>$)/gi,function(Q,R,S){R&&(O=R);S&&(P=S);return '';});return O+L.replace(M,N)+P;};function v(L,M){var N=new d.documentFragment(M.getDocument());for(var O=0;O<L.length;O++){var P=L[O];P=P.replace(/(\r\n|\r)/g,'\n');P=u(P,/^[ \t]*\n/,'');P=u(P,/\n$/,'');P=u(P,/^[ \t]+|[ \t]+$/g,function(R,S,T){if(R.length==1)return '&nbsp;';else if(!S)return e.repeat('&nbsp;',R.length-1)+' '; +else return ' '+e.repeat('&nbsp;',R.length-1);});P=P.replace(/\n/g,'<br>');P=P.replace(/[ \t]{2,}/g,function(R){return e.repeat('&nbsp;',R.length-1)+' ';});var Q=M.clone();Q.setHtml(P);N.append(Q);}return N;};function w(L,M){var N=L.getHtml();N=u(N,/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,'');N=N.replace(/[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi,'$1');N=N.replace(/([ \t\n\r]+|&nbsp;)/g,' ');N=N.replace(/<br\b[^>]*>/gi,'\n');if(c){var O=L.getDocument().createElement('div');O.append(M);M.$.outerHTML='<pre>'+N+'</pre>';M=O.getFirst().remove();}else M.setHtml(N);return M;};function x(L,M){var N=L._.definition,O=N.attributes,P=N.styles,Q=I(L);function R(){for(var T in O){if(T=='class'&&M.getAttribute(T)!=O[T])continue;M.removeAttribute(T);}};R();for(var S in P)M.removeStyle(S);O=Q[M.getName()];if(O)R();A(M);};function y(L,M){var N=L._.definition,O=N.attributes,P=N.styles,Q=I(L),R=M.getElementsByTag(L.element);for(var S=R.count();--S>=0;)x(L,R.getItem(S));for(var T in Q){if(T!=L.element){R=M.getElementsByTag(T);for(S=R.count()-1;S>=0;S--){var U=R.getItem(S);z(U,Q[T]);}}}};function z(L,M){var N=M&&M.attributes;if(N)for(var O=0;O<N.length;O++){var P=N[O][0],Q;if(Q=L.getAttribute(P)){var R=N[O][1];if(R===null||R.test&&R.test(Q)||typeof R=='string'&&Q==R)L.removeAttribute(P);}}A(L);};function A(L){if(!L.hasAttributes()){var M=L.getFirst(),N=L.getLast();L.remove(true);if(M){B(M);if(N&&!M.equals(N))B(N);}}};function B(L){if(!L||L.type!=1||!f.$removeEmpty[L.getName()])return;C(L,L.getNext(),true);C(L,L.getPrevious());};function C(L,M,N){if(M&&M.type==1){var O=M.getAttribute('_fck_bookmark');if(O)M=N?M.getNext():M.getPrevious();if(M&&M.type==1&&L.isIdentical(M)){var P=N?L.getLast():L.getFirst();if(O)(N?M.getPrevious():M.getNext()).move(L,!N);M.moveChildren(L,!N);M.remove();if(P)B(P);}}};function D(L,M){var N,O=L._.definition,P=L.element;if(P=='*')P='span';N=new h(P,M);return E(N,L);};function E(L,M){var N=M._.definition,O=N.attributes,P=a.style.getStyleText(N);if(O)for(var Q in O)L.setAttribute(Q,O[Q]);if(P)L.setAttribute('style',P);return L;};var F=/#\((.+?)\)/g;function G(L,M){for(var N in L)L[N]=L[N].replace(F,function(O,P){return M[P];});};function H(L){var M=L._AC;if(M)return M;M={};var N=0,O=L.attributes;if(O)for(var P in O){N++;M[P]=O[P];}var Q=a.style.getStyleText(L);if(Q){if(!M.style)N++;M.style=Q;}M._length=N;return L._AC=M;};function I(L){if(L._.overrides)return L._.overrides;var M=L._.overrides={},N=L._.definition.overrides;if(N){if(!e.isArray(N))N=[N];for(var O=0;O<N.length; +O++){var P=N[O],Q,R,S;if(typeof P=='string')Q=P.toLowerCase();else{Q=P.element?P.element.toLowerCase():L.element;S=P.attributes;}R=M[Q]||(M[Q]={});if(S){var T=R.attributes=R.attributes||[];for(var U in S)T.push([U.toLowerCase(),S[U]]);}}}return M;};function J(L,M){var N;if(M!==false){var O=new h('span');O.setAttribute('style',L);N=O.getAttribute('style')||'';}else N=L;return N.replace(/\s*([;:])\s*/,'$1').replace(/([^\s;])$/,'$1;').replace(/,\s+/g,',').toLowerCase();};function K(L,M){var N=L.getSelection(),O=N.getRanges(),P=M?this.removeFromRange:this.applyToRange;for(var Q=0;Q<O.length;Q++)P.call(this,O[Q]);N.selectRanges(O);};})();a.styleCommand=function(l){this.style=l;};a.styleCommand.prototype.exec=function(l){var n=this;l.focus();var m=l.document;if(m)if(n.state==2)n.style.apply(m);else if(n.state==1)n.style.remove(m);return!!m;};a.stylesSet=new a.resourceManager('','stylesSet');a.addStylesSet=e.bind(a.stylesSet.add,a.stylesSet);a.loadStylesSet=function(l,m,n){a.stylesSet.addExternal(l,m,'');a.stylesSet.load(l,n);};j.add('domiterator');(function(){function l(o){var p=this;if(arguments.length<1)return;p.range=o;p.forceBrBreak=false;p.enlargeBr=true;p.enforceRealBlocks=false;p._||(p._={});};var m=/^[\r\n\t ]+$/,n=d.walker.bookmark();l.prototype={getNextParagraph:function(o){var O=this;var p,q,r,s,t;if(!O._.lastNode){q=O.range.clone();q.enlarge(O.forceBrBreak||!O.enlargeBr?3:2);var u=new d.walker(q),v=d.walker.bookmark(true,true);u.evaluator=v;O._.nextNode=u.next();u=new d.walker(q);u.evaluator=v;var w=u.previous();O._.lastNode=w.getNextSourceNode(true);if(O._.lastNode&&O._.lastNode.type==3&&!e.trim(O._.lastNode.getText())&&O._.lastNode.getParent().isBlockBoundary()){var x=new d.range(q.document);x.moveToPosition(O._.lastNode,4);if(x.checkEndOfBlock()){var y=new d.elementPath(x.endContainer),z=y.block||y.blockLimit;O._.lastNode=z.getNextSourceNode(true);}}if(!O._.lastNode){O._.lastNode=O._.docEndMarker=q.document.createText('');O._.lastNode.insertAfter(w);}q=null;}var A=O._.nextNode;w=O._.lastNode;O._.nextNode=null;while(A){var B=false,C=A.type!=1,D=false;if(!C){var E=A.getName();if(A.isBlockBoundary(O.forceBrBreak&&{br:1})){if(E=='br')C=true;else if(!q&&!A.getChildCount()&&E!='hr'){p=A;r=A.equals(w);break;}if(q){q.setEndAt(A,3);if(E!='br')O._.nextNode=A;}B=true;}else{if(A.getFirst()){if(!q){q=new d.range(O.range.document);q.setStartAt(A,3);}A=A.getFirst();continue;}C=true;}}else if(A.type==3)if(m.test(A.getText()))C=false;if(C&&!q){q=new d.range(O.range.document); +q.setStartAt(A,3);}r=(!B||C)&&A.equals(w);if(q&&!B)while(!A.getNext()&&!r){var F=A.getParent();if(F.isBlockBoundary(O.forceBrBreak&&{br:1})){B=true;r=r||F.equals(w);break;}A=F;C=true;r=A.equals(w);D=true;}if(C)q.setEndAt(A,4);A=A.getNextSourceNode(D,null,w);r=!A;if((B||r)&&q){var G=q.getBoundaryNodes(),H=new d.elementPath(q.startContainer);if(G.startNode.getParent().equals(H.blockLimit)&&n(G.startNode)&&n(G.endNode)){q=null;O._.nextNode=null;}else break;}if(r)break;}if(!p){if(!q){O._.docEndMarker&&O._.docEndMarker.remove();O._.nextNode=null;return null;}H=new d.elementPath(q.startContainer);var I=H.blockLimit,J={div:1,th:1,td:1};p=H.block;if(!p&&!O.enforceRealBlocks&&J[I.getName()]&&q.checkStartOfBlock()&&q.checkEndOfBlock())p=I;else if(!p||O.enforceRealBlocks&&p.getName()=='li'){p=O.range.document.createElement(o||'p');q.extractContents().appendTo(p);p.trim();q.insertNode(p);s=t=true;}else if(p.getName()!='li'){if(!q.checkStartOfBlock()||!q.checkEndOfBlock()){p=p.clone(false);q.extractContents().appendTo(p);p.trim();var K=q.splitBlock();s=!K.wasStartOfBlock;t=!K.wasEndOfBlock;q.insertNode(p);}}else if(!r)O._.nextNode=p.equals(w)?null:q.getBoundaryNodes().endNode.getNextSourceNode(true,null,w);}if(s){var L=p.getPrevious();if(L&&L.type==1)if(L.getName()=='br')L.remove();else if(L.getLast()&&L.getLast().$.nodeName.toLowerCase()=='br')L.getLast().remove();}if(t){var M=d.walker.bookmark(false,true),N=p.getLast();if(N&&N.type==1&&N.getName()=='br')if(c||N.getPrevious(M)||N.getNext(M))N.remove();}if(!O._.nextNode)O._.nextNode=r||p.equals(w)?null:p.getNextSourceNode(true,null,w);return p;}};d.range.prototype.createIterator=function(){return new l(this);};})();j.add('panelbutton',{requires:['button'],beforeInit:function(l){l.ui.addHandler(4,k.panelButton.handler);}});a.UI_PANELBUTTON=4;(function(){var l=function(m){var o=this;var n=o._;if(n.state==0)return;o.createPanel(m);if(n.on){n.panel.hide();return;}n.panel.showBlock(o._.id,o.document.getById(o._.id),4);};k.panelButton=e.createClass({base:k.button,$:function(m){var o=this;var n=m.panel;delete m.panel;o.base(m);o.document=n&&n.parent&&n.parent.getDocument()||a.document;n.block={attributes:n.attributes};o.hasArrow=true;o.click=l;o._={panelDefinition:n};},statics:{handler:{create:function(m){return new k.panelButton(m);}}},proto:{createPanel:function(m){var n=this._;if(n.panel)return;var o=this._.panelDefinition||{},p=this._.panelDefinition.block,q=o.parent||a.document.getBody(),r=this._.panel=new k.floatPanel(m,q,o),s=r.addBlock(n.id,p),t=this; +r.onShow=function(){if(t.className)this.element.getFirst().addClass(t.className+'_panel');n.oldState=t._.state;t.setState(1);n.on=1;if(t.onOpen)t.onOpen();};r.onHide=function(){if(t.className)this.element.getFirst().removeClass(t.className+'_panel');t.setState(n.oldState);n.on=0;if(t.onClose)t.onClose();};r.onEscape=function(){r.hide();t.document.getById(n.id).focus();};if(this.onBlock)this.onBlock(r,s);s.onHide=function(){n.on=0;t.setState(2);};}}});})();j.add('floatpanel',{requires:['panel']});(function(){var l={},m=false;function n(o,p,q,r,s){var t=p.getUniqueId()+'-'+q.getUniqueId()+'-'+o.skinName+'-'+o.lang.dir+(o.uiColor&&'-'+o.uiColor||'')+(r.css&&'-'+r.css||'')+(s&&'-'+s||''),u=l[t];if(!u){u=l[t]=new k.panel(p,r);u.element=q.append(h.createFromHtml(u.renderHtml(o),p));u.element.setStyles({display:'none',position:'absolute'});}return u;};k.floatPanel=e.createClass({$:function(o,p,q,r){q.forceIFrame=true;var s=p.getDocument(),t=n(o,s,p,q,r||0),u=t.element,v=u.getFirst().getFirst();this.element=u;this._={panel:t,parentElement:p,definition:q,document:s,iframe:v,children:[],dir:o.lang.dir};},proto:{addBlock:function(o,p){return this._.panel.addBlock(o,p);},addListBlock:function(o,p){return this._.panel.addListBlock(o,p);},getBlock:function(o){return this._.panel.getBlock(o);},showBlock:function(o,p,q,r,s){var t=this._.panel,u=t.showBlock(o);this.allowBlur(false);m=true;var v=this.element,w=this._.iframe,x=this._.definition,y=p.getDocumentPosition(v.getDocument()),z=this._.dir=='rtl',A=y.x+(r||0),B=y.y+(s||0);if(z&&(q==1||q==4))A+=p.$.offsetWidth;else if(!z&&(q==2||q==3))A+=p.$.offsetWidth-1;if(q==3||q==4)B+=p.$.offsetHeight-1;this._.panel._.offsetParentId=p.getId();v.setStyles({top:B+'px',left:'-3000px',opacity:'0',display:''});v.getFirst().removeStyle('width');if(!this._.blurSet){var C=c?w:new d.window(w.$.contentWindow);a.event.useCapture=true;C.on('blur',function(D){var F=this;if(!F.allowBlur())return;var E;if(c&&!F.allowBlur()||(E=D.data.getTarget())&&E.getName&&E.getName()!='iframe')return;if(F.visible&&!F._.activeChild&&!m)F.hide();},this);C.on('focus',function(){this._.focused=true;this.hideChild();this.allowBlur(true);},this);a.event.useCapture=false;this._.blurSet=1;}t.onEscape=e.bind(function(D){if(this.onEscape&&this.onEscape(D)===false)return false;},this);e.setTimeout(function(){if(z)A-=v.$.offsetWidth;var D=e.bind(function(){var E=v.getFirst();if(u.autoSize){var F=u.element.$;if(b.gecko||b.opera)F=F.parentNode;if(c)F=F.document.body;var G=F.scrollWidth; +if(c&&b.quirks&&G>0)G+=(E.$.offsetWidth||0)-(E.$.clientWidth||0);G+=4;E.setStyle('width',G+'px');u.element.addClass('cke_frameLoaded');var H=u.element.$.scrollHeight;if(c&&b.quirks&&H>0)H+=(E.$.offsetHeight||0)-(E.$.clientHeight||0);E.setStyle('height',H+'px');t._.currentBlock.element.setStyle('display','none').removeStyle('display');}else E.removeStyle('height');var I=t.element,J=I.getWindow(),K=J.getScrollPosition(),L=J.getViewPaneSize(),M={height:I.$.offsetHeight,width:I.$.offsetWidth};if(z?A<0:A+M.width>L.width+K.x)A+=M.width*(z?1:-1);if(B+M.height>L.height+K.y)B-=M.height;v.setStyles({top:B+'px',left:A+'px',opacity:'1'});},this);t.isLoaded?D():t.onLoad=D;e.setTimeout(function(){w.$.contentWindow.focus();this.allowBlur(true);},0,this);},0,this);this.visible=1;if(this.onShow)this.onShow.call(this);m=false;},hide:function(){var o=this;if(o.visible&&(!o.onHide||o.onHide.call(o)!==true)){o.hideChild();o.element.setStyle('display','none');o.visible=0;}},allowBlur:function(o){var p=this._.panel;if(o!=undefined)p.allowBlur=o;return p.allowBlur;},showAsChild:function(o,p,q,r,s,t){if(this._.activeChild==o&&o._.panel._.offsetParentId==q.getId())return;this.hideChild();o.onHide=e.bind(function(){e.setTimeout(function(){if(!this._.focused)this.hide();},0,this);},this);this._.activeChild=o;this._.focused=false;o.showBlock(p,q,r,s,t);if(b.ie7Compat||b.ie8&&b.ie6Compat)setTimeout(function(){o.element.getChild(0).$.style.cssText+='';},100);},hideChild:function(){var o=this._.activeChild;if(o){delete o.onHide;delete this._.activeChild;o.hide();}}}});a.on('instanceDestroyed',function(){var o=e.isEmpty(a.instances);for(var p in l){var q=l[p];if(o)q.destroy();else q.element.hide();}o&&(l={});});})();j.add('menu',{beforeInit:function(l){var m=l.config.menu_groups.split(','),n=l._.menuGroups={},o=l._.menuItems={};for(var p=0;p<m.length;p++)n[m[p]]=p+1;l.addMenuGroup=function(q,r){n[q]=r||100;};l.addMenuItem=function(q,r){if(n[r.group])o[q]=new a.menuItem(this,q,r);};l.addMenuItems=function(q){for(var r in q)this.addMenuItem(r,q[r]);};l.getMenuItem=function(q){return o[q];};},requires:['floatpanel']});(function(){a.menu=e.createClass({$:function(m,n){var q=this;n=q._.definition=n||{};q.id='cke_'+e.getNextNumber();q.editor=m;q.items=[];q._.level=n.level||1;var o=e.extend({},n.panel,{css:m.skin.editor.css,level:q._.level-1,block:{}}),p=o.block.attributes=o.attributes||{};!p.role&&(p.role='menu');q._.panelDefinition=o;},_:{showSubMenu:function(m){var u=this;var n=u._.subMenu,o=u.items[m],p=o.getItems&&o.getItems(); +if(!p){u._.panel.hideChild();return;}var q=u._.panel.getBlock(u.id);q._.focusIndex=m;if(n)n.removeAll();else{n=u._.subMenu=new a.menu(u.editor,e.extend({},u._.definition,{level:u._.level+1},true));n.parent=u;n.onClick=e.bind(u.onClick,u);n.onEscape=u.onEscape;}for(var r in p){var s=u.editor.getMenuItem(r);if(s){s.state=p[r];n.add(s);}}var t=u._.panel.getBlock(u.id).element.getDocument().getById(u.id+String(m));n.show(t,2);}},proto:{add:function(m){if(!m.order)m.order=this.items.length;this.items.push(m);},removeAll:function(){this.items=[];},show:function(m,n,o,p){var q=this.items,r=this.editor,s=this._.panel,t=this._.element;if(!s){s=this._.panel=new k.floatPanel(this.editor,a.document.getBody(),this._.panelDefinition,this._.level);s.onEscape=e.bind(function(C){if(this.onEscape&&this.onEscape(C)===false)return false;},this);s.onHide=e.bind(function(){this.onHide&&this.onHide();},this);var u=s.addBlock(this.id,this._.panelDefinition.block);u.autoSize=true;var v=u.keys;v[40]='next';v[9]='next';v[38]='prev';v[2000+9]='prev';v[32]='click';v[r.lang.dir=='rtl'?37:39]='click';t=this._.element=u.element;t.addClass(r.skinClass);var w=t.getDocument();w.getBody().setStyle('overflow','hidden');w.getElementsByTag('html').getItem(0).setStyle('overflow','hidden');this._.itemOverFn=e.addFunction(function(C){var D=this;clearTimeout(D._.showSubTimeout);D._.showSubTimeout=e.setTimeout(D._.showSubMenu,r.config.menu_subMenuDelay,D,[C]);},this);this._.itemOutFn=e.addFunction(function(C){clearTimeout(this._.showSubTimeout);},this);this._.itemClickFn=e.addFunction(function(C){var E=this;var D=E.items[C];if(D.state==0){E.hide();return;}if(D.getItems)E._.showSubMenu(C);else E.onClick&&E.onClick(D);},this);}l(q);var x=['<div class="cke_menu" role="presentation">'],y=q.length,z=y&&q[0].group;for(var A=0;A<y;A++){var B=q[A];if(z!=B.group){x.push('<div class="cke_menuseparator" role="separator"></div>');z=B.group;}B.render(this,A,x);}x.push('</div>');t.setHtml(x.join(''));if(this.parent)this.parent._.panel.showAsChild(s,this.id,m,n,o,p);else s.showBlock(this.id,m,n,o,p);r.fire('menuShow',[s]);},hide:function(){this._.panel&&this._.panel.hide();}}});function l(m){m.sort(function(n,o){if(n.group<o.group)return-1;else if(n.group>o.group)return 1;return n.order<o.order?-1:n.order>o.order?1:0;});};})();a.menuItem=e.createClass({$:function(l,m,n){var o=this;e.extend(o,n,{order:0,className:'cke_button_'+m});o.group=l._.menuGroups[o.group];o.editor=l;o.name=m;},proto:{render:function(l,m,n){var u=this; +var o=l.id+String(m),p=typeof u.state=='undefined'?2:u.state,q=' cke_'+(p==1?'on':p==0?'disabled':'off'),r=u.label;if(u.className)q+=' '+u.className;var s=u.getItems;n.push('<span class="cke_menuitem"><a id="',o,'" class="',q,'" href="javascript:void(\'',(u.label||'').replace("'",''),'\')" title="',u.label,'" tabindex="-1"_cke_focus=1 hidefocus="true" role="menuitem"'+(s?'aria-haspopup="true"':'')+(p==0?'aria-disabled="true"':'')+(p==1?'aria-pressed="true"':''));if(b.opera||b.gecko&&b.mac)n.push(' onkeypress="return false;"');if(b.gecko)n.push(' onblur="this.style.cssText = this.style.cssText;"');var t=(u.iconOffset||0)*-16;n.push(' onmouseover="CKEDITOR.tools.callFunction(',l._.itemOverFn,',',m,');" onmouseout="CKEDITOR.tools.callFunction(',l._.itemOutFn,',',m,');" onclick="CKEDITOR.tools.callFunction(',l._.itemClickFn,',',m,'); return false;"><span class="cke_icon_wrapper"><span class="cke_icon"'+(u.icon?' style="background-image:url('+a.getUrl(u.icon)+');background-position:0 '+t+'px;"':'')+'></span></span>'+'<span class="cke_label">');if(s)n.push('<span class="cke_menuarrow">','<span>&#',u.editor.lang.dir=='rtl'?'9668':'9658',';</span>','</span>');n.push(r,'</span></a></span>');}}});i.menu_subMenuDelay=400;i.menu_groups='clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea,div';(function(){var l=function(n,o){return n._.modes&&n._.modes[o||n.mode];},m;j.add('editingblock',{init:function(n){if(!n.config.editingBlock)return;n.on('themeSpace',function(o){if(o.data.space=='contents')o.data.html+='<br>';});n.on('themeLoaded',function(){n.fireOnce('editingBlockReady');});n.on('uiReady',function(){n.setMode(n.config.startupMode);});n.on('afterSetData',function(){if(!m){function o(){m=true;l(n).loadData(n.getData());m=false;};if(n.mode)o();else n.on('mode',function(){o();n.removeListener('mode',arguments.callee);});}});n.on('beforeGetData',function(){if(!m&&n.mode){m=true;n.setData(l(n).getData());m=false;}});n.on('getSnapshot',function(o){if(n.mode)o.data=l(n).getSnapshotData();});n.on('loadSnapshot',function(o){if(n.mode)l(n).loadSnapshotData(o.data);});n.on('mode',function(o){o.removeListener();if(n.config.startupFocus)n.focus();setTimeout(function(){n.fireOnce('instanceReady');a.fire('instanceReady',null,n);});});}});a.editor.prototype.mode='';a.editor.prototype.addMode=function(n,o){o.name=n;(this._.modes||(this._.modes={}))[n]=o;};a.editor.prototype.setMode=function(n){var o,p=this.getThemeSpace('contents'),q=this.checkDirty(); +if(this.mode){if(n==this.mode)return;this.fire('beforeModeUnload');var r=l(this);o=r.getData();r.unload(p);this.mode='';}p.setHtml('');var s=l(this,n);if(!s)throw '[CKEDITOR.editor.setMode] Unknown mode "'+n+'".';if(!q)this.on('mode',function(){this.resetDirty();this.removeListener('mode',arguments.callee);});s.load(p,typeof o!='string'?this.getData():o);};a.editor.prototype.focus=function(){var n=l(this);if(n)n.focus();};})();i.startupMode='wysiwyg';i.startupFocus=false;i.editingBlock=true;(function(){function l(){var v=this;try{var s=v.getSelection();if(!s)return;var t=s.getStartElement(),u=new d.elementPath(t);if(!u.compare(v._.selectionPreviousPath)){v._.selectionPreviousPath=u;v.fire('selectionChange',{selection:s,path:u,element:t});}}catch(w){}};var m,n;function o(){n=true;if(m)return;p.call(this);m=e.setTimeout(p,200,this);};function p(){m=null;if(n){e.setTimeout(l,0,this);n=false;}};var q={exec:function(s){switch(s.mode){case 'wysiwyg':s.document.$.execCommand('SelectAll',false,null);break;case 'source':}},canUndo:false};j.add('selection',{init:function(s){s.on('contentDom',function(){var t=s.document,u=t.getBody();if(c){var v,w;u.on('focusin',function(){if(v){try{v.select();}catch(z){}v=null;}});s.window.on('focus',function(){w=true;y();});u.on('beforedeactivate',function(){w=false;});u.on('mousedown',x);u.on('mouseup',function(){w=true;setTimeout(function(){y(true);},0);});u.on('keydown',x);u.on('keyup',function(){w=true;y();});t.on('selectionchange',y);function x(){w=false;};function y(z){if(w){var A=s.document,B=A&&A.$.selection;if(z&&B&&B.type=='None')if(!A.$.queryCommandEnabled('InsertImage')){e.setTimeout(y,50,this,true);return;}v=B&&B.createRange();o.call(s);}};}else{t.on('mouseup',o,s);t.on('keyup',o,s);}});s.addCommand('selectAll',q);s.ui.addButton('SelectAll',{label:s.lang.selectAll,command:'selectAll'});s.selectionChange=o;}});a.editor.prototype.getSelection=function(){return this.document&&this.document.getSelection();};a.editor.prototype.forceNextSelectionCheck=function(){delete this._.selectionPreviousPath;};g.prototype.getSelection=function(){var s=new d.selection(this);return!s||s.isInvalid?null:s;};a.SELECTION_NONE=1;a.SELECTION_TEXT=2;a.SELECTION_ELEMENT=3;d.selection=function(s){var v=this;var t=s.getCustomData('cke_locked_selection');if(t)return t;v.document=s;v.isLocked=false;v._={cache:{}};if(c){var u=v.getNative().createRange();if(!u||u.item&&u.item(0).ownerDocument!=v.document.$||u.parentElement&&u.parentElement().ownerDocument!=v.document.$)v.isInvalid=true; +}return v;};var r={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};d.selection.prototype={getNative:c?function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.$.selection);}:function(){return this._.cache.nativeSel||(this._.cache.nativeSel=this.document.getWindow().$.getSelection());},getType:c?function(){var s=this._.cache;if(s.type)return s.type;var t=1;try{var u=this.getNative(),v=u.type;if(v=='Text')t=2;if(v=='Control')t=3;if(u.createRange().parentElement)t=2;}catch(w){}return s.type=t;}:function(){var s=this._.cache;if(s.type)return s.type;var t=2,u=this.getNative();if(!u)t=1;else if(u.rangeCount==1){var v=u.getRangeAt(0),w=v.startContainer;if(w==v.endContainer&&w.nodeType==1&&v.endOffset-v.startOffset==1&&r[w.childNodes[v.startOffset].nodeName.toLowerCase()])t=3;}return s.type=t;},getRanges:c?(function(){var s=function(t,u){t=t.duplicate();t.collapse(u);var v=t.parentElement(),w=v.childNodes,x;for(var y=0;y<w.length;y++){var z=w[y];if(z.nodeType==1){x=t.duplicate();x.moveToElementText(z);var A=x.compareEndPoints('StartToStart',t),B=x.compareEndPoints('EndToStart',t);x.collapse();if(A>0)break;else if(!A||B==1&&A==-1)return{container:v,offset:y};else if(!B)return{container:v,offset:y+1};x=null;}}if(!x){x=t.duplicate();x.moveToElementText(v);x.collapse(false);}x.setEndPoint('StartToStart',t);var C=x.text.replace(/(\r\n|\r)/g,'\n').length;try{while(C>0)C-=w[--y].nodeValue.length;}catch(D){C=0;}if(C===0)return{container:v,offset:y};else return{container:w[y],offset:-C};};return function(){var E=this;var t=E._.cache;if(t.ranges)return t.ranges;var u=E.getNative(),v=u&&u.createRange(),w=E.getType(),x;if(!u)return[];if(w==2){x=new d.range(E.document);var y=s(v,true);x.setStart(new d.node(y.container),y.offset);y=s(v);x.setEnd(new d.node(y.container),y.offset);return t.ranges=[x];}else if(w==3){var z=E._.cache.ranges=[];for(var A=0;A<v.length;A++){var B=v.item(A),C=B.parentNode,D=0;x=new d.range(E.document);for(;D<C.childNodes.length&&C.childNodes[D]!=B;D++){}x.setStart(new d.node(C),D);x.setEnd(new d.node(C),D+1);z.push(x);}return z;}return t.ranges=[];};})():function(){var s=this._.cache;if(s.ranges)return s.ranges;var t=[],u=this.getNative();if(!u)return[];for(var v=0;v<u.rangeCount;v++){var w=u.getRangeAt(v),x=new d.range(this.document);x.setStart(new d.node(w.startContainer),w.startOffset);x.setEnd(new d.node(w.endContainer),w.endOffset); +t.push(x);}return s.ranges=t;},getStartElement:function(){var z=this;var s=z._.cache;if(s.startElement!==undefined)return s.startElement;var t,u=z.getNative();switch(z.getType()){case 3:return z.getSelectedElement();case 2:var v=z.getRanges()[0];if(v)if(!v.collapsed){v.optimize();for(;;){var w=v.startContainer,x=v.startOffset;if(x==(w.getChildCount?w.getChildCount():w.getLength())&&!w.isBlockBoundary())v.setStartAfter(w);else break;}t=v.startContainer;if(t.type!=1)return t.getParent();t=t.getChild(v.startOffset);if(!t||t.type!=1)return v.startContainer;var y=t.getFirst();while(y&&y.type==1){t=y;y=y.getFirst();}return t;}if(c){v=u.createRange();v.collapse(true);t=v.parentElement();}else{t=u.anchorNode;if(t&&t.nodeType!=1)t=t.parentNode;}}return s.startElement=t?new h(t):null;},getSelectedElement:function(){var s=this._.cache;if(s.selectedElement!==undefined)return s.selectedElement;var t;if(this.getType()==3){var u=this.getNative();if(c)try{t=u.createRange().item(0);}catch(w){}else{var v=u.getRangeAt(0);t=v.startContainer.childNodes[v.startOffset];}}return s.selectedElement=t?new h(t):null;},lock:function(){var s=this;s.getRanges();s.getStartElement();s.getSelectedElement();s._.cache.nativeSel={};s.isLocked=true;s.document.setCustomData('cke_locked_selection',s);},unlock:function(s){var x=this;var t=x.document,u=t.getCustomData('cke_locked_selection');if(u){t.setCustomData('cke_locked_selection',null);if(s){var v=u.getSelectedElement(),w=!v&&u.getRanges();x.isLocked=false;x.reset();t.getBody().focus();if(v)x.selectElement(v);else x.selectRanges(w);}}if(!u||!s){x.isLocked=false;x.reset();}},reset:function(){this._.cache={};},selectElement:function(s){var v=this;if(v.isLocked){var t=new d.range(v.document);t.setStartBefore(s);t.setEndAfter(s);v._.cache.selectedElement=s;v._.cache.startElement=s;v._.cache.ranges=[t];v._.cache.type=3;return;}if(c){v.getNative().empty();try{t=v.document.$.body.createControlRange();t.addElement(s.$);t.select();}catch(w){t=v.document.$.body.createTextRange();t.moveToElementText(s.$);t.select();}v.reset();}else{t=v.document.$.createRange();t.selectNode(s.$);var u=v.getNative();u.removeAllRanges();u.addRange(t);v.reset();}},selectRanges:function(s){var y=this;if(y.isLocked){y._.cache.selectedElement=null;y._.cache.startElement=s[0].getTouchedStartNode();y._.cache.ranges=s;y._.cache.type=2;return;}if(c){if(s[0])s[0].select();y.reset();}else{var t=y.getNative();t.removeAllRanges();for(var u=0;u<s.length;u++){var v=s[u],w=y.document.$.createRange(),x=v.startContainer; +if(v.collapsed&&b.gecko&&b.version<10900&&x.type==1&&!x.getChildCount())x.appendText('');w.setStart(x.$,v.startOffset);w.setEnd(v.endContainer.$,v.endOffset);t.addRange(w);}y.reset();}},createBookmarks:function(s){var t=[],u=this.getRanges(),v=u.length,w;for(var x=0;x<v;x++){t.push(w=u[x].createBookmark(s,true));s=w.serializable;var y=s?this.document.getById(w.startNode):w.startNode,z=s?this.document.getById(w.endNode):w.endNode;for(var A=x+1;A<v;A++){var B=u[A],C=B.startContainer,D=B.endContainer;C.equals(y.getParent())&&B.startOffset++;C.equals(z.getParent())&&B.startOffset++;D.equals(y.getParent())&&B.endOffset++;D.equals(z.getParent())&&B.endOffset++;}}return t;},createBookmarks2:function(s){var t=[],u=this.getRanges();for(var v=0;v<u.length;v++)t.push(u[v].createBookmark2(s));return t;},selectBookmarks:function(s){var t=[];for(var u=0;u<s.length;u++){var v=new d.range(this.document);v.moveToBookmark(s[u]);t.push(v);}this.selectRanges(t);return this;},getCommonAncestor:function(){var s=this.getRanges(),t=s[0].startContainer,u=s[s.length-1].endContainer;return t.getCommonAncestor(u);},scrollIntoView:function(){var s=this.getStartElement();s.scrollIntoView();}};})();(function(){var l=d.walker.whitespaces(true),m=/\ufeff|\u00a0/;d.range.prototype.select=c?function(n){var x=this;var o=x.collapsed,p,q,r=x.createBookmark(),s=r.startNode,t;if(!o)t=r.endNode;var u=x.document.$.body.createTextRange();u.moveToElementText(s.$);u.moveStart('character',1);if(t){var v=x.document.$.body.createTextRange();v.moveToElementText(t.$);u.setEndPoint('EndToEnd',v);u.moveEnd('character',-1);}else{var w=s.getNext(l);p=!(w&&w.getText&&w.getText().match(m))&&(n||!s.hasPrevious()||s.getPrevious().is&&s.getPrevious().is('br'));q=x.document.createElement('span');q.setHtml('&#65279;');q.insertBefore(s);if(p)x.document.createText('').insertBefore(s);}x.setStartBefore(s);s.remove();if(o){if(p){u.moveStart('character',-1);u.select();x.document.$.selection.clear();}else u.select();q.remove();}else{x.setEndBefore(t);t.remove();u.select();}}:function(){var q=this;var n=q.startContainer;if(q.collapsed&&n.type==1&&!n.getChildCount())n.append(new d.text(''));var o=q.document.$.createRange();o.setStart(n.$,q.startOffset);try{o.setEnd(q.endContainer.$,q.endOffset);}catch(r){if(r.toString().indexOf('NS_ERROR_ILLEGAL_VALUE')>=0){q.collapse(true);o.setEnd(q.endContainer.$,q.endOffset);}else throw r;}var p=q.document.getSelection().getNative();p.removeAllRanges();p.addRange(o);};})();(function(){var l={elements:{$:function(m){var n=m.attributes,o=n&&n._cke_realelement,p=o&&new a.htmlParser.fragment.fromHtml(decodeURIComponent(o)),q=p&&p.children[0]; +if(q&&m.attributes._cke_resizable){var r=m.attributes.style;if(r){var s=/(?:^|\s)width\s*:\s*(\d+)/i.exec(r),t=s&&s[1];s=/(?:^|\s)height\s*:\s*(\d+)/i.exec(r);var u=s&&s[1];if(t)q.attributes.width=t;if(u)q.attributes.height=u;}}return q;}}};j.add('fakeobjects',{requires:['htmlwriter'],afterInit:function(m){var n=m.dataProcessor,o=n&&n.htmlFilter;if(o)o.addRules(l);}});})();a.editor.prototype.createFakeElement=function(l,m,n,o){var p=this.lang.fakeobjects,q={'class':m,src:a.getUrl('images/spacer.gif'),_cke_realelement:encodeURIComponent(l.getOuterHtml()),_cke_real_node_type:l.type,alt:p[n]||p.unknown};if(n)q._cke_real_element_type=n;if(o)q._cke_resizable=o;return this.document.createElement('img',{attributes:q});};a.editor.prototype.createFakeParserElement=function(l,m,n,o){var p=this.lang.fakeobjects,q,r=new a.htmlParser.basicWriter();l.writeHtml(r);q=r.getHtml();var s={'class':m,src:a.getUrl('images/spacer.gif'),_cke_realelement:encodeURIComponent(q),_cke_real_node_type:l.type,alt:p[n]||p.unknown};if(n)s._cke_real_element_type=n;if(o)s._cke_resizable=o;return new a.htmlParser.element('img',s);};a.editor.prototype.restoreRealElement=function(l){if(l.getAttribute('_cke_real_node_type')!=1)return null;return h.createFromHtml(decodeURIComponent(l.getAttribute('_cke_realelement')),this.document);};j.add('richcombo',{requires:['floatpanel','listblock','button'],beforeInit:function(l){l.ui.addHandler(3,k.richCombo.handler);}});a.UI_RICHCOMBO=3;k.richCombo=e.createClass({$:function(l){var n=this;e.extend(n,l,{title:l.label,modes:{wysiwyg:1}});var m=n.panel||{};delete n.panel;n.id=e.getNextNumber();n.document=m&&m.parent&&m.parent.getDocument()||a.document;m.className=(m.className||'')+' cke_rcombopanel';m.block={multiSelect:m.multiSelect,attributes:m.attributes};n._={panelDefinition:m,items:{},state:2};},statics:{handler:{create:function(l){return new k.richCombo(l);}}},proto:{renderHtml:function(l){var m=[];this.render(l,m);return m.join('');},render:function(l,m){var n=b,o='cke_'+this.id,p=e.addFunction(function(s){var v=this;var t=v._;if(t.state==0)return;v.createPanel(l);if(t.on){t.panel.hide();return;}if(!t.committed){t.list.commit();t.committed=1;}var u=v.getValue();if(u)t.list.mark(u);else t.list.unmarkAll();t.panel.showBlock(v.id,new h(s),4);},this),q={id:o,combo:this,focus:function(){var s=a.document.getById(o).getChild(1);s.focus();},execute:p};l.on('mode',function(){this.setState(this.modes[l.mode]?2:0);},this);var r=e.addFunction(function(s,t){s=new d.event(s); +var u=s.getKeystroke();switch(u){case 13:case 32:case 40:e.callFunction(p,t);break;default:q.onkey(q,u);}s.preventDefault();});m.push('<span class="cke_rcombo">','<span id=',o);if(this.className)m.push(' class="',this.className,' cke_off"');m.push('>','<span id="'+o+'_label" class=cke_label>',this.label,'</span>','<a hidefocus=true title="',this.title,'" tabindex="-1"',n.gecko&&n.version>=10900&&!n.hc?'':" href=\"javascript:void('"+this.label+"')\"",' role="button" aria-labelledby="',o,'_label" aria-describedby="',o,'_text" aria-haspopup="true"');if(b.opera||b.gecko&&b.mac)m.push(' onkeypress="return false;"');if(b.gecko)m.push(' onblur="this.style.cssText = this.style.cssText;"');m.push(' onkeydown="CKEDITOR.tools.callFunction( ',r,', event, this );" onclick="CKEDITOR.tools.callFunction(',p,', this); return false;"><span><span id="'+o+'_text" class="cke_text cke_inline_label">'+this.label+'</span>'+'</span>'+'<span class=cke_openbutton>'+(b.hc?'<span>&#9660;</span>':'')+'</span>'+'</a>'+'</span>'+'</span>');if(this.onRender)this.onRender();return q;},createPanel:function(l){if(this._.panel)return;var m=this._.panelDefinition,n=this._.panelDefinition.block,o=m.parent||a.document.getBody(),p=new k.floatPanel(l,o,m),q=p.addListBlock(this.id,n),r=this;p.onShow=function(){if(r.className)this.element.getFirst().addClass(r.className+'_panel');r.setState(1);q.focus(!r.multiSelect&&r.getValue());r._.on=1;if(r.onOpen)r.onOpen();};p.onHide=function(){if(r.className)this.element.getFirst().removeClass(r.className+'_panel');r.setState(2);r._.on=0;if(r.onClose)r.onClose();};p.onEscape=function(){p.hide();r.document.getById('cke_'+r.id).getFirst().getNext().focus();};q.onClick=function(s,t){r.document.getWindow().focus();if(r.onClick)r.onClick.call(r,s,t);if(t)r.setValue(s,r._.items[s]);else r.setValue('');p.hide();};this._.panel=p;this._.list=q;p.getBlock(this.id).onHide=function(){r._.on=0;r.setState(2);};if(this.init)this.init();},setValue:function(l,m){var o=this;o._.value=l;var n=o.document.getById('cke_'+o.id+'_text');if(!(l||m)){m=o.label;n.addClass('cke_inline_label');}else n.removeClass('cke_inline_label');n.setHtml(typeof m!='undefined'?m:l);},getValue:function(){return this._.value||'';},unmarkAll:function(){this._.list.unmarkAll();},mark:function(l){this._.list.mark(l);},hideItem:function(l){this._.list.hideItem(l);},hideGroup:function(l){this._.list.hideGroup(l);},showAll:function(){this._.list.showAll();},add:function(l,m,n){this._.items[l]=n||l;this._.list.add(l,m,n); +},startGroup:function(l){this._.list.startGroup(l);},commit:function(){this._.list.commit();},setState:function(l){var m=this;if(m._.state==l)return;m.document.getById('cke_'+m.id).setState(l);m._.state=l;}}});k.prototype.addRichCombo=function(l,m){this.add(l,3,m);};j.add('htmlwriter');a.htmlWriter=e.createClass({base:a.htmlParser.basicWriter,$:function(){var n=this;n.base();n.indentationChars='\t';n.selfClosingEnd=' />';n.lineBreakChars='\n';n.forceSimpleAmpersand=false;n.sortAttributes=true;n._.indent=false;n._.indentation='';n._.rules={};var l=f;for(var m in e.extend({},l.$nonBodyContent,l.$block,l.$listItem,l.$tableContent))n.setRules(m,{indent:true,breakBeforeOpen:true,breakAfterOpen:true,breakBeforeClose:!l[m]['#'],breakAfterClose:true});n.setRules('br',{breakAfterOpen:true});n.setRules('title',{indent:false,breakAfterOpen:false});n.setRules('style',{indent:false,breakBeforeClose:true});n.setRules('pre',{indent:false});},proto:{openTag:function(l,m){var o=this;var n=o._.rules[l];if(o._.indent)o.indentation();else if(n&&n.breakBeforeOpen){o.lineBreak();o.indentation();}o._.output.push('<',l);},openTagClose:function(l,m){var o=this;var n=o._.rules[l];if(m)o._.output.push(o.selfClosingEnd);else{o._.output.push('>');if(n&&n.indent)o._.indentation+=o.indentationChars;}if(n&&n.breakAfterOpen)o.lineBreak();},attribute:function(l,m){if(typeof m=='string'){this.forceSimpleAmpersand&&(m=m.replace(/&amp;/g,'&'));m=m.replace(/"/g,'&quot;');}this._.output.push(' ',l,'="',m,'"');},closeTag:function(l){var n=this;var m=n._.rules[l];if(m&&m.indent)n._.indentation=n._.indentation.substr(n.indentationChars.length);if(n._.indent)n.indentation();else if(m&&m.breakBeforeClose){n.lineBreak();n.indentation();}n._.output.push('</',l,'>');if(m&&m.breakAfterClose)n.lineBreak();},text:function(l){if(this._.indent){this.indentation();l=e.ltrim(l);}this._.output.push(l);},comment:function(l){if(this._.indent)this.indentation();this._.output.push('<!--',l,'-->');},lineBreak:function(){var l=this;if(l._.output.length>0)l._.output.push(l.lineBreakChars);l._.indent=true;},indentation:function(){this._.output.push(this._.indentation);this._.indent=false;},setRules:function(l,m){var n=this._.rules[l];if(n)e.extend(n,m,true);else this._.rules[l]=m;}}});j.add('menubutton',{requires:['button','contextmenu'],beforeInit:function(l){l.ui.addHandler(5,k.menuButton.handler);}});a.UI_MENUBUTTON=5;(function(){var l=function(m){var n=this._;if(n.state===0)return;n.previousState=n.state;var o=n.menu; +if(!o){o=n.menu=new j.contextMenu(m);o.onHide=e.bind(function(){this.setState(n.previousState);},this);if(this.onMenu)o.addListener(this.onMenu);}if(n.on){o.hide();return;}this.setState(1);o.show(a.document.getById(this._.id),4);};k.menuButton=e.createClass({base:k.button,$:function(m){var n=m.panel;delete m.panel;this.base(m);this.hasArrow=true;this.click=l;},statics:{handler:{create:function(m){return new k.menuButton(m);}}}});})();j.add('dialogui');(function(){var l=function(t){var w=this;w._||(w._={});w._['default']=w._.initValue=t['default']||'';w._.required=t.required||false;var u=[w._];for(var v=1;v<arguments.length;v++)u.push(arguments[v]);u.push(true);e.extend.apply(e,u);return w._;},m={build:function(t,u,v){return new k.dialog.textInput(t,u,v);}},n={build:function(t,u,v){return new k.dialog[u.type](t,u,v);}},o={build:function(t,u,v){var w=u.children,x,y=[],z=[];for(var A=0;A<w.length&&(x=w[A]);A++){var B=[];y.push(B);z.push(a.dialog._.uiElementBuilders[x.type].build(t,x,B));}return new k.dialog[u.type](t,z,y,v,u);}},p={isChanged:function(){return this.getValue()!=this.getInitValue();},reset:function(){this.setValue(this.getInitValue());},setInitValue:function(){this._.initValue=this.getValue();},resetInitValue:function(){this._.initValue=this._['default'];},getInitValue:function(){return this._.initValue;}},q=e.extend({},k.dialog.uiElement.prototype.eventProcessors,{onChange:function(t,u){if(!this._.domOnChangeRegistered){t.on('load',function(){this.getInputElement().on('change',function(){this.fire('change',{value:this.getValue()});},this);},this);this._.domOnChangeRegistered=true;}this.on('change',u);}},true),r=/^on([A-Z]\w+)/,s=function(t){for(var u in t){if(r.test(u)||u=='title'||u=='type')delete t[u];}return t;};e.extend(k.dialog,{labeledElement:function(t,u,v,w){if(arguments.length<4)return;var x=l.call(this,u);x.labelId=e.getNextNumber()+'_label';var y=this._.children=[],z=function(){var A=[];if(u.labelLayout!='horizontal')A.push('<label class="cke_dialog_ui_labeled_label" ',' id="'+x.labelId+'"',' for="'+x.inputId+'"',' style="'+u.labelStyle+'">',u.label,'</label>','<div class="cke_dialog_ui_labeled_content" role="presentation">',w.call(this,t,u),'</div>');else{var B={type:'hbox',widths:u.widths,padding:0,children:[{type:'html',html:'<label class="cke_dialog_ui_labeled_label" id="'+x.labelId+'"'+' for="'+x.inputId+'"'+' style="'+u.labelStyle+'">'+e.htmlEncode(u.label)+'</span>'},{type:'html',html:'<span class="cke_dialog_ui_labeled_content">'+w.call(this,t,u)+'</span>'}]}; +a.dialog._.uiElementBuilders.hbox.build(t,B,A);}return A.join('');};k.dialog.uiElement.call(this,t,u,v,'div',null,{role:'presentation'},z);},textInput:function(t,u,v){if(arguments.length<3)return;l.call(this,u);var w=this._.inputId=e.getNextNumber()+'_textInput',x={'class':'cke_dialog_ui_input_'+u.type,id:w,type:'text'},y;if(u.validate)this.validate=u.validate;if(u.maxLength)x.maxlength=u.maxLength;if(u.size)x.size=u.size;var z=this,A=false;t.on('load',function(){z.getInputElement().on('keydown',function(C){if(C.data.getKeystroke()==13)A=true;});z.getInputElement().on('keyup',function(C){if(C.data.getKeystroke()==13&&A){t.getButton('ok')&&setTimeout(function(){t.getButton('ok').click();},0);A=false;}},null,null,1000);});var B=function(){var C=['<div class="cke_dialog_ui_input_',u.type,'" role="presentation"'];if(u.width)C.push('style="width:'+u.width+'" ');C.push('><input ');x['aria-labelledby']=this._.labelId;this._.required&&(x['aria-required']=this._.required);for(var D in x)C.push(D+'="'+x[D]+'" ');C.push(' /></div>');return C.join('');};k.dialog.labeledElement.call(this,t,u,v,B);},textarea:function(t,u,v){if(arguments.length<3)return;l.call(this,u);var w=this,x=this._.inputId=e.getNextNumber()+'_textarea',y={};if(u.validate)this.validate=u.validate;y.rows=u.rows||5;y.cols=u.cols||20;var z=function(){y['aria-labelledby']=this._.labelId;this._.required&&(y['aria-required']=this._.required);var A=['<div class="cke_dialog_ui_input_textarea" role="presentation"><textarea class="cke_dialog_ui_input_textarea" id="',x,'" '];for(var B in y)A.push(B+'="'+e.htmlEncode(y[B])+'" ');A.push('>',e.htmlEncode(w._['default']),'</textarea></div>');return A.join('');};k.dialog.labeledElement.call(this,t,u,v,z);},checkbox:function(t,u,v){if(arguments.length<3)return;var w=l.call(this,u,{'default':!!u['default']});if(u.validate)this.validate=u.validate;var x=function(){var y=e.extend({},u,{id:u.id?u.id+'_checkbox':e.getNextNumber()+'_checkbox'},true),z=[],A=e.getNextNumber()+'_label',B={'class':'cke_dialog_ui_checkbox_input',type:'checkbox','aria-labelledby':A};s(y);if(u['default'])B.checked='checked';w.checkbox=new k.dialog.uiElement(t,y,z,'input',null,B);z.push(' <label id="',A,'" for="',B.id,'">',e.htmlEncode(u.label),'</label>');return z.join('');};k.dialog.uiElement.call(this,t,u,v,'span',null,null,x);},radio:function(t,u,v){if(arguments.length<3)return;l.call(this,u);if(!this._['default'])this._['default']=this._.initValue=u.items[0][1];if(u.validate)this.validate=u.valdiate; +var w=[],x=this,y=function(){var z=[],A=[],B={'class':'cke_dialog_ui_radio_item','aria-labelledby':this._.labelId},C=u.id?u.id+'_radio':e.getNextNumber()+'_radio';for(var D=0;D<u.items.length;D++){var E=u.items[D],F=E[2]!==undefined?E[2]:E[0],G=E[1]!==undefined?E[1]:E[0],H=e.getNextNumber()+'_radio_input',I=H+'_label',J=e.extend({},u,{id:H,title:null,type:null},true),K=e.extend({},J,{title:F},true),L={type:'radio','class':'cke_dialog_ui_radio_input',name:C,value:G,'aria-labelledby':I},M=[];if(x._['default']==G)L.checked='checked';s(J);s(K);w.push(new k.dialog.uiElement(t,J,M,'input',null,L));M.push(' ');new k.dialog.uiElement(t,K,M,'label',null,{id:I,'for':L.id},E[0]);z.push(M.join(''));}new k.dialog.hbox(t,[],z,A);return A.join('');};k.dialog.labeledElement.call(this,t,u,v,y);this._.children=w;},button:function(t,u,v){if(!arguments.length)return;if(typeof u=='function')u=u(t.getParentEditor());l.call(this,u,{disabled:u.disabled||false});a.event.implementOn(this);var w=this;t.on('load',function(z){var A=this.getElement();(function(){A.on('click',function(B){w.fire('click',{dialog:w.getDialog()});B.data.preventDefault();});A.on('keydown',function(B){if(B.data.getKeystroke() in {32:1,13:1}){w.click();B.data.preventDefault();}});})();A.unselectable();},this);var x=e.extend({},u);delete x.style;var y=e.getNextNumber()+'_label';k.dialog.uiElement.call(this,t,x,v,'a',null,{style:u.style,href:'javascript:void(0)',title:u.label,hidefocus:'true','class':u['class'],role:'button','aria-labelledby':y},'<span id="'+y+'" class="cke_dialog_ui_button">'+e.htmlEncode(u.label)+'</span>');},select:function(t,u,v){if(arguments.length<3)return;var w=l.call(this,u);if(u.validate)this.validate=u.validate;w.inputId=e.getNextNumber()+'_select';var x=function(){var y=e.extend({},u,{id:u.id?u.id+'_select':e.getNextNumber()+'_select'},true),z=[],A=[],B={id:w.inputId,'class':'cke_dialog_ui_input_select','aria-labelledby':this._.labelId};if(u.size!=undefined)B.size=u.size;if(u.multiple!=undefined)B.multiple=u.multiple;s(y);for(var C=0,D;C<u.items.length&&(D=u.items[C]);C++)A.push('<option value="',e.htmlEncode(D[1]!==undefined?D[1]:D[0]),'" /> ',e.htmlEncode(D[0]));w.select=new k.dialog.uiElement(t,y,z,'select',null,B,A.join(''));return z.join('');};k.dialog.labeledElement.call(this,t,u,v,x);},file:function(t,u,v){if(arguments.length<3)return;if(u['default']===undefined)u['default']='';var w=e.extend(l.call(this,u),{definition:u,buttons:[]});if(u.validate)this.validate=u.validate;var x=function(){w.frameId=e.getNextNumber()+'_fileInput'; +var y=b.isCustomDomain(),z=['<iframe frameborder="0" allowtransparency="0" class="cke_dialog_ui_input_file" id="',w.frameId,'" title="',u.label,'" src="javascript:void('];z.push(y?"(function(){document.open();document.domain='"+document.domain+"';"+'document.close();'+'})()':'0');z.push(')"></iframe>');return z.join('');};t.on('load',function(){var y=a.document.getById(w.frameId),z=y.getParent();z.addClass('cke_dialog_ui_input_file');});k.dialog.labeledElement.call(this,t,u,v,x);},fileButton:function(t,u,v){if(arguments.length<3)return;var w=l.call(this,u),x=this;if(u.validate)this.validate=u.validate;var y=e.extend({},u),z=y.onClick;y.className=(y.className?y.className+' ':'')+'cke_dialog_ui_button';y.onClick=function(A){var B=u['for'];if(!z||z.call(this,A)!==false){t.getContentElement(B[0],B[1]).submit();this.disable();}};t.on('load',function(){t.getContentElement(u['for'][0],u['for'][1])._.buttons.push(x);});k.dialog.button.call(this,t,y,v);},html:(function(){var t=/^\s*<[\w:]+\s+([^>]*)?>/,u=/^(\s*<[\w:]+(?:\s+[^>]*)?)((?:.|\r|\n)+)$/,v=/\/$/;return function(w,x,y){if(arguments.length<3)return;var z=[],A,B=x.html,C,D;if(B.charAt(0)!='<')B='<span>'+B+'</span>';var E=x.focus;if(E){var F=this.focus;this.focus=function(){F.call(this);typeof E=='function'&&E.call(this);this.fire('focus');};if(x.isFocusable){var G=this.isFocusable;this.isFocusable=G;}this.keyboardFocusable=true;}k.dialog.uiElement.call(this,w,x,z,'span',null,null,'');A=z.join('');C=A.match(t);D=B.match(u)||['','',''];if(v.test(D[1])){D[1]=D[1].slice(0,-1);D[2]='/'+D[2];}y.push([D[1],' ',C[1]||'',D[2]].join(''));};})(),fieldset:function(t,u,v,w,x){var y=x.label,z=function(){var A=[];y&&A.push('<legend>'+y+'</legend>');for(var B=0;B<v.length;B++)A.push(v[B]);return A.join('');};this._={children:u};k.dialog.uiElement.call(this,t,x,w,'fieldset',null,null,z);}},true);k.dialog.html.prototype=new k.dialog.uiElement();k.dialog.labeledElement.prototype=e.extend(new k.dialog.uiElement(),{setLabel:function(t){var u=a.document.getById(this._.labelId);if(u.getChildCount()<1)new d.text(t,a.document).appendTo(u);else u.getChild(0).$.nodeValue=t;return this;},getLabel:function(){var t=a.document.getById(this._.labelId);if(!t||t.getChildCount()<1)return '';else return t.getChild(0).getText();},eventProcessors:q},true);k.dialog.button.prototype=e.extend(new k.dialog.uiElement(),{click:function(){var t=this;if(!t._.disabled)return t.fire('click',{dialog:t._.dialog});t.getElement().$.blur();return false;},enable:function(){this._.disabled=false; +var t=this.getElement();t&&t.removeClass('disabled');},disable:function(){this._.disabled=true;this.getElement().addClass('disabled');},isVisible:function(){return this.getElement().getFirst().isVisible();},isEnabled:function(){return!this._.disabled;},eventProcessors:e.extend({},k.dialog.uiElement.prototype.eventProcessors,{onClick:function(t,u){this.on('click',u);}},true),accessKeyUp:function(){this.click();},accessKeyDown:function(){this.focus();},keyboardFocusable:true},true);k.dialog.textInput.prototype=e.extend(new k.dialog.labeledElement(),{getInputElement:function(){return a.document.getById(this._.inputId);},focus:function(){var t=this.selectParentTab();setTimeout(function(){var u=t.getInputElement();u&&u.$.focus();},0);},select:function(){var t=this.selectParentTab();setTimeout(function(){var u=t.getInputElement();if(u){u.$.focus();u.$.select();}},0);},accessKeyUp:function(){this.select();},setValue:function(t){!t&&(t='');return k.dialog.uiElement.prototype.setValue.call(this,t);},keyboardFocusable:true},p,true);k.dialog.textarea.prototype=new k.dialog.textInput();k.dialog.select.prototype=e.extend(new k.dialog.labeledElement(),{getInputElement:function(){return this._.select.getElement();},add:function(t,u,v){var w=new h('option',this.getDialog().getParentEditor().document),x=this.getInputElement().$;w.$.text=t;w.$.value=u===undefined||u===null?t:u;if(v===undefined||v===null){if(c)x.add(w.$);else x.add(w.$,null);}else x.add(w.$,v);return this;},remove:function(t){var u=this.getInputElement().$;u.remove(t);return this;},clear:function(){var t=this.getInputElement().$;while(t.length>0)t.remove(0);return this;},keyboardFocusable:true},p,true);k.dialog.checkbox.prototype=e.extend(new k.dialog.uiElement(),{getInputElement:function(){return this._.checkbox.getElement();},setValue:function(t){this.getInputElement().$.checked=t;this.fire('change',{value:t});},getValue:function(){return this.getInputElement().$.checked;},accessKeyUp:function(){this.setValue(!this.getValue());},eventProcessors:{onChange:function(t,u){if(!c)return q.onChange.apply(this,arguments);else{t.on('load',function(){var v=this._.checkbox.getElement();v.on('propertychange',function(w){w=w.data.$;if(w.propertyName=='checked')this.fire('change',{value:v.$.checked});},this);},this);this.on('change',u);}return null;}},keyboardFocusable:true},p,true);k.dialog.radio.prototype=e.extend(new k.dialog.uiElement(),{setValue:function(t){var u=this._.children,v;for(var w=0;w<u.length&&(v=u[w]);w++)v.getElement().$.checked=v.getValue()==t; +this.fire('change',{value:t});},getValue:function(){var t=this._.children;for(var u=0;u<t.length;u++){if(t[u].getElement().$.checked)return t[u].getValue();}return null;},accessKeyUp:function(){var t=this._.children,u;for(u=0;u<t.length;u++){if(t[u].getElement().$.checked){t[u].getElement().focus();return;}}t[0].getElement().focus();},eventProcessors:{onChange:function(t,u){if(!c)return q.onChange.apply(this,arguments);else{t.on('load',function(){var v=this._.children,w=this;for(var x=0;x<v.length;x++){var y=v[x].getElement();y.on('propertychange',function(z){z=z.data.$;if(z.propertyName=='checked'&&this.$.checked)w.fire('change',{value:this.getAttribute('value')});});}},this);this.on('change',u);}return null;}},keyboardFocusable:true},p,true);k.dialog.file.prototype=e.extend(new k.dialog.labeledElement(),p,{getInputElement:function(){var t=a.document.getById(this._.frameId).getFrameDocument();return t.$.forms.length>0?new h(t.$.forms[0].elements[0]):this.getElement();},submit:function(){this.getInputElement().getParent().$.submit();return this;},getAction:function(t){return this.getInputElement().getParent().$.action;},reset:function(){var t=a.document.getById(this._.frameId),u=t.getFrameDocument(),v=this._.definition,w=this._.buttons;function x(){u.$.open();if(b.isCustomDomain())u.$.domain=document.domain;var y='';if(v.size)y=v.size-(c?7:0);u.$.write(['<html><head><title></title></head><body style="margin: 0; overflow: hidden; background: transparent;">','<form enctype="multipart/form-data" method="POST" action="',e.htmlEncode(v.action),'">','<input type="file" name="',e.htmlEncode(v.id||'cke_upload'),'" size="',e.htmlEncode(y>0?y:''),'" />','</form>','</body></html>'].join(''));u.$.close();for(var z=0;z<w.length;z++)w[z].enable();};if(b.gecko)setTimeout(x,500);else x();},getValue:function(){return '';},eventProcessors:q,keyboardFocusable:true},true);k.dialog.fileButton.prototype=new k.dialog.button();k.dialog.fieldset.prototype=e.clone(k.dialog.hbox.prototype);a.dialog.addUIElement('text',m);a.dialog.addUIElement('password',m);a.dialog.addUIElement('textarea',n);a.dialog.addUIElement('checkbox',n);a.dialog.addUIElement('radio',n);a.dialog.addUIElement('button',n);a.dialog.addUIElement('select',n);a.dialog.addUIElement('file',n);a.dialog.addUIElement('fileButton',n);a.dialog.addUIElement('html',n);a.dialog.addUIElement('fieldset',o);})();j.add('panel',{beforeInit:function(l){l.ui.addHandler(2,k.panel.handler);}});a.UI_PANEL=2;k.panel=function(l,m){var n=this; +if(m)e.extend(n,m);e.extend(n,{className:'',css:[]});n.id=e.getNextNumber();n.document=l;n._={blocks:{}};};k.panel.handler={create:function(l){return new k.panel(l);}};k.panel.prototype={renderHtml:function(l){var m=[];this.render(l,m);return m.join('');},render:function(l,m){var o=this;var n='cke_'+o.id;m.push('<div class="',l.skinClass,'" lang="',l.langCode,'" role="presentation" style="display:none;z-index:'+(l.config.baseFloatZIndex+1)+'">'+'<div'+' id=',n,' dir=',l.lang.dir,' role="presentation" class="cke_panel cke_',l.lang.dir);if(o.className)m.push(' ',o.className);m.push('">');if(o.forceIFrame||o.css.length){m.push('<iframe id="',n,'_frame" frameborder="0" role="application" src="javascript:void(');m.push(b.isCustomDomain()?"(function(){document.open();document.domain='"+document.domain+"';"+'document.close();'+'})()':'0');m.push(')"></iframe>');}m.push('</div></div>');return n;},getHolderElement:function(){var l=this._.holder;if(!l){if(this.forceIFrame||this.css.length){var m=this.document.getById('cke_'+this.id+'_frame'),n=m.getParent(),o=n.getAttribute('dir'),p=n.getParent().getAttribute('class'),q=n.getParent().getAttribute('lang'),r=m.getFrameDocument();r.$.open();if(b.isCustomDomain())r.$.domain=document.domain;var s=e.addFunction(e.bind(function(u){this.isLoaded=true;if(this.onLoad)this.onLoad();},this));r.$.write('<!DOCTYPE html><html dir="'+o+'" class="'+p+'_container" lang="'+q+'">'+'<head>'+'<style>.'+p+'_container{visibility:hidden}</style>'+'</head>'+'<body class="cke_'+o+' cke_panel_frame '+b.cssClass+'" style="margin:0;padding:0"'+' onload="( window.CKEDITOR || window.parent.CKEDITOR ).tools.callFunction('+s+');"></body>'+e.buildStyleHtml(this.css)+'</html>');r.$.close();var t=r.getWindow();t.$.CKEDITOR=a;r.on('keydown',function(u){var x=this;var v=u.data.getKeystroke(),w=x.document.getById('cke_'+x.id).getAttribute('dir');if(x._.onKeyDown&&x._.onKeyDown(v)===false){u.data.preventDefault();return;}if(v==27||v==(w=='rtl'?39:37))if(x.onEscape&&x.onEscape(v)===false)u.data.preventDefault();},this);l=r.getBody();}else l=this.document.getById('cke_'+this.id);this._.holder=l;}return l;},addBlock:function(l,m){var n=this;m=n._.blocks[l]=m instanceof k.panel.block?m:new k.panel.block(n.getHolderElement(),m);if(!n._.currentBlock)n.showBlock(l);return m;},getBlock:function(l){return this._.blocks[l];},showBlock:function(l){var q=this;var m=q._.blocks,n=m[l],o=q._.currentBlock,p=q.forceIFrame?q.document.getById('cke_'+q.id+'_frame'):q._.holder; +if(o){p.removeAttributes(o.attributes);o.hide();}q._.currentBlock=n;p.setAttributes(n.attributes);a.fire('ariaWidget',p);n._.focusIndex=-1;q._.onKeyDown=n.onKeyDown&&e.bind(n.onKeyDown,n);n.show();return n;},destroy:function(){this.element&&this.element.remove();}};k.panel.block=e.createClass({$:function(l,m){var n=this;n.element=l.append(l.getDocument().createElement('div',{attributes:{tabIndex:-1,'class':'cke_panel_block',role:'presentation'},styles:{display:'none'}}));if(m)e.extend(n,m);n.keys={};n._.focusIndex=-1;n.element.disableContextMenu();},_:{markItem:function(l){if(l==-1)return;var m=this.element.getElementsByTag('a'),n=m.getItem(this._.focusIndex=l);if(b.webkit)n.getDocument().getWindow().focus();n.focus();}},proto:{show:function(){this.element.setStyle('display','');},hide:function(){var l=this;if(!l.onHide||l.onHide.call(l)!==true)l.element.setStyle('display','none');},onKeyDown:function(l){var q=this;var m=q.keys[l];switch(m){case 'next':var n=q._.focusIndex,o=q.element.getElementsByTag('a'),p;while(p=o.getItem(++n)){if(p.getAttribute('_cke_focus')&&p.$.offsetWidth){q._.focusIndex=n;p.focus();break;}}return false;case 'prev':n=q._.focusIndex;o=q.element.getElementsByTag('a');while(n>0&&(p=o.getItem(--n))){if(p.getAttribute('_cke_focus')&&p.$.offsetWidth){q._.focusIndex=n;p.focus();break;}}return false;case 'click':n=q._.focusIndex;p=n>=0&&q.element.getElementsByTag('a').getItem(n);if(p)p.$.click?p.$.click():p.$.onclick();return false;}return true;}}});j.add('listblock',{requires:['panel'],onLoad:function(){k.panel.prototype.addListBlock=function(l,m){return this.addBlock(l,new k.listBlock(this.getHolderElement(),m));};k.listBlock=e.createClass({base:k.panel.block,$:function(l,m){var p=this;m=m||{};var n=m.attributes||(m.attributes={});(p.multiSelect=!!m.multiSelect)&&(n['aria-multiselectable']=true);!n.role&&(n.role='listbox');p.base.apply(p,arguments);var o=p.keys;o[40]='next';o[9]='next';o[38]='prev';o[2000+9]='prev';o[32]='click';p._.pendingHtml=[];p._.items={};p._.groups={};},_:{close:function(){if(this._.started){this._.pendingHtml.push('</ul>');delete this._.started;}},getClick:function(){if(!this._.click)this._.click=e.addFunction(function(l){var n=this;var m=true;if(n.multiSelect)m=n.toggle(l);else n.mark(l);if(n.onClick)n.onClick(l,m);},this);return this._.click;}},proto:{add:function(l,m,n){var q=this;var o=q._.pendingHtml,p='cke_'+e.getNextNumber();if(!q._.started){o.push('<ul role="presentation" class=cke_panel_list>');q._.started=1; +q._.size=q._.size||0;}q._.items[l]=p;o.push('<li id=',p,' class=cke_panel_listItem><a id="',p,'_option" _cke_focus=1 hidefocus=true title="',n||l,'" href="javascript:void(\'',l,'\')" onclick="CKEDITOR.tools.callFunction(',q._.getClick(),",'",l,"'); return false;\"",' role="option" aria-posinset="'+ ++q._.size+'">',m||l,'</a></li>');},startGroup:function(l){this._.close();var m='cke_'+e.getNextNumber();this._.groups[l]=m;this._.pendingHtml.push('<h1 role="presentation" id=',m,' class=cke_panel_grouptitle>',l,'</h1>');},commit:function(){var o=this;o._.close();o.element.appendHtml(o._.pendingHtml.join(''));var l=o._.items,m=o.element.getDocument();for(var n in l)m.getById(l[n]+'_option').setAttribute('aria-setsize',o._.size);delete o._.size;o._.pendingHtml=[];},toggle:function(l){var m=this.isMarked(l);if(m)this.unmark(l);else this.mark(l);return!m;},hideGroup:function(l){var m=this.element.getDocument().getById(this._.groups[l]),n=m&&m.getNext();if(m){m.setStyle('display','none');if(n&&n.getName()=='ul')n.setStyle('display','none');}},hideItem:function(l){this.element.getDocument().getById(this._.items[l]).setStyle('display','none');},showAll:function(){var l=this._.items,m=this._.groups,n=this.element.getDocument();for(var o in l)n.getById(l[o]).setStyle('display','');for(var p in m){var q=n.getById(m[p]),r=q.getNext();q.setStyle('display','');if(r&&r.getName()=='ul')r.setStyle('display','');}},mark:function(l){var o=this;if(!o.multiSelect)o.unmarkAll();var m=o._.items[l],n=o.element.getDocument().getById(m);n.addClass('cke_selected');o.element.getDocument().getById(m+'_option').setAttribute('aria-selected',true);o.element.setAttribute('aria-activedescendant',m+'_option');},unmark:function(l){this.element.getDocument().getById(this._.items[l]).removeClass('cke_selected');},unmarkAll:function(){var l=this._.items,m=this.element.getDocument();for(var n in l)m.getById(l[n]).removeClass('cke_selected');},isMarked:function(l){return this.element.getDocument().getById(this._.items[l]).hasClass('cke_selected');},focus:function(l){this._.focusIndex=-1;if(l){var m=this.element.getDocument().getById(this._.items[l]).getFirst(),n=this.element.getElementsByTag('a'),o,p=-1;while(o=n.getItem(++p)){if(o.equals(m)){this._.focusIndex=p;break;}}setTimeout(function(){m.focus();},0);}}}});}});a.themes.add('default',(function(){function l(m,n){var o,p;p=m.config.sharedSpaces;p=p&&p[n];p=p&&a.document.getById(p);if(p){var q='<span class="cke_shared"><span class="'+m.skinClass+' cke_editor_'+m.name+'">'+'<span class="'+b.cssClass+'">'+'<span class="cke_wrapper cke_'+m.lang.dir+'">'+'<span class="cke_editor">'+'<div class="cke_'+n+'">'+'</div></span></span></span></span></span>',r=p.append(h.createFromHtml(q,p.getDocument())); +if(p.getCustomData('cke_hasshared'))r.hide();else p.setCustomData('cke_hasshared',1);o=r.getChild([0,0,0,0]);m.on('focus',function(){for(var s=0,t,u=p.getChildren();t=u.getItem(s);s++){if(t.type==1&&!t.equals(r)&&t.hasClass('cke_shared'))t.hide();}r.show();});m.on('destroy',function(){r.remove();});}return o;};return{build:function(m,n){var o=m.name,p=m.element,q=m.elementMode;if(!p||q==0)return;if(q==1)p.hide();var r=m.fire('themeSpace',{space:'top',html:''}).html,s=m.fire('themeSpace',{space:'contents',html:''}).html,t=m.fireOnce('themeSpace',{space:'bottom',html:''}).html,u=s&&m.config.height,v=m.config.tabIndex||m.element.getAttribute('tabindex')||0;if(!s)u='auto';else if(!isNaN(u))u+='px';var w='',x=m.config.width;if(x){if(!isNaN(x))x+='px';w+='width: '+x+';';}var y=r&&l(m,'top'),z=l(m,'bottom');y&&(y.setHtml(r),r='');z&&(z.setHtml(t),t='');var A=h.createFromHtml(['<span id="cke_',o,'" onmousedown="return false;" class="',m.skinClass,' cke_editor_',o,'" dir="',m.lang.dir,'" title="',b.gecko?' ':'','" lang="',m.langCode,'" role="application" aria-labelledby="cke_',o,'_arialbl"'+(w?' style="'+w+'"':'')+'>'+'<span id="cke_',o,'_arialbl" class="cke_voice_label">'+m.lang.editor+'</span>'+'<span class="',b.cssClass,'" role="presentation"><span class="cke_wrapper cke_',m.lang.dir,'" role="presentation"><table class="cke_editor" border="0" cellspacing="0" cellpadding="0" role="presentation"><tbody><tr',r?'':' style="display:none"','><td id="cke_top_',o,'" class="cke_top" role="presentation">',r,'</td></tr><tr',s?'':' style="display:none"','><td id="cke_contents_',o,'" class="cke_contents" style="height:',u,'" role="presentation">',s,'</td></tr><tr',t?'':' style="display:none"','><td id="cke_bottom_',o,'" class="cke_bottom" role="presentation">',t,'</td></tr></tbody></table><style>.',m.skinClass,'{visibility:hidden;}</style></span></span></span>'].join(''));A.getChild([1,0,0,0,0]).unselectable();A.getChild([1,0,0,0,2]).unselectable();if(q==1)A.insertAfter(p);else p.append(A);m.container=A;A.disableContextMenu();m.fireOnce('themeLoaded');m.fireOnce('uiReady');},buildDialog:function(m){var n=e.getNextNumber(),o=h.createFromHtml(['<div class="cke_editor_'+m.name.replace('.','\\.')+'_dialog cke_skin_',m.skinName,'" dir="',m.lang.dir,'" lang="',m.langCode,'" role="dialog" aria-labelledby="%title#"><table class="cke_dialog',' '+b.cssClass,' cke_',m.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="'+m.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>',c?'':'<style>.cke_dialog{visibility:hidden;}</style>','</div>'].join('').replace(/#/g,'_'+n).replace(/%/g,'cke_dialog_')),p=o.getChild([0,0,0,0,0]),q=p.getChild(0),r=p.getChild(1); +q.unselectable();r.unselectable();return{element:o,parts:{dialog:o.getChild(0),title:q,close:r,tabs:p.getChild(2),contents:p.getChild([3,0,0,0]),footer:p.getChild(4)}};},destroy:function(m){var n=m.container;if(c){n.setStyle('display','none');var o=document.body.createTextRange();o.moveToElementText(n.$);try{o.select();}catch(p){}}if(n)n.remove();if(m.elementMode==1){m.element.show();delete m.element;}}};})());a.editor.prototype.getThemeSpace=function(l){var m='cke_'+l,n=this._[m]||(this._[m]=a.document.getById(m+'_'+this.name));return n;};a.editor.prototype.resize=function(l,m,n,o){var p=/^\d+$/;if(p.test(l))l+='px';var q=this.container,r=a.document.getById('cke_contents_'+this.name),s=o?q.getChild(1):q;b.webkit&&s.setStyle('display','none');s.setStyle('width',l);if(b.webkit){s.$.offsetWidth;s.setStyle('display','');}var t=n?0:(s.$.offsetHeight||0)-(r.$.clientHeight||0);r.setStyle('height',Math.max(m-t,0)+'px');this.fire('resize');};a.editor.prototype.getResizable=function(){return this.container.getChild(1);};})(); diff --git a/editor/editor/ckeditor.php b/editor/editor/ckeditor.php @@ -0,0 +1,29 @@ +<?php +/* + * Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.html or http://ckeditor.com/license + */ + +/*! \mainpage CKEditor - PHP server side intergation + * \section intro_sec CKEditor + * Visit <a href="http://ckeditor.com">CKEditor web site</a> to find more information about the editor. + * \section install_sec Installation + * \subsection step1 Include ckeditor.php in your PHP web site. + * @code + * <?php + * include("ckeditor/ckeditor.php"); + * ?> + * @endcode + * \subsection step2 Create CKEditor class instance and use one of available methods to insert CKEditor. + * @code + * <?php + * $CKEditor = new CKEditor(); + * echo $CKEditor->textarea("field1", "<p>Initial value.</p>"); + * ?> + * @endcode + */ + +if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) + include_once( 'ckeditor_php4.php' ) ; +else + include_once( 'ckeditor_php5.php' ) ; diff --git a/editor/editor/ckeditor_php4.php b/editor/editor/ckeditor_php4.php @@ -0,0 +1,593 @@ +<?php +/* +* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +* For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +/** + * \brief CKEditor class that can be used to create editor + * instances in PHP pages on server side. + * @see http://ckeditor.com + * + * Sample usage: + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->editor("editor1", "<p>Initial value.</p>"); + * @endcode + */ +class CKEditor +{ + /** + * The version of %CKEditor. + * \private + */ + var $version = '3.2'; + /** + * A constant string unique for each release of %CKEditor. + * \private + */ + var $_timestamp = 'A1QD'; + + /** + * URL to the %CKEditor installation directory (absolute or relative to document root). + * If not set, CKEditor will try to guess it's path. + * + * Example usage: + * @code + * $CKEditor->basePath = '/ckeditor/'; + * @endcode + */ + var $basePath; + /** + * An array that holds the global %CKEditor configuration. + * For the list of available options, see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html + * + * Example usage: + * @code + * $CKEditor->config['height'] = 400; + * // Use @@ at the beggining of a string to ouput it without surrounding quotes. + * $CKEditor->config['width'] = '@@screen.width * 0.8'; + * @endcode + */ + var $config = array(); + /** + * A boolean variable indicating whether CKEditor has been initialized. + * Set it to true only if you have already included + * &lt;script&gt; tag loading ckeditor.js in your website. + */ + var $initialized = false; + /** + * Boolean variable indicating whether created code should be printed out or returned by a function. + * + * Example 1: get the code creating %CKEditor instance and print it on a page with the "echo" function. + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->returnOutput = true; + * $code = $CKEditor->editor("editor1", "<p>Initial value.</p>"); + * echo "<p>Editor 1:</p>"; + * echo $code; + * @endcode + */ + var $returnOutput = false; + /** + * An array with textarea attributes. + * + * When %CKEditor is created with the editor() method, a HTML &lt;textarea&gt; element is created, + * it will be displayed to anyone with JavaScript disabled or with incompatible browser. + */ + var $textareaAttributes = array( "rows" => 8, "cols" => 60 ); + /** + * A string indicating the creation date of %CKEditor. + * Do not change it unless you want to force browsers to not use previously cached version of %CKEditor. + */ + var $timestamp = "A1QD"; + /** + * An array that holds event listeners. + * \private + */ + var $_events = array(); + /** + * An array that holds global event listeners. + * \private + */ + var $_globalEvents = array(); + + /** + * Main Constructor. + * + * @param $basePath (string) URL to the %CKEditor installation directory (optional). + */ + function CKEditor($basePath = null) { + if (!empty($basePath)) { + $this->basePath = $basePath; + } + } + + /** + * Creates a %CKEditor instance. + * In incompatible browsers %CKEditor will downgrade to plain HTML &lt;textarea&gt; element. + * + * @param $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element). + * @param $value (string) Initial value (optional). + * @param $config (array) The specific configurations to apply to this editor instance (optional). + * @param $events (array) Event listeners for this editor instance (optional). + * + * Example usage: + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->editor("field1", "<p>Initial value.</p>"); + * @endcode + * + * Advanced example: + * @code + * $CKEditor = new CKEditor(); + * $config = array(); + * $config['toolbar'] = array( + * array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ), + * array( 'Image', 'Link', 'Unlink', 'Anchor' ) + * ); + * $events['instanceReady'] = 'function (ev) { + * alert("Loaded: " + ev.editor.name); + * }'; + * $CKEditor->editor("field1", "<p>Initial value.</p>", $config, $events); + * @endcode + */ + function editor($name, $value = "", $config = array(), $events = array()) + { + $attr = ""; + foreach ($this->textareaAttributes as $key => $val) { + $attr.= " " . $key . '="' . str_replace('"', '&quot;', $val) . '"'; + } + $out = "<textarea name=\"" . $name . "\"" . $attr . ">" . htmlspecialchars($value) . "</textarea>\n"; + if (!$this->initialized) { + $out .= $this->init(); + } + + $_config = $this->configSettings($config, $events); + + $js = $this->returnGlobalEvents(); + if (!empty($_config)) + $js .= "CKEDITOR.replace('".$name."', ".$this->jsEncode($_config).");"; + else + $js .= "CKEDITOR.replace('".$name."');"; + + $out .= $this->script($js); + + if (!$this->returnOutput) { + print $out; + $out = ""; + } + + return $out; + } + + /** + * Replaces a &lt;textarea&gt; with a %CKEditor instance. + * + * @param $id (string) The id or name of textarea element. + * @param $config (array) The specific configurations to apply to this editor instance (optional). + * @param $events (array) Event listeners for this editor instance (optional). + * + * Example 1: adding %CKEditor to &lt;textarea name="article"&gt;&lt;/textarea&gt; element: + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->replace("article"); + * @endcode + */ + function replace($id, $config = array(), $events = array()) + { + $out = ""; + if (!$this->initialized) { + $out .= $this->init(); + } + + $_config = $this->configSettings($config, $events); + + $js = $this->returnGlobalEvents(); + if (!empty($_config)) { + $js .= "CKEDITOR.replace('".$id."', ".$this->jsEncode($_config).");"; + } + else { + $js .= "CKEDITOR.replace('".$id."');"; + } + $out .= $this->script($js); + + if (!$this->returnOutput) { + print $out; + $out = ""; + } + + return $out; + } + + /** + * Replace all &lt;textarea&gt; elements available in the document with editor instances. + * + * @param $className (string) If set, replace all textareas with class className in the page. + * + * Example 1: replace all &lt;textarea&gt; elements in the page. + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->replaceAll(); + * @endcode + * + * Example 2: replace all &lt;textarea class="myClassName"&gt; elements in the page. + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->replaceAll( 'myClassName' ); + * @endcode + */ + function replaceAll($className = null) + { + $out = ""; + if (!$this->initialized) { + $out .= $this->init(); + } + + $_config = $this->configSettings(); + + $js = $this->returnGlobalEvents(); + if (empty($_config)) { + if (empty($className)) { + $js .= "CKEDITOR.replaceAll();"; + } + else { + $js .= "CKEDITOR.replaceAll('".$className."');"; + } + } + else { + $classDetection = ""; + $js .= "CKEDITOR.replaceAll( function(textarea, config) {\n"; + if (!empty($className)) { + $js .= " var classRegex = new RegExp('(?:^| )' + '". $className ."' + '(?:$| )');\n"; + $js .= " if (!classRegex.test(textarea.className))\n"; + $js .= " return false;\n"; + } + $js .= " CKEDITOR.tools.extend(config, ". $this->jsEncode($_config) .", true);"; + $js .= "} );"; + + } + + $out .= $this->script($js); + + if (!$this->returnOutput) { + print $out; + $out = ""; + } + + return $out; + } + + /** + * Adds event listener. + * Events are fired by %CKEditor in various situations. + * + * @param $event (string) Event name. + * @param $javascriptCode (string) Javascript anonymous function or function name. + * + * Example usage: + * @code + * $CKEditor->addEventHandler('instanceReady', 'function (ev) { + * alert("Loaded: " + ev.editor.name); + * }'); + * @endcode + */ + function addEventHandler($event, $javascriptCode) + { + if (!isset($this->_events[$event])) { + $this->_events[$event] = array(); + } + // Avoid duplicates. + if (!in_array($javascriptCode, $this->_events[$event])) { + $this->_events[$event][] = $javascriptCode; + } + } + + /** + * Clear registered event handlers. + * Note: this function will have no effect on already created editor instances. + * + * @param $event (string) Event name, if not set all event handlers will be removed (optional). + */ + function clearEventHandlers($event = null) + { + if (!empty($event)) { + $this->_events[$event] = array(); + } + else { + $this->_events = array(); + } + } + + /** + * Adds global event listener. + * + * @param $event (string) Event name. + * @param $javascriptCode (string) Javascript anonymous function or function name. + * + * Example usage: + * @code + * $CKEditor->addGlobalEventHandler('dialogDefinition', 'function (ev) { + * alert("Loading dialog: " + ev.data.name); + * }'); + * @endcode + */ + function addGlobalEventHandler($event, $javascriptCode) + { + if (!isset($this->_globalEvents[$event])) { + $this->_globalEvents[$event] = array(); + } + // Avoid duplicates. + if (!in_array($javascriptCode, $this->_globalEvents[$event])) { + $this->_globalEvents[$event][] = $javascriptCode; + } + } + + /** + * Clear registered global event handlers. + * Note: this function will have no effect if the event handler has been already printed/returned. + * + * @param $event (string) Event name, if not set all event handlers will be removed (optional). + */ + function clearGlobalEventHandlers($event = null) + { + if (!empty($event)) { + $this->_globalEvents[$event] = array(); + } + else { + $this->_globalEvents = array(); + } + } + + /** + * Prints javascript code. + * \private + * + * @param string $js + */ + function script($js) + { + $out = "<script type=\"text/javascript\">"; + $out .= "//<![CDATA[\n"; + $out .= $js; + $out .= "\n//]]>"; + $out .= "</script>\n"; + + return $out; + } + + /** + * Returns the configuration array (global and instance specific settings are merged into one array). + * \private + * + * @param $config (array) The specific configurations to apply to editor instance. + * @param $events (array) Event listeners for editor instance. + */ + function configSettings($config = array(), $events = array()) + { + $_config = $this->config; + $_events = $this->_events; + + if (is_array($config) && !empty($config)) { + $_config = array_merge($_config, $config); + } + + if (is_array($events) && !empty($events)) { + foreach ($events as $eventName => $code) { + if (!isset($_events[$eventName])) { + $_events[$eventName] = array(); + } + if (!in_array($code, $_events[$eventName])) { + $_events[$eventName][] = $code; + } + } + } + + if (!empty($_events)) { + foreach($_events as $eventName => $handlers) { + if (empty($handlers)) { + continue; + } + else if (count($handlers) == 1) { + $_config['on'][$eventName] = '@@'.$handlers[0]; + } + else { + $_config['on'][$eventName] = '@@function (ev){'; + foreach ($handlers as $handler => $code) { + $_config['on'][$eventName] .= '('.$code.')(ev);'; + } + $_config['on'][$eventName] .= '}'; + } + } + } + + return $_config; + } + + /** + * Return global event handlers. + * \private + */ + function returnGlobalEvents() + { + static $returnedEvents; + $out = ""; + + if (!isset($returnedEvents)) { + $returnedEvents = array(); + } + + if (!empty($this->_globalEvents)) { + foreach ($this->_globalEvents as $eventName => $handlers) { + foreach ($handlers as $handler => $code) { + if (!isset($returnedEvents[$eventName])) { + $returnedEvents[$eventName] = array(); + } + // Return only new events + if (!in_array($code, $returnedEvents[$eventName])) { + $out .= ($code ? "\n" : "") . "CKEDITOR.on('". $eventName ."', $code);"; + $returnedEvents[$eventName][] = $code; + } + } + } + } + + return $out; + } + + /** + * Initializes CKEditor (executed only once). + * \private + */ + function init() + { + static $initComplete; + $out = ""; + + if (!empty($initComplete)) { + return ""; + } + + if ($this->initialized) { + $initComplete = true; + return ""; + } + + $args = ""; + $ckeditorPath = $this->ckeditorPath(); + + if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") { + $args = '?t=' . $this->timestamp; + } + + // Skip relative paths... + if (strpos($ckeditorPath, '..') !== 0) { + $out .= $this->script("window.CKEDITOR_BASEPATH='". $ckeditorPath ."';"); + } + + $out .= "<script type=\"text/javascript\" src=\"" . $ckeditorPath . 'ckeditor.js' . $args . "\"></script>\n"; + + $extraCode = ""; + if ($this->timestamp != $this->_timestamp) { + $extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';"; + } + if ($extraCode) { + $out .= $this->script($extraCode); + } + + $initComplete = $this->initialized = true; + + return $out; + } + + /** + * Return path to ckeditor.js. + * \private + */ + function ckeditorPath() + { + if (!empty($this->basePath)) { + return $this->basePath; + } + + /** + * The absolute pathname of the currently executing script. + * Note: If a script is executed with the CLI, as a relative path, such as file.php or ../file.php, + * $_SERVER['SCRIPT_FILENAME'] will contain the relative path specified by the user. + */ + if (isset($_SERVER['SCRIPT_FILENAME'])) { + $realPath = dirname($_SERVER['SCRIPT_FILENAME']); + } + else { + /** + * realpath — Returns canonicalized absolute pathname + */ + $realPath = realpath( './' ) ; + } + + /** + * The filename of the currently executing script, relative to the document root. + * For instance, $_SERVER['PHP_SELF'] in a script at the address http://example.com/test.php/foo.bar + * would be /test.php/foo.bar. + */ + $selfPath = dirname($_SERVER['PHP_SELF']); + $file = str_replace("\\", "/", __FILE__); + + if (!$selfPath || !$realPath || !$file) { + return "/ckeditor/"; + } + + $documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath)); + $fileUrl = substr($file, strlen($documentRoot)); + $ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl); + + return $ckeditorUrl; + } + + /** + * This little function provides a basic JSON support. + * http://php.net/manual/en/function.json-encode.php + * \private + * + * @param mixed $val + * @return string + */ + function jsEncode($val) + { + if (is_null($val)) { + return 'null'; + } + if ($val === false) { + return 'false'; + } + if ($val === true) { + return 'true'; + } + if (is_scalar($val)) + { + if (is_float($val)) + { + // Always use "." for floats. + $val = str_replace(",", ".", strval($val)); + } + + // Use @@ to not use quotes when outputting string value + if (strpos($val, '@@') === 0) { + return substr($val, 2); + } + else { + // All scalars are converted to strings to avoid indeterminism. + // PHP's "1" and 1 are equal for all PHP operators, but + // JS's "1" and 1 are not. So if we pass "1" or 1 from the PHP backend, + // we should get the same result in the JS frontend (string). + // Character replacements for JSON. + static $jsonReplaces = array(array("\\", "/", "\n", "\t", "\r", "\b", "\f", '"'), + array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"')); + + $val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val); + + return '"' . $val . '"'; + } + } + $isList = true; + for ($i = 0, reset($val); $i < count($val); $i++, next($val)) + { + if (key($val) !== $i) + { + $isList = false; + break; + } + } + $result = array(); + if ($isList) + { + foreach ($val as $v) $result[] = $this->jsEncode($v); + return '[ ' . join(', ', $result) . ' ]'; + } + else + { + foreach ($val as $k => $v) $result[] = $this->jsEncode($k).': '.$this->jsEncode($v); + return '{ ' . join(', ', $result) . ' }'; + } + } +} diff --git a/editor/editor/ckeditor_php5.php b/editor/editor/ckeditor_php5.php @@ -0,0 +1,583 @@ +<?php +/* +* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +* For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +/** + * \brief CKEditor class that can be used to create editor + * instances in PHP pages on server side. + * @see http://ckeditor.com + * + * Sample usage: + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->editor("editor1", "<p>Initial value.</p>"); + * @endcode + */ +class CKEditor +{ + /** + * The version of %CKEditor. + */ + const version = '3.2'; + /** + * A constant string unique for each release of %CKEditor. + */ + const timestamp = 'A1QD'; + + /** + * URL to the %CKEditor installation directory (absolute or relative to document root). + * If not set, CKEditor will try to guess it's path. + * + * Example usage: + * @code + * $CKEditor->basePath = '/ckeditor/'; + * @endcode + */ + public $basePath; + /** + * An array that holds the global %CKEditor configuration. + * For the list of available options, see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html + * + * Example usage: + * @code + * $CKEditor->config['height'] = 400; + * // Use @@ at the beggining of a string to ouput it without surrounding quotes. + * $CKEditor->config['width'] = '@@screen.width * 0.8'; + * @endcode + */ + public $config = array(); + /** + * A boolean variable indicating whether CKEditor has been initialized. + * Set it to true only if you have already included + * &lt;script&gt; tag loading ckeditor.js in your website. + */ + public $initialized = false; + /** + * Boolean variable indicating whether created code should be printed out or returned by a function. + * + * Example 1: get the code creating %CKEditor instance and print it on a page with the "echo" function. + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->returnOutput = true; + * $code = $CKEditor->editor("editor1", "<p>Initial value.</p>"); + * echo "<p>Editor 1:</p>"; + * echo $code; + * @endcode + */ + public $returnOutput = false; + /** + * An array with textarea attributes. + * + * When %CKEditor is created with the editor() method, a HTML &lt;textarea&gt; element is created, + * it will be displayed to anyone with JavaScript disabled or with incompatible browser. + */ + public $textareaAttributes = array( "rows" => 8, "cols" => 60 ); + /** + * A string indicating the creation date of %CKEditor. + * Do not change it unless you want to force browsers to not use previously cached version of %CKEditor. + */ + public $timestamp = "A1QD"; + /** + * An array that holds event listeners. + */ + private $events = array(); + /** + * An array that holds global event listeners. + */ + private $globalEvents = array(); + + /** + * Main Constructor. + * + * @param $basePath (string) URL to the %CKEditor installation directory (optional). + */ + function __construct($basePath = null) { + if (!empty($basePath)) { + $this->basePath = $basePath; + } + } + + /** + * Creates a %CKEditor instance. + * In incompatible browsers %CKEditor will downgrade to plain HTML &lt;textarea&gt; element. + * + * @param $name (string) Name of the %CKEditor instance (this will be also the "name" attribute of textarea element). + * @param $value (string) Initial value (optional). + * @param $config (array) The specific configurations to apply to this editor instance (optional). + * @param $events (array) Event listeners for this editor instance (optional). + * + * Example usage: + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->editor("field1", "<p>Initial value.</p>"); + * @endcode + * + * Advanced example: + * @code + * $CKEditor = new CKEditor(); + * $config = array(); + * $config['toolbar'] = array( + * array( 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike' ), + * array( 'Image', 'Link', 'Unlink', 'Anchor' ) + * ); + * $events['instanceReady'] = 'function (ev) { + * alert("Loaded: " + ev.editor.name); + * }'; + * $CKEditor->editor("field1", "<p>Initial value.</p>", $config, $events); + * @endcode + */ + public function editor($name, $value = "", $config = array(), $events = array()) + { + $attr = ""; + foreach ($this->textareaAttributes as $key => $val) { + $attr.= " " . $key . '="' . str_replace('"', '&quot;', $val) . '"'; + } + $out = "<textarea name=\"" . $name . "\"" . $attr . ">" . htmlspecialchars($value) . "</textarea>\n"; + if (!$this->initialized) { + $out .= $this->init(); + } + + $_config = $this->configSettings($config, $events); + + $js = $this->returnGlobalEvents(); + if (!empty($_config)) + $js .= "CKEDITOR.replace('".$name."', ".$this->jsEncode($_config).");"; + else + $js .= "CKEDITOR.replace('".$name."');"; + + $out .= $this->script($js); + + if (!$this->returnOutput) { + print $out; + $out = ""; + } + + return $out; + } + + /** + * Replaces a &lt;textarea&gt; with a %CKEditor instance. + * + * @param $id (string) The id or name of textarea element. + * @param $config (array) The specific configurations to apply to this editor instance (optional). + * @param $events (array) Event listeners for this editor instance (optional). + * + * Example 1: adding %CKEditor to &lt;textarea name="article"&gt;&lt;/textarea&gt; element: + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->replace("article"); + * @endcode + */ + public function replace($id, $config = array(), $events = array()) + { + $out = ""; + if (!$this->initialized) { + $out .= $this->init(); + } + + $_config = $this->configSettings($config, $events); + + $js = $this->returnGlobalEvents(); + if (!empty($_config)) { + $js .= "CKEDITOR.replace('".$id."', ".$this->jsEncode($_config).");"; + } + else { + $js .= "CKEDITOR.replace('".$id."');"; + } + $out .= $this->script($js); + + if (!$this->returnOutput) { + print $out; + $out = ""; + } + + return $out; + } + + /** + * Replace all &lt;textarea&gt; elements available in the document with editor instances. + * + * @param $className (string) If set, replace all textareas with class className in the page. + * + * Example 1: replace all &lt;textarea&gt; elements in the page. + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->replaceAll(); + * @endcode + * + * Example 2: replace all &lt;textarea class="myClassName"&gt; elements in the page. + * @code + * $CKEditor = new CKEditor(); + * $CKEditor->replaceAll( 'myClassName' ); + * @endcode + */ + public function replaceAll($className = null) + { + $out = ""; + if (!$this->initialized) { + $out .= $this->init(); + } + + $_config = $this->configSettings(); + + $js = $this->returnGlobalEvents(); + if (empty($_config)) { + if (empty($className)) { + $js .= "CKEDITOR.replaceAll();"; + } + else { + $js .= "CKEDITOR.replaceAll('".$className."');"; + } + } + else { + $classDetection = ""; + $js .= "CKEDITOR.replaceAll( function(textarea, config) {\n"; + if (!empty($className)) { + $js .= " var classRegex = new RegExp('(?:^| )' + '". $className ."' + '(?:$| )');\n"; + $js .= " if (!classRegex.test(textarea.className))\n"; + $js .= " return false;\n"; + } + $js .= " CKEDITOR.tools.extend(config, ". $this->jsEncode($_config) .", true);"; + $js .= "} );"; + + } + + $out .= $this->script($js); + + if (!$this->returnOutput) { + print $out; + $out = ""; + } + + return $out; + } + + /** + * Adds event listener. + * Events are fired by %CKEditor in various situations. + * + * @param $event (string) Event name. + * @param $javascriptCode (string) Javascript anonymous function or function name. + * + * Example usage: + * @code + * $CKEditor->addEventHandler('instanceReady', 'function (ev) { + * alert("Loaded: " + ev.editor.name); + * }'); + * @endcode + */ + public function addEventHandler($event, $javascriptCode) + { + if (!isset($this->events[$event])) { + $this->events[$event] = array(); + } + // Avoid duplicates. + if (!in_array($javascriptCode, $this->events[$event])) { + $this->events[$event][] = $javascriptCode; + } + } + + /** + * Clear registered event handlers. + * Note: this function will have no effect on already created editor instances. + * + * @param $event (string) Event name, if not set all event handlers will be removed (optional). + */ + public function clearEventHandlers($event = null) + { + if (!empty($event)) { + $this->events[$event] = array(); + } + else { + $this->events = array(); + } + } + + /** + * Adds global event listener. + * + * @param $event (string) Event name. + * @param $javascriptCode (string) Javascript anonymous function or function name. + * + * Example usage: + * @code + * $CKEditor->addGlobalEventHandler('dialogDefinition', 'function (ev) { + * alert("Loading dialog: " + ev.data.name); + * }'); + * @endcode + */ + public function addGlobalEventHandler($event, $javascriptCode) + { + if (!isset($this->globalEvents[$event])) { + $this->globalEvents[$event] = array(); + } + // Avoid duplicates. + if (!in_array($javascriptCode, $this->globalEvents[$event])) { + $this->globalEvents[$event][] = $javascriptCode; + } + } + + /** + * Clear registered global event handlers. + * Note: this function will have no effect if the event handler has been already printed/returned. + * + * @param $event (string) Event name, if not set all event handlers will be removed (optional). + */ + public function clearGlobalEventHandlers($event = null) + { + if (!empty($event)) { + $this->globalEvents[$event] = array(); + } + else { + $this->globalEvents = array(); + } + } + + /** + * Prints javascript code. + * + * @param string $js + */ + private function script($js) + { + $out = "<script type=\"text/javascript\">"; + $out .= "//<![CDATA[\n"; + $out .= $js; + $out .= "\n//]]>"; + $out .= "</script>\n"; + + return $out; + } + + /** + * Returns the configuration array (global and instance specific settings are merged into one array). + * + * @param $config (array) The specific configurations to apply to editor instance. + * @param $events (array) Event listeners for editor instance. + */ + private function configSettings($config = array(), $events = array()) + { + $_config = $this->config; + $_events = $this->events; + + if (is_array($config) && !empty($config)) { + $_config = array_merge($_config, $config); + } + + if (is_array($events) && !empty($events)) { + foreach ($events as $eventName => $code) { + if (!isset($_events[$eventName])) { + $_events[$eventName] = array(); + } + if (!in_array($code, $_events[$eventName])) { + $_events[$eventName][] = $code; + } + } + } + + if (!empty($_events)) { + foreach($_events as $eventName => $handlers) { + if (empty($handlers)) { + continue; + } + else if (count($handlers) == 1) { + $_config['on'][$eventName] = '@@'.$handlers[0]; + } + else { + $_config['on'][$eventName] = '@@function (ev){'; + foreach ($handlers as $handler => $code) { + $_config['on'][$eventName] .= '('.$code.')(ev);'; + } + $_config['on'][$eventName] .= '}'; + } + } + } + + return $_config; + } + + /** + * Return global event handlers. + */ + private function returnGlobalEvents() + { + static $returnedEvents; + $out = ""; + + if (!isset($returnedEvents)) { + $returnedEvents = array(); + } + + if (!empty($this->globalEvents)) { + foreach ($this->globalEvents as $eventName => $handlers) { + foreach ($handlers as $handler => $code) { + if (!isset($returnedEvents[$eventName])) { + $returnedEvents[$eventName] = array(); + } + // Return only new events + if (!in_array($code, $returnedEvents[$eventName])) { + $out .= ($code ? "\n" : "") . "CKEDITOR.on('". $eventName ."', $code);"; + $returnedEvents[$eventName][] = $code; + } + } + } + } + + return $out; + } + + /** + * Initializes CKEditor (executed only once). + */ + private function init() + { + static $initComplete; + $out = ""; + + if (!empty($initComplete)) { + return ""; + } + + if ($this->initialized) { + $initComplete = true; + return ""; + } + + $args = ""; + $ckeditorPath = $this->ckeditorPath(); + + if (!empty($this->timestamp) && $this->timestamp != "%"."TIMESTAMP%") { + $args = '?t=' . $this->timestamp; + } + + // Skip relative paths... + if (strpos($ckeditorPath, '..') !== 0) { + $out .= $this->script("window.CKEDITOR_BASEPATH='". $ckeditorPath ."';"); + } + + $out .= "<script type=\"text/javascript\" src=\"" . $ckeditorPath . 'ckeditor.js' . $args . "\"></script>\n"; + + $extraCode = ""; + if ($this->timestamp != self::timestamp) { + $extraCode .= ($extraCode ? "\n" : "") . "CKEDITOR.timestamp = '". $this->timestamp ."';"; + } + if ($extraCode) { + $out .= $this->script($extraCode); + } + + $initComplete = $this->initialized = true; + + return $out; + } + + /** + * Return path to ckeditor.js. + */ + private function ckeditorPath() + { + if (!empty($this->basePath)) { + return $this->basePath; + } + + /** + * The absolute pathname of the currently executing script. + * Note: If a script is executed with the CLI, as a relative path, such as file.php or ../file.php, + * $_SERVER['SCRIPT_FILENAME'] will contain the relative path specified by the user. + */ + if (isset($_SERVER['SCRIPT_FILENAME'])) { + $realPath = dirname($_SERVER['SCRIPT_FILENAME']); + } + else { + /** + * realpath — Returns canonicalized absolute pathname + */ + $realPath = realpath( './' ) ; + } + + /** + * The filename of the currently executing script, relative to the document root. + * For instance, $_SERVER['PHP_SELF'] in a script at the address http://example.com/test.php/foo.bar + * would be /test.php/foo.bar. + */ + $selfPath = dirname($_SERVER['PHP_SELF']); + $file = str_replace("\\", "/", __FILE__); + + if (!$selfPath || !$realPath || !$file) { + return "/ckeditor/"; + } + + $documentRoot = substr($realPath, 0, strlen($realPath) - strlen($selfPath)); + $fileUrl = substr($file, strlen($documentRoot)); + $ckeditorUrl = str_replace("ckeditor_php5.php", "", $fileUrl); + + return $ckeditorUrl; + } + + /** + * This little function provides a basic JSON support. + * http://php.net/manual/en/function.json-encode.php + * + * @param mixed $val + * @return string + */ + private function jsEncode($val) + { + if (is_null($val)) { + return 'null'; + } + if ($val === false) { + return 'false'; + } + if ($val === true) { + return 'true'; + } + if (is_scalar($val)) + { + if (is_float($val)) + { + // Always use "." for floats. + $val = str_replace(",", ".", strval($val)); + } + + // Use @@ to not use quotes when outputting string value + if (strpos($val, '@@') === 0) { + return substr($val, 2); + } + else { + // All scalars are converted to strings to avoid indeterminism. + // PHP's "1" and 1 are equal for all PHP operators, but + // JS's "1" and 1 are not. So if we pass "1" or 1 from the PHP backend, + // we should get the same result in the JS frontend (string). + // Character replacements for JSON. + static $jsonReplaces = array(array("\\", "/", "\n", "\t", "\r", "\b", "\f", '"'), + array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"')); + + $val = str_replace($jsonReplaces[0], $jsonReplaces[1], $val); + + return '"' . $val . '"'; + } + } + $isList = true; + for ($i = 0, reset($val); $i < count($val); $i++, next($val)) + { + if (key($val) !== $i) + { + $isList = false; + break; + } + } + $result = array(); + if ($isList) + { + foreach ($val as $v) $result[] = $this->jsEncode($v); + return '[ ' . join(', ', $result) . ' ]'; + } + else + { + foreach ($val as $k => $v) $result[] = $this->jsEncode($k).': '.$this->jsEncode($v); + return '{ ' . join(', ', $result) . ' }'; + } + } +} diff --git a/editor/editor/ckeditor_source.js b/editor/editor/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.2',revision:'5205',_:{},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/editor/editor/config.js b/editor/editor/config.js @@ -0,0 +1,11 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.editorConfig = function( config ) +{ + // Define changes to default configuration here. For example: + // config.language = 'fr'; + // config.uiColor = '#AADC6E'; +}; diff --git a/editor/editor/contents.css b/editor/editor/contents.css @@ -0,0 +1,35 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +body +{ + /* Font */ + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + + /* Text color */ + color: #222; + + /* Remove the background color to make it transparent */ + background-color: #fff; +} + +html +{ + /* #3658: [IE6] Editor document has horizontal scrollbar on long lines + To prevent this misbehavior, we show the scrollbar always */ + _overflow-y: scroll +} + +img:-moz-broken +{ + -moz-force-broken-image-icon : 1; + width : 24px; + height : 24px; +} +img, input, textarea +{ + cursor: default; +} diff --git a/editor/editor/css/behaviors/disablehandles.htc b/editor/editor/css/behaviors/disablehandles.htc @@ -1,15 +0,0 @@ -<public:component lightweight="true"> - -<script language="javascript"> - -function CancelEvent() -{ - return false ; -} - -this.onresizestart = CancelEvent ; -this.onbeforeeditfocus = CancelEvent ; - -</script> - -</public:component> diff --git a/editor/editor/css/behaviors/showtableborders.htc b/editor/editor/css/behaviors/showtableborders.htc @@ -1,36 +0,0 @@ -<public:component lightweight="true"> - -<public:attach event="oncontentready" onevent="ShowBorders()" /> -<public:attach event="onpropertychange" onevent="OnPropertyChange()" /> - -<script language="javascript"> - -var oClassRegex = /\s*FCK__ShowTableBorders/ ; - -function ShowBorders() -{ - if ( this.border == 0 ) - { - if ( !oClassRegex.test( this.className ) ) - this.className += ' FCK__ShowTableBorders' ; - } - else - { - if ( oClassRegex.test( this.className ) ) - { - this.className = this.className.replace( oClassRegex, '' ) ; - if ( this.className.length == 0 ) - this.removeAttribute( 'className', 0 ) ; - } - } -} - -function OnPropertyChange() -{ - if ( event.propertyName == 'border' || event.propertyName == 'className' ) - ShowBorders.call(this) ; -} - -</script> - -</public:component> diff --git a/editor/editor/css/fck_editorarea.css b/editor/editor/css/fck_editorarea.css @@ -1,92 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the default CSS file used by the editor area. It defines the - * initial font of the editor and background color. - * - * A user can configure the editor to use another CSS file. Just change - * the value of the FCKConfig.EditorAreaCSS key in the configuration - * file. - */ - -/* - The "body" styles should match your editor web site, mainly regarding - background color and font family and size. -*/ - -body -{ - background-color: #ffffff; - padding: 5px 5px 5px 5px; - margin: 0px; -} - -body, td -{ - font-family: Arial, Verdana, sans-serif; - font-size: 12px; -} - -a[href] -{ - color: -moz-hyperlinktext !important; /* For Firefox... mark as important, otherwise it becomes black */ - text-decoration: -moz-anchor-decoration; /* For Firefox 3, otherwise no underline will be used */ -} - -/* - Just uncomment the following block if you want to avoid spaces between - paragraphs. Remember to apply the same style in your output front end page. -*/ - -/* -p, ul, li -{ - margin-top: 0px; - margin-bottom: 0px; -} -*/ - -/* - The following are some sample styles used in the "Styles" toolbar command. - You should instead remove them, and include the styles used by the site - you are using the editor in. -*/ - -.Bold -{ - font-weight: bold; -} - -.Title -{ - font-weight: bold; - font-size: 18px; - color: #cc3300; -} - -.Code -{ - border: #8b4513 1px solid; - padding-right: 5px; - padding-left: 5px; - color: #000066; - font-family: 'Courier New' , Monospace; - background-color: #ff9933; -} diff --git a/editor/editor/css/fck_internal.css b/editor/editor/css/fck_internal.css @@ -1,182 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This CSS Style Sheet defines rules used by the editor for its internal use. - */ - -/* Fix to allow putting the caret at the end of the content in Firefox if - clicking below the content. */ -html -{ - min-height: 100%; -} - -table.FCK__ShowTableBorders, table.FCK__ShowTableBorders td, table.FCK__ShowTableBorders th -{ - border: #d3d3d3 1px solid; -} - -form -{ - border: 1px dotted #FF0000; - padding: 2px; -} - -.FCK__Flash -{ - border: #a9a9a9 1px solid; - background-position: center center; - background-image: url(images/fck_flashlogo.gif); - background-repeat: no-repeat; - width: 80px; - height: 80px; -} - -/* Empty anchors images */ -.FCK__Anchor -{ - border: 1px dotted #00F; - background-position: center center; - background-image: url(images/fck_anchor.gif); - background-repeat: no-repeat; - width: 16px; - height: 15px; - vertical-align: middle; -} - -/* Anchors with content */ -.FCK__AnchorC -{ - border: 1px dotted #00F; - background-position: 1px center; - background-image: url(images/fck_anchor.gif); - background-repeat: no-repeat; - padding-left: 18px; -} - -/* Any anchor for non-IE, if we combine it with the previous rule IE ignores all. */ -a[name] -{ - border: 1px dotted #00F; - background-position: 0 center; - background-image: url(images/fck_anchor.gif); - background-repeat: no-repeat; - padding-left: 18px; -} - -.FCK__PageBreak -{ - background-position: center center; - background-image: url(images/fck_pagebreak.gif); - background-repeat: no-repeat; - clear: both; - display: block; - float: none; - width: 100%; - border-top: #999999 1px dotted; - border-bottom: #999999 1px dotted; - border-right: 0px; - border-left: 0px; - height: 5px; -} - -/* Hidden fields */ -.FCK__InputHidden -{ - width: 19px; - height: 18px; - background-image: url(images/fck_hiddenfield.gif); - background-repeat: no-repeat; - vertical-align: text-bottom; - background-position: center center; -} - -.FCK__ShowBlocks p, -.FCK__ShowBlocks div, -.FCK__ShowBlocks pre, -.FCK__ShowBlocks address, -.FCK__ShowBlocks blockquote, -.FCK__ShowBlocks h1, -.FCK__ShowBlocks h2, -.FCK__ShowBlocks h3, -.FCK__ShowBlocks h4, -.FCK__ShowBlocks h5, -.FCK__ShowBlocks h6 -{ - background-repeat: no-repeat; - border: 1px dotted gray; - padding-top: 8px; - padding-left: 8px; -} - -.FCK__ShowBlocks p -{ - background-image: url(images/block_p.png); -} - -.FCK__ShowBlocks div -{ - background-image: url(images/block_div.png); -} - -.FCK__ShowBlocks pre -{ - background-image: url(images/block_pre.png); -} - -.FCK__ShowBlocks address -{ - background-image: url(images/block_address.png); -} - -.FCK__ShowBlocks blockquote -{ - background-image: url(images/block_blockquote.png); -} - -.FCK__ShowBlocks h1 -{ - background-image: url(images/block_h1.png); -} - -.FCK__ShowBlocks h2 -{ - background-image: url(images/block_h2.png); -} - -.FCK__ShowBlocks h3 -{ - background-image: url(images/block_h3.png); -} - -.FCK__ShowBlocks h4 -{ - background-image: url(images/block_h4.png); -} - -.FCK__ShowBlocks h5 -{ - background-image: url(images/block_h5.png); -} - -.FCK__ShowBlocks h6 -{ - background-image: url(images/block_h6.png); -} diff --git a/editor/editor/css/fck_showtableborders_gecko.css b/editor/editor/css/fck_showtableborders_gecko.css @@ -1,42 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This CSS Style Sheet defines the rules to show table borders on Gecko. - */ - -/* For tables with the "border" attribute set to "0" */ -table[border="0"], -table[border="0"] > tr > td, table[border="0"] > tr > th, -table[border="0"] > tbody > tr > td, table[border="0"] > tbody > tr > th, -table[border="0"] > thead > tr > td, table[border="0"] > thead > tr > th, -table[border="0"] > tfoot > tr > td, table[border="0"] > tfoot > tr > th -{ - border: #d3d3d3 1px dotted ; -} - -/* For tables with no "border" attribute set */ -table:not([border]), -table:not([border]) > tr > td, table:not([border]) > tr > th, -table:not([border]) > tbody > tr > td, table:not([border]) > tbody > tr > th, -table:not([border]) > thead > tr > td, table:not([border]) > thead > tr > th, -table:not([border]) > tfoot > tr > td, table:not([border]) > tfoot > tr > th -{ - border: #d3d3d3 1px dotted ; -} diff --git a/editor/editor/css/images/block_address.png b/editor/editor/css/images/block_address.png Binary files differ. diff --git a/editor/editor/css/images/block_blockquote.png b/editor/editor/css/images/block_blockquote.png Binary files differ. diff --git a/editor/editor/css/images/block_div.png b/editor/editor/css/images/block_div.png Binary files differ. diff --git a/editor/editor/css/images/block_h1.png b/editor/editor/css/images/block_h1.png Binary files differ. diff --git a/editor/editor/css/images/block_h2.png b/editor/editor/css/images/block_h2.png Binary files differ. diff --git a/editor/editor/css/images/block_h3.png b/editor/editor/css/images/block_h3.png Binary files differ. diff --git a/editor/editor/css/images/block_h4.png b/editor/editor/css/images/block_h4.png Binary files differ. diff --git a/editor/editor/css/images/block_h5.png b/editor/editor/css/images/block_h5.png Binary files differ. diff --git a/editor/editor/css/images/block_h6.png b/editor/editor/css/images/block_h6.png Binary files differ. diff --git a/editor/editor/css/images/block_p.png b/editor/editor/css/images/block_p.png Binary files differ. diff --git a/editor/editor/css/images/block_pre.png b/editor/editor/css/images/block_pre.png Binary files differ. diff --git a/editor/editor/css/images/fck_anchor.gif b/editor/editor/css/images/fck_anchor.gif Binary files differ. diff --git a/editor/editor/css/images/fck_flashlogo.gif b/editor/editor/css/images/fck_flashlogo.gif Binary files differ. diff --git a/editor/editor/css/images/fck_hiddenfield.gif b/editor/editor/css/images/fck_hiddenfield.gif Binary files differ. diff --git a/editor/editor/css/images/fck_pagebreak.gif b/editor/editor/css/images/fck_pagebreak.gif Binary files differ. diff --git a/editor/editor/dialog/common/fck_dialog_common.css b/editor/editor/dialog/common/fck_dialog_common.css @@ -1,78 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the CSS file used for interface details in some dialog - * windows. - */ - -.ImagePreviewArea -{ - border: #000000 1px solid; - overflow: auto; - width: 100%; - height: 170px; - background-color: #ffffff; -} - -.FlashPreviewArea -{ - border: #000000 1px solid; - padding: 5px; - overflow: auto; - width: 100%; - height: 170px; - background-color: #ffffff; -} - -.BtnReset -{ - float: left; - background-position: center center; - background-image: url(images/reset.gif); - width: 16px; - height: 16px; - background-repeat: no-repeat; - border: 1px none; - font-size: 1px ; -} - -.BtnLocked, .BtnUnlocked -{ - float: left; - background-position: center center; - background-image: url(images/locked.gif); - width: 16px; - height: 16px; - background-repeat: no-repeat; - border: none 1px; - font-size: 1px ; -} - -.BtnUnlocked -{ - background-image: url(images/unlocked.gif); -} - -.BtnOver -{ - border: outset 1px; - cursor: pointer; - cursor: hand; -} diff --git a/editor/editor/dialog/common/fck_dialog_common.js b/editor/editor/dialog/common/fck_dialog_common.js @@ -1,165 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Useful functions used by almost all dialog window pages. - */ - -// Gets a element by its Id. Used for shorter coding. -function GetE( elementId ) -{ - return document.getElementById( elementId ) ; -} - -function ShowE( element, isVisible ) -{ - if ( typeof( element ) == 'string' ) - element = GetE( element ) ; - element.style.display = isVisible ? '' : 'none' ; -} - -function SetAttribute( element, attName, attValue ) -{ - if ( attValue == null || attValue.length == 0 ) - element.removeAttribute( attName, 0 ) ; // 0 : Case Insensitive - else - element.setAttribute( attName, attValue, 0 ) ; // 0 : Case Insensitive -} - -function GetAttribute( element, attName, valueIfNull ) -{ - var oAtt = element.attributes[attName] ; - - if ( oAtt == null || !oAtt.specified ) - return valueIfNull ? valueIfNull : '' ; - - var oValue = element.getAttribute( attName, 2 ) ; - - if ( oValue == null ) - oValue = oAtt.nodeValue ; - - return ( oValue == null ? valueIfNull : oValue ) ; -} - -var KeyIdentifierMap = -{ - End : 35, - Home : 36, - Left : 37, - Right : 39, - 'U+00007F' : 46 // Delete -} - -// Functions used by text fields to accept numbers only. -function IsDigit( e ) -{ - if ( !e ) - e = event ; - - var iCode = ( e.keyCode || e.charCode ) ; - - if ( !iCode && e.keyIdentifier && ( e.keyIdentifier in KeyIdentifierMap ) ) - iCode = KeyIdentifierMap[ e.keyIdentifier ] ; - - return ( - ( iCode >= 48 && iCode <= 57 ) // Numbers - || (iCode >= 35 && iCode <= 40) // Arrows, Home, End - || iCode == 8 // Backspace - || iCode == 46 // Delete - || iCode == 9 // Tab - ) ; -} - -String.prototype.Trim = function() -{ - return this.replace( /(^\s*)|(\s*$)/g, '' ) ; -} - -String.prototype.StartsWith = function( value ) -{ - return ( this.substr( 0, value.length ) == value ) ; -} - -String.prototype.Remove = function( start, length ) -{ - var s = '' ; - - if ( start > 0 ) - s = this.substring( 0, start ) ; - - if ( start + length < this.length ) - s += this.substring( start + length , this.length ) ; - - return s ; -} - -String.prototype.ReplaceAll = function( searchArray, replaceArray ) -{ - var replaced = this ; - - for ( var i = 0 ; i < searchArray.length ; i++ ) - { - replaced = replaced.replace( searchArray[i], replaceArray[i] ) ; - } - - return replaced ; -} - -function OpenFileBrowser( url, width, height ) -{ - // oEditor must be defined. - - var iLeft = ( oEditor.FCKConfig.ScreenWidth - width ) / 2 ; - var iTop = ( oEditor.FCKConfig.ScreenHeight - height ) / 2 ; - - var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes,scrollbars=yes" ; - sOptions += ",width=" + width ; - sOptions += ",height=" + height ; - sOptions += ",left=" + iLeft ; - sOptions += ",top=" + iTop ; - - // The "PreserveSessionOnFileBrowser" because the above code could be - // blocked by popup blockers. - if ( oEditor.FCKConfig.PreserveSessionOnFileBrowser && oEditor.FCKBrowserInfo.IsIE ) - { - // The following change has been made otherwise IE will open the file - // browser on a different server session (on some cases): - // http://support.microsoft.com/default.aspx?scid=kb;en-us;831678 - // by Simone Chiaretta. - var oWindow = oEditor.window.open( url, 'FCKBrowseWindow', sOptions ) ; - - if ( oWindow ) - { - // Detect Yahoo popup blocker. - try - { - var sTest = oWindow.name ; // Yahoo returns "something", but we can't access it, so detect that and avoid strange errors for the user. - oWindow.opener = window ; - } - catch(e) - { - alert( oEditor.FCKLang.BrowseServerBlocked ) ; - } - } - else - alert( oEditor.FCKLang.BrowseServerBlocked ) ; - } - else - window.open( url, 'FCKBrowseWindow', sOptions ) ; -} diff --git a/editor/editor/dialog/common/images/locked.gif b/editor/editor/dialog/common/images/locked.gif Binary files differ. diff --git a/editor/editor/dialog/common/images/reset.gif b/editor/editor/dialog/common/images/reset.gif Binary files differ. diff --git a/editor/editor/dialog/common/images/unlocked.gif b/editor/editor/dialog/common/images/unlocked.gif Binary files differ. diff --git a/editor/editor/dialog/fck_about.html b/editor/editor/dialog/fck_about.html @@ -1,155 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * "About" dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCKLang = oEditor.FCKLang ; - -window.parent.AddTab( 'About', FCKLang.DlgAboutAboutTab ) ; -window.parent.AddTab( 'License', FCKLang.DlgAboutLicenseTab ) ; -window.parent.AddTab( 'BrowserInfo', FCKLang.DlgAboutBrowserInfoTab ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE('divAbout', ( tabCode == 'About' ) ) ; - ShowE('divLicense', ( tabCode == 'License' ) ) ; - ShowE('divInfo' , ( tabCode == 'BrowserInfo' ) ) ; -} - -function SendEMail() -{ - var eMail = 'mailto:' ; - eMail += 'fredck' ; - eMail += '@' ; - eMail += 'fckeditor' ; - eMail += '.' ; - eMail += 'net' ; - - window.location = eMail ; -} - -window.onload = function() -{ - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - window.parent.SetAutoSize( true ) ; -} - - </script> -</head> -<body style="overflow: hidden"> - <div id="divAbout"> - <table cellpadding="0" cellspacing="0" border="0" width="100%" style="height: 100%"> - <tr> - <td> - <img alt="" src="fck_about/logo_fckeditor.gif" width="236" height="41" align="left" /> - <table width="80" border="0" cellspacing="0" cellpadding="5" bgcolor="#ffffff" align="right"> - <tr> - <td align="center" nowrap="nowrap" style="border-right: #000000 1px solid; border-top: #000000 1px solid; - border-left: #000000 1px solid; border-bottom: #000000 1px solid"> - <span fcklang="DlgAboutVersion">version</span> - <br /> - <b>2.5</b><br /> - Build 17352</td> - </tr> - </table> - </td> - </tr> - <tr style="height: 100%"> - <td align="center"> - &nbsp;<br /> - <span style="font-size: 14px" dir="ltr"> - <br /> - <b><a href="http://www.fckeditor.net/?about" target="_blank" title="Visit the FCKeditor web site"> - Support <b>Open Source</b> Software</a></b> </span> - <br /> - <br /> - <br /> - <span fcklang="DlgAboutInfo">For further information go to</span> <a href="http://www.fckeditor.net/?About" - target="_blank">http://www.fckeditor.net/</a>. - <br /> - Copyright &copy; 2003-2007 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a> - </td> - </tr> - <tr> - <td align="center"> - <img alt="" src="fck_about/logo_fredck.gif" width="87" height="36" /> - </td> - </tr> - </table> - </div> - <div id="divLicense" style="display: none"> - <p> - Licensed under the terms of any of the following licenses at your - choice: - </p> - <ul> - <li style="margin-bottom:15px"> - <b>GNU General Public License</b> Version 2 or later (the "GPL")<br /> - <a href="http://www.gnu.org/licenses/gpl.html" target="_blank">http://www.gnu.org/licenses/gpl.html</a> - </li> - <li style="margin-bottom:15px"> - <b>GNU Lesser General Public License</b> Version 2.1 or later (the "LGPL")<br /> - <a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a> - </li> - <li> - <b>Mozilla Public License</b> Version 1.1 or later (the "MPL")<br /> - <a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html</a> - </li> - </ul> - </div> - <div id="divInfo" style="display: none" dir="ltr"> - <table align="center" width="80%" border="0"> - <tr> - <td> - <script type="text/javascript"> -<!-- -document.write( '<b>User Agent<\/b><br />' + window.navigator.userAgent + '<br /><br />' ) ; -document.write( '<b>Browser<\/b><br />' + window.navigator.appName + ' ' + window.navigator.appVersion + '<br /><br />' ) ; -document.write( '<b>Platform<\/b><br />' + window.navigator.platform + '<br /><br />' ) ; - -var sUserLang = '?' ; - -if ( window.navigator.language ) - sUserLang = window.navigator.language.toLowerCase() ; -else if ( window.navigator.userLanguage ) - sUserLang = window.navigator.userLanguage.toLowerCase() ; - -document.write( '<b>User Language<\/b><br />' + sUserLang ) ; -//--> - </script> - </td> - </tr> - </table> - </div> -</body> -</html> diff --git a/editor/editor/dialog/fck_about/logo_fckeditor.gif b/editor/editor/dialog/fck_about/logo_fckeditor.gif Binary files differ. diff --git a/editor/editor/dialog/fck_about/logo_fredck.gif b/editor/editor/dialog/fck_about/logo_fredck.gif Binary files differ. diff --git a/editor/editor/dialog/fck_anchor.html b/editor/editor/dialog/fck_anchor.html @@ -1,208 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Anchor dialog window. ---> -<html> - <head> - <title>Anchor Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKBrowserInfo = oEditor.FCKBrowserInfo ; -var FCKTools = oEditor.FCKTools ; -var FCKRegexLib = oEditor.FCKRegexLib ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oFakeImage = FCK.Selection.GetSelectedElement() ; -var oAnchor ; - -if ( oFakeImage ) -{ - if ( oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fckanchor') ) - oAnchor = FCK.GetRealElement( oFakeImage ) ; - else - oFakeImage = null ; -} - -//Search for a real anchor -if ( !oFakeImage ) -{ - oAnchor = FCK.Selection.MoveToAncestorNode( 'A' ) ; - if ( oAnchor ) - FCK.Selection.SelectNode( oAnchor ) ; -} - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oAnchor ) - GetE('txtName').value = oAnchor.name ; - else - oAnchor = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - var sNewName = GetE('txtName').value ; - - // Remove any illegal character in a name attribute: - // A name should start with a letter, but the validator passes anyway. - sNewName = sNewName.replace( /[^\w-_\.:]/g, '_' ) ; - - if ( sNewName.length == 0 ) - { - // Remove the anchor if the user leaves the name blank - if ( oAnchor ) - { - // Removes the current anchor from the document using the new command - FCK.Commands.GetCommand( 'AnchorDelete' ).Execute() ; - return true ; - } - - alert( oEditor.FCKLang.DlgAnchorErrorName ) ; - return false ; - } - - oEditor.FCKUndo.SaveUndoStep() ; - - if ( oAnchor ) // Modifying an existent anchor. - { - ReadjustLinksToAnchor( oAnchor.name, sNewName ); - - // Buggy explorer, bad bad browser. http://alt-tag.com/blog/archives/2006/02/ie-dom-bugs/ - // Instead of just replacing the .name for the existing anchor (in order to preserve the content), we must remove the .name - // and assign .name, although it won't appear until it's specially processed in fckxhtml.js - - // We remove the previous name - oAnchor.removeAttribute( 'name' ) ; - // Now we set it, but later we must process it specially - oAnchor.name = sNewName ; - - return true ; - } - - // Create a new anchor preserving the current selection - var aNewAnchors = oEditor.FCK.CreateLink( '#' ) ; - - if ( aNewAnchors.length == 0 ) - { - // Nothing was selected, so now just create a normal A - aNewAnchors.push( oEditor.FCK.InsertElement( 'a' ) ) ; - } - else - { - // Remove the fake href - for ( var i = 0 ; i < aNewAnchors.length ; i++ ) - aNewAnchors[i].removeAttribute( 'href' ) ; - } - - // More than one anchors may have been created, so interact through all of them (see #220). - for ( var i = 0 ; i < aNewAnchors.length ; i++ ) - { - oAnchor = aNewAnchors[i] ; - - // Set the name - oAnchor.name = sNewName ; - - // IE does require special processing to show the Anchor's image - // Opera doesn't allow to select empty anchors - if ( FCKBrowserInfo.IsIE || FCKBrowserInfo.IsOpera ) - { - if ( oAnchor.innerHTML != '' ) - { - if ( FCKBrowserInfo.IsIE ) - oAnchor.className += ' FCK__AnchorC' ; - } - else - { - // Create a fake image for both IE and Opera - var oImg = oEditor.FCKDocumentProcessor_CreateFakeImage( 'FCK__Anchor', oAnchor.cloneNode(true) ) ; - oImg.setAttribute( '_fckanchor', 'true', 0 ) ; - - oAnchor.parentNode.insertBefore( oImg, oAnchor ) ; - oAnchor.parentNode.removeChild( oAnchor ) ; - } - - } - } - - return true ; -} - -// Checks all the links in the current page pointing to the current name and changes them to the new name -function ReadjustLinksToAnchor( sCurrent, sNew ) -{ - var oDoc = FCK.EditorDocument ; - - var aLinks = oDoc.getElementsByTagName( 'A' ) ; - - var sReference = '#' + sCurrent ; - // The url of the document, so we check absolute and partial references. - var sFullReference = oDoc.location.href.replace( /(#.*$)/, '') ; - sFullReference += sReference ; - - var oLink ; - var i = aLinks.length - 1 ; - while ( i >= 0 && ( oLink = aLinks[i--] ) ) - { - var sHRef = oLink.getAttribute( '_fcksavedurl' ) ; - if ( sHRef == null ) - sHRef = oLink.getAttribute( 'href' , 2 ) || '' ; - - if ( sHRef == sReference || sHRef == sFullReference ) - { - oLink.href = '#' + sNew ; - SetAttribute( oLink, '_fcksavedurl', '#' + sNew ) ; - } - } -} - - </script> - </head> - <body style="overflow: hidden"> - <table height="100%" width="100%"> - <tr> - <td align="center"> - <table border="0" cellpadding="0" cellspacing="0" width="80%"> - <tr> - <td> - <span fckLang="DlgAnchorName">Anchor Name</span><BR> - <input id="txtName" style="WIDTH: 100%" type="text"> - </td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_button.html b/editor/editor/dialog/fck_button.html @@ -1,110 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Button dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Button Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta content="noindex, nofollow" name="robots" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oActiveEl && oActiveEl.tagName.toUpperCase() == "INPUT" && ( oActiveEl.type == "button" || oActiveEl.type == "submit" || oActiveEl.type == "reset" ) ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtValue').value = oActiveEl.value ; - GetE('txtType').value = oActiveEl.type ; - - GetE('txtType').disabled = true ; - } - else - oActiveEl = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - oEditor.FCKUndo.SaveUndoStep() ; - - if ( !oActiveEl ) - { - oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' ) ; - oActiveEl.type = GetE('txtType').value ; - oActiveEl = oEditor.FCK.InsertElement( oActiveEl ) ; - } - - oActiveEl.name = GetE('txtName').value ; - SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ; - - return true ; -} - - </script> -</head> -<body style="overflow: hidden"> - <table width="100%" style="height: 100%"> - <tr> - <td align="center"> - <table border="0" cellpadding="0" cellspacing="0" width="80%"> - <tr> - <td colspan=""> - <span fcklang="DlgCheckboxName">Name</span><br /> - <input type="text" size="20" id="txtName" style="width: 100%" /> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgButtonText">Text (Value)</span><br /> - <input type="text" id="txtValue" style="width: 100%" /> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgButtonType">Type</span><br /> - <select id="txtType"> - <option fcklang="DlgButtonTypeBtn" value="button" selected="selected">Button</option> - <option fcklang="DlgButtonTypeSbm" value="submit">Submit</option> - <option fcklang="DlgButtonTypeRst" value="reset">Reset</option> - </select> - </td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_checkbox.html b/editor/editor/dialog/fck_checkbox.html @@ -1,110 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Checkbox dialog window. ---> -<html> - <head> - <title>Checkbox Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oActiveEl && oActiveEl.tagName == 'INPUT' && oActiveEl.type == 'checkbox' ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtValue').value = oEditor.FCKBrowserInfo.IsIE ? oActiveEl.value : GetAttribute( oActiveEl, 'value' ) ; - GetE('txtSelected').checked = oActiveEl.checked ; - } - else - oActiveEl = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - oEditor.FCKUndo.SaveUndoStep() ; - - if ( !oActiveEl ) - { - oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' ) ; - oActiveEl.type = 'checkbox' ; - oActiveEl = oEditor.FCK.InsertElement( oActiveEl ) ; - } - - if ( GetE('txtName').value.length > 0 ) - oActiveEl.name = GetE('txtName').value ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - oActiveEl.value = GetE('txtValue').value ; - else - SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ; - - var bIsChecked = GetE('txtSelected').checked ; - SetAttribute( oActiveEl, 'checked', bIsChecked ? 'checked' : null ) ; // For Firefox - oActiveEl.checked = bIsChecked ; - - return true ; -} - - </script> - </head> - <body style="OVERFLOW: hidden" scroll="no"> - <table height="100%" width="100%"> - <tr> - <td align="center"> - <table border="0" cellpadding="0" cellspacing="0" width="80%"> - <tr> - <td> - <span fckLang="DlgCheckboxName">Name</span><br> - <input type="text" size="20" id="txtName" style="WIDTH: 100%"> - </td> - </tr> - <tr> - <td> - <span fckLang="DlgCheckboxValue">Value</span><br> - <input type="text" size="20" id="txtValue" style="WIDTH: 100%"> - </td> - </tr> - <tr> - <td><input type="checkbox" id="txtSelected"><label for="txtSelected" fckLang="DlgCheckboxSelected">Checked</label></td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_colorselector.html b/editor/editor/dialog/fck_colorselector.html @@ -1,171 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Color Selection dialog window. ---> -<html> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <style TYPE="text/css"> - #ColorTable { cursor: pointer ; cursor: hand ; } - #hicolor { height: 74px ; width: 74px ; border-width: 1px ; border-style: solid ; } - #hicolortext { width: 75px ; text-align: right ; margin-bottom: 7px ; } - #selhicolor { height: 20px ; width: 74px ; border-width: 1px ; border-style: solid ; } - #selcolor { width: 75px ; height: 20px ; margin-top: 0px ; margin-bottom: 7px ; } - #btnClear { width: 75px ; height: 22px ; margin-bottom: 6px ; } - .ColorCell { height: 15px ; width: 15px ; } - </style> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -function OnLoad() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - CreateColorTable() ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function CreateColorTable() -{ - // Get the target table. - var oTable = document.getElementById('ColorTable') ; - - // 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 oRow = oTable.insertRow(-1) ; - - for ( var j = rangeB ; j < rangeB + 3 ; j++ ) - { - for ( var n = 0 ; n < 6 ; n++ ) - { - AppendColorCell( oRow, '#' + aColors[j] + aColors[n] + aColors[i] ) ; - } - } - } - } - - // This function create a single color cell in the color table. - function AppendColorCell( targetRow, color ) - { - var oCell = targetRow.insertCell(-1) ; - oCell.className = 'ColorCell' ; - oCell.bgColor = color ; - - oCell.onmouseover = function() - { - document.getElementById('hicolor').style.backgroundColor = this.bgColor ; - document.getElementById('hicolortext').innerHTML = this.bgColor ; - } - - oCell.onclick = function() - { - document.getElementById('selhicolor').style.backgroundColor = this.bgColor ; - document.getElementById('selcolor').value = this.bgColor ; - } - } - - AppendColorRow( 0, 0 ) ; - AppendColorRow( 3, 0 ) ; - AppendColorRow( 0, 3 ) ; - AppendColorRow( 3, 3 ) ; - - // Create the last row. - var oRow = oTable.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' ) ; - } -} - -function Clear() -{ - document.getElementById('selhicolor').style.backgroundColor = '' ; - document.getElementById('selcolor').value = '' ; -} - -function ClearActual() -{ - document.getElementById('hicolor').style.backgroundColor = '' ; - document.getElementById('hicolortext').innerHTML = '&nbsp;' ; -} - -function UpdateColor() -{ - try { document.getElementById('selhicolor').style.backgroundColor = document.getElementById('selcolor').value ; } - catch (e) { Clear() ; } -} - -function Ok() -{ - if ( typeof(window.parent.dialogArguments.CustomValue) == 'function' ) - window.parent.dialogArguments.CustomValue( document.getElementById('selcolor').value ) ; - - return true ; -} - </script> - </head> - <body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden"> - <table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"> - <tr> - <td align="center" valign="middle"> - <table border="0" cellspacing="5" cellpadding="0" width="100%"> - <tr> - <td valign="top" align="center" nowrap width="100%"> - <table id="ColorTable" border="0" cellspacing="0" cellpadding="0" width="270" onmouseout="ClearActual();"> - </table> - </td> - <td valign="top" align="left" nowrap> - <span fckLang="DlgColorHighlight">Highlight</span> - <div id="hicolor"></div> - <div id="hicolortext">&nbsp;</div> - <span fckLang="DlgColorSelected">Selected</span> - <div id="selhicolor"></div> - <input id="selcolor" type="text" maxlength="20" onchange="UpdateColor();"> - <br> - <input id="btnClear" type="button" fckLang="DlgColorBtnClear" value="Clear" onclick="Clear();" /> - </td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_docprops.html b/editor/editor/dialog/fck_docprops.html @@ -1,600 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Link dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta content="noindex, nofollow" name="robots" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; - -//#### Dialog Tabs - -// Set the dialog tabs. -window.parent.AddTab( 'General' , FCKLang.DlgDocGeneralTab ) ; -window.parent.AddTab( 'Background' , FCKLang.DlgDocBackTab ) ; -window.parent.AddTab( 'Colors' , FCKLang.DlgDocColorsTab ) ; -window.parent.AddTab( 'Meta' , FCKLang.DlgDocMetaTab ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE( 'divGeneral' , ( tabCode == 'General' ) ) ; - ShowE( 'divBackground' , ( tabCode == 'Background' ) ) ; - ShowE( 'divColors' , ( tabCode == 'Colors' ) ) ; - ShowE( 'divMeta' , ( tabCode == 'Meta' ) ) ; - - ShowE( 'ePreview' , ( tabCode == 'Background' || tabCode == 'Colors' ) ) ; -} - -//#### Get Base elements from the document: BEGIN - -// The HTML element of the document. -var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ; - -// The HEAD element of the document. -var oHead = oHTML.getElementsByTagName('head')[0] ; - -var oBody = FCK.EditorDocument.body ; - -// This object contains all META tags defined in the document. -var oMetaTags = new Object() ; - -// Get all META tags defined in the document. -AppendMetaCollection( oMetaTags, oHead.getElementsByTagName('meta') ) ; -AppendMetaCollection( oMetaTags, oHead.getElementsByTagName('fck:meta') ) ; - -function AppendMetaCollection( targetObject, metaCollection ) -{ - // Loop throw all METAs and put it in the HashTable. - for ( var i = 0 ; i < metaCollection.length ; i++ ) - { - // Try to get the "name" attribute. - var sName = GetAttribute( metaCollection[i], 'name', GetAttribute( metaCollection[i], '___fcktoreplace:name', '' ) ) ; - - // If no "name", try with the "http-equiv" attribute. - if ( sName.length == 0 ) - { - if ( oEditor.FCKBrowserInfo.IsIE ) - { - // Get the http-equiv value from the outerHTML. - var oHttpEquivMatch = metaCollection[i].outerHTML.match( oEditor.FCKRegexLib.MetaHttpEquiv ) ; - if ( oHttpEquivMatch ) - sName = oHttpEquivMatch[1] ; - } - else - sName = GetAttribute( metaCollection[i], 'http-equiv', '' ) ; - } - - if ( sName.length > 0 ) - targetObject[ sName.toLowerCase() ] = metaCollection[i] ; - } -} - -//#### END - -// Set a META tag in the document. -function SetMetadata( name, content, isHttp ) -{ - if ( content.length == 0 ) - { - RemoveMetadata( name ) ; - return ; - } - - var oMeta = oMetaTags[ name.toLowerCase() ] ; - - if ( !oMeta ) - { - oMeta = oHead.appendChild( FCK.EditorDocument.createElement('META') ) ; - - if ( isHttp ) - SetAttribute( oMeta, 'http-equiv', name ) ; - else - { - // On IE, it is not possible to set the "name" attribute of the META tag. - // So a temporary attribute is used and it is replaced when getting the - // editor's HTML/XHTML value. This is sad, I know :( - if ( oEditor.FCKBrowserInfo.IsIE ) - SetAttribute( oMeta, '___fcktoreplace:name', name ) ; - else - SetAttribute( oMeta, 'name', name ) ; - } - - oMetaTags[ name.toLowerCase() ] = oMeta ; - } - - SetAttribute( oMeta, 'content', content ) ; -// oMeta.content = content ; -} - -function RemoveMetadata( name ) -{ - var oMeta = oMetaTags[ name.toLowerCase() ] ; - - if ( oMeta && oMeta != null ) - { - oMeta.parentNode.removeChild( oMeta ) ; - oMetaTags[ name.toLowerCase() ] = null ; - } -} - -function GetMetadata( name ) -{ - var oMeta = oMetaTags[ name.toLowerCase() ] ; - - if ( oMeta && oMeta != null ) - return oMeta.getAttribute( 'content', 2 ) ; - else - return '' ; -} - -window.onload = function () -{ - // Show/Hide the "Browse Server" button. - GetE('tdBrowse').style.display = oEditor.FCKConfig.ImageBrowser ? "" : "none"; - - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage( document ) ; - - FillFields() ; - - UpdatePreview() ; - - // Show the "Ok" button. - window.parent.SetOkButton( true ) ; - - window.parent.SetAutoSize( true ) ; -} - -function FillFields() -{ - // ### General Info - GetE('txtPageTitle').value = FCK.EditorDocument.title ; - - GetE('selDirection').value = GetAttribute( oHTML, 'dir', '' ) ; - GetE('txtLang').value = GetAttribute( oHTML, 'xml:lang', GetAttribute( oHTML, 'lang', '' ) ) ; // "xml:lang" takes precedence to "lang". - - // Character Set Encoding. -// if ( oEditor.FCKBrowserInfo.IsIE ) -// var sCharSet = FCK.EditorDocument.charset ; -// else - var sCharSet = GetMetadata( 'Content-Type' ) ; - - if ( sCharSet != null && sCharSet.length > 0 ) - { -// if ( !oEditor.FCKBrowserInfo.IsIE ) - sCharSet = sCharSet.match( /[^=]*$/ ) ; - - GetE('selCharSet').value = sCharSet ; - - if ( GetE('selCharSet').selectedIndex == -1 ) - { - GetE('selCharSet').value = '...' ; - GetE('txtCustomCharSet').value = sCharSet ; - - CheckOther( GetE('selCharSet'), 'txtCustomCharSet' ) ; - } - } - - // Document Type. - if ( FCK.DocTypeDeclaration && FCK.DocTypeDeclaration.length > 0 ) - { - GetE('selDocType').value = FCK.DocTypeDeclaration ; - - if ( GetE('selDocType').selectedIndex == -1 ) - { - GetE('selDocType').value = '...' ; - GetE('txtDocType').value = FCK.DocTypeDeclaration ; - - CheckOther( GetE('selDocType'), 'txtDocType' ) ; - } - } - - // Document Type. - GetE('chkIncXHTMLDecl').checked = ( FCK.XmlDeclaration && FCK.XmlDeclaration.length > 0 ) ; - - // ### Background - GetE('txtBackColor').value = GetAttribute( oBody, 'bgColor' , '' ) ; - GetE('txtBackImage').value = GetAttribute( oBody, 'background' , '' ) ; - GetE('chkBackNoScroll').checked = ( GetAttribute( oBody, 'bgProperties', '' ).toLowerCase() == 'fixed' ) ; - - // ### Colors - GetE('txtColorText').value = GetAttribute( oBody, 'text' , '' ) ; - GetE('txtColorLink').value = GetAttribute( oBody, 'link' , '' ) ; - GetE('txtColorVisited').value = GetAttribute( oBody, 'vLink' , '' ) ; - GetE('txtColorActive').value = GetAttribute( oBody, 'aLink' , '' ) ; - - // ### Margins - GetE('txtMarginTop').value = GetAttribute( oBody, 'topMargin' , '' ) ; - GetE('txtMarginLeft').value = GetAttribute( oBody, 'leftMargin' , '' ) ; - GetE('txtMarginRight').value = GetAttribute( oBody, 'rightMargin' , '' ) ; - GetE('txtMarginBottom').value = GetAttribute( oBody, 'bottomMargin' , '' ) ; - - // ### Meta Data - GetE('txtMetaKeywords').value = GetMetadata( 'keywords' ) ; - GetE('txtMetaDescription').value = GetMetadata( 'description' ) ; - GetE('txtMetaAuthor').value = GetMetadata( 'author' ) ; - GetE('txtMetaCopyright').value = GetMetadata( 'copyright' ) ; -} - -// Called when the "Ok" button is clicked. -function Ok() -{ - // ### General Info - FCK.EditorDocument.title = GetE('txtPageTitle').value ; - - var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ; - - SetAttribute( oHTML, 'dir' , GetE('selDirection').value ) ; - SetAttribute( oHTML, 'lang' , GetE('txtLang').value ) ; - SetAttribute( oHTML, 'xml:lang' , GetE('txtLang').value ) ; - - // Character Set Enconding. - var sCharSet = GetE('selCharSet').value ; - if ( sCharSet == '...' ) - sCharSet = GetE('txtCustomCharSet').value ; - - if ( sCharSet.length > 0 ) - sCharSet = 'text/html; charset=' + sCharSet ; - -// if ( oEditor.FCKBrowserInfo.IsIE ) -// FCK.EditorDocument.charset = sCharSet ; -// else - SetMetadata( 'Content-Type', sCharSet, true ) ; - - // Document Type - var sDocType = GetE('selDocType').value ; - if ( sDocType == '...' ) - sDocType = GetE('txtDocType').value ; - - FCK.DocTypeDeclaration = sDocType ; - - // XHTML Declarations. - if ( GetE('chkIncXHTMLDecl').checked ) - { - if ( sCharSet.length == 0 ) - sCharSet = 'utf-8' ; - - FCK.XmlDeclaration = '<' + '?xml version="1.0" encoding="' + sCharSet + '"?>' ; - - SetAttribute( oHTML, 'xmlns', 'http://www.w3.org/1999/xhtml' ) ; - } - else - { - FCK.XmlDeclaration = null ; - oHTML.removeAttribute( 'xmlns', 0 ) ; - } - - // ### Background - SetAttribute( oBody, 'bgcolor' , GetE('txtBackColor').value ) ; - SetAttribute( oBody, 'background' , GetE('txtBackImage').value ) ; - SetAttribute( oBody, 'bgproperties' , GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ; - - // ### Colors - SetAttribute( oBody, 'text' , GetE('txtColorText').value ) ; - SetAttribute( oBody, 'link' , GetE('txtColorLink').value ) ; - SetAttribute( oBody, 'vlink', GetE('txtColorVisited').value ) ; - SetAttribute( oBody, 'alink', GetE('txtColorActive').value ) ; - - // ### Margins - SetAttribute( oBody, 'topmargin' , GetE('txtMarginTop').value ) ; - SetAttribute( oBody, 'leftmargin' , GetE('txtMarginLeft').value ) ; - SetAttribute( oBody, 'rightmargin' , GetE('txtMarginRight').value ) ; - SetAttribute( oBody, 'bottommargin' , GetE('txtMarginBottom').value ) ; - - // ### Meta data - SetMetadata( 'keywords' , GetE('txtMetaKeywords').value ) ; - SetMetadata( 'description' , GetE('txtMetaDescription').value ) ; - SetMetadata( 'author' , GetE('txtMetaAuthor').value ) ; - SetMetadata( 'copyright' , GetE('txtMetaCopyright').value ) ; - - return true ; -} - -var bPreviewIsLoaded = false ; -var oPreviewWindow ; -var oPreviewBody ; - -// Called by the Preview page when loaded. -function OnPreviewLoad( previewWindow, previewBody ) -{ - oPreviewWindow = previewWindow ; - oPreviewBody = previewBody ; - - bPreviewIsLoaded = true ; - UpdatePreview() ; -} - -function UpdatePreview() -{ - if ( !bPreviewIsLoaded ) - return ; - - // ### Background - SetAttribute( oPreviewBody, 'bgcolor' , GetE('txtBackColor').value ) ; - SetAttribute( oPreviewBody, 'background' , GetE('txtBackImage').value ) ; - SetAttribute( oPreviewBody, 'bgproperties' , GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ; - - // ### Colors - SetAttribute( oPreviewBody, 'text', GetE('txtColorText').value ) ; - - oPreviewWindow.SetLinkColor( GetE('txtColorLink').value ) ; - oPreviewWindow.SetVisitedColor( GetE('txtColorVisited').value ) ; - oPreviewWindow.SetActiveColor( GetE('txtColorActive').value ) ; -} - -function CheckOther( combo, txtField ) -{ - var bNotOther = ( combo.value != '...' ) ; - - GetE(txtField).style.backgroundColor = ( bNotOther ? '#cccccc' : '' ) ; - GetE(txtField).disabled = bNotOther ; -} - -function SetColor( inputId, color ) -{ - GetE( inputId ).value = color + '' ; - UpdatePreview() ; -} - -function SelectBackColor( color ) { SetColor('txtBackColor', color ) ; } -function SelectColorText( color ) { SetColor('txtColorText', color ) ; } -function SelectColorLink( color ) { SetColor('txtColorLink', color ) ; } -function SelectColorVisited( color ) { SetColor('txtColorVisited', color ) ; } -function SelectColorActive( color ) { SetColor('txtColorActive', color ) ; } - -function SelectColor( wich ) -{ - switch ( wich ) - { - case 'Back' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectBackColor, window ) ; return ; - case 'ColorText' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorText, window ) ; return ; - case 'ColorLink' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorLink, window ) ; return ; - case 'ColorVisited' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorVisited, window ) ; return ; - case 'ColorActive' : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorActive, window ) ; return ; - } -} - -function BrowseServerBack() -{ - OpenFileBrowser( FCKConfig.ImageBrowserURL, FCKConfig.ImageBrowserWindowWidth, FCKConfig.ImageBrowserWindowHeight ) ; -} - -function SetUrl( url ) -{ - GetE('txtBackImage').value = url ; - UpdatePreview() ; -} - - </script> -</head> -<body style="overflow: hidden"> - <table cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 100%"> - <tr> - <td valign="top" style="height: 100%"> - <div id="divGeneral"> - <span fcklang="DlgDocPageTitle">Page Title</span><br /> - <input id="txtPageTitle" style="width: 100%" type="text" /> - <br /> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td> - <span fcklang="DlgDocLangDir">Language Direction</span><br /> - <select id="selDirection"> - <option value="" selected="selected"></option> - <option value="ltr" fcklang="DlgDocLangDirLTR">Left to Right (LTR)</option> - <option value="rtl" fcklang="DlgDocLangDirRTL">Right to Left (RTL)</option> - </select> - </td> - <td> - &nbsp;&nbsp;&nbsp;</td> - <td> - <span fcklang="DlgDocLangCode">Language Code</span><br /> - <input id="txtLang" type="text" /> - </td> - </tr> - </table> - <br /> - <table cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td style="white-space: nowrap"> - <span fcklang="DlgDocCharSet">Character Set Encoding</span><br /> - <select id="selCharSet" onchange="CheckOther( this, 'txtCustomCharSet' );"> - <option value="" selected="selected"></option> - <option value="us-ascii">ASCII</option> - <option fcklang="DlgDocCharSetCE" value="iso-8859-2">Central European</option> - <option fcklang="DlgDocCharSetCT" value="big5">Chinese Traditional (Big5)</option> - <option fcklang="DlgDocCharSetCR" value="iso-8859-5">Cyrillic</option> - <option fcklang="DlgDocCharSetGR" value="iso-8859-7">Greek</option> - <option fcklang="DlgDocCharSetJP" value="iso-2022-jp">Japanese</option> - <option fcklang="DlgDocCharSetKR" value="iso-2022-kr">Korean</option> - <option fcklang="DlgDocCharSetTR" value="iso-8859-9">Turkish</option> - <option fcklang="DlgDocCharSetUN" value="utf-8">Unicode (UTF-8)</option> - <option fcklang="DlgDocCharSetWE" value="iso-8859-1">Western European</option> - <option fcklang="DlgOpOther" value="...">&lt;Other&gt;</option> - </select> - </td> - <td> - &nbsp;&nbsp;&nbsp;</td> - <td width="100%"> - <span fcklang="DlgDocCharSetOther">Other Character Set Encoding</span><br /> - <input id="txtCustomCharSet" style="width: 100%; background-color: #cccccc" disabled="disabled" - type="text" /> - </td> - </tr> - <tr> - <td colspan="3"> - &nbsp;</td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgDocDocType">Document Type Heading</span><br /> - <select id="selDocType" name="selDocType" onchange="CheckOther( this, 'txtDocType' );"> - <option value="" selected="selected"></option> - <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'>HTML - 4.01 Transitional</option> - <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'> - HTML 4.01 Strict</option> - <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'> - HTML 4.01 Frameset</option> - <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'> - XHTML 1.0 Transitional</option> - <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'> - XHTML 1.0 Strict</option> - <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'> - XHTML 1.0 Frameset</option> - <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'> - XHTML 1.1</option> - <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'>HTML 3.2</option> - <option value='<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'>HTML 2.0</option> - <option value="..." fcklang="DlgOpOther">&lt;Other&gt;</option> - </select> - </td> - <td> - </td> - <td width="100%"> - <span fcklang="DlgDocDocTypeOther">Other Document Type Heading</span><br /> - <input id="txtDocType" style="width: 100%; background-color: #cccccc" disabled="disabled" - type="text" /> - </td> - </tr> - </table> - <br /> - <input id="chkIncXHTMLDecl" type="checkbox" /> - <label for="chkIncXHTMLDecl" fcklang="DlgDocIncXHTML"> - Include XHTML Declarations</label> - </div> - <div id="divBackground" style="display: none"> - <span fcklang="DlgDocBgColor">Background Color</span><br /> - <input id="txtBackColor" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" />&nbsp;<input - id="btnSelBackColor" onclick="SelectColor( 'Back' )" type="button" value="Select..." - fcklang="DlgCellBtnSelect" /><br /> - <br /> - <span fcklang="DlgDocBgImage">Background Image URL</span><br /> - <table cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td width="100%"> - <input id="txtBackImage" style="width: 100%" type="text" onchange="UpdatePreview();" - onkeyup="UpdatePreview();" /></td> - <td id="tdBrowse" nowrap="nowrap"> - &nbsp;<input id="btnBrowse" onclick="BrowseServerBack();" type="button" fcklang="DlgBtnBrowseServer" - value="Browse Server" /></td> - </tr> - </table> - <input id="chkBackNoScroll" type="checkbox" onclick="UpdatePreview();" /> - <label for="chkBackNoScroll" fcklang="DlgDocBgNoScroll"> - Nonscrolling Background</label> - </div> - <div id="divColors" style="display: none"> - <table cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td> - <span fcklang="DlgDocCText">Text</span><br /> - <input id="txtColorText" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input - onclick="SelectColor( 'ColorText' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" /> - <br /> - <span fcklang="DlgDocCLink">Link</span><br /> - <input id="txtColorLink" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input - onclick="SelectColor( 'ColorLink' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" /> - <br /> - <span fcklang="DlgDocCVisited">Visited Link</span><br /> - <input id="txtColorVisited" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input - onclick="SelectColor( 'ColorVisited' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" /> - <br /> - <span fcklang="DlgDocCActive">Active Link</span><br /> - <input id="txtColorActive" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();" /><input - onclick="SelectColor( 'ColorActive' )" type="button" value="Select..." fcklang="DlgCellBtnSelect" /> - </td> - <td valign="middle" align="center"> - <table cellspacing="2" cellpadding="0" border="0"> - <tr> - <td> - <span fcklang="DlgDocMargins">Page Margins</span></td> - </tr> - <tr> - <td style="border: #000000 1px solid; padding: 5px"> - <table cellpadding="0" cellspacing="0" border="0" dir="ltr"> - <tr> - <td align="center" colspan="3"> - <span fcklang="DlgDocMaTop">Top</span><br /> - <input id="txtMarginTop" type="text" size="3" /> - </td> - </tr> - <tr> - <td align="left"> - <span fcklang="DlgDocMaLeft">Left</span><br /> - <input id="txtMarginLeft" type="text" size="3" /> - </td> - <td> - &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> - <td align="right"> - <span fcklang="DlgDocMaRight">Right</span><br /> - <input id="txtMarginRight" type="text" size="3" /> - </td> - </tr> - <tr> - <td align="center" colspan="3"> - <span fcklang="DlgDocMaBottom">Bottom</span><br /> - <input id="txtMarginBottom" type="text" size="3" /> - </td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - </table> - </div> - <div id="divMeta" style="display: none"> - <span fcklang="DlgDocMeIndex">Document Indexing Keywords (comma separated)</span><br /> - <textarea id="txtMetaKeywords" style="width: 100%" rows="2" cols="20"></textarea> - <br /> - <span fcklang="DlgDocMeDescr">Document Description</span><br /> - <textarea id="txtMetaDescription" style="width: 100%" rows="4" cols="20"></textarea> - <br /> - <span fcklang="DlgDocMeAuthor">Author</span><br /> - <input id="txtMetaAuthor" style="width: 100%" type="text" /><br /> - <br /> - <span fcklang="DlgDocMeCopy">Copyright</span><br /> - <input id="txtMetaCopyright" type="text" style="width: 100%" /> - </div> - </td> - </tr> - <tr id="ePreview" style="display: none"> - <td> - <span fcklang="DlgDocPreview">Preview</span><br /> - <iframe id="frmPreview" src="fck_docprops/fck_document_preview.html" width="100%" - height="100"></iframe> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_docprops/fck_document_preview.html b/editor/editor/dialog/fck_docprops/fck_document_preview.html @@ -1,113 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Preview shown in the "Document Properties" dialog window. ---> -<html> - <head> - <title>Document Properties - Preview</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta name="robots" content="noindex, nofollow"> - <script language="javascript"> - -var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ; -if ( eBase.length > 0 && eBase[0].href.length > 0 ) -{ - document.write( '<base href="' + eBase[0].href + '">' ) ; -} - -window.onload = function() -{ - if ( typeof( parent.OnPreviewLoad ) == 'function' ) - parent.OnPreviewLoad( window, document.body ) ; -} - -function SetBaseHRef( baseHref ) -{ - var eBase = document.createElement( 'BASE' ) ; - eBase.href = baseHref ; - - var eHead = document.getElementsByTagName( 'HEAD' )[0] ; - eHead.appendChild( eBase ) ; -} - -function SetLinkColor( color ) -{ - if ( color && color.length > 0 ) - document.getElementById('eLink').style.color = color ; - else - document.getElementById('eLink').style.color = window.document.linkColor ; -} - -function SetVisitedColor( color ) -{ - if ( color && color.length > 0 ) - document.getElementById('eVisited').style.color = color ; - else - document.getElementById('eVisited').style.color = window.document.vlinkColor ; -} - -function SetActiveColor( color ) -{ - if ( color && color.length > 0 ) - document.getElementById('eActive').style.color = color ; - else - document.getElementById('eActive').style.color = window.document.alinkColor ; -} - </script> - </head> - <body> - <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td align="center" valign="middle"> - Normal Text - </td> - <td id="eLink" align="center" valign="middle"> - <u>Link Text</u> - </td> - </tr> - <tr> - <td id="eVisited" valign="middle" align="center"> - <u>Visited Link</u> - </td> - <td id="eActive" valign="middle" align="center"> - <u>Active Link</u> - </td> - </tr> - </table> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - <br> - </body> -</html> diff --git a/editor/editor/dialog/fck_flash.html b/editor/editor/dialog/fck_flash.html @@ -1,146 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Flash Properties dialog window. ---> -<html> - <head> - <title>Flash Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script src="fck_flash/fck_flash.js" type="text/javascript"></script> - <link href="common/fck_dialog_common.css" type="text/css" rel="stylesheet"> - </head> - <body scroll="no" style="OVERFLOW: hidden"> - <div id="divInfo"> - <table cellSpacing="1" cellPadding="1" width="100%" border="0"> - <tr> - <td> - <table cellSpacing="0" cellPadding="0" width="100%" border="0"> - <tr> - <td width="100%"><span fckLang="DlgImgURL">URL</span> - </td> - <td id="tdBrowse" style="DISPLAY: none" noWrap rowSpan="2">&nbsp; <input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse Server" fckLang="DlgBtnBrowseServer"> - </td> - </tr> - <tr> - <td vAlign="top"><input id="txtUrl" onblur="UpdatePreview();" style="WIDTH: 100%" type="text"> - </td> - </tr> - </table> - </td> - </tr> - <TR> - <TD> - <table cellSpacing="0" cellPadding="0" border="0"> - <TR> - <TD nowrap> - <span fckLang="DlgImgWidth">Width</span><br> - <input id="txtWidth" onkeypress="return IsDigit(event);" type="text" size="3"> - </TD> - <TD>&nbsp;</TD> - <TD> - <span fckLang="DlgImgHeight">Height</span><br> - <input id="txtHeight" onkeypress="return IsDigit(event);" type="text" size="3"> - </TD> - </TR> - </table> - </TD> - </TR> - <tr> - <td vAlign="top"> - <table cellSpacing="0" cellPadding="0" width="100%" border="0"> - <tr> - <td valign="top" width="100%"> - <table cellSpacing="0" cellPadding="0" width="100%"> - <tr> - <td><span fckLang="DlgImgPreview">Preview</span></td> - </tr> - <tr> - <td id="ePreviewCell" valign="top" class="FlashPreviewArea"><iframe src="fck_flash/fck_flash_preview.html" frameborder="0" marginheight="0" marginwidth="0"></iframe></td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - </table> - </div> - <div id="divUpload" style="DISPLAY: none"> - <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> - <span fckLang="DlgLnkUpload">Upload</span><br /> - <input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> - <br /> - <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> - <iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe> - </form> - </div> - <div id="divAdvanced" style="DISPLAY: none"> - <TABLE cellSpacing="0" cellPadding="0" border="0"> - <TR> - <TD nowrap> - <span fckLang="DlgFlashScale">Scale</span><BR> - <select id="cmbScale"> - <option value="" selected></option> - <option value="showall" fckLang="DlgFlashScaleAll">Show all</option> - <option value="noborder" fckLang="DlgFlashScaleNoBorder">No Border</option> - <option value="exactfit" fckLang="DlgFlashScaleFit">Exact Fit</option> - </select></TD> - <TD>&nbsp;&nbsp;&nbsp; &nbsp; - </TD> - <td valign="bottom"> - <table> - <tr> - <td><input id="chkAutoPlay" type="checkbox" checked></td> - <td><label for="chkAutoPlay" nowrap fckLang="DlgFlashChkPlay">Auto Play</label>&nbsp;&nbsp;</td> - <td><input id="chkLoop" type="checkbox" checked></td> - <td><label for="chkLoop" nowrap fckLang="DlgFlashChkLoop">Loop</label>&nbsp;&nbsp;</td> - <td><input id="chkMenu" type="checkbox" checked></td> - <td><label for="chkMenu" nowrap fckLang="DlgFlashChkMenu">Enable Flash Menu</label></td> - </tr> - </table> - </td> - </TR> - </TABLE> - <br> - &nbsp; - <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0"> - <tr> - <td vAlign="top" width="50%"><span fckLang="DlgGenId">Id</span><br> - <input id="txtAttId" style="WIDTH: 100%" type="text"> - </td> - <td>&nbsp;&nbsp;</td> - <td vAlign="top" nowrap><span fckLang="DlgGenClass">Stylesheet Classes</span><br> - <input id="txtAttClasses" style="WIDTH: 100%" type="text"> - </td> - <td>&nbsp;&nbsp;</td> - <td vAlign="top" nowrap width="50%">&nbsp;<span fckLang="DlgGenTitle">Advisory Title</span><br> - <input id="txtAttTitle" style="WIDTH: 100%" type="text"> - </td> - </tr> - </table> - <span fckLang="DlgGenStyle">Style</span><br> - <input id="txtAttStyle" style="WIDTH: 100%" type="text"> - </div> - </body> -</html> diff --git a/editor/editor/dialog/fck_flash/fck_flash.js b/editor/editor/dialog/fck_flash/fck_flash.js @@ -1,285 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts related to the Flash dialog window (see fck_flash.html). - */ - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; - -//#### Dialog Tabs - -// Set the dialog tabs. -window.parent.AddTab( 'Info', oEditor.FCKLang.DlgInfoTab ) ; - -if ( FCKConfig.FlashUpload ) - window.parent.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ; - -if ( !FCKConfig.FlashDlgHideAdvanced ) - window.parent.AddTab( 'Advanced', oEditor.FCKLang.DlgAdvancedTag ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE('divInfo' , ( tabCode == 'Info' ) ) ; - ShowE('divUpload' , ( tabCode == 'Upload' ) ) ; - ShowE('divAdvanced' , ( tabCode == 'Advanced' ) ) ; -} - -// Get the selected flash embed (if available). -var oFakeImage = FCK.Selection.GetSelectedElement() ; -var oEmbed ; - -if ( oFakeImage ) -{ - if ( oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fckflash') ) - oEmbed = FCK.GetRealElement( oFakeImage ) ; - else - oFakeImage = null ; -} - -window.onload = function() -{ - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - // Load the selected element information (if any). - LoadSelection() ; - - // Show/Hide the "Browse Server" button. - GetE('tdBrowse').style.display = FCKConfig.FlashBrowser ? '' : 'none' ; - - // Set the actual uploader URL. - if ( FCKConfig.FlashUpload ) - GetE('frmUpload').action = FCKConfig.FlashUploadURL ; - - window.parent.SetAutoSize( true ) ; - - // Activate the "OK" button. - window.parent.SetOkButton( true ) ; -} - -function LoadSelection() -{ - if ( ! oEmbed ) return ; - - GetE('txtUrl').value = GetAttribute( oEmbed, 'src', '' ) ; - GetE('txtWidth').value = GetAttribute( oEmbed, 'width', '' ) ; - GetE('txtHeight').value = GetAttribute( oEmbed, 'height', '' ) ; - - // Get Advances Attributes - GetE('txtAttId').value = oEmbed.id ; - GetE('chkAutoPlay').checked = GetAttribute( oEmbed, 'play', 'true' ) == 'true' ; - GetE('chkLoop').checked = GetAttribute( oEmbed, 'loop', 'true' ) == 'true' ; - GetE('chkMenu').checked = GetAttribute( oEmbed, 'menu', 'true' ) == 'true' ; - GetE('cmbScale').value = GetAttribute( oEmbed, 'scale', '' ).toLowerCase() ; - - GetE('txtAttTitle').value = oEmbed.title ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - GetE('txtAttClasses').value = oEmbed.getAttribute('className') || '' ; - GetE('txtAttStyle').value = oEmbed.style.cssText ; - } - else - { - GetE('txtAttClasses').value = oEmbed.getAttribute('class',2) || '' ; - GetE('txtAttStyle').value = oEmbed.getAttribute('style',2) || '' ; - } - - UpdatePreview() ; -} - -//#### The OK button was hit. -function Ok() -{ - if ( GetE('txtUrl').value.length == 0 ) - { - window.parent.SetSelectedTab( 'Info' ) ; - GetE('txtUrl').focus() ; - - alert( oEditor.FCKLang.DlgAlertUrl ) ; - - return false ; - } - - oEditor.FCKUndo.SaveUndoStep() ; - if ( !oEmbed ) - { - oEmbed = FCK.EditorDocument.createElement( 'EMBED' ) ; - oFakeImage = null ; - } - UpdateEmbed( oEmbed ) ; - - if ( !oFakeImage ) - { - oFakeImage = oEditor.FCKDocumentProcessor_CreateFakeImage( 'FCK__Flash', oEmbed ) ; - oFakeImage.setAttribute( '_fckflash', 'true', 0 ) ; - oFakeImage = FCK.InsertElement( oFakeImage ) ; - } - - oEditor.FCKFlashProcessor.RefreshView( oFakeImage, oEmbed ) ; - - return true ; -} - -function UpdateEmbed( e ) -{ - SetAttribute( e, 'type' , 'application/x-shockwave-flash' ) ; - SetAttribute( e, 'pluginspage' , 'http://www.macromedia.com/go/getflashplayer' ) ; - - SetAttribute( e, 'src', GetE('txtUrl').value ) ; - SetAttribute( e, "width" , GetE('txtWidth').value ) ; - SetAttribute( e, "height", GetE('txtHeight').value ) ; - - // Advances Attributes - - SetAttribute( e, 'id' , GetE('txtAttId').value ) ; - SetAttribute( e, 'scale', GetE('cmbScale').value ) ; - - SetAttribute( e, 'play', GetE('chkAutoPlay').checked ? 'true' : 'false' ) ; - SetAttribute( e, 'loop', GetE('chkLoop').checked ? 'true' : 'false' ) ; - SetAttribute( e, 'menu', GetE('chkMenu').checked ? 'true' : 'false' ) ; - - SetAttribute( e, 'title' , GetE('txtAttTitle').value ) ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - SetAttribute( e, 'className', GetE('txtAttClasses').value ) ; - e.style.cssText = GetE('txtAttStyle').value ; - } - else - { - SetAttribute( e, 'class', GetE('txtAttClasses').value ) ; - SetAttribute( e, 'style', GetE('txtAttStyle').value ) ; - } -} - -var ePreview ; - -function SetPreviewElement( previewEl ) -{ - ePreview = previewEl ; - - if ( GetE('txtUrl').value.length > 0 ) - UpdatePreview() ; -} - -function UpdatePreview() -{ - if ( !ePreview ) - return ; - - while ( ePreview.firstChild ) - ePreview.removeChild( ePreview.firstChild ) ; - - if ( GetE('txtUrl').value.length == 0 ) - ePreview.innerHTML = '&nbsp;' ; - else - { - var oDoc = ePreview.ownerDocument || ePreview.document ; - var e = oDoc.createElement( 'EMBED' ) ; - - SetAttribute( e, 'src', GetE('txtUrl').value ) ; - SetAttribute( e, 'type', 'application/x-shockwave-flash' ) ; - SetAttribute( e, 'width', '100%' ) ; - SetAttribute( e, 'height', '100%' ) ; - - ePreview.appendChild( e ) ; - } -} - -// <embed id="ePreview" src="fck_flash/claims.swf" width="100%" height="100%" style="visibility:hidden" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> - -function BrowseServer() -{ - OpenFileBrowser( FCKConfig.FlashBrowserURL, FCKConfig.FlashBrowserWindowWidth, FCKConfig.FlashBrowserWindowHeight ) ; -} - -function SetUrl( url, width, height ) -{ - GetE('txtUrl').value = url ; - - if ( width ) - GetE('txtWidth').value = width ; - - if ( height ) - GetE('txtHeight').value = height ; - - UpdatePreview() ; - - window.parent.SetSelectedTab( 'Info' ) ; -} - -function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) -{ - switch ( errorNumber ) - { - case 0 : // No errors - alert( 'Your file has been successfully uploaded' ) ; - break ; - case 1 : // Custom error - alert( customMsg ) ; - return ; - case 101 : // Custom warning - alert( customMsg ) ; - break ; - case 201 : - alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ; - break ; - case 202 : - alert( 'Invalid file type' ) ; - return ; - case 203 : - alert( "Security error. You probably don't have enough permissions to upload. Please check your server." ) ; - return ; - default : - alert( 'Error on file upload. Error number: ' + errorNumber ) ; - return ; - } - - SetUrl( fileUrl ) ; - GetE('frmUpload').reset() ; -} - -var oUploadAllowedExtRegex = new RegExp( FCKConfig.FlashUploadAllowedExtensions, 'i' ) ; -var oUploadDeniedExtRegex = new RegExp( FCKConfig.FlashUploadDeniedExtensions, 'i' ) ; - -function CheckUpload() -{ - var sFile = GetE('txtUploadFile').value ; - - if ( sFile.length == 0 ) - { - alert( 'Please select a file to upload' ) ; - return false ; - } - - if ( ( FCKConfig.FlashUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) || - ( FCKConfig.FlashUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) ) - { - OnUploadCompleted( 202 ) ; - return false ; - } - - return true ; -} diff --git a/editor/editor/dialog/fck_flash/fck_flash_preview.html b/editor/editor/dialog/fck_flash/fck_flash_preview.html @@ -1,46 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Preview page for the Flash dialog window. ---> -<html> - <head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta name="robots" content="noindex, nofollow"> - <link href="../common/fck_dialog_common.css" rel="stylesheet" type="text/css" /> - <script language="javascript"> - -// Sets the Skin CSS -document.write( '<link href="' + window.parent.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; - -if ( window.parent.FCKConfig.BaseHref.length > 0 ) - document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ; - -window.onload = function() -{ - window.parent.SetPreviewElement( document.body ) ; -} - - </script> - </head> - <body style="COLOR: #000000; BACKGROUND-COLOR: #ffffff"></body> -</html> diff --git a/editor/editor/dialog/fck_form.html b/editor/editor/dialog/fck_form.html @@ -1,107 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Form dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta content="noindex, nofollow" name="robots" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'FORM' ) ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oActiveEl ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtAction').value = oActiveEl.getAttribute( 'action', 2 ) ; - GetE('txtMethod').value = oActiveEl.method ; - } - else - oActiveEl = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - if ( !oActiveEl ) - { - oActiveEl = oEditor.FCK.InsertElement( 'form' ) ; - - if ( oEditor.FCKBrowserInfo.IsGeckoLike ) - oEditor.FCKTools.AppendBogusBr( oActiveEl ) ; - } - - oActiveEl.name = GetE('txtName').value ; - SetAttribute( oActiveEl, 'action', GetE('txtAction').value ) ; - oActiveEl.method = GetE('txtMethod').value ; - - return true ; -} - - </script> -</head> -<body style="overflow: hidden"> - <table width="100%" style="height: 100%"> - <tr> - <td align="center"> - <table cellspacing="0" cellpadding="0" width="80%" border="0"> - <tr> - <td> - <span fcklang="DlgFormName">Name</span><br /> - <input style="width: 100%" type="text" id="txtName" /> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgFormAction">Action</span><br /> - <input style="width: 100%" type="text" id="txtAction" /> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgFormMethod">Method</span><br /> - <select id="txtMethod"> - <option value="get" selected="selected">GET</option> - <option value="post">POST</option> - </select> - </td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_hiddenfield.html b/editor/editor/dialog/fck_hiddenfield.html @@ -1,119 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Hidden Field dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Hidden Field Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta content="noindex, nofollow" name="robots" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; - -// Gets the document DOM -var oDOM = FCK.EditorDocument ; - -// Get the selected flash embed (if available). -var oFakeImage = FCK.Selection.GetSelectedElement() ; -var oActiveEl ; - -if ( oFakeImage ) -{ - if ( oFakeImage.tagName == 'IMG' && oFakeImage.getAttribute('_fckinputhidden') ) - oActiveEl = FCK.GetRealElement( oFakeImage ) ; - else - oFakeImage = null ; -} - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oActiveEl ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtValue').value = oActiveEl.value ; - } - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - - -function Ok() -{ - oEditor.FCKUndo.SaveUndoStep() ; - - if ( !oActiveEl ) - { - oActiveEl = FCK.EditorDocument.createElement( 'INPUT' ) ; - oActiveEl.type = 'hidden' ; - - oFakeImage = null ; - } - - oActiveEl.name = GetE('txtName').value ; - SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ; - - if ( !oFakeImage ) - { - oFakeImage = oEditor.FCKDocumentProcessor_CreateFakeImage( 'FCK__InputHidden', oActiveEl ) ; - oFakeImage.setAttribute( '_fckinputhidden', 'true', 0 ) ; - oFakeImage = FCK.InsertElement( oFakeImage ) ; - } - else - oEditor.FCKUndo.SaveUndoStep() ; - - oEditor.FCKFlashProcessor.RefreshView( oFakeImage, oActiveEl ) ; - - return true ; -} - - </script> -</head> -<body style="overflow: hidden" scroll="no"> - <table height="100%" width="100%"> - <tr> - <td align="center"> - <table border="0" class="inhoud" cellpadding="0" cellspacing="0" width="80%"> - <tr> - <td> - <span fcklang="DlgHiddenName">Name</span><br /> - <input type="text" size="20" id="txtName" style="width: 100%" /> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgHiddenValue">Value</span><br /> - <input type="text" size="30" id="txtValue" style="width: 100%" /> - </td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_image.html b/editor/editor/dialog/fck_image.html @@ -1,252 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Image Properties dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Image Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script src="fck_image/fck_image.js" type="text/javascript"></script> - <link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" /> -</head> -<body scroll="no" style="overflow: hidden"> - <div id="divInfo"> - <table cellspacing="1" cellpadding="1" border="0" width="100%" height="100%"> - <tr> - <td> - <table cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td width="100%"> - <span fcklang="DlgImgURL">URL</span> - </td> - <td id="tdBrowse" style="display: none" nowrap="nowrap" rowspan="2"> - &nbsp; - <input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse Server" - fcklang="DlgBtnBrowseServer" /> - </td> - </tr> - <tr> - <td valign="top"> - <input id="txtUrl" style="width: 100%" type="text" onblur="UpdatePreview();" /> - </td> - </tr> - </table> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgImgAlt">Short Description</span><br /> - <input id="txtAlt" style="width: 100%" type="text" /><br /> - </td> - </tr> - <tr height="100%"> - <td valign="top"> - <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%"> - <tr> - <td valign="top"> - <br /> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgImgWidth">Width</span>&nbsp;</td> - <td> - <input type="text" size="3" id="txtWidth" onkeyup="OnSizeChanged('Width',this.value);" /></td> - <td rowspan="2"> - <div id="btnLockSizes" class="BtnLocked" onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + ' BtnOver';" - onmouseout="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' );" title="Lock Sizes" - onclick="SwitchLock(this);"> - </div> - </td> - <td rowspan="2"> - <div id="btnResetSize" class="BtnReset" onmouseover="this.className='BtnReset BtnOver';" - onmouseout="this.className='BtnReset';" title="Reset Size" onclick="ResetSizes();"> - </div> - </td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgImgHeight">Height</span>&nbsp;</td> - <td> - <input type="text" size="3" id="txtHeight" onkeyup="OnSizeChanged('Height',this.value);" /></td> - </tr> - </table> - <br /> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgImgBorder">Border</span>&nbsp;</td> - <td> - <input type="text" size="2" value="" id="txtBorder" onkeyup="UpdatePreview();" /></td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgImgHSpace">HSpace</span>&nbsp;</td> - <td> - <input type="text" size="2" id="txtHSpace" onkeyup="UpdatePreview();" /></td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgImgVSpace">VSpace</span>&nbsp;</td> - <td> - <input type="text" size="2" id="txtVSpace" onkeyup="UpdatePreview();" /></td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgImgAlign">Align</span>&nbsp;</td> - <td> - <select id="cmbAlign" onchange="UpdatePreview();"> - <option value="" selected="selected"></option> - <option fcklang="DlgImgAlignLeft" value="left">Left</option> - <option fcklang="DlgImgAlignAbsBottom" value="absBottom">Abs Bottom</option> - <option fcklang="DlgImgAlignAbsMiddle" value="absMiddle">Abs Middle</option> - <option fcklang="DlgImgAlignBaseline" value="baseline">Baseline</option> - <option fcklang="DlgImgAlignBottom" value="bottom">Bottom</option> - <option fcklang="DlgImgAlignMiddle" value="middle">Middle</option> - <option fcklang="DlgImgAlignRight" value="right">Right</option> - <option fcklang="DlgImgAlignTextTop" value="textTop">Text Top</option> - <option fcklang="DlgImgAlignTop" value="top">Top</option> - </select> - </td> - </tr> - </table> - </td> - <td> - &nbsp;&nbsp;&nbsp;</td> - <td width="100%" valign="top"> - <table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed"> - <tr> - <td> - <span fcklang="DlgImgPreview">Preview</span></td> - </tr> - <tr> - <td valign="top"> - <iframe class="ImagePreviewArea" src="fck_image/fck_image_preview.html" frameborder="0" - marginheight="0" marginwidth="0"></iframe> - </td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - </table> - </div> - <div id="divUpload" style="display: none"> - <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" - action="" onsubmit="return CheckUpload();"> - <span fcklang="DlgLnkUpload">Upload</span><br /> - <input id="txtUploadFile" style="width: 100%" type="file" size="40" name="NewFile" /><br /> - <br /> - <input id="btnUpload" type="submit" value="Send it to the Server" fcklang="DlgLnkBtnUpload" /> - <iframe name="UploadWindow" style="display: none" src="javascript:void(0)"></iframe> - </form> - </div> - <div id="divLink" style="display: none"> - <table cellspacing="1" cellpadding="1" border="0" width="100%"> - <tr> - <td> - <div> - <span fcklang="DlgLnkURL">URL</span><br /> - <input id="txtLnkUrl" style="width: 100%" type="text" onblur="UpdatePreview();" /> - </div> - <div id="divLnkBrowseServer" align="right"> - <input type="button" value="Browse Server" fcklang="DlgBtnBrowseServer" onclick="LnkBrowseServer();" /> - </div> - <div> - <span fcklang="DlgLnkTarget">Target</span><br /> - <select id="cmbLnkTarget"> - <option value="" fcklang="DlgGenNotSet" selected="selected">&lt;not set&gt;</option> - <option value="_blank" fcklang="DlgLnkTargetBlank">New Window (_blank)</option> - <option value="_top" fcklang="DlgLnkTargetTop">Topmost Window (_top)</option> - <option value="_self" fcklang="DlgLnkTargetSelf">Same Window (_self)</option> - <option value="_parent" fcklang="DlgLnkTargetParent">Parent Window (_parent)</option> - </select> - </div> - </td> - </tr> - </table> - </div> - <div id="divAdvanced" style="display: none"> - <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> - <tr> - <td valign="top" width="50%"> - <span fcklang="DlgGenId">Id</span><br /> - <input id="txtAttId" style="width: 100%" type="text" /> - </td> - <td width="1"> - &nbsp;&nbsp;</td> - <td valign="top"> - <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> - <tr> - <td width="60%"> - <span fcklang="DlgGenLangDir">Language Direction</span><br /> - <select id="cmbAttLangDir" style="width: 100%"> - <option value="" fcklang="DlgGenNotSet" selected="selected">&lt;not set&gt;</option> - <option value="ltr" fcklang="DlgGenLangDirLtr">Left to Right (LTR)</option> - <option value="rtl" fcklang="DlgGenLangDirRtl">Right to Left (RTL)</option> - </select> - </td> - <td width="1%"> - &nbsp;&nbsp;</td> - <td nowrap="nowrap"> - <span fcklang="DlgGenLangCode">Language Code</span><br /> - <input id="txtAttLangCode" style="width: 100%" type="text" />&nbsp; - </td> - </tr> - </table> - </td> - </tr> - <tr> - <td colspan="3"> - &nbsp;</td> - </tr> - <tr> - <td colspan="3"> - <span fcklang="DlgGenLongDescr">Long Description URL</span><br /> - <input id="txtLongDesc" style="width: 100%" type="text" /> - </td> - </tr> - <tr> - <td colspan="3"> - &nbsp;</td> - </tr> - <tr> - <td valign="top"> - <span fcklang="DlgGenClass">Stylesheet Classes</span><br /> - <input id="txtAttClasses" style="width: 100%" type="text" /> - </td> - <td> - </td> - <td valign="top"> - &nbsp;<span fcklang="DlgGenTitle">Advisory Title</span><br /> - <input id="txtAttTitle" style="width: 100%" type="text" /> - </td> - </tr> - </table> - <span fcklang="DlgGenStyle">Style</span><br /> - <input id="txtAttStyle" style="width: 100%" type="text" /> - </div> -</body> -</html> diff --git a/editor/editor/dialog/fck_image/fck_image.js b/editor/editor/dialog/fck_image/fck_image.js @@ -1,492 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts related to the Image dialog window (see fck_image.html). - */ - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; -var FCKDebug = oEditor.FCKDebug ; - -var bImageButton = ( document.location.search.length > 0 && document.location.search.substr(1) == 'ImageButton' ) ; - -//#### Dialog Tabs - -// Set the dialog tabs. -window.parent.AddTab( 'Info', FCKLang.DlgImgInfoTab ) ; - -if ( !bImageButton && !FCKConfig.ImageDlgHideLink ) - window.parent.AddTab( 'Link', FCKLang.DlgImgLinkTab ) ; - -if ( FCKConfig.ImageUpload ) - window.parent.AddTab( 'Upload', FCKLang.DlgLnkUpload ) ; - -if ( !FCKConfig.ImageDlgHideAdvanced ) - window.parent.AddTab( 'Advanced', FCKLang.DlgAdvancedTag ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE('divInfo' , ( tabCode == 'Info' ) ) ; - ShowE('divLink' , ( tabCode == 'Link' ) ) ; - ShowE('divUpload' , ( tabCode == 'Upload' ) ) ; - ShowE('divAdvanced' , ( tabCode == 'Advanced' ) ) ; -} - -// Get the selected image (if available). -var oImage = FCK.Selection.GetSelectedElement() ; - -if ( oImage && oImage.tagName != 'IMG' && !( oImage.tagName == 'INPUT' && oImage.type == 'image' ) ) - oImage = null ; - -// Get the active link. -var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ; - -var oImageOriginal ; - -function UpdateOriginal( resetSize ) -{ - if ( !eImgPreview ) - return ; - - if ( GetE('txtUrl').value.length == 0 ) - { - oImageOriginal = null ; - return ; - } - - oImageOriginal = document.createElement( 'IMG' ) ; // new Image() ; - - if ( resetSize ) - { - oImageOriginal.onload = function() - { - this.onload = null ; - ResetSizes() ; - } - } - - oImageOriginal.src = eImgPreview.src ; -} - -var bPreviewInitialized ; - -window.onload = function() -{ - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - GetE('btnLockSizes').title = FCKLang.DlgImgLockRatio ; - GetE('btnResetSize').title = FCKLang.DlgBtnResetSize ; - - // Load the selected element information (if any). - LoadSelection() ; - - // Show/Hide the "Browse Server" button. - GetE('tdBrowse').style.display = FCKConfig.ImageBrowser ? '' : 'none' ; - GetE('divLnkBrowseServer').style.display = FCKConfig.LinkBrowser ? '' : 'none' ; - - UpdateOriginal() ; - - // Set the actual uploader URL. - if ( FCKConfig.ImageUpload ) - GetE('frmUpload').action = FCKConfig.ImageUploadURL ; - - window.parent.SetAutoSize( true ) ; - - // Activate the "OK" button. - window.parent.SetOkButton( true ) ; -} - -function LoadSelection() -{ - if ( ! oImage ) return ; - - var sUrl = oImage.getAttribute( '_fcksavedurl' ) ; - if ( sUrl == null ) - sUrl = GetAttribute( oImage, 'src', '' ) ; - - GetE('txtUrl').value = sUrl ; - GetE('txtAlt').value = GetAttribute( oImage, 'alt', '' ) ; - GetE('txtVSpace').value = GetAttribute( oImage, 'vspace', '' ) ; - GetE('txtHSpace').value = GetAttribute( oImage, 'hspace', '' ) ; - GetE('txtBorder').value = GetAttribute( oImage, 'border', '' ) ; - GetE('cmbAlign').value = GetAttribute( oImage, 'align', '' ) ; - - var iWidth, iHeight ; - - var regexSize = /^\s*(\d+)px\s*$/i ; - - if ( oImage.style.width ) - { - var aMatchW = oImage.style.width.match( regexSize ) ; - if ( aMatchW ) - { - iWidth = aMatchW[1] ; - oImage.style.width = '' ; - SetAttribute( oImage, 'width' , iWidth ) ; - } - } - - if ( oImage.style.height ) - { - var aMatchH = oImage.style.height.match( regexSize ) ; - if ( aMatchH ) - { - iHeight = aMatchH[1] ; - oImage.style.height = '' ; - SetAttribute( oImage, 'height', iHeight ) ; - } - } - - GetE('txtWidth').value = iWidth ? iWidth : GetAttribute( oImage, "width", '' ) ; - GetE('txtHeight').value = iHeight ? iHeight : GetAttribute( oImage, "height", '' ) ; - - // Get Advances Attributes - GetE('txtAttId').value = oImage.id ; - GetE('cmbAttLangDir').value = oImage.dir ; - GetE('txtAttLangCode').value = oImage.lang ; - GetE('txtAttTitle').value = oImage.title ; - GetE('txtLongDesc').value = oImage.longDesc ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - GetE('txtAttClasses').value = oImage.className || '' ; - GetE('txtAttStyle').value = oImage.style.cssText ; - } - else - { - GetE('txtAttClasses').value = oImage.getAttribute('class',2) || '' ; - GetE('txtAttStyle').value = oImage.getAttribute('style',2) ; - } - - if ( oLink ) - { - var sLinkUrl = oLink.getAttribute( '_fcksavedurl' ) ; - if ( sLinkUrl == null ) - sLinkUrl = oLink.getAttribute('href',2) ; - - GetE('txtLnkUrl').value = sLinkUrl ; - GetE('cmbLnkTarget').value = oLink.target ; - } - - UpdatePreview() ; -} - -//#### The OK button was hit. -function Ok() -{ - if ( GetE('txtUrl').value.length == 0 ) - { - window.parent.SetSelectedTab( 'Info' ) ; - GetE('txtUrl').focus() ; - - alert( FCKLang.DlgImgAlertUrl ) ; - - return false ; - } - - var bHasImage = ( oImage != null ) ; - - if ( bHasImage && bImageButton && oImage.tagName == 'IMG' ) - { - if ( confirm( 'Do you want to transform the selected image on a image button?' ) ) - oImage = null ; - } - else if ( bHasImage && !bImageButton && oImage.tagName == 'INPUT' ) - { - if ( confirm( 'Do you want to transform the selected image button on a simple image?' ) ) - oImage = null ; - } - - oEditor.FCKUndo.SaveUndoStep() ; - if ( !bHasImage ) - { - if ( bImageButton ) - { - oImage = FCK.EditorDocument.createElement( 'input' ) ; - oImage.type = 'image' ; - oImage = FCK.InsertElement( oImage ) ; - } - else - oImage = FCK.InsertElement( 'img' ) ; - } - - UpdateImage( oImage ) ; - - var sLnkUrl = GetE('txtLnkUrl').value.Trim() ; - - if ( sLnkUrl.length == 0 ) - { - if ( oLink ) - FCK.ExecuteNamedCommand( 'Unlink' ) ; - } - else - { - if ( oLink ) // Modifying an existent link. - oLink.href = sLnkUrl ; - else // Creating a new link. - { - if ( !bHasImage ) - oEditor.FCKSelection.SelectNode( oImage ) ; - - oLink = oEditor.FCK.CreateLink( sLnkUrl )[0] ; - - if ( !bHasImage ) - { - oEditor.FCKSelection.SelectNode( oLink ) ; - oEditor.FCKSelection.Collapse( false ) ; - } - } - - SetAttribute( oLink, '_fcksavedurl', sLnkUrl ) ; - SetAttribute( oLink, 'target', GetE('cmbLnkTarget').value ) ; - } - - return true ; -} - -function UpdateImage( e, skipId ) -{ - e.src = GetE('txtUrl').value ; - SetAttribute( e, "_fcksavedurl", GetE('txtUrl').value ) ; - SetAttribute( e, "alt" , GetE('txtAlt').value ) ; - SetAttribute( e, "width" , GetE('txtWidth').value ) ; - SetAttribute( e, "height", GetE('txtHeight').value ) ; - SetAttribute( e, "vspace", GetE('txtVSpace').value ) ; - SetAttribute( e, "hspace", GetE('txtHSpace').value ) ; - SetAttribute( e, "border", GetE('txtBorder').value ) ; - SetAttribute( e, "align" , GetE('cmbAlign').value ) ; - - // Advances Attributes - - if ( ! skipId ) - SetAttribute( e, 'id', GetE('txtAttId').value ) ; - - SetAttribute( e, 'dir' , GetE('cmbAttLangDir').value ) ; - SetAttribute( e, 'lang' , GetE('txtAttLangCode').value ) ; - SetAttribute( e, 'title' , GetE('txtAttTitle').value ) ; - SetAttribute( e, 'longDesc' , GetE('txtLongDesc').value ) ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - e.className = GetE('txtAttClasses').value ; - e.style.cssText = GetE('txtAttStyle').value ; - } - else - { - SetAttribute( e, 'class' , GetE('txtAttClasses').value ) ; - SetAttribute( e, 'style', GetE('txtAttStyle').value ) ; - } -} - -var eImgPreview ; -var eImgPreviewLink ; - -function SetPreviewElements( imageElement, linkElement ) -{ - eImgPreview = imageElement ; - eImgPreviewLink = linkElement ; - - UpdatePreview() ; - UpdateOriginal() ; - - bPreviewInitialized = true ; -} - -function UpdatePreview() -{ - if ( !eImgPreview || !eImgPreviewLink ) - return ; - - if ( GetE('txtUrl').value.length == 0 ) - eImgPreviewLink.style.display = 'none' ; - else - { - UpdateImage( eImgPreview, true ) ; - - if ( GetE('txtLnkUrl').value.Trim().length > 0 ) - eImgPreviewLink.href = 'javascript:void(null);' ; - else - SetAttribute( eImgPreviewLink, 'href', '' ) ; - - eImgPreviewLink.style.display = '' ; - } -} - -var bLockRatio = true ; - -function SwitchLock( lockButton ) -{ - bLockRatio = !bLockRatio ; - lockButton.className = bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ; - lockButton.title = bLockRatio ? 'Lock sizes' : 'Unlock sizes' ; - - if ( bLockRatio ) - { - if ( GetE('txtWidth').value.length > 0 ) - OnSizeChanged( 'Width', GetE('txtWidth').value ) ; - else - OnSizeChanged( 'Height', GetE('txtHeight').value ) ; - } -} - -// Fired when the width or height input texts change -function OnSizeChanged( dimension, value ) -{ - // Verifies if the aspect ration has to be maintained - if ( oImageOriginal && bLockRatio ) - { - var e = dimension == 'Width' ? GetE('txtHeight') : GetE('txtWidth') ; - - if ( value.length == 0 || isNaN( value ) ) - { - e.value = '' ; - return ; - } - - if ( dimension == 'Width' ) - value = value == 0 ? 0 : Math.round( oImageOriginal.height * ( value / oImageOriginal.width ) ) ; - else - value = value == 0 ? 0 : Math.round( oImageOriginal.width * ( value / oImageOriginal.height ) ) ; - - if ( !isNaN( value ) ) - e.value = value ; - } - - UpdatePreview() ; -} - -// Fired when the Reset Size button is clicked -function ResetSizes() -{ - if ( ! oImageOriginal ) return ; - - GetE('txtWidth').value = oImageOriginal.width ; - GetE('txtHeight').value = oImageOriginal.height ; - - UpdatePreview() ; -} - -function BrowseServer() -{ - OpenServerBrowser( - 'Image', - FCKConfig.ImageBrowserURL, - FCKConfig.ImageBrowserWindowWidth, - FCKConfig.ImageBrowserWindowHeight ) ; -} - -function LnkBrowseServer() -{ - OpenServerBrowser( - 'Link', - FCKConfig.LinkBrowserURL, - FCKConfig.LinkBrowserWindowWidth, - FCKConfig.LinkBrowserWindowHeight ) ; -} - -function OpenServerBrowser( type, url, width, height ) -{ - sActualBrowser = type ; - OpenFileBrowser( url, width, height ) ; -} - -var sActualBrowser ; - -function SetUrl( url, width, height, alt ) -{ - if ( sActualBrowser == 'Link' ) - { - GetE('txtLnkUrl').value = url ; - UpdatePreview() ; - } - else - { - GetE('txtUrl').value = url ; - GetE('txtWidth').value = width ? width : '' ; - GetE('txtHeight').value = height ? height : '' ; - - if ( alt ) - GetE('txtAlt').value = alt; - - UpdatePreview() ; - UpdateOriginal( true ) ; - } - - window.parent.SetSelectedTab( 'Info' ) ; -} - -function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) -{ - switch ( errorNumber ) - { - case 0 : // No errors - alert( 'Your file has been successfully uploaded' ) ; - break ; - case 1 : // Custom error - alert( customMsg ) ; - return ; - case 101 : // Custom warning - alert( customMsg ) ; - break ; - case 201 : - alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ; - break ; - case 202 : - alert( 'Invalid file type' ) ; - return ; - case 203 : - alert( "Security error. You probably don't have enough permissions to upload. Please check your server." ) ; - return ; - default : - alert( 'Error on file upload. Error number: ' + errorNumber ) ; - return ; - } - - sActualBrowser = '' ; - SetUrl( fileUrl ) ; - GetE('frmUpload').reset() ; -} - -var oUploadAllowedExtRegex = new RegExp( FCKConfig.ImageUploadAllowedExtensions, 'i' ) ; -var oUploadDeniedExtRegex = new RegExp( FCKConfig.ImageUploadDeniedExtensions, 'i' ) ; - -function CheckUpload() -{ - var sFile = GetE('txtUploadFile').value ; - - if ( sFile.length == 0 ) - { - alert( 'Please select a file to upload' ) ; - return false ; - } - - if ( ( FCKConfig.ImageUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) || - ( FCKConfig.ImageUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) ) - { - OnUploadCompleted( 202 ) ; - return false ; - } - - return true ; -} diff --git a/editor/editor/dialog/fck_image/fck_image_preview.html b/editor/editor/dialog/fck_image/fck_image_preview.html @@ -1,66 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Preview page for the Image dialog window. - * - * Curiosity: http://en.wikipedia.org/wiki/Lorem_ipsum ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <link href="../common/fck_dialog_common.css" rel="stylesheet" type="text/css" /> - <script type="text/javascript"> - -// Sets the Skin CSS -document.write( '<link href="' + window.parent.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; - -if ( window.parent.FCKConfig.BaseHref.length > 0 ) - document.write( '<base href="' + window.parent.FCKConfig.BaseHref + '">' ) ; - -window.onload = function() -{ - window.parent.SetPreviewElements( - document.getElementById( 'imgPreview' ), - document.getElementById( 'lnkPreview' ) ) ; -} - - </script> -</head> -<body style="color: #000000; background-color: #ffffff"> - <a id="lnkPreview" onclick="return false;" style="cursor: default"> - <img id="imgPreview" onload="window.parent.UpdateOriginal();" style="display: none" /></a>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. -</body> -</html> diff --git a/editor/editor/dialog/fck_link.html b/editor/editor/dialog/fck_link.html @@ -1,293 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Link dialog window. ---> -<html> - <head> - <title>Link Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script src="fck_link/fck_link.js" type="text/javascript"></script> - </head> - <body scroll="no" style="OVERFLOW: hidden"> - <div id="divInfo" style="DISPLAY: none"> - <span fckLang="DlgLnkType">Link Type</span><br /> - <select id="cmbLinkType" onchange="SetLinkType(this.value);"> - <option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option> - <option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option> - <option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option> - </select> - <br /> - <br /> - <div id="divLinkTypeUrl"> - <table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr"> - <tr> - <td nowrap="nowrap"> - <span fckLang="DlgLnkProto">Protocol</span><br /> - <select id="cmbLinkProtocol"> - <option value="http://" selected="selected">http://</option> - <option value="https://">https://</option> - <option value="ftp://">ftp://</option> - <option value="news://">news://</option> - <option value="" fckLang="DlgLnkProtoOther">&lt;other&gt;</option> - </select> - </td> - <td nowrap="nowrap">&nbsp;</td> - <td nowrap="nowrap" width="100%"> - <span fckLang="DlgLnkURL">URL</span><br /> - <input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" /> - </td> - </tr> - </table> - <br /> - <div id="divBrowseServer"> - <input type="button" value="Browse Server" fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" /> - </div> - </div> - <div id="divLinkTypeAnchor" style="DISPLAY: none" align="center"> - <div id="divSelAnchor" style="DISPLAY: none"> - <table cellspacing="0" cellpadding="0" border="0" width="70%"> - <tr> - <td colspan="3"> - <span fckLang="DlgLnkAnchorSel">Select an Anchor</span> - </td> - </tr> - <tr> - <td width="50%"> - <span fckLang="DlgLnkAnchorByName">By Anchor Name</span><br /> - <select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%"> - <option value="" selected="selected"></option> - </select> - </td> - <td>&nbsp;&nbsp;&nbsp;</td> - <td width="50%"> - <span fckLang="DlgLnkAnchorById">By Element Id</span><br /> - <select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%"> - <option value="" selected="selected"></option> - </select> - </td> - </tr> - </table> - </div> - <div id="divNoAnchor" style="DISPLAY: none"> - <span fckLang="DlgLnkNoAnchors">&lt;No anchors available in the document&gt;</span> - </div> - </div> - <div id="divLinkTypeEMail" style="DISPLAY: none"> - <span fckLang="DlgLnkEMail">E-Mail Address</span><br /> - <input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br /> - <span fckLang="DlgLnkEMailSubject">Message Subject</span><br /> - <input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br /> - <span fckLang="DlgLnkEMailBody">Message Body</span><br /> - <textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea> - </div> - </div> - <div id="divUpload" style="DISPLAY: none"> - <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();"> - <span fckLang="DlgLnkUpload">Upload</span><br /> - <input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br /> - <br /> - <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> - <iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe> - </form> - </div> - <div id="divTarget" style="DISPLAY: none"> - <table cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td nowrap="nowrap"> - <span fckLang="DlgLnkTarget">Target</span><br /> - <select id="cmbTarget" onchange="SetTarget(this.value);"> - <option value="" fckLang="DlgGenNotSet" selected="selected">&lt;not set&gt;</option> - <option value="frame" fckLang="DlgLnkTargetFrame">&lt;frame&gt;</option> - <option value="popup" fckLang="DlgLnkTargetPopup">&lt;popup window&gt;</option> - <option value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option> - <option value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option> - <option value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option> - <option value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option> - </select> - </td> - <td>&nbsp;</td> - <td id="tdTargetFrame" nowrap="nowrap" width="100%"> - <span fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br /> - <input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();" - onchange="OnTargetNameChange();" /> - </td> - <td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%"> - <span fckLang="DlgLnkPopWinName">Popup Window Name</span><br /> - <input id="txtPopupName" style="WIDTH: 100%" type="text" /> - </td> - </tr> - </table> - <br /> - <table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center" - border="0"> - <tr> - <td> - <span fckLang="DlgLnkPopWinFeat">Popup Window Features</span><br /> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td valign="top" nowrap="nowrap" width="50%"> - <input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br /> - <input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location - Bar</label><br /> - <input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu - Bar</label><br /> - <input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll - Bars</label> - </td> - <td></td> - <td valign="top" nowrap="nowrap" width="50%"> - <input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status - Bar</label><br /> - <input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br /> - <input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full - Screen (IE)</label><br /> - <input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent - (Netscape)</label> - </td> - </tr> - <tr> - <td valign="top" nowrap="nowrap" width="50%">&nbsp;</td> - <td></td> - <td valign="top" nowrap="nowrap" width="50%"></td> - </tr> - <tr> - <td valign="top"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td nowrap="nowrap"><span fckLang="DlgLnkPopWidth">Width</span></td> - <td>&nbsp;<input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td> - </tr> - <tr> - <td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></td> - <td>&nbsp;<input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td> - </tr> - </table> - </td> - <td>&nbsp;&nbsp;</td> - <td valign="top"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td nowrap="nowrap"><span fckLang="DlgLnkPopLeft">Left Position</span></td> - <td>&nbsp;<input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td> - </tr> - <tr> - <td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top Position</span></td> - <td>&nbsp;<input id="txtPopupTop" type="text" maxlength="4" size="4" /></td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - </table> - </div> - <div id="divAttribs" style="DISPLAY: none"> - <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> - <tr> - <td valign="top" width="50%"> - <span fckLang="DlgGenId">Id</span><br /> - <input id="txtAttId" style="WIDTH: 100%" type="text" /> - </td> - <td width="1"></td> - <td valign="top"> - <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> - <tr> - <td width="60%"> - <span fckLang="DlgGenLangDir">Language Direction</span><br /> - <select id="cmbAttLangDir" style="WIDTH: 100%"> - <option value="" fckLang="DlgGenNotSet" selected>&lt;not set&gt;</option> - <option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option> - <option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option> - </select> - </td> - <td width="1%">&nbsp;&nbsp;&nbsp;</td> - <td nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br /> - <input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" /> - </td> - </tr> - </table> - </td> - </tr> - <tr> - <td valign="top" width="50%"> - <span fckLang="DlgGenName">Name</span><br /> - <input id="txtAttName" style="WIDTH: 100%" type="text" /> - </td> - <td width="1"></td> - <td valign="top"> - <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> - <tr> - <td width="60%"> - <span fckLang="DlgGenLangCode">Language Code</span><br /> - <input id="txtAttLangCode" style="WIDTH: 100%" type="text" /> - </td> - <td width="1%">&nbsp;&nbsp;&nbsp;</td> - <td nowrap="nowrap"> - <span fckLang="DlgGenTabIndex">Tab Index</span><br /> - <input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" /> - </td> - </tr> - </table> - </td> - </tr> - <tr> - <td valign="top" width="50%">&nbsp;</td> - <td width="1"></td> - <td valign="top"></td> - </tr> - <tr> - <td valign="top" width="50%"> - <span fckLang="DlgGenTitle">Advisory Title</span><br /> - <input id="txtAttTitle" style="WIDTH: 100%" type="text" /> - </td> - <td width="1">&nbsp;&nbsp;&nbsp;</td> - <td valign="top"> - <span fckLang="DlgGenContType">Advisory Content Type</span><br /> - <input id="txtAttContentType" style="WIDTH: 100%" type="text" /> - </td> - </tr> - <tr> - <td valign="top"> - <span fckLang="DlgGenClass">Stylesheet Classes</span><br /> - <input id="txtAttClasses" style="WIDTH: 100%" type="text" /> - </td> - <td></td> - <td valign="top"> - <span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br /> - <input id="txtAttCharSet" style="WIDTH: 100%" type="text" /> - </td> - </tr> - </table> - <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0"> - <tr> - <td> - <span fckLang="DlgGenStyle">Style</span><br /> - <input id="txtAttStyle" style="WIDTH: 100%" type="text" /> - </td> - </tr> - </table> - </div> - </body> -</html> diff --git a/editor/editor/dialog/fck_link/fck_link.js b/editor/editor/dialog/fck_link/fck_link.js @@ -1,715 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts related to the Link dialog window (see fck_link.html). - */ - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; -var FCKRegexLib = oEditor.FCKRegexLib ; -var FCKTools = oEditor.FCKTools ; - -//#### Dialog Tabs - -// Set the dialog tabs. -window.parent.AddTab( 'Info', FCKLang.DlgLnkInfoTab ) ; - -if ( !FCKConfig.LinkDlgHideTarget ) - window.parent.AddTab( 'Target', FCKLang.DlgLnkTargetTab, true ) ; - -if ( FCKConfig.LinkUpload ) - window.parent.AddTab( 'Upload', FCKLang.DlgLnkUpload, true ) ; - -if ( !FCKConfig.LinkDlgHideAdvanced ) - window.parent.AddTab( 'Advanced', FCKLang.DlgAdvancedTag ) ; - -// Function called when a dialog tag is selected. -function OnDialogTabChange( tabCode ) -{ - ShowE('divInfo' , ( tabCode == 'Info' ) ) ; - ShowE('divTarget' , ( tabCode == 'Target' ) ) ; - ShowE('divUpload' , ( tabCode == 'Upload' ) ) ; - ShowE('divAttribs' , ( tabCode == 'Advanced' ) ) ; - - window.parent.SetAutoSize( true ) ; -} - -//#### Regular Expressions library. -var oRegex = new Object() ; - -oRegex.UriProtocol = /^(((http|https|ftp|news):\/\/)|mailto:)/gi ; - -oRegex.UrlOnChangeProtocol = /^(http|https|ftp|news):\/\/(?=.)/gi ; - -oRegex.UrlOnChangeTestOther = /^((javascript:)|[#\/\.])/gi ; - -oRegex.ReserveTarget = /^_(blank|self|top|parent)$/i ; - -oRegex.PopupUri = /^javascript:void\(\s*window.open\(\s*'([^']+)'\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*\)\s*$/ ; - -// Accessible popups -oRegex.OnClickPopup = /^\s*on[cC]lick="\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*"$/ ; - -oRegex.PopupFeatures = /(?:^|,)([^=]+)=(\d+|yes|no)/gi ; - -//#### Parser Functions - -var oParser = new Object() ; - -oParser.ParseEMailUrl = function( emailUrl ) -{ - // Initializes the EMailInfo object. - var oEMailInfo = new Object() ; - oEMailInfo.Address = '' ; - oEMailInfo.Subject = '' ; - oEMailInfo.Body = '' ; - - var oParts = emailUrl.match( /^([^\?]+)\??(.+)?/ ) ; - if ( oParts ) - { - // Set the e-mail address. - oEMailInfo.Address = oParts[1] ; - - // Look for the optional e-mail parameters. - if ( oParts[2] ) - { - var oMatch = oParts[2].match( /(^|&)subject=([^&]+)/i ) ; - if ( oMatch ) oEMailInfo.Subject = decodeURIComponent( oMatch[2] ) ; - - oMatch = oParts[2].match( /(^|&)body=([^&]+)/i ) ; - if ( oMatch ) oEMailInfo.Body = decodeURIComponent( oMatch[2] ) ; - } - } - - return oEMailInfo ; -} - -oParser.CreateEMailUri = function( address, subject, body ) -{ - var sBaseUri = 'mailto:' + address ; - - var sParams = '' ; - - if ( subject.length > 0 ) - sParams = '?subject=' + encodeURIComponent( subject ) ; - - if ( body.length > 0 ) - { - sParams += ( sParams.length == 0 ? '?' : '&' ) ; - sParams += 'body=' + encodeURIComponent( body ) ; - } - - return sBaseUri + sParams ; -} - -//#### Initialization Code - -// oLink: The actual selected link in the editor. -var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ; -if ( oLink ) - FCK.Selection.SelectNode( oLink ) ; - -window.onload = function() -{ - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - // Fill the Anchor Names and Ids combos. - LoadAnchorNamesAndIds() ; - - // Load the selected link information (if any). - LoadSelection() ; - - // Update the dialog box. - SetLinkType( GetE('cmbLinkType').value ) ; - - // Show/Hide the "Browse Server" button. - GetE('divBrowseServer').style.display = FCKConfig.LinkBrowser ? '' : 'none' ; - - // Show the initial dialog content. - GetE('divInfo').style.display = '' ; - - // Set the actual uploader URL. - if ( FCKConfig.LinkUpload ) - GetE('frmUpload').action = FCKConfig.LinkUploadURL ; - - // Set the default target (from configuration). - SetDefaultTarget() ; - - // Activate the "OK" button. - window.parent.SetOkButton( true ) ; -} - -var bHasAnchors ; - -function LoadAnchorNamesAndIds() -{ - // Since version 2.0, the anchors are replaced in the DOM by IMGs so the user see the icon - // to edit them. So, we must look for that images now. - var aAnchors = new Array() ; - var i ; - var oImages = oEditor.FCK.EditorDocument.getElementsByTagName( 'IMG' ) ; - for( i = 0 ; i < oImages.length ; i++ ) - { - if ( oImages[i].getAttribute('_fckanchor') ) - aAnchors[ aAnchors.length ] = oEditor.FCK.GetRealElement( oImages[i] ) ; - } - - // Add also real anchors - var oLinks = oEditor.FCK.EditorDocument.getElementsByTagName( 'A' ) ; - for( i = 0 ; i < oLinks.length ; i++ ) - { - if ( oLinks[i].name && ( oLinks[i].name.length > 0 ) ) - aAnchors[ aAnchors.length ] = oLinks[i] ; - } - - var aIds = FCKTools.GetAllChildrenIds( oEditor.FCK.EditorDocument.body ) ; - - bHasAnchors = ( aAnchors.length > 0 || aIds.length > 0 ) ; - - for ( i = 0 ; i < aAnchors.length ; i++ ) - { - var sName = aAnchors[i].name ; - if ( sName && sName.length > 0 ) - FCKTools.AddSelectOption( GetE('cmbAnchorName'), sName, sName ) ; - } - - for ( i = 0 ; i < aIds.length ; i++ ) - { - FCKTools.AddSelectOption( GetE('cmbAnchorId'), aIds[i], aIds[i] ) ; - } - - ShowE( 'divSelAnchor' , bHasAnchors ) ; - ShowE( 'divNoAnchor' , !bHasAnchors ) ; -} - -function LoadSelection() -{ - if ( !oLink ) return ; - - var sType = 'url' ; - - // Get the actual Link href. - var sHRef = oLink.getAttribute( '_fcksavedurl' ) ; - if ( sHRef == null ) - sHRef = oLink.getAttribute( 'href' , 2 ) || '' ; - - // Look for a popup javascript link. - var oPopupMatch = oRegex.PopupUri.exec( sHRef ) ; - if( oPopupMatch ) - { - GetE('cmbTarget').value = 'popup' ; - sHRef = oPopupMatch[1] ; - FillPopupFields( oPopupMatch[2], oPopupMatch[3] ) ; - SetTarget( 'popup' ) ; - } - - // Accessible popups, the popup data is in the onclick attribute - if ( !oPopupMatch ) - { - var onclick = oLink.getAttribute( 'onclick_fckprotectedatt' ) ; - if ( onclick ) - { - // Decode the protected string - onclick = decodeURIComponent( onclick ) ; - - oPopupMatch = oRegex.OnClickPopup.exec( onclick ) ; - if( oPopupMatch ) - { - GetE( 'cmbTarget' ).value = 'popup' ; - FillPopupFields( oPopupMatch[1], oPopupMatch[2] ) ; - SetTarget( 'popup' ) ; - } - } - } - - // Search for the protocol. - var sProtocol = oRegex.UriProtocol.exec( sHRef ) ; - - if ( sProtocol ) - { - sProtocol = sProtocol[0].toLowerCase() ; - GetE('cmbLinkProtocol').value = sProtocol ; - - // Remove the protocol and get the remaining URL. - var sUrl = sHRef.replace( oRegex.UriProtocol, '' ) ; - - if ( sProtocol == 'mailto:' ) // It is an e-mail link. - { - sType = 'email' ; - - var oEMailInfo = oParser.ParseEMailUrl( sUrl ) ; - GetE('txtEMailAddress').value = oEMailInfo.Address ; - GetE('txtEMailSubject').value = oEMailInfo.Subject ; - GetE('txtEMailBody').value = oEMailInfo.Body ; - } - else // It is a normal link. - { - sType = 'url' ; - GetE('txtUrl').value = sUrl ; - } - } - else if ( sHRef.substr(0,1) == '#' && sHRef.length > 1 ) // It is an anchor link. - { - sType = 'anchor' ; - GetE('cmbAnchorName').value = GetE('cmbAnchorId').value = sHRef.substr(1) ; - } - else // It is another type of link. - { - sType = 'url' ; - - GetE('cmbLinkProtocol').value = '' ; - GetE('txtUrl').value = sHRef ; - } - - if ( !oPopupMatch ) - { - // Get the target. - var sTarget = oLink.target ; - - if ( sTarget && sTarget.length > 0 ) - { - if ( oRegex.ReserveTarget.test( sTarget ) ) - { - sTarget = sTarget.toLowerCase() ; - GetE('cmbTarget').value = sTarget ; - } - else - GetE('cmbTarget').value = 'frame' ; - GetE('txtTargetFrame').value = sTarget ; - } - } - - // Get Advances Attributes - GetE('txtAttId').value = oLink.id ; - GetE('txtAttName').value = oLink.name ; - GetE('cmbAttLangDir').value = oLink.dir ; - GetE('txtAttLangCode').value = oLink.lang ; - GetE('txtAttAccessKey').value = oLink.accessKey ; - GetE('txtAttTabIndex').value = oLink.tabIndex <= 0 ? '' : oLink.tabIndex ; - GetE('txtAttTitle').value = oLink.title ; - GetE('txtAttContentType').value = oLink.type ; - GetE('txtAttCharSet').value = oLink.charset ; - - var sClass ; - if ( oEditor.FCKBrowserInfo.IsIE ) - { - sClass = oLink.getAttribute('className',2) || '' ; - // Clean up temporary classes for internal use: - sClass = sClass.replace( FCKRegexLib.FCK_Class, '' ) ; - - GetE('txtAttStyle').value = oLink.style.cssText ; - } - else - { - sClass = oLink.getAttribute('class',2) || '' ; - GetE('txtAttStyle').value = oLink.getAttribute('style',2) || '' ; - } - GetE('txtAttClasses').value = sClass ; - - // Update the Link type combo. - GetE('cmbLinkType').value = sType ; -} - -//#### Link type selection. -function SetLinkType( linkType ) -{ - ShowE('divLinkTypeUrl' , (linkType == 'url') ) ; - ShowE('divLinkTypeAnchor' , (linkType == 'anchor') ) ; - ShowE('divLinkTypeEMail' , (linkType == 'email') ) ; - - if ( !FCKConfig.LinkDlgHideTarget ) - window.parent.SetTabVisibility( 'Target' , (linkType == 'url') ) ; - - if ( FCKConfig.LinkUpload ) - window.parent.SetTabVisibility( 'Upload' , (linkType == 'url') ) ; - - if ( !FCKConfig.LinkDlgHideAdvanced ) - window.parent.SetTabVisibility( 'Advanced' , (linkType != 'anchor' || bHasAnchors) ) ; - - if ( linkType == 'email' ) - window.parent.SetAutoSize( true ) ; -} - -//#### Target type selection. -function SetTarget( targetType ) -{ - GetE('tdTargetFrame').style.display = ( targetType == 'popup' ? 'none' : '' ) ; - GetE('tdPopupName').style.display = - GetE('tablePopupFeatures').style.display = ( targetType == 'popup' ? '' : 'none' ) ; - - switch ( targetType ) - { - case "_blank" : - case "_self" : - case "_parent" : - case "_top" : - GetE('txtTargetFrame').value = targetType ; - break ; - case "" : - GetE('txtTargetFrame').value = '' ; - break ; - } - - if ( targetType == 'popup' ) - window.parent.SetAutoSize( true ) ; -} - -//#### Called while the user types the URL. -function OnUrlChange() -{ - var sUrl = GetE('txtUrl').value ; - var sProtocol = oRegex.UrlOnChangeProtocol.exec( sUrl ) ; - - if ( sProtocol ) - { - sUrl = sUrl.substr( sProtocol[0].length ) ; - GetE('txtUrl').value = sUrl ; - GetE('cmbLinkProtocol').value = sProtocol[0].toLowerCase() ; - } - else if ( oRegex.UrlOnChangeTestOther.test( sUrl ) ) - { - GetE('cmbLinkProtocol').value = '' ; - } -} - -//#### Called while the user types the target name. -function OnTargetNameChange() -{ - var sFrame = GetE('txtTargetFrame').value ; - - if ( sFrame.length == 0 ) - GetE('cmbTarget').value = '' ; - else if ( oRegex.ReserveTarget.test( sFrame ) ) - GetE('cmbTarget').value = sFrame.toLowerCase() ; - else - GetE('cmbTarget').value = 'frame' ; -} - -// Accessible popups -function BuildOnClickPopup() -{ - var sWindowName = "'" + GetE('txtPopupName').value.replace(/\W/gi, "") + "'" ; - - var sFeatures = '' ; - var aChkFeatures = document.getElementsByName( 'chkFeature' ) ; - for ( var i = 0 ; i < aChkFeatures.length ; i++ ) - { - if ( i > 0 ) sFeatures += ',' ; - sFeatures += aChkFeatures[i].value + '=' + ( aChkFeatures[i].checked ? 'yes' : 'no' ) ; - } - - if ( GetE('txtPopupWidth').value.length > 0 ) sFeatures += ',width=' + GetE('txtPopupWidth').value ; - if ( GetE('txtPopupHeight').value.length > 0 ) sFeatures += ',height=' + GetE('txtPopupHeight').value ; - if ( GetE('txtPopupLeft').value.length > 0 ) sFeatures += ',left=' + GetE('txtPopupLeft').value ; - if ( GetE('txtPopupTop').value.length > 0 ) sFeatures += ',top=' + GetE('txtPopupTop').value ; - - if ( sFeatures != '' ) - sFeatures = sFeatures + ",status" ; - - return ( "window.open(this.href," + sWindowName + ",'" + sFeatures + "'); return false" ) ; -} - -//#### Fills all Popup related fields. -function FillPopupFields( windowName, features ) -{ - if ( windowName ) - GetE('txtPopupName').value = windowName ; - - var oFeatures = new Object() ; - var oFeaturesMatch ; - while( ( oFeaturesMatch = oRegex.PopupFeatures.exec( features ) ) != null ) - { - var sValue = oFeaturesMatch[2] ; - if ( sValue == ( 'yes' || '1' ) ) - oFeatures[ oFeaturesMatch[1] ] = true ; - else if ( ! isNaN( sValue ) && sValue != 0 ) - oFeatures[ oFeaturesMatch[1] ] = sValue ; - } - - // Update all features check boxes. - var aChkFeatures = document.getElementsByName('chkFeature') ; - for ( var i = 0 ; i < aChkFeatures.length ; i++ ) - { - if ( oFeatures[ aChkFeatures[i].value ] ) - aChkFeatures[i].checked = true ; - } - - // Update position and size text boxes. - if ( oFeatures['width'] ) GetE('txtPopupWidth').value = oFeatures['width'] ; - if ( oFeatures['height'] ) GetE('txtPopupHeight').value = oFeatures['height'] ; - if ( oFeatures['left'] ) GetE('txtPopupLeft').value = oFeatures['left'] ; - if ( oFeatures['top'] ) GetE('txtPopupTop').value = oFeatures['top'] ; -} - -//#### The OK button was hit. -function Ok() -{ - var sUri, sInnerHtml ; - oEditor.FCKUndo.SaveUndoStep() ; - - switch ( GetE('cmbLinkType').value ) - { - case 'url' : - sUri = GetE('txtUrl').value ; - - if ( sUri.length == 0 ) - { - alert( FCKLang.DlnLnkMsgNoUrl ) ; - return false ; - } - - sUri = GetE('cmbLinkProtocol').value + sUri ; - - break ; - - case 'email' : - sUri = GetE('txtEMailAddress').value ; - - if ( sUri.length == 0 ) - { - alert( FCKLang.DlnLnkMsgNoEMail ) ; - return false ; - } - - sUri = oParser.CreateEMailUri( - sUri, - GetE('txtEMailSubject').value, - GetE('txtEMailBody').value ) ; - break ; - - case 'anchor' : - var sAnchor = GetE('cmbAnchorName').value ; - if ( sAnchor.length == 0 ) sAnchor = GetE('cmbAnchorId').value ; - - if ( sAnchor.length == 0 ) - { - alert( FCKLang.DlnLnkMsgNoAnchor ) ; - return false ; - } - - sUri = '#' + sAnchor ; - break ; - } - - // If no link is selected, create a new one (it may result in more than one link creation - #220). - var aLinks = oLink ? [ oLink ] : oEditor.FCK.CreateLink( sUri, true ) ; - - // If no selection, no links are created, so use the uri as the link text (by dom, 2006-05-26) - var aHasSelection = ( aLinks.length > 0 ) ; - if ( !aHasSelection ) - { - sInnerHtml = sUri; - - // Built a better text for empty links. - switch ( GetE('cmbLinkType').value ) - { - // anchor: use old behavior --> return true - case 'anchor': - sInnerHtml = sInnerHtml.replace( /^#/, '' ) ; - break ; - - // url: try to get path - case 'url': - var oLinkPathRegEx = new RegExp("//?([^?\"']+)([?].*)?$") ; - var asLinkPath = oLinkPathRegEx.exec( sUri ) ; - if (asLinkPath != null) - sInnerHtml = asLinkPath[1]; // use matched path - break ; - - // mailto: try to get email address - case 'email': - sInnerHtml = GetE('txtEMailAddress').value ; - break ; - } - - // Create a new (empty) anchor. - aLinks = [ oEditor.FCK.InsertElement( 'a' ) ] ; - } - - for ( var i = 0 ; i < aLinks.length ; i++ ) - { - oLink = aLinks[i] ; - - if ( aHasSelection ) - sInnerHtml = oLink.innerHTML ; // Save the innerHTML (IE changes it if it is like an URL). - - oLink.href = sUri ; - SetAttribute( oLink, '_fcksavedurl', sUri ) ; - - var onclick; - // Accessible popups - if( GetE('cmbTarget').value == 'popup' ) - { - onclick = BuildOnClickPopup() ; - // Encode the attribute - onclick = encodeURIComponent( " onclick=\"" + onclick + "\"" ) ; - SetAttribute( oLink, 'onclick_fckprotectedatt', onclick ) ; - } - else - { - // Check if the previous onclick was for a popup: - // In that case remove the onclick handler. - onclick = oLink.getAttribute( 'onclick_fckprotectedatt' ) ; - if ( onclick ) - { - // Decode the protected string - onclick = decodeURIComponent( onclick ) ; - - if( oRegex.OnClickPopup.test( onclick ) ) - SetAttribute( oLink, 'onclick_fckprotectedatt', '' ) ; - } - } - - oLink.innerHTML = sInnerHtml ; // Set (or restore) the innerHTML - - // Target - if( GetE('cmbTarget').value != 'popup' ) - SetAttribute( oLink, 'target', GetE('txtTargetFrame').value ) ; - else - SetAttribute( oLink, 'target', null ) ; - - // Let's set the "id" only for the first link to avoid duplication. - if ( i == 0 ) - SetAttribute( oLink, 'id', GetE('txtAttId').value ) ; - - // Advances Attributes - SetAttribute( oLink, 'name' , GetE('txtAttName').value ) ; - SetAttribute( oLink, 'dir' , GetE('cmbAttLangDir').value ) ; - SetAttribute( oLink, 'lang' , GetE('txtAttLangCode').value ) ; - SetAttribute( oLink, 'accesskey', GetE('txtAttAccessKey').value ) ; - SetAttribute( oLink, 'tabindex' , ( GetE('txtAttTabIndex').value > 0 ? GetE('txtAttTabIndex').value : null ) ) ; - SetAttribute( oLink, 'title' , GetE('txtAttTitle').value ) ; - SetAttribute( oLink, 'type' , GetE('txtAttContentType').value ) ; - SetAttribute( oLink, 'charset' , GetE('txtAttCharSet').value ) ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - { - var sClass = GetE('txtAttClasses').value ; - // If it's also an anchor add an internal class - if ( GetE('txtAttName').value.length != 0 ) - sClass += ' FCK__AnchorC' ; - SetAttribute( oLink, 'className', sClass ) ; - - oLink.style.cssText = GetE('txtAttStyle').value ; - } - else - { - SetAttribute( oLink, 'class', GetE('txtAttClasses').value ) ; - SetAttribute( oLink, 'style', GetE('txtAttStyle').value ) ; - } - } - - // Select the (first) link. - oEditor.FCKSelection.SelectNode( aLinks[0] ); - - return true ; -} - -function BrowseServer() -{ - OpenFileBrowser( FCKConfig.LinkBrowserURL, FCKConfig.LinkBrowserWindowWidth, FCKConfig.LinkBrowserWindowHeight ) ; -} - -function SetUrl( url ) -{ - document.getElementById('txtUrl').value = url ; - OnUrlChange() ; - window.parent.SetSelectedTab( 'Info' ) ; -} - -function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) -{ - switch ( errorNumber ) - { - case 0 : // No errors - alert( 'Your file has been successfully uploaded' ) ; - break ; - case 1 : // Custom error - alert( customMsg ) ; - return ; - case 101 : // Custom warning - alert( customMsg ) ; - break ; - case 201 : - alert( 'A file with the same name is already available. The uploaded file has been renamed to "' + fileName + '"' ) ; - break ; - case 202 : - alert( 'Invalid file type' ) ; - return ; - case 203 : - alert( "Security error. You probably don't have enough permissions to upload. Please check your server." ) ; - return ; - default : - alert( 'Error on file upload. Error number: ' + errorNumber ) ; - return ; - } - - SetUrl( fileUrl ) ; - GetE('frmUpload').reset() ; -} - -var oUploadAllowedExtRegex = new RegExp( FCKConfig.LinkUploadAllowedExtensions, 'i' ) ; -var oUploadDeniedExtRegex = new RegExp( FCKConfig.LinkUploadDeniedExtensions, 'i' ) ; - -function CheckUpload() -{ - var sFile = GetE('txtUploadFile').value ; - - if ( sFile.length == 0 ) - { - alert( 'Please select a file to upload' ) ; - return false ; - } - - if ( ( FCKConfig.LinkUploadAllowedExtensions.length > 0 && !oUploadAllowedExtRegex.test( sFile ) ) || - ( FCKConfig.LinkUploadDeniedExtensions.length > 0 && oUploadDeniedExtRegex.test( sFile ) ) ) - { - OnUploadCompleted( 202 ) ; - return false ; - } - - return true ; -} - -function SetDefaultTarget() -{ - var target = FCKConfig.DefaultLinkTarget || '' ; - - if ( oLink || target.length == 0 ) - return ; - - switch ( target ) - { - case '_blank' : - case '_self' : - case '_parent' : - case '_top' : - GetE('cmbTarget').value = target ; - break ; - default : - GetE('cmbTarget').value = 'frame' ; - break ; - } - - GetE('txtTargetFrame').value = target ; -} diff --git a/editor/editor/dialog/fck_listprop.html b/editor/editor/dialog/fck_listprop.html @@ -1,117 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Bulleted List dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta content="noindex, nofollow" name="robots" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; -var sListType = ( location.search == '?OL' ? 'OL' : 'UL' ) ; - -var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( sListType ) ; -var oActiveSel ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( sListType == 'UL' ) - oActiveSel = GetE('selBulleted') ; - else - { - if ( oActiveEl ) - { - oActiveSel = GetE('selNumbered') ; - GetE('eStart').style.display = '' ; - GetE('txtStartPosition').value = GetAttribute( oActiveEl, 'start' ) ; - } - } - - oActiveSel.style.display = '' ; - - if ( oActiveEl ) - { - if ( oActiveEl.getAttribute('type') ) - oActiveSel.value = oActiveEl.getAttribute('type') ; - } - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - if ( oActiveEl ){ - SetAttribute( oActiveEl, 'type' , oActiveSel.value ) ; - if(oActiveEl.tagName == 'OL') - SetAttribute( oActiveEl, 'start', GetE('txtStartPosition').value ) ; - } - - return true ; -} - - </script> -</head> -<body style="overflow: hidden"> - <table width="100%" style="height: 100%"> - <tr> - <td style="text-align:center"> - <table cellspacing="0" cellpadding="0" border="0" style="margin-left: auto; margin-right: auto;"> - <tr> - <td id="eStart" style="display: none; padding-right: 5px; padding-left: 5px"> - <span fcklang="DlgLstStart">Start</span><br /> - <input type="text" id="txtStartPosition" size="5" /> - </td> - <td style="padding-right: 5px; padding-left: 5px"> - <span fcklang="DlgLstType">List Type</span><br /> - <select id="selBulleted" style="display: none"> - <option value="" selected="selected"></option> - <option value="circle" fcklang="DlgLstTypeCircle">Circle</option> - <option value="disc" fcklang="DlgLstTypeDisc">Disc</option> - <option value="square" fcklang="DlgLstTypeSquare">Square</option> - </select> - <select id="selNumbered" style="display: none"> - <option value="" selected="selected"></option> - <option value="1" fcklang="DlgLstTypeNumbers">Numbers (1, 2, 3)</option> - <option value="a" fcklang="DlgLstTypeLCase">Lowercase Letters (a, b, c)</option> - <option value="A" fcklang="DlgLstTypeUCase">Uppercase Letters (A, B, C)</option> - <option value="i" fcklang="DlgLstTypeSRoman">Small Roman Numerals (i, ii, iii)</option> - <option value="I" fcklang="DlgLstTypeLRoman">Large Roman Numerals (I, II, III)</option> - </select> - &nbsp; - </td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_paste.html b/editor/editor/dialog/fck_paste.html @@ -1,340 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This dialog is shown when, for some reason (usually security settings), - * the user is not able to paste data from the clipboard to the editor using - * the toolbar buttons or the context menu. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - - <script type="text/javascript"> -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK; -var FCKTools = oEditor.FCKTools ; -var FCKConfig = oEditor.FCKConfig ; - -window.onload = function () -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - var sPastingType = window.parent.dialogArguments.CustomValue ; - - if ( sPastingType == 'Word' || sPastingType == 'Security' ) - { - if ( sPastingType == 'Security' ) - document.getElementById( 'xSecurityMsg' ).style.display = '' ; - - var oFrame = document.getElementById('frmData') ; - oFrame.style.display = '' ; - - // Avoid errors if the pasted content has any script that fails: #389 - var oDoc = oFrame.contentWindow.document ; - oDoc.open() ; - oDoc.write('<html><head><script>window.onerror = function() { return true ; };<\/script><\/head><body><\/body><\/html>') ; - oDoc.close() ; - - if ( oFrame.contentDocument ) - oFrame.contentDocument.designMode = 'on' ; - else - oFrame.contentWindow.document.body.contentEditable = true ; - - // Set the focus on the pasting area - oFrame.contentWindow.focus(); - } - else - { - document.getElementById('txtData').style.display = '' ; - } - - if ( sPastingType != 'Word' ) - document.getElementById('oWordCommands').style.display = 'none' ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - // Before doing anything, save undo snapshot. - oEditor.FCKUndo.SaveUndoStep() ; - - var sHtml ; - - var sPastingType = window.parent.dialogArguments.CustomValue ; - - if ( sPastingType == 'Word' || sPastingType == 'Security' ) - { - var oFrame = document.getElementById('frmData') ; - var oBody ; - - if ( oFrame.contentDocument ) - oBody = oFrame.contentDocument.body ; - else - oBody = oFrame.contentWindow.document.body ; - - if ( sPastingType == 'Word' ) - { - // If a plugin creates a FCK.CustomCleanWord function it will be called instead of the default one - if ( typeof( FCK.CustomCleanWord ) == 'function' ) - sHtml = FCK.CustomCleanWord( oBody, document.getElementById('chkRemoveFont').checked, document.getElementById('chkRemoveStyles').checked ) ; - else - sHtml = CleanWord( oBody, document.getElementById('chkRemoveFont').checked, document.getElementById('chkRemoveStyles').checked ) ; - } - else - sHtml = oBody.innerHTML ; - - // Fix relative anchor URLs (IE automatically adds the current page URL). - var re = new RegExp( window.location + "#", "g" ) ; - sHtml = sHtml.replace( re, '#') ; - } - else - { - sHtml = oEditor.FCKTools.HTMLEncode( document.getElementById('txtData').value ) ; - sHtml = FCKTools.ProcessLineBreaks( oEditor, FCKConfig, sHtml ) ; - - // FCK.InsertHtml() does not work for us, since document fragments cannot contain node fragments. :( - // Use the marker method instead. It's primitive, but it works. - var range = new oEditor.FCKDomRange( oEditor.FCK.EditorWindow ) ; - var oDoc = oEditor.FCK.EditorDocument ; - range.MoveToSelection() ; - range.DeleteContents() ; - var marker = [] ; - for ( var i = 0 ; i < 5 ; i++ ) - marker.push( parseInt(Math.random() * 100000, 10 ) ) ; - marker = marker.join( "" ) ; - range.InsertNode ( oDoc.createTextNode( marker ) ) ; - var bookmark = range.CreateBookmark() ; - - // Now we've got a marker indicating the paste position in the editor document. - // Find its position in the HTML code. - var htmlString = oDoc.body.innerHTML ; - var index = htmlString.indexOf( marker ) ; - - // Split it the HTML code up, add the code we generated, and put them back together. - var htmlList = [] ; - htmlList.push( htmlString.substr( 0, index ) ) ; - htmlList.push( sHtml ) ; - htmlList.push( htmlString.substr( index + marker.length ) ) ; - htmlString = htmlList.join( "" ) ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - oEditor.FCK.SetInnerHtml( htmlString ) ; - else - oDoc.body.innerHTML = htmlString ; - - range.MoveToBookmark( bookmark ) ; - range.Collapse( false ) ; - range.Select() ; - range.Release() ; - return true ; - } - - oEditor.FCK.InsertHtml( sHtml ) ; - - return true ; -} - -function CleanUpBox() -{ - var oFrame = document.getElementById('frmData') ; - - if ( oFrame.contentDocument ) - oFrame.contentDocument.body.innerHTML = '' ; - else - oFrame.contentWindow.document.body.innerHTML = '' ; -} - - -// This function will be called from the PasteFromWord dialog (fck_paste.html) -// Input: oNode a DOM node that contains the raw paste from the clipboard -// bIgnoreFont, bRemoveStyles booleans according to the values set in the dialog -// Output: the cleaned string -function CleanWord( oNode, bIgnoreFont, bRemoveStyles ) -{ - var html = oNode.innerHTML ; - - html = html.replace(/<o:p>\s*<\/o:p>/g, '') ; - html = html.replace(/<o:p>.*?<\/o:p>/g, '&nbsp;') ; - - // Remove mso-xxx styles. - html = html.replace( /\s*mso-[^:]+:[^;"]+;?/gi, '' ) ; - - // Remove margin styles. - html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*;/gi, '' ) ; - html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*"/gi, "\"" ) ; - - html = html.replace( /\s*TEXT-INDENT: 0cm\s*;/gi, '' ) ; - html = html.replace( /\s*TEXT-INDENT: 0cm\s*"/gi, "\"" ) ; - - html = html.replace( /\s*TEXT-ALIGN: [^\s;]+;?"/gi, "\"" ) ; - - html = html.replace( /\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi, "\"" ) ; - - html = html.replace( /\s*FONT-VARIANT: [^\s;]+;?"/gi, "\"" ) ; - - html = html.replace( /\s*tab-stops:[^;"]*;?/gi, '' ) ; - html = html.replace( /\s*tab-stops:[^"]*/gi, '' ) ; - - // Remove FONT face attributes. - if ( bIgnoreFont ) - { - html = html.replace( /\s*face="[^"]*"/gi, '' ) ; - html = html.replace( /\s*face=[^ >]*/gi, '' ) ; - - html = html.replace( /\s*FONT-FAMILY:[^;"]*;?/gi, '' ) ; - } - - // Remove Class attributes - html = html.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3") ; - - // Remove styles. - if ( bRemoveStyles ) - html = html.replace( /<(\w[^>]*) style="([^\"]*)"([^>]*)/gi, "<$1$3" ) ; - - // Remove empty styles. - html = html.replace( /\s*style="\s*"/gi, '' ) ; - - html = html.replace( /<SPAN\s*[^>]*>\s*&nbsp;\s*<\/SPAN>/gi, '&nbsp;' ) ; - - html = html.replace( /<SPAN\s*[^>]*><\/SPAN>/gi, '' ) ; - - // Remove Lang attributes - html = html.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3") ; - - html = html.replace( /<SPAN\s*>(.*?)<\/SPAN>/gi, '$1' ) ; - - html = html.replace( /<FONT\s*>(.*?)<\/FONT>/gi, '$1' ) ; - - // Remove XML elements and declarations - html = html.replace(/<\\?\?xml[^>]*>/gi, '' ) ; - - // Remove Tags with XML namespace declarations: <o:p><\/o:p> - html = html.replace(/<\/?\w+:[^>]*>/gi, '' ) ; - - // Remove comments [SF BUG-1481861]. - html = html.replace(/<\!--.*?-->/g, '' ) ; - - html = html.replace( /<(U|I|STRIKE)>&nbsp;<\/\1>/g, '&nbsp;' ) ; - - html = html.replace( /<H\d>\s*<\/H\d>/gi, '' ) ; - - // Remove "display:none" tags. - html = html.replace( /<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none(.*?)<\/\1>/ig, '' ) ; - - // Remove language tags - html = html.replace( /<(\w[^>]*) language=([^ |>]*)([^>]*)/gi, "<$1$3") ; - - // Remove onmouseover and onmouseout events (from MS Word comments effect) - html = html.replace( /<(\w[^>]*) onmouseover="([^\"]*)"([^>]*)/gi, "<$1$3") ; - html = html.replace( /<(\w[^>]*) onmouseout="([^\"]*)"([^>]*)/gi, "<$1$3") ; - - if ( FCKConfig.CleanWordKeepsStructure ) - { - // The original <Hn> tag send from Word is something like this: <Hn style="margin-top:0px;margin-bottom:0px"> - html = html.replace( /<H(\d)([^>]*)>/gi, '<h$1>' ) ; - - // Word likes to insert extra <font> tags, when using MSIE. (Wierd). - html = html.replace( /<(H\d)><FONT[^>]*>(.*?)<\/FONT><\/\1>/gi, '<$1>$2<\/$1>' ); - html = html.replace( /<(H\d)><EM>(.*?)<\/EM><\/\1>/gi, '<$1>$2<\/$1>' ); - } - else - { - html = html.replace( /<H1([^>]*)>/gi, '<div$1><b><font size="6">' ) ; - html = html.replace( /<H2([^>]*)>/gi, '<div$1><b><font size="5">' ) ; - html = html.replace( /<H3([^>]*)>/gi, '<div$1><b><font size="4">' ) ; - html = html.replace( /<H4([^>]*)>/gi, '<div$1><b><font size="3">' ) ; - html = html.replace( /<H5([^>]*)>/gi, '<div$1><b><font size="2">' ) ; - html = html.replace( /<H6([^>]*)>/gi, '<div$1><b><font size="1">' ) ; - - html = html.replace( /<\/H\d>/gi, '<\/font><\/b><\/div>' ) ; - - // Transform <P> to <DIV> - var re = new RegExp( '(<P)([^>]*>.*?)(<\/P>)', 'gi' ) ; // Different because of a IE 5.0 error - html = html.replace( re, '<div$2<\/div>' ) ; - - // Remove empty tags (three times, just to be sure). - // This also removes any empty anchor - html = html.replace( /<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g, '' ) ; - html = html.replace( /<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g, '' ) ; - html = html.replace( /<([^\s>]+)(\s[^>]*)?>\s*<\/\1>/g, '' ) ; - } - - return html ; -} - - </script> - -</head> -<body style="overflow: hidden"> - <table cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 98%"> - <tr> - <td> - <div id="xSecurityMsg" style="display: none"> - <span fcklang="DlgPasteSec">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.</span><br /> - &nbsp; - </div> - <div> - <span fcklang="DlgPasteMsg2">Please paste inside the following box using the keyboard - (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.</span><br /> - &nbsp; - </div> - </td> - </tr> - <tr> - <td valign="top" height="100%" style="border-right: #000000 1px solid; border-top: #000000 1px solid; - border-left: #000000 1px solid; border-bottom: #000000 1px solid"> - <textarea id="txtData" cols="80" rows="5" style="border: #000000 1px; display: none; - width: 99%; height: 98%"></textarea> - <iframe id="frmData" src="javascript:void(0)" height="98%" width="99%" frameborder="0" - style="border-right: #000000 1px; border-top: #000000 1px; display: none; border-left: #000000 1px; - border-bottom: #000000 1px; background-color: #ffffff"></iframe> - </td> - </tr> - <tr id="oWordCommands"> - <td> - <table border="0" cellpadding="0" cellspacing="0" width="100%"> - <tr> - <td nowrap="nowrap"> - <input id="chkRemoveFont" type="checkbox" checked="checked" /> - <label for="chkRemoveFont" fcklang="DlgPasteIgnoreFont"> - Ignore Font Face definitions</label> - <br /> - <input id="chkRemoveStyles" type="checkbox" /> - <label for="chkRemoveStyles" fcklang="DlgPasteRemoveStyles"> - Remove Styles definitions</label> - </td> - <td align="right" valign="top"> - <input type="button" fcklang="DlgPasteCleanBox" value="Clean Up Box" onclick="CleanUpBox()" /> - </td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_radiobutton.html b/editor/editor/dialog/fck_radiobutton.html @@ -1,110 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Radio Button dialog window. ---> -<html> - <head> - <title>Radio Button Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oActiveEl && oActiveEl.tagName.toUpperCase() == 'INPUT' && oActiveEl.type == 'radio' ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtValue').value = oEditor.FCKBrowserInfo.IsIE ? oActiveEl.value : GetAttribute( oActiveEl, 'value' ) ; - GetE('txtSelected').checked = oActiveEl.checked ; - } - else - oActiveEl = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - oEditor.FCKUndo.SaveUndoStep() ; - - if ( !oActiveEl ) - { - oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' ) ; - oActiveEl.type = 'radio' ; - oActiveEl = oEditor.FCK.InsertElement( oActiveEl ) ; - } - - if ( GetE('txtName').value.length > 0 ) - oActiveEl.name = GetE('txtName').value ; - - if ( oEditor.FCKBrowserInfo.IsIE ) - oActiveEl.value = GetE('txtValue').value ; - else - SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ; - - var bIsChecked = GetE('txtSelected').checked ; - SetAttribute( oActiveEl, 'checked', bIsChecked ? 'checked' : null ) ; // For Firefox - oActiveEl.checked = bIsChecked ; - - return true ; -} - - </script> - </head> - <body style="OVERFLOW: hidden" scroll="no"> - <table height="100%" width="100%"> - <tr> - <td align="center"> - <table border="0" cellpadding="0" cellspacing="0" width="80%"> - <tr> - <td> - <span fckLang="DlgCheckboxName">Name</span><br> - <input type="text" size="20" id="txtName" style="WIDTH: 100%"> - </td> - </tr> - <tr> - <td> - <span fckLang="DlgCheckboxValue">Value</span><br> - <input type="text" size="20" id="txtValue" style="WIDTH: 100%"> - </td> - </tr> - <tr> - <td><input type="checkbox" id="txtSelected"><label for="txtSelected" fckLang="DlgCheckboxSelected">Checked</label></td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_replace.html b/editor/editor/dialog/fck_replace.html @@ -1,490 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * "Find" and "Replace" dialog box window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta content="noindex, nofollow" name="robots" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCKLang = oEditor.FCKLang ; - -window.parent.AddTab( 'Find', FCKLang.DlgFindTitle ) ; -window.parent.AddTab( 'Replace', FCKLang.DlgReplaceTitle ) ; -var idMap = {} ; - -function OnDialogTabChange( tabCode ) -{ - ShowE( 'divFind', ( tabCode == 'Find' ) ) ; - ShowE( 'divReplace', ( tabCode == 'Replace' ) ) ; - idMap['FindText'] = 'txtFind' + tabCode ; - idMap['CheckCase'] = 'chkCase' + tabCode ; - idMap['CheckWord'] = 'chkWord' + tabCode ; - - if ( tabCode == 'Replace' ) - window.parent.SetAutoSize( true ) ; -} - -function OnLoad() -{ - // First of all, translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage( document ) ; - - // Place the cursor at the start of document. - // This will be the starting point of our search. - var range = new oEditor.FCKDomRange( oEditor.FCK.EditorWindow ) ; - range.SetStart( oEditor.FCK.EditorDocument.body, 1 ) ; - range.SetEnd( oEditor.FCK.EditorDocument.body, 1 ) ; - range.Collapse( true ) ; - range.Select() ; - - // Show the appropriate tab at startup. - if ( window.parent.name.search( 'Replace' ) == -1 ) - { - window.parent.SetSelectedTab( 'Find' ) ; - window.parent.SetAutoSize( true ) ; - } - else - window.parent.SetSelectedTab( 'Replace' ) ; - -} - -function btnStat(frm) -{ - document.getElementById('btnReplace').disabled = - document.getElementById('btnReplaceAll').disabled = - document.getElementById('btnFind').disabled = - ( document.getElementById(idMap["FindText"]).value.length == 0 ) ; -} - -function GetSelection() -{ - var range = new oEditor.FCKDomRange( oEditor.FCK.EditorWindow ) ; - range.MoveToSelection() ; - return range.CreateBookmark2() ; -} - -function GetSearchString() -{ - return document.getElementById(idMap['FindText']).value ; -} - -function GetReplaceString() -{ - return document.getElementById("txtReplace").value ; -} - -function GetCheckCase() -{ - return !! ( document.getElementById(idMap['CheckCase']).checked ) ; -} - -function GetMatchWord() -{ - return !! ( document.getElementById(idMap['CheckWord']).checked ) ; -} - -// Get the data pointed to by a bookmark. -function GetData( bookmark ) -{ - var cursor = oEditor.FCK.EditorDocument.documentElement ; - for ( var i = 0 ; i < bookmark.length ; i++ ) - { - var target = bookmark[i] ; - var currentIndex = -1 ; - if ( cursor.nodeType != 3 ) - { - for (var j = 0 ; j < cursor.childNodes.length ; j++ ) - { - var candidate = cursor.childNodes[j] ; - if ( candidate.nodeType == 3 && - candidate.previousSibling && - candidate.previousSibling.nodeType == 3 ) - continue ; - currentIndex++ ; - if ( currentIndex == target ) - { - cursor = candidate ; - break ; - } - } - if ( currentIndex < target ) - return null ; - } - else - { - if ( i != bookmark.length - 1 ) - return null ; - while ( target >= cursor.length && cursor.nextSibling && cursor.nextSibling.nodeType == 3 ) - { - target -= cursor.length ; - cursor = cursor.nextSibling ; - } - cursor = cursor.nodeValue.charAt( target ) ; - if ( cursor == "" ) - cursor = null ; - } - } - return cursor ; -} - -// With this function, we can treat the bookmark as an iterator for DFS. -function NextPosition( bookmark ) -{ - // See if there's anything further down the tree. - var next = bookmark.concat( [0] ) ; - if ( GetData( next ) != null ) - return next ; - - // Nothing down there? See if there's anything next to me. - var next = bookmark.slice( 0, bookmark.length - 1 ).concat( [ bookmark[ bookmark.length - 1 ] + 1 ] ) ; - if ( GetData( next ) != null ) - return next ; - - // Nothing even next to me? See if there's anything next to my ancestors. - for ( var i = bookmark.length - 1 ; i > 0 ; i-- ) - { - var next = bookmark.slice( 0, i - 1 ).concat( [ bookmark[ i - 1 ] + 1 ] ) ; - if ( GetData( next ) != null ) - return next ; - } - - // There's absolutely nothing left to walk, return null. - return null ; -} - -// Is this character a unicode whitespace? -// Reference: http://unicode.org/Public/UNIDATA/PropList.txt -function CheckIsWhitespace( c ) -{ - var code = c.charCodeAt( 0 ); - if ( code >= 9 && code <= 0xd ) - return true; - if ( code >= 0x2000 && code <= 0x200a ) - return true; - switch ( code ) - { - case 0x20: - case 0x85: - case 0xa0: - case 0x1680: - case 0x180e: - case 0x2028: - case 0x2029: - case 0x202f: - case 0x205f: - case 0x3000: - return true; - default: - return false; - } -} - -// Knuth-Morris-Pratt Algorithm for stream input -KMP_NOMATCH = 0 ; -KMP_ADVANCED = 1 ; -KMP_MATCHED = 2 ; -function KmpMatch( pattern, ignoreCase ) -{ - var overlap = [ -1 ] ; - 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 ; - this._State = 0 ; - this._IgnoreCase = ( ignoreCase === true ) ; - if ( ignoreCase ) - this.Pattern = pattern.toLowerCase(); - else - this.Pattern = pattern ; -} -KmpMatch.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 ) - { - // found a match, start over, don't care about partial matches involving the current match - this._State = 0; - return KMP_MATCHED; - } - return KMP_ADVANCED; - } - else if ( this._State == 0 ) - return KMP_NOMATCH; - else - this._State = this._Overlap[ this._State ]; - } - - return null ; - }, - "Reset" : function() - { - this._State = 0 ; - } -}; - -function _Find() -{ - // Start from the end of the current selection. - var matcher = new KmpMatch( GetSearchString(), ! GetCheckCase() ) ; - var cursor = GetSelection().End ; - var matchState = KMP_NOMATCH ; - var matchBookmark = null ; - - // Match finding. - while ( true ) - { - // Perform KMP stream matching. - // - Reset KMP matcher if we encountered a block element. - var data = GetData( cursor ) ; - if ( data ) - { - if ( data.tagName ) - { - if ( oEditor.FCKListsLib.BlockElements[ data.tagName.toLowerCase() ] ) - { - matcher.Reset(); - matchBookmark = null ; - } - } - else if ( data.charAt != undefined ) - { - matchState = matcher.FeedCharacter(data) ; - - if ( matchState == KMP_NOMATCH ) - matchBookmark = null ; - else if ( matchState == KMP_ADVANCED && matchBookmark == null ) - matchBookmark = { Start : cursor.concat( [] ) } ; - else if ( matchState == KMP_MATCHED ) - { - if ( matchBookmark == null ) - matchBookmark = { Start : cursor.concat( [] ) } ; - matchBookmark.End = cursor.concat( [] ) ; - matchBookmark.End[ matchBookmark.End.length - 1 ]++; - - // Wait, do we have to match a whole word? - if ( GetMatchWord() ) - { - var startOk = false ; - var endOk = false ; - var start = matchBookmark.Start ; - var end = matchBookmark.End ; - if ( start[ start.length - 1 ] == 0 ) - startOk = true ; - else - { - var cursorBeforeStart = start.slice( 0, start.length - 1 ) ; - cursorBeforeStart.push( start[ start.length - 1 ] - 1 ) ; - var dataBeforeStart = GetData( cursorBeforeStart ) ; - if ( dataBeforeStart == null || dataBeforeStart.charAt == undefined ) - startOk = true ; - else if ( CheckIsWhitespace( dataBeforeStart ) ) - startOk = true ; - } - - // this is already one character beyond the last char, no need to move - var cursorAfterEnd = end ; - var dataAfterEnd = GetData( cursorAfterEnd ); - if ( dataAfterEnd == null || dataAfterEnd.charAt == undefined ) - endOk = true ; - else if ( CheckIsWhitespace( dataAfterEnd ) ) - endOk = true ; - - if ( startOk && endOk ) - break ; - else - matcher.Reset() ; - } - else - break ; - } - } - } - - // Perform DFS across the document, until we've reached the end. - cursor = NextPosition( cursor ) ; - if ( cursor == null ) - break; - } - - // If we've found a match, select the match. - if ( matchState == KMP_MATCHED ) - { - var range = new oEditor.FCKDomRange( oEditor.FCK.EditorWindow ) ; - range.MoveToBookmark2( matchBookmark ) ; - range.Select() ; - var focus = range._Range.endContainer ; - while ( focus && focus.nodeType != 1 ) - focus = focus.parentNode ; - - if ( focus ) - { - if ( oEditor.FCKBrowserInfo.IsSafari ) - oEditor.FCKDomTools.ScrollIntoView( focus, false ) ; - else - focus.scrollIntoView( false ) ; - } - - return true; - } - else - return false; -} - -function Find() -{ - var range = new oEditor.FCKDomRange( oEditor.FCK.EditorWindow ) ; - range.MoveToSelection() ; - range.Collapse( false ) ; - range.Select() ; - - if ( ! _Find() ) - alert( FCKLang.DlgFindNotFoundMsg ) ; -} - -function Replace() -{ - var selection = new oEditor.FCKDomRange( oEditor.FCK.EditorWindow ) ; - selection.MoveToSelection() ; - - if ( selection.CheckIsCollapsed() ) - { - if (! _Find() ) - alert( FCKLang.DlgFindNotFoundMsg ) ; - } - else - { - oEditor.FCKUndo.SaveUndoStep() ; - selection.DeleteContents() ; - selection.InsertNode( oEditor.FCK.EditorDocument.createTextNode( GetReplaceString() ) ) ; - selection.Collapse( false ) ; - selection.Select() ; - } -} - -function ReplaceAll() -{ - oEditor.FCKUndo.SaveUndoStep() ; - var range = new oEditor.FCKDomRange( oEditor.FCK.EditorWindow ) ; - - var replaceCount = 0 ; - - while ( _Find() ) - { - range.MoveToSelection() ; - range.DeleteContents() ; - range.InsertNode( oEditor.FCK.EditorDocument.createTextNode( GetReplaceString() ) ) ; - range.Collapse( false ) ; - range.Select() ; - replaceCount++ ; - } - if ( replaceCount == 0 ) - alert( FCKLang.DlgFindNotFoundMsg ) ; - window.parent.Cancel() ; -} - </script> -</head> -<body onload="OnLoad()" style="overflow: hidden"> - <div id="divFind" style="display: none"> - <table cellspacing="3" cellpadding="2" width="100%" border="0"> - <tr> - <td nowrap="nowrap"> - <label for="txtFindFind" fcklang="DlgReplaceFindLbl"> - Find what:</label> - </td> - <td width="100%"> - <input id="txtFindFind" onkeyup="btnStat(this.form)" style="width: 100%" tabindex="1" - type="text" /> - </td> - <td> - <input id="btnFind" style="width: 80px" disabled="disabled" onclick="Find();" - type="button" value="Find" fcklang="DlgFindFindBtn" /> - </td> - </tr> - <tr> - <td valign="bottom" colspan="3"> - &nbsp;<input id="chkCaseFind" tabindex="3" type="checkbox" /><label for="chkCaseFind" fcklang="DlgReplaceCaseChk">Match - case</label> - <br /> - &nbsp;<input id="chkWordFind" tabindex="4" type="checkbox" /><label for="chkWordFind" fcklang="DlgReplaceWordChk">Match - whole word</label> - </td> - </tr> - </table> - </div> - <div id="divReplace" style="display:none"> - <table cellspacing="3" cellpadding="2" width="100%" border="0"> - <tr> - <td nowrap="nowrap"> - <label for="txtFindReplace" fcklang="DlgReplaceFindLbl"> - Find what:</label> - </td> - <td width="100%"> - <input id="txtFindReplace" onkeyup="btnStat(this.form)" style="width: 100%" tabindex="1" - type="text" /> - </td> - <td> - <input id="btnReplace" style="width: 80px" disabled="disabled" onclick="Replace();" - type="button" value="Replace" fcklang="DlgReplaceReplaceBtn" /> - </td> - </tr> - <tr> - <td valign="top" nowrap="nowrap"> - <label for="txtReplace" fcklang="DlgReplaceReplaceLbl"> - Replace with:</label> - </td> - <td valign="top"> - <input id="txtReplace" style="width: 100%" tabindex="2" type="text" /> - </td> - <td> - <input id="btnReplaceAll" style="width: 80px" disabled="disabled" onclick="ReplaceAll()" type="button" - value="Replace All" fcklang="DlgReplaceReplAllBtn" /> - </td> - </tr> - <tr> - <td valign="bottom" colspan="3"> - &nbsp;<input id="chkCaseReplace" tabindex="3" type="checkbox" /><label for="chkCaseReplace" fcklang="DlgReplaceCaseChk">Match - case</label> - <br /> - &nbsp;<input id="chkWordReplace" tabindex="4" type="checkbox" /><label for="chkWordReplace" fcklang="DlgReplaceWordChk">Match - whole word</label> - </td> - </tr> - </table> - </div> -</body> -</html> diff --git a/editor/editor/dialog/fck_select.html b/editor/editor/dialog/fck_select.html @@ -1,178 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Select dialog window. ---> -<html> - <head> - <title>Select Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript" src="fck_select/fck_select.js"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ; - -var oListText ; -var oListValue ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - oListText = document.getElementById( 'cmbText' ) ; - oListValue = document.getElementById( 'cmbValue' ) ; - - if ( oActiveEl && oActiveEl.tagName == 'SELECT' ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtSelValue').value = oActiveEl.value ; - GetE('txtLines').value = GetAttribute( oActiveEl, 'size' ) ; - GetE('chkMultiple').checked = oActiveEl.multiple ; - - // Load the actual options - for ( var i = 0 ; i < oActiveEl.options.length ; i++ ) - { - var sText = HTMLDecode( oActiveEl.options[i].innerHTML ) ; - var sValue = oActiveEl.options[i].value ; - - AddComboOption( oListText, sText, sText ) ; - AddComboOption( oListValue, sValue, sValue ) ; - } - } - else - oActiveEl = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - oEditor.FCKUndo.SaveUndoStep() ; - - var sSize = GetE('txtLines').value ; - if ( sSize == null || isNaN( sSize ) || sSize <= 1 ) - sSize = '' ; - - if ( !oActiveEl ) - { - oActiveEl = oEditor.FCK.InsertElement( 'select' ) ; - } - - SetAttribute( oActiveEl, 'name' , GetE('txtName').value ) ; - SetAttribute( oActiveEl, 'size' , sSize ) ; - oActiveEl.multiple = ( sSize.length > 0 && GetE('chkMultiple').checked ) ; - - // Remove all options. - while ( oActiveEl.options.length > 0 ) - oActiveEl.remove(0) ; - - // Add all available options. - for ( var i = 0 ; i < oListText.options.length ; i++ ) - { - var sText = oListText.options[i].value ; - var sValue = oListValue.options[i].value ; - if ( sValue.length == 0 ) sValue = sText ; - - var oOption = AddComboOption( oActiveEl, sText, sValue, oDOM ) ; - - if ( sValue == GetE('txtSelValue').value ) - { - SetAttribute( oOption, 'selected', 'selected' ) ; - oOption.selected = true ; - } - } - - return true ; -} - - </script> - </head> - <body style="overflow: hidden"> - <table width="100%" height="100%"> - <tr> - <td> - <table width="100%"> - <tr> - <td nowrap><span fckLang="DlgSelectName">Name</span>&nbsp;</td> - <td width="100%" colSpan="2"><input id="txtName" style="WIDTH: 100%" type="text"></td> - </tr> - <tr> - <td nowrap><span fckLang="DlgSelectValue">Value</span>&nbsp;</td> - <td width="100%" colSpan="2"><input id="txtSelValue" style="WIDTH: 100%; BACKGROUND-COLOR: buttonface" type="text" readonly></td> - </tr> - <tr> - <td nowrap><span fckLang="DlgSelectSize">Size</span>&nbsp;</td> - <td nowrap><input id="txtLines" type="text" size="2" value="">&nbsp;<span fckLang="DlgSelectLines">lines</span></td> - <td nowrap align="right"><input id="chkMultiple" name="chkMultiple" type="checkbox"><label for="chkMultiple" fckLang="DlgSelectChkMulti">Allow - multiple selections</label></td> - </tr> - </table> - <br> - <hr style="POSITION: absolute"> - <span style="LEFT: 10px; POSITION: relative; TOP: -7px" class="BackColor">&nbsp;<span fckLang="DlgSelectOpAvail">Available - Options</span>&nbsp;</span> - <table width="100%"> - <tr> - <td width="50%"><span fckLang="DlgSelectOpText">Text</span><br> - <input id="txtText" style="WIDTH: 100%" type="text" name="txtText"> - </td> - <td width="50%"><span fckLang="DlgSelectOpValue">Value</span><br> - <input id="txtValue" style="WIDTH: 100%" type="text" name="txtValue"> - </td> - <td vAlign="bottom"><input onclick="Add();" type="button" fckLang="DlgSelectBtnAdd" value="Add"></td> - <td vAlign="bottom"><input onclick="Modify();" type="button" fckLang="DlgSelectBtnModify" value="Modify"></td> - </tr> - <tr> - <td rowSpan="2"><select id="cmbText" style="WIDTH: 100%" onchange="GetE('cmbValue').selectedIndex = this.selectedIndex;Select(this);" - size="5" name="cmbText"></select> - </td> - <td rowSpan="2"><select id="cmbValue" style="WIDTH: 100%" onchange="GetE('cmbText').selectedIndex = this.selectedIndex;Select(this);" - size="5" name="cmbValue"></select> - </td> - <td vAlign="top" colSpan="2"> - </td> - </tr> - <tr> - <td vAlign="bottom" colSpan="2"><input style="WIDTH: 100%" onclick="Move(-1);" type="button" fckLang="DlgSelectBtnUp" value="Up"> - <br> - <input style="WIDTH: 100%" onclick="Move(1);" type="button" fckLang="DlgSelectBtnDown" - value="Down"> - </td> - </tr> - <TR> - <TD vAlign="bottom" colSpan="4"><INPUT onclick="SetSelectedValue();" type="button" fckLang="DlgSelectBtnSetValue" value="Set as selected value">&nbsp;&nbsp; - <input onclick="Delete();" type="button" fckLang="DlgSelectBtnDelete" value="Delete"></TD> - </TR> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_select/fck_select.js b/editor/editor/dialog/fck_select/fck_select.js @@ -1,194 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Scripts for the fck_select.html page. - */ - -function Select( combo ) -{ - var iIndex = combo.selectedIndex ; - - oListText.selectedIndex = iIndex ; - oListValue.selectedIndex = iIndex ; - - var oTxtText = document.getElementById( "txtText" ) ; - var oTxtValue = document.getElementById( "txtValue" ) ; - - oTxtText.value = oListText.value ; - oTxtValue.value = oListValue.value ; -} - -function Add() -{ - var oTxtText = document.getElementById( "txtText" ) ; - var oTxtValue = document.getElementById( "txtValue" ) ; - - AddComboOption( oListText, oTxtText.value, oTxtText.value ) ; - AddComboOption( oListValue, oTxtValue.value, oTxtValue.value ) ; - - oListText.selectedIndex = oListText.options.length - 1 ; - oListValue.selectedIndex = oListValue.options.length - 1 ; - - oTxtText.value = '' ; - oTxtValue.value = '' ; - - oTxtText.focus() ; -} - -function Modify() -{ - var iIndex = oListText.selectedIndex ; - - if ( iIndex < 0 ) return ; - - var oTxtText = document.getElementById( "txtText" ) ; - var oTxtValue = document.getElementById( "txtValue" ) ; - - oListText.options[ iIndex ].innerHTML = HTMLEncode( oTxtText.value ) ; - oListText.options[ iIndex ].value = oTxtText.value ; - - oListValue.options[ iIndex ].innerHTML = HTMLEncode( oTxtValue.value ) ; - oListValue.options[ iIndex ].value = oTxtValue.value ; - - oTxtText.value = '' ; - oTxtValue.value = '' ; - - oTxtText.focus() ; -} - -function Move( steps ) -{ - ChangeOptionPosition( oListText, steps ) ; - ChangeOptionPosition( oListValue, steps ) ; -} - -function Delete() -{ - RemoveSelectedOptions( oListText ) ; - RemoveSelectedOptions( oListValue ) ; -} - -function SetSelectedValue() -{ - var iIndex = oListValue.selectedIndex ; - if ( iIndex < 0 ) return ; - - var oTxtValue = document.getElementById( "txtSelValue" ) ; - - oTxtValue.value = oListValue.options[ iIndex ].value ; -} - -// Moves the selected option by a number of steps (also negative) -function ChangeOptionPosition( combo, steps ) -{ - var iActualIndex = combo.selectedIndex ; - - if ( iActualIndex < 0 ) - return ; - - var iFinalIndex = iActualIndex + steps ; - - if ( iFinalIndex < 0 ) - iFinalIndex = 0 ; - - if ( iFinalIndex > ( combo.options.length - 1 ) ) - iFinalIndex = combo.options.length - 1 ; - - if ( iActualIndex == iFinalIndex ) - return ; - - var oOption = combo.options[ iActualIndex ] ; - var sText = HTMLDecode( oOption.innerHTML ) ; - var sValue = oOption.value ; - - combo.remove( iActualIndex ) ; - - oOption = AddComboOption( combo, sText, sValue, null, iFinalIndex ) ; - - oOption.selected = true ; -} - -// Remove all selected options from a SELECT object -function RemoveSelectedOptions(combo) -{ - // Save the selected index - var iSelectedIndex = combo.selectedIndex ; - - var oOptions = combo.options ; - - // Remove all selected options - for ( var i = oOptions.length - 1 ; i >= 0 ; i-- ) - { - if (oOptions[i].selected) combo.remove(i) ; - } - - // Reset the selection based on the original selected index - if ( combo.options.length > 0 ) - { - if ( iSelectedIndex >= combo.options.length ) iSelectedIndex = combo.options.length - 1 ; - combo.selectedIndex = iSelectedIndex ; - } -} - -// Add a new option to a SELECT object (combo or list) -function AddComboOption( combo, optionText, optionValue, documentObject, index ) -{ - var oOption ; - - if ( documentObject ) - oOption = documentObject.createElement("OPTION") ; - else - oOption = document.createElement("OPTION") ; - - if ( index != null ) - combo.options.add( oOption, index ) ; - else - combo.options.add( oOption ) ; - - oOption.innerHTML = optionText.length > 0 ? HTMLEncode( optionText ) : '&nbsp;' ; - oOption.value = optionValue ; - - return oOption ; -} - -function HTMLEncode( text ) -{ - if ( !text ) - return '' ; - - text = text.replace( /&/g, '&amp;' ) ; - text = text.replace( /</g, '&lt;' ) ; - text = text.replace( />/g, '&gt;' ) ; - - return text ; -} - - -function HTMLDecode( text ) -{ - if ( !text ) - return '' ; - - text = text.replace( /&gt;/g, '>' ) ; - text = text.replace( /&lt;/g, '<' ) ; - text = text.replace( /&amp;/g, '&' ) ; - - return text ; -}- \ No newline at end of file diff --git a/editor/editor/dialog/fck_smiley.html b/editor/editor/dialog/fck_smiley.html @@ -1,108 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Smileys (emoticons) dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <style type="text/css"> - .Hand - { - cursor: pointer; - cursor: hand; - } - </style> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -window.onload = function () -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - window.parent.SetAutoSize( true ) ; -} - -function InsertSmiley( url ) -{ - oEditor.FCKUndo.SaveUndoStep() ; - var oImg = oEditor.FCK.InsertElement( 'img' ) ; - oImg.src = url ; - oImg.setAttribute( '_fcksavedurl', url ) ; - - // For long smileys list, it seams that IE continues loading the images in - // the background when you quickly select one image. so, let's clear - // everything before closing. - document.body.innerHTML = '' ; - - window.parent.Cancel() ; -} - -function over(td) -{ - td.className = 'LightBackground Hand' ; -} - -function out(td) -{ - td.className = 'DarkBackground Hand' ; -} - </script> -</head> -<body style="overflow: hidden"> - <table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%"> - <script type="text/javascript"> - -var FCKConfig = oEditor.FCKConfig ; - -var sBasePath = FCKConfig.SmileyPath ; -var aImages = FCKConfig.SmileyImages ; -var iCols = FCKConfig.SmileyColumns ; -var iColWidth = parseInt( 100 / iCols, 10 ) ; - -var i = 0 ; -while (i < aImages.length) -{ - document.write( '<tr>' ) ; - for(var j = 0 ; j < iCols ; j++) - { - if (aImages[i]) - { - var sUrl = sBasePath + aImages[i] ; - document.write( '<td width="' + iColWidth + '%" align="center" class="DarkBackground Hand" onclick="InsertSmiley(\'' + sUrl.replace(/'/g, "\\'" ) + '\')" onmouseover="over(this)" onmouseout="out(this)">' ) ; - document.write( '<img src="' + sUrl + '" border="0" />' ) ; - } - else - document.write( '<td width="' + iColWidth + '%" class="DarkBackground">&nbsp;' ) ; - document.write( '<\/td>' ) ; - i++ ; - } - document.write('<\/tr>') ; -} - - </script> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_source.html b/editor/editor/dialog/fck_source.html @@ -1,65 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Source editor dialog window. ---> -<html> - <head> - <title>Source</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta name="robots" content="noindex, nofollow"> - <link href="common/fck_dialog_common.css" rel="stylesheet" type="text/css" /> - <script language="javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKConfig = oEditor.FCKConfig ; - -window.onload = function() -{ - // EnableXHTML and EnableSourceXHTML has been deprecated -// document.getElementById('txtSource').value = ( FCKConfig.EnableXHTML && FCKConfig.EnableSourceXHTML ? FCK.GetXHTML( FCKConfig.FormatSource ) : FCK.GetHTML( FCKConfig.FormatSource ) ) ; - document.getElementById('txtSource').value = FCK.GetXHTML( FCKConfig.FormatSource ) ; - - // Activate the "OK" button. - window.parent.SetOkButton( true ) ; -} - -//#### The OK button was hit. -function Ok() -{ - if ( oEditor.FCKBrowserInfo.IsIE ) - oEditor.FCKUndo.SaveUndoStep() ; - - FCK.SetData( document.getElementById('txtSource').value, false ) ; - - return true ; -} - </script> - </head> - <body scroll="no" style="OVERFLOW: hidden"> - <table width="100%" height="100%"> - <tr> - <td height="100%"><textarea id="txtSource" dir="ltr" style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; FONT-SIZE: 14px; PADDING-BOTTOM: 5px; WIDTH: 100%; PADDING-TOP: 5px; FONT-FAMILY: Monospace; HEIGHT: 100%">Loading. Please wait...</textarea></td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_specialchar.html b/editor/editor/dialog/fck_specialchar.html @@ -1,120 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Special Chars Selector dialog window. ---> -<html> - <head> - <meta name="robots" content="noindex, nofollow"> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <style type="text/css"> - .Hand - { - cursor: pointer ; - cursor: hand ; - } - .Sample { font-size: 24px; } - </style> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -var oSample ; - -function insertChar(charValue) -{ - oEditor.FCKUndo.SaveUndoStep() ; - oEditor.FCK.InsertHtml( charValue || "" ) ; - window.parent.Cancel() ; -} - -function over(td) -{ - if ( ! oSample ) - return ; - oSample.innerHTML = td.innerHTML ; - td.className = 'LightBackground SpecialCharsOver Hand' ; -} - -function out(td) -{ - if ( ! oSample ) - return ; - oSample.innerHTML = "&nbsp;" ; - td.className = 'DarkBackground SpecialCharsOut Hand' ; -} - -function setDefaults() -{ - // Gets the sample placeholder. - oSample = document.getElementById("SampleTD") ; - - // First of all, translates the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - window.parent.SetAutoSize( true ) ; -} - - </script> - </head> - <body onload="setDefaults()" style="overflow: hidden"> - <table cellpadding="0" cellspacing="0" width="100%" height="100%"> - <tr> - <td width="100%"> - <table cellpadding="1" cellspacing="1" align="center" border="0" width="100%" height="100%"> - <script type="text/javascript"> -var aChars = ["!","&quot;","#","$","%","&amp;","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","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;","&lsquo;","&rsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&not;","&reg;","&macr;","&deg;","&plusmn;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&raquo;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&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;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"] ; - -var cols = 20 ; - -var i = 0 ; -while (i < aChars.length) -{ - document.write("<TR>") ; - for(var j = 0 ; j < cols ; j++) - { - if (aChars[i]) - { - document.write('<TD width="1%" class="DarkBackground SpecialCharsOut Hand" align="center" onclick="insertChar(\'' + aChars[i].replace(/&/g, "&amp;") + '\')" onmouseover="over(this)" onmouseout="out(this)">') ; - document.write(aChars[i]) ; - } - else - document.write("<TD class='DarkBackground SpecialCharsOut'>&nbsp;") ; - document.write("<\/TD>") ; - i++ ; - } - document.write("<\/TR>") ; -} - </script> - </table> - </td> - <td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td> - <td valign="top"> - <table width="40" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td id="SampleTD" width="40" height="40" align="center" class="DarkBackground SpecialCharsOut Sample">&nbsp;</td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_spellerpages.html b/editor/editor/dialog/fck_spellerpages.html @@ -1,64 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Spell Check dialog window. ---> -<html> - <head> - <title>Spell Check</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script src="fck_spellerpages/spellerpages/spellChecker.js"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCKLang = oEditor.FCKLang ; - -window.onload = function() -{ - document.getElementById('txtHtml').value = oEditor.FCK.EditorDocument.body.innerHTML ; - - var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ; - oSpeller.spellCheckScript = oEditor.FCKConfig.SpellerPagesServerScript || 'server-scripts/spellchecker.php' ; - oSpeller.OnFinished = oSpeller_OnFinished ; - oSpeller.openChecker() ; -} - -function OnSpellerControlsLoad( controlsWindow ) -{ - // Translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage( controlsWindow.document ) ; -} - -function oSpeller_OnFinished( numberOCorrections ) -{ - if ( numberOCorrections > 0 ) - oEditor.FCK.SetData( document.getElementById('txtHtml').value ) ; - window.parent.Cancel() ; -} - - </script> - </head> - <body style="OVERFLOW: hidden" scroll="no" style="padding:0px;"> - <input type="hidden" id="txtHtml" value=""> - <iframe id="frmSpell" src="javascript:void(0)" name="spellchecker" width="100%" height="100%" frameborder="0"></iframe> - </body> -</html> diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/blank.html b/editor/editor/dialog/fck_spellerpages/spellerpages/blank.html diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js b/editor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js @@ -1,87 +0,0 @@ -//////////////////////////////////////////////////// -// controlWindow object -//////////////////////////////////////////////////// -function controlWindow( controlForm ) { - // private properties - this._form = controlForm; - - // public properties - this.windowType = "controlWindow"; -// this.noSuggestionSelection = "- No suggestions -"; // by FredCK - this.noSuggestionSelection = FCKLang.DlgSpellNoSuggestions ; - // set up the properties for elements of the given control form - this.suggestionList = this._form.sugg; - this.evaluatedText = this._form.misword; - this.replacementText = this._form.txtsugg; - this.undoButton = this._form.btnUndo; - - // public methods - this.addSuggestion = addSuggestion; - this.clearSuggestions = clearSuggestions; - this.selectDefaultSuggestion = selectDefaultSuggestion; - this.resetForm = resetForm; - this.setSuggestedText = setSuggestedText; - this.enableUndo = enableUndo; - this.disableUndo = disableUndo; -} - -function resetForm() { - if( this._form ) { - this._form.reset(); - } -} - -function setSuggestedText() { - var slct = this.suggestionList; - var txt = this.replacementText; - var str = ""; - if( (slct.options[0].text) && slct.options[0].text != this.noSuggestionSelection ) { - str = slct.options[slct.selectedIndex].text; - } - txt.value = str; -} - -function selectDefaultSuggestion() { - var slct = this.suggestionList; - var txt = this.replacementText; - if( slct.options.length == 0 ) { - this.addSuggestion( this.noSuggestionSelection ); - } else { - slct.options[0].selected = true; - } - this.setSuggestedText(); -} - -function addSuggestion( sugg_text ) { - var slct = this.suggestionList; - if( sugg_text ) { - var i = slct.options.length; - var newOption = new Option( sugg_text, 'sugg_text'+i ); - slct.options[i] = newOption; - } -} - -function clearSuggestions() { - var slct = this.suggestionList; - for( var j = slct.length - 1; j > -1; j-- ) { - if( slct.options[j] ) { - slct.options[j] = null; - } - } -} - -function enableUndo() { - if( this.undoButton ) { - if( this.undoButton.disabled == true ) { - this.undoButton.disabled = false; - } - } -} - -function disableUndo() { - if( this.undoButton ) { - if( this.undoButton.disabled == false ) { - this.undoButton.disabled = true; - } - } -} diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/controls.html b/editor/editor/dialog/fck_spellerpages/spellerpages/controls.html @@ -1,153 +0,0 @@ -<html> - <head> - <link rel="stylesheet" type="text/css" href="spellerStyle.css" /> - <script type="text/javascript" src="controlWindow.js"></script> - <script type="text/javascript"> -var spellerObject; -var controlWindowObj; - -if( parent.opener ) { - spellerObject = parent.opener.speller; -} - -function ignore_word() { - if( spellerObject ) { - spellerObject.ignoreWord(); - } -} - -function ignore_all() { - if( spellerObject ) { - spellerObject.ignoreAll(); - } -} - -function replace_word() { - if( spellerObject ) { - spellerObject.replaceWord(); - } -} - -function replace_all() { - if( spellerObject ) { - spellerObject.replaceAll(); - } -} - -function end_spell() { - if( spellerObject ) { - spellerObject.terminateSpell(); - } -} - -function undo() { - if( spellerObject ) { - spellerObject.undo(); - } -} - -function suggText() { - if( controlWindowObj ) { - controlWindowObj.setSuggestedText(); - } -} - -var FCKLang = window.parent.parent.FCKLang ; // by FredCK - -function init_spell() { - // By FredCK (fckLang attributes have been added to the HTML source of this page) - window.parent.parent.OnSpellerControlsLoad( this ) ; - - var controlForm = document.spellcheck; - - // create a new controlWindow object - controlWindowObj = new controlWindow( controlForm ); - - // call the init_spell() function in the parent frameset - if( parent.frames.length ) { - parent.init_spell( controlWindowObj ); - } else { - alert( 'This page was loaded outside of a frameset. It might not display properly' ); - } -} - -</script> - </head> - <body class="controlWindowBody" onLoad="init_spell();" style="OVERFLOW: hidden" scroll="no"> <!-- by FredCK --> - <form name="spellcheck"> - <table border="0" cellpadding="0" cellspacing="0" border="0" align="center"> - <tr> - <td colspan="3" class="normalLabel"><span fckLang="DlgSpellNotInDic">Not in dictionary:</span></td> - </tr> - <tr> - <td colspan="3"><input class="readonlyInput" type="text" name="misword" readonly /></td> - </tr> - <tr> - <td colspan="3" height="5"></td> - </tr> - <tr> - <td class="normalLabel"><span fckLang="DlgSpellChangeTo">Change to:</span></td> - </tr> - <tr valign="top"> - <td> - <table border="0" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="normalLabel"> - <input class="textDefault" type="text" name="txtsugg" /> - </td> - </tr> - <tr> - <td> - <select class="suggSlct" name="sugg" size="7" onChange="suggText();" onDblClick="replace_word();"> - <option></option> - </select> - </td> - </tr> - </table> - </td> - <td>&nbsp;&nbsp;</td> - <td> - <table border="0" cellpadding="0" cellspacing="0" border="0"> - <tr> - <td> - <input class="buttonDefault" type="button" fckLang="DlgSpellBtnIgnore" value="Ignore" onClick="ignore_word();"> - </td> - <td>&nbsp;&nbsp;</td> - <td> - <input class="buttonDefault" type="button" fckLang="DlgSpellBtnIgnoreAll" value="Ignore All" onClick="ignore_all();"> - </td> - </tr> - <tr> - <td colspan="3" height="5"></td> - </tr> - <tr> - <td> - <input class="buttonDefault" type="button" fckLang="DlgSpellBtnReplace" value="Replace" onClick="replace_word();"> - </td> - <td>&nbsp;&nbsp;</td> - <td> - <input class="buttonDefault" type="button" fckLang="DlgSpellBtnReplaceAll" value="Replace All" onClick="replace_all();"> - </td> - </tr> - <tr> - <td colspan="3" height="5"></td> - </tr> - <tr> - <td> - <input class="buttonDefault" type="button" name="btnUndo" fckLang="DlgSpellBtnUndo" value="Undo" onClick="undo();" - disabled> - </td> - <td>&nbsp;&nbsp;</td> - <td> - <!-- by FredCK - <input class="buttonDefault" type="button" value="Close" onClick="end_spell();"> - --> - </td> - </tr> - </table> - </td> - </tr> - </table> - </form> - </body> -</html> diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm b/editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm @@ -1,146 +0,0 @@ -<cfsetting enablecfoutputonly="true"> -<!--- -This code uses a CF User Defined Function and should work in CF version 5.0 -and up without alteration. - -Also if you are hosting your site at an ISP, you will have to check with them -to see if the use of <CFEXECUTE> is allowed. In most cases ISP will not allow -the use of that tag for security reasons. Clients would be able to access each -others files in certain cases. ----> - -<!--- The following variables values must reflect your installation. ---> -<cfset aspell_dir = "C:\Program Files\Aspell\bin"> -<cfset lang = "en_US"> -<cfset aspell_opts = "-a --lang=#lang# --encoding=utf-8 -H --rem-sgml-check=alt"> -<cfset tempfile_in = GetTempFile(GetTempDirectory(), "spell_")> -<cfset tempfile_out = GetTempFile(GetTempDirectory(), "spell_")> -<cfset spellercss = "../spellerStyle.css"> -<cfset word_win_src = "../wordWindow.js"> - -<cfset form.checktext = form["textinputs[]"]> - -<!--- make no difference between URL and FORM scopes ---> -<cfparam name="url.checktext" default=""> -<cfparam name="form.checktext" default="#url.checktext#"> - -<!--- Takes care of those pesky smart quotes from MS apps, replaces them with regular quotes ---> -<cfset submitted_text = ReplaceList(form.checktext,"%u201C,%u201D","%22,%22")> - -<!--- submitted_text now is ready for processing ---> - -<!--- use carat on each line to escape possible aspell commands ---> -<cfset text = ""> -<cfset CRLF = Chr(13) & Chr(10)> - -<cfloop list="#submitted_text#" index="field" delimiters=","> - <cfset text = text & "%" & CRLF - & "^A" & CRLF - & "!" & CRLF> - <cfloop list="#URLDecode(field)#" index="line" delimiters="#CRLF#"> - <cfset text = ListAppend(text, "^" & Trim(JSStringFormat(line)), CRLF)> - </cfloop> -</cfloop> - -<!--- create temp file from the submitted text, this will be passed to aspell to be check for misspelled words ---> -<cffile action="write" file="#tempfile_in#" output="#text#" charset="utf-8"> - -<!--- execute aspell in an UTF-8 console and redirect output to a file. UTF-8 encoding is lost if done differently ---> -<cfexecute name="cmd.exe" arguments='/c type "#tempfile_in#" | "#aspell_dir#\aspell.exe" #aspell_opts# > "#tempfile_out#"' timeout="100"/> - -<!--- read output file for further processing ---> -<cffile action="read" file="#tempfile_out#" variable="food" charset="utf-8"> - -<!--- remove temp files ---> -<cffile action="delete" file="#tempfile_in#"> -<cffile action="delete" file="#tempfile_out#"> - -<cfset texts = StructNew()> -<cfset texts.textinputs = ""> -<cfset texts.words = ""> -<cfset texts.abort = ""> - -<!--- Generate Text Inputs ---> -<cfset i = 0> -<cfloop list="#submitted_text#" index="textinput"> - <cfset texts.textinputs = ListAppend(texts.textinputs, 'textinputs[#i#] = decodeURIComponent("#textinput#");', CRLF)> - <cfset i = i + 1> -</cfloop> - -<!--- Generate Words Lists ---> -<cfset word_cnt = 0> -<cfset input_cnt = -1> -<cfloop list="#food#" index="aspell_line" delimiters="#CRLF#"> - <cfset leftChar = Left(aspell_line, 1)> - <cfif leftChar eq "*"> - <cfset input_cnt = input_cnt + 1> - <cfset word_cnt = 0> - <cfset texts.words = ListAppend(texts.words, "words[#input_cnt#] = [];", CRLF)> - <cfset texts.words = ListAppend(texts.words, "suggs[#input_cnt#] = [];", CRLF)> - <cfelse> - <cfif leftChar eq "&" or leftChar eq "##"> - <!--- word that misspelled ---> - <cfset bad_word = Trim(ListGetAt(aspell_line, 2, " "))> - <cfset bad_word = Replace(bad_word, "'", "\'", "ALL")> - <!--- sugestions ---> - <cfset sug_list = Trim(ListRest(aspell_line, ":"))> - <cfset sug_list = ListQualify(Replace(sug_list, "'", "\'", "ALL"), "'")> - <!--- javascript ---> - <cfset texts.words = ListAppend(texts.words, "words[#input_cnt#][#word_cnt#] = '#bad_word#';", CRLF)> - <cfset texts.words = ListAppend(texts.words, "suggs[#input_cnt#][#word_cnt#] = [#sug_list#];", CRLF)> - <cfset word_cnt = word_cnt + 1> - </cfif> - </cfif> -</cfloop> - -<cfif texts.words eq ""> - <cfset texts.abort = "alert('Spell check complete.\n\nNo misspellings found.'); top.window.close();"> -</cfif> - -<cfcontent type="text/html; charset=utf-8"> - -<cfoutput><html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<link rel="stylesheet" type="text/css" href="#spellercss#" /> -<script language="javascript" src="#word_win_src#"></script> -<script language="javascript"> -var suggs = new Array(); -var words = new Array(); -var textinputs = new Array(); -var error; - -#texts.textinputs##CRLF# -#texts.words# -#texts.abort# - -var wordWindowObj = new wordWindow(); -wordWindowObj.originalSpellings = words; -wordWindowObj.suggestions = suggs; -wordWindowObj.textInputs = textinputs; - -function init_spell() { - // check if any error occured during server-side processing - if( error ) { - alert( error ); - } else { - // call the init_spell() function in the parent frameset - if (parent.frames.length) { - parent.init_spell( wordWindowObj ); - } else { - alert('This page was loaded outside of a frameset. It might not display properly'); - } - } -} -</script> - -</head> -<body onLoad="init_spell();"> - -<script type="text/javascript"> -wordWindowObj.writeBody(); -</script> - -</body> -</html></cfoutput> -<cfsetting enablecfoutputonly="false"> diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php b/editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php @@ -1,196 +0,0 @@ -<?php -header('Content-type: text/html; charset=utf-8'); - -// The following variables values must reflect your installation needs. - -$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows) -//$aspell_prog = 'aspell'; // by FredCK (for Linux) - -$lang = 'en_US'; -$aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; // by FredCK - -$tempfiledir = "./"; - -$spellercss = '../spellerStyle.css'; // by FredCK -$word_win_src = '../wordWindow.js'; // by FredCK - -$textinputs = $_POST['textinputs']; # array -$input_separator = "A"; - -# set the JavaScript variable to the submitted text. -# textinputs is an array, each element corresponding to the (url-encoded) -# value of the text control submitted for spell-checking -function print_textinputs_var() { - global $textinputs; - foreach( $textinputs as $key=>$val ) { - # $val = str_replace( "'", "%27", $val ); - echo "textinputs[$key] = decodeURIComponent(\"" . $val . "\");\n"; - } -} - -# make declarations for the text input index -function print_textindex_decl( $text_input_idx ) { - echo "words[$text_input_idx] = [];\n"; - echo "suggs[$text_input_idx] = [];\n"; -} - -# set an element of the JavaScript 'words' array to a misspelled word -function print_words_elem( $word, $index, $text_input_idx ) { - echo "words[$text_input_idx][$index] = '" . escape_quote( $word ) . "';\n"; -} - - -# set an element of the JavaScript 'suggs' array to a list of suggestions -function print_suggs_elem( $suggs, $index, $text_input_idx ) { - echo "suggs[$text_input_idx][$index] = ["; - foreach( $suggs as $key=>$val ) { - if( $val ) { - echo "'" . escape_quote( $val ) . "'"; - if ( $key+1 < count( $suggs )) { - echo ", "; - } - } - } - echo "];\n"; -} - -# escape single quote -function escape_quote( $str ) { - return preg_replace ( "/'/", "\\'", $str ); -} - - -# handle a server-side error. -function error_handler( $err ) { - echo "error = '" . escape_quote( $err ) . "';\n"; -} - -## get the list of misspelled words. Put the results in the javascript words array -## for each misspelled word, get suggestions and put in the javascript suggs array -function print_checker_results() { - - global $aspell_prog; - global $aspell_opts; - global $tempfiledir; - global $textinputs; - global $input_separator; - $aspell_err = ""; - # create temp file - $tempfile = tempnam( $tempfiledir, 'aspell_data_' ); - - # open temp file, add the submitted text. - if( $fh = fopen( $tempfile, 'w' )) { - for( $i = 0; $i < count( $textinputs ); $i++ ) { - $text = urldecode( $textinputs[$i] ); - $lines = explode( "\n", $text ); - fwrite ( $fh, "%\n" ); # exit terse mode - fwrite ( $fh, "^$input_separator\n" ); - fwrite ( $fh, "!\n" ); # enter terse mode - foreach( $lines as $key=>$value ) { - # use carat on each line to escape possible aspell commands - fwrite( $fh, "^$value\n" ); - } - } - fclose( $fh ); - - # exec aspell command - redirect STDERR to STDOUT - $cmd = "$aspell_prog $aspell_opts < $tempfile 2>&1"; - if( $aspellret = shell_exec( $cmd )) { - $linesout = explode( "\n", $aspellret ); - $index = 0; - $text_input_index = -1; - # parse each line of aspell return - foreach( $linesout as $key=>$val ) { - $chardesc = substr( $val, 0, 1 ); - # if '&', then not in dictionary but has suggestions - # if '#', then not in dictionary and no suggestions - # if '*', then it is a delimiter between text inputs - # if '@' then version info - if( $chardesc == '&' || $chardesc == '#' ) { - $line = explode( " ", $val, 5 ); - print_words_elem( $line[1], $index, $text_input_index ); - if( isset( $line[4] )) { - $suggs = explode( ", ", $line[4] ); - } else { - $suggs = array(); - } - print_suggs_elem( $suggs, $index, $text_input_index ); - $index++; - } elseif( $chardesc == '*' ) { - $text_input_index++; - print_textindex_decl( $text_input_index ); - $index = 0; - } elseif( $chardesc != '@' && $chardesc != "" ) { - # assume this is error output - $aspell_err .= $val; - } - } - if( $aspell_err ) { - $aspell_err = "Error executing `$cmd`\\n$aspell_err"; - error_handler( $aspell_err ); - } - } else { - error_handler( "System error: Aspell program execution failed (`$cmd`)" ); - } - } else { - error_handler( "System error: Could not open file '$tempfile' for writing" ); - } - - # close temp file, delete file - unlink( $tempfile ); -} - - -?> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<link rel="stylesheet" type="text/css" href="<?php echo $spellercss ?>" /> -<script language="javascript" src="<?php echo $word_win_src ?>"></script> -<script language="javascript"> -var suggs = new Array(); -var words = new Array(); -var textinputs = new Array(); -var error; -<?php - -print_textinputs_var(); - -print_checker_results(); - -?> - -var wordWindowObj = new wordWindow(); -wordWindowObj.originalSpellings = words; -wordWindowObj.suggestions = suggs; -wordWindowObj.textInputs = textinputs; - -function init_spell() { - // check if any error occured during server-side processing - if( error ) { - alert( error ); - } else { - // call the init_spell() function in the parent frameset - if (parent.frames.length) { - parent.init_spell( wordWindowObj ); - } else { - alert('This page was loaded outside of a frameset. It might not display properly'); - } - } -} - - - -</script> - -</head> -<!-- <body onLoad="init_spell();"> by FredCK --> -<body onLoad="init_spell();" bgcolor="#ffffff"> - -<script type="text/javascript"> -wordWindowObj.writeBody(); -</script> - -</body> -</html> - diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl b/editor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl @@ -1,180 +0,0 @@ -#!/usr/bin/perl - -use CGI qw/ :standard /; -use File::Temp qw/ tempfile tempdir /; - -# my $spellercss = '/speller/spellerStyle.css'; # by FredCK -my $spellercss = '../spellerStyle.css'; # by FredCK -# my $wordWindowSrc = '/speller/wordWindow.js'; # by FredCK -my $wordWindowSrc = '../wordWindow.js'; # by FredCK -my @textinputs = param( 'textinputs[]' ); # array -# my $aspell_cmd = 'aspell'; # by FredCK (for Linux) -my $aspell_cmd = '"C:\Program Files\Aspell\bin\aspell.exe"'; # by FredCK (for Windows) -my $lang = 'en_US'; -# my $aspell_opts = "-a --lang=$lang --encoding=utf-8"; # by FredCK -my $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; # by FredCK -my $input_separator = "A"; - -# set the 'wordtext' JavaScript variable to the submitted text. -sub printTextVar { - for( my $i = 0; $i <= $#textinputs; $i++ ) { - print "textinputs[$i] = decodeURIComponent('" . escapeQuote( $textinputs[$i] ) . "')\n"; - } -} - -sub printTextIdxDecl { - my $idx = shift; - print "words[$idx] = [];\n"; - print "suggs[$idx] = [];\n"; -} - -sub printWordsElem { - my( $textIdx, $wordIdx, $word ) = @_; - print "words[$textIdx][$wordIdx] = '" . escapeQuote( $word ) . "';\n"; -} - -sub printSuggsElem { - my( $textIdx, $wordIdx, @suggs ) = @_; - print "suggs[$textIdx][$wordIdx] = ["; - for my $i ( 0..$#suggs ) { - print "'" . escapeQuote( $suggs[$i] ) . "'"; - if( $i < $#suggs ) { - print ", "; - } - } - print "];\n"; -} - -sub printCheckerResults { - my $textInputIdx = -1; - my $wordIdx = 0; - my $unhandledText; - # create temp file - my $dir = tempdir( CLEANUP => 1 ); - my( $fh, $tmpfilename ) = tempfile( DIR => $dir ); - - # temp file was created properly? - - # open temp file, add the submitted text. - for( my $i = 0; $i <= $#textinputs; $i++ ) { - $text = url_decode( $textinputs[$i] ); - @lines = split( /\n/, $text ); - print $fh "\%\n"; # exit terse mode - print $fh "^$input_separator\n"; - print $fh "!\n"; # enter terse mode - for my $line ( @lines ) { - # use carat on each line to escape possible aspell commands - print $fh "^$line\n"; - } - - } - # exec aspell command - my $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1"; - open ASPELL, "$cmd |" or handleError( "Could not execute `$cmd`\\n$!" ) and return; - # parse each line of aspell return - for my $ret ( <ASPELL> ) { - chomp( $ret ); - # if '&', then not in dictionary but has suggestions - # if '#', then not in dictionary and no suggestions - # if '*', then it is a delimiter between text inputs - if( $ret =~ /^\*/ ) { - $textInputIdx++; - printTextIdxDecl( $textInputIdx ); - $wordIdx = 0; - - } elsif( $ret =~ /^(&|#)/ ) { - my @tokens = split( " ", $ret, 5 ); - printWordsElem( $textInputIdx, $wordIdx, $tokens[1] ); - my @suggs = (); - if( $tokens[4] ) { - @suggs = split( ", ", $tokens[4] ); - } - printSuggsElem( $textInputIdx, $wordIdx, @suggs ); - $wordIdx++; - } else { - $unhandledText .= $ret; - } - } - close ASPELL or handleError( "Error executing `$cmd`\\n$unhandledText" ) and return; -} - -sub escapeQuote { - my $str = shift; - $str =~ s/'/\\'/g; - return $str; -} - -sub handleError { - my $err = shift; - print "error = '" . escapeQuote( $err ) . "';\n"; -} - -sub url_decode { - local $_ = @_ ? shift : $_; - defined or return; - # change + signs to spaces - tr/+/ /; - # change hex escapes to the proper characters - s/%([a-fA-F0-9]{2})/pack "H2", $1/eg; - return $_; -} - -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -# Display HTML -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # - -print <<EOF; -Content-type: text/html; charset=utf-8 - -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<link rel="stylesheet" type="text/css" href="$spellercss"/> -<script src="$wordWindowSrc"></script> -<script type="text/javascript"> -var suggs = new Array(); -var words = new Array(); -var textinputs = new Array(); -var error; -EOF - -printTextVar(); - -printCheckerResults(); - -print <<EOF; -var wordWindowObj = new wordWindow(); -wordWindowObj.originalSpellings = words; -wordWindowObj.suggestions = suggs; -wordWindowObj.textInputs = textinputs; - - -function init_spell() { - // check if any error occured during server-side processing - if( error ) { - alert( error ); - } else { - // call the init_spell() function in the parent frameset - if (parent.frames.length) { - parent.init_spell( wordWindowObj ); - } else { - error = "This page was loaded outside of a frameset. "; - error += "It might not display properly"; - alert( error ); - } - } -} - -</script> - -</head> -<body onLoad="init_spell();"> - -<script type="text/javascript"> -wordWindowObj.writeBody(); -</script> - -</body> -</html> -EOF - diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js b/editor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js @@ -1,462 +0,0 @@ -//////////////////////////////////////////////////// -// spellChecker.js -// -// spellChecker object -// -// This file is sourced on web pages that have a textarea object to evaluate -// for spelling. It includes the implementation for the spellCheckObject. -// -//////////////////////////////////////////////////// - - -// constructor -function spellChecker( textObject ) { - - // public properties - configurable -// this.popUpUrl = '/speller/spellchecker.html'; // by FredCK - this.popUpUrl = 'fck_spellerpages/spellerpages/spellchecker.html'; // by FredCK - this.popUpName = 'spellchecker'; -// this.popUpProps = "menu=no,width=440,height=350,top=70,left=120,resizable=yes,status=yes"; // by FredCK - this.popUpProps = null ; // by FredCK -// this.spellCheckScript = '/speller/server-scripts/spellchecker.php'; // by FredCK - //this.spellCheckScript = '/cgi-bin/spellchecker.pl'; - - // values used to keep track of what happened to a word - this.replWordFlag = "R"; // single replace - this.ignrWordFlag = "I"; // single ignore - this.replAllFlag = "RA"; // replace all occurances - this.ignrAllFlag = "IA"; // ignore all occurances - this.fromReplAll = "~RA"; // an occurance of a "replace all" word - this.fromIgnrAll = "~IA"; // an occurance of a "ignore all" word - // properties set at run time - this.wordFlags = new Array(); - this.currentTextIndex = 0; - this.currentWordIndex = 0; - this.spellCheckerWin = null; - this.controlWin = null; - this.wordWin = null; - this.textArea = textObject; // deprecated - this.textInputs = arguments; - - // private methods - this._spellcheck = _spellcheck; - this._getSuggestions = _getSuggestions; - this._setAsIgnored = _setAsIgnored; - this._getTotalReplaced = _getTotalReplaced; - this._setWordText = _setWordText; - this._getFormInputs = _getFormInputs; - - // public methods - this.openChecker = openChecker; - this.startCheck = startCheck; - this.checkTextBoxes = checkTextBoxes; - this.checkTextAreas = checkTextAreas; - this.spellCheckAll = spellCheckAll; - this.ignoreWord = ignoreWord; - this.ignoreAll = ignoreAll; - this.replaceWord = replaceWord; - this.replaceAll = replaceAll; - this.terminateSpell = terminateSpell; - this.undo = undo; - - // set the current window's "speller" property to the instance of this class. - // this object can now be referenced by child windows/frames. - window.speller = this; -} - -// call this method to check all text boxes (and only text boxes) in the HTML document -function checkTextBoxes() { - this.textInputs = this._getFormInputs( "^text$" ); - this.openChecker(); -} - -// call this method to check all textareas (and only textareas ) in the HTML document -function checkTextAreas() { - this.textInputs = this._getFormInputs( "^textarea$" ); - this.openChecker(); -} - -// call this method to check all text boxes and textareas in the HTML document -function spellCheckAll() { - this.textInputs = this._getFormInputs( "^text(area)?$" ); - this.openChecker(); -} - -// call this method to check text boxe(s) and/or textarea(s) that were passed in to the -// object's constructor or to the textInputs property -function openChecker() { - this.spellCheckerWin = window.open( this.popUpUrl, this.popUpName, this.popUpProps ); - if( !this.spellCheckerWin.opener ) { - this.spellCheckerWin.opener = window; - } -} - -function startCheck( wordWindowObj, controlWindowObj ) { - - // set properties from args - this.wordWin = wordWindowObj; - this.controlWin = controlWindowObj; - - // reset properties - this.wordWin.resetForm(); - this.controlWin.resetForm(); - this.currentTextIndex = 0; - this.currentWordIndex = 0; - // initialize the flags to an array - one element for each text input - this.wordFlags = new Array( this.wordWin.textInputs.length ); - // each element will be an array that keeps track of each word in the text - for( var i=0; i<this.wordFlags.length; i++ ) { - this.wordFlags[i] = []; - } - - // start - this._spellcheck(); - - return true; -} - -function ignoreWord() { - var wi = this.currentWordIndex; - var ti = this.currentTextIndex; - if( !this.wordWin ) { - alert( 'Error: Word frame not available.' ); - return false; - } - if( !this.wordWin.getTextVal( ti, wi )) { - alert( 'Error: "Not in dictionary" text is missing.' ); - return false; - } - // set as ignored - if( this._setAsIgnored( ti, wi, this.ignrWordFlag )) { - this.currentWordIndex++; - this._spellcheck(); - } - return true; -} - -function ignoreAll() { - var wi = this.currentWordIndex; - var ti = this.currentTextIndex; - if( !this.wordWin ) { - alert( 'Error: Word frame not available.' ); - return false; - } - // get the word that is currently being evaluated. - var s_word_to_repl = this.wordWin.getTextVal( ti, wi ); - if( !s_word_to_repl ) { - alert( 'Error: "Not in dictionary" text is missing' ); - return false; - } - - // set this word as an "ignore all" word. - this._setAsIgnored( ti, wi, this.ignrAllFlag ); - - // loop through all the words after this word - for( var i = ti; i < this.wordWin.textInputs.length; i++ ) { - for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) { - if(( i == ti && j > wi ) || i > ti ) { - // future word: set as "from ignore all" if - // 1) do not already have a flag and - // 2) have the same value as current word - if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) - && ( !this.wordFlags[i][j] )) { - this._setAsIgnored( i, j, this.fromIgnrAll ); - } - } - } - } - - // finally, move on - this.currentWordIndex++; - this._spellcheck(); - return true; -} - -function replaceWord() { - var wi = this.currentWordIndex; - var ti = this.currentTextIndex; - if( !this.wordWin ) { - alert( 'Error: Word frame not available.' ); - return false; - } - if( !this.wordWin.getTextVal( ti, wi )) { - alert( 'Error: "Not in dictionary" text is missing' ); - return false; - } - if( !this.controlWin.replacementText ) { - return false ; - } - var txt = this.controlWin.replacementText; - if( txt.value ) { - var newspell = new String( txt.value ); - if( this._setWordText( ti, wi, newspell, this.replWordFlag )) { - this.currentWordIndex++; - this._spellcheck(); - } - } - return true; -} - -function replaceAll() { - var ti = this.currentTextIndex; - var wi = this.currentWordIndex; - if( !this.wordWin ) { - alert( 'Error: Word frame not available.' ); - return false; - } - var s_word_to_repl = this.wordWin.getTextVal( ti, wi ); - if( !s_word_to_repl ) { - alert( 'Error: "Not in dictionary" text is missing' ); - return false; - } - var txt = this.controlWin.replacementText; - if( !txt.value ) return false; - var newspell = new String( txt.value ); - - // set this word as a "replace all" word. - this._setWordText( ti, wi, newspell, this.replAllFlag ); - - // loop through all the words after this word - for( var i = ti; i < this.wordWin.textInputs.length; i++ ) { - for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) { - if(( i == ti && j > wi ) || i > ti ) { - // future word: set word text to s_word_to_repl if - // 1) do not already have a flag and - // 2) have the same value as s_word_to_repl - if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) - && ( !this.wordFlags[i][j] )) { - this._setWordText( i, j, newspell, this.fromReplAll ); - } - } - } - } - - // finally, move on - this.currentWordIndex++; - this._spellcheck(); - return true; -} - -function terminateSpell() { - // called when we have reached the end of the spell checking. - var msg = ""; // by FredCK - var numrepl = this._getTotalReplaced(); - if( numrepl == 0 ) { - // see if there were no misspellings to begin with - if( !this.wordWin ) { - msg = ""; - } else { - if( this.wordWin.totalMisspellings() ) { -// msg += "No words changed."; // by FredCK - msg += FCKLang.DlgSpellNoChanges ; // by FredCK - } else { -// msg += "No misspellings found."; // by FredCK - msg += FCKLang.DlgSpellNoMispell ; // by FredCK - } - } - } else if( numrepl == 1 ) { -// msg += "One word changed."; // by FredCK - msg += FCKLang.DlgSpellOneChange ; // by FredCK - } else { -// msg += numrepl + " words changed."; // by FredCK - msg += FCKLang.DlgSpellManyChanges.replace( /%1/g, numrepl ) ; - } - if( msg ) { -// msg += "\n"; // by FredCK - alert( msg ); - } - - if( numrepl > 0 ) { - // update the text field(s) on the opener window - for( var i = 0; i < this.textInputs.length; i++ ) { - // this.textArea.value = this.wordWin.text; - if( this.wordWin ) { - if( this.wordWin.textInputs[i] ) { - this.textInputs[i].value = this.wordWin.textInputs[i]; - } - } - } - } - - // return back to the calling window -// this.spellCheckerWin.close(); // by FredCK - if ( typeof( this.OnFinished ) == 'function' ) // by FredCK - this.OnFinished(numrepl) ; // by FredCK - - return true; -} - -function undo() { - // skip if this is the first word! - var ti = this.currentTextIndex; - var wi = this.currentWordIndex; - - if( this.wordWin.totalPreviousWords( ti, wi ) > 0 ) { - this.wordWin.removeFocus( ti, wi ); - - // go back to the last word index that was acted upon - do { - // if the current word index is zero then reset the seed - if( this.currentWordIndex == 0 && this.currentTextIndex > 0 ) { - this.currentTextIndex--; - this.currentWordIndex = this.wordWin.totalWords( this.currentTextIndex )-1; - if( this.currentWordIndex < 0 ) this.currentWordIndex = 0; - } else { - if( this.currentWordIndex > 0 ) { - this.currentWordIndex--; - } - } - } while ( - this.wordWin.totalWords( this.currentTextIndex ) == 0 - || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromIgnrAll - || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromReplAll - ); - - var text_idx = this.currentTextIndex; - var idx = this.currentWordIndex; - var preReplSpell = this.wordWin.originalSpellings[text_idx][idx]; - - // if we got back to the first word then set the Undo button back to disabled - if( this.wordWin.totalPreviousWords( text_idx, idx ) == 0 ) { - this.controlWin.disableUndo(); - } - - var i, j, origSpell ; - // examine what happened to this current word. - switch( this.wordFlags[text_idx][idx] ) { - // replace all: go through this and all the future occurances of the word - // and revert them all to the original spelling and clear their flags - case this.replAllFlag : - for( i = text_idx; i < this.wordWin.textInputs.length; i++ ) { - for( j = 0; j < this.wordWin.totalWords( i ); j++ ) { - if(( i == text_idx && j >= idx ) || i > text_idx ) { - origSpell = this.wordWin.originalSpellings[i][j]; - if( origSpell == preReplSpell ) { - this._setWordText ( i, j, origSpell, undefined ); - } - } - } - } - break; - - // ignore all: go through all the future occurances of the word - // and clear their flags - case this.ignrAllFlag : - for( i = text_idx; i < this.wordWin.textInputs.length; i++ ) { - for( j = 0; j < this.wordWin.totalWords( i ); j++ ) { - if(( i == text_idx && j >= idx ) || i > text_idx ) { - origSpell = this.wordWin.originalSpellings[i][j]; - if( origSpell == preReplSpell ) { - this.wordFlags[i][j] = undefined; - } - } - } - } - break; - - // replace: revert the word to its original spelling - case this.replWordFlag : - this._setWordText ( text_idx, idx, preReplSpell, undefined ); - break; - } - - // For all four cases, clear the wordFlag of this word. re-start the process - this.wordFlags[text_idx][idx] = undefined; - this._spellcheck(); - } -} - -function _spellcheck() { - var ww = this.wordWin; - - // check if this is the last word in the current text element - if( this.currentWordIndex == ww.totalWords( this.currentTextIndex) ) { - this.currentTextIndex++; - this.currentWordIndex = 0; - // keep going if we're not yet past the last text element - if( this.currentTextIndex < this.wordWin.textInputs.length ) { - this._spellcheck(); - return; - } else { - this.terminateSpell(); - return; - } - } - - // if this is after the first one make sure the Undo button is enabled - if( this.currentWordIndex > 0 ) { - this.controlWin.enableUndo(); - } - - // skip the current word if it has already been worked on - if( this.wordFlags[this.currentTextIndex][this.currentWordIndex] ) { - // increment the global current word index and move on. - this.currentWordIndex++; - this._spellcheck(); - } else { - var evalText = ww.getTextVal( this.currentTextIndex, this.currentWordIndex ); - if( evalText ) { - this.controlWin.evaluatedText.value = evalText; - ww.setFocus( this.currentTextIndex, this.currentWordIndex ); - this._getSuggestions( this.currentTextIndex, this.currentWordIndex ); - } - } -} - -function _getSuggestions( text_num, word_num ) { - this.controlWin.clearSuggestions(); - // add suggestion in list for each suggested word. - // get the array of suggested words out of the - // three-dimensional array containing all suggestions. - var a_suggests = this.wordWin.suggestions[text_num][word_num]; - if( a_suggests ) { - // got an array of suggestions. - for( var ii = 0; ii < a_suggests.length; ii++ ) { - this.controlWin.addSuggestion( a_suggests[ii] ); - } - } - this.controlWin.selectDefaultSuggestion(); -} - -function _setAsIgnored( text_num, word_num, flag ) { - // set the UI - this.wordWin.removeFocus( text_num, word_num ); - // do the bookkeeping - this.wordFlags[text_num][word_num] = flag; - return true; -} - -function _getTotalReplaced() { - var i_replaced = 0; - for( var i = 0; i < this.wordFlags.length; i++ ) { - for( var j = 0; j < this.wordFlags[i].length; j++ ) { - if(( this.wordFlags[i][j] == this.replWordFlag ) - || ( this.wordFlags[i][j] == this.replAllFlag ) - || ( this.wordFlags[i][j] == this.fromReplAll )) { - i_replaced++; - } - } - } - return i_replaced; -} - -function _setWordText( text_num, word_num, newText, flag ) { - // set the UI and form inputs - this.wordWin.setText( text_num, word_num, newText ); - // keep track of what happened to this word: - this.wordFlags[text_num][word_num] = flag; - return true; -} - -function _getFormInputs( inputPattern ) { - var inputs = new Array(); - for( var i = 0; i < document.forms.length; i++ ) { - for( var j = 0; j < document.forms[i].elements.length; j++ ) { - if( document.forms[i].elements[j].type.match( inputPattern )) { - inputs[inputs.length] = document.forms[i].elements[j]; - } - } - } - return inputs; -} - diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html b/editor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html @@ -1,71 +0,0 @@ - -<script> - -var wordWindow = null; -var controlWindow = null; - -function init_spell( spellerWindow ) { - - if( spellerWindow ) { - if( spellerWindow.windowType == "wordWindow" ) { - wordWindow = spellerWindow; - } else if ( spellerWindow.windowType == "controlWindow" ) { - controlWindow = spellerWindow; - } - } - - if( controlWindow && wordWindow ) { - // populate the speller object and start it off! - var speller = opener.speller; - wordWindow.speller = speller; - speller.startCheck( wordWindow, controlWindow ); - } -} - -// encodeForPost -function encodeForPost( str ) { - var s = new String( str ); - s = encodeURIComponent( s ); - // additionally encode single quotes to evade any PHP - // magic_quotes_gpc setting (it inserts escape characters and - // therefore skews the btye positions of misspelled words) - return s.replace( /\'/g, '%27' ); -} - -// post the text area data to the script that populates the speller -function postWords() { - var bodyDoc = window.frames[0].document; - bodyDoc.open(); - bodyDoc.write('<html>'); - bodyDoc.write('<meta http-equiv="Content-Type" content="text/html; charset=utf-8">'); - bodyDoc.write('<link rel="stylesheet" type="text/css" href="spellerStyle.css"/>'); - if (opener) { - var speller = opener.speller; - bodyDoc.write('<body class="normalText" onLoad="document.forms[0].submit();">'); - bodyDoc.write('<p>' + window.parent.FCKLang.DlgSpellProgress + '<\/p>'); // by FredCK - bodyDoc.write('<form action="'+speller.spellCheckScript+'" method="post">'); - for( var i = 0; i < speller.textInputs.length; i++ ) { - bodyDoc.write('<input type="hidden" name="textinputs[]" value="'+encodeForPost(speller.textInputs[i].value)+'">'); - } - bodyDoc.write('<\/form>'); - bodyDoc.write('<\/body>'); - } else { - bodyDoc.write('<body class="normalText">'); - bodyDoc.write('<p><b>This page cannot be displayed<\/b><\/p><p>The window was not opened from another window.<\/p>'); - bodyDoc.write('<\/body>'); - } - bodyDoc.write('<\/html>'); - bodyDoc.close(); -} -</script> - -<html> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> -<head> -<title>Speller Pages</title> -</head> -<frameset rows="*,201" onLoad="postWords();"> -<frame src="blank.html"> -<frame src="controls.html"> -</frameset> -</html> diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css b/editor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css @@ -1,49 +0,0 @@ -.blend { - font-family: courier new; - font-size: 10pt; - border: 0; - margin-bottom:-1; -} -.normalLabel { - font-size:8pt; -} -.normalText { - font-family:arial, helvetica, sans-serif; - font-size:10pt; - color:000000; - background-color:FFFFFF; -} -.plainText { - font-family: courier new, courier, monospace; - font-size: 10pt; - color:000000; - background-color:FFFFFF; -} -.controlWindowBody { - font-family:arial, helvetica, sans-serif; - font-size:8pt; - padding: 7px ; /* by FredCK */ - margin: 0px ; /* by FredCK */ - /* color:000000; by FredCK */ - /* background-color:DADADA; by FredCK */ -} -.readonlyInput { - background-color:DADADA; - color:000000; - font-size:8pt; - width:392px; -} -.textDefault { - font-size:8pt; - width: 200px; -} -.buttonDefault { - width:90px; - height:22px; - font-size:8pt; -} -.suggSlct { - width:200px; - margin-top:2; - font-size:8pt; -}- \ No newline at end of file diff --git a/editor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js b/editor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js @@ -1,272 +0,0 @@ -//////////////////////////////////////////////////// -// wordWindow object -//////////////////////////////////////////////////// -function wordWindow() { - // private properties - this._forms = []; - - // private methods - this._getWordObject = _getWordObject; - //this._getSpellerObject = _getSpellerObject; - this._wordInputStr = _wordInputStr; - this._adjustIndexes = _adjustIndexes; - this._isWordChar = _isWordChar; - this._lastPos = _lastPos; - - // public properties - this.wordChar = /[a-zA-Z]/; - this.windowType = "wordWindow"; - this.originalSpellings = new Array(); - this.suggestions = new Array(); - this.checkWordBgColor = "pink"; - this.normWordBgColor = "white"; - this.text = ""; - this.textInputs = new Array(); - this.indexes = new Array(); - //this.speller = this._getSpellerObject(); - - // public methods - this.resetForm = resetForm; - this.totalMisspellings = totalMisspellings; - this.totalWords = totalWords; - this.totalPreviousWords = totalPreviousWords; - //this.getTextObjectArray = getTextObjectArray; - this.getTextVal = getTextVal; - this.setFocus = setFocus; - this.removeFocus = removeFocus; - this.setText = setText; - //this.getTotalWords = getTotalWords; - this.writeBody = writeBody; - this.printForHtml = printForHtml; -} - -function resetForm() { - if( this._forms ) { - for( var i = 0; i < this._forms.length; i++ ) { - this._forms[i].reset(); - } - } - return true; -} - -function totalMisspellings() { - var total_words = 0; - for( var i = 0; i < this.textInputs.length; i++ ) { - total_words += this.totalWords( i ); - } - return total_words; -} - -function totalWords( textIndex ) { - return this.originalSpellings[textIndex].length; -} - -function totalPreviousWords( textIndex, wordIndex ) { - var total_words = 0; - for( var i = 0; i <= textIndex; i++ ) { - for( var j = 0; j < this.totalWords( i ); j++ ) { - if( i == textIndex && j == wordIndex ) { - break; - } else { - total_words++; - } - } - } - return total_words; -} - -//function getTextObjectArray() { -// return this._form.elements; -//} - -function getTextVal( textIndex, wordIndex ) { - var word = this._getWordObject( textIndex, wordIndex ); - if( word ) { - return word.value; - } -} - -function setFocus( textIndex, wordIndex ) { - var word = this._getWordObject( textIndex, wordIndex ); - if( word ) { - if( word.type == "text" ) { - word.focus(); - word.style.backgroundColor = this.checkWordBgColor; - } - } -} - -function removeFocus( textIndex, wordIndex ) { - var word = this._getWordObject( textIndex, wordIndex ); - if( word ) { - if( word.type == "text" ) { - word.blur(); - word.style.backgroundColor = this.normWordBgColor; - } - } -} - -function setText( textIndex, wordIndex, newText ) { - var word = this._getWordObject( textIndex, wordIndex ); - var beginStr; - var endStr; - if( word ) { - var pos = this.indexes[textIndex][wordIndex]; - var oldText = word.value; - // update the text given the index of the string - beginStr = this.textInputs[textIndex].substring( 0, pos ); - endStr = this.textInputs[textIndex].substring( - pos + oldText.length, - this.textInputs[textIndex].length - ); - this.textInputs[textIndex] = beginStr + newText + endStr; - - // adjust the indexes on the stack given the differences in - // length between the new word and old word. - var lengthDiff = newText.length - oldText.length; - this._adjustIndexes( textIndex, wordIndex, lengthDiff ); - - word.size = newText.length; - word.value = newText; - this.removeFocus( textIndex, wordIndex ); - } -} - - -function writeBody() { - var d = window.document; - var is_html = false; - - d.open(); - - // iterate through each text input. - for( var txtid = 0; txtid < this.textInputs.length; txtid++ ) { - var end_idx = 0; - var begin_idx = 0; - d.writeln( '<form name="textInput'+txtid+'">' ); - var wordtxt = this.textInputs[txtid]; - this.indexes[txtid] = []; - - if( wordtxt ) { - var orig = this.originalSpellings[txtid]; - if( !orig ) break; - - //!!! plain text, or HTML mode? - d.writeln( '<div class="plainText">' ); - // iterate through each occurrence of a misspelled word. - for( var i = 0; i < orig.length; i++ ) { - // find the position of the current misspelled word, - // starting at the last misspelled word. - // and keep looking if it's a substring of another word - do { - begin_idx = wordtxt.indexOf( orig[i], end_idx ); - end_idx = begin_idx + orig[i].length; - // word not found? messed up! - if( begin_idx == -1 ) break; - // look at the characters immediately before and after - // the word. If they are word characters we'll keep looking. - var before_char = wordtxt.charAt( begin_idx - 1 ); - var after_char = wordtxt.charAt( end_idx ); - } while ( - this._isWordChar( before_char ) - || this._isWordChar( after_char ) - ); - - // keep track of its position in the original text. - this.indexes[txtid][i] = begin_idx; - - // write out the characters before the current misspelled word - for( var j = this._lastPos( txtid, i ); j < begin_idx; j++ ) { - // !!! html mode? make it html compatible - d.write( this.printForHtml( wordtxt.charAt( j ))); - } - - // write out the misspelled word. - d.write( this._wordInputStr( orig[i] )); - - // if it's the last word, write out the rest of the text - if( i == orig.length-1 ){ - d.write( printForHtml( wordtxt.substr( end_idx ))); - } - } - - d.writeln( '</div>' ); - - } - d.writeln( '</form>' ); - } - //for ( var j = 0; j < d.forms.length; j++ ) { - // alert( d.forms[j].name ); - // for( var k = 0; k < d.forms[j].elements.length; k++ ) { - // alert( d.forms[j].elements[k].name + ": " + d.forms[j].elements[k].value ); - // } - //} - - // set the _forms property - this._forms = d.forms; - d.close(); -} - -// return the character index in the full text after the last word we evaluated -function _lastPos( txtid, idx ) { - if( idx > 0 ) - return this.indexes[txtid][idx-1] + this.originalSpellings[txtid][idx-1].length; - else - return 0; -} - -function printForHtml( n ) { - return n ; // by FredCK -/* - var htmlstr = n; - if( htmlstr.length == 1 ) { - // do simple case statement if it's just one character - switch ( n ) { - case "\n": - htmlstr = '<br/>'; - break; - case "<": - htmlstr = '&lt;'; - break; - case ">": - htmlstr = '&gt;'; - break; - } - return htmlstr; - } else { - htmlstr = htmlstr.replace( /</g, '&lt' ); - htmlstr = htmlstr.replace( />/g, '&gt' ); - htmlstr = htmlstr.replace( /\n/g, '<br/>' ); - return htmlstr; - } -*/ -} - -function _isWordChar( letter ) { - if( letter.search( this.wordChar ) == -1 ) { - return false; - } else { - return true; - } -} - -function _getWordObject( textIndex, wordIndex ) { - if( this._forms[textIndex] ) { - if( this._forms[textIndex].elements[wordIndex] ) { - return this._forms[textIndex].elements[wordIndex]; - } - } - return null; -} - -function _wordInputStr( word ) { - var str = '<input readonly '; - str += 'class="blend" type="text" value="' + word + '" size="' + word.length + '">'; - return str; -} - -function _adjustIndexes( textIndex, wordIndex, lengthDiff ) { - for( var i = wordIndex + 1; i < this.originalSpellings[textIndex].length; i++ ) { - this.indexes[textIndex][i] = this.indexes[textIndex][i] + lengthDiff; - } -} diff --git a/editor/editor/dialog/fck_table.html b/editor/editor/dialog/fck_table.html @@ -1,293 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Table dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Table Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -// Gets the table if there is one selected. -var table ; -var e = oEditor.FCKSelection.GetSelectedElement() ; - -if ( ( !e && document.location.search.substr(1) == 'Parent' ) || ( e && e.tagName != 'TABLE' ) ) - e = oEditor.FCKSelection.MoveToAncestorNode( 'TABLE' ) ; - -if ( e && e.tagName == "TABLE" ) - table = e ; - -// Fired when the window loading process is finished. It sets the fields with the -// actual values if a table is selected in the editor. -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if (table) - { - document.getElementById('txtRows').value = table.rows.length ; - document.getElementById('txtColumns').value = table.rows[0].cells.length ; - - // Gets the value from the Width or the Style attribute - var iWidth = (table.style.width ? table.style.width : table.width ) ; - var iHeight = (table.style.height ? table.style.height : table.height ) ; - - if (iWidth.indexOf('%') >= 0) // Percentual = % - { - iWidth = parseInt( iWidth.substr(0,iWidth.length - 1), 10 ) ; - document.getElementById('selWidthType').value = "percent" ; - } - else if (iWidth.indexOf('px') >= 0) // Style Pixel = px - { // - iWidth = iWidth.substr(0,iWidth.length - 2); - document.getElementById('selWidthType').value = "pixels" ; - } - - if (iHeight && iHeight.indexOf('px') >= 0) // Style Pixel = px - iHeight = iHeight.substr(0,iHeight.length - 2); - - document.getElementById('txtWidth').value = iWidth || '' ; - document.getElementById('txtHeight').value = iHeight || '' ; - document.getElementById('txtBorder').value = GetAttribute( table, 'border', '' ) ; - document.getElementById('selAlignment').value = GetAttribute( table, 'align', '' ) ; - document.getElementById('txtCellPadding').value = GetAttribute( table, 'cellPadding', '' ) ; - document.getElementById('txtCellSpacing').value = GetAttribute( table, 'cellSpacing', '' ) ; - document.getElementById('txtSummary').value = GetAttribute( table, 'summary', '' ) ; -// document.getElementById('cmbFontStyle').value = table.className ; - - var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ; - if ( eCaption ) document.getElementById('txtCaption').value = eCaption.innerHTML ; - - document.getElementById('txtRows').disabled = true ; - document.getElementById('txtColumns').disabled = true ; - } - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -// Fired when the user press the OK button -function Ok() -{ - var bExists = ( table != null ) ; - - if ( ! bExists ) - table = oEditor.FCK.EditorDocument.createElement( "TABLE" ) ; - - // Removes the Width and Height styles - if ( bExists && table.style.width ) table.style.width = null ; //.removeAttribute("width") ; - if ( bExists && table.style.height ) table.style.height = null ; //.removeAttribute("height") ; - - var sWidth = GetE('txtWidth').value ; - if ( sWidth.length > 0 && GetE('selWidthType').value == 'percent' ) - sWidth += '%' ; - - SetAttribute( table, 'width' , sWidth ) ; - SetAttribute( table, 'height' , GetE('txtHeight').value ) ; - SetAttribute( table, 'border' , GetE('txtBorder').value ) ; - SetAttribute( table, 'align' , GetE('selAlignment').value ) ; - SetAttribute( table, 'cellPadding' , GetE('txtCellPadding').value ) ; - SetAttribute( table, 'cellSpacing' , GetE('txtCellSpacing').value ) ; - SetAttribute( table, 'summary' , GetE('txtSummary').value ) ; - - var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ; - - if ( document.getElementById('txtCaption').value != '') - { - if ( !eCaption ) - { - eCaption = oEditor.FCK.EditorDocument.createElement( 'CAPTION' ) ; - table.insertBefore( eCaption, table.firstChild ) ; - } - - eCaption.innerHTML = document.getElementById('txtCaption').value ; - } - else if ( bExists && eCaption ) - { - // TODO: It causes an IE internal error if using removeChild or - // table.deleteCaption() (see #505). - if ( oEditor.FCKBrowserInfo.IsIE ) - eCaption.innerHTML = '' ; - else - eCaption.parentNode.removeChild( eCaption ) ; - } - - if (! bExists) - { - var iRows = document.getElementById('txtRows').value ; - var iCols = document.getElementById('txtColumns').value ; - - for ( var r = 0 ; r < iRows ; r++ ) - { - var oRow = table.insertRow(-1) ; - for ( var c = 0 ; c < iCols ; c++ ) - { - var oCell = oRow.insertCell(-1) ; - if ( oEditor.FCKBrowserInfo.IsGeckoLike ) - oEditor.FCKTools.AppendBogusBr( oCell ) ; - } - } - - oEditor.FCKUndo.SaveUndoStep() ; - - oEditor.FCK.InsertElement( table ) ; - } - - return true ; -} - - </script> -</head> -<body style="overflow: hidden"> - <table id="otable" cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 100%"> - <tr> - <td> - <table cellspacing="1" cellpadding="1" width="100%" border="0"> - <tr> - <td valign="top"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td> - <span fcklang="DlgTableRows">Rows</span>:</td> - <td> - &nbsp;<input id="txtRows" type="text" maxlength="3" size="2" value="3" name="txtRows" - onkeypress="return IsDigit(event);" /></td> - </tr> - <tr> - <td> - <span fcklang="DlgTableColumns">Columns</span>:</td> - <td> - &nbsp;<input id="txtColumns" type="text" maxlength="2" size="2" value="2" name="txtColumns" - onkeypress="return IsDigit(event);" /></td> - </tr> - <tr> - <td> - &nbsp;</td> - <td> - &nbsp;</td> - </tr> - <tr> - <td> - <span fcklang="DlgTableBorder">Border size</span>:</td> - <td> - &nbsp;<input id="txtBorder" type="text" maxlength="2" size="2" value="1" name="txtBorder" - onkeypress="return IsDigit(event);" /></td> - </tr> - <tr> - <td> - <span fcklang="DlgTableAlign">Alignment</span>:</td> - <td> - &nbsp;<select id="selAlignment" name="selAlignment"> - <option fcklang="DlgTableAlignNotSet" value="" selected="selected">&lt;Not set&gt;</option> - <option fcklang="DlgTableAlignLeft" value="left">Left</option> - <option fcklang="DlgTableAlignCenter" value="center">Center</option> - <option fcklang="DlgTableAlignRight" value="right">Right</option> - </select></td> - </tr> - </table> - </td> - <td> - &nbsp;&nbsp;&nbsp;</td> - <td align="right" valign="top"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td> - <span fcklang="DlgTableWidth">Width</span>:</td> - <td> - &nbsp;<input id="txtWidth" type="text" maxlength="4" size="3" value="200" name="txtWidth" - onkeypress="return IsDigit(event);" /></td> - <td> - &nbsp;<select id="selWidthType" name="selWidthType"> - <option fcklang="DlgTableWidthPx" value="pixels" selected="selected">pixels</option> - <option fcklang="DlgTableWidthPc" value="percent">percent</option> - </select></td> - </tr> - <tr> - <td> - <span fcklang="DlgTableHeight">Height</span>:</td> - <td> - &nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" name="txtHeight" onkeypress="return IsDigit(event);" /></td> - <td> - &nbsp;<span fcklang="DlgTableWidthPx">pixels</span></td> - </tr> - <tr> - <td> - &nbsp;</td> - <td> - &nbsp;</td> - <td> - &nbsp;</td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgTableCellSpace">Cell spacing</span>:</td> - <td> - &nbsp;<input id="txtCellSpacing" type="text" maxlength="2" size="2" value="1" name="txtCellSpacing" - onkeypress="return IsDigit(event);" /></td> - <td> - &nbsp;</td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgTableCellPad">Cell padding</span>:</td> - <td> - &nbsp;<input id="txtCellPadding" type="text" maxlength="2" size="2" value="1" name="txtCellPadding" - onkeypress="return IsDigit(event);" /></td> - <td> - &nbsp;</td> - </tr> - </table> - </td> - </tr> - </table> - <table cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgTableCaption">Caption</span>:&nbsp;</td> - <td> - &nbsp;</td> - <td width="100%" nowrap="nowrap"> - <input id="txtCaption" type="text" style="width: 100%" /></td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgTableSummary">Summary</span>:&nbsp;</td> - <td> - &nbsp;</td> - <td width="100%" nowrap="nowrap"> - <input id="txtSummary" type="text" style="width: 100%" /></td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_tablecell.html b/editor/editor/dialog/fck_tablecell.html @@ -1,255 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Cell properties dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>Table Cell Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -// Array of selected Cells -var aCells = oEditor.FCKTableHandler.GetSelectedCells() ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage( document ) ; - - SetStartupValue() ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function SetStartupValue() -{ - if ( aCells.length > 0 ) - { - var oCell = aCells[0] ; - var iWidth = GetAttribute( oCell, 'width' ) ; - - if ( iWidth.indexOf && iWidth.indexOf( '%' ) >= 0 ) - { - iWidth = iWidth.substr( 0, iWidth.length - 1 ) ; - GetE('selWidthType').value = 'percent' ; - } - - if ( oCell.attributes['noWrap'] != null && oCell.attributes['noWrap'].specified ) - GetE('selWordWrap').value = !oCell.noWrap ; - - GetE('txtWidth').value = iWidth ; - GetE('txtHeight').value = GetAttribute( oCell, 'height' ) ; - GetE('selHAlign').value = GetAttribute( oCell, 'align' ) ; - GetE('selVAlign').value = GetAttribute( oCell, 'vAlign' ) ; - GetE('txtRowSpan').value = GetAttribute( oCell, 'rowSpan' ) ; - GetE('txtCollSpan').value = GetAttribute( oCell, 'colSpan' ) ; - GetE('txtBackColor').value = GetAttribute( oCell, 'bgColor' ) ; - GetE('txtBorderColor').value = GetAttribute( oCell, 'borderColor' ) ; -// GetE('cmbFontStyle').value = oCell.className ; - } -} - -// Fired when the user press the OK button -function Ok() -{ - for( i = 0 ; i < aCells.length ; i++ ) - { - if ( GetE('txtWidth').value.length > 0 ) - aCells[i].width = GetE('txtWidth').value + ( GetE('selWidthType').value == 'percent' ? '%' : '') ; - else - aCells[i].removeAttribute( 'width', 0 ) ; - - if ( GetE('selWordWrap').value == 'false' ) - SetAttribute( aCells[i], 'noWrap', 'nowrap' ) ; - else - aCells[i].removeAttribute( 'noWrap' ) ; - - SetAttribute( aCells[i], 'height' , GetE('txtHeight').value ) ; - SetAttribute( aCells[i], 'align' , GetE('selHAlign').value ) ; - SetAttribute( aCells[i], 'vAlign' , GetE('selVAlign').value ) ; - SetAttribute( aCells[i], 'rowSpan' , GetE('txtRowSpan').value ) ; - SetAttribute( aCells[i], 'colSpan' , GetE('txtCollSpan').value ) ; - SetAttribute( aCells[i], 'bgColor' , GetE('txtBackColor').value ) ; - SetAttribute( aCells[i], 'borderColor' , GetE('txtBorderColor').value ) ; -// SetAttribute( aCells[i], 'className' , GetE('cmbFontStyle').value ) ; - } - - return true ; -} - -function SelectBackColor( color ) -{ - if ( color && color.length > 0 ) - GetE('txtBackColor').value = color ; -} - -function SelectBorderColor( color ) -{ - if ( color && color.length > 0 ) - GetE('txtBorderColor').value = color ; -} - -function SelectColor( wich ) -{ - oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, wich == 'Back' ? SelectBackColor : SelectBorderColor, window ) ; -} - - </script> -</head> -<body scroll="no" style="overflow: hidden"> - <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%"> - <tr> - <td> - <table cellspacing="1" cellpadding="1" width="100%" border="0"> - <tr> - <td> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellWidth">Width</span>:</td> - <td> - &nbsp;<input onkeypress="return IsDigit(event);" id="txtWidth" type="text" maxlength="4" - size="3" name="txtWidth" />&nbsp;<select id="selWidthType" name="selWidthType"> - <option fcklang="DlgCellWidthPx" value="pixels" selected="selected">pixels</option> - <option fcklang="DlgCellWidthPc" value="percent">percent</option> - </select></td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellHeight">Height</span>:</td> - <td> - &nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" name="txtHeight" onkeypress="return IsDigit(event);" />&nbsp;<span - fcklang="DlgCellWidthPx">pixels</span></td> - </tr> - <tr> - <td> - &nbsp;</td> - <td> - &nbsp;</td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellWordWrap">Word Wrap</span>:</td> - <td> - &nbsp;<select id="selWordWrap" name="selAlignment"> - <option fcklang="DlgCellWordWrapYes" value="true" selected="selected">Yes</option> - <option fcklang="DlgCellWordWrapNo" value="false">No</option> - </select></td> - </tr> - <tr> - <td> - &nbsp;</td> - <td> - &nbsp;</td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellHorAlign">Horizontal Alignment</span>:</td> - <td> - &nbsp;<select id="selHAlign" name="selAlignment"> - <option fcklang="DlgCellHorAlignNotSet" value="" selected>&lt;Not set&gt;</option> - <option fcklang="DlgCellHorAlignLeft" value="left">Left</option> - <option fcklang="DlgCellHorAlignCenter" value="center">Center</option> - <option fcklang="DlgCellHorAlignRight" value="right">Right</option> - </select></td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellVerAlign">Vertical Alignment</span>:</td> - <td> - &nbsp;<select id="selVAlign" name="selAlignment"> - <option fcklang="DlgCellVerAlignNotSet" value="" selected>&lt;Not set&gt;</option> - <option fcklang="DlgCellVerAlignTop" value="top">Top</option> - <option fcklang="DlgCellVerAlignMiddle" value="middle">Middle</option> - <option fcklang="DlgCellVerAlignBottom" value="bottom">Bottom</option> - <option fcklang="DlgCellVerAlignBaseline" value="baseline">Baseline</option> - </select></td> - </tr> - </table> - </td> - <td> - &nbsp;&nbsp;&nbsp;</td> - <td align="right"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellRowSpan">Rows Span</span>:</td> - <td> - &nbsp; - <input onkeypress="return IsDigit(event);" id="txtRowSpan" type="text" maxlength="3" size="2" - name="txtRows"></td> - <td> - </td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellCollSpan">Columns Span</span>:</td> - <td> - &nbsp; - <input onkeypress="return IsDigit(event);" id="txtCollSpan" type="text" maxlength="2" - size="2" name="txtColumns"></td> - <td> - </td> - </tr> - <tr> - <td> - &nbsp;</td> - <td> - &nbsp;</td> - <td> - &nbsp;</td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellBackColor">Background Color</span>:</td> - <td> - &nbsp;<input id="txtBackColor" type="text" size="8" name="txtCellSpacing"></td> - <td> - &nbsp; - <input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( 'Back' )"></td> - </tr> - <tr> - <td nowrap="nowrap"> - <span fcklang="DlgCellBorderColor">Border Color</span>:</td> - <td> - &nbsp;<input id="txtBorderColor" type="text" size="8" name="txtCellPadding" /></td> - <td> - &nbsp; - <input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( 'Border' )" /></td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_template.html b/editor/editor/dialog/fck_template.html @@ -1,242 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Template selection dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <style type="text/css"> - .TplList - { - border: #dcdcdc 2px solid; - background-color: #ffffff; - overflow: auto; - width: 90%; - } - - .TplItem - { - margin: 5px; - padding: 7px; - border: #eeeeee 1px solid; - } - - .TplItem TABLE - { - display: inline; - } - - .TplTitle - { - font-weight: bold; - } - </style> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCK = oEditor.FCK ; -var FCKLang = oEditor.FCKLang ; -var FCKConfig = oEditor.FCKConfig ; - -window.onload = function() -{ - // Set the right box height (browser dependent). - GetE('eList').style.height = document.all ? '100%' : '295px' ; - - // Translate the dialog box texts. - oEditor.FCKLanguageManager.TranslatePage(document) ; - - GetE('xChkReplaceAll').checked = ( FCKConfig.TemplateReplaceAll !== false ) ; - - if ( FCKConfig.TemplateReplaceCheckbox !== false ) - GetE('xReplaceBlock').style.display = '' ; - - window.parent.SetAutoSize( true ) ; - - LoadTemplatesXml() ; -} - -function LoadTemplatesXml() -{ - var oTemplate ; - - if ( !FCK._Templates ) - { - GetE('eLoading').style.display = '' ; - - // Create the Templates array. - FCK._Templates = new Array() ; - - // Load the XML file. - var oXml = new oEditor.FCKXml() ; - oXml.LoadUrl( FCKConfig.TemplatesXmlPath ) ; - - // Get the Images Base Path. - var oAtt = oXml.SelectSingleNode( 'Templates/@imagesBasePath' ) ; - var sImagesBasePath = oAtt ? oAtt.value : '' ; - - // Get the "Template" nodes defined in the XML file. - var aTplNodes = oXml.SelectNodes( 'Templates/Template' ) ; - - for ( var i = 0 ; i < aTplNodes.length ; i++ ) - { - var oNode = aTplNodes[i] ; - - oTemplate = new Object() ; - - var oPart ; - - // Get the Template Title. - if ( (oPart = oNode.attributes.getNamedItem('title')) ) - oTemplate.Title = oPart.value ; - else - oTemplate.Title = 'Template ' + ( i + 1 ) ; - - // Get the Template Description. - if ( (oPart = oXml.SelectSingleNode( 'Description', oNode )) ) - oTemplate.Description = oPart.text ? oPart.text : oPart.textContent ; - - // Get the Template Image. - if ( (oPart = oNode.attributes.getNamedItem('image')) ) - oTemplate.Image = sImagesBasePath + oPart.value ; - - // Get the Template HTML. - if ( (oPart = oXml.SelectSingleNode( 'Html', oNode )) ) - oTemplate.Html = oPart.text ? oPart.text : oPart.textContent ; - else - { - alert( 'No HTML defined for template index ' + i + '. Please review the "' + FCKConfig.TemplatesXmlPath + '" file.' ) ; - continue ; - } - - FCK._Templates[ FCK._Templates.length ] = oTemplate ; - } - - GetE('eLoading').style.display = 'none' ; - } - - if ( FCK._Templates.length == 0 ) - GetE('eEmpty').style.display = '' ; - else - { - for ( var j = 0 ; j < FCK._Templates.length ; j++ ) - { - oTemplate = FCK._Templates[j] ; - - var oItemDiv = GetE('eList').appendChild( document.createElement( 'DIV' ) ) ; - oItemDiv.TplIndex = j ; - oItemDiv.className = 'TplItem' ; - - // Build the inner HTML of our new item DIV. - var sInner = '<table><tr>' ; - - if ( oTemplate.Image ) - sInner += '<td valign="top"><img src="' + oTemplate.Image + '"><\/td>' ; - - sInner += '<td valign="top"><div class="TplTitle">' + oTemplate.Title + '<\/div>' ; - - if ( oTemplate.Description ) - sInner += '<div>' + oTemplate.Description + '<\/div>' ; - - sInner += '<\/td><\/tr><\/table>' ; - - oItemDiv.innerHTML = sInner ; - - oItemDiv.onmouseover = ItemDiv_OnMouseOver ; - oItemDiv.onmouseout = ItemDiv_OnMouseOut ; - oItemDiv.onclick = ItemDiv_OnClick ; - } - } -} - -function ItemDiv_OnMouseOver() -{ - this.className += ' PopupSelectionBox' ; -} - -function ItemDiv_OnMouseOut() -{ - this.className = this.className.replace( /\s*PopupSelectionBox\s*/, '' ) ; -} - -function ItemDiv_OnClick() -{ - SelectTemplate( this.TplIndex ) ; -} - -function SelectTemplate( index ) -{ - oEditor.FCKUndo.SaveUndoStep() ; - - if ( GetE('xChkReplaceAll').checked ) - FCK.SetData( FCK._Templates[index].Html ) ; - else - FCK.InsertHtml( FCK._Templates[index].Html ) ; - - window.parent.Cancel( true ) ; -} - - </script> -</head> -<body style="overflow: hidden"> - <table width="100%" style="height: 100%"> - <tr> - <td align="center"> - <span fcklang="DlgTemplatesSelMsg">Please select the template to open in the editor<br /> - (the actual contents will be lost):</span> - </td> - </tr> - <tr> - <td height="100%" align="center"> - <div id="eList" align="left" class="TplList"> - <div id="eLoading" align="center" style="display: none"> - <br /> - <span fcklang="DlgTemplatesLoading">Loading templates list. Please wait...</span> - </div> - <div id="eEmpty" align="center" style="display: none"> - <br /> - <span fcklang="DlgTemplatesNoTpl">(No templates defined)</span> - </div> - </div> - </td> - </tr> - <tr id="xReplaceBlock" style="display: none"> - <td> - <table cellpadding="0" cellspacing="0"> - <tr> - <td> - <input id="xChkReplaceAll" type="checkbox" /></td> - <td> - &nbsp;</td> - <td> - <label for="xChkReplaceAll" fcklang="DlgTemplatesReplace"> - Replace actual contents</label></td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dialog/fck_template/images/template1.gif b/editor/editor/dialog/fck_template/images/template1.gif Binary files differ. diff --git a/editor/editor/dialog/fck_template/images/template2.gif b/editor/editor/dialog/fck_template/images/template2.gif Binary files differ. diff --git a/editor/editor/dialog/fck_template/images/template3.gif b/editor/editor/dialog/fck_template/images/template3.gif Binary files differ. diff --git a/editor/editor/dialog/fck_textarea.html b/editor/editor/dialog/fck_textarea.html @@ -1,96 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Text Area dialog window. ---> -<html> - <head> - <title>Text Area Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oActiveEl && oActiveEl.tagName == 'TEXTAREA' ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtCols').value = GetAttribute( oActiveEl, 'cols' ) ; - GetE('txtRows').value = GetAttribute( oActiveEl, 'rows' ) ; - } - else - oActiveEl = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - oEditor.FCKUndo.SaveUndoStep() ; - - if ( !oActiveEl ) - { - oActiveEl = oEditor.FCK.InsertElement( 'textarea' ) ; - } - - oActiveEl.name = GetE('txtName').value ; - SetAttribute( oActiveEl, 'cols', GetE('txtCols').value ) ; - SetAttribute( oActiveEl, 'rows', GetE('txtRows').value ) ; - - return true ; -} - - </script> - </head> - <body style="overflow: hidden"> - <table height="100%" width="100%"> - <tr> - <td align="center"> - <table border="0" cellpadding="0" cellspacing="0" width="80%"> - <tr> - <td> - <span fckLang="DlgTextareaName">Name</span><br> - <input type="text" id="txtName" style="WIDTH: 100%"> - <span fckLang="DlgTextareaCols">Collumns</span><br> - <input id="txtCols" type="text" size="5"> - <br> - <span fckLang="DlgTextareaRows">Rows</span><br> - <input id="txtRows" type="text" size="5"> - </td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/dialog/fck_textfield.html b/editor/editor/dialog/fck_textfield.html @@ -1,141 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Text field dialog window. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title></title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta content="noindex, nofollow" name="robots" /> - <script src="common/fck_dialog_common.js" type="text/javascript"></script> - <script type="text/javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; - -// Gets the document DOM -var oDOM = oEditor.FCK.EditorDocument ; - -var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ; - -window.onload = function() -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage(document) ; - - if ( oActiveEl && oActiveEl.tagName == 'INPUT' && ( oActiveEl.type == 'text' || oActiveEl.type == 'password' ) ) - { - GetE('txtName').value = oActiveEl.name ; - GetE('txtValue').value = oActiveEl.value ; - GetE('txtSize').value = GetAttribute( oActiveEl, 'size' ) ; - GetE('txtMax').value = GetAttribute( oActiveEl, 'maxLength' ) ; - GetE('txtType').value = oActiveEl.type ; - - GetE('txtType').disabled = true ; - } - else - oActiveEl = null ; - - window.parent.SetOkButton( true ) ; - window.parent.SetAutoSize( true ) ; -} - -function Ok() -{ - if ( isNaN( GetE('txtMax').value ) || GetE('txtMax').value < 0 ) - { - alert( "Maximum characters must be a positive number." ) ; - GetE('txtMax').focus() ; - return false ; - } - else if( isNaN( GetE('txtSize').value ) || GetE('txtSize').value < 0 ) - { - alert( "Width must be a positive number." ) ; - GetE('txtSize').focus() ; - return false ; - } - - if ( !oActiveEl ) - { - oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' ) ; - oActiveEl.type = GetE('txtType').value ; - oEditor.FCKUndo.SaveUndoStep() ; - oActiveEl = oEditor.FCK.InsertElement( oActiveEl ) ; - } - - oActiveEl.name = GetE('txtName').value ; - SetAttribute( oActiveEl, 'value' , GetE('txtValue').value ) ; - SetAttribute( oActiveEl, 'size' , GetE('txtSize').value ) ; - SetAttribute( oActiveEl, 'maxlength', GetE('txtMax').value ) ; - - return true ; -} - - </script> -</head> -<body style="overflow: hidden"> - <table width="100%" style="height: 100%"> - <tr> - <td align="center"> - <table cellspacing="0" cellpadding="0" border="0"> - <tr> - <td> - <span fcklang="DlgTextName">Name</span><br /> - <input id="txtName" type="text" size="20" /> - </td> - <td> - </td> - <td> - <span fcklang="DlgTextValue">Value</span><br /> - <input id="txtValue" type="text" size="25" /> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgTextCharWidth">Character Width</span><br /> - <input id="txtSize" type="text" size="5" /> - </td> - <td> - </td> - <td> - <span fcklang="DlgTextMaxChars">Maximum Characters</span><br /> - <input id="txtMax" type="text" size="5" /> - </td> - </tr> - <tr> - <td> - <span fcklang="DlgTextType">Type</span><br /> - <select id="txtType"> - <option value="text" selected="selected" fcklang="DlgTextTypeText">Text</option> - <option value="password" fcklang="DlgTextTypePass">Password</option> - </select> - </td> - <td> - &nbsp;</td> - <td> - </td> - </tr> - </table> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/dtd/fck_dtd_test.html b/editor/editor/dtd/fck_dtd_test.html @@ -1,43 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>DTD Test Page</title> - <script type="text/javascript"> - - // Define an object for this test page, so the assignment to FCK.DTD works - var FCK = {} ; - </script> - <script type="text/javascript" src="../_source/internals/fcktools.js"></script> - <script type="text/javascript" src="fck_xhtml10transitional.js"></script> -</head> -<body> - <h1> - DTD Contents - </h1> - <table border="1"> - <script type="text/javascript"> - - alert(FCK.DTD); - -for ( var p in FCK.DTD ) -{ - document.write( '<tr><td><b>' + p + '</b></td><td>' ) ; - - var isFirst = true ; - - for ( var c in FCK.DTD[p] ) - { - if ( !isFirst ) - document.write( ', ' ) ; - isFirst = false ; - - document.write( c ) ; - } - - - document.write( '</td></tr>' ) ; -} - </script> - </table> -</body> -</html> diff --git a/editor/editor/dtd/fck_xhtml10strict.js b/editor/editor/dtd/fck_xhtml10strict.js @@ -1,116 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Contains the DTD mapping for XHTML 1.0 Strict. - * This file was automatically generated from the file: xhtml10-strict.dtd - */ -FCK.DTD = (function() -{ - X = FCKTools.Merge ; - - var H,I,J,K,C,L,M,A,B,D,E,G,N,F ; - A = {ins:1, del:1, script:1} ; - B = {hr:1, ul:1, div:1, blockquote:1, noscript:1, table:1, address:1, pre:1, p:1, h5:1, dl:1, h4:1, ol:1, h6:1, h1:1, h3:1, h2:1} ; - C = X({fieldset:1}, B) ; - D = X({sub:1, bdo:1, 'var':1, sup:1, br:1, kbd:1, map:1, samp:1, b:1, acronym:1, '#':1, abbr:1, code:1, i:1, cite:1, tt:1, strong:1, q:1, em:1, big:1, small:1, span:1, dfn:1}, A) ; - E = X({img:1, object:1}, D) ; - F = {input:1, button:1, textarea:1, select:1, label:1} ; - G = X({a:1}, F) ; - H = {img:1, noscript:1, br:1, kbd:1, button:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, select:1, '#':1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, strong:1, textarea:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, map:1, dl:1, del:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, address:1, tt:1, q:1, pre:1, p:1, em:1, dfn:1} ; - - I = X({form:1, fieldset:1}, B, E, G) ; - J = {tr:1} ; - K = {'#':1} ; - L = X(E, G) ; - M = {li:1} ; - N = X({form:1}, A, C) ; - - return { - col: {}, - tr: {td:1, th:1}, - img: {}, - colgroup: {col:1}, - noscript: N, - td: I, - br: {}, - th: I, - kbd: L, - button: X(B, E), - h5: L, - h4: L, - samp: L, - h6: L, - ol: M, - h1: L, - h3: L, - option: K, - h2: L, - form: X(A, C), - select: {optgroup:1, option:1}, - ins: I, - abbr: L, - label: L, - code: L, - table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1}, - script: K, - tfoot: J, - cite: L, - li: I, - input: {}, - strong: L, - textarea: K, - big: L, - small: L, - span: L, - dt: L, - hr: {}, - sub: L, - optgroup: {option:1}, - bdo: L, - param: {}, - 'var': L, - div: I, - object: X({param:1}, H), - sup: L, - dd: I, - area: {}, - map: X({form:1, area:1}, A, C), - dl: {dt:1, dd:1}, - del: I, - fieldset: X({legend:1}, H), - thead: J, - ul: M, - acronym: L, - b: L, - a: X({img:1, object:1}, D, F), - blockquote: N, - caption: L, - i: L, - tbody: J, - address: L, - tt: L, - legend: L, - q: L, - pre: X({a:1}, D, F), - p: L, - em: L, - dfn: L - } ; -})() ; diff --git a/editor/editor/dtd/fck_xhtml10transitional.js b/editor/editor/dtd/fck_xhtml10transitional.js @@ -1,140 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Contains the DTD mapping for XHTML 1.0 Transitional. - * This file was automatically generated from the file: xhtml10-transitional.dtd - */ -FCK.DTD = (function() -{ - X = FCKTools.Merge ; - - var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I ; - 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} ; - 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} ; - - return { - 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: J, // Changed from L to J (see (1)) - ins: P, - 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: J, // Changed from L to J (see (1)) - textarea: N, - noframes: P, - big: J, // Changed from L to J (see (1)) - small: J, // Changed from L to J (see (1)) - span: J, // Changed from L to J (see (1)) - hr: {}, - dt: L, - sub: J, // Changed from L to J (see (1)) - optgroup: {option:1}, - param: {}, - bdo: L, - 'var': J, // Changed from L to J (see (1)) - div: P, - object: O, - sup: J, // Changed from L to J (see (1)) - dd: P, - strike: J, // Changed from L to J (see (1)) - area: {}, - dir: Q, - map: X({area:1, form:1, p:1}, A, F, E), - applet: O, - dl: {dt:1, dd:1}, - del: P, - isindex: {}, - fieldset: X({legend:1}, K), - thead: M, - ul: Q, - acronym: L, - b: J, // Changed from L to J (see (1)) - a: J, - blockquote: P, - caption: L, - i: J, // Changed from L to J (see (1)) - u: J, // Changed from L to J (see (1)) - tbody: M, - s: L, - address: X(D, I), - tt: J, // Changed from L to J (see (1)) - legend: L, - q: L, - pre: X(G, C), - p: L, - em: J, // Changed from L to J (see (1)) - dfn: L - } ; -})() ; - -/* - Notes: - (1) According to the DTD, many elements, like <b> accept <a> elements - inside of them. But, to produce better output results, we have manually - changed the map to avoid breaking the links on pieces, having - "<b>this is a </b><a><b>link</b> test</a>", instead of - "<b>this is a <a>link</a></b><a> test</a>". -*/- \ No newline at end of file diff --git a/editor/editor/fckdebug.html b/editor/editor/fckdebug.html @@ -1,153 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the Debug window. - * It automatically popups if the Debug = true in the configuration file. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>FCKeditor Debug Window</title> - <meta name="robots" content="noindex, nofollow" /> - <script type="text/javascript"> - -var oWindow ; -var oDiv ; - -if ( !window.FCKMessages ) - window.FCKMessages = new Array() ; - -window.onload = function() -{ - oWindow = document.getElementById('xOutput').contentWindow ; - oWindow.document.open() ; - oWindow.document.write( '<div id="divMsg"><\/div>' ) ; - oWindow.document.close() ; - oDiv = oWindow.document.getElementById('divMsg') ; -} - -function Output( message, color, noParse ) -{ - if ( !noParse && message != null && isNaN( message ) ) - message = message.replace(/</g, "&lt;") ; - - if ( color ) - message = '<font color="' + color + '">' + message + '<\/font>' ; - - window.FCKMessages[ window.FCKMessages.length ] = message ; - StartTimer() ; -} - -function OutputObject( anyObject, color ) -{ - var message ; - - if ( anyObject != null ) - { - message = 'Properties of: ' + anyObject + '</b><blockquote>' ; - - for (var prop in anyObject) - { - try - { - var sVal = anyObject[ prop ] != null ? anyObject[ prop ] + '' : '[null]' ; - message += '<b>' + prop + '</b> : ' + sVal.replace(/</g, '&lt;') + '<br>' ; - } - catch (e) - { - try - { - message += '<b>' + prop + '</b> : [' + typeof( anyObject[ prop ] ) + ']<br>' ; - } - catch (e) - { - message += '<b>' + prop + '</b> : [-error-]<br>' ; - } - } - } - - message += '</blockquote><b>' ; - } else - message = 'OutputObject : Object is "null".' ; - - Output( message, color, true ) ; -} - -function StartTimer() -{ - window.setTimeout( 'CheckMessages()', 100 ) ; -} - -function CheckMessages() -{ - if ( window.FCKMessages.length > 0 ) - { - // Get the first item in the queue - var sMessage = window.FCKMessages[0] ; - - // Removes the first item from the queue - var oTempArray = new Array() ; - for ( i = 1 ; i < window.FCKMessages.length ; i++ ) - oTempArray[ i - 1 ] = window.FCKMessages[ i ] ; - window.FCKMessages = oTempArray ; - - var d = new Date() ; - var sTime = - ( d.getHours() + 100 + '' ).substr( 1,2 ) + ':' + - ( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' + - ( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' + - ( d.getMilliseconds() + 1000 + '' ).substr( 1,3 ) ; - - var oMsgDiv = oWindow.document.createElement( 'div' ) ; - oMsgDiv.innerHTML = sTime + ': <b>' + sMessage + '<\/b>' ; - oDiv.appendChild( oMsgDiv ) ; - oMsgDiv.scrollIntoView() ; - } -} - -function Clear() -{ - oDiv.innerHTML = '' ; -} - </script> -</head> -<body style="margin: 10px"> - <table style="height: 100%" cellspacing="5" cellpadding="0" width="100%" border="0"> - <tr> - <td> - <table cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td style="font-weight: bold; font-size: 1.2em;"> - FCKeditor Debug Window</td> - <td align="right"> - <input type="button" value="Clear" onclick="Clear();" /></td> - </tr> - </table> - </td> - </tr> - <tr style="height: 100%"> - <td style="border: #696969 1px solid"> - <iframe id="xOutput" width="100%" height="100%" scrolling="auto" src="javascript:void(0)" - frameborder="0"></iframe> - </td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/fckdialog.html b/editor/editor/fckdialog.html @@ -1,340 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This page is used by all dialog box as the container. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <script type="text/javascript"> - -// On some Gecko browsers (probably over slow connections) the -// "dialogArguments" are not set so we must get it from the opener window. -if ( !window.dialogArguments ) - window.dialogArguments = window.opener.FCKLastDialogInfo ; - -// Sets the Skin CSS -document.write( '<link href="' + window.dialogArguments.Editor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; - -// Sets the language direction. -window.document.dir = window.dialogArguments.Editor.FCKLang.Dir ; - -// IE does not set the window name in showModalDialog(), let's set it here. -if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE ) - window.name = window.dialogArguments.DialogName ; - -var sTitle = window.dialogArguments.Title ; -document.write( '<title>' + sTitle + '<\/title>' ) ; - -function LoadInnerDialog() -{ - if ( window.onresize ) - window.onresize() ; - - // First of all, translate the dialog box contents. - window.dialogArguments.Editor.FCKLanguageManager.TranslatePage( document ) ; - - window.frames["frmMain"].document.location.href = window.dialogArguments.Page ; -} - -function InnerDialogLoaded() -{ - var oInnerDoc = document.getElementById('frmMain').contentWindow.document ; - - // Set the language direction. - oInnerDoc.dir = window.dialogArguments.Editor.FCKLang.Dir ; - - // Sets the Skin CSS. - oInnerDoc.write( '<link href="' + window.dialogArguments.Editor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ; - - SetOnKeyDown( oInnerDoc ) ; - DisableContextMenu( oInnerDoc ) ; - - return window.dialogArguments.Editor ; -} - -function SetOkButton( showIt ) -{ - document.getElementById('btnOk').style.visibility = ( showIt ? '' : 'hidden' ) ; -} - -var bAutoSize = false ; - -function SetAutoSize( autoSize ) -{ - bAutoSize = autoSize ; - RefreshSize() ; -} - -function RefreshSize() -{ - if ( bAutoSize ) - { - var oInnerDoc = document.getElementById('frmMain').contentWindow.document ; - - var iFrameHeight ; - if ( document.all ) - iFrameHeight = oInnerDoc.body.offsetHeight ; - else - iFrameHeight = document.getElementById('frmMain').contentWindow.innerHeight ; - - var iInnerHeight = oInnerDoc.body.scrollHeight ; - - var iDiff = iInnerHeight - iFrameHeight ; - - if ( iDiff > 0 ) - { - if ( document.all ) - window.dialogHeight = ( parseInt( window.dialogHeight, 10 ) + iDiff ) + 'px' ; - else - window.resizeBy( 0, iDiff ) ; - } - } -} - -// Kludge for #1316: Safari seems to have a bug with the time when RefreshSize() is executed - it thinks frmMain's innerHeight -// is 0 if we query the value too soon after the page is loaded in some circumstances. -if ( window.dialogArguments.Editor.FCKBrowserInfo.IsSafari ) -{ - window.OriginalRefreshSize = RefreshSize ; - - RefreshSize = function() - { - window.setTimeout( window.OriginalRefreshSize, 1 ); - } -} - -function Ok() -{ - if ( window.frames["frmMain"].Ok && window.frames["frmMain"].Ok() ) - Cancel() ; -} - -function Cancel( dontFireChange ) -{ - if ( !dontFireChange && !window.dialogArguments.Editor.FCK.EditMode ) - { - // All dialog windows, by default, will fire the "OnSelectionChange" - // event, no matter the Ok or Cancel button has been pressed. - window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ; - } - window.close() ; -} - -// Object that holds all available tabs. -var oTabs = new Object() ; - -function TabDiv_OnClick() -{ - SetSelectedTab( this.TabCode ) ; -} - -function AddTab( tabCode, tabText, startHidden ) -{ - if ( typeof( oTabs[ tabCode ] ) != 'undefined' ) - return ; - - var eTabsRow = document.getElementById( 'Tabs' ) ; - - var oCell = eTabsRow.insertCell( eTabsRow.cells.length - 1 ) ; - oCell.noWrap = true ; - - var oDiv = document.createElement( 'DIV' ) ; - oDiv.className = 'PopupTab' ; - oDiv.innerHTML = tabText ; - oDiv.TabCode = tabCode ; - oDiv.onclick = TabDiv_OnClick ; - - if ( startHidden ) - oDiv.style.display = 'none' ; - - eTabsRow = document.getElementById( 'TabsRow' ) ; - - oCell.appendChild( oDiv ) ; - - if ( eTabsRow.style.display == 'none' ) - { - var eTitleArea = document.getElementById( 'TitleArea' ) ; - eTitleArea.className = 'PopupTitle' ; - - oDiv.className = 'PopupTabSelected' ; - eTabsRow.style.display = '' ; - - if ( ! window.dialogArguments.Editor.FCKBrowserInfo.IsIE ) - window.onresize() ; - } - - oTabs[ tabCode ] = oDiv ; -} - -function SetSelectedTab( tabCode ) -{ - for ( var sCode in oTabs ) - { - if ( sCode == tabCode ) - oTabs[sCode].className = 'PopupTabSelected' ; - else - oTabs[sCode].className = 'PopupTab' ; - } - - if ( typeof( window.frames["frmMain"].OnDialogTabChange ) == 'function' ) - window.frames["frmMain"].OnDialogTabChange( tabCode ) ; -} - -function SetTabVisibility( tabCode, isVisible ) -{ - var oTab = oTabs[ tabCode ] ; - oTab.style.display = isVisible ? '' : 'none' ; - - if ( ! isVisible && oTab.className == 'PopupTabSelected' ) - { - for ( var sCode in oTabs ) - { - if ( oTabs[sCode].style.display != 'none' ) - { - SetSelectedTab( sCode ) ; - break ; - } - } - } -} - -function SetOnKeyDown( targetDocument ) -{ - targetDocument.onkeydown = function ( e ) - { - e = e || event || this.parentWindow.event ; - switch ( e.keyCode ) - { - case 13 : // ENTER - var oTarget = e.srcElement || e.target ; - if ( oTarget.tagName == 'TEXTAREA' ) - return true ; - Ok() ; - return false ; - case 27 : // ESC - Cancel() ; - return false ; - break ; - } - return true ; - } -} -SetOnKeyDown( document ) ; - -function DisableContextMenu( targetDocument ) -{ - if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE ) return ; - - // Disable Right-Click - var oOnContextMenu = function( e ) - { - var sTagName = e.target.tagName ; - if ( ! ( ( sTagName == "INPUT" && e.target.type == "text" ) || sTagName == "TEXTAREA" ) ) - e.preventDefault() ; - } - targetDocument.addEventListener( 'contextmenu', oOnContextMenu, true ) ; -} -DisableContextMenu( document ) ; - -if ( ! window.dialogArguments.Editor.FCKBrowserInfo.IsIE ) -{ - window.onresize = function() - { - var oFrame = document.getElementById("frmMain") ; - - if ( ! oFrame ) - return ; - - oFrame.height = 0 ; - - var oCell = document.getElementById("FrameCell") ; - var iHeight = oCell.offsetHeight ; - - oFrame.height = iHeight - 2 ; - } -} - -if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE ) -{ - function Window_OnBeforeUnload() - { - for ( var t in oTabs ) - oTabs[t] = null ; - - window.dialogArguments.Editor = null ; - } - window.attachEvent( "onbeforeunload", Window_OnBeforeUnload ) ; -} - -function Window_OnClose() -{ - window.dialogArguments.Editor.FCKFocusManager.Unlock() ; -} - -if ( window.addEventListener ) - window.addEventListener( 'unload', Window_OnClose, false ) ; - - </script> - </head> - <body onload="LoadInnerDialog();" class="PopupBody"> - <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0"> - <tr> - <td id="TitleArea" class="PopupTitle PopupTitleBorder"> - <script type="text/javascript"> -document.write( sTitle ) ; - </script> - </td> - </tr> - <tr id="TabsRow" style="DISPLAY: none"> - <td class="PopupTabArea"> - <table border="0" cellpadding="0" cellspacing="0" width="100%"> - <tr id="Tabs" onselectstart="return false;"> - <td class="PopupTabEmptyArea">&nbsp;</td> - <td class="PopupTabEmptyArea" width="100%">&nbsp;</td> - </tr> - </table> - </td> - </tr> - <tr> - <td id="FrameCell" height="100%" valign="top"> - <iframe id="frmMain" src="javascript:void(0)" name="frmMain" frameborder="0" height="100%" width="100%" scrolling="auto"> - </iframe> - </td> - </tr> - <tr> - <td class="PopupButtons"> - <table border="0" cellpadding="0" cellspacing="0"> - <tr> - <td width="100%">&nbsp;</td> - <td nowrap="nowrap"> - <input id="btnOk" style="VISIBILITY: hidden;" type="button" value="Ok" class="Button" onclick="Ok();" fckLang="DlgBtnOK" /> - &nbsp; - <input id="btnCancel" type="button" value="Cancel" class="Button" onclick="Cancel();" fckLang="DlgBtnCancel" /> - </td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html> diff --git a/editor/editor/fckeditor.html b/editor/editor/fckeditor.html @@ -1,228 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Main page that holds the editor. ---> -<html> -<head> - <title>FCKeditor</title> - <meta name="robots" content="noindex, nofollow"> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta http-equiv="Cache-Control" content="public" /> - <script type="text/javascript"> - -// Instead of loading scripts and CSSs using inline tags, all scripts are -// loaded by code. In this way we can guarantee the correct processing order, -// otherwise external scripts and inline scripts could be executed in an -// unwanted order (IE). - -function LoadScript( url ) -{ - document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ; -} - -function LoadCss( url ) -{ - document.write( '<link href="' + url + '" type="text/css" rel="stylesheet" />' ) ; -} - -// Main editor scripts. -var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ; - -LoadScript( 'js/fckeditorcode_' + sSuffix + '.js' ) ; - -// Base configuration file. -LoadScript( '../fckconfig.js' ) ; - - </script> - <script type="text/javascript"> - -if ( FCKBrowserInfo.IsIE ) -{ - // Remove IE mouse flickering. - 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. - } - - // Create the default cleanup object used by the editor. - FCK.IECleanup = new FCKIECleanup( window ) ; - FCK.IECleanup.AddItem( FCKTempBin, FCKTempBin.Reset ) ; - FCK.IECleanup.AddItem( FCK, FCK_Cleanup ) ; -} - -// The first function to be called on selection change must the the styles -// change checker, because the result of its processing may be used by another -// functions listening to the same event. -FCK.Events.AttachEvent( 'OnSelectionChange', function() { FCKStyles.CheckSelectionChanges() ; } ) ; - -// The config hidden field is processed immediately, because -// CustomConfigurationsPath may be set in the page. -FCKConfig.ProcessHiddenField() ; - -// Load the custom configurations file (if defined). -if ( FCKConfig.CustomConfigurationsPath.length > 0 ) - LoadScript( FCKConfig.CustomConfigurationsPath ) ; - - </script> - <script type="text/javascript"> - -// Load configurations defined at page level. -FCKConfig_LoadPageConfig() ; - -FCKConfig_PreProcess() ; - -// Load the active skin CSS. -LoadCss( FCKConfig.SkinPath + 'fck_editor.css' ) ; - -// Load the language file. -FCKLanguageManager.Initialize() ; -LoadScript( 'lang/' + FCKLanguageManager.ActiveLanguage.Code + '.js' ) ; - - </script> - <script type="text/javascript"> - -// Initialize the editing area context menu. -FCK_ContextMenu_Init() ; - -FCKPlugins.Load() ; - - </script> - <script type="text/javascript"> - -// Set the editor interface direction. -window.document.dir = FCKLang.Dir ; - - </script> - <script type="text/javascript"> - -window.onload = function() -{ - InitializeAPI() ; - - if ( FCKBrowserInfo.IsIE ) - FCK_PreloadImages() ; - else - LoadToolbarSetup() ; -} - -function LoadToolbarSetup() -{ - FCKeditorAPI._FunctionQueue.Add( LoadToolbar ) ; -} - -function LoadToolbar() -{ - var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ; - - if ( oToolbarSet.IsLoaded ) - StartEditor() ; - else - { - oToolbarSet.OnLoad = StartEditor ; - oToolbarSet.Load( FCKURLParams['Toolbar'] || 'Default' ) ; - } -} - -function StartEditor() -{ - // Remove the onload listener. - FCK.ToolbarSet.OnLoad = null ; - - FCKeditorAPI._FunctionQueue.Remove( LoadToolbar ) ; - - FCK.Events.AttachEvent( 'OnStatusChange', WaitForActive ) ; - - // Start the editor. - FCK.StartEditor() ; -} - -function WaitForActive( editorInstance, newStatus ) -{ - if ( newStatus == FCK_STATUS_ACTIVE ) - { - if ( FCKBrowserInfo.IsGecko ) - FCKTools.RunFunction( window.onresize ) ; - - _AttachFormSubmitToAPI() ; - - FCK.SetStatus( FCK_STATUS_COMPLETE ) ; - - // Call the special "FCKeditor_OnComplete" function that should be present in - // the HTML page where the editor is located. - if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' ) - window.parent.FCKeditor_OnComplete( FCK ) ; - } -} - -// Gecko browsers doens't calculate well that IFRAME size so we must -// recalculate it every time the window size changes. -if ( FCKBrowserInfo.IsGecko ) -{ - function Window_OnResize() - { - if ( FCKBrowserInfo.IsOpera ) - return ; - - var oCell = document.getElementById( 'xEditingArea' ) ; - - var eInnerElement = oCell.firstChild ; - if ( eInnerElement ) - { - eInnerElement.style.height = 0 ; - eInnerElement.style.height = oCell.scrollHeight - 2 ; - } - } - window.onresize = Window_OnResize ; -} - - </script> -</head> -<body> - <table width="100%" cellpadding="0" cellspacing="0" style="height: 100%; table-layout: fixed"> - <tr id="xToolbarRow" style="display: none"> - <td id="xToolbarSpace" style="overflow: hidden"> - <table width="100%" cellpadding="0" cellspacing="0"> - <tr id="xCollapsed" style="display: none"> - <td id="xExpandHandle" class="TB_Expand" colspan="3"> - <img class="TB_ExpandImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> - </tr> - <tr id="xExpanded" style="display: none"> - <td id="xTBLeftBorder" class="TB_SideBorder" style="width: 1px; display: none;"></td> - <td id="xCollapseHandle" style="display: none" class="TB_Collapse" valign="bottom"> - <img class="TB_CollapseImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> - <td id="xToolbar" class="TB_ToolbarSet"></td> - <td class="TB_SideBorder" style="width: 1px"></td> - </tr> - </table> - </td> - </tr> - <tr> - <td id="xEditingArea" valign="top" style="height: 100%"></td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/fckeditor.original.html b/editor/editor/fckeditor.original.html @@ -1,331 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Main page that holds the editor. ---> -<html> -<head> - <title>FCKeditor</title> - <meta name="robots" content="noindex, nofollow"> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <!-- @Packager.RemoveLine - <meta http-equiv="Cache-Control" content="public" /> - @Packager.RemoveLine --> - <script type="text/javascript"> - -// Instead of loading scripts and CSSs using inline tags, all scripts are -// loaded by code. In this way we can guarantee the correct processing order, -// otherwise external scripts and inline scripts could be executed in an -// unwanted order (IE). - -function LoadScript( url ) -{ - document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ; -} - -function LoadCss( url ) -{ - document.write( '<link href="' + url + '" type="text/css" rel="stylesheet" />' ) ; -} - -// Main editor scripts. -var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ; - -/* @Packager.RemoveLine -LoadScript( 'js/fckeditorcode_' + sSuffix + '.js' ) ; -@Packager.RemoveLine */ -// @Packager.Remove.Start - -LoadScript( '_source/fckconstants.js' ) ; -LoadScript( '_source/fckjscoreextensions.js' ) ; - -if ( sSuffix == 'ie' ) - LoadScript( '_source/classes/fckiecleanup.js' ) ; - -LoadScript( '_source/internals/fckbrowserinfo.js' ) ; -LoadScript( '_source/internals/fckurlparams.js' ) ; -LoadScript( '_source/classes/fckevents.js' ) ; -LoadScript( '_source/classes/fckdataprocessor.js' ) ; -LoadScript( '_source/internals/fck.js' ) ; -LoadScript( '_source/internals/fck_' + sSuffix + '.js' ) ; -LoadScript( '_source/internals/fckconfig.js' ) ; - -LoadScript( '_source/internals/fckdebug.js' ) ; -LoadScript( '_source/internals/fckdomtools.js' ) ; -LoadScript( '_source/internals/fcktools.js' ) ; -LoadScript( '_source/internals/fcktools_' + sSuffix + '.js' ) ; -LoadScript( '_source/fckeditorapi.js' ) ; -LoadScript( '_source/classes/fckimagepreloader.js' ) ; -LoadScript( '_source/internals/fckregexlib.js' ) ; -LoadScript( '_source/internals/fcklistslib.js' ) ; -LoadScript( '_source/internals/fcklanguagemanager.js' ) ; -LoadScript( '_source/internals/fckxhtmlentities.js' ) ; -LoadScript( '_source/internals/fckxhtml.js' ) ; -LoadScript( '_source/internals/fckxhtml_' + sSuffix + '.js' ) ; -LoadScript( '_source/internals/fckcodeformatter.js' ) ; -LoadScript( '_source/internals/fckundo.js' ) ; -LoadScript( '_source/classes/fckeditingarea.js' ) ; -LoadScript( '_source/classes/fckkeystrokehandler.js' ) ; - -LoadScript( 'dtd/fck_xhtml10transitional.js' ) ; -LoadScript( '_source/classes/fckstyle.js' ) ; -LoadScript( '_source/internals/fckstyles.js' ) ; - -LoadScript( '_source/internals/fcklisthandler.js' ) ; -LoadScript( '_source/classes/fckelementpath.js' ) ; -LoadScript( '_source/classes/fckdomrange.js' ) ; -LoadScript( '_source/classes/fckdocumentfragment_' + sSuffix + '.js' ) ; -LoadScript( '_source/classes/fckw3crange.js' ) ; -LoadScript( '_source/classes/fckdomrange_' + sSuffix + '.js' ) ; -LoadScript( '_source/classes/fckdomrangeiterator.js' ) ; -LoadScript( '_source/classes/fckenterkey.js' ) ; - -LoadScript( '_source/internals/fckdocumentprocessor.js' ) ; -LoadScript( '_source/internals/fckselection.js' ) ; -LoadScript( '_source/internals/fckselection_' + sSuffix + '.js' ) ; - -LoadScript( '_source/internals/fcktablehandler.js' ) ; -LoadScript( '_source/internals/fcktablehandler_' + sSuffix + '.js' ) ; -LoadScript( '_source/classes/fckxml.js' ) ; -LoadScript( '_source/classes/fckxml_' + sSuffix + '.js' ) ; - -LoadScript( '_source/commandclasses/fcknamedcommand.js' ) ; -LoadScript( '_source/commandclasses/fckstylecommand.js' ) ; -LoadScript( '_source/commandclasses/fck_othercommands.js' ) ; -LoadScript( '_source/commandclasses/fckshowblocks.js' ) ; -LoadScript( '_source/commandclasses/fckspellcheckcommand_' + sSuffix + '.js' ) ; -LoadScript( '_source/commandclasses/fcktextcolorcommand.js' ) ; -LoadScript( '_source/commandclasses/fckpasteplaintextcommand.js' ) ; -LoadScript( '_source/commandclasses/fckpastewordcommand.js' ) ; -LoadScript( '_source/commandclasses/fcktablecommand.js' ) ; -LoadScript( '_source/commandclasses/fckfitwindow.js' ) ; -LoadScript( '_source/commandclasses/fcklistcommands.js' ) ; -LoadScript( '_source/commandclasses/fckjustifycommands.js' ) ; -LoadScript( '_source/commandclasses/fckindentcommands.js' ) ; -LoadScript( '_source/commandclasses/fckblockquotecommand.js' ) ; -LoadScript( '_source/commandclasses/fckcorestylecommand.js' ) ; -LoadScript( '_source/commandclasses/fckremoveformatcommand.js' ) ; -LoadScript( '_source/internals/fckcommands.js' ) ; - -LoadScript( '_source/classes/fckpanel.js' ) ; -LoadScript( '_source/classes/fckicon.js' ) ; -LoadScript( '_source/classes/fcktoolbarbuttonui.js' ) ; -LoadScript( '_source/classes/fcktoolbarbutton.js' ) ; -LoadScript( '_source/classes/fckspecialcombo.js' ) ; -LoadScript( '_source/classes/fcktoolbarspecialcombo.js' ) ; -LoadScript( '_source/classes/fcktoolbarstylecombo.js' ) ; -LoadScript( '_source/classes/fcktoolbarfontformatcombo.js' ) ; -LoadScript( '_source/classes/fcktoolbarfontscombo.js' ) ; -LoadScript( '_source/classes/fcktoolbarfontsizecombo.js' ) ; -LoadScript( '_source/classes/fcktoolbarpanelbutton.js' ) ; -LoadScript( '_source/internals/fcktoolbaritems.js' ) ; -LoadScript( '_source/classes/fcktoolbar.js' ) ; -LoadScript( '_source/classes/fcktoolbarbreak_' + sSuffix + '.js' ) ; -LoadScript( '_source/internals/fcktoolbarset.js' ) ; -LoadScript( '_source/internals/fckdialog.js' ) ; -LoadScript( '_source/internals/fckdialog_' + sSuffix + '.js' ) ; -LoadScript( '_source/classes/fckmenuitem.js' ) ; -LoadScript( '_source/classes/fckmenublock.js' ) ; -LoadScript( '_source/classes/fckmenublockpanel.js' ) ; -LoadScript( '_source/classes/fckcontextmenu.js' ) ; -LoadScript( '_source/internals/fck_contextmenu.js' ) ; -LoadScript( '_source/classes/fckplugin.js' ) ; -LoadScript( '_source/internals/fckplugins.js' ) ; - -// @Packager.Remove.End - -// Base configuration file. -LoadScript( '../fckconfig.js' ) ; - - </script> - <script type="text/javascript"> - -if ( FCKBrowserInfo.IsIE ) -{ - // Remove IE mouse flickering. - 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. - } - - // Create the default cleanup object used by the editor. - FCK.IECleanup = new FCKIECleanup( window ) ; - FCK.IECleanup.AddItem( FCKTempBin, FCKTempBin.Reset ) ; - FCK.IECleanup.AddItem( FCK, FCK_Cleanup ) ; -} - -// The first function to be called on selection change must the the styles -// change checker, because the result of its processing may be used by another -// functions listening to the same event. -FCK.Events.AttachEvent( 'OnSelectionChange', function() { FCKStyles.CheckSelectionChanges() ; } ) ; - -// The config hidden field is processed immediately, because -// CustomConfigurationsPath may be set in the page. -FCKConfig.ProcessHiddenField() ; - -// Load the custom configurations file (if defined). -if ( FCKConfig.CustomConfigurationsPath.length > 0 ) - LoadScript( FCKConfig.CustomConfigurationsPath ) ; - - </script> - <script type="text/javascript"> - -// Load configurations defined at page level. -FCKConfig_LoadPageConfig() ; - -FCKConfig_PreProcess() ; - -// Load the active skin CSS. -LoadCss( FCKConfig.SkinPath + 'fck_editor.css' ) ; - -// Load the language file. -FCKLanguageManager.Initialize() ; -LoadScript( 'lang/' + FCKLanguageManager.ActiveLanguage.Code + '.js' ) ; - - </script> - <script type="text/javascript"> - -// Initialize the editing area context menu. -FCK_ContextMenu_Init() ; - -FCKPlugins.Load() ; - - </script> - <script type="text/javascript"> - -// Set the editor interface direction. -window.document.dir = FCKLang.Dir ; - - </script> - <script type="text/javascript"> - -window.onload = function() -{ - InitializeAPI() ; - - if ( FCKBrowserInfo.IsIE ) - FCK_PreloadImages() ; - else - LoadToolbarSetup() ; -} - -function LoadToolbarSetup() -{ - FCKeditorAPI._FunctionQueue.Add( LoadToolbar ) ; -} - -function LoadToolbar() -{ - var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ; - - if ( oToolbarSet.IsLoaded ) - StartEditor() ; - else - { - oToolbarSet.OnLoad = StartEditor ; - oToolbarSet.Load( FCKURLParams['Toolbar'] || 'Default' ) ; - } -} - -function StartEditor() -{ - // Remove the onload listener. - FCK.ToolbarSet.OnLoad = null ; - - FCKeditorAPI._FunctionQueue.Remove( LoadToolbar ) ; - - FCK.Events.AttachEvent( 'OnStatusChange', WaitForActive ) ; - - // Start the editor. - FCK.StartEditor() ; -} - -function WaitForActive( editorInstance, newStatus ) -{ - if ( newStatus == FCK_STATUS_ACTIVE ) - { - if ( FCKBrowserInfo.IsGecko ) - FCKTools.RunFunction( window.onresize ) ; - - _AttachFormSubmitToAPI() ; - - FCK.SetStatus( FCK_STATUS_COMPLETE ) ; - - // Call the special "FCKeditor_OnComplete" function that should be present in - // the HTML page where the editor is located. - if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' ) - window.parent.FCKeditor_OnComplete( FCK ) ; - } -} - -// Gecko browsers doens't calculate well that IFRAME size so we must -// recalculate it every time the window size changes. -if ( FCKBrowserInfo.IsGecko ) -{ - function Window_OnResize() - { - if ( FCKBrowserInfo.IsOpera ) - return ; - - var oCell = document.getElementById( 'xEditingArea' ) ; - - var eInnerElement = oCell.firstChild ; - if ( eInnerElement ) - { - eInnerElement.style.height = 0 ; - eInnerElement.style.height = oCell.scrollHeight - 2 ; - } - } - window.onresize = Window_OnResize ; -} - - </script> -</head> -<body> - <table width="100%" cellpadding="0" cellspacing="0" style="height: 100%; table-layout: fixed"> - <tr id="xToolbarRow" style="display: none"> - <td id="xToolbarSpace" style="overflow: hidden"> - <table width="100%" cellpadding="0" cellspacing="0"> - <tr id="xCollapsed" style="display: none"> - <td id="xExpandHandle" class="TB_Expand" colspan="3"> - <img class="TB_ExpandImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> - </tr> - <tr id="xExpanded" style="display: none"> - <td id="xTBLeftBorder" class="TB_SideBorder" style="width: 1px; display: none;"></td> - <td id="xCollapseHandle" style="display: none" class="TB_Collapse" valign="bottom"> - <img class="TB_CollapseImg" alt="" src="images/spacer.gif" width="8" height="4" /></td> - <td id="xToolbar" class="TB_ToolbarSet"></td> - <td class="TB_SideBorder" style="width: 1px"></td> - </tr> - </table> - </td> - </tr> - <tr> - <td id="xEditingArea" valign="top" style="height: 100%"></td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/filemanager/browser/default/browser.css b/editor/editor/filemanager/browser/default/browser.css @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -24,27 +24,24 @@ body { background-color: #f1f1e3; + margin-top:0; + margin-bottom:0; } form { - margin: 0px 0px 0px 0px ; - padding: 0px 0px 0px 0px ; + margin: 0; + padding: 0; } .Frame { background-color: #f1f1e3; - border-color: #f1f1e3; - border-right: thin inset; - border-top: thin inset; - border-left: thin inset; - border-bottom: thin inset; + border: thin inset #f1f1e3; } body.FileArea { - background-color: #ffffff; margin: 10px; } @@ -70,11 +67,8 @@ body, td, input, select .Button, button { - border-right: #737357 1px solid; - border-top: #737357 1px solid; - border-left: #737357 1px solid; color: #3b3b1f; - border-bottom: #737357 1px solid; + border: #737357 1px solid; background-color: #c7c78f; } @@ -86,4 +80,8 @@ body, td, input, select .FolderListFolder img { background-image: url(images/Folder.gif); -}- \ No newline at end of file +} + +.fullHeight { + height: 100%; +} diff --git a/editor/editor/filemanager/browser/default/browser.html b/editor/editor/filemanager/browser/default/browser.html @@ -1,7 +1,8 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" + "http://www.w3.org/TR/html4/frameset.dtd"> <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -24,9 +25,42 @@ <html> <head> <title>FCKeditor - Resources Browser</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/fckxml.js"></script> - <script language="javascript"> + <script type="text/javascript"> +// Automatically detect the correct document.domain (#1919). +(function() +{ + var d = document.domain ; + + while ( true ) + { + // Test if we can access a parent property. + try + { + var test = window.opener.document.domain ; + break ; + } + catch( e ) + {} + + // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... + d = d.replace( /.*?(?:\.|$)/, '' ) ; + + if ( d.length == 0 ) + break ; // It was not able to detect the domain. + + try + { + document.domain = d ; + } + catch (e) + { + break ; + } + } +})() ; function GetUrlParam( paramName ) { @@ -140,7 +174,10 @@ oIcons.GetIcon = function( fileName ) function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) { - window.frames['frmUpload'].OnUploadCompleted( errorNumber, fileName ) ; + if (errorNumber == "1") + window.frames['frmUpload'].OnUploadCompleted( errorNumber, customMsg ) ; + else + window.frames['frmUpload'].OnUploadCompleted( errorNumber, fileName ) ; } </script> diff --git a/editor/editor/filemanager/browser/default/frmactualfolder.html b/editor/editor/filemanager/browser/default/frmactualfolder.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -23,14 +23,42 @@ --> <html> <head> + <title>Folder path</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript"> - -function OnResize() +// Automatically detect the correct document.domain (#1919). +(function() { - divName.style.width = "1px" ; - divName.style.width = tdName.offsetWidth + "px" ; -} + var d = document.domain ; + + while ( true ) + { + // Test if we can access a parent property. + try + { + var test = window.top.opener.document.domain ; + break ; + } + catch( e ) + {} + + // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... + d = d.replace( /.*?(?:\.|$)/, '' ) ; + + if ( d.length == 0 ) + break ; // It was not able to detect the domain. + + try + { + document.domain = d ; + } + catch (e) + { + break ; + } + } +})() ; function SetCurrentFolder( resourceType, folderPath ) { @@ -44,8 +72,8 @@ window.onload = function() </script> </head> - <body bottomMargin="0" topMargin="0"> - <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> + <body> + <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td> <button style="WIDTH: 100%" type="button"> @@ -55,7 +83,7 @@ window.onload = function() <td>&nbsp;</td> <td id="tdName" width="100%" nowrap class="ActualFolder">/</td> <td>&nbsp;</td> - <td><img height="8" src="images/ButtonArrow.gif" width="12"></td> + <td><img height="8" src="images/ButtonArrow.gif" width="12" alt=""></td> <td>&nbsp;</td> </tr> </table> diff --git a/editor/editor/filemanager/browser/default/frmcreatefolder.html b/editor/editor/filemanager/browser/default/frmcreatefolder.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -23,10 +23,11 @@ --> <html> <head> + <title>Create Folder</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> - <script language="javascript"> + <script type="text/javascript"> function SetCurrentFolder( resourceType, folderPath ) { @@ -93,8 +94,8 @@ window.onload = function() } </script> </head> - <body bottomMargin="0" topMargin="0"> - <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> + <body> + <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td> <button type="button" style="WIDTH: 100%" onclick="CreateFolder();"> diff --git a/editor/editor/filemanager/browser/default/frmfolders.html b/editor/editor/filemanager/browser/default/frmfolders.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -24,9 +24,11 @@ --> <html> <head> + <title>Folders</title> <link href="browser.css" type="text/css" rel="stylesheet"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="js/common.js"></script> - <script language="javascript"> + <script type="text/javascript"> var sActiveFolder ; @@ -65,12 +67,12 @@ oListManager.AddItem = function( folderName, folderPath ) // Add the folder icon cell. var oCell = oRow.insertCell(-1) ; oCell.width = 16 ; - oCell.innerHTML = sLink + '<img alt="" src="images/spacer.gif" width="16" height="16" border="0"></a>' ; + oCell.innerHTML = sLink + '<img alt="" src="images/spacer.gif" width="16" height="16" border="0"><\/a>' ; // Add the folder name cell. oCell = oRow.insertCell(-1) ; oCell.noWrap = true ; - oCell.innerHTML = '&nbsp;' + sLink + folderName + '</a>' ; + oCell.innerHTML = '&nbsp;' + sLink + folderName + '<\/a>' ; this.TableRows[ folderPath ] = oRow ; } @@ -185,7 +187,7 @@ window.onload = function() } </script> </head> - <body class="FileArea" bottomMargin="10" leftMargin="10" topMargin="10" rightMargin="10"> + <body class="FileArea"> <table id="tableFiles" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr id="trUp" style="DISPLAY: none"> <td width="16"><a id="linkUpIcon" href="#"><img alt="" src="images/FolderUp.gif" width="16" height="16" border="0"></a></td> diff --git a/editor/editor/filemanager/browser/default/frmresourceslist.html b/editor/editor/filemanager/browser/default/frmresourceslist.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -21,9 +21,11 @@ * * This page shows all resources available in a folder in the File Browser. --> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html> <head> - <link href="browser.css" type="text/css" rel="stylesheet" /> + <title>Resources</title> + <link href="browser.css" type="text/css" rel="stylesheet"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript" src="js/common.js"></script> <script type="text/javascript"> @@ -87,11 +89,29 @@ function OpenFolder( folderPath ) function OpenFile( fileUrl ) { - window.top.opener.SetUrl( encodeURI( fileUrl ) ) ; + + //PATCH: Using CKEditors API we set the file in preview window. + + funcNum = GetUrlParam('CKEditorFuncNum') ; + window.top.opener.CKEDITOR.tools.callFunction( funcNum, encodeURI( fileUrl ).replace( '#', '%23' )); + + /////////////////////////////////// window.top.close() ; window.top.opener.focus() ; } + +function GetUrlParam( paramName ) +{ + var oRegex = new RegExp( '[\?&]' + paramName + '=([^&]+)', 'i' ) ; + var oMatch = oRegex.exec( window.top.location.search ) ; + + if ( oMatch && oMatch.length > 1 ) + return decodeURIComponent( oMatch[1] ) ; + else + return '' ; +} + function LoadResources( resourceType, folderPath ) { oListManager.Clear() ; @@ -143,7 +163,7 @@ function GetFoldersAndFilesCallBack( fckXml ) // Get the optional "url" attribute. If not available, build the url. var oFileUrlAtt = oNodes[j].attributes.getNamedItem('url') ; - var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName ; + var sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : encodeURI( sCurrentFolderUrl + sFileName ).replace( /#/g, '%23' ) ; oHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ; } diff --git a/editor/editor/filemanager/browser/default/frmresourcetype.html b/editor/editor/filemanager/browser/default/frmresourcetype.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -23,10 +23,11 @@ --> <html> <head> + <title>Available types</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link href="browser.css" type="text/css" rel="stylesheet"> <script type="text/javascript" src="js/common.js"></script> - <script language="javascript"> + <script type="text/javascript"> function SetResourceType( type ) { @@ -42,21 +43,24 @@ var aTypes = [ window.onload = function() { + var oCombo = document.getElementById('cmbType') ; + oCombo.innerHTML = '' ; for ( var i = 0 ; i < aTypes.length ; i++ ) { if ( oConnector.ShowAllTypes || aTypes[i][0] == oConnector.ResourceType ) - AddSelectOption( document.getElementById('cmbType'), aTypes[i][1], aTypes[i][0] ) ; + AddSelectOption( oCombo, aTypes[i][1], aTypes[i][0] ) ; } } </script> </head> - <body bottomMargin="0" topMargin="0"> - <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> + <body> + <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0"> <tr> <td nowrap> Resource Type<BR> <select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);"> + <option>&nbsp; </select> </td> </tr> diff --git a/editor/editor/filemanager/browser/default/frmupload.html b/editor/editor/filemanager/browser/default/frmupload.html @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -21,10 +21,11 @@ * * Page used to upload new files in the current folder. --> -<html xmlns="http://www.w3.org/1999/xhtml"> +<html> <head> <title>File Upload</title> - <link href="browser.css" type="text/css" rel="stylesheet" /> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link href="browser.css" type="text/css" rel="stylesheet" > <script type="text/javascript" src="js/common.js"></script> <script type="text/javascript"> @@ -94,9 +95,9 @@ window.onload = function() } </script> </head> - <body bottommargin="0" topmargin="0"> + <body> <form id="frmUpload" action="" target="frmUploadWorker" method="post" enctype="multipart/form-data" onsubmit="return OnSubmit();"> - <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0"> + <table class="fullHeight" cellspacing="0" cellpadding="0" width="100%" border="0"> <tr> <td nowrap="nowrap"> <span id="eUploadMessage">Upload a new file in this folder</span><br> diff --git a/editor/editor/filemanager/browser/default/js/common.js b/editor/editor/filemanager/browser/default/js/common.js @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -22,6 +22,39 @@ * File Browser dialog window. */ +// Automatically detect the correct document.domain (#1919). +(function() +{ + var d = document.domain ; + + while ( true ) + { + // Test if we can access a parent property. + try + { + var test = window.top.opener.document.domain ; + break ; + } + catch( e ) + {} + + // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... + d = d.replace( /.*?(?:\.|$)/, '' ) ; + + if ( d.length == 0 ) + break ; // It was not able to detect the domain. + + try + { + document.domain = d ; + } + catch (e) + { + break ; + } + } +})() ; + function AddSelectOption( selectElement, optionText, optionValue ) { var oOption = document.createElement("OPTION") ; @@ -52,4 +85,4 @@ StringBuilder.prototype.Append = function( value ) StringBuilder.prototype.ToString = function() { return this._Strings.join( '' ) ; -}- \ No newline at end of file +} diff --git a/editor/editor/filemanager/browser/default/js/fckxml.js b/editor/editor/filemanager/browser/default/js/fckxml.js @@ -1,6 +1,6 @@ /* * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben + * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * @@ -31,8 +31,8 @@ var FCKXml = function() FCKXml.prototype.GetHttpRequest = function() { // Gecko / IE7 - if ( typeof(XMLHttpRequest) != 'undefined' ) - return new XMLHttpRequest() ; + try { return new XMLHttpRequest(); } + catch(e) {} // IE6 try { return new ActiveXObject( 'Msxml2.XMLHTTP' ) ; } @@ -61,7 +61,25 @@ FCKXml.prototype.LoadUrl = function( urlToCall, asyncFunctionPointer ) { if ( oXmlHttp.readyState == 4 ) { - if ( ( oXmlHttp.status != 200 && oXmlHttp.status != 304 ) || oXmlHttp.responseXML == null || oXmlHttp.responseXML.firstChild == null ) + var oXml ; + try + { + // this is the same test for an FF2 bug as in fckxml_gecko.js + // but we've moved the responseXML assignment into the try{} + // so we don't even have to check the return status codes. + var test = oXmlHttp.responseXML.firstChild ; + oXml = oXmlHttp.responseXML ; + } + catch ( e ) + { + try + { + oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; + } + catch ( e ) {} + } + + if ( !oXml || !oXml.firstChild || oXml.firstChild.nodeName == 'parsererror' ) { alert( 'The server didn\'t send back a proper XML response. Please contact your system administrator.\n\n' + 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')\n\n' + @@ -70,7 +88,7 @@ FCKXml.prototype.LoadUrl = function( urlToCall, asyncFunctionPointer ) return ; } - oFCKXml.DOMDocument = oXmlHttp.responseXML ; + oFCKXml.DOMDocument = oXml ; asyncFunctionPointer( oFCKXml ) ; } } diff --git a/editor/editor/images/anchor.gif b/editor/editor/images/anchor.gif Binary files differ. diff --git a/editor/editor/images/arrow_ltr.gif b/editor/editor/images/arrow_ltr.gif Binary files differ. diff --git a/editor/editor/images/arrow_rtl.gif b/editor/editor/images/arrow_rtl.gif Binary files differ. diff --git a/editor/editor/js/fckeditorcode_gecko.js b/editor/editor/js/fckeditorcode_gecko.js @@ -1,108 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This file has been compressed for better performance. The original source - * can be found at "editor/_source". - */ - -var FCK_STATUS_NOTLOADED=window.parent.FCK_STATUS_NOTLOADED=0;var FCK_STATUS_ACTIVE=window.parent.FCK_STATUS_ACTIVE=1;var FCK_STATUS_COMPLETE=window.parent.FCK_STATUS_COMPLETE=2;var FCK_TRISTATE_OFF=window.parent.FCK_TRISTATE_OFF=0;var FCK_TRISTATE_ON=window.parent.FCK_TRISTATE_ON=1;var FCK_TRISTATE_DISABLED=window.parent.FCK_TRISTATE_DISABLED=-1;var FCK_UNKNOWN=window.parent.FCK_UNKNOWN=-9;var FCK_TOOLBARITEM_ONLYICON=window.parent.FCK_TOOLBARITEM_ONLYICON=0;var FCK_TOOLBARITEM_ONLYTEXT=window.parent.FCK_TOOLBARITEM_ONLYTEXT=1;var FCK_TOOLBARITEM_ICONTEXT=window.parent.FCK_TOOLBARITEM_ICONTEXT=2;var FCK_EDITMODE_WYSIWYG=window.parent.FCK_EDITMODE_WYSIWYG=0;var FCK_EDITMODE_SOURCE=window.parent.FCK_EDITMODE_SOURCE=1;var FCK_IMAGES_PATH='images/';var FCK_SPACER_PATH='images/spacer.gif';var CTRL=1000;var SHIFT=2000;var ALT=4000;var FCK_STYLE_BLOCK=0;var FCK_STYLE_INLINE=1;var FCK_STYLE_OBJECT=2; -String.prototype.Contains=function(A){return (this.indexOf(A)>-1);};String.prototype.Equals=function(){var A=arguments;if (A.length==1&&A[0].pop) A=A[0];for (var i=0;i<A.length;i++){if (this==A[i]) return true;};return false;};String.prototype.IEquals=function(){var A=this.toUpperCase();var B=arguments;if (B.length==1&&B[0].pop) B=B[0];for (var i=0;i<B.length;i++){if (A==B[i].toUpperCase()) return true;};return false;};String.prototype.ReplaceAll=function(A,B){var C=this;for (var i=0;i<A.length;i++){C=C.replace(A[i],B[i]);};return C;};String.prototype.StartsWith=function(A){return (this.substr(0,A.length)==A);};String.prototype.EndsWith=function(A,B){var C=this.length;var D=A.length;if (D>C) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.Remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B<this.length) s+=this.substring(A+B,this.length);return s;};String.prototype.Trim=function(){return this.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,'');};String.prototype.LTrim=function(){return this.replace(/^[ \t\n\r]*/g,'');};String.prototype.RTrim=function(){return this.replace(/[ \t\n\r]*$/g,'');};String.prototype.ReplaceNewLineChars=function(A){return this.replace(/\n/g,A);};String.prototype.Replace=function(A,B,C){if (typeof B=='function'){return this.replace(A,function(){return B.apply(C||this,arguments);});}else return this.replace(A,B);};Array.prototype.AddItem=function(A){var i=this.length;this[i]=A;return i;};Array.prototype.IndexOf=function(A){for (var i=0;i<this.length;i++){if (this[i]==A) return i;};return-1;}; -var s=navigator.userAgent.toLowerCase();var FCKBrowserInfo={IsIE:/*@cc_on!@*/false,IsIE7:/*@cc_on!@*/false&&s.Contains('msie 7'),IsGecko:s.Contains('gecko/'),IsSafari:s.Contains(' applewebkit/'),IsOpera:!!window.opera,IsMac:s.Contains('macintosh')};(function(A){A.IsGeckoLike=(A.IsGecko||A.IsSafari||A.IsOpera);if (A.IsGecko){var B=s.match(/gecko\/(\d+)/)[1];A.IsGecko10=((B<20051111)||(/rv:1\.7/.test(s)));A.IsGecko19=/rv:1\.9/.test(s);}else A.IsGecko10=false;})(FCKBrowserInfo); -var FCKURLParams={};(function(){var A=document.location.search.substr(1).split('&');for (var i=0;i<A.length;i++){var B=A[i].split('=');var C=decodeURIComponent(B[0]);var D=decodeURIComponent(B[1]);FCKURLParams[C]=D;}})(); -var FCKEvents=function(A){this.Owner=A;this._RegisteredEvents={};};FCKEvents.prototype.AttachEvent=function(A,B){var C;if (!(C=this._RegisteredEvents[A])) this._RegisteredEvents[A]=[B];else{if (C.IndexOf(B)==-1) C.push(B);}};FCKEvents.prototype.FireEvent=function(A,B){var C=true;var D=this._RegisteredEvents[A];if (D){for (var i=0;i<D.length;i++){try{C=(D[i](this.Owner,B)&&C);}catch(e){if (e.number!=-2146823277) throw e;}}};return C;}; -var FCKDataProcessor=function(){};FCKDataProcessor.prototype={ConvertToHtml:function(A){if (FCKConfig.FullPage){FCK.DocTypeDeclaration=A.match(FCKRegexLib.DocTypeTag);if (!FCKRegexLib.HasBodyTag.test(A)) A='<body>'+A+'</body>';if (!FCKRegexLib.HtmlOpener.test(A)) A='<html dir="'+FCKConfig.ContentLangDirection+'">'+A+'</html>';if (!FCKRegexLib.HeadOpener.test(A)) A=A.replace(FCKRegexLib.HtmlOpener,'$&<head><title></title></head>');return A;}else{var B=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"';if (FCKBrowserInfo.IsIE&&FCKConfig.DocType.length>0&&!FCKRegexLib.Html4DocType.test(FCKConfig.DocType)) B+=' style="overflow-y: scroll"';B+='><head><title></title></head><body'+FCKConfig.GetBodyAttributes()+'>'+A+'</body></html>';return B;}},ConvertToDataFormat:function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if (C&&FCKRegexLib.EmptyOutParagraph.test(E)) return '';return E;},FixHtml:function(A){return A;}}; -var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent('OnSelectionChange',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:'',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?'<base href="'+FCKConfig.BaseHref+'" _fcktemp="true"></base>':'';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86/*V*/) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45/*INS*/) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById('xEditingArea'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent('OnStatusChange',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!='p'&&A!='div') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:if (!FCKListsLib.BlockElements[D.nodeName.toLowerCase()]&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;};if (F){var G=D.parentNode;if (!E) E=G.insertBefore(B.createElement(A),D);E.appendChild(G.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,'$1');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+'\n'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+'\n'+D;};return FCKConfig.ProtectedSource.Revert(D);},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName];if (B) B(A);},RegisterDoubleClickHandler:function(A,B){FCK.RegisteredDoubleClickHandlers[B.toUpperCase()]=A;},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent('OnSelectionChange');FCK.Events.FireEvent('OnAfterSetHTML');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsImg,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsArea,'$& _fcksavedurl=$1');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?'|ABBR|XML|EMBED':'ABBR|XML|EMBED';var C;if (B.length>0){C=new RegExp('<('+B+')(?!\w|:)','gi');A=A.replace(C,'<FCK:$1');C=new RegExp('<\/('+B+')>','gi');A=A.replace(C,'<\/FCK:$1>');};B='META';if (FCKBrowserInfo.IsIE) B+='|HR';C=new RegExp('<(('+B+')(?=\\s|>|/)[\\s\\S]*?)/?>','gi');A=A.replace(C,'<FCK:$1 />');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,'$1></$2>');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);var C='';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+='<link href="'+FCKConfig.FullBasePath+'css/fck_showtableborders_gecko.css" rel="stylesheet" type="text/css" _fcktemp="true" />';C+='<link href="'+FCKConfig.FullBasePath+'css/fck_internal.css" rel="stylesheet" type="text/css" _fcktemp="true" />';A=A.replace(FCKRegexLib.HeadCloser,C+'$&');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent('OnAfterSetHTML');};if (FCKBrowserInfo.IsGecko) window.onresize();},HasFocus:false,RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent('OnSelectionChange');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals('Paste')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B='';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:'';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent('OnPaste')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');},Preview:function(){var A=FCKConfig.ScreenWidth*0.8;var B=FCKConfig.ScreenHeight*0.7;var C=(FCKConfig.ScreenWidth-A)/2;var D=window.open('',null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+A+',height='+B+',left='+C);var E;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) E=FCK.TempBaseTag+FCK.GetXHTML();else E=FCK.GetXHTML();}else{E=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"><head>'+FCK.TempBaseTag+'<title>'+FCKLang.Preview+'</title>'+_FCK_GetEditorAreaStyleTags()+'</head><body'+FCKConfig.GetBodyAttributes()+'>'+FCK.GetXHTML()+'</body></html>';};D.document.write(E);D.document.close();},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand('ShowBlocks').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A=='string') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();var C=new FCKDomRange(this.EditorWindow);if (FCKListsLib.BlockElements[B]!=null){C.SplitBlock();C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input']);if (!D&&FCKConfig.EnterMode!='br'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGecko){if (D) D.scrollIntoView(false);A.scrollIntoView(false);}}else{C.MoveToSelection();C.DeleteContents();C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text='\t';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push('\t');a.push(D.value.substr(F));D.value=a.join('');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return ' '+B+'_fckprotectedatt="'+encodeURIComponent(A)+'"';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type=='mousedown') FCK.MouseDownFlag=true;else if (A.type=='mouseup') FCK.MouseDownFlag=false;else if (A.type=='mousemove') FCK.Events.FireEvent('OnMouseMove',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals('br')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCK.EditorWindow.getSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals('body')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(D.ownerDocument.createTextNode('\ufeff'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML('');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,'mousemove',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mouseup',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){var A=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,'keyup',A);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand('ShowBlocks').RestoreState();if (FCK.Status!=0) return;if (FCKConfig.Debug) FCKDebug._GetWindow();FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){var A='';var B=FCKConfig.EditorAreaCSS;var C=FCKConfig.EditorAreaStyles;for (var i=0;i<B.length;i++) A+='<link href="'+B[i]+'" rel="stylesheet" type="text/css" />';if (C&&C.length>0) A+="<style>"+C+"</style>";return A;};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case 'Paste':return!FCK.Paste();case 'Cut':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals('Paste','Undo','Redo','SelectAll','Cut')) return false;};var C=FCK.Commands.GetCommand(B);return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals('input','textarea')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i<this.Elements.length) this.Elements[i++]=null;this.Elements.length=0;}};var FCKFocusManager=FCK.FocusManager={IsLocked:false,AddWindow:function(A,B){var C;if (FCKBrowserInfo.IsIE) C=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else if (FCKBrowserInfo.IsSafari) C=A;else C=A.document;FCKTools.AddEventListener(C,'blur',FCKFocusManager_Win_OnBlur);FCKTools.AddEventListener(C,'focus',B?FCKFocusManager_Win_OnFocus_Area:FCKFocusManager_Win_OnFocus);},RemoveWindow:function(A){if (FCKBrowserInfo.IsIE) oTarget=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else oTarget=A.document;FCKTools.RemoveEventListener(oTarget,'blur',FCKFocusManager_Win_OnBlur);FCKTools.RemoveEventListener(oTarget,'focus',FCKFocusManager_Win_OnFocus_Area);FCKTools.RemoveEventListener(oTarget,'focus',FCKFocusManager_Win_OnFocus);},Lock:function(){this.IsLocked=true;},Unlock:function(){if (this._HasPendingBlur) FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);this.IsLocked=false;},_ResetTimer:function(){this._HasPendingBlur=false;if (this._Timer){window.clearTimeout(this._Timer);delete this._Timer;}}};function FCKFocusManager_Win_OnBlur(){if (typeof(FCK)!='undefined'&&FCK.HasFocus){FCKFocusManager._ResetTimer();FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);}};function FCKFocusManager_FireOnBlur(){if (FCKFocusManager.IsLocked) FCKFocusManager._HasPendingBlur=true;else{FCK.HasFocus=false;FCK.Events.FireEvent("OnBlur");}};function FCKFocusManager_Win_OnFocus_Area(){FCK.Focus();FCKFocusManager_Win_OnFocus();};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}}; -FCK.Description="FCKeditor for Gecko Browsers";FCK.InitializeBehaviors=function(){if (FCKBrowserInfo.IsGecko) Window_OnResize();FCKFocusManager.AddWindow(this.EditorWindow);this.ExecOnSelectionChange=function(){FCK.Events.FireEvent("OnSelectionChange");};this._ExecDrop=function(evt){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){if (evt.dataTransfer){var A=evt.dataTransfer.getData('Text');A=FCKTools.HTMLEncode(A);A=FCKTools.ProcessLineBreaks(window,FCKConfig,A);FCK.InsertHtml(A);}else if (FCKConfig.ShowDropDialog) FCK.PasteAsPlainText();}else if (FCKConfig.ShowDropDialog) FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security');evt.preventDefault();evt.stopPropagation();};this._ExecCheckCaret=function(evt){if (FCK.EditMode!=0) return;if (evt.type=='keypress'){var B=evt.keyCode;if (B<33||B>40) return;};var C=function(H){if (H.nodeType!=1) return false;var D=H.tagName.toLowerCase();return (FCKListsLib.BlockElements[D]||FCKListsLib.EmptyElements[D]);};var E=function(){var F=FCK.EditorWindow.getSelection();var G=F.getRangeAt(0);if (!G||!G.collapsed) return;var H=G.endContainer;if (H.nodeType!=3) return;if (H.nodeValue.length!=G.endOffset) return;var I=H.parentNode.tagName.toLowerCase();if (!(I=='a'||(!(FCKListsLib.BlockElements[I]||FCKListsLib.NonEmptyBlockElements[I])&&B==35))) return;var J=FCKTools.GetNextTextNode(H,H.parentNode,C);if (J) return;G=FCK.EditorDocument.createRange();J=FCKTools.GetNextTextNode(H,H.parentNode.parentNode,C);if (J){if (FCKBrowserInfo.IsOpera&&B==37) return;G.setStart(J,0);G.setEnd(J,0);}else{while (H.parentNode&&H.parentNode!=FCK.EditorDocument.body&&H.parentNode!=FCK.EditorDocument.documentElement&&H==H.parentNode.lastChild&&(!FCKListsLib.BlockElements[H.parentNode.tagName.toLowerCase()]&&!FCKListsLib.NonEmptyBlockElements[H.parentNode.tagName.toLowerCase()])) H=H.parentNode;if (FCKListsLib.BlockElements[I]||FCKListsLib.EmptyElements[I]||H==FCK.EditorDocument.body){G.setStart(H,H.childNodes.length);G.setEnd(H,H.childNodes.length);}else{var K=H.nextSibling;while (K){if (K.nodeType!=1){K=K.nextSibling;continue;};var L=K.tagName.toLowerCase();if (FCKListsLib.BlockElements[L]||FCKListsLib.EmptyElements[L]||FCKListsLib.NonEmptyBlockElements[L]) break;K=K.nextSibling;};var M=FCK.EditorDocument.createTextNode('');if (K) H.parentNode.insertBefore(M,K);else H.parentNode.appendChild(M);G.setStart(M,0);G.setEnd(M,0);}};F.removeAllRanges();F.addRange(G);FCK.Events.FireEvent("OnSelectionChange");};setTimeout(E,1);};this.ExecOnSelectionChangeTimer=function(){if (FCK.LastOnChangeTimer) window.clearTimeout(FCK.LastOnChangeTimer);FCK.LastOnChangeTimer=window.setTimeout(FCK.ExecOnSelectionChange,100);};this.EditorDocument.addEventListener('mouseup',this.ExecOnSelectionChange,false);this.EditorDocument.addEventListener('keyup',this.ExecOnSelectionChangeTimer,false);this._DblClickListener=function(e){FCK.OnDoubleClick(e.target);e.stopPropagation();};this.EditorDocument.addEventListener('dblclick',this._DblClickListener,true);this.EditorDocument.addEventListener('keydown',this._KeyDownListener,false);if (FCKBrowserInfo.IsGecko){this.EditorWindow.addEventListener('dragdrop',this._ExecDrop,true);}else if (FCKBrowserInfo.IsSafari){var N=function(evt){ if (!FCK.MouseDownFlag) evt.returnValue=false;};this.EditorDocument.addEventListener('dragenter',N,true);this.EditorDocument.addEventListener('dragover',N,true);this.EditorDocument.addEventListener('drop',this._ExecDrop,true);this.EditorDocument.addEventListener('mousedown',function(ev){var O=ev.srcElement;if (O.nodeName.IEquals('IMG','HR','INPUT','TEXTAREA','SELECT')){FCKSelection.SelectNode(O);}},true);this.EditorDocument.addEventListener('mouseup',function(ev){if (ev.srcElement.nodeName.IEquals('INPUT','TEXTAREA','SELECT')) ev.preventDefault()},true);this.EditorDocument.addEventListener('click',function(ev){if (ev.srcElement.nodeName.IEquals('INPUT','TEXTAREA','SELECT')) ev.preventDefault()},true);};if (FCKBrowserInfo.IsGecko||FCKBrowserInfo.IsOpera){this.EditorDocument.addEventListener('keypress',this._ExecCheckCaret,false);this.EditorDocument.addEventListener('click',this._ExecCheckCaret,false);};FCK.ContextMenu._InnerContextMenu.SetMouseClickWindow(FCK.EditorWindow);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument);};FCK.MakeEditable=function(){this.EditingArea.MakeEditable();};function Document_OnContextMenu(e){if (!e.target._FCKShowContextMenu) e.preventDefault();};document.oncontextmenu=Document_OnContextMenu;FCK._BaseGetNamedCommandState=FCK.GetNamedCommandState;FCK.GetNamedCommandState=function(A){switch (A){case 'Unlink':return FCKSelection.HasAncestorNode('A')?0:-1;default:return FCK._BaseGetNamedCommandState(A);}};FCK.RedirectNamedCommands={Print:true,Paste:true,Cut:true,Copy:true};FCK.ExecuteRedirectedNamedCommand=function(A,B){switch (A){case 'Print':FCK.EditorWindow.print();break;case 'Paste':try{if (FCKBrowserInfo.IsSafari) throw '';if (FCK.Paste()) FCK.ExecuteNamedCommand('Paste',null,true);}catch (e) { FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security');};break;case 'Cut':try { FCK.ExecuteNamedCommand('Cut',null,true);}catch (e) { alert(FCKLang.PasteErrorCut);};break;case 'Copy':try { FCK.ExecuteNamedCommand('Copy',null,true);}catch (e) { alert(FCKLang.PasteErrorCopy);};break;default:FCK.ExecuteNamedCommand(A,B);}};FCK._ExecPaste=function(){FCKUndo.SaveUndoStep();if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};return true;};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKUndo.SaveUndoStep();this.EditorDocument.execCommand('inserthtml',false,A);this.Focus();this.Events.FireEvent("OnSelectionChange");};FCK.PasteAsPlainText=function(){FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,['FCKDialog_Paste',FCKLang.PasteAsText,'dialog/fck_paste.html',400,330,'PlainText']);};FCK.GetClipboardHTML=function(){return '';};FCK.CreateLink=function(A,B){var C=[];FCK.ExecuteNamedCommand('Unlink',null,false,!!B);if (A.length>0){var D='javascript:void(0);/*'+(new Date().getTime())+'*/';FCK.ExecuteNamedCommand('CreateLink',D,false,!!B);var E=this.EditorDocument.evaluate("//a[@href='"+D+"']",this.EditorDocument.body,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);for (var i=0;i<E.snapshotLength;i++){var F=E.snapshotItem(i);F.href=A;if (D==F.innerHTML) F.innerHTML='';C.push(F);}};return C;};FCK._FillEmptyBlock=function(A){if (!A||A.nodeType!=1) return;var B=A.tagName.toLowerCase();if (B!='p'&&B!='div') return;if (A.firstChild) return;FCKTools.AppendBogusBr(A);};FCK._ExecCheckEmptyBlock=function(){FCK._FillEmptyBlock(FCK.EditorDocument.body.firstChild);var A=FCK.EditorWindow.getSelection();if (!A||A.rangeCount<1) return;var B=A.getRangeAt(0);FCK._FillEmptyBlock(B.startContainer);}; -var FCKConfig=FCK.Config={};if (document.location.protocol=='file:'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\/gi, '/');var sFullProtocol=document.location.href.match(/^(file\:\/{2,3})/)[1];if (FCKBrowserInfo.IsOpera) sFullProtocol+='localhost/';FCKConfig.BasePath=sFullProtocol+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf('/')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;}else{FCKConfig.BasePath=document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=document.location.protocol+'//'+document.location.host+FCKConfig.BasePath;};FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\/$/,'');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+'___Config');if (!A) return;var B=A.value.split('&');for (var i=0;i<B.length;i++){if (B[i].length==0) continue;var C=B[i].split('=');var D=decodeURIComponent(C[0]);var E=decodeURIComponent(C[1]);if (D=='CustomConfigurationsPath') FCKConfig[D]=E;else if (E.toLowerCase()=="true") this.PageConfig[D]=true;else if (E.toLowerCase()=="false") this.PageConfig[D]=false;else if (E.length>0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) {/*Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error).*/}};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';if (typeof(A.EditorAreaCSS)=='string') A.EditorAreaCSS=A.EditorAreaCSS.split(',');var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;else if (typeof(B)=='string') A.ToolbarComboPreviewCSS=[B];};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[/<!--[\s\S]*?-->/g,/<script[\s\S]*?<\/script>/gi,/<noscript[\s\S]*?<\/noscript>/gi,/<object[\s\S]+?<\/object>/gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.AddItem(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return '<!--{'+B+C+'}-->';};for (var i=0;i<this.RegexEntries.length;i++){A=A.replace(this.RegexEntries[i],_Replace);};return A;};FCKConfig.ProtectedSource.Revert=function(A,B){function _Replace(m,opener,index){var C=B?FCKTempBin.RemoveElement(index):FCKTempBin.Elements[index];return FCKConfig.ProtectedSource.Revert(C,B);};var D=new RegExp("(<|&lt;)!--\\{"+this._CodeTag+"(\\d+)\\}--(>|&gt;)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A='';if (this.BodyId&&this.BodyId.length>0) A+=' id="'+this.BodyId+'"';if (this.BodyClass&&this.BodyClass.length>0) A+=' class="'+this.BodyClass+'"';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=' '+FCKConfig.BodyClass;}; -var FCKDebug={};FCKDebug._GetWindow=function(){if (!this.DebugWindow||this.DebugWindow.closed) this.DebugWindow=window.open(FCKConfig.BasePath+'fckdebug.html','FCKeditorDebug','menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500',true);return this.DebugWindow;};FCKDebug.Output=function(A,B,C){if (!FCKConfig.Debug) return;try{this._GetWindow().Output(A,B);}catch (e) {}};FCKDebug.OutputObject=function(A,B){if (!FCKConfig.Debug) return;try{this._GetWindow().OutputObject(A,B);}catch (e) {}} -var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length<D){B.splitText(D-C.length);A.removeChild(A.firstChild);}};break;}},RTrimNode:function(A){var B;while ((B=A.lastChild)){if (B.nodeType==3){var C=B.nodeValue.RTrim();var D=B.nodeValue.length;if (C.length==0){B.parentNode.removeChild(B);continue;}else if (C.length<D){B.splitText(C.length);A.lastChild.parentNode.removeChild(A.lastChild);}};break;};if (!FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsOpera){B=A.lastChild;if (B&&B.nodeType==1&&B.nodeName.toLowerCase()=='br'){B.parentNode.removeChild(B);}}},RemoveNode:function(A,B){if (B){var C;while ((C=A.firstChild)) A.parentNode.insertBefore(A.removeChild(C),A);};return A.parentNode.removeChild(A);},GetFirstChild:function(A,B){if (typeof (B)=='string') B=[B];var C=A.firstChild;while(C){if (C.nodeType==1&&C.tagName.Equals.apply(C.tagName,B)) return C;C=C.nextSibling;};return null;},GetLastChild:function(A,B){if (typeof (B)=='string') B=[B];var C=A.lastChild;while(C){if (C.nodeType==1&&(!B||C.tagName.Equals(B))) return C;C=C.previousSibling;};return null;},GetPreviousSourceElement:function(A,B,C,D){if (!A) return null;if (C&&A.nodeType==1&&A.nodeName.IEquals(C)) return null;if (A.previousSibling) A=A.previousSibling;else return this.GetPreviousSourceElement(A.parentNode,B,C,D);while (A){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (!D||!A.nodeName.IEquals(D)) return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i<C.length;i++){if (C[i]==D[i]) E.push(C[i]);};return E;},GetCommonParentNode:function(A,B,C){var D={};if (!C.pop) C=[C];while (C.length>0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()=='br'&&(A.body.firstChild.getAttribute('_moz_dirty')!=null||A.body.firstChild.getAttribute('type')=='_moz')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!='\xa0'&&String(D.firstChild.tagName).toLowerCase()!='br')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i<B.length;i++){if (FCKBrowserInfo.IsIE&&B[i].nodeName=='class'){if (A.className.length>0) return true;}else if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()=='class') B='className';return A.removeAttribute(B,0);},GetAttributeValue:function(A,B){var C=B;if (typeof B=='string') B=A.attributes[B];else C=B.nodeName;if (B&&B.specified){if (C=='style') return A.style.cssText;else if (C=='class'||C.indexOf('on')==0) return B.nodeValue;else{return A.getAttribute(C,2);}};return null;},Contains:function(A,B){if (A.contains&&B.nodeType==1) return A.contains(B);while ((B=B.parentNode)){if (B==A) return true;};return false;},BreakParent:function(A,B,C){var D=C||new FCKDomRange(FCKTools.GetElementWindow(A));D.SetStart(A,4);D.SetEnd(B,4);var E=D.ExtractContents();D.InsertNode(A.parentNode.removeChild(A));E.InsertAfterNode(A);D.Release(!!C);},GetNodeAddress:function(A,B){var C=[];while (A&&A!=A.ownerDocument.documentElement){var D=A.parentNode;var E=-1;for(var i=0;i<D.childNodes.length;i++){var F=D.childNodes[i];if (B===true&&F.nodeType==3&&F.previousSibling&&F.previousSibling.nodeType==3) continue;E++;if (D.childNodes[i]==A) break;};C.unshift(E);A=A.parentNode;};return C;},GetNodeFromAddress:function(A,B,C){var D=A.documentElement;for (var i=0;i<B.length;i++){var E=B[i];if (!C){D=D.childNodes[E];continue;};var F=-1;for (var j=0;j<D.childNodes.length;j++){var G=D.childNodes[j];if (C===true&&G.nodeType==3&&G.previousSibling&&G.previousSibling.nodeType==3) continue;F++;if (F==E){D=G;break;}}};return D;},CloneElement:function(A){A=A.cloneNode(false);A.removeAttribute('id',false);return A;},ClearElementJSProperty:function(A,B){if (FCKBrowserInfo.IsIE) A.removeAttribute(B);else delete A[B];},SetElementMarker:function (A,B,C,D){var E=String(parseInt(Math.random()*0xfffffff,10));B._FCKMarkerId=E;B[C]=D;if (!A[E]) A[E]={ 'element':B,'markers':{} };A[E]['markers'][C]=D;},ClearElementMarkers:function(A,B,C){var D=B._FCKMarkerId;if (!D) return;this.ClearElementJSProperty(B,'_FCKMarkerId');for (var j in A[D]['markers']) this.ClearElementJSProperty(B,j);if (C) delete A[D];},ClearAllMarkers:function(A){for (var i in A) this.ClearElementMarkers(A,A[i]['element'],true);},ListToArray:function(A,B,C,D,E){if (!A.nodeName.IEquals(['ul','ol'])) return [];if (!D) D=0;if (!C) C=[];for (var i=0;i<A.childNodes.length;i++){var F=A.childNodes[i];if (!F.nodeName.IEquals('li')) continue;var G={ 'parent':A,'indent':D,'contents':[] };if (!E){G.grandparent=A.parentNode;if (G.grandparent&&G.grandparent.nodeName.IEquals('li')) G.grandparent=G.grandparent.parentNode;}else G.grandparent=E;if (B) this.SetElementMarker(B,F,'_FCK_ListArray_Index',C.length);C.push(G);for (var j=0;j<F.childNodes.length;j++){var H=F.childNodes[j];if (H.nodeName.IEquals(['ul','ol'])) this.ListToArray(H,B,C,D+1,G.grandparent);else G.contents.push(H);}};return C;},ArrayToList:function(A,B,C){if (C==undefined) C=0;if (!A||A.length<C+1) return null;var D=A[C].parent.ownerDocument;var E=D.createDocumentFragment();var F=null;var G=C;var H=Math.max(A[C].indent,0);var I=null;while (true){var J=A[G];if (J.indent==H){if (!F||A[G].parent.nodeName!=F.nodeName){F=A[G].parent.cloneNode(false);E.appendChild(F);};I=D.createElement('li');F.appendChild(I);for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));G++;}else if (J.indent==Math.max(H,0)+1){var K=this.ArrayToList(A,null,G);I.appendChild(K.listNode);G=K.nextIndex;}else if (J.indent==-1&&C==0&&J.grandparent){var I;if (J.grandparent.nodeName.IEquals(['ul','ol'])) I=D.createElement('li');else{if (FCKConfig.EnterMode.IEquals(['div','p'])&&!J.grandparent.nodeName.IEquals('td')) I=D.createElement(FCKConfig.EnterMode);else I=D.createDocumentFragment();};for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));if (I.nodeType==11){if (I.lastChild&&I.lastChild.getAttribute&&I.lastChild.getAttribute('type')=='_moz') I.removeChild(I.lastChild);I.appendChild(D.createElement('br'));};if (I.nodeName.IEquals(FCKConfig.EnterMode)&&I.firstChild){this.TrimNode(I);if (FCKListsLib.BlockBoundaries[I.firstChild.nodeName.toLowerCase()]){var M=D.createDocumentFragment();while (I.firstChild) M.appendChild(I.removeChild(I.firstChild));I=M;}};if (FCKBrowserInfo.IsGeckoLike&&I.nodeName.IEquals(['div','p'])) FCKTools.AppendBogusBr(I);E.appendChild(I);F=null;G++;}else return null;if (A.length<=G||Math.max(A[G].indent,0)<H){break;}};if (B){var N=E.firstChild;while (N){if (N.nodeType==1) this.ClearElementMarkers(B,N);N=this.GetNextSourceNode(N);}};return { 'listNode':E,'nextIndex':G };},GetNextSibling:function(A,B){A=A.nextSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.nextSibling;return A;},GetPreviousSibling:function(A,B){A=A.previousSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.previousSibling;return A;},CheckIsEmptyElement:function(A,B){var C=A.firstChild;var D;while (C){if (C.nodeType==1){if (D||!FCKListsLib.InlineNonEmptyElements[C.nodeName.toLowerCase()]) return false;if (!B||B(C)===true) D=C;}else if (C.nodeType==3&&C.nodeValue.length>0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},GetCurrentElementStyle:function(w,A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return w.getComputedStyle(A,'')[B];},GetPositionedAncestor:function(w,A){var B=A;while (B!=B.ownerDocument.documentElement){if (this.GetCurrentElementStyle(w,B,'position')!='static') return B;B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight;E+=parseInt(this.GetCurrentElementStyle(C,A,'marginBottom')||0,10);};E+=A.offsetTop;while ((A=A.offsetParent)) E+=A.offsetTop||0;var F=FCKTools.GetScrollPosition(C).Y;if (E>0&&E>F) C.scrollTo(0,E);}}; -var FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','_moz');return B;};FCKTools.AppendStyleSheet=function(A,B){if (typeof(B)=='string') return this._AppendStyleSheet(A,B);else{var C=[];for (var i=0;i<B.length;i++) C.push(this._AppendStyleSheet(A,B[i]));return C;}};FCKTools.AppendStyleString=function (A,B){this._AppendStyleString(A,B);};FCKTools.GetElementDocument=function (A){return A.ownerDocument||A.document;};FCKTools.GetElementWindow=function(A){return this.GetDocumentWindow(this.GetElementDocument(A));};FCKTools.GetDocumentWindow=function(A){if (FCKBrowserInfo.IsSafari&&!A.parentWindow) this.FixDocumentParentWindow(window.top);return A.parentWindow||A.defaultView;};FCKTools.FixDocumentParentWindow=function(A){if (A.document) A.document.parentWindow=A;for (var i=0;i<A.frames.length;i++) FCKTools.FixDocumentParentWindow(A.frames[i]);};FCKTools.HTMLEncode=function(A){if (!A) return '';A=A.replace(/&/g,'&amp;');A=A.replace(/</g,'&lt;');A=A.replace(/>/g,'&gt;');return A;};FCKTools.HTMLDecode=function(A){if (!A) return '';A=A.replace(/&gt;/g,'>');A=A.replace(/&lt;/g,'<');A=A.replace(/&amp;/g,'&');return A;};FCKTools._ProcessLineBreaksForPMode=function(A,B,C,D,E){var F=0;var G="<p>";var H="</p>";var I="<br />";if (C){G="<li>";H="</li>";F=1;};while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()=='p'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c=='\r') continue;if (c!='\n'){E.push(c);continue;};var n=B.charAt(i+1);if (n=='\r'){i++;n=B.charAt(i+1);};if (n=='\n'){i++;if (F) E.push(H);E.push(G);F=1;}else E.push(I);}};FCKTools._ProcessLineBreaksForDivMode=function(A,B,C,D,E){var F=0;var G="<div>";var H="</div>";if (C){G="<li>";H="</li>";F=1;};while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()=='div'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c=='\r') continue;if (c!='\n'){E.push(c);continue;};if (F){if (E[E.length-1]==G){E.push("&nbsp;");};E.push(H);};E.push(G);F=1;};if (F) E.push(H);};FCKTools._ProcessLineBreaksForBrMode=function(A,B,C,D,E){var F=0;var G="<br />";var H="";if (C){G="<li>";H="</li>";F=1;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c=='\r') continue;if (c!='\n'){E.push(c);continue;};if (F&&H.length) E.push (H);E.push(G);F=1;}};FCKTools.ProcessLineBreaks=function(A,B,C){var D=B.EnterMode.toLowerCase();var E=[];var F=0;var G=new A.FCKDomRange(A.FCK.EditorWindow);G.MoveToSelection();var H=G._Range.startContainer;while (H&&H.nodeType!=1) H=H.parentNode;if (H&&H.tagName.toLowerCase()=='li') F=1;if (D=='p') this._ProcessLineBreaksForPMode(A,C,F,H,E);else if (D=='div') this._ProcessLineBreaksForDivMode(A,C,F,H,E);else if (D=='br') this._ProcessLineBreaksForBrMode(A,C,F,H,E);return E.join("");};FCKTools.AddSelectOption=function(A,B,C){var D=FCKTools.GetElementDocument(A).createElement("OPTION");D.text=B;D.value=C;A.options.add(D);return D;};FCKTools.RunFunction=function(A,B,C,D){if (A) this.SetTimeout(A,0,B,C,D);};FCKTools.SetTimeout=function(A,B,C,D,E){return (E||window).setTimeout(function(){if (D) A.apply(C,[].concat(D));else A.apply(C);},B);};FCKTools.SetInterval=function(A,B,C,D,E){return (E||window).setInterval(function(){A.apply(C,D||[]);},B);};FCKTools.ConvertStyleSizeToHtml=function(A){return A.EndsWith('%')?A:parseInt(A,10);};FCKTools.ConvertHtmlSizeToStyle=function(A){return A.EndsWith('%')?A:(A+'px');};FCKTools.GetElementAscensor=function(A,B){var e=A;var C=","+B.toUpperCase()+",";while (e){if (C.indexOf(","+e.nodeName.toUpperCase()+",")!=-1) return e;e=e.parentNode;};return null;};FCKTools.CreateEventListener=function(A,B){var f=function(){var C=[];for (var i=0;i<arguments.length;i++) C.push(arguments[i]);A.apply(this,C.concat(B));};return f;};FCKTools.IsStrictMode=function(A){return ('CSS1Compat'==(A.compatMode||'CSS1Compat'));};FCKTools.ArgumentsToArray=function(A,B,C){B=B||0;C=C||A.length;var D=[];for (var i=B;i<B+C&&i<A.length;i++) D.push(A[i]);return D;};FCKTools.CloneObject=function(A){var B=function() {};B.prototype=A;return new B;};FCKTools.AppendBogusBr=function(A){if (!A) return;var B=this.GetLastItem(A.getElementsByTagName('br'));if (!B||(B.getAttribute('type',2)!='_moz'&&B.getAttribute('_moz_dirty')==null)){var C=this.GetElementDocument(A);if (FCKBrowserInfo.IsOpera) A.appendChild(C.createTextNode(''));else A.appendChild(this.CreateBogusBR(C));}};FCKTools.GetLastItem=function(A){if (A.length>0) return A[A.length-1];return null;};FCKTools.GetDocumentPosition=function(w,A){var x=0;var y=0;var B=A;var C=null;var D=FCKTools.GetElementWindow(B);while (B&&!(D==w&&(B==w.document.body||B==w.document.documentElement))){x+=B.offsetLeft-B.scrollLeft;y+=B.offsetTop-B.scrollTop;if (!FCKBrowserInfo.IsOpera){var E=C;while (E&&E!=B){x-=E.scrollLeft;y-=E.scrollTop;E=E.parentNode;}};C=B;if (B.offsetParent) B=B.offsetParent;else{if (D!=w){B=D.frameElement;C=null;if (B) D=FCKTools.GetElementWindow(B);}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w,w.document.body,'position')!='static'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(w,A)==null)){x+=w.document.body.offsetLeft;y+=w.document.body.offsetTop;};return { "x":x,"y":y };};FCKTools.GetWindowPosition=function(w,A){var B=this.GetDocumentPosition(w,A);var C=FCKTools.GetScrollPosition(w);B.x-=C.X;B.y-=C.Y;return B;};FCKTools.ProtectFormStyles=function(A){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!='form') return [];var B=[];var C=['style','className'];for (var i=0;i<C.length;i++){var D=C[i];if (A.elements.namedItem(D)){var E=A.elements.namedItem(D);B.push([E,E.nextSibling]);A.removeChild(E);}};return B;};FCKTools.RestoreFormStyles=function(A,B){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!='form') return;if (B.length>0){for (var i=B.length-1;i>=0;i--){var C=B[i][0];var D=B[i][1];if (D) A.insertBefore(C,D);else A.appendChild(C);}}};FCKTools.GetNextNode=function(A,B){if (A.firstChild) return A.firstChild;else if (A.nextSibling) return A.nextSibling;else{var C=A.parentNode;while (C){if (C==B) return null;if (C.nextSibling) return C.nextSibling;else C=C.parentNode;}};return null;};FCKTools.GetNextTextNode=function(A,B,C){node=this.GetNextNode(A,B);if (C&&node&&C(node)) return null;while (node&&node.nodeType!=3){node=this.GetNextNode(node,B);if (C&&node&&C(node)) return null;};return node;};FCKTools.Merge=function(){var A=arguments;var o=A[0];for (var i=1;i<A.length;i++){var B=A[i];for (var p in B) o[p]=B[p];};return o;};FCKTools.IsArray=function(A){return (A instanceof Array);};FCKTools.AppendLengthProperty=function(A,B){var C=0;for (var n in A) C++;return A[B||'length']=C;};FCKTools.NormalizeCssText=function(A){var B=document.createElement('span');B.style.cssText=A;return B.style.cssText;};FCKTools.Hitch=function(A,B){return function() { A[B].apply(A,arguments);};}; -FCKTools.CancelEvent=function(e){if (e) e.preventDefault();};FCKTools.DisableSelection=function(A){if (FCKBrowserInfo.IsGecko) A.style.MozUserSelect='none';else A.style.userSelect='none';};FCKTools._AppendStyleSheet=function(A,B){var e=A.createElement('LINK');e.rel='stylesheet';e.type='text/css';e.href=B;A.getElementsByTagName("HEAD")[0].appendChild(e);return e;};FCKTools._AppendStyleString=function(A,B){var e=A.createElement("STYLE");e.appendChild(A.createTextNode(B));A.getElementsByTagName("HEAD")[0].appendChild(e);return e;};FCKTools.ClearElementAttributes=function(A){for (var i=0;i<A.attributes.length;i++){A.removeAttribute(A.attributes[i].name,0);}};FCKTools.GetAllChildrenIds=function(A){var B=[];var C=function(parent){for (var i=0;i<parent.childNodes.length;i++){var D=parent.childNodes[i].id;if (D&&D.length>0) B[B.length]=D;C(parent.childNodes[i]);}};C(A);return B;};FCKTools.RemoveOuterTags=function(e){var A=e.ownerDocument.createDocumentFragment();for (var i=0;i<e.childNodes.length;i++) A.appendChild(e.childNodes[i].cloneNode(true));e.parentNode.replaceChild(A,e);};FCKTools.CreateXmlObject=function(A){switch (A){case 'XmlHttp':return new XMLHttpRequest();case 'DOMDocument':return document.implementation.createDocument('','',null);};return null;};FCKTools.GetScrollPosition=function(A){return { X:A.pageXOffset,Y:A.pageYOffset };};FCKTools.AddEventListener=function(A,B,C){A.addEventListener(B,C,false);};FCKTools.RemoveEventListener=function(A,B,C){A.removeEventListener(B,C,false);};FCKTools.AddEventListenerEx=function(A,B,C,D){A.addEventListener(B,function(e){C.apply(A,[e].concat(D||[]));},false);};FCKTools.GetViewPaneSize=function(A){return { Width:A.innerWidth,Height:A.innerHeight };};FCKTools.SaveStyles=function(A){var B=FCKTools.ProtectFormStyles(A);var C={};if (A.className.length>0){C.Class=A.className;A.className='';};var D=A.getAttribute('style');if (D&&D.length>0){C.Inline=D;A.setAttribute('style','',0);};FCKTools.RestoreFormStyles(A,B);return C;};FCKTools.RestoreStyles=function(A,B){var C=FCKTools.ProtectFormStyles(A);A.className=B.Class||'';if (B.Inline) A.setAttribute('style',B.Inline,0);else A.removeAttribute('style',0);FCKTools.RestoreFormStyles(A,C);};FCKTools.RegisterDollarFunction=function(A){A.$=function(id){return this.document.getElementById(id);};};FCKTools.AppendElement=function(A,B){return A.appendChild(A.ownerDocument.createElement(B));};FCKTools.GetElementPosition=function(A,B){var c={ X:0,Y:0 };var C=B||window;var D=FCKTools.GetElementWindow(A);var E=null;while (A){var F=D.getComputedStyle(A,'').position;if (F&&F!='static'&&A.style.zIndex!=FCKConfig.FloatingPanelsZIndex) break;c.X+=A.offsetLeft-A.scrollLeft;c.Y+=A.offsetTop-A.scrollTop;if (!FCKBrowserInfo.IsOpera){var G=E;while (G&&G!=A){c.X-=G.scrollLeft;c.Y-=G.scrollTop;G=G.parentNode;}};E=A;if (A.offsetParent) A=A.offsetParent;else{if (D!=C){A=D.frameElement;E=null;if (A) D=FCKTools.GetElementWindow(A);}else{c.X+=A.scrollLeft;c.Y+=A.scrollTop;break;}}};return c;}; -var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B='var FCKeditorAPI = {Version : "2.5",VersionBuild : "17352",__Instances : new Object(),GetInstance : function( name ){return this.__Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.__Instances ){var oEditor = FCKeditorAPI.__Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue : {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}';if (A.execScript) A.execScript(B,'JavaScript');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if (FCKBrowserInfo.IsSafari||FCKBrowserInfo.IsGecko19){var C=A.document;var D=C.createElement('script');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;};FCKeditorAPI.__Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,'submit',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)=='function'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (!window.FCKUnloadFlag) return;delete FCKeditorAPI.__Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,'unload',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,'beforeunload',FCKeditorAPI_ConfirmCleanup); -var FCKImagePreloader=function(){this._Images=[];};FCKImagePreloader.prototype={AddImages:function(A){if (typeof(A)=='string') A=A.split(';');this._Images=this._Images.concat(A);},Start:function(){var A=this._Images;this._PreloadCount=A.length;for (var i=0;i<A.length;i++){var B=document.createElement('img');FCKTools.AddEventListenerEx(B,'load',_FCKImagePreloader_OnImage,this);FCKTools.AddEventListenerEx(B,'error',_FCKImagePreloader_OnImage,this);B.src=A[i];_FCKImagePreloader_ImageCache.push(B);}}};var _FCKImagePreloader_ImageCache=[];function _FCKImagePreloader_OnImage(A,B){if ((--B._PreloadCount)==0&&B.OnComplete) B.OnComplete();} -var FCKRegexLib={AposEntity:/&apos;/gi,ObjectElements:/^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i,NamedCommands:/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i,BeforeBody:/(^[\s\S]*\<body[^\>]*\>)/i,AfterBody:/(\<\/body\>[\s\S]*$)/i,ToReplace:/___fcktoreplace:([\w]+)/ig,MetaHttpEquiv:/http-equiv\s*=\s*["']?([^"' ]+)/i,HasBaseTag:/<base /i,HasBodyTag:/<body[\s|>]/i,HtmlOpener:/<html\s?[^>]*>/i,HeadOpener:/<head\s?[^>]*>/i,HeadCloser:/<\/head\s*>/i,FCK_Class:/\s*FCK__[^ ]*(?=\s+|$)/,ElementName:/(^[a-z_:][\w.\-:]*\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\/>/g,EmptyParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>\s*(<\/\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>(?:\s*|&nbsp;)(<\/\1>)?$/,TagBody:/></,GeckoEntitiesMarker:/#\?-\:/g,ProtectUrlsImg:/<img(?=\s).*?\ssrc=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi,ProtectUrlsA:/<a(?=\s).*?\shref=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi,ProtectUrlsArea:/<area(?=\s).*?\shref=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi,Html4DocType:/HTML 4\.0 Transitional/i,DocTypeTag:/<!DOCTYPE[^>]*>/i,TagsWithEvent:/<[^\>]+ on\w+[\s\r\n]*=[\s\r\n]*?('|")[\s\S]+?\>/g,EventAttributes:/\s(on\w+)[\s\r\n]*=[\s\r\n]*?('|")([\s\S]*?)\2/g,ProtectedEvents:/\s\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\S+\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\/>/gi,StyleVariableAttName:/#\(\s*("|')(.+?)\1[^\)]*\s*\)/g,RegExp:/^\/(.*)\/([gim]*)$/}; -var FCKListsLib={BlockElements:{ address:1,blockquote:1,center:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,marquee:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 },NonEmptyBlockElements:{ p:1,div:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 },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 },InlineNonEmptyElements:{ a:1,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 },EmptyElements:{ base:1,col:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 },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,de:1 },PathBlockLimitElements:{ body:1,div:1,td:1,th:1,caption:1,form:1 },StyleBlockElements:{ address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 },StyleObjectElements:{ img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 },BlockBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 },ListBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1,br:1 }}; -var FCKLanguageManager=FCK.Language={AvailableLanguages:{af:'Afrikaans',ar:'Arabic',bg:'Bulgarian',bn:'Bengali/Bangla',bs:'Bosnian',ca:'Catalan',cs:'Czech',da:'Danish',de:'German',el:'Greek',en:'English','en-au':'English (Australia)','en-ca':'English (Canadian)','en-uk':'English (United Kingdom)',eo:'Esperanto',es:'Spanish',et:'Estonian',eu:'Basque',fa:'Persian',fi:'Finnish',fo:'Faroese',fr:'French',gl:'Galician',he:'Hebrew',hi:'Hindi',hr:'Croatian',hu:'Hungarian',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'},GetActiveLanguage:function(){if (FCKConfig.AutoDetectLanguage){var A;if (navigator.userLanguage) A=navigator.userLanguage.toLowerCase();else if (navigator.language) A=navigator.language.toLowerCase();else{return FCKConfig.DefaultLanguage;};if (A.length>=5){A=A.substr(0,5);if (this.AvailableLanguages[A]) return A;};if (A.length>=2){A=A.substr(0,2);if (this.AvailableLanguages[A]) return A;}};return this.DefaultLanguage;},TranslateElements:function(A,B,C,D){var e=A.getElementsByTagName(B);var E,s;for (var i=0;i<e.length;i++){if ((E=e[i].getAttribute('fckLang'))){if ((s=FCKLang[E])){if (D) s=FCKTools.HTMLEncode(s);e[i][C]=s;}}}},TranslatePage:function(A){this.TranslateElements(A,'INPUT','value');this.TranslateElements(A,'SPAN','innerHTML');this.TranslateElements(A,'LABEL','innerHTML');this.TranslateElements(A,'OPTION','innerHTML',true);this.TranslateElements(A,'LEGEND','innerHTML');},Initialize:function(){if (this.AvailableLanguages[FCKConfig.DefaultLanguage]) this.DefaultLanguage=FCKConfig.DefaultLanguage;else this.DefaultLanguage='en';this.ActiveLanguage={};this.ActiveLanguage.Code=this.GetActiveLanguage();this.ActiveLanguage.Name=this.AvailableLanguages[this.ActiveLanguage.Code];}}; -var FCKXHtmlEntities={};FCKXHtmlEntities.Initialize=function(){if (FCKXHtmlEntities.Entities) return;var A='';var B,e;if (FCKConfig.ProcessHTMLEntities){FCKXHtmlEntities.Entities={' ':'nbsp','¡':'iexcl','¢':'cent','£':'pound','¤':'curren','¥':'yen','¦':'brvbar','§':'sect','¨':'uml','©':'copy','ª':'ordf','«':'laquo','¬':'not','­':'shy','®':'reg','¯':'macr','°':'deg','±':'plusmn','²':'sup2','³':'sup3','´':'acute','µ':'micro','¶':'para','·':'middot','¸':'cedil','¹':'sup1','º':'ordm','»':'raquo','¼':'frac14','½':'frac12','¾':'frac34','¿':'iquest','×':'times','÷':'divide','ƒ':'fnof','•':'bull','…':'hellip','′':'prime','″':'Prime','‾':'oline','⁄':'frasl','℘':'weierp','ℑ':'image','ℜ':'real','™':'trade','ℵ':'alefsym','←':'larr','↑':'uarr','→':'rarr','↓':'darr','↔':'harr','↵':'crarr','⇐':'lArr','⇑':'uArr','⇒':'rArr','⇓':'dArr','⇔':'hArr','∀':'forall','∂':'part','∃':'exist','∅':'empty','∇':'nabla','∈':'isin','∉':'notin','∋':'ni','∏':'prod','∑':'sum','−':'minus','∗':'lowast','√':'radic','∝':'prop','∞':'infin','∠':'ang','∧':'and','∨':'or','∩':'cap','∪':'cup','∫':'int','∴':'there4','∼':'sim','≅':'cong','≈':'asymp','≠':'ne','≡':'equiv','≤':'le','≥':'ge','⊂':'sub','⊃':'sup','⊄':'nsub','⊆':'sube','⊇':'supe','⊕':'oplus','⊗':'otimes','⊥':'perp','⋅':'sdot','\u2308':'lceil','\u2309':'rceil','\u230a':'lfloor','\u230b':'rfloor','\u2329':'lang','\u232a':'rang','◊':'loz','♠':'spades','♣':'clubs','♥':'hearts','♦':'diams','"':'quot','ˆ':'circ','˜':'tilde',' ':'ensp',' ':'emsp',' ':'thinsp','‌':'zwnj','‍':'zwj','‎':'lrm','‏':'rlm','–':'ndash','—':'mdash','‘':'lsquo','’':'rsquo','‚':'sbquo','“':'ldquo','”':'rdquo','„':'bdquo','†':'dagger','‡':'Dagger','‰':'permil','‹':'lsaquo','›':'rsaquo','€':'euro'};for (e in FCKXHtmlEntities.Entities) A+=e;if (FCKConfig.IncludeLatinEntities){B={'À':'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'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;};if (FCKConfig.IncludeGreekEntities){B={'Α':'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','\u03d1':'thetasym','\u03d2':'upsih','\u03d6':'piv'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;}}else{FCKXHtmlEntities.Entities={};A=' ';};var C='['+A+']';if (FCKConfig.ProcessNumericEntities) C='[^ -~]|'+C;var D=FCKConfig.AdditionalNumericEntities;if (D&&D.length>0) C+='|'+FCKConfig.AdditionalNumericEntities;FCKXHtmlEntities.EntitiesRegex=new RegExp(C,'g');}; -var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(A.ownerDocument,FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?'nbsp':'#160');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject('DOMDocument');this.MainNode=this.XML.appendChild(this.XML.createElement('xhtml'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^<xhtml.*?>/,'<xhtml>');E=E.substr(7,E.length-15).Trim();E=E.replace(FCKRegexLib.SpaceNoClose,' />');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,'&');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i<FCKXHtml.SpecialBlocks.length;i++){var F=new RegExp('___FCKsi___'+i);E=E.replace(F,FCKXHtml.SpecialBlocks[i]);};E=E.replace(FCKRegexLib.GeckoEntitiesMarker,'&');if (!D) FCK.ResetIsDirty();FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);return E;};FCKXHtml._AppendAttribute=function(A,B,C){try{if (C==undefined||C==null) C='';else if (C.replace){if (FCKConfig.ForceSimpleAmpersand) C=C.replace(/&/g,'___FCKAmp___');C=C.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity);};var D=this.XML.createAttribute(B);D.value=C;A.attributes.setNamedItem(D);}catch (e){}};FCKXHtml._AppendChildNodes=function(A,B,C){var D=B.firstChild;while (D){this._AppendNode(A,D);D=D.nextSibling;};if (C&&B.tagName&&B.tagName.toLowerCase()!='pre'){FCKDomTools.TrimNode(A);if (FCKConfig.FillEmptyBlocks){var E=A.lastChild;if (E&&E.nodeType==1&&E.nodeName=='br') this._AppendEntity(A,this._NbspEntity);}};if (A.childNodes.length==0){if (C&&FCKConfig.FillEmptyBlocks){this._AppendEntity(A,this._NbspEntity);return A;};var F=A.nodeName;if (FCKListsLib.InlineChildReqElements[F]) return null;if (!FCKListsLib.EmptyElements[F]) A.appendChild(this.XML.createTextNode(''));};return A;};FCKXHtml._AppendNode=function(A,B){if (!B) return false;switch (B.nodeType){case 1:if (FCKBrowserInfo.IsGecko&&B.tagName.toLowerCase()=='br'&&B.parentNode.tagName.toLowerCase()=='pre'){var C='\r';if (B==B.parentNode.firstChild) C+='\r';return FCKXHtml._AppendNode(A,this.XML.createTextNode(C));};if (B.getAttribute('_fckfakelement')) return FCKXHtml._AppendNode(A,FCK.GetRealElement(B));if (FCKBrowserInfo.IsGecko&&B.nextSibling&&(B.hasAttribute('_moz_editor_bogus_node')||B.getAttribute('type')=='_moz')) return false;if (B.getAttribute('_fcktemp')) return false;var D=B.tagName.toLowerCase();if (FCKBrowserInfo.IsIE){if (B.scopeName&&B.scopeName!='HTML'&&B.scopeName!='FCK') D=B.scopeName.toLowerCase()+':'+D;}else{if (D.StartsWith('fck:')) D=D.Remove(0,4);};if (!FCKRegexLib.ElementName.test(D)) return false;if (B._fckxhtmljob&&B._fckxhtmljob==FCKXHtml.CurrentJobNum) return false;var E=this.XML.createElement(D);FCKXHtml._AppendAttributes(A,B,E,D);B._fckxhtmljob=FCKXHtml.CurrentJobNum;var F=FCKXHtml.TagProcessors[D];if (F) E=F(E,B,A);else E=this._AppendChildNodes(E,B,Boolean(FCKListsLib.NonEmptyBlockElements[D]));if (!E) return false;A.appendChild(E);break;case 3:if (B.parentNode&&B.parentNode.nodeName.IEquals('pre')) return this._AppendTextNode(A,B.nodeValue);return this._AppendTextNode(A,B.nodeValue.ReplaceNewLineChars(' '));case 8:if (FCKBrowserInfo.IsIE&&!B.innerHTML) break;try { A.appendChild(this.XML.createComment(B.nodeValue));}catch (e) {/*Do nothing... probably this is a wrong format comment.*/};break;default:A.appendChild(this.XML.createComment("Element not supported - Type: "+B.nodeType+" Name: "+B.nodeName));break;};return true;};FCKXHtml._AppendSpecialItem=function(A){return '___FCKsi___'+FCKXHtml.SpecialBlocks.AddItem(A);};FCKXHtml._AppendEntity=function(A,B){A.appendChild(this.XML.createTextNode('#?-:'+B+';'));};FCKXHtml._AppendTextNode=function(A,B){var C=B.length>0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||('#'+A.charCodeAt(0));return '#?-:'+B+';';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem('coords')){var D=B.getAttribute('coords',2);if (D&&D!='0,0,0') FCKXHtml._AppendAttribute(A,'coords',D);};if (!A.attributes.getNamedItem('shape')){var E=B.getAttribute('shape',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,'shape',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute('spellcheck');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\s_fcksavedurl="[^"]*"/g,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem('alt')) FCKXHtml._AppendAttribute(A,'alt','');var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'src',C);return A;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()=='LI'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem('\r\n')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/javascript');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/css');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\r\n|\n|\r)/,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol; -FCKXHtml._GetMainXmlString=function(){var A=new XMLSerializer();return A.serializeToString(this.MainNode);};FCKXHtml._AppendAttributes=function(A,B,C){var D=B.attributes;for (var n=0;n<D.length;n++){var E=D[n];if (E.specified){var F=E.nodeName.toLowerCase();var G;if (F.StartsWith('_fck')) continue;else if (F.indexOf('_moz')==0) continue;else if (F=='class'){G=E.nodeValue.replace(FCKRegexLib.FCK_Class,'');if (G.length==0) continue;}else if (E.nodeValue===true) G=F;else G=B.getAttribute(F,2);this._AppendAttribute(C,F,G);}}};if (FCKBrowserInfo.IsOpera){FCKXHtml.TagProcessors['head']=function(A,B){FCKXHtml.XML._HeadElement=A;A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors['meta']=function(A,B,C){if (B.parentNode.nodeName.toLowerCase()!='head'){var D=FCKXHtml.XML._HeadElement;if (D&&C!=D){delete B._fckxhtmljob;FCKXHtml._AppendNode(D,B);return null;}};return A;}} -var FCKCodeFormatter={};FCKCodeFormatter.Init=function(){var A=this.Regex={};A.BlocksOpener=/\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi;A.BlocksCloser=/\<\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi;A.NewLineTags=/\<(BR|HR)[^\>]*\>/gi;A.MainTags=/\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi;A.LineSplitter=/\s*\n+\s*/g;A.IncreaseIndent=/^\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \/\>]/i;A.DecreaseIndent=/^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \>]/i;A.FormatIndentatorRemove=new RegExp('^'+FCKConfig.FormatIndentator);A.ProtectedTags=/(<PRE[^>]*>)([\s\S]*?)(<\/PRE>)/gi;};FCKCodeFormatter._ProtectData=function(A,B,C,D){return B+'___FCKpd___'+FCKCodeFormatter.ProtectedData.AddItem(C)+D;};FCKCodeFormatter.Format=function(A){if (!this.Regex) this.Init();FCKCodeFormatter.ProtectedData=[];var B=A.replace(this.Regex.ProtectedTags,FCKCodeFormatter._ProtectData);B=B.replace(this.Regex.BlocksOpener,'\n$&');B=B.replace(this.Regex.BlocksCloser,'$&\n');B=B.replace(this.Regex.NewLineTags,'$&\n');B=B.replace(this.Regex.MainTags,'\n$&\n');var C='';var D=B.split(this.Regex.LineSplitter);B='';for (var i=0;i<D.length;i++){var E=D[i];if (E.length==0) continue;if (this.Regex.DecreaseIndent.test(E)) C=C.replace(this.Regex.FormatIndentatorRemove,'');B+=C+E+'\n';if (this.Regex.IncreaseIndent.test(E)) C+=FCKConfig.FormatIndentator;};for (var j=0;j<FCKCodeFormatter.ProtectedData.length;j++){var F=new RegExp('___FCKpd___'+j);B=B.replace(F,FCKCodeFormatter.ProtectedData[j].replace(/\$/g,'$$$$'));};return B.Trim();} -var FCKUndo={};FCKUndo.SavedData=[];FCKUndo.CurrentIndex=-1;FCKUndo.TypesCount=0;FCKUndo.Changed=false;FCKUndo.MaxTypes=25;FCKUndo.Typing=false;FCKUndo.SaveLocked=false;FCKUndo._GetBookmark=function(){var A=new FCKDomRange(FCK.EditorWindow);try{A.MoveToSelection();}catch (e){return null;};if (FCKBrowserInfo.IsIE){var B=A.CreateBookmark();var C=FCK.EditorDocument.body.innerHTML;A.MoveToBookmark(B);return [B,C];};return A.CreateBookmark2();};FCKUndo._SelectBookmark=function(A){if (!A) return;var B=new FCKDomRange(FCK.EditorWindow);if (A instanceof Object){if (FCKBrowserInfo.IsIE) B.MoveToBookmark(A[0]);else B.MoveToBookmark2(A);try{B.Select();}catch (e){B.MoveToPosition(FCK.EditorDocument.body,4);B.Select();}}};FCKUndo._CompareCursors=function(A,B){for (var i=0;i<Math.min(A.length,B.length);i++){if (A[i]<B[i]) return-1;else if (A[i]>B[i]) return 1;};if (A.length<B.length) return-1;else if (A.length>B.length) return 1;return 0;};FCKUndo._CheckIsBookmarksEqual=function(A,B){if (!(A&&B)) return false;if (FCKBrowserInfo.IsIE){var C=A[1].search(A[0].StartId);var D=B[1].search(B[0].StartId);var E=A[1].search(A[0].EndId);var F=B[1].search(B[0].EndId);return C==D&&E==F;}else{return this._CompareCursors(A.Start,B.Start)==0&&this._CompareCursors(A.End,B.End)==0;}};FCKUndo.SaveUndoStep=function(){if (FCK.EditMode!=0||this.SaveLocked) return;if (this.SavedData.length) this.Changed=true;var A=FCK.EditorDocument.body.innerHTML;var B=this._GetBookmark();this.SavedData=this.SavedData.slice(0,this.CurrentIndex+1);if (this.CurrentIndex>0&&A==this.SavedData[this.CurrentIndex][0]&&this._CheckIsBookmarksEqual(B,this.SavedData[this.CurrentIndex][1])) return;else if (this.CurrentIndex==0&&this.SavedData.length&&A==this.SavedData[0][0]){this.SavedData[0][1]=B;return;};if (this.CurrentIndex+1>=FCKConfig.MaxUndoLevels) this.SavedData.shift();else this.CurrentIndex++;this.SavedData[this.CurrentIndex]=[A,B];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.CheckUndoState=function(){return (this.Changed||this.CurrentIndex>0);};FCKUndo.CheckRedoState=function(){return (this.CurrentIndex<(this.SavedData.length-1));};FCKUndo.Undo=function(){if (this.CheckUndoState()){if (this.CurrentIndex==(this.SavedData.length-1)){this.SaveUndoStep();};this._ApplyUndoLevel(--this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo.Redo=function(){if (this.CheckRedoState()){this._ApplyUndoLevel(++this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo._ApplyUndoLevel=function(A){var B=this.SavedData[A];if (!B) return;if (FCKBrowserInfo.IsIE){if (B[1]&&B[1][1]) FCK.SetInnerHtml(B[1][1]);else FCK.SetInnerHtml(B[0]);}else FCK.EditorDocument.body.innerHTML=B[0];this._SelectBookmark(B[1]);this.TypesCount=0;this.Changed=false;this.Typing=false;}; -var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);var E;while((E=C.firstChild)){if (E.contentWindow) E.contentWindow.document.body.innerHTML='';C.removeChild(E);};if (this.Mode==0){var F=this.IFrame=D.createElement('iframe');if (!FCKBrowserInfo.IsGecko) F.src='javascript:void(0)';F.frameBorder=0;F.width=F.height='100%';C.appendChild(F);if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\s*\/?>(?!\s*<\/base>)/gi,'$1></base>');else if (!B){var G=A.match(FCKRegexLib.BeforeBody);var H=A.match(FCKRegexLib.AfterBody);if (G&&H){var I=A.substr(G[1].length,A.length-G[1].length-H[1].length);A=G[1]+'&nbsp;'+H[1];if (FCKBrowserInfo.IsGecko&&(I.length==0||FCKRegexLib.EmptyParagraph.test(I))) I='<br type="_moz">';this._BodyHTML=I;}else this._BodyHTML=A;};this.Window=F.contentWindow;var J=this.Document=this.Window.document;J.open();J.write(A);J.close();if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}else{var K=this.Textarea=D.createElement('textarea');K.className='SourceField';K.dir='ltr';FCKDomTools.SetElementStyles(K,{width:'100%',height:'100%',border:'none',resize:'none',outline:'none'});C.appendChild(K);K.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;this._BodyHTML=null;};A.designMode='on';try{A.execCommand('styleWithCSS',false,FCKConfig.GeckoUseSPAN);}catch (e){A.execCommand('useCSS',false,!FCKConfig.GeckoUseSPAN);};A.execCommand('enableObjectResizing',false,!FCKConfig.DisableObjectResizing);A.execCommand('enableInlineTableEditing',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE&&this.Document.hasFocus()) this._EnsureFocusIE();this.Window.focus();if (FCKBrowserInfo.IsIE) this._EnsureFocusIE();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._EnsureFocusIE=function(){this.Document.body.setActive();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A.moveEnd("character",1);A.select();if (A.boundingWidth>0){A.moveEnd("character",-1);A.select();}};function FCKEditingArea_Cleanup(){if (this.Document) this.Document.body.innerHTML="";this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}}; -var FCKKeystrokeHandler=function(A){this.Keystrokes={};this.CancelCtrlDefaults=(A!==false);};FCKKeystrokeHandler.prototype.AttachToElement=function(A){FCKTools.AddEventListenerEx(A,'keydown',_FCKKeystrokeHandler_OnKeyDown,this);if (FCKBrowserInfo.IsGecko10||FCKBrowserInfo.IsOpera||(FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac)) FCKTools.AddEventListenerEx(A,'keypress',_FCKKeystrokeHandler_OnKeyPress,this);};FCKKeystrokeHandler.prototype.SetKeystrokes=function(){for (var i=0;i<arguments.length;i++){var A=arguments[i];if (!A) continue;if (typeof(A[0])=='object') this.SetKeystrokes.apply(this,A);else{if (A.length==1) delete this.Keystrokes[A[0]];else this.Keystrokes[A[0]]=A[1]===true?true:A;}}};function _FCKKeystrokeHandler_OnKeyDown(A,B){var C=A.keyCode||A.which;var D=0;if (A.ctrlKey||A.metaKey) D+=CTRL;if (A.shiftKey) D+=SHIFT;if (A.altKey) D+=ALT;var E=C+D;var F=B._CancelIt=false;var G=B.Keystrokes[E];if (G){if (G===true||!(B.OnKeystroke&&B.OnKeystroke.apply(B,G))) return true;F=true;};if (F||(B.CancelCtrlDefaults&&D==CTRL&&(C<33||C>40))){B._CancelIt=true;if (A.preventDefault) return A.preventDefault();A.returnValue=false;A.cancelBubble=true;return false;};return true;};function _FCKKeystrokeHandler_OnKeyPress(A,B){if (B._CancelIt){if (A.preventDefault) return A.preventDefault();return false;};return true;}; -FCK.DTD=(function(){X=FCKTools.Merge;var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I;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};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};return {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:J,ins:P,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:J,textarea:N,noframes:P,big:J,small:J,span:J,hr:{},dt:L,sub:J,optgroup:{option:1},param:{},bdo:L,'var':J,div:P,object:O,sup:J,dd:P,strike:J,area:{},dir:Q,map:X({area:1,form:1,p:1},A,F,E),applet:O,dl:{dt:1,dd:1},del:P,isindex:{},fieldset:X({legend:1},K),thead:M,ul:Q,acronym:L,b:J,a:J,blockquote:P,caption:L,i:J,u:J,tbody:M,s:L,address:X(D,I),tt:J,legend:L,q:L,pre:X(G,C),p:L,em:J,dfn:L};})(); -var FCKStyle=function(A){this.Element=(A.Element||'span').toLowerCase();this._StyleDesc=A;};FCKStyle.prototype={GetType:function(){var A=this.GetType_$;if (A!=undefined) return A;var B=this.Element;if (B=='#'||FCKListsLib.StyleBlockElements[B]) A=0;else if (FCKListsLib.StyleObjectElements[B]) A=2;else A=1;return (this.GetType_$=A);},ApplyToSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.ApplyToRange(B,true);},ApplyToRange:function(A,B){switch (this.GetType()){case 0:this.ApplyToRange=this._ApplyBlockStyle;break;case 1:this.ApplyToRange=this._ApplyInlineStyle;break;default:return;};this.ApplyToRange(A,B);},ApplyToObject:function(A){if (!A) return;this.BuildElement(null,A);},RemoveFromSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.RemoveFromRange(B,true);},RemoveFromRange:function(A,B){var C;var D=this._GetAttribsForComparison();var E=this._GetOverridesForComparison();if (A.CheckIsCollapsed()){var C=A.CreateBookmark(true);var G=A.GetBookmarkNode(C,true);var H=new FCKElementPath(G.parentNode);var I=[];var J=!FCKDomTools.GetNextSibling(G);var K=J||!FCKDomTools.GetPreviousSibling(G);var L;var M=-1;for (var i=0;i<H.Elements.length;i++){var N=H.Elements[i];if (this.CheckElementRemovable(N)){if (K&&!FCKDomTools.CheckIsEmptyElement(N,function(el){return (el!=G);})){L=N;M=I.length-1;}else{var O=N.nodeName.toLowerCase();if (O==this.Element){for (var P in D){if (FCKDomTools.HasAttribute(N,P)){switch (P){case 'style':this._RemoveStylesFromElement(N);break;case 'class':if (FCKDomTools.GetAttributeValue(N,P)!=this.GetFinalAttributeValue(P)) continue;default:FCKDomTools.RemoveAttribute(N,P);}}}};this._RemoveOverrides(N,E[O]);this._RemoveNoAttribElement(N);}}else if (K) I.push(N);K=K&&((J&&!FCKDomTools.GetNextSibling(N))||(!J&&!FCKDomTools.GetPreviousSibling(N)));if (L&&(!K||(i==H.Elements.length-1))){var Q=FCKDomTools.RemoveNode(G);for (var j=0;j<=M;j++){var R=FCKDomTools.CloneElement(I[j]);R.appendChild(Q);Q=R;};if (J) FCKDomTools.InsertAfterNode(L,Q);else L.parentNode.insertBefore(Q,L);K=false;L=null;}};if (B) A.SelectBookmark(C);return;};A.Expand('inline_elements');var C=A.CreateBookmark(true);var T=A.GetBookmarkNode(C,true);var U=A.GetBookmarkNode(C,false);A.Release(true);var H=new FCKElementPath(T);var X=H.Elements;var N;for (var i=1;i<X.length;i++){N=X[i];if (N==H.Block||N==H.BlockLimit) break;if (this.CheckElementRemovable(N)) FCKDomTools.BreakParent(T,N,A);};H=new FCKElementPath(U);X=H.Elements;for (var i=1;i<X.length;i++){N=X[i];if (N==H.Block||N==H.BlockLimit) break;b=N.nodeName.toLowerCase();if (this.CheckElementRemovable(N)) FCKDomTools.BreakParent(U,N,A);};var Z=FCKDomTools.GetNextSourceNode(T,true);while (Z){var a=FCKDomTools.GetNextSourceNode(Z);if (Z.nodeType==1){var b=Z.nodeName.toLowerCase();var c=(b==this.Element);if (c){for (var P in D){if (FCKDomTools.HasAttribute(Z,P)){switch (P){case 'style':this._RemoveStylesFromElement(Z);break;case 'class':if (FCKDomTools.GetAttributeValue(Z,P)!=this.GetFinalAttributeValue(P)) continue;default:FCKDomTools.RemoveAttribute(Z,P);}}}}else c=!!E[b];if (c){this._RemoveOverrides(Z,E[b]);this._RemoveNoAttribElement(Z);}};if (a==U) break;Z=a;};this._FixBookmarkStart(T);if (B) A.SelectBookmark(C);},CheckElementRemovable:function(A,B){if (!A) return false;var C=A.nodeName.toLowerCase();if (C==this.Element){if (!B&&!FCKDomTools.HasAttributes(A)) return true;var D=this._GetAttribsForComparison();var E=(D._length==0);for (var F in D){if (F=='_length') continue;if (this._CompareAttributeValues(F,FCKDomTools.GetAttributeValue(A,F),(this.GetFinalAttributeValue(F)||''))){E=true;if (!B) break;}else{E=false;if (B) return false;}};if (E) return true;};var G=this._GetOverridesForComparison()[C];if (G){if (!(D=G.Attributes)) return true;for (var i=0;i<D.length;i++){var H=D[i][0];if (FCKDomTools.HasAttribute(A,H)){var I=D[i][1];if (I==null||(typeof I=='string'&&FCKDomTools.GetAttributeValue(A,H)==I)||I.test(FCKDomTools.GetAttributeValue(A,H))) return true;}}};return false;},CheckActive:function(A){switch (this.GetType()){case 0:return this.CheckElementRemovable(A.Block||A.BlockLimit);case 1:var B=A.Elements;for (var i=0;i<B.length;i++){var C=B[i];if (C==A.Block||C==A.BlockLimit) continue;if (this.CheckElementRemovable(C,true)) return true;}};return false;},RemoveFromElement:function(A){var B=this._GetAttribsForComparison();var C=this._GetOverridesForComparison();var D=A.getElementsByTagName(this.Element);for (var i=D.length-1;i>=0;i--){var E=D[i];for (var F in B){if (FCKDomTools.HasAttribute(E,F)){switch (F){case 'style':this._RemoveStylesFromElement(E);break;case 'class':if (FCKDomTools.GetAttributeValue(E,F)!=this.GetFinalAttributeValue(F)) continue;default:FCKDomTools.RemoveAttribute(E,F);}}};this._RemoveOverrides(E,C[this.Element]);this._RemoveNoAttribElement(E);};for (var G in C){if (G!=this.Element){D=A.getElementsByTagName(G);for (var i=D.length-1;i>=0;i--){var E=D[i];this._RemoveOverrides(E,C[G]);this._RemoveNoAttribElement(E);}}}},_RemoveStylesFromElement:function(A){var B=A.style.cssText;var C=this.GetFinalStyleValue();if (B.length>0&&C.length==0) return;C='(^|;)\\s*('+C.replace(/\s*([^ ]+):.*?(;|$)/g,'$1|').replace(/\|$/,'')+'):[^;]+';var D=new RegExp(C,'gi');B=B.replace(D,'').Trim();if (B.length==0||B==';') FCKDomTools.RemoveAttribute(A,'style');else A.style.cssText=B.replace(D,'');},_RemoveOverrides:function(A,B){var C=B&&B.Attributes;if (C){for (var i=0;i<C.length;i++){var D=C[i][0];if (FCKDomTools.HasAttribute(A,D)){var E=C[i][1];if (E==null||(E.test&&E.test(FCKDomTools.GetAttributeValue(A,D)))||(typeof E=='string'&&FCKDomTools.GetAttributeValue(A,D)==E)) FCKDomTools.RemoveAttribute(A,D);}}}},_RemoveNoAttribElement:function(A){if (!FCKDomTools.HasAttributes(A)){var B=A.firstChild;var C=A.lastChild;FCKDomTools.RemoveNode(A,true);this._MergeSiblings(B);if (B!=C) this._MergeSiblings(C);}},BuildElement:function(A,B){var C=B||A.createElement(this.Element);var D=this._StyleDesc.Attributes;var E;if (D){for (var F in D){E=this.GetFinalAttributeValue(F);if (F.toLowerCase()=='class') C.className=E;else C.setAttribute(F,E);}};if (this._GetStyleText().length>0) C.style.cssText=this.GetFinalStyleValue();return C;},_CompareAttributeValues:function(A,B,C){if (A=='style'&&B&&C){B=B.replace(/;$/,'').toLowerCase();C=C.replace(/;$/,'').toLowerCase();};return (B==C)},GetFinalAttributeValue:function(A){var B=this._StyleDesc.Attributes;var B=B?B[A]:null;if (!B&&A=='style') return this.GetFinalStyleValue();if (B&&this._Variables) B=B.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);return B;},GetFinalStyleValue:function(){var A=this._GetStyleText();if (A.length>0&&this._Variables){A=A.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);A=FCKTools.NormalizeCssText(A);};return A;},_GetVariableReplace:function(){return this._Variables[arguments[2]]||arguments[0];},SetVariable:function(A,B){var C=this._Variables;if (!C) C=this._Variables={};this._Variables[A]=B;},_ApplyBlockStyle:function(A,B){var C;if (B) C=A.CreateBookmark(true);var D=new FCKDomRangeIterator(A);D.EnforceRealBlocks=true;var E;while((E=D.GetNextParagraph())){var F=E.parentNode.insertBefore(this.BuildElement(A.Window.document),E);FCKDomTools.MoveChildren(E,F);FCKDomTools.RemoveNode(E);};if (B) A.SelectBookmark(C);},_ApplyInlineStyle:function(A,B){var C=A.Window.document;if (A.CheckIsCollapsed()){var D=this.BuildElement(C);A.InsertNode(D);A.MoveToPosition(D,2);A.Select();return;};var E=this.Element;var F=FCK.DTD[E]||FCK.DTD.span;var G=this._GetAttribsForComparison();var H;A.Expand('inline_elements');var I=A.CreateBookmark(true);var J=A.GetBookmarkNode(I,true);var K=A.GetBookmarkNode(I,false);A.Release(true);var L=FCKDomTools.GetNextSourceNode(J,true);while (L){var M=false;var N=L.nodeType;var O=N==1?L.nodeName.toLowerCase():null;if (!O||F[O]){if ((FCK.DTD[L.parentNode.nodeName.toLowerCase()]||FCK.DTD.span)[E]||!FCK.DTD[E]){if (!A.CheckHasRange()) A.SetStart(L,3);if (N!=1||L.childNodes.length==0){var P=L;var Q=P.parentNode;while (P==Q.lastChild&&F[Q.nodeName.toLowerCase()]){P=Q;};A.SetEnd(P,4);if (P==P.parentNode.lastChild&&!F[P.parentNode.nodeName.toLowerCase()]) M=true;}else{A.SetEnd(L,3);}}else M=true;}else M=true;L=FCKDomTools.GetNextSourceNode(L);if (L==K){L=null;M=true;};if (M&&A.CheckHasRange()&&!A.CheckIsCollapsed()){H=this.BuildElement(C);A.ExtractContents().AppendTo(H);if (H.innerHTML.RTrim().length>0){A.InsertNode(H);this.RemoveFromElement(H);this._MergeSiblings(H,this._GetAttribsForComparison());if (!FCKBrowserInfo.IsIE) H.normalize();};A.Release(true);}};this._FixBookmarkStart(J);if (B) A.SelectBookmark(I);},_FixBookmarkStart:function(A){var B;while ((B=A.nextSibling)){if (B.nodeType==1&&FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){if (!B.firstChild) FCKDomTools.RemoveNode(B);else FCKDomTools.MoveNode(A,B,true);continue;};if (B.nodeType==3&&B.length==0){FCKDomTools.RemoveNode(B);continue;};break;}},_MergeSiblings:function(A,B){if (!A||A.nodeType!=1||!FCKListsLib.InlineNonEmptyElements[A.nodeName.toLowerCase()]) return;this._MergeNextSibling(A,B);this._MergePreviousSibling(A,B);},_MergeNextSibling:function(A,B){var C=A.nextSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.nextSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.lastChild;if (D) FCKDomTools.MoveNode(A.nextSibling,A);FCKDomTools.MoveChildren(C,A);FCKDomTools.RemoveNode(C);if (E) this._MergeNextSibling(E);}}},_MergePreviousSibling:function(A,B){var C=A.previousSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.previousSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.firstChild;if (D) FCKDomTools.MoveNode(A.previousSibling,A,true);FCKDomTools.MoveChildren(C,A,true);FCKDomTools.RemoveNode(C);if (E) this._MergePreviousSibling(E);}}},_GetStyleText:function(){var A=this._StyleDesc.Styles;var B=(this._StyleDesc.Attributes?this._StyleDesc.Attributes['style']||'':'');if (B.length>0) B+=';';for (var C in A) B+=C+':'+A[C]+';';if (B.length>0&&!(/#\(/.test(B))){B=FCKTools.NormalizeCssText(B);};return (this._GetStyleText=function() { return B;})();},_GetAttribsForComparison:function(){var A=this._GetAttribsForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Attributes;if (B){for (var C in B){A[C.toLowerCase()]=B[C].toLowerCase();}};if (this._GetStyleText().length>0){A['style']=this._GetStyleText().toLowerCase();};FCKTools.AppendLengthProperty(A,'_length');return (this._GetAttribsForComparison_$=A);},_GetOverridesForComparison:function(){var A=this._GetOverridesForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Overrides;if (B){if (!FCKTools.IsArray(B)) B=[B];for (var i=0;i<B.length;i++){var C=B[i];var D;var E;var F;if (typeof C=='string') D=C.toLowerCase();else{D=C.Element?C.Element.toLowerCase():this.Element;F=C.Attributes;};E=A[D]||(A[D]={});if (F){var G=(E.Attributes=E.Attributes||[]);for (var H in F){G.push([H.toLowerCase(),F[H]]);}}}};return (this._GetOverridesForComparison_$=A);},_CreateElementAttribsForComparison:function(A){var B={};var C=0;for (var i=0;i<A.attributes.length;i++){var D=A.attributes[i];if (D.specified){B[D.nodeName.toLowerCase()]=FCKDomTools.GetAttributeValue(A,D).toLowerCase();C++;}};B._length=C;return B;},_CheckAttributesMatch:function(A,B){var C=A.attributes;var D=0;for (var i=0;i<C.length;i++){var E=C[i];if (E.specified){var F=E.nodeName.toLowerCase();var G=B[F];if (!G) break;if (G!=FCKDomTools.GetAttributeValue(A,E).toLowerCase()) break;D++;}};return (D==B._length);}}; -var FCKStyles=FCK.Styles={_Callbacks:{},_ObjectStyles:{},ApplyStyle:function(A){if (typeof A=='string') A=this.GetStyles()[A];if (A){if (A.GetType()==2) A.ApplyToObject(FCKSelection.GetSelectedElement());else A.ApplyToSelection(FCK.EditorWindow);FCK.Events.FireEvent('OnSelectionChange');}},RemoveStyle:function(A){if (typeof A=='string') A=this.GetStyles()[A];if (A){A.RemoveFromSelection(FCK.EditorWindow);FCK.Events.FireEvent('OnSelectionChange');}},AttachStyleStateChange:function(A,B,C){var D=this._Callbacks[A];if (!D) D=this._Callbacks[A]=[];D.push([B,C]);},CheckSelectionChanges:function(){var A=FCKSelection.GetBoundaryParentElement(true);if (!A) return;var B=new FCKElementPath(A);var C=this.GetStyles();for (var D in C){var E=this._Callbacks[D];if (E){var F=C[D];var G=F.CheckActive(B);if (F._LastState!=G){F._LastState=G;for (var i=0;i<E.length;i++){var H=E[i][0];var I=E[i][1];H.call(I||window,D,G);}}}}},CheckStyleInSelection:function(A){return false;},_GetRemoveFormatTagsRegex:function (){var A=new RegExp('^(?:'+FCKConfig.RemoveFormatTags.replace(/,/g,'|')+')$','i');return (this._GetRemoveFormatTagsRegex=function(){return A;})&&A;},RemoveAll:function(){var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();if (A.CheckIsCollapsed()) return;A.Expand('inline_elements');var B=A.CreateBookmark(true);var C=A.GetBookmarkNode(B,true);var D=A.GetBookmarkNode(B,false);A.Release(true);var E=this._GetRemoveFormatTagsRegex();var F=new FCKElementPath(C);var G=F.Elements;var H;for (var i=1;i<G.length;i++){H=G[i];if (H==F.Block||H==F.BlockLimit) break;if (E.test(H.nodeName)) FCKDomTools.BreakParent(C,H,A);};F=new FCKElementPath(D);G=F.Elements;for (var i=1;i<G.length;i++){H=G[i];if (H==F.Block||H==F.BlockLimit) break;elementName=H.nodeName.toLowerCase();if (E.test(H.nodeName)) FCKDomTools.BreakParent(D,H,A);};var I=FCKDomTools.GetNextSourceNode(C,true,1);while (I){if (I==D) break;var J=FCKDomTools.GetNextSourceNode(I,false,1);if (E.test(I.nodeName)) FCKDomTools.RemoveNode(I,true);I=J;};A.SelectBookmark(B);FCK.Events.FireEvent('OnSelectionChange');},GetStyle:function(A){return this.GetStyles()[A];},GetStyles:function(){var A=this._GetStyles;if (!A){A=this._GetStyles=FCKTools.Merge(this._LoadStylesCore(),this._LoadStylesCustom(),this._LoadStylesXml());};return A;},CheckHasObjectStyle:function(A){return!!this._ObjectStyles[A];},_LoadStylesCore:function(){var A={};var B=FCKConfig.CoreStyles;for (var C in B){var D=A['_FCK_'+C]=new FCKStyle(B[C]);D.IsCore=true;};return A;},_LoadStylesCustom:function(){var A={};var B=FCKConfig.CustomStyles;if (B){for (var C in B){var D=A[C]=new FCKStyle(B[C]);D.Name=C;}};return A;},_LoadStylesXml:function(){var A={};var B=FCKConfig.StylesXmlPath;if (!B||B.length==0) return A;var C=new FCKXml();C.LoadUrl(B);var D=FCKXml.TransformToObject(C.SelectSingleNode('Styles'));var E=D.$Style;if (!E) return A;for (var i=0;i<E.length;i++){var F=E[i];var G=(F.element||'').toLowerCase();if (G.length==0) throw('The element name is required. Error loading "'+B+'"');var H={Element:G,Attributes:{},Styles:{},Overrides:[]};var I=F.$Attribute||[];for (var j=0;j<I.length;j++){H.Attributes[I[j].name]=I[j].value;};var J=F.$Style||[];for (j=0;j<J.length;j++){H.Styles[J[j].name]=J[j].value;};var K=F.$Override;if (K){for (j=0;j<K.length;j++){var L=K[j];var M={Element:L.element};var N=L.$Attribute;if (N){M.Attributes={};for (var k=0;k<N.length;k++){var O=N[k].value||null;if (O){var P=O&&FCKRegexLib.RegExp.exec(O);if (P) O=new RegExp(P[1],P[2]||'');};M.Attributes[N[k].name]=O;}};H.Overrides.push(M);}};var Q=new FCKStyle(H);Q.Name=F.name||G;if (Q.GetType()==2) this._ObjectStyles[G]=true;A[Q.Name]=Q;};return A;}}; -var FCKListHandler={OutdentListItem:function(A){var B=A.parentNode;if (B.tagName.toUpperCase().Equals('UL','OL')){var C=FCKTools.GetElementDocument(A);var D=new FCKDocumentFragment(C);var E=D.RootNode;var F=false;var G=FCKDomTools.GetFirstChild(A,['UL','OL']);if (G){F=true;var H;while ((H=G.firstChild)) E.appendChild(G.removeChild(H));FCKDomTools.RemoveNode(G);};var I;var J=false;while ((I=A.nextSibling)){if (!F&&I.nodeType==1&&I.nodeName.toUpperCase()=='LI') J=F=true;E.appendChild(I.parentNode.removeChild(I));if (!J&&I.nodeType==1&&I.nodeName.toUpperCase().Equals('UL','OL')) FCKDomTools.RemoveNode(I,true);};var K=B.parentNode.tagName.toUpperCase();var L=(K=='LI');if (L||K.Equals('UL','OL')){if (F){var G=B.cloneNode(false);D.AppendTo(G);A.appendChild(G);}else if (L) D.InsertAfterNode(B.parentNode);else D.InsertAfterNode(B);if (L) FCKDomTools.InsertAfterNode(B.parentNode,B.removeChild(A));else FCKDomTools.InsertAfterNode(B,B.removeChild(A));}else{if (F){var N=B.cloneNode(false);D.AppendTo(N);FCKDomTools.InsertAfterNode(B,N);};var O=C.createElement(FCKConfig.EnterMode=='p'?'p':'div');FCKDomTools.MoveChildren(B.removeChild(A),O);FCKDomTools.InsertAfterNode(B,O);if (FCKConfig.EnterMode=='br'){if (FCKBrowserInfo.IsGecko) O.parentNode.insertBefore(FCKTools.CreateBogusBR(C),O);else FCKDomTools.InsertAfterNode(O,FCKTools.CreateBogusBR(C));FCKDomTools.RemoveNode(O,true);}};if (this.CheckEmptyList(B)) FCKDomTools.RemoveNode(B,true);}},CheckEmptyList:function(A){return (FCKDomTools.GetFirstChild(A,'LI')==null);},CheckListHasContents:function(A){var B=A.firstChild;while (B){switch (B.nodeType){case 1:if (!B.nodeName.IEquals('UL','LI')) return true;break;case 3:if (B.nodeValue.Trim().length>0) return true;};B=B.nextSibling;};return false;}}; -var FCKElementPath=function(A){var B=null;var C=null;var D=[];var e=A;while (e){if (e.nodeType==1){if (!this.LastElement) this.LastElement=e;var E=e.nodeName.toLowerCase();if (!C){if (!B&&FCKListsLib.PathBlockElements[E]!=null) B=e;if (FCKListsLib.PathBlockLimitElements[E]!=null){if (!B&&E=='div') B=e;else C=e;}};D.push(e);if (E=='body') break;};e=e.parentNode;};this.Block=B;this.BlockLimit=C;this.Elements=D;}; -var FCKDomRange=function(A){this.Window=A;this._Cache={};};FCKDomRange.prototype={_UpdateElementInfo:function(){var A=this._Range;if (!A) this.Release(true);else{var B=A.startContainer;var C=A.endContainer;var D=new FCKElementPath(B);this.StartNode=B.nodeType==3?B:B.childNodes[A.startOffset];this.StartContainer=B;this.StartBlock=D.Block;this.StartBlockLimit=D.BlockLimit;if (B!=C) D=new FCKElementPath(C);var E=C;if (A.endOffset==0){while (E&&!E.previousSibling) E=E.parentNode;if (E) E=E.previousSibling;}else if (E.nodeType==1) E=E.childNodes[A.endOffset-1];this.EndNode=E;this.EndContainer=C;this.EndBlock=D.Block;this.EndBlockLimit=D.BlockLimit;};this._Cache={};},CreateRange:function(){return new FCKW3CRange(this.Window.document);},DeleteContents:function(){if (this._Range){this._Range.deleteContents();this._UpdateElementInfo();}},ExtractContents:function(){if (this._Range){var A=this._Range.extractContents();this._UpdateElementInfo();return A;}},CheckIsCollapsed:function(){if (this._Range) return this._Range.collapsed;},Collapse:function(A){if (this._Range) this._Range.collapse(A);this._UpdateElementInfo();},Clone:function(){var A=FCKTools.CloneObject(this);if (this._Range) A._Range=this._Range.cloneRange();return A;},MoveToNodeContents:function(A){if (!this._Range) this._Range=this.CreateRange();this._Range.selectNodeContents(A);this._UpdateElementInfo();},MoveToElementStart:function(A){this.SetStart(A,1);this.SetEnd(A,1);},MoveToElementEditStart:function(A){var B;while ((B=A.firstChild)&&B.nodeType==1&&FCKListsLib.EmptyElements[B.nodeName.toLowerCase()]==null) A=B;this.MoveToElementStart(A);},InsertNode:function(A){if (this._Range) this._Range.insertNode(A);},CheckIsEmpty:function(){if (this.CheckIsCollapsed()) return true;var A=this.Window.document.createElement('div');this._Range.cloneContents().AppendTo(A);FCKDomTools.TrimNode(A);return (A.innerHTML.length==0);},CheckStartOfBlock:function(){var A=this._Cache;var B=A.IsStartOfBlock;if (B!=undefined) return B;var C=this.StartBlock||this.StartBlockLimit;var D=this._Range.startContainer;var E=this._Range.startOffset;var F;if (E>0){if (D.nodeType==3){var G=D.nodeValue.substr(0,E).Trim();if (G.length!=0) return A.IsStartOfBlock=false;}else F=D.childNodes[E-1];};if (!F) F=FCKDomTools.GetPreviousSourceNode(D,true,null,C);while (F){switch (F.nodeType){case 1:if (!FCKListsLib.InlineChildReqElements[F.nodeName.toLowerCase()]) return A.IsStartOfBlock=false;break;case 3:if (F.nodeValue.Trim().length>0) return A.IsStartOfBlock=false;};F=FCKDomTools.GetPreviousSourceNode(F,false,null,C);};return A.IsStartOfBlock=true;},CheckEndOfBlock:function(A){var B=this._Cache.IsEndOfBlock;if (B!=undefined) return B;var C=this.EndBlock||this.EndBlockLimit;var D=this._Range.endContainer;var E=this._Range.endOffset;var F;if (D.nodeType==3){var G=D.nodeValue;if (E<G.length){G=G.substr(E);if (G.Trim().length!=0) return this._Cache.IsEndOfBlock=false;}}else F=D.childNodes[E];if (!F) F=FCKDomTools.GetNextSourceNode(D,true,null,C);var H=false;while (F){switch (F.nodeType){case 1:var I=F.nodeName.toLowerCase();if (FCKListsLib.InlineChildReqElements[I]) break;if (I=='br'&&!H){H=true;break;};return this._Cache.IsEndOfBlock=false;case 3:if (F.nodeValue.Trim().length>0) return this._Cache.IsEndOfBlock=false;};F=FCKDomTools.GetNextSourceNode(F,false,null,C);};if (A) this.Select();return this._Cache.IsEndOfBlock=true;},CreateBookmark:function(A){var B={StartId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'S',EndId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'E'};var C=this.Window.document;var D;var E;var F;if (!this.CheckIsCollapsed()){E=C.createElement('span');E.style.display='none';E.id=B.EndId;E.setAttribute('_fck_bookmark',true);E.innerHTML='&nbsp;';F=this.Clone();F.Collapse(false);F.InsertNode(E);};D=C.createElement('span');D.style.display='none';D.id=B.StartId;D.setAttribute('_fck_bookmark',true);D.innerHTML='&nbsp;';F=this.Clone();F.Collapse(true);F.InsertNode(D);if (A){B.StartNode=D;B.EndNode=E;};if (E){this.SetStart(D,4);this.SetEnd(E,3);}else this.MoveToPosition(D,4);return B;},GetBookmarkNode:function(A,B){var C=this.Window.document;if (B) return A.StartNode||C.getElementById(A.StartId);else return A.EndNode||C.getElementById(A.EndId);},MoveToBookmark:function(A,B){var C=this.GetBookmarkNode(A,true);var D=this.GetBookmarkNode(A,false);this.SetStart(C,3);if (!B) FCKDomTools.RemoveNode(C);if (D){this.SetEnd(D,3);if (!B) FCKDomTools.RemoveNode(D);}else this.Collapse(true);this._UpdateElementInfo();},CreateBookmark2:function(){if (!this._Range) return { "Start":0,"End":0 };var A={"Start":[this._Range.startOffset],"End":[this._Range.endOffset]};var B=this._Range.startContainer.previousSibling;var C=this._Range.endContainer.previousSibling;var D=this._Range.startContainer;var E=this._Range.endContainer;while (B&&B.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;};while (C&&C.nodeType==3){A.End[0]+=C.length;E=C;C=C.previousSibling;};if (D.nodeType==1&&D.childNodes[A.Start[0]]&&D.childNodes[A.Start[0]].nodeType==3){var F=D.childNodes[A.Start[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};D=F;A.Start[0]=G;};if (E.nodeType==1&&E.childNodes[A.End[0]]&&E.childNodes[A.End[0]].nodeType==3){var F=E.childNodes[A.End[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};E=F;A.End[0]=G;};A.Start=FCKDomTools.GetNodeAddress(D,true).concat(A.Start);A.End=FCKDomTools.GetNodeAddress(E,true).concat(A.End);return A;},MoveToBookmark2:function(A){var B=FCKDomTools.GetNodeFromAddress(this.Window.document,A.Start.slice(0,-1),true);var C=FCKDomTools.GetNodeFromAddress(this.Window.document,A.End.slice(0,-1),true);this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var D=A.Start[A.Start.length-1];var E=A.End[A.End.length-1];while (B.nodeType==3&&D>B.length){if (!B.nextSibling||B.nextSibling.nodeType!=3) break;D-=B.length;B=B.nextSibling;};while (C.nodeType==3&&E>C.length){if (!C.nextSibling||C.nextSibling.nodeType!=3) break;E-=C.length;C=C.nextSibling;};this._Range.setStart(B,D);this._Range.setEnd(C,E);this._UpdateElementInfo();},MoveToPosition:function(A,B){this.SetStart(A,B);this.Collapse(true);},SetStart:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setStart(A,0);break;case 2:D.setStart(A,A.childNodes.length);break;case 3:D.setStartBefore(A);break;case 4:D.setStartAfter(A);};if (!C) this._UpdateElementInfo();},SetEnd:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setEnd(A,0);break;case 2:D.setEnd(A,A.childNodes.length);break;case 3:D.setEndBefore(A);break;case 4:D.setEndAfter(A);};if (!C) this._UpdateElementInfo();},Expand:function(A){var B,oSibling;switch (A){case 'inline_elements':if (this._Range.startOffset==0){B=this._Range.startContainer;if (B.nodeType!=1) B=B.previousSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setStartBefore(B);if (B!=B.parentNode.firstChild) break;B=B.parentNode;}}};B=this._Range.endContainer;var C=this._Range.endOffset;if ((B.nodeType==3&&C>=B.nodeValue.length)||(B.nodeType==1&&C>=B.childNodes.length)||(B.nodeType!=1&&B.nodeType!=3)){if (B.nodeType!=1) B=B.nextSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setEndAfter(B);if (B!=B.parentNode.lastChild) break;B=B.parentNode;}}};break;case 'block_contents':case 'list_contents':var D=FCKListsLib.BlockBoundaries;if (A=='list_contents'||FCKConfig.EnterMode=='br') D=FCKListsLib.ListBoundaries;if (this.StartBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents') this.SetStart(this.StartBlock,1);else{B=this._Range.startContainer;if (B.nodeType==1){var E=B.childNodes[this._Range.startOffset];if (E) B=FCKDomTools.GetPreviousSourceNode(E,true);else B=B.lastChild||B;};while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setStartBefore(B);B=B.previousSibling||B.parentNode;}};if (this.EndBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents'&&this.EndBlock.nodeName.toLowerCase()!='li') this.SetEnd(this.EndBlock,2);else{B=this._Range.endContainer;if (B.nodeType==1) B=B.childNodes[this._Range.endOffset]||B.lastChild;while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setEndAfter(B);B=B.nextSibling||B.parentNode;};if (B&&B.nodeName.toLowerCase()=='br') this._Range.setEndAfter(B);};this._UpdateElementInfo();}},SplitBlock:function(){if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var A=this.StartBlock;var B=this.EndBlock;var C=null;if (FCKConfig.EnterMode!='br'){if (!A){A=this.FixBlock(true);B=this.EndBlock;};if (!B) B=this.FixBlock(false);};var D=(A!=null&&this.CheckStartOfBlock());var E=(B!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (A&&B&&A==B){if (E){C=new FCKElementPath(this.StartContainer);this.MoveToPosition(B,4);B=null;}else if (D){C=new FCKElementPath(this.StartContainer);this.MoveToPosition(A,3);A=null;}else{this.SetEnd(A,2);var F=this.ExtractContents();B=A.cloneNode(false);B.removeAttribute('id',false);F.AppendTo(B);FCKDomTools.InsertAfterNode(A,B);this.MoveToPosition(A,4);if (FCKBrowserInfo.IsGecko&&!A.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(A);}};return {PreviousBlock:A,NextBlock:B,WasStartOfBlock:D,WasEndOfBlock:E,ElementPath:C};};return null;},FixBlock:function(A){var B=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var C=this.Window.document.createElement(FCKConfig.EnterMode);this.ExtractContents().AppendTo(C);FCKDomTools.TrimNode(C);this.InsertNode(C);this.MoveToBookmark(B);return C;},Release:function(A){if (!A) this.Window=null;this.StartNode=null;this.StartContainer=null;this.StartBlock=null;this.StartBlockLimit=null;this.EndNode=null;this.EndContainer=null;this.EndBlock=null;this.EndBlockLimit=null;this._Range=null;this._Cache=null;},CheckHasRange:function(){return!!this._Range;},GetTouchedStartNode:function(){var A=this._Range;var B=A.startContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.startOffset]||B;},GetTouchedEndNode:function(){var A=this._Range;var B=A.endContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.endOffset-1]||B;}}; -FCKDomRange.prototype.MoveToSelection=function(){this.Release(true);var A=this.Window.getSelection();if (A&&A.rangeCount>0){this._Range=FCKW3CRange.CreateFromRange(this.Window.document,A.getRangeAt(0));this._UpdateElementInfo();}else if (this.Window.document) this.MoveToElementStart(this.Window.document.body);};FCKDomRange.prototype.Select=function(){var A=this._Range;if (A){var B=A.startContainer;if (A.collapsed&&B.nodeType==1&&B.childNodes.length==0) B.appendChild(A._Document.createTextNode(''));var C=this.Window.document.createRange();C.setStart(B,A.startOffset);try{C.setEnd(A.endContainer,A.endOffset);}catch (e){if (e.toString().Contains('NS_ERROR_ILLEGAL_VALUE')){A.collapse(true);C.setEnd(A.endContainer,A.endOffset);}else throw(e);};var D=this.Window.getSelection();D.removeAllRanges();D.addRange(C);}};FCKDomRange.prototype.SelectBookmark=function(A){var B=this.Window.document.createRange();var C=this.GetBookmarkNode(A,true);var D=this.GetBookmarkNode(A,false);B.setStart(C.parentNode,FCKDomTools.GetIndexOf(C));FCKDomTools.RemoveNode(C);if (D){B.setEnd(D.parentNode,FCKDomTools.GetIndexOf(D));FCKDomTools.RemoveNode(D);};var E=this.Window.getSelection();E.removeAllRanges();E.addRange(B);} -var FCKDomRangeIterator=function(A){this.Range=A;this.ForceBrBreak=false;this.EnforceRealBlocks=false;};FCKDomRangeIterator.CreateFromSelection=function(A){var B=new FCKDomRange(A);B.MoveToSelection();return new FCKDomRangeIterator(B);};FCKDomRangeIterator.prototype={GetNextParagraph:function(){var A;var B;var C;var D;var E;var F=this.ForceBrBreak?FCKListsLib.ListBoundaries:FCKListsLib.BlockBoundaries;if (!this._LastNode){var B=this.Range.Clone();B.Expand(this.ForceBrBreak?'list_contents':'block_contents');this._NextNode=B.GetTouchedStartNode();this._LastNode=B.GetTouchedEndNode();B=null;};var H=this._NextNode;var I=this._LastNode;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};J=true;}else{if (H.firstChild){if (!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};H=H.firstChild;continue;};K=true;}}else if (H.nodeType==3){if (/^[\r\n\t ]+$/.test(H.nodeValue)) K=false;};if (K&&!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};C=((!J||K)&&H==I);if (B&&!J){while (!H.nextSibling&&!C){var N=H.parentNode;if (F[N.nodeName.toLowerCase()]){J=true;C=C||(N==I);break;};H=N;C=(H==I);L=true;}};if (K) B.SetEnd(H,4,true);if ((J||C)&&B){B._UpdateElementInfo();if (B.StartNode==B.EndNode&&B.StartNode.parentNode==B.StartBlockLimit&&B.StartNode.getAttribute&&B.StartNode.getAttribute('_fck_bookmark')) B=null;else break;};if (C) break;H=FCKDomTools.GetNextSourceNode(H,L,null,I);};if (!A){if (!B){this._NextNode=null;return null;};A=B.StartBlock;if (!A&&!this.EnforceRealBlocks&&B.StartBlockLimit.nodeName.IEquals('DIV','TH','TD')&&B.CheckStartOfBlock()&&B.CheckEndOfBlock()){A=B.StartBlockLimit;}else if (!A||(this.EnforceRealBlocks&&A.nodeName.toLowerCase()=='li')){A=this.Range.Window.document.createElement(FCKConfig.EnterMode=='p'?'p':'div');B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);B.InsertNode(A);D=true;E=true;}else if (A.nodeName.toLowerCase()!='li'){if (!B.CheckStartOfBlock()||!B.CheckEndOfBlock()){A=A.cloneNode(false);B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);var O=B.SplitBlock();D=!O.WasStartOfBlock;E=!O.WasEndOfBlock;FCKDebug.Output('removePreviousBr='+D+',removeLastBr='+E);B.InsertNode(A);}}else if (!C){this._NextNode=A==I?null:FCKDomTools.GetNextSourceNode(B.EndNode,true,null,I);return A;}};if (D){var P=A.previousSibling;if (P&&P.nodeType==1){if (P.nodeName.toLowerCase()=='br') P.parentNode.removeChild(P);else if (P.lastChild&&P.lastChild.nodeName.IEquals('br')) P.removeChild(P.lastChild);}};if (E){var Q=A.lastChild;if (Q&&Q.nodeType==1&&Q.nodeName.toLowerCase()=='br') A.removeChild(Q);};this._NextNode=(C||A==I)?null:FCKDomTools.GetNextSourceNode(A,true,null,I);return A;}}; -var FCKDocumentFragment=function(A,B){this.RootNode=B||A.createDocumentFragment();};FCKDocumentFragment.prototype={AppendTo:function(A){A.appendChild(this.RootNode);},InsertAfterNode:function(A){FCKDomTools.InsertAfterNode(A,this.RootNode);}} -var FCKW3CRange=function(A){this._Document=A;this.startContainer=null;this.startOffset=null;this.endContainer=null;this.endOffset=null;this.collapsed=true;};FCKW3CRange.CreateRange=function(A){return new FCKW3CRange(A);};FCKW3CRange.CreateFromRange=function(A,B){var C=FCKW3CRange.CreateRange(A);C.setStart(B.startContainer,B.startOffset);C.setEnd(B.endContainer,B.endOffset);return C;};FCKW3CRange.prototype={_UpdateCollapsed:function(){this.collapsed=(this.startContainer==this.endContainer&&this.startOffset==this.endOffset);},setStart:function(A,B){this.startContainer=A;this.startOffset=B;if (!this.endContainer){this.endContainer=A;this.endOffset=B;};this._UpdateCollapsed();},setEnd:function(A,B){this.endContainer=A;this.endOffset=B;if (!this.startContainer){this.startContainer=A;this.startOffset=B;};this._UpdateCollapsed();},setStartAfter:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A));},setEndAfter:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setEndBefore:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A));},collapse:function(A){if (A){this.endContainer=this.startContainer;this.endOffset=this.startOffset;}else{this.startContainer=this.endContainer;this.startOffset=this.endOffset;};this.collapsed=true;},selectNodeContents:function(A){this.setStart(A,0);this.setEnd(A,A.nodeType==3?A.data.length:A.childNodes.length);},insertNode:function(A){var B=this.startContainer;var C=this.startOffset;if (B.nodeType==3){B.splitText(C);if (B==this.endContainer) this.setEnd(B.nextSibling,this.endOffset-this.startOffset);FCKDomTools.InsertAfterNode(B,A);return;}else{B.insertBefore(A,B.childNodes[C]||null);if (B==this.endContainer){this.endOffset++;this.collapsed=false;}}},deleteContents:function(){if (this.collapsed) return;this._ExecContentsAction(0);},extractContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(1,A);return A;},cloneContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(2,A);return A;},_ExecContentsAction:function(A,B){var C=this.startContainer;var D=this.endContainer;var E=this.startOffset;var F=this.endOffset;var G=false;var H=false;if (D.nodeType==3) D=D.splitText(F);else{if (D.childNodes.length>0){if (F>D.childNodes.length-1){D=FCKDomTools.InsertAfterNode(D.lastChild,this._Document.createTextNode(''));H=true;}else D=D.childNodes[F];}};if (C.nodeType==3){C.splitText(E);if (C==D) D=C.nextSibling;}else{if (C.childNodes.length>0&&E<=C.childNodes.length-1){if (E==0){C=C.insertBefore(this._Document.createTextNode(''),C.firstChild);G=true;}else C=C.childNodes[E].previousSibling;}};var I=FCKDomTools.GetParents(C);var J=FCKDomTools.GetParents(D);var i,topStart,topEnd;for (i=0;i<I.length;i++){topStart=I[i];topEnd=J[i];if (topStart!=topEnd) break;};var K,levelStartNode,levelClone,currentNode,currentSibling;if (B) K=B.RootNode;for (var j=i;j<I.length;j++){levelStartNode=I[j];if (K&&levelStartNode!=C) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==C));currentNode=levelStartNode.nextSibling;while(currentNode){if (currentNode==J[j]||currentNode==D) break;currentSibling=currentNode.nextSibling;if (A==2) K.appendChild(currentNode.cloneNode(true));else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.appendChild(currentNode);};currentNode=currentSibling;};if (K) K=levelClone;};if (B) K=B.RootNode;for (var k=i;k<J.length;k++){levelStartNode=J[k];if (A>0&&levelStartNode!=D) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==D));if (!I[k]||levelStartNode.parentNode!=I[k].parentNode){currentNode=levelStartNode.previousSibling;while(currentNode){if (currentNode==I[k]||currentNode==C) break;currentSibling=currentNode.previousSibling;if (A==2) K.insertBefore(currentNode.cloneNode(true),K.firstChild);else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.insertBefore(currentNode,K.firstChild);};currentNode=currentSibling;}};if (K) K=levelClone;};if (A==2){var L=this.startContainer;if (L.nodeType==3){L.data+=L.nextSibling.data;L.parentNode.removeChild(L.nextSibling);};var M=this.endContainer;if (M.nodeType==3&&M.nextSibling){M.data+=M.nextSibling.data;M.parentNode.removeChild(M.nextSibling);}}else{if (topStart&&topEnd&&(C.parentNode!=topStart.parentNode||D.parentNode!=topEnd.parentNode)){var N=FCKDomTools.GetIndexOf(topEnd);if (G&&topEnd.parentNode==C.parentNode) N--;this.setStart(topEnd.parentNode,N);};this.collapse(true);};if(G) C.parentNode.removeChild(C);if(H&&D.parentNode) D.parentNode.removeChild(D);},cloneRange:function(){return FCKW3CRange.CreateFromRange(this._Document,this);}}; -var FCKEnterKey=function(A,B,C,D){this.Window=A;this.EnterMode=B||'p';this.ShiftEnterMode=C||'br';var E=new FCKKeystrokeHandler(false);E._EnterKey=this;E.OnKeystroke=FCKEnterKey_OnKeystroke;E.SetKeystrokes([[13,'Enter'],[SHIFT+13,'ShiftEnter'],[9,'Tab'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);if (D>0){this.TabText='';while (D-->0) this.TabText+='\xa0';};E.AttachToElement(A.document);};function FCKEnterKey_OnKeystroke(A,B){var C=this._EnterKey;try{switch (B){case 'Enter':return C.DoEnter();break;case 'ShiftEnter':return C.DoShiftEnter();break;case 'Backspace':return C.DoBackspace();break;case 'Delete':return C.DoDelete();break;case 'Tab':return C.DoTab();break;case 'CtrlBackspace':return C.DoCtrlBackspace();break;}}catch (e){};return false;};FCKEnterKey.prototype.DoEnter=function(A,B){FCKUndo.SaveUndoStep();this._HasShift=(B===true);var C=FCKSelection.GetParentElement();var D=new FCKElementPath(C);var E=A||this.EnterMode;if (E=='br'||D.Block&&D.Block.tagName.toLowerCase()=='pre') return this._ExecuteEnterBr();else return this._ExecuteEnterBlock(E);};FCKEnterKey.prototype.DoShiftEnter=function(){return this.DoEnter(this.ShiftEnterMode,true);};FCKEnterKey.prototype.DoBackspace=function(){var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};var C=B.CheckIsCollapsed();if (!C){if (FCKBrowserInfo.IsIE&&this.Window.document.selection.type.toLowerCase()=="control"){var D=this.Window.document.selection.createRange();for (var i=D.length-1;i>=0;i--){var E=D.item(i);E.parentNode.removeChild(E);};return true;};return false;};var F=B.StartBlock;var G=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&F&&G){if (!C){var H=B.CheckEndOfBlock();B.DeleteContents();if (F!=G){B.SetStart(G,1);B.SetEnd(G,1);};B.Select();A=(F==G);};if (B.CheckStartOfBlock()){var I=B.StartBlock;var J=FCKDomTools.GetPreviousSourceElement(I,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,J,I);}else if (FCKBrowserInfo.IsGeckoLike){B.Select();}};B.Release();return A;};FCKEnterKey.prototype.DoCtrlBackspace=function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(this.Window);A.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(A,this.Window.document.body)){this._FixIESelectAllBug(A);return true;};return false;};FCKEnterKey.prototype._ExecuteBackspace=function(A,B,C){var D=false;if (!B&&C&&C.nodeName.IEquals('LI')&&C.parentNode.parentNode.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};if (B&&B.nodeName.IEquals('LI')){var E=FCKDomTools.GetLastChild(B,['UL','OL']);while (E){B=FCKDomTools.GetLastChild(E,'LI');E=FCKDomTools.GetLastChild(B,['UL','OL']);}};if (B&&C){if (C.nodeName.IEquals('LI')&&!B.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};var F=C.parentNode;var G=B.nodeName.toLowerCase();if (FCKListsLib.EmptyElements[G]!=null||G=='table'){FCKDomTools.RemoveNode(B);D=true;}else{FCKDomTools.RemoveNode(C);while (F.innerHTML.Trim().length==0){var H=F.parentNode;H.removeChild(F);F=H;};FCKDomTools.LTrimNode(C);FCKDomTools.RTrimNode(B);A.SetStart(B,2,true);A.Collapse(true);var I=A.CreateBookmark(true);if (!C.tagName.IEquals(['TABLE'])) FCKDomTools.MoveChildren(C,B);A.SelectBookmark(I);D=true;}};return D;};FCKEnterKey.prototype.DoDelete=function(){FCKUndo.SaveUndoStep();var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};if (B.CheckIsCollapsed()&&B.CheckEndOfBlock(FCKBrowserInfo.IsGeckoLike)){var C=B.StartBlock;var D=FCKTools.GetElementAscensor(C,'td');var E=FCKDomTools.GetNextSourceElement(C,true,[B.StartBlockLimit.nodeName],['UL','OL','TR'],true);if (D){var F=FCKTools.GetElementAscensor(E,'td');if (F!=D) return true;};A=this._ExecuteBackspace(B,C,E);};B.Release();return A;};FCKEnterKey.prototype.DoTab=function(){var A=new FCKDomRange(this.Window);A.MoveToSelection();var B=A._Range.startContainer;while (B){if (B.nodeType==1){var C=B.tagName.toLowerCase();if (C=="tr"||C=="td"||C=="th"||C=="tbody"||C=="table") return false;else break;};B=B.parentNode;};if (this.TabText){A.DeleteContents();A.InsertNode(this.Window.document.createTextNode(this.TabText));A.Collapse(false);A.Select();};return true;};FCKEnterKey.prototype._ExecuteEnterBlock=function(A,B){var C=B||new FCKDomRange(this.Window);var D=C.SplitBlock();if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (!D.WasStartOfBlock&&!D.WasEndOfBlock){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(F.ownerDocument.createTextNode('\xa0'),F.firstChild);if (F) C.MoveToElementEditStart(F);}else{if (G&&H&&E.tagName.toUpperCase()=='LI'){C.MoveToElementStart(E);this._OutdentWithSelection(E,C);C.Release();return true;};var I;if (E){var J=E.tagName.toUpperCase();if (!this._HasShift&&!(/^H[1-6]$/).test(J)){I=FCKDomTools.CloneElement(E);}}else if (F) I=FCKDomTools.CloneElement(F);if (!I) I=this.Window.document.createElement(A);var K=D.ElementPath;if (K){var L=I;for (var i=0,len=K.Elements.length;i<len;i++){var M=K.Elements[i];if (M==K.Block||M==K.BlockLimit) break;if (FCKListsLib.InlineChildReqElements[M.nodeName.toLowerCase()]) L=L.appendChild(FCKDomTools.CloneElement(M));}};if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);C.InsertNode(I);if (FCKBrowserInfo.IsIE){C.MoveToNodeContents(I);C.Select();};C.MoveToElementEditStart(G&&!H?F:I);};if (FCKBrowserInfo.IsSafari) FCKDomTools.ScrollIntoView(F||I,false);else if (FCKBrowserInfo.IsGeckoLike) (F||I).scrollIntoView(false);C.Select();};C.Release();return true;};FCKEnterKey.prototype._ExecuteEnterBr=function(A){var B=new FCKDomRange(this.Window);B.MoveToSelection();if (B.StartBlockLimit==B.EndBlockLimit){B.DeleteContents();B.MoveToSelection();var C=B.CheckStartOfBlock();var D=B.CheckEndOfBlock();var E=B.StartBlock?B.StartBlock.tagName.toUpperCase():'';var F=this._HasShift;var G=false;if (!F&&E=='LI') return this._ExecuteEnterBlock(null,B);if (!F&&D&&(/^H[1-6]$/).test(E)){FCKDomTools.InsertAfterNode(B.StartBlock,this.Window.document.createElement('br'));if (FCKBrowserInfo.IsGecko) FCKDomTools.InsertAfterNode(B.StartBlock,this.Window.document.createTextNode(''));B.SetStart(B.StartBlock.nextSibling,FCKBrowserInfo.IsIE?3:1);}else{var H;G=E.IEquals('pre');if (G) H=this.Window.document.createTextNode(FCKBrowserInfo.IsIE?'\r':'\n');else H=this.Window.document.createElement('br');B.InsertNode(H);if (FCKBrowserInfo.IsGecko) FCKDomTools.InsertAfterNode(H,this.Window.document.createTextNode(''));if (D&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H.parentNode);if (FCKBrowserInfo.IsIE) B.SetStart(H,4);else B.SetStart(H.nextSibling,1);if (!FCKBrowserInfo.IsIE){var I=null;if (FCKBrowserInfo.IsOpera) I=this.Window.document.createElement('span');else I=this.Window.document.createElement('br');H.parentNode.insertBefore(I,H.nextSibling);if (FCKBrowserInfo.IsSafari) FCKDomTools.ScrollIntoView(I,false);else I.scrollIntoView(false);I.parentNode.removeChild(I);}};B.Collapse(true);B.Select(G);};B.Release();return true;};FCKEnterKey.prototype._OutdentWithSelection=function(A,B){var C=B.CreateBookmark();FCKListHandler.OutdentListItem(A);B.MoveToBookmark(C);B.Select();};FCKEnterKey.prototype._CheckIsAllContentsIncluded=function(A,B){var C=false;var D=false;if (A.StartContainer==B||A.StartContainer==B.firstChild) C=(A._Range.startOffset==0);if (A.EndContainer==B||A.EndContainer==B.lastChild){var E=A.EndContainer.nodeType==3?A.EndContainer.length:A.EndContainer.childNodes.length;D=(A._Range.endOffset==E);};return C&&D;};FCKEnterKey.prototype._FixIESelectAllBug=function(A){var B=this.Window.document;B.body.innerHTML='';var C;if (FCKConfig.EnterMode.IEquals(['div','p'])){C=B.createElement(FCKConfig.EnterMode);B.body.appendChild(C);}else C=B.body;A.MoveToNodeContents(C);A.Collapse(true);A.Select();A.Release();}; -var FCKDocumentProcessor={};FCKDocumentProcessor._Items=[];FCKDocumentProcessor.AppendNew=function(){var A={};this._Items.AddItem(A);return A;};FCKDocumentProcessor.Process=function(A){var B,i=0;while((B=this._Items[i++])) B.ProcessDocument(A);};var FCKDocumentProcessor_CreateFakeImage=function(A,B){var C=FCK.EditorDocument.createElement('IMG');C.className=A;C.src=FCKConfig.FullBasePath+'images/spacer.gif';C.setAttribute('_fckfakelement','true',0);C.setAttribute('_fckrealelement',FCKTempBin.AddElement(B),0);return C;};if (FCKBrowserInfo.IsIE||FCKBrowserInfo.IsOpera){var FCKAnchorsProcessor=FCKDocumentProcessor.AppendNew();FCKAnchorsProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('A');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.name.length>0){if (C.innerHTML!==''){if (FCKBrowserInfo.IsIE) C.className+=' FCK__AnchorC';}else{var D=FCKDocumentProcessor_CreateFakeImage('FCK__Anchor',C.cloneNode(true));D.setAttribute('_fckanchor','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}}}};var FCKPageBreaksProcessor=FCKDocumentProcessor.AppendNew();FCKPageBreaksProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('DIV');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.style.pageBreakAfter=='always'&&C.childNodes.length==1&&C.childNodes[0].style&&C.childNodes[0].style.display=='none'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',C.cloneNode(true));C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};var FCKFlashProcessor=FCKDocumentProcessor.AppendNew();FCKFlashProcessor.ProcessDocument=function(A){var B=FCK.IsDirty();var C=A.getElementsByTagName('EMBED');var D;var i=C.length-1;while (i>=0&&(D=C[i--])){var E=D.attributes['type'];if ((D.src&&D.src.EndsWith('.swf',true))||(E&&E.nodeValue=='application/x-shockwave-flash')){var F=D.cloneNode(true);var G=FCKDocumentProcessor_CreateFakeImage('FCK__Flash',F);G.setAttribute('_fckflash','true',0);FCKFlashProcessor.RefreshView(G,D);D.parentNode.insertBefore(G,D);D.parentNode.removeChild(D);}};if (!B) FCK.ResetIsDirty();};FCKFlashProcessor.RefreshView=function(A,B){if (B.getAttribute('width')>0) A.style.width=FCKTools.ConvertHtmlSizeToStyle(B.getAttribute('width'));if (B.getAttribute('height')>0) A.style.height=FCKTools.ConvertHtmlSizeToStyle(B.getAttribute('height'));};FCK.GetRealElement=function(A){var e=FCKTempBin.Elements[A.getAttribute('_fckrealelement')];if (A.getAttribute('_fckflash')){if (A.style.width.length>0) e.width=FCKTools.ConvertStyleSizeToHtml(A.style.width);if (A.style.height.length>0) e.height=FCKTools.ConvertStyleSizeToHtml(A.style.height);};return e;};if (FCKBrowserInfo.IsIE){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('HR');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){var D=A.createElement('hr');D.mergeAttributes(C,true);FCKDomTools.InsertAfterNode(C,D);C.parentNode.removeChild(C);}}};FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('INPUT');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.type=='hidden'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__InputHidden',C.cloneNode(true));D.setAttribute('_fckinputhidden','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}} -var FCKSelection=FCK.Selection={GetParentBlock:function(){var A=this.GetParentElement();while (A){if (FCKListsLib.BlockBoundaries[A.nodeName.toLowerCase()]) break;A=A.parentNode;};return A;},ApplyStyle:function(A){FCKStyles.ApplyStyle(new FCKStyle(A));}}; -FCKSelection.GetType=function(){var A='Text';var B;try { B=FCK.EditorWindow.getSelection();} catch (e) {};if (B&&B.rangeCount==1){var C=B.getRangeAt(0);if (C.startContainer==C.endContainer&&(C.endOffset-C.startOffset)==1&&C.startContainer.nodeType==1&&FCKListsLib.StyleObjectElements[C.startContainer.childNodes[C.startOffset].nodeName.toLowerCase()]){A='Control';}};return A;};FCKSelection.GetSelectedElement=function(){var A=null;var B=!!FCK.EditorWindow&&FCK.EditorWindow.getSelection();if (B&&B.anchorNode&&B.anchorNode.nodeType==1){if (this.GetType()=='Control'){A=B.anchorNode.childNodes[B.anchorOffset];if (!A) A=B.anchorNode;else if (A.nodeType!=1) return null;}};return A;};FCKSelection.GetParentElement=function(){if (this.GetType()=='Control') return FCKSelection.GetSelectedElement().parentNode;else{var A=FCK.EditorWindow.getSelection();if (A){if (A.anchorNode&&A.anchorNode==A.focusNode) return A.anchorNode.parentNode;var B=new FCKElementPath(A.anchorNode);var C=new FCKElementPath(A.focusNode);var D=null;var E=null;if (B.Elements.length>C.Elements.length){D=B.Elements;E=C.Elements;}else{D=C.Elements;E=B.Elements;};var F=D.length-E.length;for(var i=0;i<E.length;i++){if (D[F+i]==E[i]) return E[i];};return null;}};return null;};FCKSelection.GetBoundaryParentElement=function(A){if (!FCK.EditorWindow) return null;if (this.GetType()=='Control') return FCKSelection.GetSelectedElement().parentNode;else{var B=FCK.EditorWindow.getSelection();if (B&&B.rangeCount>0){var C=B.getRangeAt(A?0:(B.rangeCount-1));var D=A?C.startContainer:C.endContainer;return (D.nodeType==1?D:D.parentNode);}};return null;};FCKSelection.SelectNode=function(A){var B=FCK.EditorDocument.createRange();B.selectNode(A);var C=FCK.EditorWindow.getSelection();C.removeAllRanges();C.addRange(B);};FCKSelection.Collapse=function(A){var B=FCK.EditorWindow.getSelection();if (A==null||A===true) B.collapseToStart();else B.collapseToEnd();};FCKSelection.HasAncestorNode=function(A){var B=this.GetSelectedElement();if (!B&&FCK.EditorWindow){try { B=FCK.EditorWindow.getSelection().getRangeAt(0).startContainer;}catch(e){}};while (B){if (B.nodeType==1&&B.tagName==A) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B;var C=this.GetSelectedElement();if (!C) C=FCK.EditorWindow.getSelection().getRangeAt(0).startContainer;while (C){if (C.nodeName==A) return C;C=C.parentNode;};return null;};FCKSelection.Delete=function(){var A=FCK.EditorWindow.getSelection();for (var i=0;i<A.rangeCount;i++){A.getRangeAt(i).deleteContents();};return A;}; -var FCKTableHandler={};FCKTableHandler.InsertRow=function(A){var B=FCKSelection.MoveToAncestorNode('TR');if (!B) return;var C=B.cloneNode(true);B.parentNode.insertBefore(C,B);FCKTableHandler.ClearRow(A?C:B);};FCKTableHandler.DeleteRows=function(A){if (!A){var B=FCKTableHandler.GetSelectedCells();var C=[];for (var i=0;i<B.length;i++){var D=FCKTools.GetElementAscensor(B[i],'TR');C[D.rowIndex]=D;};for (var i=C.length;i>=0;i--){if (C[i]) FCKTableHandler.DeleteRows(C[i]);};return;};var E=FCKTools.GetElementAscensor(A,'TABLE');if (E.rows.length==1){FCKTableHandler.DeleteTable(E);return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteTable=function(A){if (!A){A=FCKSelection.GetSelectedElement();if (!A||A.tagName!='TABLE') A=FCKSelection.MoveToAncestorNode('TABLE');};if (!A) return;FCKSelection.SelectNode(A);FCKSelection.Collapse();if (A.parentNode.childNodes.length==1) A.parentNode.parentNode.removeChild(A.parentNode);else A.parentNode.removeChild(A);};FCKTableHandler.InsertColumn=function(A){var B=null;var C=this.GetSelectedCells();if (C&&C.length) B=C[A?0:(C.length-1)];if (!B) return;var D=FCKTools.GetElementAscensor(B,'TABLE');var E=B.cellIndex;for (var i=0;i<D.rows.length;i++){var F=D.rows[i];if (F.cells.length<(E+1)) continue;B=F.cells[E].cloneNode(false);if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(B);var G=F.cells[E];if (A) F.insertBefore(B,G);else if (G.nextSibling) F.insertBefore(B,G.nextSibling);else F.appendChild(B);}};FCKTableHandler.DeleteColumns=function(A){if (!A){var B=FCKTableHandler.GetSelectedCells();for (var i=B.length;i>=0;i--){if (B[i]) FCKTableHandler.DeleteColumns(B[i]);};return;};if (!A) return;var C=FCKTools.GetElementAscensor(A,'TABLE');var D=A.cellIndex;for (var i=C.rows.length-1;i>=0;i--){var E=C.rows[i];if (D==0&&E.cells.length==1){FCKTableHandler.DeleteRows(E);continue;};if (E.cells[D]) E.removeChild(E.cells[D]);}};FCKTableHandler.InsertCell=function(A,B){var C=null;var D=this.GetSelectedCells();if (D&&D.length) C=D[B?0:(D.length-1)];if (!C) return null;var E=FCK.EditorDocument.createElement('TD');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(E);if (!B&&C.cellIndex==C.parentNode.cells.length-1) C.parentNode.appendChild(E);else C.parentNode.insertBefore(E,B?C:C.nextSibling);return E;};FCKTableHandler.DeleteCell=function(A){if (A.parentNode.cells.length==1){FCKTableHandler.DeleteRows(FCKTools.GetElementAscensor(A,'TR'));return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteCells=function(){var A=FCKTableHandler.GetSelectedCells();for (var i=A.length-1;i>=0;i--){FCKTableHandler.DeleteCell(A[i]);}};FCKTableHandler._MarkCells=function(A,B){for (var i=0;i<A.length;i++) A[i][B]=true;};FCKTableHandler._UnmarkCells=function(A,B){for (var i=0;i<A.length;i++){if (FCKBrowserInfo.IsIE) A[i].removeAttribute(B);else delete A[i][B];}};FCKTableHandler._ReplaceCellsByMarker=function(A,B,C){for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){if (A[i][j][B]) A[i][j]=C;}}};FCKTableHandler._GetMarkerGeometry=function(A,B,C,D){var E=0;var F=0;var G=0;var H=0;for (var i=C;A[B][i]&&A[B][i][D];i++) E++;for (var i=C-1;A[B][i]&&A[B][i][D];i--){E++;G++;};for (var i=B;A[i]&&A[i][C]&&A[i][C][D];i++) F++;for (var i=B-1;A[i]&&A[i][C]&&A[i][C][D];i--){F++;H++;};return { 'width':E,'height':F,'x':G,'y':H };};FCKTableHandler.CheckIsSelectionRectangular=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length<1) return false;this._MarkCells(A,'_CellSelected');var B=this._CreateTableMap(A[0].parentNode.parentNode);var C=A[0].parentNode.rowIndex;var D=this._GetCellIndexSpan(B,C,A[0]);var E=this._GetMarkerGeometry(B,C,D,'_CellSelected');var F=D-E.x;var G=C-E.y;if (E.width>=E.height){for (D=F;D<F+E.width;D++){C=G+(D-F) % E.height;if (!B[C]||!B[C][D]){this._UnmarkCells(A,'_CellSelected');return false;};var g=this._GetMarkerGeometry(B,C,D,'_CellSelected');if (g.width!=E.width||g.height!=E.height){this._UnmarkCells(A,'_CellSelected');return false;}}}else{for (C=G;C<G+E.height;C++){D=F+(C-G) % E.width;if (!B[C]||!B[C][D]){this._UnmarkCells(A,'_CellSelected');return false;};var g=this._GetMarkerGeometry(B,C,D,'_CellSelected');if (g.width!=E.width||g.height!=E.height){this._UnmarkCells(A,'_CellSelected');return false;}}};this._UnmarkCells(A,'_CellSelected');return true;};FCKTableHandler.MergeCells=function(){var A=this.GetSelectedCells();if (A.length<2) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);this._MarkCells(A,'_SelectedCells');var F=this._GetMarkerGeometry(C,D,E,'_SelectedCells');var G=E-F.x;var H=D-F.y;var I=B.ownerDocument.createDocumentFragment();for (var i=0;i<F.height;i++){var J=0;for (var j=0;j<F.width;j++){var K=C[H+i][G+j];while (K.childNodes.length>0){var L=K.removeChild(K.firstChild);if (L.nodeType!=1||(L.getAttribute('type',2)!='_moz'&&L.getAttribute('_moz_dirty')!=null)){I.appendChild(L);J++;}}};if (J>0) I.appendChild(B.ownerDocument.createElement('br'));};this._ReplaceCellsByMarker(C,'_SelectedCells',B);this._UnmarkCells(A,'_SelectedCells');this._InstallTableMap(C,B.parentNode.parentNode);B.appendChild(I);if (FCKBrowserInfo.IsGeckoLike&&(!B.firstChild)) FCKTools.AppendBogusBr(B);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeRight=function(){var A=this.GetMergeRightTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCK.EditorDocument.createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));D.parentNode.removeChild(D);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeDown=function(){var A=this.GetMergeDownTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=B.ownerDocument.createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(D.ownerDocument.createElement('br'),E.firstChild);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.HorizontalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;if (F>1){var G=Math.ceil(F/2);var H=B.ownerDocument.createElement('td');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H);var I=E+G;var J=E+F;var K=isNaN(B.rowSpan)?1:B.rowSpan;for (var r=D;r<D+K;r++){for (var i=I;i<J;i++) C[r][i]=H;}}else{var L=[];for (var i=0;i<C.length;i++){var M=C[i].slice(0,E);if (C[i].length<=E){L.push(M);continue;};if (C[i][E]==B){M.push(B);M.push(B.ownerDocument.createElement('td'));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(M[M.length-1]);}else{M.push(C[i][E]);M.push(C[i][E]);};for (var j=E+1;j<C[i].length;j++) M.push(C[i][j]);L.push(M);};C=L;};this._InstallTableMap(C,B.parentNode.parentNode);};FCKTableHandler.VerticalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=FCKTableHandler._GetCellIndexSpan(C,B.parentNode.rowIndex,B);var E=B.rowSpan;var F=B.parentNode.rowIndex;if (isNaN(E)) E=1;if (E>1){B.rowSpan=Math.ceil(E/2);var G=F+Math.ceil(E/2);var H=null;for (var i=D+1;i<C[G].length;i++){if (C[G][i].parentNode.rowIndex==G){H=C[G][i];break;}};var I=FCK.EditorDocument.createElement('td');I.rowSpan=Math.floor(E/2);if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);B.parentNode.parentNode.rows[G].insertBefore(I,H);}else{var G=F+1;var K=FCK.EditorDocument.createElement('tr');B.parentNode.parentNode.insertBefore(K,B.parentNode.parentNode.rows[G]);for (var i=0;i<C[F].length;){var L=C[F][i].colSpan;if (isNaN(L)||L<1) L=1;if (i==D){i+=L;continue;};var M=C[F][i].rowSpan;if (isNaN(M)) M=1;C[F][i].rowSpan=M+1;i+=L;};var I=FCK.EditorDocument.createElement('td');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);K.appendChild(I);}};FCKTableHandler._GetCellIndexSpan=function(A,B,C){if (A.length<B+1) return null;var D=A[B];for (var c=0;c<D.length;c++){if (D[c]==C) return c;};return null;};FCKTableHandler._GetCellLocation=function(A,B){for (var i=0;i<A.length;i++){for (var c=0;c<A[i].length;c++){if (A[i][c]==B) return [i,c];}};return null;};FCKTableHandler._GetColumnCells=function(A,B){var C=[];for (var r=0;r<A.length;r++){var D=A[r][B];if (D&&(C.length==0||C[C.length-1]!=D)) C[C.length]=D;};return C;};FCKTableHandler._CreateTableMap=function(A){var B=A.rows;var r=-1;var C=[];for (var i=0;i<B.length;i++){r++;if (!C[r]) C[r]=[];var c=-1;for (var j=0;j<B[i].cells.length;j++){var D=B[i].cells[j];c++;while (C[r][c]) c++;var E=isNaN(D.colSpan)?1:D.colSpan;var F=isNaN(D.rowSpan)?1:D.rowSpan;for (var G=0;G<F;G++){if (!C[r+G]) C[r+G]=[];for (var H=0;H<E;H++){C[r+G][c+H]=B[i].cells[j];}};c+=E-1;}};return C;};FCKTableHandler._InstallTableMap=function(A,B){while (B.rows.length>0){var C=B.rows[0];C.parentNode.removeChild(C);};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (D.parentNode) D.parentNode.removeChild(D);D.colSpan=D.rowSpan=1;}};var E=0;for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (!D) continue;if (j>E) E=j;if (D._colScanned===true) continue;if (A[i][j-1]==D) D.colSpan++;if (A[i][j+1]!=D) D._colScanned=true;}};for (var i=0;i<=E;i++){for (var j=0;j<A.length;j++){if (!A[j]) continue;var D=A[j][i];if (!D||D._rowScanned===true) continue;if (A[j-1]&&A[j-1][i]==D) D.rowSpan++;if (!A[j+1]||A[j+1][i]!=D) D._rowScanned=true;}};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (FCKBrowserInfo.IsIE){D.removeAttribute('_colScanned');D.removeAttribute('_rowScanned');}else{delete D._colScanned;delete D._rowScanned;}}};for (var i=0;i<A.length;i++){var I=B.ownerDocument.createElement('tr');for (var j=0;j<A[i].length;){var D=A[i][j];if (A[i-1]&&A[i-1][j]==D){j+=D.colSpan;continue;};I.appendChild(D);j+=D.colSpan;if (D.colSpan==1) D.removeAttribute('colspan');if (D.rowSpan==1) D.removeAttribute('rowspan');};B.appendChild(I);}};FCKTableHandler._MoveCaretToCell=function (A,B){var C=new FCKDomRange(FCK.EditorWindow);C.MoveToNodeContents(A);C.Collapse(B);C.Select();};FCKTableHandler.ClearRow=function(A){var B=A.cells;for (var i=0;i<B.length;i++){B[i].innerHTML='';if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(B[i]);}};FCKTableHandler.GetMergeRightTarget=function(){var A=this.GetSelectedCells();if (A.length!=1) return null;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);var F=E+(isNaN(B.colSpan)?1:B.colSpan);var G=C[D][F];if (!G) return null;this._MarkCells([B,G],'_SizeTest');var H=this._GetMarkerGeometry(C,D,E,'_SizeTest');var I=this._GetMarkerGeometry(C,D,F,'_SizeTest');this._UnmarkCells([B,G],'_SizeTest');if (H.height!=I.height||H.y!=I.y) return null;return { 'refCell':B,'nextCell':G,'tableMap':C };};FCKTableHandler.GetMergeDownTarget=function(){var A=this.GetSelectedCells();if (A.length!=1) return null;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);var F=D+(isNaN(B.rowSpan)?1:B.rowSpan);if (!C[F]) return null;var G=C[F][E];if (!G) return null;this._MarkCells([B,G],'_SizeTest');var H=this._GetMarkerGeometry(C,D,E,'_SizeTest');var I=this._GetMarkerGeometry(C,F,E,'_SizeTest');this._UnmarkCells([B,G],'_SizeTest');if (H.width!=I.width||H.x!=I.x) return null;return { 'refCell':B,'nextCell':G,'tableMap':C };}; -FCKTableHandler.GetSelectedCells=function(){var A=[];var B=FCK.EditorWindow.getSelection();if (B.rangeCount==1&&B.anchorNode.nodeType==3){var C=FCKTools.GetElementAscensor(B.anchorNode,'TD,TH');if (C) A[0]=C;return A;};for (var i=0;i<B.rangeCount;i++){var D=B.getRangeAt(i);var E;if (D.startContainer.tagName.Equals('TD','TH')) E=D.startContainer;else E=D.startContainer.childNodes[D.startOffset];if (E.tagName.Equals('TD','TH')) A[A.length]=E;};return A;}; -var FCKXml=function(){this.Error=false;};FCKXml.GetAttribute=function(A,B,C){var D=A.attributes.getNamedItem(B);return D?D.value:C;};FCKXml.TransformToObject=function(A){if (!A) return null;var B={};var C=A.attributes;for (var i=0;i<C.length;i++){var D=C[i];B[D.name]=D.value;};var E=A.childNodes;for (i=0;i<E.length;i++){var F=E[i];if (F.nodeType==1){var G='$'+F.nodeName;var H=B[G];if (!H) H=B[G]=[];H.push(this.TransformToObject(F));}};return B;} -FCKXml.prototype={LoadUrl:function(A){this.Error=false;var B=this;var C=FCKTools.CreateXmlObject('XmlHttp');C.open("GET",A,false);C.send(null);if (C.status==200||C.status==304) this.DOMDocument=C.responseXML;else if (C.status==0&&C.readyState==4) this.DOMDocument=C.responseXML;else this.DOMDocument=null;if (this.DOMDocument==null||this.DOMDocument.firstChild==null){this.Error=true;if (window.confirm('Error loading "'+A+'"\r\nDo you want to see more info?')) alert('URL requested: "'+A+'"\r\nServer response:\r\nStatus: '+C.status+'\r\nResponse text:\r\n'+C.responseText);}},SelectNodes:function(A,B){if (this.Error) return [];var C=[];var D=this.DOMDocument.evaluate(A,B?B:this.DOMDocument,this.DOMDocument.createNSResolver(this.DOMDocument.documentElement),XPathResult.ORDERED_NODE_ITERATOR_TYPE,null);if (D){var E=D.iterateNext();while(E){C[C.length]=E;E=D.iterateNext();}};return C;},SelectSingleNode:function(A,B){if (this.Error) return null;var C=this.DOMDocument.evaluate(A,B?B:this.DOMDocument,this.DOMDocument.createNSResolver(this.DOMDocument.documentElement),9,null);if (C&&C.singleNodeValue) return C.singleNodeValue;else return null;}}; -var FCKNamedCommand=function(A){this.Name=A;};FCKNamedCommand.prototype.Execute=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetState=function(){return FCK.GetNamedCommandState(this.Name);}; -var FCKStyleCommand=function(){};FCKStyleCommand.prototype={Name:'Style',Execute:function(A,B){FCKUndo.SaveUndoStep();if (B.Selected) FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (!FCK.EditorDocument) return -1;if (FCKSelection.GetType()=='Control'){var A=FCKSelection.GetSelectedElement();if (!A||!FCKStyles.CheckHasObjectStyle(A.nodeName.toLowerCase())) return -1;};return 0;}}; -var FCKDialogCommand=function(A,B,C,D,E,F,G){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.GetStateFunction=F;this.GetStateParam=G;this.Resizable=false;};FCKDialogCommand.prototype.Execute=function(){FCKDialog.OpenDialog('FCKDialog_'+this.Name,this.Title,this.Url,this.Width,this.Height,null,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return 0;};var FCKUndefinedCommand=function(){this.Name='Undefined';};FCKUndefinedCommand.prototype.Execute=function(){alert(FCKLang.NotImplemented);};FCKUndefinedCommand.prototype.GetState=function(){return 0;};var FCKFormatBlockCommand=function(){};FCKFormatBlockCommand.prototype={Name:'FormatBlock',Execute:FCKStyleCommand.prototype.Execute,GetState:function(){return FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:'FontName',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKFontSizeCommand=function(){};FCKFontSizeCommand.prototype={Name:'FontSize',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKPreviewCommand=function(){this.Name='Preview';};FCKPreviewCommand.prototype.Execute=function(){FCK.Preview();};FCKPreviewCommand.prototype.GetState=function(){return 0;};var FCKSaveCommand=function(){this.Name='Save';};FCKSaveCommand.prototype.Execute=function(){var A=FCK.GetParentForm();if (typeof(A.onsubmit)=='function'){var B=A.onsubmit();if (B!=null&&B===false) return;};if (typeof(A.submit)=='function') A.submit();else A.submit.click();};FCKSaveCommand.prototype.GetState=function(){return 0;};var FCKNewPageCommand=function(){this.Name='NewPage';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetData('');FCKUndo.Typing=true;FCK.Focus();};FCKNewPageCommand.prototype.GetState=function(){return 0;};var FCKSourceCommand=function(){this.Name='Source';};FCKSourceCommand.prototype.Execute=function(){if (FCKConfig.SourcePopup){var A=FCKConfig.ScreenWidth*0.65;var B=FCKConfig.ScreenHeight*0.65;FCKDialog.OpenDialog('FCKDialog_Source',FCKLang.Source,'dialog/fck_source.html',A,B,null,null,true);}else FCK.SwitchEditMode();};FCKSourceCommand.prototype.GetState=function(){return (FCK.EditMode==0?0:1);};var FCKUndoCommand=function(){this.Name='Undo';};FCKUndoCommand.prototype.Execute=function(){FCKUndo.Undo();};FCKUndoCommand.prototype.GetState=function(){return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name='Redo';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){return (FCKUndo.CheckRedoState()?0:-1);};var FCKPageBreakCommand=function(){this.Name='PageBreak';};FCKPageBreakCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();var e=FCK.EditorDocument.createElement('DIV');e.style.pageBreakAfter='always';e.innerHTML='<span style="DISPLAY:none">&nbsp;</span>';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();if (C.NextBlock) C.NextBlock.parentNode.insertBefore(A,C.NextBlock);else C.PreviousBlock.parentNode.insertBefore(A,C.PreviousBlock.nextSibling);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){return 0;};var FCKUnlinkCommand=function(){this.Name='Unlink';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode('A');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode('A');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};var FCKSelectAllCommand=function(){this.Name='SelectAll';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand('SelectAll');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand('SelectAll');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCopyCommand=function(){this.Name='Copy';};FCKCopyCommand.prototype={Execute:function(){FCK.ExecuteNamedCommand(this.Name);},GetState:function(){return FCK.GetNamedCommandState('Cut');}};var FCKAnchorDeleteCommand=function(){this.Name='AnchorDelete';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()=='Control'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName=='IMG'&&A.getAttribute('_fckanchor')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode('A');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute('name');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,'');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){return FCK.GetNamedCommandState('Unlink');}}; -var FCKShowBlockCommand=function(A,B){this.Name=A;if (B!=undefined) this._SavedState=B;else this._SavedState=null;};FCKShowBlockCommand.prototype.Execute=function(){var A=this.GetState();if (A==-1) return;var B=FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,'');else B.className+=' FCK__ShowBlocks';FCK.Events.FireEvent('OnSelectionChange');};FCKShowBlockCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;if (!FCK.EditorDocument) return 0;if (/FCK__ShowBlocks(?:\s|$)/.test(FCK.EditorDocument.body.className)) return 1;return 0;};FCKShowBlockCommand.prototype.SaveState=function(){this._SavedState=this.GetState();};FCKShowBlockCommand.prototype.RestoreState=function(){if (this._SavedState!=null&&this.GetState()!=this._SavedState) this.Execute();}; -var FCKSpellCheckCommand=function(){this.Name='SpellCheck';this.IsEnabled=(FCKConfig.SpellChecker=='SpellerPages');};FCKSpellCheckCommand.prototype.Execute=function(){FCKDialog.OpenDialog('FCKDialog_SpellCheck','Spell Check','dialog/fck_spellerpages.html',440,480);};FCKSpellCheckCommand.prototype.GetState=function(){return this.IsEnabled?0:-1;} -var FCKTextColorCommand=function(A){this.Name=A=='ForeColor'?'TextColor':'BGColor';this.Type=A;var B;if (FCKBrowserInfo.IsIE) B=window;else if (FCK.ToolbarSet._IFrame) B=FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B);this._Panel.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');this._Panel.MainNode.className='FCK_Panel';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCKTools.DisableSelection(this._Panel.Document.body);};FCKTextColorCommand.prototype.Execute=function(A,B,C){this._Panel.Show(A,B,C);};FCKTextColorCommand.prototype.SetColor=function(A){FCKUndo.SaveUndoStep();var B=FCKStyles.GetStyle('_FCK_'+(this.Type=='ForeColor'?'Color':'BackColor'));if (!A||A.length==0) FCK.Styles.RemoveStyle(B);else{B.SetVariable('Color',A);FCKStyles.ApplyStyle(B);};FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');};FCKTextColorCommand.prototype.GetState=function(){return 0;};function FCKTextColorCommand_OnMouseOver(){this.className='ColorSelected';};function FCKTextColorCommand_OnMouseOut(){this.className='ColorDeselected';};function FCKTextColorCommand_OnClick(A,B,C){this.className='ColorDeselected';B.SetColor(C);B._Panel.Hide();};function FCKTextColorCommand_AutoOnClick(A,B){this.className='ColorDeselected';B.SetColor('');B._Panel.Hide();};function FCKTextColorCommand_MoreOnClick(A,B){this.className='ColorDeselected';B._Panel.Hide();FCKDialog.OpenDialog('FCKDialog_Color',FCKLang.DlgColorTitle,'dialog/fck_colorselector.html',400,330,FCKTools.Hitch(B,'SetColor'));};FCKTextColorCommand.prototype._CreatePanelBody=function(A,B){function CreateSelectionDiv(){var C=A.createElement("DIV");C.className='ColorDeselected';FCKTools.AddEventListenerEx(C,'mouseover',FCKTextColorCommand_OnMouseOver);FCKTools.AddEventListenerEx(C,'mouseout',FCKTextColorCommand_OnMouseOut);return C;};var D=B.appendChild(A.createElement("TABLE"));D.className='ForceBaseFont';D.style.tableLayout='fixed';D.cellPadding=0;D.cellSpacing=0;D.border=0;D.width=150;var E=D.insertRow(-1).insertCell(-1);E.colSpan=8;var C=E.appendChild(CreateSelectionDiv());C.innerHTML='<table cellspacing="0" cellpadding="0" width="100%" border="0">\n <tr>\n <td><div class="ColorBoxBorder"><div class="ColorBox" style="background-color: #000000"></div></div></td>\n <td nowrap width="100%" align="center">'+FCKLang.ColorAutomatic+'</td>\n </tr>\n </table>';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width='96%';var G=FCKConfig.FontColors.toString().split(',');var H=0;while (H<G.length){var I=D.insertRow(-1);for (var i=0;i<8;i++,H++){if (H<G.length){var J=G[H].split('/');var K='#'+J[0];var L=J[1]||K;};C=I.insertCell(-1).appendChild(CreateSelectionDiv());C.innerHTML='<div class="ColorBoxBorder"><div class="ColorBox" style="background-color: '+K+'"></div></div>';if (H>=G.length) C.style.visibility='hidden';else FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">'+FCKLang.ColorMoreColors+'</td></tr></table>';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_MoreOnClick,this);};if (!FCKBrowserInfo.IsIE) C.style.width='96%';}; -var FCKPastePlainTextCommand=function(){this.Name='PasteText';};FCKPastePlainTextCommand.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){return FCK.GetNamedCommandState('Paste');}; -var FCKPasteWordCommand=function(){this.Name='PasteWord';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCKConfig.ForcePasteAsPlainText) return -1;else return FCK.GetNamedCommandState('Paste');}; -var FCKTableCommand=function(A){this.Name=A;};FCKTableCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (!FCKBrowserInfo.IsGecko){switch (this.Name){case 'TableMergeRight':return FCKTableHandler.MergeRight();case 'TableMergeDown':return FCKTableHandler.MergeDown();}};switch (this.Name){case 'TableInsertRowAfter':return FCKTableHandler.InsertRow(false);case 'TableInsertRowBefore':return FCKTableHandler.InsertRow(true);case 'TableDeleteRows':return FCKTableHandler.DeleteRows();case 'TableInsertColumnAfter':return FCKTableHandler.InsertColumn(false);case 'TableInsertColumnBefore':return FCKTableHandler.InsertColumn(true);case 'TableDeleteColumns':return FCKTableHandler.DeleteColumns();case 'TableInsertCellAfter':return FCKTableHandler.InsertCell(null,false);case 'TableInsertCellBefore':return FCKTableHandler.InsertCell(null,true);case 'TableDeleteCells':return FCKTableHandler.DeleteCells();case 'TableMergeCells':return FCKTableHandler.MergeCells();case 'TableHorizontalSplitCell':return FCKTableHandler.HorizontalSplitCell();case 'TableVerticalSplitCell':return FCKTableHandler.VerticalSplitCell();case 'TableDelete':return FCKTableHandler.DeleteTable();default:return alert(FCKLang.UnknownCommand.replace(/%1/g,this.Name));}};FCKTableCommand.prototype.GetState=function(){if (FCK.EditorDocument!=null&&FCKSelection.HasAncestorNode('TABLE')){switch (this.Name){case 'TableHorizontalSplitCell':case 'TableVerticalSplitCell':if (FCKTableHandler.GetSelectedCells().length==1) return 0;else return -1;case 'TableMergeCells':if (FCKTableHandler.CheckIsSelectionRectangular()&&FCKTableHandler.GetSelectedCells().length>1) return 0;else return -1;case 'TableMergeRight':return FCKTableHandler.GetMergeRightTarget()?0:-1;case 'TableMergeDown':return FCKTableHandler.GetMergeDownTarget()?0:-1;default:return 0;}}else return -1;}; -var FCKFitWindow=function(){this.Name='FitWindow';};FCKFitWindow.prototype.Execute=function(){var A=window.frameElement;var B=A.style;var C=parent;var D=C.document.documentElement;var E=C.document.body;var F=E.style;var G;if (!this.IsMaximized){if(FCKBrowserInfo.IsIE) C.attachEvent('onresize',FCKFitWindow_Resize);else C.addEventListener('resize',FCKFitWindow_Resize,true);this._ScrollPos=FCKTools.GetScrollPosition(C);G=A;while((G=G.parentNode)){if (G.nodeType==1){G._fckSavedStyles=FCKTools.SaveStyles(G);G.style.zIndex=FCKConfig.FloatingPanelsZIndex-1;}};if (FCKBrowserInfo.IsIE){this.documentElementOverflow=D.style.overflow;D.style.overflow='hidden';F.overflow='hidden';}else{F.overflow='hidden';F.width='0px';F.height='0px';};this._EditorFrameStyles=FCKTools.SaveStyles(A);var H=FCKTools.GetViewPaneSize(C);B.position="absolute";B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=H.Width+"px";B.height=H.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var I=FCKTools.GetWindowPosition(C,A);if (I.x!=0) B.left=(-1*I.x)+"px";if (I.y!=0) B.top=(-1*I.y)+"px";this.IsMaximized=true;}else{if(FCKBrowserInfo.IsIE) C.detachEvent("onresize",FCKFitWindow_Resize);else C.removeEventListener("resize",FCKFitWindow_Resize,true);G=A;while((G=G.parentNode)){if (G._fckSavedStyles){FCKTools.RestoreStyles(G,G._fckSavedStyles);G._fckSavedStyles=null;}};if (FCKBrowserInfo.IsIE) D.style.overflow=this.documentElementOverflow;FCKTools.RestoreStyles(A,this._EditorFrameStyles);C.scrollTo(this._ScrollPos.X,this._ScrollPos.Y);this.IsMaximized=false;};FCKToolbarItems.GetItem('FitWindow').RefreshState();if (FCK.EditMode==0) FCK.EditingArea.MakeEditable();FCK.Focus();};FCKFitWindow.prototype.GetState=function(){if (FCKConfig.ToolbarLocation!='In') return -1;else return (this.IsMaximized?1:0);};function FCKFitWindow_Resize(){var A=FCKTools.GetViewPaneSize(parent);var B=window.frameElement.style;B.width=A.Width+'px';B.height=A.Height+'px';}; -var FCKListCommand=function(A,B){this.Name=A;this.TagName=B;};FCKListCommand.prototype={GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=FCKSelection.GetBoundaryParentElement(true);var B=A;while (B){if (B.nodeName.IEquals(['ul','ol'])) break;B=B.parentNode;};if (B&&B.nodeName.IEquals(this.TagName)) return 1;else return 0;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCK.EditorDocument;var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=this.GetState();if (C==0){FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild(D);B.MoveToNodeContents(D);}};var E=B.CreateBookmark();var F=[];var G={};var H=new FCKDomRangeIterator(B);var I;H.ForceBrBreak=(C==0);var J=true;var K=null;while (J){while ((I=H.GetNextParagraph())){var L=new FCKElementPath(I);var M=null;var N=false;var O=L.BlockLimit;for (var i=L.Elements.length-1;i>=0;i--){var P=L.Elements[i];if (P.nodeName.IEquals(['ol','ul'])){if (O._FCK_ListGroupObject) O._FCK_ListGroupObject=null;var Q=P._FCK_ListGroupObject;if (Q) Q.contents.push(I);else{Q={ 'root':P,'contents':[I] };F.push(Q);FCKDomTools.SetElementMarker(G,P,'_FCK_ListGroupObject',Q);};N=true;break;}};if (N) continue;var R=O;if (R._FCK_ListGroupObject) R._FCK_ListGroupObject.contents.push(I);else{var Q={ 'root':R,'contents':[I] };FCKDomTools.SetElementMarker(G,R,'_FCK_ListGroupObject',Q);F.push(Q);}};if (FCKBrowserInfo.IsIE) J=false;else{if (K==null){K=[];var T=FCK.EditorWindow.getSelection();if (T&&F.length==0) K.push(T.getRangeAt(0));for (var i=1;T&&i<T.rangeCount;i++) K.push(T.getRangeAt(i));};if (K.length<1) J=false;else{var U=FCKW3CRange.CreateFromRange(A,K.shift());B._Range=U;B._UpdateElementInfo();if (B.StartNode.nodeName.IEquals('td')) B.SetStart(B.StartNode,1);if (B.EndNode.nodeName.IEquals('td')) B.SetEnd(B.EndNode,2);H=new FCKDomRangeIterator(B);H.ForceBrBreak=(C==0);}}};var W=[];while (F.length>0){var Q=F.shift();if (C==0){if (Q.root.nodeName.IEquals(['ul','ol'])) this._ChangeListType(Q,G,W);else this._CreateList(Q,W);}else if (C==1&&Q.root.nodeName.IEquals(['ul','ol'])) this._RemoveList(Q,G);};for (var i=0;i<W.length;i++){var M=W[i];var Z=false;var a=M;while (!Z){a=a.nextSibling;if (a&&a.nodeType==3&&a.nodeValue.search(/^[\n\r\t ]*$/)==0) continue;Z=true;};if (a&&a.nodeName.IEquals(this.TagName)){a.parentNode.removeChild(a);while (a.firstChild) M.appendChild(a.removeChild(a.firstChild));};Z=false;a=M;while (!Z){a=a.previousSibling;if (a&&a.nodeType==3&&a.nodeValue.search(/^[\n\r\t ]*$/)==0) continue;Z=true;};if (a&&a.nodeName.IEquals(this.TagName)){a.parentNode.removeChild(a);while (a.lastChild) M.insertBefore(a.removeChild(a.lastChild),M.firstChild);}};FCKDomTools.ClearAllMarkers(G);B.MoveToBookmark(E);B.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},_ChangeListType:function(A,B,C){var D=FCKDomTools.ListToArray(A.root,B);var E=[];for (var i=0;i<A.contents.length;i++){var F=A.contents[i];F=FCKTools.GetElementAscensor(F,'li');if (!F||F._FCK_ListItem_Processed) continue;E.push(F);FCKDomTools.SetElementMarker(B,F,'_FCK_ListItem_Processed',true);};var G=A.root.ownerDocument.createElement(this.TagName);for (var i=0;i<E.length;i++){var H=E[i]._FCK_ListArray_Index;D[H].parent=G;};var I=FCKDomTools.ArrayToList(D,B);for (var i=0;i<I.listNode.childNodes.length;i++){if (I.listNode.childNodes[i].nodeName.IEquals(this.TagName)) C.push(I.listNode.childNodes[i]);};A.root.parentNode.replaceChild(I.listNode,A.root);},_CreateList:function(A,B){var C=A.contents;var D=A.root.ownerDocument;var E=[];if (C.length==1&&C[0]==A.root){var F=D.createElement('div');while (C[0].firstChild) F.appendChild(C[0].removeChild(C[0].firstChild));C[0].appendChild(F);C[0]=F;};var G=A.contents[0].parentNode;for (var i=0;i<C.length;i++) G=FCKDomTools.GetCommonParents(G,C[i].parentNode).pop();for (var i=0;i<C.length;i++){var H=C[i];while (H.parentNode){if (H.parentNode==G){E.push(H);break;};H=H.parentNode;}};if (E.length<1) return;var I=E[E.length-1].nextSibling;var J=D.createElement(this.TagName);B.push(J);while (E.length){var K=E.shift();var L=D.createDocumentFragment();while (K.firstChild) L.appendChild(K.removeChild(K.firstChild));K.parentNode.removeChild(K);var M=D.createElement('li');M.appendChild(L);J.appendChild(M);};G.insertBefore(J,I);},_RemoveList:function(A,B){var C=FCKDomTools.ListToArray(A.root,B);var D=[];for (var i=0;i<A.contents.length;i++){var E=A.contents[i];E=FCKTools.GetElementAscensor(E,'li');if (!E||E._FCK_ListItem_Processed) continue;D.push(E);FCKDomTools.SetElementMarker(B,E,'_FCK_ListItem_Processed',true);};var F=null;for (var i=0;i<D.length;i++){var G=D[i]._FCK_ListArray_Index;C[G].indent=-1;F=G;};for (var i=F+1;i<C.length;i++){if (C[i].indent>C[i-1].indent+1){var H=C[i-1].indent+1-C[i].indent;var I=C[i].indent;while (C[i]&&C[i].indent>=I){C[i].indent+=H;i++;};i--;}};var J=FCKDomTools.ArrayToList(C,B);if (A.root.nextSibling==null||A.root.nextSibling.nodeName.IEquals('br')){if (J.listNode.lastChild.nodeName.IEquals('br')) J.listNode.removeChild(J.listNode.lastChild);};A.root.parentNode.replaceChild(J.listNode,A.root);}}; -var FCKJustifyCommand=function(A){this.AlignValue=A;var B=FCKConfig.ContentLangDirection.toLowerCase();this.IsDefaultAlign=(A=='left'&&B=='ltr')||(A=='right'&&B=='rtl');var C=this._CssClassName=(function(){var D=FCKConfig.JustifyClasses;if (D){switch (A){case 'left':return D[0];case 'center':return D[1];case 'right':return D[2];case 'justify':return D[3];}};return null;})();if (C&&C.length>0) this._CssClassRegex=new RegExp('(?:^|\\s+)'+C+'(?=$|\\s)');};FCKJustifyCommand._GetClassNameRegex=function(){var A=FCKJustifyCommand._ClassRegex;if (A!=undefined) return A;var B=[];var C=FCKConfig.JustifyClasses;if (C){for (var i=0;i<4;i++){var D=C[i];if (D&&D.length>0) B.push(D);}};if (B.length>0) A=new RegExp('(?:^|\\s+)(?:'+B.join('|')+')(?=$|\\s)');else A=null;return FCKJustifyCommand._ClassRegex=A;};FCKJustifyCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();var B=this.GetState();if (B==-1) return;var C=A.CreateBookmark();var D=this._CssClassName;var E=new FCKDomRangeIterator(A);var F;while ((F=E.GetNextParagraph())){F.removeAttribute('align');if (D){var G=F.className.replace(FCKJustifyCommand._GetClassNameRegex(),'');if (B==0){if (G.length>0) G+=' ';F.className=G+D;}else if (G.length==0) FCKDomTools.RemoveAttribute(F,'class');}else{var H=F.style;if (B==0) H.textAlign=this.AlignValue;else{H.textAlign='';if (H.cssText.length==0) F.removeAttribute('style');}}};A.MoveToBookmark(C);A.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;var C;if (FCKBrowserInfo.IsIE) C=B.currentStyle.textAlign;else C=FCK.EditorWindow.getComputedStyle(B,'').getPropertyValue('text-align');C=C.replace(/(-moz-|-webkit-|start|auto)/i,'');if ((!C&&this.IsDefaultAlign)||C==this.AlignValue) return 1;return 0;}}; -var FCKIndentCommand=function(A,B){this.Name=A;this.Offset=B;this.IndentCSSProperty=FCKConfig.ContentLangDirection.IEquals('ltr')?'marginLeft':'marginRight';};FCKIndentCommand._InitIndentModeParameters=function(){if (FCKConfig.IndentClasses&&FCKConfig.IndentClasses.length>0){this._UseIndentClasses=true;this._IndentClassMap={};for (var i=0;i<FCKConfig.IndentClasses.length;i++) this._IndentClassMap[FCKConfig.IndentClasses[i]]=i+1;this._ClassNameRegex=new RegExp('(?:^|\\s+)('+FCKConfig.IndentClasses.join('|')+')(?=$|\\s)');}else this._UseIndentClasses=false;};FCKIndentCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();var B=A.CreateBookmark();var C=FCKDomTools.GetCommonParentNode(A.StartNode||A.StartContainer,A.EndNode||A.EndContainer,['ul','ol']);if (C) this._IndentList(A,C);else this._IndentBlock(A);A.MoveToBookmark(B);A.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;if (FCKIndentCommand._UseIndentClasses==undefined) FCKIndentCommand._InitIndentModeParameters();var A=FCKSelection.GetBoundaryParentElement(true);var B=FCKSelection.GetBoundaryParentElement(false);var C=FCKDomTools.GetCommonParentNode(A,B,['ul','ol']);if (C){if (this.Name.IEquals('outdent')) return 0;var D=FCKTools.GetElementAscensor(A,'li');if (!D||!D.previousSibling) return -1;return 0;};if (!FCKIndentCommand._UseIndentClasses&&this.Name.IEquals('indent')) return 0;var E=new FCKElementPath(A);var F=E.Block||E.BlockLimit;if (!F) return -1;if (FCKIndentCommand._UseIndentClasses){var G=F.className.match(FCKIndentCommand._ClassNameRegex);var H=0;if (G!=null){G=G[1];H=FCKIndentCommand._IndentClassMap[G];};if ((this.Name=='outdent'&&H==0)||(this.Name=='indent'&&H==FCKConfig.IndentClasses.length)) return -1;return 0;}else{var I=parseInt(F.style[this.IndentCSSProperty],10);if (isNaN(I)) I=0;if (I<=0) return -1;return 0;}},_IndentBlock:function(A){var B=new FCKDomRangeIterator(A);A.Expand('block_contents');var C=FCKDomTools.GetCommonParents(A.StartContainer,A.EndContainer);var D=C[C.length-1];var E;while ((E=B.GetNextParagraph())){if (!(E==D||E.parentNode==D)) continue;if (FCKIndentCommand._UseIndentClasses){var F=E.className.match(FCKIndentCommand._ClassNameRegex);var G=0;if (F!=null){F=F[1];G=FCKIndentCommand._IndentClassMap[F];};if (this.Name.IEquals('outdent')) G--;else if (this.Name.IEquals('indent')) G++;G=Math.min(G,FCKConfig.IndentClasses.length);G=Math.max(G,0);var H=E.className.replace(FCKIndentCommand._ClassNameRegex,'');if (G<1) E.className=H;else E.className=(H.length>0?H+' ':'')+FCKConfig.IndentClasses[G-1];}else{var I=parseInt(E.style[this.IndentCSSProperty],10);if (isNaN(I)) I=0;I+=this.Offset;I=Math.max(I,0);I=Math.ceil(I/this.Offset)*this.Offset;E.style[this.IndentCSSProperty]=I?I+FCKConfig.IndentUnit:'';if (E.getAttribute('style')=='') E.removeAttribute('style');}}},_IndentList:function(A,B){var C=A.StartContainer;var D=A.EndContainer;while (C&&C.parentNode!=B) C=C.parentNode;while (D&&D.parentNode!=B) D=D.parentNode;if (!C||!D) return;var E=C;var F=[];var G=false;while (G==false){if (E==D) G=true;F.push(E);E=E.nextSibling;};if (F.length<1) return;var H=FCKDomTools.GetParents(B);for (var i=0;i<H.length;i++){if (H[i].nodeName.IEquals(['ul','ol'])){B=H[i];break;}};var I=this.Name.IEquals('indent')?1:-1;var J=F[0];var K=F[F.length-1];var L={};var M=FCKDomTools.ListToArray(B,L);var N=M[K._FCK_ListArray_Index].indent;for (var i=J._FCK_ListArray_Index;i<=K._FCK_ListArray_Index;i++) M[i].indent+=I;for (var i=K._FCK_ListArray_Index+1;i<M.length&&M[i].indent>N;i++) M[i].indent+=I;var O=FCKDomTools.ArrayToList(M);if (O) B.parentNode.replaceChild(O.listNode,B);FCKDomTools.ClearAllMarkers(L);}}; -var FCKBlockQuoteCommand=function(){};FCKBlockQuoteCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=this.GetState();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();if (FCKBrowserInfo.IsIE){var D=B.GetBookmarkNode(C,true);var E=B.GetBookmarkNode(C,false);var F;if (D&&D.parentNode.nodeName.IEquals('blockquote')&&!D.previousSibling){F=D;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]) FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals('blockquote')&&!E.previousSibling){F=E;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]){if (F.firstChild==D) FCKDomTools.InsertAfterNode(D,E);else FCKDomTools.MoveNode(E,F,true);}}}};var G=new FCKDomRangeIterator(B);var H;if (A==0){G.EnforceRealBlocks=true;var I=[];while ((H=G.GetNextParagraph())) I.push(H);if (I.length<1){para=B.Window.document.createElement(FCKConfig.EnterMode.IEquals('p')?'p':'div');B.InsertNode(para);para.appendChild(B.Window.document.createTextNode('\ufeff'));B.MoveToBookmark(C);B.MoveToNodeContents(para);B.Collapse(true);C=B.CreateBookmark();I.push(para);};var J=I[0].parentNode;var K=[];for (var i=0;i<I.length;i++){H=I[i];J=FCKDomTools.GetCommonParents(H.parentNode,J).pop();};var L=null;while (I.length>0){H=I.shift();while (H.parentNode!=J) H=H.parentNode;if (H!=L) K.push(H);L=H;};while (K.length>0){H=K.shift();if (H.nodeName.IEquals('blockquote')){var M=H.ownerDocument.createDocumentFragment();while (H.firstChild){M.appendChild(H.removeChild(H.firstChild));I.push(M.lastChild);};H.parentNode.replaceChild(M,H);}else I.push(H);};var N=B.Window.document.createElement('blockquote');J.insertBefore(N,I[0]);while (I.length>0){H=I.shift();N.appendChild(H);}}else if (A==1){var O=[];while ((H=G.GetNextParagraph())){var P=null;var Q=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals('blockquote')){P=H.parentNode;Q=H;break;};H=H.parentNode;};if (P&&Q) O.push(Q);};var R=[];while (O.length>0){var S=O.shift();var N=S.parentNode;if (S==S.parentNode.firstChild){N.parentNode.insertBefore(N.removeChild(S),N);if (!N.firstChild) N.parentNode.removeChild(N);}else if (S==S.parentNode.lastChild){N.parentNode.insertBefore(N.removeChild(S),N.nextSibling);if (!N.firstChild) N.parentNode.removeChild(N);}else FCKDomTools.BreakParent(S,S.parentNode,B);R.push(S);};if (FCKConfig.EnterMode.IEquals('br')){while (R.length){var S=R.shift();var W=true;if (S.nodeName.IEquals('div')){var M=S.ownerDocument.createDocumentFragment();var Y=W&&S.previousSibling&&!FCKListsLib.BlockBoundaries[S.previousSibling.nodeName.toLowerCase()];if (W&&Y) M.appendChild(S.ownerDocument.createElement('br'));var Z=S.nextSibling&&!FCKListsLib.BlockBoundaries[S.nextSibling.nodeName.toLowerCase()];while (S.firstChild) M.appendChild(S.removeChild(S.firstChild));if (Z) M.appendChild(S.ownerDocument.createElement('br'));S.parentNode.replaceChild(M,S);W=false;}}}};B.MoveToBookmark(C);B.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;for (var i=0;i<A.Elements.length;i++){if (A.Elements[i].nodeName.IEquals('blockquote')) return 1;};return 0;}}; -var FCKCoreStyleCommand=function(A){this.Name='CoreStyle';this.StyleName='_FCK_'+A;this.IsActive=false;FCKStyles.AttachStyleStateChange(this.StyleName,this._OnStyleStateChange,this);};FCKCoreStyleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();if (this.IsActive) FCKStyles.RemoveStyle(this.StyleName);else FCKStyles.ApplyStyle(this.StyleName);FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){return this.IsActive?1:0;},_OnStyleStateChange:function(A,B){this.IsActive=B;}}; -var FCKRemoveFormatCommand=function(){this.Name='RemoveFormat';};FCKRemoveFormatCommand.prototype={Execute:function(){FCKStyles.RemoveAll();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){return FCK.EditorWindow?0:-1;}}; -var FCKCommands=FCK.Commands={};FCKCommands.LoadedCommands={};FCKCommands.RegisterCommand=function(A,B){this.LoadedCommands[A]=B;};FCKCommands.GetCommand=function(A){var B=FCKCommands.LoadedCommands[A];if (B) return B;switch (A){case 'Bold':case 'Italic':case 'Underline':case 'StrikeThrough':case 'Subscript':case 'Superscript':B=new FCKCoreStyleCommand(A);break;case 'RemoveFormat':B=new FCKRemoveFormatCommand();break;case 'DocProps':B=new FCKDialogCommand('DocProps',FCKLang.DocProps,'dialog/fck_docprops.html',400,390,FCKCommands.GetFullPageState);break;case 'Templates':B=new FCKDialogCommand('Templates',FCKLang.DlgTemplatesTitle,'dialog/fck_template.html',380,450);break;case 'Link':B=new FCKDialogCommand('Link',FCKLang.DlgLnkWindowTitle,'dialog/fck_link.html',400,330);break;case 'Unlink':B=new FCKUnlinkCommand();break;case 'Anchor':B=new FCKDialogCommand('Anchor',FCKLang.DlgAnchorTitle,'dialog/fck_anchor.html',370,170);break;case 'AnchorDelete':B=new FCKAnchorDeleteCommand();break;case 'BulletedList':B=new FCKDialogCommand('BulletedList',FCKLang.BulletedListProp,'dialog/fck_listprop.html?UL',370,170);break;case 'NumberedList':B=new FCKDialogCommand('NumberedList',FCKLang.NumberedListProp,'dialog/fck_listprop.html?OL',370,170);break;case 'About':B=new FCKDialogCommand('About',FCKLang.About,'dialog/fck_about.html',400,330);break;case 'Find':B=new FCKDialogCommand('Find',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,250);break;case 'Replace':B=new FCKDialogCommand('Replace',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,250);break;case 'Image':B=new FCKDialogCommand('Image',FCKLang.DlgImgTitle,'dialog/fck_image.html',450,400);break;case 'Flash':B=new FCKDialogCommand('Flash',FCKLang.DlgFlashTitle,'dialog/fck_flash.html',450,400);break;case 'SpecialChar':B=new FCKDialogCommand('SpecialChar',FCKLang.DlgSpecialCharTitle,'dialog/fck_specialchar.html',400,320);break;case 'Smiley':B=new FCKDialogCommand('Smiley',FCKLang.DlgSmileyTitle,'dialog/fck_smiley.html',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);break;case 'Table':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html',480,250);break;case 'TableProp':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html?Parent',480,250);break;case 'TableCellProp':B=new FCKDialogCommand('TableCell',FCKLang.DlgCellTitle,'dialog/fck_tablecell.html',550,250);break;case 'Style':B=new FCKStyleCommand();break;case 'FontName':B=new FCKFontNameCommand();break;case 'FontSize':B=new FCKFontSizeCommand();break;case 'FontFormat':B=new FCKFormatBlockCommand();break;case 'Source':B=new FCKSourceCommand();break;case 'Preview':B=new FCKPreviewCommand();break;case 'Save':B=new FCKSaveCommand();break;case 'NewPage':B=new FCKNewPageCommand();break;case 'PageBreak':B=new FCKPageBreakCommand();break;case 'Rule':B=new FCKRuleCommand();break;case 'TextColor':B=new FCKTextColorCommand('ForeColor');break;case 'BGColor':B=new FCKTextColorCommand('BackColor');break;case 'Paste':B=new FCKPasteCommand();break;case 'PasteText':B=new FCKPastePlainTextCommand();break;case 'PasteWord':B=new FCKPasteWordCommand();break;case 'JustifyLeft':B=new FCKJustifyCommand('left');break;case 'JustifyCenter':B=new FCKJustifyCommand('center');break;case 'JustifyRight':B=new FCKJustifyCommand('right');break;case 'JustifyFull':B=new FCKJustifyCommand('justify');break;case 'Indent':B=new FCKIndentCommand('indent',FCKConfig.IndentLength);break;case 'Outdent':B=new FCKIndentCommand('outdent',FCKConfig.IndentLength*-1);break;case 'Blockquote':B=new FCKBlockQuoteCommand();break;case 'TableInsertRowAfter':B=new FCKTableCommand('TableInsertRowAfter');break;case 'TableInsertRowBefore':B=new FCKTableCommand('TableInsertRowBefore');break;case 'TableDeleteRows':B=new FCKTableCommand('TableDeleteRows');break;case 'TableInsertColumnAfter':B=new FCKTableCommand('TableInsertColumnAfter');break;case 'TableInsertColumnBefore':B=new FCKTableCommand('TableInsertColumnBefore');break;case 'TableDeleteColumns':B=new FCKTableCommand('TableDeleteColumns');break;case 'TableInsertCellAfter':B=new FCKTableCommand('TableInsertCellAfter');break;case 'TableInsertCellBefore':B=new FCKTableCommand('TableInsertCellBefore');break;case 'TableDeleteCells':B=new FCKTableCommand('TableDeleteCells');break;case 'TableMergeCells':B=new FCKTableCommand('TableMergeCells');break;case 'TableMergeRight':B=new FCKTableCommand('TableMergeRight');break;case 'TableMergeDown':B=new FCKTableCommand('TableMergeDown');break;case 'TableHorizontalSplitCell':B=new FCKTableCommand('TableHorizontalSplitCell');break;case 'TableVerticalSplitCell':B=new FCKTableCommand('TableVerticalSplitCell');break;case 'TableDelete':B=new FCKTableCommand('TableDelete');break;case 'Form':B=new FCKDialogCommand('Form',FCKLang.Form,'dialog/fck_form.html',380,230);break;case 'Checkbox':B=new FCKDialogCommand('Checkbox',FCKLang.Checkbox,'dialog/fck_checkbox.html',380,230);break;case 'Radio':B=new FCKDialogCommand('Radio',FCKLang.RadioButton,'dialog/fck_radiobutton.html',380,230);break;case 'TextField':B=new FCKDialogCommand('TextField',FCKLang.TextField,'dialog/fck_textfield.html',380,230);break;case 'Textarea':B=new FCKDialogCommand('Textarea',FCKLang.Textarea,'dialog/fck_textarea.html',380,230);break;case 'HiddenField':B=new FCKDialogCommand('HiddenField',FCKLang.HiddenField,'dialog/fck_hiddenfield.html',380,230);break;case 'Button':B=new FCKDialogCommand('Button',FCKLang.Button,'dialog/fck_button.html',380,230);break;case 'Select':B=new FCKDialogCommand('Select',FCKLang.SelectionField,'dialog/fck_select.html',400,380);break;case 'ImageButton':B=new FCKDialogCommand('ImageButton',FCKLang.ImageButton,'dialog/fck_image.html?ImageButton',450,400);break;case 'SpellCheck':B=new FCKSpellCheckCommand();break;case 'FitWindow':B=new FCKFitWindow();break;case 'Undo':B=new FCKUndoCommand();break;case 'Redo':B=new FCKRedoCommand();break;case 'Copy':B=new FCKCopyCommand();break;case 'SelectAll':B=new FCKSelectAllCommand();break;case 'InsertOrderedList':B=new FCKListCommand('insertorderedlist','ol');break;case 'InsertUnorderedList':B=new FCKListCommand('insertunorderedlist','ul');break;case 'ShowBlocks':B=new FCKShowBlockCommand('ShowBlocks',FCKConfig.StartupShowBlocks?1:0);break;case 'Undefined':B=new FCKUndefinedCommand();break;default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);else{alert(FCKLang.UnknownCommand.replace(/%1/g,A));return null;}};FCKCommands.LoadedCommands[A]=B;return B;};FCKCommands.GetFullPageState=function(){return FCKConfig.FullPage?0:-1;};FCKCommands.GetBooleanState=function(A){return A?-1:0;}; -var FCKPanel=function(A){this.IsRTL=(FCKLang.Dir=='rtl');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();B=this.Document=this._Popup.document;FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var C=this._IFrame=this._Window.document.createElement('iframe');C.src='javascript:void(0)';C.allowTransparency=true;C.frameBorder='0';C.scrolling='no';C.width=C.height=0;FCKDomTools.SetElementStyles(C,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});if (this._Window==window.parent&&window.frameElement){var D=null;if (FCKBrowserInfo.IsGecko&&FCK&&FCK.EditorDocument) D=[FCK.EditorDocument.body.scrollLeft,FCK.EditorDocument.body.scrollTop];window.frameElement.parentNode.insertBefore(C,window.frameElement);if (D){var E=function(){FCK.EditorDocument.body.scrollLeft=D[0];FCK.EditorDocument.body.scrollTop=D[1];};setTimeout(E,500);}}else this._Window.document.body.appendChild(C);var F=C.contentWindow;B=this.Document=F.document;var G='';if (FCKBrowserInfo.IsSafari) G='<base href="'+window.document.location+'">';B.open();B.write('<html><head>'+G+'<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>');B.close();FCKTools.AddEventListenerEx(F,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(F,'blur',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,'contextmenu',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement('DIV'));this.MainNode.style.cssFloat=this.IsRTL?'right':'left';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!='undefined') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKPanel._OpenedPanel) FCKPanel._OpenedPanel.Hide();FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (!B) this._IFrame.width=1;if (!C) this._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(FCKTools.GetElementWindow(this._IFrame),this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};if (x<0) x=0;FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});var M=D;var N=E.offsetHeight;this._IFrame.width=M;this._IFrame.height=N;this._IFrame.contentWindow.focus();FCKPanel._OpenedPanel=this;};this._IsOpened=true;FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined') FCKFocusManager.Unlock();this._IFrame.width=this._IFrame.height=0;this._IsOpened=false;if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;}; -var FCKIcon=function(A){var B=A?typeof(A):'undefined';switch (B){case 'number':this.Path=FCKConfig.SkinPath+'fck_strip.gif';this.Size=16;this.Position=A;break;case 'undefined':this.Path=FCK_SPACER_PATH;break;case 'string':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B,eIconImage;if (this.Position){var C='-'+((this.Position-1)*this.Size)+'px';if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path;eIconImage.style.top=C;}else{B=A.createElement('IMG');B.src=FCK_SPACER_PATH;B.style.backgroundPosition='0px '+C;B.style.backgroundImage='url("'+this.Path+'")';}}else{if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path?this.Path:FCK_SPACER_PATH;}else{B=A.createElement('IMG');B.src=this.Path?this.Path:FCK_SPACER_PATH;}};B.className='TB_Button_Image';return B;} -var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||0;this.State=F||0;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement('IMG');B.className='TB_Button_Padding';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) C.onmousedown=FCKTools.CancelEvent;FCKTools.AddEventListenerEx(C,'mouseover',FCKToolbarButtonUI_OnMouseOver,this);FCKTools.AddEventListenerEx(C,'mouseout',FCKToolbarButtonUI_OnMouseOut,this);FCKTools.AddEventListenerEx(C,'click',FCKToolbarButtonUI_OnClick,this);this.ChangeState(this.State,true);if (this.Style==0&&!this.ShowArrow){C.appendChild(this.Icon.CreateIconElement(B));}else{var D=C.appendChild(B.createElement('TABLE'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==0||this.Style==2) F.appendChild(this.Icon.CreateIconElement(B));else F.appendChild(this._CreatePaddingElement(B));if (this.Style==1||this.Style==2){F=E.insertCell(-1);F.className='TB_Button_Text';F.noWrap=true;F.appendChild(B.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=0){E.insertCell(-1).appendChild(this._CreatePaddingElement(B));};F=E.insertCell(-1);var G=F.appendChild(B.createElement('IMG'));G.src=FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(B));};A.appendChild(C);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;if (!e) return;switch (parseInt(A,10)){case 0:e.className='TB_Button_Off';break;case 1:e.className='TB_Button_On';break;case -1:e.className='TB_Button_Disabled';break;};this.State=A;};function FCKToolbarButtonUI_OnMouseOver(A,B){if (B.State==0) this.className='TB_Button_Off_Over';else if (B.State==1) this.className='TB_Button_On_Over';};function FCKToolbarButtonUI_OnMouseOut(A,B){if (B.State==0) this.className='TB_Button_Off';else if (B.State==1) this.className='TB_Button_On';};function FCKToolbarButtonUI_OnClick(A,B){if (B.OnClick&&B.State!=-1) B.OnClick(B);};function FCKToolbarButtonUI_Cleanup(){this.MainElement=null;}; -var FCKToolbarButton=function(A,B,C,D,E,F,G){this.CommandName=A;this.Label=B;this.Tooltip=C;this.Style=D;this.SourceView=E?true:false;this.ContextSensitive=F?true:false;if (G==null) this.IconPath=FCKConfig.SkinPath+'toolbar/'+A.toLowerCase()+'.gif';else if (typeof(G)=='number') this.IconPath=[FCKConfig.SkinPath+'fck_strip.gif',16,G];else this.IconPath=G;};FCKToolbarButton.prototype.Create=function(A){this._UIButton=new FCKToolbarButtonUI(this.CommandName,this.Label,this.Tooltip,this.IconPath,this.Style);this._UIButton.OnClick=this.Click;this._UIButton._ToolbarButton=this;this._UIButton.Create(A);};FCKToolbarButton.prototype.RefreshState=function(){var A=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (A==this._UIButton.State) return;this._UIButton.ChangeState(A);};FCKToolbarButton.prototype.Click=function(){var A=this._ToolbarButton||this;FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(A.CommandName).Execute();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};FCKToolbarButton.prototype.Disable=function(){this._UIButton.ChangeState(-1);} -var FCKSpecialCombo=function(A,B,C,D,E){this.FieldWidth=B||100;this.PanelWidth=C||150;this.PanelMaxHeight=D||150;this.Label='&nbsp;';this.Caption=A;this.Tooltip=A;this.Style=2;this.Enabled=true;this.Items={};this._Panel=new FCKPanel(E||window);this._Panel.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');this._PanelBox=this._Panel.MainNode.appendChild(this._Panel.Document.createElement('DIV'));this._PanelBox.className='SC_Panel';this._PanelBox.style.width=this.PanelWidth+'px';this._PanelBox.innerHTML='<table cellpadding="0" cellspacing="0" width="100%" style="TABLE-LAYOUT: fixed"><tr><td nowrap></td></tr></table>';this._ItemsHolderEl=this._PanelBox.getElementsByTagName('TD')[0];if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKSpecialCombo_Cleanup);};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(A,B,C){this.className=this.originalClass;B._Panel.Hide();B.SetLabel(this.FCKItemLabel);if (typeof(B.OnSelect)=='function') B.OnSelect(C,this);};FCKSpecialCombo.prototype.ClearItems=function (){if (this.Items) this.Items={};var A=this._ItemsHolderEl;while (A.firstChild) A.removeChild(A.firstChild);};FCKSpecialCombo.prototype.AddItem=function(A,B,C,D){var E=this._ItemsHolderEl.appendChild(this._Panel.Document.createElement('DIV'));E.className=E.originalClass='SC_Item';E.innerHTML=B;E.FCKItemLabel=C||A;E.Selected=false;if (FCKBrowserInfo.IsIE) E.style.width='100%';if (D) E.style.backgroundColor=D;FCKTools.AddEventListenerEx(E,'mouseover',FCKSpecialCombo_ItemOnMouseOver);FCKTools.AddEventListenerEx(E,'mouseout',FCKSpecialCombo_ItemOnMouseOut);FCKTools.AddEventListenerEx(E,'click',FCKSpecialCombo_ItemOnClick,[this,A]);this.Items[A.toString().toLowerCase()]=E;return E;};FCKSpecialCombo.prototype.SelectItem=function(A){if (typeof A=='string') A=this.Items[A.toString().toLowerCase()];if (A){A.className=A.originalClass='SC_ItemSelected';A.Selected=true;}};FCKSpecialCombo.prototype.SelectItemByLabel=function(A,B){for (var C in this.Items){var D=this.Items[C];if (D.FCKItemLabel==A){D.className=D.originalClass='SC_ItemSelected';D.Selected=true;if (B) this.SetLabel(A);}}};FCKSpecialCombo.prototype.DeselectAll=function(A){for (var i in this.Items){if (!this.Items[i]) continue;this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};if (A) this.SetLabel('');};FCKSpecialCombo.prototype.SetLabelById=function(A){A=A?A.toString().toLowerCase():'';var B=this.Items[A];this.SetLabel(B?B.FCKItemLabel:'');};FCKSpecialCombo.prototype.SetLabel=function(A){A=(!A||A.length==0)?'&nbsp;':A;if (A==this.Label) return;this.Label=A;var B=this._LabelEl;if (B){B.innerHTML=A;FCKTools.DisableSelection(B);}};FCKSpecialCombo.prototype.SetEnabled=function(A){this.Enabled=A;if (this._OuterTable) this._OuterTable.className=A?'':'SC_FieldDisabled';};FCKSpecialCombo.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this._OuterTable=A.appendChild(B.createElement('TABLE'));C.cellPadding=0;C.cellSpacing=0;C.insertRow(-1);var D;var E;switch (this.Style){case 0:D='TB_ButtonType_Icon';E=false;break;case 1:D='TB_ButtonType_Text';E=false;break;case 2:E=true;break;};if (this.Caption&&this.Caption.length>0&&E){var F=C.rows[0].insertCell(-1);F.innerHTML=this.Caption;F.className='SC_FieldCaption';};var G=FCKTools.AppendElement(C.rows[0].insertCell(-1),'div');if (E){G.className='SC_Field';G.style.width=this.FieldWidth+'px';G.innerHTML='<table width="100%" cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldLabel"><label>&nbsp;</label></td><td class="SC_FieldButton">&nbsp;</td></tr></tbody></table>';this._LabelEl=G.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;}else{G.className='TB_Button_Off';G.innerHTML='<table title="'+this.Tooltip+'" class="'+D+'" cellspacing="0" cellpadding="0" border="0"><tr><td><img class="TB_Button_Padding" src="'+FCK_SPACER_PATH+'" /></td><td class="TB_Text">'+this.Caption+'</td><td><img class="TB_Button_Padding" src="'+FCK_SPACER_PATH+'" /></td><td class="TB_ButtonArrow"><img src="'+FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif" width="5" height="3"></td><td><img class="TB_Button_Padding" src="'+FCK_SPACER_PATH+'" /></td></tr></table>';};FCKTools.AddEventListenerEx(G,'mouseover',FCKSpecialCombo_OnMouseOver,this);FCKTools.AddEventListenerEx(G,'mouseout',FCKSpecialCombo_OnMouseOut,this);FCKTools.AddEventListenerEx(G,'click',FCKSpecialCombo_OnClick,this);FCKTools.DisableSelection(this._Panel.Document.body);};function FCKSpecialCombo_Cleanup(){this._LabelEl=null;this._OuterTable=null;this._ItemsHolderEl=null;this._PanelBox=null;if (this.Items){for (var A in this.Items) this.Items[A]=null;}};function FCKSpecialCombo_OnMouseOver(A,B){if (B.Enabled){switch (B.Style){case 0:this.className='TB_Button_On_Over';break;case 1:this.className='TB_Button_On_Over';break;case 2:this.className='SC_Field SC_FieldOver';break;}}};function FCKSpecialCombo_OnMouseOut(A,B){switch (B.Style){case 0:this.className='TB_Button_Off';break;case 1:this.className='TB_Button_Off';break;case 2:this.className='SC_Field';break;}};function FCKSpecialCombo_OnClick(e,A){if (A.Enabled){var B=A._Panel;var C=A._PanelBox;var D=A._ItemsHolderEl;var E=A.PanelMaxHeight;if (A.OnBeforeClick) A.OnBeforeClick(A);if (FCKBrowserInfo.IsIE) B.Preload(0,this.offsetHeight,this);if (D.offsetHeight>E) C.style.height=E+'px';else C.style.height='';B.Show(0,this.offsetHeight,this);}}; -var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;};FCKToolbarSpecialCombo.prototype.DefaultLabel='';function FCKToolbarSpecialCombo_OnSelect(A,B){FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).Execute(A,B);};FCKToolbarSpecialCombo.prototype.Create=function(A){this._Combo=new FCKSpecialCombo(this.GetLabel(),this.FieldWidth,this.PanelWidth,this.PanelMaxHeight,FCKBrowserInfo.IsIE?window:FCKTools.GetElementWindow(A).parent);this._Combo.Tooltip=this.Tooltip;this._Combo.Style=this.Style;this.CreateItems(this._Combo);this._Combo.Create(A);this._Combo.CommandName=this.CommandName;this._Combo.OnSelect=FCKToolbarSpecialCombo_OnSelect;};function FCKToolbarSpecialCombo_RefreshActiveItems(A,B){A.DeselectAll();A.SelectItem(B);A.SetLabelById(B);};FCKToolbarSpecialCombo.prototype.RefreshState=function(){var A;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B!=-1){A=1;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,B);else{if (this._LastValue!==B){this._LastValue=B;if (!B||B.length==0){this._Combo.DeselectAll();this._Combo.SetLabel(this.DefaultLabel);}else FCKToolbarSpecialCombo_RefreshActiveItems(this._Combo,B);}}}else A=-1;if (A==this.State) return;if (A==-1){this._Combo.DeselectAll();this._Combo.SetLabel('');};this.State=A;this._Combo.SetEnabled(A!=-1);};FCKToolbarSpecialCombo.prototype.Enable=function(){this.RefreshState();};FCKToolbarSpecialCombo.prototype.Disable=function(){this.State=-1;this._Combo.DeselectAll();this._Combo.SetLabel('');this._Combo.SetEnabled(false);}; -var FCKToolbarStyleCombo=function(A,B){if (A===false) return;this.CommandName='Style';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultStyleLabel||'';};FCKToolbarStyleCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarStyleCombo.prototype.GetLabel=function(){return FCKLang.Style;};FCKToolbarStyleCombo.prototype.GetStyles=function(){var A={};var B=FCK.ToolbarSet.CurrentInstance.Styles.GetStyles();for (var C in B){var D=B[C];if (!D.IsCore) A[C]=D;};return A;};FCKToolbarStyleCombo.prototype.CreateItems=function(A){var B=A._Panel.Document;FCKTools.AppendStyleSheet(B,FCKConfig.ToolbarComboPreviewCSS);FCKTools.AppendStyleString(B,FCKConfig.EditorAreaStyles);B.body.className+=' ForceBaseFont';FCKConfig.ApplyBodyAttributes(B.body);var C=this.GetStyles();for (var D in C){var E=C[D];var F=E.GetType()==2?D:FCKToolbarStyleCombo_BuildPreview(E,E.Label||D);var G=A.AddItem(D,F);G.Style=E;};A.OnBeforeClick=this.StyleCombo_OnBeforeClick;};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(A){var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Elements;for (var e=0;e<D.length;e++){for (var i in A.Items){var E=A.Items[i];var F=E.Style;if (F.CheckElementRemovable(D[e],true)){A.SetLabel(F.Label||F.Name);return;}}}};A.SetLabel(this.DefaultLabel);};FCKToolbarStyleCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B;var C;var D;var E=FCK.ToolbarSet.CurrentInstance.Selection;if (E.GetType()=='Control'){B=E.GetSelectedElement();D=B.nodeName.toLowerCase();}else{B=E.GetBoundaryParentElement(true);C=new FCKElementPath(B);};for (var i in A.Items){var F=A.Items[i];var G=F.Style;if ((D&&G.Element==D)||(!D&&G.GetType()!=2)){F.style.display='';if ((C&&G.CheckActive(C))||(!C&&G.CheckElementRemovable(B,true))) A.SelectItem(G.Name);}else F.style.display='none';}};function FCKToolbarStyleCombo_BuildPreview(A,B){var C=A.GetType();var D=[];if (C==0) D.push('<div class="BaseFont">');var E=A.Element;if (E=='bdo') E='span';D=['<',E];var F=A._StyleDesc.Attributes;if (F){for (var G in F){D.push(' ',G,'="',A.GetFinalAttributeValue(G),'"');}};if (A._GetStyleText().length>0) D.push(' style="',A.GetFinalStyleValue(),'"');D.push('>',B,'</',E,'>');if (C==0) D.push('</div>');return D.join('');} -var FCKToolbarFontFormatCombo=function(A,B){if (A===false) return;this.CommandName='FontFormat';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.NormalLabel='Normal';this.PanelWidth=190;this.DefaultLabel=FCKConfig.DefaultFontFormatLabel||'';};FCKToolbarFontFormatCombo.prototype=new FCKToolbarStyleCombo(false);FCKToolbarFontFormatCombo.prototype.GetLabel=function(){return FCKLang.FontFormat;};FCKToolbarFontFormatCombo.prototype.GetStyles=function(){var A={};var B=FCKLang['FontFormats'].split(';');var C={p:B[0],pre:B[1],address:B[2],h1:B[3],h2:B[4],h3:B[5],h4:B[6],h5:B[7],h6:B[8],div:B[9]||(B[0]+' (DIV)')};var D=FCKConfig.FontFormats.split(';');for (var i=0;i<D.length;i++){var E=D[i];var F=FCKStyles.GetStyle('_FCK_'+E);if (F){F.Label=C[E];A['_FCK_'+E]=F;}else alert("The FCKConfig.CoreStyles['"+E+"'] setting was not found. Please check the fckconfig.js file");};return A;};FCKToolbarFontFormatCombo.prototype.RefreshActiveItems=function(A){var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Block;if (D){for (var i in A.Items){var E=A.Items[i];var F=E.Style;if (F.CheckElementRemovable(D)){A.SetLabel(F.Label);return;}}}};A.SetLabel(this.DefaultLabel);};FCKToolbarFontFormatCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Block;for (var i in A.Items){var E=A.Items[i];var F=E.Style;if (F.CheckElementRemovable(D)){A.SelectItem(E);return;}}}}; -var FCKToolbarFontsCombo=function(A,B){this.CommandName='FontName';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontLabel||'';};FCKToolbarFontsCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontsCombo.prototype.GetLabel=function(){return FCKLang.Font;};FCKToolbarFontsCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle('_FCK_FontFace');if (!A){alert("The FCKConfig.CoreStyles['Size'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontNames.split(';');for (var i=0;i<C.length;i++){var D=C[i].split('/');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable('Font',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontsCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B=FCKSelection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);for (var i in A.Items){var D=A.Items[i];var E=D.Style;if (E.CheckActive(C)){A.SelectItem(D);return;}}}}; -var FCKToolbarFontSizeCombo=function(A,B){this.CommandName='FontSize';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontSizeLabel||'';this.FieldWidth=70;};FCKToolbarFontSizeCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontSizeCombo.prototype.GetLabel=function(){return FCKLang.FontSize;};FCKToolbarFontSizeCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle('_FCK_Size');if (!A){alert("The FCKConfig.CoreStyles['FontFace'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontSizes.split(';');for (var i=0;i<C.length;i++){var D=C[i].split('/');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable('Size',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontSizeCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontSizeCombo.prototype.StyleCombo_OnBeforeClick=FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick; -var FCKToolbarPanelButton=function(A,B,C,D,E){this.CommandName=A;var F;if (E==null) F=FCKConfig.SkinPath+'toolbar/'+A.toLowerCase()+'.gif';else if (typeof(E)=='number') F=[FCKConfig.SkinPath+'fck_strip.gif',16,E];var G=this._UIButton=new FCKToolbarButtonUI(A,B,C,F,D);G._FCKToolbarPanelButton=this;G.ShowArrow=true;G.OnClick=FCKToolbarPanelButton_OnButtonClick;};FCKToolbarPanelButton.prototype.TypeName='FCKToolbarPanelButton';FCKToolbarPanelButton.prototype.Create=function(A){A.className+='Menu';this._UIButton.Create(A);var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName)._Panel;B._FCKToolbarPanelButton=this;var C=B.Document.body.appendChild(B.Document.createElement('div'));C.style.position='absolute';C.style.top='0px';var D=this.LineImg=C.appendChild(B.Document.createElement('IMG'));D.className='TB_ConnectionLine';D.style.position='absolute';D.src=FCK_SPACER_PATH;B.OnHide=FCKToolbarPanelButton_OnPanelHide;};function FCKToolbarPanelButton_OnButtonClick(A){var B=this._FCKToolbarPanelButton;var e=B._UIButton.MainElement;B._UIButton.ChangeState(1);B.LineImg.style.width=(e.offsetWidth-2)+'px';FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(B.CommandName).Execute(0,e.offsetHeight-1,e);};function FCKToolbarPanelButton_OnPanelHide(){var A=this._FCKToolbarPanelButton;A._UIButton.ChangeState(0);};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable; -var FCKToolbarItems={};FCKToolbarItems.LoadedItems={};FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case 'Source':B=new FCKToolbarButton('Source',FCKLang.Source,null,2,true,true,1);break;case 'DocProps':B=new FCKToolbarButton('DocProps',FCKLang.DocProps,null,null,null,null,2);break;case 'Save':B=new FCKToolbarButton('Save',FCKLang.Save,null,null,true,null,3);break;case 'NewPage':B=new FCKToolbarButton('NewPage',FCKLang.NewPage,null,null,true,null,4);break;case 'Preview':B=new FCKToolbarButton('Preview',FCKLang.Preview,null,null,true,null,5);break;case 'Templates':B=new FCKToolbarButton('Templates',FCKLang.Templates,null,null,null,null,6);break;case 'About':B=new FCKToolbarButton('About',FCKLang.About,null,null,true,null,47);break;case 'Cut':B=new FCKToolbarButton('Cut',FCKLang.Cut,null,null,false,true,7);break;case 'Copy':B=new FCKToolbarButton('Copy',FCKLang.Copy,null,null,false,true,8);break;case 'Paste':B=new FCKToolbarButton('Paste',FCKLang.Paste,null,null,false,true,9);break;case 'PasteText':B=new FCKToolbarButton('PasteText',FCKLang.PasteText,null,null,false,true,10);break;case 'PasteWord':B=new FCKToolbarButton('PasteWord',FCKLang.PasteWord,null,null,false,true,11);break;case 'Print':B=new FCKToolbarButton('Print',FCKLang.Print,null,null,false,true,12);break;case 'SpellCheck':B=new FCKToolbarButton('SpellCheck',FCKLang.SpellCheck,null,null,null,null,13);break;case 'Undo':B=new FCKToolbarButton('Undo',FCKLang.Undo,null,null,false,true,14);break;case 'Redo':B=new FCKToolbarButton('Redo',FCKLang.Redo,null,null,false,true,15);break;case 'SelectAll':B=new FCKToolbarButton('SelectAll',FCKLang.SelectAll,null,null,true,null,18);break;case 'RemoveFormat':B=new FCKToolbarButton('RemoveFormat',FCKLang.RemoveFormat,null,null,false,true,19);break;case 'FitWindow':B=new FCKToolbarButton('FitWindow',FCKLang.FitWindow,null,null,true,true,66);break;case 'Bold':B=new FCKToolbarButton('Bold',FCKLang.Bold,null,null,false,true,20);break;case 'Italic':B=new FCKToolbarButton('Italic',FCKLang.Italic,null,null,false,true,21);break;case 'Underline':B=new FCKToolbarButton('Underline',FCKLang.Underline,null,null,false,true,22);break;case 'StrikeThrough':B=new FCKToolbarButton('StrikeThrough',FCKLang.StrikeThrough,null,null,false,true,23);break;case 'Subscript':B=new FCKToolbarButton('Subscript',FCKLang.Subscript,null,null,false,true,24);break;case 'Superscript':B=new FCKToolbarButton('Superscript',FCKLang.Superscript,null,null,false,true,25);break;case 'OrderedList':B=new FCKToolbarButton('InsertOrderedList',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true,26);break;case 'UnorderedList':B=new FCKToolbarButton('InsertUnorderedList',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true,27);break;case 'Outdent':B=new FCKToolbarButton('Outdent',FCKLang.DecreaseIndent,null,null,false,true,28);break;case 'Indent':B=new FCKToolbarButton('Indent',FCKLang.IncreaseIndent,null,null,false,true,29);break;case 'Blockquote':B=new FCKToolbarButton('Blockquote',FCKLang.Blockquote,null,null,false,true,73);break;case 'Link':B=new FCKToolbarButton('Link',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true,34);break;case 'Unlink':B=new FCKToolbarButton('Unlink',FCKLang.RemoveLink,null,null,false,true,35);break;case 'Anchor':B=new FCKToolbarButton('Anchor',FCKLang.Anchor,null,null,null,null,36);break;case 'Image':B=new FCKToolbarButton('Image',FCKLang.InsertImageLbl,FCKLang.InsertImage,null,false,true,37);break;case 'Flash':B=new FCKToolbarButton('Flash',FCKLang.InsertFlashLbl,FCKLang.InsertFlash,null,false,true,38);break;case 'Table':B=new FCKToolbarButton('Table',FCKLang.InsertTableLbl,FCKLang.InsertTable,null,false,true,39);break;case 'SpecialChar':B=new FCKToolbarButton('SpecialChar',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar,null,false,true,42);break;case 'Smiley':B=new FCKToolbarButton('Smiley',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley,null,false,true,41);break;case 'PageBreak':B=new FCKToolbarButton('PageBreak',FCKLang.PageBreakLbl,FCKLang.PageBreak,null,false,true,43);break;case 'Rule':B=new FCKToolbarButton('Rule',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true,40);break;case 'JustifyLeft':B=new FCKToolbarButton('JustifyLeft',FCKLang.LeftJustify,null,null,false,true,30);break;case 'JustifyCenter':B=new FCKToolbarButton('JustifyCenter',FCKLang.CenterJustify,null,null,false,true,31);break;case 'JustifyRight':B=new FCKToolbarButton('JustifyRight',FCKLang.RightJustify,null,null,false,true,32);break;case 'JustifyFull':B=new FCKToolbarButton('JustifyFull',FCKLang.BlockJustify,null,null,false,true,33);break;case 'Style':B=new FCKToolbarStyleCombo();break;case 'FontName':B=new FCKToolbarFontsCombo();break;case 'FontSize':B=new FCKToolbarFontSizeCombo();break;case 'FontFormat':B=new FCKToolbarFontFormatCombo();break;case 'TextColor':B=new FCKToolbarPanelButton('TextColor',FCKLang.TextColor,null,null,45);break;case 'BGColor':B=new FCKToolbarPanelButton('BGColor',FCKLang.BGColor,null,null,46);break;case 'Find':B=new FCKToolbarButton('Find',FCKLang.Find,null,null,null,null,16);break;case 'Replace':B=new FCKToolbarButton('Replace',FCKLang.Replace,null,null,null,null,17);break;case 'Form':B=new FCKToolbarButton('Form',FCKLang.Form,null,null,null,null,48);break;case 'Checkbox':B=new FCKToolbarButton('Checkbox',FCKLang.Checkbox,null,null,null,null,49);break;case 'Radio':B=new FCKToolbarButton('Radio',FCKLang.RadioButton,null,null,null,null,50);break;case 'TextField':B=new FCKToolbarButton('TextField',FCKLang.TextField,null,null,null,null,51);break;case 'Textarea':B=new FCKToolbarButton('Textarea',FCKLang.Textarea,null,null,null,null,52);break;case 'HiddenField':B=new FCKToolbarButton('HiddenField',FCKLang.HiddenField,null,null,null,null,56);break;case 'Button':B=new FCKToolbarButton('Button',FCKLang.Button,null,null,null,null,54);break;case 'Select':B=new FCKToolbarButton('Select',FCKLang.SelectionField,null,null,null,null,53);break;case 'ImageButton':B=new FCKToolbarButton('ImageButton',FCKLang.ImageButton,null,null,null,null,55);break;case 'ShowBlocks':B=new FCKToolbarButton('ShowBlocks',FCKLang.ShowBlocks,null,null,null,true,72);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;}; -var FCKToolbar=function(){this.Items=[];};FCKToolbar.prototype.AddItem=function(A){return this.Items[this.Items.length]=A;};FCKToolbar.prototype.AddButton=function(A,B,C,D,E,F){if (typeof(D)=='number') D=[this.DefaultIconsStrip,this.DefaultIconSize,D];var G=new FCKToolbarButtonUI(A,B,C,D,E,F);G._FCKToolbar=this;G.OnClick=FCKToolbar_OnItemClick;return this.AddItem(G);};function FCKToolbar_OnItemClick(A){var B=A._FCKToolbar;if (B.OnItemClick) B.OnItemClick(B,A);};FCKToolbar.prototype.AddSeparator=function(){this.AddItem(new FCKToolbarSeparator());};FCKToolbar.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var e=B.createElement('table');e.className='TB_Toolbar';e.style.styleFloat=e.style.cssFloat=(FCKLang.Dir=='ltr'?'left':'right');e.dir=FCKLang.Dir;e.cellPadding=0;e.cellSpacing=0;var C=e.insertRow(-1);var D;if (!this.HideStart){D=C.insertCell(-1);D.appendChild(B.createElement('div')).className='TB_Start';};for (var i=0;i<this.Items.length;i++){this.Items[i].Create(C.insertCell(-1));};if (!this.HideEnd){D=C.insertCell(-1);D.appendChild(B.createElement('div')).className='TB_End';};A.appendChild(e);};var FCKToolbarSeparator=function(){};FCKToolbarSeparator.prototype.Create=function(A){FCKTools.AppendElement(A,'div').className='TB_Separator';} -var FCKToolbarBreak=function(){};FCKToolbarBreak.prototype.Create=function(A){var B=A.ownerDocument.createElement('div');B.style.clear=B.style.cssFloat=FCKLang.Dir=='rtl'?'right':'left';A.appendChild(B);} -function FCKToolbarSet_Create(A){var B;var C=A||FCKConfig.ToolbarLocation;switch (C){case 'In':document.getElementById('xToolbarRow').style.display='';B=new FCKToolbarSet(document);break;case 'None':B=new FCKToolbarSet(document);break;default:FCK.Events.AttachEvent('OnBlur',FCK_OnBlur);FCK.Events.AttachEvent('OnFocus',FCK_OnFocus);var D;var E=C.match(/^Out:(.+)\((\w+)\)$/);if (E){D=eval('parent.'+E[1]).document.getElementById(E[2]);}else{E=C.match(/^Out:(\w+)$/);if (E) D=parent.document.getElementById(E[1]);};if (!D){alert('Invalid value for "ToolbarLocation"');return arguments.callee('In');};B=D.__FCKToolbarSet;if (B) break;var F=FCKTools.GetElementDocument(D).createElement('iframe');F.src='javascript:void(0)';F.frameBorder=0;F.width='100%';F.height='10';D.appendChild(F);F.unselectable='on';var G=F.contentWindow.document;var H='';if (FCKBrowserInfo.IsSafari) H='<base href="'+window.document.location+'">';G.open();G.write('<html><head>'+H+'<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = adjust; window.onload = function () {window.setTimeout( adjust, 0 );}</script></head><body style="overflow: hidden">'+document.getElementById('xToolbarSpace').innerHTML+'</body></html>');G.close();FCKTools.AddEventListener(G,'contextmenu',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinPath+'fck_editor.css');B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,'click',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,'click',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x<B.length;x++){var C=B[x];if (!C) continue;var D;if (typeof(C)=='string'){if (C=='/') D=new FCKToolbarBreak();}else{D=new FCKToolbar();for (var j=0;j<C.length;j++){var E=C[j];if (E=='-') D.AddSeparator();else{var F=FCKToolbarItems.GetItem(E);if (F){D.AddItem(F);this.Items.push(F);if (!F.SourceView) this.ItemsWysiwygOnly.push(F);if (F.ContextSensitive) this.ItemsContextSensitive.push(F);}}}};D.Create(this._TargetElement);this.Toolbars[this.Toolbars.length]=D;};FCKTools.DisableSelection(this._Document.getElementById('xCollapseHandle').parentNode);if (FCK.Status!=2) FCK.Events.AttachEvent('OnStatusChange',this.RefreshModeState);else this.RefreshModeState();this.IsLoaded=true;this.IsEnabled=true;FCKTools.RunFunction(this.OnLoad);};FCKToolbarSet.prototype.Enable=function(){if (this.IsEnabled) return;this.IsEnabled=true;var A=this.Items;for (var i=0;i<A.length;i++) A[i].RefreshState();};FCKToolbarSet.prototype.Disable=function(){if (!this.IsEnabled) return;this.IsEnabled=false;var A=this.Items;for (var i=0;i<A.length;i++) A[i].Disable();};FCKToolbarSet.prototype.RefreshModeState=function(A){if (FCK.Status!=2) return;var B=A?A.ToolbarSet:this;var C=B.ItemsWysiwygOnly;if (FCK.EditMode==0){for (var i=0;i<C.length;i++) C[i].Enable();B.RefreshItemsState(A);}else{B.RefreshItemsState(A);for (var j=0;j<C.length;j++) C[j].Disable();}};FCKToolbarSet.prototype.RefreshItemsState=function(A){var B=(A?A.ToolbarSet:this).ItemsContextSensitive;for (var i=0;i<B.length;i++) B[i].RefreshState();}; -var FCKDialog={};FCKDialog.OpenDialog=function(A,B,C,D,E,F,G,H){var I={};I.Title=B;I.Page=C;I.Editor=window;I.CustomValue=F;var J=FCKConfig.BasePath+'fckdialog.html';this.Show(I,A,J,D,E,G,H);}; -FCKDialog.Show=function(A,B,C,D,E,F,G){var H=(FCKConfig.ScreenHeight-E)/2;var I=(FCKConfig.ScreenWidth-D)/2;var J="location=no,menubar=no,toolbar=no,dependent=yes,dialog=yes,minimizable=no,alwaysRaised=yes,resizable="+(G?'yes':'no')+",width="+D+",height="+E+",top="+H+",left="+I;if (!F) F=window;FCKFocusManager.Lock();var K=F.open('','FCKeditorDialog_'+B,J,true);if (!K){alert(FCKLang.DialogBlocked);FCKFocusManager.Unlock();return;};K.moveTo(I,H);K.resizeTo(D,E);K.focus();K.location.href=C;K.dialogArguments=A;F.FCKLastDialogInfo=A;this.Window=K;try{window.top.parent.addEventListener('mousedown',this.CheckFocus,true);window.top.parent.addEventListener('mouseup',this.CheckFocus,true);window.top.parent.addEventListener('click',this.CheckFocus,true);window.top.parent.addEventListener('focus',this.CheckFocus,true);}catch (e){}};FCKDialog.CheckFocus=function(){if (typeof(FCKDialog)!="object") return false;if (FCKDialog.Window&&!FCKDialog.Window.closed) FCKDialog.Window.focus();else{try{window.top.parent.removeEventListener('onmousedown',FCKDialog.CheckFocus,true);window.top.parent.removeEventListener('mouseup',FCKDialog.CheckFocus,true);window.top.parent.removeEventListener('click',FCKDialog.CheckFocus,true);window.top.parent.removeEventListener('onfocus',FCKDialog.CheckFocus,true);}catch (e){}};return false;}; -var FCKMenuItem=function(A,B,C,D,E){this.Name=B;this.Label=C||B;this.IsDisabled=E;this.Icon=new FCKIcon(D);this.SubMenu=new FCKMenuBlockPanel();this.SubMenu.Parent=A;this.SubMenu.OnClick=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D);};FCKMenuItem.prototype.AddSeparator=function(){this.SubMenu.AddSeparator();};FCKMenuItem.prototype.Create=function(A){var B=this.HasSubMenu;var C=FCKTools.GetElementDocument(A);var r=this.MainElement=A.insertRow(-1);r.className=this.IsDisabled?'MN_Item_Disabled':'MN_Item';if (!this.IsDisabled){FCKTools.AddEventListenerEx(r,'mouseover',FCKMenuItem_OnMouseOver,[this]);FCKTools.AddEventListenerEx(r,'click',FCKMenuItem_OnClick,[this]);if (!B) FCKTools.AddEventListenerEx(r,'mouseout',FCKMenuItem_OnMouseOut,[this]);};var D=r.insertCell(-1);D.className='MN_Icon';D.appendChild(this.Icon.CreateIconElement(C));D=r.insertCell(-1);D.className='MN_Label';D.noWrap=true;D.appendChild(C.createTextNode(this.Label));D=r.insertCell(-1);if (B){D.className='MN_Arrow';var E=D.appendChild(C.createElement('IMG'));E.src=FCK_IMAGES_PATH+'arrow_'+FCKLang.Dir+'.gif';E.width=4;E.height=7;this.SubMenu.Create();this.SubMenu.Panel.OnHide=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnHide,this);}};FCKMenuItem.prototype.Activate=function(){this.MainElement.className='MN_Item_Over';if (this.HasSubMenu){this.SubMenu.Show(this.MainElement.offsetWidth+2,-2,this.MainElement);};FCKTools.RunFunction(this.OnActivate,this);};FCKMenuItem.prototype.Deactivate=function(){this.MainElement.className='MN_Item';if (this.HasSubMenu) this.SubMenu.Hide();};function FCKMenuItem_SubMenu_OnClick(A,B){FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuItem_SubMenu_OnHide(A){A.Deactivate();};function FCKMenuItem_OnClick(A,B){if (B.HasSubMenu) B.Activate();else{B.Deactivate();FCKTools.RunFunction(B.OnClick,B,[B]);}};function FCKMenuItem_OnMouseOver(A,B){B.Activate();};function FCKMenuItem_OnMouseOut(A,B){B.Deactivate();};function FCKMenuItem_Cleanup(){this.MainElement=null;} -var FCKMenuBlock=function(){this._Items=[];};FCKMenuBlock.prototype.Count=function(){return this._Items.length;};FCKMenuBlock.prototype.AddItem=function(A,B,C,D){var E=new FCKMenuItem(this,A,B,C,D);E.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);E.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(E);return E;};FCKMenuBlock.prototype.AddSeparator=function(){this._Items.push(new FCKMenuSeparator());};FCKMenuBlock.prototype.RemoveAllItems=function(){this._Items=[];var A=this._ItemsTable;if (A){while (A.rows.length>0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement('table'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className='MN_Menu';var E=this._ItemsTable=D.appendChild(B.createElement('table'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i<this._Items.length;i++) this._Items[i].Create(this._ItemsTable);};function FCKMenuBlock_Item_OnClick(A,B){if (B.Hide) B.Hide();FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuBlock_Item_OnActivate(A){var B=A._ActiveItem;if (B&&B!=this){if (!FCKBrowserInfo.IsIE&&B.HasSubMenu&&!this.HasSubMenu){A._Window.focus();A.Panel.HasFocus=true;};B.Deactivate();};A._ActiveItem=this;};function FCKMenuBlock_Cleanup(){this._Window=null;this._ItemsTable=null;};var FCKMenuSeparator=function(){};FCKMenuSeparator.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var r=A.insertRow(-1);var C=r.insertCell(-1);C.className='MN_Separator MN_Icon';C=r.insertCell(-1);C.className='MN_Separator';C.appendChild(B.createElement('DIV')).className='MN_Separator_Line';C=r.insertCell(-1);C.className='MN_Separator';C.appendChild(B.createElement('DIV')).className='MN_Separator_Line';} -var FCKMenuBlockPanel=function(){FCKMenuBlock.call(this);};FCKMenuBlockPanel.prototype=new FCKMenuBlock();FCKMenuBlockPanel.prototype.Create=function(){var A=this.Panel=(this.Parent&&this.Parent.Panel?this.Parent.Panel.CreateChildPanel():new FCKPanel());A.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');FCKMenuBlock.prototype.Create.call(this,A.MainNode);};FCKMenuBlockPanel.prototype.Show=function(x,y,A){if (!this.Panel.CheckIsOpened()) this.Panel.Show(x,y,A);};FCKMenuBlockPanel.prototype.Hide=function(){if (this.Panel.CheckIsOpened()) this.Panel.Hide();} -var FCKContextMenu=function(A,B){this.CtrlDisable=false;var C=this._Panel=new FCKPanel(A);C.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');C.IsContextMenu=true;if (FCKBrowserInfo.IsGecko) C.Document.addEventListener('draggesture',function(e) {e.preventDefault();return false;},true);var D=this._MenuBlock=new FCKMenuBlock();D.Panel=C;D.OnClick=FCKTools.CreateEventListener(FCKContextMenu_MenuBlock_OnClick,this);this._Redraw=true;};FCKContextMenu.prototype.SetMouseClickWindow=function(A){if (!FCKBrowserInfo.IsIE){this._Document=A.document;if (FCKBrowserInfo.IsOpera&&!('oncontextmenu' in document.createElement('foo'))){this._Document.addEventListener('mousedown',FCKContextMenu_Document_OnMouseDown,false);this._Document.addEventListener('mouseup',FCKContextMenu_Document_OnMouseUp,false);};this._Document.addEventListener('contextmenu',FCKContextMenu_Document_OnContextMenu,false);}};FCKContextMenu.prototype.AddItem=function(A,B,C,D){var E=this._MenuBlock.AddItem(A,B,C,D);this._Redraw=true;return E;};FCKContextMenu.prototype.AddSeparator=function(){this._MenuBlock.AddSeparator();this._Redraw=true;};FCKContextMenu.prototype.RemoveAllItems=function(){this._MenuBlock.RemoveAllItems();this._Redraw=true;};FCKContextMenu.prototype.AttachToElement=function(A){if (FCKBrowserInfo.IsIE) FCKTools.AddEventListenerEx(A,'contextmenu',FCKContextMenu_AttachedElement_OnContextMenu,this);else A._FCKContextMenu=this;};function FCKContextMenu_Document_OnContextMenu(e){var A=e.target;while (A){if (A._FCKContextMenu){if (A._FCKContextMenu.CtrlDisable&&(e.ctrlKey||e.metaKey)) return true;FCKTools.CancelEvent(e);FCKContextMenu_AttachedElement_OnContextMenu(e,A._FCKContextMenu,A);return false;};A=A.parentNode;};return true;};var FCKContextMenu_OverrideButton;function FCKContextMenu_Document_OnMouseDown(e){if(!e||e.button!=2) return false;var A=e.target;while (A){if (A._FCKContextMenu){if (A._FCKContextMenu.CtrlDisable&&(e.ctrlKey||e.metaKey)) return true;var B=FCKContextMenu_OverrideButton;if(!B){var C=e.target.ownerDocument;B=FCKContextMenu_OverrideButton=C.createElement('input');B.type='button';var D=C.createElement('p');C.body.appendChild(D);D.appendChild(B);};B.style.cssText='position:absolute;top:'+(e.clientY-2)+'px;left:'+(e.clientX-2)+'px;width:5px;height:5px;opacity:0.01';};A=A.parentNode;};return false;};function FCKContextMenu_Document_OnMouseUp(e){var A=FCKContextMenu_OverrideButton;if (A){var B=A.parentNode;B.parentNode.removeChild(B);FCKContextMenu_OverrideButton=undefined;if(e&&e.button==2){FCKContextMenu_Document_OnContextMenu(e);return false;}}};function FCKContextMenu_AttachedElement_OnContextMenu(A,B,C){if (B.CtrlDisable&&(A.ctrlKey||A.metaKey)) return true;var D=C||this;if (B.OnBeforeOpen) B.OnBeforeOpen.call(B,D);if (B._MenuBlock.Count()==0) return false;if (B._Redraw){B._MenuBlock.Create(B._Panel.MainNode);B._Redraw=false;};FCKTools.DisableSelection(B._Panel.Document.body);var x=0;var y=0;if (FCKBrowserInfo.IsIE){x=A.screenX;y=A.screenY;}else if (FCKBrowserInfo.IsSafari){x=A.clientX;y=A.clientY;}else{x=A.pageX;y=A.pageY;};B._Panel.Show(x,y,A.currentTarget||null);return false;};function FCKContextMenu_MenuBlock_OnClick(A,B){B._Panel.Hide();FCKTools.RunFunction(B.OnItemClick,B,A);}; -FCK.ContextMenu={};FCK.ContextMenu.Listeners=[];FCK.ContextMenu.RegisterListener=function(A){if (A) this.Listeners.push(A);};function FCK_ContextMenu_Init(){var A=FCK.ContextMenu._InnerContextMenu=new FCKContextMenu(FCKBrowserInfo.IsIE?window:window.parent,FCKLang.Dir);A.CtrlDisable=FCKConfig.BrowserContextMenuOnCtrl;A.OnBeforeOpen=FCK_ContextMenu_OnBeforeOpen;A.OnItemClick=FCK_ContextMenu_OnItemClick;var B=FCK.ContextMenu;for (var i=0;i<FCKConfig.ContextMenu.length;i++) B.RegisterListener(FCK_ContextMenu_GetListener(FCKConfig.ContextMenu[i]));};function FCK_ContextMenu_GetListener(A){switch (A){case 'Generic':return {AddItems:function(menu,tag,tagName){menu.AddItem('Cut',FCKLang.Cut,7,FCKCommands.GetCommand('Cut').GetState()==-1);menu.AddItem('Copy',FCKLang.Copy,8,FCKCommands.GetCommand('Copy').GetState()==-1);menu.AddItem('Paste',FCKLang.Paste,9,FCKCommands.GetCommand('Paste').GetState()==-1);}};case 'Table':return {AddItems:function(menu,tag,tagName){var B=(tagName=='TABLE');var C=(!B&&FCKSelection.HasAncestorNode('TABLE'));if (C){menu.AddSeparator();var D=menu.AddItem('Cell',FCKLang.CellCM);D.AddItem('TableInsertCellBefore',FCKLang.InsertCellBefore,69);D.AddItem('TableInsertCellAfter',FCKLang.InsertCellAfter,58);D.AddItem('TableDeleteCells',FCKLang.DeleteCells,59);if (FCKBrowserInfo.IsGecko) D.AddItem('TableMergeCells',FCKLang.MergeCells,60,FCKCommands.GetCommand('TableMergeCells').GetState()==-1);else{D.AddItem('TableMergeRight',FCKLang.MergeRight,60,FCKCommands.GetCommand('TableMergeRight').GetState()==-1);D.AddItem('TableMergeDown',FCKLang.MergeDown,60,FCKCommands.GetCommand('TableMergeDown').GetState()==-1);};D.AddItem('TableHorizontalSplitCell',FCKLang.HorizontalSplitCell,61,FCKCommands.GetCommand('TableHorizontalSplitCell').GetState()==-1);D.AddItem('TableVerticalSplitCell',FCKLang.VerticalSplitCell,61,FCKCommands.GetCommand('TableVerticalSplitCell').GetState()==-1);D.AddSeparator();D.AddItem('TableCellProp',FCKLang.CellProperties,57,FCKCommands.GetCommand('TableCellProp').GetState()==-1);menu.AddSeparator();D=menu.AddItem('Row',FCKLang.RowCM);D.AddItem('TableInsertRowBefore',FCKLang.InsertRowBefore,70);D.AddItem('TableInsertRowAfter',FCKLang.InsertRowAfter,62);D.AddItem('TableDeleteRows',FCKLang.DeleteRows,63);menu.AddSeparator();D=menu.AddItem('Column',FCKLang.ColumnCM);D.AddItem('TableInsertColumnBefore',FCKLang.InsertColumnBefore,71);D.AddItem('TableInsertColumnAfter',FCKLang.InsertColumnAfter,64);D.AddItem('TableDeleteColumns',FCKLang.DeleteColumns,65);};if (B||C){menu.AddSeparator();menu.AddItem('TableDelete',FCKLang.TableDelete);menu.AddItem('TableProp',FCKLang.TableProperties,39);}}};case 'Link':return {AddItems:function(menu,tag,tagName){var E=(tagName=='A'||FCKSelection.HasAncestorNode('A'));if (E||FCK.GetNamedCommandState('Unlink')!=-1){var F=FCKSelection.MoveToAncestorNode('A');var G=(F&&F.name.length>0&&F.href.length==0);if (G) return;menu.AddSeparator();if (E) menu.AddItem('Link',FCKLang.EditLink,34);menu.AddItem('Unlink',FCKLang.RemoveLink,35);}}};case 'Image':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&!tag.getAttribute('_fckfakelement')){menu.AddSeparator();menu.AddItem('Image',FCKLang.ImageProperties,37);}}};case 'Anchor':return {AddItems:function(menu,tag,tagName){var F=FCKSelection.MoveToAncestorNode('A');var G=(F&&F.name.length>0);if (G||(tagName=='IMG'&&tag.getAttribute('_fckanchor'))){menu.AddSeparator();menu.AddItem('Anchor',FCKLang.AnchorProp,36);menu.AddItem('AnchorDelete',FCKLang.AnchorDelete);}}};case 'Flash':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckflash')){menu.AddSeparator();menu.AddItem('Flash',FCKLang.FlashProperties,38);}}};case 'Form':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('FORM')){menu.AddSeparator();menu.AddItem('Form',FCKLang.FormProp,48);}}};case 'Checkbox':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='checkbox'){menu.AddSeparator();menu.AddItem('Checkbox',FCKLang.CheckboxProp,49);}}};case 'Radio':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='radio'){menu.AddSeparator();menu.AddItem('Radio',FCKLang.RadioButtonProp,50);}}};case 'TextField':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='text'||tag.type=='password')){menu.AddSeparator();menu.AddItem('TextField',FCKLang.TextFieldProp,51);}}};case 'HiddenField':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckinputhidden')){menu.AddSeparator();menu.AddItem('HiddenField',FCKLang.HiddenFieldProp,56);}}};case 'ImageButton':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='image'){menu.AddSeparator();menu.AddItem('ImageButton',FCKLang.ImageButtonProp,55);}}};case 'Button':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='button'||tag.type=='submit'||tag.type=='reset')){menu.AddSeparator();menu.AddItem('Button',FCKLang.ButtonProp,54);}}};case 'Select':return {AddItems:function(menu,tag,tagName){if (tagName=='SELECT'){menu.AddSeparator();menu.AddItem('Select',FCKLang.SelectionFieldProp,53);}}};case 'Textarea':return {AddItems:function(menu,tag,tagName){if (tagName=='TEXTAREA'){menu.AddSeparator();menu.AddItem('Textarea',FCKLang.TextareaProp,52);}}};case 'BulletedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('UL')){menu.AddSeparator();menu.AddItem('BulletedList',FCKLang.BulletedListProp,27);}}};case 'NumberedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('OL')){menu.AddSeparator();menu.AddItem('NumberedList',FCKLang.NumberedListProp,26);}}};};return null;};function FCK_ContextMenu_OnBeforeOpen(){FCK.Events.FireEvent('OnSelectionChange');var A,sTagName;if ((A=FCKSelection.GetSelectedElement())) sTagName=A.tagName;var B=FCK.ContextMenu._InnerContextMenu;B.RemoveAllItems();var C=FCK.ContextMenu.Listeners;for (var i=0;i<C.length;i++) C[i].AddItems(B,A,sTagName);};function FCK_ContextMenu_OnItemClick(A){FCK.Focus();FCKCommands.GetCommand(A.Name).Execute();}; -var FCKPlugin=function(A,B,C){this.Name=A;this.BasePath=C?C:FCKConfig.PluginsPath;this.Path=this.BasePath+A+'/';if (!B||B.length==0) this.AvailableLangs=[];else this.AvailableLangs=B.split(',');};FCKPlugin.prototype.Load=function(){if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.IndexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};LoadScript(this.Path+'fckplugin.js');} -var FCKPlugins=FCK.Plugins={};FCKPlugins.ItemsCount=0;FCKPlugins.Items={};FCKPlugins.Load=function(){var A=FCKPlugins.Items;for (var i=0;i<FCKConfig.Plugins.Items.length;i++){var B=FCKConfig.Plugins.Items[i];var C=A[B[0]]=new FCKPlugin(B[0],B[1],B[2]);FCKPlugins.ItemsCount++;};for (var s in A) A[s].Load();FCKPlugins.Load=null;} diff --git a/editor/editor/js/fckeditorcode_ie.js b/editor/editor/js/fckeditorcode_ie.js @@ -1,109 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This file has been compressed for better performance. The original source - * can be found at "editor/_source". - */ - -var FCK_STATUS_NOTLOADED=window.parent.FCK_STATUS_NOTLOADED=0;var FCK_STATUS_ACTIVE=window.parent.FCK_STATUS_ACTIVE=1;var FCK_STATUS_COMPLETE=window.parent.FCK_STATUS_COMPLETE=2;var FCK_TRISTATE_OFF=window.parent.FCK_TRISTATE_OFF=0;var FCK_TRISTATE_ON=window.parent.FCK_TRISTATE_ON=1;var FCK_TRISTATE_DISABLED=window.parent.FCK_TRISTATE_DISABLED=-1;var FCK_UNKNOWN=window.parent.FCK_UNKNOWN=-9;var FCK_TOOLBARITEM_ONLYICON=window.parent.FCK_TOOLBARITEM_ONLYICON=0;var FCK_TOOLBARITEM_ONLYTEXT=window.parent.FCK_TOOLBARITEM_ONLYTEXT=1;var FCK_TOOLBARITEM_ICONTEXT=window.parent.FCK_TOOLBARITEM_ICONTEXT=2;var FCK_EDITMODE_WYSIWYG=window.parent.FCK_EDITMODE_WYSIWYG=0;var FCK_EDITMODE_SOURCE=window.parent.FCK_EDITMODE_SOURCE=1;var FCK_IMAGES_PATH='images/';var FCK_SPACER_PATH='images/spacer.gif';var CTRL=1000;var SHIFT=2000;var ALT=4000;var FCK_STYLE_BLOCK=0;var FCK_STYLE_INLINE=1;var FCK_STYLE_OBJECT=2; -String.prototype.Contains=function(A){return (this.indexOf(A)>-1);};String.prototype.Equals=function(){var A=arguments;if (A.length==1&&A[0].pop) A=A[0];for (var i=0;i<A.length;i++){if (this==A[i]) return true;};return false;};String.prototype.IEquals=function(){var A=this.toUpperCase();var B=arguments;if (B.length==1&&B[0].pop) B=B[0];for (var i=0;i<B.length;i++){if (A==B[i].toUpperCase()) return true;};return false;};String.prototype.ReplaceAll=function(A,B){var C=this;for (var i=0;i<A.length;i++){C=C.replace(A[i],B[i]);};return C;};String.prototype.StartsWith=function(A){return (this.substr(0,A.length)==A);};String.prototype.EndsWith=function(A,B){var C=this.length;var D=A.length;if (D>C) return false;if (B){var E=new RegExp(A+'$','i');return E.test(this);}else return (D==0||this.substr(C-D,D)==A);};String.prototype.Remove=function(A,B){var s='';if (A>0) s=this.substring(0,A);if (A+B<this.length) s+=this.substring(A+B,this.length);return s;};String.prototype.Trim=function(){return this.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,'');};String.prototype.LTrim=function(){return this.replace(/^[ \t\n\r]*/g,'');};String.prototype.RTrim=function(){return this.replace(/[ \t\n\r]*$/g,'');};String.prototype.ReplaceNewLineChars=function(A){return this.replace(/\n/g,A);};String.prototype.Replace=function(A,B,C){if (typeof B=='function'){return this.replace(A,function(){return B.apply(C||this,arguments);});}else return this.replace(A,B);};Array.prototype.AddItem=function(A){var i=this.length;this[i]=A;return i;};Array.prototype.IndexOf=function(A){for (var i=0;i<this.length;i++){if (this[i]==A) return i;};return-1;}; -var FCKIECleanup=function(A){if (A._FCKCleanupObj) this.Items=A._FCKCleanupObj.Items;else{this.Items=[];A._FCKCleanupObj=this;FCKTools.AddEventListenerEx(A,'unload',FCKIECleanup_Cleanup);}};FCKIECleanup.prototype.AddItem=function(A,B){this.Items.push([A,B]);};function FCKIECleanup_Cleanup(){if (!this._FCKCleanupObj||!window.FCKUnloadFlag) return;var A=this._FCKCleanupObj.Items;while (A.length>0){var B=A.pop();if (B) B[1].call(B[0]);};this._FCKCleanupObj=null;if (CollectGarbage) CollectGarbage();}; -var s=navigator.userAgent.toLowerCase();var FCKBrowserInfo={IsIE:/*@cc_on!@*/false,IsIE7:/*@cc_on!@*/false&&s.Contains('msie 7'),IsGecko:s.Contains('gecko/'),IsSafari:s.Contains(' applewebkit/'),IsOpera:!!window.opera,IsMac:s.Contains('macintosh')};(function(A){A.IsGeckoLike=(A.IsGecko||A.IsSafari||A.IsOpera);if (A.IsGecko){var B=s.match(/gecko\/(\d+)/)[1];A.IsGecko10=((B<20051111)||(/rv:1\.7/.test(s)));A.IsGecko19=/rv:1\.9/.test(s);}else A.IsGecko10=false;})(FCKBrowserInfo); -var FCKURLParams={};(function(){var A=document.location.search.substr(1).split('&');for (var i=0;i<A.length;i++){var B=A[i].split('=');var C=decodeURIComponent(B[0]);var D=decodeURIComponent(B[1]);FCKURLParams[C]=D;}})(); -var FCKEvents=function(A){this.Owner=A;this._RegisteredEvents={};};FCKEvents.prototype.AttachEvent=function(A,B){var C;if (!(C=this._RegisteredEvents[A])) this._RegisteredEvents[A]=[B];else{if (C.IndexOf(B)==-1) C.push(B);}};FCKEvents.prototype.FireEvent=function(A,B){var C=true;var D=this._RegisteredEvents[A];if (D){for (var i=0;i<D.length;i++){try{C=(D[i](this.Owner,B)&&C);}catch(e){if (e.number!=-2146823277) throw e;}}};return C;}; -var FCKDataProcessor=function(){};FCKDataProcessor.prototype={ConvertToHtml:function(A){if (FCKConfig.FullPage){FCK.DocTypeDeclaration=A.match(FCKRegexLib.DocTypeTag);if (!FCKRegexLib.HasBodyTag.test(A)) A='<body>'+A+'</body>';if (!FCKRegexLib.HtmlOpener.test(A)) A='<html dir="'+FCKConfig.ContentLangDirection+'">'+A+'</html>';if (!FCKRegexLib.HeadOpener.test(A)) A=A.replace(FCKRegexLib.HtmlOpener,'$&<head><title></title></head>');return A;}else{var B=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"';if (FCKBrowserInfo.IsIE&&FCKConfig.DocType.length>0&&!FCKRegexLib.Html4DocType.test(FCKConfig.DocType)) B+=' style="overflow-y: scroll"';B+='><head><title></title></head><body'+FCKConfig.GetBodyAttributes()+'>'+A+'</body></html>';return B;}},ConvertToDataFormat:function(A,B,C,D){var E=FCKXHtml.GetXHTML(A,!B,D);if (C&&FCKRegexLib.EmptyOutParagraph.test(E)) return '';return E;},FixHtml:function(A){return A;}}; -var FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),AttachToOnSelectionChange:function(A){this.Events.AttachEvent('OnSelectionChange',A);},GetLinkedFieldValue:function(){return this.LinkedField.value;},GetParentForm:function(){return this.LinkedField.form;},StartupValue:'',IsDirty:function(){if (this.EditMode==1) return (this.StartupValue!=this.EditingArea.Textarea.value);else{if (!this.EditorDocument) return false;return (this.StartupValue!=this.EditorDocument.body.innerHTML);}},ResetIsDirty:function(){if (this.EditMode==1) this.StartupValue=this.EditingArea.Textarea.value;else if (this.EditorDocument.body) this.StartupValue=this.EditorDocument.body.innerHTML;},StartEditor:function(){this.TempBaseTag=FCKConfig.BaseHref.length>0?'<base href="'+FCKConfig.BaseHref+'" _fcktemp="true"></base>':'';var A=FCK.KeystrokeHandler=new FCKKeystrokeHandler();A.OnKeystroke=_FCK_KeystrokeHandler_OnKeystroke;A.SetKeystrokes(FCKConfig.Keystrokes);if (FCKBrowserInfo.IsIE7){if ((CTRL+86/*V*/) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45/*INS*/) in A.Keystrokes) A.SetKeystrokes([SHIFT+45,true]);};A.SetKeystrokes([CTRL+8,true]);this.EditingArea=new FCKEditingArea(document.getElementById('xEditingArea'));this.EditingArea.FFSpellChecker=FCKConfig.FirefoxSpellChecker;this.SetData(this.GetLinkedFieldValue(),true);FCKTools.AddEventListener(document,"keydown",this._TabKeyHandler);this.AttachToOnSelectionChange(_FCK_PaddingNodeListener);if (FCKBrowserInfo.IsGecko) this.AttachToOnSelectionChange(this._ExecCheckEmptyBlock);},Focus:function(){FCK.EditingArea.Focus();},SetStatus:function(A){this.Status=A;if (A==1){FCKFocusManager.AddWindow(window,true);if (FCKBrowserInfo.IsIE) FCKFocusManager.AddWindow(window.frameElement,true);if (FCKConfig.StartupFocus) FCK.Focus();};this.Events.FireEvent('OnStatusChange',A);},FixBody:function(){var A=FCKConfig.EnterMode;if (A!='p'&&A!='div') return;var B=this.EditorDocument;if (!B) return;var C=B.body;if (!C) return;FCKDomTools.TrimNode(C);var D=C.firstChild;var E;while (D){var F=false;switch (D.nodeType){case 1:if (!FCKListsLib.BlockElements[D.nodeName.toLowerCase()]&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;};if (F){var G=D.parentNode;if (!E) E=G.insertBefore(B.createElement(A),D);E.appendChild(G.removeChild(D));D=E.nextSibling;}else{if (E){FCKDomTools.TrimNode(E);E=null;};D=D.nextSibling;}};if (E) FCKDomTools.TrimNode(E);},GetData:function(A){if (FCK.EditMode==1) return FCK.EditingArea.Textarea.value;this.FixBody();var B=FCK.EditorDocument;if (!B) return null;var C=FCKConfig.FullPage;var D=FCK.DataProcessor.ConvertToDataFormat(C?B.documentElement:B.body,!C,FCKConfig.IgnoreEmptyParagraphValue,A);D=FCK.ProtectEventsRestore(D);if (FCKBrowserInfo.IsIE) D=D.replace(FCKRegexLib.ToReplace,'$1');if (C){if (FCK.DocTypeDeclaration&&FCK.DocTypeDeclaration.length>0) D=FCK.DocTypeDeclaration+'\n'+D;if (FCK.XmlDeclaration&&FCK.XmlDeclaration.length>0) D=FCK.XmlDeclaration+'\n'+D;};return FCKConfig.ProtectedSource.Revert(D);},UpdateLinkedField:function(){var A=FCK.GetXHTML(FCKConfig.FormatOutput);if (FCKConfig.HtmlEncodeOutput) A=FCKTools.HTMLEncode(A);FCK.LinkedField.value=A;FCK.Events.FireEvent('OnAfterLinkedFieldUpdate');},RegisteredDoubleClickHandlers:{},OnDoubleClick:function(A){var B=FCK.RegisteredDoubleClickHandlers[A.tagName];if (B) B(A);},RegisterDoubleClickHandler:function(A,B){FCK.RegisteredDoubleClickHandlers[B.toUpperCase()]=A;},OnAfterSetHTML:function(){FCKDocumentProcessor.Process(FCK.EditorDocument);FCKUndo.SaveUndoStep();FCK.Events.FireEvent('OnSelectionChange');FCK.Events.FireEvent('OnAfterSetHTML');},ProtectUrls:function(A){A=A.replace(FCKRegexLib.ProtectUrlsA,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsImg,'$& _fcksavedurl=$1');A=A.replace(FCKRegexLib.ProtectUrlsArea,'$& _fcksavedurl=$1');return A;},ProtectEvents:function(A){return A.replace(FCKRegexLib.TagsWithEvent,_FCK_ProtectEvents_ReplaceTags);},ProtectEventsRestore:function(A){return A.replace(FCKRegexLib.ProtectedEvents,_FCK_ProtectEvents_RestoreEvents);},ProtectTags:function(A){var B=FCKConfig.ProtectedTags;if (FCKBrowserInfo.IsIE) B+=B.length>0?'|ABBR|XML|EMBED':'ABBR|XML|EMBED';var C;if (B.length>0){C=new RegExp('<('+B+')(?!\w|:)','gi');A=A.replace(C,'<FCK:$1');C=new RegExp('<\/('+B+')>','gi');A=A.replace(C,'<\/FCK:$1>');};B='META';if (FCKBrowserInfo.IsIE) B+='|HR';C=new RegExp('<(('+B+')(?=\\s|>|/)[\\s\\S]*?)/?>','gi');A=A.replace(C,'<FCK:$1 />');return A;},SetData:function(A,B){this.EditingArea.Mode=FCK.EditMode;if (FCKBrowserInfo.IsIE&&FCK.EditorDocument){FCK.EditorDocument.detachEvent("onselectionchange",Doc_OnSelectionChange);};if (FCK.EditMode==0){this._ForceResetIsDirty=(B===true);A=FCKConfig.ProtectedSource.Protect(A);A=FCK.DataProcessor.ConvertToHtml(A);A=A.replace(FCKRegexLib.InvalidSelfCloseTags,'$1></$2>');A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);if (FCK.TempBaseTag.length>0&&!FCKRegexLib.HasBaseTag.test(A)) A=A.replace(FCKRegexLib.HeadOpener,'$&'+FCK.TempBaseTag);var C='';if (!FCKConfig.FullPage) C+=_FCK_GetEditorAreaStyleTags();if (FCKBrowserInfo.IsIE) C+=FCK._GetBehaviorsStyle();else if (FCKConfig.ShowBorders) C+='<link href="'+FCKConfig.FullBasePath+'css/fck_showtableborders_gecko.css" rel="stylesheet" type="text/css" _fcktemp="true" />';C+='<link href="'+FCKConfig.FullBasePath+'css/fck_internal.css" rel="stylesheet" type="text/css" _fcktemp="true" />';A=A.replace(FCKRegexLib.HeadCloser,C+'$&');this.EditingArea.OnLoad=_FCK_EditingArea_OnLoad;this.EditingArea.Start(A);}else{FCK.EditorWindow=null;FCK.EditorDocument=null;FCKDomTools.PaddingNode=null;this.EditingArea.OnLoad=null;this.EditingArea.Start(A);this.EditingArea.Textarea._FCKShowContextMenu=true;FCK.EnterKeyHandler=null;if (B) this.ResetIsDirty();FCK.KeystrokeHandler.AttachToElement(this.EditingArea.Textarea);this.EditingArea.Textarea.focus();FCK.Events.FireEvent('OnAfterSetHTML');};if (FCKBrowserInfo.IsGecko) window.onresize();},HasFocus:false,RedirectNamedCommands:{},ExecuteNamedCommand:function(A,B,C,D){if (!D) FCKUndo.SaveUndoStep();if (!C&&FCK.RedirectNamedCommands[A]!=null) FCK.ExecuteRedirectedNamedCommand(A,B);else{FCK.Focus();FCK.EditorDocument.execCommand(A,false,B);FCK.Events.FireEvent('OnSelectionChange');};if (!D) FCKUndo.SaveUndoStep();},GetNamedCommandState:function(A){try{if (FCKBrowserInfo.IsSafari&&FCK.EditorWindow&&A.IEquals('Paste')) return 0;if (!FCK.EditorDocument.queryCommandEnabled(A)) return -1;else{return FCK.EditorDocument.queryCommandState(A)?1:0;}}catch (e){return 0;}},GetNamedCommandValue:function(A){var B='';var C=FCK.GetNamedCommandState(A);if (C==-1) return null;try{B=this.EditorDocument.queryCommandValue(A);}catch(e) {};return B?B:'';},Paste:function(A){if (FCK.Status!=2||!FCK.Events.FireEvent('OnPaste')) return false;return A||FCK._ExecPaste();},PasteFromWord:function(){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteFromWord,'dialog/fck_paste.html',400,330,'Word');},Preview:function(){var A=FCKConfig.ScreenWidth*0.8;var B=FCKConfig.ScreenHeight*0.7;var C=(FCKConfig.ScreenWidth-A)/2;var D=window.open('',null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+A+',height='+B+',left='+C);var E;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) E=FCK.TempBaseTag+FCK.GetXHTML();else E=FCK.GetXHTML();}else{E=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"><head>'+FCK.TempBaseTag+'<title>'+FCKLang.Preview+'</title>'+_FCK_GetEditorAreaStyleTags()+'</head><body'+FCKConfig.GetBodyAttributes()+'>'+FCK.GetXHTML()+'</body></html>';};D.document.write(E);D.document.close();},SwitchEditMode:function(A){var B=(FCK.EditMode==0);var C=FCK.IsDirty();var D;if (B){FCKCommands.GetCommand('ShowBlocks').SaveState();if (!A&&FCKBrowserInfo.IsIE) FCKUndo.SaveUndoStep();D=FCK.GetXHTML(FCKConfig.FormatSource);if (D==null) return false;}else D=this.EditingArea.Textarea.value;FCK.EditMode=B?1:0;FCK.SetData(D,!C);FCK.Focus();FCKTools.RunFunction(FCK.ToolbarSet.RefreshModeState,FCK.ToolbarSet);return true;},InsertElement:function(A){if (typeof A=='string') A=this.EditorDocument.createElement(A);var B=A.nodeName.toLowerCase();var C=new FCKDomRange(this.EditorWindow);if (FCKListsLib.BlockElements[B]!=null){C.SplitBlock();C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input']);if (!D&&FCKConfig.EnterMode!='br'){D=this.EditorDocument.body.appendChild(this.EditorDocument.createElement(FCKConfig.EnterMode));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);};if (FCKListsLib.EmptyElements[B]==null) C.MoveToElementEditStart(A);else if (D) C.MoveToElementEditStart(D);else C.MoveToPosition(A,4);if (FCKBrowserInfo.IsGecko){if (D) D.scrollIntoView(false);A.scrollIntoView(false);}}else{C.MoveToSelection();C.DeleteContents();C.InsertNode(A);C.SetStart(A,4);C.SetEnd(A,4);};C.Select();C.Release();this.Focus();return A;},_InsertBlockElement:function(A){},_IsFunctionKey:function(A){if (A>=16&&A<=20) return true;if (A==27||(A>=33&&A<=40)) return true;if (A==45) return true;return false;},_KeyDownListener:function(A){if (!A) A=FCK.EditorWindow.event;if (FCK.EditorWindow){if (!FCK._IsFunctionKey(A.keyCode)&&!(A.ctrlKey||A.metaKey)&&!(A.keyCode==46)) FCK._KeyDownUndo();};return true;},_KeyDownUndo:function(){if (!FCKUndo.Typing){FCKUndo.SaveUndoStep();FCKUndo.Typing=true;FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.TypesCount++;FCKUndo.Changed=1;if (FCKUndo.TypesCount>FCKUndo.MaxTypes){FCKUndo.TypesCount=0;FCKUndo.SaveUndoStep();}},_TabKeyHandler:function(A){if (!A) A=window.event;var B=A.keyCode;if (B==9&&FCK.EditMode!=0){if (FCKBrowserInfo.IsIE){var C=document.selection.createRange();if (C.parentElement()!=FCK.EditingArea.Textarea) return true;C.text='\t';C.select();}else{var a=[];var D=FCK.EditingArea.Textarea;var E=D.selectionStart;var F=D.selectionEnd;a.push(D.value.substr(0,E));a.push('\t');a.push(D.value.substr(F));D.value=a.join('');D.setSelectionRange(E+1,E+1);};if (A.preventDefault) return A.preventDefault();return A.returnValue=false;};return true;}};FCK.Events=new FCKEvents(FCK);FCK.GetHTML=FCK.GetXHTML=FCK.GetData;FCK.SetHTML=FCK.SetData;FCK.InsertElementAndGetIt=FCK.CreateElement=FCK.InsertElement;function _FCK_ProtectEvents_ReplaceTags(A){return A.replace(FCKRegexLib.EventAttributes,_FCK_ProtectEvents_ReplaceEvents);};function _FCK_ProtectEvents_ReplaceEvents(A,B){return ' '+B+'_fckprotectedatt="'+encodeURIComponent(A)+'"';};function _FCK_ProtectEvents_RestoreEvents(A,B){return decodeURIComponent(B);};function _FCK_MouseEventsListener(A){if (!A) A=window.event;if (A.type=='mousedown') FCK.MouseDownFlag=true;else if (A.type=='mouseup') FCK.MouseDownFlag=false;else if (A.type=='mousemove') FCK.Events.FireEvent('OnMouseMove',A);};function _FCK_PaddingNodeListener(){if (FCKConfig.EnterMode.IEquals('br')) return;FCKDomTools.EnforcePaddingNode(FCK.EditorDocument,FCKConfig.EnterMode);if (!FCKBrowserInfo.IsIE&&FCKDomTools.PaddingNode){var A=FCK.EditorWindow.getSelection();if (A&&A.rangeCount==1){var B=A.getRangeAt(0);if (B.collapsed&&B.startContainer==FCK.EditorDocument.body&&B.startOffset==0){B.selectNodeContents(FCKDomTools.PaddingNode);B.collapse(true);A.removeAllRanges();A.addRange(B);}}}else if (FCKDomTools.PaddingNode){var C=FCKSelection.GetParentElement();var D=FCKDomTools.PaddingNode;if (C&&C.nodeName.IEquals('body')){if (FCK.EditorDocument.body.childNodes.length==1&&FCK.EditorDocument.body.firstChild==D){var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(D.ownerDocument.createTextNode('\ufeff'));F=true;};B.moveToElementText(D);B.select();if (F) B.pasteHTML('');}}}};function _FCK_EditingArea_OnLoad(){FCK.EditorWindow=FCK.EditingArea.Window;FCK.EditorDocument=FCK.EditingArea.Document;FCK.InitializeBehaviors();FCK.MouseDownFlag=false;FCKTools.AddEventListener(FCK.EditorDocument,'mousemove',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',_FCK_MouseEventsListener);FCKTools.AddEventListener(FCK.EditorDocument,'mouseup',_FCK_MouseEventsListener);if (FCKBrowserInfo.IsSafari){var A=function(evt){if (!(evt.ctrlKey||evt.metaKey)) return;if (FCK.EditMode!=0) return;switch (evt.keyCode){case 89:FCKUndo.Redo();break;case 90:FCKUndo.Undo();break;}};FCKTools.AddEventListener(FCK.EditorDocument,'keyup',A);};FCK.EnterKeyHandler=new FCKEnterKey(FCK.EditorWindow,FCKConfig.EnterMode,FCKConfig.ShiftEnterMode,FCKConfig.TabSpaces);FCK.KeystrokeHandler.AttachToElement(FCK.EditorDocument);if (FCK._ForceResetIsDirty) FCK.ResetIsDirty();if (FCKBrowserInfo.IsIE&&FCK.HasFocus) FCK.EditorDocument.body.setActive();FCK.OnAfterSetHTML();FCKCommands.GetCommand('ShowBlocks').RestoreState();if (FCK.Status!=0) return;if (FCKConfig.Debug) FCKDebug._GetWindow();FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){var A='';var B=FCKConfig.EditorAreaCSS;var C=FCKConfig.EditorAreaStyles;for (var i=0;i<B.length;i++) A+='<link href="'+B[i]+'" rel="stylesheet" type="text/css" />';if (C&&C.length>0) A+="<style>"+C+"</style>";return A;};function _FCK_KeystrokeHandler_OnKeystroke(A,B){if (FCK.Status!=2) return false;if (FCK.EditMode==0){switch (B){case 'Paste':return!FCK.Paste();case 'Cut':FCKUndo.SaveUndoStep();return false;}}else{if (B.Equals('Paste','Undo','Redo','SelectAll','Cut')) return false;};var C=FCK.Commands.GetCommand(B);return (C.Execute.apply(C,FCKTools.ArgumentsToArray(arguments,2))!==false);};(function(){var A=window.parent.document;var B=A.getElementById(FCK.Name);var i=0;while (B||i==0){if (B&&B.tagName.toLowerCase().Equals('input','textarea')){FCK.LinkedField=B;break;};B=A.getElementsByName(FCK.Name)[i++];}})();var FCKTempBin={Elements:[],AddElement:function(A){var B=this.Elements.length;this.Elements[B]=A;return B;},RemoveElement:function(A){var e=this.Elements[A];this.Elements[A]=null;return e;},Reset:function(){var i=0;while (i<this.Elements.length) this.Elements[i++]=null;this.Elements.length=0;}};var FCKFocusManager=FCK.FocusManager={IsLocked:false,AddWindow:function(A,B){var C;if (FCKBrowserInfo.IsIE) C=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else if (FCKBrowserInfo.IsSafari) C=A;else C=A.document;FCKTools.AddEventListener(C,'blur',FCKFocusManager_Win_OnBlur);FCKTools.AddEventListener(C,'focus',B?FCKFocusManager_Win_OnFocus_Area:FCKFocusManager_Win_OnFocus);},RemoveWindow:function(A){if (FCKBrowserInfo.IsIE) oTarget=A.nodeType==1?A:A.frameElement?A.frameElement:A.document;else oTarget=A.document;FCKTools.RemoveEventListener(oTarget,'blur',FCKFocusManager_Win_OnBlur);FCKTools.RemoveEventListener(oTarget,'focus',FCKFocusManager_Win_OnFocus_Area);FCKTools.RemoveEventListener(oTarget,'focus',FCKFocusManager_Win_OnFocus);},Lock:function(){this.IsLocked=true;},Unlock:function(){if (this._HasPendingBlur) FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);this.IsLocked=false;},_ResetTimer:function(){this._HasPendingBlur=false;if (this._Timer){window.clearTimeout(this._Timer);delete this._Timer;}}};function FCKFocusManager_Win_OnBlur(){if (typeof(FCK)!='undefined'&&FCK.HasFocus){FCKFocusManager._ResetTimer();FCKFocusManager._Timer=window.setTimeout(FCKFocusManager_FireOnBlur,100);}};function FCKFocusManager_FireOnBlur(){if (FCKFocusManager.IsLocked) FCKFocusManager._HasPendingBlur=true;else{FCK.HasFocus=false;FCK.Events.FireEvent("OnBlur");}};function FCKFocusManager_Win_OnFocus_Area(){FCK.Focus();FCKFocusManager_Win_OnFocus();};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}}; -FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._BehaviorsStyle){var A=FCKConfig.FullBasePath;var B='';var C;C='<style type="text/css" _fcktemp="true">';if (FCKConfig.ShowBorders) B='url('+A+'css/behaviors/showtableborders.htc)';C+='INPUT,TEXTAREA,SELECT,.FCK__Anchor,.FCK__PageBreak,.FCK__InputHidden';if (FCKConfig.DisableObjectResizing){C+=',IMG';B+=' url('+A+'css/behaviors/disablehandles.htc)';};C+=' { behavior: url('+A+'css/behaviors/disablehandles.htc) ; }';if (B.length>0) C+='TABLE { behavior: '+B+' ; }';C+='</style>';FCK._BehaviorsStyle=C;};return FCK._BehaviorsStyle;};function Doc_OnMouseUp(){if (FCK.EditorWindow.event.srcElement.tagName=='HTML'){FCK.Focus();FCK.EditorWindow.event.cancelBubble=true;FCK.EditorWindow.event.returnValue=false;}};function Doc_OnPaste(){var A=FCK.EditorDocument.body;A.detachEvent('onpaste',Doc_OnPaste);var B=FCK.Paste(!FCKConfig.ForcePasteAsPlainText&&!FCKConfig.AutoDetectPasteFromWord);A.attachEvent('onpaste',Doc_OnPaste);return B;};function Doc_OnDblClick(){FCK.OnDoubleClick(FCK.EditorWindow.event.srcElement);FCK.EditorWindow.event.cancelBubble=true;};function Doc_OnSelectionChange(){if (FCK.EditorDocument) FCK.Events.FireEvent("OnSelectionChange");};function Doc_OnDrop(){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};var A=FCK.EditorWindow.event;if (FCKConfig.ForcePasteAsPlainText){if (FCK._CheckIsPastingEnabled()||FCKConfig.ShowDropDialog) FCK.PasteAsPlainText(A.dataTransfer.getData('Text'));}else{if (FCKConfig.ShowDropDialog) FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,['FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security']);};A.returnValue=false;A.cancelBubble=true;};FCK.InitializeBehaviors=function(A){this.EditorDocument.attachEvent('onmouseup',Doc_OnMouseUp);this.EditorDocument.body.attachEvent('onpaste',Doc_OnPaste);this.EditorDocument.body.attachEvent('ondrop',Doc_OnDrop);FCK.ContextMenu._InnerContextMenu.AttachToElement(FCK.EditorDocument.body);this.EditorDocument.attachEvent("onkeydown",FCK._KeyDownListener);this.EditorDocument.attachEvent("ondblclick",Doc_OnDblClick);this.EditorDocument.attachEvent("onselectionchange",Doc_OnSelectionChange);};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCK.EditorWindow.focus();FCKUndo.SaveUndoStep();var B=FCK.EditorDocument.selection;if (B.type.toLowerCase()=='control') B.clear();A='<span id="__fakeFCKRemove__">&nbsp;</span>'+A;B.createRange().pasteHTML(A);FCK.EditorDocument.getElementById('__fakeFCKRemove__').removeNode(true);FCKDocumentProcessor.Process(FCK.EditorDocument);this.Events.FireEvent("OnSelectionChange");};FCK.SetInnerHtml=function(A){var B=FCK.EditorDocument;B.body.innerHTML='<div id="__fakeFCKRemove__">&nbsp;</div>'+A;B.getElementById('__fakeFCKRemove__').removeNode(true);};function FCK_PreloadImages(){var A=new FCKImagePreloader();A.AddImages(FCKConfig.PreloadImages);A.AddImages(FCKConfig.SkinPath+'fck_strip.gif');A.OnComplete=LoadToolbarSetup;A.Start();};function Document_OnContextMenu(){return (event.srcElement._FCKShowContextMenu==true);};document.oncontextmenu=Document_OnContextMenu;function FCK_Cleanup(){this.LinkedField=null;this.EditorWindow=null;this.EditorDocument=null;};FCK._ExecPaste=function(){if (FCK._PasteIsRunning) return true;if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};var A=FCK._CheckIsPastingEnabled(true);if (A===false) FCKTools.RunFunction(FCKDialog.OpenDialog,FCKDialog,['FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security']);else{if (FCKConfig.AutoDetectPasteFromWord&&A.length>0){var B=/<\w[^>]*(( class="?MsoNormal"?)|(="mso-))/gi;if (B.test(A)){if (confirm(FCKLang.PasteWordConfirm)){FCK.PasteFromWord();return false;}}};FCK._PasteIsRunning=true;FCK.ExecuteNamedCommand('Paste');delete FCK._PasteIsRunning;};return false;};FCK.PasteAsPlainText=function(A){if (!FCK._CheckIsPastingEnabled()){FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.PasteAsText,'dialog/fck_paste.html',400,330,'PlainText');return;};var B=null;if (!A) B=clipboardData.getData("Text");else B=A;if (B&&B.length>0){B=FCKTools.HTMLEncode(B);B=FCKTools.ProcessLineBreaks(window,FCKConfig,B);var C=B.search('</p>');var D=B.search('<p>');if ((C!=-1&&D!=-1&&C<D)||(C!=-1&&D==-1)){var E=B.substr(0,C);B=B.substr(C+4);this.InsertHtml(E);};FCKUndo.SaveLocked=true;this.InsertHtml(B);FCKUndo.SaveLocked=false;}};FCK._CheckIsPastingEnabled=function(A){FCK._PasteIsEnabled=false;document.body.attachEvent('onpaste',FCK_CheckPasting_Listener);var B=FCK.GetClipboardHTML();document.body.detachEvent('onpaste',FCK_CheckPasting_Listener);if (FCK._PasteIsEnabled){if (!A) B=true;}else B=false;delete FCK._PasteIsEnabled;return B;};function FCK_CheckPasting_Listener(){FCK._PasteIsEnabled=true;};FCK.GetClipboardHTML=function(){var A=document.getElementById('___FCKHiddenDiv');if (!A){A=document.createElement('DIV');A.id='___FCKHiddenDiv';var B=A.style;B.position='absolute';B.visibility=B.overflow='hidden';B.width=B.height=1;document.body.appendChild(A);};A.innerHTML='';var C=document.body.createTextRange();C.moveToElementText(A);C.execCommand('Paste');var D=A.innerHTML;A.innerHTML='';return D;};FCK.CreateLink=function(A,B){var C=[];FCK.ExecuteNamedCommand('Unlink',null,false,!!B);if (A.length>0){if (FCKSelection.GetType()=='Control'){var D=this.EditorDocument.createElement('A');D.href=A;var E=FCKSelection.GetSelectedElement();E.parentNode.insertBefore(D,E);E.parentNode.removeChild(E);D.appendChild(E);return [D];};var F='javascript:void(0);/*'+(new Date().getTime())+'*/';FCK.ExecuteNamedCommand('CreateLink',F,false,!!B);var G=this.EditorDocument.links;for (i=0;i<G.length;i++){var D=G[i];if (D.getAttribute('href',2)==F){var I=D.innerHTML;D.href=A;D.innerHTML=I;var J=D.lastChild;if (J&&J.nodeName=='BR'){FCKDomTools.InsertAfterNode(D,D.removeChild(J));};C.push(D);}}};return C;}; -var FCKConfig=FCK.Config={};if (document.location.protocol=='file:'){FCKConfig.BasePath=decodeURIComponent(document.location.pathname.substr(1));FCKConfig.BasePath=FCKConfig.BasePath.replace(/\\/gi, '/');var sFullProtocol=document.location.href.match(/^(file\:\/{2,3})/)[1];if (FCKBrowserInfo.IsOpera) sFullProtocol+='localhost/';FCKConfig.BasePath=sFullProtocol+FCKConfig.BasePath.substring(0,FCKConfig.BasePath.lastIndexOf('/')+1);FCKConfig.FullBasePath=FCKConfig.BasePath;}else{FCKConfig.BasePath=document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=document.location.protocol+'//'+document.location.host+FCKConfig.BasePath;};FCKConfig.EditorPath=FCKConfig.BasePath.replace(/editor\/$/,'');try{FCKConfig.ScreenWidth=screen.width;FCKConfig.ScreenHeight=screen.height;}catch (e){FCKConfig.ScreenWidth=800;FCKConfig.ScreenHeight=600;};FCKConfig.ProcessHiddenField=function(){this.PageConfig={};var A=window.parent.document.getElementById(FCK.Name+'___Config');if (!A) return;var B=A.value.split('&');for (var i=0;i<B.length;i++){if (B[i].length==0) continue;var C=B[i].split('=');var D=decodeURIComponent(C[0]);var E=decodeURIComponent(C[1]);if (D=='CustomConfigurationsPath') FCKConfig[D]=E;else if (E.toLowerCase()=="true") this.PageConfig[D]=true;else if (E.toLowerCase()=="false") this.PageConfig[D]=false;else if (E.length>0&&!isNaN(E)) this.PageConfig[D]=parseInt(E,10);else this.PageConfig[D]=E;}};function FCKConfig_LoadPageConfig(){var A=FCKConfig.PageConfig;for (var B in A) FCKConfig[B]=A[B];};function FCKConfig_PreProcess(){var A=FCKConfig;if (A.AllowQueryStringDebug){try{if ((/fckdebug=true/i).test(window.top.location.search)) A.Debug=true;}catch (e) {/*Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error).*/}};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';if (typeof(A.EditorAreaCSS)=='string') A.EditorAreaCSS=A.EditorAreaCSS.split(',');var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;else if (typeof(B)=='string') A.ToolbarComboPreviewCSS=[B];};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.AddItem([A,B,C]);};FCKConfig.ProtectedSource={};FCKConfig.ProtectedSource._CodeTag=(new Date()).valueOf();FCKConfig.ProtectedSource.RegexEntries=[/<!--[\s\S]*?-->/g,/<script[\s\S]*?<\/script>/gi,/<noscript[\s\S]*?<\/noscript>/gi,/<object[\s\S]+?<\/object>/gi];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.AddItem(A);};FCKConfig.ProtectedSource.Protect=function(A){var B=this._CodeTag;function _Replace(protectedSource){var C=FCKTempBin.AddElement(protectedSource);return '<!--{'+B+C+'}-->';};for (var i=0;i<this.RegexEntries.length;i++){A=A.replace(this.RegexEntries[i],_Replace);};return A;};FCKConfig.ProtectedSource.Revert=function(A,B){function _Replace(m,opener,index){var C=B?FCKTempBin.RemoveElement(index):FCKTempBin.Elements[index];return FCKConfig.ProtectedSource.Revert(C,B);};var D=new RegExp("(<|&lt;)!--\\{"+this._CodeTag+"(\\d+)\\}--(>|&gt;)","g");return A.replace(D,_Replace);};FCKConfig.GetBodyAttributes=function(){var A='';if (this.BodyId&&this.BodyId.length>0) A+=' id="'+this.BodyId+'"';if (this.BodyClass&&this.BodyClass.length>0) A+=' class="'+this.BodyClass+'"';return A;};FCKConfig.ApplyBodyAttributes=function(A){if (this.BodyId&&this.BodyId.length>0) A.id=FCKConfig.BodyId;if (this.BodyClass&&this.BodyClass.length>0) A.className+=' '+FCKConfig.BodyClass;}; -var FCKDebug={};FCKDebug._GetWindow=function(){if (!this.DebugWindow||this.DebugWindow.closed) this.DebugWindow=window.open(FCKConfig.BasePath+'fckdebug.html','FCKeditorDebug','menubar=no,scrollbars=yes,resizable=yes,location=no,toolbar=no,width=600,height=500',true);return this.DebugWindow;};FCKDebug.Output=function(A,B,C){if (!FCKConfig.Debug) return;try{this._GetWindow().Output(A,B);}catch (e) {}};FCKDebug.OutputObject=function(A,B){if (!FCKConfig.Debug) return;try{this._GetWindow().OutputObject(A,B);}catch (e) {}} -var FCKDomTools={MoveChildren:function(A,B,C){if (A==B) return;var D;if (C){while ((D=A.lastChild)) B.insertBefore(A.removeChild(D),B.firstChild);}else{while ((D=A.firstChild)) B.appendChild(A.removeChild(D));}},MoveNode:function(A,B,C){if (C) B.insertBefore(FCKDomTools.RemoveNode(A),B.firstChild);else B.appendChild(FCKDomTools.RemoveNode(A));},TrimNode:function(A){this.LTrimNode(A);this.RTrimNode(A);},LTrimNode:function(A){var B;while ((B=A.firstChild)){if (B.nodeType==3){var C=B.nodeValue.LTrim();var D=B.nodeValue.length;if (C.length==0){A.removeChild(B);continue;}else if (C.length<D){B.splitText(D-C.length);A.removeChild(A.firstChild);}};break;}},RTrimNode:function(A){var B;while ((B=A.lastChild)){if (B.nodeType==3){var C=B.nodeValue.RTrim();var D=B.nodeValue.length;if (C.length==0){B.parentNode.removeChild(B);continue;}else if (C.length<D){B.splitText(C.length);A.lastChild.parentNode.removeChild(A.lastChild);}};break;};if (!FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsOpera){B=A.lastChild;if (B&&B.nodeType==1&&B.nodeName.toLowerCase()=='br'){B.parentNode.removeChild(B);}}},RemoveNode:function(A,B){if (B){var C;while ((C=A.firstChild)) A.parentNode.insertBefore(A.removeChild(C),A);};return A.parentNode.removeChild(A);},GetFirstChild:function(A,B){if (typeof (B)=='string') B=[B];var C=A.firstChild;while(C){if (C.nodeType==1&&C.tagName.Equals.apply(C.tagName,B)) return C;C=C.nextSibling;};return null;},GetLastChild:function(A,B){if (typeof (B)=='string') B=[B];var C=A.lastChild;while(C){if (C.nodeType==1&&(!B||C.tagName.Equals(B))) return C;C=C.previousSibling;};return null;},GetPreviousSourceElement:function(A,B,C,D){if (!A) return null;if (C&&A.nodeType==1&&A.nodeName.IEquals(C)) return null;if (A.previousSibling) A=A.previousSibling;else return this.GetPreviousSourceElement(A.parentNode,B,C,D);while (A){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (!D||!A.nodeName.IEquals(D)) return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;if (A.lastChild) A=A.lastChild;else return this.GetPreviousSourceElement(A,B,C,D);};return null;},GetNextSourceElement:function(A,B,C,D,E){while((A=this.GetNextSourceNode(A,E))){if (A.nodeType==1){if (C&&A.nodeName.IEquals(C)) break;if (D&&A.nodeName.IEquals(D)) return this.GetNextSourceElement(A,B,C,D);return A;}else if (B&&A.nodeType==3&&A.nodeValue.RTrim().length>0) break;};return null;},GetNextSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.firstChild) E=A.firstChild;else{if (D&&A==D) return null;E=A.nextSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetNextSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetNextSourceNode(E,false,C,D);return E;},GetPreviousSourceNode:function(A,B,C,D){if (!A) return null;var E;if (!B&&A.lastChild) E=A.lastChild;else{if (D&&A==D) return null;E=A.previousSibling;if (!E&&(!D||D!=A.parentNode)) return this.GetPreviousSourceNode(A.parentNode,true,C,D);};if (C&&E&&E.nodeType!=C) return this.GetPreviousSourceNode(E,false,C,D);return E;},InsertAfterNode:function(A,B){return A.parentNode.insertBefore(B,A.nextSibling);},GetParents:function(A){var B=[];while (A){B.unshift(A);A=A.parentNode;};return B;},GetCommonParents:function(A,B){var C=this.GetParents(A);var D=this.GetParents(B);var E=[];for (var i=0;i<C.length;i++){if (C[i]==D[i]) E.push(C[i]);};return E;},GetCommonParentNode:function(A,B,C){var D={};if (!C.pop) C=[C];while (C.length>0) D[C.pop().toLowerCase()]=1;var E=this.GetCommonParents(A,B);var F=null;while ((F=E.pop())){if (D[F.nodeName.toLowerCase()]) return F;};return null;},GetIndexOf:function(A){var B=A.parentNode?A.parentNode.firstChild:null;var C=-1;while (B){C++;if (B==A) return C;B=B.nextSibling;};return-1;},PaddingNode:null,EnforcePaddingNode:function(A,B){try{if (!A||!A.body) return;}catch (e){return;};this.CheckAndRemovePaddingNode(A,B,true);try{if (A.body.lastChild&&(A.body.lastChild.nodeType!=1||A.body.lastChild.tagName.toLowerCase()==B.toLowerCase())) return;}catch (e){return;};var C=A.createElement(B);if (FCKBrowserInfo.IsGecko&&FCKListsLib.NonEmptyBlockElements[B]) FCKTools.AppendBogusBr(C);this.PaddingNode=C;if (A.body.childNodes.length==1&&A.body.firstChild.nodeType==1&&A.body.firstChild.tagName.toLowerCase()=='br'&&(A.body.firstChild.getAttribute('_moz_dirty')!=null||A.body.firstChild.getAttribute('type')=='_moz')) A.body.replaceChild(C,A.body.firstChild);else A.body.appendChild(C);},CheckAndRemovePaddingNode:function(A,B,C){var D=this.PaddingNode;if (!D) return;try{if (D.parentNode!=A.body||D.tagName.toLowerCase()!=B||(D.childNodes.length>1)||(D.firstChild&&D.firstChild.nodeValue!='\xa0'&&String(D.firstChild.tagName).toLowerCase()!='br')){this.PaddingNode=null;return;}}catch (e){this.PaddingNode=null;return;};if (!C){if (D.parentNode.childNodes.length>1) D.parentNode.removeChild(D);this.PaddingNode=null;}},HasAttribute:function(A,B){if (A.hasAttribute) return A.hasAttribute(B);else{var C=A.attributes[B];return (C!=undefined&&C.specified);}},HasAttributes:function(A){var B=A.attributes;for (var i=0;i<B.length;i++){if (FCKBrowserInfo.IsIE&&B[i].nodeName=='class'){if (A.className.length>0) return true;}else if (B[i].specified) return true;};return false;},RemoveAttribute:function(A,B){if (FCKBrowserInfo.IsIE&&B.toLowerCase()=='class') B='className';return A.removeAttribute(B,0);},GetAttributeValue:function(A,B){var C=B;if (typeof B=='string') B=A.attributes[B];else C=B.nodeName;if (B&&B.specified){if (C=='style') return A.style.cssText;else if (C=='class'||C.indexOf('on')==0) return B.nodeValue;else{return A.getAttribute(C,2);}};return null;},Contains:function(A,B){if (A.contains&&B.nodeType==1) return A.contains(B);while ((B=B.parentNode)){if (B==A) return true;};return false;},BreakParent:function(A,B,C){var D=C||new FCKDomRange(FCKTools.GetElementWindow(A));D.SetStart(A,4);D.SetEnd(B,4);var E=D.ExtractContents();D.InsertNode(A.parentNode.removeChild(A));E.InsertAfterNode(A);D.Release(!!C);},GetNodeAddress:function(A,B){var C=[];while (A&&A!=A.ownerDocument.documentElement){var D=A.parentNode;var E=-1;for(var i=0;i<D.childNodes.length;i++){var F=D.childNodes[i];if (B===true&&F.nodeType==3&&F.previousSibling&&F.previousSibling.nodeType==3) continue;E++;if (D.childNodes[i]==A) break;};C.unshift(E);A=A.parentNode;};return C;},GetNodeFromAddress:function(A,B,C){var D=A.documentElement;for (var i=0;i<B.length;i++){var E=B[i];if (!C){D=D.childNodes[E];continue;};var F=-1;for (var j=0;j<D.childNodes.length;j++){var G=D.childNodes[j];if (C===true&&G.nodeType==3&&G.previousSibling&&G.previousSibling.nodeType==3) continue;F++;if (F==E){D=G;break;}}};return D;},CloneElement:function(A){A=A.cloneNode(false);A.removeAttribute('id',false);return A;},ClearElementJSProperty:function(A,B){if (FCKBrowserInfo.IsIE) A.removeAttribute(B);else delete A[B];},SetElementMarker:function (A,B,C,D){var E=String(parseInt(Math.random()*0xfffffff,10));B._FCKMarkerId=E;B[C]=D;if (!A[E]) A[E]={ 'element':B,'markers':{} };A[E]['markers'][C]=D;},ClearElementMarkers:function(A,B,C){var D=B._FCKMarkerId;if (!D) return;this.ClearElementJSProperty(B,'_FCKMarkerId');for (var j in A[D]['markers']) this.ClearElementJSProperty(B,j);if (C) delete A[D];},ClearAllMarkers:function(A){for (var i in A) this.ClearElementMarkers(A,A[i]['element'],true);},ListToArray:function(A,B,C,D,E){if (!A.nodeName.IEquals(['ul','ol'])) return [];if (!D) D=0;if (!C) C=[];for (var i=0;i<A.childNodes.length;i++){var F=A.childNodes[i];if (!F.nodeName.IEquals('li')) continue;var G={ 'parent':A,'indent':D,'contents':[] };if (!E){G.grandparent=A.parentNode;if (G.grandparent&&G.grandparent.nodeName.IEquals('li')) G.grandparent=G.grandparent.parentNode;}else G.grandparent=E;if (B) this.SetElementMarker(B,F,'_FCK_ListArray_Index',C.length);C.push(G);for (var j=0;j<F.childNodes.length;j++){var H=F.childNodes[j];if (H.nodeName.IEquals(['ul','ol'])) this.ListToArray(H,B,C,D+1,G.grandparent);else G.contents.push(H);}};return C;},ArrayToList:function(A,B,C){if (C==undefined) C=0;if (!A||A.length<C+1) return null;var D=A[C].parent.ownerDocument;var E=D.createDocumentFragment();var F=null;var G=C;var H=Math.max(A[C].indent,0);var I=null;while (true){var J=A[G];if (J.indent==H){if (!F||A[G].parent.nodeName!=F.nodeName){F=A[G].parent.cloneNode(false);E.appendChild(F);};I=D.createElement('li');F.appendChild(I);for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));G++;}else if (J.indent==Math.max(H,0)+1){var K=this.ArrayToList(A,null,G);I.appendChild(K.listNode);G=K.nextIndex;}else if (J.indent==-1&&C==0&&J.grandparent){var I;if (J.grandparent.nodeName.IEquals(['ul','ol'])) I=D.createElement('li');else{if (FCKConfig.EnterMode.IEquals(['div','p'])&&!J.grandparent.nodeName.IEquals('td')) I=D.createElement(FCKConfig.EnterMode);else I=D.createDocumentFragment();};for (var i=0;i<J.contents.length;i++) I.appendChild(J.contents[i].cloneNode(true));if (I.nodeType==11){if (I.lastChild&&I.lastChild.getAttribute&&I.lastChild.getAttribute('type')=='_moz') I.removeChild(I.lastChild);I.appendChild(D.createElement('br'));};if (I.nodeName.IEquals(FCKConfig.EnterMode)&&I.firstChild){this.TrimNode(I);if (FCKListsLib.BlockBoundaries[I.firstChild.nodeName.toLowerCase()]){var M=D.createDocumentFragment();while (I.firstChild) M.appendChild(I.removeChild(I.firstChild));I=M;}};if (FCKBrowserInfo.IsGeckoLike&&I.nodeName.IEquals(['div','p'])) FCKTools.AppendBogusBr(I);E.appendChild(I);F=null;G++;}else return null;if (A.length<=G||Math.max(A[G].indent,0)<H){break;}};if (B){var N=E.firstChild;while (N){if (N.nodeType==1) this.ClearElementMarkers(B,N);N=this.GetNextSourceNode(N);}};return { 'listNode':E,'nextIndex':G };},GetNextSibling:function(A,B){A=A.nextSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.nextSibling;return A;},GetPreviousSibling:function(A,B){A=A.previousSibling;while (A&&!B&&A.nodeType!=1&&(A.nodeType!=3||A.nodeValue.length==0)) A=A.previousSibling;return A;},CheckIsEmptyElement:function(A,B){var C=A.firstChild;var D;while (C){if (C.nodeType==1){if (D||!FCKListsLib.InlineNonEmptyElements[C.nodeName.toLowerCase()]) return false;if (!B||B(C)===true) D=C;}else if (C.nodeType==3&&C.nodeValue.length>0) return false;C=C.nextSibling;};return D?this.CheckIsEmptyElement(D,B):true;},SetElementStyles:function(A,B){var C=A.style;for (var D in B) C[D]=B[D];},GetCurrentElementStyle:function(w,A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return w.getComputedStyle(A,'')[B];},GetPositionedAncestor:function(w,A){var B=A;while (B!=B.ownerDocument.documentElement){if (this.GetCurrentElementStyle(w,B,'position')!='static') return B;B=B.parentNode;};return null;},ScrollIntoView:function(A,B){var C=FCKTools.GetElementWindow(A);var D=FCKTools.GetViewPaneSize(C).Height;var E=D*-1;if (B===false){E+=A.offsetHeight;E+=parseInt(this.GetCurrentElementStyle(C,A,'marginBottom')||0,10);};E+=A.offsetTop;while ((A=A.offsetParent)) E+=A.offsetTop||0;var F=FCKTools.GetScrollPosition(C).Y;if (E>0&&E>F) C.scrollTo(0,E);}}; -var FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','_moz');return B;};FCKTools.AppendStyleSheet=function(A,B){if (typeof(B)=='string') return this._AppendStyleSheet(A,B);else{var C=[];for (var i=0;i<B.length;i++) C.push(this._AppendStyleSheet(A,B[i]));return C;}};FCKTools.AppendStyleString=function (A,B){this._AppendStyleString(A,B);};FCKTools.GetElementDocument=function (A){return A.ownerDocument||A.document;};FCKTools.GetElementWindow=function(A){return this.GetDocumentWindow(this.GetElementDocument(A));};FCKTools.GetDocumentWindow=function(A){if (FCKBrowserInfo.IsSafari&&!A.parentWindow) this.FixDocumentParentWindow(window.top);return A.parentWindow||A.defaultView;};FCKTools.FixDocumentParentWindow=function(A){if (A.document) A.document.parentWindow=A;for (var i=0;i<A.frames.length;i++) FCKTools.FixDocumentParentWindow(A.frames[i]);};FCKTools.HTMLEncode=function(A){if (!A) return '';A=A.replace(/&/g,'&amp;');A=A.replace(/</g,'&lt;');A=A.replace(/>/g,'&gt;');return A;};FCKTools.HTMLDecode=function(A){if (!A) return '';A=A.replace(/&gt;/g,'>');A=A.replace(/&lt;/g,'<');A=A.replace(/&amp;/g,'&');return A;};FCKTools._ProcessLineBreaksForPMode=function(A,B,C,D,E){var F=0;var G="<p>";var H="</p>";var I="<br />";if (C){G="<li>";H="</li>";F=1;};while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()=='p'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c=='\r') continue;if (c!='\n'){E.push(c);continue;};var n=B.charAt(i+1);if (n=='\r'){i++;n=B.charAt(i+1);};if (n=='\n'){i++;if (F) E.push(H);E.push(G);F=1;}else E.push(I);}};FCKTools._ProcessLineBreaksForDivMode=function(A,B,C,D,E){var F=0;var G="<div>";var H="</div>";if (C){G="<li>";H="</li>";F=1;};while (D&&D!=A.FCK.EditorDocument.body){if (D.tagName.toLowerCase()=='div'){F=1;break;};D=D.parentNode;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c=='\r') continue;if (c!='\n'){E.push(c);continue;};if (F){if (E[E.length-1]==G){E.push("&nbsp;");};E.push(H);};E.push(G);F=1;};if (F) E.push(H);};FCKTools._ProcessLineBreaksForBrMode=function(A,B,C,D,E){var F=0;var G="<br />";var H="";if (C){G="<li>";H="</li>";F=1;};for (var i=0;i<B.length;i++){var c=B.charAt(i);if (c=='\r') continue;if (c!='\n'){E.push(c);continue;};if (F&&H.length) E.push (H);E.push(G);F=1;}};FCKTools.ProcessLineBreaks=function(A,B,C){var D=B.EnterMode.toLowerCase();var E=[];var F=0;var G=new A.FCKDomRange(A.FCK.EditorWindow);G.MoveToSelection();var H=G._Range.startContainer;while (H&&H.nodeType!=1) H=H.parentNode;if (H&&H.tagName.toLowerCase()=='li') F=1;if (D=='p') this._ProcessLineBreaksForPMode(A,C,F,H,E);else if (D=='div') this._ProcessLineBreaksForDivMode(A,C,F,H,E);else if (D=='br') this._ProcessLineBreaksForBrMode(A,C,F,H,E);return E.join("");};FCKTools.AddSelectOption=function(A,B,C){var D=FCKTools.GetElementDocument(A).createElement("OPTION");D.text=B;D.value=C;A.options.add(D);return D;};FCKTools.RunFunction=function(A,B,C,D){if (A) this.SetTimeout(A,0,B,C,D);};FCKTools.SetTimeout=function(A,B,C,D,E){return (E||window).setTimeout(function(){if (D) A.apply(C,[].concat(D));else A.apply(C);},B);};FCKTools.SetInterval=function(A,B,C,D,E){return (E||window).setInterval(function(){A.apply(C,D||[]);},B);};FCKTools.ConvertStyleSizeToHtml=function(A){return A.EndsWith('%')?A:parseInt(A,10);};FCKTools.ConvertHtmlSizeToStyle=function(A){return A.EndsWith('%')?A:(A+'px');};FCKTools.GetElementAscensor=function(A,B){var e=A;var C=","+B.toUpperCase()+",";while (e){if (C.indexOf(","+e.nodeName.toUpperCase()+",")!=-1) return e;e=e.parentNode;};return null;};FCKTools.CreateEventListener=function(A,B){var f=function(){var C=[];for (var i=0;i<arguments.length;i++) C.push(arguments[i]);A.apply(this,C.concat(B));};return f;};FCKTools.IsStrictMode=function(A){return ('CSS1Compat'==(A.compatMode||'CSS1Compat'));};FCKTools.ArgumentsToArray=function(A,B,C){B=B||0;C=C||A.length;var D=[];for (var i=B;i<B+C&&i<A.length;i++) D.push(A[i]);return D;};FCKTools.CloneObject=function(A){var B=function() {};B.prototype=A;return new B;};FCKTools.AppendBogusBr=function(A){if (!A) return;var B=this.GetLastItem(A.getElementsByTagName('br'));if (!B||(B.getAttribute('type',2)!='_moz'&&B.getAttribute('_moz_dirty')==null)){var C=this.GetElementDocument(A);if (FCKBrowserInfo.IsOpera) A.appendChild(C.createTextNode(''));else A.appendChild(this.CreateBogusBR(C));}};FCKTools.GetLastItem=function(A){if (A.length>0) return A[A.length-1];return null;};FCKTools.GetDocumentPosition=function(w,A){var x=0;var y=0;var B=A;var C=null;var D=FCKTools.GetElementWindow(B);while (B&&!(D==w&&(B==w.document.body||B==w.document.documentElement))){x+=B.offsetLeft-B.scrollLeft;y+=B.offsetTop-B.scrollTop;if (!FCKBrowserInfo.IsOpera){var E=C;while (E&&E!=B){x-=E.scrollLeft;y-=E.scrollTop;E=E.parentNode;}};C=B;if (B.offsetParent) B=B.offsetParent;else{if (D!=w){B=D.frameElement;C=null;if (B) D=FCKTools.GetElementWindow(B);}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w,w.document.body,'position')!='static'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(w,A)==null)){x+=w.document.body.offsetLeft;y+=w.document.body.offsetTop;};return { "x":x,"y":y };};FCKTools.GetWindowPosition=function(w,A){var B=this.GetDocumentPosition(w,A);var C=FCKTools.GetScrollPosition(w);B.x-=C.X;B.y-=C.Y;return B;};FCKTools.ProtectFormStyles=function(A){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!='form') return [];var B=[];var C=['style','className'];for (var i=0;i<C.length;i++){var D=C[i];if (A.elements.namedItem(D)){var E=A.elements.namedItem(D);B.push([E,E.nextSibling]);A.removeChild(E);}};return B;};FCKTools.RestoreFormStyles=function(A,B){if (!A||A.nodeType!=1||A.tagName.toLowerCase()!='form') return;if (B.length>0){for (var i=B.length-1;i>=0;i--){var C=B[i][0];var D=B[i][1];if (D) A.insertBefore(C,D);else A.appendChild(C);}}};FCKTools.GetNextNode=function(A,B){if (A.firstChild) return A.firstChild;else if (A.nextSibling) return A.nextSibling;else{var C=A.parentNode;while (C){if (C==B) return null;if (C.nextSibling) return C.nextSibling;else C=C.parentNode;}};return null;};FCKTools.GetNextTextNode=function(A,B,C){node=this.GetNextNode(A,B);if (C&&node&&C(node)) return null;while (node&&node.nodeType!=3){node=this.GetNextNode(node,B);if (C&&node&&C(node)) return null;};return node;};FCKTools.Merge=function(){var A=arguments;var o=A[0];for (var i=1;i<A.length;i++){var B=A[i];for (var p in B) o[p]=B[p];};return o;};FCKTools.IsArray=function(A){return (A instanceof Array);};FCKTools.AppendLengthProperty=function(A,B){var C=0;for (var n in A) C++;return A[B||'length']=C;};FCKTools.NormalizeCssText=function(A){var B=document.createElement('span');B.style.cssText=A;return B.style.cssText;};FCKTools.Hitch=function(A,B){return function() { A[B].apply(A,arguments);};}; -FCKTools.CancelEvent=function(e){return false;};FCKTools._AppendStyleSheet=function(A,B){return A.createStyleSheet(B).owningElement;};FCKTools._AppendStyleString=function(A,B){var s=A.createStyleSheet("");s.cssText=B;return s;};FCKTools.ClearElementAttributes=function(A){A.clearAttributes();};FCKTools.GetAllChildrenIds=function(A){var B=[];for (var i=0;i<A.all.length;i++){var C=A.all[i].id;if (C&&C.length>0) B[B.length]=C;};return B;};FCKTools.RemoveOuterTags=function(e){e.insertAdjacentHTML('beforeBegin',e.innerHTML);e.parentNode.removeChild(e);};FCKTools.CreateXmlObject=function(A){var B;switch (A){case 'XmlHttp':B=['MSXML2.XmlHttp','Microsoft.XmlHttp'];break;case 'DOMDocument':B=['MSXML2.DOMDocument','Microsoft.XmlDom'];break;};for (var i=0;i<2;i++){try { return new ActiveXObject(B[i]);}catch (e){}};if (FCKLang.NoActiveX){alert(FCKLang.NoActiveX);FCKLang.NoActiveX=null;};return null;};FCKTools.DisableSelection=function(A){A.unselectable='on';var e,i=0;while ((e=A.all[i++])){switch (e.tagName){case 'IFRAME':case 'TEXTAREA':case 'INPUT':case 'SELECT':break;default:e.unselectable='on';}}};FCKTools.GetScrollPosition=function(A){var B=A.document;var C={ X:B.documentElement.scrollLeft,Y:B.documentElement.scrollTop };if (C.X>0||C.Y>0) return C;return { X:B.body.scrollLeft,Y:B.body.scrollTop };};FCKTools.AddEventListener=function(A,B,C){A.attachEvent('on'+B,C);};FCKTools.RemoveEventListener=function(A,B,C){A.detachEvent('on'+B,C);};FCKTools.AddEventListenerEx=function(A,B,C,D){var o={};o.Source=A;o.Params=D||[];o.Listener=function(ev){return C.apply(o.Source,[ev].concat(o.Params));};if (FCK.IECleanup) FCK.IECleanup.AddItem(null,function() { o.Source=null;o.Params=null;});A.attachEvent('on'+B,o.Listener);A=null;D=null;};FCKTools.GetViewPaneSize=function(A){var B;var C=A.document.documentElement;if (C&&C.clientWidth) B=C;else B=A.document.body;if (B) return { Width:B.clientWidth,Height:B.clientHeight };else return { Width:0,Height:0 };};FCKTools.SaveStyles=function(A){var B=FCKTools.ProtectFormStyles(A);var C={};if (A.className.length>0){C.Class=A.className;A.className='';};var D=A.style.cssText;if (D.length>0){C.Inline=D;A.style.cssText='';};FCKTools.RestoreFormStyles(A,B);return C;};FCKTools.RestoreStyles=function(A,B){var C=FCKTools.ProtectFormStyles(A);A.className=B.Class||'';A.style.cssText=B.Inline||'';FCKTools.RestoreFormStyles(A,C);};FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};FCKTools.AppendElement=function(A,B){return A.appendChild(this.GetElementDocument(A).createElement(B));};FCKTools.ToLowerCase=function(A){return A.toLowerCase();}; -var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B='var FCKeditorAPI = {Version : "2.5",VersionBuild : "17352",__Instances : new Object(),GetInstance : function( name ){return this.__Instances[ name ];},_FormSubmit : function(){for ( var name in FCKeditorAPI.__Instances ){var oEditor = FCKeditorAPI.__Instances[ name ] ;if ( oEditor.GetParentForm && oEditor.GetParentForm() == this )oEditor.UpdateLinkedField() ;}this._FCKOriginalSubmit() ;},_FunctionQueue : {Functions : new Array(),IsRunning : false,Add : function( f ){this.Functions.push( f );if ( !this.IsRunning )this.StartNext();},StartNext : function(){var aQueue = this.Functions ;if ( aQueue.length > 0 ){this.IsRunning = true;aQueue[0].call();}else this.IsRunning = false;},Remove : function( f ){var aQueue = this.Functions;var i = 0, fFunc;while( (fFunc = aQueue[ i ]) ){if ( fFunc == f )aQueue.splice( i,1 );i++ ;}this.StartNext();}}}';if (A.execScript) A.execScript(B,'JavaScript');else{if (FCKBrowserInfo.IsGecko10){eval.call(A,B);}else if (FCKBrowserInfo.IsSafari||FCKBrowserInfo.IsGecko19){var C=A.document;var D=C.createElement('script');D.appendChild(C.createTextNode(B));C.documentElement.appendChild(D);}else A.eval(B);};FCKeditorAPI=A.FCKeditorAPI;};FCKeditorAPI.__Instances[FCK.Name]=FCK;};function _AttachFormSubmitToAPI(){var A=FCK.GetParentForm();if (A){FCKTools.AddEventListener(A,'submit',FCK.UpdateLinkedField);if (!A._FCKOriginalSubmit&&(typeof(A.submit)=='function'||(!A.submit.tagName&&!A.submit.length))){A._FCKOriginalSubmit=A.submit;A.submit=FCKeditorAPI._FormSubmit;}}};function FCKeditorAPI_Cleanup(){if (!window.FCKUnloadFlag) return;delete FCKeditorAPI.__Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,'unload',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,'beforeunload',FCKeditorAPI_ConfirmCleanup); -var FCKImagePreloader=function(){this._Images=[];};FCKImagePreloader.prototype={AddImages:function(A){if (typeof(A)=='string') A=A.split(';');this._Images=this._Images.concat(A);},Start:function(){var A=this._Images;this._PreloadCount=A.length;for (var i=0;i<A.length;i++){var B=document.createElement('img');FCKTools.AddEventListenerEx(B,'load',_FCKImagePreloader_OnImage,this);FCKTools.AddEventListenerEx(B,'error',_FCKImagePreloader_OnImage,this);B.src=A[i];_FCKImagePreloader_ImageCache.push(B);}}};var _FCKImagePreloader_ImageCache=[];function _FCKImagePreloader_OnImage(A,B){if ((--B._PreloadCount)==0&&B.OnComplete) B.OnComplete();} -var FCKRegexLib={AposEntity:/&apos;/gi,ObjectElements:/^(?:IMG|TABLE|TR|TD|TH|INPUT|SELECT|TEXTAREA|HR|OBJECT|A|UL|OL|LI)$/i,NamedCommands:/^(?:Cut|Copy|Paste|Print|SelectAll|RemoveFormat|Unlink|Undo|Redo|Bold|Italic|Underline|StrikeThrough|Subscript|Superscript|JustifyLeft|JustifyCenter|JustifyRight|JustifyFull|Outdent|Indent|InsertOrderedList|InsertUnorderedList|InsertHorizontalRule)$/i,BeforeBody:/(^[\s\S]*\<body[^\>]*\>)/i,AfterBody:/(\<\/body\>[\s\S]*$)/i,ToReplace:/___fcktoreplace:([\w]+)/ig,MetaHttpEquiv:/http-equiv\s*=\s*["']?([^"' ]+)/i,HasBaseTag:/<base /i,HasBodyTag:/<body[\s|>]/i,HtmlOpener:/<html\s?[^>]*>/i,HeadOpener:/<head\s?[^>]*>/i,HeadCloser:/<\/head\s*>/i,FCK_Class:/\s*FCK__[^ ]*(?=\s+|$)/,ElementName:/(^[a-z_:][\w.\-:]*\w$)|(^[a-z_]$)/,ForceSimpleAmpersand:/___FCKAmp___/g,SpaceNoClose:/\/>/g,EmptyParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>\s*(<\/\1>)?$/,EmptyOutParagraph:/^<(p|div|address|h\d|center)(?=[ >])[^>]*>(?:\s*|&nbsp;)(<\/\1>)?$/,TagBody:/></,GeckoEntitiesMarker:/#\?-\:/g,ProtectUrlsImg:/<img(?=\s).*?\ssrc=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi,ProtectUrlsA:/<a(?=\s).*?\shref=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi,ProtectUrlsArea:/<area(?=\s).*?\shref=((?:(?:\s*)("|').*?\2)|(?:[^"'][^ >]+))/gi,Html4DocType:/HTML 4\.0 Transitional/i,DocTypeTag:/<!DOCTYPE[^>]*>/i,TagsWithEvent:/<[^\>]+ on\w+[\s\r\n]*=[\s\r\n]*?('|")[\s\S]+?\>/g,EventAttributes:/\s(on\w+)[\s\r\n]*=[\s\r\n]*?('|")([\s\S]*?)\2/g,ProtectedEvents:/\s\w+_fckprotectedatt="([^"]+)"/g,StyleProperties:/\S+\s*:/g,InvalidSelfCloseTags:/(<(?!base|meta|link|hr|br|param|img|area|input)([a-zA-Z0-9:]+)[^>]*)\/>/gi,StyleVariableAttName:/#\(\s*("|')(.+?)\1[^\)]*\s*\)/g,RegExp:/^\/(.*)\/([gim]*)$/}; -var FCKListsLib={BlockElements:{ address:1,blockquote:1,center:1,div:1,dl:1,fieldset:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,marquee:1,noscript:1,ol:1,p:1,pre:1,script:1,table:1,ul:1 },NonEmptyBlockElements:{ p:1,div:1,form:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,address:1,pre:1,ol:1,ul:1,li:1,td:1,th:1 },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 },InlineNonEmptyElements:{ a:1,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 },EmptyElements:{ base:1,col:1,meta:1,link:1,hr:1,br:1,param:1,img:1,area:1,input:1 },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,de:1 },PathBlockLimitElements:{ body:1,div:1,td:1,th:1,caption:1,form:1 },StyleBlockElements:{ address:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,p:1,pre:1 },StyleObjectElements:{ img:1,hr:1,li:1,table:1,tr:1,td:1,embed:1,object:1,ol:1,ul:1 },BlockBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1 },ListBoundaries:{ p:1,div:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,hr:1,address:1,pre:1,ol:1,ul:1,li:1,dt:1,de:1,table:1,thead:1,tbody:1,tfoot:1,tr:1,th:1,td:1,caption:1,col:1,colgroup:1,blockquote:1,body:1,br:1 }}; -var FCKLanguageManager=FCK.Language={AvailableLanguages:{af:'Afrikaans',ar:'Arabic',bg:'Bulgarian',bn:'Bengali/Bangla',bs:'Bosnian',ca:'Catalan',cs:'Czech',da:'Danish',de:'German',el:'Greek',en:'English','en-au':'English (Australia)','en-ca':'English (Canadian)','en-uk':'English (United Kingdom)',eo:'Esperanto',es:'Spanish',et:'Estonian',eu:'Basque',fa:'Persian',fi:'Finnish',fo:'Faroese',fr:'French',gl:'Galician',he:'Hebrew',hi:'Hindi',hr:'Croatian',hu:'Hungarian',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'},GetActiveLanguage:function(){if (FCKConfig.AutoDetectLanguage){var A;if (navigator.userLanguage) A=navigator.userLanguage.toLowerCase();else if (navigator.language) A=navigator.language.toLowerCase();else{return FCKConfig.DefaultLanguage;};if (A.length>=5){A=A.substr(0,5);if (this.AvailableLanguages[A]) return A;};if (A.length>=2){A=A.substr(0,2);if (this.AvailableLanguages[A]) return A;}};return this.DefaultLanguage;},TranslateElements:function(A,B,C,D){var e=A.getElementsByTagName(B);var E,s;for (var i=0;i<e.length;i++){if ((E=e[i].getAttribute('fckLang'))){if ((s=FCKLang[E])){if (D) s=FCKTools.HTMLEncode(s);e[i][C]=s;}}}},TranslatePage:function(A){this.TranslateElements(A,'INPUT','value');this.TranslateElements(A,'SPAN','innerHTML');this.TranslateElements(A,'LABEL','innerHTML');this.TranslateElements(A,'OPTION','innerHTML',true);this.TranslateElements(A,'LEGEND','innerHTML');},Initialize:function(){if (this.AvailableLanguages[FCKConfig.DefaultLanguage]) this.DefaultLanguage=FCKConfig.DefaultLanguage;else this.DefaultLanguage='en';this.ActiveLanguage={};this.ActiveLanguage.Code=this.GetActiveLanguage();this.ActiveLanguage.Name=this.AvailableLanguages[this.ActiveLanguage.Code];}}; -var FCKXHtmlEntities={};FCKXHtmlEntities.Initialize=function(){if (FCKXHtmlEntities.Entities) return;var A='';var B,e;if (FCKConfig.ProcessHTMLEntities){FCKXHtmlEntities.Entities={' ':'nbsp','¡':'iexcl','¢':'cent','£':'pound','¤':'curren','¥':'yen','¦':'brvbar','§':'sect','¨':'uml','©':'copy','ª':'ordf','«':'laquo','¬':'not','­':'shy','®':'reg','¯':'macr','°':'deg','±':'plusmn','²':'sup2','³':'sup3','´':'acute','µ':'micro','¶':'para','·':'middot','¸':'cedil','¹':'sup1','º':'ordm','»':'raquo','¼':'frac14','½':'frac12','¾':'frac34','¿':'iquest','×':'times','÷':'divide','ƒ':'fnof','•':'bull','…':'hellip','′':'prime','″':'Prime','‾':'oline','⁄':'frasl','℘':'weierp','ℑ':'image','ℜ':'real','™':'trade','ℵ':'alefsym','←':'larr','↑':'uarr','→':'rarr','↓':'darr','↔':'harr','↵':'crarr','⇐':'lArr','⇑':'uArr','⇒':'rArr','⇓':'dArr','⇔':'hArr','∀':'forall','∂':'part','∃':'exist','∅':'empty','∇':'nabla','∈':'isin','∉':'notin','∋':'ni','∏':'prod','∑':'sum','−':'minus','∗':'lowast','√':'radic','∝':'prop','∞':'infin','∠':'ang','∧':'and','∨':'or','∩':'cap','∪':'cup','∫':'int','∴':'there4','∼':'sim','≅':'cong','≈':'asymp','≠':'ne','≡':'equiv','≤':'le','≥':'ge','⊂':'sub','⊃':'sup','⊄':'nsub','⊆':'sube','⊇':'supe','⊕':'oplus','⊗':'otimes','⊥':'perp','⋅':'sdot','\u2308':'lceil','\u2309':'rceil','\u230a':'lfloor','\u230b':'rfloor','\u2329':'lang','\u232a':'rang','◊':'loz','♠':'spades','♣':'clubs','♥':'hearts','♦':'diams','"':'quot','ˆ':'circ','˜':'tilde',' ':'ensp',' ':'emsp',' ':'thinsp','‌':'zwnj','‍':'zwj','‎':'lrm','‏':'rlm','–':'ndash','—':'mdash','‘':'lsquo','’':'rsquo','‚':'sbquo','“':'ldquo','”':'rdquo','„':'bdquo','†':'dagger','‡':'Dagger','‰':'permil','‹':'lsaquo','›':'rsaquo','€':'euro'};for (e in FCKXHtmlEntities.Entities) A+=e;if (FCKConfig.IncludeLatinEntities){B={'À':'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'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;};if (FCKConfig.IncludeGreekEntities){B={'Α':'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','\u03d1':'thetasym','\u03d2':'upsih','\u03d6':'piv'};for (e in B){FCKXHtmlEntities.Entities[e]=B[e];A+=e;};B=null;}}else{FCKXHtmlEntities.Entities={};A=' ';};var C='['+A+']';if (FCKConfig.ProcessNumericEntities) C='[^ -~]|'+C;var D=FCKConfig.AdditionalNumericEntities;if (D&&D.length>0) C+='|'+FCKConfig.AdditionalNumericEntities;FCKXHtmlEntities.EntitiesRegex=new RegExp(C,'g');}; -var FCKXHtml={};FCKXHtml.CurrentJobNum=0;FCKXHtml.GetXHTML=function(A,B,C){FCKDomTools.CheckAndRemovePaddingNode(A.ownerDocument,FCKConfig.EnterMode);FCKXHtmlEntities.Initialize();this._NbspEntity=(FCKConfig.ProcessHTMLEntities?'nbsp':'#160');var D=FCK.IsDirty();FCKXHtml.SpecialBlocks=[];this.XML=FCKTools.CreateXmlObject('DOMDocument');this.MainNode=this.XML.appendChild(this.XML.createElement('xhtml'));FCKXHtml.CurrentJobNum++;if (B) this._AppendNode(this.MainNode,A);else this._AppendChildNodes(this.MainNode,A,false);var E=this._GetMainXmlString();this.XML=null;if (FCKBrowserInfo.IsSafari) E=E.replace(/^<xhtml.*?>/,'<xhtml>');E=E.substr(7,E.length-15).Trim();E=E.replace(FCKRegexLib.SpaceNoClose,' />');if (FCKConfig.ForceSimpleAmpersand) E=E.replace(FCKRegexLib.ForceSimpleAmpersand,'&');if (C) E=FCKCodeFormatter.Format(E);for (var i=0;i<FCKXHtml.SpecialBlocks.length;i++){var F=new RegExp('___FCKsi___'+i);E=E.replace(F,FCKXHtml.SpecialBlocks[i]);};E=E.replace(FCKRegexLib.GeckoEntitiesMarker,'&');if (!D) FCK.ResetIsDirty();FCKDomTools.EnforcePaddingNode(FCKTools.GetElementDocument(A),FCKConfig.EnterMode);return E;};FCKXHtml._AppendAttribute=function(A,B,C){try{if (C==undefined||C==null) C='';else if (C.replace){if (FCKConfig.ForceSimpleAmpersand) C=C.replace(/&/g,'___FCKAmp___');C=C.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity);};var D=this.XML.createAttribute(B);D.value=C;A.attributes.setNamedItem(D);}catch (e){}};FCKXHtml._AppendChildNodes=function(A,B,C){var D=B.firstChild;while (D){this._AppendNode(A,D);D=D.nextSibling;};if (C&&B.tagName&&B.tagName.toLowerCase()!='pre'){FCKDomTools.TrimNode(A);if (FCKConfig.FillEmptyBlocks){var E=A.lastChild;if (E&&E.nodeType==1&&E.nodeName=='br') this._AppendEntity(A,this._NbspEntity);}};if (A.childNodes.length==0){if (C&&FCKConfig.FillEmptyBlocks){this._AppendEntity(A,this._NbspEntity);return A;};var F=A.nodeName;if (FCKListsLib.InlineChildReqElements[F]) return null;if (!FCKListsLib.EmptyElements[F]) A.appendChild(this.XML.createTextNode(''));};return A;};FCKXHtml._AppendNode=function(A,B){if (!B) return false;switch (B.nodeType){case 1:if (FCKBrowserInfo.IsGecko&&B.tagName.toLowerCase()=='br'&&B.parentNode.tagName.toLowerCase()=='pre'){var C='\r';if (B==B.parentNode.firstChild) C+='\r';return FCKXHtml._AppendNode(A,this.XML.createTextNode(C));};if (B.getAttribute('_fckfakelement')) return FCKXHtml._AppendNode(A,FCK.GetRealElement(B));if (FCKBrowserInfo.IsGecko&&B.nextSibling&&(B.hasAttribute('_moz_editor_bogus_node')||B.getAttribute('type')=='_moz')) return false;if (B.getAttribute('_fcktemp')) return false;var D=B.tagName.toLowerCase();if (FCKBrowserInfo.IsIE){if (B.scopeName&&B.scopeName!='HTML'&&B.scopeName!='FCK') D=B.scopeName.toLowerCase()+':'+D;}else{if (D.StartsWith('fck:')) D=D.Remove(0,4);};if (!FCKRegexLib.ElementName.test(D)) return false;if (B._fckxhtmljob&&B._fckxhtmljob==FCKXHtml.CurrentJobNum) return false;var E=this.XML.createElement(D);FCKXHtml._AppendAttributes(A,B,E,D);B._fckxhtmljob=FCKXHtml.CurrentJobNum;var F=FCKXHtml.TagProcessors[D];if (F) E=F(E,B,A);else E=this._AppendChildNodes(E,B,Boolean(FCKListsLib.NonEmptyBlockElements[D]));if (!E) return false;A.appendChild(E);break;case 3:if (B.parentNode&&B.parentNode.nodeName.IEquals('pre')) return this._AppendTextNode(A,B.nodeValue);return this._AppendTextNode(A,B.nodeValue.ReplaceNewLineChars(' '));case 8:if (FCKBrowserInfo.IsIE&&!B.innerHTML) break;try { A.appendChild(this.XML.createComment(B.nodeValue));}catch (e) {/*Do nothing... probably this is a wrong format comment.*/};break;default:A.appendChild(this.XML.createComment("Element not supported - Type: "+B.nodeType+" Name: "+B.nodeName));break;};return true;};FCKXHtml._AppendSpecialItem=function(A){return '___FCKsi___'+FCKXHtml.SpecialBlocks.AddItem(A);};FCKXHtml._AppendEntity=function(A,B){A.appendChild(this.XML.createTextNode('#?-:'+B+';'));};FCKXHtml._AppendTextNode=function(A,B){var C=B.length>0;if (C) A.appendChild(this.XML.createTextNode(B.replace(FCKXHtmlEntities.EntitiesRegex,FCKXHtml_GetEntity)));return C;};function FCKXHtml_GetEntity(A){var B=FCKXHtmlEntities.Entities[A]||('#'+A.charCodeAt(0));return '#?-:'+B+';';};FCKXHtml.TagProcessors={a:function(A,B){if (B.innerHTML.Trim().length==0&&!B.name) return false;var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);};A=FCKXHtml._AppendChildNodes(A,B,false);return A;},area:function(A,B){var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'href',C);if (FCKBrowserInfo.IsIE){if (!A.attributes.getNamedItem('coords')){var D=B.getAttribute('coords',2);if (D&&D!='0,0,0') FCKXHtml._AppendAttribute(A,'coords',D);};if (!A.attributes.getNamedItem('shape')){var E=B.getAttribute('shape',2);if (E&&E.length>0) FCKXHtml._AppendAttribute(A,'shape',E.toLowerCase());}};return A;},body:function(A,B){A=FCKXHtml._AppendChildNodes(A,B,false);A.removeAttribute('spellcheck');return A;},iframe:function(A,B){var C=B.innerHTML;if (FCKBrowserInfo.IsGecko) C=FCKTools.HTMLDecode(C);C=C.replace(/\s_fcksavedurl="[^"]*"/g,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},img:function(A,B){if (!A.attributes.getNamedItem('alt')) FCKXHtml._AppendAttribute(A,'alt','');var C=B.getAttribute('_fcksavedurl');if (C!=null) FCKXHtml._AppendAttribute(A,'src',C);return A;},ol:function(A,B,C){if (B.innerHTML.Trim().length==0) return false;var D=C.lastChild;if (D&&D.nodeType==3) D=D.previousSibling;if (D&&D.nodeName.toUpperCase()=='LI'){B._fckxhtmljob=null;FCKXHtml._AppendNode(D,B);return false;};A=FCKXHtml._AppendChildNodes(A,B);return A;},pre:function (A,B){var C=B.firstChild;if (C&&C.nodeType==3) A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem('\r\n')));FCKXHtml._AppendChildNodes(A,B,true);return A;},script:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/javascript');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(B.text)));return A;},span:function(A,B){if (B.innerHTML.length==0) return false;A=FCKXHtml._AppendChildNodes(A,B,false);return A;},style:function(A,B){if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text/css');var C=B.innerHTML;if (FCKBrowserInfo.IsIE) C=C.replace(/^(\r\n|\n|\r)/,'');A.appendChild(FCKXHtml.XML.createTextNode(FCKXHtml._AppendSpecialItem(C)));return A;},title:function(A,B){A.appendChild(FCKXHtml.XML.createTextNode(FCK.EditorDocument.title));return A;}};FCKXHtml.TagProcessors.ul=FCKXHtml.TagProcessors.ol; -FCKXHtml._GetMainXmlString=function(){return this.MainNode.xml;};FCKXHtml._AppendAttributes=function(A,B,C,D){var E=B.attributes;for (var n=0;n<E.length;n++){var F=E[n];if (F.specified){var G=F.nodeName.toLowerCase();var H;if (G.StartsWith('_fck')) continue;else if (G=='style'){var I=FCKTools.ProtectFormStyles(B);H=B.style.cssText.replace(FCKRegexLib.StyleProperties,FCKTools.ToLowerCase);FCKTools.RestoreFormStyles(B,I);}else if (G=='class'){H=F.nodeValue.replace(FCKRegexLib.FCK_Class,'');if (H.length==0) continue;}else if (G.indexOf('on')==0) H=F.nodeValue;else if (D=='body'&&G=='contenteditable') continue;else if (F.nodeValue===true) H=G;else{try{H=B.getAttribute(G,2);}catch (e) {}};this._AppendAttribute(C,G,H||F.nodeValue);}}};FCKXHtml.TagProcessors['div']=function(A,B){if (B.align.length>0) FCKXHtml._AppendAttribute(A,'align',B.align);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors['font']=function(A,B){if (A.attributes.length==0) A=FCKXHtml.XML.createDocumentFragment();A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['form']=function(A,B){if (B.acceptCharset&&B.acceptCharset.length>0&&B.acceptCharset!='UNKNOWN') FCKXHtml._AppendAttribute(A,'accept-charset',B.acceptCharset);var C=B.attributes['name'];if (C&&C.value.length>0) FCKXHtml._AppendAttribute(A,'name',C.value);A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors['input']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);if (B.value&&!A.attributes.getNamedItem('value')) FCKXHtml._AppendAttribute(A,'value',B.value);if (!A.attributes.getNamedItem('type')) FCKXHtml._AppendAttribute(A,'type','text');return A;};FCKXHtml.TagProcessors['label']=function(A,B){if (B.htmlFor.length>0) FCKXHtml._AppendAttribute(A,'for',B.htmlFor);A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['map']=function(A,B){if (!A.attributes.getNamedItem('name')){var C=B.name;if (C) FCKXHtml._AppendAttribute(A,'name',C);};A=FCKXHtml._AppendChildNodes(A,B,true);return A;};FCKXHtml.TagProcessors['meta']=function(A,B){var C=A.attributes.getNamedItem('http-equiv');if (C==null||C.value.length==0){var D=B.outerHTML.match(FCKRegexLib.MetaHttpEquiv);if (D){D=D[1];FCKXHtml._AppendAttribute(A,'http-equiv',D);}};return A;};FCKXHtml.TagProcessors['option']=function(A,B){if (B.selected&&!A.attributes.getNamedItem('selected')) FCKXHtml._AppendAttribute(A,'selected','selected');A=FCKXHtml._AppendChildNodes(A,B);return A;};FCKXHtml.TagProcessors['textarea']=FCKXHtml.TagProcessors['select']=function(A,B){if (B.name) FCKXHtml._AppendAttribute(A,'name',B.name);A=FCKXHtml._AppendChildNodes(A,B);return A;} -var FCKCodeFormatter={};FCKCodeFormatter.Init=function(){var A=this.Regex={};A.BlocksOpener=/\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi;A.BlocksCloser=/\<\/(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|TITLE|META|LINK|BASE|SCRIPT|LINK|TD|TH|AREA|OPTION)[^\>]*\>/gi;A.NewLineTags=/\<(BR|HR)[^\>]*\>/gi;A.MainTags=/\<\/?(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR)[^\>]*\>/gi;A.LineSplitter=/\s*\n+\s*/g;A.IncreaseIndent=/^\<(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \/\>]/i;A.DecreaseIndent=/^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL)[ \>]/i;A.FormatIndentatorRemove=new RegExp('^'+FCKConfig.FormatIndentator);A.ProtectedTags=/(<PRE[^>]*>)([\s\S]*?)(<\/PRE>)/gi;};FCKCodeFormatter._ProtectData=function(A,B,C,D){return B+'___FCKpd___'+FCKCodeFormatter.ProtectedData.AddItem(C)+D;};FCKCodeFormatter.Format=function(A){if (!this.Regex) this.Init();FCKCodeFormatter.ProtectedData=[];var B=A.replace(this.Regex.ProtectedTags,FCKCodeFormatter._ProtectData);B=B.replace(this.Regex.BlocksOpener,'\n$&');B=B.replace(this.Regex.BlocksCloser,'$&\n');B=B.replace(this.Regex.NewLineTags,'$&\n');B=B.replace(this.Regex.MainTags,'\n$&\n');var C='';var D=B.split(this.Regex.LineSplitter);B='';for (var i=0;i<D.length;i++){var E=D[i];if (E.length==0) continue;if (this.Regex.DecreaseIndent.test(E)) C=C.replace(this.Regex.FormatIndentatorRemove,'');B+=C+E+'\n';if (this.Regex.IncreaseIndent.test(E)) C+=FCKConfig.FormatIndentator;};for (var j=0;j<FCKCodeFormatter.ProtectedData.length;j++){var F=new RegExp('___FCKpd___'+j);B=B.replace(F,FCKCodeFormatter.ProtectedData[j].replace(/\$/g,'$$$$'));};return B.Trim();} -var FCKUndo={};FCKUndo.SavedData=[];FCKUndo.CurrentIndex=-1;FCKUndo.TypesCount=0;FCKUndo.Changed=false;FCKUndo.MaxTypes=25;FCKUndo.Typing=false;FCKUndo.SaveLocked=false;FCKUndo._GetBookmark=function(){var A=new FCKDomRange(FCK.EditorWindow);try{A.MoveToSelection();}catch (e){return null;};if (FCKBrowserInfo.IsIE){var B=A.CreateBookmark();var C=FCK.EditorDocument.body.innerHTML;A.MoveToBookmark(B);return [B,C];};return A.CreateBookmark2();};FCKUndo._SelectBookmark=function(A){if (!A) return;var B=new FCKDomRange(FCK.EditorWindow);if (A instanceof Object){if (FCKBrowserInfo.IsIE) B.MoveToBookmark(A[0]);else B.MoveToBookmark2(A);try{B.Select();}catch (e){B.MoveToPosition(FCK.EditorDocument.body,4);B.Select();}}};FCKUndo._CompareCursors=function(A,B){for (var i=0;i<Math.min(A.length,B.length);i++){if (A[i]<B[i]) return-1;else if (A[i]>B[i]) return 1;};if (A.length<B.length) return-1;else if (A.length>B.length) return 1;return 0;};FCKUndo._CheckIsBookmarksEqual=function(A,B){if (!(A&&B)) return false;if (FCKBrowserInfo.IsIE){var C=A[1].search(A[0].StartId);var D=B[1].search(B[0].StartId);var E=A[1].search(A[0].EndId);var F=B[1].search(B[0].EndId);return C==D&&E==F;}else{return this._CompareCursors(A.Start,B.Start)==0&&this._CompareCursors(A.End,B.End)==0;}};FCKUndo.SaveUndoStep=function(){if (FCK.EditMode!=0||this.SaveLocked) return;if (this.SavedData.length) this.Changed=true;var A=FCK.EditorDocument.body.innerHTML;var B=this._GetBookmark();this.SavedData=this.SavedData.slice(0,this.CurrentIndex+1);if (this.CurrentIndex>0&&A==this.SavedData[this.CurrentIndex][0]&&this._CheckIsBookmarksEqual(B,this.SavedData[this.CurrentIndex][1])) return;else if (this.CurrentIndex==0&&this.SavedData.length&&A==this.SavedData[0][0]){this.SavedData[0][1]=B;return;};if (this.CurrentIndex+1>=FCKConfig.MaxUndoLevels) this.SavedData.shift();else this.CurrentIndex++;this.SavedData[this.CurrentIndex]=[A,B];FCK.Events.FireEvent("OnSelectionChange");};FCKUndo.CheckUndoState=function(){return (this.Changed||this.CurrentIndex>0);};FCKUndo.CheckRedoState=function(){return (this.CurrentIndex<(this.SavedData.length-1));};FCKUndo.Undo=function(){if (this.CheckUndoState()){if (this.CurrentIndex==(this.SavedData.length-1)){this.SaveUndoStep();};this._ApplyUndoLevel(--this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo.Redo=function(){if (this.CheckRedoState()){this._ApplyUndoLevel(++this.CurrentIndex);FCK.Events.FireEvent("OnSelectionChange");}};FCKUndo._ApplyUndoLevel=function(A){var B=this.SavedData[A];if (!B) return;if (FCKBrowserInfo.IsIE){if (B[1]&&B[1][1]) FCK.SetInnerHtml(B[1][1]);else FCK.SetInnerHtml(B[0]);}else FCK.EditorDocument.body.innerHTML=B[0];this._SelectBookmark(B[1]);this.TypesCount=0;this.Changed=false;this.Typing=false;}; -var FCKEditingArea=function(A){this.TargetElement=A;this.Mode=0;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKEditingArea_Cleanup);};FCKEditingArea.prototype.Start=function(A,B){var C=this.TargetElement;var D=FCKTools.GetElementDocument(C);var E;while((E=C.firstChild)){if (E.contentWindow) E.contentWindow.document.body.innerHTML='';C.removeChild(E);};if (this.Mode==0){var F=this.IFrame=D.createElement('iframe');if (!FCKBrowserInfo.IsGecko) F.src='javascript:void(0)';F.frameBorder=0;F.width=F.height='100%';C.appendChild(F);if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\s*\/?>(?!\s*<\/base>)/gi,'$1></base>');else if (!B){var G=A.match(FCKRegexLib.BeforeBody);var H=A.match(FCKRegexLib.AfterBody);if (G&&H){var I=A.substr(G[1].length,A.length-G[1].length-H[1].length);A=G[1]+'&nbsp;'+H[1];if (FCKBrowserInfo.IsGecko&&(I.length==0||FCKRegexLib.EmptyParagraph.test(I))) I='<br type="_moz">';this._BodyHTML=I;}else this._BodyHTML=A;};this.Window=F.contentWindow;var J=this.Document=this.Window.document;J.open();J.write(A);J.close();if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}else{var K=this.Textarea=D.createElement('textarea');K.className='SourceField';K.dir='ltr';FCKDomTools.SetElementStyles(K,{width:'100%',height:'100%',border:'none',resize:'none',outline:'none'});C.appendChild(K);K.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.MakeEditable();FCKTools.RunFunction(A.OnLoad);};FCKEditingArea.prototype.MakeEditable=function(){var A=this.Document;if (FCKBrowserInfo.IsIE){A.body.disabled=true;A.body.contentEditable=true;A.body.removeAttribute("disabled");}else{try{A.body.spellcheck=(this.FFSpellChecker!==false);if (this._BodyHTML){A.body.innerHTML=this._BodyHTML;this._BodyHTML=null;};A.designMode='on';try{A.execCommand('styleWithCSS',false,FCKConfig.GeckoUseSPAN);}catch (e){A.execCommand('useCSS',false,!FCKConfig.GeckoUseSPAN);};A.execCommand('enableObjectResizing',false,!FCKConfig.DisableObjectResizing);A.execCommand('enableInlineTableEditing',false,!FCKConfig.DisableFFTableHandles);}catch (e){FCKTools.AddEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);}}};function FCKEditingArea_Document_AttributeNodeModified(A){var B=A.currentTarget.contentWindow._FCKEditingArea;if (B._timer) window.clearTimeout(B._timer);B._timer=FCKTools.SetTimeout(FCKEditingArea_MakeEditableByMutation,1000,B);};function FCKEditingArea_MakeEditableByMutation(){delete this._timer;FCKTools.RemoveEventListener(this.Window.frameElement,'DOMAttrModified',FCKEditingArea_Document_AttributeNodeModified);this.MakeEditable();};FCKEditingArea.prototype.Focus=function(){try{if (this.Mode==0){if (FCKBrowserInfo.IsIE&&this.Document.hasFocus()) this._EnsureFocusIE();this.Window.focus();if (FCKBrowserInfo.IsIE) this._EnsureFocusIE();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._EnsureFocusIE=function(){this.Document.body.setActive();var A=this.Document.selection.createRange();var B=A.parentElement();var C=B.nodeName.toLowerCase();if (B.childNodes.length>0||!(FCKListsLib.BlockElements[C]||FCKListsLib.NonEmptyBlockElements[C])){return;};A.moveEnd("character",1);A.select();if (A.boundingWidth>0){A.moveEnd("character",-1);A.select();}};function FCKEditingArea_Cleanup(){if (this.Document) this.Document.body.innerHTML="";this.TargetElement=null;this.IFrame=null;this.Document=null;this.Textarea=null;if (this.Window){this.Window._FCKEditingArea=null;this.Window=null;}}; -var FCKKeystrokeHandler=function(A){this.Keystrokes={};this.CancelCtrlDefaults=(A!==false);};FCKKeystrokeHandler.prototype.AttachToElement=function(A){FCKTools.AddEventListenerEx(A,'keydown',_FCKKeystrokeHandler_OnKeyDown,this);if (FCKBrowserInfo.IsGecko10||FCKBrowserInfo.IsOpera||(FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac)) FCKTools.AddEventListenerEx(A,'keypress',_FCKKeystrokeHandler_OnKeyPress,this);};FCKKeystrokeHandler.prototype.SetKeystrokes=function(){for (var i=0;i<arguments.length;i++){var A=arguments[i];if (!A) continue;if (typeof(A[0])=='object') this.SetKeystrokes.apply(this,A);else{if (A.length==1) delete this.Keystrokes[A[0]];else this.Keystrokes[A[0]]=A[1]===true?true:A;}}};function _FCKKeystrokeHandler_OnKeyDown(A,B){var C=A.keyCode||A.which;var D=0;if (A.ctrlKey||A.metaKey) D+=CTRL;if (A.shiftKey) D+=SHIFT;if (A.altKey) D+=ALT;var E=C+D;var F=B._CancelIt=false;var G=B.Keystrokes[E];if (G){if (G===true||!(B.OnKeystroke&&B.OnKeystroke.apply(B,G))) return true;F=true;};if (F||(B.CancelCtrlDefaults&&D==CTRL&&(C<33||C>40))){B._CancelIt=true;if (A.preventDefault) return A.preventDefault();A.returnValue=false;A.cancelBubble=true;return false;};return true;};function _FCKKeystrokeHandler_OnKeyPress(A,B){if (B._CancelIt){if (A.preventDefault) return A.preventDefault();return false;};return true;}; -FCK.DTD=(function(){X=FCKTools.Merge;var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I;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};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};return {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:J,ins:P,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:J,textarea:N,noframes:P,big:J,small:J,span:J,hr:{},dt:L,sub:J,optgroup:{option:1},param:{},bdo:L,'var':J,div:P,object:O,sup:J,dd:P,strike:J,area:{},dir:Q,map:X({area:1,form:1,p:1},A,F,E),applet:O,dl:{dt:1,dd:1},del:P,isindex:{},fieldset:X({legend:1},K),thead:M,ul:Q,acronym:L,b:J,a:J,blockquote:P,caption:L,i:J,u:J,tbody:M,s:L,address:X(D,I),tt:J,legend:L,q:L,pre:X(G,C),p:L,em:J,dfn:L};})(); -var FCKStyle=function(A){this.Element=(A.Element||'span').toLowerCase();this._StyleDesc=A;};FCKStyle.prototype={GetType:function(){var A=this.GetType_$;if (A!=undefined) return A;var B=this.Element;if (B=='#'||FCKListsLib.StyleBlockElements[B]) A=0;else if (FCKListsLib.StyleObjectElements[B]) A=2;else A=1;return (this.GetType_$=A);},ApplyToSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.ApplyToRange(B,true);},ApplyToRange:function(A,B){switch (this.GetType()){case 0:this.ApplyToRange=this._ApplyBlockStyle;break;case 1:this.ApplyToRange=this._ApplyInlineStyle;break;default:return;};this.ApplyToRange(A,B);},ApplyToObject:function(A){if (!A) return;this.BuildElement(null,A);},RemoveFromSelection:function(A){var B=new FCKDomRange(A);B.MoveToSelection();this.RemoveFromRange(B,true);},RemoveFromRange:function(A,B){var C;var D=this._GetAttribsForComparison();var E=this._GetOverridesForComparison();if (A.CheckIsCollapsed()){var C=A.CreateBookmark(true);var G=A.GetBookmarkNode(C,true);var H=new FCKElementPath(G.parentNode);var I=[];var J=!FCKDomTools.GetNextSibling(G);var K=J||!FCKDomTools.GetPreviousSibling(G);var L;var M=-1;for (var i=0;i<H.Elements.length;i++){var N=H.Elements[i];if (this.CheckElementRemovable(N)){if (K&&!FCKDomTools.CheckIsEmptyElement(N,function(el){return (el!=G);})){L=N;M=I.length-1;}else{var O=N.nodeName.toLowerCase();if (O==this.Element){for (var P in D){if (FCKDomTools.HasAttribute(N,P)){switch (P){case 'style':this._RemoveStylesFromElement(N);break;case 'class':if (FCKDomTools.GetAttributeValue(N,P)!=this.GetFinalAttributeValue(P)) continue;default:FCKDomTools.RemoveAttribute(N,P);}}}};this._RemoveOverrides(N,E[O]);this._RemoveNoAttribElement(N);}}else if (K) I.push(N);K=K&&((J&&!FCKDomTools.GetNextSibling(N))||(!J&&!FCKDomTools.GetPreviousSibling(N)));if (L&&(!K||(i==H.Elements.length-1))){var Q=FCKDomTools.RemoveNode(G);for (var j=0;j<=M;j++){var R=FCKDomTools.CloneElement(I[j]);R.appendChild(Q);Q=R;};if (J) FCKDomTools.InsertAfterNode(L,Q);else L.parentNode.insertBefore(Q,L);K=false;L=null;}};if (B) A.SelectBookmark(C);return;};A.Expand('inline_elements');var C=A.CreateBookmark(true);var T=A.GetBookmarkNode(C,true);var U=A.GetBookmarkNode(C,false);A.Release(true);var H=new FCKElementPath(T);var X=H.Elements;var N;for (var i=1;i<X.length;i++){N=X[i];if (N==H.Block||N==H.BlockLimit) break;if (this.CheckElementRemovable(N)) FCKDomTools.BreakParent(T,N,A);};H=new FCKElementPath(U);X=H.Elements;for (var i=1;i<X.length;i++){N=X[i];if (N==H.Block||N==H.BlockLimit) break;b=N.nodeName.toLowerCase();if (this.CheckElementRemovable(N)) FCKDomTools.BreakParent(U,N,A);};var Z=FCKDomTools.GetNextSourceNode(T,true);while (Z){var a=FCKDomTools.GetNextSourceNode(Z);if (Z.nodeType==1){var b=Z.nodeName.toLowerCase();var c=(b==this.Element);if (c){for (var P in D){if (FCKDomTools.HasAttribute(Z,P)){switch (P){case 'style':this._RemoveStylesFromElement(Z);break;case 'class':if (FCKDomTools.GetAttributeValue(Z,P)!=this.GetFinalAttributeValue(P)) continue;default:FCKDomTools.RemoveAttribute(Z,P);}}}}else c=!!E[b];if (c){this._RemoveOverrides(Z,E[b]);this._RemoveNoAttribElement(Z);}};if (a==U) break;Z=a;};this._FixBookmarkStart(T);if (B) A.SelectBookmark(C);},CheckElementRemovable:function(A,B){if (!A) return false;var C=A.nodeName.toLowerCase();if (C==this.Element){if (!B&&!FCKDomTools.HasAttributes(A)) return true;var D=this._GetAttribsForComparison();var E=(D._length==0);for (var F in D){if (F=='_length') continue;if (this._CompareAttributeValues(F,FCKDomTools.GetAttributeValue(A,F),(this.GetFinalAttributeValue(F)||''))){E=true;if (!B) break;}else{E=false;if (B) return false;}};if (E) return true;};var G=this._GetOverridesForComparison()[C];if (G){if (!(D=G.Attributes)) return true;for (var i=0;i<D.length;i++){var H=D[i][0];if (FCKDomTools.HasAttribute(A,H)){var I=D[i][1];if (I==null||(typeof I=='string'&&FCKDomTools.GetAttributeValue(A,H)==I)||I.test(FCKDomTools.GetAttributeValue(A,H))) return true;}}};return false;},CheckActive:function(A){switch (this.GetType()){case 0:return this.CheckElementRemovable(A.Block||A.BlockLimit);case 1:var B=A.Elements;for (var i=0;i<B.length;i++){var C=B[i];if (C==A.Block||C==A.BlockLimit) continue;if (this.CheckElementRemovable(C,true)) return true;}};return false;},RemoveFromElement:function(A){var B=this._GetAttribsForComparison();var C=this._GetOverridesForComparison();var D=A.getElementsByTagName(this.Element);for (var i=D.length-1;i>=0;i--){var E=D[i];for (var F in B){if (FCKDomTools.HasAttribute(E,F)){switch (F){case 'style':this._RemoveStylesFromElement(E);break;case 'class':if (FCKDomTools.GetAttributeValue(E,F)!=this.GetFinalAttributeValue(F)) continue;default:FCKDomTools.RemoveAttribute(E,F);}}};this._RemoveOverrides(E,C[this.Element]);this._RemoveNoAttribElement(E);};for (var G in C){if (G!=this.Element){D=A.getElementsByTagName(G);for (var i=D.length-1;i>=0;i--){var E=D[i];this._RemoveOverrides(E,C[G]);this._RemoveNoAttribElement(E);}}}},_RemoveStylesFromElement:function(A){var B=A.style.cssText;var C=this.GetFinalStyleValue();if (B.length>0&&C.length==0) return;C='(^|;)\\s*('+C.replace(/\s*([^ ]+):.*?(;|$)/g,'$1|').replace(/\|$/,'')+'):[^;]+';var D=new RegExp(C,'gi');B=B.replace(D,'').Trim();if (B.length==0||B==';') FCKDomTools.RemoveAttribute(A,'style');else A.style.cssText=B.replace(D,'');},_RemoveOverrides:function(A,B){var C=B&&B.Attributes;if (C){for (var i=0;i<C.length;i++){var D=C[i][0];if (FCKDomTools.HasAttribute(A,D)){var E=C[i][1];if (E==null||(E.test&&E.test(FCKDomTools.GetAttributeValue(A,D)))||(typeof E=='string'&&FCKDomTools.GetAttributeValue(A,D)==E)) FCKDomTools.RemoveAttribute(A,D);}}}},_RemoveNoAttribElement:function(A){if (!FCKDomTools.HasAttributes(A)){var B=A.firstChild;var C=A.lastChild;FCKDomTools.RemoveNode(A,true);this._MergeSiblings(B);if (B!=C) this._MergeSiblings(C);}},BuildElement:function(A,B){var C=B||A.createElement(this.Element);var D=this._StyleDesc.Attributes;var E;if (D){for (var F in D){E=this.GetFinalAttributeValue(F);if (F.toLowerCase()=='class') C.className=E;else C.setAttribute(F,E);}};if (this._GetStyleText().length>0) C.style.cssText=this.GetFinalStyleValue();return C;},_CompareAttributeValues:function(A,B,C){if (A=='style'&&B&&C){B=B.replace(/;$/,'').toLowerCase();C=C.replace(/;$/,'').toLowerCase();};return (B==C)},GetFinalAttributeValue:function(A){var B=this._StyleDesc.Attributes;var B=B?B[A]:null;if (!B&&A=='style') return this.GetFinalStyleValue();if (B&&this._Variables) B=B.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);return B;},GetFinalStyleValue:function(){var A=this._GetStyleText();if (A.length>0&&this._Variables){A=A.Replace(FCKRegexLib.StyleVariableAttName,this._GetVariableReplace,this);A=FCKTools.NormalizeCssText(A);};return A;},_GetVariableReplace:function(){return this._Variables[arguments[2]]||arguments[0];},SetVariable:function(A,B){var C=this._Variables;if (!C) C=this._Variables={};this._Variables[A]=B;},_ApplyBlockStyle:function(A,B){var C;if (B) C=A.CreateBookmark(true);var D=new FCKDomRangeIterator(A);D.EnforceRealBlocks=true;var E;while((E=D.GetNextParagraph())){var F=E.parentNode.insertBefore(this.BuildElement(A.Window.document),E);FCKDomTools.MoveChildren(E,F);FCKDomTools.RemoveNode(E);};if (B) A.SelectBookmark(C);},_ApplyInlineStyle:function(A,B){var C=A.Window.document;if (A.CheckIsCollapsed()){var D=this.BuildElement(C);A.InsertNode(D);A.MoveToPosition(D,2);A.Select();return;};var E=this.Element;var F=FCK.DTD[E]||FCK.DTD.span;var G=this._GetAttribsForComparison();var H;A.Expand('inline_elements');var I=A.CreateBookmark(true);var J=A.GetBookmarkNode(I,true);var K=A.GetBookmarkNode(I,false);A.Release(true);var L=FCKDomTools.GetNextSourceNode(J,true);while (L){var M=false;var N=L.nodeType;var O=N==1?L.nodeName.toLowerCase():null;if (!O||F[O]){if ((FCK.DTD[L.parentNode.nodeName.toLowerCase()]||FCK.DTD.span)[E]||!FCK.DTD[E]){if (!A.CheckHasRange()) A.SetStart(L,3);if (N!=1||L.childNodes.length==0){var P=L;var Q=P.parentNode;while (P==Q.lastChild&&F[Q.nodeName.toLowerCase()]){P=Q;};A.SetEnd(P,4);if (P==P.parentNode.lastChild&&!F[P.parentNode.nodeName.toLowerCase()]) M=true;}else{A.SetEnd(L,3);}}else M=true;}else M=true;L=FCKDomTools.GetNextSourceNode(L);if (L==K){L=null;M=true;};if (M&&A.CheckHasRange()&&!A.CheckIsCollapsed()){H=this.BuildElement(C);A.ExtractContents().AppendTo(H);if (H.innerHTML.RTrim().length>0){A.InsertNode(H);this.RemoveFromElement(H);this._MergeSiblings(H,this._GetAttribsForComparison());if (!FCKBrowserInfo.IsIE) H.normalize();};A.Release(true);}};this._FixBookmarkStart(J);if (B) A.SelectBookmark(I);},_FixBookmarkStart:function(A){var B;while ((B=A.nextSibling)){if (B.nodeType==1&&FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){if (!B.firstChild) FCKDomTools.RemoveNode(B);else FCKDomTools.MoveNode(A,B,true);continue;};if (B.nodeType==3&&B.length==0){FCKDomTools.RemoveNode(B);continue;};break;}},_MergeSiblings:function(A,B){if (!A||A.nodeType!=1||!FCKListsLib.InlineNonEmptyElements[A.nodeName.toLowerCase()]) return;this._MergeNextSibling(A,B);this._MergePreviousSibling(A,B);},_MergeNextSibling:function(A,B){var C=A.nextSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.nextSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.lastChild;if (D) FCKDomTools.MoveNode(A.nextSibling,A);FCKDomTools.MoveChildren(C,A);FCKDomTools.RemoveNode(C);if (E) this._MergeNextSibling(E);}}},_MergePreviousSibling:function(A,B){var C=A.previousSibling;var D=(C&&C.nodeType==1&&C.getAttribute('_fck_bookmark'));if (D) C=C.previousSibling;if (C&&C.nodeType==1&&C.nodeName==A.nodeName){if (!B) B=this._CreateElementAttribsForComparison(A);if (this._CheckAttributesMatch(C,B)){var E=A.firstChild;if (D) FCKDomTools.MoveNode(A.previousSibling,A,true);FCKDomTools.MoveChildren(C,A,true);FCKDomTools.RemoveNode(C);if (E) this._MergePreviousSibling(E);}}},_GetStyleText:function(){var A=this._StyleDesc.Styles;var B=(this._StyleDesc.Attributes?this._StyleDesc.Attributes['style']||'':'');if (B.length>0) B+=';';for (var C in A) B+=C+':'+A[C]+';';if (B.length>0&&!(/#\(/.test(B))){B=FCKTools.NormalizeCssText(B);};return (this._GetStyleText=function() { return B;})();},_GetAttribsForComparison:function(){var A=this._GetAttribsForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Attributes;if (B){for (var C in B){A[C.toLowerCase()]=B[C].toLowerCase();}};if (this._GetStyleText().length>0){A['style']=this._GetStyleText().toLowerCase();};FCKTools.AppendLengthProperty(A,'_length');return (this._GetAttribsForComparison_$=A);},_GetOverridesForComparison:function(){var A=this._GetOverridesForComparison_$;if (A) return A;A={};var B=this._StyleDesc.Overrides;if (B){if (!FCKTools.IsArray(B)) B=[B];for (var i=0;i<B.length;i++){var C=B[i];var D;var E;var F;if (typeof C=='string') D=C.toLowerCase();else{D=C.Element?C.Element.toLowerCase():this.Element;F=C.Attributes;};E=A[D]||(A[D]={});if (F){var G=(E.Attributes=E.Attributes||[]);for (var H in F){G.push([H.toLowerCase(),F[H]]);}}}};return (this._GetOverridesForComparison_$=A);},_CreateElementAttribsForComparison:function(A){var B={};var C=0;for (var i=0;i<A.attributes.length;i++){var D=A.attributes[i];if (D.specified){B[D.nodeName.toLowerCase()]=FCKDomTools.GetAttributeValue(A,D).toLowerCase();C++;}};B._length=C;return B;},_CheckAttributesMatch:function(A,B){var C=A.attributes;var D=0;for (var i=0;i<C.length;i++){var E=C[i];if (E.specified){var F=E.nodeName.toLowerCase();var G=B[F];if (!G) break;if (G!=FCKDomTools.GetAttributeValue(A,E).toLowerCase()) break;D++;}};return (D==B._length);}}; -var FCKStyles=FCK.Styles={_Callbacks:{},_ObjectStyles:{},ApplyStyle:function(A){if (typeof A=='string') A=this.GetStyles()[A];if (A){if (A.GetType()==2) A.ApplyToObject(FCKSelection.GetSelectedElement());else A.ApplyToSelection(FCK.EditorWindow);FCK.Events.FireEvent('OnSelectionChange');}},RemoveStyle:function(A){if (typeof A=='string') A=this.GetStyles()[A];if (A){A.RemoveFromSelection(FCK.EditorWindow);FCK.Events.FireEvent('OnSelectionChange');}},AttachStyleStateChange:function(A,B,C){var D=this._Callbacks[A];if (!D) D=this._Callbacks[A]=[];D.push([B,C]);},CheckSelectionChanges:function(){var A=FCKSelection.GetBoundaryParentElement(true);if (!A) return;var B=new FCKElementPath(A);var C=this.GetStyles();for (var D in C){var E=this._Callbacks[D];if (E){var F=C[D];var G=F.CheckActive(B);if (F._LastState!=G){F._LastState=G;for (var i=0;i<E.length;i++){var H=E[i][0];var I=E[i][1];H.call(I||window,D,G);}}}}},CheckStyleInSelection:function(A){return false;},_GetRemoveFormatTagsRegex:function (){var A=new RegExp('^(?:'+FCKConfig.RemoveFormatTags.replace(/,/g,'|')+')$','i');return (this._GetRemoveFormatTagsRegex=function(){return A;})&&A;},RemoveAll:function(){var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();if (A.CheckIsCollapsed()) return;A.Expand('inline_elements');var B=A.CreateBookmark(true);var C=A.GetBookmarkNode(B,true);var D=A.GetBookmarkNode(B,false);A.Release(true);var E=this._GetRemoveFormatTagsRegex();var F=new FCKElementPath(C);var G=F.Elements;var H;for (var i=1;i<G.length;i++){H=G[i];if (H==F.Block||H==F.BlockLimit) break;if (E.test(H.nodeName)) FCKDomTools.BreakParent(C,H,A);};F=new FCKElementPath(D);G=F.Elements;for (var i=1;i<G.length;i++){H=G[i];if (H==F.Block||H==F.BlockLimit) break;elementName=H.nodeName.toLowerCase();if (E.test(H.nodeName)) FCKDomTools.BreakParent(D,H,A);};var I=FCKDomTools.GetNextSourceNode(C,true,1);while (I){if (I==D) break;var J=FCKDomTools.GetNextSourceNode(I,false,1);if (E.test(I.nodeName)) FCKDomTools.RemoveNode(I,true);I=J;};A.SelectBookmark(B);FCK.Events.FireEvent('OnSelectionChange');},GetStyle:function(A){return this.GetStyles()[A];},GetStyles:function(){var A=this._GetStyles;if (!A){A=this._GetStyles=FCKTools.Merge(this._LoadStylesCore(),this._LoadStylesCustom(),this._LoadStylesXml());};return A;},CheckHasObjectStyle:function(A){return!!this._ObjectStyles[A];},_LoadStylesCore:function(){var A={};var B=FCKConfig.CoreStyles;for (var C in B){var D=A['_FCK_'+C]=new FCKStyle(B[C]);D.IsCore=true;};return A;},_LoadStylesCustom:function(){var A={};var B=FCKConfig.CustomStyles;if (B){for (var C in B){var D=A[C]=new FCKStyle(B[C]);D.Name=C;}};return A;},_LoadStylesXml:function(){var A={};var B=FCKConfig.StylesXmlPath;if (!B||B.length==0) return A;var C=new FCKXml();C.LoadUrl(B);var D=FCKXml.TransformToObject(C.SelectSingleNode('Styles'));var E=D.$Style;if (!E) return A;for (var i=0;i<E.length;i++){var F=E[i];var G=(F.element||'').toLowerCase();if (G.length==0) throw('The element name is required. Error loading "'+B+'"');var H={Element:G,Attributes:{},Styles:{},Overrides:[]};var I=F.$Attribute||[];for (var j=0;j<I.length;j++){H.Attributes[I[j].name]=I[j].value;};var J=F.$Style||[];for (j=0;j<J.length;j++){H.Styles[J[j].name]=J[j].value;};var K=F.$Override;if (K){for (j=0;j<K.length;j++){var L=K[j];var M={Element:L.element};var N=L.$Attribute;if (N){M.Attributes={};for (var k=0;k<N.length;k++){var O=N[k].value||null;if (O){var P=O&&FCKRegexLib.RegExp.exec(O);if (P) O=new RegExp(P[1],P[2]||'');};M.Attributes[N[k].name]=O;}};H.Overrides.push(M);}};var Q=new FCKStyle(H);Q.Name=F.name||G;if (Q.GetType()==2) this._ObjectStyles[G]=true;A[Q.Name]=Q;};return A;}}; -var FCKListHandler={OutdentListItem:function(A){var B=A.parentNode;if (B.tagName.toUpperCase().Equals('UL','OL')){var C=FCKTools.GetElementDocument(A);var D=new FCKDocumentFragment(C);var E=D.RootNode;var F=false;var G=FCKDomTools.GetFirstChild(A,['UL','OL']);if (G){F=true;var H;while ((H=G.firstChild)) E.appendChild(G.removeChild(H));FCKDomTools.RemoveNode(G);};var I;var J=false;while ((I=A.nextSibling)){if (!F&&I.nodeType==1&&I.nodeName.toUpperCase()=='LI') J=F=true;E.appendChild(I.parentNode.removeChild(I));if (!J&&I.nodeType==1&&I.nodeName.toUpperCase().Equals('UL','OL')) FCKDomTools.RemoveNode(I,true);};var K=B.parentNode.tagName.toUpperCase();var L=(K=='LI');if (L||K.Equals('UL','OL')){if (F){var G=B.cloneNode(false);D.AppendTo(G);A.appendChild(G);}else if (L) D.InsertAfterNode(B.parentNode);else D.InsertAfterNode(B);if (L) FCKDomTools.InsertAfterNode(B.parentNode,B.removeChild(A));else FCKDomTools.InsertAfterNode(B,B.removeChild(A));}else{if (F){var N=B.cloneNode(false);D.AppendTo(N);FCKDomTools.InsertAfterNode(B,N);};var O=C.createElement(FCKConfig.EnterMode=='p'?'p':'div');FCKDomTools.MoveChildren(B.removeChild(A),O);FCKDomTools.InsertAfterNode(B,O);if (FCKConfig.EnterMode=='br'){if (FCKBrowserInfo.IsGecko) O.parentNode.insertBefore(FCKTools.CreateBogusBR(C),O);else FCKDomTools.InsertAfterNode(O,FCKTools.CreateBogusBR(C));FCKDomTools.RemoveNode(O,true);}};if (this.CheckEmptyList(B)) FCKDomTools.RemoveNode(B,true);}},CheckEmptyList:function(A){return (FCKDomTools.GetFirstChild(A,'LI')==null);},CheckListHasContents:function(A){var B=A.firstChild;while (B){switch (B.nodeType){case 1:if (!B.nodeName.IEquals('UL','LI')) return true;break;case 3:if (B.nodeValue.Trim().length>0) return true;};B=B.nextSibling;};return false;}}; -var FCKElementPath=function(A){var B=null;var C=null;var D=[];var e=A;while (e){if (e.nodeType==1){if (!this.LastElement) this.LastElement=e;var E=e.nodeName.toLowerCase();if (!C){if (!B&&FCKListsLib.PathBlockElements[E]!=null) B=e;if (FCKListsLib.PathBlockLimitElements[E]!=null){if (!B&&E=='div') B=e;else C=e;}};D.push(e);if (E=='body') break;};e=e.parentNode;};this.Block=B;this.BlockLimit=C;this.Elements=D;}; -var FCKDomRange=function(A){this.Window=A;this._Cache={};};FCKDomRange.prototype={_UpdateElementInfo:function(){var A=this._Range;if (!A) this.Release(true);else{var B=A.startContainer;var C=A.endContainer;var D=new FCKElementPath(B);this.StartNode=B.nodeType==3?B:B.childNodes[A.startOffset];this.StartContainer=B;this.StartBlock=D.Block;this.StartBlockLimit=D.BlockLimit;if (B!=C) D=new FCKElementPath(C);var E=C;if (A.endOffset==0){while (E&&!E.previousSibling) E=E.parentNode;if (E) E=E.previousSibling;}else if (E.nodeType==1) E=E.childNodes[A.endOffset-1];this.EndNode=E;this.EndContainer=C;this.EndBlock=D.Block;this.EndBlockLimit=D.BlockLimit;};this._Cache={};},CreateRange:function(){return new FCKW3CRange(this.Window.document);},DeleteContents:function(){if (this._Range){this._Range.deleteContents();this._UpdateElementInfo();}},ExtractContents:function(){if (this._Range){var A=this._Range.extractContents();this._UpdateElementInfo();return A;}},CheckIsCollapsed:function(){if (this._Range) return this._Range.collapsed;},Collapse:function(A){if (this._Range) this._Range.collapse(A);this._UpdateElementInfo();},Clone:function(){var A=FCKTools.CloneObject(this);if (this._Range) A._Range=this._Range.cloneRange();return A;},MoveToNodeContents:function(A){if (!this._Range) this._Range=this.CreateRange();this._Range.selectNodeContents(A);this._UpdateElementInfo();},MoveToElementStart:function(A){this.SetStart(A,1);this.SetEnd(A,1);},MoveToElementEditStart:function(A){var B;while ((B=A.firstChild)&&B.nodeType==1&&FCKListsLib.EmptyElements[B.nodeName.toLowerCase()]==null) A=B;this.MoveToElementStart(A);},InsertNode:function(A){if (this._Range) this._Range.insertNode(A);},CheckIsEmpty:function(){if (this.CheckIsCollapsed()) return true;var A=this.Window.document.createElement('div');this._Range.cloneContents().AppendTo(A);FCKDomTools.TrimNode(A);return (A.innerHTML.length==0);},CheckStartOfBlock:function(){var A=this._Cache;var B=A.IsStartOfBlock;if (B!=undefined) return B;var C=this.StartBlock||this.StartBlockLimit;var D=this._Range.startContainer;var E=this._Range.startOffset;var F;if (E>0){if (D.nodeType==3){var G=D.nodeValue.substr(0,E).Trim();if (G.length!=0) return A.IsStartOfBlock=false;}else F=D.childNodes[E-1];};if (!F) F=FCKDomTools.GetPreviousSourceNode(D,true,null,C);while (F){switch (F.nodeType){case 1:if (!FCKListsLib.InlineChildReqElements[F.nodeName.toLowerCase()]) return A.IsStartOfBlock=false;break;case 3:if (F.nodeValue.Trim().length>0) return A.IsStartOfBlock=false;};F=FCKDomTools.GetPreviousSourceNode(F,false,null,C);};return A.IsStartOfBlock=true;},CheckEndOfBlock:function(A){var B=this._Cache.IsEndOfBlock;if (B!=undefined) return B;var C=this.EndBlock||this.EndBlockLimit;var D=this._Range.endContainer;var E=this._Range.endOffset;var F;if (D.nodeType==3){var G=D.nodeValue;if (E<G.length){G=G.substr(E);if (G.Trim().length!=0) return this._Cache.IsEndOfBlock=false;}}else F=D.childNodes[E];if (!F) F=FCKDomTools.GetNextSourceNode(D,true,null,C);var H=false;while (F){switch (F.nodeType){case 1:var I=F.nodeName.toLowerCase();if (FCKListsLib.InlineChildReqElements[I]) break;if (I=='br'&&!H){H=true;break;};return this._Cache.IsEndOfBlock=false;case 3:if (F.nodeValue.Trim().length>0) return this._Cache.IsEndOfBlock=false;};F=FCKDomTools.GetNextSourceNode(F,false,null,C);};if (A) this.Select();return this._Cache.IsEndOfBlock=true;},CreateBookmark:function(A){var B={StartId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'S',EndId:(new Date()).valueOf()+Math.floor(Math.random()*1000)+'E'};var C=this.Window.document;var D;var E;var F;if (!this.CheckIsCollapsed()){E=C.createElement('span');E.style.display='none';E.id=B.EndId;E.setAttribute('_fck_bookmark',true);E.innerHTML='&nbsp;';F=this.Clone();F.Collapse(false);F.InsertNode(E);};D=C.createElement('span');D.style.display='none';D.id=B.StartId;D.setAttribute('_fck_bookmark',true);D.innerHTML='&nbsp;';F=this.Clone();F.Collapse(true);F.InsertNode(D);if (A){B.StartNode=D;B.EndNode=E;};if (E){this.SetStart(D,4);this.SetEnd(E,3);}else this.MoveToPosition(D,4);return B;},GetBookmarkNode:function(A,B){var C=this.Window.document;if (B) return A.StartNode||C.getElementById(A.StartId);else return A.EndNode||C.getElementById(A.EndId);},MoveToBookmark:function(A,B){var C=this.GetBookmarkNode(A,true);var D=this.GetBookmarkNode(A,false);this.SetStart(C,3);if (!B) FCKDomTools.RemoveNode(C);if (D){this.SetEnd(D,3);if (!B) FCKDomTools.RemoveNode(D);}else this.Collapse(true);this._UpdateElementInfo();},CreateBookmark2:function(){if (!this._Range) return { "Start":0,"End":0 };var A={"Start":[this._Range.startOffset],"End":[this._Range.endOffset]};var B=this._Range.startContainer.previousSibling;var C=this._Range.endContainer.previousSibling;var D=this._Range.startContainer;var E=this._Range.endContainer;while (B&&B.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;};while (C&&C.nodeType==3){A.End[0]+=C.length;E=C;C=C.previousSibling;};if (D.nodeType==1&&D.childNodes[A.Start[0]]&&D.childNodes[A.Start[0]].nodeType==3){var F=D.childNodes[A.Start[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};D=F;A.Start[0]=G;};if (E.nodeType==1&&E.childNodes[A.End[0]]&&E.childNodes[A.End[0]].nodeType==3){var F=E.childNodes[A.End[0]];var G=0;while (F.previousSibling&&F.previousSibling.nodeType==3){F=F.previousSibling;G+=F.length;};E=F;A.End[0]=G;};A.Start=FCKDomTools.GetNodeAddress(D,true).concat(A.Start);A.End=FCKDomTools.GetNodeAddress(E,true).concat(A.End);return A;},MoveToBookmark2:function(A){var B=FCKDomTools.GetNodeFromAddress(this.Window.document,A.Start.slice(0,-1),true);var C=FCKDomTools.GetNodeFromAddress(this.Window.document,A.End.slice(0,-1),true);this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var D=A.Start[A.Start.length-1];var E=A.End[A.End.length-1];while (B.nodeType==3&&D>B.length){if (!B.nextSibling||B.nextSibling.nodeType!=3) break;D-=B.length;B=B.nextSibling;};while (C.nodeType==3&&E>C.length){if (!C.nextSibling||C.nextSibling.nodeType!=3) break;E-=C.length;C=C.nextSibling;};this._Range.setStart(B,D);this._Range.setEnd(C,E);this._UpdateElementInfo();},MoveToPosition:function(A,B){this.SetStart(A,B);this.Collapse(true);},SetStart:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setStart(A,0);break;case 2:D.setStart(A,A.childNodes.length);break;case 3:D.setStartBefore(A);break;case 4:D.setStartAfter(A);};if (!C) this._UpdateElementInfo();},SetEnd:function(A,B,C){var D=this._Range;if (!D) D=this._Range=this.CreateRange();switch(B){case 1:D.setEnd(A,0);break;case 2:D.setEnd(A,A.childNodes.length);break;case 3:D.setEndBefore(A);break;case 4:D.setEndAfter(A);};if (!C) this._UpdateElementInfo();},Expand:function(A){var B,oSibling;switch (A){case 'inline_elements':if (this._Range.startOffset==0){B=this._Range.startContainer;if (B.nodeType!=1) B=B.previousSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setStartBefore(B);if (B!=B.parentNode.firstChild) break;B=B.parentNode;}}};B=this._Range.endContainer;var C=this._Range.endOffset;if ((B.nodeType==3&&C>=B.nodeValue.length)||(B.nodeType==1&&C>=B.childNodes.length)||(B.nodeType!=1&&B.nodeType!=3)){if (B.nodeType!=1) B=B.nextSibling?null:B.parentNode;if (B){while (FCKListsLib.InlineNonEmptyElements[B.nodeName.toLowerCase()]){this._Range.setEndAfter(B);if (B!=B.parentNode.lastChild) break;B=B.parentNode;}}};break;case 'block_contents':case 'list_contents':var D=FCKListsLib.BlockBoundaries;if (A=='list_contents'||FCKConfig.EnterMode=='br') D=FCKListsLib.ListBoundaries;if (this.StartBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents') this.SetStart(this.StartBlock,1);else{B=this._Range.startContainer;if (B.nodeType==1){var E=B.childNodes[this._Range.startOffset];if (E) B=FCKDomTools.GetPreviousSourceNode(E,true);else B=B.lastChild||B;};while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setStartBefore(B);B=B.previousSibling||B.parentNode;}};if (this.EndBlock&&FCKConfig.EnterMode!='br'&&A=='block_contents'&&this.EndBlock.nodeName.toLowerCase()!='li') this.SetEnd(this.EndBlock,2);else{B=this._Range.endContainer;if (B.nodeType==1) B=B.childNodes[this._Range.endOffset]||B.lastChild;while (B&&(B.nodeType!=1||(B!=this.StartBlockLimit&&!D[B.nodeName.toLowerCase()]))){this._Range.setEndAfter(B);B=B.nextSibling||B.parentNode;};if (B&&B.nodeName.toLowerCase()=='br') this._Range.setEndAfter(B);};this._UpdateElementInfo();}},SplitBlock:function(){if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var A=this.StartBlock;var B=this.EndBlock;var C=null;if (FCKConfig.EnterMode!='br'){if (!A){A=this.FixBlock(true);B=this.EndBlock;};if (!B) B=this.FixBlock(false);};var D=(A!=null&&this.CheckStartOfBlock());var E=(B!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (A&&B&&A==B){if (E){C=new FCKElementPath(this.StartContainer);this.MoveToPosition(B,4);B=null;}else if (D){C=new FCKElementPath(this.StartContainer);this.MoveToPosition(A,3);A=null;}else{this.SetEnd(A,2);var F=this.ExtractContents();B=A.cloneNode(false);B.removeAttribute('id',false);F.AppendTo(B);FCKDomTools.InsertAfterNode(A,B);this.MoveToPosition(A,4);if (FCKBrowserInfo.IsGecko&&!A.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(A);}};return {PreviousBlock:A,NextBlock:B,WasStartOfBlock:D,WasEndOfBlock:E,ElementPath:C};};return null;},FixBlock:function(A){var B=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var C=this.Window.document.createElement(FCKConfig.EnterMode);this.ExtractContents().AppendTo(C);FCKDomTools.TrimNode(C);this.InsertNode(C);this.MoveToBookmark(B);return C;},Release:function(A){if (!A) this.Window=null;this.StartNode=null;this.StartContainer=null;this.StartBlock=null;this.StartBlockLimit=null;this.EndNode=null;this.EndContainer=null;this.EndBlock=null;this.EndBlockLimit=null;this._Range=null;this._Cache=null;},CheckHasRange:function(){return!!this._Range;},GetTouchedStartNode:function(){var A=this._Range;var B=A.startContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.startOffset]||B;},GetTouchedEndNode:function(){var A=this._Range;var B=A.endContainer;if (A.collapsed||B.nodeType!=1) return B;return B.childNodes[A.endOffset-1]||B;}}; -FCKDomRange.prototype.MoveToSelection=function(){this.Release(true);this._Range=new FCKW3CRange(this.Window.document);var A=this.Window.document.selection;if (A.type!='Control'){var B=this._GetSelectionMarkerTag(true);var C=this._GetSelectionMarkerTag(false);if (!B&&!C){this._Range.setStart(this.Window.document.body,0);this._UpdateElementInfo();return;};this._Range.setStart(B.parentNode,FCKDomTools.GetIndexOf(B));B.parentNode.removeChild(B);this._Range.setEnd(C.parentNode,FCKDomTools.GetIndexOf(C));C.parentNode.removeChild(C);this._UpdateElementInfo();}else{var D=A.createRange().item(0);if (D){this._Range.setStartBefore(D);this._Range.setEndAfter(D);this._UpdateElementInfo();}}};FCKDomRange.prototype.Select=function(A){if (this._Range) this.SelectBookmark(this.CreateBookmark(true),A);};FCKDomRange.prototype.SelectBookmark=function(A,B){var C=this.CheckIsCollapsed();var D;var E;var F=this.GetBookmarkNode(A,true);if (!F) return;var G;if (!C) G=this.GetBookmarkNode(A,false);var H=this.Window.document.body.createTextRange();H.moveToElementText(F);H.moveStart('character',1);if (G){var I=this.Window.document.body.createTextRange();I.moveToElementText(G);H.setEndPoint('EndToEnd',I);H.moveEnd('character',-1);}else{D=(B||!F.previousSibling||F.previousSibling.nodeName.toLowerCase()=='br')&&!F.nextSibing;E=this.Window.document.createElement('span');E.innerHTML='&#65279;';F.parentNode.insertBefore(E,F);if (D){F.parentNode.insertBefore(this.Window.document.createTextNode('\ufeff'),F);}};if (!this._Range) this._Range=this.CreateRange();this._Range.setStartBefore(F);F.parentNode.removeChild(F);if (C){if (D){H.moveStart('character',-1);H.select();this.Window.document.selection.clear();}else H.select();FCKDomTools.RemoveNode(E);}else{this._Range.setEndBefore(G);G.parentNode.removeChild(G);H.select();}};FCKDomRange.prototype._GetSelectionMarkerTag=function(A){var B=this.Window.document;var C=B.selection;var D;try{D=C.createRange();}catch (e){return null;};if (D.parentElement().document!=B) return null;D.collapse(A===true);var E='fck_dom_range_temp_'+(new Date()).valueOf()+'_'+Math.floor(Math.random()*1000);D.pasteHTML('<span id="'+E+'"></span>');return B.getElementById(E);}; -var FCKDomRangeIterator=function(A){this.Range=A;this.ForceBrBreak=false;this.EnforceRealBlocks=false;};FCKDomRangeIterator.CreateFromSelection=function(A){var B=new FCKDomRange(A);B.MoveToSelection();return new FCKDomRangeIterator(B);};FCKDomRangeIterator.prototype={GetNextParagraph:function(){var A;var B;var C;var D;var E;var F=this.ForceBrBreak?FCKListsLib.ListBoundaries:FCKListsLib.BlockBoundaries;if (!this._LastNode){var B=this.Range.Clone();B.Expand(this.ForceBrBreak?'list_contents':'block_contents');this._NextNode=B.GetTouchedStartNode();this._LastNode=B.GetTouchedEndNode();B=null;};var H=this._NextNode;var I=this._LastNode;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};J=true;}else{if (H.firstChild){if (!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};H=H.firstChild;continue;};K=true;}}else if (H.nodeType==3){if (/^[\r\n\t ]+$/.test(H.nodeValue)) K=false;};if (K&&!B){B=new FCKDomRange(this.Range.Window);B.SetStart(H,3,true);};C=((!J||K)&&H==I);if (B&&!J){while (!H.nextSibling&&!C){var N=H.parentNode;if (F[N.nodeName.toLowerCase()]){J=true;C=C||(N==I);break;};H=N;C=(H==I);L=true;}};if (K) B.SetEnd(H,4,true);if ((J||C)&&B){B._UpdateElementInfo();if (B.StartNode==B.EndNode&&B.StartNode.parentNode==B.StartBlockLimit&&B.StartNode.getAttribute&&B.StartNode.getAttribute('_fck_bookmark')) B=null;else break;};if (C) break;H=FCKDomTools.GetNextSourceNode(H,L,null,I);};if (!A){if (!B){this._NextNode=null;return null;};A=B.StartBlock;if (!A&&!this.EnforceRealBlocks&&B.StartBlockLimit.nodeName.IEquals('DIV','TH','TD')&&B.CheckStartOfBlock()&&B.CheckEndOfBlock()){A=B.StartBlockLimit;}else if (!A||(this.EnforceRealBlocks&&A.nodeName.toLowerCase()=='li')){A=this.Range.Window.document.createElement(FCKConfig.EnterMode=='p'?'p':'div');B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);B.InsertNode(A);D=true;E=true;}else if (A.nodeName.toLowerCase()!='li'){if (!B.CheckStartOfBlock()||!B.CheckEndOfBlock()){A=A.cloneNode(false);B.ExtractContents().AppendTo(A);FCKDomTools.TrimNode(A);var O=B.SplitBlock();D=!O.WasStartOfBlock;E=!O.WasEndOfBlock;FCKDebug.Output('removePreviousBr='+D+',removeLastBr='+E);B.InsertNode(A);}}else if (!C){this._NextNode=A==I?null:FCKDomTools.GetNextSourceNode(B.EndNode,true,null,I);return A;}};if (D){var P=A.previousSibling;if (P&&P.nodeType==1){if (P.nodeName.toLowerCase()=='br') P.parentNode.removeChild(P);else if (P.lastChild&&P.lastChild.nodeName.IEquals('br')) P.removeChild(P.lastChild);}};if (E){var Q=A.lastChild;if (Q&&Q.nodeType==1&&Q.nodeName.toLowerCase()=='br') A.removeChild(Q);};this._NextNode=(C||A==I)?null:FCKDomTools.GetNextSourceNode(A,true,null,I);return A;}}; -var FCKDocumentFragment=function(A){this._Document=A;this.RootNode=A.createElement('div');};FCKDocumentFragment.prototype={AppendTo:function(A){FCKDomTools.MoveChildren(this.RootNode,A);},AppendHtml:function(A){var B=this._Document.createElement('div');B.innerHTML=A;FCKDomTools.MoveChildren(B,this.RootNode);},InsertAfterNode:function(A){var B=this.RootNode;var C;while((C=B.lastChild)) FCKDomTools.InsertAfterNode(A,B.removeChild(C));}}; -var FCKW3CRange=function(A){this._Document=A;this.startContainer=null;this.startOffset=null;this.endContainer=null;this.endOffset=null;this.collapsed=true;};FCKW3CRange.CreateRange=function(A){return new FCKW3CRange(A);};FCKW3CRange.CreateFromRange=function(A,B){var C=FCKW3CRange.CreateRange(A);C.setStart(B.startContainer,B.startOffset);C.setEnd(B.endContainer,B.endOffset);return C;};FCKW3CRange.prototype={_UpdateCollapsed:function(){this.collapsed=(this.startContainer==this.endContainer&&this.startOffset==this.endOffset);},setStart:function(A,B){this.startContainer=A;this.startOffset=B;if (!this.endContainer){this.endContainer=A;this.endOffset=B;};this._UpdateCollapsed();},setEnd:function(A,B){this.endContainer=A;this.endOffset=B;if (!this.startContainer){this.startContainer=A;this.startOffset=B;};this._UpdateCollapsed();},setStartAfter:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setStartBefore:function(A){this.setStart(A.parentNode,FCKDomTools.GetIndexOf(A));},setEndAfter:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A)+1);},setEndBefore:function(A){this.setEnd(A.parentNode,FCKDomTools.GetIndexOf(A));},collapse:function(A){if (A){this.endContainer=this.startContainer;this.endOffset=this.startOffset;}else{this.startContainer=this.endContainer;this.startOffset=this.endOffset;};this.collapsed=true;},selectNodeContents:function(A){this.setStart(A,0);this.setEnd(A,A.nodeType==3?A.data.length:A.childNodes.length);},insertNode:function(A){var B=this.startContainer;var C=this.startOffset;if (B.nodeType==3){B.splitText(C);if (B==this.endContainer) this.setEnd(B.nextSibling,this.endOffset-this.startOffset);FCKDomTools.InsertAfterNode(B,A);return;}else{B.insertBefore(A,B.childNodes[C]||null);if (B==this.endContainer){this.endOffset++;this.collapsed=false;}}},deleteContents:function(){if (this.collapsed) return;this._ExecContentsAction(0);},extractContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(1,A);return A;},cloneContents:function(){var A=new FCKDocumentFragment(this._Document);if (!this.collapsed) this._ExecContentsAction(2,A);return A;},_ExecContentsAction:function(A,B){var C=this.startContainer;var D=this.endContainer;var E=this.startOffset;var F=this.endOffset;var G=false;var H=false;if (D.nodeType==3) D=D.splitText(F);else{if (D.childNodes.length>0){if (F>D.childNodes.length-1){D=FCKDomTools.InsertAfterNode(D.lastChild,this._Document.createTextNode(''));H=true;}else D=D.childNodes[F];}};if (C.nodeType==3){C.splitText(E);if (C==D) D=C.nextSibling;}else{if (C.childNodes.length>0&&E<=C.childNodes.length-1){if (E==0){C=C.insertBefore(this._Document.createTextNode(''),C.firstChild);G=true;}else C=C.childNodes[E].previousSibling;}};var I=FCKDomTools.GetParents(C);var J=FCKDomTools.GetParents(D);var i,topStart,topEnd;for (i=0;i<I.length;i++){topStart=I[i];topEnd=J[i];if (topStart!=topEnd) break;};var K,levelStartNode,levelClone,currentNode,currentSibling;if (B) K=B.RootNode;for (var j=i;j<I.length;j++){levelStartNode=I[j];if (K&&levelStartNode!=C) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==C));currentNode=levelStartNode.nextSibling;while(currentNode){if (currentNode==J[j]||currentNode==D) break;currentSibling=currentNode.nextSibling;if (A==2) K.appendChild(currentNode.cloneNode(true));else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.appendChild(currentNode);};currentNode=currentSibling;};if (K) K=levelClone;};if (B) K=B.RootNode;for (var k=i;k<J.length;k++){levelStartNode=J[k];if (A>0&&levelStartNode!=D) levelClone=K.appendChild(levelStartNode.cloneNode(levelStartNode==D));if (!I[k]||levelStartNode.parentNode!=I[k].parentNode){currentNode=levelStartNode.previousSibling;while(currentNode){if (currentNode==I[k]||currentNode==C) break;currentSibling=currentNode.previousSibling;if (A==2) K.insertBefore(currentNode.cloneNode(true),K.firstChild);else{currentNode.parentNode.removeChild(currentNode);if (A==1) K.insertBefore(currentNode,K.firstChild);};currentNode=currentSibling;}};if (K) K=levelClone;};if (A==2){var L=this.startContainer;if (L.nodeType==3){L.data+=L.nextSibling.data;L.parentNode.removeChild(L.nextSibling);};var M=this.endContainer;if (M.nodeType==3&&M.nextSibling){M.data+=M.nextSibling.data;M.parentNode.removeChild(M.nextSibling);}}else{if (topStart&&topEnd&&(C.parentNode!=topStart.parentNode||D.parentNode!=topEnd.parentNode)){var N=FCKDomTools.GetIndexOf(topEnd);if (G&&topEnd.parentNode==C.parentNode) N--;this.setStart(topEnd.parentNode,N);};this.collapse(true);};if(G) C.parentNode.removeChild(C);if(H&&D.parentNode) D.parentNode.removeChild(D);},cloneRange:function(){return FCKW3CRange.CreateFromRange(this._Document,this);}}; -var FCKEnterKey=function(A,B,C,D){this.Window=A;this.EnterMode=B||'p';this.ShiftEnterMode=C||'br';var E=new FCKKeystrokeHandler(false);E._EnterKey=this;E.OnKeystroke=FCKEnterKey_OnKeystroke;E.SetKeystrokes([[13,'Enter'],[SHIFT+13,'ShiftEnter'],[9,'Tab'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);if (D>0){this.TabText='';while (D-->0) this.TabText+='\xa0';};E.AttachToElement(A.document);};function FCKEnterKey_OnKeystroke(A,B){var C=this._EnterKey;try{switch (B){case 'Enter':return C.DoEnter();break;case 'ShiftEnter':return C.DoShiftEnter();break;case 'Backspace':return C.DoBackspace();break;case 'Delete':return C.DoDelete();break;case 'Tab':return C.DoTab();break;case 'CtrlBackspace':return C.DoCtrlBackspace();break;}}catch (e){};return false;};FCKEnterKey.prototype.DoEnter=function(A,B){FCKUndo.SaveUndoStep();this._HasShift=(B===true);var C=FCKSelection.GetParentElement();var D=new FCKElementPath(C);var E=A||this.EnterMode;if (E=='br'||D.Block&&D.Block.tagName.toLowerCase()=='pre') return this._ExecuteEnterBr();else return this._ExecuteEnterBlock(E);};FCKEnterKey.prototype.DoShiftEnter=function(){return this.DoEnter(this.ShiftEnterMode,true);};FCKEnterKey.prototype.DoBackspace=function(){var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};var C=B.CheckIsCollapsed();if (!C){if (FCKBrowserInfo.IsIE&&this.Window.document.selection.type.toLowerCase()=="control"){var D=this.Window.document.selection.createRange();for (var i=D.length-1;i>=0;i--){var E=D.item(i);E.parentNode.removeChild(E);};return true;};return false;};var F=B.StartBlock;var G=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&F&&G){if (!C){var H=B.CheckEndOfBlock();B.DeleteContents();if (F!=G){B.SetStart(G,1);B.SetEnd(G,1);};B.Select();A=(F==G);};if (B.CheckStartOfBlock()){var I=B.StartBlock;var J=FCKDomTools.GetPreviousSourceElement(I,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,J,I);}else if (FCKBrowserInfo.IsGeckoLike){B.Select();}};B.Release();return A;};FCKEnterKey.prototype.DoCtrlBackspace=function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(this.Window);A.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(A,this.Window.document.body)){this._FixIESelectAllBug(A);return true;};return false;};FCKEnterKey.prototype._ExecuteBackspace=function(A,B,C){var D=false;if (!B&&C&&C.nodeName.IEquals('LI')&&C.parentNode.parentNode.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};if (B&&B.nodeName.IEquals('LI')){var E=FCKDomTools.GetLastChild(B,['UL','OL']);while (E){B=FCKDomTools.GetLastChild(E,'LI');E=FCKDomTools.GetLastChild(B,['UL','OL']);}};if (B&&C){if (C.nodeName.IEquals('LI')&&!B.nodeName.IEquals('LI')){this._OutdentWithSelection(C,A);return true;};var F=C.parentNode;var G=B.nodeName.toLowerCase();if (FCKListsLib.EmptyElements[G]!=null||G=='table'){FCKDomTools.RemoveNode(B);D=true;}else{FCKDomTools.RemoveNode(C);while (F.innerHTML.Trim().length==0){var H=F.parentNode;H.removeChild(F);F=H;};FCKDomTools.LTrimNode(C);FCKDomTools.RTrimNode(B);A.SetStart(B,2,true);A.Collapse(true);var I=A.CreateBookmark(true);if (!C.tagName.IEquals(['TABLE'])) FCKDomTools.MoveChildren(C,B);A.SelectBookmark(I);D=true;}};return D;};FCKEnterKey.prototype.DoDelete=function(){FCKUndo.SaveUndoStep();var A=false;var B=new FCKDomRange(this.Window);B.MoveToSelection();if (FCKBrowserInfo.IsIE&&this._CheckIsAllContentsIncluded(B,this.Window.document.body)){this._FixIESelectAllBug(B);return true;};if (B.CheckIsCollapsed()&&B.CheckEndOfBlock(FCKBrowserInfo.IsGeckoLike)){var C=B.StartBlock;var D=FCKTools.GetElementAscensor(C,'td');var E=FCKDomTools.GetNextSourceElement(C,true,[B.StartBlockLimit.nodeName],['UL','OL','TR'],true);if (D){var F=FCKTools.GetElementAscensor(E,'td');if (F!=D) return true;};A=this._ExecuteBackspace(B,C,E);};B.Release();return A;};FCKEnterKey.prototype.DoTab=function(){var A=new FCKDomRange(this.Window);A.MoveToSelection();var B=A._Range.startContainer;while (B){if (B.nodeType==1){var C=B.tagName.toLowerCase();if (C=="tr"||C=="td"||C=="th"||C=="tbody"||C=="table") return false;else break;};B=B.parentNode;};if (this.TabText){A.DeleteContents();A.InsertNode(this.Window.document.createTextNode(this.TabText));A.Collapse(false);A.Select();};return true;};FCKEnterKey.prototype._ExecuteEnterBlock=function(A,B){var C=B||new FCKDomRange(this.Window);var D=C.SplitBlock();if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (!D.WasStartOfBlock&&!D.WasEndOfBlock){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(F.ownerDocument.createTextNode('\xa0'),F.firstChild);if (F) C.MoveToElementEditStart(F);}else{if (G&&H&&E.tagName.toUpperCase()=='LI'){C.MoveToElementStart(E);this._OutdentWithSelection(E,C);C.Release();return true;};var I;if (E){var J=E.tagName.toUpperCase();if (!this._HasShift&&!(/^H[1-6]$/).test(J)){I=FCKDomTools.CloneElement(E);}}else if (F) I=FCKDomTools.CloneElement(F);if (!I) I=this.Window.document.createElement(A);var K=D.ElementPath;if (K){var L=I;for (var i=0,len=K.Elements.length;i<len;i++){var M=K.Elements[i];if (M==K.Block||M==K.BlockLimit) break;if (FCKListsLib.InlineChildReqElements[M.nodeName.toLowerCase()]) L=L.appendChild(FCKDomTools.CloneElement(M));}};if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);C.InsertNode(I);if (FCKBrowserInfo.IsIE){C.MoveToNodeContents(I);C.Select();};C.MoveToElementEditStart(G&&!H?F:I);};if (FCKBrowserInfo.IsSafari) FCKDomTools.ScrollIntoView(F||I,false);else if (FCKBrowserInfo.IsGeckoLike) (F||I).scrollIntoView(false);C.Select();};C.Release();return true;};FCKEnterKey.prototype._ExecuteEnterBr=function(A){var B=new FCKDomRange(this.Window);B.MoveToSelection();if (B.StartBlockLimit==B.EndBlockLimit){B.DeleteContents();B.MoveToSelection();var C=B.CheckStartOfBlock();var D=B.CheckEndOfBlock();var E=B.StartBlock?B.StartBlock.tagName.toUpperCase():'';var F=this._HasShift;var G=false;if (!F&&E=='LI') return this._ExecuteEnterBlock(null,B);if (!F&&D&&(/^H[1-6]$/).test(E)){FCKDomTools.InsertAfterNode(B.StartBlock,this.Window.document.createElement('br'));if (FCKBrowserInfo.IsGecko) FCKDomTools.InsertAfterNode(B.StartBlock,this.Window.document.createTextNode(''));B.SetStart(B.StartBlock.nextSibling,FCKBrowserInfo.IsIE?3:1);}else{var H;G=E.IEquals('pre');if (G) H=this.Window.document.createTextNode(FCKBrowserInfo.IsIE?'\r':'\n');else H=this.Window.document.createElement('br');B.InsertNode(H);if (FCKBrowserInfo.IsGecko) FCKDomTools.InsertAfterNode(H,this.Window.document.createTextNode(''));if (D&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H.parentNode);if (FCKBrowserInfo.IsIE) B.SetStart(H,4);else B.SetStart(H.nextSibling,1);if (!FCKBrowserInfo.IsIE){var I=null;if (FCKBrowserInfo.IsOpera) I=this.Window.document.createElement('span');else I=this.Window.document.createElement('br');H.parentNode.insertBefore(I,H.nextSibling);if (FCKBrowserInfo.IsSafari) FCKDomTools.ScrollIntoView(I,false);else I.scrollIntoView(false);I.parentNode.removeChild(I);}};B.Collapse(true);B.Select(G);};B.Release();return true;};FCKEnterKey.prototype._OutdentWithSelection=function(A,B){var C=B.CreateBookmark();FCKListHandler.OutdentListItem(A);B.MoveToBookmark(C);B.Select();};FCKEnterKey.prototype._CheckIsAllContentsIncluded=function(A,B){var C=false;var D=false;if (A.StartContainer==B||A.StartContainer==B.firstChild) C=(A._Range.startOffset==0);if (A.EndContainer==B||A.EndContainer==B.lastChild){var E=A.EndContainer.nodeType==3?A.EndContainer.length:A.EndContainer.childNodes.length;D=(A._Range.endOffset==E);};return C&&D;};FCKEnterKey.prototype._FixIESelectAllBug=function(A){var B=this.Window.document;B.body.innerHTML='';var C;if (FCKConfig.EnterMode.IEquals(['div','p'])){C=B.createElement(FCKConfig.EnterMode);B.body.appendChild(C);}else C=B.body;A.MoveToNodeContents(C);A.Collapse(true);A.Select();A.Release();}; -var FCKDocumentProcessor={};FCKDocumentProcessor._Items=[];FCKDocumentProcessor.AppendNew=function(){var A={};this._Items.AddItem(A);return A;};FCKDocumentProcessor.Process=function(A){var B,i=0;while((B=this._Items[i++])) B.ProcessDocument(A);};var FCKDocumentProcessor_CreateFakeImage=function(A,B){var C=FCK.EditorDocument.createElement('IMG');C.className=A;C.src=FCKConfig.FullBasePath+'images/spacer.gif';C.setAttribute('_fckfakelement','true',0);C.setAttribute('_fckrealelement',FCKTempBin.AddElement(B),0);return C;};if (FCKBrowserInfo.IsIE||FCKBrowserInfo.IsOpera){var FCKAnchorsProcessor=FCKDocumentProcessor.AppendNew();FCKAnchorsProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('A');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.name.length>0){if (C.innerHTML!==''){if (FCKBrowserInfo.IsIE) C.className+=' FCK__AnchorC';}else{var D=FCKDocumentProcessor_CreateFakeImage('FCK__Anchor',C.cloneNode(true));D.setAttribute('_fckanchor','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}}}};var FCKPageBreaksProcessor=FCKDocumentProcessor.AppendNew();FCKPageBreaksProcessor.ProcessDocument=function(A){var B=A.getElementsByTagName('DIV');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.style.pageBreakAfter=='always'&&C.childNodes.length==1&&C.childNodes[0].style&&C.childNodes[0].style.display=='none'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',C.cloneNode(true));C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}};var FCKFlashProcessor=FCKDocumentProcessor.AppendNew();FCKFlashProcessor.ProcessDocument=function(A){var B=FCK.IsDirty();var C=A.getElementsByTagName('EMBED');var D;var i=C.length-1;while (i>=0&&(D=C[i--])){var E=D.attributes['type'];if ((D.src&&D.src.EndsWith('.swf',true))||(E&&E.nodeValue=='application/x-shockwave-flash')){var F=D.cloneNode(true);var G=FCKDocumentProcessor_CreateFakeImage('FCK__Flash',F);G.setAttribute('_fckflash','true',0);FCKFlashProcessor.RefreshView(G,D);D.parentNode.insertBefore(G,D);D.parentNode.removeChild(D);}};if (!B) FCK.ResetIsDirty();};FCKFlashProcessor.RefreshView=function(A,B){if (B.getAttribute('width')>0) A.style.width=FCKTools.ConvertHtmlSizeToStyle(B.getAttribute('width'));if (B.getAttribute('height')>0) A.style.height=FCKTools.ConvertHtmlSizeToStyle(B.getAttribute('height'));};FCK.GetRealElement=function(A){var e=FCKTempBin.Elements[A.getAttribute('_fckrealelement')];if (A.getAttribute('_fckflash')){if (A.style.width.length>0) e.width=FCKTools.ConvertStyleSizeToHtml(A.style.width);if (A.style.height.length>0) e.height=FCKTools.ConvertStyleSizeToHtml(A.style.height);};return e;};if (FCKBrowserInfo.IsIE){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('HR');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){var D=A.createElement('hr');D.mergeAttributes(C,true);FCKDomTools.InsertAfterNode(C,D);C.parentNode.removeChild(C);}}};FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByTagName('INPUT');var C;var i=B.length-1;while (i>=0&&(C=B[i--])){if (C.type=='hidden'){var D=FCKDocumentProcessor_CreateFakeImage('FCK__InputHidden',C.cloneNode(true));D.setAttribute('_fckinputhidden','true',0);C.parentNode.insertBefore(D,C);C.parentNode.removeChild(C);}}} -var FCKSelection=FCK.Selection={GetParentBlock:function(){var A=this.GetParentElement();while (A){if (FCKListsLib.BlockBoundaries[A.nodeName.toLowerCase()]) break;A=A.parentNode;};return A;},ApplyStyle:function(A){FCKStyles.ApplyStyle(new FCKStyle(A));}}; -FCKSelection.GetType=function(){try{var A=FCK.EditorDocument.selection.type;if (A=='Control'||A=='Text') return A;if (FCK.EditorDocument.selection.createRange().parentElement) return 'Text';}catch(e){};return 'None';};FCKSelection.GetSelectedElement=function(){if (this.GetType()=='Control'){var A=FCK.EditorDocument.selection.createRange();if (A&&A.item) return FCK.EditorDocument.selection.createRange().item(0);};return null;};FCKSelection.GetParentElement=function(){switch (this.GetType()){case 'Control':var A=FCKSelection.GetSelectedElement();return A?A.parentElement:null;case 'None':return null;default:return FCK.EditorDocument.selection.createRange().parentElement();}};FCKSelection.GetBoundaryParentElement=function(A){switch (this.GetType()){case 'Control':var B=FCKSelection.GetSelectedElement();return B?B.parentElement:null;case 'None':return null;default:var C=FCK.EditorDocument;var D=C.selection.createRange();D.collapse(A!==false);var B=D.parentElement();return FCKTools.GetElementDocument(B)==C?B:null;}};FCKSelection.SelectNode=function(A){FCK.Focus();FCK.EditorDocument.selection.empty();var B;try{B=FCK.EditorDocument.body.createControlRange();B.addElement(A);}catch(e){B=FCK.EditorDocument.body.createTextRange();B.moveToElementText(A);};B.select();};FCKSelection.Collapse=function(A){FCK.Focus();if (this.GetType()=='Text'){var B=FCK.EditorDocument.selection.createRange();B.collapse(A==null||A===true);B.select();}};FCKSelection.HasAncestorNode=function(A){var B;if (FCK.EditorDocument.selection.type=="Control"){B=this.GetSelectedElement();}else{var C=FCK.EditorDocument.selection.createRange();B=C.parentElement();};while (B){if (B.tagName==A) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B,oRange;if (!FCK.EditorDocument) return null;if (FCK.EditorDocument.selection.type=="Control"){oRange=FCK.EditorDocument.selection.createRange();for (i=0;i<oRange.length;i++){if (oRange(i).parentNode){B=oRange(i).parentNode;break;}}}else{oRange=FCK.EditorDocument.selection.createRange();B=oRange.parentElement();};while (B&&B.nodeName!=A) B=B.parentNode;return B;};FCKSelection.Delete=function(){var A=FCK.EditorDocument.selection;if (A.type.toLowerCase()!="none"){A.clear();};return A;}; -var FCKTableHandler={};FCKTableHandler.InsertRow=function(A){var B=FCKSelection.MoveToAncestorNode('TR');if (!B) return;var C=B.cloneNode(true);B.parentNode.insertBefore(C,B);FCKTableHandler.ClearRow(A?C:B);};FCKTableHandler.DeleteRows=function(A){if (!A){var B=FCKTableHandler.GetSelectedCells();var C=[];for (var i=0;i<B.length;i++){var D=FCKTools.GetElementAscensor(B[i],'TR');C[D.rowIndex]=D;};for (var i=C.length;i>=0;i--){if (C[i]) FCKTableHandler.DeleteRows(C[i]);};return;};var E=FCKTools.GetElementAscensor(A,'TABLE');if (E.rows.length==1){FCKTableHandler.DeleteTable(E);return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteTable=function(A){if (!A){A=FCKSelection.GetSelectedElement();if (!A||A.tagName!='TABLE') A=FCKSelection.MoveToAncestorNode('TABLE');};if (!A) return;FCKSelection.SelectNode(A);FCKSelection.Collapse();if (A.parentNode.childNodes.length==1) A.parentNode.parentNode.removeChild(A.parentNode);else A.parentNode.removeChild(A);};FCKTableHandler.InsertColumn=function(A){var B=null;var C=this.GetSelectedCells();if (C&&C.length) B=C[A?0:(C.length-1)];if (!B) return;var D=FCKTools.GetElementAscensor(B,'TABLE');var E=B.cellIndex;for (var i=0;i<D.rows.length;i++){var F=D.rows[i];if (F.cells.length<(E+1)) continue;B=F.cells[E].cloneNode(false);if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(B);var G=F.cells[E];if (A) F.insertBefore(B,G);else if (G.nextSibling) F.insertBefore(B,G.nextSibling);else F.appendChild(B);}};FCKTableHandler.DeleteColumns=function(A){if (!A){var B=FCKTableHandler.GetSelectedCells();for (var i=B.length;i>=0;i--){if (B[i]) FCKTableHandler.DeleteColumns(B[i]);};return;};if (!A) return;var C=FCKTools.GetElementAscensor(A,'TABLE');var D=A.cellIndex;for (var i=C.rows.length-1;i>=0;i--){var E=C.rows[i];if (D==0&&E.cells.length==1){FCKTableHandler.DeleteRows(E);continue;};if (E.cells[D]) E.removeChild(E.cells[D]);}};FCKTableHandler.InsertCell=function(A,B){var C=null;var D=this.GetSelectedCells();if (D&&D.length) C=D[B?0:(D.length-1)];if (!C) return null;var E=FCK.EditorDocument.createElement('TD');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(E);if (!B&&C.cellIndex==C.parentNode.cells.length-1) C.parentNode.appendChild(E);else C.parentNode.insertBefore(E,B?C:C.nextSibling);return E;};FCKTableHandler.DeleteCell=function(A){if (A.parentNode.cells.length==1){FCKTableHandler.DeleteRows(FCKTools.GetElementAscensor(A,'TR'));return;};A.parentNode.removeChild(A);};FCKTableHandler.DeleteCells=function(){var A=FCKTableHandler.GetSelectedCells();for (var i=A.length-1;i>=0;i--){FCKTableHandler.DeleteCell(A[i]);}};FCKTableHandler._MarkCells=function(A,B){for (var i=0;i<A.length;i++) A[i][B]=true;};FCKTableHandler._UnmarkCells=function(A,B){for (var i=0;i<A.length;i++){if (FCKBrowserInfo.IsIE) A[i].removeAttribute(B);else delete A[i][B];}};FCKTableHandler._ReplaceCellsByMarker=function(A,B,C){for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){if (A[i][j][B]) A[i][j]=C;}}};FCKTableHandler._GetMarkerGeometry=function(A,B,C,D){var E=0;var F=0;var G=0;var H=0;for (var i=C;A[B][i]&&A[B][i][D];i++) E++;for (var i=C-1;A[B][i]&&A[B][i][D];i--){E++;G++;};for (var i=B;A[i]&&A[i][C]&&A[i][C][D];i++) F++;for (var i=B-1;A[i]&&A[i][C]&&A[i][C][D];i--){F++;H++;};return { 'width':E,'height':F,'x':G,'y':H };};FCKTableHandler.CheckIsSelectionRectangular=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length<1) return false;this._MarkCells(A,'_CellSelected');var B=this._CreateTableMap(A[0].parentNode.parentNode);var C=A[0].parentNode.rowIndex;var D=this._GetCellIndexSpan(B,C,A[0]);var E=this._GetMarkerGeometry(B,C,D,'_CellSelected');var F=D-E.x;var G=C-E.y;if (E.width>=E.height){for (D=F;D<F+E.width;D++){C=G+(D-F) % E.height;if (!B[C]||!B[C][D]){this._UnmarkCells(A,'_CellSelected');return false;};var g=this._GetMarkerGeometry(B,C,D,'_CellSelected');if (g.width!=E.width||g.height!=E.height){this._UnmarkCells(A,'_CellSelected');return false;}}}else{for (C=G;C<G+E.height;C++){D=F+(C-G) % E.width;if (!B[C]||!B[C][D]){this._UnmarkCells(A,'_CellSelected');return false;};var g=this._GetMarkerGeometry(B,C,D,'_CellSelected');if (g.width!=E.width||g.height!=E.height){this._UnmarkCells(A,'_CellSelected');return false;}}};this._UnmarkCells(A,'_CellSelected');return true;};FCKTableHandler.MergeCells=function(){var A=this.GetSelectedCells();if (A.length<2) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);this._MarkCells(A,'_SelectedCells');var F=this._GetMarkerGeometry(C,D,E,'_SelectedCells');var G=E-F.x;var H=D-F.y;var I=B.ownerDocument.createDocumentFragment();for (var i=0;i<F.height;i++){var J=0;for (var j=0;j<F.width;j++){var K=C[H+i][G+j];while (K.childNodes.length>0){var L=K.removeChild(K.firstChild);if (L.nodeType!=1||(L.getAttribute('type',2)!='_moz'&&L.getAttribute('_moz_dirty')!=null)){I.appendChild(L);J++;}}};if (J>0) I.appendChild(B.ownerDocument.createElement('br'));};this._ReplaceCellsByMarker(C,'_SelectedCells',B);this._UnmarkCells(A,'_SelectedCells');this._InstallTableMap(C,B.parentNode.parentNode);B.appendChild(I);if (FCKBrowserInfo.IsGeckoLike&&(!B.firstChild)) FCKTools.AppendBogusBr(B);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeRight=function(){var A=this.GetMergeRightTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=FCK.EditorDocument.createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));D.parentNode.removeChild(D);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.MergeDown=function(){var A=this.GetMergeDownTarget();if (A==null) return;var B=A.refCell;var C=A.tableMap;var D=A.nextCell;var E=B.ownerDocument.createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(D.ownerDocument.createElement('br'),E.firstChild);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.parentNode);this._MoveCaretToCell(B,false);};FCKTableHandler.HorizontalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;if (F>1){var G=Math.ceil(F/2);var H=B.ownerDocument.createElement('td');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(H);var I=E+G;var J=E+F;var K=isNaN(B.rowSpan)?1:B.rowSpan;for (var r=D;r<D+K;r++){for (var i=I;i<J;i++) C[r][i]=H;}}else{var L=[];for (var i=0;i<C.length;i++){var M=C[i].slice(0,E);if (C[i].length<=E){L.push(M);continue;};if (C[i][E]==B){M.push(B);M.push(B.ownerDocument.createElement('td'));if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(M[M.length-1]);}else{M.push(C[i][E]);M.push(C[i][E]);};for (var j=E+1;j<C[i].length;j++) M.push(C[i][j]);L.push(M);};C=L;};this._InstallTableMap(C,B.parentNode.parentNode);};FCKTableHandler.VerticalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=FCKTableHandler._GetCellIndexSpan(C,B.parentNode.rowIndex,B);var E=B.rowSpan;var F=B.parentNode.rowIndex;if (isNaN(E)) E=1;if (E>1){B.rowSpan=Math.ceil(E/2);var G=F+Math.ceil(E/2);var H=null;for (var i=D+1;i<C[G].length;i++){if (C[G][i].parentNode.rowIndex==G){H=C[G][i];break;}};var I=FCK.EditorDocument.createElement('td');I.rowSpan=Math.floor(E/2);if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);B.parentNode.parentNode.rows[G].insertBefore(I,H);}else{var G=F+1;var K=FCK.EditorDocument.createElement('tr');B.parentNode.parentNode.insertBefore(K,B.parentNode.parentNode.rows[G]);for (var i=0;i<C[F].length;){var L=C[F][i].colSpan;if (isNaN(L)||L<1) L=1;if (i==D){i+=L;continue;};var M=C[F][i].rowSpan;if (isNaN(M)) M=1;C[F][i].rowSpan=M+1;i+=L;};var I=FCK.EditorDocument.createElement('td');if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);K.appendChild(I);}};FCKTableHandler._GetCellIndexSpan=function(A,B,C){if (A.length<B+1) return null;var D=A[B];for (var c=0;c<D.length;c++){if (D[c]==C) return c;};return null;};FCKTableHandler._GetCellLocation=function(A,B){for (var i=0;i<A.length;i++){for (var c=0;c<A[i].length;c++){if (A[i][c]==B) return [i,c];}};return null;};FCKTableHandler._GetColumnCells=function(A,B){var C=[];for (var r=0;r<A.length;r++){var D=A[r][B];if (D&&(C.length==0||C[C.length-1]!=D)) C[C.length]=D;};return C;};FCKTableHandler._CreateTableMap=function(A){var B=A.rows;var r=-1;var C=[];for (var i=0;i<B.length;i++){r++;if (!C[r]) C[r]=[];var c=-1;for (var j=0;j<B[i].cells.length;j++){var D=B[i].cells[j];c++;while (C[r][c]) c++;var E=isNaN(D.colSpan)?1:D.colSpan;var F=isNaN(D.rowSpan)?1:D.rowSpan;for (var G=0;G<F;G++){if (!C[r+G]) C[r+G]=[];for (var H=0;H<E;H++){C[r+G][c+H]=B[i].cells[j];}};c+=E-1;}};return C;};FCKTableHandler._InstallTableMap=function(A,B){while (B.rows.length>0){var C=B.rows[0];C.parentNode.removeChild(C);};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (D.parentNode) D.parentNode.removeChild(D);D.colSpan=D.rowSpan=1;}};var E=0;for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (!D) continue;if (j>E) E=j;if (D._colScanned===true) continue;if (A[i][j-1]==D) D.colSpan++;if (A[i][j+1]!=D) D._colScanned=true;}};for (var i=0;i<=E;i++){for (var j=0;j<A.length;j++){if (!A[j]) continue;var D=A[j][i];if (!D||D._rowScanned===true) continue;if (A[j-1]&&A[j-1][i]==D) D.rowSpan++;if (!A[j+1]||A[j+1][i]!=D) D._rowScanned=true;}};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var D=A[i][j];if (FCKBrowserInfo.IsIE){D.removeAttribute('_colScanned');D.removeAttribute('_rowScanned');}else{delete D._colScanned;delete D._rowScanned;}}};for (var i=0;i<A.length;i++){var I=B.ownerDocument.createElement('tr');for (var j=0;j<A[i].length;){var D=A[i][j];if (A[i-1]&&A[i-1][j]==D){j+=D.colSpan;continue;};I.appendChild(D);j+=D.colSpan;if (D.colSpan==1) D.removeAttribute('colspan');if (D.rowSpan==1) D.removeAttribute('rowspan');};B.appendChild(I);}};FCKTableHandler._MoveCaretToCell=function (A,B){var C=new FCKDomRange(FCK.EditorWindow);C.MoveToNodeContents(A);C.Collapse(B);C.Select();};FCKTableHandler.ClearRow=function(A){var B=A.cells;for (var i=0;i<B.length;i++){B[i].innerHTML='';if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(B[i]);}};FCKTableHandler.GetMergeRightTarget=function(){var A=this.GetSelectedCells();if (A.length!=1) return null;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);var F=E+(isNaN(B.colSpan)?1:B.colSpan);var G=C[D][F];if (!G) return null;this._MarkCells([B,G],'_SizeTest');var H=this._GetMarkerGeometry(C,D,E,'_SizeTest');var I=this._GetMarkerGeometry(C,D,F,'_SizeTest');this._UnmarkCells([B,G],'_SizeTest');if (H.height!=I.height||H.y!=I.y) return null;return { 'refCell':B,'nextCell':G,'tableMap':C };};FCKTableHandler.GetMergeDownTarget=function(){var A=this.GetSelectedCells();if (A.length!=1) return null;var B=A[0];var C=this._CreateTableMap(B.parentNode.parentNode);var D=B.parentNode.rowIndex;var E=this._GetCellIndexSpan(C,D,B);var F=D+(isNaN(B.rowSpan)?1:B.rowSpan);if (!C[F]) return null;var G=C[F][E];if (!G) return null;this._MarkCells([B,G],'_SizeTest');var H=this._GetMarkerGeometry(C,D,E,'_SizeTest');var I=this._GetMarkerGeometry(C,F,E,'_SizeTest');this._UnmarkCells([B,G],'_SizeTest');if (H.width!=I.width||H.x!=I.x) return null;return { 'refCell':B,'nextCell':G,'tableMap':C };}; -FCKTableHandler.GetSelectedCells=function(){if (FCKSelection.GetType()=='Control'){var A=FCKSelection.MoveToAncestorNode('TD');return A?[A]:[];};var B=[];var C=FCK.EditorDocument.selection.createRange();var D=FCKSelection.GetParentElement();if (D&&D.tagName.Equals('TD','TH')) B[0]=D;else{D=FCKSelection.MoveToAncestorNode('TABLE');if (D){for (var i=0;i<D.cells.length;i++){var E=FCK.EditorDocument.body.createTextRange();E.moveToElementText(D.cells[i]);if (C.inRange(E)||(C.compareEndPoints('StartToStart',E)>=0&&C.compareEndPoints('StartToEnd',E)<=0)||(C.compareEndPoints('EndToStart',E)>=0&&C.compareEndPoints('EndToEnd',E)<=0)){B[B.length]=D.cells[i];}}}};return B;}; -var FCKXml=function(){this.Error=false;};FCKXml.GetAttribute=function(A,B,C){var D=A.attributes.getNamedItem(B);return D?D.value:C;};FCKXml.TransformToObject=function(A){if (!A) return null;var B={};var C=A.attributes;for (var i=0;i<C.length;i++){var D=C[i];B[D.name]=D.value;};var E=A.childNodes;for (i=0;i<E.length;i++){var F=E[i];if (F.nodeType==1){var G='$'+F.nodeName;var H=B[G];if (!H) H=B[G]=[];H.push(this.TransformToObject(F));}};return B;} -FCKXml.prototype={LoadUrl:function(A){this.Error=false;var B=FCKTools.CreateXmlObject('XmlHttp');if (!B){this.Error=true;return;};B.open("GET",A,false);B.send(null);if (B.status==200||B.status==304) this.DOMDocument=B.responseXML;else if (B.status==0&&B.readyState==4){this.DOMDocument=FCKTools.CreateXmlObject('DOMDocument');this.DOMDocument.async=false;this.DOMDocument.resolveExternals=false;this.DOMDocument.loadXML(B.responseText);}else{this.DOMDocument=null;};if (this.DOMDocument==null||this.DOMDocument.firstChild==null){this.Error=true;if (window.confirm('Error loading "'+A+'"\r\nDo you want to see more info?')) alert('URL requested: "'+A+'"\r\nServer response:\r\nStatus: '+B.status+'\r\nResponse text:\r\n'+B.responseText);}},SelectNodes:function(A,B){if (this.Error) return [];if (B) return B.selectNodes(A);else return this.DOMDocument.selectNodes(A);},SelectSingleNode:function(A,B){if (this.Error) return null;if (B) return B.selectSingleNode(A);else return this.DOMDocument.selectSingleNode(A);}}; -var FCKNamedCommand=function(A){this.Name=A;};FCKNamedCommand.prototype.Execute=function(){FCK.ExecuteNamedCommand(this.Name);};FCKNamedCommand.prototype.GetState=function(){return FCK.GetNamedCommandState(this.Name);}; -var FCKStyleCommand=function(){};FCKStyleCommand.prototype={Name:'Style',Execute:function(A,B){FCKUndo.SaveUndoStep();if (B.Selected) FCK.Styles.RemoveStyle(B.Style);else FCK.Styles.ApplyStyle(B.Style);FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (!FCK.EditorDocument) return -1;if (FCKSelection.GetType()=='Control'){var A=FCKSelection.GetSelectedElement();if (!A||!FCKStyles.CheckHasObjectStyle(A.nodeName.toLowerCase())) return -1;};return 0;}}; -var FCKDialogCommand=function(A,B,C,D,E,F,G){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.GetStateFunction=F;this.GetStateParam=G;this.Resizable=false;};FCKDialogCommand.prototype.Execute=function(){FCKDialog.OpenDialog('FCKDialog_'+this.Name,this.Title,this.Url,this.Width,this.Height,null,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return 0;};var FCKUndefinedCommand=function(){this.Name='Undefined';};FCKUndefinedCommand.prototype.Execute=function(){alert(FCKLang.NotImplemented);};FCKUndefinedCommand.prototype.GetState=function(){return 0;};var FCKFormatBlockCommand=function(){};FCKFormatBlockCommand.prototype={Name:'FormatBlock',Execute:FCKStyleCommand.prototype.Execute,GetState:function(){return FCK.EditorDocument?0:-1;}};var FCKFontNameCommand=function(){};FCKFontNameCommand.prototype={Name:'FontName',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKFontSizeCommand=function(){};FCKFontSizeCommand.prototype={Name:'FontSize',Execute:FCKStyleCommand.prototype.Execute,GetState:FCKFormatBlockCommand.prototype.GetState};var FCKPreviewCommand=function(){this.Name='Preview';};FCKPreviewCommand.prototype.Execute=function(){FCK.Preview();};FCKPreviewCommand.prototype.GetState=function(){return 0;};var FCKSaveCommand=function(){this.Name='Save';};FCKSaveCommand.prototype.Execute=function(){var A=FCK.GetParentForm();if (typeof(A.onsubmit)=='function'){var B=A.onsubmit();if (B!=null&&B===false) return;};if (typeof(A.submit)=='function') A.submit();else A.submit.click();};FCKSaveCommand.prototype.GetState=function(){return 0;};var FCKNewPageCommand=function(){this.Name='NewPage';};FCKNewPageCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();FCK.SetData('');FCKUndo.Typing=true;FCK.Focus();};FCKNewPageCommand.prototype.GetState=function(){return 0;};var FCKSourceCommand=function(){this.Name='Source';};FCKSourceCommand.prototype.Execute=function(){if (FCKConfig.SourcePopup){var A=FCKConfig.ScreenWidth*0.65;var B=FCKConfig.ScreenHeight*0.65;FCKDialog.OpenDialog('FCKDialog_Source',FCKLang.Source,'dialog/fck_source.html',A,B,null,null,true);}else FCK.SwitchEditMode();};FCKSourceCommand.prototype.GetState=function(){return (FCK.EditMode==0?0:1);};var FCKUndoCommand=function(){this.Name='Undo';};FCKUndoCommand.prototype.Execute=function(){FCKUndo.Undo();};FCKUndoCommand.prototype.GetState=function(){return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name='Redo';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){return (FCKUndo.CheckRedoState()?0:-1);};var FCKPageBreakCommand=function(){this.Name='PageBreak';};FCKPageBreakCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();var e=FCK.EditorDocument.createElement('DIV');e.style.pageBreakAfter='always';e.innerHTML='<span style="DISPLAY:none">&nbsp;</span>';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();if (C.NextBlock) C.NextBlock.parentNode.insertBefore(A,C.NextBlock);else C.PreviousBlock.parentNode.insertBefore(A,C.PreviousBlock.nextSibling);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){return 0;};var FCKUnlinkCommand=function(){this.Name='Unlink';};FCKUnlinkCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGeckoLike){var A=FCK.Selection.MoveToAncestorNode('A');if (A) FCKTools.RemoveOuterTags(A);return;};FCK.ExecuteNamedCommand(this.Name);};FCKUnlinkCommand.prototype.GetState=function(){var A=FCK.GetNamedCommandState(this.Name);if (A==0&&FCK.EditMode==0){var B=FCKSelection.MoveToAncestorNode('A');var C=(B&&B.name.length>0&&B.href.length==0);if (C) A=-1;};return A;};var FCKSelectAllCommand=function(){this.Name='SelectAll';};FCKSelectAllCommand.prototype.Execute=function(){if (FCK.EditMode==0){FCK.ExecuteNamedCommand('SelectAll');}else{var A=FCK.EditingArea.Textarea;if (FCKBrowserInfo.IsIE){A.createTextRange().execCommand('SelectAll');}else{A.selectionStart=0;A.selectionEnd=A.value.length;};A.focus();}};FCKSelectAllCommand.prototype.GetState=function(){return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCopyCommand=function(){this.Name='Copy';};FCKCopyCommand.prototype={Execute:function(){FCK.ExecuteNamedCommand(this.Name);},GetState:function(){return FCK.GetNamedCommandState('Cut');}};var FCKAnchorDeleteCommand=function(){this.Name='AnchorDelete';};FCKAnchorDeleteCommand.prototype={Execute:function(){if (FCK.Selection.GetType()=='Control'){FCK.Selection.Delete();}else{var A=FCK.Selection.GetSelectedElement();if (A){if (A.tagName=='IMG'&&A.getAttribute('_fckanchor')) oAnchor=FCK.GetRealElement(A);else A=null;};if (!A){oAnchor=FCK.Selection.MoveToAncestorNode('A');if (oAnchor) FCK.Selection.SelectNode(oAnchor);};if (oAnchor.href.length!=0){oAnchor.removeAttribute('name');if (FCKBrowserInfo.IsIE) oAnchor.className=oAnchor.className.replace(FCKRegexLib.FCK_Class,'');return;};if (A){A.parentNode.removeChild(A);return;};if (oAnchor.innerHTML.length==0){oAnchor.parentNode.removeChild(oAnchor);return;};FCKTools.RemoveOuterTags(oAnchor);};if (FCKBrowserInfo.IsGecko) FCK.Selection.Collapse(true);},GetState:function(){return FCK.GetNamedCommandState('Unlink');}}; -var FCKShowBlockCommand=function(A,B){this.Name=A;if (B!=undefined) this._SavedState=B;else this._SavedState=null;};FCKShowBlockCommand.prototype.Execute=function(){var A=this.GetState();if (A==-1) return;var B=FCK.EditorDocument.body;if (A==1) B.className=B.className.replace(/(^| )FCK__ShowBlocks/g,'');else B.className+=' FCK__ShowBlocks';FCK.Events.FireEvent('OnSelectionChange');};FCKShowBlockCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;if (!FCK.EditorDocument) return 0;if (/FCK__ShowBlocks(?:\s|$)/.test(FCK.EditorDocument.body.className)) return 1;return 0;};FCKShowBlockCommand.prototype.SaveState=function(){this._SavedState=this.GetState();};FCKShowBlockCommand.prototype.RestoreState=function(){if (this._SavedState!=null&&this.GetState()!=this._SavedState) this.Execute();}; -var FCKSpellCheckCommand=function(){this.Name='SpellCheck';this.IsEnabled=(FCKConfig.SpellChecker=='ieSpell'||FCKConfig.SpellChecker=='SpellerPages');};FCKSpellCheckCommand.prototype.Execute=function(){switch (FCKConfig.SpellChecker){case 'ieSpell':this._RunIeSpell();break;case 'SpellerPages':FCKDialog.OpenDialog('FCKDialog_SpellCheck','Spell Check','dialog/fck_spellerpages.html',440,480);break;}};FCKSpellCheckCommand.prototype._RunIeSpell=function(){try{var A=new ActiveXObject("ieSpell.ieSpellExtension");A.CheckAllLinkedDocuments(FCK.EditorDocument);}catch(e){if(e.number==-2146827859){if (confirm(FCKLang.IeSpellDownload)) window.open(FCKConfig.IeSpellDownloadUrl,'IeSpellDownload');}else alert('Error Loading ieSpell: '+e.message+' ('+e.number+')');}};FCKSpellCheckCommand.prototype.GetState=function(){return this.IsEnabled?0:-1;} -var FCKTextColorCommand=function(A){this.Name=A=='ForeColor'?'TextColor':'BGColor';this.Type=A;var B;if (FCKBrowserInfo.IsIE) B=window;else if (FCK.ToolbarSet._IFrame) B=FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B);this._Panel.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');this._Panel.MainNode.className='FCK_Panel';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCKTools.DisableSelection(this._Panel.Document.body);};FCKTextColorCommand.prototype.Execute=function(A,B,C){this._Panel.Show(A,B,C);};FCKTextColorCommand.prototype.SetColor=function(A){FCKUndo.SaveUndoStep();var B=FCKStyles.GetStyle('_FCK_'+(this.Type=='ForeColor'?'Color':'BackColor'));if (!A||A.length==0) FCK.Styles.RemoveStyle(B);else{B.SetVariable('Color',A);FCKStyles.ApplyStyle(B);};FCKUndo.SaveUndoStep();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');};FCKTextColorCommand.prototype.GetState=function(){return 0;};function FCKTextColorCommand_OnMouseOver(){this.className='ColorSelected';};function FCKTextColorCommand_OnMouseOut(){this.className='ColorDeselected';};function FCKTextColorCommand_OnClick(A,B,C){this.className='ColorDeselected';B.SetColor(C);B._Panel.Hide();};function FCKTextColorCommand_AutoOnClick(A,B){this.className='ColorDeselected';B.SetColor('');B._Panel.Hide();};function FCKTextColorCommand_MoreOnClick(A,B){this.className='ColorDeselected';B._Panel.Hide();FCKDialog.OpenDialog('FCKDialog_Color',FCKLang.DlgColorTitle,'dialog/fck_colorselector.html',400,330,FCKTools.Hitch(B,'SetColor'));};FCKTextColorCommand.prototype._CreatePanelBody=function(A,B){function CreateSelectionDiv(){var C=A.createElement("DIV");C.className='ColorDeselected';FCKTools.AddEventListenerEx(C,'mouseover',FCKTextColorCommand_OnMouseOver);FCKTools.AddEventListenerEx(C,'mouseout',FCKTextColorCommand_OnMouseOut);return C;};var D=B.appendChild(A.createElement("TABLE"));D.className='ForceBaseFont';D.style.tableLayout='fixed';D.cellPadding=0;D.cellSpacing=0;D.border=0;D.width=150;var E=D.insertRow(-1).insertCell(-1);E.colSpan=8;var C=E.appendChild(CreateSelectionDiv());C.innerHTML='<table cellspacing="0" cellpadding="0" width="100%" border="0">\n <tr>\n <td><div class="ColorBoxBorder"><div class="ColorBox" style="background-color: #000000"></div></div></td>\n <td nowrap width="100%" align="center">'+FCKLang.ColorAutomatic+'</td>\n </tr>\n </table>';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_AutoOnClick,this);if (!FCKBrowserInfo.IsIE) C.style.width='96%';var G=FCKConfig.FontColors.toString().split(',');var H=0;while (H<G.length){var I=D.insertRow(-1);for (var i=0;i<8;i++,H++){if (H<G.length){var J=G[H].split('/');var K='#'+J[0];var L=J[1]||K;};C=I.insertCell(-1).appendChild(CreateSelectionDiv());C.innerHTML='<div class="ColorBoxBorder"><div class="ColorBox" style="background-color: '+K+'"></div></div>';if (H>=G.length) C.style.visibility='hidden';else FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_OnClick,[this,L]);}};if (FCKConfig.EnableMoreFontColors){E=D.insertRow(-1).insertCell(-1);E.colSpan=8;C=E.appendChild(CreateSelectionDiv());C.innerHTML='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td nowrap align="center">'+FCKLang.ColorMoreColors+'</td></tr></table>';FCKTools.AddEventListenerEx(C,'click',FCKTextColorCommand_MoreOnClick,this);};if (!FCKBrowserInfo.IsIE) C.style.width='96%';}; -var FCKPastePlainTextCommand=function(){this.Name='PasteText';};FCKPastePlainTextCommand.prototype.Execute=function(){FCK.PasteAsPlainText();};FCKPastePlainTextCommand.prototype.GetState=function(){return FCK.GetNamedCommandState('Paste');}; -var FCKPasteWordCommand=function(){this.Name='PasteWord';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCKConfig.ForcePasteAsPlainText) return -1;else return FCK.GetNamedCommandState('Paste');}; -var FCKTableCommand=function(A){this.Name=A;};FCKTableCommand.prototype.Execute=function(){FCKUndo.SaveUndoStep();if (!FCKBrowserInfo.IsGecko){switch (this.Name){case 'TableMergeRight':return FCKTableHandler.MergeRight();case 'TableMergeDown':return FCKTableHandler.MergeDown();}};switch (this.Name){case 'TableInsertRowAfter':return FCKTableHandler.InsertRow(false);case 'TableInsertRowBefore':return FCKTableHandler.InsertRow(true);case 'TableDeleteRows':return FCKTableHandler.DeleteRows();case 'TableInsertColumnAfter':return FCKTableHandler.InsertColumn(false);case 'TableInsertColumnBefore':return FCKTableHandler.InsertColumn(true);case 'TableDeleteColumns':return FCKTableHandler.DeleteColumns();case 'TableInsertCellAfter':return FCKTableHandler.InsertCell(null,false);case 'TableInsertCellBefore':return FCKTableHandler.InsertCell(null,true);case 'TableDeleteCells':return FCKTableHandler.DeleteCells();case 'TableMergeCells':return FCKTableHandler.MergeCells();case 'TableHorizontalSplitCell':return FCKTableHandler.HorizontalSplitCell();case 'TableVerticalSplitCell':return FCKTableHandler.VerticalSplitCell();case 'TableDelete':return FCKTableHandler.DeleteTable();default:return alert(FCKLang.UnknownCommand.replace(/%1/g,this.Name));}};FCKTableCommand.prototype.GetState=function(){if (FCK.EditorDocument!=null&&FCKSelection.HasAncestorNode('TABLE')){switch (this.Name){case 'TableHorizontalSplitCell':case 'TableVerticalSplitCell':if (FCKTableHandler.GetSelectedCells().length==1) return 0;else return -1;case 'TableMergeCells':if (FCKTableHandler.CheckIsSelectionRectangular()&&FCKTableHandler.GetSelectedCells().length>1) return 0;else return -1;case 'TableMergeRight':return FCKTableHandler.GetMergeRightTarget()?0:-1;case 'TableMergeDown':return FCKTableHandler.GetMergeDownTarget()?0:-1;default:return 0;}}else return -1;}; -var FCKFitWindow=function(){this.Name='FitWindow';};FCKFitWindow.prototype.Execute=function(){var A=window.frameElement;var B=A.style;var C=parent;var D=C.document.documentElement;var E=C.document.body;var F=E.style;var G;if (!this.IsMaximized){if(FCKBrowserInfo.IsIE) C.attachEvent('onresize',FCKFitWindow_Resize);else C.addEventListener('resize',FCKFitWindow_Resize,true);this._ScrollPos=FCKTools.GetScrollPosition(C);G=A;while((G=G.parentNode)){if (G.nodeType==1){G._fckSavedStyles=FCKTools.SaveStyles(G);G.style.zIndex=FCKConfig.FloatingPanelsZIndex-1;}};if (FCKBrowserInfo.IsIE){this.documentElementOverflow=D.style.overflow;D.style.overflow='hidden';F.overflow='hidden';}else{F.overflow='hidden';F.width='0px';F.height='0px';};this._EditorFrameStyles=FCKTools.SaveStyles(A);var H=FCKTools.GetViewPaneSize(C);B.position="absolute";B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=H.Width+"px";B.height=H.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var I=FCKTools.GetWindowPosition(C,A);if (I.x!=0) B.left=(-1*I.x)+"px";if (I.y!=0) B.top=(-1*I.y)+"px";this.IsMaximized=true;}else{if(FCKBrowserInfo.IsIE) C.detachEvent("onresize",FCKFitWindow_Resize);else C.removeEventListener("resize",FCKFitWindow_Resize,true);G=A;while((G=G.parentNode)){if (G._fckSavedStyles){FCKTools.RestoreStyles(G,G._fckSavedStyles);G._fckSavedStyles=null;}};if (FCKBrowserInfo.IsIE) D.style.overflow=this.documentElementOverflow;FCKTools.RestoreStyles(A,this._EditorFrameStyles);C.scrollTo(this._ScrollPos.X,this._ScrollPos.Y);this.IsMaximized=false;};FCKToolbarItems.GetItem('FitWindow').RefreshState();if (FCK.EditMode==0) FCK.EditingArea.MakeEditable();FCK.Focus();};FCKFitWindow.prototype.GetState=function(){if (FCKConfig.ToolbarLocation!='In') return -1;else return (this.IsMaximized?1:0);};function FCKFitWindow_Resize(){var A=FCKTools.GetViewPaneSize(parent);var B=window.frameElement.style;B.width=A.Width+'px';B.height=A.Height+'px';}; -var FCKListCommand=function(A,B){this.Name=A;this.TagName=B;};FCKListCommand.prototype={GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=FCKSelection.GetBoundaryParentElement(true);var B=A;while (B){if (B.nodeName.IEquals(['ul','ol'])) break;B=B.parentNode;};if (B&&B.nodeName.IEquals(this.TagName)) return 1;else return 0;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCK.EditorDocument;var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=this.GetState();if (C==0){FCKDomTools.TrimNode(A.body);if (!A.body.firstChild){var D=A.createElement('p');A.body.appendChild(D);B.MoveToNodeContents(D);}};var E=B.CreateBookmark();var F=[];var G={};var H=new FCKDomRangeIterator(B);var I;H.ForceBrBreak=(C==0);var J=true;var K=null;while (J){while ((I=H.GetNextParagraph())){var L=new FCKElementPath(I);var M=null;var N=false;var O=L.BlockLimit;for (var i=L.Elements.length-1;i>=0;i--){var P=L.Elements[i];if (P.nodeName.IEquals(['ol','ul'])){if (O._FCK_ListGroupObject) O._FCK_ListGroupObject=null;var Q=P._FCK_ListGroupObject;if (Q) Q.contents.push(I);else{Q={ 'root':P,'contents':[I] };F.push(Q);FCKDomTools.SetElementMarker(G,P,'_FCK_ListGroupObject',Q);};N=true;break;}};if (N) continue;var R=O;if (R._FCK_ListGroupObject) R._FCK_ListGroupObject.contents.push(I);else{var Q={ 'root':R,'contents':[I] };FCKDomTools.SetElementMarker(G,R,'_FCK_ListGroupObject',Q);F.push(Q);}};if (FCKBrowserInfo.IsIE) J=false;else{if (K==null){K=[];var T=FCK.EditorWindow.getSelection();if (T&&F.length==0) K.push(T.getRangeAt(0));for (var i=1;T&&i<T.rangeCount;i++) K.push(T.getRangeAt(i));};if (K.length<1) J=false;else{var U=FCKW3CRange.CreateFromRange(A,K.shift());B._Range=U;B._UpdateElementInfo();if (B.StartNode.nodeName.IEquals('td')) B.SetStart(B.StartNode,1);if (B.EndNode.nodeName.IEquals('td')) B.SetEnd(B.EndNode,2);H=new FCKDomRangeIterator(B);H.ForceBrBreak=(C==0);}}};var W=[];while (F.length>0){var Q=F.shift();if (C==0){if (Q.root.nodeName.IEquals(['ul','ol'])) this._ChangeListType(Q,G,W);else this._CreateList(Q,W);}else if (C==1&&Q.root.nodeName.IEquals(['ul','ol'])) this._RemoveList(Q,G);};for (var i=0;i<W.length;i++){var M=W[i];var Z=false;var a=M;while (!Z){a=a.nextSibling;if (a&&a.nodeType==3&&a.nodeValue.search(/^[\n\r\t ]*$/)==0) continue;Z=true;};if (a&&a.nodeName.IEquals(this.TagName)){a.parentNode.removeChild(a);while (a.firstChild) M.appendChild(a.removeChild(a.firstChild));};Z=false;a=M;while (!Z){a=a.previousSibling;if (a&&a.nodeType==3&&a.nodeValue.search(/^[\n\r\t ]*$/)==0) continue;Z=true;};if (a&&a.nodeName.IEquals(this.TagName)){a.parentNode.removeChild(a);while (a.lastChild) M.insertBefore(a.removeChild(a.lastChild),M.firstChild);}};FCKDomTools.ClearAllMarkers(G);B.MoveToBookmark(E);B.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},_ChangeListType:function(A,B,C){var D=FCKDomTools.ListToArray(A.root,B);var E=[];for (var i=0;i<A.contents.length;i++){var F=A.contents[i];F=FCKTools.GetElementAscensor(F,'li');if (!F||F._FCK_ListItem_Processed) continue;E.push(F);FCKDomTools.SetElementMarker(B,F,'_FCK_ListItem_Processed',true);};var G=A.root.ownerDocument.createElement(this.TagName);for (var i=0;i<E.length;i++){var H=E[i]._FCK_ListArray_Index;D[H].parent=G;};var I=FCKDomTools.ArrayToList(D,B);for (var i=0;i<I.listNode.childNodes.length;i++){if (I.listNode.childNodes[i].nodeName.IEquals(this.TagName)) C.push(I.listNode.childNodes[i]);};A.root.parentNode.replaceChild(I.listNode,A.root);},_CreateList:function(A,B){var C=A.contents;var D=A.root.ownerDocument;var E=[];if (C.length==1&&C[0]==A.root){var F=D.createElement('div');while (C[0].firstChild) F.appendChild(C[0].removeChild(C[0].firstChild));C[0].appendChild(F);C[0]=F;};var G=A.contents[0].parentNode;for (var i=0;i<C.length;i++) G=FCKDomTools.GetCommonParents(G,C[i].parentNode).pop();for (var i=0;i<C.length;i++){var H=C[i];while (H.parentNode){if (H.parentNode==G){E.push(H);break;};H=H.parentNode;}};if (E.length<1) return;var I=E[E.length-1].nextSibling;var J=D.createElement(this.TagName);B.push(J);while (E.length){var K=E.shift();var L=D.createDocumentFragment();while (K.firstChild) L.appendChild(K.removeChild(K.firstChild));K.parentNode.removeChild(K);var M=D.createElement('li');M.appendChild(L);J.appendChild(M);};G.insertBefore(J,I);},_RemoveList:function(A,B){var C=FCKDomTools.ListToArray(A.root,B);var D=[];for (var i=0;i<A.contents.length;i++){var E=A.contents[i];E=FCKTools.GetElementAscensor(E,'li');if (!E||E._FCK_ListItem_Processed) continue;D.push(E);FCKDomTools.SetElementMarker(B,E,'_FCK_ListItem_Processed',true);};var F=null;for (var i=0;i<D.length;i++){var G=D[i]._FCK_ListArray_Index;C[G].indent=-1;F=G;};for (var i=F+1;i<C.length;i++){if (C[i].indent>C[i-1].indent+1){var H=C[i-1].indent+1-C[i].indent;var I=C[i].indent;while (C[i]&&C[i].indent>=I){C[i].indent+=H;i++;};i--;}};var J=FCKDomTools.ArrayToList(C,B);if (A.root.nextSibling==null||A.root.nextSibling.nodeName.IEquals('br')){if (J.listNode.lastChild.nodeName.IEquals('br')) J.listNode.removeChild(J.listNode.lastChild);};A.root.parentNode.replaceChild(J.listNode,A.root);}}; -var FCKJustifyCommand=function(A){this.AlignValue=A;var B=FCKConfig.ContentLangDirection.toLowerCase();this.IsDefaultAlign=(A=='left'&&B=='ltr')||(A=='right'&&B=='rtl');var C=this._CssClassName=(function(){var D=FCKConfig.JustifyClasses;if (D){switch (A){case 'left':return D[0];case 'center':return D[1];case 'right':return D[2];case 'justify':return D[3];}};return null;})();if (C&&C.length>0) this._CssClassRegex=new RegExp('(?:^|\\s+)'+C+'(?=$|\\s)');};FCKJustifyCommand._GetClassNameRegex=function(){var A=FCKJustifyCommand._ClassRegex;if (A!=undefined) return A;var B=[];var C=FCKConfig.JustifyClasses;if (C){for (var i=0;i<4;i++){var D=C[i];if (D&&D.length>0) B.push(D);}};if (B.length>0) A=new RegExp('(?:^|\\s+)(?:'+B.join('|')+')(?=$|\\s)');else A=null;return FCKJustifyCommand._ClassRegex=A;};FCKJustifyCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();var B=this.GetState();if (B==-1) return;var C=A.CreateBookmark();var D=this._CssClassName;var E=new FCKDomRangeIterator(A);var F;while ((F=E.GetNextParagraph())){F.removeAttribute('align');if (D){var G=F.className.replace(FCKJustifyCommand._GetClassNameRegex(),'');if (B==0){if (G.length>0) G+=' ';F.className=G+D;}else if (G.length==0) FCKDomTools.RemoveAttribute(F,'class');}else{var H=F.style;if (B==0) H.textAlign=this.AlignValue;else{H.textAlign='';if (H.cssText.length==0) F.removeAttribute('style');}}};A.MoveToBookmark(C);A.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;var C;if (FCKBrowserInfo.IsIE) C=B.currentStyle.textAlign;else C=FCK.EditorWindow.getComputedStyle(B,'').getPropertyValue('text-align');C=C.replace(/(-moz-|-webkit-|start|auto)/i,'');if ((!C&&this.IsDefaultAlign)||C==this.AlignValue) return 1;return 0;}}; -var FCKIndentCommand=function(A,B){this.Name=A;this.Offset=B;this.IndentCSSProperty=FCKConfig.ContentLangDirection.IEquals('ltr')?'marginLeft':'marginRight';};FCKIndentCommand._InitIndentModeParameters=function(){if (FCKConfig.IndentClasses&&FCKConfig.IndentClasses.length>0){this._UseIndentClasses=true;this._IndentClassMap={};for (var i=0;i<FCKConfig.IndentClasses.length;i++) this._IndentClassMap[FCKConfig.IndentClasses[i]]=i+1;this._ClassNameRegex=new RegExp('(?:^|\\s+)('+FCKConfig.IndentClasses.join('|')+')(?=$|\\s)');}else this._UseIndentClasses=false;};FCKIndentCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=new FCKDomRange(FCK.EditorWindow);A.MoveToSelection();var B=A.CreateBookmark();var C=FCKDomTools.GetCommonParentNode(A.StartNode||A.StartContainer,A.EndNode||A.EndContainer,['ul','ol']);if (C) this._IndentList(A,C);else this._IndentBlock(A);A.MoveToBookmark(B);A.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;if (FCKIndentCommand._UseIndentClasses==undefined) FCKIndentCommand._InitIndentModeParameters();var A=FCKSelection.GetBoundaryParentElement(true);var B=FCKSelection.GetBoundaryParentElement(false);var C=FCKDomTools.GetCommonParentNode(A,B,['ul','ol']);if (C){if (this.Name.IEquals('outdent')) return 0;var D=FCKTools.GetElementAscensor(A,'li');if (!D||!D.previousSibling) return -1;return 0;};if (!FCKIndentCommand._UseIndentClasses&&this.Name.IEquals('indent')) return 0;var E=new FCKElementPath(A);var F=E.Block||E.BlockLimit;if (!F) return -1;if (FCKIndentCommand._UseIndentClasses){var G=F.className.match(FCKIndentCommand._ClassNameRegex);var H=0;if (G!=null){G=G[1];H=FCKIndentCommand._IndentClassMap[G];};if ((this.Name=='outdent'&&H==0)||(this.Name=='indent'&&H==FCKConfig.IndentClasses.length)) return -1;return 0;}else{var I=parseInt(F.style[this.IndentCSSProperty],10);if (isNaN(I)) I=0;if (I<=0) return -1;return 0;}},_IndentBlock:function(A){var B=new FCKDomRangeIterator(A);A.Expand('block_contents');var C=FCKDomTools.GetCommonParents(A.StartContainer,A.EndContainer);var D=C[C.length-1];var E;while ((E=B.GetNextParagraph())){if (!(E==D||E.parentNode==D)) continue;if (FCKIndentCommand._UseIndentClasses){var F=E.className.match(FCKIndentCommand._ClassNameRegex);var G=0;if (F!=null){F=F[1];G=FCKIndentCommand._IndentClassMap[F];};if (this.Name.IEquals('outdent')) G--;else if (this.Name.IEquals('indent')) G++;G=Math.min(G,FCKConfig.IndentClasses.length);G=Math.max(G,0);var H=E.className.replace(FCKIndentCommand._ClassNameRegex,'');if (G<1) E.className=H;else E.className=(H.length>0?H+' ':'')+FCKConfig.IndentClasses[G-1];}else{var I=parseInt(E.style[this.IndentCSSProperty],10);if (isNaN(I)) I=0;I+=this.Offset;I=Math.max(I,0);I=Math.ceil(I/this.Offset)*this.Offset;E.style[this.IndentCSSProperty]=I?I+FCKConfig.IndentUnit:'';if (E.getAttribute('style')=='') E.removeAttribute('style');}}},_IndentList:function(A,B){var C=A.StartContainer;var D=A.EndContainer;while (C&&C.parentNode!=B) C=C.parentNode;while (D&&D.parentNode!=B) D=D.parentNode;if (!C||!D) return;var E=C;var F=[];var G=false;while (G==false){if (E==D) G=true;F.push(E);E=E.nextSibling;};if (F.length<1) return;var H=FCKDomTools.GetParents(B);for (var i=0;i<H.length;i++){if (H[i].nodeName.IEquals(['ul','ol'])){B=H[i];break;}};var I=this.Name.IEquals('indent')?1:-1;var J=F[0];var K=F[F.length-1];var L={};var M=FCKDomTools.ListToArray(B,L);var N=M[K._FCK_ListArray_Index].indent;for (var i=J._FCK_ListArray_Index;i<=K._FCK_ListArray_Index;i++) M[i].indent+=I;for (var i=K._FCK_ListArray_Index+1;i<M.length&&M[i].indent>N;i++) M[i].indent+=I;var O=FCKDomTools.ArrayToList(M);if (O) B.parentNode.replaceChild(O.listNode,B);FCKDomTools.ClearAllMarkers(L);}}; -var FCKBlockQuoteCommand=function(){};FCKBlockQuoteCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();var A=this.GetState();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();if (FCKBrowserInfo.IsIE){var D=B.GetBookmarkNode(C,true);var E=B.GetBookmarkNode(C,false);var F;if (D&&D.parentNode.nodeName.IEquals('blockquote')&&!D.previousSibling){F=D;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]) FCKDomTools.MoveNode(D,F,true);}};if (E&&E.parentNode.nodeName.IEquals('blockquote')&&!E.previousSibling){F=E;while ((F=F.nextSibling)){if (FCKListsLib.BlockElements[F.nodeName.toLowerCase()]){if (F.firstChild==D) FCKDomTools.InsertAfterNode(D,E);else FCKDomTools.MoveNode(E,F,true);}}}};var G=new FCKDomRangeIterator(B);var H;if (A==0){G.EnforceRealBlocks=true;var I=[];while ((H=G.GetNextParagraph())) I.push(H);if (I.length<1){para=B.Window.document.createElement(FCKConfig.EnterMode.IEquals('p')?'p':'div');B.InsertNode(para);para.appendChild(B.Window.document.createTextNode('\ufeff'));B.MoveToBookmark(C);B.MoveToNodeContents(para);B.Collapse(true);C=B.CreateBookmark();I.push(para);};var J=I[0].parentNode;var K=[];for (var i=0;i<I.length;i++){H=I[i];J=FCKDomTools.GetCommonParents(H.parentNode,J).pop();};var L=null;while (I.length>0){H=I.shift();while (H.parentNode!=J) H=H.parentNode;if (H!=L) K.push(H);L=H;};while (K.length>0){H=K.shift();if (H.nodeName.IEquals('blockquote')){var M=H.ownerDocument.createDocumentFragment();while (H.firstChild){M.appendChild(H.removeChild(H.firstChild));I.push(M.lastChild);};H.parentNode.replaceChild(M,H);}else I.push(H);};var N=B.Window.document.createElement('blockquote');J.insertBefore(N,I[0]);while (I.length>0){H=I.shift();N.appendChild(H);}}else if (A==1){var O=[];while ((H=G.GetNextParagraph())){var P=null;var Q=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals('blockquote')){P=H.parentNode;Q=H;break;};H=H.parentNode;};if (P&&Q) O.push(Q);};var R=[];while (O.length>0){var S=O.shift();var N=S.parentNode;if (S==S.parentNode.firstChild){N.parentNode.insertBefore(N.removeChild(S),N);if (!N.firstChild) N.parentNode.removeChild(N);}else if (S==S.parentNode.lastChild){N.parentNode.insertBefore(N.removeChild(S),N.nextSibling);if (!N.firstChild) N.parentNode.removeChild(N);}else FCKDomTools.BreakParent(S,S.parentNode,B);R.push(S);};if (FCKConfig.EnterMode.IEquals('br')){while (R.length){var S=R.shift();var W=true;if (S.nodeName.IEquals('div')){var M=S.ownerDocument.createDocumentFragment();var Y=W&&S.previousSibling&&!FCKListsLib.BlockBoundaries[S.previousSibling.nodeName.toLowerCase()];if (W&&Y) M.appendChild(S.ownerDocument.createElement('br'));var Z=S.nextSibling&&!FCKListsLib.BlockBoundaries[S.nextSibling.nodeName.toLowerCase()];while (S.firstChild) M.appendChild(S.removeChild(S.firstChild));if (Z) M.appendChild(S.ownerDocument.createElement('br'));S.parentNode.replaceChild(M,S);W=false;}}}};B.MoveToBookmark(C);B.Select();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){if (FCK.EditMode!=0||!FCK.EditorWindow) return -1;var A=new FCKElementPath(FCKSelection.GetBoundaryParentElement(true));var B=A.Block||A.BlockLimit;if (!B||B.nodeName.toLowerCase()=='body') return 0;for (var i=0;i<A.Elements.length;i++){if (A.Elements[i].nodeName.IEquals('blockquote')) return 1;};return 0;}}; -var FCKCoreStyleCommand=function(A){this.Name='CoreStyle';this.StyleName='_FCK_'+A;this.IsActive=false;FCKStyles.AttachStyleStateChange(this.StyleName,this._OnStyleStateChange,this);};FCKCoreStyleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();if (this.IsActive) FCKStyles.RemoveStyle(this.StyleName);else FCKStyles.ApplyStyle(this.StyleName);FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){return this.IsActive?1:0;},_OnStyleStateChange:function(A,B){this.IsActive=B;}}; -var FCKRemoveFormatCommand=function(){this.Name='RemoveFormat';};FCKRemoveFormatCommand.prototype={Execute:function(){FCKStyles.RemoveAll();FCK.Focus();FCK.Events.FireEvent('OnSelectionChange');},GetState:function(){return FCK.EditorWindow?0:-1;}}; -var FCKCommands=FCK.Commands={};FCKCommands.LoadedCommands={};FCKCommands.RegisterCommand=function(A,B){this.LoadedCommands[A]=B;};FCKCommands.GetCommand=function(A){var B=FCKCommands.LoadedCommands[A];if (B) return B;switch (A){case 'Bold':case 'Italic':case 'Underline':case 'StrikeThrough':case 'Subscript':case 'Superscript':B=new FCKCoreStyleCommand(A);break;case 'RemoveFormat':B=new FCKRemoveFormatCommand();break;case 'DocProps':B=new FCKDialogCommand('DocProps',FCKLang.DocProps,'dialog/fck_docprops.html',400,390,FCKCommands.GetFullPageState);break;case 'Templates':B=new FCKDialogCommand('Templates',FCKLang.DlgTemplatesTitle,'dialog/fck_template.html',380,450);break;case 'Link':B=new FCKDialogCommand('Link',FCKLang.DlgLnkWindowTitle,'dialog/fck_link.html',400,330);break;case 'Unlink':B=new FCKUnlinkCommand();break;case 'Anchor':B=new FCKDialogCommand('Anchor',FCKLang.DlgAnchorTitle,'dialog/fck_anchor.html',370,170);break;case 'AnchorDelete':B=new FCKAnchorDeleteCommand();break;case 'BulletedList':B=new FCKDialogCommand('BulletedList',FCKLang.BulletedListProp,'dialog/fck_listprop.html?UL',370,170);break;case 'NumberedList':B=new FCKDialogCommand('NumberedList',FCKLang.NumberedListProp,'dialog/fck_listprop.html?OL',370,170);break;case 'About':B=new FCKDialogCommand('About',FCKLang.About,'dialog/fck_about.html',400,330);break;case 'Find':B=new FCKDialogCommand('Find',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,250);break;case 'Replace':B=new FCKDialogCommand('Replace',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,250);break;case 'Image':B=new FCKDialogCommand('Image',FCKLang.DlgImgTitle,'dialog/fck_image.html',450,400);break;case 'Flash':B=new FCKDialogCommand('Flash',FCKLang.DlgFlashTitle,'dialog/fck_flash.html',450,400);break;case 'SpecialChar':B=new FCKDialogCommand('SpecialChar',FCKLang.DlgSpecialCharTitle,'dialog/fck_specialchar.html',400,320);break;case 'Smiley':B=new FCKDialogCommand('Smiley',FCKLang.DlgSmileyTitle,'dialog/fck_smiley.html',FCKConfig.SmileyWindowWidth,FCKConfig.SmileyWindowHeight);break;case 'Table':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html',480,250);break;case 'TableProp':B=new FCKDialogCommand('Table',FCKLang.DlgTableTitle,'dialog/fck_table.html?Parent',480,250);break;case 'TableCellProp':B=new FCKDialogCommand('TableCell',FCKLang.DlgCellTitle,'dialog/fck_tablecell.html',550,250);break;case 'Style':B=new FCKStyleCommand();break;case 'FontName':B=new FCKFontNameCommand();break;case 'FontSize':B=new FCKFontSizeCommand();break;case 'FontFormat':B=new FCKFormatBlockCommand();break;case 'Source':B=new FCKSourceCommand();break;case 'Preview':B=new FCKPreviewCommand();break;case 'Save':B=new FCKSaveCommand();break;case 'NewPage':B=new FCKNewPageCommand();break;case 'PageBreak':B=new FCKPageBreakCommand();break;case 'Rule':B=new FCKRuleCommand();break;case 'TextColor':B=new FCKTextColorCommand('ForeColor');break;case 'BGColor':B=new FCKTextColorCommand('BackColor');break;case 'Paste':B=new FCKPasteCommand();break;case 'PasteText':B=new FCKPastePlainTextCommand();break;case 'PasteWord':B=new FCKPasteWordCommand();break;case 'JustifyLeft':B=new FCKJustifyCommand('left');break;case 'JustifyCenter':B=new FCKJustifyCommand('center');break;case 'JustifyRight':B=new FCKJustifyCommand('right');break;case 'JustifyFull':B=new FCKJustifyCommand('justify');break;case 'Indent':B=new FCKIndentCommand('indent',FCKConfig.IndentLength);break;case 'Outdent':B=new FCKIndentCommand('outdent',FCKConfig.IndentLength*-1);break;case 'Blockquote':B=new FCKBlockQuoteCommand();break;case 'TableInsertRowAfter':B=new FCKTableCommand('TableInsertRowAfter');break;case 'TableInsertRowBefore':B=new FCKTableCommand('TableInsertRowBefore');break;case 'TableDeleteRows':B=new FCKTableCommand('TableDeleteRows');break;case 'TableInsertColumnAfter':B=new FCKTableCommand('TableInsertColumnAfter');break;case 'TableInsertColumnBefore':B=new FCKTableCommand('TableInsertColumnBefore');break;case 'TableDeleteColumns':B=new FCKTableCommand('TableDeleteColumns');break;case 'TableInsertCellAfter':B=new FCKTableCommand('TableInsertCellAfter');break;case 'TableInsertCellBefore':B=new FCKTableCommand('TableInsertCellBefore');break;case 'TableDeleteCells':B=new FCKTableCommand('TableDeleteCells');break;case 'TableMergeCells':B=new FCKTableCommand('TableMergeCells');break;case 'TableMergeRight':B=new FCKTableCommand('TableMergeRight');break;case 'TableMergeDown':B=new FCKTableCommand('TableMergeDown');break;case 'TableHorizontalSplitCell':B=new FCKTableCommand('TableHorizontalSplitCell');break;case 'TableVerticalSplitCell':B=new FCKTableCommand('TableVerticalSplitCell');break;case 'TableDelete':B=new FCKTableCommand('TableDelete');break;case 'Form':B=new FCKDialogCommand('Form',FCKLang.Form,'dialog/fck_form.html',380,230);break;case 'Checkbox':B=new FCKDialogCommand('Checkbox',FCKLang.Checkbox,'dialog/fck_checkbox.html',380,230);break;case 'Radio':B=new FCKDialogCommand('Radio',FCKLang.RadioButton,'dialog/fck_radiobutton.html',380,230);break;case 'TextField':B=new FCKDialogCommand('TextField',FCKLang.TextField,'dialog/fck_textfield.html',380,230);break;case 'Textarea':B=new FCKDialogCommand('Textarea',FCKLang.Textarea,'dialog/fck_textarea.html',380,230);break;case 'HiddenField':B=new FCKDialogCommand('HiddenField',FCKLang.HiddenField,'dialog/fck_hiddenfield.html',380,230);break;case 'Button':B=new FCKDialogCommand('Button',FCKLang.Button,'dialog/fck_button.html',380,230);break;case 'Select':B=new FCKDialogCommand('Select',FCKLang.SelectionField,'dialog/fck_select.html',400,380);break;case 'ImageButton':B=new FCKDialogCommand('ImageButton',FCKLang.ImageButton,'dialog/fck_image.html?ImageButton',450,400);break;case 'SpellCheck':B=new FCKSpellCheckCommand();break;case 'FitWindow':B=new FCKFitWindow();break;case 'Undo':B=new FCKUndoCommand();break;case 'Redo':B=new FCKRedoCommand();break;case 'Copy':B=new FCKCopyCommand();break;case 'SelectAll':B=new FCKSelectAllCommand();break;case 'InsertOrderedList':B=new FCKListCommand('insertorderedlist','ol');break;case 'InsertUnorderedList':B=new FCKListCommand('insertunorderedlist','ul');break;case 'ShowBlocks':B=new FCKShowBlockCommand('ShowBlocks',FCKConfig.StartupShowBlocks?1:0);break;case 'Undefined':B=new FCKUndefinedCommand();break;default:if (FCKRegexLib.NamedCommands.test(A)) B=new FCKNamedCommand(A);else{alert(FCKLang.UnknownCommand.replace(/%1/g,A));return null;}};FCKCommands.LoadedCommands[A]=B;return B;};FCKCommands.GetFullPageState=function(){return FCKConfig.FullPage?0:-1;};FCKCommands.GetBooleanState=function(A){return A?-1:0;}; -var FCKPanel=function(A){this.IsRTL=(FCKLang.Dir=='rtl');this.IsContextMenu=false;this._LockCounter=0;this._Window=A||window;var B;if (FCKBrowserInfo.IsIE){this._Popup=this._Window.createPopup();B=this.Document=this._Popup.document;FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var C=this._IFrame=this._Window.document.createElement('iframe');C.src='javascript:void(0)';C.allowTransparency=true;C.frameBorder='0';C.scrolling='no';C.width=C.height=0;FCKDomTools.SetElementStyles(C,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});if (this._Window==window.parent&&window.frameElement){var D=null;if (FCKBrowserInfo.IsGecko&&FCK&&FCK.EditorDocument) D=[FCK.EditorDocument.body.scrollLeft,FCK.EditorDocument.body.scrollTop];window.frameElement.parentNode.insertBefore(C,window.frameElement);if (D){var E=function(){FCK.EditorDocument.body.scrollLeft=D[0];FCK.EditorDocument.body.scrollTop=D[1];};setTimeout(E,500);}}else this._Window.document.body.appendChild(C);var F=C.contentWindow;B=this.Document=F.document;var G='';if (FCKBrowserInfo.IsSafari) G='<base href="'+window.document.location+'">';B.open();B.write('<html><head>'+G+'<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>');B.close();FCKTools.AddEventListenerEx(F,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(F,'blur',FCKPanel_Window_OnBlur,this);};B.dir=FCKLang.Dir;FCKTools.AddEventListener(B,'contextmenu',FCKTools.CancelEvent);this.MainNode=B.body.appendChild(B.createElement('DIV'));this.MainNode.style.cssFloat=this.IsRTL?'right':'left';};FCKPanel.prototype.AppendStyleSheet=function(A){FCKTools.AppendStyleSheet(this.Document,A);};FCKPanel.prototype.Preload=function(x,y,A){if (this._Popup) this._Popup.show(x,y,0,0,A);};FCKPanel.prototype.Show=function(x,y,A,B,C){var D;var E=this.MainNode;if (this._Popup){this._Popup.show(x,y,0,0,A);FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};this._Popup.show(x,y,D,E.offsetHeight,A);if (this.OnHide){if (this._Timer) CheckPopupOnHide.call(this,true);this._Timer=FCKTools.SetInterval(CheckPopupOnHide,100,this);}}else{if (typeof(FCK.ToolbarSet.CurrentInstance.FocusManager)!='undefined') FCK.ToolbarSet.CurrentInstance.FocusManager.Lock();if (this.ParentPanel){this.ParentPanel.Lock();FCKPanel_Window_OnBlur(null,this.ParentPanel);};if (FCKPanel._OpenedPanel) FCKPanel._OpenedPanel.Hide();FCKDomTools.SetElementStyles(E,{B:B?B+'px':'',C:C?C+'px':''});D=E.offsetWidth;if (!B) this._IFrame.width=1;if (!C) this._IFrame.height=1;D=E.offsetWidth||E.firstChild.offsetWidth;var F=FCKTools.GetDocumentPosition(this._Window,A.nodeType==9?(FCKTools.IsStrictMode(A)?A.documentElement:A.body):A);var G=FCKDomTools.GetPositionedAncestor(FCKTools.GetElementWindow(this._IFrame),this._IFrame.parentNode);if (G){var H=FCKTools.GetDocumentPosition(FCKTools.GetElementWindow(G),G);F.x-=H.x;F.y-=H.y;};if (this.IsRTL&&!this.IsContextMenu) x=(x*-1);x+=F.x;y+=F.y;if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=x+A.offsetWidth-D;}else{var I=FCKTools.GetViewPaneSize(this._Window);var J=FCKTools.GetScrollPosition(this._Window);var K=I.Height+J.Y;var L=I.Width+J.X;if ((x+D)>L) x-=x+D-L;if ((y+E.offsetHeight)>K) y-=y+E.offsetHeight-K;};if (x<0) x=0;FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});var M=D;var N=E.offsetHeight;this._IFrame.width=M;this._IFrame.height=N;this._IFrame.contentWindow.focus();FCKPanel._OpenedPanel=this;};this._IsOpened=true;FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined') FCKFocusManager.Unlock();this._IFrame.width=this._IFrame.height=0;this._IsOpened=false;if (this.ParentPanel) this.ParentPanel.Unlock();if (!A) FCKTools.RunFunction(this.OnHide,this);}};FCKPanel.prototype.CheckIsOpened=function(){if (this._Popup) return this._Popup.isOpen;else return this._IsOpened;};FCKPanel.prototype.CreateChildPanel=function(){var A=this._Popup?FCKTools.GetDocumentWindow(this.Document):this._Window;var B=new FCKPanel(A);B.ParentPanel=this;return B;};FCKPanel.prototype.Lock=function(){this._LockCounter++;};FCKPanel.prototype.Unlock=function(){if (--this._LockCounter==0&&!this.HasFocus) this.Hide();};function FCKPanel_Window_OnFocus(e,A){A.HasFocus=true;};function FCKPanel_Window_OnBlur(e,A){A.HasFocus=false;if (A._LockCounter==0) FCKTools.RunFunction(A.Hide,A);};function CheckPopupOnHide(A){if (A||!this._Popup.isOpen){window.clearInterval(this._Timer);this._Timer=null;FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;}; -var FCKIcon=function(A){var B=A?typeof(A):'undefined';switch (B){case 'number':this.Path=FCKConfig.SkinPath+'fck_strip.gif';this.Size=16;this.Position=A;break;case 'undefined':this.Path=FCK_SPACER_PATH;break;case 'string':this.Path=A;break;default:this.Path=A[0];this.Size=A[1];this.Position=A[2];}};FCKIcon.prototype.CreateIconElement=function(A){var B,eIconImage;if (this.Position){var C='-'+((this.Position-1)*this.Size)+'px';if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path;eIconImage.style.top=C;}else{B=A.createElement('IMG');B.src=FCK_SPACER_PATH;B.style.backgroundPosition='0px '+C;B.style.backgroundImage='url("'+this.Path+'")';}}else{if (FCKBrowserInfo.IsIE){B=A.createElement('DIV');eIconImage=B.appendChild(A.createElement('IMG'));eIconImage.src=this.Path?this.Path:FCK_SPACER_PATH;}else{B=A.createElement('IMG');B.src=this.Path?this.Path:FCK_SPACER_PATH;}};B.className='TB_Button_Image';return B;} -var FCKToolbarButtonUI=function(A,B,C,D,E,F){this.Name=A;this.Label=B||A;this.Tooltip=C||this.Label;this.Style=E||0;this.State=F||0;this.Icon=new FCKIcon(D);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarButtonUI_Cleanup);};FCKToolbarButtonUI.prototype._CreatePaddingElement=function(A){var B=A.createElement('IMG');B.className='TB_Button_Padding';B.src=FCK_SPACER_PATH;return B;};FCKToolbarButtonUI.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;if (FCKBrowserInfo.IsGecko) C.onmousedown=FCKTools.CancelEvent;FCKTools.AddEventListenerEx(C,'mouseover',FCKToolbarButtonUI_OnMouseOver,this);FCKTools.AddEventListenerEx(C,'mouseout',FCKToolbarButtonUI_OnMouseOut,this);FCKTools.AddEventListenerEx(C,'click',FCKToolbarButtonUI_OnClick,this);this.ChangeState(this.State,true);if (this.Style==0&&!this.ShowArrow){C.appendChild(this.Icon.CreateIconElement(B));}else{var D=C.appendChild(B.createElement('TABLE'));D.cellPadding=0;D.cellSpacing=0;var E=D.insertRow(-1);var F=E.insertCell(-1);if (this.Style==0||this.Style==2) F.appendChild(this.Icon.CreateIconElement(B));else F.appendChild(this._CreatePaddingElement(B));if (this.Style==1||this.Style==2){F=E.insertCell(-1);F.className='TB_Button_Text';F.noWrap=true;F.appendChild(B.createTextNode(this.Label));};if (this.ShowArrow){if (this.Style!=0){E.insertCell(-1).appendChild(this._CreatePaddingElement(B));};F=E.insertCell(-1);var G=F.appendChild(B.createElement('IMG'));G.src=FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif';G.width=5;G.height=3;};F=E.insertCell(-1);F.appendChild(this._CreatePaddingElement(B));};A.appendChild(C);};FCKToolbarButtonUI.prototype.ChangeState=function(A,B){if (!B&&this.State==A) return;var e=this.MainElement;if (!e) return;switch (parseInt(A,10)){case 0:e.className='TB_Button_Off';break;case 1:e.className='TB_Button_On';break;case -1:e.className='TB_Button_Disabled';break;};this.State=A;};function FCKToolbarButtonUI_OnMouseOver(A,B){if (B.State==0) this.className='TB_Button_Off_Over';else if (B.State==1) this.className='TB_Button_On_Over';};function FCKToolbarButtonUI_OnMouseOut(A,B){if (B.State==0) this.className='TB_Button_Off';else if (B.State==1) this.className='TB_Button_On';};function FCKToolbarButtonUI_OnClick(A,B){if (B.OnClick&&B.State!=-1) B.OnClick(B);};function FCKToolbarButtonUI_Cleanup(){this.MainElement=null;}; -var FCKToolbarButton=function(A,B,C,D,E,F,G){this.CommandName=A;this.Label=B;this.Tooltip=C;this.Style=D;this.SourceView=E?true:false;this.ContextSensitive=F?true:false;if (G==null) this.IconPath=FCKConfig.SkinPath+'toolbar/'+A.toLowerCase()+'.gif';else if (typeof(G)=='number') this.IconPath=[FCKConfig.SkinPath+'fck_strip.gif',16,G];else this.IconPath=G;};FCKToolbarButton.prototype.Create=function(A){this._UIButton=new FCKToolbarButtonUI(this.CommandName,this.Label,this.Tooltip,this.IconPath,this.Style);this._UIButton.OnClick=this.Click;this._UIButton._ToolbarButton=this;this._UIButton.Create(A);};FCKToolbarButton.prototype.RefreshState=function(){var A=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (A==this._UIButton.State) return;this._UIButton.ChangeState(A);};FCKToolbarButton.prototype.Click=function(){var A=this._ToolbarButton||this;FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(A.CommandName).Execute();};FCKToolbarButton.prototype.Enable=function(){this.RefreshState();};FCKToolbarButton.prototype.Disable=function(){this._UIButton.ChangeState(-1);} -var FCKSpecialCombo=function(A,B,C,D,E){this.FieldWidth=B||100;this.PanelWidth=C||150;this.PanelMaxHeight=D||150;this.Label='&nbsp;';this.Caption=A;this.Tooltip=A;this.Style=2;this.Enabled=true;this.Items={};this._Panel=new FCKPanel(E||window);this._Panel.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');this._PanelBox=this._Panel.MainNode.appendChild(this._Panel.Document.createElement('DIV'));this._PanelBox.className='SC_Panel';this._PanelBox.style.width=this.PanelWidth+'px';this._PanelBox.innerHTML='<table cellpadding="0" cellspacing="0" width="100%" style="TABLE-LAYOUT: fixed"><tr><td nowrap></td></tr></table>';this._ItemsHolderEl=this._PanelBox.getElementsByTagName('TD')[0];if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKSpecialCombo_Cleanup);};function FCKSpecialCombo_ItemOnMouseOver(){this.className+=' SC_ItemOver';};function FCKSpecialCombo_ItemOnMouseOut(){this.className=this.originalClass;};function FCKSpecialCombo_ItemOnClick(A,B,C){this.className=this.originalClass;B._Panel.Hide();B.SetLabel(this.FCKItemLabel);if (typeof(B.OnSelect)=='function') B.OnSelect(C,this);};FCKSpecialCombo.prototype.ClearItems=function (){if (this.Items) this.Items={};var A=this._ItemsHolderEl;while (A.firstChild) A.removeChild(A.firstChild);};FCKSpecialCombo.prototype.AddItem=function(A,B,C,D){var E=this._ItemsHolderEl.appendChild(this._Panel.Document.createElement('DIV'));E.className=E.originalClass='SC_Item';E.innerHTML=B;E.FCKItemLabel=C||A;E.Selected=false;if (FCKBrowserInfo.IsIE) E.style.width='100%';if (D) E.style.backgroundColor=D;FCKTools.AddEventListenerEx(E,'mouseover',FCKSpecialCombo_ItemOnMouseOver);FCKTools.AddEventListenerEx(E,'mouseout',FCKSpecialCombo_ItemOnMouseOut);FCKTools.AddEventListenerEx(E,'click',FCKSpecialCombo_ItemOnClick,[this,A]);this.Items[A.toString().toLowerCase()]=E;return E;};FCKSpecialCombo.prototype.SelectItem=function(A){if (typeof A=='string') A=this.Items[A.toString().toLowerCase()];if (A){A.className=A.originalClass='SC_ItemSelected';A.Selected=true;}};FCKSpecialCombo.prototype.SelectItemByLabel=function(A,B){for (var C in this.Items){var D=this.Items[C];if (D.FCKItemLabel==A){D.className=D.originalClass='SC_ItemSelected';D.Selected=true;if (B) this.SetLabel(A);}}};FCKSpecialCombo.prototype.DeselectAll=function(A){for (var i in this.Items){if (!this.Items[i]) continue;this.Items[i].className=this.Items[i].originalClass='SC_Item';this.Items[i].Selected=false;};if (A) this.SetLabel('');};FCKSpecialCombo.prototype.SetLabelById=function(A){A=A?A.toString().toLowerCase():'';var B=this.Items[A];this.SetLabel(B?B.FCKItemLabel:'');};FCKSpecialCombo.prototype.SetLabel=function(A){A=(!A||A.length==0)?'&nbsp;':A;if (A==this.Label) return;this.Label=A;var B=this._LabelEl;if (B){B.innerHTML=A;FCKTools.DisableSelection(B);}};FCKSpecialCombo.prototype.SetEnabled=function(A){this.Enabled=A;if (this._OuterTable) this._OuterTable.className=A?'':'SC_FieldDisabled';};FCKSpecialCombo.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var C=this._OuterTable=A.appendChild(B.createElement('TABLE'));C.cellPadding=0;C.cellSpacing=0;C.insertRow(-1);var D;var E;switch (this.Style){case 0:D='TB_ButtonType_Icon';E=false;break;case 1:D='TB_ButtonType_Text';E=false;break;case 2:E=true;break;};if (this.Caption&&this.Caption.length>0&&E){var F=C.rows[0].insertCell(-1);F.innerHTML=this.Caption;F.className='SC_FieldCaption';};var G=FCKTools.AppendElement(C.rows[0].insertCell(-1),'div');if (E){G.className='SC_Field';G.style.width=this.FieldWidth+'px';G.innerHTML='<table width="100%" cellpadding="0" cellspacing="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldLabel"><label>&nbsp;</label></td><td class="SC_FieldButton">&nbsp;</td></tr></tbody></table>';this._LabelEl=G.getElementsByTagName('label')[0];this._LabelEl.innerHTML=this.Label;}else{G.className='TB_Button_Off';G.innerHTML='<table title="'+this.Tooltip+'" class="'+D+'" cellspacing="0" cellpadding="0" border="0"><tr><td><img class="TB_Button_Padding" src="'+FCK_SPACER_PATH+'" /></td><td class="TB_Text">'+this.Caption+'</td><td><img class="TB_Button_Padding" src="'+FCK_SPACER_PATH+'" /></td><td class="TB_ButtonArrow"><img src="'+FCKConfig.SkinPath+'images/toolbar.buttonarrow.gif" width="5" height="3"></td><td><img class="TB_Button_Padding" src="'+FCK_SPACER_PATH+'" /></td></tr></table>';};FCKTools.AddEventListenerEx(G,'mouseover',FCKSpecialCombo_OnMouseOver,this);FCKTools.AddEventListenerEx(G,'mouseout',FCKSpecialCombo_OnMouseOut,this);FCKTools.AddEventListenerEx(G,'click',FCKSpecialCombo_OnClick,this);FCKTools.DisableSelection(this._Panel.Document.body);};function FCKSpecialCombo_Cleanup(){this._LabelEl=null;this._OuterTable=null;this._ItemsHolderEl=null;this._PanelBox=null;if (this.Items){for (var A in this.Items) this.Items[A]=null;}};function FCKSpecialCombo_OnMouseOver(A,B){if (B.Enabled){switch (B.Style){case 0:this.className='TB_Button_On_Over';break;case 1:this.className='TB_Button_On_Over';break;case 2:this.className='SC_Field SC_FieldOver';break;}}};function FCKSpecialCombo_OnMouseOut(A,B){switch (B.Style){case 0:this.className='TB_Button_Off';break;case 1:this.className='TB_Button_Off';break;case 2:this.className='SC_Field';break;}};function FCKSpecialCombo_OnClick(e,A){if (A.Enabled){var B=A._Panel;var C=A._PanelBox;var D=A._ItemsHolderEl;var E=A.PanelMaxHeight;if (A.OnBeforeClick) A.OnBeforeClick(A);if (FCKBrowserInfo.IsIE) B.Preload(0,this.offsetHeight,this);if (D.offsetHeight>E) C.style.height=E+'px';else C.style.height='';B.Show(0,this.offsetHeight,this);}}; -var FCKToolbarSpecialCombo=function(){this.SourceView=false;this.ContextSensitive=true;};FCKToolbarSpecialCombo.prototype.DefaultLabel='';function FCKToolbarSpecialCombo_OnSelect(A,B){FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).Execute(A,B);};FCKToolbarSpecialCombo.prototype.Create=function(A){this._Combo=new FCKSpecialCombo(this.GetLabel(),this.FieldWidth,this.PanelWidth,this.PanelMaxHeight,FCKBrowserInfo.IsIE?window:FCKTools.GetElementWindow(A).parent);this._Combo.Tooltip=this.Tooltip;this._Combo.Style=this.Style;this.CreateItems(this._Combo);this._Combo.Create(A);this._Combo.CommandName=this.CommandName;this._Combo.OnSelect=FCKToolbarSpecialCombo_OnSelect;};function FCKToolbarSpecialCombo_RefreshActiveItems(A,B){A.DeselectAll();A.SelectItem(B);A.SetLabelById(B);};FCKToolbarSpecialCombo.prototype.RefreshState=function(){var A;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B!=-1){A=1;if (this.RefreshActiveItems) this.RefreshActiveItems(this._Combo,B);else{if (this._LastValue!==B){this._LastValue=B;if (!B||B.length==0){this._Combo.DeselectAll();this._Combo.SetLabel(this.DefaultLabel);}else FCKToolbarSpecialCombo_RefreshActiveItems(this._Combo,B);}}}else A=-1;if (A==this.State) return;if (A==-1){this._Combo.DeselectAll();this._Combo.SetLabel('');};this.State=A;this._Combo.SetEnabled(A!=-1);};FCKToolbarSpecialCombo.prototype.Enable=function(){this.RefreshState();};FCKToolbarSpecialCombo.prototype.Disable=function(){this.State=-1;this._Combo.DeselectAll();this._Combo.SetLabel('');this._Combo.SetEnabled(false);}; -var FCKToolbarStyleCombo=function(A,B){if (A===false) return;this.CommandName='Style';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultStyleLabel||'';};FCKToolbarStyleCombo.prototype=new FCKToolbarSpecialCombo;FCKToolbarStyleCombo.prototype.GetLabel=function(){return FCKLang.Style;};FCKToolbarStyleCombo.prototype.GetStyles=function(){var A={};var B=FCK.ToolbarSet.CurrentInstance.Styles.GetStyles();for (var C in B){var D=B[C];if (!D.IsCore) A[C]=D;};return A;};FCKToolbarStyleCombo.prototype.CreateItems=function(A){var B=A._Panel.Document;FCKTools.AppendStyleSheet(B,FCKConfig.ToolbarComboPreviewCSS);FCKTools.AppendStyleString(B,FCKConfig.EditorAreaStyles);B.body.className+=' ForceBaseFont';FCKConfig.ApplyBodyAttributes(B.body);var C=this.GetStyles();for (var D in C){var E=C[D];var F=E.GetType()==2?D:FCKToolbarStyleCombo_BuildPreview(E,E.Label||D);var G=A.AddItem(D,F);G.Style=E;};A.OnBeforeClick=this.StyleCombo_OnBeforeClick;};FCKToolbarStyleCombo.prototype.RefreshActiveItems=function(A){var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Elements;for (var e=0;e<D.length;e++){for (var i in A.Items){var E=A.Items[i];var F=E.Style;if (F.CheckElementRemovable(D[e],true)){A.SetLabel(F.Label||F.Name);return;}}}};A.SetLabel(this.DefaultLabel);};FCKToolbarStyleCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B;var C;var D;var E=FCK.ToolbarSet.CurrentInstance.Selection;if (E.GetType()=='Control'){B=E.GetSelectedElement();D=B.nodeName.toLowerCase();}else{B=E.GetBoundaryParentElement(true);C=new FCKElementPath(B);};for (var i in A.Items){var F=A.Items[i];var G=F.Style;if ((D&&G.Element==D)||(!D&&G.GetType()!=2)){F.style.display='';if ((C&&G.CheckActive(C))||(!C&&G.CheckElementRemovable(B,true))) A.SelectItem(G.Name);}else F.style.display='none';}};function FCKToolbarStyleCombo_BuildPreview(A,B){var C=A.GetType();var D=[];if (C==0) D.push('<div class="BaseFont">');var E=A.Element;if (E=='bdo') E='span';D=['<',E];var F=A._StyleDesc.Attributes;if (F){for (var G in F){D.push(' ',G,'="',A.GetFinalAttributeValue(G),'"');}};if (A._GetStyleText().length>0) D.push(' style="',A.GetFinalStyleValue(),'"');D.push('>',B,'</',E,'>');if (C==0) D.push('</div>');return D.join('');} -var FCKToolbarFontFormatCombo=function(A,B){if (A===false) return;this.CommandName='FontFormat';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.NormalLabel='Normal';this.PanelWidth=190;this.DefaultLabel=FCKConfig.DefaultFontFormatLabel||'';};FCKToolbarFontFormatCombo.prototype=new FCKToolbarStyleCombo(false);FCKToolbarFontFormatCombo.prototype.GetLabel=function(){return FCKLang.FontFormat;};FCKToolbarFontFormatCombo.prototype.GetStyles=function(){var A={};var B=FCKLang['FontFormats'].split(';');var C={p:B[0],pre:B[1],address:B[2],h1:B[3],h2:B[4],h3:B[5],h4:B[6],h5:B[7],h6:B[8],div:B[9]||(B[0]+' (DIV)')};var D=FCKConfig.FontFormats.split(';');for (var i=0;i<D.length;i++){var E=D[i];var F=FCKStyles.GetStyle('_FCK_'+E);if (F){F.Label=C[E];A['_FCK_'+E]=F;}else alert("The FCKConfig.CoreStyles['"+E+"'] setting was not found. Please check the fckconfig.js file");};return A;};FCKToolbarFontFormatCombo.prototype.RefreshActiveItems=function(A){var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Block;if (D){for (var i in A.Items){var E=A.Items[i];var F=E.Style;if (F.CheckElementRemovable(D)){A.SetLabel(F.Label);return;}}}};A.SetLabel(this.DefaultLabel);};FCKToolbarFontFormatCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B=FCK.ToolbarSet.CurrentInstance.Selection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);var D=C.Block;for (var i in A.Items){var E=A.Items[i];var F=E.Style;if (F.CheckElementRemovable(D)){A.SelectItem(E);return;}}}}; -var FCKToolbarFontsCombo=function(A,B){this.CommandName='FontName';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontLabel||'';};FCKToolbarFontsCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontsCombo.prototype.GetLabel=function(){return FCKLang.Font;};FCKToolbarFontsCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle('_FCK_FontFace');if (!A){alert("The FCKConfig.CoreStyles['Size'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontNames.split(';');for (var i=0;i<C.length;i++){var D=C[i].split('/');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable('Font',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontsCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick=function(A){A.DeselectAll();var B=FCKSelection.GetBoundaryParentElement(true);if (B){var C=new FCKElementPath(B);for (var i in A.Items){var D=A.Items[i];var E=D.Style;if (E.CheckActive(C)){A.SelectItem(D);return;}}}}; -var FCKToolbarFontSizeCombo=function(A,B){this.CommandName='FontSize';this.Label=this.GetLabel();this.Tooltip=A?A:this.Label;this.Style=B?B:2;this.DefaultLabel=FCKConfig.DefaultFontSizeLabel||'';this.FieldWidth=70;};FCKToolbarFontSizeCombo.prototype=new FCKToolbarFontFormatCombo(false);FCKToolbarFontSizeCombo.prototype.GetLabel=function(){return FCKLang.FontSize;};FCKToolbarFontSizeCombo.prototype.GetStyles=function(){var A=FCKStyles.GetStyle('_FCK_Size');if (!A){alert("The FCKConfig.CoreStyles['FontFace'] setting was not found. Please check the fckconfig.js file");return {};};var B={};var C=FCKConfig.FontSizes.split(';');for (var i=0;i<C.length;i++){var D=C[i].split('/');var E=D[0];var F=D[1]||E;var G=FCKTools.CloneObject(A);G.SetVariable('Size',E);G.Label=F;B[F]=G;};return B;};FCKToolbarFontSizeCombo.prototype.RefreshActiveItems=FCKToolbarStyleCombo.prototype.RefreshActiveItems;FCKToolbarFontSizeCombo.prototype.StyleCombo_OnBeforeClick=FCKToolbarFontsCombo.prototype.StyleCombo_OnBeforeClick; -var FCKToolbarPanelButton=function(A,B,C,D,E){this.CommandName=A;var F;if (E==null) F=FCKConfig.SkinPath+'toolbar/'+A.toLowerCase()+'.gif';else if (typeof(E)=='number') F=[FCKConfig.SkinPath+'fck_strip.gif',16,E];var G=this._UIButton=new FCKToolbarButtonUI(A,B,C,F,D);G._FCKToolbarPanelButton=this;G.ShowArrow=true;G.OnClick=FCKToolbarPanelButton_OnButtonClick;};FCKToolbarPanelButton.prototype.TypeName='FCKToolbarPanelButton';FCKToolbarPanelButton.prototype.Create=function(A){A.className+='Menu';this._UIButton.Create(A);var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName)._Panel;B._FCKToolbarPanelButton=this;var C=B.Document.body.appendChild(B.Document.createElement('div'));C.style.position='absolute';C.style.top='0px';var D=this.LineImg=C.appendChild(B.Document.createElement('IMG'));D.className='TB_ConnectionLine';D.style.position='absolute';D.src=FCK_SPACER_PATH;B.OnHide=FCKToolbarPanelButton_OnPanelHide;};function FCKToolbarPanelButton_OnButtonClick(A){var B=this._FCKToolbarPanelButton;var e=B._UIButton.MainElement;B._UIButton.ChangeState(1);B.LineImg.style.width=(e.offsetWidth-2)+'px';FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(B.CommandName).Execute(0,e.offsetHeight-1,e);};function FCKToolbarPanelButton_OnPanelHide(){var A=this._FCKToolbarPanelButton;A._UIButton.ChangeState(0);};FCKToolbarPanelButton.prototype.RefreshState=FCKToolbarButton.prototype.RefreshState;FCKToolbarPanelButton.prototype.Enable=FCKToolbarButton.prototype.Enable;FCKToolbarPanelButton.prototype.Disable=FCKToolbarButton.prototype.Disable; -var FCKToolbarItems={};FCKToolbarItems.LoadedItems={};FCKToolbarItems.RegisterItem=function(A,B){this.LoadedItems[A]=B;};FCKToolbarItems.GetItem=function(A){var B=FCKToolbarItems.LoadedItems[A];if (B) return B;switch (A){case 'Source':B=new FCKToolbarButton('Source',FCKLang.Source,null,2,true,true,1);break;case 'DocProps':B=new FCKToolbarButton('DocProps',FCKLang.DocProps,null,null,null,null,2);break;case 'Save':B=new FCKToolbarButton('Save',FCKLang.Save,null,null,true,null,3);break;case 'NewPage':B=new FCKToolbarButton('NewPage',FCKLang.NewPage,null,null,true,null,4);break;case 'Preview':B=new FCKToolbarButton('Preview',FCKLang.Preview,null,null,true,null,5);break;case 'Templates':B=new FCKToolbarButton('Templates',FCKLang.Templates,null,null,null,null,6);break;case 'About':B=new FCKToolbarButton('About',FCKLang.About,null,null,true,null,47);break;case 'Cut':B=new FCKToolbarButton('Cut',FCKLang.Cut,null,null,false,true,7);break;case 'Copy':B=new FCKToolbarButton('Copy',FCKLang.Copy,null,null,false,true,8);break;case 'Paste':B=new FCKToolbarButton('Paste',FCKLang.Paste,null,null,false,true,9);break;case 'PasteText':B=new FCKToolbarButton('PasteText',FCKLang.PasteText,null,null,false,true,10);break;case 'PasteWord':B=new FCKToolbarButton('PasteWord',FCKLang.PasteWord,null,null,false,true,11);break;case 'Print':B=new FCKToolbarButton('Print',FCKLang.Print,null,null,false,true,12);break;case 'SpellCheck':B=new FCKToolbarButton('SpellCheck',FCKLang.SpellCheck,null,null,null,null,13);break;case 'Undo':B=new FCKToolbarButton('Undo',FCKLang.Undo,null,null,false,true,14);break;case 'Redo':B=new FCKToolbarButton('Redo',FCKLang.Redo,null,null,false,true,15);break;case 'SelectAll':B=new FCKToolbarButton('SelectAll',FCKLang.SelectAll,null,null,true,null,18);break;case 'RemoveFormat':B=new FCKToolbarButton('RemoveFormat',FCKLang.RemoveFormat,null,null,false,true,19);break;case 'FitWindow':B=new FCKToolbarButton('FitWindow',FCKLang.FitWindow,null,null,true,true,66);break;case 'Bold':B=new FCKToolbarButton('Bold',FCKLang.Bold,null,null,false,true,20);break;case 'Italic':B=new FCKToolbarButton('Italic',FCKLang.Italic,null,null,false,true,21);break;case 'Underline':B=new FCKToolbarButton('Underline',FCKLang.Underline,null,null,false,true,22);break;case 'StrikeThrough':B=new FCKToolbarButton('StrikeThrough',FCKLang.StrikeThrough,null,null,false,true,23);break;case 'Subscript':B=new FCKToolbarButton('Subscript',FCKLang.Subscript,null,null,false,true,24);break;case 'Superscript':B=new FCKToolbarButton('Superscript',FCKLang.Superscript,null,null,false,true,25);break;case 'OrderedList':B=new FCKToolbarButton('InsertOrderedList',FCKLang.NumberedListLbl,FCKLang.NumberedList,null,false,true,26);break;case 'UnorderedList':B=new FCKToolbarButton('InsertUnorderedList',FCKLang.BulletedListLbl,FCKLang.BulletedList,null,false,true,27);break;case 'Outdent':B=new FCKToolbarButton('Outdent',FCKLang.DecreaseIndent,null,null,false,true,28);break;case 'Indent':B=new FCKToolbarButton('Indent',FCKLang.IncreaseIndent,null,null,false,true,29);break;case 'Blockquote':B=new FCKToolbarButton('Blockquote',FCKLang.Blockquote,null,null,false,true,73);break;case 'Link':B=new FCKToolbarButton('Link',FCKLang.InsertLinkLbl,FCKLang.InsertLink,null,false,true,34);break;case 'Unlink':B=new FCKToolbarButton('Unlink',FCKLang.RemoveLink,null,null,false,true,35);break;case 'Anchor':B=new FCKToolbarButton('Anchor',FCKLang.Anchor,null,null,null,null,36);break;case 'Image':B=new FCKToolbarButton('Image',FCKLang.InsertImageLbl,FCKLang.InsertImage,null,false,true,37);break;case 'Flash':B=new FCKToolbarButton('Flash',FCKLang.InsertFlashLbl,FCKLang.InsertFlash,null,false,true,38);break;case 'Table':B=new FCKToolbarButton('Table',FCKLang.InsertTableLbl,FCKLang.InsertTable,null,false,true,39);break;case 'SpecialChar':B=new FCKToolbarButton('SpecialChar',FCKLang.InsertSpecialCharLbl,FCKLang.InsertSpecialChar,null,false,true,42);break;case 'Smiley':B=new FCKToolbarButton('Smiley',FCKLang.InsertSmileyLbl,FCKLang.InsertSmiley,null,false,true,41);break;case 'PageBreak':B=new FCKToolbarButton('PageBreak',FCKLang.PageBreakLbl,FCKLang.PageBreak,null,false,true,43);break;case 'Rule':B=new FCKToolbarButton('Rule',FCKLang.InsertLineLbl,FCKLang.InsertLine,null,false,true,40);break;case 'JustifyLeft':B=new FCKToolbarButton('JustifyLeft',FCKLang.LeftJustify,null,null,false,true,30);break;case 'JustifyCenter':B=new FCKToolbarButton('JustifyCenter',FCKLang.CenterJustify,null,null,false,true,31);break;case 'JustifyRight':B=new FCKToolbarButton('JustifyRight',FCKLang.RightJustify,null,null,false,true,32);break;case 'JustifyFull':B=new FCKToolbarButton('JustifyFull',FCKLang.BlockJustify,null,null,false,true,33);break;case 'Style':B=new FCKToolbarStyleCombo();break;case 'FontName':B=new FCKToolbarFontsCombo();break;case 'FontSize':B=new FCKToolbarFontSizeCombo();break;case 'FontFormat':B=new FCKToolbarFontFormatCombo();break;case 'TextColor':B=new FCKToolbarPanelButton('TextColor',FCKLang.TextColor,null,null,45);break;case 'BGColor':B=new FCKToolbarPanelButton('BGColor',FCKLang.BGColor,null,null,46);break;case 'Find':B=new FCKToolbarButton('Find',FCKLang.Find,null,null,null,null,16);break;case 'Replace':B=new FCKToolbarButton('Replace',FCKLang.Replace,null,null,null,null,17);break;case 'Form':B=new FCKToolbarButton('Form',FCKLang.Form,null,null,null,null,48);break;case 'Checkbox':B=new FCKToolbarButton('Checkbox',FCKLang.Checkbox,null,null,null,null,49);break;case 'Radio':B=new FCKToolbarButton('Radio',FCKLang.RadioButton,null,null,null,null,50);break;case 'TextField':B=new FCKToolbarButton('TextField',FCKLang.TextField,null,null,null,null,51);break;case 'Textarea':B=new FCKToolbarButton('Textarea',FCKLang.Textarea,null,null,null,null,52);break;case 'HiddenField':B=new FCKToolbarButton('HiddenField',FCKLang.HiddenField,null,null,null,null,56);break;case 'Button':B=new FCKToolbarButton('Button',FCKLang.Button,null,null,null,null,54);break;case 'Select':B=new FCKToolbarButton('Select',FCKLang.SelectionField,null,null,null,null,53);break;case 'ImageButton':B=new FCKToolbarButton('ImageButton',FCKLang.ImageButton,null,null,null,null,55);break;case 'ShowBlocks':B=new FCKToolbarButton('ShowBlocks',FCKLang.ShowBlocks,null,null,null,true,72);break;default:alert(FCKLang.UnknownToolbarItem.replace(/%1/g,A));return null;};FCKToolbarItems.LoadedItems[A]=B;return B;}; -var FCKToolbar=function(){this.Items=[];};FCKToolbar.prototype.AddItem=function(A){return this.Items[this.Items.length]=A;};FCKToolbar.prototype.AddButton=function(A,B,C,D,E,F){if (typeof(D)=='number') D=[this.DefaultIconsStrip,this.DefaultIconSize,D];var G=new FCKToolbarButtonUI(A,B,C,D,E,F);G._FCKToolbar=this;G.OnClick=FCKToolbar_OnItemClick;return this.AddItem(G);};function FCKToolbar_OnItemClick(A){var B=A._FCKToolbar;if (B.OnItemClick) B.OnItemClick(B,A);};FCKToolbar.prototype.AddSeparator=function(){this.AddItem(new FCKToolbarSeparator());};FCKToolbar.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var e=B.createElement('table');e.className='TB_Toolbar';e.style.styleFloat=e.style.cssFloat=(FCKLang.Dir=='ltr'?'left':'right');e.dir=FCKLang.Dir;e.cellPadding=0;e.cellSpacing=0;var C=e.insertRow(-1);var D;if (!this.HideStart){D=C.insertCell(-1);D.appendChild(B.createElement('div')).className='TB_Start';};for (var i=0;i<this.Items.length;i++){this.Items[i].Create(C.insertCell(-1));};if (!this.HideEnd){D=C.insertCell(-1);D.appendChild(B.createElement('div')).className='TB_End';};A.appendChild(e);};var FCKToolbarSeparator=function(){};FCKToolbarSeparator.prototype.Create=function(A){FCKTools.AppendElement(A,'div').className='TB_Separator';} -var FCKToolbarBreak=function(){};FCKToolbarBreak.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A).createElement('div');B.className='TB_Break';B.style.clear=FCKLang.Dir=='rtl'?'left':'right';A.appendChild(B);}; -function FCKToolbarSet_Create(A){var B;var C=A||FCKConfig.ToolbarLocation;switch (C){case 'In':document.getElementById('xToolbarRow').style.display='';B=new FCKToolbarSet(document);break;case 'None':B=new FCKToolbarSet(document);break;default:FCK.Events.AttachEvent('OnBlur',FCK_OnBlur);FCK.Events.AttachEvent('OnFocus',FCK_OnFocus);var D;var E=C.match(/^Out:(.+)\((\w+)\)$/);if (E){D=eval('parent.'+E[1]).document.getElementById(E[2]);}else{E=C.match(/^Out:(\w+)$/);if (E) D=parent.document.getElementById(E[1]);};if (!D){alert('Invalid value for "ToolbarLocation"');return arguments.callee('In');};B=D.__FCKToolbarSet;if (B) break;var F=FCKTools.GetElementDocument(D).createElement('iframe');F.src='javascript:void(0)';F.frameBorder=0;F.width='100%';F.height='10';D.appendChild(F);F.unselectable='on';var G=F.contentWindow.document;var H='';if (FCKBrowserInfo.IsSafari) H='<base href="'+window.document.location+'">';G.open();G.write('<html><head>'+H+'<script type="text/javascript"> var adjust = function() { window.frameElement.height = document.body.scrollHeight ; }; window.onresize = adjust; window.onload = function () {window.setTimeout( adjust, 0 );}</script></head><body style="overflow: hidden">'+document.getElementById('xToolbarSpace').innerHTML+'</body></html>');G.close();FCKTools.AddEventListener(G,'contextmenu',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinPath+'fck_editor.css');B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;FCK.AttachToOnSelectionChange(B.RefreshItemsState);return B;};function FCK_OnBlur(A){var B=A.ToolbarSet;if (B.CurrentInstance==A) B.Disable();};function FCK_OnFocus(A){var B=A.ToolbarSet;var C=A||FCK;B.CurrentInstance.FocusManager.RemoveWindow(B._IFrame.contentWindow);B.CurrentInstance=C;C.FocusManager.AddWindow(B._IFrame.contentWindow,true);B.Enable();};function FCKToolbarSet_Cleanup(){this._TargetElement=null;this._IFrame=null;};function FCKToolbarSet_Target_Cleanup(){this.__FCKToolbarSet=null;};var FCKToolbarSet=function(A){this._Document=A;this._TargetElement=A.getElementById('xToolbar');var B=A.getElementById('xExpandHandle');var C=A.getElementById('xCollapseHandle');B.title=FCKLang.ToolbarExpand;FCKTools.AddEventListener(B,'click',FCKToolbarSet_Expand_OnClick);C.title=FCKLang.ToolbarCollapse;FCKTools.AddEventListener(C,'click',FCKToolbarSet_Collapse_OnClick);if (!FCKConfig.ToolbarCanCollapse||FCKConfig.ToolbarStartExpanded) this.Expand();else this.Collapse();C.style.display=FCKConfig.ToolbarCanCollapse?'':'none';if (FCKConfig.ToolbarCanCollapse) C.style.display='';else A.getElementById('xTBLeftBorder').style.display='';this.Toolbars=[];this.IsLoaded=false;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKToolbarSet_Cleanup);};function FCKToolbarSet_Expand_OnClick(){FCK.ToolbarSet.Expand();};function FCKToolbarSet_Collapse_OnClick(){FCK.ToolbarSet.Collapse();};FCKToolbarSet.prototype.Expand=function(){this._ChangeVisibility(false);};FCKToolbarSet.prototype.Collapse=function(){this._ChangeVisibility(true);};FCKToolbarSet.prototype._ChangeVisibility=function(A){this._Document.getElementById('xCollapsed').style.display=A?'':'none';this._Document.getElementById('xExpanded').style.display=A?'none':'';if (FCKBrowserInfo.IsGecko){FCKTools.RunFunction(window.onresize);}};FCKToolbarSet.prototype.Load=function(A){this.Name=A;this.Items=[];this.ItemsWysiwygOnly=[];this.ItemsContextSensitive=[];this._TargetElement.innerHTML='';var B=FCKConfig.ToolbarSets[A];if (!B){alert(FCKLang.UnknownToolbarSet.replace(/%1/g,A));return;};this.Toolbars=[];for (var x=0;x<B.length;x++){var C=B[x];if (!C) continue;var D;if (typeof(C)=='string'){if (C=='/') D=new FCKToolbarBreak();}else{D=new FCKToolbar();for (var j=0;j<C.length;j++){var E=C[j];if (E=='-') D.AddSeparator();else{var F=FCKToolbarItems.GetItem(E);if (F){D.AddItem(F);this.Items.push(F);if (!F.SourceView) this.ItemsWysiwygOnly.push(F);if (F.ContextSensitive) this.ItemsContextSensitive.push(F);}}}};D.Create(this._TargetElement);this.Toolbars[this.Toolbars.length]=D;};FCKTools.DisableSelection(this._Document.getElementById('xCollapseHandle').parentNode);if (FCK.Status!=2) FCK.Events.AttachEvent('OnStatusChange',this.RefreshModeState);else this.RefreshModeState();this.IsLoaded=true;this.IsEnabled=true;FCKTools.RunFunction(this.OnLoad);};FCKToolbarSet.prototype.Enable=function(){if (this.IsEnabled) return;this.IsEnabled=true;var A=this.Items;for (var i=0;i<A.length;i++) A[i].RefreshState();};FCKToolbarSet.prototype.Disable=function(){if (!this.IsEnabled) return;this.IsEnabled=false;var A=this.Items;for (var i=0;i<A.length;i++) A[i].Disable();};FCKToolbarSet.prototype.RefreshModeState=function(A){if (FCK.Status!=2) return;var B=A?A.ToolbarSet:this;var C=B.ItemsWysiwygOnly;if (FCK.EditMode==0){for (var i=0;i<C.length;i++) C[i].Enable();B.RefreshItemsState(A);}else{B.RefreshItemsState(A);for (var j=0;j<C.length;j++) C[j].Disable();}};FCKToolbarSet.prototype.RefreshItemsState=function(A){var B=(A?A.ToolbarSet:this).ItemsContextSensitive;for (var i=0;i<B.length;i++) B[i].RefreshState();}; -var FCKDialog={};FCKDialog.OpenDialog=function(A,B,C,D,E,F,G,H){var I={};I.Title=B;I.Page=C;I.Editor=window;I.CustomValue=F;var J=FCKConfig.BasePath+'fckdialog.html';this.Show(I,A,J,D,E,G,H);}; -FCKDialog.Show=function(A,B,C,D,E,F,G){if (!F) F=window;var H='help:no;scroll:no;status:no;resizable:'+(G?'yes':'no')+';dialogWidth:'+D+'px;dialogHeight:'+E+'px';FCKFocusManager.Lock();var I='B';try{A.DialogName=B;I=F.showModalDialog(C,A,H);}catch(e) {};if ('B'===I) alert(FCKLang.DialogBlocked);FCKFocusManager.Unlock();}; -var FCKMenuItem=function(A,B,C,D,E){this.Name=B;this.Label=C||B;this.IsDisabled=E;this.Icon=new FCKIcon(D);this.SubMenu=new FCKMenuBlockPanel();this.SubMenu.Parent=A;this.SubMenu.OnClick=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D);};FCKMenuItem.prototype.AddSeparator=function(){this.SubMenu.AddSeparator();};FCKMenuItem.prototype.Create=function(A){var B=this.HasSubMenu;var C=FCKTools.GetElementDocument(A);var r=this.MainElement=A.insertRow(-1);r.className=this.IsDisabled?'MN_Item_Disabled':'MN_Item';if (!this.IsDisabled){FCKTools.AddEventListenerEx(r,'mouseover',FCKMenuItem_OnMouseOver,[this]);FCKTools.AddEventListenerEx(r,'click',FCKMenuItem_OnClick,[this]);if (!B) FCKTools.AddEventListenerEx(r,'mouseout',FCKMenuItem_OnMouseOut,[this]);};var D=r.insertCell(-1);D.className='MN_Icon';D.appendChild(this.Icon.CreateIconElement(C));D=r.insertCell(-1);D.className='MN_Label';D.noWrap=true;D.appendChild(C.createTextNode(this.Label));D=r.insertCell(-1);if (B){D.className='MN_Arrow';var E=D.appendChild(C.createElement('IMG'));E.src=FCK_IMAGES_PATH+'arrow_'+FCKLang.Dir+'.gif';E.width=4;E.height=7;this.SubMenu.Create();this.SubMenu.Panel.OnHide=FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnHide,this);}};FCKMenuItem.prototype.Activate=function(){this.MainElement.className='MN_Item_Over';if (this.HasSubMenu){this.SubMenu.Show(this.MainElement.offsetWidth+2,-2,this.MainElement);};FCKTools.RunFunction(this.OnActivate,this);};FCKMenuItem.prototype.Deactivate=function(){this.MainElement.className='MN_Item';if (this.HasSubMenu) this.SubMenu.Hide();};function FCKMenuItem_SubMenu_OnClick(A,B){FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuItem_SubMenu_OnHide(A){A.Deactivate();};function FCKMenuItem_OnClick(A,B){if (B.HasSubMenu) B.Activate();else{B.Deactivate();FCKTools.RunFunction(B.OnClick,B,[B]);}};function FCKMenuItem_OnMouseOver(A,B){B.Activate();};function FCKMenuItem_OnMouseOut(A,B){B.Deactivate();};function FCKMenuItem_Cleanup(){this.MainElement=null;} -var FCKMenuBlock=function(){this._Items=[];};FCKMenuBlock.prototype.Count=function(){return this._Items.length;};FCKMenuBlock.prototype.AddItem=function(A,B,C,D){var E=new FCKMenuItem(this,A,B,C,D);E.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);E.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(E);return E;};FCKMenuBlock.prototype.AddSeparator=function(){this._Items.push(new FCKMenuSeparator());};FCKMenuBlock.prototype.RemoveAllItems=function(){this._Items=[];var A=this._ItemsTable;if (A){while (A.rows.length>0) A.deleteRow(0);}};FCKMenuBlock.prototype.Create=function(A){if (!this._ItemsTable){if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuBlock_Cleanup);this._Window=FCKTools.GetElementWindow(A);var B=FCKTools.GetElementDocument(A);var C=A.appendChild(B.createElement('table'));C.cellPadding=0;C.cellSpacing=0;FCKTools.DisableSelection(C);var D=C.insertRow(-1).insertCell(-1);D.className='MN_Menu';var E=this._ItemsTable=D.appendChild(B.createElement('table'));E.cellPadding=0;E.cellSpacing=0;};for (var i=0;i<this._Items.length;i++) this._Items[i].Create(this._ItemsTable);};function FCKMenuBlock_Item_OnClick(A,B){if (B.Hide) B.Hide();FCKTools.RunFunction(B.OnClick,B,[A]);};function FCKMenuBlock_Item_OnActivate(A){var B=A._ActiveItem;if (B&&B!=this){if (!FCKBrowserInfo.IsIE&&B.HasSubMenu&&!this.HasSubMenu){A._Window.focus();A.Panel.HasFocus=true;};B.Deactivate();};A._ActiveItem=this;};function FCKMenuBlock_Cleanup(){this._Window=null;this._ItemsTable=null;};var FCKMenuSeparator=function(){};FCKMenuSeparator.prototype.Create=function(A){var B=FCKTools.GetElementDocument(A);var r=A.insertRow(-1);var C=r.insertCell(-1);C.className='MN_Separator MN_Icon';C=r.insertCell(-1);C.className='MN_Separator';C.appendChild(B.createElement('DIV')).className='MN_Separator_Line';C=r.insertCell(-1);C.className='MN_Separator';C.appendChild(B.createElement('DIV')).className='MN_Separator_Line';} -var FCKMenuBlockPanel=function(){FCKMenuBlock.call(this);};FCKMenuBlockPanel.prototype=new FCKMenuBlock();FCKMenuBlockPanel.prototype.Create=function(){var A=this.Panel=(this.Parent&&this.Parent.Panel?this.Parent.Panel.CreateChildPanel():new FCKPanel());A.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');FCKMenuBlock.prototype.Create.call(this,A.MainNode);};FCKMenuBlockPanel.prototype.Show=function(x,y,A){if (!this.Panel.CheckIsOpened()) this.Panel.Show(x,y,A);};FCKMenuBlockPanel.prototype.Hide=function(){if (this.Panel.CheckIsOpened()) this.Panel.Hide();} -var FCKContextMenu=function(A,B){this.CtrlDisable=false;var C=this._Panel=new FCKPanel(A);C.AppendStyleSheet(FCKConfig.SkinPath+'fck_editor.css');C.IsContextMenu=true;if (FCKBrowserInfo.IsGecko) C.Document.addEventListener('draggesture',function(e) {e.preventDefault();return false;},true);var D=this._MenuBlock=new FCKMenuBlock();D.Panel=C;D.OnClick=FCKTools.CreateEventListener(FCKContextMenu_MenuBlock_OnClick,this);this._Redraw=true;};FCKContextMenu.prototype.SetMouseClickWindow=function(A){if (!FCKBrowserInfo.IsIE){this._Document=A.document;if (FCKBrowserInfo.IsOpera&&!('oncontextmenu' in document.createElement('foo'))){this._Document.addEventListener('mousedown',FCKContextMenu_Document_OnMouseDown,false);this._Document.addEventListener('mouseup',FCKContextMenu_Document_OnMouseUp,false);};this._Document.addEventListener('contextmenu',FCKContextMenu_Document_OnContextMenu,false);}};FCKContextMenu.prototype.AddItem=function(A,B,C,D){var E=this._MenuBlock.AddItem(A,B,C,D);this._Redraw=true;return E;};FCKContextMenu.prototype.AddSeparator=function(){this._MenuBlock.AddSeparator();this._Redraw=true;};FCKContextMenu.prototype.RemoveAllItems=function(){this._MenuBlock.RemoveAllItems();this._Redraw=true;};FCKContextMenu.prototype.AttachToElement=function(A){if (FCKBrowserInfo.IsIE) FCKTools.AddEventListenerEx(A,'contextmenu',FCKContextMenu_AttachedElement_OnContextMenu,this);else A._FCKContextMenu=this;};function FCKContextMenu_Document_OnContextMenu(e){var A=e.target;while (A){if (A._FCKContextMenu){if (A._FCKContextMenu.CtrlDisable&&(e.ctrlKey||e.metaKey)) return true;FCKTools.CancelEvent(e);FCKContextMenu_AttachedElement_OnContextMenu(e,A._FCKContextMenu,A);return false;};A=A.parentNode;};return true;};var FCKContextMenu_OverrideButton;function FCKContextMenu_Document_OnMouseDown(e){if(!e||e.button!=2) return false;var A=e.target;while (A){if (A._FCKContextMenu){if (A._FCKContextMenu.CtrlDisable&&(e.ctrlKey||e.metaKey)) return true;var B=FCKContextMenu_OverrideButton;if(!B){var C=e.target.ownerDocument;B=FCKContextMenu_OverrideButton=C.createElement('input');B.type='button';var D=C.createElement('p');C.body.appendChild(D);D.appendChild(B);};B.style.cssText='position:absolute;top:'+(e.clientY-2)+'px;left:'+(e.clientX-2)+'px;width:5px;height:5px;opacity:0.01';};A=A.parentNode;};return false;};function FCKContextMenu_Document_OnMouseUp(e){var A=FCKContextMenu_OverrideButton;if (A){var B=A.parentNode;B.parentNode.removeChild(B);FCKContextMenu_OverrideButton=undefined;if(e&&e.button==2){FCKContextMenu_Document_OnContextMenu(e);return false;}}};function FCKContextMenu_AttachedElement_OnContextMenu(A,B,C){if (B.CtrlDisable&&(A.ctrlKey||A.metaKey)) return true;var D=C||this;if (B.OnBeforeOpen) B.OnBeforeOpen.call(B,D);if (B._MenuBlock.Count()==0) return false;if (B._Redraw){B._MenuBlock.Create(B._Panel.MainNode);B._Redraw=false;};FCKTools.DisableSelection(B._Panel.Document.body);var x=0;var y=0;if (FCKBrowserInfo.IsIE){x=A.screenX;y=A.screenY;}else if (FCKBrowserInfo.IsSafari){x=A.clientX;y=A.clientY;}else{x=A.pageX;y=A.pageY;};B._Panel.Show(x,y,A.currentTarget||null);return false;};function FCKContextMenu_MenuBlock_OnClick(A,B){B._Panel.Hide();FCKTools.RunFunction(B.OnItemClick,B,A);}; -FCK.ContextMenu={};FCK.ContextMenu.Listeners=[];FCK.ContextMenu.RegisterListener=function(A){if (A) this.Listeners.push(A);};function FCK_ContextMenu_Init(){var A=FCK.ContextMenu._InnerContextMenu=new FCKContextMenu(FCKBrowserInfo.IsIE?window:window.parent,FCKLang.Dir);A.CtrlDisable=FCKConfig.BrowserContextMenuOnCtrl;A.OnBeforeOpen=FCK_ContextMenu_OnBeforeOpen;A.OnItemClick=FCK_ContextMenu_OnItemClick;var B=FCK.ContextMenu;for (var i=0;i<FCKConfig.ContextMenu.length;i++) B.RegisterListener(FCK_ContextMenu_GetListener(FCKConfig.ContextMenu[i]));};function FCK_ContextMenu_GetListener(A){switch (A){case 'Generic':return {AddItems:function(menu,tag,tagName){menu.AddItem('Cut',FCKLang.Cut,7,FCKCommands.GetCommand('Cut').GetState()==-1);menu.AddItem('Copy',FCKLang.Copy,8,FCKCommands.GetCommand('Copy').GetState()==-1);menu.AddItem('Paste',FCKLang.Paste,9,FCKCommands.GetCommand('Paste').GetState()==-1);}};case 'Table':return {AddItems:function(menu,tag,tagName){var B=(tagName=='TABLE');var C=(!B&&FCKSelection.HasAncestorNode('TABLE'));if (C){menu.AddSeparator();var D=menu.AddItem('Cell',FCKLang.CellCM);D.AddItem('TableInsertCellBefore',FCKLang.InsertCellBefore,69);D.AddItem('TableInsertCellAfter',FCKLang.InsertCellAfter,58);D.AddItem('TableDeleteCells',FCKLang.DeleteCells,59);if (FCKBrowserInfo.IsGecko) D.AddItem('TableMergeCells',FCKLang.MergeCells,60,FCKCommands.GetCommand('TableMergeCells').GetState()==-1);else{D.AddItem('TableMergeRight',FCKLang.MergeRight,60,FCKCommands.GetCommand('TableMergeRight').GetState()==-1);D.AddItem('TableMergeDown',FCKLang.MergeDown,60,FCKCommands.GetCommand('TableMergeDown').GetState()==-1);};D.AddItem('TableHorizontalSplitCell',FCKLang.HorizontalSplitCell,61,FCKCommands.GetCommand('TableHorizontalSplitCell').GetState()==-1);D.AddItem('TableVerticalSplitCell',FCKLang.VerticalSplitCell,61,FCKCommands.GetCommand('TableVerticalSplitCell').GetState()==-1);D.AddSeparator();D.AddItem('TableCellProp',FCKLang.CellProperties,57,FCKCommands.GetCommand('TableCellProp').GetState()==-1);menu.AddSeparator();D=menu.AddItem('Row',FCKLang.RowCM);D.AddItem('TableInsertRowBefore',FCKLang.InsertRowBefore,70);D.AddItem('TableInsertRowAfter',FCKLang.InsertRowAfter,62);D.AddItem('TableDeleteRows',FCKLang.DeleteRows,63);menu.AddSeparator();D=menu.AddItem('Column',FCKLang.ColumnCM);D.AddItem('TableInsertColumnBefore',FCKLang.InsertColumnBefore,71);D.AddItem('TableInsertColumnAfter',FCKLang.InsertColumnAfter,64);D.AddItem('TableDeleteColumns',FCKLang.DeleteColumns,65);};if (B||C){menu.AddSeparator();menu.AddItem('TableDelete',FCKLang.TableDelete);menu.AddItem('TableProp',FCKLang.TableProperties,39);}}};case 'Link':return {AddItems:function(menu,tag,tagName){var E=(tagName=='A'||FCKSelection.HasAncestorNode('A'));if (E||FCK.GetNamedCommandState('Unlink')!=-1){var F=FCKSelection.MoveToAncestorNode('A');var G=(F&&F.name.length>0&&F.href.length==0);if (G) return;menu.AddSeparator();if (E) menu.AddItem('Link',FCKLang.EditLink,34);menu.AddItem('Unlink',FCKLang.RemoveLink,35);}}};case 'Image':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&!tag.getAttribute('_fckfakelement')){menu.AddSeparator();menu.AddItem('Image',FCKLang.ImageProperties,37);}}};case 'Anchor':return {AddItems:function(menu,tag,tagName){var F=FCKSelection.MoveToAncestorNode('A');var G=(F&&F.name.length>0);if (G||(tagName=='IMG'&&tag.getAttribute('_fckanchor'))){menu.AddSeparator();menu.AddItem('Anchor',FCKLang.AnchorProp,36);menu.AddItem('AnchorDelete',FCKLang.AnchorDelete);}}};case 'Flash':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckflash')){menu.AddSeparator();menu.AddItem('Flash',FCKLang.FlashProperties,38);}}};case 'Form':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('FORM')){menu.AddSeparator();menu.AddItem('Form',FCKLang.FormProp,48);}}};case 'Checkbox':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='checkbox'){menu.AddSeparator();menu.AddItem('Checkbox',FCKLang.CheckboxProp,49);}}};case 'Radio':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='radio'){menu.AddSeparator();menu.AddItem('Radio',FCKLang.RadioButtonProp,50);}}};case 'TextField':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='text'||tag.type=='password')){menu.AddSeparator();menu.AddItem('TextField',FCKLang.TextFieldProp,51);}}};case 'HiddenField':return {AddItems:function(menu,tag,tagName){if (tagName=='IMG'&&tag.getAttribute('_fckinputhidden')){menu.AddSeparator();menu.AddItem('HiddenField',FCKLang.HiddenFieldProp,56);}}};case 'ImageButton':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&tag.type=='image'){menu.AddSeparator();menu.AddItem('ImageButton',FCKLang.ImageButtonProp,55);}}};case 'Button':return {AddItems:function(menu,tag,tagName){if (tagName=='INPUT'&&(tag.type=='button'||tag.type=='submit'||tag.type=='reset')){menu.AddSeparator();menu.AddItem('Button',FCKLang.ButtonProp,54);}}};case 'Select':return {AddItems:function(menu,tag,tagName){if (tagName=='SELECT'){menu.AddSeparator();menu.AddItem('Select',FCKLang.SelectionFieldProp,53);}}};case 'Textarea':return {AddItems:function(menu,tag,tagName){if (tagName=='TEXTAREA'){menu.AddSeparator();menu.AddItem('Textarea',FCKLang.TextareaProp,52);}}};case 'BulletedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('UL')){menu.AddSeparator();menu.AddItem('BulletedList',FCKLang.BulletedListProp,27);}}};case 'NumberedList':return {AddItems:function(menu,tag,tagName){if (FCKSelection.HasAncestorNode('OL')){menu.AddSeparator();menu.AddItem('NumberedList',FCKLang.NumberedListProp,26);}}};};return null;};function FCK_ContextMenu_OnBeforeOpen(){FCK.Events.FireEvent('OnSelectionChange');var A,sTagName;if ((A=FCKSelection.GetSelectedElement())) sTagName=A.tagName;var B=FCK.ContextMenu._InnerContextMenu;B.RemoveAllItems();var C=FCK.ContextMenu.Listeners;for (var i=0;i<C.length;i++) C[i].AddItems(B,A,sTagName);};function FCK_ContextMenu_OnItemClick(A){FCK.Focus();FCKCommands.GetCommand(A.Name).Execute();}; -var FCKPlugin=function(A,B,C){this.Name=A;this.BasePath=C?C:FCKConfig.PluginsPath;this.Path=this.BasePath+A+'/';if (!B||B.length==0) this.AvailableLangs=[];else this.AvailableLangs=B.split(',');};FCKPlugin.prototype.Load=function(){if (this.AvailableLangs.length>0){var A;if (this.AvailableLangs.IndexOf(FCKLanguageManager.ActiveLanguage.Code)>=0) A=FCKLanguageManager.ActiveLanguage.Code;else A=this.AvailableLangs[0];LoadScript(this.Path+'lang/'+A+'.js');};LoadScript(this.Path+'fckplugin.js');} -var FCKPlugins=FCK.Plugins={};FCKPlugins.ItemsCount=0;FCKPlugins.Items={};FCKPlugins.Load=function(){var A=FCKPlugins.Items;for (var i=0;i<FCKConfig.Plugins.Items.length;i++){var B=FCKConfig.Plugins.Items[i];var C=A[B[0]]=new FCKPlugin(B[0],B[1],B[2]);FCKPlugins.ItemsCount++;};for (var s in A) A[s].Load();FCKPlugins.Load=null;} diff --git a/editor/editor/lang/_getfontformat.html b/editor/editor/lang/_getfontformat.html @@ -1,66 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> - <head> - <title></title> - <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> - </head> - <script language="javascript"> - -window.onload = function() -{ - var oRange = document.selection.createRange() ; - - var sNormal ; - var sFormats = '' ; - for ( var i = 1 ; i <= 9 ; i++ ) - { - oRange.moveToElementText( document.getElementById( 'x' + i ) ) ; - sFormats += oRange.queryCommandValue( 'FormatBlock' ) ; - if ( i == 1 ) - sNormal = sFormats ; - sFormats += ';' ; - } - - document.getElementById('xFontFormats').innerHTML = sFormats + sNormal + ' (DIV)' ; -} - </script> - <body> - <table width="70%" align="center"> - <tr> - <td> - <h3>FontFormats Localization</h3> - <p> - IE has some limits when handling the "Font Format". It actually uses localized - strings to retrieve the current format value. This makes it very difficult to - make a system that works on every single computer in the world. - </p> - <p> - With FCKeditor, this problem impacts in the "Format" toolbar command that - doesn't reflects the format of the current cursor position. - </p> - <p> - There is only one way to make it work. We must localize FCKeditor using the - strings used by IE. In this way, we will have the expected behavior at least - when using FCKeditor in the same language as the browser. So, when localizing - FCKeditor, go to a computer with IE in the target language, open this page and - use the following string to the "FontFormats" value: - </p> - <div style="white-space: nowrap"> - FontFormats : "<span id="xFontFormats" style="COLOR: #000099"></span>", - </div> - </td> - </tr> - </table> - <div style="DISPLAY: none"> - <p id="x1">&nbsp;</p> - <pre id="x2">&nbsp;</pre> - <address id="x3">&nbsp;</address> - <h1 id="x4">&nbsp;</h1> - <h2 id="x5">&nbsp;</h2> - <h3 id="x6">&nbsp;</h3> - <h4 id="x7">&nbsp;</h4> - <h5 id="x8">&nbsp;</h5> - <h6 id="x9">&nbsp;</h6> - </div> - </body> -</html> diff --git a/editor/editor/lang/_languages.js b/editor/editor/lang/_languages.js @@ -0,0 +1,6 @@ +/* +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 b={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'},c=[];for(var d in b)c.push({code:d,name:b[d]});c.sort(function(e,f){return e.name<f.name?-1:1;});return c;})(); diff --git a/editor/editor/lang/_translationstatus.txt b/editor/editor/lang/_translationstatus.txt @@ -1,76 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Translations Status. - */ - -af.js Found: 397 Missing: 15 -ar.js Found: 412 Missing: 0 -bg.js Found: 374 Missing: 38 -bn.js Found: 381 Missing: 31 -bs.js Found: 226 Missing: 186 -ca.js Found: 412 Missing: 0 -cs.js Found: 397 Missing: 15 -da.js Found: 382 Missing: 30 -de.js Found: 412 Missing: 0 -el.js Found: 397 Missing: 15 -en-au.js Found: 412 Missing: 0 -en-ca.js Found: 412 Missing: 0 -en-uk.js Found: 412 Missing: 0 -eo.js Found: 346 Missing: 66 -es.js Found: 412 Missing: 0 -et.js Found: 412 Missing: 0 -eu.js Found: 382 Missing: 30 -fa.js Found: 398 Missing: 14 -fi.js Found: 412 Missing: 0 -fo.js Found: 397 Missing: 15 -fr.js Found: 412 Missing: 0 -gl.js Found: 382 Missing: 30 -he.js Found: 412 Missing: 0 -hi.js Found: 412 Missing: 0 -hr.js Found: 412 Missing: 0 -hu.js Found: 412 Missing: 0 -it.js Found: 397 Missing: 15 -ja.js Found: 412 Missing: 0 -km.js Found: 371 Missing: 41 -ko.js Found: 369 Missing: 43 -lt.js Found: 377 Missing: 35 -lv.js Found: 382 Missing: 30 -mn.js Found: 226 Missing: 186 -ms.js Found: 352 Missing: 60 -nb.js Found: 396 Missing: 16 -nl.js Found: 412 Missing: 0 -no.js Found: 396 Missing: 16 -pl.js Found: 412 Missing: 0 -pt-br.js Found: 397 Missing: 15 -pt.js Found: 382 Missing: 30 -ro.js Found: 411 Missing: 1 -ru.js Found: 397 Missing: 15 -sk.js Found: 397 Missing: 15 -sl.js Found: 412 Missing: 0 -sr-latn.js Found: 369 Missing: 43 -sr.js Found: 369 Missing: 43 -sv.js Found: 397 Missing: 15 -th.js Found: 394 Missing: 18 -tr.js Found: 397 Missing: 15 -uk.js Found: 398 Missing: 14 -vi.js Found: 397 Missing: 15 -zh-cn.js Found: 412 Missing: 0 -zh.js Found: 412 Missing: 0 diff --git a/editor/editor/lang/af.js b/editor/editor/lang/af.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Afrikaans language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Vou Gereedskaps balk toe", -ToolbarExpand : "Vou Gereedskaps balk oop", - -// Toolbar Items and Context Menu -Save : "Bewaar", -NewPage : "Nuwe Bladsy", -Preview : "Voorskou", -Cut : "Uitsny ", -Copy : "Kopieer", -Paste : "Byvoeg", -PasteText : "Slegs inhoud byvoeg", -PasteWord : "Van Word af byvoeg", -Print : "Druk", -SelectAll : "Selekteer alles", -RemoveFormat : "Formaat verweider", -InsertLinkLbl : "Skakel", -InsertLink : "Skakel byvoeg/verander", -RemoveLink : "Skakel verweider", -Anchor : "Plekhouer byvoeg/verander", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Beeld", -InsertImage : "Beeld byvoeg/verander", -InsertFlashLbl : "Flash", -InsertFlash : "Flash byvoeg/verander", -InsertTableLbl : "Tabel", -InsertTable : "Tabel byvoeg/verander", -InsertLineLbl : "Lyn", -InsertLine : "Horisontale lyn byvoeg", -InsertSpecialCharLbl: "Spesiaale karakter", -InsertSpecialChar : "Spesiaale Karakter byvoeg", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Smiley byvoeg", -About : "Meer oor FCKeditor", -Bold : "Vet", -Italic : "Skuins", -Underline : "Onderstreep", -StrikeThrough : "Gestreik", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Links rig", -CenterJustify : "Rig Middel", -RightJustify : "Regs rig", -BlockJustify : "Blok paradeer", -DecreaseIndent : "Paradeering verkort", -IncreaseIndent : "Paradeering verleng", -Blockquote : "Blockquote", //MISSING -Undo : "Ont-skep", -Redo : "Her-skep", -NumberedListLbl : "Genommerde lys", -NumberedList : "Genommerde lys byvoeg/verweider", -BulletedListLbl : "Gepunkte lys", -BulletedList : "Gepunkte lys byvoeg/verweider", -ShowTableBorders : "Wys tabel kante", -ShowDetails : "Wys informasie", -Style : "Styl", -FontFormat : "Karakter formaat", -Font : "Karakters", -FontSize : "Karakter grote", -TextColor : "Karakter kleur", -BGColor : "Agtergrond kleur", -Source : "Source", -Find : "Vind", -Replace : "Vervang", -SpellCheck : "Spelling nagaan", -UniversalKeyboard : "Universeele Sleutelbord", -PageBreakLbl : "Bladsy breek", -PageBreak : "Bladsy breek byvoeg", - -Form : "Form", -Checkbox : "HakBox", -RadioButton : "PuntBox", -TextField : "Byvoegbare karakter strook", -Textarea : "Byvoegbare karakter area", -HiddenField : "Blinde strook", -Button : "Knop", -SelectionField : "Opklapbare keuse strook", -ImageButton : "Beeld knop", - -FitWindow : "Maksimaliseer venster grote", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Verander skakel", -CellCM : "Cell", -RowCM : "Ry", -ColumnCM : "Kolom", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Ry verweider", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Kolom verweider", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Cell verweider", -MergeCells : "Cell verenig", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Tabel verweider", -CellProperties : "Cell eienskappe", -TableProperties : "Tabel eienskappe", -ImageProperties : "Beeld eienskappe", -FlashProperties : "Flash eienskappe", - -AnchorProp : "Plekhouer eienskappe", -ButtonProp : "Knop eienskappe", -CheckboxProp : "HakBox eienskappe", -HiddenFieldProp : "Blinde strook eienskappe", -RadioButtonProp : "PuntBox eienskappe", -ImageButtonProp : "Beeld knop eienskappe", -TextFieldProp : "Karakter strook eienskappe", -SelectionFieldProp : "Opklapbare keuse strook eienskappe", -TextareaProp : "Karakter area eienskappe", -FormProp : "Form eienskappe", - -FontFormats : "Normaal;Geformateerd;Adres;Opskrif 1;Opskrif 2;Opskrif 3;Opskrif 4;Opskrif 5;Opskrif 6;Normaal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML word verarbeit. U geduld asseblief...", -Done : "Kompleet", -PasteWordConfirm : "Die informasie wat U probeer byvoeg is warskynlik van Word. Wil U dit reinig voor die byvoeging?", -NotCompatiblePaste : "Die instruksie is beskikbaar vir Internet Explorer weergawe 5.5 of hor. Wil U dir byvoeg sonder reiniging?", -UnknownToolbarItem : "Unbekende gereedskaps balk item \"%1\"", -UnknownCommand : "Unbekende instruksie naam \"%1\"", -NotImplemented : "Instruksie is nie geimplementeer nie.", -UnknownToolbarSet : "Gereedskaps balk \"%1\" bestaan nie", -NoActiveX : "U browser sekuriteit instellings kan die funksies van die editor behinder. U moet die opsie \"Run ActiveX controls and plug-ins\" aktiveer. U ondervinding mag problematies geskiet of sekere funksionaliteit mag verhinder word.", -BrowseServerBlocked : "Die vorraad venster word geblok! Verseker asseblief dat U die \"popup blocker\" instelling verander.", -DialogBlocked : "Die dialoog venster vir verdere informasie word geblok. De-aktiveer asseblief die \"popup blocker\" instellings wat dit behinder.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Kanseleer", -DlgBtnClose : "Sluit", -DlgBtnBrowseServer : "Server deurblaai", -DlgAdvancedTag : "Ingewikkeld", -DlgOpOther : "<Ander>", -DlgInfoTab : "Info", -DlgAlertUrl : "Voeg asseblief die URL in", - -// General Dialogs Labels -DlgGenNotSet : "<geen instelling>", -DlgGenId : "Id", -DlgGenLangDir : "Taal rigting", -DlgGenLangDirLtr : "Links na regs (LTR)", -DlgGenLangDirRtl : "Regs na links (RTL)", -DlgGenLangCode : "Taal kode", -DlgGenAccessKey : "Toegang sleutel", -DlgGenName : "Naam", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Lang beskreiwing URL", -DlgGenClass : "Skakel Tiepe", -DlgGenTitle : "Voorbeveelings Titel", -DlgGenContType : "Voorbeveelings inhoud soort", -DlgGenLinkCharset : "Geskakelde voorbeeld karakterstel", -DlgGenStyle : "Styl", - -// Image Dialog -DlgImgTitle : "Beeld eienskappe", -DlgImgInfoTab : "Beeld informasie", -DlgImgBtnUpload : "Stuur dit na die Server", -DlgImgURL : "URL", -DlgImgUpload : "Uplaai", -DlgImgAlt : "Alternatiewe beskrywing", -DlgImgWidth : "Weidte", -DlgImgHeight : "Hoogde", -DlgImgLockRatio : "Behou preporsie", -DlgBtnResetSize : "Herstel groote", -DlgImgBorder : "Kant", -DlgImgHSpace : "HSpasie", -DlgImgVSpace : "VSpasie", -DlgImgAlign : "Paradeer", -DlgImgAlignLeft : "Links", -DlgImgAlignAbsBottom: "Abs Onder", -DlgImgAlignAbsMiddle: "Abs Middel", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Onder", -DlgImgAlignMiddle : "Middel", -DlgImgAlignRight : "Regs", -DlgImgAlignTextTop : "Text Bo", -DlgImgAlignTop : "Bo", -DlgImgPreview : "Voorskou", -DlgImgAlertUrl : "Voeg asseblief Beeld URL in.", -DlgImgLinkTab : "Skakel", - -// Flash Dialog -DlgFlashTitle : "Flash eienskappe", -DlgFlashChkPlay : "Automaties Speel", -DlgFlashChkLoop : "Herhaling", -DlgFlashChkMenu : "Laat Flash Menu toe", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Wys alles", -DlgFlashScaleNoBorder : "Geen kante", -DlgFlashScaleFit : "Presiese pas", - -// Link Dialog -DlgLnkWindowTitle : "Skakel", -DlgLnkInfoTab : "Skakel informasie", -DlgLnkTargetTab : "Mikpunt", - -DlgLnkType : "Skakel soort", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Skakel na plekhouers in text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<ander>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Kies 'n plekhouer", -DlgLnkAnchorByName : "Volgens plekhouer naam", -DlgLnkAnchorById : "Volgens element Id", -DlgLnkNoAnchors : "(Geen plekhouers beskikbaar in dokument}", -DlgLnkEMail : "E-Mail Adres", -DlgLnkEMailSubject : "Boodskap Opskrif", -DlgLnkEMailBody : "Boodskap Inhoud", -DlgLnkUpload : "Oplaai", -DlgLnkBtnUpload : "Stuur na Server", - -DlgLnkTarget : "Mikpunt", -DlgLnkTargetFrame : "<raam>", -DlgLnkTargetPopup : "<popup venster>", -DlgLnkTargetBlank : "Nuwe Venster (_blank)", -DlgLnkTargetParent : "Vorige Venster (_parent)", -DlgLnkTargetSelf : "Selfde Venster (_self)", -DlgLnkTargetTop : "Boonste Venster (_top)", -DlgLnkTargetFrameName : "Mikpunt Venster Naam", -DlgLnkPopWinName : "Popup Venster Naam", -DlgLnkPopWinFeat : "Popup Venster Geaartheid", -DlgLnkPopResize : "Verstelbare Groote", -DlgLnkPopLocation : "Adres Balk", -DlgLnkPopMenu : "Menu Balk", -DlgLnkPopScroll : "Gleibalkstuk", -DlgLnkPopStatus : "Status Balk", -DlgLnkPopToolbar : "Gereedskap Balk", -DlgLnkPopFullScrn : "Voll Skerm (IE)", -DlgLnkPopDependent : "Afhanklik (Netscape)", -DlgLnkPopWidth : "Weite", -DlgLnkPopHeight : "Hoogde", -DlgLnkPopLeft : "Links Posisie", -DlgLnkPopTop : "Bo Posisie", - -DlnLnkMsgNoUrl : "Voeg asseblief die URL in", -DlnLnkMsgNoEMail : "Voeg asseblief die e-mail adres in", -DlnLnkMsgNoAnchor : "Kies asseblief 'n plekhouer", -DlnLnkMsgInvPopName : "Die popup naam moet begin met alphabetiese karakters sonder spasies.", - -// Color Dialog -DlgColorTitle : "Kies Kleur", -DlgColorBtnClear : "Maak skoon", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Geselekteer", - -// Smiley Dialog -DlgSmileyTitle : "Voeg Smiley by", - -// Special Character Dialog -DlgSpecialCharTitle : "Kies spesiale karakter", - -// Table Dialog -DlgTableTitle : "Tabel eienskappe", -DlgTableRows : "Reie", -DlgTableColumns : "Kolome", -DlgTableBorder : "Kant groote", -DlgTableAlign : "Parideering", -DlgTableAlignNotSet : "<geen instelling>", -DlgTableAlignLeft : "Links", -DlgTableAlignCenter : "Middel", -DlgTableAlignRight : "Regs", -DlgTableWidth : "Weite", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Hoogde", -DlgTableCellSpace : "Cell spasieering", -DlgTableCellPad : "Cell buffer", -DlgTableCaption : "Beskreiwing", -DlgTableSummary : "Opsomming", - -// Table Cell Dialog -DlgCellTitle : "Cell eienskappe", -DlgCellWidth : "Weite", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Hoogde", -DlgCellWordWrap : "Woord Wrap", -DlgCellWordWrapNotSet : "<geen instelling>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nee", -DlgCellHorAlign : "Horisontale rigting", -DlgCellHorAlignNotSet : "<geen instelling>", -DlgCellHorAlignLeft : "Links", -DlgCellHorAlignCenter : "Middel", -DlgCellHorAlignRight: "Regs", -DlgCellVerAlign : "Vertikale rigting", -DlgCellVerAlignNotSet : "<geen instelling>", -DlgCellVerAlignTop : "Bo", -DlgCellVerAlignMiddle : "Middel", -DlgCellVerAlignBottom : "Onder", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rei strekking", -DlgCellCollSpan : "Kolom strekking", -DlgCellBackColor : "Agtergrond Kleur", -DlgCellBorderColor : "Kant Kleur", -DlgCellBtnSelect : "Keuse...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Vind", -DlgFindFindBtn : "Vind", -DlgFindNotFoundMsg : "Die gespesifiseerde karakters word nie gevind nie.", - -// Replace Dialog -DlgReplaceTitle : "Vervang", -DlgReplaceFindLbl : "Soek wat:", -DlgReplaceReplaceLbl : "Vervang met:", -DlgReplaceCaseChk : "Vergelyk karakter skryfweise", -DlgReplaceReplaceBtn : "Vervang", -DlgReplaceReplAllBtn : "Vervang alles", -DlgReplaceWordChk : "Vergelyk komplete woord", - -// Paste Operations / Dialog -PasteErrorCut : "U browser se sekuriteit instelling behinder die uitsny aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+X).", -PasteErrorCopy : "U browser se sekuriteit instelling behinder die kopieerings aksie. Gebruik asseblief die sleutel kombenasie(Ctrl+C).", - -PasteAsText : "Voeg slegs karakters by", -PasteFromWord : "Byvoeging uit Word", - -DlgPasteMsg2 : "Voeg asseblief die inhoud in die gegewe box by met sleutel kombenasie(<STRONG>Ctrl+V</STRONG>) en druk <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignoreer karakter soort defenisies", -DlgPasteRemoveStyles : "Verweider Styl defenisies", -DlgPasteCleanBox : "Maak Box Skoon", - -// Color Picker -ColorAutomatic : "Automaties", -ColorMoreColors : "Meer Kleure...", - -// Document Properties -DocProps : "Dokument Eienskappe", - -// Anchor Dialog -DlgAnchorTitle : "Plekhouer Eienskappe", -DlgAnchorName : "Plekhouer Naam", -DlgAnchorErrorName : "Voltooi die plekhouer naam asseblief", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nie in woordeboek nie", -DlgSpellChangeTo : "Verander na", -DlgSpellBtnIgnore : "Ignoreer", -DlgSpellBtnIgnoreAll : "Ignoreer na-volgende", -DlgSpellBtnReplace : "Vervang", -DlgSpellBtnReplaceAll : "vervang na-volgende", -DlgSpellBtnUndo : "Ont-skep", -DlgSpellNoSuggestions : "- Geen voorstel -", -DlgSpellProgress : "Spelling word beproef...", -DlgSpellNoMispell : "Spellproef kompleet: Geen foute", -DlgSpellNoChanges : "Spellproef kompleet: Geen woord veranderings", -DlgSpellOneChange : "Spellproef kompleet: Een woord verander", -DlgSpellManyChanges : "Spellproef kompleet: %1 woorde verander", - -IeSpellDownload : "Geen Spellproefer geinstaleer nie. Wil U dit aflaai?", - -// Button Dialog -DlgButtonText : "Karakters (Waarde)", -DlgButtonType : "Soort", -DlgButtonTypeBtn : "Knop", -DlgButtonTypeSbm : "Indien", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Naam", -DlgCheckboxValue : "Waarde", -DlgCheckboxSelected : "Uitgekies", - -// Form Dialog -DlgFormName : "Naam", -DlgFormAction : "Aksie", -DlgFormMethod : "Metode", - -// Select Field Dialog -DlgSelectName : "Naam", -DlgSelectValue : "Waarde", -DlgSelectSize : "Grote", -DlgSelectLines : "lyne", -DlgSelectChkMulti : "Laat meerere keuses toe", -DlgSelectOpAvail : "Beskikbare Opsies", -DlgSelectOpText : "Karakters", -DlgSelectOpValue : "Waarde", -DlgSelectBtnAdd : "Byvoeg", -DlgSelectBtnModify : "Verander", -DlgSelectBtnUp : "Op", -DlgSelectBtnDown : "Af", -DlgSelectBtnSetValue : "Stel as uitgekiesde waarde", -DlgSelectBtnDelete : "Verweider", - -// Textarea Dialog -DlgTextareaName : "Naam", -DlgTextareaCols : "Kolom", -DlgTextareaRows : "Reie", - -// Text Field Dialog -DlgTextName : "Naam", -DlgTextValue : "Waarde", -DlgTextCharWidth : "Karakter weite", -DlgTextMaxChars : "Maximale karakters", -DlgTextType : "Soort", -DlgTextTypeText : "Karakters", -DlgTextTypePass : "Wagwoord", - -// Hidden Field Dialog -DlgHiddenName : "Naam", -DlgHiddenValue : "Waarde", - -// Bulleted List Dialog -BulletedListProp : "Gepunkte lys eienskappe", -NumberedListProp : "Genommerde lys eienskappe", -DlgLstStart : "Begin", -DlgLstType : "Soort", -DlgLstTypeCircle : "Sirkel", -DlgLstTypeDisc : "Skyf", -DlgLstTypeSquare : "Vierkant", -DlgLstTypeNumbers : "Nommer (1, 2, 3)", -DlgLstTypeLCase : "Klein Letters (a, b, c)", -DlgLstTypeUCase : "Hoof Letters (A, B, C)", -DlgLstTypeSRoman : "Klein Romeinse nommers (i, ii, iii)", -DlgLstTypeLRoman : "Groot Romeinse nommers (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Algemeen", -DlgDocBackTab : "Agtergrond", -DlgDocColorsTab : "Kleure en Rante", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Bladsy Opskrif", -DlgDocLangDir : "Taal rigting", -DlgDocLangDirLTR : "Link na Regs (LTR)", -DlgDocLangDirRTL : "Regs na Links (RTL)", -DlgDocLangCode : "Taal Kode", -DlgDocCharSet : "Karakterstel Kodeering", -DlgDocCharSetCE : "Sentraal Europa", -DlgDocCharSetCT : "Chinees Traditioneel (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Grieks", -DlgDocCharSetJP : "Japanees", -DlgDocCharSetKR : "Koreans", -DlgDocCharSetTR : "Turks", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Ander Karakterstel Kodeering", - -DlgDocDocType : "Dokument Opskrif Soort", -DlgDocDocTypeOther : "Ander Dokument Opskrif Soort", -DlgDocIncXHTML : "Voeg XHTML verklaring by", -DlgDocBgColor : "Agtergrond kleur", -DlgDocBgImage : "Agtergrond Beeld URL", -DlgDocBgNoScroll : "Vasgeklemde Agtergrond", -DlgDocCText : "Karakters", -DlgDocCLink : "Skakel", -DlgDocCVisited : "Besoekte Skakel", -DlgDocCActive : "Aktiewe Skakel", -DlgDocMargins : "Bladsy Rante", -DlgDocMaTop : "Bo", -DlgDocMaLeft : "Links", -DlgDocMaRight : "Regs", -DlgDocMaBottom : "Onder", -DlgDocMeIndex : "Dokument Index Sleutelwoorde(comma verdeelt)", -DlgDocMeDescr : "Dokument Beskrywing", -DlgDocMeAuthor : "Skrywer", -DlgDocMeCopy : "Kopiereg", -DlgDocPreview : "Voorskou", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Inhoud Templates", -DlgTemplatesSelMsg : "Kies die template om te gebruik in die editor<br>(Inhoud word vervang!):", -DlgTemplatesLoading : "Templates word gelaai. U geduld asseblief...", -DlgTemplatesNoTpl : "(Geen templates gedefinieerd)", -DlgTemplatesReplace : "Vervang bestaande inhoud", - -// About Dialog -DlgAboutAboutTab : "Meer oor", -DlgAboutBrowserInfoTab : "Blaai Informasie deur", -DlgAboutLicenseTab : "Lesensie", -DlgAboutVersion : "weergawe", -DlgAboutInfo : "Vir meer informasie gaan na " -}; diff --git a/editor/editor/lang/ar.js b/editor/editor/lang/ar.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Arabic language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "rtl", - -ToolbarCollapse : "ضم شريط الأدوات", -ToolbarExpand : "تمدد شريط الأدوات", - -// Toolbar Items and Context Menu -Save : "حفظ", -NewPage : "صفحة جديدة", -Preview : "معاينة الصفحة", -Cut : "قص", -Copy : "نسخ", -Paste : "لصق", -PasteText : "لصق كنص بسيط", -PasteWord : "لصق من وورد", -Print : "طباعة", -SelectAll : "تحديد الكل", -RemoveFormat : "إزالة التنسيقات", -InsertLinkLbl : "رابط", -InsertLink : "إدراج/تحرير رابط", -RemoveLink : "إزالة رابط", -Anchor : "إدراج/تحرير إشارة مرجعية", -AnchorDelete : "إزالة إشارة مرجعية", -InsertImageLbl : "صورة", -InsertImage : "إدراج/تحرير صورة", -InsertFlashLbl : "فلاش", -InsertFlash : "إدراج/تحرير فيلم فلاش", -InsertTableLbl : "جدول", -InsertTable : "إدراج/تحرير جدول", -InsertLineLbl : "خط فاصل", -InsertLine : "إدراج خط فاصل", -InsertSpecialCharLbl: "رموز", -InsertSpecialChar : "إدراج رموز..ِ", -InsertSmileyLbl : "ابتسامات", -InsertSmiley : "إدراج ابتسامات", -About : "حول FCKeditor", -Bold : "غامق", -Italic : "مائل", -Underline : "تسطير", -StrikeThrough : "يتوسطه خط", -Subscript : "منخفض", -Superscript : "مرتفع", -LeftJustify : "محاذاة إلى اليسار", -CenterJustify : "توسيط", -RightJustify : "محاذاة إلى اليمين", -BlockJustify : "ضبط", -DecreaseIndent : "إنقاص المسافة البادئة", -IncreaseIndent : "زيادة المسافة البادئة", -Blockquote : "اقتباس", -Undo : "تراجع", -Redo : "إعادة", -NumberedListLbl : "تعداد رقمي", -NumberedList : "إدراج/إلغاء تعداد رقمي", -BulletedListLbl : "تعداد نقطي", -BulletedList : "إدراج/إلغاء تعداد نقطي", -ShowTableBorders : "معاينة حدود الجداول", -ShowDetails : "معاينة التفاصيل", -Style : "نمط", -FontFormat : "تنسيق", -Font : "خط", -FontSize : "حجم الخط", -TextColor : "لون النص", -BGColor : "لون الخلفية", -Source : "شفرة المصدر", -Find : "بحث", -Replace : "إستبدال", -SpellCheck : "تدقيق إملائي", -UniversalKeyboard : "لوحة المفاتيح العالمية", -PageBreakLbl : "فصل الصفحة", -PageBreak : "إدخال صفحة جديدة", - -Form : "نموذج", -Checkbox : "خانة إختيار", -RadioButton : "زر خيار", -TextField : "مربع نص", -Textarea : "ناحية نص", -HiddenField : "إدراج حقل خفي", -Button : "زر ضغط", -SelectionField : "قائمة منسدلة", -ImageButton : "زر صورة", - -FitWindow : "تكبير حجم المحرر", -ShowBlocks : "مخطط تفصيلي", - -// Context Menu -EditLink : "تحرير رابط", -CellCM : "خلية", -RowCM : "صف", -ColumnCM : "عمود", -InsertRowAfter : "إدراج صف بعد", -InsertRowBefore : "إدراج صف قبل", -DeleteRows : "حذف صفوف", -InsertColumnAfter : "إدراج عمود بعد", -InsertColumnBefore : "إدراج عمود قبل", -DeleteColumns : "حذف أعمدة", -InsertCellAfter : "إدراج خلية بعد", -InsertCellBefore : "إدراج خلية قبل", -DeleteCells : "حذف خلايا", -MergeCells : "دمج خلايا", -MergeRight : "دمج لليمين", -MergeDown : "دمج للأسفل", -HorizontalSplitCell : "تقسيم الخلية أفقياً", -VerticalSplitCell : "تقسيم الخلية عمودياً", -TableDelete : "حذف الجدول", -CellProperties : "خصائص الخلية", -TableProperties : "خصائص الجدول", -ImageProperties : "خصائص الصورة", -FlashProperties : "خصائص فيلم الفلاش", - -AnchorProp : "خصائص الإشارة المرجعية", -ButtonProp : "خصائص زر الضغط", -CheckboxProp : "خصائص خانة الإختيار", -HiddenFieldProp : "خصائص الحقل الخفي", -RadioButtonProp : "خصائص زر الخيار", -ImageButtonProp : "خصائص زر الصورة", -TextFieldProp : "خصائص مربع النص", -SelectionFieldProp : "خصائص القائمة المنسدلة", -TextareaProp : "خصائص ناحية النص", -FormProp : "خصائص النموذج", - -FontFormats : "عادي;منسّق;دوس;العنوان 1;العنوان 2;العنوان 3;العنوان 4;العنوان 5;العنوان 6", - -// Alerts and Messages -ProcessingXHTML : "إنتظر قليلاً ريثما تتم معالَجة‏ XHTML. لن يستغرق طويلاً...", -Done : "تم", -PasteWordConfirm : "يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟", -NotCompatiblePaste : "هذه الميزة تحتاج لمتصفح من النوعInternet Explorer إصدار 5.5 فما فوق. هل تود اللصق دون تنظيف الكود؟", -UnknownToolbarItem : "عنصر شريط أدوات غير معروف \"%1\"", -UnknownCommand : "أمر غير معروف \"%1\"", -NotImplemented : "لم يتم دعم هذا الأمر", -UnknownToolbarSet : "لم أتمكن من العثور على طقم الأدوات \"%1\" ", -NoActiveX : "لتأمين متصفحك يجب أن تحدد بعض مميزات المحرر. يتوجب عليك تمكين الخيار \"Run ActiveX controls and plug-ins\". قد تواجة أخطاء وتلاحظ مميزات مفقودة", -BrowseServerBlocked : "لايمكن فتح مصدر المتصفح. فضلا يجب التأكد بأن جميع موانع النوافذ المنبثقة معطلة", -DialogBlocked : "لايمكن فتح نافذة الحوار . فضلا تأكد من أن مانع النوافذ المنبثة معطل .", - -// Dialogs -DlgBtnOK : "موافق", -DlgBtnCancel : "إلغاء الأمر", -DlgBtnClose : "إغلاق", -DlgBtnBrowseServer : "تصفح الخادم", -DlgAdvancedTag : "متقدم", -DlgOpOther : "<أخرى>", -DlgInfoTab : "معلومات", -DlgAlertUrl : "الرجاء كتابة عنوان الإنترنت", - -// General Dialogs Labels -DlgGenNotSet : "<بدون تحديد>", -DlgGenId : "الرقم", -DlgGenLangDir : "إتجاه النص", -DlgGenLangDirLtr : "اليسار لليمين (LTR)", -DlgGenLangDirRtl : "اليمين لليسار (RTL)", -DlgGenLangCode : "رمز اللغة", -DlgGenAccessKey : "مفاتيح الإختصار", -DlgGenName : "الاسم", -DlgGenTabIndex : "الترتيب", -DlgGenLongDescr : "عنوان الوصف المفصّل", -DlgGenClass : "فئات التنسيق", -DlgGenTitle : "تلميح الشاشة", -DlgGenContType : "نوع التلميح", -DlgGenLinkCharset : "ترميز المادة المطلوبة", -DlgGenStyle : "نمط", - -// Image Dialog -DlgImgTitle : "خصائص الصورة", -DlgImgInfoTab : "معلومات الصورة", -DlgImgBtnUpload : "أرسلها للخادم", -DlgImgURL : "موقع الصورة", -DlgImgUpload : "رفع", -DlgImgAlt : "الوصف", -DlgImgWidth : "العرض", -DlgImgHeight : "الإرتفاع", -DlgImgLockRatio : "تناسق الحجم", -DlgBtnResetSize : "إستعادة الحجم الأصلي", -DlgImgBorder : "سمك الحدود", -DlgImgHSpace : "تباعد أفقي", -DlgImgVSpace : "تباعد عمودي", -DlgImgAlign : "محاذاة", -DlgImgAlignLeft : "يسار", -DlgImgAlignAbsBottom: "أسفل النص", -DlgImgAlignAbsMiddle: "وسط السطر", -DlgImgAlignBaseline : "على السطر", -DlgImgAlignBottom : "أسفل", -DlgImgAlignMiddle : "وسط", -DlgImgAlignRight : "يمين", -DlgImgAlignTextTop : "أعلى النص", -DlgImgAlignTop : "أعلى", -DlgImgPreview : "معاينة", -DlgImgAlertUrl : "فضلاً أكتب الموقع الذي توجد عليه هذه الصورة.", -DlgImgLinkTab : "الرابط", - -// Flash Dialog -DlgFlashTitle : "خصائص فيلم الفلاش", -DlgFlashChkPlay : "تشغيل تلقائي", -DlgFlashChkLoop : "تكرار", -DlgFlashChkMenu : "تمكين قائمة فيلم الفلاش", -DlgFlashScale : "الحجم", -DlgFlashScaleAll : "إظهار الكل", -DlgFlashScaleNoBorder : "بلا حدود", -DlgFlashScaleFit : "ضبط تام", - -// Link Dialog -DlgLnkWindowTitle : "إرتباط تشعبي", -DlgLnkInfoTab : "معلومات الرابط", -DlgLnkTargetTab : "الهدف", - -DlgLnkType : "نوع الربط", -DlgLnkTypeURL : "العنوان", -DlgLnkTypeAnchor : "مكان في هذا المستند", -DlgLnkTypeEMail : "بريد إلكتروني", -DlgLnkProto : "البروتوكول", -DlgLnkProtoOther : "<أخرى>", -DlgLnkURL : "الموقع", -DlgLnkAnchorSel : "اختر علامة مرجعية", -DlgLnkAnchorByName : "حسب اسم العلامة", -DlgLnkAnchorById : "حسب تعريف العنصر", -DlgLnkNoAnchors : "(لا يوجد علامات مرجعية في هذا المستند)", -DlgLnkEMail : "عنوان بريد إلكتروني", -DlgLnkEMailSubject : "موضوع الرسالة", -DlgLnkEMailBody : "محتوى الرسالة", -DlgLnkUpload : "رفع", -DlgLnkBtnUpload : "أرسلها للخادم", - -DlgLnkTarget : "الهدف", -DlgLnkTargetFrame : "<إطار>", -DlgLnkTargetPopup : "<نافذة منبثقة>", -DlgLnkTargetBlank : "إطار جديد (_blank)", -DlgLnkTargetParent : "الإطار الأصل (_parent)", -DlgLnkTargetSelf : "نفس الإطار (_self)", -DlgLnkTargetTop : "صفحة كاملة (_top)", -DlgLnkTargetFrameName : "اسم الإطار الهدف", -DlgLnkPopWinName : "تسمية النافذة المنبثقة", -DlgLnkPopWinFeat : "خصائص النافذة المنبثقة", -DlgLnkPopResize : "قابلة للتحجيم", -DlgLnkPopLocation : "شريط العنوان", -DlgLnkPopMenu : "القوائم الرئيسية", -DlgLnkPopScroll : "أشرطة التمرير", -DlgLnkPopStatus : "شريط الحالة السفلي", -DlgLnkPopToolbar : "شريط الأدوات", -DlgLnkPopFullScrn : "ملئ الشاشة (IE)", -DlgLnkPopDependent : "تابع (Netscape)", -DlgLnkPopWidth : "العرض", -DlgLnkPopHeight : "الإرتفاع", -DlgLnkPopLeft : "التمركز لليسار", -DlgLnkPopTop : "التمركز للأعلى", - -DlnLnkMsgNoUrl : "فضلاً أدخل عنوان الموقع الذي يشير إليه الرابط", -DlnLnkMsgNoEMail : "فضلاً أدخل عنوان البريد الإلكتروني", -DlnLnkMsgNoAnchor : "فضلاً حدد العلامة المرجعية المرغوبة", -DlnLnkMsgInvPopName : "اسم النافذة المنبثقة يجب أن يبدأ بحرف أبجدي دون مسافات", - -// Color Dialog -DlgColorTitle : "اختر لوناً", -DlgColorBtnClear : "مسح", -DlgColorHighlight : "تحديد", -DlgColorSelected : "إختيار", - -// Smiley Dialog -DlgSmileyTitle : "إدراج إبتسامات ", - -// Special Character Dialog -DlgSpecialCharTitle : "إدراج رمز", - -// Table Dialog -DlgTableTitle : "إدراج جدول", -DlgTableRows : "صفوف", -DlgTableColumns : "أعمدة", -DlgTableBorder : "سمك الحدود", -DlgTableAlign : "المحاذاة", -DlgTableAlignNotSet : "<بدون تحديد>", -DlgTableAlignLeft : "يسار", -DlgTableAlignCenter : "وسط", -DlgTableAlignRight : "يمين", -DlgTableWidth : "العرض", -DlgTableWidthPx : "بكسل", -DlgTableWidthPc : "بالمئة", -DlgTableHeight : "الإرتفاع", -DlgTableCellSpace : "تباعد الخلايا", -DlgTableCellPad : "المسافة البادئة", -DlgTableCaption : "الوصف", -DlgTableSummary : "الخلاصة", - -// Table Cell Dialog -DlgCellTitle : "خصائص الخلية", -DlgCellWidth : "العرض", -DlgCellWidthPx : "بكسل", -DlgCellWidthPc : "بالمئة", -DlgCellHeight : "الإرتفاع", -DlgCellWordWrap : "التفاف النص", -DlgCellWordWrapNotSet : "<بدون تحديد>", -DlgCellWordWrapYes : "نعم", -DlgCellWordWrapNo : "لا", -DlgCellHorAlign : "المحاذاة الأفقية", -DlgCellHorAlignNotSet : "<بدون تحديد>", -DlgCellHorAlignLeft : "يسار", -DlgCellHorAlignCenter : "وسط", -DlgCellHorAlignRight: "يمين", -DlgCellVerAlign : "المحاذاة العمودية", -DlgCellVerAlignNotSet : "<بدون تحديد>", -DlgCellVerAlignTop : "أعلى", -DlgCellVerAlignMiddle : "وسط", -DlgCellVerAlignBottom : "أسفل", -DlgCellVerAlignBaseline : "على السطر", -DlgCellRowSpan : "إمتداد الصفوف", -DlgCellCollSpan : "إمتداد الأعمدة", -DlgCellBackColor : "لون الخلفية", -DlgCellBorderColor : "لون الحدود", -DlgCellBtnSelect : "حدّد...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "بحث واستبدال", - -// Find Dialog -DlgFindTitle : "بحث", -DlgFindFindBtn : "ابحث", -DlgFindNotFoundMsg : "لم يتم العثور على النص المحدد.", - -// Replace Dialog -DlgReplaceTitle : "إستبدال", -DlgReplaceFindLbl : "البحث عن:", -DlgReplaceReplaceLbl : "إستبدال بـ:", -DlgReplaceCaseChk : "مطابقة حالة الأحرف", -DlgReplaceReplaceBtn : "إستبدال", -DlgReplaceReplAllBtn : "إستبدال الكل", -DlgReplaceWordChk : "الكلمة بالكامل فقط", - -// Paste Operations / Dialog -PasteErrorCut : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع القص التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+X).", -PasteErrorCopy : "الإعدادات الأمنية للمتصفح الذي تستخدمه تمنع النسخ التلقائي. فضلاً إستخدم لوحة المفاتيح لفعل ذلك (Ctrl+C).", - -PasteAsText : "لصق كنص بسيط", -PasteFromWord : "لصق من وورد", - -DlgPasteMsg2 : "الصق داخل الصندوق بإستخدام زرّي (<STRONG>Ctrl+V</STRONG>) في لوحة المفاتيح، ثم اضغط زر <STRONG>موافق</STRONG>.", -DlgPasteSec : "نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذا وجب عليك لصق المحتوى مرة أخرى في هذه النافذة.", -DlgPasteIgnoreFont : "تجاهل تعريفات أسماء الخطوط", -DlgPasteRemoveStyles : "إزالة تعريفات الأنماط", -DlgPasteCleanBox : "نظّف محتوى الصندوق", - -// Color Picker -ColorAutomatic : "تلقائي", -ColorMoreColors : "ألوان إضافية...", - -// Document Properties -DocProps : "خصائص الصفحة", - -// Anchor Dialog -DlgAnchorTitle : "خصائص إشارة مرجعية", -DlgAnchorName : "اسم الإشارة المرجعية", -DlgAnchorErrorName : "الرجاء كتابة اسم الإشارة المرجعية", - -// Speller Pages Dialog -DlgSpellNotInDic : "ليست في القاموس", -DlgSpellChangeTo : "التغيير إلى", -DlgSpellBtnIgnore : "تجاهل", -DlgSpellBtnIgnoreAll : "تجاهل الكل", -DlgSpellBtnReplace : "تغيير", -DlgSpellBtnReplaceAll : "تغيير الكل", -DlgSpellBtnUndo : "تراجع", -DlgSpellNoSuggestions : "- لا توجد إقتراحات -", -DlgSpellProgress : "جاري التدقيق إملائياً", -DlgSpellNoMispell : "تم إكمال التدقيق الإملائي: لم يتم العثور على أي أخطاء إملائية", -DlgSpellNoChanges : "تم إكمال التدقيق الإملائي: لم يتم تغيير أي كلمة", -DlgSpellOneChange : "تم إكمال التدقيق الإملائي: تم تغيير كلمة واحدة فقط", -DlgSpellManyChanges : "تم إكمال التدقيق الإملائي: تم تغيير %1 كلمات\كلمة", - -IeSpellDownload : "المدقق الإملائي (الإنجليزي) غير مثبّت. هل تود تحميله الآن؟", - -// Button Dialog -DlgButtonText : "القيمة/التسمية", -DlgButtonType : "نوع الزر", -DlgButtonTypeBtn : "زر", -DlgButtonTypeSbm : "إرسال", -DlgButtonTypeRst : "إعادة تعيين", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "الاسم", -DlgCheckboxValue : "القيمة", -DlgCheckboxSelected : "محدد", - -// Form Dialog -DlgFormName : "الاسم", -DlgFormAction : "اسم الملف", -DlgFormMethod : "الأسلوب", - -// Select Field Dialog -DlgSelectName : "الاسم", -DlgSelectValue : "القيمة", -DlgSelectSize : "الحجم", -DlgSelectLines : "الأسطر", -DlgSelectChkMulti : "السماح بتحديدات متعددة", -DlgSelectOpAvail : "الخيارات المتاحة", -DlgSelectOpText : "النص", -DlgSelectOpValue : "القيمة", -DlgSelectBtnAdd : "إضافة", -DlgSelectBtnModify : "تعديل", -DlgSelectBtnUp : "تحريك لأعلى", -DlgSelectBtnDown : "تحريك لأسفل", -DlgSelectBtnSetValue : "إجعلها محددة", -DlgSelectBtnDelete : "إزالة", - -// Textarea Dialog -DlgTextareaName : "الاسم", -DlgTextareaCols : "الأعمدة", -DlgTextareaRows : "الصفوف", - -// Text Field Dialog -DlgTextName : "الاسم", -DlgTextValue : "القيمة", -DlgTextCharWidth : "العرض بالأحرف", -DlgTextMaxChars : "عدد الحروف الأقصى", -DlgTextType : "نوع المحتوى", -DlgTextTypeText : "نص", -DlgTextTypePass : "كلمة مرور", - -// Hidden Field Dialog -DlgHiddenName : "الاسم", -DlgHiddenValue : "القيمة", - -// Bulleted List Dialog -BulletedListProp : "خصائص التعداد النقطي", -NumberedListProp : "خصائص التعداد الرقمي", -DlgLstStart : "البدء عند", -DlgLstType : "النوع", -DlgLstTypeCircle : "دائرة", -DlgLstTypeDisc : "قرص", -DlgLstTypeSquare : "مربع", -DlgLstTypeNumbers : "أرقام (1، 2، 3)َ", -DlgLstTypeLCase : "حروف صغيرة (a, b, c)َ", -DlgLstTypeUCase : "حروف كبيرة (A, B, C)َ", -DlgLstTypeSRoman : "ترقيم روماني صغير (i, ii, iii)َ", -DlgLstTypeLRoman : "ترقيم روماني كبير (I, II, III)َ", - -// Document Properties Dialog -DlgDocGeneralTab : "عام", -DlgDocBackTab : "الخلفية", -DlgDocColorsTab : "الألوان والهوامش", -DlgDocMetaTab : "المعرّفات الرأسية", - -DlgDocPageTitle : "عنوان الصفحة", -DlgDocLangDir : "إتجاه اللغة", -DlgDocLangDirLTR : "اليسار لليمين (LTR)", -DlgDocLangDirRTL : "اليمين لليسار (RTL)", -DlgDocLangCode : "رمز اللغة", -DlgDocCharSet : "ترميز الحروف", -DlgDocCharSetCE : "أوروبا الوسطى", -DlgDocCharSetCT : "الصينية التقليدية (Big5)", -DlgDocCharSetCR : "السيريلية", -DlgDocCharSetGR : "اليونانية", -DlgDocCharSetJP : "اليابانية", -DlgDocCharSetKR : "الكورية", -DlgDocCharSetTR : "التركية", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "أوروبا الغربية", -DlgDocCharSetOther : "ترميز آخر", - -DlgDocDocType : "ترويسة نوع الصفحة", -DlgDocDocTypeOther : "ترويسة نوع صفحة أخرى", -DlgDocIncXHTML : "تضمين إعلانات‏ لغة XHTMLَ", -DlgDocBgColor : "لون الخلفية", -DlgDocBgImage : "رابط الصورة الخلفية", -DlgDocBgNoScroll : "جعلها علامة مائية", -DlgDocCText : "النص", -DlgDocCLink : "الروابط", -DlgDocCVisited : "المزارة", -DlgDocCActive : "النشطة", -DlgDocMargins : "هوامش الصفحة", -DlgDocMaTop : "علوي", -DlgDocMaLeft : "أيسر", -DlgDocMaRight : "أيمن", -DlgDocMaBottom : "سفلي", -DlgDocMeIndex : "الكلمات الأساسية (مفصولة بفواصل)َ", -DlgDocMeDescr : "وصف الصفحة", -DlgDocMeAuthor : "الكاتب", -DlgDocMeCopy : "المالك", -DlgDocPreview : "معاينة", - -// Templates Dialog -Templates : "القوالب", -DlgTemplatesTitle : "قوالب المحتوى", -DlgTemplatesSelMsg : "اختر القالب الذي تود وضعه في المحرر <br>(سيتم فقدان المحتوى الحالي):", -DlgTemplatesLoading : "جاري تحميل قائمة القوالب، الرجاء الإنتظار...", -DlgTemplatesNoTpl : "(لم يتم تعريف أي قالب)", -DlgTemplatesReplace : "استبدال المحتوى", - -// About Dialog -DlgAboutAboutTab : "نبذة", -DlgAboutBrowserInfoTab : "معلومات متصفحك", -DlgAboutLicenseTab : "الترخيص", -DlgAboutVersion : "الإصدار", -DlgAboutInfo : "لمزيد من المعلومات تفضل بزيارة" -}; diff --git a/editor/editor/lang/bg.js b/editor/editor/lang/bg.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Bulgarian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Скрий панела с инструментите", -ToolbarExpand : "Покажи панела с инструментите", - -// Toolbar Items and Context Menu -Save : "Запази", -NewPage : "Нова страница", -Preview : "Предварителен изглед", -Cut : "Изрежи", -Copy : "Запамети", -Paste : "Вмъкни", -PasteText : "Вмъкни само текст", -PasteWord : "Вмъкни от MS Word", -Print : "Печат", -SelectAll : "Селектирай всичко", -RemoveFormat : "Изтрий форматирането", -InsertLinkLbl : "Връзка", -InsertLink : "Добави/Редактирай връзка", -RemoveLink : "Изтрий връзка", -Anchor : "Добави/Редактирай котва", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Изображение", -InsertImage : "Добави/Редактирай изображение", -InsertFlashLbl : "Flash", -InsertFlash : "Добави/Редактиай Flash обект", -InsertTableLbl : "Таблица", -InsertTable : "Добави/Редактирай таблица", -InsertLineLbl : "Линия", -InsertLine : "Вмъкни хоризонтална линия", -InsertSpecialCharLbl: "Специален символ", -InsertSpecialChar : "Вмъкни специален символ", -InsertSmileyLbl : "Усмивка", -InsertSmiley : "Добави усмивка", -About : "За FCKeditor", -Bold : "Удебелен", -Italic : "Курсив", -Underline : "Подчертан", -StrikeThrough : "Зачертан", -Subscript : "Индекс за база", -Superscript : "Индекс за степен", -LeftJustify : "Подравняване в ляво", -CenterJustify : "Подравнявне в средата", -RightJustify : "Подравняване в дясно", -BlockJustify : "Двустранно подравняване", -DecreaseIndent : "Намали отстъпа", -IncreaseIndent : "Увеличи отстъпа", -Blockquote : "Blockquote", //MISSING -Undo : "Отмени", -Redo : "Повтори", -NumberedListLbl : "Нумериран списък", -NumberedList : "Добави/Изтрий нумериран списък", -BulletedListLbl : "Ненумериран списък", -BulletedList : "Добави/Изтрий ненумериран списък", -ShowTableBorders : "Покажи рамките на таблицата", -ShowDetails : "Покажи подробности", -Style : "Стил", -FontFormat : "Формат", -Font : "Шрифт", -FontSize : "Размер", -TextColor : "Цвят на текста", -BGColor : "Цвят на фона", -Source : "Код", -Find : "Търси", -Replace : "Замести", -SpellCheck : "Провери правописа", -UniversalKeyboard : "Универсална клавиатура", -PageBreakLbl : "Нов ред", -PageBreak : "Вмъкни нов ред", - -Form : "Формуляр", -Checkbox : "Поле за отметка", -RadioButton : "Поле за опция", -TextField : "Текстово поле", -Textarea : "Текстова област", -HiddenField : "Скрито поле", -Button : "Бутон", -SelectionField : "Падащо меню с опции", -ImageButton : "Бутон-изображение", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Редактирай връзка", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Изтрий редовете", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Изтрий колоните", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Изтрий клетките", -MergeCells : "Обедини клетките", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Изтрий таблицата", -CellProperties : "Параметри на клетката", -TableProperties : "Параметри на таблицата", -ImageProperties : "Параметри на изображението", -FlashProperties : "Параметри на Flash обекта", - -AnchorProp : "Параметри на котвата", -ButtonProp : "Параметри на бутона", -CheckboxProp : "Параметри на полето за отметка", -HiddenFieldProp : "Параметри на скритото поле", -RadioButtonProp : "Параметри на полето за опция", -ImageButtonProp : "Параметри на бутона-изображение", -TextFieldProp : "Параметри на текстовото-поле", -SelectionFieldProp : "Параметри на падащото меню с опции", -TextareaProp : "Параметри на текстовата област", -FormProp : "Параметри на формуляра", - -FontFormats : "Нормален;Форматиран;Адрес;Заглавие 1;Заглавие 2;Заглавие 3;Заглавие 4;Заглавие 5;Заглавие 6;Параграф (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Обработка на XHTML. Моля изчакайте...", -Done : "Готово", -PasteWordConfirm : "Текстът, който искате да вмъкнете е копиран от MS Word. Желаете ли да бъде изчистен преди вмъкването?", -NotCompatiblePaste : "Тази операция изисква MS Internet Explorer версия 5.5 или по-висока. Желаете ли да вмъкнете запаметеното без изчистване?", -UnknownToolbarItem : "Непознат инструмент \"%1\"", -UnknownCommand : "Непозната команда \"%1\"", -NotImplemented : "Командата не е имплементирана", -UnknownToolbarSet : "Панелът \"%1\" не съществува", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "ОК", -DlgBtnCancel : "Отказ", -DlgBtnClose : "Затвори", -DlgBtnBrowseServer : "Разгледай сървъра", -DlgAdvancedTag : "Подробности...", -DlgOpOther : "<Друго>", -DlgInfoTab : "Информация", -DlgAlertUrl : "Моля, въведете пълния път (URL)", - -// General Dialogs Labels -DlgGenNotSet : "<не е настроен>", -DlgGenId : "Идентификатор", -DlgGenLangDir : "посока на речта", -DlgGenLangDirLtr : "От ляво на дясно", -DlgGenLangDirRtl : "От дясно на ляво", -DlgGenLangCode : "Код на езика", -DlgGenAccessKey : "Бърз клавиш", -DlgGenName : "Име", -DlgGenTabIndex : "Ред на достъп", -DlgGenLongDescr : "Описание на връзката", -DlgGenClass : "Клас от стиловите таблици", -DlgGenTitle : "Препоръчително заглавие", -DlgGenContType : "Препоръчителен тип на съдържанието", -DlgGenLinkCharset : "Тип на свързания ресурс", -DlgGenStyle : "Стил", - -// Image Dialog -DlgImgTitle : "Параметри на изображението", -DlgImgInfoTab : "Информация за изображението", -DlgImgBtnUpload : "Прати към сървъра", -DlgImgURL : "Пълен път (URL)", -DlgImgUpload : "Качи", -DlgImgAlt : "Алтернативен текст", -DlgImgWidth : "Ширина", -DlgImgHeight : "Височина", -DlgImgLockRatio : "Запази пропорцията", -DlgBtnResetSize : "Възстанови размера", -DlgImgBorder : "Рамка", -DlgImgHSpace : "Хоризонтален отстъп", -DlgImgVSpace : "Вертикален отстъп", -DlgImgAlign : "Подравняване", -DlgImgAlignLeft : "Ляво", -DlgImgAlignAbsBottom: "Най-долу", -DlgImgAlignAbsMiddle: "Точно по средата", -DlgImgAlignBaseline : "По базовата линия", -DlgImgAlignBottom : "Долу", -DlgImgAlignMiddle : "По средата", -DlgImgAlignRight : "Дясно", -DlgImgAlignTextTop : "Върху текста", -DlgImgAlignTop : "Отгоре", -DlgImgPreview : "Изглед", -DlgImgAlertUrl : "Моля, въведете пълния път до изображението", -DlgImgLinkTab : "Връзка", - -// Flash Dialog -DlgFlashTitle : "Параметри на Flash обекта", -DlgFlashChkPlay : "Автоматично стартиране", -DlgFlashChkLoop : "Ново стартиране след завършването", -DlgFlashChkMenu : "Разрешено Flash меню", -DlgFlashScale : "Оразмеряване", -DlgFlashScaleAll : "Покажи целия обект", -DlgFlashScaleNoBorder : "Без рамка", -DlgFlashScaleFit : "Според мястото", - -// Link Dialog -DlgLnkWindowTitle : "Връзка", -DlgLnkInfoTab : "Информация за връзката", -DlgLnkTargetTab : "Цел", - -DlgLnkType : "Вид на връзката", -DlgLnkTypeURL : "Пълен път (URL)", -DlgLnkTypeAnchor : "Котва в текущата страница", -DlgLnkTypeEMail : "Е-поща", -DlgLnkProto : "Протокол", -DlgLnkProtoOther : "<друго>", -DlgLnkURL : "Пълен път (URL)", -DlgLnkAnchorSel : "Изберете котва", -DlgLnkAnchorByName : "По име на котвата", -DlgLnkAnchorById : "По идентификатор на елемент", -DlgLnkNoAnchors : "(Няма котви в текущия документ)", -DlgLnkEMail : "Адрес за е-поща", -DlgLnkEMailSubject : "Тема на писмото", -DlgLnkEMailBody : "Текст на писмото", -DlgLnkUpload : "Качи", -DlgLnkBtnUpload : "Прати на сървъра", - -DlgLnkTarget : "Цел", -DlgLnkTargetFrame : "<рамка>", -DlgLnkTargetPopup : "<дъщерен прозорец>", -DlgLnkTargetBlank : "Нов прозорец (_blank)", -DlgLnkTargetParent : "Родителски прозорец (_parent)", -DlgLnkTargetSelf : "Активния прозорец (_self)", -DlgLnkTargetTop : "Целия прозорец (_top)", -DlgLnkTargetFrameName : "Име на целевия прозорец", -DlgLnkPopWinName : "Име на дъщерния прозорец", -DlgLnkPopWinFeat : "Параметри на дъщерния прозорец", -DlgLnkPopResize : "С променливи размери", -DlgLnkPopLocation : "Поле за адрес", -DlgLnkPopMenu : "Меню", -DlgLnkPopScroll : "Плъзгач", -DlgLnkPopStatus : "Поле за статус", -DlgLnkPopToolbar : "Панел с бутони", -DlgLnkPopFullScrn : "Голям екран (MS IE)", -DlgLnkPopDependent : "Зависим (Netscape)", -DlgLnkPopWidth : "Ширина", -DlgLnkPopHeight : "Височина", -DlgLnkPopLeft : "Координати - X", -DlgLnkPopTop : "Координати - Y", - -DlnLnkMsgNoUrl : "Моля, напишете пълния път (URL)", -DlnLnkMsgNoEMail : "Моля, напишете адреса за е-поща", -DlnLnkMsgNoAnchor : "Моля, изберете котва", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Изберете цвят", -DlgColorBtnClear : "Изчисти", -DlgColorHighlight : "Текущ", -DlgColorSelected : "Избран", - -// Smiley Dialog -DlgSmileyTitle : "Добави усмивка", - -// Special Character Dialog -DlgSpecialCharTitle : "Изберете специален символ", - -// Table Dialog -DlgTableTitle : "Параметри на таблицата", -DlgTableRows : "Редове", -DlgTableColumns : "Колони", -DlgTableBorder : "Размер на рамката", -DlgTableAlign : "Подравняване", -DlgTableAlignNotSet : "<Не е избрано>", -DlgTableAlignLeft : "Ляво", -DlgTableAlignCenter : "Център", -DlgTableAlignRight : "Дясно", -DlgTableWidth : "Ширина", -DlgTableWidthPx : "пиксели", -DlgTableWidthPc : "проценти", -DlgTableHeight : "Височина", -DlgTableCellSpace : "Разстояние между клетките", -DlgTableCellPad : "Отстъп на съдържанието в клетките", -DlgTableCaption : "Заглавие", -DlgTableSummary : "Резюме", - -// Table Cell Dialog -DlgCellTitle : "Параметри на клетката", -DlgCellWidth : "Ширина", -DlgCellWidthPx : "пиксели", -DlgCellWidthPc : "проценти", -DlgCellHeight : "Височина", -DlgCellWordWrap : "пренасяне на нов ред", -DlgCellWordWrapNotSet : "<Не е настроено>", -DlgCellWordWrapYes : "Да", -DlgCellWordWrapNo : "не", -DlgCellHorAlign : "Хоризонтално подравняване", -DlgCellHorAlignNotSet : "<Не е настроено>", -DlgCellHorAlignLeft : "Ляво", -DlgCellHorAlignCenter : "Център", -DlgCellHorAlignRight: "Дясно", -DlgCellVerAlign : "Вертикално подравняване", -DlgCellVerAlignNotSet : "<Не е настроено>", -DlgCellVerAlignTop : "Горе", -DlgCellVerAlignMiddle : "По средата", -DlgCellVerAlignBottom : "Долу", -DlgCellVerAlignBaseline : "По базовата линия", -DlgCellRowSpan : "повече от един ред", -DlgCellCollSpan : "повече от една колона", -DlgCellBackColor : "фонов цвят", -DlgCellBorderColor : "цвят на рамката", -DlgCellBtnSelect : "Изберете...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Търси", -DlgFindFindBtn : "Търси", -DlgFindNotFoundMsg : "Указания текст не беше намерен.", - -// Replace Dialog -DlgReplaceTitle : "Замести", -DlgReplaceFindLbl : "Търси:", -DlgReplaceReplaceLbl : "Замести с:", -DlgReplaceCaseChk : "Със същия регистър", -DlgReplaceReplaceBtn : "Замести", -DlgReplaceReplAllBtn : "Замести всички", -DlgReplaceWordChk : "Търси същата дума", - -// Paste Operations / Dialog -PasteErrorCut : "Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни изрязването. За целта използвайте клавиатурата (Ctrl+X).", -PasteErrorCopy : "Настройките за сигурност на вашия бразуър не разрешават на редактора да изпълни запаметяването. За целта използвайте клавиатурата (Ctrl+C).", - -PasteAsText : "Вмъкни като чист текст", -PasteFromWord : "Вмъкни от MS Word", - -DlgPasteMsg2 : "Вмъкнете тук съдъжанието с клавиатуарата (<STRONG>Ctrl+V</STRONG>) и натиснете <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Игнорирай шрифтовите дефиниции", -DlgPasteRemoveStyles : "Изтрий стиловите дефиниции", -DlgPasteCleanBox : "Изчисти", - -// Color Picker -ColorAutomatic : "По подразбиране", -ColorMoreColors : "Други цветове...", - -// Document Properties -DocProps : "Параметри на документа", - -// Anchor Dialog -DlgAnchorTitle : "Параметри на котвата", -DlgAnchorName : "Име на котвата", -DlgAnchorErrorName : "Моля, въведете име на котвата", - -// Speller Pages Dialog -DlgSpellNotInDic : "Липсва в речника", -DlgSpellChangeTo : "Промени на", -DlgSpellBtnIgnore : "Игнорирай", -DlgSpellBtnIgnoreAll : "Игнорирай всички", -DlgSpellBtnReplace : "Замести", -DlgSpellBtnReplaceAll : "Замести всички", -DlgSpellBtnUndo : "Отмени", -DlgSpellNoSuggestions : "- Няма предложения -", -DlgSpellProgress : "Извършване на проверката за правопис...", -DlgSpellNoMispell : "Проверката за правопис завършена: не са открити правописни грешки", -DlgSpellNoChanges : "Проверката за правопис завършена: няма променени думи", -DlgSpellOneChange : "Проверката за правопис завършена: една дума е променена", -DlgSpellManyChanges : "Проверката за правопис завършена: %1 думи са променени", - -IeSpellDownload : "Инструментът за проверка на правопис не е инсталиран. Желаете ли да го инсталирате ?", - -// Button Dialog -DlgButtonText : "Текст (Стойност)", -DlgButtonType : "Тип", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Име", -DlgCheckboxValue : "Стойност", -DlgCheckboxSelected : "Отметнато", - -// Form Dialog -DlgFormName : "Име", -DlgFormAction : "Действие", -DlgFormMethod : "Метод", - -// Select Field Dialog -DlgSelectName : "Име", -DlgSelectValue : "Стойност", -DlgSelectSize : "Размер", -DlgSelectLines : "линии", -DlgSelectChkMulti : "Разрешено множествено селектиране", -DlgSelectOpAvail : "Възможни опции", -DlgSelectOpText : "Текст", -DlgSelectOpValue : "Стойност", -DlgSelectBtnAdd : "Добави", -DlgSelectBtnModify : "Промени", -DlgSelectBtnUp : "Нагоре", -DlgSelectBtnDown : "Надолу", -DlgSelectBtnSetValue : "Настрой като избрана стойност", -DlgSelectBtnDelete : "Изтрий", - -// Textarea Dialog -DlgTextareaName : "Име", -DlgTextareaCols : "Колони", -DlgTextareaRows : "Редове", - -// Text Field Dialog -DlgTextName : "Име", -DlgTextValue : "Стойност", -DlgTextCharWidth : "Ширина на символите", -DlgTextMaxChars : "Максимум символи", -DlgTextType : "Тип", -DlgTextTypeText : "Текст", -DlgTextTypePass : "Парола", - -// Hidden Field Dialog -DlgHiddenName : "Име", -DlgHiddenValue : "Стойност", - -// Bulleted List Dialog -BulletedListProp : "Параметри на ненумерирания списък", -NumberedListProp : "Параметри на нумерирания списък", -DlgLstStart : "Start", //MISSING -DlgLstType : "Тип", -DlgLstTypeCircle : "Окръжност", -DlgLstTypeDisc : "Кръг", -DlgLstTypeSquare : "Квадрат", -DlgLstTypeNumbers : "Числа (1, 2, 3)", -DlgLstTypeLCase : "Малки букви (a, b, c)", -DlgLstTypeUCase : "Големи букви (A, B, C)", -DlgLstTypeSRoman : "Малки римски числа (i, ii, iii)", -DlgLstTypeLRoman : "Големи римски числа (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Общи", -DlgDocBackTab : "Фон", -DlgDocColorsTab : "Цветове и отстъпи", -DlgDocMetaTab : "Мета данни", - -DlgDocPageTitle : "Заглавие на страницата", -DlgDocLangDir : "Посока на речта", -DlgDocLangDirLTR : "От ляво на дясно", -DlgDocLangDirRTL : "От дясно на ляво", -DlgDocLangCode : "Код на езика", -DlgDocCharSet : "Кодиране на символите", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Друго кодиране на символите", - -DlgDocDocType : "Тип на документа", -DlgDocDocTypeOther : "Друг тип на документа", -DlgDocIncXHTML : "Включи XHTML декларация", -DlgDocBgColor : "Цвят на фона", -DlgDocBgImage : "Пълен път до фоновото изображение", -DlgDocBgNoScroll : "Не-повтарящо се фоново изображение", -DlgDocCText : "Текст", -DlgDocCLink : "Връзка", -DlgDocCVisited : "Посетена връзка", -DlgDocCActive : "Активна връзка", -DlgDocMargins : "Отстъпи на страницата", -DlgDocMaTop : "Горе", -DlgDocMaLeft : "Ляво", -DlgDocMaRight : "Дясно", -DlgDocMaBottom : "Долу", -DlgDocMeIndex : "Ключови думи за документа (разделени със запетаи)", -DlgDocMeDescr : "Описание на документа", -DlgDocMeAuthor : "Автор", -DlgDocMeCopy : "Авторски права", -DlgDocPreview : "Изглед", - -// Templates Dialog -Templates : "Шаблони", -DlgTemplatesTitle : "Шаблони", -DlgTemplatesSelMsg : "Изберете шаблон <br>(текущото съдържание на редактора ще бъде загубено):", -DlgTemplatesLoading : "Зареждане на списъка с шаблоните. Моля изчакайте...", -DlgTemplatesNoTpl : "(Няма дефинирани шаблони)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "За", -DlgAboutBrowserInfoTab : "Информация за браузъра", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "версия", -DlgAboutInfo : "За повече информация посетете" -}; diff --git a/editor/editor/lang/bn.js b/editor/editor/lang/bn.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Bengali/Bangla language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "টূলবার গুটিয়ে দাও", -ToolbarExpand : "টূলবার ছড়িয়ে দাও", - -// Toolbar Items and Context Menu -Save : "সংরক্ষন কর", -NewPage : "নতুন পেজ", -Preview : "প্রিভিউ", -Cut : "কাট", -Copy : "কপি", -Paste : "পেস্ট", -PasteText : "পেস্ট (সাদা টেক্সট)", -PasteWord : "পেস্ট (শব্দ)", -Print : "প্রিন্ট", -SelectAll : "সব সিলেক্ট কর", -RemoveFormat : "ফরমেট সরাও", -InsertLinkLbl : "লিংকের যুক্ত করার লেবেল", -InsertLink : "লিংক যুক্ত কর", -RemoveLink : "লিংক সরাও", -Anchor : "নোঙ্গর", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "ছবির লেবেল যুক্ত কর", -InsertImage : "ছবি যুক্ত কর", -InsertFlashLbl : "ফ্লাশ লেবেল যুক্ত কর", -InsertFlash : "ফ্লাশ যুক্ত কর", -InsertTableLbl : "টেবিলের লেবেল যুক্ত কর", -InsertTable : "টেবিল যুক্ত কর", -InsertLineLbl : "রেখা যুক্ত কর", -InsertLine : "রেখা যুক্ত কর", -InsertSpecialCharLbl: "বিশেষ অক্ষরের লেবেল যুক্ত কর", -InsertSpecialChar : "বিশেষ অক্ষর যুক্ত কর", -InsertSmileyLbl : "স্মাইলী", -InsertSmiley : "স্মাইলী যুক্ত কর", -About : "FCKeditor কে বানিয়েছে", -Bold : "বোল্ড", -Italic : "ইটালিক", -Underline : "আন্ডারলাইন", -StrikeThrough : "স্ট্রাইক থ্রু", -Subscript : "অধোলেখ", -Superscript : "অভিলেখ", -LeftJustify : "বা দিকে ঘেঁষা", -CenterJustify : "মাঝ বরাবর ঘেষা", -RightJustify : "ডান দিকে ঘেঁষা", -BlockJustify : "ব্লক জাস্টিফাই", -DecreaseIndent : "ইনডেন্ট কমাও", -IncreaseIndent : "ইনডেন্ট বাড়াও", -Blockquote : "Blockquote", //MISSING -Undo : "আনডু", -Redo : "রি-ডু", -NumberedListLbl : "সাংখ্যিক লিস্টের লেবেল", -NumberedList : "সাংখ্যিক লিস্ট", -BulletedListLbl : "বুলেট লিস্ট লেবেল", -BulletedList : "বুলেটেড লিস্ট", -ShowTableBorders : "টেবিল বর্ডার", -ShowDetails : "সবটুকু দেখাও", -Style : "স্টাইল", -FontFormat : "ফন্ট ফরমেট", -Font : "ফন্ট", -FontSize : "সাইজ", -TextColor : "টেক্স্ট রং", -BGColor : "বেকগ্রাউন্ড রং", -Source : "সোর্স", -Find : "খোজো", -Replace : "রিপ্লেস", -SpellCheck : "বানান চেক", -UniversalKeyboard : "সার্বজনীন কিবোর্ড", -PageBreakLbl : "পেজ ব্রেক লেবেল", -PageBreak : "পেজ ব্রেক", - -Form : "ফর্ম", -Checkbox : "চেক বাক্স", -RadioButton : "রেডিও বাটন", -TextField : "টেক্সট ফীল্ড", -Textarea : "টেক্সট এরিয়া", -HiddenField : "গুপ্ত ফীল্ড", -Button : "বাটন", -SelectionField : "বাছাই ফীল্ড", -ImageButton : "ছবির বাটন", - -FitWindow : "উইন্ডো ফিট কর", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "লিংক সম্পাদন", -CellCM : "সেল", -RowCM : "রো", -ColumnCM : "কলাম", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "রো মুছে দাও", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "কলাম মুছে দাও", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "সেল মুছে দাও", -MergeCells : "সেল জোড়া দাও", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "টেবিল ডিলীট কর", -CellProperties : "সেলের প্রোপার্টিজ", -TableProperties : "টেবিল প্রোপার্টি", -ImageProperties : "ছবি প্রোপার্টি", -FlashProperties : "ফ্লাশ প্রোপার্টি", - -AnchorProp : "নোঙর প্রোপার্টি", -ButtonProp : "বাটন প্রোপার্টি", -CheckboxProp : "চেক বক্স প্রোপার্টি", -HiddenFieldProp : "গুপ্ত ফীল্ড প্রোপার্টি", -RadioButtonProp : "রেডিও বাটন প্রোপার্টি", -ImageButtonProp : "ছবি বাটন প্রোপার্টি", -TextFieldProp : "টেক্সট ফীল্ড প্রোপার্টি", -SelectionFieldProp : "বাছাই ফীল্ড প্রোপার্টি", -TextareaProp : "টেক্সট এরিয়া প্রোপার্টি", -FormProp : "ফর্ম প্রোপার্টি", - -FontFormats : "সাধারণ;ফর্মেটেড;ঠিকানা;শীর্ষক ১;শীর্ষক ২;শীর্ষক ৩;শীর্ষক ৪;শীর্ষক ৫;শীর্ষক ৬;শীর্ষক (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML প্রসেস করা হচ্ছে", -Done : "শেষ হয়েছে", -PasteWordConfirm : "যে টেকস্টটি আপনি পেস্ট করতে চাচ্ছেন মনে হচ্ছে সেটি ওয়ার্ড থেকে কপি করা। আপনি কি পেস্ট করার আগে একে পরিষ্কার করতে চান?", -NotCompatiblePaste : "এই কমান্ডটি শুধুমাত্র ইন্টারনেট এক্সপ্লোরার ৫.০ বা তার পরের ভার্সনে পাওয়া সম্ভব। আপনি কি পরিষ্কার না করেই পেস্ট করতে চান?", -UnknownToolbarItem : "অজানা টুলবার আইটেম \"%1\"", -UnknownCommand : "অজানা কমান্ড \"%1\"", -NotImplemented : "কমান্ড ইমপ্লিমেন্ট করা হয়নি", -UnknownToolbarSet : "টুলবার সেট \"%1\" এর অস্তিত্ব নেই", -NoActiveX : "আপনার ব্রাউজারের সুরক্ষা সেটিংস কারনে এডিটরের কিছু ফিচার পাওয়া নাও যেতে পারে। আপনাকে অবশ্যই \"Run ActiveX controls and plug-ins\" এনাবেল করে নিতে হবে। আপনি ভুলভ্রান্তি কিছু কিছু ফিচারের অনুপস্থিতি উপলব্ধি করতে পারেন।", -BrowseServerBlocked : "রিসোর্স ব্রাউজার খোলা গেল না। নিশ্চিত করুন যে সব পপআপ ব্লকার বন্ধ করা আছে।", -DialogBlocked : "ডায়ালগ ইউন্ডো খোলা গেল না। নিশ্চিত করুন যে সব পপআপ ব্লকার বন্ধ করা আছে।", - -// Dialogs -DlgBtnOK : "ওকে", -DlgBtnCancel : "বাতিল", -DlgBtnClose : "বন্ধ কর", -DlgBtnBrowseServer : "ব্রাউজ সার্ভার", -DlgAdvancedTag : "এডভান্সড", -DlgOpOther : "<অন্য>", -DlgInfoTab : "তথ্য", -DlgAlertUrl : "দয়া করে URL যুক্ত করুন", - -// General Dialogs Labels -DlgGenNotSet : "<সেট নেই>", -DlgGenId : "আইডি", -DlgGenLangDir : "ভাষা লেখার দিক", -DlgGenLangDirLtr : "বাম থেকে ডান (LTR)", -DlgGenLangDirRtl : "ডান থেকে বাম (RTL)", -DlgGenLangCode : "ভাষা কোড", -DlgGenAccessKey : "এক্সেস কী", -DlgGenName : "নাম", -DlgGenTabIndex : "ট্যাব ইন্ডেক্স", -DlgGenLongDescr : "URL এর লম্বা বর্ণনা", -DlgGenClass : "স্টাইল-শীট ক্লাস", -DlgGenTitle : "পরামর্শ শীর্ষক", -DlgGenContType : "পরামর্শ কন্টেন্টের প্রকার", -DlgGenLinkCharset : "লিংক রিসোর্স ক্যারেক্টর সেট", -DlgGenStyle : "স্টাইল", - -// Image Dialog -DlgImgTitle : "ছবির প্রোপার্টি", -DlgImgInfoTab : "ছবির তথ্য", -DlgImgBtnUpload : "ইহাকে সার্ভারে প্রেরন কর", -DlgImgURL : "URL", -DlgImgUpload : "আপলোড", -DlgImgAlt : "বিকল্প টেক্সট", -DlgImgWidth : "প্রস্থ", -DlgImgHeight : "দৈর্ঘ্য", -DlgImgLockRatio : "অনুপাত লক কর", -DlgBtnResetSize : "সাইজ পূর্বাবস্থায় ফিরিয়ে দাও", -DlgImgBorder : "বর্ডার", -DlgImgHSpace : "হরাইজন্টাল স্পেস", -DlgImgVSpace : "ভার্টিকেল স্পেস", -DlgImgAlign : "এলাইন", -DlgImgAlignLeft : "বামে", -DlgImgAlignAbsBottom: "Abs নীচে", -DlgImgAlignAbsMiddle: "Abs উপর", -DlgImgAlignBaseline : "মূল রেখা", -DlgImgAlignBottom : "নীচে", -DlgImgAlignMiddle : "মধ্য", -DlgImgAlignRight : "ডানে", -DlgImgAlignTextTop : "টেক্সট উপর", -DlgImgAlignTop : "উপর", -DlgImgPreview : "প্রীভিউ", -DlgImgAlertUrl : "অনুগ্রহক করে ছবির URL টাইপ করুন", -DlgImgLinkTab : "লিংক", - -// Flash Dialog -DlgFlashTitle : "ফ্ল্যাশ প্রোপার্টি", -DlgFlashChkPlay : "অটো প্লে", -DlgFlashChkLoop : "লূপ", -DlgFlashChkMenu : "ফ্ল্যাশ মেনু এনাবল কর", -DlgFlashScale : "স্কেল", -DlgFlashScaleAll : "সব দেখাও", -DlgFlashScaleNoBorder : "কোনো বর্ডার নেই", -DlgFlashScaleFit : "নিখুঁত ফিট", - -// Link Dialog -DlgLnkWindowTitle : "লিংক", -DlgLnkInfoTab : "লিংক তথ্য", -DlgLnkTargetTab : "টার্গেট", - -DlgLnkType : "লিংক প্রকার", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "এই পেজে নোঙর কর", -DlgLnkTypeEMail : "ইমেইল", -DlgLnkProto : "প্রোটোকল", -DlgLnkProtoOther : "<অন্য>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "নোঙর বাছাই", -DlgLnkAnchorByName : "নোঙরের নাম দিয়ে", -DlgLnkAnchorById : "নোঙরের আইডি দিয়ে", -DlgLnkNoAnchors : "(No anchors available in the document)", //MISSING -DlgLnkEMail : "ইমেইল ঠিকানা", -DlgLnkEMailSubject : "মেসেজের বিষয়", -DlgLnkEMailBody : "মেসেজের দেহ", -DlgLnkUpload : "আপলোড", -DlgLnkBtnUpload : "একে সার্ভারে পাঠাও", - -DlgLnkTarget : "টার্গেট", -DlgLnkTargetFrame : "<ফ্রেম>", -DlgLnkTargetPopup : "<পপআপ উইন্ডো>", -DlgLnkTargetBlank : "নতুন উইন্ডো (_blank)", -DlgLnkTargetParent : "মূল উইন্ডো (_parent)", -DlgLnkTargetSelf : "এই উইন্ডো (_self)", -DlgLnkTargetTop : "শীর্ষ উইন্ডো (_top)", -DlgLnkTargetFrameName : "টার্গেট ফ্রেমের নাম", -DlgLnkPopWinName : "পপআপ উইন্ডোর নাম", -DlgLnkPopWinFeat : "পপআপ উইন্ডো ফীচার সমূহ", -DlgLnkPopResize : "রিসাইজ করা সম্ভব", -DlgLnkPopLocation : "লোকেশন বার", -DlgLnkPopMenu : "মেন্যু বার", -DlgLnkPopScroll : "স্ক্রল বার", -DlgLnkPopStatus : "স্ট্যাটাস বার", -DlgLnkPopToolbar : "টুল বার", -DlgLnkPopFullScrn : "পূর্ণ পর্দা জুড়ে (IE)", -DlgLnkPopDependent : "ডিপেন্ডেন্ট (Netscape)", -DlgLnkPopWidth : "প্রস্থ", -DlgLnkPopHeight : "দৈর্ঘ্য", -DlgLnkPopLeft : "বামের পজিশন", -DlgLnkPopTop : "ডানের পজিশন", - -DlnLnkMsgNoUrl : "অনুগ্রহ করে URL লিংক টাইপ করুন", -DlnLnkMsgNoEMail : "অনুগ্রহ করে ইমেইল এড্রেস টাইপ করুন", -DlnLnkMsgNoAnchor : "অনুগ্রহ করে নোঙর বাছাই করুন", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "রং বাছাই কর", -DlgColorBtnClear : "পরিষ্কার কর", -DlgColorHighlight : "হাইলাইট", -DlgColorSelected : "সিলেক্টেড", - -// Smiley Dialog -DlgSmileyTitle : "স্মাইলী যুক্ত কর", - -// Special Character Dialog -DlgSpecialCharTitle : "বিশেষ ক্যারেক্টার বাছাই কর", - -// Table Dialog -DlgTableTitle : "টেবিল প্রোপার্টি", -DlgTableRows : "রো", -DlgTableColumns : "কলাম", -DlgTableBorder : "বর্ডার সাইজ", -DlgTableAlign : "এলাইনমেন্ট", -DlgTableAlignNotSet : "<সেট নেই>", -DlgTableAlignLeft : "বামে", -DlgTableAlignCenter : "মাঝখানে", -DlgTableAlignRight : "ডানে", -DlgTableWidth : "প্রস্থ", -DlgTableWidthPx : "পিক্সেল", -DlgTableWidthPc : "শতকরা", -DlgTableHeight : "দৈর্ঘ্য", -DlgTableCellSpace : "সেল স্পেস", -DlgTableCellPad : "সেল প্যাডিং", -DlgTableCaption : "শীর্ষক", -DlgTableSummary : "সারাংশ", - -// Table Cell Dialog -DlgCellTitle : "সেল প্রোপার্টি", -DlgCellWidth : "প্রস্থ", -DlgCellWidthPx : "পিক্সেল", -DlgCellWidthPc : "শতকরা", -DlgCellHeight : "দৈর্ঘ্য", -DlgCellWordWrap : "ওয়ার্ড রেপ", -DlgCellWordWrapNotSet : "<সেট নেই>", -DlgCellWordWrapYes : "হাঁ", -DlgCellWordWrapNo : "না", -DlgCellHorAlign : "হরাইজন্টাল এলাইনমেন্ট", -DlgCellHorAlignNotSet : "<সেট নেই>", -DlgCellHorAlignLeft : "বামে", -DlgCellHorAlignCenter : "মাঝখানে", -DlgCellHorAlignRight: "ডানে", -DlgCellVerAlign : "ভার্টিক্যাল এলাইনমেন্ট", -DlgCellVerAlignNotSet : "<সেট নেই>", -DlgCellVerAlignTop : "উপর", -DlgCellVerAlignMiddle : "মধ্য", -DlgCellVerAlignBottom : "নীচে", -DlgCellVerAlignBaseline : "মূলরেখা", -DlgCellRowSpan : "রো স্প্যান", -DlgCellCollSpan : "কলাম স্প্যান", -DlgCellBackColor : "ব্যাকগ্রাউন্ড রং", -DlgCellBorderColor : "বর্ডারের রং", -DlgCellBtnSelect : "বাছাই কর", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "খোঁজো", -DlgFindFindBtn : "খোঁজো", -DlgFindNotFoundMsg : "আপনার উল্লেখিত টেকস্ট পাওয়া যায়নি", - -// Replace Dialog -DlgReplaceTitle : "বদলে দাও", -DlgReplaceFindLbl : "যা খুঁজতে হবে:", -DlgReplaceReplaceLbl : "যার সাথে বদলাতে হবে:", -DlgReplaceCaseChk : "কেস মিলাও", -DlgReplaceReplaceBtn : "বদলে দাও", -DlgReplaceReplAllBtn : "সব বদলে দাও", -DlgReplaceWordChk : "পুরা শব্দ মেলাও", - -// Paste Operations / Dialog -PasteErrorCut : "আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কাট করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+X)।", -PasteErrorCopy : "আপনার ব্রাউজারের সুরক্ষা সেটিংস এডিটরকে অটোমেটিক কপি করার অনুমতি দেয়নি। দয়া করে এই কাজের জন্য কিবোর্ড ব্যবহার করুন (Ctrl+C)।", - -PasteAsText : "সাদা টেক্সট হিসেবে পেস্ট কর", -PasteFromWord : "ওয়ার্ড থেকে পেস্ট কর", - -DlgPasteMsg2 : "অনুগ্রহ করে নীচের বাক্সে কিবোর্ড ব্যবহার করে (<STRONG>Ctrl+V</STRONG>) পেস্ট করুন এবং <STRONG>OK</STRONG> চাপ দিন", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "ফন্ট ফেস ডেফিনেশন ইগনোর করুন", -DlgPasteRemoveStyles : "স্টাইল ডেফিনেশন সরিয়ে দিন", -DlgPasteCleanBox : "বাক্স পরিষ্কার করুন", - -// Color Picker -ColorAutomatic : "অটোমেটিক", -ColorMoreColors : "আরও রং...", - -// Document Properties -DocProps : "ডক্যুমেন্ট প্রোপার্টি", - -// Anchor Dialog -DlgAnchorTitle : "নোঙরের প্রোপার্টি", -DlgAnchorName : "নোঙরের নাম", -DlgAnchorErrorName : "নোঙরের নাম টাইপ করুন", - -// Speller Pages Dialog -DlgSpellNotInDic : "শব্দকোষে নেই", -DlgSpellChangeTo : "এতে বদলাও", -DlgSpellBtnIgnore : "ইগনোর কর", -DlgSpellBtnIgnoreAll : "সব ইগনোর কর", -DlgSpellBtnReplace : "বদলে দাও", -DlgSpellBtnReplaceAll : "সব বদলে দাও", -DlgSpellBtnUndo : "আন্ডু", -DlgSpellNoSuggestions : "- কোন সাজেশন নেই -", -DlgSpellProgress : "বানান পরীক্ষা চলছে...", -DlgSpellNoMispell : "বানান পরীক্ষা শেষ: কোন ভুল বানান পাওয়া যায়নি", -DlgSpellNoChanges : "বানান পরীক্ষা শেষ: কোন শব্দ পরিবর্তন করা হয়নি", -DlgSpellOneChange : "বানান পরীক্ষা শেষ: একটি মাত্র শব্দ পরিবর্তন করা হয়েছে", -DlgSpellManyChanges : "বানান পরীক্ষা শেষ: %1 গুলো শব্দ বদলে গ্যাছে", - -IeSpellDownload : "বানান পরীক্ষক ইনস্টল করা নেই। আপনি কি এখনই এটা ডাউনলোড করতে চান?", - -// Button Dialog -DlgButtonText : "টেক্সট (ভ্যালু)", -DlgButtonType : "প্রকার", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "নাম", -DlgCheckboxValue : "ভ্যালু", -DlgCheckboxSelected : "সিলেক্টেড", - -// Form Dialog -DlgFormName : "নাম", -DlgFormAction : "একশ্যন", -DlgFormMethod : "পদ্ধতি", - -// Select Field Dialog -DlgSelectName : "নাম", -DlgSelectValue : "ভ্যালু", -DlgSelectSize : "সাইজ", -DlgSelectLines : "লাইন সমূহ", -DlgSelectChkMulti : "একাধিক সিলেকশন এলাউ কর", -DlgSelectOpAvail : "অন্যান্য বিকল্প", -DlgSelectOpText : "টেক্সট", -DlgSelectOpValue : "ভ্যালু", -DlgSelectBtnAdd : "যুক্ত", -DlgSelectBtnModify : "বদলে দাও", -DlgSelectBtnUp : "উপর", -DlgSelectBtnDown : "নীচে", -DlgSelectBtnSetValue : "বাছাই করা ভ্যালু হিসেবে সেট কর", -DlgSelectBtnDelete : "ডিলীট", - -// Textarea Dialog -DlgTextareaName : "নাম", -DlgTextareaCols : "কলাম", -DlgTextareaRows : "রো", - -// Text Field Dialog -DlgTextName : "নাম", -DlgTextValue : "ভ্যালু", -DlgTextCharWidth : "ক্যারেক্টার প্রশস্ততা", -DlgTextMaxChars : "সর্বাধিক ক্যারেক্টার", -DlgTextType : "টাইপ", -DlgTextTypeText : "টেক্সট", -DlgTextTypePass : "পাসওয়ার্ড", - -// Hidden Field Dialog -DlgHiddenName : "নাম", -DlgHiddenValue : "ভ্যালু", - -// Bulleted List Dialog -BulletedListProp : "বুলেটেড সূচী প্রোপার্টি", -NumberedListProp : "সাংখ্যিক সূচী প্রোপার্টি", -DlgLstStart : "Start", //MISSING -DlgLstType : "প্রকার", -DlgLstTypeCircle : "গোল", -DlgLstTypeDisc : "ডিস্ক", -DlgLstTypeSquare : "চৌকোণা", -DlgLstTypeNumbers : "সংখ্যা (1, 2, 3)", -DlgLstTypeLCase : "ছোট অক্ষর (a, b, c)", -DlgLstTypeUCase : "বড় অক্ষর (A, B, C)", -DlgLstTypeSRoman : "ছোট রোমান সংখ্যা (i, ii, iii)", -DlgLstTypeLRoman : "বড় রোমান সংখ্যা (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "সাধারন", -DlgDocBackTab : "ব্যাকগ্রাউন্ড", -DlgDocColorsTab : "রং এবং মার্জিন", -DlgDocMetaTab : "মেটাডেটা", - -DlgDocPageTitle : "পেজ শীর্ষক", -DlgDocLangDir : "ভাষা লিখার দিক", -DlgDocLangDirLTR : "বাম থেকে ডানে (LTR)", -DlgDocLangDirRTL : "ডান থেকে বামে (RTL)", -DlgDocLangCode : "ভাষা কোড", -DlgDocCharSet : "ক্যারেক্টার সেট এনকোডিং", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "অন্য ক্যারেক্টার সেট এনকোডিং", - -DlgDocDocType : "ডক্যুমেন্ট টাইপ হেডিং", -DlgDocDocTypeOther : "অন্য ডক্যুমেন্ট টাইপ হেডিং", -DlgDocIncXHTML : "XHTML ডেক্লারেশন যুক্ত কর", -DlgDocBgColor : "ব্যাকগ্রাউন্ড রং", -DlgDocBgImage : "ব্যাকগ্রাউন্ড ছবির URL", -DlgDocBgNoScroll : "স্ক্রলহীন ব্যাকগ্রাউন্ড", -DlgDocCText : "টেক্সট", -DlgDocCLink : "লিংক", -DlgDocCVisited : "ভিজিট করা লিংক", -DlgDocCActive : "সক্রিয় লিংক", -DlgDocMargins : "পেজ মার্জিন", -DlgDocMaTop : "উপর", -DlgDocMaLeft : "বামে", -DlgDocMaRight : "ডানে", -DlgDocMaBottom : "নীচে", -DlgDocMeIndex : "ডক্যুমেন্ট ইন্ডেক্স কিওয়ার্ড (কমা দ্বারা বিচ্ছিন্ন)", -DlgDocMeDescr : "ডক্যূমেন্ট বর্ণনা", -DlgDocMeAuthor : "লেখক", -DlgDocMeCopy : "কপীরাইট", -DlgDocPreview : "প্রীভিউ", - -// Templates Dialog -Templates : "টেমপ্লেট", -DlgTemplatesTitle : "কনটেন্ট টেমপ্লেট", -DlgTemplatesSelMsg : "অনুগ্রহ করে এডিটরে ওপেন করার জন্য টেমপ্লেট বাছাই করুন<br>(আসল কনটেন্ট হারিয়ে যাবে):", -DlgTemplatesLoading : "টেমপ্লেট লিস্ট হারিয়ে যাবে। অনুগ্রহ করে অপেক্ষা করুন...", -DlgTemplatesNoTpl : "(কোন টেমপ্লেট ডিফাইন করা নেই)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "কে বানিয়েছে", -DlgAboutBrowserInfoTab : "ব্রাউজারের ব্যাপারে তথ্য", -DlgAboutLicenseTab : "লাইসেন্স", -DlgAboutVersion : "ভার্সন", -DlgAboutInfo : "আরও তথ্যের জন্য যান" -}; diff --git a/editor/editor/lang/bs.js b/editor/editor/lang/bs.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Bosnian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skupi trake sa alatima", -ToolbarExpand : "Otvori trake sa alatima", - -// Toolbar Items and Context Menu -Save : "Snimi", -NewPage : "Novi dokument", -Preview : "Prikaži", -Cut : "Izreži", -Copy : "Kopiraj", -Paste : "Zalijepi", -PasteText : "Zalijepi kao obièan tekst", -PasteWord : "Zalijepi iz Word-a", -Print : "Štampaj", -SelectAll : "Selektuj sve", -RemoveFormat : "Poništi format", -InsertLinkLbl : "Link", -InsertLink : "Ubaci/Izmjeni link", -RemoveLink : "Izbriši link", -Anchor : "Insert/Edit Anchor", //MISSING -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Slika", -InsertImage : "Ubaci/Izmjeni sliku", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING -InsertTableLbl : "Tabela", -InsertTable : "Ubaci/Izmjeni tabelu", -InsertLineLbl : "Linija", -InsertLine : "Ubaci horizontalnu liniju", -InsertSpecialCharLbl: "Specijalni karakter", -InsertSpecialChar : "Ubaci specijalni karater", -InsertSmileyLbl : "Smješko", -InsertSmiley : "Ubaci smješka", -About : "O FCKeditor-u", -Bold : "Boldiraj", -Italic : "Ukosi", -Underline : "Podvuci", -StrikeThrough : "Precrtaj", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Lijevo poravnanje", -CenterJustify : "Centralno poravnanje", -RightJustify : "Desno poravnanje", -BlockJustify : "Puno poravnanje", -DecreaseIndent : "Smanji uvod", -IncreaseIndent : "Poveæaj uvod", -Blockquote : "Blockquote", //MISSING -Undo : "Vrati", -Redo : "Ponovi", -NumberedListLbl : "Numerisana lista", -NumberedList : "Ubaci/Izmjeni numerisanu listu", -BulletedListLbl : "Lista", -BulletedList : "Ubaci/Izmjeni listu", -ShowTableBorders : "Pokaži okvire tabela", -ShowDetails : "Pokaži detalje", -Style : "Stil", -FontFormat : "Format", -Font : "Font", -FontSize : "Velièina", -TextColor : "Boja teksta", -BGColor : "Boja pozadine", -Source : "HTML kôd", -Find : "Naði", -Replace : "Zamjeni", -SpellCheck : "Check Spelling", //MISSING -UniversalKeyboard : "Universal Keyboard", //MISSING -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Form", //MISSING -Checkbox : "Checkbox", //MISSING -RadioButton : "Radio Button", //MISSING -TextField : "Text Field", //MISSING -Textarea : "Textarea", //MISSING -HiddenField : "Hidden Field", //MISSING -Button : "Button", //MISSING -SelectionField : "Selection Field", //MISSING -ImageButton : "Image Button", //MISSING - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Izmjeni link", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Briši redove", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Briši kolone", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Briši æelije", -MergeCells : "Spoji æelije", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Svojstva æelije", -TableProperties : "Svojstva tabele", -ImageProperties : "Svojstva slike", -FlashProperties : "Flash Properties", //MISSING - -AnchorProp : "Anchor Properties", //MISSING -ButtonProp : "Button Properties", //MISSING -CheckboxProp : "Checkbox Properties", //MISSING -HiddenFieldProp : "Hidden Field Properties", //MISSING -RadioButtonProp : "Radio Button Properties", //MISSING -ImageButtonProp : "Image Button Properties", //MISSING -TextFieldProp : "Text Field Properties", //MISSING -SelectionFieldProp : "Selection Field Properties", //MISSING -TextareaProp : "Textarea Properties", //MISSING -FormProp : "Form Properties", //MISSING - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", - -// Alerts and Messages -ProcessingXHTML : "Procesiram XHTML. Molim saèekajte...", -Done : "Gotovo", -PasteWordConfirm : "Tekst koji želite zalijepiti èini se da je kopiran iz Worda. Da li želite da se prvo oèisti?", -NotCompatiblePaste : "Ova komanda je podržana u Internet Explorer-u verzijama 5.5 ili novijim. Da li želite da izvršite lijepljenje teksta bez èišæenja?", -UnknownToolbarItem : "Nepoznata stavka sa trake sa alatima \"%1\"", -UnknownCommand : "Nepoznata komanda \"%1\"", -NotImplemented : "Komanda nije implementirana", -UnknownToolbarSet : "Traka sa alatima \"%1\" ne postoji", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Odustani", -DlgBtnClose : "Zatvori", -DlgBtnBrowseServer : "Browse Server", //MISSING -DlgAdvancedTag : "Naprednije", -DlgOpOther : "<Other>", //MISSING -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING - -// General Dialogs Labels -DlgGenNotSet : "<nije podešeno>", -DlgGenId : "Id", -DlgGenLangDir : "Smjer pisanja", -DlgGenLangDirLtr : "S lijeva na desno (LTR)", -DlgGenLangDirRtl : "S desna na lijevo (RTL)", -DlgGenLangCode : "Jezièni kôd", -DlgGenAccessKey : "Pristupna tipka", -DlgGenName : "Naziv", -DlgGenTabIndex : "Tab indeks", -DlgGenLongDescr : "Dugaèki opis URL-a", -DlgGenClass : "Klase CSS stilova", -DlgGenTitle : "Advisory title", -DlgGenContType : "Advisory vrsta sadržaja", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Svojstva slike", -DlgImgInfoTab : "Info slike", -DlgImgBtnUpload : "Šalji na server", -DlgImgURL : "URL", -DlgImgUpload : "Šalji", -DlgImgAlt : "Tekst na slici", -DlgImgWidth : "Širina", -DlgImgHeight : "Visina", -DlgImgLockRatio : "Zakljuèaj odnos", -DlgBtnResetSize : "Resetuj dimenzije", -DlgImgBorder : "Okvir", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Poravnanje", -DlgImgAlignLeft : "Lijevo", -DlgImgAlignAbsBottom: "Abs dole", -DlgImgAlignAbsMiddle: "Abs sredina", -DlgImgAlignBaseline : "Bazno", -DlgImgAlignBottom : "Dno", -DlgImgAlignMiddle : "Sredina", -DlgImgAlignRight : "Desno", -DlgImgAlignTextTop : "Vrh teksta", -DlgImgAlignTop : "Vrh", -DlgImgPreview : "Prikaz", -DlgImgAlertUrl : "Molimo ukucajte URL od slike.", -DlgImgLinkTab : "Link", //MISSING - -// Flash Dialog -DlgFlashTitle : "Flash Properties", //MISSING -DlgFlashChkPlay : "Auto Play", //MISSING -DlgFlashChkLoop : "Loop", //MISSING -DlgFlashChkMenu : "Enable Flash Menu", //MISSING -DlgFlashScale : "Scale", //MISSING -DlgFlashScaleAll : "Show all", //MISSING -DlgFlashScaleNoBorder : "No Border", //MISSING -DlgFlashScaleFit : "Exact Fit", //MISSING - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link info", -DlgLnkTargetTab : "Prozor", - -DlgLnkType : "Tip linka", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Sidro na ovoj stranici", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<drugi>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Izaberi sidro", -DlgLnkAnchorByName : "Po nazivu sidra", -DlgLnkAnchorById : "Po Id-u elementa", -DlgLnkNoAnchors : "(Nema dostupnih sidra na stranici)", -DlgLnkEMail : "E-Mail Adresa", -DlgLnkEMailSubject : "Subjekt poruke", -DlgLnkEMailBody : "Poruka", -DlgLnkUpload : "Šalji", -DlgLnkBtnUpload : "Šalji na server", - -DlgLnkTarget : "Prozor", -DlgLnkTargetFrame : "<frejm>", -DlgLnkTargetPopup : "<popup prozor>", -DlgLnkTargetBlank : "Novi prozor (_blank)", -DlgLnkTargetParent : "Glavni prozor (_parent)", -DlgLnkTargetSelf : "Isti prozor (_self)", -DlgLnkTargetTop : "Najgornji prozor (_top)", -DlgLnkTargetFrameName : "Target Frame Name", //MISSING -DlgLnkPopWinName : "Naziv popup prozora", -DlgLnkPopWinFeat : "Moguænosti popup prozora", -DlgLnkPopResize : "Promjenljive velièine", -DlgLnkPopLocation : "Traka za lokaciju", -DlgLnkPopMenu : "Izborna traka", -DlgLnkPopScroll : "Scroll traka", -DlgLnkPopStatus : "Statusna traka", -DlgLnkPopToolbar : "Traka sa alatima", -DlgLnkPopFullScrn : "Cijeli ekran (IE)", -DlgLnkPopDependent : "Ovisno (Netscape)", -DlgLnkPopWidth : "Širina", -DlgLnkPopHeight : "Visina", -DlgLnkPopLeft : "Lijeva pozicija", -DlgLnkPopTop : "Gornja pozicija", - -DlnLnkMsgNoUrl : "Molimo ukucajte URL link", -DlnLnkMsgNoEMail : "Molimo ukucajte e-mail adresu", -DlnLnkMsgNoAnchor : "Molimo izaberite sidro", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Izaberi boju", -DlgColorBtnClear : "Oèisti", -DlgColorHighlight : "Igled", -DlgColorSelected : "Selektovana", - -// Smiley Dialog -DlgSmileyTitle : "Ubaci smješka", - -// Special Character Dialog -DlgSpecialCharTitle : "Izaberi specijalni karakter", - -// Table Dialog -DlgTableTitle : "Svojstva tabele", -DlgTableRows : "Redova", -DlgTableColumns : "Kolona", -DlgTableBorder : "Okvir", -DlgTableAlign : "Poravnanje", -DlgTableAlignNotSet : "<Nije podešeno>", -DlgTableAlignLeft : "Lijevo", -DlgTableAlignCenter : "Centar", -DlgTableAlignRight : "Desno", -DlgTableWidth : "Širina", -DlgTableWidthPx : "piksela", -DlgTableWidthPc : "posto", -DlgTableHeight : "Visina", -DlgTableCellSpace : "Razmak æelija", -DlgTableCellPad : "Uvod æelija", -DlgTableCaption : "Naslov", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Svojstva æelije", -DlgCellWidth : "Širina", -DlgCellWidthPx : "piksela", -DlgCellWidthPc : "posto", -DlgCellHeight : "Visina", -DlgCellWordWrap : "Vrapuj tekst", -DlgCellWordWrapNotSet : "<Nije podešeno>", -DlgCellWordWrapYes : "Da", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Horizontalno poravnanje", -DlgCellHorAlignNotSet : "<Nije podešeno>", -DlgCellHorAlignLeft : "Lijevo", -DlgCellHorAlignCenter : "Centar", -DlgCellHorAlignRight: "Desno", -DlgCellVerAlign : "Vertikalno poravnanje", -DlgCellVerAlignNotSet : "<Nije podešeno>", -DlgCellVerAlignTop : "Gore", -DlgCellVerAlignMiddle : "Sredina", -DlgCellVerAlignBottom : "Dno", -DlgCellVerAlignBaseline : "Bazno", -DlgCellRowSpan : "Spajanje æelija", -DlgCellCollSpan : "Spajanje kolona", -DlgCellBackColor : "Boja pozadine", -DlgCellBorderColor : "Boja okvira", -DlgCellBtnSelect : "Selektuj...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Naði", -DlgFindFindBtn : "Naði", -DlgFindNotFoundMsg : "Traženi tekst nije pronaðen.", - -// Replace Dialog -DlgReplaceTitle : "Zamjeni", -DlgReplaceFindLbl : "Naði šta:", -DlgReplaceReplaceLbl : "Zamjeni sa:", -DlgReplaceCaseChk : "Uporeðuj velika/mala slova", -DlgReplaceReplaceBtn : "Zamjeni", -DlgReplaceReplAllBtn : "Zamjeni sve", -DlgReplaceWordChk : "Uporeðuj samo cijelu rijeè", - -// Paste Operations / Dialog -PasteErrorCut : "Sigurnosne postavke vašeg pretraživaèa ne dozvoljavaju operacije automatskog rezanja. Molimo koristite kraticu na tastaturi (Ctrl+X).", -PasteErrorCopy : "Sigurnosne postavke Vašeg pretraživaèa ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tastaturi (Ctrl+C).", - -PasteAsText : "Zalijepi kao obièan tekst", -PasteFromWord : "Zalijepi iz Word-a", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.", //MISSING -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING -DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING -DlgPasteCleanBox : "Clean Up Box", //MISSING - -// Color Picker -ColorAutomatic : "Automatska", -ColorMoreColors : "Više boja...", - -// Document Properties -DocProps : "Document Properties", //MISSING - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", //MISSING -DlgAnchorName : "Anchor Name", //MISSING -DlgAnchorErrorName : "Please type the anchor name", //MISSING - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", //MISSING -DlgSpellChangeTo : "Change to", //MISSING -DlgSpellBtnIgnore : "Ignore", //MISSING -DlgSpellBtnIgnoreAll : "Ignore All", //MISSING -DlgSpellBtnReplace : "Replace", //MISSING -DlgSpellBtnReplaceAll : "Replace All", //MISSING -DlgSpellBtnUndo : "Undo", //MISSING -DlgSpellNoSuggestions : "- No suggestions -", //MISSING -DlgSpellProgress : "Spell check in progress...", //MISSING -DlgSpellNoMispell : "Spell check complete: No misspellings found", //MISSING -DlgSpellNoChanges : "Spell check complete: No words changed", //MISSING -DlgSpellOneChange : "Spell check complete: One word changed", //MISSING -DlgSpellManyChanges : "Spell check complete: %1 words changed", //MISSING - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", //MISSING - -// Button Dialog -DlgButtonText : "Text (Value)", //MISSING -DlgButtonType : "Type", //MISSING -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", //MISSING -DlgCheckboxValue : "Value", //MISSING -DlgCheckboxSelected : "Selected", //MISSING - -// Form Dialog -DlgFormName : "Name", //MISSING -DlgFormAction : "Action", //MISSING -DlgFormMethod : "Method", //MISSING - -// Select Field Dialog -DlgSelectName : "Name", //MISSING -DlgSelectValue : "Value", //MISSING -DlgSelectSize : "Size", //MISSING -DlgSelectLines : "lines", //MISSING -DlgSelectChkMulti : "Allow multiple selections", //MISSING -DlgSelectOpAvail : "Available Options", //MISSING -DlgSelectOpText : "Text", //MISSING -DlgSelectOpValue : "Value", //MISSING -DlgSelectBtnAdd : "Add", //MISSING -DlgSelectBtnModify : "Modify", //MISSING -DlgSelectBtnUp : "Up", //MISSING -DlgSelectBtnDown : "Down", //MISSING -DlgSelectBtnSetValue : "Set as selected value", //MISSING -DlgSelectBtnDelete : "Delete", //MISSING - -// Textarea Dialog -DlgTextareaName : "Name", //MISSING -DlgTextareaCols : "Columns", //MISSING -DlgTextareaRows : "Rows", //MISSING - -// Text Field Dialog -DlgTextName : "Name", //MISSING -DlgTextValue : "Value", //MISSING -DlgTextCharWidth : "Character Width", //MISSING -DlgTextMaxChars : "Maximum Characters", //MISSING -DlgTextType : "Type", //MISSING -DlgTextTypeText : "Text", //MISSING -DlgTextTypePass : "Password", //MISSING - -// Hidden Field Dialog -DlgHiddenName : "Name", //MISSING -DlgHiddenValue : "Value", //MISSING - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", //MISSING -NumberedListProp : "Numbered List Properties", //MISSING -DlgLstStart : "Start", //MISSING -DlgLstType : "Type", //MISSING -DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Square", //MISSING -DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", //MISSING -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", //MISSING -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", //MISSING - -// Document Properties Dialog -DlgDocGeneralTab : "General", //MISSING -DlgDocBackTab : "Background", //MISSING -DlgDocColorsTab : "Colors and Margins", //MISSING -DlgDocMetaTab : "Meta Data", //MISSING - -DlgDocPageTitle : "Page Title", //MISSING -DlgDocLangDir : "Language Direction", //MISSING -DlgDocLangDirLTR : "Left to Right (LTR)", //MISSING -DlgDocLangDirRTL : "Right to Left (RTL)", //MISSING -DlgDocLangCode : "Language Code", //MISSING -DlgDocCharSet : "Character Set Encoding", //MISSING -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Other Character Set Encoding", //MISSING - -DlgDocDocType : "Document Type Heading", //MISSING -DlgDocDocTypeOther : "Other Document Type Heading", //MISSING -DlgDocIncXHTML : "Include XHTML Declarations", //MISSING -DlgDocBgColor : "Background Color", //MISSING -DlgDocBgImage : "Background Image URL", //MISSING -DlgDocBgNoScroll : "Nonscrolling Background", //MISSING -DlgDocCText : "Text", //MISSING -DlgDocCLink : "Link", //MISSING -DlgDocCVisited : "Visited Link", //MISSING -DlgDocCActive : "Active Link", //MISSING -DlgDocMargins : "Page Margins", //MISSING -DlgDocMaTop : "Top", //MISSING -DlgDocMaLeft : "Left", //MISSING -DlgDocMaRight : "Right", //MISSING -DlgDocMaBottom : "Bottom", //MISSING -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", //MISSING -DlgDocMeDescr : "Document Description", //MISSING -DlgDocMeAuthor : "Author", //MISSING -DlgDocMeCopy : "Copyright", //MISSING -DlgDocPreview : "Preview", //MISSING - -// Templates Dialog -Templates : "Templates", //MISSING -DlgTemplatesTitle : "Content Templates", //MISSING -DlgTemplatesSelMsg : "Please select the template to open in the editor<br />(the actual contents will be lost):", //MISSING -DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING -DlgTemplatesNoTpl : "(No templates defined)", //MISSING -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "About", //MISSING -DlgAboutBrowserInfoTab : "Browser Info", //MISSING -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "verzija", -DlgAboutInfo : "Za više informacija posjetite" -}; diff --git a/editor/editor/lang/ca.js b/editor/editor/lang/ca.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Catalan language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Col·lapsa la barra", -ToolbarExpand : "Amplia la barra", - -// Toolbar Items and Context Menu -Save : "Desa", -NewPage : "Nova Pàgina", -Preview : "Vista Prèvia", -Cut : "Retalla", -Copy : "Copia", -Paste : "Enganxa", -PasteText : "Enganxa com a text no formatat", -PasteWord : "Enganxa des del Word", -Print : "Imprimeix", -SelectAll : "Selecciona-ho tot", -RemoveFormat : "Elimina Format", -InsertLinkLbl : "Enllaç", -InsertLink : "Insereix/Edita enllaç", -RemoveLink : "Elimina enllaç", -Anchor : "Insereix/Edita àncora", -AnchorDelete : "Elimina àncora", -InsertImageLbl : "Imatge", -InsertImage : "Insereix/Edita imatge", -InsertFlashLbl : "Flash", -InsertFlash : "Insereix/Edita Flash", -InsertTableLbl : "Taula", -InsertTable : "Insereix/Edita taula", -InsertLineLbl : "Línia", -InsertLine : "Insereix línia horitzontal", -InsertSpecialCharLbl: "Caràcter Especial", -InsertSpecialChar : "Insereix caràcter especial", -InsertSmileyLbl : "Icona", -InsertSmiley : "Insereix icona", -About : "Quant a FCKeditor", -Bold : "Negreta", -Italic : "Cursiva", -Underline : "Subratllat", -StrikeThrough : "Barrat", -Subscript : "Subíndex", -Superscript : "Superíndex", -LeftJustify : "Aliniament esquerra", -CenterJustify : "Aliniament centrat", -RightJustify : "Aliniament dreta", -BlockJustify : "Justifica", -DecreaseIndent : "Sagna el text", -IncreaseIndent : "Treu el sagnat del text", -Blockquote : "Bloc de cita", -Undo : "Desfés", -Redo : "Refés", -NumberedListLbl : "Llista numerada", -NumberedList : "Aplica o elimina la llista numerada", -BulletedListLbl : "Llista de pics", -BulletedList : "Aplica o elimina la llista de pics", -ShowTableBorders : "Mostra les vores de les taules", -ShowDetails : "Mostra detalls", -Style : "Estil", -FontFormat : "Format", -Font : "Tipus de lletra", -FontSize : "Mida", -TextColor : "Color de Text", -BGColor : "Color de Fons", -Source : "Codi font", -Find : "Cerca", -Replace : "Reemplaça", -SpellCheck : "Revisa l'ortografia", -UniversalKeyboard : "Teclat universal", -PageBreakLbl : "Salt de pàgina", -PageBreak : "Insereix salt de pàgina", - -Form : "Formulari", -Checkbox : "Casella de verificació", -RadioButton : "Botó d'opció", -TextField : "Camp de text", -Textarea : "Àrea de text", -HiddenField : "Camp ocult", -Button : "Botó", -SelectionField : "Camp de selecció", -ImageButton : "Botó d'imatge", - -FitWindow : "Maximiza la mida de l'editor", -ShowBlocks : "Mostra els blocs", - -// Context Menu -EditLink : "Edita l'enllaç", -CellCM : "Cel·la", -RowCM : "Fila", -ColumnCM : "Columna", -InsertRowAfter : "Insereix fila darrera", -InsertRowBefore : "Insereix fila abans de", -DeleteRows : "Suprimeix una fila", -InsertColumnAfter : "Insereix columna darrera", -InsertColumnBefore : "Insereix columna abans de", -DeleteColumns : "Suprimeix una columna", -InsertCellAfter : "Insereix cel·la darrera", -InsertCellBefore : "Insereix cel·la abans de", -DeleteCells : "Suprimeix les cel·les", -MergeCells : "Fusiona les cel·les", -MergeRight : "Fusiona cap a la dreta", -MergeDown : "Fusiona cap avall", -HorizontalSplitCell : "Divideix la cel·la horitzontalment", -VerticalSplitCell : "Divideix la cel·la verticalment", -TableDelete : "Suprimeix la taula", -CellProperties : "Propietats de la cel·la", -TableProperties : "Propietats de la taula", -ImageProperties : "Propietats de la imatge", -FlashProperties : "Propietats del Flash", - -AnchorProp : "Propietats de l'àncora", -ButtonProp : "Propietats del botó", -CheckboxProp : "Propietats de la casella de verificació", -HiddenFieldProp : "Propietats del camp ocult", -RadioButtonProp : "Propietats del botó d'opció", -ImageButtonProp : "Propietats del botó d'imatge", -TextFieldProp : "Propietats del camp de text", -SelectionFieldProp : "Propietats del camp de selecció", -TextareaProp : "Propietats de l'àrea de text", -FormProp : "Propietats del formulari", - -FontFormats : "Normal;Formatejat;Adreça;Encapçalament 1;Encapçalament 2;Encapçalament 3;Encapçalament 4;Encapçalament 5;Encapçalament 6", - -// Alerts and Messages -ProcessingXHTML : "Processant XHTML. Si us plau esperi...", -Done : "Fet", -PasteWordConfirm : "El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?", -NotCompatiblePaste : "Aquesta funció és disponible per a Internet Explorer versió 5.5 o superior. Voleu enganxar sense netejar?", -UnknownToolbarItem : "Element de la barra d'eines desconegut \"%1\"", -UnknownCommand : "Nom de comanda desconegut \"%1\"", -NotImplemented : "Mètode no implementat", -UnknownToolbarSet : "Conjunt de barra d'eines \"%1\" inexistent", -NoActiveX : "Les preferències del navegador poden limitar algunes funcions d'aquest editor. Cal habilitar l'opció \"Executa controls ActiveX i plug-ins\". Poden sorgir errors i poden faltar algunes funcions.", -BrowseServerBlocked : "El visualitzador de recursos no s'ha pogut obrir. Assegura't de que els bloquejos de finestres emergents estan desactivats.", -DialogBlocked : "No ha estat possible obrir una finestra de diàleg. Assegura't de que els bloquejos de finestres emergents estan desactivats.", - -// Dialogs -DlgBtnOK : "D'acord", -DlgBtnCancel : "Cancel·la", -DlgBtnClose : "Tanca", -DlgBtnBrowseServer : "Veure servidor", -DlgAdvancedTag : "Avançat", -DlgOpOther : "Altres", -DlgInfoTab : "Info", -DlgAlertUrl : "Si us plau, afegiu la URL", - -// General Dialogs Labels -DlgGenNotSet : "<no definit>", -DlgGenId : "Id", -DlgGenLangDir : "Direcció de l'idioma", -DlgGenLangDirLtr : "D'esquerra a dreta (LTR)", -DlgGenLangDirRtl : "De dreta a esquerra (RTL)", -DlgGenLangCode : "Codi d'idioma", -DlgGenAccessKey : "Clau d'accés", -DlgGenName : "Nom", -DlgGenTabIndex : "Index de Tab", -DlgGenLongDescr : "Descripció llarga de la URL", -DlgGenClass : "Classes del full d'estil", -DlgGenTitle : "Títol consultiu", -DlgGenContType : "Tipus de contingut consultiu", -DlgGenLinkCharset : "Conjunt de caràcters font enllaçat", -DlgGenStyle : "Estil", - -// Image Dialog -DlgImgTitle : "Propietats de la imatge", -DlgImgInfoTab : "Informació de la imatge", -DlgImgBtnUpload : "Envia-la al servidor", -DlgImgURL : "URL", -DlgImgUpload : "Puja", -DlgImgAlt : "Text alternatiu", -DlgImgWidth : "Amplada", -DlgImgHeight : "Alçada", -DlgImgLockRatio : "Bloqueja les proporcions", -DlgBtnResetSize : "Restaura la mida", -DlgImgBorder : "Vora", -DlgImgHSpace : "Espaiat horit.", -DlgImgVSpace : "Espaiat vert.", -DlgImgAlign : "Alineació", -DlgImgAlignLeft : "Ajusta a l'esquerra", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Ajusta a la dreta", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Vista prèvia", -DlgImgAlertUrl : "Si us plau, escriviu la URL de la imatge", -DlgImgLinkTab : "Enllaç", - -// Flash Dialog -DlgFlashTitle : "Propietats del Flash", -DlgFlashChkPlay : "Reprodució automàtica", -DlgFlashChkLoop : "Bucle", -DlgFlashChkMenu : "Habilita menú Flash", -DlgFlashScale : "Escala", -DlgFlashScaleAll : "Mostra-ho tot", -DlgFlashScaleNoBorder : "Sense vores", -DlgFlashScaleFit : "Mida exacta", - -// Link Dialog -DlgLnkWindowTitle : "Enllaç", -DlgLnkInfoTab : "Informació de l'enllaç", -DlgLnkTargetTab : "Destí", - -DlgLnkType : "Tipus d'enllaç", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Àncora en aquesta pàgina", -DlgLnkTypeEMail : "Correu electrònic", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<altra>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Selecciona una àncora", -DlgLnkAnchorByName : "Per nom d'àncora", -DlgLnkAnchorById : "Per Id d'element", -DlgLnkNoAnchors : "(No hi ha àncores disponibles en aquest document)", -DlgLnkEMail : "Adreça de correu electrònic", -DlgLnkEMailSubject : "Assumpte del missatge", -DlgLnkEMailBody : "Cos del missatge", -DlgLnkUpload : "Puja", -DlgLnkBtnUpload : "Envia al servidor", - -DlgLnkTarget : "Destí", -DlgLnkTargetFrame : "<marc>", -DlgLnkTargetPopup : "<finestra emergent>", -DlgLnkTargetBlank : "Nova finestra (_blank)", -DlgLnkTargetParent : "Finestra pare (_parent)", -DlgLnkTargetSelf : "Mateixa finestra (_self)", -DlgLnkTargetTop : "Finestra Major (_top)", -DlgLnkTargetFrameName : "Nom del marc de destí", -DlgLnkPopWinName : "Nom finestra popup", -DlgLnkPopWinFeat : "Característiques finestra popup", -DlgLnkPopResize : "Redimensionable", -DlgLnkPopLocation : "Barra d'adreça", -DlgLnkPopMenu : "Barra de menú", -DlgLnkPopScroll : "Barres d'scroll", -DlgLnkPopStatus : "Barra d'estat", -DlgLnkPopToolbar : "Barra d'eines", -DlgLnkPopFullScrn : "Pantalla completa (IE)", -DlgLnkPopDependent : "Depenent (Netscape)", -DlgLnkPopWidth : "Amplada", -DlgLnkPopHeight : "Alçada", -DlgLnkPopLeft : "Posició esquerra", -DlgLnkPopTop : "Posició dalt", - -DlnLnkMsgNoUrl : "Si us plau, escrigui l'enllaç URL", -DlnLnkMsgNoEMail : "Si us plau, escrigui l'adreça correu electrònic", -DlnLnkMsgNoAnchor : "Si us plau, escrigui l'àncora", -DlnLnkMsgInvPopName : "El nom de la finestra emergent ha de començar amb una lletra i no pot tenir espais", - -// Color Dialog -DlgColorTitle : "Selecciona el color", -DlgColorBtnClear : "Neteja", -DlgColorHighlight : "Realça", -DlgColorSelected : "Selecciona", - -// Smiley Dialog -DlgSmileyTitle : "Insereix una icona", - -// Special Character Dialog -DlgSpecialCharTitle : "Selecciona el caràcter especial", - -// Table Dialog -DlgTableTitle : "Propietats de la taula", -DlgTableRows : "Files", -DlgTableColumns : "Columnes", -DlgTableBorder : "Mida vora", -DlgTableAlign : "Alineació", -DlgTableAlignNotSet : "<No Definit>", -DlgTableAlignLeft : "Esquerra", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Dreta", -DlgTableWidth : "Amplada", -DlgTableWidthPx : "píxels", -DlgTableWidthPc : "percentatge", -DlgTableHeight : "Alçada", -DlgTableCellSpace : "Espaiat de cel·les", -DlgTableCellPad : "Encoixinament de cel·les", -DlgTableCaption : "Títol", -DlgTableSummary : "Resum", - -// Table Cell Dialog -DlgCellTitle : "Propietats de la cel·la", -DlgCellWidth : "Amplada", -DlgCellWidthPx : "píxels", -DlgCellWidthPc : "percentatge", -DlgCellHeight : "Alçada", -DlgCellWordWrap : "Ajust de paraula", -DlgCellWordWrapNotSet : "<No Definit>", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Alineació horitzontal", -DlgCellHorAlignNotSet : "<No Definit>", -DlgCellHorAlignLeft : "Esquerra", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Dreta", -DlgCellVerAlign : "Alineació vertical", -DlgCellVerAlignNotSet : "<No definit>", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Color de fons", -DlgCellBorderColor : "Color de la vora", -DlgCellBtnSelect : "Seleccioneu...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Cerca i reemplaça", - -// Find Dialog -DlgFindTitle : "Cerca", -DlgFindFindBtn : "Cerca", -DlgFindNotFoundMsg : "El text especificat no s'ha trobat.", - -// Replace Dialog -DlgReplaceTitle : "Reemplaça", -DlgReplaceFindLbl : "Cerca:", -DlgReplaceReplaceLbl : "Remplaça amb:", -DlgReplaceCaseChk : "Distingeix majúscules/minúscules", -DlgReplaceReplaceBtn : "Reemplaça", -DlgReplaceReplAllBtn : "Reemplaça-ho tot", -DlgReplaceWordChk : "Només paraules completes", - -// Paste Operations / Dialog -PasteErrorCut : "La seguretat del vostre navegador no permet executar automàticament les operacions de retallar. Si us plau, utilitzeu el teclat (Ctrl+X).", -PasteErrorCopy : "La seguretat del vostre navegador no permet executar automàticament les operacions de copiar. Si us plau, utilitzeu el teclat (Ctrl+C).", - -PasteAsText : "Enganxa com a text no formatat", -PasteFromWord : "Enganxa com a Word", - -DlgPasteMsg2 : "Si us plau, enganxeu dins del següent camp utilitzant el teclat (<STRONG>Ctrl+V</STRONG>) i premeu <STRONG>OK</STRONG>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignora definicions de font", -DlgPasteRemoveStyles : "Elimina definicions d'estil", -DlgPasteCleanBox : "Neteja camp", - -// Color Picker -ColorAutomatic : "Automàtic", -ColorMoreColors : "Més colors...", - -// Document Properties -DocProps : "Propietats del document", - -// Anchor Dialog -DlgAnchorTitle : "Propietats de l'àncora", -DlgAnchorName : "Nom de l'àncora", -DlgAnchorErrorName : "Si us plau, escriviu el nom de l'ancora", - -// Speller Pages Dialog -DlgSpellNotInDic : "No és al diccionari", -DlgSpellChangeTo : "Canvia a", -DlgSpellBtnIgnore : "Ignora", -DlgSpellBtnIgnoreAll : "Ignora-les totes", -DlgSpellBtnReplace : "Canvia", -DlgSpellBtnReplaceAll : "Canvia-les totes", -DlgSpellBtnUndo : "Desfés", -DlgSpellNoSuggestions : "Cap sugerència", -DlgSpellProgress : "Comprovació ortogràfica en progrés", -DlgSpellNoMispell : "Comprovació ortogràfica completada", -DlgSpellNoChanges : "Comprovació ortogràfica: cap paraulada canviada", -DlgSpellOneChange : "Comprovació ortogràfica: una paraula canviada", -DlgSpellManyChanges : "Comprovació ortogràfica %1 paraules canviades", - -IeSpellDownload : "Comprovació ortogràfica no instal·lada. Voleu descarregar-ho ara?", - -// Button Dialog -DlgButtonText : "Text (Valor)", -DlgButtonType : "Tipus", -DlgButtonTypeBtn : "Botó", -DlgButtonTypeSbm : "Transmet formulari", -DlgButtonTypeRst : "Reinicia formulari", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nom", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Seleccionat", - -// Form Dialog -DlgFormName : "Nom", -DlgFormAction : "Acció", -DlgFormMethod : "Mètode", - -// Select Field Dialog -DlgSelectName : "Nom", -DlgSelectValue : "Valor", -DlgSelectSize : "Mida", -DlgSelectLines : "Línies", -DlgSelectChkMulti : "Permet múltiples seleccions", -DlgSelectOpAvail : "Opcions disponibles", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Afegeix", -DlgSelectBtnModify : "Modifica", -DlgSelectBtnUp : "Amunt", -DlgSelectBtnDown : "Avall", -DlgSelectBtnSetValue : "Selecciona per defecte", -DlgSelectBtnDelete : "Elimina", - -// Textarea Dialog -DlgTextareaName : "Nom", -DlgTextareaCols : "Columnes", -DlgTextareaRows : "Files", - -// Text Field Dialog -DlgTextName : "Nom", -DlgTextValue : "Valor", -DlgTextCharWidth : "Amplada de caràcter", -DlgTextMaxChars : "Màxim de caràcters", -DlgTextType : "Tipus", -DlgTextTypeText : "Text", -DlgTextTypePass : "Contrasenya", - -// Hidden Field Dialog -DlgHiddenName : "Nom", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Propietats de la llista de pics", -NumberedListProp : "Propietats de llista numerada", -DlgLstStart : "Inici", -DlgLstType : "Tipus", -DlgLstTypeCircle : "Cercle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Quadrat", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "Lletres minúscules (a, b, c)", -DlgLstTypeUCase : "Lletres majúscules (A, B, C)", -DlgLstTypeSRoman : "Números romans minúscules (i, ii, iii)", -DlgLstTypeLRoman : "Números romans majúscules (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Fons", -DlgDocColorsTab : "Colors i marges", -DlgDocMetaTab : "Metadades", - -DlgDocPageTitle : "Títol de la pàgina", -DlgDocLangDir : "Direcció idioma", -DlgDocLangDirLTR : "Esquerra a dreta (LTR)", -DlgDocLangDirRTL : "Dreta a esquerra (RTL)", -DlgDocLangCode : "Codi d'idioma", -DlgDocCharSet : "Codificació de conjunt de caràcters", -DlgDocCharSetCE : "Centreeuropeu", -DlgDocCharSetCT : "Xinès tradicional (Big5)", -DlgDocCharSetCR : "Ciríl·lic", -DlgDocCharSetGR : "Grec", -DlgDocCharSetJP : "Japonès", -DlgDocCharSetKR : "Coreà", -DlgDocCharSetTR : "Turc", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Europeu occidental", -DlgDocCharSetOther : "Una altra codificació de caràcters", - -DlgDocDocType : "Capçalera de tipus de document", -DlgDocDocTypeOther : "Un altra capçalera de tipus de document", -DlgDocIncXHTML : "Incloure declaracions XHTML", -DlgDocBgColor : "Color de fons", -DlgDocBgImage : "URL de la imatge de fons", -DlgDocBgNoScroll : "Fons fixe", -DlgDocCText : "Text", -DlgDocCLink : "Enllaç", -DlgDocCVisited : "Enllaç visitat", -DlgDocCActive : "Enllaç actiu", -DlgDocMargins : "Marges de pàgina", -DlgDocMaTop : "Cap", -DlgDocMaLeft : "Esquerra", -DlgDocMaRight : "Dreta", -DlgDocMaBottom : "Peu", -DlgDocMeIndex : "Mots clau per a indexació (separats per coma)", -DlgDocMeDescr : "Descripció del document", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vista prèvia", - -// Templates Dialog -Templates : "Plantilles", -DlgTemplatesTitle : "Contingut plantilles", -DlgTemplatesSelMsg : "Si us plau, seleccioneu la plantilla per obrir en l'editor<br>(el contingut actual no serà enregistrat):", -DlgTemplatesLoading : "Carregant la llista de plantilles. Si us plau, espereu...", -DlgTemplatesNoTpl : "(No hi ha plantilles definides)", -DlgTemplatesReplace : "Reemplaça el contingut actual", - -// About Dialog -DlgAboutAboutTab : "Quant a", -DlgAboutBrowserInfoTab : "Informació del navegador", -DlgAboutLicenseTab : "Llicència", -DlgAboutVersion : "versió", -DlgAboutInfo : "Per a més informació aneu a" -}; diff --git a/editor/editor/lang/cs.js b/editor/editor/lang/cs.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Czech language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skrýt panel nástrojů", -ToolbarExpand : "Zobrazit panel nástrojů", - -// Toolbar Items and Context Menu -Save : "Uložit", -NewPage : "Nová stránka", -Preview : "Náhled", -Cut : "Vyjmout", -Copy : "Kopírovat", -Paste : "Vložit", -PasteText : "Vložit jako čistý text", -PasteWord : "Vložit z Wordu", -Print : "Tisk", -SelectAll : "Vybrat vše", -RemoveFormat : "Odstranit formátování", -InsertLinkLbl : "Odkaz", -InsertLink : "Vložit/změnit odkaz", -RemoveLink : "Odstranit odkaz", -Anchor : "Vložít/změnit záložku", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Obrázek", -InsertImage : "Vložit/změnit obrázek", -InsertFlashLbl : "Flash", -InsertFlash : "Vložit/Upravit Flash", -InsertTableLbl : "Tabulka", -InsertTable : "Vložit/změnit tabulku", -InsertLineLbl : "Linka", -InsertLine : "Vložit vodorovnou linku", -InsertSpecialCharLbl: "Speciální znaky", -InsertSpecialChar : "Vložit speciální znaky", -InsertSmileyLbl : "Smajlíky", -InsertSmiley : "Vložit smajlík", -About : "O aplikaci FCKeditor", -Bold : "Tučné", -Italic : "Kurzíva", -Underline : "Podtržené", -StrikeThrough : "Přeškrtnuté", -Subscript : "Dolní index", -Superscript : "Horní index", -LeftJustify : "Zarovnat vlevo", -CenterJustify : "Zarovnat na střed", -RightJustify : "Zarovnat vpravo", -BlockJustify : "Zarovnat do bloku", -DecreaseIndent : "Zmenšit odsazení", -IncreaseIndent : "Zvětšit odsazení", -Blockquote : "Blockquote", //MISSING -Undo : "Zpět", -Redo : "Znovu", -NumberedListLbl : "Číslování", -NumberedList : "Vložit/odstranit číslovaný seznam", -BulletedListLbl : "Odrážky", -BulletedList : "Vložit/odstranit odrážky", -ShowTableBorders : "Zobrazit okraje tabulek", -ShowDetails : "Zobrazit podrobnosti", -Style : "Styl", -FontFormat : "Formát", -Font : "Písmo", -FontSize : "Velikost", -TextColor : "Barva textu", -BGColor : "Barva pozadí", -Source : "Zdroj", -Find : "Hledat", -Replace : "Nahradit", -SpellCheck : "Zkontrolovat pravopis", -UniversalKeyboard : "Univerzální klávesnice", -PageBreakLbl : "Konec stránky", -PageBreak : "Vložit konec stránky", - -Form : "Formulář", -Checkbox : "Zaškrtávací políčko", -RadioButton : "Přepínač", -TextField : "Textové pole", -Textarea : "Textová oblast", -HiddenField : "Skryté pole", -Button : "Tlačítko", -SelectionField : "Seznam", -ImageButton : "Obrázkové tlačítko", - -FitWindow : "Maximalizovat velikost editoru", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Změnit odkaz", -CellCM : "Buňka", -RowCM : "Řádek", -ColumnCM : "Sloupec", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Smazat řádek", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Smazat sloupec", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Smazat buňky", -MergeCells : "Sloučit buňky", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Smazat tabulku", -CellProperties : "Vlastnosti buňky", -TableProperties : "Vlastnosti tabulky", -ImageProperties : "Vlastnosti obrázku", -FlashProperties : "Vlastnosti Flashe", - -AnchorProp : "Vlastnosti záložky", -ButtonProp : "Vlastnosti tlačítka", -CheckboxProp : "Vlastnosti zaškrtávacího políčka", -HiddenFieldProp : "Vlastnosti skrytého pole", -RadioButtonProp : "Vlastnosti přepínače", -ImageButtonProp : "Vlastností obrázkového tlačítka", -TextFieldProp : "Vlastnosti textového pole", -SelectionFieldProp : "Vlastnosti seznamu", -TextareaProp : "Vlastnosti textové oblasti", -FormProp : "Vlastnosti formuláře", - -FontFormats : "Normální;Naformátováno;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6;Normální (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Probíhá zpracování XHTML. Prosím čekejte...", -Done : "Hotovo", -PasteWordConfirm : "Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?", -NotCompatiblePaste : "Tento příkaz je dostupný pouze v Internet Exploreru verze 5.5 nebo vyšší. Chcete vložit text bez vyčištění?", -UnknownToolbarItem : "Neznámá položka panelu nástrojů \"%1\"", -UnknownCommand : "Neznámý příkaz \"%1\"", -NotImplemented : "Příkaz není implementován", -UnknownToolbarSet : "Panel nástrojů \"%1\" neexistuje", -NoActiveX : "Nastavení bezpečnosti Vašeho prohlížeče omezuje funkčnost některých jeho možností. Je třeba zapnout volbu \"Spouštět ovládáací prvky ActiveX a moduly plug-in\", jinak nebude možné využívat všechny dosputné schopnosti editoru.", -BrowseServerBlocked : "Průzkumník zdrojů nelze otevřít. Prověřte, zda nemáte aktivováno blokování popup oken.", -DialogBlocked : "Nelze otevřít dialogové okno. Prověřte, zda nemáte aktivováno blokování popup oken.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Storno", -DlgBtnClose : "Zavřít", -DlgBtnBrowseServer : "Vybrat na serveru", -DlgAdvancedTag : "Rozšířené", -DlgOpOther : "<Ostatní>", -DlgInfoTab : "Info", -DlgAlertUrl : "Prosím vložte URL", - -// General Dialogs Labels -DlgGenNotSet : "<nenastaveno>", -DlgGenId : "Id", -DlgGenLangDir : "Orientace jazyka", -DlgGenLangDirLtr : "Zleva do prava (LTR)", -DlgGenLangDirRtl : "Zprava do leva (RTL)", -DlgGenLangCode : "Kód jazyka", -DlgGenAccessKey : "Přístupový klíč", -DlgGenName : "Jméno", -DlgGenTabIndex : "Pořadí prvku", -DlgGenLongDescr : "Dlouhý popis URL", -DlgGenClass : "Třída stylu", -DlgGenTitle : "Pomocný titulek", -DlgGenContType : "Pomocný typ obsahu", -DlgGenLinkCharset : "Přiřazená znaková sada", -DlgGenStyle : "Styl", - -// Image Dialog -DlgImgTitle : "Vlastnosti obrázku", -DlgImgInfoTab : "Informace o obrázku", -DlgImgBtnUpload : "Odeslat na server", -DlgImgURL : "URL", -DlgImgUpload : "Odeslat", -DlgImgAlt : "Alternativní text", -DlgImgWidth : "Šířka", -DlgImgHeight : "Výška", -DlgImgLockRatio : "Zámek", -DlgBtnResetSize : "Původní velikost", -DlgImgBorder : "Okraje", -DlgImgHSpace : "H-mezera", -DlgImgVSpace : "V-mezera", -DlgImgAlign : "Zarovnání", -DlgImgAlignLeft : "Vlevo", -DlgImgAlignAbsBottom: "Zcela dolů", -DlgImgAlignAbsMiddle: "Doprostřed", -DlgImgAlignBaseline : "Na účaří", -DlgImgAlignBottom : "Dolů", -DlgImgAlignMiddle : "Na střed", -DlgImgAlignRight : "Vpravo", -DlgImgAlignTextTop : "Na horní okraj textu", -DlgImgAlignTop : "Nahoru", -DlgImgPreview : "Náhled", -DlgImgAlertUrl : "Zadejte prosím URL obrázku", -DlgImgLinkTab : "Odkaz", - -// Flash Dialog -DlgFlashTitle : "Vlastnosti Flashe", -DlgFlashChkPlay : "Automatické spuštění", -DlgFlashChkLoop : "Opakování", -DlgFlashChkMenu : "Nabídka Flash", -DlgFlashScale : "Zobrazit", -DlgFlashScaleAll : "Zobrazit vše", -DlgFlashScaleNoBorder : "Bez okraje", -DlgFlashScaleFit : "Přizpůsobit", - -// Link Dialog -DlgLnkWindowTitle : "Odkaz", -DlgLnkInfoTab : "Informace o odkazu", -DlgLnkTargetTab : "Cíl", - -DlgLnkType : "Typ odkazu", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Kotva v této stránce", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<jiný>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vybrat kotvu", -DlgLnkAnchorByName : "Podle jména kotvy", -DlgLnkAnchorById : "Podle Id objektu", -DlgLnkNoAnchors : "(Ve stránce žádná kotva není definována)", -DlgLnkEMail : "E-Mailová adresa", -DlgLnkEMailSubject : "Předmět zprávy", -DlgLnkEMailBody : "Tělo zprávy", -DlgLnkUpload : "Odeslat", -DlgLnkBtnUpload : "Odeslat na Server", - -DlgLnkTarget : "Cíl", -DlgLnkTargetFrame : "<rámec>", -DlgLnkTargetPopup : "<vyskakovací okno>", -DlgLnkTargetBlank : "Nové okno (_blank)", -DlgLnkTargetParent : "Rodičovské okno (_parent)", -DlgLnkTargetSelf : "Stejné okno (_self)", -DlgLnkTargetTop : "Hlavní okno (_top)", -DlgLnkTargetFrameName : "Název cílového rámu", -DlgLnkPopWinName : "Název vyskakovacího okna", -DlgLnkPopWinFeat : "Vlastnosti vyskakovacího okna", -DlgLnkPopResize : "Měnitelná velikost", -DlgLnkPopLocation : "Panel umístění", -DlgLnkPopMenu : "Panel nabídky", -DlgLnkPopScroll : "Posuvníky", -DlgLnkPopStatus : "Stavový řádek", -DlgLnkPopToolbar : "Panel nástrojů", -DlgLnkPopFullScrn : "Celá obrazovka (IE)", -DlgLnkPopDependent : "Závislost (Netscape)", -DlgLnkPopWidth : "Šířka", -DlgLnkPopHeight : "Výška", -DlgLnkPopLeft : "Levý okraj", -DlgLnkPopTop : "Horní okraj", - -DlnLnkMsgNoUrl : "Zadejte prosím URL odkazu", -DlnLnkMsgNoEMail : "Zadejte prosím e-mailovou adresu", -DlnLnkMsgNoAnchor : "Vyberte prosím kotvu", -DlnLnkMsgInvPopName : "Název vyskakovacího okna musí začínat písmenem a nesmí obsahovat mezery", - -// Color Dialog -DlgColorTitle : "Výběr barvy", -DlgColorBtnClear : "Vymazat", -DlgColorHighlight : "Zvýrazněná", -DlgColorSelected : "Vybraná", - -// Smiley Dialog -DlgSmileyTitle : "Vkládání smajlíků", - -// Special Character Dialog -DlgSpecialCharTitle : "Výběr speciálního znaku", - -// Table Dialog -DlgTableTitle : "Vlastnosti tabulky", -DlgTableRows : "Řádky", -DlgTableColumns : "Sloupce", -DlgTableBorder : "Ohraničení", -DlgTableAlign : "Zarovnání", -DlgTableAlignNotSet : "<nenastaveno>", -DlgTableAlignLeft : "Vlevo", -DlgTableAlignCenter : "Na střed", -DlgTableAlignRight : "Vpravo", -DlgTableWidth : "Šířka", -DlgTableWidthPx : "bodů", -DlgTableWidthPc : "procent", -DlgTableHeight : "Výška", -DlgTableCellSpace : "Vzdálenost buněk", -DlgTableCellPad : "Odsazení obsahu", -DlgTableCaption : "Popis", -DlgTableSummary : "Souhrn", - -// Table Cell Dialog -DlgCellTitle : "Vlastnosti buňky", -DlgCellWidth : "Šířka", -DlgCellWidthPx : "bodů", -DlgCellWidthPc : "procent", -DlgCellHeight : "Výška", -DlgCellWordWrap : "Zalamování", -DlgCellWordWrapNotSet : "<nenanstaveno>", -DlgCellWordWrapYes : "Ano", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Vodorovné zarovnání", -DlgCellHorAlignNotSet : "<nenastaveno>", -DlgCellHorAlignLeft : "Vlevo", -DlgCellHorAlignCenter : "Na střed", -DlgCellHorAlignRight: "Vpravo", -DlgCellVerAlign : "Svislé zarovnání", -DlgCellVerAlignNotSet : "<nenastaveno>", -DlgCellVerAlignTop : "Nahoru", -DlgCellVerAlignMiddle : "Doprostřed", -DlgCellVerAlignBottom : "Dolů", -DlgCellVerAlignBaseline : "Na účaří", -DlgCellRowSpan : "Sloučené řádky", -DlgCellCollSpan : "Sloučené sloupce", -DlgCellBackColor : "Barva pozadí", -DlgCellBorderColor : "Barva ohraničení", -DlgCellBtnSelect : "Výběr...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Hledat", -DlgFindFindBtn : "Hledat", -DlgFindNotFoundMsg : "Hledaný text nebyl nalezen.", - -// Replace Dialog -DlgReplaceTitle : "Nahradit", -DlgReplaceFindLbl : "Co hledat:", -DlgReplaceReplaceLbl : "Čím nahradit:", -DlgReplaceCaseChk : "Rozlišovat velikost písma", -DlgReplaceReplaceBtn : "Nahradit", -DlgReplaceReplAllBtn : "Nahradit vše", -DlgReplaceWordChk : "Pouze celá slova", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+C).", - -PasteAsText : "Vložit jako čistý text", -PasteFromWord : "Vložit text z Wordu", - -DlgPasteMsg2 : "Do následujícího pole vložte požadovaný obsah pomocí klávesnice (<STRONG>Ctrl+V</STRONG>) a stiskněte <STRONG>OK</STRONG>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignorovat písmo", -DlgPasteRemoveStyles : "Odstranit styly", -DlgPasteCleanBox : "Vyčistit", - -// Color Picker -ColorAutomatic : "Automaticky", -ColorMoreColors : "Více barev...", - -// Document Properties -DocProps : "Vlastnosti dokumentu", - -// Anchor Dialog -DlgAnchorTitle : "Vlastnosti záložky", -DlgAnchorName : "Název záložky", -DlgAnchorErrorName : "Zadejte prosím název záložky", - -// Speller Pages Dialog -DlgSpellNotInDic : "Není ve slovníku", -DlgSpellChangeTo : "Změnit na", -DlgSpellBtnIgnore : "Přeskočit", -DlgSpellBtnIgnoreAll : "Přeskakovat vše", -DlgSpellBtnReplace : "Zaměnit", -DlgSpellBtnReplaceAll : "Zaměňovat vše", -DlgSpellBtnUndo : "Zpět", -DlgSpellNoSuggestions : "- žádné návrhy -", -DlgSpellProgress : "Probíhá kontrola pravopisu...", -DlgSpellNoMispell : "Kontrola pravopisu dokončena: Žádné pravopisné chyby nenalezeny", -DlgSpellNoChanges : "Kontrola pravopisu dokončena: Beze změn", -DlgSpellOneChange : "Kontrola pravopisu dokončena: Jedno slovo změněno", -DlgSpellManyChanges : "Kontrola pravopisu dokončena: %1 slov změněno", - -IeSpellDownload : "Kontrola pravopisu není nainstalována. Chcete ji nyní stáhnout?", - -// Button Dialog -DlgButtonText : "Popisek", -DlgButtonType : "Typ", -DlgButtonTypeBtn : "Tlačítko", -DlgButtonTypeSbm : "Odeslat", -DlgButtonTypeRst : "Obnovit", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Název", -DlgCheckboxValue : "Hodnota", -DlgCheckboxSelected : "Zaškrtnuto", - -// Form Dialog -DlgFormName : "Název", -DlgFormAction : "Akce", -DlgFormMethod : "Metoda", - -// Select Field Dialog -DlgSelectName : "Název", -DlgSelectValue : "Hodnota", -DlgSelectSize : "Velikost", -DlgSelectLines : "Řádků", -DlgSelectChkMulti : "Povolit mnohonásobné výběry", -DlgSelectOpAvail : "Dostupná nastavení", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Hodnota", -DlgSelectBtnAdd : "Přidat", -DlgSelectBtnModify : "Změnit", -DlgSelectBtnUp : "Nahoru", -DlgSelectBtnDown : "Dolů", -DlgSelectBtnSetValue : "Nastavit jako vybranou hodnotu", -DlgSelectBtnDelete : "Smazat", - -// Textarea Dialog -DlgTextareaName : "Název", -DlgTextareaCols : "Sloupců", -DlgTextareaRows : "Řádků", - -// Text Field Dialog -DlgTextName : "Název", -DlgTextValue : "Hodnota", -DlgTextCharWidth : "Šířka ve znacích", -DlgTextMaxChars : "Maximální počet znaků", -DlgTextType : "Typ", -DlgTextTypeText : "Text", -DlgTextTypePass : "Heslo", - -// Hidden Field Dialog -DlgHiddenName : "Název", -DlgHiddenValue : "Hodnota", - -// Bulleted List Dialog -BulletedListProp : "Vlastnosti odrážek", -NumberedListProp : "Vlastnosti číslovaného seznamu", -DlgLstStart : "Start", //MISSING -DlgLstType : "Typ", -DlgLstTypeCircle : "Kružnice", -DlgLstTypeDisc : "Kruh", -DlgLstTypeSquare : "Čtverec", -DlgLstTypeNumbers : "Čísla (1, 2, 3)", -DlgLstTypeLCase : "Malá písmena (a, b, c)", -DlgLstTypeUCase : "Velká písmena (A, B, C)", -DlgLstTypeSRoman : "Malé římská číslice (i, ii, iii)", -DlgLstTypeLRoman : "Velké římské číslice (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Obecné", -DlgDocBackTab : "Pozadí", -DlgDocColorsTab : "Barvy a okraje", -DlgDocMetaTab : "Metadata", - -DlgDocPageTitle : "Titulek stránky", -DlgDocLangDir : "Směr jazyku", -DlgDocLangDirLTR : "Zleva do prava ", -DlgDocLangDirRTL : "Zprava doleva", -DlgDocLangCode : "Kód jazyku", -DlgDocCharSet : "Znaková sada", -DlgDocCharSetCE : "Středoevropské jazyky", -DlgDocCharSetCT : "Tradiční čínština (Big5)", -DlgDocCharSetCR : "Cyrilice", -DlgDocCharSetGR : "Řečtina", -DlgDocCharSetJP : "Japonština", -DlgDocCharSetKR : "Korejština", -DlgDocCharSetTR : "Turečtina", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Západoevropské jazyky", -DlgDocCharSetOther : "Další znaková sada", - -DlgDocDocType : "Typ dokumentu", -DlgDocDocTypeOther : "Jiný typ dokumetu", -DlgDocIncXHTML : "Zahrnou deklarace XHTML", -DlgDocBgColor : "Barva pozadí", -DlgDocBgImage : "URL obrázku na pozadí", -DlgDocBgNoScroll : "Nerolovatelné pozadí", -DlgDocCText : "Text", -DlgDocCLink : "Odkaz", -DlgDocCVisited : "Navštívený odkaz", -DlgDocCActive : "Vybraný odkaz", -DlgDocMargins : "Okraje stránky", -DlgDocMaTop : "Horní", -DlgDocMaLeft : "Levý", -DlgDocMaRight : "Pravý", -DlgDocMaBottom : "Dolní", -DlgDocMeIndex : "Klíčová slova (oddělená čárkou)", -DlgDocMeDescr : "Popis dokumentu", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autorská práva", -DlgDocPreview : "Náhled", - -// Templates Dialog -Templates : "Šablony", -DlgTemplatesTitle : "Šablony obsahu", -DlgTemplatesSelMsg : "Prosím zvolte šablonu pro otevření v editoru<br>(aktuální obsah editoru bude ztracen):", -DlgTemplatesLoading : "Nahrávám přeheld šablon. Prosím čekejte...", -DlgTemplatesNoTpl : "(Není definována žádná šablona)", -DlgTemplatesReplace : "Nahradit aktuální obsah", - -// About Dialog -DlgAboutAboutTab : "O aplikaci", -DlgAboutBrowserInfoTab : "Informace o prohlížeči", -DlgAboutLicenseTab : "Licence", -DlgAboutVersion : "verze", -DlgAboutInfo : "Více informací získáte na" -}; diff --git a/editor/editor/lang/da.js b/editor/editor/lang/da.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Danish language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skjul værktøjslinier", -ToolbarExpand : "Vis værktøjslinier", - -// Toolbar Items and Context Menu -Save : "Gem", -NewPage : "Ny side", -Preview : "Vis eksempel", -Cut : "Klip", -Copy : "Kopier", -Paste : "Indsæt", -PasteText : "Indsæt som ikke-formateret tekst", -PasteWord : "Indsæt fra Word", -Print : "Udskriv", -SelectAll : "Vælg alt", -RemoveFormat : "Fjern formatering", -InsertLinkLbl : "Hyperlink", -InsertLink : "Indsæt/rediger hyperlink", -RemoveLink : "Fjern hyperlink", -Anchor : "Indsæt/rediger bogmærke", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Indsæt billede", -InsertImage : "Indsæt/rediger billede", -InsertFlashLbl : "Flash", -InsertFlash : "Indsæt/rediger Flash", -InsertTableLbl : "Table", -InsertTable : "Indsæt/rediger tabel", -InsertLineLbl : "Linie", -InsertLine : "Indsæt vandret linie", -InsertSpecialCharLbl: "Symbol", -InsertSpecialChar : "Indsæt symbol", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Indsæt smiley", -About : "Om FCKeditor", -Bold : "Fed", -Italic : "Kursiv", -Underline : "Understreget", -StrikeThrough : "Overstreget", -Subscript : "Sænket skrift", -Superscript : "Hævet skrift", -LeftJustify : "Venstrestillet", -CenterJustify : "Centreret", -RightJustify : "Højrestillet", -BlockJustify : "Lige margener", -DecreaseIndent : "Formindsk indrykning", -IncreaseIndent : "Forøg indrykning", -Blockquote : "Blockquote", //MISSING -Undo : "Fortryd", -Redo : "Annuller fortryd", -NumberedListLbl : "Talopstilling", -NumberedList : "Indsæt/fjern talopstilling", -BulletedListLbl : "Punktopstilling", -BulletedList : "Indsæt/fjern punktopstilling", -ShowTableBorders : "Vis tabelkanter", -ShowDetails : "Vis detaljer", -Style : "Typografi", -FontFormat : "Formatering", -Font : "Skrifttype", -FontSize : "Skriftstørrelse", -TextColor : "Tekstfarve", -BGColor : "Baggrundsfarve", -Source : "Kilde", -Find : "Søg", -Replace : "Erstat", -SpellCheck : "Stavekontrol", -UniversalKeyboard : "Universaltastatur", -PageBreakLbl : "Sidskift", -PageBreak : "Indsæt sideskift", - -Form : "Indsæt formular", -Checkbox : "Indsæt afkrydsningsfelt", -RadioButton : "Indsæt alternativknap", -TextField : "Indsæt tekstfelt", -Textarea : "Indsæt tekstboks", -HiddenField : "Indsæt skjult felt", -Button : "Indsæt knap", -SelectionField : "Indsæt liste", -ImageButton : "Indsæt billedknap", - -FitWindow : "Maksimer editor vinduet", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Rediger hyperlink", -CellCM : "Celle", -RowCM : "Række", -ColumnCM : "Kolonne", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Slet række", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Slet kolonne", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Slet celle", -MergeCells : "Flet celler", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Slet tabel", -CellProperties : "Egenskaber for celle", -TableProperties : "Egenskaber for tabel", -ImageProperties : "Egenskaber for billede", -FlashProperties : "Egenskaber for Flash", - -AnchorProp : "Egenskaber for bogmærke", -ButtonProp : "Egenskaber for knap", -CheckboxProp : "Egenskaber for afkrydsningsfelt", -HiddenFieldProp : "Egenskaber for skjult felt", -RadioButtonProp : "Egenskaber for alternativknap", -ImageButtonProp : "Egenskaber for billedknap", -TextFieldProp : "Egenskaber for tekstfelt", -SelectionFieldProp : "Egenskaber for liste", -TextareaProp : "Egenskaber for tekstboks", -FormProp : "Egenskaber for formular", - -FontFormats : "Normal;Formateret;Adresse;Overskrift 1;Overskrift 2;Overskrift 3;Overskrift 4;Overskrift 5;Overskrift 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Behandler XHTML...", -Done : "Færdig", -PasteWordConfirm : "Den tekst du forsøger at indsætte ser ud til at komme fra Word.<br>Vil du rense teksten før den indsættes?", -NotCompatiblePaste : "Denne kommando er tilgændelig i Internet Explorer 5.5 eller senere.<br>Vil du indsætte teksten uden at rense den ?", -UnknownToolbarItem : "Ukendt værktøjslinjeobjekt \"%1\"!", -UnknownCommand : "Ukendt kommandonavn \"%1\"!", -NotImplemented : "Kommandoen er ikke implementeret!", -UnknownToolbarSet : "Værktøjslinjen \"%1\" eksisterer ikke!", -NoActiveX : "Din browsers sikkerhedsindstillinger begrænser nogle af editorens muligheder.<br>Slå \"Kør ActiveX-objekter og plug-ins\" til, ellers vil du opleve fejl og manglende muligheder.", -BrowseServerBlocked : "Browseren kunne ikke åbne de nødvendige ressourcer!<br>Slå pop-up blokering fra.", -DialogBlocked : "Dialogvinduet kunne ikke åbnes!<br>Slå pop-up blokering fra.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annuller", -DlgBtnClose : "Luk", -DlgBtnBrowseServer : "Gennemse...", -DlgAdvancedTag : "Avanceret", -DlgOpOther : "<Andet>", -DlgInfoTab : "Generelt", -DlgAlertUrl : "Indtast URL", - -// General Dialogs Labels -DlgGenNotSet : "<intet valgt>", -DlgGenId : "Id", -DlgGenLangDir : "Tekstretning", -DlgGenLangDirLtr : "Fra venstre mod højre (LTR)", -DlgGenLangDirRtl : "Fra højre mod venstre (RTL)", -DlgGenLangCode : "Sprogkode", -DlgGenAccessKey : "Genvejstast", -DlgGenName : "Navn", -DlgGenTabIndex : "Tabulator indeks", -DlgGenLongDescr : "Udvidet beskrivelse", -DlgGenClass : "Typografiark", -DlgGenTitle : "Titel", -DlgGenContType : "Indholdstype", -DlgGenLinkCharset : "Tegnsæt", -DlgGenStyle : "Typografi", - -// Image Dialog -DlgImgTitle : "Egenskaber for billede", -DlgImgInfoTab : "Generelt", -DlgImgBtnUpload : "Upload", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternativ tekst", -DlgImgWidth : "Bredde", -DlgImgHeight : "Højde", -DlgImgLockRatio : "Lås størrelsesforhold", -DlgBtnResetSize : "Nulstil størrelse", -DlgImgBorder : "Ramme", -DlgImgHSpace : "HMargen", -DlgImgVSpace : "VMargen", -DlgImgAlign : "Justering", -DlgImgAlignLeft : "Venstre", -DlgImgAlignAbsBottom: "Absolut nederst", -DlgImgAlignAbsMiddle: "Absolut centreret", -DlgImgAlignBaseline : "Grundlinje", -DlgImgAlignBottom : "Nederst", -DlgImgAlignMiddle : "Centreret", -DlgImgAlignRight : "Højre", -DlgImgAlignTextTop : "Toppen af teksten", -DlgImgAlignTop : "Øverst", -DlgImgPreview : "Vis eksempel", -DlgImgAlertUrl : "Indtast stien til billedet", -DlgImgLinkTab : "Hyperlink", - -// Flash Dialog -DlgFlashTitle : "Egenskaber for Flash", -DlgFlashChkPlay : "Automatisk afspilning", -DlgFlashChkLoop : "Gentagelse", -DlgFlashChkMenu : "Vis Flash menu", -DlgFlashScale : "Skalér", -DlgFlashScaleAll : "Vis alt", -DlgFlashScaleNoBorder : "Ingen ramme", -DlgFlashScaleFit : "Tilpas størrelse", - -// Link Dialog -DlgLnkWindowTitle : "Egenskaber for hyperlink", -DlgLnkInfoTab : "Generelt", -DlgLnkTargetTab : "Mål", - -DlgLnkType : "Hyperlink type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Bogmærke på denne side", -DlgLnkTypeEMail : "E-mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<anden>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vælg et anker", -DlgLnkAnchorByName : "Efter anker navn", -DlgLnkAnchorById : "Efter element Id", -DlgLnkNoAnchors : "(Ingen bogmærker dokumentet)", -DlgLnkEMail : "E-mailadresse", -DlgLnkEMailSubject : "Emne", -DlgLnkEMailBody : "Brødtekst", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Upload", - -DlgLnkTarget : "Mål", -DlgLnkTargetFrame : "<ramme>", -DlgLnkTargetPopup : "<popup vindue>", -DlgLnkTargetBlank : "Nyt vindue (_blank)", -DlgLnkTargetParent : "Overordnet ramme (_parent)", -DlgLnkTargetSelf : "Samme vindue (_self)", -DlgLnkTargetTop : "Hele vinduet (_top)", -DlgLnkTargetFrameName : "Destinationsvinduets navn", -DlgLnkPopWinName : "Pop-up vinduets navn", -DlgLnkPopWinFeat : "Egenskaber for pop-up", -DlgLnkPopResize : "Skalering", -DlgLnkPopLocation : "Adresselinje", -DlgLnkPopMenu : "Menulinje", -DlgLnkPopScroll : "Scrollbars", -DlgLnkPopStatus : "Statuslinje", -DlgLnkPopToolbar : "Værktøjslinje", -DlgLnkPopFullScrn : "Fuld skærm (IE)", -DlgLnkPopDependent : "Koblet/dependent (Netscape)", -DlgLnkPopWidth : "Bredde", -DlgLnkPopHeight : "Højde", -DlgLnkPopLeft : "Position fra venstre", -DlgLnkPopTop : "Position fra toppen", - -DlnLnkMsgNoUrl : "Indtast hyperlink URL!", -DlnLnkMsgNoEMail : "Indtast e-mailaddresse!", -DlnLnkMsgNoAnchor : "Vælg bogmærke!", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Vælg farve", -DlgColorBtnClear : "Nulstil", -DlgColorHighlight : "Markeret", -DlgColorSelected : "Valgt", - -// Smiley Dialog -DlgSmileyTitle : "Vælg smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Vælg symbol", - -// Table Dialog -DlgTableTitle : "Egenskaber for tabel", -DlgTableRows : "Rækker", -DlgTableColumns : "Kolonner", -DlgTableBorder : "Rammebredde", -DlgTableAlign : "Justering", -DlgTableAlignNotSet : "<intet valgt>", -DlgTableAlignLeft : "Venstrestillet", -DlgTableAlignCenter : "Centreret", -DlgTableAlignRight : "Højrestillet", -DlgTableWidth : "Bredde", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "procent", -DlgTableHeight : "Højde", -DlgTableCellSpace : "Celleafstand", -DlgTableCellPad : "Cellemargen", -DlgTableCaption : "Titel", -DlgTableSummary : "Resume", - -// Table Cell Dialog -DlgCellTitle : "Egenskaber for celle", -DlgCellWidth : "Bredde", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "procent", -DlgCellHeight : "Højde", -DlgCellWordWrap : "Orddeling", -DlgCellWordWrapNotSet : "<intet valgt>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nej", -DlgCellHorAlign : "Vandret justering", -DlgCellHorAlignNotSet : "<intet valgt>", -DlgCellHorAlignLeft : "Venstrestillet", -DlgCellHorAlignCenter : "Centreret", -DlgCellHorAlignRight: "Højrestillet", -DlgCellVerAlign : "Lodret justering", -DlgCellVerAlignNotSet : "<intet valgt>", -DlgCellVerAlignTop : "Øverst", -DlgCellVerAlignMiddle : "Centreret", -DlgCellVerAlignBottom : "Nederst", -DlgCellVerAlignBaseline : "Grundlinje", -DlgCellRowSpan : "Højde i antal rækker", -DlgCellCollSpan : "Bredde i antal kolonner", -DlgCellBackColor : "Baggrundsfarve", -DlgCellBorderColor : "Rammefarve", -DlgCellBtnSelect : "Vælg...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "Søgeteksten blev ikke fundet!", - -// Replace Dialog -DlgReplaceTitle : "Erstat", -DlgReplaceFindLbl : "Søg efter:", -DlgReplaceReplaceLbl : "Erstat med:", -DlgReplaceCaseChk : "Forskel på store og små bogstaver", -DlgReplaceReplaceBtn : "Erstat", -DlgReplaceReplAllBtn : "Erstat alle", -DlgReplaceWordChk : "Kun hele ord", - -// Paste Operations / Dialog -PasteErrorCut : "Din browsers sikkerhedsindstillinger tillader ikke editoren at klippe tekst automatisk!<br>Brug i stedet tastaturet til at klippe teksten (Ctrl+X).", -PasteErrorCopy : "Din browsers sikkerhedsindstillinger tillader ikke editoren at kopiere tekst automatisk!<br>Brug i stedet tastaturet til at kopiere teksten (Ctrl+C).", - -PasteAsText : "Indsæt som ikke-formateret tekst", -PasteFromWord : "Indsæt fra Word", - -DlgPasteMsg2 : "Indsæt i feltet herunder (<STRONG>Ctrl+V</STRONG>) og klik <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignorer font definitioner", -DlgPasteRemoveStyles : "Ignorer typografi", -DlgPasteCleanBox : "Slet indhold", - -// Color Picker -ColorAutomatic : "Automatisk", -ColorMoreColors : "Flere farver...", - -// Document Properties -DocProps : "Egenskaber for dokument", - -// Anchor Dialog -DlgAnchorTitle : "Egenskaber for bogmærke", -DlgAnchorName : "Bogmærke navn", -DlgAnchorErrorName : "Indtast bogmærke navn!", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ikke i ordbogen", -DlgSpellChangeTo : "Forslag", -DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer alle", -DlgSpellBtnReplace : "Erstat", -DlgSpellBtnReplaceAll : "Erstat alle", -DlgSpellBtnUndo : "Tilbage", -DlgSpellNoSuggestions : "- ingen forslag -", -DlgSpellProgress : "Stavekontrolen arbejder...", -DlgSpellNoMispell : "Stavekontrol færdig: Ingen fejl fundet", -DlgSpellNoChanges : "Stavekontrol færdig: Ingen ord ændret", -DlgSpellOneChange : "Stavekontrol færdig: Et ord ændret", -DlgSpellManyChanges : "Stavekontrol færdig: %1 ord ændret", - -IeSpellDownload : "Stavekontrol ikke installeret.<br>Vil du hente den nu?", - -// Button Dialog -DlgButtonText : "Tekst", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Navn", -DlgCheckboxValue : "Værdi", -DlgCheckboxSelected : "Valgt", - -// Form Dialog -DlgFormName : "Navn", -DlgFormAction : "Handling", -DlgFormMethod : "Metod", - -// Select Field Dialog -DlgSelectName : "Navn", -DlgSelectValue : "Værdi", -DlgSelectSize : "Størrelse", -DlgSelectLines : "linier", -DlgSelectChkMulti : "Tillad flere valg", -DlgSelectOpAvail : "Valgmuligheder", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Værdi", -DlgSelectBtnAdd : "Tilføj", -DlgSelectBtnModify : "Rediger", -DlgSelectBtnUp : "Op", -DlgSelectBtnDown : "Ned", -DlgSelectBtnSetValue : "Sæt som valgt", -DlgSelectBtnDelete : "Slet", - -// Textarea Dialog -DlgTextareaName : "Navn", -DlgTextareaCols : "Kolonner", -DlgTextareaRows : "Rækker", - -// Text Field Dialog -DlgTextName : "Navn", -DlgTextValue : "Værdi", -DlgTextCharWidth : "Bredde (tegn)", -DlgTextMaxChars : "Max antal tegn", -DlgTextType : "Type", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Adgangskode", - -// Hidden Field Dialog -DlgHiddenName : "Navn", -DlgHiddenValue : "Værdi", - -// Bulleted List Dialog -BulletedListProp : "Egenskaber for punktopstilling", -NumberedListProp : "Egenskaber for talopstilling", -DlgLstStart : "Start", //MISSING -DlgLstType : "Type", -DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisc : "Udfyldt cirkel", -DlgLstTypeSquare : "Firkant", -DlgLstTypeNumbers : "Nummereret (1, 2, 3)", -DlgLstTypeLCase : "Små bogstaver (a, b, c)", -DlgLstTypeUCase : "Store bogstaver (A, B, C)", -DlgLstTypeSRoman : "Små romertal (i, ii, iii)", -DlgLstTypeLRoman : "Store romertal (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Generelt", -DlgDocBackTab : "Baggrund", -DlgDocColorsTab : "Farver og margen", -DlgDocMetaTab : "Metadata", - -DlgDocPageTitle : "Sidetitel", -DlgDocLangDir : "Sprog", -DlgDocLangDirLTR : "Fra venstre mod højre (LTR)", -DlgDocLangDirRTL : "Fra højre mod venstre (RTL)", -DlgDocLangCode : "Landekode", -DlgDocCharSet : "Tegnsæt kode", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Anden tegnsæt kode", - -DlgDocDocType : "Dokumenttype kategori", -DlgDocDocTypeOther : "Anden dokumenttype kategori", -DlgDocIncXHTML : "Inkludere XHTML deklartion", -DlgDocBgColor : "Baggrundsfarve", -DlgDocBgImage : "Baggrundsbillede URL", -DlgDocBgNoScroll : "Fastlåst baggrund", -DlgDocCText : "Tekst", -DlgDocCLink : "Hyperlink", -DlgDocCVisited : "Besøgt hyperlink", -DlgDocCActive : "Aktivt hyperlink", -DlgDocMargins : "Sidemargen", -DlgDocMaTop : "Øverst", -DlgDocMaLeft : "Venstre", -DlgDocMaRight : "Højre", -DlgDocMaBottom : "Nederst", -DlgDocMeIndex : "Dokument index nøgleord (kommasepareret)", -DlgDocMeDescr : "Dokument beskrivelse", -DlgDocMeAuthor : "Forfatter", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vis", - -// Templates Dialog -Templates : "Skabeloner", -DlgTemplatesTitle : "Indholdsskabeloner", -DlgTemplatesSelMsg : "Vælg den skabelon, som skal åbnes i editoren.<br>(Nuværende indhold vil blive overskrevet!):", -DlgTemplatesLoading : "Henter liste over skabeloner...", -DlgTemplatesNoTpl : "(Der er ikke defineret nogen skabelon!)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Om", -DlgAboutBrowserInfoTab : "Generelt", -DlgAboutLicenseTab : "Licens", -DlgAboutVersion : "version", -DlgAboutInfo : "For yderlig information gå til" -}; diff --git a/editor/editor/lang/de.js b/editor/editor/lang/de.js @@ -1,516 +1,6 @@ /* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * German language file. - */ +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Symbolleiste einklappen", -ToolbarExpand : "Symbolleiste ausklappen", - -// Toolbar Items and Context Menu -Save : "Speichern", -NewPage : "Neue Seite", -Preview : "Vorschau", -Cut : "Ausschneiden", -Copy : "Kopieren", -Paste : "Einfügen", -PasteText : "aus Textdatei einfügen", -PasteWord : "aus MS-Word einfügen", -Print : "Drucken", -SelectAll : "Alles auswählen", -RemoveFormat : "Formatierungen entfernen", -InsertLinkLbl : "Link", -InsertLink : "Link einfügen/editieren", -RemoveLink : "Link entfernen", -Anchor : "Anker einfügen/editieren", -AnchorDelete : "Anker entfernen", -InsertImageLbl : "Bild", -InsertImage : "Bild einfügen/editieren", -InsertFlashLbl : "Flash", -InsertFlash : "Flash einfügen/editieren", -InsertTableLbl : "Tabelle", -InsertTable : "Tabelle einfügen/editieren", -InsertLineLbl : "Linie", -InsertLine : "Horizontale Linie einfügen", -InsertSpecialCharLbl: "Sonderzeichen", -InsertSpecialChar : "Sonderzeichen einfügen/editieren", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Smiley einfügen", -About : "Über FCKeditor", -Bold : "Fett", -Italic : "Kursiv", -Underline : "Unterstrichen", -StrikeThrough : "Durchgestrichen", -Subscript : "Tiefgestellt", -Superscript : "Hochgestellt", -LeftJustify : "Linksbündig", -CenterJustify : "Zentriert", -RightJustify : "Rechtsbündig", -BlockJustify : "Blocksatz", -DecreaseIndent : "Einzug verringern", -IncreaseIndent : "Einzug erhöhen", -Blockquote : "Zitatblock", -Undo : "Rückgängig", -Redo : "Wiederherstellen", -NumberedListLbl : "Nummerierte Liste", -NumberedList : "Nummerierte Liste einfügen/entfernen", -BulletedListLbl : "Liste", -BulletedList : "Liste einfügen/entfernen", -ShowTableBorders : "Zeige Tabellenrahmen", -ShowDetails : "Zeige Details", -Style : "Stil", -FontFormat : "Format", -Font : "Schriftart", -FontSize : "Größe", -TextColor : "Textfarbe", -BGColor : "Hintergrundfarbe", -Source : "Quellcode", -Find : "Suchen", -Replace : "Ersetzen", -SpellCheck : "Rechtschreibprüfung", -UniversalKeyboard : "Universal-Tastatur", -PageBreakLbl : "Seitenumbruch", -PageBreak : "Seitenumbruch einfügen", - -Form : "Formular", -Checkbox : "Checkbox", -RadioButton : "Radiobutton", -TextField : "Textfeld einzeilig", -Textarea : "Textfeld mehrzeilig", -HiddenField : "verstecktes Feld", -Button : "Klickbutton", -SelectionField : "Auswahlfeld", -ImageButton : "Bildbutton", - -FitWindow : "Editor maximieren", -ShowBlocks : "Blöcke anzeigen", - -// Context Menu -EditLink : "Link editieren", -CellCM : "Zelle", -RowCM : "Zeile", -ColumnCM : "Spalte", -InsertRowAfter : "Zeile unterhalb einfügen", -InsertRowBefore : "Zeile oberhalb einfügen", -DeleteRows : "Zeile entfernen", -InsertColumnAfter : "Spalte rechts danach einfügen", -InsertColumnBefore : "Spalte links davor einfügen", -DeleteColumns : "Spalte löschen", -InsertCellAfter : "Zelle danach einfügen", -InsertCellBefore : "Zelle davor einfügen", -DeleteCells : "Zelle löschen", -MergeCells : "Zellen verbinden", -MergeRight : "nach rechts verbinden", -MergeDown : "nach unten verbinden", -HorizontalSplitCell : "Zelle horizontal teilen", -VerticalSplitCell : "Zelle vertikal teilen", -TableDelete : "Tabelle löschen", -CellProperties : "Zellen-Eigenschaften", -TableProperties : "Tabellen-Eigenschaften", -ImageProperties : "Bild-Eigenschaften", -FlashProperties : "Flash-Eigenschaften", - -AnchorProp : "Anker-Eigenschaften", -ButtonProp : "Button-Eigenschaften", -CheckboxProp : "Checkbox-Eigenschaften", -HiddenFieldProp : "Verstecktes Feld-Eigenschaften", -RadioButtonProp : "Optionsfeld-Eigenschaften", -ImageButtonProp : "Bildbutton-Eigenschaften", -TextFieldProp : "Textfeld (einzeilig) Eigenschaften", -SelectionFieldProp : "Auswahlfeld-Eigenschaften", -TextareaProp : "Textfeld (mehrzeilig) Eigenschaften", -FormProp : "Formular-Eigenschaften", - -FontFormats : "Normal;Formatiert;Addresse;Überschrift 1;Überschrift 2;Überschrift 3;Überschrift 4;Überschrift 5;Überschrift 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Bearbeite XHTML. Bitte warten...", -Done : "Fertig", -PasteWordConfirm : "Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?", -NotCompatiblePaste : "Diese Funktion steht nur im Internet Explorer ab Version 5.5 zur Verfügung. Möchten Sie den Text unbereinigt einfügen?", -UnknownToolbarItem : "Unbekanntes Menüleisten-Objekt \"%1\"", -UnknownCommand : "Unbekannter Befehl \"%1\"", -NotImplemented : "Befehl nicht implementiert", -UnknownToolbarSet : "Menüleiste \"%1\" existiert nicht", -NoActiveX : "Die Sicherheitseinstellungen Ihres Browsers beschränken evtl. einige Funktionen des Editors. Aktivieren Sie die Option \"ActiveX-Steuerelemente und Plugins ausführen\" in den Sicherheitseinstellungen, um diese Funktionen nutzen zu können", -BrowseServerBlocked : "Ein Auswahlfenster konnte nicht geöffnet werden. Stellen Sie sicher, das alle Popup-Blocker ausgeschaltet sind.", -DialogBlocked : "Das Dialog-Fenster konnte nicht geöffnet werden. Stellen Sie sicher, das alle Popup-Blocker ausgeschaltet sind.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Abbrechen", -DlgBtnClose : "Schließen", -DlgBtnBrowseServer : "Server durchsuchen", -DlgAdvancedTag : "Erweitert", -DlgOpOther : "<andere>", -DlgInfoTab : "Info", -DlgAlertUrl : "Bitte tragen Sie die URL ein", - -// General Dialogs Labels -DlgGenNotSet : "<nichts>", -DlgGenId : "ID", -DlgGenLangDir : "Schreibrichtung", -DlgGenLangDirLtr : "Links nach Rechts (LTR)", -DlgGenLangDirRtl : "Rechts nach Links (RTL)", -DlgGenLangCode : "Sprachenkürzel", -DlgGenAccessKey : "Zugriffstaste", -DlgGenName : "Name", -DlgGenTabIndex : "Tab-Index", -DlgGenLongDescr : "Langform URL", -DlgGenClass : "Stylesheet Klasse", -DlgGenTitle : "Titel Beschreibung", -DlgGenContType : "Inhaltstyp", -DlgGenLinkCharset : "Ziel-Zeichensatz", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Bild-Eigenschaften", -DlgImgInfoTab : "Bild-Info", -DlgImgBtnUpload : "Zum Server senden", -DlgImgURL : "Bildauswahl", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternativer Text", -DlgImgWidth : "Breite", -DlgImgHeight : "Höhe", -DlgImgLockRatio : "Größenverhältniss beibehalten", -DlgBtnResetSize : "Größe zurücksetzen", -DlgImgBorder : "Rahmen", -DlgImgHSpace : "H-Abstand", -DlgImgVSpace : "V-Abstand", -DlgImgAlign : "Ausrichtung", -DlgImgAlignLeft : "Links", -DlgImgAlignAbsBottom: "Abs Unten", -DlgImgAlignAbsMiddle: "Abs Mitte", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Unten", -DlgImgAlignMiddle : "Mitte", -DlgImgAlignRight : "Rechts", -DlgImgAlignTextTop : "Text Oben", -DlgImgAlignTop : "Oben", -DlgImgPreview : "Vorschau", -DlgImgAlertUrl : "Bitte geben Sie die Bild-URL an", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash-Eigenschaften", -DlgFlashChkPlay : "autom. Abspielen", -DlgFlashChkLoop : "Endlosschleife", -DlgFlashChkMenu : "Flash-Menü aktivieren", -DlgFlashScale : "Skalierung", -DlgFlashScaleAll : "Alles anzeigen", -DlgFlashScaleNoBorder : "ohne Rand", -DlgFlashScaleFit : "Passgenau", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link-Info", -DlgLnkTargetTab : "Zielseite", - -DlgLnkType : "Link-Typ", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Anker in dieser Seite", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<anderes>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Anker auswählen", -DlgLnkAnchorByName : "nach Anker Name", -DlgLnkAnchorById : "nach Element Id", -DlgLnkNoAnchors : "(keine Anker im Dokument vorhanden)", -DlgLnkEMail : "E-Mail Addresse", -DlgLnkEMailSubject : "Betreffzeile", -DlgLnkEMailBody : "Nachrichtentext", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Zum Server senden", - -DlgLnkTarget : "Zielseite", -DlgLnkTargetFrame : "<Frame>", -DlgLnkTargetPopup : "<Pop-up Fenster>", -DlgLnkTargetBlank : "Neues Fenster (_blank)", -DlgLnkTargetParent : "Oberes Fenster (_parent)", -DlgLnkTargetSelf : "Gleiches Fenster (_self)", -DlgLnkTargetTop : "Oberstes Fenster (_top)", -DlgLnkTargetFrameName : "Ziel-Fenster-Name", -DlgLnkPopWinName : "Pop-up Fenster-Name", -DlgLnkPopWinFeat : "Pop-up Fenster-Eigenschaften", -DlgLnkPopResize : "Vergrößerbar", -DlgLnkPopLocation : "Adress-Leiste", -DlgLnkPopMenu : "Menü-Leiste", -DlgLnkPopScroll : "Rollbalken", -DlgLnkPopStatus : "Statusleiste", -DlgLnkPopToolbar : "Werkzeugleiste", -DlgLnkPopFullScrn : "Vollbild (IE)", -DlgLnkPopDependent : "Abhängig (Netscape)", -DlgLnkPopWidth : "Breite", -DlgLnkPopHeight : "Höhe", -DlgLnkPopLeft : "Linke Position", -DlgLnkPopTop : "Obere Position", - -DlnLnkMsgNoUrl : "Bitte geben Sie die Link-URL an", -DlnLnkMsgNoEMail : "Bitte geben Sie e-Mail Adresse an", -DlnLnkMsgNoAnchor : "Bitte wählen Sie einen Anker aus", -DlnLnkMsgInvPopName : "Der Name des Popups muss mit einem Buchstaben beginnen und darf keine Leerzeichen enthalten", - -// Color Dialog -DlgColorTitle : "Farbauswahl", -DlgColorBtnClear : "Keine Farbe", -DlgColorHighlight : "Vorschau", -DlgColorSelected : "Ausgewählt", - -// Smiley Dialog -DlgSmileyTitle : "Smiley auswählen", - -// Special Character Dialog -DlgSpecialCharTitle : "Sonderzeichen auswählen", - -// Table Dialog -DlgTableTitle : "Tabellen-Eigenschaften", -DlgTableRows : "Zeile", -DlgTableColumns : "Spalte", -DlgTableBorder : "Rahmen", -DlgTableAlign : "Ausrichtung", -DlgTableAlignNotSet : "<keine>", -DlgTableAlignLeft : "Links", -DlgTableAlignCenter : "Zentriert", -DlgTableAlignRight : "Rechts", -DlgTableWidth : "Breite", -DlgTableWidthPx : "Pixel", -DlgTableWidthPc : "%", -DlgTableHeight : "Höhe", -DlgTableCellSpace : "Zellenabstand außen", -DlgTableCellPad : "Zellenabstand innen", -DlgTableCaption : "Überschrift", -DlgTableSummary : "Inhaltsübersicht", - -// Table Cell Dialog -DlgCellTitle : "Zellen-Eigenschaften", -DlgCellWidth : "Breite", -DlgCellWidthPx : "Pixel", -DlgCellWidthPc : "%", -DlgCellHeight : "Höhe", -DlgCellWordWrap : "Umbruch", -DlgCellWordWrapNotSet : "<keiner>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nein", -DlgCellHorAlign : "Horizontale Ausrichtung", -DlgCellHorAlignNotSet : "<keine>", -DlgCellHorAlignLeft : "Links", -DlgCellHorAlignCenter : "Zentriert", -DlgCellHorAlignRight: "Rechts", -DlgCellVerAlign : "Vertikale Ausrichtung", -DlgCellVerAlignNotSet : "<keine>", -DlgCellVerAlignTop : "Oben", -DlgCellVerAlignMiddle : "Mitte", -DlgCellVerAlignBottom : "Unten", -DlgCellVerAlignBaseline : "Grundlinie", -DlgCellRowSpan : "Zeilen zusammenfassen", -DlgCellCollSpan : "Spalten zusammenfassen", -DlgCellBackColor : "Hintergrundfarbe", -DlgCellBorderColor : "Rahmenfarbe", -DlgCellBtnSelect : "Auswahl...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Suchen und Ersetzen", - -// Find Dialog -DlgFindTitle : "Finden", -DlgFindFindBtn : "Finden", -DlgFindNotFoundMsg : "Der gesuchte Text wurde nicht gefunden.", - -// Replace Dialog -DlgReplaceTitle : "Ersetzen", -DlgReplaceFindLbl : "Suche nach:", -DlgReplaceReplaceLbl : "Ersetze mit:", -DlgReplaceCaseChk : "Groß-Kleinschreibung beachten", -DlgReplaceReplaceBtn : "Ersetzen", -DlgReplaceReplAllBtn : "Alle Ersetzen", -DlgReplaceWordChk : "Nur ganze Worte suchen", - -// Paste Operations / Dialog -PasteErrorCut : "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).", -PasteErrorCopy : "Die Sicherheitseinstellungen Ihres Browsers lassen es nicht zu, den Text automatisch kopieren. Bitte benutzen Sie die System-Zwischenablage über STRG-C (kopieren).", - -PasteAsText : "Als Text einfügen", -PasteFromWord : "Aus Word einfügen", - -DlgPasteMsg2 : "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>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignoriere Schriftart-Definitionen", -DlgPasteRemoveStyles : "Entferne Style-Definitionen", -DlgPasteCleanBox : "Inhalt aufräumen", - -// Color Picker -ColorAutomatic : "Automatisch", -ColorMoreColors : "Weitere Farben...", - -// Document Properties -DocProps : "Dokument-Eigenschaften", - -// Anchor Dialog -DlgAnchorTitle : "Anker-Eigenschaften", -DlgAnchorName : "Anker Name", -DlgAnchorErrorName : "Bitte geben Sie den Namen des Ankers ein", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nicht im Wörterbuch", -DlgSpellChangeTo : "Ändern in", -DlgSpellBtnIgnore : "Ignorieren", -DlgSpellBtnIgnoreAll : "Alle Ignorieren", -DlgSpellBtnReplace : "Ersetzen", -DlgSpellBtnReplaceAll : "Alle Ersetzen", -DlgSpellBtnUndo : "Rückgängig", -DlgSpellNoSuggestions : " - keine Vorschläge - ", -DlgSpellProgress : "Rechtschreibprüfung läuft...", -DlgSpellNoMispell : "Rechtschreibprüfung abgeschlossen - keine Fehler gefunden", -DlgSpellNoChanges : "Rechtschreibprüfung abgeschlossen - keine Worte geändert", -DlgSpellOneChange : "Rechtschreibprüfung abgeschlossen - ein Wort geändert", -DlgSpellManyChanges : "Rechtschreibprüfung abgeschlossen - %1 Wörter geändert", - -IeSpellDownload : "Rechtschreibprüfung nicht installiert. Möchten Sie sie jetzt herunterladen?", - -// Button Dialog -DlgButtonText : "Text (Wert)", -DlgButtonType : "Typ", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Absenden", -DlgButtonTypeRst : "Zurücksetzen", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Wert", -DlgCheckboxSelected : "ausgewählt", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Wert", -DlgSelectSize : "Größe", -DlgSelectLines : "Linien", -DlgSelectChkMulti : "Erlaube Mehrfachauswahl", -DlgSelectOpAvail : "Mögliche Optionen", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Wert", -DlgSelectBtnAdd : "Hinzufügen", -DlgSelectBtnModify : "Ändern", -DlgSelectBtnUp : "Hoch", -DlgSelectBtnDown : "Runter", -DlgSelectBtnSetValue : "Setze als Standardwert", -DlgSelectBtnDelete : "Entfernen", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Spalten", -DlgTextareaRows : "Reihen", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Wert", -DlgTextCharWidth : "Zeichenbreite", -DlgTextMaxChars : "Max. Zeichen", -DlgTextType : "Typ", -DlgTextTypeText : "Text", -DlgTextTypePass : "Passwort", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Wert", - -// Bulleted List Dialog -BulletedListProp : "Listen-Eigenschaften", -NumberedListProp : "Nummerierte Listen-Eigenschaften", -DlgLstStart : "Start", -DlgLstType : "Typ", -DlgLstTypeCircle : "Ring", -DlgLstTypeDisc : "Kreis", -DlgLstTypeSquare : "Quadrat", -DlgLstTypeNumbers : "Nummern (1, 2, 3)", -DlgLstTypeLCase : "Kleinbuchstaben (a, b, c)", -DlgLstTypeUCase : "Großbuchstaben (A, B, C)", -DlgLstTypeSRoman : "Kleine römische Zahlen (i, ii, iii)", -DlgLstTypeLRoman : "Große römische Zahlen (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Allgemein", -DlgDocBackTab : "Hintergrund", -DlgDocColorsTab : "Farben und Abstände", -DlgDocMetaTab : "Metadaten", - -DlgDocPageTitle : "Seitentitel", -DlgDocLangDir : "Schriftrichtung", -DlgDocLangDirLTR : "Links nach Rechts", -DlgDocLangDirRTL : "Rechts nach Links", -DlgDocLangCode : "Sprachkürzel", -DlgDocCharSet : "Zeichenkodierung", -DlgDocCharSetCE : "Zentraleuropäisch", -DlgDocCharSetCT : "traditionell Chinesisch (Big5)", -DlgDocCharSetCR : "Kyrillisch", -DlgDocCharSetGR : "Griechisch", -DlgDocCharSetJP : "Japanisch", -DlgDocCharSetKR : "Koreanisch", -DlgDocCharSetTR : "Türkisch", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Westeuropäisch", -DlgDocCharSetOther : "Andere Zeichenkodierung", - -DlgDocDocType : "Dokumententyp", -DlgDocDocTypeOther : "Anderer Dokumententyp", -DlgDocIncXHTML : "Beziehe XHTML Deklarationen ein", -DlgDocBgColor : "Hintergrundfarbe", -DlgDocBgImage : "Hintergrundbild URL", -DlgDocBgNoScroll : "feststehender Hintergrund", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Besuchter Link", -DlgDocCActive : "Aktiver Link", -DlgDocMargins : "Seitenränder", -DlgDocMaTop : "Oben", -DlgDocMaLeft : "Links", -DlgDocMaRight : "Rechts", -DlgDocMaBottom : "Unten", -DlgDocMeIndex : "Schlüsselwörter (durch Komma getrennt)", -DlgDocMeDescr : "Dokument-Beschreibung", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vorschau", - -// Templates Dialog -Templates : "Vorlagen", -DlgTemplatesTitle : "Vorlagen", -DlgTemplatesSelMsg : "Klicken Sie auf eine Vorlage, um sie im Editor zu öffnen (der aktuelle Inhalt wird dabei gelöscht!):", -DlgTemplatesLoading : "Liste der Vorlagen wird geladen. Bitte warten...", -DlgTemplatesNoTpl : "(keine Vorlagen definiert)", -DlgTemplatesReplace : "Aktuellen Inhalt ersetzen", - -// About Dialog -DlgAboutAboutTab : "Über", -DlgAboutBrowserInfoTab : "Browser-Info", -DlgAboutLicenseTab : "Lizenz", -DlgAboutVersion : "Version", -DlgAboutInfo : "Für weitere Informationen siehe" -}; +CKEDITOR.lang.de={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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:{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:'Close',preview:'Preview',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:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',unavailable:'%1<span class="cke_accessibility">, nicht verfügbar</span>'},specialChar:{toolbar:'Sonderzeichen einfügen/editieren',title:'Sonderzeichen auswählen'},link:{toolbar:'Link einfügen/editieren',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:{toolbar:'Anker einfügen/editieren',menu:'Anker-Eigenschaften',title:'Anker-Eigenschaften',name:'Anker Name',errorName:'Bitte geben Sie den Namen des Ankers ein'},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:{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:'width unit',height:'Höhe',cellSpace:'Zellenabstand außen',cellPad:'Zellenabstand innen',caption:'Überschrift',summary:'Inhaltsübersicht',headers:'Überschriften',headersNone:'keine',headersColumn:'Erste Spalte',headersRow:'Erste Zeile',headersBoth:'keine',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:'Choose'},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:{title:'Button-Eigenschaften',text:'Text (Wert)',type:'Typ',typeBtn:'Button',typeSbm:'Absenden',typeRst:'Zurücksetzen'},checkboxAndRadio:{checkboxTitle:'Checkbox-Eigenschaften',radioTitle:'Optionsfeld-Eigenschaften',value:'Wert',selected:'ausgewählt'},form:{title:'Formular-Eigenschaften',menu:'Formular-Eigenschaften',action:'Action',method:'Method',encoding:'Zeichenkodierung'},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:{title:'Textfeld (mehrzeilig) Eigenschaften',cols:'Spalten',rows:'Reihen'},textfield:{title:'Textfeld (einzeilig) Eigenschaften',name:'Name',value:'Wert',charWidth:'Zeichenbreite',maxChars:'Max. Zeichen',type:'Typ',typeText:'Text',typePass:'Passwort'},hidden:{title:'Verstecktes Feld-Eigenschaften',name:'Name',value:'Wert'},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:'Unlock Ratio',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:'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:{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.'},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'},elementsPath:{eleLabel:'Elements path',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:'Paste Area'},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:'It was not possible to clean up the pasted data due to an internal error'},pasteText:{button:'Als Text einfügen',title:'Als Text einfügen'},templates:{button:'Vorlagen',title:'Vorlagen',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:'Formatting Styles',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:'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:'Schriftart',voiceLabel:'Schriftart',panelTitle:'Schriftart'},fontSize:{label:'Größe',voiceLabel:'Schrifgröße',panelTitle:'Größe'},colorButton:{textColorTitle:'Textfarbe',bgColorTitle:'Hintergrundfarbe',panelTitle:'Colors',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',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',languagesTab:'Sprachen',dictionariesTab:'Wörterbücher',aboutTab:'Über'},about:{title:'Über CKEditor',dlgTitle:'Über CKEditor',moreInfo:'Für Informationen Liztenzbestimmungen besuchen sie bitte unsere Webseite:',copy:'Copyright &copy; $1. Alle Rechte vorbehalten.'},maximize:'Maximieren',minimize:'Minimize',fakeobjects:{anchor:'Anker',flash:'Flash Animation',div:'Seitenumbruch',unknown:'Unbekanntes Objekt'},resize:'Zum Vergrößern ziehen',colordialog:{title:'Select color',highlight:'Highlight',selected:'Selected',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar'}; diff --git a/editor/editor/lang/el.js b/editor/editor/lang/el.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Greek language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Απόκρυψη Μπάρας Εργαλείων", -ToolbarExpand : "Εμφάνιση Μπάρας Εργαλείων", - -// Toolbar Items and Context Menu -Save : "Αποθήκευση", -NewPage : "Νέα Σελίδα", -Preview : "Προεπισκόπιση", -Cut : "Αποκοπή", -Copy : "Αντιγραφή", -Paste : "Επικόλληση", -PasteText : "Επικόλληση (απλό κείμενο)", -PasteWord : "Επικόλληση από το Word", -Print : "Εκτύπωση", -SelectAll : "Επιλογή όλων", -RemoveFormat : "Αφαίρεση Μορφοποίησης", -InsertLinkLbl : "Σύνδεσμος (Link)", -InsertLink : "Εισαγωγή/Μεταβολή Συνδέσμου (Link)", -RemoveLink : "Αφαίρεση Συνδέσμου (Link)", -Anchor : "Εισαγωγή/επεξεργασία Anchor", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Εικόνα", -InsertImage : "Εισαγωγή/Μεταβολή Εικόνας", -InsertFlashLbl : "Εισαγωγή Flash", -InsertFlash : "Εισαγωγή/επεξεργασία Flash", -InsertTableLbl : "Πίνακας", -InsertTable : "Εισαγωγή/Μεταβολή Πίνακα", -InsertLineLbl : "Γραμμή", -InsertLine : "Εισαγωγή Οριζόντιας Γραμμής", -InsertSpecialCharLbl: "Ειδικό Σύμβολο", -InsertSpecialChar : "Εισαγωγή Ειδικού Συμβόλου", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Εισαγωγή Smiley", -About : "Περί του FCKeditor", -Bold : "Έντονα", -Italic : "Πλάγια", -Underline : "Υπογράμμιση", -StrikeThrough : "Διαγράμμιση", -Subscript : "Δείκτης", -Superscript : "Εκθέτης", -LeftJustify : "Στοίχιση Αριστερά", -CenterJustify : "Στοίχιση στο Κέντρο", -RightJustify : "Στοίχιση Δεξιά", -BlockJustify : "Πλήρης Στοίχιση (Block)", -DecreaseIndent : "Μείωση Εσοχής", -IncreaseIndent : "Αύξηση Εσοχής", -Blockquote : "Blockquote", //MISSING -Undo : "Αναίρεση", -Redo : "Επαναφορά", -NumberedListLbl : "Λίστα με Αριθμούς", -NumberedList : "Εισαγωγή/Διαγραφή Λίστας με Αριθμούς", -BulletedListLbl : "Λίστα με Bullets", -BulletedList : "Εισαγωγή/Διαγραφή Λίστας με Bullets", -ShowTableBorders : "Προβολή Ορίων Πίνακα", -ShowDetails : "Προβολή Λεπτομερειών", -Style : "Στυλ", -FontFormat : "Μορφή Γραμματοσειράς", -Font : "Γραμματοσειρά", -FontSize : "Μέγεθος", -TextColor : "Χρώμα Γραμμάτων", -BGColor : "Χρώμα Υποβάθρου", -Source : "HTML κώδικας", -Find : "Αναζήτηση", -Replace : "Αντικατάσταση", -SpellCheck : "Ορθογραφικός έλεγχος", -UniversalKeyboard : "Διεθνής πληκτρολόγιο", -PageBreakLbl : "Τέλος σελίδας", -PageBreak : "Εισαγωγή τέλους σελίδας", - -Form : "Φόρμα", -Checkbox : "Κουτί επιλογής", -RadioButton : "Κουμπί Radio", -TextField : "Πεδίο κειμένου", -Textarea : "Περιοχή κειμένου", -HiddenField : "Κρυφό πεδίο", -Button : "Κουμπί", -SelectionField : "Πεδίο επιλογής", -ImageButton : "Κουμπί εικόνας", - -FitWindow : "Μεγιστοποίηση προγράμματος", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Μεταβολή Συνδέσμου (Link)", -CellCM : "Κελί", -RowCM : "Σειρά", -ColumnCM : "Στήλη", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Διαγραφή Γραμμών", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Διαγραφή Κολωνών", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Διαγραφή Κελιών", -MergeCells : "Ενοποίηση Κελιών", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Διαγραφή πίνακα", -CellProperties : "Ιδιότητες Κελιού", -TableProperties : "Ιδιότητες Πίνακα", -ImageProperties : "Ιδιότητες Εικόνας", -FlashProperties : "Ιδιότητες Flash", - -AnchorProp : "Ιδιότητες άγκυρας", -ButtonProp : "Ιδιότητες κουμπιού", -CheckboxProp : "Ιδιότητες κουμπιού επιλογής", -HiddenFieldProp : "Ιδιότητες κρυφού πεδίου", -RadioButtonProp : "Ιδιότητες κουμπιού radio", -ImageButtonProp : "Ιδιότητες κουμπιού εικόνας", -TextFieldProp : "Ιδιότητες πεδίου κειμένου", -SelectionFieldProp : "Ιδιότητες πεδίου επιλογής", -TextareaProp : "Ιδιότητες περιοχής κειμένου", -FormProp : "Ιδιότητες φόρμας", - -FontFormats : "Κανονικό;Μορφοποιημένο;Διεύθυνση;Επικεφαλίδα 1;Επικεφαλίδα 2;Επικεφαλίδα 3;Επικεφαλίδα 4;Επικεφαλίδα 5;Επικεφαλίδα 6", - -// Alerts and Messages -ProcessingXHTML : "Επεξεργασία XHTML. Παρακαλώ περιμένετε...", -Done : "Έτοιμο", -PasteWordConfirm : "Το κείμενο που θέλετε να επικολήσετε, φαίνεται πως προέρχεται από το Word. Θέλετε να καθαριστεί πριν επικοληθεί;", -NotCompatiblePaste : "Αυτή η επιλογή είναι διαθέσιμη στον Internet Explorer έκδοση 5.5+. Θέλετε να γίνει η επικόλληση χωρίς καθαρισμό;", -UnknownToolbarItem : "Άγνωστο αντικείμενο της μπάρας εργαλείων \"%1\"", -UnknownCommand : "Άγνωστή εντολή \"%1\"", -NotImplemented : "Η εντολή δεν έχει ενεργοποιηθεί", -UnknownToolbarSet : "Η μπάρα εργαλείων \"%1\" δεν υπάρχει", -NoActiveX : "Οι ρυθμίσεις ασφαλείας του browser σας μπορεί να περιορίσουν κάποιες ρυθμίσεις του προγράμματος. Χρειάζεται να ενεργοποιήσετε την επιλογή \"Run ActiveX controls and plug-ins\". Ίσως παρουσιαστούν λάθη και παρατηρήσετε ελειπείς λειτουργίες.", -BrowseServerBlocked : "Οι πόροι του browser σας δεν είναι προσπελάσιμοι. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", -DialogBlocked : "Δεν ήταν δυνατό να ανοίξει το παράθυρο διαλόγου. Σιγουρευτείτε ότι δεν υπάρχουν ενεργοί popup blockers.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Ακύρωση", -DlgBtnClose : "Κλείσιμο", -DlgBtnBrowseServer : "Εξερεύνηση διακομιστή", -DlgAdvancedTag : "Για προχωρημένους", -DlgOpOther : "<Άλλα>", -DlgInfoTab : "Πληροφορίες", -DlgAlertUrl : "Παρακαλώ εισάγετε URL", - -// General Dialogs Labels -DlgGenNotSet : "<χωρίς>", -DlgGenId : "Id", -DlgGenLangDir : "Κατεύθυνση κειμένου", -DlgGenLangDirLtr : "Αριστερά προς Δεξιά (LTR)", -DlgGenLangDirRtl : "Δεξιά προς Αριστερά (RTL)", -DlgGenLangCode : "Κωδικός Γλώσσας", -DlgGenAccessKey : "Συντόμευση (Access Key)", -DlgGenName : "Όνομα", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Αναλυτική περιγραφή URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Συμβουλευτικός τίτλος", -DlgGenContType : "Συμβουλευτικός τίτλος περιεχομένου", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Στύλ", - -// Image Dialog -DlgImgTitle : "Ιδιότητες Εικόνας", -DlgImgInfoTab : "Πληροφορίες Εικόνας", -DlgImgBtnUpload : "Αποστολή στον Διακομιστή", -DlgImgURL : "URL", -DlgImgUpload : "Αποστολή", -DlgImgAlt : "Εναλλακτικό Κείμενο (ALT)", -DlgImgWidth : "Πλάτος", -DlgImgHeight : "Ύψος", -DlgImgLockRatio : "Κλείδωμα Αναλογίας", -DlgBtnResetSize : "Επαναφορά Αρχικού Μεγέθους", -DlgImgBorder : "Περιθώριο", -DlgImgHSpace : "Οριζόντιος Χώρος (HSpace)", -DlgImgVSpace : "Κάθετος Χώρος (VSpace)", -DlgImgAlign : "Ευθυγράμμιση (Align)", -DlgImgAlignLeft : "Αριστερά", -DlgImgAlignAbsBottom: "Απόλυτα Κάτω (Abs Bottom)", -DlgImgAlignAbsMiddle: "Απόλυτα στη Μέση (Abs Middle)", -DlgImgAlignBaseline : "Γραμμή Βάσης (Baseline)", -DlgImgAlignBottom : "Κάτω (Bottom)", -DlgImgAlignMiddle : "Μέση (Middle)", -DlgImgAlignRight : "Δεξιά (Right)", -DlgImgAlignTextTop : "Κορυφή Κειμένου (Text Top)", -DlgImgAlignTop : "Πάνω (Top)", -DlgImgPreview : "Προεπισκόπιση", -DlgImgAlertUrl : "Εισάγετε την τοποθεσία (URL) της εικόνας", -DlgImgLinkTab : "Σύνδεσμος", - -// Flash Dialog -DlgFlashTitle : "Ιδιότητες flash", -DlgFlashChkPlay : "Αυτόματη έναρξη", -DlgFlashChkLoop : "Επανάληψη", -DlgFlashChkMenu : "Ενεργοποίηση Flash Menu", -DlgFlashScale : "Κλίμακα", -DlgFlashScaleAll : "Εμφάνιση όλων", -DlgFlashScaleNoBorder : "Χωρίς όρια", -DlgFlashScaleFit : "Ακριβής εφαρμογή", - -// Link Dialog -DlgLnkWindowTitle : "Σύνδεσμος (Link)", -DlgLnkInfoTab : "Link", -DlgLnkTargetTab : "Παράθυρο Στόχος (Target)", - -DlgLnkType : "Τύπος συνδέσμου (Link)", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Άγκυρα σε αυτή τη σελίδα", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Προτόκολο", -DlgLnkProtoOther : "<άλλο>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Επιλέξτε μια άγκυρα", -DlgLnkAnchorByName : "Βάσει του Ονόματος (Name) της άγκυρας", -DlgLnkAnchorById : "Βάσει του Element Id", -DlgLnkNoAnchors : "(Δεν υπάρχουν άγκυρες στο κείμενο)", -DlgLnkEMail : "Διεύθυνση Ηλεκτρονικού Ταχυδρομείου", -DlgLnkEMailSubject : "Θέμα Μηνύματος", -DlgLnkEMailBody : "Κείμενο Μηνύματος", -DlgLnkUpload : "Αποστολή", -DlgLnkBtnUpload : "Αποστολή στον Διακομιστή", - -DlgLnkTarget : "Παράθυρο Στόχος (Target)", -DlgLnkTargetFrame : "<πλαίσιο>", -DlgLnkTargetPopup : "<παράθυρο popup>", -DlgLnkTargetBlank : "Νέο Παράθυρο (_blank)", -DlgLnkTargetParent : "Γονικό Παράθυρο (_parent)", -DlgLnkTargetSelf : "Ίδιο Παράθυρο (_self)", -DlgLnkTargetTop : "Ανώτατο Παράθυρο (_top)", -DlgLnkTargetFrameName : "Όνομα πλαισίου στόχου", -DlgLnkPopWinName : "Όνομα Popup Window", -DlgLnkPopWinFeat : "Επιλογές Popup Window", -DlgLnkPopResize : "Με αλλαγή Μεγέθους", -DlgLnkPopLocation : "Μπάρα Τοποθεσίας", -DlgLnkPopMenu : "Μπάρα Menu", -DlgLnkPopScroll : "Μπάρες Κύλισης", -DlgLnkPopStatus : "Μπάρα Status", -DlgLnkPopToolbar : "Μπάρα Εργαλείων", -DlgLnkPopFullScrn : "Ολόκληρη η Οθόνη (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Πλάτος", -DlgLnkPopHeight : "Ύψος", -DlgLnkPopLeft : "Τοποθεσία Αριστερής Άκρης", -DlgLnkPopTop : "Τοποθεσία Πάνω Άκρης", - -DlnLnkMsgNoUrl : "Εισάγετε την τοποθεσία (URL) του υπερσυνδέσμου (Link)", -DlnLnkMsgNoEMail : "Εισάγετε την διεύθυνση ηλεκτρονικού ταχυδρομείου", -DlnLnkMsgNoAnchor : "Επιλέξτε ένα Anchor", -DlnLnkMsgInvPopName : "Το όνομα του popup πρέπει να αρχίζει με χαρακτήρα της αλφαβήτου και να μην περιέχει κενά", - -// Color Dialog -DlgColorTitle : "Επιλογή χρώματος", -DlgColorBtnClear : "Καθαρισμός", -DlgColorHighlight : "Προεπισκόπιση", -DlgColorSelected : "Επιλεγμένο", - -// Smiley Dialog -DlgSmileyTitle : "Επιλέξτε ένα Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Επιλέξτε ένα Ειδικό Σύμβολο", - -// Table Dialog -DlgTableTitle : "Ιδιότητες Πίνακα", -DlgTableRows : "Γραμμές", -DlgTableColumns : "Κολώνες", -DlgTableBorder : "Μέγεθος Περιθωρίου", -DlgTableAlign : "Στοίχιση", -DlgTableAlignNotSet : "<χωρίς>", -DlgTableAlignLeft : "Αριστερά", -DlgTableAlignCenter : "Κέντρο", -DlgTableAlignRight : "Δεξιά", -DlgTableWidth : "Πλάτος", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "\%", -DlgTableHeight : "Ύψος", -DlgTableCellSpace : "Απόσταση κελιών", -DlgTableCellPad : "Γέμισμα κελιών", -DlgTableCaption : "Υπέρτιτλος", -DlgTableSummary : "Περίληψη", - -// Table Cell Dialog -DlgCellTitle : "Ιδιότητες Κελιού", -DlgCellWidth : "Πλάτος", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "\%", -DlgCellHeight : "Ύψος", -DlgCellWordWrap : "Με αλλαγή γραμμής", -DlgCellWordWrapNotSet : "<χωρίς>", -DlgCellWordWrapYes : "Ναι", -DlgCellWordWrapNo : "Όχι", -DlgCellHorAlign : "Οριζόντια Στοίχιση", -DlgCellHorAlignNotSet : "<χωρίς>", -DlgCellHorAlignLeft : "Αριστερά", -DlgCellHorAlignCenter : "Κέντρο", -DlgCellHorAlignRight: "Δεξιά", -DlgCellVerAlign : "Κάθετη Στοίχιση", -DlgCellVerAlignNotSet : "<χωρίς>", -DlgCellVerAlignTop : "Πάνω (Top)", -DlgCellVerAlignMiddle : "Μέση (Middle)", -DlgCellVerAlignBottom : "Κάτω (Bottom)", -DlgCellVerAlignBaseline : "Γραμμή Βάσης (Baseline)", -DlgCellRowSpan : "Αριθμός Γραμμών (Rows Span)", -DlgCellCollSpan : "Αριθμός Κολωνών (Columns Span)", -DlgCellBackColor : "Χρώμα Υποβάθρου", -DlgCellBorderColor : "Χρώμα Περιθωρίου", -DlgCellBtnSelect : "Επιλογή...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Αναζήτηση", -DlgFindFindBtn : "Αναζήτηση", -DlgFindNotFoundMsg : "Το κείμενο δεν βρέθηκε.", - -// Replace Dialog -DlgReplaceTitle : "Αντικατάσταση", -DlgReplaceFindLbl : "Αναζήτηση:", -DlgReplaceReplaceLbl : "Αντικατάσταση με:", -DlgReplaceCaseChk : "Έλεγχος πεζών/κεφαλαίων", -DlgReplaceReplaceBtn : "Αντικατάσταση", -DlgReplaceReplAllBtn : "Αντικατάσταση Όλων", -DlgReplaceWordChk : "Εύρεση πλήρους λέξης", - -// Paste Operations / Dialog -PasteErrorCut : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αποκοπής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+X).", -PasteErrorCopy : "Οι ρυθμίσεις ασφαλείας του φυλλομετρητή σας δεν επιτρέπουν την επιλεγμένη εργασία αντιγραφής. Χρησιμοποιείστε το πληκτρολόγιο (Ctrl+C).", - -PasteAsText : "Επικόλληση ως Απλό Κείμενο", -PasteFromWord : "Επικόλληση από το Word", - -DlgPasteMsg2 : "Παρακαλώ επικολήστε στο ακόλουθο κουτί χρησιμοποιόντας το πληκτρολόγιο (<STRONG>Ctrl+V</STRONG>) και πατήστε <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Αγνόηση προδιαγραφών γραμματοσειράς", -DlgPasteRemoveStyles : "Αφαίρεση προδιαγραφών στύλ", -DlgPasteCleanBox : "Κουτί εκαθάρισης", - -// Color Picker -ColorAutomatic : "Αυτόματο", -ColorMoreColors : "Περισσότερα χρώματα...", - -// Document Properties -DocProps : "Ιδιότητες εγγράφου", - -// Anchor Dialog -DlgAnchorTitle : "Ιδιότητες άγκυρας", -DlgAnchorName : "Όνομα άγκυρας", -DlgAnchorErrorName : "Παρακαλούμε εισάγετε όνομα άγκυρας", - -// Speller Pages Dialog -DlgSpellNotInDic : "Δεν υπάρχει στο λεξικό", -DlgSpellChangeTo : "Αλλαγή σε", -DlgSpellBtnIgnore : "Αγνόηση", -DlgSpellBtnIgnoreAll : "Αγνόηση όλων", -DlgSpellBtnReplace : "Αντικατάσταση", -DlgSpellBtnReplaceAll : "Αντικατάσταση όλων", -DlgSpellBtnUndo : "Αναίρεση", -DlgSpellNoSuggestions : "- Δεν υπάρχουν προτάσεις -", -DlgSpellProgress : "Ορθογραφικός έλεγχος σε εξέλιξη...", -DlgSpellNoMispell : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν βρέθηκαν λάθη", -DlgSpellNoChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Δεν άλλαξαν λέξεις", -DlgSpellOneChange : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: Μια λέξη άλλαξε", -DlgSpellManyChanges : "Ο ορθογραφικός έλεγχος ολοκληρώθηκε: %1 λέξεις άλλαξαν", - -IeSpellDownload : "Δεν υπάρχει εγκατεστημένος ορθογράφος. Θέλετε να τον κατεβάσετε τώρα;", - -// Button Dialog -DlgButtonText : "Κείμενο (Τιμή)", -DlgButtonType : "Τύπος", -DlgButtonTypeBtn : "Κουμπί", -DlgButtonTypeSbm : "Καταχώρηση", -DlgButtonTypeRst : "Επαναφορά", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Όνομα", -DlgCheckboxValue : "Τιμή", -DlgCheckboxSelected : "Επιλεγμένο", - -// Form Dialog -DlgFormName : "Όνομα", -DlgFormAction : "Δράση", -DlgFormMethod : "Μάθοδος", - -// Select Field Dialog -DlgSelectName : "Όνομα", -DlgSelectValue : "Τιμή", -DlgSelectSize : "Μέγεθος", -DlgSelectLines : "γραμμές", -DlgSelectChkMulti : "Πολλαπλές επιλογές", -DlgSelectOpAvail : "Διαθέσιμες επιλογές", -DlgSelectOpText : "Κείμενο", -DlgSelectOpValue : "Τιμή", -DlgSelectBtnAdd : "Προσθήκη", -DlgSelectBtnModify : "Αλλαγή", -DlgSelectBtnUp : "Πάνω", -DlgSelectBtnDown : "Κάτω", -DlgSelectBtnSetValue : "Προεπιλεγμένη επιλογή", -DlgSelectBtnDelete : "Διαγραφή", - -// Textarea Dialog -DlgTextareaName : "Όνομα", -DlgTextareaCols : "Στήλες", -DlgTextareaRows : "Σειρές", - -// Text Field Dialog -DlgTextName : "Όνομα", -DlgTextValue : "Τιμή", -DlgTextCharWidth : "Μήκος χαρακτήρων", -DlgTextMaxChars : "Μέγιστοι χαρακτήρες", -DlgTextType : "Τύπος", -DlgTextTypeText : "Κείμενο", -DlgTextTypePass : "Κωδικός", - -// Hidden Field Dialog -DlgHiddenName : "Όνομα", -DlgHiddenValue : "Τιμή", - -// Bulleted List Dialog -BulletedListProp : "Ιδιότητες λίστας Bulleted", -NumberedListProp : "Ιδιότητες αριθμημένης λίστας ", -DlgLstStart : "Αρχή", -DlgLstType : "Τύπος", -DlgLstTypeCircle : "Κύκλος", -DlgLstTypeDisc : "Δίσκος", -DlgLstTypeSquare : "Τετράγωνο", -DlgLstTypeNumbers : "Αριθμοί (1, 2, 3)", -DlgLstTypeLCase : "Πεζά γράμματα (a, b, c)", -DlgLstTypeUCase : "Κεφαλαία γράμματα (A, B, C)", -DlgLstTypeSRoman : "Μικρά λατινικά αριθμητικά (i, ii, iii)", -DlgLstTypeLRoman : "Μεγάλα λατινικά αριθμητικά (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Γενικά", -DlgDocBackTab : "Φόντο", -DlgDocColorsTab : "Χρώματα και περιθώρια", -DlgDocMetaTab : "Δεδομένα Meta", - -DlgDocPageTitle : "Τίτλος σελίδας", -DlgDocLangDir : "Κατεύθυνση γραφής", -DlgDocLangDirLTR : "αριστερά προς δεξιά (LTR)", -DlgDocLangDirRTL : "δεξιά προς αριστερά (RTL)", -DlgDocLangCode : "Κωδικός γλώσσας", -DlgDocCharSet : "Κωδικοποίηση χαρακτήρων", -DlgDocCharSetCE : "Κεντρικής Ευρώπης", -DlgDocCharSetCT : "Παραδοσιακά κινέζικα (Big5)", -DlgDocCharSetCR : "Κυριλλική", -DlgDocCharSetGR : "Ελληνική", -DlgDocCharSetJP : "Ιαπωνική", -DlgDocCharSetKR : "Κορεάτικη", -DlgDocCharSetTR : "Τουρκική", -DlgDocCharSetUN : "Διεθνής (UTF-8)", -DlgDocCharSetWE : "Δυτικής Ευρώπης", -DlgDocCharSetOther : "Άλλη κωδικοποίηση χαρακτήρων", - -DlgDocDocType : "Επικεφαλίδα τύπου εγγράφου", -DlgDocDocTypeOther : "Άλλη επικεφαλίδα τύπου εγγράφου", -DlgDocIncXHTML : "Να συμπεριληφθούν οι δηλώσεις XHTML", -DlgDocBgColor : "Χρώμα φόντου", -DlgDocBgImage : "Διεύθυνση εικόνας φόντου", -DlgDocBgNoScroll : "Φόντο χωρίς κύλιση", -DlgDocCText : "Κείμενο", -DlgDocCLink : "Σύνδεσμος", -DlgDocCVisited : "Σύνδεσμος που έχει επισκευθεί", -DlgDocCActive : "Ενεργός σύνδεσμος", -DlgDocMargins : "Περιθώρια σελίδας", -DlgDocMaTop : "Κορυφή", -DlgDocMaLeft : "Αριστερά", -DlgDocMaRight : "Δεξιά", -DlgDocMaBottom : "Κάτω", -DlgDocMeIndex : "Λέξεις κλειδιά δείκτες εγγράφου (διαχωρισμός με κόμμα)", -DlgDocMeDescr : "Περιγραφή εγγράφου", -DlgDocMeAuthor : "Συγγραφέας", -DlgDocMeCopy : "Πνευματικά δικαιώματα", -DlgDocPreview : "Προεπισκόπηση", - -// Templates Dialog -Templates : "Πρότυπα", -DlgTemplatesTitle : "Πρότυπα περιεχομένου", -DlgTemplatesSelMsg : "Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα<br>(τα υπάρχοντα περιεχόμενα θα χαθούν):", -DlgTemplatesLoading : "Φόρτωση καταλόγου προτύπων. Παρακαλώ περιμένετε...", -DlgTemplatesNoTpl : "(Δεν έχουν καθοριστεί πρότυπα)", -DlgTemplatesReplace : "Αντικατάσταση υπάρχοντων περιεχομένων", - -// About Dialog -DlgAboutAboutTab : "Σχετικά", -DlgAboutBrowserInfoTab : "Πληροφορίες Browser", -DlgAboutLicenseTab : "Άδεια", -DlgAboutVersion : "έκδοση", -DlgAboutInfo : "Για περισσότερες πληροφορίες" -}; diff --git a/editor/editor/lang/en-au.js b/editor/editor/lang/en-au.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English (Australia) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Centre Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Colour", -BGColor : "Background Colour", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "<Other>", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "<not set>", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<other>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Colour", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "<Not set>", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<Not set>", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Not set>", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "<Not set>", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Colour", -DlgCellBorderColor : "Border Colour", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<STRONG>Ctrl+V</STRONG>) and hit <STRONG>OK</STRONG>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", -DlgPasteCleanBox : "Clean Up Box", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colours...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colours and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Colour", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor<br>(the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to" -}; diff --git a/editor/editor/lang/en-ca.js b/editor/editor/lang/en-ca.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English (Canadian) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Centre Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Colour", -BGColor : "Background Colour", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "<Other>", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "<not set>", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<other>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Colour", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "<Not set>", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<Not set>", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Not set>", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "<Not set>", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Colour", -DlgCellBorderColor : "Border Colour", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<STRONG>Ctrl+V</STRONG>) and hit <STRONG>OK</STRONG>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", -DlgPasteCleanBox : "Clean Up Box", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colours...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colours and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Colour", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor<br>(the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to" -}; diff --git a/editor/editor/lang/en-uk.js b/editor/editor/lang/en-uk.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English (United Kingdom) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Centre Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Colour", -BGColor : "Background Colour", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "<Other>", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "<not set>", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<other>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Colour", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "<Not set>", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<Not set>", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Not set>", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "<Not set>", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Colour", -DlgCellBorderColor : "Border Colour", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<STRONG>Ctrl+V</STRONG>) and hit <STRONG>OK</STRONG>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", -DlgPasteCleanBox : "Clean Up Box", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colours...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colours and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Colour", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor<br>(the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to" -}; diff --git a/editor/editor/lang/en.js b/editor/editor/lang/en.js @@ -1,516 +1,6 @@ /* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * English language file. - */ +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Save", -NewPage : "New Page", -Preview : "Preview", -Cut : "Cut", -Copy : "Copy", -Paste : "Paste", -PasteText : "Paste as plain text", -PasteWord : "Paste from Word", -Print : "Print", -SelectAll : "Select All", -RemoveFormat : "Remove Format", -InsertLinkLbl : "Link", -InsertLink : "Insert/Edit Link", -RemoveLink : "Remove Link", -Anchor : "Insert/Edit Anchor", -AnchorDelete : "Remove Anchor", -InsertImageLbl : "Image", -InsertImage : "Insert/Edit Image", -InsertFlashLbl : "Flash", -InsertFlash : "Insert/Edit Flash", -InsertTableLbl : "Table", -InsertTable : "Insert/Edit Table", -InsertLineLbl : "Line", -InsertLine : "Insert Horizontal Line", -InsertSpecialCharLbl: "Special Character", -InsertSpecialChar : "Insert Special Character", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insert Smiley", -About : "About FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Left Justify", -CenterJustify : "Center Justify", -RightJustify : "Right Justify", -BlockJustify : "Block Justify", -DecreaseIndent : "Decrease Indent", -IncreaseIndent : "Increase Indent", -Blockquote : "Blockquote", -Undo : "Undo", -Redo : "Redo", -NumberedListLbl : "Numbered List", -NumberedList : "Insert/Remove Numbered List", -BulletedListLbl : "Bulleted List", -BulletedList : "Insert/Remove Bulleted List", -ShowTableBorders : "Show Table Borders", -ShowDetails : "Show Details", -Style : "Style", -FontFormat : "Format", -Font : "Font", -FontSize : "Size", -TextColor : "Text Color", -BGColor : "Background Color", -Source : "Source", -Find : "Find", -Replace : "Replace", -SpellCheck : "Check Spelling", -UniversalKeyboard : "Universal Keyboard", -PageBreakLbl : "Page Break", -PageBreak : "Insert Page Break", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Maximize the editor size", -ShowBlocks : "Show Blocks", - -// Context Menu -EditLink : "Edit Link", -CellCM : "Cell", -RowCM : "Row", -ColumnCM : "Column", -InsertRowAfter : "Insert Row After", -InsertRowBefore : "Insert Row Before", -DeleteRows : "Delete Rows", -InsertColumnAfter : "Insert Column After", -InsertColumnBefore : "Insert Column Before", -DeleteColumns : "Delete Columns", -InsertCellAfter : "Insert Cell After", -InsertCellBefore : "Insert Cell Before", -DeleteCells : "Delete Cells", -MergeCells : "Merge Cells", -MergeRight : "Merge Right", -MergeDown : "Merge Down", -HorizontalSplitCell : "Split Cell Horizontally", -VerticalSplitCell : "Split Cell Vertically", -TableDelete : "Delete Table", -CellProperties : "Cell Properties", -TableProperties : "Table Properties", -ImageProperties : "Image Properties", -FlashProperties : "Flash Properties", - -AnchorProp : "Anchor Properties", -ButtonProp : "Button Properties", -CheckboxProp : "Checkbox Properties", -HiddenFieldProp : "Hidden Field Properties", -RadioButtonProp : "Radio Button Properties", -ImageButtonProp : "Image Button Properties", -TextFieldProp : "Text Field Properties", -SelectionFieldProp : "Selection Field Properties", -TextareaProp : "Textarea Properties", -FormProp : "Form Properties", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Processing XHTML. Please wait...", -Done : "Done", -PasteWordConfirm : "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?", -NotCompatiblePaste : "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?", -UnknownToolbarItem : "Unknown toolbar item \"%1\"", -UnknownCommand : "Unknown command name \"%1\"", -NotImplemented : "Command not implemented", -UnknownToolbarSet : "Toolbar set \"%1\" doesn't exist", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancel", -DlgBtnClose : "Close", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "<Other>", -DlgInfoTab : "Info", -DlgAlertUrl : "Please insert the URL", - -// General Dialogs Labels -DlgGenNotSet : "<not set>", -DlgGenId : "Id", -DlgGenLangDir : "Language Direction", -DlgGenLangDirLtr : "Left to Right (LTR)", -DlgGenLangDirRtl : "Right to Left (RTL)", -DlgGenLangCode : "Language Code", -DlgGenAccessKey : "Access Key", -DlgGenName : "Name", -DlgGenTabIndex : "Tab Index", -DlgGenLongDescr : "Long Description URL", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Image Properties", -DlgImgInfoTab : "Image Info", -DlgImgBtnUpload : "Send it to the Server", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternative Text", -DlgImgWidth : "Width", -DlgImgHeight : "Height", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "Reset Size", -DlgImgBorder : "Border", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Align", -DlgImgAlignLeft : "Left", -DlgImgAlignAbsBottom: "Abs Bottom", -DlgImgAlignAbsMiddle: "Abs Middle", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Bottom", -DlgImgAlignMiddle : "Middle", -DlgImgAlignRight : "Right", -DlgImgAlignTextTop : "Text Top", -DlgImgAlignTop : "Top", -DlgImgPreview : "Preview", -DlgImgAlertUrl : "Please type the image URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Enable Flash Menu", -DlgFlashScale : "Scale", -DlgFlashScaleAll : "Show all", -DlgFlashScaleNoBorder : "No Border", -DlgFlashScaleFit : "Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Target", - -DlgLnkType : "Link Type", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Link to anchor in the text", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<other>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Select an Anchor", -DlgLnkAnchorByName : "By Anchor Name", -DlgLnkAnchorById : "By Element Id", -DlgLnkNoAnchors : "(No anchors available in the document)", -DlgLnkEMail : "E-Mail Address", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message Body", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Send it to the Server", - -DlgLnkTarget : "Target", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", -DlgLnkTargetBlank : "New Window (_blank)", -DlgLnkTargetParent : "Parent Window (_parent)", -DlgLnkTargetSelf : "Same Window (_self)", -DlgLnkTargetTop : "Topmost Window (_top)", -DlgLnkTargetFrameName : "Target Frame Name", -DlgLnkPopWinName : "Popup Window Name", -DlgLnkPopWinFeat : "Popup Window Features", -DlgLnkPopResize : "Resizable", -DlgLnkPopLocation : "Location Bar", -DlgLnkPopMenu : "Menu Bar", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Status Bar", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Full Screen (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Width", -DlgLnkPopHeight : "Height", -DlgLnkPopLeft : "Left Position", -DlgLnkPopTop : "Top Position", - -DlnLnkMsgNoUrl : "Please type the link URL", -DlnLnkMsgNoEMail : "Please type the e-mail address", -DlnLnkMsgNoAnchor : "Please select an anchor", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", - -// Color Dialog -DlgColorTitle : "Select Color", -DlgColorBtnClear : "Clear", -DlgColorHighlight : "Highlight", -DlgColorSelected : "Selected", - -// Smiley Dialog -DlgSmileyTitle : "Insert a Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Select Special Character", - -// Table Dialog -DlgTableTitle : "Table Properties", -DlgTableRows : "Rows", -DlgTableColumns : "Columns", -DlgTableBorder : "Border size", -DlgTableAlign : "Alignment", -DlgTableAlignNotSet : "<Not set>", -DlgTableAlignLeft : "Left", -DlgTableAlignCenter : "Center", -DlgTableAlignRight : "Right", -DlgTableWidth : "Width", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Height", -DlgTableCellSpace : "Cell spacing", -DlgTableCellPad : "Cell padding", -DlgTableCaption : "Caption", -DlgTableSummary : "Summary", - -// Table Cell Dialog -DlgCellTitle : "Cell Properties", -DlgCellWidth : "Width", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Height", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<Not set>", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Not set>", -DlgCellHorAlignLeft : "Left", -DlgCellHorAlignCenter : "Center", -DlgCellHorAlignRight: "Right", -DlgCellVerAlign : "Vertical Alignment", -DlgCellVerAlignNotSet : "<Not set>", -DlgCellVerAlignTop : "Top", -DlgCellVerAlignMiddle : "Middle", -DlgCellVerAlignBottom : "Bottom", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Rows Span", -DlgCellCollSpan : "Columns Span", -DlgCellBackColor : "Background Color", -DlgCellBorderColor : "Border Color", -DlgCellBtnSelect : "Select...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", - -// Find Dialog -DlgFindTitle : "Find", -DlgFindFindBtn : "Find", -DlgFindNotFoundMsg : "The specified text was not found.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Find what:", -DlgReplaceReplaceLbl : "Replace with:", -DlgReplaceCaseChk : "Match case", -DlgReplaceReplaceBtn : "Replace", -DlgReplaceReplAllBtn : "Replace All", -DlgReplaceWordChk : "Match whole word", - -// Paste Operations / Dialog -PasteErrorCut : "Your browser security settings don't permit the editor to automatically execute cutting operations. Please use the keyboard for that (Ctrl+X).", -PasteErrorCopy : "Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).", - -PasteAsText : "Paste as Plain Text", -PasteFromWord : "Paste from Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignore Font Face definitions", -DlgPasteRemoveStyles : "Remove Styles definitions", -DlgPasteCleanBox : "Clean Up Box", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "More Colors...", - -// Document Properties -DocProps : "Document Properties", - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", -DlgAnchorName : "Anchor Name", -DlgAnchorErrorName : "Please type the anchor name", - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", -DlgSpellChangeTo : "Change to", -DlgSpellBtnIgnore : "Ignore", -DlgSpellBtnIgnoreAll : "Ignore All", -DlgSpellBtnReplace : "Replace", -DlgSpellBtnReplaceAll : "Replace All", -DlgSpellBtnUndo : "Undo", -DlgSpellNoSuggestions : "- No suggestions -", -DlgSpellProgress : "Spell check in progress...", -DlgSpellNoMispell : "Spell check complete: No misspellings found", -DlgSpellNoChanges : "Spell check complete: No words changed", -DlgSpellOneChange : "Spell check complete: One word changed", -DlgSpellManyChanges : "Spell check complete: %1 words changed", - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", - -// Button Dialog -DlgButtonText : "Text (Value)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", -DlgCheckboxValue : "Value", -DlgCheckboxSelected : "Selected", - -// Form Dialog -DlgFormName : "Name", -DlgFormAction : "Action", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Name", -DlgSelectValue : "Value", -DlgSelectSize : "Size", -DlgSelectLines : "lines", -DlgSelectChkMulti : "Allow multiple selections", -DlgSelectOpAvail : "Available Options", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Value", -DlgSelectBtnAdd : "Add", -DlgSelectBtnModify : "Modify", -DlgSelectBtnUp : "Up", -DlgSelectBtnDown : "Down", -DlgSelectBtnSetValue : "Set as selected value", -DlgSelectBtnDelete : "Delete", - -// Textarea Dialog -DlgTextareaName : "Name", -DlgTextareaCols : "Columns", -DlgTextareaRows : "Rows", - -// Text Field Dialog -DlgTextName : "Name", -DlgTextValue : "Value", -DlgTextCharWidth : "Character Width", -DlgTextMaxChars : "Maximum Characters", -DlgTextType : "Type", -DlgTextTypeText : "Text", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Name", -DlgHiddenValue : "Value", - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", -NumberedListProp : "Numbered List Properties", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Numbers (1, 2, 3)", -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Background", -DlgDocColorsTab : "Colors and Margins", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Page Title", -DlgDocLangDir : "Language Direction", -DlgDocLangDirLTR : "Left to Right (LTR)", -DlgDocLangDirRTL : "Right to Left (RTL)", -DlgDocLangCode : "Language Code", -DlgDocCharSet : "Character Set Encoding", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "Other Character Set Encoding", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Include XHTML Declarations", -DlgDocBgColor : "Background Color", -DlgDocBgImage : "Background Image URL", -DlgDocBgNoScroll : "Nonscrolling Background", -DlgDocCText : "Text", -DlgDocCLink : "Link", -DlgDocCVisited : "Visited Link", -DlgDocCActive : "Active Link", -DlgDocMargins : "Page Margins", -DlgDocMaTop : "Top", -DlgDocMaLeft : "Left", -DlgDocMaRight : "Right", -DlgDocMaBottom : "Bottom", -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", -DlgDocMeDescr : "Document Description", -DlgDocMeAuthor : "Author", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Preview", - -// Templates Dialog -Templates : "Templates", -DlgTemplatesTitle : "Content Templates", -DlgTemplatesSelMsg : "Please select the template to open in the editor<br />(the actual contents will be lost):", -DlgTemplatesLoading : "Loading templates list. Please wait...", -DlgTemplatesNoTpl : "(No templates defined)", -DlgTemplatesReplace : "Replace actual contents", - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "Browser Info", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "For further information go to" -}; +CKEDITOR.lang.en={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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:{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)',unavailable:'%1<span class="cke_accessibility">, unavailable</span>'},specialChar:{toolbar:'Insert Special Character',title:'Select Special Character'},link:{toolbar:'Link',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:{toolbar:'Anchor',menu:'Edit Anchor',title:'Anchor Properties',name:'Anchor Name',errorName:'Please type the anchor name'},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:{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:{title:'Button Properties',text:'Text (Value)',type:'Type',typeBtn:'Button',typeSbm:'Submit',typeRst:'Reset'},checkboxAndRadio:{checkboxTitle:'Checkbox Properties',radioTitle:'Radio Button Properties',value:'Value',selected:'Selected'},form:{title:'Form Properties',menu:'Form Properties',action:'Action',method:'Method',encoding:'Encoding'},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:{title:'Textarea Properties',cols:'Columns',rows:'Rows'},textfield:{title:'Text Field Properties',name:'Name',value:'Value',charWidth:'Character Width',maxChars:'Maximum Characters',type:'Type',typeText:'Text',typePass:'Password'},hidden:{title:'Hidden Field Properties',name:'Name',value:'Value'},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:{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.'},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'},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+X).",copyError:"Your browser security settings don't permit the editor to automatically execute copying operations. Please use the keyboard for that (Ctrl+C).",pasteMsg:'Please paste inside the following box using the keyboard (<strong>Ctrl+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',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:'Dim 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:'Dark 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',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',languagesTab:'Languages',dictionariesTab:'Dictionaries',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'For licensing information please visit our web site:',copy:'Copyright &copy; $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',highlight:'Highlight',selected:'Selected',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar'}; diff --git a/editor/editor/lang/eo.js b/editor/editor/lang/eo.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Esperanto language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Kaŝi Ilobreton", -ToolbarExpand : "Vidigi Ilojn", - -// Toolbar Items and Context Menu -Save : "Sekurigi", -NewPage : "Nova Paĝo", -Preview : "Vidigi Aspekton", -Cut : "Eltondi", -Copy : "Kopii", -Paste : "Interglui", -PasteText : "Interglui kiel Tekston", -PasteWord : "Interglui el Word", -Print : "Presi", -SelectAll : "Elekti ĉion", -RemoveFormat : "Forigi Formaton", -InsertLinkLbl : "Ligilo", -InsertLink : "Enmeti/Ŝanĝi Ligilon", -RemoveLink : "Forigi Ligilon", -Anchor : "Enmeti/Ŝanĝi Ankron", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Bildo", -InsertImage : "Enmeti/Ŝanĝi Bildon", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING -InsertTableLbl : "Tabelo", -InsertTable : "Enmeti/Ŝanĝi Tabelon", -InsertLineLbl : "Horizonta Linio", -InsertLine : "Enmeti Horizonta Linio", -InsertSpecialCharLbl: "Speciala Signo", -InsertSpecialChar : "Enmeti Specialan Signon", -InsertSmileyLbl : "Mienvinjeto", -InsertSmiley : "Enmeti Mienvinjeton", -About : "Pri FCKeditor", -Bold : "Grasa", -Italic : "Kursiva", -Underline : "Substreko", -StrikeThrough : "Trastreko", -Subscript : "Subskribo", -Superscript : "Superskribo", -LeftJustify : "Maldekstrigi", -CenterJustify : "Centrigi", -RightJustify : "Dekstrigi", -BlockJustify : "Ĝisrandigi Ambaŭflanke", -DecreaseIndent : "Malpligrandigi Krommarĝenon", -IncreaseIndent : "Pligrandigi Krommarĝenon", -Blockquote : "Blockquote", //MISSING -Undo : "Malfari", -Redo : "Refari", -NumberedListLbl : "Numera Listo", -NumberedList : "Enmeti/Forigi Numeran Liston", -BulletedListLbl : "Bula Listo", -BulletedList : "Enmeti/Forigi Bulan Liston", -ShowTableBorders : "Vidigi Borderojn de Tabelo", -ShowDetails : "Vidigi Detalojn", -Style : "Stilo", -FontFormat : "Formato", -Font : "Tiparo", -FontSize : "Grando", -TextColor : "Teksta Koloro", -BGColor : "Fona Koloro", -Source : "Fonto", -Find : "Serĉi", -Replace : "Anstataŭigi", -SpellCheck : "Literumada Kontrolilo", -UniversalKeyboard : "Universala Klavaro", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Formularo", -Checkbox : "Markobutono", -RadioButton : "Radiobutono", -TextField : "Teksta kampo", -Textarea : "Teksta Areo", -HiddenField : "Kaŝita Kampo", -Button : "Butono", -SelectionField : "Elekta Kampo", -ImageButton : "Bildbutono", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Modifier Ligilon", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Forigi Liniojn", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Forigi Kolumnojn", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Forigi Ĉelojn", -MergeCells : "Kunfandi Ĉelojn", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Atributoj de Ĉelo", -TableProperties : "Atributoj de Tabelo", -ImageProperties : "Atributoj de Bildo", -FlashProperties : "Flash Properties", //MISSING - -AnchorProp : "Ankraj Atributoj", -ButtonProp : "Butonaj Atributoj", -CheckboxProp : "Markobutonaj Atributoj", -HiddenFieldProp : "Atributoj de Kaŝita Kampo", -RadioButtonProp : "Radiobutonaj Atributoj", -ImageButtonProp : "Bildbutonaj Atributoj", -TextFieldProp : "Atributoj de Teksta Kampo", -SelectionFieldProp : "Atributoj de Elekta Kampo", -TextareaProp : "Atributoj de Teksta Areo", -FormProp : "Formularaj Atributoj", - -FontFormats : "Normala;Formatita;Adreso;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Traktado de XHTML. Bonvolu pacienci...", -Done : "Finita", -PasteWordConfirm : "La algluota teksto ŝajnas esti Word-devena. Ĉu vi volas purigi ĝin antaŭ ol interglui?", -NotCompatiblePaste : "Tiu ĉi komando bezonas almenaŭ Internet Explorer 5.5. Ĉu vi volas daŭrigi sen purigado?", -UnknownToolbarItem : "Ilobretero nekonata \"%1\"", -UnknownCommand : "Komandonomo nekonata \"%1\"", -NotImplemented : "Komando ne ankoraŭ realigita", -UnknownToolbarSet : "La ilobreto \"%1\" ne ekzistas", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "Akcepti", -DlgBtnCancel : "Rezigni", -DlgBtnClose : "Fermi", -DlgBtnBrowseServer : "Foliumi en la Servilo", -DlgAdvancedTag : "Speciala", -DlgOpOther : "<Alia>", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING - -// General Dialogs Labels -DlgGenNotSet : "<Defaŭlta>", -DlgGenId : "Id", -DlgGenLangDir : "Skribdirekto", -DlgGenLangDirLtr : "De maldekstro dekstren (LTR)", -DlgGenLangDirRtl : "De dekstro maldekstren (RTL)", -DlgGenLangCode : "Lingva Kodo", -DlgGenAccessKey : "Fulmoklavo", -DlgGenName : "Nomo", -DlgGenTabIndex : "Taba Ordo", -DlgGenLongDescr : "URL de Longa Priskribo", -DlgGenClass : "Klasoj de Stilfolioj", -DlgGenTitle : "Indika Titolo", -DlgGenContType : "Indika Enhavotipo", -DlgGenLinkCharset : "Signaro de la Ligita Rimedo", -DlgGenStyle : "Stilo", - -// Image Dialog -DlgImgTitle : "Atributoj de Bildo", -DlgImgInfoTab : "Informoj pri Bildo", -DlgImgBtnUpload : "Sendu al Servilo", -DlgImgURL : "URL", -DlgImgUpload : "Alŝuti", -DlgImgAlt : "Anstataŭiga Teksto", -DlgImgWidth : "Larĝo", -DlgImgHeight : "Alto", -DlgImgLockRatio : "Konservi Proporcion", -DlgBtnResetSize : "Origina Grando", -DlgImgBorder : "Bordero", -DlgImgHSpace : "HSpaco", -DlgImgVSpace : "VSpaco", -DlgImgAlign : "Ĝisrandigo", -DlgImgAlignLeft : "Maldekstre", -DlgImgAlignAbsBottom: "Abs Malsupre", -DlgImgAlignAbsMiddle: "Abs Centre", -DlgImgAlignBaseline : "Je Malsupro de Teksto", -DlgImgAlignBottom : "Malsupre", -DlgImgAlignMiddle : "Centre", -DlgImgAlignRight : "Dekstre", -DlgImgAlignTextTop : "Je Supro de Teksto", -DlgImgAlignTop : "Supre", -DlgImgPreview : "Vidigi Aspekton", -DlgImgAlertUrl : "Bonvolu tajpi la URL de la bildo", -DlgImgLinkTab : "Link", //MISSING - -// Flash Dialog -DlgFlashTitle : "Flash Properties", //MISSING -DlgFlashChkPlay : "Auto Play", //MISSING -DlgFlashChkLoop : "Loop", //MISSING -DlgFlashChkMenu : "Enable Flash Menu", //MISSING -DlgFlashScale : "Scale", //MISSING -DlgFlashScaleAll : "Show all", //MISSING -DlgFlashScaleNoBorder : "No Border", //MISSING -DlgFlashScaleFit : "Exact Fit", //MISSING - -// Link Dialog -DlgLnkWindowTitle : "Ligilo", -DlgLnkInfoTab : "Informoj pri la Ligilo", -DlgLnkTargetTab : "Celo", - -DlgLnkType : "Tipo de Ligilo", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ankri en tiu ĉi paĝo", -DlgLnkTypeEMail : "Retpoŝto", -DlgLnkProto : "Protokolo", -DlgLnkProtoOther : "<alia>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Elekti Ankron", -DlgLnkAnchorByName : "Per Ankronomo", -DlgLnkAnchorById : "Per Elementidentigilo", -DlgLnkNoAnchors : "<Ne disponeblas ankroj en la dokumento>", -DlgLnkEMail : "Retadreso", -DlgLnkEMailSubject : "Temlinio", -DlgLnkEMailBody : "Mesaĝa korpo", -DlgLnkUpload : "Alŝuti", -DlgLnkBtnUpload : "Sendi al Servilo", - -DlgLnkTarget : "Celo", -DlgLnkTargetFrame : "<kadro>", -DlgLnkTargetPopup : "<ŝprucfenestro>", -DlgLnkTargetBlank : "Nova Fenestro (_blank)", -DlgLnkTargetParent : "Gepatra Fenestro (_parent)", -DlgLnkTargetSelf : "Sama Fenestro (_self)", -DlgLnkTargetTop : "Plej Supra Fenestro (_top)", -DlgLnkTargetFrameName : "Nomo de Kadro", -DlgLnkPopWinName : "Nomo de Ŝprucfenestro", -DlgLnkPopWinFeat : "Atributoj de la Ŝprucfenestro", -DlgLnkPopResize : "Grando Ŝanĝebla", -DlgLnkPopLocation : "Adresobreto", -DlgLnkPopMenu : "Menubreto", -DlgLnkPopScroll : "Rulumlisteloj", -DlgLnkPopStatus : "Statobreto", -DlgLnkPopToolbar : "Ilobreto", -DlgLnkPopFullScrn : "Tutekrane (IE)", -DlgLnkPopDependent : "Dependa (Netscape)", -DlgLnkPopWidth : "Larĝo", -DlgLnkPopHeight : "Alto", -DlgLnkPopLeft : "Pozicio de Maldekstro", -DlgLnkPopTop : "Pozicio de Supro", - -DlnLnkMsgNoUrl : "Bonvolu entajpi la URL-on", -DlnLnkMsgNoEMail : "Bonvolu entajpi la retadreson", -DlnLnkMsgNoAnchor : "Bonvolu elekti ankron", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Elekti", -DlgColorBtnClear : "Forigi", -DlgColorHighlight : "Emfazi", -DlgColorSelected : "Elektita", - -// Smiley Dialog -DlgSmileyTitle : "Enmeti Mienvinjeton", - -// Special Character Dialog -DlgSpecialCharTitle : "Enmeti Specialan Signon", - -// Table Dialog -DlgTableTitle : "Atributoj de Tabelo", -DlgTableRows : "Linioj", -DlgTableColumns : "Kolumnoj", -DlgTableBorder : "Bordero", -DlgTableAlign : "Ĝisrandigo", -DlgTableAlignNotSet : "<Defaŭlte>", -DlgTableAlignLeft : "Maldekstre", -DlgTableAlignCenter : "Centre", -DlgTableAlignRight : "Dekstre", -DlgTableWidth : "Larĝo", -DlgTableWidthPx : "Bitbilderoj", -DlgTableWidthPc : "elcentoj", -DlgTableHeight : "Alto", -DlgTableCellSpace : "Interspacigo de Ĉeloj", -DlgTableCellPad : "Ĉirkaŭenhava Plenigado", -DlgTableCaption : "Titolo", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Atributoj de Celo", -DlgCellWidth : "Larĝo", -DlgCellWidthPx : "bitbilderoj", -DlgCellWidthPc : "elcentoj", -DlgCellHeight : "Alto", -DlgCellWordWrap : "Linifaldo", -DlgCellWordWrapNotSet : "<Defaŭlte>", -DlgCellWordWrapYes : "Jes", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Horizonta Ĝisrandigo", -DlgCellHorAlignNotSet : "<Defaŭlte>", -DlgCellHorAlignLeft : "Maldekstre", -DlgCellHorAlignCenter : "Centre", -DlgCellHorAlignRight: "Dekstre", -DlgCellVerAlign : "Vertikala Ĝisrandigo", -DlgCellVerAlignNotSet : "<Defaŭlte>", -DlgCellVerAlignTop : "Supre", -DlgCellVerAlignMiddle : "Centre", -DlgCellVerAlignBottom : "Malsupre", -DlgCellVerAlignBaseline : "Je Malsupro de Teksto", -DlgCellRowSpan : "Linioj Kunfanditaj", -DlgCellCollSpan : "Kolumnoj Kunfanditaj", -DlgCellBackColor : "Fono", -DlgCellBorderColor : "Bordero", -DlgCellBtnSelect : "Elekti...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Serĉi", -DlgFindFindBtn : "Serĉi", -DlgFindNotFoundMsg : "La celteksto ne estas trovita.", - -// Replace Dialog -DlgReplaceTitle : "Anstataŭigi", -DlgReplaceFindLbl : "Serĉi:", -DlgReplaceReplaceLbl : "Anstataŭigi per:", -DlgReplaceCaseChk : "Kongruigi Usklecon", -DlgReplaceReplaceBtn : "Anstataŭigi", -DlgReplaceReplAllBtn : "Anstataŭigi Ĉiun", -DlgReplaceWordChk : "Tuta Vorto", - -// Paste Operations / Dialog -PasteErrorCut : "La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras eltondajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-X).", -PasteErrorCopy : "La sekurecagordo de via TTT-legilo ne permesas, ke la redaktilo faras kopiajn operaciojn. Bonvolu uzi la klavaron por tio (ctrl-C).", - -PasteAsText : "Interglui kiel Tekston", -PasteFromWord : "Interglui el Word", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.", //MISSING -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING -DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING -DlgPasteCleanBox : "Clean Up Box", //MISSING - -// Color Picker -ColorAutomatic : "Aŭtomata", -ColorMoreColors : "Pli da Koloroj...", - -// Document Properties -DocProps : "Dokumentaj Atributoj", - -// Anchor Dialog -DlgAnchorTitle : "Ankraj Atributoj", -DlgAnchorName : "Ankra Nomo", -DlgAnchorErrorName : "Bv tajpi la ankran nomon", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ne trovita en la vortaro", -DlgSpellChangeTo : "Ŝanĝi al", -DlgSpellBtnIgnore : "Malatenti", -DlgSpellBtnIgnoreAll : "Malatenti Ĉiun", -DlgSpellBtnReplace : "Anstataŭigi", -DlgSpellBtnReplaceAll : "Anstataŭigi Ĉiun", -DlgSpellBtnUndo : "Malfari", -DlgSpellNoSuggestions : "- Neniu propono -", -DlgSpellProgress : "Literumkontrolado daŭras...", -DlgSpellNoMispell : "Literumkontrolado finita: neniu fuŝo trovita", -DlgSpellNoChanges : "Literumkontrolado finita: neniu vorto ŝanĝita", -DlgSpellOneChange : "Literumkontrolado finita: unu vorto ŝanĝita", -DlgSpellManyChanges : "Literumkontrolado finita: %1 vortoj ŝanĝitaj", - -IeSpellDownload : "Literumada Kontrolilo ne instalita. Ĉu vi volas elŝuti ĝin nun?", - -// Button Dialog -DlgButtonText : "Teksto (Valoro)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nomo", -DlgCheckboxValue : "Valoro", -DlgCheckboxSelected : "Elektita", - -// Form Dialog -DlgFormName : "Nomo", -DlgFormAction : "Ago", -DlgFormMethod : "Metodo", - -// Select Field Dialog -DlgSelectName : "Nomo", -DlgSelectValue : "Valoro", -DlgSelectSize : "Grando", -DlgSelectLines : "Linioj", -DlgSelectChkMulti : "Permesi Plurajn Elektojn", -DlgSelectOpAvail : "Elektoj Disponeblaj", -DlgSelectOpText : "Teksto", -DlgSelectOpValue : "Valoro", -DlgSelectBtnAdd : "Aldoni", -DlgSelectBtnModify : "Modifi", -DlgSelectBtnUp : "Supren", -DlgSelectBtnDown : "Malsupren", -DlgSelectBtnSetValue : "Agordi kiel Elektitan Valoron", -DlgSelectBtnDelete : "Forigi", - -// Textarea Dialog -DlgTextareaName : "Nomo", -DlgTextareaCols : "Kolumnoj", -DlgTextareaRows : "Vicoj", - -// Text Field Dialog -DlgTextName : "Nomo", -DlgTextValue : "Valoro", -DlgTextCharWidth : "Signolarĝo", -DlgTextMaxChars : "Maksimuma Nombro da Signoj", -DlgTextType : "Tipo", -DlgTextTypeText : "Teksto", -DlgTextTypePass : "Pasvorto", - -// Hidden Field Dialog -DlgHiddenName : "Nomo", -DlgHiddenValue : "Valoro", - -// Bulleted List Dialog -BulletedListProp : "Atributoj de Bula Listo", -NumberedListProp : "Atributoj de Numera Listo", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tipo", -DlgLstTypeCircle : "Cirklo", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Kvadrato", -DlgLstTypeNumbers : "Ciferoj (1, 2, 3)", -DlgLstTypeLCase : "Minusklaj Literoj (a, b, c)", -DlgLstTypeUCase : "Majusklaj Literoj (A, B, C)", -DlgLstTypeSRoman : "Malgrandaj Romanaj Ciferoj (i, ii, iii)", -DlgLstTypeLRoman : "Grandaj Romanaj Ciferoj (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Ĝeneralaĵoj", -DlgDocBackTab : "Fono", -DlgDocColorsTab : "Koloroj kaj Marĝenoj", -DlgDocMetaTab : "Metadatumoj", - -DlgDocPageTitle : "Paĝotitolo", -DlgDocLangDir : "Skribdirekto de la Lingvo", -DlgDocLangDirLTR : "De maldekstro dekstren (LTR)", -DlgDocLangDirRTL : "De dekstro maldekstren (LTR)", -DlgDocLangCode : "Lingvokodo", -DlgDocCharSet : "Signara Kodo", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Alia Signara Kodo", - -DlgDocDocType : "Dokumenta Tipo", -DlgDocDocTypeOther : "Alia Dokumenta Tipo", -DlgDocIncXHTML : "Inkluzivi XHTML Deklaroj", -DlgDocBgColor : "Fona Koloro", -DlgDocBgImage : "URL de Fona Bildo", -DlgDocBgNoScroll : "Neruluma Fono", -DlgDocCText : "Teksto", -DlgDocCLink : "Ligilo", -DlgDocCVisited : "Vizitita Ligilo", -DlgDocCActive : "Aktiva Ligilo", -DlgDocMargins : "Paĝaj Marĝenoj", -DlgDocMaTop : "Supra", -DlgDocMaLeft : "Maldekstra", -DlgDocMaRight : "Dekstra", -DlgDocMaBottom : "Malsupra", -DlgDocMeIndex : "Ŝlosilvortoj de la Dokumento (apartigita de komoj)", -DlgDocMeDescr : "Dokumenta Priskribo", -DlgDocMeAuthor : "Verkinto", -DlgDocMeCopy : "Kopirajto", -DlgDocPreview : "Aspekto", - -// Templates Dialog -Templates : "Templates", //MISSING -DlgTemplatesTitle : "Content Templates", //MISSING -DlgTemplatesSelMsg : "Please select the template to open in the editor<br />(the actual contents will be lost):", //MISSING -DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING -DlgTemplatesNoTpl : "(No templates defined)", //MISSING -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Pri", -DlgAboutBrowserInfoTab : "Informoj pri TTT-legilo", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "versio", -DlgAboutInfo : "Por pli da informoj, vizitu" -}; diff --git a/editor/editor/lang/es.js b/editor/editor/lang/es.js @@ -1,516 +1,6 @@ /* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Spanish language file. - */ +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Contraer Barra", -ToolbarExpand : "Expandir Barra", - -// Toolbar Items and Context Menu -Save : "Guardar", -NewPage : "Nueva Página", -Preview : "Vista Previa", -Cut : "Cortar", -Copy : "Copiar", -Paste : "Pegar", -PasteText : "Pegar como texto plano", -PasteWord : "Pegar desde Word", -Print : "Imprimir", -SelectAll : "Seleccionar Todo", -RemoveFormat : "Eliminar Formato", -InsertLinkLbl : "Vínculo", -InsertLink : "Insertar/Editar Vínculo", -RemoveLink : "Eliminar Vínculo", -Anchor : "Referencia", -AnchorDelete : "Eliminar Referencia", -InsertImageLbl : "Imagen", -InsertImage : "Insertar/Editar Imagen", -InsertFlashLbl : "Flash", -InsertFlash : "Insertar/Editar Flash", -InsertTableLbl : "Tabla", -InsertTable : "Insertar/Editar Tabla", -InsertLineLbl : "Línea", -InsertLine : "Insertar Línea Horizontal", -InsertSpecialCharLbl: "Caracter Especial", -InsertSpecialChar : "Insertar Caracter Especial", -InsertSmileyLbl : "Emoticons", -InsertSmiley : "Insertar Emoticons", -About : "Acerca de FCKeditor", -Bold : "Negrita", -Italic : "Cursiva", -Underline : "Subrayado", -StrikeThrough : "Tachado", -Subscript : "Subíndice", -Superscript : "Superíndice", -LeftJustify : "Alinear a Izquierda", -CenterJustify : "Centrar", -RightJustify : "Alinear a Derecha", -BlockJustify : "Justificado", -DecreaseIndent : "Disminuir Sangría", -IncreaseIndent : "Aumentar Sangría", -Blockquote : "Cita", -Undo : "Deshacer", -Redo : "Rehacer", -NumberedListLbl : "Numeración", -NumberedList : "Insertar/Eliminar Numeración", -BulletedListLbl : "Viñetas", -BulletedList : "Insertar/Eliminar Viñetas", -ShowTableBorders : "Mostrar Bordes de Tablas", -ShowDetails : "Mostrar saltos de Párrafo", -Style : "Estilo", -FontFormat : "Formato", -Font : "Fuente", -FontSize : "Tamaño", -TextColor : "Color de Texto", -BGColor : "Color de Fondo", -Source : "Fuente HTML", -Find : "Buscar", -Replace : "Reemplazar", -SpellCheck : "Ortografía", -UniversalKeyboard : "Teclado Universal", -PageBreakLbl : "Salto de Página", -PageBreak : "Insertar Salto de Página", - -Form : "Formulario", -Checkbox : "Casilla de Verificación", -RadioButton : "Botones de Radio", -TextField : "Campo de Texto", -Textarea : "Area de Texto", -HiddenField : "Campo Oculto", -Button : "Botón", -SelectionField : "Campo de Selección", -ImageButton : "Botón Imagen", - -FitWindow : "Maximizar el tamaño del editor", -ShowBlocks : "Mostrar bloques", - -// Context Menu -EditLink : "Editar Vínculo", -CellCM : "Celda", -RowCM : "Fila", -ColumnCM : "Columna", -InsertRowAfter : "Insertar fila en la parte inferior", -InsertRowBefore : "Insertar fila en la parte superior", -DeleteRows : "Eliminar Filas", -InsertColumnAfter : "Insertar columna a la derecha", -InsertColumnBefore : "Insertar columna a la izquierda", -DeleteColumns : "Eliminar Columnas", -InsertCellAfter : "Insertar celda a la derecha", -InsertCellBefore : "Insertar celda a la izquierda", -DeleteCells : "Eliminar Celdas", -MergeCells : "Combinar Celdas", -MergeRight : "Combinar a la derecha", -MergeDown : "Combinar hacia abajo", -HorizontalSplitCell : "Dividir la celda horizontalmente", -VerticalSplitCell : "Dividir la celda verticalmente", -TableDelete : "Eliminar Tabla", -CellProperties : "Propiedades de Celda", -TableProperties : "Propiedades de Tabla", -ImageProperties : "Propiedades de Imagen", -FlashProperties : "Propiedades de Flash", - -AnchorProp : "Propiedades de Referencia", -ButtonProp : "Propiedades de Botón", -CheckboxProp : "Propiedades de Casilla", -HiddenFieldProp : "Propiedades de Campo Oculto", -RadioButtonProp : "Propiedades de Botón de Radio", -ImageButtonProp : "Propiedades de Botón de Imagen", -TextFieldProp : "Propiedades de Campo de Texto", -SelectionFieldProp : "Propiedades de Campo de Selección", -TextareaProp : "Propiedades de Area de Texto", -FormProp : "Propiedades de Formulario", - -FontFormats : "Normal;Con formato;Dirección;Encabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Procesando XHTML. Por favor, espere...", -Done : "Hecho", -PasteWordConfirm : "El texto que desea parece provenir de Word. Desea depurarlo antes de pegarlo?", -NotCompatiblePaste : "Este comando está disponible sólo para Internet Explorer version 5.5 or superior. Desea pegar sin depurar?", -UnknownToolbarItem : "Item de barra desconocido \"%1\"", -UnknownCommand : "Nombre de comando desconocido \"%1\"", -NotImplemented : "Comando no implementado", -UnknownToolbarSet : "Nombre de barra \"%1\" no definido", -NoActiveX : "La configuración de las opciones de seguridad de su navegador puede estar limitando algunas características del editor. Por favor active la opción \"Ejecutar controles y complementos de ActiveX \", de lo contrario puede experimentar errores o ausencia de funcionalidades.", -BrowseServerBlocked : "La ventana de visualización del servidor no pudo ser abierta. Verifique que su navegador no esté bloqueando las ventanas emergentes (pop up).", -DialogBlocked : "No se ha podido abrir la ventana de diálogo. Verifique que su navegador no esté bloqueando las ventanas emergentes (pop up).", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancelar", -DlgBtnClose : "Cerrar", -DlgBtnBrowseServer : "Ver Servidor", -DlgAdvancedTag : "Avanzado", -DlgOpOther : "<Otro>", -DlgInfoTab : "Información", -DlgAlertUrl : "Inserte el URL", - -// General Dialogs Labels -DlgGenNotSet : "<No definido>", -DlgGenId : "Id", -DlgGenLangDir : "Orientación", -DlgGenLangDirLtr : "Izquierda a Derecha (LTR)", -DlgGenLangDirRtl : "Derecha a Izquierda (RTL)", -DlgGenLangCode : "Cód. de idioma", -DlgGenAccessKey : "Clave de Acceso", -DlgGenName : "Nombre", -DlgGenTabIndex : "Indice de tabulación", -DlgGenLongDescr : "Descripción larga URL", -DlgGenClass : "Clases de hojas de estilo", -DlgGenTitle : "Título", -DlgGenContType : "Tipo de Contenido", -DlgGenLinkCharset : "Fuente de caracteres vinculado", -DlgGenStyle : "Estilo", - -// Image Dialog -DlgImgTitle : "Propiedades de Imagen", -DlgImgInfoTab : "Información de Imagen", -DlgImgBtnUpload : "Enviar al Servidor", -DlgImgURL : "URL", -DlgImgUpload : "Cargar", -DlgImgAlt : "Texto Alternativo", -DlgImgWidth : "Anchura", -DlgImgHeight : "Altura", -DlgImgLockRatio : "Proporcional", -DlgBtnResetSize : "Tamaño Original", -DlgImgBorder : "Borde", -DlgImgHSpace : "Esp.Horiz", -DlgImgVSpace : "Esp.Vert", -DlgImgAlign : "Alineación", -DlgImgAlignLeft : "Izquierda", -DlgImgAlignAbsBottom: "Abs inferior", -DlgImgAlignAbsMiddle: "Abs centro", -DlgImgAlignBaseline : "Línea de base", -DlgImgAlignBottom : "Pie", -DlgImgAlignMiddle : "Centro", -DlgImgAlignRight : "Derecha", -DlgImgAlignTextTop : "Tope del texto", -DlgImgAlignTop : "Tope", -DlgImgPreview : "Vista Previa", -DlgImgAlertUrl : "Por favor escriba la URL de la imagen", -DlgImgLinkTab : "Vínculo", - -// Flash Dialog -DlgFlashTitle : "Propiedades de Flash", -DlgFlashChkPlay : "Autoejecución", -DlgFlashChkLoop : "Repetir", -DlgFlashChkMenu : "Activar Menú Flash", -DlgFlashScale : "Escala", -DlgFlashScaleAll : "Mostrar todo", -DlgFlashScaleNoBorder : "Sin Borde", -DlgFlashScaleFit : "Ajustado", - -// Link Dialog -DlgLnkWindowTitle : "Vínculo", -DlgLnkInfoTab : "Información de Vínculo", -DlgLnkTargetTab : "Destino", - -DlgLnkType : "Tipo de vínculo", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Referencia en esta página", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "<otro>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Seleccionar una referencia", -DlgLnkAnchorByName : "Por Nombre de Referencia", -DlgLnkAnchorById : "Por ID de elemento", -DlgLnkNoAnchors : "(No hay referencias disponibles en el documento)", -DlgLnkEMail : "Dirección de E-Mail", -DlgLnkEMailSubject : "Título del Mensaje", -DlgLnkEMailBody : "Cuerpo del Mensaje", -DlgLnkUpload : "Cargar", -DlgLnkBtnUpload : "Enviar al Servidor", - -DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "<marco>", -DlgLnkTargetPopup : "<ventana emergente>", -DlgLnkTargetBlank : "Nueva Ventana(_blank)", -DlgLnkTargetParent : "Ventana Padre (_parent)", -DlgLnkTargetSelf : "Misma Ventana (_self)", -DlgLnkTargetTop : "Ventana primaria (_top)", -DlgLnkTargetFrameName : "Nombre del Marco Destino", -DlgLnkPopWinName : "Nombre de Ventana Emergente", -DlgLnkPopWinFeat : "Características de Ventana Emergente", -DlgLnkPopResize : "Ajustable", -DlgLnkPopLocation : "Barra de ubicación", -DlgLnkPopMenu : "Barra de Menú", -DlgLnkPopScroll : "Barras de desplazamiento", -DlgLnkPopStatus : "Barra de Estado", -DlgLnkPopToolbar : "Barra de Herramientas", -DlgLnkPopFullScrn : "Pantalla Completa (IE)", -DlgLnkPopDependent : "Dependiente (Netscape)", -DlgLnkPopWidth : "Anchura", -DlgLnkPopHeight : "Altura", -DlgLnkPopLeft : "Posición Izquierda", -DlgLnkPopTop : "Posición Derecha", - -DlnLnkMsgNoUrl : "Por favor tipee el vínculo URL", -DlnLnkMsgNoEMail : "Por favor tipee la dirección de e-mail", -DlnLnkMsgNoAnchor : "Por favor seleccione una referencia", -DlnLnkMsgInvPopName : "El nombre debe empezar con un caracter alfanumérico y no debe contener espacios", - -// Color Dialog -DlgColorTitle : "Seleccionar Color", -DlgColorBtnClear : "Ninguno", -DlgColorHighlight : "Resaltado", -DlgColorSelected : "Seleccionado", - -// Smiley Dialog -DlgSmileyTitle : "Insertar un Emoticon", - -// Special Character Dialog -DlgSpecialCharTitle : "Seleccione un caracter especial", - -// Table Dialog -DlgTableTitle : "Propiedades de Tabla", -DlgTableRows : "Filas", -DlgTableColumns : "Columnas", -DlgTableBorder : "Tamaño de Borde", -DlgTableAlign : "Alineación", -DlgTableAlignNotSet : "<No establecido>", -DlgTableAlignLeft : "Izquierda", -DlgTableAlignCenter : "Centrado", -DlgTableAlignRight : "Derecha", -DlgTableWidth : "Anchura", -DlgTableWidthPx : "pixeles", -DlgTableWidthPc : "porcentaje", -DlgTableHeight : "Altura", -DlgTableCellSpace : "Esp. e/celdas", -DlgTableCellPad : "Esp. interior", -DlgTableCaption : "Título", -DlgTableSummary : "Síntesis", - -// Table Cell Dialog -DlgCellTitle : "Propiedades de Celda", -DlgCellWidth : "Anchura", -DlgCellWidthPx : "pixeles", -DlgCellWidthPc : "porcentaje", -DlgCellHeight : "Altura", -DlgCellWordWrap : "Cortar Línea", -DlgCellWordWrapNotSet : "<No establecido>", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Alineación Horizontal", -DlgCellHorAlignNotSet : "<No establecido>", -DlgCellHorAlignLeft : "Izquierda", -DlgCellHorAlignCenter : "Centrado", -DlgCellHorAlignRight: "Derecha", -DlgCellVerAlign : "Alineación Vertical", -DlgCellVerAlignNotSet : "<Not establecido>", -DlgCellVerAlignTop : "Tope", -DlgCellVerAlignMiddle : "Medio", -DlgCellVerAlignBottom : "ie", -DlgCellVerAlignBaseline : "Línea de Base", -DlgCellRowSpan : "Abarcar Filas", -DlgCellCollSpan : "Abarcar Columnas", -DlgCellBackColor : "Color de Fondo", -DlgCellBorderColor : "Color de Borde", -DlgCellBtnSelect : "Seleccione...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Buscar y Reemplazar", - -// Find Dialog -DlgFindTitle : "Buscar", -DlgFindFindBtn : "Buscar", -DlgFindNotFoundMsg : "El texto especificado no ha sido encontrado.", - -// Replace Dialog -DlgReplaceTitle : "Reemplazar", -DlgReplaceFindLbl : "Texto a buscar:", -DlgReplaceReplaceLbl : "Reemplazar con:", -DlgReplaceCaseChk : "Coincidir may/min", -DlgReplaceReplaceBtn : "Reemplazar", -DlgReplaceReplAllBtn : "Reemplazar Todo", -DlgReplaceWordChk : "Coincidir toda la palabra", - -// Paste Operations / Dialog -PasteErrorCut : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de cortado. Por favor use el teclado (Ctrl+X).", -PasteErrorCopy : "La configuración de seguridad de este navegador no permite la ejecución automática de operaciones de copiado. Por favor use el teclado (Ctrl+C).", - -PasteAsText : "Pegar como Texto Plano", -PasteFromWord : "Pegar desde Word", - -DlgPasteMsg2 : "Por favor pegue dentro del cuadro utilizando el teclado (<STRONG>Ctrl+V</STRONG>); luego presione <STRONG>OK</STRONG>.", -DlgPasteSec : "Debido a la configuración de seguridad de su navegador, el editor no tiene acceso al portapapeles. Es necesario que lo pegue de nuevo en esta ventana.", -DlgPasteIgnoreFont : "Ignorar definiciones de fuentes", -DlgPasteRemoveStyles : "Remover definiciones de estilo", -DlgPasteCleanBox : "Borrar el contenido del cuadro", - -// Color Picker -ColorAutomatic : "Automático", -ColorMoreColors : "Más Colores...", - -// Document Properties -DocProps : "Propiedades del Documento", - -// Anchor Dialog -DlgAnchorTitle : "Propiedades de la Referencia", -DlgAnchorName : "Nombre de la Referencia", -DlgAnchorErrorName : "Por favor, complete el nombre de la Referencia", - -// Speller Pages Dialog -DlgSpellNotInDic : "No se encuentra en el Diccionario", -DlgSpellChangeTo : "Cambiar a", -DlgSpellBtnIgnore : "Ignorar", -DlgSpellBtnIgnoreAll : "Ignorar Todo", -DlgSpellBtnReplace : "Reemplazar", -DlgSpellBtnReplaceAll : "Reemplazar Todo", -DlgSpellBtnUndo : "Deshacer", -DlgSpellNoSuggestions : "- No hay sugerencias -", -DlgSpellProgress : "Control de Ortografía en progreso...", -DlgSpellNoMispell : "Control finalizado: no se encontraron errores", -DlgSpellNoChanges : "Control finalizado: no se ha cambiado ninguna palabra", -DlgSpellOneChange : "Control finalizado: se ha cambiado una palabra", -DlgSpellManyChanges : "Control finalizado: se ha cambiado %1 palabras", - -IeSpellDownload : "Módulo de Control de Ortografía no instalado. ¿Desea descargarlo ahora?", - -// Button Dialog -DlgButtonText : "Texto (Valor)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Boton", -DlgButtonTypeSbm : "Enviar", -DlgButtonTypeRst : "Reestablecer", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nombre", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Seleccionado", - -// Form Dialog -DlgFormName : "Nombre", -DlgFormAction : "Acción", -DlgFormMethod : "Método", - -// Select Field Dialog -DlgSelectName : "Nombre", -DlgSelectValue : "Valor", -DlgSelectSize : "Tamaño", -DlgSelectLines : "Lineas", -DlgSelectChkMulti : "Permitir múltiple selección", -DlgSelectOpAvail : "Opciones disponibles", -DlgSelectOpText : "Texto", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Agregar", -DlgSelectBtnModify : "Modificar", -DlgSelectBtnUp : "Subir", -DlgSelectBtnDown : "Bajar", -DlgSelectBtnSetValue : "Establecer como predeterminado", -DlgSelectBtnDelete : "Eliminar", - -// Textarea Dialog -DlgTextareaName : "Nombre", -DlgTextareaCols : "Columnas", -DlgTextareaRows : "Filas", - -// Text Field Dialog -DlgTextName : "Nombre", -DlgTextValue : "Valor", -DlgTextCharWidth : "Caracteres de ancho", -DlgTextMaxChars : "Máximo caracteres", -DlgTextType : "Tipo", -DlgTextTypeText : "Texto", -DlgTextTypePass : "Contraseña", - -// Hidden Field Dialog -DlgHiddenName : "Nombre", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Propiedades de Viñetas", -NumberedListProp : "Propiedades de Numeraciones", -DlgLstStart : "Inicio", -DlgLstType : "Tipo", -DlgLstTypeCircle : "Círculo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Cuadrado", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "letras en minúsculas (a, b, c)", -DlgLstTypeUCase : "letras en mayúsculas (A, B, C)", -DlgLstTypeSRoman : "Números Romanos (i, ii, iii)", -DlgLstTypeLRoman : "Números Romanos (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Fondo", -DlgDocColorsTab : "Colores y Márgenes", -DlgDocMetaTab : "Meta Información", - -DlgDocPageTitle : "Título de Página", -DlgDocLangDir : "Orientación de idioma", -DlgDocLangDirLTR : "Izq. a Derecha (LTR)", -DlgDocLangDirRTL : "Der. a Izquierda (RTL)", -DlgDocLangCode : "Código de Idioma", -DlgDocCharSet : "Codif. de Conjunto de Caracteres", -DlgDocCharSetCE : "Centro Europeo", -DlgDocCharSetCT : "Chino Tradicional (Big5)", -DlgDocCharSetCR : "Cirílico", -DlgDocCharSetGR : "Griego", -DlgDocCharSetJP : "Japonés", -DlgDocCharSetKR : "Coreano", -DlgDocCharSetTR : "Turco", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Europeo occidental", -DlgDocCharSetOther : "Otra Codificación", - -DlgDocDocType : "Encabezado de Tipo de Documento", -DlgDocDocTypeOther : "Otro Encabezado", -DlgDocIncXHTML : "Incluir Declaraciones XHTML", -DlgDocBgColor : "Color de Fondo", -DlgDocBgImage : "URL de Imagen de Fondo", -DlgDocBgNoScroll : "Fondo sin rolido", -DlgDocCText : "Texto", -DlgDocCLink : "Vínculo", -DlgDocCVisited : "Vínculo Visitado", -DlgDocCActive : "Vínculo Activo", -DlgDocMargins : "Márgenes de Página", -DlgDocMaTop : "Tope", -DlgDocMaLeft : "Izquierda", -DlgDocMaRight : "Derecha", -DlgDocMaBottom : "Pie", -DlgDocMeIndex : "Claves de indexación del Documento (separados por comas)", -DlgDocMeDescr : "Descripción del Documento", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vista Previa", - -// Templates Dialog -Templates : "Plantillas", -DlgTemplatesTitle : "Contenido de Plantillas", -DlgTemplatesSelMsg : "Por favor selecciona la plantilla a abrir en el editor<br>(el contenido actual se perderá):", -DlgTemplatesLoading : "Cargando lista de Plantillas. Por favor, aguarde...", -DlgTemplatesNoTpl : "(No hay plantillas definidas)", -DlgTemplatesReplace : "Reemplazar el contenido actual", - -// About Dialog -DlgAboutAboutTab : "Acerca de", -DlgAboutBrowserInfoTab : "Información de Navegador", -DlgAboutLicenseTab : "Licencia", -DlgAboutVersion : "versión", -DlgAboutInfo : "Para mayor información por favor dirigirse a" -}; +CKEDITOR.lang.es={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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:{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:'Close',preview:'Preview',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:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',unavailable:'%1<span class="cke_accessibility">, no disponible</span>'},specialChar:{toolbar:'Insertar Caracter Especial',title:'Seleccione un caracter especial'},link:{toolbar:'Insertar/Editar Vínculo',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:{toolbar:'Referencia',menu:'Propiedades de Referencia',title:'Propiedades de Referencia',name:'Nombre de la Referencia',errorName:'Por favor, complete el nombre de la Referencia'},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:{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:'width unit',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:{title:'Propiedades de Botón',text:'Texto (Valor)',type:'Tipo',typeBtn:'Boton',typeSbm:'Enviar',typeRst:'Reestablecer'},checkboxAndRadio:{checkboxTitle:'Propiedades de Casilla',radioTitle:'Propiedades de Botón de Radio',value:'Valor',selected:'Seleccionado'},form:{title:'Propiedades de Formulario',menu:'Propiedades de Formulario',action:'Acción',method:'Método',encoding:'Codificación'},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:{title:'Propiedades de Area de Texto',cols:'Columnas',rows:'Filas'},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:{title:'Propiedades de Campo Oculto',name:'Nombre',value:'Valor'},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:'Unlock Ratio',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:'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:{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.'},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:'Emoticons',title:'Insertar un Emoticon'},elementsPath:{eleLabel:'Elements path',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+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+C).',pasteMsg:'Por favor pegue dentro del cuadro utilizando el teclado (<STRONG>Ctrl+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:'Paste Area'},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',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:'Formatting Styles',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:'Colors',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',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',languagesTab:'Idiomas',dictionariesTab:'Diccionarios',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 &copy; $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',highlight:'Muestra',selected:'Elegido',clear:'Borrar'},toolbarCollapse:'Contraer barra de herramientas',toolbarExpand:'Expandir barra de herramientas'}; diff --git a/editor/editor/lang/et.js b/editor/editor/lang/et.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Estonian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Voldi tööriistariba", -ToolbarExpand : "Laienda tööriistariba", - -// Toolbar Items and Context Menu -Save : "Salvesta", -NewPage : "Uus leht", -Preview : "Eelvaade", -Cut : "Lõika", -Copy : "Kopeeri", -Paste : "Kleebi", -PasteText : "Kleebi tavalise tekstina", -PasteWord : "Kleebi Wordist", -Print : "Prindi", -SelectAll : "Vali kõik", -RemoveFormat : "Eemalda vorming", -InsertLinkLbl : "Link", -InsertLink : "Sisesta link / Muuda linki", -RemoveLink : "Eemalda link", -Anchor : "Sisesta ankur / Muuda ankrut", -AnchorDelete : "Eemalda ankur", -InsertImageLbl : "Pilt", -InsertImage : "Sisesta pilt / Muuda pilti", -InsertFlashLbl : "Flash", -InsertFlash : "Sisesta flash / Muuda flashi", -InsertTableLbl : "Tabel", -InsertTable : "Sisesta tabel / Muuda tabelit", -InsertLineLbl : "Joon", -InsertLine : "Sisesta horisontaaljoon", -InsertSpecialCharLbl: "Erimärgid", -InsertSpecialChar : "Sisesta erimärk", -InsertSmileyLbl : "Emotikon", -InsertSmiley : "Sisesta emotikon", -About : "FCKeditor teave", -Bold : "Paks", -Italic : "Kursiiv", -Underline : "Allajoonitud", -StrikeThrough : "Läbijoonitud", -Subscript : "Allindeks", -Superscript : "Ülaindeks", -LeftJustify : "Vasakjoondus", -CenterJustify : "Keskjoondus", -RightJustify : "Paremjoondus", -BlockJustify : "Rööpjoondus", -DecreaseIndent : "Vähenda taanet", -IncreaseIndent : "Suurenda taanet", -Blockquote : "Blokktsitaat", -Undo : "Võta tagasi", -Redo : "Korda toimingut", -NumberedListLbl : "Nummerdatud loetelu", -NumberedList : "Sisesta/Eemalda nummerdatud loetelu", -BulletedListLbl : "Punktiseeritud loetelu", -BulletedList : "Sisesta/Eemalda punktiseeritud loetelu", -ShowTableBorders : "Näita tabeli jooni", -ShowDetails : "Näita üksikasju", -Style : "Laad", -FontFormat : "Vorming", -Font : "Kiri", -FontSize : "Suurus", -TextColor : "Teksti värv", -BGColor : "Tausta värv", -Source : "Lähtekood", -Find : "Otsi", -Replace : "Asenda", -SpellCheck : "Kontrolli õigekirja", -UniversalKeyboard : "Universaalne klaviatuur", -PageBreakLbl : "Lehepiir", -PageBreak : "Sisesta lehevahetuskoht", - -Form : "Vorm", -Checkbox : "Märkeruut", -RadioButton : "Raadionupp", -TextField : "Tekstilahter", -Textarea : "Tekstiala", -HiddenField : "Varjatud lahter", -Button : "Nupp", -SelectionField : "Valiklahter", -ImageButton : "Piltnupp", - -FitWindow : "Maksimeeri redaktori mõõtmed", -ShowBlocks : "Näita blokke", - -// Context Menu -EditLink : "Muuda linki", -CellCM : "Lahter", -RowCM : "Rida", -ColumnCM : "Veerg", -InsertRowAfter : "Sisesta rida peale", -InsertRowBefore : "Sisesta rida enne", -DeleteRows : "Eemalda read", -InsertColumnAfter : "Sisesta veerg peale", -InsertColumnBefore : "Sisesta veerg enne", -DeleteColumns : "Eemalda veerud", -InsertCellAfter : "Sisesta lahter peale", -InsertCellBefore : "Sisesta lahter enne", -DeleteCells : "Eemalda lahtrid", -MergeCells : "Ühenda lahtrid", -MergeRight : "Ühenda paremale", -MergeDown : "Ühenda alla", -HorizontalSplitCell : "Poolita lahter horisontaalselt", -VerticalSplitCell : "Poolita lahter vertikaalselt", -TableDelete : "Kustuta tabel", -CellProperties : "Lahtri atribuudid", -TableProperties : "Tabeli atribuudid", -ImageProperties : "Pildi atribuudid", -FlashProperties : "Flash omadused", - -AnchorProp : "Ankru omadused", -ButtonProp : "Nupu omadused", -CheckboxProp : "Märkeruudu omadused", -HiddenFieldProp : "Varjatud lahtri omadused", -RadioButtonProp : "Raadionupu omadused", -ImageButtonProp : "Piltnupu omadused", -TextFieldProp : "Tekstilahtri omadused", -SelectionFieldProp : "Valiklahtri omadused", -TextareaProp : "Tekstiala omadused", -FormProp : "Vormi omadused", - -FontFormats : "Tavaline;Vormindatud;Aadress;Pealkiri 1;Pealkiri 2;Pealkiri 3;Pealkiri 4;Pealkiri 5;Pealkiri 6;Tavaline (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Töötlen XHTML'i. Palun oota...", -Done : "Tehtud", -PasteWordConfirm : "Tekst, mida soovid lisada paistab pärinevat Word'ist. Kas soovid seda enne kleepimist puhastada?", -NotCompatiblePaste : "See käsk on saadaval ainult Internet Explorer versioon 5.5 või uuema puhul. Kas soovid kleepida ilma puhastamata?", -UnknownToolbarItem : "Tundmatu tööriistarea üksus \"%1\"", -UnknownCommand : "Tundmatu käsunimi \"%1\"", -NotImplemented : "Käsku ei täidetud", -UnknownToolbarSet : "Tööriistariba \"%1\" ei eksisteeri", -NoActiveX : "Sinu veebisirvija turvalisuse seaded võivad limiteerida mõningaid tekstirdaktori kasutusvõimalusi. Sa peaksid võimaldama valiku \"Run ActiveX controls and plug-ins\" oma veebisirvija seadetes. Muidu võid sa täheldada vigu tekstiredaktori töös ja märgata puuduvaid funktsioone.", -BrowseServerBlocked : "Ressursside sirvija avamine ebaõnnestus. Võimalda pop-up akende avanemine.", -DialogBlocked : "Ei olenud võimalik avada dialoogi akent. Võimalda pop-up akende avanemine.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Loobu", -DlgBtnClose : "Sulge", -DlgBtnBrowseServer : "Sirvi serverit", -DlgAdvancedTag : "Täpsemalt", -DlgOpOther : "<Teine>", -DlgInfoTab : "Info", -DlgAlertUrl : "Palun sisesta URL", - -// General Dialogs Labels -DlgGenNotSet : "<määramata>", -DlgGenId : "Id", -DlgGenLangDir : "Keele suund", -DlgGenLangDirLtr : "Vasakult paremale (LTR)", -DlgGenLangDirRtl : "Paremalt vasakule (RTL)", -DlgGenLangCode : "Keele kood", -DlgGenAccessKey : "Juurdepääsu võti", -DlgGenName : "Nimi", -DlgGenTabIndex : "Tab indeks", -DlgGenLongDescr : "Pikk kirjeldus URL", -DlgGenClass : "Stiilistiku klassid", -DlgGenTitle : "Juhendav tiitel", -DlgGenContType : "Juhendava sisu tüüp", -DlgGenLinkCharset : "Lingitud ressurssi märgistik", -DlgGenStyle : "Laad", - -// Image Dialog -DlgImgTitle : "Pildi atribuudid", -DlgImgInfoTab : "Pildi info", -DlgImgBtnUpload : "Saada serverissee", -DlgImgURL : "URL", -DlgImgUpload : "Lae üles", -DlgImgAlt : "Alternatiivne tekst", -DlgImgWidth : "Laius", -DlgImgHeight : "Kõrgus", -DlgImgLockRatio : "Lukusta kuvasuhe", -DlgBtnResetSize : "Lähtesta suurus", -DlgImgBorder : "Joon", -DlgImgHSpace : "H. vaheruum", -DlgImgVSpace : "V. vaheruum", -DlgImgAlign : "Joondus", -DlgImgAlignLeft : "Vasak", -DlgImgAlignAbsBottom: "Abs alla", -DlgImgAlignAbsMiddle: "Abs keskele", -DlgImgAlignBaseline : "Baasjoonele", -DlgImgAlignBottom : "Alla", -DlgImgAlignMiddle : "Keskele", -DlgImgAlignRight : "Paremale", -DlgImgAlignTextTop : "Tekstit üles", -DlgImgAlignTop : "Üles", -DlgImgPreview : "Eelvaade", -DlgImgAlertUrl : "Palun kirjuta pildi URL", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash omadused", -DlgFlashChkPlay : "Automaatne start ", -DlgFlashChkLoop : "Korduv", -DlgFlashChkMenu : "Võimalda flash menüü", -DlgFlashScale : "Mastaap", -DlgFlashScaleAll : "Näita kõike", -DlgFlashScaleNoBorder : "Äärist ei ole", -DlgFlashScaleFit : "Täpne sobivus", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Lingi info", -DlgLnkTargetTab : "Sihtkoht", - -DlgLnkType : "Lingi tüüp", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ankur sellel lehel", -DlgLnkTypeEMail : "E-post", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<muu>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vali ankur", -DlgLnkAnchorByName : "Ankru nime järgi", -DlgLnkAnchorById : "Elemendi id järgi", -DlgLnkNoAnchors : "(Selles dokumendis ei ole ankruid)", -DlgLnkEMail : "E-posti aadress", -DlgLnkEMailSubject : "Sõnumi teema", -DlgLnkEMailBody : "Sõnumi tekst", -DlgLnkUpload : "Lae üles", -DlgLnkBtnUpload : "Saada serverisse", - -DlgLnkTarget : "Sihtkoht", -DlgLnkTargetFrame : "<raam>", -DlgLnkTargetPopup : "<hüpikaken>", -DlgLnkTargetBlank : "Uus aken (_blank)", -DlgLnkTargetParent : "Esivanem aken (_parent)", -DlgLnkTargetSelf : "Sama aken (_self)", -DlgLnkTargetTop : "Pealmine aken (_top)", -DlgLnkTargetFrameName : "Sihtmärk raami nimi", -DlgLnkPopWinName : "Hüpikakna nimi", -DlgLnkPopWinFeat : "Hüpikakna omadused", -DlgLnkPopResize : "Suurendatav", -DlgLnkPopLocation : "Aadressiriba", -DlgLnkPopMenu : "Menüüriba", -DlgLnkPopScroll : "Kerimisribad", -DlgLnkPopStatus : "Olekuriba", -DlgLnkPopToolbar : "Tööriistariba", -DlgLnkPopFullScrn : "Täisekraan (IE)", -DlgLnkPopDependent : "Sõltuv (Netscape)", -DlgLnkPopWidth : "Laius", -DlgLnkPopHeight : "Kõrgus", -DlgLnkPopLeft : "Vasak asukoht", -DlgLnkPopTop : "Ülemine asukoht", - -DlnLnkMsgNoUrl : "Palun kirjuta lingi URL", -DlnLnkMsgNoEMail : "Palun kirjuta E-Posti aadress", -DlnLnkMsgNoAnchor : "Palun vali ankur", -DlnLnkMsgInvPopName : "Hüpikakna nimi peab algama alfabeetilise tähega ja ei tohi sisaldada tühikuid", - -// Color Dialog -DlgColorTitle : "Vali värv", -DlgColorBtnClear : "Tühjenda", -DlgColorHighlight : "Märgi", -DlgColorSelected : "Valitud", - -// Smiley Dialog -DlgSmileyTitle : "Sisesta emotikon", - -// Special Character Dialog -DlgSpecialCharTitle : "Vali erimärk", - -// Table Dialog -DlgTableTitle : "Tabeli atribuudid", -DlgTableRows : "Read", -DlgTableColumns : "Veerud", -DlgTableBorder : "Joone suurus", -DlgTableAlign : "Joondus", -DlgTableAlignNotSet : "<Määramata>", -DlgTableAlignLeft : "Vasak", -DlgTableAlignCenter : "Kesk", -DlgTableAlignRight : "Parem", -DlgTableWidth : "Laius", -DlgTableWidthPx : "pikslit", -DlgTableWidthPc : "protsenti", -DlgTableHeight : "Kõrgus", -DlgTableCellSpace : "Lahtri vahe", -DlgTableCellPad : "Lahtri täidis", -DlgTableCaption : "Tabeli tiitel", -DlgTableSummary : "Kokkuvõte", - -// Table Cell Dialog -DlgCellTitle : "Lahtri atribuudid", -DlgCellWidth : "Laius", -DlgCellWidthPx : "pikslit", -DlgCellWidthPc : "protsenti", -DlgCellHeight : "Kõrgus", -DlgCellWordWrap : "Sõna ülekanne", -DlgCellWordWrapNotSet : "<Määramata>", -DlgCellWordWrapYes : "Jah", -DlgCellWordWrapNo : "Ei", -DlgCellHorAlign : "Horisontaaljoondus", -DlgCellHorAlignNotSet : "<Määramata>", -DlgCellHorAlignLeft : "Vasak", -DlgCellHorAlignCenter : "Kesk", -DlgCellHorAlignRight: "Parem", -DlgCellVerAlign : "Vertikaaljoondus", -DlgCellVerAlignNotSet : "<Määramata>", -DlgCellVerAlignTop : "Üles", -DlgCellVerAlignMiddle : "Keskele", -DlgCellVerAlignBottom : "Alla", -DlgCellVerAlignBaseline : "Baasjoonele", -DlgCellRowSpan : "Reaulatus", -DlgCellCollSpan : "Veeruulatus", -DlgCellBackColor : "Tausta värv", -DlgCellBorderColor : "Joone värv", -DlgCellBtnSelect : "Vali...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Otsi ja asenda", - -// Find Dialog -DlgFindTitle : "Otsi", -DlgFindFindBtn : "Otsi", -DlgFindNotFoundMsg : "Valitud teksti ei leitud.", - -// Replace Dialog -DlgReplaceTitle : "Asenda", -DlgReplaceFindLbl : "Leia mida:", -DlgReplaceReplaceLbl : "Asenda millega:", -DlgReplaceCaseChk : "Erista suur- ja väiketähti", -DlgReplaceReplaceBtn : "Asenda", -DlgReplaceReplAllBtn : "Asenda kõik", -DlgReplaceWordChk : "Otsi terviklike sõnu", - -// Paste Operations / Dialog -PasteErrorCut : "Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt lõigata. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+X).", -PasteErrorCopy : "Sinu veebisirvija turvaseaded ei luba redaktoril automaatselt kopeerida. Palun kasutage selleks klaviatuuri klahvikombinatsiooni (Ctrl+C).", - -PasteAsText : "Kleebi tavalise tekstina", -PasteFromWord : "Kleebi Wordist", - -DlgPasteMsg2 : "Palun kleebi järgnevasse kasti kasutades klaviatuuri klahvikombinatsiooni (<STRONG>Ctrl+V</STRONG>) ja vajuta seejärel <STRONG>OK</STRONG>.", -DlgPasteSec : "Sinu veebisirvija turvaseadete tõttu, ei oma redaktor otsest ligipääsu lõikelaua andmetele. Sa pead kleepima need uuesti siia aknasse.", -DlgPasteIgnoreFont : "Ignoreeri kirja definitsioone", -DlgPasteRemoveStyles : "Eemalda stiilide definitsioonid", -DlgPasteCleanBox : "Puhasta kast", - -// Color Picker -ColorAutomatic : "Automaatne", -ColorMoreColors : "Rohkem värve...", - -// Document Properties -DocProps : "Dokumendi omadused", - -// Anchor Dialog -DlgAnchorTitle : "Ankru omadused", -DlgAnchorName : "Ankru nimi", -DlgAnchorErrorName : "Palun sisest ankru nimi", - -// Speller Pages Dialog -DlgSpellNotInDic : "Puudub sõnastikust", -DlgSpellChangeTo : "Muuda", -DlgSpellBtnIgnore : "Ignoreeri", -DlgSpellBtnIgnoreAll : "Ignoreeri kõiki", -DlgSpellBtnReplace : "Asenda", -DlgSpellBtnReplaceAll : "Asenda kõik", -DlgSpellBtnUndo : "Võta tagasi", -DlgSpellNoSuggestions : "- Soovitused puuduvad -", -DlgSpellProgress : "Toimub õigekirja kontroll...", -DlgSpellNoMispell : "Õigekirja kontroll sooritatud: õigekirjuvigu ei leitud", -DlgSpellNoChanges : "Õigekirja kontroll sooritatud: ühtegi sõna ei muudetud", -DlgSpellOneChange : "Õigekirja kontroll sooritatud: üks sõna muudeti", -DlgSpellManyChanges : "Õigekirja kontroll sooritatud: %1 sõna muudetud", - -IeSpellDownload : "Õigekirja kontrollija ei ole installeeritud. Soovid sa selle alla laadida?", - -// Button Dialog -DlgButtonText : "Tekst (väärtus)", -DlgButtonType : "Tüüp", -DlgButtonTypeBtn : "Nupp", -DlgButtonTypeSbm : "Saada", -DlgButtonTypeRst : "Lähtesta", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nimi", -DlgCheckboxValue : "Väärtus", -DlgCheckboxSelected : "Valitud", - -// Form Dialog -DlgFormName : "Nimi", -DlgFormAction : "Toiming", -DlgFormMethod : "Meetod", - -// Select Field Dialog -DlgSelectName : "Nimi", -DlgSelectValue : "Väärtus", -DlgSelectSize : "Suurus", -DlgSelectLines : "ridu", -DlgSelectChkMulti : "Võimalda mitu valikut", -DlgSelectOpAvail : "Võimalikud valikud", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Väärtus", -DlgSelectBtnAdd : "Lisa", -DlgSelectBtnModify : "Muuda", -DlgSelectBtnUp : "Üles", -DlgSelectBtnDown : "Alla", -DlgSelectBtnSetValue : "Sea valitud olekuna", -DlgSelectBtnDelete : "Kustuta", - -// Textarea Dialog -DlgTextareaName : "Nimi", -DlgTextareaCols : "Veerge", -DlgTextareaRows : "Ridu", - -// Text Field Dialog -DlgTextName : "Nimi", -DlgTextValue : "Väärtus", -DlgTextCharWidth : "Laius (tähemärkides)", -DlgTextMaxChars : "Maksimaalselt tähemärke", -DlgTextType : "Tüüp", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Parool", - -// Hidden Field Dialog -DlgHiddenName : "Nimi", -DlgHiddenValue : "Väärtus", - -// Bulleted List Dialog -BulletedListProp : "Täpitud loetelu omadused", -NumberedListProp : "Nummerdatud loetelu omadused", -DlgLstStart : "Alusta", -DlgLstType : "Tüüp", -DlgLstTypeCircle : "Ring", -DlgLstTypeDisc : "Ketas", -DlgLstTypeSquare : "Ruut", -DlgLstTypeNumbers : "Numbrid (1, 2, 3)", -DlgLstTypeLCase : "Väiketähed (a, b, c)", -DlgLstTypeUCase : "Suurtähed (A, B, C)", -DlgLstTypeSRoman : "Väiksed Rooma numbrid (i, ii, iii)", -DlgLstTypeLRoman : "Suured Rooma numbrid (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Üldine", -DlgDocBackTab : "Taust", -DlgDocColorsTab : "Värvid ja veerised", -DlgDocMetaTab : "Meta andmed", - -DlgDocPageTitle : "Lehekülje tiitel", -DlgDocLangDir : "Kirja suund", -DlgDocLangDirLTR : "Vasakult paremale (LTR)", -DlgDocLangDirRTL : "Paremalt vasakule (RTL)", -DlgDocLangCode : "Keele kood", -DlgDocCharSet : "Märgistiku kodeering", -DlgDocCharSetCE : "Kesk-Euroopa", -DlgDocCharSetCT : "Hiina traditsiooniline (Big5)", -DlgDocCharSetCR : "Kirillisa", -DlgDocCharSetGR : "Kreeka", -DlgDocCharSetJP : "Jaapani", -DlgDocCharSetKR : "Korea", -DlgDocCharSetTR : "Türgi", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Lääne-Euroopa", -DlgDocCharSetOther : "Ülejäänud märgistike kodeeringud", - -DlgDocDocType : "Dokumendi tüüppäis", -DlgDocDocTypeOther : "Teised dokumendi tüüppäised", -DlgDocIncXHTML : "Arva kaasa XHTML deklaratsioonid", -DlgDocBgColor : "Taustavärv", -DlgDocBgImage : "Taustapildi URL", -DlgDocBgNoScroll : "Mittekeritav tagataust", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Külastatud link", -DlgDocCActive : "Aktiivne link", -DlgDocMargins : "Lehekülje äärised", -DlgDocMaTop : "Ülaserv", -DlgDocMaLeft : "Vasakserv", -DlgDocMaRight : "Paremserv", -DlgDocMaBottom : "Alaserv", -DlgDocMeIndex : "Dokumendi võtmesõnad (eraldatud komadega)", -DlgDocMeDescr : "Dokumendi kirjeldus", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autoriõigus", -DlgDocPreview : "Eelvaade", - -// Templates Dialog -Templates : "Šabloon", -DlgTemplatesTitle : "Sisu šabloonid", -DlgTemplatesSelMsg : "Palun vali šabloon, et avada see redaktoris<br />(praegune sisu läheb kaotsi):", -DlgTemplatesLoading : "Laen šabloonide nimekirja. Palun oota...", -DlgTemplatesNoTpl : "(Ühtegi šablooni ei ole defineeritud)", -DlgTemplatesReplace : "Asenda tegelik sisu", - -// About Dialog -DlgAboutAboutTab : "Teave", -DlgAboutBrowserInfoTab : "Veebisirvija info", -DlgAboutLicenseTab : "Litsents", -DlgAboutVersion : "versioon", -DlgAboutInfo : "Täpsema info saamiseks mine" -}; diff --git a/editor/editor/lang/eu.js b/editor/editor/lang/eu.js @@ -1,517 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Basque language file. - * Euskara hizkuntza fitxategia. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Estutu Tresna Barra", -ToolbarExpand : "Hedatu Tresna Barra", - -// Toolbar Items and Context Menu -Save : "Gorde", -NewPage : "Orrialde Berria", -Preview : "Aurrebista", -Cut : "Ebaki", -Copy : "Kopiatu", -Paste : "Itsatsi", -PasteText : "Itsatsi testu bezala", -PasteWord : "Itsatsi Word-etik", -Print : "Inprimatu", -SelectAll : "Hautatu dena", -RemoveFormat : "Kendu Formatoa", -InsertLinkLbl : "Esteka", -InsertLink : "Txertatu/Editatu Esteka", -RemoveLink : "Kendu Esteka", -Anchor : "Aingura", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Irudia", -InsertImage : "Txertatu/Editatu Irudia", -InsertFlashLbl : "Flasha", -InsertFlash : "Txertatu/Editatu Flasha", -InsertTableLbl : "Taula", -InsertTable : "Txertatu/Editatu Taula", -InsertLineLbl : "Lerroa", -InsertLine : "Txertatu Marra Horizontala", -InsertSpecialCharLbl: "Karaktere Berezia", -InsertSpecialChar : "Txertatu Karaktere Berezia", -InsertSmileyLbl : "Aurpegierak", -InsertSmiley : "Txertatu Aurpegierak", -About : "FCKeditor-ri buruz", -Bold : "Lodia", -Italic : "Etzana", -Underline : "Azpimarratu", -StrikeThrough : "Marratua", -Subscript : "Azpi-indize", -Superscript : "Goi-indize", -LeftJustify : "Lerrokatu Ezkerrean", -CenterJustify : "Lerrokatu Erdian", -RightJustify : "Lerrokatu Eskuman", -BlockJustify : "Justifikatu", -DecreaseIndent : "Txikitu Koska", -IncreaseIndent : "Handitu Koska", -Blockquote : "Blockquote", //MISSING -Undo : "Desegin", -Redo : "Berregin", -NumberedListLbl : "Zenbakidun Zerrenda", -NumberedList : "Txertatu/Kendu Zenbakidun zerrenda", -BulletedListLbl : "Buletdun Zerrenda", -BulletedList : "Txertatu/Kendu Buletdun zerrenda", -ShowTableBorders : "Erakutsi Taularen Ertzak", -ShowDetails : "Erakutsi Xehetasunak", -Style : "Estiloa", -FontFormat : "Formatoa", -Font : "Letra-tipoa", -FontSize : "Tamaina", -TextColor : "Testu Kolorea", -BGColor : "Atzeko kolorea", -Source : "HTML Iturburua", -Find : "Bilatu", -Replace : "Ordezkatu", -SpellCheck : "Ortografia", -UniversalKeyboard : "Teklatu Unibertsala", -PageBreakLbl : "Orrialde-jauzia", -PageBreak : "Txertatu Orrialde-jauzia", - -Form : "Formularioa", -Checkbox : "Kontrol-laukia", -RadioButton : "Aukera-botoia", -TextField : "Testu Eremua", -Textarea : "Testu-area", -HiddenField : "Ezkutuko Eremua", -Button : "Botoia", -SelectionField : "Hautespen Eremua", -ImageButton : "Irudi Botoia", - -FitWindow : "Maximizatu editorearen tamaina", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Aldatu Esteka", -CellCM : "Gelaxka", -RowCM : "Errenkada", -ColumnCM : "Zutabea", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Ezabatu Errenkadak", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Ezabatu Zutabeak", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Kendu Gelaxkak", -MergeCells : "Batu Gelaxkak", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Ezabatu Taula", -CellProperties : "Gelaxkaren Ezaugarriak", -TableProperties : "Taularen Ezaugarriak", -ImageProperties : "Irudiaren Ezaugarriak", -FlashProperties : "Flasharen Ezaugarriak", - -AnchorProp : "Ainguraren Ezaugarriak", -ButtonProp : "Botoiaren Ezaugarriak", -CheckboxProp : "Kontrol-laukiko Ezaugarriak", -HiddenFieldProp : "Ezkutuko Eremuaren Ezaugarriak", -RadioButtonProp : "Aukera-botoiaren Ezaugarriak", -ImageButtonProp : "Irudi Botoiaren Ezaugarriak", -TextFieldProp : "Testu Eremuaren Ezaugarriak", -SelectionFieldProp : "Hautespen Eremuaren Ezaugarriak", -TextareaProp : "Testu-arearen Ezaugarriak", -FormProp : "Formularioaren Ezaugarriak", - -FontFormats : "Arrunta;Formateatua;Helbidea;Izenburua 1;Izenburua 2;Izenburua 3;Izenburua 4;Izenburua 5;Izenburua 6;Paragrafoa (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML Prozesatzen. Itxaron mesedez...", -Done : "Eginda", -PasteWordConfirm : "Itsatsi nahi duzun textua Wordetik hartua dela dirudi. Itsatsi baino lehen garbitu nahi duzu?", -NotCompatiblePaste : "Komando hau Internet Explorer 5.5 bertsiorako edo ondorengoentzako erabilgarria dago. Garbitu gabe itsatsi nahi duzu?", -UnknownToolbarItem : "Ataza barrako elementu ezezaguna \"%1\"", -UnknownCommand : "Komando izen ezezaguna \"%1\"", -NotImplemented : "Komando ez inplementatua", -UnknownToolbarSet : "Ataza barra \"%1\" taldea ez da existitzen", -NoActiveX : "Zure nabigatzailearen segustasun hobespenak editore honen zenbait ezaugarri mugatu ditzake. \"ActiveX kontrolak eta plug-inak\" aktibatu beharko zenituzke, bestela erroreak eta ezaugarrietan mugak egon daitezke.", -BrowseServerBlocked : "Baliabideen arakatzailea ezin da ireki. Ziurtatu popup blokeatzaileak desgaituta dituzula.", -DialogBlocked : "Ezin da elkarrizketa-leihoa ireki. Ziurtatu popup blokeatzaileak desgaituta dituzula.", - -// Dialogs -DlgBtnOK : "Ados", -DlgBtnCancel : "Utzi", -DlgBtnClose : "Itxi", -DlgBtnBrowseServer : "Zerbitzaria arakatu", -DlgAdvancedTag : "Aurreratua", -DlgOpOther : "<Bestelakoak>", -DlgInfoTab : "Informazioa", -DlgAlertUrl : "Mesedez URLa idatzi ezazu", - -// General Dialogs Labels -DlgGenNotSet : "<Ezarri gabe>", -DlgGenId : "Id", -DlgGenLangDir : "Hizkuntzaren Norabidea", -DlgGenLangDirLtr : "Ezkerretik Eskumara(LTR)", -DlgGenLangDirRtl : "Eskumatik Ezkerrera (RTL)", -DlgGenLangCode : "Hizkuntza Kodea", -DlgGenAccessKey : "Sarbide-gakoa", -DlgGenName : "Izena", -DlgGenTabIndex : "Tabulazio Indizea", -DlgGenLongDescr : "URL Deskribapen Luzea", -DlgGenClass : "Estilo-orriko Klaseak", -DlgGenTitle : "Izenburua", -DlgGenContType : "Eduki Mota (Content Type)", -DlgGenLinkCharset : "Estekatutako Karaktere Multzoa", -DlgGenStyle : "Estiloa", - -// Image Dialog -DlgImgTitle : "Irudi Ezaugarriak", -DlgImgInfoTab : "Irudi informazioa", -DlgImgBtnUpload : "Zerbitzarira bidalia", -DlgImgURL : "URL", -DlgImgUpload : "Gora Kargatu", -DlgImgAlt : "Textu Alternatiboa", -DlgImgWidth : "Zabalera", -DlgImgHeight : "Altuera", -DlgImgLockRatio : "Erlazioa Blokeatu", -DlgBtnResetSize : "Tamaina Berrezarri", -DlgImgBorder : "Ertza", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Lerrokatu", -DlgImgAlignLeft : "Ezkerrera", -DlgImgAlignAbsBottom: "Abs Behean", -DlgImgAlignAbsMiddle: "Abs Erdian", -DlgImgAlignBaseline : "Oinan", -DlgImgAlignBottom : "Behean", -DlgImgAlignMiddle : "Erdian", -DlgImgAlignRight : "Eskuman", -DlgImgAlignTextTop : "Testua Goian", -DlgImgAlignTop : "Goian", -DlgImgPreview : "Aurrebista", -DlgImgAlertUrl : "Mesedez Irudiaren URLa idatzi", -DlgImgLinkTab : "Esteka", - -// Flash Dialog -DlgFlashTitle : "Flasharen Ezaugarriak", -DlgFlashChkPlay : "Automatikoki Erreproduzitu", -DlgFlashChkLoop : "Begizta", -DlgFlashChkMenu : "Flasharen Menua Gaitu", -DlgFlashScale : "Eskalatu", -DlgFlashScaleAll : "Dena erakutsi", -DlgFlashScaleNoBorder : "Ertzarik gabe", -DlgFlashScaleFit : "Doitu", - -// Link Dialog -DlgLnkWindowTitle : "Esteka", -DlgLnkInfoTab : "Estekaren Informazioa", -DlgLnkTargetTab : "Helburua", - -DlgLnkType : "Esteka Mota", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Aingura horrialde honentan", -DlgLnkTypeEMail : "ePosta", -DlgLnkProto : "Protokoloa", -DlgLnkProtoOther : "<Beste batzuk>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Aingura bat hautatu", -DlgLnkAnchorByName : "Aingura izenagatik", -DlgLnkAnchorById : "Elementuaren ID-gatik", -DlgLnkNoAnchors : "(Ez daude aingurak eskuragarri dokumentuan)", -DlgLnkEMail : "ePosta Helbidea", -DlgLnkEMailSubject : "Mezuaren Gaia", -DlgLnkEMailBody : "Mezuaren Gorputza", -DlgLnkUpload : "Gora kargatu", -DlgLnkBtnUpload : "Zerbitzarira bidali", - -DlgLnkTarget : "Target (Helburua)", -DlgLnkTargetFrame : "<marko>", -DlgLnkTargetPopup : "<popup lehioa>", -DlgLnkTargetBlank : "Lehio Berria (_blank)", -DlgLnkTargetParent : "Lehio Gurasoa (_parent)", -DlgLnkTargetSelf : "Lehio Berdina (_self)", -DlgLnkTargetTop : "Goiko Lehioa (_top)", -DlgLnkTargetFrameName : "Marko Helburuaren Izena", -DlgLnkPopWinName : "Popup Lehioaren Izena", -DlgLnkPopWinFeat : "Popup Lehioaren Ezaugarriak", -DlgLnkPopResize : "Tamaina Aldakorra", -DlgLnkPopLocation : "Kokaleku Barra", -DlgLnkPopMenu : "Menu Barra", -DlgLnkPopScroll : "Korritze Barrak", -DlgLnkPopStatus : "Egoera Barra", -DlgLnkPopToolbar : "Tresna Barra", -DlgLnkPopFullScrn : "Pantaila Osoa (IE)", -DlgLnkPopDependent : "Menpekoa (Netscape)", -DlgLnkPopWidth : "Zabalera", -DlgLnkPopHeight : "Altuera", -DlgLnkPopLeft : "Ezkerreko Posizioa", -DlgLnkPopTop : "Goiko Posizioa", - -DlnLnkMsgNoUrl : "Mesedez URL esteka idatzi", -DlnLnkMsgNoEMail : "Mesedez ePosta helbidea idatzi", -DlnLnkMsgNoAnchor : "Mesedez aingura bat aukeratu", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Kolore Aukeraketa", -DlgColorBtnClear : "Garbitu", -DlgColorHighlight : "Nabarmendu", -DlgColorSelected : "Aukeratuta", - -// Smiley Dialog -DlgSmileyTitle : "Aurpegiera Sartu", - -// Special Character Dialog -DlgSpecialCharTitle : "Karaktere Berezia Aukeratu", - -// Table Dialog -DlgTableTitle : "Taularen Ezaugarriak", -DlgTableRows : "Lerroak", -DlgTableColumns : "Zutabeak", -DlgTableBorder : "Ertzaren Zabalera", -DlgTableAlign : "Lerrokatu", -DlgTableAlignNotSet : "<Ezarri gabe>", -DlgTableAlignLeft : "Ezkerrean", -DlgTableAlignCenter : "Erdian", -DlgTableAlignRight : "Eskuman", -DlgTableWidth : "Zabalera", -DlgTableWidthPx : "pixel", -DlgTableWidthPc : "ehuneko", -DlgTableHeight : "Altuera", -DlgTableCellSpace : "Gelaxka arteko tartea", -DlgTableCellPad : "Gelaxken betegarria", -DlgTableCaption : "Epigrafea", -DlgTableSummary : "Laburpena", - -// Table Cell Dialog -DlgCellTitle : "Gelaxken Ezaugarriak", -DlgCellWidth : "Zabalera", -DlgCellWidthPx : "pixel", -DlgCellWidthPc : "ehuneko", -DlgCellHeight : "Altuera", -DlgCellWordWrap : "Itzulbira", -DlgCellWordWrapNotSet : "<Ezarri gabe>", -DlgCellWordWrapYes : "Bai", -DlgCellWordWrapNo : "Ez", -DlgCellHorAlign : "Horizontal Alignment", -DlgCellHorAlignNotSet : "<Ezarri gabe>", -DlgCellHorAlignLeft : "Ezkerrean", -DlgCellHorAlignCenter : "Erdian", -DlgCellHorAlignRight: "Eskuman", -DlgCellVerAlign : "Lerrokatu Bertikalki", -DlgCellVerAlignNotSet : "<Ezarri gabe>", -DlgCellVerAlignTop : "Goian", -DlgCellVerAlignMiddle : "Erdian", -DlgCellVerAlignBottom : "Behean", -DlgCellVerAlignBaseline : "Oinan", -DlgCellRowSpan : "Lerroak Hedatu", -DlgCellCollSpan : "Zutabeak Hedatu", -DlgCellBackColor : "Atzeko Kolorea", -DlgCellBorderColor : "Ertzako Kolorea", -DlgCellBtnSelect : "Aukertau...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Bilaketa", -DlgFindFindBtn : "Bilatu", -DlgFindNotFoundMsg : "Idatzitako testua ez da topatu.", - -// Replace Dialog -DlgReplaceTitle : "Ordeztu", -DlgReplaceFindLbl : "Zer bilatu:", -DlgReplaceReplaceLbl : "Zerekin ordeztu:", -DlgReplaceCaseChk : "Maiuskula/minuskula", -DlgReplaceReplaceBtn : "Ordeztu", -DlgReplaceReplAllBtn : "Ordeztu Guztiak", -DlgReplaceWordChk : "Esaldi osoa bilatu", - -// Paste Operations / Dialog -PasteErrorCut : "Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki moztea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+X).", -PasteErrorCopy : "Zure web nabigatzailearen segurtasun ezarpenak testuak automatikoki kopiatzea ez dute baimentzen. Mesedez teklatua erabili ezazu (Ctrl+C).", - -PasteAsText : "Testu Arrunta bezala Itsatsi", -PasteFromWord : "Word-etik itsatsi", - -DlgPasteMsg2 : "Mesedez teklatua erabilita (<STRONG>Ctrl+V</STRONG>) ondorego eremuan testua itsatsi eta <STRONG>OK</STRONG> sakatu.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Letra Motaren definizioa ezikusi", -DlgPasteRemoveStyles : "Estilo definizioak kendu", -DlgPasteCleanBox : "Testu-eremua Garbitu", - -// Color Picker -ColorAutomatic : "Automatikoa", -ColorMoreColors : "Kolore gehiago...", - -// Document Properties -DocProps : "Dokumentuaren Ezarpenak", - -// Anchor Dialog -DlgAnchorTitle : "Ainguraren Ezaugarriak", -DlgAnchorName : "Ainguraren Izena", -DlgAnchorErrorName : "Idatzi ainguraren izena", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ez dago hiztegian", -DlgSpellChangeTo : "Honekin ordezkatu", -DlgSpellBtnIgnore : "Ezikusi", -DlgSpellBtnIgnoreAll : "Denak Ezikusi", -DlgSpellBtnReplace : "Ordezkatu", -DlgSpellBtnReplaceAll : "Denak Ordezkatu", -DlgSpellBtnUndo : "Desegin", -DlgSpellNoSuggestions : "- Iradokizunik ez -", -DlgSpellProgress : "Zuzenketa ortografikoa martxan...", -DlgSpellNoMispell : "Zuzenketa ortografikoa bukatuta: Akatsik ez", -DlgSpellNoChanges : "Zuzenketa ortografikoa bukatuta: Ez da ezer aldatu", -DlgSpellOneChange : "Zuzenketa ortografikoa bukatuta: Hitz bat aldatu da", -DlgSpellManyChanges : "Zuzenketa ortografikoa bukatuta: %1 hitz aldatu dira", - -IeSpellDownload : "Zuzentzaile ortografikoa ez dago instalatuta. Deskargatu nahi duzu?", - -// Button Dialog -DlgButtonText : "Testua (Balorea)", -DlgButtonType : "Mota", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Izena", -DlgCheckboxValue : "Balorea", -DlgCheckboxSelected : "Hautatuta", - -// Form Dialog -DlgFormName : "Izena", -DlgFormAction : "Ekintza", -DlgFormMethod : "Method", - -// Select Field Dialog -DlgSelectName : "Izena", -DlgSelectValue : "Balorea", -DlgSelectSize : "Tamaina", -DlgSelectLines : "lerro kopurura", -DlgSelectChkMulti : "Hautaketa anitzak baimendu", -DlgSelectOpAvail : "Aukera Eskuragarriak", -DlgSelectOpText : "Testua", -DlgSelectOpValue : "Balorea", -DlgSelectBtnAdd : "Gehitu", -DlgSelectBtnModify : "Aldatu", -DlgSelectBtnUp : "Gora", -DlgSelectBtnDown : "Behera", -DlgSelectBtnSetValue : "Aukeratutako balorea ezarri", -DlgSelectBtnDelete : "Ezabatu", - -// Textarea Dialog -DlgTextareaName : "Izena", -DlgTextareaCols : "Zutabeak", -DlgTextareaRows : "Lerroak", - -// Text Field Dialog -DlgTextName : "Izena", -DlgTextValue : "Balorea", -DlgTextCharWidth : "Zabalera", -DlgTextMaxChars : "Zenbat karaktere gehienez", -DlgTextType : "Mota", -DlgTextTypeText : "Testua", -DlgTextTypePass : "Pasahitza", - -// Hidden Field Dialog -DlgHiddenName : "Izena", -DlgHiddenValue : "Balorea", - -// Bulleted List Dialog -BulletedListProp : "Buletdun Zerrendaren Ezarpenak", -NumberedListProp : "Zenbakidun Zerrendaren Ezarpenak", -DlgLstStart : "Start", //MISSING -DlgLstType : "Mota", -DlgLstTypeCircle : "Zirkulua", -DlgLstTypeDisc : "Diskoa", -DlgLstTypeSquare : "Karratua", -DlgLstTypeNumbers : "Zenbakiak (1, 2, 3)", -DlgLstTypeLCase : "Letra xeheak (a, b, c)", -DlgLstTypeUCase : "Letra larriak (A, B, C)", -DlgLstTypeSRoman : "Erromatar zenbaki zeheak (i, ii, iii)", -DlgLstTypeLRoman : "Erromatar zenbaki larriak (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Orokorra", -DlgDocBackTab : "Atzekaldea", -DlgDocColorsTab : "Koloreak eta Marjinak", -DlgDocMetaTab : "Meta Informazioa", - -DlgDocPageTitle : "Orriaren Izenburua", -DlgDocLangDir : "Hizkuntzaren Norabidea", -DlgDocLangDirLTR : "Ezkerretik eskumara (LTR)", -DlgDocLangDirRTL : "Eskumatik ezkerrera (RTL)", -DlgDocLangCode : "Hizkuntzaren Kodea", -DlgDocCharSet : "Karaktere Multzoaren Kodeketa", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Beste Karaktere Multzoaren Kodeketa", - -DlgDocDocType : "Document Type Goiburua", -DlgDocDocTypeOther : "Beste Document Type Goiburua", -DlgDocIncXHTML : "XHTML Ezarpenak", -DlgDocBgColor : "Atzeko Kolorea", -DlgDocBgImage : "Atzeko Irudiaren URL-a", -DlgDocBgNoScroll : "Korritze gabeko Atzekaldea", -DlgDocCText : "Testua", -DlgDocCLink : "Estekak", -DlgDocCVisited : "Bisitatutako Estekak", -DlgDocCActive : "Esteka Aktiboa", -DlgDocMargins : "Orrialdearen marjinak", -DlgDocMaTop : "Goian", -DlgDocMaLeft : "Ezkerrean", -DlgDocMaRight : "Eskuman", -DlgDocMaBottom : "Behean", -DlgDocMeIndex : "Dokumentuaren Gako-hitzak (komarekin bananduta)", -DlgDocMeDescr : "Dokumentuaren Deskribapena", -DlgDocMeAuthor : "Egilea", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Aurrebista", - -// Templates Dialog -Templates : "Txantiloiak", -DlgTemplatesTitle : "Eduki Txantiloiak", -DlgTemplatesSelMsg : "Mesedez txantiloia aukeratu editorean kargatzeko<br>(orain dauden edukiak galduko dira):", -DlgTemplatesLoading : "Txantiloiak kargatzen. Itxaron mesedez...", -DlgTemplatesNoTpl : "(Ez dago definitutako txantiloirik)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Honi buruz", -DlgAboutBrowserInfoTab : "Nabigatzailearen Informazioa", -DlgAboutLicenseTab : "Lizentzia", -DlgAboutVersion : "bertsioa", -DlgAboutInfo : "Informazio gehiago eskuratzeko hona joan" -}; diff --git a/editor/editor/lang/fa.js b/editor/editor/lang/fa.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Persian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "rtl", - -ToolbarCollapse : "برچیدن نوارابزار", -ToolbarExpand : "گستردن نوارابزار", - -// Toolbar Items and Context Menu -Save : "ذخیره", -NewPage : "برگهٴ تازه", -Preview : "پیش‌نمایش", -Cut : "برش", -Copy : "کپی", -Paste : "چسباندن", -PasteText : "چسباندن به عنوان متن ِساده", -PasteWord : "چسباندن از Word", -Print : "چاپ", -SelectAll : "گزینش همه", -RemoveFormat : "برداشتن فرمت", -InsertLinkLbl : "پیوند", -InsertLink : "گنجاندن/ویرایش ِپیوند", -RemoveLink : "برداشتن پیوند", -Anchor : "گنجاندن/ویرایش ِلنگر", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "تصویر", -InsertImage : "گنجاندن/ویرایش ِتصویر", -InsertFlashLbl : "Flash", -InsertFlash : "گنجاندن/ویرایش ِFlash", -InsertTableLbl : "جدول", -InsertTable : "گنجاندن/ویرایش ِجدول", -InsertLineLbl : "خط", -InsertLine : "گنجاندن خط ِافقی", -InsertSpecialCharLbl: "نویسهٴ ویژه", -InsertSpecialChar : "گنجاندن نویسهٴ ویژه", -InsertSmileyLbl : "خندانک", -InsertSmiley : "گنجاندن خندانک", -About : "دربارهٴ FCKeditor", -Bold : "درشت", -Italic : "خمیده", -Underline : "خط‌زیردار", -StrikeThrough : "میان‌خط", -Subscript : "زیرنویس", -Superscript : "بالانویس", -LeftJustify : "چپ‌چین", -CenterJustify : "میان‌چین", -RightJustify : "راست‌چین", -BlockJustify : "بلوک‌چین", -DecreaseIndent : "کاهش تورفتگی", -IncreaseIndent : "افزایش تورفتگی", -Blockquote : "Blockquote", //MISSING -Undo : "واچیدن", -Redo : "بازچیدن", -NumberedListLbl : "فهرست شماره‌دار", -NumberedList : "گنجاندن/برداشتن فهرست شماره‌دار", -BulletedListLbl : "فهرست نقطه‌ای", -BulletedList : "گنجاندن/برداشتن فهرست نقطه‌ای", -ShowTableBorders : "نمایش لبهٴ جدول", -ShowDetails : "نمایش جزئیات", -Style : "سبک", -FontFormat : "فرمت", -Font : "قلم", -FontSize : "اندازه", -TextColor : "رنگ متن", -BGColor : "رنگ پس‌زمینه", -Source : "منبع", -Find : "جستجو", -Replace : "جایگزینی", -SpellCheck : "بررسی املا", -UniversalKeyboard : "صفحه‌کلید جهانی", -PageBreakLbl : "شکستگی ِپایان ِبرگه", -PageBreak : "گنجاندن شکستگی ِپایان ِبرگه", - -Form : "فرم", -Checkbox : "خانهٴ گزینه‌ای", -RadioButton : "دکمهٴ رادیویی", -TextField : "فیلد متنی", -Textarea : "ناحیهٴ متنی", -HiddenField : "فیلد پنهان", -Button : "دکمه", -SelectionField : "فیلد چندگزینه‌ای", -ImageButton : "دکمهٴ تصویری", - -FitWindow : "بیشینه‌سازی ِاندازهٴ ویرایشگر", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "ویرایش پیوند", -CellCM : "سلول", -RowCM : "سطر", -ColumnCM : "ستون", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "حذف سطرها", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "حذف ستونها", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "حذف سلولها", -MergeCells : "ادغام سلولها", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "پاک‌کردن جدول", -CellProperties : "ویژگیهای سلول", -TableProperties : "ویژگیهای جدول", -ImageProperties : "ویژگیهای تصویر", -FlashProperties : "ویژگیهای Flash", - -AnchorProp : "ویژگیهای لنگر", -ButtonProp : "ویژگیهای دکمه", -CheckboxProp : "ویژگیهای خانهٴ گزینه‌ای", -HiddenFieldProp : "ویژگیهای فیلد پنهان", -RadioButtonProp : "ویژگیهای دکمهٴ رادیویی", -ImageButtonProp : "ویژگیهای دکمهٴ تصویری", -TextFieldProp : "ویژگیهای فیلد متنی", -SelectionFieldProp : "ویژگیهای فیلد چندگزینه‌ای", -TextareaProp : "ویژگیهای ناحیهٴ متنی", -FormProp : "ویژگیهای فرم", - -FontFormats : "نرمال;فرمت‌شده;آدرس;سرنویس 1;سرنویس 2;سرنویس 3;سرنویس 4;سرنویس 5;سرنویس 6;بند;(DIV)", - -// Alerts and Messages -ProcessingXHTML : "پردازش XHTML. لطفا صبر کنید...", -Done : "انجام شد", -PasteWordConfirm : "متنی که می‌خواهید بچسبانید به نظر می‌رسد از Word کپی شده است. آیا می‌خواهید قبل از چسباندن آن را پاک‌سازی کنید؟", -NotCompatiblePaste : "این فرمان برای مرورگر Internet Explorer از نگارش 5.5 یا بالاتر در دسترس است. آیا می‌خواهید بدون پاک‌سازی، متن را بچسبانید؟", -UnknownToolbarItem : "فقرهٴ نوارابزار ناشناخته \"%1\"", -UnknownCommand : "نام دستور ناشناخته \"%1\"", -NotImplemented : "دستور پیاده‌سازی‌نشده", -UnknownToolbarSet : "مجموعهٴ نوارابزار \"%1\" وجود ندارد", -NoActiveX : "تنظیمات امنیتی مرورگر شما ممکن است در بعضی از ویژگیهای مرورگر محدودیت ایجاد کند. شما باید گزینهٴ \"Run ActiveX controls and plug-ins\" را فعال کنید. ممکن است شما با خطاهایی روبرو باشید و متوجه کمبود ویژگیهایی شوید.", -BrowseServerBlocked : "توانایی بازگشایی مرورگر منابع فراهم نیست. اطمینان حاصل کنید که تمامی برنامه‌های پیشگیری از نمایش popup را از کار بازداشته‌اید.", -DialogBlocked : "توانایی بازگشایی پنجرهٴ کوچک ِگفتگو فراهم نیست. اطمینان حاصل کنید که تمامی برنامه‌های پیشگیری از نمایش popup را از کار بازداشته‌اید.", - -// Dialogs -DlgBtnOK : "پذیرش", -DlgBtnCancel : "انصراف", -DlgBtnClose : "بستن", -DlgBtnBrowseServer : "فهرست‌نمایی سرور", -DlgAdvancedTag : "پیشرفته", -DlgOpOther : "<غیره>", -DlgInfoTab : "اطلاعات", -DlgAlertUrl : "لطفاً URL را بنویسید", - -// General Dialogs Labels -DlgGenNotSet : "<تعین‌نشده>", -DlgGenId : "شناسه", -DlgGenLangDir : "جهت‌نمای زبان", -DlgGenLangDirLtr : "چپ به راست (LTR)", -DlgGenLangDirRtl : "راست به چپ (RTL)", -DlgGenLangCode : "کد زبان", -DlgGenAccessKey : "کلید دستیابی", -DlgGenName : "نام", -DlgGenTabIndex : "نمایهٴ دسترسی با Tab", -DlgGenLongDescr : "URL توصیف طولانی", -DlgGenClass : "کلاسهای شیوه‌نامه(Stylesheet)", -DlgGenTitle : "عنوان کمکی", -DlgGenContType : "نوع محتوای کمکی", -DlgGenLinkCharset : "نویسه‌گان منبع ِپیوندشده", -DlgGenStyle : "شیوه(style)", - -// Image Dialog -DlgImgTitle : "ویژگیهای تصویر", -DlgImgInfoTab : "اطلاعات تصویر", -DlgImgBtnUpload : "به سرور بفرست", -DlgImgURL : "URL", -DlgImgUpload : "انتقال به سرور", -DlgImgAlt : "متن جایگزین", -DlgImgWidth : "پهنا", -DlgImgHeight : "درازا", -DlgImgLockRatio : "قفل‌کردن ِنسبت", -DlgBtnResetSize : "بازنشانی اندازه", -DlgImgBorder : "لبه", -DlgImgHSpace : "فاصلهٴ افقی", -DlgImgVSpace : "فاصلهٴ عمودی", -DlgImgAlign : "چینش", -DlgImgAlignLeft : "چپ", -DlgImgAlignAbsBottom: "پائین مطلق", -DlgImgAlignAbsMiddle: "وسط مطلق", -DlgImgAlignBaseline : "خط‌پایه", -DlgImgAlignBottom : "پائین", -DlgImgAlignMiddle : "وسط", -DlgImgAlignRight : "راست", -DlgImgAlignTextTop : "متن بالا", -DlgImgAlignTop : "بالا", -DlgImgPreview : "پیش‌نمایش", -DlgImgAlertUrl : "لطفا URL تصویر را بنویسید", -DlgImgLinkTab : "پیوند", - -// Flash Dialog -DlgFlashTitle : "ویژگیهای Flash", -DlgFlashChkPlay : "آغاز ِخودکار", -DlgFlashChkLoop : "اجرای پیاپی", -DlgFlashChkMenu : "دردسترس‌بودن منوی Flash", -DlgFlashScale : "مقیاس", -DlgFlashScaleAll : "نمایش همه", -DlgFlashScaleNoBorder : "بدون کران", -DlgFlashScaleFit : "جایگیری کامل", - -// Link Dialog -DlgLnkWindowTitle : "پیوند", -DlgLnkInfoTab : "اطلاعات پیوند", -DlgLnkTargetTab : "مقصد", - -DlgLnkType : "نوع پیوند", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "لنگر در همین صفحه", -DlgLnkTypeEMail : "پست الکترونیکی", -DlgLnkProto : "پروتکل", -DlgLnkProtoOther : "<دیگر>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "یک لنگر برگزینید", -DlgLnkAnchorByName : "با نام لنگر", -DlgLnkAnchorById : "با شناسهٴ المان", -DlgLnkNoAnchors : "(در این سند لنگری دردسترس نیست)", -DlgLnkEMail : "نشانی پست الکترونیکی", -DlgLnkEMailSubject : "موضوع پیام", -DlgLnkEMailBody : "متن پیام", -DlgLnkUpload : "انتقال به سرور", -DlgLnkBtnUpload : "به سرور بفرست", - -DlgLnkTarget : "مقصد", -DlgLnkTargetFrame : "<فریم>", -DlgLnkTargetPopup : "<پنجرهٴ پاپاپ>", -DlgLnkTargetBlank : "پنجرهٴ دیگر (_blank)", -DlgLnkTargetParent : "پنجرهٴ والد (_parent)", -DlgLnkTargetSelf : "همان پنجره (_self)", -DlgLnkTargetTop : "بالاترین پنجره (_top)", -DlgLnkTargetFrameName : "نام فریم مقصد", -DlgLnkPopWinName : "نام پنجرهٴ پاپاپ", -DlgLnkPopWinFeat : "ویژگیهای پنجرهٴ پاپاپ", -DlgLnkPopResize : "قابل تغییر اندازه", -DlgLnkPopLocation : "نوار موقعیت", -DlgLnkPopMenu : "نوار منو", -DlgLnkPopScroll : "میله‌های پیمایش", -DlgLnkPopStatus : "نوار وضعیت", -DlgLnkPopToolbar : "نوارابزار", -DlgLnkPopFullScrn : "تمام‌صفحه (IE)", -DlgLnkPopDependent : "وابسته (Netscape)", -DlgLnkPopWidth : "پهنا", -DlgLnkPopHeight : "درازا", -DlgLnkPopLeft : "موقعیت ِچپ", -DlgLnkPopTop : "موقعیت ِبالا", - -DlnLnkMsgNoUrl : "لطفا URL پیوند را بنویسید", -DlnLnkMsgNoEMail : "لطفا نشانی پست الکترونیکی را بنویسید", -DlnLnkMsgNoAnchor : "لطفا لنگری را برگزینید", -DlnLnkMsgInvPopName : "نام پنجرهٴ پاپاپ باید با یک نویسهٴ الفبایی آغاز گردد و نباید فاصله‌های خالی در آن باشند", - -// Color Dialog -DlgColorTitle : "گزینش رنگ", -DlgColorBtnClear : "پاک‌کردن", -DlgColorHighlight : "نمونه", -DlgColorSelected : "برگزیده", - -// Smiley Dialog -DlgSmileyTitle : "گنجاندن خندانک", - -// Special Character Dialog -DlgSpecialCharTitle : "گزینش نویسهٴ‌ویژه", - -// Table Dialog -DlgTableTitle : "ویژگیهای جدول", -DlgTableRows : "سطرها", -DlgTableColumns : "ستونها", -DlgTableBorder : "اندازهٴ لبه", -DlgTableAlign : "چینش", -DlgTableAlignNotSet : "<تعین‌نشده>", -DlgTableAlignLeft : "چپ", -DlgTableAlignCenter : "وسط", -DlgTableAlignRight : "راست", -DlgTableWidth : "پهنا", -DlgTableWidthPx : "پیکسل", -DlgTableWidthPc : "درصد", -DlgTableHeight : "درازا", -DlgTableCellSpace : "فاصلهٴ میان سلولها", -DlgTableCellPad : "فاصلهٴ پرشده در سلول", -DlgTableCaption : "عنوان", -DlgTableSummary : "خلاصه", - -// Table Cell Dialog -DlgCellTitle : "ویژگیهای سلول", -DlgCellWidth : "پهنا", -DlgCellWidthPx : "پیکسل", -DlgCellWidthPc : "درصد", -DlgCellHeight : "درازا", -DlgCellWordWrap : "شکستن واژه‌ها", -DlgCellWordWrapNotSet : "<تعین‌نشده>", -DlgCellWordWrapYes : "بله", -DlgCellWordWrapNo : "خیر", -DlgCellHorAlign : "چینش ِافقی", -DlgCellHorAlignNotSet : "<تعین‌نشده>", -DlgCellHorAlignLeft : "چپ", -DlgCellHorAlignCenter : "وسط", -DlgCellHorAlignRight: "راست", -DlgCellVerAlign : "چینش ِعمودی", -DlgCellVerAlignNotSet : "<تعین‌نشده>", -DlgCellVerAlignTop : "بالا", -DlgCellVerAlignMiddle : "میان", -DlgCellVerAlignBottom : "پائین", -DlgCellVerAlignBaseline : "خط‌پایه", -DlgCellRowSpan : "گستردگی سطرها", -DlgCellCollSpan : "گستردگی ستونها", -DlgCellBackColor : "رنگ پس‌زمینه", -DlgCellBorderColor : "رنگ لبه", -DlgCellBtnSelect : "برگزینید...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "یافتن", -DlgFindFindBtn : "یافتن", -DlgFindNotFoundMsg : "متن موردنظر یافت نشد.", - -// Replace Dialog -DlgReplaceTitle : "جایگزینی", -DlgReplaceFindLbl : "چه‌چیز را می‌یابید:", -DlgReplaceReplaceLbl : "جایگزینی با:", -DlgReplaceCaseChk : "همسانی در بزرگی و کوچکی نویسه‌ها", -DlgReplaceReplaceBtn : "جایگزینی", -DlgReplaceReplAllBtn : "جایگزینی همهٴ یافته‌ها", -DlgReplaceWordChk : "همسانی با واژهٴ کامل", - -// Paste Operations / Dialog -PasteErrorCut : "تنظیمات امنیتی مرورگر شما اجازه نمی‌دهد که ویرایشگر به طور خودکار عملکردهای برش را انجام دهد. لطفا با دکمه‌های صفحه‌کلید این کار را انجام دهید (Ctrl+X).", -PasteErrorCopy : "تنظیمات امنیتی مرورگر شما اجازه نمی‌دهد که ویرایشگر به طور خودکار عملکردهای کپی‌کردن را انجام دهد. لطفا با دکمه‌های صفحه‌کلید این کار را انجام دهید (Ctrl+C).", - -PasteAsText : "چسباندن به عنوان متن ِساده", -PasteFromWord : "چسباندن از Word", - -DlgPasteMsg2 : "لطفا متن را با کلیدهای (<STRONG>Ctrl+V</STRONG>) در این جعبهٴ متنی بچسبانید و <STRONG>پذیرش</STRONG> را بزنید.", -DlgPasteSec : "به خاطر تنظیمات امنیتی مرورگر شما، ویرایشگر نمی‌تواند دسترسی مستقیم به داده‌های clipboard داشته باشد. شما باید دوباره آنرا در این پنجره بچسبانید.", -DlgPasteIgnoreFont : "چشم‌پوشی از تعاریف نوع قلم", -DlgPasteRemoveStyles : "چشم‌پوشی از تعاریف سبک (style)", -DlgPasteCleanBox : "پاک‌کردن ناحیه", - -// Color Picker -ColorAutomatic : "خودکار", -ColorMoreColors : "رنگهای بیشتر...", - -// Document Properties -DocProps : "ویژگیهای سند", - -// Anchor Dialog -DlgAnchorTitle : "ویژگیهای لنگر", -DlgAnchorName : "نام لنگر", -DlgAnchorErrorName : "لطفا نام لنگر را بنویسید", - -// Speller Pages Dialog -DlgSpellNotInDic : "در واژه‌نامه یافت نشد", -DlgSpellChangeTo : "تغییر به", -DlgSpellBtnIgnore : "چشم‌پوشی", -DlgSpellBtnIgnoreAll : "چشم‌پوشی همه", -DlgSpellBtnReplace : "جایگزینی", -DlgSpellBtnReplaceAll : "جایگزینی همه", -DlgSpellBtnUndo : "واچینش", -DlgSpellNoSuggestions : "- پیشنهادی نیست -", -DlgSpellProgress : "بررسی املا در حال انجام...", -DlgSpellNoMispell : "بررسی املا انجام شد. هیچ غلط‌املائی یافت نشد", -DlgSpellNoChanges : "بررسی املا انجام شد. هیچ واژه‌ای تغییر نیافت", -DlgSpellOneChange : "بررسی املا انجام شد. یک واژه تغییر یافت", -DlgSpellManyChanges : "بررسی املا انجام شد. %1 واژه تغییر یافت", - -IeSpellDownload : "بررسی‌کنندهٴ املا نصب نشده است. آیا می‌خواهید آن را هم‌اکنون دریافت کنید؟", - -// Button Dialog -DlgButtonText : "متن (مقدار)", -DlgButtonType : "نوع", -DlgButtonTypeBtn : "دکمه", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "بازنشانی (Reset)", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "نام", -DlgCheckboxValue : "مقدار", -DlgCheckboxSelected : "برگزیده", - -// Form Dialog -DlgFormName : "نام", -DlgFormAction : "رویداد", -DlgFormMethod : "متد", - -// Select Field Dialog -DlgSelectName : "نام", -DlgSelectValue : "مقدار", -DlgSelectSize : "اندازه", -DlgSelectLines : "خطوط", -DlgSelectChkMulti : "گزینش چندگانه فراهم باشد", -DlgSelectOpAvail : "گزینه‌های دردسترس", -DlgSelectOpText : "متن", -DlgSelectOpValue : "مقدار", -DlgSelectBtnAdd : "افزودن", -DlgSelectBtnModify : "ویرایش", -DlgSelectBtnUp : "بالا", -DlgSelectBtnDown : "پائین", -DlgSelectBtnSetValue : "تنظیم به عنوان مقدار ِبرگزیده", -DlgSelectBtnDelete : "پاک‌کردن", - -// Textarea Dialog -DlgTextareaName : "نام", -DlgTextareaCols : "ستونها", -DlgTextareaRows : "سطرها", - -// Text Field Dialog -DlgTextName : "نام", -DlgTextValue : "مقدار", -DlgTextCharWidth : "پهنای نویسه", -DlgTextMaxChars : "بیشینهٴ نویسه‌ها", -DlgTextType : "نوع", -DlgTextTypeText : "متن", -DlgTextTypePass : "گذرواژه", - -// Hidden Field Dialog -DlgHiddenName : "نام", -DlgHiddenValue : "مقدار", - -// Bulleted List Dialog -BulletedListProp : "ویژگیهای فهرست نقطه‌ای", -NumberedListProp : "ویژگیهای فهرست شماره‌دار", -DlgLstStart : "آغاز", -DlgLstType : "نوع", -DlgLstTypeCircle : "دایره", -DlgLstTypeDisc : "قرص", -DlgLstTypeSquare : "چهارگوش", -DlgLstTypeNumbers : "شماره‌ها (1، 2، 3)", -DlgLstTypeLCase : "نویسه‌های کوچک (a، b، c)", -DlgLstTypeUCase : "نویسه‌های بزرگ (A، B، C)", -DlgLstTypeSRoman : "شمارگان رومی کوچک (i، ii، iii)", -DlgLstTypeLRoman : "شمارگان رومی بزرگ (I، II، III)", - -// Document Properties Dialog -DlgDocGeneralTab : "عمومی", -DlgDocBackTab : "پس‌زمینه", -DlgDocColorsTab : "رنگها و حاشیه‌ها", -DlgDocMetaTab : "فراداده", - -DlgDocPageTitle : "عنوان صفحه", -DlgDocLangDir : "جهت زبان", -DlgDocLangDirLTR : "چپ به راست (LTR(", -DlgDocLangDirRTL : "راست به چپ (RTL(", -DlgDocLangCode : "کد زبان", -DlgDocCharSet : "رمزگذاری نویسه‌گان", -DlgDocCharSetCE : "اروپای مرکزی", -DlgDocCharSetCT : "چینی رسمی (Big5)", -DlgDocCharSetCR : "سیریلیک", -DlgDocCharSetGR : "یونانی", -DlgDocCharSetJP : "ژاپنی", -DlgDocCharSetKR : "کره‌ای", -DlgDocCharSetTR : "ترکی", -DlgDocCharSetUN : "یونیکُد (UTF-8)", -DlgDocCharSetWE : "اروپای غربی", -DlgDocCharSetOther : "رمزگذاری نویسه‌گان دیگر", - -DlgDocDocType : "عنوان نوع سند", -DlgDocDocTypeOther : "عنوان نوع سند دیگر", -DlgDocIncXHTML : "شامل تعاریف XHTML", -DlgDocBgColor : "رنگ پس‌زمینه", -DlgDocBgImage : "URL تصویر پس‌زمینه", -DlgDocBgNoScroll : "پس‌زمینهٴ پیمایش‌ناپذیر", -DlgDocCText : "متن", -DlgDocCLink : "پیوند", -DlgDocCVisited : "پیوند مشاهده‌شده", -DlgDocCActive : "پیوند فعال", -DlgDocMargins : "حاشیه‌های صفحه", -DlgDocMaTop : "بالا", -DlgDocMaLeft : "چپ", -DlgDocMaRight : "راست", -DlgDocMaBottom : "پایین", -DlgDocMeIndex : "کلیدواژگان نمایه‌گذاری سند (با کاما جدا شوند)", -DlgDocMeDescr : "توصیف سند", -DlgDocMeAuthor : "نویسنده", -DlgDocMeCopy : "کپی‌رایت", -DlgDocPreview : "پیش‌نمایش", - -// Templates Dialog -Templates : "الگوها", -DlgTemplatesTitle : "الگوهای محتویات", -DlgTemplatesSelMsg : "لطفا الگوی موردنظر را برای بازکردن در ویرایشگر برگزینید<br>(محتویات کنونی از دست خواهند رفت):", -DlgTemplatesLoading : "بارگذاری فهرست الگوها. لطفا صبر کنید...", -DlgTemplatesNoTpl : "(الگوئی تعریف نشده است)", -DlgTemplatesReplace : "محتویات کنونی جایگزین شوند", - -// About Dialog -DlgAboutAboutTab : "درباره", -DlgAboutBrowserInfoTab : "اطلاعات مرورگر", -DlgAboutLicenseTab : "گواهینامه", -DlgAboutVersion : "نگارش", -DlgAboutInfo : "برای آگاهی بیشتر به این نشانی بروید" -}; diff --git a/editor/editor/lang/fi.js b/editor/editor/lang/fi.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Finnish language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Piilota työkalurivi", -ToolbarExpand : "Näytä työkalurivi", - -// Toolbar Items and Context Menu -Save : "Tallenna", -NewPage : "Tyhjennä", -Preview : "Esikatsele", -Cut : "Leikkaa", -Copy : "Kopioi", -Paste : "Liitä", -PasteText : "Liitä tekstinä", -PasteWord : "Liitä Wordista", -Print : "Tulosta", -SelectAll : "Valitse kaikki", -RemoveFormat : "Poista muotoilu", -InsertLinkLbl : "Linkki", -InsertLink : "Lisää linkki/muokkaa linkkiä", -RemoveLink : "Poista linkki", -Anchor : "Lisää ankkuri/muokkaa ankkuria", -AnchorDelete : "Poista ankkuri", -InsertImageLbl : "Kuva", -InsertImage : "Lisää kuva/muokkaa kuvaa", -InsertFlashLbl : "Flash", -InsertFlash : "Lisää/muokkaa Flashia", -InsertTableLbl : "Taulu", -InsertTable : "Lisää taulu/muokkaa taulua", -InsertLineLbl : "Murtoviiva", -InsertLine : "Lisää murtoviiva", -InsertSpecialCharLbl: "Erikoismerkki", -InsertSpecialChar : "Lisää erikoismerkki", -InsertSmileyLbl : "Hymiö", -InsertSmiley : "Lisää hymiö", -About : "FCKeditorista", -Bold : "Lihavoitu", -Italic : "Kursivoitu", -Underline : "Alleviivattu", -StrikeThrough : "Yliviivattu", -Subscript : "Alaindeksi", -Superscript : "Yläindeksi", -LeftJustify : "Tasaa vasemmat reunat", -CenterJustify : "Keskitä", -RightJustify : "Tasaa oikeat reunat", -BlockJustify : "Tasaa molemmat reunat", -DecreaseIndent : "Pienennä sisennystä", -IncreaseIndent : "Suurenna sisennystä", -Blockquote : "Lainaus", -Undo : "Kumoa", -Redo : "Toista", -NumberedListLbl : "Numerointi", -NumberedList : "Lisää/poista numerointi", -BulletedListLbl : "Luottelomerkit", -BulletedList : "Lisää/poista luottelomerkit", -ShowTableBorders : "Näytä taulun rajat", -ShowDetails : "Näytä muotoilu", -Style : "Tyyli", -FontFormat : "Muotoilu", -Font : "Fontti", -FontSize : "Koko", -TextColor : "Tekstiväri", -BGColor : "Taustaväri", -Source : "Koodi", -Find : "Etsi", -Replace : "Korvaa", -SpellCheck : "Tarkista oikeinkirjoitus", -UniversalKeyboard : "Universaali näppäimistö", -PageBreakLbl : "Sivun vaihto", -PageBreak : "Lisää sivun vaihto", - -Form : "Lomake", -Checkbox : "Valintaruutu", -RadioButton : "Radiopainike", -TextField : "Tekstikenttä", -Textarea : "Tekstilaatikko", -HiddenField : "Piilokenttä", -Button : "Painike", -SelectionField : "Valintakenttä", -ImageButton : "Kuvapainike", - -FitWindow : "Suurenna editori koko ikkunaan", -ShowBlocks : "Näytä elementit", - -// Context Menu -EditLink : "Muokkaa linkkiä", -CellCM : "Solu", -RowCM : "Rivi", -ColumnCM : "Sarake", -InsertRowAfter : "Lisää rivi alapuolelle", -InsertRowBefore : "Lisää rivi yläpuolelle", -DeleteRows : "Poista rivit", -InsertColumnAfter : "Lisää sarake oikealle", -InsertColumnBefore : "Lisää sarake vasemmalle", -DeleteColumns : "Poista sarakkeet", -InsertCellAfter : "Lisää solu perään", -InsertCellBefore : "Lisää solu eteen", -DeleteCells : "Poista solut", -MergeCells : "Yhdistä solut", -MergeRight : "Yhdistä oikealla olevan kanssa", -MergeDown : "Yhdistä alla olevan kanssa", -HorizontalSplitCell : "Jaa solu vaakasuunnassa", -VerticalSplitCell : "Jaa solu pystysuunnassa", -TableDelete : "Poista taulu", -CellProperties : "Solun ominaisuudet", -TableProperties : "Taulun ominaisuudet", -ImageProperties : "Kuvan ominaisuudet", -FlashProperties : "Flash ominaisuudet", - -AnchorProp : "Ankkurin ominaisuudet", -ButtonProp : "Painikkeen ominaisuudet", -CheckboxProp : "Valintaruudun ominaisuudet", -HiddenFieldProp : "Piilokentän ominaisuudet", -RadioButtonProp : "Radiopainikkeen ominaisuudet", -ImageButtonProp : "Kuvapainikkeen ominaisuudet", -TextFieldProp : "Tekstikentän ominaisuudet", -SelectionFieldProp : "Valintakentän ominaisuudet", -TextareaProp : "Tekstilaatikon ominaisuudet", -FormProp : "Lomakkeen ominaisuudet", - -FontFormats : "Normaali;Muotoiltu;Osoite;Otsikko 1;Otsikko 2;Otsikko 3;Otsikko 4;Otsikko 5;Otsikko 6", - -// Alerts and Messages -ProcessingXHTML : "Prosessoidaan XHTML:ää. Odota hetki...", -Done : "Valmis", -PasteWordConfirm : "Teksti, jonka haluat liittää, näyttää olevan kopioitu Wordista. Haluatko puhdistaa sen ennen liittämistä?", -NotCompatiblePaste : "Tämä komento toimii vain Internet Explorer 5.5:ssa tai uudemmassa. Haluatko liittää ilman puhdistusta?", -UnknownToolbarItem : "Tuntemanton työkalu \"%1\"", -UnknownCommand : "Tuntematon komento \"%1\"", -NotImplemented : "Komentoa ei ole liitetty sovellukseen", -UnknownToolbarSet : "Työkalukokonaisuus \"%1\" ei ole olemassa", -NoActiveX : "Selaimesi turvallisuusasetukset voivat rajoittaa joitain editorin ominaisuuksia. Sinun pitää ottaa käyttöön asetuksista \"Suorita ActiveX komponentit ja -plugin-laajennukset\". Saatat kohdata virheitä ja huomata puuttuvia ominaisuuksia.", -BrowseServerBlocked : "Resurssiselainta ei voitu avata. Varmista, että ponnahdusikkunoiden estäjät eivät ole päällä.", -DialogBlocked : "Apuikkunaa ei voitu avaata. Varmista, että ponnahdusikkunoiden estäjät eivät ole päällä.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Peruuta", -DlgBtnClose : "Sulje", -DlgBtnBrowseServer : "Selaa palvelinta", -DlgAdvancedTag : "Lisäominaisuudet", -DlgOpOther : "Muut", -DlgInfoTab : "Info", -DlgAlertUrl : "Lisää URL", - -// General Dialogs Labels -DlgGenNotSet : "<ei asetettu>", -DlgGenId : "Tunniste", -DlgGenLangDir : "Kielen suunta", -DlgGenLangDirLtr : "Vasemmalta oikealle (LTR)", -DlgGenLangDirRtl : "Oikealta vasemmalle (RTL)", -DlgGenLangCode : "Kielikoodi", -DlgGenAccessKey : "Pikanäppäin", -DlgGenName : "Nimi", -DlgGenTabIndex : "Tabulaattori indeksi", -DlgGenLongDescr : "Pitkän kuvauksen URL", -DlgGenClass : "Tyyliluokat", -DlgGenTitle : "Avustava otsikko", -DlgGenContType : "Avustava sisällön tyyppi", -DlgGenLinkCharset : "Linkitetty kirjaimisto", -DlgGenStyle : "Tyyli", - -// Image Dialog -DlgImgTitle : "Kuvan ominaisuudet", -DlgImgInfoTab : "Kuvan tiedot", -DlgImgBtnUpload : "Lähetä palvelimelle", -DlgImgURL : "Osoite", -DlgImgUpload : "Lisää kuva", -DlgImgAlt : "Vaihtoehtoinen teksti", -DlgImgWidth : "Leveys", -DlgImgHeight : "Korkeus", -DlgImgLockRatio : "Lukitse suhteet", -DlgBtnResetSize : "Alkuperäinen koko", -DlgImgBorder : "Raja", -DlgImgHSpace : "Vaakatila", -DlgImgVSpace : "Pystytila", -DlgImgAlign : "Kohdistus", -DlgImgAlignLeft : "Vasemmalle", -DlgImgAlignAbsBottom: "Aivan alas", -DlgImgAlignAbsMiddle: "Aivan keskelle", -DlgImgAlignBaseline : "Alas (teksti)", -DlgImgAlignBottom : "Alas", -DlgImgAlignMiddle : "Keskelle", -DlgImgAlignRight : "Oikealle", -DlgImgAlignTextTop : "Ylös (teksti)", -DlgImgAlignTop : "Ylös", -DlgImgPreview : "Esikatselu", -DlgImgAlertUrl : "Kirjoita kuvan osoite (URL)", -DlgImgLinkTab : "Linkki", - -// Flash Dialog -DlgFlashTitle : "Flash ominaisuudet", -DlgFlashChkPlay : "Automaattinen käynnistys", -DlgFlashChkLoop : "Toisto", -DlgFlashChkMenu : "Näytä Flash-valikko", -DlgFlashScale : "Levitä", -DlgFlashScaleAll : "Näytä kaikki", -DlgFlashScaleNoBorder : "Ei rajaa", -DlgFlashScaleFit : "Tarkka koko", - -// Link Dialog -DlgLnkWindowTitle : "Linkki", -DlgLnkInfoTab : "Linkin tiedot", -DlgLnkTargetTab : "Kohde", - -DlgLnkType : "Linkkityyppi", -DlgLnkTypeURL : "Osoite", -DlgLnkTypeAnchor : "Ankkuri tässä sivussa", -DlgLnkTypeEMail : "Sähköposti", -DlgLnkProto : "Protokolla", -DlgLnkProtoOther : "<muu>", -DlgLnkURL : "Osoite", -DlgLnkAnchorSel : "Valitse ankkuri", -DlgLnkAnchorByName : "Ankkurin nimen mukaan", -DlgLnkAnchorById : "Ankkurin ID:n mukaan", -DlgLnkNoAnchors : "(Ei ankkureita tässä dokumentissa)", -DlgLnkEMail : "Sähköpostiosoite", -DlgLnkEMailSubject : "Aihe", -DlgLnkEMailBody : "Viesti", -DlgLnkUpload : "Lisää tiedosto", -DlgLnkBtnUpload : "Lähetä palvelimelle", - -DlgLnkTarget : "Kohde", -DlgLnkTargetFrame : "<kehys>", -DlgLnkTargetPopup : "<popup ikkuna>", -DlgLnkTargetBlank : "Uusi ikkuna (_blank)", -DlgLnkTargetParent : "Emoikkuna (_parent)", -DlgLnkTargetSelf : "Sama ikkuna (_self)", -DlgLnkTargetTop : "Päällimmäisin ikkuna (_top)", -DlgLnkTargetFrameName : "Kohdekehyksen nimi", -DlgLnkPopWinName : "Popup ikkunan nimi", -DlgLnkPopWinFeat : "Popup ikkunan ominaisuudet", -DlgLnkPopResize : "Venytettävä", -DlgLnkPopLocation : "Osoiterivi", -DlgLnkPopMenu : "Valikkorivi", -DlgLnkPopScroll : "Vierityspalkit", -DlgLnkPopStatus : "Tilarivi", -DlgLnkPopToolbar : "Vakiopainikkeet", -DlgLnkPopFullScrn : "Täysi ikkuna (IE)", -DlgLnkPopDependent : "Riippuva (Netscape)", -DlgLnkPopWidth : "Leveys", -DlgLnkPopHeight : "Korkeus", -DlgLnkPopLeft : "Vasemmalta (px)", -DlgLnkPopTop : "Ylhäältä (px)", - -DlnLnkMsgNoUrl : "Linkille on kirjoitettava URL", -DlnLnkMsgNoEMail : "Kirjoita sähköpostiosoite", -DlnLnkMsgNoAnchor : "Valitse ankkuri", -DlnLnkMsgInvPopName : "Popup-ikkunan nimi pitää alkaa aakkosella ja ei saa sisältää välejä", - -// Color Dialog -DlgColorTitle : "Valitse väri", -DlgColorBtnClear : "Tyhjennä", -DlgColorHighlight : "Kohdalla", -DlgColorSelected : "Valittu", - -// Smiley Dialog -DlgSmileyTitle : "Lisää hymiö", - -// Special Character Dialog -DlgSpecialCharTitle : "Valitse erikoismerkki", - -// Table Dialog -DlgTableTitle : "Taulun ominaisuudet", -DlgTableRows : "Rivit", -DlgTableColumns : "Sarakkeet", -DlgTableBorder : "Rajan paksuus", -DlgTableAlign : "Kohdistus", -DlgTableAlignNotSet : "<ei asetettu>", -DlgTableAlignLeft : "Vasemmalle", -DlgTableAlignCenter : "Keskelle", -DlgTableAlignRight : "Oikealle", -DlgTableWidth : "Leveys", -DlgTableWidthPx : "pikseliä", -DlgTableWidthPc : "prosenttia", -DlgTableHeight : "Korkeus", -DlgTableCellSpace : "Solujen väli", -DlgTableCellPad : "Solujen sisennys", -DlgTableCaption : "Otsikko", -DlgTableSummary : "Yhteenveto", - -// Table Cell Dialog -DlgCellTitle : "Solun ominaisuudet", -DlgCellWidth : "Leveys", -DlgCellWidthPx : "pikseliä", -DlgCellWidthPc : "prosenttia", -DlgCellHeight : "Korkeus", -DlgCellWordWrap : "Tekstikierrätys", -DlgCellWordWrapNotSet : "<Ei asetettu>", -DlgCellWordWrapYes : "Kyllä", -DlgCellWordWrapNo : "Ei", -DlgCellHorAlign : "Vaakakohdistus", -DlgCellHorAlignNotSet : "<Ei asetettu>", -DlgCellHorAlignLeft : "Vasemmalle", -DlgCellHorAlignCenter : "Keskelle", -DlgCellHorAlignRight: "Oikealle", -DlgCellVerAlign : "Pystykohdistus", -DlgCellVerAlignNotSet : "<Ei asetettu>", -DlgCellVerAlignTop : "Ylös", -DlgCellVerAlignMiddle : "Keskelle", -DlgCellVerAlignBottom : "Alas", -DlgCellVerAlignBaseline : "Tekstin alas", -DlgCellRowSpan : "Rivin jatkuvuus", -DlgCellCollSpan : "Sarakkeen jatkuvuus", -DlgCellBackColor : "Taustaväri", -DlgCellBorderColor : "Rajan väri", -DlgCellBtnSelect : "Valitse...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Etsi ja korvaa", - -// Find Dialog -DlgFindTitle : "Etsi", -DlgFindFindBtn : "Etsi", -DlgFindNotFoundMsg : "Etsittyä tekstiä ei löytynyt.", - -// Replace Dialog -DlgReplaceTitle : "Korvaa", -DlgReplaceFindLbl : "Etsi mitä:", -DlgReplaceReplaceLbl : "Korvaa tällä:", -DlgReplaceCaseChk : "Sama kirjainkoko", -DlgReplaceReplaceBtn : "Korvaa", -DlgReplaceReplAllBtn : "Korvaa kaikki", -DlgReplaceWordChk : "Koko sana", - -// Paste Operations / Dialog -PasteErrorCut : "Selaimesi turva-asetukset eivät salli editorin toteuttaa leikkaamista. Käytä näppäimistöä leikkaamiseen (Ctrl+X).", -PasteErrorCopy : "Selaimesi turva-asetukset eivät salli editorin toteuttaa kopioimista. Käytä näppäimistöä kopioimiseen (Ctrl+C).", - -PasteAsText : "Liitä tekstinä", -PasteFromWord : "Liitä Wordista", - -DlgPasteMsg2 : "Liitä painamalla (<STRONG>Ctrl+V</STRONG>) ja painamalla <STRONG>OK</STRONG>.", -DlgPasteSec : "Selaimesi turva-asetukset eivät salli editorin käyttää leikepöytää suoraan. Sinun pitää suorittaa liittäminen tässä ikkunassa.", -DlgPasteIgnoreFont : "Jätä huomioimatta fonttimääritykset", -DlgPasteRemoveStyles : "Poista tyylimääritykset", -DlgPasteCleanBox : "Tyhjennä", - -// Color Picker -ColorAutomatic : "Automaattinen", -ColorMoreColors : "Lisää värejä...", - -// Document Properties -DocProps : "Dokumentin ominaisuudet", - -// Anchor Dialog -DlgAnchorTitle : "Ankkurin ominaisuudet", -DlgAnchorName : "Nimi", -DlgAnchorErrorName : "Ankkurille on kirjoitettava nimi", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ei sanakirjassa", -DlgSpellChangeTo : "Vaihda", -DlgSpellBtnIgnore : "Jätä huomioimatta", -DlgSpellBtnIgnoreAll : "Jätä kaikki huomioimatta", -DlgSpellBtnReplace : "Korvaa", -DlgSpellBtnReplaceAll : "Korvaa kaikki", -DlgSpellBtnUndo : "Kumoa", -DlgSpellNoSuggestions : "Ei ehdotuksia", -DlgSpellProgress : "Tarkistus käynnissä...", -DlgSpellNoMispell : "Tarkistus valmis: Ei virheitä", -DlgSpellNoChanges : "Tarkistus valmis: Yhtään sanaa ei muutettu", -DlgSpellOneChange : "Tarkistus valmis: Yksi sana muutettiin", -DlgSpellManyChanges : "Tarkistus valmis: %1 sanaa muutettiin", - -IeSpellDownload : "Oikeinkirjoituksen tarkistusta ei ole asennettu. Haluatko ladata sen nyt?", - -// Button Dialog -DlgButtonText : "Teksti (arvo)", -DlgButtonType : "Tyyppi", -DlgButtonTypeBtn : "Painike", -DlgButtonTypeSbm : "Lähetä", -DlgButtonTypeRst : "Tyhjennä", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nimi", -DlgCheckboxValue : "Arvo", -DlgCheckboxSelected : "Valittu", - -// Form Dialog -DlgFormName : "Nimi", -DlgFormAction : "Toiminto", -DlgFormMethod : "Tapa", - -// Select Field Dialog -DlgSelectName : "Nimi", -DlgSelectValue : "Arvo", -DlgSelectSize : "Koko", -DlgSelectLines : "Rivit", -DlgSelectChkMulti : "Salli usea valinta", -DlgSelectOpAvail : "Ominaisuudet", -DlgSelectOpText : "Teksti", -DlgSelectOpValue : "Arvo", -DlgSelectBtnAdd : "Lisää", -DlgSelectBtnModify : "Muuta", -DlgSelectBtnUp : "Ylös", -DlgSelectBtnDown : "Alas", -DlgSelectBtnSetValue : "Aseta valituksi", -DlgSelectBtnDelete : "Poista", - -// Textarea Dialog -DlgTextareaName : "Nimi", -DlgTextareaCols : "Sarakkeita", -DlgTextareaRows : "Rivejä", - -// Text Field Dialog -DlgTextName : "Nimi", -DlgTextValue : "Arvo", -DlgTextCharWidth : "Leveys", -DlgTextMaxChars : "Maksimi merkkimäärä", -DlgTextType : "Tyyppi", -DlgTextTypeText : "Teksti", -DlgTextTypePass : "Salasana", - -// Hidden Field Dialog -DlgHiddenName : "Nimi", -DlgHiddenValue : "Arvo", - -// Bulleted List Dialog -BulletedListProp : "Luettelon ominaisuudet", -NumberedListProp : "Numeroinnin ominaisuudet", -DlgLstStart : "Alku", -DlgLstType : "Tyyppi", -DlgLstTypeCircle : "Kehä", -DlgLstTypeDisc : "Ympyrä", -DlgLstTypeSquare : "Neliö", -DlgLstTypeNumbers : "Numerot (1, 2, 3)", -DlgLstTypeLCase : "Pienet kirjaimet (a, b, c)", -DlgLstTypeUCase : "Isot kirjaimet (A, B, C)", -DlgLstTypeSRoman : "Pienet roomalaiset numerot (i, ii, iii)", -DlgLstTypeLRoman : "Isot roomalaiset numerot (Ii, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Yleiset", -DlgDocBackTab : "Tausta", -DlgDocColorsTab : "Värit ja marginaalit", -DlgDocMetaTab : "Meta-tieto", - -DlgDocPageTitle : "Sivun nimi", -DlgDocLangDir : "Kielen suunta", -DlgDocLangDirLTR : "Vasemmalta oikealle (LTR)", -DlgDocLangDirRTL : "Oikealta vasemmalle (RTL)", -DlgDocLangCode : "Kielikoodi", -DlgDocCharSet : "Merkistökoodaus", -DlgDocCharSetCE : "Keskieurooppalainen", -DlgDocCharSetCT : "Kiina, perinteinen (Big5)", -DlgDocCharSetCR : "Kyrillinen", -DlgDocCharSetGR : "Kreikka", -DlgDocCharSetJP : "Japani", -DlgDocCharSetKR : "Korealainen", -DlgDocCharSetTR : "Turkkilainen", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Länsieurooppalainen", -DlgDocCharSetOther : "Muu merkistökoodaus", - -DlgDocDocType : "Dokumentin tyyppi", -DlgDocDocTypeOther : "Muu dokumentin tyyppi", -DlgDocIncXHTML : "Lisää XHTML julistukset", -DlgDocBgColor : "Taustaväri", -DlgDocBgImage : "Taustakuva", -DlgDocBgNoScroll : "Paikallaanpysyvä tausta", -DlgDocCText : "Teksti", -DlgDocCLink : "Linkki", -DlgDocCVisited : "Vierailtu linkki", -DlgDocCActive : "Aktiivinen linkki", -DlgDocMargins : "Sivun marginaalit", -DlgDocMaTop : "Ylä", -DlgDocMaLeft : "Vasen", -DlgDocMaRight : "Oikea", -DlgDocMaBottom : "Ala", -DlgDocMeIndex : "Hakusanat (pilkulla erotettuna)", -DlgDocMeDescr : "Kuvaus", -DlgDocMeAuthor : "Tekijä", -DlgDocMeCopy : "Tekijänoikeudet", -DlgDocPreview : "Esikatselu", - -// Templates Dialog -Templates : "Pohjat", -DlgTemplatesTitle : "Sisältöpohjat", -DlgTemplatesSelMsg : "Valitse pohja editoriin<br>(aiempi sisältö menetetään):", -DlgTemplatesLoading : "Ladataan listaa pohjista. Hetkinen...", -DlgTemplatesNoTpl : "(Ei määriteltyjä pohjia)", -DlgTemplatesReplace : "Korvaa editorin koko sisältö", - -// About Dialog -DlgAboutAboutTab : "Editorista", -DlgAboutBrowserInfoTab : "Selaimen tiedot", -DlgAboutLicenseTab : "Lisenssi", -DlgAboutVersion : "versio", -DlgAboutInfo : "Lisää tietoa osoitteesta" -}; diff --git a/editor/editor/lang/fo.js b/editor/editor/lang/fo.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Faroese language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Fjal amboðsbjálkan", -ToolbarExpand : "Vís amboðsbjálkan", - -// Toolbar Items and Context Menu -Save : "Goym", -NewPage : "Nýggj síða", -Preview : "Frumsýning", -Cut : "Kvett", -Copy : "Avrita", -Paste : "Innrita", -PasteText : "Innrita reinan tekst", -PasteWord : "Innrita frá Word", -Print : "Prenta", -SelectAll : "Markera alt", -RemoveFormat : "Strika sniðgeving", -InsertLinkLbl : "Tilknýti", -InsertLink : "Ger/broyt tilknýti", -RemoveLink : "Strika tilknýti", -Anchor : "Ger/broyt marknastein", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Myndir", -InsertImage : "Set inn/broyt mynd", -InsertFlashLbl : "Flash", -InsertFlash : "Set inn/broyt Flash", -InsertTableLbl : "Tabell", -InsertTable : "Set inn/broyt tabell", -InsertLineLbl : "Linja", -InsertLine : "Ger vatnrætta linju", -InsertSpecialCharLbl: "Sertekn", -InsertSpecialChar : "Set inn sertekn", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Set inn Smiley", -About : "Um FCKeditor", -Bold : "Feit skrift", -Italic : "Skráskrift", -Underline : "Undirstrikað", -StrikeThrough : "Yvirstrikað", -Subscript : "Lækkað skrift", -Superscript : "Hækkað skrift", -LeftJustify : "Vinstrasett", -CenterJustify : "Miðsett", -RightJustify : "Høgrasett", -BlockJustify : "Javnir tekstkantar", -DecreaseIndent : "Minka reglubrotarinntriv", -IncreaseIndent : "Økja reglubrotarinntriv", -Blockquote : "Blockquote", //MISSING -Undo : "Angra", -Redo : "Vend aftur", -NumberedListLbl : "Talmerktur listi", -NumberedList : "Ger/strika talmerktan lista", -BulletedListLbl : "Punktmerktur listi", -BulletedList : "Ger/strika punktmerktan lista", -ShowTableBorders : "Vís tabellbordar", -ShowDetails : "Vís í smálutum", -Style : "Typografi", -FontFormat : "Skriftsnið", -Font : "Skrift", -FontSize : "Skriftstødd", -TextColor : "Tekstlitur", -BGColor : "Bakgrundslitur", -Source : "Kelda", -Find : "Leita", -Replace : "Yvirskriva", -SpellCheck : "Kanna stavseting", -UniversalKeyboard : "Knappaborð", -PageBreakLbl : "Síðuskift", -PageBreak : "Ger síðuskift", - -Form : "Formur", -Checkbox : "Flugubein", -RadioButton : "Radioknøttur", -TextField : "Tekstteigur", -Textarea : "Tekstumráði", -HiddenField : "Fjaldur teigur", -Button : "Knøttur", -SelectionField : "Valskrá", -ImageButton : "Myndaknøttur", - -FitWindow : "Set tekstviðgera til fulla stødd", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Broyt tilknýti", -CellCM : "Meski", -RowCM : "Rað", -ColumnCM : "Kolonna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Strika røðir", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Strika kolonnur", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Strika meskar", -MergeCells : "Flætta meskar", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Strika tabell", -CellProperties : "Meskueginleikar", -TableProperties : "Tabelleginleikar", -ImageProperties : "Myndaeginleikar", -FlashProperties : "Flash eginleikar", - -AnchorProp : "Eginleikar fyri marknastein", -ButtonProp : "Eginleikar fyri knøtt", -CheckboxProp : "Eginleikar fyri flugubein", -HiddenFieldProp : "Eginleikar fyri fjaldan teig", -RadioButtonProp : "Eginleikar fyri radioknøtt", -ImageButtonProp : "Eginleikar fyri myndaknøtt", -TextFieldProp : "Eginleikar fyri tekstteig", -SelectionFieldProp : "Eginleikar fyri valskrá", -TextareaProp : "Eginleikar fyri tekstumráði", -FormProp : "Eginleikar fyri Form", - -FontFormats : "Vanligt;Sniðgivið;Adressa;Yvirskrift 1;Yvirskrift 2;Yvirskrift 3;Yvirskrift 4;Yvirskrift 5;Yvirskrift 6", - -// Alerts and Messages -ProcessingXHTML : "XHTML verður viðgjørt. Bíða við...", -Done : "Liðugt", -PasteWordConfirm : "Teksturin, royndur verður at seta inn, tykist at stava frá Word. Vilt tú reinsa tekstin, áðrenn hann verður settur inn?", -NotCompatiblePaste : "Hetta er bert tøkt í Internet Explorer 5.5 og nýggjari. Vilt tú seta tekstin inn kortini - óreinsaðan?", -UnknownToolbarItem : "Ókendur lutur í amboðsbjálkanum \"%1\"", -UnknownCommand : "Ókend kommando \"%1\"", -NotImplemented : "Hetta er ikki tøkt í hesi útgávuni", -UnknownToolbarSet : "Amboðsbjálkin \"%1\" finst ikki", -NoActiveX : "Trygdaruppsetingin í alnótskaganum kann sum er avmarka onkrar hentleikar í tekstviðgeranum. Tú mást loyva møguleikanum \"Run/Kør ActiveX controls and plug-ins\". Tú kanst uppliva feilir og ávaringar um tvørrandi hentleikar.", -BrowseServerBlocked : "Ambætarakagin kundi ikki opnast. Tryggja tær, at allar pop-up forðingar eru óvirknar.", -DialogBlocked : "Tað eyðnaðist ikki at opna samskiftisrútin. Tryggja tær, at allar pop-up forðingar eru óvirknar.", - -// Dialogs -DlgBtnOK : "Góðkent", -DlgBtnCancel : "Avlýst", -DlgBtnClose : "Lat aftur", -DlgBtnBrowseServer : "Ambætarakagi", -DlgAdvancedTag : "Fjølbroytt", -DlgOpOther : "<Annað>", -DlgInfoTab : "Upplýsingar", -DlgAlertUrl : "Vinarliga veit ein URL", - -// General Dialogs Labels -DlgGenNotSet : "<ikki sett>", -DlgGenId : "Id", -DlgGenLangDir : "Tekstkós", -DlgGenLangDirLtr : "Frá vinstru til høgru (LTR)", -DlgGenLangDirRtl : "Frá høgru til vinstru (RTL)", -DlgGenLangCode : "Málkoda", -DlgGenAccessKey : "Snarvegisknappur", -DlgGenName : "Navn", -DlgGenTabIndex : "Inntriv indeks", -DlgGenLongDescr : "Víðkað URL frágreiðing", -DlgGenClass : "Typografi klassar", -DlgGenTitle : "Vegleiðandi heiti", -DlgGenContType : "Vegleiðandi innihaldsslag", -DlgGenLinkCharset : "Atknýtt teknsett", -DlgGenStyle : "Typografi", - -// Image Dialog -DlgImgTitle : "Myndaeginleikar", -DlgImgInfoTab : "Myndaupplýsingar", -DlgImgBtnUpload : "Send til ambætaran", -DlgImgURL : "URL", -DlgImgUpload : "Send", -DlgImgAlt : "Alternativur tekstur", -DlgImgWidth : "Breidd", -DlgImgHeight : "Hædd", -DlgImgLockRatio : "Læs lutfallið", -DlgBtnResetSize : "Upprunastødd", -DlgImgBorder : "Bordi", -DlgImgHSpace : "Høgri breddi", -DlgImgVSpace : "Vinstri breddi", -DlgImgAlign : "Justering", -DlgImgAlignLeft : "Vinstra", -DlgImgAlignAbsBottom: "Abs botnur", -DlgImgAlignAbsMiddle: "Abs miðja", -DlgImgAlignBaseline : "Basislinja", -DlgImgAlignBottom : "Botnur", -DlgImgAlignMiddle : "Miðja", -DlgImgAlignRight : "Høgra", -DlgImgAlignTextTop : "Tekst toppur", -DlgImgAlignTop : "Ovast", -DlgImgPreview : "Frumsýning", -DlgImgAlertUrl : "Rita slóðina til myndina", -DlgImgLinkTab : "Tilknýti", - -// Flash Dialog -DlgFlashTitle : "Flash eginleikar", -DlgFlashChkPlay : "Avspælingin byrjar sjálv", -DlgFlashChkLoop : "Endurspæl", -DlgFlashChkMenu : "Ger Flash skrá virkna", -DlgFlashScale : "Skalering", -DlgFlashScaleAll : "Vís alt", -DlgFlashScaleNoBorder : "Eingin bordi", -DlgFlashScaleFit : "Neyv skalering", - -// Link Dialog -DlgLnkWindowTitle : "Tilknýti", -DlgLnkInfoTab : "Tilknýtis upplýsingar", -DlgLnkTargetTab : "Mál", - -DlgLnkType : "Tilknýtisslag", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Tilknýti til marknastein í tekstinum", -DlgLnkTypeEMail : "Teldupostur", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<Annað>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vel ein marknastein", -DlgLnkAnchorByName : "Eftir navni á marknasteini", -DlgLnkAnchorById : "Eftir element Id", -DlgLnkNoAnchors : "(Eingir marknasteinar eru í hesum dokumentið)", -DlgLnkEMail : "Teldupost-adressa", -DlgLnkEMailSubject : "Evni", -DlgLnkEMailBody : "Breyðtekstur", -DlgLnkUpload : "Send til ambætaran", -DlgLnkBtnUpload : "Send til ambætaran", - -DlgLnkTarget : "Mál", -DlgLnkTargetFrame : "<ramma>", -DlgLnkTargetPopup : "<popup vindeyga>", -DlgLnkTargetBlank : "Nýtt vindeyga (_blank)", -DlgLnkTargetParent : "Upphavliga vindeygað (_parent)", -DlgLnkTargetSelf : "Sama vindeygað (_self)", -DlgLnkTargetTop : "Alt vindeygað (_top)", -DlgLnkTargetFrameName : "Vís navn vindeygans", -DlgLnkPopWinName : "Popup vindeygans navn", -DlgLnkPopWinFeat : "Popup vindeygans víðkaðu eginleikar", -DlgLnkPopResize : "Kann broyta stødd", -DlgLnkPopLocation : "Adressulinja", -DlgLnkPopMenu : "Skrábjálki", -DlgLnkPopScroll : "Rullibjálki", -DlgLnkPopStatus : "Støðufrágreiðingarbjálki", -DlgLnkPopToolbar : "Amboðsbjálki", -DlgLnkPopFullScrn : "Fullur skermur (IE)", -DlgLnkPopDependent : "Bundið (Netscape)", -DlgLnkPopWidth : "Breidd", -DlgLnkPopHeight : "Hædd", -DlgLnkPopLeft : "Frástøða frá vinstru", -DlgLnkPopTop : "Frástøða frá íerva", - -DlnLnkMsgNoUrl : "Vinarliga skriva tilknýti (URL)", -DlnLnkMsgNoEMail : "Vinarliga skriva teldupost-adressu", -DlnLnkMsgNoAnchor : "Vinarliga vel marknastein", -DlnLnkMsgInvPopName : "Popup navnið má byrja við bókstavi og má ikki hava millumrúm", - -// Color Dialog -DlgColorTitle : "Vel lit", -DlgColorBtnClear : "Strika alt", -DlgColorHighlight : "Framhevja", -DlgColorSelected : "Valt", - -// Smiley Dialog -DlgSmileyTitle : "Vel Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Vel sertekn", - -// Table Dialog -DlgTableTitle : "Eginleikar fyri tabell", -DlgTableRows : "Røðir", -DlgTableColumns : "Kolonnur", -DlgTableBorder : "Bordabreidd", -DlgTableAlign : "Justering", -DlgTableAlignNotSet : "<Einki valt>", -DlgTableAlignLeft : "Vinstrasett", -DlgTableAlignCenter : "Miðsett", -DlgTableAlignRight : "Høgrasett", -DlgTableWidth : "Breidd", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "prosent", -DlgTableHeight : "Hædd", -DlgTableCellSpace : "Fjarstøða millum meskar", -DlgTableCellPad : "Meskubreddi", -DlgTableCaption : "Tabellfrágreiðing", -DlgTableSummary : "Samandráttur", - -// Table Cell Dialog -DlgCellTitle : "Mesku eginleikar", -DlgCellWidth : "Breidd", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "prosent", -DlgCellHeight : "Hædd", -DlgCellWordWrap : "Orðkloyving", -DlgCellWordWrapNotSet : "<Einki valt>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nei", -DlgCellHorAlign : "Vatnrøtt justering", -DlgCellHorAlignNotSet : "<Einki valt>", -DlgCellHorAlignLeft : "Vinstrasett", -DlgCellHorAlignCenter : "Miðsett", -DlgCellHorAlignRight: "Høgrasett", -DlgCellVerAlign : "Lodrøtt justering", -DlgCellVerAlignNotSet : "<Ikki sett>", -DlgCellVerAlignTop : "Ovast", -DlgCellVerAlignMiddle : "Miðjan", -DlgCellVerAlignBottom : "Niðast", -DlgCellVerAlignBaseline : "Basislinja", -DlgCellRowSpan : "Røðir, meskin fevnir um", -DlgCellCollSpan : "Kolonnur, meskin fevnir um", -DlgCellBackColor : "Bakgrundslitur", -DlgCellBorderColor : "Litur á borda", -DlgCellBtnSelect : "Vel...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Finn", -DlgFindFindBtn : "Finn", -DlgFindNotFoundMsg : "Leititeksturin varð ikki funnin", - -// Replace Dialog -DlgReplaceTitle : "Yvirskriva", -DlgReplaceFindLbl : "Finn:", -DlgReplaceReplaceLbl : "Yvirskriva við:", -DlgReplaceCaseChk : "Munur á stórum og smáðum bókstavum", -DlgReplaceReplaceBtn : "Yvirskriva", -DlgReplaceReplAllBtn : "Yvirskriva alt", -DlgReplaceWordChk : "Bert heil orð", - -// Paste Operations / Dialog -PasteErrorCut : "Trygdaruppseting alnótskagans forðar tekstviðgeranum í at kvetta tekstin. vinarliga nýt knappaborðið til at kvetta tekstin (CTRL+X).", -PasteErrorCopy : "Trygdaruppseting alnótskagans forðar tekstviðgeranum í at avrita tekstin. Vinarliga nýt knappaborðið til at avrita tekstin (CTRL+C).", - -PasteAsText : "Innrita som reinan tekst", -PasteFromWord : "Innrita fra Word", - -DlgPasteMsg2 : "Vinarliga koyr tekstin í hendan rútin við knappaborðinum (<strong>CTRL+V</strong>) og klikk á <strong>Góðtak</strong>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Forfjóna Font definitiónirnar", -DlgPasteRemoveStyles : "Strika Styles definitiónir", -DlgPasteCleanBox : "Reinskanarkassi", - -// Color Picker -ColorAutomatic : "Av sær sjálvum", -ColorMoreColors : "Fleiri litir...", - -// Document Properties -DocProps : "Eginleikar fyri dokument", - -// Anchor Dialog -DlgAnchorTitle : "Eginleikar fyri marknastein", -DlgAnchorName : "Heiti marknasteinsins", -DlgAnchorErrorName : "Vinarliga rita marknasteinsins heiti", - -// Speller Pages Dialog -DlgSpellNotInDic : "Finst ikki í orðabókini", -DlgSpellChangeTo : "Broyt til", -DlgSpellBtnIgnore : "Forfjóna", -DlgSpellBtnIgnoreAll : "Forfjóna alt", -DlgSpellBtnReplace : "Yvirskriva", -DlgSpellBtnReplaceAll : "Yvirskriva alt", -DlgSpellBtnUndo : "Angra", -DlgSpellNoSuggestions : "- Einki uppskot -", -DlgSpellProgress : "Rættstavarin arbeiðir...", -DlgSpellNoMispell : "Rættstavarain liðugur: Eingin feilur funnin", -DlgSpellNoChanges : "Rættstavarain liðugur: Einki orð varð broytt", -DlgSpellOneChange : "Rættstavarain liðugur: Eitt orð er broytt", -DlgSpellManyChanges : "Rættstavarain liðugur: %1 orð broytt", - -IeSpellDownload : "Rættstavarin er ikki tøkur í tekstviðgeranum. Vilt tú heinta hann nú?", - -// Button Dialog -DlgButtonText : "Tekstur", -DlgButtonType : "Slag", -DlgButtonTypeBtn : "Knøttur", -DlgButtonTypeSbm : "Send", -DlgButtonTypeRst : "Nullstilla", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Navn", -DlgCheckboxValue : "Virði", -DlgCheckboxSelected : "Valt", - -// Form Dialog -DlgFormName : "Navn", -DlgFormAction : "Hending", -DlgFormMethod : "Háttur", - -// Select Field Dialog -DlgSelectName : "Navn", -DlgSelectValue : "Virði", -DlgSelectSize : "Stødd", -DlgSelectLines : "Linjur", -DlgSelectChkMulti : "Loyv fleiri valmøguleikum samstundis", -DlgSelectOpAvail : "Tøkir møguleikar", -DlgSelectOpText : "Tekstur", -DlgSelectOpValue : "Virði", -DlgSelectBtnAdd : "Legg afturat", -DlgSelectBtnModify : "Broyt", -DlgSelectBtnUp : "Upp", -DlgSelectBtnDown : "Niður", -DlgSelectBtnSetValue : "Set sum valt virði", -DlgSelectBtnDelete : "Strika", - -// Textarea Dialog -DlgTextareaName : "Navn", -DlgTextareaCols : "kolonnur", -DlgTextareaRows : "røðir", - -// Text Field Dialog -DlgTextName : "Navn", -DlgTextValue : "Virði", -DlgTextCharWidth : "Breidd (sjónlig tekn)", -DlgTextMaxChars : "Mest loyvdu tekn", -DlgTextType : "Slag", -DlgTextTypeText : "Tekstur", -DlgTextTypePass : "Loyniorð", - -// Hidden Field Dialog -DlgHiddenName : "Navn", -DlgHiddenValue : "Virði", - -// Bulleted List Dialog -BulletedListProp : "Eginleikar fyri punktmerktan lista", -NumberedListProp : "Eginleikar fyri talmerktan lista", -DlgLstStart : "Byrjan", -DlgLstType : "Slag", -DlgLstTypeCircle : "Sirkul", -DlgLstTypeDisc : "Fyltur sirkul", -DlgLstTypeSquare : "Fjórhyrningur", -DlgLstTypeNumbers : "Talmerkt (1, 2, 3)", -DlgLstTypeLCase : "Smáir bókstavir (a, b, c)", -DlgLstTypeUCase : "Stórir bókstavir (A, B, C)", -DlgLstTypeSRoman : "Smá rómaratøl (i, ii, iii)", -DlgLstTypeLRoman : "Stór rómaratøl (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Generelt", -DlgDocBackTab : "Bakgrund", -DlgDocColorsTab : "Litir og breddar", -DlgDocMetaTab : "META-upplýsingar", - -DlgDocPageTitle : "Síðuheiti", -DlgDocLangDir : "Tekstkós", -DlgDocLangDirLTR : "Frá vinstru móti høgru (LTR)", -DlgDocLangDirRTL : "Frá høgru móti vinstru (RTL)", -DlgDocLangCode : "Málkoda", -DlgDocCharSet : "Teknsett koda", -DlgDocCharSetCE : "Miðeuropa", -DlgDocCharSetCT : "Kinesiskt traditionelt (Big5)", -DlgDocCharSetCR : "Cyrilliskt", -DlgDocCharSetGR : "Grikst", -DlgDocCharSetJP : "Japanskt", -DlgDocCharSetKR : "Koreanskt", -DlgDocCharSetTR : "Turkiskt", -DlgDocCharSetUN : "UNICODE (UTF-8)", -DlgDocCharSetWE : "Vestureuropa", -DlgDocCharSetOther : "Onnur teknsett koda", - -DlgDocDocType : "Dokumentslag yvirskrift", -DlgDocDocTypeOther : "Annað dokumentslag yvirskrift", -DlgDocIncXHTML : "Viðfest XHTML deklaratiónir", -DlgDocBgColor : "Bakgrundslitur", -DlgDocBgImage : "Leið til bakgrundsmynd (URL)", -DlgDocBgNoScroll : "Læst bakgrund (rullar ikki)", -DlgDocCText : "Tekstur", -DlgDocCLink : "Tilknýti", -DlgDocCVisited : "Vitjaði tilknýti", -DlgDocCActive : "Virkin tilknýti", -DlgDocMargins : "Síðubreddar", -DlgDocMaTop : "Ovast", -DlgDocMaLeft : "Vinstra", -DlgDocMaRight : "Høgra", -DlgDocMaBottom : "Niðast", -DlgDocMeIndex : "Dokument index lyklaorð (sundurbýtt við komma)", -DlgDocMeDescr : "Dokumentlýsing", -DlgDocMeAuthor : "Høvundur", -DlgDocMeCopy : "Upphavsrættindi", -DlgDocPreview : "Frumsýning", - -// Templates Dialog -Templates : "Skabelónir", -DlgTemplatesTitle : "Innihaldsskabelónir", -DlgTemplatesSelMsg : "Vinarliga vel ta skabelón, ið skal opnast í tekstviðgeranum<br>(Hetta yvirskrivar núverandi innihald):", -DlgTemplatesLoading : "Heinti yvirlit yvir skabelónir. Vinarliga bíða við...", -DlgTemplatesNoTpl : "(Ongar skabelónir tøkar)", -DlgTemplatesReplace : "Yvirskriva núverandi innihald", - -// About Dialog -DlgAboutAboutTab : "Um", -DlgAboutBrowserInfoTab : "Upplýsingar um alnótskagan", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "Fyri fleiri upplýsingar, far til" -}; diff --git a/editor/editor/lang/fr.js b/editor/editor/lang/fr.js @@ -1,516 +1,6 @@ /* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * French language file. - */ +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Masquer Outils", -ToolbarExpand : "Afficher Outils", - -// Toolbar Items and Context Menu -Save : "Enregistrer", -NewPage : "Nouvelle page", -Preview : "Prévisualisation", -Cut : "Couper", -Copy : "Copier", -Paste : "Coller", -PasteText : "Coller comme texte", -PasteWord : "Coller de Word", -Print : "Imprimer", -SelectAll : "Tout sélectionner", -RemoveFormat : "Supprimer le format", -InsertLinkLbl : "Lien", -InsertLink : "Insérer/modifier le lien", -RemoveLink : "Supprimer le lien", -Anchor : "Insérer/modifier l'ancre", -AnchorDelete : "Supprimer l'ancre", -InsertImageLbl : "Image", -InsertImage : "Insérer/modifier l'image", -InsertFlashLbl : "Animation Flash", -InsertFlash : "Insérer/modifier l'animation Flash", -InsertTableLbl : "Tableau", -InsertTable : "Insérer/modifier le tableau", -InsertLineLbl : "Séparateur", -InsertLine : "Insérer un séparateur", -InsertSpecialCharLbl: "Caractères spéciaux", -InsertSpecialChar : "Insérer un caractère spécial", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Insérer un Smiley", -About : "A propos de FCKeditor", -Bold : "Gras", -Italic : "Italique", -Underline : "Souligné", -StrikeThrough : "Barré", -Subscript : "Indice", -Superscript : "Exposant", -LeftJustify : "Aligné à gauche", -CenterJustify : "Centré", -RightJustify : "Aligné à Droite", -BlockJustify : "Texte justifié", -DecreaseIndent : "Diminuer le retrait", -IncreaseIndent : "Augmenter le retrait", -Blockquote : "Citation", -Undo : "Annuler", -Redo : "Refaire", -NumberedListLbl : "Liste numérotée", -NumberedList : "Insérer/supprimer la liste numérotée", -BulletedListLbl : "Liste à puces", -BulletedList : "Insérer/supprimer la liste à puces", -ShowTableBorders : "Afficher les bordures du tableau", -ShowDetails : "Afficher les caractères invisibles", -Style : "Style", -FontFormat : "Format", -Font : "Police", -FontSize : "Taille", -TextColor : "Couleur de caractère", -BGColor : "Couleur de fond", -Source : "Source", -Find : "Chercher", -Replace : "Remplacer", -SpellCheck : "Orthographe", -UniversalKeyboard : "Clavier universel", -PageBreakLbl : "Saut de page", -PageBreak : "Insérer un saut de page", - -Form : "Formulaire", -Checkbox : "Case à cocher", -RadioButton : "Bouton radio", -TextField : "Champ texte", -Textarea : "Zone de texte", -HiddenField : "Champ caché", -Button : "Bouton", -SelectionField : "Liste/menu", -ImageButton : "Bouton image", - -FitWindow : "Edition pleine page", -ShowBlocks : "Afficher les blocs", - -// Context Menu -EditLink : "Modifier le lien", -CellCM : "Cellule", -RowCM : "Ligne", -ColumnCM : "Colonne", -InsertRowAfter : "Insérer une ligne après", -InsertRowBefore : "Insérer une ligne avant", -DeleteRows : "Supprimer des lignes", -InsertColumnAfter : "Insérer une colonne après", -InsertColumnBefore : "Insérer une colonne avant", -DeleteColumns : "Supprimer des colonnes", -InsertCellAfter : "Insérer une cellule après", -InsertCellBefore : "Insérer une cellule avant", -DeleteCells : "Supprimer des cellules", -MergeCells : "Fusionner les cellules", -MergeRight : "Fusionner à droite", -MergeDown : "Fusionner en bas", -HorizontalSplitCell : "Scinder la cellule horizontalement", -VerticalSplitCell : "Scinder la cellule verticalement", -TableDelete : "Supprimer le tableau", -CellProperties : "Propriétés de cellule", -TableProperties : "Propriétés du tableau", -ImageProperties : "Propriétés de l'image", -FlashProperties : "Propriétés de l'animation Flash", - -AnchorProp : "Propriétés de l'ancre", -ButtonProp : "Propriétés du bouton", -CheckboxProp : "Propriétés de la case à cocher", -HiddenFieldProp : "Propriétés du champ caché", -RadioButtonProp : "Propriétés du bouton radio", -ImageButtonProp : "Propriétés du bouton image", -TextFieldProp : "Propriétés du champ texte", -SelectionFieldProp : "Propriétés de la liste/du menu", -TextareaProp : "Propriétés de la zone de texte", -FormProp : "Propriétés du formulaire", - -FontFormats : "Normal;Formaté;Adresse;En-tête 1;En-tête 2;En-tête 3;En-tête 4;En-tête 5;En-tête 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Calcul XHTML. Veuillez patienter...", -Done : "Terminé", -PasteWordConfirm : "Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?", -NotCompatiblePaste : "Cette commande nécessite Internet Explorer version 5.5 minimum. Souhaitez-vous coller sans nettoyage?", -UnknownToolbarItem : "Elément de barre d'outil inconnu \"%1\"", -UnknownCommand : "Nom de commande inconnu \"%1\"", -NotImplemented : "Commande non encore écrite", -UnknownToolbarSet : "La barre d'outils \"%1\" n'existe pas", -NoActiveX : "Les paramètres de sécurité de votre navigateur peuvent limiter quelques fonctionnalités de l'éditeur. Veuillez activer l'option \"Exécuter les contrôles ActiveX et les plug-ins\". Il se peut que vous rencontriez des erreurs et remarquiez quelques limitations.", -BrowseServerBlocked : "Le navigateur n'a pas pu être ouvert. Assurez-vous que les bloqueurs de popups soient désactivés.", -DialogBlocked : "La fenêtre de dialogue n'a pas pu s'ouvrir. Assurez-vous que les bloqueurs de popups soient désactivés.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annuler", -DlgBtnClose : "Fermer", -DlgBtnBrowseServer : "Parcourir le serveur", -DlgAdvancedTag : "Avancé", -DlgOpOther : "<Autre>", -DlgInfoTab : "Info", -DlgAlertUrl : "Veuillez saisir l'URL", - -// General Dialogs Labels -DlgGenNotSet : "<Par défaut>", -DlgGenId : "Id", -DlgGenLangDir : "Sens d'écriture", -DlgGenLangDirLtr : "De gauche à droite (LTR)", -DlgGenLangDirRtl : "De droite à gauche (RTL)", -DlgGenLangCode : "Code langue", -DlgGenAccessKey : "Equivalent clavier", -DlgGenName : "Nom", -DlgGenTabIndex : "Ordre de tabulation", -DlgGenLongDescr : "URL de description longue", -DlgGenClass : "Classes de feuilles de style", -DlgGenTitle : "Titre", -DlgGenContType : "Type de contenu", -DlgGenLinkCharset : "Encodage de caractère", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Propriétés de l'image", -DlgImgInfoTab : "Informations sur l'image", -DlgImgBtnUpload : "Envoyer sur le serveur", -DlgImgURL : "URL", -DlgImgUpload : "Télécharger", -DlgImgAlt : "Texte de remplacement", -DlgImgWidth : "Largeur", -DlgImgHeight : "Hauteur", -DlgImgLockRatio : "Garder les proportions", -DlgBtnResetSize : "Taille originale", -DlgImgBorder : "Bordure", -DlgImgHSpace : "Espacement horizontal", -DlgImgVSpace : "Espacement vertical", -DlgImgAlign : "Alignement", -DlgImgAlignLeft : "Gauche", -DlgImgAlignAbsBottom: "Abs Bas", -DlgImgAlignAbsMiddle: "Abs Milieu", -DlgImgAlignBaseline : "Bas du texte", -DlgImgAlignBottom : "Bas", -DlgImgAlignMiddle : "Milieu", -DlgImgAlignRight : "Droite", -DlgImgAlignTextTop : "Haut du texte", -DlgImgAlignTop : "Haut", -DlgImgPreview : "Prévisualisation", -DlgImgAlertUrl : "Veuillez saisir l'URL de l'image", -DlgImgLinkTab : "Lien", - -// Flash Dialog -DlgFlashTitle : "Propriétés de l'animation Flash", -DlgFlashChkPlay : "Lecture automatique", -DlgFlashChkLoop : "Boucle", -DlgFlashChkMenu : "Activer le menu Flash", -DlgFlashScale : "Affichage", -DlgFlashScaleAll : "Par défaut (tout montrer)", -DlgFlashScaleNoBorder : "Sans bordure", -DlgFlashScaleFit : "Ajuster aux dimensions", - -// Link Dialog -DlgLnkWindowTitle : "Propriétés du lien", -DlgLnkInfoTab : "Informations sur le lien", -DlgLnkTargetTab : "Destination", - -DlgLnkType : "Type de lien", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ancre dans cette page", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocole", -DlgLnkProtoOther : "<autre>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Sélectionner une ancre", -DlgLnkAnchorByName : "Par nom", -DlgLnkAnchorById : "Par id", -DlgLnkNoAnchors : "(Pas d'ancre disponible dans le document)", -DlgLnkEMail : "Adresse E-Mail", -DlgLnkEMailSubject : "Sujet du message", -DlgLnkEMailBody : "Corps du message", -DlgLnkUpload : "Télécharger", -DlgLnkBtnUpload : "Envoyer sur le serveur", - -DlgLnkTarget : "Destination", -DlgLnkTargetFrame : "<cadre>", -DlgLnkTargetPopup : "<fenêtre popup>", -DlgLnkTargetBlank : "Nouvelle fenêtre (_blank)", -DlgLnkTargetParent : "Fenêtre mère (_parent)", -DlgLnkTargetSelf : "Même fenêtre (_self)", -DlgLnkTargetTop : "Fenêtre supérieure (_top)", -DlgLnkTargetFrameName : "Nom du cadre de destination", -DlgLnkPopWinName : "Nom de la fenêtre popup", -DlgLnkPopWinFeat : "Caractéristiques de la fenêtre popup", -DlgLnkPopResize : "Taille modifiable", -DlgLnkPopLocation : "Barre d'adresses", -DlgLnkPopMenu : "Barre de menu", -DlgLnkPopScroll : "Barres de défilement", -DlgLnkPopStatus : "Barre d'état", -DlgLnkPopToolbar : "Barre d'outils", -DlgLnkPopFullScrn : "Plein écran (IE)", -DlgLnkPopDependent : "Dépendante (Netscape)", -DlgLnkPopWidth : "Largeur", -DlgLnkPopHeight : "Hauteur", -DlgLnkPopLeft : "Position à partir de la gauche", -DlgLnkPopTop : "Position à partir du haut", - -DlnLnkMsgNoUrl : "Veuillez saisir l'URL", -DlnLnkMsgNoEMail : "Veuillez saisir l'adresse e-mail", -DlnLnkMsgNoAnchor : "Veuillez sélectionner une ancre", -DlnLnkMsgInvPopName : "Le nom de la fenêtre popup doit commencer par une lettre et ne doit pas contenir d'espace", - -// Color Dialog -DlgColorTitle : "Sélectionner", -DlgColorBtnClear : "Effacer", -DlgColorHighlight : "Prévisualisation", -DlgColorSelected : "Sélectionné", - -// Smiley Dialog -DlgSmileyTitle : "Insérer un Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Insérer un caractère spécial", - -// Table Dialog -DlgTableTitle : "Propriétés du tableau", -DlgTableRows : "Lignes", -DlgTableColumns : "Colonnes", -DlgTableBorder : "Bordure", -DlgTableAlign : "Alignement", -DlgTableAlignNotSet : "<Par défaut>", -DlgTableAlignLeft : "Gauche", -DlgTableAlignCenter : "Centré", -DlgTableAlignRight : "Droite", -DlgTableWidth : "Largeur", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "pourcentage", -DlgTableHeight : "Hauteur", -DlgTableCellSpace : "Espacement", -DlgTableCellPad : "Contour", -DlgTableCaption : "Titre", -DlgTableSummary : "Résumé", - -// Table Cell Dialog -DlgCellTitle : "Propriétés de la cellule", -DlgCellWidth : "Largeur", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "pourcentage", -DlgCellHeight : "Hauteur", -DlgCellWordWrap : "Retour à la ligne", -DlgCellWordWrapNotSet : "<Par défaut>", -DlgCellWordWrapYes : "Oui", -DlgCellWordWrapNo : "Non", -DlgCellHorAlign : "Alignement horizontal", -DlgCellHorAlignNotSet : "<Par défaut>", -DlgCellHorAlignLeft : "Gauche", -DlgCellHorAlignCenter : "Centré", -DlgCellHorAlignRight: "Droite", -DlgCellVerAlign : "Alignement vertical", -DlgCellVerAlignNotSet : "<Par défaut>", -DlgCellVerAlignTop : "Haut", -DlgCellVerAlignMiddle : "Milieu", -DlgCellVerAlignBottom : "Bas", -DlgCellVerAlignBaseline : "Bas du texte", -DlgCellRowSpan : "Lignes fusionnées", -DlgCellCollSpan : "Colonnes fusionnées", -DlgCellBackColor : "Fond", -DlgCellBorderColor : "Bordure", -DlgCellBtnSelect : "Choisir...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Chercher et Remplacer", - -// Find Dialog -DlgFindTitle : "Chercher", -DlgFindFindBtn : "Chercher", -DlgFindNotFoundMsg : "Le texte indiqué est introuvable.", - -// Replace Dialog -DlgReplaceTitle : "Remplacer", -DlgReplaceFindLbl : "Rechercher:", -DlgReplaceReplaceLbl : "Remplacer par:", -DlgReplaceCaseChk : "Respecter la casse", -DlgReplaceReplaceBtn : "Remplacer", -DlgReplaceReplAllBtn : "Tout remplacer", -DlgReplaceWordChk : "Mot entier", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+C).", - -PasteAsText : "Coller comme texte", -PasteFromWord : "Coller à partir de Word", - -DlgPasteMsg2 : "Veuillez coller dans la zone ci-dessous en utilisant le clavier (<STRONG>Ctrl+V</STRONG>) et cliquez sur <STRONG>OK</STRONG>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignorer les polices de caractères", -DlgPasteRemoveStyles : "Supprimer les styles", -DlgPasteCleanBox : "Effacer le contenu", - -// Color Picker -ColorAutomatic : "Automatique", -ColorMoreColors : "Plus de couleurs...", - -// Document Properties -DocProps : "Propriétés du document", - -// Anchor Dialog -DlgAnchorTitle : "Propriétés de l'ancre", -DlgAnchorName : "Nom de l'ancre", -DlgAnchorErrorName : "Veuillez saisir le nom de l'ancre", - -// Speller Pages Dialog -DlgSpellNotInDic : "Pas dans le dictionnaire", -DlgSpellChangeTo : "Changer en", -DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer tout", -DlgSpellBtnReplace : "Remplacer", -DlgSpellBtnReplaceAll : "Remplacer tout", -DlgSpellBtnUndo : "Annuler", -DlgSpellNoSuggestions : "- Aucune suggestion -", -DlgSpellProgress : "Vérification d'orthographe en cours...", -DlgSpellNoMispell : "Vérification d'orthographe terminée: Aucune erreur trouvée", -DlgSpellNoChanges : "Vérification d'orthographe terminée: Pas de modifications", -DlgSpellOneChange : "Vérification d'orthographe terminée: Un mot modifié", -DlgSpellManyChanges : "Vérification d'orthographe terminée: %1 mots modifiés", - -IeSpellDownload : "Le Correcteur n'est pas installé. Souhaitez-vous le télécharger maintenant?", - -// Button Dialog -DlgButtonText : "Texte (valeur)", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Bouton", -DlgButtonTypeSbm : "Envoyer", -DlgButtonTypeRst : "Réinitialiser", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nom", -DlgCheckboxValue : "Valeur", -DlgCheckboxSelected : "Sélectionné", - -// Form Dialog -DlgFormName : "Nom", -DlgFormAction : "Action", -DlgFormMethod : "Méthode", - -// Select Field Dialog -DlgSelectName : "Nom", -DlgSelectValue : "Valeur", -DlgSelectSize : "Taille", -DlgSelectLines : "lignes", -DlgSelectChkMulti : "Sélection multiple", -DlgSelectOpAvail : "Options disponibles", -DlgSelectOpText : "Texte", -DlgSelectOpValue : "Valeur", -DlgSelectBtnAdd : "Ajouter", -DlgSelectBtnModify : "Modifier", -DlgSelectBtnUp : "Monter", -DlgSelectBtnDown : "Descendre", -DlgSelectBtnSetValue : "Valeur sélectionnée", -DlgSelectBtnDelete : "Supprimer", - -// Textarea Dialog -DlgTextareaName : "Nom", -DlgTextareaCols : "Colonnes", -DlgTextareaRows : "Lignes", - -// Text Field Dialog -DlgTextName : "Nom", -DlgTextValue : "Valeur", -DlgTextCharWidth : "Largeur en caractères", -DlgTextMaxChars : "Nombre maximum de caractères", -DlgTextType : "Type", -DlgTextTypeText : "Texte", -DlgTextTypePass : "Mot de passe", - -// Hidden Field Dialog -DlgHiddenName : "Nom", -DlgHiddenValue : "Valeur", - -// Bulleted List Dialog -BulletedListProp : "Propriétés de liste à puces", -NumberedListProp : "Propriétés de liste numérotée", -DlgLstStart : "Début", -DlgLstType : "Type", -DlgLstTypeCircle : "Cercle", -DlgLstTypeDisc : "Disque", -DlgLstTypeSquare : "Carré", -DlgLstTypeNumbers : "Nombres (1, 2, 3)", -DlgLstTypeLCase : "Lettres minuscules (a, b, c)", -DlgLstTypeUCase : "Lettres majuscules (A, B, C)", -DlgLstTypeSRoman : "Chiffres romains minuscules (i, ii, iii)", -DlgLstTypeLRoman : "Chiffres romains majuscules (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Général", -DlgDocBackTab : "Fond", -DlgDocColorsTab : "Couleurs et marges", -DlgDocMetaTab : "Métadonnées", - -DlgDocPageTitle : "Titre de la page", -DlgDocLangDir : "Sens d'écriture", -DlgDocLangDirLTR : "De la gauche vers la droite (LTR)", -DlgDocLangDirRTL : "De la droite vers la gauche (RTL)", -DlgDocLangCode : "Code langue", -DlgDocCharSet : "Encodage de caractère", -DlgDocCharSetCE : "Europe Centrale", -DlgDocCharSetCT : "Chinois Traditionnel (Big5)", -DlgDocCharSetCR : "Cyrillique", -DlgDocCharSetGR : "Grec", -DlgDocCharSetJP : "Japanais", -DlgDocCharSetKR : "Coréen", -DlgDocCharSetTR : "Turc", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Occidental", -DlgDocCharSetOther : "Autre encodage de caractère", - -DlgDocDocType : "Type de document", -DlgDocDocTypeOther : "Autre type de document", -DlgDocIncXHTML : "Inclure les déclarations XHTML", -DlgDocBgColor : "Couleur de fond", -DlgDocBgImage : "Image de fond", -DlgDocBgNoScroll : "Image fixe sans défilement", -DlgDocCText : "Texte", -DlgDocCLink : "Lien", -DlgDocCVisited : "Lien visité", -DlgDocCActive : "Lien activé", -DlgDocMargins : "Marges", -DlgDocMaTop : "Haut", -DlgDocMaLeft : "Gauche", -DlgDocMaRight : "Droite", -DlgDocMaBottom : "Bas", -DlgDocMeIndex : "Mots-clés (séparés par des virgules)", -DlgDocMeDescr : "Description", -DlgDocMeAuthor : "Auteur", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Prévisualisation", - -// Templates Dialog -Templates : "Modèles", -DlgTemplatesTitle : "Modèles de contenu", -DlgTemplatesSelMsg : "Veuillez sélectionner le modèle à ouvrir dans l'éditeur<br>(le contenu actuel sera remplacé):", -DlgTemplatesLoading : "Chargement de la liste des modèles. Veuillez patienter...", -DlgTemplatesNoTpl : "(Aucun modèle disponible)", -DlgTemplatesReplace : "Remplacer tout le contenu", - -// About Dialog -DlgAboutAboutTab : "A propos de", -DlgAboutBrowserInfoTab : "Navigateur", -DlgAboutLicenseTab : "License", -DlgAboutVersion : "version", -DlgAboutInfo : "Pour plus d'informations, aller à" -}; +CKEDITOR.lang.fr={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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:{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',preview:'Preview',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',unavailable:'%1<span class="cke_accessibility">, Indisponible</span>'},specialChar:{toolbar:'Insérer un caractère spécial',title:'Sélectionnez un caractère'},link:{toolbar:'Lien',menu:'Editer le lien',title:'Lien',info:'Infos sur le lien',target:'Cible',upload:'Envoyer',advanced:'Avancé',type:'Type de lien',toUrl:'URL',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:{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"},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:{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',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',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'},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:{title:'Propriétés du bouton',text:'Texte (Value)',type:'Type',typeBtn:'Bouton',typeSbm:'Validation (submit)',typeRst:'Remise à zéro'},checkboxAndRadio:{checkboxTitle:'Propriétés de la case à cocher',radioTitle:'Propriétés du bouton Radio',value:'Valeur',selected:'Sélectionné'},form:{title:'Propriétés du formulaire',menu:'Propriétés du formulaire',action:'Action',method:'Méthode',encoding:'Encodage'},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:{title:'Propriétés de la zone de texte',cols:'Colonnes',rows:'Lignes'},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:{title:'Propriétés du champ caché',name:'Nom',value:'Valeur'},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',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.',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:{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."},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'},elementsPath:{eleLabel:'Elements path',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+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+C).",pasteMsg:'Veuillez coller le texte dans la zone suivante en utilisant le raccourci clavier (<strong>Ctrl+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'},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'},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',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',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',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:'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',auto:'Automatique',more:'Plus de couleurs...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dim 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:'Dark 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:"Vérification d'Orthographe en Cours de Frappe (SCAYT: Spell Check As You Type)",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',languagesTab:'Langues',dictionariesTab:'Dictionnaires',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 &copy; $1. Tous droits réservés.'},maximize:'Agrandir',minimize:'Minimize',fakeobjects:{anchor:'Ancre',flash:'Animation Flash',div:'Saut de Page',unknown:'Objet Inconnu'},resize:'Glisser pour modifier la taille',colordialog:{title:'Select color',highlight:'Highlight',selected:'Selected',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar'}; diff --git a/editor/editor/lang/gl.js b/editor/editor/lang/gl.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Galician language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Ocultar Ferramentas", -ToolbarExpand : "Mostrar Ferramentas", - -// Toolbar Items and Context Menu -Save : "Gardar", -NewPage : "Nova Páxina", -Preview : "Vista Previa", -Cut : "Cortar", -Copy : "Copiar", -Paste : "Pegar", -PasteText : "Pegar como texto plano", -PasteWord : "Pegar dende Word", -Print : "Imprimir", -SelectAll : "Seleccionar todo", -RemoveFormat : "Eliminar Formato", -InsertLinkLbl : "Ligazón", -InsertLink : "Inserir/Editar Ligazón", -RemoveLink : "Eliminar Ligazón", -Anchor : "Inserir/Editar Referencia", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Imaxe", -InsertImage : "Inserir/Editar Imaxe", -InsertFlashLbl : "Flash", -InsertFlash : "Inserir/Editar Flash", -InsertTableLbl : "Tabla", -InsertTable : "Inserir/Editar Tabla", -InsertLineLbl : "Liña", -InsertLine : "Inserir Liña Horizontal", -InsertSpecialCharLbl: "Carácter Special", -InsertSpecialChar : "Inserir Carácter Especial", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Inserir Smiley", -About : "Acerca de FCKeditor", -Bold : "Negrita", -Italic : "Cursiva", -Underline : "Sub-raiado", -StrikeThrough : "Tachado", -Subscript : "Subíndice", -Superscript : "Superíndice", -LeftJustify : "Aliñar á Esquerda", -CenterJustify : "Centrado", -RightJustify : "Aliñar á Dereita", -BlockJustify : "Xustificado", -DecreaseIndent : "Disminuir Sangría", -IncreaseIndent : "Aumentar Sangría", -Blockquote : "Blockquote", //MISSING -Undo : "Desfacer", -Redo : "Refacer", -NumberedListLbl : "Lista Numerada", -NumberedList : "Inserir/Eliminar Lista Numerada", -BulletedListLbl : "Marcas", -BulletedList : "Inserir/Eliminar Marcas", -ShowTableBorders : "Mostrar Bordes das Táboas", -ShowDetails : "Mostrar Marcas Parágrafo", -Style : "Estilo", -FontFormat : "Formato", -Font : "Tipo", -FontSize : "Tamaño", -TextColor : "Cor do Texto", -BGColor : "Cor do Fondo", -Source : "Código Fonte", -Find : "Procurar", -Replace : "Substituir", -SpellCheck : "Corrección Ortográfica", -UniversalKeyboard : "Teclado Universal", -PageBreakLbl : "Salto de Páxina", -PageBreak : "Inserir Salto de Páxina", - -Form : "Formulario", -Checkbox : "Cadro de Verificación", -RadioButton : "Botón de Radio", -TextField : "Campo de Texto", -Textarea : "Área de Texto", -HiddenField : "Campo Oculto", -Button : "Botón", -SelectionField : "Campo de Selección", -ImageButton : "Botón de Imaxe", - -FitWindow : "Maximizar o tamaño do editor", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Editar Ligazón", -CellCM : "Cela", -RowCM : "Fila", -ColumnCM : "Columna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Borrar Filas", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Borrar Columnas", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Borrar Cela", -MergeCells : "Unir Celas", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Borrar Táboa", -CellProperties : "Propriedades da Cela", -TableProperties : "Propriedades da Táboa", -ImageProperties : "Propriedades Imaxe", -FlashProperties : "Propriedades Flash", - -AnchorProp : "Propriedades da Referencia", -ButtonProp : "Propriedades do Botón", -CheckboxProp : "Propriedades do Cadro de Verificación", -HiddenFieldProp : "Propriedades do Campo Oculto", -RadioButtonProp : "Propriedades do Botón de Radio", -ImageButtonProp : "Propriedades do Botón de Imaxe", -TextFieldProp : "Propriedades do Campo de Texto", -SelectionFieldProp : "Propriedades do Campo de Selección", -TextareaProp : "Propriedades da Área de Texto", -FormProp : "Propriedades do Formulario", - -FontFormats : "Normal;Formateado;Enderezo;Enacabezado 1;Encabezado 2;Encabezado 3;Encabezado 4;Encabezado 5;Encabezado 6;Paragraph (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Procesando XHTML. Por facor, agarde...", -Done : "Feiro", -PasteWordConfirm : "Parece que o texto que quere pegar está copiado do Word.¿Quere limpar o formato antes de pegalo?", -NotCompatiblePaste : "Este comando está disponible para Internet Explorer versión 5.5 ou superior. ¿Quere pegalo sen limpar o formato?", -UnknownToolbarItem : "Ítem de ferramentas descoñecido \"%1\"", -UnknownCommand : "Nome de comando descoñecido \"%1\"", -NotImplemented : "Comando non implementado", -UnknownToolbarSet : "O conxunto de ferramentas \"%1\" non existe", -NoActiveX : "As opcións de seguridade do seu navegador poderían limitar algunha das características de editor. Debe activar a opción \"Executar controis ActiveX e plug-ins\". Pode notar que faltan características e experimentar erros", -BrowseServerBlocked : "Non se poido abrir o navegador de recursos. Asegúrese de que están desactivados os bloqueadores de xanelas emerxentes", -DialogBlocked : "Non foi posible abrir a xanela de diálogo. Asegúrese de que están desactivados os bloqueadores de xanelas emerxentes", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancelar", -DlgBtnClose : "Pechar", -DlgBtnBrowseServer : "Navegar no Servidor", -DlgAdvancedTag : "Advanzado", -DlgOpOther : "<Outro>", -DlgInfoTab : "Info", -DlgAlertUrl : "Por favor, insira a URL", - -// General Dialogs Labels -DlgGenNotSet : "<non definido>", -DlgGenId : "Id", -DlgGenLangDir : "Orientación do Idioma", -DlgGenLangDirLtr : "Esquerda a Dereita (LTR)", -DlgGenLangDirRtl : "Dereita a Esquerda (RTL)", -DlgGenLangCode : "Código do Idioma", -DlgGenAccessKey : "Chave de Acceso", -DlgGenName : "Nome", -DlgGenTabIndex : "Índice de Tabulación", -DlgGenLongDescr : "Descrición Completa da URL", -DlgGenClass : "Clases da Folla de Estilos", -DlgGenTitle : "Título", -DlgGenContType : "Tipo de Contido", -DlgGenLinkCharset : "Fonte de Caracteres Vinculado", -DlgGenStyle : "Estilo", - -// Image Dialog -DlgImgTitle : "Propriedades da Imaxe", -DlgImgInfoTab : "Información da Imaxe", -DlgImgBtnUpload : "Enviar ó Servidor", -DlgImgURL : "URL", -DlgImgUpload : "Carregar", -DlgImgAlt : "Texto Alternativo", -DlgImgWidth : "Largura", -DlgImgHeight : "Altura", -DlgImgLockRatio : "Proporcional", -DlgBtnResetSize : "Tamaño Orixinal", -DlgImgBorder : "Límite", -DlgImgHSpace : "Esp. Horiz.", -DlgImgVSpace : "Esp. Vert.", -DlgImgAlign : "Aliñamento", -DlgImgAlignLeft : "Esquerda", -DlgImgAlignAbsBottom: "Abs Inferior", -DlgImgAlignAbsMiddle: "Abs Centro", -DlgImgAlignBaseline : "Liña Base", -DlgImgAlignBottom : "Pé", -DlgImgAlignMiddle : "Centro", -DlgImgAlignRight : "Dereita", -DlgImgAlignTextTop : "Tope do Texto", -DlgImgAlignTop : "Tope", -DlgImgPreview : "Vista Previa", -DlgImgAlertUrl : "Por favor, escriba a URL da imaxe", -DlgImgLinkTab : "Ligazón", - -// Flash Dialog -DlgFlashTitle : "Propriedades Flash", -DlgFlashChkPlay : "Auto Execución", -DlgFlashChkLoop : "Bucle", -DlgFlashChkMenu : "Activar Menú Flash", -DlgFlashScale : "Escalar", -DlgFlashScaleAll : "Amosar Todo", -DlgFlashScaleNoBorder : "Sen Borde", -DlgFlashScaleFit : "Encaixar axustando", - -// Link Dialog -DlgLnkWindowTitle : "Ligazón", -DlgLnkInfoTab : "Información da Ligazón", -DlgLnkTargetTab : "Referencia a esta páxina", - -DlgLnkType : "Tipo de Ligazón", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Referencia nesta páxina", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "<outro>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Seleccionar unha Referencia", -DlgLnkAnchorByName : "Por Nome de Referencia", -DlgLnkAnchorById : "Por Element Id", -DlgLnkNoAnchors : "(Non hai referencias disponibles no documento)", -DlgLnkEMail : "Enderezo de E-Mail", -DlgLnkEMailSubject : "Asunto do Mensaxe", -DlgLnkEMailBody : "Corpo do Mensaxe", -DlgLnkUpload : "Carregar", -DlgLnkBtnUpload : "Enviar ó servidor", - -DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<Xanela Emerxente>", -DlgLnkTargetBlank : "Nova Xanela (_blank)", -DlgLnkTargetParent : "Xanela Pai (_parent)", -DlgLnkTargetSelf : "Mesma Xanela (_self)", -DlgLnkTargetTop : "Xanela Primaria (_top)", -DlgLnkTargetFrameName : "Nome do Marco Destino", -DlgLnkPopWinName : "Nome da Xanela Emerxente", -DlgLnkPopWinFeat : "Características da Xanela Emerxente", -DlgLnkPopResize : "Axustable", -DlgLnkPopLocation : "Barra de Localización", -DlgLnkPopMenu : "Barra de Menú", -DlgLnkPopScroll : "Barras de Desplazamento", -DlgLnkPopStatus : "Barra de Estado", -DlgLnkPopToolbar : "Barra de Ferramentas", -DlgLnkPopFullScrn : "A Toda Pantalla (IE)", -DlgLnkPopDependent : "Dependente (Netscape)", -DlgLnkPopWidth : "Largura", -DlgLnkPopHeight : "Altura", -DlgLnkPopLeft : "Posición Esquerda", -DlgLnkPopTop : "Posición dende Arriba", - -DlnLnkMsgNoUrl : "Por favor, escriba a ligazón URL", -DlnLnkMsgNoEMail : "Por favor, escriba o enderezo de e-mail", -DlnLnkMsgNoAnchor : "Por favor, seleccione un destino", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Seleccionar Color", -DlgColorBtnClear : "Nengunha", -DlgColorHighlight : "Destacado", -DlgColorSelected : "Seleccionado", - -// Smiley Dialog -DlgSmileyTitle : "Inserte un Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Seleccione Caracter Especial", - -// Table Dialog -DlgTableTitle : "Propiedades da Táboa", -DlgTableRows : "Filas", -DlgTableColumns : "Columnas", -DlgTableBorder : "Tamaño do Borde", -DlgTableAlign : "Aliñamento", -DlgTableAlignNotSet : "<Non Definido>", -DlgTableAlignLeft : "Esquerda", -DlgTableAlignCenter : "Centro", -DlgTableAlignRight : "Ereita", -DlgTableWidth : "Largura", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "percent", -DlgTableHeight : "Altura", -DlgTableCellSpace : "Marxe entre Celas", -DlgTableCellPad : "Marxe interior", -DlgTableCaption : "Título", -DlgTableSummary : "Sumario", - -// Table Cell Dialog -DlgCellTitle : "Propriedades da Cela", -DlgCellWidth : "Largura", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "percent", -DlgCellHeight : "Altura", -DlgCellWordWrap : "Axustar Liñas", -DlgCellWordWrapNotSet : "<Non Definido>", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "Non", -DlgCellHorAlign : "Aliñamento Horizontal", -DlgCellHorAlignNotSet : "<Non definido>", -DlgCellHorAlignLeft : "Esquerda", -DlgCellHorAlignCenter : "Centro", -DlgCellHorAlignRight: "Dereita", -DlgCellVerAlign : "Aliñamento Vertical", -DlgCellVerAlignNotSet : "<Non definido>", -DlgCellVerAlignTop : "Arriba", -DlgCellVerAlignMiddle : "Medio", -DlgCellVerAlignBottom : "Abaixo", -DlgCellVerAlignBaseline : "Liña de Base", -DlgCellRowSpan : "Ocupar Filas", -DlgCellCollSpan : "Ocupar Columnas", -DlgCellBackColor : "Color de Fondo", -DlgCellBorderColor : "Color de Borde", -DlgCellBtnSelect : "Seleccionar...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Procurar", -DlgFindFindBtn : "Procurar", -DlgFindNotFoundMsg : "Non te atopou o texto indicado.", - -// Replace Dialog -DlgReplaceTitle : "Substituir", -DlgReplaceFindLbl : "Texto a procurar:", -DlgReplaceReplaceLbl : "Substituir con:", -DlgReplaceCaseChk : "Coincidir Mai./min.", -DlgReplaceReplaceBtn : "Substituir", -DlgReplaceReplAllBtn : "Substitiur Todo", -DlgReplaceWordChk : "Coincidir con toda a palabra", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+C).", - -PasteAsText : "Pegar como texto plano", -PasteFromWord : "Pegar dende Word", - -DlgPasteMsg2 : "Por favor, pegue dentro do seguinte cadro usando o teclado (<STRONG>Ctrl+V</STRONG>) e pulse <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignorar as definicións de Tipografía", -DlgPasteRemoveStyles : "Eliminar as definicións de Estilos", -DlgPasteCleanBox : "Limpar o Cadro", - -// Color Picker -ColorAutomatic : "Automático", -ColorMoreColors : "Máis Cores...", - -// Document Properties -DocProps : "Propriedades do Documento", - -// Anchor Dialog -DlgAnchorTitle : "Propriedades da Referencia", -DlgAnchorName : "Nome da Referencia", -DlgAnchorErrorName : "Por favor, escriba o nome da referencia", - -// Speller Pages Dialog -DlgSpellNotInDic : "Non está no diccionario", -DlgSpellChangeTo : "Cambiar a", -DlgSpellBtnIgnore : "Ignorar", -DlgSpellBtnIgnoreAll : "Ignorar Todas", -DlgSpellBtnReplace : "Substituir", -DlgSpellBtnReplaceAll : "Substituir Todas", -DlgSpellBtnUndo : "Desfacer", -DlgSpellNoSuggestions : "- Sen candidatos -", -DlgSpellProgress : "Corrección ortográfica en progreso...", -DlgSpellNoMispell : "Corrección ortográfica rematada: Non se atoparon erros", -DlgSpellNoChanges : "Corrección ortográfica rematada: Non se substituiu nengunha verba", -DlgSpellOneChange : "Corrección ortográfica rematada: Unha verba substituida", -DlgSpellManyChanges : "Corrección ortográfica rematada: %1 verbas substituidas", - -IeSpellDownload : "O corrector ortográfico non está instalado. ¿Quere descargalo agora?", - -// Button Dialog -DlgButtonText : "Texto (Valor)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nome", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Seleccionado", - -// Form Dialog -DlgFormName : "Nome", -DlgFormAction : "Acción", -DlgFormMethod : "Método", - -// Select Field Dialog -DlgSelectName : "Nome", -DlgSelectValue : "Valor", -DlgSelectSize : "Tamaño", -DlgSelectLines : "liñas", -DlgSelectChkMulti : "Permitir múltiples seleccións", -DlgSelectOpAvail : "Opcións Disponibles", -DlgSelectOpText : "Texto", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Engadir", -DlgSelectBtnModify : "Modificar", -DlgSelectBtnUp : "Subir", -DlgSelectBtnDown : "Baixar", -DlgSelectBtnSetValue : "Definir como valor por defecto", -DlgSelectBtnDelete : "Borrar", - -// Textarea Dialog -DlgTextareaName : "Nome", -DlgTextareaCols : "Columnas", -DlgTextareaRows : "Filas", - -// Text Field Dialog -DlgTextName : "Nome", -DlgTextValue : "Valor", -DlgTextCharWidth : "Tamaño do Caracter", -DlgTextMaxChars : "Máximo de Caracteres", -DlgTextType : "Tipo", -DlgTextTypeText : "Texto", -DlgTextTypePass : "Chave", - -// Hidden Field Dialog -DlgHiddenName : "Nome", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Propriedades das Marcas", -NumberedListProp : "Propriedades da Lista de Numeración", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tipo", -DlgLstTypeCircle : "Círculo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Cuadrado", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", -DlgLstTypeUCase : "Letras Maiúsculas (A, B, C)", -DlgLstTypeSRoman : "Números Romanos en minúscula (i, ii, iii)", -DlgLstTypeLRoman : "Números Romanos en Maiúscula (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Xeral", -DlgDocBackTab : "Fondo", -DlgDocColorsTab : "Cores e Marxes", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Título da Páxina", -DlgDocLangDir : "Orientación do Idioma", -DlgDocLangDirLTR : "Esquerda a Dereita (LTR)", -DlgDocLangDirRTL : "Dereita a Esquerda (RTL)", -DlgDocLangCode : "Código de Idioma", -DlgDocCharSet : "Codificación do Xogo de Caracteres", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Outra Codificación do Xogo de Caracteres", - -DlgDocDocType : "Encabezado do Tipo de Documento", -DlgDocDocTypeOther : "Outro Encabezado do Tipo de Documento", -DlgDocIncXHTML : "Incluir Declaracións XHTML", -DlgDocBgColor : "Cor de Fondo", -DlgDocBgImage : "URL da Imaxe de Fondo", -DlgDocBgNoScroll : "Fondo Fixo", -DlgDocCText : "Texto", -DlgDocCLink : "Ligazóns", -DlgDocCVisited : "Ligazón Visitada", -DlgDocCActive : "Ligazón Activa", -DlgDocMargins : "Marxes da Páxina", -DlgDocMaTop : "Arriba", -DlgDocMaLeft : "Esquerda", -DlgDocMaRight : "Dereita", -DlgDocMaBottom : "Abaixo", -DlgDocMeIndex : "Palabras Chave de Indexación do Documento (separadas por comas)", -DlgDocMeDescr : "Descripción do Documento", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Vista Previa", - -// Templates Dialog -Templates : "Plantillas", -DlgTemplatesTitle : "Plantillas de Contido", -DlgTemplatesSelMsg : "Por favor, seleccione a plantilla a abrir no editor<br>(o contido actual perderase):", -DlgTemplatesLoading : "Cargando listado de plantillas. Por favor, espere...", -DlgTemplatesNoTpl : "(Non hai plantillas definidas)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Acerca de", -DlgAboutBrowserInfoTab : "Información do Navegador", -DlgAboutLicenseTab : "Licencia", -DlgAboutVersion : "versión", -DlgAboutInfo : "Para máis información visitar:" -}; diff --git a/editor/editor/lang/he.js b/editor/editor/lang/he.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Hebrew language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "rtl", - -ToolbarCollapse : "כיווץ סרגל הכלים", -ToolbarExpand : "פתיחת סרגל הכלים", - -// Toolbar Items and Context Menu -Save : "שמירה", -NewPage : "דף חדש", -Preview : "תצוגה מקדימה", -Cut : "גזירה", -Copy : "העתקה", -Paste : "הדבקה", -PasteText : "הדבקה כטקסט פשוט", -PasteWord : "הדבקה מ-וורד", -Print : "הדפסה", -SelectAll : "בחירת הכל", -RemoveFormat : "הסרת העיצוב", -InsertLinkLbl : "קישור", -InsertLink : "הוספת/עריכת קישור", -RemoveLink : "הסרת הקישור", -Anchor : "הוספת/עריכת נקודת עיגון", -AnchorDelete : "הסר נקודת עיגון", -InsertImageLbl : "תמונה", -InsertImage : "הוספת/עריכת תמונה", -InsertFlashLbl : "פלאש", -InsertFlash : "הוסף/ערוך פלאש", -InsertTableLbl : "טבלה", -InsertTable : "הוספת/עריכת טבלה", -InsertLineLbl : "קו", -InsertLine : "הוספת קו אופקי", -InsertSpecialCharLbl: "תו מיוחד", -InsertSpecialChar : "הוספת תו מיוחד", -InsertSmileyLbl : "סמיילי", -InsertSmiley : "הוספת סמיילי", -About : "אודות FCKeditor", -Bold : "מודגש", -Italic : "נטוי", -Underline : "קו תחתון", -StrikeThrough : "כתיב מחוק", -Subscript : "כתיב תחתון", -Superscript : "כתיב עליון", -LeftJustify : "יישור לשמאל", -CenterJustify : "מרכוז", -RightJustify : "יישור לימין", -BlockJustify : "יישור לשוליים", -DecreaseIndent : "הקטנת אינדנטציה", -IncreaseIndent : "הגדלת אינדנטציה", -Blockquote : "בלוק ציטוט", -Undo : "ביטול צעד אחרון", -Redo : "חזרה על צעד אחרון", -NumberedListLbl : "רשימה ממוספרת", -NumberedList : "הוספת/הסרת רשימה ממוספרת", -BulletedListLbl : "רשימת נקודות", -BulletedList : "הוספת/הסרת רשימת נקודות", -ShowTableBorders : "הצגת מסגרת הטבלה", -ShowDetails : "הצגת פרטים", -Style : "סגנון", -FontFormat : "עיצוב", -Font : "גופן", -FontSize : "גודל", -TextColor : "צבע טקסט", -BGColor : "צבע רקע", -Source : "מקור", -Find : "חיפוש", -Replace : "החלפה", -SpellCheck : "בדיקת איות", -UniversalKeyboard : "מקלדת אוניברסלית", -PageBreakLbl : "שבירת דף", -PageBreak : "הוסף שבירת דף", - -Form : "טופס", -Checkbox : "תיבת סימון", -RadioButton : "לחצן אפשרויות", -TextField : "שדה טקסט", -Textarea : "איזור טקסט", -HiddenField : "שדה חבוי", -Button : "כפתור", -SelectionField : "שדה בחירה", -ImageButton : "כפתור תמונה", - -FitWindow : "הגדל את גודל העורך", -ShowBlocks : "הצג בלוקים", - -// Context Menu -EditLink : "עריכת קישור", -CellCM : "תא", -RowCM : "שורה", -ColumnCM : "עמודה", -InsertRowAfter : "הוסף שורה אחרי", -InsertRowBefore : "הוסף שורה לפני", -DeleteRows : "מחיקת שורות", -InsertColumnAfter : "הוסף עמודה אחרי", -InsertColumnBefore : "הוסף עמודה לפני", -DeleteColumns : "מחיקת עמודות", -InsertCellAfter : "הוסף תא אחרי", -InsertCellBefore : "הוסף תא אחרי", -DeleteCells : "מחיקת תאים", -MergeCells : "מיזוג תאים", -MergeRight : "מזג ימינה", -MergeDown : "מזג למטה", -HorizontalSplitCell : "פצל תא אופקית", -VerticalSplitCell : "פצל תא אנכית", -TableDelete : "מחק טבלה", -CellProperties : "תכונות התא", -TableProperties : "תכונות הטבלה", -ImageProperties : "תכונות התמונה", -FlashProperties : "מאפייני פלאש", - -AnchorProp : "מאפייני נקודת עיגון", -ButtonProp : "מאפייני כפתור", -CheckboxProp : "מאפייני תיבת סימון", -HiddenFieldProp : "מאפיני שדה חבוי", -RadioButtonProp : "מאפייני לחצן אפשרויות", -ImageButtonProp : "מאפיני כפתור תמונה", -TextFieldProp : "מאפייני שדה טקסט", -SelectionFieldProp : "מאפייני שדה בחירה", -TextareaProp : "מאפיני איזור טקסט", -FormProp : "מאפיני טופס", - -FontFormats : "נורמלי;קוד;כתובת;כותרת;כותרת 2;כותרת 3;כותרת 4;כותרת 5;כותרת 6", - -// Alerts and Messages -ProcessingXHTML : "מעבד XHTML, נא להמתין...", -Done : "המשימה הושלמה", -PasteWordConfirm : "נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?", -NotCompatiblePaste : "פעולה זו זמינה לדפדפן אינטרנט אקספלורר מגירסא 5.5 ומעלה. האם להמשיך בהדבקה ללא הניקוי?", -UnknownToolbarItem : "פריט לא ידוע בסרגל הכלים \"%1\"", -UnknownCommand : "שם פעולה לא ידוע \"%1\"", -NotImplemented : "הפקודה לא מיושמת", -UnknownToolbarSet : "ערכת סרגל הכלים \"%1\" לא קיימת", -NoActiveX : "הגדרות אבטחה של הדפדפן עלולות לגביל את אפשרויות העריכה.יש לאפשר את האופציה \"הרץ פקדים פעילים ותוספות\". תוכל לחוות טעויות וחיווים של אפשרויות שחסרים.", -BrowseServerBlocked : "לא ניתן לגשת לדפדפן משאבים.אנא וודא שחוסם חלונות הקופצים לא פעיל.", -DialogBlocked : "לא היה ניתן לפתוח חלון דיאלוג. אנא וודא שחוסם חלונות קופצים לא פעיל.", - -// Dialogs -DlgBtnOK : "אישור", -DlgBtnCancel : "ביטול", -DlgBtnClose : "סגירה", -DlgBtnBrowseServer : "סייר השרת", -DlgAdvancedTag : "אפשרויות מתקדמות", -DlgOpOther : "<אחר>", -DlgInfoTab : "מידע", -DlgAlertUrl : "אנה הזן URL", - -// General Dialogs Labels -DlgGenNotSet : "<לא נקבע>", -DlgGenId : "זיהוי (Id)", -DlgGenLangDir : "כיוון שפה", -DlgGenLangDirLtr : "שמאל לימין (LTR)", -DlgGenLangDirRtl : "ימין לשמאל (RTL)", -DlgGenLangCode : "קוד שפה", -DlgGenAccessKey : "מקש גישה", -DlgGenName : "שם", -DlgGenTabIndex : "מספר טאב", -DlgGenLongDescr : "קישור לתיאור מפורט", -DlgGenClass : "גיליונות עיצוב קבוצות", -DlgGenTitle : "כותרת מוצעת", -DlgGenContType : "Content Type מוצע", -DlgGenLinkCharset : "קידוד המשאב המקושר", -DlgGenStyle : "סגנון", - -// Image Dialog -DlgImgTitle : "תכונות התמונה", -DlgImgInfoTab : "מידע על התמונה", -DlgImgBtnUpload : "שליחה לשרת", -DlgImgURL : "כתובת (URL)", -DlgImgUpload : "העלאה", -DlgImgAlt : "טקסט חלופי", -DlgImgWidth : "רוחב", -DlgImgHeight : "גובה", -DlgImgLockRatio : "נעילת היחס", -DlgBtnResetSize : "איפוס הגודל", -DlgImgBorder : "מסגרת", -DlgImgHSpace : "מרווח אופקי", -DlgImgVSpace : "מרווח אנכי", -DlgImgAlign : "יישור", -DlgImgAlignLeft : "לשמאל", -DlgImgAlignAbsBottom: "לתחתית האבסולוטית", -DlgImgAlignAbsMiddle: "מרכוז אבסולוטי", -DlgImgAlignBaseline : "לקו התחתית", -DlgImgAlignBottom : "לתחתית", -DlgImgAlignMiddle : "לאמצע", -DlgImgAlignRight : "לימין", -DlgImgAlignTextTop : "לראש הטקסט", -DlgImgAlignTop : "למעלה", -DlgImgPreview : "תצוגה מקדימה", -DlgImgAlertUrl : "נא להקליד את כתובת התמונה", -DlgImgLinkTab : "קישור", - -// Flash Dialog -DlgFlashTitle : "מאפיני פלאש", -DlgFlashChkPlay : "נגן אוטומטי", -DlgFlashChkLoop : "לולאה", -DlgFlashChkMenu : "אפשר תפריט פלאש", -DlgFlashScale : "גודל", -DlgFlashScaleAll : "הצג הכל", -DlgFlashScaleNoBorder : "ללא גבולות", -DlgFlashScaleFit : "התאמה מושלמת", - -// Link Dialog -DlgLnkWindowTitle : "קישור", -DlgLnkInfoTab : "מידע על הקישור", -DlgLnkTargetTab : "מטרה", - -DlgLnkType : "סוג קישור", -DlgLnkTypeURL : "כתובת (URL)", -DlgLnkTypeAnchor : "עוגן בעמוד זה", -DlgLnkTypeEMail : "דוא''ל", -DlgLnkProto : "פרוטוקול", -DlgLnkProtoOther : "<אחר>", -DlgLnkURL : "כתובת (URL)", -DlgLnkAnchorSel : "בחירת עוגן", -DlgLnkAnchorByName : "עפ''י שם העוגן", -DlgLnkAnchorById : "עפ''י זיהוי (Id) הרכיב", -DlgLnkNoAnchors : "(אין עוגנים זמינים בדף)", -DlgLnkEMail : "כתובת הדוא''ל", -DlgLnkEMailSubject : "נושא ההודעה", -DlgLnkEMailBody : "גוף ההודעה", -DlgLnkUpload : "העלאה", -DlgLnkBtnUpload : "שליחה לשרת", - -DlgLnkTarget : "מטרה", -DlgLnkTargetFrame : "<מסגרת>", -DlgLnkTargetPopup : "<חלון קופץ>", -DlgLnkTargetBlank : "חלון חדש (_blank)", -DlgLnkTargetParent : "חלון האב (_parent)", -DlgLnkTargetSelf : "באותו החלון (_self)", -DlgLnkTargetTop : "חלון ראשי (_top)", -DlgLnkTargetFrameName : "שם מסגרת היעד", -DlgLnkPopWinName : "שם החלון הקופץ", -DlgLnkPopWinFeat : "תכונות החלון הקופץ", -DlgLnkPopResize : "בעל גודל ניתן לשינוי", -DlgLnkPopLocation : "סרגל כתובת", -DlgLnkPopMenu : "סרגל תפריט", -DlgLnkPopScroll : "ניתן לגלילה", -DlgLnkPopStatus : "סרגל חיווי", -DlgLnkPopToolbar : "סרגל הכלים", -DlgLnkPopFullScrn : "מסך מלא (IE)", -DlgLnkPopDependent : "תלוי (Netscape)", -DlgLnkPopWidth : "רוחב", -DlgLnkPopHeight : "גובה", -DlgLnkPopLeft : "מיקום צד שמאל", -DlgLnkPopTop : "מיקום צד עליון", - -DlnLnkMsgNoUrl : "נא להקליד את כתובת הקישור (URL)", -DlnLnkMsgNoEMail : "נא להקליד את כתובת הדוא''ל", -DlnLnkMsgNoAnchor : "נא לבחור עוגן במסמך", -DlnLnkMsgInvPopName : "שם החלון הקופץ חייב להתחיל באותיות ואסור לכלול רווחים", - -// Color Dialog -DlgColorTitle : "בחירת צבע", -DlgColorBtnClear : "איפוס", -DlgColorHighlight : "נוכחי", -DlgColorSelected : "נבחר", - -// Smiley Dialog -DlgSmileyTitle : "הוספת סמיילי", - -// Special Character Dialog -DlgSpecialCharTitle : "בחירת תו מיוחד", - -// Table Dialog -DlgTableTitle : "תכונות טבלה", -DlgTableRows : "שורות", -DlgTableColumns : "עמודות", -DlgTableBorder : "גודל מסגרת", -DlgTableAlign : "יישור", -DlgTableAlignNotSet : "<לא נקבע>", -DlgTableAlignLeft : "שמאל", -DlgTableAlignCenter : "מרכז", -DlgTableAlignRight : "ימין", -DlgTableWidth : "רוחב", -DlgTableWidthPx : "פיקסלים", -DlgTableWidthPc : "אחוז", -DlgTableHeight : "גובה", -DlgTableCellSpace : "מרווח תא", -DlgTableCellPad : "ריפוד תא", -DlgTableCaption : "כיתוב", -DlgTableSummary : "סיכום", - -// Table Cell Dialog -DlgCellTitle : "תכונות תא", -DlgCellWidth : "רוחב", -DlgCellWidthPx : "פיקסלים", -DlgCellWidthPc : "אחוז", -DlgCellHeight : "גובה", -DlgCellWordWrap : "גלילת שורות", -DlgCellWordWrapNotSet : "<לא נקבע>", -DlgCellWordWrapYes : "כן", -DlgCellWordWrapNo : "לא", -DlgCellHorAlign : "יישור אופקי", -DlgCellHorAlignNotSet : "<לא נקבע>", -DlgCellHorAlignLeft : "שמאל", -DlgCellHorAlignCenter : "מרכז", -DlgCellHorAlignRight: "ימין", -DlgCellVerAlign : "יישור אנכי", -DlgCellVerAlignNotSet : "<לא נקבע>", -DlgCellVerAlignTop : "למעלה", -DlgCellVerAlignMiddle : "לאמצע", -DlgCellVerAlignBottom : "לתחתית", -DlgCellVerAlignBaseline : "קו תחתית", -DlgCellRowSpan : "טווח שורות", -DlgCellCollSpan : "טווח עמודות", -DlgCellBackColor : "צבע רקע", -DlgCellBorderColor : "צבע מסגרת", -DlgCellBtnSelect : "בחירה...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "חפש והחלף", - -// Find Dialog -DlgFindTitle : "חיפוש", -DlgFindFindBtn : "חיפוש", -DlgFindNotFoundMsg : "הטקסט המבוקש לא נמצא.", - -// Replace Dialog -DlgReplaceTitle : "החלפה", -DlgReplaceFindLbl : "חיפוש מחרוזת:", -DlgReplaceReplaceLbl : "החלפה במחרוזת:", -DlgReplaceCaseChk : "התאמת סוג אותיות (Case)", -DlgReplaceReplaceBtn : "החלפה", -DlgReplaceReplAllBtn : "החלפה בכל העמוד", -DlgReplaceWordChk : "התאמה למילה המלאה", - -// Paste Operations / Dialog -PasteErrorCut : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות גזירה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+X).", -PasteErrorCopy : "הגדרות האבטחה בדפדפן שלך לא מאפשרות לעורך לבצע פעולות העתקה אוטומטיות. יש להשתמש במקלדת לשם כך (Ctrl+C).", - -PasteAsText : "הדבקה כטקסט פשוט", -PasteFromWord : "הדבקה מ-וורד", - -DlgPasteMsg2 : "אנא הדבק בתוך הקופסה באמצעות (<STRONG>Ctrl+V</STRONG>) ולחץ על <STRONG>אישור</STRONG>.", -DlgPasteSec : "עקב הגדרות אבטחה בדפדפן, לא ניתן לגשת אל לוח הגזירים (clipboard) בצורה ישירה.אנא בצע הדבק שוב בחלון זה.", -DlgPasteIgnoreFont : "התעלם מהגדרות סוג פונט", -DlgPasteRemoveStyles : "הסר הגדרות סגנון", -DlgPasteCleanBox : "ניקוי קופסה", - -// Color Picker -ColorAutomatic : "אוטומטי", -ColorMoreColors : "צבעים נוספים...", - -// Document Properties -DocProps : "מאפיני מסמך", - -// Anchor Dialog -DlgAnchorTitle : "מאפיני נקודת עיגון", -DlgAnchorName : "שם לנקודת עיגון", -DlgAnchorErrorName : "אנא הזן שם לנקודת עיגון", - -// Speller Pages Dialog -DlgSpellNotInDic : "לא נמצא במילון", -DlgSpellChangeTo : "שנה ל", -DlgSpellBtnIgnore : "התעלם", -DlgSpellBtnIgnoreAll : "התעלם מהכל", -DlgSpellBtnReplace : "החלף", -DlgSpellBtnReplaceAll : "החלף הכל", -DlgSpellBtnUndo : "החזר", -DlgSpellNoSuggestions : "- אין הצעות -", -DlgSpellProgress : "בדיקות איות בתהליך ....", -DlgSpellNoMispell : "בדיקות איות הסתיימה: לא נמצאו שגיעות כתיב", -DlgSpellNoChanges : "בדיקות איות הסתיימה: לא שונתה אף מילה", -DlgSpellOneChange : "בדיקות איות הסתיימה: שונתה מילה אחת", -DlgSpellManyChanges : "בדיקות איות הסתיימה: %1 מילים שונו", - -IeSpellDownload : "בודק האיות לא מותקן, האם אתה מעוניין להוריד?", - -// Button Dialog -DlgButtonText : "טקסט (ערך)", -DlgButtonType : "סוג", -DlgButtonTypeBtn : "כפתור", -DlgButtonTypeSbm : "שלח", -DlgButtonTypeRst : "אפס", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "שם", -DlgCheckboxValue : "ערך", -DlgCheckboxSelected : "בחור", - -// Form Dialog -DlgFormName : "שם", -DlgFormAction : "שלח אל", -DlgFormMethod : "סוג שליחה", - -// Select Field Dialog -DlgSelectName : "שם", -DlgSelectValue : "ערך", -DlgSelectSize : "גודל", -DlgSelectLines : "שורות", -DlgSelectChkMulti : "אפשר בחירות מרובות", -DlgSelectOpAvail : "אפשרויות זמינות", -DlgSelectOpText : "טקסט", -DlgSelectOpValue : "ערך", -DlgSelectBtnAdd : "הוסף", -DlgSelectBtnModify : "שנה", -DlgSelectBtnUp : "למעלה", -DlgSelectBtnDown : "למטה", -DlgSelectBtnSetValue : "קבע כברירת מחדל", -DlgSelectBtnDelete : "מחק", - -// Textarea Dialog -DlgTextareaName : "שם", -DlgTextareaCols : "עמודות", -DlgTextareaRows : "שורות", - -// Text Field Dialog -DlgTextName : "שם", -DlgTextValue : "ערך", -DlgTextCharWidth : "רוחב באותיות", -DlgTextMaxChars : "מקסימות אותיות", -DlgTextType : "סוג", -DlgTextTypeText : "טקסט", -DlgTextTypePass : "סיסמה", - -// Hidden Field Dialog -DlgHiddenName : "שם", -DlgHiddenValue : "ערך", - -// Bulleted List Dialog -BulletedListProp : "מאפייני רשימה", -NumberedListProp : "מאפייני רשימה ממוספרת", -DlgLstStart : "התחלה", -DlgLstType : "סוג", -DlgLstTypeCircle : "עיגול", -DlgLstTypeDisc : "דיסק", -DlgLstTypeSquare : "מרובע", -DlgLstTypeNumbers : "מספרים (1, 2, 3)", -DlgLstTypeLCase : "אותיות קטנות (a, b, c)", -DlgLstTypeUCase : "אותיות גדולות (A, B, C)", -DlgLstTypeSRoman : "ספרות רומאיות קטנות (i, ii, iii)", -DlgLstTypeLRoman : "ספרות רומאיות גדולות (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "כללי", -DlgDocBackTab : "רקע", -DlgDocColorsTab : "צבעים וגבולות", -DlgDocMetaTab : "נתוני META", - -DlgDocPageTitle : "כותרת דף", -DlgDocLangDir : "כיוון שפה", -DlgDocLangDirLTR : "שמאל לימין (LTR)", -DlgDocLangDirRTL : "ימין לשמאל (RTL)", -DlgDocLangCode : "קוד שפה", -DlgDocCharSet : "קידוד אותיות", -DlgDocCharSetCE : "מרכז אירופה", -DlgDocCharSetCT : "סיני מסורתי (Big5)", -DlgDocCharSetCR : "קירילי", -DlgDocCharSetGR : "יוונית", -DlgDocCharSetJP : "יפנית", -DlgDocCharSetKR : "קוראנית", -DlgDocCharSetTR : "טורקית", -DlgDocCharSetUN : "יוני קוד (UTF-8)", -DlgDocCharSetWE : "מערב אירופה", -DlgDocCharSetOther : "קידוד אותיות אחר", - -DlgDocDocType : "הגדרות סוג מסמך", -DlgDocDocTypeOther : "הגדרות סוג מסמך אחרות", -DlgDocIncXHTML : "כלול הגדרות XHTML", -DlgDocBgColor : "צבע רקע", -DlgDocBgImage : "URL לתמונת רקע", -DlgDocBgNoScroll : "רגע ללא גלילה", -DlgDocCText : "טקסט", -DlgDocCLink : "קישור", -DlgDocCVisited : "קישור שבוקר", -DlgDocCActive : " קישור פעיל", -DlgDocMargins : "גבולות דף", -DlgDocMaTop : "למעלה", -DlgDocMaLeft : "שמאלה", -DlgDocMaRight : "ימינה", -DlgDocMaBottom : "למטה", -DlgDocMeIndex : "מפתח עניינים של המסמך )מופרד בפסיק(", -DlgDocMeDescr : "תאור מסמך", -DlgDocMeAuthor : "מחבר", -DlgDocMeCopy : "זכויות יוצרים", -DlgDocPreview : "תצוגה מקדימה", - -// Templates Dialog -Templates : "תבניות", -DlgTemplatesTitle : "תביות תוכן", -DlgTemplatesSelMsg : "אנא בחר תבנית לפתיחה בעורך <BR>התוכן המקורי ימחק:", -DlgTemplatesLoading : "מעלה רשימת תבניות אנא המתן", -DlgTemplatesNoTpl : "(לא הוגדרו תבניות)", -DlgTemplatesReplace : "החלפת תוכן ממשי", - -// About Dialog -DlgAboutAboutTab : "אודות", -DlgAboutBrowserInfoTab : "גירסת דפדפן", -DlgAboutLicenseTab : "רשיון", -DlgAboutVersion : "גירסא", -DlgAboutInfo : "מידע נוסף ניתן למצוא כאן:" -}; diff --git a/editor/editor/lang/hi.js b/editor/editor/lang/hi.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Hindi language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "टूलबार सिमटायें", -ToolbarExpand : "टूलबार का विस्तार करें", - -// Toolbar Items and Context Menu -Save : "सेव", -NewPage : "नया पेज", -Preview : "प्रीव्यू", -Cut : "कट", -Copy : "कॉपी", -Paste : "पेस्ट", -PasteText : "पेस्ट (सादा टॅक्स्ट)", -PasteWord : "पेस्ट (वर्ड से)", -Print : "प्रिन्ट", -SelectAll : "सब सॅलॅक्ट करें", -RemoveFormat : "फ़ॉर्मैट हटायें", -InsertLinkLbl : "लिंक", -InsertLink : "लिंक इन्सर्ट/संपादन", -RemoveLink : "लिंक हटायें", -Anchor : "ऐंकर इन्सर्ट/संपादन", -AnchorDelete : "ऐंकर हटायें", -InsertImageLbl : "तस्वीर", -InsertImage : "तस्वीर इन्सर्ट/संपादन", -InsertFlashLbl : "फ़्लैश", -InsertFlash : "फ़्लैश इन्सर्ट/संपादन", -InsertTableLbl : "टेबल", -InsertTable : "टेबल इन्सर्ट/संपादन", -InsertLineLbl : "रेखा", -InsertLine : "हॉरिज़ॉन्टल रेखा इन्सर्ट करें", -InsertSpecialCharLbl: "विशेष करॅक्टर", -InsertSpecialChar : "विशेष करॅक्टर इन्सर्ट करें", -InsertSmileyLbl : "स्माइली", -InsertSmiley : "स्माइली इन्सर्ट करें", -About : "FCKeditor के बारे में", -Bold : "बोल्ड", -Italic : "इटैलिक", -Underline : "रेखांकण", -StrikeThrough : "स्ट्राइक थ्रू", -Subscript : "अधोलेख", -Superscript : "अभिलेख", -LeftJustify : "बायीं तरफ", -CenterJustify : "बीच में", -RightJustify : "दायीं तरफ", -BlockJustify : "ब्लॉक जस्टीफ़ाई", -DecreaseIndent : "इन्डॅन्ट कम करें", -IncreaseIndent : "इन्डॅन्ट बढ़ायें", -Blockquote : "ब्लॉक-कोट", -Undo : "अन्डू", -Redo : "रीडू", -NumberedListLbl : "अंकीय सूची", -NumberedList : "अंकीय सूची इन्सर्ट/संपादन", -BulletedListLbl : "बुलॅट सूची", -BulletedList : "बुलॅट सूची इन्सर्ट/संपादन", -ShowTableBorders : "टेबल बॉर्डरयें दिखायें", -ShowDetails : "ज्यादा दिखायें", -Style : "स्टाइल", -FontFormat : "फ़ॉर्मैट", -Font : "फ़ॉन्ट", -FontSize : "साइज़", -TextColor : "टेक्स्ट रंग", -BGColor : "बैक्ग्राउन्ड रंग", -Source : "सोर्स", -Find : "खोजें", -Replace : "रीप्लेस", -SpellCheck : "वर्तनी (स्पेलिंग) जाँच", -UniversalKeyboard : "यूनीवर्सल कीबोर्ड", -PageBreakLbl : "पेज ब्रेक", -PageBreak : "पेज ब्रेक इन्सर्ट् करें", - -Form : "फ़ॉर्म", -Checkbox : "चॅक बॉक्स", -RadioButton : "रेडिओ बटन", -TextField : "टेक्स्ट फ़ील्ड", -Textarea : "टेक्स्ट एरिया", -HiddenField : "गुप्त फ़ील्ड", -Button : "बटन", -SelectionField : "चुनाव फ़ील्ड", -ImageButton : "तस्वीर बटन", - -FitWindow : "एडिटर साइज़ को चरम सीमा तक बढ़ायें", -ShowBlocks : "ब्लॉक दिखायें", - -// Context Menu -EditLink : "लिंक संपादन", -CellCM : "खाना", -RowCM : "पंक्ति", -ColumnCM : "कालम", -InsertRowAfter : "बाद में पंक्ति डालें", -InsertRowBefore : "पहले पंक्ति डालें", -DeleteRows : "पंक्तियाँ डिलीट करें", -InsertColumnAfter : "बाद में कालम डालें", -InsertColumnBefore : "पहले कालम डालें", -DeleteColumns : "कालम डिलीट करें", -InsertCellAfter : "बाद में सैल डालें", -InsertCellBefore : "पहले सैल डालें", -DeleteCells : "सैल डिलीट करें", -MergeCells : "सैल मिलायें", -MergeRight : "बाँया विलय", -MergeDown : "नीचे विलय करें", -HorizontalSplitCell : "सैल को क्षैतिज स्थिति में विभाजित करें", -VerticalSplitCell : "सैल को लम्बाकार में विभाजित करें", -TableDelete : "टेबल डिलीट करें", -CellProperties : "सैल प्रॉपर्टीज़", -TableProperties : "टेबल प्रॉपर्टीज़", -ImageProperties : "तस्वीर प्रॉपर्टीज़", -FlashProperties : "फ़्लैश प्रॉपर्टीज़", - -AnchorProp : "ऐंकर प्रॉपर्टीज़", -ButtonProp : "बटन प्रॉपर्टीज़", -CheckboxProp : "चॅक बॉक्स प्रॉपर्टीज़", -HiddenFieldProp : "गुप्त फ़ील्ड प्रॉपर्टीज़", -RadioButtonProp : "रेडिओ बटन प्रॉपर्टीज़", -ImageButtonProp : "तस्वीर बटन प्रॉपर्टीज़", -TextFieldProp : "टेक्स्ट फ़ील्ड प्रॉपर्टीज़", -SelectionFieldProp : "चुनाव फ़ील्ड प्रॉपर्टीज़", -TextareaProp : "टेक्स्त एरिया प्रॉपर्टीज़", -FormProp : "फ़ॉर्म प्रॉपर्टीज़", - -FontFormats : "साधारण;फ़ॉर्मैटॅड;पता;शीर्षक 1;शीर्षक 2;शीर्षक 3;शीर्षक 4;शीर्षक 5;शीर्षक 6;शीर्षक (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML प्रोसॅस हो रहा है। ज़रा ठहरें...", -Done : "पूरा हुआ", -PasteWordConfirm : "आप जो टेक्स्ट पेस्ट करना चाहते हैं, वह वर्ड से कॉपी किया हुआ लग रहा है। क्या पेस्ट करने से पहले आप इसे साफ़ करना चाहेंगे?", -NotCompatiblePaste : "यह कमांड इन्टरनॅट एक्स्प्लोरर(Internet Explorer) 5.5 या उसके बाद के वर्ज़न के लिए ही उपलब्ध है। क्या आप बिना साफ़ किए पेस्ट करना चाहेंगे?", -UnknownToolbarItem : "अनजान टूलबार आइटम \"%1\"", -UnknownCommand : "अनजान कमान्ड \"%1\"", -NotImplemented : "कमान्ड इम्प्लीमॅन्ट नहीं किया गया है", -UnknownToolbarSet : "टूलबार सॅट \"%1\" उपलब्ध नहीं है", -NoActiveX : "आपके ब्राउज़र् की सुरक्शा सेटिंग्स् एडिटर की कुछ् फ़ीचरों को सीमित कर् सकती हैं। क्रिपया \"Run ActiveX controls and plug-ins\" विकल्प को एनेबल करें. आपको एरर्स् और गायब फ़ीचर्स् का अनुभव हो सकता है।", -BrowseServerBlocked : "रिसोर्सेज़ ब्राउज़र् नहीं खोला जा सका। क्रिपया सभी पॉप्-अप् ब्लॉकर्स् को डिसेबल करें।", -DialogBlocked : "डायलग विन्डो नहीं खोला जा सका। क्रिपया सभी पॉप्-अप् ब्लॉकर्स् को डिसेबल करें।", - -// Dialogs -DlgBtnOK : "ठीक है", -DlgBtnCancel : "रद्द करें", -DlgBtnClose : "बन्द करें", -DlgBtnBrowseServer : "सर्वर ब्राउज़ करें", -DlgAdvancedTag : "ऍड्वान्स्ड", -DlgOpOther : "<अन्य>", -DlgInfoTab : "सूचना", -DlgAlertUrl : "URL इन्सर्ट करें", - -// General Dialogs Labels -DlgGenNotSet : "<सॅट नहीं>", -DlgGenId : "Id", -DlgGenLangDir : "भाषा लिखने की दिशा", -DlgGenLangDirLtr : "बायें से दायें (LTR)", -DlgGenLangDirRtl : "दायें से बायें (RTL)", -DlgGenLangCode : "भाषा कोड", -DlgGenAccessKey : "ऍक्सॅस की", -DlgGenName : "नाम", -DlgGenTabIndex : "टैब इन्डॅक्स", -DlgGenLongDescr : "अधिक विवरण के लिए URL", -DlgGenClass : "स्टाइल-शीट क्लास", -DlgGenTitle : "परामर्श शीर्शक", -DlgGenContType : "परामर्श कन्टॅन्ट प्रकार", -DlgGenLinkCharset : "लिंक रिसोर्स करॅक्टर सॅट", -DlgGenStyle : "स्टाइल", - -// Image Dialog -DlgImgTitle : "तस्वीर प्रॉपर्टीज़", -DlgImgInfoTab : "तस्वीर की जानकारी", -DlgImgBtnUpload : "इसे सर्वर को भेजें", -DlgImgURL : "URL", -DlgImgUpload : "अपलोड", -DlgImgAlt : "वैकल्पिक टेक्स्ट", -DlgImgWidth : "चौड़ाई", -DlgImgHeight : "ऊँचाई", -DlgImgLockRatio : "लॉक अनुपात", -DlgBtnResetSize : "रीसॅट साइज़", -DlgImgBorder : "बॉर्डर", -DlgImgHSpace : "हॉरिज़ॉन्टल स्पेस", -DlgImgVSpace : "वर्टिकल स्पेस", -DlgImgAlign : "ऍलाइन", -DlgImgAlignLeft : "दायें", -DlgImgAlignAbsBottom: "Abs नीचे", -DlgImgAlignAbsMiddle: "Abs ऊपर", -DlgImgAlignBaseline : "मूल रेखा", -DlgImgAlignBottom : "नीचे", -DlgImgAlignMiddle : "मध्य", -DlgImgAlignRight : "दायें", -DlgImgAlignTextTop : "टेक्स्ट ऊपर", -DlgImgAlignTop : "ऊपर", -DlgImgPreview : "प्रीव्यू", -DlgImgAlertUrl : "तस्वीर का URL टाइप करें ", -DlgImgLinkTab : "लिंक", - -// Flash Dialog -DlgFlashTitle : "फ़्लैश प्रॉपर्टीज़", -DlgFlashChkPlay : "ऑटो प्ले", -DlgFlashChkLoop : "लूप", -DlgFlashChkMenu : "फ़्लैश मॅन्यू का प्रयोग करें", -DlgFlashScale : "स्केल", -DlgFlashScaleAll : "सभी दिखायें", -DlgFlashScaleNoBorder : "कोई बॉर्डर नहीं", -DlgFlashScaleFit : "बिल्कुल फ़िट", - -// Link Dialog -DlgLnkWindowTitle : "लिंक", -DlgLnkInfoTab : "लिंक ", -DlgLnkTargetTab : "टार्गेट", - -DlgLnkType : "लिंक प्रकार", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "इस पेज का ऐंकर", -DlgLnkTypeEMail : "ई-मेल", -DlgLnkProto : "प्रोटोकॉल", -DlgLnkProtoOther : "<अन्य>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "ऐंकर चुनें", -DlgLnkAnchorByName : "ऐंकर नाम से", -DlgLnkAnchorById : "ऍलीमॅन्ट Id से", -DlgLnkNoAnchors : "(डॉक्यूमॅन्ट में ऐंकर्स की संख्या)", -DlgLnkEMail : "ई-मेल पता", -DlgLnkEMailSubject : "संदेश विषय", -DlgLnkEMailBody : "संदेश", -DlgLnkUpload : "अपलोड", -DlgLnkBtnUpload : "इसे सर्वर को भेजें", - -DlgLnkTarget : "टार्गेट", -DlgLnkTargetFrame : "<फ़्रेम>", -DlgLnkTargetPopup : "<पॉप-अप विन्डो>", -DlgLnkTargetBlank : "नया विन्डो (_blank)", -DlgLnkTargetParent : "मूल विन्डो (_parent)", -DlgLnkTargetSelf : "इसी विन्डो (_self)", -DlgLnkTargetTop : "शीर्ष विन्डो (_top)", -DlgLnkTargetFrameName : "टार्गेट फ़्रेम का नाम", -DlgLnkPopWinName : "पॉप-अप विन्डो का नाम", -DlgLnkPopWinFeat : "पॉप-अप विन्डो फ़ीचर्स", -DlgLnkPopResize : "साइज़ बदला जा सकता है", -DlgLnkPopLocation : "लोकेशन बार", -DlgLnkPopMenu : "मॅन्यू बार", -DlgLnkPopScroll : "स्क्रॉल बार", -DlgLnkPopStatus : "स्टेटस बार", -DlgLnkPopToolbar : "टूल बार", -DlgLnkPopFullScrn : "फ़ुल स्क्रीन (IE)", -DlgLnkPopDependent : "डिपेन्डॅन्ट (Netscape)", -DlgLnkPopWidth : "चौड़ाई", -DlgLnkPopHeight : "ऊँचाई", -DlgLnkPopLeft : "बायीं तरफ", -DlgLnkPopTop : "दायीं तरफ", - -DlnLnkMsgNoUrl : "लिंक URL टाइप करें", -DlnLnkMsgNoEMail : "ई-मेल पता टाइप करें", -DlnLnkMsgNoAnchor : "ऐंकर चुनें", -DlnLnkMsgInvPopName : "पॉप-अप का नाम अल्फाबेट से शुरू होना चाहिये और उसमें स्पेस नहीं होने चाहिए", - -// Color Dialog -DlgColorTitle : "रंग चुनें", -DlgColorBtnClear : "साफ़ करें", -DlgColorHighlight : "हाइलाइट", -DlgColorSelected : "सॅलॅक्टॅड", - -// Smiley Dialog -DlgSmileyTitle : "स्माइली इन्सर्ट करें", - -// Special Character Dialog -DlgSpecialCharTitle : "विशेष करॅक्टर चुनें", - -// Table Dialog -DlgTableTitle : "टेबल प्रॉपर्टीज़", -DlgTableRows : "पंक्तियाँ", -DlgTableColumns : "कालम", -DlgTableBorder : "बॉर्डर साइज़", -DlgTableAlign : "ऍलाइन्मॅन्ट", -DlgTableAlignNotSet : "<सॅट नहीं>", -DlgTableAlignLeft : "दायें", -DlgTableAlignCenter : "बीच में", -DlgTableAlignRight : "बायें", -DlgTableWidth : "चौड़ाई", -DlgTableWidthPx : "पिक्सैल", -DlgTableWidthPc : "प्रतिशत", -DlgTableHeight : "ऊँचाई", -DlgTableCellSpace : "सैल अंतर", -DlgTableCellPad : "सैल पैडिंग", -DlgTableCaption : "शीर्षक", -DlgTableSummary : "सारांश", - -// Table Cell Dialog -DlgCellTitle : "सैल प्रॉपर्टीज़", -DlgCellWidth : "चौड़ाई", -DlgCellWidthPx : "पिक्सैल", -DlgCellWidthPc : "प्रतिशत", -DlgCellHeight : "ऊँचाई", -DlgCellWordWrap : "वर्ड रैप", -DlgCellWordWrapNotSet : "<सॅट नहीं>", -DlgCellWordWrapYes : "हाँ", -DlgCellWordWrapNo : "नहीं", -DlgCellHorAlign : "हॉरिज़ॉन्टल ऍलाइन्मॅन्ट", -DlgCellHorAlignNotSet : "<सॅट नहीं>", -DlgCellHorAlignLeft : "दायें", -DlgCellHorAlignCenter : "बीच में", -DlgCellHorAlignRight: "बायें", -DlgCellVerAlign : "वर्टिकल ऍलाइन्मॅन्ट", -DlgCellVerAlignNotSet : "<सॅट नहीं>", -DlgCellVerAlignTop : "ऊपर", -DlgCellVerAlignMiddle : "मध्य", -DlgCellVerAlignBottom : "नीचे", -DlgCellVerAlignBaseline : "मूलरेखा", -DlgCellRowSpan : "पंक्ति स्पैन", -DlgCellCollSpan : "कालम स्पैन", -DlgCellBackColor : "बैक्ग्राउन्ड रंग", -DlgCellBorderColor : "बॉर्डर का रंग", -DlgCellBtnSelect : "चुनें...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "खोजें और बदलें", - -// Find Dialog -DlgFindTitle : "खोजें", -DlgFindFindBtn : "खोजें", -DlgFindNotFoundMsg : "आपके द्वारा दिया गया टेक्स्ट नहीं मिला", - -// Replace Dialog -DlgReplaceTitle : "रिप्लेस", -DlgReplaceFindLbl : "यह खोजें:", -DlgReplaceReplaceLbl : "इससे रिप्लेस करें:", -DlgReplaceCaseChk : "केस मिलायें", -DlgReplaceReplaceBtn : "रिप्लेस", -DlgReplaceReplAllBtn : "सभी रिप्लेस करें", -DlgReplaceWordChk : "पूरा शब्द मिलायें", - -// Paste Operations / Dialog -PasteErrorCut : "आपके ब्राउज़र की सुरक्षा सॅटिन्ग्स ने कट करने की अनुमति नहीं प्रदान की है। (Ctrl+X) का प्रयोग करें।", -PasteErrorCopy : "आपके ब्राआउज़र की सुरक्षा सॅटिन्ग्स ने कॉपी करने की अनुमति नहीं प्रदान की है। (Ctrl+C) का प्रयोग करें।", - -PasteAsText : "पेस्ट (सादा टॅक्स्ट)", -PasteFromWord : "पेस्ट (वर्ड से)", - -DlgPasteMsg2 : "Ctrl+V का प्रयोग करके पेस्ट करें और ठीक है करें.", -DlgPasteSec : "आपके ब्राउज़र की सुरक्षा आपके ब्राउज़र की सुरKश सैटिंग के कारण, एडिटर आपके क्लिपबोर्ड डेटा को नहीं पा सकता है. आपको उसे इस विन्डो में दोबारा पेस्ट करना होगा.", -DlgPasteIgnoreFont : "फ़ॉन्ट परिभाषा निकालें", -DlgPasteRemoveStyles : "स्टाइल परिभाषा निकालें", -DlgPasteCleanBox : "बॉक्स साफ़ करें", - -// Color Picker -ColorAutomatic : "स्वचालित", -ColorMoreColors : "और रंग...", - -// Document Properties -DocProps : "डॉक्यूमॅन्ट प्रॉपर्टीज़", - -// Anchor Dialog -DlgAnchorTitle : "ऐंकर प्रॉपर्टीज़", -DlgAnchorName : "ऐंकर का नाम", -DlgAnchorErrorName : "ऐंकर का नाम टाइप करें", - -// Speller Pages Dialog -DlgSpellNotInDic : "शब्दकोश में नहीं", -DlgSpellChangeTo : "इसमें बदलें", -DlgSpellBtnIgnore : "इग्नोर", -DlgSpellBtnIgnoreAll : "सभी इग्नोर करें", -DlgSpellBtnReplace : "रिप्लेस", -DlgSpellBtnReplaceAll : "सभी रिप्लेस करें", -DlgSpellBtnUndo : "अन्डू", -DlgSpellNoSuggestions : "- कोई सुझाव नहीं -", -DlgSpellProgress : "वर्तनी की जाँच (स्पॅल-चॅक) जारी है...", -DlgSpellNoMispell : "वर्तनी की जाँच : कोई गलत वर्तनी (स्पॅलिंग) नहीं पाई गई", -DlgSpellNoChanges : "वर्तनी की जाँच :कोई शब्द नहीं बदला गया", -DlgSpellOneChange : "वर्तनी की जाँच : एक शब्द बदला गया", -DlgSpellManyChanges : "वर्तनी की जाँच : %1 शब्द बदले गये", - -IeSpellDownload : "स्पॅल-चॅकर इन्स्टाल नहीं किया गया है। क्या आप इसे डा‌उनलोड करना चाहेंगे?", - -// Button Dialog -DlgButtonText : "टेक्स्ट (वैल्यू)", -DlgButtonType : "प्रकार", -DlgButtonTypeBtn : "बटन", -DlgButtonTypeSbm : "सब्मिट", -DlgButtonTypeRst : "रिसेट", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "नाम", -DlgCheckboxValue : "वैल्यू", -DlgCheckboxSelected : "सॅलॅक्टॅड", - -// Form Dialog -DlgFormName : "नाम", -DlgFormAction : "क्रिया", -DlgFormMethod : "तरीका", - -// Select Field Dialog -DlgSelectName : "नाम", -DlgSelectValue : "वैल्यू", -DlgSelectSize : "साइज़", -DlgSelectLines : "पंक्तियाँ", -DlgSelectChkMulti : "एक से ज्यादा विकल्प चुनने दें", -DlgSelectOpAvail : "उपलब्ध विकल्प", -DlgSelectOpText : "टेक्स्ट", -DlgSelectOpValue : "वैल्यू", -DlgSelectBtnAdd : "जोड़ें", -DlgSelectBtnModify : "बदलें", -DlgSelectBtnUp : "ऊपर", -DlgSelectBtnDown : "नीचे", -DlgSelectBtnSetValue : "चुनी गई वैल्यू सॅट करें", -DlgSelectBtnDelete : "डिलीट", - -// Textarea Dialog -DlgTextareaName : "नाम", -DlgTextareaCols : "कालम", -DlgTextareaRows : "पंक्तियां", - -// Text Field Dialog -DlgTextName : "नाम", -DlgTextValue : "वैल्यू", -DlgTextCharWidth : "करॅक्टर की चौढ़ाई", -DlgTextMaxChars : "अधिकतम करॅक्टर", -DlgTextType : "टाइप", -DlgTextTypeText : "टेक्स्ट", -DlgTextTypePass : "पास्वर्ड", - -// Hidden Field Dialog -DlgHiddenName : "नाम", -DlgHiddenValue : "वैल्यू", - -// Bulleted List Dialog -BulletedListProp : "बुलॅट सूची प्रॉपर्टीज़", -NumberedListProp : "अंकीय सूची प्रॉपर्टीज़", -DlgLstStart : "प्रारम्भ", -DlgLstType : "प्रकार", -DlgLstTypeCircle : "गोल", -DlgLstTypeDisc : "डिस्क", -DlgLstTypeSquare : "चौकॊण", -DlgLstTypeNumbers : "अंक (1, 2, 3)", -DlgLstTypeLCase : "छोटे अक्षर (a, b, c)", -DlgLstTypeUCase : "बड़े अक्षर (A, B, C)", -DlgLstTypeSRoman : "छोटे रोमन अंक (i, ii, iii)", -DlgLstTypeLRoman : "बड़े रोमन अंक (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "आम", -DlgDocBackTab : "बैक्ग्राउन्ड", -DlgDocColorsTab : "रंग और मार्जिन", -DlgDocMetaTab : "मॅटाडेटा", - -DlgDocPageTitle : "पेज शीर्षक", -DlgDocLangDir : "भाषा लिखने की दिशा", -DlgDocLangDirLTR : "बायें से दायें (LTR)", -DlgDocLangDirRTL : "दायें से बायें (RTL)", -DlgDocLangCode : "भाषा कोड", -DlgDocCharSet : "करेक्टर सॅट ऍन्कोडिंग", -DlgDocCharSetCE : "मध्य यूरोपीय (Central European)", -DlgDocCharSetCT : "चीनी (Chinese Traditional Big5)", -DlgDocCharSetCR : "सिरीलिक (Cyrillic)", -DlgDocCharSetGR : "यवन (Greek)", -DlgDocCharSetJP : "जापानी (Japanese)", -DlgDocCharSetKR : "कोरीयन (Korean)", -DlgDocCharSetTR : "तुर्की (Turkish)", -DlgDocCharSetUN : "यूनीकोड (UTF-8)", -DlgDocCharSetWE : "पश्चिम यूरोपीय (Western European)", -DlgDocCharSetOther : "अन्य करेक्टर सॅट ऍन्कोडिंग", - -DlgDocDocType : "डॉक्यूमॅन्ट प्रकार शीर्षक", -DlgDocDocTypeOther : "अन्य डॉक्यूमॅन्ट प्रकार शीर्षक", -DlgDocIncXHTML : "XHTML सूचना सम्मिलित करें", -DlgDocBgColor : "बैक्ग्राउन्ड रंग", -DlgDocBgImage : "बैक्ग्राउन्ड तस्वीर URL", -DlgDocBgNoScroll : "स्क्रॉल न करने वाला बैक्ग्राउन्ड", -DlgDocCText : "टेक्स्ट", -DlgDocCLink : "लिंक", -DlgDocCVisited : "विज़िट किया गया लिंक", -DlgDocCActive : "सक्रिय लिंक", -DlgDocMargins : "पेज मार्जिन", -DlgDocMaTop : "ऊपर", -DlgDocMaLeft : "बायें", -DlgDocMaRight : "दायें", -DlgDocMaBottom : "नीचे", -DlgDocMeIndex : "डॉक्युमॅन्ट इन्डेक्स संकेतशब्द (अल्पविराम से अलग करें)", -DlgDocMeDescr : "डॉक्यूमॅन्ट करॅक्टरन", -DlgDocMeAuthor : "लेखक", -DlgDocMeCopy : "कॉपीराइट", -DlgDocPreview : "प्रीव्यू", - -// Templates Dialog -Templates : "टॅम्प्लेट", -DlgTemplatesTitle : "कन्टेन्ट टॅम्प्लेट", -DlgTemplatesSelMsg : "ऍडिटर में ओपन करने हेतु टॅम्प्लेट चुनें(वर्तमान कन्टॅन्ट सेव नहीं होंगे):", -DlgTemplatesLoading : "टॅम्प्लेट सूची लोड की जा रही है। ज़रा ठहरें...", -DlgTemplatesNoTpl : "(कोई टॅम्प्लेट डिफ़ाइन नहीं किया गया है)", -DlgTemplatesReplace : "मूल शब्दों को बदलें", - -// About Dialog -DlgAboutAboutTab : "FCKEditor के बारे में", -DlgAboutBrowserInfoTab : "ब्राउज़र के बारे में", -DlgAboutLicenseTab : "लाइसैन्स", -DlgAboutVersion : "वर्ज़न", -DlgAboutInfo : "अधिक जानकारी के लिये यहाँ जायें:" -}; diff --git a/editor/editor/lang/hr.js b/editor/editor/lang/hr.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Croatian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Smanji trake s alatima", -ToolbarExpand : "Proširi trake s alatima", - -// Toolbar Items and Context Menu -Save : "Snimi", -NewPage : "Nova stranica", -Preview : "Pregledaj", -Cut : "Izreži", -Copy : "Kopiraj", -Paste : "Zalijepi", -PasteText : "Zalijepi kao čisti tekst", -PasteWord : "Zalijepi iz Worda", -Print : "Ispiši", -SelectAll : "Odaberi sve", -RemoveFormat : "Ukloni formatiranje", -InsertLinkLbl : "Link", -InsertLink : "Ubaci/promijeni link", -RemoveLink : "Ukloni link", -Anchor : "Ubaci/promijeni sidro", -AnchorDelete : "Ukloni sidro", -InsertImageLbl : "Slika", -InsertImage : "Ubaci/promijeni sliku", -InsertFlashLbl : "Flash", -InsertFlash : "Ubaci/promijeni Flash", -InsertTableLbl : "Tablica", -InsertTable : "Ubaci/promijeni tablicu", -InsertLineLbl : "Linija", -InsertLine : "Ubaci vodoravnu liniju", -InsertSpecialCharLbl: "Posebni karakteri", -InsertSpecialChar : "Ubaci posebne znakove", -InsertSmileyLbl : "Smješko", -InsertSmiley : "Ubaci smješka", -About : "O FCKeditoru", -Bold : "Podebljaj", -Italic : "Ukosi", -Underline : "Potcrtano", -StrikeThrough : "Precrtano", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Lijevo poravnanje", -CenterJustify : "Središnje poravnanje", -RightJustify : "Desno poravnanje", -BlockJustify : "Blok poravnanje", -DecreaseIndent : "Pomakni ulijevo", -IncreaseIndent : "Pomakni udesno", -Blockquote : "Blockquote", -Undo : "Poništi", -Redo : "Ponovi", -NumberedListLbl : "Brojčana lista", -NumberedList : "Ubaci/ukloni brojčanu listu", -BulletedListLbl : "Obična lista", -BulletedList : "Ubaci/ukloni običnu listu", -ShowTableBorders : "Prikaži okvir tablice", -ShowDetails : "Prikaži detalje", -Style : "Stil", -FontFormat : "Format", -Font : "Font", -FontSize : "Veličina", -TextColor : "Boja teksta", -BGColor : "Boja pozadine", -Source : "Kôd", -Find : "Pronađi", -Replace : "Zamijeni", -SpellCheck : "Provjeri pravopis", -UniversalKeyboard : "Univerzalna tipkovnica", -PageBreakLbl : "Prijelom stranice", -PageBreak : "Ubaci prijelom stranice", - -Form : "Form", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Hidden Field", -Button : "Button", -SelectionField : "Selection Field", -ImageButton : "Image Button", - -FitWindow : "Povećaj veličinu editora", -ShowBlocks : "Prikaži blokove", - -// Context Menu -EditLink : "Promijeni link", -CellCM : "Ćelija", -RowCM : "Red", -ColumnCM : "Kolona", -InsertRowAfter : "Ubaci red poslije", -InsertRowBefore : "Ubaci red prije", -DeleteRows : "Izbriši redove", -InsertColumnAfter : "Ubaci kolonu poslije", -InsertColumnBefore : "Ubaci kolonu prije", -DeleteColumns : "Izbriši kolone", -InsertCellAfter : "Ubaci ćeliju poslije", -InsertCellBefore : "Ubaci ćeliju prije", -DeleteCells : "Izbriši ćelije", -MergeCells : "Spoji ćelije", -MergeRight : "Spoji desno", -MergeDown : "Spoji dolje", -HorizontalSplitCell : "Podijeli ćeliju vodoravno", -VerticalSplitCell : "Podijeli ćeliju okomito", -TableDelete : "Izbriši tablicu", -CellProperties : "Svojstva ćelije", -TableProperties : "Svojstva tablice", -ImageProperties : "Svojstva slike", -FlashProperties : "Flash svojstva", - -AnchorProp : "Svojstva sidra", -ButtonProp : "Image Button svojstva", -CheckboxProp : "Checkbox svojstva", -HiddenFieldProp : "Hidden Field svojstva", -RadioButtonProp : "Radio Button svojstva", -ImageButtonProp : "Image Button svojstva", -TextFieldProp : "Text Field svojstva", -SelectionFieldProp : "Selection svojstva", -TextareaProp : "Textarea svojstva", -FormProp : "Form svojstva", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Obrađujem XHTML. Molimo pričekajte...", -Done : "Završio", -PasteWordConfirm : "Tekst koji želite zalijepiti čini se da je kopiran iz Worda. Želite li prije očistiti tekst?", -NotCompatiblePaste : "Ova naredba je dostupna samo u Internet Exploreru 5.5 ili novijem. Želite li nastaviti bez čišćenja?", -UnknownToolbarItem : "Nepoznati član trake s alatima \"%1\"", -UnknownCommand : "Nepoznata naredba \"%1\"", -NotImplemented : "Naredba nije implementirana", -UnknownToolbarSet : "Traka s alatima \"%1\" ne postoji", -NoActiveX : "Vaše postavke pretraživača mogle bi ograničiti neke od mogućnosti editora. Morate uključiti opciju \"Run ActiveX controls and plug-ins\" u postavkama. Ukoliko to ne učinite, moguće su razliite greške tijekom rada.", -BrowseServerBlocked : "Pretraivač nije moguće otvoriti. Provjerite da li je uključeno blokiranje pop-up prozora.", -DialogBlocked : "Nije moguće otvoriti novi prozor. Provjerite da li je uključeno blokiranje pop-up prozora.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Poništi", -DlgBtnClose : "Zatvori", -DlgBtnBrowseServer : "Pretraži server", -DlgAdvancedTag : "Napredno", -DlgOpOther : "<Drugo>", -DlgInfoTab : "Info", -DlgAlertUrl : "Molimo unesite URL", - -// General Dialogs Labels -DlgGenNotSet : "<nije postavljeno>", -DlgGenId : "Id", -DlgGenLangDir : "Smjer jezika", -DlgGenLangDirLtr : "S lijeva na desno (LTR)", -DlgGenLangDirRtl : "S desna na lijevo (RTL)", -DlgGenLangCode : "Kôd jezika", -DlgGenAccessKey : "Pristupna tipka", -DlgGenName : "Naziv", -DlgGenTabIndex : "Tab Indeks", -DlgGenLongDescr : "Dugački opis URL", -DlgGenClass : "Stylesheet klase", -DlgGenTitle : "Advisory naslov", -DlgGenContType : "Advisory vrsta sadržaja", -DlgGenLinkCharset : "Kodna stranica povezanih resursa", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Svojstva slika", -DlgImgInfoTab : "Info slike", -DlgImgBtnUpload : "Pošalji na server", -DlgImgURL : "URL", -DlgImgUpload : "Pošalji", -DlgImgAlt : "Alternativni tekst", -DlgImgWidth : "Širina", -DlgImgHeight : "Visina", -DlgImgLockRatio : "Zaključaj odnos", -DlgBtnResetSize : "Obriši veličinu", -DlgImgBorder : "Okvir", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Poravnaj", -DlgImgAlignLeft : "Lijevo", -DlgImgAlignAbsBottom: "Abs dolje", -DlgImgAlignAbsMiddle: "Abs sredina", -DlgImgAlignBaseline : "Bazno", -DlgImgAlignBottom : "Dolje", -DlgImgAlignMiddle : "Sredina", -DlgImgAlignRight : "Desno", -DlgImgAlignTextTop : "Vrh teksta", -DlgImgAlignTop : "Vrh", -DlgImgPreview : "Pregledaj", -DlgImgAlertUrl : "Unesite URL slike", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Flash svojstva", -DlgFlashChkPlay : "Auto Play", -DlgFlashChkLoop : "Ponavljaj", -DlgFlashChkMenu : "Omogući Flash izbornik", -DlgFlashScale : "Omjer", -DlgFlashScaleAll : "Prikaži sve", -DlgFlashScaleNoBorder : "Bez okvira", -DlgFlashScaleFit : "Točna veličina", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Meta", - -DlgLnkType : "Link vrsta", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Sidro na ovoj stranici", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<drugo>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Odaberi sidro", -DlgLnkAnchorByName : "Po nazivu sidra", -DlgLnkAnchorById : "Po Id elementa", -DlgLnkNoAnchors : "(Nema dostupnih sidra)", -DlgLnkEMail : "E-Mail adresa", -DlgLnkEMailSubject : "Naslov", -DlgLnkEMailBody : "Sadržaj poruke", -DlgLnkUpload : "Pošalji", -DlgLnkBtnUpload : "Pošalji na server", - -DlgLnkTarget : "Meta", -DlgLnkTargetFrame : "<okvir>", -DlgLnkTargetPopup : "<popup prozor>", -DlgLnkTargetBlank : "Novi prozor (_blank)", -DlgLnkTargetParent : "Roditeljski prozor (_parent)", -DlgLnkTargetSelf : "Isti prozor (_self)", -DlgLnkTargetTop : "Vršni prozor (_top)", -DlgLnkTargetFrameName : "Ime ciljnog okvira", -DlgLnkPopWinName : "Naziv popup prozora", -DlgLnkPopWinFeat : "Mogućnosti popup prozora", -DlgLnkPopResize : "Promjenljive veličine", -DlgLnkPopLocation : "Traka za lokaciju", -DlgLnkPopMenu : "Izborna traka", -DlgLnkPopScroll : "Scroll traka", -DlgLnkPopStatus : "Statusna traka", -DlgLnkPopToolbar : "Traka s alatima", -DlgLnkPopFullScrn : "Cijeli ekran (IE)", -DlgLnkPopDependent : "Ovisno (Netscape)", -DlgLnkPopWidth : "Širina", -DlgLnkPopHeight : "Visina", -DlgLnkPopLeft : "Lijeva pozicija", -DlgLnkPopTop : "Gornja pozicija", - -DlnLnkMsgNoUrl : "Molimo upišite URL link", -DlnLnkMsgNoEMail : "Molimo upišite e-mail adresu", -DlnLnkMsgNoAnchor : "Molimo odaberite sidro", -DlnLnkMsgInvPopName : "Ime popup prozora mora početi sa slovom i ne smije sadržavati razmake", - -// Color Dialog -DlgColorTitle : "Odaberite boju", -DlgColorBtnClear : "Obriši", -DlgColorHighlight : "Osvijetli", -DlgColorSelected : "Odaberi", - -// Smiley Dialog -DlgSmileyTitle : "Ubaci smješka", - -// Special Character Dialog -DlgSpecialCharTitle : "Odaberite posebni karakter", - -// Table Dialog -DlgTableTitle : "Svojstva tablice", -DlgTableRows : "Redova", -DlgTableColumns : "Kolona", -DlgTableBorder : "Veličina okvira", -DlgTableAlign : "Poravnanje", -DlgTableAlignNotSet : "<nije postavljeno>", -DlgTableAlignLeft : "Lijevo", -DlgTableAlignCenter : "Središnje", -DlgTableAlignRight : "Desno", -DlgTableWidth : "Širina", -DlgTableWidthPx : "piksela", -DlgTableWidthPc : "postotaka", -DlgTableHeight : "Visina", -DlgTableCellSpace : "Prostornost ćelija", -DlgTableCellPad : "Razmak ćelija", -DlgTableCaption : "Naslov", -DlgTableSummary : "Sažetak", - -// Table Cell Dialog -DlgCellTitle : "Svojstva ćelije", -DlgCellWidth : "Širina", -DlgCellWidthPx : "piksela", -DlgCellWidthPc : "postotaka", -DlgCellHeight : "Visina", -DlgCellWordWrap : "Word Wrap", -DlgCellWordWrapNotSet : "<nije postavljeno>", -DlgCellWordWrapYes : "Da", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Vodoravno poravnanje", -DlgCellHorAlignNotSet : "<nije postavljeno>", -DlgCellHorAlignLeft : "Lijevo", -DlgCellHorAlignCenter : "Središnje", -DlgCellHorAlignRight: "Desno", -DlgCellVerAlign : "Okomito poravnanje", -DlgCellVerAlignNotSet : "<nije postavljeno>", -DlgCellVerAlignTop : "Gornje", -DlgCellVerAlignMiddle : "Srednišnje", -DlgCellVerAlignBottom : "Donje", -DlgCellVerAlignBaseline : "Bazno", -DlgCellRowSpan : "Spajanje redova", -DlgCellCollSpan : "Spajanje kolona", -DlgCellBackColor : "Boja pozadine", -DlgCellBorderColor : "Boja okvira", -DlgCellBtnSelect : "Odaberi...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Pronađi i zamijeni", - -// Find Dialog -DlgFindTitle : "Pronađi", -DlgFindFindBtn : "Pronađi", -DlgFindNotFoundMsg : "Traženi tekst nije pronađen.", - -// Replace Dialog -DlgReplaceTitle : "Zamijeni", -DlgReplaceFindLbl : "Pronađi:", -DlgReplaceReplaceLbl : "Zamijeni s:", -DlgReplaceCaseChk : "Usporedi mala/velika slova", -DlgReplaceReplaceBtn : "Zamijeni", -DlgReplaceReplAllBtn : "Zamijeni sve", -DlgReplaceWordChk : "Usporedi cijele riječi", - -// Paste Operations / Dialog -PasteErrorCut : "Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog izrezivanja. Molimo koristite kraticu na tipkovnici (Ctrl+X).", -PasteErrorCopy : "Sigurnosne postavke Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja. Molimo koristite kraticu na tipkovnici (Ctrl+C).", - -PasteAsText : "Zalijepi kao čisti tekst", -PasteFromWord : "Zalijepi iz Worda", - -DlgPasteMsg2 : "Molimo zaljepite unutar doljnjeg okvira koristeći tipkovnicu (<STRONG>Ctrl+V</STRONG>) i kliknite <STRONG>OK</STRONG>.", -DlgPasteSec : "Zbog sigurnosnih postavki Vašeg pretraživača, editor nema direktan pristup Vašem međuspremniku. Potrebno je ponovno zalijepiti tekst u ovaj prozor.", -DlgPasteIgnoreFont : "Zanemari definiciju vrste fonta", -DlgPasteRemoveStyles : "Ukloni definicije stilova", -DlgPasteCleanBox : "Očisti okvir", - -// Color Picker -ColorAutomatic : "Automatski", -ColorMoreColors : "Više boja...", - -// Document Properties -DocProps : "Svojstva dokumenta", - -// Anchor Dialog -DlgAnchorTitle : "Svojstva sidra", -DlgAnchorName : "Ime sidra", -DlgAnchorErrorName : "Molimo unesite ime sidra", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nije u rječniku", -DlgSpellChangeTo : "Promijeni u", -DlgSpellBtnIgnore : "Zanemari", -DlgSpellBtnIgnoreAll : "Zanemari sve", -DlgSpellBtnReplace : "Zamijeni", -DlgSpellBtnReplaceAll : "Zamijeni sve", -DlgSpellBtnUndo : "Vrati", -DlgSpellNoSuggestions : "-Nema preporuke-", -DlgSpellProgress : "Provjera u tijeku...", -DlgSpellNoMispell : "Provjera završena: Nema grešaka", -DlgSpellNoChanges : "Provjera završena: Nije napravljena promjena", -DlgSpellOneChange : "Provjera završena: Jedna riječ promjenjena", -DlgSpellManyChanges : "Provjera završena: Promijenjeno %1 riječi", - -IeSpellDownload : "Provjera pravopisa nije instalirana. Želite li skinuti provjeru pravopisa?", - -// Button Dialog -DlgButtonText : "Tekst (vrijednost)", -DlgButtonType : "Vrsta", -DlgButtonTypeBtn : "Gumb", -DlgButtonTypeSbm : "Pošalji", -DlgButtonTypeRst : "Poništi", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Ime", -DlgCheckboxValue : "Vrijednost", -DlgCheckboxSelected : "Odabrano", - -// Form Dialog -DlgFormName : "Ime", -DlgFormAction : "Akcija", -DlgFormMethod : "Metoda", - -// Select Field Dialog -DlgSelectName : "Ime", -DlgSelectValue : "Vrijednost", -DlgSelectSize : "Veličina", -DlgSelectLines : "linija", -DlgSelectChkMulti : "Dozvoli višestruki odabir", -DlgSelectOpAvail : "Dostupne opcije", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Vrijednost", -DlgSelectBtnAdd : "Dodaj", -DlgSelectBtnModify : "Promijeni", -DlgSelectBtnUp : "Gore", -DlgSelectBtnDown : "Dolje", -DlgSelectBtnSetValue : "Postavi kao odabranu vrijednost", -DlgSelectBtnDelete : "Obriši", - -// Textarea Dialog -DlgTextareaName : "Ime", -DlgTextareaCols : "Kolona", -DlgTextareaRows : "Redova", - -// Text Field Dialog -DlgTextName : "Ime", -DlgTextValue : "Vrijednost", -DlgTextCharWidth : "Širina", -DlgTextMaxChars : "Najviše karaktera", -DlgTextType : "Vrsta", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Šifra", - -// Hidden Field Dialog -DlgHiddenName : "Ime", -DlgHiddenValue : "Vrijednost", - -// Bulleted List Dialog -BulletedListProp : "Svojstva liste", -NumberedListProp : "Svojstva brojčane liste", -DlgLstStart : "Početak", -DlgLstType : "Vrsta", -DlgLstTypeCircle : "Krug", -DlgLstTypeDisc : "Disk", -DlgLstTypeSquare : "Kvadrat", -DlgLstTypeNumbers : "Brojevi (1, 2, 3)", -DlgLstTypeLCase : "Mala slova (a, b, c)", -DlgLstTypeUCase : "Velika slova (A, B, C)", -DlgLstTypeSRoman : "Male rimske brojke (i, ii, iii)", -DlgLstTypeLRoman : "Velike rimske brojke (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Općenito", -DlgDocBackTab : "Pozadina", -DlgDocColorsTab : "Boje i margine", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Naslov stranice", -DlgDocLangDir : "Smjer jezika", -DlgDocLangDirLTR : "S lijeva na desno", -DlgDocLangDirRTL : "S desna na lijevo", -DlgDocLangCode : "Kôd jezika", -DlgDocCharSet : "Enkodiranje znakova", -DlgDocCharSetCE : "Središnja Europa", -DlgDocCharSetCT : "Tradicionalna kineska (Big5)", -DlgDocCharSetCR : "Ćirilica", -DlgDocCharSetGR : "Grčka", -DlgDocCharSetJP : "Japanska", -DlgDocCharSetKR : "Koreanska", -DlgDocCharSetTR : "Turska", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Zapadna Europa", -DlgDocCharSetOther : "Ostalo enkodiranje znakova", - -DlgDocDocType : "Zaglavlje vrste dokumenta", -DlgDocDocTypeOther : "Ostalo zaglavlje vrste dokumenta", -DlgDocIncXHTML : "Ubaci XHTML deklaracije", -DlgDocBgColor : "Boja pozadine", -DlgDocBgImage : "URL slike pozadine", -DlgDocBgNoScroll : "Pozadine se ne pomiče", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Posjećeni link", -DlgDocCActive : "Aktivni link", -DlgDocMargins : "Margine stranice", -DlgDocMaTop : "Vrh", -DlgDocMaLeft : "Lijevo", -DlgDocMaRight : "Desno", -DlgDocMaBottom : "Dolje", -DlgDocMeIndex : "Ključne riječi dokumenta (odvojene zarezom)", -DlgDocMeDescr : "Opis dokumenta", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autorska prava", -DlgDocPreview : "Pregledaj", - -// Templates Dialog -Templates : "Predlošci", -DlgTemplatesTitle : "Predlošci sadržaja", -DlgTemplatesSelMsg : "Molimo odaberite predložak koji želite otvoriti<br>(stvarni sadržaj će biti izgubljen):", -DlgTemplatesLoading : "Učitavam listu predložaka. Molimo pričekajte...", -DlgTemplatesNoTpl : "(Nema definiranih predložaka)", -DlgTemplatesReplace : "Zamijeni trenutne sadržaje", - -// About Dialog -DlgAboutAboutTab : "O FCKEditoru", -DlgAboutBrowserInfoTab : "Podaci o pretraživaču", -DlgAboutLicenseTab : "Licenca", -DlgAboutVersion : "inačica", -DlgAboutInfo : "Za više informacija posjetite" -}; diff --git a/editor/editor/lang/hu.js b/editor/editor/lang/hu.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Hungarian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Eszköztár elrejtése", -ToolbarExpand : "Eszköztár megjelenítése", - -// Toolbar Items and Context Menu -Save : "Mentés", -NewPage : "Új oldal", -Preview : "Előnézet", -Cut : "Kivágás", -Copy : "Másolás", -Paste : "Beillesztés", -PasteText : "Beillesztés formázás nélkül", -PasteWord : "Beillesztés Word-ből", -Print : "Nyomtatás", -SelectAll : "Mindent kijelöl", -RemoveFormat : "Formázás eltávolítása", -InsertLinkLbl : "Hivatkozás", -InsertLink : "Hivatkozás beillesztése/módosítása", -RemoveLink : "Hivatkozás törlése", -Anchor : "Horgony beillesztése/szerkesztése", -AnchorDelete : "Horgony eltávolítása", -InsertImageLbl : "Kép", -InsertImage : "Kép beillesztése/módosítása", -InsertFlashLbl : "Flash", -InsertFlash : "Flash beillesztése, módosítása", -InsertTableLbl : "Táblázat", -InsertTable : "Táblázat beillesztése/módosítása", -InsertLineLbl : "Vonal", -InsertLine : "Elválasztóvonal beillesztése", -InsertSpecialCharLbl: "Speciális karakter", -InsertSpecialChar : "Speciális karakter beillesztése", -InsertSmileyLbl : "Hangulatjelek", -InsertSmiley : "Hangulatjelek beillesztése", -About : "FCKeditor névjegy", -Bold : "Félkövér", -Italic : "Dőlt", -Underline : "Aláhúzott", -StrikeThrough : "Áthúzott", -Subscript : "Alsó index", -Superscript : "Felső index", -LeftJustify : "Balra", -CenterJustify : "Középre", -RightJustify : "Jobbra", -BlockJustify : "Sorkizárt", -DecreaseIndent : "Behúzás csökkentése", -IncreaseIndent : "Behúzás növelése", -Blockquote : "Idézet blokk", -Undo : "Visszavonás", -Redo : "Ismétlés", -NumberedListLbl : "Számozás", -NumberedList : "Számozás beillesztése/törlése", -BulletedListLbl : "Felsorolás", -BulletedList : "Felsorolás beillesztése/törlése", -ShowTableBorders : "Táblázat szegély mutatása", -ShowDetails : "Részletek mutatása", -Style : "Stílus", -FontFormat : "Formátum", -Font : "Betűtípus", -FontSize : "Méret", -TextColor : "Betűszín", -BGColor : "Háttérszín", -Source : "Forráskód", -Find : "Keresés", -Replace : "Csere", -SpellCheck : "Helyesírás-ellenőrzés", -UniversalKeyboard : "Univerzális billentyűzet", -PageBreakLbl : "Oldaltörés", -PageBreak : "Oldaltörés beillesztése", - -Form : "Űrlap", -Checkbox : "Jelölőnégyzet", -RadioButton : "Választógomb", -TextField : "Szövegmező", -Textarea : "Szövegterület", -HiddenField : "Rejtettmező", -Button : "Gomb", -SelectionField : "Legördülő lista", -ImageButton : "Képgomb", - -FitWindow : "Maximalizálás", -ShowBlocks : "Blokkok megjelenítése", - -// Context Menu -EditLink : "Hivatkozás módosítása", -CellCM : "Cella", -RowCM : "Sor", -ColumnCM : "Oszlop", -InsertRowAfter : "Sor beillesztése az aktuális sor mögé", -InsertRowBefore : "Sor beillesztése az aktuális sor elé", -DeleteRows : "Sorok törlése", -InsertColumnAfter : "Oszlop beillesztése az aktuális oszlop mögé", -InsertColumnBefore : "Oszlop beillesztése az aktuális oszlop elé", -DeleteColumns : "Oszlopok törlése", -InsertCellAfter : "Cella beillesztése az aktuális cella mögé", -InsertCellBefore : "Cella beillesztése az aktuális cella elé", -DeleteCells : "Cellák törlése", -MergeCells : "Cellák egyesítése", -MergeRight : "Cellák egyesítése jobbra", -MergeDown : "Cellák egyesítése lefelé", -HorizontalSplitCell : "Cellák szétválasztása vízszintesen", -VerticalSplitCell : "Cellák szétválasztása függőlegesen", -TableDelete : "Táblázat törlése", -CellProperties : "Cella tulajdonságai", -TableProperties : "Táblázat tulajdonságai", -ImageProperties : "Kép tulajdonságai", -FlashProperties : "Flash tulajdonságai", - -AnchorProp : "Horgony tulajdonságai", -ButtonProp : "Gomb tulajdonságai", -CheckboxProp : "Jelölőnégyzet tulajdonságai", -HiddenFieldProp : "Rejtett mező tulajdonságai", -RadioButtonProp : "Választógomb tulajdonságai", -ImageButtonProp : "Képgomb tulajdonságai", -TextFieldProp : "Szövegmező tulajdonságai", -SelectionFieldProp : "Legördülő lista tulajdonságai", -TextareaProp : "Szövegterület tulajdonságai", -FormProp : "Űrlap tulajdonságai", - -FontFormats : "Normál;Formázott;Címsor;Fejléc 1;Fejléc 2;Fejléc 3;Fejléc 4;Fejléc 5;Fejléc 6;Bekezdés (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML feldolgozása. Kérem várjon...", -Done : "Kész", -PasteWordConfirm : "A beilleszteni kívánt szöveg Word-ből van másolva. El kívánja távolítani a formázást a beillesztés előtt?", -NotCompatiblePaste : "Ez a parancs csak Internet Explorer 5.5 verziótól használható. Megpróbálja beilleszteni a szöveget az eredeti formázással?", -UnknownToolbarItem : "Ismeretlen eszköztár elem \"%1\"", -UnknownCommand : "Ismeretlen parancs \"%1\"", -NotImplemented : "A parancs nem hajtható végre", -UnknownToolbarSet : "Az eszközkészlet \"%1\" nem létezik", -NoActiveX : "A böngésző biztonsági beállításai korlátozzák a szerkesztő lehetőségeit. Engedélyezni kell ezt az opciót: \"Run ActiveX controls and plug-ins\". Ettől függetlenül előfordulhatnak hibaüzenetek ill. bizonyos funkciók hiányozhatnak.", -BrowseServerBlocked : "Nem lehet megnyitni a fájlböngészőt. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", -DialogBlocked : "Nem lehet megnyitni a párbeszédablakot. Bizonyosodjon meg róla, hogy a felbukkanó ablakok engedélyezve vannak.", - -// Dialogs -DlgBtnOK : "Rendben", -DlgBtnCancel : "Mégsem", -DlgBtnClose : "Bezárás", -DlgBtnBrowseServer : "Böngészés a szerveren", -DlgAdvancedTag : "További opciók", -DlgOpOther : "Egyéb", -DlgInfoTab : "Alaptulajdonságok", -DlgAlertUrl : "Illessze be a webcímet", - -// General Dialogs Labels -DlgGenNotSet : "<nincs beállítva>", -DlgGenId : "Azonosító", -DlgGenLangDir : "Írás iránya", -DlgGenLangDirLtr : "Balról jobbra", -DlgGenLangDirRtl : "Jobbról balra", -DlgGenLangCode : "Nyelv kódja", -DlgGenAccessKey : "Billentyűkombináció", -DlgGenName : "Név", -DlgGenTabIndex : "Tabulátor index", -DlgGenLongDescr : "Részletes leírás webcíme", -DlgGenClass : "Stíluskészlet", -DlgGenTitle : "Súgócimke", -DlgGenContType : "Súgó tartalomtípusa", -DlgGenLinkCharset : "Hivatkozott tartalom kódlapja", -DlgGenStyle : "Stílus", - -// Image Dialog -DlgImgTitle : "Kép tulajdonságai", -DlgImgInfoTab : "Alaptulajdonságok", -DlgImgBtnUpload : "Küldés a szerverre", -DlgImgURL : "Hivatkozás", -DlgImgUpload : "Feltöltés", -DlgImgAlt : "Buborék szöveg", -DlgImgWidth : "Szélesség", -DlgImgHeight : "Magasság", -DlgImgLockRatio : "Arány megtartása", -DlgBtnResetSize : "Eredeti méret", -DlgImgBorder : "Keret", -DlgImgHSpace : "Vízsz. táv", -DlgImgVSpace : "Függ. táv", -DlgImgAlign : "Igazítás", -DlgImgAlignLeft : "Bal", -DlgImgAlignAbsBottom: "Legaljára", -DlgImgAlignAbsMiddle: "Közepére", -DlgImgAlignBaseline : "Alapvonalhoz", -DlgImgAlignBottom : "Aljára", -DlgImgAlignMiddle : "Középre", -DlgImgAlignRight : "Jobbra", -DlgImgAlignTextTop : "Szöveg tetejére", -DlgImgAlignTop : "Tetejére", -DlgImgPreview : "Előnézet", -DlgImgAlertUrl : "Töltse ki a kép webcímét", -DlgImgLinkTab : "Hivatkozás", - -// Flash Dialog -DlgFlashTitle : "Flash tulajdonságai", -DlgFlashChkPlay : "Automata lejátszás", -DlgFlashChkLoop : "Folyamatosan", -DlgFlashChkMenu : "Flash menü engedélyezése", -DlgFlashScale : "Méretezés", -DlgFlashScaleAll : "Mindent mutat", -DlgFlashScaleNoBorder : "Keret nélkül", -DlgFlashScaleFit : "Teljes kitöltés", - -// Link Dialog -DlgLnkWindowTitle : "Hivatkozás tulajdonságai", -DlgLnkInfoTab : "Alaptulajdonságok", -DlgLnkTargetTab : "Megjelenítés", - -DlgLnkType : "Hivatkozás típusa", -DlgLnkTypeURL : "Webcím", -DlgLnkTypeAnchor : "Horgony az oldalon", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<más>", -DlgLnkURL : "Webcím", -DlgLnkAnchorSel : "Horgony választása", -DlgLnkAnchorByName : "Horgony név szerint", -DlgLnkAnchorById : "Azonosító szerint", -DlgLnkNoAnchors : "(Nincs horgony a dokumentumban)", -DlgLnkEMail : "E-Mail cím", -DlgLnkEMailSubject : "Üzenet tárgya", -DlgLnkEMailBody : "Üzenet", -DlgLnkUpload : "Feltöltés", -DlgLnkBtnUpload : "Küldés a szerverre", - -DlgLnkTarget : "Tartalom megjelenítése", -DlgLnkTargetFrame : "<keretben>", -DlgLnkTargetPopup : "<felugró ablakban>", -DlgLnkTargetBlank : "Új ablakban (_blank)", -DlgLnkTargetParent : "Szülő ablakban (_parent)", -DlgLnkTargetSelf : "Azonos ablakban (_self)", -DlgLnkTargetTop : "Legfelső ablakban (_top)", -DlgLnkTargetFrameName : "Keret neve", -DlgLnkPopWinName : "Felugró ablak neve", -DlgLnkPopWinFeat : "Felugró ablak jellemzői", -DlgLnkPopResize : "Méretezhető", -DlgLnkPopLocation : "Címsor", -DlgLnkPopMenu : "Menü sor", -DlgLnkPopScroll : "Gördítősáv", -DlgLnkPopStatus : "Állapotsor", -DlgLnkPopToolbar : "Eszköztár", -DlgLnkPopFullScrn : "Teljes képernyő (csak IE)", -DlgLnkPopDependent : "Szülőhöz kapcsolt (csak Netscape)", -DlgLnkPopWidth : "Szélesség", -DlgLnkPopHeight : "Magasság", -DlgLnkPopLeft : "Bal pozíció", -DlgLnkPopTop : "Felső pozíció", - -DlnLnkMsgNoUrl : "Adja meg a hivatkozás webcímét", -DlnLnkMsgNoEMail : "Adja meg az E-Mail címet", -DlnLnkMsgNoAnchor : "Válasszon egy horgonyt", -DlnLnkMsgInvPopName : "A felbukkanó ablak neve alfanumerikus karakterrel kezdôdjön, valamint ne tartalmazzon szóközt", - -// Color Dialog -DlgColorTitle : "Színválasztás", -DlgColorBtnClear : "Törlés", -DlgColorHighlight : "Előnézet", -DlgColorSelected : "Kiválasztott", - -// Smiley Dialog -DlgSmileyTitle : "Hangulatjel beszúrása", - -// Special Character Dialog -DlgSpecialCharTitle : "Speciális karakter választása", - -// Table Dialog -DlgTableTitle : "Táblázat tulajdonságai", -DlgTableRows : "Sorok", -DlgTableColumns : "Oszlopok", -DlgTableBorder : "Szegélyméret", -DlgTableAlign : "Igazítás", -DlgTableAlignNotSet : "<Nincs beállítva>", -DlgTableAlignLeft : "Balra", -DlgTableAlignCenter : "Középre", -DlgTableAlignRight : "Jobbra", -DlgTableWidth : "Szélesség", -DlgTableWidthPx : "képpont", -DlgTableWidthPc : "százalék", -DlgTableHeight : "Magasság", -DlgTableCellSpace : "Cella térköz", -DlgTableCellPad : "Cella belső margó", -DlgTableCaption : "Felirat", -DlgTableSummary : "Leírás", - -// Table Cell Dialog -DlgCellTitle : "Cella tulajdonságai", -DlgCellWidth : "Szélesség", -DlgCellWidthPx : "képpont", -DlgCellWidthPc : "százalék", -DlgCellHeight : "Magasság", -DlgCellWordWrap : "Sortörés", -DlgCellWordWrapNotSet : "<Nincs beállítva>", -DlgCellWordWrapYes : "Igen", -DlgCellWordWrapNo : "Nem", -DlgCellHorAlign : "Vízsz. igazítás", -DlgCellHorAlignNotSet : "<Nincs beállítva>", -DlgCellHorAlignLeft : "Balra", -DlgCellHorAlignCenter : "Középre", -DlgCellHorAlignRight: "Jobbra", -DlgCellVerAlign : "Függ. igazítás", -DlgCellVerAlignNotSet : "<Nincs beállítva>", -DlgCellVerAlignTop : "Tetejére", -DlgCellVerAlignMiddle : "Középre", -DlgCellVerAlignBottom : "Aljára", -DlgCellVerAlignBaseline : "Egyvonalba", -DlgCellRowSpan : "Sorok egyesítése", -DlgCellCollSpan : "Oszlopok egyesítése", -DlgCellBackColor : "Háttérszín", -DlgCellBorderColor : "Szegélyszín", -DlgCellBtnSelect : "Kiválasztás...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Keresés és csere", - -// Find Dialog -DlgFindTitle : "Keresés", -DlgFindFindBtn : "Keresés", -DlgFindNotFoundMsg : "A keresett szöveg nem található.", - -// Replace Dialog -DlgReplaceTitle : "Csere", -DlgReplaceFindLbl : "Keresett szöveg:", -DlgReplaceReplaceLbl : "Csere erre:", -DlgReplaceCaseChk : "kis- és nagybetű megkülönböztetése", -DlgReplaceReplaceBtn : "Csere", -DlgReplaceReplAllBtn : "Az összes cseréje", -DlgReplaceWordChk : "csak ha ez a teljes szó", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+X).", - -PasteAsText : "Beillesztés formázatlan szövegként", -PasteFromWord : "Beillesztés Word-ből", - -DlgPasteMsg2 : "Másolja be az alábbi mezőbe a <STRONG>Ctrl+V</STRONG> billentyűk lenyomásával, majd nyomjon <STRONG>Rendben</STRONG>-t.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Betű formázások megszüntetése", -DlgPasteRemoveStyles : "Stílusok eltávolítása", -DlgPasteCleanBox : "Törlés", - -// Color Picker -ColorAutomatic : "Automatikus", -ColorMoreColors : "További színek...", - -// Document Properties -DocProps : "Dokumentum tulajdonságai", - -// Anchor Dialog -DlgAnchorTitle : "Horgony tulajdonságai", -DlgAnchorName : "Horgony neve", -DlgAnchorErrorName : "Kérem adja meg a horgony nevét", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nincs a szótárban", -DlgSpellChangeTo : "Módosítás", -DlgSpellBtnIgnore : "Kihagyja", -DlgSpellBtnIgnoreAll : "Mindet kihagyja", -DlgSpellBtnReplace : "Csere", -DlgSpellBtnReplaceAll : "Összes cseréje", -DlgSpellBtnUndo : "Visszavonás", -DlgSpellNoSuggestions : "Nincs javaslat", -DlgSpellProgress : "Helyesírás-ellenőrzés folyamatban...", -DlgSpellNoMispell : "Helyesírás-ellenőrzés kész: Nem találtam hibát", -DlgSpellNoChanges : "Helyesírás-ellenőrzés kész: Nincs változtatott szó", -DlgSpellOneChange : "Helyesírás-ellenőrzés kész: Egy szó cserélve", -DlgSpellManyChanges : "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?", - -// Button Dialog -DlgButtonText : "Szöveg (Érték)", -DlgButtonType : "Típus", -DlgButtonTypeBtn : "Gomb", -DlgButtonTypeSbm : "Küldés", -DlgButtonTypeRst : "Alaphelyzet", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Név", -DlgCheckboxValue : "Érték", -DlgCheckboxSelected : "Kiválasztott", - -// Form Dialog -DlgFormName : "Név", -DlgFormAction : "Adatfeldolgozást végző hivatkozás", -DlgFormMethod : "Adatküldés módja", - -// Select Field Dialog -DlgSelectName : "Név", -DlgSelectValue : "Érték", -DlgSelectSize : "Méret", -DlgSelectLines : "sor", -DlgSelectChkMulti : "több sor is kiválasztható", -DlgSelectOpAvail : "Elérhető opciók", -DlgSelectOpText : "Szöveg", -DlgSelectOpValue : "Érték", -DlgSelectBtnAdd : "Hozzáad", -DlgSelectBtnModify : "Módosít", -DlgSelectBtnUp : "Fel", -DlgSelectBtnDown : "Le", -DlgSelectBtnSetValue : "Legyen az alapértelmezett érték", -DlgSelectBtnDelete : "Töröl", - -// Textarea Dialog -DlgTextareaName : "Név", -DlgTextareaCols : "Karakterek száma egy sorban", -DlgTextareaRows : "Sorok száma", - -// Text Field Dialog -DlgTextName : "Név", -DlgTextValue : "Érték", -DlgTextCharWidth : "Megjelenített karakterek száma", -DlgTextMaxChars : "Maximális karakterszám", -DlgTextType : "Típus", -DlgTextTypeText : "Szöveg", -DlgTextTypePass : "Jelszó", - -// Hidden Field Dialog -DlgHiddenName : "Név", -DlgHiddenValue : "Érték", - -// Bulleted List Dialog -BulletedListProp : "Felsorolás tulajdonságai", -NumberedListProp : "Számozás tulajdonságai", -DlgLstStart : "Start", -DlgLstType : "Formátum", -DlgLstTypeCircle : "Kör", -DlgLstTypeDisc : "Lemez", -DlgLstTypeSquare : "Négyzet", -DlgLstTypeNumbers : "Számok (1, 2, 3)", -DlgLstTypeLCase : "Kisbetűk (a, b, c)", -DlgLstTypeUCase : "Nagybetűk (A, B, C)", -DlgLstTypeSRoman : "Kis római számok (i, ii, iii)", -DlgLstTypeLRoman : "Nagy római számok (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Általános", -DlgDocBackTab : "Háttér", -DlgDocColorsTab : "Színek és margók", -DlgDocMetaTab : "Meta adatok", - -DlgDocPageTitle : "Oldalcím", -DlgDocLangDir : "Írás iránya", -DlgDocLangDirLTR : "Balról jobbra", -DlgDocLangDirRTL : "Jobbról balra", -DlgDocLangCode : "Nyelv kód", -DlgDocCharSet : "Karakterkódolás", -DlgDocCharSetCE : "Közép-Európai", -DlgDocCharSetCT : "Kínai Tradicionális (Big5)", -DlgDocCharSetCR : "Cyrill", -DlgDocCharSetGR : "Görög", -DlgDocCharSetJP : "Japán", -DlgDocCharSetKR : "Koreai", -DlgDocCharSetTR : "Török", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Nyugat-Európai", -DlgDocCharSetOther : "Más karakterkódolás", - -DlgDocDocType : "Dokumentum típus fejléc", -DlgDocDocTypeOther : "Más dokumentum típus fejléc", -DlgDocIncXHTML : "XHTML deklarációk beillesztése", -DlgDocBgColor : "Háttérszín", -DlgDocBgImage : "Háttérkép cím", -DlgDocBgNoScroll : "Nem gördíthető háttér", -DlgDocCText : "Szöveg", -DlgDocCLink : "Cím", -DlgDocCVisited : "Látogatott cím", -DlgDocCActive : "Aktív cím", -DlgDocMargins : "Oldal margók", -DlgDocMaTop : "Felső", -DlgDocMaLeft : "Bal", -DlgDocMaRight : "Jobb", -DlgDocMaBottom : "Alsó", -DlgDocMeIndex : "Dokumentum keresőszavak (vesszővel elválasztva)", -DlgDocMeDescr : "Dokumentum leírás", -DlgDocMeAuthor : "Szerző", -DlgDocMeCopy : "Szerzői jog", -DlgDocPreview : "Előnézet", - -// Templates Dialog -Templates : "Sablonok", -DlgTemplatesTitle : "Elérhető sablonok", -DlgTemplatesSelMsg : "Válassza ki melyik sablon nyíljon meg a szerkesztőben<br>(a jelenlegi tartalom elveszik):", -DlgTemplatesLoading : "Sablon lista betöltése. Kis türelmet...", -DlgTemplatesNoTpl : "(Nincs sablon megadva)", -DlgTemplatesReplace : "Kicseréli a jelenlegi tartalmat", - -// About Dialog -DlgAboutAboutTab : "Névjegy", -DlgAboutBrowserInfoTab : "Böngésző információ", -DlgAboutLicenseTab : "Licensz", -DlgAboutVersion : "verzió", -DlgAboutInfo : "További információkért látogasson el ide:" -}; diff --git a/editor/editor/lang/it.js b/editor/editor/lang/it.js @@ -1,516 +1,6 @@ /* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Italian language file. - */ +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Nascondi la barra degli strumenti", -ToolbarExpand : "Mostra la barra degli strumenti", - -// Toolbar Items and Context Menu -Save : "Salva", -NewPage : "Nuova pagina vuota", -Preview : "Anteprima", -Cut : "Taglia", -Copy : "Copia", -Paste : "Incolla", -PasteText : "Incolla come testo semplice", -PasteWord : "Incolla da Word", -Print : "Stampa", -SelectAll : "Seleziona tutto", -RemoveFormat : "Elimina formattazione", -InsertLinkLbl : "Collegamento", -InsertLink : "Inserisci/Modifica collegamento", -RemoveLink : "Elimina collegamento", -Anchor : "Inserisci/Modifica Ancora", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Immagine", -InsertImage : "Inserisci/Modifica immagine", -InsertFlashLbl : "Oggetto Flash", -InsertFlash : "Inserisci/Modifica Oggetto Flash", -InsertTableLbl : "Tabella", -InsertTable : "Inserisci/Modifica tabella", -InsertLineLbl : "Riga orizzontale", -InsertLine : "Inserisci riga orizzontale", -InsertSpecialCharLbl: "Caratteri speciali", -InsertSpecialChar : "Inserisci carattere speciale", -InsertSmileyLbl : "Emoticon", -InsertSmiley : "Inserisci emoticon", -About : "Informazioni su FCKeditor", -Bold : "Grassetto", -Italic : "Corsivo", -Underline : "Sottolineato", -StrikeThrough : "Barrato", -Subscript : "Pedice", -Superscript : "Apice", -LeftJustify : "Allinea a sinistra", -CenterJustify : "Centra", -RightJustify : "Allinea a destra", -BlockJustify : "Giustifica", -DecreaseIndent : "Riduci rientro", -IncreaseIndent : "Aumenta rientro", -Blockquote : "Blockquote", //MISSING -Undo : "Annulla", -Redo : "Ripristina", -NumberedListLbl : "Elenco numerato", -NumberedList : "Inserisci/Modifica elenco numerato", -BulletedListLbl : "Elenco puntato", -BulletedList : "Inserisci/Modifica elenco puntato", -ShowTableBorders : "Mostra bordi tabelle", -ShowDetails : "Mostra dettagli", -Style : "Stile", -FontFormat : "Formato", -Font : "Font", -FontSize : "Dimensione", -TextColor : "Colore testo", -BGColor : "Colore sfondo", -Source : "Codice Sorgente", -Find : "Trova", -Replace : "Sostituisci", -SpellCheck : "Correttore ortografico", -UniversalKeyboard : "Tastiera universale", -PageBreakLbl : "Interruzione di pagina", -PageBreak : "Inserisci interruzione di pagina", - -Form : "Modulo", -Checkbox : "Checkbox", -RadioButton : "Radio Button", -TextField : "Campo di testo", -Textarea : "Area di testo", -HiddenField : "Campo nascosto", -Button : "Bottone", -SelectionField : "Menu di selezione", -ImageButton : "Bottone immagine", - -FitWindow : "Massimizza l'area dell'editor", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Modifica collegamento", -CellCM : "Cella", -RowCM : "Riga", -ColumnCM : "Colonna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Elimina righe", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Elimina colonne", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Elimina celle", -MergeCells : "Unisce celle", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Cancella Tabella", -CellProperties : "Proprietà cella", -TableProperties : "Proprietà tabella", -ImageProperties : "Proprietà immagine", -FlashProperties : "Proprietà Oggetto Flash", - -AnchorProp : "Proprietà ancora", -ButtonProp : "Proprietà bottone", -CheckboxProp : "Proprietà checkbox", -HiddenFieldProp : "Proprietà campo nascosto", -RadioButtonProp : "Proprietà radio button", -ImageButtonProp : "Proprietà bottone immagine", -TextFieldProp : "Proprietà campo di testo", -SelectionFieldProp : "Proprietà menu di selezione", -TextareaProp : "Proprietà area di testo", -FormProp : "Proprietà modulo", - -FontFormats : "Normale;Formattato;Indirizzo;Titolo 1;Titolo 2;Titolo 3;Titolo 4;Titolo 5;Titolo 6;Paragrafo (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Elaborazione XHTML in corso. Attendere prego...", -Done : "Completato", -PasteWordConfirm : "Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?", -NotCompatiblePaste : "Questa funzione è disponibile solo per Internet Explorer 5.5 o superiore. Desideri incollare il testo senza pulirlo?", -UnknownToolbarItem : "Elemento della barra strumenti sconosciuto \"%1\"", -UnknownCommand : "Comando sconosciuto \"%1\"", -NotImplemented : "Comando non implementato", -UnknownToolbarSet : "La barra di strumenti \"%1\" non esiste", -NoActiveX : "Le impostazioni di sicurezza del tuo browser potrebbero limitare alcune funzionalità dell'editor. Devi abilitare l'opzione \"Esegui controlli e plug-in ActiveX\". Potresti avere errori e notare funzionalità mancanti.", -BrowseServerBlocked : "Non è possibile aprire la finestra di espolorazione risorse. Verifica che tutti i blocca popup siano bloccati.", -DialogBlocked : "Non è possibile aprire la finestra di dialogo. Verifica che tutti i blocca popup siano bloccati.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annulla", -DlgBtnClose : "Chiudi", -DlgBtnBrowseServer : "Cerca sul server", -DlgAdvancedTag : "Avanzate", -DlgOpOther : "<Altro>", -DlgInfoTab : "Info", -DlgAlertUrl : "Devi inserire l'URL", - -// General Dialogs Labels -DlgGenNotSet : "<non impostato>", -DlgGenId : "Id", -DlgGenLangDir : "Direzione scrittura", -DlgGenLangDirLtr : "Da Sinistra a Destra (LTR)", -DlgGenLangDirRtl : "Da Destra a Sinistra (RTL)", -DlgGenLangCode : "Codice Lingua", -DlgGenAccessKey : "Scorciatoia<br />da tastiera", -DlgGenName : "Nome", -DlgGenTabIndex : "Ordine di tabulazione", -DlgGenLongDescr : "URL descrizione estesa", -DlgGenClass : "Nome classe CSS", -DlgGenTitle : "Titolo", -DlgGenContType : "Tipo della risorsa collegata", -DlgGenLinkCharset : "Set di caretteri della risorsa collegata", -DlgGenStyle : "Stile", - -// Image Dialog -DlgImgTitle : "Proprietà immagine", -DlgImgInfoTab : "Informazioni immagine", -DlgImgBtnUpload : "Invia al server", -DlgImgURL : "URL", -DlgImgUpload : "Carica", -DlgImgAlt : "Testo alternativo", -DlgImgWidth : "Larghezza", -DlgImgHeight : "Altezza", -DlgImgLockRatio : "Blocca rapporto", -DlgBtnResetSize : "Reimposta dimensione", -DlgImgBorder : "Bordo", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Allineamento", -DlgImgAlignLeft : "Sinistra", -DlgImgAlignAbsBottom: "In basso assoluto", -DlgImgAlignAbsMiddle: "Centrato assoluto", -DlgImgAlignBaseline : "Linea base", -DlgImgAlignBottom : "In Basso", -DlgImgAlignMiddle : "Centrato", -DlgImgAlignRight : "Destra", -DlgImgAlignTextTop : "In alto al testo", -DlgImgAlignTop : "In Alto", -DlgImgPreview : "Anteprima", -DlgImgAlertUrl : "Devi inserire l'URL per l'immagine", -DlgImgLinkTab : "Collegamento", - -// Flash Dialog -DlgFlashTitle : "Proprietà Oggetto Flash", -DlgFlashChkPlay : "Avvio Automatico", -DlgFlashChkLoop : "Cicla", -DlgFlashChkMenu : "Abilita Menu di Flash", -DlgFlashScale : "Ridimensiona", -DlgFlashScaleAll : "Mostra Tutto", -DlgFlashScaleNoBorder : "Senza Bordo", -DlgFlashScaleFit : "Dimensione Esatta", - -// Link Dialog -DlgLnkWindowTitle : "Collegamento", -DlgLnkInfoTab : "Informazioni collegamento", -DlgLnkTargetTab : "Destinazione", - -DlgLnkType : "Tipo di Collegamento", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ancora nella pagina", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocollo", -DlgLnkProtoOther : "<altro>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Scegli Ancora", -DlgLnkAnchorByName : "Per Nome", -DlgLnkAnchorById : "Per id elemento", -DlgLnkNoAnchors : "(Nessuna ancora disponibile nel documento)", -DlgLnkEMail : "Indirizzo E-Mail", -DlgLnkEMailSubject : "Oggetto del messaggio", -DlgLnkEMailBody : "Corpo del messaggio", -DlgLnkUpload : "Carica", -DlgLnkBtnUpload : "Invia al Server", - -DlgLnkTarget : "Destinazione", -DlgLnkTargetFrame : "<riquadro>", -DlgLnkTargetPopup : "<finestra popup>", -DlgLnkTargetBlank : "Nuova finestra (_blank)", -DlgLnkTargetParent : "Finestra padre (_parent)", -DlgLnkTargetSelf : "Stessa finestra (_self)", -DlgLnkTargetTop : "Finestra superiore (_top)", -DlgLnkTargetFrameName : "Nome del riquadro di destinazione", -DlgLnkPopWinName : "Nome finestra popup", -DlgLnkPopWinFeat : "Caratteristiche finestra popup", -DlgLnkPopResize : "Ridimensionabile", -DlgLnkPopLocation : "Barra degli indirizzi", -DlgLnkPopMenu : "Barra del menu", -DlgLnkPopScroll : "Barre di scorrimento", -DlgLnkPopStatus : "Barra di stato", -DlgLnkPopToolbar : "Barra degli strumenti", -DlgLnkPopFullScrn : "A tutto schermo (IE)", -DlgLnkPopDependent : "Dipendente (Netscape)", -DlgLnkPopWidth : "Larghezza", -DlgLnkPopHeight : "Altezza", -DlgLnkPopLeft : "Posizione da sinistra", -DlgLnkPopTop : "Posizione dall'alto", - -DlnLnkMsgNoUrl : "Devi inserire l'URL del collegamento", -DlnLnkMsgNoEMail : "Devi inserire un'indirizzo e-mail", -DlnLnkMsgNoAnchor : "Devi selezionare un'ancora", -DlnLnkMsgInvPopName : "Il nome del popup deve iniziare con una lettera, e non può contenere spazi", - -// Color Dialog -DlgColorTitle : "Seleziona colore", -DlgColorBtnClear : "Vuota", -DlgColorHighlight : "Evidenziato", -DlgColorSelected : "Selezionato", - -// Smiley Dialog -DlgSmileyTitle : "Inserisci emoticon", - -// Special Character Dialog -DlgSpecialCharTitle : "Seleziona carattere speciale", - -// Table Dialog -DlgTableTitle : "Proprietà tabella", -DlgTableRows : "Righe", -DlgTableColumns : "Colonne", -DlgTableBorder : "Dimensione bordo", -DlgTableAlign : "Allineamento", -DlgTableAlignNotSet : "<non impostato>", -DlgTableAlignLeft : "Sinistra", -DlgTableAlignCenter : "Centrato", -DlgTableAlignRight : "Destra", -DlgTableWidth : "Larghezza", -DlgTableWidthPx : "pixel", -DlgTableWidthPc : "percento", -DlgTableHeight : "Altezza", -DlgTableCellSpace : "Spaziatura celle", -DlgTableCellPad : "Padding celle", -DlgTableCaption : "Intestazione", -DlgTableSummary : "Indice", - -// Table Cell Dialog -DlgCellTitle : "Proprietà cella", -DlgCellWidth : "Larghezza", -DlgCellWidthPx : "pixel", -DlgCellWidthPc : "percento", -DlgCellHeight : "Altezza", -DlgCellWordWrap : "A capo automatico", -DlgCellWordWrapNotSet : "<non impostato>", -DlgCellWordWrapYes : "Si", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "Allineamento orizzontale", -DlgCellHorAlignNotSet : "<non impostato>", -DlgCellHorAlignLeft : "Sinistra", -DlgCellHorAlignCenter : "Centrato", -DlgCellHorAlignRight: "Destra", -DlgCellVerAlign : "Allineamento verticale", -DlgCellVerAlignNotSet : "<non impostato>", -DlgCellVerAlignTop : "In Alto", -DlgCellVerAlignMiddle : "Centrato", -DlgCellVerAlignBottom : "In Basso", -DlgCellVerAlignBaseline : "Linea base", -DlgCellRowSpan : "Righe occupate", -DlgCellCollSpan : "Colonne occupate", -DlgCellBackColor : "Colore sfondo", -DlgCellBorderColor : "Colore bordo", -DlgCellBtnSelect : "Scegli...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Trova", -DlgFindFindBtn : "Trova", -DlgFindNotFoundMsg : "L'elemento cercato non è stato trovato.", - -// Replace Dialog -DlgReplaceTitle : "Sostituisci", -DlgReplaceFindLbl : "Trova:", -DlgReplaceReplaceLbl : "Sostituisci con:", -DlgReplaceCaseChk : "Maiuscole/minuscole", -DlgReplaceReplaceBtn : "Sostituisci", -DlgReplaceReplAllBtn : "Sostituisci tutto", -DlgReplaceWordChk : "Solo parole intere", - -// Paste Operations / Dialog -PasteErrorCut : "Le impostazioni di sicurezza del browser non permettono di tagliare automaticamente il testo. Usa la tastiera (Ctrl+X).", -PasteErrorCopy : "Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl+C).", - -PasteAsText : "Incolla come testo semplice", -PasteFromWord : "Incolla da Word", - -DlgPasteMsg2 : "Incolla il testo all'interno dell'area sottostante usando la scorciatoia di tastiere (<STRONG>Ctrl+V</STRONG>) e premi <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignora le definizioni di Font", -DlgPasteRemoveStyles : "Rimuovi le definizioni di Stile", -DlgPasteCleanBox : "Svuota area di testo", - -// Color Picker -ColorAutomatic : "Automatico", -ColorMoreColors : "Altri colori...", - -// Document Properties -DocProps : "Proprietà del Documento", - -// Anchor Dialog -DlgAnchorTitle : "Proprietà ancora", -DlgAnchorName : "Nome ancora", -DlgAnchorErrorName : "Inserici il nome dell'ancora", - -// Speller Pages Dialog -DlgSpellNotInDic : "Non nel dizionario", -DlgSpellChangeTo : "Cambia in", -DlgSpellBtnIgnore : "Ignora", -DlgSpellBtnIgnoreAll : "Ignora tutto", -DlgSpellBtnReplace : "Cambia", -DlgSpellBtnReplaceAll : "Cambia tutto", -DlgSpellBtnUndo : "Annulla", -DlgSpellNoSuggestions : "- Nessun suggerimento -", -DlgSpellProgress : "Controllo ortografico in corso", -DlgSpellNoMispell : "Controllo ortografico completato: nessun errore trovato", -DlgSpellNoChanges : "Controllo ortografico completato: nessuna parola cambiata", -DlgSpellOneChange : "Controllo ortografico completato: 1 parola cambiata", -DlgSpellManyChanges : "Controllo ortografico completato: %1 parole cambiate", - -IeSpellDownload : "Contollo ortografico non installato. Lo vuoi scaricare ora?", - -// Button Dialog -DlgButtonText : "Testo (Value)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Bottone", -DlgButtonTypeSbm : "Invio", -DlgButtonTypeRst : "Annulla", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nome", -DlgCheckboxValue : "Valore", -DlgCheckboxSelected : "Selezionato", - -// Form Dialog -DlgFormName : "Nome", -DlgFormAction : "Azione", -DlgFormMethod : "Metodo", - -// Select Field Dialog -DlgSelectName : "Nome", -DlgSelectValue : "Valore", -DlgSelectSize : "Dimensione", -DlgSelectLines : "righe", -DlgSelectChkMulti : "Permetti selezione multipla", -DlgSelectOpAvail : "Opzioni disponibili", -DlgSelectOpText : "Testo", -DlgSelectOpValue : "Valore", -DlgSelectBtnAdd : "Aggiungi", -DlgSelectBtnModify : "Modifica", -DlgSelectBtnUp : "Su", -DlgSelectBtnDown : "Gi", -DlgSelectBtnSetValue : "Imposta come predefinito", -DlgSelectBtnDelete : "Rimuovi", - -// Textarea Dialog -DlgTextareaName : "Nome", -DlgTextareaCols : "Colonne", -DlgTextareaRows : "Righe", - -// Text Field Dialog -DlgTextName : "Nome", -DlgTextValue : "Valore", -DlgTextCharWidth : "Larghezza", -DlgTextMaxChars : "Numero massimo di caratteri", -DlgTextType : "Tipo", -DlgTextTypeText : "Testo", -DlgTextTypePass : "Password", - -// Hidden Field Dialog -DlgHiddenName : "Nome", -DlgHiddenValue : "Valore", - -// Bulleted List Dialog -BulletedListProp : "Proprietà lista puntata", -NumberedListProp : "Proprietà lista numerata", -DlgLstStart : "Inizio", -DlgLstType : "Tipo", -DlgLstTypeCircle : "Tondo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Quadrato", -DlgLstTypeNumbers : "Numeri (1, 2, 3)", -DlgLstTypeLCase : "Caratteri minuscoli (a, b, c)", -DlgLstTypeUCase : "Caratteri maiuscoli (A, B, C)", -DlgLstTypeSRoman : "Numeri Romani minuscoli (i, ii, iii)", -DlgLstTypeLRoman : "Numeri Romani maiuscoli (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Genarale", -DlgDocBackTab : "Sfondo", -DlgDocColorsTab : "Colori e margini", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Titolo pagina", -DlgDocLangDir : "Direzione scrittura", -DlgDocLangDirLTR : "Da Sinistra a Destra (LTR)", -DlgDocLangDirRTL : "Da Destra a Sinistra (RTL)", -DlgDocLangCode : "Codice Lingua", -DlgDocCharSet : "Set di caretteri", -DlgDocCharSetCE : "Europa Centrale", -DlgDocCharSetCT : "Cinese Tradizionale (Big5)", -DlgDocCharSetCR : "Cirillico", -DlgDocCharSetGR : "Greco", -DlgDocCharSetJP : "Giapponese", -DlgDocCharSetKR : "Coreano", -DlgDocCharSetTR : "Turco", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Europa Occidentale", -DlgDocCharSetOther : "Altro set di caretteri", - -DlgDocDocType : "Intestazione DocType", -DlgDocDocTypeOther : "Altra intestazione DocType", -DlgDocIncXHTML : "Includi dichiarazione XHTML", -DlgDocBgColor : "Colore di sfondo", -DlgDocBgImage : "Immagine di sfondo", -DlgDocBgNoScroll : "Sfondo fissato", -DlgDocCText : "Testo", -DlgDocCLink : "Collegamento", -DlgDocCVisited : "Collegamento visitato", -DlgDocCActive : "Collegamento attivo", -DlgDocMargins : "Margini", -DlgDocMaTop : "In Alto", -DlgDocMaLeft : "A Sinistra", -DlgDocMaRight : "A Destra", -DlgDocMaBottom : "In Basso", -DlgDocMeIndex : "Chiavi di indicizzazione documento (separate da virgola)", -DlgDocMeDescr : "Descrizione documento", -DlgDocMeAuthor : "Autore", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Anteprima", - -// Templates Dialog -Templates : "Modelli", -DlgTemplatesTitle : "Contenuto dei modelli", -DlgTemplatesSelMsg : "Seleziona il modello da aprire nell'editor<br />(il contenuto attuale verrà eliminato):", -DlgTemplatesLoading : "Caricamento modelli in corso. Attendere prego...", -DlgTemplatesNoTpl : "(Nessun modello definito)", -DlgTemplatesReplace : "Cancella il contenuto corrente", - -// About Dialog -DlgAboutAboutTab : "Informazioni", -DlgAboutBrowserInfoTab : "Informazioni Browser", -DlgAboutLicenseTab : "Licenza", -DlgAboutVersion : "versione", -DlgAboutInfo : "Per maggiori informazioni visitare" -}; +CKEDITOR.lang.it={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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:{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',preview:'Preview',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',unavailable:'%1<span class="cke_accessibility">, non disponibile</span>'},specialChar:{toolbar:'Inserisci carattere speciale',title:'Seleziona carattere speciale'},link:{toolbar:'Inserisci/Modifica collegamento',menu:'Modifica collegamento',title:'Collegamento',info:'Informazioni collegamento',target:'Destinazione',upload:'Carica',advanced:'Avanzate',type:'Tipo di Collegamento',toUrl:'URL',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:{toolbar:'Inserisci/Modifica Ancora',menu:'Proprietà ancora',title:'Proprietà ancora',name:'Nome ancora',errorName:"Inserici il nome dell'ancora"},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:{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',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'},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:{title:'Proprietà bottone',text:'Testo (Value)',type:'Tipo',typeBtn:'Bottone',typeSbm:'Invio',typeRst:'Annulla'},checkboxAndRadio:{checkboxTitle:'Proprietà checkbox',radioTitle:'Proprietà radio button',value:'Valore',selected:'Selezionato'},form:{title:'Proprietà modulo',menu:'Proprietà modulo',action:'Azione',method:'Metodo',encoding:'Codifica'},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:{title:'Proprietà area di testo',cols:'Colonne',rows:'Righe'},textfield:{title:'Proprietà campo di testo',name:'Nome',value:'Valore',charWidth:'Larghezza',maxChars:'Numero massimo di caratteri',type:'Tipo',typeText:'Testo',typePass:'Password'},hidden:{title:'Proprietà campo nascosto',name:'Nome',value:'Valore'},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',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.',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:{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."},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'},elementsPath:{eleLabel:'Elements path',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+X).',copyError:'Le impostazioni di sicurezza del browser non permettono di copiare automaticamente il testo. Usa la tastiera (Ctrl+C).',pasteMsg:"Incolla il testo all'interno dell'area sottostante usando la scorciatoia di tastiere (<STRONG>Ctrl+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'},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'},pasteText:{button:'Incolla come testo semplice',title:'Incolla come testo semplice'},templates:{button:'Modelli',title:'Contenuto dei modelli',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',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',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'},fontSize:{label:'Dimensione',voiceLabel:'Dimensione Font',panelTitle:'Dimensione'},colorButton:{textColorTitle:'Colore testo',bgColorTitle:'Colore sfondo',panelTitle:'Colors',auto:'Automatico',more:'Altri colori...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dim 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:'Dark 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:'Controllo Ortografico Mentre Scrivi',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',languagesTab:'Lingue',dictionariesTab:'Dizionari',aboutTab:'About'},about:{title:'About CKEditor',dlgTitle:'About CKEditor',moreInfo:'Per le informazioni sulla licenza si prega di visitare il nostro sito:',copy:'Copyright &copy; $1. Tutti i diritti riservati.'},maximize:'Massimizza',minimize:'Minimize',fakeobjects:{anchor:'Ancora',flash:'Animazione Flash',div:'Interruzione di Pagina',unknown:'Oggetto sconosciuto'},resize:'Trascina per ridimensionare',colordialog:{title:'Select color',highlight:'Highlight',selected:'Selected',clear:'Clear'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar'}; diff --git a/editor/editor/lang/ja.js b/editor/editor/lang/ja.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Japanese language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "ツールバーを隠す", -ToolbarExpand : "ツールバーを表示", - -// Toolbar Items and Context Menu -Save : "保存", -NewPage : "新しいページ", -Preview : "プレビュー", -Cut : "切り取り", -Copy : "コピー", -Paste : "貼り付け", -PasteText : "プレーンテキスト貼り付け", -PasteWord : "ワード文章から貼り付け", -Print : "印刷", -SelectAll : "すべて選択", -RemoveFormat : "フォーマット削除", -InsertLinkLbl : "リンク", -InsertLink : "リンク挿入/編集", -RemoveLink : "リンク削除", -Anchor : "アンカー挿入/編集", -AnchorDelete : "アンカー削除", -InsertImageLbl : "イメージ", -InsertImage : "イメージ挿入/編集", -InsertFlashLbl : "Flash", -InsertFlash : "Flash挿入/編集", -InsertTableLbl : "テーブル", -InsertTable : "テーブル挿入/編集", -InsertLineLbl : "ライン", -InsertLine : "横罫線", -InsertSpecialCharLbl: "特殊文字", -InsertSpecialChar : "特殊文字挿入", -InsertSmileyLbl : "絵文字", -InsertSmiley : "絵文字挿入", -About : "FCKeditorヘルプ", -Bold : "太字", -Italic : "斜体", -Underline : "下線", -StrikeThrough : "打ち消し線", -Subscript : "添え字", -Superscript : "上付き文字", -LeftJustify : "左揃え", -CenterJustify : "中央揃え", -RightJustify : "右揃え", -BlockJustify : "両端揃え", -DecreaseIndent : "インデント解除", -IncreaseIndent : "インデント", -Blockquote : "ブロック引用", -Undo : "元に戻す", -Redo : "やり直し", -NumberedListLbl : "段落番号", -NumberedList : "段落番号の追加/削除", -BulletedListLbl : "箇条書き", -BulletedList : "箇条書きの追加/削除", -ShowTableBorders : "テーブルボーダー表示", -ShowDetails : "詳細表示", -Style : "スタイル", -FontFormat : "フォーマット", -Font : "フォント", -FontSize : "サイズ", -TextColor : "テキスト色", -BGColor : "背景色", -Source : "ソース", -Find : "検索", -Replace : "置き換え", -SpellCheck : "スペルチェック", -UniversalKeyboard : "ユニバーサル・キーボード", -PageBreakLbl : "改ページ", -PageBreak : "改ページ挿入", - -Form : "フォーム", -Checkbox : "チェックボックス", -RadioButton : "ラジオボタン", -TextField : "1行テキスト", -Textarea : "テキストエリア", -HiddenField : "不可視フィールド", -Button : "ボタン", -SelectionField : "選択フィールド", -ImageButton : "画像ボタン", - -FitWindow : "エディタサイズを最大にします", -ShowBlocks : "ブロック表示", - -// Context Menu -EditLink : "リンク編集", -CellCM : "セル", -RowCM : "行", -ColumnCM : "カラム", -InsertRowAfter : "列の後に挿入", -InsertRowBefore : "列の前に挿入", -DeleteRows : "行削除", -InsertColumnAfter : "カラムの後に挿入", -InsertColumnBefore : "カラムの前に挿入", -DeleteColumns : "列削除", -InsertCellAfter : "セルの後に挿入", -InsertCellBefore : "セルの前に挿入", -DeleteCells : "セル削除", -MergeCells : "セル結合", -MergeRight : "右に結合", -MergeDown : "下に結合", -HorizontalSplitCell : "セルを水平方向分割", -VerticalSplitCell : "セルを垂直方向に分割", -TableDelete : "テーブル削除", -CellProperties : "セル プロパティ", -TableProperties : "テーブル プロパティ", -ImageProperties : "イメージ プロパティ", -FlashProperties : "Flash プロパティ", - -AnchorProp : "アンカー プロパティ", -ButtonProp : "ボタン プロパティ", -CheckboxProp : "チェックボックス プロパティ", -HiddenFieldProp : "不可視フィールド プロパティ", -RadioButtonProp : "ラジオボタン プロパティ", -ImageButtonProp : "画像ボタン プロパティ", -TextFieldProp : "1行テキスト プロパティ", -SelectionFieldProp : "選択フィールド プロパティ", -TextareaProp : "テキストエリア プロパティ", -FormProp : "フォーム プロパティ", - -FontFormats : "標準;書式付き;アドレス;見出し 1;見出し 2;見出し 3;見出し 4;見出し 5;見出し 6;標準 (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML処理中. しばらくお待ちください...", -Done : "完了", -PasteWordConfirm : "貼り付けを行うテキストは、ワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?", -NotCompatiblePaste : "このコマンドはインターネット・エクスプローラーバージョン5.5以上で利用可能です。クリーニングしないで貼り付けを行いますか?", -UnknownToolbarItem : "未知のツールバー項目 \"%1\"", -UnknownCommand : "未知のコマンド名 \"%1\"", -NotImplemented : "コマンドはインプリメントされませんでした。", -UnknownToolbarSet : "ツールバー設定 \"%1\" 存在しません。", -NoActiveX : "エラー、警告メッセージなどが発生した場合、ブラウザーのセキュリティ設定によりエディタのいくつかの機能が制限されている可能性があります。セキュリティ設定のオプションで\"ActiveXコントロールとプラグインの実行\"を有効にするにしてください。", -BrowseServerBlocked : "サーバーブラウザーを開くことができませんでした。ポップアップ・ブロック機能が無効になっているか確認してください。", -DialogBlocked : "ダイアログウィンドウを開くことができませんでした。ポップアップ・ブロック機能が無効になっているか確認してください。", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "キャンセル", -DlgBtnClose : "閉じる", -DlgBtnBrowseServer : "サーバーブラウザー", -DlgAdvancedTag : "高度な設定", -DlgOpOther : "<その他>", -DlgInfoTab : "情報", -DlgAlertUrl : "URLを挿入してください", - -// General Dialogs Labels -DlgGenNotSet : "<なし>", -DlgGenId : "Id", -DlgGenLangDir : "文字表記の方向", -DlgGenLangDirLtr : "左から右 (LTR)", -DlgGenLangDirRtl : "右から左 (RTL)", -DlgGenLangCode : "言語コード", -DlgGenAccessKey : "アクセスキー", -DlgGenName : "Name属性", -DlgGenTabIndex : "タブインデックス", -DlgGenLongDescr : "longdesc属性(長文説明)", -DlgGenClass : "スタイルシートクラス", -DlgGenTitle : "Title属性", -DlgGenContType : "Content Type属性", -DlgGenLinkCharset : "リンクcharset属性", -DlgGenStyle : "スタイルシート", - -// Image Dialog -DlgImgTitle : "イメージ プロパティ", -DlgImgInfoTab : "イメージ 情報", -DlgImgBtnUpload : "サーバーに送信", -DlgImgURL : "URL", -DlgImgUpload : "アップロード", -DlgImgAlt : "代替テキスト", -DlgImgWidth : "幅", -DlgImgHeight : "高さ", -DlgImgLockRatio : "ロック比率", -DlgBtnResetSize : "サイズリセット", -DlgImgBorder : "ボーダー", -DlgImgHSpace : "横間隔", -DlgImgVSpace : "縦間隔", -DlgImgAlign : "行揃え", -DlgImgAlignLeft : "左", -DlgImgAlignAbsBottom: "下部(絶対的)", -DlgImgAlignAbsMiddle: "中央(絶対的)", -DlgImgAlignBaseline : "ベースライン", -DlgImgAlignBottom : "下", -DlgImgAlignMiddle : "中央", -DlgImgAlignRight : "右", -DlgImgAlignTextTop : "テキスト上部", -DlgImgAlignTop : "上", -DlgImgPreview : "プレビュー", -DlgImgAlertUrl : "イメージのURLを入力してください。", -DlgImgLinkTab : "リンク", - -// Flash Dialog -DlgFlashTitle : "Flash プロパティ", -DlgFlashChkPlay : "再生", -DlgFlashChkLoop : "ループ再生", -DlgFlashChkMenu : "Flashメニュー可能", -DlgFlashScale : "拡大縮小設定", -DlgFlashScaleAll : "すべて表示", -DlgFlashScaleNoBorder : "外が見えない様に拡大", -DlgFlashScaleFit : "上下左右にフィット", - -// Link Dialog -DlgLnkWindowTitle : "ハイパーリンク", -DlgLnkInfoTab : "ハイパーリンク 情報", -DlgLnkTargetTab : "ターゲット", - -DlgLnkType : "リンクタイプ", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "このページのアンカー", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "プロトコル", -DlgLnkProtoOther : "<その他>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "アンカーを選択", -DlgLnkAnchorByName : "アンカー名", -DlgLnkAnchorById : "エレメントID", -DlgLnkNoAnchors : "(ドキュメントにおいて利用可能なアンカーはありません。)", -DlgLnkEMail : "E-Mail アドレス", -DlgLnkEMailSubject : "件名", -DlgLnkEMailBody : "本文", -DlgLnkUpload : "アップロード", -DlgLnkBtnUpload : "サーバーに送信", - -DlgLnkTarget : "ターゲット", -DlgLnkTargetFrame : "<フレーム>", -DlgLnkTargetPopup : "<ポップアップウィンドウ>", -DlgLnkTargetBlank : "新しいウィンドウ (_blank)", -DlgLnkTargetParent : "親ウィンドウ (_parent)", -DlgLnkTargetSelf : "同じウィンドウ (_self)", -DlgLnkTargetTop : "最上位ウィンドウ (_top)", -DlgLnkTargetFrameName : "目的のフレーム名", -DlgLnkPopWinName : "ポップアップウィンドウ名", -DlgLnkPopWinFeat : "ポップアップウィンドウ特徴", -DlgLnkPopResize : "リサイズ可能", -DlgLnkPopLocation : "ロケーションバー", -DlgLnkPopMenu : "メニューバー", -DlgLnkPopScroll : "スクロールバー", -DlgLnkPopStatus : "ステータスバー", -DlgLnkPopToolbar : "ツールバー", -DlgLnkPopFullScrn : "全画面モード(IE)", -DlgLnkPopDependent : "開いたウィンドウに連動して閉じる (Netscape)", -DlgLnkPopWidth : "幅", -DlgLnkPopHeight : "高さ", -DlgLnkPopLeft : "左端からの座標で指定", -DlgLnkPopTop : "上端からの座標で指定", - -DlnLnkMsgNoUrl : "リンクURLを入力してください。", -DlnLnkMsgNoEMail : "メールアドレスを入力してください。", -DlnLnkMsgNoAnchor : "アンカーを選択してください。", -DlnLnkMsgInvPopName : "ポップ・アップ名は英字で始まる文字で指定してくだい。ポップ・アップ名にスペースは含めません", - -// Color Dialog -DlgColorTitle : "色選択", -DlgColorBtnClear : "クリア", -DlgColorHighlight : "ハイライト", -DlgColorSelected : "選択色", - -// Smiley Dialog -DlgSmileyTitle : "顔文字挿入", - -// Special Character Dialog -DlgSpecialCharTitle : "特殊文字選択", - -// Table Dialog -DlgTableTitle : "テーブル プロパティ", -DlgTableRows : "行", -DlgTableColumns : "列", -DlgTableBorder : "ボーダーサイズ", -DlgTableAlign : "キャプションの整列", -DlgTableAlignNotSet : "<なし>", -DlgTableAlignLeft : "左", -DlgTableAlignCenter : "中央", -DlgTableAlignRight : "右", -DlgTableWidth : "テーブル幅", -DlgTableWidthPx : "ピクセル", -DlgTableWidthPc : "パーセント", -DlgTableHeight : "テーブル高さ", -DlgTableCellSpace : "セル内余白", -DlgTableCellPad : "セル内間隔", -DlgTableCaption : "キャプション", -DlgTableSummary : "テーブル目的/構造", - -// Table Cell Dialog -DlgCellTitle : "セル プロパティ", -DlgCellWidth : "幅", -DlgCellWidthPx : "ピクセル", -DlgCellWidthPc : "パーセント", -DlgCellHeight : "高さ", -DlgCellWordWrap : "折り返し", -DlgCellWordWrapNotSet : "<なし>", -DlgCellWordWrapYes : "Yes", -DlgCellWordWrapNo : "No", -DlgCellHorAlign : "セル横の整列", -DlgCellHorAlignNotSet : "<なし>", -DlgCellHorAlignLeft : "左", -DlgCellHorAlignCenter : "中央", -DlgCellHorAlignRight: "右", -DlgCellVerAlign : "セル縦の整列", -DlgCellVerAlignNotSet : "<なし>", -DlgCellVerAlignTop : "上", -DlgCellVerAlignMiddle : "中央", -DlgCellVerAlignBottom : "下", -DlgCellVerAlignBaseline : "ベースライン", -DlgCellRowSpan : "縦幅(行数)", -DlgCellCollSpan : "横幅(列数)", -DlgCellBackColor : "背景色", -DlgCellBorderColor : "ボーダーカラー", -DlgCellBtnSelect : "選択...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "検索して置換", - -// Find Dialog -DlgFindTitle : "検索", -DlgFindFindBtn : "検索", -DlgFindNotFoundMsg : "指定された文字列は見つかりませんでした。", - -// Replace Dialog -DlgReplaceTitle : "置き換え", -DlgReplaceFindLbl : "検索する文字列:", -DlgReplaceReplaceLbl : "置換えする文字列:", -DlgReplaceCaseChk : "部分一致", -DlgReplaceReplaceBtn : "置換え", -DlgReplaceReplAllBtn : "すべて置換え", -DlgReplaceWordChk : "単語単位で一致", - -// Paste Operations / Dialog -PasteErrorCut : "ブラウザーのセキュリティ設定によりエディタの切り取り操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+X)を使用してください。", -PasteErrorCopy : "ブラウザーのセキュリティ設定によりエディタのコピー操作が自動で実行することができません。実行するには手動でキーボードの(Ctrl+C)を使用してください。", - -PasteAsText : "プレーンテキスト貼り付け", -PasteFromWord : "ワード文章から貼り付け", - -DlgPasteMsg2 : "キーボード(<STRONG>Ctrl+V</STRONG>)を使用して、次の入力エリア内で貼って、<STRONG>OK</STRONG>を押してください。", -DlgPasteSec : "ブラウザのセキュリティ設定により、エディタはクリップボード・データに直接アクセスすることができません。このウィンドウは貼り付け操作を行う度に表示されます。", -DlgPasteIgnoreFont : "FontタグのFace属性を無視します。", -DlgPasteRemoveStyles : "スタイル定義を削除します。", -DlgPasteCleanBox : "入力エリアクリア", - -// Color Picker -ColorAutomatic : "自動", -ColorMoreColors : "その他の色...", - -// Document Properties -DocProps : "文書 プロパティ", - -// Anchor Dialog -DlgAnchorTitle : "アンカー プロパティ", -DlgAnchorName : "アンカー名", -DlgAnchorErrorName : "アンカー名を必ず入力してください。", - -// Speller Pages Dialog -DlgSpellNotInDic : "辞書にありません", -DlgSpellChangeTo : "変更", -DlgSpellBtnIgnore : "無視", -DlgSpellBtnIgnoreAll : "すべて無視", -DlgSpellBtnReplace : "置換", -DlgSpellBtnReplaceAll : "すべて置換", -DlgSpellBtnUndo : "やり直し", -DlgSpellNoSuggestions : "- 該当なし -", -DlgSpellProgress : "スペルチェック処理中...", -DlgSpellNoMispell : "スペルチェック完了: スペルの誤りはありませんでした", -DlgSpellNoChanges : "スペルチェック完了: 語句は変更されませんでした", -DlgSpellOneChange : "スペルチェック完了: 1語句変更されました", -DlgSpellManyChanges : "スペルチェック完了: %1 語句変更されました", - -IeSpellDownload : "スペルチェッカーがインストールされていません。今すぐダウンロードしますか?", - -// Button Dialog -DlgButtonText : "テキスト (値)", -DlgButtonType : "タイプ", -DlgButtonTypeBtn : "ボタン", -DlgButtonTypeSbm : "送信", -DlgButtonTypeRst : "リセット", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "名前", -DlgCheckboxValue : "値", -DlgCheckboxSelected : "選択済み", - -// Form Dialog -DlgFormName : "フォーム名", -DlgFormAction : "アクション", -DlgFormMethod : "メソッド", - -// Select Field Dialog -DlgSelectName : "名前", -DlgSelectValue : "値", -DlgSelectSize : "サイズ", -DlgSelectLines : "行", -DlgSelectChkMulti : "複数項目選択を許可", -DlgSelectOpAvail : "利用可能なオプション", -DlgSelectOpText : "選択項目名", -DlgSelectOpValue : "選択項目値", -DlgSelectBtnAdd : "追加", -DlgSelectBtnModify : "編集", -DlgSelectBtnUp : "上へ", -DlgSelectBtnDown : "下へ", -DlgSelectBtnSetValue : "選択した値を設定", -DlgSelectBtnDelete : "削除", - -// Textarea Dialog -DlgTextareaName : "名前", -DlgTextareaCols : "列", -DlgTextareaRows : "行", - -// Text Field Dialog -DlgTextName : "名前", -DlgTextValue : "値", -DlgTextCharWidth : "サイズ", -DlgTextMaxChars : "最大長", -DlgTextType : "タイプ", -DlgTextTypeText : "テキスト", -DlgTextTypePass : "パスワード入力", - -// Hidden Field Dialog -DlgHiddenName : "名前", -DlgHiddenValue : "値", - -// Bulleted List Dialog -BulletedListProp : "箇条書き プロパティ", -NumberedListProp : "段落番号 プロパティ", -DlgLstStart : "開始文字", -DlgLstType : "タイプ", -DlgLstTypeCircle : "白丸", -DlgLstTypeDisc : "黒丸", -DlgLstTypeSquare : "四角", -DlgLstTypeNumbers : "アラビア数字 (1, 2, 3)", -DlgLstTypeLCase : "英字小文字 (a, b, c)", -DlgLstTypeUCase : "英字大文字 (A, B, C)", -DlgLstTypeSRoman : "ローマ数字小文字 (i, ii, iii)", -DlgLstTypeLRoman : "ローマ数字大文字 (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "全般", -DlgDocBackTab : "背景", -DlgDocColorsTab : "色とマージン", -DlgDocMetaTab : "メタデータ", - -DlgDocPageTitle : "ページタイトル", -DlgDocLangDir : "言語文字表記の方向", -DlgDocLangDirLTR : "左から右に表記(LTR)", -DlgDocLangDirRTL : "右から左に表記(RTL)", -DlgDocLangCode : "言語コード", -DlgDocCharSet : "文字セット符号化", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "他の文字セット符号化", - -DlgDocDocType : "文書タイプヘッダー", -DlgDocDocTypeOther : "その他文書タイプヘッダー", -DlgDocIncXHTML : "XHTML宣言をインクルード", -DlgDocBgColor : "背景色", -DlgDocBgImage : "背景画像 URL", -DlgDocBgNoScroll : "スクロールしない背景", -DlgDocCText : "テキスト", -DlgDocCLink : "リンク", -DlgDocCVisited : "アクセス済みリンク", -DlgDocCActive : "アクセス中リンク", -DlgDocMargins : "ページ・マージン", -DlgDocMaTop : "上部", -DlgDocMaLeft : "左", -DlgDocMaRight : "右", -DlgDocMaBottom : "下部", -DlgDocMeIndex : "文書のキーワード(カンマ区切り)", -DlgDocMeDescr : "文書の概要", -DlgDocMeAuthor : "文書の作者", -DlgDocMeCopy : "文書の著作権", -DlgDocPreview : "プレビュー", - -// Templates Dialog -Templates : "テンプレート(雛形)", -DlgTemplatesTitle : "テンプレート内容", -DlgTemplatesSelMsg : "エディターで使用するテンプレートを選択してください。<br>(現在のエディタの内容は失われます):", -DlgTemplatesLoading : "テンプレート一覧読み込み中. しばらくお待ちください...", -DlgTemplatesNoTpl : "(テンプレートが定義されていません)", -DlgTemplatesReplace : "現在のエディタの内容と置換えをします", - -// About Dialog -DlgAboutAboutTab : "バージョン情報", -DlgAboutBrowserInfoTab : "ブラウザ情報", -DlgAboutLicenseTab : "ライセンス", -DlgAboutVersion : "バージョン", -DlgAboutInfo : "より詳しい情報はこちらで" -}; diff --git a/editor/editor/lang/km.js b/editor/editor/lang/km.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Khmer language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "បង្រួមរបាឧបរកណ៍", -ToolbarExpand : "ពង្រីករបាឧបរណ៍", - -// Toolbar Items and Context Menu -Save : "រក្សាទុក", -NewPage : "ទំព័រថ្មី", -Preview : "មើលសាកល្បង", -Cut : "កាត់យក", -Copy : "ចំលងយក", -Paste : "ចំលងដាក់", -PasteText : "ចំលងដាក់ជាអត្ថបទធម្មតា", -PasteWord : "ចំលងដាក់ពី Word", -Print : "បោះពុម្ភ", -SelectAll : "ជ្រើសរើសទាំងអស់", -RemoveFormat : "លប់ចោល ការរចនា", -InsertLinkLbl : "ឈ្នាប់", -InsertLink : "បន្ថែម/កែប្រែ ឈ្នាប់", -RemoveLink : "លប់ឈ្នាប់", -Anchor : "បន្ថែម/កែប្រែ យុថ្កា", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "រូបភាព", -InsertImage : "បន្ថែម/កែប្រែ រូបភាព", -InsertFlashLbl : "Flash", -InsertFlash : "បន្ថែម/កែប្រែ Flash", -InsertTableLbl : "តារាង", -InsertTable : "បន្ថែម/កែប្រែ តារាង", -InsertLineLbl : "បន្ទាត់", -InsertLine : "បន្ថែមបន្ទាត់ផ្តេក", -InsertSpecialCharLbl: "អក្សរពិសេស", -InsertSpecialChar : "បន្ថែមអក្សរពិសេស", -InsertSmileyLbl : "រូបភាព", -InsertSmiley : "បន្ថែម រូបភាព", -About : "អំពី FCKeditor", -Bold : "អក្សរដិតធំ", -Italic : "អក្សរផ្តេក", -Underline : "ដិតបន្ទាត់ពីក្រោមអក្សរ", -StrikeThrough : "ដិតបន្ទាត់ពាក់កណ្តាលអក្សរ", -Subscript : "អក្សរតូចក្រោម", -Superscript : "អក្សរតូចលើ", -LeftJustify : "តំរឹមឆ្វេង", -CenterJustify : "តំរឹមកណ្តាល", -RightJustify : "តំរឹមស្តាំ", -BlockJustify : "តំរឹមសងខាង", -DecreaseIndent : "បន្ថយការចូលបន្ទាត់", -IncreaseIndent : "បន្ថែមការចូលបន្ទាត់", -Blockquote : "Blockquote", //MISSING -Undo : "សារឡើងវិញ", -Redo : "ធ្វើឡើងវិញ", -NumberedListLbl : "បញ្ជីជាអក្សរ", -NumberedList : "បន្ថែម/លប់ បញ្ជីជាអក្សរ", -BulletedListLbl : "បញ្ជីជារង្វង់មូល", -BulletedList : "បន្ថែម/លប់ បញ្ជីជារង្វង់មូល", -ShowTableBorders : "បង្ហាញស៊ុមតារាង", -ShowDetails : "បង្ហាញពិស្តារ", -Style : "ម៉ូត", -FontFormat : "រចនា", -Font : "ហ្វុង", -FontSize : "ទំហំ", -TextColor : "ពណ៌អក្សរ", -BGColor : "ពណ៌ផ្ទៃខាងក្រោយ", -Source : "កូត", -Find : "ស្វែងរក", -Replace : "ជំនួស", -SpellCheck : "ពិនិត្យអក្ខរាវិរុទ្ធ", -UniversalKeyboard : "ក្តារពុម្ភអក្សរសកល", -PageBreakLbl : "ការផ្តាច់ទំព័រ", -PageBreak : "បន្ថែម ការផ្តាច់ទំព័រ", - -Form : "បែបបទ", -Checkbox : "ប្រអប់ជ្រើសរើស", -RadioButton : "ប៉ូតុនរង្វង់មូល", -TextField : "ជួរសរសេរអត្ថបទ", -Textarea : "តំបន់សរសេរអត្ថបទ", -HiddenField : "ជួរលាក់", -Button : "ប៉ូតុន", -SelectionField : "ជួរជ្រើសរើស", -ImageButton : "ប៉ូតុនរូបភាព", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "កែប្រែឈ្នាប់", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "លប់ជួរផ្តេក", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "លប់ជួរឈរ", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "លប់សែល", -MergeCells : "បញ្ជូលសែល", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "លប់តារាង", -CellProperties : "ការកំណត់សែល", -TableProperties : "ការកំណត់តារាង", -ImageProperties : "ការកំណត់រូបភាព", -FlashProperties : "ការកំណត់ Flash", - -AnchorProp : "ការកំណត់យុថ្កា", -ButtonProp : "ការកំណត់ ប៉ូតុន", -CheckboxProp : "ការកំណត់ប្រអប់ជ្រើសរើស", -HiddenFieldProp : "ការកំណត់ជួរលាក់", -RadioButtonProp : "ការកំណត់ប៉ូតុនរង្វង់", -ImageButtonProp : "ការកំណត់ប៉ូតុនរូបភាព", -TextFieldProp : "ការកំណត់ជួរអត្ថបទ", -SelectionFieldProp : "ការកំណត់ជួរជ្រើសរើស", -TextareaProp : "ការកំណត់កន្លែងសរសេរអត្ថបទ", -FormProp : "ការកំណត់បែបបទ", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "កំពុងដំណើរការ XHTML ។ សូមរងចាំ...", -Done : "ចប់រួចរាល់", -PasteWordConfirm : "អត្ថបទដែលលោកអ្នកបំរុងចំលងដាក់ ហាក់បីដូចជាត្រូវចំលងមកពីកម្មវិធី​Word​។ តើលោកអ្នកចង់សំអាតមុនចំលងអត្ថបទដាក់ទេ?", -NotCompatiblePaste : "ពាក្យបញ្ជានេះប្រើបានតែជាមួយ Internet Explorer កំរិត 5.5 រឺ លើសនេះ ។ តើលោកអ្នកចង់ចំលងដាក់ដោយមិនចាំបាច់សំអាតទេ?", -UnknownToolbarItem : "វត្ថុលើរបាឧបរកណ៍ មិនស្គាល់ \"%1\"", -UnknownCommand : "ឈ្មោះពាក្យបញ្ជា មិនស្គាល់ \"%1\"", -NotImplemented : "ពាក្យបញ្ជា មិនបានអនុវត្ត", -UnknownToolbarSet : "របាឧបរកណ៍ \"%1\" ពុំមាន ។", -NoActiveX : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​អាចធ្វើអោយលោកអ្នកមិនអាចប្រើមុខងារខ្លះរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។ លោកអ្នកត្រូវកំណត់អោយ \"ActiveX និង​កម្មវិធីជំនួយក្នុង (plug-ins)\" អោយដំណើរការ ។ លោកអ្នកអាចជួបប្រទះនឹង បញ្ហា ព្រមជាមួយនឹងការបាត់បង់មុខងារណាមួយរបស់កម្មវិធីតាក់តែងអត្ថបទនេះ ។", -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "វីនដូវមិនអាចបើកបានទេ ។ សូមពិនិត្យចំពោះកម្មវិធីបិទ វីនដូវលោត (popup) ថាតើវាដំណើរការរឺទេ ។", - -// Dialogs -DlgBtnOK : "យល់ព្រម", -DlgBtnCancel : "មិនយល់ព្រម", -DlgBtnClose : "បិទ", -DlgBtnBrowseServer : "មើល", -DlgAdvancedTag : "កំរិតខ្ពស់", -DlgOpOther : "<ផ្សេងទៅត>", -DlgInfoTab : "ពត៌មាន", -DlgAlertUrl : "សូមសរសេរ URL", - -// General Dialogs Labels -DlgGenNotSet : "<មិនមែន>", -DlgGenId : "Id", -DlgGenLangDir : "ទិសដៅភាសា", -DlgGenLangDirLtr : "ពីឆ្វេងទៅស្តាំ(LTR)", -DlgGenLangDirRtl : "ពីស្តាំទៅឆ្វេង(RTL)", -DlgGenLangCode : "លេខកូតភាសា", -DlgGenAccessKey : "ឃី សំរាប់ចូល", -DlgGenName : "ឈ្មោះ", -DlgGenTabIndex : "លេខ Tab", -DlgGenLongDescr : "អធិប្បាយ URL វែង", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "ចំណងជើង ប្រឹក្សា", -DlgGenContType : "ប្រភេទអត្ថបទ ប្រឹក្សា", -DlgGenLinkCharset : "លេខកូតអក្សររបស់ឈ្នាប់", -DlgGenStyle : "ម៉ូត", - -// Image Dialog -DlgImgTitle : "ការកំណត់រូបភាព", -DlgImgInfoTab : "ពត៌មានអំពីរូបភាព", -DlgImgBtnUpload : "បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា", -DlgImgURL : "URL", -DlgImgUpload : "ទាញយក", -DlgImgAlt : "អត្ថបទជំនួស", -DlgImgWidth : "ទទឹង", -DlgImgHeight : "កំពស់", -DlgImgLockRatio : "អត្រាឡុក", -DlgBtnResetSize : "កំណត់ទំហំឡើងវិញ", -DlgImgBorder : "ស៊ុម", -DlgImgHSpace : "គំលាតទទឹង", -DlgImgVSpace : "គំលាតបណ្តោយ", -DlgImgAlign : "កំណត់ទីតាំង", -DlgImgAlignLeft : "ខាងឆ្វង", -DlgImgAlignAbsBottom: "Abs Bottom", //MISSING -DlgImgAlignAbsMiddle: "Abs Middle", //MISSING -DlgImgAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", -DlgImgAlignBottom : "ខាងក្រោម", -DlgImgAlignMiddle : "កណ្តាល", -DlgImgAlignRight : "ខាងស្តាំ", -DlgImgAlignTextTop : "លើអត្ថបទ", -DlgImgAlignTop : "ខាងលើ", -DlgImgPreview : "មើលសាកល្បង", -DlgImgAlertUrl : "សូមសរសេរងាស័យដ្ឋានរបស់រូបភាព", -DlgImgLinkTab : "ឈ្នាប់", - -// Flash Dialog -DlgFlashTitle : "ការកំណត់ Flash", -DlgFlashChkPlay : "លេងដោយស្វ័យប្រវត្ត", -DlgFlashChkLoop : "ចំនួនដង", -DlgFlashChkMenu : "បង្ហាញ មឺនុយរបស់ Flash", -DlgFlashScale : "ទំហំ", -DlgFlashScaleAll : "បង្ហាញទាំងអស់", -DlgFlashScaleNoBorder : "មិនបង្ហាញស៊ុម", -DlgFlashScaleFit : "ត្រូវល្មម", - -// Link Dialog -DlgLnkWindowTitle : "ឈ្នាប់", -DlgLnkInfoTab : "ពត៌មានអំពីឈ្នាប់", -DlgLnkTargetTab : "គោលដៅ", - -DlgLnkType : "ប្រភេទឈ្នាប់", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "យុថ្កានៅក្នុងទំព័រនេះ", -DlgLnkTypeEMail : "អ៊ីមែល", -DlgLnkProto : "ប្រូតូកូល", -DlgLnkProtoOther : "<ផ្សេងទៀត>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "ជ្រើសរើសយុថ្កា", -DlgLnkAnchorByName : "តាមឈ្មោះរបស់យុថ្កា", -DlgLnkAnchorById : "តាម Id", -DlgLnkNoAnchors : "(No anchors available in the document)", //MISSING -DlgLnkEMail : "អ៊ីមែល", -DlgLnkEMailSubject : "ចំណងជើងអត្ថបទ", -DlgLnkEMailBody : "អត្ថបទ", -DlgLnkUpload : "ទាញយក", -DlgLnkBtnUpload : "ទាញយក", - -DlgLnkTarget : "គោលដៅ", -DlgLnkTargetFrame : "<ហ្វ្រេម>", -DlgLnkTargetPopup : "<វីនដូវ លោត>", -DlgLnkTargetBlank : "វីនដូវថ្មី (_blank)", -DlgLnkTargetParent : "វីនដូវមេ (_parent)", -DlgLnkTargetSelf : "វីនដូវដដែល (_self)", -DlgLnkTargetTop : "វីនដូវនៅលើគេ(_top)", -DlgLnkTargetFrameName : "ឈ្មោះហ្រ្វេមដែលជាគោលដៅ", -DlgLnkPopWinName : "ឈ្មោះវីនដូវលោត", -DlgLnkPopWinFeat : "លក្ខណះរបស់វីនដូលលោត", -DlgLnkPopResize : "ទំហំអាចផ្លាស់ប្តូរ", -DlgLnkPopLocation : "របា ទីតាំង", -DlgLnkPopMenu : "របា មឺនុយ", -DlgLnkPopScroll : "របា ទាញ", -DlgLnkPopStatus : "របា ពត៌មាន", -DlgLnkPopToolbar : "របា ឩបករណ៍", -DlgLnkPopFullScrn : "អេក្រុងពេញ(IE)", -DlgLnkPopDependent : "អាស្រ័យលើ (Netscape)", -DlgLnkPopWidth : "ទទឹង", -DlgLnkPopHeight : "កំពស់", -DlgLnkPopLeft : "ទីតាំងខាងឆ្វេង", -DlgLnkPopTop : "ទីតាំងខាងលើ", - -DlnLnkMsgNoUrl : "សូមសរសេរ អាស័យដ្ឋាន URL", -DlnLnkMsgNoEMail : "សូមសរសេរ អាស័យដ្ឋាន អ៊ីមែល", -DlnLnkMsgNoAnchor : "សូមជ្រើសរើស យុថ្កា", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "ជ្រើសរើស ពណ៌", -DlgColorBtnClear : "លប់", -DlgColorHighlight : "ផាត់ពណ៌", -DlgColorSelected : "បានជ្រើសរើស", - -// Smiley Dialog -DlgSmileyTitle : "បញ្ជូលរូបភាព", - -// Special Character Dialog -DlgSpecialCharTitle : "តូអក្សរពិសេស", - -// Table Dialog -DlgTableTitle : "ការកំណត់ តារាង", -DlgTableRows : "ជួរផ្តេក", -DlgTableColumns : "ជួរឈរ", -DlgTableBorder : "ទំហំស៊ុម", -DlgTableAlign : "ការកំណត់ទីតាំង", -DlgTableAlignNotSet : "<មិនកំណត់>", -DlgTableAlignLeft : "ខាងឆ្វេង", -DlgTableAlignCenter : "កណ្តាល", -DlgTableAlignRight : "ខាងស្តាំ", -DlgTableWidth : "ទទឹង", -DlgTableWidthPx : "ភីកសែល", -DlgTableWidthPc : "ភាគរយ", -DlgTableHeight : "កំពស់", -DlgTableCellSpace : "គំលាតសែល", -DlgTableCellPad : "គែមសែល", -DlgTableCaption : "ចំណងជើង", -DlgTableSummary : "សេចក្តីសង្ខេប", - -// Table Cell Dialog -DlgCellTitle : "ការកំណត់ សែល", -DlgCellWidth : "ទទឹង", -DlgCellWidthPx : "ភីកសែល", -DlgCellWidthPc : "ភាគរយ", -DlgCellHeight : "កំពស់", -DlgCellWordWrap : "បង្ហាញអត្ថបទទាំងអស់", -DlgCellWordWrapNotSet : "<មិនកំណត់>", -DlgCellWordWrapYes : "បាទ(ចា)", -DlgCellWordWrapNo : "ទេ", -DlgCellHorAlign : "តំរឹមផ្តេក", -DlgCellHorAlignNotSet : "<មិនកំណត់>", -DlgCellHorAlignLeft : "ខាងឆ្វេង", -DlgCellHorAlignCenter : "កណ្តាល", -DlgCellHorAlignRight: "Right", //MISSING -DlgCellVerAlign : "តំរឹមឈរ", -DlgCellVerAlignNotSet : "<មិនកណត់>", -DlgCellVerAlignTop : "ខាងលើ", -DlgCellVerAlignMiddle : "កណ្តាល", -DlgCellVerAlignBottom : "ខាងក្រោម", -DlgCellVerAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", -DlgCellRowSpan : "បញ្ជូលជួរផ្តេក", -DlgCellCollSpan : "បញ្ជូលជួរឈរ", -DlgCellBackColor : "ពណ៌ផ្នែកខាងក្រោម", -DlgCellBorderColor : "ពណ៌ស៊ុម", -DlgCellBtnSelect : "ជ្រើសរើស...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "ស្វែងរក", -DlgFindFindBtn : "ស្វែងរក", -DlgFindNotFoundMsg : "ពាក្យនេះ រកមិនឃើញទេ ។", - -// Replace Dialog -DlgReplaceTitle : "ជំនួស", -DlgReplaceFindLbl : "ស្វែងរកអ្វី:", -DlgReplaceReplaceLbl : "ជំនួសជាមួយ:", -DlgReplaceCaseChk : "ករណ៉ត្រូវរក", -DlgReplaceReplaceBtn : "ជំនួស", -DlgReplaceReplAllBtn : "ជំនួសទាំងអស់", -DlgReplaceWordChk : "ត្រូវពាក្យទាំងអស់", - -// Paste Operations / Dialog -PasteErrorCut : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ កាត់អត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+X) ។", -PasteErrorCopy : "ការកំណត់សុវត្ថភាពរបស់កម្មវិធីរុករករបស់លោកអ្នក នេះ​មិនអាចធ្វើកម្មវិធីតាក់តែងអត្ថបទ ចំលងអត្ថបទយកដោយស្វ័យប្រវត្តបានឡើយ ។ សូមប្រើប្រាស់បន្សំ ឃីដូចនេះ (Ctrl+C)។", - -PasteAsText : "ចំលងដាក់អត្ថបទធម្មតា", -PasteFromWord : "ចំលងពាក្យពីកម្មវិធី Word", - -DlgPasteMsg2 : "សូមចំលងអត្ថបទទៅដាក់ក្នុងប្រអប់ដូចខាងក្រោមដោយប្រើប្រាស់ ឃី ​(<STRONG>Ctrl+V</STRONG>) ហើយចុច <STRONG>OK</STRONG> ។", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "មិនគិតអំពីប្រភេទពុម្ភអក្សរ", -DlgPasteRemoveStyles : "លប់ម៉ូត", -DlgPasteCleanBox : "លប់អត្ថបទចេញពីប្រអប់", - -// Color Picker -ColorAutomatic : "ស្វ័យប្រវត្ត", -ColorMoreColors : "ពណ៌ផ្សេងទៀត..", - -// Document Properties -DocProps : "ការកំណត់ ឯកសារ", - -// Anchor Dialog -DlgAnchorTitle : "ការកំណត់ចំណងជើងយុទ្ធថ្កា", -DlgAnchorName : "ឈ្មោះយុទ្ធថ្កា", -DlgAnchorErrorName : "សូមសរសេរ ឈ្មោះយុទ្ធថ្កា", - -// Speller Pages Dialog -DlgSpellNotInDic : "គ្មានក្នុងវចនានុក្រម", -DlgSpellChangeTo : "ផ្លាស់ប្តូរទៅ", -DlgSpellBtnIgnore : "មិនផ្លាស់ប្តូរ", -DlgSpellBtnIgnoreAll : "មិនផ្លាស់ប្តូរ ទាំងអស់", -DlgSpellBtnReplace : "ជំនួស", -DlgSpellBtnReplaceAll : "ជំនួសទាំងអស់", -DlgSpellBtnUndo : "សារឡើងវិញ", -DlgSpellNoSuggestions : "- គ្មានសំណើរ -", -DlgSpellProgress : "កំពុងពិនិត្យអក្ខរាវិរុទ្ធ...", -DlgSpellNoMispell : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: គ្មានកំហុស", -DlgSpellNoChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពុំមានផ្លាស់ប្តូរ", -DlgSpellOneChange : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: ពាក្យមួយត្រូចបានផ្លាស់ប្តូរ", -DlgSpellManyChanges : "ការពិនិត្យអក្ខរាវិរុទ្ធបានចប់: %1 ពាក្យបានផ្លាស់ប្តូរ", - -IeSpellDownload : "ពុំមានកម្មវិធីពិនិត្យអក្ខរាវិរុទ្ធ ។ តើចង់ទាញយកពីណា?", - -// Button Dialog -DlgButtonText : "អត្ថបទ(តំលៃ)", -DlgButtonType : "ប្រភេទ", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "ឈ្មោះ", -DlgCheckboxValue : "តំលៃ", -DlgCheckboxSelected : "បានជ្រើសរើស", - -// Form Dialog -DlgFormName : "ឈ្មោះ", -DlgFormAction : "សកម្មភាព", -DlgFormMethod : "វិធី", - -// Select Field Dialog -DlgSelectName : "ឈ្មោះ", -DlgSelectValue : "តំលៃ", -DlgSelectSize : "ទំហំ", -DlgSelectLines : "បន្ទាត់", -DlgSelectChkMulti : "អនុញ្ញាតអោយជ្រើសរើសច្រើន", -DlgSelectOpAvail : "ការកំណត់ជ្រើសរើស ដែលអាចកំណត់បាន", -DlgSelectOpText : "ពាក្យ", -DlgSelectOpValue : "តំលៃ", -DlgSelectBtnAdd : "បន្ថែម", -DlgSelectBtnModify : "ផ្លាស់ប្តូរ", -DlgSelectBtnUp : "លើ", -DlgSelectBtnDown : "ក្រោម", -DlgSelectBtnSetValue : "Set as selected value", //MISSING -DlgSelectBtnDelete : "លប់", - -// Textarea Dialog -DlgTextareaName : "ឈ្មោះ", -DlgTextareaCols : "ជូរឈរ", -DlgTextareaRows : "ជូរផ្តេក", - -// Text Field Dialog -DlgTextName : "ឈ្មោះ", -DlgTextValue : "តំលៃ", -DlgTextCharWidth : "ទទឹង អក្សរ", -DlgTextMaxChars : "អក្សរអតិបរិមា", -DlgTextType : "ប្រភេទ", -DlgTextTypeText : "ពាក្យ", -DlgTextTypePass : "ពាក្យសំងាត់", - -// Hidden Field Dialog -DlgHiddenName : "ឈ្មោះ", -DlgHiddenValue : "តំលៃ", - -// Bulleted List Dialog -BulletedListProp : "កំណត់បញ្ជីរង្វង់", -NumberedListProp : "កំណត់បញ្េជីលេខ", -DlgLstStart : "Start", //MISSING -DlgLstType : "ប្រភេទ", -DlgLstTypeCircle : "រង្វង់", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "ការេ", -DlgLstTypeNumbers : "លេខ(1, 2, 3)", -DlgLstTypeLCase : "អក្សរតូច(a, b, c)", -DlgLstTypeUCase : "អក្សរធំ(A, B, C)", -DlgLstTypeSRoman : "អក្សរឡាតាំងតូច(i, ii, iii)", -DlgLstTypeLRoman : "អក្សរឡាតាំងធំ(I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "ទូទៅ", -DlgDocBackTab : "ផ្នែកខាងក្រោយ", -DlgDocColorsTab : "ទំព័រ​និង ស៊ុម", -DlgDocMetaTab : "ទិន្នន័យមេ", - -DlgDocPageTitle : "ចំណងជើងទំព័រ", -DlgDocLangDir : "ទិសដៅសរសេរភាសា", -DlgDocLangDirLTR : "ពីឆ្វេងទៅស្ដាំ(LTR)", -DlgDocLangDirRTL : "ពីស្ដាំទៅឆ្វេង(RTL)", -DlgDocLangCode : "លេខកូតភាសា", -DlgDocCharSet : "កំណត់លេខកូតភាសា", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "កំណត់លេខកូតភាសាផ្សេងទៀត", - -DlgDocDocType : "ប្រភេទក្បាលទំព័រ", -DlgDocDocTypeOther : "ប្រភេទក្បាលទំព័រផ្សេងទៀត", -DlgDocIncXHTML : "បញ្ជូល XHTML", -DlgDocBgColor : "ពណ៌ខាងក្រោម", -DlgDocBgImage : "URL របស់រូបភាពខាងក្រោម", -DlgDocBgNoScroll : "ទំព័រក្រោមមិនប្តូរ", -DlgDocCText : "អត្តបទ", -DlgDocCLink : "ឈ្នាប់", -DlgDocCVisited : "ឈ្នាប់មើលហើយ", -DlgDocCActive : "ឈ្នាប់កំពុងមើល", -DlgDocMargins : "ស៊ុមទំព័រ", -DlgDocMaTop : "លើ", -DlgDocMaLeft : "ឆ្វេង", -DlgDocMaRight : "ស្ដាំ", -DlgDocMaBottom : "ក្រោម", -DlgDocMeIndex : "ពាក្យនៅក្នុងឯកសារ (ផ្តាច់ពីគ្នាដោយក្បៀស)", -DlgDocMeDescr : "សេចក្តីអត្ថាធិប្បាយអំពីឯកសារ", -DlgDocMeAuthor : "អ្នកនិពន្ធ", -DlgDocMeCopy : "រក្សាសិទ្ធិ៏", -DlgDocPreview : "មើលសាកល្បង", - -// Templates Dialog -Templates : "ឯកសារគំរូ", -DlgTemplatesTitle : "ឯកសារគំរូ របស់អត្ថន័យ", -DlgTemplatesSelMsg : "សូមជ្រើសរើសឯកសារគំរូ ដើម្បីបើកនៅក្នុងកម្មវិធីតាក់តែងអត្ថបទ<br>(អត្ថបទនឹងបាត់បង់):", -DlgTemplatesLoading : "កំពុងអានបញ្ជីឯកសារគំរូ ។ សូមរងចាំ...", -DlgTemplatesNoTpl : "(ពុំមានឯកសារគំរូត្រូវបានកំណត់)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "អំពី", -DlgAboutBrowserInfoTab : "ព៌តមានកម្មវិធីរុករក", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "ជំនាន់", -DlgAboutInfo : "សំរាប់ព៌តមានផ្សេងទៀត សូមទាក់ទង" -}; diff --git a/editor/editor/lang/ko.js b/editor/editor/lang/ko.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Korean language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "툴바 감추기", -ToolbarExpand : "툴바 보이기", - -// Toolbar Items and Context Menu -Save : "저장하기", -NewPage : "새 문서", -Preview : "미리보기", -Cut : "잘라내기", -Copy : "복사하기", -Paste : "붙여넣기", -PasteText : "텍스트로 붙여넣기", -PasteWord : "MS Word 형식에서 붙여넣기", -Print : "인쇄하기", -SelectAll : "전체선택", -RemoveFormat : "포맷 지우기", -InsertLinkLbl : "링크", -InsertLink : "링크 삽입/변경", -RemoveLink : "링크 삭제", -Anchor : "책갈피 삽입/변경", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "이미지", -InsertImage : "이미지 삽입/변경", -InsertFlashLbl : "플래쉬", -InsertFlash : "플래쉬 삽입/변경", -InsertTableLbl : "표", -InsertTable : "표 삽입/변경", -InsertLineLbl : "수평선", -InsertLine : "수평선 삽입", -InsertSpecialCharLbl: "특수문자 삽입", -InsertSpecialChar : "특수문자 삽입", -InsertSmileyLbl : "아이콘", -InsertSmiley : "아이콘 삽입", -About : "FCKeditor에 대하여", -Bold : "진하게", -Italic : "이텔릭", -Underline : "밑줄", -StrikeThrough : "취소선", -Subscript : "아래 첨자", -Superscript : "위 첨자", -LeftJustify : "왼쪽 정렬", -CenterJustify : "가운데 정렬", -RightJustify : "오른쪽 정렬", -BlockJustify : "양쪽 맞춤", -DecreaseIndent : "내어쓰기", -IncreaseIndent : "들여쓰기", -Blockquote : "Blockquote", //MISSING -Undo : "취소", -Redo : "재실행", -NumberedListLbl : "순서있는 목록", -NumberedList : "순서있는 목록", -BulletedListLbl : "순서없는 목록", -BulletedList : "순서없는 목록", -ShowTableBorders : "표 테두리 보기", -ShowDetails : "문서기호 보기", -Style : "스타일", -FontFormat : "포맷", -Font : "폰트", -FontSize : "글자 크기", -TextColor : "글자 색상", -BGColor : "배경 색상", -Source : "소스", -Find : "찾기", -Replace : "바꾸기", -SpellCheck : "철자검사", -UniversalKeyboard : "다국어 입력기", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "폼", -Checkbox : "체크박스", -RadioButton : "라디오버튼", -TextField : "입력필드", -Textarea : "입력영역", -HiddenField : "숨김필드", -Button : "버튼", -SelectionField : "펼침목록", -ImageButton : "이미지버튼", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "링크 수정", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "가로줄 삭제", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "세로줄 삭제", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "셀 삭제", -MergeCells : "셀 합치기", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "셀 속성", -TableProperties : "표 속성", -ImageProperties : "이미지 속성", -FlashProperties : "플래쉬 속성", - -AnchorProp : "책갈피 속성", -ButtonProp : "버튼 속성", -CheckboxProp : "체크박스 속성", -HiddenFieldProp : "숨김필드 속성", -RadioButtonProp : "라디오버튼 속성", -ImageButtonProp : "이미지버튼 속성", -TextFieldProp : "입력필드 속성", -SelectionFieldProp : "펼침목록 속성", -TextareaProp : "입력영역 속성", -FormProp : "폼 속성", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", - -// Alerts and Messages -ProcessingXHTML : "XHTML 처리중. 잠시만 기다려주십시요.", -Done : "완료", -PasteWordConfirm : "붙여넣기 할 텍스트는 MS Word에서 복사한 것입니다. 붙여넣기 전에 MS Word 포멧을 삭제하시겠습니까?", -NotCompatiblePaste : "이 명령은 인터넷익스플로러 5.5 버전 이상에서만 작동합니다. 포멧을 삭제하지 않고 붙여넣기 하시겠습니까?", -UnknownToolbarItem : "알수없는 툴바입니다. : \"%1\"", -UnknownCommand : "알수없는 기능입니다. : \"%1\"", -NotImplemented : "기능이 실행되지 않았습니다.", -UnknownToolbarSet : "툴바 설정이 없습니다. : \"%1\"", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "예", -DlgBtnCancel : "아니오", -DlgBtnClose : "닫기", -DlgBtnBrowseServer : "서버 보기", -DlgAdvancedTag : "자세히", -DlgOpOther : "<기타>", -DlgInfoTab : "정보", -DlgAlertUrl : "URL을 입력하십시요", - -// General Dialogs Labels -DlgGenNotSet : "<설정되지 않음>", -DlgGenId : "ID", -DlgGenLangDir : "쓰기 방향", -DlgGenLangDirLtr : "왼쪽에서 오른쪽 (LTR)", -DlgGenLangDirRtl : "오른쪽에서 왼쪽 (RTL)", -DlgGenLangCode : "언어 코드", -DlgGenAccessKey : "엑세스 키", -DlgGenName : "Name", -DlgGenTabIndex : "탭 순서", -DlgGenLongDescr : "URL 설명", -DlgGenClass : "Stylesheet Classes", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "이미지 설정", -DlgImgInfoTab : "이미지 정보", -DlgImgBtnUpload : "서버로 전송", -DlgImgURL : "URL", -DlgImgUpload : "업로드", -DlgImgAlt : "이미지 설명", -DlgImgWidth : "너비", -DlgImgHeight : "높이", -DlgImgLockRatio : "비율 유지", -DlgBtnResetSize : "원래 크기로", -DlgImgBorder : "테두리", -DlgImgHSpace : "수평여백", -DlgImgVSpace : "수직여백", -DlgImgAlign : "정렬", -DlgImgAlignLeft : "왼쪽", -DlgImgAlignAbsBottom: "줄아래(Abs Bottom)", -DlgImgAlignAbsMiddle: "줄중간(Abs Middle)", -DlgImgAlignBaseline : "기준선", -DlgImgAlignBottom : "아래", -DlgImgAlignMiddle : "중간", -DlgImgAlignRight : "오른쪽", -DlgImgAlignTextTop : "글자위(Text Top)", -DlgImgAlignTop : "위", -DlgImgPreview : "미리보기", -DlgImgAlertUrl : "이미지 URL을 입력하십시요", -DlgImgLinkTab : "링크", - -// Flash Dialog -DlgFlashTitle : "플래쉬 등록정보", -DlgFlashChkPlay : "자동재생", -DlgFlashChkLoop : "반복", -DlgFlashChkMenu : "플래쉬메뉴 가능", -DlgFlashScale : "영역", -DlgFlashScaleAll : "모두보기", -DlgFlashScaleNoBorder : "경계선없음", -DlgFlashScaleFit : "영역자동조절", - -// Link Dialog -DlgLnkWindowTitle : "링크", -DlgLnkInfoTab : "링크 정보", -DlgLnkTargetTab : "타겟", - -DlgLnkType : "링크 종류", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "책갈피", -DlgLnkTypeEMail : "이메일", -DlgLnkProto : "프로토콜", -DlgLnkProtoOther : "<기타>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "책갈피 선택", -DlgLnkAnchorByName : "책갈피 이름", -DlgLnkAnchorById : "책갈피 ID", -DlgLnkNoAnchors : "(문서에 책갈피가 없습니다.)", -DlgLnkEMail : "이메일 주소", -DlgLnkEMailSubject : "제목", -DlgLnkEMailBody : "내용", -DlgLnkUpload : "업로드", -DlgLnkBtnUpload : "서버로 전송", - -DlgLnkTarget : "타겟", -DlgLnkTargetFrame : "<프레임>", -DlgLnkTargetPopup : "<팝업창>", -DlgLnkTargetBlank : "새 창 (_blank)", -DlgLnkTargetParent : "부모 창 (_parent)", -DlgLnkTargetSelf : "현재 창 (_self)", -DlgLnkTargetTop : "최 상위 창 (_top)", -DlgLnkTargetFrameName : "타겟 프레임 이름", -DlgLnkPopWinName : "팝업창 이름", -DlgLnkPopWinFeat : "팝업창 설정", -DlgLnkPopResize : "크기조정", -DlgLnkPopLocation : "주소표시줄", -DlgLnkPopMenu : "메뉴바", -DlgLnkPopScroll : "스크롤바", -DlgLnkPopStatus : "상태바", -DlgLnkPopToolbar : "툴바", -DlgLnkPopFullScrn : "전체화면 (IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "너비", -DlgLnkPopHeight : "높이", -DlgLnkPopLeft : "왼쪽 위치", -DlgLnkPopTop : "윗쪽 위치", - -DlnLnkMsgNoUrl : "링크 URL을 입력하십시요.", -DlnLnkMsgNoEMail : "이메일주소를 입력하십시요.", -DlnLnkMsgNoAnchor : "책갈피명을 입력하십시요.", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "색상 선택", -DlgColorBtnClear : "지우기", -DlgColorHighlight : "현재", -DlgColorSelected : "선택됨", - -// Smiley Dialog -DlgSmileyTitle : "아이콘 삽입", - -// Special Character Dialog -DlgSpecialCharTitle : "특수문자 선택", - -// Table Dialog -DlgTableTitle : "표 설정", -DlgTableRows : "가로줄", -DlgTableColumns : "세로줄", -DlgTableBorder : "테두리 크기", -DlgTableAlign : "정렬", -DlgTableAlignNotSet : "<설정되지 않음>", -DlgTableAlignLeft : "왼쪽", -DlgTableAlignCenter : "가운데", -DlgTableAlignRight : "오른쪽", -DlgTableWidth : "너비", -DlgTableWidthPx : "픽셀", -DlgTableWidthPc : "퍼센트", -DlgTableHeight : "높이", -DlgTableCellSpace : "셀 간격", -DlgTableCellPad : "셀 여백", -DlgTableCaption : "캡션", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "셀 설정", -DlgCellWidth : "너비", -DlgCellWidthPx : "픽셀", -DlgCellWidthPc : "퍼센트", -DlgCellHeight : "높이", -DlgCellWordWrap : "워드랩", -DlgCellWordWrapNotSet : "<설정되지 않음>", -DlgCellWordWrapYes : "예", -DlgCellWordWrapNo : "아니오", -DlgCellHorAlign : "수평 정렬", -DlgCellHorAlignNotSet : "<설정되지 않음>", -DlgCellHorAlignLeft : "왼쪽", -DlgCellHorAlignCenter : "가운데", -DlgCellHorAlignRight: "오른쪽", -DlgCellVerAlign : "수직 정렬", -DlgCellVerAlignNotSet : "<설정되지 않음>", -DlgCellVerAlignTop : "위", -DlgCellVerAlignMiddle : "중간", -DlgCellVerAlignBottom : "아래", -DlgCellVerAlignBaseline : "기준선", -DlgCellRowSpan : "세로 합치기", -DlgCellCollSpan : "가로 합치기", -DlgCellBackColor : "배경 색상", -DlgCellBorderColor : "테두리 색상", -DlgCellBtnSelect : "선택", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "찾기", -DlgFindFindBtn : "찾기", -DlgFindNotFoundMsg : "문자열을 찾을 수 없습니다.", - -// Replace Dialog -DlgReplaceTitle : "바꾸기", -DlgReplaceFindLbl : "찾을 문자열:", -DlgReplaceReplaceLbl : "바꿀 문자열:", -DlgReplaceCaseChk : "대소문자 구분", -DlgReplaceReplaceBtn : "바꾸기", -DlgReplaceReplAllBtn : "모두 바꾸기", -DlgReplaceWordChk : "온전한 단어", - -// Paste Operations / Dialog -PasteErrorCut : "브라우저의 보안설정때문에 잘라내기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+X).", -PasteErrorCopy : "브라우저의 보안설정때문에 복사하기 기능을 실행할 수 없습니다. 키보드 명령을 사용하십시요. (Ctrl+C).", - -PasteAsText : "텍스트로 붙여넣기", -PasteFromWord : "MS Word 형식에서 붙여넣기", - -DlgPasteMsg2 : "키보드의 (<STRONG>Ctrl+V</STRONG>) 를 이용해서 상자안에 붙여넣고 <STRONG>OK</STRONG> 를 누르세요.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "폰트 설정 무시", -DlgPasteRemoveStyles : "스타일 정의 제거", -DlgPasteCleanBox : "글상자 제거", - -// Color Picker -ColorAutomatic : "기본색상", -ColorMoreColors : "색상선택...", - -// Document Properties -DocProps : "문서 속성", - -// Anchor Dialog -DlgAnchorTitle : "책갈피 속성", -DlgAnchorName : "책갈피 이름", -DlgAnchorErrorName : "책갈피 이름을 입력하십시요.", - -// Speller Pages Dialog -DlgSpellNotInDic : "사전에 없는 단어", -DlgSpellChangeTo : "변경할 단어", -DlgSpellBtnIgnore : "건너뜀", -DlgSpellBtnIgnoreAll : "모두 건너뜀", -DlgSpellBtnReplace : "변경", -DlgSpellBtnReplaceAll : "모두 변경", -DlgSpellBtnUndo : "취소", -DlgSpellNoSuggestions : "- 추천단어 없음 -", -DlgSpellProgress : "철자검사를 진행중입니다...", -DlgSpellNoMispell : "철자검사 완료: 잘못된 철자가 없습니다.", -DlgSpellNoChanges : "철자검사 완료: 변경된 단어가 없습니다.", -DlgSpellOneChange : "철자검사 완료: 단어가 변경되었습니다.", -DlgSpellManyChanges : "철자검사 완료: %1 단어가 변경되었습니다.", - -IeSpellDownload : "철자 검사기가 철치되지 않았습니다. 지금 다운로드하시겠습니까?", - -// Button Dialog -DlgButtonText : "버튼글자(값)", -DlgButtonType : "버튼종류", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "이름", -DlgCheckboxValue : "값", -DlgCheckboxSelected : "선택됨", - -// Form Dialog -DlgFormName : "폼이름", -DlgFormAction : "실행경로(Action)", -DlgFormMethod : "방법(Method)", - -// Select Field Dialog -DlgSelectName : "이름", -DlgSelectValue : "값", -DlgSelectSize : "세로크기", -DlgSelectLines : "줄", -DlgSelectChkMulti : "여러항목 선택 허용", -DlgSelectOpAvail : "선택옵션", -DlgSelectOpText : "이름", -DlgSelectOpValue : "값", -DlgSelectBtnAdd : "추가", -DlgSelectBtnModify : "변경", -DlgSelectBtnUp : "위로", -DlgSelectBtnDown : "아래로", -DlgSelectBtnSetValue : "선택된것으로 설정", -DlgSelectBtnDelete : "삭제", - -// Textarea Dialog -DlgTextareaName : "이름", -DlgTextareaCols : "칸수", -DlgTextareaRows : "줄수", - -// Text Field Dialog -DlgTextName : "이름", -DlgTextValue : "값", -DlgTextCharWidth : "글자 너비", -DlgTextMaxChars : "최대 글자수", -DlgTextType : "종류", -DlgTextTypeText : "문자열", -DlgTextTypePass : "비밀번호", - -// Hidden Field Dialog -DlgHiddenName : "이름", -DlgHiddenValue : "값", - -// Bulleted List Dialog -BulletedListProp : "순서없는 목록 속성", -NumberedListProp : "순서있는 목록 속성", -DlgLstStart : "Start", //MISSING -DlgLstType : "종류", -DlgLstTypeCircle : "원(Circle)", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "네모점(Square)", -DlgLstTypeNumbers : "번호 (1, 2, 3)", -DlgLstTypeLCase : "소문자 (a, b, c)", -DlgLstTypeUCase : "대문자 (A, B, C)", -DlgLstTypeSRoman : "로마자 수문자 (i, ii, iii)", -DlgLstTypeLRoman : "로마자 대문자 (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "일반", -DlgDocBackTab : "배경", -DlgDocColorsTab : "색상 및 여백", -DlgDocMetaTab : "메타데이터", - -DlgDocPageTitle : "페이지명", -DlgDocLangDir : "문자 쓰기방향", -DlgDocLangDirLTR : "왼쪽에서 오른쪽 (LTR)", -DlgDocLangDirRTL : "오른쪽에서 왼쪽 (RTL)", -DlgDocLangCode : "언어코드", -DlgDocCharSet : "캐릭터셋 인코딩", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "다른 캐릭터셋 인코딩", - -DlgDocDocType : "문서 헤드", -DlgDocDocTypeOther : "다른 문서헤드", -DlgDocIncXHTML : "XHTML 문서정의 포함", -DlgDocBgColor : "배경색상", -DlgDocBgImage : "배경이미지 URL", -DlgDocBgNoScroll : "스크롤되지않는 배경", -DlgDocCText : "텍스트", -DlgDocCLink : "링크", -DlgDocCVisited : "방문한 링크(Visited)", -DlgDocCActive : "활성화된 링크(Active)", -DlgDocMargins : "페이지 여백", -DlgDocMaTop : "위", -DlgDocMaLeft : "왼쪽", -DlgDocMaRight : "오른쪽", -DlgDocMaBottom : "아래", -DlgDocMeIndex : "문서 키워드 (콤마로 구분)", -DlgDocMeDescr : "문서 설명", -DlgDocMeAuthor : "작성자", -DlgDocMeCopy : "저작권", -DlgDocPreview : "미리보기", - -// Templates Dialog -Templates : "템플릿", -DlgTemplatesTitle : "내용 템플릿", -DlgTemplatesSelMsg : "에디터에서 사용할 템플릿을 선택하십시요.<br>(지금까지 작성된 내용은 사라집니다.):", -DlgTemplatesLoading : "템플릿 목록을 불러오는중입니다. 잠시만 기다려주십시요.", -DlgTemplatesNoTpl : "(템플릿이 없습니다.)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "About", -DlgAboutBrowserInfoTab : "브라우저 정보", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "버전", -DlgAboutInfo : "For further information go to" -}; diff --git a/editor/editor/lang/lt.js b/editor/editor/lang/lt.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Lithuanian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Sutraukti mygtukų juostą", -ToolbarExpand : "Išplėsti mygtukų juostą", - -// Toolbar Items and Context Menu -Save : "Išsaugoti", -NewPage : "Naujas puslapis", -Preview : "Peržiūra", -Cut : "Iškirpti", -Copy : "Kopijuoti", -Paste : "Įdėti", -PasteText : "Įdėti kaip gryną tekstą", -PasteWord : "Įdėti iš Word", -Print : "Spausdinti", -SelectAll : "Pažymėti viską", -RemoveFormat : "Panaikinti formatą", -InsertLinkLbl : "Nuoroda", -InsertLink : "Įterpti/taisyti nuorodą", -RemoveLink : "Panaikinti nuorodą", -Anchor : "Įterpti/modifikuoti žymę", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Vaizdas", -InsertImage : "Įterpti/taisyti vaizdą", -InsertFlashLbl : "Flash", -InsertFlash : "Įterpti/taisyti Flash", -InsertTableLbl : "Lentelė", -InsertTable : "Įterpti/taisyti lentelę", -InsertLineLbl : "Linija", -InsertLine : "Įterpti horizontalią liniją", -InsertSpecialCharLbl: "Spec. simbolis", -InsertSpecialChar : "Įterpti specialų simbolį", -InsertSmileyLbl : "Veideliai", -InsertSmiley : "Įterpti veidelį", -About : "Apie FCKeditor", -Bold : "Pusjuodis", -Italic : "Kursyvas", -Underline : "Pabrauktas", -StrikeThrough : "Perbrauktas", -Subscript : "Apatinis indeksas", -Superscript : "Viršutinis indeksas", -LeftJustify : "Lygiuoti kairę", -CenterJustify : "Centruoti", -RightJustify : "Lygiuoti dešinę", -BlockJustify : "Lygiuoti abi puses", -DecreaseIndent : "Sumažinti įtrauką", -IncreaseIndent : "Padidinti įtrauką", -Blockquote : "Blockquote", //MISSING -Undo : "Atšaukti", -Redo : "Atstatyti", -NumberedListLbl : "Numeruotas sąrašas", -NumberedList : "Įterpti/Panaikinti numeruotą sąrašą", -BulletedListLbl : "Suženklintas sąrašas", -BulletedList : "Įterpti/Panaikinti suženklintą sąrašą", -ShowTableBorders : "Rodyti lentelės rėmus", -ShowDetails : "Rodyti detales", -Style : "Stilius", -FontFormat : "Šrifto formatas", -Font : "Šriftas", -FontSize : "Šrifto dydis", -TextColor : "Teksto spalva", -BGColor : "Fono spalva", -Source : "Šaltinis", -Find : "Rasti", -Replace : "Pakeisti", -SpellCheck : "Rašybos tikrinimas", -UniversalKeyboard : "Universali klaviatūra", -PageBreakLbl : "Puslapių skirtukas", -PageBreak : "Įterpti puslapių skirtuką", - -Form : "Forma", -Checkbox : "Žymimasis langelis", -RadioButton : "Žymimoji akutė", -TextField : "Teksto laukas", -Textarea : "Teksto sritis", -HiddenField : "Nerodomas laukas", -Button : "Mygtukas", -SelectionField : "Atrankos laukas", -ImageButton : "Vaizdinis mygtukas", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Taisyti nuorodą", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Šalinti eilutes", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Šalinti stulpelius", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Šalinti langelius", -MergeCells : "Sujungti langelius", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Šalinti lentelę", -CellProperties : "Langelio savybės", -TableProperties : "Lentelės savybės", -ImageProperties : "Vaizdo savybės", -FlashProperties : "Flash savybės", - -AnchorProp : "Žymės savybės", -ButtonProp : "Mygtuko savybės", -CheckboxProp : "Žymimojo langelio savybės", -HiddenFieldProp : "Nerodomo lauko savybės", -RadioButtonProp : "Žymimosios akutės savybės", -ImageButtonProp : "Vaizdinio mygtuko savybės", -TextFieldProp : "Teksto lauko savybės", -SelectionFieldProp : "Atrankos lauko savybės", -TextareaProp : "Teksto srities savybės", -FormProp : "Formos savybės", - -FontFormats : "Normalus;Formuotas;Kreipinio;Antraštinis 1;Antraštinis 2;Antraštinis 3;Antraštinis 4;Antraštinis 5;Antraštinis 6", - -// Alerts and Messages -ProcessingXHTML : "Apdorojamas XHTML. Prašome palaukti...", -Done : "Baigta", -PasteWordConfirm : "Įdedamas tekstas yra panašus į kopiją iš Word. Ar Jūs norite prieš įdėjimą išvalyti jį?", -NotCompatiblePaste : "Ši komanda yra prieinama tik per Internet Explorer 5.5 ar aukštesnę versiją. Ar Jūs norite įterpti be valymo?", -UnknownToolbarItem : "Nežinomas mygtukų juosta elementas \"%1\"", -UnknownCommand : "Nežinomas komandos vardas \"%1\"", -NotImplemented : "Komanda nėra įgyvendinta", -UnknownToolbarSet : "Mygtukų juostos rinkinys \"%1\" neegzistuoja", -NoActiveX : "Jūsų naršyklės saugumo nuostatos gali riboti kai kurias redaktoriaus savybes. Jūs turite aktyvuoti opciją \"Run ActiveX controls and plug-ins\". Kitu atveju Jums bus pranešama apie klaidas ir trūkstamas savybes.", -BrowseServerBlocked : "Neįmanoma atidaryti naujo naršyklės lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.", -DialogBlocked : "Neįmanoma atidaryti dialogo lango. Įsitikinkite, kad iškylančių langų blokavimo programos neveiksnios.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Nutraukti", -DlgBtnClose : "Uždaryti", -DlgBtnBrowseServer : "Naršyti po serverį", -DlgAdvancedTag : "Papildomas", -DlgOpOther : "<Kita>", -DlgInfoTab : "Informacija", -DlgAlertUrl : "Prašome įrašyti URL", - -// General Dialogs Labels -DlgGenNotSet : "<nėra nustatyta>", -DlgGenId : "Id", -DlgGenLangDir : "Teksto kryptis", -DlgGenLangDirLtr : "Iš kairės į dešinę (LTR)", -DlgGenLangDirRtl : "Iš dešinės į kairę (RTL)", -DlgGenLangCode : "Kalbos kodas", -DlgGenAccessKey : "Prieigos raktas", -DlgGenName : "Vardas", -DlgGenTabIndex : "Tabuliavimo indeksas", -DlgGenLongDescr : "Ilgas aprašymas URL", -DlgGenClass : "Stilių lentelės klasės", -DlgGenTitle : "Konsultacinė antraštė", -DlgGenContType : "Konsultacinio turinio tipas", -DlgGenLinkCharset : "Susietų išteklių simbolių lentelė", -DlgGenStyle : "Stilius", - -// Image Dialog -DlgImgTitle : "Vaizdo savybės", -DlgImgInfoTab : "Vaizdo informacija", -DlgImgBtnUpload : "Siųsti į serverį", -DlgImgURL : "URL", -DlgImgUpload : "Nusiųsti", -DlgImgAlt : "Alternatyvus Tekstas", -DlgImgWidth : "Plotis", -DlgImgHeight : "Aukštis", -DlgImgLockRatio : "Išlaikyti proporciją", -DlgBtnResetSize : "Atstatyti dydį", -DlgImgBorder : "Rėmelis", -DlgImgHSpace : "Hor.Erdvė", -DlgImgVSpace : "Vert.Erdvė", -DlgImgAlign : "Lygiuoti", -DlgImgAlignLeft : "Kairę", -DlgImgAlignAbsBottom: "Absoliučią apačią", -DlgImgAlignAbsMiddle: "Absoliutų vidurį", -DlgImgAlignBaseline : "Apatinę liniją", -DlgImgAlignBottom : "Apačią", -DlgImgAlignMiddle : "Vidurį", -DlgImgAlignRight : "Dešinę", -DlgImgAlignTextTop : "Teksto viršūnę", -DlgImgAlignTop : "Viršūnę", -DlgImgPreview : "Peržiūra", -DlgImgAlertUrl : "Prašome įvesti vaizdo URL", -DlgImgLinkTab : "Nuoroda", - -// Flash Dialog -DlgFlashTitle : "Flash savybės", -DlgFlashChkPlay : "Automatinis paleidimas", -DlgFlashChkLoop : "Ciklas", -DlgFlashChkMenu : "Leisti Flash meniu", -DlgFlashScale : "Mastelis", -DlgFlashScaleAll : "Rodyti visą", -DlgFlashScaleNoBorder : "Be rėmelio", -DlgFlashScaleFit : "Tikslus atitikimas", - -// Link Dialog -DlgLnkWindowTitle : "Nuoroda", -DlgLnkInfoTab : "Nuorodos informacija", -DlgLnkTargetTab : "Paskirtis", - -DlgLnkType : "Nuorodos tipas", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Žymė šiame puslapyje", -DlgLnkTypeEMail : "El.paštas", -DlgLnkProto : "Protokolas", -DlgLnkProtoOther : "<kitas>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Pasirinkite žymę", -DlgLnkAnchorByName : "Pagal žymės vardą", -DlgLnkAnchorById : "Pagal žymės Id", -DlgLnkNoAnchors : "(Šiame dokumente žymių nėra)", -DlgLnkEMail : "El.pašto adresas", -DlgLnkEMailSubject : "Žinutės tema", -DlgLnkEMailBody : "Žinutės turinys", -DlgLnkUpload : "Siųsti", -DlgLnkBtnUpload : "Siųsti į serverį", - -DlgLnkTarget : "Paskirties vieta", -DlgLnkTargetFrame : "<kadras>", -DlgLnkTargetPopup : "<išskleidžiamas langas>", -DlgLnkTargetBlank : "Naujas langas (_blank)", -DlgLnkTargetParent : "Pirminis langas (_parent)", -DlgLnkTargetSelf : "Tas pats langas (_self)", -DlgLnkTargetTop : "Svarbiausias langas (_top)", -DlgLnkTargetFrameName : "Paskirties kadro vardas", -DlgLnkPopWinName : "Paskirties lango vardas", -DlgLnkPopWinFeat : "Išskleidžiamo lango savybės", -DlgLnkPopResize : "Keičiamas dydis", -DlgLnkPopLocation : "Adreso juosta", -DlgLnkPopMenu : "Meniu juosta", -DlgLnkPopScroll : "Slinkties juostos", -DlgLnkPopStatus : "Būsenos juosta", -DlgLnkPopToolbar : "Mygtukų juosta", -DlgLnkPopFullScrn : "Visas ekranas (IE)", -DlgLnkPopDependent : "Priklausomas (Netscape)", -DlgLnkPopWidth : "Plotis", -DlgLnkPopHeight : "Aukštis", -DlgLnkPopLeft : "Kairė pozicija", -DlgLnkPopTop : "Viršutinė pozicija", - -DlnLnkMsgNoUrl : "Prašome įvesti nuorodos URL", -DlnLnkMsgNoEMail : "Prašome įvesti el.pašto adresą", -DlnLnkMsgNoAnchor : "Prašome pasirinkti žymę", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Pasirinkite spalvą", -DlgColorBtnClear : "Trinti", -DlgColorHighlight : "Paryškinta", -DlgColorSelected : "Pažymėta", - -// Smiley Dialog -DlgSmileyTitle : "Įterpti veidelį", - -// Special Character Dialog -DlgSpecialCharTitle : "Pasirinkite specialų simbolį", - -// Table Dialog -DlgTableTitle : "Lentelės savybės", -DlgTableRows : "Eilutės", -DlgTableColumns : "Stulpeliai", -DlgTableBorder : "Rėmelio dydis", -DlgTableAlign : "Lygiuoti", -DlgTableAlignNotSet : "<Nenustatyta>", -DlgTableAlignLeft : "Kairę", -DlgTableAlignCenter : "Centrą", -DlgTableAlignRight : "Dešinę", -DlgTableWidth : "Plotis", -DlgTableWidthPx : "taškais", -DlgTableWidthPc : "procentais", -DlgTableHeight : "Aukštis", -DlgTableCellSpace : "Tarpas tarp langelių", -DlgTableCellPad : "Trapas nuo langelio rėmo iki teksto", -DlgTableCaption : "Antraštė", -DlgTableSummary : "Santrauka", - -// Table Cell Dialog -DlgCellTitle : "Langelio savybės", -DlgCellWidth : "Plotis", -DlgCellWidthPx : "taškais", -DlgCellWidthPc : "procentais", -DlgCellHeight : "Aukštis", -DlgCellWordWrap : "Teksto laužymas", -DlgCellWordWrapNotSet : "<Nenustatyta>", -DlgCellWordWrapYes : "Taip", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Horizontaliai lygiuoti", -DlgCellHorAlignNotSet : "<Nenustatyta>", -DlgCellHorAlignLeft : "Kairę", -DlgCellHorAlignCenter : "Centrą", -DlgCellHorAlignRight: "Dešinę", -DlgCellVerAlign : "Vertikaliai lygiuoti", -DlgCellVerAlignNotSet : "<Nenustatyta>", -DlgCellVerAlignTop : "Viršų", -DlgCellVerAlignMiddle : "Vidurį", -DlgCellVerAlignBottom : "Apačią", -DlgCellVerAlignBaseline : "Apatinę liniją", -DlgCellRowSpan : "Eilučių apjungimas", -DlgCellCollSpan : "Stulpelių apjungimas", -DlgCellBackColor : "Fono spalva", -DlgCellBorderColor : "Rėmelio spalva", -DlgCellBtnSelect : "Pažymėti...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Paieška", -DlgFindFindBtn : "Surasti", -DlgFindNotFoundMsg : "Nurodytas tekstas nerastas.", - -// Replace Dialog -DlgReplaceTitle : "Pakeisti", -DlgReplaceFindLbl : "Surasti tekstą:", -DlgReplaceReplaceLbl : "Pakeisti tekstu:", -DlgReplaceCaseChk : "Skirti didžiąsias ir mažąsias raides", -DlgReplaceReplaceBtn : "Pakeisti", -DlgReplaceReplAllBtn : "Pakeisti viską", -DlgReplaceWordChk : "Atitikti pilną žodį", - -// Paste Operations / Dialog -PasteErrorCut : "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti iškirpimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+X).", -PasteErrorCopy : "Jūsų naršyklės saugumo nustatymai neleidžia redaktoriui automatiškai įvykdyti kopijavimo operacijų. Tam prašome naudoti klaviatūrą (Ctrl+C).", - -PasteAsText : "Įdėti kaip gryną tekstą", -PasteFromWord : "Įdėti iš Word", - -DlgPasteMsg2 : "Žemiau esančiame įvedimo lauke įdėkite tekstą, naudodami klaviatūrą (<STRONG>Ctrl+V</STRONG>) ir spūstelkite mygtuką <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignoruoti šriftų nustatymus", -DlgPasteRemoveStyles : "Pašalinti stilių nustatymus", -DlgPasteCleanBox : "Trinti įvedimo lauką", - -// Color Picker -ColorAutomatic : "Automatinis", -ColorMoreColors : "Daugiau spalvų...", - -// Document Properties -DocProps : "Dokumento savybės", - -// Anchor Dialog -DlgAnchorTitle : "Žymės savybės", -DlgAnchorName : "Žymės vardas", -DlgAnchorErrorName : "Prašome įvesti žymės vardą", - -// Speller Pages Dialog -DlgSpellNotInDic : "Žodyne nerastas", -DlgSpellChangeTo : "Pakeisti į", -DlgSpellBtnIgnore : "Ignoruoti", -DlgSpellBtnIgnoreAll : "Ignoruoti visus", -DlgSpellBtnReplace : "Pakeisti", -DlgSpellBtnReplaceAll : "Pakeisti visus", -DlgSpellBtnUndo : "Atšaukti", -DlgSpellNoSuggestions : "- Nėra pasiūlymų -", -DlgSpellProgress : "Vyksta rašybos tikrinimas...", -DlgSpellNoMispell : "Rašybos tikrinimas baigtas: Nerasta rašybos klaidų", -DlgSpellNoChanges : "Rašybos tikrinimas baigtas: Nėra pakeistų žodžių", -DlgSpellOneChange : "Rašybos tikrinimas baigtas: Vienas žodis pakeistas", -DlgSpellManyChanges : "Rašybos tikrinimas baigtas: Pakeista %1 žodžių", - -IeSpellDownload : "Rašybos tikrinimas neinstaliuotas. Ar Jūs norite jį dabar atsisiųsti?", - -// Button Dialog -DlgButtonText : "Tekstas (Reikšmė)", -DlgButtonType : "Tipas", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Vardas", -DlgCheckboxValue : "Reikšmė", -DlgCheckboxSelected : "Pažymėtas", - -// Form Dialog -DlgFormName : "Vardas", -DlgFormAction : "Veiksmas", -DlgFormMethod : "Metodas", - -// Select Field Dialog -DlgSelectName : "Vardas", -DlgSelectValue : "Reikšmė", -DlgSelectSize : "Dydis", -DlgSelectLines : "eilučių", -DlgSelectChkMulti : "Leisti daugeriopą atranką", -DlgSelectOpAvail : "Galimos parinktys", -DlgSelectOpText : "Tekstas", -DlgSelectOpValue : "Reikšmė", -DlgSelectBtnAdd : "Įtraukti", -DlgSelectBtnModify : "Modifikuoti", -DlgSelectBtnUp : "Aukštyn", -DlgSelectBtnDown : "Žemyn", -DlgSelectBtnSetValue : "Laikyti pažymėta reikšme", -DlgSelectBtnDelete : "Trinti", - -// Textarea Dialog -DlgTextareaName : "Vardas", -DlgTextareaCols : "Ilgis", -DlgTextareaRows : "Plotis", - -// Text Field Dialog -DlgTextName : "Vardas", -DlgTextValue : "Reikšmė", -DlgTextCharWidth : "Ilgis simboliais", -DlgTextMaxChars : "Maksimalus simbolių skaičius", -DlgTextType : "Tipas", -DlgTextTypeText : "Tekstas", -DlgTextTypePass : "Slaptažodis", - -// Hidden Field Dialog -DlgHiddenName : "Vardas", -DlgHiddenValue : "Reikšmė", - -// Bulleted List Dialog -BulletedListProp : "Suženklinto sąrašo savybės", -NumberedListProp : "Numeruoto sąrašo savybės", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tipas", -DlgLstTypeCircle : "Apskritimas", -DlgLstTypeDisc : "Diskas", -DlgLstTypeSquare : "Kvadratas", -DlgLstTypeNumbers : "Skaičiai (1, 2, 3)", -DlgLstTypeLCase : "Mažosios raidės (a, b, c)", -DlgLstTypeUCase : "Didžiosios raidės (A, B, C)", -DlgLstTypeSRoman : "Romėnų mažieji skaičiai (i, ii, iii)", -DlgLstTypeLRoman : "Romėnų didieji skaičiai (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Bendros savybės", -DlgDocBackTab : "Fonas", -DlgDocColorsTab : "Spalvos ir kraštinės", -DlgDocMetaTab : "Meta duomenys", - -DlgDocPageTitle : "Puslapio antraštė", -DlgDocLangDir : "Kalbos kryptis", -DlgDocLangDirLTR : "Iš kairės į dešinę (LTR)", -DlgDocLangDirRTL : "Iš dešinės į kairę (RTL)", -DlgDocLangCode : "Kalbos kodas", -DlgDocCharSet : "Simbolių kodavimo lentelė", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Kita simbolių kodavimo lentelė", - -DlgDocDocType : "Dokumento tipo antraštė", -DlgDocDocTypeOther : "Kita dokumento tipo antraštė", -DlgDocIncXHTML : "Įtraukti XHTML deklaracijas", -DlgDocBgColor : "Fono spalva", -DlgDocBgImage : "Fono paveikslėlio nuoroda (URL)", -DlgDocBgNoScroll : "Neslenkantis fonas", -DlgDocCText : "Tekstas", -DlgDocCLink : "Nuoroda", -DlgDocCVisited : "Aplankyta nuoroda", -DlgDocCActive : "Aktyvi nuoroda", -DlgDocMargins : "Puslapio kraštinės", -DlgDocMaTop : "Viršuje", -DlgDocMaLeft : "Kairėje", -DlgDocMaRight : "Dešinėje", -DlgDocMaBottom : "Apačioje", -DlgDocMeIndex : "Dokumento indeksavimo raktiniai žodžiai (atskirti kableliais)", -DlgDocMeDescr : "Dokumento apibūdinimas", -DlgDocMeAuthor : "Autorius", -DlgDocMeCopy : "Autorinės teisės", -DlgDocPreview : "Peržiūra", - -// Templates Dialog -Templates : "Šablonai", -DlgTemplatesTitle : "Turinio šablonai", -DlgTemplatesSelMsg : "Pasirinkite norimą šabloną<br>(<b>Dėmesio!</b> esamas turinys bus prarastas):", -DlgTemplatesLoading : "Įkeliamas šablonų sąrašas. Prašome palaukti...", -DlgTemplatesNoTpl : "(Šablonų sąrašas tuščias)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Apie", -DlgAboutBrowserInfoTab : "Naršyklės informacija", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "versija", -DlgAboutInfo : "Papildomą informaciją galima gauti" -}; diff --git a/editor/editor/lang/lv.js b/editor/editor/lang/lv.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Latvian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Samazināt rīku joslu", -ToolbarExpand : "Paplašināt rīku joslu", - -// Toolbar Items and Context Menu -Save : "Saglabāt", -NewPage : "Jauna lapa", -Preview : "Pārskatīt", -Cut : "Izgriezt", -Copy : "Kopēt", -Paste : "Ievietot", -PasteText : "Ievietot kā vienkāršu tekstu", -PasteWord : "Ievietot no Worda", -Print : "Drukāt", -SelectAll : "Iezīmēt visu", -RemoveFormat : "Noņemt stilus", -InsertLinkLbl : "Hipersaite", -InsertLink : "Ievietot/Labot hipersaiti", -RemoveLink : "Noņemt hipersaiti", -Anchor : "Ievietot/Labot iezīmi", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Attēls", -InsertImage : "Ievietot/Labot Attēlu", -InsertFlashLbl : "Flash", -InsertFlash : "Ievietot/Labot Flash", -InsertTableLbl : "Tabula", -InsertTable : "Ievietot/Labot Tabulu", -InsertLineLbl : "Atdalītājsvītra", -InsertLine : "Ievietot horizontālu Atdalītājsvītru", -InsertSpecialCharLbl: "Īpašs simbols", -InsertSpecialChar : "Ievietot speciālo simbolu", -InsertSmileyLbl : "Smaidiņi", -InsertSmiley : "Ievietot smaidiņu", -About : "Īsumā par FCKeditor", -Bold : "Treknu šriftu", -Italic : "Slīprakstā", -Underline : "Apakšsvītra", -StrikeThrough : "Pārsvītrots", -Subscript : "Zemrakstā", -Superscript : "Augšrakstā", -LeftJustify : "Izlīdzināt pa kreisi", -CenterJustify : "Izlīdzināt pret centru", -RightJustify : "Izlīdzināt pa labi", -BlockJustify : "Izlīdzināt malas", -DecreaseIndent : "Samazināt atkāpi", -IncreaseIndent : "Palielināt atkāpi", -Blockquote : "Blockquote", //MISSING -Undo : "Atcelt", -Redo : "Atkārtot", -NumberedListLbl : "Numurēts saraksts", -NumberedList : "Ievietot/Noņemt numerēto sarakstu", -BulletedListLbl : "Izcelts saraksts", -BulletedList : "Ievietot/Noņemt izceltu sarakstu", -ShowTableBorders : "Parādīt tabulas robežas", -ShowDetails : "Parādīt sīkāku informāciju", -Style : "Stils", -FontFormat : "Formāts", -Font : "Šrifts", -FontSize : "Izmērs", -TextColor : "Teksta krāsa", -BGColor : "Fona krāsa", -Source : "HTML kods", -Find : "Meklēt", -Replace : "Nomainīt", -SpellCheck : "Pareizrakstības pārbaude", -UniversalKeyboard : "Universāla klaviatūra", -PageBreakLbl : "Lapas pārtraukums", -PageBreak : "Ievietot lapas pārtraukumu", - -Form : "Forma", -Checkbox : "Atzīmēšanas kastīte", -RadioButton : "Izvēles poga", -TextField : "Teksta rinda", -Textarea : "Teksta laukums", -HiddenField : "Paslēpta teksta rinda", -Button : "Poga", -SelectionField : "Iezīmēšanas lauks", -ImageButton : "Attēlpoga", - -FitWindow : "Maksimizēt redaktora izmēru", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Labot hipersaiti", -CellCM : "Šūna", -RowCM : "Rinda", -ColumnCM : "Kolonna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Dzēst rindas", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Dzēst kolonnas", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Dzēst rūtiņas", -MergeCells : "Apvienot rūtiņas", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Dzēst tabulu", -CellProperties : "Rūtiņas īpašības", -TableProperties : "Tabulas īpašības", -ImageProperties : "Attēla īpašības", -FlashProperties : "Flash īpašības", - -AnchorProp : "Iezīmes īpašības", -ButtonProp : "Pogas īpašības", -CheckboxProp : "Atzīmēšanas kastītes īpašības", -HiddenFieldProp : "Paslēptās teksta rindas īpašības", -RadioButtonProp : "Izvēles poga īpašības", -ImageButtonProp : "Attēlpogas īpašības", -TextFieldProp : "Teksta rindas īpašības", -SelectionFieldProp : "Iezīmēšanas lauka īpašības", -TextareaProp : "Teksta laukuma īpašības", -FormProp : "Formas īpašības", - -FontFormats : "Normāls teksts;Formatēts teksts;Adrese;Virsraksts 1;Virsraksts 2;Virsraksts 3;Virsraksts 4;Virsraksts 5;Virsraksts 6;Rindkopa (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Tiek apstrādāts XHTML. Lūdzu uzgaidiet...", -Done : "Darīts", -PasteWordConfirm : "Teksta fragments, kas tiek ievietots, izskatās, ka būtu sagatavots Word'ā. Vai vēlaties to apstrādāt pirms ievietošanas?", -NotCompatiblePaste : "Šī darbība ir pieejama Internet Explorer'ī, kas jaunāks par 5.5 versiju. Vai vēlaties ievietot bez apstrādes?", -UnknownToolbarItem : "Nezināms rīku joslas objekts \"%1\"", -UnknownCommand : "Nezināmas darbības nosaukums \"%1\"", -NotImplemented : "Darbība netika paveikta", -UnknownToolbarSet : "Rīku joslas komplekts \"%1\" neeksistē", -NoActiveX : "Interneta pārlūkprogrammas drošības uzstādījumi varētu ietekmēt dažas no redaktora īpašībām. Jābūt aktivizētai sadaļai \"Run ActiveX controls and plug-ins\". Savādāk ir iespējamas kļūdas darbībā un kļūdu paziņojumu parādīšanās.", -BrowseServerBlocked : "Resursu pārlūks nevar tikt atvērts. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", -DialogBlocked : "Nav iespējams atvērt dialoglogu. Pārliecinieties, ka uznirstošo logu bloķētāji ir atslēgti.", - -// Dialogs -DlgBtnOK : "Darīts!", -DlgBtnCancel : "Atcelt", -DlgBtnClose : "Aizvērt", -DlgBtnBrowseServer : "Skatīt servera saturu", -DlgAdvancedTag : "Izvērstais", -DlgOpOther : "<Cits>", -DlgInfoTab : "Informācija", -DlgAlertUrl : "Lūdzu, ievietojiet hipersaiti", - -// General Dialogs Labels -DlgGenNotSet : "<nav iestatīts>", -DlgGenId : "Id", -DlgGenLangDir : "Valodas lasīšanas virziens", -DlgGenLangDirLtr : "No kreisās uz labo (LTR)", -DlgGenLangDirRtl : "No labās uz kreiso (RTL)", -DlgGenLangCode : "Valodas kods", -DlgGenAccessKey : "Pieejas kods", -DlgGenName : "Nosaukums", -DlgGenTabIndex : "Ciļņu indekss", -DlgGenLongDescr : "Gara apraksta Hipersaite", -DlgGenClass : "Stilu saraksta klases", -DlgGenTitle : "Konsultatīvs virsraksts", -DlgGenContType : "Konsultatīvs satura tips", -DlgGenLinkCharset : "Pievienotā resursa kodu tabula", -DlgGenStyle : "Stils", - -// Image Dialog -DlgImgTitle : "Attēla īpašības", -DlgImgInfoTab : "Informācija par attēlu", -DlgImgBtnUpload : "Nosūtīt serverim", -DlgImgURL : "URL", -DlgImgUpload : "Augšupielādēt", -DlgImgAlt : "Alternatīvais teksts", -DlgImgWidth : "Platums", -DlgImgHeight : "Augstums", -DlgImgLockRatio : "Nemainīga Augstuma/Platuma attiecība", -DlgBtnResetSize : "Atjaunot sākotnējo izmēru", -DlgImgBorder : "Rāmis", -DlgImgHSpace : "Horizontālā telpa", -DlgImgVSpace : "Vertikālā telpa", -DlgImgAlign : "Nolīdzināt", -DlgImgAlignLeft : "Pa kreisi", -DlgImgAlignAbsBottom: "Absolūti apakšā", -DlgImgAlignAbsMiddle: "Absolūti vertikāli centrēts", -DlgImgAlignBaseline : "Pamatrindā", -DlgImgAlignBottom : "Apakšā", -DlgImgAlignMiddle : "Vertikāli centrēts", -DlgImgAlignRight : "Pa labi", -DlgImgAlignTextTop : "Teksta augšā", -DlgImgAlignTop : "Augšā", -DlgImgPreview : "Pārskats", -DlgImgAlertUrl : "Lūdzu norādīt attēla hipersaiti", -DlgImgLinkTab : "Hipersaite", - -// Flash Dialog -DlgFlashTitle : "Flash īpašības", -DlgFlashChkPlay : "Automātiska atskaņošana", -DlgFlashChkLoop : "Nepārtraukti", -DlgFlashChkMenu : "Atļaut Flash izvēlni", -DlgFlashScale : "Mainīt izmēru", -DlgFlashScaleAll : "Rādīt visu", -DlgFlashScaleNoBorder : "Bez rāmja", -DlgFlashScaleFit : "Precīzs izmērs", - -// Link Dialog -DlgLnkWindowTitle : "Hipersaite", -DlgLnkInfoTab : "Hipersaites informācija", -DlgLnkTargetTab : "Mērķis", - -DlgLnkType : "Hipersaites tips", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Iezīme šajā lapā", -DlgLnkTypeEMail : "E-pasts", -DlgLnkProto : "Protokols", -DlgLnkProtoOther : "<cits>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Izvēlēties iezīmi", -DlgLnkAnchorByName : "Pēc iezīmes nosaukuma", -DlgLnkAnchorById : "Pēc elementa ID", -DlgLnkNoAnchors : "(Šajā dokumentā nav iezīmju)", -DlgLnkEMail : "E-pasta adrese", -DlgLnkEMailSubject : "Ziņas tēma", -DlgLnkEMailBody : "Ziņas saturs", -DlgLnkUpload : "Augšupielādēt", -DlgLnkBtnUpload : "Nosūtīt serverim", - -DlgLnkTarget : "Mērķis", -DlgLnkTargetFrame : "<ietvars>", -DlgLnkTargetPopup : "<uznirstošā logā>", -DlgLnkTargetBlank : "Jaunā logā (_blank)", -DlgLnkTargetParent : "Esošajā logā (_parent)", -DlgLnkTargetSelf : "Tajā pašā logā (_self)", -DlgLnkTargetTop : "Visredzamākajā logā (_top)", -DlgLnkTargetFrameName : "Mērķa ietvara nosaukums", -DlgLnkPopWinName : "Uznirstošā loga nosaukums", -DlgLnkPopWinFeat : "Uznirstošā loga nosaukums īpašības", -DlgLnkPopResize : "Ar maināmu izmēru", -DlgLnkPopLocation : "Atrašanās vietas josla", -DlgLnkPopMenu : "Izvēlnes josla", -DlgLnkPopScroll : "Ritjoslas", -DlgLnkPopStatus : "Statusa josla", -DlgLnkPopToolbar : "Rīku josla", -DlgLnkPopFullScrn : "Pilnā ekrānā (IE)", -DlgLnkPopDependent : "Atkarīgs (Netscape)", -DlgLnkPopWidth : "Platums", -DlgLnkPopHeight : "Augstums", -DlgLnkPopLeft : "Kreisā koordināte", -DlgLnkPopTop : "Augšējā koordināte", - -DlnLnkMsgNoUrl : "Lūdzu norādi hipersaiti", -DlnLnkMsgNoEMail : "Lūdzu norādi e-pasta adresi", -DlnLnkMsgNoAnchor : "Lūdzu norādi iezīmi", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Izvēlies krāsu", -DlgColorBtnClear : "Dzēst", -DlgColorHighlight : "Izcelt", -DlgColorSelected : "Iezīmētais", - -// Smiley Dialog -DlgSmileyTitle : "Ievietot smaidiņu", - -// Special Character Dialog -DlgSpecialCharTitle : "Ievietot īpašu simbolu", - -// Table Dialog -DlgTableTitle : "Tabulas īpašības", -DlgTableRows : "Rindas", -DlgTableColumns : "Kolonnas", -DlgTableBorder : "Rāmja izmērs", -DlgTableAlign : "Novietojums", -DlgTableAlignNotSet : "<nav norādīts>", -DlgTableAlignLeft : "Pa kreisi", -DlgTableAlignCenter : "Centrēti", -DlgTableAlignRight : "Pa labi", -DlgTableWidth : "Platums", -DlgTableWidthPx : "pikseļos", -DlgTableWidthPc : "procentuāli", -DlgTableHeight : "Augstums", -DlgTableCellSpace : "Rūtiņu atstatums", -DlgTableCellPad : "Rūtiņu nobīde", -DlgTableCaption : "Leģenda", -DlgTableSummary : "Anotācija", - -// Table Cell Dialog -DlgCellTitle : "Rūtiņas īpašības", -DlgCellWidth : "Platums", -DlgCellWidthPx : "pikseļi", -DlgCellWidthPc : "procentos", -DlgCellHeight : "Augstums", -DlgCellWordWrap : "Teksta pārnese", -DlgCellWordWrapNotSet : "<nav norādīta>", -DlgCellWordWrapYes : "Jā", -DlgCellWordWrapNo : "Nē", -DlgCellHorAlign : "Horizontāla novietojums", -DlgCellHorAlignNotSet : "<Nav norādīts>", -DlgCellHorAlignLeft : "Pa kreisi", -DlgCellHorAlignCenter : "Centrēti", -DlgCellHorAlignRight: "Pa labi", -DlgCellVerAlign : "Vertikālais novietojums", -DlgCellVerAlignNotSet : "<nav norādīts>", -DlgCellVerAlignTop : "Augša", -DlgCellVerAlignMiddle : "Vidus", -DlgCellVerAlignBottom : "Apakša", -DlgCellVerAlignBaseline : "Pamatrindā", -DlgCellRowSpan : "Rindu pārnese", -DlgCellCollSpan : "Kolonnu pārnese", -DlgCellBackColor : "Fona krāsa", -DlgCellBorderColor : "Rāmja krāsa", -DlgCellBtnSelect : "Iezīmē...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Meklētājs", -DlgFindFindBtn : "Meklēt", -DlgFindNotFoundMsg : "Norādītā frāze netika atrasta.", - -// Replace Dialog -DlgReplaceTitle : "Aizvietošana", -DlgReplaceFindLbl : "Meklēt:", -DlgReplaceReplaceLbl : "Nomainīt uz:", -DlgReplaceCaseChk : "Reģistrjūtīgs", -DlgReplaceReplaceBtn : "Aizvietot", -DlgReplaceReplAllBtn : "Aizvietot visu", -DlgReplaceWordChk : "Jāsakrīt pilnībā", - -// Paste Operations / Dialog -PasteErrorCut : "Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt izgriešanas darbību. Lūdzu, izmantojiet (Ctrl+X, lai veiktu šo darbību.", -PasteErrorCopy : "Jūsu pārlūkprogrammas drošības iestatījumi nepieļauj editoram automātiski veikt kopēšanas darbību. Lūdzu, izmantojiet (Ctrl+C), lai veiktu šo darbību.", - -PasteAsText : "Ievietot kā vienkāršu tekstu", -PasteFromWord : "Ievietot no Worda", - -DlgPasteMsg2 : "Lūdzu, ievietojiet tekstu šajā laukumā, izmantojot klaviatūru (<STRONG>Ctrl+V</STRONG>) un apstipriniet ar <STRONG>Darīts!</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignorēt iepriekš norādītos fontus", -DlgPasteRemoveStyles : "Noņemt norādītos stilus", -DlgPasteCleanBox : "Apstrādāt laukuma saturu", - -// Color Picker -ColorAutomatic : "Automātiska", -ColorMoreColors : "Plašāka palete...", - -// Document Properties -DocProps : "Dokumenta īpašības", - -// Anchor Dialog -DlgAnchorTitle : "Iezīmes īpašības", -DlgAnchorName : "Iezīmes nosaukums", -DlgAnchorErrorName : "Lūdzu norādiet iezīmes nosaukumu", - -// Speller Pages Dialog -DlgSpellNotInDic : "Netika atrasts vārdnīcā", -DlgSpellChangeTo : "Nomainīt uz", -DlgSpellBtnIgnore : "Ignorēt", -DlgSpellBtnIgnoreAll : "Ignorēt visu", -DlgSpellBtnReplace : "Aizvietot", -DlgSpellBtnReplaceAll : "Aizvietot visu", -DlgSpellBtnUndo : "Atcelt", -DlgSpellNoSuggestions : "- Nav ieteikumu -", -DlgSpellProgress : "Notiek pareizrakstības pārbaude...", -DlgSpellNoMispell : "Pareizrakstības pārbaude pabeigta: kļūdas netika atrastas", -DlgSpellNoChanges : "Pareizrakstības pārbaude pabeigta: nekas netika labots", -DlgSpellOneChange : "Pareizrakstības pārbaude pabeigta: 1 vārds izmainīts", -DlgSpellManyChanges : "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?", - -// Button Dialog -DlgButtonText : "Teksts (vērtība)", -DlgButtonType : "Tips", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nosaukums", -DlgCheckboxValue : "Vērtība", -DlgCheckboxSelected : "Iezīmēts", - -// Form Dialog -DlgFormName : "Nosaukums", -DlgFormAction : "Darbība", -DlgFormMethod : "Metode", - -// Select Field Dialog -DlgSelectName : "Nosaukums", -DlgSelectValue : "Vērtība", -DlgSelectSize : "Izmērs", -DlgSelectLines : "rindas", -DlgSelectChkMulti : "Atļaut vairākus iezīmējumus", -DlgSelectOpAvail : "Pieejamās iespējas", -DlgSelectOpText : "Teksts", -DlgSelectOpValue : "Vērtība", -DlgSelectBtnAdd : "Pievienot", -DlgSelectBtnModify : "Veikt izmaiņas", -DlgSelectBtnUp : "Augšup", -DlgSelectBtnDown : "Lejup", -DlgSelectBtnSetValue : "Noteikt kā iezīmēto vērtību", -DlgSelectBtnDelete : "Dzēst", - -// Textarea Dialog -DlgTextareaName : "Nosaukums", -DlgTextareaCols : "Kolonnas", -DlgTextareaRows : "Rindas", - -// Text Field Dialog -DlgTextName : "Nosaukums", -DlgTextValue : "Vērtība", -DlgTextCharWidth : "Simbolu platums", -DlgTextMaxChars : "Simbolu maksimālais daudzums", -DlgTextType : "Tips", -DlgTextTypeText : "Teksts", -DlgTextTypePass : "Parole", - -// Hidden Field Dialog -DlgHiddenName : "Nosaukums", -DlgHiddenValue : "Vērtība", - -// Bulleted List Dialog -BulletedListProp : "Aizzīmju saraksta īpašības", -NumberedListProp : "Numerētā saraksta īpašības", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tips", -DlgLstTypeCircle : "Aplis", -DlgLstTypeDisc : "Disks", -DlgLstTypeSquare : "Kvadrāts", -DlgLstTypeNumbers : "Skaitļi (1, 2, 3)", -DlgLstTypeLCase : "Maziem burtiem (a, b, c)", -DlgLstTypeUCase : "Lieliem burtiem (A, B, C)", -DlgLstTypeSRoman : "Maziem romiešu cipariem (i, ii, iii)", -DlgLstTypeLRoman : "Lieliem romiešu cipariem (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Vispārīga informācija", -DlgDocBackTab : "Fons", -DlgDocColorsTab : "Krāsas un robežu nobīdes", -DlgDocMetaTab : "META dati", - -DlgDocPageTitle : "Dokumenta virsraksts <Title>", -DlgDocLangDir : "Valodas lasīšanas virziens", -DlgDocLangDirLTR : "No kreisās uz labo (LTR)", -DlgDocLangDirRTL : "No labās uz kreiso (RTL)", -DlgDocLangCode : "Valodas kods", -DlgDocCharSet : "Simbolu kodējums", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Cits simbolu kodējums", - -DlgDocDocType : "Dokumenta tips", -DlgDocDocTypeOther : "Cits dokumenta tips", -DlgDocIncXHTML : "Ietvert XHTML deklarācijas", -DlgDocBgColor : "Fona krāsa", -DlgDocBgImage : "Fona attēla hipersaite", -DlgDocBgNoScroll : "Fona attēls ir fiksēts", -DlgDocCText : "Teksts", -DlgDocCLink : "Hipersaite", -DlgDocCVisited : "Apmeklēta hipersaite", -DlgDocCActive : "Aktīva hipersaite", -DlgDocMargins : "Lapas robežas", -DlgDocMaTop : "Augšā", -DlgDocMaLeft : "Pa kreisi", -DlgDocMaRight : "Pa labi", -DlgDocMaBottom : "Apakšā", -DlgDocMeIndex : "Dokumentu aprakstoši atslēgvārdi (atdalīti ar komatu)", -DlgDocMeDescr : "Dokumenta apraksts", -DlgDocMeAuthor : "Autors", -DlgDocMeCopy : "Autortiesības", -DlgDocPreview : "Priekšskats", - -// Templates Dialog -Templates : "Sagataves", -DlgTemplatesTitle : "Satura sagataves", -DlgTemplatesSelMsg : "Lūdzu, norādiet sagatavi, ko atvērt editorā<br>(patreizējie dati tiks zaudēti):", -DlgTemplatesLoading : "Notiek sagatavju saraksta ielāde. Lūdzu, uzgaidiet...", -DlgTemplatesNoTpl : "(Nav norādītas sagataves)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Par", -DlgAboutBrowserInfoTab : "Informācija par pārlūkprogrammu", -DlgAboutLicenseTab : "Licence", -DlgAboutVersion : "versija", -DlgAboutInfo : "Papildus informācija ir pieejama" -}; diff --git a/editor/editor/lang/mn.js b/editor/editor/lang/mn.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Mongolian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Багажны хэсэг эвдэх", -ToolbarExpand : "Багажны хэсэг өргөтгөх", - -// Toolbar Items and Context Menu -Save : "Хадгалах", -NewPage : "Шинэ хуудас", -Preview : "Уридчлан харах", -Cut : "Хайчлах", -Copy : "Хуулах", -Paste : "Буулгах", -PasteText : "plain text-ээс буулгах", -PasteWord : "Word-оос буулгах", -Print : "Хэвлэх", -SelectAll : "Бүгдийг нь сонгох", -RemoveFormat : "Формат авч хаях", -InsertLinkLbl : "Линк", -InsertLink : "Линк Оруулах/Засварлах", -RemoveLink : "Линк авч хаях", -Anchor : "Insert/Edit Anchor", //MISSING -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Зураг", -InsertImage : "Зураг Оруулах/Засварлах", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING -InsertTableLbl : "Хүснэгт", -InsertTable : "Хүснэгт Оруулах/Засварлах", -InsertLineLbl : "Зураас", -InsertLine : "Хөндлөн зураас оруулах", -InsertSpecialCharLbl: "Онцгой тэмдэгт", -InsertSpecialChar : "Онцгой тэмдэгт оруулах", -InsertSmileyLbl : "Тодорхойлолт", -InsertSmiley : "Тодорхойлолт оруулах", -About : "FCKeditor-н тухай", -Bold : "Тод бүдүүн", -Italic : "Налуу", -Underline : "Доогуур нь зураастай болгох", -StrikeThrough : "Дундуур нь зураастай болгох", -Subscript : "Суурь болгох", -Superscript : "Зэрэг болгох", -LeftJustify : "Зүүн талд байрлуулах", -CenterJustify : "Төвд байрлуулах", -RightJustify : "Баруун талд байрлуулах", -BlockJustify : "Блок хэлбэрээр байрлуулах", -DecreaseIndent : "Догол мөр нэмэх", -IncreaseIndent : "Догол мөр хасах", -Blockquote : "Blockquote", //MISSING -Undo : "Хүчингүй болгох", -Redo : "Өмнөх үйлдлээ сэргээх", -NumberedListLbl : "Дугаарлагдсан жагсаалт", -NumberedList : "Дугаарлагдсан жагсаалт Оруулах/Авах", -BulletedListLbl : "Цэгтэй жагсаалт", -BulletedList : "Цэгтэй жагсаалт Оруулах/Авах", -ShowTableBorders : "Хүснэгтийн хүрээг үзүүлэх", -ShowDetails : "Деталчлан үзүүлэх", -Style : "Загвар", -FontFormat : "Формат", -Font : "Фонт", -FontSize : "Хэмжээ", -TextColor : "Фонтны өнгө", -BGColor : "Фонны өнгө", -Source : "Код", -Find : "Хайх", -Replace : "Солих", -SpellCheck : "Check Spelling", //MISSING -UniversalKeyboard : "Universal Keyboard", //MISSING -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Form", //MISSING -Checkbox : "Checkbox", //MISSING -RadioButton : "Radio Button", //MISSING -TextField : "Text Field", //MISSING -Textarea : "Textarea", //MISSING -HiddenField : "Hidden Field", //MISSING -Button : "Button", //MISSING -SelectionField : "Selection Field", //MISSING -ImageButton : "Image Button", //MISSING - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Холбоос засварлах", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Мөр устгах", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Багана устгах", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Нүх устгах", -MergeCells : "Нүх нэгтэх", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Хоосон зайн шинж чанар", -TableProperties : "Хүснэгт", -ImageProperties : "Зураг", -FlashProperties : "Flash Properties", //MISSING - -AnchorProp : "Anchor Properties", //MISSING -ButtonProp : "Button Properties", //MISSING -CheckboxProp : "Checkbox Properties", //MISSING -HiddenFieldProp : "Hidden Field Properties", //MISSING -RadioButtonProp : "Radio Button Properties", //MISSING -ImageButtonProp : "Image Button Properties", //MISSING -TextFieldProp : "Text Field Properties", //MISSING -SelectionFieldProp : "Selection Field Properties", //MISSING -TextareaProp : "Textarea Properties", //MISSING -FormProp : "Form Properties", //MISSING - -FontFormats : "Хэвийн;Formatted;Хаяг;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML үйл явц явагдаж байна. Хүлээнэ үү...", -Done : "Хийх", -PasteWordConfirm : "Word-оос хуулсан текстээ санаж байгааг нь буулгахыг та хүсч байна уу. Та текст-ээ буулгахын өмнө цэвэрлэх үү?", -NotCompatiblePaste : "Энэ комманд Internet Explorer-ын 5.5 буюу түүнээс дээш хувилбарт идвэхшинэ. Та цэвэрлэхгүйгээр буулгахыг хүсч байна?", -UnknownToolbarItem : "Багажны хэсгийн \"%1\" item мэдэгдэхгүй байна", -UnknownCommand : "\"%1\" комманд нэр мэдагдэхгүй байна", -NotImplemented : "Зөвшөөрөгдөхгүй комманд", -UnknownToolbarSet : "Багажны хэсэгт \"%1\" оноох, үүсээгүй байна", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Болих", -DlgBtnClose : "Хаах", -DlgBtnBrowseServer : "Browse Server", //MISSING -DlgAdvancedTag : "Нэмэлт", -DlgOpOther : "<Other>", //MISSING -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING - -// General Dialogs Labels -DlgGenNotSet : "<Оноохгүй>", -DlgGenId : "Id", -DlgGenLangDir : "Хэлний чиглэл", -DlgGenLangDirLtr : "Зүүнээс баруун (LTR)", -DlgGenLangDirRtl : "Баруунаас зүүн (RTL)", -DlgGenLangCode : "Хэлний код", -DlgGenAccessKey : "Холбох түлхүүр", -DlgGenName : "Нэр", -DlgGenTabIndex : "Tab индекс", -DlgGenLongDescr : "URL-ын тайлбар", -DlgGenClass : "Stylesheet классууд", -DlgGenTitle : "Зөвлөлдөх гарчиг", -DlgGenContType : "Зөвлөлдөх төрлийн агуулга", -DlgGenLinkCharset : "Тэмдэгт оноох нөөцөд холбогдсон", -DlgGenStyle : "Загвар", - -// Image Dialog -DlgImgTitle : "Зураг", -DlgImgInfoTab : "Зурагны мэдээлэл", -DlgImgBtnUpload : "Үүнийг сервэррүү илгээ", -DlgImgURL : "URL", -DlgImgUpload : "Хуулах", -DlgImgAlt : "Тайлбар текст", -DlgImgWidth : "Өргөн", -DlgImgHeight : "Өндөр", -DlgImgLockRatio : "Lock Ratio", -DlgBtnResetSize : "хэмжээ дахин оноох", -DlgImgBorder : "Хүрээ", -DlgImgHSpace : "Хөндлөн зай", -DlgImgVSpace : "Босоо зай", -DlgImgAlign : "Эгнээ", -DlgImgAlignLeft : "Зүүн", -DlgImgAlignAbsBottom: "Abs доод талд", -DlgImgAlignAbsMiddle: "Abs Дунд талд", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Доод талд", -DlgImgAlignMiddle : "Дунд талд", -DlgImgAlignRight : "Баруун", -DlgImgAlignTextTop : "Текст дээр", -DlgImgAlignTop : "Дээд талд", -DlgImgPreview : "Уридчлан харах", -DlgImgAlertUrl : "Зурагны URL-ын төрлийн сонгоно уу", -DlgImgLinkTab : "Link", //MISSING - -// Flash Dialog -DlgFlashTitle : "Flash Properties", //MISSING -DlgFlashChkPlay : "Auto Play", //MISSING -DlgFlashChkLoop : "Loop", //MISSING -DlgFlashChkMenu : "Enable Flash Menu", //MISSING -DlgFlashScale : "Scale", //MISSING -DlgFlashScaleAll : "Show all", //MISSING -DlgFlashScaleNoBorder : "No Border", //MISSING -DlgFlashScaleFit : "Exact Fit", //MISSING - -// Link Dialog -DlgLnkWindowTitle : "Линк", -DlgLnkInfoTab : "Линкийн мэдээлэл", -DlgLnkTargetTab : "Байрлал", - -DlgLnkType : "Линкийн төрөл", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Энэ хуудасандах холбоос", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Протокол", -DlgLnkProtoOther : "<бусад>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Холбоос сонгох", -DlgLnkAnchorByName : "Холбоосын нэрээр", -DlgLnkAnchorById : "Элемэнт Id-гаар", -DlgLnkNoAnchors : "(Баримт бичиг холбоосгүй байна)", -DlgLnkEMail : "E-Mail Хаяг", -DlgLnkEMailSubject : "Message Subject", -DlgLnkEMailBody : "Message-ийн агуулга", -DlgLnkUpload : "Хуулах", -DlgLnkBtnUpload : "Үүнийг серверрүү илгээ", - -DlgLnkTarget : "Байрлал", -DlgLnkTargetFrame : "<Агуулах хүрээ>", -DlgLnkTargetPopup : "<popup цонх>", -DlgLnkTargetBlank : "Шинэ цонх (_blank)", -DlgLnkTargetParent : "Эцэг цонх (_parent)", -DlgLnkTargetSelf : "Төстэй цонх (_self)", -DlgLnkTargetTop : "Хамгийн түрүүн байх цонх (_top)", -DlgLnkTargetFrameName : "Target Frame Name", //MISSING -DlgLnkPopWinName : "Popup цонхны нэр", -DlgLnkPopWinFeat : "Popup цонхны онцлог", -DlgLnkPopResize : "Хэмжээ өөрчлөх", -DlgLnkPopLocation : "Location хэсэг", -DlgLnkPopMenu : "Meню хэсэг", -DlgLnkPopScroll : "Скрол хэсэгүүд", -DlgLnkPopStatus : "Статус хэсэг", -DlgLnkPopToolbar : "Багажны хэсэг", -DlgLnkPopFullScrn : "Цонх дүүргэх (IE)", -DlgLnkPopDependent : "Хамаатай (Netscape)", -DlgLnkPopWidth : "Өргөн", -DlgLnkPopHeight : "Өндөр", -DlgLnkPopLeft : "Зүүн байрлал", -DlgLnkPopTop : "Дээд байрлал", - -DlnLnkMsgNoUrl : "Линк URL-ээ төрөлжүүлнэ үү", -DlnLnkMsgNoEMail : "Е-mail хаягаа төрөлжүүлнэ үү", -DlnLnkMsgNoAnchor : "Холбоосоо сонгоно уу", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Өнгө сонгох", -DlgColorBtnClear : "Цэвэрлэх", -DlgColorHighlight : "Өнгө", -DlgColorSelected : "Сонгогдсон", - -// Smiley Dialog -DlgSmileyTitle : "Тодорхойлолт оруулах", - -// Special Character Dialog -DlgSpecialCharTitle : "Онцгой тэмдэгт сонгох", - -// Table Dialog -DlgTableTitle : "Хүснэгт", -DlgTableRows : "Мөр", -DlgTableColumns : "Багана", -DlgTableBorder : "Хүрээний хэмжээ", -DlgTableAlign : "Эгнээ", -DlgTableAlignNotSet : "<Оноохгүй>", -DlgTableAlignLeft : "Зүүн талд", -DlgTableAlignCenter : "Төвд", -DlgTableAlignRight : "Баруун талд", -DlgTableWidth : "Өргөн", -DlgTableWidthPx : "цэг", -DlgTableWidthPc : "хувь", -DlgTableHeight : "Өндөр", -DlgTableCellSpace : "Нүх хоорондын зай", -DlgTableCellPad : "Нүх доторлох", -DlgTableCaption : "Тайлбар", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Хоосон зайн шинж чанар", -DlgCellWidth : "Өргөн", -DlgCellWidthPx : "цэг", -DlgCellWidthPc : "хувь", -DlgCellHeight : "Өндөр", -DlgCellWordWrap : "Үг таслах", -DlgCellWordWrapNotSet : "<Оноохгүй>", -DlgCellWordWrapYes : "Тийм", -DlgCellWordWrapNo : "Үгүй", -DlgCellHorAlign : "Босоо эгнээ", -DlgCellHorAlignNotSet : "<Оноохгүй>", -DlgCellHorAlignLeft : "Зүүн", -DlgCellHorAlignCenter : "Төв", -DlgCellHorAlignRight: "Баруун", -DlgCellVerAlign : "Хөндлөн эгнээ", -DlgCellVerAlignNotSet : "<Оноохгүй>", -DlgCellVerAlignTop : "Дээд тал", -DlgCellVerAlignMiddle : "Дунд", -DlgCellVerAlignBottom : "Доод тал", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Нийт мөр", -DlgCellCollSpan : "Нийт багана", -DlgCellBackColor : "Фонны өнгө", -DlgCellBorderColor : "Хүрээний өнгө", -DlgCellBtnSelect : "Сонго...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Хайх", -DlgFindFindBtn : "Хайх", -DlgFindNotFoundMsg : "Хайсан текст олсонгүй.", - -// Replace Dialog -DlgReplaceTitle : "Солих", -DlgReplaceFindLbl : "Хайх үг/үсэг:", -DlgReplaceReplaceLbl : "Солих үг:", -DlgReplaceCaseChk : "Тэнцэх төлөв", -DlgReplaceReplaceBtn : "Солих", -DlgReplaceReplAllBtn : "Бүгдийг нь Солих", -DlgReplaceWordChk : "Тэнцэх бүтэн үг", - -// Paste Operations / Dialog -PasteErrorCut : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хайчлах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+X) товчны хослолыг ашиглана уу.", -PasteErrorCopy : "Таны browser-ын хамгаалалтын тохиргоо editor-д автоматаар хуулах үйлдэлийг зөвшөөрөхгүй байна. (Ctrl+C) товчны хослолыг ашиглана уу.", - -PasteAsText : "Plain Text-ээс буулгах", -PasteFromWord : "Word-оос буулгах", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.", //MISSING -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING -DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING -DlgPasteCleanBox : "Clean Up Box", //MISSING - -// Color Picker -ColorAutomatic : "Автоматаар", -ColorMoreColors : "Нэмэлт өнгөнүүд...", - -// Document Properties -DocProps : "Document Properties", //MISSING - -// Anchor Dialog -DlgAnchorTitle : "Anchor Properties", //MISSING -DlgAnchorName : "Anchor Name", //MISSING -DlgAnchorErrorName : "Please type the anchor name", //MISSING - -// Speller Pages Dialog -DlgSpellNotInDic : "Not in dictionary", //MISSING -DlgSpellChangeTo : "Change to", //MISSING -DlgSpellBtnIgnore : "Ignore", //MISSING -DlgSpellBtnIgnoreAll : "Ignore All", //MISSING -DlgSpellBtnReplace : "Replace", //MISSING -DlgSpellBtnReplaceAll : "Replace All", //MISSING -DlgSpellBtnUndo : "Undo", //MISSING -DlgSpellNoSuggestions : "- No suggestions -", //MISSING -DlgSpellProgress : "Spell check in progress...", //MISSING -DlgSpellNoMispell : "Spell check complete: No misspellings found", //MISSING -DlgSpellNoChanges : "Spell check complete: No words changed", //MISSING -DlgSpellOneChange : "Spell check complete: One word changed", //MISSING -DlgSpellManyChanges : "Spell check complete: %1 words changed", //MISSING - -IeSpellDownload : "Spell checker not installed. Do you want to download it now?", //MISSING - -// Button Dialog -DlgButtonText : "Text (Value)", //MISSING -DlgButtonType : "Type", //MISSING -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Name", //MISSING -DlgCheckboxValue : "Value", //MISSING -DlgCheckboxSelected : "Selected", //MISSING - -// Form Dialog -DlgFormName : "Name", //MISSING -DlgFormAction : "Action", //MISSING -DlgFormMethod : "Method", //MISSING - -// Select Field Dialog -DlgSelectName : "Name", //MISSING -DlgSelectValue : "Value", //MISSING -DlgSelectSize : "Size", //MISSING -DlgSelectLines : "lines", //MISSING -DlgSelectChkMulti : "Allow multiple selections", //MISSING -DlgSelectOpAvail : "Available Options", //MISSING -DlgSelectOpText : "Text", //MISSING -DlgSelectOpValue : "Value", //MISSING -DlgSelectBtnAdd : "Add", //MISSING -DlgSelectBtnModify : "Modify", //MISSING -DlgSelectBtnUp : "Up", //MISSING -DlgSelectBtnDown : "Down", //MISSING -DlgSelectBtnSetValue : "Set as selected value", //MISSING -DlgSelectBtnDelete : "Delete", //MISSING - -// Textarea Dialog -DlgTextareaName : "Name", //MISSING -DlgTextareaCols : "Columns", //MISSING -DlgTextareaRows : "Rows", //MISSING - -// Text Field Dialog -DlgTextName : "Name", //MISSING -DlgTextValue : "Value", //MISSING -DlgTextCharWidth : "Character Width", //MISSING -DlgTextMaxChars : "Maximum Characters", //MISSING -DlgTextType : "Type", //MISSING -DlgTextTypeText : "Text", //MISSING -DlgTextTypePass : "Password", //MISSING - -// Hidden Field Dialog -DlgHiddenName : "Name", //MISSING -DlgHiddenValue : "Value", //MISSING - -// Bulleted List Dialog -BulletedListProp : "Bulleted List Properties", //MISSING -NumberedListProp : "Numbered List Properties", //MISSING -DlgLstStart : "Start", //MISSING -DlgLstType : "Type", //MISSING -DlgLstTypeCircle : "Circle", //MISSING -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Square", //MISSING -DlgLstTypeNumbers : "Numbers (1, 2, 3)", //MISSING -DlgLstTypeLCase : "Lowercase Letters (a, b, c)", //MISSING -DlgLstTypeUCase : "Uppercase Letters (A, B, C)", //MISSING -DlgLstTypeSRoman : "Small Roman Numerals (i, ii, iii)", //MISSING -DlgLstTypeLRoman : "Large Roman Numerals (I, II, III)", //MISSING - -// Document Properties Dialog -DlgDocGeneralTab : "General", //MISSING -DlgDocBackTab : "Background", //MISSING -DlgDocColorsTab : "Colors and Margins", //MISSING -DlgDocMetaTab : "Meta Data", //MISSING - -DlgDocPageTitle : "Page Title", //MISSING -DlgDocLangDir : "Language Direction", //MISSING -DlgDocLangDirLTR : "Left to Right (LTR)", //MISSING -DlgDocLangDirRTL : "Right to Left (RTL)", //MISSING -DlgDocLangCode : "Language Code", //MISSING -DlgDocCharSet : "Character Set Encoding", //MISSING -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Other Character Set Encoding", //MISSING - -DlgDocDocType : "Document Type Heading", //MISSING -DlgDocDocTypeOther : "Other Document Type Heading", //MISSING -DlgDocIncXHTML : "Include XHTML Declarations", //MISSING -DlgDocBgColor : "Background Color", //MISSING -DlgDocBgImage : "Background Image URL", //MISSING -DlgDocBgNoScroll : "Nonscrolling Background", //MISSING -DlgDocCText : "Text", //MISSING -DlgDocCLink : "Link", //MISSING -DlgDocCVisited : "Visited Link", //MISSING -DlgDocCActive : "Active Link", //MISSING -DlgDocMargins : "Page Margins", //MISSING -DlgDocMaTop : "Top", //MISSING -DlgDocMaLeft : "Left", //MISSING -DlgDocMaRight : "Right", //MISSING -DlgDocMaBottom : "Bottom", //MISSING -DlgDocMeIndex : "Document Indexing Keywords (comma separated)", //MISSING -DlgDocMeDescr : "Document Description", //MISSING -DlgDocMeAuthor : "Author", //MISSING -DlgDocMeCopy : "Copyright", //MISSING -DlgDocPreview : "Preview", //MISSING - -// Templates Dialog -Templates : "Templates", //MISSING -DlgTemplatesTitle : "Content Templates", //MISSING -DlgTemplatesSelMsg : "Please select the template to open in the editor<br />(the actual contents will be lost):", //MISSING -DlgTemplatesLoading : "Loading templates list. Please wait...", //MISSING -DlgTemplatesNoTpl : "(No templates defined)", //MISSING -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "About", //MISSING -DlgAboutBrowserInfoTab : "Browser Info", //MISSING -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "Хувилбар", -DlgAboutInfo : "Мэдээллээр туслах" -}; diff --git a/editor/editor/lang/ms.js b/editor/editor/lang/ms.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Malay language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Collapse Toolbar", -ToolbarExpand : "Expand Toolbar", - -// Toolbar Items and Context Menu -Save : "Simpan", -NewPage : "Helaian Baru", -Preview : "Prebiu", -Cut : "Potong", -Copy : "Salin", -Paste : "Tampal", -PasteText : "Tampal sebagai Text Biasa", -PasteWord : "Tampal dari Word", -Print : "Cetak", -SelectAll : "Pilih Semua", -RemoveFormat : "Buang Format", -InsertLinkLbl : "Sambungan", -InsertLink : "Masukkan/Sunting Sambungan", -RemoveLink : "Buang Sambungan", -Anchor : "Masukkan/Sunting Pautan", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Gambar", -InsertImage : "Masukkan/Sunting Gambar", -InsertFlashLbl : "Flash", //MISSING -InsertFlash : "Insert/Edit Flash", //MISSING -InsertTableLbl : "Jadual", -InsertTable : "Masukkan/Sunting Jadual", -InsertLineLbl : "Garisan", -InsertLine : "Masukkan Garisan Membujur", -InsertSpecialCharLbl: "Huruf Istimewa", -InsertSpecialChar : "Masukkan Huruf Istimewa", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Masukkan Smiley", -About : "Tentang FCKeditor", -Bold : "Bold", -Italic : "Italic", -Underline : "Underline", -StrikeThrough : "Strike Through", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Jajaran Kiri", -CenterJustify : "Jajaran Tengah", -RightJustify : "Jajaran Kanan", -BlockJustify : "Jajaran Blok", -DecreaseIndent : "Kurangkan Inden", -IncreaseIndent : "Tambahkan Inden", -Blockquote : "Blockquote", //MISSING -Undo : "Batalkan", -Redo : "Ulangkan", -NumberedListLbl : "Senarai bernombor", -NumberedList : "Masukkan/Sunting Senarai bernombor", -BulletedListLbl : "Senarai tidak bernombor", -BulletedList : "Masukkan/Sunting Senarai tidak bernombor", -ShowTableBorders : "Tunjukkan Border Jadual", -ShowDetails : "Tunjukkan Butiran", -Style : "Stail", -FontFormat : "Format", -Font : "Font", -FontSize : "Saiz", -TextColor : "Warna Text", -BGColor : "Warna Latarbelakang", -Source : "Sumber", -Find : "Cari", -Replace : "Ganti", -SpellCheck : "Semak Ejaan", -UniversalKeyboard : "Papan Kekunci Universal", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Borang", -Checkbox : "Checkbox", -RadioButton : "Butang Radio", -TextField : "Text Field", -Textarea : "Textarea", -HiddenField : "Field Tersembunyi", -Button : "Butang", -SelectionField : "Field Pilihan", -ImageButton : "Butang Bergambar", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Sunting Sambungan", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Buangkan Baris", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Buangkan Lajur", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Buangkan Sel-sel", -MergeCells : "Cantumkan Sel-sel", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Ciri-ciri Sel", -TableProperties : "Ciri-ciri Jadual", -ImageProperties : "Ciri-ciri Gambar", -FlashProperties : "Flash Properties", //MISSING - -AnchorProp : "Ciri-ciri Pautan", -ButtonProp : "Ciri-ciri Butang", -CheckboxProp : "Ciri-ciri Checkbox", -HiddenFieldProp : "Ciri-ciri Field Tersembunyi", -RadioButtonProp : "Ciri-ciri Butang Radio", -ImageButtonProp : "Ciri-ciri Butang Bergambar", -TextFieldProp : "Ciri-ciri Text Field", -SelectionFieldProp : "Ciri-ciri Selection Field", -TextareaProp : "Ciri-ciri Textarea", -FormProp : "Ciri-ciri Borang", - -FontFormats : "Normal;Telah Diformat;Alamat;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Perenggan (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Memproses XHTML. Sila tunggu...", -Done : "Siap", -PasteWordConfirm : "Text yang anda hendak tampal adalah berasal dari Word. Adakah anda mahu membuang semua format Word sebelum tampal ke dalam text?", -NotCompatiblePaste : "Arahan ini bole dilakukan jika anda mempuunyai Internet Explorer version 5.5 atau yang lebih tinggi. Adakah anda hendak tampal text tanpa membuang format Word?", -UnknownToolbarItem : "Toolbar item tidak diketahui\"%1\"", -UnknownCommand : "Arahan tidak diketahui \"%1\"", -NotImplemented : "Arahan tidak terdapat didalam sistem", -UnknownToolbarSet : "Set toolbar \"%1\" tidak wujud", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Batal", -DlgBtnClose : "Tutup", -DlgBtnBrowseServer : "Browse Server", -DlgAdvancedTag : "Advanced", -DlgOpOther : "<Lain-lain>", -DlgInfoTab : "Info", //MISSING -DlgAlertUrl : "Please insert the URL", //MISSING - -// General Dialogs Labels -DlgGenNotSet : "<tidak di set>", -DlgGenId : "Id", -DlgGenLangDir : "Arah Tulisan", -DlgGenLangDirLtr : "Kiri ke Kanan (LTR)", -DlgGenLangDirRtl : "Kanan ke Kiri (RTL)", -DlgGenLangCode : "Kod Bahasa", -DlgGenAccessKey : "Kunci Akses", -DlgGenName : "Nama", -DlgGenTabIndex : "Indeks Tab ", -DlgGenLongDescr : "Butiran Panjang URL", -DlgGenClass : "Kelas-kelas Stylesheet", -DlgGenTitle : "Tajuk Makluman", -DlgGenContType : "Jenis Kandungan Makluman", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Stail", - -// Image Dialog -DlgImgTitle : "Ciri-ciri Imej", -DlgImgInfoTab : "Info Imej", -DlgImgBtnUpload : "Hantar ke Server", -DlgImgURL : "URL", -DlgImgUpload : "Muat Naik", -DlgImgAlt : "Text Alternatif", -DlgImgWidth : "Lebar", -DlgImgHeight : "Tinggi", -DlgImgLockRatio : "Tetapkan Nisbah", -DlgBtnResetSize : "Saiz Set Semula", -DlgImgBorder : "Border", -DlgImgHSpace : "Ruang Melintang", -DlgImgVSpace : "Ruang Menegak", -DlgImgAlign : "Jajaran", -DlgImgAlignLeft : "Kiri", -DlgImgAlignAbsBottom: "Bawah Mutlak", -DlgImgAlignAbsMiddle: "Pertengahan Mutlak", -DlgImgAlignBaseline : "Garis Dasar", -DlgImgAlignBottom : "Bawah", -DlgImgAlignMiddle : "Pertengahan", -DlgImgAlignRight : "Kanan", -DlgImgAlignTextTop : "Atas Text", -DlgImgAlignTop : "Atas", -DlgImgPreview : "Prebiu", -DlgImgAlertUrl : "Sila taip URL untuk fail gambar", -DlgImgLinkTab : "Sambungan", - -// Flash Dialog -DlgFlashTitle : "Flash Properties", //MISSING -DlgFlashChkPlay : "Auto Play", //MISSING -DlgFlashChkLoop : "Loop", //MISSING -DlgFlashChkMenu : "Enable Flash Menu", //MISSING -DlgFlashScale : "Scale", //MISSING -DlgFlashScaleAll : "Show all", //MISSING -DlgFlashScaleNoBorder : "No Border", //MISSING -DlgFlashScaleFit : "Exact Fit", //MISSING - -// Link Dialog -DlgLnkWindowTitle : "Sambungan", -DlgLnkInfoTab : "Butiran Sambungan", -DlgLnkTargetTab : "Sasaran", - -DlgLnkType : "Jenis Sambungan", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Pautan dalam muka surat ini", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<lain-lain>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Sila pilih pautan", -DlgLnkAnchorByName : "dengan menggunakan nama pautan", -DlgLnkAnchorById : "dengan menggunakan ID elemen", -DlgLnkNoAnchors : "(Tiada pautan terdapat dalam dokumen ini)", -DlgLnkEMail : "Alamat E-Mail", -DlgLnkEMailSubject : "Subjek Mesej", -DlgLnkEMailBody : "Isi Kandungan Mesej", -DlgLnkUpload : "Muat Naik", -DlgLnkBtnUpload : "Hantar ke Server", - -DlgLnkTarget : "Sasaran", -DlgLnkTargetFrame : "<bingkai>", -DlgLnkTargetPopup : "<tetingkap popup>", -DlgLnkTargetBlank : "Tetingkap Baru (_blank)", -DlgLnkTargetParent : "Tetingkap Parent (_parent)", -DlgLnkTargetSelf : "Tetingkap yang Sama (_self)", -DlgLnkTargetTop : "Tetingkap yang paling atas (_top)", -DlgLnkTargetFrameName : "Nama Bingkai Sasaran", -DlgLnkPopWinName : "Nama Tetingkap Popup", -DlgLnkPopWinFeat : "Ciri Tetingkap Popup", -DlgLnkPopResize : "Saiz bolehubah", -DlgLnkPopLocation : "Bar Lokasi", -DlgLnkPopMenu : "Bar Menu", -DlgLnkPopScroll : "Bar-bar skrol", -DlgLnkPopStatus : "Bar Status", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Skrin Penuh (IE)", -DlgLnkPopDependent : "Bergantungan (Netscape)", -DlgLnkPopWidth : "Lebar", -DlgLnkPopHeight : "Tinggi", -DlgLnkPopLeft : "Posisi Kiri", -DlgLnkPopTop : "Posisi Atas", - -DlnLnkMsgNoUrl : "Sila taip sambungan URL", -DlnLnkMsgNoEMail : "Sila taip alamat e-mail", -DlnLnkMsgNoAnchor : "Sila pilih pautan berkenaaan", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Pilihan Warna", -DlgColorBtnClear : "Nyahwarna", -DlgColorHighlight : "Terang", -DlgColorSelected : "Dipilih", - -// Smiley Dialog -DlgSmileyTitle : "Masukkan Smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Sila pilih huruf istimewa", - -// Table Dialog -DlgTableTitle : "Ciri-ciri Jadual", -DlgTableRows : "Barisan", -DlgTableColumns : "Jaluran", -DlgTableBorder : "Saiz Border", -DlgTableAlign : "Penjajaran", -DlgTableAlignNotSet : "<Tidak diset>", -DlgTableAlignLeft : "Kiri", -DlgTableAlignCenter : "Tengah", -DlgTableAlignRight : "Kanan", -DlgTableWidth : "Lebar", -DlgTableWidthPx : "piksel-piksel", -DlgTableWidthPc : "peratus", -DlgTableHeight : "Tinggi", -DlgTableCellSpace : "Ruangan Antara Sel", -DlgTableCellPad : "Tambahan Ruang Sel", -DlgTableCaption : "Keterangan", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Ciri-ciri Sel", -DlgCellWidth : "Lebar", -DlgCellWidthPx : "piksel-piksel", -DlgCellWidthPc : "peratus", -DlgCellHeight : "Tinggi", -DlgCellWordWrap : "Mengulung Perkataan", -DlgCellWordWrapNotSet : "<Tidak diset>", -DlgCellWordWrapYes : "Ya", -DlgCellWordWrapNo : "Tidak", -DlgCellHorAlign : "Jajaran Membujur", -DlgCellHorAlignNotSet : "<Tidak diset>", -DlgCellHorAlignLeft : "Kiri", -DlgCellHorAlignCenter : "Tengah", -DlgCellHorAlignRight: "Kanan", -DlgCellVerAlign : "Jajaran Menegak", -DlgCellVerAlignNotSet : "<Tidak diset>", -DlgCellVerAlignTop : "Atas", -DlgCellVerAlignMiddle : "Tengah", -DlgCellVerAlignBottom : "Bawah", -DlgCellVerAlignBaseline : "Garis Dasar", -DlgCellRowSpan : "Penggunaan Baris", -DlgCellCollSpan : "Penggunaan Lajur", -DlgCellBackColor : "Warna Latarbelakang", -DlgCellBorderColor : "Warna Border", -DlgCellBtnSelect : "Pilih...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Carian", -DlgFindFindBtn : "Cari", -DlgFindNotFoundMsg : "Text yang dicari tidak dijumpai.", - -// Replace Dialog -DlgReplaceTitle : "Gantian", -DlgReplaceFindLbl : "Perkataan yang dicari:", -DlgReplaceReplaceLbl : "Diganti dengan:", -DlgReplaceCaseChk : "Padanan case huruf", -DlgReplaceReplaceBtn : "Ganti", -DlgReplaceReplAllBtn : "Ganti semua", -DlgReplaceWordChk : "Padana Keseluruhan perkataan", - -// Paste Operations / Dialog -PasteErrorCut : "Keselamatan perisian browser anda tidak membenarkan operasi suntingan text/imej. Sila gunakan papan kekunci (Ctrl+X).", -PasteErrorCopy : "Keselamatan perisian browser anda tidak membenarkan operasi salinan text/imej. Sila gunakan papan kekunci (Ctrl+C).", - -PasteAsText : "Tampal sebagai text biasa", -PasteFromWord : "Tampal dari perisian \"Word\"", - -DlgPasteMsg2 : "Please paste inside the following box using the keyboard (<strong>Ctrl+V</strong>) and hit <strong>OK</strong>.", //MISSING -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignore Font Face definitions", //MISSING -DlgPasteRemoveStyles : "Remove Styles definitions", //MISSING -DlgPasteCleanBox : "Clean Up Box", //MISSING - -// Color Picker -ColorAutomatic : "Otomatik", -ColorMoreColors : "Warna lain-lain...", - -// Document Properties -DocProps : "Ciri-ciri dokumen", - -// Anchor Dialog -DlgAnchorTitle : "Ciri-ciri Pautan", -DlgAnchorName : "Nama Pautan", -DlgAnchorErrorName : "Sila taip nama pautan", - -// Speller Pages Dialog -DlgSpellNotInDic : "Tidak terdapat didalam kamus", -DlgSpellChangeTo : "Tukarkan kepada", -DlgSpellBtnIgnore : "Biar", -DlgSpellBtnIgnoreAll : "Biarkan semua", -DlgSpellBtnReplace : "Ganti", -DlgSpellBtnReplaceAll : "Gantikan Semua", -DlgSpellBtnUndo : "Batalkan", -DlgSpellNoSuggestions : "- Tiada cadangan -", -DlgSpellProgress : "Pemeriksaan ejaan sedang diproses...", -DlgSpellNoMispell : "Pemeriksaan ejaan siap: Tiada salah ejaan", -DlgSpellNoChanges : "Pemeriksaan ejaan siap: Tiada perkataan diubah", -DlgSpellOneChange : "Pemeriksaan ejaan siap: Satu perkataan telah diubah", -DlgSpellManyChanges : "Pemeriksaan ejaan siap: %1 perkataan diubah", - -IeSpellDownload : "Pemeriksa ejaan tidak dipasang. Adakah anda mahu muat turun sekarang?", - -// Button Dialog -DlgButtonText : "Teks (Nilai)", -DlgButtonType : "Jenis", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nama", -DlgCheckboxValue : "Nilai", -DlgCheckboxSelected : "Dipilih", - -// Form Dialog -DlgFormName : "Nama", -DlgFormAction : "Tindakan borang", -DlgFormMethod : "Cara borang dihantar", - -// Select Field Dialog -DlgSelectName : "Nama", -DlgSelectValue : "Nilai", -DlgSelectSize : "Saiz", -DlgSelectLines : "garisan", -DlgSelectChkMulti : "Benarkan pilihan pelbagai", -DlgSelectOpAvail : "Pilihan sediada", -DlgSelectOpText : "Teks", -DlgSelectOpValue : "Nilai", -DlgSelectBtnAdd : "Tambah Pilihan", -DlgSelectBtnModify : "Ubah Pilihan", -DlgSelectBtnUp : "Naik ke atas", -DlgSelectBtnDown : "Turun ke bawah", -DlgSelectBtnSetValue : "Set sebagai nilai terpilih", -DlgSelectBtnDelete : "Padam", - -// Textarea Dialog -DlgTextareaName : "Nama", -DlgTextareaCols : "Lajur", -DlgTextareaRows : "Baris", - -// Text Field Dialog -DlgTextName : "Nama", -DlgTextValue : "Nilai", -DlgTextCharWidth : "Lebar isian", -DlgTextMaxChars : "Isian Maksimum", -DlgTextType : "Jenis", -DlgTextTypeText : "Teks", -DlgTextTypePass : "Kata Laluan", - -// Hidden Field Dialog -DlgHiddenName : "Nama", -DlgHiddenValue : "Nilai", - -// Bulleted List Dialog -BulletedListProp : "Ciri-ciri senarai berpeluru", -NumberedListProp : "Ciri-ciri senarai bernombor", -DlgLstStart : "Start", //MISSING -DlgLstType : "Jenis", -DlgLstTypeCircle : "Circle", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Square", -DlgLstTypeNumbers : "Nombor-nombor (1, 2, 3)", -DlgLstTypeLCase : "Huruf-huruf kecil (a, b, c)", -DlgLstTypeUCase : "Huruf-huruf besar (A, B, C)", -DlgLstTypeSRoman : "Nombor Roman Kecil (i, ii, iii)", -DlgLstTypeLRoman : "Nombor Roman Besar (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Umum", -DlgDocBackTab : "Latarbelakang", -DlgDocColorsTab : "Warna dan margin", -DlgDocMetaTab : "Data Meta", - -DlgDocPageTitle : "Tajuk Muka Surat", -DlgDocLangDir : "Arah Tulisan", -DlgDocLangDirLTR : "Kiri ke Kanan (LTR)", -DlgDocLangDirRTL : "Kanan ke Kiri (RTL)", -DlgDocLangCode : "Kod Bahasa", -DlgDocCharSet : "Enkod Set Huruf", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Enkod Set Huruf yang Lain", - -DlgDocDocType : "Jenis Kepala Dokumen", -DlgDocDocTypeOther : "Jenis Kepala Dokumen yang Lain", -DlgDocIncXHTML : "Masukkan pemula kod XHTML", -DlgDocBgColor : "Warna Latarbelakang", -DlgDocBgImage : "URL Gambar Latarbelakang", -DlgDocBgNoScroll : "Imej Latarbelakang tanpa Skrol", -DlgDocCText : "Teks", -DlgDocCLink : "Sambungan", -DlgDocCVisited : "Sambungan telah Dilawati", -DlgDocCActive : "Sambungan Aktif", -DlgDocMargins : "Margin Muka Surat", -DlgDocMaTop : "Atas", -DlgDocMaLeft : "Kiri", -DlgDocMaRight : "Kanan", -DlgDocMaBottom : "Bawah", -DlgDocMeIndex : "Kata Kunci Indeks Dokumen (dipisahkan oleh koma)", -DlgDocMeDescr : "Keterangan Dokumen", -DlgDocMeAuthor : "Penulis", -DlgDocMeCopy : "Hakcipta", -DlgDocPreview : "Prebiu", - -// Templates Dialog -Templates : "Templat", -DlgTemplatesTitle : "Templat Kandungan", -DlgTemplatesSelMsg : "Sila pilih templat untuk dibuka oleh editor<br>(kandungan sebenar akan hilang):", -DlgTemplatesLoading : "Senarai Templat sedang diproses. Sila Tunggu...", -DlgTemplatesNoTpl : "(Tiada Templat Disimpan)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Tentang", -DlgAboutBrowserInfoTab : "Maklumat Perisian Browser", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "versi", -DlgAboutInfo : "Untuk maklumat lanjut sila pergi ke" -}; diff --git a/editor/editor/lang/nb.js b/editor/editor/lang/nb.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Norwegian Bokmål language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skjul verktøylinje", -ToolbarExpand : "Vis verktøylinje", - -// Toolbar Items and Context Menu -Save : "Lagre", -NewPage : "Ny Side", -Preview : "Forhåndsvis", -Cut : "Klipp ut", -Copy : "Kopier", -Paste : "Lim inn", -PasteText : "Lim inn som ren tekst", -PasteWord : "Lim inn fra Word", -Print : "Skriv ut", -SelectAll : "Merk alt", -RemoveFormat : "Fjern format", -InsertLinkLbl : "Lenke", -InsertLink : "Sett inn/Rediger lenke", -RemoveLink : "Fjern lenke", -Anchor : "Sett inn/Rediger anker", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Bilde", -InsertImage : "Sett inn/Rediger bilde", -InsertFlashLbl : "Flash", -InsertFlash : "Sett inn/Rediger Flash", -InsertTableLbl : "Tabell", -InsertTable : "Sett inn/Rediger tabell", -InsertLineLbl : "Linje", -InsertLine : "Sett inn horisontal linje", -InsertSpecialCharLbl: "Spesielt tegn", -InsertSpecialChar : "Sett inn spesielt tegn", -InsertSmileyLbl : "Smil", -InsertSmiley : "Sett inn smil", -About : "Om FCKeditor", -Bold : "Fet", -Italic : "Kursiv", -Underline : "Understrek", -StrikeThrough : "Gjennomstrek", -Subscript : "Senket skrift", -Superscript : "Hevet skrift", -LeftJustify : "Venstrejuster", -CenterJustify : "Midtjuster", -RightJustify : "Høyrejuster", -BlockJustify : "Blokkjuster", -DecreaseIndent : "Senk nivå", -IncreaseIndent : "Øk nivå", -Blockquote : "Blockquote", //MISSING -Undo : "Angre", -Redo : "Gjør om", -NumberedListLbl : "Numrert liste", -NumberedList : "Sett inn/Fjern numrert liste", -BulletedListLbl : "Uordnet liste", -BulletedList : "Sett inn/Fjern uordnet liste", -ShowTableBorders : "Vis tabellrammer", -ShowDetails : "Vis detaljer", -Style : "Stil", -FontFormat : "Format", -Font : "Skrift", -FontSize : "Størrelse", -TextColor : "Tekstfarge", -BGColor : "Bakgrunnsfarge", -Source : "Kilde", -Find : "Finn", -Replace : "Erstatt", -SpellCheck : "Stavekontroll", -UniversalKeyboard : "Universelt tastatur", -PageBreakLbl : "Sideskift", -PageBreak : "Sett inn sideskift", - -Form : "Skjema", -Checkbox : "Sjekkboks", -RadioButton : "Radioknapp", -TextField : "Tekstfelt", -Textarea : "Tekstområde", -HiddenField : "Skjult felt", -Button : "Knapp", -SelectionField : "Dropdown meny", -ImageButton : "Bildeknapp", - -FitWindow : "Maksimer størrelsen på redigeringsverktøyet", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Rediger lenke", -CellCM : "Celle", -RowCM : "Rader", -ColumnCM : "Kolonne", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Slett rader", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Slett kolonner", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Slett celler", -MergeCells : "Slå sammen celler", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Slett tabell", -CellProperties : "Celleegenskaper", -TableProperties : "Tabellegenskaper", -ImageProperties : "Bildeegenskaper", -FlashProperties : "Flash Egenskaper", - -AnchorProp : "Ankeregenskaper", -ButtonProp : "Knappegenskaper", -CheckboxProp : "Sjekkboksegenskaper", -HiddenFieldProp : "Skjult felt egenskaper", -RadioButtonProp : "Radioknappegenskaper", -ImageButtonProp : "Bildeknappegenskaper", -TextFieldProp : "Tekstfeltegenskaper", -SelectionFieldProp : "Dropdown menyegenskaper", -TextareaProp : "Tekstfeltegenskaper", -FormProp : "Skjemaegenskaper", - -FontFormats : "Normal;Formatert;Adresse;Tittel 1;Tittel 2;Tittel 3;Tittel 4;Tittel 5;Tittel 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Lager XHTML. Vennligst vent...", -Done : "Ferdig", -PasteWordConfirm : "Teksten du prøver å lime inn ser ut som om den kommer fra word , du bør rense den før du limer inn , vil du gjøre dette?", -NotCompatiblePaste : "Denne kommandoen er tilgjenglig kun for Internet Explorer version 5.5 eller bedre. Vil du fortsette uten å rense?(Du kan lime inn som ren tekst)", -UnknownToolbarItem : "Ukjent menyvalg \"%1\"", -UnknownCommand : "Ukjent kommando \"%1\"", -NotImplemented : "Kommando ikke ennå implimentert", -UnknownToolbarSet : "Verktøylinjesett \"%1\" finnes ikke", -NoActiveX : "Din nettleser's sikkerhetsinstillinger kan begrense noen av funksjonene i redigeringsverktøyet. Du må aktivere \"Kjør ActiveXkontroller og plugins\". Du kan oppleve feil og advarsler om manglende funksjoner", -BrowseServerBlocked : "Kunne ikke åpne dialogboksen for filarkiv. Pass på at du har slått av popupstoppere.", -DialogBlocked : "Kunne ikke åpne dialogboksen. Pass på at du har slått av popupstoppere.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Avbryt", -DlgBtnClose : "Lukk", -DlgBtnBrowseServer : "Bla igjennom server", -DlgAdvancedTag : "Avansert", -DlgOpOther : "<Annet>", -DlgInfoTab : "Info", -DlgAlertUrl : "Vennligst skriv inn URL'en", - -// General Dialogs Labels -DlgGenNotSet : "<ikke satt>", -DlgGenId : "Id", -DlgGenLangDir : "Språkretning", -DlgGenLangDirLtr : "Venstre til høyre (VTH)", -DlgGenLangDirRtl : "Høyre til venstre (HTV)", -DlgGenLangCode : "Språk kode", -DlgGenAccessKey : "Aksessknapp", -DlgGenName : "Navn", -DlgGenTabIndex : "Tab Indeks", -DlgGenLongDescr : "Utvidet beskrivelse", -DlgGenClass : "Stilarkklasser", -DlgGenTitle : "Tittel", -DlgGenContType : "Type", -DlgGenLinkCharset : "Lenket språkkart", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Bildeegenskaper", -DlgImgInfoTab : "Bildeinformasjon", -DlgImgBtnUpload : "Send det til serveren", -DlgImgURL : "URL", -DlgImgUpload : "Last opp", -DlgImgAlt : "Alternativ tekst", -DlgImgWidth : "Bredde", -DlgImgHeight : "Høyde", -DlgImgLockRatio : "Lås forhold", -DlgBtnResetSize : "Tilbakestill størrelse", -DlgImgBorder : "Ramme", -DlgImgHSpace : "HMarg", -DlgImgVSpace : "VMarg", -DlgImgAlign : "Juster", -DlgImgAlignLeft : "Venstre", -DlgImgAlignAbsBottom: "Abs bunn", -DlgImgAlignAbsMiddle: "Abs midten", -DlgImgAlignBaseline : "Bunnlinje", -DlgImgAlignBottom : "Bunn", -DlgImgAlignMiddle : "Midten", -DlgImgAlignRight : "Høyre", -DlgImgAlignTextTop : "Tekst topp", -DlgImgAlignTop : "Topp", -DlgImgPreview : "Forhåndsvis", -DlgImgAlertUrl : "Vennligst skriv bildeurlen", -DlgImgLinkTab : "Lenke", - -// Flash Dialog -DlgFlashTitle : "Flash Egenskaper", -DlgFlashChkPlay : "Auto Spill", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Slå på Flash meny", -DlgFlashScale : "Skaler", -DlgFlashScaleAll : "Vis alt", -DlgFlashScaleNoBorder : "Ingen ramme", -DlgFlashScaleFit : "Skaler til å passeExact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Lenke", -DlgLnkInfoTab : "Lenkeinfo", -DlgLnkTargetTab : "Mål", - -DlgLnkType : "Lenketype", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Lenke til anker i teksten", -DlgLnkTypeEMail : "E-post", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<annet>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Velg ett anker", -DlgLnkAnchorByName : "Anker etter navn", -DlgLnkAnchorById : "Element etter ID", -DlgLnkNoAnchors : "(Ingen anker i dokumentet)", -DlgLnkEMail : "E-postadresse", -DlgLnkEMailSubject : "Meldingsemne", -DlgLnkEMailBody : "Melding", -DlgLnkUpload : "Last opp", -DlgLnkBtnUpload : "Send til server", - -DlgLnkTarget : "Mål", -DlgLnkTargetFrame : "<ramme>", -DlgLnkTargetPopup : "<popup vindu>", -DlgLnkTargetBlank : "Nytt vindu (_blank)", -DlgLnkTargetParent : "Foreldre vindu (_parent)", -DlgLnkTargetSelf : "Samme vindu (_self)", -DlgLnkTargetTop : "Hele vindu (_top)", -DlgLnkTargetFrameName : "Målramme", -DlgLnkPopWinName : "Popup vindus navn", -DlgLnkPopWinFeat : "Popup vindus egenskaper", -DlgLnkPopResize : "Endre størrelse", -DlgLnkPopLocation : "Adresselinje", -DlgLnkPopMenu : "Menylinje", -DlgLnkPopScroll : "Scrollbar", -DlgLnkPopStatus : "Statuslinje", -DlgLnkPopToolbar : "Verktøylinje", -DlgLnkPopFullScrn : "Full skjerm (IE)", -DlgLnkPopDependent : "Avhenging (Netscape)", -DlgLnkPopWidth : "Bredde", -DlgLnkPopHeight : "Høyde", -DlgLnkPopLeft : "Venstre posisjon", -DlgLnkPopTop : "Topp posisjon", - -DlnLnkMsgNoUrl : "Vennligst skriv inn lenkens url", -DlnLnkMsgNoEMail : "Vennligst skriv inn e-postadressen", -DlnLnkMsgNoAnchor : "Vennligst velg ett anker", -DlnLnkMsgInvPopName : "Popup vinduets navn må begynne med en bokstav, og kan ikke inneholde mellomrom", - -// Color Dialog -DlgColorTitle : "Velg farge", -DlgColorBtnClear : "Tøm", -DlgColorHighlight : "Marker", -DlgColorSelected : "Velg", - -// Smiley Dialog -DlgSmileyTitle : "Sett inn smil", - -// Special Character Dialog -DlgSpecialCharTitle : "Velg spesielt tegn", - -// Table Dialog -DlgTableTitle : "Tabellegenskaper", -DlgTableRows : "Rader", -DlgTableColumns : "Kolonner", -DlgTableBorder : "Rammestørrelse", -DlgTableAlign : "Justering", -DlgTableAlignNotSet : "<Ikke satt>", -DlgTableAlignLeft : "Venstre", -DlgTableAlignCenter : "Midtjuster", -DlgTableAlignRight : "Høyre", -DlgTableWidth : "Bredde", -DlgTableWidthPx : "piksler", -DlgTableWidthPc : "prosent", -DlgTableHeight : "Høyde", -DlgTableCellSpace : "Celle marg", -DlgTableCellPad : "Celle polstring", -DlgTableCaption : "Tittel", -DlgTableSummary : "Sammendrag", - -// Table Cell Dialog -DlgCellTitle : "Celleegenskaper", -DlgCellWidth : "Bredde", -DlgCellWidthPx : "piksler", -DlgCellWidthPc : "prosent", -DlgCellHeight : "Høyde", -DlgCellWordWrap : "Tekstbrytning", -DlgCellWordWrapNotSet : "<Ikke satt>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nei", -DlgCellHorAlign : "Horisontal justering", -DlgCellHorAlignNotSet : "<Ikke satt>", -DlgCellHorAlignLeft : "Venstre", -DlgCellHorAlignCenter : "Midtjuster", -DlgCellHorAlignRight: "Høyre", -DlgCellVerAlign : "Vertikal justering", -DlgCellVerAlignNotSet : "<Ikke satt>", -DlgCellVerAlignTop : "Topp", -DlgCellVerAlignMiddle : "Midten", -DlgCellVerAlignBottom : "Bunn", -DlgCellVerAlignBaseline : "Bunnlinje", -DlgCellRowSpan : "Radspenn", -DlgCellCollSpan : "Kolonnespenn", -DlgCellBackColor : "Bakgrunnsfarge", -DlgCellBorderColor : "Rammefarge", -DlgCellBtnSelect : "Velg...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Finn", -DlgFindFindBtn : "Finn", -DlgFindNotFoundMsg : "Den spesifiserte teksten ble ikke funnet.", - -// Replace Dialog -DlgReplaceTitle : "Erstatt", -DlgReplaceFindLbl : "Finn hva:", -DlgReplaceReplaceLbl : "Erstatt med:", -DlgReplaceCaseChk : "Riktig case", -DlgReplaceReplaceBtn : "Erstatt", -DlgReplaceReplAllBtn : "Erstatt alle", -DlgReplaceWordChk : "Finn hele ordet", - -// Paste Operations / Dialog -PasteErrorCut : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst brukt snareveien (Ctrl+X).", -PasteErrorCopy : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst brukt snareveien (Ctrl+C).", - -PasteAsText : "Lim inn som ren tekst", -PasteFromWord : "Lim inn fra word", - -DlgPasteMsg2 : "Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Fjern skrifttyper", -DlgPasteRemoveStyles : "Fjern stildefinisjoner", -DlgPasteCleanBox : "Tøm boksen", - -// Color Picker -ColorAutomatic : "Automatisk", -ColorMoreColors : "Flere farger...", - -// Document Properties -DocProps : "Dokumentegenskaper", - -// Anchor Dialog -DlgAnchorTitle : "Ankeregenskaper", -DlgAnchorName : "Ankernavn", -DlgAnchorErrorName : "Vennligst skriv inn ankernavnet", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ikke i ordboken", -DlgSpellChangeTo : "Endre til", -DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer alle", -DlgSpellBtnReplace : "Erstatt", -DlgSpellBtnReplaceAll : "Erstatt alle", -DlgSpellBtnUndo : "Angre", -DlgSpellNoSuggestions : "- ingen forslag -", -DlgSpellProgress : "Stavekontroll pågår...", -DlgSpellNoMispell : "Stavekontroll fullført: ingen feilstavinger funnet", -DlgSpellNoChanges : "Stavekontroll fullført: ingen ord endret", -DlgSpellOneChange : "Stavekontroll fullført: Ett ord endret", -DlgSpellManyChanges : "Stavekontroll fullført: %1 ord endret", - -IeSpellDownload : "Stavekontroll ikke installert, vil du laste den ned nå?", - -// Button Dialog -DlgButtonText : "Tekst", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Knapp", -DlgButtonTypeSbm : "Send", -DlgButtonTypeRst : "Nullstill", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Navn", -DlgCheckboxValue : "Verdi", -DlgCheckboxSelected : "Valgt", - -// Form Dialog -DlgFormName : "Navn", -DlgFormAction : "Handling", -DlgFormMethod : "Metode", - -// Select Field Dialog -DlgSelectName : "Navn", -DlgSelectValue : "Verdi", -DlgSelectSize : "Størrelse", -DlgSelectLines : "Linjer", -DlgSelectChkMulti : "Tillat flervalg", -DlgSelectOpAvail : "Tilgjenglige alternativer", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Verdi", -DlgSelectBtnAdd : "Legg til", -DlgSelectBtnModify : "Endre", -DlgSelectBtnUp : "Opp", -DlgSelectBtnDown : "Ned", -DlgSelectBtnSetValue : "Sett som valgt", -DlgSelectBtnDelete : "Slett", - -// Textarea Dialog -DlgTextareaName : "Navn", -DlgTextareaCols : "Kolonner", -DlgTextareaRows : "Rader", - -// Text Field Dialog -DlgTextName : "Navn", -DlgTextValue : "verdi", -DlgTextCharWidth : "Tegnbredde", -DlgTextMaxChars : "Maks antall tegn", -DlgTextType : "Type", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Passord", - -// Hidden Field Dialog -DlgHiddenName : "Navn", -DlgHiddenValue : "Verdi", - -// Bulleted List Dialog -BulletedListProp : "Uordnet listeegenskaper", -NumberedListProp : "Ordnet listeegenskaper", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Sirkel", -DlgLstTypeDisc : "Hel sirkel", -DlgLstTypeSquare : "Firkant", -DlgLstTypeNumbers : "Numre(1, 2, 3)", -DlgLstTypeLCase : "Små bokstaver (a, b, c)", -DlgLstTypeUCase : "Store bokstaver(A, B, C)", -DlgLstTypeSRoman : "Små romerske tall(i, ii, iii)", -DlgLstTypeLRoman : "Store romerske tall(I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Generalt", -DlgDocBackTab : "Bakgrunn", -DlgDocColorsTab : "Farger og marginer", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Sidetittel", -DlgDocLangDir : "Språkretning", -DlgDocLangDirLTR : "Venstre til høyre (LTR)", -DlgDocLangDirRTL : "Høyre til venstre (RTL)", -DlgDocLangCode : "Språkkode", -DlgDocCharSet : "Tegnsett", -DlgDocCharSetCE : "Sentraleuropeisk", -DlgDocCharSetCT : "Tradisonell kinesisk(Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Gresk", -DlgDocCharSetJP : "Japansk", -DlgDocCharSetKR : "Koreansk", -DlgDocCharSetTR : "Tyrkisk", -DlgDocCharSetUN : "Unikode (UTF-8)", -DlgDocCharSetWE : "Vesteuropeisk", -DlgDocCharSetOther : "Annet tegnsett", - -DlgDocDocType : "Dokumenttype header", -DlgDocDocTypeOther : "Annet dokumenttype header", -DlgDocIncXHTML : "Inkulder XHTML deklarasjon", -DlgDocBgColor : "Bakgrunnsfarge", -DlgDocBgImage : "Bakgrunnsbilde url", -DlgDocBgNoScroll : "Ikke scroll bakgrunnsbilde", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Besøkt lenke", -DlgDocCActive : "Aktiv lenke", -DlgDocMargins : "Sidemargin", -DlgDocMaTop : "Topp", -DlgDocMaLeft : "Venstre", -DlgDocMaRight : "Høyre", -DlgDocMaBottom : "Bunn", -DlgDocMeIndex : "Dokument nøkkelord (kommaseparert)", -DlgDocMeDescr : "Dokumentbeskrivelse", -DlgDocMeAuthor : "Forfatter", -DlgDocMeCopy : "Kopirett", -DlgDocPreview : "Forhåndsvising", - -// Templates Dialog -Templates : "Maler", -DlgTemplatesTitle : "Innholdsmaler", -DlgTemplatesSelMsg : "Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):", -DlgTemplatesLoading : "Laster malliste. Vennligst vent...", -DlgTemplatesNoTpl : "(Ingen maler definert)", -DlgTemplatesReplace : "Erstatt faktisk innold", - -// About Dialog -DlgAboutAboutTab : "Om", -DlgAboutBrowserInfoTab : "Nettleserinfo", -DlgAboutLicenseTab : "Lisens", -DlgAboutVersion : "versjon", -DlgAboutInfo : "For further information go to" //MISSING -}; diff --git a/editor/editor/lang/nl.js b/editor/editor/lang/nl.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Dutch language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Menubalk inklappen", -ToolbarExpand : "Menubalk uitklappen", - -// Toolbar Items and Context Menu -Save : "Opslaan", -NewPage : "Nieuwe pagina", -Preview : "Voorbeeld", -Cut : "Knippen", -Copy : "Kopiëren", -Paste : "Plakken", -PasteText : "Plakken als platte tekst", -PasteWord : "Plakken als Word-gegevens", -Print : "Printen", -SelectAll : "Alles selecteren", -RemoveFormat : "Opmaak verwijderen", -InsertLinkLbl : "Link", -InsertLink : "Link invoegen/wijzigen", -RemoveLink : "Link verwijderen", -Anchor : "Interne link", -AnchorDelete : "Anker verwijderen", -InsertImageLbl : "Afbeelding", -InsertImage : "Afbeelding invoegen/wijzigen", -InsertFlashLbl : "Flash", -InsertFlash : "Flash invoegen/wijzigen", -InsertTableLbl : "Tabel", -InsertTable : "Tabel invoegen/wijzigen", -InsertLineLbl : "Lijn", -InsertLine : "Horizontale lijn invoegen", -InsertSpecialCharLbl: "Speciale tekens", -InsertSpecialChar : "Speciaal teken invoegen", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Smiley invoegen", -About : "Over FCKeditor", -Bold : "Vet", -Italic : "Schuingedrukt", -Underline : "Onderstreept", -StrikeThrough : "Doorhalen", -Subscript : "Subscript", -Superscript : "Superscript", -LeftJustify : "Links uitlijnen", -CenterJustify : "Centreren", -RightJustify : "Rechts uitlijnen", -BlockJustify : "Uitvullen", -DecreaseIndent : "Inspringen verkleinen", -IncreaseIndent : "Inspringen vergroten", -Blockquote : "Citaatblok", -Undo : "Ongedaan maken", -Redo : "Opnieuw uitvoeren", -NumberedListLbl : "Genummerde lijst", -NumberedList : "Genummerde lijst invoegen/verwijderen", -BulletedListLbl : "Opsomming", -BulletedList : "Opsomming invoegen/verwijderen", -ShowTableBorders : "Randen tabel weergeven", -ShowDetails : "Details weergeven", -Style : "Stijl", -FontFormat : "Opmaak", -Font : "Lettertype", -FontSize : "Grootte", -TextColor : "Tekstkleur", -BGColor : "Achtergrondkleur", -Source : "Code", -Find : "Zoeken", -Replace : "Vervangen", -SpellCheck : "Spellingscontrole", -UniversalKeyboard : "Universeel toetsenbord", -PageBreakLbl : "Pagina-einde", -PageBreak : "Pagina-einde invoegen", - -Form : "Formulier", -Checkbox : "Aanvinkvakje", -RadioButton : "Selectievakje", -TextField : "Tekstveld", -Textarea : "Tekstvak", -HiddenField : "Verborgen veld", -Button : "Knop", -SelectionField : "Selectieveld", -ImageButton : "Afbeeldingsknop", - -FitWindow : "De editor maximaliseren", -ShowBlocks : "Toon blokken", - -// Context Menu -EditLink : "Link wijzigen", -CellCM : "Cel", -RowCM : "Rij", -ColumnCM : "Kolom", -InsertRowAfter : "Voeg rij in achter", -InsertRowBefore : "Voeg rij in voor", -DeleteRows : "Rijen verwijderen", -InsertColumnAfter : "Voeg kolom in achter", -InsertColumnBefore : "Voeg kolom in voor", -DeleteColumns : "Kolommen verwijderen", -InsertCellAfter : "Voeg cel in achter", -InsertCellBefore : "Voeg cel in voor", -DeleteCells : "Cellen verwijderen", -MergeCells : "Cellen samenvoegen", -MergeRight : "Voeg samen naar rechts", -MergeDown : "Voeg samen naar beneden", -HorizontalSplitCell : "Splits cellen horizontaal", -VerticalSplitCell : "Splits cellen verticaal", -TableDelete : "Tabel verwijderen", -CellProperties : "Eigenschappen cel", -TableProperties : "Eigenschappen tabel", -ImageProperties : "Eigenschappen afbeelding", -FlashProperties : "Eigenschappen Flash", - -AnchorProp : "Eigenschappen interne link", -ButtonProp : "Eigenschappen knop", -CheckboxProp : "Eigenschappen aanvinkvakje", -HiddenFieldProp : "Eigenschappen verborgen veld", -RadioButtonProp : "Eigenschappen selectievakje", -ImageButtonProp : "Eigenschappen afbeeldingsknop", -TextFieldProp : "Eigenschappen tekstveld", -SelectionFieldProp : "Eigenschappen selectieveld", -TextareaProp : "Eigenschappen tekstvak", -FormProp : "Eigenschappen formulier", - -FontFormats : "Normaal;Met opmaak;Adres;Kop 1;Kop 2;Kop 3;Kop 4;Kop 5;Kop 6;Normaal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Bezig met verwerken XHTML. Even geduld aub...", -Done : "Klaar", -PasteWordConfirm : "De tekst die je plakte lijkt gekopieerd uit te zijn Word. Wil je de tekst opschonen voordat deze geplakt wordt?", -NotCompatiblePaste : "Deze opdracht is beschikbaar voor Internet Explorer versie 5.5 of hoger. Wil je plakken zonder op te schonen?", -UnknownToolbarItem : "Onbekend item op menubalk \"%1\"", -UnknownCommand : "Onbekende opdrachtnaam: \"%1\"", -NotImplemented : "Opdracht niet geïmplementeerd.", -UnknownToolbarSet : "Menubalk \"%1\" bestaat niet.", -NoActiveX : "De beveilingsinstellingen van je browser zouden sommige functies van de editor kunnen beperken. De optie \"Activeer ActiveX-elementen en plug-ins\" dient ingeschakeld te worden. Het kan zijn dat er nu functies ontbreken of niet werken.", -BrowseServerBlocked : "De bestandsbrowser kon niet geopend worden. Zorg ervoor dat pop-up-blokkeerders uit staan.", -DialogBlocked : "Kan het dialoogvenster niet weergeven. Zorg ervoor dat pop-up-blokkeerders uit staan.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Annuleren", -DlgBtnClose : "Afsluiten", -DlgBtnBrowseServer : "Bladeren op server", -DlgAdvancedTag : "Geavanceerd", -DlgOpOther : "<Anders>", -DlgInfoTab : "Informatie", -DlgAlertUrl : "Geef URL op", - -// General Dialogs Labels -DlgGenNotSet : "<niet ingevuld>", -DlgGenId : "Kenmerk", -DlgGenLangDir : "Schrijfrichting", -DlgGenLangDirLtr : "Links naar rechts (LTR)", -DlgGenLangDirRtl : "Rechts naar links (RTL)", -DlgGenLangCode : "Taalcode", -DlgGenAccessKey : "Toegangstoets", -DlgGenName : "Naam", -DlgGenTabIndex : "Tabvolgorde", -DlgGenLongDescr : "Lange URL-omschrijving", -DlgGenClass : "Stylesheet-klassen", -DlgGenTitle : "Aanbevolen titel", -DlgGenContType : "Aanbevolen content-type", -DlgGenLinkCharset : "Karakterset van gelinkte bron", -DlgGenStyle : "Stijl", - -// Image Dialog -DlgImgTitle : "Eigenschappen afbeelding", -DlgImgInfoTab : "Informatie afbeelding", -DlgImgBtnUpload : "Naar server verzenden", -DlgImgURL : "URL", -DlgImgUpload : "Upload", -DlgImgAlt : "Alternatieve tekst", -DlgImgWidth : "Breedte", -DlgImgHeight : "Hoogte", -DlgImgLockRatio : "Afmetingen vergrendelen", -DlgBtnResetSize : "Afmetingen resetten", -DlgImgBorder : "Rand", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Uitlijning", -DlgImgAlignLeft : "Links", -DlgImgAlignAbsBottom: "Absoluut-onder", -DlgImgAlignAbsMiddle: "Absoluut-midden", -DlgImgAlignBaseline : "Basislijn", -DlgImgAlignBottom : "Beneden", -DlgImgAlignMiddle : "Midden", -DlgImgAlignRight : "Rechts", -DlgImgAlignTextTop : "Boven tekst", -DlgImgAlignTop : "Boven", -DlgImgPreview : "Voorbeeld", -DlgImgAlertUrl : "Geef de URL van de afbeelding", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Eigenschappen Flash", -DlgFlashChkPlay : "Automatisch afspelen", -DlgFlashChkLoop : "Herhalen", -DlgFlashChkMenu : "Flashmenu\'s inschakelen", -DlgFlashScale : "Schaal", -DlgFlashScaleAll : "Alles tonen", -DlgFlashScaleNoBorder : "Geen rand", -DlgFlashScaleFit : "Precies passend", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Linkomschrijving", -DlgLnkTargetTab : "Doel", - -DlgLnkType : "Linktype", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Interne link in pagina", -DlgLnkTypeEMail : "E-mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<anders>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Kies een interne link", -DlgLnkAnchorByName : "Op naam interne link", -DlgLnkAnchorById : "Op kenmerk interne link", -DlgLnkNoAnchors : "(Geen interne links in document gevonden)", -DlgLnkEMail : "E-mailadres", -DlgLnkEMailSubject : "Onderwerp bericht", -DlgLnkEMailBody : "Inhoud bericht", -DlgLnkUpload : "Upload", -DlgLnkBtnUpload : "Naar de server versturen", - -DlgLnkTarget : "Doel", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<popup window>", -DlgLnkTargetBlank : "Nieuw venster (_blank)", -DlgLnkTargetParent : "Origineel venster (_parent)", -DlgLnkTargetSelf : "Zelfde venster (_self)", -DlgLnkTargetTop : "Hele venster (_top)", -DlgLnkTargetFrameName : "Naam doelframe", -DlgLnkPopWinName : "Naam popupvenster", -DlgLnkPopWinFeat : "Instellingen popupvenster", -DlgLnkPopResize : "Grootte wijzigen", -DlgLnkPopLocation : "Locatiemenu", -DlgLnkPopMenu : "Menubalk", -DlgLnkPopScroll : "Schuifbalken", -DlgLnkPopStatus : "Statusbalk", -DlgLnkPopToolbar : "Menubalk", -DlgLnkPopFullScrn : "Volledig scherm (IE)", -DlgLnkPopDependent : "Afhankelijk (Netscape)", -DlgLnkPopWidth : "Breedte", -DlgLnkPopHeight : "Hoogte", -DlgLnkPopLeft : "Positie links", -DlgLnkPopTop : "Positie boven", - -DlnLnkMsgNoUrl : "Geef de link van de URL", -DlnLnkMsgNoEMail : "Geef een e-mailadres", -DlnLnkMsgNoAnchor : "Selecteer een interne link", -DlnLnkMsgInvPopName : "De naam van de popup moet met een alfa-numerieke waarde beginnen, en mag geen spaties bevatten.", - -// Color Dialog -DlgColorTitle : "Selecteer kleur", -DlgColorBtnClear : "Opschonen", -DlgColorHighlight : "Accentueren", -DlgColorSelected : "Geselecteerd", - -// Smiley Dialog -DlgSmileyTitle : "Smiley invoegen", - -// Special Character Dialog -DlgSpecialCharTitle : "Selecteer speciaal teken", - -// Table Dialog -DlgTableTitle : "Eigenschappen tabel", -DlgTableRows : "Rijen", -DlgTableColumns : "Kolommen", -DlgTableBorder : "Breedte rand", -DlgTableAlign : "Uitlijning", -DlgTableAlignNotSet : "<Niet ingevoerd>", -DlgTableAlignLeft : "Links", -DlgTableAlignCenter : "Centreren", -DlgTableAlignRight : "Rechts", -DlgTableWidth : "Breedte", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "procent", -DlgTableHeight : "Hoogte", -DlgTableCellSpace : "Afstand tussen cellen", -DlgTableCellPad : "Afstand vanaf rand cel", -DlgTableCaption : "Naam", -DlgTableSummary : "Samenvatting", - -// Table Cell Dialog -DlgCellTitle : "Eigenschappen cel", -DlgCellWidth : "Breedte", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "procent", -DlgCellHeight : "Hoogte", -DlgCellWordWrap : "Afbreken woorden", -DlgCellWordWrapNotSet : "<Niet ingevoerd>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nee", -DlgCellHorAlign : "Horizontale uitlijning", -DlgCellHorAlignNotSet : "<Niet ingevoerd>", -DlgCellHorAlignLeft : "Links", -DlgCellHorAlignCenter : "Centreren", -DlgCellHorAlignRight: "Rechts", -DlgCellVerAlign : "Verticale uitlijning", -DlgCellVerAlignNotSet : "<Niet ingevoerd>", -DlgCellVerAlignTop : "Boven", -DlgCellVerAlignMiddle : "Midden", -DlgCellVerAlignBottom : "Beneden", -DlgCellVerAlignBaseline : "Basislijn", -DlgCellRowSpan : "Overkoepeling rijen", -DlgCellCollSpan : "Overkoepeling kolommen", -DlgCellBackColor : "Achtergrondkleur", -DlgCellBorderColor : "Randkleur", -DlgCellBtnSelect : "Selecteren...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Zoeken en vervangen", - -// Find Dialog -DlgFindTitle : "Zoeken", -DlgFindFindBtn : "Zoeken", -DlgFindNotFoundMsg : "De opgegeven tekst is niet gevonden.", - -// Replace Dialog -DlgReplaceTitle : "Vervangen", -DlgReplaceFindLbl : "Zoeken naar:", -DlgReplaceReplaceLbl : "Vervangen met:", -DlgReplaceCaseChk : "Hoofdlettergevoelig", -DlgReplaceReplaceBtn : "Vervangen", -DlgReplaceReplAllBtn : "Alles vervangen", -DlgReplaceWordChk : "Hele woord moet voorkomen", - -// Paste Operations / Dialog -PasteErrorCut : "De beveiligingsinstelling van de browser verhinderen het automatisch knippen. Gebruik de sneltoets Ctrl+X van het toetsenbord.", -PasteErrorCopy : "De beveiligingsinstelling van de browser verhinderen het automatisch kopiëren. Gebruik de sneltoets Ctrl+C van het toetsenbord.", - -PasteAsText : "Plakken als platte tekst", -PasteFromWord : "Plakken als Word-gegevens", - -DlgPasteMsg2 : "Plak de tekst in het volgende vak gebruik makend van je toetstenbord (<strong>Ctrl+V</strong>) en klik op <strong>OK</strong>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Negeer \"Font Face\"-definities", -DlgPasteRemoveStyles : "Verwijder \"Style\"-definities", -DlgPasteCleanBox : "Vak opschonen", - -// Color Picker -ColorAutomatic : "Automatisch", -ColorMoreColors : "Meer kleuren...", - -// Document Properties -DocProps : "Eigenschappen document", - -// Anchor Dialog -DlgAnchorTitle : "Eigenschappen interne link", -DlgAnchorName : "Naam interne link", -DlgAnchorErrorName : "Geef de naam van de interne link op", - -// Speller Pages Dialog -DlgSpellNotInDic : "Niet in het woordenboek", -DlgSpellChangeTo : "Wijzig in", -DlgSpellBtnIgnore : "Negeren", -DlgSpellBtnIgnoreAll : "Alles negeren", -DlgSpellBtnReplace : "Vervangen", -DlgSpellBtnReplaceAll : "Alles vervangen", -DlgSpellBtnUndo : "Ongedaan maken", -DlgSpellNoSuggestions : "-Geen suggesties-", -DlgSpellProgress : "Bezig met spellingscontrole...", -DlgSpellNoMispell : "Klaar met spellingscontrole: geen fouten gevonden", -DlgSpellNoChanges : "Klaar met spellingscontrole: geen woorden aangepast", -DlgSpellOneChange : "Klaar met spellingscontrole: één woord aangepast", -DlgSpellManyChanges : "Klaar met spellingscontrole: %1 woorden aangepast", - -IeSpellDownload : "De spellingscontrole niet geïnstalleerd. Wil je deze nu downloaden?", - -// Button Dialog -DlgButtonText : "Tekst (waarde)", -DlgButtonType : "Soort", -DlgButtonTypeBtn : "Knop", -DlgButtonTypeSbm : "Versturen", -DlgButtonTypeRst : "Leegmaken", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Naam", -DlgCheckboxValue : "Waarde", -DlgCheckboxSelected : "Geselecteerd", - -// Form Dialog -DlgFormName : "Naam", -DlgFormAction : "Actie", -DlgFormMethod : "Methode", - -// Select Field Dialog -DlgSelectName : "Naam", -DlgSelectValue : "Waarde", -DlgSelectSize : "Grootte", -DlgSelectLines : "Regels", -DlgSelectChkMulti : "Gecombineerde selecties toestaan", -DlgSelectOpAvail : "Beschikbare opties", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Waarde", -DlgSelectBtnAdd : "Toevoegen", -DlgSelectBtnModify : "Wijzigen", -DlgSelectBtnUp : "Omhoog", -DlgSelectBtnDown : "Omlaag", -DlgSelectBtnSetValue : "Als geselecteerde waarde instellen", -DlgSelectBtnDelete : "Verwijderen", - -// Textarea Dialog -DlgTextareaName : "Naam", -DlgTextareaCols : "Kolommen", -DlgTextareaRows : "Rijen", - -// Text Field Dialog -DlgTextName : "Naam", -DlgTextValue : "Waarde", -DlgTextCharWidth : "Breedte (tekens)", -DlgTextMaxChars : "Maximum aantal tekens", -DlgTextType : "Soort", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Wachtwoord", - -// Hidden Field Dialog -DlgHiddenName : "Naam", -DlgHiddenValue : "Waarde", - -// Bulleted List Dialog -BulletedListProp : "Eigenschappen opsommingslijst", -NumberedListProp : "Eigenschappen genummerde opsommingslijst", -DlgLstStart : "Start", -DlgLstType : "Soort", -DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisc : "Schijf", -DlgLstTypeSquare : "Vierkant", -DlgLstTypeNumbers : "Nummers (1, 2, 3)", -DlgLstTypeLCase : "Kleine letters (a, b, c)", -DlgLstTypeUCase : "Hoofdletters (A, B, C)", -DlgLstTypeSRoman : "Klein Romeins (i, ii, iii)", -DlgLstTypeLRoman : "Groot Romeins (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Algemeen", -DlgDocBackTab : "Achtergrond", -DlgDocColorsTab : "Kleuring en marges", -DlgDocMetaTab : "META-data", - -DlgDocPageTitle : "Paginatitel", -DlgDocLangDir : "Schrijfrichting", -DlgDocLangDirLTR : "Links naar rechts", -DlgDocLangDirRTL : "Rechts naar links", -DlgDocLangCode : "Taalcode", -DlgDocCharSet : "Karakterset-encoding", -DlgDocCharSetCE : "Centraal Europees", -DlgDocCharSetCT : "Traditioneel Chinees (Big5)", -DlgDocCharSetCR : "Cyriliaans", -DlgDocCharSetGR : "Grieks", -DlgDocCharSetJP : "Japans", -DlgDocCharSetKR : "Koreaans", -DlgDocCharSetTR : "Turks", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "West europees", -DlgDocCharSetOther : "Andere karakterset-encoding", - -DlgDocDocType : "Opschrift documentsoort", -DlgDocDocTypeOther : "Ander opschrift documentsoort", -DlgDocIncXHTML : "XHTML-declaraties meenemen", -DlgDocBgColor : "Achtergrondkleur", -DlgDocBgImage : "URL achtergrondplaatje", -DlgDocBgNoScroll : "Vaste achtergrond", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Bezochte link", -DlgDocCActive : "Active link", -DlgDocMargins : "Afstandsinstellingen document", -DlgDocMaTop : "Boven", -DlgDocMaLeft : "Links", -DlgDocMaRight : "Rechts", -DlgDocMaBottom : "Onder", -DlgDocMeIndex : "Trefwoorden betreffende document (kommagescheiden)", -DlgDocMeDescr : "Beschrijving document", -DlgDocMeAuthor : "Auteur", -DlgDocMeCopy : "Copyright", -DlgDocPreview : "Voorbeeld", - -// Templates Dialog -Templates : "Sjablonen", -DlgTemplatesTitle : "Inhoud sjabonen", -DlgTemplatesSelMsg : "Selecteer het sjabloon dat in de editor geopend moet worden (de actuele inhoud gaat verloren):", -DlgTemplatesLoading : "Bezig met laden sjabonen. Even geduld alstublieft...", -DlgTemplatesNoTpl : "(Geen sjablonen gedefinieerd)", -DlgTemplatesReplace : "Vervang de huidige inhoud", - -// About Dialog -DlgAboutAboutTab : "Over", -DlgAboutBrowserInfoTab : "Browserinformatie", -DlgAboutLicenseTab : "Licentie", -DlgAboutVersion : "Versie", -DlgAboutInfo : "Voor meer informatie ga naar " -}; diff --git a/editor/editor/lang/no.js b/editor/editor/lang/no.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Norwegian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skjul verktøylinje", -ToolbarExpand : "Vis verktøylinje", - -// Toolbar Items and Context Menu -Save : "Lagre", -NewPage : "Ny Side", -Preview : "Forhåndsvis", -Cut : "Klipp ut", -Copy : "Kopier", -Paste : "Lim inn", -PasteText : "Lim inn som ren tekst", -PasteWord : "Lim inn fra Word", -Print : "Skriv ut", -SelectAll : "Merk alt", -RemoveFormat : "Fjern format", -InsertLinkLbl : "Lenke", -InsertLink : "Sett inn/Rediger lenke", -RemoveLink : "Fjern lenke", -Anchor : "Sett inn/Rediger anker", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Bilde", -InsertImage : "Sett inn/Rediger bilde", -InsertFlashLbl : "Flash", -InsertFlash : "Sett inn/Rediger Flash", -InsertTableLbl : "Tabell", -InsertTable : "Sett inn/Rediger tabell", -InsertLineLbl : "Linje", -InsertLine : "Sett inn horisontal linje", -InsertSpecialCharLbl: "Spesielt tegn", -InsertSpecialChar : "Sett inn spesielt tegn", -InsertSmileyLbl : "Smil", -InsertSmiley : "Sett inn smil", -About : "Om FCKeditor", -Bold : "Fet", -Italic : "Kursiv", -Underline : "Understrek", -StrikeThrough : "Gjennomstrek", -Subscript : "Senket skrift", -Superscript : "Hevet skrift", -LeftJustify : "Venstrejuster", -CenterJustify : "Midtjuster", -RightJustify : "Høyrejuster", -BlockJustify : "Blokkjuster", -DecreaseIndent : "Senk nivå", -IncreaseIndent : "Øk nivå", -Blockquote : "Blockquote", //MISSING -Undo : "Angre", -Redo : "Gjør om", -NumberedListLbl : "Numrert liste", -NumberedList : "Sett inn/Fjern numrert liste", -BulletedListLbl : "Uordnet liste", -BulletedList : "Sett inn/Fjern uordnet liste", -ShowTableBorders : "Vis tabellrammer", -ShowDetails : "Vis detaljer", -Style : "Stil", -FontFormat : "Format", -Font : "Skrift", -FontSize : "Størrelse", -TextColor : "Tekstfarge", -BGColor : "Bakgrunnsfarge", -Source : "Kilde", -Find : "Finn", -Replace : "Erstatt", -SpellCheck : "Stavekontroll", -UniversalKeyboard : "Universelt tastatur", -PageBreakLbl : "Sideskift", -PageBreak : "Sett inn sideskift", - -Form : "Skjema", -Checkbox : "Sjekkboks", -RadioButton : "Radioknapp", -TextField : "Tekstfelt", -Textarea : "Tekstområde", -HiddenField : "Skjult felt", -Button : "Knapp", -SelectionField : "Dropdown meny", -ImageButton : "Bildeknapp", - -FitWindow : "Maksimer størrelsen på redigeringsverktøyet", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Rediger lenke", -CellCM : "Celle", -RowCM : "Rader", -ColumnCM : "Kolonne", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Slett rader", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Slett kolonner", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Slett celler", -MergeCells : "Slå sammen celler", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Slett tabell", -CellProperties : "Celleegenskaper", -TableProperties : "Tabellegenskaper", -ImageProperties : "Bildeegenskaper", -FlashProperties : "Flash Egenskaper", - -AnchorProp : "Ankeregenskaper", -ButtonProp : "Knappegenskaper", -CheckboxProp : "Sjekkboksegenskaper", -HiddenFieldProp : "Skjult felt egenskaper", -RadioButtonProp : "Radioknappegenskaper", -ImageButtonProp : "Bildeknappegenskaper", -TextFieldProp : "Tekstfeltegenskaper", -SelectionFieldProp : "Dropdown menyegenskaper", -TextareaProp : "Tekstfeltegenskaper", -FormProp : "Skjemaegenskaper", - -FontFormats : "Normal;Formatert;Adresse;Tittel 1;Tittel 2;Tittel 3;Tittel 4;Tittel 5;Tittel 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Lager XHTML. Vennligst vent...", -Done : "Ferdig", -PasteWordConfirm : "Teksten du prøver å lime inn ser ut som om den kommer fra word , du bør rense den før du limer inn , vil du gjøre dette?", -NotCompatiblePaste : "Denne kommandoen er tilgjenglig kun for Internet Explorer version 5.5 eller bedre. Vil du fortsette uten å rense?(Du kan lime inn som ren tekst)", -UnknownToolbarItem : "Ukjent menyvalg \"%1\"", -UnknownCommand : "Ukjent kommando \"%1\"", -NotImplemented : "Kommando ikke ennå implimentert", -UnknownToolbarSet : "Verktøylinjesett \"%1\" finnes ikke", -NoActiveX : "Din nettleser's sikkerhetsinstillinger kan begrense noen av funksjonene i redigeringsverktøyet. Du må aktivere \"Kjør ActiveXkontroller og plugins\". Du kan oppleve feil og advarsler om manglende funksjoner", -BrowseServerBlocked : "Kunne ikke åpne dialogboksen for filarkiv. Pass på at du har slått av popupstoppere.", -DialogBlocked : "Kunne ikke åpne dialogboksen. Pass på at du har slått av popupstoppere.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Avbryt", -DlgBtnClose : "Lukk", -DlgBtnBrowseServer : "Bla igjennom server", -DlgAdvancedTag : "Avansert", -DlgOpOther : "<Annet>", -DlgInfoTab : "Info", -DlgAlertUrl : "Vennligst skriv inn URL'en", - -// General Dialogs Labels -DlgGenNotSet : "<ikke satt>", -DlgGenId : "Id", -DlgGenLangDir : "Språkretning", -DlgGenLangDirLtr : "Venstre til høyre (VTH)", -DlgGenLangDirRtl : "Høyre til venstre (HTV)", -DlgGenLangCode : "Språk kode", -DlgGenAccessKey : "Aksessknapp", -DlgGenName : "Navn", -DlgGenTabIndex : "Tab Indeks", -DlgGenLongDescr : "Utvidet beskrivelse", -DlgGenClass : "Stilarkklasser", -DlgGenTitle : "Tittel", -DlgGenContType : "Type", -DlgGenLinkCharset : "Lenket språkkart", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Bildeegenskaper", -DlgImgInfoTab : "Bildeinformasjon", -DlgImgBtnUpload : "Send det til serveren", -DlgImgURL : "URL", -DlgImgUpload : "Last opp", -DlgImgAlt : "Alternativ tekst", -DlgImgWidth : "Bredde", -DlgImgHeight : "Høyde", -DlgImgLockRatio : "Lås forhold", -DlgBtnResetSize : "Tilbakestill størrelse", -DlgImgBorder : "Ramme", -DlgImgHSpace : "HMarg", -DlgImgVSpace : "VMarg", -DlgImgAlign : "Juster", -DlgImgAlignLeft : "Venstre", -DlgImgAlignAbsBottom: "Abs bunn", -DlgImgAlignAbsMiddle: "Abs midten", -DlgImgAlignBaseline : "Bunnlinje", -DlgImgAlignBottom : "Bunn", -DlgImgAlignMiddle : "Midten", -DlgImgAlignRight : "Høyre", -DlgImgAlignTextTop : "Tekst topp", -DlgImgAlignTop : "Topp", -DlgImgPreview : "Forhåndsvis", -DlgImgAlertUrl : "Vennligst skriv bildeurlen", -DlgImgLinkTab : "Lenke", - -// Flash Dialog -DlgFlashTitle : "Flash Egenskaper", -DlgFlashChkPlay : "Auto Spill", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Slå på Flash meny", -DlgFlashScale : "Skaler", -DlgFlashScaleAll : "Vis alt", -DlgFlashScaleNoBorder : "Ingen ramme", -DlgFlashScaleFit : "Skaler til å passeExact Fit", - -// Link Dialog -DlgLnkWindowTitle : "Lenke", -DlgLnkInfoTab : "Lenkeinfo", -DlgLnkTargetTab : "Mål", - -DlgLnkType : "Lenketype", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Lenke til anker i teksten", -DlgLnkTypeEMail : "E-post", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<annet>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Velg ett anker", -DlgLnkAnchorByName : "Anker etter navn", -DlgLnkAnchorById : "Element etter ID", -DlgLnkNoAnchors : "(Ingen anker i dokumentet)", -DlgLnkEMail : "E-postadresse", -DlgLnkEMailSubject : "Meldingsemne", -DlgLnkEMailBody : "Melding", -DlgLnkUpload : "Last opp", -DlgLnkBtnUpload : "Send til server", - -DlgLnkTarget : "Mål", -DlgLnkTargetFrame : "<ramme>", -DlgLnkTargetPopup : "<popup vindu>", -DlgLnkTargetBlank : "Nytt vindu (_blank)", -DlgLnkTargetParent : "Foreldre vindu (_parent)", -DlgLnkTargetSelf : "Samme vindu (_self)", -DlgLnkTargetTop : "Hele vindu (_top)", -DlgLnkTargetFrameName : "Målramme", -DlgLnkPopWinName : "Popup vindus navn", -DlgLnkPopWinFeat : "Popup vindus egenskaper", -DlgLnkPopResize : "Endre størrelse", -DlgLnkPopLocation : "Adresselinje", -DlgLnkPopMenu : "Menylinje", -DlgLnkPopScroll : "Scrollbar", -DlgLnkPopStatus : "Statuslinje", -DlgLnkPopToolbar : "Verktøylinje", -DlgLnkPopFullScrn : "Full skjerm (IE)", -DlgLnkPopDependent : "Avhenging (Netscape)", -DlgLnkPopWidth : "Bredde", -DlgLnkPopHeight : "Høyde", -DlgLnkPopLeft : "Venstre posisjon", -DlgLnkPopTop : "Topp posisjon", - -DlnLnkMsgNoUrl : "Vennligst skriv inn lenkens url", -DlnLnkMsgNoEMail : "Vennligst skriv inn e-postadressen", -DlnLnkMsgNoAnchor : "Vennligst velg ett anker", -DlnLnkMsgInvPopName : "Popup vinduets navn må begynne med en bokstav, og kan ikke inneholde mellomrom", - -// Color Dialog -DlgColorTitle : "Velg farge", -DlgColorBtnClear : "Tøm", -DlgColorHighlight : "Marker", -DlgColorSelected : "Velg", - -// Smiley Dialog -DlgSmileyTitle : "Sett inn smil", - -// Special Character Dialog -DlgSpecialCharTitle : "Velg spesielt tegn", - -// Table Dialog -DlgTableTitle : "Tabellegenskaper", -DlgTableRows : "Rader", -DlgTableColumns : "Kolonner", -DlgTableBorder : "Rammestørrelse", -DlgTableAlign : "Justering", -DlgTableAlignNotSet : "<Ikke satt>", -DlgTableAlignLeft : "Venstre", -DlgTableAlignCenter : "Midtjuster", -DlgTableAlignRight : "Høyre", -DlgTableWidth : "Bredde", -DlgTableWidthPx : "piksler", -DlgTableWidthPc : "prosent", -DlgTableHeight : "Høyde", -DlgTableCellSpace : "Celle marg", -DlgTableCellPad : "Celle polstring", -DlgTableCaption : "Tittel", -DlgTableSummary : "Sammendrag", - -// Table Cell Dialog -DlgCellTitle : "Celleegenskaper", -DlgCellWidth : "Bredde", -DlgCellWidthPx : "piksler", -DlgCellWidthPc : "prosent", -DlgCellHeight : "Høyde", -DlgCellWordWrap : "Tekstbrytning", -DlgCellWordWrapNotSet : "<Ikke satt>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nei", -DlgCellHorAlign : "Horisontal justering", -DlgCellHorAlignNotSet : "<Ikke satt>", -DlgCellHorAlignLeft : "Venstre", -DlgCellHorAlignCenter : "Midtjuster", -DlgCellHorAlignRight: "Høyre", -DlgCellVerAlign : "Vertikal justering", -DlgCellVerAlignNotSet : "<Ikke satt>", -DlgCellVerAlignTop : "Topp", -DlgCellVerAlignMiddle : "Midten", -DlgCellVerAlignBottom : "Bunn", -DlgCellVerAlignBaseline : "Bunnlinje", -DlgCellRowSpan : "Radspenn", -DlgCellCollSpan : "Kolonnespenn", -DlgCellBackColor : "Bakgrunnsfarge", -DlgCellBorderColor : "Rammefarge", -DlgCellBtnSelect : "Velg...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Finn", -DlgFindFindBtn : "Finn", -DlgFindNotFoundMsg : "Den spesifiserte teksten ble ikke funnet.", - -// Replace Dialog -DlgReplaceTitle : "Erstatt", -DlgReplaceFindLbl : "Finn hva:", -DlgReplaceReplaceLbl : "Erstatt med:", -DlgReplaceCaseChk : "Riktig case", -DlgReplaceReplaceBtn : "Erstatt", -DlgReplaceReplAllBtn : "Erstatt alle", -DlgReplaceWordChk : "Finn hele ordet", - -// Paste Operations / Dialog -PasteErrorCut : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk klipping av tekst. Vennligst brukt snareveien (Ctrl+X).", -PasteErrorCopy : "Din nettlesers sikkerhetsinstillinger tillater ikke automatisk kopiering av tekst. Vennligst brukt snareveien (Ctrl+C).", - -PasteAsText : "Lim inn som ren tekst", -PasteFromWord : "Lim inn fra word", - -DlgPasteMsg2 : "Vennligst lim inn i den følgende boksen med tastaturet (<STRONG>Ctrl+V</STRONG>) og trykk <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Fjern skrifttyper", -DlgPasteRemoveStyles : "Fjern stildefinisjoner", -DlgPasteCleanBox : "Tøm boksen", - -// Color Picker -ColorAutomatic : "Automatisk", -ColorMoreColors : "Flere farger...", - -// Document Properties -DocProps : "Dokumentegenskaper", - -// Anchor Dialog -DlgAnchorTitle : "Ankeregenskaper", -DlgAnchorName : "Ankernavn", -DlgAnchorErrorName : "Vennligst skriv inn ankernavnet", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ikke i ordboken", -DlgSpellChangeTo : "Endre til", -DlgSpellBtnIgnore : "Ignorer", -DlgSpellBtnIgnoreAll : "Ignorer alle", -DlgSpellBtnReplace : "Erstatt", -DlgSpellBtnReplaceAll : "Erstatt alle", -DlgSpellBtnUndo : "Angre", -DlgSpellNoSuggestions : "- ingen forslag -", -DlgSpellProgress : "Stavekontroll pågår...", -DlgSpellNoMispell : "Stavekontroll fullført: ingen feilstavinger funnet", -DlgSpellNoChanges : "Stavekontroll fullført: ingen ord endret", -DlgSpellOneChange : "Stavekontroll fullført: Ett ord endret", -DlgSpellManyChanges : "Stavekontroll fullført: %1 ord endret", - -IeSpellDownload : "Stavekontroll ikke installert, vil du laste den ned nå?", - -// Button Dialog -DlgButtonText : "Tekst", -DlgButtonType : "Type", -DlgButtonTypeBtn : "Knapp", -DlgButtonTypeSbm : "Send", -DlgButtonTypeRst : "Nullstill", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Navn", -DlgCheckboxValue : "Verdi", -DlgCheckboxSelected : "Valgt", - -// Form Dialog -DlgFormName : "Navn", -DlgFormAction : "Handling", -DlgFormMethod : "Metode", - -// Select Field Dialog -DlgSelectName : "Navn", -DlgSelectValue : "Verdi", -DlgSelectSize : "Størrelse", -DlgSelectLines : "Linjer", -DlgSelectChkMulti : "Tillat flervalg", -DlgSelectOpAvail : "Tilgjenglige alternativer", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Verdi", -DlgSelectBtnAdd : "Legg til", -DlgSelectBtnModify : "Endre", -DlgSelectBtnUp : "Opp", -DlgSelectBtnDown : "Ned", -DlgSelectBtnSetValue : "Sett som valgt", -DlgSelectBtnDelete : "Slett", - -// Textarea Dialog -DlgTextareaName : "Navn", -DlgTextareaCols : "Kolonner", -DlgTextareaRows : "Rader", - -// Text Field Dialog -DlgTextName : "Navn", -DlgTextValue : "verdi", -DlgTextCharWidth : "Tegnbredde", -DlgTextMaxChars : "Maks antall tegn", -DlgTextType : "Type", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Passord", - -// Hidden Field Dialog -DlgHiddenName : "Navn", -DlgHiddenValue : "Verdi", - -// Bulleted List Dialog -BulletedListProp : "Uordnet listeegenskaper", -NumberedListProp : "Ordnet listeegenskaper", -DlgLstStart : "Start", -DlgLstType : "Type", -DlgLstTypeCircle : "Sirkel", -DlgLstTypeDisc : "Hel sirkel", -DlgLstTypeSquare : "Firkant", -DlgLstTypeNumbers : "Numre(1, 2, 3)", -DlgLstTypeLCase : "Små bokstaver (a, b, c)", -DlgLstTypeUCase : "Store bokstaver(A, B, C)", -DlgLstTypeSRoman : "Små romerske tall(i, ii, iii)", -DlgLstTypeLRoman : "Store romerske tall(I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Generalt", -DlgDocBackTab : "Bakgrunn", -DlgDocColorsTab : "Farger og marginer", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Sidetittel", -DlgDocLangDir : "Språkretning", -DlgDocLangDirLTR : "Venstre til høyre (LTR)", -DlgDocLangDirRTL : "Høyre til venstre (RTL)", -DlgDocLangCode : "Språkkode", -DlgDocCharSet : "Tegnsett", -DlgDocCharSetCE : "Sentraleuropeisk", -DlgDocCharSetCT : "Tradisonell kinesisk(Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Gresk", -DlgDocCharSetJP : "Japansk", -DlgDocCharSetKR : "Koreansk", -DlgDocCharSetTR : "Tyrkisk", -DlgDocCharSetUN : "Unikode (UTF-8)", -DlgDocCharSetWE : "Vesteuropeisk", -DlgDocCharSetOther : "Annet tegnsett", - -DlgDocDocType : "Dokumenttype header", -DlgDocDocTypeOther : "Annet dokumenttype header", -DlgDocIncXHTML : "Inkulder XHTML deklarasjon", -DlgDocBgColor : "Bakgrunnsfarge", -DlgDocBgImage : "Bakgrunnsbilde url", -DlgDocBgNoScroll : "Ikke scroll bakgrunnsbilde", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Besøkt lenke", -DlgDocCActive : "Aktiv lenke", -DlgDocMargins : "Sidemargin", -DlgDocMaTop : "Topp", -DlgDocMaLeft : "Venstre", -DlgDocMaRight : "Høyre", -DlgDocMaBottom : "Bunn", -DlgDocMeIndex : "Dokument nøkkelord (kommaseparert)", -DlgDocMeDescr : "Dokumentbeskrivelse", -DlgDocMeAuthor : "Forfatter", -DlgDocMeCopy : "Kopirett", -DlgDocPreview : "Forhåndsvising", - -// Templates Dialog -Templates : "Maler", -DlgTemplatesTitle : "Innholdsmaler", -DlgTemplatesSelMsg : "Velg malen du vil åpne<br>(innholdet du har skrevet blir tapt!):", -DlgTemplatesLoading : "Laster malliste. Vennligst vent...", -DlgTemplatesNoTpl : "(Ingen maler definert)", -DlgTemplatesReplace : "Erstatt faktisk innold", - -// About Dialog -DlgAboutAboutTab : "Om", -DlgAboutBrowserInfoTab : "Nettleserinfo", -DlgAboutLicenseTab : "Lisens", -DlgAboutVersion : "versjon", -DlgAboutInfo : "For further information go to" //MISSING -}; diff --git a/editor/editor/lang/pl.js b/editor/editor/lang/pl.js @@ -1,516 +1,6 @@ /* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Polish language file. - */ +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Zwiń pasek narzędzi", -ToolbarExpand : "Rozwiń pasek narzędzi", - -// Toolbar Items and Context Menu -Save : "Zapisz", -NewPage : "Nowa strona", -Preview : "Podgląd", -Cut : "Wytnij", -Copy : "Kopiuj", -Paste : "Wklej", -PasteText : "Wklej jako czysty tekst", -PasteWord : "Wklej z Worda", -Print : "Drukuj", -SelectAll : "Zaznacz wszystko", -RemoveFormat : "Usuń formatowanie", -InsertLinkLbl : "Hiperłącze", -InsertLink : "Wstaw/edytuj hiperłącze", -RemoveLink : "Usuń hiperłącze", -Anchor : "Wstaw/edytuj kotwicę", -AnchorDelete : "Usuń kotwicę", -InsertImageLbl : "Obrazek", -InsertImage : "Wstaw/edytuj obrazek", -InsertFlashLbl : "Flash", -InsertFlash : "Dodaj/Edytuj element Flash", -InsertTableLbl : "Tabela", -InsertTable : "Wstaw/edytuj tabelę", -InsertLineLbl : "Linia pozioma", -InsertLine : "Wstaw poziomą linię", -InsertSpecialCharLbl: "Znak specjalny", -InsertSpecialChar : "Wstaw znak specjalny", -InsertSmileyLbl : "Emotikona", -InsertSmiley : "Wstaw emotikonę", -About : "O programie FCKeditor", -Bold : "Pogrubienie", -Italic : "Kursywa", -Underline : "Podkreślenie", -StrikeThrough : "Przekreślenie", -Subscript : "Indeks dolny", -Superscript : "Indeks górny", -LeftJustify : "Wyrównaj do lewej", -CenterJustify : "Wyrównaj do środka", -RightJustify : "Wyrównaj do prawej", -BlockJustify : "Wyrównaj do lewej i prawej", -DecreaseIndent : "Zmniejsz wcięcie", -IncreaseIndent : "Zwiększ wcięcie", -Blockquote : "Cytat", -Undo : "Cofnij", -Redo : "Ponów", -NumberedListLbl : "Lista numerowana", -NumberedList : "Wstaw/usuń numerowanie listy", -BulletedListLbl : "Lista wypunktowana", -BulletedList : "Wstaw/usuń wypunktowanie listy", -ShowTableBorders : "Pokazuj ramkę tabeli", -ShowDetails : "Pokaż szczegóły", -Style : "Styl", -FontFormat : "Format", -Font : "Czcionka", -FontSize : "Rozmiar", -TextColor : "Kolor tekstu", -BGColor : "Kolor tła", -Source : "Źródło dokumentu", -Find : "Znajdź", -Replace : "Zamień", -SpellCheck : "Sprawdź pisownię", -UniversalKeyboard : "Klawiatura Uniwersalna", -PageBreakLbl : "Odstęp", -PageBreak : "Wstaw odstęp", - -Form : "Formularz", -Checkbox : "Pole wyboru (checkbox)", -RadioButton : "Pole wyboru (radio)", -TextField : "Pole tekstowe", -Textarea : "Obszar tekstowy", -HiddenField : "Pole ukryte", -Button : "Przycisk", -SelectionField : "Lista wyboru", -ImageButton : "Przycisk-obrazek", - -FitWindow : "Maksymalizuj rozmiar edytora", -ShowBlocks : "Pokaż bloki", - -// Context Menu -EditLink : "Edytuj hiperłącze", -CellCM : "Komórka", -RowCM : "Wiersz", -ColumnCM : "Kolumna", -InsertRowAfter : "Wstaw wiersz poniżej", -InsertRowBefore : "Wstaw wiersz powyżej", -DeleteRows : "Usuń wiersze", -InsertColumnAfter : "Wstaw kolumnę z prawej", -InsertColumnBefore : "Wstaw kolumnę z lewej", -DeleteColumns : "Usuń kolumny", -InsertCellAfter : "Wstaw komórkę z prawej", -InsertCellBefore : "Wstaw komórkę z lewej", -DeleteCells : "Usuń komórki", -MergeCells : "Połącz komórki", -MergeRight : "Połącz z komórką z prawej", -MergeDown : "Połącz z komórką poniżej", -HorizontalSplitCell : "Podziel komórkę poziomo", -VerticalSplitCell : "Podziel komórkę pionowo", -TableDelete : "Usuń tabelę", -CellProperties : "Właściwości komórki", -TableProperties : "Właściwości tabeli", -ImageProperties : "Właściwości obrazka", -FlashProperties : "Właściwości elementu Flash", - -AnchorProp : "Właściwości kotwicy", -ButtonProp : "Właściwości przycisku", -CheckboxProp : "Właściwości pola wyboru (checkbox)", -HiddenFieldProp : "Właściwości pola ukrytego", -RadioButtonProp : "Właściwości pola wyboru (radio)", -ImageButtonProp : "Właściwości przycisku obrazka", -TextFieldProp : "Właściwości pola tekstowego", -SelectionFieldProp : "Właściwości listy wyboru", -TextareaProp : "Właściwości obszaru tekstowego", -FormProp : "Właściwości formularza", - -FontFormats : "Normalny;Tekst sformatowany;Adres;Nagłówek 1;Nagłówek 2;Nagłówek 3;Nagłówek 4;Nagłówek 5;Nagłówek 6", - -// Alerts and Messages -ProcessingXHTML : "Przetwarzanie XHTML. Proszę czekać...", -Done : "Gotowe", -PasteWordConfirm : "Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Word. Czy chcesz go wyczyścic przed wklejeniem?", -NotCompatiblePaste : "Ta funkcja jest dostępna w programie Internet Explorer w wersji 5.5 lub wyższej. Czy chcesz wkleić tekst bez czyszczenia?", -UnknownToolbarItem : "Nieznany element paska narzędzi \"%1\"", -UnknownCommand : "Nieznana komenda \"%1\"", -NotImplemented : "Komenda niezaimplementowana", -UnknownToolbarSet : "Pasek narzędzi \"%1\" nie istnieje", -NoActiveX : "Ustawienia zabezpieczeń twojej przeglądarki mogą ograniczyć niektóre funkcje edytora. Musisz włączyć opcję \"Uruchamianie formantów Activex i dodatków plugin\". W przeciwnym wypadku mogą pojawiać się błędy.", -BrowseServerBlocked : "Nie można otworzyć okno menadżera plików. Upewnij się, że wszystkie blokady wyskakujących okienek są wyłączone.", -DialogBlocked : "Nie można otworzyć okna dialogowego. Upewnij się, że wszystkie blokady wyskakujących okienek są wyłączone.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Anuluj", -DlgBtnClose : "Zamknij", -DlgBtnBrowseServer : "Przeglądaj", -DlgAdvancedTag : "Zaawansowane", -DlgOpOther : "<Inny>", -DlgInfoTab : "Informacje", -DlgAlertUrl : "Proszę podać URL", - -// General Dialogs Labels -DlgGenNotSet : "<nie ustawione>", -DlgGenId : "Id", -DlgGenLangDir : "Kierunek tekstu", -DlgGenLangDirLtr : "Od lewej do prawej (LTR)", -DlgGenLangDirRtl : "Od prawej do lewej (RTL)", -DlgGenLangCode : "Kod języka", -DlgGenAccessKey : "Klawisz dostępu", -DlgGenName : "Nazwa", -DlgGenTabIndex : "Indeks tabeli", -DlgGenLongDescr : "Długi opis hiperłącza", -DlgGenClass : "Nazwa klasy CSS", -DlgGenTitle : "Opis obiektu docelowego", -DlgGenContType : "Typ MIME obiektu docelowego", -DlgGenLinkCharset : "Kodowanie znaków obiektu docelowego", -DlgGenStyle : "Styl", - -// Image Dialog -DlgImgTitle : "Właściwości obrazka", -DlgImgInfoTab : "Informacje o obrazku", -DlgImgBtnUpload : "Wyślij", -DlgImgURL : "Adres URL", -DlgImgUpload : "Wyślij", -DlgImgAlt : "Tekst zastępczy", -DlgImgWidth : "Szerokość", -DlgImgHeight : "Wysokość", -DlgImgLockRatio : "Zablokuj proporcje", -DlgBtnResetSize : "Przywróć rozmiar", -DlgImgBorder : "Ramka", -DlgImgHSpace : "Odstęp poziomy", -DlgImgVSpace : "Odstęp pionowy", -DlgImgAlign : "Wyrównaj", -DlgImgAlignLeft : "Do lewej", -DlgImgAlignAbsBottom: "Do dołu", -DlgImgAlignAbsMiddle: "Do środka w pionie", -DlgImgAlignBaseline : "Do linii bazowej", -DlgImgAlignBottom : "Do dołu", -DlgImgAlignMiddle : "Do środka", -DlgImgAlignRight : "Do prawej", -DlgImgAlignTextTop : "Do góry tekstu", -DlgImgAlignTop : "Do góry", -DlgImgPreview : "Podgląd", -DlgImgAlertUrl : "Podaj adres obrazka.", -DlgImgLinkTab : "Hiperłącze", - -// Flash Dialog -DlgFlashTitle : "Właściwości elementu Flash", -DlgFlashChkPlay : "Auto Odtwarzanie", -DlgFlashChkLoop : "Pętla", -DlgFlashChkMenu : "Włącz menu", -DlgFlashScale : "Skaluj", -DlgFlashScaleAll : "Pokaż wszystko", -DlgFlashScaleNoBorder : "Bez Ramki", -DlgFlashScaleFit : "Dokładne dopasowanie", - -// Link Dialog -DlgLnkWindowTitle : "Hiperłącze", -DlgLnkInfoTab : "Informacje ", -DlgLnkTargetTab : "Cel", - -DlgLnkType : "Typ hiperłącza", -DlgLnkTypeURL : "Adres URL", -DlgLnkTypeAnchor : "Odnośnik wewnątrz strony", -DlgLnkTypeEMail : "Adres e-mail", -DlgLnkProto : "Protokół", -DlgLnkProtoOther : "<inny>", -DlgLnkURL : "Adres URL", -DlgLnkAnchorSel : "Wybierz etykietę", -DlgLnkAnchorByName : "Wg etykiety", -DlgLnkAnchorById : "Wg identyfikatora elementu", -DlgLnkNoAnchors : "(W dokumencie nie zdefiniowano żadnych etykiet)", -DlgLnkEMail : "Adres e-mail", -DlgLnkEMailSubject : "Temat", -DlgLnkEMailBody : "Treść", -DlgLnkUpload : "Wyślij", -DlgLnkBtnUpload : "Wyślij", - -DlgLnkTarget : "Cel", -DlgLnkTargetFrame : "<ramka>", -DlgLnkTargetPopup : "<wyskakujące okno>", -DlgLnkTargetBlank : "Nowe okno (_blank)", -DlgLnkTargetParent : "Okno nadrzędne (_parent)", -DlgLnkTargetSelf : "To samo okno (_self)", -DlgLnkTargetTop : "Okno najwyższe w hierarchii (_top)", -DlgLnkTargetFrameName : "Nazwa Ramki Docelowej", -DlgLnkPopWinName : "Nazwa wyskakującego okna", -DlgLnkPopWinFeat : "Właściwości wyskakującego okna", -DlgLnkPopResize : "Możliwa zmiana rozmiaru", -DlgLnkPopLocation : "Pasek adresu", -DlgLnkPopMenu : "Pasek menu", -DlgLnkPopScroll : "Paski przewijania", -DlgLnkPopStatus : "Pasek statusu", -DlgLnkPopToolbar : "Pasek narzędzi", -DlgLnkPopFullScrn : "Pełny ekran (IE)", -DlgLnkPopDependent : "Okno zależne (Netscape)", -DlgLnkPopWidth : "Szerokość", -DlgLnkPopHeight : "Wysokość", -DlgLnkPopLeft : "Pozycja w poziomie", -DlgLnkPopTop : "Pozycja w pionie", - -DlnLnkMsgNoUrl : "Podaj adres URL", -DlnLnkMsgNoEMail : "Podaj adres e-mail", -DlnLnkMsgNoAnchor : "Wybierz etykietę", -DlnLnkMsgInvPopName : "Nazwa wyskakującego okienka musi zaczynać się od znaku alfanumerycznego i nie może zawierać spacji", - -// Color Dialog -DlgColorTitle : "Wybierz kolor", -DlgColorBtnClear : "Wyczyść", -DlgColorHighlight : "Podgląd", -DlgColorSelected : "Wybrane", - -// Smiley Dialog -DlgSmileyTitle : "Wstaw emotikonę", - -// Special Character Dialog -DlgSpecialCharTitle : "Wybierz znak specjalny", - -// Table Dialog -DlgTableTitle : "Właściwości tabeli", -DlgTableRows : "Liczba wierszy", -DlgTableColumns : "Liczba kolumn", -DlgTableBorder : "Grubość ramki", -DlgTableAlign : "Wyrównanie", -DlgTableAlignNotSet : "<brak ustawień>", -DlgTableAlignLeft : "Do lewej", -DlgTableAlignCenter : "Do środka", -DlgTableAlignRight : "Do prawej", -DlgTableWidth : "Szerokość", -DlgTableWidthPx : "piksele", -DlgTableWidthPc : "%", -DlgTableHeight : "Wysokość", -DlgTableCellSpace : "Odstęp pomiędzy komórkami", -DlgTableCellPad : "Margines wewnętrzny komórek", -DlgTableCaption : "Tytuł", -DlgTableSummary : "Podsumowanie", - -// Table Cell Dialog -DlgCellTitle : "Właściwości komórki", -DlgCellWidth : "Szerokość", -DlgCellWidthPx : "piksele", -DlgCellWidthPc : "%", -DlgCellHeight : "Wysokość", -DlgCellWordWrap : "Zawijanie tekstu", -DlgCellWordWrapNotSet : "<brak ustawień>", -DlgCellWordWrapYes : "Tak", -DlgCellWordWrapNo : "Nie", -DlgCellHorAlign : "Wyrównanie poziome", -DlgCellHorAlignNotSet : "<brak ustawień>", -DlgCellHorAlignLeft : "Do lewej", -DlgCellHorAlignCenter : "Do środka", -DlgCellHorAlignRight: "Do prawej", -DlgCellVerAlign : "Wyrównanie pionowe", -DlgCellVerAlignNotSet : "<brak ustawień>", -DlgCellVerAlignTop : "Do góry", -DlgCellVerAlignMiddle : "Do środka", -DlgCellVerAlignBottom : "Do dołu", -DlgCellVerAlignBaseline : "Do linii bazowej", -DlgCellRowSpan : "Zajętość wierszy", -DlgCellCollSpan : "Zajętość kolumn", -DlgCellBackColor : "Kolor tła", -DlgCellBorderColor : "Kolor ramki", -DlgCellBtnSelect : "Wybierz...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Znajdź i zamień", - -// Find Dialog -DlgFindTitle : "Znajdź", -DlgFindFindBtn : "Znajdź", -DlgFindNotFoundMsg : "Nie znaleziono szukanego hasła.", - -// Replace Dialog -DlgReplaceTitle : "Zamień", -DlgReplaceFindLbl : "Znajdź:", -DlgReplaceReplaceLbl : "Zastąp przez:", -DlgReplaceCaseChk : "Uwzględnij wielkość liter", -DlgReplaceReplaceBtn : "Zastąp", -DlgReplaceReplAllBtn : "Zastąp wszystko", -DlgReplaceWordChk : "Całe słowa", - -// Paste Operations / Dialog -PasteErrorCut : "Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne wycinanie tekstu. Użyj skrótu klawiszowego Ctrl+X.", -PasteErrorCopy : "Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl+C.", - -PasteAsText : "Wklej jako czysty tekst", -PasteFromWord : "Wklej z Worda", - -DlgPasteMsg2 : "Proszę wkleić w poniższym polu używając klawiaturowego skrótu (<STRONG>Ctrl+V</STRONG>) i kliknąć <STRONG>OK</STRONG>.", -DlgPasteSec : "Zabezpieczenia przeglądarki uniemożliwiają wklejenie danych bezpośrednio do edytora. Proszę dane wkleić ponownie w tym okienku.", -DlgPasteIgnoreFont : "Ignoruj definicje 'Font Face'", -DlgPasteRemoveStyles : "Usuń definicje Stylów", -DlgPasteCleanBox : "Wyczyść", - -// Color Picker -ColorAutomatic : "Automatycznie", -ColorMoreColors : "Więcej kolorów...", - -// Document Properties -DocProps : "Właściwości dokumentu", - -// Anchor Dialog -DlgAnchorTitle : "Właściwości kotwicy", -DlgAnchorName : "Nazwa kotwicy", -DlgAnchorErrorName : "Wpisz nazwę kotwicy", - -// Speller Pages Dialog -DlgSpellNotInDic : "Słowa nie ma w słowniku", -DlgSpellChangeTo : "Zmień na", -DlgSpellBtnIgnore : "Ignoruj", -DlgSpellBtnIgnoreAll : "Ignoruj wszystkie", -DlgSpellBtnReplace : "Zmień", -DlgSpellBtnReplaceAll : "Zmień wszystkie", -DlgSpellBtnUndo : "Cofnij", -DlgSpellNoSuggestions : "- Brak sugestii -", -DlgSpellProgress : "Trwa sprawdzanie ...", -DlgSpellNoMispell : "Sprawdzanie zakończone: nie znaleziono błędów", -DlgSpellNoChanges : "Sprawdzanie zakończone: nie zmieniono żadnego słowa", -DlgSpellOneChange : "Sprawdzanie zakończone: zmieniono jedno słowo", -DlgSpellManyChanges : "Sprawdzanie zakończone: zmieniono %l słów", - -IeSpellDownload : "Słownik nie jest zainstalowany. Chcesz go ściągnąć?", - -// Button Dialog -DlgButtonText : "Tekst (Wartość)", -DlgButtonType : "Typ", -DlgButtonTypeBtn : "Przycisk", -DlgButtonTypeSbm : "Wyślij", -DlgButtonTypeRst : "Wyzeruj", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nazwa", -DlgCheckboxValue : "Wartość", -DlgCheckboxSelected : "Zaznaczone", - -// Form Dialog -DlgFormName : "Nazwa", -DlgFormAction : "Akcja", -DlgFormMethod : "Metoda", - -// Select Field Dialog -DlgSelectName : "Nazwa", -DlgSelectValue : "Wartość", -DlgSelectSize : "Rozmiar", -DlgSelectLines : "linii", -DlgSelectChkMulti : "Wielokrotny wybór", -DlgSelectOpAvail : "Dostępne opcje", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Wartość", -DlgSelectBtnAdd : "Dodaj", -DlgSelectBtnModify : "Zmień", -DlgSelectBtnUp : "Do góry", -DlgSelectBtnDown : "Do dołu", -DlgSelectBtnSetValue : "Ustaw wartość zaznaczoną", -DlgSelectBtnDelete : "Usuń", - -// Textarea Dialog -DlgTextareaName : "Nazwa", -DlgTextareaCols : "Kolumnu", -DlgTextareaRows : "Wiersze", - -// Text Field Dialog -DlgTextName : "Nazwa", -DlgTextValue : "Wartość", -DlgTextCharWidth : "Szerokość w znakach", -DlgTextMaxChars : "Max. szerokość", -DlgTextType : "Typ", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Hasło", - -// Hidden Field Dialog -DlgHiddenName : "Nazwa", -DlgHiddenValue : "Wartość", - -// Bulleted List Dialog -BulletedListProp : "Właściwości listy punktowanej", -NumberedListProp : "Właściwości listy numerowanej", -DlgLstStart : "Początek", -DlgLstType : "Typ", -DlgLstTypeCircle : "Koło", -DlgLstTypeDisc : "Dysk", -DlgLstTypeSquare : "Kwadrat", -DlgLstTypeNumbers : "Cyfry (1, 2, 3)", -DlgLstTypeLCase : "Małe litery (a, b, c)", -DlgLstTypeUCase : "Duże litery (A, B, C)", -DlgLstTypeSRoman : "Numeracja rzymska (i, ii, iii)", -DlgLstTypeLRoman : "Numeracja rzymska (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Ogólne", -DlgDocBackTab : "Tło", -DlgDocColorsTab : "Kolory i marginesy", -DlgDocMetaTab : "Meta Dane", - -DlgDocPageTitle : "Tytuł strony", -DlgDocLangDir : "Kierunek pisania", -DlgDocLangDirLTR : "Od lewej do prawej (LTR)", -DlgDocLangDirRTL : "Od prawej do lewej (RTL)", -DlgDocLangCode : "Kod języka", -DlgDocCharSet : "Kodowanie znaków", -DlgDocCharSetCE : "Środkowoeuropejskie", -DlgDocCharSetCT : "Chińskie tradycyjne (Big5)", -DlgDocCharSetCR : "Cyrylica", -DlgDocCharSetGR : "Greckie", -DlgDocCharSetJP : "Japońskie", -DlgDocCharSetKR : "Koreańskie", -DlgDocCharSetTR : "Tureckie", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Zachodnioeuropejskie", -DlgDocCharSetOther : "Inne kodowanie znaków", - -DlgDocDocType : "Nagłówek typu dokumentu", -DlgDocDocTypeOther : "Inny typ dokumentu", -DlgDocIncXHTML : "Dołącz deklarację XHTML", -DlgDocBgColor : "Kolor tła", -DlgDocBgImage : "Obrazek tła", -DlgDocBgNoScroll : "Tło nieruchome", -DlgDocCText : "Tekst", -DlgDocCLink : "Hiperłącze", -DlgDocCVisited : "Odwiedzane hiperłącze", -DlgDocCActive : "Aktywne hiperłącze", -DlgDocMargins : "Marginesy strony", -DlgDocMaTop : "Górny", -DlgDocMaLeft : "Lewy", -DlgDocMaRight : "Prawy", -DlgDocMaBottom : "Dolny", -DlgDocMeIndex : "Słowa kluczowe (oddzielone przecinkami)", -DlgDocMeDescr : "Opis dokumentu", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Prawa autorskie", -DlgDocPreview : "Podgląd", - -// Templates Dialog -Templates : "Sablony", -DlgTemplatesTitle : "Szablony zawartości", -DlgTemplatesSelMsg : "Wybierz szablon do otwarcia w edytorze<br>(obecna zawartość okna edytora zostanie utracona):", -DlgTemplatesLoading : "Ładowanie listy szablonów. Proszę czekać...", -DlgTemplatesNoTpl : "(Brak zdefiniowanych szablonów)", -DlgTemplatesReplace : "Zastąp aktualną zawartość", - -// About Dialog -DlgAboutAboutTab : "O ...", -DlgAboutBrowserInfoTab : "O przeglądarce", -DlgAboutLicenseTab : "Licencja", -DlgAboutVersion : "wersja", -DlgAboutInfo : "Więcej informacji uzyskasz pod adresem" -}; +CKEDITOR.lang.pl={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',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:{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',preview:'Preview',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',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',unavailable:'%1<span class="cke_accessibility">, niedostępne</span>'},specialChar:{toolbar:'Wstaw znak specjalny',title:'Wybierz znak specjalny'},link:{toolbar:'Wstaw/edytuj hiperłącze',menu:'Edytuj hiperłącze',title:'Hiperłącze',info:'Informacje ',target:'Cel',upload:'Wyślij',advanced:'Zaawansowane',type:'Typ hiperłącza',toUrl:'URL',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:{toolbar:'Wstaw/edytuj kotwicę',menu:'Właściwości kotwicy',title:'Właściwości kotwicy',name:'Nazwa kotwicy',errorName:'Wpisz nazwę kotwicy'},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:{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',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:{title:'Właściwości przycisku',text:'Tekst (Wartość)',type:'Typ',typeBtn:'Przycisk',typeSbm:'Wyślij',typeRst:'Wyzeruj'},checkboxAndRadio:{checkboxTitle:'Właściwości pola wyboru (checkbox)',radioTitle:'Właściwości pola wyboru (radio)',value:'Wartość',selected:'Zaznaczone'},form:{title:'Właściwości formularza',menu:'Właściwości formularza',action:'Akcja',method:'Metoda',encoding:'Kodowanie'},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:{title:'Właściwości obszaru tekstowego',cols:'Kolumnu',rows:'Wiersze'},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:{title:'Właściwości pola ukrytego',name:'Nazwa',value:'Wartość'},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',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.',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:{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ą.'},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ę'},elementsPath:{eleLabel:'Elements path',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+X.',copyError:'Ustawienia bezpieczeństwa Twojej przeglądarki nie pozwalają na automatyczne kopiowanie tekstu. Użyj skrótu klawiszowego Ctrl+C.',pasteMsg:'Proszę wkleić w poniższym polu używając klawiaturowego skrótu (<STRONG>Ctrl+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'},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'},pasteText:{button:'Wklej jako czysty tekst',title:'Wklej jako czysty tekst'},templates:{button:'Szablony',title:'Szablony zawartości',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',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',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:'Czcionka',voiceLabel:'Czcionka',panelTitle:'Czcionka'},fontSize:{label:'Rozmiar',voiceLabel:'Rozmiar czcionki',panelTitle:'Rozmiar'},colorButton:{textColorTitle:'Kolor tekstu',bgColorTitle:'Kolor tła',panelTitle:'Colors',auto:'Automatycznie',more:'Więcej kolorów...'},colors:{'000':'Black',800000:'Maroon','8B4513':'Saddle Brown','2F4F4F':'Dark Slate Gray','008080':'Teal','000080':'Navy','4B0082':'Indigo',696969:'Dim 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:'Dark 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:'Sprawdź pisownię podczas pisania (SCAYT)',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',languagesTab:'Języki',dictionariesTab:'Słowniki',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 &copy; $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',highlight:'Zaznacz',selected:'Wybrany',clear:'Wyczyść'},toolbarCollapse:'Collapse Toolbar',toolbarExpand:'Expand Toolbar'}; diff --git a/editor/editor/lang/pt-br.js b/editor/editor/lang/pt-br.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Brazilian Portuguese language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Ocultar Barra de Ferramentas", -ToolbarExpand : "Exibir Barra de Ferramentas", - -// Toolbar Items and Context Menu -Save : "Salvar", -NewPage : "Novo", -Preview : "Visualizar", -Cut : "Recortar", -Copy : "Copiar", -Paste : "Colar", -PasteText : "Colar como Texto sem Formatação", -PasteWord : "Colar do Word", -Print : "Imprimir", -SelectAll : "Selecionar Tudo", -RemoveFormat : "Remover Formatação", -InsertLinkLbl : "Hiperlink", -InsertLink : "Inserir/Editar Hiperlink", -RemoveLink : "Remover Hiperlink", -Anchor : "Inserir/Editar Âncora", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Figura", -InsertImage : "Inserir/Editar Figura", -InsertFlashLbl : "Flash", -InsertFlash : "Insere/Edita Flash", -InsertTableLbl : "Tabela", -InsertTable : "Inserir/Editar Tabela", -InsertLineLbl : "Linha", -InsertLine : "Inserir Linha Horizontal", -InsertSpecialCharLbl: "Caracteres Especiais", -InsertSpecialChar : "Inserir Caractere Especial", -InsertSmileyLbl : "Emoticon", -InsertSmiley : "Inserir Emoticon", -About : "Sobre FCKeditor", -Bold : "Negrito", -Italic : "Itálico", -Underline : "Sublinhado", -StrikeThrough : "Tachado", -Subscript : "Subscrito", -Superscript : "Sobrescrito", -LeftJustify : "Alinhar Esquerda", -CenterJustify : "Centralizar", -RightJustify : "Alinhar Direita", -BlockJustify : "Justificado", -DecreaseIndent : "Diminuir Recuo", -IncreaseIndent : "Aumentar Recuo", -Blockquote : "Blockquote", //MISSING -Undo : "Desfazer", -Redo : "Refazer", -NumberedListLbl : "Numeração", -NumberedList : "Inserir/Remover Numeração", -BulletedListLbl : "Marcadores", -BulletedList : "Inserir/Remover Marcadores", -ShowTableBorders : "Exibir Bordas da Tabela", -ShowDetails : "Exibir Detalhes", -Style : "Estilo", -FontFormat : "Formatação", -Font : "Fonte", -FontSize : "Tamanho", -TextColor : "Cor do Texto", -BGColor : "Cor do Plano de Fundo", -Source : "Código-Fonte", -Find : "Localizar", -Replace : "Substituir", -SpellCheck : "Verificar Ortografia", -UniversalKeyboard : "Teclado Universal", -PageBreakLbl : "Quebra de Página", -PageBreak : "Inserir Quebra de Página", - -Form : "Formulário", -Checkbox : "Caixa de Seleção", -RadioButton : "Botão de Opção", -TextField : "Caixa de Texto", -Textarea : "Área de Texto", -HiddenField : "Campo Oculto", -Button : "Botão", -SelectionField : "Caixa de Listagem", -ImageButton : "Botão de Imagem", - -FitWindow : "Maximizar o tamanho do editor", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Editar Hiperlink", -CellCM : "Célula", -RowCM : "Linha", -ColumnCM : "Coluna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Remover Linhas", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Remover Colunas", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Remover Células", -MergeCells : "Mesclar Células", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Apagar Tabela", -CellProperties : "Formatar Célula", -TableProperties : "Formatar Tabela", -ImageProperties : "Formatar Figura", -FlashProperties : "Propriedades Flash", - -AnchorProp : "Formatar Âncora", -ButtonProp : "Formatar Botão", -CheckboxProp : "Formatar Caixa de Seleção", -HiddenFieldProp : "Formatar Campo Oculto", -RadioButtonProp : "Formatar Botão de Opção", -ImageButtonProp : "Formatar Botão de Imagem", -TextFieldProp : "Formatar Caixa de Texto", -SelectionFieldProp : "Formatar Caixa de Listagem", -TextareaProp : "Formatar Área de Texto", -FormProp : "Formatar Formulário", - -FontFormats : "Normal;Formatado;Endereço;Título 1;Título 2;Título 3;Título 4;Título 5;Título 6", - -// Alerts and Messages -ProcessingXHTML : "Processando XHTML. Por favor, aguarde...", -Done : "Pronto", -PasteWordConfirm : "O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?", -NotCompatiblePaste : "Este comando está disponível para o navegador Internet Explorer 5.5 ou superior. Você gostaria de colar sem remover a formatação?", -UnknownToolbarItem : "O item da barra de ferramentas \"%1\" não é reconhecido", -UnknownCommand : "O comando \"%1\" não é reconhecido", -NotImplemented : "O comando não foi implementado", -UnknownToolbarSet : "A barra de ferramentas \"%1\" não existe", -NoActiveX : "As configurações de segurança do seu browser podem limitar algumas características do editor. Você precisa habilitar a opção \"Executar controles e plug-ins ActiveX\". Você pode experimentar erros e alertas de características faltantes.", -BrowseServerBlocked : "Os recursos do browser não puderam ser abertos. Tenha certeza que todos os bloqueadores de popup estão desabilitados.", -DialogBlocked : "Não foi possível abrir a janela de diálogo. Tenha certeza que todos os bloqueadores de popup estão desabilitados.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancelar", -DlgBtnClose : "Fechar", -DlgBtnBrowseServer : "Localizar no Servidor", -DlgAdvancedTag : "Avançado", -DlgOpOther : "<Outros>", -DlgInfoTab : "Info", -DlgAlertUrl : "Inserir a URL", - -// General Dialogs Labels -DlgGenNotSet : "<não ajustado>", -DlgGenId : "Id", -DlgGenLangDir : "Direção do idioma", -DlgGenLangDirLtr : "Esquerda para Direita (LTR)", -DlgGenLangDirRtl : "Direita para Esquerda (RTL)", -DlgGenLangCode : "Idioma", -DlgGenAccessKey : "Chave de Acesso", -DlgGenName : "Nome", -DlgGenTabIndex : "Índice de Tabulação", -DlgGenLongDescr : "Descrição da URL", -DlgGenClass : "Classe de Folhas de Estilo", -DlgGenTitle : "Título", -DlgGenContType : "Tipo de Conteúdo", -DlgGenLinkCharset : "Conjunto de Caracteres do Hiperlink", -DlgGenStyle : "Estilos", - -// Image Dialog -DlgImgTitle : "Formatar Figura", -DlgImgInfoTab : "Informações da Figura", -DlgImgBtnUpload : "Enviar para o Servidor", -DlgImgURL : "URL", -DlgImgUpload : "Submeter", -DlgImgAlt : "Texto Alternativo", -DlgImgWidth : "Largura", -DlgImgHeight : "Altura", -DlgImgLockRatio : "Manter proporções", -DlgBtnResetSize : "Redefinir para o Tamanho Original", -DlgImgBorder : "Borda", -DlgImgHSpace : "Horizontal", -DlgImgVSpace : "Vertical", -DlgImgAlign : "Alinhamento", -DlgImgAlignLeft : "Esquerda", -DlgImgAlignAbsBottom: "Inferior Absoluto", -DlgImgAlignAbsMiddle: "Centralizado Absoluto", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Inferior", -DlgImgAlignMiddle : "Centralizado", -DlgImgAlignRight : "Direita", -DlgImgAlignTextTop : "Superior Absoluto", -DlgImgAlignTop : "Superior", -DlgImgPreview : "Visualização", -DlgImgAlertUrl : "Por favor, digite o URL da figura.", -DlgImgLinkTab : "Hiperlink", - -// Flash Dialog -DlgFlashTitle : "Propriedades Flash", -DlgFlashChkPlay : "Tocar Automaticamente", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Habilita Menu Flash", -DlgFlashScale : "Escala", -DlgFlashScaleAll : "Mostrar tudo", -DlgFlashScaleNoBorder : "Sem Borda", -DlgFlashScaleFit : "Escala Exata", - -// Link Dialog -DlgLnkWindowTitle : "Hiperlink", -DlgLnkInfoTab : "Informações", -DlgLnkTargetTab : "Destino", - -DlgLnkType : "Tipo de hiperlink", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Âncora nesta página", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "<outro>", -DlgLnkURL : "URL do hiperlink", -DlgLnkAnchorSel : "Selecione uma âncora", -DlgLnkAnchorByName : "Pelo Nome da âncora", -DlgLnkAnchorById : "Pelo Id do Elemento", -DlgLnkNoAnchors : "(Não há âncoras disponíveis neste documento)", -DlgLnkEMail : "Endereço E-Mail", -DlgLnkEMailSubject : "Assunto da Mensagem", -DlgLnkEMailBody : "Corpo da Mensagem", -DlgLnkUpload : "Enviar ao Servidor", -DlgLnkBtnUpload : "Enviar ao Servidor", - -DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<janela popup>", -DlgLnkTargetBlank : "Nova Janela (_blank)", -DlgLnkTargetParent : "Janela Pai (_parent)", -DlgLnkTargetSelf : "Mesma Janela (_self)", -DlgLnkTargetTop : "Janela Superior (_top)", -DlgLnkTargetFrameName : "Nome do Frame de Destino", -DlgLnkPopWinName : "Nome da Janela Pop-up", -DlgLnkPopWinFeat : "Atributos da Janela Pop-up", -DlgLnkPopResize : "Redimensionável", -DlgLnkPopLocation : "Barra de Endereços", -DlgLnkPopMenu : "Barra de Menus", -DlgLnkPopScroll : "Barras de Rolagem", -DlgLnkPopStatus : "Barra de Status", -DlgLnkPopToolbar : "Barra de Ferramentas", -DlgLnkPopFullScrn : "Modo Tela Cheia (IE)", -DlgLnkPopDependent : "Dependente (Netscape)", -DlgLnkPopWidth : "Largura", -DlgLnkPopHeight : "Altura", -DlgLnkPopLeft : "Esquerda", -DlgLnkPopTop : "Superior", - -DlnLnkMsgNoUrl : "Por favor, digite o endereço do Hiperlink", -DlnLnkMsgNoEMail : "Por favor, digite o endereço de e-mail", -DlnLnkMsgNoAnchor : "Por favor, selecione uma âncora", -DlnLnkMsgInvPopName : "O nome da janela popup deve começar com uma letra ou sublinhado (_) e não pode conter espaços", - -// Color Dialog -DlgColorTitle : "Selecione uma Cor", -DlgColorBtnClear : "Limpar", -DlgColorHighlight : "Visualização", -DlgColorSelected : "Selecionada", - -// Smiley Dialog -DlgSmileyTitle : "Inserir Emoticon", - -// Special Character Dialog -DlgSpecialCharTitle : "Selecione um Caractere Especial", - -// Table Dialog -DlgTableTitle : "Formatar Tabela", -DlgTableRows : "Linhas", -DlgTableColumns : "Colunas", -DlgTableBorder : "Borda", -DlgTableAlign : "Alinhamento", -DlgTableAlignNotSet : "<Não ajustado>", -DlgTableAlignLeft : "Esquerda", -DlgTableAlignCenter : "Centralizado", -DlgTableAlignRight : "Direita", -DlgTableWidth : "Largura", -DlgTableWidthPx : "pixels", -DlgTableWidthPc : "%", -DlgTableHeight : "Altura", -DlgTableCellSpace : "Espaçamento", -DlgTableCellPad : "Enchimento", -DlgTableCaption : "Legenda", -DlgTableSummary : "Resumo", - -// Table Cell Dialog -DlgCellTitle : "Formatar célula", -DlgCellWidth : "Largura", -DlgCellWidthPx : "pixels", -DlgCellWidthPc : "%", -DlgCellHeight : "Altura", -DlgCellWordWrap : "Quebra de Linha", -DlgCellWordWrapNotSet : "<Não ajustado>", -DlgCellWordWrapYes : "Sim", -DlgCellWordWrapNo : "Não", -DlgCellHorAlign : "Alinhamento Horizontal", -DlgCellHorAlignNotSet : "<Não ajustado>", -DlgCellHorAlignLeft : "Esquerda", -DlgCellHorAlignCenter : "Centralizado", -DlgCellHorAlignRight: "Direita", -DlgCellVerAlign : "Alinhamento Vertical", -DlgCellVerAlignNotSet : "<Não ajustado>", -DlgCellVerAlignTop : "Superior", -DlgCellVerAlignMiddle : "Centralizado", -DlgCellVerAlignBottom : "Inferior", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Transpor Linhas", -DlgCellCollSpan : "Transpor Colunas", -DlgCellBackColor : "Cor do Plano de Fundo", -DlgCellBorderColor : "Cor da Borda", -DlgCellBtnSelect : "Selecionar...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Localizar...", -DlgFindFindBtn : "Localizar", -DlgFindNotFoundMsg : "O texto especificado não foi encontrado.", - -// Replace Dialog -DlgReplaceTitle : "Substituir", -DlgReplaceFindLbl : "Procurar por:", -DlgReplaceReplaceLbl : "Substituir por:", -DlgReplaceCaseChk : "Coincidir Maiúsculas/Minúsculas", -DlgReplaceReplaceBtn : "Substituir", -DlgReplaceReplAllBtn : "Substituir Tudo", -DlgReplaceWordChk : "Coincidir a palavra inteira", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+C).", - -PasteAsText : "Colar como Texto sem Formatação", -PasteFromWord : "Colar do Word", - -DlgPasteMsg2 : "Transfira o link usado no box usando o teclado com (<STRONG>Ctrl+V</STRONG>) e <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignorar definições de fonte", -DlgPasteRemoveStyles : "Remove definições de estilo", -DlgPasteCleanBox : "Limpar Box", - -// Color Picker -ColorAutomatic : "Automático", -ColorMoreColors : "Mais Cores...", - -// Document Properties -DocProps : "Propriedades Documento", - -// Anchor Dialog -DlgAnchorTitle : "Formatar Âncora", -DlgAnchorName : "Nome da Âncora", -DlgAnchorErrorName : "Por favor, digite o nome da âncora", - -// Speller Pages Dialog -DlgSpellNotInDic : "Não encontrada", -DlgSpellChangeTo : "Alterar para", -DlgSpellBtnIgnore : "Ignorar uma vez", -DlgSpellBtnIgnoreAll : "Ignorar Todas", -DlgSpellBtnReplace : "Alterar", -DlgSpellBtnReplaceAll : "Alterar Todas", -DlgSpellBtnUndo : "Desfazer", -DlgSpellNoSuggestions : "-sem sugestões de ortografia-", -DlgSpellProgress : "Verificação ortográfica em andamento...", -DlgSpellNoMispell : "Verificação encerrada: Não foram encontrados erros de ortografia", -DlgSpellNoChanges : "Verificação ortográfica encerrada: Não houve alterações", -DlgSpellOneChange : "Verificação ortográfica encerrada: Uma palavra foi alterada", -DlgSpellManyChanges : "Verificação ortográfica encerrada: %1 foram alteradas", - -IeSpellDownload : "A verificação ortográfica não foi instalada. Você gostaria de realizar o download agora?", - -// Button Dialog -DlgButtonText : "Texto (Valor)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Botão", -DlgButtonTypeSbm : "Enviar", -DlgButtonTypeRst : "Limpar", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nome", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Selecionado", - -// Form Dialog -DlgFormName : "Nome", -DlgFormAction : "Action", -DlgFormMethod : "Método", - -// Select Field Dialog -DlgSelectName : "Nome", -DlgSelectValue : "Valor", -DlgSelectSize : "Tamanho", -DlgSelectLines : "linhas", -DlgSelectChkMulti : "Permitir múltiplas seleções", -DlgSelectOpAvail : "Opções disponíveis", -DlgSelectOpText : "Texto", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Adicionar", -DlgSelectBtnModify : "Modificar", -DlgSelectBtnUp : "Para cima", -DlgSelectBtnDown : "Para baixo", -DlgSelectBtnSetValue : "Definir como selecionado", -DlgSelectBtnDelete : "Remover", - -// Textarea Dialog -DlgTextareaName : "Nome", -DlgTextareaCols : "Colunas", -DlgTextareaRows : "Linhas", - -// Text Field Dialog -DlgTextName : "Nome", -DlgTextValue : "Valor", -DlgTextCharWidth : "Comprimento (em caracteres)", -DlgTextMaxChars : "Número Máximo de Caracteres", -DlgTextType : "Tipo", -DlgTextTypeText : "Texto", -DlgTextTypePass : "Senha", - -// Hidden Field Dialog -DlgHiddenName : "Nome", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Formatar Marcadores", -NumberedListProp : "Formatar Numeração", -DlgLstStart : "Iniciar", -DlgLstType : "Tipo", -DlgLstTypeCircle : "Círculo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Quadrado", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", -DlgLstTypeUCase : "Letras Maiúsculas (A, B, C)", -DlgLstTypeSRoman : "Números Romanos Minúsculos (i, ii, iii)", -DlgLstTypeLRoman : "Números Romanos Maiúsculos (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Geral", -DlgDocBackTab : "Plano de Fundo", -DlgDocColorsTab : "Cores e Margens", -DlgDocMetaTab : "Meta Dados", - -DlgDocPageTitle : "Título da Página", -DlgDocLangDir : "Direção do Idioma", -DlgDocLangDirLTR : "Esquerda para Direita (LTR)", -DlgDocLangDirRTL : "Direita para Esquerda (RTL)", -DlgDocLangCode : "Código do Idioma", -DlgDocCharSet : "Codificação de Caracteres", -DlgDocCharSetCE : "Europa Central", -DlgDocCharSetCT : "Chinês Tradicional (Big5)", -DlgDocCharSetCR : "Cirílico", -DlgDocCharSetGR : "Grego", -DlgDocCharSetJP : "Japonês", -DlgDocCharSetKR : "Coreano", -DlgDocCharSetTR : "Turco", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Europa Ocidental", -DlgDocCharSetOther : "Outra Codificação de Caracteres", - -DlgDocDocType : "Cabeçalho Tipo de Documento", -DlgDocDocTypeOther : "Other Document Type Heading", -DlgDocIncXHTML : "Incluir Declarações XHTML", -DlgDocBgColor : "Cor do Plano de Fundo", -DlgDocBgImage : "URL da Imagem de Plano de Fundo", -DlgDocBgNoScroll : "Plano de Fundo Fixo", -DlgDocCText : "Texto", -DlgDocCLink : "Hiperlink", -DlgDocCVisited : "Hiperlink Visitado", -DlgDocCActive : "Hiperlink Ativo", -DlgDocMargins : "Margens da Página", -DlgDocMaTop : "Superior", -DlgDocMaLeft : "Inferior", -DlgDocMaRight : "Direita", -DlgDocMaBottom : "Inferior", -DlgDocMeIndex : "Palavras-chave de Indexação do Documento (separadas por vírgula)", -DlgDocMeDescr : "Descrição do Documento", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Direitos Autorais", -DlgDocPreview : "Visualizar", - -// Templates Dialog -Templates : "Modelos de layout", -DlgTemplatesTitle : "Modelo de layout do conteúdo", -DlgTemplatesSelMsg : "Selecione um modelo de layout para ser aberto no editor<br>(o conteúdo atual será perdido):", -DlgTemplatesLoading : "Carregando a lista de modelos de layout. Aguarde...", -DlgTemplatesNoTpl : "(Não foram definidos modelos de layout)", -DlgTemplatesReplace : "Substituir o conteúdo atual", - -// About Dialog -DlgAboutAboutTab : "Sobre", -DlgAboutBrowserInfoTab : "Informações do Navegador", -DlgAboutLicenseTab : "Licença", -DlgAboutVersion : "versão", -DlgAboutInfo : "Para maiores informações visite" -}; diff --git a/editor/editor/lang/pt.js b/editor/editor/lang/pt.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Portuguese language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Fechar Barra", -ToolbarExpand : "Expandir Barra", - -// Toolbar Items and Context Menu -Save : "Guardar", -NewPage : "Nova Página", -Preview : "Pré-visualizar", -Cut : "Cortar", -Copy : "Copiar", -Paste : "Colar", -PasteText : "Colar como texto não formatado", -PasteWord : "Colar do Word", -Print : "Imprimir", -SelectAll : "Seleccionar Tudo", -RemoveFormat : "Eliminar Formato", -InsertLinkLbl : "Hiperligação", -InsertLink : "Inserir/Editar Hiperligação", -RemoveLink : "Eliminar Hiperligação", -Anchor : " Inserir/Editar Âncora", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Imagem", -InsertImage : "Inserir/Editar Imagem", -InsertFlashLbl : "Flash", -InsertFlash : "Inserir/Editar Flash", -InsertTableLbl : "Tabela", -InsertTable : "Inserir/Editar Tabela", -InsertLineLbl : "Linha", -InsertLine : "Inserir Linha Horizontal", -InsertSpecialCharLbl: "Caracter Especial", -InsertSpecialChar : "Inserir Caracter Especial", -InsertSmileyLbl : "Emoticons", -InsertSmiley : "Inserir Emoticons", -About : "Acerca do FCKeditor", -Bold : "Negrito", -Italic : "Itálico", -Underline : "Sublinhado", -StrikeThrough : "Rasurado", -Subscript : "Superior à Linha", -Superscript : "Inferior à Linha", -LeftJustify : "Alinhar à Esquerda", -CenterJustify : "Alinhar ao Centro", -RightJustify : "Alinhar à Direita", -BlockJustify : "Justificado", -DecreaseIndent : "Diminuir Avanço", -IncreaseIndent : "Aumentar Avanço", -Blockquote : "Blockquote", //MISSING -Undo : "Anular", -Redo : "Repetir", -NumberedListLbl : "Numeração", -NumberedList : "Inserir/Eliminar Numeração", -BulletedListLbl : "Marcas", -BulletedList : "Inserir/Eliminar Marcas", -ShowTableBorders : "Mostrar Limites da Tabelas", -ShowDetails : "Mostrar Parágrafo", -Style : "Estilo", -FontFormat : "Formato", -Font : "Tipo de Letra", -FontSize : "Tamanho", -TextColor : "Cor do Texto", -BGColor : "Cor de Fundo", -Source : "Fonte", -Find : "Procurar", -Replace : "Substituir", -SpellCheck : "Verificação Ortográfica", -UniversalKeyboard : "Teclado Universal", -PageBreakLbl : "Quebra de Página", -PageBreak : "Inserir Quebra de Página", - -Form : "Formulário", -Checkbox : "Caixa de Verificação", -RadioButton : "Botão de Opção", -TextField : "Campo de Texto", -Textarea : "Área de Texto", -HiddenField : "Campo Escondido", -Button : "Botão", -SelectionField : "Caixa de Combinação", -ImageButton : "Botão de Imagem", - -FitWindow : "Maximizar o tamanho do editor", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Editar Hiperligação", -CellCM : "Célula", -RowCM : "Linha", -ColumnCM : "Coluna", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Eliminar Linhas", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Eliminar Coluna", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Eliminar Célula", -MergeCells : "Unir Células", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Eliminar Tabela", -CellProperties : "Propriedades da Célula", -TableProperties : "Propriedades da Tabela", -ImageProperties : "Propriedades da Imagem", -FlashProperties : "Propriedades do Flash", - -AnchorProp : "Propriedades da Âncora", -ButtonProp : "Propriedades do Botão", -CheckboxProp : "Propriedades da Caixa de Verificação", -HiddenFieldProp : "Propriedades do Campo Escondido", -RadioButtonProp : "Propriedades do Botão de Opção", -ImageButtonProp : "Propriedades do Botão de imagens", -TextFieldProp : "Propriedades do Campo de Texto", -SelectionFieldProp : "Propriedades da Caixa de Combinação", -TextareaProp : "Propriedades da Área de Texto", -FormProp : "Propriedades do Formulário", - -FontFormats : "Normal;Formatado;Endereço;Título 1;Título 2;Título 3;Título 4;Título 5;Título 6", - -// Alerts and Messages -ProcessingXHTML : "A Processar XHTML. Por favor, espere...", -Done : "Concluído", -PasteWordConfirm : "O texto que deseja parece ter sido copiado do Word. Deseja limpar a formatação antes de colar?", -NotCompatiblePaste : "Este comando só está disponível para Internet Explorer versão 5.5 ou superior. Deseja colar sem limpar a formatação?", -UnknownToolbarItem : "Item de barra desconhecido \"%1\"", -UnknownCommand : "Nome de comando desconhecido \"%1\"", -NotImplemented : "Comando não implementado", -UnknownToolbarSet : "Nome de barra \"%1\" não definido", -NoActiveX : "As definições de segurança do navegador podem limitar algumas potencalidades do editr. Deve activar a opção \"Executar controlos e extensões ActiveX\". Pode ocorrer erros ou verificar que faltam potencialidades.", -BrowseServerBlocked : "Não foi possível abrir o navegador de recursos. Certifique-se que todos os bloqueadores de popup estão desactivados.", -DialogBlocked : "Não foi possível abrir a janela de diálogo. Certifique-se que todos os bloqueadores de popup estão desactivados.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Cancelar", -DlgBtnClose : "Fechar", -DlgBtnBrowseServer : "Navegar no Servidor", -DlgAdvancedTag : "Avançado", -DlgOpOther : "<Outro>", -DlgInfoTab : "Informação", -DlgAlertUrl : "Por favor introduza o URL", - -// General Dialogs Labels -DlgGenNotSet : "<Não definido>", -DlgGenId : "Id", -DlgGenLangDir : "Orientação de idioma", -DlgGenLangDirLtr : "Esquerda à Direita (LTR)", -DlgGenLangDirRtl : "Direita a Esquerda (RTL)", -DlgGenLangCode : "Código de Idioma", -DlgGenAccessKey : "Chave de Acesso", -DlgGenName : "Nome", -DlgGenTabIndex : "Índice de Tubulação", -DlgGenLongDescr : "Descrição Completa do URL", -DlgGenClass : "Classes de Estilo de Folhas Classes", -DlgGenTitle : "Título", -DlgGenContType : "Tipo de Conteúdo", -DlgGenLinkCharset : "Fonte de caracteres vinculado", -DlgGenStyle : "Estilo", - -// Image Dialog -DlgImgTitle : "Propriedades da Imagem", -DlgImgInfoTab : "Informação da Imagem", -DlgImgBtnUpload : "Enviar para o Servidor", -DlgImgURL : "URL", -DlgImgUpload : "Carregar", -DlgImgAlt : "Texto Alternativo", -DlgImgWidth : "Largura", -DlgImgHeight : "Altura", -DlgImgLockRatio : "Proporcional", -DlgBtnResetSize : "Tamanho Original", -DlgImgBorder : "Limite", -DlgImgHSpace : "Esp.Horiz", -DlgImgVSpace : "Esp.Vert", -DlgImgAlign : "Alinhamento", -DlgImgAlignLeft : "Esquerda", -DlgImgAlignAbsBottom: "Abs inferior", -DlgImgAlignAbsMiddle: "Abs centro", -DlgImgAlignBaseline : "Linha de base", -DlgImgAlignBottom : "Fundo", -DlgImgAlignMiddle : "Centro", -DlgImgAlignRight : "Direita", -DlgImgAlignTextTop : "Topo do texto", -DlgImgAlignTop : "Topo", -DlgImgPreview : "Pré-visualizar", -DlgImgAlertUrl : "Por favor introduza o URL da imagem", -DlgImgLinkTab : "Hiperligação", - -// Flash Dialog -DlgFlashTitle : "Propriedades do Flash", -DlgFlashChkPlay : "Reproduzir automaticamente", -DlgFlashChkLoop : "Loop", -DlgFlashChkMenu : "Permitir Menu do Flash", -DlgFlashScale : "Escala", -DlgFlashScaleAll : "Mostrar tudo", -DlgFlashScaleNoBorder : "Sem Limites", -DlgFlashScaleFit : "Tamanho Exacto", - -// Link Dialog -DlgLnkWindowTitle : "Hiperligação", -DlgLnkInfoTab : "Informação de Hiperligação", -DlgLnkTargetTab : "Destino", - -DlgLnkType : "Tipo de Hiperligação", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Referência a esta página", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocolo", -DlgLnkProtoOther : "<outro>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Seleccionar una referência", -DlgLnkAnchorByName : "Por Nome de Referência", -DlgLnkAnchorById : "Por ID de elemento", -DlgLnkNoAnchors : "(Não há referências disponíveis no documento)", -DlgLnkEMail : "Endereço de E-Mail", -DlgLnkEMailSubject : "Título de Mensagem", -DlgLnkEMailBody : "Corpo da Mensagem", -DlgLnkUpload : "Carregar", -DlgLnkBtnUpload : "Enviar ao Servidor", - -DlgLnkTarget : "Destino", -DlgLnkTargetFrame : "<Frame>", -DlgLnkTargetPopup : "<Janela de popup>", -DlgLnkTargetBlank : "Nova Janela(_blank)", -DlgLnkTargetParent : "Janela Pai (_parent)", -DlgLnkTargetSelf : "Mesma janela (_self)", -DlgLnkTargetTop : "Janela primaria (_top)", -DlgLnkTargetFrameName : "Nome do Frame Destino", -DlgLnkPopWinName : "Nome da Janela de Popup", -DlgLnkPopWinFeat : "Características de Janela de Popup", -DlgLnkPopResize : "Ajustável", -DlgLnkPopLocation : "Barra de localização", -DlgLnkPopMenu : "Barra de Menu", -DlgLnkPopScroll : "Barras de deslocamento", -DlgLnkPopStatus : "Barra de Estado", -DlgLnkPopToolbar : "Barra de Ferramentas", -DlgLnkPopFullScrn : "Janela Completa (IE)", -DlgLnkPopDependent : "Dependente (Netscape)", -DlgLnkPopWidth : "Largura", -DlgLnkPopHeight : "Altura", -DlgLnkPopLeft : "Posição Esquerda", -DlgLnkPopTop : "Posição Direita", - -DlnLnkMsgNoUrl : "Por favor introduza a hiperligação URL", -DlnLnkMsgNoEMail : "Por favor introduza o endereço de e-mail", -DlnLnkMsgNoAnchor : "Por favor seleccione uma referência", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Seleccionar Cor", -DlgColorBtnClear : "Nenhuma", -DlgColorHighlight : "Destacado", -DlgColorSelected : "Seleccionado", - -// Smiley Dialog -DlgSmileyTitle : "Inserir um Emoticon", - -// Special Character Dialog -DlgSpecialCharTitle : "Seleccione um caracter especial", - -// Table Dialog -DlgTableTitle : "Propriedades da Tabela", -DlgTableRows : "Linhas", -DlgTableColumns : "Colunas", -DlgTableBorder : "Tamanho do Limite", -DlgTableAlign : "Alinhamento", -DlgTableAlignNotSet : "<Não definido>", -DlgTableAlignLeft : "Esquerda", -DlgTableAlignCenter : "Centrado", -DlgTableAlignRight : "Direita", -DlgTableWidth : "Largura", -DlgTableWidthPx : "pixeis", -DlgTableWidthPc : "percentagem", -DlgTableHeight : "Altura", -DlgTableCellSpace : "Esp. e/células", -DlgTableCellPad : "Esp. interior", -DlgTableCaption : "Título", -DlgTableSummary : "Sumário", - -// Table Cell Dialog -DlgCellTitle : "Propriedades da Célula", -DlgCellWidth : "Largura", -DlgCellWidthPx : "pixeis", -DlgCellWidthPc : "percentagem", -DlgCellHeight : "Altura", -DlgCellWordWrap : "Moldar Texto", -DlgCellWordWrapNotSet : "<Não definido>", -DlgCellWordWrapYes : "Sim", -DlgCellWordWrapNo : "Não", -DlgCellHorAlign : "Alinhamento Horizontal", -DlgCellHorAlignNotSet : "<Não definido>", -DlgCellHorAlignLeft : "Esquerda", -DlgCellHorAlignCenter : "Centrado", -DlgCellHorAlignRight: "Direita", -DlgCellVerAlign : "Alinhamento Vertical", -DlgCellVerAlignNotSet : "<Não definido>", -DlgCellVerAlignTop : "Topo", -DlgCellVerAlignMiddle : "Médio", -DlgCellVerAlignBottom : "Fundi", -DlgCellVerAlignBaseline : "Linha de Base", -DlgCellRowSpan : "Unir Linhas", -DlgCellCollSpan : "Unir Colunas", -DlgCellBackColor : "Cor do Fundo", -DlgCellBorderColor : "Cor do Limite", -DlgCellBtnSelect : "Seleccione...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Procurar", -DlgFindFindBtn : "Procurar", -DlgFindNotFoundMsg : "O texto especificado não foi encontrado.", - -// Replace Dialog -DlgReplaceTitle : "Substituir", -DlgReplaceFindLbl : "Texto a Procurar:", -DlgReplaceReplaceLbl : "Substituir por:", -DlgReplaceCaseChk : "Maiúsculas/Minúsculas", -DlgReplaceReplaceBtn : "Substituir", -DlgReplaceReplAllBtn : "Substituir Tudo", -DlgReplaceWordChk : "Coincidir com toda a palavra", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+C).", - -PasteAsText : "Colar como Texto Simples", -PasteFromWord : "Colar do Word", - -DlgPasteMsg2 : "Por favor, cole dentro da seguinte caixa usando o teclado (<STRONG>Ctrl+V</STRONG>) e prima <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignorar da definições do Tipo de Letra ", -DlgPasteRemoveStyles : "Remover as definições de Estilos", -DlgPasteCleanBox : "Caixa de Limpeza", - -// Color Picker -ColorAutomatic : "Automático", -ColorMoreColors : "Mais Cores...", - -// Document Properties -DocProps : "Propriedades do Documento", - -// Anchor Dialog -DlgAnchorTitle : "Propriedades da Âncora", -DlgAnchorName : "Nome da Âncora", -DlgAnchorErrorName : "Por favor, introduza o nome da âncora", - -// Speller Pages Dialog -DlgSpellNotInDic : "Não está num directório", -DlgSpellChangeTo : "Mudar para", -DlgSpellBtnIgnore : "Ignorar", -DlgSpellBtnIgnoreAll : "Ignorar Tudo", -DlgSpellBtnReplace : "Substituir", -DlgSpellBtnReplaceAll : "Substituir Tudo", -DlgSpellBtnUndo : "Anular", -DlgSpellNoSuggestions : "- Sem sugestões -", -DlgSpellProgress : "Verificação ortográfica em progresso…", -DlgSpellNoMispell : "Verificação ortográfica completa: não foram encontrados erros", -DlgSpellNoChanges : "Verificação ortográfica completa: não houve alteração de palavras", -DlgSpellOneChange : "Verificação ortográfica completa: uma palavra alterada", -DlgSpellManyChanges : "Verificação ortográfica completa: %1 palavras alteradas", - -IeSpellDownload : " Verificação ortográfica não instalada. Quer descarregar agora?", - -// Button Dialog -DlgButtonText : "Texto (Valor)", -DlgButtonType : "Tipo", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nome", -DlgCheckboxValue : "Valor", -DlgCheckboxSelected : "Seleccionado", - -// Form Dialog -DlgFormName : "Nome", -DlgFormAction : "Acção", -DlgFormMethod : "Método", - -// Select Field Dialog -DlgSelectName : "Nome", -DlgSelectValue : "Valor", -DlgSelectSize : "Tamanho", -DlgSelectLines : "linhas", -DlgSelectChkMulti : "Permitir selecções múltiplas", -DlgSelectOpAvail : "Opções Possíveis", -DlgSelectOpText : "Texto", -DlgSelectOpValue : "Valor", -DlgSelectBtnAdd : "Adicionar", -DlgSelectBtnModify : "Modificar", -DlgSelectBtnUp : "Para cima", -DlgSelectBtnDown : "Para baixo", -DlgSelectBtnSetValue : "Definir um valor por defeito", -DlgSelectBtnDelete : "Apagar", - -// Textarea Dialog -DlgTextareaName : "Nome", -DlgTextareaCols : "Colunas", -DlgTextareaRows : "Linhas", - -// Text Field Dialog -DlgTextName : "Nome", -DlgTextValue : "Valor", -DlgTextCharWidth : "Tamanho do caracter", -DlgTextMaxChars : "Nr. Máximo de Caracteres", -DlgTextType : "Tipo", -DlgTextTypeText : "Texto", -DlgTextTypePass : "Palavra-chave", - -// Hidden Field Dialog -DlgHiddenName : "Nome", -DlgHiddenValue : "Valor", - -// Bulleted List Dialog -BulletedListProp : "Propriedades da Marca", -NumberedListProp : "Propriedades da Numeração", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tipo", -DlgLstTypeCircle : "Circulo", -DlgLstTypeDisc : "Disco", -DlgLstTypeSquare : "Quadrado", -DlgLstTypeNumbers : "Números (1, 2, 3)", -DlgLstTypeLCase : "Letras Minúsculas (a, b, c)", -DlgLstTypeUCase : "Letras Maiúsculas (A, B, C)", -DlgLstTypeSRoman : "Numeração Romana em Minúsculas (i, ii, iii)", -DlgLstTypeLRoman : "Numeração Romana em Maiúsculas (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Geral", -DlgDocBackTab : "Fundo", -DlgDocColorsTab : "Cores e Margens", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Título da Página", -DlgDocLangDir : "Orientação de idioma", -DlgDocLangDirLTR : "Esquerda à Direita (LTR)", -DlgDocLangDirRTL : "Direita à Esquerda (RTL)", -DlgDocLangCode : "Código de Idioma", -DlgDocCharSet : "Codificação de Caracteres", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Outra Codificação de Caracteres", - -DlgDocDocType : "Tipo de Cabeçalho do Documento", -DlgDocDocTypeOther : "Outro Tipo de Cabeçalho do Documento", -DlgDocIncXHTML : "Incluir Declarações XHTML", -DlgDocBgColor : "Cor de Fundo", -DlgDocBgImage : "Caminho para a Imagem de Fundo", -DlgDocBgNoScroll : "Fundo Fixo", -DlgDocCText : "Texto", -DlgDocCLink : "Hiperligação", -DlgDocCVisited : "Hiperligação Visitada", -DlgDocCActive : "Hiperligação Activa", -DlgDocMargins : "Margem das Páginas", -DlgDocMaTop : "Topo", -DlgDocMaLeft : "Esquerda", -DlgDocMaRight : "Direita", -DlgDocMaBottom : "Fundo", -DlgDocMeIndex : "Palavras de Indexação do Documento (separadas por virgula)", -DlgDocMeDescr : "Descrição do Documento", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Direitos de Autor", -DlgDocPreview : "Pré-visualizar", - -// Templates Dialog -Templates : "Modelos", -DlgTemplatesTitle : "Modelo de Conteúdo", -DlgTemplatesSelMsg : "Por favor, seleccione o modelo a abrir no editor<br>(o conteúdo actual será perdido):", -DlgTemplatesLoading : "A carregar a lista de modelos. Aguarde por favor...", -DlgTemplatesNoTpl : "(Sem modelos definidos)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "Acerca", -DlgAboutBrowserInfoTab : "Informação do Nevegador", -DlgAboutLicenseTab : "Licença", -DlgAboutVersion : "versão", -DlgAboutInfo : "Para mais informações por favor dirija-se a" -}; diff --git a/editor/editor/lang/ro.js b/editor/editor/lang/ro.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Romanian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Ascunde bara cu opţiuni", -ToolbarExpand : "Expandează bara cu opţiuni", - -// Toolbar Items and Context Menu -Save : "Salvează", -NewPage : "Pagină nouă", -Preview : "Previzualizare", -Cut : "Taie", -Copy : "Copiază", -Paste : "Adaugă", -PasteText : "Adaugă ca text simplu", -PasteWord : "Adaugă din Word", -Print : "Printează", -SelectAll : "Selectează tot", -RemoveFormat : "Înlătură formatarea", -InsertLinkLbl : "Link (Legătură web)", -InsertLink : "Inserează/Editează link (legătură web)", -RemoveLink : "Înlătură link (legătură web)", -Anchor : "Inserează/Editează ancoră", -AnchorDelete : "Şterge ancoră", -InsertImageLbl : "Imagine", -InsertImage : "Inserează/Editează imagine", -InsertFlashLbl : "Flash", -InsertFlash : "Inserează/Editează flash", -InsertTableLbl : "Tabel", -InsertTable : "Inserează/Editează tabel", -InsertLineLbl : "Linie", -InsertLine : "Inserează linie orizontă", -InsertSpecialCharLbl: "Caracter special", -InsertSpecialChar : "Inserează caracter special", -InsertSmileyLbl : "Figură expresivă (Emoticon)", -InsertSmiley : "Inserează Figură expresivă (Emoticon)", -About : "Despre FCKeditor", -Bold : "Îngroşat (bold)", -Italic : "Înclinat (italic)", -Underline : "Subliniat (underline)", -StrikeThrough : "Tăiat (strike through)", -Subscript : "Indice (subscript)", -Superscript : "Putere (superscript)", -LeftJustify : "Aliniere la stânga", -CenterJustify : "Aliniere centrală", -RightJustify : "Aliniere la dreapta", -BlockJustify : "Aliniere în bloc (Block Justify)", -DecreaseIndent : "Scade indentarea", -IncreaseIndent : "Creşte indentarea", -Blockquote : "Citat", -Undo : "Starea anterioară (undo)", -Redo : "Starea ulterioară (redo)", -NumberedListLbl : "Listă numerotată", -NumberedList : "Inserează/Şterge listă numerotată", -BulletedListLbl : "Listă cu puncte", -BulletedList : "Inserează/Şterge listă cu puncte", -ShowTableBorders : "Arată marginile tabelului", -ShowDetails : "Arată detalii", -Style : "Stil", -FontFormat : "Formatare", -Font : "Font", -FontSize : "Mărime", -TextColor : "Culoarea textului", -BGColor : "Coloarea fundalului", -Source : "Sursa", -Find : "Găseşte", -Replace : "Înlocuieşte", -SpellCheck : "Verifică text", -UniversalKeyboard : "Tastatură universală", -PageBreakLbl : "Separator de pagină (Page Break)", -PageBreak : "Inserează separator de pagină (Page Break)", - -Form : "Formular (Form)", -Checkbox : "Bifă (Checkbox)", -RadioButton : "Buton radio (RadioButton)", -TextField : "Câmp text (TextField)", -Textarea : "Suprafaţă text (Textarea)", -HiddenField : "Câmp ascuns (HiddenField)", -Button : "Buton", -SelectionField : "Câmp selecţie (SelectionField)", -ImageButton : "Buton imagine (ImageButton)", - -FitWindow : "Maximizează mărimea editorului", -ShowBlocks : "Arată blocurile", - -// Context Menu -EditLink : "Editează Link", -CellCM : "Celulă", -RowCM : "Linie", -ColumnCM : "Coloană", -InsertRowAfter : "Inserează linie după", -InsertRowBefore : "Inserează linie înainte", -DeleteRows : "Şterge linii", -InsertColumnAfter : "Inserează coloană după", -InsertColumnBefore : "Inserează coloană înainte", -DeleteColumns : "Şterge celule", -InsertCellAfter : "Inserează celulă după", -InsertCellBefore : "Inserează celulă înainte", -DeleteCells : "Şterge celule", -MergeCells : "Uneşte celule", -MergeRight : "Uneşte la dreapta", -MergeDown : "Uneşte jos", -HorizontalSplitCell : "Împarte celula pe orizontală", -VerticalSplitCell : "Împarte celula pe verticală", -TableDelete : "Şterge tabel", -CellProperties : "Proprietăţile celulei", -TableProperties : "Proprietăţile tabelului", -ImageProperties : "Proprietăţile imaginii", -FlashProperties : "Proprietăţile flash-ului", - -AnchorProp : "Proprietăţi ancoră", -ButtonProp : "Proprietăţi buton", -CheckboxProp : "Proprietăţi bifă (Checkbox)", -HiddenFieldProp : "Proprietăţi câmp ascuns (Hidden Field)", -RadioButtonProp : "Proprietăţi buton radio (Radio Button)", -ImageButtonProp : "Proprietăţi buton imagine (Image Button)", -TextFieldProp : "Proprietăţi câmp text (Text Field)", -SelectionFieldProp : "Proprietăţi câmp selecţie (Selection Field)", -TextareaProp : "Proprietăţi suprafaţă text (Textarea)", -FormProp : "Proprietăţi formular (Form)", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", //MISSING - -// Alerts and Messages -ProcessingXHTML : "Procesăm XHTML. Vă rugăm aşteptaţi...", -Done : "Am terminat", -PasteWordConfirm : "Textul pe care doriţi să-l adăugaţi pare a fi formatat pentru Word. Doriţi să-l curăţaţi de această formatare înainte de a-l adăuga?", -NotCompatiblePaste : "Această facilitate e disponibilă doar pentru Microsoft Internet Explorer, versiunea 5.5 sau ulterioară. Vreţi să-l adăugaţi fără a-i fi înlăturat formatarea?", -UnknownToolbarItem : "Obiectul \"%1\" din bara cu opţiuni necunoscut", -UnknownCommand : "Comanda \"%1\" necunoscută", -NotImplemented : "Comandă neimplementată", -UnknownToolbarSet : "Grupul din bara cu opţiuni \"%1\" nu există", -NoActiveX : "Setările de securitate ale programului dvs. cu care navigaţi pe internet (browser) pot limita anumite funcţionalităţi ale editorului. Pentru a evita asta, trebuie să activaţi opţiunea \"Run ActiveX controls and plug-ins\". Poate veţi întâlni erori sau veţi observa funcţionalităţi lipsă.", -BrowseServerBlocked : "The resources browser could not be opened. Asiguraţi-vă că nu e activ niciun \"popup blocker\" (funcţionalitate a programului de navigat (browser) sau a unui plug-in al acestuia de a bloca deschiderea unui noi ferestre).", -DialogBlocked : "Nu a fost posibilă deschiderea unei ferestre de dialog. Asiguraţi-vă că nu e activ niciun \"popup blocker\" (funcţionalitate a programului de navigat (browser) sau a unui plug-in al acestuia de a bloca deschiderea unui noi ferestre).", - -// Dialogs -DlgBtnOK : "Bine", -DlgBtnCancel : "Anulare", -DlgBtnClose : "Închidere", -DlgBtnBrowseServer : "Răsfoieşte server", -DlgAdvancedTag : "Avansat", -DlgOpOther : "<Altul>", -DlgInfoTab : "Informaţii", -DlgAlertUrl : "Vă rugăm să scrieţi URL-ul", - -// General Dialogs Labels -DlgGenNotSet : "<nesetat>", -DlgGenId : "Id", -DlgGenLangDir : "Direcţia cuvintelor", -DlgGenLangDirLtr : "stânga-dreapta (LTR)", -DlgGenLangDirRtl : "dreapta-stânga (RTL)", -DlgGenLangCode : "Codul limbii", -DlgGenAccessKey : "Tasta de acces", -DlgGenName : "Nume", -DlgGenTabIndex : "Indexul tabului", -DlgGenLongDescr : "Descrierea lungă URL", -DlgGenClass : "Clasele cu stilul paginii (CSS)", -DlgGenTitle : "Titlul consultativ", -DlgGenContType : "Tipul consultativ al titlului", -DlgGenLinkCharset : "Setul de caractere al resursei legate", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Proprietăţile imaginii", -DlgImgInfoTab : "Informaţii despre imagine", -DlgImgBtnUpload : "Trimite la server", -DlgImgURL : "URL", -DlgImgUpload : "Încarcă", -DlgImgAlt : "Text alternativ", -DlgImgWidth : "Lăţime", -DlgImgHeight : "Înălţime", -DlgImgLockRatio : "Păstrează proporţiile", -DlgBtnResetSize : "Resetează mărimea", -DlgImgBorder : "Margine", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Aliniere", -DlgImgAlignLeft : "Stânga", -DlgImgAlignAbsBottom: "Jos absolut (Abs Bottom)", -DlgImgAlignAbsMiddle: "Mijloc absolut (Abs Middle)", -DlgImgAlignBaseline : "Linia de jos (Baseline)", -DlgImgAlignBottom : "Jos", -DlgImgAlignMiddle : "Mijloc", -DlgImgAlignRight : "Dreapta", -DlgImgAlignTextTop : "Text sus", -DlgImgAlignTop : "Sus", -DlgImgPreview : "Previzualizare", -DlgImgAlertUrl : "Vă rugăm să scrieţi URL-ul imaginii", -DlgImgLinkTab : "Link (Legătură web)", - -// Flash Dialog -DlgFlashTitle : "Proprietăţile flash-ului", -DlgFlashChkPlay : "Rulează automat", -DlgFlashChkLoop : "Repetă (Loop)", -DlgFlashChkMenu : "Activează meniul flash", -DlgFlashScale : "Scală", -DlgFlashScaleAll : "Arată tot", -DlgFlashScaleNoBorder : "Fără margini (No border)", -DlgFlashScaleFit : "Potriveşte", - -// Link Dialog -DlgLnkWindowTitle : "Link (Legătură web)", -DlgLnkInfoTab : "Informaţii despre link (Legătură web)", -DlgLnkTargetTab : "Ţintă (Target)", - -DlgLnkType : "Tipul link-ului (al legăturii web)", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ancoră în această pagină", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protocol", -DlgLnkProtoOther : "<altul>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Selectaţi o ancoră", -DlgLnkAnchorByName : "după numele ancorei", -DlgLnkAnchorById : "după Id-ul elementului", -DlgLnkNoAnchors : "(Nicio ancoră disponibilă în document)", -DlgLnkEMail : "Adresă de e-mail", -DlgLnkEMailSubject : "Subiectul mesajului", -DlgLnkEMailBody : "Conţinutul mesajului", -DlgLnkUpload : "Încarcă", -DlgLnkBtnUpload : "Trimite la server", - -DlgLnkTarget : "Ţintă (Target)", -DlgLnkTargetFrame : "<frame>", -DlgLnkTargetPopup : "<fereastra popup>", -DlgLnkTargetBlank : "Fereastră nouă (_blank)", -DlgLnkTargetParent : "Fereastra părinte (_parent)", -DlgLnkTargetSelf : "Aceeaşi fereastră (_self)", -DlgLnkTargetTop : "Fereastra din topul ierarhiei (_top)", -DlgLnkTargetFrameName : "Numele frame-ului ţintă", -DlgLnkPopWinName : "Numele ferestrei popup", -DlgLnkPopWinFeat : "Proprietăţile ferestrei popup", -DlgLnkPopResize : "Scalabilă", -DlgLnkPopLocation : "Bara de locaţie", -DlgLnkPopMenu : "Bara de meniu", -DlgLnkPopScroll : "Scroll Bars", -DlgLnkPopStatus : "Bara de status", -DlgLnkPopToolbar : "Bara de opţiuni", -DlgLnkPopFullScrn : "Tot ecranul (Full Screen)(IE)", -DlgLnkPopDependent : "Dependent (Netscape)", -DlgLnkPopWidth : "Lăţime", -DlgLnkPopHeight : "Înălţime", -DlgLnkPopLeft : "Poziţia la stânga", -DlgLnkPopTop : "Poziţia la dreapta", - -DlnLnkMsgNoUrl : "Vă rugăm să scrieţi URL-ul", -DlnLnkMsgNoEMail : "Vă rugăm să scrieţi adresa de e-mail", -DlnLnkMsgNoAnchor : "Vă rugăm să selectaţi o ancoră", -DlnLnkMsgInvPopName : "Numele 'popup'-ului trebuie să înceapă cu un caracter alfabetic şi trebuie să nu conţină spaţii", - -// Color Dialog -DlgColorTitle : "Selectează culoare", -DlgColorBtnClear : "Curăţă", -DlgColorHighlight : "Subliniază (Highlight)", -DlgColorSelected : "Selectat", - -// Smiley Dialog -DlgSmileyTitle : "Inserează o figură expresivă (Emoticon)", - -// Special Character Dialog -DlgSpecialCharTitle : "Selectează caracter special", - -// Table Dialog -DlgTableTitle : "Proprietăţile tabelului", -DlgTableRows : "Linii", -DlgTableColumns : "Coloane", -DlgTableBorder : "Mărimea marginii", -DlgTableAlign : "Aliniament", -DlgTableAlignNotSet : "<Nesetat>", -DlgTableAlignLeft : "Stânga", -DlgTableAlignCenter : "Centru", -DlgTableAlignRight : "Dreapta", -DlgTableWidth : "Lăţime", -DlgTableWidthPx : "pixeli", -DlgTableWidthPc : "procente", -DlgTableHeight : "Înălţime", -DlgTableCellSpace : "Spaţiu între celule", -DlgTableCellPad : "Spaţiu în cadrul celulei", -DlgTableCaption : "Titlu (Caption)", -DlgTableSummary : "Rezumat", - -// Table Cell Dialog -DlgCellTitle : "Proprietăţile celulei", -DlgCellWidth : "Lăţime", -DlgCellWidthPx : "pixeli", -DlgCellWidthPc : "procente", -DlgCellHeight : "Înălţime", -DlgCellWordWrap : "Desparte cuvintele (Wrap)", -DlgCellWordWrapNotSet : "<Nesetat>", -DlgCellWordWrapYes : "Da", -DlgCellWordWrapNo : "Nu", -DlgCellHorAlign : "Aliniament orizontal", -DlgCellHorAlignNotSet : "<Nesetat>", -DlgCellHorAlignLeft : "Stânga", -DlgCellHorAlignCenter : "Centru", -DlgCellHorAlignRight: "Dreapta", -DlgCellVerAlign : "Aliniament vertical", -DlgCellVerAlignNotSet : "<Nesetat>", -DlgCellVerAlignTop : "Sus", -DlgCellVerAlignMiddle : "Mijloc", -DlgCellVerAlignBottom : "Jos", -DlgCellVerAlignBaseline : "Linia de jos (Baseline)", -DlgCellRowSpan : "Lungimea în linii (Span)", -DlgCellCollSpan : "Lungimea în coloane (Span)", -DlgCellBackColor : "Culoarea fundalului", -DlgCellBorderColor : "Culoarea marginii", -DlgCellBtnSelect : "Selectaţi...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Găseşte şi înlocuieşte", - -// Find Dialog -DlgFindTitle : "Găseşte", -DlgFindFindBtn : "Găseşte", -DlgFindNotFoundMsg : "Textul specificat nu a fost găsit.", - -// Replace Dialog -DlgReplaceTitle : "Replace", -DlgReplaceFindLbl : "Găseşte:", -DlgReplaceReplaceLbl : "Înlocuieşte cu:", -DlgReplaceCaseChk : "Deosebeşte majuscule de minuscule (Match case)", -DlgReplaceReplaceBtn : "Înlocuieşte", -DlgReplaceReplAllBtn : "Înlocuieşte tot", -DlgReplaceWordChk : "Doar cuvintele întregi", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+C).", - -PasteAsText : "Adaugă ca text simplu (Plain Text)", -PasteFromWord : "Adaugă din Word", - -DlgPasteMsg2 : "Vă rugăm adăugaţi în căsuţa următoare folosind tastatura (<STRONG>Ctrl+V</STRONG>) şi apăsaţi <STRONG>OK</STRONG>.", -DlgPasteSec : "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ă.", -DlgPasteIgnoreFont : "Ignoră definiţiile Font Face", -DlgPasteRemoveStyles : "Şterge definiţiile stilurilor", -DlgPasteCleanBox : "Şterge căsuţa", - -// Color Picker -ColorAutomatic : "Automatic", -ColorMoreColors : "Mai multe culori...", - -// Document Properties -DocProps : "Proprietăţile documentului", - -// Anchor Dialog -DlgAnchorTitle : "Proprietăţile ancorei", -DlgAnchorName : "Numele ancorei", -DlgAnchorErrorName : "Vă rugăm scrieţi numele ancorei", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nu e în dicţionar", -DlgSpellChangeTo : "Schimbă în", -DlgSpellBtnIgnore : "Ignoră", -DlgSpellBtnIgnoreAll : "Ignoră toate", -DlgSpellBtnReplace : "Înlocuieşte", -DlgSpellBtnReplaceAll : "Înlocuieşte tot", -DlgSpellBtnUndo : "Starea anterioară (undo)", -DlgSpellNoSuggestions : "- Fără sugestii -", -DlgSpellProgress : "Verificarea textului în desfăşurare...", -DlgSpellNoMispell : "Verificarea textului terminată: Nicio greşeală găsită", -DlgSpellNoChanges : "Verificarea textului terminată: Niciun cuvânt modificat", -DlgSpellOneChange : "Verificarea textului terminată: Un cuvânt modificat", -DlgSpellManyChanges : "Verificarea textului terminată: 1% cuvinte modificate", - -IeSpellDownload : "Unealta pentru verificat textul (Spell checker) neinstalată. Doriţi să o descărcaţi acum?", - -// Button Dialog -DlgButtonText : "Text (Valoare)", -DlgButtonType : "Tip", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Nume", -DlgCheckboxValue : "Valoare", -DlgCheckboxSelected : "Selectat", - -// Form Dialog -DlgFormName : "Nume", -DlgFormAction : "Acţiune", -DlgFormMethod : "Metodă", - -// Select Field Dialog -DlgSelectName : "Nume", -DlgSelectValue : "Valoare", -DlgSelectSize : "Mărime", -DlgSelectLines : "linii", -DlgSelectChkMulti : "Permite selecţii multiple", -DlgSelectOpAvail : "Opţiuni disponibile", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Valoare", -DlgSelectBtnAdd : "Adaugă", -DlgSelectBtnModify : "Modifică", -DlgSelectBtnUp : "Sus", -DlgSelectBtnDown : "Jos", -DlgSelectBtnSetValue : "Setează ca valoare selectată", -DlgSelectBtnDelete : "Şterge", - -// Textarea Dialog -DlgTextareaName : "Nume", -DlgTextareaCols : "Coloane", -DlgTextareaRows : "Linii", - -// Text Field Dialog -DlgTextName : "Nume", -DlgTextValue : "Valoare", -DlgTextCharWidth : "Lărgimea caracterului", -DlgTextMaxChars : "Caractere maxime", -DlgTextType : "Tip", -DlgTextTypeText : "Text", -DlgTextTypePass : "Parolă", - -// Hidden Field Dialog -DlgHiddenName : "Nume", -DlgHiddenValue : "Valoare", - -// Bulleted List Dialog -BulletedListProp : "Proprietăţile listei punctate (Bulleted List)", -NumberedListProp : "Proprietăţile listei numerotate (Numbered List)", -DlgLstStart : "Start", -DlgLstType : "Tip", -DlgLstTypeCircle : "Cerc", -DlgLstTypeDisc : "Disc", -DlgLstTypeSquare : "Pătrat", -DlgLstTypeNumbers : "Numere (1, 2, 3)", -DlgLstTypeLCase : "Minuscule-litere mici (a, b, c)", -DlgLstTypeUCase : "Majuscule (A, B, C)", -DlgLstTypeSRoman : "Cifre romane mici (i, ii, iii)", -DlgLstTypeLRoman : "Cifre romane mari (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "General", -DlgDocBackTab : "Fundal", -DlgDocColorsTab : "Culori si margini", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Titlul paginii", -DlgDocLangDir : "Descrierea limbii", -DlgDocLangDirLTR : "stânga-dreapta (LTR)", -DlgDocLangDirRTL : "dreapta-stânga (RTL)", -DlgDocLangCode : "Codul limbii", -DlgDocCharSet : "Encoding setului de caractere", -DlgDocCharSetCE : "Central european", -DlgDocCharSetCT : "Chinezesc tradiţional (Big5)", -DlgDocCharSetCR : "Chirilic", -DlgDocCharSetGR : "Grecesc", -DlgDocCharSetJP : "Japonez", -DlgDocCharSetKR : "Corean", -DlgDocCharSetTR : "Turcesc", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Vest european", -DlgDocCharSetOther : "Alt encoding al setului de caractere", - -DlgDocDocType : "Document Type Heading", -DlgDocDocTypeOther : "Alt Document Type Heading", -DlgDocIncXHTML : "Include declaraţii XHTML", -DlgDocBgColor : "Culoarea fundalului (Background Color)", -DlgDocBgImage : "URL-ul imaginii din fundal (Background Image URL)", -DlgDocBgNoScroll : "Fundal neflotant, fix (Nonscrolling Background)", -DlgDocCText : "Text", -DlgDocCLink : "Link (Legătură web)", -DlgDocCVisited : "Link (Legătură web) vizitat", -DlgDocCActive : "Link (Legătură web) activ", -DlgDocMargins : "Marginile paginii", -DlgDocMaTop : "Sus", -DlgDocMaLeft : "Stânga", -DlgDocMaRight : "Dreapta", -DlgDocMaBottom : "Jos", -DlgDocMeIndex : "Cuvinte cheie după care se va indexa documentul (separate prin virgulă)", -DlgDocMeDescr : "Descrierea documentului", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Drepturi de autor", -DlgDocPreview : "Previzualizare", - -// Templates Dialog -Templates : "Template-uri (şabloane)", -DlgTemplatesTitle : "Template-uri (şabloane) de conţinut", -DlgTemplatesSelMsg : "Vă rugăm selectaţi template-ul (şablonul) ce se va deschide în editor<br>(conţinutul actual va fi pierdut):", -DlgTemplatesLoading : "Se încarcă lista cu template-uri (şabloane). Vă rugăm aşteptaţi...", -DlgTemplatesNoTpl : "(Niciun template (şablon) definit)", -DlgTemplatesReplace : "Înlocuieşte cuprinsul actual", - -// About Dialog -DlgAboutAboutTab : "Despre", -DlgAboutBrowserInfoTab : "Informaţii browser", -DlgAboutLicenseTab : "Licenţă", -DlgAboutVersion : "versiune", -DlgAboutInfo : "Pentru informaţii amănunţite, vizitaţi" -}; diff --git a/editor/editor/lang/ru.js b/editor/editor/lang/ru.js @@ -1,516 +1,6 @@ /* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Russian language file. - */ +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Свернуть панель инструментов", -ToolbarExpand : "Развернуть панель инструментов", - -// Toolbar Items and Context Menu -Save : "Сохранить", -NewPage : "Новая страница", -Preview : "Предварительный просмотр", -Cut : "Вырезать", -Copy : "Копировать", -Paste : "Вставить", -PasteText : "Вставить только текст", -PasteWord : "Вставить из Word", -Print : "Печать", -SelectAll : "Выделить все", -RemoveFormat : "Убрать форматирование", -InsertLinkLbl : "Ссылка", -InsertLink : "Вставить/Редактировать ссылку", -RemoveLink : "Убрать ссылку", -Anchor : "Вставить/Редактировать якорь", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Изображение", -InsertImage : "Вставить/Редактировать изображение", -InsertFlashLbl : "Flash", -InsertFlash : "Вставить/Редактировать Flash", -InsertTableLbl : "Таблица", -InsertTable : "Вставить/Редактировать таблицу", -InsertLineLbl : "Линия", -InsertLine : "Вставить горизонтальную линию", -InsertSpecialCharLbl: "Специальный символ", -InsertSpecialChar : "Вставить специальный символ", -InsertSmileyLbl : "Смайлик", -InsertSmiley : "Вставить смайлик", -About : "О FCKeditor", -Bold : "Жирный", -Italic : "Курсив", -Underline : "Подчеркнутый", -StrikeThrough : "Зачеркнутый", -Subscript : "Подстрочный индекс", -Superscript : "Надстрочный индекс", -LeftJustify : "По левому краю", -CenterJustify : "По центру", -RightJustify : "По правому краю", -BlockJustify : "По ширине", -DecreaseIndent : "Уменьшить отступ", -IncreaseIndent : "Увеличить отступ", -Blockquote : "Blockquote", //MISSING -Undo : "Отменить", -Redo : "Повторить", -NumberedListLbl : "Нумерованный список", -NumberedList : "Вставить/Удалить нумерованный список", -BulletedListLbl : "Маркированный список", -BulletedList : "Вставить/Удалить маркированный список", -ShowTableBorders : "Показать бордюры таблицы", -ShowDetails : "Показать детали", -Style : "Стиль", -FontFormat : "Форматирование", -Font : "Шрифт", -FontSize : "Размер", -TextColor : "Цвет текста", -BGColor : "Цвет фона", -Source : "Источник", -Find : "Найти", -Replace : "Заменить", -SpellCheck : "Проверить орфографию", -UniversalKeyboard : "Универсальная клавиатура", -PageBreakLbl : "Разрыв страницы", -PageBreak : "Вставить разрыв страницы", - -Form : "Форма", -Checkbox : "Флаговая кнопка", -RadioButton : "Кнопка выбора", -TextField : "Текстовое поле", -Textarea : "Текстовая область", -HiddenField : "Скрытое поле", -Button : "Кнопка", -SelectionField : "Список", -ImageButton : "Кнопка с изображением", - -FitWindow : "Развернуть окно редактора", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Вставить ссылку", -CellCM : "Ячейка", -RowCM : "Строка", -ColumnCM : "Колонка", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Удалить строки", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Удалить колонки", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Удалить ячейки", -MergeCells : "Соединить ячейки", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Удалить таблицу", -CellProperties : "Свойства ячейки", -TableProperties : "Свойства таблицы", -ImageProperties : "Свойства изображения", -FlashProperties : "Свойства Flash", - -AnchorProp : "Свойства якоря", -ButtonProp : "Свойства кнопки", -CheckboxProp : "Свойства флаговой кнопки", -HiddenFieldProp : "Свойства скрытого поля", -RadioButtonProp : "Свойства кнопки выбора", -ImageButtonProp : "Свойства кнопки с изображением", -TextFieldProp : "Свойства текстового поля", -SelectionFieldProp : "Свойства списка", -TextareaProp : "Свойства текстовой области", -FormProp : "Свойства формы", - -FontFormats : "Нормальный;Форматированный;Адрес;Заголовок 1;Заголовок 2;Заголовок 3;Заголовок 4;Заголовок 5;Заголовок 6;Нормальный (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Обработка XHTML. Пожалуйста подождите...", -Done : "Сделано", -PasteWordConfirm : "Текст, который вы хотите вставить, похож на копируемый из Word. Вы хотите очистить его перед вставкой?", -NotCompatiblePaste : "Эта команда доступна для Internet Explorer версии 5.5 или выше. Вы хотите вставить без очистки?", -UnknownToolbarItem : "Не известный элемент панели инструментов \"%1\"", -UnknownCommand : "Не известное имя команды \"%1\"", -NotImplemented : "Команда не реализована", -UnknownToolbarSet : "Панель инструментов \"%1\" не существует", -NoActiveX : "Настройки безопасности вашего браузера могут ограничивать некоторые свойства редактора. Вы должны включить опцию \"Запускать элементы управления ActiveX и плугины\". Вы можете видеть ошибки и замечать отсутствие возможностей.", -BrowseServerBlocked : "Ресурсы браузера не могут быть открыты. Проверьте что блокировки всплывающих окон выключены.", -DialogBlocked : "Не возможно открыть окно диалога. Проверьте что блокировки всплывающих окон выключены.", - -// Dialogs -DlgBtnOK : "ОК", -DlgBtnCancel : "Отмена", -DlgBtnClose : "Закрыть", -DlgBtnBrowseServer : "Просмотреть на сервере", -DlgAdvancedTag : "Расширенный", -DlgOpOther : "<Другое>", -DlgInfoTab : "Информация", -DlgAlertUrl : "Пожалуйста вставьте URL", - -// General Dialogs Labels -DlgGenNotSet : "<не определено>", -DlgGenId : "Идентификатор", -DlgGenLangDir : "Направление языка", -DlgGenLangDirLtr : "Слева на право (LTR)", -DlgGenLangDirRtl : "Справа на лево (RTL)", -DlgGenLangCode : "Язык", -DlgGenAccessKey : "Горячая клавиша", -DlgGenName : "Имя", -DlgGenTabIndex : "Последовательность перехода", -DlgGenLongDescr : "Длинное описание URL", -DlgGenClass : "Класс CSS", -DlgGenTitle : "Заголовок", -DlgGenContType : "Тип содержимого", -DlgGenLinkCharset : "Кодировка", -DlgGenStyle : "Стиль CSS", - -// Image Dialog -DlgImgTitle : "Свойства изображения", -DlgImgInfoTab : "Информация о изображении", -DlgImgBtnUpload : "Послать на сервер", -DlgImgURL : "URL", -DlgImgUpload : "Закачать", -DlgImgAlt : "Альтернативный текст", -DlgImgWidth : "Ширина", -DlgImgHeight : "Высота", -DlgImgLockRatio : "Сохранять пропорции", -DlgBtnResetSize : "Сбросить размер", -DlgImgBorder : "Бордюр", -DlgImgHSpace : "Горизонтальный отступ", -DlgImgVSpace : "Вертикальный отступ", -DlgImgAlign : "Выравнивание", -DlgImgAlignLeft : "По левому краю", -DlgImgAlignAbsBottom: "Абс понизу", -DlgImgAlignAbsMiddle: "Абс посередине", -DlgImgAlignBaseline : "По базовой линии", -DlgImgAlignBottom : "Понизу", -DlgImgAlignMiddle : "Посередине", -DlgImgAlignRight : "По правому краю", -DlgImgAlignTextTop : "Текст наверху", -DlgImgAlignTop : "По верху", -DlgImgPreview : "Предварительный просмотр", -DlgImgAlertUrl : "Пожалуйста введите URL изображения", -DlgImgLinkTab : "Ссылка", - -// Flash Dialog -DlgFlashTitle : "Свойства Flash", -DlgFlashChkPlay : "Авто проигрывание", -DlgFlashChkLoop : "Повтор", -DlgFlashChkMenu : "Включить меню Flash", -DlgFlashScale : "Масштабировать", -DlgFlashScaleAll : "Показывать все", -DlgFlashScaleNoBorder : "Без бордюра", -DlgFlashScaleFit : "Точное совпадение", - -// Link Dialog -DlgLnkWindowTitle : "Ссылка", -DlgLnkInfoTab : "Информация ссылки", -DlgLnkTargetTab : "Цель", - -DlgLnkType : "Тип ссылки", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Якорь на эту страницу", -DlgLnkTypeEMail : "Эл. почта", -DlgLnkProto : "Протокол", -DlgLnkProtoOther : "<другое>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Выберите якорь", -DlgLnkAnchorByName : "По имени якоря", -DlgLnkAnchorById : "По идентификатору элемента", -DlgLnkNoAnchors : "(Нет якорей доступных в этом документе)", -DlgLnkEMail : "Адрес эл. почты", -DlgLnkEMailSubject : "Заголовок сообщения", -DlgLnkEMailBody : "Тело сообщения", -DlgLnkUpload : "Закачать", -DlgLnkBtnUpload : "Послать на сервер", - -DlgLnkTarget : "Цель", -DlgLnkTargetFrame : "<фрейм>", -DlgLnkTargetPopup : "<всплывающее окно>", -DlgLnkTargetBlank : "Новое окно (_blank)", -DlgLnkTargetParent : "Родительское окно (_parent)", -DlgLnkTargetSelf : "Тоже окно (_self)", -DlgLnkTargetTop : "Самое верхнее окно (_top)", -DlgLnkTargetFrameName : "Имя целевого фрейма", -DlgLnkPopWinName : "Имя всплывающего окна", -DlgLnkPopWinFeat : "Свойства всплывающего окна", -DlgLnkPopResize : "Изменяющееся в размерах", -DlgLnkPopLocation : "Панель локации", -DlgLnkPopMenu : "Панель меню", -DlgLnkPopScroll : "Полосы прокрутки", -DlgLnkPopStatus : "Строка состояния", -DlgLnkPopToolbar : "Панель инструментов", -DlgLnkPopFullScrn : "Полный экран (IE)", -DlgLnkPopDependent : "Зависимый (Netscape)", -DlgLnkPopWidth : "Ширина", -DlgLnkPopHeight : "Высота", -DlgLnkPopLeft : "Позиция слева", -DlgLnkPopTop : "Позиция сверху", - -DlnLnkMsgNoUrl : "Пожалуйста введите URL ссылки", -DlnLnkMsgNoEMail : "Пожалуйста введите адрес эл. почты", -DlnLnkMsgNoAnchor : "Пожалуйста выберете якорь", -DlnLnkMsgInvPopName : "Название вспывающего окна должно начинаться буквы и не может содержать пробелов", - -// Color Dialog -DlgColorTitle : "Выберите цвет", -DlgColorBtnClear : "Очистить", -DlgColorHighlight : "Подсвеченный", -DlgColorSelected : "Выбранный", - -// Smiley Dialog -DlgSmileyTitle : "Вставить смайлик", - -// Special Character Dialog -DlgSpecialCharTitle : "Выберите специальный символ", - -// Table Dialog -DlgTableTitle : "Свойства таблицы", -DlgTableRows : "Строки", -DlgTableColumns : "Колонки", -DlgTableBorder : "Размер бордюра", -DlgTableAlign : "Выравнивание", -DlgTableAlignNotSet : "<Не уст.>", -DlgTableAlignLeft : "Слева", -DlgTableAlignCenter : "По центру", -DlgTableAlignRight : "Справа", -DlgTableWidth : "Ширина", -DlgTableWidthPx : "пикселей", -DlgTableWidthPc : "процентов", -DlgTableHeight : "Высота", -DlgTableCellSpace : "Промежуток (spacing)", -DlgTableCellPad : "Отступ (padding)", -DlgTableCaption : "Заголовок", -DlgTableSummary : "Резюме", - -// Table Cell Dialog -DlgCellTitle : "Свойства ячейки", -DlgCellWidth : "Ширина", -DlgCellWidthPx : "пикселей", -DlgCellWidthPc : "процентов", -DlgCellHeight : "Высота", -DlgCellWordWrap : "Заворачивание текста", -DlgCellWordWrapNotSet : "<Не уст.>", -DlgCellWordWrapYes : "Да", -DlgCellWordWrapNo : "Нет", -DlgCellHorAlign : "Гор. выравнивание", -DlgCellHorAlignNotSet : "<Не уст.>", -DlgCellHorAlignLeft : "Слева", -DlgCellHorAlignCenter : "По центру", -DlgCellHorAlignRight: "Справа", -DlgCellVerAlign : "Верт. выравнивание", -DlgCellVerAlignNotSet : "<Не уст.>", -DlgCellVerAlignTop : "Сверху", -DlgCellVerAlignMiddle : "Посередине", -DlgCellVerAlignBottom : "Снизу", -DlgCellVerAlignBaseline : "По базовой линии", -DlgCellRowSpan : "Диапазон строк (span)", -DlgCellCollSpan : "Диапазон колонок (span)", -DlgCellBackColor : "Цвет фона", -DlgCellBorderColor : "Цвет бордюра", -DlgCellBtnSelect : "Выберите...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Найти", -DlgFindFindBtn : "Найти", -DlgFindNotFoundMsg : "Указанный текст не найден.", - -// Replace Dialog -DlgReplaceTitle : "Заменить", -DlgReplaceFindLbl : "Найти:", -DlgReplaceReplaceLbl : "Заменить на:", -DlgReplaceCaseChk : "Учитывать регистр", -DlgReplaceReplaceBtn : "Заменить", -DlgReplaceReplAllBtn : "Заменить все", -DlgReplaceWordChk : "Совпадение целых слов", - -// Paste Operations / Dialog -PasteErrorCut : "Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции вырезания. Пожалуйста используйте клавиатуру для этого (Ctrl+X).", -PasteErrorCopy : "Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции копирования. Пожалуйста используйте клавиатуру для этого (Ctrl+C).", - -PasteAsText : "Вставить только текст", -PasteFromWord : "Вставить из Word", - -DlgPasteMsg2 : "Пожалуйста вставьте текст в прямоугольник используя сочетание клавиш (<STRONG>Ctrl+V</STRONG>) и нажмите <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Игнорировать определения гарнитуры", -DlgPasteRemoveStyles : "Убрать определения стилей", -DlgPasteCleanBox : "Очистить", - -// Color Picker -ColorAutomatic : "Автоматический", -ColorMoreColors : "Цвета...", - -// Document Properties -DocProps : "Свойства документа", - -// Anchor Dialog -DlgAnchorTitle : "Свойства якоря", -DlgAnchorName : "Имя якоря", -DlgAnchorErrorName : "Пожалуйста введите имя якоря", - -// Speller Pages Dialog -DlgSpellNotInDic : "Нет в словаре", -DlgSpellChangeTo : "Заменить на", -DlgSpellBtnIgnore : "Игнорировать", -DlgSpellBtnIgnoreAll : "Игнорировать все", -DlgSpellBtnReplace : "Заменить", -DlgSpellBtnReplaceAll : "Заменить все", -DlgSpellBtnUndo : "Отменить", -DlgSpellNoSuggestions : "- Нет предположений -", -DlgSpellProgress : "Идет проверка орфографии...", -DlgSpellNoMispell : "Проверка орфографии закончена: ошибок не найдено", -DlgSpellNoChanges : "Проверка орфографии закончена: ни одного слова не изменено", -DlgSpellOneChange : "Проверка орфографии закончена: одно слово изменено", -DlgSpellManyChanges : "Проверка орфографии закончена: 1% слов изменен", - -IeSpellDownload : "Модуль проверки орфографии не установлен. Хотите скачать его сейчас?", - -// Button Dialog -DlgButtonText : "Текст (Значение)", -DlgButtonType : "Тип", -DlgButtonTypeBtn : "Кнопка", -DlgButtonTypeSbm : "Отправить", -DlgButtonTypeRst : "Сбросить", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Имя", -DlgCheckboxValue : "Значение", -DlgCheckboxSelected : "Выбранная", - -// Form Dialog -DlgFormName : "Имя", -DlgFormAction : "Действие", -DlgFormMethod : "Метод", - -// Select Field Dialog -DlgSelectName : "Имя", -DlgSelectValue : "Значение", -DlgSelectSize : "Размер", -DlgSelectLines : "линии", -DlgSelectChkMulti : "Разрешить множественный выбор", -DlgSelectOpAvail : "Доступные варианты", -DlgSelectOpText : "Текст", -DlgSelectOpValue : "Значение", -DlgSelectBtnAdd : "Добавить", -DlgSelectBtnModify : "Модифицировать", -DlgSelectBtnUp : "Вверх", -DlgSelectBtnDown : "Вниз", -DlgSelectBtnSetValue : "Установить как выбранное значение", -DlgSelectBtnDelete : "Удалить", - -// Textarea Dialog -DlgTextareaName : "Имя", -DlgTextareaCols : "Колонки", -DlgTextareaRows : "Строки", - -// Text Field Dialog -DlgTextName : "Имя", -DlgTextValue : "Значение", -DlgTextCharWidth : "Ширина", -DlgTextMaxChars : "Макс. кол-во символов", -DlgTextType : "Тип", -DlgTextTypeText : "Текст", -DlgTextTypePass : "Пароль", - -// Hidden Field Dialog -DlgHiddenName : "Имя", -DlgHiddenValue : "Значение", - -// Bulleted List Dialog -BulletedListProp : "Свойства маркированного списка", -NumberedListProp : "Свойства нумерованного списка", -DlgLstStart : "Начало", -DlgLstType : "Тип", -DlgLstTypeCircle : "Круг", -DlgLstTypeDisc : "Диск", -DlgLstTypeSquare : "Квадрат", -DlgLstTypeNumbers : "Номера (1, 2, 3)", -DlgLstTypeLCase : "Буквы нижнего регистра (a, b, c)", -DlgLstTypeUCase : "Буквы верхнего регистра (A, B, C)", -DlgLstTypeSRoman : "Малые римские буквы (i, ii, iii)", -DlgLstTypeLRoman : "Большие римские буквы (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Общие", -DlgDocBackTab : "Задний фон", -DlgDocColorsTab : "Цвета и отступы", -DlgDocMetaTab : "Мета данные", - -DlgDocPageTitle : "Заголовок страницы", -DlgDocLangDir : "Направление текста", -DlgDocLangDirLTR : "Слева на право (LTR)", -DlgDocLangDirRTL : "Справа на лево (RTL)", -DlgDocLangCode : "Код языка", -DlgDocCharSet : "Кодировка набора символов", -DlgDocCharSetCE : "Центрально-европейская", -DlgDocCharSetCT : "Китайская традиционная (Big5)", -DlgDocCharSetCR : "Кириллица", -DlgDocCharSetGR : "Греческая", -DlgDocCharSetJP : "Японская", -DlgDocCharSetKR : "Корейская", -DlgDocCharSetTR : "Турецкая", -DlgDocCharSetUN : "Юникод (UTF-8)", -DlgDocCharSetWE : "Западно-европейская", -DlgDocCharSetOther : "Другая кодировка набора символов", - -DlgDocDocType : "Заголовок типа документа", -DlgDocDocTypeOther : "Другой заголовок типа документа", -DlgDocIncXHTML : "Включить XHTML объявления", -DlgDocBgColor : "Цвет фона", -DlgDocBgImage : "URL изображения фона", -DlgDocBgNoScroll : "Нескроллируемый фон", -DlgDocCText : "Текст", -DlgDocCLink : "Ссылка", -DlgDocCVisited : "Посещенная ссылка", -DlgDocCActive : "Активная ссылка", -DlgDocMargins : "Отступы страницы", -DlgDocMaTop : "Верхний", -DlgDocMaLeft : "Левый", -DlgDocMaRight : "Правый", -DlgDocMaBottom : "Нижний", -DlgDocMeIndex : "Ключевые слова документа (разделенные запятой)", -DlgDocMeDescr : "Описание документа", -DlgDocMeAuthor : "Автор", -DlgDocMeCopy : "Авторские права", -DlgDocPreview : "Предварительный просмотр", - -// Templates Dialog -Templates : "Шаблоны", -DlgTemplatesTitle : "Шаблоны содержимого", -DlgTemplatesSelMsg : "Пожалуйста выберете шаблон для открытия в редакторе<br>(текущее содержимое будет потеряно):", -DlgTemplatesLoading : "Загрузка списка шаблонов. Пожалуйста подождите...", -DlgTemplatesNoTpl : "(Ни одного шаблона не определено)", -DlgTemplatesReplace : "Заменить текущее содержание", - -// About Dialog -DlgAboutAboutTab : "О программе", -DlgAboutBrowserInfoTab : "Информация браузера", -DlgAboutLicenseTab : "Лицензия", -DlgAboutVersion : "Версия", -DlgAboutInfo : "Для большей информации, посетите" -}; +CKEDITOR.lang.ru={dir:'ltr',editorTitle:'Rich text editor, %1, press ALT 0 for help.',toolbar:'Toolbar',editor:'Rich Text Editor',source:'Источник',newPage:'Новая страница',save:'Сохранить',preview:'Предварительный просмотр',cut:'Вырезать',copy:'Копировать',paste:'Вставить',print:'Печать',underline:'Подчеркнутый',bold:'Жирный',italic:'Курсив',selectAll:'Выделить все',removeFormat:'Убрать форматирование',strike:'Зачеркнутый',subscript:'Подстрочный индекс',superscript:'Надстрочный индекс',horizontalrule:'Вставить горизонтальную линию',pagebreak:'Вставить разрыв страницы',unlink:'Убрать ссылку',undo:'Отменить',redo:'Повторить',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',preview:'Preview',generalTab:'Информация',advancedTab:'Расширенный',validateNumberFailed:'Это значение не является числом.',confirmNewPage:'Все несохраненные изменения будут утеряны. Вы уверены, что хотите перейти на другую страницу?',confirmCancel:'Некоторые опции были изменены. Вы уверены, что хотите закрыть диалог?',options:'Options',target:'Target',targetNew:'New Window (_blank)',targetTop:'Topmost Window (_top)',targetSelf:'Same Window (_self)',targetParent:'Parent Window (_parent)',unavailable:'%1<span class="cke_accessibility">, недоступно</span>'},specialChar:{toolbar:'Вставить специальный символ',title:'Выберите специальный символ'},link:{toolbar:'Вставить/Редактировать ссылку',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:'Тип содержимого',cssClasses:'Класс CSS',charset:'Кодировка',styles:'Стиль CSS',selectAnchor:'Выберите якорь',anchorName:'По имени якоря',anchorId:'По идентификатору элемента',emailAddress:'Адрес эл. почты',emailSubject:'Заголовок сообщения',emailBody:'Тело сообщения',noAnchors:'(Нет якорей доступных в этом документе)',noUrl:'Пожалуйста, введите URL ссылки',noEmail:'Пожалуйста, введите адрес эл. почты'},anchor:{toolbar:'Вставить/Редактировать якорь',menu:'Свойства якоря',title:'Свойства якоря',name:'Имя якоря',errorName:'Пожалуйста, введите имя якоря'},findAndReplace:{title:'Найти и заменить',find:'Найти',replace:'Заменить',findWhat:'Найти:',replaceWith:'Заменить на:',notFoundMsg:'Указанный текст не найден.',matchCase:'Учитывать регистр',matchWord:'Только слово целиком',matchCyclic:'Начинать с начала после достижения конца',replaceAll:'Заменить все',replaceSuccessMsg:'%1 совпадение(й) заменено.'},table:{toolbar:'Таблица',title:'Свойства таблицы',menu:'Свойства таблицы',deleteTable:'Удалить таблицу',rows:'Строки',columns:'Колонки',border:'Размер бордюра',align:'Выравнивание',alignLeft:'Слева',alignCenter:'По центру',alignRight:'Справа',width:'Ширина',widthPx:'пикселей',widthPc:'процентов',widthUnit:'width unit',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:{title:'Свойства кнопки',text:'Текст (Значение)',type:'Тип',typeBtn:'Кнопка',typeSbm:'Отправить',typeRst:'Сбросить'},checkboxAndRadio:{checkboxTitle:'Свойства флаговой кнопки',radioTitle:'Свойства кнопки выбора',value:'Значение',selected:'Выбранная'},form:{title:'Свойства формы',menu:'Свойства формы',action:'Действие',method:'Метод',encoding:'Кодировка'},select:{title:'Свойства списка',selectInfo:'Информация',opAvail:'Доступные варианты',value:'Значение',size:'Размер',lines:'линии',chkMulti:'Разрешить множественный выбор',opText:'Текст',opValue:'Значение',btnAdd:'Добавить',btnModify:'Модифицировать',btnUp:'Вверх',btnDown:'Вниз',btnSetValue:'Установить как выбранное значение',btnDelete:'Удалить'},textarea:{title:'Свойства текстовой области',cols:'Колонки',rows:'Строки'},textfield:{title:'Свойства текстового поля',name:'Имя',value:'Значение',charWidth:'Ширина',maxChars:'Макс. кол-во символов',type:'Тип',typeText:'Текст',typePass:'Пароль'},hidden:{title:'Свойства скрытого поля',name:'Имя',value:'Значение'},image:{title:'Свойства изображения',titleButton:'Свойства кнопки с изображением',menu:'Свойства изображения',infoTab:'Информация о изображении',btnUpload:'Отправить на сервер',upload:'Закачать',alt:'Альтернативный текст',width:'Ширина',height:'Высота',lockRatio:'Сохранять пропорции',unlockRatio:'Unlock Ratio',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.',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:{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:'Вертикальный отступ задается числом.'},spellCheck:{toolbar:'Проверить орфографию',title:'Проверка правописания',notAvailable:'Извините, сервис сейчас недоступен.',errorLoading:'Ошибка при загрузке служебного хоста приложения: %s.',notInDic:'Нет в словаре',changeTo:'Заменить на',btnIgnore:'Игнорировать',btnIgnoreAll:'Игнорировать все',btnReplace:'Заменить',btnReplaceAll:'Заменить все',btnUndo:'Отменить',noSuggestions:'- Нет предположений -',progress:'Идет проверка орфографии...',noMispell:'Проверка орфографии закончена: ошибок не найдено',noChanges:'Проверка орфографии закончена: ни одного слова не изменено',oneChange:'Проверка орфографии закончена: одно слово изменено',manyChanges:'Проверка орфографии закончена: 1% слов изменено',ieSpellDownload:'Модуль проверки орфографии не установлен. Хотите скачать его сейчас?'},smiley:{toolbar:'Смайлик',title:'Вставить смайлик'},elementsPath:{eleLabel:'Elements path',eleTitle:'%1 элемент'},numberedlist:'Нумерованный список',bulletedlist:'Маркированный список',indent:'Увеличить отступ',outdent:'Уменьшить отступ',justify:{left:'По левому краю',center:'По центру',right:'По правому краю',block:'По ширине'},blockquote:'Цитата',clipboard:{title:'Вставить',cutError:'Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции вырезания. Пожалуйста, используйте клавиатуру для этого (Ctrl+X).',copyError:'Настройки безопасности вашего браузера не позволяют редактору автоматически выполнять операции копирования. Пожалуйста, используйте клавиатуру для этого (Ctrl+C).',pasteMsg:'Пожалуйста, вставьте текст в прямоугольник, используя сочетание клавиш (<STRONG>Ctrl+V</STRONG>), и нажмите <STRONG>OK</STRONG>.',securityMsg:'По причине настроек безопасности браузера, редактор не имеет доступа к данным буфера обмена напрямую. Вам необходимо вставить текст снова в это окно.',pasteArea:'Paste Area'},pastefromword:{confirmCleanup:'Текст, который вы хотите вставить, похож на копируемый из Word. Вы хотите очистить его перед вставкой?',toolbar:'Вставить из Word',title:'Вставить из Word',error:'Невозможно очистить вставленные данные из-за внутренней ошибки'},pasteText:{button:'Вставить только текст',title:'Вставить только текст'},templates:{button:'Шаблоны',title:'Шаблоны содержимого',insertOption:'Заменить текущее содержание',selectPromptMsg:'Пожалуйста, выберете шаблон для открытия в редакторе<br>(текущее содержимое будет потеряно):',emptyListMsg:'(Ни одного шаблона не определено)'},showBlocks:'Показать блоки',stylesCombo:{label:'Стиль',panelTitle:'Formatting Styles',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',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:'Проверка Орфографии по Мере Ввода',enable:'Включить ПОМВ',disable:'Отключить ПОМВ',about:'О ПОМВ',toggle:'Переключить ПОМВ',options:'Настройки',langs:'Языки',moreSuggestions:'Больше вариантов',ignore:'Пропустить',ignoreAll:'Пропустить всё',addWord:'Добавить слово',emptyDic:'Имя словаря должно быть не пустым.',optionsTab:'Настройки',languagesTab:'Языки',dictionariesTab:'Словари',aboutTab:'О словарях'},about:{title:'О программе CKEditor',dlgTitle:'О программе CKEditor',moreInfo:'По вопросам лицензирования обращайтесь на наш сайт:',copy:'Copyright &copy; $1. Все права защищены.'},maximize:'Максимизировать',minimize:'Минимизировать',fakeobjects:{anchor:'Якорь',flash:'Flash-анимация',div:'Разрыв страницы',unknown:'Неизвестный объект'},resize:'Перетащите для изменения размера',colordialog:{title:'Выберите цвет',highlight:'Выделить',selected:'Выбранное',clear:'Очистить'},toolbarCollapse:'Свернуть панель инструментов',toolbarExpand:'Развернуть панель инструментов'}; diff --git a/editor/editor/lang/sk.js b/editor/editor/lang/sk.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Slovak language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Skryť panel nástrojov", -ToolbarExpand : "Zobraziť panel nástrojov", - -// Toolbar Items and Context Menu -Save : "Uložit", -NewPage : "Nová stránka", -Preview : "Náhľad", -Cut : "Vystrihnúť", -Copy : "Kopírovať", -Paste : "Vložiť", -PasteText : "Vložiť ako čistý text", -PasteWord : "Vložiť z Wordu", -Print : "Tlač", -SelectAll : "Vybrať všetko", -RemoveFormat : "Odstrániť formátovanie", -InsertLinkLbl : "Odkaz", -InsertLink : "Vložiť/zmeniť odkaz", -RemoveLink : "Odstrániť odkaz", -Anchor : "Vložiť/zmeniť kotvu", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Obrázok", -InsertImage : "Vložiť/zmeniť obrázok", -InsertFlashLbl : "Flash", -InsertFlash : "Vložiť/zmeniť Flash", -InsertTableLbl : "Tabuľka", -InsertTable : "Vložiť/zmeniť tabuľku", -InsertLineLbl : "Čiara", -InsertLine : "Vložiť vodorovnú čiaru", -InsertSpecialCharLbl: "Špeciálne znaky", -InsertSpecialChar : "Vložiť špeciálne znaky", -InsertSmileyLbl : "Smajlíky", -InsertSmiley : "Vložiť smajlíka", -About : "O aplikáci FCKeditor", -Bold : "Tučné", -Italic : "Kurzíva", -Underline : "Podčiarknuté", -StrikeThrough : "Prečiarknuté", -Subscript : "Dolný index", -Superscript : "Horný index", -LeftJustify : "Zarovnať vľavo", -CenterJustify : "Zarovnať na stred", -RightJustify : "Zarovnať vpravo", -BlockJustify : "Zarovnať do bloku", -DecreaseIndent : "Zmenšiť odsadenie", -IncreaseIndent : "Zväčšiť odsadenie", -Blockquote : "Blockquote", //MISSING -Undo : "Späť", -Redo : "Znovu", -NumberedListLbl : "Číslovanie", -NumberedList : "Vložiť/odstrániť číslovaný zoznam", -BulletedListLbl : "Odrážky", -BulletedList : "Vložiť/odstraniť odrážky", -ShowTableBorders : "Zobraziť okraje tabuliek", -ShowDetails : "Zobraziť podrobnosti", -Style : "Štýl", -FontFormat : "Formát", -Font : "Písmo", -FontSize : "Veľkosť", -TextColor : "Farba textu", -BGColor : "Farba pozadia", -Source : "Zdroj", -Find : "Hľadať", -Replace : "Nahradiť", -SpellCheck : "Kontrola pravopisu", -UniversalKeyboard : "Univerzálna klávesnica", -PageBreakLbl : "Oddeľovač stránky", -PageBreak : "Vložiť oddeľovač stránky", - -Form : "Formulár", -Checkbox : "Zaškrtávacie políčko", -RadioButton : "Prepínač", -TextField : "Textové pole", -Textarea : "Textová oblasť", -HiddenField : "Skryté pole", -Button : "Tlačíidlo", -SelectionField : "Rozbaľovací zoznam", -ImageButton : "Obrázkové tlačidlo", - -FitWindow : "Maximalizovať veľkosť okna editora", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Zmeniť odkaz", -CellCM : "Bunka", -RowCM : "Riadok", -ColumnCM : "Stĺpec", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Vymazať riadok", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Zmazať stĺpec", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Vymazať bunky", -MergeCells : "Zlúčiť bunky", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Vymazať tabuľku", -CellProperties : "Vlastnosti bunky", -TableProperties : "Vlastnosti tabuľky", -ImageProperties : "Vlastnosti obrázku", -FlashProperties : "Vlastnosti Flashu", - -AnchorProp : "Vlastnosti kotvy", -ButtonProp : "Vlastnosti tlačidla", -CheckboxProp : "Vlastnosti zaškrtávacieho políčka", -HiddenFieldProp : "Vlastnosti skrytého poľa", -RadioButtonProp : "Vlastnosti prepínača", -ImageButtonProp : "Vlastnosti obrázkového tlačidla", -TextFieldProp : "Vlastnosti textového poľa", -SelectionFieldProp : "Vlastnosti rozbaľovacieho zoznamu", -TextareaProp : "Vlastnosti textovej oblasti", -FormProp : "Vlastnosti formulára", - -FontFormats : "Normálny;Formátovaný;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6;Odsek (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Prebieha spracovanie XHTML. Čakajte prosím...", -Done : "Dokončené.", -PasteWordConfirm : "Vyzerá to tak, že vkladaný text je kopírovaný z Wordu. Chcete ho pred vložením vyčistiť?", -NotCompatiblePaste : "Tento príkaz je dostupný len v prehliadači Internet Explorer verzie 5.5 alebo vyššej. Chcete vložiť text bez vyčistenia?", -UnknownToolbarItem : "Neznáma položka panela nástrojov \"%1\"", -UnknownCommand : "Neznámy príkaz \"%1\"", -NotImplemented : "Príkaz nie je implementovaný", -UnknownToolbarSet : "Panel nástrojov \"%1\" neexistuje", -NoActiveX : "Bezpečnostné nastavenia vášho prehliadača môžu obmedzovať niektoré funkcie editora. Pre ich plnú funkčnosť musíte zapnúť voľbu \"Spúšťať ActiveX moduly a zásuvné moduly\", inak sa môžete stretnúť s chybami a nefunkčnosťou niektorých funkcií.", -BrowseServerBlocked : "Prehliadač zdrojových prvkov nebolo možné otvoriť. Uistite sa, že máte vypnuté všetky blokovače vyskakujúcich okien.", -DialogBlocked : "Dialógové okno nebolo možné otvoriť. Uistite sa, že máte vypnuté všetky blokovače vyskakujúcich okien.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Zrušiť", -DlgBtnClose : "Zavrieť", -DlgBtnBrowseServer : "Prechádzať server", -DlgAdvancedTag : "Rozšírené", -DlgOpOther : "<Ďalšie>", -DlgInfoTab : "Info", -DlgAlertUrl : "Prosím vložte URL", - -// General Dialogs Labels -DlgGenNotSet : "<nenastavené>", -DlgGenId : "Id", -DlgGenLangDir : "Orientácia jazyka", -DlgGenLangDirLtr : "Zľava doprava (LTR)", -DlgGenLangDirRtl : "Sprava doľava (RTL)", -DlgGenLangCode : "Kód jazyka", -DlgGenAccessKey : "Prístupový kľúč", -DlgGenName : "Meno", -DlgGenTabIndex : "Poradie prvku", -DlgGenLongDescr : "Dlhý popis URL", -DlgGenClass : "Trieda štýlu", -DlgGenTitle : "Pomocný titulok", -DlgGenContType : "Pomocný typ obsahu", -DlgGenLinkCharset : "Priradená znaková sada", -DlgGenStyle : "Štýl", - -// Image Dialog -DlgImgTitle : "Vlastnosti obrázku", -DlgImgInfoTab : "Informácie o obrázku", -DlgImgBtnUpload : "Odoslať na server", -DlgImgURL : "URL", -DlgImgUpload : "Odoslať", -DlgImgAlt : "Alternatívny text", -DlgImgWidth : "Šírka", -DlgImgHeight : "Výška", -DlgImgLockRatio : "Zámok", -DlgBtnResetSize : "Pôvodná veľkosť", -DlgImgBorder : "Okraje", -DlgImgHSpace : "H-medzera", -DlgImgVSpace : "V-medzera", -DlgImgAlign : "Zarovnanie", -DlgImgAlignLeft : "Vľavo", -DlgImgAlignAbsBottom: "Úplne dole", -DlgImgAlignAbsMiddle: "Do stredu", -DlgImgAlignBaseline : "Na základňu", -DlgImgAlignBottom : "Dole", -DlgImgAlignMiddle : "Na stred", -DlgImgAlignRight : "Vpravo", -DlgImgAlignTextTop : "Na horný okraj textu", -DlgImgAlignTop : "Nahor", -DlgImgPreview : "Náhľad", -DlgImgAlertUrl : "Zadajte prosím URL obrázku", -DlgImgLinkTab : "Odkaz", - -// Flash Dialog -DlgFlashTitle : "Vlastnosti Flashu", -DlgFlashChkPlay : "Automatické prehrávanie", -DlgFlashChkLoop : "Opakovanie", -DlgFlashChkMenu : "Povoliť Flash Menu", -DlgFlashScale : "Mierka", -DlgFlashScaleAll : "Zobraziť mierku", -DlgFlashScaleNoBorder : "Bez okrajov", -DlgFlashScaleFit : "Roztiahnuť na celé", - -// Link Dialog -DlgLnkWindowTitle : "Odkaz", -DlgLnkInfoTab : "Informácie o odkaze", -DlgLnkTargetTab : "Cieľ", - -DlgLnkType : "Typ odkazu", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Kotva v tejto stránke", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<iný>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Vybrať kotvu", -DlgLnkAnchorByName : "Podľa mena kotvy", -DlgLnkAnchorById : "Podľa Id objektu", -DlgLnkNoAnchors : "(V stránke nie je definovaná žiadna kotva)", -DlgLnkEMail : "E-Mailová adresa", -DlgLnkEMailSubject : "Predmet správy", -DlgLnkEMailBody : "Telo správy", -DlgLnkUpload : "Odoslať", -DlgLnkBtnUpload : "Odoslať na server", - -DlgLnkTarget : "Cieľ", -DlgLnkTargetFrame : "<rámec>", -DlgLnkTargetPopup : "<vyskakovacie okno>", -DlgLnkTargetBlank : "Nové okno (_blank)", -DlgLnkTargetParent : "Rodičovské okno (_parent)", -DlgLnkTargetSelf : "Rovnaké okno (_self)", -DlgLnkTargetTop : "Hlavné okno (_top)", -DlgLnkTargetFrameName : "Meno rámu cieľa", -DlgLnkPopWinName : "Názov vyskakovacieho okna", -DlgLnkPopWinFeat : "Vlastnosti vyskakovacieho okna", -DlgLnkPopResize : "Meniteľná veľkosť", -DlgLnkPopLocation : "Panel umiestnenia", -DlgLnkPopMenu : "Panel ponuky", -DlgLnkPopScroll : "Posuvníky", -DlgLnkPopStatus : "Stavový riadok", -DlgLnkPopToolbar : "Panel nástrojov", -DlgLnkPopFullScrn : "Celá obrazovka (IE)", -DlgLnkPopDependent : "Závislosť (Netscape)", -DlgLnkPopWidth : "Šírka", -DlgLnkPopHeight : "Výška", -DlgLnkPopLeft : "Ľavý okraj", -DlgLnkPopTop : "Horný okraj", - -DlnLnkMsgNoUrl : "Zadajte prosím URL odkazu", -DlnLnkMsgNoEMail : "Zadajte prosím e-mailovú adresu", -DlnLnkMsgNoAnchor : "Vyberte prosím kotvu", -DlnLnkMsgInvPopName : "Názov vyskakovacieho okna sa musá začínať písmenom a nemôže obsahovať medzery", - -// Color Dialog -DlgColorTitle : "Výber farby", -DlgColorBtnClear : "Vymazať", -DlgColorHighlight : "Zvýraznená", -DlgColorSelected : "Vybraná", - -// Smiley Dialog -DlgSmileyTitle : "Vkladanie smajlíkov", - -// Special Character Dialog -DlgSpecialCharTitle : "Výber špeciálneho znaku", - -// Table Dialog -DlgTableTitle : "Vlastnosti tabuľky", -DlgTableRows : "Riadky", -DlgTableColumns : "Stĺpce", -DlgTableBorder : "Ohraničenie", -DlgTableAlign : "Zarovnanie", -DlgTableAlignNotSet : "<nenastavené>", -DlgTableAlignLeft : "Vľavo", -DlgTableAlignCenter : "Na stred", -DlgTableAlignRight : "Vpravo", -DlgTableWidth : "Šírka", -DlgTableWidthPx : "pixelov", -DlgTableWidthPc : "percent", -DlgTableHeight : "Výška", -DlgTableCellSpace : "Vzdialenosť buniek", -DlgTableCellPad : "Odsadenie obsahu", -DlgTableCaption : "Popis", -DlgTableSummary : "Prehľad", - -// Table Cell Dialog -DlgCellTitle : "Vlastnosti bunky", -DlgCellWidth : "Šírka", -DlgCellWidthPx : "bodov", -DlgCellWidthPc : "percent", -DlgCellHeight : "Výška", -DlgCellWordWrap : "Zalamovannie", -DlgCellWordWrapNotSet : "<nenastavené>", -DlgCellWordWrapYes : "Áno", -DlgCellWordWrapNo : "Nie", -DlgCellHorAlign : "Vodorovné zarovnanie", -DlgCellHorAlignNotSet : "<nenastavené>", -DlgCellHorAlignLeft : "Vľavo", -DlgCellHorAlignCenter : "Na stred", -DlgCellHorAlignRight: "Vpravo", -DlgCellVerAlign : "Zvislé zarovnanie", -DlgCellVerAlignNotSet : "<nenastavené>", -DlgCellVerAlignTop : "Nahor", -DlgCellVerAlignMiddle : "Doprostred", -DlgCellVerAlignBottom : "Dole", -DlgCellVerAlignBaseline : "Na základňu", -DlgCellRowSpan : "Zlúčené riadky", -DlgCellCollSpan : "Zlúčené stĺpce", -DlgCellBackColor : "Farba pozadia", -DlgCellBorderColor : "Farba ohraničenia", -DlgCellBtnSelect : "Výber...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Hľadať", -DlgFindFindBtn : "Hľadať", -DlgFindNotFoundMsg : "Hľadaný text nebol nájdený.", - -// Replace Dialog -DlgReplaceTitle : "Nahradiť", -DlgReplaceFindLbl : "Čo hľadať:", -DlgReplaceReplaceLbl : "Čím nahradiť:", -DlgReplaceCaseChk : "Rozlišovať malé/veľké písmená", -DlgReplaceReplaceBtn : "Nahradiť", -DlgReplaceReplAllBtn : "Nahradiť všetko", -DlgReplaceWordChk : "Len celé slová", - -// Paste Operations / Dialog -PasteErrorCut : "Bezpečnostné nastavenie 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+X).", -PasteErrorCopy : "Bezpečnostné nastavenie 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+C).", - -PasteAsText : "Vložiť ako čistý text", -PasteFromWord : "Vložiť text z Wordu", - -DlgPasteMsg2 : "Prosím vložte nasledovný rámček použitím klávesnice (<STRONG>Ctrl+V</STRONG>) a stlačte <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignorovať nastavenia typu písma", -DlgPasteRemoveStyles : "Odstrániť formátovanie", -DlgPasteCleanBox : "Vyčistiť schránku", - -// Color Picker -ColorAutomatic : "Automaticky", -ColorMoreColors : "Viac farieb...", - -// Document Properties -DocProps : "Vlastnosti dokumentu", - -// Anchor Dialog -DlgAnchorTitle : "Vlastnosti kotvy", -DlgAnchorName : "Meno kotvy", -DlgAnchorErrorName : "Zadajte prosím meno kotvy", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nie je v slovníku", -DlgSpellChangeTo : "Zmeniť na", -DlgSpellBtnIgnore : "Ignorovať", -DlgSpellBtnIgnoreAll : "Ignorovať všetko", -DlgSpellBtnReplace : "Prepísat", -DlgSpellBtnReplaceAll : "Prepísat všetko", -DlgSpellBtnUndo : "Späť", -DlgSpellNoSuggestions : "- Žiadny návrh -", -DlgSpellProgress : "Prebieha kontrola pravopisu...", -DlgSpellNoMispell : "Kontrola pravopisu dokončená: bez chýb", -DlgSpellNoChanges : "Kontrola pravopisu dokončená: žiadne slová nezmenené", -DlgSpellOneChange : "Kontrola pravopisu dokončená: zmenené jedno slovo", -DlgSpellManyChanges : "Kontrola pravopisu dokončená: zmenených %1 slov", - -IeSpellDownload : "Kontrola pravopisu nie je naištalovaná. Chcete ju hneď stiahnuť?", - -// Button Dialog -DlgButtonText : "Text", -DlgButtonType : "Typ", -DlgButtonTypeBtn : "Tlačidlo", -DlgButtonTypeSbm : "Odoslať", -DlgButtonTypeRst : "Vymazať", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Názov", -DlgCheckboxValue : "Hodnota", -DlgCheckboxSelected : "Vybrané", - -// Form Dialog -DlgFormName : "Názov", -DlgFormAction : "Akcie", -DlgFormMethod : "Metóda", - -// Select Field Dialog -DlgSelectName : "Názov", -DlgSelectValue : "Hodnota", -DlgSelectSize : "Veľkosť", -DlgSelectLines : "riadkov", -DlgSelectChkMulti : "Povoliť viacnásobný výber", -DlgSelectOpAvail : "Dostupné možnosti", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Hodnota", -DlgSelectBtnAdd : "Pridať", -DlgSelectBtnModify : "Zmeniť", -DlgSelectBtnUp : "Hore", -DlgSelectBtnDown : "Dole", -DlgSelectBtnSetValue : "Nastaviť ako vybranú hodnotu", -DlgSelectBtnDelete : "Zmazať", - -// Textarea Dialog -DlgTextareaName : "Názov", -DlgTextareaCols : "Stĺpce", -DlgTextareaRows : "Riadky", - -// Text Field Dialog -DlgTextName : "Názov", -DlgTextValue : "Hodnota", -DlgTextCharWidth : "Šírka pola (znakov)", -DlgTextMaxChars : "Maximálny počet znakov", -DlgTextType : "Typ", -DlgTextTypeText : "Text", -DlgTextTypePass : "Heslo", - -// Hidden Field Dialog -DlgHiddenName : "Názov", -DlgHiddenValue : "Hodnota", - -// Bulleted List Dialog -BulletedListProp : "Vlastnosti odrážok", -NumberedListProp : "Vlastnosti číslovania", -DlgLstStart : "Štart", -DlgLstType : "Typ", -DlgLstTypeCircle : "Krúžok", -DlgLstTypeDisc : "Disk", -DlgLstTypeSquare : "Štvorec", -DlgLstTypeNumbers : "Číslovanie (1, 2, 3)", -DlgLstTypeLCase : "Malé písmená (a, b, c)", -DlgLstTypeUCase : "Veľké písmená (A, B, C)", -DlgLstTypeSRoman : "Malé rímske číslice (i, ii, iii)", -DlgLstTypeLRoman : "Veľké rímske číslice (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Všeobecné", -DlgDocBackTab : "Pozadie", -DlgDocColorsTab : "Farby a okraje", -DlgDocMetaTab : "Meta Data", - -DlgDocPageTitle : "Titulok", -DlgDocLangDir : "Orientácie jazyka", -DlgDocLangDirLTR : "Zľava doprava (LTR)", -DlgDocLangDirRTL : "Sprava doľava (RTL)", -DlgDocLangCode : "Kód jazyka", -DlgDocCharSet : "Kódová stránka", -DlgDocCharSetCE : "Stredoeurópske", -DlgDocCharSetCT : "Čínština tradičná (Big5)", -DlgDocCharSetCR : "Cyrillika", -DlgDocCharSetGR : "Gréčtina", -DlgDocCharSetJP : "Japončina", -DlgDocCharSetKR : "Korejčina", -DlgDocCharSetTR : "Turečtina", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Západná európa", -DlgDocCharSetOther : "Iná kódová stránka", - -DlgDocDocType : "Typ záhlavia dokumentu", -DlgDocDocTypeOther : "Iný typ záhlavia dokumentu", -DlgDocIncXHTML : "Obsahuje deklarácie XHTML", -DlgDocBgColor : "Farba pozadia", -DlgDocBgImage : "URL adresa obrázku na pozadí", -DlgDocBgNoScroll : "Fixné pozadie", -DlgDocCText : "Text", -DlgDocCLink : "Odkaz", -DlgDocCVisited : "Navštívený odkaz", -DlgDocCActive : "Aktívny odkaz", -DlgDocMargins : "Okraje stránky", -DlgDocMaTop : "Horný", -DlgDocMaLeft : "Ľavý", -DlgDocMaRight : "Pravý", -DlgDocMaBottom : "Dolný", -DlgDocMeIndex : "Kľúčové slová pre indexovanie (oddelené čiarkou)", -DlgDocMeDescr : "Popis stránky", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autorské práva", -DlgDocPreview : "Náhľad", - -// Templates Dialog -Templates : "Šablóny", -DlgTemplatesTitle : "Šablóny obsahu", -DlgTemplatesSelMsg : "Prosím vyberte šablóny na otvorenie v editore<br>(súšasný obsah bude stratený):", -DlgTemplatesLoading : "Nahrávam zoznam šablón. Čakajte prosím...", -DlgTemplatesNoTpl : "(žiadne šablóny nenájdené)", -DlgTemplatesReplace : "Nahradiť aktuálny obsah", - -// About Dialog -DlgAboutAboutTab : "O aplikáci", -DlgAboutBrowserInfoTab : "Informácie o prehliadači", -DlgAboutLicenseTab : "Licencia", -DlgAboutVersion : "verzia", -DlgAboutInfo : "Viac informácií získate na" -}; diff --git a/editor/editor/lang/sl.js b/editor/editor/lang/sl.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Slovenian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Zloži orodno vrstico", -ToolbarExpand : "Razširi orodno vrstico", - -// Toolbar Items and Context Menu -Save : "Shrani", -NewPage : "Nova stran", -Preview : "Predogled", -Cut : "Izreži", -Copy : "Kopiraj", -Paste : "Prilepi", -PasteText : "Prilepi kot golo besedilo", -PasteWord : "Prilepi iz Worda", -Print : "Natisni", -SelectAll : "Izberi vse", -RemoveFormat : "Odstrani oblikovanje", -InsertLinkLbl : "Povezava", -InsertLink : "Vstavi/uredi povezavo", -RemoveLink : "Odstrani povezavo", -Anchor : "Vstavi/uredi zaznamek", -AnchorDelete : "Odstrani zaznamek", -InsertImageLbl : "Slika", -InsertImage : "Vstavi/uredi sliko", -InsertFlashLbl : "Flash", -InsertFlash : "Vstavi/Uredi Flash", -InsertTableLbl : "Tabela", -InsertTable : "Vstavi/uredi tabelo", -InsertLineLbl : "Črta", -InsertLine : "Vstavi vodoravno črto", -InsertSpecialCharLbl: "Posebni znak", -InsertSpecialChar : "Vstavi posebni znak", -InsertSmileyLbl : "Smeško", -InsertSmiley : "Vstavi smeška", -About : "O FCKeditorju", -Bold : "Krepko", -Italic : "Ležeče", -Underline : "Podčrtano", -StrikeThrough : "Prečrtano", -Subscript : "Podpisano", -Superscript : "Nadpisano", -LeftJustify : "Leva poravnava", -CenterJustify : "Sredinska poravnava", -RightJustify : "Desna poravnava", -BlockJustify : "Obojestranska poravnava", -DecreaseIndent : "Zmanjšaj zamik", -IncreaseIndent : "Povečaj zamik", -Blockquote : "Citat", -Undo : "Razveljavi", -Redo : "Ponovi", -NumberedListLbl : "Oštevilčen seznam", -NumberedList : "Vstavi/odstrani oštevilčevanje", -BulletedListLbl : "Označen seznam", -BulletedList : "Vstavi/odstrani označevanje", -ShowTableBorders : "Pokaži meje tabele", -ShowDetails : "Pokaži podrobnosti", -Style : "Slog", -FontFormat : "Oblika", -Font : "Pisava", -FontSize : "Velikost", -TextColor : "Barva besedila", -BGColor : "Barva ozadja", -Source : "Izvorna koda", -Find : "Najdi", -Replace : "Zamenjaj", -SpellCheck : "Preveri črkovanje", -UniversalKeyboard : "Večjezična tipkovnica", -PageBreakLbl : "Prelom strani", -PageBreak : "Vstavi prelom strani", - -Form : "Obrazec", -Checkbox : "Potrditveno polje", -RadioButton : "Izbirno polje", -TextField : "Vnosno polje", -Textarea : "Vnosno območje", -HiddenField : "Skrito polje", -Button : "Gumb", -SelectionField : "Spustni seznam", -ImageButton : "Gumb s sliko", - -FitWindow : "Razširi velikost urejevalnika čez cel zaslon", -ShowBlocks : "Prikaži ograde", - -// Context Menu -EditLink : "Uredi povezavo", -CellCM : "Celica", -RowCM : "Vrstica", -ColumnCM : "Stolpec", -InsertRowAfter : "Vstavi vrstico za", -InsertRowBefore : "Vstavi vrstico pred", -DeleteRows : "Izbriši vrstice", -InsertColumnAfter : "Vstavi stolpec za", -InsertColumnBefore : "Vstavi stolpec pred", -DeleteColumns : "Izbriši stolpce", -InsertCellAfter : "Vstavi celico za", -InsertCellBefore : "Vstavi celico pred", -DeleteCells : "Izbriši celice", -MergeCells : "Združi celice", -MergeRight : "Združi desno", -MergeDown : "Druži navzdol", -HorizontalSplitCell : "Razdeli celico vodoravno", -VerticalSplitCell : "Razdeli celico navpično", -TableDelete : "Izbriši tabelo", -CellProperties : "Lastnosti celice", -TableProperties : "Lastnosti tabele", -ImageProperties : "Lastnosti slike", -FlashProperties : "Lastnosti Flash", - -AnchorProp : "Lastnosti zaznamka", -ButtonProp : "Lastnosti gumba", -CheckboxProp : "Lastnosti potrditvenega polja", -HiddenFieldProp : "Lastnosti skritega polja", -RadioButtonProp : "Lastnosti izbirnega polja", -ImageButtonProp : "Lastnosti gumba s sliko", -TextFieldProp : "Lastnosti vnosnega polja", -SelectionFieldProp : "Lastnosti spustnega seznama", -TextareaProp : "Lastnosti vnosnega območja", -FormProp : "Lastnosti obrazca", - -FontFormats : "Navaden;Oblikovan;Napis;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6", - -// Alerts and Messages -ProcessingXHTML : "Obdelujem XHTML. Prosim počakajte...", -Done : "Narejeno", -PasteWordConfirm : "Izgleda, da želite prilepiti besedilo iz Worda. Ali ga želite očistiti, preden ga prilepite?", -NotCompatiblePaste : "Ta ukaz deluje le v Internet Explorerje različice 5.5 ali višje. Ali želite prilepiti brez čiščenja?", -UnknownToolbarItem : "Neznan element orodne vrstice \"%1\"", -UnknownCommand : "Neznano ime ukaza \"%1\"", -NotImplemented : "Ukaz ni izdelan", -UnknownToolbarSet : "Skupina orodnih vrstic \"%1\" ne obstoja", -NoActiveX : "Varnostne nastavitve vašega brskalnika lahko omejijo delovanje nekaterih zmožnosti urejevalnika. Če ne želite zaznavati napak in sporočil o manjkajočih zmožnostih, omogočite možnost \"Zaženi ActiveX kontrolnike in vtičnike\".", -BrowseServerBlocked : "Brskalnik virov se ne more odpreti. Prepričajte se, da je preprečevanje pojavnih oken onemogočeno.", -DialogBlocked : "Pogovorno okno se ni moglo odpreti. Prepričajte se, da je preprečevanje pojavnih oken onemogočeno.", - -// Dialogs -DlgBtnOK : "V redu", -DlgBtnCancel : "Prekliči", -DlgBtnClose : "Zapri", -DlgBtnBrowseServer : "Prebrskaj na strežniku", -DlgAdvancedTag : "Napredno", -DlgOpOther : "<Ostalo>", -DlgInfoTab : "Podatki", -DlgAlertUrl : "Prosim vpiši spletni naslov", - -// General Dialogs Labels -DlgGenNotSet : "<ni postavljen>", -DlgGenId : "Id", -DlgGenLangDir : "Smer jezika", -DlgGenLangDirLtr : "Od leve proti desni (LTR)", -DlgGenLangDirRtl : "Od desne proti levi (RTL)", -DlgGenLangCode : "Oznaka jezika", -DlgGenAccessKey : "Vstopno geslo", -DlgGenName : "Ime", -DlgGenTabIndex : "Številka tabulatorja", -DlgGenLongDescr : "Dolg opis URL-ja", -DlgGenClass : "Razred stilne predloge", -DlgGenTitle : "Predlagani naslov", -DlgGenContType : "Predlagani tip vsebine (content-type)", -DlgGenLinkCharset : "Kodna tabela povezanega vira", -DlgGenStyle : "Slog", - -// Image Dialog -DlgImgTitle : "Lastnosti slike", -DlgImgInfoTab : "Podatki o sliki", -DlgImgBtnUpload : "Pošlji na strežnik", -DlgImgURL : "URL", -DlgImgUpload : "Pošlji", -DlgImgAlt : "Nadomestno besedilo", -DlgImgWidth : "Širina", -DlgImgHeight : "Višina", -DlgImgLockRatio : "Zakleni razmerje", -DlgBtnResetSize : "Ponastavi velikost", -DlgImgBorder : "Obroba", -DlgImgHSpace : "Vodoravni razmik", -DlgImgVSpace : "Navpični razmik", -DlgImgAlign : "Poravnava", -DlgImgAlignLeft : "Levo", -DlgImgAlignAbsBottom: "Popolnoma na dno", -DlgImgAlignAbsMiddle: "Popolnoma v sredino", -DlgImgAlignBaseline : "Na osnovno črto", -DlgImgAlignBottom : "Na dno", -DlgImgAlignMiddle : "V sredino", -DlgImgAlignRight : "Desno", -DlgImgAlignTextTop : "Besedilo na vrh", -DlgImgAlignTop : "Na vrh", -DlgImgPreview : "Predogled", -DlgImgAlertUrl : "Vnesite URL slike", -DlgImgLinkTab : "Povezava", - -// Flash Dialog -DlgFlashTitle : "Lastnosti Flash", -DlgFlashChkPlay : "Samodejno predvajaj", -DlgFlashChkLoop : "Ponavljanje", -DlgFlashChkMenu : "Omogoči Flash Meni", -DlgFlashScale : "Povečava", -DlgFlashScaleAll : "Pokaži vse", -DlgFlashScaleNoBorder : "Brez obrobe", -DlgFlashScaleFit : "Natančno prileganje", - -// Link Dialog -DlgLnkWindowTitle : "Povezava", -DlgLnkInfoTab : "Podatki o povezavi", -DlgLnkTargetTab : "Cilj", - -DlgLnkType : "Vrsta povezave", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Zaznamek na tej strani", -DlgLnkTypeEMail : "Elektronski naslov", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<drugo>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Izberi zaznamek", -DlgLnkAnchorByName : "Po imenu zaznamka", -DlgLnkAnchorById : "Po ID-ju elementa", -DlgLnkNoAnchors : "(V tem dokumentu ni zaznamkov)", -DlgLnkEMail : "Elektronski naslov", -DlgLnkEMailSubject : "Predmet sporočila", -DlgLnkEMailBody : "Vsebina sporočila", -DlgLnkUpload : "Prenesi", -DlgLnkBtnUpload : "Pošlji na strežnik", - -DlgLnkTarget : "Cilj", -DlgLnkTargetFrame : "<okvir>", -DlgLnkTargetPopup : "<pojavno okno>", -DlgLnkTargetBlank : "Novo okno (_blank)", -DlgLnkTargetParent : "Starševsko okno (_parent)", -DlgLnkTargetSelf : "Isto okno (_self)", -DlgLnkTargetTop : "Najvišje okno (_top)", -DlgLnkTargetFrameName : "Ime ciljnega okvirja", -DlgLnkPopWinName : "Ime pojavnega okna", -DlgLnkPopWinFeat : "Značilnosti pojavnega okna", -DlgLnkPopResize : "Spremenljive velikosti", -DlgLnkPopLocation : "Naslovna vrstica", -DlgLnkPopMenu : "Menijska vrstica", -DlgLnkPopScroll : "Drsniki", -DlgLnkPopStatus : "Vrstica stanja", -DlgLnkPopToolbar : "Orodna vrstica", -DlgLnkPopFullScrn : "Celozaslonska slika (IE)", -DlgLnkPopDependent : "Podokno (Netscape)", -DlgLnkPopWidth : "Širina", -DlgLnkPopHeight : "Višina", -DlgLnkPopLeft : "Lega levo", -DlgLnkPopTop : "Lega na vrhu", - -DlnLnkMsgNoUrl : "Vnesite URL povezave", -DlnLnkMsgNoEMail : "Vnesite elektronski naslov", -DlnLnkMsgNoAnchor : "Izberite zaznamek", -DlnLnkMsgInvPopName : "Ime pojavnega okna se mora začeti s črko ali številko in ne sme vsebovati presledkov", - -// Color Dialog -DlgColorTitle : "Izberite barvo", -DlgColorBtnClear : "Počisti", -DlgColorHighlight : "Označi", -DlgColorSelected : "Izbrano", - -// Smiley Dialog -DlgSmileyTitle : "Vstavi smeška", - -// Special Character Dialog -DlgSpecialCharTitle : "Izberi posebni znak", - -// Table Dialog -DlgTableTitle : "Lastnosti tabele", -DlgTableRows : "Vrstice", -DlgTableColumns : "Stolpci", -DlgTableBorder : "Velikost obrobe", -DlgTableAlign : "Poravnava", -DlgTableAlignNotSet : "<Ni nastavljeno>", -DlgTableAlignLeft : "Levo", -DlgTableAlignCenter : "Sredinsko", -DlgTableAlignRight : "Desno", -DlgTableWidth : "Širina", -DlgTableWidthPx : "pik", -DlgTableWidthPc : "procentov", -DlgTableHeight : "Višina", -DlgTableCellSpace : "Razmik med celicami", -DlgTableCellPad : "Polnilo med celicami", -DlgTableCaption : "Naslov", -DlgTableSummary : "Povzetek", - -// Table Cell Dialog -DlgCellTitle : "Lastnosti celice", -DlgCellWidth : "Širina", -DlgCellWidthPx : "pik", -DlgCellWidthPc : "procentov", -DlgCellHeight : "Višina", -DlgCellWordWrap : "Pomikanje besedila", -DlgCellWordWrapNotSet : "<Ni nastavljeno>", -DlgCellWordWrapYes : "Da", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Vodoravna poravnava", -DlgCellHorAlignNotSet : "<Ni nastavljeno>", -DlgCellHorAlignLeft : "Levo", -DlgCellHorAlignCenter : "Sredinsko", -DlgCellHorAlignRight: "Desno", -DlgCellVerAlign : "Navpična poravnava", -DlgCellVerAlignNotSet : "<Ni nastavljeno>", -DlgCellVerAlignTop : "Na vrh", -DlgCellVerAlignMiddle : "V sredino", -DlgCellVerAlignBottom : "Na dno", -DlgCellVerAlignBaseline : "Na osnovno črto", -DlgCellRowSpan : "Spojenih vrstic (row-span)", -DlgCellCollSpan : "Spojenih stolpcev (col-span)", -DlgCellBackColor : "Barva ozadja", -DlgCellBorderColor : "Barva obrobe", -DlgCellBtnSelect : "Izberi...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Najdi in zamenjaj", - -// Find Dialog -DlgFindTitle : "Najdi", -DlgFindFindBtn : "Najdi", -DlgFindNotFoundMsg : "Navedeno besedilo ni bilo najdeno.", - -// Replace Dialog -DlgReplaceTitle : "Zamenjaj", -DlgReplaceFindLbl : "Najdi:", -DlgReplaceReplaceLbl : "Zamenjaj z:", -DlgReplaceCaseChk : "Razlikuj velike in male črke", -DlgReplaceReplaceBtn : "Zamenjaj", -DlgReplaceReplAllBtn : "Zamenjaj vse", -DlgReplaceWordChk : "Samo cele besede", - -// Paste Operations / Dialog -PasteErrorCut : "Varnostne nastavitve brskalnika ne dopuščajo samodejnega izrezovanja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+X).", -PasteErrorCopy : "Varnostne nastavitve brskalnika ne dopuščajo samodejnega kopiranja. Uporabite kombinacijo tipk na tipkovnici (Ctrl+C).", - -PasteAsText : "Prilepi kot golo besedilo", -PasteFromWord : "Prilepi iz Worda", - -DlgPasteMsg2 : "Prosim prilepite v sleči okvir s pomočjo tipkovnice (<STRONG>Ctrl+V</STRONG>) in pritisnite <STRONG>V redu</STRONG>.", -DlgPasteSec : "Zaradi varnostnih nastavitev vašega brskalnika urejevalnik ne more neposredno dostopati do odložišča. Vsebino odložišča ponovno prilepite v to okno.", -DlgPasteIgnoreFont : "Prezri obliko pisave", -DlgPasteRemoveStyles : "Odstrani nastavitve stila", -DlgPasteCleanBox : "Počisti okvir", - -// Color Picker -ColorAutomatic : "Samodejno", -ColorMoreColors : "Več barv...", - -// Document Properties -DocProps : "Lastnosti dokumenta", - -// Anchor Dialog -DlgAnchorTitle : "Lastnosti zaznamka", -DlgAnchorName : "Ime zaznamka", -DlgAnchorErrorName : "Prosim vnesite ime zaznamka", - -// Speller Pages Dialog -DlgSpellNotInDic : "Ni v slovarju", -DlgSpellChangeTo : "Spremeni v", -DlgSpellBtnIgnore : "Prezri", -DlgSpellBtnIgnoreAll : "Prezri vse", -DlgSpellBtnReplace : "Zamenjaj", -DlgSpellBtnReplaceAll : "Zamenjaj vse", -DlgSpellBtnUndo : "Razveljavi", -DlgSpellNoSuggestions : "- Ni predlogov -", -DlgSpellProgress : "Preverjanje črkovanja se izvaja...", -DlgSpellNoMispell : "Črkovanje je končano: Brez napak", -DlgSpellNoChanges : "Črkovanje je končano: Nobena beseda ni bila spremenjena", -DlgSpellOneChange : "Črkovanje je končano: Spremenjena je bila ena beseda", -DlgSpellManyChanges : "Črkovanje je končano: Spremenjenih je bilo %1 besed", - -IeSpellDownload : "Črkovalnik ni nameščen. Ali ga želite prenesti sedaj?", - -// Button Dialog -DlgButtonText : "Besedilo (Vrednost)", -DlgButtonType : "Tip", -DlgButtonTypeBtn : "Gumb", -DlgButtonTypeSbm : "Potrdi", -DlgButtonTypeRst : "Ponastavi", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Ime", -DlgCheckboxValue : "Vrednost", -DlgCheckboxSelected : "Izbrano", - -// Form Dialog -DlgFormName : "Ime", -DlgFormAction : "Akcija", -DlgFormMethod : "Metoda", - -// Select Field Dialog -DlgSelectName : "Ime", -DlgSelectValue : "Vrednost", -DlgSelectSize : "Velikost", -DlgSelectLines : "vrstic", -DlgSelectChkMulti : "Dovoli izbor večih vrstic", -DlgSelectOpAvail : "Razpoložljive izbire", -DlgSelectOpText : "Besedilo", -DlgSelectOpValue : "Vrednost", -DlgSelectBtnAdd : "Dodaj", -DlgSelectBtnModify : "Spremeni", -DlgSelectBtnUp : "Gor", -DlgSelectBtnDown : "Dol", -DlgSelectBtnSetValue : "Postavi kot privzeto izbiro", -DlgSelectBtnDelete : "Izbriši", - -// Textarea Dialog -DlgTextareaName : "Ime", -DlgTextareaCols : "Stolpcev", -DlgTextareaRows : "Vrstic", - -// Text Field Dialog -DlgTextName : "Ime", -DlgTextValue : "Vrednost", -DlgTextCharWidth : "Dolžina", -DlgTextMaxChars : "Največje število znakov", -DlgTextType : "Tip", -DlgTextTypeText : "Besedilo", -DlgTextTypePass : "Geslo", - -// Hidden Field Dialog -DlgHiddenName : "Ime", -DlgHiddenValue : "Vrednost", - -// Bulleted List Dialog -BulletedListProp : "Lastnosti označenega seznama", -NumberedListProp : "Lastnosti oštevilčenega seznama", -DlgLstStart : "Začetek", -DlgLstType : "Tip", -DlgLstTypeCircle : "Pikica", -DlgLstTypeDisc : "Kroglica", -DlgLstTypeSquare : "Kvadratek", -DlgLstTypeNumbers : "Številke (1, 2, 3)", -DlgLstTypeLCase : "Male črke (a, b, c)", -DlgLstTypeUCase : "Velike črke (A, B, C)", -DlgLstTypeSRoman : "Male rimske številke (i, ii, iii)", -DlgLstTypeLRoman : "Velike rimske številke (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Splošno", -DlgDocBackTab : "Ozadje", -DlgDocColorsTab : "Barve in zamiki", -DlgDocMetaTab : "Meta podatki", - -DlgDocPageTitle : "Naslov strani", -DlgDocLangDir : "Smer jezika", -DlgDocLangDirLTR : "Od leve proti desni (LTR)", -DlgDocLangDirRTL : "Od desne proti levi (RTL)", -DlgDocLangCode : "Oznaka jezika", -DlgDocCharSet : "Kodna tabela", -DlgDocCharSetCE : "Srednjeevropsko", -DlgDocCharSetCT : "Tradicionalno Kitajsko (Big5)", -DlgDocCharSetCR : "Cirilica", -DlgDocCharSetGR : "Grško", -DlgDocCharSetJP : "Japonsko", -DlgDocCharSetKR : "Korejsko", -DlgDocCharSetTR : "Turško", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Zahodnoevropsko", -DlgDocCharSetOther : "Druga kodna tabela", - -DlgDocDocType : "Glava tipa dokumenta", -DlgDocDocTypeOther : "Druga glava tipa dokumenta", -DlgDocIncXHTML : "Vstavi XHTML deklaracije", -DlgDocBgColor : "Barva ozadja", -DlgDocBgImage : "URL slike za ozadje", -DlgDocBgNoScroll : "Nepremično ozadje", -DlgDocCText : "Besedilo", -DlgDocCLink : "Povezava", -DlgDocCVisited : "Obiskana povezava", -DlgDocCActive : "Aktivna povezava", -DlgDocMargins : "Zamiki strani", -DlgDocMaTop : "Na vrhu", -DlgDocMaLeft : "Levo", -DlgDocMaRight : "Desno", -DlgDocMaBottom : "Spodaj", -DlgDocMeIndex : "Ključne besede (ločene z vejicami)", -DlgDocMeDescr : "Opis strani", -DlgDocMeAuthor : "Avtor", -DlgDocMeCopy : "Avtorske pravice", -DlgDocPreview : "Predogled", - -// Templates Dialog -Templates : "Predloge", -DlgTemplatesTitle : "Vsebinske predloge", -DlgTemplatesSelMsg : "Izberite predlogo, ki jo želite odpreti v urejevalniku<br>(trenutna vsebina bo izgubljena):", -DlgTemplatesLoading : "Nalagam seznam predlog. Prosim počakajte...", -DlgTemplatesNoTpl : "(Ni pripravljenih predlog)", -DlgTemplatesReplace : "Zamenjaj trenutno vsebino", - -// About Dialog -DlgAboutAboutTab : "Vizitka", -DlgAboutBrowserInfoTab : "Informacije o brskalniku", -DlgAboutLicenseTab : "Dovoljenja", -DlgAboutVersion : "različica", -DlgAboutInfo : "Za več informacij obiščite" -}; diff --git a/editor/editor/lang/sr-latn.js b/editor/editor/lang/sr-latn.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Serbian (Latin) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Smanji liniju sa alatkama", -ToolbarExpand : "Proiri liniju sa alatkama", - -// Toolbar Items and Context Menu -Save : "Sačuvaj", -NewPage : "Nova stranica", -Preview : "Izgled stranice", -Cut : "Iseci", -Copy : "Kopiraj", -Paste : "Zalepi", -PasteText : "Zalepi kao neformatiran tekst", -PasteWord : "Zalepi iz Worda", -Print : "Štampa", -SelectAll : "Označi sve", -RemoveFormat : "Ukloni formatiranje", -InsertLinkLbl : "Link", -InsertLink : "Unesi/izmeni link", -RemoveLink : "Ukloni link", -Anchor : "Unesi/izmeni sidro", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Slika", -InsertImage : "Unesi/izmeni sliku", -InsertFlashLbl : "Fleš", -InsertFlash : "Unesi/izmeni fleš", -InsertTableLbl : "Tabela", -InsertTable : "Unesi/izmeni tabelu", -InsertLineLbl : "Linija", -InsertLine : "Unesi horizontalnu liniju", -InsertSpecialCharLbl: "Specijalni karakteri", -InsertSpecialChar : "Unesi specijalni karakter", -InsertSmileyLbl : "Smajli", -InsertSmiley : "Unesi smajlija", -About : "O FCKeditoru", -Bold : "Podebljano", -Italic : "Kurziv", -Underline : "Podvučeno", -StrikeThrough : "Precrtano", -Subscript : "Indeks", -Superscript : "Stepen", -LeftJustify : "Levo ravnanje", -CenterJustify : "Centriran tekst", -RightJustify : "Desno ravnanje", -BlockJustify : "Obostrano ravnanje", -DecreaseIndent : "Smanji levu marginu", -IncreaseIndent : "Uvećaj levu marginu", -Blockquote : "Blockquote", //MISSING -Undo : "Poni�ti akciju", -Redo : "Ponovi akciju", -NumberedListLbl : "Nabrojiva lista", -NumberedList : "Unesi/ukloni nabrojivu listu", -BulletedListLbl : "Nenabrojiva lista", -BulletedList : "Unesi/ukloni nenabrojivu listu", -ShowTableBorders : "Prikaži okvir tabele", -ShowDetails : "Prikaži detalje", -Style : "Stil", -FontFormat : "Format", -Font : "Font", -FontSize : "Veličina fonta", -TextColor : "Boja teksta", -BGColor : "Boja pozadine", -Source : "Kôd", -Find : "Pretraga", -Replace : "Zamena", -SpellCheck : "Proveri spelovanje", -UniversalKeyboard : "Univerzalna tastatura", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Forma", -Checkbox : "Polje za potvrdu", -RadioButton : "Radio-dugme", -TextField : "Tekstualno polje", -Textarea : "Zona teksta", -HiddenField : "Skriveno polje", -Button : "Dugme", -SelectionField : "Izborno polje", -ImageButton : "Dugme sa slikom", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Izmeni link", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Obriši redove", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Obriši kolone", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Obriši ćelije", -MergeCells : "Spoj celije", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Osobine celije", -TableProperties : "Osobine tabele", -ImageProperties : "Osobine slike", -FlashProperties : "Osobine fleša", - -AnchorProp : "Osobine sidra", -ButtonProp : "Osobine dugmeta", -CheckboxProp : "Osobine polja za potvrdu", -HiddenFieldProp : "Osobine skrivenog polja", -RadioButtonProp : "Osobine radio-dugmeta", -ImageButtonProp : "Osobine dugmeta sa slikom", -TextFieldProp : "Osobine tekstualnog polja", -SelectionFieldProp : "Osobine izbornog polja", -TextareaProp : "Osobine zone teksta", -FormProp : "Osobine forme", - -FontFormats : "Normal;Formatirano;Adresa;Naslov 1;Naslov 2;Naslov 3;Naslov 4;Naslov 5;Naslov 6", - -// Alerts and Messages -ProcessingXHTML : "Obradujem XHTML. Malo strpljenja...", -Done : "Završio", -PasteWordConfirm : "Tekst koji želite da nalepite kopiran je iz Worda. Da li želite da bude očišćen od formata pre lepljenja?", -NotCompatiblePaste : "Ova komanda je dostupna samo za Internet Explorer od verzije 5.5. Da li želite da nalepim tekst bez čišćenja?", -UnknownToolbarItem : "Nepoznata stavka toolbara \"%1\"", -UnknownCommand : "Nepoznata naredba \"%1\"", -NotImplemented : "Naredba nije implementirana", -UnknownToolbarSet : "Toolbar \"%1\" ne postoji", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Otkaži", -DlgBtnClose : "Zatvori", -DlgBtnBrowseServer : "Pretraži server", -DlgAdvancedTag : "Napredni tagovi", -DlgOpOther : "<Ostali>", -DlgInfoTab : "Info", -DlgAlertUrl : "Molimo Vas, unesite URL", - -// General Dialogs Labels -DlgGenNotSet : "<nije postavljeno>", -DlgGenId : "Id", -DlgGenLangDir : "Smer jezika", -DlgGenLangDirLtr : "S leva na desno (LTR)", -DlgGenLangDirRtl : "S desna na levo (RTL)", -DlgGenLangCode : "Kôd jezika", -DlgGenAccessKey : "Pristupni taster", -DlgGenName : "Naziv", -DlgGenTabIndex : "Tab indeks", -DlgGenLongDescr : "Pun opis URL", -DlgGenClass : "Stylesheet klase", -DlgGenTitle : "Advisory naslov", -DlgGenContType : "Advisory vrsta sadržaja", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Stil", - -// Image Dialog -DlgImgTitle : "Osobine slika", -DlgImgInfoTab : "Info slike", -DlgImgBtnUpload : "Pošalji na server", -DlgImgURL : "URL", -DlgImgUpload : "Pošalji", -DlgImgAlt : "Alternativni tekst", -DlgImgWidth : "Širina", -DlgImgHeight : "Visina", -DlgImgLockRatio : "Zaključaj odnos", -DlgBtnResetSize : "Resetuj veličinu", -DlgImgBorder : "Okvir", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Ravnanje", -DlgImgAlignLeft : "Levo", -DlgImgAlignAbsBottom: "Abs dole", -DlgImgAlignAbsMiddle: "Abs sredina", -DlgImgAlignBaseline : "Bazno", -DlgImgAlignBottom : "Dole", -DlgImgAlignMiddle : "Sredina", -DlgImgAlignRight : "Desno", -DlgImgAlignTextTop : "Vrh teksta", -DlgImgAlignTop : "Vrh", -DlgImgPreview : "Izgled", -DlgImgAlertUrl : "Unesite URL slike", -DlgImgLinkTab : "Link", - -// Flash Dialog -DlgFlashTitle : "Osobine fleša", -DlgFlashChkPlay : "Automatski start", -DlgFlashChkLoop : "Ponavljaj", -DlgFlashChkMenu : "Uključi fleš meni", -DlgFlashScale : "Skaliraj", -DlgFlashScaleAll : "Prikaži sve", -DlgFlashScaleNoBorder : "Bez ivice", -DlgFlashScaleFit : "Popuni površinu", - -// Link Dialog -DlgLnkWindowTitle : "Link", -DlgLnkInfoTab : "Link Info", -DlgLnkTargetTab : "Meta", - -DlgLnkType : "Vrsta linka", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Sidro na ovoj stranici", -DlgLnkTypeEMail : "E-Mail", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<drugo>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Odaberi sidro", -DlgLnkAnchorByName : "Po nazivu sidra", -DlgLnkAnchorById : "Po Id-ju elementa", -DlgLnkNoAnchors : "(Nema dostupnih sidra)", -DlgLnkEMail : "E-Mail adresa", -DlgLnkEMailSubject : "Naslov", -DlgLnkEMailBody : "Sadržaj poruke", -DlgLnkUpload : "Pošalji", -DlgLnkBtnUpload : "Pošalji na server", - -DlgLnkTarget : "Meta", -DlgLnkTargetFrame : "<okvir>", -DlgLnkTargetPopup : "<popup prozor>", -DlgLnkTargetBlank : "Novi prozor (_blank)", -DlgLnkTargetParent : "Roditeljski prozor (_parent)", -DlgLnkTargetSelf : "Isti prozor (_self)", -DlgLnkTargetTop : "Prozor na vrhu (_top)", -DlgLnkTargetFrameName : "Naziv odredišnog frejma", -DlgLnkPopWinName : "Naziv popup prozora", -DlgLnkPopWinFeat : "Mogućnosti popup prozora", -DlgLnkPopResize : "Promenljiva velicina", -DlgLnkPopLocation : "Lokacija", -DlgLnkPopMenu : "Kontekstni meni", -DlgLnkPopScroll : "Scroll bar", -DlgLnkPopStatus : "Statusna linija", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Prikaz preko celog ekrana (IE)", -DlgLnkPopDependent : "Zavisno (Netscape)", -DlgLnkPopWidth : "Širina", -DlgLnkPopHeight : "Visina", -DlgLnkPopLeft : "Od leve ivice ekrana (px)", -DlgLnkPopTop : "Od vrha ekrana (px)", - -DlnLnkMsgNoUrl : "Unesite URL linka", -DlnLnkMsgNoEMail : "Otkucajte adresu elektronske pote", -DlnLnkMsgNoAnchor : "Odaberite sidro", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Odaberite boju", -DlgColorBtnClear : "Obriši", -DlgColorHighlight : "Posvetli", -DlgColorSelected : "Odaberi", - -// Smiley Dialog -DlgSmileyTitle : "Unesi smajlija", - -// Special Character Dialog -DlgSpecialCharTitle : "Odaberite specijalni karakter", - -// Table Dialog -DlgTableTitle : "Osobine tabele", -DlgTableRows : "Redova", -DlgTableColumns : "Kolona", -DlgTableBorder : "Veličina okvira", -DlgTableAlign : "Ravnanje", -DlgTableAlignNotSet : "<nije postavljeno>", -DlgTableAlignLeft : "Levo", -DlgTableAlignCenter : "Sredina", -DlgTableAlignRight : "Desno", -DlgTableWidth : "Širina", -DlgTableWidthPx : "piksela", -DlgTableWidthPc : "procenata", -DlgTableHeight : "Visina", -DlgTableCellSpace : "Ćelijski prostor", -DlgTableCellPad : "Razmak ćelija", -DlgTableCaption : "Naslov tabele", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Osobine ćelije", -DlgCellWidth : "Širina", -DlgCellWidthPx : "piksela", -DlgCellWidthPc : "procenata", -DlgCellHeight : "Visina", -DlgCellWordWrap : "Deljenje reči", -DlgCellWordWrapNotSet : "<nije postavljeno>", -DlgCellWordWrapYes : "Da", -DlgCellWordWrapNo : "Ne", -DlgCellHorAlign : "Vodoravno ravnanje", -DlgCellHorAlignNotSet : "<nije postavljeno>", -DlgCellHorAlignLeft : "Levo", -DlgCellHorAlignCenter : "Sredina", -DlgCellHorAlignRight: "Desno", -DlgCellVerAlign : "Vertikalno ravnanje", -DlgCellVerAlignNotSet : "<nije postavljeno>", -DlgCellVerAlignTop : "Gornje", -DlgCellVerAlignMiddle : "Sredina", -DlgCellVerAlignBottom : "Donje", -DlgCellVerAlignBaseline : "Bazno", -DlgCellRowSpan : "Spajanje redova", -DlgCellCollSpan : "Spajanje kolona", -DlgCellBackColor : "Boja pozadine", -DlgCellBorderColor : "Boja okvira", -DlgCellBtnSelect : "Odaberi...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Pronađi", -DlgFindFindBtn : "Pronađi", -DlgFindNotFoundMsg : "Traženi tekst nije pronađen.", - -// Replace Dialog -DlgReplaceTitle : "Zameni", -DlgReplaceFindLbl : "Pronadi:", -DlgReplaceReplaceLbl : "Zameni sa:", -DlgReplaceCaseChk : "Razlikuj mala i velika slova", -DlgReplaceReplaceBtn : "Zameni", -DlgReplaceReplAllBtn : "Zameni sve", -DlgReplaceWordChk : "Uporedi cele reci", - -// Paste Operations / Dialog -PasteErrorCut : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog isecanja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+X).", -PasteErrorCopy : "Sigurnosna podešavanja Vašeg pretraživača ne dozvoljavaju operacije automatskog kopiranja teksta. Molimo Vas da koristite prečicu sa tastature (Ctrl+C).", - -PasteAsText : "Zalepi kao čist tekst", -PasteFromWord : "Zalepi iz Worda", - -DlgPasteMsg2 : "Molimo Vas da zalepite unutar donje povrine koristeći tastaturnu prečicu (<STRONG>Ctrl+V</STRONG>) i da pritisnete <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Ignoriši definicije fontova", -DlgPasteRemoveStyles : "Ukloni definicije stilova", -DlgPasteCleanBox : "Obriši sve", - -// Color Picker -ColorAutomatic : "Automatski", -ColorMoreColors : "Više boja...", - -// Document Properties -DocProps : "Osobine dokumenta", - -// Anchor Dialog -DlgAnchorTitle : "Osobine sidra", -DlgAnchorName : "Ime sidra", -DlgAnchorErrorName : "Unesite ime sidra", - -// Speller Pages Dialog -DlgSpellNotInDic : "Nije u rečniku", -DlgSpellChangeTo : "Izmeni", -DlgSpellBtnIgnore : "Ignoriši", -DlgSpellBtnIgnoreAll : "Ignoriši sve", -DlgSpellBtnReplace : "Zameni", -DlgSpellBtnReplaceAll : "Zameni sve", -DlgSpellBtnUndo : "Vrati akciju", -DlgSpellNoSuggestions : "- Bez sugestija -", -DlgSpellProgress : "Provera spelovanja u toku...", -DlgSpellNoMispell : "Provera spelovanja završena: greške nisu pronadene", -DlgSpellNoChanges : "Provera spelovanja završena: Nije izmenjena nijedna rec", -DlgSpellOneChange : "Provera spelovanja završena: Izmenjena je jedna reč", -DlgSpellManyChanges : "Provera spelovanja završena: %1 reč(i) je izmenjeno", - -IeSpellDownload : "Provera spelovanja nije instalirana. Da li želite da je skinete sa Interneta?", - -// Button Dialog -DlgButtonText : "Tekst (vrednost)", -DlgButtonType : "Tip", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Naziv", -DlgCheckboxValue : "Vrednost", -DlgCheckboxSelected : "Označeno", - -// Form Dialog -DlgFormName : "Naziv", -DlgFormAction : "Akcija", -DlgFormMethod : "Metoda", - -// Select Field Dialog -DlgSelectName : "Naziv", -DlgSelectValue : "Vrednost", -DlgSelectSize : "Veličina", -DlgSelectLines : "linija", -DlgSelectChkMulti : "Dozvoli višestruku selekciju", -DlgSelectOpAvail : "Dostupne opcije", -DlgSelectOpText : "Tekst", -DlgSelectOpValue : "Vrednost", -DlgSelectBtnAdd : "Dodaj", -DlgSelectBtnModify : "Izmeni", -DlgSelectBtnUp : "Gore", -DlgSelectBtnDown : "Dole", -DlgSelectBtnSetValue : "Podesi kao označenu vrednost", -DlgSelectBtnDelete : "Obriši", - -// Textarea Dialog -DlgTextareaName : "Naziv", -DlgTextareaCols : "Broj kolona", -DlgTextareaRows : "Broj redova", - -// Text Field Dialog -DlgTextName : "Naziv", -DlgTextValue : "Vrednost", -DlgTextCharWidth : "Širina (karaktera)", -DlgTextMaxChars : "Maksimalno karaktera", -DlgTextType : "Tip", -DlgTextTypeText : "Tekst", -DlgTextTypePass : "Lozinka", - -// Hidden Field Dialog -DlgHiddenName : "Naziv", -DlgHiddenValue : "Vrednost", - -// Bulleted List Dialog -BulletedListProp : "Osobine nenabrojive liste", -NumberedListProp : "Osobine nabrojive liste", -DlgLstStart : "Start", //MISSING -DlgLstType : "Tip", -DlgLstTypeCircle : "Krug", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Kvadrat", -DlgLstTypeNumbers : "Brojevi (1, 2, 3)", -DlgLstTypeLCase : "mala slova (a, b, c)", -DlgLstTypeUCase : "VELIKA slova (A, B, C)", -DlgLstTypeSRoman : "Male rimske cifre (i, ii, iii)", -DlgLstTypeLRoman : "Velike rimske cifre (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Opšte osobine", -DlgDocBackTab : "Pozadina", -DlgDocColorsTab : "Boje i margine", -DlgDocMetaTab : "Metapodaci", - -DlgDocPageTitle : "Naslov stranice", -DlgDocLangDir : "Smer jezika", -DlgDocLangDirLTR : "Sleva nadesno (LTR)", -DlgDocLangDirRTL : "Zdesna nalevo (RTL)", -DlgDocLangCode : "Šifra jezika", -DlgDocCharSet : "Kodiranje skupa karaktera", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Ostala kodiranja skupa karaktera", - -DlgDocDocType : "Zaglavlje tipa dokumenta", -DlgDocDocTypeOther : "Ostala zaglavlja tipa dokumenta", -DlgDocIncXHTML : "Ukljuci XHTML deklaracije", -DlgDocBgColor : "Boja pozadine", -DlgDocBgImage : "URL pozadinske slike", -DlgDocBgNoScroll : "Fiksirana pozadina", -DlgDocCText : "Tekst", -DlgDocCLink : "Link", -DlgDocCVisited : "Posećeni link", -DlgDocCActive : "Aktivni link", -DlgDocMargins : "Margine stranice", -DlgDocMaTop : "Gornja", -DlgDocMaLeft : "Leva", -DlgDocMaRight : "Desna", -DlgDocMaBottom : "Donja", -DlgDocMeIndex : "Ključne reci za indeksiranje dokumenta (razdvojene zarezima)", -DlgDocMeDescr : "Opis dokumenta", -DlgDocMeAuthor : "Autor", -DlgDocMeCopy : "Autorska prava", -DlgDocPreview : "Izgled stranice", - -// Templates Dialog -Templates : "Obrasci", -DlgTemplatesTitle : "Obrasci za sadržaj", -DlgTemplatesSelMsg : "Molimo Vas da odaberete obrazac koji ce biti primenjen na stranicu (trenutni sadržaj ce biti obrisan):", -DlgTemplatesLoading : "Učitavam listu obrazaca. Malo strpljenja...", -DlgTemplatesNoTpl : "(Nema definisanih obrazaca)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "O editoru", -DlgAboutBrowserInfoTab : "Informacije o pretraživacu", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "verzija", -DlgAboutInfo : "Za više informacija posetite" -}; diff --git a/editor/editor/lang/sr.js b/editor/editor/lang/sr.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Serbian (Cyrillic) language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Смањи линију са алаткама", -ToolbarExpand : "Прошири линију са алаткама", - -// Toolbar Items and Context Menu -Save : "Сачувај", -NewPage : "Нова страница", -Preview : "Изглед странице", -Cut : "Исеци", -Copy : "Копирај", -Paste : "Залепи", -PasteText : "Залепи као неформатиран текст", -PasteWord : "Залепи из Worda", -Print : "Штампа", -SelectAll : "Означи све", -RemoveFormat : "Уклони форматирање", -InsertLinkLbl : "Линк", -InsertLink : "Унеси/измени линк", -RemoveLink : "Уклони линк", -Anchor : "Унеси/измени сидро", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Слика", -InsertImage : "Унеси/измени слику", -InsertFlashLbl : "Флеш елемент", -InsertFlash : "Унеси/измени флеш", -InsertTableLbl : "Табела", -InsertTable : "Унеси/измени табелу", -InsertLineLbl : "Линија", -InsertLine : "Унеси хоризонталну линију", -InsertSpecialCharLbl: "Специјални карактери", -InsertSpecialChar : "Унеси специјални карактер", -InsertSmileyLbl : "Смајли", -InsertSmiley : "Унеси смајлија", -About : "О ФЦКедитору", -Bold : "Подебљано", -Italic : "Курзив", -Underline : "Подвучено", -StrikeThrough : "Прецртано", -Subscript : "Индекс", -Superscript : "Степен", -LeftJustify : "Лево равнање", -CenterJustify : "Центриран текст", -RightJustify : "Десно равнање", -BlockJustify : "Обострано равнање", -DecreaseIndent : "Смањи леву маргину", -IncreaseIndent : "Увећај леву маргину", -Blockquote : "Blockquote", //MISSING -Undo : "Поништи акцију", -Redo : "Понови акцију", -NumberedListLbl : "Набројиву листу", -NumberedList : "Унеси/уклони набројиву листу", -BulletedListLbl : "Ненабројива листа", -BulletedList : "Унеси/уклони ненабројиву листу", -ShowTableBorders : "Прикажи оквир табеле", -ShowDetails : "Прикажи детаље", -Style : "Стил", -FontFormat : "Формат", -Font : "Фонт", -FontSize : "Величина фонта", -TextColor : "Боја текста", -BGColor : "Боја позадине", -Source : "Kôд", -Find : "Претрага", -Replace : "Замена", -SpellCheck : "Провери спеловање", -UniversalKeyboard : "Универзална тастатура", -PageBreakLbl : "Page Break", //MISSING -PageBreak : "Insert Page Break", //MISSING - -Form : "Форма", -Checkbox : "Поље за потврду", -RadioButton : "Радио-дугме", -TextField : "Текстуално поље", -Textarea : "Зона текста", -HiddenField : "Скривено поље", -Button : "Дугме", -SelectionField : "Изборно поље", -ImageButton : "Дугме са сликом", - -FitWindow : "Maximize the editor size", //MISSING -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Промени линк", -CellCM : "Cell", //MISSING -RowCM : "Row", //MISSING -ColumnCM : "Column", //MISSING -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Обриши редове", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Обриши колоне", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Обриши ћелије", -MergeCells : "Спој ћелије", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Delete Table", //MISSING -CellProperties : "Особине ћелије", -TableProperties : "Особине табеле", -ImageProperties : "Особине слике", -FlashProperties : "Особине Флеша", - -AnchorProp : "Особине сидра", -ButtonProp : "Особине дугмета", -CheckboxProp : "Особине поља за потврду", -HiddenFieldProp : "Особине скривеног поља", -RadioButtonProp : "Особине радио-дугмета", -ImageButtonProp : "Особине дугмета са сликом", -TextFieldProp : "Особине текстуалног поља", -SelectionFieldProp : "Особине изборног поља", -TextareaProp : "Особине зоне текста", -FormProp : "Особине форме", - -FontFormats : "Normal;Formatirano;Adresa;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6", - -// Alerts and Messages -ProcessingXHTML : "Обрађујем XHTML. Maлo стрпљења...", -Done : "Завршио", -PasteWordConfirm : "Текст који желите да налепите копиран је из Worda. Да ли желите да буде очишћен од формата пре лепљења?", -NotCompatiblePaste : "Ова команда је доступна само за Интернет Екплорер од верзије 5.5. Да ли желите да налепим текст без чишћења?", -UnknownToolbarItem : "Непозната ставка toolbara \"%1\"", -UnknownCommand : "Непозната наредба \"%1\"", -NotImplemented : "Наредба није имплементирана", -UnknownToolbarSet : "Toolbar \"%1\" не постоји", -NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING -BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING -DialogBlocked : "It was not possible to open the dialog window. Make sure all popup blockers are disabled.", //MISSING - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Oткажи", -DlgBtnClose : "Затвори", -DlgBtnBrowseServer : "Претражи сервер", -DlgAdvancedTag : "Напредни тагови", -DlgOpOther : "<Остали>", -DlgInfoTab : "Инфо", -DlgAlertUrl : "Молимо Вас, унесите УРЛ", - -// General Dialogs Labels -DlgGenNotSet : "<није постављено>", -DlgGenId : "Ид", -DlgGenLangDir : "Смер језика", -DlgGenLangDirLtr : "С лева на десно (LTR)", -DlgGenLangDirRtl : "С десна на лево (RTL)", -DlgGenLangCode : "Kôд језика", -DlgGenAccessKey : "Приступни тастер", -DlgGenName : "Назив", -DlgGenTabIndex : "Таб индекс", -DlgGenLongDescr : "Пун опис УРЛ", -DlgGenClass : "Stylesheet класе", -DlgGenTitle : "Advisory наслов", -DlgGenContType : "Advisory врста садржаја", -DlgGenLinkCharset : "Linked Resource Charset", -DlgGenStyle : "Стил", - -// Image Dialog -DlgImgTitle : "Особине слика", -DlgImgInfoTab : "Инфо слике", -DlgImgBtnUpload : "Пошаљи на сервер", -DlgImgURL : "УРЛ", -DlgImgUpload : "Пошаљи", -DlgImgAlt : "Алтернативни текст", -DlgImgWidth : "Ширина", -DlgImgHeight : "Висина", -DlgImgLockRatio : "Закључај однос", -DlgBtnResetSize : "Ресетуј величину", -DlgImgBorder : "Оквир", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Равнање", -DlgImgAlignLeft : "Лево", -DlgImgAlignAbsBottom: "Abs доле", -DlgImgAlignAbsMiddle: "Abs средина", -DlgImgAlignBaseline : "Базно", -DlgImgAlignBottom : "Доле", -DlgImgAlignMiddle : "Средина", -DlgImgAlignRight : "Десно", -DlgImgAlignTextTop : "Врх текста", -DlgImgAlignTop : "Врх", -DlgImgPreview : "Изглед", -DlgImgAlertUrl : "Унесите УРЛ слике", -DlgImgLinkTab : "Линк", - -// Flash Dialog -DlgFlashTitle : "Особине флеша", -DlgFlashChkPlay : "Аутоматски старт", -DlgFlashChkLoop : "Понављај", -DlgFlashChkMenu : "Укључи флеш мени", -DlgFlashScale : "Скалирај", -DlgFlashScaleAll : "Прикажи све", -DlgFlashScaleNoBorder : "Без ивице", -DlgFlashScaleFit : "Попуни површину", - -// Link Dialog -DlgLnkWindowTitle : "Линк", -DlgLnkInfoTab : "Линк инфо", -DlgLnkTargetTab : "Мета", - -DlgLnkType : "Врста линка", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Сидро на овој страници", -DlgLnkTypeEMail : "Eлектронска пошта", -DlgLnkProto : "Протокол", -DlgLnkProtoOther : "<друго>", -DlgLnkURL : "УРЛ", -DlgLnkAnchorSel : "Одабери сидро", -DlgLnkAnchorByName : "По називу сидра", -DlgLnkAnchorById : "Пo Ид-jу елемента", -DlgLnkNoAnchors : "(Нема доступних сидра)", -DlgLnkEMail : "Адреса електронске поште", -DlgLnkEMailSubject : "Наслов", -DlgLnkEMailBody : "Садржај поруке", -DlgLnkUpload : "Пошаљи", -DlgLnkBtnUpload : "Пошаљи на сервер", - -DlgLnkTarget : "Meтa", -DlgLnkTargetFrame : "<оквир>", -DlgLnkTargetPopup : "<искачући прозор>", -DlgLnkTargetBlank : "Нови прозор (_blank)", -DlgLnkTargetParent : "Родитељски прозор (_parent)", -DlgLnkTargetSelf : "Исти прозор (_self)", -DlgLnkTargetTop : "Прозор на врху (_top)", -DlgLnkTargetFrameName : "Назив одредишног фрејма", -DlgLnkPopWinName : "Назив искачућег прозора", -DlgLnkPopWinFeat : "Могућности искачућег прозора", -DlgLnkPopResize : "Променљива величина", -DlgLnkPopLocation : "Локација", -DlgLnkPopMenu : "Контекстни мени", -DlgLnkPopScroll : "Скрол бар", -DlgLnkPopStatus : "Статусна линија", -DlgLnkPopToolbar : "Toolbar", -DlgLnkPopFullScrn : "Приказ преко целог екрана (ИE)", -DlgLnkPopDependent : "Зависно (Netscape)", -DlgLnkPopWidth : "Ширина", -DlgLnkPopHeight : "Висина", -DlgLnkPopLeft : "Од леве ивице екрана (пиксела)", -DlgLnkPopTop : "Од врха екрана (пиксела)", - -DlnLnkMsgNoUrl : "Унесите УРЛ линка", -DlnLnkMsgNoEMail : "Откуцајте адресу електронске поште", -DlnLnkMsgNoAnchor : "Одаберите сидро", -DlnLnkMsgInvPopName : "The popup name must begin with an alphabetic character and must not contain spaces", //MISSING - -// Color Dialog -DlgColorTitle : "Одаберите боју", -DlgColorBtnClear : "Обриши", -DlgColorHighlight : "Посветли", -DlgColorSelected : "Одабери", - -// Smiley Dialog -DlgSmileyTitle : "Унеси смајлија", - -// Special Character Dialog -DlgSpecialCharTitle : "Одаберите специјални карактер", - -// Table Dialog -DlgTableTitle : "Особине табеле", -DlgTableRows : "Редова", -DlgTableColumns : "Kолона", -DlgTableBorder : "Величина оквира", -DlgTableAlign : "Равнање", -DlgTableAlignNotSet : "<није постављено>", -DlgTableAlignLeft : "Лево", -DlgTableAlignCenter : "Средина", -DlgTableAlignRight : "Десно", -DlgTableWidth : "Ширина", -DlgTableWidthPx : "пиксела", -DlgTableWidthPc : "процената", -DlgTableHeight : "Висина", -DlgTableCellSpace : "Ћелијски простор", -DlgTableCellPad : "Размак ћелија", -DlgTableCaption : "Наслов табеле", -DlgTableSummary : "Summary", //MISSING - -// Table Cell Dialog -DlgCellTitle : "Особине ћелије", -DlgCellWidth : "Ширина", -DlgCellWidthPx : "пиксела", -DlgCellWidthPc : "процената", -DlgCellHeight : "Висина", -DlgCellWordWrap : "Дељење речи", -DlgCellWordWrapNotSet : "<није постављено>", -DlgCellWordWrapYes : "Да", -DlgCellWordWrapNo : "Не", -DlgCellHorAlign : "Водоравно равнање", -DlgCellHorAlignNotSet : "<није постављено>", -DlgCellHorAlignLeft : "Лево", -DlgCellHorAlignCenter : "Средина", -DlgCellHorAlignRight: "Десно", -DlgCellVerAlign : "Вертикално равнање", -DlgCellVerAlignNotSet : "<није постављено>", -DlgCellVerAlignTop : "Горње", -DlgCellVerAlignMiddle : "Средина", -DlgCellVerAlignBottom : "Доње", -DlgCellVerAlignBaseline : "Базно", -DlgCellRowSpan : "Спајање редова", -DlgCellCollSpan : "Спајање колона", -DlgCellBackColor : "Боја позадине", -DlgCellBorderColor : "Боја оквира", -DlgCellBtnSelect : "Oдабери...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Пронађи", -DlgFindFindBtn : "Пронађи", -DlgFindNotFoundMsg : "Тражени текст није пронађен.", - -// Replace Dialog -DlgReplaceTitle : "Замени", -DlgReplaceFindLbl : "Пронађи:", -DlgReplaceReplaceLbl : "Замени са:", -DlgReplaceCaseChk : "Разликуј велика и мала слова", -DlgReplaceReplaceBtn : "Замени", -DlgReplaceReplAllBtn : "Замени све", -DlgReplaceWordChk : "Упореди целе речи", - -// Paste Operations / Dialog -PasteErrorCut : "Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског исецања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl+X).", -PasteErrorCopy : "Сигурносна подешавања Вашег претраживача не дозвољавају операције аутоматског копирања текста. Молимо Вас да користите пречицу са тастатуре (Ctrl+C).", - -PasteAsText : "Залепи као чист текст", -PasteFromWord : "Залепи из Worda", - -DlgPasteMsg2 : "Молимо Вас да залепите унутар доње површине користећи тастатурну пречицу (<STRONG>Ctrl+V</STRONG>) и да притиснете <STRONG>OK</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Игнориши Font Face дефиниције", -DlgPasteRemoveStyles : "Уклони дефиниције стилова", -DlgPasteCleanBox : "Обриши све", - -// Color Picker -ColorAutomatic : "Аутоматски", -ColorMoreColors : "Више боја...", - -// Document Properties -DocProps : "Особине документа", - -// Anchor Dialog -DlgAnchorTitle : "Особине сидра", -DlgAnchorName : "Име сидра", -DlgAnchorErrorName : "Молимо Вас да унесете име сидра", - -// Speller Pages Dialog -DlgSpellNotInDic : "Није у речнику", -DlgSpellChangeTo : "Измени", -DlgSpellBtnIgnore : "Игнориши", -DlgSpellBtnIgnoreAll : "Игнориши све", -DlgSpellBtnReplace : "Замени", -DlgSpellBtnReplaceAll : "Замени све", -DlgSpellBtnUndo : "Врати акцију", -DlgSpellNoSuggestions : "- Без сугестија -", -DlgSpellProgress : "Провера спеловања у току...", -DlgSpellNoMispell : "Провера спеловања завршена: грешке нису пронађене", -DlgSpellNoChanges : "Провера спеловања завршена: Није измењена ниједна реч", -DlgSpellOneChange : "Провера спеловања завршена: Измењена је једна реч", -DlgSpellManyChanges : "Провера спеловања завршена: %1 реч(и) је измењено", - -IeSpellDownload : "Провера спеловања није инсталирана. Да ли желите да је скинете са Интернета?", - -// Button Dialog -DlgButtonText : "Текст (вредност)", -DlgButtonType : "Tип", -DlgButtonTypeBtn : "Button", //MISSING -DlgButtonTypeSbm : "Submit", //MISSING -DlgButtonTypeRst : "Reset", //MISSING - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Назив", -DlgCheckboxValue : "Вредност", -DlgCheckboxSelected : "Означено", - -// Form Dialog -DlgFormName : "Назив", -DlgFormAction : "Aкција", -DlgFormMethod : "Mетода", - -// Select Field Dialog -DlgSelectName : "Назив", -DlgSelectValue : "Вредност", -DlgSelectSize : "Величина", -DlgSelectLines : "линија", -DlgSelectChkMulti : "Дозволи вишеструку селекцију", -DlgSelectOpAvail : "Доступне опције", -DlgSelectOpText : "Текст", -DlgSelectOpValue : "Вредност", -DlgSelectBtnAdd : "Додај", -DlgSelectBtnModify : "Измени", -DlgSelectBtnUp : "Горе", -DlgSelectBtnDown : "Доле", -DlgSelectBtnSetValue : "Подеси као означену вредност", -DlgSelectBtnDelete : "Обриши", - -// Textarea Dialog -DlgTextareaName : "Назив", -DlgTextareaCols : "Број колона", -DlgTextareaRows : "Број редова", - -// Text Field Dialog -DlgTextName : "Назив", -DlgTextValue : "Вредност", -DlgTextCharWidth : "Ширина (карактера)", -DlgTextMaxChars : "Максимално карактера", -DlgTextType : "Тип", -DlgTextTypeText : "Текст", -DlgTextTypePass : "Лозинка", - -// Hidden Field Dialog -DlgHiddenName : "Назив", -DlgHiddenValue : "Вредност", - -// Bulleted List Dialog -BulletedListProp : "Особине Bulleted листе", -NumberedListProp : "Особине набројиве листе", -DlgLstStart : "Start", //MISSING -DlgLstType : "Тип", -DlgLstTypeCircle : "Круг", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "Квадрат", -DlgLstTypeNumbers : "Бројеви (1, 2, 3)", -DlgLstTypeLCase : "мала слова (a, b, c)", -DlgLstTypeUCase : "ВЕЛИКА СЛОВА (A, B, C)", -DlgLstTypeSRoman : "Мале римске цифре (i, ii, iii)", -DlgLstTypeLRoman : "Велике римске цифре (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Опште особине", -DlgDocBackTab : "Позадина", -DlgDocColorsTab : "Боје и маргине", -DlgDocMetaTab : "Метаподаци", - -DlgDocPageTitle : "Наслов странице", -DlgDocLangDir : "Смер језика", -DlgDocLangDirLTR : "Слева надесно (LTR)", -DlgDocLangDirRTL : "Здесна налево (RTL)", -DlgDocLangCode : "Шифра језика", -DlgDocCharSet : "Кодирање скупа карактера", -DlgDocCharSetCE : "Central European", //MISSING -DlgDocCharSetCT : "Chinese Traditional (Big5)", //MISSING -DlgDocCharSetCR : "Cyrillic", //MISSING -DlgDocCharSetGR : "Greek", //MISSING -DlgDocCharSetJP : "Japanese", //MISSING -DlgDocCharSetKR : "Korean", //MISSING -DlgDocCharSetTR : "Turkish", //MISSING -DlgDocCharSetUN : "Unicode (UTF-8)", //MISSING -DlgDocCharSetWE : "Western European", //MISSING -DlgDocCharSetOther : "Остала кодирања скупа карактера", - -DlgDocDocType : "Заглавље типа документа", -DlgDocDocTypeOther : "Остала заглавља типа документа", -DlgDocIncXHTML : "Улључи XHTML декларације", -DlgDocBgColor : "Боја позадине", -DlgDocBgImage : "УРЛ позадинске слике", -DlgDocBgNoScroll : "Фиксирана позадина", -DlgDocCText : "Текст", -DlgDocCLink : "Линк", -DlgDocCVisited : "Посећени линк", -DlgDocCActive : "Активни линк", -DlgDocMargins : "Маргине странице", -DlgDocMaTop : "Горња", -DlgDocMaLeft : "Лева", -DlgDocMaRight : "Десна", -DlgDocMaBottom : "Доња", -DlgDocMeIndex : "Кључне речи за индексирање документа (раздвојене зарезом)", -DlgDocMeDescr : "Опис документа", -DlgDocMeAuthor : "Аутор", -DlgDocMeCopy : "Ауторска права", -DlgDocPreview : "Изглед странице", - -// Templates Dialog -Templates : "Обрасци", -DlgTemplatesTitle : "Обрасци за садржај", -DlgTemplatesSelMsg : "Молимо Вас да одаберете образац који ће бити примењен на страницу (тренутни садржај ће бити обрисан):", -DlgTemplatesLoading : "Учитавам листу образаца. Мало стрпљења...", -DlgTemplatesNoTpl : "(Нема дефинисаних образаца)", -DlgTemplatesReplace : "Replace actual contents", //MISSING - -// About Dialog -DlgAboutAboutTab : "О едитору", -DlgAboutBrowserInfoTab : "Информације о претраживачу", -DlgAboutLicenseTab : "License", //MISSING -DlgAboutVersion : "верзија", -DlgAboutInfo : "За више информација посетите" -}; diff --git a/editor/editor/lang/sv.js b/editor/editor/lang/sv.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Swedish language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Dölj verktygsfält", -ToolbarExpand : "Visa verktygsfält", - -// Toolbar Items and Context Menu -Save : "Spara", -NewPage : "Ny sida", -Preview : "Förhandsgranska", -Cut : "Klipp ut", -Copy : "Kopiera", -Paste : "Klistra in", -PasteText : "Klistra in som text", -PasteWord : "Klistra in från Word", -Print : "Skriv ut", -SelectAll : "Markera allt", -RemoveFormat : "Radera formatering", -InsertLinkLbl : "Länk", -InsertLink : "Infoga/Redigera länk", -RemoveLink : "Radera länk", -Anchor : "Infoga/Redigera ankarlänk", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Bild", -InsertImage : "Infoga/Redigera bild", -InsertFlashLbl : "Flash", -InsertFlash : "Infoga/Redigera Flash", -InsertTableLbl : "Tabell", -InsertTable : "Infoga/Redigera tabell", -InsertLineLbl : "Linje", -InsertLine : "Infoga horisontal linje", -InsertSpecialCharLbl: "Utökade tecken", -InsertSpecialChar : "Klistra in utökat tecken", -InsertSmileyLbl : "Smiley", -InsertSmiley : "Infoga Smiley", -About : "Om FCKeditor", -Bold : "Fet", -Italic : "Kursiv", -Underline : "Understruken", -StrikeThrough : "Genomstruken", -Subscript : "Nedsänkta tecken", -Superscript : "Upphöjda tecken", -LeftJustify : "Vänsterjustera", -CenterJustify : "Centrera", -RightJustify : "Högerjustera", -BlockJustify : "Justera till marginaler", -DecreaseIndent : "Minska indrag", -IncreaseIndent : "Öka indrag", -Blockquote : "Blockquote", //MISSING -Undo : "Ångra", -Redo : "Gör om", -NumberedListLbl : "Numrerad lista", -NumberedList : "Infoga/Radera numrerad lista", -BulletedListLbl : "Punktlista", -BulletedList : "Infoga/Radera punktlista", -ShowTableBorders : "Visa tabellkant", -ShowDetails : "Visa radbrytningar", -Style : "Anpassad stil", -FontFormat : "Teckenformat", -Font : "Typsnitt", -FontSize : "Storlek", -TextColor : "Textfärg", -BGColor : "Bakgrundsfärg", -Source : "Källa", -Find : "Sök", -Replace : "Ersätt", -SpellCheck : "Stavningskontroll", -UniversalKeyboard : "Universellt tangentbord", -PageBreakLbl : "Sidbrytning", -PageBreak : "Infoga sidbrytning", - -Form : "Formulär", -Checkbox : "Kryssruta", -RadioButton : "Alternativknapp", -TextField : "Textfält", -Textarea : "Textruta", -HiddenField : "Dolt fält", -Button : "Knapp", -SelectionField : "Flervalslista", -ImageButton : "Bildknapp", - -FitWindow : "Anpassa till fönstrets storlek", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Redigera länk", -CellCM : "Cell", -RowCM : "Rad", -ColumnCM : "Kolumn", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Radera rad", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Radera kolumn", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Radera celler", -MergeCells : "Sammanfoga celler", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Radera tabell", -CellProperties : "Cellegenskaper", -TableProperties : "Tabellegenskaper", -ImageProperties : "Bildegenskaper", -FlashProperties : "Flashegenskaper", - -AnchorProp : "Egenskaper för ankarlänk", -ButtonProp : "Egenskaper för knapp", -CheckboxProp : "Egenskaper för kryssruta", -HiddenFieldProp : "Egenskaper för dolt fält", -RadioButtonProp : "Egenskaper för alternativknapp", -ImageButtonProp : "Egenskaper för bildknapp", -TextFieldProp : "Egenskaper för textfält", -SelectionFieldProp : "Egenskaper för flervalslista", -TextareaProp : "Egenskaper för textruta", -FormProp : "Egenskaper för formulär", - -FontFormats : "Normal;Formaterad;Adress;Rubrik 1;Rubrik 2;Rubrik 3;Rubrik 4;Rubrik 5;Rubrik 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Bearbetar XHTML. Var god vänta...", -Done : "Klar", -PasteWordConfirm : "Texten du vill klistra in verkar vara kopierad från Word. Vill du rensa innan du klistar in?", -NotCompatiblePaste : "Denna åtgärd är inte tillgängligt för Internet Explorer version 5.5 eller högre. Vill du klistra in utan att rensa?", -UnknownToolbarItem : "Okänt verktygsfält \"%1\"", -UnknownCommand : "Okänt kommando \"%1\"", -NotImplemented : "Kommandot finns ej", -UnknownToolbarSet : "Verktygsfält \"%1\" finns ej", -NoActiveX : "Din webläsares säkerhetsinställningar kan begränsa funktionaliteten. Du bör aktivera \"Kör ActiveX kontroller och plug-ins\". Fel och avsaknad av funktioner kan annars uppstå.", -BrowseServerBlocked : "Kunde Ej öppna resursfönstret. Var god och avaktivera alla popup-blockerare.", -DialogBlocked : "Kunde Ej öppna dialogfönstret. Var god och avaktivera alla popup-blockerare.", - -// Dialogs -DlgBtnOK : "OK", -DlgBtnCancel : "Avbryt", -DlgBtnClose : "Stäng", -DlgBtnBrowseServer : "Bläddra på server", -DlgAdvancedTag : "Avancerad", -DlgOpOther : "Övrigt", -DlgInfoTab : "Information", -DlgAlertUrl : "Var god och ange en URL", - -// General Dialogs Labels -DlgGenNotSet : "<ej angivet>", -DlgGenId : "Id", -DlgGenLangDir : "Språkriktning", -DlgGenLangDirLtr : "Vänster till Höger (VTH)", -DlgGenLangDirRtl : "Höger till Vänster (HTV)", -DlgGenLangCode : "Språkkod", -DlgGenAccessKey : "Behörighetsnyckel", -DlgGenName : "Namn", -DlgGenTabIndex : "Tabindex", -DlgGenLongDescr : "URL-beskrivning", -DlgGenClass : "Stylesheet class", -DlgGenTitle : "Titel", -DlgGenContType : "Innehållstyp", -DlgGenLinkCharset : "Teckenuppställning", -DlgGenStyle : "Style", - -// Image Dialog -DlgImgTitle : "Bildegenskaper", -DlgImgInfoTab : "Bildinformation", -DlgImgBtnUpload : "Skicka till server", -DlgImgURL : "URL", -DlgImgUpload : "Ladda upp", -DlgImgAlt : "Alternativ text", -DlgImgWidth : "Bredd", -DlgImgHeight : "Höjd", -DlgImgLockRatio : "Lås höjd/bredd förhållanden", -DlgBtnResetSize : "Återställ storlek", -DlgImgBorder : "Kant", -DlgImgHSpace : "Horis. marginal", -DlgImgVSpace : "Vert. marginal", -DlgImgAlign : "Justering", -DlgImgAlignLeft : "Vänster", -DlgImgAlignAbsBottom: "Absolut nederkant", -DlgImgAlignAbsMiddle: "Absolut centrering", -DlgImgAlignBaseline : "Baslinje", -DlgImgAlignBottom : "Nederkant", -DlgImgAlignMiddle : "Mitten", -DlgImgAlignRight : "Höger", -DlgImgAlignTextTop : "Text överkant", -DlgImgAlignTop : "Överkant", -DlgImgPreview : "Förhandsgranska", -DlgImgAlertUrl : "Var god och ange bildens URL", -DlgImgLinkTab : "Länk", - -// Flash Dialog -DlgFlashTitle : "Flashegenskaper", -DlgFlashChkPlay : "Automatisk uppspelning", -DlgFlashChkLoop : "Upprepa/Loopa", -DlgFlashChkMenu : "Aktivera Flashmeny", -DlgFlashScale : "Skala", -DlgFlashScaleAll : "Visa allt", -DlgFlashScaleNoBorder : "Ingen ram", -DlgFlashScaleFit : "Exakt passning", - -// Link Dialog -DlgLnkWindowTitle : "Länk", -DlgLnkInfoTab : "Länkinformation", -DlgLnkTargetTab : "Mål", - -DlgLnkType : "Länktyp", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Ankare i sidan", -DlgLnkTypeEMail : "E-post", -DlgLnkProto : "Protokoll", -DlgLnkProtoOther : "<övrigt>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Välj ett ankare", -DlgLnkAnchorByName : "efter ankarnamn", -DlgLnkAnchorById : "efter objektid", -DlgLnkNoAnchors : "(Inga ankare kunde hittas)", -DlgLnkEMail : "E-postadress", -DlgLnkEMailSubject : "Ämne", -DlgLnkEMailBody : "Innehåll", -DlgLnkUpload : "Ladda upp", -DlgLnkBtnUpload : "Skicka till servern", - -DlgLnkTarget : "Mål", -DlgLnkTargetFrame : "<ram>", -DlgLnkTargetPopup : "<popup-fönster>", -DlgLnkTargetBlank : "Nytt fönster (_blank)", -DlgLnkTargetParent : "Föregående Window (_parent)", -DlgLnkTargetSelf : "Detta fönstret (_self)", -DlgLnkTargetTop : "Översta fönstret (_top)", -DlgLnkTargetFrameName : "Målets ramnamn", -DlgLnkPopWinName : "Popup-fönstrets namn", -DlgLnkPopWinFeat : "Popup-fönstrets egenskaper", -DlgLnkPopResize : "Kan ändra storlek", -DlgLnkPopLocation : "Adressfält", -DlgLnkPopMenu : "Menyfält", -DlgLnkPopScroll : "Scrolllista", -DlgLnkPopStatus : "Statusfält", -DlgLnkPopToolbar : "Verktygsfält", -DlgLnkPopFullScrn : "Helskärm (endast IE)", -DlgLnkPopDependent : "Beroende (endest Netscape)", -DlgLnkPopWidth : "Bredd", -DlgLnkPopHeight : "Höjd", -DlgLnkPopLeft : "Position från vänster", -DlgLnkPopTop : "Position från sidans topp", - -DlnLnkMsgNoUrl : "Var god ange länkens URL", -DlnLnkMsgNoEMail : "Var god ange E-postadress", -DlnLnkMsgNoAnchor : "Var god ange ett ankare", -DlnLnkMsgInvPopName : "Popup-rutans namn måste börja med en alfabetisk bokstav och får inte innehålla mellanslag", - -// Color Dialog -DlgColorTitle : "Välj färg", -DlgColorBtnClear : "Rensa", -DlgColorHighlight : "Markera", -DlgColorSelected : "Vald", - -// Smiley Dialog -DlgSmileyTitle : "Infoga smiley", - -// Special Character Dialog -DlgSpecialCharTitle : "Välj utökat tecken", - -// Table Dialog -DlgTableTitle : "Tabellegenskaper", -DlgTableRows : "Rader", -DlgTableColumns : "Kolumner", -DlgTableBorder : "Kantstorlek", -DlgTableAlign : "Justering", -DlgTableAlignNotSet : "<ej angivet>", -DlgTableAlignLeft : "Vänster", -DlgTableAlignCenter : "Centrerad", -DlgTableAlignRight : "Höger", -DlgTableWidth : "Bredd", -DlgTableWidthPx : "pixlar", -DlgTableWidthPc : "procent", -DlgTableHeight : "Höjd", -DlgTableCellSpace : "Cellavstånd", -DlgTableCellPad : "Cellutfyllnad", -DlgTableCaption : "Rubrik", -DlgTableSummary : "Sammanfattning", - -// Table Cell Dialog -DlgCellTitle : "Cellegenskaper", -DlgCellWidth : "Bredd", -DlgCellWidthPx : "pixlar", -DlgCellWidthPc : "procent", -DlgCellHeight : "Höjd", -DlgCellWordWrap : "Automatisk radbrytning", -DlgCellWordWrapNotSet : "<Ej angivet>", -DlgCellWordWrapYes : "Ja", -DlgCellWordWrapNo : "Nej", -DlgCellHorAlign : "Horisontal justering", -DlgCellHorAlignNotSet : "<Ej angivet>", -DlgCellHorAlignLeft : "Vänster", -DlgCellHorAlignCenter : "Centrerad", -DlgCellHorAlignRight: "Höger", -DlgCellVerAlign : "Vertikal justering", -DlgCellVerAlignNotSet : "<Ej angivet>", -DlgCellVerAlignTop : "Topp", -DlgCellVerAlignMiddle : "Mitten", -DlgCellVerAlignBottom : "Nederkant", -DlgCellVerAlignBaseline : "Underst", -DlgCellRowSpan : "Radomfång", -DlgCellCollSpan : "Kolumnomfång", -DlgCellBackColor : "Bakgrundsfärg", -DlgCellBorderColor : "Kantfärg", -DlgCellBtnSelect : "Välj...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Sök", -DlgFindFindBtn : "Sök", -DlgFindNotFoundMsg : "Angiven text kunde ej hittas.", - -// Replace Dialog -DlgReplaceTitle : "Ersätt", -DlgReplaceFindLbl : "Sök efter:", -DlgReplaceReplaceLbl : "Ersätt med:", -DlgReplaceCaseChk : "Skiftläge", -DlgReplaceReplaceBtn : "Ersätt", -DlgReplaceReplAllBtn : "Ersätt alla", -DlgReplaceWordChk : "Inkludera hela ord", - -// Paste Operations / Dialog -PasteErrorCut : "Säkerhetsinställningar i Er webläsare tillåter inte åtgården Klipp ut. Använd (Ctrl+X) istället.", -PasteErrorCopy : "Säkerhetsinställningar i Er webläsare tillåter inte åtgården Kopiera. Använd (Ctrl+C) istället", - -PasteAsText : "Klistra in som vanlig text", -PasteFromWord : "Klistra in från Word", - -DlgPasteMsg2 : "Var god och klistra in Er text i rutan nedan genom att använda (<STRONG>Ctrl+V</STRONG>) klicka sen på <STRONG>OK</STRONG>.", -DlgPasteSec : "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.", -DlgPasteIgnoreFont : "Ignorera typsnittsdefinitioner", -DlgPasteRemoveStyles : "Radera Stildefinitioner", -DlgPasteCleanBox : "Töm rutans innehåll", - -// Color Picker -ColorAutomatic : "Automatisk", -ColorMoreColors : "Fler färger...", - -// Document Properties -DocProps : "Dokumentegenskaper", - -// Anchor Dialog -DlgAnchorTitle : "Ankaregenskaper", -DlgAnchorName : "Ankarnamn", -DlgAnchorErrorName : "Var god ange ett ankarnamn", - -// Speller Pages Dialog -DlgSpellNotInDic : "Saknas i ordlistan", -DlgSpellChangeTo : "Ändra till", -DlgSpellBtnIgnore : "Ignorera", -DlgSpellBtnIgnoreAll : "Ignorera alla", -DlgSpellBtnReplace : "Ersätt", -DlgSpellBtnReplaceAll : "Ersätt alla", -DlgSpellBtnUndo : "Ångra", -DlgSpellNoSuggestions : "- Förslag saknas -", -DlgSpellProgress : "Stavningskontroll pågår...", -DlgSpellNoMispell : "Stavningskontroll slutförd: Inga stavfel påträffades.", -DlgSpellNoChanges : "Stavningskontroll slutförd: Inga ord rättades.", -DlgSpellOneChange : "Stavningskontroll slutförd: Ett ord rättades.", -DlgSpellManyChanges : "Stavningskontroll slutförd: %1 ord rättades.", - -IeSpellDownload : "Stavningskontrollen är ej installerad. Vill du göra det nu?", - -// Button Dialog -DlgButtonText : "Text (Värde)", -DlgButtonType : "Typ", -DlgButtonTypeBtn : "Knapp", -DlgButtonTypeSbm : "Skicka", -DlgButtonTypeRst : "Återställ", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Namn", -DlgCheckboxValue : "Värde", -DlgCheckboxSelected : "Vald", - -// Form Dialog -DlgFormName : "Namn", -DlgFormAction : "Funktion", -DlgFormMethod : "Metod", - -// Select Field Dialog -DlgSelectName : "Namn", -DlgSelectValue : "Värde", -DlgSelectSize : "Storlek", -DlgSelectLines : "Linjer", -DlgSelectChkMulti : "Tillåt flerval", -DlgSelectOpAvail : "Befintliga val", -DlgSelectOpText : "Text", -DlgSelectOpValue : "Värde", -DlgSelectBtnAdd : "Lägg till", -DlgSelectBtnModify : "Redigera", -DlgSelectBtnUp : "Upp", -DlgSelectBtnDown : "Ner", -DlgSelectBtnSetValue : "Markera som valt värde", -DlgSelectBtnDelete : "Radera", - -// Textarea Dialog -DlgTextareaName : "Namn", -DlgTextareaCols : "Kolumner", -DlgTextareaRows : "Rader", - -// Text Field Dialog -DlgTextName : "Namn", -DlgTextValue : "Värde", -DlgTextCharWidth : "Teckenbredd", -DlgTextMaxChars : "Max antal tecken", -DlgTextType : "Typ", -DlgTextTypeText : "Text", -DlgTextTypePass : "Lösenord", - -// Hidden Field Dialog -DlgHiddenName : "Namn", -DlgHiddenValue : "Värde", - -// Bulleted List Dialog -BulletedListProp : "Egenskaper för punktlista", -NumberedListProp : "Egenskaper för numrerad lista", -DlgLstStart : "Start", //MISSING -DlgLstType : "Typ", -DlgLstTypeCircle : "Cirkel", -DlgLstTypeDisc : "Punkt", -DlgLstTypeSquare : "Ruta", -DlgLstTypeNumbers : "Nummer (1, 2, 3)", -DlgLstTypeLCase : "Gemener (a, b, c)", -DlgLstTypeUCase : "Versaler (A, B, C)", -DlgLstTypeSRoman : "Små romerska siffror (i, ii, iii)", -DlgLstTypeLRoman : "Stora romerska siffror (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Allmän", -DlgDocBackTab : "Bakgrund", -DlgDocColorsTab : "Färg och marginal", -DlgDocMetaTab : "Metadata", - -DlgDocPageTitle : "Sidtitel", -DlgDocLangDir : "Språkriktning", -DlgDocLangDirLTR : "Vänster till Höger", -DlgDocLangDirRTL : "Höger till Vänster", -DlgDocLangCode : "Språkkod", -DlgDocCharSet : "Teckenuppsättningar", -DlgDocCharSetCE : "Central Europa", -DlgDocCharSetCT : "Traditionell Kinesisk (Big5)", -DlgDocCharSetCR : "Kyrillisk", -DlgDocCharSetGR : "Grekiska", -DlgDocCharSetJP : "Japanska", -DlgDocCharSetKR : "Koreanska", -DlgDocCharSetTR : "Turkiska", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Väst Europa", -DlgDocCharSetOther : "Övriga teckenuppsättningar", - -DlgDocDocType : "Sidhuvud", -DlgDocDocTypeOther : "Övriga sidhuvuden", -DlgDocIncXHTML : "Inkludera XHTML deklaration", -DlgDocBgColor : "Bakgrundsfärg", -DlgDocBgImage : "Bakgrundsbildens URL", -DlgDocBgNoScroll : "Fast bakgrund", -DlgDocCText : "Text", -DlgDocCLink : "Länk", -DlgDocCVisited : "Besökt länk", -DlgDocCActive : "Aktiv länk", -DlgDocMargins : "Sidmarginal", -DlgDocMaTop : "Topp", -DlgDocMaLeft : "Vänster", -DlgDocMaRight : "Höger", -DlgDocMaBottom : "Botten", -DlgDocMeIndex : "Sidans nyckelord", -DlgDocMeDescr : "Sidans beskrivning", -DlgDocMeAuthor : "Författare", -DlgDocMeCopy : "Upphovsrätt", -DlgDocPreview : "Förhandsgranska", - -// Templates Dialog -Templates : "Sidmallar", -DlgTemplatesTitle : "Sidmallar", -DlgTemplatesSelMsg : "Var god välj en mall att använda med editorn<br>(allt nuvarande innehåll raderas):", -DlgTemplatesLoading : "Laddar mallar. Var god vänta...", -DlgTemplatesNoTpl : "(Ingen mall är vald)", -DlgTemplatesReplace : "Ersätt aktuellt innehåll", - -// About Dialog -DlgAboutAboutTab : "Om", -DlgAboutBrowserInfoTab : "Webläsare", -DlgAboutLicenseTab : "Licens", -DlgAboutVersion : "version", -DlgAboutInfo : "För mer information se" -}; diff --git a/editor/editor/lang/th.js b/editor/editor/lang/th.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Thai language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "ซ่อนแถบเครื่องมือ", -ToolbarExpand : "แสดงแถบเครื่องมือ", - -// Toolbar Items and Context Menu -Save : "บันทึก", -NewPage : "สร้างหน้าเอกสารใหม่", -Preview : "ดูหน้าเอกสารตัวอย่าง", -Cut : "ตัด", -Copy : "สำเนา", -Paste : "วาง", -PasteText : "วางสำเนาจากตัวอักษรธรรมดา", -PasteWord : "วางสำเนาจากตัวอักษรเวิร์ด", -Print : "สั่งพิมพ์", -SelectAll : "เลือกทั้งหมด", -RemoveFormat : "ล้างรูปแบบ", -InsertLinkLbl : "ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ", -InsertLink : "แทรก/แก้ไข ลิงค์", -RemoveLink : "ลบ ลิงค์", -Anchor : "แทรก/แก้ไข Anchor", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "รูปภาพ", -InsertImage : "แทรก/แก้ไข รูปภาพ", -InsertFlashLbl : "ไฟล์ Flash", -InsertFlash : "แทรก/แก้ไข ไฟล์ Flash", -InsertTableLbl : "ตาราง", -InsertTable : "แทรก/แก้ไข ตาราง", -InsertLineLbl : "เส้นคั่นบรรทัด", -InsertLine : "แทรกเส้นคั่นบรรทัด", -InsertSpecialCharLbl: "ตัวอักษรพิเศษ", -InsertSpecialChar : "แทรกตัวอักษรพิเศษ", -InsertSmileyLbl : "รูปสื่ออารมณ์", -InsertSmiley : "แทรกรูปสื่ออารมณ์", -About : "เกี่ยวกับโปรแกรม FCKeditor", -Bold : "ตัวหนา", -Italic : "ตัวเอียง", -Underline : "ตัวขีดเส้นใต้", -StrikeThrough : "ตัวขีดเส้นทับ", -Subscript : "ตัวห้อย", -Superscript : "ตัวยก", -LeftJustify : "จัดชิดซ้าย", -CenterJustify : "จัดกึ่งกลาง", -RightJustify : "จัดชิดขวา", -BlockJustify : "จัดพอดีหน้ากระดาษ", -DecreaseIndent : "ลดระยะย่อหน้า", -IncreaseIndent : "เพิ่มระยะย่อหน้า", -Blockquote : "Blockquote", //MISSING -Undo : "ยกเลิกคำสั่ง", -Redo : "ทำซ้ำคำสั่ง", -NumberedListLbl : "ลำดับรายการแบบตัวเลข", -NumberedList : "แทรก/แก้ไข ลำดับรายการแบบตัวเลข", -BulletedListLbl : "ลำดับรายการแบบสัญลักษณ์", -BulletedList : "แทรก/แก้ไข ลำดับรายการแบบสัญลักษณ์", -ShowTableBorders : "แสดงขอบของตาราง", -ShowDetails : "แสดงรายละเอียด", -Style : "ลักษณะ", -FontFormat : "รูปแบบ", -Font : "แบบอักษร", -FontSize : "ขนาด", -TextColor : "สีตัวอักษร", -BGColor : "สีพื้นหลัง", -Source : "ดูรหัส HTML", -Find : "ค้นหา", -Replace : "ค้นหาและแทนที่", -SpellCheck : "ตรวจการสะกดคำ", -UniversalKeyboard : "คีย์บอร์ดหลากภาษา", -PageBreakLbl : "ใส่ตัวแบ่งหน้า Page Break", -PageBreak : "แทรกตัวแบ่งหน้า Page Break", - -Form : "แบบฟอร์ม", -Checkbox : "เช็คบ๊อก", -RadioButton : "เรดิโอบัตตอน", -TextField : "เท็กซ์ฟิลด์", -Textarea : "เท็กซ์แอเรีย", -HiddenField : "ฮิดเดนฟิลด์", -Button : "ปุ่ม", -SelectionField : "แถบตัวเลือก", -ImageButton : "ปุ่มแบบรูปภาพ", - -FitWindow : "ขยายขนาดตัวอีดิตเตอร์", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "แก้ไข ลิงค์", -CellCM : "ช่องตาราง", -RowCM : "แถว", -ColumnCM : "คอลัมน์", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "ลบแถว", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "ลบสดมน์", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "ลบช่อง", -MergeCells : "ผสานช่อง", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "ลบตาราง", -CellProperties : "คุณสมบัติของช่อง", -TableProperties : "คุณสมบัติของตาราง", -ImageProperties : "คุณสมบัติของรูปภาพ", -FlashProperties : "คุณสมบัติของไฟล์ Flash", - -AnchorProp : "รายละเอียด Anchor", -ButtonProp : "รายละเอียดของ ปุ่ม", -CheckboxProp : "คุณสมบัติของ เช็คบ๊อก", -HiddenFieldProp : "คุณสมบัติของ ฮิดเดนฟิลด์", -RadioButtonProp : "คุณสมบัติของ เรดิโอบัตตอน", -ImageButtonProp : "คุณสมบัติของ ปุ่มแบบรูปภาพ", -TextFieldProp : "คุณสมบัติของ เท็กซ์ฟิลด์", -SelectionFieldProp : "คุณสมบัติของ แถบตัวเลือก", -TextareaProp : "คุณสมบัติของ เท็กแอเรีย", -FormProp : "คุณสมบัติของ แบบฟอร์ม", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Paragraph (DIV)", - -// Alerts and Messages -ProcessingXHTML : "โปรแกรมกำลังทำงานด้วยเทคโนโลยี XHTML กรุณารอสักครู่...", -Done : "โปรแกรมทำงานเสร็จสมบูรณ์", -PasteWordConfirm : "ข้อมูลที่ท่านต้องการวางลงในแผ่นงาน ถูกจัดรูปแบบจากโปรแกรมเวิร์ด. ท่านต้องการล้างรูปแบบที่มาจากโปรแกรมเวิร์ดหรือไม่?", -NotCompatiblePaste : "คำสั่งนี้ทำงานในโปรแกรมท่องเว็บ Internet Explorer version รุ่น 5.5 หรือใหม่กว่าเท่านั้น. ท่านต้องการวางตัวอักษรโดยไม่ล้างรูปแบบที่มาจากโปรแกรมเวิร์ดหรือไม่?", -UnknownToolbarItem : "ไม่สามารถระบุปุ่มเครื่องมือได้ \"%1\"", -UnknownCommand : "ไม่สามารถระบุชื่อคำสั่งได้ \"%1\"", -NotImplemented : "ไม่สามารถใช้งานคำสั่งได้", -UnknownToolbarSet : "ไม่มีการติดตั้งชุดคำสั่งในแถบเครื่องมือ \"%1\" กรุณาติดต่อผู้ดูแลระบบ", -NoActiveX : "โปรแกรมท่องอินเตอร์เน็ตของท่านไม่อนุญาติให้อีดิตเตอร์ทำงาน \"Run ActiveX controls and plug-ins\". หากไม่อนุญาติให้ใช้งาน ActiveX controls ท่านจะไม่สามารถใช้งานได้อย่างเต็มประสิทธิภาพ.", -BrowseServerBlocked : "เปิดหน้าต่างป๊อบอัพเพื่อทำงานต่อไม่ได้ กรุณาปิดเครื่องมือป้องกันป๊อบอัพในโปรแกรมท่องอินเตอร์เน็ตของท่านด้วย", -DialogBlocked : "เปิดหน้าต่างป๊อบอัพเพื่อทำงานต่อไม่ได้ กรุณาปิดเครื่องมือป้องกันป๊อบอัพในโปรแกรมท่องอินเตอร์เน็ตของท่านด้วย", - -// Dialogs -DlgBtnOK : "ตกลง", -DlgBtnCancel : "ยกเลิก", -DlgBtnClose : "ปิด", -DlgBtnBrowseServer : "เปิดหน้าต่างจัดการไฟล์อัพโหลด", -DlgAdvancedTag : "ขั้นสูง", -DlgOpOther : "<อื่นๆ>", -DlgInfoTab : "อินโฟ", -DlgAlertUrl : "กรุณาระบุ URL", - -// General Dialogs Labels -DlgGenNotSet : "<ไม่ระบุ>", -DlgGenId : "ไอดี", -DlgGenLangDir : "การเขียน-อ่านภาษา", -DlgGenLangDirLtr : "จากซ้ายไปขวา (LTR)", -DlgGenLangDirRtl : "จากขวามาซ้าย (RTL)", -DlgGenLangCode : "รหัสภาษา", -DlgGenAccessKey : "แอคเซส คีย์", -DlgGenName : "ชื่อ", -DlgGenTabIndex : "ลำดับของ แท็บ", -DlgGenLongDescr : "คำอธิบายประกอบ URL", -DlgGenClass : "คลาสของไฟล์กำหนดลักษณะการแสดงผล", -DlgGenTitle : "คำเกริ่นนำ", -DlgGenContType : "ชนิดของคำเกริ่นนำ", -DlgGenLinkCharset : "ลิงค์เชื่อมโยงไปยังชุดตัวอักษร", -DlgGenStyle : "ลักษณะการแสดงผล", - -// Image Dialog -DlgImgTitle : "คุณสมบัติของ รูปภาพ", -DlgImgInfoTab : "ข้อมูลของรูปภาพ", -DlgImgBtnUpload : "อัพโหลดไฟล์ไปเก็บไว้ที่เครื่องแม่ข่าย (เซิร์ฟเวอร์)", -DlgImgURL : "ที่อยู่อ้างอิง URL", -DlgImgUpload : "อัพโหลดไฟล์", -DlgImgAlt : "คำประกอบรูปภาพ", -DlgImgWidth : "ความกว้าง", -DlgImgHeight : "ความสูง", -DlgImgLockRatio : "กำหนดอัตราส่วน กว้าง-สูง แบบคงที่", -DlgBtnResetSize : "กำหนดรูปเท่าขนาดจริง", -DlgImgBorder : "ขนาดขอบรูป", -DlgImgHSpace : "ระยะแนวนอน", -DlgImgVSpace : "ระยะแนวตั้ง", -DlgImgAlign : "การจัดวาง", -DlgImgAlignLeft : "ชิดซ้าย", -DlgImgAlignAbsBottom: "ชิดด้านล่างสุด", -DlgImgAlignAbsMiddle: "กึ่งกลาง", -DlgImgAlignBaseline : "ชิดบรรทัด", -DlgImgAlignBottom : "ชิดด้านล่าง", -DlgImgAlignMiddle : "กึ่งกลางแนวตั้ง", -DlgImgAlignRight : "ชิดขวา", -DlgImgAlignTextTop : "ใต้ตัวอักษร", -DlgImgAlignTop : "บนสุด", -DlgImgPreview : "หน้าเอกสารตัวอย่าง", -DlgImgAlertUrl : "กรุณาระบุที่อยู่อ้างอิงออนไลน์ของไฟล์รูปภาพ (URL)", -DlgImgLinkTab : "ลิ้งค์", - -// Flash Dialog -DlgFlashTitle : "คุณสมบัติของไฟล์ Flash", -DlgFlashChkPlay : "เล่นอัตโนมัติ Auto Play", -DlgFlashChkLoop : "เล่นวนรอบ Loop", -DlgFlashChkMenu : "ให้ใช้งานเมนูของ Flash", -DlgFlashScale : "อัตราส่วน Scale", -DlgFlashScaleAll : "แสดงให้เห็นทั้งหมด Show all", -DlgFlashScaleNoBorder : "ไม่แสดงเส้นขอบ No Border", -DlgFlashScaleFit : "แสดงให้พอดีกับพื้นที่ Exact Fit", - -// Link Dialog -DlgLnkWindowTitle : "ลิงค์เชื่อมโยงเว็บ อีเมล์ รูปภาพ หรือไฟล์อื่นๆ", -DlgLnkInfoTab : "รายละเอียด", -DlgLnkTargetTab : "การเปิดหน้าจอ", - -DlgLnkType : "ประเภทของลิงค์", -DlgLnkTypeURL : "ที่อยู่อ้างอิงออนไลน์ (URL)", -DlgLnkTypeAnchor : "จุดเชื่อมโยง (Anchor)", -DlgLnkTypeEMail : "ส่งอีเมล์ (E-Mail)", -DlgLnkProto : "โปรโตคอล", -DlgLnkProtoOther : "<อื่นๆ>", -DlgLnkURL : "ที่อยู่อ้างอิงออนไลน์ (URL)", -DlgLnkAnchorSel : "ระบุข้อมูลของจุดเชื่อมโยง (Anchor)", -DlgLnkAnchorByName : "ชื่อ", -DlgLnkAnchorById : "ไอดี", -DlgLnkNoAnchors : "(ยังไม่มีจุดเชื่อมโยงภายในหน้าเอกสารนี้)", -DlgLnkEMail : "อีเมล์ (E-Mail)", -DlgLnkEMailSubject : "หัวเรื่อง", -DlgLnkEMailBody : "ข้อความ", -DlgLnkUpload : "อัพโหลดไฟล์", -DlgLnkBtnUpload : "บันทึกไฟล์ไว้บนเซิร์ฟเวอร์", - -DlgLnkTarget : "การเปิดหน้าลิงค์", -DlgLnkTargetFrame : "<เปิดในเฟรม>", -DlgLnkTargetPopup : "<เปิดหน้าจอเล็ก (Pop-up)>", -DlgLnkTargetBlank : "เปิดหน้าจอใหม่ (_blank)", -DlgLnkTargetParent : "เปิดในหน้าหลัก (_parent)", -DlgLnkTargetSelf : "เปิดในหน้าปัจจุบัน (_self)", -DlgLnkTargetTop : "เปิดในหน้าบนสุด (_top)", -DlgLnkTargetFrameName : "ชื่อทาร์เก็ตเฟรม", -DlgLnkPopWinName : "ระบุชื่อหน้าจอเล็ก (Pop-up)", -DlgLnkPopWinFeat : "คุณสมบัติของหน้าจอเล็ก (Pop-up)", -DlgLnkPopResize : "ปรับขนาดหน้าจอ", -DlgLnkPopLocation : "แสดงที่อยู่ของไฟล์", -DlgLnkPopMenu : "แสดงแถบเมนู", -DlgLnkPopScroll : "แสดงแถบเลื่อน", -DlgLnkPopStatus : "แสดงแถบสถานะ", -DlgLnkPopToolbar : "แสดงแถบเครื่องมือ", -DlgLnkPopFullScrn : "แสดงเต็มหน้าจอ (IE5.5++ เท่านั้น)", -DlgLnkPopDependent : "แสดงเต็มหน้าจอ (Netscape)", -DlgLnkPopWidth : "กว้าง", -DlgLnkPopHeight : "สูง", -DlgLnkPopLeft : "พิกัดซ้าย (Left Position)", -DlgLnkPopTop : "พิกัดบน (Top Position)", - -DlnLnkMsgNoUrl : "กรุณาระบุที่อยู่อ้างอิงออนไลน์ (URL)", -DlnLnkMsgNoEMail : "กรุณาระบุอีเมล์ (E-mail)", -DlnLnkMsgNoAnchor : "กรุณาระบุจุดเชื่อมโยง (Anchor)", -DlnLnkMsgInvPopName : "ชื่อของหน้าต่างป๊อบอัพ จะต้องขึ้นต้นด้วยตัวอักษรเท่านั้น และต้องไม่มีช่องว่างในชื่อ", - -// Color Dialog -DlgColorTitle : "เลือกสี", -DlgColorBtnClear : "ล้างค่ารหัสสี", -DlgColorHighlight : "ตัวอย่างสี", -DlgColorSelected : "สีที่เลือก", - -// Smiley Dialog -DlgSmileyTitle : "แทรกสัญลักษณ์สื่ออารมณ์", - -// Special Character Dialog -DlgSpecialCharTitle : "แทรกตัวอักษรพิเศษ", - -// Table Dialog -DlgTableTitle : "คุณสมบัติของ ตาราง", -DlgTableRows : "แถว", -DlgTableColumns : "สดมน์", -DlgTableBorder : "ขนาดเส้นขอบ", -DlgTableAlign : "การจัดตำแหน่ง", -DlgTableAlignNotSet : "<ไม่ระบุ>", -DlgTableAlignLeft : "ชิดซ้าย", -DlgTableAlignCenter : "กึ่งกลาง", -DlgTableAlignRight : "ชิดขวา", -DlgTableWidth : "กว้าง", -DlgTableWidthPx : "จุดสี", -DlgTableWidthPc : "เปอร์เซ็น", -DlgTableHeight : "สูง", -DlgTableCellSpace : "ระยะแนวนอนน", -DlgTableCellPad : "ระยะแนวตั้ง", -DlgTableCaption : "หัวเรื่องของตาราง", -DlgTableSummary : "สรุปความ", - -// Table Cell Dialog -DlgCellTitle : "คุณสมบัติของ ช่อง", -DlgCellWidth : "กว้าง", -DlgCellWidthPx : "จุดสี", -DlgCellWidthPc : "เปอร์เซ็น", -DlgCellHeight : "สูง", -DlgCellWordWrap : "ตัดบรรทัดอัตโนมัติ", -DlgCellWordWrapNotSet : "<ไม่ระบุ>", -DlgCellWordWrapYes : "ใ่ช่", -DlgCellWordWrapNo : "ไม่", -DlgCellHorAlign : "การจัดวางแนวนอน", -DlgCellHorAlignNotSet : "<ไม่ระบุ>", -DlgCellHorAlignLeft : "ชิดซ้าย", -DlgCellHorAlignCenter : "กึ่งกลาง", -DlgCellHorAlignRight: "ชิดขวา", -DlgCellVerAlign : "การจัดวางแนวตั้ง", -DlgCellVerAlignNotSet : "<ไม่ระบุ>", -DlgCellVerAlignTop : "บนสุด", -DlgCellVerAlignMiddle : "กึ่งกลาง", -DlgCellVerAlignBottom : "ล่างสุด", -DlgCellVerAlignBaseline : "อิงบรรทัด", -DlgCellRowSpan : "จำนวนแถวที่คร่อมกัน", -DlgCellCollSpan : "จำนวนสดมน์ที่คร่อมกัน", -DlgCellBackColor : "สีพื้นหลัง", -DlgCellBorderColor : "สีเส้นขอบ", -DlgCellBtnSelect : "เลือก..", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "ค้นหา", -DlgFindFindBtn : "ค้นหา", -DlgFindNotFoundMsg : "ไม่พบคำที่ค้นหา.", - -// Replace Dialog -DlgReplaceTitle : "ค้นหาและแทนที่", -DlgReplaceFindLbl : "ค้นหาคำว่า:", -DlgReplaceReplaceLbl : "แทนที่ด้วย:", -DlgReplaceCaseChk : "ตัวโหญ่-เล็ก ต้องตรงกัน", -DlgReplaceReplaceBtn : "แทนที่", -DlgReplaceReplAllBtn : "แทนที่ทั้งหมดที่พบ", -DlgReplaceWordChk : "ต้องตรงกันทุกคำ", - -// Paste Operations / Dialog -PasteErrorCut : "ไม่สามารถตัดข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว X พร้อมกัน).", -PasteErrorCopy : "ไม่สามารถสำเนาข้อความที่เลือกไว้ได้เนื่องจากการกำหนดค่าระดับความปลอดภัย. กรุณาใช้ปุ่มลัดเพื่อวางข้อความแทน (กดปุ่ม Ctrl และตัว C พร้อมกัน).", - -PasteAsText : "วางแบบตัวอักษรธรรมดา", -PasteFromWord : "วางแบบตัวอักษรจากโปรแกรมเวิร์ด", - -DlgPasteMsg2 : "กรุณาใช้คีย์บอร์ดเท่านั้น โดยกดปุ๋ม (<strong>Ctrl และ V</strong>)พร้อมๆกัน และกด <strong>OK</strong>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "ไม่สนใจ Font Face definitions", -DlgPasteRemoveStyles : "ลบ Styles definitions", -DlgPasteCleanBox : "ล้างข้อมูลใน Box", - -// Color Picker -ColorAutomatic : "สีอัตโนมัติ", -ColorMoreColors : "เลือกสีอื่นๆ...", - -// Document Properties -DocProps : "คุณสมบัติของเอกสาร", - -// Anchor Dialog -DlgAnchorTitle : "คุณสมบัติของ Anchor", -DlgAnchorName : "ชื่อ Anchor", -DlgAnchorErrorName : "กรุณาระบุชื่อของ Anchor", - -// Speller Pages Dialog -DlgSpellNotInDic : "ไม่พบในดิกชันนารี", -DlgSpellChangeTo : "แก้ไขเป็น", -DlgSpellBtnIgnore : "ยกเว้น", -DlgSpellBtnIgnoreAll : "ยกเว้นทั้งหมด", -DlgSpellBtnReplace : "แทนที่", -DlgSpellBtnReplaceAll : "แทนที่ทั้งหมด", -DlgSpellBtnUndo : "ยกเลิก", -DlgSpellNoSuggestions : "- ไม่มีคำแนะนำใดๆ -", -DlgSpellProgress : "กำลังตรวจสอบคำสะกด...", -DlgSpellNoMispell : "ตรวจสอบคำสะกดเสร็จสิ้น: ไม่พบคำสะกดผิด", -DlgSpellNoChanges : "ตรวจสอบคำสะกดเสร็จสิ้น: ไม่มีการแก้คำใดๆ", -DlgSpellOneChange : "ตรวจสอบคำสะกดเสร็จสิ้น: แก้ไข1คำ", -DlgSpellManyChanges : "ตรวจสอบคำสะกดเสร็จสิ้น:: แก้ไข %1 คำ", - -IeSpellDownload : "ไม่ได้ติดตั้งระบบตรวจสอบคำสะกด. ต้องการติดตั้งไหมครับ?", - -// Button Dialog -DlgButtonText : "ข้อความ (ค่าตัวแปร)", -DlgButtonType : "ข้อความ", -DlgButtonTypeBtn : "Button", -DlgButtonTypeSbm : "Submit", -DlgButtonTypeRst : "Reset", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "ชื่อ", -DlgCheckboxValue : "ค่าตัวแปร", -DlgCheckboxSelected : "เลือกเป็นค่าเริ่มต้น", - -// Form Dialog -DlgFormName : "ชื่อ", -DlgFormAction : "แอคชั่น", -DlgFormMethod : "เมธอด", - -// Select Field Dialog -DlgSelectName : "ชื่อ", -DlgSelectValue : "ค่าตัวแปร", -DlgSelectSize : "ขนาด", -DlgSelectLines : "บรรทัด", -DlgSelectChkMulti : "เลือกหลายค่าได้", -DlgSelectOpAvail : "รายการตัวเลือก", -DlgSelectOpText : "ข้อความ", -DlgSelectOpValue : "ค่าตัวแปร", -DlgSelectBtnAdd : "เพิ่ม", -DlgSelectBtnModify : "แก้ไข", -DlgSelectBtnUp : "บน", -DlgSelectBtnDown : "ล่าง", -DlgSelectBtnSetValue : "เลือกเป็นค่าเริ่มต้น", -DlgSelectBtnDelete : "ลบ", - -// Textarea Dialog -DlgTextareaName : "ชื่อ", -DlgTextareaCols : "สดมภ์", -DlgTextareaRows : "แถว", - -// Text Field Dialog -DlgTextName : "ชื่อ", -DlgTextValue : "ค่าตัวแปร", -DlgTextCharWidth : "ความกว้าง", -DlgTextMaxChars : "จำนวนตัวอักษรสูงสุด", -DlgTextType : "ชนิด", -DlgTextTypeText : "ข้อความ", -DlgTextTypePass : "รหัสผ่าน", - -// Hidden Field Dialog -DlgHiddenName : "ชื่อ", -DlgHiddenValue : "ค่าตัวแปร", - -// Bulleted List Dialog -BulletedListProp : "คุณสมบัติของ บูลเล็ตลิสต์", -NumberedListProp : "คุณสมบัติของ นัมเบอร์ลิสต์", -DlgLstStart : "Start", //MISSING -DlgLstType : "ชนิด", -DlgLstTypeCircle : "รูปวงกลม", -DlgLstTypeDisc : "Disc", //MISSING -DlgLstTypeSquare : "รูปสี่เหลี่ยม", -DlgLstTypeNumbers : "หมายเลข (1, 2, 3)", -DlgLstTypeLCase : "ตัวพิมพ์เล็ก (a, b, c)", -DlgLstTypeUCase : "ตัวพิมพ์ใหญ่ (A, B, C)", -DlgLstTypeSRoman : "เลขโรมันพิมพ์เล็ก (i, ii, iii)", -DlgLstTypeLRoman : "เลขโรมันพิมพ์ใหญ่ (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "ลักษณะทั่วไปของเอกสาร", -DlgDocBackTab : "พื้นหลัง", -DlgDocColorsTab : "สีและระยะขอบ", -DlgDocMetaTab : "ข้อมูลสำหรับเสิร์ชเอนจิ้น", - -DlgDocPageTitle : "ชื่อไตเติ้ล", -DlgDocLangDir : "การอ่านภาษา", -DlgDocLangDirLTR : "จากซ้ายไปขวา (LTR)", -DlgDocLangDirRTL : "จากขวาไปซ้าย (RTL)", -DlgDocLangCode : "รหัสภาษา", -DlgDocCharSet : "ชุดตัวอักษร", -DlgDocCharSetCE : "Central European", -DlgDocCharSetCT : "Chinese Traditional (Big5)", -DlgDocCharSetCR : "Cyrillic", -DlgDocCharSetGR : "Greek", -DlgDocCharSetJP : "Japanese", -DlgDocCharSetKR : "Korean", -DlgDocCharSetTR : "Turkish", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Western European", -DlgDocCharSetOther : "ชุดตัวอักษรอื่นๆ", - -DlgDocDocType : "ประเภทของเอกสาร", -DlgDocDocTypeOther : "ประเภทเอกสารอื่นๆ", -DlgDocIncXHTML : "รวมเอา XHTML Declarations ไว้ด้วย", -DlgDocBgColor : "สีพื้นหลัง", -DlgDocBgImage : "ที่อยู่อ้างอิงออนไลน์ของรูปพื้นหลัง (Image URL)", -DlgDocBgNoScroll : "พื้นหลังแบบไม่มีแถบเลื่อน", -DlgDocCText : "ข้อความ", -DlgDocCLink : "ลิงค์", -DlgDocCVisited : "ลิงค์ที่เคยคลิ้กแล้ว Visited Link", -DlgDocCActive : "ลิงค์ที่กำลังคลิ้ก Active Link", -DlgDocMargins : "ระยะขอบของหน้าเอกสาร", -DlgDocMaTop : "ด้านบน", -DlgDocMaLeft : "ด้านซ้าย", -DlgDocMaRight : "ด้านขวา", -DlgDocMaBottom : "ด้านล่าง", -DlgDocMeIndex : "คำสำคัญอธิบายเอกสาร (คั่นคำด้วย คอมม่า)", -DlgDocMeDescr : "ประโยคอธิบายเกี่ยวกับเอกสาร", -DlgDocMeAuthor : "ผู้สร้างเอกสาร", -DlgDocMeCopy : "สงวนลิขสิทธิ์", -DlgDocPreview : "ตัวอย่างหน้าเอกสาร", - -// Templates Dialog -Templates : "เทมเพลต", -DlgTemplatesTitle : "เทมเพลตของส่วนเนื้อหาเว็บไซต์", -DlgTemplatesSelMsg : "กรุณาเลือก เทมเพลต เพื่อนำไปแก้ไขในอีดิตเตอร์<br />(เนื้อหาส่วนนี้จะหายไป):", -DlgTemplatesLoading : "กำลังโหลดรายการเทมเพลตทั้งหมด...", -DlgTemplatesNoTpl : "(ยังไม่มีการกำหนดเทมเพลต)", -DlgTemplatesReplace : "แทนที่เนื้อหาเว็บไซต์ที่เลือก", - -// About Dialog -DlgAboutAboutTab : "เกี่ยวกับโปรแกรม", -DlgAboutBrowserInfoTab : "โปรแกรมท่องเว็บที่ท่านใช้", -DlgAboutLicenseTab : "ลิขสิทธิ์", -DlgAboutVersion : "รุ่น", -DlgAboutInfo : "For further information go to" //MISSING -}; diff --git a/editor/editor/lang/tr.js b/editor/editor/lang/tr.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Turkish language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Araç Çubuğunu Kapat", -ToolbarExpand : "Araç Çubuğunu Aç", - -// Toolbar Items and Context Menu -Save : "Kaydet", -NewPage : "Yeni Sayfa", -Preview : "Ön İzleme", -Cut : "Kes", -Copy : "Kopyala", -Paste : "Yapıştır", -PasteText : "Düzyazı Olarak Yapıştır", -PasteWord : "Word'den Yapıştır", -Print : "Yazdır", -SelectAll : "Tümünü Seç", -RemoveFormat : "Biçimi Kaldır", -InsertLinkLbl : "Köprü", -InsertLink : "Köprü Ekle/Düzenle", -RemoveLink : "Köprü Kaldır", -Anchor : "Çapa Ekle/Düzenle", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Resim", -InsertImage : "Resim Ekle/Düzenle", -InsertFlashLbl : "Flash", -InsertFlash : "Flash Ekle/Düzenle", -InsertTableLbl : "Tablo", -InsertTable : "Tablo Ekle/Düzenle", -InsertLineLbl : "Satır", -InsertLine : "Yatay Satır Ekle", -InsertSpecialCharLbl: "Özel Karakter", -InsertSpecialChar : "Özel Karakter Ekle", -InsertSmileyLbl : "İfade", -InsertSmiley : "İfade Ekle", -About : "FCKeditor Hakkında", -Bold : "Kalın", -Italic : "İtalik", -Underline : "Altı Çizgili", -StrikeThrough : "Üstü Çizgili", -Subscript : "Alt Simge", -Superscript : "Üst Simge", -LeftJustify : "Sola Dayalı", -CenterJustify : "Ortalanmış", -RightJustify : "Sağa Dayalı", -BlockJustify : "İki Kenara Yaslanmış", -DecreaseIndent : "Sekme Azalt", -IncreaseIndent : "Sekme Arttır", -Blockquote : "Blockquote", //MISSING -Undo : "Geri Al", -Redo : "Tekrarla", -NumberedListLbl : "Numaralı Liste", -NumberedList : "Numaralı Liste Ekle/Kaldır", -BulletedListLbl : "Simgeli Liste", -BulletedList : "Simgeli Liste Ekle/Kaldır", -ShowTableBorders : "Tablo Kenarlarını Göster", -ShowDetails : "Detayları Göster", -Style : "Biçem", -FontFormat : "Biçim", -Font : "Yazı Türü", -FontSize : "Boyut", -TextColor : "Yazı Rengi", -BGColor : "Arka Renk", -Source : "Kaynak", -Find : "Bul", -Replace : "Değiştir", -SpellCheck : "Yazım Denetimi", -UniversalKeyboard : "Evrensel Klavye", -PageBreakLbl : "Sayfa sonu", -PageBreak : "Sayfa Sonu Ekle", - -Form : "Form", -Checkbox : "Onay Kutusu", -RadioButton : "Seçenek Düğmesi", -TextField : "Metin Girişi", -Textarea : "Çok Satırlı Metin", -HiddenField : "Gizli Veri", -Button : "Düğme", -SelectionField : "Seçim Menüsü", -ImageButton : "Resimli Düğme", - -FitWindow : "Düzenleyici boyutunu büyüt", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Köprü Düzenle", -CellCM : "Hücre", -RowCM : "Satır", -ColumnCM : "Sütun", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Satır Sil", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Sütun Sil", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Hücre Sil", -MergeCells : "Hücreleri Birleştir", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Tabloyu Sil", -CellProperties : "Hücre Özellikleri", -TableProperties : "Tablo Özellikleri", -ImageProperties : "Resim Özellikleri", -FlashProperties : "Flash Özellikleri", - -AnchorProp : "Çapa Özellikleri", -ButtonProp : "Düğme Özellikleri", -CheckboxProp : "Onay Kutusu Özellikleri", -HiddenFieldProp : "Gizli Veri Özellikleri", -RadioButtonProp : "Seçenek Düğmesi Özellikleri", -ImageButtonProp : "Resimli Düğme Özellikleri", -TextFieldProp : "Metin Girişi Özellikleri", -SelectionFieldProp : "Seçim Menüsü Özellikleri", -TextareaProp : "Çok Satırlı Metin Özellikleri", -FormProp : "Form Özellikleri", - -FontFormats : "Normal;Biçimli;Adres;Başlık 1;Başlık 2;Başlık 3;Başlık 4;Başlık 5;Başlık 6;Paragraf (DIV)", - -// Alerts and Messages -ProcessingXHTML : "XHTML işleniyor. Lütfen bekleyin...", -Done : "Bitti", -PasteWordConfirm : "Yapıştırdığınız yazı Word'den gelmişe benziyor. Yapıştırmadan önce gereksiz eklentileri silmek ister misiniz?", -NotCompatiblePaste : "Bu komut Internet Explorer 5.5 ve ileriki sürümleri için mevcuttur. Temizlenmeden yapıştırılmasını ister misiniz ?", -UnknownToolbarItem : "Bilinmeyen araç çubugu öğesi \"%1\"", -UnknownCommand : "Bilinmeyen komut \"%1\"", -NotImplemented : "Komut uyarlanamadı", -UnknownToolbarSet : "\"%1\" araç çubuğu öğesi mevcut değil", -NoActiveX : "Kullandığınız tarayıcının güvenlik ayarları bazı özelliklerin kullanılmasını engelliyor. Bu özelliklerin çalışması için \"Run ActiveX controls and plug-ins (Activex ve eklentileri çalıştır)\" seçeneğinin aktif yapılması gerekiyor. Kullanılamayan eklentiler ve hatalar konusunda daha fazla bilgi sahibi olun.", -BrowseServerBlocked : "Kaynak tarayıcısı açılamadı. Tüm \"popup blocker\" programlarının devre dışı olduğundan emin olun. (Yahoo toolbar, Msn toolbar, Google toolbar gibi)", -DialogBlocked : "Diyalog açmak mümkün olmadı. Tüm \"Popup Blocker\" programlarının devre dışı olduğundan emin olun.", - -// Dialogs -DlgBtnOK : "Tamam", -DlgBtnCancel : "İptal", -DlgBtnClose : "Kapat", -DlgBtnBrowseServer : "Sunucuyu Gez", -DlgAdvancedTag : "Gelişmiş", -DlgOpOther : "<Diğer>", -DlgInfoTab : "Bilgi", -DlgAlertUrl : "Lütfen URL girin", - -// General Dialogs Labels -DlgGenNotSet : "<tanımlanmamış>", -DlgGenId : "Kimlik", -DlgGenLangDir : "Dil Yönü", -DlgGenLangDirLtr : "Soldan Sağa (LTR)", -DlgGenLangDirRtl : "Sağdan Sola (RTL)", -DlgGenLangCode : "Dil Kodlaması", -DlgGenAccessKey : "Erişim Tuşu", -DlgGenName : "Ad", -DlgGenTabIndex : "Sekme İndeksi", -DlgGenLongDescr : "Uzun Tanımlı URL", -DlgGenClass : "Biçem Sayfası Sınıfları", -DlgGenTitle : "Danışma Başlığı", -DlgGenContType : "Danışma İçerik Türü", -DlgGenLinkCharset : "Bağlı Kaynak Karakter Gurubu", -DlgGenStyle : "Biçem", - -// Image Dialog -DlgImgTitle : "Resim Özellikleri", -DlgImgInfoTab : "Resim Bilgisi", -DlgImgBtnUpload : "Sunucuya Yolla", -DlgImgURL : "URL", -DlgImgUpload : "Karşıya Yükle", -DlgImgAlt : "Alternatif Yazı", -DlgImgWidth : "Genişlik", -DlgImgHeight : "Yükseklik", -DlgImgLockRatio : "Oranı Kilitle", -DlgBtnResetSize : "Boyutu Başa Döndür", -DlgImgBorder : "Kenar", -DlgImgHSpace : "Yatay Boşluk", -DlgImgVSpace : "Dikey Boşluk", -DlgImgAlign : "Hizalama", -DlgImgAlignLeft : "Sol", -DlgImgAlignAbsBottom: "Tam Altı", -DlgImgAlignAbsMiddle: "Tam Ortası", -DlgImgAlignBaseline : "Taban Çizgisi", -DlgImgAlignBottom : "Alt", -DlgImgAlignMiddle : "Orta", -DlgImgAlignRight : "Sağ", -DlgImgAlignTextTop : "Yazı Tepeye", -DlgImgAlignTop : "Tepe", -DlgImgPreview : "Ön İzleme", -DlgImgAlertUrl : "Lütfen resmin URL'sini yazınız", -DlgImgLinkTab : "Köprü", - -// Flash Dialog -DlgFlashTitle : "Flash Özellikleri", -DlgFlashChkPlay : "Otomatik Oynat", -DlgFlashChkLoop : "Döngü", -DlgFlashChkMenu : "Flash Menüsünü Kullan", -DlgFlashScale : "Boyutlandır", -DlgFlashScaleAll : "Hepsini Göster", -DlgFlashScaleNoBorder : "Kenar Yok", -DlgFlashScaleFit : "Tam Sığdır", - -// Link Dialog -DlgLnkWindowTitle : "Köprü", -DlgLnkInfoTab : "Köprü Bilgisi", -DlgLnkTargetTab : "Hedef", - -DlgLnkType : "Köprü Türü", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Bu sayfada çapa", -DlgLnkTypeEMail : "E-Posta", -DlgLnkProto : "Protokol", -DlgLnkProtoOther : "<diğer>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Çapa Seç", -DlgLnkAnchorByName : "Çapa Adı ile", -DlgLnkAnchorById : "Eleman Kimlik Numarası ile", -DlgLnkNoAnchors : "(Bu belgede hiç çapa yok)", -DlgLnkEMail : "E-Posta Adresi", -DlgLnkEMailSubject : "İleti Konusu", -DlgLnkEMailBody : "İleti Gövdesi", -DlgLnkUpload : "Karşıya Yükle", -DlgLnkBtnUpload : "Sunucuya Gönder", - -DlgLnkTarget : "Hedef", -DlgLnkTargetFrame : "<çerçeve>", -DlgLnkTargetPopup : "<yeni açılan pencere>", -DlgLnkTargetBlank : "Yeni Pencere(_blank)", -DlgLnkTargetParent : "Anne Pencere (_parent)", -DlgLnkTargetSelf : "Kendi Penceresi (_self)", -DlgLnkTargetTop : "En Üst Pencere (_top)", -DlgLnkTargetFrameName : "Hedef Çerçeve Adı", -DlgLnkPopWinName : "Yeni Açılan Pencere Adı", -DlgLnkPopWinFeat : "Yeni Açılan Pencere Özellikleri", -DlgLnkPopResize : "Boyutlandırılabilir", -DlgLnkPopLocation : "Yer Çubuğu", -DlgLnkPopMenu : "Menü Çubuğu", -DlgLnkPopScroll : "Kaydırma Çubukları", -DlgLnkPopStatus : "Durum Çubuğu", -DlgLnkPopToolbar : "Araç Çubuğu", -DlgLnkPopFullScrn : "Tam Ekran (IE)", -DlgLnkPopDependent : "Bağımlı (Netscape)", -DlgLnkPopWidth : "Genişlik", -DlgLnkPopHeight : "Yükseklik", -DlgLnkPopLeft : "Sola Göre Konum", -DlgLnkPopTop : "Yukarıya Göre Konum", - -DlnLnkMsgNoUrl : "Lütfen köprü URL'sini yazın", -DlnLnkMsgNoEMail : "Lütfen E-posta adresini yazın", -DlnLnkMsgNoAnchor : "Lütfen bir çapa seçin", -DlnLnkMsgInvPopName : "Açılır pencere adı abecesel bir karakterle başlamalı ve boşluk içermemelidir", - -// Color Dialog -DlgColorTitle : "Renk Seç", -DlgColorBtnClear : "Temizle", -DlgColorHighlight : "Vurgula", -DlgColorSelected : "Seçilmiş", - -// Smiley Dialog -DlgSmileyTitle : "İfade Ekle", - -// Special Character Dialog -DlgSpecialCharTitle : "Özel Karakter Seç", - -// Table Dialog -DlgTableTitle : "Tablo Özellikleri", -DlgTableRows : "Satırlar", -DlgTableColumns : "Sütunlar", -DlgTableBorder : "Kenar Kalınlığı", -DlgTableAlign : "Hizalama", -DlgTableAlignNotSet : "<Tanımlanmamış>", -DlgTableAlignLeft : "Sol", -DlgTableAlignCenter : "Merkez", -DlgTableAlignRight : "Sağ", -DlgTableWidth : "Genişlik", -DlgTableWidthPx : "piksel", -DlgTableWidthPc : "yüzde", -DlgTableHeight : "Yükseklik", -DlgTableCellSpace : "Izgara kalınlığı", -DlgTableCellPad : "Izgara yazı arası", -DlgTableCaption : "Başlık", -DlgTableSummary : "Özet", - -// Table Cell Dialog -DlgCellTitle : "Hücre Özellikleri", -DlgCellWidth : "Genişlik", -DlgCellWidthPx : "piksel", -DlgCellWidthPc : "yüzde", -DlgCellHeight : "Yükseklik", -DlgCellWordWrap : "Sözcük Kaydır", -DlgCellWordWrapNotSet : "<Tanımlanmamış>", -DlgCellWordWrapYes : "Evet", -DlgCellWordWrapNo : "Hayır", -DlgCellHorAlign : "Yatay Hizalama", -DlgCellHorAlignNotSet : "<Tanımlanmamış>", -DlgCellHorAlignLeft : "Sol", -DlgCellHorAlignCenter : "Merkez", -DlgCellHorAlignRight: "Sağ", -DlgCellVerAlign : "Dikey Hizalama", -DlgCellVerAlignNotSet : "<Tanımlanmamış>", -DlgCellVerAlignTop : "Tepe", -DlgCellVerAlignMiddle : "Orta", -DlgCellVerAlignBottom : "Alt", -DlgCellVerAlignBaseline : "Taban Çizgisi", -DlgCellRowSpan : "Satır Kapla", -DlgCellCollSpan : "Sütun Kapla", -DlgCellBackColor : "Arka Plan Rengi", -DlgCellBorderColor : "Kenar Rengi", -DlgCellBtnSelect : "Seç...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Bul", -DlgFindFindBtn : "Bul", -DlgFindNotFoundMsg : "Belirtilen yazı bulunamadı.", - -// Replace Dialog -DlgReplaceTitle : "Değiştir", -DlgReplaceFindLbl : "Aranan:", -DlgReplaceReplaceLbl : "Bununla değiştir:", -DlgReplaceCaseChk : "Büyük/küçük harf duyarlı", -DlgReplaceReplaceBtn : "Değiştir", -DlgReplaceReplAllBtn : "Tümünü Değiştir", -DlgReplaceWordChk : "Kelimenin tamamı uysun", - -// Paste Operations / Dialog -PasteErrorCut : "Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kesme işlemine izin vermiyor. İşlem için (Ctrl+X) tuşlarını kullanın.", -PasteErrorCopy : "Gezgin yazılımınızın güvenlik ayarları düzenleyicinin otomatik kopyalama işlemine izin vermiyor. İşlem için (Ctrl+C) tuşlarını kullanın.", - -PasteAsText : "Düz Metin Olarak Yapıştır", -PasteFromWord : "Word'den yapıştır", - -DlgPasteMsg2 : "Lütfen aşağıdaki kutunun içine yapıştırın. (<STRONG>Ctrl+V</STRONG>) ve <STRONG>Tamam</STRONG> butonunu tıklayın.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Yazı Tipi tanımlarını yoksay", -DlgPasteRemoveStyles : "Biçem Tanımlarını çıkar", -DlgPasteCleanBox : "Temizlik Kutusu", - -// Color Picker -ColorAutomatic : "Otomatik", -ColorMoreColors : "Diğer renkler...", - -// Document Properties -DocProps : "Belge Özellikleri", - -// Anchor Dialog -DlgAnchorTitle : "Çapa Özellikleri", -DlgAnchorName : "Çapa Adı", -DlgAnchorErrorName : "Lütfen çapa için ad giriniz", - -// Speller Pages Dialog -DlgSpellNotInDic : "Sözlükte Yok", -DlgSpellChangeTo : "Şuna değiştir:", -DlgSpellBtnIgnore : "Yoksay", -DlgSpellBtnIgnoreAll : "Tümünü Yoksay", -DlgSpellBtnReplace : "Değiştir", -DlgSpellBtnReplaceAll : "Tümünü Değiştir", -DlgSpellBtnUndo : "Geri Al", -DlgSpellNoSuggestions : "- Öneri Yok -", -DlgSpellProgress : "Yazım denetimi işlemde...", -DlgSpellNoMispell : "Yazım denetimi tamamlandı: Yanlış yazıma rastlanmadı", -DlgSpellNoChanges : "Yazım denetimi tamamlandı: Hiçbir kelime değiştirilmedi", -DlgSpellOneChange : "Yazım denetimi tamamlandı: Bir kelime değiştirildi", -DlgSpellManyChanges : "Yazım denetimi tamamlandı: %1 kelime değiştirildi", - -IeSpellDownload : "Yazım denetimi yüklenmemiş. Şimdi yüklemek ister misiniz?", - -// Button Dialog -DlgButtonText : "Metin (Değer)", -DlgButtonType : "Tip", -DlgButtonTypeBtn : "Düğme", -DlgButtonTypeSbm : "Gönder", -DlgButtonTypeRst : "Sıfırla", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Ad", -DlgCheckboxValue : "Değer", -DlgCheckboxSelected : "Seçili", - -// Form Dialog -DlgFormName : "Ad", -DlgFormAction : "İşlem", -DlgFormMethod : "Yöntem", - -// Select Field Dialog -DlgSelectName : "Ad", -DlgSelectValue : "Değer", -DlgSelectSize : "Boyut", -DlgSelectLines : "satır", -DlgSelectChkMulti : "Çoklu seçime izin ver", -DlgSelectOpAvail : "Mevcut Seçenekler", -DlgSelectOpText : "Metin", -DlgSelectOpValue : "Değer", -DlgSelectBtnAdd : "Ekle", -DlgSelectBtnModify : "Düzenle", -DlgSelectBtnUp : "Yukarı", -DlgSelectBtnDown : "Aşağı", -DlgSelectBtnSetValue : "Seçili değer olarak ata", -DlgSelectBtnDelete : "Sil", - -// Textarea Dialog -DlgTextareaName : "Ad", -DlgTextareaCols : "Sütunlar", -DlgTextareaRows : "Satırlar", - -// Text Field Dialog -DlgTextName : "Ad", -DlgTextValue : "Değer", -DlgTextCharWidth : "Karakter Genişliği", -DlgTextMaxChars : "En Fazla Karakter", -DlgTextType : "Tür", -DlgTextTypeText : "Metin", -DlgTextTypePass : "Parola", - -// Hidden Field Dialog -DlgHiddenName : "Ad", -DlgHiddenValue : "Değer", - -// Bulleted List Dialog -BulletedListProp : "Simgeli Liste Özellikleri", -NumberedListProp : "Numaralı Liste Özellikleri", -DlgLstStart : "Başlangıç", -DlgLstType : "Tip", -DlgLstTypeCircle : "Çember", -DlgLstTypeDisc : "Disk", -DlgLstTypeSquare : "Kare", -DlgLstTypeNumbers : "Sayılar (1, 2, 3)", -DlgLstTypeLCase : "Küçük Harfler (a, b, c)", -DlgLstTypeUCase : "Büyük Harfler (A, B, C)", -DlgLstTypeSRoman : "Küçük Romen Rakamları (i, ii, iii)", -DlgLstTypeLRoman : "Büyük Romen Rakamları (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Genel", -DlgDocBackTab : "Arka Plan", -DlgDocColorsTab : "Renkler ve Kenar Boşlukları", -DlgDocMetaTab : "Tanım Bilgisi (Meta)", - -DlgDocPageTitle : "Sayfa Başlığı", -DlgDocLangDir : "Dil Yönü", -DlgDocLangDirLTR : "Soldan Sağa (LTR)", -DlgDocLangDirRTL : "Sağdan Sola (RTL)", -DlgDocLangCode : "Dil Kodu", -DlgDocCharSet : "Karakter Kümesi Kodlaması", -DlgDocCharSetCE : "Orta Avrupa", -DlgDocCharSetCT : "Geleneksel Çince (Big5)", -DlgDocCharSetCR : "Kiril", -DlgDocCharSetGR : "Yunanca", -DlgDocCharSetJP : "Japonca", -DlgDocCharSetKR : "Korece", -DlgDocCharSetTR : "Türkçe", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Batı Avrupa", -DlgDocCharSetOther : "Diğer Karakter Kümesi Kodlaması", - -DlgDocDocType : "Belge Türü Başlığı", -DlgDocDocTypeOther : "Diğer Belge Türü Başlığı", -DlgDocIncXHTML : "XHTML Bildirimlerini Dahil Et", -DlgDocBgColor : "Arka Plan Rengi", -DlgDocBgImage : "Arka Plan Resim URLsi", -DlgDocBgNoScroll : "Sabit Arka Plan", -DlgDocCText : "Metin", -DlgDocCLink : "Köprü", -DlgDocCVisited : "Ziyaret Edilmiş Köprü", -DlgDocCActive : "Etkin Köprü", -DlgDocMargins : "Kenar Boşlukları", -DlgDocMaTop : "Tepe", -DlgDocMaLeft : "Sol", -DlgDocMaRight : "Sağ", -DlgDocMaBottom : "Alt", -DlgDocMeIndex : "Belge Dizinleme Anahtar Kelimeleri (virgülle ayrılmış)", -DlgDocMeDescr : "Belge Tanımı", -DlgDocMeAuthor : "Yazar", -DlgDocMeCopy : "Telif", -DlgDocPreview : "Ön İzleme", - -// Templates Dialog -Templates : "Şablonlar", -DlgTemplatesTitle : "İçerik Şablonları", -DlgTemplatesSelMsg : "Düzenleyicide açmak için lütfen bir şablon seçin.<br>(hali hazırdaki içerik kaybolacaktır.):", -DlgTemplatesLoading : "Şablon listesi yüklenmekte. Lütfen bekleyiniz...", -DlgTemplatesNoTpl : "(Belirli bir şablon seçilmedi)", -DlgTemplatesReplace : "Mevcut içerik ile değiştir", - -// About Dialog -DlgAboutAboutTab : "Hakkında", -DlgAboutBrowserInfoTab : "Gezgin Bilgisi", -DlgAboutLicenseTab : "Lisans", -DlgAboutVersion : "sürüm", -DlgAboutInfo : "Daha fazla bilgi için:" -}; diff --git a/editor/editor/lang/uk.js b/editor/editor/lang/uk.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Ukrainian language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Згорнути панель інструментів", -ToolbarExpand : "Розгорнути панель інструментів", - -// Toolbar Items and Context Menu -Save : "Зберегти", -NewPage : "Нова сторінка", -Preview : "Попередній перегляд", -Cut : "Вирізати", -Copy : "Копіювати", -Paste : "Вставити", -PasteText : "Вставити тільки текст", -PasteWord : "Вставити з Word", -Print : "Друк", -SelectAll : "Виділити все", -RemoveFormat : "Прибрати форматування", -InsertLinkLbl : "Посилання", -InsertLink : "Вставити/Редагувати посилання", -RemoveLink : "Знищити посилання", -Anchor : "Вставити/Редагувати якір", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Зображення", -InsertImage : "Вставити/Редагувати зображення", -InsertFlashLbl : "Flash", -InsertFlash : "Вставити/Редагувати Flash", -InsertTableLbl : "Таблиця", -InsertTable : "Вставити/Редагувати таблицю", -InsertLineLbl : "Лінія", -InsertLine : "Вставити горизонтальну лінію", -InsertSpecialCharLbl: "Спеціальний символ", -InsertSpecialChar : "Вставити спеціальний символ", -InsertSmileyLbl : "Смайлик", -InsertSmiley : "Вставити смайлик", -About : "Про FCKeditor", -Bold : "Жирний", -Italic : "Курсив", -Underline : "Підкреслений", -StrikeThrough : "Закреслений", -Subscript : "Підрядковий індекс", -Superscript : "Надрядковий индекс", -LeftJustify : "По лівому краю", -CenterJustify : "По центру", -RightJustify : "По правому краю", -BlockJustify : "По ширині", -DecreaseIndent : "Зменшити відступ", -IncreaseIndent : "Збільшити відступ", -Blockquote : "Blockquote", //MISSING -Undo : "Повернути", -Redo : "Повторити", -NumberedListLbl : "Нумерований список", -NumberedList : "Вставити/Видалити нумерований список", -BulletedListLbl : "Маркований список", -BulletedList : "Вставити/Видалити маркований список", -ShowTableBorders : "Показати бордюри таблиці", -ShowDetails : "Показати деталі", -Style : "Стиль", -FontFormat : "Форматування", -Font : "Шрифт", -FontSize : "Розмір", -TextColor : "Колір тексту", -BGColor : "Колір фону", -Source : "Джерело", -Find : "Пошук", -Replace : "Заміна", -SpellCheck : "Перевірити орфографію", -UniversalKeyboard : "Універсальна клавіатура", -PageBreakLbl : "Розривши сторінки", -PageBreak : "Вставити розривши сторінки", - -Form : "Форма", -Checkbox : "Флагова кнопка", -RadioButton : "Кнопка вибору", -TextField : "Текстове поле", -Textarea : "Текстова область", -HiddenField : "Приховане поле", -Button : "Кнопка", -SelectionField : "Список", -ImageButton : "Кнопка із зображенням", - -FitWindow : "Розвернути вікно редактора", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Вставити посилання", -CellCM : "Осередок", -RowCM : "Рядок", -ColumnCM : "Колонка", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Видалити строки", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Видалити колонки", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Видалити комірки", -MergeCells : "Об'єднати комірки", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Видалити таблицю", -CellProperties : "Властивості комірки", -TableProperties : "Властивості таблиці", -ImageProperties : "Властивості зображення", -FlashProperties : "Властивості Flash", - -AnchorProp : "Властивості якоря", -ButtonProp : "Властивості кнопки", -CheckboxProp : "Властивості флагової кнопки", -HiddenFieldProp : "Властивості прихованого поля", -RadioButtonProp : "Властивості кнопки вибору", -ImageButtonProp : "Властивості кнопки із зображенням", -TextFieldProp : "Властивості текстового поля", -SelectionFieldProp : "Властивості списку", -TextareaProp : "Властивості текстової області", -FormProp : "Властивості форми", - -FontFormats : "Нормальний;Форматований;Адреса;Заголовок 1;Заголовок 2;Заголовок 3;Заголовок 4;Заголовок 5;Заголовок 6;Нормальний (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Обробка XHTML. Зачекайте, будь ласка...", -Done : "Зроблено", -PasteWordConfirm : "Текст, що ви хочете вставити, схожий на копійований з Word. Ви хочете очистити його перед вставкою?", -NotCompatiblePaste : "Ця команда доступна для Internet Explorer версії 5.5 або вище. Ви хочете вставити без очищення?", -UnknownToolbarItem : "Невідомий елемент панелі інструментів \"%1\"", -UnknownCommand : "Невідоме ім'я команди \"%1\"", -NotImplemented : "Команда не реалізована", -UnknownToolbarSet : "Панель інструментів \"%1\" не існує", -NoActiveX : "Настройки безпеки вашого браузера можуть обмежувати деякі властивості редактора. Ви повинні включити опцію \"Запускати елементи управління ACTIVEX і плугіни\". Ви можете бачити помилки і помічати відсутність можливостей.", -BrowseServerBlocked : "Ресурси браузера не можуть бути відкриті. Перевірте що блокування спливаючих вікон вимкнені.", -DialogBlocked : "Не можливо відкрити вікно діалогу. Перевірте що блокування спливаючих вікон вимкнені.", - -// Dialogs -DlgBtnOK : "ОК", -DlgBtnCancel : "Скасувати", -DlgBtnClose : "Зачинити", -DlgBtnBrowseServer : "Передивитися на сервері", -DlgAdvancedTag : "Розширений", -DlgOpOther : "<Інше>", -DlgInfoTab : "Інфо", -DlgAlertUrl : "Вставте, будь-ласка, URL", - -// General Dialogs Labels -DlgGenNotSet : "<не визначено>", -DlgGenId : "Ідентифікатор", -DlgGenLangDir : "Напрямок мови", -DlgGenLangDirLtr : "Зліва на право (LTR)", -DlgGenLangDirRtl : "Зправа на ліво (RTL)", -DlgGenLangCode : "Мова", -DlgGenAccessKey : "Гаряча клавіша", -DlgGenName : "Им'я", -DlgGenTabIndex : "Послідовність переходу", -DlgGenLongDescr : "Довгий опис URL", -DlgGenClass : "Клас CSS", -DlgGenTitle : "Заголовок", -DlgGenContType : "Тип вмісту", -DlgGenLinkCharset : "Кодировка", -DlgGenStyle : "Стиль CSS", - -// Image Dialog -DlgImgTitle : "Властивості зображення", -DlgImgInfoTab : "Інформація про изображении", -DlgImgBtnUpload : "Надіслати на сервер", -DlgImgURL : "URL", -DlgImgUpload : "Закачати", -DlgImgAlt : "Альтернативний текст", -DlgImgWidth : "Ширина", -DlgImgHeight : "Висота", -DlgImgLockRatio : "Зберегти пропорції", -DlgBtnResetSize : "Скинути розмір", -DlgImgBorder : "Бордюр", -DlgImgHSpace : "Горизонтальний відступ", -DlgImgVSpace : "Вертикальний відступ", -DlgImgAlign : "Вирівнювання", -DlgImgAlignLeft : "По лівому краю", -DlgImgAlignAbsBottom: "Абс по низу", -DlgImgAlignAbsMiddle: "Абс по середині", -DlgImgAlignBaseline : "По базовій лінії", -DlgImgAlignBottom : "По низу", -DlgImgAlignMiddle : "По середині", -DlgImgAlignRight : "По правому краю", -DlgImgAlignTextTop : "Текст на верху", -DlgImgAlignTop : "По верху", -DlgImgPreview : "Попередній перегляд", -DlgImgAlertUrl : "Будь ласка, введіть URL зображення", -DlgImgLinkTab : "Посилання", - -// Flash Dialog -DlgFlashTitle : "Властивості Flash", -DlgFlashChkPlay : "Авто програвання", -DlgFlashChkLoop : "Зациклити", -DlgFlashChkMenu : "Дозволити меню Flash", -DlgFlashScale : "Масштаб", -DlgFlashScaleAll : "Показати всі", -DlgFlashScaleNoBorder : "Без рамки", -DlgFlashScaleFit : "Дійсний розмір", - -// Link Dialog -DlgLnkWindowTitle : "Посилання", -DlgLnkInfoTab : "Інформація посилання", -DlgLnkTargetTab : "Ціль", - -DlgLnkType : "Тип посилання", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Якір на цю сторінку", -DlgLnkTypeEMail : "Эл. пошта", -DlgLnkProto : "Протокол", -DlgLnkProtoOther : "<інше>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Оберіть якір", -DlgLnkAnchorByName : "За ім'ям якоря", -DlgLnkAnchorById : "За ідентифікатором елемента", -DlgLnkNoAnchors : "(Немає якорів доступних в цьому документі)", -DlgLnkEMail : "Адреса ел. пошти", -DlgLnkEMailSubject : "Тема листа", -DlgLnkEMailBody : "Тіло повідомлення", -DlgLnkUpload : "Закачати", -DlgLnkBtnUpload : "Переслати на сервер", - -DlgLnkTarget : "Ціль", -DlgLnkTargetFrame : "<фрейм>", -DlgLnkTargetPopup : "<спливаюче вікно>", -DlgLnkTargetBlank : "Нове вікно (_blank)", -DlgLnkTargetParent : "Батьківське вікно (_parent)", -DlgLnkTargetSelf : "Теж вікно (_self)", -DlgLnkTargetTop : "Найвище вікно (_top)", -DlgLnkTargetFrameName : "Ім'я целевого фрейма", -DlgLnkPopWinName : "Ім'я спливаючого вікна", -DlgLnkPopWinFeat : "Властивості спливаючого вікна", -DlgLnkPopResize : "Змінюється в розмірах", -DlgLnkPopLocation : "Панель локації", -DlgLnkPopMenu : "Панель меню", -DlgLnkPopScroll : "Полоси прокрутки", -DlgLnkPopStatus : "Строка статусу", -DlgLnkPopToolbar : "Панель інструментів", -DlgLnkPopFullScrn : "Повний екран (IE)", -DlgLnkPopDependent : "Залежний (Netscape)", -DlgLnkPopWidth : "Ширина", -DlgLnkPopHeight : "Висота", -DlgLnkPopLeft : "Позиція зліва", -DlgLnkPopTop : "Позиція зверху", - -DlnLnkMsgNoUrl : "Будь ласка, занесіть URL посилання", -DlnLnkMsgNoEMail : "Будь ласка, занесіть адрес эл. почты", -DlnLnkMsgNoAnchor : "Будь ласка, оберіть якір", -DlnLnkMsgInvPopName : "Назва спливаючого вікна повинна починатися букви і не може містити пропусків", - -// Color Dialog -DlgColorTitle : "Оберіть колір", -DlgColorBtnClear : "Очистити", -DlgColorHighlight : "Підсвічений", -DlgColorSelected : "Обраний", - -// Smiley Dialog -DlgSmileyTitle : "Вставити смайлик", - -// Special Character Dialog -DlgSpecialCharTitle : "Оберіть спеціальний символ", - -// Table Dialog -DlgTableTitle : "Властивості таблиці", -DlgTableRows : "Строки", -DlgTableColumns : "Колонки", -DlgTableBorder : "Розмір бордюра", -DlgTableAlign : "Вирівнювання", -DlgTableAlignNotSet : "<Не вст.>", -DlgTableAlignLeft : "Зліва", -DlgTableAlignCenter : "По центру", -DlgTableAlignRight : "Зправа", -DlgTableWidth : "Ширина", -DlgTableWidthPx : "пікселів", -DlgTableWidthPc : "відсотків", -DlgTableHeight : "Висота", -DlgTableCellSpace : "Проміжок (spacing)", -DlgTableCellPad : "Відступ (padding)", -DlgTableCaption : "Заголовок", -DlgTableSummary : "Резюме", - -// Table Cell Dialog -DlgCellTitle : "Властивості комірки", -DlgCellWidth : "Ширина", -DlgCellWidthPx : "пікселів", -DlgCellWidthPc : "відсотків", -DlgCellHeight : "Висота", -DlgCellWordWrap : "Згортання текста", -DlgCellWordWrapNotSet : "<Не вст.>", -DlgCellWordWrapYes : "Так", -DlgCellWordWrapNo : "Ні", -DlgCellHorAlign : "Горизонтальне вирівнювання", -DlgCellHorAlignNotSet : "<Не вст.>", -DlgCellHorAlignLeft : "Зліва", -DlgCellHorAlignCenter : "По центру", -DlgCellHorAlignRight: "Зправа", -DlgCellVerAlign : "Вертикальное вирівнювання", -DlgCellVerAlignNotSet : "<Не вст.>", -DlgCellVerAlignTop : "Зверху", -DlgCellVerAlignMiddle : "Посередині", -DlgCellVerAlignBottom : "Знизу", -DlgCellVerAlignBaseline : "По базовій лінії", -DlgCellRowSpan : "Діапазон строк (span)", -DlgCellCollSpan : "Діапазон колонок (span)", -DlgCellBackColor : "Колір фона", -DlgCellBorderColor : "Колір бордюра", -DlgCellBtnSelect : "Оберіть...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Пошук", -DlgFindFindBtn : "Пошук", -DlgFindNotFoundMsg : "Вказаний текст не знайдений.", - -// Replace Dialog -DlgReplaceTitle : "Замінити", -DlgReplaceFindLbl : "Шукати:", -DlgReplaceReplaceLbl : "Замінити на:", -DlgReplaceCaseChk : "Учитывать регистр", -DlgReplaceReplaceBtn : "Замінити", -DlgReplaceReplAllBtn : "Замінити все", -DlgReplaceWordChk : "Збіг цілих слів", - -// Paste Operations / Dialog -PasteErrorCut : "Настройки безпеки вашого браузера не дозволяють редактору автоматично виконувати операції вирізування. Будь ласка, використовуйте клавіатуру для цього (Ctrl+X).", -PasteErrorCopy : "Настройки безпеки вашого браузера не дозволяють редактору автоматично виконувати операції копіювання. Будь ласка, використовуйте клавіатуру для цього (Ctrl+C).", - -PasteAsText : "Вставити тільки текст", -PasteFromWord : "Вставити з Word", - -DlgPasteMsg2 : "Будь-ласка, вставте з буфера обміну в цю область, користуючись комбінацією клавіш (<STRONG>Ctrl+V</STRONG>) та натисніть <STRONG>OK</STRONG>.", -DlgPasteSec : "Редактор не може отримати прямий доступ до буферу обміну у зв'язку з налаштуваннями вашого браузера. Вам потрібно вставити інформацію повторно в це вікно.", -DlgPasteIgnoreFont : "Ігнорувати налаштування шрифтів", -DlgPasteRemoveStyles : "Видалити налаштування стилів", -DlgPasteCleanBox : "Очистити область", - -// Color Picker -ColorAutomatic : "Автоматичний", -ColorMoreColors : "Кольори...", - -// Document Properties -DocProps : "Властивості документа", - -// Anchor Dialog -DlgAnchorTitle : "Властивості якоря", -DlgAnchorName : "Ім'я якоря", -DlgAnchorErrorName : "Будь ласка, занесіть ім'я якоря", - -// Speller Pages Dialog -DlgSpellNotInDic : "Не має в словнику", -DlgSpellChangeTo : "Замінити на", -DlgSpellBtnIgnore : "Ігнорувати", -DlgSpellBtnIgnoreAll : "Ігнорувати все", -DlgSpellBtnReplace : "Замінити", -DlgSpellBtnReplaceAll : "Замінити все", -DlgSpellBtnUndo : "Назад", -DlgSpellNoSuggestions : "- Немає припущень -", -DlgSpellProgress : "Виконується перевірка орфографії...", -DlgSpellNoMispell : "Перевірку орфографії завершено: помилок не знайдено", -DlgSpellNoChanges : "Перевірку орфографії завершено: жодне слово не змінено", -DlgSpellOneChange : "Перевірку орфографії завершено: змінено одно слово", -DlgSpellManyChanges : "Перевірку орфографії завершено: 1% слів змінено", - -IeSpellDownload : "Модуль перевірки орфографії не встановлено. Бажаєтн завантажити його зараз?", - -// Button Dialog -DlgButtonText : "Текст (Значення)", -DlgButtonType : "Тип", -DlgButtonTypeBtn : "Кнопка", -DlgButtonTypeSbm : "Відправити", -DlgButtonTypeRst : "Скинути", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Ім'я", -DlgCheckboxValue : "Значення", -DlgCheckboxSelected : "Обрана", - -// Form Dialog -DlgFormName : "Ім'я", -DlgFormAction : "Дія", -DlgFormMethod : "Метод", - -// Select Field Dialog -DlgSelectName : "Ім'я", -DlgSelectValue : "Значення", -DlgSelectSize : "Розмір", -DlgSelectLines : "лінії", -DlgSelectChkMulti : "Дозволити обрання декількох позицій", -DlgSelectOpAvail : "Доступні варіанти", -DlgSelectOpText : "Текст", -DlgSelectOpValue : "Значення", -DlgSelectBtnAdd : "Добавити", -DlgSelectBtnModify : "Змінити", -DlgSelectBtnUp : "Вгору", -DlgSelectBtnDown : "Вниз", -DlgSelectBtnSetValue : "Встановити як вибране значення", -DlgSelectBtnDelete : "Видалити", - -// Textarea Dialog -DlgTextareaName : "Ім'я", -DlgTextareaCols : "Колонки", -DlgTextareaRows : "Строки", - -// Text Field Dialog -DlgTextName : "Ім'я", -DlgTextValue : "Значення", -DlgTextCharWidth : "Ширина", -DlgTextMaxChars : "Макс. кіл-ть символів", -DlgTextType : "Тип", -DlgTextTypeText : "Текст", -DlgTextTypePass : "Пароль", - -// Hidden Field Dialog -DlgHiddenName : "Ім'я", -DlgHiddenValue : "Значення", - -// Bulleted List Dialog -BulletedListProp : "Властивості маркованого списка", -NumberedListProp : "Властивості нумерованного списка", -DlgLstStart : "Початок", -DlgLstType : "Тип", -DlgLstTypeCircle : "Коло", -DlgLstTypeDisc : "Диск", -DlgLstTypeSquare : "Квадрат", -DlgLstTypeNumbers : "Номери (1, 2, 3)", -DlgLstTypeLCase : "Літери нижнього регістра(a, b, c)", -DlgLstTypeUCase : "Букви верхнього регістра (A, B, C)", -DlgLstTypeSRoman : "Малі римські літери (i, ii, iii)", -DlgLstTypeLRoman : "Великі римські літери (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Загальні", -DlgDocBackTab : "Заднє тло", -DlgDocColorsTab : "Кольори та відступи", -DlgDocMetaTab : "Мета дані", - -DlgDocPageTitle : "Заголовок сторінки", -DlgDocLangDir : "Напрямок тексту", -DlgDocLangDirLTR : "Зліва на право (LTR)", -DlgDocLangDirRTL : "Зправа на лево (RTL)", -DlgDocLangCode : "Код мови", -DlgDocCharSet : "Кодування набору символів", -DlgDocCharSetCE : "Центрально-європейська", -DlgDocCharSetCT : "Китайська традиційна (Big5)", -DlgDocCharSetCR : "Кирилиця", -DlgDocCharSetGR : "Грецька", -DlgDocCharSetJP : "Японська", -DlgDocCharSetKR : "Корейська", -DlgDocCharSetTR : "Турецька", -DlgDocCharSetUN : "Юнікод (UTF-8)", -DlgDocCharSetWE : "Західно-европейская", -DlgDocCharSetOther : "Інше кодування набору символів", - -DlgDocDocType : "Заголовок типу документу", -DlgDocDocTypeOther : "Інший заголовок типу документу", -DlgDocIncXHTML : "Ввімкнути XHTML оголошення", -DlgDocBgColor : "Колір тла", -DlgDocBgImage : "URL зображення тла", -DlgDocBgNoScroll : "Тло без прокрутки", -DlgDocCText : "Текст", -DlgDocCLink : "Посилання", -DlgDocCVisited : "Відвідане посилання", -DlgDocCActive : "Активне посилання", -DlgDocMargins : "Відступи сторінки", -DlgDocMaTop : "Верхній", -DlgDocMaLeft : "Лівий", -DlgDocMaRight : "Правий", -DlgDocMaBottom : "Нижній", -DlgDocMeIndex : "Ключові слова документа (розділені комами)", -DlgDocMeDescr : "Опис документа", -DlgDocMeAuthor : "Автор", -DlgDocMeCopy : "Авторські права", -DlgDocPreview : "Попередній перегляд", - -// Templates Dialog -Templates : "Шаблони", -DlgTemplatesTitle : "Шаблони змісту", -DlgTemplatesSelMsg : "Оберіть, будь ласка, шаблон для відкриття в редакторі<br>(поточний зміст буде втрачено):", -DlgTemplatesLoading : "Завантаження списку шаблонів. Зачекайте, будь ласка...", -DlgTemplatesNoTpl : "(Не визначено жодного шаблону)", -DlgTemplatesReplace : "Замінити поточний вміст", - -// About Dialog -DlgAboutAboutTab : "Про програму", -DlgAboutBrowserInfoTab : "Інформація браузера", -DlgAboutLicenseTab : "Ліцензія", -DlgAboutVersion : "Версія", -DlgAboutInfo : "Додаткову інформацію дивіться на " -}; diff --git a/editor/editor/lang/vi.js b/editor/editor/lang/vi.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Vietnamese language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "Thu gọn Thanh công cụ", -ToolbarExpand : "Mở rộng Thanh công cụ", - -// Toolbar Items and Context Menu -Save : "Lưu", -NewPage : "Trang mới", -Preview : "Xem trước", -Cut : "Cắt", -Copy : "Sao chép", -Paste : "Dán", -PasteText : "Dán theo dạng văn bản thuần", -PasteWord : "Dán với định dạng Word", -Print : "In", -SelectAll : "Chọn Tất cả", -RemoveFormat : "Xoá Định dạng", -InsertLinkLbl : "Liên kết", -InsertLink : "Chèn/Sửa Liên kết", -RemoveLink : "Xoá Liên kết", -Anchor : "Chèn/Sửa Neo", -AnchorDelete : "Remove Anchor", //MISSING -InsertImageLbl : "Hình ảnh", -InsertImage : "Chèn/Sửa Hình ảnh", -InsertFlashLbl : "Flash", -InsertFlash : "Chèn/Sửa Flash", -InsertTableLbl : "Bảng", -InsertTable : "Chèn/Sửa Bảng", -InsertLineLbl : "Đường phân cách ngang", -InsertLine : "Chèn Đường phân cách ngang", -InsertSpecialCharLbl: "Ký tự đặc biệt", -InsertSpecialChar : "Chèn Ký tự đặc biệt", -InsertSmileyLbl : "Hình biểu lộ cảm xúc (mặt cười)", -InsertSmiley : "Chèn Hình biểu lộ cảm xúc (mặt cười)", -About : "Giới thiệu về FCKeditor", -Bold : "Đậm", -Italic : "Nghiêng", -Underline : "Gạch chân", -StrikeThrough : "Gạch xuyên ngang", -Subscript : "Chỉ số dưới", -Superscript : "Chỉ số trên", -LeftJustify : "Canh trái", -CenterJustify : "Canh giữa", -RightJustify : "Canh phải", -BlockJustify : "Canh đều", -DecreaseIndent : "Dịch ra ngoài", -IncreaseIndent : "Dịch vào trong", -Blockquote : "Blockquote", //MISSING -Undo : "Khôi phục thao tác", -Redo : "Làm lại thao tác", -NumberedListLbl : "Danh sách có thứ tự", -NumberedList : "Chèn/Xoá Danh sách có thứ tự", -BulletedListLbl : "Danh sách không thứ tự", -BulletedList : "Chèn/Xoá Danh sách không thứ tự", -ShowTableBorders : "Hiển thị Đường viền bảng", -ShowDetails : "Hiển thị Chi tiết", -Style : "Mẫu", -FontFormat : "Định dạng", -Font : "Phông", -FontSize : "Cỡ chữ", -TextColor : "Màu chữ", -BGColor : "Màu nền", -Source : "Mã HTML", -Find : "Tìm kiếm", -Replace : "Thay thế", -SpellCheck : "Kiểm tra Chính tả", -UniversalKeyboard : "Bàn phím Quốc tế", -PageBreakLbl : "Ngắt trang", -PageBreak : "Chèn Ngắt trang", - -Form : "Biểu mẫu", -Checkbox : "Nút kiểm", -RadioButton : "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", -SelectionField : "Ô chọn", -ImageButton : "Nút hình ảnh", - -FitWindow : "Mở rộng tối đa kích thước trình biên tập", -ShowBlocks : "Show Blocks", //MISSING - -// Context Menu -EditLink : "Sửa Liên kết", -CellCM : "Ô", -RowCM : "Hàng", -ColumnCM : "Cột", -InsertRowAfter : "Insert Row After", //MISSING -InsertRowBefore : "Insert Row Before", //MISSING -DeleteRows : "Xoá Hàng", -InsertColumnAfter : "Insert Column After", //MISSING -InsertColumnBefore : "Insert Column Before", //MISSING -DeleteColumns : "Xoá Cột", -InsertCellAfter : "Insert Cell After", //MISSING -InsertCellBefore : "Insert Cell Before", //MISSING -DeleteCells : "Xoá Ô", -MergeCells : "Trộn Ô", -MergeRight : "Merge Right", //MISSING -MergeDown : "Merge Down", //MISSING -HorizontalSplitCell : "Split Cell Horizontally", //MISSING -VerticalSplitCell : "Split Cell Vertically", //MISSING -TableDelete : "Xóa Bảng", -CellProperties : "Thuộc tính Ô", -TableProperties : "Thuộc tính Bảng", -ImageProperties : "Thuộc tính Hình ảnh", -FlashProperties : "Thuộc tính Flash", - -AnchorProp : "Thuộc tính Neo", -ButtonProp : "Thuộc tính Nút", -CheckboxProp : "Thuộc tính Nút kiểm", -HiddenFieldProp : "Thuộc tính Trường ẩn", -RadioButtonProp : "Thuộc tính Nút chọn", -ImageButtonProp : "Thuộc tính Nút hình ảnh", -TextFieldProp : "Thuộc tính Trường văn bản", -SelectionFieldProp : "Thuộc tính Ô chọn", -TextareaProp : "Thuộc tính Vùng văn bản", -FormProp : "Thuộc tính Biểu mẫu", - -FontFormats : "Normal;Formatted;Address;Heading 1;Heading 2;Heading 3;Heading 4;Heading 5;Heading 6;Normal (DIV)", - -// Alerts and Messages -ProcessingXHTML : "Đang xử lý XHTML. Vui lòng đợi trong giây lát...", -Done : "Đã hoàn thành", -PasteWordConfirm : "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?", -NotCompatiblePaste : "Lệnh này chỉ được hỗ trợ từ trình duyệt Internet Explorer phiên bản 5.5 hoặc mới hơn. Bạn có muốn dán nguyên mẫu?", -UnknownToolbarItem : "Không rõ mục trên thanh công cụ \"%1\"", -UnknownCommand : "Không rõ lệnh \"%1\"", -NotImplemented : "Lệnh không được thực hiện", -UnknownToolbarSet : "Thanh công cụ \"%1\" không tồn tại", -NoActiveX : "Các thiết lập bảo mật của trình duyệt có thể giới hạn một số chức năng của trình biên tập. Bạn phải bật tùy chọn \"Run ActiveX controls and plug-ins\". Bạn có thể gặp một số lỗi và thấy thiếu đi một số chức năng.", -BrowseServerBlocked : "Không thể mở được bộ duyệt tài nguyên. Hãy đảm bảo chức năng chặn popup đã bị vô hiệu hóa.", -DialogBlocked : "Không thể mở được cửa sổ hộp thoại. Hãy đảm bảo chức năng chặn popup đã bị vô hiệu hóa.", - -// Dialogs -DlgBtnOK : "Đồng ý", -DlgBtnCancel : "Bỏ qua", -DlgBtnClose : "Đóng", -DlgBtnBrowseServer : "Duyệt trên máy chủ", -DlgAdvancedTag : "Mở rộng", -DlgOpOther : "<Khác>", -DlgInfoTab : "Thông tin", -DlgAlertUrl : "Hãy nhập vào một URL", - -// General Dialogs Labels -DlgGenNotSet : "<không thiết lập>", -DlgGenId : "Định danh", -DlgGenLangDir : "Đường dẫn Ngôn ngữ", -DlgGenLangDirLtr : "Trái sang Phải (LTR)", -DlgGenLangDirRtl : "Phải sang Trái (RTL)", -DlgGenLangCode : "Mã Ngôn ngữ", -DlgGenAccessKey : "Phím Hỗ trợ truy cập", -DlgGenName : "Tên", -DlgGenTabIndex : "Chỉ số của Tab", -DlgGenLongDescr : "Mô tả URL", -DlgGenClass : "Lớp Stylesheet", -DlgGenTitle : "Advisory Title", -DlgGenContType : "Advisory Content Type", -DlgGenLinkCharset : "Bảng mã của tài nguyên được liên kết đến", -DlgGenStyle : "Mẫu", - -// Image Dialog -DlgImgTitle : "Thuộc tính Hình ảnh", -DlgImgInfoTab : "Thông tin Hình ảnh", -DlgImgBtnUpload : "Tải lên Máy chủ", -DlgImgURL : "URL", -DlgImgUpload : "Tải lên", -DlgImgAlt : "Chú thích Hình ảnh", -DlgImgWidth : "Rộng", -DlgImgHeight : "Cao", -DlgImgLockRatio : "Giữ tỷ lệ", -DlgBtnResetSize : "Kích thước gốc", -DlgImgBorder : "Đường viền", -DlgImgHSpace : "HSpace", -DlgImgVSpace : "VSpace", -DlgImgAlign : "Vị trí", -DlgImgAlignLeft : "Trái", -DlgImgAlignAbsBottom: "Dưới tuyệt đối", -DlgImgAlignAbsMiddle: "Giữa tuyệt đối", -DlgImgAlignBaseline : "Baseline", -DlgImgAlignBottom : "Dưới", -DlgImgAlignMiddle : "Giữa", -DlgImgAlignRight : "Phải", -DlgImgAlignTextTop : "Phía trên chữ", -DlgImgAlignTop : "Trên", -DlgImgPreview : "Xem trước", -DlgImgAlertUrl : "Hãy đưa vào URL của hình ảnh", -DlgImgLinkTab : "Liên kết", - -// Flash Dialog -DlgFlashTitle : "Thuộc tính Flash", -DlgFlashChkPlay : "Tự động chạy", -DlgFlashChkLoop : "Lặp", -DlgFlashChkMenu : "Cho phép bật Menu của Flash", -DlgFlashScale : "Tỷ lệ", -DlgFlashScaleAll : "Hiển thị tất cả", -DlgFlashScaleNoBorder : "Không đường viền", -DlgFlashScaleFit : "Vừa vặn", - -// Link Dialog -DlgLnkWindowTitle : "Liên kết", -DlgLnkInfoTab : "Thông tin Liên kết", -DlgLnkTargetTab : "Đích", - -DlgLnkType : "Kiểu Liên kết", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "Neo trong trang này", -DlgLnkTypeEMail : "Thư điện tử", -DlgLnkProto : "Giao thức", -DlgLnkProtoOther : "<khác>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "Chọn một Neo", -DlgLnkAnchorByName : "Theo Tên Neo", -DlgLnkAnchorById : "Theo Định danh Element", -DlgLnkNoAnchors : "(Không có Neo nào trong tài liệu)", -DlgLnkEMail : "Thư điện tử", -DlgLnkEMailSubject : "Tiêu đề Thông điệp", -DlgLnkEMailBody : "Nội dung Thông điệp", -DlgLnkUpload : "Tải lên", -DlgLnkBtnUpload : "Tải lên Máy chủ", - -DlgLnkTarget : "Đích", -DlgLnkTargetFrame : "<khung>", -DlgLnkTargetPopup : "<cửa sổ popup>", -DlgLnkTargetBlank : "Cửa sổ mới (_blank)", -DlgLnkTargetParent : "Cửa sổ cha (_parent)", -DlgLnkTargetSelf : "Cùng cửa sổ (_self)", -DlgLnkTargetTop : "Cửa sổ trên cùng(_top)", -DlgLnkTargetFrameName : "Tên Khung đích", -DlgLnkPopWinName : "Tên Cửa sổ Popup", -DlgLnkPopWinFeat : "Đặc điểm của Cửa sổ Popup", -DlgLnkPopResize : "Kích thước thay đổi", -DlgLnkPopLocation : "Thanh vị trí", -DlgLnkPopMenu : "Thanh Menu", -DlgLnkPopScroll : "Thanh cuộn", -DlgLnkPopStatus : "Thanh trạng thái", -DlgLnkPopToolbar : "Thanh công cụ", -DlgLnkPopFullScrn : "Toàn màn hình (IE)", -DlgLnkPopDependent : "Phụ thuộc (Netscape)", -DlgLnkPopWidth : "Rộng", -DlgLnkPopHeight : "Cao", -DlgLnkPopLeft : "Vị trí Trái", -DlgLnkPopTop : "Vị trí Trên", - -DlnLnkMsgNoUrl : "Hãy đưa vào Liên kết URL", -DlnLnkMsgNoEMail : "Hãy đưa vào địa chỉ thư điện tử", -DlnLnkMsgNoAnchor : "Hãy chọn một Neo", -DlnLnkMsgInvPopName : "Tên của cửa sổ Popup phải bắt đầu bằng một ký tự và không được chứa khoảng trắng", - -// Color Dialog -DlgColorTitle : "Chọn màu", -DlgColorBtnClear : "Xoá", -DlgColorHighlight : "Tô sáng", -DlgColorSelected : "Đã chọn", - -// Smiley Dialog -DlgSmileyTitle : "Chèn Hình biểu lộ cảm xúc (mặt cười)", - -// Special Character Dialog -DlgSpecialCharTitle : "Hãy chọn Ký tự đặc biệt", - -// Table Dialog -DlgTableTitle : "Thuộc tính bảng", -DlgTableRows : "Hàng", -DlgTableColumns : "Cột", -DlgTableBorder : "Cỡ Đường viền", -DlgTableAlign : "Canh lề", -DlgTableAlignNotSet : "<Chưa thiết lập>", -DlgTableAlignLeft : "Trái", -DlgTableAlignCenter : "Giữa", -DlgTableAlignRight : "Phải", -DlgTableWidth : "Rộng", -DlgTableWidthPx : "điểm (px)", -DlgTableWidthPc : "%", -DlgTableHeight : "Cao", -DlgTableCellSpace : "Khoảng cách Ô", -DlgTableCellPad : "Đệm Ô", -DlgTableCaption : "Đầu đề", -DlgTableSummary : "Tóm lược", - -// Table Cell Dialog -DlgCellTitle : "Thuộc tính Ô", -DlgCellWidth : "Rộng", -DlgCellWidthPx : "điểm (px)", -DlgCellWidthPc : "%", -DlgCellHeight : "Cao", -DlgCellWordWrap : "Bọc từ", -DlgCellWordWrapNotSet : "<Chưa thiết lập>", -DlgCellWordWrapYes : "Đồng ý", -DlgCellWordWrapNo : "Không", -DlgCellHorAlign : "Canh theo Chiều ngang", -DlgCellHorAlignNotSet : "<Chưa thiết lập>", -DlgCellHorAlignLeft : "Trái", -DlgCellHorAlignCenter : "Giữa", -DlgCellHorAlignRight: "Phải", -DlgCellVerAlign : "Canh theo Chiều dọc", -DlgCellVerAlignNotSet : "<Chưa thiết lập>", -DlgCellVerAlignTop : "Trên", -DlgCellVerAlignMiddle : "Giữa", -DlgCellVerAlignBottom : "Dưới", -DlgCellVerAlignBaseline : "Baseline", -DlgCellRowSpan : "Nối Hàng", -DlgCellCollSpan : "Nối Cột", -DlgCellBackColor : "Màu nền", -DlgCellBorderColor : "Màu viền", -DlgCellBtnSelect : "Chọn...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "Find and Replace", //MISSING - -// Find Dialog -DlgFindTitle : "Tìm kiếm", -DlgFindFindBtn : "Tìm kiếm", -DlgFindNotFoundMsg : "Không tìm thấy chuỗi cần tìm.", - -// Replace Dialog -DlgReplaceTitle : "Thay thế", -DlgReplaceFindLbl : "Tìm chuỗi:", -DlgReplaceReplaceLbl : "Thay bằng:", -DlgReplaceCaseChk : "Phân biệt chữ hoa/thường", -DlgReplaceReplaceBtn : "Thay thế", -DlgReplaceReplAllBtn : "Thay thế Tất cả", -DlgReplaceWordChk : "Đúng toàn bộ từ", - -// Paste Operations / Dialog -PasteErrorCut : "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+X).", -PasteErrorCopy : "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+C).", - -PasteAsText : "Dán theo định dạng văn bản thuần", -PasteFromWord : "Dán với định dạng Word", - -DlgPasteMsg2 : "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+V</STRONG>) và nhấn vào nút <STRONG>Đồng ý</STRONG>.", -DlgPasteSec : "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 -DlgPasteIgnoreFont : "Chấp nhận các định dạng phông", -DlgPasteRemoveStyles : "Gỡ bỏ các định dạng Styles", -DlgPasteCleanBox : "Xóa nội dung", - -// Color Picker -ColorAutomatic : "Tự động", -ColorMoreColors : "Màu khác...", - -// Document Properties -DocProps : "Thuộc tính Tài liệu", - -// Anchor Dialog -DlgAnchorTitle : "Thuộc tính Neo", -DlgAnchorName : "Tên của Neo", -DlgAnchorErrorName : "Hãy đưa vào tên của Neo", - -// Speller Pages Dialog -DlgSpellNotInDic : "Không có trong từ điển", -DlgSpellChangeTo : "Chuyển thành", -DlgSpellBtnIgnore : "Bỏ qua", -DlgSpellBtnIgnoreAll : "Bỏ qua Tất cả", -DlgSpellBtnReplace : "Thay thế", -DlgSpellBtnReplaceAll : "Thay thế Tất cả", -DlgSpellBtnUndo : "Phục hồi lại", -DlgSpellNoSuggestions : "- Không đưa ra gợi ý về từ -", -DlgSpellProgress : "Đang tiến hành kiểm tra chính tả...", -DlgSpellNoMispell : "Hoàn tất kiểm tra chính tả: Không có lỗi chính tả", -DlgSpellNoChanges : "Hoàn tất kiểm tra chính tả: Không có từ nào được thay đổi", -DlgSpellOneChange : "Hoàn tất kiểm tra chính tả: Một từ đã được thay đổi", -DlgSpellManyChanges : "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ờ?", - -// Button Dialog -DlgButtonText : "Chuỗi hiển thị (Giá trị)", -DlgButtonType : "Kiểu", -DlgButtonTypeBtn : "Nút Bấm", -DlgButtonTypeSbm : "Nút Gửi", -DlgButtonTypeRst : "Nút Nhập lại", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "Tên", -DlgCheckboxValue : "Giá trị", -DlgCheckboxSelected : "Được chọn", - -// Form Dialog -DlgFormName : "Tên", -DlgFormAction : "Hành động", -DlgFormMethod : "Phương thức", - -// Select Field Dialog -DlgSelectName : "Tên", -DlgSelectValue : "Giá trị", -DlgSelectSize : "Kích cỡ", -DlgSelectLines : "dòng", -DlgSelectChkMulti : "Cho phép chọn nhiều", -DlgSelectOpAvail : "Các tùy chọn có thể sử dụng", -DlgSelectOpText : "Văn bản", -DlgSelectOpValue : "Giá trị", -DlgSelectBtnAdd : "Thêm", -DlgSelectBtnModify : "Thay đổi", -DlgSelectBtnUp : "Lên", -DlgSelectBtnDown : "Xuống", -DlgSelectBtnSetValue : "Giá trị được chọn", -DlgSelectBtnDelete : "Xoá", - -// Textarea Dialog -DlgTextareaName : "Tên", -DlgTextareaCols : "Cột", -DlgTextareaRows : "Hàng", - -// Text Field Dialog -DlgTextName : "Tên", -DlgTextValue : "Giá trị", -DlgTextCharWidth : "Rộng", -DlgTextMaxChars : "Số Ký tự tối đa", -DlgTextType : "Kiểu", -DlgTextTypeText : "Ký tự", -DlgTextTypePass : "Mật khẩu", - -// Hidden Field Dialog -DlgHiddenName : "Tên", -DlgHiddenValue : "Giá trị", - -// Bulleted List Dialog -BulletedListProp : "Thuộc tính Danh sách không thứ tự", -NumberedListProp : "Thuộc tính Danh sách có thứ tự", -DlgLstStart : "Bắt đầu", -DlgLstType : "Kiểu", -DlgLstTypeCircle : "Hình tròn", -DlgLstTypeDisc : "Hình đĩa", -DlgLstTypeSquare : "Hình vuông", -DlgLstTypeNumbers : "Số thứ tự (1, 2, 3)", -DlgLstTypeLCase : "Chữ cái thường (a, b, c)", -DlgLstTypeUCase : "Chữ cái hoa (A, B, C)", -DlgLstTypeSRoman : "Số La Mã thường (i, ii, iii)", -DlgLstTypeLRoman : "Số La Mã hoa (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "Toàn thể", -DlgDocBackTab : "Nền", -DlgDocColorsTab : "Màu sắc và Đường biên", -DlgDocMetaTab : "Siêu dữ liệu", - -DlgDocPageTitle : "Tiêu đề Trang", -DlgDocLangDir : "Đường dẫn Ngôn ngữ", -DlgDocLangDirLTR : "Trái sang Phải (LTR)", -DlgDocLangDirRTL : "Phải sang Trái (RTL)", -DlgDocLangCode : "Mã Ngôn ngữ", -DlgDocCharSet : "Bảng mã ký tự", -DlgDocCharSetCE : "Trung Âu", -DlgDocCharSetCT : "Tiếng Trung Quốc (Big5)", -DlgDocCharSetCR : "Tiếng Kirin", -DlgDocCharSetGR : "Tiếng Hy Lạp", -DlgDocCharSetJP : "Tiếng Nhật", -DlgDocCharSetKR : "Tiếng Hàn", -DlgDocCharSetTR : "Tiếng Thổ Nhĩ Kỳ", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "Tây Âu", -DlgDocCharSetOther : "Bảng mã ký tự khác", - -DlgDocDocType : "Kiểu Đề mục Tài liệu", -DlgDocDocTypeOther : "Kiểu Đề mục Tài liệu khác", -DlgDocIncXHTML : "Bao gồm cả định nghĩa XHTML", -DlgDocBgColor : "Màu nền", -DlgDocBgImage : "URL của Hình ảnh nền", -DlgDocBgNoScroll : "Không cuộn nền", -DlgDocCText : "Văn bản", -DlgDocCLink : "Liên kết", -DlgDocCVisited : "Liên kết Đã ghé thăm", -DlgDocCActive : "Liên kết Hiện hành", -DlgDocMargins : "Đường biên của Trang", -DlgDocMaTop : "Trên", -DlgDocMaLeft : "Trái", -DlgDocMaRight : "Phải", -DlgDocMaBottom : "Dưới", -DlgDocMeIndex : "Các từ khóa chỉ mục tài liệu (phân cách bởi dấu phẩy)", -DlgDocMeDescr : "Mô tả tài liệu", -DlgDocMeAuthor : "Tác giả", -DlgDocMeCopy : "Bản quyền", -DlgDocPreview : "Xem trước", - -// Templates Dialog -Templates : "Mẫu dựng sẵn", -DlgTemplatesTitle : "Nội dung Mẫu dựng sẵn", -DlgTemplatesSelMsg : "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):", -DlgTemplatesLoading : "Đang nạp Danh sách Mẫu dựng sẵn. Vui lòng đợi trong giây lát...", -DlgTemplatesNoTpl : "(Không có Mẫu dựng sẵn nào được định nghĩa)", -DlgTemplatesReplace : "Thay thế nội dung hiện tại", - -// About Dialog -DlgAboutAboutTab : "Giới thiệu", -DlgAboutBrowserInfoTab : "Thông tin trình duyệt", -DlgAboutLicenseTab : "Giấy phép", -DlgAboutVersion : "phiên bản", -DlgAboutInfo : "Để biết thêm thông tin, hãy truy cập" -}; diff --git a/editor/editor/lang/zh-cn.js b/editor/editor/lang/zh-cn.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Chinese Simplified language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "折叠工具栏", -ToolbarExpand : "展开工具栏", - -// Toolbar Items and Context Menu -Save : "保存", -NewPage : "新建", -Preview : "预览", -Cut : "剪切", -Copy : "复制", -Paste : "粘贴", -PasteText : "粘贴为无格式文本", -PasteWord : "从 MS Word 粘贴", -Print : "打印", -SelectAll : "全选", -RemoveFormat : "清除格式", -InsertLinkLbl : "超链接", -InsertLink : "插入/编辑超链接", -RemoveLink : "取消超链接", -Anchor : "插入/编辑锚点链接", -AnchorDelete : "清除锚点链接", -InsertImageLbl : "图象", -InsertImage : "插入/编辑图象", -InsertFlashLbl : "Flash", -InsertFlash : "插入/编辑 Flash", -InsertTableLbl : "表格", -InsertTable : "插入/编辑表格", -InsertLineLbl : "水平线", -InsertLine : "插入水平线", -InsertSpecialCharLbl: "特殊符号", -InsertSpecialChar : "插入特殊符号", -InsertSmileyLbl : "表情符", -InsertSmiley : "插入表情图标", -About : "关于 FCKeditor", -Bold : "加粗", -Italic : "倾斜", -Underline : "下划线", -StrikeThrough : "删除线", -Subscript : "下标", -Superscript : "上标", -LeftJustify : "左对齐", -CenterJustify : "居中对齐", -RightJustify : "右对齐", -BlockJustify : "两端对齐", -DecreaseIndent : "减少缩进量", -IncreaseIndent : "增加缩进量", -Blockquote : "引用文字", -Undo : "撤消", -Redo : "重做", -NumberedListLbl : "编号列表", -NumberedList : "插入/删除编号列表", -BulletedListLbl : "项目列表", -BulletedList : "插入/删除项目列表", -ShowTableBorders : "显示表格边框", -ShowDetails : "显示详细资料", -Style : "样式", -FontFormat : "格式", -Font : "字体", -FontSize : "大小", -TextColor : "文本颜色", -BGColor : "背景颜色", -Source : "源代码", -Find : "查找", -Replace : "替换", -SpellCheck : "拼写检查", -UniversalKeyboard : "软键盘", -PageBreakLbl : "分页符", -PageBreak : "插入分页符", - -Form : "表单", -Checkbox : "复选框", -RadioButton : "单选按钮", -TextField : "单行文本", -Textarea : "多行文本", -HiddenField : "隐藏域", -Button : "按钮", -SelectionField : "列表/菜单", -ImageButton : "图像域", - -FitWindow : "全屏编辑", -ShowBlocks : "显示区块", - -// Context Menu -EditLink : "编辑超链接", -CellCM : "单元格", -RowCM : "行", -ColumnCM : "列", -InsertRowAfter : "下插入行", -InsertRowBefore : "上插入行", -DeleteRows : "删除行", -InsertColumnAfter : "右插入列", -InsertColumnBefore : "左插入列", -DeleteColumns : "删除列", -InsertCellAfter : "右插入单元格", -InsertCellBefore : "左插入单元格", -DeleteCells : "删除单元格", -MergeCells : "合并单元格", -MergeRight : "右合并单元格", -MergeDown : "下合并单元格", -HorizontalSplitCell : "橫拆分单元格", -VerticalSplitCell : "縱拆分单元格", -TableDelete : "删除表格", -CellProperties : "单元格属性", -TableProperties : "表格属性", -ImageProperties : "图象属性", -FlashProperties : "Flash 属性", - -AnchorProp : "锚点链接属性", -ButtonProp : "按钮属性", -CheckboxProp : "复选框属性", -HiddenFieldProp : "隐藏域属性", -RadioButtonProp : "单选按钮属性", -ImageButtonProp : "图像域属性", -TextFieldProp : "单行文本属性", -SelectionFieldProp : "菜单/列表属性", -TextareaProp : "多行文本属性", -FormProp : "表单属性", - -FontFormats : "普通;已编排格式;地址;标题 1;标题 2;标题 3;标题 4;标题 5;标题 6;段落(DIV)", - -// Alerts and Messages -ProcessingXHTML : "正在处理 XHTML,请稍等...", -Done : "完成", -PasteWordConfirm : "您要粘贴的内容好像是来自 MS Word,是否要清除 MS Word 格式后再粘贴?", -NotCompatiblePaste : "该命令需要 Internet Explorer 5.5 或更高版本的支持,是否按常规粘贴进行?", -UnknownToolbarItem : "未知工具栏项目 \"%1\"", -UnknownCommand : "未知命令名称 \"%1\"", -NotImplemented : "命令无法执行", -UnknownToolbarSet : "工具栏设置 \"%1\" 不存在", -NoActiveX : "浏览器安全设置限制了本编辑器的某些功能。您必须启用安全设置中的“运行 ActiveX 控件和插件”,否则将出现某些错误并缺少功能。", -BrowseServerBlocked : "无法打开资源浏览器,请确认是否启用了禁止弹出窗口。", -DialogBlocked : "无法打开对话框窗口,请确认是否启用了禁止弹出窗口或网页对话框(IE)。", - -// Dialogs -DlgBtnOK : "确定", -DlgBtnCancel : "取消", -DlgBtnClose : "关闭", -DlgBtnBrowseServer : "浏览服务器", -DlgAdvancedTag : "高级", -DlgOpOther : "<其它>", -DlgInfoTab : "信息", -DlgAlertUrl : "请插入 URL", - -// General Dialogs Labels -DlgGenNotSet : "<没有设置>", -DlgGenId : "ID", -DlgGenLangDir : "语言方向", -DlgGenLangDirLtr : "从左到右 (LTR)", -DlgGenLangDirRtl : "从右到左 (RTL)", -DlgGenLangCode : "语言代码", -DlgGenAccessKey : "访问键", -DlgGenName : "名称", -DlgGenTabIndex : "Tab 键次序", -DlgGenLongDescr : "详细说明地址", -DlgGenClass : "样式类名称", -DlgGenTitle : "标题", -DlgGenContType : "内容类型", -DlgGenLinkCharset : "字符编码", -DlgGenStyle : "行内样式", - -// Image Dialog -DlgImgTitle : "图象属性", -DlgImgInfoTab : "图象", -DlgImgBtnUpload : "发送到服务器上", -DlgImgURL : "源文件", -DlgImgUpload : "上传", -DlgImgAlt : "替换文本", -DlgImgWidth : "宽度", -DlgImgHeight : "高度", -DlgImgLockRatio : "锁定比例", -DlgBtnResetSize : "恢复尺寸", -DlgImgBorder : "边框大小", -DlgImgHSpace : "水平间距", -DlgImgVSpace : "垂直间距", -DlgImgAlign : "对齐方式", -DlgImgAlignLeft : "左对齐", -DlgImgAlignAbsBottom: "绝对底边", -DlgImgAlignAbsMiddle: "绝对居中", -DlgImgAlignBaseline : "基线", -DlgImgAlignBottom : "底边", -DlgImgAlignMiddle : "居中", -DlgImgAlignRight : "右对齐", -DlgImgAlignTextTop : "文本上方", -DlgImgAlignTop : "顶端", -DlgImgPreview : "预览", -DlgImgAlertUrl : "请输入图象地址", -DlgImgLinkTab : "链接", - -// Flash Dialog -DlgFlashTitle : "Flash 属性", -DlgFlashChkPlay : "自动播放", -DlgFlashChkLoop : "循环", -DlgFlashChkMenu : "启用 Flash 菜单", -DlgFlashScale : "缩放", -DlgFlashScaleAll : "全部显示", -DlgFlashScaleNoBorder : "无边框", -DlgFlashScaleFit : "严格匹配", - -// Link Dialog -DlgLnkWindowTitle : "超链接", -DlgLnkInfoTab : "超链接信息", -DlgLnkTargetTab : "目标", - -DlgLnkType : "超链接类型", -DlgLnkTypeURL : "超链接", -DlgLnkTypeAnchor : "页内锚点链接", -DlgLnkTypeEMail : "电子邮件", -DlgLnkProto : "协议", -DlgLnkProtoOther : "<其它>", -DlgLnkURL : "地址", -DlgLnkAnchorSel : "选择一个锚点", -DlgLnkAnchorByName : "按锚点名称", -DlgLnkAnchorById : "按锚点 ID", -DlgLnkNoAnchors : "(此文档没有可用的锚点)", -DlgLnkEMail : "地址", -DlgLnkEMailSubject : "主题", -DlgLnkEMailBody : "内容", -DlgLnkUpload : "上传", -DlgLnkBtnUpload : "发送到服务器上", - -DlgLnkTarget : "目标", -DlgLnkTargetFrame : "<框架>", -DlgLnkTargetPopup : "<弹出窗口>", -DlgLnkTargetBlank : "新窗口 (_blank)", -DlgLnkTargetParent : "父窗口 (_parent)", -DlgLnkTargetSelf : "本窗口 (_self)", -DlgLnkTargetTop : "整页 (_top)", -DlgLnkTargetFrameName : "目标框架名称", -DlgLnkPopWinName : "弹出窗口名称", -DlgLnkPopWinFeat : "弹出窗口属性", -DlgLnkPopResize : "调整大小", -DlgLnkPopLocation : "地址栏", -DlgLnkPopMenu : "菜单栏", -DlgLnkPopScroll : "滚动条", -DlgLnkPopStatus : "状态栏", -DlgLnkPopToolbar : "工具栏", -DlgLnkPopFullScrn : "全屏 (IE)", -DlgLnkPopDependent : "依附 (NS)", -DlgLnkPopWidth : "宽", -DlgLnkPopHeight : "高", -DlgLnkPopLeft : "左", -DlgLnkPopTop : "右", - -DlnLnkMsgNoUrl : "请输入超链接地址", -DlnLnkMsgNoEMail : "请输入电子邮件地址", -DlnLnkMsgNoAnchor : "请选择一个锚点", -DlnLnkMsgInvPopName : "弹出窗口名称必须以字母开头,并且不能含有空格。", - -// Color Dialog -DlgColorTitle : "选择颜色", -DlgColorBtnClear : "清除", -DlgColorHighlight : "预览", -DlgColorSelected : "选择", - -// Smiley Dialog -DlgSmileyTitle : "插入表情图标", - -// Special Character Dialog -DlgSpecialCharTitle : "选择特殊符号", - -// Table Dialog -DlgTableTitle : "表格属性", -DlgTableRows : "行数", -DlgTableColumns : "列数", -DlgTableBorder : "边框", -DlgTableAlign : "对齐", -DlgTableAlignNotSet : "<没有设置>", -DlgTableAlignLeft : "左对齐", -DlgTableAlignCenter : "居中", -DlgTableAlignRight : "右对齐", -DlgTableWidth : "宽度", -DlgTableWidthPx : "像素", -DlgTableWidthPc : "百分比", -DlgTableHeight : "高度", -DlgTableCellSpace : "间距", -DlgTableCellPad : "边距", -DlgTableCaption : "标题", -DlgTableSummary : "摘要", - -// Table Cell Dialog -DlgCellTitle : "单元格属性", -DlgCellWidth : "宽度", -DlgCellWidthPx : "像素", -DlgCellWidthPc : "百分比", -DlgCellHeight : "高度", -DlgCellWordWrap : "自动换行", -DlgCellWordWrapNotSet : "<没有设置>", -DlgCellWordWrapYes : "是", -DlgCellWordWrapNo : "否", -DlgCellHorAlign : "水平对齐", -DlgCellHorAlignNotSet : "<没有设置>", -DlgCellHorAlignLeft : "左对齐", -DlgCellHorAlignCenter : "居中", -DlgCellHorAlignRight: "右对齐", -DlgCellVerAlign : "垂直对齐", -DlgCellVerAlignNotSet : "<没有设置>", -DlgCellVerAlignTop : "顶端", -DlgCellVerAlignMiddle : "居中", -DlgCellVerAlignBottom : "底部", -DlgCellVerAlignBaseline : "基线", -DlgCellRowSpan : "纵跨行数", -DlgCellCollSpan : "横跨列数", -DlgCellBackColor : "背景颜色", -DlgCellBorderColor : "边框颜色", -DlgCellBtnSelect : "选择...", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "查找和替换", - -// Find Dialog -DlgFindTitle : "查找", -DlgFindFindBtn : "查找", -DlgFindNotFoundMsg : "指定文本没有找到。", - -// Replace Dialog -DlgReplaceTitle : "替换", -DlgReplaceFindLbl : "查找:", -DlgReplaceReplaceLbl : "替换:", -DlgReplaceCaseChk : "区分大小写", -DlgReplaceReplaceBtn : "替换", -DlgReplaceReplAllBtn : "全部替换", -DlgReplaceWordChk : "全字匹配", - -// Paste Operations / Dialog -PasteErrorCut : "您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl+X)来完成。", -PasteErrorCopy : "您的浏览器安全设置不允许编辑器自动执行复制操作,请使用键盘快捷键(Ctrl+C)来完成。", - -PasteAsText : "粘贴为无格式文本", -PasteFromWord : "从 MS Word 粘贴", - -DlgPasteMsg2 : "请使用键盘快捷键(<STRONG>Ctrl+V</STRONG>)把内容粘贴到下面的方框里,再按 <STRONG>确定</STRONG>。", -DlgPasteSec : "因为你的浏览器的安全设置原因,本编辑器不能直接访问你的剪贴板内容,你需要在本窗口重新粘贴一次。", -DlgPasteIgnoreFont : "忽略 Font 标签", -DlgPasteRemoveStyles : "清理 CSS 样式", -DlgPasteCleanBox : "清空上面内容", - -// Color Picker -ColorAutomatic : "自动", -ColorMoreColors : "其它颜色...", - -// Document Properties -DocProps : "页面属性", - -// Anchor Dialog -DlgAnchorTitle : "命名锚点", -DlgAnchorName : "锚点名称", -DlgAnchorErrorName : "请输入锚点名称", - -// Speller Pages Dialog -DlgSpellNotInDic : "没有在字典里", -DlgSpellChangeTo : "更改为", -DlgSpellBtnIgnore : "忽略", -DlgSpellBtnIgnoreAll : "全部忽略", -DlgSpellBtnReplace : "替换", -DlgSpellBtnReplaceAll : "全部替换", -DlgSpellBtnUndo : "撤消", -DlgSpellNoSuggestions : "- 没有建议 -", -DlgSpellProgress : "正在进行拼写检查...", -DlgSpellNoMispell : "拼写检查完成:没有发现拼写错误", -DlgSpellNoChanges : "拼写检查完成:没有更改任何单词", -DlgSpellOneChange : "拼写检查完成:更改了一个单词", -DlgSpellManyChanges : "拼写检查完成:更改了 %1 个单词", - -IeSpellDownload : "拼写检查插件还没安装,你是否想现在就下载?", - -// Button Dialog -DlgButtonText : "标签(值)", -DlgButtonType : "类型", -DlgButtonTypeBtn : "按钮", -DlgButtonTypeSbm : "提交", -DlgButtonTypeRst : "重设", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "名称", -DlgCheckboxValue : "选定值", -DlgCheckboxSelected : "已勾选", - -// Form Dialog -DlgFormName : "名称", -DlgFormAction : "动作", -DlgFormMethod : "方法", - -// Select Field Dialog -DlgSelectName : "名称", -DlgSelectValue : "选定", -DlgSelectSize : "高度", -DlgSelectLines : "行", -DlgSelectChkMulti : "允许多选", -DlgSelectOpAvail : "列表值", -DlgSelectOpText : "标签", -DlgSelectOpValue : "值", -DlgSelectBtnAdd : "新增", -DlgSelectBtnModify : "修改", -DlgSelectBtnUp : "上移", -DlgSelectBtnDown : "下移", -DlgSelectBtnSetValue : "设为初始化时选定", -DlgSelectBtnDelete : "删除", - -// Textarea Dialog -DlgTextareaName : "名称", -DlgTextareaCols : "字符宽度", -DlgTextareaRows : "行数", - -// Text Field Dialog -DlgTextName : "名称", -DlgTextValue : "初始值", -DlgTextCharWidth : "字符宽度", -DlgTextMaxChars : "最多字符数", -DlgTextType : "类型", -DlgTextTypeText : "文本", -DlgTextTypePass : "密码", - -// Hidden Field Dialog -DlgHiddenName : "名称", -DlgHiddenValue : "初始值", - -// Bulleted List Dialog -BulletedListProp : "项目列表属性", -NumberedListProp : "编号列表属性", -DlgLstStart : "开始序号", -DlgLstType : "列表类型", -DlgLstTypeCircle : "圆圈", -DlgLstTypeDisc : "圆点", -DlgLstTypeSquare : "方块", -DlgLstTypeNumbers : "数字 (1, 2, 3)", -DlgLstTypeLCase : "小写字母 (a, b, c)", -DlgLstTypeUCase : "大写字母 (A, B, C)", -DlgLstTypeSRoman : "小写罗马数字 (i, ii, iii)", -DlgLstTypeLRoman : "大写罗马数字 (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "常规", -DlgDocBackTab : "背景", -DlgDocColorsTab : "颜色和边距", -DlgDocMetaTab : "Meta 数据", - -DlgDocPageTitle : "页面标题", -DlgDocLangDir : "语言方向", -DlgDocLangDirLTR : "从左到右 (LTR)", -DlgDocLangDirRTL : "从右到左 (RTL)", -DlgDocLangCode : "语言代码", -DlgDocCharSet : "字符编码", -DlgDocCharSetCE : "中欧", -DlgDocCharSetCT : "繁体中文 (Big5)", -DlgDocCharSetCR : "西里尔文", -DlgDocCharSetGR : "希腊文", -DlgDocCharSetJP : "日文", -DlgDocCharSetKR : "韩文", -DlgDocCharSetTR : "土耳其文", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "西欧", -DlgDocCharSetOther : "其它字符编码", - -DlgDocDocType : "文档类型", -DlgDocDocTypeOther : "其它文档类型", -DlgDocIncXHTML : "包含 XHTML 声明", -DlgDocBgColor : "背景颜色", -DlgDocBgImage : "背景图像", -DlgDocBgNoScroll : "不滚动背景图像", -DlgDocCText : "文本", -DlgDocCLink : "超链接", -DlgDocCVisited : "已访问的超链接", -DlgDocCActive : "活动超链接", -DlgDocMargins : "页面边距", -DlgDocMaTop : "上", -DlgDocMaLeft : "左", -DlgDocMaRight : "右", -DlgDocMaBottom : "下", -DlgDocMeIndex : "页面索引关键字 (用半角逗号[,]分隔)", -DlgDocMeDescr : "页面说明", -DlgDocMeAuthor : "作者", -DlgDocMeCopy : "版权", -DlgDocPreview : "预览", - -// Templates Dialog -Templates : "模板", -DlgTemplatesTitle : "内容模板", -DlgTemplatesSelMsg : "请选择编辑器内容模板<br>(当前内容将会被清除替换):", -DlgTemplatesLoading : "正在加载模板列表,请稍等...", -DlgTemplatesNoTpl : "(没有模板)", -DlgTemplatesReplace : "替换当前内容", - -// About Dialog -DlgAboutAboutTab : "关于", -DlgAboutBrowserInfoTab : "浏览器信息", -DlgAboutLicenseTab : "许可证", -DlgAboutVersion : "版本", -DlgAboutInfo : "要获得更多信息请访问 " -}; diff --git a/editor/editor/lang/zh.js b/editor/editor/lang/zh.js @@ -1,516 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Chinese Traditional language file. - */ - -var FCKLang = -{ -// Language direction : "ltr" (left to right) or "rtl" (right to left). -Dir : "ltr", - -ToolbarCollapse : "隱藏面板", -ToolbarExpand : "顯示面板", - -// Toolbar Items and Context Menu -Save : "儲存", -NewPage : "開新檔案", -Preview : "預覽", -Cut : "剪下", -Copy : "複製", -Paste : "貼上", -PasteText : "貼為純文字格式", -PasteWord : "自 Word 貼上", -Print : "列印", -SelectAll : "全選", -RemoveFormat : "清除格式", -InsertLinkLbl : "超連結", -InsertLink : "插入/編輯超連結", -RemoveLink : "移除超連結", -Anchor : "插入/編輯錨點", -AnchorDelete : "移除錨點", -InsertImageLbl : "影像", -InsertImage : "插入/編輯影像", -InsertFlashLbl : "Flash", -InsertFlash : "插入/編輯 Flash", -InsertTableLbl : "表格", -InsertTable : "插入/編輯表格", -InsertLineLbl : "水平線", -InsertLine : "插入水平線", -InsertSpecialCharLbl: "特殊符號", -InsertSpecialChar : "插入特殊符號", -InsertSmileyLbl : "表情符號", -InsertSmiley : "插入表情符號", -About : "關於 FCKeditor", -Bold : "粗體", -Italic : "斜體", -Underline : "底線", -StrikeThrough : "刪除線", -Subscript : "下標", -Superscript : "上標", -LeftJustify : "靠左對齊", -CenterJustify : "置中", -RightJustify : "靠右對齊", -BlockJustify : "左右對齊", -DecreaseIndent : "減少縮排", -IncreaseIndent : "增加縮排", -Blockquote : "块引用", -Undo : "復原", -Redo : "重複", -NumberedListLbl : "編號清單", -NumberedList : "插入/移除編號清單", -BulletedListLbl : "項目清單", -BulletedList : "插入/移除項目清單", -ShowTableBorders : "顯示表格邊框", -ShowDetails : "顯示詳細資料", -Style : "樣式", -FontFormat : "格式", -Font : "字體", -FontSize : "大小", -TextColor : "文字顏色", -BGColor : "背景顏色", -Source : "原始碼", -Find : "尋找", -Replace : "取代", -SpellCheck : "拼字檢查", -UniversalKeyboard : "萬國鍵盤", -PageBreakLbl : "分頁符號", -PageBreak : "插入分頁符號", - -Form : "表單", -Checkbox : "核取方塊", -RadioButton : "選項按鈕", -TextField : "文字方塊", -Textarea : "文字區域", -HiddenField : "隱藏欄位", -Button : "按鈕", -SelectionField : "清單/選單", -ImageButton : "影像按鈕", - -FitWindow : "編輯器最大化", -ShowBlocks : "顯示區塊", - -// Context Menu -EditLink : "編輯超連結", -CellCM : "儲存格", -RowCM : "列", -ColumnCM : "欄", -InsertRowAfter : "向下插入列", -InsertRowBefore : "向上插入列", -DeleteRows : "刪除列", -InsertColumnAfter : "向右插入欄", -InsertColumnBefore : "向左插入欄", -DeleteColumns : "刪除欄", -InsertCellAfter : "向右插入儲存格", -InsertCellBefore : "向左插入儲存格", -DeleteCells : "刪除儲存格", -MergeCells : "合併儲存格", -MergeRight : "向右合併儲存格", -MergeDown : "向下合併儲存格", -HorizontalSplitCell : "橫向分割儲存格", -VerticalSplitCell : "縱向分割儲存格", -TableDelete : "刪除表格", -CellProperties : "儲存格屬性", -TableProperties : "表格屬性", -ImageProperties : "影像屬性", -FlashProperties : "Flash 屬性", - -AnchorProp : "錨點屬性", -ButtonProp : "按鈕屬性", -CheckboxProp : "核取方塊屬性", -HiddenFieldProp : "隱藏欄位屬性", -RadioButtonProp : "選項按鈕屬性", -ImageButtonProp : "影像按鈕屬性", -TextFieldProp : "文字方塊屬性", -SelectionFieldProp : "清單/選單屬性", -TextareaProp : "文字區域屬性", -FormProp : "表單屬性", - -FontFormats : "一般;已格式化;位址;標題 1;標題 2;標題 3;標題 4;標題 5;標題 6;一般 (DIV)", - -// Alerts and Messages -ProcessingXHTML : "處理 XHTML 中,請稍候…", -Done : "完成", -PasteWordConfirm : "您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?", -NotCompatiblePaste : "此指令僅在 Internet Explorer 5.5 或以上的版本有效。請問您是否同意不清除格式即貼上?", -UnknownToolbarItem : "未知工具列項目 \"%1\"", -UnknownCommand : "未知指令名稱 \"%1\"", -NotImplemented : "尚未安裝此指令", -UnknownToolbarSet : "工具列設定 \"%1\" 不存在", -NoActiveX : "瀏覽器的安全性設定限制了本編輯器的某些功能。您必須啟用安全性設定中的「執行ActiveX控制項與外掛程式」項目,否則本編輯器將會出現錯誤並缺少某些功能", -BrowseServerBlocked : "無法開啟資源瀏覽器,請確定所有快顯視窗封鎖程式是否關閉", -DialogBlocked : "無法開啟對話視窗,請確定所有快顯視窗封鎖程式是否關閉", - -// Dialogs -DlgBtnOK : "確定", -DlgBtnCancel : "取消", -DlgBtnClose : "關閉", -DlgBtnBrowseServer : "瀏覽伺服器端", -DlgAdvancedTag : "進階", -DlgOpOther : "<其他>", -DlgInfoTab : "資訊", -DlgAlertUrl : "請插入 URL", - -// General Dialogs Labels -DlgGenNotSet : "<尚未設定>", -DlgGenId : "ID", -DlgGenLangDir : "語言方向", -DlgGenLangDirLtr : "由左而右 (LTR)", -DlgGenLangDirRtl : "由右而左 (RTL)", -DlgGenLangCode : "語言代碼", -DlgGenAccessKey : "存取鍵", -DlgGenName : "名稱", -DlgGenTabIndex : "定位順序", -DlgGenLongDescr : "詳細 URL", -DlgGenClass : "樣式表類別", -DlgGenTitle : "標題", -DlgGenContType : "內容類型", -DlgGenLinkCharset : "連結資源之編碼", -DlgGenStyle : "樣式", - -// Image Dialog -DlgImgTitle : "影像屬性", -DlgImgInfoTab : "影像資訊", -DlgImgBtnUpload : "上傳至伺服器", -DlgImgURL : "URL", -DlgImgUpload : "上傳", -DlgImgAlt : "替代文字", -DlgImgWidth : "寬度", -DlgImgHeight : "高度", -DlgImgLockRatio : "等比例", -DlgBtnResetSize : "重設為原大小", -DlgImgBorder : "邊框", -DlgImgHSpace : "水平距離", -DlgImgVSpace : "垂直距離", -DlgImgAlign : "對齊", -DlgImgAlignLeft : "靠左對齊", -DlgImgAlignAbsBottom: "絕對下方", -DlgImgAlignAbsMiddle: "絕對中間", -DlgImgAlignBaseline : "基準線", -DlgImgAlignBottom : "靠下對齊", -DlgImgAlignMiddle : "置中對齊", -DlgImgAlignRight : "靠右對齊", -DlgImgAlignTextTop : "文字上方", -DlgImgAlignTop : "靠上對齊", -DlgImgPreview : "預覽", -DlgImgAlertUrl : "請輸入影像 URL", -DlgImgLinkTab : "超連結", - -// Flash Dialog -DlgFlashTitle : "Flash 屬性", -DlgFlashChkPlay : "自動播放", -DlgFlashChkLoop : "重複", -DlgFlashChkMenu : "開啟選單", -DlgFlashScale : "縮放", -DlgFlashScaleAll : "全部顯示", -DlgFlashScaleNoBorder : "無邊框", -DlgFlashScaleFit : "精確符合", - -// Link Dialog -DlgLnkWindowTitle : "超連結", -DlgLnkInfoTab : "超連結資訊", -DlgLnkTargetTab : "目標", - -DlgLnkType : "超連接類型", -DlgLnkTypeURL : "URL", -DlgLnkTypeAnchor : "本頁錨點", -DlgLnkTypeEMail : "電子郵件", -DlgLnkProto : "通訊協定", -DlgLnkProtoOther : "<其他>", -DlgLnkURL : "URL", -DlgLnkAnchorSel : "請選擇錨點", -DlgLnkAnchorByName : "依錨點名稱", -DlgLnkAnchorById : "依元件 ID", -DlgLnkNoAnchors : "(本文件尚無可用之錨點)", -DlgLnkEMail : "電子郵件", -DlgLnkEMailSubject : "郵件主旨", -DlgLnkEMailBody : "郵件內容", -DlgLnkUpload : "上傳", -DlgLnkBtnUpload : "傳送至伺服器", - -DlgLnkTarget : "目標", -DlgLnkTargetFrame : "<框架>", -DlgLnkTargetPopup : "<快顯視窗>", -DlgLnkTargetBlank : "新視窗 (_blank)", -DlgLnkTargetParent : "父視窗 (_parent)", -DlgLnkTargetSelf : "本視窗 (_self)", -DlgLnkTargetTop : "最上層視窗 (_top)", -DlgLnkTargetFrameName : "目標框架名稱", -DlgLnkPopWinName : "快顯視窗名稱", -DlgLnkPopWinFeat : "快顯視窗屬性", -DlgLnkPopResize : "可調整大小", -DlgLnkPopLocation : "網址列", -DlgLnkPopMenu : "選單列", -DlgLnkPopScroll : "捲軸", -DlgLnkPopStatus : "狀態列", -DlgLnkPopToolbar : "工具列", -DlgLnkPopFullScrn : "全螢幕 (IE)", -DlgLnkPopDependent : "從屬 (NS)", -DlgLnkPopWidth : "寬", -DlgLnkPopHeight : "高", -DlgLnkPopLeft : "左", -DlgLnkPopTop : "右", - -DlnLnkMsgNoUrl : "請輸入欲連結的 URL", -DlnLnkMsgNoEMail : "請輸入電子郵件位址", -DlnLnkMsgNoAnchor : "請選擇錨點", -DlnLnkMsgInvPopName : "快顯名稱必須以「英文字母」為開頭,且不得含有空白", - -// Color Dialog -DlgColorTitle : "請選擇顏色", -DlgColorBtnClear : "清除", -DlgColorHighlight : "預覽", -DlgColorSelected : "選擇", - -// Smiley Dialog -DlgSmileyTitle : "插入表情符號", - -// Special Character Dialog -DlgSpecialCharTitle : "請選擇特殊符號", - -// Table Dialog -DlgTableTitle : "表格屬性", -DlgTableRows : "列數", -DlgTableColumns : "欄數", -DlgTableBorder : "邊框", -DlgTableAlign : "對齊", -DlgTableAlignNotSet : "<未設定>", -DlgTableAlignLeft : "靠左對齊", -DlgTableAlignCenter : "置中", -DlgTableAlignRight : "靠右對齊", -DlgTableWidth : "寬度", -DlgTableWidthPx : "像素", -DlgTableWidthPc : "百分比", -DlgTableHeight : "高度", -DlgTableCellSpace : "間距", -DlgTableCellPad : "內距", -DlgTableCaption : "標題", -DlgTableSummary : "摘要", - -// Table Cell Dialog -DlgCellTitle : "儲存格屬性", -DlgCellWidth : "寬度", -DlgCellWidthPx : "像素", -DlgCellWidthPc : "百分比", -DlgCellHeight : "高度", -DlgCellWordWrap : "自動換行", -DlgCellWordWrapNotSet : "<尚未設定>", -DlgCellWordWrapYes : "是", -DlgCellWordWrapNo : "否", -DlgCellHorAlign : "水平對齊", -DlgCellHorAlignNotSet : "<尚未設定>", -DlgCellHorAlignLeft : "靠左對齊", -DlgCellHorAlignCenter : "置中", -DlgCellHorAlignRight: "靠右對齊", -DlgCellVerAlign : "垂直對齊", -DlgCellVerAlignNotSet : "<尚未設定>", -DlgCellVerAlignTop : "靠上對齊", -DlgCellVerAlignMiddle : "置中", -DlgCellVerAlignBottom : "靠下對齊", -DlgCellVerAlignBaseline : "基準線", -DlgCellRowSpan : "合併列數", -DlgCellCollSpan : "合併欄数", -DlgCellBackColor : "背景顏色", -DlgCellBorderColor : "邊框顏色", -DlgCellBtnSelect : "請選擇…", - -// Find and Replace Dialog -DlgFindAndReplaceTitle : "尋找與取代", - -// Find Dialog -DlgFindTitle : "尋找", -DlgFindFindBtn : "尋找", -DlgFindNotFoundMsg : "未找到指定的文字。", - -// Replace Dialog -DlgReplaceTitle : "取代", -DlgReplaceFindLbl : "尋找:", -DlgReplaceReplaceLbl : "取代:", -DlgReplaceCaseChk : "大小寫須相符", -DlgReplaceReplaceBtn : "取代", -DlgReplaceReplAllBtn : "全部取代", -DlgReplaceWordChk : "全字相符", - -// Paste Operations / Dialog -PasteErrorCut : "瀏覽器的安全性設定不允許編輯器自動執行剪下動作。請使用快捷鍵 (Ctrl+X) 剪下。", -PasteErrorCopy : "瀏覽器的安全性設定不允許編輯器自動執行複製動作。請使用快捷鍵 (Ctrl+C) 複製。", - -PasteAsText : "貼為純文字格式", -PasteFromWord : "自 Word 貼上", - -DlgPasteMsg2 : "請使用快捷鍵 (<strong>Ctrl+V</strong>) 貼到下方區域中並按下 <strong>確定</strong>", -DlgPasteSec : "因為瀏覽器的安全性設定,本編輯器無法直接存取您的剪貼簿資料,請您自行在本視窗進行貼上動作。", -DlgPasteIgnoreFont : "移除字型設定", -DlgPasteRemoveStyles : "移除樣式設定", -DlgPasteCleanBox : "清除文字區域", - -// Color Picker -ColorAutomatic : "自動", -ColorMoreColors : "更多顏色…", - -// Document Properties -DocProps : "文件屬性", - -// Anchor Dialog -DlgAnchorTitle : "命名錨點", -DlgAnchorName : "錨點名稱", -DlgAnchorErrorName : "請輸入錨點名稱", - -// Speller Pages Dialog -DlgSpellNotInDic : "不在字典中", -DlgSpellChangeTo : "更改為", -DlgSpellBtnIgnore : "忽略", -DlgSpellBtnIgnoreAll : "全部忽略", -DlgSpellBtnReplace : "取代", -DlgSpellBtnReplaceAll : "全部取代", -DlgSpellBtnUndo : "復原", -DlgSpellNoSuggestions : "- 無建議值 -", -DlgSpellProgress : "進行拼字檢查中…", -DlgSpellNoMispell : "拼字檢查完成:未發現拼字錯誤", -DlgSpellNoChanges : "拼字檢查完成:未更改任何單字", -DlgSpellOneChange : "拼字檢查完成:更改了 1 個單字", -DlgSpellManyChanges : "拼字檢查完成:更改了 %1 個單字", - -IeSpellDownload : "尚未安裝拼字檢查元件。您是否想要現在下載?", - -// Button Dialog -DlgButtonText : "顯示文字 (值)", -DlgButtonType : "類型", -DlgButtonTypeBtn : "按鈕 (Button)", -DlgButtonTypeSbm : "送出 (Submit)", -DlgButtonTypeRst : "重設 (Reset)", - -// Checkbox and Radio Button Dialogs -DlgCheckboxName : "名稱", -DlgCheckboxValue : "選取值", -DlgCheckboxSelected : "已選取", - -// Form Dialog -DlgFormName : "名稱", -DlgFormAction : "動作", -DlgFormMethod : "方法", - -// Select Field Dialog -DlgSelectName : "名稱", -DlgSelectValue : "選取值", -DlgSelectSize : "大小", -DlgSelectLines : "行", -DlgSelectChkMulti : "可多選", -DlgSelectOpAvail : "可用選項", -DlgSelectOpText : "顯示文字", -DlgSelectOpValue : "值", -DlgSelectBtnAdd : "新增", -DlgSelectBtnModify : "修改", -DlgSelectBtnUp : "上移", -DlgSelectBtnDown : "下移", -DlgSelectBtnSetValue : "設為預設值", -DlgSelectBtnDelete : "刪除", - -// Textarea Dialog -DlgTextareaName : "名稱", -DlgTextareaCols : "字元寬度", -DlgTextareaRows : "列數", - -// Text Field Dialog -DlgTextName : "名稱", -DlgTextValue : "值", -DlgTextCharWidth : "字元寬度", -DlgTextMaxChars : "最多字元數", -DlgTextType : "類型", -DlgTextTypeText : "文字", -DlgTextTypePass : "密碼", - -// Hidden Field Dialog -DlgHiddenName : "名稱", -DlgHiddenValue : "值", - -// Bulleted List Dialog -BulletedListProp : "項目清單屬性", -NumberedListProp : "編號清單屬性", -DlgLstStart : "起始編號", -DlgLstType : "清單類型", -DlgLstTypeCircle : "圓圈", -DlgLstTypeDisc : "圓點", -DlgLstTypeSquare : "方塊", -DlgLstTypeNumbers : "數字 (1, 2, 3)", -DlgLstTypeLCase : "小寫字母 (a, b, c)", -DlgLstTypeUCase : "大寫字母 (A, B, C)", -DlgLstTypeSRoman : "小寫羅馬數字 (i, ii, iii)", -DlgLstTypeLRoman : "大寫羅馬數字 (I, II, III)", - -// Document Properties Dialog -DlgDocGeneralTab : "一般", -DlgDocBackTab : "背景", -DlgDocColorsTab : "顯色與邊界", -DlgDocMetaTab : "Meta 資料", - -DlgDocPageTitle : "頁面標題", -DlgDocLangDir : "語言方向", -DlgDocLangDirLTR : "由左而右 (LTR)", -DlgDocLangDirRTL : "由右而左 (RTL)", -DlgDocLangCode : "語言代碼", -DlgDocCharSet : "字元編碼", -DlgDocCharSetCE : "中歐語系", -DlgDocCharSetCT : "正體中文 (Big5)", -DlgDocCharSetCR : "斯拉夫文", -DlgDocCharSetGR : "希臘文", -DlgDocCharSetJP : "日文", -DlgDocCharSetKR : "韓文", -DlgDocCharSetTR : "土耳其文", -DlgDocCharSetUN : "Unicode (UTF-8)", -DlgDocCharSetWE : "西歐語系", -DlgDocCharSetOther : "其他字元編碼", - -DlgDocDocType : "文件類型", -DlgDocDocTypeOther : "其他文件類型", -DlgDocIncXHTML : "包含 XHTML 定義", -DlgDocBgColor : "背景顏色", -DlgDocBgImage : "背景影像", -DlgDocBgNoScroll : "浮水印", -DlgDocCText : "文字", -DlgDocCLink : "超連結", -DlgDocCVisited : "已瀏覽過的超連結", -DlgDocCActive : "作用中的超連結", -DlgDocMargins : "頁面邊界", -DlgDocMaTop : "上", -DlgDocMaLeft : "左", -DlgDocMaRight : "右", -DlgDocMaBottom : "下", -DlgDocMeIndex : "文件索引關鍵字 (用半形逗號[,]分隔)", -DlgDocMeDescr : "文件說明", -DlgDocMeAuthor : "作者", -DlgDocMeCopy : "版權所有", -DlgDocPreview : "預覽", - -// Templates Dialog -Templates : "樣版", -DlgTemplatesTitle : "內容樣版", -DlgTemplatesSelMsg : "請選擇欲開啟的樣版<br> (原有的內容將會被清除):", -DlgTemplatesLoading : "讀取樣版清單中,請稍候…", -DlgTemplatesNoTpl : "(無樣版)", -DlgTemplatesReplace : "取代原有內容", - -// About Dialog -DlgAboutAboutTab : "關於", -DlgAboutBrowserInfoTab : "瀏覽器資訊", -DlgAboutLicenseTab : "許可證", -DlgAboutVersion : "版本", -DlgAboutInfo : "想獲得更多資訊請至 " -}; diff --git a/editor/editor/plugins/a11yhelp/dialogs/a11yhelp.js b/editor/editor/plugins/a11yhelp/dialogs/a11yhelp.js @@ -0,0 +1,7 @@ +/* +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(a){var b=a.lang.accessibilityHelp,c=CKEDITOR.tools.getNextNumber(),d={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'};d[CKEDITOR.ALT]='ALT';d[CKEDITOR.SHIFT]='SHIFT';d[CKEDITOR.CTRL]='CTRL';var e=[CKEDITOR.ALT,CKEDITOR.SHIFT,CKEDITOR.CTRL];function f(j){var k,l,m=[];for(var n=0;n<e.length;n++){l=e[n];k=j/e[n];if(k>1&&k<=2){j-=l;m.push(d[l]);}}m.push(d[j]||String.fromCharCode(j));return m.join('+');};var g=/\$\{(.*?)\}/g;function h(j,k){var l=a.config.keystrokes,m,n=l.length;for(var o=0;o<n;o++){m=l[o];if(m[1]==k)break;}return f(m[0]);};function i(){var j='<div class="cke_accessibility_legend" role="document" aria-labelledby="cke_'+c+'_arialbl" tabIndex="-1">%1</div>'+'<span id="cke_'+c+'_arialbl" class="cke_voice_label">'+b.contents+' </span>',k='<h1>%1</h1><dl>%2</dl>',l='<dt>%1</dt><dd>%2</dd>',m=[],n=b.legend,o=n.length;for(var p=0;p<o;p++){var q=n[p],r=[],s=q.items,t=s.length;for(var u=0;u<t;u++){var v=s[u],w;w=l.replace('%1',v.name).replace('%2',v.legend.replace(g,h));r.push(w);}m.push(k.replace('%1',q.name).replace('%2',r.join('')));}return j.replace('%1',m.join(''));};return{title:b.title,minWidth:600,minHeight:400,contents:[{id:'info',label:a.lang.common.generalTab,expand:true,elements:[{type:'html',id:'legends',focus:function(){},html:i()+'<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/editor/editor/plugins/a11yhelp/lang/en.js b/editor/editor/plugins/a11yhelp/lang/en.js @@ -0,0 +1,6 @@ +/* +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/editor/editor/plugins/about/dialogs/about.js b/editor/editor/plugins/about/dialogs/about.js @@ -0,0 +1,6 @@ +/* +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(a){var b=a.lang.about;return{title:CKEDITOR.env.ie?b.dlgTitle:b.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>'+b.moreInfo+'<br>'+'<a href="http://ckeditor.com/license">http://ckeditor.com/license</a>'+'</p>'+'<p>'+b.copy.replace('$1','<a href="http://cksource.com/">CKSource</a> - Frederico Knabben')+'</p>'+'</div>'}]}],buttons:[CKEDITOR.dialog.cancelButton]};}); diff --git a/editor/editor/plugins/about/dialogs/logo_ckeditor.png b/editor/editor/plugins/about/dialogs/logo_ckeditor.png Binary files differ. diff --git a/editor/editor/plugins/autogrow/fckplugin.js b/editor/editor/plugins/autogrow/fckplugin.js @@ -1,92 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Plugin: automatically resizes the editor until a configurable maximun - * height (FCKConfig.AutoGrowMax), based on its contents. - */ - -var FCKAutoGrow_Min = window.frameElement.offsetHeight ; - -function FCKAutoGrow_Check() -{ - var oInnerDoc = FCK.EditorDocument ; - - var iFrameHeight, iInnerHeight ; - - if ( FCKBrowserInfo.IsIE ) - { - iFrameHeight = FCK.EditorWindow.frameElement.offsetHeight ; - iInnerHeight = oInnerDoc.body.scrollHeight ; - } - else - { - iFrameHeight = FCK.EditorWindow.innerHeight ; - iInnerHeight = oInnerDoc.body.offsetHeight ; - } - - var iDiff = iInnerHeight - iFrameHeight ; - - if ( iDiff != 0 ) - { - var iMainFrameSize = window.frameElement.offsetHeight ; - - if ( iDiff > 0 && iMainFrameSize < FCKConfig.AutoGrowMax ) - { - iMainFrameSize += iDiff ; - if ( iMainFrameSize > FCKConfig.AutoGrowMax ) - iMainFrameSize = FCKConfig.AutoGrowMax ; - } - else if ( iDiff < 0 && iMainFrameSize > FCKAutoGrow_Min ) - { - iMainFrameSize += iDiff ; - if ( iMainFrameSize < FCKAutoGrow_Min ) - iMainFrameSize = FCKAutoGrow_Min ; - } - else - return ; - - window.frameElement.height = iMainFrameSize ; - } -} - -FCK.AttachToOnSelectionChange( FCKAutoGrow_Check ) ; - -function FCKAutoGrow_SetListeners() -{ - if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) - return ; - - FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow_Check ) ; - FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow_Check ) ; -} - -if ( FCKBrowserInfo.IsIE ) -{ -// FCKAutoGrow_SetListeners() ; - FCK.Events.AttachEvent( 'OnAfterSetHTML', FCKAutoGrow_SetListeners ) ; -} - -function FCKAutoGrow_CheckEditorStatus( sender, status ) -{ - if ( status == FCK_STATUS_COMPLETE ) - FCKAutoGrow_Check() ; -} - -FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow_CheckEditorStatus ) ;- \ No newline at end of file diff --git a/editor/editor/plugins/bbcode/_sample/sample.config.js b/editor/editor/plugins/bbcode/_sample/sample.config.js @@ -1,26 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Sample custom configuration settings used by the BBCode plugin. It simply - * loads the plugin. All the rest is done by the plugin itself. - */ - -// Add the BBCode plugin. -FCKConfig.Plugins.Add( 'bbcode' ) ; diff --git a/editor/editor/plugins/bbcode/_sample/sample.html b/editor/editor/plugins/bbcode/_sample/sample.html @@ -1,67 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Sample page. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>FCKeditor - BBCode Sample</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="robots" content="noindex, nofollow" /> - <link href="../../../../_samples/sample.css" rel="stylesheet" type="text/css" /> - <script type="text/javascript" src="../../../../fckeditor.js"></script> -</head> -<body> - <h1> - FCKeditor - BBCode Sample</h1> - <p> - This is a sample of custom Data Processor implementation for (very) basic BBCode - syntax. Only <strong>[b]</strong>, <strong>[i]</strong>, <strong>[u]</strong> and - <strong>[url]</strong> may be used. It may be extended, but this is out of this - sample purpose. - </p> - <p> - Note that the input and output of the editor is not HTML, but BBCode - </p> - <hr /> - <form action="../../../../_samples/html/sampleposteddata.asp" method="post" target="_blank"> - <script type="text/javascript"> -<!-- -// Automatically calculates the editor base path based on the _samples directory. -// This is usefull only for these samples. A real application should use something like this: -// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. -var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('editor')) ; - -var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; -oFCKeditor.BasePath = sBasePath ; - -// Set the custom configurations file path (in this way the original file is mantained). -oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + 'editor/plugins/bbcode/_sample/sample.config.js' ; - -oFCKeditor.Value = 'This is some [b]sample text[/b]. You are using [url=http://www.fckeditor.net/]FCKeditor[/url].' ; -oFCKeditor.Create() ; -//--> - </script> - <br /> - <input type="submit" value="Submit" /> - </form> -</body> -</html> diff --git a/editor/editor/plugins/bbcode/fckplugin.js b/editor/editor/plugins/bbcode/fckplugin.js @@ -1,123 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is a sample implementation for a custom Data Processor for basic BBCode. - */ - -FCK.DataProcessor = -{ - /* - * Returns a string representing the HTML format of "data". The returned - * value will be loaded in the editor. - * The HTML must be from <html> to </html>, eventually including - * the DOCTYPE. - * @param {String} data The data to be converted in the - * DataProcessor specific format. - */ - ConvertToHtml : function( data ) - { - // Convert < and > to their HTML entities. - data = data.replace( /</g, '&lt;' ) ; - data = data.replace( />/g, '&gt;' ) ; - - // Convert line breaks to <br>. - data = data.replace( /(?:\r\n|\n|\r)/g, '<br>' ) ; - - // [url] - data = data.replace( /\[url\](.+?)\[\/url]/gi, '<a href="$1">$1</a>' ) ; - data = data.replace( /\[url\=([^\]]+)](.+?)\[\/url]/gi, '<a href="$1">$2</a>' ) ; - - // [b] - data = data.replace( /\[b\](.+?)\[\/b]/gi, '<b>$1</b>' ) ; - - // [i] - data = data.replace( /\[i\](.+?)\[\/i]/gi, '<i>$1</i>' ) ; - - // [u] - data = data.replace( /\[u\](.+?)\[\/u]/gi, '<u>$1</u>' ) ; - - return '<html><head><title></title></head><body>' + data + '</body></html>' ; - }, - - /* - * Converts a DOM (sub-)tree to a string in the data format. - * @param {Object} rootNode The node that contains the DOM tree to be - * converted to the data format. - * @param {Boolean} excludeRoot Indicates that the root node must not - * be included in the conversion, only its children. - * @param {Boolean} format Indicates that the data must be formatted - * for human reading. Not all Data Processors may provide it. - */ - ConvertToDataFormat : function( rootNode, excludeRoot, ignoreIfEmptyParagraph, format ) - { - var data = rootNode.innerHTML ; - - // Convert <br> to line breaks. - data = data.replace( /<br(?=[ \/>]).*?>/gi, '\r\n') ; - - // [url] - data = data.replace( /<a .*?href=(["'])(.+?)\1.*?>(.+?)<\/a>/gi, '[url=$2]$3[/url]') ; - - // [b] - data = data.replace( /<(?:b|strong)>/gi, '[b]') ; - data = data.replace( /<\/(?:b|strong)>/gi, '[/b]') ; - - // [i] - data = data.replace( /<(?:i|em)>/gi, '[i]') ; - data = data.replace( /<\/(?:i|em)>/gi, '[/i]') ; - - // [u] - data = data.replace( /<u>/gi, '[u]') ; - data = data.replace( /<\/u>/gi, '[/u]') ; - - // Remove remaining tags. - data = data.replace( /<[^>]+>/g, '') ; - - return data ; - }, - - /* - * Makes any necessary changes to a piece of HTML for insertion in the - * editor selection position. - * @param {String} html The HTML to be fixed. - */ - FixHtml : function( html ) - { - return html ; - } -} ; - -// This Data Processor doesn't support <p>, so let's use <br>. -FCKConfig.EnterMode = 'br' ; - -// To avoid pasting invalid markup (which is discarded in any case), let's -// force pasting to plain text. -FCKConfig.ForcePasteAsPlainText = true ; - -// Rename the "Source" buttom to "BBCode". -FCKToolbarItems.RegisterItem( 'Source', new FCKToolbarButton( 'Source', 'BBCode', null, FCK_TOOLBARITEM_ICONTEXT, true, true, 1 ) ) ; - -// Let's enforce the toolbar to the limits of this Data Processor. A custom -// toolbar set may be defined in the configuration file with more or less entries. -FCKConfig.ToolbarSets["Default"] = [ - ['Source'], - ['Bold','Italic','Underline','-','Link'], - ['About'] -] ;- \ No newline at end of file diff --git a/editor/editor/plugins/clipboard/dialogs/paste.js b/editor/editor/plugins/clipboard/dialogs/paste.js @@ -0,0 +1,7 @@ +/* +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(a){var b=a.lang.clipboard,c=CKEDITOR.env.isCustomDomain();function d(e){var f=new CKEDITOR.dom.document(e.document),g=f.$;f.getById('cke_actscrpt').remove();CKEDITOR.env.ie?g.body.contentEditable='true':g.designMode='on';CKEDITOR.env.ie&&f.getWindow().on('blur',function(){g.body.contentEditable='false';});f.on('keydown',function(h){var i=h.data,j=i.getKeystroke(),k;switch(j){case 27:this.hide();k=1;break;case 9:case CKEDITOR.SHIFT+9:this.changeFocus(true);k=1;}k&&i.preventDefault();},this);a.fire('ariaWidget',new CKEDITOR.dom.element(e.frameElement));};return{title:b.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?370:350,minHeight:CKEDITOR.env.quirks?250:245,onShow:function(){this.parts.dialog.$.offsetHeight;var e='<!doctype html><html><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(d,this)+', this );'+'</script></body></html>',f=CKEDITOR.dom.element.createFromHtml('<iframe frameborder="0" allowTransparency="true"'+(c?" src=\"javascript:void((function(){document.open();document.domain='"+document.domain+"';"+'document.close();'+'})())"':'')+' role="region"'+' aria-label="'+b.pasteArea+'"'+' aria-describedby="'+this.getContentElement('general','pasteMsg').domId+'"'+' aria-multiple="true"'+'></iframe>');f.on('load',function(i){i.removeListener();var j=f.getFrameDocument().$;j.open();if(c)j.domain=document.domain;j.write(e);j.close();},this);f.setStyles({width:'346px',height:'130px','background-color':'white',border:'1px solid black'});f.setCustomData('dialog',this);var g=this.getContentElement('general','editing_area'),h=g.getElement();h.setHtml('');h.append(f);g.getInputElement=function(){return f;};if(CKEDITOR.env.ie){h.setStyle('display','block');h.setStyle('height',f.$.offsetHeight+2+'px');}},onHide:function(){if(CKEDITOR.env.ie)this.getParentEditor().document.getBody().$.contentEditable='true';},onLoad:function(){if((CKEDITOR.env.ie7Compat||CKEDITOR.env.ie6Compat)&&a.lang.dir=='rtl')this.parts.contents.setStyle('overflow','hidden');},onOk:function(){var e=this.getContentElement('general','editing_area').getElement(),f=e.getElementsByTag('iframe').getItem(0),g=this.getParentEditor(),h=f.$.contentWindow.document.body.innerHTML;setTimeout(function(){g.fire('paste',{html:h});},0);},contents:[{id:'general',label:a.lang.common.generalTab,elements:[{type:'html',id:'securityMsg',html:'<div style="white-space:normal;width:340px;">'+b.securityMsg+'</div>'},{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+b.pasteMsg+'</div>'},{type:'html',id:'editing_area',style:'width: 100%; height: 100%;',html:'',focus:function(){var e=this.getInputElement().$.contentWindow,f=e&&e.document.body; +setTimeout(function(){CKEDITOR.env.ie&&f&&(f.contentEditable='true');e.focus();},500);}}]}]};}); diff --git a/editor/editor/plugins/colordialog/dialogs/colordialog.js b/editor/editor/plugins/colordialog/dialogs/colordialog.js @@ -0,0 +1,6 @@ +/* +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(a){var b=CKEDITOR.dom.element,c=CKEDITOR.document,d=CKEDITOR.tools,e=a.lang.colordialog,f;function g(){return{type:'html',html:'&nbsp;'};};var h=new b('table');k();var i=function(n){var o=new b(n.data.getTarget()).getAttribute('title');c.getById('hicolor').setStyle('background-color',o);c.getById('hicolortext').setHtml(o);},j=function(n){var o=new b(n.data.getTarget()).getAttribute('title');f.getContentElement('picker','selectedColor').setValue(o);};function k(){var n=['00','33','66','99','cc','ff'];function o(t,u){for(var v=t;v<t+3;v++){var w=h.$.insertRow(-1);for(var x=u;x<u+3;x++)for(var y=0;y<6;y++)p(w,'#'+n[x]+n[y]+n[v]);}};function p(t,u){var v=new b(t.insertCell(-1));v.setAttribute('class','ColorCell');v.setStyle('background-color',u);v.setStyle('width','15px');v.setStyle('height','15px');v.setAttribute('title',u);};o(0,0);o(3,0);o(0,3);o(3,3);var q=h.$.insertRow(-1);for(var r=0;r<6;r++)p(q,'#'+n[r]+n[r]+n[r]);for(var s=0;s<12;s++)p(q,'#000000');};function l(){c.getById('selhicolor').removeStyle('background-color');f.getContentElement('picker','selectedColor').setValue('');};var m=d.addFunction(function(){c.getById('hicolor').removeStyle('background-color');c.getById('hicolortext').setHtml('&nbsp;');});return{title:e.title,minWidth:360,minHeight:220,onLoad:function(){f=this;},contents:[{id:'picker',label:e.title,accessKey:'I',elements:[{type:'hbox',padding:0,widths:['70%','10%','30%'],children:[{type:'html',html:'<table onmouseout="CKEDITOR.tools.callFunction( '+m+' );">'+h.getHtml()+'</table>',onLoad:function(){var n=CKEDITOR.document.getById(this.domId);n.on('mouseover',i);n.on('click',j);}},g(),{type:'vbox',padding:0,widths:['70%','5%','25%'],children:[{type:'html',html:'<span>'+e.highlight+'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="hicolor" style="border: 1px solid; height: 74px; width: 74px;"></div>\t\t\t\t\t\t\t\t\t\t\t\t<div id="hicolortext">&nbsp;</div>\t\t\t\t\t\t\t\t\t\t\t\t<span>'+e.selected+'</span>\t\t\t\t\t\t\t\t\t\t\t\t<div id="selhicolor" style="border: 1px solid; height: 20px; width: 74px;"></div>'},{type:'text',id:'selectedColor',style:'width: 74px',onChange:function(){try{c.getById('selhicolor').setStyle('background-color',this.getValue());}catch(n){l();}}},g(),{type:'button',id:'clear',style:'margin-top: 5px',label:e.clear,onClick:l}]}]}]}]};}); diff --git a/editor/editor/plugins/dialog/dialogDefinition.js b/editor/editor/plugins/dialog/dialogDefinition.js @@ -0,0 +1,4 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ diff --git a/editor/editor/plugins/div/dialogs/div.js b/editor/editor/plugins/div/dialogs/div.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){function a(d,e,f){if(!e.is||!e.getCustomData('block_processed')){e.is&&CKEDITOR.dom.element.setMarker(f,e,'block_processed',true);d.push(e);}};function b(d){var e=[],f=d.getChildren();for(var g=0;g<f.count();g++){var h=f.getItem(g);if(!(h.type===CKEDITOR.NODE_TEXT&&/^[ \t\n\r]+$/.test(h.getText())))e.push(h);}return e;};function c(d,e){var f=(function(){var p=CKEDITOR.tools.extend({},CKEDITOR.dtd.$blockLimit);delete p.div;if(d.config.div_wrapTable){delete p.td;delete p.th;}return p;})(),g=CKEDITOR.dtd.div;function h(p){var q=new CKEDITOR.dom.elementPath(p).elements,r;for(var s=0;s<q.length;s++){if(q[s].getName() in f){r=q[s];break;}}return r;};function i(){this.foreach(function(p){if(/^(?!vbox|hbox)/.test(p.type)){if(!p.setup)p.setup=function(q){p.setValue(q.getAttribute(p.id)||'');};if(!p.commit)p.commit=function(q){var r=this.getValue();if('dir'==p.id&&q.getComputedStyle('direction')==r)return;if(r)q.setAttribute(p.id,r);else q.removeAttribute(p.id);};}});};function j(p){var q=[],r={},s=[],t,u=p.document.getSelection(),v=u.getRanges(),w=u.createBookmarks(),x,y,z=p.config.enterMode==CKEDITOR.ENTER_DIV?'div':'p';for(x=0;x<v.length;x++){y=v[x].createIterator();while(t=y.getNextParagraph()){if(t.getName() in f){var A,B=t.getChildren();for(A=0;A<B.count();A++)a(s,B.getItem(A),r);}else{while(!g[t.getName()]&&t.getName()!='body')t=t.getParent();a(s,t,r);}}}CKEDITOR.dom.element.clearAllMarkers(r);var C=l(s),D,E,F;for(x=0;x<C.length;x++){var G=C[x][0];D=G.getParent();for(A=1;A<C[x].length;A++)D=D.getCommonAncestor(C[x][A]);F=new CKEDITOR.dom.element('div',p.document);for(A=0;A<C[x].length;A++){G=C[x][A];while(!G.getParent().equals(D))G=G.getParent();C[x][A]=G;}var H=null;for(A=0;A<C[x].length;A++){G=C[x][A];if(!(G.getCustomData&&G.getCustomData('block_processed'))){G.is&&CKEDITOR.dom.element.setMarker(r,G,'block_processed',true);if(!A)F.insertBefore(G);F.append(G);}}CKEDITOR.dom.element.clearAllMarkers(r);q.push(F);}u.selectBookmarks(w);return q;};function k(p){var q=new CKEDITOR.dom.elementPath(p.getSelection().getStartElement()),r=q.blockLimit,s=r&&r.getAscendant('div',true);return s;};function l(p){var q=[],r=null,s,t;for(var u=0;u<p.length;u++){t=p[u];var v=h(t);if(!v.equals(r)){r=v;q.push([]);}q[q.length-1].push(t);}return q;};function m(p){var q=this.getDialog(),r=q._element&&q._element.clone()||new CKEDITOR.dom.element('div',d.document);this.commit(r,true);p=[].concat(p);var s=p.length,t;for(var u=0;u<s;u++){t=q.getContentElement.apply(q,p[u].split(':')); +t&&t.setup&&t.setup(r,true);}};var n={},o=[];return{title:d.lang.div.title,minWidth:400,minHeight:165,contents:[{id:'info',label:d.lang.common.generalTab,title:d.lang.common.generalTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'elementStyle',type:'select',style:'width: 100%;',label:d.lang.div.styleSelectLabel,'default':'',items:[[d.lang.common.notSet,'']],onChange:function(){m.call(this,['info:class','advanced:dir','advanced:style']);},setup:function(p){for(var q in n)n[q].checkElementRemovable(p,true)&&this.setValue(q);},commit:function(p){var q;if(q=this.getValue())n[q].applyToObject(p);}},{id:'class',type:'text',label:d.lang.common.cssClass,'default':''}]}]},{id:'advanced',label:d.lang.common.advancedTab,title:d.lang.common.advancedTab,elements:[{type:'vbox',padding:1,children:[{type:'hbox',widths:['50%','50%'],children:[{type:'text',id:'id',label:d.lang.common.id,'default':''},{type:'text',id:'lang',label:d.lang.link.langCode,'default':''}]},{type:'hbox',children:[{type:'text',id:'style',style:'width: 100%;',label:d.lang.common.cssStyle,'default':'',commit:function(p){var q=this.getValue(),r=[q,p.getAttribute('style')].join(';');q&&p.setAttribute('style',r);}}]},{type:'hbox',children:[{type:'text',id:'title',style:'width: 100%;',label:d.lang.common.advisoryTitle,'default':''}]},{type:'select',id:'dir',style:'width: 100%;',label:d.lang.common.langDir,'default':'',items:[[d.lang.common.notSet,''],[d.lang.common.langDirLtr,'ltr'],[d.lang.common.langDirRtl,'rtl']]}]}]}],onLoad:function(){i.call(this);var p=this,q=this.getContentElement('info','elementStyle'),r=d.config.stylesCombo_stylesSet,s=r&&r.split(':')[0];if(s)CKEDITOR.stylesSet.load(s,function(t){var u=t[s],v;if(u)for(var w=0;w<u.length;w++){var x=u[w];if(x.element&&x.element=='div'){v=x.name;n[v]=new CKEDITOR.style(x);q.items.push([v,v]);q.add(v,v);}}q[q.items.length>1?'enable':'disable']();setTimeout(function(){q.setup(p._element);},0);});},onShow:function(){if(e=='editdiv'){var p=k(d);p&&this.setupContent(this._element=p);}},onOk:function(){if(e=='editdiv')o=[this._element];else o=j(d,true);var p=o.length;for(var q=0;q<p;q++){this.commitContent(o[q]);!o[q].getAttribute('style')&&o[q].removeAttribute('style');}this.hide();},onHide:function(){delete this._element;}};};CKEDITOR.dialog.add('creatediv',function(d){return c(d,'creatediv');});CKEDITOR.dialog.add('editdiv',function(d){return c(d,'editdiv');});})(); diff --git a/editor/editor/plugins/dragresizetable/fckplugin.js b/editor/editor/plugins/dragresizetable/fckplugin.js @@ -1,503 +0,0 @@ -var FCKDragTableHandler = -{ - "_DragState" : 0, - "_LeftCell" : null, - "_RightCell" : null, - "_MouseMoveMode" : 0, // 0 - find candidate cells for resizing, 1 - drag to resize - "_ResizeBar" : null, - "_OriginalX" : null, - "_MinimumX" : null, - "_MaximumX" : null, - "_LastX" : null, - "_TableMap" : null, - "_IsInsideNode" : function( w, domNode, pos ) - { - var myCoords = FCKTools.GetWindowPosition( w, domNode ) ; - var xMin = myCoords.x ; - var yMin = myCoords.y ; - var xMax = parseInt( xMin, 10 ) + parseInt( domNode.offsetWidth, 10 ) ; - var yMax = parseInt( yMin, 10 ) + parseInt( domNode.offsetHeight, 10 ) ; - if ( pos.x >= xMin && pos.x <= xMax && pos.y >= yMin && pos.y <= yMax ) - return true; - return false; - }, - "_GetBorderCells" : function( w, tableNode, tableMap, mouse ) - { - // Enumerate all the cells in the table. - var cells = [] ; - for ( var i = 0 ; i < tableNode.rows.length ; i++ ) - { - var r = tableNode.rows[i] ; - for ( var j = 0 ; j < r.cells.length ; j++ ) - cells.push( r.cells[j] ) ; - } - - if ( cells.length < 1 ) - return null ; - - // Get the cells whose right or left border is nearest to the mouse cursor's x coordinate. - var minRxDist = null ; - var lxDist = null ; - var minYDist = null ; - var rbCell = null ; - var lbCell = null ; - for ( var i = 0 ; i < cells.length ; i++ ) - { - var pos = FCKTools.GetWindowPosition( w, cells[i] ) ; - var rightX = pos.x + parseInt( cells[i].clientWidth, 10 ) ; - var rxDist = mouse.x - rightX ; - var yDist = mouse.y - ( pos.y + ( cells[i].clientHeight / 2 ) ) ; - if ( minRxDist == null || - ( Math.abs( rxDist ) <= Math.abs( minRxDist ) && - ( minYDist == null || Math.abs( yDist ) <= Math.abs( minYDist ) ) ) ) - { - minRxDist = rxDist ; - minYDist = yDist ; - rbCell = cells[i] ; - } - } - /* - var rowNode = FCKTools.GetElementAscensor( rbCell, "tr" ) ; - var cellIndex = rbCell.cellIndex + 1 ; - if ( cellIndex >= rowNode.cells.length ) - return null ; - lbCell = rowNode.cells.item( cellIndex ) ; - */ - var rowIdx = rbCell.parentNode.rowIndex ; - var colIdx = FCKTableHandler._GetCellIndexSpan( tableMap, rowIdx, rbCell ) ; - var colSpan = isNaN( rbCell.colSpan ) ? 1 : rbCell.colSpan ; - lbCell = tableMap[rowIdx][colIdx + colSpan] ; - - if ( ! lbCell ) - return null ; - - // Abort if too far from the border. - lxDist = mouse.x - FCKTools.GetWindowPosition( w, lbCell ).x ; - if ( lxDist < 0 && minRxDist < 0 && minRxDist < -2 ) - return null ; - if ( lxDist > 0 && minRxDist > 0 && lxDist > 3 ) - return null ; - - return { "leftCell" : rbCell, "rightCell" : lbCell } ; - }, - "_GetResizeBarPosition" : function() - { - var row = FCKTools.GetElementAscensor( this._RightCell, "tr" ) ; - return FCKTableHandler._GetCellIndexSpan( this._TableMap, row.rowIndex, this._RightCell ) ; - }, - "_ResizeBarMouseDownListener" : function( evt ) - { - if ( ! evt ) - evt = window.event ; - if ( FCKDragTableHandler._LeftCell ) - FCKDragTableHandler._MouseMoveMode = 1 ; - if ( FCKBrowserInfo.IsIE ) - FCKDragTableHandler._ResizeBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 50 ; - else - FCKDragTableHandler._ResizeBar.style.opacity = 0.5 ; - FCKDragTableHandler._OriginalX = evt.clientX ; - - // Calculate maximum and minimum x-coordinate delta. - var borderIndex = FCKDragTableHandler._GetResizeBarPosition() ; - var offset = FCKTools.GetDocumentPosition( window, FCK.EditingArea.IFrame ) ; - var table = FCKTools.GetElementAscensor( FCKDragTableHandler._LeftCell, "table" ); - var minX = null ; - var maxX = null ; - for ( var r = 0 ; r < FCKDragTableHandler._TableMap.length ; r++ ) - { - var leftCell = FCKDragTableHandler._TableMap[r][borderIndex - 1] ; - var rightCell = FCKDragTableHandler._TableMap[r][borderIndex] ; - var leftPosition = FCKTools.GetWindowPosition( FCK.EditorWindow, leftCell ) ; - var rightPosition = FCKTools.GetWindowPosition( FCK.EditorWindow, rightCell ) ; - var leftPadding = FCKDragTableHandler._GetCellPadding( table, leftCell ) ; - var rightPadding = FCKDragTableHandler._GetCellPadding( table, rightCell ) ; - if ( minX == null || leftPosition.x + leftPadding > minX ) - minX = leftPosition.x + leftPadding ; - if ( maxX == null || rightPosition.x + rightCell.clientWidth - rightPadding < maxX ) - maxX = rightPosition.x + rightCell.clientWidth - rightPadding ; - } - - FCKDragTableHandler._MinimumX = minX + offset.x ; - FCKDragTableHandler._MaximumX = maxX + offset.x ; - FCKDragTableHandler._LastX = null ; - }, - "_ResizeBarMouseUpListener" : function( evt ) - { - if ( ! evt ) - evt = window.event ; - FCKDragTableHandler._MouseMoveMode = 0 ; - FCKDragTableHandler._HideResizeBar() ; - - if ( FCKDragTableHandler._LastX == null ) - return ; - - // Calculate the delta value. - var deltaX = FCKDragTableHandler._LastX - FCKDragTableHandler._OriginalX ; - - // Then, build an array of current column width values. - // This algorithm can be very slow if the cells have insane colSpan values. (e.g. colSpan=1000). - var table = FCKTools.GetElementAscensor( FCKDragTableHandler._LeftCell, "table" ) ; - var colArray = [] ; - var tableMap = FCKDragTableHandler._TableMap ; - for ( var i = 0 ; i < tableMap.length ; i++ ) - { - for ( var j = 0 ; j < tableMap[i].length ; j++ ) - { - var cell = tableMap[i][j] ; - var width = FCKDragTableHandler._GetCellWidth( table, cell ) ; - var colSpan = isNaN( cell.colSpan) ? 1 : cell.colSpan ; - if ( colArray.length <= j ) - colArray.push( { width : width / colSpan, colSpan : colSpan } ) ; - else - { - var guessItem = colArray[j] ; - if ( guessItem.colSpan > colSpan ) - { - guessItem.width = width / colSpan ; - guessItem.colSpan = colSpan ; - } - } - } - } - - // Find out the equivalent column index of the two cells selected for resizing. - colIndex = FCKDragTableHandler._GetResizeBarPosition() ; - - // Note that colIndex must be at least 1 here, so it's safe to subtract 1 from it. - colIndex-- ; - - // Modify the widths in the colArray according to the mouse coordinate delta value. - colArray[colIndex].width += deltaX ; - colArray[colIndex + 1].width -= deltaX ; - - // Clear all cell widths, delete all <col> elements from the table. - for ( var r = 0 ; r < table.rows.length ; r++ ) - { - var row = table.rows.item( r ) ; - for ( var c = 0 ; c < row.cells.length ; c++ ) - { - var cell = row.cells.item( c ) ; - cell.width = "" ; - cell.style.width = "" ; - } - } - var colElements = table.getElementsByTagName( "col" ) ; - for ( var i = colElements.length - 1 ; i >= 0 ; i-- ) - colElements[i].parentNode.removeChild( colElements[i] ) ; - - // Set new cell widths. - var processedCells = [] ; - for ( var i = 0 ; i < tableMap.length ; i++ ) - { - for ( var j = 0 ; j < tableMap[i].length ; j++ ) - { - var cell = tableMap[i][j] ; - if ( cell._Processed ) - continue ; - if ( tableMap[i][j-1] != cell ) - cell.width = colArray[j].width ; - else - cell.width = parseInt( cell.width, 10 ) + parseInt( colArray[j].width, 10 ) ; - if ( tableMap[i][j+1] != cell ) - { - processedCells.push( cell ) ; - cell._Processed = true ; - } - } - } - for ( var i = 0 ; i < processedCells.length ; i++ ) - { - if ( FCKBrowserInfo.IsIE ) - processedCells[i].removeAttribute( '_Processed' ) ; - else - delete processedCells[i]._Processed ; - } - - FCKDragTableHandler._LastX = null ; - }, - "_ResizeBarMouseMoveListener" : function( evt ) - { - if ( ! evt ) - evt = window.event ; - if ( FCKDragTableHandler._MouseMoveMode == 0 ) - return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ; - else - return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ; - }, - // Calculate the padding of a table cell. - // It returns the value of paddingLeft + paddingRight of a table cell. - // This function is used, in part, to calculate the width parameter that should be used for setting cell widths. - // The equation in question is clientWidth = paddingLeft + paddingRight + width. - // So that width = clientWidth - paddingLeft - paddingRight. - // The return value of this function must be pixel accurate acorss all supported browsers, so be careful if you need to modify it. - "_GetCellPadding" : function( table, cell ) - { - var attrGuess = parseInt( table.cellPadding, 10 ) * 2 ; - var cssGuess = null ; - if ( typeof( window.getComputedStyle ) == "function" ) - { - var styleObj = window.getComputedStyle( cell, null ) ; - cssGuess = parseInt( styleObj.getPropertyValue( "padding-left" ), 10 ) + - parseInt( styleObj.getPropertyValue( "padding-right" ), 10 ) ; - } - else - cssGuess = parseInt( cell.currentStyle.paddingLeft, 10 ) + parseInt (cell.currentStyle.paddingRight, 10 ) ; - - var cssRuntime = cell.style.padding ; - if ( isFinite( cssRuntime ) ) - cssGuess = parseInt( cssRuntime, 10 ) * 2 ; - else - { - cssRuntime = cell.style.paddingLeft ; - if ( isFinite( cssRuntime ) ) - cssGuess = parseInt( cssRuntime, 10 ) ; - cssRuntime = cell.style.paddingRight ; - if ( isFinite( cssRuntime ) ) - cssGuess += parseInt( cssRuntime, 10 ) ; - } - - attrGuess = parseInt( attrGuess, 10 ) ; - cssGuess = parseInt( cssGuess, 10 ) ; - if ( isNaN( attrGuess ) ) - attrGuess = 0 ; - if ( isNaN( cssGuess ) ) - cssGuess = 0 ; - return Math.max( attrGuess, cssGuess ) ; - }, - // Calculate the real width of the table cell. - // The real width of the table cell is the pixel width that you can set to the width attribute of the table cell and after - // that, the table cell should be of exactly the same width as before. - // The real width of a table cell can be calculated as: - // width = clientWidth - paddingLeft - paddingRight. - "_GetCellWidth" : function( table, cell ) - { - var clientWidth = cell.clientWidth ; - if ( isNaN( clientWidth ) ) - clientWidth = 0 ; - return clientWidth - this._GetCellPadding( table, cell ) ; - }, - "MouseMoveListener" : function( FCK, evt ) - { - if ( FCKDragTableHandler._MouseMoveMode == 0 ) - return FCKDragTableHandler._MouseFindHandler( FCK, evt ) ; - else - return FCKDragTableHandler._MouseDragHandler( FCK, evt ) ; - }, - "_MouseFindHandler" : function( FCK, evt ) - { - if ( FCK.MouseDownFlag ) - return ; - var node = evt.srcElement || evt.target ; - try - { - if ( ! node || node.nodeType != 1 ) - { - this._HideResizeBar() ; - return ; - } - } - catch ( e ) - { - this._HideResizeBar() ; - return ; - } - - // Since this function might be called from the editing area iframe or the outer fckeditor iframe, - // the mouse point coordinates from evt.clientX/Y can have different reference points. - // We need to resolve the mouse pointer position relative to the editing area iframe. - var mouseX = evt.clientX ; - var mouseY = evt.clientY ; - if ( node.ownerDocument == document ) - { - var offset = FCKTools.GetDocumentPosition( window, FCK.EditingArea.IFrame ) ; - mouseX -= offset.x ; - mouseY -= offset.y ; - } - - - if ( this._ResizeBar && this._LeftCell ) - { - var leftPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._LeftCell ) ; - var rightPos = FCKTools.GetWindowPosition( FCK.EditorWindow, this._RightCell ) ; - var rxDist = mouseX - ( leftPos.x + this._LeftCell.clientWidth ) ; - var lxDist = mouseX - rightPos.x ; - var inRangeFlag = false ; - if ( lxDist >= 0 && rxDist <= 0 ) - inRangeFlag = true ; - else if ( rxDist > 0 && lxDist <= 3 ) - inRangeFlag = true ; - else if ( lxDist < 0 && rxDist >= -2 ) - inRangeFlag = true ; - if ( inRangeFlag ) - { - this._ShowResizeBar( FCK.EditorWindow, - FCKTools.GetElementAscensor( this._LeftCell, "table" ), - { "x" : mouseX, "y" : mouseY } ) ; - return ; - } - } - - var tagName = node.tagName.toLowerCase() ; - if ( tagName != "table" && tagName != "td" && tagName != "th" ) - { - if ( this._LeftCell ) - this._LeftCell = this._RightCell = this._TableMap = null ; - this._HideResizeBar() ; - return ; - } - node = FCKTools.GetElementAscensor( node, "table" ) ; - var tableMap = FCKTableHandler._CreateTableMap( node ) ; - var cellTuple = this._GetBorderCells( FCK.EditorWindow, node, tableMap, { "x" : mouseX, "y" : mouseY } ) ; - - if ( cellTuple == null ) - { - if ( this._LeftCell ) - this._LeftCell = this._RightCell = this._TableMap = null ; - this._HideResizeBar() ; - } - else - { - this._LeftCell = cellTuple["leftCell"] ; - this._RightCell = cellTuple["rightCell"] ; - this._TableMap = tableMap ; - this._ShowResizeBar( FCK.EditorWindow, - FCKTools.GetElementAscensor( this._LeftCell, "table" ), - { "x" : mouseX, "y" : mouseY } ) ; - } - }, - "_MouseDragHandler" : function( FCK, evt ) - { - var mouse = { "x" : evt.clientX, "y" : evt.clientY } ; - - // Convert mouse coordinates in reference to the outer iframe. - var node = evt.srcElement || evt.target ; - if ( node.ownerDocument == FCK.EditorDocument ) - { - var offset = FCKTools.GetDocumentPosition( window, FCK.EditingArea.IFrame ) ; - mouse.x += offset.x ; - mouse.y += offset.y ; - } - - // Calculate the mouse position delta and see if we've gone out of range. - if ( mouse.x >= this._MaximumX - 5 ) - mouse.x = this._MaximumX - 5 ; - if ( mouse.x <= this._MinimumX + 5 ) - mouse.x = this._MinimumX + 5 ; - - var docX = mouse.x + FCKTools.GetScrollPosition( window ).X ; - this._ResizeBar.style.left = ( docX - this._ResizeBar.offsetWidth / 2 ) + "px" ; - this._LastX = mouse.x ; - }, - "_ShowResizeBar" : function( w, table, mouse ) - { - if ( this._ResizeBar == null ) - { - this._ResizeBar = document.createElement( "div" ) ; - var paddingBar = this._ResizeBar ; - var paddingStyles = { 'position' : 'absolute', 'cursor' : 'e-resize' } ; - if ( FCKBrowserInfo.IsIE ) - paddingStyles.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=10,enabled=true)" ; - else - paddingStyles.opacity = 0.10 ; - FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ; - document.body.appendChild( paddingBar ) ; - FCKTools.AddEventListener( paddingBar, "mousemove", this._ResizeBarMouseMoveListener ) ; - FCKTools.AddEventListener( paddingBar, "mousedown", this._ResizeBarMouseDownListener ) ; - FCKTools.AddEventListener( document, "mouseup", this._ResizeBarMouseUpListener ) ; - FCKTools.AddEventListener( FCK.EditorDocument, "mouseup", this._ResizeBarMouseUpListener ) ; - - // IE doesn't let the tranparent part of the padding block to receive mouse events unless there's something inside. - // So we need to create a spacer image to fill the block up. - var filler = document.createElement( "img" ) ; - filler.border = 0 ; - filler.src = FCKConfig.BasePath + "images/spacer.gif" ; - filler.style.position = "absolute" ; - paddingBar.appendChild( filler ) ; - - // Disable drag and drop, and selection for the filler image. - var disabledListener = function( evt ) - { - if ( ! evt ) - evt = window.event ; - if ( evt.preventDefault ) - evt.preventDefault() ; - else - evt.returnValue = false ; - } - FCKTools.AddEventListener( filler, "dragstart", disabledListener ) ; - FCKTools.AddEventListener( filler, "selectstart", disabledListener ) ; - } - - var paddingBar = this._ResizeBar ; - var offset = FCKTools.GetDocumentPosition( window, FCK.EditingArea.IFrame ) ; - var tablePos = FCKTools.GetWindowPosition( w, table ) ; - var barHeight = table.offsetHeight ; - var barTop = offset.y + tablePos.y ; - // Do not let the resize bar intrude into the toolbar area. - if ( tablePos.y < 0 ) - { - barHeight += tablePos.y ; - barTop -= tablePos.y ; - } - var bw = parseInt( table.border, 10 ) ; - if ( isNaN( bw ) ) - bw = 0 ; - var cs = parseInt( table.cellSpacing, 10 ) ; - if ( isNaN( cs ) ) - cs = 0 ; - var barWidth = Math.max( bw+100, cs+100 ) ; - var paddingStyles = - { - 'top' : barTop + 'px', - 'height' : barHeight + 'px', - 'width' : barWidth + 'px', - 'left' : ( offset.x + mouse.x + FCKTools.GetScrollPosition( w ).X - barWidth / 2 ) + 'px' - } ; - if ( FCKBrowserInfo.IsIE ) - paddingBar.filters.item("DXImageTransform.Microsoft.Alpha").opacity = 10 ; - else - paddingStyles.opacity = 0.1 ; - - FCKDomTools.SetElementStyles( paddingBar, paddingStyles ) ; - var filler = paddingBar.getElementsByTagName( "img" )[0] ; - - FCKDomTools.SetElementStyles( filler, - { - width : paddingBar.offsetWidth + 'px', - height : barHeight + 'px' - } ) ; - - barWidth = Math.max( bw, cs, 3 ) ; - var visibleBar = null ; - if ( paddingBar.getElementsByTagName( "div" ).length < 1 ) - { - visibleBar = document.createElement( "div" ) ; - paddingBar.appendChild( visibleBar ) ; - } - else - visibleBar = paddingBar.getElementsByTagName( "div" )[0] ; - - FCKDomTools.SetElementStyles( visibleBar, - { - position : 'absolute', - backgroundColor : 'blue', - width : barWidth + 'px', - height : barHeight + 'px', - left : '50px', - top : '0px' - } ) ; - }, - "_HideResizeBar" : function() - { - if ( this._ResizeBar ) - // IE bug: display : none does not hide the resize bar for some reason. - // so set the position to somewhere invisible. - FCKDomTools.SetElementStyles( this._ResizeBar, - { - top : '-100000px', - left : '-100000px' - } ) ; - } -}; - -FCK.Events.AttachEvent( "OnMouseMove", FCKDragTableHandler.MouseMoveListener ) ; diff --git a/editor/editor/plugins/find/dialogs/find.js b/editor/editor/plugins/find/dialogs/find.js @@ -0,0 +1,9 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){function a(h){return h.type==CKEDITOR.NODE_TEXT&&h.getLength()>0;};function b(h){var i=CKEDITOR.dtd;return h.isBlockBoundary(CKEDITOR.tools.extend({},i.$empty,i.$nonEditable));};var c=function(){var h=this;return{textNode:h.textNode,offset:h.offset,character:h.textNode?h.textNode.getText().charAt(h.offset):null,hitMatchBoundary:h._.matchBoundary};},d=['find','replace'],e=[['txtFindFind','txtFindReplace'],['txtFindCaseChk','txtReplaceCaseChk'],['txtFindWordChk','txtReplaceWordChk'],['txtFindCyclic','txtReplaceCyclic']];function f(h){var i,j,k,l;i=h==='find'?1:0;j=1-i;var m,n=e.length;for(m=0;m<n;m++){k=this.getContentElement(d[i],e[m][i]);l=this.getContentElement(d[j],e[m][j]);l.setValue(k.getValue());}};var g=function(h,i){var j=new CKEDITOR.style(h.config.find_highlight),k=function(w,x){var y=new CKEDITOR.dom.walker(w);y[x?'guard':'evaluator']=a;y.breakOnFalse=true;this._={matchWord:x,walker:y,matchBoundary:false};};k.prototype={next:function(){return this.move();},back:function(){return this.move(true);},move:function(w){var y=this;var x=y.textNode;if(x===null)return c.call(y);y._.matchBoundary=false;if(x&&w&&y.offset>0){y.offset--;return c.call(y);}else if(x&&y.offset<x.getLength()-1){y.offset++;return c.call(y);}else{x=null;while(!x){x=y._.walker[w?'previous':'next'].call(y._.walker);if(y._.matchWord&&!x||y._.walker._.end)break;if(!x&&b(y._.walker.current))y._.matchBoundary=true;}y.textNode=x;if(x)y.offset=w?x.getLength()-1:0;else y.offset=0;}return c.call(y);}};var l=function(w,x){this._={walker:w,cursors:[],rangeLength:x,highlightRange:null,isMatched:false};};l.prototype={toDomRange:function(){var w=this._.cursors;if(w.length<1)return null;var x=w[0],y=w[w.length-1],z=new CKEDITOR.dom.range(h.document);z.setStart(x.textNode,x.offset);z.setEnd(y.textNode,y.offset+1);return z;},updateFromDomRange:function(w){var z=this;var x,y=new k(w);z._.cursors=[];do{x=y.next();if(x.character)z._.cursors.push(x);}while(x.character)z._.rangeLength=z._.cursors.length;},setMatched:function(){this._.isMatched=true;},clearMatched:function(){this._.isMatched=false;},isMatched:function(){return this._.isMatched;},highlight:function(){var y=this;if(y._.cursors.length<1)return;if(y._.highlightRange)y.removeHighlight();var w=y.toDomRange();j.applyToRange(w);y._.highlightRange=w;var x=w.startContainer;if(x.type!=CKEDITOR.NODE_ELEMENT)x=x.getParent();x.scrollIntoView();y.updateFromDomRange(w);},removeHighlight:function(){var w=this;if(!w._.highlightRange)return;j.removeFromRange(w._.highlightRange); +w.updateFromDomRange(w._.highlightRange);w._.highlightRange=null;},moveBack:function(){var y=this;var w=y._.walker.back(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.unshift(w);if(x.length>y._.rangeLength)x.pop();return w;},moveNext:function(){var y=this;var w=y._.walker.next(),x=y._.cursors;if(w.hitMatchBoundary)y._.cursors=x=[];x.push(w);if(x.length>y._.rangeLength)x.shift();return w;},getEndCharacter:function(){var w=this._.cursors;if(w.length<1)return null;return w[w.length-1].character;},getNextCharacterRange:function(w){var x,y,z=this._.cursors;if(x=z[z.length-1])y=new k(m(x));else y=this._.walker;return new l(y,w);},getCursors:function(){return this._.cursors;}};function m(w,x){var y=new CKEDITOR.dom.range();y.setStart(w.textNode,x?w.offset:w.offset+1);y.setEndAt(h.document.getBody(),CKEDITOR.POSITION_BEFORE_END);return y;};function n(w){var x=new CKEDITOR.dom.range();x.setStartAt(h.document.getBody(),CKEDITOR.POSITION_AFTER_START);x.setEnd(w.textNode,w.offset);return x;};var o=0,p=1,q=2,r=function(w,x){var y=[-1];if(x)w=w.toLowerCase();for(var z=0;z<w.length;z++){y.push(y[z]+1);while(y[z+1]>0&&w.charAt(z)!=w.charAt(y[z+1]-1))y[z+1]=y[y[z+1]-1]+1;}this._={overlap:y,state:0,ignoreCase:!!x,pattern:w};};r.prototype={feedCharacter:function(w){var x=this;if(x._.ignoreCase)w=w.toLowerCase();for(;;){if(w==x._.pattern.charAt(x._.state)){x._.state++;if(x._.state==x._.pattern.length){x._.state=0;return q;}return p;}else if(!x._.state)return o;else x._.state=x._.overlap[x._.state];}return null;},reset:function(){this._.state=0;}};var s=/[.,"'?!;: \u0085\u00a0\u1680\u280e\u2028\u2029\u202f\u205f\u3000]/,t=function(w){if(!w)return true;var x=w.charCodeAt(0);return x>=9&&x<=13||x>=8192&&x<=8202||s.test(w);},u={searchRange:null,matchRange:null,find:function(w,x,y,z,A,B){var K=this;if(!K.matchRange)K.matchRange=new l(new k(K.searchRange),w.length);else{K.matchRange.removeHighlight();K.matchRange=K.matchRange.getNextCharacterRange(w.length);}var C=new r(w,!x),D=o,E='%';while(E!==null){K.matchRange.moveNext();while(E=K.matchRange.getEndCharacter()){D=C.feedCharacter(E);if(D==q)break;if(K.matchRange.moveNext().hitMatchBoundary)C.reset();}if(D==q){if(y){var F=K.matchRange.getCursors(),G=F[F.length-1],H=F[0],I=new k(n(H),true),J=new k(m(G),true);if(!(t(I.back().character)&&t(J.next().character)))continue;}K.matchRange.setMatched();if(A!==false)K.matchRange.highlight();return true;}}K.matchRange.clearMatched();K.matchRange.removeHighlight();if(z&&!B){K.searchRange=v(true); +K.matchRange=null;return arguments.callee.apply(K,Array.prototype.slice.call(arguments).concat([true]));}return false;},replaceCounter:0,replace:function(w,x,y,z,A,B,C){var H=this;var D=false;if(H.matchRange&&H.matchRange.isMatched()&&!H.matchRange._.isReplaced){H.matchRange.removeHighlight();var E=H.matchRange.toDomRange(),F=h.document.createText(y);if(!C){var G=h.getSelection();G.selectRanges([E]);h.fire('saveSnapshot');}E.deleteContents();E.insertNode(F);if(!C){G.selectRanges([E]);h.fire('saveSnapshot');}H.matchRange.updateFromDomRange(E);if(!C)H.matchRange.highlight();H.matchRange._.isReplaced=true;H.replaceCounter++;D=true;}else D=H.find(x,z,A,B,!C);return D;}};function v(w){var x,y=h.getSelection(),z=h.document.getBody();if(y&&!w){x=y.getRanges()[0].clone();x.collapse(true);}else{x=new CKEDITOR.dom.range();x.setStartAt(z,CKEDITOR.POSITION_AFTER_START);}x.setEndAt(z,CKEDITOR.POSITION_BEFORE_END);return x;};return{title:h.lang.findAndReplace.title,resizable:CKEDITOR.DIALOG_RESIZE_NONE,minWidth:350,minHeight:165,buttons:[CKEDITOR.dialog.cancelButton],contents:[{id:'find',label:h.lang.findAndReplace.find,title:h.lang.findAndReplace.find,accessKey:'',elements:[{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtFindFind',label:h.lang.findAndReplace.findWhat,isChanged:false,labelLayout:'horizontal',accessKey:'F'},{type:'button',align:'left',style:'width:100%',label:h.lang.findAndReplace.find,onClick:function(){var w=this.getDialog();if(!u.find(w.getValueOf('find','txtFindFind'),w.getValueOf('find','txtFindCaseChk'),w.getValueOf('find','txtFindWordChk'),w.getValueOf('find','txtFindCyclic')))alert(h.lang.findAndReplace.notFoundMsg);}}]},{type:'vbox',padding:0,children:[{type:'checkbox',id:'txtFindCaseChk',isChanged:false,style:'margin-top:28px',label:h.lang.findAndReplace.matchCase},{type:'checkbox',id:'txtFindWordChk',isChanged:false,label:h.lang.findAndReplace.matchWord},{type:'checkbox',id:'txtFindCyclic',isChanged:false,'default':true,label:h.lang.findAndReplace.matchCyclic}]}]},{id:'replace',label:h.lang.findAndReplace.replace,accessKey:'M',elements:[{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtFindReplace',label:h.lang.findAndReplace.findWhat,isChanged:false,labelLayout:'horizontal',accessKey:'F'},{type:'button',align:'left',style:'width:100%',label:h.lang.findAndReplace.replace,onClick:function(){var w=this.getDialog();if(!u.replace(w,w.getValueOf('replace','txtFindReplace'),w.getValueOf('replace','txtReplace'),w.getValueOf('replace','txtReplaceCaseChk'),w.getValueOf('replace','txtReplaceWordChk'),w.getValueOf('replace','txtReplaceCyclic')))alert(h.lang.findAndReplace.notFoundMsg); +}}]},{type:'hbox',widths:['230px','90px'],children:[{type:'text',id:'txtReplace',label:h.lang.findAndReplace.replaceWith,isChanged:false,labelLayout:'horizontal',accessKey:'R'},{type:'button',align:'left',style:'width:100%',label:h.lang.findAndReplace.replaceAll,isChanged:false,onClick:function(){var w=this.getDialog(),x;u.replaceCounter=0;u.searchRange=v(true);if(u.matchRange){u.matchRange.removeHighlight();u.matchRange=null;}h.fire('saveSnapshot');while(u.replace(w,w.getValueOf('replace','txtFindReplace'),w.getValueOf('replace','txtReplace'),w.getValueOf('replace','txtReplaceCaseChk'),w.getValueOf('replace','txtReplaceWordChk'),false,true)){}if(u.replaceCounter){alert(h.lang.findAndReplace.replaceSuccessMsg.replace(/%1/,u.replaceCounter));h.fire('saveSnapshot');}else alert(h.lang.findAndReplace.notFoundMsg);}}]},{type:'vbox',padding:0,children:[{type:'checkbox',id:'txtReplaceCaseChk',isChanged:false,label:h.lang.findAndReplace.matchCase},{type:'checkbox',id:'txtReplaceWordChk',isChanged:false,label:h.lang.findAndReplace.matchWord},{type:'checkbox',id:'txtReplaceCyclic',isChanged:false,'default':true,label:h.lang.findAndReplace.matchCyclic}]}]}],onLoad:function(){var w=this,x,y,z=false;this.on('hide',function(){z=false;});this.on('show',function(){z=true;});this.selectPage=CKEDITOR.tools.override(this.selectPage,function(A){return function(B){A.call(w,B);var C=w._.tabs[B],D,E,F;E=B==='find'?'txtFindFind':'txtFindReplace';F=B==='find'?'txtFindWordChk':'txtReplaceWordChk';x=w.getContentElement(B,E);y=w.getContentElement(B,F);if(!C.initialized){D=CKEDITOR.document.getById(x._.inputId);C.initialized=true;}if(z)f.call(this,B);};});},onShow:function(){u.searchRange=v();this.selectPage(i);},onHide:function(){if(u.matchRange&&u.matchRange.isMatched()){u.matchRange.removeHighlight();h.focus();h.getSelection().selectRanges([u.matchRange.toDomRange()]);}delete u.matchRange;},onFocus:function(){if(i=='replace')return this.getContentElement('replace','txtFindReplace');else return this.getContentElement('find','txtFindFind');}};};CKEDITOR.dialog.add('find',function(h){return g(h,'find');});CKEDITOR.dialog.add('replace',function(h){return g(h,'replace');});})(); diff --git a/editor/editor/plugins/flash/dialogs/flash.js b/editor/editor/plugins/flash/dialogs/flash.js @@ -0,0 +1,9 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){var a=1,b=2,c=4,d={id:[{type:a,name:'id'}],classid:[{type:a,name:'classid'}],codebase:[{type:a,name:'codebase'}],pluginspage:[{type:c,name:'pluginspage'}],src:[{type:b,name:'movie'},{type:c,name:'src'}],name:[{type:c,name:'name'}],align:[{type:a,name:'align'}],title:[{type:a,name:'title'},{type:c,name:'title'}],'class':[{type:a,name:'class'},{type:c,name:'class'}],width:[{type:a,name:'width'},{type:c,name:'width'}],height:[{type:a,name:'height'},{type:c,name:'height'}],hSpace:[{type:a,name:'hSpace'},{type:c,name:'hSpace'}],vSpace:[{type:a,name:'vSpace'},{type:c,name:'vSpace'}],style:[{type:a,name:'style'},{type:c,name:'style'}],type:[{type:c,name:'type'}]},e=['play','loop','menu','quality','scale','salign','wmode','bgcolor','base','flashvars','allowScriptAccess','allowFullScreen'];for(var f=0;f<e.length;f++)d[e[f]]=[{type:c,name:e[f]},{type:b,name:e[f]}];e=['allowFullScreen','play','loop','menu'];for(f=0;f<e.length;f++)d[e[f]][0]['default']=d[e[f]][1]['default']=true;function g(i,j,k){var q=this;var l=d[q.id];if(!l)return;var m=q instanceof CKEDITOR.ui.dialog.checkbox;for(var n=0;n<l.length;n++){var o=l[n];switch(o.type){case a:if(!i)continue;if(i.getAttribute(o.name)!==null){var p=i.getAttribute(o.name);if(m)q.setValue(p.toLowerCase()=='true');else q.setValue(p);return;}else if(m)q.setValue(!!o['default']);break;case b:if(!i)continue;if(o.name in k){p=k[o.name];if(m)q.setValue(p.toLowerCase()=='true');else q.setValue(p);return;}else if(m)q.setValue(!!o['default']);break;case c:if(!j)continue;if(j.getAttribute(o.name)){p=j.getAttribute(o.name);if(m)q.setValue(p.toLowerCase()=='true');else q.setValue(p);return;}else if(m)q.setValue(!!o['default']);}}};function h(i,j,k){var s=this;var l=d[s.id];if(!l)return;var m=s.getValue()==='',n=s instanceof CKEDITOR.ui.dialog.checkbox;for(var o=0;o<l.length;o++){var p=l[o];switch(p.type){case a:if(!i)continue;var q=s.getValue();if(m||n&&q===p['default'])i.removeAttribute(p.name);else i.setAttribute(p.name,q);break;case b:if(!i)continue;q=s.getValue();if(m||n&&q===p['default']){if(p.name in k)k[p.name].remove();}else if(p.name in k)k[p.name].setAttribute('value',q);else{var r=CKEDITOR.dom.element.createFromHtml('<cke:param></cke:param>',i.getDocument());r.setAttributes({name:p.name,value:q});if(i.getChildCount()<1)r.appendTo(i);else r.insertBefore(i.getFirst());}break;case c:if(!j)continue;q=s.getValue();if(m||n&&q===p['default'])j.removeAttribute(p.name);else j.setAttribute(p.name,q);}}};CKEDITOR.dialog.add('flash',function(i){var j=!i.config.flashEmbedTagOnly,k=i.config.flashAddEmbedTag||i.config.flashEmbedTagOnly,l,m='<div>'+CKEDITOR.tools.htmlEncode(i.lang.common.preview)+'<br>'+'<div id="FlashPreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>'+'<div id="FlashPreviewBox"></div></div>'; +return{title:i.lang.flash.title,minWidth:420,minHeight:310,onShow:function(){var z=this;z.fakeImage=z.objectNode=z.embedNode=null;l=new CKEDITOR.dom.element('embeded',i.document);var n=z.getSelectedElement();if(n&&n.getAttribute('_cke_real_element_type')&&n.getAttribute('_cke_real_element_type')=='flash'){z.fakeImage=n;var o=i.restoreRealElement(n),p=null,q=null,r={};if(o.getName()=='cke:object'){p=o;var s=p.getElementsByTag('embed','cke');if(s.count()>0)q=s.getItem(0);var t=p.getElementsByTag('param','cke');for(var u=0,v=t.count();u<v;u++){var w=t.getItem(u),x=w.getAttribute('name'),y=w.getAttribute('value');r[x]=y;}}else if(o.getName()=='cke:embed')q=o;z.objectNode=p;z.embedNode=q;z.setupContent(p,q,r,n);}},onOk:function(){var w=this;var n=null,o=null,p=null;if(!w.fakeImage){if(j){n=CKEDITOR.dom.element.createFromHtml('<cke:object></cke:object>',i.document);var q={classid:'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',codebase:'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0'};n.setAttributes(q);}if(k){o=CKEDITOR.dom.element.createFromHtml('<cke:embed></cke:embed>',i.document);o.setAttributes({type:'application/x-shockwave-flash',pluginspage:'http://www.macromedia.com/go/getflashplayer'});if(n)o.appendTo(n);}}else{n=w.objectNode;o=w.embedNode;}if(n){p={};var r=n.getElementsByTag('param','cke');for(var s=0,t=r.count();s<t;s++)p[r.getItem(s).getAttribute('name')]=r.getItem(s);}var u={};w.commitContent(n,o,p,u);var v=i.createFakeElement(n||o,'cke_flash','flash',true);v.setStyles(u);if(w.fakeImage){v.replace(w.fakeImage);i.getSelection().selectElement(v);}else i.insertElement(v);},onHide:function(){if(this.preview)this.preview.setHtml('');},contents:[{id:'info',label:i.lang.common.generalTab,accessKey:'I',elements:[{type:'vbox',padding:0,children:[{type:'hbox',widths:['280px','110px'],align:'right',children:[{id:'src',type:'text',label:i.lang.common.url,required:true,validate:CKEDITOR.dialog.validate.notEmpty(i.lang.flash.validateSrc),setup:g,commit:h,onLoad:function(){var n=this.getDialog(),o=function(p){l.setAttribute('src',p);n.preview.setHtml('<embed height="100%" width="100%" src="'+CKEDITOR.tools.htmlEncode(l.getAttribute('src'))+'" type="application/x-shockwave-flash"></embed>');};n.preview=n.getContentElement('info','preview').getElement().getChild(3);this.on('change',function(p){if(p.data&&p.data.value)o(p.data.value);});this.getInputElement().on('change',function(p){o(this.getValue());},this);}},{type:'button',id:'browse',filebrowser:'info:src',hidden:true,style:'display:inline-block;margin-top:10px;',label:i.lang.common.browseServer}]}]},{type:'hbox',widths:['25%','25%','25%','25%','25%'],children:[{type:'text',id:'width',style:'width:95px',label:i.lang.flash.width,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateWidth),setup:function(n,o,p,q){g.apply(this,arguments); +if(q){var r=parseInt(q.$.style.width,10);if(!isNaN(r))this.setValue(r);}},commit:function(n,o,p,q){h.apply(this,arguments);if(this.getValue())q.width=this.getValue()+'px';}},{type:'text',id:'height',style:'width:95px',label:i.lang.flash.height,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateHeight),setup:function(n,o,p,q){g.apply(this,arguments);if(q){var r=parseInt(q.$.style.height,10);if(!isNaN(r))this.setValue(r);}},commit:function(n,o,p,q){h.apply(this,arguments);if(this.getValue())q.height=this.getValue()+'px';}},{type:'text',id:'hSpace',style:'width:95px',label:i.lang.flash.hSpace,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateHSpace),setup:g,commit:h},{type:'text',id:'vSpace',style:'width:95px',label:i.lang.flash.vSpace,validate:CKEDITOR.dialog.validate.integer(i.lang.flash.validateVSpace),setup:g,commit:h}]},{type:'vbox',children:[{type:'html',id:'preview',style:'width:95%;',html:m}]}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:i.lang.common.upload,elements:[{type:'file',id:'upload',label:i.lang.common.upload,size:38},{type:'fileButton',id:'uploadButton',label:i.lang.common.uploadSubmit,filebrowser:'info:src','for':['Upload','upload']}]},{id:'properties',label:i.lang.flash.propertiesTab,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'scale',type:'select',label:i.lang.flash.scale,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.scaleAll,'showall'],[i.lang.flash.scaleNoBorder,'noborder'],[i.lang.flash.scaleFit,'exactfit']],setup:g,commit:h},{id:'allowScriptAccess',type:'select',label:i.lang.flash.access,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.accessAlways,'always'],[i.lang.flash.accessSameDomain,'samedomain'],[i.lang.flash.accessNever,'never']],setup:g,commit:h}]},{type:'hbox',widths:['50%','50%'],children:[{id:'wmode',type:'select',label:i.lang.flash.windowMode,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.windowModeWindow,'window'],[i.lang.flash.windowModeOpaque,'opaque'],[i.lang.flash.windowModeTransparent,'transparent']],setup:g,commit:h},{id:'quality',type:'select',label:i.lang.flash.quality,'default':'high',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.qualityBest,'best'],[i.lang.flash.qualityHigh,'high'],[i.lang.flash.qualityAutoHigh,'autohigh'],[i.lang.flash.qualityMedium,'medium'],[i.lang.flash.qualityAutoLow,'autolow'],[i.lang.flash.qualityLow,'low']],setup:g,commit:h}]},{type:'hbox',widths:['50%','50%'],children:[{id:'align',type:'select',label:i.lang.flash.align,'default':'',style:'width : 100%;',items:[[i.lang.common.notSet,''],[i.lang.flash.alignLeft,'left'],[i.lang.flash.alignAbsBottom,'absBottom'],[i.lang.flash.alignAbsMiddle,'absMiddle'],[i.lang.flash.alignBaseline,'baseline'],[i.lang.flash.alignBottom,'bottom'],[i.lang.flash.alignMiddle,'middle'],[i.lang.flash.alignRight,'right'],[i.lang.flash.alignTextTop,'textTop'],[i.lang.flash.alignTop,'top']],setup:g,commit:h},{type:'html',html:'<div></div>'}]},{type:'fieldset',label:CKEDITOR.tools.htmlEncode(i.lang.flash.flashvars),children:[{type:'vbox',padding:0,children:[{type:'checkbox',id:'menu',label:i.lang.flash.chkMenu,'default':true,setup:g,commit:h},{type:'checkbox',id:'play',label:i.lang.flash.chkPlay,'default':true,setup:g,commit:h},{type:'checkbox',id:'loop',label:i.lang.flash.chkLoop,'default':true,setup:g,commit:h},{type:'checkbox',id:'allowFullScreen',label:i.lang.flash.chkFull,'default':true,setup:g,commit:h}]}]}]},{id:'advanced',label:i.lang.common.advancedTab,elements:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',id:'id',label:i.lang.common.id,setup:g,commit:h},{type:'text',id:'title',label:i.lang.common.advisoryTitle,setup:g,commit:h}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',id:'bgcolor',label:i.lang.flash.bgcolor,setup:g,commit:h},{type:'text',id:'class',label:i.lang.common.cssClass,setup:g,commit:h}]},{type:'text',id:'style',label:i.lang.common.cssStyle,setup:g,commit:h}]}]}; +});})(); diff --git a/editor/editor/plugins/flash/images/placeholder.png b/editor/editor/plugins/flash/images/placeholder.png Binary files differ. diff --git a/editor/editor/plugins/forms/dialogs/button.js b/editor/editor/plugins/forms/dialogs/button.js @@ -0,0 +1,6 @@ +/* +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(a){return{title:a.lang.button.title,minWidth:350,minHeight:150,onShow:function(){var d=this;delete d.button;var b=d.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'){var c=b.getAttribute('type');if(c=='button'||c=='reset'||c=='submit'){d.button=b;d.setupContent(b);}}},onOk:function(){var b,c=this.button,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.button.title,title:a.lang.button.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.common.name,'default':'',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.button.text,accessKey:'V','default':'',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('value',this.getValue());else c.removeAttribute('value');}},{id:'type',type:'select',label:a.lang.button.type,'default':'button',accessKey:'T',items:[[a.lang.button.typeBtn,'button'],[a.lang.button.typeSbm,'submit'],[a.lang.button.typeRst,'reset']],setup:function(b){this.setValue(b.getAttribute('type')||'');},commit:function(b){var c=b.element;if(CKEDITOR.env.ie){var d=c.getAttribute('type'),e=this.getValue();if(e!=d){var f=CKEDITOR.dom.element.createFromHtml('<input type="'+e+'"></input>',a.document);c.copyAttributes(f,{type:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}else c.setAttribute('type',this.getValue());}}]}]};}); diff --git a/editor/editor/plugins/forms/dialogs/checkbox.js b/editor/editor/plugins/forms/dialogs/checkbox.js @@ -0,0 +1,6 @@ +/* +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(a){return{title:a.lang.checkboxAndRadio.checkboxTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.checkbox;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getAttribute('type')=='checkbox'){c.checkbox=b;c.setupContent(b);}},onOk:function(){var b,c=this.checkbox,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','checkbox');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.checkboxTitle,title:a.lang.checkboxAndRadio.checkboxTitle,startupFocus:'txtName',elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'txtValue',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){var c=b.getAttribute('value');this.setValue(CKEDITOR.env.ie&&c=='on'?'':c);},commit:function(b){var c=b.element,d=this.getValue();if(d&&!(CKEDITOR.env.ie&&d=='on'))c.setAttribute('value',d);else c.removeAttribute('value');}},{id:'cmbSelected',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(CKEDITOR.env.ie){var d=!!c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('<input type="checkbox"'+(e?' checked="checked"':'')+'/>',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}else{var g=this.getValue();if(g)c.setAttribute('checked','checked');else c.removeAttribute('checked');}}}]}]};}); diff --git a/editor/editor/plugins/forms/dialogs/form.js b/editor/editor/plugins/forms/dialogs/form.js @@ -0,0 +1,6 @@ +/* +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(a){var b={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.form.title,minWidth:350,minHeight:200,onShow:function(){var e=this;delete e.form;var c=e.getParentEditor().getSelection().getStartElement(),d=c&&c.getAscendant('form',true);if(d){e.form=d;e.setupContent(d);}},onOk:function(){var c,d=this.form,e=!d;if(e){c=this.getParentEditor();d=c.document.createElement('form');d.append(c.document.createElement('br'));}if(e)c.insertElement(d);this.commitContent(d);},onLoad:function(){function c(e){this.setValue(e.getAttribute(this.id)||'');};function d(e){var f=this;if(f.getValue())e.setAttribute(f.id,f.getValue());else e.removeAttribute(f.id);};this.foreach(function(e){if(b[e.id]){e.setup=c;e.commit=d;}});},contents:[{id:'info',label:a.lang.form.title,title:a.lang.form.title,elements:[{id:'txtName',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(c){this.setValue(c.getAttribute('_cke_saved_name')||c.getAttribute('name')||'');},commit:function(c){if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'action',type:'text',label:a.lang.form.action,'default':'',accessKey:'A'},{type:'hbox',widths:['45%','55%'],children:[{id:'id',type:'text',label:a.lang.common.id,'default':'',accessKey:'I'},{id:'enctype',type:'select',label:a.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:a.lang.common.target,style:'width:100%',accessKey:'M','default':'',items:[[a.lang.common.notSet,''],[a.lang.common.targetNew,'_blank'],[a.lang.common.targetTop,'_top'],[a.lang.common.targetSelf,'_self'],[a.lang.common.targetParent,'_parent']]},{id:'method',type:'select',label:a.lang.form.method,accessKey:'M','default':'GET',items:[['GET','get'],['POST','post']]}]}]}]};}); diff --git a/editor/editor/plugins/forms/dialogs/hiddenfield.js b/editor/editor/plugins/forms/dialogs/hiddenfield.js @@ -0,0 +1,6 @@ +/* +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(a){return{title:a.lang.hidden.title,minWidth:350,minHeight:110,onShow:function(){var c=this;delete c.hiddenField;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'&&b.getAttribute('type')=='checkbox'){c.hiddenField=b;c.setupContent(b);}},onOk:function(){var b,c=this.hiddenField,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','hidden');}if(d)b.insertElement(c);this.commitContent(c);},contents:[{id:'info',label:a.lang.hidden.title,title:a.lang.hidden.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.hidden.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.setAttribute('_cke_saved_name',this.getValue());else{b.removeAttribute('_cke_saved_name');b.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.hidden.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){if(this.getValue())b.setAttribute('value',this.getValue());else b.removeAttribute('value');}}]}]};}); diff --git a/editor/editor/plugins/forms/dialogs/radio.js b/editor/editor/plugins/forms/dialogs/radio.js @@ -0,0 +1,6 @@ +/* +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(a){return{title:a.lang.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){var c=this;delete c.radioButton;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='input'&&b.getAttribute('type')=='radio'){c.radioButton=b;c.setupContent(b);}},onOk:function(){var b,c=this.radioButton,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('input');c.setAttribute('type','radio');}if(d)b.insertElement(c);this.commitContent({element:c});},contents:[{id:'info',label:a.lang.checkboxAndRadio.radioTitle,title:a.lang.checkboxAndRadio.radioTitle,elements:[{id:'name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('_cke_saved_name',this.getValue());else{c.removeAttribute('_cke_saved_name');c.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.checkboxAndRadio.value,'default':'',accessKey:'V',setup:function(b){this.setValue(b.getAttribute('value')||'');},commit:function(b){var c=b.element;if(this.getValue())c.setAttribute('value',this.getValue());else c.removeAttribute('value');}},{id:'checked',type:'checkbox',label:a.lang.checkboxAndRadio.selected,'default':'',accessKey:'S',value:'checked',setup:function(b){this.setValue(b.getAttribute('checked'));},commit:function(b){var c=b.element;if(!CKEDITOR.env.ie){if(this.getValue())c.setAttribute('checked','checked');else c.removeAttribute('checked');}else{var d=c.getAttribute('checked'),e=!!this.getValue();if(d!=e){var f=CKEDITOR.dom.element.createFromHtml('<input type="radio"'+(e?' checked="checked"':'')+'></input>',a.document);c.copyAttributes(f,{type:1,checked:1});f.replace(c);a.getSelection().selectElement(f);b.element=f;}}}}]}]};}); diff --git a/editor/editor/plugins/forms/dialogs/select.js b/editor/editor/plugins/forms/dialogs/select.js @@ -0,0 +1,9 @@ +/* +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(a){function b(k,l,m,n,o){k=j(k);var p;if(n)p=n.createElement('OPTION');else p=document.createElement('OPTION');if(k&&p&&p.getName()=='option'){if(CKEDITOR.env.ie){if(!isNaN(parseInt(o,10)))k.$.options.add(p.$,o);else k.$.options.add(p.$);p.$.innerHTML=l.length>0?l:'';p.$.value=m;}else{if(o!==null&&o<k.getChildCount())k.getChild(o<0?0:o).insertBeforeMe(p);else k.append(p);p.setText(l.length>0?l:'');p.setValue(m);}}else return false;return p;};function c(k){k=j(k);var l=g(k);for(var m=k.getChildren().count()-1;m>=0;m--){if(k.getChild(m).$.selected)k.getChild(m).remove();}h(k,l);};function d(k,l,m,n){k=j(k);if(l<0)return false;var o=k.getChild(l);o.setText(m);o.setValue(n);return o;};function e(k){k=j(k);while(k.getChild(0)&&k.getChild(0).remove()){}};function f(k,l,m){k=j(k);var n=g(k);if(n<0)return false;var o=n+l;o=o<0?0:o;o=o>=k.getChildCount()?k.getChildCount()-1:o;if(n==o)return false;var p=k.getChild(n),q=p.getText(),r=p.getValue();p.remove();p=b(k,q,r,!m?null:m,o);h(k,o);return p;};function g(k){k=j(k);return k?k.$.selectedIndex:-1;};function h(k,l){k=j(k);if(l<0)return null;var m=k.getChildren().count();k.$.selectedIndex=l>=m?m-1:l;return k;};function i(k){k=j(k);return k?k.getChildren():false;};function j(k){if(k&&k.domId&&k.getInputElement().$)return k.getInputElement();else if(k&&k.$)return k;return false;};return{title:a.lang.select.title,minWidth:CKEDITOR.env.ie?460:395,minHeight:CKEDITOR.env.ie?320:300,onShow:function(){var n=this;delete n.selectBox;n.setupContent('clear');var k=n.getParentEditor().getSelection().getSelectedElement();if(k&&k.getName()=='select'){n.selectBox=k;n.setupContent(k.getName(),k);var l=i(k);for(var m=0;m<l.count();m++)n.setupContent('option',l.getItem(m));}},onOk:function(){var k=this.getParentEditor(),l=this.selectBox,m=!l;if(m)l=k.document.createElement('select');this.commitContent(l);if(m){k.insertElement(l);if(CKEDITOR.env.ie){var n=k.getSelection(),o=n.createBookmarks();setTimeout(function(){n.selectBookmarks(o);},0);}}},contents:[{id:'info',label:a.lang.select.selectInfo,title:a.lang.select.selectInfo,accessKey:'',elements:[{id:'txtName',type:'text',widths:['25%','75%'],labelLayout:'horizontal',label:a.lang.common.name,'default':'',accessKey:'N',align:'center',style:'width:350px',setup:function(k,l){if(k=='clear')this.setValue('');else if(k=='select')this.setValue(l.getAttribute('_cke_saved_name')||l.getAttribute('name')||'');},commit:function(k){if(this.getValue())k.setAttribute('_cke_saved_name',this.getValue()); +else{k.removeAttribute('_cke_saved_name');k.removeAttribute('name');}}},{id:'txtValue',type:'text',widths:['25%','75%'],labelLayout:'horizontal',label:a.lang.select.value,style:'width:350px','default':'',className:'cke_disabled',onLoad:function(){this.getInputElement().setAttribute('readOnly',true);},setup:function(k,l){if(k=='clear')this.setValue('');else if(k=='option'&&l.getAttribute('selected'))this.setValue(l.$.value);}},{type:'hbox',widths:['175px','170px'],align:'center',children:[{id:'txtSize',type:'text',align:'center',labelLayout:'horizontal',label:a.lang.select.size,'default':'',accessKey:'S',style:'width:175px',validate:function(){var k=CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed);return this.getValue()===''||k.apply(this);},setup:function(k,l){if(k=='select')this.setValue(l.getAttribute('size')||'');if(CKEDITOR.env.webkit)this.getInputElement().setStyle('width','86px');},commit:function(k){if(this.getValue())k.setAttribute('size',this.getValue());else k.removeAttribute('size');}},{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(a.lang.select.lines)+'</span>'}]},{type:'html',html:'<span>'+CKEDITOR.tools.htmlEncode(a.lang.select.opAvail)+'</span>'},{type:'hbox',widths:['115px','115px','100px'],align:'top',children:[{type:'vbox',children:[{id:'txtOptName',type:'text',label:a.lang.select.opText,style:'width:115px',setup:function(k,l){if(k=='clear')this.setValue('');}},{type:'select',id:'cmbName',label:'',title:'',size:5,style:'width:115px;height:75px',items:[],onChange:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbValue'),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=g(this);h(l,o);m.setValue(this.getValue());n.setValue(l.getValue());},setup:function(k,l){if(k=='clear')e(this);else if(k=='option')b(this,l.getText(),l.getText(),this.getDialog().getParentEditor().document);},commit:function(k){var l=this.getDialog(),m=i(this),n=i(l.getContentElement('info','cmbValue')),o=l.getContentElement('info','txtValue').getValue();e(k);for(var p=0;p<m.count();p++){var q=b(k,m.getItem(p).getValue(),n.getItem(p).getValue(),l.getParentEditor().document);if(n.getItem(p).getValue()==o){q.setAttribute('selected','selected');q.selected=true;}}}}]},{type:'vbox',children:[{id:'txtOptValue',type:'text',label:a.lang.select.opValue,style:'width:115px',setup:function(k,l){if(k=='clear')this.setValue('');}},{type:'select',id:'cmbValue',label:'',size:5,style:'width:115px;height:75px',items:[],onChange:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=g(this); +h(l,o);m.setValue(l.getValue());n.setValue(this.getValue());},setup:function(k,l){var n=this;if(k=='clear')e(n);else if(k=='option'){var m=l.getValue();b(n,m,m,n.getDialog().getParentEditor().document);if(l.getAttribute('selected')=='selected')n.getDialog().getContentElement('info','txtValue').setValue(m);}}}]},{type:'vbox',padding:5,children:[{type:'button',style:'',label:a.lang.select.btnAdd,title:a.lang.select.btnAdd,style:'width:100%;',onClick:function(){var k=this.getDialog(),l=k.getParentEditor(),m=k.getContentElement('info','txtOptName'),n=k.getContentElement('info','txtOptValue'),o=k.getContentElement('info','cmbName'),p=k.getContentElement('info','cmbValue');b(o,m.getValue(),m.getValue(),k.getParentEditor().document);b(p,n.getValue(),n.getValue(),k.getParentEditor().document);m.setValue('');n.setValue('');}},{type:'button',label:a.lang.select.btnModify,title:a.lang.select.btnModify,style:'width:100%;',onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','txtOptName'),m=k.getContentElement('info','txtOptValue'),n=k.getContentElement('info','cmbName'),o=k.getContentElement('info','cmbValue'),p=g(n);if(p>=0){d(n,p,l.getValue(),l.getValue());d(o,p,m.getValue(),m.getValue());}}},{type:'button',style:'width:100%;',label:a.lang.select.btnUp,title:a.lang.select.btnUp,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue');f(l,-1,k.getParentEditor().document);f(m,-1,k.getParentEditor().document);}},{type:'button',style:'width:100%;',label:a.lang.select.btnDown,title:a.lang.select.btnDown,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue');f(l,1,k.getParentEditor().document);f(m,1,k.getParentEditor().document);}}]}]},{type:'hbox',widths:['40%','20%','40%'],children:[{type:'button',label:a.lang.select.btnSetValue,title:a.lang.select.btnSetValue,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbValue'),m=k.getContentElement('info','txtValue');m.setValue(l.getValue());}},{type:'button',label:a.lang.select.btnDelete,title:a.lang.select.btnDelete,onClick:function(){var k=this.getDialog(),l=k.getContentElement('info','cmbName'),m=k.getContentElement('info','cmbValue'),n=k.getContentElement('info','txtOptName'),o=k.getContentElement('info','txtOptValue');c(l);c(m);n.setValue('');o.setValue('');}},{id:'chkMulti',type:'checkbox',label:a.lang.select.chkMulti,'default':'',accessKey:'M',value:'checked',setup:function(k,l){if(k=='select')this.setValue(l.getAttribute('multiple')); +if(CKEDITOR.env.webkit)this.getElement().getParent().setStyle('vertical-align','middle');},commit:function(k){if(this.getValue())k.setAttribute('multiple',this.getValue());else k.removeAttribute('multiple');}}]}]}]};}); diff --git a/editor/editor/plugins/forms/dialogs/textarea.js b/editor/editor/plugins/forms/dialogs/textarea.js @@ -0,0 +1,6 @@ +/* +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(a){return{title:a.lang.textarea.title,minWidth:350,minHeight:150,onShow:function(){var c=this;delete c.textarea;var b=c.getParentEditor().getSelection().getSelectedElement();if(b&&b.getName()=='textarea'){c.textarea=b;c.setupContent(b);}},onOk:function(){var b,c=this.textarea,d=!c;if(d){b=this.getParentEditor();c=b.document.createElement('textarea');}this.commitContent(c);if(d)b.insertElement(c);},contents:[{id:'info',label:a.lang.textarea.title,title:a.lang.textarea.title,elements:[{id:'_cke_saved_name',type:'text',label:a.lang.common.name,'default':'',accessKey:'N',setup:function(b){this.setValue(b.getAttribute('_cke_saved_name')||b.getAttribute('name')||'');},commit:function(b){if(this.getValue())b.setAttribute('_cke_saved_name',this.getValue());else{b.removeAttribute('_cke_saved_name');b.removeAttribute('name');}}},{id:'cols',type:'text',label:a.lang.textarea.cols,'default':'',accessKey:'C',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('cols')&&b.getAttribute('cols');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('cols',this.getValue());else b.removeAttribute('cols');}},{id:'rows',type:'text',label:a.lang.textarea.rows,'default':'',accessKey:'R',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed),setup:function(b){var c=b.hasAttribute('rows')&&b.getAttribute('rows');this.setValue(c||'');},commit:function(b){if(this.getValue())b.setAttribute('rows',this.getValue());else b.removeAttribute('rows');}}]}]};}); diff --git a/editor/editor/plugins/forms/dialogs/textfield.js b/editor/editor/plugins/forms/dialogs/textfield.js @@ -0,0 +1,6 @@ +/* +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(a){var b={value:1,size:1,maxLength:1},c={text:1,password:1};return{title:a.lang.textfield.title,minWidth:350,minHeight:150,onShow:function(){var e=this;delete e.textField;var d=e.getParentEditor().getSelection().getSelectedElement();if(d&&d.getName()=='input'&&(c[d.getAttribute('type')]||!d.getAttribute('type'))){e.textField=d;e.setupContent(d);}},onOk:function(){var d,e=this.textField,f=!e;if(f){d=this.getParentEditor();e=d.document.createElement('input');e.setAttribute('type','text');}if(f)d.insertElement(e);this.commitContent({element:e});},onLoad:function(){var d=function(f){var g=f.hasAttribute(this.id)&&f.getAttribute(this.id);this.setValue(g||'');},e=function(f){var g=f.element,h=this.getValue();if(h)g.setAttribute(this.id,h);else g.removeAttribute(this.id);};this.foreach(function(f){if(b[f.id]){f.setup=d;f.commit=e;}});},contents:[{id:'info',label:a.lang.textfield.title,title:a.lang.textfield.title,elements:[{type:'hbox',widths:['50%','50%'],children:[{id:'_cke_saved_name',type:'text',label:a.lang.textfield.name,'default':'',accessKey:'N',setup:function(d){this.setValue(d.getAttribute('_cke_saved_name')||d.getAttribute('name')||'');},commit:function(d){var e=d.element;if(this.getValue())e.setAttribute('_cke_saved_name',this.getValue());else{e.removeAttribute('_cke_saved_name');e.removeAttribute('name');}}},{id:'value',type:'text',label:a.lang.textfield.value,'default':'',accessKey:'V'}]},{type:'hbox',widths:['50%','50%'],children:[{id:'size',type:'text',label:a.lang.textfield.charWidth,'default':'',accessKey:'C',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed)},{id:'maxLength',type:'text',label:a.lang.textfield.maxChars,'default':'',accessKey:'M',style:'width:50px',validate:CKEDITOR.dialog.validate.integer(a.lang.common.validateNumberFailed)}]},{id:'type',type:'select',label:a.lang.textfield.type,'default':'text',accessKey:'M',items:[[a.lang.textfield.typeText,'text'],[a.lang.textfield.typePass,'password']],setup:function(d){this.setValue(d.getAttribute('type'));},commit:function(d){var e=d.element;if(CKEDITOR.env.ie){var f=e.getAttribute('type'),g=this.getValue();if(f!=g){var h=CKEDITOR.dom.element.createFromHtml('<input type="'+g+'"></input>',a.document);e.copyAttributes(h,{type:1});h.replace(e);a.getSelection().selectElement(h);d.element=h;}}else e.setAttribute('type',this.getValue());}}]}]};}); diff --git a/editor/editor/plugins/iframedialog/plugin.js b/editor/editor/plugins/iframedialog/plugin.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.add('iframedialog',{requires:['dialog'],onLoad:function(){CKEDITOR.dialog.addIframe=function(a,b,c,d,e,f){var g={type:'iframe',src:c,width:'100%',height:'100%'};if(typeof f=='function')g.onContentLoad=f;var h={title:b,minWidth:d,minHeight:e,contents:[{id:'iframe',label:b,expand:true,elements:[g]}]};return this.add(a,function(){return h;});};(function(){var a=function(b,c,d){if(arguments.length<3)return;var e=this._||(this._={}),f=c.onContentLoad&&CKEDITOR.tools.bind(c.onContentLoad,this),g=CKEDITOR.tools.cssLength(c.width),h=CKEDITOR.tools.cssLength(c.height);e.frameId=CKEDITOR.tools.getNextNumber()+'_iframe';b.on('load',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent();l.setStyles({width:g,height:h});});var i={src:'%2',id:e.frameId,frameborder:0,allowtransparency:true},j=[];if(typeof c.onContentLoad=='function')i.onload='CKEDITOR.tools.callFunction(%1);';CKEDITOR.ui.dialog.uiElement.call(this,b,c,j,'iframe',{width:g,height:h},i,'');d.push('<div style="width:'+g+';height:'+h+';" id="'+this.domId+'"></div>');j=j.join('');b.on('show',function(){var k=CKEDITOR.document.getById(e.frameId),l=k.getParent(),m=CKEDITOR.tools.addFunction(f),n=j.replace('%1',m).replace('%2',CKEDITOR.tools.htmlEncode(c.src));l.setHtml(n);});};a.prototype=new CKEDITOR.ui.dialog.uiElement();CKEDITOR.dialog.addUIElement('iframe',{build:function(b,c,d){return new a(b,c,d);}});})();}}); diff --git a/editor/editor/plugins/image/dialogs/image.js b/editor/editor/plugins/image/dialogs/image.js @@ -0,0 +1,13 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){var a=1,b=2,c=4,d=8,e=/^\s*(\d+)((px)|\%)?\s*$/i,f=/(^\s*(\d+)((px)|\%)?\s*$)|^$/i,g=/^\d+px$/,h=function(){var q=this.getValue(),r=this.getDialog(),s=q.match(e);if(s){if(s[2]=='%')m(r,false);q=s[1];}if(r.lockRatio){var t=r.originalElement;if(t.getCustomData('isReady')=='true')if(this.id=='txtHeight'){if(q&&q!='0')q=Math.round(t.$.width*(q/t.$.height));if(!isNaN(q))r.setValueOf('info','txtWidth',q);}else{if(q&&q!='0')q=Math.round(t.$.height*(q/t.$.width));if(!isNaN(q))r.setValueOf('info','txtHeight',q);}}i(r);},i=function(q){if(!q.originalElement||!q.preview)return 1;q.commitContent(c,q.preview);return 0;};function j(){var q=arguments,r=this.getContentElement('advanced','txtdlgGenStyle');r&&r.commit.apply(r,q);this.foreach(function(s){if(s.commit&&s.id!='txtdlgGenStyle')s.commit.apply(s,q);});};var k;function l(q){if(k)return;k=1;var r=this.getDialog(),s=r.imageElement;if(s){this.commit(a,s);q=[].concat(q);var t=q.length,u;for(var v=0;v<t;v++){u=r.getContentElement.apply(r,q[v].split(':'));u&&u.setup(a,s);}}k=0;};var m=function(q,r){var s=q.originalElement,t=CKEDITOR.document.getById('btnLockSizes');if(s.getCustomData('isReady')=='true'){if(r=='check'){var u=q.getValueOf('info','txtWidth'),v=q.getValueOf('info','txtHeight'),w=s.$.width*1000/s.$.height,x=u*1000/v;q.lockRatio=false;if(!u&&!v)q.lockRatio=true;else if(!isNaN(w)&&!isNaN(x))if(Math.round(w)==Math.round(x))q.lockRatio=true;}else if(r!=undefined)q.lockRatio=r;else q.lockRatio=!q.lockRatio;}else if(r!='check')q.lockRatio=false;if(q.lockRatio)t.removeClass('cke_btn_unlocked');else t.addClass('cke_btn_unlocked');var y=q._.editor.lang.image,z=y[q.lockRatio?'unlockRatio':'lockRatio'];t.setAttribute('title',z);t.getFirst().setText(z);return q.lockRatio;},n=function(q){var r=q.originalElement;if(r.getCustomData('isReady')=='true'){q.setValueOf('info','txtWidth',r.$.width);q.setValueOf('info','txtHeight',r.$.height);}i(q);},o=function(q,r){if(q!=a)return;function s(x,y){var z=x.match(e);if(z){if(z[2]=='%'){z[1]+='%';m(t,false);}return z[1];}return y;};var t=this.getDialog(),u='',v=this.id=='txtWidth'?'width':'height',w=r.getAttribute(v);if(w)u=s(w,u);u=s(r.getStyle(v),u);this.setValue(u);},p=function(q,r){var s,t=function(){var v=this.originalElement;v.setCustomData('isReady','true');v.removeListener('load',t);v.removeListener('error',u);v.removeListener('abort',u);CKEDITOR.document.getById('ImagePreviewLoader').setStyle('display','none');if(!this.dontResetSize)n(this);if(this.firstLoad)CKEDITOR.tools.setTimeout(function(){m(this,'check'); +},0,this);this.firstLoad=false;this.dontResetSize=false;},u=function(){var x=this;var v=x.originalElement;v.removeListener('load',t);v.removeListener('error',u);v.removeListener('abort',u);var w=CKEDITOR.getUrl(q.skinPath+'images/noimage.png');if(x.preview)x.preview.setAttribute('src',w);CKEDITOR.document.getById('ImagePreviewLoader').setStyle('display','none');m(x,false);};return{title:r=='image'?q.lang.image.title:q.lang.image.titleButton,minWidth:420,minHeight:310,onShow:function(){var B=this;B.imageElement=false;B.linkElement=false;B.imageEditMode=false;B.linkEditMode=false;B.lockRatio=true;B.dontResetSize=false;B.firstLoad=true;B.addLink=false;var v=B.getParentEditor(),w=B.getParentEditor().getSelection(),x=w.getSelectedElement(),y=x&&x.getAscendant('a');CKEDITOR.document.getById('ImagePreviewLoader').setStyle('display','none');s=new CKEDITOR.dom.element('img',v.document);B.preview=CKEDITOR.document.getById('previewImage');B.originalElement=v.document.createElement('img');B.originalElement.setAttribute('alt','');B.originalElement.setCustomData('isReady','false');if(y){B.linkElement=y;B.linkEditMode=true;var z=y.getChildren();if(z.count()==1){var A=z.getItem(0).getName();if(A=='img'||A=='input'){B.imageElement=z.getItem(0);if(B.imageElement.getName()=='img')B.imageEditMode='img';else if(B.imageElement.getName()=='input')B.imageEditMode='input';}}if(r=='image')B.setupContent(b,y);}if(x&&x.getName()=='img'&&!x.getAttribute('_cke_realelement')||x&&x.getName()=='input'&&x.getAttribute('type')=='image'){B.imageEditMode=x.getName();B.imageElement=x;}if(B.imageEditMode){B.cleanImageElement=B.imageElement;B.imageElement=B.cleanImageElement.clone(true,true);B.setupContent(a,B.imageElement);m(B,true);}else B.imageElement=v.document.createElement('img');if(!CKEDITOR.tools.trim(B.getValueOf('info','txtUrl'))){B.preview.removeAttribute('src');B.preview.setStyle('display','none');}},onOk:function(){var w=this;if(w.imageEditMode){var v=w.imageEditMode;if(r=='image'&&v=='input'&&confirm(q.lang.image.button2Img)){v='img';w.imageElement=q.document.createElement('img');w.imageElement.setAttribute('alt','');q.insertElement(w.imageElement);}else if(r!='image'&&v=='img'&&confirm(q.lang.image.img2Button)){v='input';w.imageElement=q.document.createElement('input');w.imageElement.setAttributes({type:'image',alt:''});q.insertElement(w.imageElement);}else{w.imageElement=w.cleanImageElement;delete w.cleanImageElement;}}else{if(r=='image')w.imageElement=q.document.createElement('img'); +else{w.imageElement=q.document.createElement('input');w.imageElement.setAttribute('type','image');}w.imageElement.setAttribute('alt','');}if(!w.linkEditMode)w.linkElement=q.document.createElement('a');w.commitContent(a,w.imageElement);w.commitContent(b,w.linkElement);if(!w.imageElement.getAttribute('style'))w.imageElement.removeAttribute('style');if(!w.imageEditMode){if(w.addLink){if(!w.linkEditMode){q.insertElement(w.linkElement);w.linkElement.append(w.imageElement,false);}else q.insertElement(w.imageElement);}else q.insertElement(w.imageElement);}else if(!w.linkEditMode&&w.addLink){q.insertElement(w.linkElement);w.imageElement.appendTo(w.linkElement);}else if(w.linkEditMode&&!w.addLink){q.getSelection().selectElement(w.linkElement);q.insertElement(w.imageElement);}},onLoad:function(){var w=this;if(r!='image')w.hidePage('Link');var v=w._.element.getDocument();w.addFocusable(v.getById('btnResetSize'),5);w.addFocusable(v.getById('btnLockSizes'),5);w.commitContent=j;},onHide:function(){var v=this;if(v.preview)v.commitContent(d,v.preview);if(v.originalElement){v.originalElement.removeListener('load',t);v.originalElement.removeListener('error',u);v.originalElement.removeListener('abort',u);v.originalElement.remove();v.originalElement=false;}delete v.imageElement;},contents:[{id:'info',label:q.lang.image.infoTab,accessKey:'I',elements:[{type:'vbox',padding:0,children:[{type:'hbox',widths:['280px','110px'],align:'right',children:[{id:'txtUrl',type:'text',label:q.lang.common.url,required:true,onChange:function(){var v=this.getDialog(),w=this.getValue();if(w.length>0){v=this.getDialog();var x=v.originalElement;v.preview.removeStyle('display');x.setCustomData('isReady','false');var y=CKEDITOR.document.getById('ImagePreviewLoader');if(y)y.setStyle('display','');x.on('load',t,v);x.on('error',u,v);x.on('abort',u,v);x.setAttribute('src',w);s.setAttribute('src',w);v.preview.setAttribute('src',s.$.src);i(v);}else if(v.preview){v.preview.removeAttribute('src');v.preview.setStyle('display','none');}},setup:function(v,w){if(v==a){var x=w.getAttribute('_cke_saved_src')||w.getAttribute('src'),y=this;this.getDialog().dontResetSize=true;y.setValue(x);y.setInitValue();y.focus();}},commit:function(v,w){var x=this;if(v==a&&(x.getValue()||x.isChanged())){w.setAttribute('_cke_saved_src',decodeURI(x.getValue()));w.setAttribute('src',decodeURI(x.getValue()));}else if(v==d){w.setAttribute('src','');w.removeAttribute('src');}},validate:CKEDITOR.dialog.validate.notEmpty(q.lang.image.urlMissing)},{type:'button',id:'browse',style:'display:inline-block;margin-top:10px;',align:'center',label:q.lang.common.browseServer,hidden:true,filebrowser:'info:txtUrl'}]}]},{id:'txtAlt',type:'text',label:q.lang.image.alt,accessKey:'A','default':'',onChange:function(){i(this.getDialog()); +},setup:function(v,w){if(v==a)this.setValue(w.getAttribute('alt'));},commit:function(v,w){var x=this;if(v==a){if(x.getValue()||x.isChanged())w.setAttribute('alt',x.getValue());}else if(v==c)w.setAttribute('alt',x.getValue());else if(v==d)w.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:q.lang.image.width,onKeyUp:h,onChange:function(){l.call(this,'advanced:txtdlgGenStyle');},validate:function(){var v=this.getValue().match(f);if(!v)alert(q.lang.image.validateWidth);return!!v;},setup:o,commit:function(v,w,x){var y=this.getValue();if(v==a){if(y)w.setStyle('width',CKEDITOR.tools.cssLength(y));else if(!y&&this.isChanged())w.removeStyle('width');!x&&w.removeAttribute('width');}else if(v==c){var z=y.match(e);if(!z){var A=this.getDialog().originalElement;if(A.getCustomData('isReady')=='true')w.setStyle('width',A.$.width+'px');}else w.setStyle('width',y+'px');}else if(v==d){w.removeAttribute('width');w.removeStyle('width');}}},{type:'text',id:'txtHeight',width:'40px',labelLayout:'horizontal',label:q.lang.image.height,onKeyUp:h,onChange:function(){l.call(this,'advanced:txtdlgGenStyle');},validate:function(){var v=this.getValue().match(f);if(!v)alert(q.lang.image.validateHeight);return!!v;},setup:o,commit:function(v,w,x){var y=this.getValue();if(v==a){if(y)w.setStyle('height',CKEDITOR.tools.cssLength(y));else if(!y&&this.isChanged())w.removeStyle('height');if(!x&&v==a)w.removeAttribute('height');}else if(v==c){var z=y.match(e);if(!z){var A=this.getDialog().originalElement;if(A.getCustomData('isReady')=='true')w.setStyle('height',A.$.height+'px');}else w.setStyle('height',y+'px');}else if(v==d){w.removeAttribute('height');w.removeStyle('height');}}}]},{type:'html',style:'margin-top:10px;width:40px;height:40px;',onLoad:function(){var v=CKEDITOR.document.getById('btnResetSize'),w=CKEDITOR.document.getById('btnLockSizes');if(v){v.on('click',function(x){n(this);x.data.preventDefault();},this.getDialog());v.on('mouseover',function(){this.addClass('cke_btn_over');},v);v.on('mouseout',function(){this.removeClass('cke_btn_over');},v);}if(w){w.on('click',function(x){var C=this;var y=m(C),z=C.originalElement,A=C.getValueOf('info','txtWidth');if(z.getCustomData('isReady')=='true'&&A){var B=z.$.height/z.$.width*A;if(!isNaN(B)){C.setValueOf('info','txtHeight',Math.round(B));i(C); +}}x.data.preventDefault();},this.getDialog());w.on('mouseover',function(){this.addClass('cke_btn_over');},w);w.on('mouseout',function(){this.removeClass('cke_btn_over');},w);}},html:'<div><a href="javascript:void(0)" tabindex="-1" title="'+q.lang.image.unlockRatio+'" class="cke_btn_locked" id="btnLockSizes" role="button"><span class="cke_label">'+q.lang.image.unlockRatio+'</span></a>'+'<a href="javascript:void(0)" tabindex="-1" title="'+q.lang.image.resetSize+'" class="cke_btn_reset" id="btnResetSize" role="button"><span class="cke_label">'+q.lang.image.resetSize+'</span></a>'+'</div>'}]},{type:'vbox',padding:1,children:[{type:'text',id:'txtBorder',width:'60px',labelLayout:'horizontal',label:q.lang.image.border,'default':'',onKeyUp:function(){i(this.getDialog());},onChange:function(){l.call(this,'advanced:txtdlgGenStyle');},validate:CKEDITOR.dialog.validate.integer(q.lang.image.validateBorder),setup:function(v,w){if(v==a){var x,y=w.getStyle('border-width');y=y&&y.match(/^(\d+px)(?: \1 \1 \1)?$/);x=y&&parseInt(y[1],10);isNaN(parseInt(x,10))&&(x=w.getAttribute('border'));this.setValue(x);}},commit:function(v,w,x){var y=parseInt(this.getValue(),10);if(v==a||v==c){if(!isNaN(y)){w.setStyle('border-width',CKEDITOR.tools.cssLength(y));w.setStyle('border-style','solid');}else if(!y&&this.isChanged()){w.removeStyle('border-width');w.removeStyle('border-style');w.removeStyle('border-color');}if(!x&&v==a)w.removeAttribute('border');}else if(v==d){w.removeAttribute('border');w.removeStyle('border-width');w.removeStyle('border-style');w.removeStyle('border-color');}}},{type:'text',id:'txtHSpace',width:'60px',labelLayout:'horizontal',label:q.lang.image.hSpace,'default':'',onKeyUp:function(){i(this.getDialog());},onChange:function(){l.call(this,'advanced:txtdlgGenStyle');},validate:CKEDITOR.dialog.validate.integer(q.lang.image.validateHSpace),setup:function(v,w){if(v==a){var x,y,z,A=w.getStyle('margin-left'),B=w.getStyle('margin-right');A=A&&A.match(g);B=B&&B.match(g);y=parseInt(A,10);z=parseInt(B,10);x=y==z&&y;isNaN(parseInt(x,10))&&(x=w.getAttribute('hspace'));this.setValue(x);}},commit:function(v,w,x){var y=parseInt(this.getValue(),10);if(v==a||v==c){if(!isNaN(y)){w.setStyle('margin-left',CKEDITOR.tools.cssLength(y));w.setStyle('margin-right',CKEDITOR.tools.cssLength(y));}else if(!y&&this.isChanged()){w.removeStyle('margin-left');w.removeStyle('margin-right');}if(!x&&v==a)w.removeAttribute('hspace');}else if(v==d){w.removeAttribute('hspace');w.removeStyle('margin-left'); +w.removeStyle('margin-right');}}},{type:'text',id:'txtVSpace',width:'60px',labelLayout:'horizontal',label:q.lang.image.vSpace,'default':'',onKeyUp:function(){i(this.getDialog());},onChange:function(){l.call(this,'advanced:txtdlgGenStyle');},validate:CKEDITOR.dialog.validate.integer(q.lang.image.validateVSpace),setup:function(v,w){if(v==a){var x,y,z,A=w.getStyle('margin-top'),B=w.getStyle('margin-bottom');A=A&&A.match(g);B=B&&B.match(g);y=parseInt(A,10);z=parseInt(B,10);x=y==z&&y;isNaN(parseInt(x,10))&&(x=w.getAttribute('vspace'));this.setValue(x);}},commit:function(v,w,x){var y=parseInt(this.getValue(),10);if(v==a||v==c){if(!isNaN(y)){w.setStyle('margin-top',CKEDITOR.tools.cssLength(y));w.setStyle('margin-bottom',CKEDITOR.tools.cssLength(y));}else if(!y&&this.isChanged()){w.removeStyle('margin-top');w.removeStyle('margin-bottom');}if(!x&&v==a)w.removeAttribute('vspace');}else if(v==d){w.removeAttribute('vspace');w.removeStyle('margin-top');w.removeStyle('margin-bottom');}}},{id:'cmbAlign',type:'select',labelLayout:'horizontal',widths:['35%','65%'],style:'width:90px',label:q.lang.image.align,'default':'',items:[[q.lang.common.notSet,''],[q.lang.image.alignLeft,'left'],[q.lang.image.alignRight,'right']],onChange:function(){i(this.getDialog());l.call(this,'advanced:txtdlgGenStyle');},setup:function(v,w){if(v==a){var x=w.getStyle('float');switch(x){case 'inherit':case 'none':x='';}!x&&(x=(w.getAttribute('align')||'').toLowerCase());this.setValue(x);}},commit:function(v,w,x){var y=this.getValue();if(v==a||v==c){if(y)w.setStyle('float',y);else w.removeStyle('float');if(!x&&v==a){y=(w.getAttribute('align')||'').toLowerCase();switch(y){case 'left':case 'right':w.removeAttribute('align');}}}else if(v==d)w.removeStyle('float');}}]}]},{type:'vbox',height:'250px',children:[{type:'html',style:'width:95%;',html:'<div>'+CKEDITOR.tools.htmlEncode(q.lang.common.preview)+'<br>'+'<div id="ImagePreviewLoader" style="display:none"><div class="loading">&nbsp;</div></div>'+'<div id="ImagePreviewBox">'+'<a href="javascript:void(0)" target="_blank" onclick="return false;" id="previewLink">'+'<img id="previewImage" alt="" /></a>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.'+'</div>'+'</div>'}]}]}]},{id:'Link',label:q.lang.link.title,padding:0,elements:[{id:'txtUrl',type:'text',label:q.lang.common.url,style:'width: 100%','default':'',setup:function(v,w){if(v==b){var x=w.getAttribute('_cke_saved_href'); +if(!x)x=w.getAttribute('href');this.setValue(x);}},commit:function(v,w){var x=this;if(v==b)if(x.getValue()||x.isChanged()){w.setAttribute('_cke_saved_href',decodeURI(x.getValue()));w.setAttribute('href','javascript:void(0)/*'+CKEDITOR.tools.getNextNumber()+'*/');if(x.getValue()||!q.config.image_removeLinkByEmptyURL)x.getDialog().addLink=true;}}},{type:'button',id:'browse',filebrowser:{action:'Browse',target:'Link:txtUrl',url:q.config.filebrowserImageBrowseLinkUrl||q.config.filebrowserBrowseUrl},style:'float:right',hidden:true,label:q.lang.common.browseServer},{id:'cmbTarget',type:'select',label:q.lang.common.target,'default':'',items:[[q.lang.common.notSet,''],[q.lang.common.targetNew,'_blank'],[q.lang.common.targetTop,'_top'],[q.lang.common.targetSelf,'_self'],[q.lang.common.targetParent,'_parent']],setup:function(v,w){if(v==b)this.setValue(w.getAttribute('target'));},commit:function(v,w){if(v==b)if(this.getValue()||this.isChanged())w.setAttribute('target',this.getValue());}}]},{id:'Upload',hidden:true,filebrowser:'uploadButton',label:q.lang.image.upload,elements:[{type:'file',id:'upload',label:q.lang.image.btnUpload,style:'height:40px',size:38},{type:'fileButton',id:'uploadButton',filebrowser:'info:txtUrl',label:q.lang.image.btnUpload,'for':['Upload','upload']}]},{id:'advanced',label:q.lang.common.advancedTab,elements:[{type:'hbox',widths:['50%','25%','25%'],children:[{type:'text',id:'linkId',label:q.lang.common.id,setup:function(v,w){if(v==a)this.setValue(w.getAttribute('id'));},commit:function(v,w){if(v==a)if(this.getValue()||this.isChanged())w.setAttribute('id',this.getValue());}},{id:'cmbLangDir',type:'select',style:'width : 100px;',label:q.lang.common.langDir,'default':'',items:[[q.lang.common.notSet,''],[q.lang.common.langDirLtr,'ltr'],[q.lang.common.langDirRtl,'rtl']],setup:function(v,w){if(v==a)this.setValue(w.getAttribute('dir'));},commit:function(v,w){if(v==a)if(this.getValue()||this.isChanged())w.setAttribute('dir',this.getValue());}},{type:'text',id:'txtLangCode',label:q.lang.common.langCode,'default':'',setup:function(v,w){if(v==a)this.setValue(w.getAttribute('lang'));},commit:function(v,w){if(v==a)if(this.getValue()||this.isChanged())w.setAttribute('lang',this.getValue());}}]},{type:'text',id:'txtGenLongDescr',label:q.lang.common.longDescr,setup:function(v,w){if(v==a)this.setValue(w.getAttribute('longDesc'));},commit:function(v,w){if(v==a)if(this.getValue()||this.isChanged())w.setAttribute('longDesc',this.getValue());}},{type:'hbox',widths:['50%','50%'],children:[{type:'text',id:'txtGenClass',label:q.lang.common.cssClass,'default':'',setup:function(v,w){if(v==a)this.setValue(w.getAttribute('class')); +},commit:function(v,w){if(v==a)if(this.getValue()||this.isChanged())w.setAttribute('class',this.getValue());}},{type:'text',id:'txtGenTitle',label:q.lang.common.advisoryTitle,'default':'',onChange:function(){i(this.getDialog());},setup:function(v,w){if(v==a)this.setValue(w.getAttribute('title'));},commit:function(v,w){var x=this;if(v==a){if(x.getValue()||x.isChanged())w.setAttribute('title',x.getValue());}else if(v==c)w.setAttribute('title',x.getValue());else if(v==d)w.removeAttribute('title');}}]},{type:'text',id:'txtdlgGenStyle',label:q.lang.common.cssStyle,'default':'',setup:function(v,w){if(v==a){var x=w.getAttribute('style');if(!x&&w.$.style.cssText)x=w.$.style.cssText;this.setValue(x);var y=w.$.style.height,z=w.$.style.width,A=(y?y:'').match(e),B=(z?z:'').match(e);this.attributesInStyle={height:!!A,width:!!B};}},onChange:function(){l.call(this,['info:cmbFloat','info:cmbAlign','info:txtVSpace','info:txtHSpace','info:txtBorder','info:txtWidth','info:txtHeight']);i(this);},commit:function(v,w){if(v==a&&(this.getValue()||this.isChanged()))w.setAttribute('style',this.getValue());}}]}]};};CKEDITOR.dialog.add('image',function(q){return p(q,'image');});CKEDITOR.dialog.add('imagebutton',function(q){return p(q,'imagebutton');});})(); diff --git a/editor/editor/plugins/link/dialogs/anchor.js b/editor/editor/plugins/link/dialogs/anchor.js @@ -0,0 +1,6 @@ +/* +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(a){var b=function(c,d,e){var g=this;g.editMode=true;g.editObj=e;var f=g.editObj.getAttribute('name');if(f)g.setValueOf('info','txtName',f);else g.setValueOf('info','txtName','');};return{title:a.lang.anchor.title,minWidth:300,minHeight:60,onOk:function(){var f=this;var c=f.getValueOf('info','txtName'),d=CKEDITOR.env.ie?a.document.createElement('<a name="'+CKEDITOR.tools.htmlEncode(c)+'">'):a.document.createElement('a');if(f.editMode){f.editObj.copyAttributes(d,{name:1});f.editObj.moveChildren(d);}d.removeAttribute('_cke_saved_name');d.setAttribute('name',c);var e=a.createFakeElement(d,'cke_anchor','anchor');if(!f.editMode)a.insertElement(e);else{e.replace(f.fakeObj);a.getSelection().selectElement(e);}return true;},onShow:function(){var e=this;e.editObj=false;e.fakeObj=false;e.editMode=false;var c=a.getSelection(),d=c.getSelectedElement();if(d&&d.getAttribute('_cke_real_element_type')&&d.getAttribute('_cke_real_element_type')=='anchor'){e.fakeObj=d;d=a.restoreRealElement(e.fakeObj);b.apply(e,[a,c,d]);c.selectElement(e.fakeObj);}e.getContentElement('info','txtName').focus();},contents:[{id:'info',label:a.lang.anchor.title,accessKey:'I',elements:[{type:'text',id:'txtName',label:a.lang.anchor.name,required:true,validate:function(){if(!this.getValue()){alert(a.lang.anchor.errorName);return false;}return true;}}]}]};}); diff --git a/editor/editor/plugins/link/dialogs/link.js b/editor/editor/plugins/link/dialogs/link.js @@ -0,0 +1,11 @@ +/* +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(a){var b=function(){var B=this.getDialog(),C=B.getContentElement('target','popupFeatures'),D=B.getContentElement('target','linkTargetName'),E=this.getValue();if(!C||!D)return;C=C.getElement();C.hide();D.setValue('');switch(E){case 'frame':D.setLabel(a.lang.link.targetFrameName);D.getElement().show();break;case 'popup':C.show();D.setLabel(a.lang.link.targetPopupName);D.getElement().show();break;default:D.setValue(E);D.getElement().hide();break;}},c=function(){var B=this.getDialog(),C=['urlOptions','anchorOptions','emailOptions'],D=this.getValue(),E=B.definition.getContents('upload'),F=E&&E.hidden;if(D=='url'){if(a.config.linkShowTargetTab)B.showPage('target');if(!F)B.showPage('upload');}else{B.hidePage('target');if(!F)B.hidePage('upload');}for(var G=0;G<C.length;G++){var H=B.getContentElement('info',C[G]);if(!H)continue;H=H.getElement().getParent().getParent();if(C[G]==D+'Options')H.show();else H.hide();}},d=/^javascript:/,e=/^mailto:([^?]+)(?:\?(.+))?$/,f=/subject=([^;?:@&=$,\/]*)/,g=/body=([^;?:@&=$,\/]*)/,h=/^#(.*)$/,i=/^((?:http|https|ftp|news):\/\/)?(.*)$/,j=/^(_(?:self|top|parent|blank))$/,k=/^javascript:void\(location\.href='mailto:'\+String\.fromCharCode\(([^)]+)\)(?:\+'(.*)')?\)$/,l=/^javascript:([^(]+)\(([^)]+)\)$/,m=/\s*window.open\(\s*this\.href\s*,\s*(?:'([^']*)'|null)\s*,\s*'([^']*)'\s*\)\s*;\s*return\s*false;*\s*/,n=/(?:^|,)([^=]+)=(\d+|yes|no)/gi,o=function(B,C){var D=C?C.getAttribute('_cke_saved_href')||C.getAttribute('href'):'',E,F,G,H,I={};if(E=D.match(d))if(x=='encode')D=D.replace(k,function(Y,Z,aa){return 'mailto:'+String.fromCharCode.apply(String,Z.split(','))+(aa&&v(aa));});else if(x)D.replace(l,function(Y,Z,aa){if(Z==y.name){I.type='email';var ab=I.email={},ac=/[^,\s]+/g,ad=/(^')|('$)/g,ae=aa.match(ac),af=ae.length,ag,ah;for(var ai=0;ai<af;ai++){ah=decodeURIComponent(v(ae[ai].replace(ad,'')));ag=y.params[ai].toLowerCase();ab[ag]=ah;}ab.address=[ab.name,ab.domain].join('@');}});if(!I.type)if(G=D.match(h)){I.type='anchor';I.anchor={};I.anchor.name=I.anchor.id=G[1];}else if(F=D.match(e)){var J=D.match(f),K=D.match(g);I.type='email';var L=I.email={};L.address=F[1];J&&(L.subject=decodeURIComponent(J[1]));K&&(L.body=decodeURIComponent(K[1]));}else if(D&&(H=D.match(i))){I.type='url';I.url={};I.url.protocol=H[1];I.url.url=H[2];}else I.type='url';if(C){var M=C.getAttribute('target');I.target={};I.adv={};if(!M){var N=C.getAttribute('_cke_pa_onclick')||C.getAttribute('onclick'),O=N&&N.match(m);if(O){I.target.type='popup'; +I.target.name=O[1];var P;while(P=n.exec(O[2])){if(P[2]=='yes'||P[2]=='1')I.target[P[1]]=true;else if(isFinite(P[2]))I.target[P[1]]=P[2];}}}else{var Q=M.match(j);if(Q)I.target.type=I.target.name=M;else{I.target.type='frame';I.target.name=M;}}var R=this,S=function(Y,Z){var aa=C.getAttribute(Z);if(aa!==null)I.adv[Y]=aa||'';};S('advId','id');S('advLangDir','dir');S('advAccessKey','accessKey');S('advName','name');S('advLangCode','lang');S('advTabIndex','tabindex');S('advTitle','title');S('advContentType','type');S('advCSSClasses','class');S('advCharset','charset');S('advStyles','style');}var T=B.document.getElementsByTag('img'),U=new CKEDITOR.dom.nodeList(B.document.$.anchors),V=I.anchors=[];for(var W=0;W<T.count();W++){var X=T.getItem(W);if(X.getAttribute('_cke_realelement')&&X.getAttribute('_cke_real_element_type')=='anchor')V.push(B.restoreRealElement(X));}for(W=0;W<U.count();W++)V.push(U.getItem(W));for(W=0;W<V.length;W++){X=V[W];V[W]={name:X.getAttribute('name'),id:X.getAttribute('id')};}this._.selectedElement=C;return I;},p=function(B,C){if(C[B])this.setValue(C[B][this.id]||'');},q=function(B){return p.call(this,'target',B);},r=function(B){return p.call(this,'adv',B);},s=function(B,C){if(!C[B])C[B]={};C[B][this.id]=this.getValue()||'';},t=function(B){return s.call(this,'target',B);},u=function(B){return s.call(this,'adv',B);};function v(B){return B.replace(/\\'/g,"'");};function w(B){return B.replace(/'/g,'\\$&');};var x=a.config.emailProtection||'';if(x&&x!='encode'){var y={};x.replace(/^([^(]+)\(([^)]+)\)$/,function(B,C,D){y.name=C;y.params=[];D.replace(/[^,\s]+/g,function(E){y.params.push(E);});});}function z(B){var C,D=y.name,E=y.params,F,G;C=[D,'('];for(var H=0;H<E.length;H++){F=E[H].toLowerCase();G=B[F];H>0&&C.push(',');C.push("'",G?w(encodeURIComponent(B[F])):'',"'");}C.push(')');return C.join('');};function A(B){var C,D=B.length,E=[];for(var F=0;F<D;F++){C=B.charCodeAt(F);E.push(C);}return 'String.fromCharCode('+E.join(',')+')';};return{title:a.lang.link.title,minWidth:350,minHeight:230,contents:[{id:'info',label:a.lang.link.info,title:a.lang.link.info,elements:[{id:'linkType',type:'select',label:a.lang.link.type,'default':'url',items:[[a.lang.link.toUrl,'url'],[a.lang.link.toAnchor,'anchor'],[a.lang.link.toEmail,'email']],onChange:c,setup:function(B){if(B.type)this.setValue(B.type);},commit:function(B){B.type=this.getValue();}},{type:'vbox',id:'urlOptions',children:[{type:'hbox',widths:['25%','75%'],children:[{id:'protocol',type:'select',label:a.lang.common.protocol,'default':'http://',style:'width : 100%;',items:[['http://'],['https://'],['ftp://'],['news://'],['<other>','']],setup:function(B){if(B.url)this.setValue(B.url.protocol||''); +},commit:function(B){if(!B.url)B.url={};B.url.protocol=this.getValue();}},{type:'text',id:'url',label:a.lang.common.url,required:true,onLoad:function(){this.allowOnChange=true;},onKeyUp:function(){var G=this;G.allowOnChange=false;var B=G.getDialog().getContentElement('info','protocol'),C=G.getValue(),D=/^(http|https|ftp|news):\/\/(?=.)/gi,E=/^((javascript:)|[#\/\.])/gi,F=D.exec(C);if(F){G.setValue(C.substr(F[0].length));B.setValue(F[0].toLowerCase());}else if(E.test(C))B.setValue('');G.allowOnChange=true;},onChange:function(){if(this.allowOnChange)this.onKeyUp();},validate:function(){var B=this.getDialog();if(B.getContentElement('info','linkType')&&B.getValueOf('info','linkType')!='url')return true;if(this.getDialog().fakeObj)return true;var C=CKEDITOR.dialog.validate.notEmpty(a.lang.link.noUrl);return C.apply(this);},setup:function(B){this.allowOnChange=false;if(B.url)this.setValue(B.url.url);this.allowOnChange=true;},commit:function(B){this.onChange();if(!B.url)B.url={};B.url.url=this.getValue();this.allowOnChange=false;}}],setup:function(B){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().show();}},{type:'button',id:'browse',hidden:'true',filebrowser:'info:url',label:a.lang.common.browseServer}]},{type:'vbox',id:'anchorOptions',width:260,align:'center',padding:0,children:[{type:'fieldset',id:'selectAnchorText',label:a.lang.link.selectAnchor,setup:function(B){if(B.anchors.length>0)this.getElement().show();else this.getElement().hide();},children:[{type:'hbox',id:'selectAnchor',children:[{type:'select',id:'anchorName','default':'',label:a.lang.link.anchorName,style:'width: 100%;',items:[['']],setup:function(B){var E=this;E.clear();E.add('');for(var C=0;C<B.anchors.length;C++){if(B.anchors[C].name)E.add(B.anchors[C].name);}if(B.anchor)E.setValue(B.anchor.name);var D=E.getDialog().getContentElement('info','linkType');if(D&&D.getValue()=='email')E.focus();},commit:function(B){if(!B.anchor)B.anchor={};B.anchor.name=this.getValue();}},{type:'select',id:'anchorId','default':'',label:a.lang.link.anchorId,style:'width: 100%;',items:[['']],setup:function(B){var D=this;D.clear();D.add('');for(var C=0;C<B.anchors.length;C++){if(B.anchors[C].id)D.add(B.anchors[C].id);}if(B.anchor)D.setValue(B.anchor.id);},commit:function(B){if(!B.anchor)B.anchor={};B.anchor.id=this.getValue();}}],setup:function(B){if(B.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(a.lang.link.noAnchors)+'</div>',focus:true,setup:function(B){if(B.anchors.length<1)this.getElement().show(); +else this.getElement().hide();}}],setup:function(B){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}},{type:'vbox',id:'emailOptions',padding:1,children:[{type:'text',id:'emailAddress',label:a.lang.link.emailAddress,required:true,validate:function(){var B=this.getDialog();if(!B.getContentElement('info','linkType')||B.getValueOf('info','linkType')!='email')return true;var C=CKEDITOR.dialog.validate.notEmpty(a.lang.link.noEmail);return C.apply(this);},setup:function(B){if(B.email)this.setValue(B.email.address);var C=this.getDialog().getContentElement('info','linkType');if(C&&C.getValue()=='email')this.select();},commit:function(B){if(!B.email)B.email={};B.email.address=this.getValue();}},{type:'text',id:'emailSubject',label:a.lang.link.emailSubject,setup:function(B){if(B.email)this.setValue(B.email.subject);},commit:function(B){if(!B.email)B.email={};B.email.subject=this.getValue();}},{type:'textarea',id:'emailBody',label:a.lang.link.emailBody,rows:3,'default':'',setup:function(B){if(B.email)this.setValue(B.email.body);},commit:function(B){if(!B.email)B.email={};B.email.body=this.getValue();}}],setup:function(B){if(!this.getDialog().getContentElement('info','linkType'))this.getElement().hide();}}]},{id:'target',label:a.lang.link.target,title:a.lang.link.target,elements:[{type:'hbox',widths:['50%','50%'],children:[{type:'select',id:'linkTargetType',label:a.lang.common.target,'default':'notSet',style:'width : 100%;',items:[[a.lang.common.notSet,'notSet'],[a.lang.link.targetFrame,'frame'],[a.lang.link.targetPopup,'popup'],[a.lang.common.targetNew,'_blank'],[a.lang.common.targetTop,'_top'],[a.lang.common.targetSelf,'_self'],[a.lang.common.targetParent,'_parent']],onChange:b,setup:function(B){if(B.target)this.setValue(B.target.type);},commit:function(B){if(!B.target)B.target={};B.target.type=this.getValue();}},{type:'text',id:'linkTargetName',label:a.lang.link.targetFrameName,'default':'',setup:function(B){if(B.target)this.setValue(B.target.name);},commit:function(B){if(!B.target)B.target={};B.target.name=this.getValue();}}]},{type:'vbox',width:260,align:'center',padding:2,id:'popupFeatures',children:[{type:'fieldset',label:a.lang.link.popupFeatures,children:[{type:'hbox',children:[{type:'checkbox',id:'resizable',label:a.lang.link.popupResizable,setup:q,commit:t},{type:'checkbox',id:'status',label:a.lang.link.popupStatusBar,setup:q,commit:t}]},{type:'hbox',children:[{type:'checkbox',id:'location',label:a.lang.link.popupLocationBar,setup:q,commit:t},{type:'checkbox',id:'toolbar',label:a.lang.link.popupToolbar,setup:q,commit:t}]},{type:'hbox',children:[{type:'checkbox',id:'menubar',label:a.lang.link.popupMenuBar,setup:q,commit:t},{type:'checkbox',id:'fullscreen',label:a.lang.link.popupFullScreen,setup:q,commit:t}]},{type:'hbox',children:[{type:'checkbox',id:'scrollbars',label:a.lang.link.popupScrollBars,setup:q,commit:t},{type:'checkbox',id:'dependent',label:a.lang.link.popupDependent,setup:q,commit:t}]},{type:'hbox',children:[{type:'text',widths:['30%','70%'],labelLayout:'horizontal',label:a.lang.link.popupWidth,id:'width',setup:q,commit:t},{type:'text',labelLayout:'horizontal',widths:['55%','45%'],label:a.lang.link.popupLeft,id:'left',setup:q,commit:t}]},{type:'hbox',children:[{type:'text',labelLayout:'horizontal',widths:['30%','70%'],label:a.lang.link.popupHeight,id:'height',setup:q,commit:t},{type:'text',labelLayout:'horizontal',label:a.lang.link.popupTop,widths:['55%','45%'],id:'top',setup:q,commit:t}]}]}]}]},{id:'upload',label:a.lang.link.upload,title:a.lang.link.upload,hidden:true,filebrowser:'uploadButton',elements:[{type:'file',id:'upload',label:a.lang.common.upload,style:'height:40px',size:29},{type:'fileButton',id:'uploadButton',label:a.lang.common.uploadSubmit,filebrowser:'info:url','for':['upload','upload']}]},{id:'advanced',label:a.lang.link.advanced,title:a.lang.link.advanced,elements:[{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',id:'advId',label:a.lang.link.id,setup:r,commit:u},{type:'select',id:'advLangDir',label:a.lang.link.langDir,'default':'',style:'width:110px',items:[[a.lang.common.notSet,''],[a.lang.link.langDirLTR,'ltr'],[a.lang.link.langDirRTL,'rtl']],setup:r,commit:u},{type:'text',id:'advAccessKey',width:'80px',label:a.lang.link.acccessKey,maxLength:1,setup:r,commit:u}]},{type:'hbox',widths:['45%','35%','20%'],children:[{type:'text',label:a.lang.link.name,id:'advName',setup:r,commit:u},{type:'text',label:a.lang.link.langCode,id:'advLangCode',width:'110px','default':'',setup:r,commit:u},{type:'text',label:a.lang.link.tabIndex,id:'advTabIndex',width:'80px',maxLength:5,setup:r,commit:u}]}]},{type:'vbox',padding:1,children:[{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:a.lang.link.advisoryTitle,'default':'',id:'advTitle',setup:r,commit:u},{type:'text',label:a.lang.link.advisoryContentType,'default':'',id:'advContentType',setup:r,commit:u}]},{type:'hbox',widths:['45%','55%'],children:[{type:'text',label:a.lang.link.cssClasses,'default':'',id:'advCSSClasses',setup:r,commit:u},{type:'text',label:a.lang.link.charset,'default':'',id:'advCharset',setup:r,commit:u}]},{type:'hbox',children:[{type:'text',label:a.lang.link.styles,'default':'',id:'advStyles',setup:r,commit:u}]}]}]}],onShow:function(){var H=this; +H.fakeObj=false;var B=H.getParentEditor(),C=B.getSelection(),D=C.getRanges(),E=null,F=H;if(D.length==1){var G=D[0].getCommonAncestor(true);E=G.getAscendant('a',true);if(E&&E.getAttribute('href'))C.selectElement(E);else if((E=G.getAscendant('img',true))&&E.getAttribute('_cke_real_element_type')&&E.getAttribute('_cke_real_element_type')=='anchor'){H.fakeObj=E;E=B.restoreRealElement(H.fakeObj);C.selectElement(H.fakeObj);}else E=null;}H.setupContent(o.apply(H,[B,E]));},onOk:function(){var B={href:'javascript:void(0)/*'+CKEDITOR.tools.getNextNumber()+'*/'},C=[],D={href:B.href},E=this,F=this.getParentEditor();this.commitContent(D);switch(D.type||'url'){case 'url':var G=D.url&&D.url.protocol!=undefined?D.url.protocol:'http://',H=D.url&&D.url.url||'';B._cke_saved_href=H.indexOf('/')===0?H:G+H;break;case 'anchor':var I=D.anchor&&D.anchor.name,J=D.anchor&&D.anchor.id;B._cke_saved_href='#'+(I||J||'');break;case 'email':var K,L=D.email,M=L.address;switch(x){case '':case 'encode':var N=encodeURIComponent(L.subject||''),O=encodeURIComponent(L.body||''),P=[];N&&P.push('subject='+N);O&&P.push('body='+O);P=P.length?'?'+P.join('&'):'';if(x=='encode'){K=["javascript:void(location.href='mailto:'+",A(M)];P&&K.push("+'",w(P),"'");K.push(')');}else K=['mailto:',M,P];break;default:var Q=M.split('@',2);L.name=Q[0];L.domain=Q[1];K=['javascript:',z(L)];}B._cke_saved_href=K.join('');break;}if(D.target)if(D.target.type=='popup'){var R=["window.open(this.href, '",D.target.name||'',"', '"],S=['resizable','status','location','toolbar','menubar','fullscreen','scrollbars','dependent'],T=S.length,U=function(ag){if(D.target[ag])S.push(ag+'='+D.target[ag]);};for(var V=0;V<T;V++)S[V]=S[V]+(D.target[S[V]]?'=yes':'=no');U('width');U('left');U('height');U('top');R.push(S.join(','),"'); return false;");B._cke_pa_onclick=R.join('');}else{if(D.target.type!='notSet'&&D.target.name)B.target=D.target.name;else C.push('target');C.push('_cke_pa_onclick','onclick');}if(D.adv){var W=function(ag,ah){var ai=D.adv[ag];if(ai)B[ah]=ai;else C.push(ah);};if(this._.selectedElement)W('advId','id');W('advLangDir','dir');W('advAccessKey','accessKey');W('advName','name');W('advLangCode','lang');W('advTabIndex','tabindex');W('advTitle','title');W('advContentType','type');W('advCSSClasses','class');W('advCharset','charset');W('advStyles','style');}if(!this._.selectedElement){var X=F.getSelection(),Y=X.getRanges();if(Y.length==1&&Y[0].collapsed){var Z=new CKEDITOR.dom.text(B._cke_saved_href,F.document);Y[0].insertNode(Z); +Y[0].selectNodeContents(Z);X.selectRanges(Y);}var aa=new CKEDITOR.style({element:'a',attributes:B});aa.type=CKEDITOR.STYLE_INLINE;aa.apply(F.document);if(D.adv&&D.adv.advId){var ab=this.getParentEditor().document.$.getElementsByTagName('a');for(V=0;V<ab.length;V++){if(ab[V].href==B.href){ab[V].id=D.adv.advId;break;}}}}else{var ac=this._.selectedElement,ad=ac.getAttribute('_cke_saved_href'),ae=ac.getHtml();if(CKEDITOR.env.ie&&B.name!=ac.getAttribute('name')){var af=new CKEDITOR.dom.element('<a name="'+CKEDITOR.tools.htmlEncode(B.name)+'">',F.document);X=F.getSelection();ac.moveChildren(af);ac.copyAttributes(af,{name:1});af.replace(ac);ac=af;X.selectElement(ac);}ac.setAttributes(B);ac.removeAttributes(C);if(ad==ae)ac.setHtml(B._cke_saved_href);if(ac.getAttribute('name'))ac.addClass('cke_anchor');else ac.removeClass('cke_anchor');if(this.fakeObj)F.createFakeElement(ac,'cke_anchor','anchor').replace(this.fakeObj);delete this._.selectedElement;}},onLoad:function(){if(!a.config.linkShowAdvancedTab)this.hidePage('advanced');if(!a.config.linkShowTargetTab)this.hidePage('target');},onFocus:function(){var B=this.getContentElement('info','linkType'),C;if(B&&B.getValue()=='url'){C=this.getContentElement('info','url');C.select();}}};}); diff --git a/editor/editor/plugins/link/images/anchor.gif b/editor/editor/plugins/link/images/anchor.gif Binary files differ. diff --git a/editor/editor/plugins/pagebreak/images/pagebreak.gif b/editor/editor/plugins/pagebreak/images/pagebreak.gif Binary files differ. diff --git a/editor/editor/plugins/pastefromword/filter/default.js b/editor/editor/plugins/pastefromword/filter/default.js @@ -0,0 +1,10 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){var a=CKEDITOR.htmlParser.fragment.prototype,b=CKEDITOR.htmlParser.element.prototype;a.onlyChild=b.onlyChild=function(){var h=this.children,i=h.length,j=i==1&&h[0];return j||null;};b.removeAnyChildWithName=function(h){var i=this.children,j=[],k;for(var l=0;l<i.length;l++){k=i[l];if(!k.name)continue;if(k.name==h){j.push(k);i.splice(l--,1);}j=j.concat(k.removeAnyChildWithName(h));}return j;};b.getAncestor=function(h){var i=this.parent;while(i&&!(i.name&&i.name.match(h)))i=i.parent;return i;};a.firstChild=b.firstChild=function(h){var i;for(var j=0;j<this.children.length;j++){i=this.children[j];if(h(i))return i;else if(i.name){i=i.firstChild(h);if(i)return i;else continue;}}return null;};b.addStyle=function(h,i,j){var n=this;var k,l='';if(typeof i=='string')l+=h+':'+i+';';else{if(typeof h=='object')for(var m in h){if(h.hasOwnProperty(m))l+=m+':'+h[m]+';';}else l+=h;j=i;}if(!n.attributes)n.attributes={};k=n.attributes.style||'';k=(j?[l,k]:[k,l]).join(';');n.attributes.style=k.replace(/^;|;(?=;)/,'');};CKEDITOR.dtd.parentOf=function(h){var i={};for(var j in this){if(j.indexOf('$')==-1&&this[j][h])i[j]=1;}return i;};var c=/^(\d[.\d]*)+(em|ex|px|gd|rem|vw|vh|vm|ch|mm|cm|in|pt|pc|deg|rad|ms|s|hz|khz){1}?/i,d=/^(?:\b0[^\s]*\s*){1,4}$/,e=0,f;CKEDITOR.plugins.pastefromword={utils:{createListBulletMarker:function(h,i){var j=new CKEDITOR.htmlParser.element('cke:listbullet'),k;if(!h){h='decimal';k='ol';}else if(h[2]){if(!isNaN(h[1]))h='decimal';else if(/^[a-z]+$/.test(h[1]))h='lower-alpha';else if(/^[A-Z]+$/.test(h[1]))h='upper-alpha';else h='decimal';k='ol';}else{if(/[l\u00B7\u2002]/.test(h[1]))h='disc';else if(/[\u006F\u00D8]/.test(h[1]))h='circle';else if(/[\u006E\u25C6]/.test(h[1]))h='square';else h='disc';k='ul';}j.attributes={'cke:listtype':k,style:'list-style-type:'+h+';'};j.add(new CKEDITOR.htmlParser.text(i));return j;},isListBulletIndicator:function(h){var i=h.attributes&&h.attributes.style;if(/mso-list\s*:\s*Ignore/i.test(i))return true;},isContainingOnlySpaces:function(h){var i;return(i=h.onlyChild())&&/^(:?\s|&nbsp;)+$/.test(i.value);},resolveList:function(h){var i=h.children,j=h.attributes,k;if((k=h.removeAnyChildWithName('cke:listbullet'))&&k.length&&(k=k[0])){h.name='cke:li';if(j.style)j.style=CKEDITOR.plugins.pastefromword.filters.stylesFilter([['text-indent'],['line-height'],[/^margin(:?-left)?$/,null,function(n){var o=n.split(' ');n=o[3]||o[1]||o[0];n=parseInt(n,10);if(!e&&f&&n>f)e=n-f;j['cke:margin']=f=n;}]])(j.style,h)||'';var l=k.attributes,m=l.style; +h.addStyle(m);CKEDITOR.tools.extend(j,l);return true;}return false;},convertToPx:(function(){var h=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(h);return function(i){if(c.test(i)){h.setStyle('width',i);return h.$.clientWidth+'px';}return i;};})(),getStyleComponents:(function(){var h=CKEDITOR.dom.element.createFromHtml('<div style="position:absolute;left:-9999px;top:-9999px;"></div>',CKEDITOR.document);CKEDITOR.document.getBody().append(h);return function(i,j,k){h.setStyle(i,j);var l={},m=k.length;for(var n=0;n<m;n++)l[k[n]]=h.getStyle(k[n]);return l;};})(),listDtdParents:CKEDITOR.dtd.parentOf('ol')},filters:{flattenList:function(h){var i=h.attributes,j=h.parent,k,l=1;while(j){j.attributes&&j.attributes['cke:list']&&l++;j=j.parent;}switch(i.type){case 'a':k='lower-alpha';break;}var m=h.children,n;for(var o=0;o<m.length;o++){n=m[o];var p=n.attributes;if(n.name in CKEDITOR.dtd.$listItem){var q=n.children,r=q.length,s=q[r-1];if(s.name in CKEDITOR.dtd.$list){m.splice(o+1,0,s);s.parent=h;if(!--q.length)m.splice(o,1);}n.name='cke:li';p['cke:indent']=l;f=0;p['cke:listtype']=h.name;k&&n.addStyle('list-style-type',k,true);}}delete h.name;i['cke:list']=1;},assembleList:function(h){var i=h.children,j,k,l,m,n,o,p,q,r;for(var s=0;s<i.length;s++){j=i[s];if('cke:li'==j.name){j.name='li';k=j;l=k.attributes;m=k.attributes['cke:listtype'];n=parseInt(l['cke:indent'],10)||e&&Math.ceil(l['cke:margin']/e)||1;l.style&&(l.style=CKEDITOR.plugins.pastefromword.filters.stylesFilter([['list-style-type',m=='ol'?'decimal':'disc']])(l.style)||'');if(!p){p=new CKEDITOR.htmlParser.element(m);p.add(k);i[s]=p;}else{if(n>r){p=new CKEDITOR.htmlParser.element(m);p.add(k);o.add(p);}else if(n<r){var t=r-n,u;while(t--&&(u=p.parent))p=u.parent;p.add(k);}else p.add(k);i.splice(s--,1);}o=k;r=n;}else p=null;}e=0;},falsyFilter:function(h){return false;},stylesFilter:function(h,i){return function(j,k){var l=[];j.replace(/&quot;/g,'"').replace(/\s*([^ :;]+)\s*:\s*([^;]+)\s*(?=;|$)/g,function(n,o,p){o=o.toLowerCase();o=='font-family'&&(p=p.replace(/["']/g,''));var q,r,s,t;for(var u=0;u<h.length;u++){if(h[u]){q=h[u][0];r=h[u][1];s=h[u][2];t=h[u][3];if(o.match(q)&&(!r||p.match(r))){o=t||o;i&&(s=s||p);if(typeof s=='function')s=s(p,k,o);if(s&&s.push)o=s[0],s=s[1];if(typeof s=='string')l.push([o,s]);return;}}}!i&&l.push([o,p]);});for(var m=0;m<l.length;m++)l[m]=l[m].join(':'); +return l.length?l.join(';')+';':false;};},elementMigrateFilter:function(h,i){return function(j){var k=i?new CKEDITOR.style(h,i)._.definition:h;j.name=k.element;CKEDITOR.tools.extend(j.attributes,CKEDITOR.tools.clone(k.attributes));j.addStyle(CKEDITOR.style.getStyleText(k));};},styleMigrateFilter:function(h,i){var j=this.elementMigrateFilter;return function(k,l){var m=new CKEDITOR.htmlParser.element(null),n={};n[i]=k;j(h,n)(m);m.children=l.children;l.children=[m];};},bogusAttrFilter:function(h,i){if(i.name.indexOf('cke:')==-1)return false;},applyStyleFilter:null},getRules:function(h){var i=CKEDITOR.dtd,j=CKEDITOR.tools.extend({},i.$block,i.$listItem,i.$tableContent),k=h.config,l=this.filters,m=l.falsyFilter,n=l.stylesFilter,o=l.elementMigrateFilter,p=CKEDITOR.tools.bind(this.filters.styleMigrateFilter,this.filters),q=l.bogusAttrFilter,r=this.utils.createListBulletMarker,s=l.flattenList,t=l.assembleList,u=this.utils.isListBulletIndicator,v=this.utils.isContainingOnlySpaces,w=this.utils.resolveList,x=this.utils.convertToPx,y=this.utils.getStyleComponents,z=this.utils.listDtdParents,A=k.pasteFromWordRemoveFontStyles!==false,B=k.pasteFromWordRemoveStyles!==false;return{elementNames:[[/meta|link|script/,'']],root:function(C){C.filterChildren();t(C);},elements:{'^':function(C){var D;if(CKEDITOR.env.gecko&&(D=l.applyStyleFilter))D(C);},$:function(C){var D=C.name||'',E=C.attributes;if(D in j&&E.style)E.style=n([[/^(:?width|height)$/,null,x]])(E.style)||'';if(D.match(/h\d/)){C.filterChildren();if(w(C))return;o(k['format_'+D])(C);}else if(D in i.$inline){C.filterChildren();if(v(C))delete C.name;}else if(D.indexOf(':')!=-1&&D.indexOf('cke')==-1){C.filterChildren();if(D=='v:imagedata'){var F=C.attributes['o:href'];if(F)C.attributes.src=F;C.name='img';return;}delete C.name;}if(D in z){C.filterChildren();t(C);}},style:function(C){if(CKEDITOR.env.gecko){var D=C.onlyChild().value.match(/\/\* Style Definitions \*\/([\s\S]*?)\/\*/),E=D&&D[1],F={};if(E){E.replace(/[\n\r]/g,'').replace(/(.+?)\{(.+?)\}/g,function(G,H,I){H=H.split(',');var J=H.length,K;for(var L=0;L<J;L++)CKEDITOR.tools.trim(H[L]).replace(/^(\w+)(\.[\w-]+)?$/g,function(M,N,O){N=N||'*';O=O.substring(1,O.length);if(O.match(/MsoNormal/))return;if(!F[N])F[N]={};if(O)F[N][O]=I;else F[N]=I;});});l.applyStyleFilter=function(G){var H=F['*']?'*':G.name,I=G.attributes&&G.attributes['class'],J;if(H in F){J=F[H];if(typeof J=='object')J=J[I];J&&G.addStyle(J,true);}};}}return false;},p:function(C){C.filterChildren();var D=C.attributes,E=C.parent,F=C.children; +if(w(C))return;if(k.enterMode==CKEDITOR.ENTER_BR){delete C.name;C.add(new CKEDITOR.htmlParser.element('br'));}else o(k['format_'+(k.enterMode==CKEDITOR.ENTER_P?'p':'div')])(C);},div:function(C){var D=C.onlyChild();if(D&&D.name=='table'){var E=C.attributes;D.attributes=CKEDITOR.tools.extend(D.attributes,E);E.style&&D.addStyle(E.style);var F=new CKEDITOR.htmlParser.element('div');F.addStyle('clear','both');C.add(F);delete C.name;}},td:function(C){if(C.getAncestor('thead'))C.name='th';},ol:s,ul:s,dl:s,font:function(C){if(!CKEDITOR.env.gecko&&u(C.parent)){delete C.name;return;}C.filterChildren();var D=C.attributes,E=D.style,F=C.parent;if('font'==F.name){CKEDITOR.tools.extend(F.attributes,C.attributes);E&&F.addStyle(E);delete C.name;return;}else{E=E||'';if(D.color){D.color!='#000000'&&(E+='color:'+D.color+';');delete D.color;}if(D.face){E+='font-family:'+D.face+';';delete D.face;}if(D.size){E+='font-size:'+(D.size>3?'large':D.size<3?'small':'medium')+';';delete D.size;}C.name='span';C.addStyle(E);}},span:function(C){if(!CKEDITOR.env.gecko&&u(C.parent))return false;C.filterChildren();if(v(C)){delete C.name;return null;}if(!CKEDITOR.env.gecko&&u(C)){var D=C.firstChild(function(K){return K.value||K.name=='img';}),E=D&&(D.value||'l.'),F=E.match(/^([^\s]+?)([.)]?)$/);return r(F,E);}var G=C.children,H=C.attributes,I=H&&H.style,J=G&&G[0];if(I)H.style=n([['line-height'],[/^font-family$/,null,!A?p(k.font_style,'family'):null],[/^font-size$/,null,!A?p(k.fontSize_style,'size'):null],[/^color$/,null,!A?p(k.colorButton_foreStyle,'color'):null],[/^background-color$/,null,!A?p(k.colorButton_backStyle,'color'):null]])(I,C)||'';return null;},b:o(k.coreStyles_bold),i:o(k.coreStyles_italic),u:o(k.coreStyles_underline),s:o(k.coreStyles_strike),sup:o(k.coreStyles_superscript),sub:o(k.coreStyles_subscript),a:function(C){var D=C.attributes;if(D&&!D.href&&D.name)delete C.name;},'cke:listbullet':function(C){if(C.getAncestor(/h\d/)&&!k.pasteFromWordNumberedHeadingToList)delete C.name;}},attributeNames:[[/^onmouse(:?out|over)/,''],[/^onload$/,''],[/(?:v|o):\w+/,''],[/^lang/,'']],attributes:{style:n(B?[[/^margin$|^margin-(?!bottom|top)/,null,function(C,D,E){if(D.name in {p:1,div:1}){var F=k.contentsLangDirection=='ltr'?'margin-left':'margin-right';if(E=='margin')C=y(E,C,[F])[F];else if(E!=F)return null;if(C&&!d.test(C))return[F,C];}return null;}],[/^clear$/],[/^border.*|margin.*|vertical-align|float$/,null,function(C,D){if(D.name=='img')return C;}],[/^width|height$/,null,function(C,D){if(D.name in {table:1,td:1,th:1,img:1})return C; +}]]:[[/^mso-/],[/-color$/,null,function(C){if(C=='transparent')return false;if(CKEDITOR.env.gecko)return C.replace(/-moz-use-text-color/g,'transparent');}],[/^margin$/,d],['text-indent','0cm'],['page-break-before'],['tab-stops'],['display','none'],A?[/font-?/]:null],B),width:function(C,D){if(D.name in i.$tableContent)return false;},border:function(C,D){if(D.name in i.$tableContent)return false;},'class':m,bgcolor:m,valign:B?m:function(C,D){D.addStyle('vertical-align',C);return false;}},comment:!CKEDITOR.env.ie?function(C,D){var E=C.match(/<img.*?>/),F=C.match(/^\[if !supportLists\]([\s\S]*?)\[endif\]$/);if(F){var G=F[1]||E&&'l.',H=G&&G.match(/>([^\s]+?)([.)]?)</);return r(H,G);}if(CKEDITOR.env.gecko&&E){var I=CKEDITOR.htmlParser.fragment.fromHtml(E[0]).children[0],J=D.previous,K=J&&J.value.match(/<v:imagedata[^>]*o:href=['"](.*?)['"]/),L=K&&K[1];L&&(I.attributes.src=L);return I;}return false;}:m};}};var g=function(){this.dataFilter=new CKEDITOR.htmlParser.filter();};g.prototype={toHtml:function(h){var i=CKEDITOR.htmlParser.fragment.fromHtml(h,false),j=new CKEDITOR.htmlParser.basicWriter();i.writeHtml(j,this.dataFilter);return j.getHtml(true);}};CKEDITOR.cleanWord=function(h,i){if(CKEDITOR.env.gecko)h=h.replace(/(<!--\[if[^<]*?\])-->([\S\s]*?)<!--(\[endif\]-->)/gi,'$1$2$3');var j=new g(),k=j.dataFilter;k.addRules(CKEDITOR.plugins.pastefromword.getRules(i));i.fire('beforeCleanWord',{filter:k});try{h=j.toHtml(h,false);}catch(l){alert(i.lang.pastefromword.error);}h=h.replace(/cke:.*?".*?"/g,'');h=h.replace(/style=""/g,'');h=h.replace(/<span>/g,'');return h;};})(); diff --git a/editor/editor/plugins/pastetext/dialogs/pastetext.js b/editor/editor/plugins/pastetext/dialogs/pastetext.js @@ -0,0 +1,6 @@ +/* +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(a){return{title:a.lang.pasteText.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?368:350,minHeight:240,onShow:function(){this.getContentElement('general','content').getInputElement().setValue('');},onOk:function(){var b=this.getContentElement('general','content').getInputElement().getValue(),c=this.getParentEditor();setTimeout(function(){c.fire('paste',{text:b});},0);},contents:[{label:a.lang.common.generalTab,id:'general',elements:[{type:'html',id:'pasteMsg',html:'<div style="white-space:normal;width:340px;">'+a.lang.clipboard.pasteMsg+'</div>'},{type:'html',id:'content',style:'width:340px;height:170px',html:'<textarea style="width:346px;height:170px;resize: none;border:1px solid black;background-color:white"></textarea>',onLoad:function(){var b=this.getDialog().getContentElement('general','pasteMsg').getElement(),c=this.getElement();c.setAttribute('aria-labelledby',b.$.id);},focus:function(){this.getElement().focus();}}]}]};});})(); diff --git a/editor/editor/plugins/placeholder/fck_placeholder.html b/editor/editor/plugins/placeholder/fck_placeholder.html @@ -1,100 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Placeholder Plugin. ---> -<html> - <head> - <title>Placeholder Properties</title> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta content="noindex, nofollow" name="robots"> - <script language="javascript"> - -var oEditor = window.parent.InnerDialogLoaded() ; -var FCKLang = oEditor.FCKLang ; -var FCKPlaceholders = oEditor.FCKPlaceholders ; - -window.onload = function () -{ - // First of all, translate the dialog box texts - oEditor.FCKLanguageManager.TranslatePage( document ) ; - - LoadSelected() ; - - // Show the "Ok" button. - window.parent.SetOkButton( true ) ; -} - -var eSelected = oEditor.FCKSelection.GetSelectedElement() ; - -function LoadSelected() -{ - if ( !eSelected ) - return ; - - if ( eSelected.tagName == 'SPAN' && eSelected._fckplaceholder ) - document.getElementById('txtName').value = eSelected._fckplaceholder ; - else - eSelected == null ; -} - -function Ok() -{ - var sValue = document.getElementById('txtName').value ; - - if ( eSelected && eSelected._fckplaceholder == sValue ) - return true ; - - if ( sValue.length == 0 ) - { - alert( FCKLang.PlaceholderErrNoName ) ; - return false ; - } - - if ( FCKPlaceholders.Exist( sValue ) ) - { - alert( FCKLang.PlaceholderErrNameInUse ) ; - return false ; - } - - FCKPlaceholders.Add( sValue ) ; - return true ; -} - - </script> - </head> - <body scroll="no" style="OVERFLOW: hidden"> - <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> - <tr> - <td> - <table cellSpacing="0" cellPadding="0" align="center" border="0"> - <tr> - <td> - <span fckLang="PlaceholderDlgName">Placeholder Name</span><br> - <input id="txtName" type="text"> - </td> - </tr> - </table> - </td> - </tr> - </table> - </body> -</html>- \ No newline at end of file diff --git a/editor/editor/plugins/placeholder/fckplugin.js b/editor/editor/plugins/placeholder/fckplugin.js @@ -1,187 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Plugin to insert "Placeholders" in the editor. - */ - -// Register the related command. -FCKCommands.RegisterCommand( 'Placeholder', new FCKDialogCommand( 'Placeholder', FCKLang.PlaceholderDlgTitle, FCKPlugins.Items['placeholder'].Path + 'fck_placeholder.html', 340, 170 ) ) ; - -// Create the "Plaholder" toolbar button. -var oPlaceholderItem = new FCKToolbarButton( 'Placeholder', FCKLang.PlaceholderBtn ) ; -oPlaceholderItem.IconPath = FCKPlugins.Items['placeholder'].Path + 'placeholder.gif' ; - -FCKToolbarItems.RegisterItem( 'Placeholder', oPlaceholderItem ) ; - - -// The object used for all Placeholder operations. -var FCKPlaceholders = new Object() ; - -// Add a new placeholder at the actual selection. -FCKPlaceholders.Add = function( name ) -{ - var oSpan = FCK.InsertElement( 'span' ) ; - this.SetupSpan( oSpan, name ) ; -} - -FCKPlaceholders.SetupSpan = function( span, name ) -{ - span.innerHTML = '[[ ' + name + ' ]]' ; - - span.style.backgroundColor = '#ffff00' ; - span.style.color = '#000000' ; - - if ( FCKBrowserInfo.IsGecko ) - span.style.cursor = 'default' ; - - span._fckplaceholder = name ; - span.contentEditable = false ; - - // To avoid it to be resized. - span.onresizestart = function() - { - FCK.EditorWindow.event.returnValue = false ; - return false ; - } -} - -// On Gecko we must do this trick so the user select all the SPAN when clicking on it. -FCKPlaceholders._SetupClickListener = function() -{ - FCKPlaceholders._ClickListener = function( e ) - { - if ( e.target.tagName == 'SPAN' && e.target._fckplaceholder ) - FCKSelection.SelectNode( e.target ) ; - } - - FCK.EditorDocument.addEventListener( 'click', FCKPlaceholders._ClickListener, true ) ; -} - -// Open the Placeholder dialog on double click. -FCKPlaceholders.OnDoubleClick = function( span ) -{ - if ( span.tagName == 'SPAN' && span._fckplaceholder ) - FCKCommands.GetCommand( 'Placeholder' ).Execute() ; -} - -FCK.RegisterDoubleClickHandler( FCKPlaceholders.OnDoubleClick, 'SPAN' ) ; - -// Check if a Placholder name is already in use. -FCKPlaceholders.Exist = function( name ) -{ - var aSpans = FCK.EditorDocument.getElementsByTagName( 'SPAN' ) ; - - for ( var i = 0 ; i < aSpans.length ; i++ ) - { - if ( aSpans[i]._fckplaceholder == name ) - return true ; - } - - return false ; -} - -if ( FCKBrowserInfo.IsIE ) -{ - FCKPlaceholders.Redraw = function() - { - if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) - return ; - - var aPlaholders = FCK.EditorDocument.body.innerText.match( /\[\[[^\[\]]+\]\]/g ) ; - if ( !aPlaholders ) - return ; - - var oRange = FCK.EditorDocument.body.createTextRange() ; - - for ( var i = 0 ; i < aPlaholders.length ; i++ ) - { - if ( oRange.findText( aPlaholders[i] ) ) - { - var sName = aPlaholders[i].match( /\[\[\s*([^\]]*?)\s*\]\]/ )[1] ; - oRange.pasteHTML( '<span style="color: #000000; background-color: #ffff00" contenteditable="false" _fckplaceholder="' + sName + '">' + aPlaholders[i] + '</span>' ) ; - } - } - } -} -else -{ - FCKPlaceholders.Redraw = function() - { - if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) - return ; - - var oInteractor = FCK.EditorDocument.createTreeWalker( FCK.EditorDocument.body, NodeFilter.SHOW_TEXT, FCKPlaceholders._AcceptNode, true ) ; - - var aNodes = new Array() ; - - while ( ( oNode = oInteractor.nextNode() ) ) - { - aNodes[ aNodes.length ] = oNode ; - } - - for ( var n = 0 ; n < aNodes.length ; n++ ) - { - var aPieces = aNodes[n].nodeValue.split( /(\[\[[^\[\]]+\]\])/g ) ; - - for ( var i = 0 ; i < aPieces.length ; i++ ) - { - if ( aPieces[i].length > 0 ) - { - if ( aPieces[i].indexOf( '[[' ) == 0 ) - { - var sName = aPieces[i].match( /\[\[\s*([^\]]*?)\s*\]\]/ )[1] ; - - var oSpan = FCK.EditorDocument.createElement( 'span' ) ; - FCKPlaceholders.SetupSpan( oSpan, sName ) ; - - aNodes[n].parentNode.insertBefore( oSpan, aNodes[n] ) ; - } - else - aNodes[n].parentNode.insertBefore( FCK.EditorDocument.createTextNode( aPieces[i] ) , aNodes[n] ) ; - } - } - - aNodes[n].parentNode.removeChild( aNodes[n] ) ; - } - - FCKPlaceholders._SetupClickListener() ; - } - - FCKPlaceholders._AcceptNode = function( node ) - { - if ( /\[\[[^\[\]]+\]\]/.test( node.nodeValue ) ) - return NodeFilter.FILTER_ACCEPT ; - else - return NodeFilter.FILTER_SKIP ; - } -} - -FCK.Events.AttachEvent( 'OnAfterSetHTML', FCKPlaceholders.Redraw ) ; - -// We must process the SPAN tags to replace then with the real resulting value of the placeholder. -FCKXHtml.TagProcessors['span'] = function( node, htmlNode ) -{ - if ( htmlNode._fckplaceholder ) - node = FCKXHtml.XML.createTextNode( '[[' + htmlNode._fckplaceholder + ']]' ) ; - else - FCKXHtml._AppendChildNodes( node, htmlNode, false ) ; - - return node ; -}- \ No newline at end of file diff --git a/editor/editor/plugins/placeholder/lang/de.js b/editor/editor/plugins/placeholder/lang/de.js @@ -1,27 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Placholder German language file. - */ -FCKLang.PlaceholderBtn = 'Einfügen/editieren Platzhalter' ; -FCKLang.PlaceholderDlgTitle = 'Platzhalter Eigenschaften' ; -FCKLang.PlaceholderDlgName = 'Platzhalter Name' ; -FCKLang.PlaceholderErrNoName = 'Bitte den Namen des Platzhalters schreiben' ; -FCKLang.PlaceholderErrNameInUse = 'Der angegebene Namen ist schon in Gebrauch' ;- \ No newline at end of file diff --git a/editor/editor/plugins/placeholder/lang/en.js b/editor/editor/plugins/placeholder/lang/en.js @@ -1,27 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Placholder English language file. - */ -FCKLang.PlaceholderBtn = 'Insert/Edit Placeholder' ; -FCKLang.PlaceholderDlgTitle = 'Placeholder Properties' ; -FCKLang.PlaceholderDlgName = 'Placeholder Name' ; -FCKLang.PlaceholderErrNoName = 'Please type the placeholder name' ; -FCKLang.PlaceholderErrNameInUse = 'The specified name is already in use' ;- \ No newline at end of file diff --git a/editor/editor/plugins/placeholder/lang/fr.js b/editor/editor/plugins/placeholder/lang/fr.js @@ -1,27 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Placeholder French language file. - */ -FCKLang.PlaceholderBtn = "Insérer/Modifier l'Espace réservé" ; -FCKLang.PlaceholderDlgTitle = "Propriétés de l'Espace réservé" ; -FCKLang.PlaceholderDlgName = "Nom de l'Espace réservé" ; -FCKLang.PlaceholderErrNoName = "Veuillez saisir le nom de l'Espace réservé" ; -FCKLang.PlaceholderErrNameInUse = "Ce nom est déjà utilisé" ; diff --git a/editor/editor/plugins/placeholder/lang/it.js b/editor/editor/plugins/placeholder/lang/it.js @@ -1,27 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Placholder Italian language file. - */ -FCKLang.PlaceholderBtn = 'Aggiungi/Modifica Placeholder' ; -FCKLang.PlaceholderDlgTitle = 'Proprietà del Placeholder' ; -FCKLang.PlaceholderDlgName = 'Nome del Placeholder' ; -FCKLang.PlaceholderErrNoName = 'Digitare il nome del placeholder' ; -FCKLang.PlaceholderErrNameInUse = 'Il nome inserito è già in uso' ; diff --git a/editor/editor/plugins/placeholder/lang/pl.js b/editor/editor/plugins/placeholder/lang/pl.js @@ -1,27 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Placholder Polish language file. - */ -FCKLang.PlaceholderBtn = 'Wstaw/Edytuj nagłówek' ; -FCKLang.PlaceholderDlgTitle = 'Właśności nagłówka' ; -FCKLang.PlaceholderDlgName = 'Nazwa nagłówka' ; -FCKLang.PlaceholderErrNoName = 'Proszę wprowadzić nazwę nagłówka' ; -FCKLang.PlaceholderErrNameInUse = 'Podana nazwa jest już w użyciu' ;- \ No newline at end of file diff --git a/editor/editor/plugins/placeholder/placeholder.gif b/editor/editor/plugins/placeholder/placeholder.gif Binary files differ. diff --git a/editor/editor/plugins/scayt/dialogs/options.js b/editor/editor/plugins/scayt/dialogs/options.js @@ -0,0 +1,8 @@ +/* +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(a){var b=true,c,d=CKEDITOR.document,e=[],f,g=[],h=false,i=['dic_create,dic_restore','dic_rename,dic_delete'],j=['mixedCase','mixedWithDigits','allCaps','ignoreDomainNames'];function k(){return document.forms.optionsbar.options;};function l(){return document.forms.languagesbar.scayt_lang;};function m(x,y){if(!x)return;var z=x.length;if(z==undefined){x.checked=x.value==y.toString();return;}for(var A=0;A<z;A++){x[A].checked=false;if(x[A].value==y.toString())x[A].checked=true;}};var n=[{id:'options',label:a.lang.scayt.optionsTab,elements:[{type:'html',id:'options',html:'<form name="optionsbar"><div class="inner_options">\t<div class="messagebox"></div>\t<div style="display:none;">\t\t<input type="checkbox" name="options" id="allCaps" />\t\t<label for="allCaps" id="label_allCaps"></label>\t</div>\t<div style="display:none;">\t\t<input name="options" type="checkbox" id="ignoreDomainNames" />\t\t<label for="ignoreDomainNames" id="label_ignoreDomainNames"></label>\t</div>\t<div style="display:none;">\t<input name="options" type="checkbox" id="mixedCase" />\t\t<label for="mixedCase" id="label_mixedCase"></label>\t</div>\t<div style="display:none;">\t\t<input name="options" type="checkbox" id="mixedWithDigits" />\t\t<label for="mixedWithDigits" id="label_mixedWithDigits"></label>\t</div></div></form>'}]},{id:'langs',label:a.lang.scayt.languagesTab,elements:[{type:'html',id:'langs',html:'<form name="languagesbar"><div class="inner_langs">\t<div class="messagebox"></div>\t <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:a.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;">\t<div style="margin:5px auto; width:80%;white-space:normal; overflow:hidden;" id="dic_message"> </div>\t<div style="margin:5px auto; width:80%;white-space:normal;"> <span class="cke_dialog_ui_labeled_label" >Dictionary name</span><br>\t\t<span class="cke_dialog_ui_labeled_content" >\t\t\t<div class="cke_dialog_ui_input_text">\t\t\t\t<input id="dic_name" type="text" class="cke_dialog_ui_input_text"/>\t\t</div></span></div>\t\t<div style="margin:5px auto; width:80%;white-space:normal;">\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_create">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_delete">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_rename">\t\t\t\t</a>\t\t\t<a style="display:none;" class="cke_dialog_ui_button" href="javascript:void(0)" id="dic_restore">\t\t\t\t</a>\t\t</div>\t<div style="margin:5px auto; width:95%;white-space:normal;" id="dic_info"></div></div></form>'}]},{id:'about',label:a.lang.scayt.aboutTab,elements:[{type:'html',id:'about',style:'margin: 5px 5px;',html:'<div id="scayt_about"></div>'}]}],o={title:a.lang.scayt.title,minWidth:360,minHeight:220,onShow:function(){var x=this; +x.data=a.fire('scaytDialog',{});x.options=x.data.scayt_control.option();x.sLang=x.data.scayt_control.sLang;if(!x.data||!x.data.scayt||!x.data.scayt_control){alert('Error loading application service');x.hide();return;}var y=0;if(b)x.data.scayt.getCaption(a.langCode||'en',function(z){if(y++>0)return;c=z;q.apply(x);r.apply(x);b=false;});else r.apply(x);x.selectPage(x.data.tab);},onOk:function(){var x=this.data.scayt_control;x.option(this.options);var y=this.chosed_lang;x.setLang(y);x.refresh();},onCancel:function(){var x=k();for(f in x)x[f].checked=false;m(l(),'');},contents:g},p=CKEDITOR.plugins.scayt.getScayt(a);e=CKEDITOR.plugins.scayt.uiTabs;for(f in e){if(e[f]==1)g[g.length]=n[f];}if(e[2]==1)h=true;var q=function(){var x=this,y=x.data.scayt.getLangList(),z=['dic_create','dic_delete','dic_rename','dic_restore'],A=j,B;if(h){for(B in z){var C=z[B];d.getById(C).setHtml('<span class="cke_dialog_ui_button">'+c['button_'+C]+'</span>');}d.getById('dic_info').setHtml(c.dic_info);}if(e[0]==1)for(B in A){var D='label_'+A[B],E=d.getById(D);if('undefined'!=typeof E&&'undefined'!=typeof c[D]&&'undefined'!=typeof x.options[A[B]]){E.setHtml(c[D]);var F=E.getParent();F.$.style.display='block';}}var G='<p>'+c.about_throwt_image+'</p>'+'<p>'+c.version+x.data.scayt.version.toString()+'</p>'+'<p>'+c.about_throwt_copy+'</p>';d.getById('scayt_about').setHtml(G);var H=function(R,S){var T=d.createElement('label');T.setAttribute('for','cke_option'+R);T.setHtml(S[R]);if(x.sLang==R)x.chosed_lang=R;var U=d.createElement('div'),V=CKEDITOR.dom.element.createFromHtml('<input id="cke_option'+R+'" type="radio" '+(x.sLang==R?'checked="checked"':'')+' value="'+R+'" name="scayt_lang" />');V.on('click',function(){this.$.checked=true;x.chosed_lang=R;});U.append(V);U.append(T);return{lang:S[R],code:R,radio:U};},I=[];if(e[1]==1){for(B in y.rtl)I[I.length]=H(B,y.ltr);for(B in y.ltr)I[I.length]=H(B,y.ltr);I.sort(function(R,S){return S.lang>R.lang?-1:1;});var J=d.getById('scayt_lcol'),K=d.getById('scayt_rcol');for(B=0;B<I.length;B++){var L=B<I.length/2?J:K;L.append(I[B].radio);}}var M={};M.dic_create=function(R,S,T){var U=T[0]+','+T[1],V=c.err_dic_create,W=c.succ_dic_create;window.scayt.createUserDictionary(S,function(X){v(U);u(T[1]);W=W.replace('%s',X.dname);t(W);},function(X){V=V.replace('%s',X.dname);s(V+'( '+(X.message||'')+')');});};M.dic_rename=function(R,S){var T=c.err_dic_rename||'',U=c.succ_dic_rename||'';window.scayt.renameUserDictionary(S,function(V){U=U.replace('%s',V.dname);w(S);t(U);},function(V){T=T.replace('%s',V.dname); +w(S);s(T+'( '+(V.message||'')+' )');});};M.dic_delete=function(R,S,T){var U=T[0]+','+T[1],V=c.err_dic_delete,W=c.succ_dic_delete;window.scayt.deleteUserDictionary(function(X){W=W.replace('%s',X.dname);v(U);u(T[0]);w('');t(W);},function(X){V=V.replace('%s',X.dname);s(V);});};M.dic_restore=x.dic_restore||(function(R,S,T){var U=T[0]+','+T[1],V=c.err_dic_restore,W=c.succ_dic_restore;window.scayt.restoreUserDictionary(S,function(X){W=W.replace('%s',X.dname);v(U);u(T[1]);t(W);},function(X){V=V.replace('%s',X.dname);s(V);});});function N(R){var S=d.getById('dic_name').getValue();if(!S){s(' Dictionary name should not be empty. ');return false;}try{var T=id=R.data.getTarget().getParent(),U=T.getId();M[U].apply(null,[T,S,i]);}catch(V){s(' Dictionary error. ');}return true;};var O=(i[0]+','+i[1]).split(','),P;for(B=0,P=O.length;B<P;B+=1){var Q=d.getById(O[B]);if(Q)Q.on('click',N,this);}},r=function(){var x=this;if(e[0]==1){var y=k();for(var z=0,A=y.length;z<A;z++){var B=y[z].id,C=d.getById(B);if(C){y[z].checked=false;if(x.options[B]==1)y[z].checked=true;if(b)C.on('click',function(){x.options[this.getId()]=this.$.checked?1:0;});}}}if(e[1]==1){var D=d.getById('cke_option'+x.sLang);m(D.$,x.sLang);}if(h){window.scayt.getNameUserDictionary(function(E){var F=E.dname;v(i[0]+','+i[1]);if(F){d.getById('dic_name').setValue(F);u(i[1]);}else u(i[0]);},function(){d.getById('dic_name').setValue('');});t('');}};function s(x){d.getById('dic_message').setHtml('<span style="color:red;">'+x+'</span>');};function t(x){d.getById('dic_message').setHtml('<span style="color:blue;">'+x+'</span>');};function u(x){x=String(x);var y=x.split(',');for(var z=0,A=y.length;z<A;z+=1)d.getById(y[z]).$.style.display='inline';};function v(x){x=String(x);var y=x.split(',');for(var z=0,A=y.length;z<A;z+=1)d.getById(y[z]).$.style.display='none';};function w(x){d.getById('dic_name').$.value=x;};return o;}); diff --git a/editor/editor/plugins/scayt/dialogs/toolbar.css b/editor/editor/plugins/scayt/dialogs/toolbar.css @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +a{text-decoration:none;padding:2px 4px 4px 6px;display:block;border-width:1px;border-style:solid;margin:0;}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:0;}a.cke_scayt_toogle{color:#316ac5;border-color:#fff;}.scayt_enabled a.cke_scayt_item{color:#316ac5;border-color:#fff;margin:0;}.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/editor/editor/plugins/showblocks/images/block_address.png b/editor/editor/plugins/showblocks/images/block_address.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_blockquote.png b/editor/editor/plugins/showblocks/images/block_blockquote.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_div.png b/editor/editor/plugins/showblocks/images/block_div.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_h1.png b/editor/editor/plugins/showblocks/images/block_h1.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_h2.png b/editor/editor/plugins/showblocks/images/block_h2.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_h3.png b/editor/editor/plugins/showblocks/images/block_h3.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_h4.png b/editor/editor/plugins/showblocks/images/block_h4.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_h5.png b/editor/editor/plugins/showblocks/images/block_h5.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_h6.png b/editor/editor/plugins/showblocks/images/block_h6.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_p.png b/editor/editor/plugins/showblocks/images/block_p.png Binary files differ. diff --git a/editor/editor/plugins/showblocks/images/block_pre.png b/editor/editor/plugins/showblocks/images/block_pre.png Binary files differ. diff --git a/editor/editor/plugins/simplecommands/fckplugin.js b/editor/editor/plugins/simplecommands/fckplugin.js @@ -1,29 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This plugin register Toolbar items for the combos modifying the style to - * not show the box. - */ - -FCKToolbarItems.RegisterItem( 'SourceSimple' , new FCKToolbarButton( 'Source', FCKLang.Source, null, FCK_TOOLBARITEM_ONLYICON, true, true, 1 ) ) ; -FCKToolbarItems.RegisterItem( 'StyleSimple' , new FCKToolbarStyleCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; -FCKToolbarItems.RegisterItem( 'FontNameSimple' , new FCKToolbarFontsCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; -FCKToolbarItems.RegisterItem( 'FontSizeSimple' , new FCKToolbarFontSizeCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; -FCKToolbarItems.RegisterItem( 'FontFormatSimple', new FCKToolbarFontFormatCombo( null, FCK_TOOLBARITEM_ONLYTEXT ) ) ; diff --git a/editor/editor/plugins/specialchar/dialogs/specialchar.js b/editor/editor/plugins/specialchar/dialogs/specialchar.js @@ -0,0 +1,7 @@ +/* +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(a){var b,c=a.lang.specialChar,d=function(j){var k,l;if(j.data)k=j.data.getTarget();else k=new CKEDITOR.dom.element(j);if(k.getName()=='a'&&(l=k.getChild(0).getHtml())){k.removeClass('cke_light_background');b.hide();a.insertHtml(l);}},e=CKEDITOR.tools.addFunction(d),f,g=function(j,k){var l;k=k||j.data.getTarget();if(k.getName()=='span')k=k.getParent();if(k.getName()=='a'&&(l=k.getChild(0).getHtml())){if(f)h(null,f);var m=b.getContentElement('info','htmlPreview').getElement();b.getContentElement('info','charPreview').getElement().setHtml(l);m.setHtml(CKEDITOR.tools.htmlEncode(l));k.getParent().addClass('cke_light_background');f=k;}},h=function(j,k){k=k||j.data.getTarget();if(k.getName()=='span')k=k.getParent();if(k.getName()=='a'){b.getContentElement('info','charPreview').getElement().setHtml('&nbsp;');b.getContentElement('info','htmlPreview').getElement().setHtml('&nbsp;');k.getParent().removeClass('cke_light_background');f=undefined;}},i=CKEDITOR.tools.addFunction(function(j){j=new CKEDITOR.dom.event(j);var k=j.getTarget(),l,m,n=j.getKeystroke();switch(n){case 38:if(l=k.getParent().getParent().getPrevious()){m=l.getChild([k.getParent().getIndex(),0]);m.focus();h(null,k);g(null,m);}j.preventDefault();break;case 40:if(l=k.getParent().getParent().getNext()){m=l.getChild([k.getParent().getIndex(),0]);if(m&&m.type==1){m.focus();h(null,k);g(null,m);}}j.preventDefault();break;case 32:d({data:j});j.preventDefault();break;case 39:case 9:if(l=k.getParent().getNext()){m=l.getChild(0);if(m.type==1){m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);}else if(l=k.getParent().getParent().getNext()){m=l.getChild([0,0]);if(m&&m.type==1){m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);}break;case 37:case CKEDITOR.SHIFT+9:if(l=k.getParent().getPrevious()){m=l.getChild(0);m.focus();h(null,k);g(null,m);j.preventDefault(true);}else if(l=k.getParent().getParent().getPrevious()){m=l.getLast().getChild(0);m.focus();h(null,k);g(null,m);j.preventDefault(true);}else h(null,k);break;default:return;}});return{title:c.title,minWidth:430,minHeight:280,buttons:[CKEDITOR.dialog.cancelButton],charColumns:17,chars:['!','&quot;','#','$','%','&amp;',"'",'(',')','*','+','-','.','/','0','1','2','3','4','5','6','7','8','9',':',';','&lt;','=','&gt;','?','@','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;(EURO SIGN)','&lsquo;(LEFT SINGLE QUOTATION MARK)','&rsquo;(RIGHT SINGLE QUOTATION MARK)','&ldquo;(LEFT DOUBLE QUOTATION MARK)','&rdquo;(RIGHT DOUBLE QUOTATION MARK)','&ndash;(EN DASH)','&mdash;(EM DASH)','&iexcl;(INVERTED EXCLAMATION MARK)','&cent;(CENT SIGN)','&pound;(POUND SIGN)','&curren;(CURRENCY SIGN)','&yen;(YEN SIGN)','&brvbar;(BROKEN BAR)','&sect;(SECTION SIGN)','&uml;(DIAERESIS)','&copy;(COPYRIGHT SIGN)','&ordf;(FEMININE ORDINAL INDICATOR)','&laquo;(LEFT-POINTING DOUBLE ANGLE QUOTATION MARK)','&not;(NOT SIGN)','&reg;(REGISTERED SIGN)','&macr;(MACRON)','&deg;(DEGREE SIGN)','&plusmn;(PLUS-MINUS SIGN)','&sup2;(SUPERSCRIPT TWO)','&sup3;(SUPERSCRIPT THREE)','&acute;(ACUTE ACCENT)','&micro;(MICRO SIGN)','&para;(PILCROW SIGN)','&middot;(MIDDLE DOT)','&cedil;(CEDILLA)','&sup1;(SUPERSCRIPT ONE)','&ordm;(MASCULINE ORDINAL INDICATOR)','&raquo;(RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK)','&frac14;(VULGAR FRACTION ONE QUARTER)','&frac12;(VULGAR FRACTION ONE HALF)','&frac34;(VULGAR FRACTION THREE QUARTERS)','&iquest;(INVERTED QUESTION MARK)','&Agrave;(LATIN CAPITAL LETTER A WITH GRAVE)','&Aacute;(LATIN CAPITAL LETTER A WITH ACUTE)','&Acirc;(LATIN CAPITAL LETTER A WITH CIRCUMFLEX)','&Atilde;(LATIN CAPITAL LETTER A WITH TILDE)','&Auml;(LATIN CAPITAL LETTER A WITH DIAERESIS)','&Aring;(LATIN CAPITAL LETTER A WITH RING ABOVE)','&AElig;(LATIN CAPITAL LETTER AE)','&Ccedil;(LATIN CAPITAL LETTER C WITH CEDILLA)','&Egrave;(LATIN CAPITAL LETTER E WITH GRAVE)','&Eacute;(LATIN CAPITAL LETTER E WITH ACUTE)','&Ecirc;(LATIN CAPITAL LETTER E WITH CIRCUMFLEX)','&Euml;(LATIN CAPITAL LETTER E WITH DIAERESIS)','&Igrave;(LATIN CAPITAL LETTER I WITH GRAVE)','&Iacute;(LATIN CAPITAL LETTER I WITH ACUTE)','&Icirc;(LATIN CAPITAL LETTER I WITH CIRCUMFLEX)','&Iuml;(LATIN CAPITAL LETTER I WITH DIAERESIS)','&ETH;(LATIN CAPITAL LETTER ETH)','&Ntilde;(LATIN CAPITAL LETTER N WITH TILDE)','&Ograve;(LATIN CAPITAL LETTER O WITH GRAVE)','&Oacute;(LATIN CAPITAL LETTER O WITH ACUTE)','&Ocirc;(LATIN CAPITAL LETTER O WITH CIRCUMFLEX)','&Otilde;(LATIN CAPITAL LETTER O WITH TILDE)','&Ouml;(LATIN CAPITAL LETTER O WITH DIAERESIS)','&times;(MULTIPLICATION SIGN)','&Oslash;(LATIN CAPITAL LETTER O WITH STROKE)','&Ugrave;(LATIN CAPITAL LETTER U WITH GRAVE)','&Uacute;(LATIN CAPITAL LETTER U WITH ACUTE)','&Ucirc;(LATIN CAPITAL LETTER U WITH CIRCUMFLEX)','&Uuml;(LATIN CAPITAL LETTER U WITH DIAERESIS)','&Yacute;(LATIN CAPITAL LETTER Y WITH ACUTE)','&THORN;(LATIN CAPITAL LETTER THORN)','&szlig;(LATIN SMALL LETTER SHARP S)','&agrave;(LATIN SMALL LETTER A WITH GRAVE)','&aacute;(LATIN SMALL LETTER A WITH ACUTE)','&acirc;(LATIN SMALL LETTER A WITH CIRCUMFLEX)','&atilde;(LATIN SMALL LETTER A WITH TILDE)','&auml;(LATIN SMALL LETTER A WITH DIAERESIS)','&aring;(LATIN SMALL LETTER A WITH RING ABOVE)','&aelig;(LATIN SMALL LETTER AE)','&ccedil;(LATIN SMALL LETTER C WITH CEDILLA)','&egrave;(LATIN SMALL LETTER E WITH GRAVE)','&eacute;(LATIN SMALL LETTER E WITH ACUTE)','&ecirc;(LATIN SMALL LETTER E WITH CIRCUMFLEX)','&euml;(LATIN SMALL LETTER E WITH DIAERESIS)','&igrave;(LATIN SMALL LETTER I WITH GRAVE)','&iacute;(LATIN SMALL LETTER I WITH ACUTE)','&icirc;(LATIN SMALL LETTER I WITH CIRCUMFLEX)','&iuml;(LATIN SMALL LETTER I WITH DIAERESIS)','&eth;(LATIN SMALL LETTER ETH)','&ntilde;(LATIN SMALL LETTER N WITH TILDE)','&ograve;(LATIN SMALL LETTER O WITH GRAVE)','&oacute;(LATIN SMALL LETTER O WITH ACUTE)','&ocirc;(LATIN SMALL LETTER O WITH CIRCUMFLEX)','&otilde;(LATIN SMALL LETTER O WITH TILDE)','&ouml;(LATIN SMALL LETTER O WITH DIAERESIS)','&divide;(DIVISION SIGN)','&oslash;(LATIN SMALL LETTER O WITH STROKE)','&ugrave;(LATIN SMALL LETTER U WITH GRAVE)','&uacute;(LATIN SMALL LETTER U WITH ACUTE)','&ucirc;(LATIN SMALL LETTER U WITH CIRCUMFLEX)','&uuml;(LATIN SMALL LETTER U WITH DIAERESIS)','&uuml;(LATIN SMALL LETTER U WITH DIAERESIS)','&yacute;(LATIN SMALL LETTER Y WITH ACUTE)','&thorn;(LATIN SMALL LETTER THORN)','&yuml;(LATIN SMALL LETTER Y WITH DIAERESIS)','&OElig;(LATIN CAPITAL LIGATURE OE)','&oelig;(LATIN SMALL LIGATURE OE)','&#372;(LATIN CAPITAL LETTER W WITH CIRCUMFLEX)','&#374(LATIN CAPITAL LETTER Y WITH CIRCUMFLEX)','&#373(LATIN SMALL LETTER W WITH CIRCUMFLEX)','&#375;(LATIN SMALL LETTER Y WITH CIRCUMFLEX)','&sbquo;(SINGLE LOW-9 QUOTATION MARK)','&#8219;(SINGLE HIGH-REVERSED-9 QUOTATION MARK)','&bdquo;(DOUBLE LOW-9 QUOTATION MARK)','&hellip;(HORIZONTAL ELLIPSIS)','&trade;(TRADE MARK SIGN)','&#9658;(BLACK RIGHT-POINTING POINTER)','&bull;(BULLET)','&rarr;(RIGHTWARDS ARROW)','&rArr;(RIGHTWARDS DOUBLE ARROW)','&hArr;(LEFT RIGHT DOUBLE ARROW)','&diams;(BLACK DIAMOND SUIT)','&asymp;(ALMOST EQUAL TO)'],onLoad:function(){var j=this.definition.charColumns,k=this.definition.chars,l=['<table role="listbox" aria-labelledby="specialchar_table_label" style="width: 320px; height: 100%; border-collapse: separate;" align="center" cellspacing="2" cellpadding="2" border="0">'],m=0,n=k.length,o,p; +while(m<n){l.push('<tr>');for(var q=0;q<j;q++,m++){if(o=k[m]){p='';o=o.replace(/\((.*?)\)/,function(r,s){p=s;return '';});p=p||o;l.push('<td class="cke_dark_background" style="cursor: default"><a href="javascript: void(0);" role="option" aria-posinset="'+(m+1)+'"',' aria-setsize="'+n+'"',' aria-labelledby="cke_specialchar_label_'+m+'"',' style="cursor: inherit; display: block; height: 1.25em; margin-top: 0.25em; text-align: center;" title="',CKEDITOR.tools.htmlEncode(p),'" onkeydown="CKEDITOR.tools.callFunction( '+i+', event, this )"'+' onclick="CKEDITOR.tools.callFunction('+e+', this); return false;"'+' tabindex="-1">'+'<span style="margin: 0 auto;cursor: inherit">'+o+'</span>'+'<span class="cke_voice_label" id="cke_specialchar_label_'+m+'">'+p+'</span></a>');}else l.push('<td class="cke_dark_background">&nbsp;');l.push('</td>');}l.push('</tr>');}l.push('</tbody></table>','<span id="specialchar_table_label" class="cke_voice_label">'+a.lang.common.options+'</span>');this.getContentElement('info','charContainer').getElement().setHtml(l.join(''));},contents:[{id:'info',label:a.lang.common.generalTab,title:a.lang.common.generalTab,padding:0,align:'top',elements:[{type:'hbox',align:'top',widths:['320px','90px'],children:[{type:'html',id:'charContainer',html:'',onMouseover:g,onMouseout:h,focus:function(){var j=this.getElement().getElementsByTag('a').getItem(0);setTimeout(function(){j.focus();g(null,j);});},onShow:function(){var j=this.getElement().getChild([0,0,0,0,0]);setTimeout(function(){j.focus();g(null,j);});},onLoad:function(j){b=j.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>&nbsp;</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>&nbsp;</div>'}]}]}]}]}]};}); diff --git a/editor/editor/plugins/stylescombo/styles/default.js b/editor/editor/plugins/stylescombo/styles/default.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.stylesSet.add('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{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'}},{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'}}]); diff --git a/editor/editor/plugins/table/dialogs/table.js b/editor/editor/plugins/table/dialogs/table.js @@ -0,0 +1,9 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){var a=/^(\d+(?:\.\d+)?)(px|%)$/,b=/^(\d+(?:\.\d+)?)px$/,c=function(e){var f=this.id;if(!e.info)e.info={};e.info[f]=this.getValue();};function d(e,f){var g=function(h){return new CKEDITOR.dom.element(h,e.document);};return{title:e.lang.table.title,minWidth:310,minHeight:CKEDITOR.env.ie?310:280,onShow:function(){var o=this;var h=e.getSelection(),i=h.getRanges(),j=null,k=o.getContentElement('info','txtRows'),l=o.getContentElement('info','txtCols'),m=o.getContentElement('info','txtWidth');if(f=='tableProperties'){if(j=e.getSelection().getSelectedElement()){if(j.getName()!='table')j=null;}else if(i.length>0){var n=i[0].getCommonAncestor(true);j=n.getAscendant('table',true);}o._.selectedElement=j;}if(j){o.setupContent(j);k&&k.disable();l&&l.disable();m&&m.select();}else{k&&k.enable();l&&l.enable();k&&k.select();}},onOk:function(){var C=this;if(C._.selectedElement)var h=e.getSelection(),i=e.getSelection().createBookmarks();var j=C._.selectedElement||g('table'),k=C,l={};C.commitContent(l,j);if(l.info){var m=l.info;if(!C._.selectedElement){var n=j.append(g('tbody')),o=parseInt(m.txtRows,10)||0,p=parseInt(m.txtCols,10)||0;for(var q=0;q<o;q++){var r=n.append(g('tr'));for(var s=0;s<p;s++){var t=r.append(g('td'));if(!CKEDITOR.env.ie)t.append(g('br'));}}}var u=m.selHeaders;if(!j.$.tHead&&(u=='row'||u=='both')){var v=new CKEDITOR.dom.element(j.$.createTHead());n=j.getElementsByTag('tbody').getItem(0);var w=n.getElementsByTag('tr').getItem(0);for(q=0;q<w.getChildCount();q++){var x=w.getChild(q);if(x.type==CKEDITOR.NODE_ELEMENT){x.renameNode('th');x.setAttribute('scope','col');}}v.append(w.remove());}if(j.$.tHead!==null&&!(u=='row'||u=='both')){v=new CKEDITOR.dom.element(j.$.tHead);n=j.getElementsByTag('tbody').getItem(0);var y=n.getFirst();while(v.getChildCount()>0){w=v.getFirst();for(q=0;q<w.getChildCount();q++){var z=w.getChild(q);if(z.type==CKEDITOR.NODE_ELEMENT){z.renameNode('td');z.removeAttribute('scope');}}w.insertBefore(y);}v.remove();}if(!C.hasColumnHeaders&&(u=='col'||u=='both'))for(r=0;r<j.$.rows.length;r++){z=new CKEDITOR.dom.element(j.$.rows[r].cells[0]);z.renameNode('th');z.setAttribute('scope','row');}if(C.hasColumnHeaders&&!(u=='col'||u=='both'))for(q=0;q<j.$.rows.length;q++){r=new CKEDITOR.dom.element(j.$.rows[q]);if(r.getParent().getName()=='tbody'){z=new CKEDITOR.dom.element(r.$.cells[0]);z.renameNode('td');z.removeAttribute('scope');}}var A=[];if(m.txtHeight)j.setStyle('height',CKEDITOR.tools.cssLength(m.txtHeight));else j.removeStyle('height'); +if(m.txtWidth){var B=m.cmbWidthType||'pixels';j.setStyle('width',m.txtWidth+(B=='pixels'?'px':'%'));}else j.removeStyle('width');if(!j.getAttribute('style'))j.removeAttribute('style');}if(!C._.selectedElement)e.insertElement(j);else h.selectBookmarks(i);return true;},contents:[{id:'info',label:e.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:e.lang.table.rows,style:'width:5em',validate:function(){var h=true,i=this.getValue();h=h&&CKEDITOR.dialog.validate.integer()(i)&&i>0;if(!h){alert(e.lang.table.invalidRows);this.select();}return h;},setup:function(h){this.setValue(h.$.rows.length);},commit:c},{type:'text',id:'txtCols','default':2,label:e.lang.table.columns,style:'width:5em',validate:function(){var h=true,i=this.getValue();h=h&&CKEDITOR.dialog.validate.integer()(i)&&i>0;if(!h){alert(e.lang.table.invalidCols);this.select();}return h;},setup:function(h){this.setValue(h.$.rows[0].cells.length);},commit:c},{type:'html',html:'&nbsp;'},{type:'select',id:'selHeaders','default':'',label:e.lang.table.headers,items:[[e.lang.table.headersNone,''],[e.lang.table.headersRow,'row'],[e.lang.table.headersColumn,'col'],[e.lang.table.headersBoth,'both']],setup:function(h){var i=this.getDialog();i.hasColumnHeaders=true;for(var j=0;j<h.$.rows.length;j++){if(h.$.rows[j].cells[0].nodeName.toLowerCase()!='th'){i.hasColumnHeaders=false;break;}}if(h.$.tHead!==null)this.setValue(i.hasColumnHeaders?'both':'row');else this.setValue(i.hasColumnHeaders?'col':'');},commit:c},{type:'text',id:'txtBorder','default':1,label:e.lang.table.border,style:'width:3em',validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidBorder),setup:function(h){this.setValue(h.getAttribute('border')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('border',this.getValue());else i.removeAttribute('border');}},{id:'cmbAlign',type:'select','default':'',label:e.lang.table.align,items:[[e.lang.common.notSet,''],[e.lang.table.alignLeft,'left'],[e.lang.table.alignCenter,'center'],[e.lang.table.alignRight,'right']],setup:function(h){this.setValue(h.getAttribute('align')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('align',this.getValue());else i.removeAttribute('align');}}]},{type:'vbox',padding:0,children:[{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtWidth',style:'width:5em',label:e.lang.table.width,'default':200,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidWidth),onLoad:function(){var h=this.getDialog().getContentElement('info','cmbWidthType'),i=h.getElement(),j=this.getInputElement(),k=j.getAttribute('aria-labelledby'); +j.setAttribute('aria-labelledby',[k,i.$.id].join(' '));},setup:function(h){var i=a.exec(h.$.style.width);if(i)this.setValue(i[1]);else this.setValue('');},commit:c},{id:'cmbWidthType',type:'select',label:e.lang.table.widthUnit,labelStyle:'visibility:hidden','default':'pixels',items:[[e.lang.table.widthPx,'pixels'],[e.lang.table.widthPc,'percents']],setup:function(h){var i=a.exec(h.$.style.width);if(i)this.setValue(i[2]=='px'?'pixels':'percents');},commit:c}]},{type:'hbox',widths:['5em'],children:[{type:'text',id:'txtHeight',style:'width:5em',label:e.lang.table.height,'default':'',validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidHeight),onLoad:function(){var h=this.getDialog().getContentElement('info','htmlHeightType'),i=h.getElement(),j=this.getInputElement(),k=j.getAttribute('aria-labelledby');j.setAttribute('aria-labelledby',[k,i.$.id].join(' '));},setup:function(h){var i=b.exec(h.$.style.height);if(i)this.setValue(i[1]);},commit:c},{id:'htmlHeightType',type:'html',html:'<div><br />'+e.lang.table.widthPx+'</div>'}]},{type:'html',html:'&nbsp;'},{type:'text',id:'txtCellSpace',style:'width:3em',label:e.lang.table.cellSpace,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellSpacing),setup:function(h){this.setValue(h.getAttribute('cellSpacing')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('cellSpacing',this.getValue());else i.removeAttribute('cellSpacing');}},{type:'text',id:'txtCellPad',style:'width:3em',label:e.lang.table.cellPad,'default':1,validate:CKEDITOR.dialog.validate.number(e.lang.table.invalidCellPadding),setup:function(h){this.setValue(h.getAttribute('cellPadding')||'');},commit:function(h,i){if(this.getValue())i.setAttribute('cellPadding',this.getValue());else i.removeAttribute('cellPadding');}}]}]},{type:'html',align:'right',html:''},{type:'vbox',padding:0,children:[{type:'text',id:'txtCaption',label:e.lang.table.caption,setup:function(h){var i=h.getElementsByTag('caption');if(i.count()>0){var j=i.getItem(0);j=j.getChild(0)&&j.getChild(0).getText()||'';j=CKEDITOR.tools.trim(j);this.setValue(j);}},commit:function(h,i){var j=this.getValue(),k=i.getElementsByTag('caption');if(j){if(k.count()>0){k=k.getItem(0);k.setHtml('');}else{k=new CKEDITOR.dom.element('caption',e.document);if(i.getChildCount())k.insertBefore(i.getFirst());else k.appendTo(i);}k.append(new CKEDITOR.dom.text(j,e.document));}else if(k.count()>0)for(var l=k.count()-1;l>=0;l--)k.getItem(l).remove();}},{type:'text',id:'txtSummary',label:e.lang.table.summary,setup:function(h){this.setValue(h.getAttribute('summary')||''); +},commit:function(h,i){if(this.getValue())i.setAttribute('summary',this.getValue());}}]}]}]};};CKEDITOR.dialog.add('table',function(e){return d(e,'table');});CKEDITOR.dialog.add('tableProperties',function(e){return d(e,'tableProperties');});})(); diff --git a/editor/editor/plugins/tablecommands/fckplugin.js b/editor/editor/plugins/tablecommands/fckplugin.js @@ -1,33 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This plugin register the required Toolbar items to be able to insert the - * table commands in the toolbar. - */ - -FCKToolbarItems.RegisterItem( 'TableInsertRowAfter' , new FCKToolbarButton( 'TableInsertRowAfter' , FCKLang.InsertRowAfter, null, null, null, true, 62 ) ) ; -FCKToolbarItems.RegisterItem( 'TableDeleteRows' , new FCKToolbarButton( 'TableDeleteRows' , FCKLang.DeleteRows, null, null, null, true, 63 ) ) ; -FCKToolbarItems.RegisterItem( 'TableInsertColumnAfter' , new FCKToolbarButton( 'TableInsertColumnAfter' , FCKLang.InsertColumnAfter, null, null, null, true, 64 ) ) ; -FCKToolbarItems.RegisterItem( 'TableDeleteColumns' , new FCKToolbarButton( 'TableDeleteColumns', FCKLang.DeleteColumns, null, null, null, true, 65 ) ) ; -FCKToolbarItems.RegisterItem( 'TableInsertCellAfter' , new FCKToolbarButton( 'TableInsertCellAfter' , FCKLang.InsertCellAfter, null, null, null, true, 58 ) ) ; -FCKToolbarItems.RegisterItem( 'TableDeleteCells' , new FCKToolbarButton( 'TableDeleteCells' , FCKLang.DeleteCells, null, null, null, true, 59 ) ) ; -FCKToolbarItems.RegisterItem( 'TableMergeCells' , new FCKToolbarButton( 'TableMergeCells' , FCKLang.MergeCells, null, null, null, true, 60 ) ) ; -FCKToolbarItems.RegisterItem( 'TableHorizontalSplitCell' , new FCKToolbarButton( 'TableHorizontalSplitCell' , FCKLang.SplitCell, null, null, null, true, 61 ) ) ; -FCKToolbarItems.RegisterItem( 'TableCellProp' , new FCKToolbarButton( 'TableCellProp' , FCKLang.CellProperties, null, null, null, true, 57 ) ) ; diff --git a/editor/editor/plugins/tabletools/dialogs/tableCell.js b/editor/editor/plugins/tabletools/dialogs/tableCell.js @@ -0,0 +1,8 @@ +/* +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(a){var b=a.lang.table,c=b.cell,d=a.lang.common,e=CKEDITOR.dialog.validate,f=/^(\d+(?:\.\d+)?)(px|%)$/,g=/^(\d+(?:\.\d+)?)px$/,h=CKEDITOR.tools.bind;function i(){return{type:'html',html:'&nbsp;'};};function j(k,l){var m=function(){p(this);l(this);},n=function(){p(this);},o=function(q){q.on('ok',m);q.on('cancel',n);},p=function(q){q.removeListener('ok',m);q.removeListener('cancel',n);};a.execCommand(k);if(a._.storedDialogs.colordialog)o(a._.storedDialogs.colordialog);else CKEDITOR.on('dialogDefinition',function(q){if(q.data.name!=k)return;var r=q.data.definition;q.removeListener();r.onLoad=CKEDITOR.tools.override(r.onLoad,function(s){return function(){o(this);r.onLoad=s;if(typeof s=='function')s.call(this);};});});};return{title:c.title,minWidth:CKEDITOR.env.ie&&CKEDITOR.env.quirks?550:480,minHeight:CKEDITOR.env.ie?CKEDITOR.env.quirks?180:150:140,contents:[{id:'info',label:c.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:b.width,widths:['71%','29%'],labelLayout:'horizontal',validate:e.number(c.invalidWidth),onLoad:function(){var k=this.getDialog().getContentElement('info','widthType'),l=k.getElement(),m=this.getInputElement(),n=m.getAttribute('aria-labelledby');m.setAttribute('aria-labelledby',[n,l.$.id].join(' '));},setup:function(k){var l=parseInt(k.getAttribute('width'),10),m=parseInt(k.getStyle('width'),10);!isNaN(l)&&this.setValue(l);!isNaN(m)&&this.setValue(m);},commit:function(k){var l=parseInt(this.getValue(),10),m=this.getDialog().getValueOf('info','widthType');if(!isNaN(l))k.setStyle('width',l+m);else k.removeStyle('width');k.removeAttribute('width');},'default':''},{type:'select',id:'widthType',labelLayout:'horizontal',widths:['0%','100%'],label:a.lang.table.widthUnit,labelStyle:'display:none','default':'px',items:[[b.widthPx,'px'],[b.widthPc,'%']],setup:function(k){var l=f.exec(k.$.style.width);if(l)this.setValue(l[2]);}}]},{type:'hbox',widths:['70%','30%'],children:[{type:'text',id:'height',label:b.height,'default':'',widths:['71%','29%'],labelLayout:'horizontal',validate:e.number(c.invalidHeight),onLoad:function(){var k=this.getDialog().getContentElement('info','htmlHeightType'),l=k.getElement(),m=this.getInputElement(),n=m.getAttribute('aria-labelledby');m.setAttribute('aria-labelledby',[n,l.$.id].join(' '));},setup:function(k){var l=parseInt(k.getAttribute('height'),10),m=parseInt(k.getStyle('height'),10); +!isNaN(l)&&this.setValue(l);!isNaN(m)&&this.setValue(m);},commit:function(k){var l=parseInt(this.getValue(),10);if(!isNaN(l))k.setStyle('height',CKEDITOR.tools.cssLength(l));else k.removeStyle('height');k.removeAttribute('height');}},{id:'htmlHeightType',type:'html',html:b.widthPx}]},i(),{type:'select',id:'wordWrap',labelLayout:'horizontal',label:c.wordWrap,widths:['50%','50%'],'default':'yes',items:[[c.yes,'yes'],[c.no,'no']],setup:function(k){var l=k.getAttribute('noWrap'),m=k.getStyle('white-space');if(m=='nowrap'||l)this.setValue('no');},commit:function(k){if(this.getValue()=='no')k.setStyle('white-space','nowrap');else k.removeStyle('white-space');k.removeAttribute('noWrap');}},i(),{type:'select',id:'hAlign',labelLayout:'horizontal',label:c.hAlign,widths:['50%','50%'],'default':'',items:[[d.notSet,''],[b.alignLeft,'left'],[b.alignCenter,'center'],[b.alignRight,'right']],setup:function(k){var l=k.getAttribute('align'),m=k.getStyle('text-align');this.setValue(m||l||'');},commit:function(k){var l=this.getValue();if(l)k.setStyle('text-align',l);else k.removeStyle('text-align');k.removeAttribute('align');}},{type:'select',id:'vAlign',labelLayout:'horizontal',label:c.vAlign,widths:['50%','50%'],'default':'',items:[[d.notSet,''],[c.alignTop,'top'],[c.alignMiddle,'middle'],[c.alignBottom,'bottom'],[c.alignBaseline,'baseline']],setup:function(k){var l=k.getAttribute('vAlign'),m=k.getStyle('vertical-align');switch(m){case 'top':case 'middle':case 'bottom':case 'baseline':break;default:m='';}this.setValue(m||l||'');},commit:function(k){var l=this.getValue();if(l)k.setStyle('vertical-align',l);else k.removeStyle('vertical-align');k.removeAttribute('vAlign');}}]},i(),{type:'vbox',padding:0,children:[{type:'select',id:'cellType',label:c.cellType,labelLayout:'horizontal',widths:['50%','50%'],'default':'td',items:[[c.data,'td'],[c.header,'th']],setup:function(k){this.setValue(k.getName());},commit:function(k){k.renameNode(this.getValue());}},i(),{type:'text',id:'rowSpan',label:c.rowSpan,labelLayout:'horizontal',widths:['50%','50%'],'default':'',validate:e.integer(c.invalidRowSpan),setup:function(k){var l=parseInt(k.getAttribute('rowSpan'),10);if(l&&l!=1)this.setValue(l);},commit:function(k){var l=parseInt(this.getValue(),10);if(l&&l!=1)k.setAttribute('rowSpan',this.getValue());else k.removeAttribute('rowSpan');}},{type:'text',id:'colSpan',label:c.colSpan,labelLayout:'horizontal',widths:['50%','50%'],'default':'',validate:e.integer(c.invalidColSpan),setup:function(k){var l=parseInt(k.getAttribute('colSpan'),10); +if(l&&l!=1)this.setValue(l);},commit:function(k){var l=parseInt(this.getValue(),10);if(l&&l!=1)k.setAttribute('colSpan',this.getValue());else k.removeAttribute('colSpan');}},i(),{type:'hbox',padding:0,widths:['80%','20%'],children:[{type:'text',id:'bgColor',label:c.bgColor,labelLayout:'horizontal',widths:['70%','30%'],'default':'',setup:function(k){var l=k.getAttribute('bgColor'),m=k.getStyle('background-color');this.setValue(m||l);},commit:function(k){var l=this.getValue();if(l)k.setStyle('background-color',this.getValue());else k.removeStyle('background-color');k.removeAttribute('bgColor');}},{type:'button',id:'bgColorChoose',label:c.chooseColor,style:'margin-left: 10px',onClick:function(){var k=this;j('colordialog',function(l){k.getDialog().getContentElement('info','bgColor').setValue(l.getContentElement('picker','selectedColor').getValue());});}}]},i(),{type:'hbox',padding:0,widths:['80%','20%'],children:[{type:'text',id:'borderColor',label:c.borderColor,labelLayout:'horizontal',widths:['70%','30%'],'default':'',setup:function(k){var l=k.getAttribute('borderColor'),m=k.getStyle('border-color');this.setValue(m||l);},commit:function(k){var l=this.getValue();if(l)k.setStyle('border-color',this.getValue());else k.removeStyle('border-color');k.removeAttribute('borderColor');}},{type:'button',id:'borderColorChoose',label:c.chooseColor,style:'margin-left: 10px',onClick:function(){var k=this;j('colordialog',function(l){k.getDialog().getContentElement('info','borderColor').setValue(l.getContentElement('picker','selectedColor').getValue());});}}]}]}]}]}],onShow:function(){var k=this;k.cells=CKEDITOR.plugins.tabletools.getSelectedCells(k._.editor.getSelection());k.setupContent(k.cells[0]);},onOk:function(){var k=this.cells;for(var l=0;l<k.length;l++)this.commitContent(k[l]);}};}); diff --git a/editor/editor/plugins/uicolor/dialogs/uicolor.js b/editor/editor/plugins/uicolor/dialogs/uicolor.js @@ -0,0 +1,7 @@ +/* +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(a){var b,c,d,e=a.getUiColor();function f(i){if(/^#/.test(i))i=window.YAHOO.util.Color.hex2rgb(i.substr(1));c.setValue(i,true);c.refresh('cke_uicolor_picker');};function g(i,j){if(j||b._.contents.tab1.livePeview.getValue())a.setUiColor(i);b._.contents.tab1.configBox.setValue('config.uiColor = "#'+c.get('hex')+'"');};d={id:'yuiColorPicker',type:'html',html:"<div id='cke_uicolor_picker' style='width: 360px; height: 200px; position: relative;'></div>",onLoad:function(i){var j=CKEDITOR.getUrl('plugins/uicolor/yui/');c=new window.YAHOO.widget.ColorPicker('cke_uicolor_picker',{showhsvcontrols:true,showhexcontrols:true,images:{PICKER_THUMB:j+'assets/picker_thumb.png',HUE_THUMB:j+'assets/hue_thumb.png'}});if(e)f(e);c.on('rgbChange',function(){b._.contents.tab1.predefined.setValue('');g('#'+c.get('hex'));});var k=new CKEDITOR.dom.nodeList(c.getElementsByTagName('input'));for(var l=0;l<k.count();l++)k.getItem(l).addClass('cke_dialog_ui_input_text');}};var h=true;return{title:a.lang.uicolor.title,minWidth:360,minHeight:320,onLoad:function(){b=this;this.setupContent();if(CKEDITOR.env.ie7Compat)b.parts.contents.setStyle('overflow','hidden');},contents:[{id:'tab1',label:'',title:'',expand:true,padding:0,elements:[d,{id:'tab1',type:'vbox',children:[{id:'livePeview',type:'checkbox',label:a.lang.uicolor.preview,'default':1,onLoad:function(){h=true;},onChange:function(){if(h)return;var i=this.getValue(),j=i?'#'+c.get('hex'):e;g(j,true);}},{type:'hbox',children:[{id:'predefined',type:'select','default':'',label:a.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 i=this.getValue();if(i){f(i);g(i);CKEDITOR.document.getById('predefinedPreview').setStyle('background',i);}else CKEDITOR.document.getById('predefinedPreview').setStyle('background','');},onShow:function(){var i=a.getUiColor();if(i)this.setValue(i);}},{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;">&nbsp;</div></div>'}]},{id:'configBox',type:'text',label:a.lang.uicolor.config,onShow:function(){var i=a.getUiColor(); +if(i)this.setValue('config.uiColor = "'+i+'"');}}]}]}],buttons:[CKEDITOR.dialog.okButton]};}); diff --git a/editor/editor/plugins/uicolor/lang/en.js b/editor/editor/plugins/uicolor/lang/en.js @@ -0,0 +1,6 @@ +/* +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/editor/editor/plugins/uicolor/plugin.js b/editor/editor/plugins/uicolor/plugin.js @@ -0,0 +1,6 @@ +/* +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(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uicolor'));a.ui.addButton('UIColor',{label:a.lang.uicolor.title,command:'uicolor',icon:this.path+'uicolor.gif'});CKEDITOR.dialog.add('uicolor',this.path+'dialogs/uicolor.js');CKEDITOR.scriptLoader.load(CKEDITOR.getUrl('plugins/uicolor/yui/yui.js'));a.element.getDocument().appendStyleSheet(CKEDITOR.getUrl('plugins/uicolor/yui/assets/yui.css'));}}); diff --git a/editor/editor/plugins/uicolor/uicolor.gif b/editor/editor/plugins/uicolor/uicolor.gif Binary files differ. diff --git a/editor/editor/plugins/uicolor/yui/assets/hue_bg.png b/editor/editor/plugins/uicolor/yui/assets/hue_bg.png Binary files differ. diff --git a/editor/editor/plugins/uicolor/yui/assets/hue_thumb.png b/editor/editor/plugins/uicolor/yui/assets/hue_thumb.png Binary files differ. diff --git a/editor/editor/plugins/uicolor/yui/assets/picker_mask.png b/editor/editor/plugins/uicolor/yui/assets/picker_mask.png Binary files differ. diff --git a/editor/editor/plugins/uicolor/yui/assets/picker_thumb.png b/editor/editor/plugins/uicolor/yui/assets/picker_thumb.png Binary files differ. diff --git a/editor/editor/plugins/uicolor/yui/assets/yui.css b/editor/editor/plugins/uicolor/yui/assets/yui.css @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +.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;}#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-controls 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/editor/editor/plugins/uicolor/yui/yui.js b/editor/editor/plugins/uicolor/yui/yui.js @@ -0,0 +1,76 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +/*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.prototype,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="defaultView",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:function(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="styleFloat";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.webkit>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.clientHeight;}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);},getFirstChildBy: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;}return 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:function(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.bottom),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="borderBottomWidth",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",fuchsia:"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||YAHOO.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(!this.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.contains=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(var 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"){return -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;}},preventDefault: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._tryPreloadAttach();}},_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){this.__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;},locationCache:{},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("startDragEvent",{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.dragCurrent;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;},getLocation: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={};},elementCache:{},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);},getScrollTop: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.prototype={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:function(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!=="string"){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.setDelta(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.getScrollLeft();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.DDM.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.keyIncrement=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:function(){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._isRegion){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.curCoord[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=this._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();this.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(!this._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.onMouseDown=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,minRange: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.topConstraint,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.minSlider.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.thumbCenterPoint.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(var 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._configs=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:function(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",PICKER_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(this.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:case 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.appendChild(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._createElements();}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.setAttributeConfig(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,true);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.setAttributeConfig(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.exec(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.call(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=[this.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/editor/editor/plugins/wsc/dialogs/ciframe.html b/editor/editor/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/editor/editor/plugins/wsc/dialogs/tmpFrameset.html b/editor/editor/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/editor/editor/plugins/wsc/dialogs/wsc.css b/editor/editor/plugins/wsc/dialogs/wsc.css @@ -0,0 +1,6 @@ +/* +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:0;padding:0;}body{padding:10px;}body,td,input,select,textarea{font-size:11px;font-family:'Microsoft Sans Serif',Arial,Helvetica,Verdana;}.midtext{padding:0;margin:10px;}.midtext p{padding:0;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;cursor:hand;}.PopupTabSelected{font-weight:bold;cursor:default;padding-top:4px;border-bottom:#f1f1e3 1px solid;background-color:#f1f1e3;} diff --git a/editor/editor/plugins/wsc/dialogs/wsc.js b/editor/editor/plugins/wsc/dialogs/wsc.js @@ -0,0 +1,7 @@ +/* +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(a){var b=CKEDITOR.tools.getNextNumber(),c='cke_frame_'+b,d='cke_data_'+b,e='cke_error_'+b,f,g=document.location.protocol||'http:',h=a.lang.spellCheck.notAvailable,i='<textarea style="display: none" id="'+d+'"'+' rows="10"'+' cols="40">'+' </textarea><div'+' id="'+e+'"'+' 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="'+c+'"'+' id="'+c+'"'+' allowtransparency="1">'+'</iframe>',j=a.config.wsc_customLoaderScript||g+'//loader.spellchecker.net/sproxy_fck/sproxy.php'+'?plugin=fck2'+'&customerid='+a.config.wsc_customerId+'&cmd=script&doc=wsc&schema=22';if(a.config.wsc_customLoaderScript)h+='<p style="color:#000;font-size:11px;font-weight: normal;text-align:center;padding-top:10px">'+a.lang.spellCheck.errorLoading.replace(/%s/g,a.config.wsc_customLoaderScript)+'</p>';function k(m,n){var o=0;return function(){if(typeof window.doSpell=='function'){if(typeof f!='undefined')window.clearInterval(f);l(m);}else if(o++==180)window._cancelOnError(n);};};window._cancelOnError=function(m){if(typeof window.WSC_Error=='undefined'){CKEDITOR.document.getById(c).setStyle('display','none');var n=CKEDITOR.document.getById(e);n.setStyle('display','block');n.setHtml(m||a.lang.spellCheck.notAvailable);}};function l(m){var n=new window._SP_FCK_LangCompare(),o=CKEDITOR.getUrl(a.plugins.wsc.path+'dialogs/'),p=o+'tmpFrameset.html';window.gFCKPluginName='wsc';n.setDefaulLangCode(a.config.defaultLanguage);window.doSpell({ctrl:d,lang:a.config.wsc_lang||n.getSPLangCode(a.langCode),intLang:a.config.wsc_uiLang||n.getSPLangCode(a.langCode),winType:c,onCancel:function(){m.hide();},onFinish:function(q){a.focus();m.getParentEditor().setData(q.value);m.hide();},staticFrame:p,framesetPath:p,iframePath:o+'ciframe.html',schemaURI:o+'wsc.css',userDictionaryName:a.config.wsc_userDictionaryName,customDictionaryName:a.config.wsc_customDictionaryIds&&a.config.wsc_customDictionaryIds.split(','),domainName:a.config.wsc_domainName});CKEDITOR.document.getById(e).setStyle('display','none');CKEDITOR.document.getById(c).setStyle('display','block');};return{title:a.config.wsc_dialogTitle||a.lang.spellCheck.title,minWidth:485,minHeight:380,buttons:[CKEDITOR.dialog.cancelButton],onShow:function(){var m=this.getContentElement('general','content').getElement();m.setHtml(i);if(typeof window.doSpell!='function')CKEDITOR.document.getHead().append(CKEDITOR.document.createElement('script',{attributes:{type:'text/javascript',src:j}})); +var n=a.getData();CKEDITOR.document.getById(d).setValue(n);f=window.setInterval(k(this,h),250);},onHide:function(){window.ooo=undefined;window.int_framsetLoaded=undefined;window.framesetLoaded=undefined;window.is_window_opened=false;},contents:[{id:'general',label:a.config.wsc_dialogTitle||a.lang.spellCheck.title,padding:0,elements:[{type:'html',id:'content',style:'width:485;height:380px',html:'<div></div>'}]}]};}); diff --git a/editor/editor/skins/_fckviewstrips.html b/editor/editor/skins/_fckviewstrips.html @@ -1,121 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Useful page that enumerates all icons in the skins strips. ---> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <title>FCKeditor - View Icons Strips</title> - <style type="text/css"> - .TB_Button_Image - { - overflow: hidden; - width: 16px; - height: 16px; - margin: 3px; - background-repeat: no-repeat; - } - - .TB_Button_Image img - { - position: relative; - } - </style> - <script type="text/javascript"> - -window.onload = function() -{ - var eImg1 = document.createElement( 'img' ) ; - eImg1.onload = Img_OnLoad ; - eImg1.src = 'default/fck_strip.gif' ; - - var eImg2 = document.createElement( 'img' ) ; - eImg2.onload = Img_OnLoad ; - eImg2.src = 'office2003/fck_strip.gif' ; - - var eImg3 = document.createElement( 'img' ) ; - eImg3.onload = Img_OnLoad ; - eImg3.src = 'silver/fck_strip.gif' ; -} - -var iTotalStrips = 3 ; -var iMaxHeight = 0 ; - -function Img_OnLoad() -{ - if ( iMaxHeight < this.height ) - iMaxHeight = this.height ; - - iTotalStrips-- ; - - if ( iTotalStrips == 0 ) - LoadIcons( iMaxHeight / 16 ) ; -} - -function LoadIcons( total ) -{ - var xIconsTable = document.getElementById( 'xIconsTable' ) ; - - for ( var i = 0 ; i < total ; i++ ) - { - var eRow = xIconsTable.insertRow(-1) ; - - var eCell = eRow.insertCell(-1) ; - eCell.innerHTML = i + 1 ; - - eCell = eRow.insertCell(-1) ; - eCell.align = 'center' ; - eCell.style.border = '#dcdcdc 1px solid' ; - eCell.innerHTML = '<div class="TB_Button_Image"><img src="default/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ; - - eCell = eRow.insertCell(-1) ; - eCell.align = 'center' ; - eCell.style.border = '#dcdcdc 1px solid' ; - eCell.innerHTML = '<div class="TB_Button_Image"><img src="office2003/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ; - - eCell = eRow.insertCell(-1) ; - eCell.align = 'center' ; - eCell.style.border = '#dcdcdc 1px solid' ; - eCell.innerHTML = '<div class="TB_Button_Image"><img src="silver/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ; - } -} - - </script> -</head> -<body> - <table id="xIconsTable"> - <tr> - <td rowspan="2"> - Index</td> - <td align="center" colspan="3"> - Skins</td> - </tr> - <tr> - <td width="80" align="center"> - default</td> - <td width="80" align="center"> - office2003</td> - <td width="80" align="center"> - silver</td> - </tr> - </table> -</body> -</html> diff --git a/editor/editor/skins/default/fck_dialog.css b/editor/editor/skins/default/fck_dialog.css @@ -1,139 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Styles used by the dialog boxes. - */ - -body -{ - margin: 0px; - padding: 10px; -} - -body, td, input, select, textarea -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; -} - -body, .BackColor -{ - background-color: #f1f1e3; -} - -.PopupBody -{ - margin: 0px; - padding: 0px; -} - -.PopupTitle -{ - font-weight: bold; - font-size: 14pt; - color: #737357; - background-color: #e3e3c7; - padding: 3px 10px 3px 10px; -} - -.PopupButtons -{ - border-top: #d5d59d 1px solid; - background-color: #e3e3c7; - padding: 7px 10px 7px 10px; -} - -.Button -{ - border: #737357 1px solid; - color: #3b3b1f; - background-color: #c7c78f; -} - -#btnOk -{ - width: 100px; -} - -.DarkBackground -{ - background-color: #d7d79f; -} - -.LightBackground -{ - background-color: #ffffbe; -} - -.PopupTitleBorder -{ - border-bottom: #d5d59d 1px solid; -} - -.PopupTabArea -{ - color: #737357; - background-color: #e3e3c7; -} - -.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; - cursor: hand; -} - -.PopupTabSelected -{ - font-weight:bold; - cursor: default; - padding-top: 4px; - border-bottom: #f1f1e3 1px solid; - background-color: #f1f1e3; -} - -.PopupSelectionBox -{ - border: #ff9933 1px solid !important; - background-color: #fffacd !important; - cursor: pointer; - cursor: hand; -} - -#tdBrowse -{ - vertical-align: bottom; -}- \ No newline at end of file diff --git a/editor/editor/skins/default/fck_editor.css b/editor/editor/skins/default/fck_editor.css @@ -1,464 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Styles used by the editor IFRAME and Toolbar. - */ - -/* - ### Basic Editor IFRAME Styles. -*/ - -body -{ - padding: 1px; - margin: 0; - background-color: #ffffff; -} - -#xEditingArea -{ - border: #696969 1px solid; -} - -.SourceField -{ - padding: 5px; - margin: 0px; - font-family: Monospace; -} - -/* - Toolbar -*/ - -.TB_ToolbarSet, .TB_Expand, .TB_Collapse -{ - cursor: default; - background-color: #efefde; -} - -.TB_ToolbarSet -{ - border-top: #efefde 1px outset; - border-bottom: #efefde 1px outset; -} - -.TB_ToolbarSet TD -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.TB_Toolbar -{ - height: 24px; - display: inline-table; /* inline = Opera jumping buttons bug */ -} - -.TB_Separator -{ - width: 1px; - height: 16px; - margin: 2px; - background-color: #999966; -} - -.TB_Start -{ - background-image: url(images/toolbar.start.gif); - margin: 2px; - width: 3px; - background-repeat: no-repeat; - height: 16px; -} - -.TB_End -{ - display: none; -} - -.TB_ExpandImg -{ - background-image: url(images/toolbar.expand.gif); - background-repeat: no-repeat; -} - -.TB_CollapseImg -{ - background-image: url(images/toolbar.collapse.gif); - background-repeat: no-repeat; -} - -.TB_SideBorder -{ - background-color: #696969; -} - -.TB_Expand, .TB_Collapse -{ - padding: 2px 2px 2px 2px; - border: #efefde 1px outset; -} - -.TB_Collapse -{ - width: 5px; -} - -.TB_Break -{ - height: 24px; /* IE needs the height to be set, otherwise no break */ -} - -/* - Toolbar Button -*/ - -.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled -{ - border: #efefde 1px solid; /* This is the default border */ - height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */ -} - -.TB_Button_On -{ - border: #316ac5 1px solid; - background-color: #c1d2ee; -} - -.TB_Button_On_Over, .TB_Button_Off_Over -{ - border: #316ac5 1px solid; - background-color: #dff1ff; -} - -.TB_Button_Off -{ - filter: alpha(opacity=70); /* IE */ - opacity: 0.70; /* Safari, Opera and Mozilla */ -} - -.TB_Button_Disabled -{ - filter: gray() alpha(opacity=30); /* IE */ - opacity: 0.30; /* Safari, Opera and Mozilla */ -} - -.TB_Button_Padding -{ - visibility: hidden; - width: 3px; - height: 22px; -} - -.TB_Button_Image -{ - overflow: hidden; - width: 16px; - height: 16px; - margin: 3px; - background-repeat: no-repeat; -} - -.TB_Button_Image img -{ - position: relative; -} - -.TB_Button_Off .TB_Button_Text -{ - background-color: #efefde; /* Needed because of a bug on Clear Type */ -} - -.TB_ConnectionLine -{ - background-color: #ffffff; - height: 1px; - margin-left: 1px; /* ltr */ - margin-right: 1px; /* rtl */ -} - -.TB_Text -{ - height: 22px; -} - -.TB_Button_Off .TB_Text -{ - background-color: #efefde ; /* Needed because of a bug on ClearType */ -} - -.TB_Button_On_Over .TB_Text -{ - background-color: #dff1ff ; /* Needed because of a bug on ClearType */ -} - -/* - Menu -*/ - -.MN_Menu -{ - border: 1px solid #8f8f73; - padding: 2px; - background-color: #ffffff; - cursor: default; -} - -.MN_Menu, .MN_Menu .MN_Label -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.MN_Item_Padding -{ - visibility: hidden; - width: 3px; - height: 20px; -} - -.MN_Icon -{ - background-color: #e3e3c7; - text-align: center; - height: 20px; -} - -.MN_Label -{ - padding-left: 3px; - padding-right: 3px; -} - -.MN_Separator -{ - height: 3px; -} - -.MN_Separator_Line -{ - border-top: #b9b99d 1px solid; -} - -.MN_Item .MN_Icon IMG -{ - filter: alpha(opacity=70); - opacity: 0.70; -} - -.MN_Item_Over -{ - color: #ffffff; - background-color: #8f8f73; -} - -.MN_Item_Over .MN_Icon -{ - background-color: #737357; -} - -.MN_Item_Disabled IMG -{ - filter: gray() alpha(opacity=30); /* IE */ - opacity: 0.30; /* Safari, Opera and Mozilla */ -} - -.MN_Item_Disabled .MN_Label -{ - color: #b7b7b7; -} - -.MN_Arrow -{ - padding-right: 3px; - padding-left: 3px; -} - -.MN_ConnectionLine -{ - background-color: #ffffff; -} - -.Menu .TB_Button_On, .Menu .TB_Button_On_Over -{ - border: #8f8f73 1px solid; - background-color: #ffffff; -} - -/* - ### Panel Styles -*/ - -.FCK_Panel -{ - border: #8f8f73 1px solid; - padding: 2px; - background-color: #ffffff; -} - -.FCK_Panel, .FCK_Panel TD -{ - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; - font-size: 11px; -} - -/* - ### Special Combos -*/ - -.SC_Panel -{ - overflow: auto; - white-space: nowrap; - cursor: default; - border: 1px solid #8f8f73; - padding-left: 2px; - padding-right: 2px; -} - -.SC_Panel, .SC_Panel TD -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.SC_Item, .SC_ItemSelected -{ - margin-top: 2px; - margin-bottom: 2px; - background-position: left center; - padding-left: 11px; - padding-right: 3px; - padding-top: 2px; - padding-bottom: 2px; - text-overflow: ellipsis; - overflow: hidden; - background-repeat: no-repeat; - border: #dddddd 1px solid; -} - -.SC_Item *, .SC_ItemSelected * -{ - margin-top: 0px; - margin-bottom: 0px; -} - -.SC_ItemSelected -{ - border: #9a9afb 1px solid; - background-image: url(images/toolbar.arrowright.gif); -} - -.SC_ItemOver -{ - border: #316ac5 1px solid; -} - -.SC_Field -{ - border: #b7b7a6 1px solid; - cursor: default; -} - -.SC_FieldCaption -{ - overflow: visible; - padding-right: 5px; - padding-left: 5px; - opacity: 0.75; /* Safari, Opera and Mozilla */ - filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ - height: 23px; - background-color: #efefde; -} - -.SC_FieldLabel -{ - white-space: nowrap; - padding: 2px; - width: 100%; - cursor: default; - background-color: #ffffff; - text-overflow: ellipsis; - overflow: hidden; -} - -.SC_FieldButton -{ - background-position: center center; - background-image: url(images/toolbar.buttonarrow.gif); - border-left: #b7b7a6 1px solid; - width: 14px; - background-repeat: no-repeat; -} - -.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption -{ - opacity: 0.30; /* Safari, Opera and Mozilla */ - filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ -} - -.SC_FieldOver -{ - border: #316ac5 1px solid; -} - -.SC_FieldOver .SC_FieldButton -{ - border-left: #316ac5 1px solid; -} - -/* - ### Color Selector Panel -*/ - -.ColorBoxBorder -{ - border: #808080 1px solid; - position: static; -} - -.ColorBox -{ - font-size: 1px; - width: 10px; - position: static; - height: 10px; -} - -.ColorDeselected, .ColorSelected -{ - cursor: default; -} - -.ColorDeselected -{ - border: #ffffff 1px solid; - padding: 2px; - float: left; -} - -.ColorSelected -{ - border: #330066 1px solid; - padding: 2px; - float: left; - background-color: #c4cdd6; -} diff --git a/editor/editor/skins/default/fck_strip.gif b/editor/editor/skins/default/fck_strip.gif Binary files differ. diff --git a/editor/editor/skins/default/images/toolbar.arrowright.gif b/editor/editor/skins/default/images/toolbar.arrowright.gif Binary files differ. diff --git a/editor/editor/skins/default/images/toolbar.buttonarrow.gif b/editor/editor/skins/default/images/toolbar.buttonarrow.gif Binary files differ. diff --git a/editor/editor/skins/default/images/toolbar.collapse.gif b/editor/editor/skins/default/images/toolbar.collapse.gif Binary files differ. diff --git a/editor/editor/skins/default/images/toolbar.end.gif b/editor/editor/skins/default/images/toolbar.end.gif Binary files differ. diff --git a/editor/editor/skins/default/images/toolbar.expand.gif b/editor/editor/skins/default/images/toolbar.expand.gif Binary files differ. diff --git a/editor/editor/skins/default/images/toolbar.separator.gif b/editor/editor/skins/default/images/toolbar.separator.gif Binary files differ. diff --git a/editor/editor/skins/default/images/toolbar.start.gif b/editor/editor/skins/default/images/toolbar.start.gif Binary files differ. diff --git a/editor/editor/skins/office2003/fck_dialog.css b/editor/editor/skins/office2003/fck_dialog.css @@ -1,140 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Styles used by the dialog boxes. - */ - -body -{ - margin: 0px; - padding: 10px; - background-color: #f7f8fd; -} - -body, td, input, select, textarea -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; -} - -body, .BackColor -{ - background-color: #f7f8fd; -} - -.PopupBody -{ - margin: 0px; - padding: 0px; -} - -.PopupTitle -{ - font-weight: bold; - font-size: 14pt; - color: #0e3460; - background-color: #8cb2fd; - padding: 3px 10px 3px 10px; -} - -.PopupButtons -{ - border-top: #466ca6 1px solid; - background-color: #8cb2fd; - padding: 7px 10px 7px 10px; -} - -.Button -{ - border: #1c3460 1px solid; - color: #000a28; - background-color: #7096d3; -} - -#btnOk -{ - width: 100px; -} - -.DarkBackground -{ - background-color: #d7d79f; -} - -.LightBackground -{ - background-color: #ffffbe; -} - -.PopupTitleBorder -{ - border-bottom: #d5d59d 1px solid; -} - -.PopupTabArea -{ - color: #0e3460; - background-color: #8cb2fd; -} - -.PopupTabEmptyArea -{ - padding-left: 10px ; - border-bottom: #466ca6 1px solid; -} - -.PopupTab, .PopupTabSelected -{ - border-right: #466ca6 1px solid; - border-top: #466ca6 1px solid; - border-left: #466ca6 1px solid; - padding: 3px 5px 3px 5px; - color: #0e3460; -} - -.PopupTab -{ - margin-top: 1px; - border-bottom: #466ca6 1px solid; - cursor: pointer; - cursor: hand; -} - -.PopupTabSelected -{ - font-weight:bold; - cursor: default; - padding-top: 4px; - border-bottom: #f7f8fd 1px solid; - background-color: #f7f8fd; -} - -.PopupSelectionBox -{ - border: #1e90ff 1px solid !important; - background-color: #add8e6 !important; - cursor: pointer; - cursor: hand; -} - -#tdBrowse -{ - vertical-align: bottom; -}- \ No newline at end of file diff --git a/editor/editor/skins/office2003/fck_editor.css b/editor/editor/skins/office2003/fck_editor.css @@ -1,476 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Styles used by the editor IFRAME and Toolbar. - */ - -/* - ### Basic Editor IFRAME Styles. -*/ - -body -{ - padding: 1px; - margin: 0; - background-color: #ffffff; -} - -#xEditingArea -{ - border: #696969 1px solid; -} - -.SourceField -{ - padding: 5px; - margin: 0px; - font-family: Monospace; -} - -/* - Toolbar -*/ - -.TB_ToolbarSet, .TB_Expand, .TB_Collapse -{ - cursor: default; - background-color: #f7f8fd; -} - -.TB_ToolbarSet -{ - border-top: #f7f8fd 1px outset; - border-bottom: #f7f8fd 1px outset; -} - -.TB_ToolbarSet TD -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.TB_Toolbar -{ - background-color: #d6dff7; - background-image: url(images/toolbar.bg.gif); - background-repeat: repeat-x; - display: inline-table; -} - -.TB_Separator -{ - width: 1px; - height: 16px; - margin: 2px; - background-color: #B2CBFF; -} - -.TB_Start -{ - background-image: url(images/toolbar.start.gif); - background-repeat: no-repeat; - background-position: center center; - margin: 0px; - width: 7px; - height: 24px; -} - -.TB_End -{ - background-image: url(images/toolbar.end.gif); - background-repeat: no-repeat; - background-position: center left; - height: 24px; - width: 4px; -} - -.TB_ExpandImg -{ - background-image: url(images/toolbar.expand.gif); - background-repeat: no-repeat; -} - -.TB_CollapseImg -{ - background-image: url(images/toolbar.collapse.gif); - background-repeat: no-repeat; -} - -.TB_SideBorder -{ - background-color: #696969; -} - -.TB_Expand, .TB_Collapse -{ - padding: 2px 2px 2px 2px; - border: #f7f8fd 1px outset; -} - -.TB_Collapse -{ - width: 5px; -} - -.TB_Break -{ - height: 24px; /* IE needs the height to be set, otherwise no break */ -} - -/* - Toolbar Button -*/ - -.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled -{ - margin: 1px; - height: 22px; /* The height is necessary, otherwise IE will not apply the alpha */ -} - -.TB_Button_On -{ - margin: 0px; - border: #316ac5 1px solid; - background-color: #c1d2ee; -} - -.TB_Button_On_Over, .TB_Button_Off_Over -{ - margin: 0px ; - border: #316ac5 1px solid; - background-color: #dff1ff; -} - -.TB_Button_Off -{ - filter: alpha(opacity=70); /* IE */ - opacity: 0.70; /* Safari, Opera and Mozilla */ -} - -.TB_Button_Disabled -{ - filter: gray() alpha(opacity=30); /* IE */ - opacity: 0.30; /* Safari, Opera and Mozilla */ -} - -.TB_Button_Padding -{ - visibility: hidden; - width: 3px; - height: 22px; -} - -.TB_Button_Image -{ - overflow: hidden; - width: 16px; - height: 16px; - margin: 3px; - background-repeat: no-repeat; -} - -.TB_Button_Image img -{ - position: relative; -} - -.TB_Button_Off .TB_Button_Text -{ - background-color: #d6dff7; /* Needed because of a bug on ClearType */ - background-image: url(images/toolbar.bg.gif); - background-repeat: repeat-x; -} - -.TB_ConnectionLine -{ - background-color: #f7f8fd; - height: 1px; - margin-left: 1px; /* ltr */ - margin-right: 1px; /* rtl */ -} - -.TB_Button_Off .TB_Text -{ - background-color: #d6dff7; /* Needed because of a bug on ClearType */ - background-image: url(images/toolbar.bg.gif); - background-repeat: repeat-x; -} - -.TB_Button_On_Over .TB_Text -{ - background-color: #dff1ff ; /* Needed because of a bug on ClearType */ -} - -/* - Menu -*/ - -.MN_Menu -{ - border: 1px solid #8f8f73; - padding: 2px; - background-color: #f7f8fd; - cursor: default; -} - -.MN_Menu, .MN_Menu .MN_Label -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.MN_Item_Padding -{ - visibility: hidden; - width: 3px; - height: 20px; -} - -.MN_Icon -{ - background-color: #d6dff7; - text-align: center; - height: 20px; -} - -.MN_Label -{ - padding-left: 3px; - padding-right: 3px; -} - -.MN_Separator -{ - height: 3px; -} - -.MN_Separator_Line -{ - border-top: #b9b99d 1px solid; -} - -.MN_Item .MN_Icon IMG -{ - filter: alpha(opacity=70); - opacity: 0.70; -} - -.MN_Item_Over -{ - color: #ffffff; - background-color: #7096FA; -} - -.MN_Item_Over .MN_Icon -{ - background-color: #466ca6; -} - -.MN_Item_Disabled IMG -{ - filter: gray() alpha(opacity=30); /* IE */ - opacity: 0.30; /* Safari, Opera and Mozilla */ -} - -.MN_Item_Disabled .MN_Label -{ - color: #b7b7b7; -} - -.MN_Arrow -{ - padding-right: 3px; - padding-left: 3px; -} - -.MN_ConnectionLine -{ - background-color: #f7f8fd; -} - -.Menu .TB_Button_On, .Menu .TB_Button_On_Over -{ - border: #8f8f73 1px solid; - background-color: #f7f8fd; -} - -/* - ### Panel Styles -*/ - -.FCK_Panel -{ - border: #8f8f73 1px solid; - padding: 2px; - background-color: #f7f8fd; -} - -.FCK_Panel, .FCK_Panel TD -{ - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; - font-size: 11px; -} - -/* - ### Special Combos -*/ - -.SC_Panel -{ - overflow: auto; - white-space: nowrap; - cursor: default; - border: 1px solid #8f8f73; - padding-left: 2px; - padding-right: 2px; -} - -.SC_Panel, .SC_Panel TD -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.SC_Item, .SC_ItemSelected -{ - margin-top: 2px; - margin-bottom: 2px; - background-position: left center; - padding-left: 11px; - padding-right: 3px; - padding-top: 2px; - padding-bottom: 2px; - text-overflow: ellipsis; - overflow: hidden; - background-repeat: no-repeat; - border: #dddddd 1px solid; -} - -.SC_Item *, .SC_ItemSelected * -{ - margin-top: 0px; - margin-bottom: 0px; -} - -.SC_ItemSelected -{ - border: #9a9afb 1px solid; - background-image: url(images/toolbar.arrowright.gif); -} - -.SC_ItemOver -{ - border: #316ac5 1px solid; -} - -.SC_Field -{ - margin-top: 2px ; - border: #b7b7a6 1px solid; - cursor: default; -} - -.SC_FieldCaption -{ - overflow: visible; - padding-right: 5px; - padding-left: 5px; - opacity: 0.75; /* Safari, Opera and Mozilla */ - filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ - height: 23px; - background-color: #d6dff7; /* Needed because of a bug on ClearType */ - background-image: url(images/toolbar.bg.gif); - background-repeat: repeat-x; -/* background-color: inherit; Maybe this is needed wait to check */ -} - -.SC_FieldLabel -{ - white-space: nowrap; - padding: 2px; - width: 100%; - cursor: default; - background-color: #ffffff; - text-overflow: ellipsis; - overflow: hidden; -} - -.SC_FieldButton -{ - background-position: center center; - background-image: url(images/toolbar.buttonarrow.gif); - border-left: #b7b7a6 1px solid; - width: 14px; - background-repeat: no-repeat; -} - -.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption -{ - opacity: 0.30; /* Safari, Opera and Mozilla */ - filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ -} - -.SC_FieldOver -{ - border: #316ac5 1px solid; -} - -.SC_FieldOver .SC_FieldButton -{ - border-left: #316ac5 1px solid; -} - -/* - ### Color Selector Panel -*/ - -.ColorBoxBorder -{ - border: #808080 1px solid; - position: static; -} - -.ColorBox -{ - font-size: 1px; - width: 10px; - position: static; - height: 10px; -} - -.ColorDeselected, .ColorSelected -{ - cursor: default; -} - -.ColorDeselected -{ - border: #ffffff 1px solid; - padding: 2px; - float: left; -} - -.ColorSelected -{ - border: #330066 1px solid; - padding: 2px; - float: left; - background-color: #c4cdd6; -} diff --git a/editor/editor/skins/office2003/fck_strip.gif b/editor/editor/skins/office2003/fck_strip.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.arrowright.gif b/editor/editor/skins/office2003/images/toolbar.arrowright.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.bg.gif b/editor/editor/skins/office2003/images/toolbar.bg.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.buttonarrow.gif b/editor/editor/skins/office2003/images/toolbar.buttonarrow.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.collapse.gif b/editor/editor/skins/office2003/images/toolbar.collapse.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.end.gif b/editor/editor/skins/office2003/images/toolbar.end.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.expand.gif b/editor/editor/skins/office2003/images/toolbar.expand.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.separator.gif b/editor/editor/skins/office2003/images/toolbar.separator.gif Binary files differ. diff --git a/editor/editor/skins/office2003/images/toolbar.start.gif b/editor/editor/skins/office2003/images/toolbar.start.gif Binary files differ. diff --git a/editor/editor/skins/silver/fck_dialog.css b/editor/editor/skins/silver/fck_dialog.css @@ -1,143 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Styles used by the dialog boxes. - */ - -body -{ - margin: 0px; - padding: 10px; - background-color: #f7f7f7; -} - -body, td, input, select, textarea -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; -} - -body, .BackColor -{ - background-color: #f7f7f7; -} - -.PopupBody -{ - margin: 0px; - padding: 0px; -} - -.PopupTitle -{ - padding-right: 10px; - padding-left: 10px; - font-weight: bold; - font-size: 14pt; - padding-bottom: 3px; - color: #504845; - padding-top: 3px; - background-color: #dedede; -} - -.PopupButtons -{ - border-top: #cec6b5 1px solid; - background-color: #DEDEDE; - padding: 7px 10px 7px 10px; -} - -.Button -{ - border: #7a7261 1px solid; - color: #504845; - background-color: #cec6b5; -} - -#btnOk -{ - width: 100px; -} - -.DarkBackground -{ - background-color: #d7d79f; -} - -.LightBackground -{ - background-color: #ffffbe; -} - -.PopupTitleBorder -{ - border-bottom: #cec6b5 1px solid; -} - -.PopupTabArea -{ - color: #504845; - background-color: #DEDEDE; -} - -.PopupTabEmptyArea -{ - padding-left: 10px ; - border-bottom: #cec6b5 1px solid; -} - -.PopupTab, .PopupTabSelected -{ - border-right: #cec6b5 1px solid; - border-top: #cec6b5 1px solid; - border-left: #cec6b5 1px solid; - padding: 3px 5px 3px 5px; - color: #504845; -} - -.PopupTab -{ - margin-top: 1px; - border-bottom: #cec6b5 1px solid; - cursor: pointer; - cursor: hand; -} - -.PopupTabSelected -{ - font-weight:bold; - cursor: default; - padding-top: 4px; - border-bottom: #f1f1e3 1px solid; - background-color: #f7f7f7; -} - -.PopupSelectionBox -{ - border: #a9a9a9 1px solid !important; - background-color: #dcdcdc !important; - cursor: pointer; - cursor: hand; -} - -#tdBrowse -{ - vertical-align: bottom; -}- \ No newline at end of file diff --git a/editor/editor/skins/silver/fck_editor.css b/editor/editor/skins/silver/fck_editor.css @@ -1,473 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Styles used by the editor IFRAME and Toolbar. - */ - -/* - ### Basic Editor IFRAME Styles. -*/ - -body -{ - padding: 1px; - margin: 0; - background-color: #ffffff; -} - -#xEditingArea -{ - border: #696969 1px solid; -} - -.SourceField -{ - padding: 5px; - margin: 0px; - font-family: Monospace; -} - -/* - Toolbar -*/ - -.TB_ToolbarSet, .TB_Expand, .TB_Collapse -{ - cursor: default; - background-color: #f7f7f7; -} - -.TB_ToolbarSet -{ - padding: 1px; - border-top: #efefde 1px outset; - border-bottom: #efefde 1px outset; -} - -.TB_ToolbarSet TD -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.TB_Toolbar -{ - display: inline-table; -} - -.TB_Separator -{ - width: 1px; - height: 21px; - margin: 2px; - background-color: #C6C3BD; -} - -.TB_Start -{ - background-image: url(images/toolbar.start.gif); - margin-left: 2px; - margin-right: 2px; - width: 3px; - background-repeat: no-repeat; - height: 27px; - background-position: center center; -} - -.TB_End -{ - display: none; -} - -.TB_ExpandImg -{ - background-image: url(images/toolbar.expand.gif); - background-repeat: no-repeat; -} - -.TB_CollapseImg -{ - background-image: url(images/toolbar.collapse.gif); - background-repeat: no-repeat; -} - -.TB_SideBorder -{ - background-color: #696969; -} - -.TB_Expand, .TB_Collapse -{ - padding: 2px 2px 2px 2px; - border: #efefde 1px outset; -} - -.TB_Collapse -{ - border: #efefde 1px outset; - width: 5px; -} - -.TB_Break -{ - height: 27px; -} - -/* - Toolbar Button -*/ - -.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled -{ - padding: 1px ; - margin:1px; - height: 21px; -} - -.TB_Button_On, .TB_Button_Off, .TB_Button_On_Over, .TB_Button_Off_Over, .TB_Button_Disabled -{ - border: #cec6b5 1px solid; -} - -.TB_Button_On -{ - border-color: #316ac5; - background-color: #c1d2ee; -} - -.TB_Button_On_Over, .TB_Button_Off_Over -{ - border: #316ac5 1px solid; - background-color: #dff1ff; -} - -.TB_Button_Off -{ - background: #efefef url(images/toolbar.buttonbg.gif) repeat-x; -} - -.TB_Button_Off, .TB_Combo_Off -{ - opacity: 0.70; /* Safari, Opera and Mozilla */ - filter: alpha(opacity=70); /* IE */ - /* -moz-opacity: 0.70; Mozilla (Old) */ -} - -.TB_Button_Disabled -{ - opacity: 0.30; /* Safari, Opera and Mozilla */ - filter: gray() alpha(opacity=30); /* IE */ -} - -.TB_Button_Padding -{ - visibility: hidden; - width: 3px; - height: 21px; -} - -.TB_Button_Image -{ - overflow: hidden; - width: 16px; - height: 16px; - margin: 3px; - margin-top: 4px; - margin-bottom: 2px; - background-repeat: no-repeat; -} - -/* For composed button ( icon + text, icon + arrow ), we must compensate the table */ -.TB_Button_On TABLE .TB_Button_Image, -.TB_Button_Off TABLE .TB_Button_Image, -.TB_Button_On_Over TABLE .TB_Button_Image, -.TB_Button_Off_Over TABLE .TB_Button_Image, -.TB_Button_Disabled TABLE .TB_Button_Image -{ - margin-top: 3px; -} - -.TB_Button_Image img -{ - position: relative; -} - -.TB_ConnectionLine -{ - background-color: #ffffff; - height: 1px; - margin-left: 1px; /* ltr */ - margin-right: 1px; /* rtl */ -} - -/* - Menu -*/ - -.MN_Menu -{ - border: 1px solid #8f8f73; - padding: 2px; - background-color: #f7f7f7; - cursor: default; -} - -.MN_Menu, .MN_Menu .MN_Label -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.MN_Item_Padding -{ - visibility: hidden; - width: 3px; - height: 20px; -} - -.MN_Icon -{ - background-color: #dedede; - text-align: center; - height: 20px; -} - -.MN_Label -{ - padding-left: 3px; - padding-right: 3px; -} - -.MN_Separator -{ - height: 3px; -} - -.MN_Separator_Line -{ - border-top: #b9b99d 1px solid; -} - -.MN_Item .MN_Icon IMG -{ - filter: alpha(opacity=70); - opacity: 0.70; -} - -.MN_Item_Over -{ - color: #ffffff; - background-color: #8a857d; -} - -.MN_Item_Over .MN_Icon -{ - background-color: #6c6761; -} - -.MN_Item_Disabled IMG -{ - filter: gray() alpha(opacity=30); /* IE */ - opacity: 0.30; /* Safari, Opera and Mozilla */ -} - -.MN_Item_Disabled .MN_Label -{ - color: #b7b7b7; -} - -.MN_Arrow -{ - padding-right: 3px; - padding-left: 3px; -} - -.MN_ConnectionLine -{ - background-color: #ffffff; -} - -.Menu .TB_Button_On, .Menu .TB_Button_On_Over -{ - border: #8f8f73 1px solid; - background-color: #ffffff; -} - -/* - ### Panel Styles -*/ - -.FCK_Panel -{ - border: #8f8f73 1px solid; - padding: 2px; - background-color: #ffffff; -} - -.FCK_Panel, .FCK_Panel TD -{ - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; - font-size: 11px; -} - -/* - ### Special Combos -*/ - -.SC_Panel -{ - overflow: auto; - white-space: nowrap; - cursor: default; - border: 1px solid #8f8f73; - padding-left: 2px; - padding-right: 2px; -} - -.SC_Panel, .SC_Panel TD -{ - font-size: 11px; - font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif; -} - -.SC_Item, .SC_ItemSelected -{ - margin-top: 2px; - margin-bottom: 2px; - background-position: left center; - padding-left: 11px; - padding-right: 3px; - padding-top: 2px; - padding-bottom: 2px; - text-overflow: ellipsis; - overflow: hidden; - background-repeat: no-repeat; - border: #dddddd 1px solid; -} - -.SC_Item *, .SC_ItemSelected * -{ - margin-top: 0px; - margin-bottom: 0px; -} - -.SC_ItemSelected -{ - border: #9a9afb 1px solid; - background-image: url(images/toolbar.arrowright.gif); -} - -.SC_ItemOver -{ - border: #316ac5 1px solid; -} - -.SC_Field -{ - margin-top:1px ; - border: #b7b7a6 1px solid; - cursor: default; -} - -.SC_FieldCaption -{ - padding-top: 1px ; - overflow: visible; - padding-right: 5px; - padding-left: 5px; - opacity: 0.75; /* Safari, Opera and Mozilla */ - filter: alpha(opacity=70); /* IE */ /* -moz-opacity: 0.75; Mozilla (Old) */ - height: 23px; - background-color: #f7f7f7; -} - -.SC_FieldLabel -{ - white-space: nowrap; - padding: 2px; - width: 100%; - cursor: default; - background-color: #ffffff; - text-overflow: ellipsis; - overflow: hidden; -} - -.SC_FieldButton -{ - background-position: center center; - background-image: url(images/toolbar.buttonarrow.gif); - border-left: #b7b7a6 1px solid; - width: 14px; - background-repeat: no-repeat; -} - -.SC_FieldDisabled .SC_FieldButton, .SC_FieldDisabled .SC_FieldCaption -{ - opacity: 0.30; /* Safari, Opera and Mozilla */ - filter: gray() alpha(opacity=30); /* IE */ /* -moz-opacity: 0.30; Mozilla (Old) */ -} - -.SC_FieldOver -{ - border: #316ac5 1px solid; -} - -.SC_FieldOver .SC_FieldButton -{ - border-left: #316ac5 1px solid; -} - -/* - ### Color Selector Panel -*/ - -.ColorBoxBorder -{ - border: #808080 1px solid; - position: static; -} - -.ColorBox -{ - font-size: 1px; - width: 10px; - position: static; - height: 10px; -} - -.ColorDeselected, .ColorSelected -{ - cursor: default; -} - -.ColorDeselected -{ - border: #ffffff 1px solid; - padding: 2px; - float: left; -} - -.ColorSelected -{ - border: #316ac5 1px solid; - padding: 2px; - float: left; - background-color: #c1d2ee; -} diff --git a/editor/editor/skins/silver/fck_strip.gif b/editor/editor/skins/silver/fck_strip.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.arrowright.gif b/editor/editor/skins/silver/images/toolbar.arrowright.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.buttonarrow.gif b/editor/editor/skins/silver/images/toolbar.buttonarrow.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.buttonbg.gif b/editor/editor/skins/silver/images/toolbar.buttonbg.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.collapse.gif b/editor/editor/skins/silver/images/toolbar.collapse.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.end.gif b/editor/editor/skins/silver/images/toolbar.end.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.expand.gif b/editor/editor/skins/silver/images/toolbar.expand.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.separator.gif b/editor/editor/skins/silver/images/toolbar.separator.gif Binary files differ. diff --git a/editor/editor/skins/silver/images/toolbar.start.gif b/editor/editor/skins/silver/images/toolbar.start.gif Binary files differ. diff --git a/editor/editor/skins/v2/dialog.css b/editor/editor/skins/v2/dialog.css @@ -0,0 +1,8 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +body .cke_dialog{visibility:visible;}.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;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;_background-image:url(images/sprites_ie6.png);_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;_background-image:url(images/dialog_sides.gif);_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);_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;}.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;}.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;}.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 0;}.cke_skin_v2 input.cke_dialog_ui_input_text,.cke_skin_v2 input.cke_dialog_ui_input_password{background-color:white;border:none;padding:0;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:0;}.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 0;}.cke_skin_v2 textarea.cke_dialog_ui_input_textarea{background-color:white;border:none;padding:0;width:100%;_width:99%;overflow:auto;resize:none;}.cke_skin_v2 div.cke_dialog_ui_input_textarea{background-color:white;border:1px solid #a0a0a0;padding:1px 0;}.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;}.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;}.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;}.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;}.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;_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 iframe.cke_dialog_ui_input_file{width:100%;height:25px;}.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;cursor:hand;}.cke_skin_v2 .cke_dialog #ImagePreviewBox{white-space:normal;border:2px ridge black;overflow:scroll;height:160px;width:230px;padding:2px;background-color:white;}.cke_skin_v2 .cke_dialog #ImagePreviewLoader{position:absolute;white-space:normal;overflow:hidden;height:160px;width:230px;margin:2px;padding:2px;opacity:.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_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;cursor:hand;}.cke_skin_v2 .cke_disabled{color:#a0a0a0;}.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;cursor:hand;font-weight:bold;position:relative;top:3px;}.cke_skin_v2 .cke_dialog_body .cke_label{display:none;}.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{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/editor/editor/skins/v2/editor.css b/editor/editor/skins/v2/editor.css @@ -0,0 +1,12 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +.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;}.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 .cke_editor{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;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{_white-space:normal;}.cke_skin_v2 .cke_resizer{width:12px;height:12px;margin-top:16px;display:block;float:right;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;background-position:0 -828px;float:left;}.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;}.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;}.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;}.cke_skin_v2 .cke_panel iframe{width:100%;height:100%;}.cke_skin_v2 .cke_panel_frame .cke_label{display:none;}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:0;white-space:nowrap;}li.cke_panel_listItem{margin:0;}.cke_panel_listItem a{padding:2px;display:block;border:1px solid #fff;color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis;}* html .cke_panel_listItem a{width:100%;color:#000;}*:first-child+html .cke_panel_listItem a{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:0;}.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:0;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;}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;}@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 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;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{background-image:url(images/sprites.png);_background-image:url(images/sprites_ie6.png);background-position:4px -760px;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{background-position:4px -781px;}.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);opacity:.70;-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);opacity:1;}.cke_skin_v2 .cke_hc .cke_button a.cke_on{padding:0 2px!important;border-width:3px;}.cke_skin_v2 .cke_button a.cke_disabled,.cke_skin_v2 .cke_browser_ie a:hover.cke_button .cke_disabled{border:solid 1px #efefde;background-color:#efefde;filter:alpha(opacity=30);opacity:.3;}.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:.6;}.cke_skin_v2 .cke_button a:hover.cke_on,.cke_skin_v2 .cke_button a:focus.cke_on,.cke_skin_v2 .cke_button a:active.cke_on,.cke_skin_v2 .cke_button a:hover.cke_off,.cke_skin_v2 .cke_button a:focus.cke_off,.cke_skin_v2 .cke_button a:active.cke_off{border:solid 1px #316ac5;background-color:#dff1ff;filter:alpha(opacity=100);opacity:1;padding:2px 4px;}.cke_skin_v2 .cke_hc .cke_button a:hover.cke_on,.cke_skin_v2 .cke_hc .cke_button a:focus.cke_on,.cke_skin_v2 .cke_hc .cke_button a:active.cke_on,.cke_skin_v2 .cke_hc .cke_button a:hover.cke_off,.cke_skin_v2 .cke_hc .cke_button a:focus.cke_off,.cke_skin_v2 .cke_hc .cke_button a:active.cke_off{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;}.cke_skin_v2 .cke_button .cke_label{cursor:default;display:none;padding-left:3px;vertical-align:3px;}.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;}.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);}.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;}.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;}.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{vertical-align:baseline;} +.cke_skin_v2 .cke_browser_ie .cke_rcombo,.cke_skin_v2 .cke_browser_ie .cke_rcombo *{cursor:default;}.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 a.cke_disabled:hover,.cke_skin_v2 .cke_menuitem a.cke_disabled:focus,.cke_skin_v2 .cke_menuitem a.cke_disabled:active{background-color:transparent!important;}.cke_hc .cke_menuitem a.cke_disabled:hover,.cke_hc .cke_menuitem a.cke_disabled:focus,.cke_hc .cke_menuitem a.cke_disabled:active{border-width:0;}.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_skin_v2 .cke_menuitem .cke_disabled .cke_icon{filter:alpha(opacity=70);opacity:.70;}.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);opacity:.70;}.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);opacity:.70;}.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;}.cke_skin_v2 .cke_frameLoaded .cke_menuitem .cke_label{filter:alpha(opacity=70);opacity:.70;}.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);opacity:.30;}.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);opacity:.70;_font-size:0;}.cke_skin_v2 .cke_menuarrow{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;}.cke_rtl .cke_skin_v2 .cke_menuarrow{float:left;margin-right:0;margin-left:2px;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;}.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;}.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;}.cke_skin_v2 .cke_rcombo a{display:inline-block;float:left;filter:alpha(opacity=70);opacity:.70;}.cke_skin_v2 .cke_rtl .cke_rcombo a{float:right;}.cke_skin_v2 .cke_hc .cke_rcombo a{filter:alpha(opacity=100);opacity:1.0;} +.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);opacity:.70;background-color:#f1f1e3;}.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;}.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;}.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);opacity:1;}.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:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;}.cke_skin_v2 .cke_rcombo .cke_on .cke_openbutton{-moz-border-radius-bottomright:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;}.cke_skin_v2 .cke_rcombo .cke_disabled .cke_label{filter:alpha(opacity=30);opacity:.3;}.cke_skin_v2 .cke_hc .cke_rcombo .cke_disabled .cke_label{filter:alpha(opacity=70);opacity:.7;}.cke_skin_v2 .cke_rcombo .cke_disabled .cke_text,.cke_skin_v2 .cke_rcombo .cke_disabled .cke_openbutton{filter:alpha(opacity=50);opacity:.5;}.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:.8;}.cke_skin_v2 .cke_rcombo .cke_disabled .cke_text{color:#fff;}.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;}.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;}@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;}.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{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;}.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_button_outdent .cke_icon{background-position:0 -432px;}.cke_skin_v2 .cke_button_indent .cke_icon{background-position:0 -448px;}.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_source .cke_label{display:inline;display:inline-block;}.cke_skin_v2 .cke_styles_panel{width:150px;height:170px;}.cke_skin_v2 .cke_format_panel{width:150px;height:170px;}.cke_skin_v2 .cke_font_panel{width:150px;height:170px;}.cke_skin_v2 .cke_fontSize_panel{height:170px;}.cke_skin_v2 .cke_fontSize .cke_text{width:20px;}.cke_skin_v2 .cke_browser_iequirks .cke_fontSize .cke_text{width:32px;}html .cke_skin_v2{visibility:inherit;}html.cke_skin_v2_container{visibility:visible;} diff --git a/editor/editor/skins/v2/icons.png b/editor/editor/skins/v2/icons.png Binary files differ. diff --git a/editor/editor/skins/v2/images/dialog_sides.gif b/editor/editor/skins/v2/images/dialog_sides.gif Binary files differ. diff --git a/editor/editor/skins/v2/images/dialog_sides.png b/editor/editor/skins/v2/images/dialog_sides.png Binary files differ. diff --git a/editor/editor/skins/v2/images/dialog_sides_rtl.png b/editor/editor/skins/v2/images/dialog_sides_rtl.png Binary files differ. diff --git a/editor/editor/skins/v2/images/mini.gif b/editor/editor/skins/v2/images/mini.gif Binary files differ. diff --git a/editor/editor/skins/v2/images/noimage.png b/editor/editor/skins/v2/images/noimage.png Binary files differ. diff --git a/editor/editor/skins/v2/images/sprites.png b/editor/editor/skins/v2/images/sprites.png Binary files differ. diff --git a/editor/editor/skins/v2/images/sprites_ie6.png b/editor/editor/skins/v2/images/sprites_ie6.png Binary files differ. diff --git a/editor/editor/skins/v2/images/toolbar_start.gif b/editor/editor/skins/v2/images/toolbar_start.gif Binary files differ. diff --git a/editor/editor/skins/v2/skin.js b/editor/editor/skins/v2/skin.js @@ -0,0 +1,6 @@ +/* +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 a=[];if(CKEDITOR.env.ie&&CKEDITOR.env.version<7)a.push('icons.png','images/sprites_ie6.png','images/dialog_sides.gif');return{preload:a,editor:{css:['editor.css']},dialog:{css:['dialog.css']},templates:{css:['templates.css']},margins:[0,14,18,14]};})());(function(){CKEDITOR.dialog?a():CKEDITOR.on('dialogPluginReady',a);function a(){CKEDITOR.dialog.on('resize',function(b){var c=b.data,d=c.width,e=c.height,f=c.dialog,g=f.parts.contents;if(c.skin!='v2')return;g.setStyles({width:d+'px',height:e+'px'});if(!CKEDITOR.env.ie)return;setTimeout(function(){var h=f.parts.dialog.getChild([0,0,0]),i=h.getChild(0),j=h.getChild(2);j.setStyle('width',i.$.offsetWidth+'px');j=h.getChild(7);j.setStyle('width',i.$.offsetWidth-28+'px');j=h.getChild(4);j.setStyle('height',i.$.offsetHeight-31-14+'px');j=h.getChild(5);j.setStyle('height',i.$.offsetHeight-31-14+'px');},100);});};})(); diff --git a/editor/editor/skins/v2/templates.css b/editor/editor/skins/v2/templates.css @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +.cke_skin_v2 .cke_tpl_list{border:#dcdcdc 2px solid;background-color:#fff;overflow:auto;width:100%;height:220px;}.cke_skin_v2 .cke_tpl_item{margin:5px;padding:7px;border:#eee 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:#f93 1px solid!important;background-color:#fffacd!important;cursor:pointer;cursor:hand;}.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_hover *{cursor:inherit;}.cke_skin_v2 .cke_tpl_empty,.cke_tpl_loading{text-align:center;padding:5px;} diff --git a/editor/editor/themes/default/theme.js b/editor/editor/themes/default/theme.js @@ -0,0 +1,8 @@ +/* +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 a(b,c){var d,e;e=b.config.sharedSpaces;e=e&&e[c];e=e&&CKEDITOR.document.getById(e);if(e){var f='<span class="cke_shared"><span class="'+b.skinClass+' cke_editor_'+b.name+'">'+'<span class="'+CKEDITOR.env.cssClass+'">'+'<span class="cke_wrapper cke_'+b.lang.dir+'">'+'<span class="cke_editor">'+'<div class="cke_'+c+'">'+'</div></span></span></span></span></span>',g=e.append(CKEDITOR.dom.element.createFromHtml(f,e.getDocument()));if(e.getCustomData('cke_hasshared'))g.hide();else e.setCustomData('cke_hasshared',1);d=g.getChild([0,0,0,0]);b.on('focus',function(){for(var h=0,i,j=e.getChildren();i=j.getItem(h);h++){if(i.type==CKEDITOR.NODE_ELEMENT&&!i.equals(g)&&i.hasClass('cke_shared'))i.hide();}g.show();});b.on('destroy',function(){g.remove();});}return d;};return{build:function(b,c){var d=b.name,e=b.element,f=b.elementMode;if(!e||f==CKEDITOR.ELEMENT_MODE_NONE)return;if(f==CKEDITOR.ELEMENT_MODE_REPLACE)e.hide();var g=b.fire('themeSpace',{space:'top',html:''}).html,h=b.fire('themeSpace',{space:'contents',html:''}).html,i=b.fireOnce('themeSpace',{space:'bottom',html:''}).html,j=h&&b.config.height,k=b.config.tabIndex||b.element.getAttribute('tabindex')||0;if(!h)j='auto';else if(!isNaN(j))j+='px';var l='',m=b.config.width;if(m){if(!isNaN(m))m+='px';l+='width: '+m+';';}var n=g&&a(b,'top'),o=a(b,'bottom');n&&(n.setHtml(g),g='');o&&(o.setHtml(i),i='');var p=CKEDITOR.dom.element.createFromHtml(['<span id="cke_',d,'" onmousedown="return false;" class="',b.skinClass,' cke_editor_',d,'" dir="',b.lang.dir,'" title="',CKEDITOR.env.gecko?' ':'','" lang="',b.langCode,'" role="application" aria-labelledby="cke_',d,'_arialbl"'+(l?' style="'+l+'"':'')+'>'+'<span id="cke_',d,'_arialbl" class="cke_voice_label">'+b.lang.editor+'</span>'+'<span class="',CKEDITOR.env.cssClass,'" role="presentation"><span class="cke_wrapper cke_',b.lang.dir,'" role="presentation"><table class="cke_editor" border="0" cellspacing="0" cellpadding="0" role="presentation"><tbody><tr',g?'':' style="display:none"','><td id="cke_top_',d,'" class="cke_top" role="presentation">',g,'</td></tr><tr',h?'':' style="display:none"','><td id="cke_contents_',d,'" class="cke_contents" style="height:',j,'" role="presentation">',h,'</td></tr><tr',i?'':' style="display:none"','><td id="cke_bottom_',d,'" class="cke_bottom" role="presentation">',i,'</td></tr></tbody></table><style>.',b.skinClass,'{visibility:hidden;}</style></span></span></span>'].join(''));p.getChild([1,0,0,0,0]).unselectable(); +p.getChild([1,0,0,0,2]).unselectable();if(f==CKEDITOR.ELEMENT_MODE_REPLACE)p.insertAfter(e);else e.append(p);b.container=p;p.disableContextMenu();b.fireOnce('themeLoaded');b.fireOnce('uiReady');},buildDialog:function(b){var c=CKEDITOR.tools.getNextNumber(),d=CKEDITOR.dom.element.createFromHtml(['<div class="cke_editor_'+b.name.replace('.','\\.')+'_dialog cke_skin_',b.skinName,'" dir="',b.lang.dir,'" lang="',b.langCode,'" role="dialog" aria-labelledby="%title#"><table class="cke_dialog',' '+CKEDITOR.env.cssClass,' cke_',b.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="'+b.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>',CKEDITOR.env.ie?'':'<style>.cke_dialog{visibility:hidden;}</style>','</div>'].join('').replace(/#/g,'_'+c).replace(/%/g,'cke_dialog_')),e=d.getChild([0,0,0,0,0]),f=e.getChild(0),g=e.getChild(1);f.unselectable();g.unselectable();return{element:d,parts:{dialog:d.getChild(0),title:f,close:g,tabs:e.getChild(2),contents:e.getChild([3,0,0,0]),footer:e.getChild(4)}};},destroy:function(b){var c=b.container;if(CKEDITOR.env.ie){c.setStyle('display','none');var d=document.body.createTextRange();d.moveToElementText(c.$);try{d.select();}catch(e){}}if(c)c.remove();if(b.elementMode==CKEDITOR.ELEMENT_MODE_REPLACE){b.element.show();delete b.element;}}};})());CKEDITOR.editor.prototype.getThemeSpace=function(a){var b='cke_'+a,c=this._[b]||(this._[b]=CKEDITOR.document.getById(b+'_'+this.name));return c;};CKEDITOR.editor.prototype.resize=function(a,b,c,d){var e=/^\d+$/;if(e.test(a))a+='px';var f=this.container,g=CKEDITOR.document.getById('cke_contents_'+this.name),h=d?f.getChild(1):f;CKEDITOR.env.webkit&&h.setStyle('display','none');h.setStyle('width',a);if(CKEDITOR.env.webkit){h.$.offsetWidth; +h.setStyle('display','');}var i=c?0:(h.$.offsetHeight||0)-(g.$.clientHeight||0);g.setStyle('height',Math.max(b-i,0)+'px');this.fire('resize');};CKEDITOR.editor.prototype.getResizable=function(){return this.container.getChild(1);}; diff --git a/editor/fckconfig.js b/editor/fckconfig.js @@ -1,307 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * Editor configuration settings. - * - * Follow this link for more information: - * http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Configurations_Settings - */ - -FCKConfig.CustomConfigurationsPath = '' ; - -FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; -FCKConfig.EditorAreaStyles = '' ; -FCKConfig.ToolbarComboPreviewCSS = '' ; - -FCKConfig.DocType = '' ; - -FCKConfig.BaseHref = '' ; - -FCKConfig.FullPage = false ; - -// The following option determines whether the "Show Blocks" feature is enabled or not at startup. -FCKConfig.StartupShowBlocks = false ; - -FCKConfig.Debug = false ; -FCKConfig.AllowQueryStringDebug = true ; - -FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; -FCKConfig.PreloadImages = [ FCKConfig.SkinPath + 'images/toolbar.start.gif', FCKConfig.SkinPath + 'images/toolbar.buttonarrow.gif' ] ; - -FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; - -// FCKConfig.Plugins.Add( 'autogrow' ) ; -// FCKConfig.Plugins.Add( 'dragresizetable' ); -FCKConfig.AutoGrowMax = 400 ; - -// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> -// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code -// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> - -FCKConfig.AutoDetectLanguage = true ; -FCKConfig.DefaultLanguage = 'en' ; -FCKConfig.ContentLangDirection = 'ltr' ; - -FCKConfig.ProcessHTMLEntities = true ; -FCKConfig.IncludeLatinEntities = true ; -FCKConfig.IncludeGreekEntities = true ; - -FCKConfig.ProcessNumericEntities = false ; - -FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'" - -FCKConfig.FillEmptyBlocks = true ; - -FCKConfig.FormatSource = true ; -FCKConfig.FormatOutput = true ; -FCKConfig.FormatIndentator = ' ' ; - -FCKConfig.GeckoUseSPAN = false ; -FCKConfig.StartupFocus = false ; -FCKConfig.ForcePasteAsPlainText = false ; -FCKConfig.AutoDetectPasteFromWord = true ; // IE only. -FCKConfig.ShowDropDialog = true ; -FCKConfig.ForceSimpleAmpersand = false ; -FCKConfig.TabSpaces = 0 ; -FCKConfig.ShowBorders = true ; -FCKConfig.SourcePopup = false ; -FCKConfig.ToolbarStartExpanded = true ; -FCKConfig.ToolbarCanCollapse = true ; -FCKConfig.IgnoreEmptyParagraphValue = true ; -FCKConfig.PreserveSessionOnFileBrowser = false ; -FCKConfig.FloatingPanelsZIndex = 10000 ; -FCKConfig.HtmlEncodeOutput = false ; - -FCKConfig.TemplateReplaceAll = true ; -FCKConfig.TemplateReplaceCheckbox = true ; - -FCKConfig.ToolbarLocation = 'In' ; - -FCKConfig.ToolbarSets["Default"] = [ - ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], - ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], - ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], - ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], - '/', - ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], - ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'], - ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], - ['Link','Unlink','Anchor'], - ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], - '/', - ['Style','FontFormat','FontName','FontSize'], - ['TextColor','BGColor'], - ['FitWindow','ShowBlocks','-','About'] // No comma for the last row. -] ; - -FCKConfig.ToolbarSets["Basic"] = [ - ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] -] ; - -FCKConfig.EnterMode = 'p' ; // p | div | br -FCKConfig.ShiftEnterMode = 'br' ; // p | div | br - -FCKConfig.Keystrokes = [ - [ CTRL + 65 /*A*/, true ], - [ CTRL + 67 /*C*/, true ], - [ CTRL + 70 /*F*/, true ], - [ CTRL + 83 /*S*/, true ], - [ CTRL + 88 /*X*/, true ], - [ CTRL + 86 /*V*/, 'Paste' ], - [ SHIFT + 45 /*INS*/, 'Paste' ], - [ CTRL + 88 /*X*/, 'Cut' ], - [ SHIFT + 46 /*DEL*/, 'Cut' ], - [ CTRL + 90 /*Z*/, 'Undo' ], - [ CTRL + 89 /*Y*/, 'Redo' ], - [ CTRL + SHIFT + 90 /*Z*/, 'Redo' ], - [ CTRL + 76 /*L*/, 'Link' ], - [ CTRL + 66 /*B*/, 'Bold' ], - [ CTRL + 73 /*I*/, 'Italic' ], - [ CTRL + 85 /*U*/, 'Underline' ], - [ CTRL + SHIFT + 83 /*S*/, 'Save' ], - [ CTRL + ALT + 13 /*ENTER*/, 'FitWindow' ], - [ CTRL + 9 /*TAB*/, 'Source' ] -] ; - -FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; -FCKConfig.BrowserContextMenuOnCtrl = false ; - -FCKConfig.EnableMoreFontColors = true ; -FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; - -FCKConfig.FontFormats = 'p;h1;h2;h3;h4;h5;h6;pre;address;div' ; -FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; -FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ; - -FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; -FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; - -FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' -FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; -FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl -FCKConfig.FirefoxSpellChecker = false ; - -FCKConfig.MaxUndoLevels = 15 ; - -FCKConfig.DisableObjectResizing = false ; -FCKConfig.DisableFFTableHandles = true ; - -FCKConfig.LinkDlgHideTarget = false ; -FCKConfig.LinkDlgHideAdvanced = false ; - -FCKConfig.ImageDlgHideLink = false ; -FCKConfig.ImageDlgHideAdvanced = false ; - -FCKConfig.FlashDlgHideAdvanced = false ; - -FCKConfig.ProtectedTags = '' ; - -// This will be applied to the body element of the editor -FCKConfig.BodyId = '' ; -FCKConfig.BodyClass = '' ; - -FCKConfig.DefaultStyleLabel = '' ; -FCKConfig.DefaultFontFormatLabel = '' ; -FCKConfig.DefaultFontLabel = '' ; -FCKConfig.DefaultFontSizeLabel = '' ; - -FCKConfig.DefaultLinkTarget = '' ; - -// The option switches between trying to keep the html structure or do the changes so the content looks like it was in Word -FCKConfig.CleanWordKeepsStructure = false ; - -// Only inline elements are valid. -FCKConfig.RemoveFormatTags = 'b,big,code,del,dfn,em,font,i,ins,kbd,q,samp,small,span,strike,strong,sub,sup,tt,u,var' ; - -FCKConfig.CustomStyles = -{ - 'Red Title' : { Element : 'h3', Styles : { 'color' : 'Red' } } -}; - -// Do not add, rename or remove styles here. Only apply definition changes. -FCKConfig.CoreStyles = -{ - // Basic Inline Styles. - 'Bold' : { Element : 'b', Overrides : 'strong' }, - 'Italic' : { Element : 'i', Overrides : 'em' }, - 'Underline' : { Element : 'u' }, - 'StrikeThrough' : { Element : 'strike' }, - 'Subscript' : { Element : 'sub' }, - 'Superscript' : { Element : 'sup' }, - - // Basic Block Styles (Font Format Combo). - 'p' : { Element : 'p' }, - 'div' : { Element : 'div' }, - 'pre' : { Element : 'pre' }, - 'address' : { Element : 'address' }, - 'h1' : { Element : 'h1' }, - 'h2' : { Element : 'h2' }, - 'h3' : { Element : 'h3' }, - 'h4' : { Element : 'h4' }, - 'h5' : { Element : 'h5' }, - 'h6' : { Element : 'h6' }, - - // Other formatting features. - 'FontFace' : - { - Element : 'span', - Styles : { 'font-family' : '#("Font")' }, - Overrides : [ { Element : 'font', Attributes : { 'face' : null } } ] - }, - - 'Size' : - { - Element : 'span', - Styles : { 'font-size' : '#("Size","fontSize")' }, - Overrides : [ { Element : 'font', Attributes : { 'size' : null } } ] - }, - - 'Color' : - { - Element : 'span', - Styles : { 'color' : '#("Color","color")' }, - Overrides : [ { Element : 'font', Attributes : { 'color' : null } } ] - }, - - 'BackColor' : { Element : 'span', Styles : { 'background-color' : '#("Color","color")' } } -}; - -// The distance of an indentation step. -FCKConfig.IndentLength = 40 ; -FCKConfig.IndentUnit = 'px' ; - -// Alternatively, FCKeditor allows the use of CSS classes for block indentation. -// This overrides the IndentLength/IndentUnit settings. -FCKConfig.IndentClasses = [] ; - -// [ Left, Center, Right, Justified ] -FCKConfig.JustifyClasses = [] ; - -// The following value defines which File Browser connector and Quick Upload -// "uploader" to use. It is valid for the default implementaion and it is here -// just to make this configuration file cleaner. -// It is not possible to change this value using an external file or even -// inline when creating the editor instance. In that cases you must set the -// values of LinkBrowserURL, ImageBrowserURL and so on. -// Custom implementations should just ignore it. -var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py -var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py - -// Don't care about the following two lines. It just calculates the correct connector -// extension to use for the default File Browser (Perl uses "cgi"). -var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; -var _QuickUploadExtension = _QuickUploadLanguage == 'perl' ? 'cgi' : _QuickUploadLanguage ; - -FCKConfig.LinkBrowser = true ; -FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=../../connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; -FCKConfig.LinkBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% -FCKConfig.LinkBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% - -FCKConfig.ImageBrowser = true ; -FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=../../connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; -FCKConfig.ImageBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; // 70% ; -FCKConfig.ImageBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; // 70% ; - -FCKConfig.FlashBrowser = true ; -FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=../../connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ; -FCKConfig.FlashBrowserWindowWidth = FCKConfig.ScreenWidth * 0.7 ; //70% ; -FCKConfig.FlashBrowserWindowHeight = FCKConfig.ScreenHeight * 0.7 ; //70% ; - -FCKConfig.LinkUpload = true ; -FCKConfig.LinkUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension ; -FCKConfig.LinkUploadAllowedExtensions = ".(7z|aiff|asf|avi|bmp|csv|doc|fla|flv|gif|gz|gzip|jpeg|jpg|mid|mov|mp3|mp4|mpc|mpeg|mpg|ods|odt|pdf|png|ppt|pxd|qt|ram|rar|rm|rmi|rmvb|rtf|sdc|sitd|swf|sxc|sxw|tar|tgz|tif|tiff|txt|vsd|wav|wma|wmv|xls|xml|zip)$" ; // empty for all -FCKConfig.LinkUploadDeniedExtensions = "" ; // empty for no one - -FCKConfig.ImageUpload = true ; -FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ; -FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all -FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one - -FCKConfig.FlashUpload = true ; -FCKConfig.FlashUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Flash' ; -FCKConfig.FlashUploadAllowedExtensions = ".(swf|flv)$" ; // empty for all -FCKConfig.FlashUploadDeniedExtensions = "" ; // empty for no one - -FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ; -FCKConfig.SmileyImages = ['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'] ; -FCKConfig.SmileyColumns = 8 ; -FCKConfig.SmileyWindowWidth = 320 ; -FCKConfig.SmileyWindowHeight = 240 ; - diff --git a/editor/fckeditor.js b/editor/fckeditor.js @@ -1,212 +0,0 @@ -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the integration file for JavaScript. - * - * It defines the FCKeditor class that can be used to create editor - * instances in a HTML page in the client side. For server side - * operations, use the specific integration system. - */ - -// FCKeditor Class -var FCKeditor = function( instanceName, width, height, toolbarSet, value ) -{ - // Properties - this.InstanceName = instanceName ; - this.Width = width || '100%' ; - this.Height = height || '200' ; - this.ToolbarSet = toolbarSet || 'Default' ; - this.Value = value || '' ; - this.BasePath = '/fckeditor/' ; - this.CheckBrowser = true ; - this.DisplayErrors = true ; - - this.Config = new Object() ; - - // Events - this.OnError = null ; // function( source, errorNumber, errorDescription ) -} - -FCKeditor.prototype.Version = '2.5' ; -FCKeditor.prototype.VersionBuild = '17352' ; - -FCKeditor.prototype.Create = function() -{ - document.write( this.CreateHtml() ) ; -} - -FCKeditor.prototype.CreateHtml = function() -{ - // Check for errors - if ( !this.InstanceName || this.InstanceName.length == 0 ) - { - this._ThrowError( 701, 'You must specify an instance name.' ) ; - return '' ; - } - - var sHtml = '<div>' ; - - if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) - { - sHtml += '<input type="hidden" id="' + this.InstanceName + '" name="' + this.InstanceName + '" value="' + this._HTMLEncode( this.Value ) + '" style="display:none" />' ; - sHtml += this._GetConfigHtml() ; - sHtml += this._GetIFrameHtml() ; - } - else - { - var sWidth = this.Width.toString().indexOf('%') > 0 ? this.Width : this.Width + 'px' ; - var sHeight = this.Height.toString().indexOf('%') > 0 ? this.Height : this.Height + 'px' ; - sHtml += '<textarea name="' + this.InstanceName + '" rows="4" cols="40" style="width:' + sWidth + ';height:' + sHeight + '">' + this._HTMLEncode( this.Value ) + '<\/textarea>' ; - } - - sHtml += '</div>' ; - - return sHtml ; -} - -FCKeditor.prototype.ReplaceTextarea = function() -{ - if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) - { - // We must check the elements firstly using the Id and then the name. - var oTextarea = document.getElementById( this.InstanceName ) ; - var colElementsByName = document.getElementsByName( this.InstanceName ) ; - var i = 0; - while ( oTextarea || i == 0 ) - { - if ( oTextarea && oTextarea.tagName.toLowerCase() == 'textarea' ) - break ; - oTextarea = colElementsByName[i++] ; - } - - if ( !oTextarea ) - { - alert( 'Error: The TEXTAREA with id or name set to "' + this.InstanceName + '" was not found' ) ; - return ; - } - - oTextarea.style.display = 'none' ; - this._InsertHtmlBefore( this._GetConfigHtml(), oTextarea ) ; - this._InsertHtmlBefore( this._GetIFrameHtml(), oTextarea ) ; - } -} - -FCKeditor.prototype._InsertHtmlBefore = function( html, element ) -{ - if ( element.insertAdjacentHTML ) // IE - element.insertAdjacentHTML( 'beforeBegin', html ) ; - else // Gecko - { - var oRange = document.createRange() ; - oRange.setStartBefore( element ) ; - var oFragment = oRange.createContextualFragment( html ); - element.parentNode.insertBefore( oFragment, element ) ; - } -} - -FCKeditor.prototype._GetConfigHtml = function() -{ - var sConfig = '' ; - for ( var o in this.Config ) - { - if ( sConfig.length > 0 ) sConfig += '&amp;' ; - sConfig += encodeURIComponent( o ) + '=' + encodeURIComponent( this.Config[o] ) ; - } - - return '<input type="hidden" id="' + this.InstanceName + '___Config" value="' + sConfig + '" style="display:none" />' ; -} - -FCKeditor.prototype._GetIFrameHtml = function() -{ - var sFile = 'fckeditor.html' ; - - try - { - if ( (/fcksource=true/i).test( window.top.location.search ) ) - sFile = 'fckeditor.original.html' ; - } - catch (e) { /* Ignore it. Much probably we are inside a FRAME where the "top" is in another domain (security error). */ } - - var sLink = this.BasePath + 'editor/' + sFile + '?InstanceName=' + encodeURIComponent( this.InstanceName ) ; - if (this.ToolbarSet) sLink += '&amp;Toolbar=' + this.ToolbarSet ; - - return '<iframe id="' + this.InstanceName + '___Frame" src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="0" scrolling="no"></iframe>' ; -} - -FCKeditor.prototype._IsCompatibleBrowser = function() -{ - return FCKeditor_IsCompatibleBrowser() ; -} - -FCKeditor.prototype._ThrowError = function( errorNumber, errorDescription ) -{ - this.ErrorNumber = errorNumber ; - this.ErrorDescription = errorDescription ; - - if ( this.DisplayErrors ) - { - document.write( '<div style="COLOR: #ff0000">' ) ; - document.write( '[ FCKeditor Error ' + this.ErrorNumber + ': ' + this.ErrorDescription + ' ]' ) ; - document.write( '</div>' ) ; - } - - if ( typeof( this.OnError ) == 'function' ) - this.OnError( this, errorNumber, errorDescription ) ; -} - -FCKeditor.prototype._HTMLEncode = function( text ) -{ - if ( typeof( text ) != "string" ) - text = text.toString() ; - - text = text.replace( - /&/g, "&amp;").replace( - /"/g, "&quot;").replace( - /</g, "&lt;").replace( - />/g, "&gt;") ; - - return text ; -} - -function FCKeditor_IsCompatibleBrowser() -{ - var sAgent = navigator.userAgent.toLowerCase() ; - - // Internet Explorer 5.5+ - if ( /*@cc_on!@*/false && sAgent.indexOf("mac") == -1 ) - { - var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ; - return ( sBrowserVersion >= 5.5 ) ; - } - - // Gecko (Opera 9 tries to behave like Gecko at this point). - if ( navigator.product == "Gecko" && navigator.productSub >= 20030210 && !( typeof(opera) == 'object' && opera.postError ) ) - return true ; - - // Opera 9.50+ - if ( window.opera && window.opera.version && parseFloat( window.opera.version() ) >= 9.5 ) - return true ; - - // Safari 3+ - if ( sAgent.indexOf( ' applewebkit/' ) != -1 ) - return ( sAgent.match( / applewebkit\/(\d+)/ )[1] >= 522 ) ; // Build must be at least 522 (v3) - - return false ; -} diff --git a/editor/fckeditor.php b/editor/fckeditor.php @@ -1,71 +0,0 @@ -<?php -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the integration file for PHP (All versions). - * - * It loads the correct integration file based on the PHP version (avoiding - * strict error messages with PHP 5). - */ - -function FCKeditor_IsCompatibleBrowser() -{ - global $HTTP_USER_AGENT ; - - if ( !isset( $_SERVER ) ) { - global $HTTP_SERVER_VARS ; - $_SERVER = $HTTP_SERVER_VARS ; - } - - if ( isset( $HTTP_USER_AGENT ) ) - $sAgent = $HTTP_USER_AGENT ; - else - $sAgent = $_SERVER['HTTP_USER_AGENT'] ; - - if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false ) - { - $iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ; - return ($iVersion >= 5.5) ; - } - else if ( strpos($sAgent, 'Gecko/') !== false ) - { - $iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ; - return ($iVersion >= 20030210) ; - } - else if ( strpos($sAgent, 'Opera/') !== false ) - { - $fVersion = (float)substr($sAgent, strpos($sAgent, 'Opera/') + 6, 4) ; - return ($fVersion >= 9.5) ; - } - else if ( preg_match( "|AppleWebKit/(\d+)|i", $sAgent, $matches ) ) - { - $iVersion = $matches[1] ; - return ( $matches[1] >= 522 ) ; - } - else - return false ; -} - -if ( !function_exists('version_compare') || version_compare( phpversion(), '5', '<' ) ) - include_once( 'fckeditor_php4.php' ) ; -else - include_once( 'fckeditor_php5.php' ) ; - -?> diff --git a/editor/fckeditor_php4.php b/editor/fckeditor_php4.php @@ -1,147 +0,0 @@ -<?php -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the integration file for PHP 4. - * - * It defines the FCKeditor class that can be used to create editor - * instances in PHP pages on server side. - */ - -class FCKeditor -{ - var $InstanceName ; - var $BasePath ; - var $Width ; - var $Height ; - var $ToolbarSet ; - var $Value ; - var $Config ; - - // PHP 4 Constructor - function FCKeditor( $instanceName ) - { - $this->InstanceName = $instanceName ; - $this->BasePath = '/fckeditor/' ; - $this->Width = '100%' ; - $this->Height = '200' ; - $this->ToolbarSet = 'Default' ; - $this->Value = '' ; - - $this->Config = array() ; - } - - function Create() - { - echo $this->CreateHtml() ; - } - - function CreateHtml() - { - $HtmlValue = htmlspecialchars( $this->Value ) ; - - $Html = '<div>' ; - - if ( !isset( $_GET ) ) { - global $HTTP_GET_VARS ; - $_GET = $HTTP_GET_VARS ; - } - - if ( $this->IsCompatible() ) - { - if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" ) - $File = 'fckeditor.original.html' ; - else - $File = 'fckeditor.html' ; - - $Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ; - - if ( $this->ToolbarSet != '' ) - $Link .= "&amp;Toolbar={$this->ToolbarSet}" ; - - // Render the linked hidden field. - $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />" ; - - // Render the configurations hidden field. - $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />" ; - - // Render the editor IFRAME. - $Html .= "<iframe id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>" ; - } - else - { - if ( strpos( $this->Width, '%' ) === false ) - $WidthCSS = $this->Width . 'px' ; - else - $WidthCSS = $this->Width ; - - if ( strpos( $this->Height, '%' ) === false ) - $HeightCSS = $this->Height . 'px' ; - else - $HeightCSS = $this->Height ; - - $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; - } - - $Html .= '</div>' ; - - return $Html ; - } - - function IsCompatible() - { - return FCKeditor_IsCompatibleBrowser() ; - } - - function GetConfigFieldString() - { - $sParams = '' ; - $bFirst = true ; - - foreach ( $this->Config as $sKey => $sValue ) - { - if ( $bFirst == false ) - $sParams .= '&amp;' ; - else - $bFirst = false ; - - if ( $sValue === true ) - $sParams .= $this->EncodeConfig( $sKey ) . '=true' ; - else if ( $sValue === false ) - $sParams .= $this->EncodeConfig( $sKey ) . '=false' ; - else - $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ; - } - - return $sParams ; - } - - function EncodeConfig( $valueToEncode ) - { - $chars = array( - '&' => '%26', - '=' => '%3D', - '"' => '%22' ) ; - - return strtr( $valueToEncode, $chars ) ; - } -} - -?> diff --git a/editor/fckeditor_php5.php b/editor/fckeditor_php5.php @@ -1,142 +0,0 @@ -<?php -/* - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the integration file for PHP 5. - * - * It defines the FCKeditor class that can be used to create editor - * instances in PHP pages on server side. - */ - -class FCKeditor -{ - var $InstanceName ; - var $BasePath ; - var $Width ; - var $Height ; - var $ToolbarSet ; - var $Value ; - var $Config ; - - // PHP 5 Constructor (by Marcus Bointon <coolbru@users.sourceforge.net>) - function __construct( $instanceName ) - { - $this->InstanceName = $instanceName ; - $this->BasePath = '/fckeditor/' ; - $this->Width = '100%' ; - $this->Height = '200' ; - $this->ToolbarSet = 'Default' ; - $this->Value = '' ; - - $this->Config = array() ; - } - - function Create() - { - echo $this->CreateHtml() ; - } - - function CreateHtml() - { - $HtmlValue = htmlspecialchars( $this->Value ) ; - - $Html = '<div>' ; - - if ( $this->IsCompatible() ) - { - if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" ) - $File = 'fckeditor.original.html' ; - else - $File = 'fckeditor.html' ; - - $Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ; - - if ( $this->ToolbarSet != '' ) - $Link .= "&amp;Toolbar={$this->ToolbarSet}" ; - - // Render the linked hidden field. - $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />" ; - - // Render the configurations hidden field. - $Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />" ; - - // Render the editor IFRAME. - $Html .= "<iframe id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>" ; - } - else - { - if ( strpos( $this->Width, '%' ) === false ) - $WidthCSS = $this->Width . 'px' ; - else - $WidthCSS = $this->Width ; - - if ( strpos( $this->Height, '%' ) === false ) - $HeightCSS = $this->Height . 'px' ; - else - $HeightCSS = $this->Height ; - - $Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ; - } - - $Html .= '</div>' ; - - return $Html ; - } - - function IsCompatible() - { - return FCKeditor_IsCompatibleBrowser() ; - } - - function GetConfigFieldString() - { - $sParams = '' ; - $bFirst = true ; - - foreach ( $this->Config as $sKey => $sValue ) - { - if ( $bFirst == false ) - $sParams .= '&amp;' ; - else - $bFirst = false ; - - if ( $sValue === true ) - $sParams .= $this->EncodeConfig( $sKey ) . '=true' ; - else if ( $sValue === false ) - $sParams .= $this->EncodeConfig( $sKey ) . '=false' ; - else - $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ; - } - - return $sParams ; - } - - function EncodeConfig( $valueToEncode ) - { - $chars = array( - '&' => '%26', - '=' => '%3D', - '"' => '%22' ) ; - - return strtr( $valueToEncode, $chars ) ; - } -} - -?>- \ No newline at end of file diff --git a/editor/fckstyles.xml b/editor/fckstyles.xml @@ -1,114 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!-- - * FCKeditor - The text editor for Internet - http://www.fckeditor.net - * Copyright (C) 2003-2007 Frederico Caldeira Knabben - * - * == BEGIN LICENSE == - * - * Licensed under the terms of any of the following licenses at your - * choice: - * - * - GNU General Public License Version 2 or later (the "GPL") - * http://www.gnu.org/licenses/gpl.html - * - * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - * http://www.gnu.org/licenses/lgpl.html - * - * - Mozilla Public License Version 1.1 or later (the "MPL") - * http://www.mozilla.org/MPL/MPL-1.1.html - * - * == END LICENSE == - * - * This is the sample style definitions file. It makes the styles combo - * completely customizable. - * - * See FCKConfig.StylesXmlPath in the configuration file. ---> -<Styles> - - <!-- Block Styles --> - - <!-- - # These styles are already available in the "Format" combo, so they are not - # needed here by default. - - <Style name="Heading 1" element="h1" /> - <Style name="Heading 2" element="h2" /> - <Style name="Heading 3" element="h3" /> - <Style name="Heading 4" element="h4" /> - <Style name="Heading 5" element="h5" /> - <Style name="Heading 6" element="h6" /> - <Style name="Paragraph" element="p" /> - <Style name="Document Block" element="div" /> - <Style name="Preformatted Text" element="pre" /> - <Style name="Address" element="address" /> - --> - - <!-- Inline Styles --> - - <!-- - # These are core styles available as toolbar buttons. - - <Style name="Bold" element="b"> - <Override element="strong" /> - </Style> - <Style name="Italic" element="i"> - <Override element="em" /> - </Style> - <Style name="Underline" element="u" /> - <Style name="Strikethrough" element="strike" /> - <Style name="Subscript" element="sub" /> - <Style name="Superscript" element="sup" /> - --> - - <Style name="Marker: Yellow" element="span"> - <Style name="background-color" value="Yellow" /> - </Style> - <Style name="Marker: Green" element="span"> - <Style name="background-color" value="Lime" /> - </Style> - - <Style name="Strong Emphasis" element="strong" /> - <Style name="Emphasis" element="em" /> - - <Style name="Big" element="big" /> - <Style name="Small" element="small" /> - <Style name="Typewriter" element="tt" /> - - <Style name="Computer Code" element="code" /> - <Style name="Keyboard Phrase" element="kbd" /> - <Style name="Sample Text" element="samp" /> - <Style name="Variable" element="var" /> - - <Style name="Deleted Text" element="del" /> - <Style name="Inserted Text" element="ins" /> - - <Style name="Cited Work" element="cite" /> - <Style name="Inline Quotation" element="q" /> - - <Style name="Language: RTL" element="span"> - <Attribute name="dir" value="rtl" /> - </Style> - <Style name="Language: LTR" element="span"> - <Attribute name="dir" value="ltr" /> - </Style> - <Style name="Language: RTL Strong" element="bdo"> - <Attribute name="dir" value="rtl" /> - </Style> - <Style name="Language: LTR Strong" element="bdo"> - <Attribute name="dir" value="ltr" /> - </Style> - - <!-- Object Styles --> - - <Style name="Image on Left" element="img"> - <Attribute name="style" value="padding: 5px; margin-right: 5px" /> - <Attribute name="border" value="2" /> - <Attribute name="align" value="left" /> - </Style> - <Style name="Image on Right" element="img"> - <Attribute name="style" value="padding: 5px; margin-left: 5px" /> - <Attribute name="border" value="2" /> - <Attribute name="align" value="right" /> - </Style> -</Styles>- \ No newline at end of file diff --git a/editor/htaccess.txt b/editor/htaccess.txt @@ -1,44 +0,0 @@ -# -# FCKeditor - The text editor for Internet - http://www.fckeditor.net -# Copyright (C) 2003-2007 Frederico Caldeira Knabben -# -# == BEGIN LICENSE == -# -# Licensed under the terms of any of the following licenses at your -# choice: -# -# - GNU General Public License Version 2 or later (the "GPL") -# http://www.gnu.org/licenses/gpl.html -# -# - GNU Lesser General Public License Version 2.1 or later (the "LGPL") -# http://www.gnu.org/licenses/lgpl.html -# -# - Mozilla Public License Version 1.1 or later (the "MPL") -# http://www.mozilla.org/MPL/MPL-1.1.html -# -# == END LICENSE == -# -# ----------------------------------------------------------------------------- -# -# On some specific Linux installations you could face problems with Firefox. -# It could give you errors when loading the editor saying that some illegal -# characters were found (three strange chars in the beginning of the file). -# This could happen if you map the .js or .css files to PHP, for example. -# -# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. -# All FCKeditor files are Unicode encoded. -# -# Just rename this file to ".htaccess" and leave it in the editor directory. -# There are no security issues on doing it. It just sets the ".js" and ".css" -# files to their correct content types. -# - -AddType application/x-javascript .js -AddType text/css .css - -# -# If PHP is mapped to handle XML files, you could have some issues. The -# following will disable it. -# - -AddType text/xml .xml diff --git a/editor/license.txt b/editor/license.txt @@ -1,1247 +0,0 @@ -FCKeditor - The text editor for Internet - http://www.fckeditor.net -Copyright (C) 2003-2007 Frederico Caldeira Knabben - -Licensed under the terms of any of the following licenses at your -choice: - - - GNU General Public License Version 2 or later (the "GPL") - http://www.gnu.org/licenses/gpl.html - (See Appendix A) - - - GNU Lesser General Public License Version 2.1 or later (the "LGPL") - http://www.gnu.org/licenses/lgpl.html - (See Appendix B) - - - Mozilla Public License Version 1.1 or later (the "MPL") - http://www.mozilla.org/MPL/MPL-1.1.html - (See Appendix C) - -You are not required to, but if you want to explicitly declare the -license you have chosen to be bound to when using, reproducing, -modifying and distributing this software, just include a text file -titled "legal.txt" in your version of this software, indicating your -license choice. In any case, your choice will not restrict any -recipient of your version of this software to use, reproduce, modify -and distribute this software under any of the above licenses. - -Appendix A: The GPL License -=========================== - - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - -Appendix B: The LGPL License -============================ - - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - -Appendix C: The MPL License -=========================== - - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - diff --git a/editor/openrat-fckconfig.js b/editor/openrat-fckconfig.js @@ -1,39 +0,0 @@ - -FCKConfig.ToolbarSets["Default"] = [ - ['Save','NewPage','Preview','Templates','-','Source','DocProps','ShowBlocks'], - ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], - ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], - ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], - '/', - ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], - ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'], - ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], - ['Link','Unlink','Anchor'], - ['Image','Flash','Table','Rule','SpecialChar','PageBreak'], - '/', - ['Style','FontFormat','FontName','FontSize'], - ['TextColor','BGColor'], - ['FitWindow'] // No comma for the last row. -] ; - - -// --- -var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py -var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php - -// Don't care about the following line. It just calculates the correct connector -// extension to use for the default File Browser (Perl uses "cgi"). -var _FileBrowserExtension = _FileBrowserLanguage == 'perl' ? 'cgi' : _FileBrowserLanguage ; - -FCKConfig.LinkBrowser = true; -FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=../../../../../do.php?action=filemanager'; - -FCKConfig.ImageBrowser = true ; -FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=../../../../../do.php?action=filemanager'; - -FCKConfig.FlashBrowser = true ; -FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=../../../../../do.php?action=filemanager'; - -FCKConfig.LinkUpload = true; -FCKConfig.ImageUpload = true; -FCKConfig.FlashUpload = true; diff --git a/themes/default/include/html/editor.inc.php b/themes/default/include/html/editor.inc.php @@ -59,14 +59,45 @@ switch( $attr_type ) if ( $this->isEditMode() ) { - include('./editor/fckeditor.php'); - $editor = new FCKeditor( $attr_name ) ; - $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/'; - $editor->Value = $$attr_name; - $editor->Height = '290'; + include_once('./editor/editor/ckeditor.php'); + + $editor = new CKeditor() ; + + + //$editor->Value = $$attr_name; + //$editor->Height = '290'; //$editor->Config['CustomConfigurationsPath'] = '../../'.Html::url('filemanager','config'); - $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js'; - $editor->Create(); + //$editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js'; + //$editor->Create(); + + $url = FileUtils::slashify(dirname($_SERVER['SCRIPT_NAME'])); + + $base = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/editor/':'./editor/editor/'; + $editor->basePath = $base; + $editor->config['skin' ] = 'v2'; + $editor->config['language' ] = config('language','language_code'); + $editor->config['toolbar' ] = 'Openrat'; + $editor->config['toolbar_Openrat' ] = array( + array('Save','Preview','-'/*,'Templates'*/), + array('Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'), + array('Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'), + array('Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'), + '/', + array('Bold','Italic',/*'Underline',*/'Strike','-','Subscript','Superscript'), + array('NumberedList','BulletedList','-','Outdent','Indent','Blockquote'), + array('JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'), + array('Link','Unlink','Anchor'), + array('Image','Flash','Table','HorizontalRule','SpecialChar','PageBreak'), + '/', + array(/*'Styles',*/'Format','Font','FontSize'), + array('TextColor','BGColor'), + array('Source','-', 'ShowBlocks','Maximize') ); + + $editor->config['filebrowserUploadUrl' ] = './'.OR_EXT_CONTROLLER_FILE.'.php?action=filemanager&subaction=connector&Command=DirectUpload&CurrentFolder=/&Type=File&'.REQ_PARAM_TOKEN.'='.token(); + $editor->config['filebrowserBrowseUrl' ] = str_replace('&amp;','&',Html::url('filemanager','browse','-',array('oid'=>'',REQ_PARAM_TOKEN=>token()) )); + //$editor->config['filebrowserBrowseUrl' ] = $base.'filemanager/browser/default/browser.html?Connector='.urlencode('http://'.$_SERVER['SERVER_NAME'].$url.'?action=filemanager&subaction=connector&'.REQ_PARAM_TOKEN.'='.token()); + + $editor->editor($attr_name,$$attr_name); } else { diff --git a/themes/default/pages/html/filemanager/browse.tpl.php b/themes/default/pages/html/filemanager/browse.tpl.php @@ -0,0 +1,516 @@ +<?php $a1_class='main'; ?><?php + if (!defined('OR_VERSION')) die('Forbidden'); + if (!headers_sent()) header('Content-Type: text/html; charset='.$charset) +?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title><?php echo isset($a1_title)?langHtml($a1_title).' - ':(isset($windowTitle)?langHtml($windowTitle).' - ':'') ?><?php echo $cms_title ?></title> + <meta http-equiv="content-type" content="text/html; charset=<?php echo $charset ?>" > +<?php if ( isset($refresh_url) ) { ?> + <meta http-equiv="refresh" content="<?php echo isset($refresh_timeout)?$refresh_timeout:0 ?>; URL=<?php echo $refresh_url; if (ini_get('session.use_trans_sid')) echo '&'.session_name().'='.session_id(); ?>"> +<?php } ?> + <meta name="MSSmartTagsPreventParsing" content="true" > + <meta name="robots" content="noindex,nofollow" > +<?php if (isset($windowMenu) && is_array($windowMenu)) foreach( $windowMenu as $menu ) + { + ?> + <link rel="section" href="<?php echo Html::url($actionName,@$menu['subaction'],$this->getRequestId() ) ?>" title="<?php echo lang($menu['text']) ?>" > +<?php + } +?><?php if (isset($metaList) && is_array($metaList)) foreach( $metaList as $meta ) + { + ?> + <link rel="<?php echo $meta['name'] ?>" href="<?php echo $meta['url'] ?>" title="<?php echo $meta['title'] ?>" ><?php + } +?><?php if(!empty($root_stylesheet)) { ?> + <link rel="stylesheet" type="text/css" href="<?php echo $root_stylesheet ?>" > +<?php } ?> +<?php if($root_stylesheet!=$user_stylesheet) { ?> + <link rel="stylesheet" type="text/css" href="<?php echo $user_stylesheet ?>" > +<?php } ?> +</head> +<body class="main" <?php if (@$conf['interface']['application_mode']) { ?> style="padding:0px;margin:0px;"<?php } ?> > +<?php /* Debug-Information */ if ($showDuration) { echo "<!-- Output Variables are:\n";echo str_replace('-->','-- >',print_r($this->templateVars,true));echo "\n-->";} ?><?php unset($a1_class) ?><?php $a2_class='main';$a2_width='100%';$a2_space='0px';$a2_padding='0px'; ?><?php + $last_row_idx = @$row_idx; + $last_column_idx = @$column_idx; + $row_idx = 0; + $column_idx = 0; + $coloumn_widths = array(); + $row_classes = array(); + $column_classes = array(); +?><table class="main" cellspacing="0px" width="100%" cellpadding="0px"> +<?php unset($a2_class,$a2_width,$a2_space,$a2_padding) ?><?php $a3_list='notices';$a3_extract=true;$a3_key='list_key';$a3_value='list_value'; ?><?php + $a3_list_tmp_key = $a3_key; + $a3_list_tmp_value = $a3_value; + $a3_list_extract = $a3_extract; + unset($a3_key); + unset($a3_value); + if ( !isset($$a3_list) || !is_array($$a3_list) ) + $$a3_list = array(); + foreach( $$a3_list as $$a3_list_tmp_key => $$a3_list_tmp_value ) + { + if ( $a3_list_extract ) + { + if ( !is_array($$a3_list_tmp_value) ) + { + print_r($$a3_list_tmp_value); + die( 'not an array at key: '.$$a3_list_tmp_key ); + } + extract($$a3_list_tmp_value); + } +?><?php unset($a3_list,$a3_extract,$a3_key,$a3_value) ?><?php + $row_idx++; + $column_idx = 0; +?> +<tr +> +<?php $a5_colspan='2'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> + colspan="2" +><?php unset($a5_colspan) ?><?php $a6_class='text';$a6_key=$key;$a6_escape=true;$a6_cut='both'; ?><?php + $a6_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php + $langF = $a6_escape?'langHtml':'lang'; + $tmp_text = $langF($a6_key); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_key,$a6_escape,$a6_cut) ?><br/></td></tr><?php } ?><?php $a3_present='up_url'; ?><?php + $a3_tmp_exec = isset($$a3_present); + $a3_tmp_last_exec = $a3_tmp_exec; + if ( $a3_tmp_exec ) + { +?> +<?php unset($a3_present) ?><?php + $row_idx++; + $column_idx = 0; +?> +<tr +> +<?php $a5_width='50%';$a5_colspan='8'; ?><?php $column_idx++; ?><td + width="50%" +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> + colspan="8" +><?php unset($a5_width,$a5_colspan) ?><?php $a6_title='';$a6_target='_self';$a6_url=$up_url;$a6_class=''; ?><?php + $params = array(); + $tmp_url = ''; + $tmp_url = $a6_url; +?><a<?php if (isset($a6_name)) echo ' name="'.$a6_name.'"'; else echo ' href="'.$tmp_url.(isset($a6_anchor)?'#'.$a6_anchor:'').'"' ?> class="<?php echo $a6_class ?>" target="<?php echo $a6_target ?>"<?php if (isset($a6_accesskey)) echo ' accesskey="'.$a6_accesskey.'"' ?> title="<?php echo encodeHtml($a6_title) ?>"><?php unset($a6_title,$a6_target,$a6_url,$a6_class) ?><?php $a7_align='left';$a7_type='folder'; ?><?php + $a7_tmp_image_file = $image_dir.'icon_'.$a7_type.IMG_ICON_EXT; + $a7_size = '16x16'; + $a7_tmp_title = basename($a7_tmp_image_file); +?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_align,$a7_type) ?><?php $a7_class='text';$a7_raw='__.._____________________';$a7_escape=true;$a7_cut='both'; ?><?php + $a7_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php + $langF = $a7_escape?'langHtml':'lang'; + $tmp_text = str_replace('_','&nbsp;',$a7_raw); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_raw,$a7_escape,$a7_cut) ?></a></td></tr><?php } ?><?php $a3_class='headline'; ?><?php + $row_idx++; + $column_idx = 0; +?> +<tr + class="headline" +> +<?php unset($a3_class) ?><?php $a4_class='help'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> + class="help" +><?php unset($a4_class) ?><?php $a5_class='text';$a5_key='GLOBAL_TYPE';$a5_escape=true;$a5_cut='both'; ?><?php + $a5_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php + $langF = $a5_escape?'langHtml':'lang'; + $tmp_text = $langF($a5_key); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_key,$a5_escape,$a5_cut) ?><?php $a5_class='text';$a5_raw='_/_';$a5_escape=true;$a5_cut='both'; ?><?php + $a5_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php + $langF = $a5_escape?'langHtml':'lang'; + $tmp_text = str_replace('_','&nbsp;',$a5_raw); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_raw,$a5_escape,$a5_cut) ?><?php $a5_class='text';$a5_key='GLOBAL_NAME';$a5_escape=true;$a5_cut='both'; ?><?php + $a5_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php + $langF = $a5_escape?'langHtml':'lang'; + $tmp_text = $langF($a5_key); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_key,$a5_escape,$a5_cut) ?></td><?php $a4_class='help'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> + class="help" +><?php unset($a4_class) ?><?php $a5_class='text';$a5_key='GLOBAL_LASTCHANGE';$a5_escape=true;$a5_cut='both'; ?><?php + $a5_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a5_class ?>" title="<?php echo $a5_title ?>"><?php + $langF = $a5_escape?'langHtml':'lang'; + $tmp_text = $langF($a5_key); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a5_class,$a5_key,$a5_escape,$a5_cut) ?></td></tr><?php $a3_list='object';$a3_extract=true;$a3_key='list_key';$a3_value='list_value'; ?><?php + $a3_list_tmp_key = $a3_key; + $a3_list_tmp_value = $a3_value; + $a3_list_extract = $a3_extract; + unset($a3_key); + unset($a3_value); + if ( !isset($$a3_list) || !is_array($$a3_list) ) + $$a3_list = array(); + foreach( $$a3_list as $$a3_list_tmp_key => $$a3_list_tmp_value ) + { + if ( $a3_list_extract ) + { + if ( !is_array($$a3_list_tmp_value) ) + { + print_r($$a3_list_tmp_value); + die( 'not an array at key: '.$$a3_list_tmp_key ); + } + extract($$a3_list_tmp_value); + } +?><?php unset($a3_list,$a3_extract,$a3_key,$a3_value) ?><?php $a4_class='data'; ?><?php + $row_idx++; + $column_idx = 0; +?> +<tr + class="data" +> +<?php unset($a4_class) ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> +><?php $a6_title=$desc;$a6_target='_self';$a6_url=$url;$a6_class=$class; ?><?php + $params = array(); + $tmp_url = ''; + $tmp_url = $a6_url; +?><a<?php if (isset($a6_name)) echo ' name="'.$a6_name.'"'; else echo ' href="'.$tmp_url.(isset($a6_anchor)?'#'.$a6_anchor:'').'"' ?> class="<?php echo $a6_class ?>" target="<?php echo $a6_target ?>"<?php if (isset($a6_accesskey)) echo ' accesskey="'.$a6_accesskey.'"' ?> title="<?php echo encodeHtml($a6_title) ?>"><?php unset($a6_title,$a6_target,$a6_url,$a6_class) ?><?php $a7_align='left';$a7_type=$icon; ?><?php + $a7_tmp_image_file = $image_dir.'icon_'.$a7_type.IMG_ICON_EXT; + $a7_size = '16x16'; + $a7_tmp_title = basename($a7_tmp_image_file); +?><img alt="<?php echo $a7_tmp_title; if (isset($a7_size)) { echo ' ('; list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo $a7_tmp_width.'x'.$a7_tmp_height; echo')';} ?>" src="<?php echo $a7_tmp_image_file ?>" border="0"<?php if(isset($a7_align)) echo ' align="'.$a7_align.'"' ?><?php if (isset($a7_size)) { list($a7_tmp_width,$a7_tmp_height)=explode('x',$a7_size);echo ' width="'.$a7_tmp_width.'" height="'.$a7_tmp_height.'"';} ?>><?php unset($a7_align,$a7_type) ?><?php $a7_class='text';$a7_var='name';$a7_escape=true;$a7_cut='both'; ?><?php + $a7_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php + $langF = $a7_escape?'langHtml':'lang'; + $tmp_text = isset($$a7_var)?$$a7_var:$langF('UNKNOWN'); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_var,$a7_escape,$a7_cut) ?><?php $a7_class='text';$a7_raw='_';$a7_escape=true;$a7_cut='both'; ?><?php + $a7_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php + $langF = $a7_escape?'langHtml':'lang'; + $tmp_text = str_replace('_','&nbsp;',$a7_raw); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_raw,$a7_escape,$a7_cut) ?></a></td><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> +><?php $a6_date=$date; ?><?php + global $conf; + $time = $a6_date; + if ( isset($_COOKIE['or_timezone_offset']) ) + { + $time -= (int)date('Z'); + $time += ((int)$_COOKIE['or_timezone_offset']*60); + } + if ( $time==0) + echo lang('GLOBAL_UNKNOWN'); + elseif ( !$conf['interface']['human_date_format'] ) + { + echo '<span title="'; + $dl = date(lang('DATE_FORMAT_LONG'),$time); + $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl); + $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl); + echo $dl; + unset($dl); + echo '">'; + echo date(lang('DATE_FORMAT'),$time); + echo '</span>'; + } + else + { + $sekunden = time()-$time; + $minuten = intval($sekunden/60); + $stunden = intval($minuten /60); + $tage = intval($stunden /24); + $monate = intval($tage /30); + $jahre = intval($monate /12); + echo '<span title="'.date(lang('DATE_FORMAT'),$time).'"">'; + if ( $time==0) + echo lang('GLOBAL_UNKNOWN'); + elseif ( !$conf['interface']['human_date_format'] ) + echo date(lang('DATE_FORMAT'),$time); + elseif ( $sekunden == 1 ) + echo $sekunden.' '.lang('GLOBAL_SECOND'); + elseif ( $sekunden < 60 ) + echo $sekunden.' '.lang('GLOBAL_SECONDS'); + elseif ( $minuten == 1 ) + echo $minuten.' '.lang('GLOBAL_MINUTE'); + elseif ( $minuten < 60 ) + echo $minuten.' '.lang('GLOBAL_MINUTES'); + elseif ( $stunden == 1 ) + echo $stunden.' '.lang('GLOBAL_HOUR'); + elseif ( $stunden < 60 ) + echo $stunden.' '.lang('GLOBAL_HOURS'); + elseif ( $tage == 1 ) + echo $tage.' '.lang('GLOBAL_DAY'); + elseif ( $tage < 60 ) + echo $tage.' '.lang('GLOBAL_DAYS'); + elseif ( $monate == 1 ) + echo $monate.' '.lang('GLOBAL_MONTH'); + elseif ( $monate < 12 ) + echo $monate.' '.lang('GLOBAL_MONTHS'); + elseif ( $jahre == 1 ) + echo $jahre.' '.lang('GLOBAL_YEAR'); + else + echo $jahre.' '.lang('GLOBAL_YEARS'); + echo '</span>'; + } +?><?php unset($a6_date) ?></td></tr><?php } ?><?php $a3_empty='object'; ?><?php + if ( !isset($$a3_empty) ) + $a3_tmp_exec = empty($a3_empty); + elseif ( is_array($$a3_empty) ) + $a3_tmp_exec = (count($$a3_empty)==0); + elseif ( is_bool($$a3_empty) ) + $a3_tmp_exec = true; + else + $a3_tmp_exec = empty( $$a3_empty ); + $a3_tmp_last_exec = $a3_tmp_exec; + if ( $a3_tmp_exec ) + { +?> +<?php unset($a3_empty) ?><?php + $row_idx++; + $column_idx = 0; +?> +<tr +> +<?php $a5_colspan='2'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> + colspan="2" +><?php unset($a5_colspan) ?><?php $a6_class='text';$a6_text='GLOBAL_NOT_FOUND';$a6_escape=true;$a6_cut='both'; ?><?php + $a6_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a6_class ?>" title="<?php echo $a6_title ?>"><?php + $langF = $a6_escape?'langHtml':'lang'; + $tmp_text = $langF($a6_text); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a6_class,$a6_text,$a6_escape,$a6_cut) ?></td></tr><?php } ?><?php $a3_true=$writable; ?><?php + if (gettype($a3_true) === '' && gettype($a3_true) === '1') + $a3_tmp_exec = $$a3_true == true; + else + $a3_tmp_exec = $a3_true == true; + $a3_tmp_last_exec = $a3_tmp_exec; + if ( $a3_tmp_exec ) + { +?> +<?php unset($a3_true) ?><?php + $row_idx++; + $column_idx = 0; +?> +<tr +> +<?php $a5_colspan='2'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> + colspan="2" +><?php unset($a5_colspan) ?><br/><br/><?php $a6_title=lang('file'); ?><fieldset><?php if(isset($a6_title)) { ?><legend><?php echo encodeHtml($a6_title) ?></legend><?php } ?><?php unset($a6_title) ?></fieldset></td></tr><?php + $row_idx++; + $column_idx = 0; +?> +<tr +> +<?php $a5_colspan='2'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> + colspan="2" +><?php unset($a5_colspan) ?><?php $a6_action='filemanager';$a6_subaction='upload';$a6_id=$id;$a6_name='';$a6_target='_self';$a6_method='post';$a6_enctype='multipart/form-data'; ?><?php + if ($this->isEditable()) + { + if ($this->isEditMode()) + { + $a6_method = 'POST'; + } + else + { + $a6_method = 'GET'; + $a6_subaction = $subActionName; + } + } +?><form name="<?php echo $a6_name ?>" + target="<?php echo $a6_target ?>" + action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" + method="<?php echo $a6_method ?>" + enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> +<?php if ($this->isEditable() && !$this->isEditMode()) { ?> +<input type="hidden" name="mode" value="edit" /> +<?php } ?> +<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($a6_action,$a6_subaction,$a6_id,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_name='CKEditorFuncNum'; ?><?php +if (isset($$a7_name)) + $a7_tmp_value = $$a7_name; +elseif ( isset($a7_default) ) + $a7_tmp_value = $a7_default; +else + $a7_tmp_value = ""; +?><input type="hidden" name="<?php echo $a7_name ?>" value="<?php echo $a7_tmp_value ?>" /><?php unset($a7_name) ?><?php $a7_name='file';$a7_class='upload';$a7_size='40'; ?><input size="<?php echo $a7_size ?>" id="id_<?php echo $a7_name ?>" type="file" <?php if (isset($a7_maxlength))echo ' maxlength="'.$a7_maxlength.'"' ?> name="<?php echo $a7_name ?>" class="<?php echo $a7_class ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php unset($a7_name,$a7_class,$a7_size) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='add'; ?><?php + if ($this->isEditable() && !$this->isEditMode()) + $a7_text = 'MODE_EDIT'; + $a7_type = 'submit'; + if ( $this->isEditable() && readonly() ) + $a7_type = ''; // Knopf nicht anzeigen + $a7_src = ''; + if ( !empty($a7_type) ) { +?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) +?><?php } +?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> +</td></tr><?php + $row_idx++; + $column_idx = 0; +?> +<tr +> +<?php $a5_colspan='2'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> + colspan="2" +><?php unset($a5_colspan) ?><br/><br/><?php $a6_title=lang('folder'); ?><fieldset><?php if(isset($a6_title)) { ?><legend><?php echo encodeHtml($a6_title) ?></legend><?php } ?><?php unset($a6_title) ?></fieldset></td></tr><?php + $row_idx++; + $column_idx = 0; +?> +<tr +> +<?php $a5_colspan='2'; ?><?php $column_idx++; ?><td +<?php if (!empty($column_widths)) { ?> + width="<?php echo $column_widths[($column_idx-1)%count($column_widths)] ?>" +<?php } ?> +<?php if (!empty($column_classes)) { ?> + class="<?php echo $column_classes[($column_idx-1)%count($column_classes)] ?>" +<?php } ?> + colspan="2" +><?php unset($a5_colspan) ?><?php $a6_var='name';$a6_value=''; ?><?php + if (isset($a6_key)) + $$a6_var = $a6_value[$a6_key]; + else + $$a6_var = $a6_value; +?><?php unset($a6_var,$a6_value) ?><?php $a6_action='filemanager';$a6_subaction='addfolder';$a6_id=$id;$a6_name='';$a6_target='_self';$a6_method='post';$a6_enctype='application/x-www-form-urlencoded'; ?><?php + if ($this->isEditable()) + { + if ($this->isEditMode()) + { + $a6_method = 'POST'; + } + else + { + $a6_method = 'GET'; + $a6_subaction = $subActionName; + } + } +?><form name="<?php echo $a6_name ?>" + target="<?php echo $a6_target ?>" + action="<?php echo Html::url( $a6_action,$a6_subaction,$a6_id ) ?>" + method="<?php echo $a6_method ?>" + enctype="<?php echo $a6_enctype ?>" style="margin:0px;padding:0px;"> +<?php if ($this->isEditable() && !$this->isEditMode()) { ?> +<input type="hidden" name="mode" value="edit" /> +<?php } ?> +<input type="hidden" name="<?php echo REQ_PARAM_TOKEN ?>" value="<?php echo token() ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ACTION ?>" value="<?php echo $a6_action ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_SUBACTION ?>" value="<?php echo $a6_subaction ?>" /> +<input type="hidden" name="<?php echo REQ_PARAM_ID ?>" value="<?php echo $a6_id ?>" /><?php + if ( $conf['interface']['url_sessionid'] ) + echo '<input type="hidden" name="'.session_name().'" value="'.session_id().'" />'."\n"; +?><?php unset($a6_action,$a6_subaction,$a6_id,$a6_name,$a6_target,$a6_method,$a6_enctype) ?><?php $a7_name='CKEditorFuncNum'; ?><?php +if (isset($$a7_name)) + $a7_tmp_value = $$a7_name; +elseif ( isset($a7_default) ) + $a7_tmp_value = $a7_default; +else + $a7_tmp_value = ""; +?><input type="hidden" name="<?php echo $a7_name ?>" value="<?php echo $a7_tmp_value ?>" /><?php unset($a7_name) ?><?php $a7_class='text';$a7_key='name';$a7_escape=true;$a7_cut='both'; ?><?php + $a7_title = ''; + $tmp_tag = 'span'; +?><<?php echo $tmp_tag ?> class="<?php echo $a7_class ?>" title="<?php echo $a7_title ?>"><?php + $langF = $a7_escape?'langHtml':'lang'; + $tmp_text = $langF($a7_key); + $tmp_text = nl2br($tmp_text); + echo $tmp_text; + unset($tmp_text); +?></<?php echo $tmp_tag ?>><?php unset($a7_class,$a7_key,$a7_escape,$a7_cut) ?><?php $a7_class='text';$a7_default='';$a7_type='text';$a7_name='name';$a7_size='40';$a7_maxlength='256';$a7_onchange='';$a7_readonly=false; ?><?php if ($this->isEditable() && !$this->isEditMode()) $a7_readonly=true; + if ($a7_readonly && empty($$a7_name)) $$a7_name = '- '.lang('EMPTY').' -'; + if(!isset($a7_default)) $a7_default=''; +?><?php if (!$a7_readonly || $a7_type=='hidden') { +?><input<?php if ($a7_readonly) echo ' disabled="true"' ?> id="id_<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" name="<?php echo $a7_name ?><?php if ($a7_readonly) echo '_disabled' ?>" type="<?php echo $a7_type ?>" size="<?php echo $a7_size ?>" maxlength="<?php echo $a7_maxlength ?>" class="<?php echo $a7_class ?>" value="<?php echo isset($$a7_name)?$$a7_name:$a7_default ?>" <?php if (in_array($a7_name,$errors)) echo 'style="border-rightx:10px solid red; background-colorx:yellow; border:2px dashed red;"' ?> /><?php +if ($a7_readonly) { +?><input type="hidden" id="id_<?php echo $a7_name ?>" name="<?php echo $a7_name ?>" value="<?php echo isset($$a7_name)?$$a7_name:$a7_default ?>" /><?php + } } else { ?><span class="<?php echo $a7_class ?>"><?php echo isset($$a7_name)?$$a7_name:$a7_default ?></span><?php } ?><?php unset($a7_class,$a7_default,$a7_type,$a7_name,$a7_size,$a7_maxlength,$a7_onchange,$a7_readonly) ?><?php $a7_type='ok';$a7_class='ok';$a7_value='ok';$a7_text='add'; ?><?php + if ($this->isEditable() && !$this->isEditMode()) + $a7_text = 'MODE_EDIT'; + $a7_type = 'submit'; + if ( $this->isEditable() && readonly() ) + $a7_type = ''; // Knopf nicht anzeigen + $a7_src = ''; + if ( !empty($a7_type) ) { +?><input type="<?php echo $a7_type ?>"<?php if(isset($a7_src)) { ?> src="<?php echo $image_dir.'icon_'.$a7_src.IMG_ICON_EXT ?>"<?php } ?> name="<?php echo $a7_value ?>" class="ok" title="<?php echo lang($a7_text.'_DESC') ?>" value="&nbsp;&nbsp;&nbsp;&nbsp;<?php echo langHtml($a7_text) ?>&nbsp;&nbsp;&nbsp;&nbsp;" /><?php unset($a7_src) +?><?php } +?><?php unset($a7_type,$a7_class,$a7_value,$a7_text) ?></form> +</td></tr><?php } ?><?php + $row_idx = $last_row_idx; + $column_idx = $last_column_idx; +?> +</table></body> +</html>+ \ No newline at end of file diff --git a/themes/default/pages/html/pageelement/diff.tpl.php b/themes/default/pages/html/pageelement/diff.tpl.php @@ -416,7 +416,7 @@ $a8_title = ''; ?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $a8_value; + $tmp_text = $a8_escape?htmlentities($a8_value):$a8_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -428,7 +428,7 @@ $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $a8_value; + $tmp_text = $a8_escape?htmlentities($a8_value):$a8_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -460,7 +460,7 @@ unset($a5_tmp_last_exec) ?><?php $a6_present='right'; ?><?php $a8_title = ''; ?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $a8_value; + $tmp_text = $a8_escape?htmlentities($a8_value):$a8_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -472,7 +472,7 @@ unset($a5_tmp_last_exec) ?><?php $a6_present='right'; ?><?php $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a8_class ?>" title="<?php echo $a8_title ?>"><?php $langF = $a8_escape?'langHtml':'lang'; - $tmp_text = $a8_value; + $tmp_text = $a8_escape?htmlentities($a8_value):$a8_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); diff --git a/themes/default/pages/html/pageelement/edit.tpl.php b/themes/default/pages/html/pageelement/edit.tpl.php @@ -1176,13 +1176,32 @@ switch( $a8_type ) case 'html': if ( $this->isEditMode() ) { - include('./editor/fckeditor.php'); - $editor = new FCKeditor( $a8_name ) ; - $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/'; - $editor->Value = $$a8_name; - $editor->Height = '290'; - $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js'; - $editor->Create(); + include_once('./editor/editor/ckeditor.php'); + $editor = new CKeditor() ; + $url = FileUtils::slashify(dirname($_SERVER['SCRIPT_NAME'])); + $base = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/editor/':'./editor/editor/'; + $editor->basePath = $base; + $editor->config['skin' ] = 'v2'; + $editor->config['language' ] = config('language','language_code'); + $editor->config['toolbar' ] = 'Openrat'; + $editor->config['toolbar_Openrat' ] = array( + array('Save','Preview','-'/*,'Templates'*/), + array('Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'), + array('Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'), + array('Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'), + '/', + array('Bold','Italic',/*'Underline',*/'Strike','-','Subscript','Superscript'), + array('NumberedList','BulletedList','-','Outdent','Indent','Blockquote'), + array('JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'), + array('Link','Unlink','Anchor'), + array('Image','Flash','Table','HorizontalRule','SpecialChar','PageBreak'), + '/', + array(/*'Styles',*/'Format','Font','FontSize'), + array('TextColor','BGColor'), + array('Source','-', 'ShowBlocks','Maximize') ); + $editor->config['filebrowserUploadUrl' ] = './'.OR_EXT_CONTROLLER_FILE.'.php?action=filemanager&subaction=connector&Command=DirectUpload&CurrentFolder=/&Type=File&'.REQ_PARAM_TOKEN.'='.token(); + $editor->config['filebrowserBrowseUrl' ] = str_replace('&amp;','&',Html::url('filemanager','browse','-',array('oid'=>'',REQ_PARAM_TOKEN=>token()) )); + $editor->editor($a8_name,$$a8_name); } else { @@ -1381,13 +1400,32 @@ switch( $a8_type ) case 'html': if ( $this->isEditMode() ) { - include('./editor/fckeditor.php'); - $editor = new FCKeditor( $a8_name ) ; - $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/'; - $editor->Value = $$a8_name; - $editor->Height = '290'; - $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js'; - $editor->Create(); + include_once('./editor/editor/ckeditor.php'); + $editor = new CKeditor() ; + $url = FileUtils::slashify(dirname($_SERVER['SCRIPT_NAME'])); + $base = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/editor/':'./editor/editor/'; + $editor->basePath = $base; + $editor->config['skin' ] = 'v2'; + $editor->config['language' ] = config('language','language_code'); + $editor->config['toolbar' ] = 'Openrat'; + $editor->config['toolbar_Openrat' ] = array( + array('Save','Preview','-'/*,'Templates'*/), + array('Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'), + array('Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'), + array('Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'), + '/', + array('Bold','Italic',/*'Underline',*/'Strike','-','Subscript','Superscript'), + array('NumberedList','BulletedList','-','Outdent','Indent','Blockquote'), + array('JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'), + array('Link','Unlink','Anchor'), + array('Image','Flash','Table','HorizontalRule','SpecialChar','PageBreak'), + '/', + array(/*'Styles',*/'Format','Font','FontSize'), + array('TextColor','BGColor'), + array('Source','-', 'ShowBlocks','Maximize') ); + $editor->config['filebrowserUploadUrl' ] = './'.OR_EXT_CONTROLLER_FILE.'.php?action=filemanager&subaction=connector&Command=DirectUpload&CurrentFolder=/&Type=File&'.REQ_PARAM_TOKEN.'='.token(); + $editor->config['filebrowserBrowseUrl' ] = str_replace('&amp;','&',Html::url('filemanager','browse','-',array('oid'=>'',REQ_PARAM_TOKEN=>token()) )); + $editor->editor($a8_name,$$a8_name); } else { @@ -1552,7 +1590,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1570,7 +1608,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1579,7 +1617,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1597,7 +1635,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1613,7 +1651,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1631,7 +1669,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1656,7 +1694,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1674,7 +1712,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1699,7 +1737,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1717,7 +1755,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1735,7 +1773,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1753,7 +1791,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1762,7 +1800,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1780,7 +1818,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1798,7 +1836,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); @@ -1816,7 +1854,7 @@ function table() $tmp_tag = 'span'; ?><<?php echo $tmp_tag ?> class="<?php echo $a11_class ?>" title="<?php echo $a11_title ?>"><?php $langF = $a11_escape?'langHtml':'lang'; - $tmp_text = $a11_value; + $tmp_text = $a11_escape?htmlentities($a11_value):$a11_value; $tmp_text = nl2br($tmp_text); echo $tmp_text; unset($tmp_text); diff --git a/themes/default/pages/html/pageelement/prop.tpl.php b/themes/default/pages/html/pageelement/prop.tpl.php @@ -531,13 +531,15 @@ switch( $a7_type ) case 'html': if ( $this->isEditMode() ) { - include('./editor/fckeditor.php'); - $editor = new FCKeditor( $a7_name ) ; - $editor->BasePath = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/':'./editor/'; - $editor->Value = $$a7_name; - $editor->Height = '290'; - $editor->Config['CustomConfigurationsPath'] = '../openrat-fckconfig.js'; - $editor->Create(); + include_once('./editor/editor/ckeditor.php'); + $editor = new CKeditor() ; + $url = FileUtils::slashify(dirname($_SERVER['SCRIPT_NAME'])); + $base = defined('OR_BASE_URL')?slashify(OR_BASE_URL).'editor/editor/':'./editor/editor/'; + $editor->basePath = $base; + $editor->config['skin' ] = 'v2'; + $editor->config['filebrowserUploadUrl' ] = './'.OR_EXT_CONTROLLER_FILE.'.php?action=filemanager&subaction=connector&Command=DirectUpload&CurrentFolder=/&Type=File&'.REQ_PARAM_TOKEN.'='.token(); + $editor->config['filebrowserBrowseUrl' ] = str_replace('&amp;','&',Html::url('filemanager','browse','-',array('oid'=>'',REQ_PARAM_TOKEN=>token()) )); + $editor->editor($a7_name,$$a7_name); } else { diff --git a/themes/default/templates/filemanager/browse.tpl.src.php b/themes/default/templates/filemanager/browse.tpl.src.php @@ -0,0 +1,66 @@ +page class:main + + table class:main + list list:notices extract:true + row + cell colspan:2 + text key:var:key + newline + + if present:up_url + row + cell width:50% colspan:8 + link url:var:up_url + image type:folder + text raw:__.._____________________ + row class:headline + cell class:help + text key:GLOBAL_TYPE + text raw:_/_ + text key:GLOBAL_NAME + cell class:help + text key:GLOBAL_LASTCHANGE + + list list:object extract:true + row class:data + cell + link url:var:url title:var:desc class:var:class + image type:var:icon + text var:name + text raw:_ + cell + date date:var:date + + if empty:object + + row + cell colspan:2 + text text:GLOBAL_NOT_FOUND + + if true:var:writable + row + cell colspan:2 + newline + newline + fieldset title:message:file + row + cell colspan:2 + form action:filemanager subaction:upload id:var:id enctype:multipart/form-data + hidden name:CKEditorFuncNum + upload name:file + button type:ok text:add + + row + cell colspan:2 + newline + newline + fieldset title:message:folder + row + cell colspan:2 + set var:name value: + form action:filemanager subaction:addfolder id:var:id + hidden name:CKEditorFuncNum + text key:name + input name:name + button type:ok text:add + + \ No newline at end of file