/trunk/api/fckeditor/_documentation.html |
---|
New file |
0,0 → 1,38 |
<!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-2009 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 == |
--> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>FCKeditor - Documentation</title> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<style type="text/css"> |
body { font-family: arial, verdana, sans-serif } |
p { margin-left: 20px } |
</style> |
</head> |
<body> |
<h1> |
FCKeditor Documentation</h1> |
<p> |
You can find the official documentation for FCKeditor online, at <a href="http://docs.fckeditor.net/"> |
http://docs.fckeditor.net/</a>.</p> |
</body> |
</html> |
/trunk/api/fckeditor/fckeditor_php4.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/fckeditor_php5.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/fckeditor.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/fckpackager.xml |
---|
1,7 → 1,7 |
<?xml version="1.0" encoding="utf-8" ?> |
<!-- |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
27,7 → 27,7 |
<Package> |
<Header><![CDATA[/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/license.txt |
---|
1,5 → 1,5 |
FCKeditor - The text editor for Internet - http://www.fckeditor.net |
Copyright (C) 2003-2008 Frederico Caldeira Knabben |
Copyright (C) 2003-2009 Frederico Caldeira Knabben |
Licensed under the terms of any of the following licenses at your |
choice: |
/trunk/api/fckeditor/fcktemplates.xml |
---|
1,7 → 1,7 |
<?xml version="1.0" encoding="utf-8" ?> |
<!-- |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/_whatsnew.html |
---|
New file |
0,0 → 1,170 |
<!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-2009 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 == |
--> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>FCKeditor ChangeLog - What's New?</title> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<style type="text/css"> |
body { font-family: arial, verdana, sans-serif } |
p { margin-left: 20px } |
h1 { border-bottom: solid 1px gray; padding-bottom: 20px } |
</style> |
</head> |
<body> |
<h1> |
FCKeditor ChangeLog - What's New?</h1> |
<h3> |
Version 2.6.4</h3> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2777">#2777</a>] Merging |
cells between table header and body is no longer possible.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2815">#2815</a>] Fixed |
WSC issues at slow connection speed. Added SSL support.</li> |
<li>Language file updates for the following languages: |
<ul> |
<li>Chinese (Traditional)</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2846">#2846</a>] French</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2801">#2801</a>] Hebrew</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2824">#2824</a>] Russian</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2811">#2811</a>] Turkish</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2757">#2757</a>] Fixed |
a minor bug which causes selection positions to be improperly restored during undos |
and redos.</li> |
</ul> |
<h3> |
Version 2.6.4 Beta</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2685">#2685</a>] Integration |
with "WebSpellChecker", a <strong>zero installation and free spell checker</strong> |
provided by SpellChecker.net. This is now the default spell checker in the editor |
(requires internet connection). All previous spell checking solutions are still |
available.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2430">#2430</a>] In the |
table dialog it's possible to create header cells in the first row (included in |
a thead element) or the first column of the table. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/822">#822</a>] The table |
cell dialog allows switching between normal data cells or header cells (TD vs. TH). |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2515">#2515</a>] New language |
file for Icelandic.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2381">#2381</a>] Protected |
the editor from duplicate iframes</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1752">#1752</a>] Fixed |
the issue with tablecommands plugin and undefined tagName.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2333">#2333</a>] The &gt; |
character inside text wasn't encoded in Opera and Safari.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2467">#2467</a>] Fixed |
JavaScript error with the fit window command in source mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2472">#2472</a>] Splitting |
a TH will create a two TH, not a TH and a TD.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1891">#1891</a>] Removed |
unnecessary name attributes in dialogs. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/798">#798</a>, <a target="_blank" |
href="http://dev.fckeditor.net/ticket/2495">#2495</a>] If an image was placed inside |
a container with dimensions or floating it wasn't possible to edit its properties |
from the toolbar or context menu.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1982">#1982</a>] Submenus |
in IE7 now are shown properly.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2496">#2496</a>] Using |
the Paste dialogs in IE might insert the content at the start of the editor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2349">#2496</a>] Fixed |
RTL dialog layout in Internet Explorer.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2488">#2488</a>] Fixed |
the issue where email links in IE would take the browser to a new page in addition |
to calling up the email client.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2519">#2519</a>] Fixed |
race condition at registering the FCKeditorAPI object in multiple editor scenarios.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2525">#2525</a>] Fixed |
JavaScript error in Google Chrome when StartupShowBlocks is set to true.</li> |
<li>Language file updates for the following languages: |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2440">#2440</a>] Dutch</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2451">#2451</a>] Basque</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2451">#2650</a>] Danish</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2208">#2535</a>] German |
</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2531">#2531</a>] The ENTER |
key will properly scroll to the cursor position when breaking long paragraphs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2573">#2573</a>] The type |
name in configurations for the ASP connector are now case sensitive.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2503">#2503</a>] DL, DT |
and DD where missing the formatting in the generated HTML.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2516">#2516</a>] Replaced |
the extension AddItem of Array with the standard "push" method.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2486">#2486</a>] Vertically |
splitting cell with colspan > 1 breaks table layout.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2597">#2597</a>] Fixed |
the issue where dropping contents from outside of the editor doesn't work in Safari.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2412">#2412</a>] Fixed |
the issue where FCK.InsertHtml() is no longer removing selected contents after content |
insertion in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2407">#2407</a>] Fixed |
the issue where the Div container command and the blockquote command would break |
lists.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2469">#2469</a>] Fixed |
a minor issue where FCK.SetData() may cause the editor to become unresponsive to |
the first click after being defocused.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2611">#2611</a>] Fixed |
an extra slash on quickupload of the asp connector.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2616">#2616</a>] Fixed |
another situation where new elements were inserted at the beginning of the content |
in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2634">#2634</a>] Fixed |
two obsolete references to Array::AddItem() instances still in the code.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2679">#2679</a>] Fixed |
infinite loop problems with FCKDomRangeIterator class which causes some commands |
to hang when applied to certain document structures.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2649">#2649</a>] Fixed |
a JavaScript error in IE when user tries to search with the "Match whole word" option |
enabled and the matched word is at exactly the end of document.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2603">#2603</a>] Changed |
the <a href="http://docs.fckeditor.net/EMailProtection">EMailProtection</a> to "none" |
for better compatibility.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2612">#2612</a>] The 'ForcePasteAsPlainText' |
configuration option didn't work correctly in Safari and Chrome.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2696">#2696</a>] Fixed |
non-working autogrow plugin.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2753">#2753</a>] Fixed |
occasional exceptions in the dragersizetable plugin with IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2653">#2653</a>] and [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/2733">#2733</a>] Enable undo |
of changes to tables and table cells.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1865">#1865</a>] The context |
menu is now working properly over the last row in a table with thead. Thanks to |
Koen Willems.</li> |
</ul> |
<p> |
<a href="_whatsnew_history.html">See previous versions history</a></p> |
</body> |
</html> |
/trunk/api/fckeditor/_whatsnew_history.html |
---|
New file |
0,0 → 1,3916 |
<!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-2009 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 == |
--> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>FCKeditor ChangeLog - What's New?</title> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<style type="text/css"> |
body { font-family: arial, verdana, sans-serif } |
p { margin-left: 20px } |
h1 { border-bottom: solid 1px gray; padding-bottom: 20px } |
</style> |
</head> |
<body> |
<h1> |
FCKeditor ChangeLog - What's New?</h1> |
<h3> |
Version 2.6.3</h3> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2412">#2412</a>] FCK.InsertHtml() |
is now properly removing selected contents after content insertion in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2420">#2420</a>] Spelling |
mistake corrections made by the spell checking dialog are now undoable. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2411">#2411</a>] Insert |
anchor was not working for non-empty selections.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2426">#2426</a>] It was |
impossible to switch between editor areas with a single click.</li> |
<li>Language file updates for the following languages: |
<ul> |
<li>Canadian French</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2402">#2402</a>] Catalan |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2400">#2400</a>] Chinese |
(Simplified and Traditional)</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2401">#2401</a>] Croatian</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2422">#2422</a>] Czech</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2417">#2417</a>] Dutch</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2428">#2428</a>] French</li> |
<li>German</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2427">#2427</a>] Hebrew</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2410">#2410</a>] Hindi</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2405">#2405</a>] Japanese</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2409">#2409</a>] Norwegian |
and Norwegian Bokmål</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2429">#2429</a>] Spanish</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2406">#2406</a>] Vietnamese</li> |
</ul> |
</li> |
</ul> |
<p> |
This version has been sponsored by <a href="http://www.dataillusion.com/fs/">Data Illusion |
survey software solutions</a>.</p> |
<h3> |
Version 2.6.3 Beta</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/439">#439</a>] Added a |
new <strong>context menu option for opening links</strong> in the editor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2220">#2220</a>] <strong> |
Email links</strong> from the Link dialog <strong>are now encoded</strong> by default |
to prevent being harvested by spammers. (Kudos to asuter for proposing the patch) |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2234">#2234</a>] Added |
the ability to create, modify and remove <strong>DIV containers</strong>. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2247">#2247</a>] The <strong> |
SHIFT+SPACE</strong> keystroke will now <strong>produce a &nbsp;</strong> character. |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2252">#2252</a>] It's |
now possible to enable the browsers default menu using the configuration file (FCKConfig.BrowserContextMenu |
option). </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2032">#2032</a>] Added |
HTML samples for legacy HTML and Flash HTML. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/234">#234</a>] Introduced |
the "PreventSubmitHandler" setting, which makes it possible to instruct the editor |
to not handle the hidden field update on form submit events.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2319">#2319</a>] On Opera |
and Firefox 3, the entire page was scrolling on SHIFT+ENTER, or when EnterMode='br'.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2321">#2321</a>] On Firefox |
3, the entire page was scrolling when inserting block elements with the FCK.InsertElement |
function, used by the Table and Horizontal Rule buttons.. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/692">#692</a>] Added some |
hints in editor/css/fck_editorarea.css on how to handle style items that would break |
the style combo. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2263">#2263</a>] Fixed |
a JavaScript error in IE which occurs when there are placeholder elements in the |
document and the user has pressed the Source button.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2314">#2314</a>] Corrected |
mixed up Chinese translations for the blockquote command.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2323">#2323</a>] Fixed |
the issue where the show blocks command loses the current selection from the view |
area when editing a long document.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2322">#2322</a>] Fixed |
the issue where the fit window command loses the current selection and scroll position |
in the editing area.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1917">#1917</a>] Fixed |
the issue where the merge down command for tables cells does not work in IE for |
more than two cells.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2320">#2320</a>] Fixed |
the issue where the Find/Replace dialog scrolls the entire page.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1645">#1645</a>] Added |
warning message about Firefox 3's strict origin policy.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2272">#2272</a>] Improved |
the garbage filter in Paste from Word dialog.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2327">#2327</a>] Fixed |
invalid HTML in the Paste dialog.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1907">#1907</a>] Fixed |
sporadic "FCKeditorAPI is not defined" errors in Firefox 3.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2356">#2356</a>] Fixed |
access denied error in IE7 when FCKeditor is launched from local filesystem.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1150">#1150</a>] Fixed |
the type="_moz" attribute that sometimes appear in <br> tags in non-IE browsers.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting |
multiple contiguous paragraphs to Formatted will now be merged into a single <PRE> |
block.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2363">#2363</a>] There |
were some sporadic "Permission Denied" errors with IE on some situations.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2135">#2135</a>] Fixed |
a data loss bug in IE when there are @import statements in the editor's CSS files, |
and IE's cache is set to "Check for newer versions on every visit".</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2376">#2376</a>] FCK.InsertHtml() |
will now insert to the last selected position after the user has selected things |
outside of FCKeditor, in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2368">#2368</a>] Fixed |
broken protect source logic for comments in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2387">#2387</a>] Fixed |
JavaScript error with list commands when the editable document is selected with |
Ctrl-A.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2390">#2390</a>] Fixed |
the issue where indent styles in JavaScript-generated <p> blocks are erased |
in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2394">#2394</a>] Fixed |
JavaScript error with the "split vertically" command in IE when attempting to split |
cells in the last row of a table.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2316">#2316</a>] The sample |
posted data page has now the table fixed at 100% width. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2396">#2396</a>] SpellerPages |
was causing a "Permission Denied" error in some situations. </li> |
</ul> |
<h3> |
Version 2.6.2</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2043">#2043</a>] The debug |
script is not any more part of the compressed files. If FCKeditor native debugging |
features (FCKDebug) are required, the _source folder must be present in your installation.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2248">#2248</a>] Calling |
FCK.InsertHtml( 'nbsp;') was inserting a plain space instead of a non breaking space |
character.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2273">#2273</a>] The dragresizetable |
plugin now works in Firefox 3 as well.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor |
fix in FCKSelection for nodeTagName object.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1614">#1614</a>] Unified |
FCKConfig.FullBasePath with FCKConfig.BasePath.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2127">#2127</a>] Changed |
floating dialogs to use fixed positioning so that they are no longer affected by |
scrolling.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2018">#2018</a>] Reversed |
the fix for <a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a> |
which broke FCKeditorAPI's cleanup logic. A new configuration directive <strong>MsWebBrowserControlCompat</strong> |
has been added for those who wish to force the #183 fix to be enabled.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2276">#2276</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/2279">#2279</a>] On Opera |
and Firefox 3, the entire page was scrolling on ENTER.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2149</a>] CSS urls |
with querystring parameters were not being accepted for CSS values in the configuration |
file (like EditorAreaCSS).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] On some |
specific cases, with Firefox 2, some extra spacing was appearing in the final HTML |
on posting, if inserting two successive tables.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] Block |
elements (like tables or horizontal rules) will be inserted correctly now when the |
cursor is at the start or the end of blocks. No extra paragraphs will be included |
in this operation.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2197</a>] The TAB |
key will now have the default browser behavior if TabSpaces=0. It will move the |
focus out of the editor (expect on Safari).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2296">#2296</a>] Fixed |
permission denied error on clicking on files in the file browser.</li> |
</ul> |
<h3> |
Version 2.6.1</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2150">#2150</a>] The searching |
speed of the Find/Replace dialog has been vastly improved.</li> |
<li>New language file for <strong>Gujarati</strong> (by Nilam Doctor).</li> |
<li>A new TabIndex property has been added to the JavaScript integration files.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2215">#2215</a>] Following |
the above new feature, the ReplaceTextarea method will now copy the textarea.tabIndex |
value if available.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2163">#2163</a>] If the |
FCKConfig.DocType setting points to a HTML DocType then the output won't generate |
self-closing tags (it will output <img > instead of <img />).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2173">#2173</a>] A throbber |
will be shown in the Quick Uploads.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2142">#2142</a>] HTML |
samples will now use sampleposteddata.php in action parameter inside a form.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/768">#768</a>] It is no |
longer possible for an image to have its width and height defined with both HTML |
attributes and inline CSS styles in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1426">#1426</a>] Fixed |
the error loading fckstyles.xml in servers which cannot return the correct content |
type header for .xml files.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2102">#2102</a>] Fixed |
FCKConfig.DocType which stopped working in FCKeditor 2.6.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed |
the locking up issue in the Find/Replace dialog.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2124">#2124</a>] PHP File |
Browser: fixed issue with resolving paths on Windows servers with PHP 5.2.4/5.2.5.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2059">#2059</a>] Fixed |
the error in the toolbar name in fckeditor.py.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2065">#2065</a>] Floating |
dialogs will now block the user from re-selecting the editing area by pressing Tab.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2114">#2114</a>] Added |
a workaround for an IE6 bug which causes floating dialogs to appear blank after |
opening it for the first time.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2136">#2136</a>] Fixed |
JavaScript error in IE when opening the bullet list properties dialog.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1633">#1633</a>] External |
styles should no longer interfere with the appearance of the editor and floating |
panels now.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2113">#2113</a>] Fixed |
unneeded <span class="Apple-style-span"> created after inserting |
special characters.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2170">#2170</a>] Fixed |
Ctrl-Insert hotkey for copying.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2125">#2125</a>] Fixed |
the issue that FCK.InsertHtml() doesn't insert contents at the caret position when |
dialogs are opened in IE. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1764">#1764</a>] FCKeditor |
will no longer catch focus in IE on load when StartupFocus is false and the initial |
content is empty.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2126">#2126</a>] Opening |
and closing floating dialogs will no longer cause toolbar button states to become |
frozen.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2159">#2159</a>] Selection |
are now correctly restored when undoing changes made by the Replace dialog.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2160">#2160</a>] "Match |
whole word" in the Find and Replace dialog will now find words next to punctuation |
marks as well.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2162">#2162</a>] If the |
configuration is set to work including the <head> (FullPage), references to |
stylesheets added by Firefox extensions won't be added to the output.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2168">#2168</a>] Comments |
won't generate new paragraphs in the output.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed |
several validation errors in the File Browser.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1383">#1383</a>] Fixed |
an IE issue where pressing backspace may merge a hyperlink on the previous line |
with the text on the current line.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1691">#1691</a>] Creation |
of links in Safari failed if there was no selection.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2188">#2188</a>] PreserveSessionOnFileBrowser |
is now removed as it was made obsolete with 2.6.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/898">#898</a>] The styles |
for the editing area are applied in the image preview dialog.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2056">#2056</a>] Fixed |
several validation errors in the dialogs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2063">#2063</a>] Fixed |
some problems in asp related to the use of network paths for the location of the |
uploaded files.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] The "Sample |
Posted Data" page will now properly wrap the text.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The PHP |
code in sampleposteddata.php has been changed from "<?=" to "<? echo".</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2241">#2241</a>] Fixed |
404 error in floating panels when FCKeditor is installed to a different domain.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2066">#2066</a>] Added |
a workaround for a Mac Safari 3.1 browser bug which caused the Fit Window button |
to give a blank screen.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2218">#2218</a>] Improved |
Gecko based browser detection to accept Epiphany/Gecko as well.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2193">#2193</a>] Fixed |
the issue where the caret cannot reach the last character of a paragraph in Opera |
9.50.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2264">#2264</a>] Fixed |
empty spaces that appear at the top of the editor in Opera 9.50.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2238">#2238</a>] The <object> |
placeholder was not being properly displayed in the compressed distribution version |
and nightly builds.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2115">#2115</a>] Fixed |
JavaScript (permission denied) error in Firefox when file has been uploaded.</li> |
</ul> |
<h3> |
Version 2.6</h3> |
<p> |
No changes. The stabilization of the 2.6 RC was completed successfully, as expected.</p> |
<h3> |
Version 2.6 RC</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances |
object can now be used to access all FCKeditor instances available in the page.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span |
style="color: #ff0000">Attention:</span> By default, the editor now produces <strong> |
and <em> instead of <b> and <i>.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1924">#1924</a>] The dialog |
close button is now correctly positioned in IE in RTL languages.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder |
dialog will now display the placeholder value correctly in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing |
Enter or typing after a placeholder with the placeholder plugin will no longer generate |
colored text.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed |
an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed |
Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed |
permission denied errors during opening popup menus in IE6 under domain relaxation |
mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed |
JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed |
SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>] |
Fixed XHTML source formatting errors in non-IE browsers.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The # |
character is now properly encoded in file names returned by the File Browser.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders |
and file names are now properly sanitized against control characters. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash |
character is now disallowed in current folder path.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added |
logic to override JavaScript errors occurring inside the editing frame due to user |
added JavaScript code.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting |
ENTER on list items containing block elements will now create new list item elements, |
instead of adding further blocks to the same list item.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1411">#1411</a>] Label |
only combos now get properly grayed out when moving to source view.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed |
an important bug regarding styles removal on styled text boundaries, introduced |
with the 2.6 Beta 1. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal |
CSS <style> tags where being outputted when FullPage=true.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link |
dialog now properly selects the first field when opening it to modify mailto or |
anchor links. This problem was also throwing an error in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret |
will no longer remain behind in the editing area when the placeholder dialog is |
opened.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed |
JavaScript error in IE when the user tries to open dialogs in Source mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting |
ShiftEnterMode to p or div now works correctly when EnterMode is br.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed |
the issue where context menus sometimes don't disappear after selecting an option. |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed |
JavaScript error when EnterMode=br and user tries to insert a page break.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed |
the issue where the maximize editor button does not vertically expand the editing |
area in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration: |
fixed filename encoding problems in file browser.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling |
FCK.InsertHtml() in non-IE browsers would now activate the document processor as |
expected.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native |
XMLHttpRequest class is now used in IE, whenever it is available.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1792">#1792</a>] In IE, |
the browser was able to enter in an infinite loop when working with multiple editors |
in the same page. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some |
CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was |
having problems with SpellerPages, causing some errors to be thrown when completing |
the spell checking in some situations.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow |
command was throwing an error if executed in an editor where its relative button |
is not present in the toolbar.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented |
a generic document processor for <OBJECT> and <EMBED> tags.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed |
the issue where the placeholder icon for <EMBED> tags does not always show |
up in IE7.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed |
a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE, |
the caret will not any more move to the previous line when selecting a Format style |
inside an empty paragraph.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1990">#1990</a>] In IE, |
dialogs using API calls which deals with the selection, like InsertHtml now can |
be sure the selection will be placed in the correct position.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1997">#1997</a>] With |
IE, the first character of table captions where being lost on table creation.</li> |
<li>The selection and cursor position was not being properly handled when creating some |
elements like forms and tables.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/662">#662</a>] In the |
Perl sample files, the GetServerPath function will now calculate the path properly.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2208">#2208</a>] Added |
missing translations in Italian language file.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2096">#2096</a>] Added |
the codepage to basexml file. Filenames with special chars should now display properly.</li> |
</ul> |
<h3> |
Version 2.6 Beta 1</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/35">#35</a>] <strong>New |
(and cool!) floating dialog system</strong>, avoiding problems with popup blockers |
and enhancing the editor usability.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong> |
Adobe AIR</strong> compatibility.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support |
for <strong>document.domain</strong> with automatic domain detection.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1622">#1622</a>] New <strong> |
inline CSS cache</strong> feature, making it possible to avoid downloading the CSS |
files for the editing area and skins. For that, it is enough to set the EditorAreaCSS, |
SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|<minified |
CSS styles". All internal CSS links are already using this feature. </li> |
<li>New language file for <strong>Canadian French</strong>.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved |
several "strict warning" messages in Firefox when running FCKeditor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER |
key will now work properly in IE with the cursor at the start of a formatted block.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1503">#1503</a>] It's |
possible to define in the Styles that a Style (with an empty class) must be shown |
selected only when no class is present in the current element, and selecting that |
item will clear the current class (it does apply to any attribute, not only classes).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/191">#191</a>] The scrollbars |
are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden |
div.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned |
<li> elements now get properly enclosed in a <ul> on output.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The ENTER |
key will not any more break <button> elements at the beginning of paragraphs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor |
was not loading on a specific unknown situation. The breaking point has been removed.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor |
no longer hangs when operating on documents imported from Microsoft Word.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Floating |
panels attached to a shared toolbar among multiple FCKeditor instances are no longer |
misplaced when the editing areas are absolutely or relatively positioned.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog |
is now enforced only when ForcePasteAsPlainText = true.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes |
the autogrow plugin didn't work properly in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External |
toolbars are now properly sized in Opera.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking |
on radio buttons or checkboxes in the editor in IE will no longer cause lockups |
in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/805">#805</a>] The FCKConfig.Keystrokes |
commands where executed even if the command itself was disabled.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/982">#982</a>] The button |
to empty the box in the "Paste from Word" has been removed as it leads to confusion |
for some users.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing |
control elements in Firefox, Opera and Safari now works properly.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor |
was surrounded by a <div> element that wasn't really needed.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/676">#676</a>] If a form |
control was moved in IE after creating it, then it did lose its name.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/738">#738</a>] It wasn't |
possible to change the type of an existing button.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation |
now works inside table cells.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor |
was entering on looping on some specific cases when dealing with invalid source |
markup.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting |
text into the "Find what" fields in the Find and Replace dialog would now activate |
the find and replace buttons.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1828">#1828</a>] The Find/Replace |
dialog will no longer display wrong starting positions for the match when there |
are multiple and identical characters preceding the character at the real starting |
point of the match.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1878">#1878</a>] Fixed |
a JavaScript error which occurs in the Find/Replace dialog when the user presses |
"Find" or "Replace" after the "No match found" message has appeared.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1355">#1355</a>] Line |
breaks and spaces are now conserved when converting to and from the "Formatted" |
format.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved |
the background color behind smiley icons and special characters in their corresponding |
dialogs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom |
error messages are now properly displayed in the file browser.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text |
and value fields in the selection box dialog will no longer extend beyond the dialog |
limits when the user inputs a very long text or value for one of the selection options.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/479">#479</a>] Fixed the |
issue where pressing Enter in an <o:p> tag in IE does not generate line breaks.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the |
issue where the image preview in image dialog sometimes doesn't display after selecting |
the image from server browser.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1488">#1488</a>] PHP integration: |
the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead |
of depreciated "var").</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration: |
removed closing tag: "?>", so no additional whitespace added when files are included.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file |
browser: fixed problems with DetectHtml() function when open_basedir was set.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file |
browser: permissions applied with the chmod command are now configurable.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1872">#1872</a>] Perl |
file browser: permissions applied with the chmod command are now configurable.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1873">#1873</a>] Python |
file browser: permissions applied with the chmod command are now configurable.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1572">#1572</a>] ColdFusion |
integration: fixed issues with setting the editor height.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1692">#1692</a>] ColdFusion |
file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory() |
returning an empty string.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1379">#1379</a>] ColdFusion |
file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml() |
in IE will no longer turn the preceding normal whitespace into &nbsp;.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/958">#958</a>] The AddItem |
method now has an additional fifth parameter "customData" that will be sent to the |
Execute method of the command for that menu item, allowing a single command to be |
used for different menu items..</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1502">#1502</a>] The RemoveFormat |
command now also removes the attributes from the cleaned text. The list of attributes |
is configurable with FCKConfig.RemoveAttributes.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari, |
dialogs have now right-to-left layout when it runs a RTL language, like Arabic.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1344">#1344</a>] Added |
warning message on Copy and Cut operation failure on IE due to paste permission |
settings.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links |
to file browser has been changed to avoid requests containing double dots.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting |
multiple contiguous paragraphs to Formatted will now be merged into a single <PRE> |
block.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples |
failed to load from local filesystem in IE7.</li> |
</ul> |
<h3> |
Version 2.5.1</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li><strong>FCKeditor.Net 2.5</strong> compatibility.</li> |
<li>JavaScript integration file: |
<ul> |
<li>The new "<strong>FCKeditor.ReplaceAllTextareas</strong>" function is being introduced, |
making it possible to replace many (or unknown) <textarea> elements in a single |
call. The replacement can be also filtered by CSS class name, or by a custom function |
evaluator. </li> |
<li>It is now possible to set the default BasePath for all editor instances by setting |
<strong>FCKeditor.BasePath</strong>. This is extremely useful when working with |
the ReplaceAllTextareas function. </li> |
</ul> |
</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a href="http://dev.fckeditor.net/ticket/339" target="_blank">#339</a>] [<a |
href="http://dev.fckeditor.net/ticket/681" target="_blank">#681</a>] The SpellerPages |
spell checker will now completely ignore the presence of HTML tags in the text. |
</li> |
<li>[<a href="http://dev.fckeditor.net/ticket/1643" target="_blank">#1643</a>] Resolved |
several "strict warning" messages in Firefox when running FCKeditor. </li> |
<li>[<a href="http://dev.fckeditor.net/ticket/1603" target="_blank">#1603</a>] Certain |
specific markup was making FCKeditor entering in a loop, blocking its execution. |
</li> |
<li>[<a href="http://dev.fckeditor.net/ticket/1664" target="_blank">#1664</a>] The ENTER |
key will not any more swap the order of the tags when hit at the end of paragraphs. |
</li> |
</ul> |
<h3> |
Version 2.5</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>The heading options have been moved to the top, in the default settings for the |
Format combo.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>The focus is now correctly set when working on Safari.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1436">#1436</a>] Nested |
context menu panels are now correctly closed on Safari.</li> |
<li>Empty anchors are now properly created on Safari.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1359">#1359</a>] FCKeditor |
will no longer produce the strange visual effect of creating a selected space and |
then deleting it in Internet Explorer.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1399">#1399</a>] Removed |
the empty entry in the language selection box of sample03.html.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1400">#1400</a>] Fixed |
the issue where the style selection box in sample14.html is not context sensitive.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1401">#1401</a>] Completed |
Hebrew translation of the user interface.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1409">#1409</a>] Completed |
Finnish translation of the user interface.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1414">#1414</a>] Fixed |
the issue where entity code words written inside a <pre> block in Source mode |
are not converted to the corresponding characters after switching back to editor |
mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1418">#1418</a>] Fixed |
the issue where a detached toolbar would flicker when FCKeditor is being loaded.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1419">#1419</a>] Fixed |
the issue where pressing Delete in the middle of two lists would incorrectly move |
contents after the lists to the character position.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1420">#1420</a>] Fixed |
the issue where empty list items can become collapsed and uneditable when it has |
one of more indented list items directly under it. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1431">#1431</a>] Fixed |
the issue where pressing Enter in a <pre> block in Internet Explorer would |
move the caret one space forward instead of sending it to the next line.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1472">#1472</a>] Completed |
Arabic translation of the user interface.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1474">#1474</a>] Fixed |
the issue where reloading a page containing FCKeditor may provoke JavaScript errors |
in Internet Explorer.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1478">#1478</a>] Fixed |
the issue where parsing fckstyles.xml fails if the file contains no <style> |
nodes.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1491">#1491</a>] Fixed |
the issue where FCKeditor causes the selection to include an "end of line" character |
in list items even though the list item is empty.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1496">#1496</a>] Fixed |
the issue where attributes under <area> and <map> nodes are destroyed |
or left unprotected when switching to and from Source mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1500">#1500</a>] Fixed |
the issue where the function _FCK_PaddingNodeListener() is called excessively which |
negatively affects performance.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Fixed |
the issue where floating menus are incorrectly positioned when the toolbar or the |
editor frame are not static positioned.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1518">#1518</a>] Fixed |
the issue where excessive <BR> nodes are not removed after a paragraph is |
split when creating lists.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1521">#1521</a>] Fixed |
JavaScript error and erratic behavior of the Replace dialog.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1524">#1524</a>] Fixed |
the issue where the caret jumps to the beginning or end of a list block and when |
user is trying to select the end of a list item.</li> |
<li>Completed Simplified Chinese translation of the user interface.</li> |
<li>Completed Estonian translation of the user interface.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor |
was always "dirty" if flash is available in the contents.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1561">#1561</a>] Non standard |
elements are now properly applied if defined in the styles XML file.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1412">#1412</a>] The _QuickUploadLanguage |
value is now work properly for Perl.</li> |
<li>Several compatibility fixes for Firefox 3 (Beta 1): |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1558">#1558</a>] Nested |
context menu close properly when one of their options is selected.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1556">#1556</a>] Dialogs |
contents are now showing completely, without scrollbar.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1559">#1559</a>] It is |
not possible to have more than one panel opened at the same time.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1554">#1554</a>] Links |
now get underlined.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1557">#1557</a>] The "Automatic" |
and "More colors..." buttons were improperly styled in the color selector panels |
(Opera too).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1462">#1462</a>] The enter |
key will not any more scroll the main window.</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1562">#1562</a>] Fixed |
the issue where empty paragraphs are added around page breaks each time the user |
switches to Source mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1578">#1578</a>] The editor |
will now scroll correctly when hitting enter in front of a paragraph.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1579">#1579</a>] Fixed |
the issue where the create table and table properties dialogs are too narrow for |
certain translations.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1580">#1580</a>] Completed |
Polish translation of the user interface.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1591">#1591</a>] Fixed |
JavaScript error when using the blockquote command in an empty document in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1592">#1592</a>] Fixed |
the issue where attempting to remove a blockquote with an empty paragraph would |
leave behind an empty blockquote IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1594">#1594</a>] Undo/Redo |
will now work properly for the color selectors.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1597">#1597</a>] The color |
boxes are now properly rendered in the color selector panels on sample14.html.</li> |
</ul> |
<h3> |
Version 2.5 Beta</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/624">#624</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/634">#634</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/1300">#1300</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1301">#1301</a>] |
Official compatibility support with <strong>Opera 9.50</strong> and <strong>Safari 3</strong> |
(WebKit based browsers actually). These browsers are still in Beta, but we are confident |
that we'll have amazing results as soon as they get stable. We are continuously |
collaborating with Opera Software and Apple to bring a wonderful FCKeditor experience |
over their browser platforms.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/494">#494</a>] Introduced |
the <strong>new Style System</strong>. We are not anymore relaying on browser features |
to apply and remove styles, which guarantees that the editor will <strong>behave in |
the same way in all browsers</strong>. It is an incredibly flexible system, |
which aims to fit all developer's needs, from Flash content or HTML4 to XHTML 1.0 |
Strict or XHTML 1.1: |
<ul> |
<li>All basic formatting features, like Bold and Italic, can be precisely controlled |
by using the configuration file (<b>CoreStyles</b> setting). It means that now, |
the Bold button, for example, can produce <b>, <strong>, <span class...>, |
<span style...> or anything the developer prefers.</li> |
<li>Again with the <b>CoreStyles</b> setting, each block format, font, size, and even |
the color pickers can precisely reflect end developer's needs.</li> |
<li>Because of the above changes, font sizes are much more flexible. <b>Any kind of |
font unit</b> can be used, including a mix of units.</li> |
<li>All styles, including toolbar bottom styles, are precisely controlled when being |
applied to the document. FCKeditor uses an element table derived from the <b>W3C XHTML |
DTDs</b> to precisely create the elements, guarantee standards compliant code.</li> |
<li><b>No more <font> tags</b>... well... actually, the system is so flexible |
that it is up to you to use them or not.</li> |
<li>It is possible to configure FCKeditor to produce a truly <b>semantic aware </b>and<b> |
XHTML 1.1 compliant </b>code. Check out sample14.html.</li> |
<li>It's also possible to precisely control which inline elements must be removed with |
the "Remove All" button, by using the "<b>RemoveFormatTags</b>" |
setting.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1231">#1231</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/160">#160</a>] Paragraph <b>indentation</b> |
and <b>justification</b> now uses style attributes and don't create unnecessary |
elements, and <blockquote> is not anymore used for it. Now, even CSS classes |
can be used to indent or align text.</li> |
<li>All paragraph formatting features work well when EnterMode=br.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/172">#172</a>] All paragraph |
formatting features work well when list items too.</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1197">#1197</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/132">#132</a>] The toolbar |
now presents a <strong>new button for Blockquote</strong>. The indentation button |
will not anymore be used for that.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/125">#125</a>] Table's |
<strong>columns size can now be changed by dragging on cell borders</strong>, with |
the "dragresizetable" plugin. </li> |
<li>The EditorAreaCSS config option can now also be set to a string of paths separated |
by commas.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/212">#212</a>] New "<strong>Show |
Blocks</strong>" command button in toolbar to show block details in the editing |
area. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/915">#915</a>] The <strong> |
undo/redo system has been revamped</strong> to work the same across Internet Explorer |
and Gecko-based browsers (e.g. Firefox). A number of critical bugs in the undo/redo |
system are also fixed. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/194">#194</a>] The editor |
now uses the <strong>Data Processor</strong> technology, which makes it possible |
to handle different input formats. A sample of it may be found at "editor/plugins/bbcode/_sample", |
that shows some simple BBCode support. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/145">#145</a>] The "htaccess.txt" |
file has been renamed to ".htaccess" as it doesn't bring security concerns, being |
active out of the box.</li> |
<li>File Browser and Quick Upload changes: |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/163">#163</a>] <span |
style="color: #ff0000"><strong>Attention:</strong></span> The default connector |
in fckconfig.js has been changed from ASP to PHP. If you are using ASP remember |
to change the _FileBrowserLanguage and _QuickUploadLanguage settings in your fckconfig.js. |
[<a target="_blank" href="http://dev.fckeditor.net/ticket/454">#454</a>] The file |
browser and upload connectors have been unified so they can reuse the same configuration |
settings.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/865">#865</a>] The ASP |
and PHP connectors have been improved so it's easy to select the location of the |
destination folder for each file type, and it's no longer necessary to use the "file", |
"image", "flash" subfolders<br /> |
<span style="color: #ff0000"><strong>Attention:</strong></span> The location of |
all the connectors have been changed in the fckconfig.js file. Please check your |
settings to match the current ones. Also review carefully the config file for your |
server language. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/688">#688</a>] Now the |
Perl quick upload is available. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/575">#575</a>] The Python |
connector has been rewritten as a WSGI app to be fully compatible with the latest |
python frameworks and servers. The QuickUpload feature has been added as well as |
all the features available in the PHP connector. Thanks to Mariano Reingart.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/561">#561</a>] The ASP |
connector provides an AbsolutePath setting so it's possible to set the url to a |
full domain or a relative path and specify that way the physical folder where the |
files are stored..</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/333">#333</a>] The Quick |
Upload now can use the same ServerPath parameter as the full connector.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/199">#199</a>] The AllowedCommands |
configuration setting is available in the asp and php connectors so it's possible |
to disallow the upload of files (although the "select file" button will still be |
available in the file browser).</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/100">#100</a>] A new configuration |
directive "FCKConfig.EditorAreaStyles" has been implemented to allow setting editing |
area styles from JavaScript. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/102">#102</a>] HTML code |
generated by the "Paste As Plain Text" feature now obeys the EnterMode setting.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1266">#1266</a>] Introducing |
the HtmlEncodeOutput setting to instruct the editor to HTML-encode some characters |
(&, < and >) in the posted data.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/357">#357</a>] Added a |
"Remove Anchor" option in the context menu for anchors. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1060">#1060</a>] Compatibility |
checks with Firefox 3.0 Alpha. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/817">#817</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/1077">#1077</a>] New "Merge |
Down/Right" commands for merging tables cells in non-Gecko browsers.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1288">#1288</a>] The "More |
Colors..." button in color selector popup has been made optional and configurable |
by the <strong>EnableMoreFontColors</strong> option. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/356">#356</a>] The <strong> |
Find and Replace</strong> dialogs are now unified into a single dialog with tabs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/549">#549</a>] Added a |
'None' option to the FCKConfig.ToolbarLocation option to allow for hidden toolbars. |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1313">#1313</a>] An XHTML |
1.1 target editor sample has been created as sample14.html. </li> |
<li>The ASP, ColdFusion and PHP integration have been aligned to our standards.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/71">#71</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/243">#243</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/267">#267</a>] |
The editor now takes care to not create invalid nested block elements, like creating |
<form> or <hr> inside <p>. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1511298&group_id=75348&atid=543655">SF |
Patch 1511298</a>] The CF Component failed on CFMX 6.0</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/639">#639</a>] If the |
FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/497">#497</a>] Fixed EMBED |
attributes handling in IE.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315722&group_id=75348&atid=543655">SF |
Patch 1315722</a>] Avoid getting a cached version of the folder contents after uploading |
a file</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1386086&group_id=75348&atid=543655">SF |
Patch 1386086</a>] The php connector has been protected so mkdir doesn't fail if |
there are double slashes.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/943">#943</a>] The PHP |
connector now specifies that the included files are relative to the current path.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/560">#560</a>] The PHP |
connector will work better if the connector or the userfiles folder is a symlink.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/784">#784</a>] Fixed a |
non initialized $php_errormsg in the PHP connector.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/802">#802</a>] The replace |
dialog will now advance its searching position correctly and is able to search for |
strings spanning across multiple inline tags.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/944">#944</a>] The _samples |
didn't work directly from the Mac filesystem.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/946">#946</a>] Toolbar |
images didn't show in non-IE browsers if the path contained a space.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/291">#291</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/395">#395</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/932">#932</a>] Clicking outside the editor |
it was possible to paste or apply formatting to the rest of the page in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/137">#137</a>] Fixed FCKConfig.TabSpaces |
being ignored, and weird behaviors when pressing tab in edit source mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/268">#268</a>] Fixed special |
XHTML characters present in event attribute values being converted inappropriately |
when switching to source view.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/272">#272</a>] The toolbar |
was cut sometimes in IE to just one row if there are multiple instances of the editor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/515">#515</a>] Tables |
in Firefox didn't inherit font styles properly in Standards mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/321">#321</a>] If FCKeditor |
is initially hidden in Firefox it will no longer be necessary to call the oEditor.MakeEditable() |
function.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/299">#299</a>] The 'Browse |
Server' button in the Image and Flash dialogs was a little too high.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/931">#931</a>] The BodyId |
and BodyClass configuration settings weren't applied in the preview window.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/583">#583</a>] The "noWrap" |
attribute for table cells was getting an empty value in Firefox. Thanks to geirhelge.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/141">#141</a>] Fixed incorrect |
startup focus in Internet Explorer after page reloads. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/143">#143</a>] Fixed browser |
lockup when the user writes <!--{PS..x}> into the editor in source mode. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/174">#174</a>] Fixed incorrect |
positioning of FCKeditor in full screen mode. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/978">#978</a>] Fixed a |
SpellerPages error with ColdFusion when no suggestions where available for a word.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/977">#977</a>] The "shape" |
attribute of <area> had its value changed to uppercase in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/996">#996</a>] "OnPaste" |
event listeners will now get executed only once.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/289">#289</a>] Removed |
debugging popups from page load regarding JavaScript and CSS loading errors.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/328">#328</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/346">#346</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/404">#404</a>] Fixed a number of problems |
regarding <pre> blocks: |
<ol> |
<li>Leading whitespaces and line breaks in <pre> blocks are trimmed when the user |
switches between editor mode and source mode;</li> |
<li>Pressing Enter inside a <pre> block would split the block into two, but the |
expected behavior is simply inserting a line break;</li> |
<li>Simple line breaks inside <pre> blocks entered in source mode are being turned |
into <br> tags when the user switches to editor mode and back.</li> |
</ol> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/581">#581</a>] Fixed the |
issue where the "Maximize the editor size" toolbar button stops working if any of |
the following occurs: |
<ol> |
<li>There exists a form input whose name or id is "style" in FCKeditor's host form;</li> |
<li>There exists a form input whose name or id is "className" in FCKeditor's host form;</li> |
<li>There exists a form and a form input whose name of id is "style" in the editing |
frame.</li> |
</ol> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>] Fixed the |
issue when FCKeditor is being executed in a custom application with the WebBrowser |
ActiveX control, hiding the WebBrowser control would incorrectly invoke FCKeditor's |
cleanup routines, causing FCKeditor to stop working.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/539">#539</a>] Fixed the |
issue where right clicking on a table inside the editing frame in Firefox would |
cause the editor the scroll to the top of the document.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/523">#523</a>] Fixed the |
issue where, under certain circumstances, FCKeditor would obtain focus at startup |
even though FCKConfig.StartupFocus is set to false. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/393">#393</a>] Fixed the |
issue where if an inline tag is at the end of the document, the user would have |
no way of escaping from the inline tag if he continues typing at the end of the |
document. FCKeditor's behaviors regarding inline tags has been made to be more like |
MS Word's: |
<ol> |
<li>If the caret is moved to the end of a hyperlink by the keyboard, then hyperlink |
mode is disabled. </li> |
<li>If the caret is moved to the end of other styled inline tags by any key other than |
the End key (like bold text or italic text), the original bold/italic/... modes |
would continue to be effective. </li> |
<li>If the caret is moved to the end of other styled inline tags by the End key, all |
style tag modes (e.g. bold, italic, underline, etc.) would be canceled. This is |
not consistent with MS Word, but provides a convenient way for the user to escape |
the inline tag at the end of a line.</li> |
</ol> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/338">#338</a>] Fixed the |
issue where the configuration directive FCKConfig.ForcePasteAsPlainText is ignored |
when new contents are pasted into the editor via drag-and drop from outside of the |
editor. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1026">#1026</a>] Fixed |
the issue where the cursor or selection positions are not restored with undo/redo |
commands correctly in IE, under some circumstances. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1160">#1160</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/1184">#1184</a>] Home, End |
and Tab keys are working properly for numeric fields in dialogs. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/68">#68</a>] The style |
system now properly handles Format styles when EnterMode=br.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/525">#525</a>] The union |
of successive DIVs will work properly now if EnterMode!=div.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1227">#1227</a>] The color |
commands used an unnecessary temporary variable. Thanks to Matthias Miller</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/67">#67</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/277">#277</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/427">#427</a>] |
[<a target="_blank" href="http://dev.fckeditor.net/ticket/428">#428</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/965">#965</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1178">#1178</a>] |
[<a target="_blank" href="http://dev.fckeditor.net/ticket/1267">#1267</a>] The list |
insertion/removal/indent/outdent logic in FCKeditor has been rewritten, such that: |
<ol> |
<li>Text separated by <br> will always be treated as separate items during list |
insertion regardless of browser;</li> |
<li>List removal will now always obey the FCKConfig.EnterMode setting;</li> |
<li>List indentation will be XHTML 1.1 compliant - all child elements under an <ol> |
or <ul> must be <li> nodes;</li> |
<li>IE editor hacks like <ul type="1"> will no longer appear;</li> |
<li>Excessive <div> nodes are no longer inserted into list items due to alignment |
changes.</li> |
</ol> |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/205">#205</a>] Fixed the |
issue where visible <br> tags at the end of paragraphs are incorrectly removed |
after switching to and from source mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1050">#1050</a>] Fixed |
a minor PHP/XML incompatibility bug in editor/dialog/fck_docprops.html.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/462">#462</a>] Fixed an |
algorithm bug in switching from source mode to WYSIWYG mode which causes the browser |
to spin up and freeze for broken HTML code inputs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1019">#1019</a>] Table |
command buttons are now disabled when the current selection is not inside a table.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/135">#135</a>] Fixed the |
issue where context menus are misplaced in FCKeditor when FCKeditor is created inside |
a <div> node with scrolling. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1067">#1067</a>] Fixed |
the issue where context menus are misplaced in Safari when FCKeditor is scrolled |
down.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1081">#1081</a>] Fixed |
the issue where undoing table deletion in IE7 would cause JavaScript errors.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1061">#1061</a>] Fixed |
the issue where backspace and delete cannot delete special characters in Firefox |
under some circumstances.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/403">#403</a>] Fixed the |
issue where switching to and from source mode in full page mode under IE would add |
excessive line breaks to <style> blocks.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/121">#121</a>] Fixed the |
issue where maximizing FCKeditor inside a frameset would resize FCKeditor to the |
whole window's size instead of just the container frame's size.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1093">#1093</a>] Fixed |
the issue where pressing Enter inside an inline tag would not create a new paragraph |
correctly.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1089">#1089</a>] Fixed |
the issue where pressing Enter inside a <pre> block do not generate visible |
line breaks in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/332">#332</a>] Hitting |
Enter when the caret is at the end of a hyperlink will no longer continue the link |
at the new paragraph.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1121">#1121</a>] Hitting |
Enter with FCKConfig.EnterMode=br will now scroll the document correctly when the |
new lines have exceeded the lower boundary of the editor frame.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1063">#1063</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/1084">#1084</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/1092">#1092</a>] Fixed a few Norwegian |
language translation errors.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1148">#1148</a>] Fixed |
the issue where the "Automatic" and "More Colors..." buttons |
in the color selection panel are not centered in Safari.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1187">#1187</a>] Fixed |
the issue where the "Paste as plain text" command cannot be undone in |
non-IE browsers.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1222">#1222</a>] Ctrl-Backspace |
operations will now save undo snapshots in all browsers.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1223">#1223</a>] Fixed |
the issue where the insert link dialog would save multiple undo snapshots for a |
single operation.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/247">#247</a>] Fixed the |
issue where deleting everything in the document in IE would create an empty <p> |
block in the document regardless of EnterMode setting. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1280">#1280</a>] Fixed |
the issue where opening a combo box will cause the editor frames to lose focus when |
there are multiple editors in the same document.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/363">#363</a>] Fixed the |
issue where the Find dialog does not work under Opera.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/50">#50</a>] Fixed the |
issue where the Paste button is always disabled in Safari.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/389">#389</a>] Pasting |
text with comments from Word won't generate errors in IE, thanks to the idea from |
Swift.</li> |
<li>The pasting area in the Paste from Word dialog is focused on initial load</li> |
<li>Some fixes related to html comment handling in the Word clean up routine</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1303">#1303</a>] <col> |
is correctly treated as an empty element.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/969">#969</a>] Removed |
unused files (fcknumericfield.htc and moz-bindings.xml).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1166">#1166</a>] Fixed |
the issue where <meta> tags are incorrectly outputted with closing tags in |
full page mode.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1200">#1200</a>] Fixed |
the issue where context menus sometimes disappear prematurely before the user can |
click on any items in Opera.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1315">#1315</a>] Fixed |
the issue where the source view text area in Safari is displayed with an excessive |
blue border.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1201">#1201</a>] Fixed |
the issue where hitting Backspace or Delete inside a table cell deletes the table |
cell instead of its contents in Opera.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1311">#1311</a>] Fixed |
the issue where undoing and redoing a special character insertion would send the |
caret to incorrect positions. (e.g. the beginning of document)</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/923">#923</a>] Font colors |
are now properly applied on links.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1316">#1316</a>] Fixed |
the issue where the image dialog expands to a size too big in Safari.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1306">#1306</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/894">#894</a>] The undo system |
can now undo text formatting steps like setting fonts to bold and italic.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/95">#95</a>] Fixed the |
issue where FCKeditor breaks <meta> tags in full page mode in some circumstances.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/175">#175</a>] Fixed the |
issue where entering an email address with a '%' sign in the insert link dialog |
would cause JavaScript error.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/180">#180</a>] Improved |
backward compatibility with older PHP versions. FCKeditor can now work with PHP |
versions down to 4.0.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/192">#192</a>] Document |
modifying actions from the FCKeditor JavaScript API will now save undo steps.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/246">#246</a>] Using text |
formatting commands in EnterMode=div will no longer cause tags to randomly disappear.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/327">#327</a>] It is no |
longer possible for the browser's back action to misfire when a user presses backspace |
while an image is being selected in FCKeditor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/362">#362</a>] Ctrl-Backspace |
now works in FCKeditor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/390">#390</a>] Text alignment |
and justification commands now respects EnterMode=br paragraph rules.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/534">#534</a>] Pressing |
Ctrl-End while the document contains a list towards the end will no longer make |
the cursor disappear.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/906">#906</a>] It is now |
possible to have XHTML 1.0 Strict compliant output from a document pasted from Word.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/929">#929</a>] Pressing |
the Enter key will now produce an undo step.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/934">#934</a>] Fixed the |
"Cannot execute code from a freed script" error in IE from editor dialogs.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#942</a>] Server |
based spell checking with ColdFusion integration no longer breaks fir non en_US |
languages.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#1056</a>] Deleting |
everything in the editor document and moving the cursor around will no longer leave |
the cursor hanging beyond the top of the editor document.</li> |
</ul> |
<p> |
# This version has been <a href="http://dev.fckeditor.net/wiki/SD/COE">partially sponsored</a> |
by the <a href="http://www.coe.int/">Council of Europe</a>. |
</p> |
<h3> |
Version 2.4.3</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>It is now possible to set the default target when creating links, with the new "<strong>DefaultLinkTarget</strong>" |
setting. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/436">#436</a>] The new |
"<strong>FirefoxSpellChecker</strong>" setting is available, to enable/disable the |
Firefox built-in spellchecker while typing. Even if word suggestions will not appear |
in the FCKeditor context menu, this feature is useful to quickly identify misspelled |
words.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/311">#311</a>] The new |
"<strong>BrowserContextMenuOnCtrl</strong>" setting is being introduced, to enable/disable |
the ability of displaying the default browser's context menu when right-clicking |
with the CTRL key pressed.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/300">#300</a>] The fck_internal.css |
file was not validating with the W3C CSS Validation Service.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/336">#336</a>] Ordered |
list didn't keep the Type attribute properly (it was converted to lowercase when |
the properties dialog was opened again).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/318">#318</a>] Multiple |
linked images are merged in a single link in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/350">#350</a>] The <marquee> |
element will no longer append unwanted <p>&nbsp;</p> to the code.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/351">#351</a>] The content |
was being lost for images or comments only HTML inserted directly in the editor |
source or loaded in the editor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/388">#388</a>] Creating |
links in lines separated by <br> in IE can lead to a merge of the links.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/325">#325</a>] Calling |
the GetXHTML can distort visually the rendering in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/391">#391</a>] When ToolbarLocation=Out, |
a "Security Warning" alert was being shown in IE if under https. Thanks to reister.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/360">#360</a>] Form "name" |
was being set to "[object]" if it contained an element with id="name".</li> |
<li>Fixed a type that was breaking the ColdFusion SpellerPages integration file when |
no spelling errors were found.</li> |
<li>The ColdFusion SpellerPages integration was not working it Aspell was installed |
in a directory with spaces in the name.</li> |
<li>Added option to SpellerPages to ignore "alt" attributes.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/451">#451</a>] Classes |
for images in IE didn't take effect immediately.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/430">#430</a>] Links with |
a class did generate a span in Firefox when removing them.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/274">#274</a>] The PHP |
quick upload still tried to use the uppercased types instead of the lowercased ones. |
</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/416">#416</a>] The PHP |
quick upload didn't check for the existence of the folder before saving.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/467">#467</a>] If InsertHtml |
was called in IE with a comment (or any protected source at the beginning) it was |
lost.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1518766&group_id=75348&atid=543653">SF |
BUG-1518766</a>] Mozilla 1.7.13 wasn't recognized properly as an old Gecko engine.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/324">#324</a>] Improperly |
nested tags could lead to a crash in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/455">#455</a>] Files and |
folders with non-ANSI names were returned with a double UTF-8 encoding in the PHP |
File Manager.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/273">#273</a>] The extensions |
"sh", "shtml", "shtm" and "phtm" have been added to the list of denied extensions |
on upload.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/453">#453</a>] No more |
errors when hitting del inside an empty table cell.</li> |
<li>The perl connector cgi file has been changed to Unix line endings.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] Regression: |
The HR tag will not anymore break the contents loaded in the editor. </li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/508">#508</a>] The HR |
command had a typo.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/505">#505</a>] Regression: |
IE crashed if a table caption was deleted.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/82">#82</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/359">#359</a>] <object> and <embed> |
tags are not anymore lost in IE.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/493">#493</a>] If the |
containing form had a button named "submit" the "Save" command didn't work in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/414">#414</a>] If tracing |
was globally enabled in Asp.Net 2.0 then the Asp.Net connector did fail.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/520">#520</a>] The "Select |
Field" properties dialog was not correctly handling select options with &, < |
and >.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/258">#258</a>] The Asp |
integration didn't pass boolean values in English, using instead the locale of the |
server and failing.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/487">#487</a>] If an image |
with dimensions set as styles was opened with the image manager and then the dialog |
was canceled the dimensions in the style were lost.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#220</a>] The creation |
of links or anchors in a selection that results on more than a single link created |
will not anymore leave temporary links in the source. All links will be defined |
as expected.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#182</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/220">#261</a>] [<a target="_blank" |
href="http://dev.fckeditor.net/ticket/220">#511</a>] Special characters, like |
percent signs or accented chars, and spaces are now correctly returned by the File |
Browser.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/281">#281</a>] Custom |
toolbar buttons now render correctly in all skins.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/527">#527</a>] If the |
configuration for a toolbar isn't fully valid, try to keep on parsing it.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/187">#187</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/435">#435</a>] [<a target="_blank" |
href="https://sourceforge.net/tracker/?func=detail&aid=1612978&group_id=75348&atid=543653">SF |
BUG-1612978</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1163511&group_id=75348&atid=543653">SF |
BUG-1163511</a>] Updated the configuration options in the ColdFusion integration |
files.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1726781&group_id=75348&atid=543655">SF |
Patch-1726781</a>] Updated the upload class for asp to handle large files and other |
data in the forms. Thanks to NetRube.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/225">#225</a>] With ColdFusion, |
the target directory is now being automatically created if needed when "quick uploading". |
Thanks to sirmeili.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/295">#295</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/510">#510</a>] Corrected some |
path resolution issues with the File Browser connector for ColdFusion.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/239">#239</a>] The <xml> |
tag will not anymore cause troubles.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1721787&group_id=75348&atid=543653">SF |
BUG-1721787</a>] If the editor is run from a virtual dir, the PHP connector will |
detect that and avoid generating a wrong folder.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/431">#431</a>] PHP: The |
File Browser now displays an error message when it is not able to create the configured |
target directory for files (instead of sending broken XML responses).</li> |
</ul> |
<h3> |
Version 2.4.2</h3> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/279">#279</a>] The UTF-8 |
BOM was being included in the wrong files, affecting mainly PHP installations.</li> |
</ul> |
<h3> |
Version 2.4.1</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/118">#118</a>] The SelectAll |
command now is available in Source Mode.</li> |
<li>The new open source FCKpackager sub-project is now available. It replaces the FCKeditor.Packager |
software to compact the editor source.</li> |
<li>With Firefox, if a paste execution is blocked by the browser security settings, |
the new "Paste" popup is shown to the user to complete the pasting operation. </li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>Various fixes to the ColdFusion File Browser connector.</li> |
<li>We are now pointing the download of ieSpell to their pages, instead to a direct |
file download from one of their mirrors. This disables the ability of "click and |
go" (which can still be achieved by pointing the download to a file in your server), |
but removes any troubles with mirrors link changes (and they change it frequently).</li> |
<li>The Word cleanup has been changed to remove "display:none" tags that may come from |
Word.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1659613&group_id=75348">SF |
BUG-1659613</a>] The 2.4 version introduced a bug in the flash handling code that |
generated out of memory errors in IE7.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1660456&group_id=75348">SF |
BUG-1660456</a>] The icons in context menus were draggable.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1653009&group_id=75348">SF |
BUG-1653009</a>] If the server is configured to process html files as asp then it |
generated ASP error 0138.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1288609&group_id=75348">SF |
BUG-1288609</a>] The content of iframes is now preserved.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1245504&group_id=75348">SF |
BUG-1245504</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1652240&group_id=75348">SF |
BUG-1652240</a>] Flash files without the .swf extension weren't recognized upon |
reload.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1649753&group_id=75348&atid=543655">SF |
PATCH-1649753</a>] Node selection for text didn't work in IE. Thanks to yurik dot |
m.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1573191&group_id=75348&atid=543653">SF |
BUG-1573191</a>] The Html code inserted with FCK.InsertHtml didn't have the same |
protection for special tags.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/110">#110</a>] The OK |
button in dialogs had its width set as an inline style.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/113">#113</a>] [<a |
target="_blank" href="http://dev.fckeditor.net/ticket/94">#94</a>] [<a target="_blank" |
href="https://sourceforge.net/tracker/?func=detail&aid=1659270&group_id=75348&atid=543653">SF |
BUG-1659270</a>] ForcePasteAsPlainText didn't work in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/114">#114</a>] The correct |
entity is now used to fill empty blocks when ProcessHTMLEntities is disabled.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/90">#90</a>] The editor |
was wrongly removing some <br> tags from the code.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/139">#139</a>] The CTRL+F |
and CTRL+S keystroke default behaviors are now preserved.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/138">#138</a>] We are |
not providing a CTRL + ALT combination in the default configuration file because |
it may be incompatible with some keyboard layouts. So, the CTRL + ALT + S combination |
has been changed to CTRL + SHIFT + S.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/129">#129</a>] In IE, |
it was not possible to paste if "Allow paste operation via script" was disabled |
in the browser security settings.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/112">#112</a>] The enter |
key now behaves correctly on lists with Firefox, when the EnterMode is set to 'br'.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/152">#152</a>] Invalid |
self-closing tags are now being fixed before loading. </li> |
<li>A few tags were being ignored to the check for required contents (not getting stripped |
out, as expected). Fixed.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] The HR |
tag will not anymore break the contents loaded in the editor.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/211">#211</a>] Some invalid |
inputs, like "<p>" where making the caret disappear in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/99">#99</a>] The <div> |
element is now considered a block container if EnterMode=p|br. It acts like a simple |
block only if EnterMode=div.</li> |
<li>Hidden fields will now show up as an icon in IE, instead of a normal text field. |
They are also selectable and draggable, in all browsers.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/213">#213</a>] Styles |
are now preserved when hitting enter at the end of a paragraph.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/77">#77</a>] If ShiftEnterMode |
is set to a block tag (p or div), the desired block creation in now enforced, instead |
of copying the current block (which is still the behavior of the simple enter).</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/209">#209</a>] Links and |
images URLs will now be correctly preserved with Netscape 7.1.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/165">#165</a>] The enter |
key now honors the EnterMode settings when outdenting a list item.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/190">#190</a>] Toolbars |
may be wrongly positioned. Fixed.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#254</a>] The IgnoreEmptyParagraphValue |
setting is now correctly handled in Firefox.</li> |
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#248</a>] The behavior |
of the backspace key has been fixed on some very specific cases.</li> |
</ul> |
<h3> |
Version 2.4</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1329273&group_id=75348&atid=543656">SF |
Feature-1329273</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456005&group_id=75348&atid=543656">SF |
Feature-1456005</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315002&group_id=75348&atid=543653">SF |
BUG-1315002</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1350180&group_id=75348&atid=543653">SF |
BUG-1350180</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1450689&group_id=75348&atid=543653">SF |
BUG-1450689</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1461033&group_id=75348&atid=543653">SF |
BUG-1461033</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1510111&group_id=75348&atid=543653">SF |
BUG-1510111</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1203560&group_id=75348&atid=543653">SF |
BUG-1203560</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1564838&group_id=75348&atid=543653">SF |
BUG-1564838</a>] The advance <strong>Enter Key Handler</strong> |
is now being introduced. It gives you complete freedom to configure the editor to |
generate <strong><p>, <div> or <br></strong> when the user uses |
both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode" |
settings can be use to control its behavior. It also guarantees that all browsers |
will generate the same output. </li> |
<li>The new and powerful <strong>Keyboard Accelerator System</strong> is being introduced. |
You can now precisely control the commands to execute when some key combinations |
are activated by the user. It guarantees that all browsers will have the same behavior |
regarding the shortcuts.<br /> |
It also makes it possible to remove buttons from the toolbar and still invoke their |
features by using the keyboard instead. |
<br /> |
It also blocks all default "CTRL based shortcuts" imposed by the browsers, so if |
you don't want users to underline text, just remove the CTRL+U combination from |
the keystrokes table. Take a look at the FCKConfig.Keystrokes setting in the fckconfig.js |
file. </li> |
<li>The new "<strong>ProtectedTags</strong>" configuration option is being introduced. |
It will accept a list of tags (separated by a pipe "|"), which will have no effect |
during editing, but will still be part of the document DOM. This can be used mainly |
for non HTML standard, custom tags.</li> |
<li>Dialog box commands can now open resizable dialogs (by setting oCommand.Resizable |
= true).</li> |
<li>Updated support for AFP. Thanks to Soenke Freitag.</li> |
<li>New language file:<ul> |
<li><strong>Afrikaans</strong> (by Willem Petrus Botha). </li> |
</ul> |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456343&group_id=75348&atid=543655">SF |
Patch-1456343</a>] New sample file showing how to dynamically exchange a textarea |
and an instance of FCKeditor. Thanks to Finn Hakansson</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1496115&group_id=75348&atid=543655">SF |
Patch-1496115</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1588578&group_id=75348&atid=543653">SF |
BUG-1588578</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1376534&group_id=75348&atid=543653">SF |
BUG-1376534</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1343506&group_id=75348&atid=543653">SF |
BUG-1343506</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1211065&group_id=75348&atid=543656">SF |
Feature-1211065</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=949144&group_id=75348&atid=543656">SF |
Feature-949144</a>] The content of anchors are shown and preserved |
on creation. * </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1587175&group_id=75348&atid=543656">SF |
Feature-1587175</a>] Local links to an anchor are readjusted if the anchor changes.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1500040&group_id=75348&atid=543655">SF |
Patch-1500040</a>] New configuration values to specify the Id and Class for the |
body element.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577202&group_id=75348&atid=543655">SF |
Patch-1577202</a>] The links created with the popup option now are accessible even |
if the user has JavaScript disabled.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1443472&group_id=75348&atid=543655">SF |
Patch-1443472</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1576488&group_id=75348&atid=543653">SF |
BUG-1576488</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1334305&group_id=75348&atid=543653">SF |
BUG-1334305</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1578312&group_id=75348&atid=543653">SF |
BUG-1578312</a>] The Paste from Word clean up function can be configured |
with FCKConfig.CleanWordKeepsStructure to preserve the markup as much as possible. |
Thanks Jean-Charles ROGEZ. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1472654&group_id=75348&atid=543655">SF |
Patch-1472654</a>] The server side script location for SpellerPages can now be set |
in the configuration file, by using the SpellerPagesServerScript setting.</li> |
<li><span style="color: #ff0000">Attention:</span> All connectors are now pointing by |
default to the "/userfiles/" folder instead of "/UserFiles/" (case change). Also, |
the inner folders for each type (file, image, flash and media) are all lower-cased |
too.</li> |
<li><span style="color: #ff0000">Attention:</span> The UseBROnCarriageReturn configuration |
is not anymore valid. The EnterMode setting can now be used to precisely set the |
enter key behavior.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1444937&group_id=75348">SF |
BUG-1444937</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1274364&group_id=75348">SF |
BUG-1274364</a>] Shortcut keys are now undoable correctly.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1015230&group_id=75348">SF |
BUG-1015230</a>] Toolbar buttons now update their state on shortcut keys activation.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1485621&group_id=75348">SF |
BUG-1485621</a>] It is now possible to precisely control which shortcut keys can |
be used.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1573714&group_id=75348">SF |
BUG-1573714</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1593323&group_id=75348">SF |
BUG-1593323</a>] Paste was not working in IE if both AutoDetectPasteFromWord |
and ForcePasteAsPlainText settings were set to "false". </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1578306&group_id=75348">SF |
BUG-1578306</a>] The context menu was wrongly positioned if the editing document |
was set to render in strict mode. Thanks to Alfonso Martinez.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1567060&group_id=75348">SF |
BUG-1567060</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1565902&group_id=75348">SF |
BUG-1565902</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1440631&group_id=75348">SF |
BUG-1440631</a>] IE was getting locked on some specific cases. Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1582859&group_id=75348">SF |
BUG-1582859</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1579507&group_id=75348&atid=543655">SF |
Patch-1579507</a>] Firefox' spellchecker is now disabled during editing mode. |
Thanks to Alfonso Martinez.</li> |
<li>Fixed Safari and Opera detection system (for development purposes only).</li> |
<li>Paste from Notepad was including font information in IE. Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584092&group_id=75348">SF |
BUG-1584092</a>] When replacing text area, names with spaces are now accepted.</li> |
<li>Depending on the implementation of toolbar combos (mainly for custom plugins) the |
editor area was loosing the focus when clicking in the combo label. Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1596937&group_id=75348&atid=543653">SF |
BUG-1596937</a>] InsertHtml() was inserting the HTML outside the editor area on |
some very specific cases.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1585548&group_id=75348">SF |
BUG-1585548</a>] On very specific, rare and strange cases, the XHTML processor was |
not working properly in IE. Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584951&group_id=75348">SF |
BUG-1584951</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1380598&group_id=75348">SF |
BUG-1380598</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1198139&group_id=75348">SF |
BUG-1198139</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1437318&group_id=75348">SF |
BUG-1437318</a>] In Firefox, the style selector will not anymore delete |
the contents when removing styles on specific cases.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1515441&group_id=75348">SF |
BUG-1515441</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1451071&group_id=75348">SF |
BUG-1451071</a>] The "Insert/Edit Link" and "Select All" buttons are now working |
properly when the editor is running on a IE Modal dialog.</li> |
<li>On some very rare cases, IE was throwing a memory error when hiding the context |
menus. Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1526154&group_id=75348">SF |
BUG-1526154</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1509208&group_id=75348&atid=543653">SF |
BUG-1509208</a>] With Firefox, <style> tags defined in the source are |
now preserved.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1535946&group_id=75348">SF |
BUG-1535946</a>] The IE dialog system has been changed to better work with custom |
dialogs.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599520&group_id=75348">SF |
BUG-1599520</a>] The table dialog was producing empty tags when leaving some of |
its fields empty.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599545&group_id=75348">SF |
BUG-1599545</a>] HTML entities are now processed on attribute values too.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1598517&group_id=75348">SF |
BUG-1598517</a>] Meta tags are now protected from execution during editing (avoiding |
the "redirect" meta to be activated).</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1415601&group_id=75348">SF |
BUG-1415601</a>] Firefox internals: styleWithCSS is used instead of the deprecated |
useCSS whenever possible.</li> |
<li>All JavaScript Core extension function have been renamed to "PascalCase" (some were |
in "camelCase"). This may have impact on plugins that use any of those functions.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1592311&group_id=75348">SF |
BUG-1592311</a>] Operations in the caption of tables are now working correctly in |
both browsers.</li> |
<li>Small interface fixes to the about box.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1604576&group_id=75348&atid=543655">SF |
PATCH-1604576</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1604301&group_id=75348">SF |
BUG-1604301</a>] Link creation failed in Firefox 3 alpha. Thanks to Arpad Borsos</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577247&group_id=75348&atid=543653">SF |
BUG-1577247</a>] Unneeded call to captureEvents and releaseEvents.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1610790&group_id=75348">SF |
BUG-1610790</a>] On some specific situations, the call to form.submit(), in form |
were FCKeditor has been unloaded by code, was throwing the "Can't execute code from |
a freed script" error.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1613167&group_id=75348&atid=543653">SF |
BUG-1613167</a>] If the configuration was missing the FCKConfig.AdditionalNumericEntities |
entry an error appeared.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1590848&group_id=75348&atid=543653">SF |
BUG-1590848</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1626360&group_id=75348&atid=543653">SF |
BUG-1626360</a>] Cleaning of JavaScript strict warnings in the source code.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1559466&group_id=75348&atid=543653">SF |
BUG-1559466</a>] The ol/ul list property window always searched first for a UL element.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1516008&group_id=75348&atid=543653">SF |
BUG-1516008</a>] Class attribute in IE wasn't loaded in the image dialog.</li> |
<li>The "OnAfterSetHTML" event is now fired when being/switching to Source View.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1631807&group_id=75348&atid=543653">SF |
BUG-1631807</a>] Elements' style properties are now forced to lowercase in IE.</li> |
<li>The extensions "html", "htm" and "asis" have been added to the list of denied extensions |
on upload.</li> |
<li>Empty inline elements (like span and strong) will not be generated any more.</li> |
<li>Some elements attributes (like hspace) where not being retrieved when set to "0".</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1508341&group_id=75348&atid=543653">SF |
BUG-1508341</a>] Fix for the ColdFusion script file of SpellerPages.</li> |
</ul> |
<p> |
* This version has been partially sponsored by <a href="http://www.imedi.org/">Medical |
Media Lab</a>.</p> |
<h3> |
Version 2.3.3</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>The project has been <strong>relicensed</strong> under the terms of the <strong> |
GPL / LGPL / MPL</strong> licenses. This change will remove many licensing compatibility |
issues with other open source licenses, making the editor even more "open" than |
before. </li> |
<li><font color="#ff0000">Attention:</font> The default directory in the distribution |
package is now named "fckeditor" (in lowercase) instead of "FCKeditor". This |
change may impact installations on case sensitive OSs, like Linux. </li> |
<li><font color="#ff0000">Attention:</font> The "Universal Keyboard" has been removed |
from the package. The license of those files was unclear so they can't be included |
alongside the rest of FCKeditor.</li> |
</ul> |
<h3> |
Version 2.3.2</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>Users can now decide if the template dialog will replace the entire contents of |
the editor or simply place the template in the cursor position. This feature can |
be controlled by the "TemplateReplaceAll" and "TemplateReplaceCheckbox" configuration |
options.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237693&group_id=75348&atid=543655">SF |
Patch-1237693</a>] A new configuration option (<strong>ProcessNumericEntities</strong>) |
is now available to tell the editor to convert non ASCII chars to their relative |
numeric entity references. It is disabled by default.</li> |
<li>The new "<strong>AdditionalNumericEntities</strong>" setting makes it possible to |
define a set of characters to be transformed to their relative numeric entities. |
This is useful when you don't want the code to have simple quotes ('), for example.</li> |
<li>The Norwegian language file (no.js) has been duplicated to include the Norwegian |
Bokmal (nb.js) in the supported interface languages. Thanks to Martin Kronstad. |
</li> |
<li>Two new patterns have been added to the Universal Keyboard: |
<ul> |
<li>Persian. Thanks to Pooyan Mahdavi</li> |
<li>Portuguese. Thanks to Bo Brandt.</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF |
Patch-1517322</a>] It is now possible to define the start number on numbered lists. |
Thanks to Marcel Bennett.</li> |
<li>The Font Format combo will now reflect the EditorAreaCSS styles.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1461539&group_id=75348&atid=543655">SF |
Patch-1461539</a>] The File Browser connector can now optionally return a "url" |
attribute for the files. Thanks to Pent.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1090851&group_id=75348">SF |
BUG-1090851</a>] The new "ToolbarComboPreviewCSS" configuration option has been |
created, so it is possible to point the Style and Format toolbar combos to a different |
CSS, avoiding conflicts with the editor area CSS.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1421309&group_id=75348&atid=543656">SF |
Feature-1421309</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1489402&group_id=75348">SF |
BUG-1489402</a>] It is now possible to configure the Quick Uploder target path |
to consider the file type (ex: Image or File) in the target path for uploads.</li> |
<li>The JavaScript integration file has two new things: |
<ul> |
<li>The "CreateHtml()" function in the FCKeditor object, used to retrieve the HTML of |
an editor instance, instead of writing it directly to the page (as done by "Create()").</li> |
<li>The global "FCKeditor_IsCompatibleBrowser()" function, which tells if the executing |
browser is compatible with FCKeditor. This makes it possible to do any necessary |
processing depending on the compatibility, without having to create and editor instance.</li> |
</ul> |
</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1525242&group_id=75348">SF |
BUG-1525242</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500050&group_id=75348">SF |
BUG-1500050</a>] All event attributes (like onclick or onmouseover) are now |
being protected before loading the editor. In this way, we avoid firing those events |
during editing (IE issue) and they don't interfere in other specific processors |
in the editor.</li> |
<li>Small security fixes to the File Browser connectors. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1546226&group_id=75348">SF |
BUG-1546226</a>] Small fix to the ColdFusion CFC integration file.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&atid=543655&aid=1547768&group_id=75348">SF |
Patch-1407500</a>] The Word Cleanup function was breaking the HTML on pasting, on |
very specific cases. Fixed, thanks to Frode E. Moe.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551979&group_id=75348&atid=543655">SF |
Patch-1551979</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1418066&group_id=75348">SF |
BUG-1418066</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1439621&group_id=75348">SF |
BUG-1439621</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1501698&group_id=75348&atid=543653">SF |
BUG-1501698</a>] Make FCKeditor work with application/xhtml+xml. Thanks |
to Arpad Borsos.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1547738&group_id=75348&atid=543655">SF |
Patch-1547738</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1550595&group_id=75348&atid=543653">SF |
BUG-1550595</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1540807&group_id=75348&atid=543653">SF |
BUG-1540807</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1510685&group_id=75348&atid=543653">SF |
BUG-1510685</a>] Fixed problem with panels wrongly positioned when the |
editor is placed on absolute or relative positioned elements. Thanks to Filipe Martins.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1511294&group_id=75348&atid=543655">SF |
Patch-1511294</a>] Small fix for the File Browser compatibility with IE 5.5.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1503178&group_id=75348&atid=543655">SF |
Patch-1503178</a>] Small improvement to stop IE from loading smiley images when |
one smiley is quickly selected from a huge list of smileys. Thanks to stuckhere.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1549112&group_id=75348&atid=543653">SF |
BUG-1549112</a>] The Replace dialog window now escapes regular expression specific |
characters in the find and replace fields.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1548788&group_id=75348&atid=543653">SF |
BUG-1548788</a>] Updated the ieSpell download URL.</li> |
<li>In FF, the editor was throwing an error when closing the window. Fixed.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1538509&group_id=75348&atid=543653">SF |
BUG-1538509</a>] The "type" attribute for text fields will always be set now.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551734&group_id=75348&atid=543653">SF |
BUG-1551734</a>] The SetHTML function will now update the editing area height no |
matter which editing mode is active.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1554141&group_id=75348&atid=543653">SF |
BUG-1554141</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1565562&group_id=75348&atid=543653">SF |
BUG-1565562</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1451056&group_id=75348&atid=543653">SF |
BUG-1451056</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1478408&group_id=75348&atid=543653">SF |
BUG-1478408</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489322&group_id=75348&atid=543653">SF |
BUG-1489322</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513667&group_id=75348&atid=543653">SF |
BUG-1513667</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1562134&group_id=75348&atid=543653">SF |
BUG-1562134</a>] The protection of URLs has been enhanced |
and now it will not break URLs on very specific cases.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1545732&group_id=75348&atid=543653">SF |
BUG-1545732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1490919&group_id=75348&atid=543653">SF |
BUG-1490919</a>] No security errors will be thrown when loading FCKeditor in |
page inside a FRAME defined in a different domain.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512817&group_id=75348&atid=543653">SF |
BUG-1512817</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1571345&group_id=75348&atid=543653">SF |
BUG-1571345</a>] Fixed the "undefined" addition to the content when ShowBorders |
= false and FullPage = true in Firefox. Thanks to Brett.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512798&group_id=75348&atid=543653">SF |
BUG-1512798</a>] BaseHref will now work well on FullPage, even if no <head> |
is available.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1509923&group_id=75348&atid=543653">SF |
BUG-1509923</a>] The DocumentProcessor is now called when using InserHtml().</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505964&group_id=75348&atid=543653">SF |
BUG-1505964</a>] The DOCTYPE declaration is now preserved when working in FullPage.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1553727&group_id=75348&atid=543653">SF |
BUG-1553727</a>] The editor was throwing an error when inserting complex templates. |
Fixed.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1564930&group_id=75348&atid=543655">SF |
Patch-1564930</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1562828&group_id=75348">SF |
BUG-1562828</a>] In IE, anchors where incorrectly copied when using the Paste |
from Word button. Fixed, thanks to geirhelge.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1557709&group_id=75348&atid=543653">SF |
BUG-1557709</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1421810&group_id=75348&atid=543653">SF |
BUG-1421810</a>] The link dialog now validates Popup Window names.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1556878&group_id=75348&atid=543653">SF |
BUG-1556878</a>] Firefox was creating empty tags when deleting the selection in |
some special cases.</li> |
<li>The context menu for links is now correctly shown when right-clicking on floating |
divs.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1084404&group_id=75348&atid=543653">SF |
BUG-1084404</a>] The XHTML processor now ignores empty span tags.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221728&group_id=75348&atid=543653">SF |
BUG-1221728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1174503&group_id=75348&atid=543653">SF |
BUG-1174503</a>] The <abbr> tag is not anymore getting broken by IE.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1182906&group_id=75348&atid=543653">SF |
BUG-1182906</a>] IE is not anymore messing up mailto links.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1386094&group_id=75348&atid=543653">SF |
BUG-1386094</a>] Fixed an issue when setting configuration options to empty ('') |
by code.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1389435&group_id=75348&atid=543653">SF |
BUG-1389435</a>] Fixed an issue in some dialog boxes when handling numeric inputs.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1398829&group_id=75348&atid=543653">SF |
BUG-1398829</a>] Some links may got broken on very specific cases. Fixed.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1409969&group_id=75348&atid=543653">SF |
BUG-1409969</a>] <noscript> tags now remain untouched by the editor.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1433457&group_id=75348&atid=543653">SF |
BUG-1433457</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513631&group_id=75348&atid=543653">SF |
BUG-1513631</a>] Empty "href" attributes in <a> or empty "src" in <img> |
will now be correctly preserved.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1435195&group_id=75348&atid=543653">SF |
BUG-1435195</a>] Scrollbars are now visible in the File Browser (for custom implementations).</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1438296&group_id=75348&atid=543653">SF |
BUG-1438296</a>] The "ForceSimpleAmpersand" setting is now being honored in all |
tags.</li> |
<li>If a popup blocker blocks context menu operations, the correct alert message is |
displayed now, instead of a ugly JavaScript error.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1454116&group_id=75348&atid=543653">SF |
BUG-1454116</a>] The GetXHTML() function will not change the IsDirty() value of |
the editor.</li> |
<li>The spell check may not work correctly when using SpellerPages with ColdFusion. |
Fixed.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1481861&group_id=75348&atid=543653">SF |
BUG-1481861</a>] HTML comments are now removed by the Word Cleanup System.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489390&group_id=75348&atid=543653">SF |
BUG-1489390</a>] A few missing hard coded combo options used in some dialogs are |
now localizable.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505448&group_id=75348&atid=543653">SF |
BUG-1505448</a>] The Form dialog now retrieves the value of the "action" attribute |
exactly as defined in the source.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF |
Patch-1517322</a>] Solved an issue when the toolbar has buttons with simple icons |
(usually used by plugins) mixed with icons coming from a strip (the default toolbar |
buttons).</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1575261&group_id=75348&atid=543655">SF |
Patch-1575261</a>] Some fields in the Table and Cell Properties dialogs were being |
cut. Fixed.</li> |
<li>Fixed a startup compatibility issue with Firefox 1.0.4.</li> |
</ul> |
<h3> |
Version 2.3.1</h3> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/support/tracker.php?aid=1506126">SF |
BUG-1506126</a>] Fixed the Catalan language file, which had been published with |
problems in accented letters. </li> |
<li>More performance improvements in the default File Browser.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1506701&group_id=75348&atid=543653">SF |
BUG-1506701</a>] Fixed compatibility issues with IE 5.5.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509073&group_id=75348&atid=543653">SF |
BUG-1509073</a>] Fixed the "Image Properties" dialog window, which was making invalid |
calls to the "editor/dialog/" directory, generating error 400 entries in the web |
server log.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507294&group_id=75348&atid=543653">SF |
BUG-1507294</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507953&group_id=75348&atid=543653">SF |
BUG-1507953</a>] The editing area was getting a fixed size when using the "SetHTML" |
API command or even when switching back from the source view. Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1507755&group_id=75348">SF |
BUG-1507755</a>] Fixed a conflict between the "DisableObjectResizing" and "ShowBorders" |
configuration options over IE.</li> |
<li>Opera 9 tries to "mimic" Gecko in the browser detection system of FCKeditor. As |
this browser is not "yet" supported, the editor was broken on it. It has been fixed, |
and now a textarea is displayed, as in any other unsupported browser. Support for |
Opera is still experimental and can be activated by setting the property "EnableOpera" |
to true when creating an instance of the editor with the JavaScript integration |
files.</li> |
<li>With Opera 9, the toolbar was jumping on buttons rollover. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509479&group_id=75348&atid=543656">SF |
BUG-1509479</a>] The iframes used in Firefox for all editor panels (dropdown combos, |
context menu, etc...) are now being placed right before the main iframe that holds |
the editor. In this way, if the editor container element is removed from the DOM |
(by DHTML) they are removed together with it.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271070&group_id=75348&atid=543653">SF |
BUG-1271070</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1411430&group_id=75348&atid=543653">SF |
BUG-1411430</a>] The editor API now works well on DHTML pages that create and |
remove instances of FCKeditor dynamically. </li> |
<li>A second call to a page with the editor was not working correctly with Firefox 1.0.x. |
Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511460&group_id=75348&atid=543653">SF |
BUG-1511460</a>] Small correction to the <script> protected source regex. |
Thanks to Randall Severy.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1521754&group_id=75348">SF |
BUG-1521754</a>] Small fix to the paths of the internal CSS files used by FCKeditor. |
Thanks to johnw_ceb.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511442&group_id=75348&atid=543653">SF |
BUG-1511442</a>] The <base> tag is now correctly handled in IE, no matter |
its position in the source code.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507773&group_id=75348&atid=543653">SF |
BUG-1507773</a>] The "Lock" and "Reset" buttons in the Image Properties dialog window |
are not anymore jumping with Firefox 1.5.</li> |
</ul> |
<h3> |
Version 2.3</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>The <strong>Toolbar Sharing</strong> system has been completed. See sample10.html |
and sample11.html.*</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1407500&group_id=75348&atid=543655">SF |
Patch-1407500</a>] Small enhancement to the Find and Replace dialog windows.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>Small security fixes.</li> |
<li>The context menu system has been optimized. Nested menus now open "onmouseover". |
</li> |
<li>An error in the image preloader system was making the toolbar strip being downloaded |
once for each button on slow connections. Some enhancements have also been made |
so now the smaple05.html is loading fast for all skins.</li> |
<li>Fixed many memory leak issues with IE.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1489768&group_id=75348&atid=543653">SF |
BUG-1489768</a>] The panels (context menus, toolbar combos and color selectors), |
where being displayed in the wrong position if the contents of the editor, or its |
containing window were scrolled down. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1493176&group_id=75348">SF |
BUG-1493176</a>] Using ASP, the connector was not working on servers with buffer |
disable by default.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1491784&group_id=75348&atid=543653">SF |
BUG-1491784</a>] Language files have been updated to not include html entities.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490259&group_id=75348&atid=543653">SF |
BUG-1490259</a>] No more security warning on IE over HTTPS.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493173&group_id=75348&atid=543653">SF |
BUG-1493173</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499708&group_id=75348">SF |
BUG-1499708</a>] We now assume that, if a user is in source editing, he/she |
wants to control the HTML, so the editor doesn't make changes to it when posting |
the form being in source view or when calling the GetXHTML function in the API. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490610&group_id=75348&atid=543653">SF |
BUG-1490610</a>] The FitWindow is now working on elements set with relative position.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493438&group_id=75348&atid=543653">SF |
BUG-1493438</a>] The "Word Wrap" combo in the cell properties dialog now accepts |
only Yes/No (no more <Not Set> value).</li> |
<li>The context menu is now being hidden when a nested menu option is selected.</li> |
<li>Table cell context menu operations are now working correctly.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1494549&group_id=75348&atid=543653">SF |
BUG-1494549</a>] The code formatter was having problems with dollar signs inside |
<pre> tags.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459740&group_id=75348&atid=543655">SF |
Patch-1459740</a>] The "src" element of images can now be set by styles definitions. |
Thanks to joelwreed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1437052&group_id=75348&atid=543655">SF |
Patch-1437052</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1436166&group_id=75348&atid=543655">SF |
Patch-1436166</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352385&group_id=75348&atid=543655">SF |
Patch-1352385</a>] Small fix to the FCK.InsertHtml, FCKTools.AppendStyleSheet |
and FCKSelection.SelectNode functions over IE. Thanks to Alfonso Martinez.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349765&group_id=75348&atid=543655">SF |
Patch-1349765</a>] Small fix to the FCKSelection.GetType over Firefox. Thanks to |
Alfonso Martinez.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1495422&group_id=75348">SF |
Patch-1495422</a>] The editor now creates link based on the URL when no selection |
is available. Thanks to Dominik Pesch.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1478859&group_id=75348">SF |
Patch-1478859</a>] On some circumstances, the Yahoo popup blocker was blocking the |
File Browser window, giving no feedback to the user. Now an alert message is displayed.</li> |
<li>When using the editor in a RTL localized interface, like Arabic, the toolbar combos |
were not showing completely in the first click. Fixed.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500212&group_id=75348">SF |
BUG-1500212</a>] All "_samples/html" samples are now working when loading directly |
from the Windows Explorer. Thanks to Alfonso Martinez.</li> |
<li>The "FitWindow" feature was breaking the editor under Firefox 1.0.x.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1500032&group_id=75348&atid=543655">SF |
Patch-1500032</a>] In Firefox, the caret position now follows the user clicks when |
clicking in the white area bellow the editor contents. Thanks to Alfonso Martinez.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499522&group_id=75348">SF |
BUG-1499522</a>] In Firefox, the link dialog window was loosing the focus (and quickly |
reacquiring it) when opening. This behavior was blocking the dialog in some Linux |
installations. </li> |
<li>Drastically improved the loading performance of the file list in the default File |
Browser.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1503059&group_id=75348">SF |
BUG-1503059</a>] The default "BasePath" for FCKeditor in all integration files has |
been now unified to "/fckeditor/" (lower-case). This is the usual casing system |
in case sensitive OSs like Linux.</li> |
<li>The "DisableFFTableHandles" setting is now honored when switching the full screen |
mode with FitWindow.</li> |
<li>Some fixes has been applied to the cell merging in Firefox.</li> |
</ul> |
<p> |
* This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a> |
and <a href="http://www.kentico.com/">Kentico</a>.</p> |
<h3> |
Version 2.3 Beta</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li><span><strong>Extremely Fast Loading!</strong> The editor now loads more than 3 |
times faster than before, with no impact on its advanced features.</span> </li> |
<li><span><strong>New toolbar system</strong>:</span> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1454850&group_id=75348&atid=543656">SF |
Feature-1454850</a>] The toolbar will now <strong>load much faster</strong>. All |
images have being merged in a single image file using a unique system available |
only with FCKeditor. </li> |
<li>The "Text Color" and "Background Color" commands buttons have |
enhancements on the interface.</li> |
<li><strong><span style="color: #ff0000">Attention</span></strong>: As a completely |
new system has being developed. Skins created for versions prior this one will not |
work. Skin styles definitions have being merged, added and removed. All skins have |
been a little bit reviewed. </li> |
<li>It is possible to <strong>detach the toolbar</strong> from an editor instance and |
share it with other instances. In this way you may have only one toolbar (in the |
top of the window, for example, that can be used by many editors (see <a href="_samples/html/sample10.html"> |
sample10.html</a>). This feature is still under development (issues with IE |
focus still to be solved).* </li> |
</ul> |
</li> |
<li><strong><span>New context menu system</span></strong>: |
<ul> |
<li>It uses the same (fast) loading system as the toolbar. </li> |
<li>Sub-Menus are now available to group features (try the context menu over a table |
cell). </li> |
<li>It is now possible to create your own context menu entries by creating plugins. |
</li> |
</ul> |
</li> |
<li><strong>New "FitWindow" toolbar button</strong>, based on the <a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1431638&group_id=75348&atid=737639"> |
plugin</a> published by Paul Moers. Thanks Paul!</li> |
<li><strong>"Auto Grow" Plugin</strong>: automatically resizes the editor |
until a maximum height, based on its contents size.** </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1444943&group_id=75348&atid=543656">SF |
Feature-1444943</a>] <strong>Multiple CSS files</strong> can now be used in the |
editing area. Just define FCKConfig.EditorAreaCSS as an array of strings (each one |
is a path to a different css file). It works also as a simple string, as on prior |
versions. </li> |
<li>New language files:<ul> |
<li><strong>Bengali / Bangla</strong> (by Richard Walledge).</li> |
<li><strong>English (Canadian)</strong> (by Kevin Bennett). </li> |
<li><strong>Khmer</strong> (by Sengtha Chay).</li> |
</ul> |
</li> |
<li>The source view is now available in the editing area on Gecko browsers. Previously |
a popup was used for it (due to a Firefox bug). </li> |
<li><span>As some people may prefer the popup way for source editing, a new configuration |
option (SourcePopup) has being introduced.</span> </li> |
<li>The IEForceVScroll configuration option has been removed. The editor now automatically |
shows the vertical scrollbar when needed (for XHTML doctypes). </li> |
<li>The configuration file doesn't define a default DOCTYPE to be used now. </li> |
<li>It is now possible to easily change the toolbar using the JavaScript API by just |
calling <EditorInstance>.ToolbarSet.Load( '<ToolbarName>' ). See _testcases/010.html |
for a sample. </li> |
<li>The "OnBlur" and "OnFocus" JavaScript API events are now compatible |
with all supported browsers. </li> |
<li>Some few updates in the Lasso connector and uploader. </li> |
<li>The GeckoUseSPAN setting is now set to "false" by default. In this way, the code |
produced by the bold, italic and underline commands are the same on all browsers.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li><strong>Important security fixes have been applied to the File Manager, Uploader |
and Connectors. Upgrade is highly recommended.</strong> Thanks to Alberto Moro, |
Baudouin Lamourere and James Bercegay.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1399966&group_id=75348&atid=543653">SF |
BUG-1399966</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1249853&group_id=75348&atid=543653">SF |
BUG-1249853</a>] The "BaseHref" configuration is now working with |
Firefox in both normal and full page modes.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1405263&group_id=75348&atid=543653">SF |
BUG-1405263</a>] A typo in the configuration file was impacting the Quick Upload |
feature. </li> |
<li>Nested <ul> and <ol> tags are now generating valid html.</li> |
<li>The "wmode" and "quality" attributes are now preserved for Flash |
embed tags, in case they are entered manually in the source view. Also, empty attributes |
are removed from that tag. </li> |
<li>Tables where not being created correctly on Opera. </li> |
<li>The XHTML processor will ignore invalid tags with names ending with ":", |
like http:. </li> |
<li><span>On Firefox, the scrollbar is not anymore displayed on toolbar dropdown commands |
when not needed.</span> </li> |
<li><span>Some small fixes have being done to the dropdown commands rendering for FF</span>. |
</li> |
<li>The table dialog window has been a little bit enlarged to avoid contents being cropped |
on some languages, like Russian. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1465203&group_id=75348&atid=543653">SF |
BUG-1465203</a>] The ieSpell download URL has been updated. The problem is that |
they don't have a fixed URL for it, so let's hope the mirror will be up for it. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1456332&group_id=75348&atid=543653">SF |
BUG-1456332</a>] Small fix in the Spanish language file. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1457078&group_id=75348&atid=543653">SF |
BUG-1457078</a>] The File Manager was generating 404 calls in the server. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459846&group_id=75348&atid=543653">SF |
BUG-1459846</a>] Fixed a problem with the config file if PHP is set to parse .js |
files. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF |
BUG-1432120</a>] The "UserFilesAbsolutePath" setting is not correctly |
used in the PHP uploader. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF |
BUG-1408869</a>] The collapse handler is now rendering correctly in Firefox 1.5. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1410082&group_id=75348&atid=543653">SF |
BUG-1410082</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1424240&group_id=75348&atid=543653">SF |
BUG-1424240</a>] The "moz-bindings.xml" file is now well formed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1413980&group_id=75348&atid=543653">SF |
BUG-1413980</a>] All frameborder "yes/no" values have been changes to |
"1/0". </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414101&group_id=75348&atid=543653">SF |
BUG-1414101</a>] The fake table borders are now showing correctly when running under |
the "file://" protocol. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414155&group_id=75348&atid=543653">SF |
BUG-1414155</a>] Small typo in the cell properties dialog window.</li> |
<li>Fixed a problem in the File Manager. It was not working well with folder or file |
names with apostrophes ('). Thanks to René de Jong.</li> |
<li>Small "lenght" type corrected in the select dialog window. Thanks to Bernd Nussbaumer.</li> |
<li>The about box is now showing correctly in Firefox 1.5.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1464020&group_id=75348&atid=543655">SF |
Patch-1464020</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155793&group_id=75348&atid=543653">SF |
BUG-1155793</a>] The "Unlink" command is now working correctly under Firefox |
if you don't have a complete link selection. Thanks to Johnny Egeland.</li> |
<li>In the File Manager, it was not possible to upload files to folders with ampersands |
in the name. Thanks to Mike Pone.</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1178359&group_id=75348&atid=543653">SF |
BUG-1178359</a>] Elements from the toolbar are not anymore draggable in the editing |
area.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1487544&group_id=75348&atid=543653">SF |
BUG-1487544</a>] Fixed a small issue in the code formatter for <br /> and |
<hr /> tags.</li> |
<li>The "Background Color" command now works correctly when the GeckoUseSPAN setting |
is disabled (default).</li> |
<li>Links are now rendered in blue with Firefox (they were black before). Actually, |
an entry for it has been added to the editing area CSS, so you can customize with |
the color you prefer. </li> |
</ul> |
<p> |
* This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a> |
and <a href="http://www.kentico.com/">Kentico</a>. |
<br /> |
** This version has been partially sponsored by <a href="http://www.nextide.ca/">Nextide</a>.</p> |
<h3> |
Version 2.2</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>Let's welcome Wim Lemmens (didgiman). He's our new responsible for the ColdFusion |
integration. In this version we are introducing his new files with the following |
changes: |
<ul> |
<li>The "<strong>Uploader</strong>", used for quick uploads, is now available |
<strong>natively for ColdFusion</strong>. </li> |
<li>Small bugs have been corrected in the <strong>File Browser connector</strong>. </li> |
<li>The samples now work as is, even if you don't install the editor in the "/FCKeditor" |
directory.</li> |
</ul> |
</li> |
<li>And a big welcome also to "Andrew Liu", our responsible for the <strong> |
Python</strong> integration. This version is bringing <strong>native support for Python</strong> |
, including the File Browser connector and Quick Upload. </li> |
<li>The "<strong>IsDirty()</strong>" and "<strong>ResetIsDirty()</strong>" |
functions have been added to the JavaScript API to check if the editor |
content has been changed.* </li> |
<li>New language files: |
<ul> |
<li><strong>Hindi</strong> (by Utkarshraj Atmaram) </li> |
<li><strong>Latvian </strong>(by Janis Klavinš)</li> |
</ul> |
</li> |
<li>For the interface, now we have complete <strong>RTL support</strong> also for |
the drop-down toolbar commands, color selectors and context menu. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1325113&group_id=75348&atid=543653">SF |
BUG-1325113</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1277661&group_id=75348&atid=543653">SF |
BUG-1277661</a>] The new "Delete Table" command is available in the |
Context Menu when right-clicking inside a table. </li> |
<li>The "FCKConfig.DisableTableHandles" configuration option is now working |
on Firefox 1.5. </li> |
<li>The new "<strong>OnBlur</strong>" and "<strong>OnFocus</strong>" |
events have been added to the JavaScript API (IE only). See "_samples/html/sample09.html" * |
</li> |
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>GetHTML</strong>" |
function has been deprecated. It now returns the same value as "<strong>GetXHTML</strong>". |
The same is valid for the "EnableXHTML" and "EnableSourceXHTML" |
that have no effects now. The editor now works with XHTML output only. </li> |
<li><strong><font color="#ff0000">Attention</font></strong>: A new "<strong>PreserveSessionOnFileBrowser</strong>" |
configuration option has been introduced. It makes it possible to set whenever is |
needed to maintain the user session in the File Browser. It is disabled by default, |
as it has very specific usage and may cause the File Browser to be blocked by popup |
blockers. If you have custom File Browsers that depends on session information, |
remember to activate it. </li> |
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>fun</strong>" |
smileys set has been removed from the package. If you are using it, you must manually |
copy it to newer installations and upgrades. </li> |
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>mcpuk</strong>" |
file browser has been removed from the package. We have no ways to support it. There |
were also some licensing issues with it. Its web site can still be found at <a href="http://mcpuk.net/fbxp/"> |
http://mcpuk.net/fbxp/</a>. </li> |
<li>It is now possible to set different CSS styles for the chars in the Special Chars |
dialog window by adding the "SpecialCharsOut" and "SpecialCharsOver" |
in the "fck_dialog.css" skin file.* </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1268726&group_id=75348&atid=543655">SF |
Patch-1268726</a>] Added table "summary" support in the table dialog. |
Thanks to Sebastien-Mahe. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1284380&group_id=75348&atid=543655">SF |
Patch-1284380</a>] It is now possible to define the icon of a FCKToolbarPanelButton |
object without being tied to the skin path (just like FCKToolbarButton). Thanks |
to Ian Sullivan. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1338610&group_id=75348&atid=543655">SF |
Patch-1338610</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263009&group_id=75348&atid=543656">SF |
Patch-1263009</a>] New characters have been added to the "Special Characters" |
dialog window. Thanks to Deian. </li> |
<li>You can set the QueryString value "fckdebug=true" to activate "debug |
mode" in the editor (showing the debug window), overriding the configurations. |
The "AllowQueryStringDebug" configuration option is also available so |
you can disable this feature.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1363548&group_id=75348&atid=543653">SF |
BUG-1363548</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1364425&group_id=75348&atid=543653">SF |
BUG-1364425</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1335045&group_id=75348&atid=543653">SF |
BUG-1335045</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289661&group_id=75348&atid=543653">SF |
BUG-1289661</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225370&group_id=75348&atid=543653">SF |
BUG-1225370</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1156291&group_id=75348&atid=543653">SF |
BUG-1156291</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1165914&group_id=75348&atid=543653">SF |
BUG-1165914</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1111877&group_id=75348&atid=543653">SF |
BUG-1111877</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1092373&group_id=75348&atid=543653">SF |
BUG-1092373</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1101596&group_id=75348&atid=543653">SF |
BUG-1101596</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246952&group_id=75348&atid=543653">SF |
BUG-1246952</a>] The URLs for links and |
images are now correctly preserved as entered, no matter if you are using relative |
or absolute paths. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1162809&group_id=75348&atid=543653">SF |
BUG-1162809</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1205638&group_id=75348&atid=543653">SF |
BUG-1205638</a>] The "Image" and "Flash" dialog windows |
now loads the preview correctly if the "BaseHref" configuration option |
is set. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329807&group_id=75348&atid=543653">SF |
BUG-1329807</a>] The alert boxes are now showing correctly when doing cut/copy/paste |
operations on Firefox installations when it is not possible to execute that operations |
due to security settings. </li> |
<li>A new "Panel" system (used in the drop-dowm toolbar commands, color selectors |
and context menu) has been developed. The following bugs have been fixed with it: |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186927&group_id=75348&atid=543653">SF |
BUG-1186927</a>] On IE, sometimes the context menu was being partially hidden.* |
</li> |
<li>On Firefox, the context menu was flashing in the wrong position before showing. |
</li> |
<li>On Firefox 1.5, the Color Selector was not working. </li> |
<li>On Firefox 1.5, the fonts in the panels were too big. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1076435&group_id=75348&atid=543653">SF |
BUG-1076435</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200631&group_id=75348&atid=543653">SF |
BUG-1200631</a>] On Firefox, sometimes the context menu was being shown in the |
wrong position.</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF |
BUG-1364094</a>] Font families were <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=317572"> |
not being rendered correctly on Firefox</a> . </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1315954&group_id=75348">SF |
BUG-1315954</a>] No error is thrown when pasting some case specific code from editor |
to editor. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1341553&group_id=75348&atid=543653">SF |
BUG-1341553</a>] A small fix for a security alert in the File Browser has been |
applied. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370953&group_id=75348&atid=543653">SF |
BUG-1370953</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339898&group_id=75348&atid=543653">SF |
BUG-1339898</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323319&group_id=75348&atid=543653">SF |
BUG-1323319</a>] A message will be shown to the user (instead of a JS error) if |
a "popup blocker" blocks the "Browser Server" button. Thanks |
to Erwin Verdonk. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370355&group_id=75348&atid=543653">SF |
BUG-1370355</a>] Anchor links that points to a single character anchor, like "#A", |
are now correctly detected in the Link dialog window. Thanks to Ricky Casey. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368998&group_id=75348&atid=543653">SF |
BUG-1368998</a>] Custom error processing has been added to the file upload on the |
File Browser. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1367802&group_id=75348&atid=543653">SF |
BUG-1367802</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1207740&group_id=75348&atid=543653">SF |
BUG-1207740</a>] A message is shown to the user if a dialog box is blocked by |
a popup blocker in Firefox. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1358891&group_id=75348&atid=543653">SF |
BUG-1358891</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1340960&group_id=75348&atid=543653">SF |
BUG-1340960</a>] The editor not works locally (without a web server) on directories |
where the path contains spaces. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357247&group_id=75348&atid=543653">SF |
BUG-1357247</a>] The editor now intercepts SHIFT + INS keystrokes when needed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1328488&group_id=75348&atid=543653">SF |
BUG-1328488</a>] <strong><font color="#ff0000">Attention</font></strong>: The Page |
Break command now produces different tags to avoid XHTML compatibility |
issues. Any Page Break previously applied to content produced with previous versions |
of FCKeditor will not me rendered now, even if they will still be working correctly. |
</li> |
<li>It is now possible to allow cut/copy/past operations on Firefox using the <a |
href="http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard" |
target="_blank">user.js</a> file. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1336792&group_id=75348&atid=543653">SF |
BUG-1336792</a>] A fix has been applied to the XHTML processor to allow tag names |
with the "minus" char (-). </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339560&group_id=75348&atid=543653">SF |
BUG-1339560</a>] The editor now correctly removes the "selected" option |
for checkboxes and radio buttons. </li> |
<li>The Table dialog box now selects the table correctly when right-clicking on objects |
(like images) placed inside the table. </li> |
<li><strong><font color="#ff0000">Attention</font></strong>: A few changes have been |
made in the skins. If you have a custom skin, it is recommended you to make a diff |
of the fck_contextmenu.css file of the default skin with your implementation. </li> |
<li>Mouse select (marking things in blue, like selecting text) has been disabled |
on panels (drop-down menu commands, color selector and context menu) and toolbar, |
for both IE and Firefox. </li> |
<li>On Gecko, fake borders will not be applied to tables with the border attribute set |
to more than 0, but placed inside tables with border set to 0. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360717&group_id=75348&atid=543653">SF |
BUG-1360717</a>] A wrapping issue in the "Silver" skin has been corrected. |
Thanks to Ricky Casey. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251145&group_id=75348&atid=543653">SF |
BUG-1251145</a>] In IE, the focus is now maintained in the text when clicking in |
the empty area following it. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1181386&group_id=75348&atid=543653">SF |
BUG-1181386</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1237791&group_id=75348&atid=543653">SF |
BUG-1237791</a>] The "Stylesheet Classes" field in the Link dialog |
window in now applied correctly on IE. Thanks to Andrew Crowe. </li> |
<li>The "Past from Word" dialog windows is now showing correctly on Firefox |
on some languages. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315008&group_id=75348&atid=543653">SF |
BUG-1315008</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1241992&group_id=75348&atid=543653">SF |
BUG-1241992</a>] IE, when selecting objects (like images) and hitting the "Backspace" |
button, the browser's "back" will not get executed anymore and the object |
will be correctly deleted. </li> |
<li>The "AutoDetectPasteFromWord" is now working correctly in IE. Thanks to |
Juan Ant. Gómez. </li> |
<li>A small enhancement has been made in the Word pasting detection. Thanks to Juan |
Ant. Gómez. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1090686&group_id=75348&atid=543653">SF |
BUG-1090686</a>] No more conflict with Firefox "Type-Ahead Find" feature. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942653&group_id=75348&atid=543653">SF |
BUG-942653</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1155856&group_id=75348&atid=543653">SF |
BUG-1155856</a>] The "width" and "height" of images sized |
using the inline handlers are now correctly loaded in the image dialog box. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1209093&group_id=75348&atid=543653">SF |
BUG-1209093</a>] When "Full Page Editing" is active, in the "Document |
Properties" dialog, the "Browse Server" button for the page background |
is now correctly hidden if "ImageBrowser" is set to "false" |
in the configurations file. Thanks to Richard. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1120266&group_id=75348&atid=543653">SF |
BUG-1120266</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186196&group_id=75348&atid=543653">SF |
BUG-1186196</a>] The editor now retains the focus when selecting commands in |
the toolbar. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1244480&group_id=75348&atid=543653">SF |
BUG-1244480</a>] The editor now will look first to linked fields "ids" |
and second to "names". </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1252905&group_id=75348&atid=543653">SF |
BUG-1252905</a>] The "InsertHtml" function now preserves URLs as entered. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1266317&group_id=75348&atid=543653">SF |
BUG-1266317</a>] Toolbar commands are not anymore executed outside the editor. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1365664&group_id=75348&atid=543653">SF |
BUG-1365664</a>] The "wrap=virtual" attribute has been removed from the |
integration files for validation purposes. No big impact. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=972193&group_id=75348&atid=543653">SF |
BUG-972193</a>] Now just one click is needed to active the cursor inside the editor. |
</li> |
<li>The hidden fields used by the editor are now protected from changes using the "Web |
Developer Add-On > Forms > Display Forms Details" extension. Thanks to |
Jean-Marie Griess. </li> |
<li>On IE, the "Format" toolbar dropdown now reflects the current paragraph |
type on IE. Because of a bug in the browser, it is quite dependent on the browser |
language and the editor interface language (both must be the same). Also, as the |
"Normal (DIV)" type is seen by IE as "Normal", to avoid confusion, |
both types are ignored by this fix. </li> |
<li>On some very rare cases, IE was loosing the "align" attribute for DIV |
tags. Fixed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1388799&group_id=75348">SF |
BUG-1388799</a>] The code formatter was removing spaces on the beginning of lines |
inside PRE tags. Fixed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1387135&group_id=75348&atid=543653">SF |
BUG-1387135</a>] No more "NaN" values in the image dialog, when changing |
the sizes in some situations. </li> |
<li>Corrected a small type in the table handler. </li> |
<li>You can now set the "z-index" for floating panels (toolbar dropdowns, |
color selectors, context menu) in Firefox, avoiding having them hidden under another |
objects. By default it is set to 10,000. Use the FloatingPanelsZIndex configuration |
option to change this value.</li> |
</ul> |
<p> |
<strong>Special thanks</strong> to <a target="_blank" href="https://sourceforge.net/users/alfonsoml/"> |
Alfonso Martinez</a>, who have provided many patches and suggestions for the |
following features / fixes present in this version. I encourage all you to <a href="https://sourceforge.net/donate/index.php?user_id=1356422"> |
donate</a> to Alfonso, as a way to say thanks for his nice open source approach. |
Thanks Alfonso!. Check out his contributions:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF |
BUG-1352539</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1208348&group_id=75348&atid=543653">SF |
BUG-1208348</a>] With Firefox, no more "fake" selections are appearing |
when inserting images, tables, special chars or when using the "insertHtml" |
function. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1382588&group_id=75348">SF |
Patch-1382588</a>] The "FCKConfig.DisableImageHandles" configuration option |
is not working on Firefox 1.5. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368586&group_id=75348&atid=543655">SF |
Patch-1368586</a>] Some fixes have been applied to the Flash dialog box and the |
Flash pre-processor. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360253&group_id=75348&atid=543655">SF |
Patch-1360253</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1378782&group_id=75348&atid=543653">SF |
BUG-1378782</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305899&group_id=75348&atid=543653">SF |
BUG-1305899</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1344738&group_id=75348&atid=543653">SF |
BUG-1344738</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1347808&group_id=75348&atid=543653">SF |
BUG-1347808</a>] On dialogs, some fields became impossible |
to select or change when using Firefox. It has been fixed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357445&group_id=75348&atid=543655">SF |
Patch-1357445</a>] Add support for DIV in the Format drop-down combo for Firefox. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350465&group_id=75348&atid=543653">SF |
BUG-1350465</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1376175&group_id=75348&atid=543653">SF |
BUG-1376175</a>] The "Cell Properties" dialog now works correctly |
when right-clicking in an object (image, for example) placed inside the cell itself. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349166&group_id=75348&atid=543655">SF |
Patch-1349166</a>] On IE, there is now support for namespaces on tags names. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350552&group_id=75348&atid=543655">SF |
Patch-1350552</a>] Fix the display issue when applying styles on tables. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352320&group_id=75348&atid=543655">SF |
Patch-1352320</a> ] Fixed a wrong usage of the "parentElement" |
property on Gecko. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1355007&group_id=75348&atid=543655">SF |
Patch-1355007</a>] The new "FCKDebug.OutputObject" function is available |
to dump all object information in the debug window. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329500&group_id=75348&atid=543655">SF |
Patch-1329500</a>] It is now possible to delete table columns when clicking on a |
TH cell of the column. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315351&group_id=75348&atid=543655">SF |
Patch-1315351</a>] It is now possible to pass the image width and height to the |
"SetUrl" function of the Flash dialog box. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327384&group_id=75348&atid=543655">SF |
Patch-1327384</a>] TH tags are now correctly handled by the source code formatter |
and the "FillEmptyBlocks" configuration option. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327406&group_id=75348&atid=543655">SF |
Patch-1327406</a>] Fake borders are now displayed for TH elements on tables with |
border set to 0. Also, on Firefox, it will now work even if the border attribute |
is not defined and the borders are not dotted. </li> |
<li>Hidden fields now get rendered on Firefox. </li> |
<li>The BasePath is now included in the debugger URL to avoid problems when calling |
it from plugins.</li> |
</ul> |
<p> |
* This version has been partially sponsored by <a target="_blank" href="http://www.alkacon.com"> |
Alkacon Software</a>.</p> |
<h3> |
Version 2.1.1</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>The new "<strong>Insert Page Break</strong>" command (for printing) has |
been introduced.* </li> |
<li>The editor package now has a root directory called "FCKeditor".</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326285&group_id=75348&atid=543653">SF |
BUG-1326285</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1316430&group_id=75348&atid=543653">SF |
BUG-1316430</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323662&group_id=75348&atid=543653">SF |
BUG-1323662</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326223&group_id=75348&atid=543653">SF |
BUG-1326223</a>] We are doing a little step back with this version. |
The ENTER and BACKSPACE behavior changes for Firefox have been remove. It is a nice |
feature, but we need much more testing on it. It introduced some bugs and so |
its preferable to not have that feature, avoiding problems (even if that feature |
was intended to solve some issues). </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF |
BUG-1275714</a>] Comments in the beginning of the source are now preserved when |
using the "undo" and "redo" commands. </li> |
<li>The "undo" and "redo" commands now work for the Style command. |
</li> |
<li>An error in the execution of the pasting commands on Firefox has been fixed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1326184&group_id=75348">SF |
BUG-1326184</a>] No strange (invalid) entities are created when using Firefox. Also, |
the &nbsp; used by the FillEmptyBlocks setting is maintained even if you disable |
the ProcessHTMLEntities setting.</li> |
</ul> |
<p> |
* This version has been partially sponsored by <a target="_blank" href="http://www.acttive.com.br/"> |
Acctive Software S.A.</a>.</p> |
<h3> |
Version 2.1</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200328&group_id=75348&atid=543653">SF |
BUG-1200328</a>] The editor now offers a way to "protect" part of the |
source to remain untouched while editing or changing views. Just use the "FCKConfig.ProtectedSource" |
object to configure it and customize to your needs. It is based on regular expressions. |
See fckconfig.js for some samples. </li> |
<li>The editor now offers native support for <strong>Lasso</strong>. Thanks and welcome to |
our new developer Jason Huck. </li> |
<li>New language files are available: |
<ul> |
<li><strong>Faraose</strong> (by Símin Lassaberg and Helgi Arnthorsson) |
</li> |
<li><strong>Malay</strong> (by Fairul Izham Mohd Mokhlas) </li> |
<li><strong>Mongolian</strong> (by Lkamtseren Odonbaatar) </li> |
<li><strong>Vietnamese</strong> (by Phan Binh Giang)</li> |
</ul> |
</li> |
<li>A new configurable ColdFusion connector is available. Thanks to Mark Woods. |
Many enhancements has been introduced with it. </li> |
<li>The PHP connector for the default File Browser now sorts the folders and files names. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF |
BUG-1289372</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1282758&group_id=75348&atid=543653">SF |
BUG-1282758</a>] In the PHP connector it is now possible to set the absolute |
(server) path to the User Files directory, avoiding problems with Virtual Directories, |
Symbolic Links or Aliases. Take a look at the config.php file. </li> |
<li>The ASP.Net uploader (for Quick Uploads) has been added to the package. </li> |
<li>A new way to define <strong>simple "combo" toolbar items</strong> , like |
Style and Font, has been introduced. Thanks to Steve Lineberry. See |
sample06.html and the "simplecommands" plugin to fully understand |
it. </li> |
<li>A new test case has been added that shows how to set the editor background dynamically |
without using a CSS. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155906&group_id=75348&atid=543653">SF |
BUG-1155906</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1110116&group_id=75348&atid=543653">SF |
BUG-1110116</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1216332&group_id=75348&atid=543653">SF |
BUG-1216332</a>] The "AutoDetectPasteFromWord" configuration option |
is back (IE only feature). </li> |
<li>The new "OnAfterLinkedFieldUpdate" event has been introduced. If |
is fired when the editor updates its hidden associated field. </li> |
<li>Attention: The color of the right border of the toolbar (left on RTL interfaces) |
has been moved from code to the CSS (TB_SideBorder class). Update your custom skins. |
</li> |
<li>A sample "htaccess.txt" file has been added to the editor's package |
to show how to configure some Linux sites that could present problems on Firefox |
with "Illegal characters" errors. Respectively the "" |
chars. </li> |
<li>With the JavaScript, ASP and PHP integration files, you can set the QueryString |
value "fcksource=true" to load the editor using the source files (located |
in the _source directory) instead of the compressed ones. Thanks to Kae Verens for |
the suggestion. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246623&group_id=75348&atid=543656">SF |
Feature-1246623</a>] The new configuration option "ForceStrongEm" has |
been introduced so you can force the editor to convert all <B> and <I> |
tags to <STRONG> and <EM> respectively. </li> |
<li>A nice contribution has been done by Goss Interactive Ltd: |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246949&group_id=75348&atid=543653">SF |
BUG-1246949</a>] Implemented ENTER key and BACKSPACE key handlers for Gecko so that |
P tags (or an appropriate block element) get inserted instead of BR tags when not |
in the UseBROnCarriageReturn config mode. |
<br /> |
The ENTER key handling has been written to function much the same as the ENTER key |
handling on IE : as soon as the ENTER key is pressed, existing content will be wrapped |
with a suitable block element (P tag) as appropriate and a new block element (P |
tag) will be started. |
<br /> |
The ENTER key handler also caters for pressing ENTER within empty list items - ENTER |
in an empty item at the top of a list will remove that list item and start a new |
P tag above the list; ENTER in an empty item at the bottom of a list will remove |
that list item and start a new P tag below the list; ENTER in an empty item in the |
middle of a list will remove that list item, split the list into two, and start |
a new P tag between the two lists. </li> |
<li>Any tables that are found to be incorrectly nested within a block element (P tag) |
will be moved out of the block element when loaded into the editor. This is required |
for the new ENTER/BACKSPACE key handlers and it also avoids non-compliant HTML. |
</li> |
<li>The InsertOrderedList and InsertUnorderedList commands have been overridden on Gecko |
to ensure that block elements (P tags) are placed around a list item's content when |
it is moved out of the list due to clicking on the editor's list toolbar buttons |
(when not in the UseBROnCarriageReturn config mode). </li> |
</ul> |
</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF |
BUG-1253255</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF |
BUG-1265520</a>] Due to changes on version 2.0, the anchor list was not anymore |
visible in the link dialog window. It has been fixed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1242979&group_id=75348">SF |
BUG-1242979</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1251354&group_id=75348&atid=543653">SF |
BUG-1251354</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1256178&group_id=75348&atid=543653">SF |
BUG-1256178</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274841&group_id=75348&atid=543653">SF |
BUG-1274841</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1303949&group_id=75348&atid=543653">SF |
BUG-1303949</a>] Due to a bug on Firefox, some keys stopped working |
on startup over Firefox. It has been fixed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251373&group_id=75348&atid=543653">SF |
BUG-1251373</a> ] The above fix also has corrected some strange behaviors on |
Firefox. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1144258">SF |
BUG-1144258</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1092081">SF |
BUG-1092081</a>] The File Browsers now run on the same server session used |
in the page where the editor is placed in (IE issue). Thanks to Simone Chiaretta. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305619&group_id=75348&atid=543653">SF |
BUG-1305619</a> ] No more repeated login dialogs when running the editor with Windows |
Integrated Security with IIS. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1245304&group_id=75348&atid=543655">SF |
Patch-1245304</a>] The Test Case 004 is now working correctly. It has been changed |
to set the editor hidden at startup. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1290610&group_id=75348&atid=543653">SF |
BUG-1290610</a> ] Over HTTPS, there were some warnings when loading the Images, |
Flash and Link dialogs. Fixed. </li> |
<li>Due to Gecko bugs, two errors were thrown when loading the editor in a hidden div. |
Workarounds have been introduced. In any case, the testcase 004 hack is needed when |
showing the editor (as in a tabbed interface). </li> |
<li>An invalid path in the dialogs CSS file has been corrected. </li> |
<li>On IE, the Undo/Redo can now be controlled using the Ctrl+Z and Ctrl+Y shortcut |
keys. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295538&group_id=75348&atid=543653">SF |
BUG-1295538</a> ] A few Undo/Redo fixes for IE have been done. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1247070&group_id=75348&atid=543653">SF |
BUG-1247070</a>] On Gecko, it is now possible to use the shortcut keys for Bold |
(CTRL+B), Italic (CTRL+I) and Underline (CTRL+U), like in IE. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274303&group_id=75348&atid=543653">SF |
BUG-1274303</a>] The "Insert Column" command is now working correctly |
on TH cells. It also copies any attribute applied to the source cells. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1287070&group_id=75348&atid=543655">SF |
Patch-1287070</a> ] In the Universal Keyboard, the Arabic keystrokes translator |
is now working with Firefox. Thanks again to Abdul-Aziz Al-Oraij. </li> |
<li>The editor now handles AJAX requests with HTTP status 304. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157780&group_id=75348&atid=543653">SF |
BUG-1157780</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229077&group_id=75348&atid=543653">SF |
BUG-1229077</a>] Weird comments are now handled correctly (ignored on some cases). |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155774&group_id=75348&atid=543653">SF |
BUG-1155774</a>] A spelling error in the Bulleted List Properties dialog has been |
corrected. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1272018&group_id=75348&atid=543653">SF |
BUG-1272018</a>] The ampersand character can now be added from the Special Chars |
dialog. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263161&group_id=75348&atid=543653">SF |
BUG-1263161</a>] A small fix has been applied to the sampleposteddata.php file. |
Thanks to Mike Wallace. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1241504&group_id=75348&atid=543653">SF |
BUG-1241504</a>] The editor now looks also for the ID of the hidden linked field. |
</li> |
<li>The caption property on tables is now working on Gecko. Thanks to Helen Somers (Goss |
Interactive Ltd). </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1297431&group_id=75348&atid=543653">SF |
BUG-1297431</a>] With IE, the editor now works locally when its files are placed |
in a directory path that contains spaces. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1279551&group_id=75348&atid=543653">SF |
BUG-1279551</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1242105&group_id=75348&atid=543653">SF |
BUG-1242105</a>] On IE, some features are dependant of ActiveX components (secure... |
distributed with IE itself). Some security setting could avoid the usage of |
those components and the editor would stop working. Now a message is shown, indicating |
the use the minimum necessary settings need by the editor to run. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1298880&group_id=75348&atid=543653">SF |
BUG-1298880</a>] Firefox can't handle the STRONG and EM tags. Those tags are now |
converted to B and I so it works accordingly. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271723&group_id=75348&atid=543653">SF |
BUG-1271723</a>] On IE, it is now possible to select the text and work correctly |
in the contents of absolute positioned/dimensioned divs. </li> |
<li>On IE, there is no need to click twice in the editor to activate the cursor |
in the editing area. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1221621&group_id=75348">SF |
BUG-1221621</a>] Many "warnings" in the Firefox console are not thrown |
anymore. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295526&group_id=75348&atid=543653">SF |
BUG-1295526</a>] While editing on "FullPage" mode the basehref is |
now active for CSS "link" tags. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1222584&group_id=75348&atid=543655">SF |
Patch-1222584</a>] A small fix to the PHP connector has been applied. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1281313&group_id=75348&atid=543655">SF |
Patch-1281313</a>] A few small changes to avoid problems with Plone. Thanks to Jean-mat. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1275911&group_id=75348&atid=543653">SF |
BUG-1275911</a>] A check for double dots sequences on directory names on creation |
has been introduced to the PHP and ASP connectors.</li> |
</ul> |
<h3> |
Version 2.0</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>The new "<strong>Flash</strong>" command is available. Now you can |
easily handle Flash content, over IE and Gecko, including server browser integration |
and context menu support. Due to limitations of the browsers, it is not possible |
to see the preview of the movie while editing, so a nice "placeholder" |
is used instead. * </li> |
<li>A "<strong>Quick Upload</strong> " option is now available in the |
link, image and flash dialog windows, so the user don't need to go (or have) the |
File Browser for this operations. The ASP and PHP uploader are included. Take |
a look at the configuration file.*** </li> |
<li>Added support for <strong>Active FoxPro Pages</strong> . Thanks to our new developer, |
Sönke Freitag. </li> |
<li>It is now possible to <strong>disable the size handles</strong> for images and tables |
(IE only feature). Take a look at the DisableImageHandles and DisableTableHandles |
configuration options. </li> |
<li>The handles on form fields (small squares around them) and the inline editing |
of its contents have been disabled. This makes it easier to users to use |
the controls. </li> |
<li>A much better support for Word pasting operations has been introduced. Now it uses |
a dialog box, in this way we have better results and more control.** </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1225372&group_id=75348&atid=543655">SF |
Patch-1225372</a>] A small change has been done to the PHP integration file. The |
generic __construct constructor has been added for better PHP 5 sub-classing compatibility |
(backward compatible). Thanks to Marcus Bointon.</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>ATTENTION: Some security changes have been made to the connectors. Now you must |
explicitly enable the connector you want to use. Please test your application before |
deploying this update. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1211591">SF |
BUG-1211591</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1204273&group_id=75348&atid=543653">SF |
BUG-1204273</a>] The connectors have been changed so it is not possible to use |
".." on directory names. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219734&group_id=75348&atid=543655">SF |
Patch-1219734</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219728&group_id=75348&atid=543653">SF |
BUG-1219728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1208654&group_id=75348&atid=543653">SF |
BUG-1208654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205442&group_id=75348&atid=543653">SF |
BUG-1205442</a>] There was an error in the page unload on some cases |
that has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1209708">SF |
BUG-1209708</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1214125">SF |
BUG-1214125</a>] The undo on IE is now working correctly when the user starts |
typing. </li> |
<li>The preview now loads "Full Page" editing correctly. It also uses the |
same XHTML code produced by the final output. </li> |
<li>The "Templates" dialog was not working on some very specific (and strange) |
occasions over IE. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1199631&group_id=75348">SF |
BUG-1199631</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171944&group_id=75348&atid=543653">SF |
BUG-1171944</a>] A new option is available to avoid a bad IE behavior that shows |
the horizontal scrollbar even when not needed. You can now force the vertical scrollbar |
to be always visible. Just set the "IEForceVScroll" configuration option |
to "true". Thanks to Grant Bartlett. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212026&group_id=75348&atid=543655">SF |
Patch-1212026</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1228860&group_id=75348&atid=543653">SF |
BUG-1228860</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1211775&group_id=75348&atid=543653">SF |
BUG-1211775</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1199824">SF |
BUG-1199824</a>] An error in the Packager has been corrected. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1163669">SF |
BUG-1163669</a>] The XHTML processor now adds a space before the closing slash of |
tags that don't have a closing tag, like <br />. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1213733&group_id=75348&atid=543653">SF |
BUG-1213733</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1216866&group_id=75348&atid=543653">SF |
BUG-1216866</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1209673&group_id=75348&atid=543653">SF |
BUG-1209673</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155454&group_id=75348&atid=543653">SF |
BUG-1155454</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1187936&group_id=75348&atid=543653">SF |
BUG-1187936</a> ] Now, on Gecko, the source is opened in a |
dialog window to avoid fatal errors (Gecko bugs). </li> |
<li>Some pages have been changed to avoid importing errors on Plone. Thanks to Arthur |
Kalmenson. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171606&group_id=75348&atid=543653">SF |
BUG-1171606</a>] There is a bug on IE that makes the editor to not work if |
the instance name matches a meta tag name. Fixed. </li> |
<li>On Firefox, the source code is now opened in a dialog box, to avoid error on pages |
with more than one editor. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225703&group_id=75348&atid=543655">SF |
Patch-1225703</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1214941&group_id=75348&atid=543653">SF |
BUG-1214941</a>] The "ForcePasteAsPlainText" configuration option |
is now working correctly on Gecko browsers. Thanks to Manuel Polo. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228836&group_id=75348&atid=543653">SF |
BUG-1228836</a>] The "Show Table Borders" feature is now working on Gecko |
browsers. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212529&group_id=75348&atid=543655">SF |
Patch-1212529</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212517&group_id=75348&atid=543653">SF |
BUG-1212517</a>] The default File Browser now accepts connectors with querystring |
parameters (with "?"). Thanks to Tomas Jucius. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1233318&group_id=75348&atid=543653">SF |
BUG-1233318</a>] A JavaScript error thrown when using the Print command has been |
fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229696&group_id=75348&atid=543653">SF |
BUG-1229696</a>] A regular expression has been escaped to avoid problems when opening |
the code in some editors. It has been moved to a dialog window. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1231978&group_id=75348&atid=543653">SF |
BUG-1231978</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228939&group_id=75348&atid=543653">SF |
BUG-1228939</a>] The Preview window is now using the Content Type and Base href. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF |
BUG-1232056</a>] The anchor icon is now working correctly on IE. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF |
BUG-1202468</a>] The anchor icon is now available on Gecko too. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236279&group_id=75348&atid=543653">SF |
BUG-1236279</a>] A security warning has been corrected when using the File Browser |
over HTTPS. </li> |
<li>The ASP implementation now avoid errors when setting the editor value to null values. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237359&group_id=75348&atid=543653">SF |
BUG-1237359</a>] The trailing <BR> added by Gecko at the end of the source |
is now removed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1170828">SF |
BUG-1170828</a>] No more &nbsp; is added to the source when using the "New |
Page" button. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1165264&group_id=75348&atid=543653">SF |
BUG-1165264</a>] A new configuration option has been included to force the |
editor to ignore empty paragraph values (<p>&nbsp;</p>), returning |
empty (""). </li> |
<li>No more &nbsp; is added when creating a table or adding columns, rows or cells. |
</li> |
<li>The <TD> tags are now included in the FillEmptyBlocks configuration handling. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1224829&group_id=75348&atid=543653">SF |
BUG-1224829</a>] A small bug in the "Find" dialog has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221307&group_id=75348&atid=543653">SF |
BUG-1221307</a>] A small bug in the "Image" dialog has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219981&group_id=75348&atid=543653">SF |
BUG-1219981</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155726&group_id=75348&atid=543653">SF |
BUG-1155726</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1178473&group_id=75348&atid=543653">SF |
BUG-1178473</a>] It is handling the <FORM>, <TEXTAREA> and <SELECT> |
tags "name" attribute correctly. Thanks to thc33. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205403&group_id=75348&atid=543653">SF |
BUG-1205403</a>] The checkbox and radio button values are now handled correctly |
in their dialog windows. Thanks to thc33. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236626&group_id=75348&atid=543653">SF |
BUG-1236626</a>] The toolbar now doesn't need to collapse when unloading the page |
(IE only). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212559&group_id=75348&atid=543653">SF |
BUG-1212559</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1017231&group_id=75348&atid=543653">SF |
BUG-1017231</a>] The "Save" button now calls the "onsubmit" |
event before posting the form. The submit can be cancelled if the onsubmit returns |
"false". </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1215823&group_id=75348&atid=543653">SF |
BUG-1215823</a>] The editor now works correctly on Firefox if it values is set to |
"<p></p>". </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1217546&group_id=75348&atid=543653">SF |
BUG-1217546</a>] No error is thrown when "pasting as plain text" and no |
text is available for pasting (as an image for example). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1207031&group_id=75348&atid=543653">SF |
BUG-1207031</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1223978">SF |
BUG-1223978</a>] The context menu is now available in the source view. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1213871">SF |
BUG-1213871</a>] Undo has been added to table creation and table operation commands. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205211&group_id=75348&atid=543653">SF |
BUG-1205211</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229941&group_id=75348&atid=543653">SF |
BUG-1229941</a>] Small bug in the mcpuk file browser have been corrected.</li> |
</ul> |
<p> |
* This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/"> |
Infineon Technologies AG</a>.<br /> |
** This version has been partially sponsored by <a href="http://www.visualsoft.co.uk"> |
Visualsoft</a> <a href="http://www.visualsoft.co.uk/websolutions.html">Web Solutions</a>.<br /> |
*** This version has been partially sponsored by <a target="_blank" href="http://www.webcrossing.com"> |
Web Crossing, Inc</a>.</p> |
<h3> |
Version 2.0 FC (Final Candidate)</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>A new tab called "<strong>Link</strong>" is available in the<strong> Image |
Dialog</strong> window. In this way you can insert or modify the image link directly |
from that dialog.* </li> |
<li>The new "<strong>Templates</strong>" command is now available. Now the |
user can select from a list of pre-build HTML and fill the editor with it. Take |
a look at the "_docs" for more info.** </li> |
<li>The <a target="_blank" href="http://mcpuk.net/fbxp/">mcpuk's</a> File Browser for |
PHP has been included in the package. He became the official developer of the File |
Manager for FCKeditor, so we can expect good news in the future. </li> |
<li>New configuration options are available to <strong>hide tabs</strong> from the <strong> |
Image</strong> Dialog and <strong>Link</strong> Dialog windows: LinkDlgHideTarget, |
LinkDlgHideAdvanced, ImageDlgHideLink and ImageDlgHideAdvanced. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1189442&group_id=75348&atid=543653">SF |
BUG-1189442</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1187164&group_id=75348&atid=543653">SF |
BUG-1187164</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185905&group_id=75348&atid=543653">SF |
BUG-1185905</a>] It is now possible to configure the editor to <strong>not convert Greek</strong> |
or special <strong>Latin </strong>letters to ther specific HTML entities. You |
can also configure it to not convert any character at all. Take a look at the "ProcessHTMLEntities", |
"IncludeLatinEntities" and "IncludeGreekEntities" configuration |
options. </li> |
<li>New language files are available: |
<ul> |
<li><strong>Basque</strong> (by Ibon Igartua) </li> |
<li><strong>English (Australia / United Kingdom)</strong> (by Christopher Dawes) </li> |
<li><strong>Ukrainian</strong> (by Alexander Pervak)</li> |
</ul> |
</li> |
<li>The version and date information have been removed from the files headers to avoid |
unecessary diffs in source control systems when new versions are released (from |
now on). </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1159854&group_id=75348&atid=543655">SF |
Patch-1159854</a>] Ther HTML output rendered by the server side integration files |
are now XHTML compatible. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181823&group_id=75348&atid=543653">SF |
BUG-1181823</a>] It is now possible to set the desired DOCTYPE to use when edit |
HTML fragments (not in Full Page mode). </li> |
<li>There is now an optional way to implement different "mouse over" effects |
to the buttons when they are "on" of "off".</li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162200&group_id=75348&atid=543653">SF |
BUG-1162200</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161633&group_id=75348&atid=543653">SF |
BUG-1161633</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050293&group_id=75348&atid=543653">SF |
BUG-1050293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1058948&group_id=75348&atid=543653">SF |
BUG-1058948</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1109120&group_id=75348&atid=543653">SF |
BUG-1109120</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155408&group_id=75348&atid=543653">SF |
BUG-1155408</a>] The IE memory leak bug has been solved. The |
code has been completely reviewed and many memory usage improvements have been done. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1179645&group_id=75348&atid=543653">SF |
BUG-1179645</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1183252&group_id=75348&atid=543653">SF |
BUG-1183252</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF |
BUG-1181647</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155627&group_id=75348&atid=543653">SF |
BUG-1155627</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155782&group_id=75348&atid=543653">SF |
BUG-1155782</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155750&group_id=75348&atid=543653">SF |
BUG-1155750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157166&group_id=75348&atid=543653">SF |
BUG-1157166</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157857&group_id=75348&atid=543653">SF |
BUG-1157857</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158121&group_id=75348&atid=543653">SF |
BUG-1158121</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1177153&group_id=75348&atid=543653">SF |
BUG-1177153</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1175847&group_id=75348&atid=543653">SF |
BUG-1175847</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155747&group_id=75348&atid=543653">SF |
BUG-1155747</a>] There was a loading |
problem in Gecko browsers in some cases. It has been solved. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161147&group_id=75348&atid=543653">SF |
BUG-1161147</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157635&group_id=75348&atid=543653">SF |
BUG-1157635</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149805&group_id=75348&atid=543653">SF |
BUG-1149805</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124600&group_id=75348&atid=543653">SF |
BUG-1124600</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1117535&group_id=75348&atid=543653">SF |
BUG-1117535</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118145&group_id=75348&atid=543653">SF |
BUG-1118145</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098113&group_id=75348&atid=543653">SF |
BUG-1098113</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092272&group_id=75348&atid=543653">SF |
BUG-1092272</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086416&group_id=75348&atid=543653">SF |
BUG-1086416</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027952&group_id=75348&atid=543653">SF |
BUG-1027952</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=978441&group_id=75348&atid=543653">SF |
BUG-978441</a> ] A custom Undo/Redo system |
has been implemented for IE. </li> |
<li>The editor startup execution is now made in the right order (so configurations override |
works correctly). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF |
BUG-1166779</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166651&group_id=75348&atid=543653">SF |
BUG-1166651</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066198&group_id=75348&atid=543653">SF |
BUG-1066198</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090388&group_id=75348&atid=543653">SF |
BUG-1090388</a> ] No more "illegible" characters in the |
toolbar when "ClearType" is active. </li> |
<li>It is now possible to set the "width" style of the BODY tag in the EditorAreaCSS |
to limit the editing area size. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1113620&group_id=75348&atid=543653">SF |
BUG-1113620</a>] In IE, the editor doesn't generate new entries in the browser history |
anymore. </li> |
<li>The editor now uses the same method used on version RC2 to load its contents on |
Gecko. It is now possible to have more than one editor in the page. This change |
has a negative impact: the BaseHref property is not working. </li> |
<li>Changes have been made to make the editor work with PHP versions older than 2.1.0. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1190835&group_id=75348&atid=543653">SF |
BUG-1190835</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1196547&group_id=75348">SF |
BUG-1196547</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156863&group_id=75348&atid=543653">SF |
BUG-1156863</a>] The "Insert Horizontal Line" command is now working |
correctly. Thanks to Hector Raul Colonia Coral. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101861&group_id=75348&atid=543653">SF |
BUG-1101861</a>] The editor now shows a normal textarea correctly (as expected) |
on Safari browsers (and all "like Gecko" browsers). Thanks to Bob Paul. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1182224&group_id=75348&atid=543653">SF |
BUG-1182224</a>] The PHP connector can now handle file extensions in upper case, like |
JPG or Gif, correctly. Thanks to Georg Ivancsic. </li> |
<li>The "sample06.html" is now working correctly with Gecko browsers. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156660&group_id=75348&atid=543653">SF |
BUG-1156660</a>] Some fixes have been applied to the Universal Keyboard. Thanks |
to Abdul-Aziz Al-Oraij. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1192881&group_id=75348&atid=543653">SF |
BUG-1192881</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185006&group_id=75348&atid=543653">SF |
BUG-1185006</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156068&group_id=75348&atid=543653">SF |
BUG-1156068</a>] The "Browse Server" button is now working correctly |
for the Background Image in the "Document Properties" dialog window (full |
page editing). The active "BaseHref" is also set to the preview window. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1191704&group_id=75348&atid=543653">SF |
BUG-1191704</a>] Invalid HTML tags (according to the W3C naming standards for XHTML) |
are ignored with no errors. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185911&group_id=75348&atid=543653">SF |
BUG-1185911</a>] The Greek language file name has been corrected to "el.js". |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF |
BUG-1181572</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158421&group_id=75348&atid=543653">SF |
BUG-1158421</a>] The "Print" button is now active on startup. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF |
BUG-1165219</a>] No error occours when the user defines just one color to the FontColors |
on "in page" configurations. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162957&group_id=75348&atid=543653">SF |
BUG-1162957</a>] The small problem with Zope (ZPT) has been solved. </li> |
<li>Some small RTL / LTR corrections has been done in the interface and the Farsi language |
has been added to the Universal Keyboard. Thanks to Silver Baghdasarian.</li> |
</ul> |
<p> |
* This version has been partially sponsored by the <a href="http://www.hamilton.edu"> |
Hamilton College</a>.<br /> |
** This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/"> |
Infineon Technologies AG</a>.</p> |
<h3> |
Version 2.0 RC3 (Release Candidate 3)</h3> |
<p> |
New Features and Improvements:</p> |
<ul> |
<li>The editor now offers native <strong>Perl integration</strong>! Thanks and welcome |
to Takashi Yamaguchi, our official Perl developer. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026584&group_id=75348&atid=543656">SF |
Feature-1026584</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1112692&group_id=75348&atid=543656">SF |
Feature-1112692</a>] <strong>Formatting </strong>has been introduced to the |
<strong>Source View</strong>. The output HTML can also be formatted. You can choose |
to use spaces or tab for indentation. See the configuration file. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1031492&group_id=75348&atid=543656">SF |
Feature-1031492</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004293&group_id=75348&atid=543656">SF |
Feature-1004293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=784281&group_id=75348&atid=543656">SF |
Feature-784281</a>] It is now possible to edit <strong>full HTML pages</strong> |
with the editor. Use the "FullPage" configuration setting to activate |
it. </li> |
<li>The new toolbar command, "<strong>Document Properties</strong>" is |
available to edit document header info, title, colors, background, etc... Full page |
editing must be enabled. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151448&group_id=75348&atid=543656">SF |
Feature-1151448</a>] <strong>Spell Check</strong> is now available. You can use |
<strong>ieSpell</strong> or <strong>Speller Pages</strong> right from FCKeditor. |
More info about configuration can be found in the _docs folder. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041686&group_id=75348&atid=543656">SF |
Feature-1041686</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086386&group_id=75348&atid=543656">SF |
Feature-1086386</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124602&group_id=75348&atid=543656">SF |
Feature-1124602</a>] New "<strong>Insert Anchor</strong>" command |
has been introduced. (The anchor icon is visible only over IE for now). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1123816&group_id=75348&atid=543656">SF |
Feature-1123816</a>] It is now possible to configure the editor to <strong>show "fake" |
table borders</strong> when the border size is set to zero. (It is working only |
on IE for now). </li> |
<li><strong>Numbered</strong> and <strong>Bulleted</strong> lists can now be <strong> |
configured</strong> . Just right click on then. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088608&group_id=75348&atid=543656">SF |
Feature-1088608</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1144047&group_id=75348&atid=543656">SF |
Feature-1144047</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149808&group_id=75348&atid=543656">SF |
Feature-1149808</a>] A new configuration setting is available, "<strong>BaseHref</strong> |
", to set the URL used to resolve relative links. </li> |
<li>It is now possible to set the <strong>content language direction</strong> . |
See the "FCKConfig.ContentLangDirection" configurations setting. </li> |
<li>All <strong>Field Commands</strong> available on version 1.6 have been upgraded |
and included in this version: <strong>form</strong>, <strong>checkbox</strong>, |
<strong>radio button</strong>, <strong>text field</strong>, text <strong>area</strong>, |
<strong>select field</strong>, <strong>button</strong>, <strong>image button</strong> |
and <strong>hidden field</strong> . </li> |
<li><strong>Context menu</strong> options (right-click) has been added for: <strong> |
anchors</strong>, <strong>select field</strong>, <strong>textarea</strong>, <strong> |
checkbox</strong>, <strong>radio button</strong>, <strong>text field</strong>, |
<strong>hidden field</strong>, <strong>textarea</strong>, <strong>button</strong>, |
<strong>image button</strong>, <strong>form</strong>, <strong>bulleted list</strong> |
and <strong>numbered list</strong> . </li> |
<li>The "<strong>Universal Keyboard</strong>" has been converted from version |
1.6 to this one and it's now available. </li> |
<li>It is now possible to <strong>configure</strong> the items to be shown in the <strong> |
context menu</strong> . Just use the FCKConfig.ContextMenu option at fckconfig.js. |
</li> |
<li>A new configuration (FillEmptyBlocks) is available to force the editor to <strong> |
automatically insert a &nbsp;</strong> on empty block elements (p, div, pre, |
h1, etc...) to avoid differences from the editing and the final result. (Actually, |
the editor automatically "grows" empty elements to make the user able |
to enter text on it). Attention: the extra &nbsp; will be added when switching |
from WYSIWYG to Source View, so the user may see an additional space on empty blocks. |
(XHTML support must be enabled). </li> |
<li>It is now possible to configure the <strong>toolbar</strong> to "<strong>break</strong> |
" between two toolbar strips. Just insert a "/" between then. Take |
a look at fckconfig.js for a sample. </li> |
<li>New Language files are available: |
<ul> |
<li><strong>Brazilian Portuguese</strong> (by Carlos Alberto Tomatis Loth) </li> |
<li><strong>Bulgarian</strong> (by Miroslav Ivanov) </li> |
<li><strong>Esperanto</strong> (by Tim Morley) </li> |
<li><strong>Galician</strong> (by Fernando Riveiro Lopez) </li> |
<li><strong>Japanese</strong> ( by Takashi Yamaguchi) </li> |
<li><strong>Persian</strong> (by Hamed Taj-Abadi) </li> |
<li><strong>Romanian</strong> (by Adrian Nicoara) </li> |
<li><strong>Slovak</strong> (by Gabriel Kiss) </li> |
<li><strong>Thai </strong>(by Audy Charin Arsakit) </li> |
<li><strong>Turkish</strong> (by Reha Biçer) </li> |
<li>The Chinese Traditional has been set as the default (zn) instead of zn-tw.</li> |
</ul> |
</li> |
<li>Warning: All toolbar image images have been changed. The "button." prefix |
has been removed. If you have your custom skin, please rename your files. </li> |
<li>A new plugin is available in the package: "<strong>Placeholders</strong>". |
In this way you can insert non editable tags in your document to be processed on |
server side (very specific usage). </li> |
<li>The ASPX files are no longer available in this package. They have been moved to |
the FCKeditor.Net package. In this way the ASP.Net integration is much better organized. |
</li> |
<li>The FCKeditor.Packager program is now part of the main package. It is not anymore distributed |
separately. </li> |
<li>The PHP connector now sets the uploaded file permissions (chmod) to 0777. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090215&group_id=75348&atid=543655">SF |
Patch-1090215</a>] It's now possible to give back more info from your custom image |
browser calling the SetUrl( url [, width] [, height] [, alt] ). Thanks to Ben Noblet. |
</li> |
<li>The package files now maintain their original "Last Modified" date, so |
incremental FTP uploads can be used to update to new versions of the editor |
(from now on). </li> |
<li>The "Source" view now forces its contents to be written in "Left |
to Right" direction even when the editor interface language is running a RTL |
language (like Arabic, Hebrew or Persian). </li> |
</ul> |
<p> |
Fixed Bugs:</p> |
<ul> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124220&group_id=75348&atid=543653">SF |
BUG-1124220</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1119894&group_id=75348&atid=543653">SF |
BUG-1119894</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090986&group_id=75348&atid=543653">SF |
BUG-1090986</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100408&group_id=75348&atid=543653">SF |
BUG-1100408</a>] The editor now works correctly when starting with an |
empty value and switching to the Source mode. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1119380&group_id=75348&atid=543653">SF |
BUG-1119380</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1115750&group_id=75348&atid=543653">SF |
BUG-1115750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101808&group_id=75348&atid=543653">SF |
BUG-1101808</a>] The problem with the scrollbar and the toolbar combos (Style, |
Font, etc...) over Mac has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098460&group_id=75348&atid=543653">SF |
BUG-1098460</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076544&group_id=75348&atid=543653">SF |
BUG-1076544</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077845&group_id=75348&atid=543653">SF |
BUG-1077845</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092395&group_id=75348&atid=543653">SF |
BUG-1092395</a>] A new upload class has been included for the ASP File |
Manager Connector. It uses the "ADODB.Stream" object. Many thanks to "NetRube". |
</li> |
<li>I small correction has been made to the ColdFusion integration files. Thanks to |
Hendrik Kramer. </li> |
<li>There was a very specific problem when the editor was running over a FRAME executed |
on another domain. </li> |
<li>The performance problem on Gecko while typing quickly has been solved. </li> |
<li>The <br type= "_moz">is not anymore shown on XHTML source. </li> |
<li>It has been introduced a mechanism to avoid automatic contents duplication on very |
specific occasions (bad formatted HTML). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146407&group_id=75348&atid=543653">SF |
BUG-1146407</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1145800&group_id=75348&atid=543653">SF |
BUG-1145800</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118803&group_id=75348&atid=543653">SF |
BUG-1118803</a> ] Other issues in the XHTML processor have been solved. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1143969&group_id=75348&atid=543653">SF |
BUG-1143969</a>] The editor now accepts the "accept-charset" attribute |
in the FORM tag (IE specific bug). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1122742&group_id=75348&atid=543653">SF |
BUG-1122742</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089548&group_id=75348&atid=543653">SF |
BUG-1089548</a> ] Now, the contents of the SCRIPT and STYLE tags remain untouched. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1114748&group_id=75348&atid=543653">SF |
BUG-1114748</a>] The PHP File Manager Connector now sets the new folders permissions |
(chmod) to 0777 correctly. </li> |
<li>The PHP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/php/config.php) |
to set some security preferences. </li> |
<li>The ASP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/asp/config.asp) |
to set some security preferences. </li> |
<li>A small bug in the toolbar rendering (strips auto position) has been corrected. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093732&group_id=75348&atid=543653">SF |
BUG-1093732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1091377&group_id=75348&atid=543653">SF |
BUG-1091377</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083044&group_id=75348&atid=543653">SF |
BUG-1083044</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1096307&group_id=75348&atid=543653">SF |
BUG-1096307</a>] The configurations are now encoded so a user can use |
values that has special chars (&=/). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1103688&group_id=75348&atid=543653">SF |
BUG-1103688</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092331&group_id=75348&atid=543653">SF |
BUG-1092331</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088220&group_id=75348&atid=543653">SF |
BUG-1088220</a>] PHP samples now use PHP_SELF to automatically discover |
the editor's base path. </li> |
<li>Some small wrapping problems with some labels in the Image and Table dialog windows |
have been fixed. </li> |
<li>All .js files are now encoded in UTF-8 format with the BOM (byte order mask) to |
avoid some errors on specific Linux installations. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114449&group_id=75348&atid=543653">SF |
BUG-1114449</a>] The editor packager program has been modified so now it is possible |
to use the source files to run the editor as described in the documentation. The |
new packager must be downloaded. </li> |
<li>A small problem with the editor focus while in source mode has been corrected. |
Thanks to Eric (ric1607). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1108167&group_id=75348&atid=543653">SF |
BUG-1108167</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085149&group_id=75348&atid=543653">SF |
BUG-1085149</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151296&group_id=75348&atid=543653">SF |
BUG-1151296</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082433&group_id=75348&atid=543653">SF |
BUG-1082433</a>] No more IFRAMEs without src attribute. Now it points |
to a blank page located in the editor's package. In this way we avoid security warnings |
when using the editor over HTTPS. Thanks to Guillermo Bozovich. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1117779&group_id=75348&atid=543653">SF |
BUG-1117779</a>] The editor now works well if you have more than one element named |
"submit" on its form (even if it is not correct to have this situation). |
</li> |
<li>The XHTML processor was duplicating the text on some specific situation. It has |
been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090213&group_id=75348&atid=543655">SF |
Patch-1090213</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098929&group_id=75348&atid=543653">SF |
Patch-1098929</a>] With ASP, the editor now works correctly on pages using "Option |
Explicit". Thanks to Ben Noblet. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100759&group_id=75348&atid=543653">SF |
BUG-1100759</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029125&group_id=75348&atid=543653">SF |
BUG-1029125</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=966130&group_id=75348&atid=543653">SF |
BUG-966130</a>] The editor was not working with old IE 5.5 browsers. There |
was a problem with the XML parser. It has been fixed. </li> |
<li>The localization engine is now working correctly over IE 5.5 browsers. </li> |
<li>Some commands where not working well over IE 5.5 (emoticons, image,...). It has |
been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146441&group_id=75348&atid=543653">SF |
BUG-1146441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149777&group_id=75348&atid=543653">SF |
BUG-1149777</a>] The editor now uses the TEXTAREA id in the ReplaceTextarea |
function. If the id is now found, it uses the "name". The docs have been |
updated. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1144297&group_id=75348&atid=543653">SF |
BUG-1144297</a>] Some corrections have been made to the Dutch language file. Thanks |
to Erwin Dondorp. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1121365&group_id=75348&atid=543653">SF |
BUG-1121365</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090102&group_id=75348&atid=543653">SF |
BUG-1090102</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152171&group_id=75348&atid=543653">SF |
BUG-1152171</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102907&group_id=75348&atid=543653">SF |
BUG-1102907</a>] There is no problem now to start the editor with values |
like "<div></div>" or "<p></p>". </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114059&group_id=75348&atid=543653">SF |
BUG-1114059</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041861&group_id=75348&atid=543653">SF |
BUG-1041861</a>] The click on the disabled options in the Context Menu has no |
effects now. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152617&group_id=75348&atid=543653">SF |
BUG-1152617</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102441&group_id=75348&atid=543653">SF |
BUG-1102441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1095312&group_id=75348&atid=543653">SF |
BUG-1095312</a>] Some problems when setting the editor source to very specific |
values has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093514&group_id=75348&atid=543653">SF |
BUG-1093514</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089204&group_id=75348&atid=543653">SF |
BUG-1089204</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077609&group_id=75348&atid=543653">SF |
BUG-1077609</a>] The editor now runs correctly if called directly (locally) without |
a server installation (just opening the HTML sample files). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088248&group_id=75348&atid=543653">SF |
BUG-1088248</a>] The editor now uses a different method to load its contents. In |
this way the URLs remain untouched. </li> |
<li>The PHP integration file now detects Internet Explorer 5.5 correctly.</li> |
</ul> |
<h3> |
Version 2.0 RC2 (Release Candidate 2)</h3> |
<ul> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF |
Feature-1042034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075961&group_id=75348&atid=543656">SF |
Feature-1075961</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083200&group_id=75348&atid=543656">SF |
Feature-1083200</a>] A new dialog window for the <strong>table cell properties</strong> |
is now available (right-click). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF |
Feature-1042034</a>] The new "<strong>Split Cell</strong> ", to split |
a table cell in two columns, has been introduced (right-click). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF |
Feature-1042034</a>] The new "<strong>Merge Cells</strong>", to merge |
table cells (in the same row), has been introduced (right-click). </li> |
<li>The "fake" <strong>TAB key support</strong> (available by default over |
Gecko browsers is now available over IE too. You can set the number of spaces to |
add setting the FCKConfig.TabSpaces configuration setting. Set it to 0 (zero) to |
disable this feature (IE). </li> |
<li>It now possible to tell IE to send a <strong><BR></strong> when the user presses |
the <strong>Enter key</strong>. Take a look at the FCKConfig.UseBROnCarriageReturn |
configuration setting. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085422&group_id=75348&atid=543656">SF |
Feature-1085422</a>] <strong>ColdFusion</strong>: The <strong>File Manager connector</strong> |
is now available! (Thanks to Hendrik Kramer). </li> |
<li>The editor is now available in <strong>29 languages!</strong> The new language files |
available are: |
<ul> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1067775&group_id=75348&atid=543656">SF |
Feature-1067775</a>] <strong>Chinese Simplified and Traditional</strong> (Taiwan |
and Hong Kong) (by NetRube). </li> |
<li><strong>Czech</strong> (by David Horák). </li> |
<li><strong>Danish</strong> (by Jesper Michelsen). </li> |
<li><strong>Dutch</strong> (by Bram Crins). </li> |
<li><strong>German</strong> (by Maik Unruh). </li> |
<li><strong>Portuguese</strong> (Portugal) (by Francisco Pereira). </li> |
<li><strong>Russian</strong> (by Andrey Grebnev). </li> |
<li><strong>Slovenian</strong> (by Boris Volaric).</li> |
</ul> |
</li> |
<li>Updates to the <strong>French</strong> language files (by Hubert Garrido). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085816&group_id=75348&atid=543653">SF |
BUG-1085816</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083743&group_id=75348&atid=543653">SF |
BUG-1083743</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078783&group_id=75348&atid=543653">SF |
BUG-1078783</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF |
BUG-1077861</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF |
BUG-1037404</a>] Many small bugs in the XHTML processor |
has been corrected (workarounds to browser specific bugs). These are some things |
to consider regarding the changes: |
<ul> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083744&group_id=75348&atid=543653">SF |
BUG-1083744</a>] On Gecko browsers, any element attribute that the name starts with |
"_moz" will be ignored. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1060073&group_id=75348&atid=543653">SF |
BUG-1060073</a>] The <STYLE> and <SCRIPT> elements contents will be |
handled as is, without CDATA tag surrounding. This may break XHTML validation. In |
any case the use of external files for scripts and styles is recommended (W3C recommendation).</li> |
</ul> |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088310&group_id=75348&atid=543653">SF |
BUG-1088310</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078837&group_id=75348&atid=543653">SF |
BUG-1078837</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF |
BUG-999792</a>] URLs now remain untouched when initializing the editor or |
switching from WYSYWYG to Source and vice versa. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082323&group_id=75348&atid=543653">SF |
BUG-1082323</a>] The problem in the ASP and PHP connectors when handling non |
"strange" chars in file names has been corrected. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085034&group_id=75348&atid=543653">SF |
BUG-1085034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076796&group_id=75348&atid=543653">SF |
BUG-1076796</a>] Some bugs in the PHP connector have been corrected. </li> |
<li>A problem with the "Format" command on IE browsers on languages different |
of English has been solved. The negative side of this correction is that due to |
a IE bad design it is not possible to update the "Format" combo while |
moving throw the text (context sensitive). </li> |
<li>On Gecko browsers, when selecting an image and executing the "New Page" |
command, the image handles still appear, even if the image is not available anymore |
(this is a Gecko bug). When clicking in a "phanton" randle, the browser |
crashes. It doesn't happen (the crash) anymore. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082197&group_id=75348&atid=543653">SF |
BUG-1082197</a>] On ASP, the bug in the browser detection system for Gecko browsers |
has been corrected. Thanks to Alex Varga. </li> |
<li>Again on ASP, the browser detection for IE had some problems on servers that use |
comma for decimal separators on numbers. It has been corrected. Thanks to Agrotic. |
</li> |
<li>No error is thrown now when non existing language is configured in the |
editor. The English language file is loaded in that case. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077747&group_id=75348&atid=543653">SF |
BUG-1077747</a>] The missing images on the Office2003 and Silver skins are now included |
in the package. </li> |
<li>On some Gecko browsers, the dialog window was not loading correctly. I couldn't |
reproduce the problem, but a fix has been applied based on users tests. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004078&group_id=75348&atid=543653">SF |
BUG-1004078</a>] ColdFusion: The "config" structure/hash table with keys |
and values is in ColdFusion not(!) case sensitive. All keys returned by ColdFusion |
are in upper case format. Because the FCKeditor configuration keys must be case |
sensitive, we had to match all structure/hash keys with a list of the correct configuration |
names in mixed case. This has been added to the fckeditor.cfc and fckeditor.cfm. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075166&group_id=75348&atid=543653">SF |
BUG-1075166</a>] ColdFusion: The "fallback" variant of the texteditor |
(<textarea>) has a bug in the fckeditor.cfm. This has been fixed. </li> |
<li>A typo in the Polish language file has been corrected. Thanks to Pawel Tomicki. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086370&group_id=75348&atid=543653">SF |
BUG-1086370</a>] A small coding type in the Link dialog window has been corrected. |
</li> |
</ul> |
<h3> |
Version 2.0 RC1 (Release Candidate 1)</h3> |
<ul> |
<li><strong>ASP</strong> support is now available (including the File Manager connector). |
</li> |
<li><strong>PHP</strong> support is now available (including the File Manager connector). |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1063217&group_id=75348&atid=543656">SF |
Feature-1063217</a>] The new advanced <strong>Style</strong> command is available |
in the toolbar: full preview, context sensitive, style definitions are loaded from |
a XML file (see documentation for more instructions). </li> |
<li>The <strong>Font Format</strong>, <strong>Font Name</strong> and <strong>Font Size</strong> |
toolbar command now show a <strong>preview</strong> of the available options. </li> |
<li>The new <strong>Find</strong> and <strong>Replace</strong> features has been introduced. |
</li> |
<li>A new <strong>Plug-in</strong> system has been developed. Now it is quite easy to |
customize the editor to your needs. (Take a look at the html/sample06.html file). |
</li> |
<li>The editor now handles <strong>HTML entities</strong> in the right way (XHTML support |
must be set to "true"). It handles all entities defined in the W3C XHTML |
DTD file. </li> |
<li>A new "_docs" folder has been introduced for the <strong>documentation</strong>. |
It is not yet complete, but I hope the community will help us to fill it better. |
</li> |
<li>It is now possible (even if it is not recommended by the W3C) to force the use of |
simple ampersands (&) on attributes (like the links href) instead of its entity |
&amp;. Just set FCKConfig.ForceSimpleAmpersand = true in the configuration |
file. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026866&group_id=75348&atid=543656">SF |
Feature-1026866</a>] The "<strong>EditorAreaCSS</strong>" configuration |
option has been introduced. In this way you can set the CSS to use in the editor |
(editable area). </li> |
<li>The editing area is not anymore clipped if the toolbar is too large and exceeds |
the window width. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064902&group_id=75348&atid=543653">SF |
BUG-1064902</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033933&group_id=75348&atid=543653">SF |
BUG-1033933</a>] The editor <strong>interface</strong> is now completely <strong>localizable</strong>. |
The version ships with 19 languages including: <b>Arabic</b>, <b>Bosnian</b>, <b>Catalan</b>, |
<b>English</b>, <b>Spanish</b>, <b>Estonian</b>, <b>Finnish</b>, <b>French</b>, |
<b>Greek</b>, <b>Hebrew</b>, <b>Croatian</b>, <b>Italian</b>, <b>Korean</b>, <b>Lithuanian</b>, |
<b>Norwegian</b>, <strong>Polish</strong>, <strong>Serbian (Cyrillic)</strong>, |
<strong>Serbian (Latin)</strong> and <strong>Swedish</strong>.</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027858&group_id=75348&atid=543653">SF |
BUG-1027858</a>] Firefox 1.0 PR introduced a bug that made the editor |
stop working on it. A workaround has been developed to fix the problem. </li> |
<li>There was a positioning problem over IE with the color panel. It has been corrected. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049842&group_id=75348&atid=543653">SF |
BUG-1049842</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033832&group_id=75348&atid=543653">SF |
BUG-1033832</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028623&group_id=75348&atid=543653">SF |
BUG-1028623</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026610&group_id=75348&atid=543653">SF |
BUG-1026610</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064498&group_id=75348&atid=543653">SF |
BUG-1064498</a>] The combo commands in the toolbar were not opening |
in the right way. It has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1053399&group_id=75348&atid=543653">SF |
BUG-1053399</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965318&group_id=75348&atid=543653">SF |
BUG-965318</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018296&group_id=75348&atid=543653">SF |
BUG-1018296</a>] The toolbar buttons icons were not showing on some IE and |
Firefox/Mac installations. It has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054621&group_id=75348&atid=543653">SF |
BUG-1054621</a>] Color pickers are now working with the "office2003" and |
"silver" skins. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054108&group_id=75348&atid=543653">SF |
BUG-1054108</a>] IE doesn’t recognize the "&apos;" entity for |
apostrophes, so a workaround has been developed to replace it with "&#39;" |
(its numeric entity representation). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983434&group_id=75348&atid=543653">SF |
BUG-983434</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983398&group_id=75348&atid=543653">SF |
BUG-983398</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028103&group_id=75348&atid=543653">SF |
BUG-1028103</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1072496&group_id=75348&atid=543653">SF |
BUG-1072496</a>] The problem with elements with name "submit" |
inside the editor's form has been solved. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018743&group_id=75348&atid=543653">SF |
BUG-1018743</a>] The problem with Gecko when collapsing the toolbar while in source |
mode has been fixed. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1065268&group_id=75348">SF |
BUG-1065268</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034354&group_id=75348&atid=543653">SF |
BUG-1034354</a>] The XHTML processor now doesn’t use the minimized tag |
syntax (like <br/>) for empty elements that are not marked as EMPTY in the |
W3C XHTML DTD specifications. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029654&group_id=75348&atid=543653">SF |
BUG-1029654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046500&group_id=75348&atid=543653">SF |
BUG-1046500</a>] Due to a bug on Gecko there was a problem when creating links. |
It has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1065973&group_id=75348&atid=543653">SF |
BUG-1065973</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF |
BUG-999792</a>] The editor now handles relative URLs in IE. In effect IE transform |
all relative URLs to absolute links, pointing to the site the editor is running. |
So now the editor removes the protocol and host part of the link if it matches the |
running server. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1071824&group_id=75348&atid=543653">SF |
BUG-1071824</a>] The color dialog box bug has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052856&group_id=75348&atid=543653">SF |
BUG-1052856</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046493&group_id=75348&atid=543653">SF |
BUG-1046493</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1023530&group_id=75348&atid=543653">SF |
BUG-1023530</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1025978&group_id=75348&atid=543653">SF |
BUG-1025978</a>] The editor now doesn’t throw an error if no selection |
was made and the create link command is used. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036756&group_id=75348&atid=543653">SF |
BUG-1036756</a>] The XHTML processor has been reviewed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029101&group_id=75348&atid=543653">SF |
BUG-1029101</a>] The Paste from Word feature is working correctly. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034623&group_id=75348&atid=543653">SF |
BUG-1034623</a>] There is an IE bug when setting the editor value to "<p><hr></p>". |
A workaround has been developed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052695&group_id=75348&atid=543653">SF |
BUG-1052695</a>] There are some rendering differences between Netscape and Mozilla. |
(Actually that is a bug on both browsers). A workaround has been developed to solve |
it. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1073053&group_id=75348&atid=543653">SF |
BUG-1073053</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050394&group_id=75348&atid=543653">SF |
BUG-1050394</a>] The editor doesn’t throw errors when hidden. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066321&group_id=75348&atid=543653">SF |
BUG-1066321</a>] Scrollbars should not appear on dialog boxes (at least for the |
Image and Link ones). </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046490&group_id=75348&atid=543653">SF |
BUG-1046490</a>] Dialogs now are forced to show on foreground over Mac. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1073955&group_id=75348">SF |
BUG-1073955</a>] A small bug in the image dialog window has been corrected. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049534&group_id=75348&atid=543653">SF |
BUG-1049534</a>] The Resources Browser window is now working well over Gecko browsers. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036675&group_id=75348&atid=543653">SF |
BUG-1036675</a>] The Resources Browser window now displays the server error on bad |
installations.</li> |
</ul> |
<h3> |
Version 2.0 Beta 2</h3> |
<ul> |
<li>There is a new configuration - "<strong>GeckoUseSPAN</strong>" - that |
can be used to tell Gecko browsers to use <SPAN style...> or <B>, <I> |
and <U> for the bold, italic and underline commands. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1002622&group_id=75348&atid=543656">SF |
Feature-1002622</a>] New <strong>Text Color</strong> and <strong>Background Color</strong> |
commands have been added to the editor. </li> |
<li>On Gecko browsers, a message is shown when, because of security settings, the |
user is not able to cut, copy or paste data from the clipboard using the |
toolbar buttons or the context menu. </li> |
<li>The new "<strong>Paste as Plain Text</strong> " command has been introduced. |
</li> |
<li>The new "<strong>Paste from Word</strong> " command has been introduced. |
</li> |
<li>A new configuration named "StartupFocus" can be used to tell the |
editor to get the focus when the page is loaded. </li> |
<li>All <strong>Java </strong>integration files has been moved to a new separated package. |
</li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1016781&group_id=75348&atid=543653">SF |
BUG-1016781</a>] <strong>Table operations</strong> are now working when right click |
inside a table. The following commands has been introduced: <strong>Insert Row</strong>, |
<strong>Delete Row</strong>, <strong>Insert Column</strong>, <strong>Delete Column</strong>, |
<strong>Insert Cell</strong> and <strong>Delete Cells</strong> . </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965067&group_id=75348&atid=543653">SF |
BUG-965067</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1010379&group_id=75348&atid=543653">SF |
BUG-1010379</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=977713&group_id=75348&atid=543653">SF |
BUG-977713</a>] XHTML support was not working with FireFox, blocking the |
editor when submitting data. It has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1007547&group_id=75348&atid=543653">SF |
BUG-1007547</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=974595&group_id=75348&atid=543653">SF |
BUG-974595</a> ] The "FCKLang not defined" error when loading |
has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1021028&group_id=75348&atid=543653">SF |
BUG-1021028</a>] If the editor doesn't have the focus, some commands were been executed |
outside the editor in the place where the focus is. It has been fixed. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=981191&group_id=75348&atid=543653">SF |
BUG-981191</a>] We are now using <!--- ---> for ColdFusion comments.</li> |
</ul> |
<h3> |
Version 2.0 Beta 1</h3> |
<p> |
This is the first beta of the 2.x series. It brings a lot of new and important things. |
Beta versions will be released until all features available on version 1.x will |
be introduced in the 2.0.<br /> |
<br /> |
<strong>Note:</strong> As it is a beta, it is not yet completely developed. Future |
versions can bring new features that can break backward compatibility with this |
version. |
</p> |
<ul> |
<li>Gecko browsers (<strong>Mozilla</strong> and <strong>Netscape</strong>) support. |
</li> |
<li><strong>Quick startup</strong> response times. </li> |
<li>Complete <strong>XHTML</strong> 1.0 support. </li> |
<li><strong>Advanced link</strong> dialog box: |
<ul> |
<li>Target selection. </li> |
<li>Popup configurator. </li> |
<li>E-Mail link. </li> |
<li>Anchor selector. </li> |
</ul> |
</li> |
<li>New <strong>File Manager</strong>. </li> |
<li>New dialog box system, with <strong>tabbed dialogs</strong> support. </li> |
<li>New <strong>context menus</strong> with icons. </li> |
<li>New toolbar with "expand/collapse" feature. </li> |
<li><strong>Skins</strong> support. </li> |
<li><strong>Right to left languages</strong> support. </li> |
</ul> |
<h3> |
Version 1.6.1</h3> |
<ul> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=862364&group_id=75348&atid=543653">SF |
BUG-862364</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=812733&group_id=75348&atid=543653">SF |
BUG-812733</a>] There was a problem when the user tried to delete the last row, |
collumn or cell in a table. It has been corrected.* </li> |
<li>New Estonian language file. Thanks to Kristjan Kivikangur </li> |
<li>New Croatian language file. Thanks to Alex Varga. </li> |
<li>Updated language file for Czech. Thanks to Plachow. </li> |
<li>Updated language file for Chineze (zh-cn). Thanks to Yanglin. </li> |
<li>Updated language file for Catalan. Thanks to Jordi Cerdan.</li> |
</ul> |
<p> |
* This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec, |
LLC</a>.</p> |
<h3> |
Version 1.6</h3> |
<ul> |
<li><strong>Context Menu</strong> support for <strong>form</strong> elements.* </li> |
<li>New <strong>"Selection Field" command</strong> with advanced dialog box |
for options definitions.* </li> |
<li>New <strong>"Image Button" command</strong> is available.* </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936196&group_id=75348&atid=543656">SF |
Feature-936196</a>] Many form elements <strong>bugs has been fixed</strong> and |
<strong>many improvements</strong> has been done.* </li> |
<li>New <strong>Java Integration Module</strong>. There is a complete Java API and Tag |
Library implementations. Take a look at the _jsp directory. Thanks to Simone Chiaretta |
and Hao Jiang. </li> |
<li>The <strong>Word Spell Checker</strong> can be used. To be able to run it, your |
browser security configuration "Initialize and script ActiveX controls not |
marked as safe" must be set to "Enable" or "Prompt". And |
easier and more secure way to do that is to add your site in the list of trusted |
sites. IeSpell can still be used. Take a look at the fck_config.js file for some |
configuration options. Thanks to EdwardRF. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=748807&group_id=75348&atid=543656">SF |
Feature-748807</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=801030&group_id=75348&atid=543656">SF |
Feature-801030</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=880684&group_id=75348&atid=543656">SF |
Feature-880684</a>] New "<strong>Anchor" command</strong>, including |
context menu support. Thanks to G.Meijer. </li> |
<li>Special characters are replaced with their decimal HTML entities when the XHMTL |
support is enabled (only over IE5.5+). </li> |
<li>New <strong>Office 2003 Style</strong> toolbar icons are available. Just uncomment |
the config.ToolbarImagesPath key in the fck_config.js file. Thanks to Abdul-Aziz |
A. Al-Oraij. <strong>Attention</strong>: the default toolbar items have been moved |
to the "images/toolbar/default" directory. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=934566&group_id=75348&atid=543655">SF |
Patch-934566</a>] <strong>Double click support</strong> for Images, Tables, Links, |
Anchors and all Form elements. Thanks to Top Man. </li> |
<li>New <strong>"New Page" command</strong> to start a typing from scratch. |
Thanks to Abdul-Aziz A. Al-Oraij. </li> |
<li>New <strong>"Replace" command</strong>. Thanks to Abdul-Aziz A. Al-Oraij. |
</li> |
<li>New <strong>"Advanced Font Style" command</strong>. Thanks to Abdul-Aziz |
A. Al-Oraij. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=738193&group_id=75348&atid=543656">SF |
Feature-738193</a>] New <strong>"Save" command</strong>. It can be used |
to simulate a save action, but in fact it just submits the form where the editor |
is placed in. Thanks to Abdul-Aziz A. Al-Oraij. </li> |
<li>New <strong>"Universal Keyboard" command</strong>. This 22 charsets are |
available: Arabic, Belarusian, Bulgarian, Croatian, Czech, Danish, Finnish, French, |
Greek, Hebrew, Hungarian, Diacritical, Macedonian, Norwegian, Polish, Russian, Serbian |
(Cyrillic), Serbian (Latin), Slovak, Spanish, Ukrainian and Vietnamese. Includes |
a keystroke listener to type Arabic on none Arabic OS or machine. Thanks to Abdul-Aziz |
A. Al-Oraij. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=935358&group_id=75348&atid=543655">SF |
Patch-935358</a>] New <strong>"Preview" command</strong>. Context menu |
option is included and can be deactivated throw the config.ShowPreviewContextMenu |
configuration. Thanks to Ben Ramsey. </li> |
<li>New "<strong>Table Auto Format</strong>" context menu command. Hack a |
little the fck_config.js and the fck_editorarea.css files. Thanks to Alexandros |
Lezos. </li> |
<li>New "<strong>Bulleted List Properties</strong> " context menu to define |
its type and class. Thanks to Alexandros Lezos. </li> |
<li>The <strong>image dialog</strong> box has been a <strong>redesigned</strong> . Thanks |
to Mark Fierling. </li> |
<li>Images now always have the <strong>"alt" attribute</strong> set, even |
when it's value is empty. Thanks to Andreas Barnet. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942250&group_id=75348&atid=543655">SF |
Patch-942250</a>] You can set on fck_config.js to <strong>automatically clean Word</strong> |
pasting operations without a user confirmation. </li> |
<li>Forms element dialogs and other localization pending labels has been updated. </li> |
<li>A new <strong>Lithuanian</strong> language file is available. Thanks to Tauras Paliulis. |
</li> |
<li>A new <strong>Hebrew</strong> language file is available. Thanks to Ophir Radnitz. |
</li> |
<li>A new <strong>Serbian</strong> language file is available. Thanks to Zoran Subic. |
</li> |
<li><strong>Danish</strong> language file updates. Thanks to Flemming Jensen. </li> |
<li><strong>Catalan</strong> language file updates. Thanks to Jordi Cerdan. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936514&group_id=75348&atid=543655">SF |
Patch-936514</a>] [<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=918716&group_id=75348">SF |
BUG-918716</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=931037&group_id=75348&atid=543653">SF |
BUG-931037</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=865864&group_id=75348&atid=543653">SF |
BUG-865864</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=915410&group_id=75348&atid=543653">SF |
BUG-915410</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918716&group_id=75348&atid=543653">SF |
BUG-918716</a>] Some <strong>languages files</strong> were not |
saved on <strong>UTF-8</strong> format causing some javascript errors on loading |
the editor or making "undefined" to show on editor labels. This problem |
was solved. </li> |
<li>Updates on the testsubmit.php file. Thanks to Geat and Gabriel Schillaci </li> |
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=924620&group_id=75348">SF |
BUG-924620</a>] There was a problem when setting a name to an editor instance when |
the name is used by another tag. For example when using "description" |
as the name in a page with the <META name="description"> tag. </li> |
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=935018&group_id=75348&atid=543653">SF |
BUG-935018</a>] The "buletted" typo has been corrected. </li> |
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=902122&group_id=75348&atid=543653">SF |
BUG-902122</a>] Wrong css and js file references have been corrected. </li> |
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918942&group_id=75348&atid=543653">SF |
BUG-918942</a>] All dialog boxes now accept Enter and Escape keys as Ok and Cancel |
buttons.</li> |
</ul> |
<p> |
* This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec, |
LLC</a>.</p> |
<h3> |
Version 1.5</h3> |
<ul> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF |
Feature-913777</a>] <strong>New Form Commands</strong> are now available! Special |
thanks to G.Meijer. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=861149&group_id=75348&atid=543656">SF |
Feature-861149</a>] <strong>Print Command</strong> is now available! </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=743546&group_id=75348">SF |
BUG-743546</a>] The <strong>XHTML content duplication problem </strong>has been |
<strong>solved</strong> . Thanks to Paul Hutchison. </li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=875853&group_id=75348">SF |
BUG-875853</a>] The <strong>image dialog box</strong> now gives precedence for width |
and height values set as styles. In this way a user can change the size of the image |
directly inside the editor and the changes will be reflected in the dialog box. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF |
Feature-788368</a>] The sample <strong>file upload </strong>manager for ASPX now |
uses <strong>guids</strong> for the file name generation. In this way a support |
XML file is not needed anymore. </li> |
<li>It's possible now to <strong>programmatically change the Base Path</strong> of the |
editor if it's installed in a directory different of "/FCKeditor/". Something |
like this:<br /> |
oFCKeditor.BasePath = '/FCKeditor/' ;<br /> |
Take a look at the _test directory for samples. </li> |
<li>There was a little bug in the TAB feature that moved the insertion point if there |
were any object (images, tables) in the content. It has been fixed. </li> |
<li>The problem with <strong>accented and international characters</strong> on the PHP |
test page was solved. </li> |
<li>A new <strong>Chinese (Taiwan)</strong> language file is available. Thanks to Nil. |
</li> |
<li>A new <strong>Slovenian</strong> language file is available. Thanks to Pavel Rotar. |
</li> |
<li>A new <strong>Catalan</strong> language file is available. Thanks to Jordi Cerdan. |
</li> |
<li>A new <strong>Arabic</strong> language file is available. Thanks to Abdul-Aziz A. |
Al-Oraij. </li> |
<li>Small corrections on the <strong>Norwegian</strong> language file. </li> |
<li>A Java version for the test results (testsubmit.jsp) is now available. Thanks to |
Pritpal Dhaliwal. </li> |
<li>When using JavaScript to create a editor instance it's possible now to easily get |
the editor's value calling oFCKeditor.GetValue() (eg.). Better JavaScript API interfaces |
will be available on version 2.0. </li> |
<li>If <strong>XHTML</strong> is enabled the editor cleans the HTML before showing it |
on the Source View, so the exact result can be viewed by the user. This option can |
be activated setting config.EnableSourceXHTML = true in the fck_config.js file. |
</li> |
<li>The <strong>JS integration object</strong> now escapes all configuration settings, |
in this way a user can use <strong>reserved chars</strong> on it. For example: |
<br /> |
oFCKeditor.Config["ImageBrowserURL"] = '/imgs/browse.asp?filter=abc*.jpg&userid=1'; |
</li> |
<li>A minimal browse server sample is now available in ASP. Thanks to Andreas Barnet. |
</li> |
</ul> |
<h3> |
Version 1.4</h3> |
<ul> |
<li><strong>ATTENTION: For PHP users</strong>: The editor was changed and now uses <strong> |
htmlspecialchars</strong> instead of <strong>htmlentities</strong> when handling |
the initial value. It should works well, but please make some tests before upgrading |
definitively. If there is any problem just uncomment the line in the fckeditor.php |
file (and send me a message!). </li> |
<li>The editor is now integrated with <strong>ieSpell</strong> (<a href="http://www.iespell.com">http://www.iespell.com</a>) |
for <strong>Spell Checking</strong>. You can configure the download URL in then |
fck_config.js file. Thanks to Sanjay Sharma. (ieSpell is free for personal use but |
must be paid for commercial use) </li> |
<li><strong>Table</strong> and <strong>table cell</strong> dialogs has been changed. |
Now you can <strong>select the class</strong> you want to be applied. Thanks to |
Alexander Lezos. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=865378&group_id=75348&atid=543656">SF |
Feature-865378</a>]A new <strong>upload support is available for ASP</strong>. It |
uses the /UserImages/ folder in the root of the web site as the files container |
and a counter controlled by the upload.cnt file. Both must have write permissions |
set to the IUSR_xxx user. Thanks to Trax and Juanjo. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=798128&group_id=75348&atid=543655">SF |
Patch-798128</a>] The user (programmer) can now define a <strong>custom separator</strong> |
for the list items of a combo in the toolbar. Thanks to Wulff D. Heiss. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=741963&group_id=75348&atid=543656">SF |
Feature-741963</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=878941&group_id=75348&atid=543656">SF |
Feature-878941</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=869389&group_id=75348&atid=543655">SF |
Patch-869389</a>] A minimal support for a “fake” <strong>TAB is now available</strong>, |
even if HTML has no support for TAB. Now when the user presses the TAB key a configurable |
number of spaces (&nbsp;) is added. Take a look at config.TabSpaces on the fck_config.js |
file. No action is performed if it is set to zero. The default value is 4. Thanks |
to Phil Hassey. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF |
BUG-782779</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=790939&group_id=75348&atid=543653">SF |
BUG-790939</a>] The problem with big images has been corrected. Thanks to Raver. |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF |
BUG-862975</a>] Now the editor does nothing if no image is selected in the image |
dialog box and the OK button is hit. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=851609&group_id=75348&atid=543653">SF |
BUG-851609</a>] The problem with ASP and null values has been solved. </li> |
<li><strong>Norwegean</strong> language pack. Thanks to Martin Kronstad. </li> |
<li><strong>Hungarian</strong> language pack. Thanks to Balázs Szabó. |
</li> |
<li><strong>Bosnian</strong> language pack. Thanks to Trax. </li> |
<li><strong>Japanese</strong> language pack. Thanks to Kato Yuichiro. </li> |
<li>Updates on the <strong>Polish</strong> language pack. Thanks to Norbert Neubauer. |
</li> |
<li>The <strong>Chinese (Taiwan)</strong> (zh-tw) has been removed from the package |
because it's corrupt. I'm sorry. I hope someone could send me a good version soon. |
</li> |
</ul> |
<h3> |
Version 1.3.1</h3> |
<ul> |
<li>It's now possible to configure the editor the insert a <strong><BR> tag instead |
of <P></strong> when the user presses the <strong><Enter></strong> key. |
Take a look at the fck_config.js configuration file for the "<strong>UseBROnCarriageReturn</strong>" |
key. This option is disabled by default. </li> |
<li><strong>Icelandic</strong> language pack. Thanks to Andri Óskarsson. </li> |
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF |
BUG-853374</a>] On IE 5.0 there was a little error introduced with version 1.3 on |
initialization. It was corrected. </li> |
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853372&group_id=75348">SF |
BUG-853372</a>] On IE 5.0 there was a little error introduced with version 1.3 when |
setting the focus in the editor. It was corrected. </li> |
<li>Minor errors on the language file for <strong>english</strong> has been corrected. |
Thanks to Anders Madsen. </li> |
<li>Minor errors on the language file for <strong>danish</strong> has been corrected. |
Thanks to Martin Johansen. </li> |
</ul> |
<h3> |
Version 1.3</h3> |
<ul> |
<li>Language support for <strong>Danish, Polish, Simple Chinese, Slovak, Swedish and |
Turkish</strong>. </li> |
<li>Language updates for <strong>Romanian</strong>. </li> |
<li>It's now possible to <strong>override</strong> any of the <strong>editor's configurations</strong> |
(for now it's implemented just for JavaScript, ASPX and HTC modules). See _test/test.html |
for a sample. I'm now waiting for the Community for the ASP, CFM and PHP versions. |
</li> |
<li>A new method is available for <strong>PHP</strong> users. It's called <strong>ReturnFCKeditor</strong>. |
It works exactly like CreateFCKeditor, but it <strong>returns a string with the HTML</strong> |
for the editor instead of output it (echo). This feature is useful for people who |
are working with Smarty Templates or something like that. Thanks to Timothy J. Finucane. |
</li> |
<li>Many people have had problems with <strong>international characters</strong> over |
<strong>PHP</strong>. I had also the same problem. PHP have strange problems with |
character encoding. The code hasn't been changed but just saved again with Western |
European encoding. <strong>Now it works well</strong> in my system.<br /> |
Take a look also at the "default_charset" configuration option at the |
php.ini file. It doesn't seem to be an editor's problem but a PHP issue. </li> |
<li>The "<strong>testsubmit.php</strong>" file now strips the "<strong>Magic |
Quotes</strong> " that are automatically added by PHP on form posts. </li> |
<li>A <strong>new language</strong> integration module is available for <strong>ASP/Jscript</strong>. |
Thanks to Dimiter Naydenov. </li> |
<li><strong>New configuration</strong> options are available to <strong>customize the |
Target</strong> combo box in the <strong>Insert/Modify Link</strong> dialog box. |
Now you can hide it, or set which options are available in the combo box. Take a |
look at the fck_config.js file. </li> |
<li>The <strong>Text as Plain Text</strong> toolbar <strong>icon</strong> has been changed |
<strong>to avoid confusion</strong> with the Normal Paste or. Thanks to Kaupo Kalda. |
</li> |
<li>The file <strong>dhtmled.cab has been removed</strong> from the package. It's not |
needed to the editor to work and caused some confusion for a few users. </li> |
<li>The <strong>editor's content</strong> now <strong>doesn't loose the focus</strong> |
when the user clicks with the mouse in a toolbar button. </li> |
<li>On <strong>drag-and-drop</strong> operations the data to be inserted in the editor |
is now <strong>converted to plain text</strong> when the "<strong>ForcePasteAsPlainText</strong>" |
configuration is set to <strong>true</strong>. </li> |
<li>The <strong>image browser</strong> sample in PHP now <strong>sorts the files</strong> |
by name. Thanks to Sergey Lupashko. </li> |
<li>Two <strong>new configuration</strong> options are available to <strong>turn on/off |
by default</strong> the "<strong>Show Borders</strong>" and "<strong>Show |
Details</strong>" commands. </li> |
<li>Some <strong>characters have been removed</strong> from the "<strong>Insert |
Special Chars</strong>" dialog box because they were causing encoding problems |
in some languages. Thanks to Abomb Hua. </li> |
<li><strong>JSP</strong> versions of the <strong>image and file upload and browsing</strong> |
features. Thanks to Simone Chiaretta.</li> |
</ul> |
<h3> |
Version 1.2.4</h3> |
<ul> |
<li>Language support for <strong>Spanish, Finnish, Romanian and Korean</strong>. </li> |
<li>Language updates for <strong>German</strong>. </li> |
<li>New <strong>Zoom</strong> toolbar option. (<a href="https://sourceforge.net/forum/forum.php?thread_id=904116&forum_id=257180">Thanks |
to "mtn_roadie"</a>)</li> |
</ul> |
<h3> |
Version 1.2.2</h3> |
<ul> |
<li>Language support for <strong>French</strong>. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF |
BUG-782779</a>] Version 1.2 introduced a bug on the image dialog window: when changing |
the image, no update was done. This bug is now fixed. </li> |
</ul> |
<h3> |
Version 1.2</h3> |
<ul> |
<li>Enhancements to the <strong>Word cleaning</strong> feature (Thanks to Karl von Randow). |
</li> |
<li>The <strong>Table dialog box</strong> now handles the Style width and height set |
in the table (Thanks to Roberto Arruda). There where many problems on prior version |
when people changed manually the table's size, dragging the size handles, and then |
it was not possible to set a new size using the table dialog box. </li> |
<li>For the <strong>Image dialog box:</strong> |
<ul> |
<li>No image is shown in the preview pane if no image has been set. </li> |
<li>If no HSpace is set in the image a "-1" value was shown in the dialog |
box. Now, nothing is shown if the value is negative. </li> |
</ul> |
</li> |
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=739630&group_id=75348&atid=543653">SF |
BUG-739630</a>] Image with link lost the link when changing its properties. The |
problem is solved. </li> |
<li>Due to some problems in the XHTML cleaning (content duplication when the source |
HTML is dirty and malformed), the <strong>XHTML support is turned off by default</strong> |
from this version. You can still change this behavior and turn it on in the configuration |
file. </li> |
<li>Some little updates on the <strong>English </strong>language file. </li> |
<li>A few addition of missing entries on all languages files (translations for these |
changes are pending). </li> |
<li>Language files has been added for the following languages: |
<ul> |
<li><strong>Brazilian Portuguese</strong> (pt-br) </li> |
<li><strong>Czech</strong> (cz) </li> |
<li><strong>Dutch</strong> (nl) </li> |
<li><strong>Russian</strong> (ru) </li> |
<li><strong>Chinese (Taiwan)</strong> (zh-tw) </li> |
<li><strong>Greek</strong> (gr) </li> |
<li><strong>German</strong> (de)</li> |
</ul> |
</li> |
</ul> |
<h3> |
Version 1.1</h3> |
<ul> |
<li>The "<strong>Multi Language</strong>" system is now available. This version |
ships with English and Italian versions completed. Other languages will be available |
soon. The editor automatically detects the client language and sets all labels, |
tooltips and dialog boxes to it, if available. The auto detection and the default |
language can be set in the <strong>fck_config.file</strong>. </li> |
<li>Two files can now be created to isolate customizations code from the original source |
code of the editor: <strong>fckeditor.config.js</strong> and <strong>fckeditor.custom.js</strong>. |
Create these files in the root folder of your web site, if needed. The first one |
can be used to add or override configurations set on fck_config.js. The second one |
is used for custom actions and behaviors. </li> |
<li>A problem with relative links and images like "/test/test.doc" has been |
solved. In prior versions, only with XHTML support enabled, the URL was changed |
to something like "http://www.mysite.xxx/test/test.doc" (The domain was |
automatically added). Now the XHTML cleaning procedure gets the URLs exactly how |
they are defined in the editor’s HTML. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=742168&group_id=75348&atid=543653">SF |
BUG-742168</a>] Mouse drag and drop from toolbar buttons has been disabled. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=768210&group_id=75348&atid=543653">SF |
BUG-768210</a>] HTML entities, like <strong>&lt;</strong>, were not load correctly. |
The problem is solved. </li> |
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=748812&group_id=75348&atid=543653">SF |
BUG-748812</a>] The link dialog window doesn't open when the link button is grayed. |
</li> |
</ul> |
<h3> |
Version 1.0</h3> |
<ul> |
<li>Three new options are available in the configuration file to set what file types |
are allowed / denied to be uploaded from the "Insert Link" and "Insert |
Image" dialog boxes. </li> |
<li>Upload options, for links and images, are automatically hidden on IE 5.0 browsers |
(it's not compatible). </li> |
<li>[SF BUG-734894] Fixed a problem on XHTML cleaning: the value on INPUT fields were |
lost. </li> |
<li>[SF BUG-713797] Fixed some image dialog errors when trying to set image properties |
when no image is available. </li> |
<li>[SF BUG-736414] Developed a workaround for a DHTML control bug when loading in the |
editor some HTML started with <p><hr></p>. </li> |
<li>[SF BUG-737143] Paste from Word cleaning changed to solve some IE 5.0 errors. This |
feature is still not available over IE 5.0. </li> |
<li>[SF BUG-737233] CSS mappings are now OK on the PHP image browser module. </li> |
<li>[SF BUG-737495] The image preview in the image dialog box is now working correctly. |
</li> |
<li>[SF BUG-737532] The editor automatically switches to WYSIWYG mode when the form |
is posted. </li> |
<li>[SF BUG-739571] The editor is now working well over Opera (as for Netscape, a TEXTAREA |
is shown). </li> |
</ul> |
<h3> |
Version 1.0 Final Candidate</h3> |
<ul> |
<li>A new dialog box for the "Link" command is available. Now you can upload |
and browse the server exactly like the image dialog box. It's also possible to define |
the link title and target window (_blank, _self, _parent and _top). As with the |
image dialog box, a sample (and simple) file server browser is available. </li> |
<li>A new configuration option is available to force every paste action to be handled |
as plain text. See "config.ForcePasteAsPlainText" in fck_config.js. </li> |
<li>A new Toolbar button is available: "Paste from Word". It automatically |
cleans the clipboard content before pasting (removesWord styles, classes, xml stuff, |
etc...). This command is available for IE 5.5 and more. For IE 5.0 users, a message |
is displayed advising that the text will not be cleaned before pasting. </li> |
<li>The editor automatically detects Word clipboard data on pasting operations and asks |
the user to clean it before pasting. This option is turned on by default but it |
can be configured. See "config.AutoDetectPasteFromWord" in fck_config.js. |
</li> |
<li>Table properties are now available in cells' right click context menu. </li> |
<li>It's now possible to edit cells advanced properties from it's right click context |
menu. </li> |
</ul> |
<h3> |
Version 1.0 Release Candidate 1 (RC1)</h3> |
<ul> |
<li>Some performance improvements. </li> |
<li>The file dhtmled.cab has been added to the package for clients ho needs to install |
the Microsoft DHTML Editor component. </li> |
<li>[SF BUG-713952] The format command options are localized, so it depends on the IE |
language to work. Until version 0.9.5 it was working only over English IE browsers. |
Now the options are load dynamically on the client using the client's language. |
</li> |
<li>[SF BUG-712103] The style command is localized, so it depends on the IE language |
to work. Until version 0.9.5 it was working only over English IE browsers. Now it |
configures itself using the client's language. </li> |
<li>[SF BUG-726137] On version 0.9.5, some commands (special chars, image, emoticons, |
...) remove the next available character before inserting the required content even |
if no selection was made in the editor. Now the editor replaces only the selected |
content (if available). </li> |
</ul> |
<h3> |
Version 0.9.5 beta</h3> |
<ul> |
<li>XHTML support is now available! It can be enabled/disabled in the fck_config.js |
file. </li> |
<li>"Show Table Borders" option: show borders for tables with borders size |
set to zero. </li> |
<li>"Show Details" option: show hidden elements (comments, scripts, paragraphs, |
line breaks) </li> |
<li>IE behavior integration module. Thanks to Daniel Shryock. </li> |
<li>"Find" option: to find text in the document. </li> |
<li>More performance enhancements. </li> |
<li>New testsubmit.php file. Thansk to Jim Michaels. </li> |
<li>Two initial PHP upload manager implementations (not working yet). Thanks to Frederic |
Tyndiuk and Christian Liljedahl. </li> |
<li>Initial PHP image browser implementation (not working yet). Thanks to Frederic Tyndiuk. |
</li> |
<li>Initial CFM upload manager implementation. Thanks to John Watson. </li> |
</ul> |
<h3> |
Version 0.9.4 beta</h3> |
<ul> |
<li>ColdFusion module integration is now available! Thanks to John Watson. </li> |
<li>"Insert Smiley" toolbar option! Thanks to Fredox. Take a look at fck_config.js |
for configuration options. </li> |
<li>"Paste as plain text" toolbar option! </li> |
<li>Right click support for links (edit / remove). </li> |
<li>Buttons now are shown in gray when disabled. </li> |
<li>Buttons are shown just when the image is downloaded (no more "red x" while |
waiting for it). </li> |
<li>The toolbar background color can be set with a CSS style (see fck_editor.css). </li> |
<li>Toolbar images have been reviewed: |
<ul> |
<li>Now they are transparent. </li> |
<li>No more over...gif for every button (so the editor loads quicker). </li> |
<li>Buttons states are controlled with CSS styles. (see fck_editor.css).</li> |
</ul> |
</li> |
<li>Internet Explorer 5.0 compatibility, except for the image uploading popup. </li> |
<li>Optimizations when loading the editor. </li> |
<li>[SF BUG-709544] - Toolbar buttons wait for the images to be downloaded to start |
watching and responding the user actions (turn buttons on/off when the user changes |
position inside the editor). </li> |
<li>JavaScript integration is now Object Oriented. CreateFCKeditor function is not available |
anymore. Take a look in test.html. </li> |
<li>Two new configuration options, ImageBrowser and ImageUpload, are available to turn |
on and off the image upload and image browsing options in the Image dialog box. |
This options can be hidden for a specific editor instance throw specific URL parameter |
in the editor’s IFRAME (upload=true/false&browse=true/false). All specific |
language integration modules handle this option. For sample see the _test directory. |
</li> |
</ul> |
</body> |
</html> |
/trunk/api/fckeditor/fckconfig.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
76,7 → 76,7 |
FCKConfig.FormatOutput = true ; |
FCKConfig.FormatIndentator = ' ' ; |
FCKConfig.EMailProtection = 'encode' ; // none | encode | function |
FCKConfig.EMailProtection = 'none' ; // none | encode | function |
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ; |
FCKConfig.StartupFocus = false ; |
160,7 → 160,7 |
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ; |
FCKConfig.TemplatesXmlPath = FCKConfig.EditorPath + 'fcktemplates.xml' ; |
FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' |
FCKConfig.SpellChecker = 'WSC' ; // 'WSC' | 'SpellerPages' | 'ieSpell' |
FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; |
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl |
FCKConfig.FirefoxSpellChecker = false ; |
/trunk/api/fckeditor/fckeditor.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
59,8 → 59,8 |
*/ |
FCKeditor.MinWidth = 750 ; |
FCKeditor.prototype.Version = '2.6.3' ; |
FCKeditor.prototype.VersionBuild = '19836' ; |
FCKeditor.prototype.Version = '2.6.4' ; |
FCKeditor.prototype.VersionBuild = '21629' ; |
FCKeditor.prototype.Create = function() |
{ |
106,6 → 106,8 |
FCKeditor.prototype.ReplaceTextarea = function() |
{ |
if ( document.getElementById( this.InstanceName + '___Frame' ) ) |
return ; |
if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) |
{ |
// We must check the elements firstly using the Id and then the name. |
175,7 → 177,7 |
if (this.ToolbarSet) |
sLink += '&Toolbar=' + this.ToolbarSet ; |
html = '<iframe id="' + this.InstanceName + |
var html = '<iframe id="' + this.InstanceName + |
'___Frame" src="' + sLink + |
'" width="' + this.Width + |
'" height="' + this.Height ; |
/trunk/api/fckeditor/editor/fckeditor.original.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/lang/fa.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "فاصلهٴ پرشده در سلول", |
DlgTableCaption : "عنوان", |
DlgTableSummary : "خلاصه", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "ویژگیهای سلول", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "میان", |
DlgCellVerAlignBottom : "پائین", |
DlgCellVerAlignBaseline : "خطپایه", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "گستردگی سطرها", |
DlgCellCollSpan : "گستردگی ستونها", |
DlgCellBackColor : "رنگ پسزمینه", |
/trunk/api/fckeditor/editor/lang/de.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
147,26 → 147,26 |
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)", |
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\"", |
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.", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
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.", |
VisitLinkBlocked : "Es war leider nicht möglich ein neues Fenster zu öffnen. Bitte versichern Sie sich das der Popup-Blocker ausgeschaltet ist.", |
// Dialogs |
DlgBtnOK : "OK", |
DlgBtnCancel : "Abbrechen", |
DlgBtnClose : "Schließen", |
DlgBtnClose : "Schließen", |
DlgBtnBrowseServer : "Server durchsuchen", |
DlgAdvancedTag : "Erweitert", |
DlgOpOther : "<andere>", |
198,12 → 198,12 |
DlgImgUpload : "Upload", |
DlgImgAlt : "Alternativer Text", |
DlgImgWidth : "Breite", |
DlgImgHeight : "Höhe", |
DlgImgLockRatio : "Größenverhältniss beibehalten", |
DlgBtnResetSize : "Größe zurücksetzen", |
DlgImgHeight : "Höhe", |
DlgImgLockRatio : "Größenverhältniss beibehalten", |
DlgBtnResetSize : "Größe zurücksetzen", |
DlgImgBorder : "Rahmen", |
DlgImgHSpace : "H-Abstand", |
DlgImgVSpace : "V-Abstand", |
DlgImgHSpace : "Horizontal-Abstand", |
DlgImgVSpace : "Vertikal-Abstand", |
DlgImgAlign : "Ausrichtung", |
DlgImgAlignLeft : "Links", |
DlgImgAlignAbsBottom: "Abs Unten", |
303,11 → 303,16 |
DlgTableWidth : "Breite", |
DlgTableWidthPx : "Pixel", |
DlgTableWidthPc : "%", |
DlgTableHeight : "Höhe", |
DlgTableCellSpace : "Zellenabstand außen", |
DlgTableHeight : "Höhe", |
DlgTableCellSpace : "Zellenabstand außen", |
DlgTableCellPad : "Zellenabstand innen", |
DlgTableCaption : "Überschrift", |
DlgTableSummary : "Inhaltsübersicht", |
DlgTableCaption : "Überschrift", |
DlgTableSummary : "Inhaltsübersicht", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Zellen-Eigenschaften", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Mitte", |
DlgCellVerAlignBottom : "Unten", |
DlgCellVerAlignBaseline : "Grundlinie", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Zeilen zusammenfassen", |
DlgCellCollSpan : "Spalten zusammenfassen", |
DlgCellBackColor : "Hintergrundfarbe", |
/trunk/api/fckeditor/editor/lang/bg.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Отстъп на съдържанието в клетките", |
DlgTableCaption : "Заглавие", |
DlgTableSummary : "Резюме", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Параметри на клетката", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "По средата", |
DlgCellVerAlignBottom : "Долу", |
DlgCellVerAlignBaseline : "По базовата линия", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "повече от един ред", |
DlgCellCollSpan : "повече от една колона", |
DlgCellBackColor : "фонов цвят", |
/trunk/api/fckeditor/editor/lang/sv.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
297,17 → 297,22 |
DlgTableBorder : "Kantstorlek", |
DlgTableAlign : "Justering", |
DlgTableAlignNotSet : "<ej angivet>", |
DlgTableAlignLeft : "Vänster", |
DlgTableAlignLeft : "Vänster", |
DlgTableAlignCenter : "Centrerad", |
DlgTableAlignRight : "Höger", |
DlgTableAlignRight : "Höger", |
DlgTableWidth : "Bredd", |
DlgTableWidthPx : "pixlar", |
DlgTableWidthPc : "procent", |
DlgTableHeight : "Höjd", |
DlgTableCellSpace : "Cellavstånd", |
DlgTableHeight : "Höjd", |
DlgTableCellSpace : "Cellavstånd", |
DlgTableCellPad : "Cellutfyllnad", |
DlgTableCaption : "Rubrik", |
DlgTableSummary : "Sammanfattning", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Cellegenskaper", |
330,44 → 335,47 |
DlgCellVerAlignMiddle : "Mitten", |
DlgCellVerAlignBottom : "Nederkant", |
DlgCellVerAlignBaseline : "Underst", |
DlgCellRowSpan : "Radomfång", |
DlgCellCollSpan : "Kolumnomfång", |
DlgCellBackColor : "Bakgrundsfärg", |
DlgCellBorderColor : "Kantfärg", |
DlgCellBtnSelect : "Välj...", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Radomfång", |
DlgCellCollSpan : "Kolumnomfång", |
DlgCellBackColor : "Bakgrundsfärg", |
DlgCellBorderColor : "Kantfärg", |
DlgCellBtnSelect : "Välj...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Sök och ersätt", |
DlgFindAndReplaceTitle : "Sök och ersätt", |
// Find Dialog |
DlgFindTitle : "Sök", |
DlgFindFindBtn : "Sök", |
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", |
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", |
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", |
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.", |
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", |
// Color Picker |
ColorAutomatic : "Automatisk", |
ColorMoreColors : "Fler färger...", |
ColorMoreColors : "Fler färger...", |
// Document Properties |
DocProps : "Dokumentegenskaper", |
/trunk/api/fckeditor/editor/lang/ja.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "セル内間隔", |
DlgTableCaption : "キャプション", |
DlgTableSummary : "テーブル目的/構造", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "セル プロパティ", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "中央", |
DlgCellVerAlignBottom : "下", |
DlgCellVerAlignBaseline : "ベースライン", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "縦幅(行数)", |
DlgCellCollSpan : "横幅(列数)", |
DlgCellBackColor : "背景色", |
/trunk/api/fckeditor/editor/lang/he.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "ריפוד תא", |
DlgTableCaption : "כיתוב", |
DlgTableSummary : "סיכום", |
DlgTableHeaders : "כותרות", |
DlgTableHeadersNone : "אין", |
DlgTableHeadersColumn : "עמודה ראשונה", |
DlgTableHeadersRow : "שורה ראשונה", |
DlgTableHeadersBoth : "שניהם", |
// Table Cell Dialog |
DlgCellTitle : "תכונות תא", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "לאמצע", |
DlgCellVerAlignBottom : "לתחתית", |
DlgCellVerAlignBaseline : "קו תחתית", |
DlgCellType : "סוג תא", |
DlgCellTypeData : "סוג", |
DlgCellTypeHeader : "כותרת", |
DlgCellRowSpan : "טווח שורות", |
DlgCellCollSpan : "טווח עמודות", |
DlgCellBackColor : "צבע רקע", |
/trunk/api/fckeditor/editor/lang/fi.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
301,23 → 301,28 |
DlgTableAlignCenter : "Keskelle", |
DlgTableAlignRight : "Oikealle", |
DlgTableWidth : "Leveys", |
DlgTableWidthPx : "pikseliä", |
DlgTableWidthPx : "pikseliä", |
DlgTableWidthPc : "prosenttia", |
DlgTableHeight : "Korkeus", |
DlgTableCellSpace : "Solujen väli", |
DlgTableCellSpace : "Solujen väli", |
DlgTableCellPad : "Solujen sisennys", |
DlgTableCaption : "Otsikko", |
DlgTableSummary : "Yhteenveto", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Solun ominaisuudet", |
DlgCellWidth : "Leveys", |
DlgCellWidthPx : "pikseliä", |
DlgCellWidthPx : "pikseliä", |
DlgCellWidthPc : "prosenttia", |
DlgCellHeight : "Korkeus", |
DlgCellWordWrap : "Tekstikierrätys", |
DlgCellWordWrap : "Tekstikierrätys", |
DlgCellWordWrapNotSet : "<Ei asetettu>", |
DlgCellWordWrapYes : "Kyllä", |
DlgCellWordWrapYes : "Kyllä", |
DlgCellWordWrapNo : "Ei", |
DlgCellHorAlign : "Vaakakohdistus", |
DlgCellHorAlignNotSet : "<Ei asetettu>", |
326,14 → 331,17 |
DlgCellHorAlignRight: "Oikealle", |
DlgCellVerAlign : "Pystykohdistus", |
DlgCellVerAlignNotSet : "<Ei asetettu>", |
DlgCellVerAlignTop : "Ylös", |
DlgCellVerAlignTop : "Ylös", |
DlgCellVerAlignMiddle : "Keskelle", |
DlgCellVerAlignBottom : "Alas", |
DlgCellVerAlignBaseline : "Tekstin alas", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Rivin jatkuvuus", |
DlgCellCollSpan : "Sarakkeen jatkuvuus", |
DlgCellBackColor : "Taustaväri", |
DlgCellBorderColor : "Rajan väri", |
DlgCellBackColor : "Taustaväri", |
DlgCellBorderColor : "Rajan väri", |
DlgCellBtnSelect : "Valitse...", |
// Find and Replace Dialog |
/trunk/api/fckeditor/editor/lang/hi.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "सैल पैडिंग", |
DlgTableCaption : "शीर्षक", |
DlgTableSummary : "सारांश", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "सैल प्रॉपर्टीज़", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "मध्य", |
DlgCellVerAlignBottom : "नीचे", |
DlgCellVerAlignBaseline : "मूलरेखा", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "पंक्ति स्पैन", |
DlgCellCollSpan : "कालम स्पैन", |
DlgCellBackColor : "बैक्ग्राउन्ड रंग", |
/trunk/api/fckeditor/editor/lang/eo.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Ĉirkaŭenhava Plenigado", |
DlgTableCaption : "Titolo", |
DlgTableSummary : "Summary", //MISSING |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Atributoj de Celo", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Centre", |
DlgCellVerAlignBottom : "Malsupre", |
DlgCellVerAlignBaseline : "Je Malsupro de Teksto", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Linioj Kunfanditaj", |
DlgCellCollSpan : "Kolumnoj Kunfanditaj", |
DlgCellBackColor : "Fono", |
/trunk/api/fckeditor/editor/lang/fo.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
292,22 → 292,27 |
// Table Dialog |
DlgTableTitle : "Eginleikar fyri tabell", |
DlgTableRows : "Røðir", |
DlgTableRows : "Røðir", |
DlgTableColumns : "Kolonnur", |
DlgTableBorder : "Bordabreidd", |
DlgTableAlign : "Justering", |
DlgTableAlignNotSet : "<Einki valt>", |
DlgTableAlignLeft : "Vinstrasett", |
DlgTableAlignCenter : "Miðsett", |
DlgTableAlignRight : "Høgrasett", |
DlgTableAlignCenter : "Miðsett", |
DlgTableAlignRight : "Høgrasett", |
DlgTableWidth : "Breidd", |
DlgTableWidthPx : "pixels", |
DlgTableWidthPc : "prosent", |
DlgTableHeight : "Hædd", |
DlgTableCellSpace : "Fjarstøða millum meskar", |
DlgTableHeight : "Hædd", |
DlgTableCellSpace : "Fjarstøða millum meskar", |
DlgTableCellPad : "Meskubreddi", |
DlgTableCaption : "Tabellfrágreiðing", |
DlgTableSummary : "Samandráttur", |
DlgTableCaption : "Tabellfrágreiðing", |
DlgTableSummary : "Samandráttur", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Mesku eginleikar", |
314,26 → 319,29 |
DlgCellWidth : "Breidd", |
DlgCellWidthPx : "pixels", |
DlgCellWidthPc : "prosent", |
DlgCellHeight : "Hædd", |
DlgCellWordWrap : "Orðkloyving", |
DlgCellHeight : "Hædd", |
DlgCellWordWrap : "Orðkloyving", |
DlgCellWordWrapNotSet : "<Einki valt>", |
DlgCellWordWrapYes : "Ja", |
DlgCellWordWrapNo : "Nei", |
DlgCellHorAlign : "Vatnrøtt justering", |
DlgCellHorAlign : "Vatnrøtt justering", |
DlgCellHorAlignNotSet : "<Einki valt>", |
DlgCellHorAlignLeft : "Vinstrasett", |
DlgCellHorAlignCenter : "Miðsett", |
DlgCellHorAlignRight: "Høgrasett", |
DlgCellVerAlign : "Lodrøtt justering", |
DlgCellHorAlignCenter : "Miðsett", |
DlgCellHorAlignRight: "Høgrasett", |
DlgCellVerAlign : "Lodrøtt justering", |
DlgCellVerAlignNotSet : "<Ikki sett>", |
DlgCellVerAlignTop : "Ovast", |
DlgCellVerAlignMiddle : "Miðjan", |
DlgCellVerAlignBottom : "Niðast", |
DlgCellVerAlignMiddle : "Miðjan", |
DlgCellVerAlignBottom : "Niðast", |
DlgCellVerAlignBaseline : "Basislinja", |
DlgCellRowSpan : "Røðir, meskin fevnir um", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Røðir, meskin fevnir um", |
DlgCellCollSpan : "Kolonnur, meskin fevnir um", |
DlgCellBackColor : "Bakgrundslitur", |
DlgCellBorderColor : "Litur á borda", |
DlgCellBorderColor : "Litur á borda", |
DlgCellBtnSelect : "Vel...", |
// Find and Replace Dialog |
/trunk/api/fckeditor/editor/lang/bs.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
124,14 → 124,14 |
DeleteColumns : "Briši kolone", |
InsertCellAfter : "Insert Cell After", //MISSING |
InsertCellBefore : "Insert Cell Before", //MISSING |
DeleteCells : "BriÅ¡i æelije", |
MergeCells : "Spoji æelije", |
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", |
CellProperties : "Svojstva æelije", |
TableProperties : "Svojstva tabele", |
ImageProperties : "Svojstva slike", |
FlashProperties : "Flash Properties", //MISSING |
150,10 → 150,10 |
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...", |
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?", |
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", |
304,13 → 304,18 |
DlgTableWidthPx : "piksela", |
DlgTableWidthPc : "posto", |
DlgTableHeight : "Visina", |
DlgTableCellSpace : "Razmak æelija", |
DlgTableCellPad : "Uvod æelija", |
DlgTableCellSpace : "Razmak æelija", |
DlgTableCellPad : "Uvod æelija", |
DlgTableCaption : "Naslov", |
DlgTableSummary : "Summary", //MISSING |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Svojstva æelije", |
DlgCellTitle : "Svojstva æelije", |
DlgCellWidth : "Širina", |
DlgCellWidthPx : "piksela", |
DlgCellWidthPc : "posto", |
330,7 → 335,10 |
DlgCellVerAlignMiddle : "Sredina", |
DlgCellVerAlignBottom : "Dno", |
DlgCellVerAlignBaseline : "Bazno", |
DlgCellRowSpan : "Spajanje æelija", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Spajanje æelija", |
DlgCellCollSpan : "Spajanje kolona", |
DlgCellBackColor : "Boja pozadine", |
DlgCellBorderColor : "Boja okvira", |
340,24 → 348,24 |
DlgFindAndReplaceTitle : "Find and Replace", //MISSING |
// Find Dialog |
DlgFindTitle : "Naði", |
DlgFindFindBtn : "Naði", |
DlgFindNotFoundMsg : "Traženi tekst nije pronaðen.", |
DlgFindTitle : "Naði", |
DlgFindFindBtn : "Naði", |
DlgFindNotFoundMsg : "Traženi tekst nije pronaðen.", |
// Replace Dialog |
DlgReplaceTitle : "Zamjeni", |
DlgReplaceFindLbl : "Naði Å¡ta:", |
DlgReplaceFindLbl : "Naði šta:", |
DlgReplaceReplaceLbl : "Zamjeni sa:", |
DlgReplaceCaseChk : "Uporeðuj velika/mala slova", |
DlgReplaceCaseChk : "Uporeðuj velika/mala slova", |
DlgReplaceReplaceBtn : "Zamjeni", |
DlgReplaceReplAllBtn : "Zamjeni sve", |
DlgReplaceWordChk : "Uporeðuj samo cijelu rijeè", |
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).", |
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", |
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 |
/trunk/api/fckeditor/editor/lang/cs.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
26,29 → 26,29 |
// Language direction : "ltr" (left to right) or "rtl" (right to left). |
Dir : "ltr", |
ToolbarCollapse : "Skrýt panel nástrojů", |
ToolbarExpand : "Zobrazit panel nástrojů", |
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", |
NewPage : "Nová stránka", |
Preview : "Náhled", |
Cut : "Vyjmout", |
Copy : "Kopírovat", |
Copy : "Kopírovat", |
Paste : "Vložit", |
PasteText : "Vložit jako Äistý text", |
PasteText : "Vložit jako čistý text", |
PasteWord : "Vložit z Wordu", |
Print : "Tisk", |
SelectAll : "Vybrat vše", |
RemoveFormat : "Odstranit formátování", |
RemoveFormat : "Odstranit formátování", |
InsertLinkLbl : "Odkaz", |
InsertLink : "Vložit/změnit odkaz", |
RemoveLink : "Odstranit odkaz", |
VisitLink : "OtevÅít odkaz", |
Anchor : "Vložít/zmÄnit záložku", |
VisitLink : "Otevřít odkaz", |
Anchor : "Vložít/změnit záložku", |
AnchorDelete : "Odstranit kotvu", |
InsertImageLbl : "Obrázek", |
InsertImage : "Vložit/zmÄnit obrázek", |
InsertImageLbl : "Obrázek", |
InsertImage : "Vložit/změnit obrázek", |
InsertFlashLbl : "Flash", |
InsertFlash : "Vložit/Upravit Flash", |
InsertTableLbl : "Tabulka", |
55,23 → 55,23 |
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", |
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", |
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í", |
DecreaseIndent : "Zmenšit odsazení", |
IncreaseIndent : "Zvětšit odsazení", |
Blockquote : "Citace", |
CreateDiv : "Vytvořit Div kontejner", |
EditDiv : "Upravit Div kontejner", |
78,47 → 78,47 |
DeleteDiv : "Odstranit Div kontejner", |
Undo : "Zpět", |
Redo : "Znovu", |
NumberedListLbl : "Äíslování", |
NumberedList : "Vložit/odstranit Äíslovaný seznam", |
BulletedListLbl : "Odrážky", |
BulletedList : "Vložit/odstranit odrážky", |
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", |
FontFormat : "Formát", |
Font : "Písmo", |
FontSize : "Velikost", |
TextColor : "Barva textu", |
BGColor : "Barva pozadí", |
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", |
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", |
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", |
ImageButton : "Obrázkové tlačítko", |
FitWindow : "Maximalizovat velikost editoru", |
ShowBlocks : "Ukázat bloky", |
ShowBlocks : "Ukázat bloky", |
// Context Menu |
EditLink : "Změnit odkaz", |
CellCM : "Buňka", |
RowCM : "Åádek", |
RowCM : "Řádek", |
ColumnCM : "Sloupec", |
InsertRowAfter : "Vložit Åádek za", |
InsertRowBefore : "Vložit Åádek pÅed", |
DeleteRows : "Smazat Åádky", |
InsertRowAfter : "Vložit řádek za", |
InsertRowBefore : "Vložit řádek před", |
DeleteRows : "Smazat řádky", |
InsertColumnAfter : "Vložit sloupec za", |
InsertColumnBefore : "Vložit sloupec před", |
DeleteColumns : "Smazat sloupec", |
133,45 → 133,45 |
TableDelete : "Smazat tabulku", |
CellProperties : "Vlastnosti buňky", |
TableProperties : "Vlastnosti tabulky", |
ImageProperties : "Vlastnosti obrázku", |
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", |
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", |
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)", |
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...", |
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.", |
VisitLinkBlocked : "Není možné otevÅít nové okno. ProvÄÅte, zda vÅ¡echny nástroje pro blokování vyskakovacích oken jsou vypnuty.", |
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.", |
VisitLinkBlocked : "Není možné otevřít nové okno. Prověřte, zda všechny nástroje pro blokování vyskakovacích oken jsou vypnuty.", |
// Dialogs |
DlgBtnOK : "OK", |
DlgBtnCancel : "Storno", |
DlgBtnClose : "ZavÅít", |
DlgBtnClose : "Zavřít", |
DlgBtnBrowseServer : "Vybrat na serveru", |
DlgAdvancedTag : "RozÅ¡íÅené", |
DlgOpOther : "<Ostatní>", |
DlgAdvancedTag : "Rozšířené", |
DlgOpOther : "<Ostatní>", |
DlgInfoTab : "Info", |
DlgAlertUrl : "Prosím vložte URL", |
DlgAlertUrl : "Prosím vložte URL", |
// General Dialogs Labels |
DlgGenNotSet : "<nenastaveno>", |
179,50 → 179,50 |
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", |
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", |
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", |
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í", |
DlgImgAlign : "Zarovnání", |
DlgImgAlignLeft : "Vlevo", |
DlgImgAlignAbsBottom: "Zcela dolů", |
DlgImgAlignAbsMiddle: "Doprostřed", |
DlgImgAlignBaseline : "Na úÄaÅí", |
DlgImgAlignBaseline : "Na účaří", |
DlgImgAlignBottom : "Dolů", |
DlgImgAlignMiddle : "Na střed", |
DlgImgAlignRight : "Vpravo", |
DlgImgAlignTextTop : "Na horní okraj textu", |
DlgImgAlignTextTop : "Na horní okraj textu", |
DlgImgAlignTop : "Nahoru", |
DlgImgPreview : "Náhled", |
DlgImgAlertUrl : "Zadejte prosím URL obrázku", |
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", |
DlgFlashChkPlay : "Automatické spuštění", |
DlgFlashChkLoop : "Opakování", |
DlgFlashChkMenu : "Nabídka Flash", |
DlgFlashScale : "Zobrazit", |
DlgFlashScaleAll : "Zobrazit vše", |
DlgFlashScaleNoBorder : "Bez okraje", |
231,154 → 231,162 |
// Link Dialog |
DlgLnkWindowTitle : "Odkaz", |
DlgLnkInfoTab : "Informace o odkazu", |
DlgLnkTargetTab : "Cíl", |
DlgLnkTargetTab : "Cíl", |
DlgLnkType : "Typ odkazu", |
DlgLnkTypeURL : "URL", |
DlgLnkTypeAnchor : "Kotva v této stránce", |
DlgLnkTypeAnchor : "Kotva v této stránce", |
DlgLnkTypeEMail : "E-Mail", |
DlgLnkProto : "Protokol", |
DlgLnkProtoOther : "<jiný>", |
DlgLnkProtoOther : "<jiný>", |
DlgLnkURL : "URL", |
DlgLnkAnchorSel : "Vybrat kotvu", |
DlgLnkAnchorByName : "Podle jména kotvy", |
DlgLnkAnchorByName : "Podle jména kotvy", |
DlgLnkAnchorById : "Podle Id objektu", |
DlgLnkNoAnchors : "(Ve stránce není definována žádná kotva!)", |
DlgLnkEMail : "E-Mailová adresa", |
DlgLnkEMailSubject : "PÅedmÄt zprávy", |
DlgLnkEMailBody : "TÄlo zprávy", |
DlgLnkNoAnchors : "(Ve stránce není definována žádná kotva!)", |
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", |
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", |
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", |
DlgColorTitle : "Výběr barvy", |
DlgColorBtnClear : "Vymazat", |
DlgColorHighlight : "ZvýraznÄná", |
DlgColorSelected : "Vybraná", |
DlgColorHighlight : "Zvýrazněná", |
DlgColorSelected : "Vybraná", |
// Smiley Dialog |
DlgSmileyTitle : "Vkládání smajlíků", |
DlgSmileyTitle : "Vkládání smajlíků", |
// Special Character Dialog |
DlgSpecialCharTitle : "VýbÄr speciálního znaku", |
DlgSpecialCharTitle : "Výběr speciálního znaku", |
// Table Dialog |
DlgTableTitle : "Vlastnosti tabulky", |
DlgTableRows : "Åádky", |
DlgTableRows : "Řádky", |
DlgTableColumns : "Sloupce", |
DlgTableBorder : "OhraniÄení", |
DlgTableAlign : "Zarovnání", |
DlgTableBorder : "Ohraničení", |
DlgTableAlign : "Zarovnání", |
DlgTableAlignNotSet : "<nenastaveno>", |
DlgTableAlignLeft : "Vlevo", |
DlgTableAlignCenter : "Na střed", |
DlgTableAlignRight : "Vpravo", |
DlgTableWidth : "Å íÅka", |
DlgTableWidth : "Šířka", |
DlgTableWidthPx : "bodů", |
DlgTableWidthPc : "procent", |
DlgTableHeight : "VýÅ¡ka", |
DlgTableCellSpace : "Vzdálenost bunÄk", |
DlgTableCellPad : "Odsazení obsahu", |
DlgTableHeight : "Výška", |
DlgTableCellSpace : "Vzdálenost buněk", |
DlgTableCellPad : "Odsazení obsahu", |
DlgTableCaption : "Popis", |
DlgTableSummary : "Souhrn", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Vlastnosti buňky", |
DlgCellWidth : "Å íÅka", |
DlgCellWidth : "Šířka", |
DlgCellWidthPx : "bodů", |
DlgCellWidthPc : "procent", |
DlgCellHeight : "VýÅ¡ka", |
DlgCellWordWrap : "Zalamování", |
DlgCellHeight : "Výška", |
DlgCellWordWrap : "Zalamování", |
DlgCellWordWrapNotSet : "<nenanstaveno>", |
DlgCellWordWrapYes : "Ano", |
DlgCellWordWrapNo : "Ne", |
DlgCellHorAlign : "Vodorovné zarovnání", |
DlgCellHorAlign : "Vodorovné zarovnání", |
DlgCellHorAlignNotSet : "<nenastaveno>", |
DlgCellHorAlignLeft : "Vlevo", |
DlgCellHorAlignCenter : "Na střed", |
DlgCellHorAlignRight: "Vpravo", |
DlgCellVerAlign : "Svislé zarovnání", |
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...", |
DlgCellVerAlignBaseline : "Na účaří", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Sloučené řádky", |
DlgCellCollSpan : "Sloučené sloupce", |
DlgCellBackColor : "Barva pozadí", |
DlgCellBorderColor : "Barva ohraničení", |
DlgCellBtnSelect : "Výběr...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Najít a nahradit", |
DlgFindAndReplaceTitle : "Najít a nahradit", |
// Find Dialog |
DlgFindTitle : "Hledat", |
DlgFindFindBtn : "Hledat", |
DlgFindNotFoundMsg : "Hledaný text nebyl nalezen.", |
DlgFindNotFoundMsg : "Hledaný text nebyl nalezen.", |
// Replace Dialog |
DlgReplaceTitle : "Nahradit", |
DlgReplaceFindLbl : "Co hledat:", |
DlgReplaceReplaceLbl : "Äím nahradit:", |
DlgReplaceCaseChk : "RozliÅ¡ovat velikost písma", |
DlgReplaceReplaceLbl : "Čím nahradit:", |
DlgReplaceCaseChk : "Rozlišovat velikost písma", |
DlgReplaceReplaceBtn : "Nahradit", |
DlgReplaceReplAllBtn : "Nahradit vše", |
DlgReplaceWordChk : "Pouze celá slova", |
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).", |
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", |
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", |
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", |
// Color Picker |
ColorAutomatic : "Automaticky", |
ColorMoreColors : "Více barev...", |
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", |
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", |
DlgSpellNotInDic : "Není ve slovníku", |
DlgSpellChangeTo : "Změnit na", |
DlgSpellBtnIgnore : "Přeskočit", |
DlgSpellBtnIgnoreAll : "Přeskakovat vše", |
385,39 → 393,39 |
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", |
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?", |
IeSpellDownload : "Kontrola pravopisu není nainstalována. Chcete ji nyní stáhnout?", |
// Button Dialog |
DlgButtonText : "Popisek", |
DlgButtonType : "Typ", |
DlgButtonTypeBtn : "TlaÄítko", |
DlgButtonTypeBtn : "Tlačítko", |
DlgButtonTypeSbm : "Odeslat", |
DlgButtonTypeRst : "Obnovit", |
// Checkbox and Radio Button Dialogs |
DlgCheckboxName : "Název", |
DlgCheckboxName : "Název", |
DlgCheckboxValue : "Hodnota", |
DlgCheckboxSelected : "Zaškrtnuto", |
// Form Dialog |
DlgFormName : "Název", |
DlgFormName : "Název", |
DlgFormAction : "Akce", |
DlgFormMethod : "Metoda", |
// Select Field Dialog |
DlgSelectName : "Název", |
DlgSelectName : "Název", |
DlgSelectValue : "Hodnota", |
DlgSelectSize : "Velikost", |
DlgSelectLines : "Åádků", |
DlgSelectChkMulti : "Povolit mnohonásobné výbÄry", |
DlgSelectOpAvail : "Dostupná nastavení", |
DlgSelectLines : "Řádků", |
DlgSelectChkMulti : "Povolit mnohonásobné výběry", |
DlgSelectOpAvail : "Dostupná nastavení", |
DlgSelectOpText : "Text", |
DlgSelectOpValue : "Hodnota", |
DlgSelectBtnAdd : "Přidat", |
428,51 → 436,51 |
DlgSelectBtnDelete : "Smazat", |
// Textarea Dialog |
DlgTextareaName : "Název", |
DlgTextareaName : "Název", |
DlgTextareaCols : "Sloupců", |
DlgTextareaRows : "Åádků", |
DlgTextareaRows : "Řádků", |
// Text Field Dialog |
DlgTextName : "Název", |
DlgTextName : "Název", |
DlgTextValue : "Hodnota", |
DlgTextCharWidth : "Å íÅka ve znacích", |
DlgTextMaxChars : "Maximální poÄet znaků", |
DlgTextCharWidth : "Šířka ve znacích", |
DlgTextMaxChars : "Maximální počet znaků", |
DlgTextType : "Typ", |
DlgTextTypeText : "Text", |
DlgTextTypePass : "Heslo", |
// Hidden Field Dialog |
DlgHiddenName : "Název", |
DlgHiddenName : "Název", |
DlgHiddenValue : "Hodnota", |
// Bulleted List Dialog |
BulletedListProp : "Vlastnosti odrážek", |
NumberedListProp : "Vlastnosti Äíslovaného seznamu", |
DlgLstStart : "ZaÄátek", |
BulletedListProp : "Vlastnosti odrážek", |
NumberedListProp : "Vlastnosti číslovaného seznamu", |
DlgLstStart : "Začátek", |
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)", |
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í", |
DlgDocGeneralTab : "Obecné", |
DlgDocBackTab : "Pozadí", |
DlgDocColorsTab : "Barvy a okraje", |
DlgDocMetaTab : "Metadata", |
DlgDocPageTitle : "Titulek stránky", |
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)", |
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", |
479,48 → 487,48 |
DlgDocCharSetKR : "Korejština", |
DlgDocCharSetTR : "Turečtina", |
DlgDocCharSetUN : "Unicode (UTF-8)", |
DlgDocCharSetWE : "Západoevropské jazyky", |
DlgDocCharSetOther : "DalÅ¡í znaková sada", |
DlgDocCharSetWE : "Západoevropské jazyky", |
DlgDocCharSetOther : "Další znaková sada", |
DlgDocDocType : "Typ dokumentu", |
DlgDocDocTypeOther : "Jiný typ dokumetu", |
DlgDocDocTypeOther : "Jiný typ dokumetu", |
DlgDocIncXHTML : "Zahrnou deklarace XHTML", |
DlgDocBgColor : "Barva pozadí", |
DlgDocBgImage : "URL obrázku na pozadí", |
DlgDocBgNoScroll : "Nerolovatelné pozadí", |
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)", |
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", |
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", |
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", |
DlgAboutBrowserInfoTab : "Informace o prohlížeči", |
DlgAboutLicenseTab : "Licence", |
DlgAboutVersion : "verze", |
DlgAboutInfo : "Více informací získáte na", |
DlgAboutInfo : "Více informací získáte na", |
// Div Dialog |
DlgDivGeneralTab : "Obecné", |
DlgDivAdvancedTab : "RozÅ¡íÅené", |
DlgDivGeneralTab : "Obecné", |
DlgDivAdvancedTab : "Rozšířené", |
DlgDivStyle : "Styl", |
DlgDivInlineStyle : "Vložený styl" |
DlgDivInlineStyle : "Vložený styl" |
}; |
/trunk/api/fckeditor/editor/lang/en-au.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Cell padding", |
DlgTableCaption : "Caption", |
DlgTableSummary : "Summary", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Cell Properties", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Middle", |
DlgCellVerAlignBottom : "Bottom", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", |
DlgCellTypeData : "Data", |
DlgCellTypeHeader : "Header", |
DlgCellRowSpan : "Rows Span", |
DlgCellCollSpan : "Columns Span", |
DlgCellBackColor : "Background Colour", |
/trunk/api/fckeditor/editor/lang/es.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
306,8 → 306,13 |
DlgTableHeight : "Altura", |
DlgTableCellSpace : "Esp. e/celdas", |
DlgTableCellPad : "Esp. interior", |
DlgTableCaption : "Título", |
DlgTableSummary : "Síntesis", |
DlgTableCaption : "Título", |
DlgTableSummary : "Síntesis", |
DlgTableHeaders : "Encabezados", |
DlgTableHeadersNone : "Ninguno", |
DlgTableHeadersColumn : "Primera columna", |
DlgTableHeadersRow : "Primera fila", |
DlgTableHeadersBoth : "Ambas", |
// Table Cell Dialog |
DlgCellTitle : "Propiedades de Celda", |
315,21 → 320,24 |
DlgCellWidthPx : "pixeles", |
DlgCellWidthPc : "porcentaje", |
DlgCellHeight : "Altura", |
DlgCellWordWrap : "Cortar Línea", |
DlgCellWordWrap : "Cortar Línea", |
DlgCellWordWrapNotSet : "<No establecido>", |
DlgCellWordWrapYes : "Si", |
DlgCellWordWrapNo : "No", |
DlgCellHorAlign : "Alineación Horizontal", |
DlgCellHorAlign : "Alineación Horizontal", |
DlgCellHorAlignNotSet : "<No establecido>", |
DlgCellHorAlignLeft : "Izquierda", |
DlgCellHorAlignCenter : "Centrado", |
DlgCellHorAlignRight: "Derecha", |
DlgCellVerAlign : "Alineación Vertical", |
DlgCellVerAlign : "Alineación Vertical", |
DlgCellVerAlignNotSet : "<Not establecido>", |
DlgCellVerAlignTop : "Tope", |
DlgCellVerAlignMiddle : "Medio", |
DlgCellVerAlignBottom : "ie", |
DlgCellVerAlignBaseline : "Línea de Base", |
DlgCellVerAlignBaseline : "Línea de Base", |
DlgCellType : "Tipo de celda", |
DlgCellTypeData : "Datos", |
DlgCellTypeHeader : "Encabezado", |
DlgCellRowSpan : "Abarcar Filas", |
DlgCellCollSpan : "Abarcar Columnas", |
DlgCellBackColor : "Color de Fondo", |
/trunk/api/fckeditor/editor/lang/km.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "គែមសែល", |
DlgTableCaption : "ចំណងជើង", |
DlgTableSummary : "សេចក្តីសង្ខេប", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "ការកំណត់ សែល", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "កណ្តាល", |
DlgCellVerAlignBottom : "ខាងក្រោម", |
DlgCellVerAlignBaseline : "បន្ទាត់ជាមូលដ្ឋាន", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "បញ្ជូលជួរផ្តេក", |
DlgCellCollSpan : "បញ្ជូលជួរឈរ", |
DlgCellBackColor : "ពណ៌ផ្នែកខាងក្រោម", |
/trunk/api/fckeditor/editor/lang/eu.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
41,11 → 41,11 |
PasteWord : "Itsatsi Word-etik", |
Print : "Inprimatu", |
SelectAll : "Hautatu dena", |
RemoveFormat : "Kendu Formatoa", |
RemoveFormat : "Kendu Formatua", |
InsertLinkLbl : "Esteka", |
InsertLink : "Txertatu/Editatu Esteka", |
RemoveLink : "Kendu Esteka", |
VisitLink : "Open Link", //MISSING |
VisitLink : "Ireki Esteka", |
Anchor : "Aingura", |
AnchorDelete : "Ezabatu Aingura", |
InsertImageLbl : "Irudia", |
74,9 → 74,9 |
DecreaseIndent : "Txikitu Koska", |
IncreaseIndent : "Handitu Koska", |
Blockquote : "Aipamen blokea", |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
CreateDiv : "Sortu Div Edukitzailea", |
EditDiv : "Editatu Div Edukitzailea", |
DeleteDiv : "Ezabatu Div Edukitzailea", |
Undo : "Desegin", |
Redo : "Berregin", |
NumberedListLbl : "Zenbakidun Zerrenda", |
86,7 → 86,7 |
ShowTableBorders : "Erakutsi Taularen Ertzak", |
ShowDetails : "Erakutsi Xehetasunak", |
Style : "Estiloa", |
FontFormat : "Formatoa", |
FontFormat : "Formatua", |
Font : "Letra-tipoa", |
FontSize : "Tamaina", |
TextColor : "Testu Kolorea", |
153,16 → 153,16 |
// 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?", |
PasteWordConfirm : "Itsatsi nahi duzun testua 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.", |
NoActiveX : "Zure nabigatzailearen segurtasun hobespenak editore honen zenbait ezaugarri mugatu ditzake. \"ActiveX kontrolak eta pluginak\" 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.", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
VisitLinkBlocked : "Ezin da leiho berri bat ireki. Ziurtatu popup blokeatzaileak desgaituta dituzula.", |
// Dialogs |
DlgBtnOK : "Ados", |
197,7 → 197,7 |
DlgImgBtnUpload : "Zerbitzarira bidalia", |
DlgImgURL : "URL", |
DlgImgUpload : "Gora Kargatu", |
DlgImgAlt : "Textu Alternatiboa", |
DlgImgAlt : "Ordezko Testua", |
DlgImgWidth : "Zabalera", |
DlgImgHeight : "Altuera", |
DlgImgLockRatio : "Erlazioa Blokeatu", |
226,7 → 226,7 |
DlgFlashChkMenu : "Flasharen Menua Gaitu", |
DlgFlashScale : "Eskalatu", |
DlgFlashScaleAll : "Dena erakutsi", |
DlgFlashScaleNoBorder : "Ertzarik gabe", |
DlgFlashScaleNoBorder : "Ertzik gabe", |
DlgFlashScaleFit : "Doitu", |
// Link Dialog |
236,7 → 236,7 |
DlgLnkType : "Esteka Mota", |
DlgLnkTypeURL : "URL", |
DlgLnkTypeAnchor : "Aingura horrialde honentan", |
DlgLnkTypeAnchor : "Aingura orrialde honetan", |
DlgLnkTypeEMail : "ePosta", |
DlgLnkProto : "Protokoloa", |
DlgLnkProtoOther : "<Beste batzuk>", |
253,14 → 253,14 |
DlgLnkTarget : "Target (Helburua)", |
DlgLnkTargetFrame : "<marko>", |
DlgLnkTargetPopup : "<popup lehioa>", |
DlgLnkTargetBlank : "Lehio Berria (_blank)", |
DlgLnkTargetParent : "Lehio Gurasoa (_parent)", |
DlgLnkTargetSelf : "Lehio Berdina (_self)", |
DlgLnkTargetTop : "Goiko Lehioa (_top)", |
DlgLnkTargetPopup : "<popup leihoa>", |
DlgLnkTargetBlank : "Leiho Berria (_blank)", |
DlgLnkTargetParent : "Leiho Gurasoa (_parent)", |
DlgLnkTargetSelf : "Leiho Berdina (_self)", |
DlgLnkTargetTop : "Goiko Leihoa (_top)", |
DlgLnkTargetFrameName : "Marko Helburuaren Izena", |
DlgLnkPopWinName : "Popup Lehioaren Izena", |
DlgLnkPopWinFeat : "Popup Lehioaren Ezaugarriak", |
DlgLnkPopWinName : "Popup Leihoaren Izena", |
DlgLnkPopWinFeat : "Popup Leihoaren Ezaugarriak", |
DlgLnkPopResize : "Tamaina Aldakorra", |
DlgLnkPopLocation : "Kokaleku Barra", |
DlgLnkPopMenu : "Menu Barra", |
277,7 → 277,7 |
DlnLnkMsgNoUrl : "Mesedez URL esteka idatzi", |
DlnLnkMsgNoEMail : "Mesedez ePosta helbidea idatzi", |
DlnLnkMsgNoAnchor : "Mesedez aingura bat aukeratu", |
DlnLnkMsgInvPopName : "Popup lehioaren izenak karaktere alfabetiko batekin hasi behar du eta eta ezin du zuriunerik izan", |
DlnLnkMsgInvPopName : "Popup leihoaren izenak karaktere alfabetiko batekin hasi behar du eta eta ezin du zuriunerik izan", |
// Color Dialog |
DlgColorTitle : "Kolore Aukeraketa", |
309,6 → 309,11 |
DlgTableCellPad : "Gelaxken betegarria", |
DlgTableCaption : "Epigrafea", |
DlgTableSummary : "Laburpena", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Gelaxken Ezaugarriak", |
320,7 → 325,7 |
DlgCellWordWrapNotSet : "<Ezarri gabe>", |
DlgCellWordWrapYes : "Bai", |
DlgCellWordWrapNo : "Ez", |
DlgCellHorAlign : "Horizontal Alignment", |
DlgCellHorAlign : "Lerrokatu Horizontalki", |
DlgCellHorAlignNotSet : "<Ezarri gabe>", |
DlgCellHorAlignLeft : "Ezkerrean", |
DlgCellHorAlignCenter : "Erdian", |
330,12 → 335,15 |
DlgCellVerAlignTop : "Goian", |
DlgCellVerAlignMiddle : "Erdian", |
DlgCellVerAlignBottom : "Behean", |
DlgCellVerAlignBaseline : "Oinan", |
DlgCellVerAlignBaseline : "Oinean", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Lerroak Hedatu", |
DlgCellCollSpan : "Zutabeak Hedatu", |
DlgCellBackColor : "Atzeko Kolorea", |
DlgCellBorderColor : "Ertzako Kolorea", |
DlgCellBtnSelect : "Aukertau...", |
DlgCellBtnSelect : "Aukeratu...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Bilatu eta Ordeztu", |
410,7 → 418,7 |
// Form Dialog |
DlgFormName : "Izena", |
DlgFormAction : "Ekintza", |
DlgFormMethod : "Method", |
DlgFormMethod : "Metodoa", |
// Select Field Dialog |
DlgSelectName : "Izena", |
462,7 → 470,7 |
// Document Properties Dialog |
DlgDocGeneralTab : "Orokorra", |
DlgDocBackTab : "Atzekaldea", |
DlgDocBackTab : "Atzealdea", |
DlgDocColorsTab : "Koloreak eta Marjinak", |
DlgDocMetaTab : "Meta Informazioa", |
488,7 → 496,7 |
DlgDocIncXHTML : "XHTML Ezarpenak", |
DlgDocBgColor : "Atzeko Kolorea", |
DlgDocBgImage : "Atzeko Irudiaren URL-a", |
DlgDocBgNoScroll : "Korritze gabeko Atzekaldea", |
DlgDocBgNoScroll : "Korritze gabeko Atzealdea", |
DlgDocCText : "Testua", |
DlgDocCLink : "Estekak", |
DlgDocCVisited : "Bisitatutako Estekak", |
520,8 → 528,8 |
DlgAboutInfo : "Informazio gehiago eskuratzeko hona joan", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
DlgDivAdvancedTab : "Advanced", //MISSING |
DlgDivStyle : "Style", //MISSING |
DlgDivInlineStyle : "Inline Style" //MISSING |
DlgDivGeneralTab : "Orokorra", |
DlgDivAdvancedTab : "Aurreratua", |
DlgDivStyle : "Estiloa", |
DlgDivInlineStyle : "Inline Estiloa" |
}; |
/trunk/api/fckeditor/editor/lang/ko.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "셀 여백", |
DlgTableCaption : "캡션", |
DlgTableSummary : "Summary", //MISSING |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "셀 설정", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "중간", |
DlgCellVerAlignBottom : "아래", |
DlgCellVerAlignBaseline : "기준선", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "세로 합치기", |
DlgCellCollSpan : "가로 합치기", |
DlgCellBackColor : "배경 색상", |
/trunk/api/fckeditor/editor/lang/is.js |
---|
New file |
0,0 → 1,534 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2009 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 == |
* |
* Icelandic language file. |
*/ |
var FCKLang = |
{ |
// Language direction : "ltr" (left to right) or "rtl" (right to left). |
Dir : "ltr", |
ToolbarCollapse : "Fela verkstiku", |
ToolbarExpand : "Sýna verkstiku", |
// Toolbar Items and Context Menu |
Save : "Vista", |
NewPage : "Ný síða", |
Preview : "Forskoða", |
Cut : "Klippa", |
Copy : "Afrita", |
Paste : "Líma", |
PasteText : "Líma ósniðinn texta", |
PasteWord : "Líma úr Word", |
Print : "Prenta", |
SelectAll : "Velja allt", |
RemoveFormat : "Fjarlægja snið", |
InsertLinkLbl : "Stikla", |
InsertLink : "Stofna/breyta stiklu", |
RemoveLink : "Fjarlægja stiklu", |
VisitLink : "Opna stiklusíðu", |
Anchor : "Stofna/breyta kaflamerki", |
AnchorDelete : "Eyða kaflamerki", |
InsertImageLbl : "Setja inn mynd", |
InsertImage : "Setja inn/breyta mynd", |
InsertFlashLbl : "Flash", |
InsertFlash : "Setja inn/breyta Flash", |
InsertTableLbl : "Tafla", |
InsertTable : "Setja inn/breyta töflu", |
InsertLineLbl : "Lína", |
InsertLine : "Lóðrétt lína", |
InsertSpecialCharLbl: "Merki", |
InsertSpecialChar : "Setja inn merki", |
InsertSmileyLbl : "Svipur", |
InsertSmiley : "Setja upp svip", |
About : "Um FCKeditor", |
Bold : "Feitletrað", |
Italic : "Skáletrað", |
Underline : "Undirstrikað", |
StrikeThrough : "Yfirstrikað", |
Subscript : "Niðurskrifað", |
Superscript : "Uppskrifað", |
LeftJustify : "Vinstrijöfnun", |
CenterJustify : "Miðja texta", |
RightJustify : "Hægrijöfnun", |
BlockJustify : "Jafna báðum megin", |
DecreaseIndent : "Auka inndrátt", |
IncreaseIndent : "Minnka inndrátt", |
Blockquote : "Inndráttur", |
CreateDiv : "Búa til DIV-hýsil", |
EditDiv : "Breyta DIV-hýsli", |
DeleteDiv : "Eyða DIV-hýsli", |
Undo : "Afturkalla", |
Redo : "Hætta við afturköllun", |
NumberedListLbl : "Númeraður listi", |
NumberedList : "Setja inn/fella númeraðan lista", |
BulletedListLbl : "Punktalisti", |
BulletedList : "Setja inn/fella punktalista", |
ShowTableBorders : "Sýna töflugrind", |
ShowDetails : "Sýna smáatriði", |
Style : "Stílflokkur", |
FontFormat : "Stílsnið", |
Font : "Leturgerð ", |
FontSize : "Leturstærð ", |
TextColor : "Litur texta", |
BGColor : "Bakgrunnslitur", |
Source : "Kóði", |
Find : "Leita", |
Replace : "Skipta út", |
SpellCheck : "Villuleit", |
UniversalKeyboard : "Hnattrænt lyklaborð", |
PageBreakLbl : "Síðuskil", |
PageBreak : "Setja inn síðuskil", |
Form : "Setja inn innsláttarform", |
Checkbox : "Setja inn hökunarreit", |
RadioButton : "Setja inn valhnapp", |
TextField : "Setja inn textareit", |
Textarea : "Setja inn textasvæði", |
HiddenField : "Setja inn falið svæði", |
Button : "Setja inn hnapp", |
SelectionField : "Setja inn lista", |
ImageButton : "Setja inn myndahnapp", |
FitWindow : "Skoða ritil í fullri stærð", |
ShowBlocks : "Sýna blokkir", |
// Context Menu |
EditLink : "Breyta stiklu", |
CellCM : "Reitur", |
RowCM : "Röð", |
ColumnCM : "Dálkur", |
InsertRowAfter : "Skjóta inn röð fyrir neðan", |
InsertRowBefore : "Skjóta inn röð fyrir ofan", |
DeleteRows : "Eyða röð", |
InsertColumnAfter : "Skjóta inn dálki hægra megin", |
InsertColumnBefore : "Skjóta inn dálki vinstra megin", |
DeleteColumns : "Fella dálk", |
InsertCellAfter : "Skjóta inn reiti fyrir framan", |
InsertCellBefore : "Skjóta inn reiti fyrir aftan", |
DeleteCells : "Fella reit", |
MergeCells : "Sameina reiti", |
MergeRight : "Sameina til hægri", |
MergeDown : "Sameina niður á við", |
HorizontalSplitCell : "Kljúfa reit lárétt", |
VerticalSplitCell : "Kljúfa reit lóðrétt", |
TableDelete : "Fella töflu", |
CellProperties : "Eigindi reits", |
TableProperties : "Eigindi töflu", |
ImageProperties : "Eigindi myndar", |
FlashProperties : "Eigindi Flash", |
AnchorProp : "Eigindi kaflamerkis", |
ButtonProp : "Eigindi hnapps", |
CheckboxProp : "Eigindi markreits", |
HiddenFieldProp : "Eigindi falins svæðis", |
RadioButtonProp : "Eigindi valhnapps", |
ImageButtonProp : "Eigindi myndahnapps", |
TextFieldProp : "Eigindi textareits", |
SelectionFieldProp : "Eigindi lista", |
TextareaProp : "Eigindi textasvæðis", |
FormProp : "Eigindi innsláttarforms", |
FontFormats : "Venjulegt letur;Forsniðið;Vistfang;Fyrirsögn 1;Fyrirsögn 2;Fyrirsögn 3;Fyrirsögn 4;Fyrirsögn 5;Fyrirsögn 6;Venjulegt (DIV)", |
// Alerts and Messages |
ProcessingXHTML : "Meðhöndla XHTML...", |
Done : "Tilbúið", |
PasteWordConfirm : "Textinn sem þú ætlar að líma virðist koma úr Word. Viltu hreinsa óþarfar Word-skipanir úr honum?", |
NotCompatiblePaste : "Þessi aðgerð er bundin við Internet Explorer 5.5 og nýrri. Viltu líma textann án þess að hreinsa hann?", |
UnknownToolbarItem : "Óþekktur hlutur í verkstiku \"%1\"!", |
UnknownCommand : "Óþekkt skipanaheiti \"%1\"!", |
NotImplemented : "Skipun ekki virkjuð!", |
UnknownToolbarSet : "Verkstikan \"%1\" ekki til!", |
NoActiveX : "Öryggisstillingarnar í vafranum þínum leyfa ekki alla möguleika ritilsins.<br>Láttu vafrann leyfa Active-X og viðbætur til að komast hjá villum og takmörkunum.", |
BrowseServerBlocked : "Ritillinn getur ekki opnað nauðsynlega hjálparglugga!<br>Láttu hann leyfa þessari síðu að opna sprettiglugga.", |
DialogBlocked : "Ekki var hægt að opna skipanaglugga!<br>Nauðsynlegt er að leyfa síðunni að opna sprettiglugga.", |
VisitLinkBlocked : "Ekki var hægt að opna nýjan glugga. Gangtu úr skugga um að engir sprettigluggabanar séu virkir.", |
// Dialogs |
DlgBtnOK : "Í lagi", |
DlgBtnCancel : "Hætta við", |
DlgBtnClose : "Loka", |
DlgBtnBrowseServer : "Fletta í skjalasafni", |
DlgAdvancedTag : "Tæknilegt", |
DlgOpOther : "<Annað>", |
DlgInfoTab : "Upplýsingar", |
DlgAlertUrl : "Sláðu inn slóð", |
// General Dialogs Labels |
DlgGenNotSet : "<ekkert valið>", |
DlgGenId : "Auðkenni", |
DlgGenLangDir : "Lesstefna", |
DlgGenLangDirLtr : "Frá vinstri til hægri (LTR)", |
DlgGenLangDirRtl : "Frá hægri til vinstri (RTL)", |
DlgGenLangCode : "Tungumálakóði", |
DlgGenAccessKey : "Skammvalshnappur", |
DlgGenName : "Nafn", |
DlgGenTabIndex : "Raðnúmer innsláttarreits", |
DlgGenLongDescr : "Nánari lýsing", |
DlgGenClass : "Stílsniðsflokkur", |
DlgGenTitle : "Titill", |
DlgGenContType : "Tegund innihalds", |
DlgGenLinkCharset : "Táknróf", |
DlgGenStyle : "Stíll", |
// Image Dialog |
DlgImgTitle : "Eigindi myndar", |
DlgImgInfoTab : "Almennt", |
DlgImgBtnUpload : "Hlaða upp", |
DlgImgURL : "Vefslóð", |
DlgImgUpload : "Hlaða upp", |
DlgImgAlt : "Baklægur texti", |
DlgImgWidth : "Breidd", |
DlgImgHeight : "Hæð", |
DlgImgLockRatio : "Festa stærðarhlutfall", |
DlgBtnResetSize : "Reikna stærð", |
DlgImgBorder : "Rammi", |
DlgImgHSpace : "Vinstri bil", |
DlgImgVSpace : "Hægri bil", |
DlgImgAlign : "Jöfnun", |
DlgImgAlignLeft : "Vinstri", |
DlgImgAlignAbsBottom: "Abs neðst", |
DlgImgAlignAbsMiddle: "Abs miðjuð", |
DlgImgAlignBaseline : "Grunnlína", |
DlgImgAlignBottom : "Neðst", |
DlgImgAlignMiddle : "Miðjuð", |
DlgImgAlignRight : "Hægri", |
DlgImgAlignTextTop : "Efri brún texta", |
DlgImgAlignTop : "Efst", |
DlgImgPreview : "Sýna dæmi", |
DlgImgAlertUrl : "Sláðu inn slóðina að myndinni", |
DlgImgLinkTab : "Stikla", |
// Flash Dialog |
DlgFlashTitle : "Eigindi Flash", |
DlgFlashChkPlay : "Sjálfvirk spilun", |
DlgFlashChkLoop : "Endurtekning", |
DlgFlashChkMenu : "Sýna Flash-valmynd", |
DlgFlashScale : "Skali", |
DlgFlashScaleAll : "Sýna allt", |
DlgFlashScaleNoBorder : "Án ramma", |
DlgFlashScaleFit : "Fella skala að stærð", |
// Link Dialog |
DlgLnkWindowTitle : "Stikla", |
DlgLnkInfoTab : "Almennt", |
DlgLnkTargetTab : "Mark", |
DlgLnkType : "Stikluflokkur", |
DlgLnkTypeURL : "Vefslóð", |
DlgLnkTypeAnchor : "Bókamerki á þessari síðu", |
DlgLnkTypeEMail : "Netfang", |
DlgLnkProto : "Samskiptastaðall", |
DlgLnkProtoOther : "<annað>", |
DlgLnkURL : "Vefslóð", |
DlgLnkAnchorSel : "Veldu akkeri", |
DlgLnkAnchorByName : "Eftir akkerisnafni", |
DlgLnkAnchorById : "Eftir auðkenni einingar", |
DlgLnkNoAnchors : "<Engin bókamerki á skrá>", |
DlgLnkEMail : "Netfang", |
DlgLnkEMailSubject : "Efni", |
DlgLnkEMailBody : "Meginmál", |
DlgLnkUpload : "Senda upp", |
DlgLnkBtnUpload : "Senda upp", |
DlgLnkTarget : "Mark", |
DlgLnkTargetFrame : "<rammi>", |
DlgLnkTargetPopup : "<sprettigluggi>", |
DlgLnkTargetBlank : "Nýr gluggi (_blank)", |
DlgLnkTargetParent : "Yfirsettur rammi (_parent)", |
DlgLnkTargetSelf : "Sami gluggi (_self)", |
DlgLnkTargetTop : "Allur glugginn (_top)", |
DlgLnkTargetFrameName : "Nafn markglugga", |
DlgLnkPopWinName : "Nafn sprettiglugga", |
DlgLnkPopWinFeat : "Eigindi sprettiglugga", |
DlgLnkPopResize : "Skölun", |
DlgLnkPopLocation : "Fanglína", |
DlgLnkPopMenu : "Vallína", |
DlgLnkPopScroll : "Skrunstikur", |
DlgLnkPopStatus : "Stöðustika", |
DlgLnkPopToolbar : "Verkfærastika", |
DlgLnkPopFullScrn : "Heilskjár (IE)", |
DlgLnkPopDependent : "Háð venslum (Netscape)", |
DlgLnkPopWidth : "Breidd", |
DlgLnkPopHeight : "Hæð", |
DlgLnkPopLeft : "Fjarlægð frá vinstri", |
DlgLnkPopTop : "Fjarlægð frá efri brún", |
DlnLnkMsgNoUrl : "Sláðu inn veffang stiklunnar!", |
DlnLnkMsgNoEMail : "Sláðu inn netfang!", |
DlnLnkMsgNoAnchor : "Veldu fyrst eitthvert bókamerki!", |
DlnLnkMsgInvPopName : "Sprettisíðan verður að byrja á bókstaf (a-z) og má ekki innihalda stafabil", |
// Color Dialog |
DlgColorTitle : "Velja lit", |
DlgColorBtnClear : "Núllstilla", |
DlgColorHighlight : "Litmerkja", |
DlgColorSelected : "Valið", |
// Smiley Dialog |
DlgSmileyTitle : "Velja svip", |
// Special Character Dialog |
DlgSpecialCharTitle : "Velja tákn", |
// Table Dialog |
DlgTableTitle : "Eigindi töflu", |
DlgTableRows : "Raðir", |
DlgTableColumns : "Dálkar", |
DlgTableBorder : "Breidd ramma", |
DlgTableAlign : "Jöfnun", |
DlgTableAlignNotSet : "<ekkert valið>", |
DlgTableAlignLeft : "Vinstrijafnað", |
DlgTableAlignCenter : "Miðjað", |
DlgTableAlignRight : "Hægrijafnað", |
DlgTableWidth : "Breidd", |
DlgTableWidthPx : "myndeindir", |
DlgTableWidthPc : "prósent", |
DlgTableHeight : "Hæð", |
DlgTableCellSpace : "Bil milli reita", |
DlgTableCellPad : "Reitaspássía", |
DlgTableCaption : "Titill", |
DlgTableSummary : "Áfram", |
DlgTableHeaders : "Fyrirsagnir", |
DlgTableHeadersNone : "Engar", |
DlgTableHeadersColumn : "Fyrsti dálkur", |
DlgTableHeadersRow : "Fyrsta röð", |
DlgTableHeadersBoth : "Hvort tveggja", |
// Table Cell Dialog |
DlgCellTitle : "Eigindi reits", |
DlgCellWidth : "Breidd", |
DlgCellWidthPx : "myndeindir", |
DlgCellWidthPc : "prósent", |
DlgCellHeight : "Hæð", |
DlgCellWordWrap : "Línuskipting", |
DlgCellWordWrapNotSet : "<ekkert valið>", |
DlgCellWordWrapYes : "Já", |
DlgCellWordWrapNo : "Nei", |
DlgCellHorAlign : "Lárétt jöfnun", |
DlgCellHorAlignNotSet : "<ekkert valið>", |
DlgCellHorAlignLeft : "Vinstrijafnað", |
DlgCellHorAlignCenter : "Miðjað", |
DlgCellHorAlignRight: "Hægrijafnað", |
DlgCellVerAlign : "Lóðrétt jöfnun", |
DlgCellVerAlignNotSet : "<ekkert valið>", |
DlgCellVerAlignTop : "Efst", |
DlgCellVerAlignMiddle : "Miðjað", |
DlgCellVerAlignBottom : "Neðst", |
DlgCellVerAlignBaseline : "Grunnlína", |
DlgCellType : "Tegund reits", |
DlgCellTypeData : "Gögn", |
DlgCellTypeHeader : "Fyrirsögn", |
DlgCellRowSpan : "Hæð í röðum talið", |
DlgCellCollSpan : "Breidd í dálkum talið", |
DlgCellBackColor : "Bakgrunnslitur", |
DlgCellBorderColor : "Rammalitur", |
DlgCellBtnSelect : "Veldu...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Finna og skipta", |
// Find Dialog |
DlgFindTitle : "Finna", |
DlgFindFindBtn : "Finna", |
DlgFindNotFoundMsg : "Leitartexti fannst ekki!", |
// Replace Dialog |
DlgReplaceTitle : "Skipta út", |
DlgReplaceFindLbl : "Leita að:", |
DlgReplaceReplaceLbl : "Skipta út fyrir:", |
DlgReplaceCaseChk : "Gera greinarmun á¡ há¡- og lágstöfum", |
DlgReplaceReplaceBtn : "Skipta út", |
DlgReplaceReplAllBtn : "Skipta út allsstaðar", |
DlgReplaceWordChk : "Aðeins heil orð", |
// Paste Operations / Dialog |
PasteErrorCut : "Öryggisstillingar vafrans þíns leyfa ekki klippingu texta með músaraðgerð. Notaðu lyklaborðið í klippa (Ctrl+X).", |
PasteErrorCopy : "Öryggisstillingar vafrans þíns leyfa ekki afritun texta með músaraðgerð. Notaðu lyklaborðið í afrita (Ctrl+C).", |
PasteAsText : "Líma sem ósniðinn texta", |
PasteFromWord : "Líma úr Word", |
DlgPasteMsg2 : "Límdu í svæðið hér að neðan og (<STRONG>Ctrl+V</STRONG>) og smelltu á <STRONG>OK</STRONG>.", |
DlgPasteSec : "Vegna öryggisstillinga í vafranum þínum fær ritillinn ekki beinan aðgang að klippuborðinu. Þú verður að líma innihaldið aftur inn í þennan glugga.", |
DlgPasteIgnoreFont : "Hunsa leturskilgreiningar", |
DlgPasteRemoveStyles : "Hunsa letureigindi", |
// Color Picker |
ColorAutomatic : "Sjálfval", |
ColorMoreColors : "Fleiri liti...", |
// Document Properties |
DocProps : "Eigindi skjals", |
// Anchor Dialog |
DlgAnchorTitle : "Eigindi bókamerkis", |
DlgAnchorName : "Nafn bókamerkis", |
DlgAnchorErrorName : "Sláðu inn nafn bókamerkis!", |
// Speller Pages Dialog |
DlgSpellNotInDic : "Ekki í orðabókinni", |
DlgSpellChangeTo : "Tillaga", |
DlgSpellBtnIgnore : "Hunsa", |
DlgSpellBtnIgnoreAll : "Hunsa allt", |
DlgSpellBtnReplace : "Skipta", |
DlgSpellBtnReplaceAll : "Skipta öllu", |
DlgSpellBtnUndo : "Til baka", |
DlgSpellNoSuggestions : "- engar tillögur -", |
DlgSpellProgress : "Villuleit í gangi...", |
DlgSpellNoMispell : "Villuleit lokið: Engin villa fannst", |
DlgSpellNoChanges : "Villuleit lokið: Engu orði breytt", |
DlgSpellOneChange : "Villuleit lokið: Einu orði breytt", |
DlgSpellManyChanges : "Villuleit lokið: %1 orðum breytt", |
IeSpellDownload : "Villuleit ekki sett upp.<br>Viltu setja hana upp?", |
// Button Dialog |
DlgButtonText : "Texti", |
DlgButtonType : "Gerð", |
DlgButtonTypeBtn : "Hnappur", |
DlgButtonTypeSbm : "Staðfesta", |
DlgButtonTypeRst : "Hreinsa", |
// Checkbox and Radio Button Dialogs |
DlgCheckboxName : "Nafn", |
DlgCheckboxValue : "Gildi", |
DlgCheckboxSelected : "Valið", |
// Form Dialog |
DlgFormName : "Nafn", |
DlgFormAction : "Aðgerð", |
DlgFormMethod : "Aðferð", |
// Select Field Dialog |
DlgSelectName : "Nafn", |
DlgSelectValue : "Gildi", |
DlgSelectSize : "Stærð", |
DlgSelectLines : "línur", |
DlgSelectChkMulti : "Leyfa fleiri kosti", |
DlgSelectOpAvail : "Kostir", |
DlgSelectOpText : "Texti", |
DlgSelectOpValue : "Gildi", |
DlgSelectBtnAdd : "Bæta við", |
DlgSelectBtnModify : "Breyta", |
DlgSelectBtnUp : "Upp", |
DlgSelectBtnDown : "Niður", |
DlgSelectBtnSetValue : "Merkja sem valið", |
DlgSelectBtnDelete : "Eyða", |
// Textarea Dialog |
DlgTextareaName : "Nafn", |
DlgTextareaCols : "Dálkar", |
DlgTextareaRows : "Línur", |
// Text Field Dialog |
DlgTextName : "Nafn", |
DlgTextValue : "Gildi", |
DlgTextCharWidth : "Breidd (leturtákn)", |
DlgTextMaxChars : "Hámarksfjöldi leturtákna", |
DlgTextType : "Gerð", |
DlgTextTypeText : "Texti", |
DlgTextTypePass : "Lykilorð", |
// Hidden Field Dialog |
DlgHiddenName : "Nafn", |
DlgHiddenValue : "Gildi", |
// Bulleted List Dialog |
BulletedListProp : "Eigindi depillista", |
NumberedListProp : "Eigindi tölusetts lista", |
DlgLstStart : "Byrja", |
DlgLstType : "Gerð", |
DlgLstTypeCircle : "Hringur", |
DlgLstTypeDisc : "Fylltur hringur", |
DlgLstTypeSquare : "Ferningur", |
DlgLstTypeNumbers : "Tölusett (1, 2, 3)", |
DlgLstTypeLCase : "Lágstafir (a, b, c)", |
DlgLstTypeUCase : "Hástafir (A, B, C)", |
DlgLstTypeSRoman : "Rómverkar lágstafatölur (i, ii, iii)", |
DlgLstTypeLRoman : "Rómverkar hástafatölur (I, II, III)", |
// Document Properties Dialog |
DlgDocGeneralTab : "Almennt", |
DlgDocBackTab : "Bakgrunnur", |
DlgDocColorsTab : "Litir og rammar", |
DlgDocMetaTab : "Lýsigögn", |
DlgDocPageTitle : "Titill síðu", |
DlgDocLangDir : "Tungumál", |
DlgDocLangDirLTR : "Vinstri til hægri (LTR)", |
DlgDocLangDirRTL : "Hægri til vinstri (RTL)", |
DlgDocLangCode : "Tungumálakóði", |
DlgDocCharSet : "Letursett", |
DlgDocCharSetCE : "Mið-evrópskt", |
DlgDocCharSetCT : "Kínverskt, hefðbundið (Big5)", |
DlgDocCharSetCR : "Kýrilskt", |
DlgDocCharSetGR : "Grískt", |
DlgDocCharSetJP : "Japanskt", |
DlgDocCharSetKR : "Kóreskt", |
DlgDocCharSetTR : "Tyrkneskt", |
DlgDocCharSetUN : "Unicode (UTF-8)", |
DlgDocCharSetWE : "Vestur-evrópst", |
DlgDocCharSetOther : "Annað letursett", |
DlgDocDocType : "Flokkur skjalategunda", |
DlgDocDocTypeOther : "Annar flokkur skjalategunda", |
DlgDocIncXHTML : "Fella inn XHTML lýsingu", |
DlgDocBgColor : "Bakgrunnslitur", |
DlgDocBgImage : "Slóð bakgrunnsmyndar", |
DlgDocBgNoScroll : "Læstur bakgrunnur", |
DlgDocCText : "Texti", |
DlgDocCLink : "Stikla", |
DlgDocCVisited : "Heimsótt stikla", |
DlgDocCActive : "Virk stikla", |
DlgDocMargins : "Hliðarspássía", |
DlgDocMaTop : "Efst", |
DlgDocMaLeft : "Vinstri", |
DlgDocMaRight : "Hægri", |
DlgDocMaBottom : "Neðst", |
DlgDocMeIndex : "Lykilorð efnisorðaskrár (aðgreind með kommum)", |
DlgDocMeDescr : "Lýsing skjals", |
DlgDocMeAuthor : "Höfundur", |
DlgDocMeCopy : "Höfundarréttur", |
DlgDocPreview : "Sýna", |
// Templates Dialog |
Templates : "Sniðmát", |
DlgTemplatesTitle : "Innihaldssniðmát", |
DlgTemplatesSelMsg : "Veldu sniðmát til að opna í ritlinum.<br>(Núverandi innihald víkur fyrir því!):", |
DlgTemplatesLoading : "Sæki lista yfir sniðmát...", |
DlgTemplatesNoTpl : "(Ekkert sniðmát er skilgreint!)", |
DlgTemplatesReplace : "Skipta út raunverulegu innihaldi", |
// About Dialog |
DlgAboutAboutTab : "Um", |
DlgAboutBrowserInfoTab : "Almennt", |
DlgAboutLicenseTab : "Leyfi", |
DlgAboutVersion : "útgáfa", |
DlgAboutInfo : "Nánari upplýsinar, sjá:", |
// Div Dialog |
DlgDivGeneralTab : "Almennt", |
DlgDivAdvancedTab : "Sérhæft", |
DlgDivStyle : "Stíll", |
DlgDivInlineStyle : "Línulægur stíll" |
}; |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
/trunk/api/fckeditor/editor/lang/gu.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "સેલ પૅડિંગ", |
DlgTableCaption : "મથાળું/કૅપ્શન ", |
DlgTableSummary : "ટૂંકો એહેવાલ", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "પંક્તિના ખાનાના ગુણ", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "મધ્ય સેન્ટર", |
DlgCellVerAlignBottom : "નીચે", |
DlgCellVerAlignBaseline : "મૂળ રેખા", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "પંક્તિ સ્પાન", |
DlgCellCollSpan : "કૉલમ/ઊભી કટાર સ્પાન", |
DlgCellBackColor : "બૅકગ્રાઉન્ડ રંગ", |
/trunk/api/fckeditor/editor/lang/hu.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
26,497 → 26,505 |
// 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", |
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", |
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", |
VisitLink : "Open Link", //MISSING |
Anchor : "Horgony beillesztése/szerkesztése", |
AnchorDelete : "Horgony eltávolítása", |
InsertImageLbl : "Kép", |
InsertImage : "Kép beillesztése/módosítása", |
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", |
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", |
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", |
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", |
Underline : "Aláhúzott", |
StrikeThrough : "Áthúzott", |
Subscript : "Alsó index", |
Superscript : "Felső index", |
LeftJustify : "Balra", |
CenterJustify : "Középre", |
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", |
BlockJustify : "Sorkizárt", |
DecreaseIndent : "Behúzás csökkentése", |
IncreaseIndent : "Behúzás növelése", |
Blockquote : "Idézet blokk", |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
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", |
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", |
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", |
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", |
SelectionField : "Legördülő lista", |
ImageButton : "Képgomb", |
FitWindow : "Maximalizálás", |
ShowBlocks : "Blokkok megjelenítése", |
FitWindow : "Maximalizálás", |
ShowBlocks : "Blokkok megjelenítése", |
// Context Menu |
EditLink : "Hivatkozás módosítása", |
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", |
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", |
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)", |
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\"", |
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.", |
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.", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
// 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", |
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", |
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", |
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", |
DlgImgHSpace : "Vízsz. táv", |
DlgImgVSpace : "Függ. táv", |
DlgImgAlign : "Igazítás", |
DlgImgAlignLeft : "Bal", |
DlgImgAlignAbsBottom: "Legaljára", |
DlgImgAlignAbsMiddle: "Közepére", |
DlgImgAlignAbsBottom: "Legaljára", |
DlgImgAlignAbsMiddle: "Közepére", |
DlgImgAlignBaseline : "Alapvonalhoz", |
DlgImgAlignBottom : "Aljára", |
DlgImgAlignMiddle : "Középre", |
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", |
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", |
DlgFlashTitle : "Flash tulajdonságai", |
DlgFlashChkPlay : "Automata lejátszás", |
DlgFlashChkLoop : "Folyamatosan", |
DlgFlashChkMenu : "Flash menü engedélyezése", |
DlgFlashScale : "Méretezés", |
DlgFlashChkMenu : "Flash menü engedélyezése", |
DlgFlashScale : "Méretezés", |
DlgFlashScaleAll : "Mindent mutat", |
DlgFlashScaleNoBorder : "Keret nélkül", |
DlgFlashScaleFit : "Teljes kitöltés", |
DlgFlashScaleNoBorder : "Keret nélkül", |
DlgFlashScaleFit : "Teljes kitöltés", |
// Link Dialog |
DlgLnkWindowTitle : "Hivatkozás tulajdonságai", |
DlgLnkInfoTab : "Alaptulajdonságok", |
DlgLnkTargetTab : "Megjelenítés", |
DlgLnkWindowTitle : "Hivatkozás tulajdonságai", |
DlgLnkInfoTab : "Alaptulajdonságok", |
DlgLnkTargetTab : "Megjelenítés", |
DlgLnkType : "Hivatkozás típusa", |
DlgLnkTypeURL : "Webcím", |
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", |
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", |
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", |
DlgLnkTarget : "Tartalom megjelenítése", |
DlgLnkTargetFrame : "<keretben>", |
DlgLnkTargetPopup : "<felugró ablakban>", |
DlgLnkTargetBlank : "Új ablakban (_blank)", |
DlgLnkTargetParent : "SzülÅ ablakban (_parent)", |
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ó", |
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", |
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", |
DlgColorTitle : "Színválasztás", |
DlgColorBtnClear : "Törlés", |
DlgColorHighlight : "Előnézet", |
DlgColorSelected : "Kiválasztott", |
// Smiley Dialog |
DlgSmileyTitle : "Hangulatjel beszúrása", |
DlgSmileyTitle : "Hangulatjel beszúrása", |
// Special Character Dialog |
DlgSpecialCharTitle : "Speciális karakter választása", |
DlgSpecialCharTitle : "Speciális karakter választása", |
// Table Dialog |
DlgTableTitle : "Táblázat tulajdonságai", |
DlgTableTitle : "Táblázat tulajdonságai", |
DlgTableRows : "Sorok", |
DlgTableColumns : "Oszlopok", |
DlgTableBorder : "Szegélyméret", |
DlgTableAlign : "Igazítás", |
DlgTableAlignNotSet : "<Nincs beállítva>", |
DlgTableBorder : "Szegélyméret", |
DlgTableAlign : "Igazítás", |
DlgTableAlignNotSet : "<Nincs beállítva>", |
DlgTableAlignLeft : "Balra", |
DlgTableAlignCenter : "Középre", |
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ó", |
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", |
DlgTableSummary : "Leírás", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// 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>", |
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>", |
DlgCellHorAlign : "Vízsz. igazítás", |
DlgCellHorAlignNotSet : "<Nincs beállítva>", |
DlgCellHorAlignLeft : "Balra", |
DlgCellHorAlignCenter : "Középre", |
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", |
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...", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
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", |
DlgFindAndReplaceTitle : "Keresés és csere", |
// Find Dialog |
DlgFindTitle : "Keresés", |
DlgFindFindBtn : "Keresés", |
DlgFindNotFoundMsg : "A keresett szöveg nem található.", |
DlgFindTitle : "Keresés", |
DlgFindFindBtn : "Keresés", |
DlgFindNotFoundMsg : "A keresett szöveg nem található.", |
// Replace Dialog |
DlgReplaceTitle : "Csere", |
DlgReplaceFindLbl : "Keresett szöveg:", |
DlgReplaceFindLbl : "Keresett szöveg:", |
DlgReplaceReplaceLbl : "Csere erre:", |
DlgReplaceCaseChk : "kis- és nagybetű megkülönböztetése", |
DlgReplaceCaseChk : "kis- és nagybetű megkülönböztetése", |
DlgReplaceReplaceBtn : "Csere", |
DlgReplaceReplAllBtn : "Az összes cseréje", |
DlgReplaceWordChk : "csak ha ez a teljes szó", |
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).", |
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", |
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", |
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", |
// Color Picker |
ColorAutomatic : "Automatikus", |
ColorMoreColors : "További színek...", |
ColorMoreColors : "További színek...", |
// Document Properties |
DocProps : "Dokumentum tulajdonságai", |
DocProps : "Dokumentum tulajdonságai", |
// Anchor Dialog |
DlgAnchorTitle : "Horgony tulajdonságai", |
DlgAnchorTitle : "Horgony tulajdonságai", |
DlgAnchorName : "Horgony neve", |
DlgAnchorErrorName : "Kérem adja meg a horgony nevét", |
DlgAnchorErrorName : "Kérem adja meg a horgony nevét", |
// Speller Pages Dialog |
DlgSpellNotInDic : "Nincs a szótárban", |
DlgSpellChangeTo : "Módosítás", |
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", |
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", |
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?", |
IeSpellDownload : "A helyesírás-ellenőrző nincs telepítve. Szeretné letölteni most?", |
// Button Dialog |
DlgButtonText : "Szöveg (Érték)", |
DlgButtonType : "Típus", |
DlgButtonText : "Szöveg (Érték)", |
DlgButtonType : "Típus", |
DlgButtonTypeBtn : "Gomb", |
DlgButtonTypeSbm : "Küldés", |
DlgButtonTypeSbm : "Küldés", |
DlgButtonTypeRst : "Alaphelyzet", |
// Checkbox and Radio Button Dialogs |
DlgCheckboxName : "Név", |
DlgCheckboxValue : "Érték", |
DlgCheckboxSelected : "Kiválasztott", |
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", |
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", |
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", |
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", |
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", |
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ó", |
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", |
DlgHiddenName : "Név", |
DlgHiddenValue : "Érték", |
// Bulleted List Dialog |
BulletedListProp : "Felsorolás tulajdonságai", |
NumberedListProp : "Számozás tulajdonságai", |
BulletedListProp : "Felsorolás tulajdonságai", |
NumberedListProp : "Számozás tulajdonságai", |
DlgLstStart : "Start", |
DlgLstType : "Formátum", |
DlgLstTypeCircle : "Kör", |
DlgLstType : "Formátum", |
DlgLstTypeCircle : "Kör", |
DlgLstTypeDisc : "Lemez", |
DlgLstTypeSquare : "Négyzet", |
DlgLstTypeNumbers : "Számok (1, 2, 3)", |
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)", |
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", |
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)", |
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", |
DlgDocCharSetGR : "Görög", |
DlgDocCharSetJP : "Japán", |
DlgDocCharSetKR : "Koreai", |
DlgDocCharSetTR : "Török", |
DlgDocCharSetTR : "Török", |
DlgDocCharSetUN : "Unicode (UTF-8)", |
DlgDocCharSetWE : "Nyugat-Európai", |
DlgDocCharSetOther : "Más karakterkódolás", |
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", |
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", |
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", |
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...", |
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", |
DlgTemplatesReplace : "Kicseréli a jelenlegi tartalmat", |
// About Dialog |
DlgAboutAboutTab : "Névjegy", |
DlgAboutBrowserInfoTab : "BöngészÅ információ", |
DlgAboutAboutTab : "Névjegy", |
DlgAboutBrowserInfoTab : "Böngésző információ", |
DlgAboutLicenseTab : "Licensz", |
DlgAboutVersion : "verzió", |
DlgAboutInfo : "További információkért látogasson el ide:", |
DlgAboutVersion : "verzió", |
DlgAboutInfo : "További információkért látogasson el ide:", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
/trunk/api/fckeditor/editor/lang/no.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
294,20 → 294,25 |
DlgTableTitle : "Egenskaper for tabell", |
DlgTableRows : "Rader", |
DlgTableColumns : "Kolonner", |
DlgTableBorder : "Rammestørrelse", |
DlgTableBorder : "Rammestørrelse", |
DlgTableAlign : "Justering", |
DlgTableAlignNotSet : "<Ikke satt>", |
DlgTableAlignLeft : "Venstre", |
DlgTableAlignCenter : "Midtjuster", |
DlgTableAlignRight : "Høyre", |
DlgTableAlignRight : "Høyre", |
DlgTableWidth : "Bredde", |
DlgTableWidthPx : "piksler", |
DlgTableWidthPc : "prosent", |
DlgTableHeight : "Høyde", |
DlgTableHeight : "Høyde", |
DlgTableCellSpace : "Cellemarg", |
DlgTableCellPad : "Cellepolstring", |
DlgTableCaption : "Tittel", |
DlgTableSummary : "Sammendrag", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Celleegenskaper", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Midten", |
DlgCellVerAlignBottom : "Bunn", |
DlgCellVerAlignBaseline : "Bunnlinje", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Radspenn", |
DlgCellCollSpan : "Kolonnespenn", |
DlgCellBackColor : "Bakgrunnsfarge", |
/trunk/api/fckeditor/editor/lang/sk.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
26,67 → 26,67 |
// Language direction : "ltr" (left to right) or "rtl" (right to left). |
Dir : "ltr", |
ToolbarCollapse : "SkryÅ¥ panel nástrojov", |
ToolbarExpand : "ZobraziÅ¥ panel nástrojov", |
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Å¥", |
Save : "Uložiť", |
NewPage : "Nová stránka", |
Preview : "Náhľad", |
Cut : "Vystrihnúť", |
Copy : "Kopírovať", |
Paste : "Vložiť", |
PasteText : "VložiÅ¥ ako Äistý text", |
PasteText : "Vložiť ako čistý text", |
PasteWord : "Vložiť z Wordu", |
Print : "Tlač", |
SelectAll : "Vybrať všetko", |
RemoveFormat : "OdstrániÅ¥ formátovanie", |
RemoveFormat : "Odstrániť formátovanie", |
InsertLinkLbl : "Odkaz", |
InsertLink : "Vložiť/zmeniť odkaz", |
RemoveLink : "OdstrániÅ¥ odkaz", |
VisitLink : "Open Link", //MISSING |
RemoveLink : "Odstrániť odkaz", |
VisitLink : "Ísť na odkaz", |
Anchor : "Vložiť/zmeniť kotvu", |
AnchorDelete : "Remove Anchor", //MISSING |
InsertImageLbl : "Obrázok", |
InsertImage : "VložiÅ¥/zmeniÅ¥ obrázok", |
AnchorDelete : "Odstrániť kotvu", |
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", |
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ácii 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 |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
Undo : "SpäÅ¥", |
IncreaseIndent : "Zväčšiť odsadenie", |
Blockquote : "Citácia", |
CreateDiv : "Vytvoriť Div kontajner", |
EditDiv : "Editovať Div kontajner", |
DeleteDiv : "Odstrániť Div kontajner", |
Undo : "Späť", |
Redo : "Znovu", |
NumberedListLbl : "Äíslovanie", |
NumberedList : "VložiÅ¥/odstrániÅ¥ Äíslovaný zoznam", |
BulletedListLbl : "Odrážky", |
BulletedList : "VložiÅ¥/odstraniÅ¥ odrážky", |
NumberedListLbl : "Číslovanie", |
NumberedList : "Vložiť/odstrániť číslovanie", |
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", |
Style : "Štýl", |
FontFormat : "Formát", |
Font : "Písmo", |
FontSize : "Veľkosť", |
TextColor : "Farba textu", |
BGColor : "Farba pozadia", |
94,22 → 94,22 |
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", |
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", |
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 |
ShowBlocks : "Ukázať bloky", |
// Context Menu |
EditLink : "Zmeniť odkaz", |
116,179 → 116,179 |
CellCM : "Bunka", |
RowCM : "Riadok", |
ColumnCM : "Stĺpec", |
InsertRowAfter : "Insert Row After", //MISSING |
InsertRowBefore : "Insert Row Before", //MISSING |
InsertRowAfter : "Vložiť riadok pred", |
InsertRowBefore : "Vložiť riadok za", |
DeleteRows : "Vymazať riadok", |
InsertColumnAfter : "Insert Column After", //MISSING |
InsertColumnBefore : "Insert Column Before", //MISSING |
InsertColumnAfter : "Vložiť stĺpec pred", |
InsertColumnBefore : "Vložiť stĺpec za", |
DeleteColumns : "Zmazať stĺpec", |
InsertCellAfter : "Insert Cell After", //MISSING |
InsertCellBefore : "Insert Cell Before", //MISSING |
InsertCellAfter : "Vložiť bunku za", |
InsertCellBefore : "Vložiť bunku pred", |
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 |
MergeCells : "Zlúčiť bunky", |
MergeRight : "Zlúčiť doprava", |
MergeDown : "Zlúčiť dole", |
HorizontalSplitCell : "Rozdeliť bunky horizontálne", |
VerticalSplitCell : "Rozdeliť bunky vertikálne", |
TableDelete : "Vymazať tabuľku", |
CellProperties : "Vlastnosti bunky", |
TableProperties : "Vlastnosti tabuľky", |
ImageProperties : "Vlastnosti obrázku", |
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", |
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", |
FormProp : "Vlastnosti formulára", |
FontFormats : "Normálny;Formátovaný;Adresa;Nadpis 1;Nadpis 2;Nadpis 3;Nadpis 4;Nadpis 5;Nadpis 6;Odsek (DIV)", |
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.", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
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ú službu blokovania popup okien.", |
DialogBlocked : "Dialógové okno nebolo možné otvoriť. Uistite sa, že máte vypnutú službu blokovania popup okien.", |
VisitLinkBlocked : "Nebolo možné otvoriť nové okno. Uistite sa, že máte vypnutú službu blokovania popup okien.", |
// Dialogs |
DlgBtnOK : "OK", |
DlgBtnCancel : "Zrušiť", |
DlgBtnClose : "Zavrieť", |
DlgBtnBrowseServer : "PrechádzaÅ¥ server", |
DlgAdvancedTag : "RozÅ¡írené", |
DlgBtnBrowseServer : "Prechádzať server", |
DlgAdvancedTag : "Rozšírené", |
DlgOpOther : "<Ďalšie>", |
DlgInfoTab : "Info", |
DlgAlertUrl : "Prosím vložte URL", |
DlgAlertUrl : "Prosím vložte URL", |
// General Dialogs Labels |
DlgGenNotSet : "<nenastavené>", |
DlgGenNotSet : "<nenastavené>", |
DlgGenId : "Id", |
DlgGenLangDir : "Orientácia jazyka", |
DlgGenLangDir : "Orientácia jazyka", |
DlgGenLangDirLtr : "Zľava doprava (LTR)", |
DlgGenLangDirRtl : "Sprava doľava (RTL)", |
DlgGenLangCode : "Kód jazyka", |
DlgGenAccessKey : "Prístupový kľúÄ", |
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", |
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", |
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Å¥", |
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", |
DlgImgAlignAbsBottom: "Úplne dole", |
DlgImgAlignAbsMiddle: "Do stredu", |
DlgImgAlignBaseline : "Na základÅu", |
DlgImgAlignBaseline : "Na základňu", |
DlgImgAlignBottom : "Dole", |
DlgImgAlignMiddle : "Na stred", |
DlgImgAlignRight : "Vpravo", |
DlgImgAlignTextTop : "Na horný okraj textu", |
DlgImgAlignTextTop : "Na horný okraj textu", |
DlgImgAlignTop : "Nahor", |
DlgImgPreview : "Náhľad", |
DlgImgAlertUrl : "Zadajte prosím URL obrázku", |
DlgImgPreview : "Náhľad", |
DlgImgAlertUrl : "Zadajte prosím URL obrázku", |
DlgImgLinkTab : "Odkaz", |
// Flash Dialog |
DlgFlashTitle : "Vlastnosti Flashu", |
DlgFlashChkPlay : "Automatické prehrávanie", |
DlgFlashChkPlay : "Automatické prehrávanie", |
DlgFlashChkLoop : "Opakovanie", |
DlgFlashChkMenu : "Povoliť Flash Menu", |
DlgFlashScale : "Mierka", |
DlgFlashScaleAll : "Zobraziť mierku", |
DlgFlashScaleNoBorder : "Bez okrajov", |
DlgFlashScaleFit : "RoztiahnuÅ¥ na celé", |
DlgFlashScaleFit : "Roztiahnuť na celé", |
// Link Dialog |
DlgLnkWindowTitle : "Odkaz", |
DlgLnkInfoTab : "Informácie o odkaze", |
DlgLnkInfoTab : "Informácie o odkaze", |
DlgLnkTargetTab : "Cieľ", |
DlgLnkType : "Typ odkazu", |
DlgLnkTypeURL : "URL", |
DlgLnkTypeAnchor : "Kotva v tejto stránke", |
DlgLnkTypeAnchor : "Kotva v tejto stránke", |
DlgLnkTypeEMail : "E-Mail", |
DlgLnkProto : "Protokol", |
DlgLnkProtoOther : "<iný>", |
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", |
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>", |
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", |
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Å¥", |
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", |
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", |
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", |
DlgColorTitle : "Výber farby", |
DlgColorBtnClear : "Vymazať", |
DlgColorHighlight : "Zvýraznená", |
DlgColorSelected : "Vybraná", |
DlgColorHighlight : "Zvýraznená", |
DlgColorSelected : "Vybraná", |
// Smiley Dialog |
DlgSmileyTitle : "Vkladanie smajlíkov", |
DlgSmileyTitle : "Vkladanie smajlíkov", |
// Special Character Dialog |
DlgSpecialCharTitle : "Výber Å¡peciálneho znaku", |
DlgSpecialCharTitle : "Výber špeciálneho znaku", |
// Table Dialog |
DlgTableTitle : "Vlastnosti tabuľky", |
296,74 → 296,82 |
DlgTableColumns : "Stĺpce", |
DlgTableBorder : "Ohraničenie", |
DlgTableAlign : "Zarovnanie", |
DlgTableAlignNotSet : "<nenastavené>", |
DlgTableAlignNotSet : "<nenastavené>", |
DlgTableAlignLeft : "Vľavo", |
DlgTableAlignCenter : "Na stred", |
DlgTableAlignRight : "Vpravo", |
DlgTableWidth : "Å írka", |
DlgTableWidth : "Šírka", |
DlgTableWidthPx : "pixelov", |
DlgTableWidthPc : "percent", |
DlgTableHeight : "VýÅ¡ka", |
DlgTableHeight : "Výška", |
DlgTableCellSpace : "Vzdialenosť buniek", |
DlgTableCellPad : "Odsadenie obsahu", |
DlgTableCaption : "Popis", |
DlgTableSummary : "Prehľad", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Vlastnosti bunky", |
DlgCellWidth : "Å írka", |
DlgCellWidth : "Šírka", |
DlgCellWidthPx : "bodov", |
DlgCellWidthPc : "percent", |
DlgCellHeight : "VýÅ¡ka", |
DlgCellHeight : "Výška", |
DlgCellWordWrap : "Zalamovannie", |
DlgCellWordWrapNotSet : "<nenastavené>", |
DlgCellWordWrapYes : "Áno", |
DlgCellWordWrapNotSet : "<nenastavené>", |
DlgCellWordWrapYes : "Áno", |
DlgCellWordWrapNo : "Nie", |
DlgCellHorAlign : "Vodorovné zarovnanie", |
DlgCellHorAlignNotSet : "<nenastavené>", |
DlgCellHorAlign : "Vodorovné zarovnanie", |
DlgCellHorAlignNotSet : "<nenastavené>", |
DlgCellHorAlignLeft : "Vľavo", |
DlgCellHorAlignCenter : "Na stred", |
DlgCellHorAlignRight: "Vpravo", |
DlgCellVerAlign : "Zvislé zarovnanie", |
DlgCellVerAlignNotSet : "<nenastavené>", |
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", |
DlgCellVerAlignBaseline : "Na základňu", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Zlúčené riadky", |
DlgCellCollSpan : "Zlúčené stĺpce", |
DlgCellBackColor : "Farba pozadia", |
DlgCellBorderColor : "Farba ohraničenia", |
DlgCellBtnSelect : "Výber...", |
DlgCellBtnSelect : "Výber...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Find and Replace", //MISSING |
DlgFindAndReplaceTitle : "Nájsť a nahradiť", |
// Find Dialog |
DlgFindTitle : "Hľadať", |
DlgFindFindBtn : "Hľadať", |
DlgFindNotFoundMsg : "Hľadaný text nebol nájdený.", |
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á", |
DlgReplaceReplaceLbl : "Čím nahradiť:", |
DlgReplaceCaseChk : "Rozlišovať malé/veľké písmená", |
DlgReplaceReplaceBtn : "Nahradiť", |
DlgReplaceReplAllBtn : "Nahradiť všetko", |
DlgReplaceWordChk : "Len celé slová", |
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).", |
PasteErrorCut : "Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru spustiť funkciu pre vystrihnutie zvoleného textu do schránky. Prosím vystrihnite zvolený text do schránky pomocou klávesnice (Ctrl+X).", |
PasteErrorCopy : "Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru spustiť funkciu pre kopírovanie zvoleného textu do schránky. Prosím skopírujte zvolený text do schránky pomocou klávesnice (Ctrl+C).", |
PasteAsText : "VložiÅ¥ ako Äistý text", |
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", |
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 : "Bezpečnostné nastavenia Vášho prehliadača nedovoľujú editoru pristupovať priamo k datám v schránke. Musíte ich vložiť znovu do tohto okna.", |
DlgPasteIgnoreFont : "Ignorovať nastavenia typu písma", |
DlgPasteRemoveStyles : "Odstrániť formátovanie", |
// Color Picker |
ColorAutomatic : "Automaticky", |
375,24 → 383,24 |
// Anchor Dialog |
DlgAnchorTitle : "Vlastnosti kotvy", |
DlgAnchorName : "Meno kotvy", |
DlgAnchorErrorName : "Zadajte prosím meno kotvy", |
DlgAnchorErrorName : "Zadajte prosím meno kotvy", |
// Speller Pages Dialog |
DlgSpellNotInDic : "Nie je v slovníku", |
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 -", |
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", |
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Å¥?", |
IeSpellDownload : "Kontrola pravopisu nie je naištalovaná. Chcete ju hneď stiahnuť?", |
// Button Dialog |
DlgButtonText : "Text", |
402,22 → 410,22 |
DlgButtonTypeRst : "Vymazať", |
// Checkbox and Radio Button Dialogs |
DlgCheckboxName : "Názov", |
DlgCheckboxName : "Názov", |
DlgCheckboxValue : "Hodnota", |
DlgCheckboxSelected : "Vybrané", |
DlgCheckboxSelected : "Vybrané", |
// Form Dialog |
DlgFormName : "Názov", |
DlgFormName : "Názov", |
DlgFormAction : "Akcie", |
DlgFormMethod : "Metóda", |
DlgFormMethod : "Metóda", |
// Select Field Dialog |
DlgSelectName : "Názov", |
DlgSelectName : "Názov", |
DlgSelectValue : "Hodnota", |
DlgSelectSize : "Veľkosť", |
DlgSelectLines : "riadkov", |
DlgSelectChkMulti : "PovoliÅ¥ viacnásobný výber", |
DlgSelectOpAvail : "Dostupné možnosti", |
DlgSelectChkMulti : "Povoliť viacnásobný výber", |
DlgSelectOpAvail : "Dostupné možnosti", |
DlgSelectOpText : "Text", |
DlgSelectOpValue : "Hodnota", |
DlgSelectBtnAdd : "Pridať", |
424,103 → 432,103 |
DlgSelectBtnModify : "Zmeniť", |
DlgSelectBtnUp : "Hore", |
DlgSelectBtnDown : "Dole", |
DlgSelectBtnSetValue : "NastaviÅ¥ ako vybranú hodnotu", |
DlgSelectBtnSetValue : "Nastaviť ako vybranú hodnotu", |
DlgSelectBtnDelete : "Zmazať", |
// Textarea Dialog |
DlgTextareaName : "Názov", |
DlgTextareaName : "Názov", |
DlgTextareaCols : "Stĺpce", |
DlgTextareaRows : "Riadky", |
// Text Field Dialog |
DlgTextName : "Názov", |
DlgTextName : "Názov", |
DlgTextValue : "Hodnota", |
DlgTextCharWidth : "Å írka pola (znakov)", |
DlgTextMaxChars : "Maximálny poÄet znakov", |
DlgTextCharWidth : "Šírka pola (znakov)", |
DlgTextMaxChars : "Maximálny počet znakov", |
DlgTextType : "Typ", |
DlgTextTypeText : "Text", |
DlgTextTypePass : "Heslo", |
// Hidden Field Dialog |
DlgHiddenName : "Názov", |
DlgHiddenName : "Názov", |
DlgHiddenValue : "Hodnota", |
// Bulleted List Dialog |
BulletedListProp : "Vlastnosti odrážok", |
NumberedListProp : "Vlastnosti Äíslovania", |
BulletedListProp : "Vlastnosti odrážok", |
NumberedListProp : "Vlastnosti číslovania", |
DlgLstStart : "Štart", |
DlgLstType : "Typ", |
DlgLstTypeCircle : "Krúžok", |
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)", |
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é", |
DlgDocGeneralTab : "Všeobecné", |
DlgDocBackTab : "Pozadie", |
DlgDocColorsTab : "Farby a okraje", |
DlgDocMetaTab : "Meta Data", |
DlgDocPageTitle : "Titulok", |
DlgDocLangDir : "Orientácie jazyka", |
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)", |
DlgDocLangCode : "Kód jazyka", |
DlgDocCharSet : "Kódová stránka", |
DlgDocCharSetCE : "Stredoeurópske", |
DlgDocCharSetCT : "Čínština tradičná (Big5)", |
DlgDocCharSetCR : "Cyrillika", |
DlgDocCharSetGR : "GréÄtina", |
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", |
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", |
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", |
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", |
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", |
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", |
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", |
DlgAboutAboutTab : "O aplikáci", |
DlgAboutBrowserInfoTab : "Informácie o prehliadači", |
DlgAboutLicenseTab : "Licencia", |
DlgAboutVersion : "verzia", |
DlgAboutInfo : "Viac informácií získate na", |
DlgAboutInfo : "Viac informácií získate na", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
DlgDivAdvancedTab : "Advanced", //MISSING |
DlgDivStyle : "Style", //MISSING |
DlgDivInlineStyle : "Inline Style" //MISSING |
DlgDivGeneralTab : "Hlavné", |
DlgDivAdvancedTab : "Rozšírené", |
DlgDivStyle : "Štýl", |
DlgDivInlineStyle : "Inline štýl" |
}; |
/trunk/api/fckeditor/editor/lang/vi.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
26,8 → 26,8 |
// 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ụ", |
ToolbarCollapse : "Thu gọn Thanh công cụ", |
ToolbarExpand : "Mở rộng Thanh công cụ", |
// Toolbar Items and Context Menu |
Save : "Lưu", |
34,178 → 34,178 |
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", |
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", |
VisitLink : "Má» Liên Kết", |
Anchor : "Chèn/Sá»a Neo", |
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", |
VisitLink : "Mở Liên Kết", |
Anchor : "Chèn/Sửa Neo", |
AnchorDelete : "Gỡ bỏ Neo", |
InsertImageLbl : "Hình ảnh", |
InsertImage : "Chèn/Sá»a Hình ảnh", |
InsertImageLbl : "Hình ảnh", |
InsertImage : "Chèn/Sửa Hình ảnh", |
InsertFlashLbl : "Flash", |
InsertFlash : "Chèn/Sá»a 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)", |
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", |
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", |
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 : "Khá»i Trích dẫn", |
DecreaseIndent : "Dịch ra ngoài", |
IncreaseIndent : "Dịch vào trong", |
Blockquote : "Khối Trích dẫn", |
CreateDiv : "Tạo Div Container", |
EditDiv : "Chỉnh sửa Div Container", |
DeleteDiv : "Gỡ bỏ Div Container", |
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á»±", |
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", |
Font : "Phông", |
FontSize : "Cỡ chữ", |
TextColor : "Màu chữ", |
BGColor : "Màu ná»n", |
Source : "Mã HTML", |
Find : "Tìm kiếm", |
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ế", |
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", |
PageBreak : "Chèn Ngắt trang", |
Form : "Biểu mẫu", |
Checkbox : "Nút kiá»m", |
RadioButton : "Nút chá»n", |
Checkbox : "Nút kiểm", |
RadioButton : "Nút chọn", |
TextField : "Trường văn bản", |
Textarea : "Vù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", |
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 : "Hiá»n thá» các Khá»i", |
FitWindow : "Mở rộng tối đa kích thước trình biên tập", |
ShowBlocks : "Hiển thị các Khối", |
// Context Menu |
EditLink : "Sá»a Liên kết", |
CellCM : "Ô", |
RowCM : "Hàng", |
EditLink : "Sửa Liên kết", |
CellCM : "Ô", |
RowCM : "Hàng", |
ColumnCM : "Cột", |
InsertRowAfter : "Chèn Hàng Phía sau", |
InsertRowBefore : "Chèn Hàng Phía trÆ°á»c", |
DeleteRows : "Xoá Hàng", |
InsertColumnAfter : "Chèn Cá»t Phía sau", |
InsertColumnBefore : "Chèn Cá»t Phía trÆ°á»c", |
DeleteColumns : "Xoá Cá»t", |
InsertCellAfter : "Chèn Ô Phía sau", |
InsertCellBefore : "Chèn Ô Phía trÆ°á»c", |
DeleteCells : "Xoá Ô", |
MergeCells : "Kết hợp Ô", |
InsertRowAfter : "Chèn Hàng Phía sau", |
InsertRowBefore : "Chèn Hàng Phía trước", |
DeleteRows : "Xoá Hàng", |
InsertColumnAfter : "Chèn Cột Phía sau", |
InsertColumnBefore : "Chèn Cột Phía trước", |
DeleteColumns : "Xoá Cột", |
InsertCellAfter : "Chèn Ô Phía sau", |
InsertCellBefore : "Chèn Ô Phía trước", |
DeleteCells : "Xoá Ô", |
MergeCells : "Kết hợp Ô", |
MergeRight : "Kết hợp Sang phải", |
MergeDown : "Kết hợp Xuống dưới", |
HorizontalSplitCell : "Tách ngang Ô", |
VerticalSplitCell : "Tách dá»c Ô", |
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", |
HorizontalSplitCell : "Tách ngang Ô", |
VerticalSplitCell : "Tách dọc Ô", |
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", |
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 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.", |
VisitLinkBlocked : "Không thá» má» Äược cá»a sá» trình duyá»t má»i. Hãy Äảm bảo chức nÄng chặn popup Äã bá» vô hiá»u hóa.", |
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 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.", |
VisitLinkBlocked : "Không thể mở được cửa sổ trình duyệt mới. Hãy đảm bảo chức năng chặn popup đã bị vô hiệu hóa.", |
// Dialogs |
DlgBtnOK : "Äá»ng ý", |
DlgBtnOK : "Đồng ý", |
DlgBtnCancel : "Bỏ qua", |
DlgBtnClose : "Äóng", |
DlgBtnBrowseServer : "Duyá»t trên máy chủ", |
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", |
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>", |
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", |
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", |
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", |
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ủ", |
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", |
DlgImgUpload : "Tải lên", |
DlgImgAlt : "Chú thích Hình ảnh", |
DlgImgWidth : "Rộng", |
DlgImgHeight : "Cao", |
DlgImgLockRatio : "Giữ nguyên tá»· lá»", |
DlgBtnResetSize : "Kích thÆ°á»c gá»c", |
DlgImgLockRatio : "Giữ nguyên tỷ lệ", |
DlgBtnResetSize : "Kích thước gốc", |
DlgImgBorder : "Đường viền", |
DlgImgHSpace : "HSpace", |
DlgImgVSpace : "VSpace", |
DlgImgAlign : "Vá» trí", |
DlgImgAlignLeft : "Trái", |
DlgImgAlign : "Vị trí", |
DlgImgAlignLeft : "Trái", |
DlgImgAlignAbsBottom: "Dưới tuyệt đối", |
DlgImgAlignAbsMiddle: "Giữa tuyệt đối", |
DlgImgAlignBaseline : "Đường cơ sở", |
212,92 → 212,92 |
DlgImgAlignBottom : "Dưới", |
DlgImgAlignMiddle : "Giữa", |
DlgImgAlignRight : "Phải", |
DlgImgAlignTextTop : "Phía trên chữ", |
DlgImgAlignTop : "Trên", |
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", |
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", |
DlgFlashTitle : "Thuộc tính Flash", |
DlgFlashChkPlay : "Tự động chạy", |
DlgFlashChkLoop : "Lặp", |
DlgFlashChkMenu : "Cho phép báºt Menu của Flash", |
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", |
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", |
DlgLnkWindowTitle : "Liên kết", |
DlgLnkInfoTab : "Thông tin Liên kết", |
DlgLnkTargetTab : "Đích", |
DlgLnkType : "Kiá»u Liên kết", |
DlgLnkType : "Kiểu Liên kết", |
DlgLnkTypeURL : "URL", |
DlgLnkTypeAnchor : "Neo trong trang này", |
DlgLnkTypeAnchor : "Neo trong trang này", |
DlgLnkTypeEMail : "Thư điện tử", |
DlgLnkProto : "Giao thức", |
DlgLnkProtoOther : "<khác>", |
DlgLnkProtoOther : "<khác>", |
DlgLnkURL : "URL", |
DlgLnkAnchorSel : "Chọn một Neo", |
DlgLnkAnchorByName : "Theo Tên Neo", |
DlgLnkAnchorByName : "Theo Tên Neo", |
DlgLnkAnchorById : "Theo Định danh Element", |
DlgLnkNoAnchors : "(Không có Neo nào trong tài liá»u)", |
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ủ", |
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", |
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", |
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í", |
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)", |
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", |
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", |
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", |
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)", |
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", |
DlgSpecialCharTitle : "Hãy chọn Ký tự đặc biệt", |
// Table Dialog |
DlgTableTitle : "Thuá»c tính bảng", |
DlgTableRows : "Hàng", |
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", |
DlgTableAlignLeft : "Trái", |
DlgTableAlignCenter : "Giữa", |
DlgTableAlignRight : "Phải", |
DlgTableWidth : "Rộng", |
304,13 → 304,18 |
DlgTableWidthPx : "điểm (px)", |
DlgTableWidthPc : "%", |
DlgTableHeight : "Cao", |
DlgTableCellSpace : "Khoảng cách Ô", |
DlgTableCellPad : "Äá»m Ô", |
DlgTableCellSpace : "Khoảng cách Ô", |
DlgTableCellPad : "Đệm Ô", |
DlgTableCaption : "Đầu đề", |
DlgTableSummary : "Tóm lược", |
DlgTableSummary : "Tóm lược", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Thuá»c tính Ô", |
DlgCellTitle : "Thuộc tính Ô", |
DlgCellWidth : "Rộng", |
DlgCellWidthPx : "điểm (px)", |
DlgCellWidthPc : "%", |
317,189 → 322,192 |
DlgCellHeight : "Cao", |
DlgCellWordWrap : "Bọc từ", |
DlgCellWordWrapNotSet : "<Chưa thiết lập>", |
DlgCellWordWrapYes : "Äá»ng ý", |
DlgCellWordWrapNo : "Không", |
DlgCellWordWrapYes : "Đồng ý", |
DlgCellWordWrapNo : "Không", |
DlgCellHorAlign : "Canh theo Chiều ngang", |
DlgCellHorAlignNotSet : "<Chưa thiết lập>", |
DlgCellHorAlignLeft : "Trái", |
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", |
DlgCellVerAlignTop : "Trên", |
DlgCellVerAlignMiddle : "Giữa", |
DlgCellVerAlignBottom : "Dưới", |
DlgCellVerAlignBaseline : "Đường cơ sở", |
DlgCellRowSpan : "Ná»i Hàng", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Nối Hàng", |
DlgCellCollSpan : "Nối Cột", |
DlgCellBackColor : "Màu ná»n", |
DlgCellBorderColor : "Màu viá»n", |
DlgCellBackColor : "Màu nền", |
DlgCellBorderColor : "Màu viền", |
DlgCellBtnSelect : "Chọn...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Tìm kiếm và Thay Thế", |
DlgFindAndReplaceTitle : "Tìm kiếm và Thay Thế", |
// 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.", |
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:", |
DlgReplaceFindLbl : "Tìm chuỗi:", |
DlgReplaceReplaceLbl : "Thay bằng:", |
DlgReplaceCaseChk : "Phân biá»t chữ hoa/thÆ°á»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ừ", |
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).", |
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", |
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>.", |
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", |
DlgPasteIgnoreFont : "Chấp nhận các định dạng phông", |
DlgPasteRemoveStyles : "Gỡ bỏ các định dạng Styles", |
// Color Picker |
ColorAutomatic : "Tự động", |
ColorMoreColors : "Màu khác...", |
ColorMoreColors : "Màu khác...", |
// Document Properties |
DocProps : "Thuá»c tính Tài liá»u", |
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 nháºp vào tên của Neo", |
DlgAnchorTitle : "Thuộc tính Neo", |
DlgAnchorName : "Tên của Neo", |
DlgAnchorErrorName : "Hãy nhập vào tên của Neo", |
// Speller Pages Dialog |
DlgSpellNotInDic : "Không có trong từ Äiá»n", |
DlgSpellChangeTo : "Chuyá»n thành", |
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", |
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á»?", |
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á»)", |
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", |
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á»", |
DlgCheckboxName : "Tên", |
DlgCheckboxValue : "Giá trị", |
DlgCheckboxSelected : "Được chọn", |
// Form Dialog |
DlgFormName : "Tên", |
DlgFormAction : "Hành Äá»ng", |
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", |
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", |
DlgSelectOpValue : "Giá trị", |
DlgSelectBtnAdd : "Thêm", |
DlgSelectBtnModify : "Thay đổi", |
DlgSelectBtnUp : "Lên", |
DlgSelectBtnUp : "Lên", |
DlgSelectBtnDown : "Xuống", |
DlgSelectBtnSetValue : "Giá trá» Äược chá»n", |
DlgSelectBtnDelete : "Xoá", |
DlgSelectBtnSetValue : "Giá trị được chọn", |
DlgSelectBtnDelete : "Xoá", |
// Textarea Dialog |
DlgTextareaName : "Tên", |
DlgTextareaName : "Tên", |
DlgTextareaCols : "Cột", |
DlgTextareaRows : "Hàng", |
DlgTextareaRows : "Hàng", |
// Text Field Dialog |
DlgTextName : "Tên", |
DlgTextValue : "Giá trá»", |
DlgTextName : "Tên", |
DlgTextValue : "Giá trị", |
DlgTextCharWidth : "Rộng", |
DlgTextMaxChars : "Sá» Ký tá»± tá»i Äa", |
DlgTextMaxChars : "Số Ký tự tối đa", |
DlgTextType : "Kiểu", |
DlgTextTypeText : "Ký tá»±", |
DlgTextTypeText : "Ký tự", |
DlgTextTypePass : "Mật khẩu", |
// Hidden Field Dialog |
DlgHiddenName : "Tên", |
DlgHiddenValue : "Giá trá»", |
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á»±", |
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", |
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)", |
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á»", |
DlgDocGeneralTab : "Toàn thể", |
DlgDocBackTab : "Nền", |
DlgDocColorsTab : "Màu sắc và ÄÆ°á»ng biên", |
DlgDocMetaTab : "Siêu dữ liá»u", |
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", |
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", |
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", |
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", |
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", |
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", |
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ả", |
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", |
506,21 → 514,21 |
// 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)", |
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", |
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", |
// Div Dialog |
DlgDivGeneralTab : "Chung", |
DlgDivAdvancedTab : "Nâng cao", |
DlgDivAdvancedTab : "Nâng cao", |
DlgDivStyle : "Kiểu Style", |
DlgDivInlineStyle : "Kiểu Style Trực tiếp" |
}; |
/trunk/api/fckeditor/editor/lang/en-uk.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Cell padding", |
DlgTableCaption : "Caption", |
DlgTableSummary : "Summary", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Cell Properties", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Middle", |
DlgCellVerAlignBottom : "Bottom", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", |
DlgCellTypeData : "Data", |
DlgCellTypeHeader : "Header", |
DlgCellRowSpan : "Rows Span", |
DlgCellCollSpan : "Columns Span", |
DlgCellBackColor : "Background Colour", |
/trunk/api/fckeditor/editor/lang/ms.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Tambahan Ruang Sel", |
DlgTableCaption : "Keterangan", |
DlgTableSummary : "Summary", //MISSING |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Ciri-ciri Sel", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Tengah", |
DlgCellVerAlignBottom : "Bawah", |
DlgCellVerAlignBaseline : "Garis Dasar", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Penggunaan Baris", |
DlgCellCollSpan : "Penggunaan Lajur", |
DlgCellBackColor : "Warna Latarbelakang", |
/trunk/api/fckeditor/editor/lang/uk.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
44,9 → 44,9 |
InsertLinkLbl : "Посилання", |
InsertLink : "Вставити/Редагувати посилання", |
RemoveLink : "Знищити посилання", |
VisitLink : "Open Link", //MISSING |
VisitLink : "Відкрити посилання", |
Anchor : "Вставити/Редагувати якір", |
AnchorDelete : "Remove Anchor", //MISSING |
AnchorDelete : "Видалити якір", |
InsertImageLbl : "Зображення", |
InsertImage : "Вставити/Редагувати зображення", |
InsertFlashLbl : "Flash", |
72,10 → 72,10 |
BlockJustify : "По ширині", |
DecreaseIndent : "Зменшити відступ", |
IncreaseIndent : "Збільшити відступ", |
Blockquote : "Blockquote", //MISSING |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
Blockquote : "Цитата", |
CreateDiv : "Створити Div контейнер", |
EditDiv : "Редагувати Div контейнер", |
DeleteDiv : "Видалити Div контейнер", |
Undo : "Повернути", |
Redo : "Повторити", |
NumberedListLbl : "Нумерований список", |
109,7 → 109,7 |
ImageButton : "Кнопка із зображенням", |
FitWindow : "Розвернути вікно редактора", |
ShowBlocks : "Show Blocks", //MISSING |
ShowBlocks : "Показувати блоки", |
// Context Menu |
EditLink : "Вставити посилання", |
116,20 → 116,20 |
CellCM : "Осередок", |
RowCM : "Рядок", |
ColumnCM : "Колонка", |
InsertRowAfter : "Insert Row After", //MISSING |
InsertRowBefore : "Insert Row Before", //MISSING |
InsertRowAfter : "Вставити рядок після", |
InsertRowBefore : "Вставити рядок до", |
DeleteRows : "Видалити строки", |
InsertColumnAfter : "Insert Column After", //MISSING |
InsertColumnBefore : "Insert Column Before", //MISSING |
InsertColumnAfter : "Вставити колонку після", |
InsertColumnBefore : "Вставити колонку до", |
DeleteColumns : "Видалити колонки", |
InsertCellAfter : "Insert Cell After", //MISSING |
InsertCellBefore : "Insert Cell Before", //MISSING |
InsertCellAfter : "Вставити комірку після", |
InsertCellBefore : "Вставити комірку до", |
DeleteCells : "Видалити комірки", |
MergeCells : "Об'єднати комірки", |
MergeRight : "Merge Right", //MISSING |
MergeDown : "Merge Down", //MISSING |
HorizontalSplitCell : "Split Cell Horizontally", //MISSING |
VerticalSplitCell : "Split Cell Vertically", //MISSING |
MergeRight : "Об'єднати зправа", |
MergeDown : "Об'єднати до низу", |
HorizontalSplitCell : "Розділити комірку по горизонталі", |
VerticalSplitCell : "Розділити комірку по вертикалі", |
TableDelete : "Видалити таблицю", |
CellProperties : "Властивості комірки", |
TableProperties : "Властивості таблиці", |
308,6 → 308,11 |
DlgTableCellPad : "Відступ (padding)", |
DlgTableCaption : "Заголовок", |
DlgTableSummary : "Резюме", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Властивості комірки", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Посередині", |
DlgCellVerAlignBottom : "Знизу", |
DlgCellVerAlignBaseline : "По базовій лінії", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Діапазон строк (span)", |
DlgCellCollSpan : "Діапазон колонок (span)", |
DlgCellBackColor : "Колір фона", |
337,7 → 345,7 |
DlgCellBtnSelect : "Оберіть...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Find and Replace", //MISSING |
DlgFindAndReplaceTitle : "Знайти і замінити", |
// Find Dialog |
DlgFindTitle : "Пошук", |
519,8 → 527,8 |
DlgAboutInfo : "Додаткову інформацію дивіться на ", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
DlgDivAdvancedTab : "Advanced", //MISSING |
DlgDivStyle : "Style", //MISSING |
DlgDivInlineStyle : "Inline Style" //MISSING |
DlgDivGeneralTab : "Загальна", |
DlgDivAdvancedTab : "Розширена", |
DlgDivStyle : "Стиль", |
DlgDivInlineStyle : "Inline стиль" |
}; |
/trunk/api/fckeditor/editor/lang/zh-cn.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
73,9 → 73,9 |
DecreaseIndent : "减少缩进量", |
IncreaseIndent : "增加缩进量", |
Blockquote : "块引用", |
CreateDiv : "新增 Div 标籤", |
EditDiv : "更改 Div 标籤", |
DeleteDiv : "删除 Div 标籤", |
CreateDiv : "插入 Div 标签", |
EditDiv : "编辑 Div 标签", |
DeleteDiv : "删除 Div 标签", |
Undo : "撤消", |
Redo : "重做", |
NumberedListLbl : "编号列表", |
116,20 → 116,20 |
CellCM : "单元格", |
RowCM : "行", |
ColumnCM : "列", |
InsertRowAfter : "下插入行", |
InsertRowBefore : "上插入行", |
InsertRowAfter : "在下方插入行", |
InsertRowBefore : "在上方插入行", |
DeleteRows : "删除行", |
InsertColumnAfter : "右插入列", |
InsertColumnBefore : "左插入列", |
InsertColumnAfter : "在右侧插入列", |
InsertColumnBefore : "在左侧插入列", |
DeleteColumns : "删除列", |
InsertCellAfter : "右插入单元格", |
InsertCellBefore : "左插入单元格", |
InsertCellAfter : "在右侧插入单元格", |
InsertCellBefore : "在左侧插入单元格", |
DeleteCells : "删除单元格", |
MergeCells : "合并单元格", |
MergeRight : "右合并单元格", |
MergeDown : "下合并单元格", |
HorizontalSplitCell : "橫拆分单元格", |
VerticalSplitCell : "縱拆分单元格", |
MergeRight : "向右合并单元格", |
MergeDown : "向下合并单元格", |
HorizontalSplitCell : "水平拆分单元格", |
VerticalSplitCell : "垂直拆分单元格", |
TableDelete : "删除表格", |
CellProperties : "单元格属性", |
TableProperties : "表格属性", |
308,6 → 308,11 |
DlgTableCellPad : "边距", |
DlgTableCaption : "标题", |
DlgTableSummary : "摘要", |
DlgTableHeaders : "标题单元格", |
DlgTableHeadersNone : "无", |
DlgTableHeadersColumn : "第一列", |
DlgTableHeadersRow : "第一行", |
DlgTableHeadersBoth : "第一列和第一行", |
// Table Cell Dialog |
DlgCellTitle : "单元格属性", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "居中", |
DlgCellVerAlignBottom : "底部", |
DlgCellVerAlignBaseline : "基线", |
DlgCellType : "单元格类型", |
DlgCellTypeData : "资料", |
DlgCellTypeHeader : "标题", |
DlgCellRowSpan : "纵跨行数", |
DlgCellCollSpan : "横跨列数", |
DlgCellBackColor : "背景颜色", |
506,7 → 514,7 |
// Templates Dialog |
Templates : "模板", |
DlgTemplatesTitle : "内容模板", |
DlgTemplatesSelMsg : "请选择编辑器内容模板<br>(当前内容将会被清除替换):", |
DlgTemplatesSelMsg : "请选择编辑器内容模板:", |
DlgTemplatesLoading : "正在加载模板列表,请稍等...", |
DlgTemplatesNoTpl : "(没有模板)", |
DlgTemplatesReplace : "替换当前内容", |
/trunk/api/fckeditor/editor/lang/ro.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
40,10 → 40,10 |
PasteWord : "Adaugă din Word", |
Print : "Printează", |
SelectAll : "Selectează tot", |
RemoveFormat : "ÎnlÄturÄ formatarea", |
RemoveFormat : "Înlătură formatarea", |
InsertLinkLbl : "Link (Legătură web)", |
InsertLink : "Inserează/Editează link (legătură web)", |
RemoveLink : "ÎnlÄturÄ link (legÄturÄ web)", |
RemoveLink : "Înlătură link (legătură web)", |
VisitLink : "Open Link", //MISSING |
Anchor : "Inserează/Editează ancoră", |
AnchorDelete : "Şterge ancoră", |
60,16 → 60,16 |
InsertSmileyLbl : "Figură expresivă (Emoticon)", |
InsertSmiley : "Inserează Figură expresivă (Emoticon)", |
About : "Despre FCKeditor", |
Bold : "ÎngroÅat (bold)", |
Italic : "Înclinat (italic)", |
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", |
LeftJustify : "Aliniere la stânga", |
CenterJustify : "Aliniere centrală", |
RightJustify : "Aliniere la dreapta", |
BlockJustify : "Aliniere în bloc (Block Justify)", |
BlockJustify : "Aliniere în bloc (Block Justify)", |
DecreaseIndent : "Scade indentarea", |
IncreaseIndent : "Creşte indentarea", |
Blockquote : "Citat", |
92,7 → 92,7 |
BGColor : "Coloarea fundalului", |
Source : "Sursa", |
Find : "Găseşte", |
Replace : "ÎnlocuieÅte", |
Replace : "Înlocuieşte", |
SpellCheck : "Verifică text", |
UniversalKeyboard : "Tastatură universală", |
PageBreakLbl : "Separator de pagină (Page Break)", |
101,11 → 101,11 |
Form : "Formular (Form)", |
Checkbox : "Bifă (Checkbox)", |
RadioButton : "Buton radio (RadioButton)", |
TextField : "Câmp text (TextField)", |
TextField : "Câmp text (TextField)", |
Textarea : "Suprafaţă text (Textarea)", |
HiddenField : "Câmp ascuns (HiddenField)", |
HiddenField : "Câmp ascuns (HiddenField)", |
Button : "Buton", |
SelectionField : "Câmp selecÅ£ie (SelectionField)", |
SelectionField : "Câmp selecţie (SelectionField)", |
ImageButton : "Buton imagine (ImageButton)", |
FitWindow : "Maximizează mărimea editorului", |
117,19 → 117,19 |
RowCM : "Linie", |
ColumnCM : "Coloană", |
InsertRowAfter : "Inserează linie după", |
InsertRowBefore : "InsereazÄ linie înainte", |
InsertRowBefore : "Inserează linie înainte", |
DeleteRows : "Şterge linii", |
InsertColumnAfter : "Inserează coloană după", |
InsertColumnBefore : "InsereazÄ coloanÄ înainte", |
InsertColumnBefore : "Inserează coloană înainte", |
DeleteColumns : "Şterge celule", |
InsertCellAfter : "Inserează celulă după", |
InsertCellBefore : "InsereazÄ celulÄ înainte", |
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Ä", |
HorizontalSplitCell : "Împarte celula pe orizontală", |
VerticalSplitCell : "Împarte celula pe verticală", |
TableDelete : "Şterge tabel", |
CellProperties : "Proprietăţile celulei", |
TableProperties : "Proprietăţile tabelului", |
139,11 → 139,11 |
AnchorProp : "Proprietăţi ancoră", |
ButtonProp : "Proprietăţi buton", |
CheckboxProp : "Proprietăţi bifă (Checkbox)", |
HiddenFieldProp : "ProprietÄÅ£i câmp ascuns (Hidden Field)", |
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)", |
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)", |
152,13 → 152,13 |
// 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?", |
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Ä.", |
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).", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
195,10 → 195,10 |
DlgImgInfoTab : "Informaţii despre imagine", |
DlgImgBtnUpload : "Trimite la server", |
DlgImgURL : "URL", |
DlgImgUpload : "ÎncarcÄ", |
DlgImgUpload : "Încarcă", |
DlgImgAlt : "Text alternativ", |
DlgImgWidth : "Lăţime", |
DlgImgHeight : "ÎnÄlÅ£ime", |
DlgImgHeight : "Înălţime", |
DlgImgLockRatio : "Păstrează proporţiile", |
DlgBtnResetSize : "Resetează mărimea", |
DlgImgBorder : "Margine", |
235,7 → 235,7 |
DlgLnkType : "Tipul link-ului (al legăturii web)", |
DlgLnkTypeURL : "URL", |
DlgLnkTypeAnchor : "AncorÄ în aceastÄ paginÄ", |
DlgLnkTypeAnchor : "Ancoră în această pagină", |
DlgLnkTypeEMail : "E-Mail", |
DlgLnkProto : "Protocol", |
DlgLnkProtoOther : "<altul>", |
243,11 → 243,11 |
DlgLnkAnchorSel : "Selectaţi o ancoră", |
DlgLnkAnchorByName : "după numele ancorei", |
DlgLnkAnchorById : "după Id-ul elementului", |
DlgLnkNoAnchors : "(Nicio ancorÄ disponibilÄ în document)", |
DlgLnkNoAnchors : "(Nicio ancoră disponibilă în document)", |
DlgLnkEMail : "Adresă de e-mail", |
DlgLnkEMailSubject : "Subiectul mesajului", |
DlgLnkEMailBody : "Conţinutul mesajului", |
DlgLnkUpload : "ÎncarcÄ", |
DlgLnkUpload : "Încarcă", |
DlgLnkBtnUpload : "Trimite la server", |
DlgLnkTarget : "Ţintă (Target)", |
269,14 → 269,14 |
DlgLnkPopFullScrn : "Tot ecranul (Full Screen)(IE)", |
DlgLnkPopDependent : "Dependent (Netscape)", |
DlgLnkPopWidth : "Lăţime", |
DlgLnkPopHeight : "ÎnÄlÅ£ime", |
DlgLnkPopLeft : "PoziÅ£ia la stânga", |
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", |
DlnLnkMsgInvPopName : "Numele 'popup'-ului trebuie să înceapă cu un caracter alfabetic şi trebuie să nu conţină spaţii", |
// Color Dialog |
DlgColorTitle : "Selectează culoare", |
297,17 → 297,22 |
DlgTableBorder : "Mărimea marginii", |
DlgTableAlign : "Aliniament", |
DlgTableAlignNotSet : "<Nesetat>", |
DlgTableAlignLeft : "Stânga", |
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", |
DlgTableHeight : "Înălţime", |
DlgTableCellSpace : "Spaţiu între celule", |
DlgTableCellPad : "Spaţiu în cadrul celulei", |
DlgTableCaption : "Titlu (Caption)", |
DlgTableSummary : "Rezumat", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Proprietăţile celulei", |
314,7 → 319,7 |
DlgCellWidth : "Lăţime", |
DlgCellWidthPx : "pixeli", |
DlgCellWidthPc : "procente", |
DlgCellHeight : "ÎnÄlÅ£ime", |
DlgCellHeight : "Înălţime", |
DlgCellWordWrap : "Desparte cuvintele (Wrap)", |
DlgCellWordWrapNotSet : "<Nesetat>", |
DlgCellWordWrapYes : "Da", |
330,14 → 335,17 |
DlgCellVerAlignMiddle : "Mijloc", |
DlgCellVerAlignBottom : "Jos", |
DlgCellVerAlignBaseline : "Linia de jos (Baseline)", |
DlgCellRowSpan : "Lungimea în linii (Span)", |
DlgCellCollSpan : "Lungimea în coloane (Span)", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
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", |
DlgFindAndReplaceTitle : "Găseşte şi înlocuieşte", |
// Find Dialog |
DlgFindTitle : "Găseşte", |
347,21 → 355,21 |
// Replace Dialog |
DlgReplaceTitle : "Replace", |
DlgReplaceFindLbl : "Găseşte:", |
DlgReplaceReplaceLbl : "ÎnlocuieÅte cu:", |
DlgReplaceReplaceLbl : "Înlocuieşte cu:", |
DlgReplaceCaseChk : "Deosebeşte majuscule de minuscule (Match case)", |
DlgReplaceReplaceBtn : "ÎnlocuieÅte", |
DlgReplaceReplAllBtn : "ÎnlocuieÅte tot", |
DlgReplaceWordChk : "Doar cuvintele întregi", |
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).", |
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Ä.", |
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", |
378,18 → 386,18 |
DlgAnchorErrorName : "Vă rugăm scrieţi numele ancorei", |
// Speller Pages Dialog |
DlgSpellNotInDic : "Nu e în dicÅ£ionar", |
DlgSpellChangeTo : "SchimbÄ în", |
DlgSpellNotInDic : "Nu e în dicţionar", |
DlgSpellChangeTo : "Schimbă în", |
DlgSpellBtnIgnore : "Ignoră", |
DlgSpellBtnIgnoreAll : "Ignoră toate", |
DlgSpellBtnReplace : "ÎnlocuieÅte", |
DlgSpellBtnReplaceAll : "ÎnlocuieÅte tot", |
DlgSpellBtnReplace : "Înlocuieşte", |
DlgSpellBtnReplaceAll : "Înlocuieşte tot", |
DlgSpellBtnUndo : "Starea anterioară (undo)", |
DlgSpellNoSuggestions : "- Fără sugestii -", |
DlgSpellProgress : "Verificarea textului în desfÄÅurare...", |
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", |
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?", |
506,10 → 514,10 |
// 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...", |
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", |
DlgTemplatesReplace : "Înlocuieşte cuprinsul actual", |
// About Dialog |
DlgAboutAboutTab : "Despre", |
/trunk/api/fckeditor/editor/lang/pt-br.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
304,32 → 304,40 |
DlgTableWidthPx : "pixels", |
DlgTableWidthPc : "%", |
DlgTableHeight : "Altura", |
DlgTableCellSpace : "Espaçamento", |
DlgTableCellSpace : "Espaçamento", |
DlgTableCellPad : "Enchimento", |
DlgTableCaption : "Legenda", |
DlgTableSummary : "Resumo", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Formatar célula", |
DlgCellTitle : "Formatar célula", |
DlgCellWidth : "Largura", |
DlgCellWidthPx : "pixels", |
DlgCellWidthPc : "%", |
DlgCellHeight : "Altura", |
DlgCellWordWrap : "Quebra de Linha", |
DlgCellWordWrapNotSet : "<Não ajustado>", |
DlgCellWordWrapNotSet : "<Não ajustado>", |
DlgCellWordWrapYes : "Sim", |
DlgCellWordWrapNo : "Não", |
DlgCellWordWrapNo : "Não", |
DlgCellHorAlign : "Alinhamento Horizontal", |
DlgCellHorAlignNotSet : "<Não ajustado>", |
DlgCellHorAlignNotSet : "<Não ajustado>", |
DlgCellHorAlignLeft : "Esquerda", |
DlgCellHorAlignCenter : "Centralizado", |
DlgCellHorAlignRight: "Direita", |
DlgCellVerAlign : "Alinhamento Vertical", |
DlgCellVerAlignNotSet : "<Não ajustado>", |
DlgCellVerAlignNotSet : "<Não ajustado>", |
DlgCellVerAlignTop : "Superior", |
DlgCellVerAlignMiddle : "Centralizado", |
DlgCellVerAlignBottom : "Inferior", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Transpor Linhas", |
DlgCellCollSpan : "Transpor Colunas", |
DlgCellBackColor : "Cor do Plano de Fundo", |
/trunk/api/fckeditor/editor/lang/af.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Cell buffer", |
DlgTableCaption : "Beskreiwing", |
DlgTableSummary : "Opsomming", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Cell eienskappe", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Middel", |
DlgCellVerAlignBottom : "Onder", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Rei strekking", |
DlgCellCollSpan : "Kolom strekking", |
DlgCellBackColor : "Agtergrond Kleur", |
/trunk/api/fckeditor/editor/lang/ru.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
44,7 → 44,7 |
InsertLinkLbl : "Ссылка", |
InsertLink : "Вставить/Редактировать ссылку", |
RemoveLink : "Убрать ссылку", |
VisitLink : "Open Link", //MISSING |
VisitLink : "Перейти по ссылке", |
Anchor : "Вставить/Редактировать якорь", |
AnchorDelete : "Убрать якорь", |
InsertImageLbl : "Изображение", |
73,9 → 73,9 |
DecreaseIndent : "Уменьшить отступ", |
IncreaseIndent : "Увеличить отступ", |
Blockquote : "Цитата", |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
CreateDiv : "Создать Div контейнер", |
EditDiv : "Редактировать Div контейнер", |
DeleteDiv : "Удалить Div контейнер", |
Undo : "Отменить", |
Redo : "Повторить", |
NumberedListLbl : "Нумерованный список", |
308,6 → 308,11 |
DlgTableCellPad : "Отступ (padding)", |
DlgTableCaption : "Заголовок", |
DlgTableSummary : "Резюме", |
DlgTableHeaders : "Заголовки", |
DlgTableHeadersNone : "Нет", |
DlgTableHeadersColumn : "Первый столбец", |
DlgTableHeadersRow : "Первая строка", |
DlgTableHeadersBoth : "Оба варианта", |
// Table Cell Dialog |
DlgCellTitle : "Свойства ячейки", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Посередине", |
DlgCellVerAlignBottom : "Снизу", |
DlgCellVerAlignBaseline : "По базовой линии", |
DlgCellType : "Тип ячейки", |
DlgCellTypeData : "Данные", |
DlgCellTypeHeader : "Заголовок", |
DlgCellRowSpan : "Диапазон строк (span)", |
DlgCellCollSpan : "Диапазон колонок (span)", |
DlgCellBackColor : "Цвет фона", |
519,8 → 527,8 |
DlgAboutInfo : "Для большей информации, посетите", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
DlgDivAdvancedTab : "Advanced", //MISSING |
DlgDivStyle : "Style", //MISSING |
DlgDivInlineStyle : "Inline Style" //MISSING |
DlgDivGeneralTab : "Информация", |
DlgDivAdvancedTab : "Расширенные настройки", |
DlgDivStyle : "Стиль", |
DlgDivInlineStyle : "Встроенные стили" |
}; |
/trunk/api/fckeditor/editor/lang/fr-ca.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
307,34 → 307,42 |
DlgTableCellSpace : "Espacement", |
DlgTableCellPad : "Contour", |
DlgTableCaption : "Titre", |
DlgTableSummary : "Résumé", |
DlgTableSummary : "Résumé", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Propriétés de la cellule", |
DlgCellTitle : "Propriétés de la cellule", |
DlgCellWidth : "Largeur", |
DlgCellWidthPx : "pixels", |
DlgCellWidthPc : "pourcentage", |
DlgCellHeight : "Hauteur", |
DlgCellWordWrap : "Retour à la ligne", |
DlgCellWordWrapNotSet : "<Par défaut>", |
DlgCellWordWrap : "Retour à la ligne", |
DlgCellWordWrapNotSet : "<Par défaut>", |
DlgCellWordWrapYes : "Oui", |
DlgCellWordWrapNo : "Non", |
DlgCellHorAlign : "Alignement horizontal", |
DlgCellHorAlignNotSet : "<Par défaut>", |
DlgCellHorAlignNotSet : "<Par défaut>", |
DlgCellHorAlignLeft : "Gauche", |
DlgCellHorAlignCenter : "Centré", |
DlgCellHorAlignCenter : "Centré", |
DlgCellHorAlignRight: "Droite", |
DlgCellVerAlign : "Alignement vertical", |
DlgCellVerAlignNotSet : "<Par défaut>", |
DlgCellVerAlignNotSet : "<Par défaut>", |
DlgCellVerAlignTop : "Haut", |
DlgCellVerAlignMiddle : "Milieu", |
DlgCellVerAlignBottom : "Bas", |
DlgCellVerAlignBaseline : "Bas du texte", |
DlgCellRowSpan : "Lignes fusionnées", |
DlgCellCollSpan : "Colonnes fusionnées", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Lignes fusionnées", |
DlgCellCollSpan : "Colonnes fusionnées", |
DlgCellBackColor : "Couleur de fond", |
DlgCellBorderColor : "Couleur de bordure", |
DlgCellBtnSelect : "Sélectionner...", |
DlgCellBtnSelect : "Sélectionner...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Chercher et Remplacer", |
/trunk/api/fckeditor/editor/lang/bn.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "সেল প্যাডিং", |
DlgTableCaption : "শীর্ষক", |
DlgTableSummary : "সারাংশ", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "সেল প্রোপার্টি", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "মধ্য", |
DlgCellVerAlignBottom : "নীচে", |
DlgCellVerAlignBaseline : "মূলরেখা", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "রো স্প্যান", |
DlgCellCollSpan : "কলাম স্প্যান", |
DlgCellBackColor : "ব্যাকগ্রাউন্ড রং", |
/trunk/api/fckeditor/editor/lang/nb.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
294,20 → 294,25 |
DlgTableTitle : "Egenskaper for tabell", |
DlgTableRows : "Rader", |
DlgTableColumns : "Kolonner", |
DlgTableBorder : "Rammestørrelse", |
DlgTableBorder : "Rammestørrelse", |
DlgTableAlign : "Justering", |
DlgTableAlignNotSet : "<Ikke satt>", |
DlgTableAlignLeft : "Venstre", |
DlgTableAlignCenter : "Midtjuster", |
DlgTableAlignRight : "Høyre", |
DlgTableAlignRight : "Høyre", |
DlgTableWidth : "Bredde", |
DlgTableWidthPx : "piksler", |
DlgTableWidthPc : "prosent", |
DlgTableHeight : "Høyde", |
DlgTableHeight : "Høyde", |
DlgTableCellSpace : "Cellemarg", |
DlgTableCellPad : "Cellepolstring", |
DlgTableCaption : "Tittel", |
DlgTableSummary : "Sammendrag", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Celleegenskaper", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Midten", |
DlgCellVerAlignBottom : "Bunn", |
DlgCellVerAlignBaseline : "Bunnlinje", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Radspenn", |
DlgCellCollSpan : "Kolonnespenn", |
DlgCellBackColor : "Bakgrunnsfarge", |
/trunk/api/fckeditor/editor/lang/el.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Γέμισμα κελιών", |
DlgTableCaption : "Υπέρτιτλος", |
DlgTableSummary : "Περίληψη", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Ιδιότητες Κελιού", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Μέση (Middle)", |
DlgCellVerAlignBottom : "Κάτω (Bottom)", |
DlgCellVerAlignBaseline : "Γραμμή Βάσης (Baseline)", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Αριθμός Γραμμών (Rows Span)", |
DlgCellCollSpan : "Αριθμός Κολωνών (Columns Span)", |
DlgCellBackColor : "Χρώμα Υποβάθρου", |
/trunk/api/fckeditor/editor/lang/gl.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
306,8 → 306,13 |
DlgTableHeight : "Altura", |
DlgTableCellSpace : "Marxe entre Celas", |
DlgTableCellPad : "Marxe interior", |
DlgTableCaption : "Título", |
DlgTableCaption : "Título", |
DlgTableSummary : "Sumario", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Propriedades da Cela", |
315,21 → 320,24 |
DlgCellWidthPx : "pixels", |
DlgCellWidthPc : "percent", |
DlgCellHeight : "Altura", |
DlgCellWordWrap : "Axustar Liñas", |
DlgCellWordWrap : "Axustar Liñas", |
DlgCellWordWrapNotSet : "<Non Definido>", |
DlgCellWordWrapYes : "Si", |
DlgCellWordWrapNo : "Non", |
DlgCellHorAlign : "Aliñamento Horizontal", |
DlgCellHorAlign : "Aliñamento Horizontal", |
DlgCellHorAlignNotSet : "<Non definido>", |
DlgCellHorAlignLeft : "Esquerda", |
DlgCellHorAlignCenter : "Centro", |
DlgCellHorAlignRight: "Dereita", |
DlgCellVerAlign : "Aliñamento Vertical", |
DlgCellVerAlign : "Aliñamento Vertical", |
DlgCellVerAlignNotSet : "<Non definido>", |
DlgCellVerAlignTop : "Arriba", |
DlgCellVerAlignMiddle : "Medio", |
DlgCellVerAlignBottom : "Abaixo", |
DlgCellVerAlignBaseline : "Liña de Base", |
DlgCellVerAlignBaseline : "Liña de Base", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Ocupar Filas", |
DlgCellCollSpan : "Ocupar Columnas", |
DlgCellBackColor : "Color de Fondo", |
/trunk/api/fckeditor/editor/lang/ar.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
44,7 → 44,7 |
InsertLinkLbl : "رابط", |
InsertLink : "إدراج/تحرير رابط", |
RemoveLink : "إزالة رابط", |
VisitLink : "Open Link", //MISSING |
VisitLink : "افتح الرابط", |
Anchor : "إدراج/تحرير إشارة مرجعية", |
AnchorDelete : "إزالة إشارة مرجعية", |
InsertImageLbl : "صورة", |
73,9 → 73,9 |
DecreaseIndent : "إنقاص المسافة البادئة", |
IncreaseIndent : "زيادة المسافة البادئة", |
Blockquote : "اقتباس", |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
CreateDiv : "إنشاء حاوية Div", |
EditDiv : "تعديل حاوية Div", |
DeleteDiv : "إزالة حاوية Div", |
Undo : "تراجع", |
Redo : "إعادة", |
NumberedListLbl : "تعداد رقمي", |
161,7 → 161,7 |
NoActiveX : "لتأمين متصفحك يجب أن تحدد بعض مميزات المحرر. يتوجب عليك تمكين الخيار \"Run ActiveX controls and plug-ins\". قد تواجة أخطاء وتلاحظ مميزات مفقودة", |
BrowseServerBlocked : "لايمكن فتح مصدر المتصفح. فضلا يجب التأكد بأن جميع موانع النوافذ المنبثقة معطلة", |
DialogBlocked : "لايمكن فتح نافذة الحوار . فضلا تأكد من أن مانع النوافذ المنبثة معطل .", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
VisitLinkBlocked : "لا يمكن فتح نافذة جديدة. تأكد من إيقاف كل مانعي فتح النوافذ من العمل.", |
// Dialogs |
DlgBtnOK : "موافق", |
308,6 → 308,11 |
DlgTableCellPad : "المسافة البادئة", |
DlgTableCaption : "الوصف", |
DlgTableSummary : "الخلاصة", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "خصائص الخلية", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "وسط", |
DlgCellVerAlignBottom : "أسفل", |
DlgCellVerAlignBaseline : "على السطر", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "إمتداد الصفوف", |
DlgCellCollSpan : "إمتداد الأعمدة", |
DlgCellBackColor : "لون الخلفية", |
519,8 → 527,8 |
DlgAboutInfo : "لمزيد من المعلومات تفضل بزيارة", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
DlgDivAdvancedTab : "Advanced", //MISSING |
DlgDivStyle : "Style", //MISSING |
DlgDivInlineStyle : "Inline Style" //MISSING |
DlgDivGeneralTab : "عام", |
DlgDivAdvancedTab : "متقدم", |
DlgDivStyle : "المظهر", |
DlgDivInlineStyle : "المظهر المضمن" |
}; |
/trunk/api/fckeditor/editor/lang/en.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Cell padding", |
DlgTableCaption : "Caption", |
DlgTableSummary : "Summary", |
DlgTableHeaders : "Headers", |
DlgTableHeadersNone : "None", |
DlgTableHeadersColumn : "First column", |
DlgTableHeadersRow : "First Row", |
DlgTableHeadersBoth : "Both", |
// Table Cell Dialog |
DlgCellTitle : "Cell Properties", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Middle", |
DlgCellVerAlignBottom : "Bottom", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", |
DlgCellTypeData : "Data", |
DlgCellTypeHeader : "Header", |
DlgCellRowSpan : "Rows Span", |
DlgCellCollSpan : "Columns Span", |
DlgCellBackColor : "Background Color", |
/trunk/api/fckeditor/editor/lang/_translationstatus.txt |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
21,58 → 21,59 |
* Translations Status. |
*/ |
af.js Found: 396 Missing: 24 |
ar.js Found: 411 Missing: 9 |
bg.js Found: 373 Missing: 47 |
bn.js Found: 380 Missing: 40 |
bs.js Found: 226 Missing: 194 |
ca.js Found: 420 Missing: 0 |
cs.js Found: 420 Missing: 0 |
da.js Found: 381 Missing: 39 |
de.js Found: 419 Missing: 1 |
el.js Found: 396 Missing: 24 |
en-au.js Found: 420 Missing: 0 |
en-ca.js Found: 420 Missing: 0 |
en-uk.js Found: 420 Missing: 0 |
eo.js Found: 346 Missing: 74 |
es.js Found: 420 Missing: 0 |
et.js Found: 411 Missing: 9 |
eu.js Found: 411 Missing: 9 |
fa.js Found: 413 Missing: 7 |
fi.js Found: 411 Missing: 9 |
fo.js Found: 420 Missing: 0 |
fr-ca.js Found: 419 Missing: 1 |
fr.js Found: 420 Missing: 0 |
gl.js Found: 381 Missing: 39 |
gu.js Found: 411 Missing: 9 |
he.js Found: 420 Missing: 0 |
hi.js Found: 420 Missing: 0 |
hr.js Found: 420 Missing: 0 |
hu.js Found: 411 Missing: 9 |
it.js Found: 410 Missing: 10 |
ja.js Found: 420 Missing: 0 |
km.js Found: 370 Missing: 50 |
ko.js Found: 390 Missing: 30 |
lt.js Found: 376 Missing: 44 |
lv.js Found: 381 Missing: 39 |
mn.js Found: 411 Missing: 9 |
ms.js Found: 352 Missing: 68 |
nb.js Found: 414 Missing: 6 |
nl.js Found: 420 Missing: 0 |
no.js Found: 414 Missing: 6 |
pl.js Found: 411 Missing: 9 |
pt-br.js Found: 411 Missing: 9 |
pt.js Found: 381 Missing: 39 |
ro.js Found: 410 Missing: 10 |
ru.js Found: 411 Missing: 9 |
sk.js Found: 396 Missing: 24 |
sl.js Found: 411 Missing: 9 |
sr-latn.js Found: 368 Missing: 52 |
sr.js Found: 368 Missing: 52 |
sv.js Found: 409 Missing: 11 |
th.js Found: 393 Missing: 27 |
tr.js Found: 396 Missing: 24 |
uk.js Found: 397 Missing: 23 |
vi.js Found: 419 Missing: 1 |
zh-cn.js Found: 420 Missing: 0 |
zh.js Found: 420 Missing: 0 |
af.js Found: 396 Missing: 32 |
ar.js Found: 420 Missing: 8 |
bg.js Found: 373 Missing: 55 |
bn.js Found: 380 Missing: 48 |
bs.js Found: 226 Missing: 202 |
ca.js Found: 420 Missing: 8 |
cs.js Found: 420 Missing: 8 |
da.js Found: 419 Missing: 9 |
de.js Found: 420 Missing: 8 |
el.js Found: 396 Missing: 32 |
en-au.js Found: 423 Missing: 5 |
en-ca.js Found: 423 Missing: 5 |
en-uk.js Found: 423 Missing: 5 |
eo.js Found: 346 Missing: 82 |
es.js Found: 428 Missing: 0 |
et.js Found: 411 Missing: 17 |
eu.js Found: 420 Missing: 8 |
fa.js Found: 413 Missing: 15 |
fi.js Found: 411 Missing: 17 |
fo.js Found: 420 Missing: 8 |
fr-ca.js Found: 419 Missing: 9 |
fr.js Found: 428 Missing: 0 |
gl.js Found: 381 Missing: 47 |
gu.js Found: 411 Missing: 17 |
he.js Found: 428 Missing: 0 |
hi.js Found: 420 Missing: 8 |
hr.js Found: 420 Missing: 8 |
hu.js Found: 411 Missing: 17 |
is.js Found: 428 Missing: 0 |
it.js Found: 410 Missing: 18 |
ja.js Found: 420 Missing: 8 |
km.js Found: 370 Missing: 58 |
ko.js Found: 390 Missing: 38 |
lt.js Found: 376 Missing: 52 |
lv.js Found: 381 Missing: 47 |
mn.js Found: 411 Missing: 17 |
ms.js Found: 352 Missing: 76 |
nb.js Found: 414 Missing: 14 |
nl.js Found: 420 Missing: 8 |
no.js Found: 414 Missing: 14 |
pl.js Found: 411 Missing: 17 |
pt-br.js Found: 411 Missing: 17 |
pt.js Found: 381 Missing: 47 |
ro.js Found: 410 Missing: 18 |
ru.js Found: 427 Missing: 1 |
sk.js Found: 420 Missing: 8 |
sl.js Found: 411 Missing: 17 |
sr-latn.js Found: 368 Missing: 60 |
sr.js Found: 368 Missing: 60 |
sv.js Found: 409 Missing: 19 |
th.js Found: 393 Missing: 35 |
tr.js Found: 428 Missing: 0 |
uk.js Found: 419 Missing: 9 |
vi.js Found: 419 Missing: 9 |
zh-cn.js Found: 428 Missing: 0 |
zh.js Found: 423 Missing: 5 |
/trunk/api/fckeditor/editor/lang/fr.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
307,31 → 307,39 |
DlgTableCellSpace : "Espacement", |
DlgTableCellPad : "Contour", |
DlgTableCaption : "Titre", |
DlgTableSummary : "Résumé", |
DlgTableSummary : "Résumé", |
DlgTableHeaders : "Entêtes", |
DlgTableHeadersNone : "Sans", |
DlgTableHeadersColumn : "Première colonne", |
DlgTableHeadersRow : "Première Ligne", |
DlgTableHeadersBoth : "Les 2", |
// Table Cell Dialog |
DlgCellTitle : "Propriétés de la cellule", |
DlgCellTitle : "Propriétés de la cellule", |
DlgCellWidth : "Largeur", |
DlgCellWidthPx : "pixels", |
DlgCellWidthPc : "pourcentage", |
DlgCellHeight : "Hauteur", |
DlgCellWordWrap : "Retour à la ligne", |
DlgCellWordWrapNotSet : "<Par défaut>", |
DlgCellWordWrap : "Retour à la ligne", |
DlgCellWordWrapNotSet : "<Par défaut>", |
DlgCellWordWrapYes : "Oui", |
DlgCellWordWrapNo : "Non", |
DlgCellHorAlign : "Alignement horizontal", |
DlgCellHorAlignNotSet : "<Par défaut>", |
DlgCellHorAlignNotSet : "<Par défaut>", |
DlgCellHorAlignLeft : "Gauche", |
DlgCellHorAlignCenter : "Centré", |
DlgCellHorAlignCenter : "Centré", |
DlgCellHorAlignRight: "Droite", |
DlgCellVerAlign : "Alignement vertical", |
DlgCellVerAlignNotSet : "<Par défaut>", |
DlgCellVerAlignNotSet : "<Par défaut>", |
DlgCellVerAlignTop : "Haut", |
DlgCellVerAlignMiddle : "Milieu", |
DlgCellVerAlignBottom : "Bas", |
DlgCellVerAlignBaseline : "Bas du texte", |
DlgCellRowSpan : "Lignes fusionnées", |
DlgCellCollSpan : "Colonnes fusionnées", |
DlgCellType : "Type de Cellule", |
DlgCellTypeData : "Données", |
DlgCellTypeHeader : "Entête", |
DlgCellRowSpan : "Lignes fusionnées", |
DlgCellCollSpan : "Colonnes fusionnées", |
DlgCellBackColor : "Fond", |
DlgCellBorderColor : "Bordure", |
DlgCellBtnSelect : "Choisir...", |
/trunk/api/fckeditor/editor/lang/et.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
303,11 → 303,16 |
DlgTableWidth : "Laius", |
DlgTableWidthPx : "pikslit", |
DlgTableWidthPc : "protsenti", |
DlgTableHeight : "Kõrgus", |
DlgTableHeight : "Kõrgus", |
DlgTableCellSpace : "Lahtri vahe", |
DlgTableCellPad : "Lahtri täidis", |
DlgTableCellPad : "Lahtri täidis", |
DlgTableCaption : "Tabeli tiitel", |
DlgTableSummary : "Kokkuvõte", |
DlgTableSummary : "Kokkuvõte", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Lahtri atribuudid", |
314,26 → 319,29 |
DlgCellWidth : "Laius", |
DlgCellWidthPx : "pikslit", |
DlgCellWidthPc : "protsenti", |
DlgCellHeight : "Kõrgus", |
DlgCellWordWrap : "Sõna ülekanne", |
DlgCellWordWrapNotSet : "<Määramata>", |
DlgCellHeight : "Kõrgus", |
DlgCellWordWrap : "Sõna ülekanne", |
DlgCellWordWrapNotSet : "<Määramata>", |
DlgCellWordWrapYes : "Jah", |
DlgCellWordWrapNo : "Ei", |
DlgCellHorAlign : "Horisontaaljoondus", |
DlgCellHorAlignNotSet : "<Määramata>", |
DlgCellHorAlignNotSet : "<Määramata>", |
DlgCellHorAlignLeft : "Vasak", |
DlgCellHorAlignCenter : "Kesk", |
DlgCellHorAlignRight: "Parem", |
DlgCellVerAlign : "Vertikaaljoondus", |
DlgCellVerAlignNotSet : "<Määramata>", |
DlgCellVerAlignTop : "Üles", |
DlgCellVerAlignNotSet : "<Määramata>", |
DlgCellVerAlignTop : "Üles", |
DlgCellVerAlignMiddle : "Keskele", |
DlgCellVerAlignBottom : "Alla", |
DlgCellVerAlignBaseline : "Baasjoonele", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Reaulatus", |
DlgCellCollSpan : "Veeruulatus", |
DlgCellBackColor : "Tausta värv", |
DlgCellBorderColor : "Joone värv", |
DlgCellBackColor : "Tausta värv", |
DlgCellBorderColor : "Joone värv", |
DlgCellBtnSelect : "Vali...", |
// Find and Replace Dialog |
477,38 → 485,38 |
DlgDocCharSetGR : "Kreeka", |
DlgDocCharSetJP : "Jaapani", |
DlgDocCharSetKR : "Korea", |
DlgDocCharSetTR : "Türgi", |
DlgDocCharSetTR : "Türgi", |
DlgDocCharSetUN : "Unicode (UTF-8)", |
DlgDocCharSetWE : "Lääne-Euroopa", |
DlgDocCharSetOther : "Ülejäänud märgistike kodeeringud", |
DlgDocCharSetWE : "Lääne-Euroopa", |
DlgDocCharSetOther : "Ülejäänud märgistike kodeeringud", |
DlgDocDocType : "Dokumendi tüüppäis", |
DlgDocDocTypeOther : "Teised dokumendi tüüppäised", |
DlgDocDocType : "Dokumendi tüüppäis", |
DlgDocDocTypeOther : "Teised dokumendi tüüppäised", |
DlgDocIncXHTML : "Arva kaasa XHTML deklaratsioonid", |
DlgDocBgColor : "Taustavärv", |
DlgDocBgColor : "Taustavärv", |
DlgDocBgImage : "Taustapildi URL", |
DlgDocBgNoScroll : "Mittekeritav tagataust", |
DlgDocCText : "Tekst", |
DlgDocCLink : "Link", |
DlgDocCVisited : "Külastatud link", |
DlgDocCVisited : "Külastatud link", |
DlgDocCActive : "Aktiivne link", |
DlgDocMargins : "Lehekülje äärised", |
DlgDocMaTop : "Ülaserv", |
DlgDocMargins : "Lehekülje äärised", |
DlgDocMaTop : "Ülaserv", |
DlgDocMaLeft : "Vasakserv", |
DlgDocMaRight : "Paremserv", |
DlgDocMaBottom : "Alaserv", |
DlgDocMeIndex : "Dokumendi võtmesõnad (eraldatud komadega)", |
DlgDocMeIndex : "Dokumendi võtmesõnad (eraldatud komadega)", |
DlgDocMeDescr : "Dokumendi kirjeldus", |
DlgDocMeAuthor : "Autor", |
DlgDocMeCopy : "Autoriõigus", |
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):", |
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)", |
DlgTemplatesNoTpl : "(Ühtegi šablooni ei ole defineeritud)", |
DlgTemplatesReplace : "Asenda tegelik sisu", |
// About Dialog |
/trunk/api/fckeditor/editor/lang/hr.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Razmak ćelija", |
DlgTableCaption : "Naslov", |
DlgTableSummary : "Sažetak", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Svojstva ćelije", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Srednišnje", |
DlgCellVerAlignBottom : "Donje", |
DlgCellVerAlignBaseline : "Bazno", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Spajanje redova", |
DlgCellCollSpan : "Spajanje kolona", |
DlgCellBackColor : "Boja pozadine", |
/trunk/api/fckeditor/editor/lang/nl.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
152,13 → 152,13 |
// 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?", |
PasteWordConfirm : "De tekst die u plakte lijkt gekopieerd te zijn vanuit Word. Wilt u de tekst opschonen voordat deze geplakt wordt?", |
NotCompatiblePaste : "Deze opdracht is beschikbaar voor Internet Explorer versie 5.5 of hoger. Wilt u plakken zonder op te schonen?", |
UnknownToolbarItem : "Onbekend item op menubalk \"%1\"", |
UnknownCommand : "Onbekende opdrachtnaam: \"%1\"", |
NotImplemented : "Opdracht niet geïmplementeerd.", |
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.", |
NoActiveX : "De beveilingsinstellingen van uw 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.", |
VisitLinkBlocked : "Het was niet mogelijk een nieuw venster te openen. Controleer of er geen pop-up-blocker aktief is.", |
308,6 → 308,11 |
DlgTableCellPad : "Afstand vanaf rand cel", |
DlgTableCaption : "Naam", |
DlgTableSummary : "Samenvatting", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Eigenschappen cel", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Midden", |
DlgCellVerAlignBottom : "Beneden", |
DlgCellVerAlignBaseline : "Basislijn", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Overkoepeling rijen", |
DlgCellCollSpan : "Overkoepeling kolommen", |
DlgCellBackColor : "Achtergrondkleur", |
355,12 → 363,12 |
// 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.", |
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>.", |
DlgPasteMsg2 : "Plak de tekst in het volgende vak gebruik makend van uw toetsenbord (<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", |
389,10 → 397,10 |
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", |
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?", |
IeSpellDownload : "De spellingscontrole niet geïnstalleerd. Wilt u deze nu downloaden?", |
// Button Dialog |
DlgButtonText : "Tekst (waarde)", |
/trunk/api/fckeditor/editor/lang/mn.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Нүх доторлох(padding)", |
DlgTableCaption : "Тайлбар", |
DlgTableSummary : "Тайлбар", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Хоосон зайн шинж чанар", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Дунд", |
DlgCellVerAlignBottom : "Доод тал", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Нийт мөр (span)", |
DlgCellCollSpan : "Нийт багана (span)", |
DlgCellBackColor : "Фонны өнгө", |
/trunk/api/fckeditor/editor/lang/th.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "ระยะแนวตั้ง", |
DlgTableCaption : "หัวเรื่องของตาราง", |
DlgTableSummary : "สรุปความ", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "คุณสมบัติของ ช่อง", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "กึ่งกลาง", |
DlgCellVerAlignBottom : "ล่างสุด", |
DlgCellVerAlignBaseline : "อิงบรรทัด", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "จำนวนแถวที่คร่อมกัน", |
DlgCellCollSpan : "จำนวนสดมน์ที่คร่อมกัน", |
DlgCellBackColor : "สีพื้นหลัง", |
/trunk/api/fckeditor/editor/lang/pl.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
65,11 → 65,11 |
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", |
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", |
77,13 → 77,13 |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
Undo : "Cofnij", |
Redo : "Ponów", |
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", |
ShowDetails : "Pokaż szczegóły", |
Style : "Styl", |
FontFormat : "Format", |
Font : "Czcionka", |
90,7 → 90,7 |
FontSize : "Rozmiar", |
TextColor : "Kolor tekstu", |
BGColor : "Kolor tła", |
Source : "ŹródÅo dokumentu", |
Source : "Źródło dokumentu", |
Find : "Znajdź", |
Replace : "Zamień", |
SpellCheck : "Sprawdź pisownię", |
122,16 → 122,16 |
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", |
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", |
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", |
147,19 → 147,19 |
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", |
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?", |
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.", |
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.", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
200,11 → 200,11 |
DlgImgWidth : "Szerokość", |
DlgImgHeight : "Wysokość", |
DlgImgLockRatio : "Zablokuj proporcje", |
DlgBtnResetSize : "PrzywróÄ rozmiar", |
DlgBtnResetSize : "Przywróć rozmiar", |
DlgImgBorder : "Ramka", |
DlgImgHSpace : "Odstęp poziomy", |
DlgImgVSpace : "Odstęp pionowy", |
DlgImgAlign : "Wyrównaj", |
DlgImgAlign : "Wyrównaj", |
DlgImgAlignLeft : "Do lewej", |
DlgImgAlignAbsBottom: "Do dołu", |
DlgImgAlignAbsMiddle: "Do środka w pionie", |
237,7 → 237,7 |
DlgLnkTypeURL : "Adres URL", |
DlgLnkTypeAnchor : "Odnośnik wewnątrz strony", |
DlgLnkTypeEMail : "Adres e-mail", |
DlgLnkProto : "ProtokóÅ", |
DlgLnkProto : "Protokół", |
DlgLnkProtoOther : "<inny>", |
DlgLnkURL : "Adres URL", |
DlgLnkAnchorSel : "Wybierz etykietę", |
304,13 → 304,18 |
DlgTableWidthPx : "piksele", |
DlgTableWidthPc : "%", |
DlgTableHeight : "Wysokość", |
DlgTableCellSpace : "OdstÄp pomiÄdzy komórkami", |
DlgTableCellPad : "Margines wewnÄtrzny komórek", |
DlgTableCellSpace : "Odstęp pomiędzy komórkami", |
DlgTableCellPad : "Margines wewnętrzny komórek", |
DlgTableCaption : "Tytuł", |
DlgTableSummary : "Podsumowanie", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "WÅaÅciwoÅci komórki", |
DlgCellTitle : "Właściwości komórki", |
DlgCellWidth : "Szerokość", |
DlgCellWidthPx : "piksele", |
DlgCellWidthPc : "%", |
319,17 → 324,20 |
DlgCellWordWrapNotSet : "<brak ustawień>", |
DlgCellWordWrapYes : "Tak", |
DlgCellWordWrapNo : "Nie", |
DlgCellHorAlign : "Wyrównanie poziome", |
DlgCellHorAlign : "Wyrównanie poziome", |
DlgCellHorAlignNotSet : "<brak ustawień>", |
DlgCellHorAlignLeft : "Do lewej", |
DlgCellHorAlignCenter : "Do środka", |
DlgCellHorAlignRight: "Do prawej", |
DlgCellVerAlign : "Wyrównanie pionowe", |
DlgCellVerAlign : "Wyrównanie pionowe", |
DlgCellVerAlignNotSet : "<brak ustawień>", |
DlgCellVerAlignTop : "Do góry", |
DlgCellVerAlignTop : "Do góry", |
DlgCellVerAlignMiddle : "Do środka", |
DlgCellVerAlignBottom : "Do dołu", |
DlgCellVerAlignBaseline : "Do linii bazowej", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Zajętość wierszy", |
DlgCellCollSpan : "Zajętość kolumn", |
DlgCellBackColor : "Kolor tła", |
354,20 → 362,20 |
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.", |
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>.", |
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", |
DlgPasteRemoveStyles : "Usuń definicje Stylów", |
// Color Picker |
ColorAutomatic : "Automatycznie", |
ColorMoreColors : "WiÄcej kolorów...", |
ColorMoreColors : "Więcej kolorów...", |
// Document Properties |
DocProps : "Właściwości dokumentu", |
387,10 → 395,10 |
DlgSpellBtnUndo : "Cofnij", |
DlgSpellNoSuggestions : "- Brak sugestii -", |
DlgSpellProgress : "Trwa sprawdzanie ...", |
DlgSpellNoMispell : "Sprawdzanie zakoÅczone: nie znaleziono bÅÄdów", |
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", |
DlgSpellManyChanges : "Sprawdzanie zakończone: zmieniono %l słów", |
IeSpellDownload : "Słownik nie jest zainstalowany. Chcesz go ściągnąć?", |
480,9 → 488,9 |
DlgDocCharSetTR : "Tureckie", |
DlgDocCharSetUN : "Unicode (UTF-8)", |
DlgDocCharSetWE : "Zachodnioeuropejskie", |
DlgDocCharSetOther : "Inne kodowanie znaków", |
DlgDocCharSetOther : "Inne kodowanie znaków", |
DlgDocDocType : "NagÅówek typu dokumentu", |
DlgDocDocType : "Nagłówek typu dokumentu", |
DlgDocDocTypeOther : "Inny typ dokumentu", |
DlgDocIncXHTML : "Dołącz deklarację XHTML", |
DlgDocBgColor : "Kolor tła", |
507,8 → 515,8 |
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)", |
DlgTemplatesLoading : "Ładowanie listy szablonów. Proszę czekać...", |
DlgTemplatesNoTpl : "(Brak zdefiniowanych szablonów)", |
DlgTemplatesReplace : "Zastąp aktualną zawartość", |
// About Dialog |
/trunk/api/fckeditor/editor/lang/it.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,9 → 308,14 |
DlgTableCellPad : "Padding celle", |
DlgTableCaption : "Intestazione", |
DlgTableSummary : "Indice", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Proprietà cella", |
DlgCellTitle : "Proprietà cella", |
DlgCellWidth : "Larghezza", |
DlgCellWidthPx : "pixel", |
DlgCellWidthPc : "percento", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Centrato", |
DlgCellVerAlignBottom : "In Basso", |
DlgCellVerAlignBaseline : "Linea base", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Righe occupate", |
DlgCellCollSpan : "Colonne occupate", |
DlgCellBackColor : "Colore sfondo", |
/trunk/api/fckeditor/editor/lang/sl.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Polnilo med celicami", |
DlgTableCaption : "Naslov", |
DlgTableSummary : "Povzetek", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Lastnosti celice", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "V sredino", |
DlgCellVerAlignBottom : "Na dno", |
DlgCellVerAlignBaseline : "Na osnovno črto", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Spojenih vrstic (row-span)", |
DlgCellCollSpan : "Spojenih stolpcev (col-span)", |
DlgCellBackColor : "Barva ozadja", |
/trunk/api/fckeditor/editor/lang/lt.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
37,7 → 37,7 |
Copy : "Kopijuoti", |
Paste : "Įdėti", |
PasteText : "Įdėti kaip gryną tekstą", |
PasteWord : "Ä®dÄti i¨Word", |
PasteWord : "Įdėti iš Word", |
Print : "Spausdinti", |
SelectAll : "Pažymėti viską", |
RemoveFormat : "Panaikinti formatą", |
152,7 → 152,7 |
// 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į?", |
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\"", |
177,8 → 177,8 |
DlgGenNotSet : "<nėra nustatyta>", |
DlgGenId : "Id", |
DlgGenLangDir : "Teksto kryptis", |
DlgGenLangDirLtr : "I¨kairÄs į deÅ¡inÄ (LTR)", |
DlgGenLangDirRtl : "I¨deÅ¡inÄs į kairÄ (RTL)", |
DlgGenLangDirLtr : "Iš kairės į dešinę (LTR)", |
DlgGenLangDirRtl : "Iš dešinės į kairę (RTL)", |
DlgGenLangCode : "Kalbos kodas", |
DlgGenAccessKey : "Prieigos raktas", |
DlgGenName : "Vardas", |
308,6 → 308,11 |
DlgTableCellPad : "Trapas nuo langelio rėmo iki teksto", |
DlgTableCaption : "Antraštė", |
DlgTableSummary : "Santrauka", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Langelio savybės", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Vidurį", |
DlgCellVerAlignBottom : "Apačią", |
DlgCellVerAlignBaseline : "Apatinę liniją", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Eilučių apjungimas", |
DlgCellCollSpan : "Stulpelių apjungimas", |
DlgCellBackColor : "Fono spalva", |
358,7 → 366,7 |
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", |
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 |
467,8 → 475,8 |
DlgDocPageTitle : "Puslapio antraštė", |
DlgDocLangDir : "Kalbos kryptis", |
DlgDocLangDirLTR : "I¨kairÄs į deÅ¡inÄ (LTR)", |
DlgDocLangDirRTL : "I¨deÅ¡inÄs į kairÄ (RTL)", |
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 |
/trunk/api/fckeditor/editor/lang/sr-latn.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
76,7 → 76,7 |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
Undo : "Poniàti akciju", |
Undo : "Poni�ti akciju", |
Redo : "Ponovi akciju", |
NumberedListLbl : "Nabrojiva lista", |
NumberedList : "Unesi/ukloni nabrojivu listu", |
222,7 → 222,7 |
DlgFlashTitle : "Osobine fleša", |
DlgFlashChkPlay : "Automatski start", |
DlgFlashChkLoop : "Ponavljaj", |
DlgFlashChkMenu : "UkljuÄi fle¨meni", |
DlgFlashChkMenu : "Uključi fleš meni", |
DlgFlashScale : "Skaliraj", |
DlgFlashScaleAll : "Prikaži sve", |
DlgFlashScaleNoBorder : "Bez ivice", |
308,6 → 308,11 |
DlgTableCellPad : "Razmak ćelija", |
DlgTableCaption : "Naslov tabele", |
DlgTableSummary : "Summary", //MISSING |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Osobine ćelije", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Sredina", |
DlgCellVerAlignBottom : "Donje", |
DlgCellVerAlignBaseline : "Bazno", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Spajanje redova", |
DlgCellCollSpan : "Spajanje kolona", |
DlgCellBackColor : "Boja pozadine", |
/trunk/api/fckeditor/editor/lang/zh.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "內距", |
DlgTableCaption : "標題", |
DlgTableSummary : "摘要", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "儲存格屬性", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "置中", |
DlgCellVerAlignBottom : "靠下對齊", |
DlgCellVerAlignBaseline : "基準線", |
DlgCellType : "儲存格類型", |
DlgCellTypeData : "資料", |
DlgCellTypeHeader : "標題", |
DlgCellRowSpan : "合併列數", |
DlgCellCollSpan : "合併欄数", |
DlgCellBackColor : "背景顏色", |
/trunk/api/fckeditor/editor/lang/lv.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Rūtiņu nobīde", |
DlgTableCaption : "Leģenda", |
DlgTableSummary : "Anotācija", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Rūtiņas īpašības", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Vidus", |
DlgCellVerAlignBottom : "Apakša", |
DlgCellVerAlignBaseline : "Pamatrindā", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Rindu pārnese", |
DlgCellCollSpan : "Kolonnu pārnese", |
DlgCellBackColor : "Fona krāsa", |
362,7 → 370,7 |
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", |
DlgPasteIgnoreFont : "Ignorēt iepriekš norādītos fontus", |
DlgPasteRemoveStyles : "Noņemt norādītos stilus", |
// Color Picker |
/trunk/api/fckeditor/editor/lang/pt.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
304,32 → 304,40 |
DlgTableWidthPx : "pixeis", |
DlgTableWidthPc : "percentagem", |
DlgTableHeight : "Altura", |
DlgTableCellSpace : "Esp. e/células", |
DlgTableCellSpace : "Esp. e/células", |
DlgTableCellPad : "Esp. interior", |
DlgTableCaption : "Título", |
DlgTableSummary : "Sumário", |
DlgTableCaption : "Título", |
DlgTableSummary : "Sumário", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Propriedades da Célula", |
DlgCellTitle : "Propriedades da Célula", |
DlgCellWidth : "Largura", |
DlgCellWidthPx : "pixeis", |
DlgCellWidthPc : "percentagem", |
DlgCellHeight : "Altura", |
DlgCellWordWrap : "Moldar Texto", |
DlgCellWordWrapNotSet : "<Não definido>", |
DlgCellWordWrapNotSet : "<Não definido>", |
DlgCellWordWrapYes : "Sim", |
DlgCellWordWrapNo : "Não", |
DlgCellWordWrapNo : "Não", |
DlgCellHorAlign : "Alinhamento Horizontal", |
DlgCellHorAlignNotSet : "<Não definido>", |
DlgCellHorAlignNotSet : "<Não definido>", |
DlgCellHorAlignLeft : "Esquerda", |
DlgCellHorAlignCenter : "Centrado", |
DlgCellHorAlignRight: "Direita", |
DlgCellVerAlign : "Alinhamento Vertical", |
DlgCellVerAlignNotSet : "<Não definido>", |
DlgCellVerAlignNotSet : "<Não definido>", |
DlgCellVerAlignTop : "Topo", |
DlgCellVerAlignMiddle : "Médio", |
DlgCellVerAlignMiddle : "Médio", |
DlgCellVerAlignBottom : "Fundi", |
DlgCellVerAlignBaseline : "Linha de Base", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Unir Linhas", |
DlgCellCollSpan : "Unir Colunas", |
DlgCellBackColor : "Cor do Fundo", |
385,14 → 393,14 |
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", |
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?", |
IeSpellDownload : " Verificação ortográfica não instalada. Quer descarregar agora?", |
// Button Dialog |
DlgButtonText : "Texto (Valor)", |
/trunk/api/fckeditor/editor/lang/en-ca.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
308,6 → 308,11 |
DlgTableCellPad : "Cell padding", |
DlgTableCaption : "Caption", |
DlgTableSummary : "Summary", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Cell Properties", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Middle", |
DlgCellVerAlignBottom : "Bottom", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", |
DlgCellTypeData : "Data", |
DlgCellTypeHeader : "Header", |
DlgCellRowSpan : "Rows Span", |
DlgCellCollSpan : "Columns Span", |
DlgCellBackColor : "Background Colour", |
/trunk/api/fckeditor/editor/lang/ca.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
295,41 → 295,49 |
DlgTableRows : "Files", |
DlgTableColumns : "Columnes", |
DlgTableBorder : "Mida vora", |
DlgTableAlign : "Alineació", |
DlgTableAlign : "Alineació", |
DlgTableAlignNotSet : "<No Definit>", |
DlgTableAlignLeft : "Esquerra", |
DlgTableAlignCenter : "Centre", |
DlgTableAlignRight : "Dreta", |
DlgTableWidth : "Amplada", |
DlgTableWidthPx : "píxels", |
DlgTableWidthPx : "píxels", |
DlgTableWidthPc : "percentatge", |
DlgTableHeight : "Alçada", |
DlgTableCellSpace : "Espaiat de cel·les", |
DlgTableCellPad : "Encoixinament de cel·les", |
DlgTableCaption : "Títol", |
DlgTableHeight : "Alçada", |
DlgTableCellSpace : "Espaiat de cel·les", |
DlgTableCellPad : "Encoixinament de cel·les", |
DlgTableCaption : "Títol", |
DlgTableSummary : "Resum", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Propietats de la cel·la", |
DlgCellTitle : "Propietats de la cel·la", |
DlgCellWidth : "Amplada", |
DlgCellWidthPx : "píxels", |
DlgCellWidthPx : "píxels", |
DlgCellWidthPc : "percentatge", |
DlgCellHeight : "Alçada", |
DlgCellHeight : "Alçada", |
DlgCellWordWrap : "Ajust de paraula", |
DlgCellWordWrapNotSet : "<No Definit>", |
DlgCellWordWrapYes : "Si", |
DlgCellWordWrapNo : "No", |
DlgCellHorAlign : "Alineació horitzontal", |
DlgCellHorAlign : "Alineació horitzontal", |
DlgCellHorAlignNotSet : "<No Definit>", |
DlgCellHorAlignLeft : "Esquerra", |
DlgCellHorAlignCenter : "Centre", |
DlgCellHorAlignRight: "Dreta", |
DlgCellVerAlign : "Alineació vertical", |
DlgCellVerAlign : "Alineació vertical", |
DlgCellVerAlignNotSet : "<No definit>", |
DlgCellVerAlignTop : "Top", |
DlgCellVerAlignMiddle : "Middle", |
DlgCellVerAlignBottom : "Bottom", |
DlgCellVerAlignBaseline : "Baseline", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Rows Span", |
DlgCellCollSpan : "Columns Span", |
DlgCellBackColor : "Color de fons", |
/trunk/api/fckeditor/editor/lang/sr.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
90,7 → 90,7 |
FontSize : "Величина фонта", |
TextColor : "Боја текста", |
BGColor : "Боја позадине", |
Source : "Kôд", |
Source : "Kôд", |
Find : "Претрага", |
Replace : "Замена", |
SpellCheck : "Провери спеловање", |
179,7 → 179,7 |
DlgGenLangDir : "Смер језика", |
DlgGenLangDirLtr : "С лева на десно (LTR)", |
DlgGenLangDirRtl : "С десна на лево (RTL)", |
DlgGenLangCode : "Kôд Ñезика", |
DlgGenLangCode : "Kôд језика", |
DlgGenAccessKey : "Приступни тастер", |
DlgGenName : "Назив", |
DlgGenTabIndex : "Таб индекс", |
308,6 → 308,11 |
DlgTableCellPad : "Размак ћелија", |
DlgTableCaption : "Наслов табеле", |
DlgTableSummary : "Summary", //MISSING |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Особине ћелије", |
330,6 → 335,9 |
DlgCellVerAlignMiddle : "Средина", |
DlgCellVerAlignBottom : "Доње", |
DlgCellVerAlignBaseline : "Базно", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Спајање редова", |
DlgCellCollSpan : "Спајање колона", |
DlgCellBackColor : "Боја позадине", |
/trunk/api/fckeditor/editor/lang/da.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
35,78 → 35,78 |
Preview : "Vis eksempel", |
Cut : "Klip", |
Copy : "Kopier", |
Paste : "Indsæt", |
PasteText : "Indsæt som ikke-formateret tekst", |
PasteWord : "Indsæt fra Word", |
Paste : "Indsæt", |
PasteText : "Indsæt som ikke-formateret tekst", |
PasteWord : "Indsæt fra Word", |
Print : "Udskriv", |
SelectAll : "Vælg alt", |
SelectAll : "Vælg alt", |
RemoveFormat : "Fjern formatering", |
InsertLinkLbl : "Hyperlink", |
InsertLink : "Indsæt/rediger hyperlink", |
InsertLink : "Indsæt/rediger hyperlink", |
RemoveLink : "Fjern hyperlink", |
VisitLink : "Open Link", //MISSING |
Anchor : "Indsæt/rediger bogmærke", |
AnchorDelete : "Remove Anchor", //MISSING |
InsertImageLbl : "Indsæt billede", |
InsertImage : "Indsæt/rediger billede", |
VisitLink : "Åbn hyperlink", |
Anchor : "Indsæt/rediger bogmærke", |
AnchorDelete : "Fjern bogmærke", |
InsertImageLbl : "Indsæt billede", |
InsertImage : "Indsæt/rediger billede", |
InsertFlashLbl : "Flash", |
InsertFlash : "Indsæt/rediger Flash", |
InsertFlash : "Indsæt/rediger Flash", |
InsertTableLbl : "Table", |
InsertTable : "Indsæt/rediger tabel", |
InsertTable : "Indsæt/rediger tabel", |
InsertLineLbl : "Linie", |
InsertLine : "Indsæt vandret linie", |
InsertLine : "Indsæt vandret linie", |
InsertSpecialCharLbl: "Symbol", |
InsertSpecialChar : "Indsæt symbol", |
InsertSpecialChar : "Indsæt symbol", |
InsertSmileyLbl : "Smiley", |
InsertSmiley : "Indsæt smiley", |
InsertSmiley : "Indsæt smiley", |
About : "Om FCKeditor", |
Bold : "Fed", |
Italic : "Kursiv", |
Underline : "Understreget", |
StrikeThrough : "Overstreget", |
Subscript : "Sænket skrift", |
Superscript : "Hævet skrift", |
Subscript : "Sænket skrift", |
Superscript : "Hævet skrift", |
LeftJustify : "Venstrestillet", |
CenterJustify : "Centreret", |
RightJustify : "Højrestillet", |
RightJustify : "Højrestillet", |
BlockJustify : "Lige margener", |
DecreaseIndent : "Formindsk indrykning", |
IncreaseIndent : "Forøg indrykning", |
Blockquote : "Blockquote", //MISSING |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
IncreaseIndent : "Forøg indrykning", |
Blockquote : "Blokcitat", |
CreateDiv : "Opret div container", |
EditDiv : "Rediger div container", |
DeleteDiv : "Fjern div container", |
Undo : "Fortryd", |
Redo : "Annuller fortryd", |
NumberedListLbl : "Talopstilling", |
NumberedList : "Indsæt/fjern talopstilling", |
NumberedList : "Indsæt/fjern talopstilling", |
BulletedListLbl : "Punktopstilling", |
BulletedList : "Indsæt/fjern punktopstilling", |
BulletedList : "Indsæt/fjern punktopstilling", |
ShowTableBorders : "Vis tabelkanter", |
ShowDetails : "Vis detaljer", |
Style : "Typografi", |
FontFormat : "Formatering", |
Font : "Skrifttype", |
FontSize : "Skriftstørrelse", |
FontSize : "Skriftstørrelse", |
TextColor : "Tekstfarve", |
BGColor : "Baggrundsfarve", |
Source : "Kilde", |
Find : "Søg", |
Find : "Søg", |
Replace : "Erstat", |
SpellCheck : "Stavekontrol", |
UniversalKeyboard : "Universaltastatur", |
PageBreakLbl : "Sidskift", |
PageBreak : "Indsæt sideskift", |
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", |
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 |
114,22 → 114,22 |
// Context Menu |
EditLink : "Rediger hyperlink", |
CellCM : "Celle", |
RowCM : "Række", |
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 |
InsertRowAfter : "Indsæt række efter", |
InsertRowBefore : "Indsæt række før", |
DeleteRows : "Slet række", |
InsertColumnAfter : "Indsæt kolonne efter", |
InsertColumnBefore : "Indsæt kolonne før", |
DeleteColumns : "Slet kolonne", |
InsertCellAfter : "Insert Cell After", //MISSING |
InsertCellBefore : "Insert Cell Before", //MISSING |
InsertCellAfter : "Indsæt celle efter", |
InsertCellBefore : "Indsæt celle før", |
DeleteCells : "Slet celle", |
MergeCells : "Flet celler", |
MergeRight : "Merge Right", //MISSING |
MergeDown : "Merge Down", //MISSING |
HorizontalSplitCell : "Split Cell Horizontally", //MISSING |
VerticalSplitCell : "Split Cell Vertically", //MISSING |
MergeRight : "Flet til højre", |
MergeDown : "Flet nedad", |
HorizontalSplitCell : "Del celle vandret", |
VerticalSplitCell : "Del celle lodret", |
TableDelete : "Slet tabel", |
CellProperties : "Egenskaber for celle", |
TableProperties : "Egenskaber for tabel", |
151,17 → 151,17 |
// 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\"!", |
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.", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
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.", |
VisitLinkBlocked : "Det var ikke muligt at åbne et nyt vindue. Tjek, at ingen popup-blokkere er aktive.", |
// Dialogs |
DlgBtnOK : "OK", |
265,34 → 265,34 |
DlgLnkPopMenu : "Menulinje", |
DlgLnkPopScroll : "Scrollbars", |
DlgLnkPopStatus : "Statuslinje", |
DlgLnkPopToolbar : "Værktøjslinje", |
DlgLnkPopFullScrn : "Fuld skærm (IE)", |
DlgLnkPopToolbar : "Værktøjslinje", |
DlgLnkPopFullScrn : "Fuld skærm (IE)", |
DlgLnkPopDependent : "Koblet/dependent (Netscape)", |
DlgLnkPopWidth : "Bredde", |
DlgLnkPopHeight : "Højde", |
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 |
DlnLnkMsgNoAnchor : "Vælg bogmærke!", |
DlnLnkMsgInvPopName : "Navnet på popup'en skal starte med et bogstav og må ikke indeholde mellemrum", |
// Color Dialog |
DlgColorTitle : "Vælg farve", |
DlgColorTitle : "Vælg farve", |
DlgColorBtnClear : "Nulstil", |
DlgColorHighlight : "Markeret", |
DlgColorSelected : "Valgt", |
// Smiley Dialog |
DlgSmileyTitle : "Vælg smiley", |
DlgSmileyTitle : "Vælg smiley", |
// Special Character Dialog |
DlgSpecialCharTitle : "Vælg symbol", |
DlgSpecialCharTitle : "Vælg symbol", |
// Table Dialog |
DlgTableTitle : "Egenskaber for tabel", |
DlgTableRows : "Rækker", |
DlgTableRows : "Rækker", |
DlgTableColumns : "Kolonner", |
DlgTableBorder : "Rammebredde", |
DlgTableAlign : "Justering", |
299,15 → 299,20 |
DlgTableAlignNotSet : "<intet valgt>", |
DlgTableAlignLeft : "Venstrestillet", |
DlgTableAlignCenter : "Centreret", |
DlgTableAlignRight : "Højrestillet", |
DlgTableAlignRight : "Højrestillet", |
DlgTableWidth : "Bredde", |
DlgTableWidthPx : "pixels", |
DlgTableWidthPc : "procent", |
DlgTableHeight : "Højde", |
DlgTableHeight : "Højde", |
DlgTableCellSpace : "Celleafstand", |
DlgTableCellPad : "Cellemargen", |
DlgTableCaption : "Titel", |
DlgTableSummary : "Resume", |
DlgTableHeaders : "Headers", //MISSING |
DlgTableHeadersNone : "None", //MISSING |
DlgTableHeadersColumn : "First column", //MISSING |
DlgTableHeadersRow : "First Row", //MISSING |
DlgTableHeadersBoth : "Both", //MISSING |
// Table Cell Dialog |
DlgCellTitle : "Egenskaber for celle", |
323,32 → 328,35 |
DlgCellHorAlignNotSet : "<intet valgt>", |
DlgCellHorAlignLeft : "Venstrestillet", |
DlgCellHorAlignCenter : "Centreret", |
DlgCellHorAlignRight: "Højrestillet", |
DlgCellHorAlignRight: "Højrestillet", |
DlgCellVerAlign : "Lodret justering", |
DlgCellVerAlignNotSet : "<intet valgt>", |
DlgCellVerAlignTop : "Øverst", |
DlgCellVerAlignTop : "Øverst", |
DlgCellVerAlignMiddle : "Centreret", |
DlgCellVerAlignBottom : "Nederst", |
DlgCellVerAlignBaseline : "Grundlinje", |
DlgCellRowSpan : "Højde i antal rækker", |
DlgCellType : "Cell Type", //MISSING |
DlgCellTypeData : "Data", //MISSING |
DlgCellTypeHeader : "Header", //MISSING |
DlgCellRowSpan : "Højde i antal rækker", |
DlgCellCollSpan : "Bredde i antal kolonner", |
DlgCellBackColor : "Baggrundsfarve", |
DlgCellBorderColor : "Rammefarve", |
DlgCellBtnSelect : "Vælg...", |
DlgCellBtnSelect : "Vælg...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Find and Replace", //MISSING |
DlgFindAndReplaceTitle : "Søg og erstat", |
// Find Dialog |
DlgFindTitle : "Find", |
DlgFindFindBtn : "Find", |
DlgFindNotFoundMsg : "Søgeteksten blev ikke fundet!", |
DlgFindNotFoundMsg : "Søgeteksten blev ikke fundet!", |
// Replace Dialog |
DlgReplaceTitle : "Erstat", |
DlgReplaceFindLbl : "Søg efter:", |
DlgReplaceFindLbl : "Søg efter:", |
DlgReplaceReplaceLbl : "Erstat med:", |
DlgReplaceCaseChk : "Forskel på store og små bogstaver", |
DlgReplaceCaseChk : "Forskel på store og små bogstaver", |
DlgReplaceReplaceBtn : "Erstat", |
DlgReplaceReplAllBtn : "Erstat alle", |
DlgReplaceWordChk : "Kun hele ord", |
357,11 → 365,11 |
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", |
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 |
DlgPasteMsg2 : "Indsæt i feltet herunder (<STRONG>Ctrl+V</STRONG>) og klik <STRONG>OK</STRONG>.", |
DlgPasteSec : "På grund af browserens sikkerhedsindstillinger kan editoren ikke tilgå udklipsholderen direkte. Du skal indsætte udklipsholderens indhold i dette vindue igen.", |
DlgPasteIgnoreFont : "Ignorer font definitioner", |
DlgPasteRemoveStyles : "Ignorer typografi", |
397,13 → 405,13 |
// Button Dialog |
DlgButtonText : "Tekst", |
DlgButtonType : "Type", |
DlgButtonTypeBtn : "Button", //MISSING |
DlgButtonTypeSbm : "Submit", //MISSING |
DlgButtonTypeRst : "Reset", //MISSING |
DlgButtonTypeBtn : "Knap", |
DlgButtonTypeSbm : "Send", |
DlgButtonTypeRst : "Nulstil", |
// Checkbox and Radio Button Dialogs |
DlgCheckboxName : "Navn", |
DlgCheckboxValue : "Værdi", |
DlgCheckboxValue : "Værdi", |
DlgCheckboxSelected : "Valgt", |
// Form Dialog |
443,20 → 451,20 |
// Hidden Field Dialog |
DlgHiddenName : "Navn", |
DlgHiddenValue : "Værdi", |
DlgHiddenValue : "Værdi", |
// Bulleted List Dialog |
BulletedListProp : "Egenskaber for punktopstilling", |
NumberedListProp : "Egenskaber for talopstilling", |
DlgLstStart : "Start", //MISSING |
DlgLstStart : "Start", |
DlgLstType : "Type", |
DlgLstTypeCircle : "Cirkel", |
DlgLstTypeDisc : "Udfyldt cirkel", |
DlgLstTypeSquare : "Firkant", |
DlgLstTypeNumbers : "Nummereret (1, 2, 3)", |
DlgLstTypeLCase : "Små bogstaver (a, b, c)", |
DlgLstTypeLCase : "Små bogstaver (a, b, c)", |
DlgLstTypeUCase : "Store bogstaver (A, B, C)", |
DlgLstTypeSRoman : "Små romertal (i, ii, iii)", |
DlgLstTypeSRoman : "Små romertal (i, ii, iii)", |
DlgLstTypeLRoman : "Store romertal (I, II, III)", |
// Document Properties Dialog |
467,20 → 475,20 |
DlgDocPageTitle : "Sidetitel", |
DlgDocLangDir : "Sprog", |
DlgDocLangDirLTR : "Fra venstre mod højre (LTR)", |
DlgDocLangDirRTL : "Fra højre mod venstre (RTL)", |
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", |
DlgDocCharSet : "Tegnsæt kode", |
DlgDocCharSetCE : "Centraleuropæisk", |
DlgDocCharSetCT : "Traditionel kinesisk (Big5)", |
DlgDocCharSetCR : "Kyrillisk", |
DlgDocCharSetGR : "Græsk", |
DlgDocCharSetJP : "Japansk", |
DlgDocCharSetKR : "Koreansk", |
DlgDocCharSetTR : "Tyrkisk", |
DlgDocCharSetUN : "Unicode (UTF-8)", |
DlgDocCharSetWE : "Vesteuropæisk", |
DlgDocCharSetOther : "Anden tegnsæt kode", |
DlgDocDocType : "Dokumenttype kategori", |
DlgDocDocTypeOther : "Anden dokumenttype kategori", |
506,10 → 514,10 |
// Templates Dialog |
Templates : "Skabeloner", |
DlgTemplatesTitle : "Indholdsskabeloner", |
DlgTemplatesSelMsg : "Vælg den skabelon, som skal åbnes i editoren.<br>(Nuværende indhold vil blive overskrevet!):", |
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 |
DlgTemplatesReplace : "Erstat det faktiske indhold", |
// About Dialog |
DlgAboutAboutTab : "Om", |
516,11 → 524,11 |
DlgAboutBrowserInfoTab : "Generelt", |
DlgAboutLicenseTab : "Licens", |
DlgAboutVersion : "version", |
DlgAboutInfo : "For yderlig information gå til", |
DlgAboutInfo : "For yderlig information gå til", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
DlgDivAdvancedTab : "Advanced", //MISSING |
DlgDivStyle : "Style", //MISSING |
DlgDivInlineStyle : "Inline Style" //MISSING |
DlgDivGeneralTab : "Generelt", |
DlgDivAdvancedTab : "Avanceret", |
DlgDivStyle : "Style", |
DlgDivInlineStyle : "Inline style" |
}; |
/trunk/api/fckeditor/editor/lang/tr.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
26,46 → 26,46 |
// Language direction : "ltr" (left to right) or "rtl" (right to left). |
Dir : "ltr", |
ToolbarCollapse : "Araç ÇubuÄunu Kapat", |
ToolbarExpand : "Araç ÇubuÄunu Aç", |
ToolbarCollapse : "Araç Çubuğunu Kapat", |
ToolbarExpand : "Araç Çubuğunu Aç", |
// Toolbar Items and Context Menu |
Save : "Kaydet", |
NewPage : "Yeni Sayfa", |
Preview : "Ön Ä°zleme", |
Preview : "Ön İzleme", |
Cut : "Kes", |
Copy : "Kopyala", |
Paste : "Yapıştır", |
PasteText : "Düzyazı Olarak 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", |
VisitLink : "Open Link", //MISSING |
Anchor : "Çapa Ekle/Düzenle", |
AnchorDelete : "Remove Anchor", //MISSING |
SelectAll : "Tümünü Seç", |
RemoveFormat : "Biçimi Kaldır", |
InsertLinkLbl : "Köprü", |
InsertLink : "Köprü Ekle/Düzenle", |
RemoveLink : "Köprü Kaldır", |
VisitLink : "Köprü Aç", |
Anchor : "Çapa Ekle/Düzenle", |
AnchorDelete : "Çapa Sil", |
InsertImageLbl : "Resim", |
InsertImage : "Resim Ekle/Düzenle", |
InsertImage : "Resim Ekle/Düzenle", |
InsertFlashLbl : "Flash", |
InsertFlash : "Flash Ekle/Düzenle", |
InsertFlash : "Flash Ekle/Düzenle", |
InsertTableLbl : "Tablo", |
InsertTable : "Tablo Ekle/Düzenle", |
InsertTable : "Tablo Ekle/Düzenle", |
InsertLineLbl : "Satır", |
InsertLine : "Yatay Satır Ekle", |
InsertSpecialCharLbl: "Özel Karakter", |
InsertSpecialChar : "Özel Karakter 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", |
Underline : "Altı Çizgili", |
StrikeThrough : "Üstü Çizgili", |
Subscript : "Alt Simge", |
Superscript : "Üst Simge", |
Superscript : "Üst Simge", |
LeftJustify : "Sola Dayalı", |
CenterJustify : "Ortalanmış", |
RightJustify : "Sağa Dayalı", |
72,10 → 72,10 |
BlockJustify : "İki Kenara Yaslanmış", |
DecreaseIndent : "Sekme Azalt", |
IncreaseIndent : "Sekme Arttır", |
Blockquote : "Blockquote", //MISSING |
CreateDiv : "Create Div Container", //MISSING |
EditDiv : "Edit Div Container", //MISSING |
DeleteDiv : "Remove Div Container", //MISSING |
Blockquote : "Blok Oluştur", |
CreateDiv : "Div Ekle", |
EditDiv : "Div Düzenle", |
DeleteDiv : "Div Sil", |
Undo : "Geri Al", |
Redo : "Tekrarla", |
NumberedListLbl : "Numaralı Liste", |
82,11 → 82,11 |
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ü", |
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", |
100,68 → 100,68 |
Form : "Form", |
Checkbox : "Onay Kutusu", |
RadioButton : "Seçenek DüÄmesi", |
RadioButton : "Seçenek Düğmesi", |
TextField : "Metin Girişi", |
Textarea : "Çok Satırlı Metin", |
Textarea : "Çok Satırlı Metin", |
HiddenField : "Gizli Veri", |
Button : "DüÄme", |
SelectionField : "Seçim Menüsü", |
ImageButton : "Resimli DüÄme", |
Button : "Düğme", |
SelectionField : "Seçim Menüsü", |
ImageButton : "Resimli Düğme", |
FitWindow : "Düzenleyici boyutunu büyüt", |
ShowBlocks : "Show Blocks", //MISSING |
FitWindow : "Düzenleyici boyutunu büyüt", |
ShowBlocks : "Blokları Göster", |
// Context Menu |
EditLink : "Köprü Düzenle", |
CellCM : "Hücre", |
EditLink : "Köprü Düzenle", |
CellCM : "Hücre", |
RowCM : "Satır", |
ColumnCM : "Sütun", |
InsertRowAfter : "Insert Row After", //MISSING |
InsertRowBefore : "Insert Row Before", //MISSING |
ColumnCM : "Sütun", |
InsertRowAfter : "Satır Ekle - Sonra", |
InsertRowBefore : "Satır Ekle - Önce", |
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 |
InsertColumnAfter : "Kolon Ekle - Sonra", |
InsertColumnBefore : "Kolon Ekle - Önce", |
DeleteColumns : "Sütun Sil", |
InsertCellAfter : "Hücre Ekle - Sonra", |
InsertCellBefore : "Hücre Ekle - Önce", |
DeleteCells : "Hücre Sil", |
MergeCells : "Hücreleri Birleştir", |
MergeRight : "Birleştir - Sağdaki İle ", |
MergeDown : "Birleştir - Aşağıdaki İle ", |
HorizontalSplitCell : "Hücreyi Yatay Böl", |
VerticalSplitCell : "Hücreyi Dikey Böl", |
TableDelete : "Tabloyu Sil", |
CellProperties : "Hücre Özellikleri", |
TableProperties : "Tablo Özellikleri", |
ImageProperties : "Resim Özellikleri", |
FlashProperties : "Flash Özellikleri", |
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", |
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)", |
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...", |
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\"", |
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.", |
VisitLinkBlocked : "It was not possible to open a new window. Make sure all popup blockers are disabled.", //MISSING |
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.", |
VisitLinkBlocked : "Yeni pencere açmak mümkün olmadı. Tüm \"Popup Blocker\" programlarının devre dışı olduğundan emin olun", |
// Dialogs |
DlgBtnOK : "Tamam", |
184,23 → 184,23 |
DlgGenName : "Ad", |
DlgGenTabIndex : "Sekme İndeksi", |
DlgGenLongDescr : "Uzun Tanımlı URL", |
DlgGenClass : "Biçem Sayfası Sınıfları", |
DlgGenClass : "Biçem Sayfası Sınıfları", |
DlgGenTitle : "Danışma Başlığı", |
DlgGenContType : "DanıÅma Ä°çerik Türü", |
DlgGenContType : "Danışma İçerik Türü", |
DlgGenLinkCharset : "Bağlı Kaynak Karakter Gurubu", |
DlgGenStyle : "Biçem", |
DlgGenStyle : "Biçem", |
// Image Dialog |
DlgImgTitle : "Resim Özellikleri", |
DlgImgTitle : "Resim Özellikleri", |
DlgImgInfoTab : "Resim Bilgisi", |
DlgImgBtnUpload : "Sunucuya Yolla", |
DlgImgURL : "URL", |
DlgImgUpload : "KarÅıya Yükle", |
DlgImgUpload : "Karşıya Yükle", |
DlgImgAlt : "Alternatif Yazı", |
DlgImgWidth : "Genişlik", |
DlgImgHeight : "Yükseklik", |
DlgImgHeight : "Yükseklik", |
DlgImgLockRatio : "Oranı Kilitle", |
DlgBtnResetSize : "Boyutu BaÅa Döndür", |
DlgBtnResetSize : "Boyutu Başa Döndür", |
DlgImgBorder : "Kenar", |
DlgImgHSpace : "Yatay Boşluk", |
DlgImgVSpace : "Dikey Boşluk", |
208,92 → 208,92 |
DlgImgAlignLeft : "Sol", |
DlgImgAlignAbsBottom: "Tam Altı", |
DlgImgAlignAbsMiddle: "Tam Ortası", |
DlgImgAlignBaseline : "Taban Çizgisi", |
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ü", |
DlgImgPreview : "Ön İzleme", |
DlgImgAlertUrl : "Lütfen resmin URL'sini yazınız", |
DlgImgLinkTab : "Köprü", |
// Flash Dialog |
DlgFlashTitle : "Flash Özellikleri", |
DlgFlashTitle : "Flash Özellikleri", |
DlgFlashChkPlay : "Otomatik Oynat", |
DlgFlashChkLoop : "Döngü", |
DlgFlashChkMenu : "Flash Menüsünü Kullan", |
DlgFlashChkLoop : "Döngü", |
DlgFlashChkMenu : "Flash Menüsünü Kullan", |
DlgFlashScale : "Boyutlandır", |
DlgFlashScaleAll : "Hepsini Göster", |
DlgFlashScaleAll : "Hepsini Göster", |
DlgFlashScaleNoBorder : "Kenar Yok", |
DlgFlashScaleFit : "Tam Sığdır", |
// Link Dialog |
DlgLnkWindowTitle : "Köprü", |
DlgLnkInfoTab : "Köprü Bilgisi", |
DlgLnkWindowTitle : "Köprü", |
DlgLnkInfoTab : "Köprü Bilgisi", |
DlgLnkTargetTab : "Hedef", |
DlgLnkType : "Köprü Türü", |
DlgLnkType : "Köprü Türü", |
DlgLnkTypeURL : "URL", |
DlgLnkTypeAnchor : "Bu sayfada çapa", |
DlgLnkTypeAnchor : "Bu sayfada çapa", |
DlgLnkTypeEMail : "E-Posta", |
DlgLnkProto : "Protokol", |
DlgLnkProtoOther : "<diğer>", |
DlgLnkURL : "URL", |
DlgLnkAnchorSel : "Çapa Seç", |
DlgLnkAnchorByName : "Çapa Adı ile", |
DlgLnkAnchorSel : "Çapa Seç", |
DlgLnkAnchorByName : "Çapa Adı ile", |
DlgLnkAnchorById : "Eleman Kimlik Numarası ile", |
DlgLnkNoAnchors : "(Bu belgede hiç çapa yok)", |
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", |
DlgLnkEMailBody : "İleti Gövdesi", |
DlgLnkUpload : "Karşıya Yükle", |
DlgLnkBtnUpload : "Sunucuya Gönder", |
DlgLnkTarget : "Hedef", |
DlgLnkTargetFrame : "<çerçeve>", |
DlgLnkTargetPopup : "<yeni açılan pencere>", |
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", |
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", |
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", |
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", |
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ç", |
DlgColorTitle : "Renk Seç", |
DlgColorBtnClear : "Temizle", |
DlgColorHighlight : "Vurgula", |
DlgColorSelected : "SeçilmiÅ", |
DlgColorSelected : "Seçilmiş", |
// Smiley Dialog |
DlgSmileyTitle : "İfade Ekle", |
// Special Character Dialog |
DlgSpecialCharTitle : "Özel Karakter Seç", |
DlgSpecialCharTitle : "Özel Karakter Seç", |
// Table Dialog |
DlgTableTitle : "Tablo Özellikleri", |
DlgTableTitle : "Tablo Özellikleri", |
DlgTableRows : "Satırlar", |
DlgTableColumns : "Sütunlar", |
DlgTableColumns : "Sütunlar", |
DlgTableBorder : "Kenar Kalınlığı", |
DlgTableAlign : "Hizalama", |
DlgTableAlignNotSet : "<Tanımlanmamış>", |
302,20 → 302,25 |
DlgTableAlignRight : "Sağ", |
DlgTableWidth : "Genişlik", |
DlgTableWidthPx : "piksel", |
DlgTableWidthPc : "yüzde", |
DlgTableHeight : "Yükseklik", |
DlgTableWidthPc : "yüzde", |
DlgTableHeight : "Yükseklik", |
DlgTableCellSpace : "Izgara kalınlığı", |
DlgTableCellPad : "Izgara yazı arası", |
DlgTableCaption : "Başlık", |
DlgTableSummary : "Özet", |
DlgTableSummary : "Özet", |
DlgTableHeaders : "Başlıklar", |
DlgTableHeadersNone : "Yok", |
DlgTableHeadersColumn : "İlk Sütun", |
DlgTableHeadersRow : "İlk Satır", |
DlgTableHeadersBoth : "Her İkisi", |
// Table Cell Dialog |
DlgCellTitle : "Hücre Özellikleri", |
DlgCellTitle : "Hücre Özellikleri", |
DlgCellWidth : "Genişlik", |
DlgCellWidthPx : "piksel", |
DlgCellWidthPc : "yüzde", |
DlgCellHeight : "Yükseklik", |
DlgCellWordWrap : "Sözcük Kaydır", |
DlgCellWidthPc : "yüzde", |
DlgCellHeight : "Yükseklik", |
DlgCellWordWrap : "Sözcük Kaydır", |
DlgCellWordWrapNotSet : "<Tanımlanmamış>", |
DlgCellWordWrapYes : "Evet", |
DlgCellWordWrapNo : "Hayır", |
329,15 → 334,18 |
DlgCellVerAlignTop : "Tepe", |
DlgCellVerAlignMiddle : "Orta", |
DlgCellVerAlignBottom : "Alt", |
DlgCellVerAlignBaseline : "Taban Çizgisi", |
DlgCellVerAlignBaseline : "Taban Çizgisi", |
DlgCellType : "Hücre Tipi", |
DlgCellTypeData : "Veri", |
DlgCellTypeHeader : "Başlık", |
DlgCellRowSpan : "Satır Kapla", |
DlgCellCollSpan : "Sütun Kapla", |
DlgCellCollSpan : "Sütun Kapla", |
DlgCellBackColor : "Arka Plan Rengi", |
DlgCellBorderColor : "Kenar Rengi", |
DlgCellBtnSelect : "Seç...", |
DlgCellBtnSelect : "Seç...", |
// Find and Replace Dialog |
DlgFindAndReplaceTitle : "Find and Replace", //MISSING |
DlgFindAndReplaceTitle : "Bul ve Değiştir", |
// Find Dialog |
DlgFindTitle : "Bul", |
348,22 → 356,22 |
DlgReplaceTitle : "Değiştir", |
DlgReplaceFindLbl : "Aranan:", |
DlgReplaceReplaceLbl : "Bununla değiştir:", |
DlgReplaceCaseChk : "Büyük/küçük harf duyarlı", |
DlgReplaceCaseChk : "Büyük/küçük harf duyarlı", |
DlgReplaceReplaceBtn : "Değiştir", |
DlgReplaceReplAllBtn : "Tümünü 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.", |
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", |
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 |
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 : "Gezgin yazılımınızın güvenlik ayarları düzenleyicinin direkt olarak panoya erişimine izin vermiyor. Bu pencere içine tekrar yapıştırmalısınız..", |
DlgPasteIgnoreFont : "Yazı Tipi tanımlarını yoksay", |
DlgPasteRemoveStyles : "Biçem Tanımlarını çıkar", |
DlgPasteRemoveStyles : "Biçem Tanımlarını çıkar", |
// Color Picker |
ColorAutomatic : "Otomatik", |
370,46 → 378,46 |
ColorMoreColors : "Diğer renkler...", |
// Document Properties |
DocProps : "Belge Özellikleri", |
DocProps : "Belge Özellikleri", |
// Anchor Dialog |
DlgAnchorTitle : "Çapa Özellikleri", |
DlgAnchorName : "Çapa Adı", |
DlgAnchorErrorName : "Lütfen çapa için ad giriniz", |
DlgAnchorTitle : "Çapa Özellikleri", |
DlgAnchorName : "Çapa Adı", |
DlgAnchorErrorName : "Lütfen çapa için ad giriniz", |
// Speller Pages Dialog |
DlgSpellNotInDic : "Sözlükte Yok", |
DlgSpellNotInDic : "Sözlükte Yok", |
DlgSpellChangeTo : "Şuna değiştir:", |
DlgSpellBtnIgnore : "Yoksay", |
DlgSpellBtnIgnoreAll : "Tümünü Yoksay", |
DlgSpellBtnIgnoreAll : "Tümünü Yoksay", |
DlgSpellBtnReplace : "Değiştir", |
DlgSpellBtnReplaceAll : "Tümünü DeÄiÅtir", |
DlgSpellBtnReplaceAll : "Tümünü Değiştir", |
DlgSpellBtnUndo : "Geri Al", |
DlgSpellNoSuggestions : "- Öneri Yok -", |
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", |
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?", |
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", |
DlgButtonTypeBtn : "Düğme", |
DlgButtonTypeSbm : "Gönder", |
DlgButtonTypeRst : "Sıfırla", |
// Checkbox and Radio Button Dialogs |
DlgCheckboxName : "Ad", |
DlgCheckboxValue : "Değer", |
DlgCheckboxSelected : "Seçili", |
DlgCheckboxSelected : "Seçili", |
// Form Dialog |
DlgFormName : "Ad", |
DlgFormAction : "İşlem", |
DlgFormMethod : "Yöntem", |
DlgFormMethod : "Yöntem", |
// Select Field Dialog |
DlgSelectName : "Ad", |
416,20 → 424,20 |
DlgSelectValue : "Değer", |
DlgSelectSize : "Boyut", |
DlgSelectLines : "satır", |
DlgSelectChkMulti : "Çoklu seçime izin ver", |
DlgSelectOpAvail : "Mevcut Seçenekler", |
DlgSelectChkMulti : "Çoklu seçime izin ver", |
DlgSelectOpAvail : "Mevcut Seçenekler", |
DlgSelectOpText : "Metin", |
DlgSelectOpValue : "Değer", |
DlgSelectBtnAdd : "Ekle", |
DlgSelectBtnModify : "Düzenle", |
DlgSelectBtnModify : "Düzenle", |
DlgSelectBtnUp : "Yukarı", |
DlgSelectBtnDown : "Aşağı", |
DlgSelectBtnSetValue : "Seçili deÄer olarak ata", |
DlgSelectBtnSetValue : "Seçili değer olarak ata", |
DlgSelectBtnDelete : "Sil", |
// Textarea Dialog |
DlgTextareaName : "Ad", |
DlgTextareaCols : "Sütunlar", |
DlgTextareaCols : "Sütunlar", |
DlgTextareaRows : "Satırlar", |
// Text Field Dialog |
446,18 → 454,18 |
DlgHiddenValue : "Değer", |
// Bulleted List Dialog |
BulletedListProp : "Simgeli Liste Özellikleri", |
NumberedListProp : "Numaralı Liste Özellikleri", |
DlgLstStart : "BaÅlangıç", |
BulletedListProp : "Simgeli Liste Özellikleri", |
NumberedListProp : "Numaralı Liste Özellikleri", |
DlgLstStart : "Başlangıç", |
DlgLstType : "Tip", |
DlgLstTypeCircle : "Çember", |
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)", |
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", |
466,61 → 474,61 |
DlgDocMetaTab : "Tanım Bilgisi (Meta)", |
DlgDocPageTitle : "Sayfa Başlığı", |
DlgDocLangDir : "Dil Yönü", |
DlgDocLangDir : "Dil Yönü", |
DlgDocLangDirLTR : "Soldan Sağa (LTR)", |
DlgDocLangDirRTL : "Sağdan Sola (RTL)", |
DlgDocLangCode : "Dil Kodu", |
DlgDocCharSet : "Karakter Kümesi Kodlaması", |
DlgDocCharSet : "Karakter Kümesi Kodlaması", |
DlgDocCharSetCE : "Orta Avrupa", |
DlgDocCharSetCT : "Geleneksel Çince (Big5)", |
DlgDocCharSetCT : "Geleneksel Çince (Big5)", |
DlgDocCharSetCR : "Kiril", |
DlgDocCharSetGR : "Yunanca", |
DlgDocCharSetJP : "Japonca", |
DlgDocCharSetKR : "Korece", |
DlgDocCharSetTR : "Türkçe", |
DlgDocCharSetTR : "Türkçe", |
DlgDocCharSetUN : "Unicode (UTF-8)", |
DlgDocCharSetWE : "Batı Avrupa", |
DlgDocCharSetOther : "DiÄer Karakter Kümesi Kodlaması", |
DlgDocCharSetOther : "Diğer Karakter Kümesi Kodlaması", |
DlgDocDocType : "Belge Türü BaÅlıÄı", |
DlgDocDocTypeOther : "DiÄer Belge Türü BaÅlıÄı", |
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ü", |
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ıÅ)", |
DlgDocMeIndex : "Belge Dizinleme Anahtar Kelimeleri (virgülle ayrılmış)", |
DlgDocMeDescr : "Belge Tanımı", |
DlgDocMeAuthor : "Yazar", |
DlgDocMeCopy : "Telif", |
DlgDocPreview : "Ön Ä°zleme", |
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", |
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:", |
DlgAboutVersion : "sürüm", |
DlgAboutInfo : "Daha fazla bilgi için:", |
// Div Dialog |
DlgDivGeneralTab : "General", //MISSING |
DlgDivAdvancedTab : "Advanced", //MISSING |
DlgDivStyle : "Style", //MISSING |
DlgDivInlineStyle : "Inline Style" //MISSING |
DlgDivGeneralTab : "Genel", |
DlgDivAdvancedTab : "Gelişmiş", |
DlgDivStyle : "Sitil", |
DlgDivInlineStyle : "Satıriçi Sitil" |
}; |
/trunk/api/fckeditor/editor/plugins/placeholder/lang/en.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/placeholder/lang/es.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/placeholder/lang/fr.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/placeholder/lang/de.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/placeholder/lang/pl.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
20,8 → 20,8 |
* |
* 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.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' ; |
/trunk/api/fckeditor/editor/plugins/placeholder/lang/it.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/placeholder/placeholder.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/plugins/placeholder/fck_placeholder.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/placeholder/fckplugin.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/autogrow/fckplugin.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
22,78 → 22,90 |
* height (FCKConfig.AutoGrowMax), based on its contents. |
*/ |
var FCKAutoGrow_Min = window.frameElement.offsetHeight ; |
var FCKAutoGrow = { |
MIN_HEIGHT : window.frameElement.offsetHeight, |
function FCKAutoGrow_Check() |
Check : function() |
{ |
var oInnerDoc = FCK.EditorDocument ; |
var delta = FCKAutoGrow.GetHeightDelta() ; |
if ( delta != 0 ) |
{ |
var newHeight = window.frameElement.offsetHeight + delta ; |
var iFrameHeight, iInnerHeight ; |
newHeight = FCKAutoGrow.GetEffectiveHeight( newHeight ) ; |
if ( FCKBrowserInfo.IsIE ) |
if ( newHeight != window.frameElement.height ) |
{ |
iFrameHeight = FCK.EditorWindow.frameElement.offsetHeight ; |
iInnerHeight = oInnerDoc.body.scrollHeight ; |
window.frameElement.style.height = newHeight + "px" ; |
// Gecko browsers use an onresize handler to update the innermost |
// IFRAME's height. If the document is modified before the onresize |
// is triggered, the plugin will miscalculate the new height. Thus, |
// forcibly trigger onresize. #1336 |
if ( typeof window.onresize == 'function' ) |
{ |
window.onresize() ; |
} |
} |
} |
}, |
CheckEditorStatus : function( sender, status ) |
{ |
if ( status == FCK_STATUS_COMPLETE ) |
FCKAutoGrow.Check() ; |
}, |
GetEffectiveHeight : function( height ) |
{ |
if ( height < FCKAutoGrow.MIN_HEIGHT ) |
height = FCKAutoGrow.MIN_HEIGHT; |
else |
{ |
iFrameHeight = FCK.EditorWindow.innerHeight ; |
iInnerHeight = oInnerDoc.body.offsetHeight ; |
var max = FCKConfig.AutoGrowMax; |
if ( max && max > 0 && height > max ) |
height = max; |
} |
var iDiff = iInnerHeight - iFrameHeight ; |
return height; |
}, |
if ( iDiff != 0 ) |
GetHeightDelta : function() |
{ |
var iMainFrameSize = window.frameElement.offsetHeight ; |
var oInnerDoc = FCK.EditorDocument ; |
if ( iDiff > 0 && iMainFrameSize < FCKConfig.AutoGrowMax ) |
var iFrameHeight ; |
var iInnerHeight ; |
if ( FCKBrowserInfo.IsIE ) |
{ |
iMainFrameSize += iDiff ; |
if ( iMainFrameSize > FCKConfig.AutoGrowMax ) |
iMainFrameSize = FCKConfig.AutoGrowMax ; |
iFrameHeight = FCK.EditorWindow.frameElement.offsetHeight ; |
iInnerHeight = oInnerDoc.body.scrollHeight ; |
} |
else if ( iDiff < 0 && iMainFrameSize > FCKAutoGrow_Min ) |
else |
{ |
iMainFrameSize += iDiff ; |
if ( iMainFrameSize < FCKAutoGrow_Min ) |
iMainFrameSize = FCKAutoGrow_Min ; |
iFrameHeight = FCK.EditorWindow.innerHeight ; |
iInnerHeight = oInnerDoc.body.offsetHeight + |
( parseInt( FCKDomTools.GetCurrentElementStyle( oInnerDoc.body, 'margin-top' ), 10 ) || 0 ) + |
( parseInt( FCKDomTools.GetCurrentElementStyle( oInnerDoc.body, 'margin-bottom' ), 10 ) || 0 ) ; |
} |
else |
return ; |
window.frameElement.height = iMainFrameSize ; |
return iInnerHeight - iFrameHeight ; |
}, |
// Gecko browsers use an onresize handler to update the innermost |
// IFRAME's height. If the document is modified before the onresize |
// is triggered, the plugin will miscalculate the new height. Thus, |
// forcibly trigger onresize. #1336 |
if ( typeof window.onresize == 'function' ) |
window.onresize() ; |
} |
} |
FCK.AttachToOnSelectionChange( FCKAutoGrow_Check ) ; |
function FCKAutoGrow_SetListeners() |
SetListeners : function() |
{ |
if ( FCK.EditMode != FCK_EDITMODE_WYSIWYG ) |
return ; |
FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow_Check ) ; |
FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow_Check ) ; |
FCK.EditorWindow.attachEvent( 'onscroll', FCKAutoGrow.Check ) ; |
FCK.EditorDocument.attachEvent( 'onkeyup', FCKAutoGrow.Check ) ; |
} |
}; |
FCK.AttachToOnSelectionChange( FCKAutoGrow.Check ) ; |
if ( FCKBrowserInfo.IsIE ) |
{ |
// FCKAutoGrow_SetListeners() ; |
FCK.Events.AttachEvent( 'OnAfterSetHTML', 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 ) ; |
FCK.Events.AttachEvent( 'OnStatusChange', FCKAutoGrow.CheckEditorStatus ) ; |
/trunk/api/fckeditor/editor/plugins/dragresizetable/fckplugin.js |
---|
517,8 → 517,13 |
backgroundImage : 'none', |
border : '0' |
} ) ; |
}, |
"Reset" : function() |
{ |
FCKDragTableHandler._LeftCell = FCKDragTableHandler._RightCell = FCKDragTableHandler._TableMap = null ; |
} |
}; |
FCK.Events.AttachEvent( "OnMouseMove", FCKDragTableHandler.MouseMoveListener ) ; |
FCK.Events.AttachEvent( "OnAfterSetHTML", FCKDragTableHandler.Reset ) ; |
/trunk/api/fckeditor/editor/plugins/tablecommands/fckplugin.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/simplecommands/fckplugin.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/bbcode/_sample/sample.config.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/plugins/bbcode/fckplugin.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/images/smiley/msn/sad_smile.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/images/smiley/msn/heart.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/images/smiley/msn/tounge_smile.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/fckdialog.html |
---|
1,7 → 1,7 |
<!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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
86,7 → 86,7 |
document.write( FCKTools.GetStyleHtml( FCKConfig.SkinDialogCSS ) ) ; |
// Sets the language direction. |
var langDir = document.documentElement.dir = E.FCKLang.Dir ; |
var langDir = E.FCKLang.Dir ; |
// For IE6-, the fck_dialog_ie6.js is loaded, used to fix limitations in the browser. |
if ( FCKBrowserInfo.IsIE && !FCKBrowserInfo.IsIE7 ) |
409,6 → 409,11 |
*/ |
EnsureSelection : function() |
{ |
// Move the focus to the Cancel button so even if the dialog contains a |
// contentEditable element the selection is properly restored in the editor #2496 |
window.focus() ; |
$( 'btnCancel' ).focus() ; |
FCK.Selection.Restore() ; |
}, |
573,6 → 578,8 |
// Program entry point. |
window.Init = function() |
{ |
$( 'contents' ).dir = langDir; |
// Start the throbber timer. |
Throbber.Show( 1000 ) ; |
/trunk/api/fckeditor/editor/skins/default/images/toolbar.separator.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/default/images/sprites.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/default/images/sprites.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/default/fck_strip.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/default/fck_dialog.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/default/fck_dialog_ie6.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/default/fck_editor.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/silver/images/toolbar.separator.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/silver/images/sprites.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/silver/images/sprites.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/silver/fck_strip.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/silver/fck_dialog.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/silver/fck_dialog_ie6.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/silver/fck_editor.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/_fckviewstrips.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/office2003/fck_strip.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/office2003/fck_dialog.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/office2003/fck_dialog_ie6.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/office2003/fck_editor.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/skins/office2003/images/toolbar.collapse.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/office2003/images/sprites.png |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/skins/office2003/images/sprites.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/css/fck_internal.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/css/fck_editorarea.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/css/fck_showtableborders_gecko.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/css/images/fck_plugin.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/css/images/fck_flashlogo.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/connectors/test.html |
---|
1,6 → 1,6 |
<!-- |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/connectors/php/commands.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/connectors/php/upload.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/connectors/php/io.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/connectors/php/connector.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/connectors/php/basexml.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/connectors/php/util.php |
---|
1,7 → 1,7 |
<?php |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/connectors/uploadtest.html |
---|
1,6 → 1,6 |
<!-- |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/browser/default/js/common.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/browser/default/js/fckxml.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/html.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/js.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/images/Folder32.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/filemanager/browser/default/browser.html |
---|
2,7 → 2,7 |
"http://www.w3.org/TR/html4/frameset.dtd"> |
<!-- |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/filemanager/browser/default/browser.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dtd/fck_xhtml10transitional.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dtd/fck_xhtml10strict.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/js/fckeditorcode_ie.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
23,28 → 23,28 |
*/ |
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;}; |
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.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||(FCKConfig.MsWebBrowserControlCompat&&!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&&(parseInt(s.match(/msie (\d+)/)[1],10)>=7),IsIE6:/*@cc_on!@*/false&&(parseInt(s.match(/msie (\d+)/)[1],10)>=6),IsSafari:s.Contains(' applewebkit/'),IsOpera:!!window.opera,IsAIR:s.Contains(' adobeair/'),IsMac:s.Contains('macintosh')};(function(A){A.IsGecko=(navigator.product=='Gecko')&&!A.IsSafari&&!A.IsOpera;A.IsGeckoLike=(A.IsGecko||A.IsSafari||A.IsOpera);if (A.IsGecko){var B=s.match(/rv:(\d+\.\d+)/);var C=B&&parseFloat(B[1]);if (C){A.IsGecko10=(C<1.8);A.IsGecko19=(C>1.8);}}})(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(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),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) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) 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:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!='li'&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.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.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers['*'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||'*';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(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|OBJECT':'ABBR|XML|EMBED|OBJECT';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);};FCKTempBin.Reset();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+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,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();},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;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"><head>'+FCK.TempBaseTag+'<title>'+FCKLang.Preview+'</title>'+_FCK_GetEditorAreaStyleTags()+'</head><body'+FCKConfig.GetBodyAttributes()+'>'+FCK.GetXHTML()+'</body></html>';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E='';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )';};var F=window.open(E,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+B+',height='+C+',left='+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.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 (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();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();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input'],true);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.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{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=FCKSelection.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){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).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;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();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;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};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);if (C.GetState()==-1) return false;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;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]='<div> '+this.Elements[i].outerHTML+'</div>';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement('div');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};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(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\d+$/.test(B)) B+='px';if (/^\d+$/.test(C)) C+='px';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor='transparent';D.backgroundImage='none';D.width=B;D.height=C;})(); |
FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._BehaviorsStyle){var A=FCKConfig.BasePath;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.IsSelectionChangeLocked&&FCK.EditorDocument) FCK.Events.FireEvent("OnSelectionChange");};function Doc_OnDrop(){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){var A=FCK.EditorWindow.event;if (FCK._CheckIsPastingEnabled()||FCKConfig.ShowDropDialog) FCK.PasteAsPlainText(A.dataTransfer.getData('Text'));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("onbeforedeactivate",function(){ FCKSelection.Save(true);});this.EditorDocument.attachEvent("onselectionchange",Doc_OnSelectionChange);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',Doc_OnMouseDown);};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKSelection.Restore();FCK.EditorWindow.focus();FCKUndo.SaveUndoStep();var B=FCKSelection.GetSelection();if (B.type.toLowerCase()=='control') B.clear();A='<span id="__fakeFCKRemove__" style="display:none;">fakeFCKRemove</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__"> </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;};function _FCK_RemoveDisabledAtt(){this.removeAttribute('disabled');};function Doc_OnMouseDown(A){var e=A.srcElement;if (e.nodeName.IEquals('input')&&e.type.IEquals(['radio','checkbox'])&&!e.disabled){e.disabled=true;FCKTools.SetTimeout(_FCK_RemoveDisabledAtt,1,e);}}; |
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);}else FCKConfig.BasePath=document.location.protocol+'//'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=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) { }};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||'').split(',');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+'fck_editor.css';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+'fck_dialog.css';};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];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("(<|<)!--\\{"+this._CodeTag+"(\\d+)\\}--(>|>)","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 FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),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) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) 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:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!='li'&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.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.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers['*'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||'*';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(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|OBJECT':'ABBR|XML|EMBED|OBJECT';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);};FCKTempBin.Reset();FCK.Selection.Release();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+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,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();},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;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"><head>'+FCK.TempBaseTag+'<title>'+FCKLang.Preview+'</title>'+_FCK_GetEditorAreaStyleTags()+'</head><body'+FCKConfig.GetBodyAttributes()+'>'+FCK.GetXHTML()+'</body></html>';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E='';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )';};var F=window.open(E,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+B+',height='+C+',left='+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.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 (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();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();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input'],true);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.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{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=FCKSelection.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){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).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;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();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;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};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);if (C.GetState()==-1) return false;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;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]='<div> '+this.Elements[i].outerHTML+'</div>';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement('div');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};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(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\d+$/.test(B)) B+='px';if (/^\d+$/.test(C)) C+='px';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor='transparent';D.backgroundImage='none';D.width=B;D.height=C;})(); |
FCK.Description="FCKeditor for Internet Explorer 5.5+";FCK._GetBehaviorsStyle=function(){if (!FCK._BehaviorsStyle){var A=FCKConfig.BasePath;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.IsSelectionChangeLocked&&FCK.EditorDocument) FCK.Events.FireEvent("OnSelectionChange");};function Doc_OnDrop(){if (FCK.MouseDownFlag){FCK.MouseDownFlag=false;return;};if (FCKConfig.ForcePasteAsPlainText){var A=FCK.EditorWindow.event;if (FCK._CheckIsPastingEnabled()||FCKConfig.ShowDropDialog) FCK.PasteAsPlainText(A.dataTransfer.getData('Text'));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("onbeforedeactivate",function(){ FCKSelection.Save();});this.EditorDocument.attachEvent("onselectionchange",Doc_OnSelectionChange);FCKTools.AddEventListener(FCK.EditorDocument,'mousedown',Doc_OnMouseDown);};FCK.InsertHtml=function(A){A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKSelection.Restore();FCK.EditorWindow.focus();FCKUndo.SaveUndoStep();var B=FCKSelection.GetSelection();if (B.type.toLowerCase()=='control') B.clear();A='<span id="__fakeFCKRemove__" style="display:none;">fakeFCKRemove</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__"> </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;};function _FCK_RemoveDisabledAtt(){this.removeAttribute('disabled');};function Doc_OnMouseDown(A){var e=A.srcElement;if (e.nodeName.IEquals('input')&&e.type.IEquals(['radio','checkbox'])&&!e.disabled){e.disabled=true;FCKTools.SetTimeout(_FCK_RemoveDisabledAtt,1,e);}}; |
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);}else FCKConfig.BasePath=document.location.protocol+'//'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=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) { }};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||'').split(',');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+'fck_editor.css';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+'fck_dialog.css';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.push([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];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.push(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("(<|<)!--\\{"+this._CodeTag+"(\\d+)\\}--(>|>)","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={Output:function(){},OutputObject:function(){}}; |
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);},RemoveAttributes:function (A,B){for (var i=0;i<B.length;i++) this.RemoveAttribute(A,B[i]);},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!=FCKTools.GetElementDocument(A).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()*0xffffffff,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=FCKTools.GetElementDocument(A[C].parent);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];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+B+')');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,'').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,'position')!='static') return B;if (B==FCKTools.GetElementDocument(B).documentElement&¤tWindow!=w) B=currentWindow.frameElement;else 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||0;E+=parseInt(this.GetCurrentElementStyle(A,'marginBottom')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E<G-D)) C.scrollTo(0,E);},CheckIsEditable:function(A){var B=A.nodeName.toLowerCase();var C=FCK.DTD[B]||FCK.DTD.span;return (C['#']&&!FCKListsLib.NonEditableElements[B]);},GetSelectedDivContainers:function(){var A=[];var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.GetTouchedStartNode();var D=B.GetTouchedEndNode();var E=C;if (C==D){while (D.nodeType==1&&D.lastChild) D=D.lastChild;D=FCKDomTools.GetNextSourceNode(D);}while (E&&E!=D){if (E.nodeType!=3||!/^[ \t\n]*$/.test(E.nodeValue)){var F=new FCKElementPath(E);var G=F.BlockLimit;if (G&&G.nodeName.IEquals('div')&&A.IndexOf(G)==-1) A.push(G);};E=FCKDomTools.GetNextSourceNode(E);};return A;}}; |
var FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','_moz');return B;};FCKTools.FixCssUrls=function(A,B){if (!A||A.length==0) return B;return B.replace(/url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g,function(match,opener,path,closer){if (/^\/|^\w?:/.test(path)) return match;else return 'url('+opener+A+path+closer+')';});};FCKTools._GetUrlFixedCss=function(A,B){var C=A.match(/^([^|]+)\|([\s\S]*)/);if (C) return FCKTools.FixCssUrls(C[1],C[2]);else return A;};FCKTools.AppendStyleSheet=function(A,B){if (!B) return [];if (typeof(B)=='string'){if (/[\\\/\.][^{}]*$/.test(B)){return this.AppendStyleSheet(A,B.split(','));}else return [this.AppendStyleString(A,FCKTools._GetUrlFixedCss(B))];}else{var C=[];for (var i=0;i<B.length;i++) C.push(this._AppendStyleSheet(A,B[i]));return C;}};FCKTools.GetStyleHtml=(function(){var A=function(styleDef,markTemp){if (styleDef.length==0) return '';var B=markTemp?' _fcktemp="true"':'';return '<style type="text/css"'+B+'>'+styleDef+'</style>';};var C=function(cssFileUrl,markTemp){if (cssFileUrl.length==0) return '';var B=markTemp?' _fcktemp="true"':'';return '<link href="'+cssFileUrl+'" type="text/css" rel="stylesheet" '+B+'/>';};return function(cssFileOrArrayOrDef,markTemp){if (!cssFileOrArrayOrDef) return '';if (typeof(cssFileOrArrayOrDef)=='string'){if (/[\\\/\.][^{}]*$/.test(cssFileOrArrayOrDef)){return this.GetStyleHtml(cssFileOrArrayOrDef.split(','),markTemp);}else return A(this._GetUrlFixedCss(cssFileOrArrayOrDef),markTemp);}else{var E='';for (var i=0;i<cssFileOrArrayOrDef.length;i++) E+=C(cssFileOrArrayOrDef[i],markTemp);return E;}}})();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,'&');A=A.replace(/</g,'<');A=A.replace(/>/g,'>');return A;};FCKTools.HTMLDecode=function(A){if (!A) return '';A=A.replace(/>/g,'>');A=A.replace(/</g,'<');A=A.replace(/&/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(" ");};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||(FCKBrowserInfo.IsSafari?'CSS1Compat':null)));};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=B.contentWindow.parent;}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w.document.body,'position')!='static'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(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.Bind=function(A,B){return function(){ return B.apply(A,arguments);};};FCKTools.GetVoidUrl=function(){if (FCK_IS_CUSTOM_DOMAIN) return "javascript: void( function(){document.open();document.write('<html><head><title></title></head><body></body></html>');document.domain = '"+FCK_RUNTIME_DOMAIN+"';document.close();}() ) ;";if (FCKBrowserInfo.IsIE){if (FCKBrowserInfo.IsIE7||!FCKBrowserInfo.IsIE6) return "";else return "javascript: '';";};return "javascript: void(0);";};FCKTools.ResetStyles=function(A){A.style.cssText='margin:0;padding:0;border:0;background-color:transparent;background-image:none;';}; |
FCKTools.CancelEvent=function(e){return false;};FCKTools._AppendStyleSheet=function(A,B){return A.createStyleSheet(B).owningElement;};FCKTools.AppendStyleString=function(A,B){if (!B) return null;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':if (document.location.protocol!='file:') try { return new XMLHttpRequest();} catch (e) {};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='window.FCKeditorAPI = {Version : "2.6.3",VersionBuild : "19836",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.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){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=FCKeditorAPI.Instances;};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.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,'unload',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,'beforeunload',FCKeditorAPI_ConfirmCleanup); |
var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B='window.FCKeditorAPI = {Version : "2.6.4",VersionBuild : "21629",Instances : window.FCKeditorAPI && window.FCKeditorAPI.Instances || {},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 : window.FCKeditorAPI && window.FCKeditorAPI._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.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){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=FCKeditorAPI.Instances;};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.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) 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:/'/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*| )(<\/\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,HtmlDocType:/DTD HTML/,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]*)$/,HtmlTag:/<[^\s<>](?:"[^"]*"|'[^']*'|[^<])*>/}; |
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 },NonEditableElements:{ button:1,option:1,script:1,iframe:1,textarea:1,object:1,embed:1,map:1,applet: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','fr-ca':'French (Canada)',gl:'Galician',gu:'Gujarati',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(FCKTools.GetElementDocument(A),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();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,'>');else 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.hasAttribute('_moz_editor_bogus_node')||B.getAttribute('type')=='_moz')){if (B.nextSibling) return false;else{B.removeAttribute('_moz_editor_bogus_node');B.removeAttribute('type');}};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) {};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);if (B.style.width) A.removeAttribute('width');if (B.style.height) A.removeAttribute('height');return A;},li:function(A,B,C){if (C.nodeName.IEquals(['ul','ol'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement('ul');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)} while (B&&B.nodeName.toLowerCase()=='li') return D;},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; |
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','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'},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','>':'gt','ˆ':'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={'>':'gt'};A='>';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(FCKTools.GetElementDocument(A),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();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,'>');else 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.hasAttribute('_moz_editor_bogus_node')||B.getAttribute('type')=='_moz')){if (B.nextSibling) return false;else{B.removeAttribute('_moz_editor_bogus_node');B.removeAttribute('type');}};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) {};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.push(A)-1);};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);if (B.style.width) A.removeAttribute('width');if (B.style.height) A.removeAttribute('height');return A;},li:function(A,B,C){if (C.nodeName.IEquals(['ul','ol'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement('ul');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)} while (B&&B.nodeName.toLowerCase()=='li') return D;},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,bHasStyle;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'){bHasStyle=true;continue;}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);}};if (bHasStyle||B.style.cssText.length>0){var I=FCKTools.ProtectFormStyles(B);var J=B.style.cssText.replace(FCKRegexLib.StyleProperties,FCKTools.ToLowerCase);FCKTools.RestoreFormStyles(B,I);this._AppendAttribute(C,'style',J);}};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 FCKCodeFormatter={};FCKCodeFormatter.Init=function(){var A=this.Regex={};A.BlocksOpener=/\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DL|DT|DD|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|DL|DT|DD|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|DL)[ \/\>]/i;A.DecreaseIndent=/^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL|DL)[ \>]/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.push(C)-1)+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(){FCKSelection.Restore();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);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A='<script>document.domain="'+FCK_RUNTIME_DOMAIN+'";</script>'+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\s*\/?>(?!\s*<\/base>)/gi,'$1></base>');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+' '+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G='<br type="_moz">';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement('iframe');var I='<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>';H.frameBorder=0;H.style.width=H.style.height='100%';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(/<head>/i,'<head>'+I);H.src='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )';}else if (!FCKBrowserInfo.IsGecko){H.src='javascript:void(0)';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(/<head>/i,'<head>'+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!='completed'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement('textarea');L.className='SourceField';L.dir='ltr';FCKDomTools.SetElementStyles(L,{width:'100%',height:'100%',border:'none',resize:'none',outline:'none'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;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;A.body.offsetLeft;this._BodyHTML=null;};A.designMode='on';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._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();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=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);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;}; |
53,37 → 53,37 |
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 (G!=(F._LastState||null)){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);else FCKDomTools.RemoveAttributes(I,FCKConfig.RemoveAttributesArray);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 (FCKBrowserInfo.IsIE&&e.scopeName!='HTML') E=e.scopeName.toLowerCase()+':'+E;if (!C){if (!B&&FCKListsLib.PathBlockElements[E]!=null) B=e;if (FCKListsLib.PathBlockLimitElements[E]!=null){if (!B&&E=='div'&&!FCKElementPath._CheckHasBlock(e)) B=e;else C=e;}};D.push(e);if (E=='body') break;};e=e.parentNode;};this.Block=B;this.BlockLimit=C;this.Elements=D;};FCKElementPath._CheckHasBlock=function(A){var B=A.childNodes;for (var i=0,count=B.length;i<count;i++){var C=B[i];if (C.nodeType==1&&FCKListsLib.BlockElements[C.nodeName.toLowerCase()]) return true;};return false;}; |
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=new FCKElementPath(B);this.StartNode=B.nodeType==3?B:B.childNodes[A.startOffset];this.StartContainer=B;this.StartBlock=C.Block;this.StartBlockLimit=C.BlockLimit;if (A.collapsed){this.EndNode=this.StartNode;this.EndContainer=this.StartContainer;this.EndBlock=this.StartBlock;this.EndBlockLimit=this.StartBlockLimit;}else{var D=A.endContainer;if (B!=D) C=new FCKElementPath(D);var E=D;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=D;this.EndBlock=C.Block;this.EndBlockLimit=C.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;};return null;},CheckIsCollapsed:function(){if (this._Range) return this._Range.collapsed;return false;},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 (A&&A.nodeType==1){if (FCKDomTools.CheckIsEditable(A)) B=A;else if (B) break;A=A.firstChild;};if (B) this.MoveToElementStart(B);},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=' ';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=' ';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&&D.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;}while (C&&E.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(A){var B=A||FCKConfig.EnterMode;if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var C=this.StartBlock;var D=this.EndBlock;var E=null;if (B!='br'){if (!C){C=this.FixBlock(true,B);D=this.EndBlock;};if (!D) D=this.FixBlock(false,B);};var F=(C!=null&&this.CheckStartOfBlock());var G=(D!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (C&&D&&C==D){if (G){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(D,4);D=null;}else if (F){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(C,3);C=null;}else{this.SetEnd(C,2);var H=this.ExtractContents();D=C.cloneNode(false);D.removeAttribute('id',false);H.AppendTo(D);FCKDomTools.InsertAfterNode(C,D);this.MoveToPosition(C,4);if (FCKBrowserInfo.IsGecko&&!C.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(C);}};return {PreviousBlock:C,NextBlock:D,WasStartOfBlock:F,WasEndOfBlock:G,ElementPath:E};};return null;},FixBlock:function(A,B){var C=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var D=this.Window.document.createElement(B);this.ExtractContents().AppendTo(D);FCKDomTools.TrimNode(D);if (FCKDomTools.CheckIsEmptyElement(D,function(element) { return element.getAttribute('_fck_bookmark')!='true';})&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);this.InsertNode(D);this.MoveToBookmark(C);return D;},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;}}; |
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=new FCKElementPath(B);this.StartNode=B.nodeType==3?B:B.childNodes[A.startOffset];this.StartContainer=B;this.StartBlock=C.Block;this.StartBlockLimit=C.BlockLimit;if (A.collapsed){this.EndNode=this.StartNode;this.EndContainer=this.StartContainer;this.EndBlock=this.StartBlock;this.EndBlockLimit=this.StartBlockLimit;}else{var D=A.endContainer;if (B!=D) C=new FCKElementPath(D);var E=D;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=D;this.EndBlock=C.Block;this.EndBlockLimit=C.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;};return null;},CheckIsCollapsed:function(){if (this._Range) return this._Range.collapsed;return false;},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 (A&&A.nodeType==1){if (FCKDomTools.CheckIsEditable(A)) B=A;else if (B) break;A=A.firstChild;};if (B) this.MoveToElementStart(B);},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=' ';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=' ';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&&D.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;}while (C&&C.nodeType==3&&E.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(A){var B=A||FCKConfig.EnterMode;if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var C=this.StartBlock;var D=this.EndBlock;var E=null;if (B!='br'){if (!C){C=this.FixBlock(true,B);D=this.EndBlock;};if (!D) D=this.FixBlock(false,B);};var F=(C!=null&&this.CheckStartOfBlock());var G=(D!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (C&&D&&C==D){if (G){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(D,4);D=null;}else if (F){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(C,3);C=null;}else{this.SetEnd(C,2);var H=this.ExtractContents();D=C.cloneNode(false);D.removeAttribute('id',false);H.AppendTo(D);FCKDomTools.InsertAfterNode(C,D);this.MoveToPosition(C,4);if (FCKBrowserInfo.IsGecko&&!C.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(C);}};return {PreviousBlock:C,NextBlock:D,WasStartOfBlock:F,WasEndOfBlock:G,ElementPath:E};};return null;},FixBlock:function(A,B){var C=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var D=this.Window.document.createElement(B);this.ExtractContents().AppendTo(D);FCKDomTools.TrimNode(D);if (FCKDomTools.CheckIsEmptyElement(D,function(element) { return element.getAttribute('_fck_bookmark')!='true';})&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);this.InsertNode(D);this.MoveToBookmark(C);return D;},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='';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;this._NextNode=null;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]&&(!FCKBrowserInfo.IsIE||H.scopeName=='HTML')){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};if (B){B.SetEnd(H,3,true);if (M!='br') this._NextNode=FCKDomTools.GetNextSourceNode(H,true,null,I);};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;K=true;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;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);};if (!this._NextNode) this._NextNode=(C||A==I)?null:FCKDomTools.GetNextSourceNode(A,true,null,I);return A;}}; |
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;this._NextNode=null;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]&&(!FCKBrowserInfo.IsIE||H.scopeName=='HTML')){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};if (B){B.SetEnd(H,3,true);if (M!='br') this._NextNode=FCKDomTools.GetNextSourceNode(H,true,null,I)||H;};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;K=true;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;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);};if (!this._NextNode) 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 (E==0){C=C.insertBefore(this._Document.createTextNode(''),C.firstChild);G=true;}else if (E>C.childNodes.length-1){C=C.appendChild(this._Document.createTextNode(''));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'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);this.TabText='';if (D>0||FCKBrowserInfo.IsSafari){while (D--) this.TabText+='\xa0';E.SetKeystrokes([9,'Tab']);};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;};if (FCKBrowserInfo.IsIE){var F=FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var G=B.Clone();G.SetStart(F,4);if (G.CheckIsEmpty()){F.parentNode.removeChild(F);return true;}}};var H=B.StartBlock;var I=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&H&&I){if (!C){var J=B.CheckEndOfBlock();B.DeleteContents();if (H!=I){B.SetStart(I,1);B.SetEnd(I,1);};B.Select();A=(H==I);};if (B.CheckStartOfBlock()){var K=B.StartBlock;var L=FCKDomTools.GetPreviousSourceElement(K,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,L,K);}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(A);if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (F){if (F.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(F,F.parentNode);FCKDomTools.MoveNode(F,F.nextSibling,true);}}else if (E&&E.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(E,E.parentNode);C.MoveToElementEditStart(E.nextSibling);FCKDomTools.MoveNode(E,E.previousSibling);};if (!G&&!H){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(FCKTools.GetElementDocument(F).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){for (var i=0,len=K.Elements.length;i<len;i++){var L=K.Elements[i];if (L==K.Block||L==K.BlockLimit) break;if (FCKListsLib.InlineChildReqElements[L.nodeName.toLowerCase()]){L=FCKDomTools.CloneElement(L);FCKDomTools.MoveChildren(I,L);I.appendChild(L);}}};if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);C.InsertNode(I);if (FCKBrowserInfo.IsIE){C.MoveToElementEditStart(I);C.Select();};C.MoveToElementEditStart(G&&!H?F:I);};if (FCKBrowserInfo.IsGeckoLike) FCKDomTools.ScrollIntoView(F||I,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);FCKDomTools.ScrollIntoView(I,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=FCK.IsDirty();var C,i=0;while((C=this._Items[i++])) C.ProcessDocument(A);if (!B) FCK.ResetIsDirty();};var FCKDocumentProcessor_CreateFakeImage=function(A,B){var C=FCKTools.GetElementDocument(B).createElement('IMG');C.className=A;C.src=FCKConfig.BasePath+'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);}}};FCKEmbedAndObjectProcessor=(function(){var A=[];var B=function(el){var C=el.cloneNode(true);var D;var E=D=FCKDocumentProcessor_CreateFakeImage('FCK__UnknownObject',C);FCKEmbedAndObjectProcessor.RefreshView(E,el);for (var i=0;i<A.length;i++) D=A[i](el,D)||D;if (D!=E) FCKTempBin.RemoveElement(E.getAttribute('_fckrealelement'));el.parentNode.replaceChild(D,el);};var F=function(elementName,doc){var G=doc.getElementsByTagName(elementName);for (var i=G.length-1;i>=0;i--) B(G[i]);};var H=function(doc){F('object',doc);F('embed',doc);};return FCKTools.Merge(FCKDocumentProcessor.AppendNew(),{ProcessDocument:function(doc){if (FCKBrowserInfo.IsGecko) FCKTools.RunFunction(H,this,[doc]);else H(doc);},RefreshView:function(placeHolder,original){if (original.getAttribute('width')>0) placeHolder.style.width=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('width'));if (original.getAttribute('height')>0) placeHolder.style.height=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('height'));},AddCustomHandler:function(func){A.push(func);}});})();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);}}};FCKEmbedAndObjectProcessor.AddCustomHandler(function(A,B){if (!(A.nodeName.IEquals('embed')&&(A.type=='application/x-shockwave-flash'||/\.swf($|#|\?)/i.test(A.src)))) return;B.className='FCK__Flash';B.setAttribute('_fckflash','true',0);});if (FCKBrowserInfo.IsSafari){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByClassName?A.getElementsByClassName('Apple-style-span'):Array.prototype.filter.call(A.getElementsByTagName('span'),function(item){ return item.className=='Apple-style-span';});for (var i=B.length-1;i>=0;i--) FCKDomTools.RemoveNode(B[i],true);}}; |
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'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);this.TabText='';if (D>0||FCKBrowserInfo.IsSafari){while (D--) this.TabText+='\xa0';E.SetKeystrokes([9,'Tab']);};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;};if (FCKBrowserInfo.IsIE){var F=FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var G=B.Clone();G.SetStart(F,4);if (G.CheckIsEmpty()){F.parentNode.removeChild(F);return true;}}};var H=B.StartBlock;var I=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&H&&I){if (!C){var J=B.CheckEndOfBlock();B.DeleteContents();if (H!=I){B.SetStart(I,1);B.SetEnd(I,1);};B.Select();A=(H==I);};if (B.CheckStartOfBlock()){var K=B.StartBlock;var L=FCKDomTools.GetPreviousSourceElement(K,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,L,K);}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(A);if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (F){if (F.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(F,F.parentNode);FCKDomTools.MoveNode(F,F.nextSibling,true);}}else if (E&&E.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(E,E.parentNode);C.MoveToElementEditStart(E.nextSibling);FCKDomTools.MoveNode(E,E.previousSibling);};if (!G&&!H){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(FCKTools.GetElementDocument(F).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){for (var i=0,len=K.Elements.length;i<len;i++){var L=K.Elements[i];if (L==K.Block||L==K.BlockLimit) break;if (FCKListsLib.InlineChildReqElements[L.nodeName.toLowerCase()]){L=FCKDomTools.CloneElement(L);FCKDomTools.MoveChildren(I,L);I.appendChild(L);}}};if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);C.InsertNode(I);if (FCKBrowserInfo.IsIE){C.MoveToElementEditStart(I);C.Select();};C.MoveToElementEditStart(G&&!H?F:I);};if (FCKBrowserInfo.IsGeckoLike){if (F){var M=this.Window.document.createElement('span');M.innerHTML=' ';C.InsertNode(M);FCKDomTools.ScrollIntoView(M,false);C.DeleteContents();}else{FCKDomTools.ScrollIntoView(F||I,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);FCKDomTools.ScrollIntoView(I,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.push(A);return A;};FCKDocumentProcessor.Process=function(A){var B=FCK.IsDirty();var C,i=0;while((C=this._Items[i++])) C.ProcessDocument(A);if (!B) FCK.ResetIsDirty();};var FCKDocumentProcessor_CreateFakeImage=function(A,B){var C=FCKTools.GetElementDocument(B).createElement('IMG');C.className=A;C.src=FCKConfig.BasePath+'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 FCKEmbedAndObjectProcessor=(function(){var A=[];var B=function(el){var C=el.cloneNode(true);var D;var E=D=FCKDocumentProcessor_CreateFakeImage('FCK__UnknownObject',C);FCKEmbedAndObjectProcessor.RefreshView(E,el);for (var i=0;i<A.length;i++) D=A[i](el,D)||D;if (D!=E) FCKTempBin.RemoveElement(E.getAttribute('_fckrealelement'));el.parentNode.replaceChild(D,el);};var F=function(elementName,doc){var G=doc.getElementsByTagName(elementName);for (var i=G.length-1;i>=0;i--) B(G[i]);};var H=function(doc){F('object',doc);F('embed',doc);};return FCKTools.Merge(FCKDocumentProcessor.AppendNew(),{ProcessDocument:function(doc){if (FCKBrowserInfo.IsGecko) FCKTools.RunFunction(H,this,[doc]);else H(doc);},RefreshView:function(placeHolder,original){if (original.getAttribute('width')>0) placeHolder.style.width=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('width'));if (original.getAttribute('height')>0) placeHolder.style.height=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('height'));},AddCustomHandler:function(func){A.push(func);}});})();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);}}};FCKEmbedAndObjectProcessor.AddCustomHandler(function(A,B){if (!(A.nodeName.IEquals('embed')&&(A.type=='application/x-shockwave-flash'||/\.swf($|#|\?)/i.test(A.src)))) return;B.className='FCK__Flash';B.setAttribute('_fckflash','true',0);});if (FCKBrowserInfo.IsSafari){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByClassName?A.getElementsByClassName('Apple-style-span'):Array.prototype.filter.call(A.getElementsByTagName('span'),function(item){ return item.className=='Apple-style-span';});for (var i=B.length-1;i>=0;i--) FCKDomTools.RemoveNode(B[i],true);}}; |
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=FCKSelection.GetSelection().type;if (A=='Control'||A=='Text') return A;if (this.GetSelection().createRange().parentElement) return 'Text';}catch(e){};return 'None';};FCKSelection.GetSelectedElement=function(){if (this.GetType()=='Control'){var A=this.GetSelection().createRange();if (A&&A.item) return this.GetSelection().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 this.GetSelection().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();this.GetSelection().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=this.GetSelection().createRange();B.collapse(A==null||A===true);B.select();}};FCKSelection.HasAncestorNode=function(A){var B;if (this.GetSelection().type=="Control"){B=this.GetSelectedElement();}else{var C=this.GetSelection().createRange();B=C.parentElement();}while (B){if (B.nodeName.IEquals(A)) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B,oRange;if (!FCK.EditorDocument) return null;if (this.GetSelection().type=="Control"){oRange=this.GetSelection().createRange();for (i=0;i<oRange.length;i++){if (oRange(i).parentNode){B=oRange(i).parentNode;break;}}}else{oRange=this.GetSelection().createRange();B=oRange.parentElement();}while (B&&B.nodeName!=A) B=B.parentNode;return B;};FCKSelection.Delete=function(){var A=this.GetSelection();if (A.type.toLowerCase()!="none"){A.clear();};return A;};FCKSelection.GetSelection=function(){this.Restore();return FCK.EditorDocument.selection;};FCKSelection.Save=function(A){if (!A) FCK.Focus();var B=FCK.EditorDocument;if (!B) return;var C=B.selection;var D;if (C){D=C.createRange();if (D){if (D.parentElement&&FCKTools.GetElementDocument(D.parentElement())!=B) D=null;else if (D.item&&FCKTools.GetElementDocument(D.item(0))!=B) D=null;}};this.SelectionData=D;};FCKSelection._GetSelectionDocument=function(A){var B=A.createRange();if (!B) return null;else if (B.item) return FCKTools.GetElementDocument(B.item(0));else return FCKTools.GetElementDocument(B.parentElement());};FCKSelection.Restore=function(){if (this.SelectionData){FCK.IsSelectionChangeLocked=true;try{if (String(this._GetSelectionDocument(FCK.EditorDocument.selection).body.contentEditable)=='true'){FCK.IsSelectionChangeLocked=false;return;};this.SelectionData.select();}catch (e) {};FCK.IsSelectionChangeLocked=false;}};FCKSelection.Release=function(){delete this.SelectionData;}; |
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=FCKTools.GetElementDocument(B).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(FCKTools.GetElementDocument(B).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=FCKTools.GetElementDocument(B).createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(FCKTools.GetElementDocument(D).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=FCKTools.GetElementDocument(B).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(FCKTools.GetElementDocument(B).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');var L=B.parentNode.parentNode;if (L.rows.length>G) L.insertBefore(K,L.rows[G]);else L.appendChild(K);for (var i=0;i<C[F].length;){var M=C[F][i].colSpan;if (isNaN(M)||M<1) M=1;if (i==D){i+=M;continue;};var N=C[F][i].rowSpan;if (isNaN(N)) N=1;C[F][i].rowSpan=N+1;i+=M;};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){var C=FCKBrowserInfo.IsIE?"_fckrowspan":"rowSpan";while (B.rows.length>0){var D=B.rows[0];D.parentNode.removeChild(D);};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var E=A[i][j];if (E.parentNode) E.parentNode.removeChild(E);E.colSpan=E[C]=1;}};var F=0;for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var E=A[i][j];if (!E) continue;if (j>F) F=j;if (E._colScanned===true) continue;if (A[i][j-1]==E) E.colSpan++;if (A[i][j+1]!=E) E._colScanned=true;}};for (var i=0;i<=F;i++){for (var j=0;j<A.length;j++){if (!A[j]) continue;var E=A[j][i];if (!E||E._rowScanned===true) continue;if (A[j-1]&&A[j-1][i]==E) E[C]++;if (!A[j+1]||A[j+1][i]!=E) E._rowScanned=true;}};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var E=A[i][j];if (FCKBrowserInfo.IsIE){E.removeAttribute('_colScanned');E.removeAttribute('_rowScanned');}else{delete E._colScanned;delete E._rowScanned;}}};for (var i=0;i<A.length;i++){var J=FCKTools.GetElementDocument(B).createElement('tr');for (var j=0;j<A[i].length;){var E=A[i][j];if (A[i-1]&&A[i-1][j]==E){j+=E.colSpan;continue;};J.appendChild(E);if (C!='rowSpan'){E.rowSpan=E[C];E.removeAttribute(C);};j+=E.colSpan;if (E.colSpan==1) E.removeAttribute('colspan');if (E.rowSpan==1) E.removeAttribute('rowspan');};B.appendChild(J);}};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=FCKSelection.GetSelection().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;}; |
FCKSelection.GetType=function(){try{var A=FCKSelection.GetSelection().type;if (A=='Control'||A=='Text') return A;if (this.GetSelection().createRange().parentElement) return 'Text';}catch(e){};return 'None';};FCKSelection.GetSelectedElement=function(){if (this.GetType()=='Control'){var A=this.GetSelection().createRange();if (A&&A.item) return this.GetSelection().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 this.GetSelection().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();this.GetSelection().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=this.GetSelection().createRange();B.collapse(A==null||A===true);B.select();}};FCKSelection.HasAncestorNode=function(A){var B;if (this.GetSelection().type=="Control"){B=this.GetSelectedElement();}else{var C=this.GetSelection().createRange();B=C.parentElement();}while (B){if (B.nodeName.IEquals(A)) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B,oRange;if (!FCK.EditorDocument) return null;if (this.GetSelection().type=="Control"){oRange=this.GetSelection().createRange();for (i=0;i<oRange.length;i++){if (oRange(i).parentNode){B=oRange(i).parentNode;break;}}}else{oRange=this.GetSelection().createRange();B=oRange.parentElement();}while (B&&!B.nodeName.Equals(A)) B=B.parentNode;return B;};FCKSelection.Delete=function(){var A=this.GetSelection();if (A.type.toLowerCase()!="none"){A.clear();};return A;};FCKSelection.GetSelection=function(){this.Restore();return FCK.EditorDocument.selection;};FCKSelection.Save=function(A){var B=FCK.EditorDocument;if (!B) return;if (this.locked) return;this.locked=!!A;var C=B.selection;var D;if (C){try {D=C.createRange();}catch(e) {};if (D){if (D.parentElement&&FCKTools.GetElementDocument(D.parentElement())!=B) D=null;else if (D.item&&FCKTools.GetElementDocument(D.item(0))!=B) D=null;}};this.SelectionData=D;};FCKSelection._GetSelectionDocument=function(A){var B=A.createRange();if (!B) return null;else if (B.item) return FCKTools.GetElementDocument(B.item(0));else return FCKTools.GetElementDocument(B.parentElement());};FCKSelection.Restore=function(){if (this.SelectionData){FCK.IsSelectionChangeLocked=true;try{if (String(this._GetSelectionDocument(FCK.EditorDocument.selection).body.contentEditable)=='true'){FCK.IsSelectionChangeLocked=false;return;};this.SelectionData.select();}catch (e) {};FCK.IsSelectionChangeLocked=false;}};FCKSelection.Release=function(){this.locked=false;delete this.SelectionData;}; |
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=B[i].parentNode;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];F.insertBefore(B,(A?G:G.nextSibling));}};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(A.parentNode);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++){FCKDomTools.ClearElementJSProperty(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;for (var i=0;i<A.length;i++){if (A[i].parentNode.parentNode!=A[0].parentNode.parentNode) return false;};this._MarkCells(A,'_CellSelected');var B=this._CreateTableMap(A[0]);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);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=FCKTools.GetElementDocument(B).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(FCK.EditorDocument.createElement('br'));};this._ReplaceCellsByMarker(C,'_SelectedCells',B);this._UnmarkCells(A,'_SelectedCells');this._InstallTableMap(C,B.parentNode.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.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=FCKTools.GetElementDocument(B).createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(FCK.EditorDocument.createElement('br'),E.firstChild);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.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);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=FCK.EditorDocument.createElement(B.nodeName);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(FCK.EditorDocument.createElement(B.nodeName));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.parentNode);};FCKTableHandler.VerticalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;var G=B.rowSpan;if (isNaN(G)) G=1;if (G>1){B.rowSpan=Math.ceil(G/2);var H=D+Math.ceil(G/2);var I=C[H];var J=null;for (var i=E+1;i<I.length;i++){if (I[i].parentNode.rowIndex==H){J=I[i];break;}};var K=FCK.EditorDocument.createElement(B.nodeName);K.rowSpan=Math.floor(G/2);if (F>1) K.colSpan=F;if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(K);B.parentNode.parentNode.parentNode.rows[H].insertBefore(K,J);}else{var L=B.parentNode.sectionRowIndex+1;var M=FCK.EditorDocument.createElement('tr');var N=B.parentNode.parentNode;if (N.rows.length>L) N.insertBefore(M,N.rows[L]);else N.appendChild(M);for (var i=0;i<C[D].length;){var O=C[D][i].colSpan;if (isNaN(O)||O<1) O=1;if (i==E){i+=O;continue;};var P=C[D][i].rowSpan;if (isNaN(P)) P=1;C[D][i].rowSpan=P+1;i+=O;};var K=FCK.EditorDocument.createElement(B.nodeName);if (F>1) K.colSpan=F;if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(K);M.appendChild(K);}};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._CreateTableMap=function(A){var B=(A.nodeName=='TABLE'?A:A.parentNode.parentNode.parentNode);var C=B.rows;var r=-1;var D=[];for (var i=0;i<C.length;i++){r++;if (!D[r]) D[r]=[];var c=-1;for (var j=0;j<C[i].cells.length;j++){var E=C[i].cells[j];c++;while (D[r][c]) c++;var F=isNaN(E.colSpan)?1:E.colSpan;var G=isNaN(E.rowSpan)?1:E.rowSpan;for (var H=0;H<G;H++){if (!D[r+H]) D[r+H]=[];for (var I=0;I<F;I++){D[r+H][c+I]=C[i].cells[j];}};c+=F-1;}};return D;};FCKTableHandler._InstallTableMap=function(A,B){var C=FCKBrowserInfo.IsIE?"_fckrowspan":"rowSpan";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[C]=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[C]++;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];FCKDomTools.ClearElementJSProperty(D,'_colScanned');FCKDomTools.ClearElementJSProperty(D,'_rowScanned');}};for (var i=0;i<A.length;i++){var I=FCK.EditorDocument.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);if (C!='rowSpan'){D.rowSpan=D[C];D.removeAttribute(C);};j+=D.colSpan;if (D.colSpan==1) D.removeAttribute('colspan');if (D.rowSpan==1) D.removeAttribute('rowspan');};if (FCKBrowserInfo.IsIE){B.rows[i].replaceNode(I);}else{B.rows[i].innerHTML='';FCKDomTools.MoveChildren(I,B.rows[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);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);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;if (B.parentNode.parentNode!=G.parentNode.parentNode) 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','TH']);return A?[A]:[];};var B=[];var C=FCKSelection.GetSelection().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||(B.status==0&&B.readyState==4)){this.DOMDocument=B.responseXML;if (!this.DOMDocument||this.DOMDocument.firstChild==null){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(){if (FCK.EditMode!=0) return -1;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.EditMode!=0||!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,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;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,this.CustomValue,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};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(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name='Redo';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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"> </span>';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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(){if (FCK.EditMode!=0) return -1;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;};FCKVisitLinkCommand=function(){this.Name='VisitLink';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState('Unlink');if (A==0){var B=FCKSelection.MoveToAncestorNode('A');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode('A');var B=A.getAttribute('_fcksavedurl')||A.getAttribute('href',2);if (!/:\/\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject('parent');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf('/')+1);};if (/^\//.test(B)){try{C=C.match(/^.*:\/\/+[^\/]+/)[0];}catch (e){C=D.document.location.protocol+'://'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,'_blank')) alert(FCKLang.VisitLinkBlocked);}};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(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCutCopyCommand=function(A){this.Name=A?'Cut':'Copy';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C='on'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang['PasteError'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1: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(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Unlink');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals('div')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name='Non Breaking Space';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(' ');},GetState:function(){return (FCK.EditMode!=0?-1:0);}}; |
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';if (FCKBrowserInfo.IsIE){try{FCK.EditorDocument.selection.createRange().select();}catch (e){}}else{var C=FCK.EditorWindow.getSelection().focusNode;if (C.nodeType!=1) C=C.parentNode;FCKDomTools.ScrollIntoView(C,false);};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(){if (FCK.EditMode!=0) return -1;return this.IsEnabled?0:-1;}; |
var FCKDialogCommand=function(A,B,C,D,E,F,G,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;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,this.CustomValue,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};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(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name='Redo';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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"> </span>';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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(){if (FCK.EditMode!=0) return -1;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 FCKVisitLinkCommand=function(){this.Name='VisitLink';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState('Unlink');if (A==0){var B=FCKSelection.MoveToAncestorNode('A');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode('A');var B=A.getAttribute('_fcksavedurl')||A.getAttribute('href',2);if (!/:\/\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject('parent');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf('/')+1);};if (/^\//.test(B)){try{C=C.match(/^.*:\/\/+[^\/]+/)[0];}catch (e){C=D.document.location.protocol+'://'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,'_blank')) alert(FCKLang.VisitLinkBlocked);}};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(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCutCopyCommand=function(A){this.Name=A?'Cut':'Copy';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C='on'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang['PasteError'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1: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(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Unlink');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals('div')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name='Non Breaking Space';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(' ');},GetState:function(){return (FCK.EditMode!=0?-1:0);}}; |
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';if (FCKBrowserInfo.IsIE){try{FCK.EditorDocument.selection.createRange().select();}catch (e){}}else{var C=FCK.EditorWindow.getSelection().focusNode;if (C){if (C.nodeType!=1) C=C.parentNode;FCKDomTools.ScrollIntoView(C,false);}};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=true;};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;case 'WSC':FCKDialog.OpenDialog('FCKDialog_SpellCheck','Spell Check','wsc/w.html',530,480);}};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(){if (FCK.EditMode!=0) return -1;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.SkinEditorCSS);this._Panel.MainNode.className='FCK_Panel';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCK.ToolbarSet.ToolbarItems.GetItem(this.Name).RegisterPanel(this._Panel);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(){if (FCK.EditMode!=0) return -1;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',410,320,FCKTools.Bind(B,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(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}; |
var FCKPasteWordCommand=function(){this.Name='PasteWord';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||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;var H=new FCKDomRange(FCK.EditorWindow);H.MoveToSelection();var I=FCKTools.GetScrollPosition(FCK.EditorWindow);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 J=FCKTools.GetViewPaneSize(C);B.position="absolute";A.offsetLeft;B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=J.Width+"px";B.height=J.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var K=FCKTools.GetWindowPosition(C,A);if (K.x!=0) B.left=(-1*K.x)+"px";if (K.y!=0) B.top=(-1*K.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();H.Select();FCK.EditorWindow.scrollTo(I.X,I.Y);};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 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;var H,oEditorScrollPos;if (FCK.EditMode==0){H=new FCKDomRange(FCK.EditorWindow);H.MoveToSelection();oEditorScrollPos=FCKTools.GetScrollPosition(FCK.EditorWindow);}else{var I=FCK.EditingArea.Textarea;H=!FCKBrowserInfo.IsIE&&[I.selectionStart,I.selectionEnd];oEditorScrollPos=[I.scrollLeft,I.scrollTop];};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 J=FCKTools.GetViewPaneSize(C);B.position="absolute";A.offsetLeft;B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=J.Width+"px";B.height=J.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var K=FCKTools.GetWindowPosition(C,A);if (K.x!=0) B.left=(-1*K.x)+"px";if (K.y!=0) B.top=(-1*K.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();if (FCK.EditMode==0){H.Select();FCK.EditorWindow.scrollTo(oEditorScrollPos.X,oEditorScrollPos.Y);}else{if (!FCKBrowserInfo.IsIE){I.selectionStart=H[0];I.selectionEnd=H[1];};I.scrollLeft=oEditorScrollPos[0];I.scrollTop=oEditorScrollPos[1];}};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=FCKSelection.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=FCKTools.GetElementDocument(A.root).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=FCKTools.GetElementDocument(A.root);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]||null;case 'center':return D[1]||null;case 'right':return D[2]||null;case 'justify':return D[3]||null;}};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);B.EnforceRealBlocks=true;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=FCKTools.GetElementDocument(H).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=FCKTools.GetElementDocument(S).createDocumentFragment();var Y=W&&S.previousSibling&&!FCKListsLib.BlockBoundaries[S.previousSibling.nodeName.toLowerCase()];if (W&&Y) M.appendChild(FCKTools.GetElementDocument(S).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(FCKTools.GetElementDocument(S).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 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){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();}while (J.nodeName.IEquals('table','tbody','tr','ol','ul')) J=J.parentNode;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=FCKTools.GetElementDocument(H).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=[];var P={};while ((H=G.GetNextParagraph())){var Q=null;var R=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals('blockquote')){Q=H.parentNode;R=H;break;};H=H.parentNode;};if (Q&&R&&!R._fckblockquotemoveout){O.push(R);FCKDomTools.SetElementMarker(P,R,'_fckblockquotemoveout',true);}};FCKDomTools.ClearAllMarkers(P);var S=[];var T=[],P={};var U=function(N){for (var i=0;i<N.childNodes.length;i++){if (FCKListsLib.BlockElements[N.childNodes[i].nodeName.toLowerCase()]) return false;};return true;};while (O.length>0){var W=O.shift();var N=W.parentNode;if (W==W.parentNode.firstChild) N.parentNode.insertBefore(N.removeChild(W),N);else if (W==W.parentNode.lastChild) N.parentNode.insertBefore(N.removeChild(W),N.nextSibling);else FCKDomTools.BreakParent(W,W.parentNode,B);if (!N._fckbqprocessed){T.push(N);FCKDomTools.SetElementMarker(P,N,'_fckbqprocessed',true);};S.push(W);};for (var i=T.length-1;i>=0;i--){var N=T[i];if (U(N)) FCKDomTools.RemoveNode(N);};FCKDomTools.ClearAllMarkers(P);if (FCKConfig.EnterMode.IEquals('br')){while (S.length){var W=S.shift();var a=true;if (W.nodeName.IEquals('div')){var M=FCKTools.GetElementDocument(W).createDocumentFragment();var c=a&&W.previousSibling&&!FCKListsLib.BlockBoundaries[W.previousSibling.nodeName.toLowerCase()];if (a&&c) M.appendChild(FCKTools.GetElementDocument(W).createElement('br'));var d=W.nextSibling&&!FCKListsLib.BlockBoundaries[W.nextSibling.nodeName.toLowerCase()];while (W.firstChild) M.appendChild(W.removeChild(W.firstChild));if (d) M.appendChild(FCKTools.GetElementDocument(W).createElement('br'));W.parentNode.replaceChild(M,W);a=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(){if (FCK.EditMode!=0) return -1;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,380,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,300);break;case 'Unlink':B=new FCKUnlinkCommand();break;case 'VisitLink':B=new FCKVisitLinkCommand();break;case 'Anchor':B=new FCKDialogCommand('Anchor',FCKLang.DlgAnchorTitle,'dialog/fck_anchor.html',370,160);break;case 'AnchorDelete':B=new FCKAnchorDeleteCommand();break;case 'BulletedList':B=new FCKDialogCommand('BulletedList',FCKLang.BulletedListProp,'dialog/fck_listprop.html?UL',370,160);break;case 'NumberedList':B=new FCKDialogCommand('NumberedList',FCKLang.NumberedListProp,'dialog/fck_listprop.html?OL',370,160);break;case 'About':B=new FCKDialogCommand('About',FCKLang.About,'dialog/fck_about.html',420,330,function(){ return 0;});break;case 'Find':B=new FCKDialogCommand('Find',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,230,null,null,'Find');break;case 'Replace':B=new FCKDialogCommand('Replace',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,230,null,null,'Replace');break;case 'Image':B=new FCKDialogCommand('Image',FCKLang.DlgImgTitle,'dialog/fck_image.html',450,390);break;case 'Flash':B=new FCKDialogCommand('Flash',FCKLang.DlgFlashTitle,'dialog/fck_flash.html',450,390);break;case 'SpecialChar':B=new FCKDialogCommand('SpecialChar',FCKLang.DlgSpecialCharTitle,'dialog/fck_specialchar.html',400,290);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,240);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 'Nbsp':B=new FCKNbsp();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 'CreateDiv':B=new FCKDialogCommand('CreateDiv',FCKLang.CreateDiv,'dialog/fck_div.html',380,210,null,null,true);break;case 'EditDiv':B=new FCKDialogCommand('EditDiv',FCKLang.EditDiv,'dialog/fck_div.html',380,210,null,null,false);break;case 'DeleteDiv':B=new FCKDeleteDivCommand();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,210);break;case 'Checkbox':B=new FCKDialogCommand('Checkbox',FCKLang.Checkbox,'dialog/fck_checkbox.html',380,200);break;case 'Radio':B=new FCKDialogCommand('Radio',FCKLang.RadioButton,'dialog/fck_radiobutton.html',380,200);break;case 'TextField':B=new FCKDialogCommand('TextField',FCKLang.TextField,'dialog/fck_textfield.html',380,210);break;case 'Textarea':B=new FCKDialogCommand('Textarea',FCKLang.Textarea,'dialog/fck_textarea.html',380,210);break;case 'HiddenField':B=new FCKDialogCommand('HiddenField',FCKLang.HiddenField,'dialog/fck_hiddenfield.html',380,190);break;case 'Button':B=new FCKDialogCommand('Button',FCKLang.Button,'dialog/fck_button.html',380,210);break;case 'Select':B=new FCKDialogCommand('Select',FCKLang.SelectionField,'dialog/fck_select.html',400,340);break;case 'ImageButton':B=new FCKDialogCommand('ImageButton',FCKLang.ImageButton,'dialog/fck_image.html?ImageButton',450,390);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 FCKCutCopyCommand(false);break;case 'Cut':B=new FCKCutCopyCommand(true);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();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement('iframe');FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.scrolling='no';D.style.width=D.style.height='0px';FCKDomTools.SetElementStyles(D,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F='';if (FCKBrowserInfo.IsSafari) F='<base href="'+window.document.location+'">';B.open();B.write('<html><head>'+F+'<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'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 (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling='';FCKTools.RunFunction(function(){ this._IFrame.scrolling='no';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel.Hide(false,true);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(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;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+'px';M._IFrame.style.height=O+'px';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height='0px';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};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 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();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement('iframe');FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.scrolling='no';D.style.width=D.style.height='0px';FCKDomTools.SetElementStyles(D,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F='';if (FCKBrowserInfo.IsSafari) F='<base href="'+window.document.location+'">';B.open();B.write('<html><head>'+F+'<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'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.ResizeForSubpanel=function(A,B,C){if (!FCKBrowserInfo.IsIE7) return false;if (!this._Popup.isOpen){this.Subpanel=null;return false;};if (B==0&&C==0){if (this.Subpanel!==A) return false;this.Subpanel=null;this.IncreasedX=0;}else{this.Subpanel=A;if ((this.IncreasedX>=B)&&(this.IncreasedY>=C)) return false;this.IncreasedX=Math.max(this.IncreasedX,B);this.IncreasedY=Math.max(this.IncreasedY,C);};var x=this.ShowRect.x;var w=this.IncreasedX;if (this.IsRTL) x=x-w;var D=this.ShowRect.w+w;var E=Math.max(this.ShowRect.h,this.IncreasedY);if (this.ParentPanel) this.ParentPanel.ResizeForSubpanel(this,D,E);this._Popup.show(x,this.ShowRect.y,D,E,this.RelativeElement);return this.IsRTL;};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 (FCKBrowserInfo.IsIE7){if (this.ParentPanel&&this.ParentPanel.ResizeForSubpanel(this,D,E.offsetHeight)){FCKTools.RunFunction(this.Show,this,[x,y,A]);return;}};if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};if (FCKBrowserInfo.IsIE7){this.ShowRect={x:x,y:y,w:D,h:E.offsetHeight};this.IncreasedX=0;this.IncreasedY=0;this.RelativeElement=A;};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 (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling='';FCKTools.RunFunction(function(){ this._IFrame.scrolling='no';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel.Hide(false,true);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(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;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+'px';M._IFrame.style.height=O+'px';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height='0px';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};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;if (this._Popup&&this.ParentPanel&&!A) this.ParentPanel.ResizeForSubpanel(this,0,0);FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;this.RelativeElement=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=this._UIButton;if (!A) return;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B==A.State) return;A.ChangeState(B);};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);}; |
98,12 → 98,12 |
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){if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_GetOutElement(window,E);else 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 = window.onload = function(){var timer = null;var lastHeight = -1;var lastChange = 0;var poller = function(){var currentHeight = document.body.scrollHeight || 0;var currentTime = (new Date()).getTime();if (currentHeight != lastHeight){lastChange = currentTime;adjust();lastHeight = document.body.scrollHeight;}if (lastChange < currentTime - 1000) clearInterval(timer);};timer = setInterval(poller, 100);}</script></head><body style="overflow: hidden">'+document.getElementById('xToolbarSpace').innerHTML+'</body></html>');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,'contextmenu',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;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=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName('frameset').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save();var J=FCKTools.GetViewPaneSize(D);var K={ 'X':0,'Y':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement('iframe');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+'fckdialog.html';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{'position':(L)?'absolute':'fixed','top':M+'px','left':N+'px','width':width+'px','height':height+'px','zIndex':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement('div');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{'position':'absolute','zIndex':F(),'top':'0px','left':'0px','backgroundColor':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement('iframe');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{'width':'100%','height':'100%','position':'absolute','left':'0px','top':'0px','filter':'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'});C.appendChild(Q);};FCKTools.AddEventListener(D,'resize',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,'_fck_originalTabIndex');},GetCover:function(){return C;}};})(); |
var FCKDialog=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName('frameset').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save(true);var J=FCKTools.GetViewPaneSize(D);var K={ 'X':0,'Y':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement('iframe');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+'fckdialog.html';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{'position':(L)?'absolute':'fixed','top':M+'px','left':N+'px','width':width+'px','height':height+'px','zIndex':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement('div');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{'position':'absolute','zIndex':F(),'top':'0px','left':'0px','backgroundColor':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement('iframe');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{'width':'100%','height':'100%','position':'absolute','left':'0px','top':'0px','filter':'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'});C.appendChild(Q);};FCKTools.AddEventListener(D,'resize',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,'_fck_originalTabIndex');},GetCover:function(){return C;}};})(); |
var FCKMenuItem=function(A,B,C,D,E,F){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);this.CustomData=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D,E){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D,E);};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,E){var F=new FCKMenuItem(this,A,B,C,D,E);F.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);F.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(F);return F;};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.SkinEditorCSS);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.SkinEditorCSS);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,E){var F=this._MenuBlock.AddItem(A,B,C,D,E);this._Redraw=true;return F;};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){if (FCKConfig.BrowserContextMenu) return true;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;if (FCKConfig.BrowserContextMenu) return true;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=FCKTools.GetElementDocument(e.target);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){if (FCKConfig.BrowserContextMenu) return true;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;}};return true;};function FCKContextMenu_AttachedElement_OnContextMenu(A,B,C){if ((B.CtrlDisable&&(A.ctrlKey||A.metaKey))||FCKConfig.BrowserContextMenu) 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();menu.AddItem('VisitLink',FCKLang.VisitLink);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);}}};case 'DivContainer':return {AddItems:function(menu,tag,tagName){var J=FCKDomTools.GetSelectedDivContainers();if (J.length>0){menu.AddSeparator();menu.AddItem('EditDiv',FCKLang.EditDiv,75);menu.AddItem('DeleteDiv',FCKLang.DeleteDiv,76);}}};};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(A.CustomData);}; |
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();menu.AddItem('VisitLink',FCKLang.VisitLink);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);}}};case 'DivContainer':return {AddItems:function(menu,tag,tagName){var J=FCKDomTools.GetSelectedDivContainers();if (J.length>0){menu.AddSeparator();menu.AddItem('EditDiv',FCKLang.EditDiv,75);menu.AddItem('DeleteDiv',FCKLang.DeleteDiv,76);}}};};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){if (!FCKBrowserInfo.IsIE) FCK.Focus();FCKCommands.GetCommand(A.Name).Execute(A.CustomData);}; |
var FCKHtmlIterator=function(A){this._sourceHtml=A;};FCKHtmlIterator.prototype={Next:function(){var A=this._sourceHtml;if (A==null) return null;var B=FCKRegexLib.HtmlTag.exec(A);var C=false;var D="";if (B){if (B.index>0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}};var FCKHtmlIterator=function(A){this._sourceHtml=A;};FCKHtmlIterator.prototype={Next:function(){var A=this._sourceHtml;if (A==null) return null;var B=FCKRegexLib.HtmlTag.exec(A);var C=false;var D="";if (B){if (B.index>0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}}; |
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;}; |
/trunk/api/fckeditor/editor/js/fckadobeair.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/js/fckeditorcode_gecko.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
23,27 → 23,27 |
*/ |
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;}; |
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.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&&(parseInt(s.match(/msie (\d+)/)[1],10)>=7),IsIE6:/*@cc_on!@*/false&&(parseInt(s.match(/msie (\d+)/)[1],10)>=6),IsSafari:s.Contains(' applewebkit/'),IsOpera:!!window.opera,IsAIR:s.Contains(' adobeair/'),IsMac:s.Contains('macintosh')};(function(A){A.IsGecko=(navigator.product=='Gecko')&&!A.IsSafari&&!A.IsOpera;A.IsGeckoLike=(A.IsGecko||A.IsSafari||A.IsOpera);if (A.IsGecko){var B=s.match(/rv:(\d+\.\d+)/);var C=B&&parseFloat(B[1]);if (C){A.IsGecko10=(C<1.8);A.IsGecko19=(C>1.8);}}})(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(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),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) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) 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:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!='li'&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.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.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers['*'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||'*';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(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|OBJECT':'ABBR|XML|EMBED|OBJECT';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);};FCKTempBin.Reset();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+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,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();},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;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"><head>'+FCK.TempBaseTag+'<title>'+FCKLang.Preview+'</title>'+_FCK_GetEditorAreaStyleTags()+'</head><body'+FCKConfig.GetBodyAttributes()+'>'+FCK.GetXHTML()+'</body></html>';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E='';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )';};var F=window.open(E,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+B+',height='+C+',left='+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.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 (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();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();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input'],true);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.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{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=FCKSelection.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){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).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;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();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;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};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);if (C.GetState()==-1) return false;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;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]='<div> '+this.Elements[i].outerHTML+'</div>';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement('div');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};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(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\d+$/.test(B)) B+='px';if (/^\d+$/.test(C)) C+='px';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor='transparent';D.backgroundImage='none';D.width=B;D.height=C;})(); |
FCK.Description="FCKeditor for Gecko Browsers";FCK.InitializeBehaviors=function(){if (window.onresize) 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();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=FCKSelection.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'||(!FCKBrowserInfo.IsOpera&&String(H.parentNode.contentEditable)=='false')||(!(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};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;default:FCK.ExecuteNamedCommand(A,B);}};FCK._ExecPaste=function(){FCKUndo.SaveUndoStep();if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};return true;};FCK.InsertHtml=function(A){var B=FCK.EditorDocument,range;A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGecko){A=A.replace(/ $/,'$&<span _fcktemp="1"/>');var C=new FCKDocumentFragment(this.EditorDocument);C.AppendHtml(A);var D=C.RootNode.lastChild;range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();range.DeleteContents();range.InsertNode(C.RootNode);range.MoveToPosition(D,4);}else B.execCommand('inserthtml',false,A);this.Focus();if (!range){range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();};var E=range.CreateBookmark();FCKDocumentProcessor.Process(B);try{range.MoveToBookmark(E);range.Select();}catch (e) {};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=[];if (FCKSelection.GetSelection().isCollapsed) return 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;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=FCKSelection.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);}else FCKConfig.BasePath=document.location.protocol+'//'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=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) { }};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||'').split(',');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+'fck_editor.css';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+'fck_dialog.css';};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];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("(<|<)!--\\{"+this._CodeTag+"(\\d+)\\}--(>|>)","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 FCK={Name:FCKURLParams['InstanceName'],Status:0,EditMode:0,Toolbar:null,HasFocus:false,DataProcessor:new FCKDataProcessor(),GetInstanceObject:(function(){var w=window;return function(name){return w[name];}})(),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) in A.Keystrokes) A.SetKeystrokes([CTRL+86,true]);if ((SHIFT+45) 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:var G=D.nodeName.toLowerCase();if (!FCKListsLib.BlockElements[G]&&G!='li'&&!D.getAttribute('_fckfakelement')&&D.getAttribute('_moz_dirty')==null) F=true;break;case 3:if (E||D.nodeValue.Trim().length>0) F=true;break;case 8:if (E) F=true;break;};if (F){var H=D.parentNode;if (!E) E=H.insertBefore(B.createElement(A),D);E.appendChild(H.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.toUpperCase()];if (B){for (var i=0;i<B.length;i++) B[i](A);};B=FCK.RegisteredDoubleClickHandlers['*'];if (B){for (var i=0;i<B.length;i++) B[i](A);}},RegisterDoubleClickHandler:function(A,B){var C=B||'*';C=C.toUpperCase();var D;if (!(D=FCK.RegisteredDoubleClickHandlers[C])) FCK.RegisteredDoubleClickHandlers[C]=[A];else{if (D.IndexOf(A)==-1) D.push(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|OBJECT':'ABBR|XML|EMBED|OBJECT';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);};FCKTempBin.Reset();FCK.Selection.Release();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+=FCKTools.GetStyleHtml(FCK_ShowTableBordersCSS,true);C+=FCKTools.GetStyleHtml(FCK_InternalCSS,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();},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;if (FCKConfig.FullPage){if (FCK.TempBaseTag.length>0) A=FCK.TempBaseTag+FCK.GetXHTML();else A=FCK.GetXHTML();}else{A=FCKConfig.DocType+'<html dir="'+FCKConfig.ContentLangDirection+'"><head>'+FCK.TempBaseTag+'<title>'+FCKLang.Preview+'</title>'+_FCK_GetEditorAreaStyleTags()+'</head><body'+FCKConfig.GetBodyAttributes()+'>'+FCK.GetXHTML()+'</body></html>';};var B=FCKConfig.ScreenWidth*0.8;var C=FCKConfig.ScreenHeight*0.7;var D=(FCKConfig.ScreenWidth-B)/2;var E='';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A;E='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.opener._FCKHtmlToLoad );document.close() ;window.opener._FCKHtmlToLoad = null ;})() )';};var F=window.open(E,null,'toolbar=yes,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+B+',height='+C+',left='+D);if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){F.document.write(A);F.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 (FCKBrowserInfo.IsIE) FCKTempBin.ToHtml();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();FCKSelection.Restore();var C=new FCKDomRange(this.EditorWindow);C.MoveToSelection();C.DeleteContents();if (FCKListsLib.BlockElements[B]!=null){if (C.StartBlock){if (C.CheckStartOfBlock()) C.MoveToPosition(C.StartBlock,3);else if (C.CheckEndOfBlock()) C.MoveToPosition(C.StartBlock,4);else C.SplitBlock();};C.InsertNode(A);var D=FCKDomTools.GetNextSourceElement(A,false,null,['hr','br','param','img','area','input'],true);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.IsGeckoLike){if (D) FCKDomTools.ScrollIntoView(D,false);FCKDomTools.ScrollIntoView(A,false);}}else{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=FCKSelection.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){if (FCKSelection._GetSelectionDocument(FCK.EditorDocument.selection)!=FCK.EditorDocument) return;var B=FCK.EditorDocument.body.createTextRange();var F=false;if (!D.childNodes.firstChild){D.appendChild(FCKTools.GetElementDocument(D).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;if (FCKBrowserInfo.IsIE) FCKTempBin.ToElements();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;FCK.SetStatus(1);};function _FCK_GetEditorAreaStyleTags(){return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaStyles);};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);if (C.GetState()==-1) return false;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;},ToHtml:function(){for (var i=0;i<this.Elements.length;i++){this.Elements[i]='<div> '+this.Elements[i].outerHTML+'</div>';this.Elements[i].isHtml=true;}},ToElements:function(){var A=FCK.EditorDocument.createElement('div');for (var i=0;i<this.Elements.length;i++){if (this.Elements[i].isHtml){A.innerHTML=this.Elements[i];this.Elements[i]=A.firstChild.removeChild(A.firstChild.lastChild);}}}};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(){if (FCKFocusManager._IsFocusing) return;FCKFocusManager._IsFocusing=true;FCK.Focus();FCKFocusManager_Win_OnFocus();FCKTools.RunFunction(function(){delete FCKFocusManager._IsFocusing;});};function FCKFocusManager_Win_OnFocus(){FCKFocusManager._ResetTimer();if (!FCK.HasFocus&&!FCKFocusManager.IsLocked){FCK.HasFocus=true;FCK.Events.FireEvent("OnFocus");}};(function(){var A=window.frameElement;var B=A.width;var C=A.height;if (/^\d+$/.test(B)) B+='px';if (/^\d+$/.test(C)) C+='px';var D=A.style;D.border=D.padding=D.margin=0;D.backgroundColor='transparent';D.backgroundImage='none';D.width=B;D.height=C;})(); |
FCK.Description="FCKeditor for Gecko Browsers";FCK.InitializeBehaviors=function(){if (window.onresize) 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();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=FCKSelection.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'||(!FCKBrowserInfo.IsOpera&&String(H.parentNode.contentEditable)=='false')||(!(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){this.EditorDocument.addEventListener('dragover',function (evt){ if (!FCK.MouseDownFlag&&FCK.Config.ForcePasteAsPlainText) evt.returnValue=false;},true);this.EditorDocument.addEventListener('drop',this._ExecDrop,true);this.EditorDocument.addEventListener('mousedown',function(ev){var N=ev.srcElement;if (N.nodeName.IEquals('IMG','HR','INPUT','TEXTAREA','SELECT')){FCKSelection.SelectNode(N);}},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};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) {if (FCKConfig.ForcePasteAsPlainText) FCK.PasteAsPlainText();else FCKDialog.OpenDialog('FCKDialog_Paste',FCKLang.Paste,'dialog/fck_paste.html',400,330,'Security');};break;default:FCK.ExecuteNamedCommand(A,B);}};FCK._ExecPaste=function(){FCKUndo.SaveUndoStep();if (FCKConfig.ForcePasteAsPlainText){FCK.PasteAsPlainText();return false;};return true;};FCK.InsertHtml=function(A){var B=FCK.EditorDocument,range;A=FCKConfig.ProtectedSource.Protect(A);A=FCK.ProtectEvents(A);A=FCK.ProtectUrls(A);A=FCK.ProtectTags(A);FCKUndo.SaveUndoStep();if (FCKBrowserInfo.IsGecko){A=A.replace(/ $/,'$&<span _fcktemp="1"/>');var C=new FCKDocumentFragment(this.EditorDocument);C.AppendHtml(A);var D=C.RootNode.lastChild;range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();range.DeleteContents();range.InsertNode(C.RootNode);range.MoveToPosition(D,4);}else B.execCommand('inserthtml',false,A);this.Focus();if (!range){range=new FCKDomRange(this.EditorWindow);range.MoveToSelection();};var E=range.CreateBookmark();FCKDocumentProcessor.Process(B);try{range.MoveToBookmark(E);range.Select();}catch (e) {};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=[];if (FCKSelection.GetSelection().isCollapsed) return 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;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=FCKSelection.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);}else FCKConfig.BasePath=document.location.protocol+'//'+document.location.host+document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1);FCKConfig.FullBasePath=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) { }};if (!A.PluginsPath.EndsWith('/')) A.PluginsPath+='/';var B=A.ToolbarComboPreviewCSS;if (!B||B.length==0) A.ToolbarComboPreviewCSS=A.EditorAreaCSS;A.RemoveAttributesArray=(A.RemoveAttributes||'').split(',');if (!FCKConfig.SkinEditorCSS||FCKConfig.SkinEditorCSS.length==0) FCKConfig.SkinEditorCSS=FCKConfig.SkinPath+'fck_editor.css';if (!FCKConfig.SkinDialogCSS||FCKConfig.SkinDialogCSS.length==0) FCKConfig.SkinDialogCSS=FCKConfig.SkinPath+'fck_dialog.css';};FCKConfig.ToolbarSets={};FCKConfig.Plugins={};FCKConfig.Plugins.Items=[];FCKConfig.Plugins.Add=function(A,B,C){FCKConfig.Plugins.Items.push([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];FCKConfig.ProtectedSource.Add=function(A){this.RegexEntries.push(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("(<|<)!--\\{"+this._CodeTag+"(\\d+)\\}--(>|>)","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={Output:function(){},OutputObject:function(){}}; |
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);},RemoveAttributes:function (A,B){for (var i=0;i<B.length;i++) this.RemoveAttribute(A,B[i]);},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!=FCKTools.GetElementDocument(A).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()*0xffffffff,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=FCKTools.GetElementDocument(A[C].parent);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];},SetOpacity:function(A,B){if (FCKBrowserInfo.IsIE){B=Math.round(B*100);A.style.filter=(B>100?'':'progid:DXImageTransform.Microsoft.Alpha(opacity='+B+')');}else A.style.opacity=B;},GetCurrentElementStyle:function(A,B){if (FCKBrowserInfo.IsIE) return A.currentStyle[B];else return A.ownerDocument.defaultView.getComputedStyle(A,'').getPropertyValue(B);},GetPositionedAncestor:function(A){var B=A;while (B!=FCKTools.GetElementDocument(B).documentElement){if (this.GetCurrentElementStyle(B,'position')!='static') return B;if (B==FCKTools.GetElementDocument(B).documentElement&¤tWindow!=w) B=currentWindow.frameElement;else 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||0;E+=parseInt(this.GetCurrentElementStyle(A,'marginBottom')||0,10)||0;};var F=FCKTools.GetDocumentPosition(C,A);E+=F.y;var G=FCKTools.GetScrollPosition(C).Y;if (E>0&&(E>G||E<G-D)) C.scrollTo(0,E);},CheckIsEditable:function(A){var B=A.nodeName.toLowerCase();var C=FCK.DTD[B]||FCK.DTD.span;return (C['#']&&!FCKListsLib.NonEditableElements[B]);},GetSelectedDivContainers:function(){var A=[];var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.GetTouchedStartNode();var D=B.GetTouchedEndNode();var E=C;if (C==D){while (D.nodeType==1&&D.lastChild) D=D.lastChild;D=FCKDomTools.GetNextSourceNode(D);}while (E&&E!=D){if (E.nodeType!=3||!/^[ \t\n]*$/.test(E.nodeValue)){var F=new FCKElementPath(E);var G=F.BlockLimit;if (G&&G.nodeName.IEquals('div')&&A.IndexOf(G)==-1) A.push(G);};E=FCKDomTools.GetNextSourceNode(E);};return A;}}; |
var FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','_moz');return B;};FCKTools.FixCssUrls=function(A,B){if (!A||A.length==0) return B;return B.replace(/url\s*\(([\s'"]*)(.*?)([\s"']*)\)/g,function(match,opener,path,closer){if (/^\/|^\w?:/.test(path)) return match;else return 'url('+opener+A+path+closer+')';});};FCKTools._GetUrlFixedCss=function(A,B){var C=A.match(/^([^|]+)\|([\s\S]*)/);if (C) return FCKTools.FixCssUrls(C[1],C[2]);else return A;};FCKTools.AppendStyleSheet=function(A,B){if (!B) return [];if (typeof(B)=='string'){if (/[\\\/\.][^{}]*$/.test(B)){return this.AppendStyleSheet(A,B.split(','));}else return [this.AppendStyleString(A,FCKTools._GetUrlFixedCss(B))];}else{var C=[];for (var i=0;i<B.length;i++) C.push(this._AppendStyleSheet(A,B[i]));return C;}};FCKTools.GetStyleHtml=(function(){var A=function(styleDef,markTemp){if (styleDef.length==0) return '';var B=markTemp?' _fcktemp="true"':'';return '<style type="text/css"'+B+'>'+styleDef+'</style>';};var C=function(cssFileUrl,markTemp){if (cssFileUrl.length==0) return '';var B=markTemp?' _fcktemp="true"':'';return '<link href="'+cssFileUrl+'" type="text/css" rel="stylesheet" '+B+'/>';};return function(cssFileOrArrayOrDef,markTemp){if (!cssFileOrArrayOrDef) return '';if (typeof(cssFileOrArrayOrDef)=='string'){if (/[\\\/\.][^{}]*$/.test(cssFileOrArrayOrDef)){return this.GetStyleHtml(cssFileOrArrayOrDef.split(','),markTemp);}else return A(this._GetUrlFixedCss(cssFileOrArrayOrDef),markTemp);}else{var E='';for (var i=0;i<cssFileOrArrayOrDef.length;i++) E+=C(cssFileOrArrayOrDef[i],markTemp);return E;}}})();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,'&');A=A.replace(/</g,'<');A=A.replace(/>/g,'>');return A;};FCKTools.HTMLDecode=function(A){if (!A) return '';A=A.replace(/>/g,'>');A=A.replace(/</g,'<');A=A.replace(/&/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(" ");};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||(FCKBrowserInfo.IsSafari?'CSS1Compat':null)));};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=B.contentWindow.parent;}else B=null;}};if (FCKDomTools.GetCurrentElementStyle(w.document.body,'position')!='static'||(FCKBrowserInfo.IsIE&&FCKDomTools.GetPositionedAncestor(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.Bind=function(A,B){return function(){ return B.apply(A,arguments);};};FCKTools.GetVoidUrl=function(){if (FCK_IS_CUSTOM_DOMAIN) return "javascript: void( function(){document.open();document.write('<html><head><title></title></head><body></body></html>');document.domain = '"+FCK_RUNTIME_DOMAIN+"';document.close();}() ) ;";if (FCKBrowserInfo.IsIE){if (FCKBrowserInfo.IsIE7||!FCKBrowserInfo.IsIE6) return "";else return "javascript: '';";};return "javascript: void(0);";};FCKTools.ResetStyles=function(A){A.style.cssText='margin:0;padding:0;border:0;background-color:transparent;background-image:none;';}; |
FCKTools.CancelEvent=function(e){if (e) e.preventDefault();};FCKTools.DisableSelection=function(A){if (FCKBrowserInfo.IsGecko) A.style.MozUserSelect='none';else if (FCKBrowserInfo.IsSafari) A.style.KhtmlUserSelect='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){if (!B) return null;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':var B=(new DOMParser()).parseFromString('<tmp></tmp>','text/xml');FCKDomTools.RemoveNode(B.firstChild);return B;};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 A.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='window.FCKeditorAPI = {Version : "2.6.3",VersionBuild : "19836",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.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){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=FCKeditorAPI.Instances;};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.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) window.FCKUnloadFlag=true;};FCKTools.AddEventListener(window,'unload',FCKeditorAPI_Cleanup);FCKTools.AddEventListener(window,'beforeunload',FCKeditorAPI_ConfirmCleanup); |
var FCKeditorAPI;function InitializeAPI(){var A=window.parent;if (!(FCKeditorAPI=A.FCKeditorAPI)){var B='window.FCKeditorAPI = {Version : "2.6.4",VersionBuild : "21629",Instances : window.FCKeditorAPI && window.FCKeditorAPI.Instances || {},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 : window.FCKeditorAPI && window.FCKeditorAPI._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.IsAIR){FCKAdobeAIR.FCKeditorAPI_Evaluate(A,B);}else if (FCKBrowserInfo.IsSafari){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=FCKeditorAPI.Instances;};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.FCKConfig&&FCKConfig.MsWebBrowserControlCompat&&!window.FCKUnloadFlag) return;delete FCKeditorAPI.Instances[FCK.Name];};function FCKeditorAPI_ConfirmCleanup(){if (window.FCKConfig&&FCKConfig.MsWebBrowserControlCompat) 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:/'/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*| )(<\/\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,HtmlDocType:/DTD HTML/,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]*)$/,HtmlTag:/<[^\s<>](?:"[^"]*"|'[^']*'|[^<])*>/}; |
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 },NonEditableElements:{ button:1,option:1,script:1,iframe:1,textarea:1,object:1,embed:1,map:1,applet: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','fr-ca':'French (Canada)',gl:'Galician',gu:'Gujarati',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(FCKTools.GetElementDocument(A),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();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,'>');else 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.hasAttribute('_moz_editor_bogus_node')||B.getAttribute('type')=='_moz')){if (B.nextSibling) return false;else{B.removeAttribute('_moz_editor_bogus_node');B.removeAttribute('type');}};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) {};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);if (B.style.width) A.removeAttribute('width');if (B.style.height) A.removeAttribute('height');return A;},li:function(A,B,C){if (C.nodeName.IEquals(['ul','ol'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement('ul');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)} while (B&&B.nodeName.toLowerCase()=='li') return D;},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; |
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','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'},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','>':'gt','ˆ':'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={'>':'gt'};A='>';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(FCKTools.GetElementDocument(A),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();if (FCKConfig.DocType.length>0&&FCKRegexLib.HtmlDocType.test(FCKConfig.DocType)) E=E.replace(FCKRegexLib.SpaceNoClose,'>');else 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.hasAttribute('_moz_editor_bogus_node')||B.getAttribute('type')=='_moz')){if (B.nextSibling) return false;else{B.removeAttribute('_moz_editor_bogus_node');B.removeAttribute('type');}};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) {};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.push(A)-1);};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);if (B.style.width) A.removeAttribute('width');if (B.style.height) A.removeAttribute('height');return A;},li:function(A,B,C){if (C.nodeName.IEquals(['ul','ol'])) return FCKXHtml._AppendChildNodes(A,B,true);var D=FCKXHtml.XML.createElement('ul');B._fckxhtmljob=null;do{FCKXHtml._AppendNode(D,B);do{B=FCKDomTools.GetNextSibling(B);} while (B&&B.nodeType==3&&B.nodeValue.Trim().length==0)} while (B&&B.nodeName.toLowerCase()=='li') return D;},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 (new XMLSerializer()).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;}};if (FCKBrowserInfo.IsGecko){FCKXHtml.TagProcessors['link']=function(A,B){if (B.href.substr(0,9).toLowerCase()=='chrome://') return false;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 FCKCodeFormatter={};FCKCodeFormatter.Init=function(){var A=this.Regex={};A.BlocksOpener=/\<(P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DL|DT|DD|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|DL|DT|DD|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|DL)[ \/\>]/i;A.DecreaseIndent=/^\<\/(HTML|HEAD|BODY|FORM|TABLE|TBODY|THEAD|TR|UL|OL|DL)[ \>]/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.push(C)-1)+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(){FCKSelection.Restore();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);while(C.firstChild) C.removeChild(C.firstChild);if (this.Mode==0){if (FCK_IS_CUSTOM_DOMAIN) A='<script>document.domain="'+FCK_RUNTIME_DOMAIN+'";</script>'+A;if (FCKBrowserInfo.IsIE) A=A.replace(/(<base[^>]*?)\s*\/?>(?!\s*<\/base>)/gi,'$1></base>');else if (!B){var E=A.match(FCKRegexLib.BeforeBody);var F=A.match(FCKRegexLib.AfterBody);if (E&&F){var G=A.substr(E[1].length,A.length-E[1].length-F[1].length);A=E[1]+' '+F[1];if (FCKBrowserInfo.IsGecko&&(G.length==0||FCKRegexLib.EmptyParagraph.test(G))) G='<br type="_moz">';this._BodyHTML=G;}else this._BodyHTML=A;};var H=this.IFrame=D.createElement('iframe');var I='<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>';H.frameBorder=0;H.style.width=H.style.height='100%';if (FCK_IS_CUSTOM_DOMAIN&&FCKBrowserInfo.IsIE){window._FCKHtmlToLoad=A.replace(/<head>/i,'<head>'+I);H.src='javascript:void( (function(){document.open() ;document.domain="'+document.domain+'" ;document.write( window.parent._FCKHtmlToLoad );document.close() ;window.parent._FCKHtmlToLoad = null ;})() )';}else if (!FCKBrowserInfo.IsGecko){H.src='javascript:void(0)';};C.appendChild(H);this.Window=H.contentWindow;if (!FCK_IS_CUSTOM_DOMAIN||!FCKBrowserInfo.IsIE){var J=this.Window.document;J.open();J.write(A.replace(/<head>/i,'<head>'+I));J.close();};if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.EditingArea_Start(J,A);if (FCKBrowserInfo.IsGecko10&&!B){this.Start(A,true);return;};if (H.readyState&&H.readyState!='completed'){var K=this;setTimeout(function(){try{K.Window.document.documentElement.doScroll("left");}catch(e){setTimeout(arguments.callee,0);return;};K.Window._FCKEditingArea=K;FCKEditingArea_CompleteStart.call(K.Window);},0);}else{this.Window._FCKEditingArea=this;if (FCKBrowserInfo.IsGecko10) this.Window.setTimeout(FCKEditingArea_CompleteStart,500);else FCKEditingArea_CompleteStart.call(this.Window);}}else{var L=this.Textarea=D.createElement('textarea');L.className='SourceField';L.dir='ltr';FCKDomTools.SetElementStyles(L,{width:'100%',height:'100%',border:'none',resize:'none',outline:'none'});C.appendChild(L);L.value=A;FCKTools.RunFunction(this.OnLoad);}};function FCKEditingArea_CompleteStart(){if (!this.document.body){this.setTimeout(FCKEditingArea_CompleteStart,50);return;};var A=this._FCKEditingArea;A.Document=A.Window.document;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;A.body.offsetLeft;this._BodyHTML=null;};A.designMode='on';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._FocusIE();else this.Window.focus();}else{var A=FCKTools.GetElementDocument(this.Textarea);if ((!A.hasFocus||A.hasFocus())&&A.activeElement==this.Textarea) return;this.Textarea.focus();}}catch(e) {}};FCKEditingArea.prototype._FocusIE=function(){this.Document.body.setActive();this.Window.focus();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=new FCKDomRange(this.Window);A.MoveToElementEditStart(B);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;}; |
52,37 → 52,37 |
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 (G!=(F._LastState||null)){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);else FCKDomTools.RemoveAttributes(I,FCKConfig.RemoveAttributesArray);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 (FCKBrowserInfo.IsIE&&e.scopeName!='HTML') E=e.scopeName.toLowerCase()+':'+E;if (!C){if (!B&&FCKListsLib.PathBlockElements[E]!=null) B=e;if (FCKListsLib.PathBlockLimitElements[E]!=null){if (!B&&E=='div'&&!FCKElementPath._CheckHasBlock(e)) B=e;else C=e;}};D.push(e);if (E=='body') break;};e=e.parentNode;};this.Block=B;this.BlockLimit=C;this.Elements=D;};FCKElementPath._CheckHasBlock=function(A){var B=A.childNodes;for (var i=0,count=B.length;i<count;i++){var C=B[i];if (C.nodeType==1&&FCKListsLib.BlockElements[C.nodeName.toLowerCase()]) return true;};return false;}; |
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=new FCKElementPath(B);this.StartNode=B.nodeType==3?B:B.childNodes[A.startOffset];this.StartContainer=B;this.StartBlock=C.Block;this.StartBlockLimit=C.BlockLimit;if (A.collapsed){this.EndNode=this.StartNode;this.EndContainer=this.StartContainer;this.EndBlock=this.StartBlock;this.EndBlockLimit=this.StartBlockLimit;}else{var D=A.endContainer;if (B!=D) C=new FCKElementPath(D);var E=D;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=D;this.EndBlock=C.Block;this.EndBlockLimit=C.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;};return null;},CheckIsCollapsed:function(){if (this._Range) return this._Range.collapsed;return false;},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 (A&&A.nodeType==1){if (FCKDomTools.CheckIsEditable(A)) B=A;else if (B) break;A=A.firstChild;};if (B) this.MoveToElementStart(B);},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=' ';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=' ';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&&D.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;}while (C&&E.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(A){var B=A||FCKConfig.EnterMode;if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var C=this.StartBlock;var D=this.EndBlock;var E=null;if (B!='br'){if (!C){C=this.FixBlock(true,B);D=this.EndBlock;};if (!D) D=this.FixBlock(false,B);};var F=(C!=null&&this.CheckStartOfBlock());var G=(D!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (C&&D&&C==D){if (G){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(D,4);D=null;}else if (F){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(C,3);C=null;}else{this.SetEnd(C,2);var H=this.ExtractContents();D=C.cloneNode(false);D.removeAttribute('id',false);H.AppendTo(D);FCKDomTools.InsertAfterNode(C,D);this.MoveToPosition(C,4);if (FCKBrowserInfo.IsGecko&&!C.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(C);}};return {PreviousBlock:C,NextBlock:D,WasStartOfBlock:F,WasEndOfBlock:G,ElementPath:E};};return null;},FixBlock:function(A,B){var C=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var D=this.Window.document.createElement(B);this.ExtractContents().AppendTo(D);FCKDomTools.TrimNode(D);if (FCKDomTools.CheckIsEmptyElement(D,function(element) { return element.getAttribute('_fck_bookmark')!='true';})&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);this.InsertNode(D);this.MoveToBookmark(C);return D;},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;}}; |
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=new FCKElementPath(B);this.StartNode=B.nodeType==3?B:B.childNodes[A.startOffset];this.StartContainer=B;this.StartBlock=C.Block;this.StartBlockLimit=C.BlockLimit;if (A.collapsed){this.EndNode=this.StartNode;this.EndContainer=this.StartContainer;this.EndBlock=this.StartBlock;this.EndBlockLimit=this.StartBlockLimit;}else{var D=A.endContainer;if (B!=D) C=new FCKElementPath(D);var E=D;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=D;this.EndBlock=C.Block;this.EndBlockLimit=C.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;};return null;},CheckIsCollapsed:function(){if (this._Range) return this._Range.collapsed;return false;},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 (A&&A.nodeType==1){if (FCKDomTools.CheckIsEditable(A)) B=A;else if (B) break;A=A.firstChild;};if (B) this.MoveToElementStart(B);},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=' ';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=' ';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&&D.nodeType==3){A.Start[0]+=B.length;D=B;B=B.previousSibling;}while (C&&C.nodeType==3&&E.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(A){var B=A||FCKConfig.EnterMode;if (!this._Range) this.MoveToSelection();if (this.StartBlockLimit==this.EndBlockLimit){var C=this.StartBlock;var D=this.EndBlock;var E=null;if (B!='br'){if (!C){C=this.FixBlock(true,B);D=this.EndBlock;};if (!D) D=this.FixBlock(false,B);};var F=(C!=null&&this.CheckStartOfBlock());var G=(D!=null&&this.CheckEndOfBlock());if (!this.CheckIsEmpty()) this.DeleteContents();if (C&&D&&C==D){if (G){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(D,4);D=null;}else if (F){E=new FCKElementPath(this.StartContainer);this.MoveToPosition(C,3);C=null;}else{this.SetEnd(C,2);var H=this.ExtractContents();D=C.cloneNode(false);D.removeAttribute('id',false);H.AppendTo(D);FCKDomTools.InsertAfterNode(C,D);this.MoveToPosition(C,4);if (FCKBrowserInfo.IsGecko&&!C.nodeName.IEquals(['ul','ol'])) FCKTools.AppendBogusBr(C);}};return {PreviousBlock:C,NextBlock:D,WasStartOfBlock:F,WasEndOfBlock:G,ElementPath:E};};return null;},FixBlock:function(A,B){var C=this.CreateBookmark();this.Collapse(A);this.Expand('block_contents');var D=this.Window.document.createElement(B);this.ExtractContents().AppendTo(D);FCKDomTools.TrimNode(D);if (FCKDomTools.CheckIsEmptyElement(D,function(element) { return element.getAttribute('_fck_bookmark')!='true';})&&FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(D);this.InsertNode(D);this.MoveToBookmark(C);return D;},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;this._NextNode=null;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]&&(!FCKBrowserInfo.IsIE||H.scopeName=='HTML')){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};if (B){B.SetEnd(H,3,true);if (M!='br') this._NextNode=FCKDomTools.GetNextSourceNode(H,true,null,I);};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;K=true;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;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);};if (!this._NextNode) this._NextNode=(C||A==I)?null:FCKDomTools.GetNextSourceNode(A,true,null,I);return A;}}; |
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;this._NextNode=null;while (H){var J=false;var K=(H.nodeType!=1);var L=false;if (!K){var M=H.nodeName.toLowerCase();if (F[M]&&(!FCKBrowserInfo.IsIE||H.scopeName=='HTML')){if (M=='br') K=true;else if (!B&&H.childNodes.length==0&&M!='hr'){A=H;C=H==I;break;};if (B){B.SetEnd(H,3,true);if (M!='br') this._NextNode=FCKDomTools.GetNextSourceNode(H,true,null,I)||H;};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;K=true;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;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);};if (!this._NextNode) 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);},AppendHtml:function(A){var B=this.RootNode.ownerDocument.createElement('div');B.innerHTML=A;FCKDomTools.MoveChildren(B,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 (E==0){C=C.insertBefore(this._Document.createTextNode(''),C.firstChild);G=true;}else if (E>C.childNodes.length-1){C=C.appendChild(this._Document.createTextNode(''));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'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);this.TabText='';if (D>0||FCKBrowserInfo.IsSafari){while (D--) this.TabText+='\xa0';E.SetKeystrokes([9,'Tab']);};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;};if (FCKBrowserInfo.IsIE){var F=FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var G=B.Clone();G.SetStart(F,4);if (G.CheckIsEmpty()){F.parentNode.removeChild(F);return true;}}};var H=B.StartBlock;var I=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&H&&I){if (!C){var J=B.CheckEndOfBlock();B.DeleteContents();if (H!=I){B.SetStart(I,1);B.SetEnd(I,1);};B.Select();A=(H==I);};if (B.CheckStartOfBlock()){var K=B.StartBlock;var L=FCKDomTools.GetPreviousSourceElement(K,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,L,K);}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(A);if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (F){if (F.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(F,F.parentNode);FCKDomTools.MoveNode(F,F.nextSibling,true);}}else if (E&&E.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(E,E.parentNode);C.MoveToElementEditStart(E.nextSibling);FCKDomTools.MoveNode(E,E.previousSibling);};if (!G&&!H){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(FCKTools.GetElementDocument(F).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){for (var i=0,len=K.Elements.length;i<len;i++){var L=K.Elements[i];if (L==K.Block||L==K.BlockLimit) break;if (FCKListsLib.InlineChildReqElements[L.nodeName.toLowerCase()]){L=FCKDomTools.CloneElement(L);FCKDomTools.MoveChildren(I,L);I.appendChild(L);}}};if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);C.InsertNode(I);if (FCKBrowserInfo.IsIE){C.MoveToElementEditStart(I);C.Select();};C.MoveToElementEditStart(G&&!H?F:I);};if (FCKBrowserInfo.IsGeckoLike) FCKDomTools.ScrollIntoView(F||I,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);FCKDomTools.ScrollIntoView(I,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=FCK.IsDirty();var C,i=0;while((C=this._Items[i++])) C.ProcessDocument(A);if (!B) FCK.ResetIsDirty();};var FCKDocumentProcessor_CreateFakeImage=function(A,B){var C=FCKTools.GetElementDocument(B).createElement('IMG');C.className=A;C.src=FCKConfig.BasePath+'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);}}};FCKEmbedAndObjectProcessor=(function(){var A=[];var B=function(el){var C=el.cloneNode(true);var D;var E=D=FCKDocumentProcessor_CreateFakeImage('FCK__UnknownObject',C);FCKEmbedAndObjectProcessor.RefreshView(E,el);for (var i=0;i<A.length;i++) D=A[i](el,D)||D;if (D!=E) FCKTempBin.RemoveElement(E.getAttribute('_fckrealelement'));el.parentNode.replaceChild(D,el);};var F=function(elementName,doc){var G=doc.getElementsByTagName(elementName);for (var i=G.length-1;i>=0;i--) B(G[i]);};var H=function(doc){F('object',doc);F('embed',doc);};return FCKTools.Merge(FCKDocumentProcessor.AppendNew(),{ProcessDocument:function(doc){if (FCKBrowserInfo.IsGecko) FCKTools.RunFunction(H,this,[doc]);else H(doc);},RefreshView:function(placeHolder,original){if (original.getAttribute('width')>0) placeHolder.style.width=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('width'));if (original.getAttribute('height')>0) placeHolder.style.height=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('height'));},AddCustomHandler:function(func){A.push(func);}});})();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);}}};FCKEmbedAndObjectProcessor.AddCustomHandler(function(A,B){if (!(A.nodeName.IEquals('embed')&&(A.type=='application/x-shockwave-flash'||/\.swf($|#|\?)/i.test(A.src)))) return;B.className='FCK__Flash';B.setAttribute('_fckflash','true',0);});if (FCKBrowserInfo.IsSafari){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByClassName?A.getElementsByClassName('Apple-style-span'):Array.prototype.filter.call(A.getElementsByTagName('span'),function(item){ return item.className=='Apple-style-span';});for (var i=B.length-1;i>=0;i--) FCKDomTools.RemoveNode(B[i],true);}}; |
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'],[8,'Backspace'],[CTRL+8,'CtrlBackspace'],[46,'Delete']]);this.TabText='';if (D>0||FCKBrowserInfo.IsSafari){while (D--) this.TabText+='\xa0';E.SetKeystrokes([9,'Tab']);};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;};if (FCKBrowserInfo.IsIE){var F=FCKDomTools.GetPreviousSourceElement(B.StartNode,true);if (F&&F.nodeName.toLowerCase()=='br'){var G=B.Clone();G.SetStart(F,4);if (G.CheckIsEmpty()){F.parentNode.removeChild(F);return true;}}};var H=B.StartBlock;var I=B.EndBlock;if (B.StartBlockLimit==B.EndBlockLimit&&H&&I){if (!C){var J=B.CheckEndOfBlock();B.DeleteContents();if (H!=I){B.SetStart(I,1);B.SetEnd(I,1);};B.Select();A=(H==I);};if (B.CheckStartOfBlock()){var K=B.StartBlock;var L=FCKDomTools.GetPreviousSourceElement(K,true,['BODY',B.StartBlockLimit.nodeName],['UL','OL']);A=this._ExecuteBackspace(B,L,K);}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(A);if (D){var E=D.PreviousBlock;var F=D.NextBlock;var G=D.WasStartOfBlock;var H=D.WasEndOfBlock;if (F){if (F.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(F,F.parentNode);FCKDomTools.MoveNode(F,F.nextSibling,true);}}else if (E&&E.parentNode.nodeName.IEquals('li')){FCKDomTools.BreakParent(E,E.parentNode);C.MoveToElementEditStart(E.nextSibling);FCKDomTools.MoveNode(E,E.previousSibling);};if (!G&&!H){if (F.nodeName.IEquals('li')&&F.firstChild&&F.firstChild.nodeName.IEquals(['ul','ol'])) F.insertBefore(FCKTools.GetElementDocument(F).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){for (var i=0,len=K.Elements.length;i<len;i++){var L=K.Elements[i];if (L==K.Block||L==K.BlockLimit) break;if (FCKListsLib.InlineChildReqElements[L.nodeName.toLowerCase()]){L=FCKDomTools.CloneElement(L);FCKDomTools.MoveChildren(I,L);I.appendChild(L);}}};if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(I);C.InsertNode(I);if (FCKBrowserInfo.IsIE){C.MoveToElementEditStart(I);C.Select();};C.MoveToElementEditStart(G&&!H?F:I);};if (FCKBrowserInfo.IsGeckoLike){if (F){var M=this.Window.document.createElement('span');M.innerHTML=' ';C.InsertNode(M);FCKDomTools.ScrollIntoView(M,false);C.DeleteContents();}else{FCKDomTools.ScrollIntoView(F||I,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);FCKDomTools.ScrollIntoView(I,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.push(A);return A;};FCKDocumentProcessor.Process=function(A){var B=FCK.IsDirty();var C,i=0;while((C=this._Items[i++])) C.ProcessDocument(A);if (!B) FCK.ResetIsDirty();};var FCKDocumentProcessor_CreateFakeImage=function(A,B){var C=FCKTools.GetElementDocument(B).createElement('IMG');C.className=A;C.src=FCKConfig.BasePath+'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 FCKEmbedAndObjectProcessor=(function(){var A=[];var B=function(el){var C=el.cloneNode(true);var D;var E=D=FCKDocumentProcessor_CreateFakeImage('FCK__UnknownObject',C);FCKEmbedAndObjectProcessor.RefreshView(E,el);for (var i=0;i<A.length;i++) D=A[i](el,D)||D;if (D!=E) FCKTempBin.RemoveElement(E.getAttribute('_fckrealelement'));el.parentNode.replaceChild(D,el);};var F=function(elementName,doc){var G=doc.getElementsByTagName(elementName);for (var i=G.length-1;i>=0;i--) B(G[i]);};var H=function(doc){F('object',doc);F('embed',doc);};return FCKTools.Merge(FCKDocumentProcessor.AppendNew(),{ProcessDocument:function(doc){if (FCKBrowserInfo.IsGecko) FCKTools.RunFunction(H,this,[doc]);else H(doc);},RefreshView:function(placeHolder,original){if (original.getAttribute('width')>0) placeHolder.style.width=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('width'));if (original.getAttribute('height')>0) placeHolder.style.height=FCKTools.ConvertHtmlSizeToStyle(original.getAttribute('height'));},AddCustomHandler:function(func){A.push(func);}});})();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);}}};FCKEmbedAndObjectProcessor.AddCustomHandler(function(A,B){if (!(A.nodeName.IEquals('embed')&&(A.type=='application/x-shockwave-flash'||/\.swf($|#|\?)/i.test(A.src)))) return;B.className='FCK__Flash';B.setAttribute('_fckflash','true',0);});if (FCKBrowserInfo.IsSafari){FCKDocumentProcessor.AppendNew().ProcessDocument=function(A){var B=A.getElementsByClassName?A.getElementsByClassName('Apple-style-span'):Array.prototype.filter.call(A.getElementsByTagName('span'),function(item){ return item.className=='Apple-style-span';});for (var i=B.length-1;i>=0;i--) FCKDomTools.RemoveNode(B[i],true);}}; |
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=this.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=!!FCK.EditorWindow&&this.GetSelection();if (!A||A.rangeCount<1) return null;var B=A.getRangeAt(0);if (B.startContainer!=B.endContainer||B.startContainer.nodeType!=1||B.startOffset!=B.endOffset-1) return null;var C=B.startContainer.childNodes[B.startOffset];if (C.nodeType!=1) return null;return C;};FCKSelection.GetParentElement=function(){if (this.GetType()=='Control') return FCKSelection.GetSelectedElement().parentNode;else{var A=this.GetSelection();if (A){if (A.anchorNode&&A.anchorNode==A.focusNode){var B=A.getRangeAt(0);if (B.collapsed||B.startContainer.nodeType==3) return A.anchorNode.parentNode;else return A.anchorNode;};var C=new FCKElementPath(A.anchorNode);var D=new FCKElementPath(A.focusNode);var E=null;var F=null;if (C.Elements.length>D.Elements.length){E=C.Elements;F=D.Elements;}else{E=D.Elements;F=C.Elements;};var G=E.length-F.length;for(var i=0;i<F.length;i++){if (E[G+i]==F[i]) return F[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=this.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=this.GetSelection();C.removeAllRanges();C.addRange(B);};FCKSelection.Collapse=function(A){var B=this.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=this.GetSelection().getRangeAt(0).startContainer;}catch(e){}}while (B){if (B.nodeType==1&&B.nodeName.IEquals(A)) return true;B=B.parentNode;};return false;};FCKSelection.MoveToAncestorNode=function(A){var B;var C=this.GetSelectedElement();if (!C) C=this.GetSelection().getRangeAt(0).startContainer;while (C){if (C.nodeName.IEquals(A)) return C;C=C.parentNode;};return null;};FCKSelection.Delete=function(){var A=this.GetSelection();for (var i=0;i<A.rangeCount;i++){A.getRangeAt(i).deleteContents();};return A;};FCKSelection.GetSelection=function(){return FCK.EditorWindow.getSelection();};FCKSelection.Save=function(){};FCKSelection.Restore=function(){};FCKSelection.Release=function(){}; |
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=FCKTools.GetElementDocument(B).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(FCKTools.GetElementDocument(B).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=FCKTools.GetElementDocument(B).createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(FCKTools.GetElementDocument(D).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=FCKTools.GetElementDocument(B).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(FCKTools.GetElementDocument(B).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');var L=B.parentNode.parentNode;if (L.rows.length>G) L.insertBefore(K,L.rows[G]);else L.appendChild(K);for (var i=0;i<C[F].length;){var M=C[F][i].colSpan;if (isNaN(M)||M<1) M=1;if (i==D){i+=M;continue;};var N=C[F][i].rowSpan;if (isNaN(N)) N=1;C[F][i].rowSpan=N+1;i+=M;};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){var C=FCKBrowserInfo.IsIE?"_fckrowspan":"rowSpan";while (B.rows.length>0){var D=B.rows[0];D.parentNode.removeChild(D);};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var E=A[i][j];if (E.parentNode) E.parentNode.removeChild(E);E.colSpan=E[C]=1;}};var F=0;for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var E=A[i][j];if (!E) continue;if (j>F) F=j;if (E._colScanned===true) continue;if (A[i][j-1]==E) E.colSpan++;if (A[i][j+1]!=E) E._colScanned=true;}};for (var i=0;i<=F;i++){for (var j=0;j<A.length;j++){if (!A[j]) continue;var E=A[j][i];if (!E||E._rowScanned===true) continue;if (A[j-1]&&A[j-1][i]==E) E[C]++;if (!A[j+1]||A[j+1][i]!=E) E._rowScanned=true;}};for (var i=0;i<A.length;i++){for (var j=0;j<A[i].length;j++){var E=A[i][j];if (FCKBrowserInfo.IsIE){E.removeAttribute('_colScanned');E.removeAttribute('_rowScanned');}else{delete E._colScanned;delete E._rowScanned;}}};for (var i=0;i<A.length;i++){var J=FCKTools.GetElementDocument(B).createElement('tr');for (var j=0;j<A[i].length;){var E=A[i][j];if (A[i-1]&&A[i-1][j]==E){j+=E.colSpan;continue;};J.appendChild(E);if (C!='rowSpan'){E.rowSpan=E[C];E.removeAttribute(C);};j+=E.colSpan;if (E.colSpan==1) E.removeAttribute('colspan');if (E.rowSpan==1) E.removeAttribute('rowspan');};B.appendChild(J);}};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=FCKSelection.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 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=B[i].parentNode;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];F.insertBefore(B,(A?G:G.nextSibling));}};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(A.parentNode);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++){FCKDomTools.ClearElementJSProperty(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;for (var i=0;i<A.length;i++){if (A[i].parentNode.parentNode!=A[0].parentNode.parentNode) return false;};this._MarkCells(A,'_CellSelected');var B=this._CreateTableMap(A[0]);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);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=FCKTools.GetElementDocument(B).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(FCK.EditorDocument.createElement('br'));};this._ReplaceCellsByMarker(C,'_SelectedCells',B);this._UnmarkCells(A,'_SelectedCells');this._InstallTableMap(C,B.parentNode.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.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=FCKTools.GetElementDocument(B).createDocumentFragment();while (D&&D.childNodes&&D.childNodes.length>0) E.appendChild(D.removeChild(D.firstChild));if (E.firstChild) E.insertBefore(FCK.EditorDocument.createElement('br'),E.firstChild);B.appendChild(E);this._MarkCells([D],'_Replace');this._ReplaceCellsByMarker(C,'_Replace',B);this._InstallTableMap(C,B.parentNode.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);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=FCK.EditorDocument.createElement(B.nodeName);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(FCK.EditorDocument.createElement(B.nodeName));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.parentNode);};FCKTableHandler.VerticalSplitCell=function(){var A=FCKTableHandler.GetSelectedCells();if (A.length!=1) return;var B=A[0];var C=this._CreateTableMap(B);var D=B.parentNode.rowIndex;var E=FCKTableHandler._GetCellIndexSpan(C,D,B);var F=isNaN(B.colSpan)?1:B.colSpan;var G=B.rowSpan;if (isNaN(G)) G=1;if (G>1){B.rowSpan=Math.ceil(G/2);var H=D+Math.ceil(G/2);var I=C[H];var J=null;for (var i=E+1;i<I.length;i++){if (I[i].parentNode.rowIndex==H){J=I[i];break;}};var K=FCK.EditorDocument.createElement(B.nodeName);K.rowSpan=Math.floor(G/2);if (F>1) K.colSpan=F;if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(K);B.parentNode.parentNode.parentNode.rows[H].insertBefore(K,J);}else{var L=B.parentNode.sectionRowIndex+1;var M=FCK.EditorDocument.createElement('tr');var N=B.parentNode.parentNode;if (N.rows.length>L) N.insertBefore(M,N.rows[L]);else N.appendChild(M);for (var i=0;i<C[D].length;){var O=C[D][i].colSpan;if (isNaN(O)||O<1) O=1;if (i==E){i+=O;continue;};var P=C[D][i].rowSpan;if (isNaN(P)) P=1;C[D][i].rowSpan=P+1;i+=O;};var K=FCK.EditorDocument.createElement(B.nodeName);if (F>1) K.colSpan=F;if (FCKBrowserInfo.IsGeckoLike) FCKTools.AppendBogusBr(K);M.appendChild(K);}};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._CreateTableMap=function(A){var B=(A.nodeName=='TABLE'?A:A.parentNode.parentNode.parentNode);var C=B.rows;var r=-1;var D=[];for (var i=0;i<C.length;i++){r++;if (!D[r]) D[r]=[];var c=-1;for (var j=0;j<C[i].cells.length;j++){var E=C[i].cells[j];c++;while (D[r][c]) c++;var F=isNaN(E.colSpan)?1:E.colSpan;var G=isNaN(E.rowSpan)?1:E.rowSpan;for (var H=0;H<G;H++){if (!D[r+H]) D[r+H]=[];for (var I=0;I<F;I++){D[r+H][c+I]=C[i].cells[j];}};c+=F-1;}};return D;};FCKTableHandler._InstallTableMap=function(A,B){var C=FCKBrowserInfo.IsIE?"_fckrowspan":"rowSpan";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[C]=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[C]++;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];FCKDomTools.ClearElementJSProperty(D,'_colScanned');FCKDomTools.ClearElementJSProperty(D,'_rowScanned');}};for (var i=0;i<A.length;i++){var I=FCK.EditorDocument.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);if (C!='rowSpan'){D.rowSpan=D[C];D.removeAttribute(C);};j+=D.colSpan;if (D.colSpan==1) D.removeAttribute('colspan');if (D.rowSpan==1) D.removeAttribute('rowspan');};if (FCKBrowserInfo.IsIE){B.rows[i].replaceNode(I);}else{B.rows[i].innerHTML='';FCKDomTools.MoveChildren(I,B.rows[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);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);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;if (B.parentNode.parentNode!=G.parentNode.parentNode) 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=FCKSelection.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.nodeName.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;var C=FCKTools.CreateXmlObject('XmlHttp');C.open('GET',A,false);C.send(null);if (C.status==200||C.status==304||(C.status==0&&C.readyState==4)){B=C.responseXML;if (!B) B=(new DOMParser()).parseFromString(C.responseText,'text/xml');}else B=null;if (B){try{var D=B.firstChild;}catch (e){B=(new DOMParser()).parseFromString(C.responseText,'text/xml');}};if (!B||!B.firstChild){this.Error=true;if (window.confirm('Error loading "'+A+'" (HTTP Status: '+C.status+').\r\nDo you want to see the server response dump?')) alert(C.responseText);};this.DOMDocument=B;},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(){if (FCK.EditMode!=0) return -1;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.EditMode!=0||!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,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;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,this.CustomValue,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};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(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name='Redo';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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"> </span>';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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(){if (FCK.EditMode!=0) return -1;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;};FCKVisitLinkCommand=function(){this.Name='VisitLink';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState('Unlink');if (A==0){var B=FCKSelection.MoveToAncestorNode('A');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode('A');var B=A.getAttribute('_fcksavedurl')||A.getAttribute('href',2);if (!/:\/\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject('parent');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf('/')+1);};if (/^\//.test(B)){try{C=C.match(/^.*:\/\/+[^\/]+/)[0];}catch (e){C=D.document.location.protocol+'://'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,'_blank')) alert(FCKLang.VisitLinkBlocked);}};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(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCutCopyCommand=function(A){this.Name=A?'Cut':'Copy';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C='on'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang['PasteError'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1: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(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Unlink');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals('div')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name='Non Breaking Space';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(' ');},GetState:function(){return (FCK.EditMode!=0?-1:0);}}; |
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';if (FCKBrowserInfo.IsIE){try{FCK.EditorDocument.selection.createRange().select();}catch (e){}}else{var C=FCK.EditorWindow.getSelection().focusNode;if (C.nodeType!=1) C=C.parentNode;FCKDomTools.ScrollIntoView(C,false);};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(){if (FCK.EditMode!=0) return -1;return this.IsEnabled?0:-1;}; |
var FCKDialogCommand=function(A,B,C,D,E,F,G,H){this.Name=A;this.Title=B;this.Url=C;this.Width=D;this.Height=E;this.CustomValue=H;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,this.CustomValue,null,this.Resizable);};FCKDialogCommand.prototype.GetState=function(){if (this.GetStateFunction) return this.GetStateFunction(this.GetStateParam);else return FCK.EditMode==0?0:-1;};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(){if (FCK.EditMode!=0) return -1;return (FCKUndo.CheckUndoState()?0:-1);};var FCKRedoCommand=function(){this.Name='Redo';};FCKRedoCommand.prototype.Execute=function(){FCKUndo.Redo();};FCKRedoCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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"> </span>';var A=FCKDocumentProcessor_CreateFakeImage('FCK__PageBreak',e);var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.SplitBlock();B.InsertNode(A);FCK.Events.FireEvent('OnSelectionChange');};FCKPageBreakCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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(){if (FCK.EditMode!=0) return -1;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 FCKVisitLinkCommand=function(){this.Name='VisitLink';};FCKVisitLinkCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCK.GetNamedCommandState('Unlink');if (A==0){var B=FCKSelection.MoveToAncestorNode('A');if (!B.href) A=-1;};return A;},Execute:function(){var A=FCKSelection.MoveToAncestorNode('A');var B=A.getAttribute('_fcksavedurl')||A.getAttribute('href',2);if (!/:\/\//.test(B)){var C=FCKConfig.BaseHref;var D=FCK.GetInstanceObject('parent');if (!C){C=D.document.location.href;C=C.substring(0,C.lastIndexOf('/')+1);};if (/^\//.test(B)){try{C=C.match(/^.*:\/\/+[^\/]+/)[0];}catch (e){C=D.document.location.protocol+'://'+D.parent.document.location.host;}};B=C+B;};if (!window.open(B,'_blank')) alert(FCKLang.VisitLinkBlocked);}};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(){if (FCK.EditMode!=0) return -1;return 0;};var FCKPasteCommand=function(){this.Name='Paste';};FCKPasteCommand.prototype={Execute:function(){if (FCKBrowserInfo.IsIE) FCK.Paste();else FCK.ExecuteNamedCommand('Paste');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}};var FCKRuleCommand=function(){this.Name='Rule';};FCKRuleCommand.prototype={Execute:function(){FCKUndo.SaveUndoStep();FCK.InsertElement('hr');},GetState:function(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('InsertHorizontalRule');}};var FCKCutCopyCommand=function(A){this.Name=A?'Cut':'Copy';};FCKCutCopyCommand.prototype={Execute:function(){var A=false;if (FCKBrowserInfo.IsIE){var B=function(){A=true;};var C='on'+this.Name.toLowerCase();FCK.EditorDocument.body.attachEvent(C,B);FCK.ExecuteNamedCommand(this.Name);FCK.EditorDocument.body.detachEvent(C,B);}else{try{FCK.ExecuteNamedCommand(this.Name);A=true;}catch(e){}};if (!A) alert(FCKLang['PasteError'+this.Name]);},GetState:function(){return FCK.EditMode!=0?-1: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(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Unlink');}};var FCKDeleteDivCommand=function(){};FCKDeleteDivCommand.prototype={GetState:function(){if (FCK.EditMode!=0) return -1;var A=FCKSelection.GetParentElement();var B=new FCKElementPath(A);return B.BlockLimit&&B.BlockLimit.nodeName.IEquals('div')?0:-1;},Execute:function(){FCKUndo.SaveUndoStep();var A=FCKDomTools.GetSelectedDivContainers();var B=new FCKDomRange(FCK.EditorWindow);B.MoveToSelection();var C=B.CreateBookmark();for (var i=0;i<A.length;i++) FCKDomTools.RemoveNode(A[i],true);B.MoveToBookmark(C);B.Select();}};var FCKNbsp=function(){this.Name='Non Breaking Space';};FCKNbsp.prototype={Execute:function(){FCK.InsertHtml(' ');},GetState:function(){return (FCK.EditMode!=0?-1:0);}}; |
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';if (FCKBrowserInfo.IsIE){try{FCK.EditorDocument.selection.createRange().select();}catch (e){}}else{var C=FCK.EditorWindow.getSelection().focusNode;if (C){if (C.nodeType!=1) C=C.parentNode;FCKDomTools.ScrollIntoView(C,false);}};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');};FCKSpellCheckCommand.prototype.Execute=function(){switch (FCKConfig.SpellChecker){case 'SpellerPages':FCKDialog.OpenDialog('FCKDialog_SpellCheck','Spell Check','dialog/fck_spellerpages.html',440,480);break;case 'WSC':FCKDialog.OpenDialog('FCKDialog_SpellCheck','Spell Check','wsc/w.html',530,480);}};FCKSpellCheckCommand.prototype.GetState=function(){if (FCK.EditMode!=0) return -1;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.SkinEditorCSS);this._Panel.MainNode.className='FCK_Panel';this._CreatePanelBody(this._Panel.Document,this._Panel.MainNode);FCK.ToolbarSet.ToolbarItems.GetItem(this.Name).RegisterPanel(this._Panel);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(){if (FCK.EditMode!=0) return -1;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',410,320,FCKTools.Bind(B,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(){if (FCK.EditMode!=0) return -1;return FCK.GetNamedCommandState('Paste');}; |
var FCKPasteWordCommand=function(){this.Name='PasteWord';};FCKPasteWordCommand.prototype.Execute=function(){FCK.PasteFromWord();};FCKPasteWordCommand.prototype.GetState=function(){if (FCK.EditMode!=0||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;var H=new FCKDomRange(FCK.EditorWindow);H.MoveToSelection();var I=FCKTools.GetScrollPosition(FCK.EditorWindow);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 J=FCKTools.GetViewPaneSize(C);B.position="absolute";A.offsetLeft;B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=J.Width+"px";B.height=J.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var K=FCKTools.GetWindowPosition(C,A);if (K.x!=0) B.left=(-1*K.x)+"px";if (K.y!=0) B.top=(-1*K.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();H.Select();FCK.EditorWindow.scrollTo(I.X,I.Y);};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 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;var H,oEditorScrollPos;if (FCK.EditMode==0){H=new FCKDomRange(FCK.EditorWindow);H.MoveToSelection();oEditorScrollPos=FCKTools.GetScrollPosition(FCK.EditorWindow);}else{var I=FCK.EditingArea.Textarea;H=!FCKBrowserInfo.IsIE&&[I.selectionStart,I.selectionEnd];oEditorScrollPos=[I.scrollLeft,I.scrollTop];};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 J=FCKTools.GetViewPaneSize(C);B.position="absolute";A.offsetLeft;B.zIndex=FCKConfig.FloatingPanelsZIndex-1;B.left="0px";B.top="0px";B.width=J.Width+"px";B.height=J.Height+"px";if (!FCKBrowserInfo.IsIE){B.borderRight=B.borderBottom="9999px solid white";B.backgroundColor="white";};C.scrollTo(0,0);var K=FCKTools.GetWindowPosition(C,A);if (K.x!=0) B.left=(-1*K.x)+"px";if (K.y!=0) B.top=(-1*K.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();if (FCK.EditMode==0){H.Select();FCK.EditorWindow.scrollTo(oEditorScrollPos.X,oEditorScrollPos.Y);}else{if (!FCKBrowserInfo.IsIE){I.selectionStart=H[0];I.selectionEnd=H[1];};I.scrollLeft=oEditorScrollPos[0];I.scrollTop=oEditorScrollPos[1];}};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=FCKSelection.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=FCKTools.GetElementDocument(A.root).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=FCKTools.GetElementDocument(A.root);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]||null;case 'center':return D[1]||null;case 'right':return D[2]||null;case 'justify':return D[3]||null;}};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);B.EnforceRealBlocks=true;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=FCKTools.GetElementDocument(H).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=FCKTools.GetElementDocument(S).createDocumentFragment();var Y=W&&S.previousSibling&&!FCKListsLib.BlockBoundaries[S.previousSibling.nodeName.toLowerCase()];if (W&&Y) M.appendChild(FCKTools.GetElementDocument(S).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(FCKTools.GetElementDocument(S).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 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){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();}while (J.nodeName.IEquals('table','tbody','tr','ol','ul')) J=J.parentNode;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=FCKTools.GetElementDocument(H).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=[];var P={};while ((H=G.GetNextParagraph())){var Q=null;var R=null;while (H.parentNode){if (H.parentNode.nodeName.IEquals('blockquote')){Q=H.parentNode;R=H;break;};H=H.parentNode;};if (Q&&R&&!R._fckblockquotemoveout){O.push(R);FCKDomTools.SetElementMarker(P,R,'_fckblockquotemoveout',true);}};FCKDomTools.ClearAllMarkers(P);var S=[];var T=[],P={};var U=function(N){for (var i=0;i<N.childNodes.length;i++){if (FCKListsLib.BlockElements[N.childNodes[i].nodeName.toLowerCase()]) return false;};return true;};while (O.length>0){var W=O.shift();var N=W.parentNode;if (W==W.parentNode.firstChild) N.parentNode.insertBefore(N.removeChild(W),N);else if (W==W.parentNode.lastChild) N.parentNode.insertBefore(N.removeChild(W),N.nextSibling);else FCKDomTools.BreakParent(W,W.parentNode,B);if (!N._fckbqprocessed){T.push(N);FCKDomTools.SetElementMarker(P,N,'_fckbqprocessed',true);};S.push(W);};for (var i=T.length-1;i>=0;i--){var N=T[i];if (U(N)) FCKDomTools.RemoveNode(N);};FCKDomTools.ClearAllMarkers(P);if (FCKConfig.EnterMode.IEquals('br')){while (S.length){var W=S.shift();var a=true;if (W.nodeName.IEquals('div')){var M=FCKTools.GetElementDocument(W).createDocumentFragment();var c=a&&W.previousSibling&&!FCKListsLib.BlockBoundaries[W.previousSibling.nodeName.toLowerCase()];if (a&&c) M.appendChild(FCKTools.GetElementDocument(W).createElement('br'));var d=W.nextSibling&&!FCKListsLib.BlockBoundaries[W.nextSibling.nodeName.toLowerCase()];while (W.firstChild) M.appendChild(W.removeChild(W.firstChild));if (d) M.appendChild(FCKTools.GetElementDocument(W).createElement('br'));W.parentNode.replaceChild(M,W);a=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(){if (FCK.EditMode!=0) return -1;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,380,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,300);break;case 'Unlink':B=new FCKUnlinkCommand();break;case 'VisitLink':B=new FCKVisitLinkCommand();break;case 'Anchor':B=new FCKDialogCommand('Anchor',FCKLang.DlgAnchorTitle,'dialog/fck_anchor.html',370,160);break;case 'AnchorDelete':B=new FCKAnchorDeleteCommand();break;case 'BulletedList':B=new FCKDialogCommand('BulletedList',FCKLang.BulletedListProp,'dialog/fck_listprop.html?UL',370,160);break;case 'NumberedList':B=new FCKDialogCommand('NumberedList',FCKLang.NumberedListProp,'dialog/fck_listprop.html?OL',370,160);break;case 'About':B=new FCKDialogCommand('About',FCKLang.About,'dialog/fck_about.html',420,330,function(){ return 0;});break;case 'Find':B=new FCKDialogCommand('Find',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,230,null,null,'Find');break;case 'Replace':B=new FCKDialogCommand('Replace',FCKLang.DlgFindAndReplaceTitle,'dialog/fck_replace.html',340,230,null,null,'Replace');break;case 'Image':B=new FCKDialogCommand('Image',FCKLang.DlgImgTitle,'dialog/fck_image.html',450,390);break;case 'Flash':B=new FCKDialogCommand('Flash',FCKLang.DlgFlashTitle,'dialog/fck_flash.html',450,390);break;case 'SpecialChar':B=new FCKDialogCommand('SpecialChar',FCKLang.DlgSpecialCharTitle,'dialog/fck_specialchar.html',400,290);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,240);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 'Nbsp':B=new FCKNbsp();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 'CreateDiv':B=new FCKDialogCommand('CreateDiv',FCKLang.CreateDiv,'dialog/fck_div.html',380,210,null,null,true);break;case 'EditDiv':B=new FCKDialogCommand('EditDiv',FCKLang.EditDiv,'dialog/fck_div.html',380,210,null,null,false);break;case 'DeleteDiv':B=new FCKDeleteDivCommand();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,210);break;case 'Checkbox':B=new FCKDialogCommand('Checkbox',FCKLang.Checkbox,'dialog/fck_checkbox.html',380,200);break;case 'Radio':B=new FCKDialogCommand('Radio',FCKLang.RadioButton,'dialog/fck_radiobutton.html',380,200);break;case 'TextField':B=new FCKDialogCommand('TextField',FCKLang.TextField,'dialog/fck_textfield.html',380,210);break;case 'Textarea':B=new FCKDialogCommand('Textarea',FCKLang.Textarea,'dialog/fck_textarea.html',380,210);break;case 'HiddenField':B=new FCKDialogCommand('HiddenField',FCKLang.HiddenField,'dialog/fck_hiddenfield.html',380,190);break;case 'Button':B=new FCKDialogCommand('Button',FCKLang.Button,'dialog/fck_button.html',380,210);break;case 'Select':B=new FCKDialogCommand('Select',FCKLang.SelectionField,'dialog/fck_select.html',400,340);break;case 'ImageButton':B=new FCKDialogCommand('ImageButton',FCKLang.ImageButton,'dialog/fck_image.html?ImageButton',450,390);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 FCKCutCopyCommand(false);break;case 'Cut':B=new FCKCutCopyCommand(true);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();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement('iframe');FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.scrolling='no';D.style.width=D.style.height='0px';FCKDomTools.SetElementStyles(D,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F='';if (FCKBrowserInfo.IsSafari) F='<base href="'+window.document.location+'">';B.open();B.write('<html><head>'+F+'<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'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 (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling='';FCKTools.RunFunction(function(){ this._IFrame.scrolling='no';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel.Hide(false,true);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(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;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+'px';M._IFrame.style.height=O+'px';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height='0px';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};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 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();var C=this._Window.document;if (FCK_IS_CUSTOM_DOMAIN&&!FCKBrowserInfo.IsIE7){C.domain=FCK_ORIGINAL_DOMAIN;document.domain=FCK_ORIGINAL_DOMAIN;};B=this.Document=this._Popup.document;if (FCK_IS_CUSTOM_DOMAIN){B.domain=FCK_RUNTIME_DOMAIN;C.domain=FCK_RUNTIME_DOMAIN;document.domain=FCK_RUNTIME_DOMAIN;};FCK.IECleanup.AddItem(this,FCKPanel_Cleanup);}else{var D=this._IFrame=this._Window.document.createElement('iframe');FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.scrolling='no';D.style.width=D.style.height='0px';FCKDomTools.SetElementStyles(D,{position:'absolute',zIndex:FCKConfig.FloatingPanelsZIndex});this._Window.document.body.appendChild(D);var E=D.contentWindow;B=this.Document=E.document;var F='';if (FCKBrowserInfo.IsSafari) F='<base href="'+window.document.location+'">';B.open();B.write('<html><head>'+F+'<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>');B.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.Panel_Contructor(B,window.document.location);FCKTools.AddEventListenerEx(E,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(E,'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.ResizeForSubpanel=function(A,B,C){if (!FCKBrowserInfo.IsIE7) return false;if (!this._Popup.isOpen){this.Subpanel=null;return false;};if (B==0&&C==0){if (this.Subpanel!==A) return false;this.Subpanel=null;this.IncreasedX=0;}else{this.Subpanel=A;if ((this.IncreasedX>=B)&&(this.IncreasedY>=C)) return false;this.IncreasedX=Math.max(this.IncreasedX,B);this.IncreasedY=Math.max(this.IncreasedY,C);};var x=this.ShowRect.x;var w=this.IncreasedX;if (this.IsRTL) x=x-w;var D=this.ShowRect.w+w;var E=Math.max(this.ShowRect.h,this.IncreasedY);if (this.ParentPanel) this.ParentPanel.ResizeForSubpanel(this,D,E);this._Popup.show(x,this.ShowRect.y,D,E,this.RelativeElement);return this.IsRTL;};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 (FCKBrowserInfo.IsIE7){if (this.ParentPanel&&this.ParentPanel.ResizeForSubpanel(this,D,E.offsetHeight)){FCKTools.RunFunction(this.Show,this,[x,y,A]);return;}};if (this.IsRTL){if (this.IsContextMenu) x=x-D+1;else if (A) x=(x*-1)+A.offsetWidth-D;};if (FCKBrowserInfo.IsIE7){this.ShowRect={x:x,y:y,w:D,h:E.offsetHeight};this.IncreasedX=0;this.IncreasedY=0;this.RelativeElement=A;};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 (FCKBrowserInfo.IsGecko&&FCKBrowserInfo.IsMac){this._IFrame.scrolling='';FCKTools.RunFunction(function(){ this._IFrame.scrolling='no';},this);};if (FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel&&FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel!=this) FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel.Hide(false,true);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(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;};FCKDomTools.SetElementStyles(this._IFrame,{left:x+'px',top:y+'px'});this._IFrame.contentWindow.focus();this._IsOpened=true;var M=this;this._resizeTimer=setTimeout(function(){var N=E.offsetWidth||E.firstChild.offsetWidth;var O=E.offsetHeight;M._IFrame.style.width=N+'px';M._IFrame.style.height=O+'px';},0);FCK.ToolbarSet.CurrentInstance.GetInstanceObject('FCKPanel')._OpenedPanel=this;};FCKTools.RunFunction(this.OnShow,this);};FCKPanel.prototype.Hide=function(A,B){if (this._Popup) this._Popup.hide();else{if (!this._IsOpened||this._LockCounter>0) return;if (typeof(FCKFocusManager)!='undefined'&&!B) FCKFocusManager.Unlock();this._IFrame.style.width=this._IFrame.style.height='0px';this._IsOpened=false;if (this._resizeTimer){clearTimeout(this._resizeTimer);this._resizeTimer=null;};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;if (this._Popup&&this.ParentPanel&&!A) this.ParentPanel.ResizeForSubpanel(this,0,0);FCKTools.RunFunction(this.OnHide,this);}};function FCKPanel_Cleanup(){this._Popup=null;this._Window=null;this.Document=null;this.MainNode=null;this.RelativeElement=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=this._UIButton;if (!A) return;var B=FCK.ToolbarSet.CurrentInstance.Commands.GetCommand(this.CommandName).GetState();if (B==A.State) return;A.ChangeState(B);};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);}; |
97,12 → 97,12 |
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){if (FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_GetOutElement(window,E);else 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 = window.onload = function(){var timer = null;var lastHeight = -1;var lastChange = 0;var poller = function(){var currentHeight = document.body.scrollHeight || 0;var currentTime = (new Date()).getTime();if (currentHeight != lastHeight){lastChange = currentTime;adjust();lastHeight = document.body.scrollHeight;}if (lastChange < currentTime - 1000) clearInterval(timer);};timer = setInterval(poller, 100);}</script></head><body style="overflow: hidden">'+document.getElementById('xToolbarSpace').innerHTML+'</body></html>');G.close();if(FCKBrowserInfo.IsAIR) FCKAdobeAIR.ToolbarSet_InitOutFrame(G);FCKTools.AddEventListener(G,'contextmenu',FCKTools.CancelEvent);FCKTools.AppendStyleSheet(G,FCKConfig.SkinEditorCSS);B=D.__FCKToolbarSet=new FCKToolbarSet(G);B._IFrame=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(D,FCKToolbarSet_Target_Cleanup);};B.CurrentInstance=FCK;if (!B.ToolbarItems) B.ToolbarItems=FCKToolbarItems;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=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName('frameset').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save();var J=FCKTools.GetViewPaneSize(D);var K={ 'X':0,'Y':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement('iframe');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+'fckdialog.html';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{'position':(L)?'absolute':'fixed','top':M+'px','left':N+'px','width':width+'px','height':height+'px','zIndex':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement('div');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{'position':'absolute','zIndex':F(),'top':'0px','left':'0px','backgroundColor':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement('iframe');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{'width':'100%','height':'100%','position':'absolute','left':'0px','top':'0px','filter':'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'});C.appendChild(Q);};FCKTools.AddEventListener(D,'resize',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,'_fck_originalTabIndex');},GetCover:function(){return C;}};})(); |
var FCKDialog=(function(){var A;var B;var C;var D=window.parent;while (D.parent&&D.parent!=D){try{if (D.parent.document.domain!=document.domain) break;if (D.parent.document.getElementsByTagName('frameset').length>0) break;}catch (e){break;};D=D.parent;};var E=D.document;var F=function(){if (!B) B=FCKConfig.FloatingPanelsZIndex+999;return++B;};var G=function(){if (!C) return;var H=FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});};return {OpenDialog:function(dialogName,dialogTitle,dialogPage,width,height,customValue,parentWindow,resizable){if (!A) this.DisplayMainCover();var I={Title:dialogTitle,Page:dialogPage,Editor:window,CustomValue:customValue,TopWindow:D};FCK.ToolbarSet.CurrentInstance.Selection.Save(true);var J=FCKTools.GetViewPaneSize(D);var K={ 'X':0,'Y':0 };var L=FCKBrowserInfo.IsIE&&(!FCKBrowserInfo.IsIE7||!FCKTools.IsStrictMode(D.document));if (L) K=FCKTools.GetScrollPosition(D);var M=Math.max(K.Y+(J.Height-height-20)/2,0);var N=Math.max(K.X+(J.Width-width-20)/2,0);var O=E.createElement('iframe');FCKTools.ResetStyles(O);O.src=FCKConfig.BasePath+'fckdialog.html';O.frameBorder=0;O.allowTransparency=true;FCKDomTools.SetElementStyles(O,{'position':(L)?'absolute':'fixed','top':M+'px','left':N+'px','width':width+'px','height':height+'px','zIndex':F()});O._DialogArguments=I;E.body.appendChild(O);O._ParentDialog=A;A=O;},OnDialogClose:function(dialogWindow){var O=dialogWindow.frameElement;FCKDomTools.RemoveNode(O);if (O._ParentDialog){A=O._ParentDialog;O._ParentDialog.contentWindow.SetEnabled(true);}else{if (!FCKBrowserInfo.IsIE) FCK.Focus();this.HideMainCover();setTimeout(function(){ A=null;},0);FCK.ToolbarSet.CurrentInstance.Selection.Release();}},DisplayMainCover:function(){C=E.createElement('div');FCKTools.ResetStyles(C);FCKDomTools.SetElementStyles(C,{'position':'absolute','zIndex':F(),'top':'0px','left':'0px','backgroundColor':FCKConfig.BackgroundBlockerColor});FCKDomTools.SetOpacity(C,FCKConfig.BackgroundBlockerOpacity);if (FCKBrowserInfo.IsIE&&!FCKBrowserInfo.IsIE7){var Q=E.createElement('iframe');FCKTools.ResetStyles(Q);Q.hideFocus=true;Q.frameBorder=0;Q.src=FCKTools.GetVoidUrl();FCKDomTools.SetElementStyles(Q,{'width':'100%','height':'100%','position':'absolute','left':'0px','top':'0px','filter':'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'});C.appendChild(Q);};FCKTools.AddEventListener(D,'resize',G);G();E.body.appendChild(C);FCKFocusManager.Lock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R._fck_originalTabIndex=R.tabIndex;R.tabIndex=-1;},HideMainCover:function(){FCKDomTools.RemoveNode(C);FCKFocusManager.Unlock();var R=FCK.ToolbarSet.CurrentInstance.GetInstanceObject('frameElement');R.tabIndex=R._fck_originalTabIndex;FCKDomTools.ClearElementJSProperty(R,'_fck_originalTabIndex');},GetCover:function(){return C;}};})(); |
var FCKMenuItem=function(A,B,C,D,E,F){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);this.CustomData=F;if (FCK.IECleanup) FCK.IECleanup.AddItem(this,FCKMenuItem_Cleanup);};FCKMenuItem.prototype.AddItem=function(A,B,C,D,E){this.HasSubMenu=true;return this.SubMenu.AddItem(A,B,C,D,E);};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,E){var F=new FCKMenuItem(this,A,B,C,D,E);F.OnClick=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnClick,this);F.OnActivate=FCKTools.CreateEventListener(FCKMenuBlock_Item_OnActivate,this);this._Items.push(F);return F;};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.SkinEditorCSS);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.SkinEditorCSS);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,E){var F=this._MenuBlock.AddItem(A,B,C,D,E);this._Redraw=true;return F;};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){if (FCKConfig.BrowserContextMenu) return true;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;if (FCKConfig.BrowserContextMenu) return true;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=FCKTools.GetElementDocument(e.target);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){if (FCKConfig.BrowserContextMenu) return true;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;}};return true;};function FCKContextMenu_AttachedElement_OnContextMenu(A,B,C){if ((B.CtrlDisable&&(A.ctrlKey||A.metaKey))||FCKConfig.BrowserContextMenu) 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();menu.AddItem('VisitLink',FCKLang.VisitLink);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);}}};case 'DivContainer':return {AddItems:function(menu,tag,tagName){var J=FCKDomTools.GetSelectedDivContainers();if (J.length>0){menu.AddSeparator();menu.AddItem('EditDiv',FCKLang.EditDiv,75);menu.AddItem('DeleteDiv',FCKLang.DeleteDiv,76);}}};};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(A.CustomData);}; |
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();menu.AddItem('VisitLink',FCKLang.VisitLink);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);}}};case 'DivContainer':return {AddItems:function(menu,tag,tagName){var J=FCKDomTools.GetSelectedDivContainers();if (J.length>0){menu.AddSeparator();menu.AddItem('EditDiv',FCKLang.EditDiv,75);menu.AddItem('DeleteDiv',FCKLang.DeleteDiv,76);}}};};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){if (!FCKBrowserInfo.IsIE) FCK.Focus();FCKCommands.GetCommand(A.Name).Execute(A.CustomData);}; |
var FCKHtmlIterator=function(A){this._sourceHtml=A;};FCKHtmlIterator.prototype={Next:function(){var A=this._sourceHtml;if (A==null) return null;var B=FCKRegexLib.HtmlTag.exec(A);var C=false;var D="";if (B){if (B.index>0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}};var FCKHtmlIterator=function(A){this._sourceHtml=A;};FCKHtmlIterator.prototype={Next:function(){var A=this._sourceHtml;if (A==null) return null;var B=FCKRegexLib.HtmlTag.exec(A);var C=false;var D="";if (B){if (B.index>0){D=A.substr(0,B.index);this._sourceHtml=A.substr(B.index);}else{C=true;D=B[0];this._sourceHtml=A.substr(B[0].length);}}else{D=A;this._sourceHtml=null;};return { 'isTag':C,'value':D };},Each:function(A){var B;while ((B=this.Next())) A(B.isTag,B.value);}}; |
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;}; |
/trunk/api/fckeditor/editor/fckdebug.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/fckeditor.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_flash/fck_flash.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_flash/fck_flash_preview.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_link.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_form.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/dialog/fck_about.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
78,8 → 78,8 |
border-left: #000000 1px solid; border-bottom: #000000 1px solid"> |
<span fcklang="DlgAboutVersion">version</span> |
<br /> |
<b>2.6.3</b><br /> |
Build 19836</td> |
<b>2.6.4</b><br /> |
Build 21629</td> |
</tr> |
</table> |
</td> |
105,7 → 105,7 |
<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 © 2003-2008 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a> |
Copyright © 2003-2009 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a> |
</td> |
<td align="center"> |
<a href="http://www.fckeditor.net/sponsors/apply" target="_blank">Become a Sponsor</a> |
/trunk/api/fckeditor/editor/dialog/fck_anchor.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_replace.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
142,7 → 142,7 |
} |
this._textNode = curNode ; |
this._offset = curNode.length - 1 ; |
this._offset = curNode && curNode.length - 1 ; |
return crossed ; |
}, |
420,6 → 420,8 |
*/ |
function CheckIsWordSeparator( c ) |
{ |
if ( !c ) |
return true; |
var code = c.charCodeAt( 0 ); |
if ( code >= 9 && code <= 0xd ) |
return true; |
/trunk/api/fckeditor/editor/dialog/fck_button.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_template.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_paste.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
87,6 → 87,7 |
else |
{ |
document.getElementById('txtData').style.display = '' ; |
SelectField( 'txtData' ) ; |
} |
if ( sPastingType != 'Word' ) |
/trunk/api/fckeditor/editor/dialog/fck_specialchar.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_select.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
132,7 → 132,7 |
<tr> |
<td nowrap><span fckLang="DlgSelectSize">Size</span> </td> |
<td nowrap><input id="txtLines" type="text" size="2" value=""> <span fckLang="DlgSelectLines">lines</span></td> |
<td nowrap align="right"><input id="chkMultiple" name="chkMultiple" type="checkbox"><label for="chkMultiple" fckLang="DlgSelectChkMulti">Allow |
<td nowrap align="right"><input id="chkMultiple" type="checkbox"><label for="chkMultiple" fckLang="DlgSelectChkMulti">Allow |
multiple selections</label></td> |
</tr> |
</table> |
143,10 → 143,10 |
<table width="100%"> |
<tr> |
<td width="50%"><span fckLang="DlgSelectOpText">Text</span><br> |
<input id="txtText" style="WIDTH: 100%" type="text" name="txtText"> |
<input id="txtText" style="WIDTH: 100%" type="text"> |
</td> |
<td width="50%"><span fckLang="DlgSelectOpValue">Value</span><br> |
<input id="txtValue" style="WIDTH: 100%" type="text" name="txtValue"> |
<input id="txtValue" style="WIDTH: 100%" type="text"> |
</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> |
153,10 → 153,10 |
</tr> |
<tr> |
<td rowSpan="2"><select id="cmbText" style="WIDTH: 100%" onchange="GetE('cmbValue').selectedIndex = this.selectedIndex;Select(this);" |
size="5" name="cmbText"></select> |
size="5"></select> |
</td> |
<td rowSpan="2"><select id="cmbValue" style="WIDTH: 100%" onchange="GetE('cmbText').selectedIndex = this.selectedIndex;Select(this);" |
size="5" name="cmbValue"></select> |
size="5"></select> |
</td> |
<td vAlign="top" colSpan="2"> |
</td> |
/trunk/api/fckeditor/editor/dialog/fck_colorselector.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_image/fck_image_preview.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_image/fck_image.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_image.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_tablecell.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
32,8 → 32,7 |
var dialog = window.parent ; |
var oEditor = dialog.InnerDialogLoaded() ; |
// Gets the document DOM |
var oDOM = oEditor.FCK.EditorDocument ; |
var FCKDomTools = oEditor.FCKDomTools ; |
// Array of selected Cells |
var aCells = oEditor.FCKTableHandler.GetSelectedCells() ; |
74,7 → 73,7 |
GetE('txtCollSpan').value = GetAttribute( oCell, 'colSpan' ) ; |
GetE('txtBackColor').value = GetAttribute( oCell, 'bgColor' ) ; |
GetE('txtBorderColor').value = GetAttribute( oCell, 'borderColor' ) ; |
// GetE('cmbFontStyle').value = oCell.className ; |
GetE('selCellType').value = oCell.nodeName.toLowerCase() ; |
} |
} |
81,6 → 80,8 |
// Fired when the user press the OK button |
function Ok() |
{ |
oEditor.FCKUndo.SaveUndoStep() ; |
for( i = 0 ; i < aCells.length ; i++ ) |
{ |
if ( GetE('txtWidth').value.length > 0 ) |
100,9 → 101,27 |
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 ) ; |
var cellType = GetE('selCellType').value ; |
if ( aCells[i].nodeName.toLowerCase() != cellType ) |
aCells[i] = RenameNode( aCells[i], cellType ) ; |
} |
// The cells need to be reselected, otherwise the caret will appear inside the table borders (Gecko) |
// or sent back to the beginning of the document (Opera and Safari). |
// Strangely, IE works ok so no change is needed for IE. |
if ( !oEditor.FCKBrowserInfo.IsIE ) |
{ |
var selection = oEditor.FCK.EditorWindow.getSelection() ; |
selection.removeAllRanges() ; |
for ( var i = 0 ; i < aCells.length ; i++ ) |
{ |
var range = oEditor.FCK.EditorDocument.createRange() ; |
range.selectNode( aCells[i] ) ; |
selection.addRange( range ) ; |
} |
} |
return true ; |
} |
138,7 → 157,7 |
<span fcklang="DlgCellWidth">Width</span>:</td> |
<td> |
<input onkeypress="return IsDigit(event);" id="txtWidth" type="text" maxlength="4" |
size="3" name="txtWidth" /> <select id="selWidthType" name="selWidthType"> |
size="3" /> <select id="selWidthType"> |
<option fcklang="DlgCellWidthPx" value="pixels" selected="selected">pixels</option> |
<option fcklang="DlgCellWidthPc" value="percent">percent</option> |
</select></td> |
147,7 → 166,7 |
<td nowrap="nowrap"> |
<span fcklang="DlgCellHeight">Height</span>:</td> |
<td> |
<input id="txtHeight" type="text" maxlength="4" size="3" name="txtHeight" onkeypress="return IsDigit(event);" /> <span |
<input id="txtHeight" type="text" maxlength="4" size="3" onkeypress="return IsDigit(event);" /> <span |
fcklang="DlgCellWidthPx">pixels</span></td> |
</tr> |
<tr> |
160,7 → 179,7 |
<td nowrap="nowrap"> |
<span fcklang="DlgCellWordWrap">Word Wrap</span>:</td> |
<td> |
<select id="selWordWrap" name="selAlignment"> |
<select id="selWordWrap"> |
<option fcklang="DlgCellWordWrapYes" value="true" selected="selected">Yes</option> |
<option fcklang="DlgCellWordWrapNo" value="false">No</option> |
</select></td> |
175,7 → 194,7 |
<td nowrap="nowrap"> |
<span fcklang="DlgCellHorAlign">Horizontal Alignment</span>:</td> |
<td> |
<select id="selHAlign" name="selAlignment"> |
<select id="selHAlign"> |
<option fcklang="DlgCellHorAlignNotSet" value="" selected><Not set></option> |
<option fcklang="DlgCellHorAlignLeft" value="left">Left</option> |
<option fcklang="DlgCellHorAlignCenter" value="center">Center</option> |
186,7 → 205,7 |
<td nowrap="nowrap"> |
<span fcklang="DlgCellVerAlign">Vertical Alignment</span>:</td> |
<td> |
<select id="selVAlign" name="selAlignment"> |
<select id="selVAlign"> |
<option fcklang="DlgCellVerAlignNotSet" value="" selected><Not set></option> |
<option fcklang="DlgCellVerAlignTop" value="top">Top</option> |
<option fcklang="DlgCellVerAlignMiddle" value="middle">Middle</option> |
202,11 → 221,28 |
<table cellspacing="0" cellpadding="0" border="0"> |
<tr> |
<td nowrap="nowrap"> |
<span fcklang="DlgCellType">Cell Type</span>:</td> |
<td colspan="2"> |
<select id="selCellType"> |
<option fcklang="DlgCellTypeData" value="td" />Data |
<option fcklang="DlgCellTypeHeader" value="th" />Header |
</select> |
</tr> |
<tr> |
<td> |
</td> |
<td> |
</td> |
<td> |
</td> |
</tr> |
<tr> |
<td nowrap="nowrap"> |
<span fcklang="DlgCellRowSpan">Rows Span</span>:</td> |
<td> |
|
<input onkeypress="return IsDigit(event);" id="txtRowSpan" type="text" maxlength="3" size="2" |
name="txtRows"></td> |
></td> |
<td> |
</td> |
</tr> |
216,7 → 252,7 |
<td> |
|
<input onkeypress="return IsDigit(event);" id="txtCollSpan" type="text" maxlength="2" |
size="2" name="txtColumns"></td> |
size="2"></td> |
<td> |
</td> |
</tr> |
232,7 → 268,7 |
<td nowrap="nowrap"> |
<span fcklang="DlgCellBackColor">Background Color</span>:</td> |
<td> |
<input id="txtBackColor" type="text" size="8" name="txtCellSpacing"></td> |
<input id="txtBackColor" type="text" size="8" /></td> |
<td> |
|
<input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( 'Back' )"></td> |
241,7 → 277,7 |
<td nowrap="nowrap"> |
<span fcklang="DlgCellBorderColor">Border Color</span>:</td> |
<td> |
<input id="txtBorderColor" type="text" size="8" name="txtCellPadding" /></td> |
<input id="txtBorderColor" type="text" size="8" /></td> |
<td> |
|
<input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( 'Border' )" /></td> |
/trunk/api/fckeditor/editor/dialog/fck_table.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
31,14 → 31,13 |
var dialog = window.parent ; |
var oEditor = dialog.InnerDialogLoaded() ; |
var dialogArguments = dialog.Args() ; |
// Gets the document DOM |
var oDOM = oEditor.FCK.EditorDocument ; |
var FCKDomTools = oEditor.FCKDomTools ; |
// Gets the table if there is one selected. |
var table ; |
var e = dialog.Selection.GetSelectedElement() ; |
var hasColumnHeaders ; |
if ( ( !e && document.location.search.substr(1) == 'Parent' ) || ( e && e.tagName != 'TABLE' ) ) |
e = oEditor.FCKSelection.MoveToAncestorNode( 'TABLE' ) ; |
88,6 → 87,36 |
var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ; |
if ( eCaption ) document.getElementById('txtCaption').value = eCaption.innerHTML ; |
hasColumnHeaders = true ; |
// Check if all the first cells in every row are TH |
for (var row=0; row<table.rows.length; row++) |
{ |
// If just one cell isn't a TH then it isn't a header column |
if ( table.rows[row].cells[0].nodeName != 'TH' ) |
{ |
hasColumnHeaders = false ; |
break; |
} |
} |
// Check if the table contains <thead> |
if ((table.tHead !== null) ) |
{ |
if (hasColumnHeaders) |
GetE('selHeaders').value = 'both' ; |
else |
GetE('selHeaders').value = 'row' ; |
} |
else |
{ |
if (hasColumnHeaders) |
GetE('selHeaders').value = 'col' ; |
else |
GetE('selHeaders').value = '' ; |
} |
document.getElementById('txtRows').disabled = true ; |
document.getElementById('txtColumns').disabled = true ; |
SelectField( 'txtWidth' ) ; |
104,8 → 133,11 |
{ |
var bExists = ( table != null ) ; |
var oDoc = oEditor.FCK.EditorDocument ; |
oEditor.FCKUndo.SaveUndoStep() ; |
if ( ! bExists ) |
table = oEditor.FCK.EditorDocument.createElement( "TABLE" ) ; |
table = oDoc.createElement( "TABLE" ) ; |
// Removes the Width and Height styles |
if ( bExists && table.style.width ) table.style.width = null ; //.removeAttribute("width") ; |
129,7 → 161,7 |
{ |
if ( !eCaption ) |
{ |
eCaption = oEditor.FCK.EditorDocument.createElement( 'CAPTION' ) ; |
eCaption = oDoc.createElement( 'CAPTION' ) ; |
table.insertBefore( eCaption, table.firstChild ) ; |
} |
145,24 → 177,133 |
eCaption.parentNode.removeChild( eCaption ) ; |
} |
var headers = GetE('selHeaders').value ; |
if ( bExists ) |
{ |
// Should we make a <thead>? |
if ( table.tHead==null && (headers=='row' || headers=='both') ) |
{ |
var oThead = table.createTHead() ; |
var tbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ; |
var theRow= FCKDomTools.GetFirstChild( tbody, 'TR' ) ; |
//now change TD to TH: |
for (var i = 0; i<theRow.childNodes.length ; i++) |
{ |
var th = RenameNode(theRow.childNodes[i], 'TH') ; |
if (th != null) |
th.scope='col' ; |
} |
oThead.appendChild( theRow ) ; |
} |
if ( table.tHead!==null && !(headers=='row' || headers=='both') ) |
{ |
// Move the row out of the THead and put it in the TBody: |
var tHead = table.tHead ; |
var tbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ; |
var previousFirstRow = tbody.firstChild ; |
while ( tHead.firstChild ) |
{ |
var theRow = tHead.firstChild ; |
for (var i = 0; i < theRow.childNodes.length ; i++ ) |
{ |
var newCell = RenameNode( theRow.childNodes[i], 'TD' ) ; |
if ( newCell != null ) |
newCell.removeAttribute( 'scope' ) ; |
} |
tbody.insertBefore( theRow, previousFirstRow ) ; |
} |
table.removeChild( tHead ) ; |
} |
// Should we make all first cells in a row TH? |
if ( (!hasColumnHeaders) && (headers=='col' || headers=='both') ) |
{ |
for( var row=0 ; row < table.rows.length ; row++ ) |
{ |
var newCell = RenameNode(table.rows[row].cells[0], 'TH') ; |
if ( newCell != null ) |
newCell.scope = 'row' ; |
} |
} |
// Should we make all first TH-cells in a row make TD? If 'yes' we do it the other way round :-) |
if ( (hasColumnHeaders) && !(headers=='col' || headers=='both') ) |
{ |
for( var row=0 ; row < table.rows.length ; row++ ) |
{ |
var oRow = table.rows[row] ; |
if ( oRow.parentNode.nodeName == 'TBODY' ) |
{ |
var newCell = RenameNode(oRow.cells[0], 'TD') ; |
if (newCell != null) |
newCell.removeAttribute( 'scope' ) ; |
} |
} |
} |
} |
if (! bExists) |
{ |
var iRows = document.getElementById('txtRows').value ; |
var iCols = document.getElementById('txtColumns').value ; |
var iRows = GetE('txtRows').value ; |
var iCols = GetE('txtColumns').value ; |
for ( var r = 0 ; r < iRows ; r++ ) |
var startRow = 0 ; |
// Should we make a <thead> ? |
if (headers=='row' || headers=='both') |
{ |
startRow++ ; |
var oThead = table.createTHead() ; |
var oRow = table.insertRow(-1) ; |
oThead.appendChild(oRow); |
for ( var c = 0 ; c < iCols ; c++ ) |
{ |
var oCell = oRow.insertCell(-1) ; |
var oThcell = oDoc.createElement( 'TH' ) ; |
oThcell.scope = 'col' ; |
oRow.appendChild( oThcell ) ; |
if ( oEditor.FCKBrowserInfo.IsGeckoLike ) |
oEditor.FCKTools.AppendBogusBr( oThcell ) ; |
} |
} |
// Opera automatically creates a tbody when a thead has been added |
var oTbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ; |
if ( !oTbody ) |
{ |
// make TBODY if it doesn't exist |
oTbody = oDoc.createElement( 'TBODY' ) ; |
table.appendChild( oTbody ) ; |
} |
for ( var r = startRow ; r < iRows; r++ ) |
{ |
var oRow = oDoc.createElement( 'TR' ) ; |
oTbody.appendChild(oRow) ; |
var startCol = 0 ; |
// Is the first column a header? |
if (headers=='col' || headers=='both') |
{ |
var oThcell = oDoc.createElement( 'TH' ) ; |
oThcell.scope = 'row' ; |
oRow.appendChild( oThcell ) ; |
if ( oEditor.FCKBrowserInfo.IsGeckoLike ) |
oEditor.FCKTools.AppendBogusBr( oThcell ) ; |
startCol++ ; |
} |
for ( var c = startCol ; c < iCols ; c++ ) |
{ |
// IE will leave the TH at the end of the row if we use now oRow.insertCell(-1) |
var oCell = oDoc.createElement( 'TD' ) ; |
oRow.appendChild( oCell ) ; |
if ( oEditor.FCKBrowserInfo.IsGeckoLike ) |
oEditor.FCKTools.AppendBogusBr( oCell ) ; |
} |
} |
oEditor.FCKUndo.SaveUndoStep() ; |
oEditor.FCK.InsertElement( table ) ; |
} |
178,12 → 319,12 |
<table cellspacing="1" cellpadding="1" width="100%" border="0"> |
<tr> |
<td valign="top"> |
<table cellspacing="0" cellpadding="0" border="0"> |
<table cellspacing="1" cellpadding="0" border="0"> |
<tr> |
<td> |
<span fcklang="DlgTableRows">Rows</span>:</td> |
<td> |
<input id="txtRows" type="text" maxlength="3" size="2" value="3" name="txtRows" |
<input id="txtRows" type="text" maxlength="3" size="2" value="3" |
onkeypress="return IsDigit(event);" /></td> |
</tr> |
<tr> |
190,20 → 331,25 |
<td> |
<span fcklang="DlgTableColumns">Columns</span>:</td> |
<td> |
<input id="txtColumns" type="text" maxlength="2" size="2" value="2" name="txtColumns" |
<input id="txtColumns" type="text" maxlength="2" size="2" value="2" |
onkeypress="return IsDigit(event);" /></td> |
</tr> |
<tr> |
<td><span fcklang="DlgTableHeaders">Headers</span>:</td> |
<td> |
</td> |
<td> |
</td> |
<select id="selHeaders"> |
<option fcklang="DlgTableHeadersNone" value="">None</option> |
<option fcklang="DlgTableHeadersRow" value="row">First row</option> |
<option fcklang="DlgTableHeadersColumn" value="col">First column</option> |
<option fcklang="DlgTableHeadersBoth" value="both">Both</option> |
</select> |
</td> |
</tr> |
<tr> |
<td> |
<span fcklang="DlgTableBorder">Border size</span>:</td> |
<td> |
<input id="txtBorder" type="text" maxlength="2" size="2" value="1" name="txtBorder" |
<input id="txtBorder" type="text" maxlength="2" size="2" value="1" |
onkeypress="return IsDigit(event);" /></td> |
</tr> |
<tr> |
210,7 → 356,7 |
<td> |
<span fcklang="DlgTableAlign">Alignment</span>:</td> |
<td> |
<select id="selAlignment" name="selAlignment"> |
<select id="selAlignment"> |
<option fcklang="DlgTableAlignNotSet" value="" selected="selected"><Not set></option> |
<option fcklang="DlgTableAlignLeft" value="left">Left</option> |
<option fcklang="DlgTableAlignCenter" value="center">Center</option> |
227,10 → 373,10 |
<td> |
<span fcklang="DlgTableWidth">Width</span>:</td> |
<td> |
<input id="txtWidth" type="text" maxlength="4" size="3" value="200" name="txtWidth" |
<input id="txtWidth" type="text" maxlength="4" size="3" value="200" |
onkeypress="return IsDigit(event);" /></td> |
<td> |
<select id="selWidthType" name="selWidthType"> |
<select id="selWidthType"> |
<option fcklang="DlgTableWidthPx" value="pixels" selected="selected">pixels</option> |
<option fcklang="DlgTableWidthPc" value="percent">percent</option> |
</select></td> |
239,23 → 385,18 |
<td> |
<span fcklang="DlgTableHeight">Height</span>:</td> |
<td> |
<input id="txtHeight" type="text" maxlength="4" size="3" name="txtHeight" onkeypress="return IsDigit(event);" /></td> |
<input id="txtHeight" type="text" maxlength="4" size="3" onkeypress="return IsDigit(event);" /></td> |
<td> |
<span fcklang="DlgTableWidthPx">pixels</span></td> |
</tr> |
<tr> |
<td> |
</td> |
<td> |
</td> |
<td> |
</td> |
<td colspan="3"> </td> |
</tr> |
<tr> |
<td nowrap="nowrap"> |
<span fcklang="DlgTableCellSpace">Cell spacing</span>:</td> |
<td> |
<input id="txtCellSpacing" type="text" maxlength="2" size="2" value="1" name="txtCellSpacing" |
<input id="txtCellSpacing" type="text" maxlength="2" size="2" value="1" |
onkeypress="return IsDigit(event);" /></td> |
<td> |
</td> |
264,7 → 405,7 |
<td nowrap="nowrap"> |
<span fcklang="DlgTableCellPad">Cell padding</span>:</td> |
<td> |
<input id="txtCellPadding" type="text" maxlength="2" size="2" value="1" name="txtCellPadding" |
<input id="txtCellPadding" type="text" maxlength="2" size="2" value="1" |
onkeypress="return IsDigit(event);" /></td> |
<td> |
</td> |
/trunk/api/fckeditor/editor/dialog/fck_textfield.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_docprops.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
456,7 → 456,7 |
<tr> |
<td nowrap="nowrap"> |
<span fcklang="DlgDocDocType">Document Type Heading</span><br /> |
<select id="selDocType" name="selDocType" onchange="CheckOther( this, 'txtDocType' );"> |
<select id="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> |
/trunk/api/fckeditor/editor/dialog/fck_link/fck_link.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
194,7 → 194,7 |
} |
// Try to match the email against the encode protection. |
var aMatch = aLinkInfo[2].match( /^location\.href='mailto:'\+(String\.fromCharCode\([\d,]+\))\+'(.*)'$/ ) ; |
var aMatch = aLinkInfo[2].match( /^(?:void\()?location\.href='mailto:'\+(String\.fromCharCode\([\d,]+\))\+'(.*)'\)?$/ ) ; |
if ( aMatch ) |
{ |
// The link is encoded |
253,7 → 253,7 |
for ( var i = 0 ; i < address.length ; i++ ) |
aAddressCode.push( address.charCodeAt( i ) ) ; |
return 'javascript:location.href=\'mailto:\'+String.fromCharCode(' + aAddressCode.join( ',' ) + ')+\'?' + aParams.join( '&' ) + '\'' ; |
return 'javascript:void(location.href=\'mailto:\'+String.fromCharCode(' + aAddressCode.join( ',' ) + ')+\'?' + aParams.join( '&' ) + '\')' ; |
} |
// EMailProtection 'none' |
/trunk/api/fckeditor/editor/dialog/fck_radiobutton.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_flash.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_hiddenfield.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_source.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/common/fck_dialog_common.css |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/common/fck_dialog_common.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
307,5 → 307,41 |
} |
} |
// The style: |
if ( oSource.style.cssText !== '' ) |
oDest.style.cssText = oSource.style.cssText ; |
} |
/** |
* Replaces a tag with another one, keeping its contents: |
* for example TD --> TH, and TH --> TD. |
* input: the original node, and the new tag name |
* http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-renameNode |
*/ |
function RenameNode( oNode , newTag ) |
{ |
// TODO: if the browser natively supports document.renameNode call it. |
// does any browser currently support it in order to test? |
// Only rename element nodes. |
if ( oNode.nodeType != 1 ) |
return null ; |
// If it's already correct exit here. |
if ( oNode.nodeName == newTag ) |
return oNode ; |
var oDoc = oNode.ownerDocument ; |
// Create the new node |
var newNode = oDoc.createElement( newTag ) ; |
// Copy all attributes |
CopyAttributes( oNode, newNode, {} ) ; |
// Move children to the new node |
FCKDomTools.MoveChildren( oNode, newNode ) ; |
// Finally replace the node and return the new one |
oNode.parentNode.replaceChild( newNode, oNode ) ; |
return newNode ; |
} |
/trunk/api/fckeditor/editor/dialog/fck_smiley.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_template/images/template2.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/trunk/api/fckeditor/editor/dialog/fck_listprop.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_select/fck_select.js |
---|
1,6 → 1,6 |
/* |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_textarea.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_div.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
203,12 → 203,43 |
var iterator = new FCKDomRangeIterator( range ) ; |
var block ; |
iterator.EnforceRealBlocks = true ; |
var paragraphs = [] ; |
while ( ( block = iterator.GetNextParagraph() ) ) |
paragraphs.push( block ) ; |
// Make sure all paragraphs have the same parent. |
var commonParent = paragraphs[0].parentNode ; |
var tmp = [] ; |
for ( var i = 0 ; i < paragraphs.length ; i++ ) |
{ |
block = paragraphs[i] ; |
commonParent = FCKDomTools.GetCommonParents( block.parentNode, commonParent ).pop() ; |
} |
// The common parent must not be the following tags: table, tbody, tr, ol, ul. |
while ( commonParent.nodeName.IEquals( 'table', 'tbody', 'tr', 'ol', 'ul' ) ) |
commonParent = commonParent.parentNode ; |
// Reconstruct the block list to be processed such that all resulting blocks |
// satisfy parentNode == commonParent. |
var lastBlock = null ; |
while ( paragraphs.length > 0 ) |
{ |
block = paragraphs.shift() ; |
while ( block.parentNode != commonParent ) |
block = block.parentNode ; |
if ( block != lastBlock ) |
tmp.push( block ) ; |
lastBlock = block ; |
} |
paragraphs = tmp ; |
// Split the paragraphs into groups depending on their BlockLimit element. |
var groups = [] ; |
var lastBlockLimit = null ; |
while ( ( block = iterator.GetNextParagraph() ) ) |
for ( var i = 0 ; i < paragraphs.length ; i++ ) |
{ |
block = paragraphs[i] ; |
var elementPath = new FCKElementPath( block ) ; |
if ( elementPath.BlockLimit != lastBlockLimit ) |
{ |
218,6 → 249,7 |
groups[groups.length - 1].push( block ) ; |
} |
// Create a DIV container for each group. |
for ( var i = 0 ; i < groups.length ; i++ ) |
{ |
var divNode = FCK.EditorDocument.createElement( 'div' ) ; |
/trunk/api/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl |
---|
New file |
0,0 → 1,181 |
#!/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] ); |
# Strip all tags for the text. (by FredCK - #339 / #681) |
$text =~ s/<[^>]+>/ /g; |
@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 |
/trunk/api/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm |
---|
New file |
0,0 → 1,148 |
<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> |
<!--- Strip all tags for the text. (by FredCK - #339 / #681) ---> |
<cfset field = REReplace(URLDecode(field), "<[^>]+>", " ", "all")> |
<cfloop list="#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"> |
/trunk/api/fckeditor/editor/dialog/fck_checkbox.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_spellerpages.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/editor/dialog/fck_docprops/fck_document_preview.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-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/fckstyles.xml |
---|
1,7 → 1,7 |
<?xml version="1.0" encoding="utf-8" ?> |
<!-- |
* FCKeditor - The text editor for Internet - http://www.fckeditor.net |
* Copyright (C) 2003-2008 Frederico Caldeira Knabben |
* Copyright (C) 2003-2009 Frederico Caldeira Knabben |
* |
* == BEGIN LICENSE == |
* |
/trunk/api/fckeditor/_upgrade.html |
---|
New file |
0,0 → 1,39 |
<!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-2009 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 == |
--> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>FCKeditor - Upgrade</title> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<style type="text/css"> |
body { font-family: arial, verdana, sans-serif } |
p { margin-left: 20px } |
</style> |
</head> |
<body> |
<h1> |
FCKeditor Upgrade</h1> |
<p> |
Please check the following URL for notes regarding upgrade:<br /> |
<a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading"> |
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading</a></p> |
</body> |
</html> |