upgrading to tinymce 2.0.6.1
This commit is contained in:
parent
f8e69afdf4
commit
0534118f8d
70 changed files with 1159 additions and 555 deletions
|
|
@ -1,3 +1,31 @@
|
|||
Version 2.0.6.1 (2005-05-04)
|
||||
Fixed issue where the layer and style plugins couldn't be added in incorrect order.
|
||||
Fixed issue with Firefox nl not beeing defined in triggerSave correctly.
|
||||
Version 2.0.6 (2005-05-03)
|
||||
Added new theme_advanced_source_editor_wrap option, this gives the possibility to force word wrapping.
|
||||
Added new support for using div,blockquote,dt,dd,code,samp as a items in the theme_advanced_blockformats option.
|
||||
Added new strict_loading_mode option, this switches the loading method from document.write to DOM.
|
||||
Added new hidden_tab_class, display_tab_class options for resolving the MSIE image dimension bug.
|
||||
Added new absolute layer support, this was added to a new plugin called layer.
|
||||
Added new CSS style properties support, this was as a plugin called style.
|
||||
Fixed bug where TinyMCE was reporting a warning when inserting a image while running on HTTPS.
|
||||
Fixed bug where pressing the browser back button after submit removed empty paragraphs in MSIE.
|
||||
Fixed bug where links the the same page as the editor page was converted into a /.
|
||||
Fixed bug where the getSelectedHTML method was returning undefined when selecting controls in MSIE.
|
||||
Fixed bug with unterminated string literal errors where reported in some browsers.
|
||||
Fixed bug where src and href where converted into xsrc and xhref in text.
|
||||
Fixed bug where two characters where removed by backspace sometimes in Gecko.
|
||||
Fixed bug where class drop list wasn't visible in some of the table dialogs.
|
||||
Fixed bug where br elements where incorrectly removed within paragraphs on backspace.
|
||||
Fixed bug where drag/drop operations failed in MSIE when editor height was set to a % value.
|
||||
Fixed bug where width/height was lost on images if they where placed in hidden tabs in MSIE.
|
||||
Fixed bugs with CSS auto import parsing, contributed by Scott Eade.
|
||||
Fixed compatiblity issues with MSIE 5.0. Some RegExps needed to be rewritten.
|
||||
Fixed issue that made it impossible to remove the entity code/name for '.
|
||||
Fixed issue with odd <br></br> elements not beeing handled properly.
|
||||
Fixed issue where TinyMCE couldn't be loaded in a XML document.
|
||||
Fixed issue with contextmenu beeing placed outside of visible area on Gecko browsers.
|
||||
Fixed issue whith area tag not being closed.
|
||||
Version 2.0.5.1 (2005-03-22)
|
||||
Fixed bug where emtpy paragraphs sometimes got removed in MSIE.
|
||||
Fixed bug where autosave plugin was running even in fullscreen mode.
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
<ul>
|
||||
<li class="list_subtitle">Code / Solutions / Features</li>
|
||||
<ul>
|
||||
<li>Digital Ventures</li>
|
||||
<li>donadoni</li>
|
||||
<li>Michael Keck</li>
|
||||
<li>Victor Nilsson</li>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<div class="content">
|
||||
<h2>Making language packs</h2>
|
||||
<p>Language packs are simply JavaScript name/value arrays placed in the "<ISO-639-2 code>.js" files in the "lang" directory. Remember to allways use the "lang_" prefix for these value names so that they don't override other variables in the templates. The example below shows how the cut, copy and paste texts are lang packed. Notice there are three kinds of language packs the first one is the general one shared by all themes these are located in the "jscripts/tiny_mce/langs" directory the secound ones are theme specific language packs these are contained in "jscripts/tiny_mce/themes/<some theme>/langs" and the last one is plugin specific language packs located in each plugin.
|
||||
<p>Language packs are simply JavaScript name/value arrays placed in the "<ISO-639-1 code>.js" files in the "lang" directory. Remember to allways use the "lang_" prefix for these value names so that they don't override other variables in the templates. The example below shows how the cut, copy and paste texts are lang packed. Notice there are three kinds of language packs the first one is the general one shared by all themes these are located in the "jscripts/tiny_mce/langs" directory the secound ones are theme specific language packs these are contained in "jscripts/tiny_mce/themes/<some theme>/langs" and the last one is plugin specific language packs located in each plugin.
|
||||
</p>
|
||||
<p>
|
||||
<div class="example">
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a language code of the editor documentation to use with TinyMCE. These codes are in <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-2</a> format to see if your language is available check the contents of "tinymce/jscripts/tiny_mce/theme/<theme used>/docs". The default value of this option is the value specified in the "language" option or "en" for English.
|
||||
This option should contain a language code of the editor documentation to use with TinyMCE. These codes are in <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-1</a> format to see if your language is available check the contents of "tinymce/jscripts/tiny_mce/theme/<theme used>/docs". The default value of this option is the value specified in the "language" option or "en" for English.
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<div class="content">
|
||||
<p>
|
||||
This option should contain a language code of the language pack to use with TinyMCE. These codes are in <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-2</a> format to see if your language is available check the contents of "tinymce/jscripts/tiny_mce/langs". The default value of this option is "en" for English.
|
||||
This option should contain a language code of the language pack to use with TinyMCE. These codes are in <a href="http://www.loc.gov/standards/iso639-2/englangn.html">ISO-639-1</a> format to see if your language is available check the contents of "tinymce/jscripts/tiny_mce/langs". The default value of this option is "en" for English.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<pre>
|
||||
tinyMCE.init({
|
||||
...
|
||||
<strong>theme_advanced_blockformats : "p,div,h1,h2,h3,h4,h5,h6"</strong>
|
||||
<strong>theme_advanced_blockformats : "p,div,h1,h2,h3,h4,h5,h6,div,blockquote,dt,dd,code,samp"</strong>
|
||||
});
|
||||
</pre>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -21,6 +21,16 @@
|
|||
<li>Add the button name to button list, example: theme_advanced_buttons3_add : "spellchecker".</li>
|
||||
</ol>
|
||||
</p>
|
||||
<h3>Spellchecker plugins/modes</h3>
|
||||
<p>
|
||||
TinyMCE Spellchecker currently supports 3 modes. These are available as configurable PHP classes.
|
||||
<ul>
|
||||
<li>TinyPspell - Run pspell within PHP. (PHP needs to be compiled with pspell support)</li>
|
||||
<li>TinyPspellShell - Run pspell as a command line shell application.</li>
|
||||
<li>TinyGoogleSpell - Use HTTP proxy bridge to connect to a Google XML Web Service.</li>
|
||||
</ul>
|
||||
Use this as the value for the the languages option when you are using the GoogleSpell class: +English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv
|
||||
<br /><br /></p>
|
||||
<h3>Initialization Example</h3>
|
||||
<p>
|
||||
<div class="example">
|
||||
|
|
@ -51,7 +61,6 @@ tinyMCE.init({
|
|||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
|
|
@ -59,6 +68,5 @@ tinyMCE.init({
|
|||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
<br style="clear: both" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -122,10 +122,22 @@
|
|||
<li>ltr</li>
|
||||
<li>rtl</li>
|
||||
</ul>
|
||||
<li><a href="plugin_layer.html">layer</a></li>
|
||||
<ul>
|
||||
<li>moveforward</li>
|
||||
<li>movebackward</li>
|
||||
<li>absolute</li>
|
||||
<li>insertlayer</li>
|
||||
</ul>
|
||||
<li><a href="plugin_style.html">style</a></li>
|
||||
<ul>
|
||||
<li>styleprops</li>
|
||||
</ul>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||||
<div class="copyright">Copyright © 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
<li><a href="option_table_inline_editing.html">table_inline_editing</a></li>
|
||||
<li><a href="option_object_resizing.html">object_resizing</a></li>
|
||||
<li><a href="option_custom_shortcuts.html">custom_shortcuts</a></li>
|
||||
<li><a href="option_strict_loading_mode.html">strict_loading_mode</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Cleanup/Output</h3>
|
||||
|
|
@ -138,6 +139,12 @@
|
|||
<li><a href="option_external_image_list_url.html">external_image_list_url</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Tab specific</h3>
|
||||
<ul class="optionlist">
|
||||
<li><a href="option_display_tab_class.html">display_tab_class</a></li>
|
||||
<li><a href="option_hidden_tab_class.html">hidden_tab_class</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="column">
|
||||
|
||||
|
|
@ -155,6 +162,7 @@
|
|||
<li><a href="option_theme_advanced_styles.html">theme_advanced_styles</a></li>
|
||||
<li><a href="option_theme_advanced_source_editor_width.html">theme_advanced_source_editor_width</a></li>
|
||||
<li><a href="option_theme_advanced_source_editor_height.html">theme_advanced_source_editor_height</a></li>
|
||||
<li><a href="option_theme_advanced_source_editor_wrap.html">theme_advanced_source_editor_wrap</a></li>
|
||||
<li><a href="option_theme_advanced_toolbar_location.html">theme_advanced_toolbar_location</a></li>
|
||||
<li><a href="option_theme_advanced_toolbar_align.html">theme_advanced_toolbar_align</a></li>
|
||||
<li><a href="option_theme_advanced_statusbar_location.html">theme_advanced_statusbar_location</a></li>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
<li><a href="plugin_emotions.html">emotions</a></li>
|
||||
<li><a href="plugin_flash.html">flash</a></li>
|
||||
<li><a href="plugin_autosave.html">autosave</a></li>
|
||||
<li><a href="plugin_style.html">style</a></li>
|
||||
<li><a href="plugin_layer.html">layer</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="column">
|
||||
|
|
@ -39,6 +41,7 @@
|
|||
<li><a href="plugin_print.html">print</a></li>
|
||||
<li><a href="plugin_save.html">save</a></li>
|
||||
<li><a href="plugin_noneditable.html">noneditable</a></li>
|
||||
<li><a href="plugin_spellchecker.html">spellchecker</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="column">
|
||||
|
|
@ -51,7 +54,6 @@
|
|||
<li><a href="plugin_fullpage.html">fullpage</a></li>
|
||||
<li><a href="plugin_inlinepopups.html">inlinepopups</a></li>
|
||||
<li><a href="plugin_fullpage.html">fullpage</a></li>
|
||||
<li><a href="plugin_spellchecker.html">spellchecker</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<br style="clear: both" />
|
||||
|
|
|
|||
|
|
@ -7,13 +7,14 @@
|
|||
tinyMCE.init({
|
||||
mode : "textareas",
|
||||
theme : "advanced",
|
||||
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable",
|
||||
plugins : "style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable",
|
||||
theme_advanced_buttons1_add_before : "save,newdocument,separator",
|
||||
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
|
||||
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
|
||||
theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
|
||||
theme_advanced_buttons3_add_before : "tablecontrols,separator",
|
||||
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
|
||||
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "left",
|
||||
theme_advanced_path_location : "bottom",
|
||||
|
|
@ -47,12 +48,12 @@
|
|||
<h3>Full featured example</h3>
|
||||
This page shows all available plugins that are included in the TinyMCE distribution. Some of these plugins will only be visible on MSIE due to the lack of some support in FF. For more details on the various options on TinyMCE check the <a href="../docs/index.html">manual</a> or for more third party plugins check the plugin section.<br /><br />
|
||||
<textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 100%">
|
||||
<span class="example1">Test header 1</span><br />
|
||||
<span class="example2">Test header 2</span><br />
|
||||
<span class="example3">Test header 3</span><br />
|
||||
Some <b>element</b>, this is to be editor 1. <br /> This editor instance has a 100% width to it.
|
||||
<p>Some paragraph. <a href="http://www.sourceforge.net">Some link</a></p>
|
||||
<img src="logo.jpg">
|
||||
<span class="example1">Test header 1</span><br />
|
||||
<span class="example2">Test header 2</span><br />
|
||||
<span class="example3">Test header 3</span><br />
|
||||
Some <b>element</b>, this is to be editor 1. <br /> This editor instance has a 100% width to it.
|
||||
<p>Some paragraph. <a href="http://www.sourceforge.net">Some link</a></p>
|
||||
<img src="logo.jpg">
|
||||
</textarea>
|
||||
<br />
|
||||
<input type="submit" name="save" value="Submit" />
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
|
||||
<title>Simple example</title>
|
||||
<!-- tinyMCE -->
|
||||
<script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
|
||||
|
|
@ -42,4 +43,4 @@ element gets converted to a editor instance on page load. Notice how TinyMCE tri
|
|||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ justifyright_desc : 'Oikea tasaus',
|
|||
justifyfull_desc : 'Pakotettu tasaus',
|
||||
bullist_desc : 'Luettelo',
|
||||
numlist_desc : 'Numeroitu lista',
|
||||
outdent_desc : 'Poista sisennyt',
|
||||
outdent_desc : 'Poista sisennys',
|
||||
indent_desc : 'Sisennys',
|
||||
undo_desc : 'Peruuta (Ctrl+Z)',
|
||||
redo_desc : 'Tee uudelleen (Ctrl+Y)',
|
||||
|
|
|
|||
|
|
@ -1,43 +1,42 @@
|
|||
// FR lang variables by Pat Boens
|
||||
// Modify by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
bold_desc : 'Gras',
|
||||
italic_desc : 'Italique',
|
||||
underline_desc : 'Souligné',
|
||||
striketrough_desc : 'Barré',
|
||||
justifyleft_desc : 'Aligner à gauche',
|
||||
underline_desc : 'Souligné',
|
||||
striketrough_desc : 'Barré',
|
||||
justifyleft_desc : 'Aligner à gauche',
|
||||
justifycenter_desc : 'Centrer',
|
||||
justifyright_desc : 'Aligner à droite',
|
||||
justifyright_desc : 'Aligner à droite',
|
||||
justifyfull_desc : 'Justifier',
|
||||
bullist_desc : 'Liste à puces',
|
||||
numlist_desc : 'Liste numérotée',
|
||||
bullist_desc : 'Liste à puces',
|
||||
numlist_desc : 'Liste numérotée',
|
||||
outdent_desc : 'Diminuer le retrait',
|
||||
indent_desc : 'Augmenter le retrait',
|
||||
undo_desc : 'Annuler',
|
||||
redo_desc : 'Restaurer',
|
||||
link_desc : 'Insérer/Modifier un lien',
|
||||
link_desc : 'Insérer/Modifier un lien',
|
||||
unlink_desc : 'Supprimer le lien',
|
||||
image_desc : 'Insérer/Modifier une image',
|
||||
image_desc : 'Insérer/Modifier une image',
|
||||
cleanup_desc : 'Nettoyer le code',
|
||||
focus_alert : 'Une instance de l\éditeur doit avoir le focus avant d\'utiliser cette commande.',
|
||||
edit_confirm : 'Voulez-vous utiliser le mode WYSIWYG pour cette zone d\'édition de texte ?',
|
||||
focus_alert : 'Une instance de l\éditeur doit avoir le focus avant d\'utiliser cette commande.',
|
||||
edit_confirm : 'Voulez-vous utiliser le mode WYSIWYG pour cette zone d\'édition de texte ?',
|
||||
insert_link_title : 'Gestionnaire d\'hyperlien',
|
||||
insert : 'Insérer',
|
||||
insert : 'Insérer',
|
||||
update : 'Appliquer',
|
||||
cancel : 'Annuler',
|
||||
insert_link_url : 'Lien URL',
|
||||
insert_link_target : 'Cible',
|
||||
insert_link_target_same : 'Ouvrir dans la même fenêtre',
|
||||
insert_link_target_blank : 'Ouvrir dans une nouvelle fenêtre',
|
||||
insert_link_target_same : 'Ouvrir dans la même fenêtre',
|
||||
insert_link_target_blank : 'Ouvrir dans une nouvelle fenêtre',
|
||||
insert_image_title : 'Gestionnaire d\'image',
|
||||
insert_image_src : 'URL de l\'image',
|
||||
insert_image_alt : 'Équivalent textuel',
|
||||
insert_image_alt : 'Equivalent textuel',
|
||||
help_desc : 'Aide',
|
||||
bold_img : "bold_fr.gif",
|
||||
italic_img : "italic.gif",
|
||||
underline_img : "underline_fr.gif",
|
||||
clipboard_msg : 'Pour des raisons de sécurité, les fonctions « Copier », « Couper » et « Coller »\nne sont pas disponibles dans Mozilla et Firefox.\n\n\nVoulez-vous plus d\'information à ce sujet?\n',
|
||||
popup_blocked : 'Désolé, mais votre bloqueur de pop-up empêche le fonctionnement normal de l\'application.\n\n\nPour utiliser cet outil, veuillez régler votre navigateur pour qu\'il accepte les pop-up de ce site.'
|
||||
clipboard_msg : 'Pour des raisons de sécurité, les fonctions « Copier », « Couper » et « Coller »\nne sont pas disponibles dans Mozilla et Firefox.\n\n\nVoulez-vous plus d\'information à ce sujet?\n',
|
||||
popup_blocked : 'Désolé, mais votre bloqueur de pop-up empêche le fonctionnement normal de l\'application.\n\n\nPour utiliser cet outil, veuillez régler votre navigateur pour qu\'il accepte les pop-up de ce site.'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,41 +1,43 @@
|
|||
// Variabili lingua IT - fabrix.xm@lombardiacom.it
|
||||
// IT lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
bold_desc : 'Grassetto',
|
||||
italic_desc : 'Corsivo',
|
||||
underline_desc : 'Sottolineato',
|
||||
bold_desc : 'Grassetto (Ctrl+B)',
|
||||
italic_desc : 'Corsivo (Ctrl+I)',
|
||||
underline_desc : 'Sottolineato (Ctrl+U)',
|
||||
striketrough_desc : 'Barrato',
|
||||
justifyleft_desc : 'Allinea a sinistra',
|
||||
justifycenter_desc : 'Allinea centrato',
|
||||
justifycenter_desc : 'Allinea al centro',
|
||||
justifyright_desc : 'Allinea a destra',
|
||||
justifyfull_desc : 'Giustifica',
|
||||
bullist_desc : 'Lista non ordinata',
|
||||
numlist_desc : 'Lista ordinata',
|
||||
outdent_desc : 'Rientra',
|
||||
indent_desc : 'Indenta',
|
||||
undo_desc : 'Annulla',
|
||||
redo_desc : 'Ripeti',
|
||||
link_desc : 'Inserisci link',
|
||||
bullist_desc : 'Elenco puntato',
|
||||
numlist_desc : 'Elenco numerato',
|
||||
outdent_desc : 'Riduci rientro',
|
||||
indent_desc : 'Aumenta rientro',
|
||||
undo_desc : 'Annulla (Ctrl+Z)',
|
||||
redo_desc : 'Ripeti (Ctrl+Y)',
|
||||
link_desc : 'Inserisci o modifica link',
|
||||
unlink_desc : 'Elimina link',
|
||||
image_desc : 'Inserisci immagine',
|
||||
cleanup_desc : 'Pulisci il codice',
|
||||
focus_alert : 'Una istanza dell\' editor deve essere selezionata prima di usare questo comando.',
|
||||
edit_confirm : 'Vuoi usare la modalit\u00E0 WYSIWYG per questa textarea?',
|
||||
insert_link_title : 'Inserisci/modifica link',
|
||||
image_desc : 'Inserisci o modifica immagine',
|
||||
cleanup_desc : 'Pulisci il codice HTML',
|
||||
focus_alert : 'Fare clic su un\' istanza dell\'editor prima di eseguire questo comando',
|
||||
edit_confirm : 'Vuoi usare l\'editor visuale in quest\'area di testo?',
|
||||
insert_link_title : 'Inserisci o modifica link',
|
||||
insert : 'Inserisci',
|
||||
update : 'Inserisci',
|
||||
cancel : 'Cancella',
|
||||
insert_link_url : 'Link URL',
|
||||
insert_link_target : 'Target',
|
||||
update : 'Modifica',
|
||||
cancel : 'Annulla',
|
||||
insert_link_url : 'URL del collegamento',
|
||||
insert_link_target : 'Destinazione',
|
||||
insert_link_target_same : 'Apri il link nella stessa finestra',
|
||||
insert_link_target_blank : 'Apri il link in una nuova finestra',
|
||||
insert_image_title : 'Inserisci/modifica immagine',
|
||||
insert_image_src : 'URL immagine',
|
||||
insert_image_alt : 'Descrizione dell\'immagine',
|
||||
help_desc : 'Guida',
|
||||
insert_image_title : 'Inserisci o modifica immagine',
|
||||
insert_image_src : 'URL dell\'immagine',
|
||||
insert_image_alt : 'Descrizione',
|
||||
help_desc : 'Aiuto',
|
||||
bold_img : "bold.gif",
|
||||
italic_img : "italic.gif",
|
||||
underline_img : "underline.gif",
|
||||
clipboard_msg : 'Copia, Taglia e Incolla non sono disponibili in Mozilla e Firefox.\nVuoi maggiori dettegli su questo problema?',
|
||||
popup_blocked : 'Spiacenti, un sistema di blocco popup ha impedito l\'apertura di una finestra necessaria per il funzionamento dell\'editor. Disabilita il blocco popup per questo sito se vuoi utilizzare tutte le funzionalit\u00E0.'
|
||||
clipboard_msg : 'Le operazioni di taglia, copia e incolla non sono disponibili in Firefox. Vuoi ricevere ulteriori informazioni al riguardo?',
|
||||
popup_blocked : 'Un blocco popup sta impedendo l\'utilizzo di alcune funzionalità. Dovresti disabilitare il blocco per questo sito.',
|
||||
insert_image_delta_width : 50,
|
||||
insert_link_delta_width : 75
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Language packs are from version 2.0.5 removed from the core but can be downloadable from the TinyMCE website.
|
||||
http://tinymce.moxiecode.com/download.php
|
||||
|
||||
The language pack codes are based on ISO-639-2
|
||||
The language pack codes are based on ISO-639-1
|
||||
http://www.loc.gov/standards/iso639-2/englangn.html
|
||||
|
||||
Try using entires if possible. å etc.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Canadian French lang variables by Virtuelcom last modification: 2005-06-15
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
/* N'oubliez pas d'identifer les paramètres de langue ainsi: <votre plugin>_<un nom> */
|
||||
/* N'oubliez pas d'identifer les parametres de langue ainsi: <votre plugin>_<un nom> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Texte qui apparaîtra sous forme de titre dans la fenêtre pop-up de votre plugin',
|
||||
template_desc : 'Texte qui apparaîtra sous forme d\'info-bulle au survol du bouton de votre plugin'
|
||||
template_title : 'Texte qui apparaîtra sous forme de titre dans la fenêtre pop-up de votre plugin',
|
||||
template_desc : 'Texte qui apparaîtra sous forme d\'info-bulle au survol du bouton de votre plugin'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
// French lang variables by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Insérer une règle horizontale stylée',
|
||||
insert_advhr_desc : 'Insérer une règle horizontale stylée',
|
||||
insert_advhr_width : 'Largeur',
|
||||
insert_advhr_size : 'Hauteur',
|
||||
insert_advhr_noshade : 'Sans ombre'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// HE lang variables by Liron Newman, http://eesh.net
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'äëðñ/òøåê ÷å àåô÷é',
|
||||
insert_advhr_desc : '÷å àåô÷é',
|
||||
insert_advhr_width : 'øåçá',
|
||||
insert_advhr_size : 'âåáä',
|
||||
insert_advhr_noshade : 'ììà öì'
|
||||
|
|
|
|||
|
|
@ -1,27 +1,28 @@
|
|||
// Modifier par Mathieu Gautheret
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('advimage',{
|
||||
tab_general : 'Générale',
|
||||
tab_general : 'Générale',
|
||||
tab_appearance : 'Apparence',
|
||||
tab_advanced : 'Avancée',
|
||||
general : 'Générale',
|
||||
tab_advanced : 'Avancé',
|
||||
general : 'Générale',
|
||||
title : 'Titre',
|
||||
preview : 'Prévisualisation',
|
||||
preview : 'Prévisualisation',
|
||||
constrain_proportions : 'Conserver les proportions',
|
||||
langdir : 'Sens d\'écriture',
|
||||
langcode : 'Code de langue du libellé',
|
||||
langdir : 'Sens d\'écriture',
|
||||
langcode : 'Code de langue du libellé',
|
||||
long_desc : 'Description du lien',
|
||||
style : 'Style',
|
||||
classes : 'Classes',
|
||||
ltr : 'De gauche à droite',
|
||||
rtl : 'De droite à gauche',
|
||||
ltr : 'De gauche à droite',
|
||||
rtl : 'De droite à gauche',
|
||||
id : 'Id',
|
||||
image_map : 'Image map',
|
||||
swap_image : 'Image d\'échange',
|
||||
swap_image : 'Image d\'échange',
|
||||
alt_image : 'Image alternative',
|
||||
mouseover : 'Quand le pointeur est au dessus',
|
||||
mouseout : 'Quand le pointeur est en dehors',
|
||||
misc : 'Divers',
|
||||
example_img : 'Apparence prévisualisation image',
|
||||
missing_alt : 'Etes vous sur de vouloir continuer sans inclure une description de l\'image. Cette description est utile pour les utilisateurs ne pouvant pas afficher les images ou les ayant désactivées.'
|
||||
example_img : 'Apparence prévisualisation image',
|
||||
missing_alt : 'Etes vous sur de vouloir continuer sans inclure une description de l\'image. Cette description est utile pour les utilisateurs ne pouvant pas afficher les images ou les ayant désactivées.'
|
||||
});
|
||||
|
|
@ -2,15 +2,38 @@
|
|||
* Slovak lang variables
|
||||
* encoding: utf-8
|
||||
*
|
||||
* @author Vladimir VASIL vvasil@post.sk
|
||||
* @author Marián Zvalo marian.zvalo@student.umb.sk
|
||||
*
|
||||
* $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $
|
||||
* $Id: sk.js,v 1.1 2006/02/28 20:56:44 spocke Exp $
|
||||
*/
|
||||
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_image_alt2 : 'Názov obrázku',
|
||||
insert_image_onmousemove : 'Alternatívny obrázok',
|
||||
insert_image_mouseover : 'pri najet? myšou',
|
||||
insert_image_mouseout : 'pri odjet? myšou'
|
||||
insert_image_mouseover : 'pri prejdení myšou',
|
||||
insert_image_mouseout : 'pri odídení myši',
|
||||
advimage_tab_general : 'Hlavné',
|
||||
advimage_tab_appearance : 'Vzhľad',
|
||||
advimage_tab_advanced : 'Rozšírené',
|
||||
advimage_general : 'Hlavné nastavenia',
|
||||
advimage_title : 'Titulok',
|
||||
advimage_preview : 'Náhľad',
|
||||
advimage_constrain_proportions : 'Zachovať pomer strán',
|
||||
advimage_langdir : 'Smer textu',
|
||||
advimage_langcode : 'Kód jazyka',
|
||||
advimage_long_desc : 'Dlhý popis obrázka',
|
||||
advimage_style : 'CSS Štýl',
|
||||
advimage_classes : 'CSS Trieda',
|
||||
advimage_ltr : 'Z ľava do prava',
|
||||
advimage_rtl : 'Z prava do ľava',
|
||||
advimage_id : 'Id',
|
||||
advimage_image_map : 'Obrazová mapa',
|
||||
advimage_swap_image : 'Zmena obrázka',
|
||||
advimage_alt_image : 'Alternatívny obrázok',
|
||||
advimage_mouseover : 'ak je kurzor nad obrázkom',
|
||||
advimage_mouseout : 'ak kurzor odíde z obrázka',
|
||||
advimage_misc : 'Rôzne',
|
||||
advimage_example_img : 'Vzhľad náhľad obrázka',
|
||||
advimage_missing_alt : 'Ste si istý(á), že chcete pokračovať bez vloženého popisu obrázka? Bez popisu sa obrázok nesprávne zobrazí v textových prehliadačoch, ak má užívateľ vypnuté zobrazenie obrázkov alebo ak je užívateľ nevidiaci.'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,22 +1,48 @@
|
|||
// French lang variables by Laurent Dran
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_link_target_same : 'Ouvre dans la fenętre / Cadre(frame)',
|
||||
insert_link_target_parent : 'Ouvre dans fenętre parente / Cadres(frame)',
|
||||
insert_link_target_top : 'Ouvre dans le Top frame (remplace toutes les cadres(frames))',
|
||||
insert_link_target_blank : 'Ouvre dans la fenętre',
|
||||
insert_link_target_named : 'Ouvre dans la fenętre',
|
||||
insert_link_popup : 'JS-Popup',
|
||||
insert_link_popup_url : 'URL de la Popup',
|
||||
insert_link_popup_name : 'Nom de la fenętre',
|
||||
insert_link_popup_return : 'Insert \'return false\'',
|
||||
insert_link_popup_scrollbars : 'Montrer la barre de défilement ',
|
||||
insert_link_popup_statusbar : 'Montrer la barre d\'état',
|
||||
insert_link_popup_toolbar : 'Montrer la barre d\'outils',
|
||||
insert_link_popup_menubar : 'Montrer la barre du menu',
|
||||
insert_link_popup_location : 'Montre la barre d\'adresse',
|
||||
insert_link_popup_resizable : 'Fabriquer une fenętre redimensionnable',
|
||||
insert_link_popup_size : 'Taille',
|
||||
insert_link_popup_position : 'Position (X/Y)',
|
||||
insert_link_popup_missingtarget : 'Veuillez insérer un nom pour la cible ou choisissez une autre option.'
|
||||
tinyMCE.addToLang('advlink',{
|
||||
target_same : 'Ouvre dans la même fenêtre / Cadre',
|
||||
target_parent : 'Ouvre dans la fenêtre / cadre parente',
|
||||
target_top : 'Ouvre dans le Top frame (remplace toutes les cadres)',
|
||||
target_blank : 'Ouvre dans une nouvelle fenêtre',
|
||||
target_name : 'Nom de la cible',
|
||||
popup : 'JS-Popup',
|
||||
popup_url : 'URL de la Popup',
|
||||
popup_name : 'Nom de la fenêtre',
|
||||
popup_return : 'Insert \'return false\'',
|
||||
popup_scrollbars : 'Montrer la barre de défilement ',
|
||||
popup_statusbar : 'Montrer la barre d\'état',
|
||||
popup_toolbar : 'Montrer la barre d\'outils',
|
||||
popup_menubar : 'Montrer la barre du menu',
|
||||
popup_location : 'Montre la barre d\'adresse',
|
||||
popup_resizable : 'Fabriquer une fenêtre redimensionnable',
|
||||
popup_dependent : 'Dependent (Mozilla/Firefox only)',
|
||||
popup_size : 'Taille',
|
||||
popup_position : 'Position (X/Y)',
|
||||
popup_missingtarget : 'Veuillez insérer un nom pour la cible ou choisissez une autre option.',
|
||||
general_tab : 'Général',
|
||||
popup_tab : 'Popup',
|
||||
events_tab : 'Evênements',
|
||||
advanced_tab : 'Avancé',
|
||||
general_props : 'Propriétés générales',
|
||||
popup_props : 'Propriétés Popup',
|
||||
event_props : 'Evênements',
|
||||
advanced_props : 'Propriétés Avancées',
|
||||
popup_opts : 'Options',
|
||||
anchor_names : 'Ancres',
|
||||
id : 'Id',
|
||||
style: 'Style',
|
||||
classes : 'Classes',
|
||||
langdir : 'Sens d\'écriture',
|
||||
target_langcode : 'Langage cible',
|
||||
langcode : 'Code langue',
|
||||
encoding : 'Codage caractères de la cible',
|
||||
mime : 'Type MIME de la cible',
|
||||
rel : 'Page relative à la cible',
|
||||
rev : 'Cible relative à la page',
|
||||
tabindex : 'Tabindex',
|
||||
accesskey : 'Touche d\'accès',
|
||||
ltr : 'De gauche à droite',
|
||||
rtl : 'De droite à gauche'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
* Slovak lang variables
|
||||
* encoding: utf-8
|
||||
*
|
||||
* @author Vladimir VASIL vvasil@post.sk
|
||||
* @author Marián Zvalo marian.zvalo@student.umb.sk
|
||||
*
|
||||
* $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $
|
||||
* $Id: sk.js,v 1.1 2006/02/28 20:56:44 spocke Exp $
|
||||
*/
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
|
|
@ -25,6 +25,48 @@ insert_link_popup_location : 'Ukázať lištu umiestení',
|
|||
insert_link_popup_resizable : 'Premenlivá veľkosť okna',
|
||||
insert_link_popup_size : 'Velikosť',
|
||||
insert_link_popup_position : 'Umiestnenie (X/Y)',
|
||||
insert_link_popup_missingtarget : 'Vložte názov cieľa alebo vyberte inú voľbu.'
|
||||
insert_link_popup_missingtarget : 'Vložte názov cieľa alebo vyberte inú voľbu.',
|
||||
advlink_general_tab : 'Hlavné',
|
||||
advlink_popup_tab : 'Nové okno',
|
||||
advlink_events_tab : 'Udalosti',
|
||||
advlink_advanced_tab : 'Rozšírené',
|
||||
advlink_general_props : 'Hlavné nastavenia',
|
||||
advlink_popup_props : 'Nastavenia nového okna',
|
||||
advlink_event_props : 'Udalosti prehliadača',
|
||||
advlink_advanced_props : 'Rozšírené nastavenia',
|
||||
advlink_popup_opts : 'Voľby',
|
||||
advlink_anchor_names : 'Ukotvenia',
|
||||
advlink_target_same : 'Otvoriť v aktuálnom okne / ráme',
|
||||
advlink_target_parent : 'Otvoriť v materskom okne / ráme',
|
||||
advlink_target_top : 'Otvoriť v najvyššom ráme (prepíše všetky rámy)',
|
||||
advlink_target_blank : 'Otvoriť v novom okne',
|
||||
advlink_popup : 'Nové okno prehliadača',
|
||||
advlink_popup_url : 'Adresa nového okna',
|
||||
advlink_popup_name : 'Názov okna',
|
||||
advlink_popup_return : 'Vložiť \'return false\'',
|
||||
advlink_popup_scrollbars : 'Zobraziť posuvníky',
|
||||
advlink_popup_statusbar : 'Zobraziť stavový riadok',
|
||||
advlink_popup_toolbar : 'Zobraziť nástroje',
|
||||
advlink_popup_menubar : 'Zobraziť menu',
|
||||
advlink_popup_location : 'Zobraziť navigačný panel',
|
||||
advlink_popup_resizable : 'Umožniť zmenu veľkosti',
|
||||
advlink_popup_dependent : 'Závislosť (iba Mozilla/Firefox)',
|
||||
advlink_popup_size : 'Veľkosť',
|
||||
advlink_popup_position : 'Pozícia (X/Y)',
|
||||
advlink_id : 'Id',
|
||||
advlink_style: 'CSS štýl',
|
||||
advlink_classes : 'Trieda',
|
||||
advlink_target_name : 'Názov elementu',
|
||||
advlink_langdir : 'Smerovanie textu',
|
||||
advlink_target_langcode : 'Jazyk cieľa',
|
||||
advlink_langcode : 'Kód jazyka cieľa',
|
||||
advlink_encoding : 'Znakové kódovanie cieľa',
|
||||
advlink_mime : 'MIME typ cieľa',
|
||||
advlink_rel : 'Vzťah stránky k cieľu',
|
||||
advlink_rev : 'Vzťah cieľa k stránke',
|
||||
advlink_tabindex : 'Poradie pre tabulátor',
|
||||
advlink_accesskey : 'Klávesová skratka',
|
||||
advlink_ltr : 'Z ľava do prava',
|
||||
advlink_rtl : 'Z prava do ľava'
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
autosave_unload_msg : 'Vos modifications seront perdues si vous quittez cette page.'
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* $RCSfile: editor_plugin_src.js,v $
|
||||
* $Revision: 1.29 $
|
||||
* $Date: 2006/02/13 15:09:28 $
|
||||
* $Revision: 1.31 $
|
||||
* $Date: 2006/05/03 10:46:41 $
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
|
|
@ -288,12 +288,12 @@ TinyMCE_ContextMenu.prototype = {
|
|||
|
||||
html += '<td class="contextMenuIcon"><img src="' + icon + '" width="20" height="20" class="contextMenuImage" /></td>';
|
||||
html += '<td><div class="contextMenuText">';
|
||||
html += '<a href="javascript:void(0);" onclick="' + onMouseDown + '" onmousedown="return false;"> ';
|
||||
html += '<a href="javascript:void(0);" onclick="' + onMouseDown + '" onmousedown="return false;"> ';
|
||||
|
||||
// Add text
|
||||
html += title;
|
||||
|
||||
html += ' </a>';
|
||||
html += ' </a>';
|
||||
html += '</div></td>';
|
||||
html += '</tr>';
|
||||
|
||||
|
|
@ -302,6 +302,8 @@ TinyMCE_ContextMenu.prototype = {
|
|||
},
|
||||
|
||||
show : function(x, y) {
|
||||
var vp, width, height;
|
||||
|
||||
if (this.html == "")
|
||||
return;
|
||||
|
||||
|
|
@ -313,27 +315,34 @@ TinyMCE_ContextMenu.prototype = {
|
|||
|
||||
this.contextMenuDiv.innerHTML = html;
|
||||
|
||||
// Get dimensions
|
||||
this.contextMenuDiv.style.display = "block";
|
||||
width = this.contextMenuDiv.offsetWidth;
|
||||
height = this.contextMenuDiv.offsetHeight;
|
||||
this.contextMenuDiv.style.display = "none";
|
||||
|
||||
if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0 && !tinyMCE.isOpera) {
|
||||
var width, height;
|
||||
|
||||
// Get dimensions
|
||||
this.contextMenuDiv.style.display = "block";
|
||||
width = this.contextMenuDiv.offsetWidth;
|
||||
height = this.contextMenuDiv.offsetHeight;
|
||||
this.contextMenuDiv.style.display = "none";
|
||||
|
||||
// Setup popup and show
|
||||
this.pop.document.body.innerHTML = '<div class="contextMenu">' + html + "</div>";
|
||||
this.pop.document.tinyMCE = tinyMCE;
|
||||
this.pop.document.contextMenu = this;
|
||||
this.pop.show(x, y, width, height);
|
||||
} else {
|
||||
this.contextMenuDiv.style.left = x + 'px';
|
||||
this.contextMenuDiv.style.top = y + 'px';
|
||||
vp = this.getViewPort();
|
||||
|
||||
this.contextMenuDiv.style.left = (x > vp.width - width ? vp.width - width : x) + 'px';
|
||||
this.contextMenuDiv.style.top = (y > vp.height - height ? vp.height - height : y) + 'px';
|
||||
this.contextMenuDiv.style.display = "block";
|
||||
}
|
||||
},
|
||||
|
||||
getViewPort : function() {
|
||||
return {
|
||||
width : document.documentElement.offsetWidth || document.body.offsetWidth,
|
||||
height : self.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
|
||||
};
|
||||
},
|
||||
|
||||
hide : function() {
|
||||
if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0 && !tinyMCE.isOpera)
|
||||
this.pop.hide();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
directionality_ltr_desc : 'Vers la droite',
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('emotions',{
|
||||
title : 'Choisir une émoticône',
|
||||
desc : 'Insérer une émoticône',
|
||||
title : 'Choisir une émoticône',
|
||||
desc : 'Insérer une émoticône',
|
||||
cool : 'Cool',
|
||||
cry : 'Triste',
|
||||
embarassed : 'Embarrassé',
|
||||
embarassed : 'Embarrassé',
|
||||
foot_in_mouth : 'Oups !',
|
||||
frown : 'Mécontent',
|
||||
frown : 'Mécontent',
|
||||
innocent : 'Innocent',
|
||||
kiss : 'Bisou',
|
||||
laughing : 'Mort de rire',
|
||||
money_mouth : 'Sencuré',
|
||||
money_mouth : 'Sencuré',
|
||||
sealed : 'Motus',
|
||||
smile : 'Sourire',
|
||||
surprised : 'Surprise',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,22 @@
|
|||
//IT lang variables
|
||||
// IT lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_emotions_title : 'Inserisci una emoticon',
|
||||
emotions_desc : 'Emoticon'
|
||||
tinyMCE.addToLang('emotions',{
|
||||
title : 'Inserisci emoticon',
|
||||
desc : 'Emoticons',
|
||||
cool : 'Fico',
|
||||
cry : 'Pianto',
|
||||
embarassed : 'Imbarazzo',
|
||||
foot_in_mouth : 'Calcio in faccia',
|
||||
frown : 'Tristezza',
|
||||
innocent : 'Innocenza',
|
||||
kiss : 'Bacio',
|
||||
laughing : 'Risata',
|
||||
money_mouth : 'Soldi',
|
||||
sealed : 'Bocca chiusa',
|
||||
smile : 'Sorriso',
|
||||
surprised : 'Sorpresa',
|
||||
tongue_out : 'Linguaccia',
|
||||
undecided : 'Indecisione',
|
||||
wink : 'Occhiolino',
|
||||
yell : 'Urlo'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('flash',{
|
||||
title : 'Gestionnaire d\'animation Flash',
|
||||
desc : 'Insérer une animation Flash',
|
||||
desc : 'Insérer une animation Flash',
|
||||
file : 'Fichier Flash (.swf)',
|
||||
size : 'Taille',
|
||||
list : 'Fichiers Flash',
|
||||
props : 'Propriétés Flash',
|
||||
general : 'Général'
|
||||
props : 'Propriétés Flash',
|
||||
general : 'Général'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
fullscreen_title : 'Affichage plein écran',
|
||||
fullscreen_desc : 'Affichage plein écran/normal'
|
||||
fullscreen_title : 'Affichage plein écran',
|
||||
fullscreen_desc : 'Affichage plein écran/normal'
|
||||
});
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
// French lang variables by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
iespell_desc : 'Lancer le vérificateur d\'orthographe',
|
||||
iespell_download : "Le dictionnaire ieSpell n\'a pas été trouvé.\n\nCliquez sur Ok pour aller au site de téléchargement."
|
||||
iespell_desc : 'Lancer le vérificateur d\'orthographe',
|
||||
iespell_download : "Le dictionnaire ieSpell n\'a pas été trouvé.\n\nCliquez sur Ok pour aller au site de téléchargement."
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// IT lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
iespell_desc : 'Avvia il controllo ortografico',
|
||||
iespell_download : "ieSpell non trovato. Clicca OK per andare alla pagina di download."
|
||||
iespell_desc : 'Esegui controllo ortografico',
|
||||
iespell_download : "ieSpell non trovato. Fai clic su OK per visitare la pagina di download."
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insertdate_def_fmt : '%Y-%m-%d',
|
||||
inserttime_def_fmt : '%H:%M:%S',
|
||||
insertdate_desc : 'Insérer la date',
|
||||
inserttime_desc : 'Insérer l\'heure',
|
||||
inserttime_months_long : new Array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"),
|
||||
inserttime_months_short : new Array("Jan", "Fév", "Mar", "Avr", "Mai", "Jun", "Jul", "Aoû", "Sep", "Oct", "Nov", "Déc"),
|
||||
insertdate_def_fmt : '%d/%m/%Y',
|
||||
inserttime_def_fmt : '%Hh%M',
|
||||
insertdate_desc : 'Insérer la date',
|
||||
inserttime_desc : 'Insérer l\'heure',
|
||||
inserttime_months_long : new Array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"),
|
||||
inserttime_months_short : new Array("Jan", "Fév", "Mar", "Avr", "Mai", "Jun", "Jul", "Aoû", "Sep", "Oct", "Nov", "Déc"),
|
||||
inserttime_day_long : new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"),
|
||||
inserttime_day_short : new Array("Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim")
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
// IT lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insertdate_def_fmt : '%Y-%m-%d',
|
||||
insertdate_def_fmt : '%d/%m/%Y',
|
||||
inserttime_def_fmt : '%H:%M:%S',
|
||||
insertdate_desc : 'Inserisci data',
|
||||
inserttime_desc : 'Inserisci ora',
|
||||
inserttime_months_long : new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"),
|
||||
inserttime_months_short : new Array("Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"),
|
||||
inserttime_day_long : new Array("Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"),
|
||||
inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun")
|
||||
inserttime_day_long : new Array("Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"),
|
||||
inserttime_day_short : new Array("Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom")
|
||||
});
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* $RCSfile: editor_plugin_src.js,v $
|
||||
* $Revision: 1.36 $
|
||||
* $Date: 2006/03/20 12:03:44 $
|
||||
* $Revision: 1.37 $
|
||||
* $Date: 2006/03/27 10:07:08 $
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
|
|
@ -308,15 +308,15 @@ var TinyMCE_PastePlugin = {
|
|||
// Add the rest
|
||||
var np = p.nextSibling;
|
||||
while (np) {
|
||||
// If the node is whitespace, then
|
||||
// ignore it and continue on.
|
||||
if (np.nodeType == 3 && /^\s$/m.test(np.nodeValue)) {
|
||||
np = np.nextSibling;
|
||||
continue;
|
||||
}
|
||||
|
||||
// If the node is whitespace, then
|
||||
// ignore it and continue on.
|
||||
if (np.nodeType == 3 && new RegExp('^\\s$', 'm').test(np.nodeValue)) {
|
||||
np = np.nextSibling;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (search == mdot) {
|
||||
if (np.nodeType == 1 && /^o(\s+| )/.test(np.innerHTML)) {
|
||||
if (np.nodeType == 1 && new RegExp('^o(\\s+| )').test(np.innerHTML)) {
|
||||
// Second level of nesting
|
||||
if (!prevul) {
|
||||
prevul = ul;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
paste_text_desc : 'Coller comme du texte',
|
||||
paste_text_title : 'Faites CTRL+V pour coller le texte dans la fenêtre.',
|
||||
paste_text_linebreaks : 'Conserver les retours à la ligne',
|
||||
paste_text_title : 'Faites CTRL+V pour coller le texte dans la fenêtre.',
|
||||
paste_text_linebreaks : 'Conserver les retours à la ligne',
|
||||
paste_word_desc : 'Coller depuis Word',
|
||||
paste_word_title : 'Faites CTRL+V pour coller le texte dans la fenêtre.',
|
||||
selectall_desc : 'Sélectionner tout'
|
||||
paste_word_title : 'Faites CTRL+V pour coller le texte dans la fenêtre.',
|
||||
selectall_desc : 'Sélectionner tout'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// French lang variables by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
preview_desc : 'Prévisualisation'
|
||||
preview_desc : 'Prévisualisation'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
// French lang variables by Laurent Dran
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
print_desc : 'Imprimer'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// French lang variables by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
save_desc : 'Enregistrer'
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
// Franch lang variables by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
searchreplace_search_desc : 'Rehercher',
|
||||
searchreplace_searchnext_desc : 'Rehercher suivant',
|
||||
searchreplace_replace_desc : 'Rechercher/Remplacer',
|
||||
searchreplace_notfound : 'Recherche complétée. La fin du document a été atteinte.',
|
||||
searchreplace_notfound : 'Recherche complétée. La fin du document a été atteinte.',
|
||||
searchreplace_search_title : 'Rechercher',
|
||||
searchreplace_replace_title : 'Rechercher/Remplacer',
|
||||
searchreplace_allreplaced : 'Action terminée avec succès. Les remplacements\nont été faits dans l\'ensemble du document.',
|
||||
searchreplace_allreplaced : 'Action terminée avec succès. Les remplacements\nont été faits dans l\'ensemble du document.',
|
||||
searchreplace_findwhat : 'Trouver le mot',
|
||||
searchreplace_replacewith : 'Remplacer avec',
|
||||
searchreplace_direction : 'Direction',
|
||||
|
|
|
|||
|
|
@ -48,11 +48,6 @@ function init() {
|
|||
|
||||
updateColor('bordercolor_pick', 'bordercolor');
|
||||
updateColor('bgcolor_pick', 'bgcolor');
|
||||
|
||||
if (tinyMCE.getParam('class_selectors', true)) {
|
||||
var sr = document.getElementById('styleSelectRow');
|
||||
sr.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
function updateAction() {
|
||||
|
|
|
|||
|
|
@ -40,11 +40,6 @@ function init() {
|
|||
document.getElementById('backgroundimage').style.width = '180px';
|
||||
|
||||
updateColor('bgcolor_pick', 'bgcolor');
|
||||
|
||||
if (tinyMCE.getParam('class_selectors', true)) {
|
||||
var sr = document.getElementById('styleSelectRow');
|
||||
sr.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
function updateAction() {
|
||||
|
|
|
|||
|
|
@ -259,11 +259,6 @@ function init() {
|
|||
formObj.cols.disabled = true;
|
||||
formObj.rows.disabled = true;
|
||||
}
|
||||
|
||||
if (tinyMCE.getParam ('class_selectors', true)) {
|
||||
var sr = document.getElementById('styleSelectRow');
|
||||
sr.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
function changedSize() {
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ align_top : 'Oben',
|
|||
align_bottom : 'Unten',
|
||||
props_desc : 'Tabelleneigenschaften',
|
||||
bordercolor : 'Rahmenfarbe',
|
||||
bgcolor : 'Hintergrundbild',
|
||||
bgcolor : 'Hintergrundfarbe',
|
||||
merge_cells_title : 'Zellen zusammenfügen',
|
||||
split_cells_desc : 'Zelle teilen',
|
||||
merge_cells_desc : 'Zellen zusammenfügen',
|
||||
|
|
@ -51,7 +51,7 @@ langcode : 'Sprachcode',
|
|||
mime : 'MIME-Typ',
|
||||
ltr : 'Von links nach rechts',
|
||||
rtl : 'Von rechts nach links',
|
||||
bgimage : 'Hintergrundfarbe',
|
||||
bgimage : 'Hintergrundbild',
|
||||
summary : 'Zusammenfassung',
|
||||
td : "Daten",
|
||||
th : "Kopfzeile",
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ width : 'Leveys',
|
|||
height : 'Korkeus',
|
||||
cols : 'Saraketta',
|
||||
rows : 'Riviä',
|
||||
cellspacing : 'Cellspacing',
|
||||
cellpadding : 'Cellpadding',
|
||||
cellspacing : 'Soluvälitys',
|
||||
cellpadding : 'Solutäyte',
|
||||
border : 'Reuna',
|
||||
align : 'Asettelu',
|
||||
align_default : 'Oletus',
|
||||
|
|
@ -54,7 +54,7 @@ ltr : 'Vasemmalta oikealle',
|
|||
rtl : 'Oikealta vasemmalle',
|
||||
bgimage : 'Taustakuva',
|
||||
summary : 'Yhteenveto',
|
||||
td : "Data",
|
||||
td : "Tieto",
|
||||
th : "Otsikko",
|
||||
cell_cell : 'Päivitä kyseinen solu',
|
||||
cell_row : 'Päivitä kaikki solut rivissä',
|
||||
|
|
@ -63,15 +63,15 @@ row_row : 'Päivitä kyseinen rivi',
|
|||
row_odd : 'Päivitä parittomat rivit',
|
||||
row_even : 'Päivitä parilliset rivit',
|
||||
row_all : 'Päivitä kaikki rivit',
|
||||
thead : 'Table Head',
|
||||
tbody : 'Table Body',
|
||||
tfoot : 'Table Foot',
|
||||
thead : 'Taulukon otsake (head)',
|
||||
tbody : 'Taulukon runko (body)',
|
||||
tfoot : 'Taulukon alaosa (foot)',
|
||||
del : 'Poista taulukko',
|
||||
scope : 'Scope',
|
||||
scope : 'Scope-määrite',
|
||||
row : 'Rivi',
|
||||
col : 'Sarake',
|
||||
rowgroup : 'Riviryhmä',
|
||||
colgroup : 'Sarakeryhmä',
|
||||
missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.',
|
||||
missing_scope: 'Oletko varma että haluat jatkaa ilman että olet määrittänyt scope-määritettä tälle taulukon otsikolle? Scope-määritys auttaa ihmisiä joilla on terveydellisiä rajoitteita.',
|
||||
cellprops_delta_width : 50
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,77 +1,77 @@
|
|||
// French lang variables by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('table',{
|
||||
general_tab : 'Général',
|
||||
advanced_tab : 'Avancé',
|
||||
general_props : 'Propriétés générales',
|
||||
advanced_props : 'Propriétés avancées',
|
||||
desc : 'Insérer/Modifier un tableau',
|
||||
row_before_desc : 'Insérer une rangée avant',
|
||||
row_after_desc : 'Insérer une rangée après',
|
||||
delete_row_desc : 'Effacer la rangée',
|
||||
col_before_desc : 'Insérer une colonne avant',
|
||||
col_after_desc : 'Insérer une colonne après',
|
||||
general_tab : 'Général',
|
||||
advanced_tab : 'Avancé',
|
||||
general_props : 'Propriétés générales',
|
||||
advanced_props : 'Propriétés avancées',
|
||||
desc : 'Insérer/Modifier un tableau',
|
||||
row_before_desc : 'Insérer une rangée avant',
|
||||
row_after_desc : 'Insérer une rangée après',
|
||||
delete_row_desc : 'Effacer la rangée',
|
||||
col_before_desc : 'Insérer une colonne avant',
|
||||
col_after_desc : 'Insérer une colonne après',
|
||||
delete_col_desc : 'Effacer la colonne',
|
||||
rowtype : 'Type de rangée',
|
||||
rowtype : 'Type de rangée',
|
||||
title : 'Gestionnaire de tableau',
|
||||
width : 'Largeur',
|
||||
height : 'Hauteur',
|
||||
cols : 'Colonnes',
|
||||
rows : 'Rangées',
|
||||
rows : 'Rangées',
|
||||
cellspacing : 'Entre les cellules',
|
||||
cellpadding : 'Marges intérieures',
|
||||
cellpadding : 'Marges intérieures',
|
||||
border : 'Bordures',
|
||||
align : 'Alignement horizontal',
|
||||
align_default : 'Par défault',
|
||||
align_left : 'À gauche',
|
||||
align_right : 'À droite',
|
||||
align_middle : 'Centré',
|
||||
row_title : 'Propriétés des rangées',
|
||||
cell_title : 'Propriétés des cellules',
|
||||
align_default : 'Par défault',
|
||||
align_left : 'A gauche',
|
||||
align_right : 'A droite',
|
||||
align_middle : 'Centré',
|
||||
row_title : 'Propriétés des rangées',
|
||||
cell_title : 'Propriétés des cellules',
|
||||
cell_type : 'Type',
|
||||
row_desc : 'Propriétés des rangées',
|
||||
cell_desc : 'Propriétés des cellules',
|
||||
row_desc : 'Propriétés des rangées',
|
||||
cell_desc : 'Propriétés des cellules',
|
||||
valign : 'Alignement vertical',
|
||||
align_top : 'Haut',
|
||||
align_bottom : 'Bas',
|
||||
props_desc : 'Propriétés du tableau',
|
||||
props_desc : 'Propriétés du tableau',
|
||||
bordercolor : 'Couleur des bordures',
|
||||
bgcolor : 'Couleur d\'arrière-plan',
|
||||
bgcolor : 'Couleur d\'arrière-plan',
|
||||
merge_cells_title : 'Fusionner les cellules',
|
||||
split_cells_desc : 'Scinder les cellules',
|
||||
merge_cells_desc : 'Fusionner les cellules',
|
||||
cut_row_desc : 'Éliminer la rangée',
|
||||
copy_row_desc : 'Copier la rangée',
|
||||
paste_row_before_desc : 'Coller la rangée avant',
|
||||
paste_row_after_desc : 'Coller la rangée après',
|
||||
cut_row_desc : 'Eliminer la rangée',
|
||||
copy_row_desc : 'Copier la rangée',
|
||||
paste_row_before_desc : 'Coller la rangée avant',
|
||||
paste_row_after_desc : 'Coller la rangée après',
|
||||
id : 'Id',
|
||||
style: 'Style en ligne',
|
||||
langdir : 'Sens d\'écriture',
|
||||
langdir : 'Sens d\'écriture',
|
||||
langcode : 'Code de langue',
|
||||
mime : 'Type MIME de la cible',
|
||||
ltr : 'Vers la droite',
|
||||
rtl : 'Vers la gauche',
|
||||
bgimage : 'Image d\'arrière-plan',
|
||||
bgimage : 'Image d\'arrière-plan',
|
||||
summary : 'Descriptif',
|
||||
td : "Donnée",
|
||||
th : "En-tête",
|
||||
cell_cell : 'Appliquer à la cellule',
|
||||
cell_row : 'Appliquer à toute la rangée',
|
||||
cell_all : 'Appliquer à tout le tableau',
|
||||
row_row : 'Appliquer à la rangée',
|
||||
row_odd : 'Appliquer aux rangées pair',
|
||||
row_even : 'Appliquer aux rangées impair',
|
||||
row_all : 'Appliquer à toutes les rangées',
|
||||
thead : 'En-tête',
|
||||
td : "Donnée",
|
||||
th : "En-tête",
|
||||
cell_cell : 'Appliquer à la cellule',
|
||||
cell_row : 'Appliquer à toute la rangée',
|
||||
cell_all : 'Appliquer à tout le tableau',
|
||||
row_row : 'Appliquer à la rangée',
|
||||
row_odd : 'Appliquer aux rangées pair',
|
||||
row_even : 'Appliquer aux rangées impair',
|
||||
row_all : 'Appliquer à toutes les rangées',
|
||||
thead : 'En-tête',
|
||||
tbody : 'Corps',
|
||||
tfoot : 'Pied',
|
||||
del : 'Effacer le tableau',
|
||||
scope : 'Attribut scope',
|
||||
row : 'Rangée',
|
||||
row : 'Rangée',
|
||||
col : 'Colonne',
|
||||
rowgroup : 'Groupe de rangées',
|
||||
rowgroup : 'Groupe de rangées',
|
||||
colgroup : 'Groupe de colonnes',
|
||||
missing_scope: 'Les attributs scope rendraient votre tableau de données plus\naccessible à certains groupes d\'utilisateurs.\n\nÊtes-vous sûr de ne pas vouloir spécifier\nd\'attribut scope aux cellules d\'en-tête ?\n\n',
|
||||
missing_scope: 'Les attributs scope rendraient votre tableau de données plus\naccessible à certains groupes d\'utilisateurs.\n\nEtes-vous sûr de ne pas vouloir spécifier\nd\'attribut scope aux cellules d\'en-tête ?\n\n',
|
||||
cellprops_delta_width : 50
|
||||
});
|
||||
|
|
|
|||
|
|
@ -71,5 +71,8 @@ row : '
|
|||
col : 'טור',
|
||||
rowgroup : 'קבוצת שורות',
|
||||
colgroup : 'קבוצת טורים',
|
||||
col_limit : 'חרגת מהמספר המקסימלי המותר של {$cols} טורים.',
|
||||
row_limit : 'חרגת מהמספר המקסימלי המותר של {$rows} שורות.',
|
||||
cell_limit : 'חרגת מהמספר המקסימלי המותר של {$cells} תאים.',
|
||||
missing_scope: 'האם אתה בטוח שברצונך להמשיך מבלי לציין את תחום הכותרת של הטבלה? בלי כותרת מוגדרת, יתכן כי משתמשים בעלי מוגבלויות יתקשו להבין את התוכן או המידע המוצגים בטבלה.'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,43 +1,79 @@
|
|||
// Variabili di lingua IT - fabrix.xm@lombardiacom.it
|
||||
// IT lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
table_desc : 'Inserisci una nuova tabella',
|
||||
table_insert_row_before_desc : 'Inserisci una riga prima',
|
||||
table_insert_row_after_desc : 'Inserisci una riga dopo',
|
||||
table_delete_row_desc : 'Cancella riga',
|
||||
table_insert_col_before_desc : 'Inserisci colonna prima',
|
||||
table_insert_col_after_desc : 'Inserisci colonna dopo',
|
||||
table_delete_col_desc : 'Rimuovi colonna',
|
||||
insert_table_title : 'Inserisci/modifica tabella',
|
||||
insert_table_width : 'Larghezza',
|
||||
insert_table_height : 'Altezza',
|
||||
insert_table_cols : 'Colonne',
|
||||
insert_table_rows : 'Righe',
|
||||
insert_table_cellspacing : 'Cellspacing',
|
||||
insert_table_cellpadding : 'Cellpadding',
|
||||
insert_table_border : 'Bordo',
|
||||
insert_table_align : 'Allineamento',
|
||||
insert_table_align_default : 'Default',
|
||||
insert_table_align_left : 'Sinistra',
|
||||
insert_table_align_right : 'Destra',
|
||||
insert_table_align_middle : 'Centro',
|
||||
insert_table_class : 'Classe',
|
||||
table_row_title : 'Propriet\u00E0 della riga',
|
||||
table_cell_title : 'Propriet\u00E0 della cella',
|
||||
table_row_desc : 'Propriet\u00E0 della riga',
|
||||
table_cell_desc : 'Propriet\u00E0 della cella',
|
||||
insert_table_valign : 'Allineamento verticale',
|
||||
insert_table_align_top : 'In alto',
|
||||
insert_table_align_bottom : 'In basso',
|
||||
table_props_desc : 'Propriet\u00E0 della tabella',
|
||||
table_bordercolor : 'Colore bordo',
|
||||
table_bgcolor : 'Colore sfondo',
|
||||
table_merge_cells_title : 'Unisci celle',
|
||||
table_split_cells_desc : 'Dividi celle',
|
||||
table_merge_cells_desc : 'Unisci le celle',
|
||||
table_cut_row_desc : 'Taglia riga',
|
||||
table_copy_row_desc : 'Copia riga',
|
||||
table_paste_row_before_desc : 'Incolla riga prima',
|
||||
table_paste_row_after_desc : 'Incolla riga dopo',
|
||||
table_insert_desc : 'Inserisci una nuova tabella'
|
||||
tinyMCE.addToLang('table',{
|
||||
general_tab : 'Generale',
|
||||
advanced_tab : 'Avanzate',
|
||||
general_props : 'Proprietà generali',
|
||||
advanced_props : 'Proprietà avanzate',
|
||||
desc : 'Inserisci una nuova tabella',
|
||||
row_before_desc : 'Inserisci una riga prima',
|
||||
row_after_desc : 'Inserisci una riga dopo',
|
||||
delete_row_desc : 'Cancella riga',
|
||||
col_before_desc : 'Inserisci una colonna prima',
|
||||
col_after_desc : 'Inserisci una colonna dopo',
|
||||
delete_col_desc : 'Cancella colonna',
|
||||
rowtype : 'Tipo di riga',
|
||||
title : 'Inserisci o modifica tabella',
|
||||
width : 'Larghezza',
|
||||
height : 'Altezza',
|
||||
cols : 'Colonne',
|
||||
rows : 'Righe',
|
||||
cellspacing : 'Spaziatura tra celle',
|
||||
cellpadding : 'Margine interno celle',
|
||||
border : 'Bordo',
|
||||
align : 'Allineamento',
|
||||
align_default : 'Predefinito',
|
||||
align_left : 'A sinistra',
|
||||
align_right : 'A destra',
|
||||
align_middle : 'Al centro',
|
||||
row_title : 'Proprietà di riga',
|
||||
cell_title : 'Proprietà di cella',
|
||||
cell_type : 'Tipo di cella',
|
||||
row_desc : 'Proprietà di riga',
|
||||
cell_desc : 'Proprietà di cella',
|
||||
valign : 'Allineamento verticale',
|
||||
align_top : 'In alto',
|
||||
align_bottom : 'In basso',
|
||||
props_desc : 'Proprietà di tabella',
|
||||
bordercolor : 'Colore del bordo',
|
||||
bgcolor : 'Colore di sfondo',
|
||||
merge_cells_title : 'Unisci celle',
|
||||
split_cells_desc : 'Dividi celle',
|
||||
merge_cells_desc : 'Unisci celle',
|
||||
cut_row_desc : 'Taglia riga',
|
||||
copy_row_desc : 'Copia riga',
|
||||
paste_row_before_desc : 'Incolla riga prima',
|
||||
paste_row_after_desc : 'Incolla riga dopo',
|
||||
id : 'Id',
|
||||
style: 'Stile',
|
||||
langdir : 'Direzione del testo',
|
||||
langcode : 'Codifica lingua',
|
||||
mime : 'Tipo MIME destinazione',
|
||||
ltr : 'Da sinistra a destra',
|
||||
rtl : 'Da destra a sinistra',
|
||||
bgimage : 'Immagine di sfondo',
|
||||
summary : 'Riassunto',
|
||||
td : "Normale",
|
||||
th : "Intestazione",
|
||||
cell_cell : 'Aggiorna cella corrente',
|
||||
cell_row : 'Aggiorna tutte le celle della riga',
|
||||
cell_all : 'Aggiorna tutte le celle della tabella',
|
||||
row_row : 'Aggiorna riga corrente',
|
||||
row_odd : 'Aggiorna righe dispari della tabella',
|
||||
row_even : 'Aggiorna righe pari della tabella',
|
||||
row_all : 'Aggiorna tutte le righe della tabella',
|
||||
thead : 'Intestazione',
|
||||
tbody : 'Corpo',
|
||||
tfoot : 'Footer',
|
||||
del : 'Elimina tabella',
|
||||
scope : 'Ambito',
|
||||
row : 'Riga',
|
||||
col : 'Colonna',
|
||||
rowgroup : 'Gruppo di righe',
|
||||
colgroup : 'Gruppo di colonne',
|
||||
col_limit : 'Hai superato il massimo numero di colonne di {$cols}.',
|
||||
row_limit : 'Hai superato il massimo numero di righe di {$rows}.',
|
||||
cell_limit : 'Hai superato il massimo numero di celle di {$cells}.',
|
||||
missing_scope: 'Sei sicuro di voler omettere un ambito per questa cella di intestazione? L\'ambito è utile alle persone con disabilità per interpretare i contenuti della tabella.',
|
||||
cellprops_delta_width : 150
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,19 +2,14 @@
|
|||
* Slovak lang variables
|
||||
* encoding: utf-8
|
||||
*
|
||||
* @author Vladimir VASIL vvasil@post.sk
|
||||
* @author Marián Zvalo marian.zvalo@student.umb.sk
|
||||
*
|
||||
* $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $
|
||||
* $Id: sk.js,v 1.1 2006/02/28 20:56:44 spocke Exp $
|
||||
*/
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
table_desc : 'Vložiť novú tabuľku',
|
||||
table_insert_row_before_desc : 'Vložiť riadok pred',
|
||||
table_insert_row_after_desc : 'Vložiť riadok po',
|
||||
table_delete_row_desc : 'Zmazať riadok',
|
||||
table_insert_col_before_desc : 'Vložiť stĺpec pred',
|
||||
table_insert_col_after_desc : 'Vložiť stĺpec po',
|
||||
table_delete_col_desc : 'Odstrániť stĺpec',
|
||||
lang_class_name: 'CSS trieda',
|
||||
lang_not_set: ' ',
|
||||
insert_table_title : 'Vložiť/upraviť tabuľku',
|
||||
insert_table_width : 'Šírka',
|
||||
insert_table_height : 'Výška',
|
||||
|
|
@ -32,7 +27,7 @@ insert_table_class : 'Trieda',
|
|||
table_row_title : 'Vlastnosti riadku',
|
||||
table_cell_title : 'Vlastnosti bunky',
|
||||
table_row_desc : 'Vlastnosti riadku',
|
||||
table_cell_desc : 'Vlastnosti riadku',
|
||||
table_cell_desc : 'Vlastnosti bunky',
|
||||
insert_table_valign : 'Vertikálne zarovnávanie',
|
||||
insert_table_align_top : 'Nahor',
|
||||
insert_table_align_bottom : 'Dole',
|
||||
|
|
@ -46,6 +41,77 @@ table_cut_row_desc : 'Vyňať riadok',
|
|||
table_copy_row_desc : 'Kopírovať riadok',
|
||||
table_paste_row_before_desc : 'Vložiť riadok pred',
|
||||
table_paste_row_after_desc : 'Vložiť riadok za',
|
||||
table_insert_desc : 'Vložiť tabuľku'
|
||||
table_insert_desc : 'Vložiť tabuľku',
|
||||
table_general_tab : 'Hlavné',
|
||||
table_advanced_tab : 'Rozšírené',
|
||||
table_general_props : 'Hlavné nastavenia',
|
||||
table_advanced_props : 'Rozšírené nastavenia',
|
||||
table_desc : 'Vložiť novú tabuľku',
|
||||
table_row_before_desc : 'Vložiť riadok pred',
|
||||
table_row_after_desc : 'Vložiť riadok za',
|
||||
table_delete_row_desc : 'Odstrániť riadok',
|
||||
table_col_before_desc : 'Vložiť stĺpec pred',
|
||||
table_col_after_desc : 'Vložiť stĺpec za',
|
||||
table_delete_col_desc : 'Odstrániť stĺpec',
|
||||
table_rowtype : 'Row in table part',
|
||||
table_title : 'Vložiť/Upraviť tabuľku',
|
||||
table_width : 'Šírka',
|
||||
table_height : 'Výška',
|
||||
table_cols : 'Stĺpce',
|
||||
table_rows : 'Riadky',
|
||||
table_cellspacing : 'Medzera medzi bunkami',
|
||||
table_cellpadding : 'Medzera medzi textom a okrajom bunky',
|
||||
table_border : 'Rámik',
|
||||
table_align : 'Zarovnanie',
|
||||
table_align_default : 'Prednastavené',
|
||||
table_align_left : 'Vľavo',
|
||||
table_align_right : 'Vpravo',
|
||||
table_align_middle : 'Centrovať',
|
||||
table_row_title : 'Nastavenie riadku tabuľky',
|
||||
table_cell_title : 'Nastavenie bunky tabuľky',
|
||||
table_cell_type : 'Typ bunky',
|
||||
table_row_desc : 'Nastavenie riadku tabuľky',
|
||||
table_cell_desc : 'Nastavenie bunky tabuľky',
|
||||
table_valign : 'Vertikálne zarovnanie',
|
||||
table_align_top : 'Hore',
|
||||
table_align_bottom : 'Dole',
|
||||
table_props_desc : 'Nastavenia tabuľky',
|
||||
table_bordercolor : 'Farba rámika',
|
||||
table_bgcolor : 'Farba pozadia',
|
||||
table_merge_cells_title : 'Zlúčiť bunky',
|
||||
table_split_cells_desc : 'Rozdeliť bunky',
|
||||
table_merge_cells_desc : 'Zlúčiť bunky',
|
||||
table_cut_row_desc : 'Vystrihnúť riadok',
|
||||
table_copy_row_desc : 'Kopírovať riadok',
|
||||
table_paste_row_before_desc : 'Vložiť riadok pred',
|
||||
table_paste_row_after_desc : 'Vložiť riadok za',
|
||||
table_id : 'Id',
|
||||
table_style: 'CSS Štýl',
|
||||
table_langdir : 'Smer textu',
|
||||
table_langcode : 'Kód jazyka',
|
||||
table_mime : 'Target MIME type',
|
||||
table_ltr : 'Z ľava do prava',
|
||||
table_rtl : 'Z prava do ľava',
|
||||
table_bgimage : 'Obrázok pozadia',
|
||||
table_summary : 'Popis tabuľky',
|
||||
table_td : "Dáta",
|
||||
table_th : "Hlavička",
|
||||
table_cell_cell : 'Upraviť aktuálnu bunku',
|
||||
table_cell_row : 'Upraviť všetky bunky v riadku',
|
||||
table_cell_all : 'Upraviť všetky bunky v tabuľke',
|
||||
table_row_row : 'Upraviť aktuálny riadok',
|
||||
table_row_odd : 'Upraviť nepárne riadky v tabuľke',
|
||||
table_row_even : 'Upraviť párne ridky v tabuľke',
|
||||
table_row_all : 'Upraviť všetky riadky v tabuľke',
|
||||
table_thead : 'Hlavička tabuľky',
|
||||
table_tbody : 'Telo tabuľky',
|
||||
table_tfoot : 'Pätka tabuľky',
|
||||
table_del : 'Zmazať tabuľku',
|
||||
table_scope : 'Scope',
|
||||
table_row : 'Riadok',
|
||||
table_col : 'Stĺpec',
|
||||
table_rowgroup : 'Skupina riadkov',
|
||||
table_colgroup : 'Skupina stĺpcov',
|
||||
table_missing_scope: 'Ste si istý(á), že chcete pokračovať bez špecifikovania SCOPE pre túto hlavičku tabuľky. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.'
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1 @@
|
|||
var TinyMCE_ZoomPlugin={getInfo:function(){return{longname:'Zoom',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(control_name){if(!tinyMCE.isMSIE||tinyMCE.isMSIE5_0||tinyMCE.isOpera)return"";switch(control_name){case"zoom":return'<select id="{$editor_id}_zoomSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">\
|
||||
<option value="100%">+ 100%</option>\
|
||||
<option value="150%">+ 150%</option>\
|
||||
<option value="200%">+ 200%</option>\
|
||||
<option value="250%">+ 250%</option>\
|
||||
</select>';}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceZoom":tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom=value;tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom=value;return true;}return false;}};tinyMCE.addPlugin("zoom",TinyMCE_ZoomPlugin);
|
||||
var TinyMCE_ZoomPlugin={getInfo:function(){return{longname:'Zoom',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_zoom.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(control_name){if(!tinyMCE.isMSIE||tinyMCE.isMSIE5_0||tinyMCE.isOpera)return"";switch(control_name){case"zoom":return'<select id="{$editor_id}_zoomSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+'<option value="100%">+ 100%</option>'+'<option value="150%">+ 150%</option>'+'<option value="200%">+ 200%</option>'+'<option value="250%">+ 250%</option>'+'</select>';}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceZoom":tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom=value;tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom=value;return true;}return false;}};tinyMCE.addPlugin("zoom",TinyMCE_ZoomPlugin);
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* $RCSfile: editor_plugin_src.js,v $
|
||||
* $Revision: 1.9 $
|
||||
* $Date: 2006/03/03 16:10:41 $
|
||||
* $Revision: 1.10 $
|
||||
* $Date: 2006/04/07 15:52:50 $
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright Š 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
|
|
@ -27,12 +27,12 @@ var TinyMCE_ZoomPlugin = {
|
|||
|
||||
switch (control_name) {
|
||||
case "zoom":
|
||||
return '<select id="{$editor_id}_zoomSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">\
|
||||
<option value="100%">+ 100%</option>\
|
||||
<option value="150%">+ 150%</option>\
|
||||
<option value="200%">+ 200%</option>\
|
||||
<option value="250%">+ 250%</option>\
|
||||
</select>';
|
||||
return '<select id="{$editor_id}_zoomSelect" name="{$editor_id}_zoomSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceZoom\',false,this.options[this.selectedIndex].value);" class="mceSelectList">' +
|
||||
'<option value="100%">+ 100%</option>' +
|
||||
'<option value="150%">+ 150%</option>' +
|
||||
'<option value="200%">+ 200%</option>' +
|
||||
'<option value="250%">+ 250%</option>' +
|
||||
'</select>';
|
||||
}
|
||||
|
||||
return "";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Traduit par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCELang['lang_zoom_prefix'] = 'Augmenter la taille';
|
||||
|
|
@ -14,6 +14,11 @@ body {
|
|||
border: 1px dashed #BBBBBB !important;
|
||||
}
|
||||
|
||||
div.mceVisualAid {
|
||||
background-image:url('../images/spacer.gif');
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.mceItemAnchor {
|
||||
width: 12px;
|
||||
line-height: 6px;
|
||||
|
|
|
|||
|
|
@ -122,6 +122,10 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.mceEditorIframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Button CSS rules */
|
||||
|
||||
a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img {
|
||||
|
|
@ -295,6 +299,7 @@ span.mceMenuButtonFocus img.mceMenuButton {
|
|||
.mceMenu a:hover {
|
||||
background-color: #B6BDD2;
|
||||
color: black;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.mceMenu span {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* $RCSfile: editor_template_src.js,v $
|
||||
* $Revision: 1.93 $
|
||||
* $Date: 2006/03/14 17:33:50 $
|
||||
* $Revision: 1.96 $
|
||||
* $Date: 2006/04/18 13:32:52 $
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
|
|
@ -81,7 +81,13 @@ var TinyMCE_AdvancedTheme = {
|
|||
['h3', '{$lang_theme_h3}'],
|
||||
['h4', '{$lang_theme_h4}'],
|
||||
['h5', '{$lang_theme_h5}'],
|
||||
['h6', '{$lang_theme_h6}']
|
||||
['h6', '{$lang_theme_h6}'],
|
||||
['div', '{$lang_theme_div}'],
|
||||
['blockquote', '{$lang_theme_blockquote}'],
|
||||
['code', '{$lang_theme_code}'],
|
||||
['dt', '{$lang_theme_dt}'],
|
||||
['dd', '{$lang_theme_dd}'],
|
||||
['samp', '{$lang_theme_samp}']
|
||||
];
|
||||
|
||||
html += '<option value="">{$lang_theme_block}</option>';
|
||||
|
|
@ -90,7 +96,7 @@ var TinyMCE_AdvancedTheme = {
|
|||
for (var i=0; i<formats.length; i++) {
|
||||
for (var x=0; x<lookup.length; x++) {
|
||||
if (formats[i] == lookup[x][0])
|
||||
html += '<option value="<' + lookup[x][0] + '>">' + lookup[x][1] + '</option>';
|
||||
html += '<option value="<' + lookup[x][0] + '>">' + lookup[x][1] + '</option>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -117,16 +123,16 @@ var TinyMCE_AdvancedTheme = {
|
|||
return fontHTML;
|
||||
|
||||
case "fontsizeselect":
|
||||
return '<select id="{$editor_id}_fontSizeSelect" name="{$editor_id}_fontSizeSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontSize\',false,this.options[this.selectedIndex].value);" class="mceSelectList">\
|
||||
<option value="0">{$lang_theme_font_size}</option>\
|
||||
<option value="1">1 (8 pt)</option>\
|
||||
<option value="2">2 (10 pt)</option>\
|
||||
<option value="3">3 (12 pt)</option>\
|
||||
<option value="4">4 (14 pt)</option>\
|
||||
<option value="5">5 (18 pt)</option>\
|
||||
<option value="6">6 (24 pt)</option>\
|
||||
<option value="7">7 (36 pt)</option>\
|
||||
</select>';
|
||||
return '<select id="{$editor_id}_fontSizeSelect" name="{$editor_id}_fontSizeSelect" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'FontSize\',false,this.options[this.selectedIndex].value);" class="mceSelectList">'+
|
||||
'<option value="0">{$lang_theme_font_size}</option>'+
|
||||
'<option value="1">1 (8 pt)</option>'+
|
||||
'<option value="2">2 (10 pt)</option>'+
|
||||
'<option value="3">3 (12 pt)</option>'+
|
||||
'<option value="4">4 (14 pt)</option>'+
|
||||
'<option value="5">5 (18 pt)</option>'+
|
||||
'<option value="6">6 (24 pt)</option>'+
|
||||
'<option value="7">7 (36 pt)</option>'+
|
||||
'</select>';
|
||||
|
||||
case "|":
|
||||
case "separator":
|
||||
|
|
@ -458,7 +464,7 @@ var TinyMCE_AdvancedTheme = {
|
|||
var deltaHeight = 0;
|
||||
var resizing = tinyMCE.getParam("theme_advanced_resizing", false);
|
||||
var path = tinyMCE.getParam("theme_advanced_path", true);
|
||||
var statusbarHTML = '<div id="{$editor_id}_path" class="mceStatusbarPathText" style="display: ' + (path ? "block" : "none") + '"> </div><div id="{$editor_id}_resize" class="mceStatusbarResize" style="display: ' + (resizing ? "block" : "none") + '" onmousedown="tinyMCE.themes.advanced._setResizing(event,\'{$editor_id}\',true);"></div><br style="clear: both" />';
|
||||
var statusbarHTML = '<div id="{$editor_id}_path" class="mceStatusbarPathText" style="display: ' + (path ? "block" : "none") + '"> </div><div id="{$editor_id}_resize" class="mceStatusbarResize" style="display: ' + (resizing ? "block" : "none") + '" onmousedown="tinyMCE.themes.advanced._setResizing(event,\'{$editor_id}\',true);"></div><br style="clear: both" />';
|
||||
var layoutManager = tinyMCE.getParam("theme_advanced_layout_manager", "SimpleLayout");
|
||||
|
||||
// Setup style select options -- MOVED UP FOR EXTERNAL TOOLBAR COMPATABILITY!
|
||||
|
|
@ -583,11 +589,7 @@ var TinyMCE_AdvancedTheme = {
|
|||
for (var i = 0; i < containers.length; i++)
|
||||
{
|
||||
if (containers[i] == "mceEditor") //Exceptions for mceEditor and ...
|
||||
{
|
||||
template['html'] += '<tr><td align="center" class="mceEditor_border">\
|
||||
<span id="{$editor_id}"></span>\
|
||||
</td></tr>';
|
||||
}
|
||||
template['html'] += '<tr><td align="center" class="mceEditor_border"><span id="{$editor_id}"></span></td></tr>';
|
||||
else if (containers[i] == "mceElementpath" || containers[i] == "mceStatusbar") // ... mceElementpath:
|
||||
{
|
||||
var pathClass = "mceStatusbar";
|
||||
|
|
@ -814,7 +816,7 @@ var TinyMCE_AdvancedTheme = {
|
|||
}
|
||||
}
|
||||
|
||||
pathElm.innerHTML = '<a href="#" accesskey="x"></a>' + tinyMCE.getLang('lang_theme_path') + ": " + html + ' ';
|
||||
pathElm.innerHTML = '<a href="#" accesskey="x"></a>' + tinyMCE.getLang('lang_theme_path') + ": " + html + ' ';
|
||||
}
|
||||
|
||||
// Reset old states
|
||||
|
|
|
|||
|
|
@ -17,6 +17,11 @@ function onLoadInit() {
|
|||
|
||||
document.forms[0].htmlSource.value = fixContent(tinyMCE.getContent(tinyMCE.getWindowArg('editor_id')));
|
||||
resizeInputs();
|
||||
|
||||
if (tinyMCE.getParam("theme_advanced_source_editor_wrap", true)) {
|
||||
setWrap('soft');
|
||||
document.forms[0].wraped.checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
function setWrap(val) {
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
* Czech lang variables
|
||||
* encoding: utf-8
|
||||
*
|
||||
* $Id: cs.js,v 1.10 2005/10/18 13:55:39 spocke Exp $
|
||||
* $Id: cs.js,v 1.11 2006/03/20 14:32:00 spocke Exp $
|
||||
*/
|
||||
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
theme_style_select : 'Styly',
|
||||
theme_style_select : '-- Styly --',
|
||||
theme_code_desc : 'Zobrazit HTML',
|
||||
theme_code_title : 'Editace HTML',
|
||||
theme_code_wordwrap : 'Bez dělení slov',
|
||||
|
|
@ -21,7 +21,7 @@ insert_image_dimensions : 'Rozměry',
|
|||
insert_image_vspace : 'Vertikální okraj',
|
||||
insert_image_hspace : 'Horizontální okraj',
|
||||
insert_image_align : 'Zarovnání',
|
||||
insert_image_align_default : 'Výchozí',
|
||||
insert_image_align_default : '-- Výchozí --',
|
||||
insert_image_align_baseline : 'Na účaří',
|
||||
insert_image_align_top : 'Nahoru',
|
||||
insert_image_align_middle : 'Na střed',
|
||||
|
|
@ -65,6 +65,17 @@ image_list : 'Seznam',
|
|||
browse : 'Procházet',
|
||||
image_props_desc : 'Vlastnosti obrázku',
|
||||
newdocument_desc : 'Nový dokument',
|
||||
newdocument : 'Jste si opravdu jistý(á), že chcete vymazat veškerý obsah?'
|
||||
});
|
||||
|
||||
newdocument : 'Jste si opravdu jistý(á), že chcete vymazat veškerý obsah?',
|
||||
about_title : 'O TinyMCE',
|
||||
about : 'O nás',
|
||||
license : 'Licence',
|
||||
plugins : 'Pluginy',
|
||||
plugin : 'Plugin',
|
||||
author : 'Autor',
|
||||
version : 'Verze',
|
||||
loaded_plugins : 'Načtené pluginy',
|
||||
help : 'Nápověda',
|
||||
not_set : '-- Nenastaven --',
|
||||
close : 'Zavřít',
|
||||
toolbar_focus : 'Nastavení fokusu na nástrojovou lištu - Alt+Q, Nastavení fokusu na editor textu - Alt-Z, Nastavení fokusu na řádek zanoření elementů - Alt-X'
|
||||
});
|
||||
|
|
@ -1,23 +1,22 @@
|
|||
// Canadian French lang variables by Virtuelcom
|
||||
// Modify by Laurent Dran 13-02-2006
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
// FR lang variables
|
||||
// Modified by Motte, last updated 2006-03-23
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
theme_style_select : '-- Style --',
|
||||
theme_code_desc : 'Afficher le code source',
|
||||
theme_code_title : 'Édititon du code source',
|
||||
theme_code_wordwrap : 'Retour à la ligne automatique',
|
||||
theme_code_title : 'Edition du code source',
|
||||
theme_code_wordwrap : 'Retour à la ligne automatique',
|
||||
theme_sub_desc : 'Indice',
|
||||
theme_sup_desc : 'Exposant',
|
||||
theme_hr_desc : 'Insérer une règle horizontale ordinaire',
|
||||
theme_removeformat_desc : 'Supprimer le formattage',
|
||||
theme_custom1_desc : 'Votre description personnalisée ici',
|
||||
theme_hr_desc : 'Insérer une règle horizontale ordinaire',
|
||||
theme_removeformat_desc : 'Supprimer le formatage',
|
||||
theme_custom1_desc : 'Votre description personnalisée ici',
|
||||
insert_image_border : 'Bordure',
|
||||
insert_image_dimensions : 'Dimensions',
|
||||
insert_image_vspace : 'Espacement vertical',
|
||||
insert_image_hspace : 'Espacement horizontal',
|
||||
insert_image_align : 'Alignement',
|
||||
insert_image_align_default : '-- Indéfini --',
|
||||
insert_image_align_default : '-- Indéfini --',
|
||||
insert_image_align_baseline : 'Ligne de base',
|
||||
insert_image_align_top : 'Haut',
|
||||
insert_image_align_middle : 'Milieu',
|
||||
|
|
@ -25,15 +24,15 @@ insert_image_align_bottom : 'Bas',
|
|||
insert_image_align_texttop : 'Haut du texte',
|
||||
insert_image_align_absmiddle : 'Milieu absolu',
|
||||
insert_image_align_absbottom : 'Bas absolu',
|
||||
insert_image_align_left : 'En flottement à gauche',
|
||||
insert_image_align_right : 'En flottement à droite',
|
||||
insert_image_align_left : 'En flottement à gauche',
|
||||
insert_image_align_right : 'En flottement à droite',
|
||||
theme_font_size : '-- Taille --',
|
||||
theme_fontdefault : '-- Police --',
|
||||
theme_block : '-- Bloc de texte --',
|
||||
theme_paragraph : 'Paragraphe',
|
||||
theme_div : 'Div',
|
||||
theme_address : 'Infos sur l\'auteur',
|
||||
theme_pre : 'Texte préformaté',
|
||||
theme_pre : 'Texte préformaté',
|
||||
theme_h1 : 'Titre de niveau 1',
|
||||
theme_h2 : 'Titre de niveau 2',
|
||||
theme_h3 : 'Titre de niveau 3',
|
||||
|
|
@ -43,36 +42,36 @@ theme_h6 : 'Titre de niveau 6',
|
|||
theme_colorpicker_title : 'Choisir une couleur',
|
||||
theme_colorpicker_apply : 'Appliquer',
|
||||
theme_forecolor_desc : 'Couleur du texte',
|
||||
theme_backcolor_desc : 'Couleur d\'arrière-plan',
|
||||
theme_charmap_title : 'Sélectionner un charactère spécial',
|
||||
theme_charmap_desc : 'Insérer un charactère spécial',
|
||||
theme_visualaid_desc : 'Activer/Désactiver les lignes guides et les éléments invisibles',
|
||||
theme_backcolor_desc : 'Couleur d\'arrière-plan',
|
||||
theme_charmap_title : 'Sélectionner un charactère spécial',
|
||||
theme_charmap_desc : 'Insérer un charactère spécial',
|
||||
theme_visualaid_desc : 'Activer/Désactiver les lignes guides et les éléments invisibles',
|
||||
insert_anchor_title : 'Gestionnaire d\'ancre',
|
||||
insert_anchor_name : 'Nom de l\'ancre',
|
||||
theme_anchor_desc : 'Insérer/Modifier une ancre',
|
||||
theme_anchor_desc : 'Insérer/Modifier une ancre',
|
||||
theme_insert_link_titlefield : 'Info-bulle',
|
||||
theme_clipboard_msg : 'Pour des raisons de sécurité, les fonctions « Copier », « Couper » et « Coller »\nne sont pas disponibles dans Mozilla et Firefox.\n\n\nVoulez-vous plus d\'information à ce sujet?\n',
|
||||
theme_path : 'Élément(s) en cours ',
|
||||
theme_clipboard_msg : 'Pour des raisons de sécurité, les fonctions « Copier », « Couper » et « Coller »\nne sont pas disponibles dans Mozilla et Firefox.\n\n\nVoulez-vous plus d\'information à ce sujet?\n',
|
||||
theme_path : 'Elément(s) en cours ',
|
||||
cut_desc : 'Couper',
|
||||
copy_desc : 'Copier',
|
||||
paste_desc : 'Coller',
|
||||
link_list : 'Lien de la liste',
|
||||
image_list : 'Image de la liste',
|
||||
browse : 'Naviguer',
|
||||
image_props_desc : 'Propriétés de l\'image',
|
||||
image_props_desc : 'Propriétés de l\'image',
|
||||
newdocument_desc : 'Nouveau document',
|
||||
class_name : 'Classe CSS',
|
||||
newdocument : 'Êtes-vous sûr de vouloir supprimer tout le contenu ?',
|
||||
about_title : 'À propos de TinyMCE',
|
||||
about : 'À propos',
|
||||
newdocument : 'Etes-vous sûr de vouloir supprimer tout le contenu ?',
|
||||
about_title : 'A propos de TinyMCE',
|
||||
about : 'A propos',
|
||||
license : 'License',
|
||||
plugins : 'Extensions',
|
||||
plugin : 'Extension',
|
||||
author : 'Auteur',
|
||||
version : 'Version',
|
||||
loaded_plugins : 'Extensions installées',
|
||||
loaded_plugins : 'Extensions installées',
|
||||
help : 'Aide',
|
||||
not_set : '-- Indéfini --',
|
||||
not_set : '-- Indéfini --',
|
||||
close : 'Fermer',
|
||||
toolbar_focus : 'Atteindre la barre d\'outils (Alt+Q), Atteindre l\'éditeur (Alt-Z), Atteindre l\'élément en cours (Alt-X)'
|
||||
toolbar_focus : 'Atteindre la barre d\'outils (Alt+Q), Atteindre l\'éditeur (Alt-Z), Atteindre l\'élément en cours (Alt-X)'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
// Variabili di lingua IT - fabrix.xm@lombardiacom.it
|
||||
// IT lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
theme_style_select : 'Stili',
|
||||
theme_code_desc : 'Edita il sorgente HTML',
|
||||
theme_code_title : 'Editor Sorgente HTML',
|
||||
theme_code_wordwrap : 'Word wrap',
|
||||
theme_sub_desc : 'Pedice',
|
||||
theme_sup_desc : 'Apice',
|
||||
theme_hr_desc : 'Inserisci linea orizzontale',
|
||||
theme_style_select : '-- Stili --',
|
||||
theme_code_desc : 'Modifica codice HTML',
|
||||
theme_code_title : 'Editor HTML',
|
||||
theme_code_wordwrap : 'A capo',
|
||||
theme_sub_desc : 'Apice',
|
||||
theme_sup_desc : 'Pedice',
|
||||
theme_hr_desc : 'Inserisci riga orizzontale',
|
||||
theme_removeformat_desc : 'Rimuovi formattazione',
|
||||
theme_custom1_desc : 'Scrivi qui la tua descrizione personalizzata',
|
||||
theme_custom1_desc : 'La tua descrizione personalizzata',
|
||||
insert_image_border : 'Bordo',
|
||||
insert_image_dimensions : 'Dimensioni',
|
||||
insert_image_vspace : 'Spazio verticale',
|
||||
insert_image_hspace : 'Spazio orizzontale',
|
||||
insert_image_vspace : 'Spaziatura verticale',
|
||||
insert_image_hspace : 'Spaziatura orizzontale',
|
||||
insert_image_align : 'Allineamento',
|
||||
insert_image_align_default : 'Default',
|
||||
insert_image_align_baseline : 'Baseline',
|
||||
insert_image_align_top : 'Superiore',
|
||||
insert_image_align_middle : 'Centrale',
|
||||
insert_image_align_bottom : 'Inferiore',
|
||||
insert_image_align_texttop : 'TextTop',
|
||||
insert_image_align_absmiddle : 'Centro assoluto',
|
||||
insert_image_align_absbottom : 'Inferiore assoluto',
|
||||
insert_image_align_left : 'Sinistra',
|
||||
insert_image_align_right : 'Destra',
|
||||
theme_font_size : '-- Font size --',
|
||||
theme_fontdefault : '-- Font family --',
|
||||
theme_block : '-- Format --',
|
||||
insert_image_align_default : '-- Non impostato --',
|
||||
insert_image_align_baseline : 'Alla base',
|
||||
insert_image_align_top : 'In alto',
|
||||
insert_image_align_middle : 'In mezzo',
|
||||
insert_image_align_bottom : 'In basso',
|
||||
insert_image_align_texttop : 'In alto col testo',
|
||||
insert_image_align_absmiddle : 'In mezzo (assoluto)',
|
||||
insert_image_align_absbottom : 'In basso (assoluto)',
|
||||
insert_image_align_left : 'A sinistra',
|
||||
insert_image_align_right : 'A destra',
|
||||
theme_font_size : '-- Dimensione --',
|
||||
theme_fontdefault : '-- Font --',
|
||||
theme_block : '-- Formato --',
|
||||
theme_paragraph : 'Paragrafo',
|
||||
theme_div : 'Div',
|
||||
theme_address : 'Indirizzo',
|
||||
|
|
@ -38,27 +38,45 @@ theme_h3 : 'Intestazione 3',
|
|||
theme_h4 : 'Intestazione 4',
|
||||
theme_h5 : 'Intestazione 5',
|
||||
theme_h6 : 'Intestazione 6',
|
||||
theme_blockquote : 'Blockquote',
|
||||
theme_code : 'Codice',
|
||||
theme_samp : 'Esempio di codice',
|
||||
theme_dt : 'Definizione',
|
||||
theme_dd : 'Descrizione di definizione',
|
||||
theme_colorpicker_title : 'Seleziona un colore',
|
||||
theme_colorpicker_apply : 'Applica',
|
||||
theme_forecolor_desc : 'Seleziona il colore',
|
||||
theme_forecolor_desc : 'Seleziona il colore del testo',
|
||||
theme_backcolor_desc : 'Seleziona il colore di sfondo',
|
||||
theme_charmap_title : 'Seleziona un carattere custom',
|
||||
theme_charmap_desc : 'Inserisci un carattere custom',
|
||||
theme_visualaid_desc : 'Mostra/nascondi linee guida e elementi invisibili',
|
||||
insert_anchor_title : 'Inserisci/modifica àncora',
|
||||
insert_anchor_name : 'Nome àncora',
|
||||
theme_anchor_desc : 'Inserisci/modifica àncora',
|
||||
theme_charmap_title : 'Seleziona un carattere personalizzato',
|
||||
theme_charmap_desc : 'Inserisci un carattere personalizzato',
|
||||
theme_visualaid_desc : 'Abilita o disabilita guide visuali',
|
||||
insert_anchor_title : 'Inserisci o modifica un\'ancora',
|
||||
insert_anchor_name : 'Nome dell\'ancora',
|
||||
theme_anchor_desc : 'Inserisci o modifica l\'ancora',
|
||||
theme_insert_link_titlefield : 'Titolo',
|
||||
theme_clipboard_msg : 'Copia, Taglia e Incolla non sono disponibili in Mozilla e Firefox.\nVuoi maggiori dettegli su questo problema?',
|
||||
theme_clipboard_msg : 'Le operazioni di taglia, copia e incolla non sono disponibili in Firefox. Vuoi ricevere ulteriori informazioni al riguardo?',
|
||||
theme_path : 'Percorso',
|
||||
cut_desc : 'Taglia',
|
||||
copy_desc : 'Copia',
|
||||
paste_desc : 'Incolla',
|
||||
link_list : 'Lista link',
|
||||
image_list : 'Lista immagini',
|
||||
link_list : 'Lista di link',
|
||||
image_list : 'Lista di immagini',
|
||||
browse : 'Sfoglia',
|
||||
image_props_desc : 'Proprietà dell\'immagine',
|
||||
image_props_desc : 'Proprietà dell\'immagine',
|
||||
newdocument_desc : 'Nuovo documento',
|
||||
class_name : 'Classe',
|
||||
newdocument : 'Sicuro di voler cancellare l\'intero contenuto?'
|
||||
class_name : 'Classe',
|
||||
newdocument : 'Sei sicuro di voler cancellare tutto?',
|
||||
about_title : 'Informazioni su TinyMCE',
|
||||
about : 'Informazioni',
|
||||
license : 'Licenza',
|
||||
plugins : 'Plugin',
|
||||
plugin : 'Plugin',
|
||||
author : 'Autore',
|
||||
version : 'Versione',
|
||||
loaded_plugins : 'Plugin caricati',
|
||||
help : 'Aiuto',
|
||||
not_set : '-- Non impostato --',
|
||||
close : 'Chiudi',
|
||||
toolbar_focus : 'Passa ai bottoni - Alt+Q, Passa all\'editor - Alt-Z, Passa al percorso - Alt-X',
|
||||
theme_advanced_anchor_delta_width : 25
|
||||
});
|
||||
|
|
|
|||
|
|
@ -40,12 +40,12 @@ theme_paragraph : 'Odstavec',
|
|||
theme_div : 'Div',
|
||||
theme_address : 'Adresa',
|
||||
theme_pre : 'Predformát',
|
||||
theme_h1 : 'Nádpis 1',
|
||||
theme_h2 : 'Nádpis 2',
|
||||
theme_h3 : 'Nádpis 3',
|
||||
theme_h4 : 'Nádpis 4',
|
||||
theme_h5 : 'Nádpis 5',
|
||||
theme_h6 : 'Nádpis 6',
|
||||
theme_h1 : 'Nadpis 1',
|
||||
theme_h2 : 'Nadpis 2',
|
||||
theme_h3 : 'Nadpis 3',
|
||||
theme_h4 : 'Nadpis 4',
|
||||
theme_h5 : 'Nadpis 5',
|
||||
theme_h6 : 'Nadpis 6',
|
||||
theme_colorpicker_title : 'Výber farby',
|
||||
theme_colorpicker_apply : 'Vybrať',
|
||||
theme_forecolor_desc : 'Farba popredia',
|
||||
|
|
|
|||
|
|
@ -44,6 +44,10 @@
|
|||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.mceEditorIframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* Button CSS rules */
|
||||
|
||||
a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
var TinyMCE_SimpleTheme={_buttonMap:'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo',getEditorTemplate:function(){var html='';html+='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}">';html+='<tr><td align="center">';html+='<span id="{$editor_id}">IFRAME</span>';html+='</td></tr>';html+='<tr><td class="mceToolbar" align="center" height="1">';html+=tinyMCE.getButtonHTML('bold','lang_bold_desc','{$themeurl}/images/{$lang_bold_img}','Bold');html+=tinyMCE.getButtonHTML('italic','lang_italic_desc','{$themeurl}/images/{$lang_italic_img}','Italic');html+=tinyMCE.getButtonHTML('underline','lang_underline_desc','{$themeurl}/images/{$lang_underline_img}','Underline');html+=tinyMCE.getButtonHTML('strikethrough','lang_striketrough_desc','{$themeurl}/images/strikethrough.gif','Strikethrough');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine">';html+=tinyMCE.getButtonHTML('undo','lang_undo_desc','{$themeurl}/images/undo.gif','Undo');html+=tinyMCE.getButtonHTML('redo','lang_redo_desc','{$themeurl}/images/redo.gif','Redo');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine">';html+=tinyMCE.getButtonHTML('cleanup','lang_cleanup_desc','{$themeurl}/images/cleanup.gif','mceCleanup')
|
||||
html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine">';html+=tinyMCE.getButtonHTML('bullist','lang_bullist_desc','{$themeurl}/images/bullist.gif','InsertUnorderedList')
|
||||
var TinyMCE_SimpleTheme={_buttonMap:'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo',getEditorTemplate:function(){var html='';html+='<table class="mceEditor" border="0" cellpadding="0" cellspacing="0" width="{$width}" height="{$height}">';html+='<tr><td align="center">';html+='<span id="{$editor_id}">IFRAME</span>';html+='</td></tr>';html+='<tr><td class="mceToolbar" align="center" height="1">';html+=tinyMCE.getButtonHTML('bold','lang_bold_desc','{$themeurl}/images/{$lang_bold_img}','Bold');html+=tinyMCE.getButtonHTML('italic','lang_italic_desc','{$themeurl}/images/{$lang_italic_img}','Italic');html+=tinyMCE.getButtonHTML('underline','lang_underline_desc','{$themeurl}/images/{$lang_underline_img}','Underline');html+=tinyMCE.getButtonHTML('strikethrough','lang_striketrough_desc','{$themeurl}/images/strikethrough.gif','Strikethrough');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('undo','lang_undo_desc','{$themeurl}/images/undo.gif','Undo');html+=tinyMCE.getButtonHTML('redo','lang_redo_desc','{$themeurl}/images/redo.gif','Redo');html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('cleanup','lang_cleanup_desc','{$themeurl}/images/cleanup.gif','mceCleanup')
|
||||
html+='<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';html+=tinyMCE.getButtonHTML('bullist','lang_bullist_desc','{$themeurl}/images/bullist.gif','InsertUnorderedList')
|
||||
html+=tinyMCE.getButtonHTML('numlist','lang_numlist_desc','{$themeurl}/images/numlist.gif','InsertOrderedList')
|
||||
html+='</td></tr></table>';return{delta_width:0,delta_height:20,html:html};},handleNodeChange:function(editor_id,node){tinyMCE.switchClass(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClass(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClass(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClass(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClass(editor_id+'_numlist','mceButtonNormal');do{switch(node.nodeName.toLowerCase()){case"b":case"strong":tinyMCE.switchClass(editor_id+'_bold','mceButtonSelected');break;case"i":case"em":tinyMCE.switchClass(editor_id+'_italic','mceButtonSelected');break;case"u":tinyMCE.switchClass(editor_id+'_underline','mceButtonSelected');break;case"strike":tinyMCE.switchClass(editor_id+'_strikethrough','mceButtonSelected');break;case"ul":tinyMCE.switchClass(editor_id+'_bullist','mceButtonSelected');break;case"ol":tinyMCE.switchClass(editor_id+'_numlist','mceButtonSelected');break;}}while((node=node.parentNode)!=null);}};tinyMCE.addTheme("simple",TinyMCE_SimpleTheme);tinyMCE.addButtonMap(TinyMCE_SimpleTheme._buttonMap);
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* $RCSfile: editor_template_src.js,v $
|
||||
* $Revision: 1.8 $
|
||||
* $Date: 2006/02/11 18:53:53 $
|
||||
* $Revision: 1.9 $
|
||||
* $Date: 2006/04/18 13:32:53 $
|
||||
*
|
||||
* @author Moxiecode
|
||||
* @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
|
||||
|
|
@ -23,12 +23,12 @@ var TinyMCE_SimpleTheme = {
|
|||
html += tinyMCE.getButtonHTML('italic', 'lang_italic_desc', '{$themeurl}/images/{$lang_italic_img}', 'Italic');
|
||||
html += tinyMCE.getButtonHTML('underline', 'lang_underline_desc', '{$themeurl}/images/{$lang_underline_img}', 'Underline');
|
||||
html += tinyMCE.getButtonHTML('strikethrough', 'lang_striketrough_desc', '{$themeurl}/images/strikethrough.gif', 'Strikethrough');
|
||||
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine">';
|
||||
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';
|
||||
html += tinyMCE.getButtonHTML('undo', 'lang_undo_desc', '{$themeurl}/images/undo.gif', 'Undo');
|
||||
html += tinyMCE.getButtonHTML('redo', 'lang_redo_desc', '{$themeurl}/images/redo.gif', 'Redo');
|
||||
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine">';
|
||||
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';
|
||||
html += tinyMCE.getButtonHTML('cleanup', 'lang_cleanup_desc', '{$themeurl}/images/cleanup.gif', 'mceCleanup')
|
||||
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine">';
|
||||
html += '<img src="{$themeurl}/images/separator.gif" width="2" height="20" class="mceSeparatorLine" />';
|
||||
html += tinyMCE.getButtonHTML('bullist', 'lang_bullist_desc', '{$themeurl}/images/bullist.gif', 'InsertUnorderedList')
|
||||
html += tinyMCE.getButtonHTML('numlist', 'lang_numlist_desc', '{$themeurl}/images/numlist.gif', 'InsertOrderedList')
|
||||
html += '</td></tr></table>';
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -256,6 +256,16 @@ TinyMCE_Popup.prototype.openBrowser = function(element_id, type, option) {
|
|||
eval("tinyMCEPopup.windowOpener." + cb + "(element_id, url, type, window);");
|
||||
};
|
||||
|
||||
|
||||
TinyMCE_Popup.prototype.importClass = function(c) {
|
||||
window[c] = function() {};
|
||||
|
||||
for (var n in window.opener[c].prototype)
|
||||
window[c].prototype[n] = window.opener[c].prototype[n];
|
||||
|
||||
window[c].constructor = window.opener[c].constructor;
|
||||
};
|
||||
|
||||
// Setup global instance
|
||||
var tinyMCEPopup = new TinyMCE_Popup();
|
||||
|
||||
|
|
|
|||
|
|
@ -3,13 +3,15 @@
|
|||
|
||||
function TinyMCE_Engine() {
|
||||
this.majorVersion = "2";
|
||||
this.minorVersion = "0.5.1";
|
||||
this.releaseDate = "2006-03-22";
|
||||
this.minorVersion = "0.6.1";
|
||||
this.releaseDate = "2006-05-04";
|
||||
|
||||
this.instances = new Array();
|
||||
this.switchClassCache = new Array();
|
||||
this.windowArgs = new Array();
|
||||
this.loadedFiles = new Array();
|
||||
this.pendingFiles = new Array();
|
||||
this.loadingIndex = 0;
|
||||
this.configs = new Array();
|
||||
this.currentConfig = 0;
|
||||
this.eventHandlers = new Array();
|
||||
|
|
@ -127,7 +129,7 @@ TinyMCE_Engine.prototype = {
|
|||
this._def("inline_styles", false);
|
||||
this._def("convert_newlines_to_brs", false);
|
||||
this._def("auto_reset_designmode", true);
|
||||
this._def("entities", "160,nbsp,161,iexcl,162,cent,163,pound,164,curren,165,yen,166,brvbar,167,sect,168,uml,169,copy,170,ordf,171,laquo,172,not,173,shy,174,reg,175,macr,176,deg,177,plusmn,178,sup2,179,sup3,180,acute,181,micro,182,para,183,middot,184,cedil,185,sup1,186,ordm,187,raquo,188,frac14,189,frac12,190,frac34,191,iquest,192,Agrave,193,Aacute,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,201,Eacute,202,Ecirc,203,Euml,204,Igrave,205,Iacute,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,211,Oacute,212,Ocirc,213,Otilde,214,Ouml,215,times,216,Oslash,217,Ugrave,218,Uacute,219,Ucirc,220,Uuml,221,Yacute,222,THORN,223,szlig,224,agrave,225,aacute,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,233,eacute,234,ecirc,235,euml,236,igrave,237,iacute,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,243,oacute,244,ocirc,245,otilde,246,ouml,247,divide,248,oslash,249,ugrave,250,uacute,251,ucirc,252,uuml,253,yacute,254,thorn,255,yuml,402,fnof,913,Alpha,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,977,thetasym,978,upsih,982,piv,8226,bull,8230,hellip,8242,prime,8243,Prime,8254,oline,8260,frasl,8472,weierp,8465,image,8476,real,8482,trade,8501,alefsym,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8704,forall,8706,part,8707,exist,8709,empty,8711,nabla,8712,isin,8713,notin,8715,ni,8719,prod,8721,sum,8722,minus,8727,lowast,8730,radic,8733,prop,8734,infin,8736,ang,8743,and,8744,or,8745,cap,8746,cup,8747,int,8756,there4,8764,sim,8773,cong,8776,asymp,8800,ne,8801,equiv,8804,le,8805,ge,8834,sub,8835,sup,8836,nsub,8838,sube,8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,34,quot,38,amp,60,lt,62,gt,338,OElig,339,oelig,352,Scaron,353,scaron,376,Yuml,710,circ,732,tilde,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,8211,ndash,8212,mdash,8216,lsquo,8217,rsquo,8218,sbquo,8220,ldquo,8221,rdquo,8222,bdquo,8224,dagger,8225,Dagger,8240,permil,8249,lsaquo,8250,rsaquo,8364,euro", true);
|
||||
this._def("entities", "39,#39,160,nbsp,161,iexcl,162,cent,163,pound,164,curren,165,yen,166,brvbar,167,sect,168,uml,169,copy,170,ordf,171,laquo,172,not,173,shy,174,reg,175,macr,176,deg,177,plusmn,178,sup2,179,sup3,180,acute,181,micro,182,para,183,middot,184,cedil,185,sup1,186,ordm,187,raquo,188,frac14,189,frac12,190,frac34,191,iquest,192,Agrave,193,Aacute,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,201,Eacute,202,Ecirc,203,Euml,204,Igrave,205,Iacute,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,211,Oacute,212,Ocirc,213,Otilde,214,Ouml,215,times,216,Oslash,217,Ugrave,218,Uacute,219,Ucirc,220,Uuml,221,Yacute,222,THORN,223,szlig,224,agrave,225,aacute,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,233,eacute,234,ecirc,235,euml,236,igrave,237,iacute,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,243,oacute,244,ocirc,245,otilde,246,ouml,247,divide,248,oslash,249,ugrave,250,uacute,251,ucirc,252,uuml,253,yacute,254,thorn,255,yuml,402,fnof,913,Alpha,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,977,thetasym,978,upsih,982,piv,8226,bull,8230,hellip,8242,prime,8243,Prime,8254,oline,8260,frasl,8472,weierp,8465,image,8476,real,8482,trade,8501,alefsym,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8704,forall,8706,part,8707,exist,8709,empty,8711,nabla,8712,isin,8713,notin,8715,ni,8719,prod,8721,sum,8722,minus,8727,lowast,8730,radic,8733,prop,8734,infin,8736,ang,8743,and,8744,or,8745,cap,8746,cup,8747,int,8756,there4,8764,sim,8773,cong,8776,asymp,8800,ne,8801,equiv,8804,le,8805,ge,8834,sub,8835,sup,8836,nsub,8838,sube,8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,34,quot,38,amp,60,lt,62,gt,338,OElig,339,oelig,352,Scaron,353,scaron,376,Yuml,710,circ,732,tilde,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,8211,ndash,8212,mdash,8216,lsquo,8217,rsquo,8218,sbquo,8220,ldquo,8221,rdquo,8222,bdquo,8224,dagger,8225,Dagger,8240,permil,8249,lsaquo,8250,rsaquo,8364,euro", true);
|
||||
this._def("entity_encoding", "named");
|
||||
this._def("cleanup_callback", "");
|
||||
this._def("add_unload_trigger", true);
|
||||
|
|
@ -159,6 +161,13 @@ TinyMCE_Engine.prototype = {
|
|||
this._def("content_css", '');
|
||||
this._def("fix_list_elements", false);
|
||||
this._def("fix_table_elements", false);
|
||||
this._def("strict_loading_mode", document.contentType == 'application/xhtml+xml');
|
||||
this._def("hidden_tab_class", '');
|
||||
this._def("display_tab_class", '');
|
||||
|
||||
// Force strict loading mode to false on non Gecko browsers
|
||||
if (this.isMSIE && !this.isOpera)
|
||||
this.settings.strict_loading_mode = false;
|
||||
|
||||
// Browser check IE
|
||||
if (this.isMSIE && this.settings['browsers'].indexOf('msie') == -1)
|
||||
|
|
@ -198,9 +207,9 @@ TinyMCE_Engine.prototype = {
|
|||
this.settings['base_href'] = baseHREF.substring(0, baseHREF.lastIndexOf('/')) + "/";
|
||||
|
||||
theme = this.settings['theme'];
|
||||
this.blockRegExp = new RegExp("^(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|blockquote|center|dl|dir|fieldset|form|noscript|noframes|menu|isindex)$", "i");
|
||||
this.blockRegExp = new RegExp("^(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|blockquote|center|dl|dt|dd|dir|fieldset|form|noscript|noframes|menu|isindex|samp)$", "i");
|
||||
this.posKeyCodes = new Array(13,45,36,35,33,34,37,38,39,40);
|
||||
this.uniqueURL = 'http://tinymce.moxiecode.cp/mce_temp_url'; // Make unique URL non real URL
|
||||
this.uniqueURL = 'javascript:TINYMCE_UNIQUEURL();'; // Make unique URL non real URL
|
||||
this.uniqueTag = '<div id="mceTMPElement" style="display: none">TMP</div>';
|
||||
this.callbacks = new Array('onInit', 'getInfo', 'getEditorTemplate', 'setupContent', 'onChange', 'onPageLoad', 'handleNodeChange', 'initInstance', 'execCommand', 'getControlHTML', 'handleEvent', 'cleanup');
|
||||
|
||||
|
|
@ -287,6 +296,9 @@ TinyMCE_Engine.prototype = {
|
|||
// Save away this config
|
||||
settings['index'] = this.configs.length;
|
||||
this.configs[this.configs.length] = settings;
|
||||
|
||||
// Start loading first one in chain
|
||||
this.loadNextScript();
|
||||
},
|
||||
|
||||
_addUnloadEvents : function() {
|
||||
|
|
@ -319,6 +331,8 @@ TinyMCE_Engine.prototype = {
|
|||
// Use the previous plugin object base URL used when loading external plugins
|
||||
p.baseURL = op ? op.baseURL : tinyMCE.baseURL + "/plugins/" + n;
|
||||
this.plugins[n] = p;
|
||||
|
||||
this.loadNextScript();
|
||||
},
|
||||
|
||||
setPluginBaseURL : function(n, u) {
|
||||
|
|
@ -343,6 +357,8 @@ TinyMCE_Engine.prototype = {
|
|||
|
||||
addTheme : function(n, t) {
|
||||
this.themes[n] = t;
|
||||
|
||||
this.loadNextScript();
|
||||
},
|
||||
|
||||
addMenu : function(n, m) {
|
||||
|
|
@ -354,21 +370,43 @@ TinyMCE_Engine.prototype = {
|
|||
},
|
||||
|
||||
loadScript : function(url) {
|
||||
for (var i=0; i<this.loadedFiles.length; i++) {
|
||||
var i;
|
||||
|
||||
for (i=0; i<this.loadedFiles.length; i++) {
|
||||
if (this.loadedFiles[i] == url)
|
||||
return;
|
||||
}
|
||||
|
||||
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></script>');
|
||||
if (tinyMCE.settings.strict_loading_mode)
|
||||
this.pendingFiles[this.pendingFiles.length] = url;
|
||||
else
|
||||
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></script>');
|
||||
|
||||
this.loadedFiles[this.loadedFiles.length] = url;
|
||||
},
|
||||
|
||||
loadNextScript : function() {
|
||||
var d = document, se;
|
||||
|
||||
if (!tinyMCE.settings.strict_loading_mode)
|
||||
return;
|
||||
|
||||
if (this.loadingIndex < this.pendingFiles.length) {
|
||||
se = d.createElementNS('http://www.w3.org/1999/xhtml', 'script');
|
||||
se.setAttribute('language', 'javascript');
|
||||
se.setAttribute('type', 'text/javascript');
|
||||
se.setAttribute('src', this.pendingFiles[this.loadingIndex++]);
|
||||
|
||||
d.getElementsByTagName("head")[0].appendChild(se);
|
||||
} else
|
||||
this.loadingIndex = -1; // Done with loading
|
||||
},
|
||||
|
||||
loadCSS : function(url) {
|
||||
var ar = url.replace(/\s+/, '').split(',');
|
||||
var lflen = 0, csslen = 0;
|
||||
var skip = false;
|
||||
var x = 0, i = 0;
|
||||
var x = 0, i = 0, nl, le;
|
||||
|
||||
for (x = 0,csslen = ar.length; x<csslen; x++) {
|
||||
ignore_css = false;
|
||||
|
|
@ -383,7 +421,18 @@ TinyMCE_Engine.prototype = {
|
|||
}
|
||||
|
||||
if (!skip) {
|
||||
document.write('<link href="' + ar[x] + '" rel="stylesheet" type="text/css" />');
|
||||
if (tinyMCE.settings.strict_loading_mode) {
|
||||
nl = document.getElementsByTagName("head");
|
||||
|
||||
le = document.createElement('link');
|
||||
le.setAttribute('href', ar[x]);
|
||||
le.setAttribute('rel', 'stylesheet');
|
||||
le.setAttribute('type', 'text/css');
|
||||
|
||||
nl[0].appendChild(le);
|
||||
} else
|
||||
document.write('<link href="' + ar[x] + '" rel="stylesheet" type="text/css" />');
|
||||
|
||||
this.loadedFiles[this.loadedFiles.length] = ar[x];
|
||||
}
|
||||
}
|
||||
|
|
@ -658,7 +707,7 @@ TinyMCE_Engine.prototype = {
|
|||
}
|
||||
|
||||
iframe.setAttribute("id", id);
|
||||
iframe.setAttribute("className", "mceEditorIframe");
|
||||
iframe.setAttribute("class", "mceEditorIframe");
|
||||
iframe.setAttribute("border", "0");
|
||||
iframe.setAttribute("frameBorder", "0");
|
||||
iframe.setAttribute("marginWidth", "0");
|
||||
|
|
@ -668,6 +717,7 @@ TinyMCE_Engine.prototype = {
|
|||
iframe.setAttribute("width", aw);
|
||||
iframe.setAttribute("height", ah);
|
||||
iframe.setAttribute("allowtransparency", "true");
|
||||
iframe.className = 'mceEditorIframe';
|
||||
|
||||
if (tinyMCE.settings["auto_resize"])
|
||||
iframe.setAttribute("scrolling", "no");
|
||||
|
|
@ -679,6 +729,10 @@ TinyMCE_Engine.prototype = {
|
|||
iframe.style.width = aw;
|
||||
iframe.style.height = ah;
|
||||
|
||||
// Ugly hack for Gecko problem in strict mode
|
||||
if (tinyMCE.settings.strict_loading_mode)
|
||||
iframe.style.marginBottom = '-5px';
|
||||
|
||||
// MSIE 5.0 issue
|
||||
if (tinyMCE.isMSIE && !tinyMCE.isOpera)
|
||||
replace_element.outerHTML = iframe.outerHTML;
|
||||
|
|
@ -697,6 +751,14 @@ TinyMCE_Engine.prototype = {
|
|||
var head = doc.getElementsByTagName('head').item(0);
|
||||
var content = inst.startContent;
|
||||
|
||||
// HTML values get XML encoded in strict mode
|
||||
if (tinyMCE.settings.strict_loading_mode) {
|
||||
content = content.replace(/</g, '<');
|
||||
content = content.replace(/>/g, '>');
|
||||
content = content.replace(/"/g, '"');
|
||||
content = content.replace(/&/g, '&');
|
||||
}
|
||||
|
||||
inst.switchSettings();
|
||||
|
||||
// Not loaded correctly hit it again, Mozilla bug #997860
|
||||
|
|
@ -851,6 +913,22 @@ TinyMCE_Engine.prototype = {
|
|||
inst.startContent = tinyMCE.trim(inst.getBody().innerHTML);
|
||||
inst.undoRedo.add({ content : inst.startContent });
|
||||
|
||||
// Cleanup any mess left from storyAwayURLs
|
||||
if (tinyMCE.isGecko) {
|
||||
// Remove mce_src from textnodes and comments
|
||||
tinyMCE.selectNodes(inst.getBody(), function(n) {
|
||||
if (n.nodeType == 3 || n.nodeType == 8) {
|
||||
n.nodeValue = n.nodeValue.replace(new RegExp('\\smce_src=\"[^\"]*\"', 'gi'), "");
|
||||
n.nodeValue = n.nodeValue.replace(new RegExp('\\smce_href=\"[^\"]*\"', 'gi'), "");
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
// Cleanup any mess left from storyAwayURLs
|
||||
tinyMCE._removeInternal(inst.getBody());
|
||||
|
||||
tinyMCE.selectedInstance = inst;
|
||||
tinyMCE.triggerNodeChange(false, true);
|
||||
},
|
||||
|
|
@ -868,6 +946,20 @@ TinyMCE_Engine.prototype = {
|
|||
return s;
|
||||
},
|
||||
|
||||
_removeInternal : function(n) {
|
||||
if (tinyMCE.isGecko) {
|
||||
// Remove mce_src from textnodes and comments
|
||||
tinyMCE.selectNodes(n, function(n) {
|
||||
if (n.nodeType == 3 || n.nodeType == 8) {
|
||||
n.nodeValue = n.nodeValue.replace(new RegExp('\\smce_src=\"[^\"]*\"', 'gi'), "");
|
||||
n.nodeValue = n.nodeValue.replace(new RegExp('\\smce_href=\"[^\"]*\"', 'gi'), "");
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
removeTinyMCEFormElements : function(form_obj) {
|
||||
// Check if form is valid
|
||||
if (typeof(form_obj) == "undefined" || form_obj == null)
|
||||
|
|
@ -922,7 +1014,23 @@ TinyMCE_Engine.prototype = {
|
|||
if (tinyMCE.selectedInstance)
|
||||
tinyMCE.selectedInstance.setBaseHREF(null);
|
||||
|
||||
window.setTimeout("tinyMCE.selectedInstance.setBaseHREF(tinyMCE.settings['base_href']);", 1);
|
||||
// Fixes odd MSIE bug where drag/droping elements in a iframe with height 100% breaks
|
||||
// This logic forces the width/height to be in pixels while the user is drag/dropping
|
||||
if (tinyMCE.isMSIE && !tinyMCE.isOpera) {
|
||||
var ife = tinyMCE.selectedInstance.iframeElement;
|
||||
|
||||
/*if (ife.style.width.indexOf('%') != -1) {
|
||||
ife._oldWidth = ife.width.height;
|
||||
ife.style.width = ife.clientWidth;
|
||||
}*/
|
||||
|
||||
if (ife.style.height.indexOf('%') != -1) {
|
||||
ife._oldHeight = ife.style.height;
|
||||
ife.style.height = ife.clientHeight;
|
||||
}
|
||||
}
|
||||
|
||||
window.setTimeout("tinyMCE.selectedInstance.setBaseHREF(tinyMCE.settings['base_href']);tinyMCE._resetIframeHeight();", 1);
|
||||
return;
|
||||
|
||||
case "submit":
|
||||
|
|
@ -1241,6 +1349,12 @@ TinyMCE_Engine.prototype = {
|
|||
},
|
||||
|
||||
onLoad : function() {
|
||||
// Wait for everything to be loaded first
|
||||
if (tinyMCE.settings.strict_loading_mode && this.loadingIndex != -1) {
|
||||
window.setTimeout('tinyMCE.onLoad();', 1);
|
||||
return;
|
||||
}
|
||||
|
||||
if (tinyMCE.isMSIE && !tinyMCE.isOpera && window.event.type == "readystatechange" && document.readyState != "complete")
|
||||
return true;
|
||||
|
||||
|
|
@ -1425,6 +1539,8 @@ TinyMCE_Engine.prototype = {
|
|||
tinyMCELang[(key.indexOf('lang_') == -1 ? 'lang_' : '') + (prefix != '' ? (prefix + "_") : '') + key] = ar[key];
|
||||
}
|
||||
|
||||
this.loadNextScript();
|
||||
|
||||
// for (var key in ar)
|
||||
// tinyMCELang[(key.indexOf('lang_') == -1 ? 'lang_' : '') + (prefix != '' ? (prefix + "_") : '') + key] = "|" + ar[key] + "|";
|
||||
},
|
||||
|
|
@ -1671,10 +1787,13 @@ TinyMCE_Engine.prototype = {
|
|||
return className;
|
||||
},
|
||||
|
||||
handleVisualAid : function(el, deep, state, inst) {
|
||||
handleVisualAid : function(el, deep, state, inst, skip_dispatch) {
|
||||
if (!el)
|
||||
return;
|
||||
|
||||
if (!skip_dispatch)
|
||||
tinyMCE.dispatchCallback(inst, 'handle_visual_aid_callback', 'handleVisualAid', el, deep, state, inst);
|
||||
|
||||
var tableElement = null;
|
||||
|
||||
switch (el.nodeName) {
|
||||
|
|
@ -1713,7 +1832,7 @@ TinyMCE_Engine.prototype = {
|
|||
|
||||
if (deep && el.hasChildNodes()) {
|
||||
for (var i=0; i<el.childNodes.length; i++)
|
||||
tinyMCE.handleVisualAid(el.childNodes[i], deep, state, inst);
|
||||
tinyMCE.handleVisualAid(el.childNodes[i], deep, state, inst, true);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -1751,35 +1870,54 @@ TinyMCE_Engine.prototype = {
|
|||
*/
|
||||
|
||||
fixGeckoBaseHREFBug : function(m, e, h) {
|
||||
var nl, i;
|
||||
var nl, i, a, n, xsrc, xhref, el;
|
||||
|
||||
if (tinyMCE.isGecko) {
|
||||
if (m == 1) {
|
||||
h = h.replace(/\ssrc=/gi, " xsrc=");
|
||||
h = h.replace(/\shref=/gi, " xhref=");
|
||||
h = h.replace(/\ssrc=/gi, " mce_tsrc=");
|
||||
h = h.replace(/\shref=/gi, " mce_thref=");
|
||||
|
||||
return h;
|
||||
} else {
|
||||
var el = new Array('a','img','select','area','iframe','base','input','script','embed','object','link');
|
||||
el = new Array('a','img','select','area','iframe','base','input','script','embed','object','link');
|
||||
|
||||
for (var a=0; a<el.length; a++) {
|
||||
var n = e.getElementsByTagName(el[a]);
|
||||
for (a=0; a<el.length; a++) {
|
||||
n = e.getElementsByTagName(el[a]);
|
||||
|
||||
for (i=0; i<n.length; i++) {
|
||||
var xsrc = tinyMCE.getAttrib(n[i], "xsrc");
|
||||
var xhref = tinyMCE.getAttrib(n[i], "xhref");
|
||||
xsrc = tinyMCE.getAttrib(n[i], "mce_tsrc");
|
||||
xhref = tinyMCE.getAttrib(n[i], "mce_thref");
|
||||
|
||||
if (xsrc != "") {
|
||||
n[i].src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], xsrc);
|
||||
n[i].removeAttribute("xsrc");
|
||||
try {
|
||||
n[i].src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], xsrc);
|
||||
} catch (e) {
|
||||
// Ignore, Firefox cast exception if local file wasn't found
|
||||
}
|
||||
|
||||
n[i].removeAttribute("mce_tsrc");
|
||||
}
|
||||
|
||||
if (xhref != "") {
|
||||
n[i].href = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], xhref);
|
||||
n[i].removeAttribute("xhref");
|
||||
try {
|
||||
n[i].href = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], xhref);
|
||||
} catch (e) {
|
||||
// Ignore, Firefox cast exception if local file wasn't found
|
||||
}
|
||||
|
||||
n[i].removeAttribute("mce_thref");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
el = tinyMCE.selectNodes(e, function(n) {
|
||||
if (n.nodeType == 3 || n.nodeType == 8) {
|
||||
n.nodeValue = n.nodeValue.replace(/\smce_tsrc=/gi, " src=");
|
||||
n.nodeValue = n.nodeValue.replace(/\smce_thref=/gi, " href=");
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1920,14 +2058,14 @@ TinyMCE_Engine.prototype = {
|
|||
}
|
||||
|
||||
if (doc) {
|
||||
var styles = tinyMCE.isMSIE ? doc.styleSheets : doc.styleSheets;
|
||||
var styles = doc.styleSheets;
|
||||
|
||||
if (styles && styles.length > 0) {
|
||||
for (var x=0; x<styles.length; x++) {
|
||||
var csses = null;
|
||||
|
||||
// Just ignore any errors
|
||||
eval("try {var csses = tinyMCE.isMSIE ? doc.styleSheets(" + x + ").rules : doc.styleSheets[" + x + "].cssRules;} catch(e) {}");
|
||||
eval("try {var csses = tinyMCE.isMSIE ? doc.styleSheets(" + x + ").rules : styles[" + x + "].cssRules;} catch(e) {}");
|
||||
if (!csses)
|
||||
return new Array();
|
||||
|
||||
|
|
@ -1938,17 +2076,31 @@ TinyMCE_Engine.prototype = {
|
|||
if (selectorText) {
|
||||
var rules = selectorText.split(',');
|
||||
for (var c=0; c<rules.length; c++) {
|
||||
var rule = rules[c];
|
||||
|
||||
// Strip spaces between selectors
|
||||
while (rule.indexOf(' ') == 0)
|
||||
rule = rule.substring(1);
|
||||
|
||||
// Invalid rule
|
||||
if (rules[c].indexOf(' ') != -1 || rules[c].indexOf(':') != -1 || rules[c].indexOf('mceItem') != -1)
|
||||
if (rule.indexOf(' ') != -1 || rule.indexOf(':') != -1 || rule.indexOf('mceItem') != -1)
|
||||
continue;
|
||||
|
||||
if (rules[c] == "." + tinyMCE.settings['visual_table_class'] || rules[c].indexOf('mceEditable') != -1 || rules[c].indexOf('mceNonEditable') != -1)
|
||||
if (rule.indexOf(tinyMCE.settings['visual_table_class']) != -1 || rule.indexOf('mceEditable') != -1 || rule.indexOf('mceNonEditable') != -1)
|
||||
continue;
|
||||
|
||||
// Is class rule
|
||||
if (rules[c].indexOf('.') != -1) {
|
||||
//alert(rules[c].substring(rules[c].indexOf('.')));
|
||||
output[output.length] = rules[c].substring(rules[c].indexOf('.')+1);
|
||||
if (rule.indexOf('.') != -1) {
|
||||
var cssClass = rule.substring(rule.indexOf('.') + 1);
|
||||
var addClass = true;
|
||||
|
||||
for (var p=0; p<output.length && addClass; p++) {
|
||||
if (output[p] == cssClass)
|
||||
addClass = false;
|
||||
}
|
||||
|
||||
if (addClass)
|
||||
output[output.length] = cssClass;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2100,6 +2252,17 @@ TinyMCE_Engine.prototype = {
|
|||
tinyMCE.switchClass(e, tinyMCE.lastMenuBtnClass);
|
||||
tinyMCE.lastSelectedMenuBtn = null;
|
||||
}
|
||||
},
|
||||
|
||||
explode : function(d, s) {
|
||||
var ar = s.split(d), oar = new Array(), i;
|
||||
|
||||
for (i = 0; i<ar.length; i++) {
|
||||
if (ar[i] != "")
|
||||
oar[oar.length] = ar[i];
|
||||
}
|
||||
|
||||
return oar;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -2520,15 +2683,21 @@ TinyMCE_Control.prototype = {
|
|||
|
||||
case "FormatBlock":
|
||||
if (value == null || value == "") {
|
||||
var elm = tinyMCE.getParentElement(this.getFocusElement(), "p,div,h1,h2,h3,h4,h5,h6,pre,address");
|
||||
var elm = tinyMCE.getParentElement(this.getFocusElement(), "p,div,h1,h2,h3,h4,h5,h6,pre,address,blockquote,dt,dl,dd,samp");
|
||||
|
||||
if (elm)
|
||||
this.execCommand("mceRemoveNode", false, elm);
|
||||
} else {
|
||||
if (value == '<div>' && tinyMCE.isGecko)
|
||||
value = 'div';
|
||||
if (tinyMCE.isGecko && new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>', 'gi').test(value))
|
||||
value = value.replace(/[^a-z]/gi, '');
|
||||
|
||||
this.getDoc().execCommand("FormatBlock", false, value);
|
||||
if (tinyMCE.isMSIE && new RegExp('blockquote|code|samp', 'gi').test(value)) {
|
||||
var b = this.selection.getBookmark();
|
||||
this.getDoc().execCommand("FormatBlock", false, '<p>');
|
||||
tinyMCE.renameElement(tinyMCE.getParentBlockElement(this.getFocusElement()), value);
|
||||
this.selection.moveToBookmark(b);
|
||||
} else
|
||||
this.getDoc().execCommand("FormatBlock", false, value);
|
||||
}
|
||||
|
||||
tinyMCE.triggerNodeChange();
|
||||
|
|
@ -2829,6 +2998,9 @@ TinyMCE_Control.prototype = {
|
|||
tinyMCE.setInnerHTML(doc.body, tinyMCE._cleanupHTML(this, doc, tinyMCE.settings, doc.body));
|
||||
tinyMCE.convertAllRelativeURLs(doc.body);
|
||||
|
||||
// Cleanup any mess left from storyAwayURLs
|
||||
tinyMCE._removeInternal(this.getBody());
|
||||
|
||||
// When editing always use fonts internaly
|
||||
if (tinyMCE.getParam("convert_fonts_to_spans"))
|
||||
tinyMCE.convertSpansToFonts(doc);
|
||||
|
|
@ -3273,7 +3445,7 @@ TinyMCE_Control.prototype = {
|
|||
if (tinyMCE.settings['debug']) {
|
||||
hc = '<textarea wrap="off" id="' + form_element_name + '" name="' + form_element_name + '" cols="100" rows="15"></textarea>';
|
||||
} else {
|
||||
hc = '<input type="hidden" type="text" id="' + form_element_name + '" name="' + form_element_name + '" />';
|
||||
hc = '<input type="hidden" id="' + form_element_name + '" name="' + form_element_name + '" />';
|
||||
this.oldTargetElement.style.display = "none";
|
||||
}
|
||||
|
||||
|
|
@ -3318,7 +3490,8 @@ TinyMCE_Control.prototype = {
|
|||
var tElm = targetDoc.getElementById(this.editorId);
|
||||
|
||||
if (!tinyMCE.isMSIE) {
|
||||
if (tElm && tElm.nodeName == "SPAN") {
|
||||
// Node case is preserved in XML strict mode
|
||||
if (tElm && (tElm.nodeName == "SPAN" || tElm.nodeName == "span")) {
|
||||
tElm = tinyMCE._createIFrame(tElm, targetDoc);
|
||||
dynamicIFrame = true;
|
||||
}
|
||||
|
|
@ -3413,7 +3586,27 @@ TinyMCE_Control.prototype = {
|
|||
},
|
||||
|
||||
triggerSave : function(skip_cleanup, skip_callback) {
|
||||
var e, nl = new Array(), i, s;
|
||||
|
||||
this.switchSettings();
|
||||
s = tinyMCE.settings;
|
||||
|
||||
// Force hidden tabs visible while serializing
|
||||
if (tinyMCE.isMSIE && !tinyMCE.isOpera) {
|
||||
e = this.iframeElement;
|
||||
|
||||
do {
|
||||
if (e.style && e.style.display == 'none') {
|
||||
e.style.display = 'block';
|
||||
nl[nl.length] = {elm : e, type : 'style'};
|
||||
}
|
||||
|
||||
if (e.style && s.hidden_tab_class.length > 0 && e.className.indexOf(s.hidden_tab_class) != -1) {
|
||||
e.className = s.display_tab_class;
|
||||
nl[nl.length] = {elm : e, type : 'class'};
|
||||
}
|
||||
} while ((e = e.parentNode) != null)
|
||||
}
|
||||
|
||||
tinyMCE.settings['preformatted'] = false;
|
||||
|
||||
|
|
@ -3456,33 +3649,42 @@ TinyMCE_Control.prototype = {
|
|||
|
||||
if (tinyMCE.isSafari && this.formElement)
|
||||
this.formElement.innerText = htm;
|
||||
|
||||
// Hide them again (tabs in MSIE)
|
||||
for (i=0; i<nl.length; i++) {
|
||||
if (nl[i].type == 'style')
|
||||
nl[i].elm.style.display = 'none';
|
||||
else
|
||||
nl[i].elm.className = s.hidden_tab_class;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/* file:jscripts/tiny_mce/classes/TinyMCE_Cleanup.class.js */
|
||||
|
||||
TinyMCE_Engine.prototype.cleanupHTMLCode = function(s) {
|
||||
s = s.replace(/<p \/>/gi, '<p> </p>');
|
||||
s = s.replace(/<p>\s*<\/p>/gi, '<p> </p>');
|
||||
s = s.replace(new RegExp('<p \\/>', 'gi'), '<p> </p>');
|
||||
s = s.replace(new RegExp('<p>\\s*<\\/p>', 'gi'), '<p> </p>');
|
||||
|
||||
// Fix close BR elements
|
||||
s = s.replace(new RegExp('<br>\\s*<\\/br>', 'gi'), '<br />');
|
||||
|
||||
// Open closed tags like <b/> to <b></b>
|
||||
// tinyMCE.debug("f:" + s);
|
||||
s = s.replace(/<(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|b|font|em|strong|i|strike|u|span|a|ul|ol|li|blockquote)([a-z]*)([^\\|>]*?)\/>/gi, '<$1$2$3></$1$2>');
|
||||
// tinyMCE.debug("e:" + s);
|
||||
s = s.replace(new RegExp('<(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|b|font|em|strong|i|strike|u|span|a|ul|ol|li|blockquote)([a-z]*)([^\\\\|>]*)\\/>', 'gi'), '<$1$2$3></$1$2>');
|
||||
|
||||
// Remove trailing space <b > to <b>
|
||||
s = s.replace(new RegExp('\\s+></', 'gi'), '></');
|
||||
|
||||
// Close tags <img></img> to <img/>
|
||||
s = s.replace(/<(img|br|hr)(.*?)><\/(img|br|hr)>/gi, '<$1$2 />');
|
||||
s = s.replace(new RegExp('<(img|br|hr)([^>]*)><\\/(img|br|hr)>', 'gi'), '<$1$2 />');
|
||||
|
||||
// Weird MSIE bug, <p><hr /></p> breaks runtime?
|
||||
if (tinyMCE.isMSIE)
|
||||
s = s.replace(/<p><hr \/><\/p>/gi, "<hr>");
|
||||
s = s.replace(new RegExp('<p><hr \\/><\\/p>', 'gi'), "<hr>");
|
||||
|
||||
// Convert relative anchors to absolute URLs ex: #something to file.htm#something
|
||||
if (tinyMCE.getParam('convert_urls'))
|
||||
s = s.replace(new RegExp('(href=\"?)(\\s*?#)', 'gi'), '$1' + tinyMCE.settings['document_base_url'] + "#");
|
||||
s = s.replace(new RegExp('(href=\"{0,1})(\\s*#)', 'gi'), '$1' + tinyMCE.settings['document_base_url'] + "#");
|
||||
|
||||
return s;
|
||||
};
|
||||
|
|
@ -3544,6 +3746,9 @@ TinyMCE_Engine.prototype.serializeStyle = function(ar) {
|
|||
tinyMCE.compressStyle(ar, "border", "", "border");
|
||||
tinyMCE.compressStyle(ar, "border", "-width", "border-width");
|
||||
tinyMCE.compressStyle(ar, "border", "-color", "border-color");
|
||||
tinyMCE.compressStyle(ar, "border", "-style", "border-style");
|
||||
tinyMCE.compressStyle(ar, "padding", "", "padding");
|
||||
tinyMCE.compressStyle(ar, "margin", "", "margin");
|
||||
|
||||
for (var key in ar) {
|
||||
var val = ar[key];
|
||||
|
|
@ -3704,7 +3909,8 @@ TinyMCE_Engine.prototype.convertFontsToSpans = function(doc) {
|
|||
TinyMCE_Engine.prototype.cleanupAnchors = function(doc) {
|
||||
var i, cn, x, an = doc.getElementsByTagName("a");
|
||||
|
||||
for (i=0; i<an.length; i++) {
|
||||
// Loops backwards due to bug #1467987
|
||||
for (i=an.length-1; i>=0; i--) {
|
||||
if (tinyMCE.getAttrib(an[i], "name") != "" && tinyMCE.getAttrib(an[i], "href") == "") {
|
||||
cn = an[i].childNodes;
|
||||
|
||||
|
|
@ -3836,7 +4042,7 @@ TinyMCE_Engine.prototype._cleanupHTML = function(inst, doc, config, elm, visual,
|
|||
h = h.replace(/<p>\s*( | )\s*<br \/>\s*( | )\s*<\/p>/g, '<p> </p>');
|
||||
h = h.replace(/<p>\s*( | )\s*<br \/>\s*<\/p>/g, '<p> </p>');
|
||||
h = h.replace(/<p>\s*<br \/>\s* \s*<\/p>/g, '<p> </p>');
|
||||
h = h.replace(/<a>(.*?)<\/a>/g, '$1');
|
||||
h = h.replace(new RegExp('<a>(.*?)<\\/a>', 'g'), '$1');
|
||||
h = h.replace(/<p([^>]*)>\s*<\/p>/g, '<p$1> </p>');
|
||||
|
||||
// Clean body
|
||||
|
|
@ -3912,7 +4118,7 @@ function TinyMCE_Cleanup() {
|
|||
|
||||
this.vElements = tinyMCE.clearArray(new Array());
|
||||
this.vElementsRe = '';
|
||||
this.closeElementsRe = /^(IMG|BR|HR|LINK|META|BASE|INPUT|BUTTON)$/;
|
||||
this.closeElementsRe = /^(IMG|BR|HR|LINK|META|BASE|INPUT|BUTTON|AREA)$/;
|
||||
this.codeElementsRe = /^(SCRIPT|STYLE)$/;
|
||||
this.serializationId = 0;
|
||||
this.mceAttribs = {
|
||||
|
|
@ -4027,8 +4233,8 @@ TinyMCE_Cleanup.prototype = {
|
|||
for (i=0; i<a.length; i++) {
|
||||
t = a[i];
|
||||
|
||||
av = /(=|:|<)(.*?)$/.exec(t);
|
||||
t = t.replace(/(=|:|<).*?$/, '');
|
||||
av = new RegExp('(=|:|<)(.*?)$').exec(t);
|
||||
t = t.replace(new RegExp('(=|:|<).*?$'), '');
|
||||
if (av && av.length > 0) {
|
||||
if (av[0].charAt(0) == ':') {
|
||||
if (!r.forceAttribs)
|
||||
|
|
@ -4334,13 +4540,6 @@ TinyMCE_Cleanup.prototype = {
|
|||
c = s.charCodeAt(i);
|
||||
e = this.entities[c];
|
||||
|
||||
// ' is not working in MSIE
|
||||
// More info: http://www.w3.org/TR/xhtml1/#C_16
|
||||
if (c == 39) {
|
||||
o += "'";
|
||||
continue;
|
||||
}
|
||||
|
||||
if (e && e != '')
|
||||
o += '&' + e + ';';
|
||||
else
|
||||
|
|
@ -4378,12 +4577,6 @@ TinyMCE_Cleanup.prototype = {
|
|||
},
|
||||
|
||||
_trimComment : function(s) {
|
||||
// Make xsrc, xhref as src and href again
|
||||
if (tinyMCE.isGecko) {
|
||||
s = s.replace(/\sxsrc=/gi, " src=");
|
||||
s = s.replace(/\sxhref=/gi, " href=");
|
||||
}
|
||||
|
||||
// Remove mce_src, mce_href
|
||||
s = s.replace(new RegExp('\\smce_src=\"[^\"]*\"', 'gi'), "");
|
||||
s = s.replace(new RegExp('\\smce_href=\"[^\"]*\"', 'gi'), "");
|
||||
|
|
@ -4406,6 +4599,15 @@ TinyMCE_Cleanup.prototype = {
|
|||
if (this.isMSIE && n == "http-equiv")
|
||||
v = e.httpEquiv;
|
||||
|
||||
if (this.isMSIE && e.nodeName == "FORM" && n == "enctype" && v == "application/x-www-form-urlencoded")
|
||||
v = "";
|
||||
|
||||
if (this.isMSIE && e.nodeName == "INPUT" && n == "size" && v == "20")
|
||||
v = "";
|
||||
|
||||
if (this.isMSIE && e.nodeName == "INPUT" && n == "maxlength" && v == "2147483647")
|
||||
v = "";
|
||||
|
||||
if (n == "style" && !tinyMCE.isOpera)
|
||||
v = e.style.cssText;
|
||||
|
||||
|
|
@ -4557,7 +4759,8 @@ TinyMCE_Engine.prototype.setInnerHTML = function(e, h) {
|
|||
|
||||
// Since MSIE auto generated emtpy P tags some times we must tell it to keep the real ones
|
||||
h = h.replace(/<p([^>]*)>\u00A0?<\/p>/gi, '<p$1 mce_keep="true"> </p>'); // Keep empty paragraphs
|
||||
h = h.replace(/<p([^>]*)> <\/p>/gi, '<p$1 mce_keep="true"> </p>'); // Keep empty paragraphs
|
||||
h = h.replace(/<p([^>]*)>\s* \s*<\/p>/gi, '<p$1 mce_keep="true"> </p>'); // Keep empty paragraphs
|
||||
h = h.replace(/<p([^>]*)>\s+<\/p>/gi, '<p$1 mce_keep="true"> </p>'); // Keep empty paragraphs
|
||||
|
||||
// Remove first comment
|
||||
e.innerHTML = tinyMCE.uniqueTag + h;
|
||||
|
|
@ -4670,6 +4873,17 @@ TinyMCE_Engine.prototype.getParentElement = function(node, names, attrib_name, a
|
|||
return null;
|
||||
};
|
||||
|
||||
TinyMCE_Engine.prototype.getParentNode = function(n, f) {
|
||||
while (n) {
|
||||
if (f(n))
|
||||
return n;
|
||||
|
||||
n = n.parentNode;
|
||||
}
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
TinyMCE_Engine.prototype.getAttrib = function(elm, name, default_value) {
|
||||
if (typeof(default_value) == "undefined")
|
||||
default_value = "";
|
||||
|
|
@ -4791,6 +5005,62 @@ TinyMCE_Engine.prototype.nextNode = function(e, n) {
|
|||
return null;
|
||||
};
|
||||
|
||||
TinyMCE_Engine.prototype.selectNodes = function(n, f, a) {
|
||||
var i;
|
||||
|
||||
if (!a)
|
||||
a = new Array();
|
||||
|
||||
if (f(n))
|
||||
a[a.length] = n;
|
||||
|
||||
if (n.hasChildNodes()) {
|
||||
for (i=0; i<n.childNodes.length; i++)
|
||||
tinyMCE.selectNodes(n.childNodes[i], f, a);
|
||||
}
|
||||
|
||||
return a;
|
||||
};
|
||||
|
||||
TinyMCE_Engine.prototype.addCSSClass = function(e, c, b) {
|
||||
var o = this.removeCSSClass(e, c);
|
||||
|
||||
return e.className = b ? c + (o != '' ? (' ' + o) : '') : (o != '' ? (o + ' ') : '') + c;
|
||||
};
|
||||
|
||||
TinyMCE_Engine.prototype.removeCSSClass = function(e, c) {
|
||||
var a = this.explode(' ', e.className), i;
|
||||
|
||||
for (i=0; i<a.length; i++) {
|
||||
if (a[i] == c)
|
||||
a[i] = '';
|
||||
}
|
||||
|
||||
return e.className = a.join(' ');
|
||||
};
|
||||
|
||||
TinyMCE_Engine.prototype.renameElement = function(e, n, d) {
|
||||
var ne, i, ar;
|
||||
|
||||
d = typeof(d) == "undefined" ? tinyMCE.selectedInstance.getDoc() : d;
|
||||
|
||||
if (e) {
|
||||
ne = d.createElement(n);
|
||||
|
||||
ar = e.attributes;
|
||||
for (i=ar.length-1; i>-1; i--) {
|
||||
if (ar[i].specified && ar[i].nodeValue)
|
||||
ne.setAttribute(ar[i].nodeName.toLowerCase(), ar[i].nodeValue);
|
||||
}
|
||||
|
||||
ar = e.childNodes;
|
||||
for (i=0; i<ar.length; i++)
|
||||
ne.appendChild(ar[i].cloneNode(true));
|
||||
|
||||
e.parentNode.replaceChild(ne, e);
|
||||
}
|
||||
};
|
||||
|
||||
/* file:jscripts/tiny_mce/classes/TinyMCE_URL.class.js */
|
||||
|
||||
TinyMCE_Engine.prototype.parseURL = function(url_str) {
|
||||
|
|
@ -4950,9 +5220,9 @@ TinyMCE_Engine.prototype.convertAbsoluteURLToRelativeURL = function(base_url, ur
|
|||
if (fileName == targetURL.path && targetURL.anchor != "")
|
||||
targetURL.path = "";
|
||||
|
||||
// If empty and not local anchor force slash
|
||||
// If empty and not local anchor force filename or slash
|
||||
if (targetURL.path == "" && !targetURL.anchor)
|
||||
targetURL.path = "/";
|
||||
targetURL.path = fileName != "" ? fileName : "/";
|
||||
|
||||
return this.serializeURL(targetURL);
|
||||
};
|
||||
|
|
@ -5215,6 +5485,7 @@ TinyMCE_Engine.prototype.addEventHandlers = function(inst) {
|
|||
tinyMCE.addEvent(doc, "keyup", TinyMCE_Engine.prototype._eventPatch);
|
||||
tinyMCE.addEvent(doc, "keydown", TinyMCE_Engine.prototype._eventPatch);
|
||||
tinyMCE.addEvent(doc, "mouseup", TinyMCE_Engine.prototype._eventPatch);
|
||||
tinyMCE.addEvent(doc, "mousedown", TinyMCE_Engine.prototype._eventPatch);
|
||||
tinyMCE.addEvent(doc, "click", TinyMCE_Engine.prototype._eventPatch);
|
||||
} else {
|
||||
tinyMCE.addEvent(doc, "keypress", tinyMCE.handleEvent);
|
||||
|
|
@ -5308,6 +5579,24 @@ TinyMCE_Engine.prototype.accessibleEventHandler = function(e) {
|
|||
return true;
|
||||
};
|
||||
|
||||
TinyMCE_Engine.prototype._resetIframeHeight = function() {
|
||||
var ife;
|
||||
|
||||
if (tinyMCE.isMSIE && !tinyMCE.isOpera) {
|
||||
ife = tinyMCE.selectedInstance.iframeElement;
|
||||
|
||||
/* if (ife._oldWidth) {
|
||||
ife.style.width = ife._oldWidth;
|
||||
ife.width = ife._oldWidth;
|
||||
}*/
|
||||
|
||||
if (ife._oldHeight) {
|
||||
ife.style.height = ife._oldHeight;
|
||||
ife.height = ife._oldHeight;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/* file:jscripts/tiny_mce/classes/TinyMCE_Selection.class.js */
|
||||
|
||||
function TinyMCE_Selection(inst) {
|
||||
|
|
@ -5328,8 +5617,8 @@ TinyMCE_Selection.prototype = {
|
|||
|
||||
if (tinyMCE.isGecko)
|
||||
e.appendChild(r.cloneContents());
|
||||
else
|
||||
e.innerHTML = r.htmlText;
|
||||
else
|
||||
e.innerHTML = r.item ? r.item(0).outerHTML : r.htmlText;
|
||||
|
||||
h = tinyMCE._cleanupHTML(inst, inst.contentDocument, inst.settings, e, e, false, true, false);
|
||||
|
||||
|
|
@ -5490,8 +5779,13 @@ TinyMCE_Selection.prototype = {
|
|||
|
||||
nl = doc.getElementsByTagName(bookmark.tag);
|
||||
|
||||
if (nl.length > bookmark.index)
|
||||
rng.addElement(nl[bookmark.index]);
|
||||
if (nl.length > bookmark.index) {
|
||||
try {
|
||||
rng.addElement(nl[bookmark.index]);
|
||||
} catch (ex) {
|
||||
// Might be thrown if the node no longer exists
|
||||
}
|
||||
}
|
||||
} else {
|
||||
rng = inst.getSel().createRange();
|
||||
rng.moveToElementText(inst.getBody());
|
||||
|
|
@ -5877,6 +6171,13 @@ var TinyMCE_ForceParagraphs = {
|
|||
var startBlock = tinyMCE.getParentBlockElement(startNode);
|
||||
var endBlock = tinyMCE.getParentBlockElement(endNode);
|
||||
|
||||
// If absolute force paragraph generation within
|
||||
if (startBlock && new RegExp('absolute|relative|static', 'gi').test(startBlock.style.position))
|
||||
startBlock = null;
|
||||
|
||||
if (endBlock && new RegExp('absolute|relative|static', 'gi').test(endBlock.style.position))
|
||||
endBlock = null;
|
||||
|
||||
// Use current block name
|
||||
if (startBlock != null) {
|
||||
blockName = startBlock.nodeName;
|
||||
|
|
@ -6062,13 +6363,21 @@ var TinyMCE_ForceParagraphs = {
|
|||
},
|
||||
|
||||
_handleBackSpace : function(inst) {
|
||||
var r = inst.getRng();
|
||||
var sn = r.startContainer;
|
||||
var r = inst.getRng(), sn = r.startContainer, nv, s = false;
|
||||
|
||||
if (sn && sn.nextSibling && sn.nextSibling.nodeName == "BR")
|
||||
sn.nextSibling.parentNode.removeChild(sn.nextSibling);
|
||||
if (sn && sn.nextSibling && sn.nextSibling.nodeName == "BR") {
|
||||
nv = sn.nodeValue;
|
||||
|
||||
return false;
|
||||
// Handle if a backspace is pressed after a space character #bug 1466054
|
||||
if (nv != null && nv.length >= r.startOffset && nv.charAt(r.startOffset - 1) == ' ')
|
||||
s = true;
|
||||
|
||||
// Only remove BRs if we are at the end of line #bug 1464152
|
||||
if (nv != null && r.startOffset == nv.length)
|
||||
sn.nextSibling.parentNode.removeChild(sn.nextSibling);
|
||||
}
|
||||
|
||||
return s;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -6080,6 +6389,7 @@ function TinyMCE_Layer(id, bm) {
|
|||
this.events = false;
|
||||
this.element = null;
|
||||
this.blockMode = typeof(bm) != 'undefined' ? bm : true;
|
||||
this.doc = document;
|
||||
};
|
||||
|
||||
TinyMCE_Layer.prototype = {
|
||||
|
|
@ -6144,8 +6454,11 @@ TinyMCE_Layer.prototype = {
|
|||
resizeTo : function(w, h) {
|
||||
var e = this.getElement();
|
||||
|
||||
e.style.width = w + "px";
|
||||
e.style.height = h + "px";
|
||||
if (w != null)
|
||||
e.style.width = w + "px";
|
||||
|
||||
if (h != null)
|
||||
e.style.height = h + "px";
|
||||
|
||||
this.updateBlocker();
|
||||
},
|
||||
|
|
@ -6166,7 +6479,7 @@ TinyMCE_Layer.prototype = {
|
|||
|
||||
getElement : function() {
|
||||
if (!this.element)
|
||||
this.element = document.getElementById(this.id);
|
||||
this.element = this.doc.getElementById(this.id);
|
||||
|
||||
return this.element;
|
||||
},
|
||||
|
|
@ -6201,7 +6514,7 @@ TinyMCE_Layer.prototype = {
|
|||
var d, b;
|
||||
|
||||
if (!this.blockerElement && this.blockMode) {
|
||||
d = document;
|
||||
d = this.doc;
|
||||
b = d.createElement("iframe");
|
||||
|
||||
b.style.cssText = 'display: none; position: absolute; left: 0; top: 0';
|
||||
|
|
@ -6229,7 +6542,7 @@ TinyMCE_Layer.prototype = {
|
|||
},
|
||||
|
||||
create : function(n, c, p) {
|
||||
var d = document, e = d.createElement(n);
|
||||
var d = this.doc, e = d.createElement(n);
|
||||
|
||||
e.setAttribute('id', this.id);
|
||||
|
||||
|
|
@ -6243,37 +6556,6 @@ TinyMCE_Layer.prototype = {
|
|||
|
||||
return this.element = e;
|
||||
},
|
||||
/*
|
||||
addCSSClass : function(e, c) {
|
||||
this.removeCSSClass(e, c);
|
||||
var a = this.explode(' ', e.className);
|
||||
a[a.length] = c;
|
||||
e.className = a.join(' ');
|
||||
},
|
||||
|
||||
removeCSSClass : function(e, c) {
|
||||
var a = this.explode(' ', e.className), i;
|
||||
|
||||
for (i=0; i<a.length; i++) {
|
||||
if (a[i] == c)
|
||||
a[i] = '';
|
||||
}
|
||||
|
||||
e.className = a.join(' ');
|
||||
},
|
||||
|
||||
explode : function(d, s) {
|
||||
var ar = s.split(d);
|
||||
var oar = new Array();
|
||||
|
||||
for (var i = 0; i<ar.length; i++) {
|
||||
if (ar[i] != "")
|
||||
oar[oar.length] = ar[i];
|
||||
}
|
||||
|
||||
return oar;
|
||||
},
|
||||
*/
|
||||
|
||||
parseInt : function(s) {
|
||||
if (s == null || s == '')
|
||||
|
|
@ -6397,7 +6679,7 @@ TinyMCE_Menu.prototype = tinyMCE.extend(TinyMCE_Layer.prototype, {
|
|||
if (tinyMCE.lastMenu && tinyMCE.lastMenu != this)
|
||||
tinyMCE.lastMenu.hide();
|
||||
|
||||
this.parent.show.call(this);
|
||||
TinyMCE_Layer.prototype.show.call(this);
|
||||
|
||||
if (!tinyMCE.isOpera) {
|
||||
// Accessibility stuff
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* $RCSfile: form_utils.js,v $
|
||||
* $Revision: 1.10 $
|
||||
* $Date: 2006/03/22 12:21:24 $
|
||||
* $Revision: 1.11 $
|
||||
* $Date: 2006/04/07 15:53:12 $
|
||||
*
|
||||
* Various form utilitiy functions.
|
||||
*
|
||||
|
|
@ -92,9 +92,10 @@ function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
|
|||
}
|
||||
|
||||
if (!found && add_custom && value != '') {
|
||||
var option = new Option('Value: ' + value, value);
|
||||
var option = new Option(value, value);
|
||||
option.selected = true;
|
||||
sel.options[sel.options.length] = option;
|
||||
sel.selectedIndex = sel.options.length - 1;
|
||||
}
|
||||
|
||||
return found;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue