diff --git a/phpgwapi/js/tiny_mce/blank.htm b/phpgwapi/js/tiny_mce/blank.htm new file mode 100644 index 0000000000..5a4a5a57c7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/blank.htm @@ -0,0 +1,9 @@ + + + blank_page + + + + + + diff --git a/phpgwapi/js/tiny_mce/langs/ar.js b/phpgwapi/js/tiny_mce/langs/ar.js new file mode 100644 index 0000000000..e2e36d202c --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ar.js @@ -0,0 +1,43 @@ +// arabic lang variables +// Toolbar Items and Context Menu + +tinyMCE.addToLang('',{ +dir : 'rtl', +bold_desc : 'غامق', +italic_desc : 'مائل', +underline_desc : 'تسطير', +striketrough_desc : 'يتوسطه خط', +justifyleft_desc : 'محاذاة إلى اليسار', +justifycenter_desc : 'توسيط', +justifyright_desc : 'محاذاة إلى اليمين', +justifyfull_desc : 'ضبط', +bullist_desc : 'تعداد نقطي', +numlist_desc : 'تعداد رقمي', +outdent_desc : 'إنقاص المسافة البادئة', +indent_desc : 'زيادة المسافة البادئة', +undo_desc : 'تراجع', +redo_desc : 'إعادة', +link_desc : 'إدراج/تحرير رابط', +unlink_desc : 'إزالة رابط', +image_desc : 'إدراج/تحرير صورة', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'إدراج/تحرير رابط', +insert : 'إدراج', +update : 'إدراج', +cancel : 'ألغي', +insert_link_url : 'رابط URL', +insert_link_target : 'الهدف', +insert_link_target_same : 'نفس الإطار', +insert_link_target_blank : 'إطار جديد (_blank)', +insert_image_title : 'إدراج/تحرير صورة', +insert_image_src : 'صورة URL', +insert_image_alt : 'الوصف', +help_desc : 'المساعدة', +bold_img : 'bold.gif', +italic_img : 'italic.gif', +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ca.js b/phpgwapi/js/tiny_mce/langs/ca.js new file mode 100644 index 0000000000..3f956f64a1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ca.js @@ -0,0 +1,41 @@ +// CA lang variables by Marc Bria + +tinyMCE.addToLang('',{ +bold_desc : 'Negreta', +italic_desc : 'Cursiva', +underline_desc : 'Subratllat', +striketrough_desc : 'Tatxat', +justifyleft_desc : 'Alinear a lesquerra', +justifycenter_desc : 'Alinear al centre', +justifyright_desc : 'Alinear a la dreta', +justifyfull_desc : 'Alinear justificat', +bullist_desc : 'Llista sense ordenar', +numlist_desc : 'Llista ordenada', +outdent_desc : 'Disminueix sangria', +indent_desc : 'Augmentar sangria', +undo_desc : 'Desfer', +redo_desc : 'Refer', +link_desc : 'Insertar enlla', +unlink_desc : 'Treure enlla', +image_desc : 'Insertar imatge', +cleanup_desc : 'Netejar codi', +focus_alert : 'Lrea de leditor ha de ser enfocada abans dexecutar aquesta comanda.', +edit_confirm : 'Vols utilitzar el modus WYSIWYG per a aquesta rea de text?', +insert_link_title : 'Insertar/editar enlla', +insert : 'Insertar', +update : 'Insertar', +cancel : 'Cancellar', +insert_link_url : 'Adrea de lenlla', +insert_link_target : 'Dest', +insert_link_target_same : 'Obrir enlla a la mateixa finestra', +insert_link_target_blank : 'Obrir enlla en una finestra nova', +insert_image_title : 'Insertar/editar imatge', +insert_image_src : 'URL de limatge', +insert_image_alt : 'Descripci de la imatge', +help_desc : 'Ajut', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copiar/Tallar/Enganxar no s possible amb Mozilla i Firefox.\nVols ms informaci sobre aquest problema de seguretat?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/cs.js b/phpgwapi/js/tiny_mce/langs/cs.js new file mode 100755 index 0000000000..55578f3bd6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/cs.js @@ -0,0 +1,52 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * @author Michi + * @author Pavel Novák + * @author Josef Klimosz + * + * $Id: cs.js,v 1.6 2005/10/18 13:59:21 spocke Exp $ + */ + + +tinyMCE.addToLang('',{ +bold_desc : 'Tučně', +italic_desc : 'Kurzíva', +underline_desc : 'Podtržení', +striketrough_desc : 'Přeškrtnutí', +justifyleft_desc : 'Zarovnání vlevo', +justifycenter_desc : 'Zarovnání na střed', +justifyright_desc : 'Zarovnání vpravo', +justifyfull_desc : 'Zarovnání do bloku', +bullist_desc : 'Seznam s odrážkami', +numlist_desc : 'Číslovaný seznam', +outdent_desc : 'Snížit odsazení', +indent_desc : 'Zvýšit odsazení', +undo_desc : 'Zpět', +redo_desc : 'Znovu', +link_desc : 'Vložit odkaz', +unlink_desc : 'Zrušit odkaz', +image_desc : 'Vložit obrázek', +cleanup_desc : 'Vyčistit kód', +focus_alert : 'Před použitím tohoto příkazu musí být kurzor v okně editoru.', +edit_confirm : 'Chcete použít WYSIWYG editaci pro tento text?', +insert_link_title : 'Vložit/upravit odkaz', +insert : 'Vložit', +update : 'Změnit', +cancel : 'Zrušit', +insert_link_url : 'URL odkazu', +insert_link_target : 'Cíl', +insert_link_target_same : 'Otevřít odkaz ve stejném okně', +insert_link_target_blank : 'Otevřít odkaz v novém okně', +insert_image_title : 'Vložit/upravit obrázek', +insert_image_src : 'URL obrázku', +insert_image_alt : 'Popis obrázku', +help_desc : 'Nápověda', +bold_img : 'bold.gif', +italic_img : 'italic.gif', +underline_img : "underline.gif", +clipboard_msg : 'Funkce Kopírovat/vyjmout/vložit nejsou použitelné v Mozille a Firefoxu.\nChcete více informací o tomto problému?', +popup_blocked : 'Omlouváme se, ale blokovač vyskakovacích oken neumožnil otevřít okno, které zprostředkovává funkčnost aplikace. Musíte vypnout blokování vyskakovacích oken na tomto webu, abyste využili plné funkčnosti.' +}); + diff --git a/phpgwapi/js/tiny_mce/langs/cy.js b/phpgwapi/js/tiny_mce/langs/cy.js new file mode 100644 index 0000000000..6ef0f6c0f6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/cy.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italig (Ctrl+I)', +underline_desc : 'Tanlinellu (Ctrl+U)', +striketrough_desc : 'Llinell drwodd', +justifyleft_desc : 'Unioni i\'r chwith', +justifycenter_desc : 'Unioni i\'r canol', +justifyright_desc : 'Unioni i\'r dde', +justifyfull_desc : 'Unioni llawn', +bullist_desc : 'Rhestr heb drefn', +numlist_desc : 'Rhestr mewn trefn', +outdent_desc : 'Lleihau mewnoliad', +indent_desc : 'Cynyddu mewnoliad', +undo_desc : 'Dadwneud (Ctrl+Z)', +redo_desc : 'Ailwneud (Ctrl+Y)', +link_desc : 'Mewnosod/golygu dolen', +unlink_desc : 'Dadgysylltu', +image_desc : 'Mewnosod/golygu delwedd', +cleanup_desc : 'Tacluso côd', +focus_alert : 'Rhaid rhoi ffocws i\'r golygydd cyn defnyddio\'r gorchymyn hwn.', +edit_confirm : 'Wyt ti eisiau defnyddio\'r dull WYSIWYG ar gyfer yr ardal destun hon?', +insert_link_title : 'Mewnosod/golygu dolen', +insert : 'Mewnosod', +update : 'Diweddaru', +cancel : 'Diddymu', +insert_link_url : 'URL dolen', +insert_link_target : 'Targed', +insert_link_target_same : 'Agor dolen yn yr un ffenest', +insert_link_target_blank : 'Agor dolen mewn ffenest newydd', +insert_image_title : 'Mewnosod/golygu delwedd', +insert_image_src : 'URL delwedd', +insert_image_alt : 'Disgrifiad delwedd', +help_desc : 'Cymorth', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Dyw Copïo/Torri/Gludo ddim ar gael ym Mozilla na Firefox.\nHoffet ti ragor o wybodaeth ynghylch hyn?', +popup_blocked : 'Mae\'n ddrwg gennym, ond mae dy declyn atal ffenestri naid wedi analluogi ffenest sy\'n cynnig nodweddion i\'r rhaglen. Bydd rhaid i ti analluogi atal ffenestri naid ar gyfer y safle hon er mwyn cael y defnydd gorau o\'r rhaglen hwn.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/da.js b/phpgwapi/js/tiny_mce/langs/da.js new file mode 100644 index 0000000000..bb8d39fdb2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/da.js @@ -0,0 +1,41 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('',{ +bold_desc : 'Fed', +italic_desc : 'Kursiv', +underline_desc : 'Understreg', +striketrough_desc : 'Gennemstreg', +justifyleft_desc : 'Venstrestil', +justifycenter_desc : 'Centrer', +justifyright_desc : 'Højrestil', +justifyfull_desc : 'Lige margin', +bullist_desc : 'Liste med bullets', +numlist_desc : 'Liste med tal', +outdent_desc : 'Ryk til venstre', +indent_desc : 'Ryk til højre', +undo_desc : 'Fortryd', +redo_desc : 'Gør igen', +link_desc : 'Indsæt link', +unlink_desc : 'Fjern link', +image_desc : 'Indsæt billede', +cleanup_desc : 'Ryd op i koden', +focus_alert : 'Der skal sættes fokus på sessionen, før man kan bruge denne kommando', +edit_confirm : 'Vil du bruge WYSIWYG mode til dette textområde?', +insert_link_title : 'Indsæt eller rediger link', +insert : 'Indsæt', +update : 'Opdater', +cancel : 'Fortryd', +insert_link_url : 'Linkadresse', +insert_link_target : 'Destination', +insert_link_target_same : 'Luk linket op i samme vindue', +insert_link_target_blank : 'Luk linket op i et nyt vindue', +insert_image_title : 'Indsæt / rediger billede', +insert_image_src : 'Billedets adresse', +insert_image_alt : 'Alternativ tekst', +help_desc : 'Hjælp', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Kopier/Klip/Indsæt virker ikke i Mozilla og Firefox.\nVil du vide mere om dette?', +popup_blocked : 'Beklager, men din browser blokerer for pop-up-vinduer. Skal du bruge denne editor fuldt ud, skal pop-up-vinduer være tilladt.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/de.js b/phpgwapi/js/tiny_mce/langs/de.js new file mode 100755 index 0000000000..6f67f2af42 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/de.js @@ -0,0 +1,41 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Fett', +italic_desc : 'Kursiv', +underline_desc : 'Unterstrichen', +striketrough_desc : 'Durchgestrichen', +justifyleft_desc : 'Linksbündig', +justifycenter_desc : 'Zentriert', +justifyright_desc : 'Rechtsbündig', +justifyfull_desc : 'Blocksatz', +bullist_desc : 'Aufzählungszeichen', +numlist_desc : 'Nummerierung', +outdent_desc : 'Einzug verkleinern', +indent_desc : 'Einzug vergrößern', +undo_desc : 'Rückgängig', +redo_desc : 'Wiederholen', +link_desc : 'Link einfügen/bearbeiten', +unlink_desc : 'Link entfernen', +image_desc : 'Bild einfügen/bearbeiten', +cleanup_desc : 'Unsauberen Code aufräumen', +focus_alert : 'Klicken Sie bitte vor Benutzung dieses Befehls auf das Editorfenster.', +edit_confirm : 'Wollen Sie den WYSIWYG-Modus für dieses Textfeld benutzen?', +insert_link_title : 'Link einfügen/bearbeiten', +insert : 'Einfügen', +update : 'Aktualisieren', +cancel : 'Abbrechen', +insert_link_url : 'Link-URL', +insert_link_target : 'Ziel', +insert_link_target_same : 'Link im gleichen Fenster öffnen', +insert_link_target_blank : 'Link in neuem Fenster öffnen', +insert_image_title : 'Bild einfügen/bearbeiten', +insert_image_src : 'Bild-URL', +insert_image_alt : 'Bild-Beschreibung', +help_desc : 'Hilfe', +bold_img : "bold_de_se.gif", +italic_img : "italic_de_se.gif", +underline_img : "underline.gif", +clipboard_msg : 'Kopieren/Ausschneiden/Einfügen ist in Mozilla und Firefox nicht verfügbar.\nWollen Sie mehr Informationen darüber erhalten?', +popup_blocked : 'Ihr Popup-Blocker hat verhindert, dass das Bearbeitungsfenster des Editors geöffnet werden konnte. Bitte deaktivieren Sie den Popup-Schutz für diese Seite.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/el.js b/phpgwapi/js/tiny_mce/langs/el.js new file mode 100755 index 0000000000..c06f1807ea --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/el.js @@ -0,0 +1,42 @@ +// Greek lang variables by Jacaranda Bill +// Revised by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +bold_desc : ' ', +italic_desc : ' ', +underline_desc : '', +striketrough_desc : ' ', +justifyleft_desc : ' ', +justifycenter_desc : ' ', +justifyright_desc : ' ', +justifyfull_desc : ' ', +bullist_desc : '', +numlist_desc : '', +outdent_desc : ' ', +indent_desc : ' ', +undo_desc : '', +redo_desc : ' ', +link_desc : '/ -', +unlink_desc : ' -', +image_desc : '/ ', +cleanup_desc : ' ', +focus_alert : ' .', +edit_confirm : ' WYSIWYG ;', +insert_link_title : '/ -', +insert : '', +update : '', +cancel : '', +insert_link_url : '', +insert_link_target : '', +insert_link_target_same : ' ', +insert_link_target_blank : ' ', +insert_image_title : '/ ', +insert_image_src : '', +insert_image_alt : '', +help_desc : '', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : ' // Mozilla Firefox.\n ;', +popup_blocked : ' popup-blocker . popup-blocker site, .' +}); diff --git a/phpgwapi/js/tiny_mce/langs/en.js b/phpgwapi/js/tiny_mce/langs/en.js new file mode 100644 index 0000000000..c093eafa04 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/en.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italic (Ctrl+I)', +underline_desc : 'Underline (Ctrl+U)', +striketrough_desc : 'Strikethrough', +justifyleft_desc : 'Align left', +justifycenter_desc : 'Align center', +justifyright_desc : 'Align right', +justifyfull_desc : 'Align full', +bullist_desc : 'Unordered list', +numlist_desc : 'Ordered list', +outdent_desc : 'Outdent', +indent_desc : 'Indent', +undo_desc : 'Undo (Ctrl+Z)', +redo_desc : 'Redo (Ctrl+Y)', +link_desc : 'Insert/edit link', +unlink_desc : 'Unlink', +image_desc : 'Insert/edit image', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'Insert/edit link', +insert : 'Insert', +update : 'Update', +cancel : 'Cancel', +insert_link_url : 'Link URL', +insert_link_target : 'Target', +insert_link_target_same : 'Open link in the same window', +insert_link_target_blank : 'Open link in a new window', +insert_image_title : 'Insert/edit image', +insert_image_src : 'Image URL', +insert_image_alt : 'Image description', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/es.js b/phpgwapi/js/tiny_mce/langs/es.js new file mode 100755 index 0000000000..2e9abf4cbb --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/es.js @@ -0,0 +1,51 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + + +tinyMCE.addToLang('',{ +bold_desc : 'Negrita (Ctrl+B)', +italic_desc : 'Cursiva (Ctrl+I)', +underline_desc : 'Subrayado (Ctrl+U)', +striketrough_desc : 'Tachado', +justifyleft_desc : 'Alinear a la izquierda', +justifycenter_desc : 'Alinear al centro', +justifyright_desc : 'Alinear a la derecha', +justifyfull_desc : 'Alinear justificado', +bullist_desc : 'Lista sin ordenar', +numlist_desc : 'Lista ordenada', +outdent_desc : 'Disminuir sangría', +indent_desc : 'Aumentar sangría', +undo_desc : 'Deshacer', +redo_desc : 'Rehacer', +link_desc : 'Insertar enlace', +unlink_desc : 'Quitar enlace', +image_desc : 'Insertar imagen', +cleanup_desc : 'Limpiar codigo', +focus_alert : 'Una instanacia del editor debe ser enfocada antes de usar este comando.', +edit_confirm : '¿Quieres usar el modo WYSIWYG (What You See Is What You Get - "lo que ves es lo que obtienes") para esta area de texto?', +insert_link_title : 'Insertar/editar enlace', +insert : 'Insertar', +update : 'Actualizar', +cancel : 'Cancelar', +insert_link_url : 'Dirección del enlace', +insert_link_target : 'Destino', +insert_link_target_same : 'Abrir enlace en la misma ventana', +insert_link_target_blank : 'Abrir enlace en una ventana nueva', +insert_image_title : 'Insertar/editar imagen', +insert_image_src : 'Dirección de la imagen', +insert_image_alt : 'Descripción de la imagen', +help_desc : 'Ayuda', +bold_img : "bold_es.gif", +italic_img : "italic_es.gif", +underline_img : "underline_es.gif", +clipboard_msg : 'No se pueden utilizar los comandos Copiar / Cortar / Pegar en Mozilla y en Firefox.\r\nUse el teclado Copiar (Ctrl+C) / Cortar (Ctrl+X) / Pegar (Ctrl+V)\r\n¿Quieres obtener más información?', +popup_blocked : 'Lo siento, pero tu bloqueador de popups ha desactivado una ventana que ha lanzado la aplicación. Debes desactivar tu bloqueador de popups para tener toda la funcionalad de la aplicación.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/fa.js b/phpgwapi/js/tiny_mce/langs/fa.js new file mode 100644 index 0000000000..46623ad735 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/fa.js @@ -0,0 +1,46 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +bold_desc : '????', +italic_desc : '????', +underline_desc : '??? ?? ???', +striketrough_desc : '?? ?????', +justifyleft_desc : '?? ???', +justifycenter_desc : '??? ???', +justifyright_desc : '???? ???', +justifyfull_desc : '????? ???', +bullist_desc : '????', +numlist_desc : '???? ????', +outdent_desc : '???? ?????', +indent_desc : '?????? ?????', +undo_desc : '????????', +redo_desc : '????????', +link_desc : '??? ? ?????? ????', +unlink_desc : '??? ????', +image_desc : '??? ? ?????? ???', +cleanup_desc : '??????? ??', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : '??? ? ?????? ????', +insert : ' ????? ', +update : ' ????? ', +cancel : ' ?????? ', +insert_link_url : 'URL ????', +insert_link_target : '????', +insert_link_target_same : '???? ?? ?? ???? ???? ??? ??', +insert_link_target_blank : '???? ?? ?? ???? ???? ??? ??', +insert_image_title : '??? ? ?????? ???', +insert_image_src : 'URL ???', +insert_image_alt : '?????', +help_desc : '??????', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/fa_ca.js b/phpgwapi/js/tiny_mce/langs/fa_ca.js new file mode 100644 index 0000000000..c093eafa04 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/fa_ca.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italic (Ctrl+I)', +underline_desc : 'Underline (Ctrl+U)', +striketrough_desc : 'Strikethrough', +justifyleft_desc : 'Align left', +justifycenter_desc : 'Align center', +justifyright_desc : 'Align right', +justifyfull_desc : 'Align full', +bullist_desc : 'Unordered list', +numlist_desc : 'Ordered list', +outdent_desc : 'Outdent', +indent_desc : 'Indent', +undo_desc : 'Undo (Ctrl+Z)', +redo_desc : 'Redo (Ctrl+Y)', +link_desc : 'Insert/edit link', +unlink_desc : 'Unlink', +image_desc : 'Insert/edit image', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'Insert/edit link', +insert : 'Insert', +update : 'Update', +cancel : 'Cancel', +insert_link_url : 'Link URL', +insert_link_target : 'Target', +insert_link_target_same : 'Open link in the same window', +insert_link_target_blank : 'Open link in a new window', +insert_image_title : 'Insert/edit image', +insert_image_src : 'Image URL', +insert_image_alt : 'Image description', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/fi.js b/phpgwapi/js/tiny_mce/langs/fi.js new file mode 100755 index 0000000000..9c1589e3d3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/fi.js @@ -0,0 +1,42 @@ +// FI lang variables by Urho Konttori from Absolutions +// Updated by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('',{ +bold_desc : 'Lihavoi (Ctrl+B)', +italic_desc : 'Kursivoi (Ctrl+I)', +underline_desc : 'Alleviivaa (Ctrl+U)', +striketrough_desc : 'Yliviivaa', +justifyleft_desc : 'Vasen tasaus', +justifycenter_desc : 'Keskitys', +justifyright_desc : 'Oikea tasaus', +justifyfull_desc : 'Pakotettu tasaus', +bullist_desc : 'Luettelo', +numlist_desc : 'Numeroitu lista', +outdent_desc : 'Poista sisennys', +indent_desc : 'Sisennys', +undo_desc : 'Peruuta (Ctrl+Z)', +redo_desc : 'Tee uudelleen (Ctrl+Y)', +link_desc : 'Lisää linkki', +unlink_desc : 'Poista linkki', +image_desc : 'Lisää kuva', +cleanup_desc : 'Siisti koodi', +focus_alert : 'Teksinkäsittelyalue täytyy olla valittuna ennen tämän komennon suorittamista.', +edit_confirm : 'Haluatko käyttää WYSIWYG-tilaa tähän tekstialueeseen?', +insert_link_title : 'Lisää/muokkaa linkkiä', +insert : 'Lis', +update : 'Pivit', +cancel : 'Peruuta', +insert_link_url : 'Linkin URL', +insert_link_target : 'Kohde', +insert_link_target_same : 'Avaa linkki samassa ikkunassa', +insert_link_target_blank : 'Avaa linkki uudessa ikkunassa', +insert_image_title : 'Lisää/muokkaa kuvaa', +insert_image_src : 'Kuvan URL', +insert_image_alt : 'Kuvan selite', +help_desc : 'Apua', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Leikkaus/Kopiointi/Liitäminen ei onnistu Mozilla eikä Firefox -selaimilla tietoturvasta johtuen. \n Haluatko lisätietoa aiheesta?', +popup_blocked : 'Koneellasi oleva popup-ikkunoiden esto-ohjelma estää tarvittavan ikkunan avaamisen. Sinun pitää sallia popup-ikkunoiden näyttäminen tällä sivustolla ohjelman asetuksista.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/fr.js b/phpgwapi/js/tiny_mce/langs/fr.js new file mode 100755 index 0000000000..ed5b30e0d4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/fr.js @@ -0,0 +1,42 @@ +// 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', +justifycenter_desc : 'Centrer', +justifyright_desc : 'Aligner à droite', +justifyfull_desc : 'Justifier', +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', +unlink_desc : 'Supprimer le lien', +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 ?', +insert_link_title : 'Gestionnaire d\'hyperlien', +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_image_title : 'Gestionnaire d\'image', +insert_image_src : 'URL de l\'image', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/fr_ca.js b/phpgwapi/js/tiny_mce/langs/fr_ca.js new file mode 100755 index 0000000000..4fd6e908f7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/fr_ca.js @@ -0,0 +1,40 @@ +// Canadian French lang variables by Virtuelcom + +tinyMCE.addToLang('',{ +bold_desc : 'Gras', +italic_desc : 'Italique', +underline_desc : 'Souligner', +striketrough_desc : 'Barrer', +justifyleft_desc : 'Aligner gauche', +justifycenter_desc : 'Aligner au centre', +justifyright_desc : 'Aligner droite', +justifyfull_desc : 'Justifier', +bullist_desc : 'Puces', +numlist_desc : 'Numrotation', +outdent_desc : 'Rduire le retrait', +indent_desc : 'Augmenter le retrait', +undo_desc : 'Annuler la dernire action', +redo_desc : 'Refaire la dernire action annule', +link_desc : 'Insrer un hyperlien', +unlink_desc : 'Supprimer un hyperlien', +image_desc : 'Insrer une image', +cleanup_desc : 'Nettoyer le code', +focus_alert : 'Un diteur doit tre slectionn pour utiliser cette fonction.', +edit_confirm : 'Dsirez-vous utiliser l\'diteur pour modifier cette zone?', +insert_link_title : 'Insrer / Modifier un hyperlien', +insert : 'Insrer', +update : 'Insrer', +cancel : 'Annuler', +insert_link_url : 'Adresse URL', +insert_link_target : 'Destination', +insert_link_target_same : 'Ouvrir dans la mme fentre', +insert_link_target_blank : 'Ouvrir dans une nouvelle fentre', +insert_image_title : 'Insrer / Modifier une image', +insert_image_src : 'Adresse de l\'image', +insert_image_alt : 'Description de l\'image', +help_desc : 'Aide', +bold_img : "bold_fr.gif", +italic_img : "italic.gif", +underline_img : "underline_fr.gif", +clipboard_msg : 'Copier/Couper/Coller ne sont pas disponibles dans Mozilla et FireFox.\nDsirez-vous consulter de plus amples informations ce sujet?' +}); diff --git a/phpgwapi/js/tiny_mce/langs/he.js b/phpgwapi/js/tiny_mce/langs/he.js new file mode 100755 index 0000000000..44719a82d0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/he.js @@ -0,0 +1,41 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +bold_desc : ' (Ctrl+B)', +italic_desc : ' (Ctrl+I)', +underline_desc : ' (Ctrl+U)', +striketrough_desc : ' ', +justifyleft_desc : ' ', +justifycenter_desc : ' ', +justifyright_desc : ' ', +justifyfull_desc : ' ', +bullist_desc : ' ', +numlist_desc : ' ', +outdent_desc : ' ', +indent_desc : ' ', +undo_desc : ' (Ctrl+Z)', +redo_desc : ' (Ctrl+Y)', +link_desc : '/ ', +unlink_desc : ' ', +image_desc : '/ ', +cleanup_desc : ' ', +focus_alert : ' .', +edit_confirm : ' (WYSIWYG) ?', +insert_link_title : '/ ', +insert : '', +update : '', +cancel : '', +insert_link_url : ' (URL) ', +insert_link_target : '', +insert_link_target_same : ' ', +insert_link_target_blank : ' ', +insert_image_title : '/ ', +insert_image_src : ' (URL) ', +insert_image_alt : ' ', +help_desc : '', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : ' // Mozilla -Firefox.\n ?', +popup_blocked : ', . .' +}); diff --git a/phpgwapi/js/tiny_mce/langs/hu.js b/phpgwapi/js/tiny_mce/langs/hu.js new file mode 100644 index 0000000000..aebcc3695e --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/hu.js @@ -0,0 +1,41 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Flkvr', +italic_desc : 'Dlt', +underline_desc : 'Alhzott', +striketrough_desc : 'thzott', +justifyleft_desc : 'Balra igaztott', +justifycenter_desc : 'Kzpre igaztott', +justifyright_desc : 'Jobbra igaztott', +justifyfull_desc : 'Telejesen igaztott', +bullist_desc : 'Rendezetlen lista', +numlist_desc : 'Rendezett lista', +outdent_desc : 'Kihzs', +indent_desc : 'Behzs', +undo_desc : 'visszavons', +redo_desc : 'Ismt', +link_desc : 'Link hozzadsa/szerkesztse', +unlink_desc : 'Link megszntetse', +image_desc : 'Kp beillesztse/szerkesztse', +cleanup_desc : 'Rendetlen kd tiszttsa', +focus_alert : 'Egy szerkesztablakra muszj fkuszlni ennek a parancsnak a hasznlata eltt.', +edit_confirm : 'Szeretnd hasznlni ezt a WYSIWYG mdot ehhez a szvegmezhz?', +insert_link_title : 'Link beillesztse/szerkesztse', +insert : 'Beilleszts', +update : 'Frissts', +cancel : 'Mgse', +insert_link_url : 'Link URL', +insert_link_target : 'Cl', +insert_link_target_same : 'Link megnyitsa ugyanabban az ablakban', +insert_link_target_blank : 'Link megnyitsa j ablakban', +insert_image_title : 'Kp beillesztse/szerkesztse', +insert_image_src : 'Kp URL', +insert_image_alt : 'Kp lersa', +help_desc : 'Sg', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'A Msols/Kivgs/Beilleszts nem elrhet Mozillban and Firefox-ban.\nSzeretnl tbb informcit errl a problmrl?', +popup_blocked : 'Sajnlom, de szrevettem, hogy a popup-blokkold letiltotta az ablakot, ami biztostja ennek az alkalmazsnak a mkdst. Meg kell szntetned a popup-blokkolst ennek a segdeszkznek a teljes hasznlathoz.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/is.js b/phpgwapi/js/tiny_mce/langs/is.js new file mode 100644 index 0000000000..9bb4f9f2f3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/is.js @@ -0,0 +1,41 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +bold_desc : 'Feitletrun (Ctrl+B)', +italic_desc : 'Skáletrun (Ctrl+I)', +underline_desc : 'Undirstrikun (Ctrl+U)', +striketrough_desc : 'Strik í gegn', +justifyleft_desc : 'Vinstri jöfnun', +justifycenter_desc : 'Miðju jöfnun', +justifyright_desc : 'Hægri jöfnun', +justifyfull_desc : 'Samfelld jöfnun', +bullist_desc : 'raðaður listi', +numlist_desc : 'Raðaður listi', +outdent_desc : 'tdráttur', +indent_desc : 'Inndráttur', +undo_desc : 'Afturkalla (Ctrl+Z)', +redo_desc : 'Endurkalla (Ctrl+Y)', +link_desc : 'Setja inn/breyta hlekk', +unlink_desc : 'Fjarlægja hlekk', +image_desc : 'Setja inn/breyta mynd', +cleanup_desc : 'Hreinsa ruslkóða', +focus_alert : 'Setja þarf bendil í ritsvæði áður en þessi skipun er notuð.', +edit_confirm : 'Viltu nota WYSIWYG á þessum reit?', +insert_link_title : 'Nýr/breyttur hlekkur', +insert : 'Setja inn', +update : 'Uppfæra', +cancel : 'Hætta við', +insert_link_url : 'Slóð hlekks', +insert_link_target : 'Gluggi', +insert_link_target_same : 'Opna tengil í sama glugga', +insert_link_target_blank : 'Opna tengil í nýjum glugga', +insert_image_title : 'Ný/breytt mynd', +insert_image_src : 'Slóð myndar', +insert_image_alt : 'Lýsing myndar', +help_desc : 'Hjálp', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Afrita/skeyta/lma er ekki leyft vafranum.\nViltu f frekari upplsingar um hvernig a stilla a?', +popup_blocked : 'Afsaki, gluggavrn vafrans hefur meina glugga, sem umsjnarkerfi notar, leyfi til ess a opnast. verur a leyfa essum vef a opna sprettiglugga (popup) til a geta ntt ennan mguleika.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/it.js b/phpgwapi/js/tiny_mce/langs/it.js new file mode 100755 index 0000000000..bc186ae2a5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/it.js @@ -0,0 +1,43 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +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 al centro', +justifyright_desc : 'Allinea a destra', +justifyfull_desc : 'Giustifica', +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 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 : '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 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 : '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 +}); diff --git a/phpgwapi/js/tiny_mce/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/langs/ja-euc-jp.js new file mode 100644 index 0000000000..c093eafa04 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ja-euc-jp.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italic (Ctrl+I)', +underline_desc : 'Underline (Ctrl+U)', +striketrough_desc : 'Strikethrough', +justifyleft_desc : 'Align left', +justifycenter_desc : 'Align center', +justifyright_desc : 'Align right', +justifyfull_desc : 'Align full', +bullist_desc : 'Unordered list', +numlist_desc : 'Ordered list', +outdent_desc : 'Outdent', +indent_desc : 'Indent', +undo_desc : 'Undo (Ctrl+Z)', +redo_desc : 'Redo (Ctrl+Y)', +link_desc : 'Insert/edit link', +unlink_desc : 'Unlink', +image_desc : 'Insert/edit image', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'Insert/edit link', +insert : 'Insert', +update : 'Update', +cancel : 'Cancel', +insert_link_url : 'Link URL', +insert_link_target : 'Target', +insert_link_target_same : 'Open link in the same window', +insert_link_target_blank : 'Open link in a new window', +insert_image_title : 'Insert/edit image', +insert_image_src : 'Image URL', +insert_image_alt : 'Image description', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ja.js b/phpgwapi/js/tiny_mce/langs/ja.js new file mode 100644 index 0000000000..1300ee4fc3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ja.js @@ -0,0 +1,41 @@ +// JP lang variables + +tinyMCE.addToLang('',{ +bold_desc : '$BB@;z(B', +italic_desc : '$BC@~(B', +justifyleft_desc : '$B:85M$a(B', +justifycenter_desc : '$BCf1{9g$o$;(B', +justifyright_desc : '$B1&5M$a(B', +justifyfull_desc : '$B9TB7$((B', +bullist_desc : '$B2U>r=q(B', +numlist_desc : '$BHV9fIU$-2U>r=q(B', +outdent_desc : '$B;z>e$2(B', +indent_desc : '$B;z2<$2(B', +undo_desc : '$B$d$j$J$*$7(B', +redo_desc : '$B:Fe$N$I$3$+$rA*Br$9$kI,MW$,$"$j$^$9!#(B', +edit_confirm : 'WYSIWYG$B%b!<%I$G$3$N%F%-%9%H%(%j%"$rJT=8$7$^$9$+!)(B', +insert_link_title : '$B%j%s%/$NA^F~(B/$BJT=8(B', +insert : '$BA^F~(B', +update : '$BA^F~(B', +cancel : '$BC$7(B', +insert_link_url : '$B%j%s%/@h(BURL', +insert_link_target : '$B%?!<%2%C%H(B', +insert_link_target_same : '$BF1$8Ak$G%j%s%/$r3+$/(B', +insert_link_target_blank : '$B?7$7$$Ak$G%j%s%/$r3+$/(B', +insert_image_title : '$B2hA|$NA^F~(B/$BJT=8(B', +insert_image_src : '$B2hA|$N(BURL', +insert_image_alt : '$B2hA|$N@bL@(B', +help_desc : '$B%X%k%W(B', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/langs/ja_euc-jp.js new file mode 100755 index 0000000000..cc318db2a1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ja_euc-jp.js @@ -0,0 +1,41 @@ +// Japanese ܸ EUC-JP language pack + +tinyMCE.addToLang('',{ +bold_desc : ' (Ctrl+B)', +italic_desc : ' (Ctrl+I)', +underline_desc : ' (Ctrl+U)', +striketrough_desc : 'ä', +justifyleft_desc : '·', +justifycenter_desc : '·', +justifyright_desc : '·', +justifyfull_desc : 'ξü·', +bullist_desc : 'վ', +numlist_desc : 'ֹ', +outdent_desc : 'ȥǥ', +indent_desc : 'ǥ', +undo_desc : '᤹ (Ctrl+Z)', +redo_desc : '֤ (Ctrl+Y)', +link_desc : '󥯤Խ', +unlink_desc : '󥯤򳰤', +image_desc : '᡼', +cleanup_desc : 'ɤ', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : '󥯤Խ', +insert : '', +update : '', +cancel : '󥻥', +insert_link_url : '󥯤URL', +insert_link_target : 'å', +insert_link_target_same : 'Ʊɥǥ󥯤򳫤', +insert_link_target_blank : 'ɥǥ󥯤򳫤', +insert_image_title : '᡼Խ', +insert_image_src : '᡼URL', +insert_image_alt : 'إƥ', +help_desc : 'إ', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'ԡ/ڤ/Žդ Mozilla Firefox̵Ǥ\nܤɽޤ?', +popup_blocked : 'ݥåץå׶ػߤƤΤǡݥåץåפͭˤƤ' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/langs/ja_shift-jis.js new file mode 100644 index 0000000000..c093eafa04 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ja_shift-jis.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italic (Ctrl+I)', +underline_desc : 'Underline (Ctrl+U)', +striketrough_desc : 'Strikethrough', +justifyleft_desc : 'Align left', +justifycenter_desc : 'Align center', +justifyright_desc : 'Align right', +justifyfull_desc : 'Align full', +bullist_desc : 'Unordered list', +numlist_desc : 'Ordered list', +outdent_desc : 'Outdent', +indent_desc : 'Indent', +undo_desc : 'Undo (Ctrl+Z)', +redo_desc : 'Redo (Ctrl+Y)', +link_desc : 'Insert/edit link', +unlink_desc : 'Unlink', +image_desc : 'Insert/edit image', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'Insert/edit link', +insert : 'Insert', +update : 'Update', +cancel : 'Cancel', +insert_link_url : 'Link URL', +insert_link_target : 'Target', +insert_link_target_same : 'Open link in the same window', +insert_link_target_blank : 'Open link in a new window', +insert_image_title : 'Insert/edit image', +insert_image_src : 'Image URL', +insert_image_alt : 'Image description', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/langs/ja_shift_jis.js new file mode 100755 index 0000000000..dbb8136178 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ja_shift_jis.js @@ -0,0 +1,41 @@ +// Japanese { VtgJIS language pack + +tinyMCE.addToLang('',{ +bold_desc : ' (Ctrl+B)', +italic_desc : 'Α (Ctrl+I)', +underline_desc : ' (Ctrl+U)', +striketrough_desc : '', +justifyleft_desc : '', +justifycenter_desc : '', +justifyright_desc : 'E', +justifyfull_desc : '[', +bullist_desc : 'ӏ', +numlist_desc : 'iԍ', +outdent_desc : 'AEgfg', +indent_desc : 'Cfg', +undo_desc : 'ɖ߂ (Ctrl+Z)', +redo_desc : 'JԂ (Ctrl+Y)', +link_desc : 'N}EҏW', +unlink_desc : 'NO', +image_desc : 'C[W}', +cleanup_desc : 'R[h𐮔', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'N}EҏW', +insert : '}', +update : 'XV', +cancel : 'LZ', +insert_link_url : 'NURL', +insert_link_target : '^[Qbg', +insert_link_target_same : 'EBhEŃNJ', +insert_link_target_blank : 'VEBhEŃNJ', +insert_image_title : 'C[W}EҏW', +insert_image_src : 'C[WURL', +insert_image_alt : 'փeLXg', +help_desc : 'wv', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Rs[/؂/\t Mozilla FirefoxɖłB\nڂ\܂?', +popup_blocked : '|bvAbv֎~Ă̂ŁA|bvAbvLɂĂB' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/langs/ja_utf-8.js new file mode 100755 index 0000000000..c0ec613662 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ja_utf-8.js @@ -0,0 +1,41 @@ +// Japanese 日本語 utf-8 language pack + +tinyMCE.addToLang('',{ +bold_desc : '太字 (Ctrl+B)', +italic_desc : '斜体 (Ctrl+I)', +underline_desc : '下線 (Ctrl+U)', +striketrough_desc : '取り消し線', +justifyleft_desc : '左揃え', +justifycenter_desc : '中央揃え', +justifyright_desc : '右揃え', +justifyfull_desc : '両端揃え', +bullist_desc : '箇条書き', +numlist_desc : '段落番号', +outdent_desc : 'アウトデント', +indent_desc : 'インデント', +undo_desc : '元に戻す (Ctrl+Z)', +redo_desc : '繰り返し (Ctrl+Y)', +link_desc : 'リンクを挿入・編集', +unlink_desc : 'リンクを外す', +image_desc : 'イメージを挿入', +cleanup_desc : 'コードを整備する', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'リンクを挿入・編集', +insert : '挿入', +update : '更新', +cancel : 'キャンセル', +insert_link_url : 'リンクのURL', +insert_link_target : 'ターゲット', +insert_link_target_same : '同じウィンドウでリンクを開く', +insert_link_target_blank : '新しいウィンドウでリンクを開く', +insert_image_title : 'イメージを挿入・編集', +insert_image_src : 'イメージのURL', +insert_image_alt : '代替テキスト', +help_desc : 'ヘルプ', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'コピー/切り取る/貼り付けは Mozillaと Firefoxに無効です。\n詳しく表示しますか?', +popup_blocked : 'ポップアップ禁止されているので、ポップアップを有効にしてください。' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ko.js b/phpgwapi/js/tiny_mce/langs/ko.js new file mode 100644 index 0000000000..3ac5b4d4be --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ko.js @@ -0,0 +1,40 @@ +// KO lang variables by Setzer Gabbiani + +tinyMCE.addToLang('',{ +bold_desc : 'ϰ', +italic_desc : '', +underline_desc : '', +striketrough_desc : '', +justifyleft_desc : ' Ä', +justifycenter_desc : ' Ä', +justifyright_desc : ' Ä', +justifyfull_desc : ' Ä', +bullist_desc : ' Å', +numlist_desc : 'ȣ Å', +outdent_desc : '', +indent_desc : '鿩', +undo_desc : '', +redo_desc : '', +link_desc : 'Å Ö/Ä', +unlink_desc : 'Å ', +image_desc : '׸ Ö/Ä', +cleanup_desc : 'Äڵå ϰ', +focus_alert : ' ϱ ݵå Å 򰡿 Ä Ö մϴ.', +edit_confirm : ' ÅؽƮ ڽ HTML Å͸ ϱ Ͻʴϱ?', +insert_link_title : 'Å Ö/Ä', +insert : '', +update : '', +cancel : '', +insert_link_url : 'URL Å', +insert_link_target : 'Å', +insert_link_target_same : ' â Å ', +insert_link_target_blank : ' â Å ', +insert_image_title : '׸ Ö/Ä', +insert_image_src : '׸ URL', +insert_image_alt : '׸ ', +help_desc : '', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/nb.js b/phpgwapi/js/tiny_mce/langs/nb.js new file mode 100644 index 0000000000..2e6968dc0c --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/nb.js @@ -0,0 +1,41 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +bold_desc : 'Fet', +italic_desc : 'Kursiv', +underline_desc : 'Understreking', +striketrough_desc : 'Gjennomstreking', +justifyleft_desc : 'Venstrestill', +justifycenter_desc : 'Sentrer', +justifyright_desc : 'Høyrestill', +justifyfull_desc : 'Blokkjustering', +bullist_desc : 'Punktliste', +numlist_desc : 'Nummerliste', +outdent_desc : 'Reduser innrykk', +indent_desc : 'Øk innrykk', +undo_desc : 'Angre', +redo_desc : 'Gjør om', +link_desc : 'Opprett/endre lenke', +unlink_desc : 'Fjern lenke', +image_desc : 'Sett inn/endre bilde', +cleanup_desc : 'Rens grisete kode', +focus_alert : 'Editoren må være i fokus før du benytter denne kommando.', +edit_confirm : 'Vil du benytte WYSIWYG editoren for dette tekstfelt?', +insert_link_title : 'Opprett/endre lenke', +insert : 'Sett inn', +update : 'Oppdater', +cancel : 'Avbryt', +insert_link_url : 'Lenkens URL', +insert_link_target : 'Vindu', +insert_link_target_same : 'Åpne i samme vindu', +insert_link_target_blank : 'Åpne i nytt vindu', +insert_image_title : 'Opprett/endre bilde', +insert_image_src : 'Bildets URL', +insert_image_alt : 'Bildets beskrivelse', +help_desc : 'Hjelp', +bold_img : 'bold_de_se.gif', +italic_img : 'italic_de_se.gif', +underline_img : 'underline.gif', +clipboard_msg : 'Klipp ut/Kopier/Lim inn fungerer ikke i Mozilla og Firefox. Vil du vite mer om dette?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/nl.js b/phpgwapi/js/tiny_mce/langs/nl.js new file mode 100644 index 0000000000..7e292525af --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/nl.js @@ -0,0 +1,42 @@ +// NL lang variables thanks to "Meint Post" +// Updates by (2.0) Mark van der Sanden + +tinyMCE.addToLang('',{ +bold_desc : 'Vet (Ctrl+B)', +italic_desc : 'Cursief (Ctrl+I)', +underline_desc : 'Onderstrepen (Ctrl+U)', +striketrough_desc : 'Doorhalen', +justifyleft_desc : 'Links uitlijnen', +justifycenter_desc : 'Centreren', +justifyright_desc : 'Rechts uitlijnen', +justifyfull_desc : 'Volledig uitlijnen', +bullist_desc : 'Opsommingstekens', +numlist_desc : 'Genummerde lijst', +outdent_desc : 'Inspringen verkleinen', +indent_desc : 'Inspringen vergroten', +undo_desc : 'Ongedaan maken (Ctrl+Z)', +redo_desc : 'Opnieuw (Ctrl+Y)', +link_desc : 'Hyperlink invoegen/bewerken', +unlink_desc : 'Hyperlink verwijderen', +image_desc : 'Afbeelding invoegen', +cleanup_desc : 'Code opschonen', +focus_alert : 'Klik op de tekst in de editor voor het uitvoeren van dit commando.', +edit_confirm : 'Wilt u de WYSIWYG modus voor deze textarea gebruiken?', +insert_link_title : 'Hyperlink invoegen/bewerken', +insert : 'OK', +update : 'Toepassen', +cancel : 'Annuleren', +insert_link_url : 'URL link', +insert_link_target : 'Bestemming', +insert_link_target_same : 'Open link in hetzelfde venster', +insert_link_target_blank : 'Open link in een nieuw venster', +insert_image_title : 'Afbeelding invoegen/bewerken', +insert_image_src : 'Afbeelding', +insert_image_alt : 'Beschrijving', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Kopiren/knippen/plakken is niet beschikbaar in Mozilla en Firefox.\nWilt u meer informatie over deze kwestie?', +popup_blocked : 'Uw browser heeft zojuist geweigerd een popup-venster te tonen. Waarschijnlijk gebruikt u een poup-blocker die voor deze editor te streng omgaat met popups. Om het venster toch te tonen, zult u uw popup-blocker zo in moeten stellen dat het popups van deze website toestaat.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/nn.js b/phpgwapi/js/tiny_mce/langs/nn.js new file mode 100644 index 0000000000..72a2d68ec3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/nn.js @@ -0,0 +1,41 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +bold_desc : 'Feit', +italic_desc : 'Kursiv', +underline_desc : 'Understreking', +striketrough_desc : 'Gjennomstreking', +justifyleft_desc : 'Venstrestill', +justifycenter_desc : 'Sentrer', +justifyright_desc : 'Høgrestill', +justifyfull_desc : 'Blokkjustering', +bullist_desc : 'Punktliste', +numlist_desc : 'Nummerliste', +outdent_desc : 'Reduser innrykk', +indent_desc : 'Auk innrykk', +undo_desc : 'Angre', +redo_desc : 'Gjer om', +link_desc : 'Opprett/endre lenke', +unlink_desc : 'Fjern lenke', +image_desc : 'Sett inn/endre bilde', +cleanup_desc : 'Rens grisete kode', +focus_alert : 'Editoren må være i fokus før du benytter denne kommando.', +edit_confirm : 'Vil du benytte WYSIWYG editoren for dette tekstfelt?', +insert_link_title : 'Opprett/endre lenke', +insert : 'Sett inn', +update : 'Oppdater', +cancel : 'Avbryt', +insert_link_url : 'Lenkens URL', +insert_link_target : 'Vindu', +insert_link_target_same : 'Åpne i samme vindauge', +insert_link_target_blank : 'Åpne i nytt vindauge', +insert_image_title : 'Opprett/endre bilde', +insert_image_src : 'Bildets URL', +insert_image_alt : 'Bildets beskrivelse', +help_desc : 'Hjelp', +bold_img : 'bold_de_se.gif', +italic_img : 'italic_de_se.gif', +underline_img : 'underline.gif', +clipboard_msg : 'Klipp ut/Kopier/Lim inn fungerer ikkje i Mozilla og Firefox. Vil du vite meir om dette?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/pl.js b/phpgwapi/js/tiny_mce/langs/pl.js new file mode 100644 index 0000000000..3fc44c268f --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/pl.js @@ -0,0 +1,44 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 26.10.2005 + +tinyMCE.addToLang('',{ +bold_desc : 'Pogrubienie (Ctrl+B)', +italic_desc : 'Pochylenie (Ctrl+I)', +underline_desc : 'Podkrelenie (Ctrl+U)', +striketrough_desc : 'Przekrelenie', +justifyleft_desc : 'Wyrwnaj do lewej', +justifycenter_desc : 'Wyrwnaj do rodka', +justifyright_desc : 'Wyrwnaj do prawej', +justifyfull_desc : 'Wyrwnaj na caoci', +bullist_desc : 'Lista nienumerowana', +numlist_desc : 'Lista numerowana', +outdent_desc : 'Zmniejsz wcicie', +indent_desc : 'Zwiksz wcicie', +undo_desc : 'Cofnij (Ctrl+Z)', +redo_desc : 'Ponw (Ctrl+Y)', +link_desc : 'Wstaw/edytuj link', +unlink_desc : 'Usu link', +image_desc : 'Wstaw/edytuj obrazek', +cleanup_desc : 'Usu zbdny kod', +focus_alert : 'Instancja edytora musi by aktywna przed uyciem tego polecenia.', +edit_confirm : 'Czy chcesz uy edytora WYSIWYG dla tego pola tekstowego?', +insert_link_title : 'Wstaw/edytuj link', +insert : 'Wstaw', +update : 'Aktualizuj', +cancel : 'Anuluj', +insert_link_url : 'URL linku', +insert_link_target : 'Cel', +insert_link_target_same : 'Otwrz link w tym samym oknie', +insert_link_target_blank : 'Otwrz link w nowym oknie', +insert_image_title : 'Wstaw/edytuj obrazek', +insert_image_src : 'URL obrazka', +insert_image_alt : 'Opis obrazka', +help_desc : 'Pomoc', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Kopiuj/Wytnij/Wklej nie jest dostpne dla przegldarek Mozilla i Firefox.\nCzy chcesz uzyska o tym wicej informacji?', +popup_blocked : 'Niestety, ale odnotowano, e Twoja przegldarka ma wczon blokad okienek popup. Musisz wyczy opcj blokowania okienek dla tej strony, aby TinyMCE mg pracowa z pen funkcjonalnoci.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/pt.js b/phpgwapi/js/tiny_mce/langs/pt.js new file mode 100644 index 0000000000..72dd319bf1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/pt.js @@ -0,0 +1,42 @@ +// PT lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Negrito', +italic_desc : 'Itlico', +underline_desc : 'Sublinhar', +striketrough_desc : 'Riscado', +justifyleft_desc : 'Alinhar esquerda', +justifycenter_desc : 'Alinhar ao centro', +justifyright_desc : 'Alinhar direita', +justifyfull_desc : 'Justificado', +bullist_desc : 'Lista no ordenada', +numlist_desc : 'Lista ordenada', +outdent_desc : 'Retirar indentao', +indent_desc : 'Indentar', +undo_desc : 'Desfazer', +redo_desc : 'Refazer', +link_desc : 'Inserir Hiperligao', +unlink_desc : 'Remover hiperligao', +image_desc : 'Inserir Referncia a imagem externa', +object_desc : 'Inserir Objecto Multimdia da Galeria', +cleanup_desc : 'Limpeza de cdigo', +focus_alert : 'Uma instncia do editor dever estar seleccionada antes de utilizar este comando.', +edit_confirm : 'Deseja utilizar o modo visual de edio para ezta rea de texto?', +insert_link_title : 'Inserir/editar hiperligao', +insert : 'Inserir', +update : 'Actualizar', +cancel : 'Cancelar', +insert_link_url : 'URL de hiperligao', +insert_link_target : 'Destino', +insert_link_target_same : 'Abrir endereo na mesma janela', +insert_link_target_blank : 'Abrir endereo numa nova janela', +insert_image_title : 'Inserir/editar imagem', +insert_image_src : 'Endereo da imagem', +insert_image_alt : 'Descrio alt.', +help_desc : 'Ajuda', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copiar/Cortar/Colar no est disponvel em Mozilla and Firefox.\nPretende obter mais informao acerca desta questo?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/pt_br.js b/phpgwapi/js/tiny_mce/langs/pt_br.js new file mode 100644 index 0000000000..e4f851ad90 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/pt_br.js @@ -0,0 +1,50 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +bold_desc : 'Negrito (Ctrl+B)', +italic_desc : 'Itlico (Ctrl+I)', +underline_desc : 'Sublinhar (Ctrl+U)', +striketrough_desc : 'Riscado', +justifyleft_desc : 'Alinhar esquerda', +justifycenter_desc : 'Centralizado', +justifyright_desc : 'Alinhar direita', +justifyfull_desc : 'Justificado', +bullist_desc : 'Lista no ordenada', +numlist_desc : 'Lista ordenada', +outdent_desc : 'Retirar indentao', +indent_desc : 'Indentar', +undo_desc : 'Desfazer (Ctrl+Z)', +redo_desc : 'Refazer (Ctrl+Y)', +link_desc : 'Inserir link', +unlink_desc : 'Remover link', +image_desc : 'Inserir Referncia a imagem externa', +object_desc : 'Inserir Objeto Multimdia da Galeria', +cleanup_desc : 'Limpeza de cdigo', +focus_alert : 'Uma instncia do editor dever estar selecionada antes de utilizar este comando.', +edit_confirm : 'Deseja utilizar o Modo Visual (WYSIWYG) de edio para esta rea de texto?', +insert_link_title : 'Inserir/editar link', +insert : 'Inserir', +update : 'Atualizar', +cancel : 'Cancelar', +insert_link_url : 'URL do link', +insert_link_target : 'Destino', +insert_link_target_same : 'Abrir link na mesma janela', +insert_link_target_blank : 'Abrir link em uma nova janela', +insert_image_title : 'Inserir/editar imagem', +insert_image_src : 'Endereo (URL) da imagem', +insert_image_alt : 'Descrio da imagem', +help_desc : 'Ajuda', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copiar/Cortar/Colar no est disponvel no Mozilla e Firefox.\nPretende obter mais informao sobre esta questo?', +popup_blocked : 'Desculpe, mas sabemos que seu bloqueador de popup desativou uma que permite a funcionabilidade desta aplicao. Voc precisa desativar seu bloqueador de popup neste site para que possa ser utilizado todos os recursos desta ferramenta.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/readme.txt b/phpgwapi/js/tiny_mce/langs/readme.txt new file mode 100644 index 0000000000..44eda6fbe2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/readme.txt @@ -0,0 +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-1 +http://www.loc.gov/standards/iso639-2/englangn.html + +Try using entires if possible. å etc. diff --git a/phpgwapi/js/tiny_mce/langs/ro.js b/phpgwapi/js/tiny_mce/langs/ro.js new file mode 100755 index 0000000000..b6b1ca2846 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ro.js @@ -0,0 +1,41 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italic (Ctrl+I)', +underline_desc : 'Subliniat (Ctrl+U)', +striketrough_desc : 'Tăiat', +justifyleft_desc : 'Aliniere la stânga', +justifycenter_desc : 'Centrat', +justifyright_desc : 'Alinere la dreapta', +justifyfull_desc : 'Aliniere integrală', +bullist_desc : 'Listă neordonată', +numlist_desc : 'Listă ordonată', +outdent_desc : 'De-indentare', +indent_desc : 'Indentare', +undo_desc : 'Revenire cu un pas înapoi (Ctrl+Z)', +redo_desc : 'Revenire cu un pas înainte (Ctrl+Y)', +link_desc : 'Inserează/editează legătură', +unlink_desc : 'Şterge legătura', +image_desc : 'Inserează/editează imagine', +cleanup_desc : 'Curăţă cod neîngrijit', +focus_alert : 'O instanţă de editare trebuie să fie activă înainte de folosirea acestei comenzi.', +edit_confirm : 'Vrei să foloseşti modul WYSIWYG pentru această zonă de text?', +insert_link_title : 'Inserează/editează legătură', +insert : 'Inserează', +update : 'Actualizează', +cancel : 'Anulare', +insert_link_url : 'URL legătură', +insert_link_target : 'Ţintă legătură', +insert_link_target_same : 'Deschide legătura în aceeaşi fereastră', +insert_link_target_blank : 'Deschide legătura într-o fereastră nouă', +insert_image_title : 'Inserează/editează imagine', +insert_image_src : 'URL imagine', +insert_image_alt : 'Descriere imagine', +help_desc : 'Ajutor', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copierea/Tăierea/Lipirea nu sunt disponibile în Mozilla şi Firefox.\nVrei mai multe informaţii despre acest lucru?', +popup_blocked : 'Ne pare rău, dar am observat că componenta de blocare a popup-urilor a dezactivat o fereastră care asigură funcţionalitatea aplicaţiei. Va trebui să dezactivezi blocarea de popup-uri pe acest portal, pentru a putea folosi acest instrument la întreaga lui capacitate.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ru.js b/phpgwapi/js/tiny_mce/langs/ru.js new file mode 100644 index 0000000000..6ef3f1adbd --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ru.js @@ -0,0 +1,43 @@ +// Russian windows-1251 translation by Vladimir Vitkovsky +// admin@transport.su +// www.webgui.uanet.biz + +tinyMCE.addToLang('',{ +bold_desc : '', +italic_desc : '', +underline_desc : '', +striketrough_desc : '', +justifyleft_desc : ' ', +justifycenter_desc : ' ', +justifyright_desc : ' ', +justifyfull_desc : ' ', +bullist_desc : ' ', +numlist_desc : ' ', +outdent_desc : ' ', +indent_desc : ' ', +undo_desc : '', +redo_desc : '', +link_desc : '/ ', +unlink_desc : ' ', +image_desc : '/ ', +cleanup_desc : ' ', +focus_alert : ' .', +edit_confirm : ' (WYSIWYG) ?', +insert_link_title : '/ ', +insert : '', +update : '', +cancel : '', +insert_link_url : ' ', +insert_link_target : ' ...:', +insert_link_target_same : ' ', +insert_link_target_blank : ' ', +insert_image_title : '/ ', +insert_image_src : ' ', +insert_image_alt : ' ', +help_desc : '', +bold_img : "bold_ru.gif", +italic_img : "italic_ru.gif", +underline_img : "underline_ru.gif", +clipboard_msg : '// Mozilla Firefox.\n ?', +popup_blocked : ', . , , .' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..74168648c9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ru_KOI8-R.js @@ -0,0 +1,43 @@ +// Russian KOI8-R translation by Vladimir Vitkovsky +// admin@transport.su +// www.webgui.uanet.biz + +tinyMCE.addToLang('',{ +bold_desc : '', +italic_desc : '', +underline_desc : '', +striketrough_desc : '', +justifyleft_desc : ' ', +justifycenter_desc : ' ', +justifyright_desc : ' ', +justifyfull_desc : ' ', +bullist_desc : ' ', +numlist_desc : ' ', +outdent_desc : ' ', +indent_desc : ' ', +undo_desc : '', +redo_desc : '', +link_desc : '/ ', +unlink_desc : ' ', +image_desc : '/ ', +cleanup_desc : ' ', +focus_alert : ' .', +edit_confirm : ' (WYSIWYG) ?', +insert_link_title : '/ ', +insert : '', +update : '', +cancel : '', +insert_link_url : ' ', +insert_link_target : ' ...:', +insert_link_target_same : ' ', +insert_link_target_blank : ' ', +insert_image_title : '/ ', +insert_image_src : ' ', +insert_image_alt : ' ', +help_desc : '', +bold_img : "bold_ru.gif", +italic_img : "italic_ru.gif", +underline_img : "underline_ru.gif", +clipboard_msg : '// Mozilla Firefox.\n ?', +popup_blocked : ', . , , .' +}); diff --git a/phpgwapi/js/tiny_mce/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/langs/ru_UTF-8.js new file mode 100644 index 0000000000..18c3d94f7c --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/ru_UTF-8.js @@ -0,0 +1,43 @@ +// Russian UTF-8 translation by Vladimir Vitkovsky +// admin@transport.su +// www.webgui.uanet.biz + +tinyMCE.addToLang('',{ +bold_desc : 'Полужирный', +italic_desc : 'Курсив', +underline_desc : 'Подчеркнутый', +striketrough_desc : 'Перечеркнутый', +justifyleft_desc : 'Выравнивание влево', +justifycenter_desc : 'Выравнивание по центру', +justifyright_desc : 'Выравнивание вправо', +justifyfull_desc : 'Равномерное заполнение', +bullist_desc : 'Маркированный список', +numlist_desc : 'Нумерованный список', +outdent_desc : 'Уменьшить отступ', +indent_desc : 'Увеличить отспут', +undo_desc : 'Отменить', +redo_desc : 'Вернуть', +link_desc : 'Вставить/изменить ссылку', +unlink_desc : 'Убрать ссылку', +image_desc : 'Вставить/изменить изображение', +cleanup_desc : 'Подчистить избыточный код', +focus_alert : 'Для использования данной команды Вы должны находится в поле редактора.', +edit_confirm : 'Хотите ли Вы редактировать в визуальном (WYSIWYG) режиме?', +insert_link_title : 'Вставить/изменить ссылку', +insert : 'Вставить', +update : 'Применить', +cancel : 'Отменить', +insert_link_url : 'Адрес ссылки', +insert_link_target : 'Открыть в...:', +insert_link_target_same : 'том же окне', +insert_link_target_blank : 'новом окне', +insert_image_title : 'Вставить/изменить изображение', +insert_image_src : 'Адрес картинки', +insert_image_alt : 'Описание картинки', +help_desc : 'Помощь', +bold_img : "bold_ru.gif", +italic_img : "italic_ru.gif", +underline_img : "underline_ru.gif", +clipboard_msg : 'Копировать/Вырезать/Вставить недоступны для Mozilla и Firefox.\nХотите узнать об этом подробнее?', +popup_blocked : 'Извините, но в Вашем браузере заблокированы всплывающие окна. Для того, чтобы иметь возможность воспользоваться всеми возможностями редактора, необходимо отключить блокировку всплывающих окон для этого сайта.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/si.js b/phpgwapi/js/tiny_mce/langs/si.js new file mode 100644 index 0000000000..8482a14802 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/si.js @@ -0,0 +1,41 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +bold_desc : 'Krepko (Ctrl+B)', +italic_desc : 'Postrani (Ctrl+I)', +underline_desc : 'Podčrtano (Ctrl+U)', +striketrough_desc : 'Prečrtano', +justifyleft_desc : 'Poravnava levo', +justifycenter_desc : 'Sredinska poravnava', +justifyright_desc : 'Poravnava desno', +justifyfull_desc : 'Porazdeli vsebino', +bullist_desc : 'Označevanje', +numlist_desc : 'Oštevilčevanje', +outdent_desc : 'Zmanjšaj zamik', +indent_desc : 'Povečaj zamik', +undo_desc : 'Prekliči zadnjo akcijo (Ctrl+Z)', +redo_desc : 'Ponovi prejšnjo akcijo (Ctrl+Y)', +link_desc : 'Vstavi/uredi hiperpovezavo', +unlink_desc : 'Zbriši hiperpovezavo', +image_desc : 'Vstavi/uredi sliko', +cleanup_desc : 'Počisti umazano kodo', +focus_alert : 'Pred uporabo tega ukaza morate klikniti na urejevalnik.', +edit_confirm : 'Ali želite uporabljati WYSIWYG način za ta urejevalnik?', +insert_link_title : 'Vstavi/uredi hiperpovezavo', +insert : 'Vstavi', +update : 'Posodobi', +cancel : 'Prekliči', +insert_link_url : 'URL naslov', +insert_link_target : 'Tarča', +insert_link_target_same : 'Odpri hiperpovezavo v istem oknu', +insert_link_target_blank : 'Odpri hiperpovezavo v novem oknu', +insert_image_title : 'Vstavi/uredi sliko', +insert_image_src : 'URL naslov slike', +insert_image_alt : 'Opis slike', +help_desc : 'Pomoč', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Kopiraj/Izreži/Prilepi ni na voljo v brskalnikih Mozilla in Firefox.\nAli želite več informacij glede tega?', +popup_blocked : 'Odpiranje novega okna je bilo blokirano. Če želite uporabljati vsa orodja, morate izklopiti blokiranje novih oken na tej strani.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/sk.js b/phpgwapi/js/tiny_mce/langs/sk.js new file mode 100755 index 0000000000..cd0c61b40d --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/sk.js @@ -0,0 +1,50 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:43 spocke Exp $ + */ + + +tinyMCE.addToLang('',{ +bold_desc : 'Tučné', +italic_desc : 'Kurzivá', +underline_desc : 'Podčiarknutie', +striketrough_desc : 'Preškrtnutie', +justifyleft_desc : 'Zarovnanie vľavo', +justifycenter_desc : 'Zarovnanie na stred', +justifyright_desc : 'Zarovnanie vpravo', +justifyfull_desc : 'Zarovnanie do bloku', +bullist_desc : 'Zoznam s odrážkami', +numlist_desc : 'Číslovaný zoznam', +outdent_desc : 'Snížiť odsadenie', +indent_desc : 'Zvýšiť odsadenie', +undo_desc : 'Zpäť', +redo_desc : 'Znovu', +link_desc : 'Vložiť odkaz', +unlink_desc : 'Zrušiť odkaz', +image_desc : 'Vložiť obrázok', +cleanup_desc : 'Vyčistiť kód', +focus_alert : 'Pred použitím tohoto príkazu musí byť kurzor v okne editora.', +edit_confirm : 'Chcete použiť WYSIWYG editáciu pre tento text?', +insert_link_title : 'Vložiť/upraviť odkaz', +insert : 'Vložiť', +update : 'Zmeniť', +cancel : 'Zrušiť', +insert_link_url : 'URL odkazu', +insert_link_target : 'Cieľ', +insert_link_target_same : 'Otvoriť odkaz v rovnakom okne', +insert_link_target_blank : 'Otvoriť odkaz v novom okne', +insert_image_title : 'Vložiť/upraviť obrázok', +insert_image_src : 'URL obrázku', +insert_image_alt : 'Popis obrázku', +help_desc : 'Nápoveda', +bold_img : 'bold.gif', +italic_img : 'italic.gif', +underline_img : "underline.gif", +clipboard_msg : 'Funkcia Kopírovať/vysrihnúť/vložiť niesú použiteľné v Mozille a Firefoxe.\nChcete viac informácií o tomto probléme?', +popup_blocked : 'Ospravedlňujeme sa, ale blokovač vyskakovacích okien neumožnil otvoriť okno, ktoré zprostredkovává funkčnosť aplikáce. Musíte vypnuť blokovanie vyskakovacích okien na tomto webe, abyste využili jeho plnú funkčnosť.' +}); + diff --git a/phpgwapi/js/tiny_mce/langs/sq.js b/phpgwapi/js/tiny_mce/langs/sq.js new file mode 100755 index 0000000000..d940198f80 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/sq.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'I forte (Ctrl+B)', +italic_desc : 'Italik (Ctrl+I)', +underline_desc : 'I nenvizuar (Ctrl+U)', +striketrough_desc : 'Strikethrough', +justifyleft_desc : 'Ne te majte', +justifycenter_desc : 'Ne mes', +justifyright_desc : 'Ne te djathte', +justifyfull_desc : 'Justifiko', +bullist_desc : 'Liste e parenditur', +numlist_desc : 'Liste e renditur', +outdent_desc : 'Terhiq', +indent_desc : 'Shty', +undo_desc : '\'bej (Ctrl+Z)', +redo_desc : 'Ri-bej (Ctrl+Y)', +link_desc : 'Nderfut /ndrysho lidhjen', +unlink_desc : '\'lidh', +image_desc : 'Nderfut /ndrysho imazhin', +cleanup_desc : 'Pastor kodin problematik', +focus_alert : 'fokuso nje instance editori pastaj kliko.', +edit_confirm : 'A do te perdoresh tinyMce?', +insert_link_title : 'Nderfut /ndrysho lidhjen', +insert : 'Nderfut', +update : 'Ndrysho', +cancel : 'Kthehu', +insert_link_url : 'URL e lidhjes', +insert_link_target : 'Objektivi', +insert_link_target_same : 'Hape lidhjen ne po ate dritare', +insert_link_target_blank : 'Hape lidhjen ne dritare te re', +insert_image_title : 'Nderfut /ndrysho imazhin', +insert_image_src : 'URL e imazhit', +insert_image_alt : 'Pershkrimi i imazhit', +help_desc : 'Ndihme', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : '?', +popup_blocked : 'Shiko popup blocker - in.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/langs/sv.js b/phpgwapi/js/tiny_mce/langs/sv.js new file mode 100644 index 0000000000..f07ffa8584 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/sv.js @@ -0,0 +1,43 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Fet', +italic_desc : 'Kursiv', +underline_desc : 'Understruken', +striketrough_desc : 'Genomstruken', +justifyleft_desc : 'Vänsterjustera', +justifycenter_desc : 'Centrera', +justifyright_desc : 'Högerjustera', +justifyfull_desc : 'Kantjustera', +bullist_desc : 'Punktlista', +numlist_desc : 'Nummerlista', +outdent_desc : 'Utdrag', +indent_desc : 'Indrag', +undo_desc : 'Ångra', +redo_desc : 'Gör om', +link_desc : 'Skapa länk', +unlink_desc : 'Ta bort länk', +image_desc : 'Skapa/redigera bild', +cleanup_desc : 'Rensa skräpkod', +focus_alert : 'Flytta markören till en textyta innan du använder detta kommando.', +edit_confirm : 'Vill du använda WYSIWYG-editorn för detta textfält?', +insert_link_title : 'Skapa/redigera länk', +insert : 'Skapa', +update : 'Uppdatera', +cancel : 'Avbryt', +insert_link_url : 'Länkens URL', +insert_link_target : 'Fönster', +insert_link_target_same : 'Öppna länken i samma fönster', +insert_link_target_blank : 'Öppna länken i ett nytt fönster', +insert_link_delta_width : 20, +insert_link_delta_height : 10, +insert_image_title : 'Skapa/redigera bild', +insert_image_src : 'Bildens URL', +insert_image_alt : 'Bildens beskrivning', +bold_img : 'bold_de_se.gif', +italic_img : 'italic_de_se.gif', +underline_img : "underline.gif", +clipboard_msg : 'Klipput/Kopiera/Klistra fungerar inte Mozilla och Firefox. Vill du veta mer om detta?', +help_desc : "Hjälp", +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/th.js b/phpgwapi/js/tiny_mce/langs/th.js new file mode 100644 index 0000000000..7e1d150055 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/th.js @@ -0,0 +1,40 @@ +// TH lang variables Thai contributed by Innozent + +tinyMCE.addToLang('',{ +bold_desc : '˹', +italic_desc : '§', +underline_desc : 'մ', +striketrough_desc : 'մÅ', +justifyleft_desc : 'Դͺ', +justifycenter_desc : 'Ö觡Åҧ', +justifyright_desc : 'Դͺ', +justifyfull_desc : 'ѴԴͺ', +bullist_desc : 'ѭÅѡɳʴǢ', +numlist_desc : 'ÅӴѺÅ', +outdent_desc : 'Åͧ', +indent_desc : 'ͧ', +undo_desc : 'Åԡ', +redo_desc : '', +link_desc : 'Åԧ', +unlink_desc : 'ÅÅԧ', +image_desc : 'ٻ', +cleanup_desc : 'ӤҴͤ', +focus_alert : 'ͧÅ͡Åͧͤ͹觹', +edit_confirm : 'سͧ÷ WYSIWYG mode ѺÅͧͤä?', +insert_link_title : '/ä Åԧ', +insert : '', +cancel : '¡Åԡ', +insert_link_url : 'Link URL', +insert_link_target : 'ԴÅԧ', +insert_link_target_same : '˹ҵҧǡѹ', +insert_link_target_blank : '˹ҵҧ', +insert_image_title : '/ä ٻ', +insert_image_src : 'URL ͧٻ', +insert_image_alt : '͸Ժٻ', +help_desc : 'Å', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/tr.js b/phpgwapi/js/tiny_mce/langs/tr.js new file mode 100644 index 0000000000..e45b586001 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/tr.js @@ -0,0 +1,41 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Kaln (Ctrl+B)', +italic_desc : 'talik (Ctrl+I)', +underline_desc : 'Alt izgili (Ctrl+U)', +striketrough_desc : 'st izgili', +justifyleft_desc : 'Sola dayal', +justifycenter_desc : 'Ortalanm', +justifyright_desc : 'Saa dayal', +justifyfull_desc : 'ki kenara yaslanm', +bullist_desc : 'Srasz liste', +numlist_desc : 'Sral liste', +outdent_desc : 'Girintiyi azalt', +indent_desc : 'Girintiyi arttr', +undo_desc : 'Geri al (Ctrl+Z)', +redo_desc : 'Yeniden yap (Ctrl+Y)', +link_desc : 'Link ekle/dzenle', +unlink_desc : 'Linki kaldr', +image_desc : 'Resim ekle/dzenle', +cleanup_desc : 'Dank kodu dzenle', +focus_alert : 'Bu komutu kullanmadan nce editr seilmeli(aktif olmal).', +edit_confirm : 'Bu text alan iin WYSIWYG modu kullanmak ister misiniz?', +insert_link_title : 'Link ekle/dzenle', +insert : 'Ekle', +update : 'Gncelle', +cancel : 'ptal', +insert_link_url : 'Link adresi giriniz', +insert_link_target : 'Hedef adres', +insert_link_target_same : 'Linki ayn sayfada a', +insert_link_target_blank : 'Linki yeni sayfada a', +insert_image_title : 'Resim ekle/dzenle', +insert_image_src : 'Resim adresi', +insert_image_alt : 'Resim aklamas', +help_desc : 'Yardm', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Mozilla ve Firefox tarayclarnda kopyala/kes/yaptr komutlarn kullanamassnz.\n Bu konu hakknda daha fazla bilgi edinmek ister misiniz?', +popup_blocked : 'Popup engelleyiciniz programn almasn nlemektedir, bu zellikten yararlanabilmeniz iin popup engelleyicinizi kapatmanz gerekiyor.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/langs/tw.js b/phpgwapi/js/tiny_mce/langs/tw.js new file mode 100644 index 0000000000..c093eafa04 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/tw.js @@ -0,0 +1,41 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +bold_desc : 'Bold (Ctrl+B)', +italic_desc : 'Italic (Ctrl+I)', +underline_desc : 'Underline (Ctrl+U)', +striketrough_desc : 'Strikethrough', +justifyleft_desc : 'Align left', +justifycenter_desc : 'Align center', +justifyright_desc : 'Align right', +justifyfull_desc : 'Align full', +bullist_desc : 'Unordered list', +numlist_desc : 'Ordered list', +outdent_desc : 'Outdent', +indent_desc : 'Indent', +undo_desc : 'Undo (Ctrl+Z)', +redo_desc : 'Redo (Ctrl+Y)', +link_desc : 'Insert/edit link', +unlink_desc : 'Unlink', +image_desc : 'Insert/edit image', +cleanup_desc : 'Cleanup messy code', +focus_alert : 'A editor instance must be focused before using this command.', +edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?', +insert_link_title : 'Insert/edit link', +insert : 'Insert', +update : 'Update', +cancel : 'Cancel', +insert_link_url : 'Link URL', +insert_link_target : 'Target', +insert_link_target_same : 'Open link in the same window', +insert_link_target_blank : 'Open link in a new window', +insert_image_title : 'Insert/edit image', +insert_image_src : 'Image URL', +insert_image_alt : 'Image description', +help_desc : 'Help', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/vi.js b/phpgwapi/js/tiny_mce/langs/vi.js new file mode 100755 index 0000000000..9f6496e5a4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/vi.js @@ -0,0 +1,41 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +bold_desc : 'Đậm (Ctrl+B)', +italic_desc : 'Nghiêng (Ctrl+I)', +underline_desc : 'Gạch chân (Ctrl+U)', +striketrough_desc : 'Gạch ngang', +justifyleft_desc : 'Căn lề trái', +justifycenter_desc : 'Căn lề giữa', +justifyright_desc : 'Căn lề phải', +justifyfull_desc : 'Căn lề đều hai bên', +bullist_desc : 'Danh sách không sắp xếp thứ tự', +numlist_desc : 'Danh sách có sắp xếp thứ tự', +outdent_desc : 'Nhô ra', +indent_desc : 'Thụt vào', +undo_desc : 'Quay lại một thao tác (Ctrl+Z)', +redo_desc : 'Thực hiện lại một thao tác (Ctrl+Y)', +link_desc : 'Thêm/sửa liên kết', +unlink_desc : 'Hủy liên kết', +image_desc : 'Thêm/sửa ảnh', +cleanup_desc : 'Xóa sạch các mã lộn xộn', +focus_alert : 'Cần nhấn chuột vào bên trong ô nhập trước khi sử dụng lệnh này.', +edit_confirm : 'Bạn có muốn dùng chế độ WYSIWYG (thấy gì có nấy) cho ô nhập này?', +insert_link_title : 'Thêm/sửa liên kết', +insert : 'Thêm', +update : 'Cập nhật', +cancel : 'Hủy bỏ', +insert_link_url : 'Địa chỉ liên kết', +insert_link_target : 'Mục tiêu', +insert_link_target_same : 'Mở liên kết trong cùng cửa sổ', +insert_link_target_blank : 'Mở liên kết trong cửa sổ mới', +insert_image_title : 'Thêm/sửa ảnh', +insert_image_src : 'Địa chỉ ảnh', +insert_image_alt : 'Mô tả ảnh', +help_desc : 'Trợ giúp', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : 'Trên Mozilla và Firefox không sử dụng được các thao tác Sao chép/Cắt/Dán. \nBạn cần thêm thông tin về điều này?', +popup_blocked : 'Xin lỗi, nhưng chúng tôi thấy bộ khóa các cửa sổ bật ra (popup-blocker) của bạn đã khóa một cửa sổ cung cấp chức năng ứng dụng. Bạn cần tắt chế độ khóa cửa sổ bật ra cho trang web này để sử dụng hết các chức năng của công cụ này.' +}); diff --git a/phpgwapi/js/tiny_mce/langs/zh_cn.js b/phpgwapi/js/tiny_mce/langs/zh_cn.js new file mode 100755 index 0000000000..350dcd034d --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/zh_cn.js @@ -0,0 +1,42 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +bold_desc : ' (Ctrl+B)', +italic_desc : 'б (Ctrl+I)', +underline_desc : '» (Ctrl+U)', +striketrough_desc : 'ɾ', +justifyleft_desc : '', +justifycenter_desc : 'ж', +justifyright_desc : 'Ҷ', +justifyfull_desc : '˶', +bullist_desc : 'б', +numlist_desc : 'б', +outdent_desc : '', +indent_desc : '', +undo_desc : ' (Ctrl+Z)', +redo_desc : ' (Ctrl+Y)', +link_desc : '/༭ ', +unlink_desc : 'ɾ', +image_desc : '/༭ ͼ', +cleanup_desc : 'ɾ', +focus_alert : 'ѡ༭', +edit_confirm : 'ڱ༭ʹñ༭ô', +insert_link_title : '/༭ ', +insert : '', +update : '', +cancel : 'ȡ', +insert_link_url : 'ӵַ', +insert_link_target : 'Ŀ', +insert_link_target_same : 'ͬһд', +insert_link_target_blank : '´д', +insert_image_title : '/༭ ͼ', +insert_image_src : 'ͼַ', +insert_image_alt : 'ͼ', +help_desc : '', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : '//ճ Mozilla Firefox в֧֡ϣøϢ', +popup_blocked : 'Բ, ֹ˵ʽڡΪʹõƵĹܣԱվĵʽڽֹ' +}); diff --git a/phpgwapi/js/tiny_mce/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..7866112533 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/zh_cn_utf8.js @@ -0,0 +1,42 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +bold_desc : '黑体 (Ctrl+B)', +italic_desc : '斜体 (Ctrl+I)', +underline_desc : '下划线 (Ctrl+U)', +striketrough_desc : '删除线', +justifyleft_desc : '左对齐', +justifycenter_desc : '居中对齐', +justifyright_desc : '右对齐', +justifyfull_desc : '两端对齐', +bullist_desc : '无序列表', +numlist_desc : '有序列表', +outdent_desc : '减少缩进', +indent_desc : '增加缩进', +undo_desc : '撤消 (Ctrl+Z)', +redo_desc : '重做 (Ctrl+Y)', +link_desc : '插入/编辑 链接', +unlink_desc : '删除链接', +image_desc : '插入/编辑 图像', +cleanup_desc : '删除冗余代码', +focus_alert : '请先选择编辑区', +edit_confirm : '您想在编辑区域上使用所见即所得编辑器么?', +insert_link_title : '插入/编辑 链接', +insert : '插入', +update : '更新', +cancel : '取消', +insert_link_url : '链接地址', +insert_link_target : '链接目标', +insert_link_target_same : '在同一窗口中打开链接', +insert_link_target_blank : '在新窗口中打开链接', +insert_image_title : '插入/编辑 图像', +insert_image_src : '图像地址', +insert_image_alt : '图像描述', +help_desc : '帮助', +bold_img : "bold.gif", +italic_img : "italic.gif", +underline_img : "underline.gif", +clipboard_msg : '剪切/复制/粘贴功能在 Mozilla 和 Firefox 浏览器中不支持。您希望获得更多的信息吗?', +popup_blocked : '对不起, 您的浏览器禁止了弹出式窗口。为了让您使用到最完善的功能,请对本网站的弹出式窗口解除禁止。' +}); diff --git a/phpgwapi/js/tiny_mce/langs/zh_tw.js b/phpgwapi/js/tiny_mce/langs/zh_tw.js new file mode 100644 index 0000000000..9d4e6d0de4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/zh_tw.js @@ -0,0 +1,42 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +bold_desc : ']Ctrl+B^', +italic_desc : ']Ctrl+I^', +underline_desc : '[u]Ctrl+U^', +striketrough_desc : 'Ru', +justifyleft_desc : 'a', +justifycenter_desc : 'm', +justifyright_desc : 'ak', +justifyfull_desc : 'g', +bullist_desc : 'ؤ覡C', +numlist_desc : 's覡C', +outdent_desc : 'XjY', +indent_desc : 'pY', +undo_desc : '_]Ctrl+Z^', +redo_desc : 'ơ]Ctrl+Y^', +link_desc : 'Jνss', +unlink_desc : 'Rs', +image_desc : 'Jνs', +cleanup_desc : 'MX', +focus_alert : 'ϥΦOews边', +edit_confirm : 'n󦹤rJϤĥΩҵYoҦܡH', +insert_link_title : 'Jνss', +insert : 'J', +update : 's', +cancel : '', +insert_link_url : 's}', +insert_link_target : 'H', +insert_link_target_same : 'P}ҳs', +insert_link_target_blank : 'Hs}ҳs', +insert_image_title : 'Jνs', +insert_image_src : 'ɺ}', +insert_image_alt : 'ɻ', +help_desc : 'U', +bold_img : "bold_tw.gif", +italic_img : "italic_tw.gif", +underline_img : "underline_tw.gif", +clipboard_msg : 'b Mozilla M Firefox LkϥνƻsΰŤUζKW\C\nݭnh󦹪TܡH', +popup_blocked : 'Iz]m{jAwN\{jFC\nнվ{j]wA~ॿ`ϥΦ\C' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..e39a16ce03 --- /dev/null +++ b/phpgwapi/js/tiny_mce/langs/zh_tw_utf8.js @@ -0,0 +1,42 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +bold_desc : '粗體(Ctrl+B)', +italic_desc : '斜體(Ctrl+I)', +underline_desc : '加底線(Ctrl+U)', +striketrough_desc : '刪除線', +justifyleft_desc : '靠左', +justifycenter_desc : '置中', +justifyright_desc : '靠右', +justifyfull_desc : '整篇對齊', +bullist_desc : '項目方式條列', +numlist_desc : '編號方式條列', +outdent_desc : '擴大縮排', +indent_desc : '減小縮排', +undo_desc : '復原(Ctrl+Z)', +redo_desc : '重複(Ctrl+Y)', +link_desc : '插入或編輯連結', +unlink_desc : '刪除連結', +image_desc : '插入或編輯圖檔', +cleanup_desc : '清除冗碼', +focus_alert : '使用此指令前須先指定編輯器', +edit_confirm : '要於此文字輸入區中採用所視即得模式嗎?', +insert_link_title : '插入或編輯連結', +insert : '插入', +update : '更新', +cancel : '取消', +insert_link_url : '連結網址', +insert_link_target : '對象', +insert_link_target_same : '於同視窗中開啟連結', +insert_link_target_blank : '以新視窗中開啟連結', +insert_image_title : '插入或編輯圖檔', +insert_image_src : '圖檔網址', +insert_image_alt : '圖檔說明', +help_desc : '協助', +bold_img : "bold_tw.gif", +italic_img : "italic_tw.gif", +underline_img : "underline_tw.gif", +clipboard_msg : '在 Mozilla 和 Firefox 中無法使用複製或剪下或貼上功能。\n需要更多關於此的訊息嗎?', +popup_blocked : '喔!您有設置跳現視窗隔絕機制,已將功能跳現視窗給隔絕了。\n請調整跳現視窗隔絕機制的設定,才能正常使用此功能。' +}); diff --git a/phpgwapi/js/tiny_mce/license.txt b/phpgwapi/js/tiny_mce/license.txt new file mode 100644 index 0000000000..3b0396a2b1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/license.txt @@ -0,0 +1,437 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. +. + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. +. + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. +. + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. +. + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. +. + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. +. + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. +. + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. +. + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/phpgwapi/js/tiny_mce/plugins/_template/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/_template/editor_plugin.js new file mode 100644 index 0000000000..59e2ceb27e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('template','en,tr,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,pl');var TinyMCE_TemplatePlugin={getInfo:function(){return{longname:'Template plugin',author:'Your name',authorurl:'http://www.yoursite.com',infourl:'http://www.yoursite.com/docs/template.html',version:"1.0"};},initInstance:function(inst){alert("Initialization parameter:"+tinyMCE.getParam("template_someparam",false));inst.addShortcut('ctrl','t','lang_template_desc','mceTemplate');},getControlHTML:function(cn){switch(cn){case"template":return tinyMCE.getButtonHTML(cn,'lang_template_desc','{$pluginurl}/images/template.gif','mceTemplate',true);}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceTemplate":if(user_interface){var template=new Array();template['file']='../../plugins/template/popup.htm';template['width']=300;template['height']=200;tinyMCE.openWindow(template,{editor_id:editor_id,some_custom_arg:"somecustomdata"});tinyMCE.triggerNodeChange(false);}else{alert("execCommand: mceTemplate gets called from popup.");}return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node.parentNode.nodeName=="STRONG"||node.parentNode.nodeName=="B"){tinyMCE.switchClass(editor_id+'_template','mceButtonSelected');return true;}tinyMCE.switchClass(editor_id+'_template','mceButtonNormal');},setupContent:function(editor_id,body,doc){},onChange:function(inst){},handleEvent:function(e){top.status="template plugin event: "+e.type;return true;},cleanup:function(type,content,inst){switch(type){case"get_from_editor":alert("[FROM] Value HTML string: "+content);break;case"insert_to_editor":alert("[TO] Value HTML string: "+content);break;case"get_from_editor_dom":alert("[FROM] Value DOM Element "+content.innerHTML);break;case"insert_to_editor_dom":alert("[TO] Value DOM Element: "+content.innerHTML);break;}return content;},_someInternalFunction:function(a,b){return 1;}};tinyMCE.addPlugin("template",TinyMCE_TemplatePlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/_template/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/_template/editor_plugin_src.js new file mode 100644 index 0000000000..e69f1fce44 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/editor_plugin_src.js @@ -0,0 +1,238 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.12 $ + * $Date: 2006/02/22 20:06:23 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('template', 'en,tr,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,pl'); // <- Add a comma separated list of all supported languages + +/**** + * Steps for creating a plugin from this template: + * + * 1. Change all "template" to the name of your plugin. + * 2. Remove all the callbacks in this file that you don't need. + * 3. Remove the popup.htm file if you don't need any popups. + * 4. Add your custom logic to the callbacks you needed. + * 5. Write documentation in a readme.txt file on how to use the plugin. + * 6. Upload it under the "Plugins" section at sourceforge. + * + ****/ + +// Singleton class +var TinyMCE_TemplatePlugin = { + /** + * Returns information about the plugin as a name/value array. + * The current keys are longname, author, authorurl, infourl and version. + * + * @returns Name/value array containing information about the plugin. + * @type Array + */ + getInfo : function() { + return { + longname : 'Template plugin', + author : 'Your name', + authorurl : 'http://www.yoursite.com', + infourl : 'http://www.yoursite.com/docs/template.html', + version : "1.0" + }; + }, + + /** + * Gets executed when a TinyMCE editor instance is initialized. + * + * @param {TinyMCE_Control} Initialized TinyMCE editor control instance. + */ + initInstance : function(inst) { + // You can take out plugin specific parameters + alert("Initialization parameter:" + tinyMCE.getParam("template_someparam", false)); + + // Register custom keyboard shortcut + inst.addShortcut('ctrl', 't', 'lang_template_desc', 'mceTemplate'); + }, + + /** + * Returns the HTML code for a specific control or empty string if this plugin doesn't have that control. + * A control can be a button, select list or any other HTML item to present in the TinyMCE user interface. + * The variable {$editor_id} will be replaced with the current editor instance id and {$pluginurl} will be replaced + * with the URL of the plugin. Language variables such as {$lang_somekey} will also be replaced with contents from + * the language packs. + * + * @param {string} cn Editor control/button name to get HTML for. + * @return HTML code for a specific control or empty string. + * @type string + */ + getControlHTML : function(cn) { + switch (cn) { + case "template": + return tinyMCE.getButtonHTML(cn, 'lang_template_desc', '{$pluginurl}/images/template.gif', 'mceTemplate', true); + } + + return ""; + }, + + /** + * Executes a specific command, this function handles plugin commands. + * + * @param {string} editor_id TinyMCE editor instance id that issued the command. + * @param {HTMLElement} element Body or root element for the editor instance. + * @param {string} command Command name to be executed. + * @param {string} user_interface True/false if a user interface should be presented. + * @param {mixed} value Custom value argument, can be anything. + * @return true/false if the command was executed by this plugin or not. + * @type + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + // Remember to have the "mce" prefix for commands so they don't intersect with built in ones in the browser. + case "mceTemplate": + // Show UI/Popup + if (user_interface) { + // Open a popup window and send in some custom data in a window argument + var template = new Array(); + + template['file'] = '../../plugins/template/popup.htm'; // Relative to theme + template['width'] = 300; + template['height'] = 200; + + tinyMCE.openWindow(template, {editor_id : editor_id, some_custom_arg : "somecustomdata"}); + + // Let TinyMCE know that something was modified + tinyMCE.triggerNodeChange(false); + } else { + // Do a command this gets called from the template popup + alert("execCommand: mceTemplate gets called from popup."); + } + + return true; + } + + // Pass to next handler in chain + return false; + }, + + /** + * Gets called ones the cursor/selection in a TinyMCE instance changes. This is useful to enable/disable + * button controls depending on where the user are and what they have selected. This method gets executed + * alot and should be as performance tuned as possible. + * + * @param {string} editor_id TinyMCE editor instance id that was changed. + * @param {HTMLNode} node Current node location, where the cursor is in the DOM tree. + * @param {int} undo_index The current undo index, if this is -1 custom undo/redo is disabled. + * @param {int} undo_levels The current undo levels, if this is -1 custom undo/redo is disabled. + * @param {boolean} visual_aid Is visual aids enabled/disabled ex: dotted lines on tables. + * @param {boolean} any_selection Is there any selection at all or is there only a cursor. + */ + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + // Select template button if parent node is a strong or b + if (node.parentNode.nodeName == "STRONG" || node.parentNode.nodeName == "B") { + tinyMCE.switchClass(editor_id + '_template', 'mceButtonSelected'); + return true; + } + + // Deselect template button + tinyMCE.switchClass(editor_id + '_template', 'mceButtonNormal'); + }, + + /** + * Gets called when a TinyMCE editor instance gets filled with content on startup. + * + * @param {string} editor_id TinyMCE editor instance id that was filled with content. + * @param {HTMLElement} body HTML body element of editor instance. + * @param {HTMLDocument} doc HTML document instance. + */ + setupContent : function(editor_id, body, doc) { + }, + + /** + * Gets called when the contents of a TinyMCE area is modified, in other words when a undo level is + * added. + * + * @param {TinyMCE_Control} inst TinyMCE editor area control instance that got modified. + */ + onChange : function(inst) { + }, + + /** + * Gets called when TinyMCE handles events such as keydown, mousedown etc. TinyMCE + * doesn't listen on all types of events so custom event handling may be required for + * some purposes. + * + * @param {Event} e HTML editor event reference. + * @return true - pass to next handler in chain, false - stop chain execution + * @type boolean + */ + handleEvent : function(e) { + // Display event type in statusbar + top.status = "template plugin event: " + e.type; + + return true; // Pass to next handler + }, + + /** + * Gets called when HTML contents is inserted or retrived from a TinyMCE editor instance. + * The type parameter contains what type of event that was performed and what format the content is in. + * Possible valuses for type is get_from_editor, insert_to_editor, get_from_editor_dom, insert_to_editor_dom. + * + * @param {string} type Cleanup event type. + * @param {mixed} content Editor contents that gets inserted/extracted can be a string or DOM element. + * @param {TinyMCE_Control} inst TinyMCE editor instance control that performes the cleanup. + * @return New content or the input content depending on action. + * @type string + */ + cleanup : function(type, content, inst) { + switch (type) { + case "get_from_editor": + alert("[FROM] Value HTML string: " + content); + + // Do custom cleanup code here + + break; + + case "insert_to_editor": + alert("[TO] Value HTML string: " + content); + + // Do custom cleanup code here + + break; + + case "get_from_editor_dom": + alert("[FROM] Value DOM Element " + content.innerHTML); + + // Do custom cleanup code here + + break; + + case "insert_to_editor_dom": + alert("[TO] Value DOM Element: " + content.innerHTML); + + // Do custom cleanup code here + + break; + } + + return content; + }, + + // Private plugin internal methods + + /** + * This is just a internal plugin method, prefix all internal methods with a _ character. + * The prefix is needed so they doesn't collide with future TinyMCE callback functions. + * + * @param {string} a Some arg1. + * @param {string} b Some arg2. + * @return Some return. + * @type string + */ + _someInternalFunction : function(a, b) { + return 1; + } +}; + +// Adds the plugin class to the list of available TinyMCE plugins +tinyMCE.addPlugin("template", TinyMCE_TemplatePlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/images/template.gif b/phpgwapi/js/tiny_mce/plugins/_template/images/template.gif new file mode 100644 index 0000000000..1ab5da4461 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/_template/images/template.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ar.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ar.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ca.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ca.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/cs.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/cs.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/cy.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/cy.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/da.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/da.js new file mode 100644 index 0000000000..d0ac335239 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/da.js @@ -0,0 +1,8 @@ +// DK lang variables contributed by Jan Moelgaard + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Dette er bare en pop-up-skabelon', +template_desc : 'Dette er bare en testknap' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/de.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/de.js new file mode 100644 index 0000000000..3aa2130692 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/de.js @@ -0,0 +1,9 @@ +// DE lang variables + +/* Remember to namespace the language parameters lang__ */ +/* Sprachparameter mssen als lang__ definiert werden */ + +tinyMCE.addToLang('',{ +template_title : 'Dies ist nur ein Beispiel-Popup', +template_desc : 'Dies ist nur ein Beispiel-Button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/el.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/el.js new file mode 100755 index 0000000000..995c20445a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/el.js @@ -0,0 +1,8 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : ' popup ', +template_desc : ' template' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/en.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/en.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/en.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/es.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/es.js new file mode 100755 index 0000000000..e7125b14cb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/es.js @@ -0,0 +1,15 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('',{ +template_title : 'Esto es sólo la plantilla de un popup', +template_desc : 'Esto es sólo la plantilla de un botón' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/fa.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/fa.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/fa_ca.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/fa_ca.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/fi.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/fi.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/fr.js new file mode 100755 index 0000000000..54ea734af9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/fr.js @@ -0,0 +1,9 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +/* N'oubliez pas d'identifer les parametres de langue ainsi: _ */ + +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' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/fr_ca.js new file mode 100755 index 0000000000..1c0fc957ef --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/fr_ca.js @@ -0,0 +1,8 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +/* Remember to namespace the language parameters _ */ + +tinyMCE.addToLang('',{ +template_title : 'Ceci est un exmple pour le gabarit de popup', +template_desc : 'Ceci est un exmple pour le gabarit d\'un bouton' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/he.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/he.js new file mode 100755 index 0000000000..71dbc44075 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/he.js @@ -0,0 +1,8 @@ +// HE lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : ' ', +template_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/hu.js new file mode 100644 index 0000000000..7a26f66ead --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/hu.js @@ -0,0 +1,8 @@ +// HU lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Ez csak egy plda popup', +template_desc : 'Ez csak egy plda gomb' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/is.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/is.js new file mode 100644 index 0000000000..b3ed8e3c39 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/is.js @@ -0,0 +1,8 @@ +// Iceland lang variables by Johannes Birgir Jensson + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Þetta er sniðmátsgluggi', +template_desc : 'Þetta er sniðmátstakki' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/it.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/it.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/it.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja-euc-jp.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja-euc-jp.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_euc-jp.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_euc-jp.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_shift-jis.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_shift-jis.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_shift_jis.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_shift_jis.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_utf-8.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ja_utf-8.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ko.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ko.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/nb.js new file mode 100644 index 0000000000..de1b13af21 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/nb.js @@ -0,0 +1,8 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Dette er bare en template popup', +template_desc : 'Dette er bare en template knapp' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/nl.js new file mode 100644 index 0000000000..1422b38fd4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/nl.js @@ -0,0 +1,8 @@ +// NL lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Dit is slechts een voorbeeldpopup', +template_desc : 'Dit is slechts een voorbeeldknop' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/nn.js new file mode 100644 index 0000000000..853d30c733 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/nn.js @@ -0,0 +1,8 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Dette er berre ein template popup', +template_desc : 'Dette er berre ein template knapp' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/pl.js new file mode 100644 index 0000000000..c1a9f914eb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/pl.js @@ -0,0 +1,8 @@ +// PL lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'To jest szablon okna popup', +template_desc : 'To jest szablon przycisku' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/pt.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/pt.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/pt_br.js new file mode 100644 index 0000000000..23d85c0443 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/pt_br.js @@ -0,0 +1,13 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +template_title : 'Este s um modlo de popup', +template_desc : 'Este s um modlo de boto' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ro.js new file mode 100755 index 0000000000..2fcb4c91ab --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ro.js @@ -0,0 +1,8 @@ +// RO lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Acesta este doar model de tip popup', +template_desc : 'Acesta este doar un model de buton' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ru.js new file mode 100644 index 0000000000..bed8428978 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ru.js @@ -0,0 +1,8 @@ +// RU cp1251 lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : ' popup', +template_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..b406343cfe --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ru_KOI8-R.js @@ -0,0 +1,8 @@ +// RU KOI8-R lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : ' popup', +template_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/ru_UTF-8.js new file mode 100644 index 0000000000..00fbf1acd1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/ru_UTF-8.js @@ -0,0 +1,8 @@ +// RU UTF-8 lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Это шаблон для popup', +template_desc : 'Это шаблон для кнопки' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/si.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/si.js new file mode 100644 index 0000000000..747b65f779 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/si.js @@ -0,0 +1,8 @@ +// SI lang variables ISO-8859-2 + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'To je samo primer popup okna', +template_desc : 'To je samo primer gumba' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/sk.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/sk.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/sq.js new file mode 100755 index 0000000000..1090b8e30e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/sq.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Kjo eshte nje dritare teme', +template_desc : 'Ky eshte nje buton teme' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/sv.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/sv.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/th.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/th.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/th.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/tr.js new file mode 100644 index 0000000000..64a2338ccc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/tr.js @@ -0,0 +1,6 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +template_title : 'Bu sadece bir ablon popup penceresidir', +template_desc : 'Bu sadece bir ablon butonudur' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/tw.js new file mode 100644 index 0000000000..2c3407690e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/tw.js @@ -0,0 +1,8 @@ +// UK lang variables + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'This is just a template popup', +template_desc : 'This is just a template button' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/vi.js new file mode 100755 index 0000000000..8cad79472e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/vi.js @@ -0,0 +1,8 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +/* Remember to namespace the language parameters lang__ */ + +tinyMCE.addToLang('',{ +template_title : 'Đây chỉ là một cửa sổ bật ra cho mẫu', +template_desc : 'Đây chỉ là một nút cho mẫu' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_cn.js new file mode 100755 index 0000000000..d64baf4f49 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_cn.js @@ -0,0 +1,9 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +/* Remember to namespace the language parameters _ */ + +tinyMCE.addToLang('',{ +template_title : 'һģ嵯', +template_desc : 'һģ尴ť' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..4f75efb5cc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_cn_utf8.js @@ -0,0 +1,9 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +/* Remember to namespace the language parameters _ */ + +tinyMCE.addToLang('',{ +template_title : '这是一个模板弹出窗口', +template_desc : '这是一个模板按钮' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_tw.js new file mode 100644 index 0000000000..b403638eb0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_tw.js @@ -0,0 +1,7 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +template_title : '˦{', +template_desc : '˦s' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..ff6ee9be14 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/langs/zh_tw_utf8.js @@ -0,0 +1,7 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +template_title : '樣式跳現視窗', +template_desc : '樣式按鈕' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/_template/popup.htm b/phpgwapi/js/tiny_mce/plugins/_template/popup.htm new file mode 100644 index 0000000000..b07467fa2d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/popup.htm @@ -0,0 +1,48 @@ + + + {$lang_template_title} + + + + + +
+

{$lang_template_title}

+ + +
+ The selected element name: +
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/_template/readme.txt b/phpgwapi/js/tiny_mce/plugins/_template/readme.txt new file mode 100644 index 0000000000..2ee1505cdb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/_template/readme.txt @@ -0,0 +1 @@ +This is a template/tutorial plugin that where created to help you in the development of own plugins for TinyMCE. \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/css/advhr.css b/phpgwapi/js/tiny_mce/plugins/advhr/css/advhr.css new file mode 100644 index 0000000000..7ff36bdc8c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/css/advhr.css @@ -0,0 +1,23 @@ +input.radio { + border: 1px none #000000; + background-color: transparent; + vertical-align: middle; +} + +.panel_wrapper div.current { + height: 80px; +} + +#width { + width: 50px; + vertical-align: middle; +} + +#width2 { + width: 50px; + vertical-align: middle; +} + +#size { + width: 100px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/advhr/editor_plugin.js new file mode 100644 index 0000000000..b9843beb05 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('advhr','en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_AdvancedHRPlugin={getInfo:function(){return{longname:'Advanced HR',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"advhr":return tinyMCE.getButtonHTML(cn,'lang_insert_advhr_desc','{$pluginurl}/images/advhr.gif','mceAdvancedHr');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvancedHr":var template=new Array();template['file']='../../plugins/advhr/rule.htm';template['width']=250;template['height']=160;template['width']+=tinyMCE.getLang('lang_advhr_delta_width',0);template['height']+=tinyMCE.getLang('lang_advhr_delta_height',0);var size="",width="",noshade="";if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="hr"){tinyMCE.hrElement=tinyMCE.selectedElement;if(tinyMCE.hrElement){size=tinyMCE.hrElement.getAttribute('size')?tinyMCE.hrElement.getAttribute('size'):"";width=tinyMCE.hrElement.getAttribute('width')?tinyMCE.hrElement.getAttribute('width'):"";noshade=tinyMCE.hrElement.getAttribute('noshade')?tinyMCE.hrElement.getAttribute('noshade'):"";}tinyMCE.openWindow(template,{editor_id:editor_id,size:size,width:width,noshade:noshade,mceDo:'update'});}else{if(tinyMCE.isMSIE){tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,'
');}else{tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",size:size,width:width,noshade:noshade,mceDo:'insert'});}}return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="HR"){tinyMCE.switchClass(editor_id+'_advhr','mceButtonSelected');return true;}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_advhr','mceButtonNormal');return true;}};tinyMCE.addPlugin("advhr",TinyMCE_AdvancedHRPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/advhr/editor_plugin_src.js new file mode 100644 index 0000000000..5cce97c2c7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/editor_plugin_src.js @@ -0,0 +1,92 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.19 $ + * $Date: 2006/02/10 16:29:37 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('advhr', 'en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,zh_tw,zh_tw_utf8,sk'); + +var TinyMCE_AdvancedHRPlugin = { + getInfo : function() { + return { + longname : 'Advanced HR', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + } + }, + + getControlHTML : function(cn) { + switch (cn) { + case "advhr": + return tinyMCE.getButtonHTML(cn, 'lang_insert_advhr_desc', '{$pluginurl}/images/advhr.gif', 'mceAdvancedHr'); + } + + return ""; + }, + + /** + * Executes the mceAdvanceHr command. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceAdvancedHr": + var template = new Array(); + + template['file'] = '../../plugins/advhr/rule.htm'; // Relative to theme + template['width'] = 250; + template['height'] = 160; + + template['width'] += tinyMCE.getLang('lang_advhr_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_advhr_delta_height', 0); + + var size = "", width = "", noshade = ""; + if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "hr") { + tinyMCE.hrElement = tinyMCE.selectedElement; + + if (tinyMCE.hrElement) { + size = tinyMCE.hrElement.getAttribute('size') ? tinyMCE.hrElement.getAttribute('size') : ""; + width = tinyMCE.hrElement.getAttribute('width') ? tinyMCE.hrElement.getAttribute('width') : ""; + noshade = tinyMCE.hrElement.getAttribute('noshade') ? tinyMCE.hrElement.getAttribute('noshade') : ""; + } + + tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'update'}); + } else { + if (tinyMCE.isMSIE) { + tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false,'
'); + } else { + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", size : size, width : width, noshade : noshade, mceDo : 'insert'}); + } + } + + return true; + } + + // Pass to next handler in chain + return false; + }, + + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + if (node == null) + return; + + do { + if (node.nodeName == "HR") { + tinyMCE.switchClass(editor_id + '_advhr', 'mceButtonSelected'); + return true; + } + } while ((node = node.parentNode)); + + tinyMCE.switchClass(editor_id + '_advhr', 'mceButtonNormal'); + + return true; + } +}; + +tinyMCE.addPlugin("advhr", TinyMCE_AdvancedHRPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/images/advhr.gif b/phpgwapi/js/tiny_mce/plugins/advhr/images/advhr.gif new file mode 100644 index 0000000000..e2f8658f46 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/advhr/images/advhr.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/jscripts/rule.js b/phpgwapi/js/tiny_mce/plugins/advhr/jscripts/rule.js new file mode 100644 index 0000000000..b64c13399d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/jscripts/rule.js @@ -0,0 +1,41 @@ +function init() { + var formObj = document.forms[0]; + formObj.width.value = tinyMCE.getWindowArg('width'); + formObj.size.value = tinyMCE.getWindowArg('size'); + formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('mceDo'),'Insert',true); + if (tinyMCE.getWindowArg('noshade')) { + formObj.noshade.checked = true; + } + if (tinyMCE.getWindowArg('width').lastIndexOf('%')!=-1) { + formObj.width2.value = "%"; + formObj.width.value = formObj.width.value.substring(0,formObj.width.value.length-1); + } +} + +function insertHR() { + var formObj = document.forms[0]; + var width = formObj.width.value; + var size = formObj.size.value; + var html = ' +// Last Updated : October 2005 +// TinyMCE Version : 2.0RC3 + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Insertar/Editar Barra Horizontal', +insert_advhr_width : 'Ancho', +insert_advhr_size : 'Alto', +insert_advhr_noshade : 'Sin Sombras' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fa.js new file mode 100644 index 0000000000..54a4fbc7a4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fa.js @@ -0,0 +1,13 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_advhr_desc : '??? ? ?????? ?? ????', +insert_advhr_width : '???', +insert_advhr_size : '??????', +insert_advhr_noshade : '???? ????' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fa_ca.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fa_ca.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fi.js new file mode 100755 index 0000000000..55cbb1d75d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fi.js @@ -0,0 +1,8 @@ +// FI lang variables by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Lisää / Muokkaa vaakaviivaa', +insert_advhr_width : 'Leveys', +insert_advhr_size : 'Korkeus', +insert_advhr_noshade : 'Ei varjostusta' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fr.js new file mode 100755 index 0000000000..a29287dbb0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fr.js @@ -0,0 +1,9 @@ +// 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_width : 'Largeur', +insert_advhr_size : 'Hauteur', +insert_advhr_noshade : 'Sans ombre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fr_ca.js new file mode 100755 index 0000000000..6dcd773912 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/fr_ca.js @@ -0,0 +1,8 @@ +// CA_FR lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Insrer / Modifier Sparateur Horizontal', +insert_advhr_width : 'Largeur', +insert_advhr_size : 'Hauteur', +insert_advhr_noshade : 'Sans ombrage' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/he.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/he.js new file mode 100755 index 0000000000..5e5d119c3a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/he.js @@ -0,0 +1,8 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +insert_advhr_desc : ' ', +insert_advhr_width : '', +insert_advhr_size : '', +insert_advhr_noshade : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/hu.js new file mode 100644 index 0000000000..2457f1c922 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/hu.js @@ -0,0 +1,8 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Vzszintes vonal beillesztse / szerkesztse', +insert_advhr_width : 'Hosszsg', +insert_advhr_size : 'Szlessg', +insert_advhr_noshade : 'Nincs rnyk' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/is.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/is.js new file mode 100644 index 0000000000..63ca1d48e1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/is.js @@ -0,0 +1,8 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Bæta við/breyta stiku', +insert_advhr_width : 'Breidd', +insert_advhr_size : 'Hæð', +insert_advhr_noshade : 'Enginn skuggi' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/it.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/it.js new file mode 100755 index 0000000000..60ff00611d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/it.js @@ -0,0 +1,8 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Riga orizzontale', +insert_advhr_width : 'Larghezza', +insert_advhr_size : 'Altezza', +insert_advhr_noshade : 'Senza rilievo' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja-euc-jp.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja-euc-jp.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_euc-jp.js new file mode 100755 index 0000000000..ff873278c3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_euc-jp.js @@ -0,0 +1,8 @@ +// ܸ euc lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'ʿ̤Խ', +insert_advhr_width : '', +insert_advhr_size : '⤵', +insert_advhr_noshade : 'Ƥʤ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_shift-jis.js new file mode 100755 index 0000000000..de6540e688 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_shift-jis.js @@ -0,0 +1,8 @@ +// { shift-jis lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'ʂ̐}EҏW', +insert_advhr_width : '', +insert_advhr_size : '', +insert_advhr_noshade : 'eȂ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_shift_jis.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_shift_jis.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_utf-8.js new file mode 100755 index 0000000000..47cc25827b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ja_utf-8.js @@ -0,0 +1,8 @@ +// 日本語 utf-8 lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : '平面の線を挿入・編集', +insert_advhr_width : '幅', +insert_advhr_size : '高さ', +insert_advhr_noshade : '影なし' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ko.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ko.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/nb.js new file mode 100644 index 0000000000..14a5ab6b3a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/nb.js @@ -0,0 +1,8 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Lage/Redigere horisontal linje', +insert_advhr_width : 'Bredde', +insert_advhr_size : 'Høyde', +insert_advhr_noshade : 'Ingen skygge' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/nl.js new file mode 100644 index 0000000000..2ef3ba2875 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/nl.js @@ -0,0 +1,8 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale lijn invoegen/bewerken', +insert_advhr_width : 'Breedte', +insert_advhr_size : 'Hoogte', +insert_advhr_noshade : 'Geen schaduw' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/nn.js new file mode 100644 index 0000000000..2cc7b16baf --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/nn.js @@ -0,0 +1,8 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Lage/Redigere horisontal linje', +insert_advhr_width : 'Bredde', +insert_advhr_size : 'Høgde', +insert_advhr_noshade : 'Ingen skugge' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/pl.js new file mode 100644 index 0000000000..dcb081eecc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/pl.js @@ -0,0 +1,11 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Wstaw/Edytuj poziom lini', +insert_advhr_width : 'Szeroko', +insert_advhr_size : 'Wysoko', +insert_advhr_noshade : 'Brak cienia' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/pt.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/pt.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/pt_br.js new file mode 100644 index 0000000000..03cf85abe2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/pt_br.js @@ -0,0 +1,16 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Inserir / editar Linha Horizontal', +insert_advhr_width : 'Largura', +insert_advhr_size : 'Altura', +insert_advhr_noshade : 'Sem Sombra' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ro.js new file mode 100755 index 0000000000..6cf8e0cbb9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ro.js @@ -0,0 +1,8 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Inserează / editează rigla orizontală', +insert_advhr_width : 'Lăţime', +insert_advhr_size : 'Înălţime', +insert_advhr_noshade : 'Fără umbră' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru.js new file mode 100644 index 0000000000..e6295ee0c8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru.js @@ -0,0 +1,8 @@ +// RU cp1251 lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : ' / ', +insert_advhr_width : '', +insert_advhr_size : '', +insert_advhr_noshade : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..6dfa5c2754 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru_KOI8-R.js @@ -0,0 +1,8 @@ +// RU KOI8-R lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : ' / ', +insert_advhr_width : '', +insert_advhr_size : '', +insert_advhr_noshade : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru_UTF-8.js new file mode 100644 index 0000000000..f3d8b8a9c7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/ru_UTF-8.js @@ -0,0 +1,8 @@ +// RU UTF-8 lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Вставить / редактировать горизонтальный разделитель', +insert_advhr_width : 'Ширина', +insert_advhr_size : 'Высота', +insert_advhr_noshade : 'Без тени' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/si.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/si.js new file mode 100644 index 0000000000..0b80730e55 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/si.js @@ -0,0 +1,8 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Vstavi/uredi vodorano črto', +insert_advhr_width : 'Širina', +insert_advhr_size : 'Višina', +insert_advhr_noshade : 'Brez sence' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/sk.js new file mode 100644 index 0000000000..84c6d4636a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/sk.js @@ -0,0 +1,16 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:43 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Vložiť/editovať vodorovný oddeľovač', +insert_advhr_width : 'Šírka', +insert_advhr_size : 'Výška', +insert_advhr_noshade : 'Nestieňovať' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/sq.js new file mode 100755 index 0000000000..e511dda988 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/sq.js @@ -0,0 +1,8 @@ +// AL lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Viszore horizontale', +insert_advhr_width : 'Gjeresi', +insert_advhr_size : 'Lartesi', +insert_advhr_noshade : 'Pa hije' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/sv.js new file mode 100644 index 0000000000..e3b9fb2536 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/sv.js @@ -0,0 +1,8 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Skapa/Redigera horisontell linje', +insert_advhr_width : 'Bredd', +insert_advhr_size : 'Höjd', +insert_advhr_noshade : 'Ingen skugga' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/th.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/th.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/th.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/tr.js new file mode 100644 index 0000000000..b964765519 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/tr.js @@ -0,0 +1,8 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Yatay izgi ekle/dzenle', +insert_advhr_width : 'Genilik', +insert_advhr_size : 'Ykseklik', +insert_advhr_noshade : 'Glge yok' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/tw.js new file mode 100644 index 0000000000..819476478d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/tw.js @@ -0,0 +1,8 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Horizontale rule', +insert_advhr_width : 'Width', +insert_advhr_size : 'Height', +insert_advhr_noshade : 'No shadow' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/vi.js new file mode 100755 index 0000000000..2757be5261 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/vi.js @@ -0,0 +1,8 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Đường thẳng ngang', +insert_advhr_width : 'Độ rộng', +insert_advhr_size : 'Chiều cao', +insert_advhr_noshade : 'Không có bóng đổ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_cn.js new file mode 100755 index 0000000000..97943ce4f0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_cn.js @@ -0,0 +1,9 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +insert_advhr_desc : '/༭ ˮƽ', +insert_advhr_width : '', +insert_advhr_size : '߶', +insert_advhr_noshade : 'Ӱ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..caa89f8502 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_cn_utf8.js @@ -0,0 +1,9 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +insert_advhr_desc : '插入/编辑 水平标尺', +insert_advhr_width : '宽度', +insert_advhr_size : '高度', +insert_advhr_noshade : '无阴影' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_tw.js new file mode 100644 index 0000000000..c3029f6751 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_tw.js @@ -0,0 +1,10 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + + +tinyMCE.addToLang('',{ +insert_advhr_desc : 'Jνsu', +insert_advhr_width : 'e', +insert_advhr_size : '', +insert_advhr_noshade : 'Lv' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..bc26a57145 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/langs/zh_tw_utf8.js @@ -0,0 +1,10 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + + +tinyMCE.addToLang('',{ +insert_advhr_desc : '插入或編輯水平線', +insert_advhr_width : '寬', +insert_advhr_size : '高', +insert_advhr_noshade : '無陰影' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/readme.txt b/phpgwapi/js/tiny_mce/plugins/advhr/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/advhr/rule.htm b/phpgwapi/js/tiny_mce/plugins/advhr/rule.htm new file mode 100644 index 0000000000..6f6034d39f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advhr/rule.htm @@ -0,0 +1,61 @@ + + + {$lang_insert_advhr_desc} + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + +
+ + +
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/css/advimage.css b/phpgwapi/js/tiny_mce/plugins/advimage/css/advimage.css new file mode 100644 index 0000000000..abf4405d38 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/css/advimage.css @@ -0,0 +1,66 @@ +/* CSS file for advimage plugin popup */ + +.mceImageList { + width: 280px; +} + +.mceActionPanel { + margin-top: 7px; +} + +.alignPreview { + border: 1px solid black; + width: 140px; + height: 140px; + overflow: hidden; + padding: 5px; +} + +.checkbox { + border: 0; +} + +.panel_wrapper div.current { + height: 305px; +} + +#prev { + margin: 0; + border: 1px + solid black; + width: 99%; + height: 150px; + overflow: auto; +} + +#align, #classlist { + width: 150px; +} + +#width, #height { + vertical-align: middle; + width: 50px; + text-align: center; +} + +#vspace, #hspace, #border { + vertical-align: middle; + width: 30px; + text-align: center; +} + +#classlist { + width: 180px; +} + +input { + width: 280px; +} + +#constrain, #onmousemovecheck { + width: auto; +} + +#id, #dir, #lang, #usemap, #longdesc { + width: 200px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/advimage/editor_plugin.js new file mode 100644 index 0000000000..0061bc4643 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('advimage','en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,es,is,zh_tw,zh_tw_utf8,sk,da');var TinyMCE_AdvancedImagePlugin={getInfo:function(){return{longname:'Advanced image',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advimage.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"image":return tinyMCE.getButtonHTML(cn,'lang_image_desc','{$themeurl}/images/image.gif','mceAdvImage');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvImage":var template=new Array();template['file']='../../plugins/advimage/image.htm';template['width']=480;template['height']=380;template['width']+=tinyMCE.getLang('lang_advimage_delta_width',0);template['height']+=tinyMCE.getLang('lang_advimage_delta_height',0);var inst=tinyMCE.getInstanceById(editor_id);var elm=inst.getFocusElement();if(elm!=null&&tinyMCE.getAttrib(elm,'class').indexOf('mceItem')!=-1)return true;tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;}return false;},cleanup:function(type,content){switch(type){case"insert_to_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i + + {$lang_insert_image_title} + + + + + + + + +
+ + +
+
+
+ {$lang_advimage_general} + + + + + + + + + + + + + + + + + + +
+ + + + +
 
 
+
+ +
+ {$lang_advimage_preview} + +
+
+ +
+
+ {$lang_advimage_tab_appearance} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ {$lang_advimage_example_img} + Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam + nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum + edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam + erat volutpat. +
+
+ x + px +
  + + + + +
+
+ +
+
+
+ +
+
+ {$lang_advimage_swap_image} + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
 
 
+ + + + +
 
 
+
+ +
+ {$lang_advimage_misc} + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ + + + +
 
+
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/images/sample.gif b/phpgwapi/js/tiny_mce/plugins/advimage/images/sample.gif new file mode 100644 index 0000000000..53bf6890b5 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/advimage/images/sample.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/jscripts/functions.js b/phpgwapi/js/tiny_mce/plugins/advimage/jscripts/functions.js new file mode 100644 index 0000000000..7bbe4e28e8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/jscripts/functions.js @@ -0,0 +1,545 @@ +/* Functions for the advimage plugin popup */ + +var preloadImg = null; +var orgImageWidth, orgImageHeight; + +function preinit() { + // Initialize + tinyMCE.setWindowArg('mce_windowresize', false); + + // Import external list url javascript + var url = tinyMCE.getParam("external_image_list_url"); + if (url != null) { + // Fix relative + if (url.charAt(0) != '/' && url.indexOf('://') == -1) + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); + } +} + +function convertURL(url, node, on_save) { + return eval("tinyMCEPopup.windowOpener." + tinyMCE.settings['urlconverter_callback'] + "(url, node, on_save);"); +} + +function getImageSrc(str) { + var pos = -1; + + if (!str) + return ""; + + if ((pos = str.indexOf('this.src=')) != -1) { + var src = str.substring(pos + 10); + + src = src.substring(0, src.indexOf('\'')); + + if (tinyMCE.getParam('convert_urls')) + src = convertURL(src, null, true); + + return src; + } + + return ""; +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + var action = "insert"; + var html = ""; + + // Image list src + html = getImageListHTML('imagelistsrc','src','onSelectMainImage'); + if (html == "") + document.getElementById("imagelistsrcrow").style.display = 'none'; + else + document.getElementById("imagelistsrccontainer").innerHTML = html; + + // Image list oversrc + html = getImageListHTML('imagelistover','onmouseoversrc'); + if (html == "") + document.getElementById("imagelistoverrow").style.display = 'none'; + else + document.getElementById("imagelistovercontainer").innerHTML = html; + + // Image list outsrc + html = getImageListHTML('imagelistout','onmouseoutsrc'); + if (html == "") + document.getElementById("imagelistoutrow").style.display = 'none'; + else + document.getElementById("imagelistoutcontainer").innerHTML = html; + + // Src browser + html = getBrowserHTML('srcbrowser','src','image','advimage'); + document.getElementById("srcbrowsercontainer").innerHTML = html; + + // Over browser + html = getBrowserHTML('oversrcbrowser','onmouseoversrc','image','advimage'); + document.getElementById("onmouseoversrccontainer").innerHTML = html; + + // Out browser + html = getBrowserHTML('outsrcbrowser','onmouseoutsrc','image','advimage'); + document.getElementById("onmouseoutsrccontainer").innerHTML = html; + + // Longdesc browser + html = getBrowserHTML('longdescbrowser','longdesc','file','advimage'); + document.getElementById("longdesccontainer").innerHTML = html; + + // Resize some elements + if (isVisible('srcbrowser')) + document.getElementById('src').style.width = '260px'; + + if (isVisible('oversrcbrowser')) + document.getElementById('onmouseoversrc').style.width = '260px'; + + if (isVisible('outsrcbrowser')) + document.getElementById('onmouseoutsrc').style.width = '260px'; + + if (isVisible('longdescbrowser')) + document.getElementById('longdesc').style.width = '180px'; + + // Check action + if (elm != null && elm.nodeName == "IMG") + action = "update"; + + formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); + + if (action == "update") { + var src = tinyMCE.getAttrib(elm, 'src'); + var onmouseoversrc = getImageSrc(tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseover'))); + var onmouseoutsrc = getImageSrc(tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseout'))); + + src = convertURL(src, elm, true); + + // Use mce_src if found + var mceRealSrc = tinyMCE.getAttrib(elm, 'mce_src'); + if (mceRealSrc != "") { + src = mceRealSrc; + + if (tinyMCE.getParam('convert_urls')) + src = convertURL(src, elm, true); + } + + if (onmouseoversrc != "" && tinyMCE.getParam('convert_urls')) + onmouseoversrc = convertURL(onmouseoversrc, elm, true); + + if (onmouseoutsrc != "" && tinyMCE.getParam('convert_urls')) + onmouseoutsrc = convertURL(onmouseoutsrc, elm, true); + + // Setup form data + var style = tinyMCE.parseStyle(tinyMCE.getAttrib(elm, "style")); + + // Store away old size + orgImageWidth = trimSize(getStyle(elm, 'width')) + orgImageHeight = trimSize(getStyle(elm, 'height')); + + formObj.src.value = src; + formObj.alt.value = tinyMCE.getAttrib(elm, 'alt'); + formObj.title.value = tinyMCE.getAttrib(elm, 'title'); + formObj.border.value = trimSize(getStyle(elm, 'border', 'borderWidth')); + formObj.vspace.value = tinyMCE.getAttrib(elm, 'vspace'); + formObj.hspace.value = tinyMCE.getAttrib(elm, 'hspace'); + formObj.width.value = orgImageWidth; + formObj.height.value = orgImageHeight; + formObj.onmouseoversrc.value = onmouseoversrc; + formObj.onmouseoutsrc.value = onmouseoutsrc; + formObj.id.value = tinyMCE.getAttrib(elm, 'id'); + formObj.dir.value = tinyMCE.getAttrib(elm, 'dir'); + formObj.lang.value = tinyMCE.getAttrib(elm, 'lang'); + formObj.longdesc.value = tinyMCE.getAttrib(elm, 'longdesc'); + formObj.usemap.value = tinyMCE.getAttrib(elm, 'usemap'); + formObj.style.value = tinyMCE.serializeStyle(style); + + // Select by the values + if (tinyMCE.isMSIE) + selectByValue(formObj, 'align', getStyle(elm, 'align', 'styleFloat')); + else + selectByValue(formObj, 'align', getStyle(elm, 'align', 'cssFloat')); + + addClassesToList('classlist', 'advimage_styles'); + + selectByValue(formObj, 'classlist', tinyMCE.getAttrib(elm, 'class')); + selectByValue(formObj, 'imagelistsrc', src); + selectByValue(formObj, 'imagelistover', onmouseoversrc); + selectByValue(formObj, 'imagelistout', onmouseoutsrc); + + updateStyle(); + showPreviewImage(src, true); + changeAppearance(); + + window.focus(); + } else + addClassesToList('classlist', 'advimage_styles'); + + // If option enabled default contrain proportions to checked + if (tinyMCE.getParam("advimage_constrain_proportions", true)) + formObj.constrain.checked = true; + + // Check swap image if valid data + if (formObj.onmouseoversrc.value != "" || formObj.onmouseoutsrc.value != "") + setSwapImageDisabled(false); + else + setSwapImageDisabled(true); +} + +function setSwapImageDisabled(state) { + var formObj = document.forms[0]; + + formObj.onmousemovecheck.checked = !state; + + setBrowserDisabled('overbrowser', state); + setBrowserDisabled('outbrowser', state); + + if (formObj.imagelistover) + formObj.imagelistover.disabled = state; + + if (formObj.imagelistout) + formObj.imagelistout.disabled = state; + + formObj.onmouseoversrc.disabled = state; + formObj.onmouseoutsrc.disabled = state; +} + +function setAttrib(elm, attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib]; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + if (value != "") { + elm.setAttribute(attrib, value); + + if (attrib == "style") + attrib = "style.cssText"; + + if (attrib == "longdesc") + attrib = "longDesc"; + + if (attrib == "width") { + attrib = "style.width"; + value = value + "px"; + } + + if (attrib == "height") { + attrib = "style.height"; + value = value + "px"; + } + + if (attrib == "class") + attrib = "className"; + + eval('elm.' + attrib + "=value;"); + } else + elm.removeAttribute(attrib); +} + +function makeAttrib(attrib, value) { + var formObj = document.forms[0]; + var valueElm = formObj.elements[attrib]; + + if (typeof(value) == "undefined" || value == null) { + value = ""; + + if (valueElm) + value = valueElm.value; + } + + if (value == "") + return ""; + + // XML encode it + value = value.replace(/&/g, '&'); + value = value.replace(/\"/g, '"'); + value = value.replace(//g, '>'); + + return ' ' + attrib + '="' + value + '"'; +} + +function insertAction() { + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + var formObj = document.forms[0]; + var src = formObj.src.value; + var onmouseoversrc = formObj.onmouseoversrc.value; + var onmouseoutsrc = formObj.onmouseoutsrc.value; + + if (tinyMCE.getParam("accessibility_warnings")) { + if (formObj.alt.value == "") { + var answer = confirm(tinyMCE.getLang('lang_advimage_missing_alt', '', true)); + if (answer == true) { + formObj.alt.value = " "; + } + } else { + var answer = true; + } + + if (!answer) + return; + } + + if (onmouseoversrc && onmouseoversrc != "") + onmouseoversrc = "this.src='" + convertURL(onmouseoversrc, tinyMCE.imgElement) + "';"; + + if (onmouseoutsrc && onmouseoutsrc != "") + onmouseoutsrc = "this.src='" + convertURL(onmouseoutsrc, tinyMCE.imgElement) + "';"; + + if (elm != null && elm.nodeName == "IMG") { + setAttrib(elm, 'src', convertURL(src, tinyMCE.imgElement)); + setAttrib(elm, 'mce_src', src); + setAttrib(elm, 'alt'); + setAttrib(elm, 'title'); + setAttrib(elm, 'border'); + setAttrib(elm, 'vspace'); + setAttrib(elm, 'hspace'); + setAttrib(elm, 'width'); + setAttrib(elm, 'height'); + setAttrib(elm, 'onmouseover', onmouseoversrc); + setAttrib(elm, 'onmouseout', onmouseoutsrc); + setAttrib(elm, 'id'); + setAttrib(elm, 'dir'); + setAttrib(elm, 'lang'); + setAttrib(elm, 'longdesc'); + setAttrib(elm, 'usemap'); + setAttrib(elm, 'style'); + setAttrib(elm, 'class', getSelectValue(formObj, 'classlist')); + setAttrib(elm, 'align', getSelectValue(formObj, 'align')); + + //tinyMCEPopup.execCommand("mceRepaint"); + + // Repaint if dimensions changed + if (formObj.width.value != orgImageWidth || formObj.height.value != orgImageHeight) + inst.repaint(); + + // Refresh in old MSIE + if (tinyMCE.isMSIE5) + elm.outerHTML = elm.outerHTML; + } else { + var html = "' + + getImageData(src); +} + +function getImageData(src) { + preloadImg = new Image(); + + tinyMCE.addEvent(preloadImg, "load", updateImageData); + tinyMCE.addEvent(preloadImg, "error", resetImageData); + + preloadImg.src = src; +} + +function updateImageData() { + var formObj = document.forms[0]; + + if (formObj.width.value == "") + formObj.width.value = preloadImg.width; + + if (formObj.height.value == "") + formObj.height.value = preloadImg.height; + + updateStyle(); +} + +function resetImageData() { + var formObj = document.forms[0]; + formObj.width.value = formObj.height.value = ""; +} + +function getSelectValue(form_obj, field_name) { + var elm = form_obj.elements[field_name]; + + if (elm == null || elm.options == null) + return ""; + + return elm.options[elm.selectedIndex].value; +} + +function getImageListHTML(elm_id, target_form_element, onchange_func) { + if (typeof(tinyMCEImageList) == "undefined" || tinyMCEImageList.length == 0) + return ""; + + var html = ""; + + html += ''; + + return html; + + // tinyMCE.debug('-- image list start --', html, '-- image list end --'); +} + +// While loading +preinit(); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ar.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ar.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ca.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ca.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/cs.js new file mode 100755 index 0000000000..155efb62ba --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/cs.js @@ -0,0 +1,33 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.4 2006/01/11 14:25:47 spocke Exp $ + */ + +tinyMCE.addToLang('advimage',{ +tab_general : 'Obecné', +tab_appearance : 'Vzhled', +tab_advanced : 'Pokročilé', +general : 'Obecné', +title : 'Titulek', +preview : 'Náhled', +constrain_proportions : 'Zachovat rozměry', +langdir : 'Směr textu', +langcode : 'Kód jazyka', +long_desc : 'Dlouhý popis odkazu', +style : 'Styl', +classes : 'Třídy', +ltr : 'Z leva doprava', +rtl : 'Z prava doleva', +id : 'Id', +image_map : 'Obrázková mapa', +swap_image : 'Přepnout obrázek', +alt_image : 'Alternativní obrázek', +mouseover : 'pro přejetí myší', +mouseout : 'pro odjetí myší', +misc : 'Různé', +example_img : 'Vzhled náhled obrázek', +missing_alt : 'Jste si jistý(á), že chcete pokračovat bez vyplnění popisu obrázku? Bez popisu může být obrázek nepřístupný handicapovaným uživatelům, nebo těm kteří používají textový prohlížeč, nebo prohlíží stránky s vypnutým obrázky.' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/cy.js new file mode 100644 index 0000000000..8ca5b5649b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/cy.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Cyffredinol', +tab_appearance : 'Ymddangosiad', +tab_advanced : 'Uwch', +general : 'Cyffredinol', +title : 'Teitl', +preview : 'Rhagolwg', +constrain_proportions : 'Cadw cymesuredd', +langdir : 'Cyfeiriad iaith', +langcode : 'Côd iaith', +long_desc : 'Dolen disgrifiad hir', +style : 'Arddull', +classes : 'Dosbarthiadau', +ltr : 'Chwith i\'r dde', +rtl : 'Dde i\'r chwith', +id : 'Id', +image_map : 'Map delwedd', +swap_image : 'Cyfnewid delwedd', +alt_image : 'Delwedd amgen', +mouseover : 'llygoden drosodd', +mouseout : 'llygoden allan', +misc : 'Arall', +example_img : 'Delwedd rhagolwg delwedd', +missing_alt : 'Wyt ti\'n sicr eisiau parhau heb gynnwys Disgrifiad Delwedd? Heb un, mae\'n bosib na fydd y ddelwedd yn hygyrch i ddefnyddwyr gydag anableddau, neu rhai gyda phorwr testun, neu sy\'n pori gyda delweddau wedi\'u diffodd.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/da.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/da.js new file mode 100644 index 0000000000..a9c4b00163 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/da.js @@ -0,0 +1,27 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generelt', +tab_appearance : 'Udseende', +tab_advanced : 'Avanceret', +general : 'Generelt', +title : 'Overskrift', +preview : 'Se', +constrain_proportions : 'Fasthold proportioner', +langdir : 'Tekstretning', +langcode : 'Sprogkode', +long_desc : 'Langt beskrivelseslink', +style : 'Style', +classes : 'Klasser', +ltr : 'Venstre til højre', +rtl : 'Højre til venstre', +id : 'Id', +image_map : 'Billedkort', +swap_image : 'Alternativt billede', +alt_image : 'Alternative image', +mouseover : 'ved mouse over', +mouseout : 'ved mouse out', +misc : 'Diverse', +example_img : 'Appearance preview image', +missing_alt : 'Er du sikker på at du vil fortsætte uden at indsætte en billedbeskrivelse? Uden den, kan billedet være utilgængeligt for brugere med handicap, eller for brugere med en tekst-browser, eller som har slået billedvisning fra.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/de.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/de.js new file mode 100644 index 0000000000..52c2de818a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/de.js @@ -0,0 +1,27 @@ +// DE lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Allgemein', +tab_appearance : 'Erscheinungsbild', +tab_advanced : 'Erweitert', +general : 'Allgemein', +title : 'Titel', +preview : 'Vorschau', +constrain_proportions : 'Verhältnis beibehalten', +langdir : 'Sprachrichtung', +langcode : 'Sprach-Code', +long_desc : 'Link zu ausführlicher Beschreibung', +style : 'CSS-Stil', +classes : 'CSS-Klassen', +ltr : 'Von links nach rechts', +rtl : 'Von rechts nach links', +id : 'ID', +image_map : 'Image Map (Bild mit sensitiven Bereichen)', +swap_image : 'Bild austauschen', +alt_image : 'Alternatives Bild', +mouseover : 'für Mouse-Over', +mouseout : 'für Mouse-Out', +misc : 'Sonstiges', +example_img : 'Erscheinungsbild Vorschau Bild', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/el.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/el.js new file mode 100755 index 0000000000..05c8db63c5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/el.js @@ -0,0 +1,27 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('advimage',{ +tab_general : '', +tab_appearance : '', +tab_advanced : ' ', +general : '', +title : '', +preview : '', +constrain_proportions : ' ', +langdir : ' ', +langcode : ' ', +long_desc : ' ', +style : '', +classes : '', +ltr : ' ', +rtl : ' ', +id : '.', +image_map : '-', +swap_image : ' ', +alt_image : ' ', +mouseover : ' ', +mouseout : ' ', +misc : '', +example_img : '  ', +missing_alt : ' ; , .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/en.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/en.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/en.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/es.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/es.js new file mode 100755 index 0000000000..51e532252a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/es.js @@ -0,0 +1,36 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Aspecto', +tab_advanced : 'Avanzado', +general : 'General', +title : 'Titulo', +preview : 'Vista previa', +constrain_proportions : 'Bloquear relación de aspecto', +langdir : 'Dirección del texto', +langcode : 'Código del idioma', +long_desc : 'Descripción larga del link', +style : 'Estilo', +classes : 'Clases', +ltr : 'De izquierda a derecha', +rtl : 'De derecha a izquierda', +id : 'Id', +image_map : 'Mapa de la imagen', +swap_image : 'Intercambio de imagen', +alt_image : 'Imagen alternativa', +mouseover : 'Al pasar el ratón por encima de la imagen', +mouseout : 'Al sacar el ratón de la imagen', +misc : 'Misceláneo', +example_img : 'Aspecto vista previa imagen', +missing_alt : '¿Estás seguro de querer continuar sin incluir una descripción de la imagen? Sin ella la imagen puede no ser accesible para ciertos usuarios discapacitados, o para los usuarios que usen navegadores de texto, o para los usuarios que tengan las imagenes desactivadas en su navegador.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fa.js new file mode 100644 index 0000000000..48dbe97b8d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fa.js @@ -0,0 +1,13 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_image_alt2 : '????? ???', +insert_image_onmousemove : '??? ???????', +insert_image_mouseover : '??? ??????? ????? ???? ?????? ????', +insert_image_mouseout : '??? ??????? ????? ???? ?????? ????' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fa_ca.js new file mode 100644 index 0000000000..4779ba06a3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fa_ca.js @@ -0,0 +1,8 @@ +// CA_FR lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Titre de l\'image', +insert_image_onmousemove : 'Image alternative', +insert_image_mouseover : 'pour le mouse over', +insert_image_mouseout : 'pour le mouse out' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fi.js new file mode 100755 index 0000000000..2505a63072 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fi.js @@ -0,0 +1,27 @@ +// FI lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Yleiset', +tab_appearance : 'Ulkoasu', +tab_advanced : 'Lisäasetukset', +general : 'Yleiset', +title : 'Otsikko', +preview : 'Esikatselu', +constrain_proportions : 'Säilytä mittasuhteet', +langdir : 'Kielen suunta', +langcode : 'Kielikoodi', +long_desc : 'Laajan kuvauksen linkki', +style : 'Tyyli', +classes : 'Luokat', +ltr : 'Vasemmalta oikealle', +rtl : 'Oikealta vasemmalle', +id : 'Id', +image_map : 'Kuvakartta', +swap_image : 'Kuvan vaihto', +alt_image : 'Vaihda kuvaa hiiren tullessa kuvan päälle', +mouseover : 'Osoittimen ollessa kuvan päällä', +mouseout : 'Osoittimen poistuessa kuvan päältä', +misc : 'Sekalaiset asetukset', +example_img : 'Appearance preview image', +missing_alt : 'Oletko varma ett haluat list kuvan ilman kuvan selitett? Selite auttaa ihmisi joilla on terveydellisi rajoitteita. Tm auttaa mys mikli selaimesta on kuvien nytt pois plt, kuten esimerkiksi tekstiselaimissa kuvan tilalla nytetn sen selite.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fr.js new file mode 100755 index 0000000000..1a1a6d8e12 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fr.js @@ -0,0 +1,28 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +tinyMCE.addToLang('advimage',{ +tab_general : 'Générale', +tab_appearance : 'Apparence', +tab_advanced : 'Avancé', +general : 'Générale', +title : 'Titre', +preview : 'Prévisualisation', +constrain_proportions : 'Conserver les proportions', +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', +id : 'Id', +image_map : 'Image map', +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.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fr_ca.js new file mode 100755 index 0000000000..4779ba06a3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/fr_ca.js @@ -0,0 +1,8 @@ +// CA_FR lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : 'Titre de l\'image', +insert_image_onmousemove : 'Image alternative', +insert_image_mouseover : 'pour le mouse over', +insert_image_mouseout : 'pour le mouse out' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/he.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/he.js new file mode 100755 index 0000000000..ecb163f6b6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/he.js @@ -0,0 +1,27 @@ +// HE lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : '', +tab_appearance : '', +tab_advanced : '', +general : '', +title : '', +preview : ' ', +constrain_proportions : ' ', +langdir : ' ', +langcode : ' ', +long_desc : ' ', +style : '', +classes : 'Class', +ltr : ' ', +rtl : ' ', +id : 'Id', +image_map : ' ', +swap_image : ' ', +alt_image : ' ', +mouseover : ' ', +mouseout : ' ', +misc : '', +example_img : '   ', +missing_alt : ' ? , , , .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/hu.js new file mode 100644 index 0000000000..1980e8d84e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/hu.js @@ -0,0 +1,27 @@ +// HU lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'ltalnos', +tab_appearance : 'Megjelens', +tab_advanced : 'Halad', +general : 'ltalnos', +title : 'Cm', +preview : 'Elnzet', +constrain_proportions : 'Arnyok knyszertse', +langdir : 'Szveg pozci', +langcode : 'Szveg kd', +long_desc : 'Hossz lers link', +style : 'Stlus', +classes : 'Osztlyok', +ltr : 'Balrl jobbra', +rtl : 'Jobbrl balra', +id : 'Azonost', +image_map : 'Kp trkp', +swap_image : 'Kp vlts', +alt_image : 'Msik kp', +mouseover : 'egr rmutatsra', +mouseout : 'egr elmozdtsra', +misc : 'Egyb', +example_img : 'Elnzeti kp megjelense', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/is.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/is.js new file mode 100644 index 0000000000..bae47b14c2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/is.js @@ -0,0 +1,27 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('advimage',{ +tab_general : 'Aðalstillingar', +tab_appearance : 'Útlit', +tab_advanced : 'Flóknari valkostir', +general : 'Helstu upplýsingar', +title : 'Titill', +preview : 'Forskoðun', +constrain_proportions : 'Vernda hlutföll', +langdir : 'Ritháttur tungumáls', +langcode : 'Tungumálskóði', +long_desc : 'Tengill á ítarlýsingu', +style : 'Stíll', +classes : 'Klassi', +ltr : 'Vinstri til hægri', +rtl : 'Hægri til vinstri', +id : 'Id', +image_map : 'Myndarkort', +swap_image : 'Skipta mynd', +alt_image : 'Skiptimynd', +mouseover : 'þegar mús fer yfir', +mouseout : 'þegar mús fer frá', +misc : 'Ýmislegt', +example_img : 'Forskoðunarmynd', +missing_alt : 'Ertu viss um að þú viljir halda áfram án myndarlýsingar? Án hennar munu sumir notendur, eins og fatlaðir eða með gamla vafra ekki geta séð myndina.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/it.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/it.js new file mode 100755 index 0000000000..97a80d2c39 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/it.js @@ -0,0 +1,27 @@ +// IT lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generale', +tab_appearance : 'Aspetto', +tab_advanced : 'Avanzate', +general : 'Generale', +title : 'Titolo', +preview : 'Anteprima', +constrain_proportions : 'Mantieni proporzioni', +langdir : 'Direzione del testo', +langcode : 'Codifica lingua', +long_desc : 'Link alla descrizione', +style : 'Stile', +classes : 'Classi', +ltr : 'Da sinistra a destra', +rtl : 'Da destra a sinistra', +id : 'Id', +image_map : 'Mappa', +swap_image : 'Scambia immagine', +alt_image : 'Immagini alternative', +mouseover : 'Per il mouseover', +mouseout : 'Per il mouseout', +misc : 'Altro', +example_img : 'Aspetto anteprima immagine', +missing_alt : 'Sei sicuro di voler omettere il testo alternativo? Questo testo è utile a persone che usano browser testuali, che hanno disattivato il caricamento delle immagini, oppure ai disabili.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja-euc-jp.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja-euc-jp.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_euc-jp.js new file mode 100755 index 0000000000..f7d2cc1053 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_euc-jp.js @@ -0,0 +1,27 @@ +// ܸ euc + +tinyMCE.addToLang('advimage',{ +tab_general : '', +tab_appearance : 'ɽ', +tab_advanced : 'ܺ', +general : '', +title : 'ȥ', +preview : 'ץӥ塼', +constrain_proportions : 'IJ', +langdir : 'դθ', +langcode : 'ե', +long_desc : 'ĹΥ', +style : '', +classes : '饹', +ltr : '鱦', +rtl : '麸', +id : 'Id', +image_map : '᡼ޥå', +swap_image : 'åץ᡼', +alt_image : 'Υ᡼', +mouseover : 'ޥ', +mouseout : 'ޥ', +misc : '¾', +example_img : ' ץӥ塼 ᡼', +missing_alt : 'إƥȤϤޤǤ ʤƤ⤤Ǥ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_shift-jis.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_shift-jis.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_shift_jis.js new file mode 100755 index 0000000000..acf5c7a982 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_shift_jis.js @@ -0,0 +1,27 @@ +// { + +tinyMCE.addToLang('advimage',{ +tab_general : '', +tab_appearance : '\', +tab_advanced : 'ڍ', +general : '', +title : '^Cg', +preview : 'vr[', +constrain_proportions : 'cŒ', +langdir : 'ť', +langcode : 'tR[h', +long_desc : '̃N', +style : 'X^C', +classes : 'NX', +ltr : 'E', +rtl : 'E獶', +id : 'Id', +image_map : 'C[W}bv', +swap_image : 'XbvC[W', +alt_image : '̃C[W', +mouseover : '}EX', +mouseout : '}EXO', +misc : '̑', +example_img : ' vr[ C[W', +missing_alt : 'փeLXg͂܂łB ȂĂłB' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_utf-8.js new file mode 100755 index 0000000000..8586ecda94 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ja_utf-8.js @@ -0,0 +1,27 @@ +// 日本語 unicode utf-8 + +tinyMCE.addToLang('advimage',{ +tab_general : '一般', +tab_appearance : '表示', +tab_advanced : '詳細', +general : '一般', +title : 'タイトル', +preview : 'プレビュー', +constrain_proportions : '縦横比を固定', +langdir : '言葉の向き', +langcode : '言葉コード', +long_desc : '長い説明のリンク', +style : 'スタイル', +classes : 'クラス', +ltr : '左から右へ', +rtl : '右から左へ', +id : 'Id', +image_map : 'イメージマップ', +swap_image : 'スワップイメージ', +alt_image : '代わりのイメージ', +mouseover : 'マウス上', +mouseout : 'マウス外', +misc : 'その他', +example_img : '見かけ プレビュー イメージ', +missing_alt : '代替テキストを入力しませんでした。 なくてもいいですか。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ko.js new file mode 100644 index 0000000000..70eb4b1a72 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ko.js @@ -0,0 +1,8 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insert_image_alt2 : '׸ ', +insert_image_onmousemove : 'ü ̹ö', +insert_image_mouseover : '콺 ÷ ', +insert_image_mouseout : '콺 ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/nb.js new file mode 100644 index 0000000000..487c59264e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/nb.js @@ -0,0 +1,27 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generelle innstillinger', +tab_appearance : 'Visuelle innstillinger', +tab_advanced : 'Avanserte innstillinger', +general : 'Generell', +title : 'Tittel', +preview : 'Forhåndsvisning', +constrain_proportions : 'Behold proporsjonene', +langdir : 'Skrift retning', +langcode : 'Språk kode', +long_desc : 'Lang beskrivelse', +style : 'Stil', +classes : 'CSS klasser', +ltr : 'Venstre mot høyre', +rtl : 'Høyre mot venstre', +id : 'Id', +image_map : 'Opprett bilde', +swap_image : 'Bytt bilde', +alt_image : 'Alternativt bilde', +mouseover : 'når pekeren er over', +mouseout : 'når pekeren er utenfor', +misc : 'Annet', +example_img : 'Forhåndsvisnings bilde', +missing_alt : 'Er du sikker på at du vil fortsette uten å sette inn en beskrivelse av bildet?' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/nl.js new file mode 100644 index 0000000000..15ca4aac01 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/nl.js @@ -0,0 +1,27 @@ +// NL lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Algemeen', +tab_appearance : 'Beeld', +tab_advanced : 'Geavanceerd', +general : 'Algemeen', +title : 'Titel', +preview : 'Voorbeeld', +constrain_proportions : 'Verhoudingen behouden', +langdir : 'Taalrichting', +langcode : 'Taalcode', +long_desc : 'Link naar lange omschrijving', +style : 'Stijl', +classes : 'Stijlen', +ltr : 'Links naar rechts', +rtl : 'Rechts naar links', +id : 'Id', +image_map : 'Afbeelding opdelen', +swap_image : 'Afbeelding wisselen', +alt_image : 'Alternatieve afbeelding', +mouseover : 'voor muis-over', +mouseout : 'voor muis-uit', +misc : 'Diversen', +example_img : 'Voorbeeld afbeelding', +missing_alt : 'Zonder een beschrijving van de afbeelding, zal de pagina voor mensen met een visuele handicap of met afbeeldingen uitgeschakeld niet toegankelijk zijn. Weet u zeker dat u wilt doorgaan zonder beschrijving?' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/nn.js new file mode 100644 index 0000000000..67ba3060ff --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/nn.js @@ -0,0 +1,27 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generelle innstillinger', +tab_appearance : 'Visuelle innstillinger', +tab_advanced : 'Avanserte innstillinger', +general : 'Generell', +title : 'Tittel', +preview : 'Forhåndsvisning', +constrain_proportions : 'Behold proporsjonene', +langdir : 'Skrift retning', +langcode : 'Språk kode', +long_desc : 'Lang beskrivelse', +style : 'Stil', +classes : 'CSS klasser', +ltr : 'Venstre mot høgre', +rtl : 'Høgre mot venstre', +id : 'Id', +image_map : 'Opprett bilde', +swap_image : 'Bytt bilde', +alt_image : 'Alternativt bilde', +mouseover : 'når pekeren er over', +mouseout : 'når pekeren er utenfor', +misc : 'Annet', +example_img : 'Forhåndsvisningsbilde', +missing_alt : 'Er du sikker på at du vil fortsette uten å sette inn ein beskrivelse av bildet?' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/pl.js new file mode 100644 index 0000000000..0fce7f7dc6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/pl.js @@ -0,0 +1,28 @@ +// PL lang variables +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('advimage',{ +tab_general : 'Gwne ustawienia', +tab_appearance : 'Widok', +tab_advanced : 'Zaawansowane', +general : 'Gwne', +title : 'Tytu', +preview : 'Podgld', +constrain_proportions : 'Zachowaj proporcje', +langdir : 'Kierunek tekstu', +langcode : 'Kod jzyka', +long_desc : 'Dugi opis linku', +style : 'Styl', +classes : 'Klasy', +ltr : 'Lewy do prawego', +rtl : 'Prawy do lewego', +id : 'Id', +image_map : 'Mapa obrazka', +swap_image : 'Podmiana obrazka', +alt_image : 'Alternatywny obrazek', +mouseover : 'gdy myszka nad obrazkiem', +mouseout : 'gdy myszka poza obrazkiem', +misc : 'Rne', +example_img : 'Przykadowy podgld obrazka', +missing_alt : 'Czy jeste pewien, e chcesz kontynuowa bez zawarcia opisu obrazka? Niektrzy uytkownicy moga uywa przegldarek tekstowych, lub mie ograniczenia na wywietlanie grafik, a wtedy Twj obrazek pozostanie dla nich niewidoczny.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/pt.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/pt.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/pt_br.js new file mode 100644 index 0000000000..841c1dcbdb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/pt_br.js @@ -0,0 +1,35 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('advimage',{ +tab_general : 'Geral', +tab_appearance : 'Aparncia', +tab_advanced : 'Avanado', +general : 'Geral', +title : 'Ttulo', +preview : 'Visualizar (Preview)', +constrain_proportions : 'Bloquear propores', +langdir : 'Direo da linguagem', +langcode : 'Cdigo da linguagem', +long_desc : 'Descrio completa do link', +style : 'Estilo', +classes : 'Classes', +ltr : 'Esquerda para direita', +rtl : 'Direita para esquerda', +id : 'Id', +image_map : 'Mapa da imagem', +swap_image : 'Trocar imagem', +alt_image : 'Imagem alternativa', +mouseover : 'para o mouse sobre o link', +mouseout : 'para o mouse fora do link', +misc : 'Miscelnia', +example_img : 'Aparncia Visualizar Imagem', +missing_alt : 'Tem certeza que deseja continuar sem incluir uma descrio para imagem? Sem isso a imagem pode no estar acessvel para alguns usurios especiis, ou para aqueles que utilizam um navegador em modo texto, ou para navegadores com imagens desativadas.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ro.js new file mode 100755 index 0000000000..8b35042c9c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ro.js @@ -0,0 +1,27 @@ +// RO lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Aspect', +tab_advanced : 'Avansat', +general : 'General', +title : 'Titlu', +preview : 'Previzualizare', +constrain_proportions : 'Proporţii constrâgeri', +langdir : 'Direcţia limbii', +langcode : 'Cod limbă', +long_desc : 'Descriere lungă legătură', +style : 'Stil', +classes : 'Clase', +ltr : 'Stânga la dreapta', +rtl : 'Dreapta la stânga', +id : 'Id', +image_map : 'Hartă imagine', +swap_image : 'Schimbă imagine', +alt_image : 'Imagine alternativă', +mouseover : 'pentru mouse deasupra', +mouseout : 'pentru mouse afară', +misc : 'Diverse', +example_img : 'Aspect previzualizare imagine', +missing_alt : 'Eşti sigur că vrei să continui fără includerea unei descrieri pentru imagine? Fără aceasta, este posibil ca imaginea să nu fie accesibilă utilizatorilor cu invaliditate, celor care folosesc un program n mod text pentru navigarea pe internet sau celor care navighează cu imaginile dezactivate.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru.js new file mode 100644 index 0000000000..9cac2839b7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru.js @@ -0,0 +1,26 @@ +// RU cp1251 lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : '', +tab_appearance : '', +tab_advanced : '', +general : '', +title : '', +preview : ' ', +constrain_proportions : ' ', +langdir : ' ', +langcode : ' ', +long_desc : ' ', +style : '', +classes : '', +ltr : ' ', +rtl : ' ', +id : 'Id', +image_map : ' ', +swap_image : ' ', +alt_image : ' ', +mouseover : ' ', +mouseout : ' ', +misc : '', +example_img : '  ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..cc20475705 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru_KOI8-R.js @@ -0,0 +1,26 @@ +// RU KOI8-R lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : '', +tab_appearance : '', +tab_advanced : '', +general : '', +title : '', +preview : ' ', +constrain_proportions : ' ', +langdir : ' ', +langcode : ' ', +long_desc : ' ', +style : '', +classes : '', +ltr : ' ', +rtl : ' ', +id : 'Id', +image_map : ' ', +swap_image : ' ', +alt_image : ' ', +mouseover : ' ', +mouseout : ' ', +misc : '', +example_img : '  ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru_UTF-8.js new file mode 100644 index 0000000000..04c612806c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/ru_UTF-8.js @@ -0,0 +1,26 @@ +// RU UTF-8 lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Основные', +tab_appearance : 'Визуализация', +tab_advanced : 'Расширенные', +general : 'Главные', +title : 'Заголовок', +preview : 'Предварительный просмотр', +constrain_proportions : 'Сохранить пропорции', +langdir : 'Описание языка', +langcode : 'Код языка', +long_desc : 'Полное описание', +style : 'Стили', +classes : 'Классы', +ltr : 'Слева направо', +rtl : 'Справа налево', +id : 'Id', +image_map : 'Карта изображения', +swap_image : 'Подмена картинки', +alt_image : 'Альтернативное изображение', +mouseover : 'при наведении мыши', +mouseout : 'когда уводите мышь', +misc : 'Прочее', +example_img : 'Визуализация расположения картинки' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/si.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/si.js new file mode 100644 index 0000000000..5cb35e7735 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/si.js @@ -0,0 +1,27 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('advimage',{ +tab_general : 'Splošno', +tab_appearance : 'Izgled', +tab_advanced : 'Napredno', +general : 'Splošno', +title : 'Naslov', +preview : 'Predogled', +constrain_proportions : 'Zakleni razmerje', +langdir : 'Smer jezika', +langcode : 'Koda jezika', +long_desc : 'Povezava do podrobnega opisa', +style : 'Stil', +classes : 'Razredi', +ltr : 'Od leve proti desni', +rtl : 'Od desne proti levi', +id : 'Id', +image_map : 'Ime zemljevida', +swap_image : 'Zamenjava slike', +alt_image : 'Alternativna slika', +mouseover : 'ko gre miš čez sliko', +mouseout : 'ko gre miš s slike', +misc : 'Razno', +example_img : 'Slika za predogled', +missing_alt : 'Ali ste prepričani, da želite nadaljevati brez vnosa za opis slike? Brez njega bo slika mogoče nedosegljiva za uporabnike s posebnimi potrebami ali uporabnike s tekstovnimi brskalniki.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/sk.js new file mode 100755 index 0000000000..469c347e52 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/sk.js @@ -0,0 +1,39 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Marián Zvalo marian.zvalo@student.umb.sk + * + * $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 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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/sq.js new file mode 100755 index 0000000000..616988dc40 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/sq.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Te pergjithshme', +tab_appearance : 'Pamja', +tab_advanced : 'E avancuar', +general : 'Te pergjithshme', +title : 'Titulli', +preview : 'Parashiko', +constrain_proportions : 'Ruaj Proporcionet', +langdir : 'Drejtimi i Gjuhes', +langcode : 'Kodi i gjuhes', +long_desc : 'Pershkirimi i gjate', +style : 'Stili', +classes : 'Klasat', +ltr : 'Nga e majta ne te djathte', +rtl : 'Nga e djathta ne te majte', +id : 'Id', +image_map : 'Harta e imazhit', +swap_image : 'Nderro imazhin', +alt_image : 'Imazhi alternativ', +mouseover : 'per maus mbi', +mouseout : 'per maus jashte', +misc : 'te ndryshme', +example_img : 'Pamja parashiko imazh', +missing_alt : 'Jeni i sigurt se do te vazhdoni pa nje pershkrim per imazhin?.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/sv.js new file mode 100644 index 0000000000..b4cb17992d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/sv.js @@ -0,0 +1,27 @@ +// SE lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Generella inställningar', +tab_appearance : 'Visuella inställningar', +tab_advanced : 'Avancerade inställningar', +general : 'Generella', +title : 'Titel', +preview : 'Förhandsgranskning', +constrain_proportions : 'Behåll proportionerna', +langdir : 'Skrift riktning', +langcode : 'Språk kåd', +long_desc : 'Long beskrivning', +style : 'Stil', +classes : 'CSS Classer', +ltr : 'Vänster till höger', +rtl : 'Höger till vänster', +id : 'Id', +image_map : 'Bild karta', +swap_image : 'Byt bild', +alt_image : 'Alternativ bild', +mouseover : 'när pekaren är över', +mouseout : 'när pekaren är utanför', +misc : 'Övrigt', +example_img : 'Förhandsgransknings bild', +missing_alt : 'Är du säker på att du vill fortsätta utan att skriva en bild beskrivning. Utan en alternativ beskrivning är bilden inte handikapanpassad.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/th.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/th.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/th.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/tr.js new file mode 100644 index 0000000000..6ead325f58 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/tr.js @@ -0,0 +1,27 @@ +// TR lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'Genel', +tab_appearance : 'Grn', +tab_advanced : 'Gelimi', +general : 'Genel', +title : 'Balk', +preview : 'nizleme', +constrain_proportions : 'Boyutlar kilitle', +langdir : 'Dil ynetimi', +langcode : 'Dil kodu', +long_desc : 'Uzun aklama linki', +style : 'Stil', +classes : 'Snflar', +ltr : 'Soldan saa', +rtl : 'Sadan sola', +id : 'Id', +image_map : 'Resim haritas(image map)', +swap_image : 'Resmi deitir', +alt_image : 'Alternatif resim', +mouseover : 'Mouse over iin', +mouseout : 'Mouse out iin', +misc : 'eitli/Dier', +example_img : 'Grnm nizleme resim', +missing_alt : 'Resim aklamas olmadan devam etmek istediinize emin misiniz?' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/tw.js new file mode 100644 index 0000000000..ffd7e30c51 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/tw.js @@ -0,0 +1,27 @@ +// UK lang variables + +tinyMCE.addToLang('advimage',{ +tab_general : 'General', +tab_appearance : 'Appearance', +tab_advanced : 'Advanced', +general : 'General', +title : 'Title', +preview : 'Preview', +constrain_proportions : 'Constrain proportions', +langdir : 'Language direction', +langcode : 'Language code', +long_desc : 'Long description link', +style : 'Style', +classes : 'Classes', +ltr : 'Left to right', +rtl : 'Right to left', +id : 'Id', +image_map : 'Image map', +swap_image : 'Swap image', +alt_image : 'Alternative image', +mouseover : 'for mouse over', +mouseout : 'for mouse out', +misc : 'Miscellaneous', +example_img : 'Appearance preview image', +missing_alt : 'Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/vi.js new file mode 100755 index 0000000000..0c259733ff --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/vi.js @@ -0,0 +1,27 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('advimage',{ +tab_general : 'Chung', +tab_appearance : 'Xuất hiện', +tab_advanced : 'Nâng cao', +general : 'Chung', +title : 'Tiêu đề', +preview : 'Xem trước', +constrain_proportions : 'Ràng buộc kích thước', +langdir : 'Hướng ngôn ngữ', +langcode : 'Bộ mã ngôn ngữ', +long_desc : 'Mô tả đầy đủ', +style : 'Kiểu', +classes : 'Lớp', +ltr : 'Trái sang phải', +rtl : 'Phải sang trái', +id : 'Id', +image_map : 'Bản đồ ảnh', +swap_image : 'Thay đổi ảnh', +alt_image : 'Ảnh thay thế', +mouseover : 'khi di chuột vào', +mouseout : 'khi di chuột ra ngoài', +misc : 'Linh tinh', +example_img : 'Ảnh xem trước', +missing_alt : 'Bạn có chắc bạn muốn tiếp tục mà không cần nhập vào mô tả ảnh? Không có mô tả sẽ hạn chế khả năng truy cập của những người sử dụng khuyết tật, hoặc những người sử dụng trình duyệt văn bản, hoặc xem trang này khi đã tắt chế độ hiển thị ảnh.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_cn.js new file mode 100755 index 0000000000..41c6c57c3a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_cn.js @@ -0,0 +1,28 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('advimage',{ +tab_general : 'һ', +tab_appearance : 'ʾ', +tab_advanced : '߼', +general : 'һ', +title : '', +preview : 'Ԥ', +constrain_proportions : 'Լ', +langdir : 'д', +langcode : 'Ա', +long_desc : '', +style : '', +classes : '', +ltr : '', +rtl : '', +id : 'ʶ', +image_map : 'ͼƬӦ', +swap_image : 'ͼƬ', +alt_image : 'ѡͼƬ', +mouseover : 'ʱ', +mouseout : '뿪ʱ', +misc : '', +example_img : 'ʾ Ԥ ͼƬ', +missing_alt : 'ȷҪûͼƬ˵¼ رͼƬû޷ע⵽ͼƬ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..f835bc0aef --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_cn_utf8.js @@ -0,0 +1,28 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('advimage',{ +tab_general : '一般', +tab_appearance : '显示', +tab_advanced : '高级', +general : '一般', +title : '标题', +preview : '预览', +constrain_proportions : '约束属性', +langdir : '书写方向', +langcode : '语言编码', +long_desc : '长描述链接', +style : '风格', +classes : '类', +ltr : '从左至右', +rtl : '从右至左', +id : '表识', +image_map : '图片对应', +swap_image : '调换图片', +alt_image : '候选图片', +mouseover : '鼠标在上面时', +mouseout : '鼠标离开时', +misc : '杂项', +example_img : '显示 预览 图片', +missing_alt : '您确认要在没有图片说明的情况下继续吗? 这样其他关闭图片浏览的用户将无法注意到你在这里有图片。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_tw.js new file mode 100644 index 0000000000..7cee3c387a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_tw.js @@ -0,0 +1,29 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + + +tinyMCE.addToLang('advimage',{ +tab_general : '@', +tab_appearance : '~[', +tab_advanced : 'i', +general : '@', +title : 'D', +preview : 'w', +constrain_proportions : 'ҭ', +langdir : 'yΪk', +langcode : 'yX', +long_desc : '㻡s', +style : '', +classes : '', +ltr : 'ѥܥk', +rtl : 'ѥkܥ', +id : 's', +image_map : 'ɬMg', +swap_image : 'ɥ洫', +alt_image : 'N', +mouseover : 'ƹJ', +mouseout : 'ƹX', +misc : '', +example_img : '~[ w ', +missing_alt : 'TwnbtɻpU~ܡH\nSɻi|ɭPǹOH¤rs\ns{\઺ΤLkQŪTC' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..32ab67d358 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/langs/zh_tw_utf8.js @@ -0,0 +1,29 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + + +tinyMCE.addToLang('advimage',{ +tab_general : '一般', +tab_appearance : '外觀', +tab_advanced : '進階', +general : '一般', +title : '標題', +preview : '預覽', +constrain_proportions : '比例限制', +langdir : '語言用法', +langcode : '語碼', +long_desc : '完整說明連結', +style : '式樣', +classes : '分類', +ltr : '由左至右', +rtl : '由右至左', +id : '編號', +image_map : '圖檔映射', +swap_image : '圖檔交換', +alt_image : '替代圖檔', +mouseover : '當滑鼠移入', +mouseout : '當滑鼠移出', +misc : '雜項', +example_img : '外觀 預覽 圖檔', +missing_alt : '確定要在不含圖檔說明的狀況下繼續執行嗎?\n沒有圖檔說明可能會導致那些像是以純文字瀏覽器或\n關閉瀏覽器圖檔顯現功能的用戶無法順利讀取資訊。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advimage/readme.txt b/phpgwapi/js/tiny_mce/plugins/advimage/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advimage/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/css/advlink.css b/phpgwapi/js/tiny_mce/plugins/advlink/css/advlink.css new file mode 100644 index 0000000000..0cb37bd20a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/css/advlink.css @@ -0,0 +1,35 @@ +/* CSS file for advimage plugin popup */ + +.mceLinkList, .mceAnchorList, #targetlist { + width: 280px; +} + +.mceActionPanel { + margin-top: 7px; +} + +.panel_wrapper div.current { + height: 320px; +} + +#classlist, #title, #href { + width: 280px; +} + +#popupurl, #popupname { + width: 200px; +} + +#popupwidth, #popupheight, #popupleft, #popuptop { + width: 30px; + vertical-align: middle; + text-align: center; +} + +#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey { + width: 200px; +} + +#events_panel input { + width: 200px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/advlink/editor_plugin.js new file mode 100644 index 0000000000..bf1db56329 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('advlink','en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,es,is,zh_tw,zh_tw_utf8,sk,da');var TinyMCE_AdvancedLinkPlugin={getInfo:function(){return{longname:'Advanced link',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advlink.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){inst.addShortcut('ctrl','k','lang_advlink_desc','mceAdvLink');},getControlHTML:function(cn){switch(cn){case"link":return tinyMCE.getButtonHTML(cn,'lang_link_desc','{$themeurl}/images/link.gif','mceAdvLink');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvLink":var anySelection=false;var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var selectedText=inst.selection.getSelectedText();if(tinyMCE.selectedElement)anySelection=(tinyMCE.selectedElement.nodeName.toLowerCase()=="img")||(selectedText&&selectedText.length>0);if(anySelection||(focusElm!=null&&focusElm.nodeName=="A")){var template=new Array();template['file']='../../plugins/advlink/link.htm';template['width']=480;template['height']=400;template['width']+=tinyMCE.getLang('lang_advlink_delta_width',0);template['height']+=tinyMCE.getLang('lang_advlink_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});}return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="A"&&tinyMCE.getAttrib(node,'href')!=""){tinyMCE.switchClass(editor_id+'_advlink','mceButtonSelected');return true;}}while((node=node.parentNode));if(any_selection){tinyMCE.switchClass(editor_id+'_advlink','mceButtonNormal');return true;}tinyMCE.switchClass(editor_id+'_advlink','mceButtonDisabled');return true;}};tinyMCE.addPlugin("advlink",TinyMCE_AdvancedLinkPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/advlink/editor_plugin_src.js new file mode 100644 index 0000000000..7fd4f07ced --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/editor_plugin_src.js @@ -0,0 +1,90 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.24 $ + * $Date: 2006/02/10 16:29:38 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('advlink', 'en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,es,is,zh_tw,zh_tw_utf8,sk,da'); + +var TinyMCE_AdvancedLinkPlugin = { + getInfo : function() { + return { + longname : 'Advanced link', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advlink.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + initInstance : function(inst) { + inst.addShortcut('ctrl', 'k', 'lang_advlink_desc', 'mceAdvLink'); + }, + + getControlHTML : function(cn) { + switch (cn) { + case "link": + return tinyMCE.getButtonHTML(cn, 'lang_link_desc', '{$themeurl}/images/link.gif', 'mceAdvLink'); + } + + return ""; + }, + + execCommand : function(editor_id, element, command, user_interface, value) { + switch (command) { + case "mceAdvLink": + var anySelection = false; + var inst = tinyMCE.getInstanceById(editor_id); + var focusElm = inst.getFocusElement(); + var selectedText = inst.selection.getSelectedText(); + + if (tinyMCE.selectedElement) + anySelection = (tinyMCE.selectedElement.nodeName.toLowerCase() == "img") || (selectedText && selectedText.length > 0); + + if (anySelection || (focusElm != null && focusElm.nodeName == "A")) { + var template = new Array(); + + template['file'] = '../../plugins/advlink/link.htm'; + template['width'] = 480; + template['height'] = 400; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_advlink_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_advlink_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + } + + return true; + } + + return false; + }, + + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + if (node == null) + return; + + do { + if (node.nodeName == "A" && tinyMCE.getAttrib(node, 'href') != "") { + tinyMCE.switchClass(editor_id + '_advlink', 'mceButtonSelected'); + return true; + } + } while ((node = node.parentNode)); + + if (any_selection) { + tinyMCE.switchClass(editor_id + '_advlink', 'mceButtonNormal'); + return true; + } + + tinyMCE.switchClass(editor_id + '_advlink', 'mceButtonDisabled'); + + return true; + } +}; + +tinyMCE.addPlugin("advlink", TinyMCE_AdvancedLinkPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/jscripts/functions.js b/phpgwapi/js/tiny_mce/plugins/advlink/jscripts/functions.js new file mode 100644 index 0000000000..58a2c9e98c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/jscripts/functions.js @@ -0,0 +1,568 @@ +/* Functions for the advlink plugin popup */ + +var templates = { + "window.open" : "window.open('${url}','${target}','${options}')" +}; + +function preinit() { + // Initialize + tinyMCE.setWindowArg('mce_windowresize', false); + + // Import external list url javascript + var url = tinyMCE.getParam("external_link_list_url"); + if (url != null) { + // Fix relative + if (url.charAt(0) != '/' && url.indexOf('://') == -1) + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); + } +} + +function changeClass() { + var formObj = document.forms[0]; + formObj.classes.value = getSelectValue(formObj, 'classlist'); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + var action = "insert"; + var html; + + document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink'); + document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink'); + document.getElementById('linklisthrefcontainer').innerHTML = getLinkListHTML('linklisthref','href'); + document.getElementById('anchorlistcontainer').innerHTML = getAnchorListHTML('anchorlist','href'); + document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target'); + + // Link list + html = getLinkListHTML('linklisthref','href'); + if (html == "") + document.getElementById("linklisthrefrow").style.display = 'none'; + else + document.getElementById("linklisthrefcontainer").innerHTML = html; + + // Resize some elements + if (isVisible('hrefbrowser')) + document.getElementById('href').style.width = '260px'; + + if (isVisible('popupurlbrowser')) + document.getElementById('popupurl').style.width = '180px'; + + elm = tinyMCE.getParentElement(elm, "a"); + if (elm != null && elm.nodeName == "A") + action = "update"; + + formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); + + setPopupControlsDisabled(true); + + if (action == "update") { + var href = tinyMCE.getAttrib(elm, 'href'); + + href = convertURL(href, elm, true); + + // Use mce_href if found + var mceRealHref = tinyMCE.getAttrib(elm, 'mce_href'); + if (mceRealHref != "") { + href = mceRealHref; + + if (tinyMCE.getParam('convert_urls')) + href = convertURL(href, elm, true); + } + + var onclick = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onclick')); + + // Setup form data + setFormValue('href', href); + setFormValue('title', tinyMCE.getAttrib(elm, 'title')); + setFormValue('id', tinyMCE.getAttrib(elm, 'id')); + setFormValue('style', tinyMCE.serializeStyle(tinyMCE.parseStyle(tinyMCE.getAttrib(elm, "style")))); + setFormValue('rel', tinyMCE.getAttrib(elm, 'rel')); + setFormValue('rev', tinyMCE.getAttrib(elm, 'rev')); + setFormValue('charset', tinyMCE.getAttrib(elm, 'charset')); + setFormValue('hreflang', tinyMCE.getAttrib(elm, 'hreflang')); + setFormValue('dir', tinyMCE.getAttrib(elm, 'dir')); + setFormValue('lang', tinyMCE.getAttrib(elm, 'lang')); + setFormValue('tabindex', tinyMCE.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : "")); + setFormValue('accesskey', tinyMCE.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : "")); + setFormValue('type', tinyMCE.getAttrib(elm, 'type')); + setFormValue('onfocus', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onfocus'))); + setFormValue('onblur', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onblur'))); + setFormValue('onclick', onclick); + setFormValue('ondblclick', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'ondblclick'))); + setFormValue('onmousedown', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmousedown'))); + setFormValue('onmouseup', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseup'))); + setFormValue('onmouseover', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseover'))); + setFormValue('onmousemove', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmousemove'))); + setFormValue('onmouseout', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onmouseout'))); + setFormValue('onkeypress', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeypress'))); + setFormValue('onkeydown', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeydown'))); + setFormValue('onkeyup', tinyMCE.cleanupEventStr(tinyMCE.getAttrib(elm, 'onkeyup'))); + setFormValue('target', tinyMCE.getAttrib(elm, 'target')); + setFormValue('classes', tinyMCE.getAttrib(elm, 'class')); + + // Parse onclick data + if (onclick != null && onclick.indexOf('window.open') != -1) + parseWindowOpen(onclick); + else + parseFunction(onclick); + + // Select by the values + selectByValue(formObj, 'dir', tinyMCE.getAttrib(elm, 'dir')); + selectByValue(formObj, 'rel', tinyMCE.getAttrib(elm, 'rel')); + selectByValue(formObj, 'rev', tinyMCE.getAttrib(elm, 'rev')); + selectByValue(formObj, 'linklisthref', href); + + if (href.charAt(0) == '#') + selectByValue(formObj, 'anchorlist', href); + + addClassesToList('classlist', 'advlink_styles'); + + selectByValue(formObj, 'classlist', tinyMCE.getAttrib(elm, 'class'), true); + selectByValue(formObj, 'targetlist', tinyMCE.getAttrib(elm, 'target'), true); + } else + addClassesToList('classlist', 'advlink_styles'); + + window.focus(); +} + +function setFormValue(name, value) { + document.forms[0].elements[name].value = value; +} + +function convertURL(url, node, on_save) { + return eval("tinyMCEPopup.windowOpener." + tinyMCE.settings['urlconverter_callback'] + "(url, node, on_save);"); +} + +function parseWindowOpen(onclick) { + var formObj = document.forms[0]; + + // Preprocess center code + if (onclick.indexOf('return false;') != -1) { + formObj.popupreturn.checked = true; + onclick = onclick.replace('return false;', ''); + } else + formObj.popupreturn.checked = false; + + var onClickData = parseLink(onclick); + + if (onClickData != null) { + formObj.ispopup.checked = true; + setPopupControlsDisabled(false); + + var onClickWindowOptions = parseOptions(onClickData['options']); + var url = onClickData['url']; + + if (tinyMCE.getParam('convert_urls')) + url = convertURL(url, null, true); + + formObj.popupname.value = onClickData['target']; + formObj.popupurl.value = url; + formObj.popupwidth.value = getOption(onClickWindowOptions, 'width'); + formObj.popupheight.value = getOption(onClickWindowOptions, 'height'); + + formObj.popupleft.value = getOption(onClickWindowOptions, 'left'); + formObj.popuptop.value = getOption(onClickWindowOptions, 'top'); + + if (formObj.popupleft.value.indexOf('screen') != -1) + formObj.popupleft.value = "c"; + + if (formObj.popuptop.value.indexOf('screen') != -1) + formObj.popuptop.value = "c"; + + formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes"; + formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes"; + formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes"; + formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes"; + formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes"; + formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes"; + formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes"; + + buildOnClick(); + } +} + +function parseFunction(onclick) { + var formObj = document.forms[0]; + var onClickData = parseLink(onclick); + + // TODO: Add stuff here +} + +function getOption(opts, name) { + return typeof(opts[name]) == "undefined" ? "" : opts[name]; +} + +function setPopupControlsDisabled(state) { + var formObj = document.forms[0]; + + formObj.popupname.disabled = state; + formObj.popupurl.disabled = state; + formObj.popupwidth.disabled = state; + formObj.popupheight.disabled = state; + formObj.popupleft.disabled = state; + formObj.popuptop.disabled = state; + formObj.popuplocation.disabled = state; + formObj.popupscrollbars.disabled = state; + formObj.popupmenubar.disabled = state; + formObj.popupresizable.disabled = state; + formObj.popuptoolbar.disabled = state; + formObj.popupstatus.disabled = state; + formObj.popupreturn.disabled = state; + formObj.popupdependent.disabled = state; + + setBrowserDisabled('popupurlbrowser', state); +} + +function parseLink(link) { + link = link.replace(new RegExp(''', 'g'), "'"); + + var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1"); + + // Is function name a template function + var template = templates[fnName]; + if (template) { + // Build regexp + var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi")); + var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\("; + var replaceStr = ""; + for (var i=0; i'); + for (var i=0; i'; + html += ''; + + for (var i=0; i' + name + ''; + } + + html += ''; + + return html; +} + +function insertAction() { + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var elm = inst.getFocusElement(); + + elm = tinyMCE.getParentElement(elm, "a"); + + tinyMCEPopup.execCommand("mceBeginUndoLevel"); + + // Create new anchor elements + if (elm == null) { + if (tinyMCE.isSafari) + tinyMCEPopup.execCommand("mceInsertContent", false, '' + inst.selection.getSelectedHTML() + ''); + else + tinyMCEPopup.execCommand("createlink", false, "#mce_temp_url#"); + + var elementArray = tinyMCE.getElementsByAttributeValue(inst.getBody(), "a", "href", "#mce_temp_url#"); + for (var i=0; i' + tinyMCELinkList[i][0] + ''; + + html += ''; + + return html; + + // tinyMCE.debug('-- image list start --', html, '-- image list end --'); +} + +function getTargetListHTML(elm_id, target_form_element) { + var targets = tinyMCE.getParam('theme_advanced_link_targets', '').split(';'); + var html = ''; + + html += ''; + + return html; +} + +// While loading +preinit(); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ar.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ar.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ca.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ca.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/cs.js new file mode 100755 index 0000000000..827623c61b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/cs.js @@ -0,0 +1,51 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.5 2006/01/11 14:25:47 spocke Exp $ + */ + +tinyMCE.addToLang('advlink',{ +general_tab : 'Obecné', +popup_tab : 'Popup', +events_tab : 'Události', +advanced_tab : 'Pokročilé', +general_props : 'Obecné vlastnosti', +popup_props : 'Popup vlastnosti', +event_props : 'Události', +advanced_props : 'Advanced properties', +popup_opts : 'Možnosti', +anchor_names : 'Anchors', +target_same : 'Otevřít v tomto okně / rámu', +target_parent : 'Otevřít v rodičovském okně / rámu', +target_top : 'Otevřít v hlavním rámci (nahradí všechny rámce)', +target_blank : 'Otevřít v novém okně', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Jméno okna', +popup_return : 'Vložit \'return false\'', +popup_scrollbars : 'Zobrazit posuvníky', +popup_statusbar : 'Zobrazit stavový řádek', +popup_toolbar : 'Zobrazit nástrojovou lištu', +popup_menubar : 'Zobrazit menu', +popup_location : 'Zobrazit pole s adresou', +popup_resizable : 'Vytvořit okno, které jde zvětšovat/zmenšovat', +popup_dependent : 'Závisí (jen pro Mozilla/Firefox)', +popup_size : 'Velikost', +popup_position : 'Pozice (X/Y)', +id : 'Id', +style: 'Styl', +classes : 'Třídy', +target_name : 'Jméno cíle', +langdir : 'Jazykové nastavení', +target_langcode : 'Cílový jazyk', +langcode : 'Kód jazyka', +encoding : 'Cílové kódování znaků', +mime : 'Cílový MIME typ', +rel : 'Vztah stránky k cíli', +rev : 'Vztah cíle ke stránce', +tabindex : 'Tabulátor', +accesskey : 'Přístupové tlačítko', +ltr : 'Z leva doprava', +rtl : 'Z prava doleva' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/cy.js new file mode 100644 index 0000000000..5ad11a1466 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/cy.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Cyffredinol', +popup_tab : 'Ffenest Naid', +events_tab : 'Digwyddiadau', +advanced_tab : 'Uwch', +general_props : 'Priodoleddau cyffredinol', +popup_props : 'Priodoleddau ffenest naid', +event_props : 'Digwyddiadau', +advanced_props : 'Priodoleddau uwch', +popup_opts : 'Dewisiadau', +anchor_names : 'Angorau', +target_same : 'Agor yn y ffenest / ffrâm yma', +target_parent : 'Agor yn rhiant y ffenest / ffrâm', +target_top : 'Agor yn y ffrâm uchaf (disodli pob ffrâm)', +target_blank : 'Agor mewn ffenest newydd', +popup : 'Ffenest naid Javascript', +popup_url : 'URL ffenest naid', +popup_name : 'Enw ffenest', +popup_return : 'Mewnosod \'return false\'', +popup_scrollbars : 'Dangos bariau sgrolio', +popup_statusbar : 'Dangos bar statws', +popup_toolbar : 'Dangos bariau offer', +popup_menubar : 'Dangos bar dewislen', +popup_location : 'Dangos bar lleoliad', +popup_resizable : 'Caniatáu newid maint y ffenest', +popup_dependent : 'Dibynnol (Mozilla/Firefox yn unig)', +popup_size : 'Maint', +popup_position : 'Lleoliad (X/Y)', +id : 'Id', +style: 'Arddull', +classes : 'Dosbarthiadau', +target_name : 'Enw targed', +langdir : 'Cyfeiriad iaith', +target_langcode : 'Iaith y targed', +langcode : 'Côd iaith', +encoding : 'Amgodio testun y targed', +mime : 'Math MIME y targed', +rel : 'Perthynas tudalen i\'r targed', +rev : 'Perthynas targed i\'r dudalen', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Chwith i\'r dde', +rtl : 'Dde i\'r chwith' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/da.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/da.js new file mode 100644 index 0000000000..ed2cf9a693 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/da.js @@ -0,0 +1,46 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generelt', +popup_tab : 'Pop up', +events_tab : 'Events', +advanced_tab : 'Avanceret', +general_props : 'Generelle egenskaber', +popup_props : 'Popup egenskaber', +event_props : 'Events', +advanced_props : 'Advancerede egenskaber', +popup_opts : 'Valgmuligheder', +anchor_names : 'Bogmærker', +target_same : 'Åbn i samme vindue / ramme', +target_parent : 'Åbn i overordnet vindue / ramme', +target_top : 'Åbn i topramme (erstatter alle rammer)', +target_blank : 'Åbn i nyt vindue', +popup : 'Javascript popup', +popup_url : 'Popup adresse', +popup_name : 'Winduets navn', +popup_return : 'Indsæt \'return false\'', +popup_scrollbars : 'Vis scrollbar', +popup_statusbar : 'Vis statuslinje', +popup_toolbar : 'Vis værktøjslinjer', +popup_menubar : 'Vis menulinje', +popup_location : 'Vis adresse', +popup_resizable : 'Gør vinduet skalerbart', +popup_dependent : 'Afhængigt (kun ved Mozilla/Firefox)', +popup_size : 'Størrelse', +popup_position : 'Placering (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Klasser', +target_name : 'Target navn', +target_langcode : 'Target sprog', +langdir : 'Sprogretning', +langcode : 'Sprogkode', +encoding : 'Target tegnkode', +mime : 'Target MIME type', +rel : 'Relation mellem side og target', +rev : 'Relation mellem target og side', +tabindex : 'Tabindex', +accesskey : 'Genvejstast', +ltr : 'Venstre til højre', +rtl : 'Højre til venstre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/de.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/de.js new file mode 100644 index 0000000000..62c0744074 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/de.js @@ -0,0 +1,47 @@ +// DE lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Allgemein', +popup_tab : 'Popup', +events_tab : 'JS-Events', +advanced_tab : 'Erweitert', +general_props : 'Allgemeine Eigenschaften', +popup_props : 'Popup-Eigenschaften', +event_props : 'Javascript-Events', +advanced_props : 'Erweiterte Eigenschaften', +popup_opts : 'Optionen', +anchor_names : 'Anker', +target_same : '_self - In diesem Fenster/Frame öffnen', +target_parent : '_parent - Im Eltern-Fenster/-Frame öffnen', +target_top : '_top - Im Fenster öffnen (ersetzt alle Frames)', +target_blank : '_blank - In neuem Fenster öffnen', +popup : 'Javascript-Popup', +popup_url : 'Popup-URL', +popup_name : 'Popup-Name', +popup_return : 'Mit \'return false\' einfügen', +popup_scrollbars : 'Scrollleisten anzeigen', +popup_statusbar : 'Statuszeilen anzeigen', +popup_toolbar : 'Werkzeugleisten anzeigen', +popup_menubar : 'Menüleiste anzeigen', +popup_location : 'Adresszeile anzeigen', +popup_resizable : 'Fenstergröße veränderbar', +popup_dependent : 'Abhängiges Fenster (Nur Mozilla/Firefox)', +popup_size : 'Größe', +popup_position : 'Position (X/Y)', +id : 'ID', +style: 'CSS-Stil', +classes : 'CSS-Klassen', +target_name : 'Zielname', +langdir : 'Sprachrichtung', +target_langcode : 'Zielsprache', +langcode : 'Sprach-Code', +encoding : 'Zeichenkodierung', +mime : 'MIME-Typ', +rel : 'Verhältnis Seite zu Ziel', +rev : 'Verhältnis Ziel zu Seite', +tabindex : 'Tabulator-Index', +accesskey : 'Tastaturkürzel', +ltr : 'Von links nach rechts', +rtl : 'Von rechts nach links', +delta_width : 10 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/el.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/el.js new file mode 100755 index 0000000000..45326f9365 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/el.js @@ -0,0 +1,46 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('advlink',{ +general_tab : '', +popup_tab : 'Popup', +events_tab : '', +advanced_tab : ' ', +general_props : ' ', +popup_props : ' popup', +event_props : '', +advanced_props : ' ', +popup_opts : '', +anchor_names : '', +target_same : ' / frame', +target_parent : ' / frame', +target_top : ' frame ( frames)', +target_blank : ' ', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : ' ', +popup_return : ' \'return false\'', +popup_scrollbars : ' ', +popup_statusbar : ' ', +popup_toolbar : ' ', +popup_menubar : ' ', +popup_location : ' ', +popup_resizable : ' ', +popup_dependent : '( Mozilla/Firefox)', +popup_size : '', +popup_position : ' (X/Y)', +id : '.', +style: '', +classes : '', +target_name : ' ', +langdir : ' ', +target_langcode : ' ', +langcode : ' ', +encoding : ' ', +mime : ' MIME ', +rel : ' ', +rev : ' ', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : ' ', +rtl : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/en.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/en.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/en.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/es.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/es.js new file mode 100755 index 0000000000..f25fb78f8d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/es.js @@ -0,0 +1,55 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Eventos', +advanced_tab : 'Avanzado', +general_props : 'Propiedades generales', +popup_props : 'Propiedades de la popup', +event_props : 'Eventos', +advanced_props : 'Propiedades avanzadas', +popup_opts : 'Opciones', +anchor_names : 'Anclas', +target_same : 'Abrir en esta ventana/frame', +target_parent : 'Abrir en la ventana/frame padre', +target_top : 'Abrir el frame superior (replaza todos los frames)', +target_blank : 'Abrir en una ventana nueva', +popup : 'Popup con JavaScript', +popup_url : 'Dirección de la popup', +popup_name : 'Nombre de la ventana', +popup_return : 'Insertar \'return false\'', +popup_scrollbars : 'Mostrar barras de scroll', +popup_statusbar : 'Mostrar barra de estado', +popup_toolbar : 'Mostrar barras de tarea', +popup_menubar : 'Mostrar barra de menu', +popup_location : 'Mostrar barra de direcciones', +popup_resizable : 'La ventana puede cambiar de tamaño', +popup_dependent : 'Dependiente (solo Mozilla/Firefox)', +popup_size : 'Tamaño', +popup_position : 'Posición (X/Y)', +id : 'Id', +style: 'Estilo', +classes : 'Clases', +target_name : 'Nombre del target', +langdir : 'Dirección del texto', +target_langcode : 'Idioma del target', +langcode : 'Código del idioma', +encoding : 'Codificación de los carácteres del target', +mime : 'Tipo MIME del target', +rel : 'Relación de la página con el target', +rev : 'Relación del target con la página', +tabindex : 'Indice para la tabulación', +accesskey : 'Tecla de acceso', +ltr : 'de izquierda a derecha', +rtl : 'de derecha a izquierda' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fa.js new file mode 100644 index 0000000000..aca154bf8d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fa.js @@ -0,0 +1,27 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_link_target_same : '?? ???? ???? / ???? ??? ??', +insert_link_target_parent : '?? ???? / ???? ???? ??? ??', +insert_link_target_top : '?? ???? ???? ??? ?? (??? ?????? ?????? ????? ?????)', +insert_link_target_blank : '?? ???? ???? ??? ??', +insert_link_target_named : '?? ????? ??? ??', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'URL ?????', +insert_link_popup_name : '??? ?????', +insert_link_popup_return : '?????? \'return false\'', +insert_link_popup_scrollbars : '????? scrollbars', +insert_link_popup_statusbar : '????? statusbar', +insert_link_popup_toolbar : '????? toolbars', +insert_link_popup_menubar : '????? menubar', +insert_link_popup_location : '????? locationbar', +insert_link_popup_resizable : '???? ????? ?????? ????', +insert_link_popup_size : '??????', +insert_link_popup_position : '?????? (X/Y)', +insert_link_popup_missingtarget : '???? ?? ??? ???? ???? ?????? ???? ?? ??? ??? ???? ????? ????? ?? ?????? ??????.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fa_ca.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fa_ca.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fi.js new file mode 100755 index 0000000000..d77defac73 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fi.js @@ -0,0 +1,46 @@ +// FI lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Yleiset', +popup_tab : 'Ponnahdusikkuna', +events_tab : 'Tapahtumat', +advanced_tab : 'Lisäasetukset', +general_props : 'Yleiset asetukset', +popup_props : 'Ponnahdusikkunan asetukset', +event_props : 'Tapahtumat', +advanced_props : 'Lisäasetukset', +popup_opts : 'Asetukset', +anchor_names : 'Ankkurit', +target_same : 'Avaa tässä ikkunassa / kehyksessä', +target_parent : 'Avaa isäntäikkunassa / kehyksessä', +target_top : 'Avaa kokoruudulle (korvaa kaikki kehykset)', +target_blank : 'Avaa uuteen ikkunaan', +popup : 'Javascript ponnahdusikkuna', +popup_url : 'Ponnahdusikkunan osoite', +popup_name : 'Ikkunan nimi', +popup_return : 'Lisää \'return false\'', +popup_scrollbars : 'Näytä vierityspalkit', +popup_statusbar : 'Näytä tilarivi', +popup_toolbar : 'Näytä työkalurivi', +popup_menubar : 'Näytä valikkorivi', +popup_location : 'Näytä sijaintipalkki', +popup_resizable : 'Kokoa voi muuttaa', +popup_dependent : 'Riippuvainen (vain Mozilla/Firefox)', +popup_size : 'Koko', +popup_position : 'Sijainti (X/Y)', +id : 'Id', +style: 'Tyyli', +classes : 'Luokat', +target_name : 'Kohteen nimi', +langdir : 'Kohteen kielen suunta', +target_langcode : 'Kohteen kieli', +langcode : 'Kielikoodi', +encoding : 'Kohteen merkkikoodisto', +mime : 'Kohteen MIME tyyppi', +rel : 'Sivun suhde kohteeseen', +rev : 'Kohteen suhde sivuun', +tabindex : 'Tabindex', +accesskey : 'Pikanäppäin', +ltr : 'Vasemmalta oikealle', +rtl : 'Oikealta vasemmalle' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fr.js new file mode 100755 index 0000000000..0950faf0fd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fr.js @@ -0,0 +1,48 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +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' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fr_ca.js new file mode 100755 index 0000000000..7b57ba3028 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/fr_ca.js @@ -0,0 +1,22 @@ +// CA_FR lang variables + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Ouvrir dans la mme fentre', +insert_link_target_parent : 'Ouvrir dans la fentre parent', +insert_link_target_top : 'Ouvrir dans le cadre suprieur', +insert_link_target_blank : 'Ouvrir dans une nouvelle fentre', +insert_link_target_named : 'Ouvrir la destination', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'URL du popup', +insert_link_popup_name : 'Nom de la fentre', +insert_link_popup_return : 'Insrer le script \'return false\'', +insert_link_popup_scrollbars : 'Barres de dfilement', +insert_link_popup_statusbar : 'Barre de statut', +insert_link_popup_toolbar : 'Barres d\'outils', +insert_link_popup_menubar : 'Barre de menu', +insert_link_popup_location : 'Barre d\'adresse', +insert_link_popup_resizable : 'Fentre redimensionnable', +insert_link_popup_size : 'Dimensions', +insert_link_popup_position : 'Position (X/Y)', +insert_link_popup_missingtarget : 'S.v.p., entrer un nom de destination ou choisir une autre option.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/he.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/he.js new file mode 100755 index 0000000000..bf3f79482d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/he.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : '', +popup_tab : ' ', +events_tab : '', +advanced_tab : '', +general_props : ' ', +popup_props : ' ', +event_props : '', +advanced_props : ' ', +popup_opts : '', +anchor_names : '', +target_same : ' ', +target_parent : ' ', +target_top : ' ( )', +target_blank : ' ', +popup : ' Javascript', +popup_url : ' ', +popup_name : ' ', +popup_return : ' \'return false\'', +popup_scrollbars : ' ', +popup_statusbar : ' ', +popup_toolbar : ' ', +popup_menubar : ' ', +popup_location : ' ', +popup_resizable : ' ', +popup_dependent : ' (Mozilla/Firefox )', +popup_size : '', +popup_position : ' (X/Y)', +id : 'Id', +style: '', +classes : 'Class', +target_name : ' ', +langdir : ' ', +target_langcode : ' ', +langcode : ' ', +encoding : ' ', +mime : ' MIME ', +rel : ' ', +rev : ' ', +tabindex : ' ', +accesskey : ' ', +ltr : ' ', +rtl : ' ' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/hu.js new file mode 100644 index 0000000000..75f6beb5f8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/hu.js @@ -0,0 +1,46 @@ +// HU lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'ltalnos', +popup_tab : 'Popup', +events_tab : 'Esemnyek', +advanced_tab : 'Halad', +general_props : 'ltalnos belltsok', +popup_props : 'Popup belltsok', +event_props : 'Esemnyek', +advanced_props : 'Halad belltsok', +popup_opts : 'Opcik', +anchor_names : 'Horgonyok', +target_same : 'Megnyits ebben az ablakban / keretben', +target_parent : 'Megnyits a szl ablakban / keretben', +target_top : 'Megnyits fels keretben (minden keretet lecserl)', +target_blank : 'Megnyits j ablakban', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Ablak nv', +popup_return : '\'return false\' beszrsa', +popup_scrollbars : 'Grgetsvok megjelentse', +popup_statusbar : 'llapotsor megjelentse', +popup_toolbar : 'Eszkztrak megjelentse', +popup_menubar : 'Mensor megjelentse', +popup_location : 'Cmsv megjelentse', +popup_resizable : 'Ablak tmretezhetv ttele', +popup_dependent : 'Fgg (csak Mozilla/Firefox)', +popup_size : 'Mret', +popup_position : 'Pozci (X/Y)', +id : 'Azonost', +style: 'Stlus', +classes : 'Osztlyok', +target_name : 'Cl neve', +langdir : 'Szveg pozci', +target_langcode : 'Cl szveg', +langcode : 'Szveg kd', +encoding : 'Cl karakter kdols', +mime : 'Cl MIME tpus', +rel : 'Oldal kapcsolata a cllal', +rev : 'Cl kapcsolat az oldallal', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Balrl jobbra', +rtl : 'Jobbrl balra' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/is.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/is.js new file mode 100644 index 0000000000..3350e2b099 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/is.js @@ -0,0 +1,46 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('advlink',{ +general_tab : 'Almennt', +popup_tab : 'Sprettigluggi', +events_tab : 'Atburðir', +advanced_tab : 'Sérstillingar', +general_props : 'Almennar stillingar', +popup_props : 'Stillingar sprettiglugga', +event_props : 'Atburðir', +advanced_props : 'Sérstillingar', +popup_opts : 'Valkostir', +anchor_names : 'Akkeri', +target_same : 'Opna í þessum glugga / ramma', +target_parent : 'Opna í glugga / ramma foreldris', +target_top : 'Opna efsta ramma (kemur stað allra ramma)', +target_blank : 'Opna í nýjum glugga', +popup : 'Javascript sprettigluggi', +popup_url : 'Slóð sprettiglugga', +popup_name : 'Nafn glugga', +popup_return : 'Setja \'return false\'', +popup_scrollbars : 'Sýna skrunslár', +popup_statusbar : 'Sýna stöðustiku', +popup_toolbar : 'Sýna tólastiku', +popup_menubar : 'Sýna valstiku', +popup_location : 'Sýna slóðarstiku', +popup_resizable : 'Leyfa glugga að breyta stærð', +popup_dependent : 'Háður (eingöngu Mozilla/Firefox)', +popup_size : 'Stærð', +popup_position : 'Staðsetning (X/Y)', +id : 'Id', +style: 'Stíll', +classes : 'Klassi', +target_name : 'Nafn tengils', +langdir : 'Ritháttur tungumáls', +target_langcode : 'Tungumá tengils', +langcode : 'Tungumálskenni', +encoding : 'Textakóðun tengils', +mime : 'MIME-tegund tengils', +rel : 'Tengsl síðu til tengils', +rev : 'Tengsl tengils til síðu', +tabindex : 'Röðun', +accesskey : 'Flýtilykill', +ltr : 'Vinstri til hægri', +rtl : 'Hægri til vinstri' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/it.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/it.js new file mode 100755 index 0000000000..b99c62cfa3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/it.js @@ -0,0 +1,46 @@ +// IT lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generale', +popup_tab : 'Popup', +events_tab : 'Eventi', +advanced_tab : 'Avanzate', +general_props : 'Proprietà generali', +popup_props : 'Proprietà del popup', +event_props : 'Eventi', +advanced_props : 'Proprietà avanzate', +popup_opts : 'Opzioni', +anchor_names : 'Ancore', +target_same : 'Apri nella stessa finestra o frame', +target_parent : 'Apri nella finestra o nel frame superiori', +target_top : 'Apri nel frame principale (occupa tutta la finestra)', +target_blank : 'Apri in una nuova finestra', +popup : 'Popup Javascript', +popup_url : 'URL del popup', +popup_name : 'Nome della finestra', +popup_return : 'Inserisci \'return false\'', +popup_scrollbars : 'Mostra le barre di scorrimento', +popup_statusbar : 'Mostra la barra di stato', +popup_toolbar : 'Mostra la barra degli strumenti', +popup_menubar : 'Mostra la barra dei menu', +popup_location : 'Mostra la barra degli indirizzi', +popup_resizable : 'Permetti di ridimensionare la finestra', +popup_dependent : 'Dipendente (solo Mozilla/Firefox)', +popup_size : 'Dimensioni', +popup_position : 'Posizione (X/Y)', +id : 'Id', +style: 'Stile', +classes : 'Classi', +target_name : 'Nome della destinazione', +langdir : 'Direzione del testo', +target_langcode : 'Codifica lingua destinazione', +langcode : 'Codifica lingua', +encoding : 'Codifica caratteri destinazione', +mime : 'Tipo MIME destinazione', +rel : 'Relazione pagina-destinazione', +rev : 'Relazione destinazione-pagina', +tabindex : 'Indice TAB', +accesskey : 'Tasto di accesso', +ltr : 'Da sinistra a destra', +rtl : 'Da destra a sinistra' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja-euc-jp.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja-euc-jp.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_euc-jp.js new file mode 100755 index 0000000000..7920db1c03 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_euc-jp.js @@ -0,0 +1,46 @@ +// ܸ euc lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : '', +popup_tab : 'ݥåץå', +events_tab : '٥', +advanced_tab : 'ܺ', +general_props : '̤Υץѥƥ', +popup_props : 'ݥåץåפΥץѥƥ', +event_props : '٥', +advanced_props : 'ܺ٤Υץѥƥ', +popup_opts : '', +anchor_names : '󥫡', +target_same : 'Υɥdz', +target_parent : 'ƥɥdz', +target_top : 'Υե졼dz', +target_blank : 'ɥdz', +popup : 'Javascript ݥåץå', +popup_url : 'ݥåץå URL', +popup_name : 'ɥ̾', +popup_return : ' \'return false\'', +popup_scrollbars : 'Сɽ', +popup_statusbar : 'ơСɽ', +popup_toolbar : 'ġСɽ', +popup_menubar : '˥塼Сɽ', +popup_location : 'ɥ쥹Сɽ', +popup_resizable : 'ɥĴĤˤ', +popup_dependent : ' (Mozilla/Firefox Τ)', +popup_size : '', +popup_position : ' (X/Y)', +id : 'Id', +style: '', +classes : '饹', +target_name : 'å̾', +langdir : 'դθ', +target_langcode : 'åȤθ', +langcode : 'դΥ', +encoding : 'åȤʸ󥳡', +mime : 'å MIME ', +rel : 'ڡåȴط', +rev : 'åȢڡط', +tabindex : 'åֻؿ', +accesskey : '', +ltr : '鱦', +rtl : '麸' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_shift-jis.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_shift-jis.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_shift_jis.js new file mode 100755 index 0000000000..8378a0f6c5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_shift_jis.js @@ -0,0 +1,46 @@ +// { shift_jis lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : '', +popup_tab : '|bvAbv', +events_tab : 'Cxg', +advanced_tab : 'ڍ', +general_props : 'ʂ̃vpeB', +popup_props : '|bvAbṽvpeB', +event_props : 'Cxg', +advanced_props : 'ڍׂ̃vpeB', +popup_opts : 'I', +anchor_names : 'AJ[', +target_same : '̃EChEŊJ', +target_parent : 'eEChEŊJ', +target_top : '̃t[ŊJ', +target_blank : 'VEChEŊJ', +popup : 'Javascript |bvAbv', +popup_url : '|bvAbv URL', +popup_name : 'EChE', +popup_return : '} \'return false\'', +popup_scrollbars : 'XN[o[\', +popup_statusbar : 'Xe[^Xo[\', +popup_toolbar : 'c[o[\', +popup_menubar : 'j[o[\', +popup_location : 'AhXo[\', +popup_resizable : 'EChE𒲐‚ɂ', +popup_dependent : ' (Mozilla/Firefox ̂)', +popup_size : 'TCY', +popup_position : 'ʒu (X/Y)', +id : 'Id', +style: 'X^C', +classes : 'NX', +target_name : '^[Qbg', +langdir : 'ť', +target_langcode : '^[Qbǧt', +langcode : 't̃R[h', +encoding : '^[Qbg̕GR[h', +mime : '^[Qbg MIME ^Cv', +rel : 'y[W^[Qbg֌W', +rev : '^[Qbgy[W֌W', +tabindex : '^buw', +accesskey : 'ANZXL[', +ltr : 'E', +rtl : 'E獶' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_utf-8.js new file mode 100755 index 0000000000..5bcdfd8e1b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ja_utf-8.js @@ -0,0 +1,46 @@ +// 日本語 utf-8 lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : '一般', +popup_tab : 'ポップアップ', +events_tab : 'イベント', +advanced_tab : '詳細', +general_props : '一般のプロパティ', +popup_props : 'ポップアップのプロパティ', +event_props : 'イベント', +advanced_props : '詳細のプロパティ', +popup_opts : '選択', +anchor_names : 'アンカー', +target_same : 'このウインドウで開く', +target_parent : '親ウインドウで開く', +target_top : '上のフレームで開く', +target_blank : '新ウインドウで開く', +popup : 'Javascript ポップアップ', +popup_url : 'ポップアップ URL', +popup_name : 'ウインドウ名', +popup_return : '挿入 \'return false\'', +popup_scrollbars : 'スクロールバーを表示', +popup_statusbar : 'ステータスバーを表示', +popup_toolbar : 'ツールバーを表示', +popup_menubar : 'メニューバーを表示', +popup_location : 'アドレスバーを表示', +popup_resizable : 'ウインドウを調整可にする', +popup_dependent : '頼り (Mozilla/Firefox のみ)', +popup_size : 'サイズ', +popup_position : '位置 (X/Y)', +id : 'Id', +style: 'スタイル', +classes : 'クラス', +target_name : 'ターゲット名', +langdir : '言葉の向き', +target_langcode : 'ターゲットの言葉', +langcode : '言葉のコード', +encoding : 'ターゲットの文字エンコード', +mime : 'ターゲット MIME タイプ', +rel : 'ページ→ターゲット関係', +rev : 'ターゲット→ページ関係', +tabindex : 'タッブ指数', +accesskey : 'アクセスキー', +ltr : '左から右へ', +rtl : '右から左へ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ko.js new file mode 100644 index 0000000000..bcd48c04e0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ko.js @@ -0,0 +1,21 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insert_link_target_same : ' â Å/ ', +insert_link_target_parent : 'θ â Å/ ', +insert_link_target_top : 'TOP ӿ ( ü)', +insert_link_target_blank : ' â ', +insert_link_target_named : ' â ', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : '˾ URL', +insert_link_popup_name : 'â ̸', +insert_link_popup_return : '\'return false\' Ö', +insert_link_popup_scrollbars : 'Åѹٸ ', +insert_link_popup_statusbar : 'Åâ ', +insert_link_popup_toolbar : 'Åٸ ', +insert_link_popup_menubar : '޴ٸ ', +insert_link_popup_location : 'Ä ǥ ', +insert_link_popup_resizable : 'Å ', +insert_link_popup_size : 'Å', +insert_link_popup_position : 'Ä (X/Y)' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/nb.js new file mode 100644 index 0000000000..181c54571f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/nb.js @@ -0,0 +1,47 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generelle innstillinger', +popup_tab : 'Popup', +events_tab : 'Hendelser', +advanced_tab : 'Avanserte innstillinger', +general_props : 'Generelle innstillinger', +popup_props : 'Popup innstillinger', +event_props : 'Hendelser', +advanced_props : 'Generelle innstillinger', +popup_opts : 'Innstillinger', +anchor_names : 'Bokmerke', +target_same : 'Åpne i samme vindu / ramme', +target_parent : 'Åpne i underliggende vindu / ramme', +target_top : 'Åpne i topprammen (erstatter alle rammer)', +target_blank : 'Åpne i et nytt vindu', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Vindu navn', +popup_return : 'Sett inn \'return false\'', +popup_scrollbars : 'Vis scrollbars', +popup_statusbar : 'Vis status bar', +popup_toolbar : 'Vis toolbars', +popup_menubar : 'Vis meny bar', +popup_location : 'Vis location bar', +popup_resizable : 'Gjør vinduet skalerbart', +popup_dependent : 'Avhengig vindu (Bare i Mozilla/Firefox)', +popup_size : 'Størrelse', +popup_position : 'Posisjon (X/Y)', +id : 'Id', +style: 'Stil', +classes : 'CSS klasser', +target_name : 'Mål navn', +langdir : 'Skrift retning', +target_langcode : 'Mål språk', +langcode : 'Språk kode', +encoding : 'Tegn konvertering', +mime : 'Målets MIME type', +rel : 'Relasjon side til mål', +rev : 'Relasjon mål til side', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Venstre mot høyre', +rtl : 'Høyre mot venstre' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/nl.js new file mode 100644 index 0000000000..d4819ed186 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/nl.js @@ -0,0 +1,46 @@ +// NL lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Algemeen', +popup_tab : 'Popup', +events_tab : 'Gebeurtenissen', +advanced_tab : 'Geavanceerd', +general_props : 'Algemene eigenschappen', +popup_props : 'Popup eigenschappen', +event_props : 'Gebeurtenissen', +advanced_props : 'Geavanceerde eigenschappen', +popup_opts : 'Opties', +anchor_names : 'Bladwijzers', +target_same : 'Openen in dit venster/frame', +target_parent : 'Openen in hgerliggend frame', +target_top : 'Openen in bovenste frame (vervangt alle frames)', +target_blank : 'Openen in nieuw venster', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Vensternaam', +popup_return : 'Voeg \'return false\' toe', +popup_scrollbars : 'Toon scrollbalken', +popup_statusbar : 'Toon statusbalk', +popup_toolbar : 'Toon werkbalk', +popup_menubar : 'Toon menubalk', +popup_location : 'Toon adresbalk', +popup_resizable : 'Maak venster schaalbaar', +popup_dependent : 'Afhankelijk (Mozilla/Firefox only)', +popup_size : 'Afmetingen', +popup_position : 'Positie (x/y)', +id : 'Id', +style: 'Stijl', +classes : 'Stijlen', +target_name : 'Naam doelframe', +langdir : 'Taalrichting', +target_langcode : 'Taal van doel', +langcode : 'Taalcode', +encoding : 'Doel character encoding', +mime : 'Doel MIME type', +rel : 'Relatie van pagina tot doel', +rev : 'Relatie van doel tot pagina', +tabindex : 'Tabindex', +accesskey : 'Toegangstoets', +ltr : 'Links naar rechts', +rtl : 'Rechts naar links' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/nn.js new file mode 100644 index 0000000000..399f1d194a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/nn.js @@ -0,0 +1,46 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generelle innstillinger', +popup_tab : 'Popup', +events_tab : 'Hendelser', +advanced_tab : 'Avanserte innstillinger', +general_props : 'Generelle innstillinger', +popup_props : 'Popup innstillinger', +event_props : 'Hendelser', +advanced_props : 'Generelle innstillinger', +popup_opts : 'Innstillinger', +anchor_names : 'Bokmerke', +target_same : 'Åpne i samme vindauge / ramme', +target_parent : 'Åpne i underliggende vindauge / ramme', +target_top : 'Åpne i topprammen (erstatter alle rammer)', +target_blank : 'Åpne i eit nytt vindauge', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Vindauge navn', +popup_return : 'Sett inn \'return false\'', +popup_scrollbars : 'Vis scrollbars', +popup_statusbar : 'Vis status bar', +popup_toolbar : 'Vis toolbars', +popup_menubar : 'Vis meny bar', +popup_location : 'Vis location bar', +popup_resizable : 'Gjer vindauget skalerbart', +popup_dependent : 'Avhengig vindauge (Bare i Mozilla/Firefox)', +popup_size : 'Størrelse', +popup_position : 'Posisjon (X/Y)', +id : 'Id', +style: 'Stil', +classes : 'CSS klasser', +target_name : 'Mål navn', +langdir : 'Skrift retning', +target_langcode : 'Mål språk', +langcode : 'Språk kode', +encoding : 'Tekken konvertering', +mime : 'Målets MIME type', +rel : 'Relasjon side til mål', +rev : 'Relasjon mål til side', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Venstre mot høgre', +rtl : 'Høgre mot venstre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/pl.js new file mode 100644 index 0000000000..46c930c83c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/pl.js @@ -0,0 +1,49 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('advlink',{ +general_tab : 'Gwne ustawienia', +popup_tab : 'Okienko popup', +events_tab : 'Zdarzenia', +advanced_tab : 'Zaawansowane', +general_props : 'Gwne', +popup_props : 'Ustawienia popup', +event_props : 'Zdarzenia', +advanced_props : 'Zaawansowane opcje', +popup_opts : 'Opcje', +anchor_names : 'Kotwice', +target_same : 'Otwrz w tym oknie / ramce', +target_parent : 'Otwrz w poprzednim oknie / ramce', +target_top : 'Otwrz w gwnej ramce (zamienia wszystkie ramki)', +target_blank : 'Otwrz w nowym oknie', +popup : 'Okienko popup Javascript', +popup_url : 'URL dla popup', +popup_name : 'Nazwa okna', +popup_return : 'Wstaw \'return false\'', +popup_scrollbars : 'Poka paski przewijania', +popup_statusbar : 'Poka pasek statusu', +popup_toolbar : 'Poka pasek narzdzi', +popup_menubar : 'Poka pasek menu', +popup_location : 'Poka pasek adresu', +popup_resizable : 'Pozwalaj na zmian wielkoci okna', +popup_dependent : 'Zalene (tylko Mozilla/Firefox)', +popup_size : 'Rozmiar', +popup_position : 'Pozycja (X/Y)', +id : 'Id', +style: 'Styl', +classes : 'Klasa', +target_name : 'Nazwa celu', +langdir : 'Kierunek tekstu', +target_langcode : 'Jzyk celu', +langcode : 'Kod jzyka', +encoding : 'Kodowanie znakw celu', +mime : 'Typ MIME celu', +rel : 'Zaleno strony do celu', +rev : 'Zaleno celu do strony', +tabindex : 'Indeks tabeli', +accesskey : 'Klawisz dostpu', +ltr : 'Lewy do prawego', +rtl : 'Prawy do lewego' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/pt.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/pt.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/pt_br.js new file mode 100644 index 0000000000..159db18430 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/pt_br.js @@ -0,0 +1,54 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('advlink',{ +general_tab : 'Geral', +popup_tab : 'Popup', +events_tab : 'Eventos', +advanced_tab : 'Avanado', +general_props : 'Propriedades Gerais', +popup_props : 'Propriedades do Popup', +event_props : 'Eventos', +advanced_props : 'Propriedades Avanadas', +popup_opts : 'Opes', +anchor_names : 'ncoras', +target_same : 'Abrir nesta janela / frame', +target_parent : 'Abrir na janela / frame', +target_top : 'Abrir na janela superior (repondo todas as frames)', +target_blank : 'Abrir em uma nova janela', +popup : 'Javascript popup', +popup_url : 'Popup de uma URL', +popup_name : 'Nome da Janela', +popup_return : 'Inserir \'returna falso\'', +popup_scrollbars : 'Mostrar barra de rolagem', +popup_statusbar : 'Mostrar barra de status', +popup_toolbar : 'Mostrar barra de ferramentas', +popup_menubar : 'Mostrar barra do menu', +popup_location : 'Mostrar barra de endereo', +popup_resizable : 'Permite redimensionamento da janela', +popup_dependent : 'Dependente (Somente para Mozilla/Firefox)', +popup_size : 'Tamanho', +popup_position : 'Posio (X/Y)', +id : 'Id', +style: 'Estilo', +classes : 'Classes', +target_name : 'Nome do Destino', +langdir : 'Direo do texto', +target_langcode : 'Idioma do destino', +langcode : 'Cdigo do idioma', +encoding : 'Tipo de codifio de carctere de destino', +mime : 'Tipo de MIME do destino', +rel : 'Relacionamento da pgina com o destino', +rev : 'Relacionamento do destino com a pgina', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Esquerda para direita', +rtl : 'Direita para esquerda' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ro.js new file mode 100755 index 0000000000..d91c2f08a3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ro.js @@ -0,0 +1,46 @@ +// RO lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Evenimente', +advanced_tab : 'Avanasat', +general_props : 'Proprietăţi generale', +popup_props : 'Proprienăţi popup', +event_props : 'Evenimente', +advanced_props : 'Proprietăţi avansate', +popup_opts : 'Opţiuni', +anchor_names : 'Ancore', +target_same : 'Deschide în aceeaşi fereastră / frame', +target_parent : 'Deschide în fereastra / frame-ul părinte', +target_top : 'Deschide în frame-ul de deasupra (înlocuieşte toate frame-urile)', +target_blank : 'Deschide în fereastră nouă', +popup : 'Popup javascript', +popup_url : 'URL popup', +popup_name : 'Nume fereastră', +popup_return : 'Inserează \'return false\'', +popup_scrollbars : 'Arată barele de derulare', +popup_statusbar : 'Arată bara de stare', +popup_toolbar : 'Arată bare unelte', +popup_menubar : 'Arata bara de meniuri', +popup_location : 'Arată bara de adrese', +popup_resizable : 'Fă fereastra redimensionabilă', +popup_dependent : 'Dependent (doar Mozilla/Firefox)', +popup_size : 'Dimensiune', +popup_position : 'Poziţie (X/Y)', +id : 'Id', +style: 'Stil', +classes : 'Clase', +target_name : 'Nume ţintă', +langdir : 'Direcţie limbă', +target_langcode : 'Limba ţintă', +langcode : 'Cod limbă', +encoding : 'Codare caractere ţintă', +mime : 'Tipul MIME ţintă', +rel : 'Relaţia pagină către ţintă', +rev : 'Relaţia ţintă către pagină', +tabindex : 'Index etichetă', +accesskey : 'Cheie de acces', +ltr : 'Stânga la dreapta', +rtl : 'Dreapta la stînga' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru.js new file mode 100644 index 0000000000..8e782dc2c1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru.js @@ -0,0 +1,47 @@ +// RU cp1251 lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : '', +popup_tab : '', +events_tab : '', +advanced_tab : '', +general_props : ' ', +popup_props : ' Popup ', +event_props : '', +advanced_props : ' ', +popup_opts : '', +anchor_names : '', +target_same : ' / ', +target_parent : ' / ', +target_top : ' ( )', +target_blank : ' ', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : ' ', +popup_return : 'Insert \'return false\'', +popup_scrollbars : ' ', +popup_statusbar : ' status bar', +popup_toolbar : ' ', +popup_menubar : ' ', +popup_location : ' location bar', +popup_resizable : ' ', +popup_dependent : ' ( Mozilla/Firefox)', +popup_size : '', +popup_position : ' (X/Y)', +id : 'Id', +style: '', +classes : '', +target_name : ' ', +langdir : ' ', +target_langcode : ' ', +langcode : ' ', +encoding : ' ', +mime : ' MIME ', +rel : ' page -> target', +rev : ' target -> page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : ' ', +rtl : ' ', +delta_width : 40 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..a88821be4e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru_KOI8-R.js @@ -0,0 +1,46 @@ +// RU KOI8-R lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : '', +popup_tab : '', +events_tab : '', +advanced_tab : '', +general_props : ' ', +popup_props : ' Popup ', +event_props : '', +advanced_props : ' ', +popup_opts : '', +anchor_names : '', +target_same : ' / ', +target_parent : ' / ', +target_top : ' ( )', +target_blank : ' ', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : ' ', +popup_return : 'Insert \'return false\'', +popup_scrollbars : ' ', +popup_statusbar : ' status bar', +popup_toolbar : ' ', +popup_menubar : ' ', +popup_location : ' location bar', +popup_resizable : ' ', +popup_dependent : ' ( Mozilla/Firefox)', +popup_size : '', +popup_position : ' (X/Y)', +id : 'Id', +style: '', +classes : '', +target_name : ' ', +langdir : ' ', +target_langcode : ' ', +langcode : ' ', +encoding : ' ', +mime : ' MIME ', +rel : ' page -> target', +rev : ' target -> page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : ' ', +rtl : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru_UTF-8.js new file mode 100644 index 0000000000..146485dc00 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/ru_UTF-8.js @@ -0,0 +1,46 @@ +// RU UTF-8 lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Основные', +popup_tab : 'Всплывающие', +events_tab : 'События', +advanced_tab : 'Расширенные', +general_props : 'Основные свойства', +popup_props : 'Свойства Popup элементов', +event_props : 'События', +advanced_props : 'Расширенные настройки', +popup_opts : 'Опции', +anchor_names : 'Якоря', +target_same : 'Открывать в этом окне / фрейме', +target_parent : 'Открывать в родительском окне / фрейме', +target_top : 'Открывать в верхнем фрейме (заменять все фреймы)', +target_blank : 'Открывать в новом окне', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Имя окна', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Показывать линейки прокрутки', +popup_statusbar : 'Показывать status bar', +popup_toolbar : 'Показывать панели инструментов', +popup_menubar : 'Показывать панель меню', +popup_location : 'Показывать location bar', +popup_resizable : 'Позволить изменять размеры окна', +popup_dependent : 'Зависимость (только Mozilla/Firefox)', +popup_size : 'Размер', +popup_position : 'Расположение (X/Y)', +id : 'Id', +style: 'Стиль', +classes : 'Классы', +target_name : 'Имя цели', +langdir : 'Направление письма в языке', +target_langcode : 'Целевой язык', +langcode : 'Код языка', +encoding : 'Целевая кодировка', +mime : 'Целевой MIME тип', +rel : 'Зависимость page -> target', +rev : 'Зависимость target -> page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Слева направо', +rtl : 'Справа налево' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/si.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/si.js new file mode 100644 index 0000000000..f5bbf6fbc4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/si.js @@ -0,0 +1,46 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('advlink',{ +general_tab : 'Splošno', +popup_tab : 'Popup okno', +events_tab : 'Dogodki', +advanced_tab : 'Napredno', +general_props : 'Splošne lastnosti', +popup_props : 'Lastnosti popup okna', +event_props : 'Lastnosti dogodkov', +advanced_props : 'Napredne lastnosti', +popup_opts : 'Možnosti', +anchor_names : 'Sidra', +target_same : 'Odpri v tem oknu / okvirju', +target_parent : 'Odpri v starševem oknu / okvirju', +target_top : 'Odpri v najvišjem okvirju(nadomesti vse okvirje)', +target_blank : 'Odpri v novem oknu', +popup : 'Javascript popup okno', +popup_url : 'URL naslov popup okna', +popup_name : 'Ime okna', +popup_return : 'Vstavi \'return false\'', +popup_scrollbars : 'Pokaži drsnike', +popup_statusbar : 'Pokaži statusno vrstico', +popup_toolbar : 'Pokaži orodno vrstico', +popup_menubar : 'Pokaži menu', +popup_location : 'Pokaži naslovno vrstico', +popup_resizable : 'Naj se da oknu spreminjati velikost', +popup_dependent : 'Odvisno okno (le v Mozilla/Firefox)', +popup_size : 'Velikost', +popup_position : 'Pozicija (X/Y)', +id : 'Id', +style: 'Stili', +classes : 'Razredi', +target_name : 'Ime tarče', +langdir : 'Smer jezika', +target_langcode : 'Jezik tarče', +langcode : 'Koda jezika', +encoding : 'Kodna tabela tarče', +mime : 'MIME type tarče', +rel : 'Razmerje strani do tarče', +rev : 'Razmerje tarče do strani', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Od leve proti desni', +rtl : 'Od desne proti levi' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/sk.js new file mode 100755 index 0000000000..a8761654e1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/sk.js @@ -0,0 +1,72 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Marián Zvalo marian.zvalo@student.umb.sk + * + * $Id: sk.js,v 1.1 2006/02/28 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +insert_link_target_same : 'Otvoríť v rovnakom okne/ráme', +insert_link_target_parent : 'Otvoríť v rodičovském okne/ráme', +insert_link_target_top : 'Otvoriť v najvyššom ráme (prepíše všetky rámy)', +insert_link_target_blank : 'Otvoríť v novom okne', +insert_link_target_named : 'Otvoríť v okne', +insert_link_popup : 'JS-Popup', +insert_link_popup_url : 'Popup URL', +insert_link_popup_name : 'Názov okna', +insert_link_popup_return : 'Vložiť \'return false\'', +insert_link_popup_scrollbars : 'Ukázať posúvníky', +insert_link_popup_statusbar : 'Ukázať stavový riadok', +insert_link_popup_toolbar : 'Ukázať ovládaciu lištu', +insert_link_popup_menubar : 'Ukázať menu', +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.', +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' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/sq.js new file mode 100755 index 0000000000..2d972ad802 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/sq.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Te pergjithshme', +popup_tab : 'Popup', +events_tab : 'Eventet', +advanced_tab : 'E Avancuar', +general_props : 'Te dhena te pergjithshme', +popup_props : 'Te dhenat e Popup', +event_props : 'Te dhenat e Eventeve', +advanced_props : 'Te dhena te Avancuara', +popup_opts : 'Mundesi', +anchor_names : 'Spiranca', +target_same : 'Hape ne kete dritare / kornize', +target_parent : ' dritaren / kornizen prind', +target_top : 'Hape ne kornizen e pare(i zevendeson te gjitha kornizat)', +target_blank : 'Hape ne dritare te re', +popup : 'Popup me Javascript ', +popup_url : 'URL e Popup', +popup_name : 'Emrio i Dritares', +popup_return : 'Nderfut kodin \'return false\'', +popup_scrollbars : 'Trego shiritat e kontrollit', +popup_statusbar : 'Trego shiritin e gjendjes', +popup_toolbar : 'Trego shiritat e veglave', +popup_menubar : 'Trego shiritin e Menu-se', +popup_location : 'Trego shiritin e vendodhjes', +popup_resizable : 'Beje dritaren te ndryshueshme', +popup_dependent : 'E varur (vetem Mozilla/Firefox)', +popup_size : 'Madhesi', +popup_position : 'Pozicioni (X/Y)', +id : 'Id', +style: 'Stili', +classes : 'Klasat', +target_name : 'Emri i objektivit', +langdir : 'Drejtimi i Gjuhes', +target_langcode : 'Gjuha e objektivit', +langcode : 'Kodi i gjuhes', +encoding : 'Kodimi i karaktereve te objektivit', +mime : 'Tipi MIME i objektivit', +rel : 'Relacioni i faqes me objektivin', +rev : 'Relacioni i objektivit me faqen', +tabindex : 'Numeri i Tab', +accesskey : 'elsei', +ltr : 'Nga e majta ne te djathte', +rtl : 'Nga e djathta ne te majte' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/sv.js new file mode 100644 index 0000000000..1efe42a978 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/sv.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Generella inställningar', +popup_tab : 'Popup', +events_tab : 'Händelser', +advanced_tab : 'Avancerade inställningar', +general_props : 'Generella inställningar', +popup_props : 'Popup inställningar', +event_props : 'Händelser', +advanced_props : 'Generella inställningar', +popup_opts : 'Inställningar', +anchor_names : 'Bokmärken', +target_same : 'Öppna i samma fönster / ram', +target_parent : 'Öppna i underliggande fönster / ram', +target_top : 'Öppna i toppramen (ersätter alla ramar)', +target_blank : 'Öppna i ett nytt fönster', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Fönster namn', +popup_return : 'Sättin \'return false\'', +popup_scrollbars : 'Visa scrollbars', +popup_statusbar : 'Visa status bar', +popup_toolbar : 'Visa toolbars', +popup_menubar : 'Visa menu bar', +popup_location : 'Visa location bar', +popup_resizable : 'Gör fönstret skalbart', +popup_dependent : 'Beroende fönster (Ändast i Mozilla/Firefox)', +popup_size : 'Storek', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Stil', +classes : 'CSS Classer', +target_name : 'Mål namn', +langdir : 'Skrift riktning', +target_langcode : 'Mål språk', +langcode : 'Språk kåd', +encoding : 'Tecken konvertering', +mime : 'Målets MIME typ', +rel : 'Relation sida till mål', +rev : 'Relation mål till sida', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Vänster till höger', +rtl : 'Höger till vänster' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/th.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/th.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/th.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/tr.js new file mode 100644 index 0000000000..4b94cf5c00 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/tr.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'Genel', +popup_tab : 'Popup', +events_tab : 'Olaylar', +advanced_tab : 'Gelimi', +general_props : 'Genel zellikler', +popup_props : 'Popup zellikleri', +event_props : 'Olaylar', +advanced_props : 'Gelimi zellikler', +popup_opts : 'Seenekler', +anchor_names : 'Balantlar', +target_same : 'Bu pencerede/erevede a', +target_parent : 'Ana pencerede/erevede a', +target_top : 'st ercevede a(btn ereveleri deitirir)', +target_blank : 'Yeni pencerede a', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Pencere ismi', +popup_return : '\'return false\' ekle', +popup_scrollbars : 'Kaydrma ubuunu gster', +popup_statusbar : 'Durum ubuunu gster', +popup_toolbar : 'Ara ubuklarn gster', +popup_menubar : 'Men ubuunu gster', +popup_location : 'Adres satrn gster', +popup_resizable : 'Pencereyi yeniden boyutlandrlabilir yap', +popup_dependent : 'Ana pencereye baml (sadece Mozilla/Firefox)', +popup_size : 'Byklk', +popup_position : 'Posizyon (X/Y)', +id : 'Id', +style: 'Stil', +classes : 'Snflar', +target_name : 'Hedef isim', +langdir : 'Dil yn', +target_langcode : 'Hedef dil', +langcode : 'Dil kodu', +encoding : 'Hedef karakter kodlamas', +mime : 'Hedef MIME tipi', +rel : 'Sayfa - hedef ilikisi', +rev : 'Hedef - sayfa ilikisi', +tabindex : 'Tabindeks', +accesskey : 'Eriim anahtar', +ltr : 'Soldan saa', +rtl : 'Sadan sola' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/tw.js new file mode 100644 index 0000000000..0e68e5ab37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/tw.js @@ -0,0 +1,46 @@ +// UK lang variables + +tinyMCE.addToLang('advlink',{ +general_tab : 'General', +popup_tab : 'Popup', +events_tab : 'Events', +advanced_tab : 'Advanced', +general_props : 'General properties', +popup_props : 'Popup properties', +event_props : 'Events', +advanced_props : 'Advanced properties', +popup_opts : 'Options', +anchor_names : 'Anchors', +target_same : 'Open in this window / frame', +target_parent : 'Open in parent window / frame', +target_top : 'Open in top frame (replaces all frames)', +target_blank : 'Open in new window', +popup : 'Javascript popup', +popup_url : 'Popup URL', +popup_name : 'Window name', +popup_return : 'Insert \'return false\'', +popup_scrollbars : 'Show scrollbars', +popup_statusbar : 'Show status bar', +popup_toolbar : 'Show toolbars', +popup_menubar : 'Show menu bar', +popup_location : 'Show location bar', +popup_resizable : 'Make window resizable', +popup_dependent : 'Dependent (Mozilla/Firefox only)', +popup_size : 'Size', +popup_position : 'Position (X/Y)', +id : 'Id', +style: 'Style', +classes : 'Classes', +target_name : 'Target name', +langdir : 'Language direction', +target_langcode : 'Target language', +langcode : 'Language code', +encoding : 'Target character encoding', +mime : 'Target MIME type', +rel : 'Relationship page to target', +rev : 'Relationship target to page', +tabindex : 'Tabindex', +accesskey : 'Accesskey', +ltr : 'Left to right', +rtl : 'Right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/vi.js new file mode 100755 index 0000000000..7402ef57aa --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/vi.js @@ -0,0 +1,46 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('advlink',{ +general_tab : 'Chung', +popup_tab : 'Cửa sổ bật ra', +events_tab : 'Sự kiện', +advanced_tab : 'Nâng cao', +general_props : 'Thuộc tính chung', +popup_props : 'Thuộc tính bật ra', +event_props : 'Sự kiện', +advanced_props : 'Thuộc tính nâng cao', +popup_opts : 'Tùy chọn', +anchor_names : 'Neo', +target_same : 'Mở trong cửa sổ / khung này', +target_parent : 'Mở trong cửa sổ / khung cha', +target_top : 'Mở trong khung cao nhất (thay thế mọi khung)', +target_blank : 'Mở trong cửa sổ mới', +popup : 'Cửa sổ bật ra Javascript', +popup_url : 'Địa chỉ bật ra', +popup_name : 'Tên cửa sổ', +popup_return : 'Thêm \'return false\'', +popup_scrollbars : 'Hiện thanh cuộn', +popup_statusbar : 'Hiện thanh trạng thái', +popup_toolbar : 'Hiện thanh công cụ', +popup_menubar : 'Hiện thanh menu', +popup_location : 'Hiện thanh địa chỉ', +popup_resizable : 'Cửa sổ có thể thay đổi kích thước', +popup_dependent : 'Độc lập (chỉ trên Mozilla/Firefox)', +popup_size : 'Kích thước', +popup_position : 'Vị trí (tọa độ X/Y)', +id : 'Id', +style: 'Phong cách', +classes : 'Lớp', +target_name : 'Tên mục tiêu', +langdir : 'Hướng ngôn ngữ', +target_langcode : 'Ngôn ngữ mục tiêu', +langcode : 'Mã ngôn ngữ', +encoding : 'Mã hóa kí tự mục tiêu', +mime : 'Kiểu MIME mục tiêu', +rel : 'Quan hệ trang đến mục tiêu', +rev : 'Quan hệ mục tiêu đến trang', +tabindex : 'Chỉ số Tab', +accesskey : 'Phím truy cập', +ltr : 'Trái sang phải', +rtl : 'Phải sang trái' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_cn.js new file mode 100755 index 0000000000..7c146946cd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_cn.js @@ -0,0 +1,47 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('advlink',{ +general_tab : 'һ', +popup_tab : '', +events_tab : '¼', +advanced_tab : '߼', +general_props : 'һ', +popup_props : '', +event_props : '¼', +advanced_props : '߼', +popup_opts : 'ѡ', +anchor_names : 'ê', +target_same : 'ڵǰ/д', +target_parent : 'ڸ/д', +target_top : 'ڶ˴/д', +target_blank : '´д', +popup : 'Javascript ', +popup_url : 'ַ', +popup_name : '', +popup_return : ' \'return false\'', +popup_scrollbars : 'ʾ', +popup_statusbar : 'ʾ״̬', +popup_toolbar : 'ʾ', +popup_menubar : 'ʾ˵', +popup_location : 'ʾַ', +popup_resizable : 'ڴСɱ', +popup_dependent : 'Dependent ( Mozilla/Firefox)', +popup_size : 'С', +popup_position : 'λ (X/Y)', +id : 'ʶ', +style: 'ʽ', +classes : '', +target_name : 'Ŀ', +langdir : 'д', +target_langcode : 'Ŀ', +langcode : 'Ա', +encoding : 'Ŀֱ', +mime : 'Ŀ MIME ', +rel : 'ҳĿĹϵ', +rev : 'ĿҳĹϵ', +tabindex : 'Tabindex', +accesskey : 'ݼ', +ltr : '', +rtl : 'ҵ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..b8a0e5882c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_cn_utf8.js @@ -0,0 +1,47 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('advlink',{ +general_tab : '一般', +popup_tab : '弹出', +events_tab : '事件', +advanced_tab : '高级', +general_props : '一般属性', +popup_props : '弹出属性', +event_props : '事件属性', +advanced_props : '高技属性', +popup_opts : '选项', +anchor_names : '锚点', +target_same : '在当前窗口/框架中打开', +target_parent : '在父窗口/框架中打开', +target_top : '在顶端窗口/框架中打开', +target_blank : '在新窗口中打开', +popup : 'Javascript 弹出', +popup_url : '弹出地址', +popup_name : '弹出窗口名', +popup_return : '插入 \'return false\'', +popup_scrollbars : '显示滚动条', +popup_statusbar : '显示状态条', +popup_toolbar : '显示工具条', +popup_menubar : '显示菜单条', +popup_location : '显示地址条', +popup_resizable : '窗口大小可变', +popup_dependent : 'Dependent (仅限于 Mozilla/Firefox)', +popup_size : '大小', +popup_position : '位置 (X/Y)', +id : '标识', +style: '样式', +classes : '类', +target_name : '目标名称', +langdir : '书写方向', +target_langcode : '目标语言', +langcode : '语言编码', +encoding : '目标文字编码', +mime : '目标 MIME 种类', +rel : '页与目标的关系', +rev : '目标与页的关系', +tabindex : 'Tabindex', +accesskey : '快捷键', +ltr : '从左到右', +rtl : '从右到左' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_tw.js new file mode 100644 index 0000000000..ebeef2639b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_tw.js @@ -0,0 +1,47 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('advlink',{ +general_tab : '@', +popup_tab : '{', +events_tab : 'ƥ', +advanced_tab : 'i', +general_props : '@ݩ', +popup_props : '{ݩ', +event_props : 'ƥݩ', +advanced_props : 'iݩ', +popup_opts : 'ﶵ', +anchor_names : 'sI', +target_same : '󦹵ήج[}', +target_parent : 'Whήج[}', +target_top : 'Dج[}ҡ]|Nج[^', +target_blank : 's}', +popup : 'Javascript {', +popup_url : '{}', +popup_name : 'W', +popup_return : 'J "T^W"', +popup_scrollbars : 'ܲʶb', +popup_statusbar : 'ܪAC', +popup_toolbar : 'ܤuC', +popup_menubar : 'ܿC', +popup_location : 'ܦmC', +popup_resizable : 'ijpƵ', +popup_dependent : 'qݩʡ]ȾA Mozilla / Firefox ^', +popup_size : 'jp', +popup_position : 'm] X / Y b^', +id : 'sX', +style: '', +classes : '', +target_name : 'HW', +langdir : 'yΪk', +target_langcode : 'Hy', +langcode : 'yX', +encoding : 'HrsX', +mime : 'H MIME ', +rel : 'NPHp', +rev : 'NHPp', +tabindex : 'ү', +accesskey : 's', +ltr : 'ѥܥk', +rtl : 'ѥkܥ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..e360a6d35c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/langs/zh_tw_utf8.js @@ -0,0 +1,47 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('advlink',{ +general_tab : '一般', +popup_tab : '跳現視窗', +events_tab : '事件', +advanced_tab : '進階', +general_props : '一般屬性', +popup_props : '跳現視窗屬性', +event_props : '事件屬性', +advanced_props : '進階屬性', +popup_opts : '選項', +anchor_names : '連結點', +target_same : '於此視窗或框架中開啟', +target_parent : '於上層視窗或框架中開啟', +target_top : '於主框架中開啟(會取代全部框架)', +target_blank : '於新視窗中開啟', +popup : 'Javascript 跳現視窗', +popup_url : '跳現視窗網址', +popup_name : '視窗名稱', +popup_return : '插入 "禁回上頁"', +popup_scrollbars : '顯示移動軸', +popup_statusbar : '顯示狀態列', +popup_toolbar : '顯示工具列', +popup_menubar : '顯示選單列', +popup_location : '顯示位置列', +popup_resizable : '可大小化視窗', +popup_dependent : '從屬性(僅適用 Mozilla / Firefox )', +popup_size : '大小', +popup_position : '位置( X / Y 軸)', +id : '編碼', +style: '式樣', +classes : '分類', +target_name : '對象名稱', +langdir : '語言用法', +target_langcode : '對象語言', +langcode : '語碼', +encoding : '對象字元編碼', +mime : '對象 MIME 型式', +rel : '將網頁與對象產生關聯', +rev : '將對象與網頁產生關聯', +tabindex : '標籤索引', +accesskey : '存取鍵', +ltr : '由左至右', +rtl : '由右至左' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/link.htm b/phpgwapi/js/tiny_mce/plugins/advlink/link.htm new file mode 100644 index 0000000000..afd04d7e1a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/link.htm @@ -0,0 +1,334 @@ + + + {$lang_insert_link_title} + + + + + + + + +
+ + +
+
+
+ {$lang_advlink_general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
 
 
 
 
+ +
+
+
+ + + +
+
+ {$lang_advlink_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+
+ +
+
+ {$lang_advlink_event_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/advlink/readme.txt b/phpgwapi/js/tiny_mce/plugins/advlink/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/advlink/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/autosave/editor_plugin.js new file mode 100644 index 0000000000..f5d6857c70 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('autosave','en,tr,sv,cs,he,nb,hu,de,da,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,pl,pt_br');var TinyMCE_AutoSavePlugin={getInfo:function(){return{longname:'Auto save',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_autosave.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},_beforeUnloadHandler:function(){var n,inst,anyDirty=false,msg=tinyMCE.getLang("lang_autosave_unload_msg");if(tinyMCE.getParam("fullscreen_is_enabled"))return;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;if(inst.isDirty())return msg;}return;}};window.onbeforeunload=TinyMCE_AutoSavePlugin._beforeUnloadHandler;tinyMCE.addPlugin("autosave",TinyMCE_AutoSavePlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/autosave/editor_plugin_src.js new file mode 100644 index 0000000000..4b88d2ecf9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/editor_plugin_src.js @@ -0,0 +1,48 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.11 $ + * $Date: 2006/03/22 12:21:21 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('autosave', 'en,tr,sv,cs,he,nb,hu,de,da,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,pl,pt_br'); + +var TinyMCE_AutoSavePlugin = { + getInfo : function() { + return { + longname : 'Auto save', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_autosave.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + // Private plugin internal methods + + _beforeUnloadHandler : function() { + var n, inst, anyDirty = false, msg = tinyMCE.getLang("lang_autosave_unload_msg"); + + if (tinyMCE.getParam("fullscreen_is_enabled")) + return; + + for (n in tinyMCE.instances) { + inst = tinyMCE.instances[n]; + + if (!tinyMCE.isInstance(inst)) + continue; + + if (inst.isDirty()) + return msg; + } + + return; + } +}; + +window.onbeforeunload = TinyMCE_AutoSavePlugin._beforeUnloadHandler; + +tinyMCE.addPlugin("autosave", TinyMCE_AutoSavePlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ar.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ar.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ca.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ca.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/cs.js new file mode 100755 index 0000000000..c24637ca8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/cs.js @@ -0,0 +1,11 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2006/01/11 14:25:47 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Změny, které jste udělal(a) budou ztraceny, jestliže opustíte tuto stránku.' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/cy.js new file mode 100644 index 0000000000..60e79b947e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/cy.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Byddi di\'n colli unrhyw newidiadau os wyt ti\'n gadael y dudalen hon.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/da.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/da.js new file mode 100644 index 0000000000..ebf58fcada --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/da.js @@ -0,0 +1,5 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'De ændringer, du har lavet, vil gå tabt, hvis du lukker denne side.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/de.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/de.js new file mode 100644 index 0000000000..90060a91a0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/de.js @@ -0,0 +1,5 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Alle Veränderungen an dieser Seite werden verlorengehen, wenn Sie diese Seite jetzt verlassen.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/el.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/el.js new file mode 100755 index 0000000000..b085057db2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/el.js @@ -0,0 +1,5 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +autosave_unload_msg : ' .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/en.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/en.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/en.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/es.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/es.js new file mode 100755 index 0000000000..cea9233073 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/es.js @@ -0,0 +1,14 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Los cambios que hayas hecho pueden perderse si navegas fuera de esta página.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fa.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fa.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fa_ca.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fa_ca.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fi.js new file mode 100755 index 0000000000..a94d546595 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fi.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Tekemsi muutokset menetetn jos poistut tlt sivulta.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fr.js new file mode 100755 index 0000000000..2b904f418f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fr.js @@ -0,0 +1,6 @@ +// 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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fr_ca.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/fr_ca.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/he.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/he.js new file mode 100755 index 0000000000..cf3fa3c262 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : ' .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/hu.js new file mode 100644 index 0000000000..53ba609cdd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/hu.js @@ -0,0 +1,5 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'A mdostsok el fognak veszni, ha elnaviglsz az oldalrl.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/is.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/is.js new file mode 100644 index 0000000000..58c86a8c9f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/is.js @@ -0,0 +1,5 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Breytingarnar sem gerir munu hverfa ef flakkar anna.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/it.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/it.js new file mode 100755 index 0000000000..6e11368fb5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/it.js @@ -0,0 +1,5 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'I cambiamenti andranno persi se si carica un\'altra pagina.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja-euc-jp.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja-euc-jp.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_euc-jp.js new file mode 100755 index 0000000000..a20a8a2344 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_euc-jp.js @@ -0,0 +1,5 @@ +// Japanese euc-jp + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'ΥڡΥСѹʬʤʤ롣' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_shift-jis.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_shift-jis.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_shift_jis.js new file mode 100755 index 0000000000..565c7c7ce4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_shift_jis.js @@ -0,0 +1,5 @@ +// Japanese shift_jis + +tinyMCE.addToLang('',{ +autosave_unload_msg : '̃y[W痣΁AύX̕ȂȂB' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_utf-8.js new file mode 100755 index 0000000000..db82fabd19 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ja_utf-8.js @@ -0,0 +1,5 @@ +// Japanese utf-8 + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'このページから離れれば、変更の部分がなくなる。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ko.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ko.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/nb.js new file mode 100644 index 0000000000..149c159fb5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/nb.js @@ -0,0 +1,6 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Forandringene du gjorde forsvinner om du velger å forlate denne siden.' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/nl.js new file mode 100644 index 0000000000..608764c85b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/nl.js @@ -0,0 +1,5 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'De gemaakte veranderingen zullen verloren gaan als u naar een andere pagina navigeert.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/nn.js new file mode 100644 index 0000000000..d1f261f455 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/nn.js @@ -0,0 +1,6 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Forandringene du gjorde forsvinner om du velger å forlate denne siden.' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/pl.js new file mode 100644 index 0000000000..6656f5cbf3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/pl.js @@ -0,0 +1,8 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Zmiany jakie wprowadzie zostan utracone, jeli opucisz teraz t stron.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/pt.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/pt.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/pt_br.js new file mode 100644 index 0000000000..025a1b603a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/pt_br.js @@ -0,0 +1,12 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +autosave_unload_msg : 'As modificaes feitas sero perdidas caso voc navegue fora desta pgina.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ro.js new file mode 100755 index 0000000000..35e18176b1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ro.js @@ -0,0 +1,5 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Modificările pe care le-ai făcut vor fi pierdute dacă părăseşti această pagină.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru.js new file mode 100644 index 0000000000..a58fa40c2f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru.js @@ -0,0 +1,5 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +autosave_unload_msg : ' .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..f43c325526 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru_KOI8-R.js @@ -0,0 +1,5 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +autosave_unload_msg : ' ģ .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru_UTF-8.js new file mode 100644 index 0000000000..092ec6ac16 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/ru_UTF-8.js @@ -0,0 +1,5 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Изменения не будут потеряны если Вы уйдёте с этой страницы.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/si.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/si.js new file mode 100644 index 0000000000..43f3923323 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/si.js @@ -0,0 +1,5 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Vaše spremembe se bodo izgubile, če boste naložili drugo stran.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/sk.js new file mode 100644 index 0000000000..0224a754d7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/sk.js @@ -0,0 +1,13 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Zmeny, ktoré ste urobyl(a) budú stratené, ak opustíte túto stránku.' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/sq.js new file mode 100755 index 0000000000..b297c85f41 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/sq.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Ndryshimet e bera do te humbasin po naviguat jashte kesaj faqeje.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/sv.js new file mode 100644 index 0000000000..7c1b66ee43 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/sv.js @@ -0,0 +1,6 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Förändringarna du gjorde kommer att gå förlorade om du väljer att lämna denna sida.' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/th.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/th.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/th.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/tr.js new file mode 100644 index 0000000000..f122bf1dc1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/tr.js @@ -0,0 +1,5 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Baka bir sayfay grntlerseniz yaptnz deiiklikleri kaybedeceksiniz!' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/tw.js new file mode 100644 index 0000000000..01951332d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/tw.js @@ -0,0 +1,5 @@ +// EN lang variables + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'The changes you made will be lost if you navigate away from this page.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/vi.js new file mode 100755 index 0000000000..5a6bdf8dcf --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/vi.js @@ -0,0 +1,5 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Các thay đổi của bạn sẽ bị mất nếu bạn di chuyển khỏi trang này.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_cn.js new file mode 100755 index 0000000000..c6cb4ed53f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_cn.js @@ -0,0 +1,6 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +autosave_unload_msg : '뿪ҳ޸Ľʧ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..401e40edb3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_cn_utf8.js @@ -0,0 +1,6 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +autosave_unload_msg : '如果您离开本页,您所作的修改将会消失。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_tw.js new file mode 100644 index 0000000000..ebf0f60a9a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_tw.js @@ -0,0 +1,6 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +autosave_unload_msg : 'Ҧw@ܷ|]z}Ӧ۰ʩxs' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..e18fc0045c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/langs/zh_tw_utf8.js @@ -0,0 +1,6 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +autosave_unload_msg : '所有已作的改變會因您離開此頁面而自動放棄不儲存' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/autosave/readme.txt b/phpgwapi/js/tiny_mce/plugins/autosave/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/autosave/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/cleanup/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/cleanup/editor_plugin.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/phpgwapi/js/tiny_mce/plugins/cleanup/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/cleanup/editor_plugin_src.js new file mode 100644 index 0000000000..cb7dfac96b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/cleanup/editor_plugin_src.js @@ -0,0 +1,12 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.10 $ + * $Date: 2006/02/10 16:29:38 $ + * + * Experimental plugin for new Cleanup routine, this logic will be moved into the core ones it's stable enougth. + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Dummy file since cleanup is now moved to core */ diff --git a/phpgwapi/js/tiny_mce/plugins/cleanup/readme.txt b/phpgwapi/js/tiny_mce/plugins/cleanup/readme.txt new file mode 100644 index 0000000000..d1a6466637 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/cleanup/readme.txt @@ -0,0 +1 @@ +Dummy plugin since cleanup is now moved into core. diff --git a/phpgwapi/js/tiny_mce/plugins/contextmenu/css/contextmenu.css b/phpgwapi/js/tiny_mce/plugins/contextmenu/css/contextmenu.css new file mode 100644 index 0000000000..fb3721468c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/contextmenu/css/contextmenu.css @@ -0,0 +1,74 @@ +.contextMenuIEPopup { + padding: 0; + margin: 0; + border: 0; + overflow: hidden; +} + +.contextMenu { + position: absolute; + cursor: default; + z-index: 1000; + border: 1px solid #D4D0C8; + background-color: #FFFFFF; +} + +.contextMenuItem, .contextMenuItemOver { +} + +.contextMenuSeparator { + width: 100%; + background-color: #D4D0C8; + border: 0; +} + +.contextMenuImage, .contextMenuItemDisabled { + border: 0; +} + +.contextMenuIcon { + background-color: #F0F0EE; +} + +.contextMenuItemOver .contextMenuIcon { + background-color: #B6BDD2; +} + +.contextMenuIcon { + background-color: #F0F0EE; +} + +.contextMenuItemDisabled img { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + -moz-opacity:0.3; + opacity: 0.3; +} + +.contextMenuText { + font-family: Tahoma, Verdana, Arial, Helvetica; + font-size: 11px; + line-height: 20px; +} + +.contextMenuItemDisabled { + color: #AAAAAA; +} + +.contextMenuText a { + display: block; + line-height: 20px; + width: 100%; + text-decoration: none; + color: black; + font-weight: normal; + margin: 0; + padding: 0; +} + +.contextMenuText a:hover { + background-color: #B6BDD2; + text-decoration: none !important; + font-weight: normal; + margin: 0; + padding: 0; +} diff --git a/phpgwapi/js/tiny_mce/plugins/contextmenu/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/contextmenu/editor_plugin.js new file mode 100644 index 0000000000..794cfe476c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/contextmenu/editor_plugin.js @@ -0,0 +1 @@ +if(!tinyMCE.settings['contextmenu_skip_plugin_css']){tinyMCE.loadCSS(tinyMCE.baseURL+"/plugins/contextmenu/css/contextmenu.css");}var TinyMCE_ContextMenuPlugin={_contextMenu:null,getInfo:function(){return{longname:'Context menus',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_contextmenu.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(tinyMCE.isMSIE5_0&&tinyMCE.isOpera)return;TinyMCE_ContextMenuPlugin._contextMenu=new TinyMCE_ContextMenu({commandhandler:"TinyMCE_ContextMenuPlugin._commandHandler",spacer_image:tinyMCE.baseURL+"/plugins/contextmenu/images/spacer.gif"});tinyMCE.addEvent(inst.getDoc(),"click",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keypress",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(inst.getDoc(),"keydown",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"click",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"keypress",TinyMCE_ContextMenuPlugin._hideContextMenu);tinyMCE.addEvent(document,"keydown",TinyMCE_ContextMenuPlugin._hideContextMenu);if(tinyMCE.isGecko){tinyMCE.addEvent(inst.getDoc(),"contextmenu",function(e){TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE?inst.contentWindow.event:e,inst);});}else tinyMCE.addEvent(inst.getDoc(),"contextmenu",TinyMCE_ContextMenuPlugin._onContextMenu);},_onContextMenu:function(e){var elm=tinyMCE.isMSIE?e.srcElement:e.target;var targetInst,body;if((body=tinyMCE.getParentElement(elm,"body"))!=null){for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;if(body==inst.getBody()){targetInst=inst;break;}}return TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE?targetInst.contentWindow.event:e,targetInst);}},_showContextMenu:function(e,inst){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):"";}var x,y,elm,contextMenu;var pos=tinyMCE.getAbsPosition(inst.iframeElement);x=tinyMCE.isMSIE?e.screenX:pos.absLeft+(e.pageX-inst.getBody().scrollLeft);y=tinyMCE.isMSIE?e.screenY:pos.absTop+(e.pageY-inst.getBody().scrollTop);elm=tinyMCE.isMSIE?e.srcElement:e.target;contextMenu=this._contextMenu;contextMenu.inst=inst;window.setTimeout(function(){var theme=tinyMCE.getParam("theme");contextMenu.clearAll();var sel=inst.selection.getSelectedText().length!=0||elm.nodeName=="IMG";contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_cut_desc","Cut","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_copy_desc","Copy","",!sel);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_paste_desc","Paste","",false);if(sel||(elm?(elm.nodeName=='A')||(elm.nodeName=='IMG'):false)){contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/themes/advanced/images/link.gif","$lang_link_desc",inst.hasPlugin("advlink")?"mceAdvLink":"mceLink");contextMenu.addItem(tinyMCE.baseURL+"/themes/advanced/images/unlink.gif","$lang_unlink_desc","unlink","",(elm?(elm.nodeName!='A')&&(elm.nodeName!='IMG'):true));}elm=tinyMCE.getParentElement(elm,"img,table,td"+(inst.hasPlugin("advhr")?',hr':''));if(elm){switch(elm.nodeName){case"IMG":contextMenu.addSeparator();if(tinyMCE.getAttrib(elm,'class').indexOf('mceItemFlash')!=-1)contextMenu.addItem(tinyMCE.baseURL+"/plugins/flash/images/flash.gif","$lang_flash_props","mceFlash");else contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/image.gif","$lang_image_props_desc",inst.hasPlugin("advimage")?"mceAdvImage":"mceImage");break;case"HR":contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/advhr/images/advhr.gif","$lang_insert_advhr_desc","mceAdvancedHr");break;case"TABLE":case"TD":if(inst.hasPlugin("table")){var colspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"colspan");var rowspan=(elm.nodeName=="TABLE")?"":getAttrib(elm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/cut.gif","$lang_table_cut_row_desc","mceTableCutRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/copy.gif","$lang_table_copy_row_desc","mceTableCopyRow");contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_before_desc","mceTablePasteRowBefore","",inst.tableRowClipboard==null);contextMenu.addItem(tinyMCE.baseURL+"/themes/"+theme+"/images/paste.gif","$lang_table_paste_row_after_desc","mceTablePasteRowAfter","",inst.tableRowClipboard==null);contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_props_desc","mceInsertTable");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_cell_props.gif","$lang_table_cell_desc","mceTableCellProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete.gif","$lang_table_del","mceTableDelete");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_row_props.gif","$lang_table_row_desc","mceTableRowProps");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_before.gif","$lang_table_row_before_desc","mceTableInsertRowBefore");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_row_after.gif","$lang_table_row_after_desc","mceTableInsertRowAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_row.gif","$lang_table_delete_row_desc","mceTableDeleteRow");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_before.gif","$lang_table_col_before_desc","mceTableInsertColBefore");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_insert_col_after.gif","$lang_table_col_after_desc","mceTableInsertColAfter");contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_delete_col.gif","$lang_table_delete_col_desc","mceTableDeleteCol");contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_split_cells.gif","$lang_table_split_cells_desc","mceTableSplitCells","",(colspan=="1"&&rowspan=="1"));contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table_merge_cells.gif","$lang_table_merge_cells_desc","mceTableMergeCells","",false);}break;}}else{if(inst.hasPlugin("table")){contextMenu.addSeparator();contextMenu.addItem(tinyMCE.baseURL+"/plugins/table/images/table.gif","$lang_table_desc","mceInsertTable","insert");}}contextMenu.show(x,y);},10);tinyMCE.cancelEvent(e);return false;},_hideContextMenu:function(){if(TinyMCE_ContextMenuPlugin._contextMenu)TinyMCE_ContextMenuPlugin._contextMenu.hide();},_commandHandler:function(command,value){var cm=TinyMCE_ContextMenuPlugin._contextMenu;cm.hide();var ui=false;if(command=="mceInsertTable"||command=="mceTableCellProps"||command=="mceTableRowProps"||command=="mceTableMergeCells")ui=true;if(command=="Paste")value=null;if(tinyMCE.getParam("dialog_type")=="modal"&&tinyMCE.isMSIE){window.setTimeout(function(){cm.inst.execCommand(command,ui,value);},100);}else cm.inst.execCommand(command,ui,value);}};tinyMCE.addPlugin("contextmenu",TinyMCE_ContextMenuPlugin);function TinyMCE_ContextMenu(settings){function defParam(key,def_val){settings[key]=typeof(settings[key])!="undefined"?settings[key]:def_val;}var self=this;this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.contextMenuDiv=document.createElement("div");this.contextMenuDiv.className="contextMenu";this.contextMenuDiv.setAttribute("class","contextMenu");this.contextMenuDiv.style.display="none";this.contextMenuDiv.style.position='absolute';this.contextMenuDiv.style.zindex=1000;this.contextMenuDiv.style.left='0';this.contextMenuDiv.style.top='0';this.contextMenuDiv.unselectable="on";document.body.appendChild(this.contextMenuDiv);defParam("commandhandler","");defParam("spacer_image","images/spacer.gif");this.items=new Array();this.settings=settings;this.html="";if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0&&!tinyMCE.isOpera){this.pop=window.createPopup();doc=this.pop.document;doc.open();doc.write('');doc.close();}};TinyMCE_ContextMenu.prototype={clearAll:function(){this.html="";this.contextMenuDiv.innerHTML="";},addSeparator:function(){this.html+='';},addItem:function(icon,title,command,value,disabled){if(title.charAt(0)=='$')title=tinyMCE.getLang(title.substring(1));var onMouseDown='';var html='';if(tinyMCE.isMSIE&&!tinyMCE.isMSIE5_0)onMouseDown='contextMenu.execCommand(\''+command+'\', \''+value+'\');return false;';else onMouseDown=this.settings['commandhandler']+'(\''+command+'\', \''+value+'\');return false;';if(icon=="")icon=this.settings['spacer_image'];if(!disabled)html+='';else html+='';html+='';html+='
';html+=' ';html+=title;html+=' ';html+='
';html+='';this.html+=html;},show:function(x,y){var vp,width,height;if(this.html=="")return;var html='';html+='';html+=this.html;html+='
';this.contextMenuDiv.innerHTML=html;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){this.pop.document.body.innerHTML='
'+html+"
";this.pop.document.tinyMCE=tinyMCE;this.pop.document.contextMenu=this;this.pop.show(x,y,width,height);}else{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();else this.contextMenuDiv.style.display="none";},execCommand:function(command,value){eval(this.settings['commandhandler']+"(command, value);");}}; \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js new file mode 100644 index 0000000000..e273f01fd1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/contextmenu/editor_plugin_src.js @@ -0,0 +1,356 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.31 $ + * $Date: 2006/05/03 10:46:41 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +//tinyMCE.importPluginLanguagePack('contextmenu', 'en,tr,zh_cn,cs,fa,fr_ca,fr,de,nb'); +if (!tinyMCE.settings['contextmenu_skip_plugin_css']) { + tinyMCE.loadCSS(tinyMCE.baseURL + "/plugins/contextmenu/css/contextmenu.css"); +} + +var TinyMCE_ContextMenuPlugin = { + // Private fields + _contextMenu : null, + + getInfo : function() { + return { + longname : 'Context menus', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_contextmenu.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + initInstance : function(inst) { + // Is not working on MSIE 5.0 or Opera no contextmenu event + if (tinyMCE.isMSIE5_0 && tinyMCE.isOpera) + return; + + TinyMCE_ContextMenuPlugin._contextMenu = new TinyMCE_ContextMenu({ + commandhandler : "TinyMCE_ContextMenuPlugin._commandHandler", + spacer_image : tinyMCE.baseURL + "/plugins/contextmenu/images/spacer.gif" + }); + + // Add hide event handles + tinyMCE.addEvent(inst.getDoc(), "click", TinyMCE_ContextMenuPlugin._hideContextMenu); + tinyMCE.addEvent(inst.getDoc(), "keypress", TinyMCE_ContextMenuPlugin._hideContextMenu); + tinyMCE.addEvent(inst.getDoc(), "keydown", TinyMCE_ContextMenuPlugin._hideContextMenu); + tinyMCE.addEvent(document, "click", TinyMCE_ContextMenuPlugin._hideContextMenu); + tinyMCE.addEvent(document, "keypress", TinyMCE_ContextMenuPlugin._hideContextMenu); + tinyMCE.addEvent(document, "keydown", TinyMCE_ContextMenuPlugin._hideContextMenu); + + // Attach contextmenu event + if (tinyMCE.isGecko) { + tinyMCE.addEvent(inst.getDoc(), "contextmenu", function(e) {TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE ? inst.contentWindow.event : e, inst);}); + } else + tinyMCE.addEvent(inst.getDoc(), "contextmenu", TinyMCE_ContextMenuPlugin._onContextMenu); + }, + + // Private plugin internal methods + + _onContextMenu : function(e) { + var elm = tinyMCE.isMSIE ? e.srcElement : e.target; + var targetInst, body; + + // Find instance + if ((body = tinyMCE.getParentElement(elm, "body")) != null) { + for (var n in tinyMCE.instances) { + var inst = tinyMCE.instances[n]; + if (!tinyMCE.isInstance(inst)) + continue; + + if (body == inst.getBody()) { + targetInst = inst; + break; + } + } + + return TinyMCE_ContextMenuPlugin._showContextMenu(tinyMCE.isMSIE ? targetInst.contentWindow.event : e, targetInst); + } + }, + + _showContextMenu : function(e, inst) { + function getAttrib(elm, name) { + return elm.getAttribute(name) ? elm.getAttribute(name) : ""; + } + + var x, y, elm, contextMenu; + var pos = tinyMCE.getAbsPosition(inst.iframeElement); + + x = tinyMCE.isMSIE ? e.screenX : pos.absLeft + (e.pageX - inst.getBody().scrollLeft); + y = tinyMCE.isMSIE ? e.screenY : pos.absTop + (e.pageY - inst.getBody().scrollTop); + elm = tinyMCE.isMSIE ? e.srcElement : e.target; + + contextMenu = this._contextMenu; + contextMenu.inst = inst; + + // Mozilla needs some time + window.setTimeout(function () { + var theme = tinyMCE.getParam("theme"); + + contextMenu.clearAll(); + var sel = inst.selection.getSelectedText().length != 0 || elm.nodeName == "IMG"; + + // Default items + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/cut.gif", "$lang_cut_desc", "Cut", "", !sel); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/copy.gif", "$lang_copy_desc", "Copy", "", !sel); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_paste_desc", "Paste", "", false); + + if (sel || (elm ? (elm.nodeName == 'A') || (elm.nodeName == 'IMG') : false)) { + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/themes/advanced/images/link.gif", "$lang_link_desc", inst.hasPlugin("advlink") ? "mceAdvLink" : "mceLink"); + contextMenu.addItem(tinyMCE.baseURL + "/themes/advanced/images/unlink.gif", "$lang_unlink_desc", "unlink", "", (elm ? (elm.nodeName != 'A') && (elm.nodeName != 'IMG') : true)); + } + + // Get element + elm = tinyMCE.getParentElement(elm, "img,table,td" + (inst.hasPlugin("advhr") ? ',hr' : '')); + if (elm) { + switch (elm.nodeName) { + case "IMG": + contextMenu.addSeparator(); + + // If flash + if (tinyMCE.getAttrib(elm, 'class').indexOf('mceItemFlash') != -1) + contextMenu.addItem(tinyMCE.baseURL + "/plugins/flash/images/flash.gif", "$lang_flash_props", "mceFlash"); + else + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/image.gif", "$lang_image_props_desc", inst.hasPlugin("advimage") ? "mceAdvImage" : "mceImage"); + break; + + case "HR": + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/advhr/images/advhr.gif", "$lang_insert_advhr_desc", "mceAdvancedHr"); + break; + + case "TABLE": + case "TD": + // Is table plugin loaded + if (inst.hasPlugin("table")) { + var colspan = (elm.nodeName == "TABLE") ? "" : getAttrib(elm, "colspan"); + var rowspan = (elm.nodeName == "TABLE") ? "" : getAttrib(elm, "rowspan"); + + colspan = colspan == "" ? "1" : colspan; + rowspan = rowspan == "" ? "1" : rowspan; + + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/cut.gif", "$lang_table_cut_row_desc", "mceTableCutRow"); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/copy.gif", "$lang_table_copy_row_desc", "mceTableCopyRow"); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_table_paste_row_before_desc", "mceTablePasteRowBefore", "", inst.tableRowClipboard == null); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/paste.gif", "$lang_table_paste_row_after_desc", "mceTablePasteRowAfter", "", inst.tableRowClipboard == null); + + /* contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifyleft.gif", "$lang_justifyleft_desc", "JustifyLeft", "", false); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifycenter.gif", "$lang_justifycenter_desc", "JustifyCenter", "", false); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifyright.gif", "$lang_justifyright_desc", "JustifyRight", "", false); + contextMenu.addItem(tinyMCE.baseURL + "/themes/" + theme + "/images/justifyfull.gif", "$lang_justifyfull_desc", "JustifyFull", "", false);*/ + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_desc", "mceInsertTable", "insert"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_props_desc", "mceInsertTable"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_cell_props.gif", "$lang_table_cell_desc", "mceTableCellProps"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete.gif", "$lang_table_del", "mceTableDelete"); + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_row_props.gif", "$lang_table_row_desc", "mceTableRowProps"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_row_before.gif", "$lang_table_row_before_desc", "mceTableInsertRowBefore"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_row_after.gif", "$lang_table_row_after_desc", "mceTableInsertRowAfter"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete_row.gif", "$lang_table_delete_row_desc", "mceTableDeleteRow"); + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_col_before.gif", "$lang_table_col_before_desc", "mceTableInsertColBefore"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_insert_col_after.gif", "$lang_table_col_after_desc", "mceTableInsertColAfter"); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_delete_col.gif", "$lang_table_delete_col_desc", "mceTableDeleteCol"); + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_split_cells.gif", "$lang_table_split_cells_desc", "mceTableSplitCells", "", (colspan == "1" && rowspan == "1")); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table_merge_cells.gif", "$lang_table_merge_cells_desc", "mceTableMergeCells", "", false); + } + break; + } + } else { + // Add table specific + if (inst.hasPlugin("table")) { + contextMenu.addSeparator(); + contextMenu.addItem(tinyMCE.baseURL + "/plugins/table/images/table.gif", "$lang_table_desc", "mceInsertTable", "insert"); + } + } + + contextMenu.show(x, y); + }, 10); + + // Cancel default handeling + tinyMCE.cancelEvent(e); + return false; + }, + + _hideContextMenu : function() { + if (TinyMCE_ContextMenuPlugin._contextMenu) + TinyMCE_ContextMenuPlugin._contextMenu.hide(); + }, + + _commandHandler : function(command, value) { + var cm = TinyMCE_ContextMenuPlugin._contextMenu; + + cm.hide(); + + // UI must be true on these + var ui = false; + if (command == "mceInsertTable" || command == "mceTableCellProps" || command == "mceTableRowProps" || command == "mceTableMergeCells") + ui = true; + + if (command == "Paste") + value = null; + + if (tinyMCE.getParam("dialog_type") == "modal" && tinyMCE.isMSIE) { + // Cell properties will generate access denied error is this isn't done?! + window.setTimeout(function() { + cm.inst.execCommand(command, ui, value); + }, 100); + } else + cm.inst.execCommand(command, ui, value); + } +}; + +tinyMCE.addPlugin("contextmenu", TinyMCE_ContextMenuPlugin); + +// Context menu class + +function TinyMCE_ContextMenu(settings) { + // Default value function + function defParam(key, def_val) { + settings[key] = typeof(settings[key]) != "undefined" ? settings[key] : def_val; + } + + var self = this; + + this.isMSIE = (navigator.appName == "Microsoft Internet Explorer"); + + // Setup contextmenu div + this.contextMenuDiv = document.createElement("div"); + this.contextMenuDiv.className = "contextMenu"; + this.contextMenuDiv.setAttribute("class", "contextMenu"); + this.contextMenuDiv.style.display = "none"; + this.contextMenuDiv.style.position = 'absolute'; + this.contextMenuDiv.style.zindex = 1000; + this.contextMenuDiv.style.left = '0'; + this.contextMenuDiv.style.top = '0'; + this.contextMenuDiv.unselectable = "on"; + + document.body.appendChild(this.contextMenuDiv); + + // Setup default values + defParam("commandhandler", ""); + defParam("spacer_image", "images/spacer.gif"); + + this.items = new Array(); + this.settings = settings; + this.html = ""; + + // IE Popup + if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0 && !tinyMCE.isOpera) { + this.pop = window.createPopup(); + doc = this.pop.document; + doc.open(); + doc.write(''); + doc.close(); + } +}; + +TinyMCE_ContextMenu.prototype = { + clearAll : function() { + this.html = ""; + this.contextMenuDiv.innerHTML = ""; + }, + + addSeparator : function() { + this.html += ''; + }, + + addItem : function(icon, title, command, value, disabled) { + if (title.charAt(0) == '$') + title = tinyMCE.getLang(title.substring(1)); + + var onMouseDown = ''; + var html = ''; + + if (tinyMCE.isMSIE && !tinyMCE.isMSIE5_0) + onMouseDown = 'contextMenu.execCommand(\'' + command + '\', \'' + value + '\');return false;'; + else + onMouseDown = this.settings['commandhandler'] + '(\'' + command + '\', \'' + value + '\');return false;'; + + if (icon == "") + icon = this.settings['spacer_image']; + + if (!disabled) + html += ''; + else + html += ''; + + html += ''; + html += ''; + html += ''; + + // Add to main + this.html += html; + }, + + show : function(x, y) { + var vp, width, height; + + if (this.html == "") + return; + + var html = ''; + + html += ''; + html += this.html; + html += '
'; + + 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) { + // Setup popup and show + this.pop.document.body.innerHTML = '
' + html + "
"; + this.pop.document.tinyMCE = tinyMCE; + this.pop.document.contextMenu = this; + this.pop.show(x, y, width, height); + } else { + 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(); + else + this.contextMenuDiv.style.display = "none"; + }, + + execCommand : function(command, value) { + eval(this.settings['commandhandler'] + "(command, value);"); + } +}; diff --git a/phpgwapi/js/tiny_mce/plugins/contextmenu/images/spacer.gif b/phpgwapi/js/tiny_mce/plugins/contextmenu/images/spacer.gif new file mode 100644 index 0000000000..388486517f Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/contextmenu/images/spacer.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/contextmenu/readme.txt b/phpgwapi/js/tiny_mce/plugins/contextmenu/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/contextmenu/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/directionality/editor_plugin.js new file mode 100644 index 0000000000..4447d17d10 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('directionality','en,tr,sv,fr_ca,zh_cn,cs,da,he,nb,de,hu,ru,ru_KOI8-R,ru_UTF-8,nn,es,cy,is,pl,nl,fr,pt_br');var TinyMCE_DirectionalityPlugin={getInfo:function(){return{longname:'Directionality',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"ltr":return tinyMCE.getButtonHTML(cn,'lang_directionality_ltr_desc','{$pluginurl}/images/ltr.gif','mceDirectionLTR');case"rtl":return tinyMCE.getButtonHTML(cn,'lang_directionality_rtl_desc','{$pluginurl}/images/rtl.gif','mceDirectionRTL');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceDirectionLTR":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","ltr");tinyMCE.triggerNodeChange(false);return true;case"mceDirectionRTL":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","rtl");tinyMCE.triggerNodeChange(false);return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):"";}if(node==null)return;var elm=tinyMCE.getParentElement(node,"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(!elm){tinyMCE.switchClass(editor_id+'_ltr','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_rtl','mceButtonDisabled');return true;}tinyMCE.switchClass(editor_id+'_ltr','mceButtonNormal');tinyMCE.switchClass(editor_id+'_rtl','mceButtonNormal');var dir=getAttrib(elm,"dir");if(dir=="ltr"||dir=="")tinyMCE.switchClass(editor_id+'_ltr','mceButtonSelected');else tinyMCE.switchClass(editor_id+'_rtl','mceButtonSelected');return true;}};tinyMCE.addPlugin("directionality",TinyMCE_DirectionalityPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/directionality/editor_plugin_src.js new file mode 100644 index 0000000000..ad0fa87e9d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/editor_plugin_src.js @@ -0,0 +1,92 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.16 $ + * $Date: 2006/02/10 21:34:28 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('directionality', 'en,tr,sv,fr_ca,zh_cn,cs,da,he,nb,de,hu,ru,ru_KOI8-R,ru_UTF-8,nn,es,cy,is,pl,nl,fr,pt_br'); + +var TinyMCE_DirectionalityPlugin = { + getInfo : function() { + return { + longname : 'Directionality', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + getControlHTML : function(cn) { + switch (cn) { + case "ltr": + return tinyMCE.getButtonHTML(cn, 'lang_directionality_ltr_desc', '{$pluginurl}/images/ltr.gif', 'mceDirectionLTR'); + + case "rtl": + return tinyMCE.getButtonHTML(cn, 'lang_directionality_rtl_desc', '{$pluginurl}/images/rtl.gif', 'mceDirectionRTL'); + } + + return ""; + }, + + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceDirectionLTR": + var inst = tinyMCE.getInstanceById(editor_id); + var elm = tinyMCE.getParentElement(inst.getFocusElement(), "p,div,td,h1,h2,h3,h4,h5,h6,pre,address"); + + if (elm) + elm.setAttribute("dir", "ltr"); + + tinyMCE.triggerNodeChange(false); + return true; + + case "mceDirectionRTL": + var inst = tinyMCE.getInstanceById(editor_id); + var elm = tinyMCE.getParentElement(inst.getFocusElement(), "p,div,td,h1,h2,h3,h4,h5,h6,pre,address"); + + if (elm) + elm.setAttribute("dir", "rtl"); + + tinyMCE.triggerNodeChange(false); + return true; + } + + // Pass to next handler in chain + return false; + }, + + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + function getAttrib(elm, name) { + return elm.getAttribute(name) ? elm.getAttribute(name) : ""; + } + + if (node == null) + return; + + var elm = tinyMCE.getParentElement(node, "p,div,td,h1,h2,h3,h4,h5,h6,pre,address"); + if (!elm) { + tinyMCE.switchClass(editor_id + '_ltr', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_rtl', 'mceButtonDisabled'); + return true; + } + + tinyMCE.switchClass(editor_id + '_ltr', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_rtl', 'mceButtonNormal'); + + var dir = getAttrib(elm, "dir"); + if (dir == "ltr" || dir == "") + tinyMCE.switchClass(editor_id + '_ltr', 'mceButtonSelected'); + else + tinyMCE.switchClass(editor_id + '_rtl', 'mceButtonSelected'); + + return true; + } +}; + +tinyMCE.addPlugin("directionality", TinyMCE_DirectionalityPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/images/ltr.gif b/phpgwapi/js/tiny_mce/plugins/directionality/images/ltr.gif new file mode 100644 index 0000000000..ac8f30c120 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/directionality/images/ltr.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/images/rtl.gif b/phpgwapi/js/tiny_mce/plugins/directionality/images/rtl.gif new file mode 100644 index 0000000000..0348f99656 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/directionality/images/rtl.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ar.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ar.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ca.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ca.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/cs.js new file mode 100755 index 0000000000..d16b4958b7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.2 2006/01/11 14:25:48 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Směr z leva doprava', +directionality_rtl_desc : 'Směr z prava doleva' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/cy.js new file mode 100644 index 0000000000..0f593a6e5c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/cy.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Cyfeiriad chwith i\'r dde', +directionality_rtl_desc : 'Cyfeiriad dde i\'r chwith' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/da.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/da.js new file mode 100644 index 0000000000..3240269c63 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/da.js @@ -0,0 +1,6 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Retning - venstre mod højre', +directionality_rtl_desc : 'Retning - højre mod venstre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/de.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/de.js new file mode 100644 index 0000000000..5551a486ac --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/de.js @@ -0,0 +1,6 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Von links nach rechts', +directionality_rtl_desc : 'Von rechts nach links' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/el.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/el.js new file mode 100755 index 0000000000..06ef764f88 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/el.js @@ -0,0 +1,6 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +directionality_ltr_desc : ' ', +directionality_rtl_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/en.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/en.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/en.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/es.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/es.js new file mode 100755 index 0000000000..a8998da64e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/es.js @@ -0,0 +1,15 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Dirección de izquierda a derecha', +directionality_rtl_desc : 'Dirección de derecha a izquierda' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fa.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fa.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fa_ca.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fa_ca.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fi.js new file mode 100755 index 0000000000..8e017e473b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fi.js @@ -0,0 +1,6 @@ +// FI lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Suunta vasemmalta oikealle', +directionality_rtl_desc : 'Suunta oikealta vasemmalle' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fr.js new file mode 100755 index 0000000000..8b434c65a8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fr.js @@ -0,0 +1,7 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Vers la droite', +directionality_rtl_desc : 'Vers la gauche' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fr_ca.js new file mode 100755 index 0000000000..1ed3b89ea5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/fr_ca.js @@ -0,0 +1,6 @@ +// fr_ca lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction de la gauche vers la droite', +directionality_rtl_desc : 'Direction de la droite vers la gauche' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/he.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/he.js new file mode 100755 index 0000000000..063b943134 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/he.js @@ -0,0 +1,6 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +directionality_ltr_desc : ' ', +directionality_rtl_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/hu.js new file mode 100644 index 0000000000..d61608a9ba --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/hu.js @@ -0,0 +1,6 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Elhelyezkeds balrl jobbra', +directionality_rtl_desc : 'Elhelyezkeds jobbrl balra' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/is.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/is.js new file mode 100644 index 0000000000..19b66a903e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/is.js @@ -0,0 +1,6 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Frá vinstri til hægri', +directionality_rtl_desc : 'Frá hægri til vinstri' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/it.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/it.js new file mode 100755 index 0000000000..ef4d71e726 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/it.js @@ -0,0 +1,6 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direzione da sinistra a destra', +directionality_rtl_desc : 'Direzione da destra a sinistra' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja-euc-jp.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja-euc-jp.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_euc-jp.js new file mode 100755 index 0000000000..110b4219ef --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_euc-jp.js @@ -0,0 +1,6 @@ +// Japanese unicode (euc) + +tinyMCE.addToLang('',{ +directionality_ltr_desc : '鱦', +directionality_rtl_desc : '麸' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_shift-jis.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_shift-jis.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_shift_jis.js new file mode 100755 index 0000000000..48de123533 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_shift_jis.js @@ -0,0 +1,6 @@ +// Japanese unicode (shift_jis) + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'E', +directionality_rtl_desc : 'E獶' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_utf-8.js new file mode 100755 index 0000000000..eed5c4851d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ja_utf-8.js @@ -0,0 +1,6 @@ +// Japanese unicode (utf-8) + +tinyMCE.addToLang('',{ +directionality_ltr_desc : '左から右へ', +directionality_rtl_desc : '右から左へ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ko.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ko.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/nb.js new file mode 100644 index 0000000000..bec3514b89 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/nb.js @@ -0,0 +1,6 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Retning fra venstre mot høyre', +directionality_rtl_desc : 'Retning fra høyre mot venstre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/nl.js new file mode 100644 index 0000000000..409d6df203 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/nl.js @@ -0,0 +1,6 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Richting links naar rechts', +directionality_rtl_desc : 'Richting rechts naar links' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/nn.js new file mode 100644 index 0000000000..3186896ecc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/nn.js @@ -0,0 +1,6 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Venstre mot høgre', +directionality_rtl_desc : 'Høgre mot venstre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/pl.js new file mode 100644 index 0000000000..90d400d566 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/pl.js @@ -0,0 +1,8 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Kierunek od lewej do prawej', +directionality_rtl_desc : 'Kierunek od prawej do lewej' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/pt.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/pt.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/pt_br.js new file mode 100644 index 0000000000..dc240f2538 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/pt_br.js @@ -0,0 +1,13 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direcionamento da esquerda para direita', +directionality_rtl_desc : 'Direcionamento da direita para esquerda' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ro.js new file mode 100755 index 0000000000..aa1a757b93 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ro.js @@ -0,0 +1,6 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direcţia stânga la dreapta', +directionality_rtl_desc : 'Direcţia dreapta la stânga' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru.js new file mode 100644 index 0000000000..263b2d27fc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru.js @@ -0,0 +1,6 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +directionality_ltr_desc : ' ', +directionality_rtl_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..e2dba4be89 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru_KOI8-R.js @@ -0,0 +1,6 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +directionality_ltr_desc : ' ', +directionality_rtl_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru_UTF-8.js new file mode 100644 index 0000000000..5ce95effd1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/ru_UTF-8.js @@ -0,0 +1,6 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Направление слева направо', +directionality_rtl_desc : 'Направление справа налево' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/si.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/si.js new file mode 100644 index 0000000000..028eb68014 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/si.js @@ -0,0 +1,6 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Smer od leve proti desni', +directionality_rtl_desc : 'Smer od desne proti levi' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/sk.js new file mode 100644 index 0000000000..0754b557ed --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/sk.js @@ -0,0 +1,14 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Smer z ľava doprava', +directionality_rtl_desc : 'Smer z prava doľava' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/sq.js new file mode 100755 index 0000000000..b0f77628d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/sq.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Drejtimi e majta ne te djathte', +directionality_rtl_desc : 'Drejtimi e djathta ne te majte' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/sv.js new file mode 100644 index 0000000000..7abfc8dba6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/sv.js @@ -0,0 +1,6 @@ +// SV lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Riktning från vänster till höger', +directionality_rtl_desc : 'Riktning från höger till vänster' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/th.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/th.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/th.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/tr.js new file mode 100644 index 0000000000..7886f96614 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/tr.js @@ -0,0 +1,6 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Yn soldan saa', +directionality_rtl_desc : 'Yn sadan sola' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/tw.js new file mode 100644 index 0000000000..a1db297856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/tw.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Direction left to right', +directionality_rtl_desc : 'Direction right to left' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/vi.js new file mode 100755 index 0000000000..38a1588bed --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/vi.js @@ -0,0 +1,6 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'Hướng trái sang phải', +directionality_rtl_desc : 'Hướng phải sang trái' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_cn.js new file mode 100755 index 0000000000..ea0a036573 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +directionality_ltr_desc : '', +directionality_rtl_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..8922cf22e9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_cn_utf8.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +directionality_ltr_desc : '方向从左往右', +directionality_rtl_desc : '方向从右往左' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_tw.js new file mode 100644 index 0000000000..db59c8670d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_tw.js @@ -0,0 +1,7 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +directionality_ltr_desc : 'ѥkV', +directionality_rtl_desc : 'ѥkV' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..54e320170a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/langs/zh_tw_utf8.js @@ -0,0 +1,7 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +directionality_ltr_desc : '由左往右方向', +directionality_rtl_desc : '由右往左方向' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/directionality/readme.txt b/phpgwapi/js/tiny_mce/plugins/directionality/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/directionality/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/emotions/editor_plugin.js new file mode 100644 index 0000000000..07779873b1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('emotions','en,tr,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,es,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_EmotionsPlugin={getInfo:function(){return{longname:'Emotions',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"emotions":return tinyMCE.getButtonHTML(cn,'lang_emotions_desc','{$pluginurl}/images/emotions.gif','mceEmotion');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceEmotion":var template=new Array();template['file']='../../plugins/emotions/emotions.htm';template['width']=160;template['height']=160;template['width']+=tinyMCE.getLang('lang_emotions_delta_width',0);template['height']+=tinyMCE.getLang('lang_emotions_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;}return false;}};tinyMCE.addPlugin('emotions',TinyMCE_EmotionsPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/emotions/editor_plugin_src.js new file mode 100644 index 0000000000..10db6422dd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/editor_plugin_src.js @@ -0,0 +1,65 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.23 $ + * $Date: 2006/02/10 16:29:38 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('emotions', 'en,tr,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,es,cy,is,zh_tw,zh_tw_utf8,sk'); + +// Plucin static class +var TinyMCE_EmotionsPlugin = { + getInfo : function() { + return { + longname : 'Emotions', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + /** + * Returns the HTML contents of the emotions control. + */ + getControlHTML : function(cn) { + switch (cn) { + case "emotions": + return tinyMCE.getButtonHTML(cn, 'lang_emotions_desc', '{$pluginurl}/images/emotions.gif', 'mceEmotion'); + } + + return ""; + }, + + /** + * Executes the mceEmotion command. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceEmotion": + var template = new Array(); + + template['file'] = '../../plugins/emotions/emotions.htm'; // Relative to theme + template['width'] = 160; + template['height'] = 160; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_emotions_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_emotions_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + + return true; + } + + // Pass to next handler in chain + return false; + } +}; + +// Register plugin +tinyMCE.addPlugin('emotions', TinyMCE_EmotionsPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/emotions.htm b/phpgwapi/js/tiny_mce/plugins/emotions/emotions.htm new file mode 100644 index 0000000000..c70f4b45f2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/emotions.htm @@ -0,0 +1,40 @@ + + + {$lang_emotions_title} + + + + + +
+
{$lang_emotions_title}:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
{$lang_emotions_cool}{$lang_emotions_cry}{$lang_emotions_embarassed}{$lang_emotions_foot_in_mouth}
{$lang_emotions_frown}{$lang_emotions_innocent}{$lang_emotions_kiss}{$lang_emotions_laughing}
{$lang_emotions_money_mouth}{$lang_emotions_sealed}{$lang_emotions_smile}{$lang_emotions_surprised}
{$lang_emotions_tongue-out}{$lang_emotions_undecided}{$lang_emotions_wink}{$lang_emotions_yell}
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/emotions.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/emotions.gif new file mode 100644 index 0000000000..a39ed8ec38 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/emotions.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/readme.txt b/phpgwapi/js/tiny_mce/plugins/emotions/images/readme.txt new file mode 100644 index 0000000000..a3cea1b687 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/images/readme.txt @@ -0,0 +1,2 @@ +These emotions where taken from Mozilla Thunderbird. +I hope they don't get angry if I use them here after all this is a open source project aswell. diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-cool.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-cool.gif new file mode 100644 index 0000000000..ba90cc36fb Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-cool.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-cry.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-cry.gif new file mode 100644 index 0000000000..74d897a4f6 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-cry.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-embarassed.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-embarassed.gif new file mode 100644 index 0000000000..963a96b8a7 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-embarassed.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif new file mode 100644 index 0000000000..16f68cc1e9 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-foot-in-mouth.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-frown.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-frown.gif new file mode 100644 index 0000000000..716f55e161 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-frown.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-innocent.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-innocent.gif new file mode 100644 index 0000000000..334d49e0e6 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-innocent.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-kiss.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-kiss.gif new file mode 100644 index 0000000000..4efd549ed3 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-kiss.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-laughing.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-laughing.gif new file mode 100644 index 0000000000..1606c119e7 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-laughing.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif new file mode 100644 index 0000000000..ca2451e102 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-money-mouth.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-sealed.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-sealed.gif new file mode 100644 index 0000000000..b33d3cca1e Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-sealed.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-smile.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-smile.gif new file mode 100644 index 0000000000..e6a9e60d5d Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-smile.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-surprised.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-surprised.gif new file mode 100644 index 0000000000..cb99cdd913 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-surprised.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif new file mode 100644 index 0000000000..2075dc1605 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-tongue-out.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-undecided.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-undecided.gif new file mode 100644 index 0000000000..bef7e25730 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-undecided.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-wink.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-wink.gif new file mode 100644 index 0000000000..9faf1aff8f Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-wink.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-yell.gif b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-yell.gif new file mode 100644 index 0000000000..648e6e8791 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/emotions/images/smiley-yell.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/jscripts/functions.js b/phpgwapi/js/tiny_mce/plugins/emotions/jscripts/functions.js new file mode 100644 index 0000000000..95a9eafe8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/jscripts/functions.js @@ -0,0 +1,21 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); +} + +function insertEmotion(file_name, title) { + title = tinyMCE.getLang(title); + + if (title == null) + title = ""; + + // XML encode + title = title.replace(/&/g, '&'); + title = title.replace(/\"/g, '"'); + title = title.replace(//g, '>'); + + var html = '' + title + ''; + + tinyMCE.execCommand('mceInsertContent', false, html); + tinyMCEPopup.close(); +} diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ar.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ar.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ca.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ca.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/cs.js new file mode 100755 index 0000000000..b91fd84634 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.4 2005/10/18 13:59:42 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Vložit emotikonu', +emotions_desc : 'Emotikony' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/cy.js new file mode 100644 index 0000000000..d771cef2b2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/cy.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Mewnosod gwenoglun', +desc : 'Gwenogluniau', +cool : 'Cŵl', +cry : 'Crïo', +embarassed : 'Cywilydd', +foot_in_mouth : 'Troed yn y ceg', +frown : 'Gwgu', +innocent : 'Diniwed', +kiss : 'Sws', +laughing : 'Chwerthin', +money_mouth : 'Ceg arian', +sealed : 'Seliwyd', +smile : 'Gwên', +surprised : 'Synnu', +tongue_out : 'Tafod allan', +undecided : 'Penagored', +wink : 'Winc', +yell : 'Gwaedd' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/da.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/da.js new file mode 100644 index 0000000000..248dc20307 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/da.js @@ -0,0 +1,22 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('emotions',{ +title : 'Indsæt smiley', +desc : 'Smileys', +cool : 'Sej', +cry : 'Gråd', +embarassed : 'Forlegen', +foot_in_mouth : 'Foden i munden', +frown : 'Rynket pande', +innocent : 'Uskyldig', +kiss : 'Kys', +laughing : 'Latter', +money_mouth : 'Lækker mund', +sealed : 'Lukket af', +smile : 'Smil', +surprised : 'Overrasket', +tongue_out : 'Ræk tunge', +undecided : 'Usikker', +wink : 'Blink', +yell : 'Råb' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/de.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/de.js new file mode 100644 index 0000000000..5ca550827d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/de.js @@ -0,0 +1,22 @@ +// DE lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/el.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/el.js new file mode 100755 index 0000000000..20be6d9979 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/el.js @@ -0,0 +1,6 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +insert_emotions_title : ' emoticon', +emotions_desc : ' emoticons' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/en.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/en.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/en.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/es.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/es.js new file mode 100755 index 0000000000..33facc5d64 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/es.js @@ -0,0 +1,31 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('emotions',{ +title : 'Intertar emoticono', +desc : 'Emoticonos', +cool : 'Chulo', +cry : 'Llorando', +embarassed : 'Avergonzado', +foot_in_mouth : 'Sin palabras', +frown : 'Triste', +innocent : 'Inocente', +kiss : 'Beso', +laughing : 'Riendo', +money_mouth : 'Forrado', +sealed : 'Boca sellada', +smile : 'Sonriente', +surprised : 'Sorprendido', +tongue_out : 'Burla', +undecided : 'Indeciso', +wink : 'Guiño', +yell : 'Enfadado' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fa.js new file mode 100644 index 0000000000..f357f1ab21 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fa.js @@ -0,0 +1,11 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_emotions_title : '?????? ????', +emotions_desc : '??????' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fa_ca.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fa_ca.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fi.js new file mode 100755 index 0000000000..5f44fad83f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fi.js @@ -0,0 +1,22 @@ +// FI lang variables + +tinyMCE.addToLang('Hymiöt',{ +title : 'Lisää hymiö', +desc : 'Hymiö', +cool : 'Cooli', +cry : 'Surullinen', +embarassed : 'Nolostunut', +foot_in_mouth : 'Jalka suussa', +frown : 'Otsa rypyssä', +innocent : 'Viaton', +kiss : 'Suudelma', +laughing : 'Naurava', +money_mouth : 'Rahasuu', +sealed : 'Sinetöity', +smile : 'Hymyilevä', +surprised : 'Yllättynyt', +tongue_out : 'Kieli ulkona', +undecided : 'Päättämätön', +wink : 'Silmää iskevä', +yell : 'Huutaa' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fr.js new file mode 100755 index 0000000000..50b5b02b0e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fr.js @@ -0,0 +1,23 @@ +// 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', +cool : 'Cool', +cry : 'Triste', +embarassed : 'Embarrassé', +foot_in_mouth : 'Oups !', +frown : 'Mécontent', +innocent : 'Innocent', +kiss : 'Bisou', +laughing : 'Mort de rire', +money_mouth : 'Sencuré', +sealed : 'Motus', +smile : 'Sourire', +surprised : 'Surprise', +tongue_out : 'Moqueur', +undecided : 'Perplexe', +wink : 'Clin d\'oeil', +yell : 'Horreur !' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fr_ca.js new file mode 100755 index 0000000000..41b771a1d5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/fr_ca.js @@ -0,0 +1,6 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Insrer un moticon', +emotions_desc : 'moticons' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/he.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/he.js new file mode 100755 index 0000000000..47d983a547 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/he.js @@ -0,0 +1,22 @@ +// HE lang variables + +tinyMCE.addToLang('emotions',{ +title : ' ', +desc : '', +cool : '', +cry : '', +embarassed : '', +foot_in_mouth : ' ', +frown : '', +innocent : '', +kiss : '', +laughing : '', +money_mouth : ' ', +sealed : '', +smile : '', +surprised : '', +tongue_out : ' ', +undecided : ' ', +wink : '', +yell : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/hu.js new file mode 100644 index 0000000000..35c4c95746 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/hu.js @@ -0,0 +1,22 @@ +// HU lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Hangulatjel beszrsa', +desc : 'Hangulatjelek', +cool : 'Kirly', +cry : 'Srs', +embarassed : 'Zavart', +foot_in_mouth : 'Foot in mouth', +frown : 'Homlokrncols', +innocent : 'rtatlan', +kiss : 'Csk', +laughing : 'Nevets', +money_mouth : 'Pnzhes', +sealed : 'Elnmult', +smile : 'Mosolygs', +surprised : 'Meglepett', +tongue_out : 'Tongue out', +undecided : 'Hatrozatlan', +wink : 'Kacsints', +yell : 'Sikolts' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/is.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/is.js new file mode 100644 index 0000000000..583e8b8d71 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/is.js @@ -0,0 +1,22 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('emotions',{ +title : 'Tilfinningatákn', +desc : 'Tilfinningatákn', +cool : 'Svalur', +cry : 'Gráta', +embarassed : 'Skömmustulegur', +foot_in_mouth : 'Tala af sér', +frown : 'Fýldur', +innocent : 'Saklaus', +kiss : 'Koss', +laughing : 'Hlæjandi', +money_mouth : 'Gráðugur', +sealed : 'Þögull sem gröfin', +smile : 'Brosandi', +surprised : 'Hissa', +tongue_out : 'Ullandi', +undecided : 'Óákveðinn', +wink : 'Glottandi', +yell : 'Öskrandi' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/it.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/it.js new file mode 100755 index 0000000000..3cf0d4d213 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/it.js @@ -0,0 +1,22 @@ +// IT lang variables + +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' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja-euc-jp.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja-euc-jp.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_euc-jp.js new file mode 100755 index 0000000000..8e5b7e7086 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_euc-jp.js @@ -0,0 +1,22 @@ +// ܸ EUC lang variables + +tinyMCE.addToLang('emotions',{ +title : '饭', +desc : '饭', +cool : 'å', +cry : '㤯', +embarassed : 'Ȥ', +foot_in_mouth : '˥å', +frown : 'ܡ', +innocent : 'ŷ', +kiss : '', +laughing : 'Ф', +money_mouth : '', +sealed : '', +smile : 'д', +surprised : 'ӥå', +tongue_out : 'ڥ', +undecided : 'ա', +wink : '', +yell : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_shift-jis.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_shift-jis.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_shift_jis.js new file mode 100755 index 0000000000..0ecb408acc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_shift_jis.js @@ -0,0 +1,22 @@ +// { Shift_JIS lang variables + +tinyMCE.addToLang('emotions',{ +title : 'L}', +desc : 'L', +cool : 'JbRCC', +cry : '', +embarassed : 'Ƃ', +foot_in_mouth : 'Ƀ`bN', +frown : '{[b', +innocent : 'Vg', +kiss : 'LX', +laughing : '΂', +money_mouth : '', +sealed : '', +smile : 'Ί', +surprised : 'rbN', +tongue_out : 'yb', +undecided : 'Ӂ`', +wink : 'EBN', +yell : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_utf-8.js new file mode 100755 index 0000000000..4235efceb9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ja_utf-8.js @@ -0,0 +1,22 @@ +// 日本語 utf-8 lang variables + +tinyMCE.addToLang('emotions',{ +title : '顔キャラを挿入', +desc : '顔キャラ', +cool : 'カッコイイ', +cry : '泣く', +embarassed : '照れる', +foot_in_mouth : '口にチャック', +frown : 'ボーッ', +innocent : '天使', +kiss : 'キス', +laughing : '笑う', +money_mouth : 'お金', +sealed : '', +smile : '笑顔', +surprised : 'ビックリ', +tongue_out : 'ペロッ', +undecided : 'ふ~ん', +wink : 'ウィンク', +yell : '叫ぶ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ko.js new file mode 100644 index 0000000000..49f813474d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ko.js @@ -0,0 +1,6 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insert_emotions_title : '̸ƼÄ Ö', +emotions_desc : '̸ƼÄ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/nb.js new file mode 100644 index 0000000000..801f3b23d3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/nb.js @@ -0,0 +1,22 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('emotions',{ +title : 'Lim inn følelse', +desc : 'Følelser', +cool : 'Cool', +cry : 'Gråter', +embarassed : 'Sjenert', +foot_in_mouth : 'Fot i munnen', +frown : 'Lei seg', +innocent : 'Uskyldig', +kiss : 'Kyss', +laughing : 'Ler', +money_mouth : 'Penger i munnen', +sealed : 'Hemmelig', +smile : 'Glad', +surprised : 'Overrasket', +tongue_out : 'Rekke tunge', +undecided : 'Betenkt', +wink : 'Flørt', +yell : 'Skrikende' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/nl.js new file mode 100644 index 0000000000..a596ab4da5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/nl.js @@ -0,0 +1,22 @@ +// NL lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Emoticon invoegen', +desc : 'Emoticons', +cool : 'Cool', +cry : 'Huilen', +embarassed : 'Verlegen', // embarrassed +foot_in_mouth : 'Eten in mond', // food in mouth? +frown : 'Fronsen', +innocent : 'Onschuldig', +kiss : 'Kus', +laughing : 'Lachend', +money_mouth : 'Geldgezicht', +sealed : 'Verzegeld', +smile : 'Smile', +surprised : 'Verbaasd', +tongue_out : 'Tong uitstekend', +undecided : 'Obepaald', +wink : 'Knipoog', +yell : 'Schreeuwen' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/nn.js new file mode 100644 index 0000000000..92f17a0d4c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/nn.js @@ -0,0 +1,22 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('emotions',{ +title : 'Lim inn følelse', +desc : 'Følelser', +cool : 'Cool', +cry : 'Gråter', +embarassed : 'Sjenert', +foot_in_mouth : 'Fot i munnen', +frown : 'Lei seg', +innocent : 'Uskyldig', +kiss : 'Kyss', +laughing : 'Ler', +money_mouth : 'Penger i munnen', +sealed : 'Hemmelig', +smile : 'Glad', +surprised : 'Overrasket', +tongue_out : 'Rekke tunge', +undecided : 'Betenkt', +wink : 'Flørt', +yell : 'Skrikende' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/pl.js new file mode 100644 index 0000000000..c19da95d4f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/pl.js @@ -0,0 +1,25 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// lemiel 25.10.2005 + +tinyMCE.addToLang('emotions',{ +title : 'Wstaw emotikonk', +desc : 'Emotikonki', +cool : 'Super', +cry : 'Pacz', +embarassed : 'Zaenowanie', +foot_in_mouth : 'Trzepi jzorem', +frown : 'Marszcz brew', +innocent : 'Niewinny', +kiss : 'Pocaunek', +laughing : 'miech', +money_mouth : 'Zasady yciowe', +sealed : 'Zaplombowane usta', +smile : 'Umiech', +surprised : 'Zaskoczenie', +tongue_out : 'Pokazuj jzyk', +undecided : 'Niezdecydowanie', +wink : 'Perskie oko', +yell : 'Wycie' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/pt.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/pt.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/pt_br.js new file mode 100644 index 0000000000..f46ec0b6eb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/pt_br.js @@ -0,0 +1,29 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('emotions',{ +title : 'Inserir Emoticons', +desc : 'Emoticons', +cool : 'Legal', +cry : 'Chorando', +embarassed : 'Embaraado', +foot_in_mouth : 'Falando asneira', +frown : 'Triste', +innocent : 'Inocente', +kiss : 'Beijo', +laughing : 'Rindo', +money_mouth : 'Interesseiro', +sealed : 'Lbios fechados', +smile : 'Sorriso', +surprised : 'Surpreso', +tongue_out : 'Mostrar a lnga', +undecided : 'Indeciso', +wink : 'Piscar', +yell : 'Grito' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ro.js new file mode 100755 index 0000000000..35562aa5b6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ro.js @@ -0,0 +1,22 @@ +// RO lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Inserează figurină', +desc : 'Figurine', +cool : 'Mişto', +cry : 'Plânset', +embarassed : 'Ruşinat', +foot_in_mouth : 'Picior în gură!', +frown : 'Încruntat', +innocent : 'Inocent', +kiss : 'Pupic', +laughing : 'Râsete', +money_mouth : 'Gură bogată', +sealed : 'Sigilat', +smile : 'Zâmbet', +surprised : 'Surprins', +tongue_out : 'Cu limbuţa pe-afară', +undecided : 'Nedecis', +wink : 'Trage cu ochiul', +yell : 'Urlă' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru.js new file mode 100644 index 0000000000..00f55b2297 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru.js @@ -0,0 +1,22 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('emotions',{ +title : ' ', +desc : '', +cool : 'Cool', +cry : '', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : '', +innocent : '', +kiss : '', +laughing : '', +money_mouth : 'Money mouth', +sealed : '', +smile : '', +surprised : '', +tongue_out : ' ', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..ec9af98b88 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru_KOI8-R.js @@ -0,0 +1,22 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('emotions',{ +title : ' ', +desc : '', +cool : 'Cool', +cry : '', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : '', +innocent : '', +kiss : '', +laughing : '', +money_mouth : 'Money mouth', +sealed : '', +smile : '', +surprised : '', +tongue_out : ' ', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru_UTF-8.js new file mode 100644 index 0000000000..2c94bc8a08 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/ru_UTF-8.js @@ -0,0 +1,22 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('emotions',{ +title : 'Вставить смайлик', +desc : 'Смайлики', +cool : 'Cool', +cry : 'Плач', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Нахмуренность', +innocent : 'Святой', +kiss : 'Поцелуй', +laughing : 'Смех', +money_mouth : 'Money mouth', +sealed : 'Заклеенный', +smile : 'Улыбка', +surprised : 'Сюрприз', +tongue_out : 'Высунутый язык', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/si.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/si.js new file mode 100644 index 0000000000..e1cd3abbeb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/si.js @@ -0,0 +1,22 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('emotions',{ +title : 'Vstavi smeškota', +desc : 'Smeškoti', +cool : 'Kul', +cry : 'Jok', +embarassed : 'Osramočen', +foot_in_mouth : 'Foot in mouth', +frown : 'Nakremžen', +innocent : 'Nedolžen', +kiss : 'Poljub', +laughing : 'Smeh', +money_mouth : 'Denar', +sealed : 'Zapečaten', +smile : 'Nasmeh', +surprised : 'Presenečen', +tongue_out : 'Jezik ven', +undecided : 'Neodločen', +wink : 'Pomežik', +yell : 'Kričim' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/sk.js new file mode 100644 index 0000000000..0746fdc0e9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/sk.js @@ -0,0 +1,14 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +insert_emotions_title : 'Vložiť emotikonu', +emotions_desc : 'Emotikony' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/sq.js new file mode 100755 index 0000000000..9d363a8f76 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/sq.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Nderfut emocione', +desc : 'Emocione', +cool : 'Njesh', +cry : 'Qaj', +embarassed : 'Ne siklet', +foot_in_mouth : 'Kemben ne goje', +frown : 'Hmm...', +innocent : 'I pafajshem', +kiss : 'Puthje', +laughing : 'Qeshje', +money_mouth : 'Goje me para', +sealed : 'I vulosur', +smile : 'Buzeqeshje', +surprised : 'I uditur', +tongue_out : 'Perqeshje', +undecided : 'I pavendosur', +wink : 'Hmm...', +yell : 'Bertitje' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/sv.js new file mode 100644 index 0000000000..18d0740e67 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/sv.js @@ -0,0 +1,22 @@ +// SE lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Klistra in känsla', +desc : 'Känslor', +cool : 'Cool', +cry : 'Gråter', +embarassed : 'Generad', +foot_in_mouth : 'Fot i munnnen', +frown : 'Ledsen', +innocent : 'Oskyldig', +kiss : 'Kyss', +laughing : 'Skrattande', +money_mouth : 'Penga mun', +sealed : 'Hemlis', +smile : 'Glad', +surprised : 'Förvånad', +tongue_out : 'Räcka ut tungan', +undecided : 'Fundersam', +wink : 'Flört', +yell : 'Skrikandes' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/th.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/th.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/th.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/tr.js new file mode 100644 index 0000000000..325a69c461 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/tr.js @@ -0,0 +1,22 @@ +// TR lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Yz ifadesi ekle', +desc : 'Yz ifadeleri', +cool : 'Soukkanl', +cry : 'Alayan', +embarassed : 'Utanga', +foot_in_mouth : 'Foot in mouth', +frown : 'Kalar atk', +innocent : 'Masum', +kiss : 'pck', +laughing : 'Glen', +money_mouth : 'Money mouth', +sealed : 'Tp', +smile : 'Glmseyen', +surprised : 'arm', +tongue_out : 'Dili darda', +undecided : 'Kararsz', +wink : 'Gz krpan', +yell : 'Haykran' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/tw.js new file mode 100644 index 0000000000..3cdd675175 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/tw.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('emotions',{ +title : 'Insert emotion', +desc : 'Emotions', +cool : 'Cool', +cry : 'Cry', +embarassed : 'Embarassed', +foot_in_mouth : 'Foot in mouth', +frown : 'Frown', +innocent : 'Innocent', +kiss : 'Kiss', +laughing : 'Laughing', +money_mouth : 'Money mouth', +sealed : 'Sealed', +smile : 'Smile', +surprised : 'Surprised', +tongue_out : 'Tongue out', +undecided : 'Undecided', +wink : 'Wink', +yell : 'Yell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/vi.js new file mode 100755 index 0000000000..b8aa314d7d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/vi.js @@ -0,0 +1,22 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('emotions',{ +title : 'Thêm biểu cảm', +desc : 'Biểu cảm', +cool : 'Tuyệt', +cry : 'Khóc', +embarassed : 'Bối rối', +foot_in_mouth : 'Chân trong miệng', +frown : 'Cau mày', +innocent : 'Ngây thơ', +kiss : 'Hôn', +laughing : 'Cười', +money_mouth : 'Ngậm tiền', +sealed : 'Dán miệng', +smile : 'Mỉm cười', +surprised : 'Ngạc nhiên', +tongue_out : 'Thè lưỡi', +undecided : 'Chưa quyết định', +wink : 'Nháy mắt', +yell : 'La hét' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_cn.js new file mode 100755 index 0000000000..b0a98be091 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_cn.js @@ -0,0 +1,23 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('emotions',{ +title : '', +desc : '', +cool : '', +cry : '', +embarassed : '', +foot_in_mouth : 'Foot in mouth', +frown : 'ü', +innocent : '޹', +kiss : '', +laughing : 'Ц', +money_mouth : 'Money mouth', +sealed : '', +smile : '΢Ц', +surprised : '', +tongue_out : '', +undecided : 'ԥ', +wink : 'գ', +yell : '' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..8c41682aff --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_cn_utf8.js @@ -0,0 +1,23 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('emotions',{ +title : '插入表情', +desc : '表情', +cool : '酷', +cry : '哭', +embarassed : '尴尬', +foot_in_mouth : 'Foot in mouth', +frown : '皱眉', +innocent : '无辜', +kiss : '亲吻', +laughing : '大笑', +money_mouth : 'Money mouth', +sealed : '保密', +smile : '微笑', +surprised : '惊讶', +tongue_out : '吐舌', +undecided : '犹豫', +wink : '眨眼', +yell : '大叫' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_tw.js new file mode 100644 index 0000000000..ca3e2d6aa7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_tw.js @@ -0,0 +1,23 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('emotions',{ +title : 'Jϥ', +desc : 'ϥ', +cool : 'ų', +cry : 'j', +embarassed : 'nɧr', +foot_in_mouth : '䦺F', +frown : 'IiozA', +innocent : 'ڬOLd', +kiss : 'ˤ@', +laughing : 'ӥi', +money_mouth : 'n', +sealed : 'L', +smile : 'L', +surprised : 'Y', +tongue_out : 'RY', +undecided : 'ڷQQ', +wink : 'w', +yell : 'IF' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..1bc29d9534 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/langs/zh_tw_utf8.js @@ -0,0 +1,23 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('emotions',{ +title : '插入表情圖示', +desc : '表情圖示', +cool : '酷喔', +cry : '大哭', +embarassed : '好糗呀', +foot_in_mouth : '臭死了', +frown : '哼!懶得理你', +innocent : '我是無辜的', +kiss : '親一個', +laughing : '太可笑嘍', +money_mouth : '好高興喔', +sealed : '閉嘴', +smile : '微笑', +surprised : '驚訝', +tongue_out : '吐舌頭', +undecided : '我想想', +wink : '眨眼', +yell : '衰死了~~' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/emotions/readme.txt b/phpgwapi/js/tiny_mce/plugins/emotions/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/emotions/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/flash/css/content.css b/phpgwapi/js/tiny_mce/plugins/flash/css/content.css new file mode 100644 index 0000000000..843258b79d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/css/content.css @@ -0,0 +1,7 @@ +.mceItemFlash { + border: 1px dotted #cc0000; + background-image: url('../images/flash.gif'); + background-position: center; + background-repeat: no-repeat; + background-color: #ffffcc; +} diff --git a/phpgwapi/js/tiny_mce/plugins/flash/css/flash.css b/phpgwapi/js/tiny_mce/plugins/flash/css/flash.css new file mode 100644 index 0000000000..d3e88e1a20 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/css/flash.css @@ -0,0 +1,11 @@ +.panel_wrapper div.current { + height: 100px; +} + +#width, #height { + width: 50px; +} + +#file { + width: 250px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/flash/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/flash/editor_plugin.js new file mode 100644 index 0000000000..244c3c0d6d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('flash','en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,es,cy,is,zh_tw,zh_tw_utf8,sk,pt_br');var TinyMCE_FlashPlugin={getInfo:function(){return{longname:'Flash',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_flash.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(!tinyMCE.settings['flash_skip_plugin_css'])tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/flash/css/content.css");},getControlHTML:function(cn){switch(cn){case"flash":return tinyMCE.getButtonHTML(cn,'lang_flash_desc','{$pluginurl}/images/flash.gif','mceFlash');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceFlash":var name="",swffile="",swfwidth="",swfheight="",action="insert";var template=new Array();var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();template['file']='../../plugins/flash/flash.htm';template['width']=430;template['height']=175;template['width']+=tinyMCE.getLang('lang_flash_delta_width',0);template['height']+=tinyMCE.getLang('lang_flash_delta_height',0);if(focusElm!=null&&focusElm.nodeName.toLowerCase()=="img"){name=tinyMCE.getAttrib(focusElm,'class');if(name.indexOf('mceItemFlash')==-1)return true;swffile=tinyMCE.getAttrib(focusElm,'alt');if(tinyMCE.getParam('convert_urls'))swffile=eval(tinyMCE.settings['urlconverter_callback']+"(swffile, null, true);");swfwidth=tinyMCE.getAttrib(focusElm,'width');swfheight=tinyMCE.getAttrib(focusElm,'height');action="update";}tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",swffile:swffile,swfwidth:swfwidth,swfheight:swfheight,action:action});return true;}return false;},cleanup:function(type,content){switch(type){case"insert_to_editor_dom":if(tinyMCE.getParam('convert_urls')){var imgs=content.getElementsByTagName("img");for(var i=0;i','gi'),'');content=content.replace(new RegExp('<[ ]*object','gi'),'','gi'),'');while((startPos=content.indexOf('',startPos);var attribs=TinyMCE_FlashPlugin._parseAttributes(content.substring(startPos+6,endPos));embedList[embedList.length]=attribs;}var index=0;while((startPos=content.indexOf('=embedList.length)break;var attribs=embedList[index];endPos=content.indexOf('',startPos);endPos+=9;var contentAfter=content.substring(endPos);content=content.substring(0,startPos);content+=''+content.substring(endPos);content+=contentAfter;index++;startPos++;}var index=0;while((startPos=content.indexOf('=embedList.length)break;var attribs=embedList[index];endPos=content.indexOf('>',startPos);endPos+=9;var contentAfter=content.substring(endPos);content=content.substring(0,startPos);content+=''+content.substring(endPos);content+=contentAfter;index++;startPos++;}break;case"get_from_editor":var startPos=-1;while((startPos=content.indexOf('',startPos);var attribs=TinyMCE_FlashPlugin._parseAttributes(content.substring(startPos+4,endPos));if(attribs['class']!="mceItemFlash")continue;endPos+=2;var embedHTML='';var wmode=tinyMCE.getParam("flash_wmode","");var quality=tinyMCE.getParam("flash_quality","high");var menu=tinyMCE.getParam("flash_menu","false");embedHTML+='';embedHTML+='';embedHTML+='';embedHTML+='';embedHTML+='';embedHTML+='';chunkBefore=content.substring(0,startPos);chunkAfter=content.substring(endPos);content=chunkBefore+embedHTML+chunkAfter;}break;}return content;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="IMG"&&tinyMCE.getAttrib(node,'class').indexOf('mceItemFlash')==0){tinyMCE.switchClass(editor_id+'_flash','mceButtonSelected');return true;}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_flash','mceButtonNormal');return true;},_parseAttributes:function(attribute_string){var attributeName="";var attributeValue="";var withInName;var withInValue;var attributes=new Array();var whiteSpaceRegExp=new RegExp('^[ \n\r\t]+','g');if(attribute_string==null||attribute_string.length<2)return null;withInName=withInValue=false;for(var i=0;i','gi'),''); + content = content.replace(new RegExp('<[ ]*object','gi'),'','gi'),''); + + // Parse all embed tags + while ((startPos = content.indexOf('', startPos); + var attribs = TinyMCE_FlashPlugin._parseAttributes(content.substring(startPos + 6, endPos)); + embedList[embedList.length] = attribs; + } + + // Parse all object tags and replace them with images from the embed data + var index = 0; + while ((startPos = content.indexOf('= embedList.length) + break; + + var attribs = embedList[index]; + + // Find end of object + endPos = content.indexOf('', startPos); + endPos += 9; + + // Insert image + var contentAfter = content.substring(endPos); + content = content.substring(0, startPos); + content += '' + content.substring(endPos); + content += contentAfter; + index++; + + startPos++; + } + + // Parse all embed tags and replace them with images from the embed data + var index = 0; + while ((startPos = content.indexOf('= embedList.length) + break; + + var attribs = embedList[index]; + + // Find end of embed + endPos = content.indexOf('>', startPos); + endPos += 9; + + // Insert image + var contentAfter = content.substring(endPos); + content = content.substring(0, startPos); + content += '' + content.substring(endPos); + content += contentAfter; + index++; + + startPos++; + } + + break; + + case "get_from_editor": + // Parse all img tags and replace them with object+embed + var startPos = -1; + + while ((startPos = content.indexOf('', startPos); + var attribs = TinyMCE_FlashPlugin._parseAttributes(content.substring(startPos + 4, endPos)); + + // Is not flash, skip it + if (attribs['class'] != "mceItemFlash") + continue; + + endPos += 2; + + var embedHTML = ''; + var wmode = tinyMCE.getParam("flash_wmode", ""); + var quality = tinyMCE.getParam("flash_quality", "high"); + var menu = tinyMCE.getParam("flash_menu", "false"); + + // Insert object + embed + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + embedHTML += ''; + + // Insert embed/object chunk + chunkBefore = content.substring(0, startPos); + chunkAfter = content.substring(endPos); + content = chunkBefore + embedHTML + chunkAfter; + } + break; + } + + // Pass through to next handler in chain + return content; + }, + + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + if (node == null) + return; + + do { + if (node.nodeName == "IMG" && tinyMCE.getAttrib(node, 'class').indexOf('mceItemFlash') == 0) { + tinyMCE.switchClass(editor_id + '_flash', 'mceButtonSelected'); + return true; + } + } while ((node = node.parentNode)); + + tinyMCE.switchClass(editor_id + '_flash', 'mceButtonNormal'); + + return true; + }, + + // Private plugin internal functions + + _parseAttributes : function(attribute_string) { + var attributeName = ""; + var attributeValue = ""; + var withInName; + var withInValue; + var attributes = new Array(); + var whiteSpaceRegExp = new RegExp('^[ \n\r\t]+', 'g'); + + if (attribute_string == null || attribute_string.length < 2) + return null; + + withInName = withInValue = false; + + for (var i=0; i +
+ + +
+
+
+ {$lang_flash_general} + + + + + + + + + + + + + + +
+ + + + + +
 
+
 
+ +  x  + +
+
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/flash/images/flash.gif b/phpgwapi/js/tiny_mce/plugins/flash/images/flash.gif new file mode 100644 index 0000000000..cb192e6ced Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/flash/images/flash.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/flash/jscripts/flash.js b/phpgwapi/js/tiny_mce/plugins/flash/jscripts/flash.js new file mode 100644 index 0000000000..4f08077268 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/jscripts/flash.js @@ -0,0 +1,107 @@ +var url = tinyMCE.getParam("flash_external_list_url"); +if (url != null) { + // Fix relative + if (url.charAt(0) != '/' && url.indexOf('://') == -1) + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById("filebrowsercontainer").innerHTML = getBrowserHTML('filebrowser','file','flash','flash'); + + // Image list outsrc + var html = getFlashListHTML('filebrowser','file','flash','flash'); + if (html == "") + document.getElementById("linklistrow").style.display = 'none'; + else + document.getElementById("linklistcontainer").innerHTML = html; + + var formObj = document.forms[0]; + var swffile = tinyMCE.getWindowArg('swffile'); + var swfwidth = '' + tinyMCE.getWindowArg('swfwidth'); + var swfheight = '' + tinyMCE.getWindowArg('swfheight'); + + if (swfwidth.indexOf('%')!=-1) { + formObj.width2.value = "%"; + formObj.width.value = swfwidth.substring(0,swfwidth.length-1); + } else { + formObj.width2.value = "px"; + formObj.width.value = swfwidth; + } + + if (swfheight.indexOf('%')!=-1) { + formObj.height2.value = "%"; + formObj.height.value = swfheight.substring(0,swfheight.length-1); + } else { + formObj.height2.value = "px"; + formObj.height.value = swfheight; + } + + formObj.file.value = swffile; + formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true); + + selectByValue(formObj, 'linklist', swffile); + + // Handle file browser + if (isVisible('filebrowser')) + document.getElementById('file').style.width = '230px'; + + // Auto select flash in list + if (typeof(tinyMCEFlashList) != "undefined" && tinyMCEFlashList.length > 0) { + for (var i=0; i 0) { + var html = ""; + + html += ''; + + return html; + } + + return ""; +} + +function insertFlash() { + var formObj = document.forms[0]; + var html = ''; + var file = formObj.file.value; + var width = formObj.width.value; + var height = formObj.height.value; + if (formObj.width2.value=='%') { + width = width + '%'; + } + if (formObj.height2.value=='%') { + height = height + '%'; + } + + if (width == "") + width = 100; + + if (height == "") + height = 100; + + html += '' + + '' + file + ''; + + tinyMCEPopup.execCommand("mceInsertContent", true, html); + tinyMCE.selectedInstance.repaint(); + + tinyMCEPopup.close(); +} diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ar.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ar.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ca.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ca.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/cs.js new file mode 100755 index 0000000000..a081e699a5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/cs.js @@ -0,0 +1,16 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.8 2006/02/23 09:05:57 spocke Exp $ + */ + +tinyMCE.addToLang('flash',{ +title : 'Vložit / editovat Flash', +desc : 'Vložit / editovat Flash', +file : 'Flash soubor (.swf)', +size : 'Velikost', +list : 'Flash soubory', +props : 'Flash nastavení', +general : 'Obecné' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/cy.js new file mode 100644 index 0000000000..c2e17e4e13 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/cy.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Mewnosod/golygu Ffilm Flash', +desc : 'Mewnosod/golygu Ffilm Flash', +file : 'Ffeil Flash (.swf)', +size : 'Maint', +list : 'Ffeiliau Flash', +props : 'Priodoleddau Flash', +general : 'Cyffredinol' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/da.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/da.js new file mode 100644 index 0000000000..90cc854c3a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/da.js @@ -0,0 +1,11 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('flash',{ +title : 'Indsæt / rediger Flash-film', +desc : 'Indsæt / rediger Flash-film', +file : 'Flash-Fil (.swf)', +size : 'Størrelse', +list : 'Flash filer', +props : 'Flash egenskaber', +general : 'Genererelt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/de.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/de.js new file mode 100644 index 0000000000..4072c14f40 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/de.js @@ -0,0 +1,11 @@ +// DE lang variables + +tinyMCE.addToLang('flash',{ +title : 'Flash-Datei einfügen/bearbeiten', +desc : 'Flash-Datei einfügen/bearbeiten', +file : 'Flash-Datei (.swf)', +size : 'Größe', +list : 'Flash-Dateien', +props : 'Flash-Eigenschaften', +general : 'Allgemein' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/el.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/el.js new file mode 100755 index 0000000000..6067785129 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/el.js @@ -0,0 +1,11 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('flash',{ +title : ' / Flash', +desc : ' / Flash', +file : '-Flash (.swf)', +size : '', +list : ' Flash', +props : ' Flash', +general : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/en.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/en.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/en.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/es.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/es.js new file mode 100755 index 0000000000..6ab0c9cc08 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/es.js @@ -0,0 +1,20 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('flash',{ +title : 'Insertar / editar película Flash', +desc : 'Insert / edit Flash Movie', +file : 'Fichero Flash (.swf)', +size : 'Tamaño', +list : 'Ficheros Flash', +props : 'Propiedades del Flash', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/fa.js new file mode 100644 index 0000000000..66a8b4e650 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/fa.js @@ -0,0 +1,13 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +insert_flash : '?????? ? ?????? ???? ???', +insert_flash_file : '???? ??? (.swf)', +insert_flash_size : '?????', +flash_props : 'Flash properties' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/fa_ca.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/fa_ca.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/fi.js new file mode 100755 index 0000000000..3cb395c30c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/fi.js @@ -0,0 +1,11 @@ +// FI lang variables + +tinyMCE.addToLang('flash',{ +title : 'Lisää / muokkaa Flash animaatio', +desc : 'Lisää / muokkaa Flash animaatio', +file : 'Flash-tiedosto (.swf)', +size : 'Koko', +list : 'Flash tiedostot', +props : 'Flash ominaisuudet', +general : 'Yleiset' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/fr.js new file mode 100755 index 0000000000..e8647386d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/fr.js @@ -0,0 +1,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', +file : 'Fichier Flash (.swf)', +size : 'Taille', +list : 'Fichiers Flash', +props : 'Propriétés Flash', +general : 'Général' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/fr_ca.js new file mode 100755 index 0000000000..f80d9205d5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/fr_ca.js @@ -0,0 +1,9 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +insert_flash : 'Insrer / Modifier une animation Flash', +insert_flash_file : 'Fichier Flash (.swf)', +insert_flash_size : 'Dimension', +insert_flash_list : 'Fichiers Flash', +flash_props : 'Proprits Flash' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/he.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/he.js new file mode 100755 index 0000000000..09448fed27 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/he.js @@ -0,0 +1,11 @@ +// HE lang variables + +tinyMCE.addToLang('flash',{ +title : '/ Flash', +desc : '/ Flash', +file : ' Flash (.swf)', +size : '', +list : ' Flash', +props : ' Flash', +general : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/hu.js new file mode 100644 index 0000000000..0760f10a64 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/hu.js @@ -0,0 +1,11 @@ +// HU lang variables + +tinyMCE.addToLang('flash',{ +title : 'Flash animci beszrsa / szerkesztse', +desc : 'Flash animci beszrsa / szerkesztse', +file : 'Flash-Fjl (.swf)', +size : 'Mret', +list : 'Flash fjlok', +props : 'Flash tulajdonsgok', +general : 'ltalnos' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/is.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/is.js new file mode 100644 index 0000000000..022a7d6bc1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/is.js @@ -0,0 +1,11 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('flash',{ +title : 'Bæta við / breyta Flash-mynd', +desc : 'Bæta við / breyta Flash-mynd', +file : 'Flash-skrá (.swf)', +size : 'Stærð', +list : 'Flash skrár', +props : 'Flash stillingar', +general : 'Almennt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/it.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/it.js new file mode 100755 index 0000000000..2dd1f9d903 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/it.js @@ -0,0 +1,11 @@ +// IT lang variables + +tinyMCE.addToLang('flash',{ +title : 'Inserisci o modifica oggetto Flash', +desc : 'Inserisci o modifica oggetto Flash', +file : 'File Flash (.swf)', +size : 'Dimensioni', +list : 'Lista file', +props : 'Proprietà', +general : 'Generale' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja-euc-jp.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja-euc-jp.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_euc-jp.js new file mode 100755 index 0000000000..c45aecb0c4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_euc-jp.js @@ -0,0 +1,11 @@ +// Japanese euc variables + +tinyMCE.addToLang('flash',{ +title : 'Խեå', +desc : 'Խեå', +file : 'եå (.swf)', +size : '', +list : 'եåΥե', +props : 'եåΥץѥƥ', +general : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_shift-jis.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_shift-jis.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_shift_jis.js new file mode 100755 index 0000000000..e40a8e9323 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_shift_jis.js @@ -0,0 +1,11 @@ +// Japanese shift_jis variables + +tinyMCE.addToLang('flash',{ +title : '}EҏWtbV', +desc : '}EҏWtbV', +file : 'tbV (.swf)', +size : 'TCY', +list : 'tbṼt@C', +props : 'tbṼvpeB', +general : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_utf-8.js new file mode 100755 index 0000000000..b7a4d630f8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ja_utf-8.js @@ -0,0 +1,11 @@ +// Japanese utf-8 variables + +tinyMCE.addToLang('flash',{ +title : '挿入・編集フラッシュ', +desc : '挿入・編集フラッシュ', +file : 'フラッシュ (.swf)', +size : 'サイズ', +list : 'フラッシュのファイル', +props : 'フラッシュのプロパティ', +general : '一般' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ko.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ko.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/nb.js new file mode 100644 index 0000000000..09eaa6a783 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/nb.js @@ -0,0 +1,11 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('flash',{ +title : 'Lag/oppdater flash-film', +desc : 'Lag/oppdater flash-film', +file : 'Flash-film (.swf)', +size : 'Størrelse', +list : 'Flash-filer', +props : 'Flash egenskaper', +general : 'Generelle innstillinger' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/nl.js new file mode 100644 index 0000000000..5a35fe6583 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/nl.js @@ -0,0 +1,11 @@ +// NL lang variables + +tinyMCE.addToLang('flash',{ +title : 'Flash bestand invoegen/bewerken', +desc : 'Flash bestand invoegen/bewerken', +file : 'Flash bestand (.swf)', +size : 'Grootte', +list : 'Flash bestanden', +props : 'Flash eigenschappen', +general : 'Algemeen' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/nn.js new file mode 100644 index 0000000000..13eb072daa --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/nn.js @@ -0,0 +1,11 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('flash',{ +title : 'Lag/oppdater flash-film', +desc : 'Lag/oppdater flash-film', +file : 'Flash-film (.swf)', +size : 'Størrelse', +list : 'Flash-filer', +props : 'Flash egenskaper', +general : 'Generelle innstillinger' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/pl.js new file mode 100644 index 0000000000..ece0c457f1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/pl.js @@ -0,0 +1,14 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('flash',{ +title : 'Wstaw/edytuj film flash', +desc : 'Wstaw/edytuj film flash', +file : 'Plik flash (.swf)', +size : 'Rozmiar', +list : 'Pliki flash', +props : 'Waciwoci flash', +general : 'Gwne' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/pt.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/pt.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/pt_br.js new file mode 100644 index 0000000000..cf0c2e35a2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/pt_br.js @@ -0,0 +1,19 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('flash',{ +title : 'Inserir / editar Arquivo Flash', +desc : 'Inserir / editar Arquivo Flash', +file : 'Arquivo Flash (.swf)', +size : 'Tamanho', +list : 'Lista de arquivos Flash', +props : 'Propriedades do Flash', +general : 'Geral' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ro.js new file mode 100755 index 0000000000..611cd9d0a1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ro.js @@ -0,0 +1,11 @@ +// RO lang variables + +tinyMCE.addToLang('flash',{ +title : 'Inserează / editează film Flash', +desc : 'Inserare / editare film Flash', +file : 'Fişier-Flash (.swf)', +size : 'Dimensiune', +list : 'Fişiere Flash', +props : 'Proprietăţi Flash', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ru.js new file mode 100644 index 0000000000..6b4805b390 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ru.js @@ -0,0 +1,11 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('flash',{ +title : ' / Flash ', +desc : ' / Flash ', +file : 'Flash- (.swf)', +size : '', +list : 'Flash ', +props : ' Flash', +general : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..0b9a522559 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ru_KOI8-R.js @@ -0,0 +1,11 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('flash',{ +title : ' / Flash ', +desc : ' / Flash ', +file : 'Flash- (.swf)', +size : '', +list : 'Flash ', +props : ' Flash', +general : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/ru_UTF-8.js new file mode 100644 index 0000000000..bdb004f92e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/ru_UTF-8.js @@ -0,0 +1,11 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('flash',{ +title : 'Вставить / Редактировать Flash ролик', +desc : 'Вставить / Редактировать Flash ролик', +file : 'Flash-Файл (.swf)', +size : 'Размер', +list : 'Flash файлы', +props : 'Свойства Flash', +general : 'Основное' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/si.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/si.js new file mode 100644 index 0000000000..d4ff897f30 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/si.js @@ -0,0 +1,11 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('flash',{ +title : 'Vstavi/uredi Flash film', +desc : 'Vstavi/uredi Flash film', +file : 'Flash datoteka (.swf)', +size : 'Velikost', +list : 'Flash datoteke', +props : 'Lastnosti', +general : 'Splošno' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/sk.js new file mode 100644 index 0000000000..46a6c0122c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/sk.js @@ -0,0 +1,16 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +insert_flash : 'Vložiť/editovať Flash Movie', +insert_flash_file : 'Flash súbor (.swf)', +insert_flash_size : 'Veľkosť', +insert_flash_list : 'Zoznam', +flash_props : 'Vlastnosti Flash' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/sq.js new file mode 100755 index 0000000000..214f6003e6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/sq.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Nderfut / ndrysho dokument Flash', +desc : 'Nderfut / ndrysho dokument Flash', +file : 'Dokument Flash (.swf)', +size : 'Madhesia', +list : 'Dokumenta Flash', +props : 'Te dhanat e dokumentit Flash', +general : 'Te pergjithshme' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/sv.js new file mode 100644 index 0000000000..211ba98c95 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/sv.js @@ -0,0 +1,11 @@ +// SE lang variables + +tinyMCE.addToLang('flash',{ +title : 'Skapa/uppdatera flash-film', +desc : 'Skapa/uppdatera flash-film', +file : 'Flash-film (.swf)', +size : 'Storlek', +list : 'Flash-filer', +props : 'Flash egenskaper', +general : 'Generella inställningar' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/th.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/th.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/th.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/tr.js new file mode 100644 index 0000000000..04902b409d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/tr.js @@ -0,0 +1,11 @@ +// TR lang variables + +tinyMCE.addToLang('flash',{ +title : 'Flash ekle/dzenle', +desc : 'Flash ekle/dzenle', +file : 'Flash-Dosyas (.swf)', +size : 'Boyut', +list : 'Flash Dosyalar', +props : 'Flash zellikleri', +general : 'Genel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/tw.js new file mode 100644 index 0000000000..67272bc97b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/tw.js @@ -0,0 +1,11 @@ +// UK lang variables + +tinyMCE.addToLang('flash',{ +title : 'Insert / edit Flash Movie', +desc : 'Insert / edit Flash Movie', +file : 'Flash-File (.swf)', +size : 'Size', +list : 'Flash files', +props : 'Flash properties', +general : 'General' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/vi.js new file mode 100755 index 0000000000..2b36ddf803 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/vi.js @@ -0,0 +1,11 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('flash',{ +title : 'Thêm/sửa phim flash', +desc : 'Thêm/sửa phim flash', +file : 'File flash (.swf)', +size : 'Kích thước', +list : 'File flash', +props : 'Thuộc tính flash', +general : 'Chung' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_cn.js new file mode 100755 index 0000000000..f8d306094d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_cn.js @@ -0,0 +1,12 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('flash',{ +title : '/༭ FlashӰ', +desc : 'FlashӰ', +file : 'Flash(.swf)', +size : 'ߴ', +list : 'Flashб', +props : 'Flash', +general : 'һ' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..1742ae201b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_cn_utf8.js @@ -0,0 +1,12 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('flash',{ +title : '插入/编辑 Flash电影', +desc : 'Flash电影描述', +file : 'Flash插件(.swf)', +size : '尺寸', +list : 'Flash插件列表', +props : 'Flash属性', +general : '一般' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_tw.js new file mode 100644 index 0000000000..31ae8b17f8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_tw.js @@ -0,0 +1,12 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('flash',{ +title : 'Jνs Flash ʵe', +desc : 'Jνs Flash ʵe', +file : 'Flash ʵeɡ] .swf ^', +size : 'jp', +list : 'Flash ʵe', +props : 'Flash ʵeݩ', +general : '@' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..724f7f32eb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/langs/zh_tw_utf8.js @@ -0,0 +1,12 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('flash',{ +title : '插入或編輯 Flash 動畫檔', +desc : '插入或編輯 Flash 動畫檔', +file : 'Flash 動畫檔( .swf )', +size : '大小', +list : 'Flash 動畫檔', +props : 'Flash 動畫檔屬性', +general : '一般' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/flash/readme.txt b/phpgwapi/js/tiny_mce/plugins/flash/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/flash/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/blank.htm b/phpgwapi/js/tiny_mce/plugins/fullpage/blank.htm new file mode 100644 index 0000000000..1e5876a278 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullpage/blank.htm @@ -0,0 +1,9 @@ + + + blank_page + + + + + + diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/css/fullpage.css b/phpgwapi/js/tiny_mce/plugins/fullpage/css/fullpage.css new file mode 100644 index 0000000000..4bc803f65c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullpage/css/fullpage.css @@ -0,0 +1,172 @@ +/* Hide the advanced tab */ +#advanced_tab { + display: none; +} + +#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright { + width: 280px; +} + +#doctype, #docencoding { + width: 200px; +} + +#langcode { + width: 30px; +} + +#bgimage { + width: 220px; +} + +#fontface { + width: 240px; +} + +#leftmargin, #rightmargin, #topmargin, #bottommargin { + width: 50px; +} + +.panel_wrapper div.current { + height: 400px; +} + +#stylesheet, #style { + width: 240px; +} + +/* Head list classes */ + +.headlistwrapper { + width: 100%; +} + +.addbutton, .removebutton, .moveupbutton, .movedownbutton { + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: default; + display: block; + width: 20px; + height: 20px; +} + +.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover { + border: 1px solid #0A246A; + background-color: #B6BDD2; +} + +.addbutton { + background-image: url('../images/add.gif'); + float: left; + margin-right: 3px; +} + +.removebutton { + background-image: url('../images/remove.gif'); + float: left; +} + +.moveupbutton { + background-image: url('../images/move_up.gif'); + float: left; + margin-right: 3px; +} + +.movedownbutton { + background-image: url('../images/move_down.gif'); + float: left; +} + +.selected { + border: 1px solid #0A246A; + background-color: #B6BDD2; +} + +.toolbar { + width: 100%; +} + +#headlist { + width: 100%; + margin-top: 3px; + font-size: 11px; +} + +#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element { + display: none; +} + +#addmenu { + position: absolute; + border: 1px solid gray; + display: none; + z-index: 100; + background-color: white; +} + +#addmenu a { + display: block; + width: 100%; + line-height: 20px; + text-decoration: none; + background-color: white; +} + +#addmenu a:hover { + background-color: #B6BDD2; + color: black; +} + +#addmenu span { + padding-left: 10px; + padding-right: 10px; +} + +#updateElementPanel { + display: none; +} + +#script_element .panel_wrapper div.current { + height: 108px; +} + +#style_element .panel_wrapper div.current { + height: 108px; +} + +#link_element .panel_wrapper div.current { + height: 140px; +} + +#element_script_value { + width: 100%; + height: 100px; +} + +#element_comment_value { + width: 100%; + height: 120px; +} + +#element_style_value { + width: 100%; + height: 100px; +} + +#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title { + width: 250px; +} + +.updateElementButton { + margin-top: 3px; +} + +/* MSIE specific styles */ + +* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton { + width: 22px; + height: 22px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/fullpage/editor_plugin.js new file mode 100644 index 0000000000..4538a5f53c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullpage/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('fullpage','en,tr,sv');var TinyMCE_FullPagePlugin={getInfo:function(){return{longname:'Fullpage',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullpage.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"fullpage":return tinyMCE.getButtonHTML(cn,'lang_fullpage_desc','{$pluginurl}/images/fullpage.gif','mceFullPageProperties');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceFullPageProperties":var template=new Array();template['file']='../../plugins/fullpage/fullpage.htm';template['width']=430;template['height']=485+(tinyMCE.isOpera?5:0);template['width']+=tinyMCE.getLang('lang_fullpage_delta_width',0);template['height']+=tinyMCE.getLang('lang_fullpage_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceFullPageUpdate":TinyMCE_FullPagePlugin._addToHead(tinyMCE.getInstanceById(editor_id));return true;}return false;},cleanup:function(type,content,inst){switch(type){case"insert_to_editor":var tmp=content.toLowerCase();var pos=tmp.indexOf('',pos);pos2=tmp.lastIndexOf('');inst.fullpageTopContent=content.substring(0,pos+1);content=content.substring(pos+1,pos2);}else{if(!inst.fullpageTopContent){var docType=tinyMCE.getParam("fullpage_default_doctype",'');var enc=tinyMCE.getParam("fullpage_default_encoding",'utf-8');var title=tinyMCE.getParam("fullpage_default_title",'Untitled document');var lang=tinyMCE.getParam("fullpage_default_langcode",'en');var pi=tinyMCE.getParam("fullpage_default_xml_pi",true);var ff=tinyMCE.getParam("fullpage_default_font_family","");var fz=tinyMCE.getParam("fullpage_default_font_size","");var ds=tinyMCE.getParam("fullpage_default_style","");var dtc=tinyMCE.getParam("fullpage_default_text_color","");title=title.replace(/&/g,'&');title=title.replace(/\"/g,'"');title=title.replace(//g,'>');tmp='';if(pi)tmp+='\n';tmp+=docType+'\n';tmp+='\n';tmp+='\n';tmp+='\t'+title+'\n';tmp+='\t\n';tmp+='\n';tmp+='\n";break;}return content;},_addToHead:function(inst){var doc=inst.getDoc();var head=doc.getElementsByTagName("head")[0];var body=doc.body;var h=inst.fullpageTopContent;var e=doc.createElement("body");var nl,i,le,tmp;h=h.replace(/(\r|\n)/gi,'');h=h.replace(/<\?[^\>]*\>/gi,'');h=h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi,'');h=h.replace(//gi,'');h=h.replace(//gi,'');h=h.replace(/<(meta|base)[^>]*>/gi,'');h=h.replace(/]*)\/>/gi,'
');h=h.replace(/0){body.style.cssText=tinyMCE.getAttrib(nl[0],'style');if((tmp=tinyMCE.getAttrib(nl[0],'leftmargin'))!=''&&body.style.marginLeft=='')body.style.marginLeft=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'rightmargin'))!=''&&body.style.marginRight=='')body.style.marginRight=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'topmargin'))!=''&&body.style.marginTop=='')body.style.marginTop=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'bottommargin'))!=''&&body.style.marginBottom=='')body.style.marginBottom=tmp+"px";body.dir=tinyMCE.getAttrib(nl[0],'dir');body.vLink=tinyMCE.getAttrib(nl[0],'vlink');body.aLink=tinyMCE.getAttrib(nl[0],'alink');body.link=tinyMCE.getAttrib(nl[0],'link');body.text=tinyMCE.getAttrib(nl[0],'text');if((tmp=tinyMCE.getAttrib(nl[0],'background'))!='')body.style.backgroundImage=tmp;if((tmp=tinyMCE.getAttrib(nl[0],'bgcolor'))!='')body.style.backgroundColor=tmp;}}};tinyMCE.addPlugin("fullpage",TinyMCE_FullPagePlugin);
\ No newline at end of file
diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/fullpage/editor_plugin_src.js
new file mode 100644
index 0000000000..ab86257800
--- /dev/null
+++ b/phpgwapi/js/tiny_mce/plugins/fullpage/editor_plugin_src.js
@@ -0,0 +1,229 @@
+/**
+ * $RCSfile: editor_plugin_src.js,v $
+ * $Revision: 1.12 $
+ * $Date: 2006/02/23 16:16:34 $
+ *
+ * @author Moxiecode
+ * @copyright Copyright  2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('fullpage', 'en,tr,sv');
+
+var TinyMCE_FullPagePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Fullpage',
+			author : 'Moxiecode Systems',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullpage.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "fullpage":
+				return tinyMCE.getButtonHTML(cn, 'lang_fullpage_desc', '{$pluginurl}/images/fullpage.gif', 'mceFullPageProperties');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceFullPageProperties":
+				var template = new Array();
+
+				template['file']   = '../../plugins/fullpage/fullpage.htm';
+				template['width']  = 430;
+				template['height'] = 485 + (tinyMCE.isOpera ? 5 : 0);
+
+				template['width'] += tinyMCE.getLang('lang_fullpage_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_fullpage_delta_height', 0);
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+			return true;
+
+			case "mceFullPageUpdate":
+				TinyMCE_FullPagePlugin._addToHead(tinyMCE.getInstanceById(editor_id));
+				return true;
+	   }
+
+	   // Pass to next handler in chain
+	   return false;
+	},
+
+	cleanup : function(type, content, inst) {
+		switch (type) {
+			case "insert_to_editor":
+				var tmp = content.toLowerCase();
+				var pos = tmp.indexOf('', pos);
+					pos2 = tmp.lastIndexOf('');
+					inst.fullpageTopContent = content.substring(0, pos + 1);
+					content = content.substring(pos + 1, pos2);
+					// tinyMCE.debug(inst.fullpageTopContent, content);
+				} else {
+					if (!inst.fullpageTopContent) {
+						var docType = tinyMCE.getParam("fullpage_default_doctype", '');
+						var enc = tinyMCE.getParam("fullpage_default_encoding", 'utf-8');
+						var title = tinyMCE.getParam("fullpage_default_title", 'Untitled document');
+						var lang = tinyMCE.getParam("fullpage_default_langcode", 'en');
+						var pi = tinyMCE.getParam("fullpage_default_xml_pi", true);
+						var ff = tinyMCE.getParam("fullpage_default_font_family", "");
+						var fz = tinyMCE.getParam("fullpage_default_font_size", "");
+						var ds = tinyMCE.getParam("fullpage_default_style", "");
+						var dtc = tinyMCE.getParam("fullpage_default_text_color", "");
+
+						// Xml encode it
+						title = title.replace(/&/g, '&');
+						title = title.replace(/\"/g, '"');
+						title = title.replace(//g, '>');
+
+						tmp = '';
+
+						// Make default chunk
+						if (pi)
+							tmp += '\n';
+
+						tmp += docType + '\n';
+						tmp += '\n';
+						tmp += '\n';
+						tmp += '\t' + title + '\n';
+						tmp += '\t\n';
+						tmp += '\n';
+						tmp += '\n";
+
+				break;
+		}
+
+		// Pass through to next handler in chain
+		return content;
+	},
+
+	// Private plugin internal methods
+
+	_addToHead : function(inst) {
+		var doc = inst.getDoc();
+		var head = doc.getElementsByTagName("head")[0];
+		var body = doc.body;
+		var h = inst.fullpageTopContent;
+		var e = doc.createElement("body");
+		var nl, i, le, tmp;
+
+		// Remove stuff we don't want
+		h = h.replace(/(\r|\n)/gi, '');
+		h = h.replace(/<\?[^\>]*\>/gi, '');
+		h = h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi, '');
+		h = h.replace(//gi, '');
+		h = h.replace(//gi, '');
+		h = h.replace(/<(meta|base)[^>]*>/gi, '');
+
+		// Make link and style elements into pre
+		h = h.replace(/]*)\/>/gi, '
');
+		//h = h.replace(/]*)>(.*?)<\/style>/gi, '
$2
'); + + // Make body a div + h = h.replace(/ 0) { + body.style.cssText = tinyMCE.getAttrib(nl[0], 'style'); + + if ((tmp = tinyMCE.getAttrib(nl[0], 'leftmargin')) != '' && body.style.marginLeft == '') + body.style.marginLeft = tmp + "px"; + + if ((tmp = tinyMCE.getAttrib(nl[0], 'rightmargin')) != '' && body.style.marginRight == '') + body.style.marginRight = tmp + "px"; + + if ((tmp = tinyMCE.getAttrib(nl[0], 'topmargin')) != '' && body.style.marginTop == '') + body.style.marginTop = tmp + "px"; + + if ((tmp = tinyMCE.getAttrib(nl[0], 'bottommargin')) != '' && body.style.marginBottom == '') + body.style.marginBottom = tmp + "px"; + + body.dir = tinyMCE.getAttrib(nl[0], 'dir'); + body.vLink = tinyMCE.getAttrib(nl[0], 'vlink'); + body.aLink = tinyMCE.getAttrib(nl[0], 'alink'); + body.link = tinyMCE.getAttrib(nl[0], 'link'); + body.text = tinyMCE.getAttrib(nl[0], 'text'); + + if ((tmp = tinyMCE.getAttrib(nl[0], 'background')) != '') + body.style.backgroundImage = tmp; + + if ((tmp = tinyMCE.getAttrib(nl[0], 'bgcolor')) != '') + body.style.backgroundColor = tmp; + } + } +}; + +tinyMCE.addPlugin("fullpage", TinyMCE_FullPagePlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/fullpage.htm b/phpgwapi/js/tiny_mce/plugins/fullpage/fullpage.htm new file mode 100644 index 0000000000..bc3708c9f0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullpage/fullpage.htm @@ -0,0 +1,577 @@ + + + {$lang_fullpage_title} + + + + + + + + + +
+ + +
+
+
+ {$lang_fullpage_meta_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
 
 
 
 
  + +
+
+ +
+ {$lang_fullpage_langprops} + + + + + + + + + + + + + + + + + + + + + + +
+ +
  + +
 
+ +
 
+
+
+ +
+
+ {$lang_fullpage_appearance_textprops} + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + +
 
+
+
+ +
+ {$lang_fullpage_appearance_bgprops} + + + + + + + + + + +
+ + + + + +
 
+
+ + + + + +
 
+
+
+ +
+ {$lang_fullpage_appearance_marginprops} + + + + + + + + + + + + + + +
+
+ +
+ {$lang_fullpage_appearance_linkprops} + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+
+ + + + + +
 
+
+ + + + + +
 
+
  
+
+ +
+ {$lang_fullpage_appearance_style} + + + + + + + + + + +
+ + + + +
 
+
+
+ +
+ + +
+ {$lang_fullpage_head_elements} + +
+
+
+ + +
+
+ + +
+
+
+ +
+
+ +
+ {$lang_fullpage_meta_element} + + + + + + + + + + + + + + +
+ + +
+ +
+ {$lang_fullpage_title_element} + + + + + + +
+ + +
+ +
+ {$lang_fullpage_script_element} + + + +
+ +
+
+ + + + + + + + + + + + + + + + + +
+ + + + +
 
+
+ +
+ +
+
+ + +
+ +
+ {$lang_fullpage_style_element} + + + +
+ +
+
+ + + + + + + + + +
+
+ +
+ +
+
+ + +
+ +
+ {$lang_fullpage_base_element} + + + + + + + + + + +
+ + +
+ + + +
+ {$lang_fullpage_comment_element} + + + + +
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/images/add.gif b/phpgwapi/js/tiny_mce/plugins/fullpage/images/add.gif new file mode 100644 index 0000000000..d6291d97d0 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/fullpage/images/add.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/images/fullpage.gif b/phpgwapi/js/tiny_mce/plugins/fullpage/images/fullpage.gif new file mode 100644 index 0000000000..1ddefcd1fa Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/fullpage/images/fullpage.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/images/move_down.gif b/phpgwapi/js/tiny_mce/plugins/fullpage/images/move_down.gif new file mode 100644 index 0000000000..5bec71fffc Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/fullpage/images/move_down.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/images/move_up.gif b/phpgwapi/js/tiny_mce/plugins/fullpage/images/move_up.gif new file mode 100644 index 0000000000..2f489c909e Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/fullpage/images/move_up.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/images/remove.gif b/phpgwapi/js/tiny_mce/plugins/fullpage/images/remove.gif new file mode 100644 index 0000000000..299c684efc Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/fullpage/images/remove.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/fullpage/jscripts/fullpage.js b/phpgwapi/js/tiny_mce/plugins/fullpage/jscripts/fullpage.js new file mode 100644 index 0000000000..e45799212d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullpage/jscripts/fullpage.js @@ -0,0 +1,580 @@ +// + +var defaultDocTypes = + 'XHTML 1.0 Transitional=,' + + 'XHTML 1.0 Frameset=,' + + 'XHTML 1.0 Strict=,' + + 'XHTML 1.1=">,' + + 'HTML 4.01 Transitional=,' + + 'HTML 4.01 Strict=,' + + 'HTML 4.01 Frameset='; + +var defaultEncodings = + 'Western european (iso-8859-1)=iso-8859-1,' + + 'Central European (iso-8859-2)=iso-8859-2,' + + 'Unicode (UTF-8)=utf-8,' + + 'Chinese traditional (Big5)=big5,' + + 'Cyrillic (iso-8859-5)=iso-8859-5,' + + 'Japanese (iso-2022-jp)=iso-2022-jp,' + + 'Greek (iso-8859-7)=iso-8859-7,' + + 'Korean (iso-2022-kr)=iso-2022-kr,' + + 'ASCII (us-ascii)=us-ascii'; + +var defaultMediaTypes = + 'all=all,' + + 'screen=screen,' + + 'print=print,' + + 'tty=tty,' + + 'tv=tv,' + + 'projection=projection,' + + 'handheld=handheld,' + + 'braille=braille,' + + 'aural=aural'; + +var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings'; +var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px'; + +var addMenuLayer = new MCLayer("addmenu"); +var lastElementType = null; +var topDoc; + +function init() { + var f = document.forms['fullpage']; + var i, p, doctypes, encodings, mediaTypes, fonts; + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + + // Setup doctype select box + doctypes = tinyMCE.getParam("fullpage_doctypes", defaultDocTypes).split(','); + for (i=0; i 1) + addSelectValue(f, 'doctypes', p[0], p[1]); + } + + // Setup fonts select box + fonts = tinyMCE.getParam("fullpage_fonts", defaultFontNames).split(';'); + for (i=0; i 1) + addSelectValue(f, 'fontface', p[0], p[1]); + } + + // Setup fontsize select box + fonts = tinyMCE.getParam("fullpage_fontsizes", defaultFontSizes).split(','); + for (i=0; i 1) { + addSelectValue(f, 'element_style_media', p[0], p[1]); + addSelectValue(f, 'element_link_media', p[0], p[1]); + } + } + + // Setup encodings select box + encodings = tinyMCE.getParam("fullpage_encodings", defaultEncodings).split(','); + for (i=0; i 1) { + addSelectValue(f, 'docencoding', p[0], p[1]); + addSelectValue(f, 'element_script_charset', p[0], p[1]); + addSelectValue(f, 'element_link_charset', p[0], p[1]); + } + } + + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); + document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color'); + //document.getElementById('hover_color_pickcontainer').innerHTML = getColorPickerHTML('hover_color_pick','hover_color'); + document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color'); + document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color'); + document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor'); + document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage'); + document.getElementById('link_href_pickcontainer').innerHTML = getBrowserHTML('link_href_browser','element_link_href','file','fullpage'); + document.getElementById('script_src_pickcontainer').innerHTML = getBrowserHTML('script_src_browser','element_script_src','file','fullpage'); + document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage'); + + // Resize some elements + if (isVisible('stylesheetbrowser')) + document.getElementById('stylesheet').style.width = '220px'; + + if (isVisible('link_href_browser')) + document.getElementById('element_link_href').style.width = '230px'; + + if (isVisible('bgimage_browser')) + document.getElementById('bgimage').style.width = '210px'; + + // Create iframe + var iframe = document.createElement('iframe'); + + iframe.id = 'tempFrame'; + iframe.style.display = 'none'; + iframe.src = tinyMCE.baseURL + "/plugins/fullpage/blank.htm"; + + document.body.appendChild(iframe); + + tinyMCEPopup.resizeToInnerSize(); +} + +function setupIframe(doc) { + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var hc = inst.fullpageTopContent; + var f = document.forms[0]; + var xmlVer, xmlEnc, docType; + var nodes, i, x, name, value, tmp, l; + + // Keep it from not loading/executing stuff + hc = hc.replace(/ + + + + +
+ +
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/images/fullscreen.gif b/phpgwapi/js/tiny_mce/plugins/fullscreen/images/fullscreen.gif new file mode 100644 index 0000000000..66fa6d9217 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/fullscreen/images/fullscreen.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ar.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ar.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ca.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ca.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/cs.js new file mode 100755 index 0000000000..df6f362ad0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.5 2006/01/11 14:25:48 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +fullscreen_title : 'Na celou obrazovku', +fullscreen_desc : 'Přepnout na celou obrazovku' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/cy.js new file mode 100644 index 0000000000..c527967c5e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/cy.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Dull sgrîn-lawn', +fullscreen_desc : 'Gwrthdroi dull sgrîn-lawn' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/da.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/da.js new file mode 100644 index 0000000000..b07fe8f55c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/da.js @@ -0,0 +1,6 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fuldskærmstilstand', +fullscreen_desc : 'Tænd / sluk for fuldskærm' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/de.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/de.js new file mode 100644 index 0000000000..e1d0fa7fa8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/de.js @@ -0,0 +1,6 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Vollbild-Modus', +fullscreen_desc : 'Vollbild-Modus umschalten' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/el.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/el.js new file mode 100755 index 0000000000..ed50faddbd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/el.js @@ -0,0 +1,6 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +fullscreen_title : ' ', +fullscreen_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/en.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/en.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/en.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/es.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/es.js new file mode 100755 index 0000000000..c4b552c856 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/es.js @@ -0,0 +1,8 @@ +// ES lang variables by Alvaro Velasco and Adolfo Sanz De Diego (asanzdiego) +// Last Updated : October 2005 +// TinyMCE Version : 2.0RC3 + +tinyMCE.addToLang('',{ +fullscreen_title : 'Pantalla completa', +fullscreen_desc : 'Cambiar a pantalla completa' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fa.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fa.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fa_ca.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fa_ca.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fi.js new file mode 100755 index 0000000000..69290c0431 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fi.js @@ -0,0 +1,6 @@ +// FI lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Kokoruututila', +fullscreen_desc : 'Vaihda kokoruututila päälle/pois' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fr.js new file mode 100755 index 0000000000..15238a74a4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fr.js @@ -0,0 +1,7 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +tinyMCE.addToLang('',{ +fullscreen_title : 'Affichage plein écran', +fullscreen_desc : 'Affichage plein écran/normal' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fr_ca.js new file mode 100755 index 0000000000..a810964a03 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/fr_ca.js @@ -0,0 +1,6 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +fullscreen_title : 'Mode plein cran', +fullscreen_desc : 'Basculer le mode plein crans' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/he.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/he.js new file mode 100755 index 0000000000..13663dab67 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/he.js @@ -0,0 +1,6 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +fullscreen_title : ' ', +fullscreen_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/hu.js new file mode 100644 index 0000000000..520124543d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/hu.js @@ -0,0 +1,6 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Teljeskpernys md', +fullscreen_desc : 'Vlts teljeskpernys mdra' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/is.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/is.js new file mode 100644 index 0000000000..5cec332b8b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/is.js @@ -0,0 +1,6 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +fullscreen_title : 'Heilskjár', +fullscreen_desc : 'Skipta í / úr heilskjá' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/it.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/it.js new file mode 100755 index 0000000000..132ae129dc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/it.js @@ -0,0 +1,6 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Modalità a schermo intero', +fullscreen_desc : 'Abilita o disabilita la modalità a schermo intero' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja-euc-jp.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja-euc-jp.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_euc-jp.js new file mode 100755 index 0000000000..28226b3bd7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_euc-jp.js @@ -0,0 +1,6 @@ +// Japanese euc variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'ɽ', +fullscreen_desc : 'ɽȥ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_shift-jis.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_shift-jis.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_shift_jis.js new file mode 100755 index 0000000000..b9e7c13613 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_shift_jis.js @@ -0,0 +1,6 @@ +// Japanese shift_jis variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Sʕ\', +fullscreen_desc : 'Sʕ\gO' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_utf-8.js new file mode 100755 index 0000000000..b840fd53de --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ja_utf-8.js @@ -0,0 +1,6 @@ +// Japanese utf-8 variables + +tinyMCE.addToLang('',{ +fullscreen_title : '全画面表示', +fullscreen_desc : '全画面表示をトグル' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ko.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ko.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nb.js new file mode 100644 index 0000000000..be4047f17b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nb.js @@ -0,0 +1,6 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullskjerm tilstand', +fullscreen_desc : 'Hopp fra/til fullskjermtilstand' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nl.js new file mode 100644 index 0000000000..8e28e208ce --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nl.js @@ -0,0 +1,6 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Volledig scherm', +fullscreen_desc : 'Volledig scherm aan/uit' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nn.js new file mode 100644 index 0000000000..5b6f3e7a9f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/nn.js @@ -0,0 +1,6 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullskjerm tilstand', +fullscreen_desc : 'Hopp fra/til fullskjermtilstand' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pl.js new file mode 100644 index 0000000000..4dffb2e5e2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pl.js @@ -0,0 +1,9 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('',{ +fullscreen_title : 'Tryb penoekranowy', +fullscreen_desc : 'Przecz w tryb penoekranowy' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pt.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pt.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pt_br.js new file mode 100644 index 0000000000..433615c3a5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/pt_br.js @@ -0,0 +1,14 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +fullscreen_title : 'Modo de Janela Inteira (Fullscreen)', +fullscreen_desc : 'Alterar para modo de janela inteira' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ro.js new file mode 100755 index 0000000000..326d0ce388 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ro.js @@ -0,0 +1,6 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Afişare pe tot ecranul', +fullscreen_desc : 'Comută modul de afişare' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru.js new file mode 100644 index 0000000000..ab0d9a4a77 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru.js @@ -0,0 +1,6 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +fullscreen_title : ' ', +fullscreen_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..3b17116ad7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru_KOI8-R.js @@ -0,0 +1,6 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +fullscreen_title : ' ', +fullscreen_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru_UTF-8.js new file mode 100644 index 0000000000..d4fd1b3b78 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/ru_UTF-8.js @@ -0,0 +1,6 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +fullscreen_title : 'Полноэкранный режим', +fullscreen_desc : 'Включить полноэкранный режим' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/si.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/si.js new file mode 100644 index 0000000000..e1ce11d934 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/si.js @@ -0,0 +1,6 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +fullscreen_title : 'Celozaslonski način', +fullscreen_desc : 'Vklopi/izklopi celozaslonski način' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sk.js new file mode 100644 index 0000000000..4f77916940 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sk.js @@ -0,0 +1,14 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +fullscreen_title : 'Na celú obrazovku', +fullscreen_desc : 'Prepnúť na celú obrazovku' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sq.js new file mode 100755 index 0000000000..cef8431441 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sq.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Modaliteti i ekranit te plote', +fullscreen_desc : 'Cakto modalitetin e ekranit te plote' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sv.js new file mode 100644 index 0000000000..5f671f0874 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/sv.js @@ -0,0 +1,6 @@ +// SV lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullskärmsläge', +fullscreen_desc : 'Hoppa från/till fullskärmsläge' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/th.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/th.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/th.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/tr.js new file mode 100644 index 0000000000..229094d3e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/tr.js @@ -0,0 +1,6 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Tam ekran modu', +fullscreen_desc : 'Tam ekran moduna ge' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/tw.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/tw.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/vi.js new file mode 100644 index 0000000000..9a2ea6eca0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/vi.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +fullscreen_title : 'Fullscreen mode', +fullscreen_desc : 'Toggle fullscreen mode' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_cn.js new file mode 100755 index 0000000000..fe6b82b6a5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +fullscreen_title : 'ȫģʽ', +fullscreen_desc : 'лȫģʽ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..44006dd3d2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_cn_utf8.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +fullscreen_title : '全屏模式', +fullscreen_desc : '切换全屏模式' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_tw.js new file mode 100644 index 0000000000..47a456ac4b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_tw.js @@ -0,0 +1,7 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +fullscreen_title : 'ùҦ', +fullscreen_desc : 'নùҦ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..2442c4bfc5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/langs/zh_tw_utf8.js @@ -0,0 +1,7 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +fullscreen_title : '全螢幕模式', +fullscreen_desc : '轉成全螢幕模式' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/fullscreen/readme.txt b/phpgwapi/js/tiny_mce/plugins/fullscreen/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/fullscreen/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/iespell/editor_plugin.js new file mode 100644 index 0000000000..33a2b788cc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('iespell','en,tr,cs,el,fr_ca,it,ko,sv,zh_cn,fr,de,pl,pt_br,nl,da,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_IESpellPlugin={getInfo:function(){return{longname:'IESpell (MSIE Only)',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_iespell.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){if(cn=="iespell"&&(tinyMCE.isMSIE&&!tinyMCE.isOpera))return tinyMCE.getButtonHTML(cn,'lang_iespell_desc','{$pluginurl}/images/iespell.gif','mceIESpell');return"";},execCommand:function(editor_id,element,command,user_interface,value){if(command=="mceIESpell"){try{var ieSpell=new ActiveXObject("ieSpell.ieSpellExtension");ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);}catch(e){if(e.number==-2146827859){if(confirm(tinyMCE.getLang("lang_iespell_download","",true)))window.open('http://www.iespell.com/download.php','ieSpellDownload','');}else alert("Error Loading ieSpell: Exception "+e.number);}return true;}return false;}};tinyMCE.addPlugin("iespell",TinyMCE_IESpellPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/iespell/editor_plugin_src.js new file mode 100644 index 0000000000..ef1c875a30 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/editor_plugin_src.js @@ -0,0 +1,60 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.20 $ + * $Date: 2006/02/10 16:29:39 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('iespell', 'en,tr,cs,el,fr_ca,it,ko,sv,zh_cn,fr,de,pl,pt_br,nl,da,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,zh_tw,zh_tw_utf8,sk'); + +var TinyMCE_IESpellPlugin = { + getInfo : function() { + return { + longname : 'IESpell (MSIE Only)', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_iespell.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + /** + * Returns the HTML contents of the iespell control. + */ + getControlHTML : function(cn) { + // Is it the iespell control and is the brower MSIE. + if (cn == "iespell" && (tinyMCE.isMSIE && !tinyMCE.isOpera)) + return tinyMCE.getButtonHTML(cn, 'lang_iespell_desc', '{$pluginurl}/images/iespell.gif', 'mceIESpell'); + + return ""; + }, + + /** + * Executes the mceIESpell command. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle ieSpellCommand + if (command == "mceIESpell") { + try { + var ieSpell = new ActiveXObject("ieSpell.ieSpellExtension"); + ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement); + } catch (e) { + if (e.number == -2146827859) { + if (confirm(tinyMCE.getLang("lang_iespell_download", "", true))) + window.open('http://www.iespell.com/download.php', 'ieSpellDownload', ''); + } else + alert("Error Loading ieSpell: Exception " + e.number); + } + + return true; + } + + // Pass to next handler in chain + return false; + } +}; + +tinyMCE.addPlugin("iespell", TinyMCE_IESpellPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/images/iespell.gif b/phpgwapi/js/tiny_mce/plugins/iespell/images/iespell.gif new file mode 100644 index 0000000000..a9a2891891 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/iespell/images/iespell.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ar.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ar.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ca.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ca.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/cs.js new file mode 100755 index 0000000000..8f9996a5e5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/cs.js @@ -0,0 +1,12 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.5 2006/01/11 14:25:48 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +iespell_desc : 'Spustit kontrolu pravopisu', +iespell_download : "ieSpell nedetekován. Klikněte na OK a otevřete stahovací stránku." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/cy.js new file mode 100644 index 0000000000..e7671a2e71 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/cy.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Dechrau gwirio sillafu', +iespell_download : "Methwyd canfod ieSpell. Cliciwch OK i fynd i'r dudalen lawrlwytho." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/da.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/da.js new file mode 100644 index 0000000000..247deda858 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/da.js @@ -0,0 +1,7 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('',{ +iespell_desc : 'Lav stavekontrol', +iespell_download : "ieSpell kan ikke findes. Klik på OK for at fortsætte til downloadsiden." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/de.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/de.js new file mode 100644 index 0000000000..bc10a50053 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/de.js @@ -0,0 +1,7 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Rechtschreibprüfung', +iespell_download : "ieSpell nicht gefunden. Klicken Sie OK, um die Download-Seite aufzurufen." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/el.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/el.js new file mode 100755 index 0000000000..1399646826 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/el.js @@ -0,0 +1,7 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +iespell_desc : ' ', +iespell_download : " ieSpell . OK ." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/en.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/en.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/en.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/es.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/es.js new file mode 100755 index 0000000000..c5a3d4ce11 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/es.js @@ -0,0 +1,16 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('',{ +iespell_desc : 'Ejecutar corrector ortográfico', +iespell_download : "Corrector ortográfico no detectado. Pulse OK para ir a la página de descarga." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fa.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fa.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fa_ca.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fa_ca.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fi.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fi.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fr.js new file mode 100755 index 0000000000..b086db922c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fr.js @@ -0,0 +1,7 @@ +// 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." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fr_ca.js new file mode 100755 index 0000000000..8904bebe4f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/fr_ca.js @@ -0,0 +1,6 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +iespell_desc : 'Executer le vrificateur d\'orthographe', +iespell_download : "ieSpell n\'a pas t trouv. Cliquez sur OK pour aller au site de tlchargement." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/he.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/he.js new file mode 100755 index 0000000000..1c1fde67f7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/he.js @@ -0,0 +1,6 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +iespell_desc : ' ', +iespell_download : " ieSpell. ." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/hu.js new file mode 100644 index 0000000000..d24a8039c8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/hu.js @@ -0,0 +1,7 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Helyesrsellenrzs indtsa', +iespell_download : "ieSpell nem tallhat. Kattints az OK-ra a letltsi oldalhoz." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/is.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/is.js new file mode 100644 index 0000000000..f302400608 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/is.js @@ -0,0 +1,7 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +iespell_desc : 'Stafsetningarpúki', +iespell_download : "ieSpell ekki til staar. Smelli OK til a sj niurhalssu." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/it.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/it.js new file mode 100755 index 0000000000..199f91bb11 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/it.js @@ -0,0 +1,7 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Esegui controllo ortografico', +iespell_download : "ieSpell non trovato. Fai clic su OK per visitare la pagina di download." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja-euc-jp.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja-euc-jp.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_euc-jp.js new file mode 100755 index 0000000000..7176af17c0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_euc-jp.js @@ -0,0 +1,7 @@ +// Japanese euc variables + +tinyMCE.addToLang('',{ +iespell_desc : 'ڥå򤹤', +iespell_download : "ڥåʤ. OK򥯥åСɤعԤ." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_shift-jis.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_shift-jis.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_shift_jis.js new file mode 100755 index 0000000000..91a37fe067 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_shift_jis.js @@ -0,0 +1,7 @@ +// Japanese shif_jis variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Xy`FbN', +iespell_download : "Xy`FbNȂ. OKNbN΁A_E[h֍s." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_utf-8.js new file mode 100755 index 0000000000..4211fce090 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ja_utf-8.js @@ -0,0 +1,7 @@ +// Japanese utf-8 variables + +tinyMCE.addToLang('',{ +iespell_desc : 'スペルチェックをする', +iespell_download : "スペルチェックがない. OKをクリックすれば、ダウンロードへ行く." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ko.js new file mode 100644 index 0000000000..eb03092600 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ko.js @@ -0,0 +1,7 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +iespell_desc : ' ˻ ', +iespell_download : "ieSpell ã ö ϴ. OK ٿεå äö ̵մϴ." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/nb.js new file mode 100644 index 0000000000..71d165f0a4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/nb.js @@ -0,0 +1,6 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +iespell_desc : 'Kjør rettstavingskontroll', +iespell_download : "ieSpell virker ikke å være installert. Klikk OK for å laste hjem." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/nl.js new file mode 100644 index 0000000000..9d3530d94c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/nl.js @@ -0,0 +1,6 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Spellingscontrole', +iespell_download : "ieSpell niet gedetecteerd. Klik op OK om deze te downloaden." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/nn.js new file mode 100644 index 0000000000..85b46a1ea6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/nn.js @@ -0,0 +1,6 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +iespell_desc : 'Kjør rettstavingskontroll', +iespell_download : "ieSpell virker ikke å være installert. Klikk OK for å laste hjem." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/pl.js new file mode 100644 index 0000000000..1b30d97c03 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/pl.js @@ -0,0 +1,8 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl + +tinyMCE.addToLang('',{ +iespell_desc : 'Uruchom sprawdzanie pisowni', +iespell_download : "Nie wykryto pluginu, kliknij aby przej do strony z pluginami." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/pt.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/pt.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/pt_br.js new file mode 100644 index 0000000000..6b808f4876 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/pt_br.js @@ -0,0 +1,14 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +iespell_desc : 'Executar verificao ortogrfica', +iespell_download : "Verificador ieSpell no detectado. Click OK para ir pgina de download." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ro.js new file mode 100755 index 0000000000..ecd84ed274 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ro.js @@ -0,0 +1,7 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Porneşte verificarea ortografică', +iespell_download : "ieSpell nu a fost detectat. Apasă OK pentru a merge la pagina de descărcare." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru.js new file mode 100644 index 0000000000..006af8e8ac --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru.js @@ -0,0 +1,7 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +iespell_desc : ' ', +iespell_download : "ieSpell . OK, ." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..61c7bf23ce --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru_KOI8-R.js @@ -0,0 +1,7 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +iespell_desc : ' ', +iespell_download : "ieSpell . OK, ." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru_UTF-8.js new file mode 100644 index 0000000000..1de0ad6ffe --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/ru_UTF-8.js @@ -0,0 +1,7 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +iespell_desc : 'Запустить проверку орфографии', +iespell_download : "ieSpell не обнаружен. нажмите OK, чтобы перейти на страницу загрузки." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/si.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/si.js new file mode 100644 index 0000000000..113f2e3e0e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/si.js @@ -0,0 +1,7 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +iespell_desc : 'Zaženi črkovanje', +iespell_download : "ieSpell ni zaznan. Kliknite OK za skok na stran za prenos." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/sk.js new file mode 100644 index 0000000000..0c095171ef --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/sk.js @@ -0,0 +1,14 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +iespell_desc : 'Spustiť kontrolu pravopisu', +iespell_download : "ieSpell nedetekovaný Kliknite na OK a otvorte stahovaciu stránku." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/sq.js new file mode 100755 index 0000000000..b5189a231d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/sq.js @@ -0,0 +1,6 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/sv.js new file mode 100644 index 0000000000..7006885b2a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/sv.js @@ -0,0 +1,6 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Kör rättstavningskontroll', +iespell_download : "ieSpell verkar inte vara installerad. Klicka OK för att ladda hem." +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/th.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/th.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/th.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/tr.js new file mode 100644 index 0000000000..a8273c1d75 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/tr.js @@ -0,0 +1,7 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Yazm denetimini altr', +iespell_download : "ieSpell bulunamad. Download sayfasna gitmek iin 'OK' tklaynz" +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/tw.js new file mode 100644 index 0000000000..c3688e9465 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/tw.js @@ -0,0 +1,7 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +iespell_desc : 'Run spell checking', +iespell_download : "ieSpell not detected. Click OK to go to download page." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/vi.js new file mode 100755 index 0000000000..c58173946c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/vi.js @@ -0,0 +1,7 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +iespell_desc : 'Chạy kiểm tra chính tả', +iespell_download : "Khong thấy kiểm tra chính tả ieSpell. Kích nút OK để đến trang tải xuống." +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_cn.js new file mode 100755 index 0000000000..01848d4741 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +iespell_desc : 'ƴд', +iespell_download : "δ⵽ ieSpell ƴд飬 OK ǰҳ档" +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..67b9e51277 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_cn_utf8.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +iespell_desc : '运行拼写检查', +iespell_download : "未检测到 ieSpell 拼写检查,点击 OK 前往下载页面。" +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_tw.js new file mode 100644 index 0000000000..5345a72b60 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_tw.js @@ -0,0 +1,7 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +iespell_desc : 'rˬd', +iespell_download : "L ieSpell rˬd\CIuTwvUw" +}); diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..936520a20a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/langs/zh_tw_utf8.js @@ -0,0 +1,8 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +iespell_desc : '執行拼字檢查', +iespell_download : "無 ieSpell 拼字檢查功能。點按「確定」後下載安裝" +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/iespell/readme.txt b/phpgwapi/js/tiny_mce/plugins/iespell/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/iespell/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/inlinepopups/css/inlinepopup.css b/phpgwapi/js/tiny_mce/plugins/inlinepopups/css/inlinepopup.css new file mode 100644 index 0000000000..43be823cdf --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/inlinepopups/css/inlinepopup.css @@ -0,0 +1,69 @@ +/* Window classes */ + +.mceWindow { + position: absolute; + left: 0; + top: 0; + border: 1px solid black; + background-color: #D4D0C8; +} + +.mceWindowHead { + background-color: #334F8D; + width: 100%; + height: 18px; + cursor: move; + overflow: hidden; +} + +.mceWindowBody { + clear: both; + background-color: white; +} + +.mceWindowStatusbar { + background-color: #D4D0C8; + height: 12px; + border-top: 1px solid black; +} + +.mceWindowTitle { + float: left; + font-family: "MS Sans Serif"; + font-size: 9pt; + font-weight: bold; + line-height: 18px; + color: white; + margin-left: 2px; + overflow: hidden; +} + +.mceWindowHeadTools { + margin-right: 2px; +} + +.mceWindowClose, .mceWindowMinimize, .mceWindowMaximize { + display: block; + float: right; + overflow: hidden; + margin-top: 2px; +} + +.mceWindowClose { + margin-left: 2px; +} + +.mceWindowMinimize { +} + +.mceWindowMaximize { +} + +.mceWindowResize { + display: block; + float: right; + overflow: hidden; + cursor: se-resize; + width: 12px; + height: 12px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/inlinepopups/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/inlinepopups/editor_plugin.js new file mode 100644 index 0000000000..c0b2f9f589 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/inlinepopups/editor_plugin.js @@ -0,0 +1 @@ +var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};}};tinyMCE.addPlugin("inlinepopups",TinyMCE_InlinePopupsPlugin);TinyMCE_Engine.prototype.orgOpenWindow=TinyMCE_Engine.prototype.openWindow;TinyMCE_Engine.prototype.openWindow=function(template,args){if(args['inline']!="yes"||tinyMCE.isOpera||tinyMCE.getParam("plugins").indexOf('inlinepopups')==-1){mcWindows.selectedWindow=null;args['mce_inside_iframe']=false;this.orgOpenWindow(template,args);return;}var url,resizable,scrollbars;args['mce_inside_iframe']=true;tinyMCE.windowArgs=args;if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";height+=18;for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]));}var elm=document.getElementById(this.selectedInstance.editorId+'_parent');var pos=tinyMCE.getAbsPosition(elm);pos.absLeft+=Math.round((elm.firstChild.clientWidth/2)-(width/2));pos.absTop+=Math.round((elm.firstChild.clientHeight/2)-(height/2));mcWindows.open(url,mcWindows.idCounter++,"modal=yes,width="+width+",height="+height+",resizable="+resizable+",scrollbars="+scrollbars+",statusbar="+resizable+",left="+pos.absLeft+",top="+pos.absTop);};TinyMCE_Engine.prototype.orgCloseWindow=TinyMCE_Engine.prototype.closeWindow;TinyMCE_Engine.prototype.closeWindow=function(win){if(mcWindows.selectedWindow!=null)mcWindows.selectedWindow.close();else this.orgCloseWindow(win);};TinyMCE_Engine.prototype.setWindowTitle=function(win_ref,title){for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win_ref.name==win.id+"_iframe")window.frames[win.id+"_iframe"].document.getElementById(win.id+'_title').innerHTML=title;}};function TinyMCE_Windows(){this.settings=new Array();this.windows=new Array();this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isGecko=navigator.userAgent.indexOf('Gecko')!=-1;this.isSafari=navigator.userAgent.indexOf('Safari')!=-1;this.isMac=navigator.userAgent.indexOf('Mac')!=-1;this.isMSIE5_0=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5.0')!=-1);this.action="none";this.selectedWindow=null;this.lastSelectedWindow=null;this.zindex=100;this.mouseDownScreenX=0;this.mouseDownScreenY=0;this.mouseDownLayerX=0;this.mouseDownLayerY=0;this.mouseDownWidth=0;this.mouseDownHeight=0;this.idCounter=0;};TinyMCE_Windows.prototype.init=function(settings){this.settings=settings;if(this.isMSIE)this.addEvent(document,"mousemove",mcWindows.eventDispatcher);else this.addEvent(window,"mousemove",mcWindows.eventDispatcher);this.addEvent(document,"mouseup",mcWindows.eventDispatcher);this.doc=document;};TinyMCE_Windows.prototype.getParam=function(name,default_value){var value=null;value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");return value;};TinyMCE_Windows.prototype.eventDispatcher=function(e){e=typeof(e)=="undefined"?window.event:e;if(mcWindows.selectedWindow==null)return;if(mcWindows.isGecko&&e.type=="mousedown"){var elm=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(win.headElement==elm||win.resizeElement==elm){win.focus();break;}}}switch(e.type){case"mousemove":mcWindows.selectedWindow.onMouseMove(e);break;case"mouseup":mcWindows.selectedWindow.onMouseUp(e);break;case"mousedown":mcWindows.selectedWindow.onMouseDown(e);break;case"focus":mcWindows.selectedWindow.onFocus(e);break;}};TinyMCE_Windows.prototype.addEvent=function(obj,name,handler){if(this.isMSIE)obj.attachEvent("on"+name,handler);else obj.addEventListener(name,handler,true);};TinyMCE_Windows.prototype.cancelEvent=function(e){if(this.isMSIE){e.returnValue=false;e.cancelBubble=true;}else e.preventDefault();};TinyMCE_Windows.prototype.parseFeatures=function(opts){opts=opts.toLowerCase();opts=opts.replace(/;/g,",");opts=opts.replace(/[^0-9a-z=,]/g,"");var optionChunks=opts.split(',');var options=new Array();options['left']="10";options['top']="10";options['width']="300";options['height']="300";options['resizable']="yes";options['minimizable']="yes";options['maximizable']="yes";options['close']="yes";options['movable']="yes";options['statusbar']="yes";options['scrollbars']="auto";options['modal']="no";if(opts=="")return options;for(var i=0;i';html+='';html+='';html+='Wrapper iframe';html+='';html+='';html+='';html+='';html+='
';html+='
';html+='
';html+='
';html+='
';html+='
';if(features['statusbar']=="yes"){html+='
';if(features['resizable']=="yes"){if(this.isGecko)html+='
';else html+='
';}html+='
';}html+='
';html+='';html+='';this.createFloatingIFrame(id,features['left'],features['top'],features['width'],features['height'],html);};TinyMCE_Windows.prototype.setDocumentLock=function(state){if(state){var elm=document.getElementById('mcWindowEventBlocker');if(elm==null){elm=document.createElement("div");elm.id="mcWindowEventBlocker";elm.style.position="absolute";elm.style.left="0";elm.style.top="0";document.body.appendChild(elm);}elm.style.display="none";var imgPath=this.getParam("images_path");var width=document.body.clientWidth;var height=document.body.clientHeight;elm.style.width=width;elm.style.height=height;elm.innerHTML='';elm.style.zIndex=mcWindows.zindex-1;elm.style.display="block";}else{var elm=document.getElementById('mcWindowEventBlocker');if(mcWindows.windows.length==0)elm.parentNode.removeChild(elm);else elm.style.zIndex=mcWindows.zindex-1;}};TinyMCE_Windows.prototype.onLoad=function(name){var win=mcWindows.windows[name];var id="mcWindow_"+name;var wrapperIframe=window.frames[id+"_iframe"].frames[0];var wrapperDoc=window.frames[id+"_iframe"].document;var doc=window.frames[id+"_iframe"].document;var winDiv=document.getElementById("mcWindow_"+name+"_div");var realIframe=window.frames[id+"_iframe"].frames[0];win.id="mcWindow_"+name;win.winElement=winDiv;win.bodyElement=doc.getElementById(id+'_body');win.iframeElement=doc.getElementById(id+'_iframe');win.headElement=doc.getElementById(id+'_head');win.titleElement=doc.getElementById(id+'_title');win.resizeElement=doc.getElementById(id+'_resize');win.containerElement=doc.getElementById(id+'_container');win.left=win.features['left'];win.top=win.features['top'];win.frame=window.frames[id+'_iframe'].frames[0];win.wrapperFrame=window.frames[id+'_iframe'];win.wrapperIFrameElement=document.getElementById(id+"_iframe");mcWindows.addEvent(win.headElement,"mousedown",mcWindows.eventDispatcher);if(win.resizeElement!=null)mcWindows.addEvent(win.resizeElement,"mousedown",mcWindows.eventDispatcher);if(mcWindows.isMSIE){mcWindows.addEvent(realIframe.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe.document,"mouseup",mcWindows.eventDispatcher);}else{mcWindows.addEvent(realIframe,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"focus",mcWindows.eventDispatcher);}for(var i=0;i'; + html += ''; + html += ''; + + html += '
'; + html += '
'; + html += '
'; +// html += ' '; +// html += ' '; + html += '
'; + html += '
'; + html += '
'; + + if (features['statusbar'] == "yes") { + html += '
'; + + if (features['resizable'] == "yes") { + if (this.isGecko) + html += '
'; + else + html += '
'; + } + + html += '
'; + } + + html += '
'; + + html += ''; + html += ''; + + // Create iframe + this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html); +}; + +// Blocks the document events by placing a image over the whole document +TinyMCE_Windows.prototype.setDocumentLock = function(state) { + if (state) { + var elm = document.getElementById('mcWindowEventBlocker'); + if (elm == null) { + elm = document.createElement("div"); + + elm.id = "mcWindowEventBlocker"; + elm.style.position = "absolute"; + elm.style.left = "0"; + elm.style.top = "0"; + + document.body.appendChild(elm); + } + + elm.style.display = "none"; + + var imgPath = this.getParam("images_path"); + var width = document.body.clientWidth; + var height = document.body.clientHeight; + + elm.style.width = width; + elm.style.height = height; + elm.innerHTML = ''; + + elm.style.zIndex = mcWindows.zindex-1; + elm.style.display = "block"; + } else { + var elm = document.getElementById('mcWindowEventBlocker'); + + if (mcWindows.windows.length == 0) + elm.parentNode.removeChild(elm); + else + elm.style.zIndex = mcWindows.zindex-1; + } +}; + +// Gets called when wrapper iframe is initialized +TinyMCE_Windows.prototype.onLoad = function(name) { + var win = mcWindows.windows[name]; + var id = "mcWindow_" + name; + var wrapperIframe = window.frames[id + "_iframe"].frames[0]; + var wrapperDoc = window.frames[id + "_iframe"].document; + var doc = window.frames[id + "_iframe"].document; + var winDiv = document.getElementById("mcWindow_" + name + "_div"); + var realIframe = window.frames[id + "_iframe"].frames[0]; + + // Set window data + win.id = "mcWindow_" + name; + win.winElement = winDiv; + win.bodyElement = doc.getElementById(id + '_body'); + win.iframeElement = doc.getElementById(id + '_iframe'); + win.headElement = doc.getElementById(id + '_head'); + win.titleElement = doc.getElementById(id + '_title'); + win.resizeElement = doc.getElementById(id + '_resize'); + win.containerElement = doc.getElementById(id + '_container'); + win.left = win.features['left']; + win.top = win.features['top']; + win.frame = window.frames[id + '_iframe'].frames[0]; + win.wrapperFrame = window.frames[id + '_iframe']; + win.wrapperIFrameElement = document.getElementById(id + "_iframe"); + + // Add event handlers + mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher); + + if (win.resizeElement != null) + mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher); + + if (mcWindows.isMSIE) { + mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher); + } else { + mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher); + } + + for (var i=0; i'; + + html += '
'; + html += '
'; + html += '
'; +// html += ' '; +// html += ' '; + html += '
'; + html += '
'; + html += '
'; + html += '
'; + html += '
'; + html += '
'; + html += '
'; + + html += ''; + html += ''; + + // Create iframe + this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html); +}; + +// Gets called when wrapper iframe is initialized +MCWindows.prototype.onLoad = function(name) { + var win = mcWindows.windows[name]; + var id = "mcWindow_" + name; + var wrapperIframe = window.frames[id + "_iframe"].frames[0]; + var wrapperDoc = window.frames[id + "_iframe"].document; + var doc = window.frames[id + "_iframe"].document; + var winDiv = document.getElementById("mcWindow_" + name + "_div"); + var realIframe = window.frames[id + "_iframe"].frames[0]; + + // Set window data + win.id = "mcWindow_" + name + "_iframe"; + win.winElement = winDiv; + win.bodyElement = doc.getElementById(id + '_body'); + win.iframeElement = doc.getElementById(id + '_iframe'); + win.headElement = doc.getElementById(id + '_head'); + win.titleElement = doc.getElementById(id + '_title'); + win.resizeElement = doc.getElementById(id + '_resize'); + win.containerElement = doc.getElementById(id + '_container'); + win.left = win.features['left']; + win.top = win.features['top']; + win.frame = window.frames[id + '_iframe'].frames[0]; + win.wrapperFrame = window.frames[id + '_iframe']; + win.wrapperIFrameElement = document.getElementById(id + "_iframe"); + + // Add event handlers + mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher); + mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher); + + if (mcWindows.isMSIE) { + mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher); + } else { + mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher); + mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher); + } + + for (var i=0; i, + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d-%m-%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insertar fecha', +inserttime_desc : 'Insertar hora', +inserttime_months_long : new Array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"), +inserttime_months_short : new Array("Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"), +inserttime_day_long : new Array("Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"), +inserttime_day_short : new Array("Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fa.js new file mode 100644 index 0000000000..5d89b73310 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fa.js @@ -0,0 +1,13 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +dir : 'rtl', +insertdate_desc : '?????? ?????', +inserttime_desc : '?????? ????' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fa_ca.js new file mode 100644 index 0000000000..c3ec02bf8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fa_ca.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fi.js new file mode 100755 index 0000000000..3758c96fd5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fi.js @@ -0,0 +1,12 @@ +// FI lang variables by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d.%m.%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Lisää päivämäärä', +inserttime_desc : 'Lisää kellonaika', +inserttime_months_long : new Array("Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"), +inserttime_months_short : new Array("Tammi", "Helmi", "Maalis", "Huhti", "Touko", "Kesä", "Heinä", "Elo", "Syys", "Loka", "Marras", "Joulu"), +inserttime_day_long : new Array("Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"), +inserttime_day_short : new Array("Su", "Ma", "Ti", "Ke", "To", "Pe", "La") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fr.js new file mode 100755 index 0000000000..bff2ffde20 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fr.js @@ -0,0 +1,13 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +tinyMCE.addToLang('',{ +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") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fr_ca.js new file mode 100755 index 0000000000..72a076c343 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/fr_ca.js @@ -0,0 +1,10 @@ +// Canadian French lang variables by Virtuelcom + +tinyMCE.addToLang('',{ +insertdate_desc : 'Insrer la date', +inserttime_desc : 'Insrer l\'heure', +inserttime_months_long : new Array("Janvier", "Fvrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aot", "Septembre", "Octobre", "Novembre", "Dcembre"), +inserttime_months_short : new Array("Jan", "Fev", "Mar", "Avr", "Mai", "Juin", "Juil", "Aout", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"), +inserttime_day_short : new Array("Lun", "Mar", "Mer", "Jeu", "Thu", "Ven", "Sam", "Dim") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/he.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/he.js new file mode 100755 index 0000000000..95663e604f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/he.js @@ -0,0 +1,12 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : ' ', +inserttime_desc : ' ', +inserttime_months_long : new Array("", "", "", "", "", "", "", "", "", "", "", ""), +inserttime_months_short : new Array("", "", "", "", "", "", "", "", "", "", "", ""), +inserttime_day_long : new Array(" ", " ", " ", " ", " ", " ", " ", " "), +inserttime_day_short : new Array("'", "'", "'", "'", "'", "'", "'", "'") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/hu.js new file mode 100644 index 0000000000..52c909fd95 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/hu.js @@ -0,0 +1,12 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Dtum beszrsa', +inserttime_desc : 'Id beszrsa', +inserttime_months_long : new Array("Janur", "Februr", "Mrcius", "prilis", "Mjus", "Jnius", "Jlius", "Augusztus", "Szeptember", "Oktber", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mr", "pr", "Mj", "Jn", "Jl", "Aug", "Sze", "Okt", "Nov", "Dec"), +inserttime_day_long : new Array("Vasrnap", "Htf", "Kedd", "Szerda", "Cstrtk", "Pntek", "Szombat", "Vasrnap"), +inserttime_day_short : new Array("Vas", "H", "Ke", "Sze", "Cs", "Pn", "Szo", "Vas") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/is.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/is.js new file mode 100644 index 0000000000..c543976328 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/is.js @@ -0,0 +1,12 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d. %m. %Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Setja inn dagsetningu', +inserttime_desc : 'Setja inn tíma', +inserttime_months_long : new Array("Janar", "Febrar", "Mars", "Aprl", "Ma", "Jn", "Jl", "gst", "September", "Oktber", "Nvember", "Desember"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "Ma", "Jn", "Jl", "g", "Sep", "Okt", "Nv", "Des"), +inserttime_day_long : new Array("Sunnudagur", "Mnudagur", "rijudagur", "Mivikudagur", "Fimmtudagur", "Fstudagur", "Laugardagur", "Sunnudagur"), +inserttime_day_short : new Array("Sun", "Mn", "ri", "Mi", "Fim", "Fs", "Lau", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/it.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/it.js new file mode 100755 index 0000000000..eea0665535 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/it.js @@ -0,0 +1,12 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +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("Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja-euc-jp.js new file mode 100644 index 0000000000..c3ec02bf8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja-euc-jp.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja.js new file mode 100644 index 0000000000..c3ec02bf8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_euc-jp.js new file mode 100755 index 0000000000..073591e8c8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_euc-jp.js @@ -0,0 +1,12 @@ +// Japanese euc lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'դ', +inserttime_desc : '֤', +inserttime_months_long : new Array("1", "2, "3", "4", "5, "6", "7", "8", "9", "10", "11", "12"), +inserttime_months_short : new Array("1", "2, "3", "4", "5, "6", "7", "8", "9", "10", "11", "12"), +inserttime_day_long : new Array("", ", "", "", "", "", "", ""), +inserttime_day_short : new Array("", "", "", "", "", "", "", "") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_shift-jis.js new file mode 100644 index 0000000000..c3ec02bf8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_shift-jis.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_shift_jis.js new file mode 100755 index 0000000000..02d429c5ee --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_shift_jis.js @@ -0,0 +1,12 @@ +// Japanese shift_jis lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 't}', +inserttime_desc : 'Ԃ}', +inserttime_months_long : new Array("1", "2, "3", "4", "5, "6", "7", "8", "9", "10", "11", "12"), +inserttime_months_short : new Array("1", "2, "3", "4", "5, "6", "7", "8", "9", "10", "11", "12"), +inserttime_day_long : new Array("j", "j, "Ηj", "j", "ؗj", "j", "yj", "j"), +inserttime_day_short : new Array("", "", "", "", "", "", "y", "") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_utf-8.js new file mode 100755 index 0000000000..04a188ec78 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ja_utf-8.js @@ -0,0 +1,12 @@ +// Japanese utf-8 lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : '日付を挿入', +inserttime_desc : '時間を挿入', +inserttime_months_long : new Array("1月", "2月, "3月", "4月", "5月, "6月", "7月", "8月", "9月", "10月", "11月", "12月"), +inserttime_months_short : new Array("1月", "2月, "3月", "4月", "5月, "6月", "7月", "8月", "9月", "10月", "11月", "12月"), +inserttime_day_long : new Array("日曜日", "月曜日, "火曜日", "水曜日", "木曜日", "金曜日", "土曜日", "日曜日"), +inserttime_day_short : new Array("日", "月", "火", "水", "木", "金", "土", "日") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ko.js new file mode 100644 index 0000000000..007f08cc6a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ko.js @@ -0,0 +1,12 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : '¥ Ö', +inserttime_desc : 'ð Ö', +inserttime_months_long : new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"), +inserttime_months_short : new Array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"), +inserttime_day_long : new Array("Ͽä", "ä", "ȭä", "öä", "ä", "ݿä", "Åää", "Ͽä"), +inserttime_day_short : new Array("", "", "ȭ", "ö", "", "", "Åä", "") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nb.js new file mode 100644 index 0000000000..b52c4f9a4c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nb.js @@ -0,0 +1,12 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Lim inn dato', +inserttime_desc : 'Lim inn tid', +inserttime_months_long : new Array("Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"), +inserttime_months_short : new Array("Jan","Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"), +inserttime_day_long : new Array("Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"), +inserttime_day_short : new Array("Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nl.js new file mode 100644 index 0000000000..375ae4b1fd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nl.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d-%m-%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Datum invoegen', +inserttime_desc : 'Tijd invoegen', +inserttime_months_long : new Array("januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"), +inserttime_months_short : new Array("jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "oct", "nov", "dec"), +inserttime_day_long : new Array("zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag", "zondag"), +inserttime_day_short : new Array("zo", "ma", "di", "wo", "do", "vr", "za", "zo") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nn.js new file mode 100644 index 0000000000..244e335dac --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/nn.js @@ -0,0 +1,12 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Lim inn dato', +inserttime_desc : 'Lim inn tid', +inserttime_months_long : new Array("Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"), +inserttime_months_short : new Array("Jan","Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"), +inserttime_day_long : new Array("Sundag", "Mandag", "Tysdag", "Onsdag", "Torsdag", "Fredag", "Laurdag", "Sundag"), +inserttime_day_short : new Array("Sun", "Man", "Tys", "Ons", "Tor", "Fre", "Laur", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pl.js new file mode 100644 index 0000000000..160002a6ea --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pl.js @@ -0,0 +1,15 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Wstaw aktualn dat', +inserttime_desc : 'Wstaw aktualny czas', +inserttime_months_long : new Array("Stycze", "Luty", "Marzec", "Kwiecie", "Maj", "Czerwiec", "Lipiec", "Sierpie", "Wrzesie", "Padziernik", "Listopad", "Grudzie"), +inserttime_months_short : new Array("Sty", "Lut", "Mar", "Kwi", "Maj", "Czer", "Lip", "Sier", "Wrze", "Pa", "List", "Grudz"), +inserttime_day_long : new Array("Niedziela", "Poniedziaek", "Wtorek", "roda", "Czwartek", "Pitek", "Sobota", "Niedziela"), +inserttime_day_short : new Array("Nie", "Pon", "Wto", "ro", "Czw", "Pi", "Sob", "Nie") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pt.js new file mode 100644 index 0000000000..c3ec02bf8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pt.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pt_br.js new file mode 100644 index 0000000000..27fb439b01 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/pt_br.js @@ -0,0 +1,20 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d/%m/%y', +inserttime_def_fmt : '%H:%M:%S hs', +insertdate_desc : 'Inserir data', +inserttime_desc : 'Inserir hora', +inserttime_months_long : new Array("Janeiro", "Fevereiro", "Maro", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"), +inserttime_months_short : new Array("Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"), +inserttime_day_long : new Array("Domingo", "Segunda-Feira", "Tera-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "Sbado", "Domingo"), +inserttime_day_short : new Array("Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab", "Dom") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ro.js new file mode 100755 index 0000000000..c9c48b69f4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ro.js @@ -0,0 +1,12 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d-%m-%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Inserează data', +inserttime_desc : 'Inserează ora', +inserttime_months_long : new Array("Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"), +inserttime_months_short : new Array("Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"), +inserttime_day_short : new Array("Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru.js new file mode 100644 index 0000000000..cfebf25dd9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru.js @@ -0,0 +1,12 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d %m %Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : ' ', +inserttime_desc : ' ', +inserttime_months_long : new Array("", "", "", "", "", "", "", "", "", "", "", ""), +inserttime_months_short : new Array("", "", "", "", "", "", "", "", "", "", "", ""), +inserttime_day_long : new Array("", "", "", "", "", "", "", ""), +inserttime_day_short : new Array("", "", "", "", "", "", "", "") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..0bce119783 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru_KOI8-R.js @@ -0,0 +1,12 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d %m %Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : ' ', +inserttime_desc : ' ', +inserttime_months_long : new Array("", "", "", "", "", "", "", "", "", "", "", ""), +inserttime_months_short : new Array("", "", "", "", "", "", "", "", "", "", "", ""), +inserttime_day_long : new Array("", "", "", "", "", "", "", ""), +inserttime_day_short : new Array("", "", "", "", "", "", "", "") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru_UTF-8.js new file mode 100644 index 0000000000..bbf4596c16 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/ru_UTF-8.js @@ -0,0 +1,12 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d %m %Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Вставить дату', +inserttime_desc : 'Вставить время', +inserttime_months_long : new Array("января", "февраля", "марта", "апреля", "мая", "июня", "июля", "августа", "сентября", "октября", "ноября", "декабря"), +inserttime_months_short : new Array("янв", "фев", "март", "апр", "май", "июнь", "июль", "авг", "сент", "окт", "нбр", "дек"), +inserttime_day_long : new Array("воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота", "воскресенье"), +inserttime_day_short : new Array("вск", "пн", "вт", "ср", "чтв", "птн", "сб", "вск") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/si.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/si.js new file mode 100644 index 0000000000..6dd8b9a1d2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/si.js @@ -0,0 +1,12 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d.%m.%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Vstavi datum', +inserttime_desc : 'Vstavi uro', +inserttime_months_long : new Array("Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "August", "September", "Oktober", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"), +inserttime_day_long : new Array("Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"), +inserttime_day_short : new Array("Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sk.js new file mode 100644 index 0000000000..6060b55026 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sk.js @@ -0,0 +1,20 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Vložiť dátum', +inserttime_desc : 'Vložiť čas', +inserttime_months_long : new Array('Január','Február','Marec','Apríl','Máj','Jún','Júl','August','September','Október','November','December'), +inserttime_months_short : new Array('Jan','Feb','Mar','Apr','Máj','Jún','Júl','Aug','Sep','Okt','Nov','Dec'), +inserttime_day_long : new Array('Nedeľa','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota','Nedeľa'), +inserttime_day_short : new Array('Ne','Po','Ut','St','Št','Pi','So','Ne') +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sq.js new file mode 100755 index 0000000000..d86a98ce50 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sq.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d-%m-%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Nderfut daten', +inserttime_desc : 'Nderfut oren', +inserttime_months_long : new Array("Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nentor", "Dhjetor"), +inserttime_months_short : new Array("Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Kor", "Gus", "Sht", "Tet", "Nen", "Dhj"), +inserttime_day_long : new Array("E diel", "E hene", "E marte", "E merkure", "E enjte", "E Premter", "E shtune", "E diel"), +inserttime_day_short : new Array("Die", "Hen", "Mar", "Mer", "Enj", "Pre", "Sht", "Die") +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sv.js new file mode 100644 index 0000000000..39f0e8fa7c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/sv.js @@ -0,0 +1,12 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Klistra in datum', +inserttime_desc : 'Klistra in tid', +inserttime_months_long : new Array("Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"), +inserttime_months_short : new Array("Jan","Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"), +inserttime_day_long : new Array("Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"), +inserttime_day_short : new Array("Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/th.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/th.js new file mode 100644 index 0000000000..c3ec02bf8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/th.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/tr.js new file mode 100644 index 0000000000..11784ba482 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/tr.js @@ -0,0 +1,12 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d-%m-%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Tarihi ekle', +inserttime_desc : 'Zaman ekle', +inserttime_months_long : new Array("Ocak", "ubat", "Mart", "Nisan", "Mays", "Haziran", "Temmuz", "Austos", "Eyll", "Ekim", "Kasm", "Aralk"), +inserttime_months_short : new Array("Ock", "ub", "Mar", "Nis", "May", "Haz", "Tem", "Au", "Eyl", "Eki", "Kas", "Ara"), +inserttime_day_long : new Array("Pazar", "Pazartesi", "Sal", "aramba", "Perembe", "Cuma", "Cumartesi", "Pazar"), +inserttime_day_short : new Array("Paz", "Pzt", "Sal", "ar", "Per", "Cum", "Cmt", "Paz") +}) \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/tw.js new file mode 100644 index 0000000000..c3ec02bf8a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/tw.js @@ -0,0 +1,12 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Insert date', +inserttime_desc : 'Insert time', +inserttime_months_long : new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"), +inserttime_months_short : new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"), +inserttime_day_long : new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"), +inserttime_day_short : new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/vi.js new file mode 100755 index 0000000000..6704350db8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/vi.js @@ -0,0 +1,12 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%d-%m-%Y', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'Thêm ngày', +inserttime_desc : 'Thêm thời gian', +inserttime_months_long : new Array("Tháng Một", "Tháng Hai", "Tháng Ba", "Tháng Tư", "Tháng Năm", "Tháng Sáu", "Tháng Bảy", "Tháng Tám", "Tháng Chín", "Tháng Mười", "Tháng M.Một", "Tháng M.Hai"), +inserttime_months_short : new Array("ThMột", "ThHai", "ThBa", "ThTư", "ThNăm", "ThSáu", "ThBảy", "ThTám", "ThChín", "ThMười", "ThM.Một", "ThM.Hai"), +inserttime_day_long : new Array("Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy", "Chủ nhật"), +inserttime_day_short : new Array("CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_cn.js new file mode 100755 index 0000000000..509a3ea755 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_cn.js @@ -0,0 +1,13 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : '뵱ǰ', +inserttime_desc : '뵱ǰʱ', +inserttime_months_long : new Array("һ·", "·", "·", "·", "·", "·", "·", "·", "·", "ʮ·", "ʮһ·", "ʮ·"), +inserttime_months_short : new Array("һ", "", "", "", "", "", "", "", "", "ʮ", "ʮһ", "ʮ"), +inserttime_day_long : new Array("", "һ", "ڶ", "", "", "", "", ""), +inserttime_day_short : new Array("", "һ", "ڶ", "", "", "", "", "") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..68805dbc2e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_cn_utf8.js @@ -0,0 +1,13 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : '插入当前日期', +inserttime_desc : '插入当前时间', +inserttime_months_long : new Array("一月份", "二月份", "三月份", "四月份", "五月份", "六月份", "七月份", "八月份", "九月份", "十月份", "十一月份", "十二月份"), +inserttime_months_short : new Array("一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"), +inserttime_day_long : new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"), +inserttime_day_short : new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_tw.js new file mode 100644 index 0000000000..f9cd497a8d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_tw.js @@ -0,0 +1,13 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y-%m-%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : 'J', +inserttime_desc : 'Jɶ', +inserttime_months_long : new Array("@", "G", "T", "|", "", "", "C", "K", "E", "Q", "Q@", "QG"), +inserttime_months_short : new Array("@", "G", "T", "|", "", "", "C", "K", "E", "Q", "Q@", "QG"), +inserttime_day_long : new Array("P", "P@", "PG", "PT", "P|", "P", "P", "P"), +inserttime_day_short : new Array("", "@", "G", "T", "|", "", "", "") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..df9af306ee --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/langs/zh_tw_utf8.js @@ -0,0 +1,13 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +insertdate_def_fmt : '%Y/%m/%d', +inserttime_def_fmt : '%H:%M:%S', +insertdate_desc : '插入日期', +inserttime_desc : '插入時間', +inserttime_months_long : new Array("一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"), +inserttime_months_short : new Array("一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"), +inserttime_day_long : new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"), +inserttime_day_short : new Array("日", "一", "二", "三", "四", "五", "六", "日") +}); diff --git a/phpgwapi/js/tiny_mce/plugins/insertdatetime/readme.txt b/phpgwapi/js/tiny_mce/plugins/insertdatetime/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/insertdatetime/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/layer/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/layer/editor_plugin.js new file mode 100644 index 0000000000..b8b9ee9d46 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('layer','en');var TinyMCE_LayerPlugin={getInfo:function(){return{longname:'Layer',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_layer.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(tinyMCE.isMSIE&&!tinyMCE.isOpera)inst.getDoc().execCommand('2D-Position');},handleEvent:function(e){var inst=tinyMCE.selectedInstance,self=TinyMCE_LayerPlugin;var w=inst.getWin(),le=inst._lastStyleElm,e;if(tinyMCE.isGecko){e=self._getParentLayer(inst.getFocusElement());if(e){if(!inst._lastStyleElm){e.style.overflow='auto';inst._lastStyleElm=e;}}else if(le){le=inst._lastStyleElm;le.style.width=le.scrollWidth+'px';le.style.height=le.scrollHeight+'px';le.style.overflow='';inst._lastStyleElm=null;}}return true;},handleVisualAid:function(el,deep,state,inst){var nl=inst.getDoc().getElementsByTagName("div"),i;for(i=0;i-1){nl[ci].style.zIndex=z[fi];nl[fi].style.zIndex=z[ci];}else{if(z[ci]>0)nl[ci].style.zIndex=z[ci]-1;}}else{for(i=0;iz[ci]){fi=i;break;}}if(fi>-1){nl[ci].style.zIndex=z[fi];nl[fi].style.zIndex=z[ci];}else nl[ci].style.zIndex=z[ci]+1;}inst.repaint();},_getParentLayer:function(n){return tinyMCE.getParentNode(n,function(n){return n.nodeType==1&&new RegExp('absolute|relative|static','gi').test(n.style.position);});},_insertLayer:function(){var inst=tinyMCE.selectedInstance;var e=tinyMCE.getParentElement(inst.getFocusElement());var p=tinyMCE.getAbsPosition(e);var d=inst.getDoc();var ne=d.createElement('div');var h=inst.selection.getSelectedHTML();ne.style.position='absolute';ne.style.left=p.absLeft+'px';ne.style.top=(p.absTop>20?p.absTop:20)+'px';ne.style.width='100px';ne.style.height='100px';ne.className='mceVisualAid';if(!h)h=tinyMCE.getLang('lang_layer_content');ne.innerHTML=h;d.body.appendChild(ne);},_toggleAbsolute:function(){var inst=tinyMCE.selectedInstance,self=TinyMCE_LayerPlugin;var le=self._getParentLayer(inst.getFocusElement());if(le==null)le=tinyMCE.getParentElement(inst.getFocusElement(),'div,p,img');if(le){if(le.style.position.toLowerCase()=="absolute"){le.style.position="";le.style.left="";le.style.top="";}else{le.style.position="absolute";if(le.style.left=="")le.style.left=20+'px';if(le.style.top=="")le.style.top=20+'px';if(le.style.width=="")le.style.width=le.width?(le.width+'px'):'100px';if(le.style.height=="")le.style.height=le.height?(le.height+'px'):'100px';tinyMCE.handleVisualAid(inst.getBody(),true,inst.visualAid,inst);}inst.repaint();tinyMCE.triggerNodeChange();}}};tinyMCE.addPlugin("layer",TinyMCE_LayerPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/layer/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/layer/editor_plugin_src.js new file mode 100644 index 0000000000..af49340101 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/editor_plugin_src.js @@ -0,0 +1,252 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.2 $ + * $Date: 2006/05/03 14:12:12 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('layer', 'en'); + +var TinyMCE_LayerPlugin = { + getInfo : function() { + return { + longname : 'Layer', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_layer.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + initInstance : function(inst) { + if (tinyMCE.isMSIE && !tinyMCE.isOpera) + inst.getDoc().execCommand('2D-Position'); + }, + + handleEvent : function(e) { + var inst = tinyMCE.selectedInstance, self = TinyMCE_LayerPlugin; + var w = inst.getWin(), le = inst._lastStyleElm, e; + + if (tinyMCE.isGecko) { + e = self._getParentLayer(inst.getFocusElement()); + + if (e) { + if (!inst._lastStyleElm) { + e.style.overflow = 'auto'; + inst._lastStyleElm = e; + } + } else if (le) { + le = inst._lastStyleElm; + le.style.width = le.scrollWidth + 'px'; + le.style.height = le.scrollHeight + 'px'; + le.style.overflow = ''; + inst._lastStyleElm = null; + } + } + + return true; + }, + + handleVisualAid : function(el, deep, state, inst) { + var nl = inst.getDoc().getElementsByTagName("div"), i; + + for (i=0; i -1) { + nl[ci].style.zIndex = z[fi]; + nl[fi].style.zIndex = z[ci]; + } else { + if (z[ci] > 0) + nl[ci].style.zIndex = z[ci] - 1; + } + } else { + // Move forward + + // Try find a higher one + for (i=0; i z[ci]) { + fi = i; + break; + } + } + + if (fi > -1) { + nl[ci].style.zIndex = z[fi]; + nl[fi].style.zIndex = z[ci]; + } else + nl[ci].style.zIndex = z[ci] + 1; + } + + inst.repaint(); + }, + + _getParentLayer : function(n) { + return tinyMCE.getParentNode(n, function(n) { + return n.nodeType == 1 && new RegExp('absolute|relative|static', 'gi').test(n.style.position); + }); + }, + + _insertLayer : function() { + var inst = tinyMCE.selectedInstance; + var e = tinyMCE.getParentElement(inst.getFocusElement()); + var p = tinyMCE.getAbsPosition(e); + var d = inst.getDoc(); + var ne = d.createElement('div'); + var h = inst.selection.getSelectedHTML(); + + // Move div + ne.style.position = 'absolute'; + ne.style.left = p.absLeft + 'px'; + ne.style.top = (p.absTop > 20 ? p.absTop : 20) + 'px'; + ne.style.width = '100px'; + ne.style.height = '100px'; + ne.className = 'mceVisualAid'; + + if (!h) + h = tinyMCE.getLang('lang_layer_content'); + + ne.innerHTML = h; + + // Add it + d.body.appendChild(ne); + }, + + _toggleAbsolute : function() { + var inst = tinyMCE.selectedInstance, self = TinyMCE_LayerPlugin; + var le = self._getParentLayer(inst.getFocusElement()); + + if (le == null) + le = tinyMCE.getParentElement(inst.getFocusElement(), 'div,p,img'); + + if (le) { + if (le.style.position.toLowerCase() == "absolute") { + le.style.position = ""; + le.style.left = ""; + le.style.top = ""; + } else { + le.style.position = "absolute"; + + if (le.style.left == "") + le.style.left = 20 + 'px'; + + if (le.style.top == "") + le.style.top = 20 + 'px'; + + if (le.style.width == "") + le.style.width = le.width ? (le.width + 'px') : '100px'; + + if (le.style.height == "") + le.style.height = le.height ? (le.height + 'px') : '100px'; + + tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst); + } + + inst.repaint(); + tinyMCE.triggerNodeChange(); + } + } +}; + +tinyMCE.addPlugin("layer", TinyMCE_LayerPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/images/absolute.gif b/phpgwapi/js/tiny_mce/plugins/layer/images/absolute.gif new file mode 100644 index 0000000000..72cffddc32 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/layer/images/absolute.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/layer/images/backward.gif b/phpgwapi/js/tiny_mce/plugins/layer/images/backward.gif new file mode 100644 index 0000000000..466b158656 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/layer/images/backward.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/layer/images/forward.gif b/phpgwapi/js/tiny_mce/plugins/layer/images/forward.gif new file mode 100644 index 0000000000..e8b7a5a11f Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/layer/images/forward.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/layer/images/insert_layer.gif b/phpgwapi/js/tiny_mce/plugins/layer/images/insert_layer.gif new file mode 100644 index 0000000000..bc29af0766 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/layer/images/insert_layer.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ar.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ar.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ca.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ca.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/cs.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/cs.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/cy.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/cy.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/da.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/da.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/da.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/de.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/de.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/de.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/el.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/el.js new file mode 100755 index 0000000000..fda01aab56 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/el.js @@ -0,0 +1,9 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('layer',{ +insertlayer_desc : ' o ', +forward_desc : ' ', +backward_desc : ' ', +absolute_desc : ' ', +content : ' ...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/en.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/en.js new file mode 100644 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/en.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/es.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/es.js new file mode 100755 index 0000000000..e85290252e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/es.js @@ -0,0 +1,15 @@ +/** + * ES lang variables + * + * Authors : Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insertar nueva capa', +forward_desc : 'Adelante', +backward_desc : 'Atrás', +absolute_desc : 'Posicionamiento absoluto', +content : 'Nueva capa...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/fa.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/fa.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/fa_ca.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/fa_ca.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/fi.js new file mode 100755 index 0000000000..0332dc0221 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/fi.js @@ -0,0 +1,9 @@ +// FI lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Lisää uusi taso', +forward_desc : 'Liiku eteenpäin', +backward_desc : 'Liiku taaksepäin', +absolute_desc : 'Kytke absoluuttinen asettelu päälle/pois', +content : 'Uusi taso...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/fr.js new file mode 100755 index 0000000000..8d2de679dd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/fr.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insérer un nouveau calque', +forward_desc : 'Avancer', +backward_desc : 'Reculer', +absolute_desc : 'Passer en positionnement absolu', +content : 'Nouveau calque...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/fr_ca.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/fr_ca.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/he.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/he.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/he.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/hu.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/hu.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/is.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/is.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/is.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/it.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/it.js new file mode 100755 index 0000000000..6e85794b8e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/it.js @@ -0,0 +1,9 @@ +// IT lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Inserisci nuovo layer', +forward_desc : 'Sposta verso l\'alto', +backward_desc : 'Sposta verso il basso', +absolute_desc : 'Abilita o disabilita posizionamento assoluto', +content : 'Nuovo livello...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja-euc-jp.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja-euc-jp.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_euc-jp.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_euc-jp.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_shift-jis.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_shift-jis.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_shift_jis.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_shift_jis.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_utf-8.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ja_utf-8.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ko.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ko.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/nb.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/nb.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/nl.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/nl.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/nn.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/nn.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/pl.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/pl.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/pt.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/pt.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/pt_br.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/pt_br.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ro.js new file mode 100755 index 0000000000..5874dd209c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ro.js @@ -0,0 +1,9 @@ +// RO lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Inseează un nou strat', +forward_desc : 'Mută înainte', +backward_desc : 'Mută înapoi', +absolute_desc : 'Comută poziţionarea absolută', +content : 'Strat nou...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ru.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ru.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ru_KOI8-R.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ru_KOI8-R.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/ru_UTF-8.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/ru_UTF-8.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/si.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/si.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/si.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/sk.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/sk.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/sq.js new file mode 100755 index 0000000000..0a45de985b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/sq.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Nderfut nje shtrese', +forward_desc : 'Leviz perpara', +backward_desc : 'Leviz prapa', +absolute_desc : 'Cakto pozicionimin absolut', +content : 'Shtrese e re...' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/sv.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/sv.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/th.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/th.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/th.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/tr.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/tr.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/tw.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/tw.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/vi.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/vi.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_cn.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_cn.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_cn_utf8.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_tw.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_tw.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_tw_utf8.js new file mode 100755 index 0000000000..cdd8c22b28 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/langs/zh_tw_utf8.js @@ -0,0 +1,9 @@ +// UK lang variables + +tinyMCE.addToLang('layer',{ +insertlayer_desc : 'Insert new layer', +forward_desc : 'Move forward', +backward_desc : 'Move backward', +absolute_desc : 'Toggle absolute positioning', +content : 'New layer...' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/layer/readme.txt b/phpgwapi/js/tiny_mce/plugins/layer/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/layer/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/noneditable/css/noneditable.css b/phpgwapi/js/tiny_mce/plugins/noneditable/css/noneditable.css new file mode 100644 index 0000000000..a506214259 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/noneditable/css/noneditable.css @@ -0,0 +1,17 @@ +/* This is the CSS file for the noneditable elements plugin */ + +.mceEditable { + /*border: 1px dotted #0000cc;*/ + -moz-user-focus: none; + -moz-user-input: auto; + -moz-user-modify: auto; + -moz-user-select: text; +} + +.mceNonEditable { + /*border: 1px dotted #cc0000;*/ + -moz-user-focus: ignore; + /*-moz-user-input: disabled;*/ + -moz-user-modify: read-only; + -moz-user-select: all; +} diff --git a/phpgwapi/js/tiny_mce/plugins/noneditable/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/noneditable/editor_plugin.js new file mode 100644 index 0000000000..f1e031cf60 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/noneditable/editor_plugin.js @@ -0,0 +1 @@ +var TinyMCE_NonEditablePlugin={getInfo:function(){return{longname:'Non editable elements',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_noneditable.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/noneditable/css/noneditable.css");if(tinyMCE.isMSIE5_0)tinyMCE.settings['plugins']=tinyMCE.settings['plugins'].replace(/noneditable/gi,'Noneditable');if(tinyMCE.isGecko){tinyMCE.addEvent(inst.getDoc(),"keyup",TinyMCE_NonEditablePlugin._fixKeyUp);}},cleanup:function(type,content,inst){switch(type){case"insert_to_editor_dom":var nodes=tinyMCE.getNodeTree(content,new Array(),1);var editClass=tinyMCE.getParam("noneditable_editable_class","mceEditable");var nonEditClass=tinyMCE.getParam("noneditable_noneditable_class","mceNonEditable");for(var i=0;i + + blank_page + + + + + + + + + diff --git a/phpgwapi/js/tiny_mce/plugins/paste/css/blank.css b/phpgwapi/js/tiny_mce/plugins/paste/css/blank.css new file mode 100644 index 0000000000..eca411a422 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/css/blank.css @@ -0,0 +1,13 @@ +body { + background-color: #FFFFFF; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} diff --git a/phpgwapi/js/tiny_mce/plugins/paste/css/pasteword.css b/phpgwapi/js/tiny_mce/plugins/paste/css/pasteword.css new file mode 100644 index 0000000000..b3be6270bb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/css/pasteword.css @@ -0,0 +1,3 @@ +.sourceIframe { + border: 1px solid #808080; +} diff --git a/phpgwapi/js/tiny_mce/plugins/paste/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/paste/editor_plugin.js new file mode 100644 index 0000000000..42f95b9013 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('paste','en,tr,sv,cs,zh_cn,fr_ca,da,he,nb,de,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,pl,nl,fr,pt_br');var TinyMCE_PastePlugin={getInfo:function(){return{longname:'Paste text/word',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_paste.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(tinyMCE.isMSIE&&tinyMCE.getParam("paste_auto_cleanup_on_paste",false))tinyMCE.addEvent(inst.getBody(),"paste",TinyMCE_PastePlugin._handlePasteEvent);},getControlHTML:function(cn){switch(cn){case"pastetext":return tinyMCE.getButtonHTML(cn,'lang_paste_text_desc','{$pluginurl}/images/pastetext.gif','mcePasteText',true);case"pasteword":return tinyMCE.getButtonHTML(cn,'lang_paste_word_desc','{$pluginurl}/images/pasteword.gif','mcePasteWord',true);case"selectall":return tinyMCE.getButtonHTML(cn,'lang_selectall_desc','{$pluginurl}/images/selectall.gif','mceSelectAll',true);}return'';},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mcePasteText":if(user_interface){if((tinyMCE.isMSIE&&!tinyMCE.isOpera)&&!tinyMCE.getParam('paste_use_dialog',false))TinyMCE_PastePlugin._insertText(clipboardData.getData("Text"),true);else{var template=new Array();template['file']='../../plugins/paste/pastetext.htm';template['width']=450;template['height']=400;var plain_text="";tinyMCE.openWindow(template,{editor_id:editor_id,plain_text:plain_text,resizable:"yes",scrollbars:"no",inline:"yes",mceDo:'insert'});}}else TinyMCE_PastePlugin._insertText(value['html'],value['linebreaks']);return true;case"mcePasteWord":if(user_interface){if((tinyMCE.isMSIE&&!tinyMCE.isOpera)&&!tinyMCE.getParam('paste_use_dialog',false)){var html=TinyMCE_PastePlugin._clipboardHTML();if(html&&html.length>0)TinyMCE_PastePlugin._insertWordContent(html);}else{var template=new Array();template['file']='../../plugins/paste/pasteword.htm';template['width']=450;template['height']=400;var plain_text="";tinyMCE.openWindow(template,{editor_id:editor_id,plain_text:plain_text,resizable:"yes",scrollbars:"no",inline:"yes",mceDo:'insert'});}}else TinyMCE_PastePlugin._insertWordContent(value);return true;case"mceSelectAll":tinyMCE.execInstanceCommand(editor_id,'selectall');return true;}return false;},_handlePasteEvent:function(e){switch(e.type){case"paste":var html=TinyMCE_PastePlugin._clipboardHTML();var r,inst=tinyMCE.selectedInstance;if(inst&&(r=inst.getRng())&&r.text.length>0)tinyMCE.execCommand('delete');if(html&&html.length>0)tinyMCE.execCommand('mcePasteWord',false,html);tinyMCE.cancelEvent(e);return false;}return true;},_insertText:function(content,bLinebreaks){if(content&&content.length>0){if(bLinebreaks){if(tinyMCE.getParam("paste_create_paragraphs",true)){var rl=tinyMCE.getParam("paste_replace_list",'\u2122,TM,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(',');for(var i=0;i

","gi");content=tinyMCE.regexpReplace(content,"\r\r","

","gi");content=tinyMCE.regexpReplace(content,"\n\n","

","gi");if((pos=content.indexOf('

'))!=-1){tinyMCE.execCommand("Delete");var node=tinyMCE.selectedInstance.getFocusElement();var breakElms=new Array();do{if(node.nodeType==1){if(node.nodeName=="TD"||node.nodeName=="BODY")break;breakElms[breakElms.length]=node;}}while(node=node.parentNode);var before="",after="

";before+=content.substring(0,pos);for(var i=0;i";after+="<"+breakElms[(breakElms.length-1)-i].nodeName+">";}before+="

";content=before+content.substring(pos+7)+after;}}if(tinyMCE.getParam("paste_create_linebreaks",true)){content=tinyMCE.regexpReplace(content,"\r\n","
","gi");content=tinyMCE.regexpReplace(content,"\r","
","gi");content=tinyMCE.regexpReplace(content,"\n","
","gi");}}tinyMCE.execCommand("mceInsertRawHTML",false,content);}},_insertWordContent:function(content){if(content&&content.length>0){var bull=String.fromCharCode(8226);var middot=String.fromCharCode(183);var cb;if((cb=tinyMCE.getParam("paste_insert_word_content_callback",""))!="")content=eval(cb+"('before', content)");var rl=tinyMCE.getParam("paste_replace_list",'\u2122,TM,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(',');for(var i=0;i(.*?)<\/p>','gi'),'

$1

');}content=content.replace(new RegExp('tab-stops: list [0-9]+.0pt">','gi'),'">'+"--list--");content=content.replace(new RegExp(bull+"(.*?)
","gi"),"

"+middot+"$1

");content=content.replace(new RegExp('','gi'),""+bull);content=content.replace(/<\/o:p>/gi,"");content=content.replace(new RegExp('
]*>/gi,"");if(tinyMCE.getParam("paste_remove_styles",true))content=content.replace(new RegExp('<(\\w[^>]*) style="([^"]*)"([^>]*)','gi'),"<$1$3");content=content.replace(/<\/?font[^>]*>/gi,"");switch(tinyMCE.getParam("paste_strip_class_attributes","all")){case"all":content=content.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi,"<$1$3");break;case"mso":content=content.replace(new RegExp('<(\\w[^>]*) class="?mso([^ |>]*)([^>]*)','gi'),"<$1$3");break;}content=content.replace(new RegExp('href="?'+TinyMCE_PastePlugin._reEscape(""+document.location)+'','gi'),'href="'+tinyMCE.settings['document_base_url']);content=content.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,"<$1$3");content=content.replace(/<\\?\?xml[^>]*>/gi,"");content=content.replace(/<\/?\w+:[^>]*>/gi,"");content=content.replace(/-- page break --\s*

 <\/p>/gi,"");content=content.replace(/-- page break --/gi,"");if(!tinyMCE.settings['force_p_newlines']){content=content.replace('','','gi');content=content.replace('

','

','gi');}if(!tinyMCE.isMSIE&&!tinyMCE.settings['force_p_newlines']){content=content.replace(/<\/?p[^>]*>/gi,"");}content=content.replace(/<\/?div[^>]*>/gi,"");if(tinyMCE.getParam("paste_convert_middot_lists",true)){var div=document.createElement("div");div.innerHTML=content;var className=tinyMCE.getParam("paste_unindented_list_class","unIndentedList");while(TinyMCE_PastePlugin._convertMiddots(div,"--list--"));while(TinyMCE_PastePlugin._convertMiddots(div,middot,className));while(TinyMCE_PastePlugin._convertMiddots(div,bull));content=div.innerHTML;}if(tinyMCE.getParam("paste_convert_headers_to_strong",false)){content=content.replace(/ <\/h[1-6]>/gi,'

  

');content=content.replace(//gi,'

');content=content.replace(/<\/h[1-6]>/gi,'

');content=content.replace(/ <\/b>/gi,'  ');content=content.replace(/^( )*/gi,'');}content=content.replace(/--list--/gi,"");if((cb=tinyMCE.getParam("paste_insert_word_content_callback",""))!="")content=eval(cb+"('after', content)");tinyMCE.execCommand("mceInsertContent",false,content);window.setTimeout('tinyMCE.execCommand("mceCleanup");',1);}},_reEscape:function(s){var l="?.\\*[](){}+^$:";var o="";for(var i=0;i 0) + TinyMCE_PastePlugin._insertWordContent(html); + } else { + var template = new Array(); + template['file'] = '../../plugins/paste/pasteword.htm'; // Relative to theme + template['width'] = 450; + template['height'] = 400; + var plain_text = ""; + tinyMCE.openWindow(template, {editor_id : editor_id, plain_text: plain_text, resizable : "yes", scrollbars : "no", inline : "yes", mceDo : 'insert'}); + } + } else + TinyMCE_PastePlugin._insertWordContent(value); + + return true; + + case "mceSelectAll": + tinyMCE.execInstanceCommand(editor_id, 'selectall'); + return true; + + } + + // Pass to next handler in chain + return false; + }, + + // Private plugin internal methods + + _handlePasteEvent : function(e) { + switch (e.type) { + case "paste": + var html = TinyMCE_PastePlugin._clipboardHTML(); + var r, inst = tinyMCE.selectedInstance; + + // Removes italic, strong etc, the if was needed due to bug #1437114 + if (inst && (r = inst.getRng()) && r.text.length > 0) + tinyMCE.execCommand('delete'); + + if (html && html.length > 0) + tinyMCE.execCommand('mcePasteWord', false, html); + + tinyMCE.cancelEvent(e); + return false; + } + + return true; + }, + + _insertText : function(content, bLinebreaks) { + if (content && content.length > 0) { + if (bLinebreaks) { + // Special paragraph treatment + if (tinyMCE.getParam("paste_create_paragraphs", true)) { + var rl = tinyMCE.getParam("paste_replace_list", '\u2122,TM,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(','); + for (var i=0; i

", "gi"); + content = tinyMCE.regexpReplace(content, "\r\r", "

", "gi"); + content = tinyMCE.regexpReplace(content, "\n\n", "

", "gi"); + + // Has paragraphs + if ((pos = content.indexOf('

')) != -1) { + tinyMCE.execCommand("Delete"); + + var node = tinyMCE.selectedInstance.getFocusElement(); + + // Get list of elements to break + var breakElms = new Array(); + + do { + if (node.nodeType == 1) { + // Don't break tables and break at body + if (node.nodeName == "TD" || node.nodeName == "BODY") + break; + + breakElms[breakElms.length] = node; + } + } while(node = node.parentNode); + + var before = "", after = "

"; + before += content.substring(0, pos); + + for (var i=0; i"; + after += "<" + breakElms[(breakElms.length-1)-i].nodeName + ">"; + } + + before += "

"; + content = before + content.substring(pos+7) + after; + } + } + + if (tinyMCE.getParam("paste_create_linebreaks", true)) { + content = tinyMCE.regexpReplace(content, "\r\n", "
", "gi"); + content = tinyMCE.regexpReplace(content, "\r", "
", "gi"); + content = tinyMCE.regexpReplace(content, "\n", "
", "gi"); + } + } + + tinyMCE.execCommand("mceInsertRawHTML", false, content); + } + }, + + _insertWordContent : function(content) { + if (content && content.length > 0) { + // Cleanup Word content + var bull = String.fromCharCode(8226); + var middot = String.fromCharCode(183); + var cb; + + if ((cb = tinyMCE.getParam("paste_insert_word_content_callback", "")) != "") + content = eval(cb + "('before', content)"); + + var rl = tinyMCE.getParam("paste_replace_list", '\u2122,TM,\u2026,...,\u201c|\u201d,",\u2019,\',\u2013|\u2014|\u2015|\u2212,-').split(','); + for (var i=0; i(.*?)<\/p>', 'gi'), '

$1

'); + } + + content = content.replace(new RegExp('tab-stops: list [0-9]+.0pt">', 'gi'), '">' + "--list--"); + content = content.replace(new RegExp(bull + "(.*?)
", "gi"), "

" + middot + "$1

"); + content = content.replace(new RegExp('', 'gi'), "" + bull); // Covert to bull list + content = content.replace(/<\/o:p>/gi, ""); + content = content.replace(new RegExp('
]*>/gi, ""); + + if (tinyMCE.getParam("paste_remove_styles", true)) + content = content.replace(new RegExp('<(\\w[^>]*) style="([^"]*)"([^>]*)', 'gi'), "<$1$3"); + + content = content.replace(/<\/?font[^>]*>/gi, ""); + + // Strips class attributes. + switch (tinyMCE.getParam("paste_strip_class_attributes", "all")) { + case "all": + content = content.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3"); + break; + + case "mso": + content = content.replace(new RegExp('<(\\w[^>]*) class="?mso([^ |>]*)([^>]*)', 'gi'), "<$1$3"); + break; + } + + content = content.replace(new RegExp('href="?' + TinyMCE_PastePlugin._reEscape("" + document.location) + '', 'gi'), 'href="' + tinyMCE.settings['document_base_url']); + content = content.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3"); + content = content.replace(/<\\?\?xml[^>]*>/gi, ""); + content = content.replace(/<\/?\w+:[^>]*>/gi, ""); + content = content.replace(/-- page break --\s*

 <\/p>/gi, ""); // Remove pagebreaks + content = content.replace(/-- page break --/gi, ""); // Remove pagebreaks + + // content = content.replace(/\/? */gi, "");   + // content = content.replace(/

 <\/p>/gi, ''); + + if (!tinyMCE.settings['force_p_newlines']) { + content = content.replace('', '' ,'gi'); + content = content.replace('

', '

' ,'gi'); + } + + if (!tinyMCE.isMSIE && !tinyMCE.settings['force_p_newlines']) { + content = content.replace(/<\/?p[^>]*>/gi, ""); + } + + content = content.replace(/<\/?div[^>]*>/gi, ""); + + // Convert all middlot lists to UL lists + if (tinyMCE.getParam("paste_convert_middot_lists", true)) { + var div = document.createElement("div"); + div.innerHTML = content; + + // Convert all middot paragraphs to li elements + var className = tinyMCE.getParam("paste_unindented_list_class", "unIndentedList"); + + while (TinyMCE_PastePlugin._convertMiddots(div, "--list--")) ; // bull + while (TinyMCE_PastePlugin._convertMiddots(div, middot, className)) ; // Middot + while (TinyMCE_PastePlugin._convertMiddots(div, bull)) ; // bull + + content = div.innerHTML; + } + + // Replace all headers with strong and fix some other issues + if (tinyMCE.getParam("paste_convert_headers_to_strong", false)) { + content = content.replace(/ <\/h[1-6]>/gi, '

  

'); + content = content.replace(//gi, '

'); + content = content.replace(/<\/h[1-6]>/gi, '

'); + content = content.replace(/ <\/b>/gi, '  '); + content = content.replace(/^( )*/gi, ''); + } + + content = content.replace(/--list--/gi, ""); // Remove --list-- + + if ((cb = tinyMCE.getParam("paste_insert_word_content_callback", "")) != "") + content = eval(cb + "('after', content)"); + + // Insert cleaned content + tinyMCE.execCommand("mceInsertContent", false, content); + window.setTimeout('tinyMCE.execCommand("mceCleanup");', 1); // Do normal cleanup detached from this thread + } + }, + + _reEscape : function(s) { + var l = "?.\\*[](){}+^$:"; + var o = ""; + + for (var i=0; i +// Last Updated : October 2005 +// TinyMCE Version : 2.0RC3 + +tinyMCE.addToLang('',{ +paste_text_desc : 'Pegar como texto plano', +paste_text_title : 'Use CTRL+V para pegar el texto en la ventana.', +paste_text_linebreaks : 'Mantener saltos de linea', +paste_word_desc : 'Pegar desde Word', +paste_word_title : 'Use CTRL+V para pegar el texto en la ventana.', +selectall_desc : 'Seleccionar todo' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/fa.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/fa.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/fa_ca.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/fa_ca.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/fi.js new file mode 100755 index 0000000000..49c373ecab --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/fi.js @@ -0,0 +1,10 @@ +// FI lang variables by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('',{ +paste_text_desc : 'Liitä tavallisena tekstinä', +paste_text_title : 'Paina CTRL+V liittääksesi leikkaamasi/kopioimasi tekstin ikkunaan.', +paste_text_linebreaks : 'Säilytä rivinvaihdot', +paste_word_desc : 'Liitä Wordista', +paste_word_title : 'Paina CTRL+V liittääksesi leikkaamasi/kopioimasi tekstin ikkunaan.', +selectall_desc : 'Valitse kaikki' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/fr.js new file mode 100755 index 0000000000..3f68c0cd9b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/fr.js @@ -0,0 +1,11 @@ +// 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_word_desc : 'Coller depuis Word', +paste_word_title : 'Faites CTRL+V pour coller le texte dans la fenêtre.', +selectall_desc : 'Sélectionner tout' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/fr_ca.js new file mode 100755 index 0000000000..14d611d9ed --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/fr_ca.js @@ -0,0 +1,10 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +paste_text_desc : 'Coller texte seulement', +paste_text_title : 'Utilisez CTRL+V sur votre clavier pour coller le texte dans la fentre.', +paste_text_linebreaks : 'Garder les sauts de ligne', +paste_word_desc : 'Coller partir de Word', +paste_word_title : 'Utilisez CTRL+V sur votre clavier pour coller le texte dans la fentre.', +selectall_desc : 'Selectionner tout' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/he.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/he.js new file mode 100755 index 0000000000..d660e43f2f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/he.js @@ -0,0 +1,10 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +paste_text_desc : ' ', +paste_text_title : ' -CTRL+V .', +paste_text_linebreaks : ' ', +paste_word_desc : ' -Word', +paste_word_title : ' -CTRL+V .', +selectall_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/hu.js new file mode 100644 index 0000000000..09d6f825da --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/hu.js @@ -0,0 +1,10 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Beilleszts sima szvegknt', +paste_text_title : 'Hasznld a CTRL+V -t a billentyzeten a szveg beillesztshez az ablakba.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Beilleszts Word-bl', +paste_word_title : 'Hasznld a CTRL+V -t a billentyzeten a szveg beillesztshez az ablakba.', +selectall_desc : 'Mindet kijell' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/is.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/is.js new file mode 100644 index 0000000000..28c540399d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/is.js @@ -0,0 +1,10 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +paste_text_desc : 'Skeyta texta eingöngu', +paste_text_title : 'Notau CTRL+V lyklaborinu til a skeyta textanum gluggann.', +paste_text_linebreaks : 'Halda línubilum', +paste_word_desc : 'Skeyta úr Word', +paste_word_title : 'Notau CTRL+V lyklaborinu til a skeyta textanum gluggann.', +selectall_desc : 'Velja allt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/it.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/it.js new file mode 100755 index 0000000000..92192aae56 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/it.js @@ -0,0 +1,10 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Incolla come testo non formattato', +paste_text_title : 'Usa CTRL+V per incollare.', +paste_text_linebreaks : 'Mantieni interruzioni di riga', +paste_word_desc : 'Incolla da Word', +paste_word_title : 'Usa CTRL+V per incollare.', +selectall_desc : 'Seleziona tutto' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja-euc-jp.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja-euc-jp.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_euc-jp.js new file mode 100755 index 0000000000..f3ad273213 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_euc-jp.js @@ -0,0 +1,10 @@ +// Japanese euc variables + +tinyMCE.addToLang('',{ +paste_text_desc : '񼰤ʤŽդ', +paste_text_title : 'ŽդΤˡCTRL+V 򲡤', +paste_text_linebreaks : 'Ԥ¸', +paste_word_desc : 'ɤŽդ', +paste_word_title : 'ŽդΤˡCTRL+V 򲡤', +selectall_desc : '٤' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_shift-jis.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_shift-jis.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_shift_jis.js new file mode 100755 index 0000000000..932cefc6e9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_shift_jis.js @@ -0,0 +1,10 @@ +// Japanese shift_jis variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Ȃœ\t', +paste_text_title : '\t̂߂ɁACTRL+V ', +paste_text_linebreaks : 'sۑ', +paste_word_desc : '[h\t', +paste_word_title : '\t̂߂ɁACTRL+V ', +selectall_desc : 'ׂđI' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_utf-8.js new file mode 100755 index 0000000000..8d12b7da56 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ja_utf-8.js @@ -0,0 +1,10 @@ +// Japanese utf-8 variables + +tinyMCE.addToLang('',{ +paste_text_desc : '書式なしで貼り付け', +paste_text_title : '貼り付けのために、CTRL+V を押す', +paste_text_linebreaks : '行を保存', +paste_word_desc : 'ワードから貼り付け', +paste_word_title : '貼り付けのために、CTRL+V を押す', +selectall_desc : 'すべて選択' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ko.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ko.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/nb.js new file mode 100644 index 0000000000..446aeae0f3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/nb.js @@ -0,0 +1,10 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +paste_text_desc : 'Lim inn som vanlig tekst', +paste_text_title : 'Bruk CTRL+V på tastaturet ditt for å lime inn i dette vinduet.', +paste_text_linebreaks : 'Spar linjebrudd', +paste_word_desc : 'Lim inn fra Office (Word)', +paste_word_title : 'Bruk CTRL+V på tastaturet ditt for å lime inn i dette vinduet.', +selectall_desc : 'Velg alt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/nl.js new file mode 100644 index 0000000000..642e0122a6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/nl.js @@ -0,0 +1,10 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Plakken als platte tekst', +paste_text_title : 'Gebruik CTRL+V op uw toetsenbord om de tekst in het venster te plakken.', +paste_text_linebreaks : 'Behoud regeleinden', +paste_word_desc : 'Plakken uit Word', +paste_word_title : 'Gebruik CTRL+V op uw toetsenbord om de tekst in het venster te plakken.', +selectall_desc : 'Alles selecteren' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/nn.js new file mode 100644 index 0000000000..9084597ef4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/nn.js @@ -0,0 +1,10 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +paste_text_desc : 'Lim inn som vanleg tekst', +paste_text_title : 'Bruk CTRL+V på tastaturet ditt for å lime inn i dette vindauget.', +paste_text_linebreaks : 'Spar linjebrudd', +paste_word_desc : 'Lim inn fr Office (Word)', +paste_word_title : 'Bruk CTRL+V på tastaturet ditt for å lime inn i dette vindauget.', +selectall_desc : 'Velg alt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/pl.js new file mode 100644 index 0000000000..65e0cda42c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/pl.js @@ -0,0 +1,12 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl + +tinyMCE.addToLang('',{ +paste_text_desc : 'Wklej jako czysty tekst', +paste_text_title : 'Uyj CTRL+V na klawiaturze, aby wklei tekst do okna.', +paste_text_linebreaks : 'Zachowaj amanie linii', +paste_word_desc : 'Wklej z Worda', +paste_word_title : 'Uyj CTRL+V na klawiaturze, aby wklei tekst do okna.', +selectall_desc : 'Zaznacz wszystko' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/pt.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/pt.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/pt_br.js new file mode 100644 index 0000000000..bf777460d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/pt_br.js @@ -0,0 +1,17 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +paste_text_desc : 'Colar um texto simples', +paste_text_title : 'Use CTRL+V no seu teclado para colar o texto dentro da janela.', +paste_text_linebreaks : 'Manter quebras de linha', +paste_word_desc : 'Colar do Word', +paste_word_title : 'Use CTRL+V no seu teclado para colar o texto dentro da janela.', +selectall_desc : 'Selecionar tudo' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ro.js new file mode 100755 index 0000000000..440eba7058 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ro.js @@ -0,0 +1,10 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Lipeşte ca text simplu', +paste_text_title : 'Foloseşte CTRL+V de pe tastatură pentru a lipi text în fereastră.', +paste_text_linebreaks : 'Păstrează spaţierea rândurilor', +paste_word_desc : 'Lipeşte din Word', +paste_word_title : 'Foloseşte CTRL+V de pe tastatură pentru a lipi text în fereastră.', +selectall_desc : 'Selectează tot' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ru.js new file mode 100644 index 0000000000..c720cb66f4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ru.js @@ -0,0 +1,10 @@ +// RU cp1251 lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : ' ', +paste_text_title : ' CTRL+V .', +paste_text_linebreaks : ' ', +paste_word_desc : ' Word', +paste_word_title : ' CTRL+V .', +selectall_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..be754855ab --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ru_KOI8-R.js @@ -0,0 +1,10 @@ +// RU KOI8-R lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : ' ', +paste_text_title : ' CTRL+V .', +paste_text_linebreaks : ' ', +paste_word_desc : ' Word', +paste_word_title : ' CTRL+V .', +selectall_desc : ' ӣ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/ru_UTF-8.js new file mode 100644 index 0000000000..c5dc2cfaf5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/ru_UTF-8.js @@ -0,0 +1,10 @@ +// RU UTF-8 lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Вставить как простой текст', +paste_text_title : 'Используйте CTRL+V для вставки текста в окошко.', +paste_text_linebreaks : 'Сохранить переносы строк', +paste_word_desc : 'Вставить из Word', +paste_word_title : 'Используйте CTRL+V для вставки текста в окошко.', +selectall_desc : 'Выделить всё' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/si.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/si.js new file mode 100644 index 0000000000..60d54245cc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/si.js @@ -0,0 +1,10 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +paste_text_desc : 'Prilepi kot navadno besedilo', +paste_text_title : 'Uporabite CTRL+V na vaši tipkovnici, da prilepite besedilo v okno.', +paste_text_linebreaks : 'Obdrži prelome vrstic', +paste_word_desc : 'Prilepi iz Word-a', +paste_word_title : 'Uporabite CTRL+V na vaši tipkovnici, da prilepite besedilo v okno.', +selectall_desc : 'Označi vse' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/sk.js new file mode 100644 index 0000000000..a92ee19a0b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/sk.js @@ -0,0 +1,18 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +paste_text_desc : 'Vložiť neformatovaný text', +paste_text_title : 'Použi CTRL + V na klávesnici pre vloženie textu do okna.', +paste_text_linebreaks : 'Nechaj prerušenie riadkov', +paste_word_desc : 'Vložiť text s aplikáce Word', +paste_word_title : 'Použi CTRL + V na klávesnici pre vloženie textu do okna.', +selectall_desc : 'Označiť všetko' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/sq.js new file mode 100755 index 0000000000..5ac04b0a0e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/sq.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Kopjo si Text te paster', +paste_text_title : 'Perdor CTRL+V ne tastjere per te kopjuar tekstin ne dritare.', +paste_text_linebreaks : 'Ruaj thyerjet e linjave', +paste_word_desc : 'Kopjo nga MS Word', +paste_word_title : 'UPerdor CTRL+V ne tastjere per te kopjuar tekstin ne dritare.', +selectall_desc : 'Zgjidh te gjithe' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/sv.js new file mode 100644 index 0000000000..c005c9435d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/sv.js @@ -0,0 +1,10 @@ +// SV lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Klistra in som vanlig text', +paste_text_title : 'Använd CTRL+V på ditt tangentbord för att klistra in i detta fönster.', +paste_text_linebreaks : 'Spara radbrytningar', +paste_word_desc : 'Klistra in från Word', +paste_word_title : 'Använd CTRL+V på ditt tangentbord för att klistra in i detta fönster.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/th.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/th.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/th.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/tr.js new file mode 100644 index 0000000000..2e880a5bc9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/tr.js @@ -0,0 +1,10 @@ +// Tr lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Dz metin olarak yaptr', +paste_text_title : 'Yaptrmak iin klavyenizden CTRL+V kullann.', +paste_text_linebreaks : 'Satr sonlarn koru', +paste_word_desc : 'Word\'den yaptr', +paste_word_title : 'Yaptrmak iin klavyenizden CTRL+V kullann.', +selectall_desc : 'Tmn se' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/tw.js new file mode 100644 index 0000000000..b125d51195 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/tw.js @@ -0,0 +1,10 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +paste_text_desc : 'Paste as Plain Text', +paste_text_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +paste_text_linebreaks : 'Keep linebreaks', +paste_word_desc : 'Paste from Word', +paste_word_title : 'Use CTRL+V on your keyboard to paste the text into the window.', +selectall_desc : 'Select All' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/vi.js new file mode 100755 index 0000000000..0c67387f45 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/vi.js @@ -0,0 +1,10 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +paste_text_desc : 'Dán như văn bản đơn giản', +paste_text_title : 'Sử dụng tổ hợp phím CTRL+V để dán văn bản vào cửa sổ.', +paste_text_linebreaks : 'Giữ các ký tự xuống dòng', +paste_word_desc : 'Dán từ Word', +paste_word_title : 'Sử dụng tổ hợp phím CTRL+V để dán văn bản vào cửa sổ.', +selectall_desc : 'Chọn toàn bộ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_cn.js new file mode 100755 index 0000000000..518ee1fb29 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_cn.js @@ -0,0 +1,11 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +paste_text_desc : 'Ϊıճ', +paste_text_title : 'ʹÿݼ CTRL+V ıճ´', +paste_text_linebreaks : 'з', +paste_word_desc : 'Wordճ', +paste_word_title : 'ʹÿݼ CTRL+V ıճ´', +selectall_desc : 'ȫѡ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..64368c326a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_cn_utf8.js @@ -0,0 +1,11 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +paste_text_desc : '作为纯文本粘贴', +paste_text_title : '使用快捷键 CTRL+V 将文本本粘贴到以下窗口中', +paste_text_linebreaks : '保留换行符', +paste_word_desc : '从Word粘贴', +paste_word_title : '使用快捷键 CTRL+V 将文本粘贴到以下窗口', +selectall_desc : '全选' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_tw.js new file mode 100644 index 0000000000..ecbcc7be18 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_tw.js @@ -0,0 +1,11 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +paste_text_desc : 'į¤rҦKW', +paste_text_title : 'ϥLW CTRL+V զXNrKJ@~Ϥ', +paste_text_linebreaks : 'OdŸ', +paste_word_desc : ' Word K', +paste_word_title : 'ϥLW CTRL+V զXNrKJ@~Ϥ', +selectall_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..04b60d514c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/langs/zh_tw_utf8.js @@ -0,0 +1,11 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +paste_text_desc : '採純文字模式貼上', +paste_text_title : '使用鍵盤上的 CTRL+V 組合鍵將文字貼入作業區中', +paste_text_linebreaks : '保留換行符號', +paste_word_desc : '自 Word 內轉貼', +paste_word_title : '使用鍵盤上的 CTRL+V 組合鍵將文字貼入作業區中', +selectall_desc : '全選' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/paste/pastetext.htm b/phpgwapi/js/tiny_mce/plugins/paste/pastetext.htm new file mode 100644 index 0000000000..63ff0007be --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/pastetext.htm @@ -0,0 +1,34 @@ + + + {$lang_paste_text_desc} + + + + + + +
+
{$lang_paste_text_desc}
+ +
+ +
+ +
+ +
{$lang_paste_text_title}
+ + + +
+
+ +
+ +
+ +
+
+
+ + \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/paste/pasteword.htm b/phpgwapi/js/tiny_mce/plugins/paste/pasteword.htm new file mode 100644 index 0000000000..7acc7f78f6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/pasteword.htm @@ -0,0 +1,29 @@ + + + + {$lang_paste_word_desc} + + + + + + +
+
{$lang_paste_word_desc}
+ +
{$lang_paste_word_title}
+ +
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/paste/readme.txt b/phpgwapi/js/tiny_mce/plugins/paste/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/paste/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/preview/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/preview/editor_plugin.js new file mode 100644 index 0000000000..39059865af --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('preview','en,tr,cs,de,el,fr_ca,it,ko,pt,sv,zh_cn,fa,fr,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,es,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_PreviewPlugin={getInfo:function(){return{longname:'Preview',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_preview.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"preview":return tinyMCE.getButtonHTML(cn,'lang_preview_desc','{$pluginurl}/images/preview.gif','mcePreview');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mcePreview":var previewPage=tinyMCE.getParam("plugin_preview_pageurl",null);var previewWidth=tinyMCE.getParam("plugin_preview_width","550");var previewHeight=tinyMCE.getParam("plugin_preview_height","600");if(previewPage){var template=new Array();template['file']=previewPage;template['width']=previewWidth;template['height']=previewHeight;tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"yes",inline:"yes",content:tinyMCE.getContent(),content_css:tinyMCE.getParam("content_css")});}else{var win=window.open("","mcePreview","menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width="+previewWidth+",height="+previewHeight);var html="";var c=tinyMCE.getContent();var pos=c.indexOf('',pos);pos2=c.lastIndexOf('');c=c.substring(pos+1,pos2);}html+=tinyMCE.getParam('doctype');html+='';html+='';html+=''+tinyMCE.getLang('lang_preview_desc')+'';html+='';html+='';html+='';html+='';html+='';html+=c;html+='';html+='';win.document.write(html);win.document.close();}return true;}return false;}};tinyMCE.addPlugin("preview",TinyMCE_PreviewPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/preview/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/preview/editor_plugin_src.js new file mode 100644 index 0000000000..cd7e5e47b0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/editor_plugin_src.js @@ -0,0 +1,92 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.23 $ + * $Date: 2006/03/20 12:03:44 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('preview', 'en,tr,cs,de,el,fr_ca,it,ko,pt,sv,zh_cn,fa,fr,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,es,cy,is,zh_tw,zh_tw_utf8,sk'); + +var TinyMCE_PreviewPlugin = { + getInfo : function() { + return { + longname : 'Preview', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_preview.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + /** + * Returns the HTML contents of the preview control. + */ + getControlHTML : function(cn) { + switch (cn) { + case "preview": + return tinyMCE.getButtonHTML(cn, 'lang_preview_desc', '{$pluginurl}/images/preview.gif', 'mcePreview'); + } + + return ""; + }, + + /** + * Executes the mcePreview command. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mcePreview": + var previewPage = tinyMCE.getParam("plugin_preview_pageurl", null); + var previewWidth = tinyMCE.getParam("plugin_preview_width", "550"); + var previewHeight = tinyMCE.getParam("plugin_preview_height", "600"); + + // Use a custom preview page + if (previewPage) { + var template = new Array(); + + template['file'] = previewPage; + template['width'] = previewWidth; + template['height'] = previewHeight; + + tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "yes", inline : "yes", content : tinyMCE.getContent(), content_css : tinyMCE.getParam("content_css")}); + } else { + var win = window.open("", "mcePreview", "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width=" + previewWidth + ",height=" + previewHeight); + var html = ""; + var c = tinyMCE.getContent(); + var pos = c.indexOf('', pos); + pos2 = c.lastIndexOf(''); + c = c.substring(pos + 1, pos2); + } + + html += tinyMCE.getParam('doctype'); + html += ''; + html += ''; + html += '' + tinyMCE.getLang('lang_preview_desc') + ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += c; + html += ''; + html += ''; + + win.document.write(html); + win.document.close(); + } + + return true; + } + + return false; + } +}; + +tinyMCE.addPlugin("preview", TinyMCE_PreviewPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/example.html b/phpgwapi/js/tiny_mce/plugins/preview/example.html new file mode 100644 index 0000000000..19ebead45d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/example.html @@ -0,0 +1,13 @@ + + + +Example of a custom preview page + + + + +Editor contents:
+{$content} + + + diff --git a/phpgwapi/js/tiny_mce/plugins/preview/images/preview.gif b/phpgwapi/js/tiny_mce/plugins/preview/images/preview.gif new file mode 100644 index 0000000000..318936eaac Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/preview/images/preview.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ar.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ar.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ca.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ca.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/cs.js new file mode 100755 index 0000000000..c852107c91 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/cs.js @@ -0,0 +1,11 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.5 2006/01/11 14:25:49 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +preview_desc : 'Náhled' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/cy.js new file mode 100644 index 0000000000..01d4201d59 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/cy.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Rhagolwg' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/da.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/da.js new file mode 100644 index 0000000000..07b7662a06 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/da.js @@ -0,0 +1,5 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +preview_desc : 'Se siden' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/de.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/de.js new file mode 100644 index 0000000000..c8bc6b12b5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/de.js @@ -0,0 +1,5 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Vorschau' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/el.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/el.js new file mode 100755 index 0000000000..cbfc774571 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/el.js @@ -0,0 +1,5 @@ +// Greek lang variables by Jacaranda Bill + +tinyMCE.addToLang('',{ +preview_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/en.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/en.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/en.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/es.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/es.js new file mode 100755 index 0000000000..a305521b4b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/es.js @@ -0,0 +1,7 @@ +// ES lang variables by Alvaro Velasco and Adolfo Sanz De Diego (asanzdiego) +// Last Updated : October 2005 +// TinyMCE Version : 2.0RC3 + +tinyMCE.addToLang('',{ +preview_desc : 'Vista previa' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/fa.js new file mode 100644 index 0000000000..d9a9658109 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/fa.js @@ -0,0 +1,10 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +preview_desc : '??? ?????' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/fa_ca.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/fa_ca.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/fi.js new file mode 100755 index 0000000000..146f13a1c7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/fi.js @@ -0,0 +1,5 @@ +// FI lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Esikatselu' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/fr.js new file mode 100755 index 0000000000..1a215938bc --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/fr.js @@ -0,0 +1,6 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +tinyMCE.addToLang('',{ +preview_desc : 'Prévisualisation' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/fr_ca.js new file mode 100755 index 0000000000..1f687d696d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/fr_ca.js @@ -0,0 +1,5 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +preview_desc : 'Prvisualisation' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/he.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/he.js new file mode 100755 index 0000000000..6fd7262dc2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +preview_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/hu.js new file mode 100644 index 0000000000..94e83b9c6b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/hu.js @@ -0,0 +1,5 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Elnzet' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/is.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/is.js new file mode 100644 index 0000000000..d20b485b2d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/is.js @@ -0,0 +1,5 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +preview_desc : 'Forskoða' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/it.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/it.js new file mode 100755 index 0000000000..f63d430323 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/it.js @@ -0,0 +1,5 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Anteprima' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja-euc-jp.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja-euc-jp.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_euc-jp.js new file mode 100755 index 0000000000..dbf4a2d19d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_euc-jp.js @@ -0,0 +1,5 @@ +// ܸ euc lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'ץӥ塼' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_shift-jis.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_shift-jis.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_shift_jis.js new file mode 100755 index 0000000000..a328cd5952 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_shift_jis.js @@ -0,0 +1,5 @@ +// { shift_jis lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'vr[' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_utf-8.js new file mode 100755 index 0000000000..8adc816162 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ja_utf-8.js @@ -0,0 +1,5 @@ +// 日本語 utf-8 lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'プレビュー' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ko.js new file mode 100644 index 0000000000..2759a082a1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ko.js @@ -0,0 +1,5 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +preview_desc : '̸' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/nb.js new file mode 100644 index 0000000000..231f1ba30a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/nb.js @@ -0,0 +1,5 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +preview_desc : 'Forhåndsvisning' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/nl.js new file mode 100644 index 0000000000..ec66d32a16 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/nl.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Voorbeeld' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/nn.js new file mode 100644 index 0000000000..e273a271ab --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/nn.js @@ -0,0 +1,5 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +preview_desc : 'Forhåndsvisning' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/pl.js new file mode 100644 index 0000000000..2e3f901916 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/pl.js @@ -0,0 +1,7 @@ +// PL lang variables +// fixed by Wooya +// http://www.musion.prv.pl + +tinyMCE.addToLang('',{ +preview_desc : 'Podgld' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/pt.js new file mode 100644 index 0000000000..6256c4739e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/pt.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Pr-visualizao' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/pt_br.js new file mode 100644 index 0000000000..3cbf430473 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/pt_br.js @@ -0,0 +1,13 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +preview_desc : 'Visualizar' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ro.js new file mode 100755 index 0000000000..cf15bfd6fb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ro.js @@ -0,0 +1,5 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Previzualizare' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ru.js new file mode 100644 index 0000000000..994bb57beb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ru.js @@ -0,0 +1,5 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +preview_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..5de38b6aa9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ru_KOI8-R.js @@ -0,0 +1,5 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +preview_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/ru_UTF-8.js new file mode 100644 index 0000000000..dda8c81dbf --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/ru_UTF-8.js @@ -0,0 +1,5 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +preview_desc : 'Предварительный просмотр' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/si.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/si.js new file mode 100644 index 0000000000..83b2fe3e37 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/si.js @@ -0,0 +1,5 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +preview_desc : 'Predogled' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/sk.js new file mode 100644 index 0000000000..7a1971f405 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/sk.js @@ -0,0 +1,13 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +preview_desc : 'Náhľad' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/sq.js new file mode 100755 index 0000000000..411c19066f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/sq.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Parashiko' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/sv.js new file mode 100644 index 0000000000..cb2bbf87e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/sv.js @@ -0,0 +1,5 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Förhandsgranska' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/th.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/th.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/th.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/tr.js new file mode 100644 index 0000000000..2f31557b0d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/tr.js @@ -0,0 +1,5 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'nizleme' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/tw.js new file mode 100644 index 0000000000..b68b6751df --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/tw.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +preview_desc : 'Preview' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/vi.js new file mode 100755 index 0000000000..f2eb949736 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/vi.js @@ -0,0 +1,5 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +preview_desc : 'Xem trước' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_cn.js new file mode 100755 index 0000000000..ff49c40912 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_cn.js @@ -0,0 +1,6 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +preview_desc : 'Ԥ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..c17e032dff --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_cn_utf8.js @@ -0,0 +1,6 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +preview_desc : '预览' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_tw.js new file mode 100644 index 0000000000..f15e5515fe --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_tw.js @@ -0,0 +1,6 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +preview_desc : 'w' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..9d5e7378ad --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/langs/zh_tw_utf8.js @@ -0,0 +1,6 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +preview_desc : '預覽' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/preview/readme.txt b/phpgwapi/js/tiny_mce/plugins/preview/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/preview/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/print/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/print/editor_plugin.js new file mode 100644 index 0000000000..5ea391cb83 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('print','en,tr,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_PrintPlugin={getInfo:function(){return{longname:'Print',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_print.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"print":return tinyMCE.getButtonHTML(cn,'lang_print_desc','{$pluginurl}/images/print.gif','mcePrint');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mcePrint":tinyMCE.getInstanceById(editor_id).contentWindow.print();return true;}return false;}};tinyMCE.addPlugin("print",TinyMCE_PrintPlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/print/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/print/editor_plugin_src.js new file mode 100644 index 0000000000..aa2d4eea44 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/editor_plugin_src.js @@ -0,0 +1,49 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.19 $ + * $Date: 2006/02/10 16:29:40 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import theme specific language pack */ +tinyMCE.importPluginLanguagePack('print', 'en,tr,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,zh_tw,zh_tw_utf8,sk'); + +var TinyMCE_PrintPlugin = { + getInfo : function() { + return { + longname : 'Print', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_print.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + getControlHTML : function(cn) { + switch (cn) { + case "print": + return tinyMCE.getButtonHTML(cn, 'lang_print_desc', '{$pluginurl}/images/print.gif', 'mcePrint'); + } + + return ""; + }, + + /** + * Executes the search/replace commands. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mcePrint": + tinyMCE.getInstanceById(editor_id).contentWindow.print(); + return true; + } + + // Pass to next handler in chain + return false; + } +}; + +tinyMCE.addPlugin("print", TinyMCE_PrintPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/print/images/print.gif b/phpgwapi/js/tiny_mce/plugins/print/images/print.gif new file mode 100644 index 0000000000..72104d177b Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/print/images/print.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ar.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ar.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ca.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ca.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/print/langs/cs.js new file mode 100755 index 0000000000..8365e71265 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/cs.js @@ -0,0 +1,11 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.4 2005/10/18 13:59:43 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +print_desc : 'Tisk' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/print/langs/cy.js new file mode 100644 index 0000000000..ea0a8d0d44 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/cy.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Argraffu' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/da.js b/phpgwapi/js/tiny_mce/plugins/print/langs/da.js new file mode 100644 index 0000000000..3427fe7cad --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/da.js @@ -0,0 +1,5 @@ +// DK lang variables contributed by Jan Moelgaard + +tinyMCE.addToLang('',{ +print_desc : 'Udskriv' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/de.js b/phpgwapi/js/tiny_mce/plugins/print/langs/de.js new file mode 100644 index 0000000000..163f19df0c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/de.js @@ -0,0 +1,5 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Drucken' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/el.js b/phpgwapi/js/tiny_mce/plugins/print/langs/el.js new file mode 100755 index 0000000000..60855ce84e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/el.js @@ -0,0 +1,5 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +print_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/en.js b/phpgwapi/js/tiny_mce/plugins/print/langs/en.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/en.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/es.js b/phpgwapi/js/tiny_mce/plugins/print/langs/es.js new file mode 100755 index 0000000000..273784eaac --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/es.js @@ -0,0 +1,7 @@ +// ES lang variables by Alvaro Velasco and Adolfo Sanz De Diego (asanzdiego) +// Last Updated : October 2005 +// TinyMCE Version : 2.0RC3 + +tinyMCE.addToLang('',{ +print_desc : 'Imprimir' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/print/langs/fa.js new file mode 100644 index 0000000000..81e6df0154 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/fa.js @@ -0,0 +1,10 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +print_desc : '???' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/print/langs/fa_ca.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/fa_ca.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/print/langs/fi.js new file mode 100755 index 0000000000..e97d9abaea --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/fi.js @@ -0,0 +1,5 @@ +// FI lang variables by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('',{ +print_desc : 'Tulosta' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/print/langs/fr.js new file mode 100755 index 0000000000..8286abb29f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/fr.js @@ -0,0 +1,6 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +tinyMCE.addToLang('',{ +print_desc : 'Imprimer' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/print/langs/fr_ca.js new file mode 100755 index 0000000000..c98cc74ffe --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/fr_ca.js @@ -0,0 +1,5 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +print_desc : 'Imprimer' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/he.js b/phpgwapi/js/tiny_mce/plugins/print/langs/he.js new file mode 100755 index 0000000000..de55f38f5f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +print_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/print/langs/hu.js new file mode 100644 index 0000000000..8e1ec6a295 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/hu.js @@ -0,0 +1,5 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Nyomtats' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/is.js b/phpgwapi/js/tiny_mce/plugins/print/langs/is.js new file mode 100644 index 0000000000..df67cae810 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/is.js @@ -0,0 +1,5 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +print_desc : 'Prenta' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/it.js b/phpgwapi/js/tiny_mce/plugins/print/langs/it.js new file mode 100755 index 0000000000..1af4896d56 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/it.js @@ -0,0 +1,5 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Stampa' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ja-euc-jp.js new file mode 100755 index 0000000000..a5df7532a0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ja-euc-jp.js @@ -0,0 +1,5 @@ +// Japanese euc variables + +tinyMCE.addToLang('',{ +print_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ja.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ja.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_euc-jp.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_euc-jp.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_shift-jis.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_shift-jis.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_shift_jis.js new file mode 100755 index 0000000000..a4ecfa9087 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_shift_jis.js @@ -0,0 +1,5 @@ +// Japanese shift-jis variables + +tinyMCE.addToLang('',{ +print_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_utf-8.js new file mode 100755 index 0000000000..a3c1eb1ca1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ja_utf-8.js @@ -0,0 +1,5 @@ +// Japanese utf-8 variables + +tinyMCE.addToLang('',{ +print_desc : '印刷' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ko.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ko.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/print/langs/nb.js new file mode 100644 index 0000000000..e2dba3bd87 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/nb.js @@ -0,0 +1,5 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +print_desc : 'Skriv ut' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/print/langs/nl.js new file mode 100644 index 0000000000..7b120259b8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/nl.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Afdrukken' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/print/langs/nn.js new file mode 100644 index 0000000000..4e2fdec2e0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/nn.js @@ -0,0 +1,5 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +print_desc : 'Skriv ut' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/print/langs/pl.js new file mode 100644 index 0000000000..d13f09ce58 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/pl.js @@ -0,0 +1,5 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Drukuj' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/print/langs/pt.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/pt.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/print/langs/pt_br.js new file mode 100644 index 0000000000..28052e4115 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/pt_br.js @@ -0,0 +1,13 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +print_desc : 'Imprimir' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ro.js new file mode 100755 index 0000000000..036a684cee --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ro.js @@ -0,0 +1,5 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Tipăreşte' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ru.js new file mode 100644 index 0000000000..edc826b746 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ru.js @@ -0,0 +1,5 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +print_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..038375cccd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ru_KOI8-R.js @@ -0,0 +1,5 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +print_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/print/langs/ru_UTF-8.js new file mode 100644 index 0000000000..a7185f8bc2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/ru_UTF-8.js @@ -0,0 +1,5 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +print_desc : 'Распечатать' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/si.js b/phpgwapi/js/tiny_mce/plugins/print/langs/si.js new file mode 100644 index 0000000000..b971cdaf14 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/si.js @@ -0,0 +1,5 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +print_desc : 'Natisni' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/print/langs/sk.js new file mode 100644 index 0000000000..9954763279 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/sk.js @@ -0,0 +1,13 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +print_desc : 'Tlač' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/print/langs/sq.js new file mode 100755 index 0000000000..1019f0f734 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/sq.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Shtyp' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/print/langs/sv.js new file mode 100644 index 0000000000..34484379e2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/sv.js @@ -0,0 +1,5 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Skriv ut' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/th.js b/phpgwapi/js/tiny_mce/plugins/print/langs/th.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/th.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/print/langs/tr.js new file mode 100644 index 0000000000..970ab03ac2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/tr.js @@ -0,0 +1,5 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Yazdr' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/print/langs/tw.js new file mode 100644 index 0000000000..6407cdb849 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/tw.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +print_desc : 'Print' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/print/langs/vi.js new file mode 100755 index 0000000000..a4072c6dcb --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/vi.js @@ -0,0 +1,5 @@ +// Vietnamese lang variables - Ðỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +print_desc : 'In' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_cn.js new file mode 100755 index 0000000000..c0a7aba569 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_cn.js @@ -0,0 +1,6 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +print_desc : 'ӡ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..14707b3d83 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_cn_utf8.js @@ -0,0 +1,6 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +print_desc : '打印' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_tw.js new file mode 100644 index 0000000000..6dc26a60dd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_tw.js @@ -0,0 +1,6 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +print_desc : 'CL' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..c0615a7383 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/langs/zh_tw_utf8.js @@ -0,0 +1,6 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +print_desc : '列印' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/print/readme.txt b/phpgwapi/js/tiny_mce/plugins/print/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/print/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/readme.txt b/phpgwapi/js/tiny_mce/plugins/readme.txt new file mode 100644 index 0000000000..b694fdb6bf --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/readme.txt @@ -0,0 +1 @@ +This is the location you place TinyMCE plugins. diff --git a/phpgwapi/js/tiny_mce/plugins/save/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/save/editor_plugin.js new file mode 100644 index 0000000000..d299c23229 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('save','en,tr,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,da,es,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_SavePlugin={getInfo:function(){return{longname:'Save',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_save.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){inst.addShortcut('ctrl','s','lang_save_desc','mceSave');},getControlHTML:function(cn){switch(cn){case"save":return tinyMCE.getButtonHTML(cn,'lang_save_desc','{$pluginurl}/images/save.gif','mceSave');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceSave":if(tinyMCE.getParam("fullscreen_is_enabled"))return true;var inst=tinyMCE.selectedInstance;var formObj=inst.formElement.form;if(tinyMCE.getParam("save_enablewhendirty")&&!inst.isDirty())return true;if(formObj){tinyMCE.triggerSave();var os;if((os=tinyMCE.getParam("save_onsavecallback"))){if(eval(os+'(inst);')){inst.startContent=tinyMCE.trim(inst.getBody().innerHTML);tinyMCE.triggerNodeChange(false,true);}return true;}for(var i=0;i +// Last Updated : October 2005 +// TinyMCE Version : 2.0RC3 + +tinyMCE.addToLang('',{ +save_desc : 'Salvar' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/save/langs/fa.js new file mode 100644 index 0000000000..e99e4362af --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/fa.js @@ -0,0 +1,11 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +save_desc : '???' +}); + \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/save/langs/fa_ca.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/fa_ca.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/save/langs/fi.js new file mode 100755 index 0000000000..fbffbe3ef3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/fi.js @@ -0,0 +1,5 @@ +// FI lang variables by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('',{ +save_desc : 'Tallenna' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/save/langs/fr.js new file mode 100755 index 0000000000..80eb3698f2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/fr.js @@ -0,0 +1,6 @@ +// FR lang variables +// Modified by Motte, last updated 2006-03-23 + +tinyMCE.addToLang('',{ +save_desc : 'Enregistrer' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/save/langs/fr_ca.js new file mode 100755 index 0000000000..4d6e912a9e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/fr_ca.js @@ -0,0 +1,6 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +save_desc : 'Enregistrer' +}); +, \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/he.js b/phpgwapi/js/tiny_mce/plugins/save/langs/he.js new file mode 100755 index 0000000000..fb08bb8f9d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/he.js @@ -0,0 +1,5 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +save_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/save/langs/hu.js new file mode 100644 index 0000000000..54b152a6ec --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/hu.js @@ -0,0 +1,5 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Ments' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/is.js b/phpgwapi/js/tiny_mce/plugins/save/langs/is.js new file mode 100644 index 0000000000..21ae8ce27b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/is.js @@ -0,0 +1,5 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +save_desc : 'Vista' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/it.js b/phpgwapi/js/tiny_mce/plugins/save/langs/it.js new file mode 100755 index 0000000000..a2adfe028f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/it.js @@ -0,0 +1,5 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Salva' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ja-euc-jp.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ja-euc-jp.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ja.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ja.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_euc-jp.js new file mode 100755 index 0000000000..c2a018f409 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_euc-jp.js @@ -0,0 +1,5 @@ +// Japanese euc lang variables + +tinyMCE.addToLang('',{ +save_desc : '¸' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_shift-jis.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_shift-jis.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_shift_jis.js new file mode 100755 index 0000000000..61dcb54774 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_shift_jis.js @@ -0,0 +1,5 @@ +// Japanese shift-jis lang variables + +tinyMCE.addToLang('',{ +save_desc : 'ۑ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_utf-8.js new file mode 100755 index 0000000000..d49cb40b41 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ja_utf-8.js @@ -0,0 +1,5 @@ +// Japanese utf-8 lang variables + +tinyMCE.addToLang('',{ +save_desc : '保存' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ko.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ko.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/save/langs/nb.js new file mode 100644 index 0000000000..c599d94a3e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/nb.js @@ -0,0 +1,5 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('save',{ +desc : 'Lagre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/save/langs/nl.js new file mode 100644 index 0000000000..7368988f44 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/nl.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Opslaan' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/save/langs/nn.js new file mode 100644 index 0000000000..b6bc7ecf5b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/nn.js @@ -0,0 +1,5 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('save',{ +desc : 'Lagre' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/save/langs/pl.js new file mode 100644 index 0000000000..96c1a7fc44 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/pl.js @@ -0,0 +1,5 @@ +// PL lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Zachowaj' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/save/langs/pt.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/pt.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/save/langs/pt_br.js new file mode 100644 index 0000000000..c96f55805a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/pt_br.js @@ -0,0 +1,13 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +save_desc : 'Salvar' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ro.js new file mode 100755 index 0000000000..53423aaecf --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ro.js @@ -0,0 +1,5 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Salvează' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ru.js new file mode 100644 index 0000000000..c3f2c97cf7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ru.js @@ -0,0 +1,5 @@ +// RU lang variables cp1251 + +tinyMCE.addToLang('',{ +save_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..fbd0459b39 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ru_KOI8-R.js @@ -0,0 +1,5 @@ +// RU lang variables KOI8-R + +tinyMCE.addToLang('',{ +save_desc : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/save/langs/ru_UTF-8.js new file mode 100644 index 0000000000..67600d7142 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/ru_UTF-8.js @@ -0,0 +1,5 @@ +// RU lang variables UTF-8 + +tinyMCE.addToLang('',{ +save_desc : 'Сохранить' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/si.js b/phpgwapi/js/tiny_mce/plugins/save/langs/si.js new file mode 100644 index 0000000000..b29e7e3038 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/si.js @@ -0,0 +1,5 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +save_desc : 'Shrani' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/save/langs/sk.js new file mode 100644 index 0000000000..7218863a40 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/sk.js @@ -0,0 +1,13 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +save_desc : 'Uložiť' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/save/langs/sq.js new file mode 100755 index 0000000000..9c91d52144 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/sq.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Ruaj' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/save/langs/sv.js new file mode 100644 index 0000000000..3ddfb1f799 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/sv.js @@ -0,0 +1,5 @@ +// SV lang variables + +tinyMCE.addToLang('save',{ +desc : 'Spara' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/th.js b/phpgwapi/js/tiny_mce/plugins/save/langs/th.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/th.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/save/langs/tr.js new file mode 100644 index 0000000000..2765636dc9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/tr.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Kaydet' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/save/langs/tw.js new file mode 100644 index 0000000000..2c56b4b882 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/tw.js @@ -0,0 +1,5 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +save_desc : 'Save' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/save/langs/vi.js new file mode 100755 index 0000000000..38f00201ac --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/vi.js @@ -0,0 +1,5 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +save_desc : 'Ghi lại' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_cn.js new file mode 100755 index 0000000000..e173d59035 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_cn.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +save_desc : '' +}); + \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..0ad99afa5c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_cn_utf8.js @@ -0,0 +1,7 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +save_desc : '保存' +}); + \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_tw.js new file mode 100644 index 0000000000..e7d9594a2c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_tw.js @@ -0,0 +1,6 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +save_desc : 's' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..7a692a7c32 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/langs/zh_tw_utf8.js @@ -0,0 +1,6 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +save_desc : '存檔' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/save/readme.txt b/phpgwapi/js/tiny_mce/plugins/save/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/save/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/editor_plugin.js new file mode 100644 index 0000000000..a78b35e061 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('searchreplace','en,tr,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_SearchReplacePlugin={getInfo:function(){return{longname:'Search/Replace',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_searchreplace.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){inst.addShortcut('ctrl','f','lang_searchreplace_search_desc','mceSearch',true);},getControlHTML:function(cn){switch(cn){case"search":return tinyMCE.getButtonHTML(cn,'lang_searchreplace_search_desc','{$pluginurl}/images/search.gif','mceSearch',true);case"replace":return tinyMCE.getButtonHTML(cn,'lang_searchreplace_replace_desc','{$pluginurl}/images/replace.gif','mceSearchReplace',true);}return"";},execCommand:function(editor_id,element,command,user_interface,value){var instance=tinyMCE.getInstanceById(editor_id);function defValue(key,default_value){value[key]=typeof(value[key])=="undefined"?default_value:value[key];}function replaceSel(search_str,str,back){instance.execCommand('mceInsertContent',false,str);}if(!value)value=new Array();defValue("editor_id",editor_id);defValue("searchstring","");defValue("replacestring",null);defValue("replacemode","none");defValue("casesensitive",false);defValue("backwards",false);defValue("wrap",false);defValue("wholeword",false);defValue("inline","yes");switch(command){case"mceResetSearch":tinyMCE.lastSearchRng=null;return true;case"mceSearch":if(user_interface){var template=new Array();if(value['replacestring']!=null){template['file']='../../plugins/searchreplace/replace.htm';template['width']=320;template['height']=100+(tinyMCE.isNS7?20:0);template['width']+=tinyMCE.getLang('lang_searchreplace_replace_delta_width',0);template['height']+=tinyMCE.getLang('lang_searchreplace_replace_delta_height',0);}else{template['file']='../../plugins/searchreplace/search.htm';template['width']=310;template['height']=105+(tinyMCE.isNS7?25:0);template['width']+=tinyMCE.getLang('lang_searchreplace_search_delta_width',0);template['height']+=tinyMCE.getLang('lang_searchreplace_replace_delta_height',0);}instance.execCommand('SelectAll');if(tinyMCE.isMSIE){var r=instance.selection.getRng();r.collapse(true);r.select();}else instance.selection.getSel().collapseToStart();tinyMCE.openWindow(template,value);}else{var win=tinyMCE.getInstanceById(editor_id).contentWindow;var doc=tinyMCE.getInstanceById(editor_id).contentWindow.document;var body=tinyMCE.getInstanceById(editor_id).contentWindow.document.body;if(body.innerHTML==""){alert(tinyMCE.getLang('lang_searchreplace_notfound'));return true;}if(value['replacemode']=="current"){replaceSel(value['string'],value['replacestring'],value['backwards']);value['replacemode']="none";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true;}if(tinyMCE.isMSIE){var rng=tinyMCE.lastSearchRng?tinyMCE.lastSearchRng:doc.selection.createRange();var flags=0;if(value['wholeword'])flags=flags|2;if(value['casesensitive'])flags=flags|4;if(!rng.findText){alert('This operation is currently not supported by this browser.');return true;}if(value['replacemode']=="all"){while(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(false);replaceSel(value['string'],value['replacestring'],value['backwards']);}alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true;}if(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(value['backwards']);tinyMCE.lastSearchRng=rng;}else alert(tinyMCE.getLang('lang_searchreplace_notfound'));}else{if(value['replacemode']=="all"){while(win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))replaceSel(value['string'],value['replacestring'],value['backwards']);alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true;}if(!win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))alert(tinyMCE.getLang('lang_searchreplace_notfound'));}}return true;case"mceSearchReplace":value['replacestring']="";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true;}return false;}};tinyMCE.addPlugin("searchreplace",TinyMCE_SearchReplacePlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js new file mode 100644 index 0000000000..eed96db9e0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/editor_plugin_src.js @@ -0,0 +1,185 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.27 $ + * $Date: 2006/02/13 15:09:28 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import theme specific language pack */ +tinyMCE.importPluginLanguagePack('searchreplace', 'en,tr,sv,zh_cn,fa,fr_ca,fr,de,pl,pt_br,cs,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,zh_tw,zh_tw_utf8,sk'); + +var TinyMCE_SearchReplacePlugin = { + getInfo : function() { + return { + longname : 'Search/Replace', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_searchreplace.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + initInstance : function(inst) { + inst.addShortcut('ctrl', 'f', 'lang_searchreplace_search_desc', 'mceSearch', true); + }, + + getControlHTML : function(cn) { + switch (cn) { + case "search": + return tinyMCE.getButtonHTML(cn, 'lang_searchreplace_search_desc', '{$pluginurl}/images/search.gif', 'mceSearch', true); + case "replace": + return tinyMCE.getButtonHTML(cn, 'lang_searchreplace_replace_desc', '{$pluginurl}/images/replace.gif', 'mceSearchReplace', true); + } + return ""; + }, + + /** + * Executes the search/replace commands. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + var instance = tinyMCE.getInstanceById(editor_id); + + function defValue(key, default_value) { + value[key] = typeof(value[key]) == "undefined" ? default_value : value[key]; + } + + function replaceSel(search_str, str, back) { + instance.execCommand('mceInsertContent', false, str); + } + + if (!value) + value = new Array(); + + // Setup defualt values + defValue("editor_id", editor_id); + defValue("searchstring", ""); + defValue("replacestring", null); + defValue("replacemode", "none"); + defValue("casesensitive", false); + defValue("backwards", false); + defValue("wrap", false); + defValue("wholeword", false); + defValue("inline", "yes"); + + // Handle commands + switch (command) { + case "mceResetSearch": + tinyMCE.lastSearchRng = null; + return true; + + case "mceSearch": + if (user_interface) { + // Open search dialog + var template = new Array(); + + if (value['replacestring'] != null) { + template['file'] = '../../plugins/searchreplace/replace.htm'; // Relative to theme + template['width'] = 320; + template['height'] = 100 + (tinyMCE.isNS7 ? 20 : 0); + template['width'] += tinyMCE.getLang('lang_searchreplace_replace_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_searchreplace_replace_delta_height', 0); + } else { + template['file'] = '../../plugins/searchreplace/search.htm'; // Relative to theme + template['width'] = 310; + template['height'] = 105 + (tinyMCE.isNS7 ? 25 : 0); + template['width'] += tinyMCE.getLang('lang_searchreplace_search_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_searchreplace_replace_delta_height', 0); + } + + instance.execCommand('SelectAll'); + + if (tinyMCE.isMSIE) { + var r = instance.selection.getRng(); + r.collapse(true); + r.select(); + } else + instance.selection.getSel().collapseToStart(); + + tinyMCE.openWindow(template, value); + } else { + var win = tinyMCE.getInstanceById(editor_id).contentWindow; + var doc = tinyMCE.getInstanceById(editor_id).contentWindow.document; + var body = tinyMCE.getInstanceById(editor_id).contentWindow.document.body; + + // Whats the point + if (body.innerHTML == "") { + alert(tinyMCE.getLang('lang_searchreplace_notfound')); + return true; + } + + // Handle replace current + if (value['replacemode'] == "current") { + replaceSel(value['string'], value['replacestring'], value['backwards']); + + // Search next one + value['replacemode'] = "none"; + tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false); + + return true; + } + + if (tinyMCE.isMSIE) { + var rng = tinyMCE.lastSearchRng ? tinyMCE.lastSearchRng : doc.selection.createRange(); + var flags = 0; + + if (value['wholeword']) + flags = flags | 2; + + if (value['casesensitive']) + flags = flags | 4; + + if (!rng.findText) { + alert('This operation is currently not supported by this browser.'); + return true; + } + + // Handle replace all mode + if (value['replacemode'] == "all") { + while (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) { + rng.scrollIntoView(); + rng.select(); + rng.collapse(false); + replaceSel(value['string'], value['replacestring'], value['backwards']); + } + + alert(tinyMCE.getLang('lang_searchreplace_allreplaced')); + return true; + } + + if (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) { + rng.scrollIntoView(); + rng.select(); + rng.collapse(value['backwards']); + tinyMCE.lastSearchRng = rng; + } else + alert(tinyMCE.getLang('lang_searchreplace_notfound')); + } else { + if (value['replacemode'] == "all") { + while (win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false)) + replaceSel(value['string'], value['replacestring'], value['backwards']); + + alert(tinyMCE.getLang('lang_searchreplace_allreplaced')); + return true; + } + + if (!win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false)) + alert(tinyMCE.getLang('lang_searchreplace_notfound')); + } + } + return true; + + case "mceSearchReplace": + value['replacestring'] = ""; + + tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false); + return true; + } + + // Pass to next handler in chain + return false; + } +}; + +tinyMCE.addPlugin("searchreplace", TinyMCE_SearchReplacePlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/images/replace.gif b/phpgwapi/js/tiny_mce/plugins/searchreplace/images/replace.gif new file mode 100644 index 0000000000..784c73e2a9 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/searchreplace/images/replace.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/images/search.gif b/phpgwapi/js/tiny_mce/plugins/searchreplace/images/search.gif new file mode 100644 index 0000000000..cfe76b5d5b Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/searchreplace/images/search.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/jscripts/replace.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/jscripts/replace.js new file mode 100644 index 0000000000..3cb4178137 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/jscripts/replace.js @@ -0,0 +1,40 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + + formObj.searchstring.value = tinyMCE.getWindowArg("searchstring"); + formObj.replacestring.value = tinyMCE.getWindowArg("replacestring"); + formObj.casesensitivebox.checked = tinyMCE.getWindowArg("casesensitive"); +// formObj.backwards[0].checked = tinyMCE.getWindowArg("backwards"); +// formObj.backwards[1].checked = !tinyMCE.getWindowArg("backwards"); +// formObj.wrapatend.checked = tinyMCE.getWindowArg("wrap"); +// formObj.wholeword.checked = tinyMCE.getWindowArg("wholeword"); + + tinyMCEPopup.execCommand("mceResetSearch", false, {dummy : ""}, false); +} + +function searchNext(replacemode) { + var formObj = document.forms[0]; + + // Whats the point? + if (formObj.searchstring.value == "" || formObj.searchstring.value == formObj.replacestring.value) + return; + + // Do search + tinyMCEPopup.execCommand('mceSearch', false, { + string : formObj.searchstring.value, + replacestring : formObj.replacestring.value, + replacemode : replacemode, + casesensitive : formObj.casesensitivebox.checked, + backwards : false +// wrap : formObj.wrapatend.checked, +// wholeword : formObj.wholeword.checked + }, false); + + window.focus(); +} + +function cancelAction() { + tinyMCEPopup.close(); +} diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/jscripts/search.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/jscripts/search.js new file mode 100644 index 0000000000..5202fdc508 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/jscripts/search.js @@ -0,0 +1,36 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var formObj = document.forms[0]; + + formObj.searchstring.value = tinyMCE.getWindowArg("searchstring"); + formObj.casesensitivebox.checked = tinyMCE.getWindowArg("casesensitive"); + formObj.backwards[0].checked = tinyMCE.getWindowArg("backwards"); + formObj.backwards[1].checked = !tinyMCE.getWindowArg("backwards"); +// formObj.wrapatend.checked = tinyMCE.getWindowArg("wrap"); +// formObj.wholeword.checked = tinyMCE.getWindowArg("wholeword"); + + tinyMCEPopup.execCommand("mceResetSearch", false, {dummy : ""}, false); +} + +function searchNext() { + var formObj = document.forms[0]; + + if (formObj.searchstring.value == "") + return; + + // Do search + tinyMCEPopup.execCommand('mceSearch', false, { + string : formObj.searchstring.value, + casesensitive : formObj.casesensitivebox.checked, + backwards : formObj.backwards[0].checked +// wrap : formObj.wrapatend.checked, +// wholeword : formObj.wholeword.checked + }, false); + + window.focus(); +} + +function cancelAction() { + tinyMCEPopup.close(); +} diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ar.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ar.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ca.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ca.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/cs.js new file mode 100755 index 0000000000..21047bbf7e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/cs.js @@ -0,0 +1,27 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.5 2006/01/11 14:25:49 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Najdi', +searchreplace_searchnext_desc : 'Najdi znova', +searchreplace_replace_desc : 'Najdi/Nahradit', +searchreplace_notfound : 'Vyhledávaní ukončeno. Řetězec nemusel být nalezen.', +searchreplace_search_title : 'Najdi', +searchreplace_replace_title : 'Najdi/Nahradit', +searchreplace_allreplaced : 'Všechny výskyty řetězce byly změněny.', +searchreplace_findwhat : 'Najít', +searchreplace_replacewith : 'Nahradit', +searchreplace_direction : 'Směr', +searchreplace_up : 'Nahoru', +searchreplace_down : 'Dolů', +searchreplace_case : 'Přesná shoda', +searchreplace_findnext : 'Najdi další', +searchreplace_replace : 'Nahradit', +searchreplace_replaceall : 'Nahradit vše', +searchreplace_cancel : 'Zrušit' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/cy.js new file mode 100644 index 0000000000..05ba531dfd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/cy.js @@ -0,0 +1,22 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Canfod', +searchreplace_searchnext_desc : 'Canfod eto', +searchreplace_replace_desc : 'Canfod/Cyfnewid', +searchreplace_notfound : 'Cwblhauwyd y chwilio. Methwyd dod o hyd i\'r testun canfod.', +searchreplace_search_title : 'Canfod', +searchreplace_replace_title : 'Canfod/Cyfnewid', +searchreplace_allreplaced : 'Cyfnewidiwyd holl achosion y testun chwilio.', +searchreplace_findwhat : 'Canfod beth', +searchreplace_replacewith : 'Cyfnewid gyda', +searchreplace_direction : 'Cyfeiriad', +searchreplace_up : 'Fyny', +searchreplace_down : 'Lawr', +searchreplace_case : 'Maint llythrennau\'n bwysig', +searchreplace_findnext : 'Canfod nesaf', +searchreplace_replace : 'Cyfnewid', +searchreplace_replaceall : 'Cyfnewid popeth', +searchreplace_cancel : 'Diddymu', +searchreplace_replace_delta_width : 75 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/da.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/da.js new file mode 100644 index 0000000000..c3950fd497 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/da.js @@ -0,0 +1,21 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Søg', +searchreplace_searchnext_desc : 'Søg igen', +searchreplace_replace_desc : 'Søg og erstat', +searchreplace_notfound : 'Søgningen er færdig. Søgeudtrykket kunne ikke findes.', +searchreplace_search_title : 'Søg', +searchreplace_replace_title : 'Søg og erstat', +searchreplace_allreplaced : 'Alle forekomster af søgeudtrykket blev erstattet.', +searchreplace_findwhat : 'Hvad skal vi søge efter', +searchreplace_replacewith : 'Erstat det med', +searchreplace_direction : 'Retning', +searchreplace_up : 'Op', +searchreplace_down : 'Ned', +searchreplace_case : 'Skelne mellem store og små; bogstaver', +searchreplace_findnext : 'Søg efter næste', +searchreplace_replace : 'Erstat', +searchreplace_replaceall : 'Erstat alle', +searchreplace_cancel : 'Fortryd' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/de.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/de.js new file mode 100644 index 0000000000..379b177691 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/de.js @@ -0,0 +1,22 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Suchen', +searchreplace_searchnext_desc : 'Erneut suchen', +searchreplace_replace_desc : 'Suchen/Ersetzen', +searchreplace_notfound : 'Die Suche wurde abgeschlossen. Das Suchwort wurde nicht gefunden.', +searchreplace_search_title : 'Suchen', +searchreplace_replace_title : 'Suchen/Ersetzen', +searchreplace_allreplaced : 'Die Suche wurde abgeschlossen. Alle Vorkommen wurden ersetzt.', +searchreplace_findwhat : 'Suchen nach', +searchreplace_replacewith : 'Ersetzen durch', +searchreplace_direction : 'Suchrichtung', +searchreplace_up : 'Rückwärts', +searchreplace_down : 'Vorwärts', +searchreplace_case : 'Groß-/Kleinschreibung beachten', +searchreplace_findnext : 'Weitersuchen', +searchreplace_replace : 'Ersetzen', +searchreplace_replaceall : 'Alle ersetzen', +searchreplace_cancel : 'Abbrechen', +searchreplace_replace_delta_width : 50 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/el.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/el.js new file mode 100755 index 0000000000..24af32d041 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/el.js @@ -0,0 +1,21 @@ +// Initial translation by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '', +searchreplace_searchnext_desc : ' ', +searchreplace_replace_desc : '/', +searchreplace_notfound : ' . .', +searchreplace_search_title : '', +searchreplace_replace_title : '/', +searchreplace_allreplaced : ' .', +searchreplace_findwhat : ' ', +searchreplace_replacewith : ' ', +searchreplace_direction : '', +searchreplace_up : '', +searchreplace_down : '', +searchreplace_case : ' / ', +searchreplace_findnext : ' ', +searchreplace_replace : '', +searchreplace_replaceall : ' ', +searchreplace_cancel : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/en.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/en.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/en.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/es.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/es.js new file mode 100755 index 0000000000..47e82a3c31 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/es.js @@ -0,0 +1,31 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Buscar', +searchreplace_searchnext_desc : 'Buscar de nuevo', +searchreplace_replace_desc : 'Buscar/Replazar', +searchreplace_notfound : 'La búsqueda ha terminado. No se ha encontrado el elemento buscado.', +searchreplace_search_title : 'Buscar', +searchreplace_replace_title : 'Buscar/Replazar', +searchreplace_allreplaced : 'Todas las ocurrencias del elemento buscado han sido remplazadas.', +searchreplace_findwhat : 'Buscar', +searchreplace_replacewith : 'Replazar con', +searchreplace_direction : 'Dirección', +searchreplace_up : 'Arriba', +searchreplace_down : 'Abajo', +searchreplace_case : 'Búsqueda exacta (mayúsculas y minúsculas)', +searchreplace_findnext : 'Buscar siguiente', +searchreplace_replace : 'Replazar', +searchreplace_replaceall : 'Replazar todo', +searchreplace_cancel : 'Cancelar', +searchreplace_replace_delta_width : 70 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fa.js new file mode 100644 index 0000000000..4aa5cc852a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fa.js @@ -0,0 +1,26 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +searchreplace_search_desc : '?????', +searchreplace_searchnext_desc : '?????? ????', +searchreplace_replace_desc : '?????/????????', +searchreplace_notfound : '????? ????? ????. ??? ????? ???? ???.', +searchreplace_search_title : '?????', +searchreplace_replace_title : '?????/????????', +searchreplace_allreplaced : '??? ????? ??????? ?????.', +searchreplace_findwhat : '????? ?? ?????', +searchreplace_replacewith : '???????? ??', +searchreplace_direction : '??? ?????', +searchreplace_up : '?? ??? ????', +searchreplace_down : '?? ??? ?????', +searchreplace_case : '????? ???? ???? ? ????', +searchreplace_findnext : '????-????', +searchreplace_replace : '???????-??', +searchreplace_replaceall : '????????-???', +searchreplace_cancel : '??????' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fa_ca.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fa_ca.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fi.js new file mode 100755 index 0000000000..2462e3e3bf --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fi.js @@ -0,0 +1,21 @@ +// FI lang variables by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Etsi', +searchreplace_searchnext_desc : 'Etsi uudelleen', +searchreplace_replace_desc : 'Etsi/Korvaa', +searchreplace_notfound : 'Haku on päättynyt. Haettua merkkijonoa ei löytynyt.', +searchreplace_search_title : 'Etsi', +searchreplace_replace_title : 'Etsi/Korvaa', +searchreplace_allreplaced : 'Kaikki esiintyneet hakutermit korvattiin.', +searchreplace_findwhat : 'Etsittävä', +searchreplace_replacewith : 'Korvaava', +searchreplace_direction : 'Suunta', +searchreplace_up : 'Ylös', +searchreplace_down : 'Alas', +searchreplace_case : 'Sama kirjainkoko', +searchreplace_findnext : 'Etsi seuraava', +searchreplace_replace : 'Korvaa', +searchreplace_replaceall : 'Korvaa kaikki', +searchreplace_cancel : 'Peruuta' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fr.js new file mode 100755 index 0000000000..07bed97900 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fr.js @@ -0,0 +1,22 @@ +// 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_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_findwhat : 'Trouver le mot', +searchreplace_replacewith : 'Remplacer avec', +searchreplace_direction : 'Direction', +searchreplace_up : 'Vers le haut', +searchreplace_down : 'Vers le bas', +searchreplace_case : 'Respecter la casse', +searchreplace_findnext : 'Suivant', +searchreplace_replace : 'Remplacer', +searchreplace_replaceall : 'Remplacer tout', +searchreplace_cancel : 'Annuler' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fr_ca.js new file mode 100755 index 0000000000..09485ca09c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/fr_ca.js @@ -0,0 +1,21 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Chercher', +searchreplace_searchnext_desc : 'Chercher suivant', +searchreplace_replace_desc : 'Chercher/Remplacer', +searchreplace_notfound : 'La recherche est termine. Aucune occurence trouve.', +searchreplace_search_title : 'Chercher', +searchreplace_replace_title : 'Chercher/Remplacer', +searchreplace_allreplaced : 'Toutes les occurences ont t remplaces.', +searchreplace_findwhat : 'Chercher quoi', +searchreplace_replacewith : 'Remplacer par', +searchreplace_direction : 'Direction', +searchreplace_up : 'Monter', +searchreplace_down : 'Descendre', +searchreplace_case : 'Sensible la case', +searchreplace_findnext : 'Chercher ,suivant', +searchreplace_replace : 'Remplacer', +searchreplace_replaceall : 'Remplacer ,tous', +searchreplace_cancel : 'Annuler' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/he.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/he.js new file mode 100755 index 0000000000..fdac48d0e9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/he.js @@ -0,0 +1,21 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '', +searchreplace_searchnext_desc : ' ', +searchreplace_replace_desc : '/', +searchreplace_notfound : ' . .', +searchreplace_search_title : '', +searchreplace_replace_title : '/', +searchreplace_allreplaced : ' .', +searchreplace_findwhat : ' ', +searchreplace_replacewith : ' -', +searchreplace_direction : '', +searchreplace_up : '', +searchreplace_down : '', +searchreplace_case : ' ', +searchreplace_findnext : '  ', +searchreplace_replace : '', +searchreplace_replaceall : ' ', +searchreplace_cancel : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/hu.js new file mode 100644 index 0000000000..0b4690d7a5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/hu.js @@ -0,0 +1,21 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Keress', +searchreplace_searchnext_desc : 'jra keress', +searchreplace_replace_desc : 'Keres/Cserl', +searchreplace_notfound : 'A keress elkszlt. A keressi szveg nem tallhat.', +searchreplace_search_title : 'Keres', +searchreplace_replace_title : 'Keres/Cserl', +searchreplace_allreplaced : 'A keressi szveg minden elfordulsa cserlve lett.', +searchreplace_findwhat : 'Mit keres', +searchreplace_replacewith : 'Mire cserl', +searchreplace_direction : 'Hatkr', +searchreplace_up : 'Fel', +searchreplace_down : 'Le', +searchreplace_case : 'Teljes sz', +searchreplace_findnext : 'Kvetkezt keres', +searchreplace_replace : 'Cserl', +searchreplace_replaceall : 'Mindent cserl', +searchreplace_cancel : 'Mgse' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/is.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/is.js new file mode 100644 index 0000000000..d7ab672417 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/is.js @@ -0,0 +1,22 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Finna', +searchreplace_searchnext_desc : 'Finna aftur', +searchreplace_replace_desc : 'Finna/skipta', +searchreplace_notfound : 'Leit er loki. Leitaror fannst ekki.', +searchreplace_search_title : 'Finna', +searchreplace_replace_title : 'Finna/skipta', +searchreplace_allreplaced : 'Skipt var um ll tilvik.', +searchreplace_findwhat : 'Finna hvar', +searchreplace_replacewith : 'Skipta út fyrir ', +searchreplace_direction : 'Átt', +searchreplace_up : 'Upp', +searchreplace_down : 'Niður', +searchreplace_case : 'Passa há-/lágstafi', +searchreplace_findnext : 'Finna næst', +searchreplace_replace : 'Skipta', +searchreplace_replaceall : 'Skipta öllum', +searchreplace_cancel : 'Hætta við', +searchreplace_replace_delta_width : 30 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/it.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/it.js new file mode 100755 index 0000000000..bdbdbcbe31 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/it.js @@ -0,0 +1,21 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Cerca', +searchreplace_searchnext_desc : 'Trova successivo', +searchreplace_replace_desc : 'Cerca e sostituisci', +searchreplace_notfound : 'La ricerca è stata completata. Il testo cercato non è stato trovato', +searchreplace_search_title : 'Cerca', +searchreplace_replace_title : 'Cerca e sostituisci', +searchreplace_allreplaced : 'Tutte le occorrenze trovate sono state sostituite', +searchreplace_findwhat : 'Cosa cercare', +searchreplace_replacewith : 'Sostituire con', +searchreplace_direction : 'Direzione', +searchreplace_up : 'Su', +searchreplace_down : 'Giù', +searchreplace_case : 'Maiuscole/minuscole', +searchreplace_findnext : 'Cerca successivo', +searchreplace_replace : 'Sostituisci', +searchreplace_replaceall : 'Sostituisci tutto', +searchreplace_cancel : 'Annulla' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja-euc-jp.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja-euc-jp.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_euc-jp.js new file mode 100755 index 0000000000..e7175a4ba0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_euc-jp.js @@ -0,0 +1,21 @@ +// ܸ euc lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '', +searchreplace_searchnext_desc : '򸡺', +searchreplace_replace_desc : 'ִ', +searchreplace_notfound : 'λʸ򸫤Ĥʤä', +searchreplace_search_title : '', +searchreplace_replace_title : 'ִ', +searchreplace_allreplaced : '٤Ƥִ', +searchreplace_findwhat : 'ʸ', +searchreplace_replacewith : 'ִʸ', +searchreplace_direction : '', +searchreplace_up : '', +searchreplace_down : '', +searchreplace_case : 'ʸȾʸ', +searchreplace_findnext : '򸡺', +searchreplace_replace : 'ִ', +searchreplace_replaceall : '٤ִ', +searchreplace_cancel : '󥻥' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_shift-jis.js new file mode 100755 index 0000000000..8ea7d8ba87 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_shift-jis.js @@ -0,0 +1,21 @@ +// { shift-jis lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '', +searchreplace_searchnext_desc : '', +searchreplace_replace_desc : 'u', +searchreplace_notfound : 'Iŕ‚ȂB', +searchreplace_search_title : '', +searchreplace_replace_title : 'u', +searchreplace_allreplaced : 'ׂĂu', +searchreplace_findwhat : '镶', +searchreplace_replacewith : 'u̕', +searchreplace_direction : '', +searchreplace_up : '', +searchreplace_down : '', +searchreplace_case : '啶Ə', +searchreplace_findnext : '', +searchreplace_replace : 'u', +searchreplace_replaceall : 'ׂĒu', +searchreplace_cancel : 'LZ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_shift_jis.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_shift_jis.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_utf-8.js new file mode 100755 index 0000000000..3636a8b023 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ja_utf-8.js @@ -0,0 +1,21 @@ +// 日本語 utf-8 lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '検索', +searchreplace_searchnext_desc : '次を検索', +searchreplace_replace_desc : '置換', +searchreplace_notfound : '検索を終了で文字列を見つかれなかった。', +searchreplace_search_title : '検索', +searchreplace_replace_title : '置換', +searchreplace_allreplaced : 'すべてを置換えた', +searchreplace_findwhat : '検索する文字列', +searchreplace_replacewith : '置換後の文字列', +searchreplace_direction : '向き', +searchreplace_up : '上', +searchreplace_down : '下', +searchreplace_case : '大文字と小文字を区別', +searchreplace_findnext : '次を検索', +searchreplace_replace : '置換', +searchreplace_replaceall : 'すべて置換', +searchreplace_cancel : 'キャンセル' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ko.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ko.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nb.js new file mode 100644 index 0000000000..91109471d5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nb.js @@ -0,0 +1,21 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Søk', +searchreplace_searchnext_desc : 'Søk igjen', +searchreplace_replace_desc : 'Søk/Erstatt', +searchreplace_notfound : 'Søkingen avsluttet. Fant ikke søkestrengen.', +searchreplace_search_title : 'Søk', +searchreplace_replace_title : 'Søk/Erstatt', +searchreplace_allreplaced : 'Alle treff på søkestrengen erstattes', +searchreplace_findwhat : 'Søk på', +searchreplace_replacewith : 'Erstatt med', +searchreplace_direction : 'Søkeretning', +searchreplace_up : 'Oppover', +searchreplace_down : 'Nedover', +searchreplace_case : 'Skill mellom store og små tegn', +searchreplace_findnext : 'Neste søk', +searchreplace_replace : 'Erstatt', +searchreplace_replaceall : 'Erstatt alle', +searchreplace_cancel : 'Avbryt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nl.js new file mode 100644 index 0000000000..b3fe537609 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nl.js @@ -0,0 +1,21 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Zoeken', +searchreplace_searchnext_desc : 'Opnieuw zoeken', +searchreplace_replace_desc : 'Zoeken/Vervangen', +searchreplace_notfound : 'Het doorzoeken van document is voltooid. De gezochte tekst is niet gevonden.', +searchreplace_search_title : 'Zoeken', +searchreplace_replace_title : 'Zoeken/Vervangen', +searchreplace_allreplaced : 'Alle zoekargumenten werden vervangen.', +searchreplace_findwhat : 'Zoeken naar', +searchreplace_replacewith : 'Vervangen door', +searchreplace_direction : 'Richting', +searchreplace_up : 'Omhoog', +searchreplace_down : 'Omlaag', +searchreplace_case : 'Identieke hoofdletters/kleine letters', +searchreplace_findnext : 'Volgende zoeken', +searchreplace_replace : 'Vervangen', +searchreplace_replaceall : 'Alles vervangen', +searchreplace_cancel : 'Annuleren' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nn.js new file mode 100644 index 0000000000..626e940ac8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/nn.js @@ -0,0 +1,21 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Søk', +searchreplace_searchnext_desc : 'Søk igjen', +searchreplace_replace_desc : 'Søk/Erstatt', +searchreplace_notfound : 'Søkingen avsluttet. Fant ikkje søkestrengen.', +searchreplace_search_title : 'Søk', +searchreplace_replace_title : 'Søk/Erstatt', +searchreplace_allreplaced : 'Alle treff på søkestrengen erstattes', +searchreplace_findwhat : 'Søk på', +searchreplace_replacewith : 'Erstatt med', +searchreplace_direction : 'Søkeretning', +searchreplace_up : 'Oppover', +searchreplace_down : 'Nedover', +searchreplace_case : 'Skill mellom store og små tegn', +searchreplace_findnext : 'Neste søk', +searchreplace_replace : 'Erstatt', +searchreplace_replaceall : 'Erstatt alle', +searchreplace_cancel : 'Avbryt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pl.js new file mode 100644 index 0000000000..5f4dae2ef9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pl.js @@ -0,0 +1,23 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Znajd', +searchreplace_searchnext_desc : 'Znajd ponownie', +searchreplace_replace_desc : 'Znajd/Zastp', +searchreplace_notfound : 'Ukoczono wyszukiwanie. Poszukiwana fraza nie zostaa odnaleziona.', +searchreplace_search_title : 'Znajd', +searchreplace_replace_title : 'Znajd/Zastp', +searchreplace_allreplaced : 'Wszystkie wystpienia poszukiwanej frazy zostay zastpione. ', +searchreplace_findwhat : 'Znajd', +searchreplace_replacewith : 'Zastp', +searchreplace_direction : 'Kierunek', +searchreplace_up : 'Do gry', +searchreplace_down : 'Do dou', +searchreplace_case : 'Wielko liter', +searchreplace_findnext : 'Znajd nastpny', +searchreplace_replace : 'Zastp', +searchreplace_replaceall : 'Zastp wszystkie', +searchreplace_cancel : 'Wyjd' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pt.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pt.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pt_br.js new file mode 100644 index 0000000000..d30fd1cb27 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/pt_br.js @@ -0,0 +1,29 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Procurar', +searchreplace_searchnext_desc : 'Procurar novamente', +searchreplace_replace_desc : 'Procurar/Substituir', +searchreplace_notfound : 'A procura foi concluda. A expresso procurada no foi encontrada.', +searchreplace_search_title : 'Procurar', +searchreplace_replace_title : 'Procurar/Substituir', +searchreplace_allreplaced : 'Todas as ocorrncias encontradas foram substitudas.', +searchreplace_findwhat : 'Procurar por', +searchreplace_replacewith : 'Substituir com', +searchreplace_direction : 'Direo', +searchreplace_up : 'Acima', +searchreplace_down : 'Abaixo', +searchreplace_case : 'Procurar exatamente', +searchreplace_findnext : 'Procurar ,prxima', +searchreplace_replace : 'Substituir', +searchreplace_replaceall : 'Substituir ,tudo', +searchreplace_cancel : 'Cancelar' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ro.js new file mode 100755 index 0000000000..bb03672045 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ro.js @@ -0,0 +1,21 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Găseşte', +searchreplace_searchnext_desc : 'Găseşte din nou', +searchreplace_replace_desc : 'Găseşte/Înlocuieşte', +searchreplace_notfound : 'Căutarea s-a încheiat. Termenul căutat nu a putut fi găsit.', +searchreplace_search_title : 'Găseşte', +searchreplace_replace_title : 'Găseşte/Înlocuieşte', +searchreplace_allreplaced : 'Toate prezenţele şirului cătat au fost înlocuite.', +searchreplace_findwhat : 'Găseşte ce', +searchreplace_replacewith : 'Înlocuieşte cu', +searchreplace_direction : 'Direcţia', +searchreplace_up : 'Sus', +searchreplace_down : 'Jos', +searchreplace_case : 'Respectă minuscule/majuscule', +searchreplace_findnext : 'Găseşte în continuare', +searchreplace_replace : 'Înlocuieşte', +searchreplace_replaceall : 'Înlocuieşte tot', +searchreplace_cancel : 'Anulează' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru.js new file mode 100644 index 0000000000..22fbd597ef --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru.js @@ -0,0 +1,22 @@ +// RU cp1251 lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '', +searchreplace_searchnext_desc : ' ', +searchreplace_replace_desc : '/', +searchreplace_notfound : ' . .', +searchreplace_search_title : '', +searchreplace_replace_title : '/', +searchreplace_allreplaced : ' .', +searchreplace_findwhat : ' ', +searchreplace_replacewith : ' ', +searchreplace_direction : '', +searchreplace_up : '', +searchreplace_down : '', +searchreplace_case : ' ', +searchreplace_findnext : ' ', +searchreplace_replace : '', +searchreplace_replaceall : ' ', +searchreplace_cancel : '', +searchreplace_replace_delta_width : 150 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..01b0ac3613 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru_KOI8-R.js @@ -0,0 +1,21 @@ +// RU KOI8-R lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '', +searchreplace_searchnext_desc : ' ', +searchreplace_replace_desc : '/', +searchreplace_notfound : ' ۣ. .', +searchreplace_search_title : '', +searchreplace_replace_title : '/', +searchreplace_allreplaced : ' .', +searchreplace_findwhat : ' ', +searchreplace_replacewith : ' ', +searchreplace_direction : '', +searchreplace_up : '', +searchreplace_down : '', +searchreplace_case : ' ޣ ', +searchreplace_findnext : ' ', +searchreplace_replace : '', +searchreplace_replaceall : ' ', +searchreplace_cancel : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru_UTF-8.js new file mode 100644 index 0000000000..cf78f42b06 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/ru_UTF-8.js @@ -0,0 +1,21 @@ +// RU UTF-8 lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Найти', +searchreplace_searchnext_desc : 'Найти опять', +searchreplace_replace_desc : 'Найти/Заменить', +searchreplace_notfound : 'Поиск завершён. Искомое выражение не найдено.', +searchreplace_search_title : 'Найти', +searchreplace_replace_title : 'Найти/Заменить', +searchreplace_allreplaced : 'Замена была выполнена во всех случаях совпадения искомого выражения.', +searchreplace_findwhat : 'Найти что', +searchreplace_replacewith : 'Заменить чем', +searchreplace_direction : 'Направление', +searchreplace_up : 'Вверх', +searchreplace_down : 'Вниз', +searchreplace_case : 'С учётом регистра', +searchreplace_findnext : 'Найти следующее', +searchreplace_replace : 'Заменить', +searchreplace_replaceall : 'Заменить везде', +searchreplace_cancel : 'Отменить' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/si.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/si.js new file mode 100644 index 0000000000..76f090dbf5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/si.js @@ -0,0 +1,21 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Najdi', +searchreplace_searchnext_desc : 'Ponovno najdi', +searchreplace_replace_desc : 'Najdi/zamenjaj', +searchreplace_notfound : 'Iskanje je bilo zaključeno. Ne najdem iskanega zaporedja', +searchreplace_search_title : 'Najdi', +searchreplace_replace_title : 'Najdi/zamenjaj', +searchreplace_allreplaced : 'Vse pojavitve iskanega zaporedja so bile zamenjane.', +searchreplace_findwhat : 'Najdi', +searchreplace_replacewith : 'Zamenjaj z', +searchreplace_direction : 'Smer', +searchreplace_up : 'Gor', +searchreplace_down : 'Dol', +searchreplace_case : 'Upoštevaj velike/male črke', +searchreplace_findnext : 'Najdi nasledno pojavitev', +searchreplace_replace : 'Zamenjaj', +searchreplace_replaceall : 'Zamenjaj vse', +searchreplace_cancel : 'Prekliči' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sk.js new file mode 100644 index 0000000000..87ade05cef --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sk.js @@ -0,0 +1,29 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Nájdi', +searchreplace_searchnext_desc : 'Nájdi znova', +searchreplace_replace_desc : 'Nájdi/Nahradiť', +searchreplace_notfound : 'Vyhľadávanie ukončené. Reťazec nemusel byť nájdený.', +searchreplace_search_title : 'Nájdi', +searchreplace_replace_title : 'Nájdi/Nahradiť', +searchreplace_allreplaced : 'Všetky výskyty reťazca boly zmenené.', +searchreplace_findwhat : 'Nájsť', +searchreplace_replacewith : 'Nahradiť', +searchreplace_direction : 'Smer', +searchreplace_up : 'Nahor', +searchreplace_down : 'Dole', +searchreplace_case : 'Presná shoda', +searchreplace_findnext : 'Nájdi ďalší', +searchreplace_replace : 'Nahradiť', +searchreplace_replaceall : 'Nahradiť všetko', +searchreplace_cancel : 'Zrušiť' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sq.js new file mode 100755 index 0000000000..368328d01c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sq.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Gjej', +searchreplace_searchnext_desc : 'Gjej edhe njehere', +searchreplace_replace_desc : 'Gjej/Shkembe', +searchreplace_notfound : 'Kerkimi mbaroi. Teksti i kerkuar nuk u gjet.', +searchreplace_search_title : 'Gjej', +searchreplace_replace_title : 'Gjej/Shkembe', +searchreplace_allreplaced : 'Te gjithat rastet e kerkimit u shkembyen.', +searchreplace_findwhat : 'Gjej fare', +searchreplace_replacewith : 'Shkembe me', +searchreplace_direction : 'drejtimi', +searchreplace_up : 'Lart', +searchreplace_down : 'Poshte', +searchreplace_case : 'Pershtat e madhe, e vogel', +searchreplace_findnext : 'Gjej tjetrin', +searchreplace_replace : 'Shkembe', +searchreplace_replaceall : 'Shkembe te gjitha', +searchreplace_cancel : 'Kthehu' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sv.js new file mode 100644 index 0000000000..f69f44af9c --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/sv.js @@ -0,0 +1,21 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Sök', +searchreplace_searchnext_desc : 'Sök igen', +searchreplace_replace_desc : 'Sök/Ersätt', +searchreplace_notfound : 'Sökningen är slutförd. Söksträngen kunde inte hittas.', +searchreplace_search_title : 'Sök', +searchreplace_replace_title : 'Sök/Ersätt', +searchreplace_allreplaced : 'Alla träffar på söksträngen ersattes', +searchreplace_findwhat : 'Sök på', +searchreplace_replacewith : 'Ersätt med', +searchreplace_direction : 'Sökriktning', +searchreplace_up : 'Uppåt', +searchreplace_down : 'Neråt', +searchreplace_case : 'Matcha gemener/VERSALER', +searchreplace_findnext : 'Sök nästa', +searchreplace_replace : 'Ersätt', +searchreplace_replaceall : 'Ersätt alla', +searchreplace_cancel : 'Avbryt' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/th.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/th.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/th.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/tr.js new file mode 100644 index 0000000000..37cade6e83 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/tr.js @@ -0,0 +1,21 @@ +// TR lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Ara', +searchreplace_searchnext_desc : 'Tekrar ara', +searchreplace_replace_desc : 'Bul/Deitir', +searchreplace_notfound : 'Arama tamamland. Aradnz szck bulunamad.', +searchreplace_search_title : 'Ara', +searchreplace_replace_title : 'Bul/Deitir', +searchreplace_allreplaced : 'Tm bulunan szckler deitirildi.', +searchreplace_findwhat : 'Ara', +searchreplace_replacewith : 'ile deitir', +searchreplace_direction : 'Arama yn', +searchreplace_up : 'Yukar', +searchreplace_down : 'Aa', +searchreplace_case : 'Byk/kk harf duyarl', +searchreplace_findnext : 'Ara leri', +searchreplace_replace : 'Deitir', +searchreplace_replaceall : 'Hepsini deitir', +searchreplace_cancel : 'ptal' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/tw.js new file mode 100644 index 0000000000..32af8282e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/tw.js @@ -0,0 +1,21 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Find', +searchreplace_searchnext_desc : 'Find again', +searchreplace_replace_desc : 'Find/Replace', +searchreplace_notfound : 'The search has been completed. The search string could not be found.', +searchreplace_search_title : 'Find', +searchreplace_replace_title : 'Find/Replace', +searchreplace_allreplaced : 'All occurrences of the search string were replaced.', +searchreplace_findwhat : 'Find what', +searchreplace_replacewith : 'Replace with', +searchreplace_direction : 'Direction', +searchreplace_up : 'Up', +searchreplace_down : 'Down', +searchreplace_case : 'Match case', +searchreplace_findnext : 'Find next', +searchreplace_replace : 'Replace', +searchreplace_replaceall : 'Replace all', +searchreplace_cancel : 'Cancel' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/vi.js new file mode 100755 index 0000000000..c22d960dff --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/vi.js @@ -0,0 +1,21 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'Tìm', +searchreplace_searchnext_desc : 'Tìm tiếp', +searchreplace_replace_desc : 'Tìm/Thay thế', +searchreplace_notfound : 'Hoàn thành tìm kiếm. Không tìm thấy.', +searchreplace_search_title : 'Tìm', +searchreplace_replace_title : 'Tìm/Thay thế', +searchreplace_allreplaced : 'Đã thay thế hết.', +searchreplace_findwhat : 'Tìm gì', +searchreplace_replacewith : 'Thay thế bằng', +searchreplace_direction : 'Hướng', +searchreplace_up : 'Lên', +searchreplace_down : 'Xuống', +searchreplace_case : 'Phân biệt chữ hoa chữ thường', +searchreplace_findnext : 'Tìm tiếp', +searchreplace_replace : 'Thay thế', +searchreplace_replaceall : 'Thay tất cả', +searchreplace_cancel : 'Hủy bỏ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_cn.js new file mode 100755 index 0000000000..57386790fe --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_cn.js @@ -0,0 +1,22 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '', +searchreplace_searchnext_desc : 'ٴβ', +searchreplace_replace_desc : '/滻', +searchreplace_notfound : 'ϣûҵҪҵַ', +searchreplace_search_title : '', +searchreplace_replace_title : '/滻', +searchreplace_allreplaced : 'зַ滻ϡ', +searchreplace_findwhat : '', +searchreplace_replacewith : '滻Ϊ', +searchreplace_direction : '', +searchreplace_up : '', +searchreplace_down : '', +searchreplace_case : 'ƥСд', +searchreplace_findnext : 'һ', +searchreplace_replace : '滻', +searchreplace_replaceall : 'ȫ滻', +searchreplace_cancel : 'ȡ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..ee5eec4f2a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_cn_utf8.js @@ -0,0 +1,22 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '查找', +searchreplace_searchnext_desc : '再次查找', +searchreplace_replace_desc : '查找/替换', +searchreplace_notfound : '搜索完毕,没有找到要查找的字符串。', +searchreplace_search_title : '查找', +searchreplace_replace_title : '查找/替换', +searchreplace_allreplaced : '所有符合条件的字符串已替换完毕。', +searchreplace_findwhat : '查找', +searchreplace_replacewith : '替换为', +searchreplace_direction : '方向', +searchreplace_up : '向上', +searchreplace_down : '向下', +searchreplace_case : '匹配大小写', +searchreplace_findnext : '查找下一个', +searchreplace_replace : '替换', +searchreplace_replaceall : '全部替换', +searchreplace_cancel : '取消' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_tw.js new file mode 100644 index 0000000000..2820463045 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_tw.js @@ -0,0 +1,22 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +searchreplace_search_desc : 'd', +searchreplace_searchnext_desc : 'Ad', +searchreplace_replace_desc : 'dߩδ', +searchreplace_notfound : 'wdߡCSwrC', +searchreplace_search_title : 'd', +searchreplace_replace_title : 'dߩδ', +searchreplace_allreplaced : 'Ҧ쪺rw', +searchreplace_findwhat : '䤰', +searchreplace_replacewith : '', +searchreplace_direction : 'V', +searchreplace_up : 'W', +searchreplace_down : 'VU', +searchreplace_case : '۲ŵG', +searchreplace_findnext : 'dߤU', +searchreplace_replace : '', +searchreplace_replaceall : '', +searchreplace_cancel : '' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..91376f359b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/langs/zh_tw_utf8.js @@ -0,0 +1,22 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('',{ +searchreplace_search_desc : '查詢', +searchreplace_searchnext_desc : '再次查詢', +searchreplace_replace_desc : '查詢或替換', +searchreplace_notfound : '已完成查詢。沒找到指定的字串。', +searchreplace_search_title : '查詢', +searchreplace_replace_title : '查詢或替換', +searchreplace_allreplaced : '所有找到的字串已完成替換', +searchreplace_findwhat : '找什麼', +searchreplace_replacewith : '替換成', +searchreplace_direction : '方向', +searchreplace_up : '往上', +searchreplace_down : '向下', +searchreplace_case : '相符結果', +searchreplace_findnext : '查詢下個', +searchreplace_replace : '替換', +searchreplace_replaceall : '全部替換', +searchreplace_cancel : '取消' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/readme.txt b/phpgwapi/js/tiny_mce/plugins/searchreplace/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/replace.htm b/phpgwapi/js/tiny_mce/plugins/searchreplace/replace.htm new file mode 100644 index 0000000000..0629da334e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/replace.htm @@ -0,0 +1,49 @@ + + + {$lang_searchreplace_replace_title} + + + + + +
+ + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + +
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/searchreplace/search.htm b/phpgwapi/js/tiny_mce/plugins/searchreplace/search.htm new file mode 100644 index 0000000000..fe9055ed5f --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/searchreplace/search.htm @@ -0,0 +1,42 @@ + + + {$lang_searchreplace_search_title} + + + + + +
+ + + + + + + + + + +
 
+ + + + + + + +
+ + + + +
+ + + + + +
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/changelog b/phpgwapi/js/tiny_mce/plugins/spellchecker/changelog new file mode 100644 index 0000000000..608fcd56db --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/changelog @@ -0,0 +1,11 @@ +Version 1.0.2 (2006-08-02) + Added new spellchecker_report_mispellings option, contributed by Jeremy B. + Fixed various regexp bugs and issues. Some where contributed by Jeremy B. + Fixed the Google speller class so it uses curl, patch contributed by Yuriy Kramar. + Fixed encoding issues with language specific characters, patch contributed by codepit. + Fixed bug where the spellchecker wasn't working in MSIE if the editor was placed in a P tag. +Version 1.0.1 (2006-05-05) + Since sourceforge has a serious bug when it comes to replacing files with the same name this release was necessary. + Goggle spellchecker class was added. +Version 1.0 (2006-05-03) + Official first release. diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyGoogleSpell.class.php b/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyGoogleSpell.class.php new file mode 100644 index 0000000000..33e7b1cc10 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyGoogleSpell.class.php @@ -0,0 +1,107 @@ +lang = $lang; + } + + // Returns array with bad words or false if failed. + function checkWords($word_array) { + $words = array(); + $wordstr = implode(' ', $word_array); + + $matches = $this->_getMatches($wordstr); + + for ($i=0; $iunhtmlentities(mb_substr($wordstr, $matches[$i][1], $matches[$i][2], "UTF-8")); + + return $words; + } + + function unhtmlentities($string) { + $string = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $string); + $string = preg_replace('~&#([0-9]+);~e', 'chr(\\1)', $string); + + $trans_tbl = get_html_translation_table(HTML_ENTITIES); + $trans_tbl = array_flip($trans_tbl); + + return strtr($string, $trans_tbl); + } + + // Returns array with suggestions or false if failed. + function getSuggestion($word) { + $sug = array(); + + $matches = $this->_getMatches($word); + + if (count($matches) > 0) + $sug = explode("\t", utf8_encode($this->unhtmlentities($matches[0][4]))); + + return $sug; + } + + function _xmlChars($string) { + $trans = get_html_translation_table(HTML_ENTITIES, ENT_QUOTES); + + foreach ($trans as $k => $v) + $trans[$k] = "&#".ord($k).";"; + + return strtr($string, $trans); + } + + function _getMatches($word_list) { + $server = "www.google.com"; + $port = 443; + $path = "/tbproxy/spell?lang=" . $this->lang . "&hl=en"; + $host = "www.google.com"; + $url = "https://" . $server; + + // Setup XML request + $xml = '' . $word_list . ''; + + $header = "POST ".$path." HTTP/1.0 \r\n"; + $header .= "MIME-Version: 1.0 \r\n"; + $header .= "Content-type: application/PTI26 \r\n"; + $header .= "Content-length: ".strlen($xml)." \r\n"; + $header .= "Content-transfer-encoding: text \r\n"; + $header .= "Request-number: 1 \r\n"; + $header .= "Document-type: Request \r\n"; + $header .= "Interface-Version: Test 1.4 \r\n"; + $header .= "Connection: close \r\n\r\n"; + $header .= $xml; + //$this->_debugData($xml); + + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL,$url); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $header); + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); + $xml = curl_exec($ch); + curl_close($ch); + + //$this->_debugData($xml); + + // Grab and parse content + preg_match_all('/([^<]*)<\/c>/', $xml, $matches, PREG_SET_ORDER); + + return $matches; + } + + function _debugData($data) { + $fh = @fopen("debug.log", 'a+'); + @fwrite($fh, $data); + @fclose($fh); + } +} + +// Setup classname, should be the same as the name of the spellchecker class +$spellCheckerConfig['class'] = "TinyGoogleSpell"; + +?> diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyPspell.class.php b/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyPspell.class.php new file mode 100644 index 0000000000..21fb19448e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyPspell.class.php @@ -0,0 +1,64 @@ +lang = $lang; + $this->mode = $mode; + $this->plink = false; + $this->errorMsg = array(); + + if (!function_exists("pspell_new")) { + $this->errorMsg[] = "PSpell not found."; + return; + } + + $this->plink = pspell_new($this->lang, $this->spelling, $this->jargon, $this->encoding, $this->mode); + } + + // Returns array with bad words or false if failed. + function checkWords($wordArray) { + if (!$this->plink) { + $this->errorMsg[] = "No PSpell link found for checkWords."; + return array(); + } + + $wordError = array(); + foreach($wordArray as $word) { + if(!pspell_check($this->plink, trim($word))) + $wordError[] = $word; + } + + return $wordError; + } + + // Returns array with suggestions or false if failed. + function getSuggestion($word) { + if (!$this->plink) { + $this->errorMsg[] = "No PSpell link found for getSuggestion."; + return array(); + } + + return pspell_suggest($this->plink, $word); + } +} + +// Setup classname, should be the same as the name of the spellchecker class +$spellCheckerConfig['class'] = "TinyPspell"; + +?> \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyPspellShell.class.php b/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyPspellShell.class.php new file mode 100644 index 0000000000..348cac3d85 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/classes/TinyPspellShell.class.php @@ -0,0 +1,121 @@ +lang = $lang; + $this->mode = $mode; + $this->error = false; + $this->errorMsg = array(); + + $this->tmpfile = tempnam($config['tinypspellshell.tmp'], "tinyspell"); + + if(preg_match("#win#i",php_uname())) + $this->cmd = $config['tinypspellshell.aspell'] . " -a --lang=". $this->lang." --encoding=utf-8 -H < $this->tmpfile 2>&1"; + else + $this->cmd = "cat ". $this->tmpfile ." | " . $config['tinypspellshell.aspell'] . " -a --encoding=utf-8 -H --lang=". $this->lang; + } + + // Returns array with bad words or false if failed. + function checkWords($wordArray) { + if ($fh = fopen($this->tmpfile, "w")) { + fwrite($fh, "!\n"); + foreach($wordArray as $key => $value) + fwrite($fh, "^" . $value . "\n"); + fclose($fh); + } else { + $this->errorMsg[] = "PSpell not found."; + return array(); + } + + $data = shell_exec($this->cmd); + @unlink($this->tmpfile); + + $returnData = array(); + $dataArr = preg_split("/\n/", $data, -1, PREG_SPLIT_NO_EMPTY); + + foreach($dataArr as $dstr) { + $matches = array(); + + // Skip this line. + if (strpos($dstr, "@") === 0) + continue; + + preg_match("/\& (.*) .* .*: .*/i", $dstr, $matches); + + if (!empty($matches[1])) + $returnData[] = $matches[1]; + } + + return $returnData; + } + + // Returns array with suggestions or false if failed. + function getSuggestion($word) { + if (function_exists("mb_convert_encoding")) + $word = mb_convert_encoding($word, "ISO-8859-1", mb_detect_encoding($word, "UTF-8")); + else + $word = utf8_encode($word); + + if ($fh = fopen($this->tmpfile, "w")) { + fwrite($fh, "!\n"); + fwrite($fh, "^$word\n"); + fclose($fh); + } else + die("Error opening tmp file."); + + $data = shell_exec($this->cmd); + + @unlink($this->tmpfile); + + $returnData = array(); + $dataArr = preg_split("/\n/", $data, -1, PREG_SPLIT_NO_EMPTY); + + foreach($dataArr as $dstr) { + $matches = array(); + + // Skip this line. + if (strpos($dstr, "@") === 0) + continue; + + preg_match("/\& .* .* .*: (.*)/i", $dstr, $matches); + + if (!empty($matches[1])) { + // For some reason, the exec version seems to add commas? + $returnData[] = str_replace(",", "", $matches[1]); + } + } + return $returnData; + } + + function _debugData($data) { + $fh = @fopen("debug.log", 'a+'); + @fwrite($fh, $data); + @fclose($fh); + } + +} + +// Setup classname, should be the same as the name of the spellchecker class +$spellCheckerConfig['class'] = "TinyPspellShell"; + +?> \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/config.php b/phpgwapi/js/tiny_mce/plugins/spellchecker/config.php new file mode 100644 index 0000000000..5b0f3d51e0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/config.php @@ -0,0 +1,24 @@ + diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/css/content.css b/phpgwapi/js/tiny_mce/plugins/spellchecker/css/content.css new file mode 100644 index 0000000000..fb82733cd5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/css/content.css @@ -0,0 +1,5 @@ +.mceItemHiddenSpellWord { + background: url('../images/wline.gif') repeat-x bottom left; + bo2rder-bottom: 1px dashed red; + cursor: default; +} diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/css/spellchecker.css b/phpgwapi/js/tiny_mce/plugins/spellchecker/css/spellchecker.css new file mode 100644 index 0000000000..aa4a8ea3b0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/css/spellchecker.css @@ -0,0 +1,34 @@ +.mceMsgBox { + border: 1px solid gray; + padding: 8px; +} + +.mceMsgBox span { + vertical-align: top; + color: #555555; +} + +/* Misc */ + +.mceBlockBox { + display: none; + position: absolute; + left: 0; + top: 0; + z-index: 100; + filter:progid:DXImageTransform.Microsoft.Alpha(style=0, opacity=60); + -moz-opacity:0.6; + opacity: 0.6; + background-color: white; +} + +.mceMsgBox { + display: none; + z-index: 101; + position: absolute; + left: 0; + top: 0; + font-family: Arial, Verdana, Tahoma, Helvetica; + font-weight: bold; + font-size: 11px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/spellchecker/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/spellchecker/editor_plugin.js new file mode 100644 index 0000000000..dbcda6a563 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/spellchecker/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('spellchecker','en,fr,sv,nn,nb');var TinyMCE_SpellCheckerPlugin={_contextMenu:new TinyMCE_Menu(),_menu:new TinyMCE_Menu(),_counter:0,_ajaxPage:'/tinyspell.php',getInfo:function(){return{longname:'Spellchecker',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_spellchecker.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},handleEvent:function(e){var elm=tinyMCE.isMSIE?e.srcElement:e.target;var inst=tinyMCE.selectedInstance,args='';var self=TinyMCE_SpellCheckerPlugin;var cm=self._contextMenu;var p,p2,x,y,sx,sy,h,elm;if((e.type=="click"||e.type=="contextmenu")&&elm){do{if(tinyMCE.getAttrib(elm,'class')=="mceItemHiddenSpellWord"){inst.spellCheckerElm=elm;args+='id='+inst.editorId+"|"+(++self._counter);args+='&cmd=suggest&check='+encodeURIComponent(elm.innerHTML);args+='&lang='+escape(inst.spellCheckerLang);elm=inst.spellCheckerElm;p=tinyMCE.getAbsPosition(inst.iframeElement);p2=tinyMCE.getAbsPosition(elm);h=parseInt(elm.offsetHeight);sx=inst.getBody().scrollLeft;sy=inst.getBody().scrollTop;x=p.absLeft+p2.absLeft-sx;y=p.absTop+p2.absTop-sy+h;cm.clear();cm.addTitle(tinyMCE.getLang('lang_spellchecker_wait','',true));cm.show();cm.moveTo(x,y);inst.selection.selectNode(elm,false,false);self._sendAjax(self.baseURL+self._ajaxPage,self._ajaxResponse,'post',args);tinyMCE.cancelEvent(e);return false;}}while((elm=elm.parentNode));}return true;},initInstance:function(inst){var self=TinyMCE_SpellCheckerPlugin,m=self._menu,cm=self._contextMenu,e;tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/spellchecker/css/content.css");if(!tinyMCE.hasMenu('spellcheckercontextmenu')){tinyMCE.importCSS(document,tinyMCE.baseURL+"/plugins/spellchecker/css/spellchecker.css");cm.init({drop_menu:false});tinyMCE.addMenu('spellcheckercontextmenu',cm);}if(!tinyMCE.hasMenu('spellcheckermenu')){m.init({});tinyMCE.addMenu('spellcheckermenu',m);}inst.spellCheckerLang='en';self._buildSettingsMenu(inst,null);e=self._getBlockBoxLayer(inst).create('div','mceBlockBox',document.getElementById(inst.editorId+'_parent'));self._getMsgBoxLayer(inst).create('div','mceMsgBox',document.getElementById(inst.editorId+'_parent'));},_getMsgBoxLayer:function(inst){if(!inst.spellCheckerMsgBoxL)inst.spellCheckerMsgBoxL=new TinyMCE_Layer(inst.editorId+'_spellcheckerMsgBox',false);return inst.spellCheckerMsgBoxL;},_getBlockBoxLayer:function(inst){if(!inst.spellCheckerBoxL)inst.spellCheckerBoxL=new TinyMCE_Layer(inst.editorId+'_spellcheckerBlockBox',false);return inst.spellCheckerBoxL;},_buildSettingsMenu:function(inst,lang){var i,ar=tinyMCE.getParam('spellchecker_languages','+English=en').split(','),p;var self=TinyMCE_SpellCheckerPlugin,m=self._menu,c;m.clear();m.addTitle(tinyMCE.getLang('lang_spellchecker_langs','',true));for(i=0;i';h+='';h+='';h+='';}else{if(tinyMCE.isMSIE&&!tinyMCE.isOpera)h+='';else h+='';h+='';h+='';h+='';h+='';}return h;},_menuButtonEvent:function(e,o){if(o.className=='mceMenuButtonFocus')return;if(e=='over')o.className=o.className+' mceMenuHover';else o.className=o.className.replace(/\s.*$/,'');},_toggleMenu:function(editor_id,id){var self=TinyMCE_SpellCheckerPlugin;var e=document.getElementById(editor_id+'_spellchecker');var inst=tinyMCE.getInstanceById(editor_id);if(self._menu.isVisible()){tinyMCE.hideMenus();return;}tinyMCE.lastMenuBtnClass=e.className.replace(/\s.*$/,'');tinyMCE.switchClass(editor_id+'_spellchecker','mceMenuButtonFocus');self._menu.moveRelativeTo(e,'bl');self._menu.moveBy(tinyMCE.isMSIE&&!tinyMCE.isOpera?0:1,-1);if(tinyMCE.isOpera)self._menu.moveBy(0,-2);self._onMenuEvent(inst,self._menu,'show');self._menu.show();tinyMCE.lastSelectedMenuBtn=editor_id+'_spellchecker';},_onMenuEvent:function(inst,m,n){TinyMCE_SpellCheckerPlugin._buildSettingsMenu(inst,inst.spellCheckerLang);},execCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id),self=TinyMCE_SpellCheckerPlugin,args='',co,bb,mb,nl,i,e;switch(command){case"mceSpellCheck":if(!inst.spellcheckerOn){inst.spellCheckerBookmark=inst.selection.getBookmark();args+='id='+inst.editorId+"|"+(++self._counter);args+='&cmd=spell&check='+encodeURIComponent(self._getWordList(inst.getBody())).replace(/\'/g,'%27');args+='&lang='+escape(inst.spellCheckerLang);co=document.getElementById(inst.editorId+'_parent').firstChild;bb=self._getBlockBoxLayer(inst);bb.moveRelativeTo(co,'tl');bb.resizeTo(co.offsetWidth,co.offsetHeight);bb.show();mb=self._getMsgBoxLayer(inst);e=mb.getElement();e.innerHTML=''+tinyMCE.getLang('lang_spellchecker_swait','',true)+'';mb.show();mb.moveRelativeTo(co,'cc');if(tinyMCE.isMSIE&&!tinyMCE.isOpera){nl=co.getElementsByTagName('select');for(i=0;i?@[\]^_{|}\u201d\u201c');for(i=0;i0)wl[wl.length]=nl[i];}return wl.join(' ');},_removeWords:function(doc,word){var i,c,nl=doc.getElementsByTagName("span");var self=TinyMCE_SpellCheckerPlugin;var inst=tinyMCE.selectedInstance,b=inst?inst.selection.getBookmark():null;word=typeof(word)=='undefined'?null:word;for(i=nl.length-1;i>=0;i--){c=tinyMCE.getAttrib(nl[i],'class');if((c=='mceItemHiddenSpellWord'||c=='mceItemHidden')&&(word==null||nl[i].innerHTML==word))self._removeWord(nl[i]);}if(b)inst.selection.moveToBookmark(b);},_checkDone:function(inst){var self=TinyMCE_SpellCheckerPlugin;var w=self._countWords(inst);if(w==0){self._removeWords(inst.getDoc());inst.spellcheckerOn=false;tinyMCE.switchClass(inst.editorId+'_spellchecker','mceMenuButton');}},_countWords:function(inst){var i,w=0,nl=inst.getDoc().getElementsByTagName("span"),c;var self=TinyMCE_SpellCheckerPlugin;for(i=nl.length-1;i>=0;i--){c=tinyMCE.getAttrib(nl[i],'class');if(c=='mceItemHiddenSpellWord')w++;}return w;},_removeWord:function(e){if(e!=null)tinyMCE.setOuterHTML(e,e.innerHTML);},_markWords:function(doc,n,wl){var i,nv,nn,nl=tinyMCE.getNodeTree(n,new Array(),3);var r1,r2,r3,r4,r5,w='';var re=TinyMCE_SpellCheckerPlugin._getWordSeparators();for(i=0;i0)w+=wl[i]+((i==wl.length-1)?'':'|');}for(i=0;i$1$2');nv=nv.replace(r3,'$1$2');nn=doc.createElement('span');nn.className="mceItemHidden";nn.innerHTML=nv;nl[i].parentNode.replaceChild(nn,nl[i]);}}},_buildMenu:function(sg,max){var i,self=TinyMCE_SpellCheckerPlugin,cm=self._contextMenu;cm.clear();if(sg!=null){cm.addTitle(tinyMCE.getLang('lang_spellchecker_sug','',true));for(i=0;i'; + h += ''; + h += ''; + h += ''; + } else { + if (tinyMCE.isMSIE && !tinyMCE.isOpera) + h += ''; + else + h += ''; + + h += ''; + h += ''; + h += ''; + h += ''; + } + + return h; + }, + + _menuButtonEvent : function(e, o) { + if (o.className == 'mceMenuButtonFocus') + return; + + if (e == 'over') + o.className = o.className + ' mceMenuHover'; + else + o.className = o.className.replace(/\s.*$/, ''); + }, + + _toggleMenu : function(editor_id, id) { + var self = TinyMCE_SpellCheckerPlugin; + var e = document.getElementById(editor_id + '_spellchecker'); + var inst = tinyMCE.getInstanceById(editor_id); + + if (self._menu.isVisible()) { + tinyMCE.hideMenus(); + return; + } + + tinyMCE.lastMenuBtnClass = e.className.replace(/\s.*$/, ''); + tinyMCE.switchClass(editor_id + '_spellchecker', 'mceMenuButtonFocus'); + + self._menu.moveRelativeTo(e, 'bl'); + self._menu.moveBy(tinyMCE.isMSIE && !tinyMCE.isOpera ? 0 : 1, -1); + + if (tinyMCE.isOpera) + self._menu.moveBy(0, -2); + + self._onMenuEvent(inst, self._menu, 'show'); + + self._menu.show(); + + tinyMCE.lastSelectedMenuBtn = editor_id + '_spellchecker'; + }, + + _onMenuEvent : function(inst, m, n) { + TinyMCE_SpellCheckerPlugin._buildSettingsMenu(inst, inst.spellCheckerLang); + }, + + execCommand : function(editor_id, element, command, user_interface, value) { + var inst = tinyMCE.getInstanceById(editor_id), self = TinyMCE_SpellCheckerPlugin, args = '', co, bb, mb, nl, i, e; + + // Handle commands + switch (command) { + case "mceSpellCheck": + if (!inst.spellcheckerOn) { + inst.spellCheckerBookmark = inst.selection.getBookmark(); + + // Setup arguments + args += 'id=' + inst.editorId + "|" + (++self._counter); + args += '&cmd=spell&check=' + encodeURIComponent(self._getWordList(inst.getBody())).replace( /\'/g, '%27' ); + args += '&lang=' + escape(inst.spellCheckerLang); + + co = document.getElementById(inst.editorId + '_parent').firstChild; + bb = self._getBlockBoxLayer(inst); + bb.moveRelativeTo(co, 'tl'); + bb.resizeTo(co.offsetWidth, co.offsetHeight); + bb.show(); + + // Setup message box + mb = self._getMsgBoxLayer(inst); + e = mb.getElement(); + e.innerHTML = '' + tinyMCE.getLang('lang_spellchecker_swait', '', true) + ''; + mb.show(); + mb.moveRelativeTo(co, 'cc'); + + if (tinyMCE.isMSIE && !tinyMCE.isOpera) { + nl = co.getElementsByTagName('select'); + for (i=0; i?@[\]^_{|}\u201d\u201c'); + + for (i=0; i 0) + wl[wl.length] = nl[i]; + } + + return wl.join(' '); + }, + + _removeWords : function(doc, word) { + var i, c, nl = doc.getElementsByTagName("span"); + var self = TinyMCE_SpellCheckerPlugin; + var inst = tinyMCE.selectedInstance, b = inst ? inst.selection.getBookmark() : null; + + word = typeof(word) == 'undefined' ? null : word; + + for (i=nl.length-1; i>=0; i--) { + c = tinyMCE.getAttrib(nl[i], 'class'); + + if ((c == 'mceItemHiddenSpellWord' || c == 'mceItemHidden') && (word == null || nl[i].innerHTML == word)) + self._removeWord(nl[i]); + } + + if (b) + inst.selection.moveToBookmark(b); + }, + + _checkDone : function(inst) { + var self = TinyMCE_SpellCheckerPlugin; + var w = self._countWords(inst); + + if (w == 0) { + self._removeWords(inst.getDoc()); + inst.spellcheckerOn = false; + tinyMCE.switchClass(inst.editorId + '_spellchecker', 'mceMenuButton'); + } + }, + + _countWords : function(inst) { + var i, w = 0, nl = inst.getDoc().getElementsByTagName("span"), c; + var self = TinyMCE_SpellCheckerPlugin; + + for (i=nl.length-1; i>=0; i--) { + c = tinyMCE.getAttrib(nl[i], 'class'); + + if (c == 'mceItemHiddenSpellWord') + w++; + } + + return w; + }, + + _removeWord : function(e) { + if (e != null) + tinyMCE.setOuterHTML(e, e.innerHTML); + }, + + _markWords : function(doc, n, wl) { + var i, nv, nn, nl = tinyMCE.getNodeTree(n, new Array(), 3); + var r1, r2, r3, r4, r5, w = ''; + var re = TinyMCE_SpellCheckerPlugin._getWordSeparators(); + + for (i=0; i 0) + w += wl[i] + ((i == wl.length-1) ? '' : '|'); + } + + for (i=0; i$1$2'); + nv = nv.replace(r3, '$1$2'); + + nn = doc.createElement('span'); + nn.className = "mceItemHidden"; + nn.innerHTML = nv; + + // Remove old text node + nl[i].parentNode.replaceChild(nn, nl[i]); + } + } + }, + + _buildMenu : function(sg, max) { + var i, self = TinyMCE_SpellCheckerPlugin, cm = self._contextMenu; + + cm.clear(); + + if (sg != null) { + cm.addTitle(tinyMCE.getLang('lang_spellchecker_sug', '', true)); + + for (i=0; i'; + die; + } + + // Basic config + $defaultLanguage = $spellCheckerConfig['default.language']; + $defaultMode = $spellCheckerConfig['default.mode']; + + // Normaly not required to configure + $defaultSpelling = $spellCheckerConfig['default.spelling']; + $defaultJargon = $spellCheckerConfig['default.jargon']; + $defaultEncoding = $spellCheckerConfig['default.encoding']; + $outputType = "xml"; // Do not change + + // Get input parameters. + + $check = urldecode($_REQUEST['check']); + $cmd = sanitize($_REQUEST['cmd']); + $lang = sanitize($_REQUEST['lang'], "strict"); + $mode = sanitize($_REQUEST['mode'], "strict"); + $spelling = sanitize($_REQUEST['spelling'], "strict"); + $jargon = sanitize($_REQUEST['jargon'], "strict"); + $encoding = sanitize($_REQUEST['encoding'], "strict"); + $sg = sanitize($_REQUEST['sg'], "bool"); + $words = array(); + + $validRequest = true; + + if (empty($check)) + $validRequest = false; + + if (empty($lang)) + $lang = $defaultLanguage; + + if (empty($mode)) + $mode = $defaultMode; + + if (empty($spelling)) + $spelling = $defaultSpelling; + + if (empty($jargon)) + $jargon = $defaultJargon; + + if (empty($encoding)) + $encoding = $defaultEncoding; + + function sanitize($str, $type="strict") { + switch ($type) { + case "strict": + $str = preg_replace("/[^a-zA-Z0-9_\-]/i", "", $str); + break; + case "loose": + $str = preg_replace("//i", "<", $str); + break; + case "bool": + if ($str == "true" || $str == true) + $str = true; + else + $str = false; + break; + } + + return $str; + } + + $result = array(); + $tinyspell = new $spellCheckerConfig['class']($spellCheckerConfig, $lang, $mode, $spelling, $jargon, $encoding); + + if (count($tinyspell->errorMsg) == 0) { + switch($cmd) { + case "spell": + // Space for non-exec version and \n for the exec version. + $words = preg_split("/ |\n/", $check, -1, PREG_SPLIT_NO_EMPTY); + $result = $tinyspell->checkWords($words); + break; + + case "suggest": + $result = $tinyspell->getSuggestion($check); + break; + + default: + // Just use this for now. + $tinyspell->errorMsg[] = "No command."; + $outputType = $outputType . "error"; + break; + } + } else + $outputType = $outputType . "error"; + + if (!$result) + $result = array(); + + // Output data + switch($outputType) { + case "xml": + header('Content-type: text/xml; charset=utf-8'); + $body = ''; + $body .= "\n"; + + if (count($result) == 0) + $body .= ''; + else + $body .= ''. urlencode(implode(" ", $result)) .''; + + echo $body; + break; + case "xmlerror"; + header('Content-type: text/xml; charset=utf-8'); + $body = ''; + $body .= "\n"; + $body .= 'errorMsg) .'" />'; + echo $body; + break; + case "html": + var_dump($result); + break; + case "htmlerror": + echo "Error"; + break; + } + +?> diff --git a/phpgwapi/js/tiny_mce/plugins/style/css/props.css b/phpgwapi/js/tiny_mce/plugins/style/css/props.css new file mode 100644 index 0000000000..3b2e33d77b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/css/props.css @@ -0,0 +1,63 @@ +#text_font { + width: 250px; +} + +#text_size { + width: 70px; +} + +.mceAddSelectValue { + background-color: #DDDDDD; +} + +select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left { + width: 70px; +} + +#box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex { + width: 70px; +} + +#positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left { + width: 70px; +} + +#positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left { + width: 70px; +} + +.panel_wrapper div.current { + padding-top: 10px; + height: 230px; +} + +.delim { + b2ackground-color: #DDDDDD; + border-left: 1px solid gray; +} + +.tdelim { + border-bottom: 1px solid gray; +} + +#block_display { + width: 145px; +} + +#list_type { + width: 115px; +} + +.disabled { + background-color: #EEEEEE; +} + +#apply { + font-weight: bold; + width: 78px; + height: 21px; + border: 0; + background-image: url('../images/apply_button_bg.gif'); + cursor: pointer; +} + diff --git a/phpgwapi/js/tiny_mce/plugins/style/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/style/editor_plugin.js new file mode 100644 index 0000000000..e5a33dc9da --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('style','en');var TinyMCE_StylePlugin={getInfo:function(){return{longname:'Style',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_style.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"styleprops":return tinyMCE.getButtonHTML(cn,'lang_style_styleinfo_desc','{$pluginurl}/images/style_info.gif','mceStyleProps',true);}return"";},execCommand:function(editor_id,element,command,user_interface,value){var e,inst;switch(command){case"mceStyleProps":TinyMCE_StylePlugin._styleProps();return true;case"mceSetElementStyle":inst=tinyMCE.getInstanceById(editor_id);e=inst.selection.getFocusElement();if(e){e.style.cssText=value;inst.repaint();}return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){},_styleProps:function(){var e=tinyMCE.selectedInstance.selection.getFocusElement();if(!e)return;tinyMCE.openWindow({file:'../../plugins/style/props.htm',width:480+tinyMCE.getLang('lang_style_props_delta_width',0),height:320+tinyMCE.getLang('lang_style_props_delta_height',0)},{editor_id:tinyMCE.selectedInstance.editorId,inline:"yes",style_text:e.style.cssText});}};tinyMCE.addPlugin("style",TinyMCE_StylePlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/style/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/style/editor_plugin_src.js new file mode 100644 index 0000000000..27ba20ee8e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/editor_plugin_src.js @@ -0,0 +1,81 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.1 $ + * $Date: 2006/05/03 10:46:42 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('style', 'en'); + +var TinyMCE_StylePlugin = { + getInfo : function() { + return { + longname : 'Style', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_style.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + getControlHTML : function(cn) { + switch (cn) { + case "styleprops": + return tinyMCE.getButtonHTML(cn, 'lang_style_styleinfo_desc', '{$pluginurl}/images/style_info.gif', 'mceStyleProps', true); + } + + return ""; + }, + + execCommand : function(editor_id, element, command, user_interface, value) { + var e, inst; + + // Handle commands + switch (command) { + case "mceStyleProps": + TinyMCE_StylePlugin._styleProps(); + return true; + + case "mceSetElementStyle": + inst = tinyMCE.getInstanceById(editor_id); + e = inst.selection.getFocusElement(); + + if (e) { + e.style.cssText = value; + inst.repaint(); + } + + return true; + } + + // Pass to next handler in chain + return false; + }, + + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + }, + + // Private plugin specific methods + + _styleProps : function() { + var e = tinyMCE.selectedInstance.selection.getFocusElement(); + + if (!e) + return; + + tinyMCE.openWindow({ + file : '../../plugins/style/props.htm', + width : 480 + tinyMCE.getLang('lang_style_props_delta_width', 0), + height : 320 + tinyMCE.getLang('lang_style_props_delta_height', 0) + }, { + editor_id : tinyMCE.selectedInstance.editorId, + inline : "yes", + style_text : e.style.cssText + }); + } +}; + +tinyMCE.addPlugin("style", TinyMCE_StylePlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/style/images/apply_button_bg.gif b/phpgwapi/js/tiny_mce/plugins/style/images/apply_button_bg.gif new file mode 100644 index 0000000000..979e868abb Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/style/images/apply_button_bg.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/style/images/style_info.gif b/phpgwapi/js/tiny_mce/plugins/style/images/style_info.gif new file mode 100644 index 0000000000..41f227125b Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/style/images/style_info.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/style/jscripts/props.js b/phpgwapi/js/tiny_mce/plugins/style/jscripts/props.js new file mode 100644 index 0000000000..4a6a33043a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/jscripts/props.js @@ -0,0 +1,630 @@ +var defaultFonts = "" + + "Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" + + "Times New Roman, Times, serif=Times New Roman, Times, serif;" + + "Courier New, Courier, mono=Courier New, Courier, mono;" + + "Times New Roman, Times, serif=Times New Roman, Times, serif;" + + "Georgia, Times New Roman, Times, serif=Georgia, Times New Roman, Times, serif;" + + "Verdana, Arial, Helvetica, sans-serif=Verdana, Arial, Helvetica, sans-serif;" + + "Geneva, Arial, Helvetica, sans-serif=Geneva, Arial, Helvetica, sans-serif"; + +var defaultSizes = "9;10;12;14;16;18;24;xx-small;x-small;small;medium;large;x-large;xx-large;smaller;larger"; +var defaultMeasurement = "+pixels=px;points=pt;in;cm;mm;picas;ems;exs;%"; +var defaultSpacingMeasurement = "pixels=px;points=pt;in;cm;mm;picas;+ems;exs;%"; +var defaultIndentMeasurement = "pixels=px;+points=pt;in;cm;mm;picas;ems;exs;%"; +var defaultWeight = "normal;bold;bolder;lighter;100;200;300;400;500;600;700;800;900"; +var defaultTextStyle = "normal;italic;oblique"; +var defaultVariant = "normal;small-caps"; +var defaultLineHeight = "normal"; +var defaultAttachment = "fixed;scroll"; +var defaultRepeat = "no-repeat;repeat;repeat-x;repeat-y"; +var defaultPosH = "left;center;right"; +var defaultPosV = "top;center;bottom"; +var defaultVAlign = "baseline;sub;super;top;text-top;middle;bottom;text-bottom"; +var defaultDisplay = "inline;block;list-item;run-in;compact;marker;table;inline-table;table-row-group;table-header-group;table-footer-group;table-row;table-column-group;table-column;table-cell;table-caption;none"; +var defaultBorderStyle = "none;solid;dashed;dotted;double;groove;ridge;inset;outset"; +var defaultBorderWidth = "thin;medium;thick"; +var defaultListType = "disc;circle;square;decimal;lower-roman;upper-roman;lower-alpha;upper-alpha;none"; + +function init() { + var ce = document.getElementById('container'); + + ce.style.cssText = tinyMCEPopup.getWindowArg('style_text'); + + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('text_color_pickcontainer').innerHTML = getColorPickerHTML('text_color_pick','text_color'); + document.getElementById('background_color_pickcontainer').innerHTML = getColorPickerHTML('background_color_pick','background_color'); + document.getElementById('border_color_top_pickcontainer').innerHTML = getColorPickerHTML('border_color_top_pick','border_color_top'); + document.getElementById('border_color_right_pickcontainer').innerHTML = getColorPickerHTML('border_color_right_pick','border_color_right'); + document.getElementById('border_color_bottom_pickcontainer').innerHTML = getColorPickerHTML('border_color_bottom_pick','border_color_bottom'); + document.getElementById('border_color_left_pickcontainer').innerHTML = getColorPickerHTML('border_color_left_pick','border_color_left'); + + fillSelect(0, 'text_font', 'style_font', defaultFonts, ';', true); + fillSelect(0, 'text_size', 'style_font_size', defaultSizes, ';', true); + fillSelect(0, 'text_size_measurement', 'style_font_size_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'text_case', 'style_text_case', "capitalize;uppercase;lowercase", ';', true); + fillSelect(0, 'text_weight', 'style_font_weight', defaultWeight, ';', true); + fillSelect(0, 'text_style', 'style_font_style', defaultTextStyle, ';', true); + fillSelect(0, 'text_variant', 'style_font_variant', defaultVariant, ';', true); + fillSelect(0, 'text_lineheight', 'style_font_line_height', defaultLineHeight, ';', true); + fillSelect(0, 'text_lineheight_measurement', 'style_font_line_height_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'background_attachment', 'style_background_attachment', defaultAttachment, ';', true); + fillSelect(0, 'background_repeat', 'style_background_repeat', defaultRepeat, ';', true); + + fillSelect(0, 'background_hpos_measurement', 'style_background_hpos_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'background_vpos_measurement', 'style_background_vpos_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'background_hpos', 'style_background_hpos', defaultPosH, ';', true); + fillSelect(0, 'background_vpos', 'style_background_vpos', defaultPosV, ';', true); + + fillSelect(0, 'block_wordspacing', 'style_wordspacing', 'normal', ';', true); + fillSelect(0, 'block_wordspacing_measurement', 'style_wordspacing_measurement', defaultSpacingMeasurement, ';', true); + fillSelect(0, 'block_letterspacing', 'style_letterspacing', 'normal', ';', true); + fillSelect(0, 'block_letterspacing_measurement', 'style_letterspacing_measurement', defaultSpacingMeasurement, ';', true); + fillSelect(0, 'block_vertical_alignment', 'style_vertical_alignment', defaultVAlign, ';', true); + fillSelect(0, 'block_text_align', 'style_text_align', "left;right;center;justify", ';', true); + fillSelect(0, 'block_whitespace', 'style_whitespace', "normal;pre;nowrap", ';', true); + fillSelect(0, 'block_display', 'style_display', defaultDisplay, ';', true); + fillSelect(0, 'block_text_indent_measurement', 'style_text_indent_measurement', defaultIndentMeasurement, ';', true); + + fillSelect(0, 'box_width_measurement', 'style_box_width_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_height_measurement', 'style_box_height_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_float', 'style_float', 'left;right;none', ';', true); + fillSelect(0, 'box_clear', 'style_clear', 'left;right;both;none', ';', true); + fillSelect(0, 'box_padding_left_measurement', 'style_padding_left_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_top_measurement', 'style_padding_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_bottom_measurement', 'style_padding_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_padding_right_measurement', 'style_padding_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_left_measurement', 'style_margin_left_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_top_measurement', 'style_margin_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_bottom_measurement', 'style_margin_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'box_margin_right_measurement', 'style_margin_right_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'border_style_top', 'style_border_style_top', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_right', 'style_border_style_right', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_bottom', 'style_border_style_bottom', defaultBorderStyle, ';', true); + fillSelect(0, 'border_style_left', 'style_border_style_left', defaultBorderStyle, ';', true); + + fillSelect(0, 'border_width_top', 'style_border_width_top', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_right', 'style_border_width_right', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_bottom', 'style_border_width_bottom', defaultBorderWidth, ';', true); + fillSelect(0, 'border_width_left', 'style_border_width_left', defaultBorderWidth, ';', true); + + fillSelect(0, 'border_width_top_measurement', 'style_border_width_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_right_measurement', 'style_border_width_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_bottom_measurement', 'style_border_width_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'border_width_left_measurement', 'style_border_width_left_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'list_type', 'style_list_type', defaultListType, ';', true); + fillSelect(0, 'list_position', 'style_list_position', "inside;outside", ';', true); + + fillSelect(0, 'positioning_type', 'style_positioning_type', "absolute;relative;static", ';', true); + fillSelect(0, 'positioning_visibility', 'style_positioning_visibility', "inherit;visible;hidden", ';', true); + + fillSelect(0, 'positioning_width_measurement', 'style_positioning_width_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_height_measurement', 'style_positioning_height_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_overflow', 'style_positioning_overflow', "visible;hidden;scroll;auto", ';', true); + + fillSelect(0, 'positioning_placement_top_measurement', 'style_positioning_placement_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_right_measurement', 'style_positioning_placement_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_bottom_measurement', 'style_positioning_placement_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_placement_left_measurement', 'style_positioning_placement_left_measurement', defaultMeasurement, ';', true); + + fillSelect(0, 'positioning_clip_top_measurement', 'style_positioning_clip_top_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_right_measurement', 'style_positioning_clip_right_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_bottom_measurement', 'style_positioning_clip_bottom_measurement', defaultMeasurement, ';', true); + fillSelect(0, 'positioning_clip_left_measurement', 'style_positioning_clip_left_measurement', defaultMeasurement, ';', true); + + TinyMCE_EditableSelects.init(); + setupFormData(); + showDisabledControls(); +} + +function setupFormData() { + var ce = document.getElementById('container'), f = document.forms[0], s, b, i; + + // Setup text fields + + selectByValue(f, 'text_font', ce.style.fontFamily, true, true); + selectByValue(f, 'text_size', getNum(ce.style.fontSize), true, true); + selectByValue(f, 'text_size_measurement', getMeasurement(ce.style.fontSize)); + selectByValue(f, 'text_weight', ce.style.fontWeight, true, true); + selectByValue(f, 'text_style', ce.style.fontStyle, true, true); + selectByValue(f, 'text_lineheight', getNum(ce.style.lineHeight), true, true); + selectByValue(f, 'text_lineheight_measurement', getMeasurement(ce.style.lineHeight)); + selectByValue(f, 'text_case', ce.style.textTransform, true, true); + selectByValue(f, 'text_variant', ce.style.fontVariant, true, true); + f.text_color.value = ce.style.color; + updateColor('text_color_pick', 'text_color'); + f.text_underline.checked = inStr(ce.style.textDecoration, 'underline'); + f.text_overline.checked = inStr(ce.style.textDecoration, 'overline'); + f.text_linethrough.checked = inStr(ce.style.textDecoration, 'line-through'); + f.text_blink.checked = inStr(ce.style.textDecoration, 'blink'); + + // Setup background fields + + f.background_color.value = ce.style.backgroundColor; + updateColor('background_color_pick', 'background_color'); + f.background_image.value = ce.style.backgroundImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + selectByValue(f, 'background_repeat', ce.style.backgroundRepeat, true, true); + selectByValue(f, 'background_attachment', ce.style.backgroundAttachment, true, true); + selectByValue(f, 'background_hpos', getNum(getVal(ce.style.backgroundPosition, 0)), true, true); + selectByValue(f, 'background_hpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 0))); + selectByValue(f, 'background_vpos', getNum(getVal(ce.style.backgroundPosition, 1)), true, true); + selectByValue(f, 'background_vpos_measurement', getMeasurement(getVal(ce.style.backgroundPosition, 1))); + + // Setup block fields + + selectByValue(f, 'block_wordspacing', getNum(ce.style.wordSpacing), true, true); + selectByValue(f, 'block_wordspacing_measurement', getMeasurement(ce.style.wordSpacing)); + selectByValue(f, 'block_letterspacing', getNum(ce.style.letterSpacing), true, true); + selectByValue(f, 'block_letterspacing_measurement', getMeasurement(ce.style.letterSpacing)); + selectByValue(f, 'block_vertical_alignment', ce.style.verticalAlign, true, true); + selectByValue(f, 'block_text_align', ce.style.textAlign, true, true); + f.block_text_indent.value = getNum(ce.style.textIndent); + selectByValue(f, 'block_text_indent_measurement', getMeasurement(ce.style.textIndent)); + selectByValue(f, 'block_whitespace', ce.style.whiteSpace, true, true); + selectByValue(f, 'block_display', ce.style.display, true, true); + + // Setup box fields + + f.box_width.value = getNum(ce.style.width); + selectByValue(f, 'box_width_measurement', getMeasurement(ce.style.width)); + + f.box_height.value = getNum(ce.style.height); + selectByValue(f, 'box_height_measurement', getMeasurement(ce.style.height)); + + if (tinyMCE.isGecko) + selectByValue(f, 'box_float', ce.style.cssFloat, true, true); + else + selectByValue(f, 'box_float', ce.style.styleFloat, true, true); + + selectByValue(f, 'box_clear', ce.style.clear, true, true); + + setupBox(f, ce, 'box_padding', 'padding', ''); + setupBox(f, ce, 'box_margin', 'margin', ''); + + // Setup border fields + + setupBox(f, ce, 'border_style', 'border', 'Style'); + setupBox(f, ce, 'border_width', 'border', 'Width'); + setupBox(f, ce, 'border_color', 'border', 'Color'); + + updateColor('border_color_top_pick', 'border_color_top'); + updateColor('border_color_right_pick', 'border_color_right'); + updateColor('border_color_bottom_pick', 'border_color_bottom'); + updateColor('border_color_left_pick', 'border_color_left'); + + // Setup list fields + + selectByValue(f, 'list_type', ce.style.listStyleType, true, true); + selectByValue(f, 'list_position', ce.style.listStylePosition, true, true); + f.list_bullet_image.value = ce.style.listStyleImage.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + + // Setup box fields + + selectByValue(f, 'positioning_type', ce.style.position, true, true); + selectByValue(f, 'positioning_visibility', ce.style.visibility, true, true); + selectByValue(f, 'positioning_overflow', ce.style.overflow, true, true); + f.positioning_zindex.value = ce.style.zIndex ? ce.style.zIndex : ""; + + f.positioning_width.value = getNum(ce.style.width); + selectByValue(f, 'positioning_width_measurement', getMeasurement(ce.style.width)); + + f.positioning_height.value = getNum(ce.style.height); + selectByValue(f, 'positioning_height_measurement', getMeasurement(ce.style.height)); + + setupBox(f, ce, 'positioning_placement', '', '', new Array('top', 'right', 'bottom', 'left')); + + s = ce.style.clip.replace(new RegExp("rect\\('?([^']*)'?\\)", 'gi'), "$1"); + s = s.replace(/,/g, ' '); + + if (!hasEqualValues(new Array(getVal(s, 0), getVal(s, 1), getVal(s, 2), getVal(s, 3)))) { + f.positioning_clip_top.value = getNum(getVal(s, 0)); + selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); + f.positioning_clip_right.value = getNum(getVal(s, 1)); + selectByValue(f, 'positioning_clip_right_measurement', getMeasurement(getVal(s, 1))); + f.positioning_clip_bottom.value = getNum(getVal(s, 2)); + selectByValue(f, 'positioning_clip_bottom_measurement', getMeasurement(getVal(s, 2))); + f.positioning_clip_left.value = getNum(getVal(s, 3)); + selectByValue(f, 'positioning_clip_left_measurement', getMeasurement(getVal(s, 3))); + } else { + f.positioning_clip_top.value = getNum(getVal(s, 0)); + selectByValue(f, 'positioning_clip_top_measurement', getMeasurement(getVal(s, 0))); + f.positioning_clip_right.value = f.positioning_clip_bottom.value = f.positioning_clip_left.value; + } + +// setupBox(f, ce, '', 'border', 'Color'); +} + +function getMeasurement(s) { + return s.replace(/^([0-9]+)(.*)$/, "$2"); +} + +function getNum(s) { + if (new RegExp('^[0-9]+[a-z%]+$', 'gi').test(s)) + return s.replace(/[^0-9]/g, ''); + + return s; +} + +function inStr(s, n) { + return new RegExp(n, 'gi').test(s); +} + +function getVal(s, i) { + var a = tinyMCE.explode(' ', s); + + if (a.length > 1) + return a[i]; + + return ""; +} + +function setValue(f, n, v) { + if (f.elements[n].type == "text") + f.elements[n].value = v; + else + selectByValue(f, n, v, true, true); +} + +function setupBox(f, ce, fp, pr, sf, b) { + if (typeof(b) == "undefined") + b = new Array('Top', 'Right', 'Bottom', 'Left'); + + if (isSame(ce, pr, sf, b)) { + f.elements[fp + "_same"].checked = true; + + setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); + f.elements[fp + "_top"].disabled = false; + + f.elements[fp + "_right"].value = ""; + f.elements[fp + "_right"].disabled = true; + f.elements[fp + "_bottom"].value = ""; + f.elements[fp + "_bottom"].disabled = true; + f.elements[fp + "_left"].value = ""; + f.elements[fp + "_left"].disabled = true; + + if (f.elements[fp + "_top_measurement"]) { + selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); + f.elements[fp + "_left_measurement"].disabled = true; + f.elements[fp + "_bottom_measurement"].disabled = true; + f.elements[fp + "_right_measurement"].disabled = true; + } + } else { + f.elements[fp + "_same"].checked = false; + + setValue(f, fp + "_top", getNum(ce.style[pr + b[0] + sf])); + f.elements[fp + "_top"].disabled = false; + + setValue(f, fp + "_right", getNum(ce.style[pr + b[1] + sf])); + f.elements[fp + "_right"].disabled = false; + + setValue(f, fp + "_bottom", getNum(ce.style[pr + b[2] + sf])); + f.elements[fp + "_bottom"].disabled = false; + + setValue(f, fp + "_left", getNum(ce.style[pr + b[3] + sf])); + f.elements[fp + "_left"].disabled = false; + + if (f.elements[fp + "_top_measurement"]) { + selectByValue(f, fp + '_top_measurement', getMeasurement(ce.style[pr + b[0] + sf])); + selectByValue(f, fp + '_right_measurement', getMeasurement(ce.style[pr + b[1] + sf])); + selectByValue(f, fp + '_bottom_measurement', getMeasurement(ce.style[pr + b[2] + sf])); + selectByValue(f, fp + '_left_measurement', getMeasurement(ce.style[pr + b[3] + sf])); + f.elements[fp + "_left_measurement"].disabled = false; + f.elements[fp + "_bottom_measurement"].disabled = false; + f.elements[fp + "_right_measurement"].disabled = false; + } + } +} + +function isSame(e, pr, sf, b) { + var a = new Array(), i, x; + + if (typeof(b) == "undefined") + b = new Array('Top', 'Right', 'Bottom', 'Left'); + + if (typeof(sf) == "undefined" || sf == null) + sf = ""; + + a[0] = e.style[pr + b[0] + sf]; + a[1] = e.style[pr + b[1] + sf]; + a[2] = e.style[pr + b[2] + sf]; + a[3] = e.style[pr + b[3] + sf]; + + for (i=0; i 0 ? s.substring(1) : s; + + if (f.text_none.checked) + s = "none"; + + ce.style.textDecoration = s; + + // Build background styles + + ce.style.backgroundColor = f.background_color.value; + ce.style.backgroundImage = f.background_image.value != "" ? "url(" + f.background_image.value + ")" : ""; + ce.style.backgroundRepeat = f.background_repeat.value; + ce.style.backgroundAttachment = f.background_attachment.value; + + if (f.background_hpos.value != "") { + s = ""; + s += f.background_hpos.value + (isNum(f.background_hpos.value) ? f.background_hpos_measurement.value : "") + " "; + s += f.background_vpos.value + (isNum(f.background_vpos.value) ? f.background_vpos_measurement.value : ""); + ce.style.backgroundPosition = s; + } + + // Build block styles + + ce.style.wordSpacing = f.block_wordspacing.value + (isNum(f.block_wordspacing.value) ? f.block_wordspacing_measurement.value : ""); + ce.style.letterSpacing = f.block_letterspacing.value + (isNum(f.block_letterspacing.value) ? f.block_letterspacing_measurement.value : ""); + ce.style.verticalAlign = f.block_vertical_alignment.value; + ce.style.textAlign = f.block_text_align.value; + ce.style.textIndent = f.block_text_indent.value + (isNum(f.block_text_indent.value) ? f.block_text_indent_measurement.value : ""); + ce.style.whiteSpace = f.block_whitespace.value; + ce.style.display = f.block_display.value; + + // Build box styles + + ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : ""); + ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : ""); + ce.style.styleFloat = f.box_float.value; + + if (tinyMCE.isGecko) + ce.style.cssFloat = f.box_float.value; + + ce.style.clear = f.box_clear.value; + + if (!f.box_padding_same.checked) { + ce.style.paddingTop = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); + ce.style.paddingRight = f.box_padding_right.value + (isNum(f.box_padding_right.value) ? f.box_padding_right_measurement.value : ""); + ce.style.paddingBottom = f.box_padding_bottom.value + (isNum(f.box_padding_bottom.value) ? f.box_padding_bottom_measurement.value : ""); + ce.style.paddingLeft = f.box_padding_left.value + (isNum(f.box_padding_left.value) ? f.box_padding_left_measurement.value : ""); + } else + ce.style.padding = f.box_padding_top.value + (isNum(f.box_padding_top.value) ? f.box_padding_top_measurement.value : ""); + + if (!f.box_margin_same.checked) { + ce.style.marginTop = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); + ce.style.marginRight = f.box_margin_right.value + (isNum(f.box_margin_right.value) ? f.box_margin_right_measurement.value : ""); + ce.style.marginBottom = f.box_margin_bottom.value + (isNum(f.box_margin_bottom.value) ? f.box_margin_bottom_measurement.value : ""); + ce.style.marginLeft = f.box_margin_left.value + (isNum(f.box_margin_left.value) ? f.box_margin_left_measurement.value : ""); + } else + ce.style.margin = f.box_margin_top.value + (isNum(f.box_margin_top.value) ? f.box_margin_top_measurement.value : ""); + + // Build border styles + + if (!f.border_style_same.checked) { + ce.style.borderTopStyle = f.border_style_top.value; + ce.style.borderRightStyle = f.border_style_right.value; + ce.style.borderBottomStyle = f.border_style_bottom.value; + ce.style.borderLeftStyle = f.border_style_left.value; + } else + ce.style.borderStyle = f.border_style_top.value; + + if (!f.border_width_same.checked) { + ce.style.borderTopWidth = f.border_width_top.value + (isNum(f.border_width_top.value) ? f.border_width_top_measurement.value : ""); + ce.style.borderRightWidth = f.border_width_right.value + (isNum(f.border_width_right.value) ? f.border_width_right_measurement.value : ""); + ce.style.borderBottomWidth = f.border_width_bottom.value + (isNum(f.border_width_bottom.value) ? f.border_width_bottom_measurement.value : ""); + ce.style.borderLeftWidth = f.border_width_left.value + (isNum(f.border_width_left.value) ? f.border_width_left_measurement.value : ""); + } else + ce.style.borderWidth = f.border_width_top.value; + + if (!f.border_color_same.checked) { + ce.style.borderTopColor = f.border_color_top.value; + ce.style.borderRightColor = f.border_color_right.value; + ce.style.borderBottomColor = f.border_color_bottom.value; + ce.style.borderLeftColor = f.border_color_left.value; + } else + ce.style.borderColor = f.border_color_top.value; + + // Build list styles + + ce.style.listStyleType = f.list_type.value; + ce.style.listStylePosition = f.list_position.value; + ce.style.listStyleImage = f.list_bullet_image.value != "" ? "url(" + f.list_bullet_image.value + ")" : ""; + + // Build positioning styles + + ce.style.position = f.positioning_type.value; + ce.style.visibility = f.positioning_visibility.value; + + if (ce.style.width == "") + ce.style.width = f.positioning_width.value + (isNum(f.positioning_width.value) ? f.positioning_width_measurement.value : ""); + + if (ce.style.height == "") + ce.style.height = f.positioning_height.value + (isNum(f.positioning_height.value) ? f.positioning_height_measurement.value : ""); + + ce.style.zIndex = f.positioning_zindex.value; + ce.style.overflow = f.positioning_overflow.value; + + if (!f.positioning_placement_same.checked) { + ce.style.top = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); + ce.style.right = f.positioning_placement_right.value + (isNum(f.positioning_placement_right.value) ? f.positioning_placement_right_measurement.value : ""); + ce.style.bottom = f.positioning_placement_bottom.value + (isNum(f.positioning_placement_bottom.value) ? f.positioning_placement_bottom_measurement.value : ""); + ce.style.left = f.positioning_placement_left.value + (isNum(f.positioning_placement_left.value) ? f.positioning_placement_left_measurement.value : ""); + } else { + s = f.positioning_placement_top.value + (isNum(f.positioning_placement_top.value) ? f.positioning_placement_top_measurement.value : ""); + ce.style.top = s; + ce.style.right = s; + ce.style.bottom = s; + ce.style.left = s; + } + + if (!f.positioning_clip_same.checked) { + s = "rect("; + s += (isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_right.value) ? f.positioning_clip_right.value + f.positioning_clip_right_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_bottom.value) ? f.positioning_clip_bottom.value + f.positioning_clip_bottom_measurement.value : "auto") + " "; + s += (isNum(f.positioning_clip_left.value) ? f.positioning_clip_left.value + f.positioning_clip_left_measurement.value : "auto"); + s += ")"; + + if (s != "rect(auto auto auto auto)") + ce.style.clip = s; + } else { + s = "rect("; + t = isNum(f.positioning_clip_top.value) ? f.positioning_clip_top.value + f.positioning_clip_top_measurement.value : "auto"; + s += t + " "; + s += t + " "; + s += t + " "; + s += t + ")"; + + if (s != "rect(auto auto auto auto)") + ce.style.clip = s; + } + + ce.style.cssText = tinyMCE.serializeStyle(tinyMCE.parseStyle(ce.style.cssText)); +} + +function isNum(s) { + return new RegExp('[0-9]+', 'g').test(s); +} + +function showDisabledControls() { + var f = document.forms, i, a; + + for (i=0; i 1) { + addSelectValue(f, s, p[0], p[1]); + + if (se) + selectByValue(f, s, p[1]); + } else { + addSelectValue(f, s, p[0], p[0]); + + if (se) + selectByValue(f, s, p[0]); + } + } +} + +function toggleSame(ce, pre) { + var el = document.forms[0].elements, i; + + if (ce.checked) { + el[pre + "_top"].disabled = false; + el[pre + "_right"].disabled = true; + el[pre + "_bottom"].disabled = true; + el[pre + "_left"].disabled = true; + + if (el[pre + "_top_measurement"]) { + el[pre + "_top_measurement"].disabled = false; + el[pre + "_right_measurement"].disabled = true; + el[pre + "_bottom_measurement"].disabled = true; + el[pre + "_left_measurement"].disabled = true; + } + } else { + el[pre + "_top"].disabled = false; + el[pre + "_right"].disabled = false; + el[pre + "_bottom"].disabled = false; + el[pre + "_left"].disabled = false; + + if (el[pre + "_top_measurement"]) { + el[pre + "_top_measurement"].disabled = false; + el[pre + "_right_measurement"].disabled = false; + el[pre + "_bottom_measurement"].disabled = false; + el[pre + "_left_measurement"].disabled = false; + } + } + + showDisabledControls(); +} + +function synch(fr, to) { + var f = document.forms[0]; + + f.elements[to].value = f.elements[fr].value; + + if (f.elements[fr + "_measurement"]) + selectByValue(f, to + "_measurement", f.elements[fr + "_measurement"].value); +} diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ar.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ar.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ca.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ca.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/style/langs/cs.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/cs.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/style/langs/cy.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/cy.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/da.js b/phpgwapi/js/tiny_mce/plugins/style/langs/da.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/da.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/de.js b/phpgwapi/js/tiny_mce/plugins/style/langs/de.js new file mode 100755 index 0000000000..2a1416daba --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/de.js @@ -0,0 +1,60 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'CSS Stil editieren', +styleinfo_desc : 'CSS Stil editieren', +text_tab : 'Text', +background_tab : 'Hintergrund', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Rahmen', +list_tab : 'Liste', +positioning_tab : 'Positionierung', +text_props : 'Text', +text_font : 'Schriftart', +text_size : 'Grsse', +text_weight : 'Dicke', +text_style : 'Stil', +text_variant : 'Variante', +text_lineheight : 'Linienhhe', +text_case : 'Gross-/Kleinbuchstaben', +text_color : 'Farbe', +text_decoration : 'Dekoration', +background_color : 'Hintergrundfarbe', +background_image : 'Hintergrundfoto', +background_repeat : 'Wiederholen', +background_attachment : 'Anhang', +background_hpos : 'Horizontale Position', +background_vpos : 'Vertikale Position', +block_wordspacing : 'Wortabstand', +block_letterspacing : 'Zeichenabstand', +block_vertical_alignment : 'Vertikale Ausrichtung', +block_text_align : 'Horizontale Ausrichtung', +block_text_indent : 'Texteinrckung', +block_whitespace : 'Textumbruch', +block_display : 'Anzeigeart', +box_width : 'Breite', +box_height : 'Hhe', +box_float : 'Text umfliessen', +box_clear : 'Text umfliessen beenden', +padding : 'Innenabstand', +same : 'Das gleiche fr alle', +top : 'Oben', +right : 'Rechts', +bottom : 'Unten', +left : 'Links', +margin : 'Aussenabstand', +style : 'Stil', +width : 'Breite', +height : 'Hhe', +color : 'Farbe', +list_type : 'Listentyp', +bullet_image : 'Grafik', +position : 'Position', +positioning_type : 'Typ', +visibility : 'Sichtbarkeit', +zindex : 'Z-index', +overflow : 'berfluss', +placement : 'Plazierung', +clip : 'Abschneiden' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/el.js b/phpgwapi/js/tiny_mce/plugins/style/langs/el.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/el.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/en.js b/phpgwapi/js/tiny_mce/plugins/style/langs/en.js new file mode 100644 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/en.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/es.js b/phpgwapi/js/tiny_mce/plugins/style/langs/es.js new file mode 100755 index 0000000000..21a247590a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/es.js @@ -0,0 +1,66 @@ +/** + * ES lang variables + * + * Authors : Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('style',{ +title : 'Editar estilo CSS', +styleinfo_desc : 'Editar estilo CSS', +text_tab : 'Texto', +background_tab : 'Fondo', +block_tab : 'Bloque', +box_tab : 'Cuadro', +border_tab : 'Borde', +list_tab : 'Lista', +positioning_tab : 'Posicionamiento', +text_props : 'Texto', +text_font : 'Fuente', +text_size : 'Tamaño', +text_weight : 'Peso', +text_style : 'Estilo', +text_variant : 'Variante', +text_lineheight : 'Altura de línea', +text_case : 'Caso', +text_color : 'Color', +text_decoration : 'Decoración', +background_color : 'Color de fondo', +background_image : 'Imagen de fondo', +background_repeat : 'Repetir', +background_attachment : 'Agregado', +background_hpos : 'Posición horizontal', +background_vpos : 'Posición vertical', +block_wordspacing : 'Espaciado de palabras', +block_letterspacing : 'Espaciado de letras', +block_vertical_alignment : 'Alineación vertical', +block_text_align : 'Alineación del texto', +block_text_indent : 'Indentación del texto', +block_whitespace : 'Espacio', +block_display : 'Mostrar', +box_width : 'Ancho', +box_height : 'Alto', +box_float : 'Flotante', +box_clear : 'Borrar', +padding : 'Espaciado', +same : 'Igual para todo', +top : 'Arriba', +right : 'Derecha', +bottom : 'Abajo', +left : 'Izquierda', +margin : 'Margen', +style : 'Estilo', +width : 'Ancho', +height : 'Alto', +color : 'Color', +list_type : 'Tipo', +bullet_image : 'Imagen de viñeta', +position : 'Posición', +positioning_type : 'Tipo', +visibility : 'Visibilidad', +zindex : 'Z-index', +overflow : 'Desbordamiento', +placement : 'Emplazamiento', +clip : 'Recortar' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/style/langs/fa.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/fa.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/style/langs/fa_ca.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/fa_ca.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/style/langs/fi.js new file mode 100755 index 0000000000..b4ddf80ad4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/fi.js @@ -0,0 +1,66 @@ +// FI lang variables + +tinyMCE.addToLang('style',{ +title : 'Muokkaa CSS tyyliä', +styleinfo_desc : 'Muokkaa CSS tyyliä', +apply : 'Päivitä', +text_tab : 'Teksti', +background_tab : 'Tausta', +block_tab : 'Lohko', +box_tab : 'Laatikko', +border_tab : 'Reunaviiva', +list_tab : 'Lista', +positioning_tab : 'Asettelu', +text_props : 'Teksti', +text_font : 'Kirjasin', +text_size : 'Koko', +text_weight : 'Lihavointi', +text_style : 'Tyyli', +text_variant : 'Variantti', +text_lineheight : 'Rivikorkeus', +text_case : 'Isot/pienet kirjaimet', +text_color : 'Väri', +text_decoration : 'Koristelu', +text_overline : 'ylleviivaus', +text_underline : 'alleviivaus', +text_striketrough : 'yliviivaus', +text_blink : 'vilkkuva', +text_none : 'ei mitään', +background_color : 'Taustaväri', +background_image : 'Taustakuva', +background_repeat : 'Toisto', +background_attachment : 'Kiinnitys', +background_hpos : 'Vaakasijoitus', +background_vpos : 'Pystysijoitus', +block_wordspacing : 'Sanavälitys', +block_letterspacing : 'Kirjainvälitys', +block_vertical_alignment : 'Pystyasettelu', +block_text_align : 'Tekstin tasaus', +block_text_indent : 'Tekstin sisennys', +block_whitespace : 'Rivitys', +block_display : 'Näyttötapa', +box_width : 'Leveys', +box_height : 'Korkeus', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Täyte', +same : 'Sama kaikille', +top : 'Ylä', +right : 'Oikea', +bottom : 'Ala', +left : 'Vasen', +margin : 'Marginaali', +style : 'Tyyli', +width : 'Leveys', +height : 'Korkeus', +color : 'Väri', +list_type : 'Tyyppi', +bullet_image : 'Luettelokuva', +position : 'Paikka', +positioning_type : 'Tyyppi', +visibility : 'Näkyvyys', +zindex : 'Z-indeksi', +overflow : 'Overflow', +placement : 'Asettelu', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/style/langs/fr.js new file mode 100755 index 0000000000..2da3d1f6f6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/fr.js @@ -0,0 +1,66 @@ +// FR lang variables + +tinyMCE.addToLang('style',{ +title : 'Edtiteur de style CSS', +styleinfo_desc : 'Edtiteur de style CSS', +apply : 'Appliquer', +text_tab : 'Texte', +background_tab : 'Fond', +block_tab : 'Bloc', +box_tab : 'Boite', +border_tab : 'Bord', +list_tab : 'Liste', +positioning_tab : 'Positionnement', +text_props : 'Texte', +text_font : 'Fonte', +text_size : 'Taille', +text_weight : 'Poid', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Hauteur de ligne', +text_case : 'Casse', +text_color : 'Couleur', +text_decoration : 'Dcoration', +text_overline : 'surlign', +text_underline : 'soulign', +text_striketrough : 'barr', +text_blink : 'clignotant', +text_none : 'aucun', +background_color : 'Couleur de fond', +background_image : 'Image de fond', +background_repeat : 'Rpter', +background_attachment : 'Attacher', +background_hpos : 'Position horizontal', +background_vpos : 'Position vertical', +block_wordspacing : 'Espace entre les mots', +block_letterspacing : 'Espace entre les lettres', +block_vertical_alignment : 'Aligenement vertical', +block_text_align : 'Aligement du texte', +block_text_indent : 'Indentation du texte', +block_whitespace : 'Espace', +block_display : 'Afficher', +box_width : 'Largeur', +box_height : 'Hauteur', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Identique pour tous', +top : 'Haut', +right : 'Droite', +bottom : 'Bas', +left : 'Gauche', +margin : 'Marge', +style : 'Style', +width : 'Largeur', +height : 'Hauteur', +color : 'Couleur', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibilit', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/style/langs/fr_ca.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/fr_ca.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/he.js b/phpgwapi/js/tiny_mce/plugins/style/langs/he.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/he.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/style/langs/hu.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/hu.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/is.js b/phpgwapi/js/tiny_mce/plugins/style/langs/is.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/is.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/it.js b/phpgwapi/js/tiny_mce/plugins/style/langs/it.js new file mode 100755 index 0000000000..3540c909c8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/it.js @@ -0,0 +1,60 @@ +// IT lang variables + +tinyMCE.addToLang('style',{ +title : 'Modifica stile CSS', +styleinfo_desc : 'Modifica stile CSS', +text_tab : 'Testo', +background_tab : 'Sfondo', +block_tab : 'Blocco', +box_tab : 'Box', +border_tab : 'Bordo', +list_tab : 'Lista', +positioning_tab : 'Posizionamento', +text_props : 'Testo', +text_font : 'Font', +text_size : 'Dimensione', +text_weight : 'Peso', +text_style : 'Stile', +text_variant : 'Variante', +text_lineheight : 'Altezza linea', +text_case : 'Caso', +text_color : 'Colore', +text_decoration : 'Decorazione', +background_color : 'Colore di sfondo', +background_image : 'Immagine di sfondo', +background_repeat : 'Ripeti', +background_attachment : 'Ancoraggio', +background_hpos : 'Posizione orizzontale', +background_vpos : 'Posizione verticale', +block_wordspacing : 'Spaziatura parole', +block_letterspacing : 'Spaziatura lettere', +block_vertical_alignment : 'Allineamento verticale', +block_text_align : 'Allineamento del testo', +block_text_indent : 'Indentazione del testo', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Larghezza', +box_height : 'Altezza', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Spaziatura interna', +same : 'Uguale per tutti', +top : 'Alto', +right : 'Destra', +bottom : 'Basso', +left : 'Sinistra', +margin : 'Margine esterno', +style : 'Stile', +width : 'Larghezza', +height : 'Altezza', +color : 'Colore', +list_type : 'Tipo', +bullet_image : 'Immagine punto elenco', +position : 'Posizionamento', +positioning_type : 'Tipo', +visibility : 'Visibilità', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Piazzamento', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ja-euc-jp.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ja-euc-jp.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ja.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ja.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_euc-jp.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_euc-jp.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_shift-jis.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_shift-jis.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_shift_jis.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_shift_jis.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_utf-8.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ja_utf-8.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ko.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ko.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/style/langs/nb.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/nb.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/style/langs/nl.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/nl.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/style/langs/nn.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/nn.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/style/langs/pl.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/pl.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/style/langs/pt.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/pt.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/style/langs/pt_br.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/pt_br.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ro.js new file mode 100755 index 0000000000..014a6b07d9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ro.js @@ -0,0 +1,66 @@ +// RO lang variables + +tinyMCE.addToLang('style',{ +title : 'Editare stil CSS', +styleinfo_desc : 'Editare stil CSS', +apply : 'Aplică', +text_tab : 'Text', +background_tab : 'Fundal', +block_tab : 'Bloc', +box_tab : 'Cutie', +border_tab : 'Chenar', +list_tab : 'Listă', +positioning_tab : 'Poziţionare', +text_props : 'Text', +text_font : 'Font', +text_size : 'Dimensiune', +text_weight : 'Greutate', +text_style : 'Stil', +text_variant : 'Variantă', +text_lineheight : 'Înălţime linie', +text_case : 'Minuscule/majuscule', +text_color : 'Culoare', +text_decoration : 'Decoraÿie', +text_overline : 'tăiat', +text_underline : 'subliniat', +text_striketrough : 'tăiat', +text_blink : 'clipeşte', +text_none : 'nimic', +background_color : 'Culoare fundal', +background_image : 'Imagine fundal', +background_repeat : 'Repetă', +background_attachment : 'Ataşament', +background_hpos : 'Poziÿia pa orizontală', +background_vpos : 'Poziţia pe verticală', +block_wordspacing : 'Spaţierea cuvintelor', +block_letterspacing : 'Spaţerea literelor', +block_vertical_alignment : 'Aliniere verticală', +block_text_align : 'Aliniere text', +block_text_indent : 'Indentare text', +block_whitespace : 'Spaţiu alb', +block_display : 'Afişare', +box_width : 'Lăţime', +box_height : 'Înălţime', +box_float : 'Plutitor', +box_clear : 'Curat', +padding : 'Umplere (padding)', +same : 'La fel peste tot', +top : 'Sus', +right : 'Dreapta', +bottom : 'Jos', +left : 'Stânga', +margin : 'Margine', +style : 'Stil', +width : 'Lăţime', +height : 'Înălţime', +color : 'Culoare', +list_type : 'Tip', +bullet_image : 'Imagine bullet', +position : 'Poziţia', +positioning_type : 'Tip', +visibility : 'Vizibilitate', +zindex : 'Z-index', +overflow : 'Depăşire (overflow)', +placement : 'Plasare', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ru.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ru.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ru_KOI8-R.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ru_KOI8-R.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/style/langs/ru_UTF-8.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/ru_UTF-8.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/si.js b/phpgwapi/js/tiny_mce/plugins/style/langs/si.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/si.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/style/langs/sk.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/sk.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/style/langs/sq.js new file mode 100755 index 0000000000..1609830ec1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/sq.js @@ -0,0 +1,60 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Ndrysho stilin CSS', +styleinfo_desc : 'Ndrysho stilin CSS', +text_tab : 'Teksti', +background_tab : 'Sfondi', +block_tab : 'Blloku', +box_tab : 'Kutia', +border_tab : 'Kufiri', +list_tab : 'Lista', +positioning_tab : 'Pozicionimi', +text_props : 'Teksti', +text_font : 'Fonti', +text_size : 'Madhesia', +text_weight : 'Tipi', +text_style : 'Stili', +text_variant : 'Varianti', +text_lineheight : 'Trashesia e linjes', +text_case : 'E madhe/vogel', +text_color : 'Ngjyra', +text_decoration : 'Dekorimi', +background_color : 'Ngjyra e sfondit', +background_image : 'Imazhi ne sfond', +background_repeat : 'Perserit', +background_attachment : 'Bashkangjitur', +background_hpos : 'Pozicioni horizontal', +background_vpos : 'Pozicioni vertikal', +block_wordspacing : 'Hapesira e fjaleve', +block_letterspacing : 'Hapesira e germave', +block_vertical_alignment : 'Dreitimi vertikal', +block_text_align : 'Drejtimi i tekstit', +block_text_indent : 'Hapesira e tekstit', +block_whitespace : 'Hpaseira e bardhe', +block_display : 'Pamja', +box_width : 'Gjersia', +box_height : 'Lartesia', +box_float : 'Noto', +box_clear : 'Bosh', +padding : 'Vend bosh', +same : 'Te gjithe njesoj', +top : 'Siper', +right : 'Djathtas', +bottom : 'Poshte', +left : 'Majtas', +margin : 'Buzet', +style : 'Stili', +width : 'Gjeresia', +height : 'Lartesia', +color : 'Ngjyra', +list_type : 'Tipi', +bullet_image : 'Imazhi i pikes', +position : 'Pozicioni', +positioning_type : 'Tipi', +visibility : 'Dukshmeria', +zindex : 'Indeksi-Z', +overflow : 'Mbiderdhje', +placement : 'Vendosja', +clip : 'Klipi' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/style/langs/sv.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/sv.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/th.js b/phpgwapi/js/tiny_mce/plugins/style/langs/th.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/th.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/style/langs/tr.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/tr.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/style/langs/tw.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/tw.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/style/langs/vi.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/vi.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_cn.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_cn.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_cn_utf8.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_tw.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_tw.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_tw_utf8.js new file mode 100755 index 0000000000..6bed70f72b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/langs/zh_tw_utf8.js @@ -0,0 +1,66 @@ +// UK lang variables + +tinyMCE.addToLang('style',{ +title : 'Edit CSS Style', +styleinfo_desc : 'Edit CSS Style', +apply : 'Apply', +text_tab : 'Text', +background_tab : 'Background', +block_tab : 'Block', +box_tab : 'Box', +border_tab : 'Border', +list_tab : 'List', +positioning_tab : 'Positioning', +text_props : 'Text', +text_font : 'Font', +text_size : 'Size', +text_weight : 'Weight', +text_style : 'Style', +text_variant : 'Variant', +text_lineheight : 'Line height', +text_case : 'Case', +text_color : 'Color', +text_decoration : 'Decoration', +text_overline : 'overline', +text_underline : 'underline', +text_striketrough : 'strikethrough', +text_blink : 'blink', +text_none : 'none', +background_color : 'Background color', +background_image : 'Background image', +background_repeat : 'Repeat', +background_attachment : 'Attachment', +background_hpos : 'Horizontal position', +background_vpos : 'Vertical position', +block_wordspacing : 'Word spacing', +block_letterspacing : 'Letter spacing', +block_vertical_alignment : 'Vertical alignment', +block_text_align : 'Text align', +block_text_indent : 'Text indent', +block_whitespace : 'Whitespace', +block_display : 'Display', +box_width : 'Width', +box_height : 'Height', +box_float : 'Float', +box_clear : 'Clear', +padding : 'Padding', +same : 'Same for all', +top : 'Top', +right : 'Right', +bottom : 'Bottom', +left : 'Left', +margin : 'Margin', +style : 'Style', +width : 'Width', +height : 'Height', +color : 'Color', +list_type : 'Type', +bullet_image : 'Bullet image', +position : 'Position', +positioning_type : 'Type', +visibility : 'Visibility', +zindex : 'Z-index', +overflow : 'Overflow', +placement : 'Placement', +clip : 'Clip' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/style/props.htm b/phpgwapi/js/tiny_mce/plugins/style/props.htm new file mode 100644 index 0000000000..cd27882361 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/props.htm @@ -0,0 +1,580 @@ + + + {$lang_style_title} + + + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
  +
+
+ +
+ + + +
+
+ +   +
+
+ +
+ + + + + +
 
+
{$lang_style_text_decoration} + + + + + + +
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
 
+
+ +
  +
+
+ +
  +
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
  +
+
+ +
  +
+
+ +
  +
+
+
+ +
+ + + + + + + + + + + + + + +
+ +
  +
+
   
+ +
  +
+
   
+
+
+ {$lang_style_padding} + + + + + + + + + + + + + + + + + + + + + + +
 
+ +
  +
+
+ +
  +
+
+ +
  +
+
+ +
  +
+
+
+
+
+
+ {$lang_style_margin} + + + + + + + + + + + + + + + + + + + + + + +
 
+ +
  +
+
+ +
  +
+
+ +
  +
+
+ +
  +
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  {$lang_style_style} {$lang_style_width} {$lang_style_color}
      
{$lang_style_top}   + + +
  +
+
  + + + + +
 
+
{$lang_style_right}   + + +
  +
+
  + + + + +
 
+
{$lang_style_bottom}   + + +
  +
+
  + + + + +
 
+
{$lang_style_left}   + + +
  +
+
  + + + + +
 
+
+
+ +
+ + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
   
+ +
  +
+
   
+ +
  +
+
   
+ +
+
+ {$lang_style_placement} + + + + + + + + + + + + + + + + + + + + + + +
 
{$lang_style_top} + +
  +
+
{$lang_style_right} + +
  +
+
{$lang_style_bottom} + +
  +
+
{$lang_style_left} + +
  +
+
+
+
+
+
+ {$lang_style_clip} + + + + + + + + + + + + + + + + + + + + + + +
 
{$lang_style_top} + +
  +
+
{$lang_style_right} + +
  +
+
{$lang_style_bottom} + +
  +
+
{$lang_style_left} + +
  +
+
+
+
+
+
+
+ +
+
+
+
 
+
+
+ +
+ +
+
+
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/style/readme.txt b/phpgwapi/js/tiny_mce/plugins/style/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/style/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/table/cell.htm b/phpgwapi/js/tiny_mce/plugins/table/cell.htm new file mode 100644 index 0000000000..7171d4faa6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/cell.htm @@ -0,0 +1,182 @@ + + + {$lang_table_cell_title} + + + + + + + + +
+ + +
+
+
+ {$lang_table_general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ +
+
+
+ +
+
+ {$lang_table_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + +
 
+
+ + + + + +
 
+
+ + + + + +
 
+
+
+
+
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/table/css/cell.css b/phpgwapi/js/tiny_mce/plugins/table/css/cell.css new file mode 100644 index 0000000000..a067ecdfed --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/css/cell.css @@ -0,0 +1,17 @@ +/* CSS file for cell dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} + +#class { + width: 150px; +} \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/table/css/row.css b/phpgwapi/js/tiny_mce/plugins/table/css/row.css new file mode 100644 index 0000000000..1f7755dafa --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/css/row.css @@ -0,0 +1,25 @@ +/* CSS file for row dialog in the table plugin */ + +.panel_wrapper div.current { + height: 200px; +} + +.advfield { + width: 200px; +} + +#action { + margin-bottom: 3px; +} + +#rowtype,#align,#valign,#class,#height { + width: 150px; +} + +#height { + width: 50px; +} + +.col2 { + padding-left: 20px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/table/css/table.css b/phpgwapi/js/tiny_mce/plugins/table/css/table.css new file mode 100644 index 0000000000..804f766eed --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/css/table.css @@ -0,0 +1,13 @@ +/* CSS file for table dialog in the table plugin */ + +.panel_wrapper div.current { + height: 220px; +} + +.advfield { + width: 200px; +} + +#class { + width: 150px; +} diff --git a/phpgwapi/js/tiny_mce/plugins/table/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/table/editor_plugin.js new file mode 100644 index 0000000000..2e0fd012b5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/editor_plugin.js @@ -0,0 +1 @@ +tinyMCE.importPluginLanguagePack('table','en,tr,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,nb,pl,pt,pt_br,sv,tw,zh_cn,fr,de,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},initInstance:function(inst){if(tinyMCE.isGecko){var doc=inst.getDoc();tinyMCE.addEvent(doc,"mouseup",TinyMCE_TablePlugin._mouseDownHandler);}inst.tableRowClipboard=null;},getControlHTML:function(control_name){var controls=new Array(['table','table.gif','lang_table_desc','mceInsertTable',true],['delete_col','table_delete_col.gif','lang_table_delete_col_desc','mceTableDeleteCol'],['delete_row','table_delete_row.gif','lang_table_delete_row_desc','mceTableDeleteRow'],['col_after','table_insert_col_after.gif','lang_table_col_after_desc','mceTableInsertColAfter'],['col_before','table_insert_col_before.gif','lang_table_col_before_desc','mceTableInsertColBefore'],['row_after','table_insert_row_after.gif','lang_table_row_after_desc','mceTableInsertRowAfter'],['row_before','table_insert_row_before.gif','lang_table_row_before_desc','mceTableInsertRowBefore'],['row_props','table_row_props.gif','lang_table_row_desc','mceTableRowProps',true],['cell_props','table_cell_props.gif','lang_table_cell_desc','mceTableCellProps',true],['split_cells','table_split_cells.gif','lang_table_split_cells_desc','mceTableSplitCells',true],['merge_cells','table_merge_cells.gif','lang_table_merge_cells_desc','mceTableMergeCells',true]);for(var i=0;i4?but[4]:false)+(but.length>5?', \''+but[5]+'\'':'')+');return false;';if(but[0]==control_name)return tinyMCE.getButtonHTML(control_name,but[2],'{$pluginurl}/images/'+but[1],but[3],(but.length>4?but[4]:false));}if(control_name=="tablecontrols"){var html="";html+=tinyMCE.getControlHTML("table");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_props");html+=tinyMCE.getControlHTML("cell_props");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_before");html+=tinyMCE.getControlHTML("row_after");html+=tinyMCE.getControlHTML("delete_row");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("col_before");html+=tinyMCE.getControlHTML("col_after");html+=tinyMCE.getControlHTML("delete_col");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("split_cells");html+=tinyMCE.getControlHTML("merge_cells");return html;}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceInsertTable":case"mceTableRowProps":case"mceTableCellProps":case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":case"mceTableDelete":var inst=tinyMCE.getInstanceById(editor_id);inst.execCommand('mceBeginUndoLevel');TinyMCE_TablePlugin._doExecCommand(editor_id,element,command,user_interface,value);inst.execCommand('mceEndUndoLevel');return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var colspan="1",rowspan="1";var inst=tinyMCE.getInstanceById(editor_id);tinyMCE.switchClass(editor_id+'_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_cell_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_split_cells','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonDisabled');if(tdElm=tinyMCE.getParentElement(node,"td,th")){tinyMCE.switchClass(editor_id+'_cell_props','mceButtonSelected');tinyMCE.switchClass(editor_id+'_row_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonNormal');colspan=tinyMCE.getAttrib(tdElm,"colspan");rowspan=tinyMCE.getAttrib(tdElm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;if(colspan!="1"||rowspan!="1")tinyMCE.switchClass(editor_id+'_split_cells','mceButtonNormal');}if(tinyMCE.getParentElement(node,"tr"))tinyMCE.switchClass(editor_id+'_row_props','mceButtonSelected');if(tinyMCE.getParentElement(node,"table")){tinyMCE.switchClass(editor_id+'_table','mceButtonSelected');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonNormal');}},_mouseDownHandler:function(e){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var focusElm=tinyMCE.selectedInstance.getFocusElement();if(elm.nodeName=="BODY"&&(focusElm.nodeName=="TD"||focusElm.nodeName=="TH"||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TD")||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TH"))){window.setTimeout(function(){var tableElm=tinyMCE.getParentElement(focusElm,"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);},10);}},_doExecCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var trElm=tinyMCE.getParentElement(focusElm,"tr");var tdElm=tinyMCE.getParentElement(focusElm,"td,th");var tableElm=tinyMCE.getParentElement(focusElm,"table");var doc=inst.contentWindow.document;var tableBorder=tableElm?tableElm.getAttribute("border"):"";if(trElm&&tdElm==null)tdElm=trElm.cells[0];function inArray(ar,v){for(var i=0;i0&&inArray(ar[i],v))return true;if(ar[i]==v)return true;}return false;}function makeTD(){var newTD=doc.createElement("td");newTD.innerHTML=" ";}function getColRowSpan(td){var colspan=tinyMCE.getAttrib(td,"colspan");var rowspan=tinyMCE.getAttrib(td,"rowspan");colspan=colspan==""?1:parseInt(colspan);rowspan=rowspan==""?1:parseInt(rowspan);return{colspan:colspan,rowspan:rowspan};}function getCellPos(grid,td){for(var y=0;y1){for(var i=x;i1)td.rowSpan=sd.rowspan+1;lastElm=td;}deleteMarked(tableElm);}}function prevElm(node,name){while((node=node.previousSibling)!=null){if(node.nodeName==name)return node;}return null;}function nextElm(node,names){var namesAr=names.split(',');while((node=node.nextSibling)!=null){for(var i=0;i1){do{var nexttd=nextElm(td,"TD,TH");if(td._delete)td.parentNode.removeChild(td);}while((td=nexttd)!=null);}}while((tr=next)!=null);}function addRows(td_elm,tr_elm,rowspan){td_elm.rowSpan=1;var trNext=nextElm(tr_elm,"TR");for(var i=1;i1){var newTD=cells[x].cloneNode(true);var sd=getColRowSpan(cells[x]);newTD.rowSpan=sd.rowspan-1;var nextTD=nextTR.cells[x];if(nextTD==null)nextTR.appendChild(newTD);else nextTR.insertBefore(newTD,nextTD);}}var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd.rowspan>1){tdElm.rowSpan=sd.rowspan-1;}else{trElm=tdElm.parentNode;if(trElm.parentNode)trElm._delete=true;}lastTDElm=tdElm;}}deleteMarked(tableElm);cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;inst.selection.selectNode(getCell(grid,cpos.rowindex,0),true,true);break;case"mceTableInsertColBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML=" ";newTD.rowSpan=tdElm.rowSpan;tdElm.parentNode.insertBefore(newTD,tdElm);}else tdElm.colSpan++;lastTDElm=tdElm;}}break;case"mceTableInsertColAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML=" ";newTD.rowSpan=tdElm.rowSpan;var nextTD=nextElm(tdElm,"TD,TH");if(nextTD==null)tdElm.parentNode.appendChild(newTD);else nextTD.parentNode.insertBefore(newTD,nextTD);}else tdElm.colSpan++;lastTDElm=tdElm;}}break;case"mceTableDeleteCol":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;if(grid.length>1&&grid[0].length<=1){tableElm.parentNode.removeChild(tableElm);return true;}for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']>1)tdElm.colSpan=sd['colspan']-1;else{if(tdElm.parentNode)tdElm.parentNode.removeChild(tdElm);}lastTDElm=tdElm;}}cpos.cellindex--;if(cpos.cellindex<0)cpos.cellindex=0;inst.selection.selectNode(getCell(grid,0,cpos.cellindex),true,true);break;case"mceTableSplitCells":if(!trElm||!tdElm)return true;var spandata=getColRowSpan(tdElm);var colspan=spandata["colspan"];var rowspan=spandata["rowspan"];if(colspan>1||rowspan>1){tdElm.colSpan=1;for(var i=1;i1)addRows(newTD,trElm,rowspan);}addRows(tdElm,trElm,rowspan);}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");break;case"mceTableMergeCells":var rows=new Array();var sel=inst.getSel();var grid=getTableGrid(tableElm);if(tinyMCE.isMSIE||sel.rangeCount==1){if(user_interface){var template=new Array();var sp=getColRowSpan(tdElm);template['file']='../../plugins/table/merge_cells.htm';template['width']=250;template['height']=105+(tinyMCE.isNS7?25:0);template['width']+=tinyMCE.getLang('lang_table_merge_cells_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_merge_cells_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:"update",numcols:sp.colspan,numrows:sp.rowspan});return true;}else{var numRows=parseInt(value['numrows']);var numCols=parseInt(value['numcols']);var cpos=getCellPos(grid,tdElm);if((""+numRows)=="NaN")numRows=1;if((""+numCols)=="NaN")numCols=1;var tRows=tableElm.rows;for(var y=cpos.rowindex;y0)rows[rows.length]=rowCells;}}}else{var cells=new Array();var sel=inst.getSel();var lastTR=null;var curRow=null;var x1=-1,y1=-1,x2,y2;if(sel.rangeCount<2)return true;for(var i=0;i0)rows[rows.length]=rowCells;}var curRow=new Array();var lastTR=null;for(var y=0;ycolSpan)colSpan=rowColSpan;lastRowSpan=-1;}var lastColSpan=-1;for(var x=0;xrowSpan)rowSpan=colRowSpan;lastColSpan=-1;}tdElm=rows[0][0];tdElm.rowSpan=rowSpan;tdElm.colSpan=colSpan;for(var y=0;y0))tdElm.innerHTML+=html;if(rows[y][x]!=tdElm&&!rows[y][x]._deleted){var cpos=getCellPos(grid,rows[y][x]);var tr=rows[y][x].parentNode;tr.removeChild(rows[y][x]);rows[y][x]._deleted=true;if(!tr.hasChildNodes()){tr.parentNode.removeChild(tr);var lastCell=null;for(var x=0;cellElm=getCell(grid,cpos.rowindex,x);x++){if(cellElm!=lastCell&&cellElm.rowSpan>1)cellElm.rowSpan--;lastCell=cellElm;}if(tdElm.rowSpan>1)tdElm.rowSpan--;}}}}break;}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);tinyMCE.triggerNodeChange();inst.repaint();}return true;}return false;}};tinyMCE.addPlugin("table",TinyMCE_TablePlugin); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/table/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/table/editor_plugin_src.js new file mode 100644 index 0000000000..4b512b42b4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/editor_plugin_src.js @@ -0,0 +1,1054 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.38 $ + * $Date: 2006/02/11 18:53:51 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +/* Import plugin specific language pack */ +tinyMCE.importPluginLanguagePack('table', 'en,tr,ar,cs,da,de,el,es,fi,fr_ca,hu,it,ja,ko,nl,nb,pl,pt,pt_br,sv,tw,zh_cn,fr,de,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,is,zh_tw,zh_tw_utf8,sk'); + +var TinyMCE_TablePlugin = { + getInfo : function() { + return { + longname : 'Tables', + author : 'Moxiecode Systems', + authorurl : 'http://tinymce.moxiecode.com', + infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html', + version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion + }; + }, + + initInstance : function(inst) { + if (tinyMCE.isGecko) { + var doc = inst.getDoc(); + tinyMCE.addEvent(doc, "mouseup", TinyMCE_TablePlugin._mouseDownHandler); + } + + inst.tableRowClipboard = null; + }, + + /** + * Returns the HTML contents of the table control. + */ + getControlHTML : function(control_name) { + var controls = new Array( + ['table', 'table.gif', 'lang_table_desc', 'mceInsertTable', true], + ['delete_col', 'table_delete_col.gif', 'lang_table_delete_col_desc', 'mceTableDeleteCol'], + ['delete_row', 'table_delete_row.gif', 'lang_table_delete_row_desc', 'mceTableDeleteRow'], + ['col_after', 'table_insert_col_after.gif', 'lang_table_col_after_desc', 'mceTableInsertColAfter'], + ['col_before', 'table_insert_col_before.gif', 'lang_table_col_before_desc', 'mceTableInsertColBefore'], + ['row_after', 'table_insert_row_after.gif', 'lang_table_row_after_desc', 'mceTableInsertRowAfter'], + ['row_before', 'table_insert_row_before.gif', 'lang_table_row_before_desc', 'mceTableInsertRowBefore'], + ['row_props', 'table_row_props.gif', 'lang_table_row_desc', 'mceTableRowProps', true], + ['cell_props', 'table_cell_props.gif', 'lang_table_cell_desc', 'mceTableCellProps', true], + ['split_cells', 'table_split_cells.gif', 'lang_table_split_cells_desc', 'mceTableSplitCells', true], + ['merge_cells', 'table_merge_cells.gif', 'lang_table_merge_cells_desc', 'mceTableMergeCells', true]); + + // Render table control + for (var i=0; i 4 ? but[4] : false) + (but.length > 5 ? ', \'' + but[5] + '\'' : '') + ');return false;'; + + if (but[0] == control_name) + return tinyMCE.getButtonHTML(control_name, but[2], '{$pluginurl}/images/'+ but[1], but[3], (but.length > 4 ? but[4] : false)); + } + + // Special tablecontrols + if (control_name == "tablecontrols") { + var html = ""; + + html += tinyMCE.getControlHTML("table"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("row_props"); + html += tinyMCE.getControlHTML("cell_props"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("row_before"); + html += tinyMCE.getControlHTML("row_after"); + html += tinyMCE.getControlHTML("delete_row"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("col_before"); + html += tinyMCE.getControlHTML("col_after"); + html += tinyMCE.getControlHTML("delete_col"); + html += tinyMCE.getControlHTML("separator"); + html += tinyMCE.getControlHTML("split_cells"); + html += tinyMCE.getControlHTML("merge_cells"); + + return html; + } + + return ""; + }, + + /** + * Executes the table commands. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Is table command + switch (command) { + case "mceInsertTable": + case "mceTableRowProps": + case "mceTableCellProps": + case "mceTableSplitCells": + case "mceTableMergeCells": + case "mceTableInsertRowBefore": + case "mceTableInsertRowAfter": + case "mceTableDeleteRow": + case "mceTableInsertColBefore": + case "mceTableInsertColAfter": + case "mceTableDeleteCol": + case "mceTableCutRow": + case "mceTableCopyRow": + case "mceTablePasteRowBefore": + case "mceTablePasteRowAfter": + case "mceTableDelete": + var inst = tinyMCE.getInstanceById(editor_id); + + inst.execCommand('mceBeginUndoLevel'); + TinyMCE_TablePlugin._doExecCommand(editor_id, element, command, user_interface, value); + inst.execCommand('mceEndUndoLevel'); + + return true; + } + + // Pass to next handler in chain + return false; + }, + + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) { + var colspan = "1", rowspan = "1"; + + var inst = tinyMCE.getInstanceById(editor_id); + + // Reset table controls + tinyMCE.switchClass(editor_id + '_table', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_row_props', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_cell_props', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_row_before', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_row_after', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_delete_row', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_col_before', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_col_after', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_delete_col', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_split_cells', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_merge_cells', 'mceButtonDisabled'); + + // Within a td element + if (tdElm = tinyMCE.getParentElement(node, "td,th")) { + tinyMCE.switchClass(editor_id + '_cell_props', 'mceButtonSelected'); + tinyMCE.switchClass(editor_id + '_row_before', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_row_after', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_delete_row', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_col_before', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_col_after', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_delete_col', 'mceButtonNormal'); + + colspan = tinyMCE.getAttrib(tdElm, "colspan"); + rowspan = tinyMCE.getAttrib(tdElm, "rowspan"); + + colspan = colspan == "" ? "1" : colspan; + rowspan = rowspan == "" ? "1" : rowspan; + + if (colspan != "1" || rowspan != "1") + tinyMCE.switchClass(editor_id + '_split_cells', 'mceButtonNormal'); + } + + // Within a tr element + if (tinyMCE.getParentElement(node, "tr")) + tinyMCE.switchClass(editor_id + '_row_props', 'mceButtonSelected'); + + // Within table + if (tinyMCE.getParentElement(node, "table")) { + tinyMCE.switchClass(editor_id + '_table', 'mceButtonSelected'); + tinyMCE.switchClass(editor_id + '_merge_cells', 'mceButtonNormal'); + } + }, + + // Private plugin internal methods + + _mouseDownHandler : function(e) { + var elm = tinyMCE.isMSIE ? event.srcElement : e.target; + var focusElm = tinyMCE.selectedInstance.getFocusElement(); + + // If press on special Mozilla create TD/TR thingie + if (elm.nodeName == "BODY" && (focusElm.nodeName == "TD" || focusElm.nodeName == "TH" || (focusElm.parentNode && focusElm.parentNode.nodeName == "TD") ||(focusElm.parentNode && focusElm.parentNode.nodeName == "TH") )) { + window.setTimeout(function() { + var tableElm = tinyMCE.getParentElement(focusElm, "table"); + tinyMCE.handleVisualAid(tableElm, true, tinyMCE.settings['visual'], tinyMCE.selectedInstance); + }, 10); + } + }, + + /** + * Executes the table commands. + */ + _doExecCommand : function(editor_id, element, command, user_interface, value) { + var inst = tinyMCE.getInstanceById(editor_id); + var focusElm = inst.getFocusElement(); + var trElm = tinyMCE.getParentElement(focusElm, "tr"); + var tdElm = tinyMCE.getParentElement(focusElm, "td,th"); + var tableElm = tinyMCE.getParentElement(focusElm, "table"); + var doc = inst.contentWindow.document; + var tableBorder = tableElm ? tableElm.getAttribute("border") : ""; + + // Get first TD if no TD found + if (trElm && tdElm == null) + tdElm = trElm.cells[0]; + + // ------- Inner functions --------- + function inArray(ar, v) { + for (var i=0; i 0 && inArray(ar[i], v)) + return true; + + // Found value + if (ar[i] == v) + return true; + } + + return false; + } + + function makeTD() { + var newTD = doc.createElement("td"); + newTD.innerHTML = " "; + } + + function getColRowSpan(td) { + var colspan = tinyMCE.getAttrib(td, "colspan"); + var rowspan = tinyMCE.getAttrib(td, "rowspan"); + + colspan = colspan == "" ? 1 : parseInt(colspan); + rowspan = rowspan == "" ? 1 : parseInt(rowspan); + + return {colspan : colspan, rowspan : rowspan}; + } + + function getCellPos(grid, td) { + for (var y=0; y 1) { // Remove due to colspan + for (var i=x; i 1) + td.rowSpan = sd.rowspan + 1; + + lastElm = td; + } + + deleteMarked(tableElm); + } + } + + function prevElm(node, name) { + while ((node = node.previousSibling) != null) { + if (node.nodeName == name) + return node; + } + + return null; + } + + function nextElm(node, names) { + var namesAr = names.split(','); + + while ((node = node.nextSibling) != null) { + for (var i=0; i 1) { + do { + var nexttd = nextElm(td, "TD,TH"); + + if (td._delete) + td.parentNode.removeChild(td); + } while ((td = nexttd) != null); + } + } while ((tr = next) != null); + } + + function addRows(td_elm, tr_elm, rowspan) { + // Add rows + td_elm.rowSpan = 1; + var trNext = nextElm(tr_elm, "TR"); + for (var i=1; i 1) { + var newTD = cells[x].cloneNode(true); + var sd = getColRowSpan(cells[x]); + + newTD.rowSpan = sd.rowspan - 1; + + var nextTD = nextTR.cells[x]; + + if (nextTD == null) + nextTR.appendChild(newTD); + else + nextTR.insertBefore(newTD, nextTD); + } + } + + // Delete cells + var lastTDElm = null; + for (var x=0; tdElm = getCell(grid, cpos.rowindex, x); x++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd.rowspan > 1) { + tdElm.rowSpan = sd.rowspan - 1; + } else { + trElm = tdElm.parentNode; + + if (trElm.parentNode) + trElm._delete = true; + } + + lastTDElm = tdElm; + } + } + + deleteMarked(tableElm); + + cpos.rowindex--; + if (cpos.rowindex < 0) + cpos.rowindex = 0; + + inst.selection.selectNode(getCell(grid, cpos.rowindex, 0), true, true); + break; + + case "mceTableInsertColBefore": + if (!trElm || !tdElm) + return true; + + var grid = getTableGrid(tableElm); + var cpos = getCellPos(grid, tdElm); + var lastTDElm = null; + + for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd['colspan'] == 1) { + var newTD = doc.createElement(tdElm.nodeName); + + newTD.innerHTML = " "; + newTD.rowSpan = tdElm.rowSpan; + + tdElm.parentNode.insertBefore(newTD, tdElm); + } else + tdElm.colSpan++; + + lastTDElm = tdElm; + } + } + break; + + case "mceTableInsertColAfter": + if (!trElm || !tdElm) + return true; + + var grid = getTableGrid(tableElm); + var cpos = getCellPos(grid, tdElm); + var lastTDElm = null; + + for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd['colspan'] == 1) { + var newTD = doc.createElement(tdElm.nodeName); + + newTD.innerHTML = " "; + newTD.rowSpan = tdElm.rowSpan; + + var nextTD = nextElm(tdElm, "TD,TH"); + if (nextTD == null) + tdElm.parentNode.appendChild(newTD); + else + nextTD.parentNode.insertBefore(newTD, nextTD); + } else + tdElm.colSpan++; + + lastTDElm = tdElm; + } + } + break; + + case "mceTableDeleteCol": + if (!trElm || !tdElm) + return true; + + var grid = getTableGrid(tableElm); + var cpos = getCellPos(grid, tdElm); + var lastTDElm = null; + + // Only one col, remove whole table + if (grid.length > 1 && grid[0].length <= 1) { + tableElm.parentNode.removeChild(tableElm); + return true; + } + + // Delete cells + for (var y=0; tdElm = getCell(grid, y, cpos.cellindex); y++) { + if (tdElm != lastTDElm) { + var sd = getColRowSpan(tdElm); + + if (sd['colspan'] > 1) + tdElm.colSpan = sd['colspan'] - 1; + else { + if (tdElm.parentNode) + tdElm.parentNode.removeChild(tdElm); + } + + lastTDElm = tdElm; + } + } + + cpos.cellindex--; + if (cpos.cellindex < 0) + cpos.cellindex = 0; + + inst.selection.selectNode(getCell(grid, 0, cpos.cellindex), true, true); + break; + + case "mceTableSplitCells": + if (!trElm || !tdElm) + return true; + + var spandata = getColRowSpan(tdElm); + + var colspan = spandata["colspan"]; + var rowspan = spandata["rowspan"]; + + // Needs splitting + if (colspan > 1 || rowspan > 1) { + // Generate cols + tdElm.colSpan = 1; + for (var i=1; i 1) + addRows(newTD, trElm, rowspan); + } + + addRows(tdElm, trElm, rowspan); + } + + // Apply visual aids + tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + break; + + case "mceTableMergeCells": + var rows = new Array(); + var sel = inst.getSel(); + var grid = getTableGrid(tableElm); + + if (tinyMCE.isMSIE || sel.rangeCount == 1) { + if (user_interface) { + // Setup template + var template = new Array(); + var sp = getColRowSpan(tdElm); + + template['file'] = '../../plugins/table/merge_cells.htm'; + template['width'] = 250; + template['height'] = 105 + (tinyMCE.isNS7 ? 25 : 0); + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_table_merge_cells_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_table_merge_cells_delta_height', 0); + + // Open window + tinyMCE.openWindow(template, {editor_id : inst.editorId, inline : "yes", action : "update", numcols : sp.colspan, numrows : sp.rowspan}); + + return true; + } else { + var numRows = parseInt(value['numrows']); + var numCols = parseInt(value['numcols']); + var cpos = getCellPos(grid, tdElm); + + if (("" + numRows) == "NaN") + numRows = 1; + + if (("" + numCols) == "NaN") + numCols = 1; + + // Get rows and cells + var tRows = tableElm.rows; + for (var y=cpos.rowindex; y 0) + rows[rows.length] = rowCells; + } + + //return true; + } + } else { + var cells = new Array(); + var sel = inst.getSel(); + var lastTR = null; + var curRow = null; + var x1 = -1, y1 = -1, x2, y2; + + // Only one cell selected, whats the point? + if (sel.rangeCount < 2) + return true; + + // Get all selected cells + for (var i=0; i 0) + rows[rows.length] = rowCells; + } + + // Find selected cells in grid and box + var curRow = new Array(); + var lastTR = null; + for (var y=0; y colSpan) + colSpan = rowColSpan; + + lastRowSpan = -1; + } + + // Validate vertical and get total rowspan + var lastColSpan = -1; + for (var x=0; x rowSpan) + rowSpan = colRowSpan; + + lastColSpan = -1; + } + + // Setup td + tdElm = rows[0][0]; + tdElm.rowSpan = rowSpan; + tdElm.colSpan = colSpan; + + // Merge cells + for (var y=0; y 0)) + tdElm.innerHTML += html; + + // Not current cell + if (rows[y][x] != tdElm && !rows[y][x]._deleted) { + var cpos = getCellPos(grid, rows[y][x]); + var tr = rows[y][x].parentNode; + + tr.removeChild(rows[y][x]); + rows[y][x]._deleted = true; + + // Empty TR, remove it + if (!tr.hasChildNodes()) { + tr.parentNode.removeChild(tr); + + var lastCell = null; + for (var x=0; cellElm = getCell(grid, cpos.rowindex, x); x++) { + if (cellElm != lastCell && cellElm.rowSpan > 1) + cellElm.rowSpan--; + + lastCell = cellElm; + } + + if (tdElm.rowSpan > 1) + tdElm.rowSpan--; + } + } + } + } + + break; + } + + tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + tinyMCE.handleVisualAid(tableElm, true, tinyMCE.settings['visual'], tinyMCE.selectedInstance); + tinyMCE.triggerNodeChange(); + inst.repaint(); + } + + return true; + } + + // Pass to next handler in chain + return false; + } +}; + +tinyMCE.addPlugin("table", TinyMCE_TablePlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/buttons.gif b/phpgwapi/js/tiny_mce/plugins/table/images/buttons.gif new file mode 100644 index 0000000000..bfc1568bec Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/buttons.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table.gif new file mode 100644 index 0000000000..2911830c3c Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_cell_props.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_cell_props.gif new file mode 100644 index 0000000000..bee7ed652f Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_cell_props.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_delete.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_delete.gif new file mode 100644 index 0000000000..2a00e6ad66 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_delete.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_delete_col.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_delete_col.gif new file mode 100644 index 0000000000..91f53af02a Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_delete_col.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_delete_row.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_delete_row.gif new file mode 100644 index 0000000000..7025733fe3 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_delete_row.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_col_after.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_col_after.gif new file mode 100644 index 0000000000..85058080ca Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_col_after.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_col_before.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_col_before.gif new file mode 100644 index 0000000000..b669d4fa6d Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_col_before.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_row_after.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_row_after.gif new file mode 100644 index 0000000000..b9c1446613 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_row_after.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_row_before.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_row_before.gif new file mode 100644 index 0000000000..157d373654 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_insert_row_before.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_merge_cells.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_merge_cells.gif new file mode 100644 index 0000000000..6834e611ed Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_merge_cells.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_row_props.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_row_props.gif new file mode 100644 index 0000000000..e5c7cc37aa Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_row_props.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/images/table_split_cells.gif b/phpgwapi/js/tiny_mce/plugins/table/images/table_split_cells.gif new file mode 100644 index 0000000000..8ccb1b5f89 Binary files /dev/null and b/phpgwapi/js/tiny_mce/plugins/table/images/table_split_cells.gif differ diff --git a/phpgwapi/js/tiny_mce/plugins/table/jscripts/cell.js b/phpgwapi/js/tiny_mce/plugins/table/jscripts/cell.js new file mode 100644 index 0000000000..436eaad171 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/jscripts/cell.js @@ -0,0 +1,249 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor') + + var inst = tinyMCE.selectedInstance; + var tdElm = tinyMCE.getParentElement(inst.getFocusElement(), "td,th"); + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(tinyMCE.getAttrib(tdElm, "style")); + + // Get table cell data + var celltype = tdElm.nodeName.toLowerCase(); + var align = tinyMCE.getAttrib(tdElm, 'align'); + var valign = tinyMCE.getAttrib(tdElm, 'valign'); + var width = trimSize(getStyle(tdElm, 'width', 'width')); + var height = trimSize(getStyle(tdElm, 'height', 'height')); + var bordercolor = convertRGBToHex(getStyle(tdElm, 'bordercolor', 'borderLeftColor')); + var bgcolor = convertRGBToHex(getStyle(tdElm, 'bgcolor', 'backgroundColor')); + var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(tdElm, 'class'), false); + var backgroundimage = getStyle(tdElm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");; + var id = tinyMCE.getAttrib(tdElm, 'id'); + var lang = tinyMCE.getAttrib(tdElm, 'lang'); + var dir = tinyMCE.getAttrib(tdElm, 'dir'); + var scope = tinyMCE.getAttrib(tdElm, 'scope'); + + // Setup form + addClassesToList('class', 'table_cell_styles'); + formObj.bordercolor.value = bordercolor; + formObj.bgcolor.value = bgcolor; + formObj.backgroundimage.value = backgroundimage; + formObj.width.value = width; + formObj.height.value = height; + formObj.id.value = id; + formObj.lang.value = lang; + formObj.style.value = tinyMCE.serializeStyle(st); + selectByValue(formObj, 'align', align); + selectByValue(formObj, 'valign', valign); + selectByValue(formObj, 'class', className); + selectByValue(formObj, 'celltype', celltype); + selectByValue(formObj, 'dir', dir); + selectByValue(formObj, 'scope', scope); + + // Resize some elements + if (isVisible('backgroundimagebrowser')) + document.getElementById('backgroundimage').style.width = '180px'; + + updateColor('bordercolor_pick', 'bordercolor'); + updateColor('bgcolor_pick', 'bgcolor'); +} + +function updateAction() { + tinyMCEPopup.restoreSelection(); + + var inst = tinyMCE.selectedInstance; + var tdElm = tinyMCE.getParentElement(inst.getFocusElement(), "td,th"); + var trElm = tinyMCE.getParentElement(inst.getFocusElement(), "tr"); + var tableElm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + var formObj = document.forms[0]; + + inst.execCommand('mceBeginUndoLevel'); + + switch (getSelectValue(formObj, 'action')) { + case "cell": + var celltype = getSelectValue(formObj, 'celltype'); + var scope = getSelectValue(formObj, 'scope'); + + if (tinyMCE.getParam("accessibility_warnings")) { + if (celltype == "th" && scope == "") + var answer = confirm(tinyMCE.getLang('lang_table_missing_scope', '', true)); + else + var answer = true; + + if (!answer) + return; + } + + updateCell(tdElm); + break; + + case "row": + var cell = trElm.firstChild; + + if (cell.nodeName != "TD" && cell.nodeName != "TH") + cell = nextCell(cell); + + do { + cell = updateCell(cell, true); + } while ((cell = nextCell(cell)) != null); + + break; + + case "all": + var rows = tableElm.getElementsByTagName("tr"); + + for (var i=0; i colLimit) { + alert(tinyMCE.getLang('lang_table_col_limit', '', true, {cols : colLimit})); + return false; + } else if (rowLimit && rows > rowLimit) { + alert(tinyMCE.getLang('lang_table_row_limit', '', true, {rows : rowLimit})); + return false; + } else if (cellLimit && cols * rows > cellLimit) { + alert(tinyMCE.getLang('lang_table_cell_limit', '', true, {cells : cellLimit})); + return false; + } + + // Update table + if (action == "update") { + inst.execCommand('mceBeginUndoLevel'); + + tinyMCE.setAttrib(elm, 'cellPadding', cellpadding, true); + tinyMCE.setAttrib(elm, 'cellSpacing', cellspacing, true); + tinyMCE.setAttrib(elm, 'border', border, true); + tinyMCE.setAttrib(elm, 'align', align); + tinyMCE.setAttrib(elm, 'class', className); + tinyMCE.setAttrib(elm, 'style', style); + tinyMCE.setAttrib(elm, 'id', id); + tinyMCE.setAttrib(elm, 'summary', summary); + tinyMCE.setAttrib(elm, 'dir', dir); + tinyMCE.setAttrib(elm, 'lang', lang); + + // Not inline styles + if (!tinyMCE.getParam("inline_styles")) + tinyMCE.setAttrib(elm, 'width', width, true); + + // Remove these since they are not valid XHTML + tinyMCE.setAttrib(elm, 'borderColor', ''); + tinyMCE.setAttrib(elm, 'bgColor', ''); + tinyMCE.setAttrib(elm, 'background', ''); + tinyMCE.setAttrib(elm, 'height', ''); + + if (background != '') + elm.style.backgroundImage = "url('" + background + "')"; + else + elm.style.backgroundImage = ''; + + if (tinyMCE.getParam("inline_styles")) + elm.style.borderWidth = border + "px"; + + if (tinyMCE.getParam("inline_styles")) { + if (width != '') + elm.style.width = getCSSSize(width); + } + + if (bordercolor != "") { + elm.style.borderColor = bordercolor; + elm.style.borderStyle = elm.style.borderStyle == "" ? "solid" : elm.style.borderStyle; + elm.style.borderWidth = border == "" ? "1px" : border; + } else + elm.style.borderColor = ''; + + elm.style.backgroundColor = bgcolor; + elm.style.height = getCSSSize(height); + + tinyMCE.handleVisualAid(tinyMCE.tableElm, false, inst.visualAid, inst); + + // Fix for stange MSIE align bug + tinyMCE.tableElm.outerHTML = tinyMCE.tableElm.outerHTML; + + tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst); + tinyMCE.triggerNodeChange(); + inst.execCommand('mceEndUndoLevel'); + + // Repaint if dimensions changed + if (formObj.width.value != orgTableWidth || formObj.height.value != orgTableHeight) + inst.repaint(); + + tinyMCEPopup.close(); + return true; + } + + // Create new table + html += '/g, '>'); + + return ' ' + attrib + '="' + value + '"'; +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table'); + document.getElementById('bordercolor_pickcontainer').innerHTML = getColorPickerHTML('bordercolor_pick','bordercolor'); + document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); + + var cols = 2, rows = 2, border = 0, cellpadding = "", cellspacing = ""; + var align = "", width = "", height = "", bordercolor = "", bgcolor = "", className = ""; + var id = "", summary = "", style = "", dir = "", lang = "", background = "", bgcolor = "", bordercolor = ""; + var inst = tinyMCE.selectedInstance; + var formObj = document.forms[0]; + var elm = tinyMCE.getParentElement(inst.getFocusElement(), "table"); + + tinyMCE.tableElm = elm; + action = tinyMCE.getWindowArg('action'); + if (action == null) + action = tinyMCE.tableElm ? "update" : "insert"; + + if (tinyMCE.tableElm && action != "insert") { + var rowsAr = tinyMCE.tableElm.rows; + var cols = 0; + for (var i=0; i cols) + cols = rowsAr[i].cells.length; + + cols = cols; + rows = rowsAr.length; + + st = tinyMCE.parseStyle(tinyMCE.getAttrib(tinyMCE.tableElm, "style")); + border = trimSize(getStyle(elm, 'border', 'borderWidth')); + cellpadding = tinyMCE.getAttrib(tinyMCE.tableElm, 'cellpadding', ""); + cellspacing = tinyMCE.getAttrib(tinyMCE.tableElm, 'cellspacing', ""); + width = trimSize(getStyle(elm, 'width', 'width')); + height = trimSize(getStyle(elm, 'height', 'height')); + bordercolor = convertRGBToHex(getStyle(elm, 'bordercolor', 'borderLeftColor')); + bgcolor = convertRGBToHex(getStyle(elm, 'bgcolor', 'backgroundColor')); + align = tinyMCE.getAttrib(tinyMCE.tableElm, 'align', align); + className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(tinyMCE.tableElm, 'class'), false); + id = tinyMCE.getAttrib(tinyMCE.tableElm, 'id'); + summary = tinyMCE.getAttrib(tinyMCE.tableElm, 'summary'); + style = tinyMCE.serializeStyle(st); + dir = tinyMCE.getAttrib(tinyMCE.tableElm, 'dir'); + lang = tinyMCE.getAttrib(tinyMCE.tableElm, 'lang'); + background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + + orgTableWidth = width; + orgTableHeight = height; + + action = "update"; + } + + addClassesToList('class', "table_styles"); + + // Update form + selectByValue(formObj, 'align', align); + selectByValue(formObj, 'class', className); + formObj.cols.value = cols; + formObj.rows.value = rows; + formObj.border.value = border; + formObj.cellpadding.value = cellpadding; + formObj.cellspacing.value = cellspacing; + formObj.width.value = width; + formObj.height.value = height; + formObj.bordercolor.value = bordercolor; + formObj.bgcolor.value = bgcolor; + formObj.id.value = id; + formObj.summary.value = summary; + formObj.style.value = style; + formObj.dir.value = dir; + formObj.lang.value = lang; + formObj.backgroundimage.value = background; + formObj.insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); + + updateColor('bordercolor_pick', 'bordercolor'); + updateColor('bgcolor_pick', 'bgcolor'); + + // Resize some elements + if (isVisible('backgroundimagebrowser')) + document.getElementById('backgroundimage').style.width = '180px'; + + // Disable some fields in update mode + if (action == "update") { + formObj.cols.disabled = true; + formObj.rows.disabled = true; + } +} + +function changedSize() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + var width = formObj.width.value; + if (width != "") + st['width'] = tinyMCE.getParam("inline_styles") ? getCSSSize(width) : ""; + else + st['width'] = ""; + + var height = formObj.height.value; + if (height != "") + st['height'] = getCSSSize(height); + else + st['height'] = ""; + + formObj.style.value = tinyMCE.serializeStyle(st); +} + +function changedBackgroundImage() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + st['background-image'] = "url('" + formObj.backgroundimage.value + "')"; + + formObj.style.value = tinyMCE.serializeStyle(st); +} + +function changedBorder() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + // Update border width if the element has a color + if (formObj.border.value != "" && formObj.bordercolor.value != "") + st['border-width'] = formObj.border.value + "px"; + + formObj.style.value = tinyMCE.serializeStyle(st); +} + +function changedColor() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + st['background-color'] = formObj.bgcolor.value; + + if (formObj.bordercolor.value != "") { + st['border-color'] = formObj.bordercolor.value; + + // Add border-width if it's missing + if (!st['border-width']) + st['border-width'] = formObj.border.value == "" ? "1px" : formObj.border.value + "px"; + } + + formObj.style.value = tinyMCE.serializeStyle(st); +} + +function changedStyle() { + var formObj = document.forms[0]; + var st = tinyMCE.parseStyle(formObj.style.value); + + if (st['background-image']) + formObj.backgroundimage.value = st['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); + else + formObj.backgroundimage.value = ''; + + if (st['width']) + formObj.width.value = trimSize(st['width']); + + if (st['height']) + formObj.height.value = trimSize(st['height']); + + if (st['background-color']) { + formObj.bgcolor.value = st['background-color']; + updateColor('bgcolor_pick','bgcolor'); + } + + if (st['border-color']) { + formObj.bordercolor.value = st['border-color']; + updateColor('bordercolor_pick','bordercolor'); + } +} diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ar.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ar.js new file mode 100644 index 0000000000..478ece66f6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ar.js @@ -0,0 +1,43 @@ +// Arabic lang variables + +tinyMCE.addToLang('',{ +table_desc : 'إدراج/تحرير جدول', +table_insert_row_before_desc : 'Insert row before', +table_insert_row_after_desc : 'Insert row after', +table_delete_row_desc : 'حذف صفوف', +table_insert_col_before_desc : 'Insert column before', +table_insert_col_after_desc : 'Insert column after', +table_delete_col_desc : 'حذف أعمدة', +insert_table_title : 'إدراج/تحرير جدول', +insert_table_width : 'العرض', +insert_table_height : 'الارتفاع', +insert_table_cols : 'أعمدة', +insert_table_rows : 'صفوف', +insert_table_cellspacing : 'تباعد الخلايا', +insert_table_cellpadding : 'المسافة البادئة', +insert_table_border : 'سمك الحدود', +insert_table_align : 'المحاذاة', +insert_table_align_default : 'Default', +insert_table_align_left : 'يسار', +insert_table_align_right : 'يمين', +insert_table_align_middle : 'وسط', +insert_table_class : 'Class', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ca.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ca.js new file mode 100755 index 0000000000..108d6afb13 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ca.js @@ -0,0 +1,78 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Advanced', +general_props : 'General properties', +advanced_props : 'Advanced properties', +desc : 'Inserts a new table', +row_before_desc : 'Insert row before', +row_after_desc : 'Insert row after', +delete_row_desc : 'Delete row', +col_before_desc : 'Insert column before', +col_after_desc : 'Insert column after', +delete_col_desc : 'Remove column', +rowtype : 'Row in table part', +title : 'Insert/Modify table', +width : 'Width', +height : 'Height', +cols : 'Columns', +rows : 'Rows', +cellspacing : 'Cellspacing', +cellpadding : 'Cellpadding', +border : 'Border', +align : 'Alignment', +align_default : 'Default', +align_left : 'Left', +align_right : 'Right', +align_middle : 'Center', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.', +row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.', +cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/cs.js b/phpgwapi/js/tiny_mce/plugins/table/langs/cs.js new file mode 100755 index 0000000000..5110230643 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/cs.js @@ -0,0 +1,82 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * @author Michi + * + * $Id: cs.js,v 1.12 2006/02/23 13:02:37 spocke Exp $ + */ + +tinyMCE.addToLang('table',{ +general_tab : 'Obecné', +advanced_tab : 'Pokročilé', +general_props : 'Obecné vlastnosti', +advanced_props : 'Pokročilé vlastnosti', +desc : 'Vložit novou tabulku', +row_before_desc : 'Vložit řádek před', +row_after_desc : 'Vložit řádek za', +delete_row_desc : 'Smazat řádek', +col_before_desc : 'Vložit sloupec před', +col_after_desc : 'VLožit sloupec za', +delete_col_desc : 'Smazat sloupec', +rowtype : 'Řádek v tabulce', +title : 'Vložit/Modifikovat tabulku', +width : 'Šířka', +height : 'Výška', +cols : 'Sloupce', +rows : 'Řádky', +cellspacing : 'Mezera mezi buňkami', +cellpadding : 'Výplň buněk', +border : 'Rámeček', +align : 'Zarovnání', +align_default : 'Automatické', +align_left : 'Vlevo', +align_right : 'Vpravo', +align_middle : 'Na střed', +row_title : 'Vlastnosti řádku', +cell_title : 'Vlastnosti buňky', +cell_type : 'Typ buňky', +row_desc : 'Vlastnosti řádku', +cell_desc : 'Vlastnosti buňky', +valign : 'Vertikální zarovnání', +align_top : 'Nahoru', +align_bottom : 'Dolů', +props_desc : 'Vlastnosti tabulky', +bordercolor : 'Barva rámečku', +bgcolor : 'Barva pozadí', +merge_cells_title : 'Sloučit buňky', +split_cells_desc : 'Rozdělit buňky', +merge_cells_desc : 'Sloučit buňky', +cut_row_desc : 'Vyjmout řádek', +copy_row_desc : 'Kopírovat řádek', +paste_row_before_desc : 'Vložit řádek před', +paste_row_after_desc : 'Vložit řádek za', +id : 'Id', +style: 'Styl', +langdir : 'Směr textu', +langcode : 'Kód jazyka', +mime : 'Cílový MIME typ', +ltr : 'Z leva doprava', +rtl : 'Z prava doleva', +bgimage : 'Obrázek pozadí', +summary : 'Obsah', +td : "Data", +th : "Hlavička", +cell_cell : 'Aktualizovat současnou buňku', +cell_row : 'Aktualizovat všechny buňky v řádku', +cell_all : 'Aktualizovat všechny buňky v tabulce', +row_row : 'Aktualizovat současný řádek', +row_odd : 'Aktualizovat liché řádky tabulky', +row_even : 'Aktualizovat sudé řádky v tabulce', +row_all : 'Aktualizovat všechny řádky v tabulce', +thead : 'Hlavička tabulky', +tbody : 'Tělo tabulky', +tfoot : 'Patička tabulky', +del : 'Smazat tabulku', +scope : 'Scope', +row : 'Řádek', +col : 'Sloupec', +rowgroup : 'Skupina řádků', +colgroup : 'Skupina sloupců', +missing_scope: 'Jste si jistý(á), že chcete pokračovat bez vyplnění rozsahu pro tuto buňku tabulky? Bez něj může být težké handicapovaným uživatelům porozumět obsahu nebo datům obsažených v tabulce.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/cy.js b/phpgwapi/js/tiny_mce/plugins/table/langs/cy.js new file mode 100644 index 0000000000..8b54687ef7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/cy.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Cyffredinol', +advanced_tab : 'Uwch', +general_props : 'Priodoleddau cyffredinol', +advanced_props : 'Priodoleddau uwch', +desc : 'Mewnosod tabl newydd', +row_before_desc : 'Mewnosod rhes cyn', +row_after_desc : 'Mewnosod rhes ar ôl', +delete_row_desc : 'Dileu rhes', +col_before_desc : 'Mewnosod colofn cyn', +col_after_desc : 'Mewnosod colofn ar ôl', +delete_col_desc : 'Dileu colofn', +rowtype : 'Rhan tabl y rhes', +title : 'Mewnosod/golygu tabl', +width : 'Lled', +height : 'Uchder', +cols : 'Colofnau', +rows : 'Rhesi', +cellspacing : 'Bylchu celloedd', +cellpadding : 'Padio celliodd', +border : 'Ffin', +align : 'Unioni', +align_default : 'Arferol', +align_left : 'Chwith', +align_right : 'Dde', +align_middle : 'Canol', +row_title : 'Priodoleddau rhes tabl', +cell_title : 'Priodoleddau cell tabl', +cell_type : 'Math cell', +row_desc : 'Priodoleddau rhes tabl', +cell_desc : 'Priodoleddau cell tabl', +valign : 'Unioni fertigol', +align_top : 'Brig', +align_bottom : 'Gwaelod', +props_desc : 'Priodoleddau tabl', +bordercolor : 'Lliw ffin', +bgcolor : 'Lliw cefndir', +merge_cells_title : 'Uno celloedd tabl', +split_cells_desc : 'Rhannu celloedd tabl', +merge_cells_desc : 'Uno celloedd tabl', +cut_row_desc : 'Torri rhes tabl', +copy_row_desc : 'Copïo rhes tabl', +paste_row_before_desc : 'Gludo rhes tabl cyn', +paste_row_after_desc : 'Gludo rhes tabl ar ôl', +id : 'Id', +style: 'Arddull', +langdir : 'Cyfeiriad iaith', +langcode : 'Côd iaith', +mime : 'Math MIME y targed', +ltr : 'Chwith i\'r dde', +rtl : 'Dde i\'r chwith', +bgimage : 'Delwedd cefndir', +summary : 'Crynodeb', +td : "Data", +th : "Pennawd", +cell_cell : 'Diweddaru\'r gell bresennoll', +cell_row : 'Diweddaru holl gelloedd y rhes', +cell_all : 'Diweddaru holl gelloedd y tabl', +row_row : 'Diweddaru\'r rhes presennol', +row_odd : 'Diweddaru rhesi odrif y tabl', +row_even : 'Diweddaru rhesi eilrif y tabl', +row_all : 'Diweddaru holl rhesi\'r tabl', +thead : 'Pennawd Tabl', +tbody : 'Corff Tabl', +tfoot : 'Troedyn Tabl', +del : 'Dileu tabl', +scope : 'Maes', +row : 'Rhes', +col : 'Colofn', +rowgroup : 'Grŵp Rhesi', +colgroup : 'Grŵp Colofnau', +missing_scope: 'Wyt ti\'n sicr eisiau parhau heb gynnwys maes ar gyfer y cell pennawd tabl hwn? Heb un, gallai fod yn anodd i rai defnyddwyr gydag anableddau ddeall cynnwys neu ddata y tabl.', +cellprops_delta_width : 50 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/da.js b/phpgwapi/js/tiny_mce/plugins/table/langs/da.js new file mode 100644 index 0000000000..5f06f10a16 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/da.js @@ -0,0 +1,76 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('table',{ +general_tab : 'Generelt', +advanced_tab : 'Avanceret', +general_props : 'Generelle egenskaber', +advanced_props : 'Avancerede egenskaber', +desc : 'Indsætter ny tabel', +row_before_desc : 'Indsæt række foran', +row_after_desc : 'Indsæt række efter', +delete_row_desc : 'Slet række', +col_before_desc : 'Indsæt kolonne foran', +col_after_desc : 'Indsæt kolonner efter', +delete_col_desc : 'Fjern kolonne', +rowtype : 'Række i tabeldelen', +title : 'Indsæt eller rediger tabel', +width : 'Bredde', +height : 'Højde', +cols : 'Kolonner', +rows : 'Rækker', +cellspacing : 'Cellemargin', +cellpadding : 'Indvendig margin', +border : 'Kant', +align : 'Justering', +align_default : 'Standard', +align_left : 'Venstre', +align_right : 'Højre', +align_middle : 'Centreret', +row_title : 'Rækkeegenskaber', +cell_title : 'Celleegenskaber', +cell_type : 'Celletype', +row_desc : 'Rækkeegenskaber', +cell_desc : 'Celleegenskaber', +valign : 'Vertikal justering', +align_top : 'Top', +align_bottom : 'Bund', +props_desc : 'Tabelegenskaber', +bordercolor : 'Kantfarve', +bgcolor : 'Baggrundsfarve', +merge_cells_title : 'Flet celler', +split_cells_desc : 'Del celler', +merge_cells_desc : 'Flet celler', +cut_row_desc : 'Del kolonne', +copy_row_desc : 'Kopier kolonne', +paste_row_before_desc : 'Indsæt kolonne foran', +paste_row_after_desc : 'Indsæt kolonne efter', +id : 'Tabel id', +style: 'Style', +langdir : 'Tekstretning', +langcode : 'Sprogkode', +mime : 'Target MIME type', +ltr : 'Venstre til højre', +rtl : 'Højre til venstre', +bgimage : 'Baggrundsbillede', +summary : 'Opsummering', +td : "Data", +th : "Overskrift", +cell_cell : 'Opdater aktuel celle', +cell_row : 'Opdater alle celler i kolonnen', +cell_all : 'Opdater alle celler i tabellen', +row_row : 'Opdater aktuel kolonne', +row_odd : 'Opdater ulige kolonner i tabellen', +row_even : 'Opdater lige kolonner i tabellen', +row_all : 'Opdater alle kolonner i tabellen', +thead : 'Tabeloverskrift', +tbody : 'Tabelindhold', +tfoot : 'Tabelfodnote', +del : 'Slet tabel', +scope : 'Område', +row : 'Række', +col : 'Kolonne', +rowgroup : 'Flere rækker', +colgroup : 'Flere kolonner', +missing_scope: 'Er du sikker på at du vil fortsætte uden at angive et område for denne celle overskrift. Hvis du undlader den, kan det være svært for nogle brugere at forstå indholdet i tabellen.', +cellprops_delta_width : 30 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/de.js b/phpgwapi/js/tiny_mce/plugins/table/langs/de.js new file mode 100755 index 0000000000..5465f4a24d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/de.js @@ -0,0 +1,76 @@ +// DE lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Allgemein', +advanced_tab : 'Erweitert', +general_props : 'Allgemeine Eigenschaften', +advanced_props : 'Erweiterte Eigenschaften', +desc : 'Neue Tabelle einfügen', +row_before_desc : 'Zeile oberhalb einfügen', +row_after_desc : 'Zeile unterhalb einfügen', +delete_row_desc : 'Zeile löschen', +col_before_desc : 'Spalte nach links einfügen', +col_after_desc : 'Spalte nach rechts einfügen', +delete_col_desc : 'Spalte löschen', +rowtype : 'Zeile in Tabellen-Teil', +title : 'Tabelle hinzufügen/bearbeiten', +width : 'Breite', +height : 'Höhe', +cols : 'Spalten', +rows : 'Zeilen', +cellspacing : 'Zellenabstand', +cellpadding : 'Zellenauffüllung', +border : 'Rahmen', +align : 'Ausrichtung', +align_default : 'Standard', +align_left : 'Links', +align_right : 'Rechts', +align_middle : 'Zentriert', +row_title : 'Zeileneigenschaften', +cell_title : 'Zelleneigenschaften', +cell_type : 'Zellentyp', +row_desc : 'Zeileneigenschaften', +cell_desc : 'Zelleneigenschaften', +valign : 'Vertikale Ausrichtung', +align_top : 'Oben', +align_bottom : 'Unten', +props_desc : 'Tabelleneigenschaften', +bordercolor : 'Rahmenfarbe', +bgcolor : 'Hintergrundfarbe', +merge_cells_title : 'Zellen zusammenfügen', +split_cells_desc : 'Zelle teilen', +merge_cells_desc : 'Zellen zusammenfügen', +cut_row_desc : 'Zeile ausschneiden', +copy_row_desc : 'Zeile kopieren', +paste_row_before_desc : 'Zeile oberhalb einfügen', +paste_row_after_desc : 'Zeile unterhalb einfügen', +id : 'ID', +style: 'CSS-Stil', +langdir : 'Sprachrichtung', +langcode : 'Sprachcode', +mime : 'MIME-Typ', +ltr : 'Von links nach rechts', +rtl : 'Von rechts nach links', +bgimage : 'Hintergrundfarbe', +summary : 'Zusammenfassung', +td : "Daten", +th : "Kopfzeile", +cell_cell : 'Diese Zelle aktualisieren', +cell_row : 'Alle Zellen in dieser Zeile aktualisieren', +cell_all : 'Alle Zellen in dieser Tabelle aktualisieren', +row_row : 'Diese Zeile aktualisieren', +row_odd : 'Ungerade Zeilen aktualisieren', +row_even : 'Gerade Zeilen aktualisieren', +row_all : 'Alle Zeilen in dieser Tabelle aktualisieren', +thead : 'Tabellenkopf', +tbody : 'Tabellenkörper', +tfoot : 'Tabellenfuß', +del : 'Tabelle löschen', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +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.', +table_delta_width : 45 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/el.js b/phpgwapi/js/tiny_mce/plugins/table/langs/el.js new file mode 100755 index 0000000000..2f4743feec --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/el.js @@ -0,0 +1,44 @@ +// Greek lang variables by Jacaranda Bill +// Revised by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +table_desc : ' ', +table_insert_row_before_desc : ' ', +table_insert_row_after_desc : ' ', +table_delete_row_desc : ' ', +table_insert_col_before_desc : ' ', +table_insert_col_after_desc : ' ', +table_delete_col_desc : ' ', +insert_table_title : '/ ', +insert_table_width : '', +insert_table_height : '', +insert_table_cols : '', +insert_table_rows : '', +insert_table_cellspacing : '', +insert_table_cellpadding : '', +insert_table_border : '', +insert_table_align : '', +insert_table_align_default : '.', +insert_table_align_left : '', +insert_table_align_right : '', +insert_table_align_middle : ' ', +insert_table_class : '', +table_row_title : ' ', +table_cell_title : ' ', +table_row_desc : ' ', +table_cell_desc : ' ', +insert_table_valign : ' ', +insert_table_align_top : '', +insert_table_align_bottom : '', +table_props_desc : ' ', +table_bordercolor : ' ', +table_bgcolor : ' bg', +table_merge_cells_title : ' ', +table_split_cells_desc : ' ', +table_merge_cells_desc : ' ', +table_cut_row_desc : ' ', +table_copy_row_desc : ' ', +table_paste_row_before_desc : ' ', +table_paste_row_after_desc : ' ', +table_insert_desc : ' ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/en.js b/phpgwapi/js/tiny_mce/plugins/table/langs/en.js new file mode 100644 index 0000000000..108d6afb13 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/en.js @@ -0,0 +1,78 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Advanced', +general_props : 'General properties', +advanced_props : 'Advanced properties', +desc : 'Inserts a new table', +row_before_desc : 'Insert row before', +row_after_desc : 'Insert row after', +delete_row_desc : 'Delete row', +col_before_desc : 'Insert column before', +col_after_desc : 'Insert column after', +delete_col_desc : 'Remove column', +rowtype : 'Row in table part', +title : 'Insert/Modify table', +width : 'Width', +height : 'Height', +cols : 'Columns', +rows : 'Rows', +cellspacing : 'Cellspacing', +cellpadding : 'Cellpadding', +border : 'Border', +align : 'Alignment', +align_default : 'Default', +align_left : 'Left', +align_right : 'Right', +align_middle : 'Center', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.', +row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.', +cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/es.js b/phpgwapi/js/tiny_mce/plugins/table/langs/es.js new file mode 100755 index 0000000000..c0baeac81d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/es.js @@ -0,0 +1,85 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Avanzado', +general_props : 'Propiedades generales', +advanced_props : 'Propiedades avanzadas', +desc : 'Insertar/Modificar tabla', +row_before_desc : 'Insertar una fila antes', +row_after_desc : 'Insert una fila después', +delete_row_desc : 'Eliminar fila', +col_before_desc : 'Insertar una columna antes', +col_after_desc : 'Insertar una columna después', +delete_col_desc : 'Eliminar columna', +rowtype : 'File en parte de tabla', +title : 'Insertar/Modificar tabla', +width : 'Ancho', +height : 'ALto', +cols : 'Columnas', +rows : 'Filas', +cellspacing : 'Espacio entre celdas', +cellpadding : 'Borde interior de las celdas', +border : 'Borde', +align : 'Alineación horizontal', +align_default : 'Defecto', +align_left : 'Izquierda', +align_right : 'Derecha', +align_middle : 'Centrado', +row_title : 'Propiedades de la fila', +cell_title : 'Propiedades de la celda', +cell_type : 'Tipo de celda', +row_desc : 'Propiedades de la fila', +cell_desc : 'Propiedades de la celda', +valign : 'Alineación vertical', +align_top : 'Arriba', +align_bottom : 'Abajo', +props_desc : 'Propiedades de la tabla', +bordercolor : 'Color del borde', +bgcolor : 'Color del fondo', +merge_cells_title : 'Combinar celdas', +split_cells_desc : 'Dividir celdas', +merge_cells_desc : 'Combinar celdas', +cut_row_desc : 'Cortar fila', +copy_row_desc : 'Copiar fila', +paste_row_before_desc : 'Pegar fila antes', +paste_row_after_desc : 'Pegar fila después', +id : 'Id', +style: 'Estilo', +langdir : 'Dirección del texto', +langcode : 'Código del idioma', +mime : 'Tipo MIME del target', +ltr : 'De izquierda a derecha', +rtl : 'De derecha a izquierda', +bgimage : 'Imagen de fondo', +summary : 'Resumen', +td : "Datos", +th : "Cabecera", +cell_cell : 'Actualizar la celda actual', +cell_row : 'Actualizar todas las celdas de la fila', +cell_all : 'Actualizar todas las celdas de la tabla', +row_row : 'Actualizar la fila actual', +row_odd : 'Actualizar las filas impares de la tabla', +row_even : 'Actualizar las filas pares de la tabla', +row_all : 'Actualizar todas las filas de la tabla', +thead : 'Cabecera de la tabla', +tbody : 'Cuerpo de la tabla', +tfoot : 'Pie de la tabla', +del : 'Eliminar tabla', +scope : 'Alcance', +row : 'Fila', +col : 'Columna', +rowgroup : 'Grupo de filas', +colgroup : 'Grupo de columnas', +missing_scope: '¿Estás seguro que quieres continuar sin especificar el alcance para esta celda de tipo cabecera? Sin ello, puede dificultar a algunos usuarios con discapacidades el poder entender el contenido o los datos mostrados en la tabla.', +cellprops_delta_width : 55 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/fa.js b/phpgwapi/js/tiny_mce/plugins/table/langs/fa.js new file mode 100644 index 0000000000..101519fc4d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/fa.js @@ -0,0 +1,47 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +table_desc : '??? ???? ????', +table_insert_row_before_desc : '??? ??? ???? ??? ?? ??? ????', +table_insert_row_after_desc : '??? ??? ???? ?? ?? ??? ????', +table_delete_row_desc : '??? ???', +table_insert_col_before_desc : '??? ???? ???? ??? ?? ???? ????', +table_insert_col_after_desc : '??? ???? ???? ?? ?? ???? ????', +table_delete_col_desc : '??? ????', +insert_table_title : '??? ? ?????? ????', +insert_table_width : '???', +insert_table_height : '??????', +insert_table_cols : '????? ??????', +insert_table_rows : '????? ?????', +insert_table_cellspacing : '????? ?? ???? ????', +insert_table_cellpadding : '????? ??? ?? ?????? ????', +insert_table_border : '?????', +insert_table_align : '??? ???? ????', +insert_table_align_default : '??? ???', +insert_table_align_left : '??', +insert_table_align_right : '????', +insert_table_align_middle : '???', +insert_table_class : '????', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/fa_ca.js b/phpgwapi/js/tiny_mce/plugins/table/langs/fa_ca.js new file mode 100755 index 0000000000..108d6afb13 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/fa_ca.js @@ -0,0 +1,78 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Advanced', +general_props : 'General properties', +advanced_props : 'Advanced properties', +desc : 'Inserts a new table', +row_before_desc : 'Insert row before', +row_after_desc : 'Insert row after', +delete_row_desc : 'Delete row', +col_before_desc : 'Insert column before', +col_after_desc : 'Insert column after', +delete_col_desc : 'Remove column', +rowtype : 'Row in table part', +title : 'Insert/Modify table', +width : 'Width', +height : 'Height', +cols : 'Columns', +rows : 'Rows', +cellspacing : 'Cellspacing', +cellpadding : 'Cellpadding', +border : 'Border', +align : 'Alignment', +align_default : 'Default', +align_left : 'Left', +align_right : 'Right', +align_middle : 'Center', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.', +row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.', +cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/fi.js b/phpgwapi/js/tiny_mce/plugins/table/langs/fi.js new file mode 100755 index 0000000000..0707bdf9b3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/fi.js @@ -0,0 +1,77 @@ +// FI lang variables by Urho Konttori from Absolutions +// Updated by Tuomo Aura, Ateco.fi + +tinyMCE.addToLang('table',{ +general_tab : 'Yleiset', +advanced_tab : 'Edistyneemmät', +general_props : 'Yleisasetukset', +advanced_props : 'Edistyneemmät asetukset', +desc : 'Lisää uusi taulukko', +row_before_desc : 'Lisää rivi edelle', +row_after_desc : 'Lisää rivi jälkeen', +delete_row_desc : 'Poista rivi', +col_before_desc : 'Lisää sarake edelle', +col_after_desc : 'Lisää sarake jälkeen', +delete_col_desc : 'Poista sarake', +rowtype : 'Row in table part', +title : 'Lisää/Muokkaa taulukkoa', +width : 'Leveys', +height : 'Korkeus', +cols : 'Saraketta', +rows : 'Riviä', +cellspacing : 'Soluvlitys', +cellpadding : 'Solutyte', +border : 'Reuna', +align : 'Asettelu', +align_default : 'Oletus', +align_left : 'Vasen', +align_right : 'Oikea', +align_middle : 'Keskelle', +row_title : 'Rivin ominaisuudet', +cell_title : 'Sarakkeen ominaisuudet', +cell_type : 'Solun tyyppi', +row_desc : 'Rivin ominaisuudet', +cell_desc : 'Solun ominaisuudet', +valign : 'Pystysuora asettelu', +align_top : 'Yläreuna', +align_bottom : 'Alareuna', +props_desc : 'Taulukon ominaisuudet', +bordercolor : 'Reunan väri', +bgcolor : 'Taustaväri', +merge_cells_title : 'Yhdistä taulukon solut', +split_cells_desc : 'Erota taulukon solut', +merge_cells_desc : 'Yhdistä taulukon solut', +cut_row_desc : 'Leikkaa taulukon rivi', +copy_row_desc : 'Kopioi taulukon rivi', +paste_row_before_desc : 'Liitä taulukon rivi edelle', +paste_row_after_desc : 'Liitä taulukon rivi jälkeen', +id : 'Id', +style: 'Tyyli', +langdir : 'Kielen suunta', +langcode : 'Kielikoodi', +mime : 'Kohteen MIME-tyyppi', +ltr : 'Vasemmalta oikealle', +rtl : 'Oikealta vasemmalle', +bgimage : 'Taustakuva', +summary : 'Yhteenveto', +td : "Tieto", +th : "Otsikko", +cell_cell : 'Päivitä kyseinen solu', +cell_row : 'Päivitä kaikki solut rivissä', +cell_all : 'Päivitä kaikki solut taulukossa', +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 : 'Taulukon otsake (head)', +tbody : 'Taulukon runko (body)', +tfoot : 'Taulukon alaosa (foot)', +del : 'Poista taulukko', +scope : 'Scope-mrite', +row : 'Rivi', +col : 'Sarake', +rowgroup : 'Riviryhmä', +colgroup : 'Sarakeryhmä', +missing_scope: 'Oletko varma ett haluat jatkaa ilman ett olet mrittnyt scope-mritett tlle taulukon otsikolle? Scope-mritys auttaa ihmisi joilla on terveydellisi rajoitteita.', +cellprops_delta_width : 50 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/fr.js b/phpgwapi/js/tiny_mce/plugins/table/langs/fr.js new file mode 100755 index 0000000000..726fdc15be --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/fr.js @@ -0,0 +1,77 @@ +// 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', +delete_col_desc : 'Effacer la colonne', +rowtype : 'Type de rangée', +title : 'Gestionnaire de tableau', +width : 'Largeur', +height : 'Hauteur', +cols : 'Colonnes', +rows : 'Rangées', +cellspacing : 'Entre les cellules', +cellpadding : 'Marges intérieures', +border : 'Bordures', +align : 'Alignement horizontal', +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', +valign : 'Alignement vertical', +align_top : 'Haut', +align_bottom : 'Bas', +props_desc : 'Propriétés du tableau', +bordercolor : 'Couleur des bordures', +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 : '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', +langcode : 'Code de langue', +mime : 'Type MIME de la cible', +ltr : 'Vers la droite', +rtl : 'Vers la gauche', +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', +tbody : 'Corps', +tfoot : 'Pied', +del : 'Effacer le tableau', +scope : 'Attribut scope', +row : 'Rangée', +col : 'Colonne', +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\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 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/fr_ca.js b/phpgwapi/js/tiny_mce/plugins/table/langs/fr_ca.js new file mode 100755 index 0000000000..282034c050 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/fr_ca.js @@ -0,0 +1,43 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +table_desc : 'Insrer un nouveau tableau', +table_insert_row_before_desc : 'Insrer une ligne avant', +table_insert_row_after_desc : 'Insrer une ligne aprs', +table_delete_row_desc : 'Supprimer la ligne', +table_insert_col_before_desc : 'Insrer une colonne avant', +table_insert_col_after_desc : 'Insrer une colonne aprs', +table_delete_col_desc : 'Supprimer la colonne', +insert_table_title : 'Insrer/Modifier le tableau', +insert_table_width : 'Largeur', +insert_table_height : 'Hauteur', +insert_table_cols : 'Colonnes', +insert_table_rows : 'Lignes', +insert_table_cellspacing : 'Cellspacing', +insert_table_cellpadding : 'Cellpadding', +insert_table_border : 'Bordure', +insert_table_align : 'Alignement', +insert_table_align_default : 'Dfaut', +insert_table_align_left : 'Gauche', +insert_table_align_right : 'Droit', +insert_table_align_middle : 'Milieu', +insert_table_class_name : 'Classe CSS', +table_row_title : 'Proprits de ligne', +table_cell_title : 'Proprits de cellule', +table_row_desc : 'Proprits de ligne', +table_cell_desc : 'Proprits de cellule', +insert_table_valign : 'Alignement vertical', +insert_table_align_top : 'Haut', +insert_table_align_bottom : 'Bas', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/he.js b/phpgwapi/js/tiny_mce/plugins/table/langs/he.js new file mode 100755 index 0000000000..25336f5af7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/he.js @@ -0,0 +1,78 @@ +// HE lang variables + +tinyMCE.addToLang('table',{ +general_tab : '', +advanced_tab : '', +general_props : ' ', +advanced_props : ' ', +desc : ' ', +row_before_desc : ' ', +row_after_desc : ' ', +delete_row_desc : ' ', +col_before_desc : ' ', +col_after_desc : ' ', +delete_col_desc : ' ', +rowtype : ' ', +title : '/ ', +width : '', +height : '', +cols : '', +rows : '', +cellspacing : ' ', +cellpadding : ' ', +border : '', +align : '', +align_default : ' ', +align_left : '', +align_right : '', +align_middle : '', +row_title : ' ', +cell_title : ' ', +cell_type : ' ', +row_desc : ' ', +cell_desc : ' ', +valign : ' ', +align_top : '', +align_bottom : '', +props_desc : ' ', +bordercolor : ' ', +bgcolor : ' ', +merge_cells_title : ' ', +split_cells_desc : ' ', +merge_cells_desc : ' ', +cut_row_desc : ' ', +copy_row_desc : ' ', +paste_row_before_desc : ' ', +paste_row_after_desc : ' ', +id : 'Id', +style: '', +langdir : ' ', +langcode : ' ', +mime : ' MIME ', +ltr : ' ', +rtl : ' ', +bgimage : ' ', +summary : '', +td : "", +th : "", +cell_cell : ' ', +cell_row : ' ', +cell_all : ' ', +row_row : ' ', +row_odd : ' - ', +row_even : ' ', +row_all : ' ', +thead : ' ', +tbody : ' ', +tfoot : ' ', +del : ' ', +scope : '', +row : '', +col : '', +rowgroup : ' ', +colgroup : ' ', +col_limit : ' {$cols} .', +row_limit : ' {$rows} .', +cell_limit : ' {$cells} .', +missing_scope: ' ? , .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/hu.js b/phpgwapi/js/tiny_mce/plugins/table/langs/hu.js new file mode 100644 index 0000000000..a649eb72b0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/hu.js @@ -0,0 +1,75 @@ +// HU lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'ltalnos', +advanced_tab : 'Halad', +general_props : 'ltalnos belltsok', +advanced_props : 'Halad belltsok', +desc : 'j tblzat beszrsa', +row_before_desc : 'Sor beszrsa el', +row_after_desc : 'Sor beszrsa mg', +delete_row_desc : 'Sor trlse', +col_before_desc : 'Oszlop beszrsa el', +col_after_desc : 'Oszlop beszrsa mg', +delete_col_desc : 'Oszlop trlse', +rowtype : 'Sor a tblzatrszben', +title : 'Tblzat beszrsa/mdostsa', +width : 'Hosszsg', +height : 'Szlessg', +cols : 'Oszlopok', +rows : 'Sorok', +cellspacing : 'Cellakz', +cellpadding : 'Cellakitlts', +border : 'Keret', +align : 'Elhelyezkeds', +align_default : 'alaprtelmezett', +align_left : 'Bal', +align_right : 'Jobb', +align_middle : 'Kzp', +row_title : 'Tblzat sor tulajdonsgai', +cell_title : 'Tblzat cella tulajdonsgai', +cell_type : 'Cella tpus', +row_desc : 'Tblzat sor tulajdonsgai', +cell_desc : 'Tblzat cella tulajdonsgai', +valign : 'Fggleges elhelyezkeds', +align_top : 'Fell', +align_bottom : 'Alul', +props_desc : 'Tblzat tulajdonsgai', +bordercolor : 'Keret szn', +bgcolor : 'Httr szn', +merge_cells_title : 'Tbla cellinak egyestse', +split_cells_desc : 'Tbla cellinak felosztsa', +merge_cells_desc : 'Tbla cellinak egyestse', +cut_row_desc : 'Tblzat sor kivgsa', +copy_row_desc : 'Tblzat sor msolsa', +paste_row_before_desc : 'Tblzat sor beillesztse el', +paste_row_after_desc : 'Tblzat sor beillesztse mg', +id : 'Azonodt', +style: 'Stlus', +langdir : 'Szvegpozci', +langcode : 'Szveg kd', +mime : 'Cl MIME tpus', +ltr : 'Balrl jobbra', +rtl : 'Jobbrl balra', +bgimage : 'Httrkp', +summary : 'sszefoglal', +td : "Adat", +th : "Fejlc", +cell_cell : 'Aktulis cella frisstse', +cell_row : 'Minden cella frisstse a sorban', +cell_all : 'Minden cella frisstse a tblban', +row_row : 'Aktulis sor frisstse', +row_odd : 'Pratlan sorok frisstse a tblban', +row_even : 'pros sorok frisstse a tblban', +row_all : 'Minden sor frisstse a tblban', +thead : 'Tblzat fejlc', +tbody : 'Tblzat test', +tfoot : 'Tlzat lblc', +del : 'Tbla trlse', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/is.js b/phpgwapi/js/tiny_mce/plugins/table/langs/is.js new file mode 100644 index 0000000000..9b23d65c03 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/is.js @@ -0,0 +1,76 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('table',{ +general_tab : 'Almennt', +advanced_tab : 'Sértækt', +general_props : 'Almennar stillingar', +advanced_props : 'Sértækar stillingar', +desc : 'Setja inn nýja töflu', +row_before_desc : 'Bæta röð við fyrir framan', +row_after_desc : 'Bæta röð við fyrir aftan', +delete_row_desc : 'Eyða röð', +col_before_desc : 'Bæta dálk við fyrir framan', +col_after_desc : 'Bæta dálk við fyrir aftan', +delete_col_desc : 'Eyða dálki', +rowtype : 'Röð í töfluhluta', +title : 'Bæta við/breyta töflu', +width : 'Breidd', +height : 'Hæð', +cols : 'Dálkar', +rows : 'Raðir', +cellspacing : 'Reitabil', +cellpadding : 'Reitabólstrun', +border : 'Rammi', +align : 'Textastilling', +align_default : 'Sjálfgild', +align_left : 'Vinstri', +align_right : 'Hægri', +align_middle : 'Miðja', +row_title : 'Stillingar töfluraðar', +cell_title : 'Stillingar töfludálks', +cell_type : 'Reitartegund', +row_desc : 'Stillingar töfluraðar', +cell_desc : 'Stillingar töflureits', +valign : 'Lóðrétt stilling', +align_top : 'Efst', +align_bottom : 'Neðst', +props_desc : 'Stillingar töflu', +bordercolor : 'Rammalitur', +bgcolor : 'Bakgrunnslitur', +merge_cells_title : 'Sameina töflureiti', +split_cells_desc : 'Tvístra töflureitum', +merge_cells_desc : 'Sameina töflureiti', +cut_row_desc : 'Klippa töfluröð', +copy_row_desc : 'Afrita töfluröð', +paste_row_before_desc : 'Skeyta töfluröð fyrir ofan', +paste_row_after_desc : 'Skeyta töfluröð fyrir neðan', +id : 'Id', +style: 'Stíll', +langdir : 'Ritháttur tungumáls', +langcode : 'Tungumálskenni', +mime : 'MIME-tegund tengils', +ltr : 'Vinstri til hægri', +rtl : 'Hægri til vinstri', +bgimage : 'Bakgrunnsmynd', +summary : 'Samantekt', +td : "Gögn", +th : "Haus", +cell_cell : 'Uppfæra núverandi reit', +cell_row : 'Uppfæra alla reiti röðinni', +cell_all : 'Uppfæra alla reiti töflunnar', +row_row : 'Uppfæra núverandi röð', +row_odd : 'Uppfæra oddatöluraðir', +row_even : 'Uppfæra jafntöluraðir', +row_all : 'Uppfæra allar raðir', +thead : 'Haus töflu', +tbody : 'Meginmál töflu', +tfoot : 'Fótur töflu', +del : 'Eyða töflu', +scope : 'Gildissvið', +row : 'Röð', +col : 'Dálkur', +rowgroup : 'Raðahópur', +colgroup : 'Dálkahópur', +missing_scope: 'Viltu halda fram n ess a tilgreina gildissvi fyrir haus tflu? n ess gti a valdi sumum notendum, til dmis sjnskertum, vandkvum vi a skilja innihald tflunnar.', +cellprops_delta_width : 55 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/it.js b/phpgwapi/js/tiny_mce/plugins/table/langs/it.js new file mode 100755 index 0000000000..68ef487082 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/it.js @@ -0,0 +1,79 @@ +// IT lang variables + +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 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ja-euc-jp.js new file mode 100755 index 0000000000..108d6afb13 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ja-euc-jp.js @@ -0,0 +1,78 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Advanced', +general_props : 'General properties', +advanced_props : 'Advanced properties', +desc : 'Inserts a new table', +row_before_desc : 'Insert row before', +row_after_desc : 'Insert row after', +delete_row_desc : 'Delete row', +col_before_desc : 'Insert column before', +col_after_desc : 'Insert column after', +delete_col_desc : 'Remove column', +rowtype : 'Row in table part', +title : 'Insert/Modify table', +width : 'Width', +height : 'Height', +cols : 'Columns', +rows : 'Rows', +cellspacing : 'Cellspacing', +cellpadding : 'Cellpadding', +border : 'Border', +align : 'Alignment', +align_default : 'Default', +align_left : 'Left', +align_right : 'Right', +align_middle : 'Center', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.', +row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.', +cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ja.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ja.js new file mode 100644 index 0000000000..17e3088830 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ja.js @@ -0,0 +1,43 @@ +// JP lang variables + +tinyMCE.addToLang('',{ +table_desc : '$B%F!<%V%k(B', +table_insert_row_before_desc : '$B9TA^F~(B($BA0(B)', +table_insert_row_after_desc : '$B9TA^F~(B($B8e(B)', +table_delete_row_desc : '$B9T:o=|(B', +table_insert_col_before_desc : '$BNsA^F~(B($BA0(B)', +table_insert_col_after_desc : '$BNsA^F~(B($B8e(B)', +table_delete_col_desc : '$BNs:o=|(B', +insert_table_title : '$B%F!<%V%k$NA^F~(B/$BJT=8(B', +insert_table_cols : '$BNs?t(B', +insert_table_rows : '$B9T?t(B', +insert_table_cellspacing : '$B%;%kM>Gr(B', +insert_table_cellpadding : '$B%;%k5M$a(B', +insert_table_align : '$B0LCVD4@0(B', +insert_table_align_default : '$B0EL[(B', +insert_table_align_left : '$B:85M$a(B', +insert_table_align_right : '$B1&5M$a(B', +insert_table_align_middle : '$BCf1{4s$;(B', +insert_table_width : '$BI}(B', +insert_table_height : '$B9b$5(B', +insert_table_border : '$B6-3&@~(B', +insert_table_class : '$B%/%i%9(B', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_euc-jp.js new file mode 100755 index 0000000000..be2a7f8fa6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_euc-jp.js @@ -0,0 +1,75 @@ +// ܸ euc lang variables + +tinyMCE.addToLang('table',{ +general_tab : '', +advanced_tab : 'ܺ', +general_props : '̤Υץѥƥ', +advanced_props : 'ܺ٤Υץѥƥ', +desc : 'ơ֥', +row_before_desc : '˹Ԥ', +row_after_desc : '˹Ԥ', +delete_row_desc : 'Ԥ', +col_before_desc : '', +col_after_desc : '', +delete_col_desc : '', +rowtype : 'ơ֥ι', +title : 'ơ֥Խ', +width : '', +height : '⤵', +cols : '', +rows : 'Կ', +cellspacing : 'ֳ', +cellpadding : ';', +border : 'ܡ', +align : '·', +align_default : 'ʤ', +align_left : '', +align_right : '', +align_middle : '', +row_title : '', +cell_title : 'Υץѥƥ', +cell_type : 'Cell type', +row_desc : 'ԤΥץѥƥ', +cell_desc : 'Υץѥƥ', +valign : '岼·', +align_top : '', +align_bottom : '', +props_desc : 'ơ֥Υץѥƥ', +bordercolor : 'ܡ顼', +bgcolor : 'طʿ', +merge_cells_title : 'Υޡ', +split_cells_desc : 'ʬ', +merge_cells_desc : 'Υޡ', +cut_row_desc : 'Ԥڤȴ', +copy_row_desc : 'ԤŽդ', +paste_row_before_desc : '˹ԤŽդ', +paste_row_after_desc : '˹ԤŽդ', +id : 'ơ֥ ID', +style: '', +langdir : 'դθ', +langcode : 'դΥ', +mime : 'å MIME ', +ltr : '鱦', +rtl : '麸', +bgimage : 'طʥ᡼', +summary : '', +td : "ǡ", +th : "إå", +cell_cell : '򹹿', +cell_row : 'ιԤΥ򹹿', +cell_all : '򹹿', +row_row : 'Ԥ򹹿', +row_odd : 'ιԤ򹹿', +row_even : 'ιԤ򹹿', +row_all : 'Ԥ򹹿', +thead : 'إå', +tbody : 'ơ֥Body', +tfoot : 'եå', +del : 'ơ֥', +scope : '', +row : '', +col : '', +rowgroup : 'ԤΥ롼', +colgroup : 'Υ롼', +missing_scope: 'إåΥפꤷʤƤ⤤ǤפʤС㳲Ԥ򤷿ɤ⤷ޤ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_shift-jis.js new file mode 100755 index 0000000000..d0b5a7f088 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_shift-jis.js @@ -0,0 +1,75 @@ +// { shift-jis lang variables + +tinyMCE.addToLang('table',{ +general_tab : '', +advanced_tab : 'ڍ', +general_props : 'ʂ̃vpeB', +advanced_props : 'ڍׂ̃vpeB', +desc : 'e[u}', +row_before_desc : 'Oɍs}', +row_after_desc : 'ɍs}', +delete_row_desc : 's폜', +col_before_desc : 'Oɗ}', +col_after_desc : 'ɗ}', +delete_col_desc : '폜', +rowtype : 'e[u̍s', +title : 'e[u}EҏW', +width : '', +height : '', +cols : '', +rows : 's', +cellspacing : 'ZԊu', +cellpadding : 'Z]', +border : '{[_[', +align : 's', +align_default : 'wȂ', +align_left : '', +align_right : 'E', +align_middle : '', +row_title : 's', +cell_title : 'Z̃vpeB', +cell_type : 'Cell type', +row_desc : 's̃vpeB', +cell_desc : 'Z̃vpeB', +valign : '㉺', +align_top : '', +align_bottom : '', +props_desc : 'e[ũvpeB', +bordercolor : '{[_[J[', +bgcolor : 'wiF', +merge_cells_title : 'Z̃}[W', +split_cells_desc : 'Z̕', +merge_cells_desc : 'Z̃}[W', +cut_row_desc : 's؂蔲', +copy_row_desc : 's\t', +paste_row_before_desc : 'Oɍs\t', +paste_row_after_desc : 'ɍs\t', +id : 'e[u ID', +style: 'X^C', +langdir : 'ť', +langcode : 't̃R[h', +mime : '^[Qbg MIME ^Cv', +ltr : 'E', +rtl : 'E獶', +bgimage : 'wiC[W', +summary : 'v', +td : "f[^", +th : "wb_", +cell_cell : 'ZXV', +cell_row : '̍s̃ZXV', +cell_all : 'SZXV', +row_row : 'sXV', +row_odd : '̍sXV', +row_even : '̍sXV', +row_all : 'SsXV', +thead : 'wb_[', +tbody : 'e[uBody', +tfoot : 'tb^[', +del : 'e[u폜', +scope : 'XR[v', +row : 's', +col : '', +rowgroup : 's̃O[v', +colgroup : '̃O[v', +missing_scope: 'wb_[̃XR[vݒ肵ȂĂłBXR[vȂ΁AQ҂h܂B' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_shift_jis.js new file mode 100755 index 0000000000..108d6afb13 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_shift_jis.js @@ -0,0 +1,78 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Advanced', +general_props : 'General properties', +advanced_props : 'Advanced properties', +desc : 'Inserts a new table', +row_before_desc : 'Insert row before', +row_after_desc : 'Insert row after', +delete_row_desc : 'Delete row', +col_before_desc : 'Insert column before', +col_after_desc : 'Insert column after', +delete_col_desc : 'Remove column', +rowtype : 'Row in table part', +title : 'Insert/Modify table', +width : 'Width', +height : 'Height', +cols : 'Columns', +rows : 'Rows', +cellspacing : 'Cellspacing', +cellpadding : 'Cellpadding', +border : 'Border', +align : 'Alignment', +align_default : 'Default', +align_left : 'Left', +align_right : 'Right', +align_middle : 'Center', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.', +row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.', +cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_utf-8.js new file mode 100755 index 0000000000..d4de06301b --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ja_utf-8.js @@ -0,0 +1,75 @@ +// 日本語 utf-8 lang variables + +tinyMCE.addToLang('table',{ +general_tab : '一般', +advanced_tab : '詳細', +general_props : '一般のプロパティ', +advanced_props : '詳細のプロパティ', +desc : 'テーブルを挿入', +row_before_desc : '前に行を挿入', +row_after_desc : '後に行を挿入', +delete_row_desc : '行を削除', +col_before_desc : '前に列を挿入', +col_after_desc : '後に列を挿入', +delete_col_desc : '列を削除', +rowtype : 'テーブルの行', +title : 'テーブルを挿入・編集', +width : '幅', +height : '高さ', +cols : '列数', +rows : '行数', +cellspacing : 'セル間隔', +cellpadding : 'セル余白', +border : 'ボーダー', +align : '行揃え', +align_default : '指定なし', +align_left : '左', +align_right : '右', +align_middle : '中央', +row_title : '行', +cell_title : 'セルのプロパティ', +cell_type : 'Cell type', +row_desc : '行のプロパティ', +cell_desc : 'セルのプロパティ', +valign : '上下揃え', +align_top : '上', +align_bottom : '下', +props_desc : 'テーブルのプロパティ', +bordercolor : 'ボーダーカラー', +bgcolor : '背景色', +merge_cells_title : 'セルのマージ', +split_cells_desc : 'セルの分割', +merge_cells_desc : 'セルのマージ', +cut_row_desc : '行を切り抜き', +copy_row_desc : '行を貼り付け', +paste_row_before_desc : '前に行を貼り付け', +paste_row_after_desc : '後に行を貼り付け', +id : 'テーブル ID', +style: 'スタイル', +langdir : '言葉の向き', +langcode : '言葉のコード', +mime : 'ターゲット MIME タイプ', +ltr : '左から右へ', +rtl : '右から左へ', +bgimage : '背景イメージ', +summary : '要約', +td : "データ", +th : "ヘッダ", +cell_cell : 'セルを更新', +cell_row : 'この行のセルを更新', +cell_all : '全セルを更新', +row_row : '行を更新', +row_odd : '奇数の行を更新', +row_even : '偶数の行を更新', +row_all : '全行を更新', +thead : 'ヘッダー', +tbody : 'テーブルBody', +tfoot : 'フッター', +del : 'テーブルを削除', +scope : 'スコープ', +row : '行', +col : '列', +rowgroup : '行のグループ', +colgroup : '列のグループ', +missing_scope: 'ヘッダーのスコープを設定しなくてもいいですか。スコープがなければ、障害者が理解し辛いかもしれません。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ko.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ko.js new file mode 100644 index 0000000000..bd8b30e907 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ko.js @@ -0,0 +1,43 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +table_desc : 'ǥ Ö', +table_insert_row_before_desc : 'տ Ö', +table_insert_row_after_desc : 'ڿ Ö', +table_delete_row_desc : ' ö', +table_insert_col_before_desc : 'տ Ö', +table_insert_col_after_desc : 'ڿ Ö', +table_delete_col_desc : ' ö', +insert_table_title : 'ǥ Ö/Ä', +insert_table_width : 'ʺ', +insert_table_height : '', +insert_table_cols : '', +insert_table_rows : '', +insert_table_cellspacing : ' ', +insert_table_cellpadding : ' ', +insert_table_border : 'Å׵θ', +insert_table_align : 'Ä', +insert_table_align_default : '⺻', +insert_table_align_left : '', +insert_table_align_right : '', +insert_table_align_middle : '', +insert_table_class : 'Å', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/nb.js b/phpgwapi/js/tiny_mce/plugins/table/langs/nb.js new file mode 100644 index 0000000000..422017ea31 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/nb.js @@ -0,0 +1,75 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('table',{ +general_tab : 'Generelt', +advanced_tab : 'Avansert', +general_props : 'Generelle egenskaper', +advanced_props : 'Avanserte egenskaper', +desc : 'Opprett/endre tabell', +row_before_desc : 'Opprett rad foran', +row_after_desc : 'Opprett rad etter', +delete_row_desc : 'Fjern rad', +col_before_desc : 'Opprett kolonne foran', +col_after_desc : 'Opprett kolonne etter', +delete_col_desc : 'Fjern kolonne', +rowtype : 'Rad i tabell', +title : 'Opprett/endre tabell', +width : 'Bredde', +height : 'Høyde', +cols : 'Kolonner', +rows : 'Rader', +cellspacing : 'Celle mellomrom', +cellpadding : 'Celle fylling', +border : 'Rammebredde', +align : 'Justering', +align_default : 'Ingen', +align_left : 'Venstre', +align_right : 'Høyre', +align_middle : 'Midtstilt', +row_title : 'tabell rad egenskaper', +cell_title : 'tabell celle egenskaper', +cell_type : 'Celle type', +row_desc : 'tabell rad egenskaper', +cell_desc : 'tabell celle egenskaper', +valign : 'Vertikal justering', +align_top : 'Topp', +align_bottom : 'Bunn', +props_desc : 'tabell egenskaper', +bordercolor : 'Rammefarge', +bgcolor : 'Bakgrunnsfarge', +merge_cells_title : 'Slå sammen tabell celler', +split_cells_desc : 'Splitt tabell celler', +merge_cells_desc : 'Slå sammen tabell celler', +cut_row_desc : 'Fjern tabell rad', +copy_row_desc : 'Kopier tabell rad', +paste_row_before_desc : 'Lim inn tabell rad foran', +paste_row_after_desc : 'Lim inn tabell rad etter', +id : 'Id', +style: 'Stil', +langdir : 'Språk retning', +langcode : 'Språk kode', +mime : 'Målets MIME type', +ltr : 'Venstre mot høyre', +rtl : 'Høyre mot venstre', +bgimage : 'Bakgrunnsbilde', +summary : 'Sum', +td : "Data", +th : "Overskrift", +cell_cell : 'Oppdater valgt celle', +cell_row : 'Oppdater alle celler i raden', +cell_all : 'Oppdater alle celler i tabellen', +row_row : 'Oppdater valgt rad', +row_odd : 'Oppdater ulike rader i tabellen', +row_even : 'Oppdater like rader i tabellen', +row_all : 'Oppdater alle rader i tabellen', +thead : 'Tabell Hode', +tbody : 'Tabell Kropp', +tfoot : 'Tabell Fot', +del : 'Slett tabell', +scope : 'Hensikt', +row : 'Rad', +col : 'Kolonne', +rowgroup : 'Rad gruppe', +colgroup : 'Kolonne gruppe', +missing_scope: 'Er du sikker på at du vil fortsette uten å oppgi hensikten med denne tabellens hode celle.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/nl.js b/phpgwapi/js/tiny_mce/plugins/table/langs/nl.js new file mode 100644 index 0000000000..503388b66d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/nl.js @@ -0,0 +1,75 @@ +// NL lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Algemeen', +advanced_tab : 'Geavanceerd', +general_props : 'Algemene eigenschappen', +advanced_props : 'Geavanceerde eigenschappen', +desc : 'Nieuwe tabel invoegen', +row_before_desc : 'Rij boven invoegen', +row_after_desc : 'Rij onder invoegen', +delete_row_desc : 'Rij verwijderen', +col_before_desc : 'Kolom links invoegen', +col_after_desc : 'Kolom rechts invoegen', +delete_col_desc : 'Kolom verwijderen', +rowtype : 'Row in table part', +title : 'Tabel invoegen/bewerken', +width : 'Breedte', +height : 'Hoogte', +cols : 'Kolommen', +rows : 'Rijen', +cellspacing : 'Ruimte om cel', +cellpadding : 'Ruimte in cel', +border : 'Rand', +align : 'Uitlijning', +align_default : 'Standaard', +align_left : 'Links', +align_right : 'Rechts', +align_middle : 'Centreren', +row_title : 'Tabelrij-eigenschappen', +cell_title : 'Tabelcel-eigenschappen', +cell_type : 'Celtype', +row_desc : 'Tabelrij-eigenschappen', +cell_desc : 'Tabelcel-eigenschappen', +valign : 'Verticale uitlijning', +align_top : 'Boven', +align_bottom : 'Onder', +props_desc : 'Tabeleigenschappen', +bordercolor : 'Randkleur', +bgcolor : 'Achtergrondkleur', +merge_cells_title : 'Tabelcellen samenvoegen', +split_cells_desc : 'Tabelcellen splitsen', +merge_cells_desc : 'Tabelcellen samenvoegen', +cut_row_desc : 'Tabelrij knippen', +copy_row_desc : 'Tebelrij kopiëren', +paste_row_before_desc : 'Tabelrij boven plakken', +paste_row_after_desc : 'tabelrij onder plakken', +id : 'Id', +style: 'Stijl', +langdir : 'Taalrichting', +langcode : 'Taalcode', +mime : 'MIME type', +ltr : 'Links naar rechts', +rtl : 'Rechts naar links', +bgimage : 'Achtergrondafbeelding', +summary : 'Samenvatting', +td : "Data", +th : "Kop", +cell_cell : 'Huidige cel bijwerken', +cell_row : 'Alle cellen in rij bijwerken', +cell_all : 'Alle cellen in tabel bijwerken', +row_row : 'Huidige rij bijwerken', +row_odd : 'Oneven rijen in tabel bijwerken', +row_even : 'Even rijen in tabel bijwerken', +row_all : 'Alle rijen in tabel bijwerken', +thead : 'Tabel-kop', +tbody : 'Tabel-body', +tfoot : 'Tabel-voet', +del : 'Tabel verwijderen', +scope : 'Bereik', +row : 'Rij', +col : 'Kolom', +rowgroup : 'Rijgroep', +colgroup : 'Kolomgroep', +missing_scope: 'Zonder een bereik van een tabelkop, is het moeilijk voor mensen met een visuele handicap deze pagina te begrijpen. Weet u zeker dat u zonder bereik verder wilt gaan?' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/nn.js b/phpgwapi/js/tiny_mce/plugins/table/langs/nn.js new file mode 100644 index 0000000000..642ab23da3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/nn.js @@ -0,0 +1,76 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('table',{ +general_tab : 'Generelt', +advanced_tab : 'Avansert', +general_props : 'Generelle egenskaper', +advanced_props : 'Avanserte egenskaper', +desc : 'Opprett/endre tabell', +row_before_desc : 'Opprett rad foran', +row_after_desc : 'Opprett rad etter', +delete_row_desc : 'Fjern rad', +col_before_desc : 'Opprett kolonne foran', +col_after_desc : 'Opprett kolonne etter', +delete_col_desc : 'Fjern kolonne', +rowtype : 'Rad i tabell', +title : 'Opprett/endre tabell', +width : 'Bredde', +height : 'Høgde', +cols : 'Kolonner', +rows : 'Rader', +cellspacing : 'Celle mellomrom', +cellpadding : 'Celle fylling', +border : 'Rammebredde', +align : 'Justering', +align_default : 'Ingen', +align_left : 'Venstre', +align_right : 'Høgre', +align_middle : 'Midtstilt', +row_title : 'tabell rad egenskaper', +cell_title : 'tabell celle egenskaper', +cell_type : 'Celle type', +row_desc : 'tabell rad egenskaper', +cell_desc : 'tabell celle egenskaper', +valign : 'Vertikal justering', +align_top : 'Topp', +align_bottom : 'Bunn', +props_desc : 'tabell egenskaper', +bordercolor : 'Rammefarge', +bgcolor : 'Bakgrunnsfarge', +merge_cells_title : 'Slå sammen tabell celler', +split_cells_desc : 'Splitt tabell celler', +merge_cells_desc : 'Slå sammen tabell celler', +cut_row_desc : 'Fjern tabell rad', +copy_row_desc : 'Kopier tabell rad', +paste_row_before_desc : 'Lim inn tabell rad foran', +paste_row_after_desc : 'Lim inn tabell rad etter', +id : 'Id', +style: 'Stil', +langdir : 'Språk retning', +langcode : 'Språk kode', +mime : 'Målets MIME type', +ltr : 'Venstre mot høgre', +rtl : 'Høgre mot venstre', +bgimage : 'Bakgrunnsbilde', +summary : 'Sum', +td : "Data", +th : "Overskrift", +cell_cell : 'Oppdater valgt celle', +cell_row : 'Oppdater alle celler i raden', +cell_all : 'Oppdater alle celler i tabellen', +row_row : 'Oppdater valgt rad', +row_odd : 'Oppdater ulike rader i tabellen', +row_even : 'Oppdater like rader i tabellen', +row_all : 'Oppdater alle rader i tabellen', +thead : 'Tabell Hode', +tbody : 'Tabell Kropp', +tfoot : 'Tabell Fot', +del : 'Slett tabell', +scope : 'Hensikt', +row : 'Rad', +col : 'Kolonne', +rowgroup : 'Rad gruppe', +colgroup : 'Kolonne gruppe', +missing_scope: 'Er du sikker på at du vil fortsette uten å oppgi hensikten med denne tabellens hode celle.', +cellprops_delta_width : 30 +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/pl.js b/phpgwapi/js/tiny_mce/plugins/table/langs/pl.js new file mode 100644 index 0000000000..b9f0050a20 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/pl.js @@ -0,0 +1,78 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl + +tinyMCE.addToLang('table',{ +general_tab : 'Gwne ustawienia', +advanced_tab : 'Zaawansowane', +general_props : 'Gwne ustawienia', +advanced_props : 'Zaawansowane ustawienia', +desc : 'Wstawia now tabel', +row_before_desc : 'Wstaw wiersz przed', +row_after_desc : 'Wstaw wiersz za', +delete_row_desc : 'Usu wiersz', +col_before_desc : 'Wstaw kolumn przed', +col_after_desc : 'Wstaw kolumn za', +delete_col_desc : 'Usu kolumn', +rowtype : 'Wiersz w czci tabeli', +title : 'Wstaw/Zmie tabel', +width : 'Szeroko', +height : 'Wysoko', +cols : 'Kolumn', +rows : 'Wierszy', +cellspacing : 'Odstpy midzy komrkami', +cellpadding : 'Margines wewntrz komrek', +border : 'Ramka', +align : 'Wyrwnanie', +align_default : 'Domylne', +align_left : 'Lewo', +align_right : 'Prawo', +align_middle : 'rodek', +row_title : 'Waciwoci wiersza', +cell_title : 'Waciwoci komrki', +cell_type : 'Typ komrki', +row_desc : 'Waciwoci wiersza', +cell_desc : 'Waciwoci komrki', +valign : 'Wyrwnanie pionowe', +align_top : 'Do gry', +align_bottom : 'Do dou', +props_desc : 'Waciwoci tabeli', +bordercolor : 'Kolor ramki', +bgcolor : 'Kolor ta', +merge_cells_title : 'Pocz komrki', +split_cells_desc : 'Rozdziel komrki', +merge_cells_desc : 'Pocz komrki', +cut_row_desc : 'Wytnij wiersz', +copy_row_desc : 'Kopiuj wiersz', +paste_row_before_desc : 'Wklej wiersz przed', +paste_row_after_desc : 'Wklej wiersz za', +id : 'Id', +style: 'Styl', +langdir : 'Kierunek tekstu', +langcode : 'Kod jzyka', +mime : 'Docelowy typ MIME', +ltr : 'Lewy do prawego', +rtl : 'Prawy do lewego', +bgimage : 'Obrazek ta', +summary : 'Podsumowanie', +td : "Dane", +th : "Nagwek", +cell_cell : 'Aktualizuj biec komrk', +cell_row : 'Aktualizuj wszystkie komrki w wierszu', +cell_all : 'Aktualizuj wszystkie komrki w tabeli', +row_row : 'Aktualizuj bierzc komrk', +row_odd : 'Aktualizuj nieparzyste komrki w tabeli', +row_even : 'Aktualizuj parzyste komrki w tabeli', +row_all : 'Aktualizuj wszystkie komrki w tabeli', +thead : 'Nagwek tabeli', +tbody : 'Ciao tabeli', +tfoot : 'Stopka tabeli', +del : 'Usu tabel', +scope : 'Zasig', +row : 'Wiersz', +col : 'Kolumna', +rowgroup : 'Grupa wiersza', +colgroup : 'Grupa kolumny', +missing_scope: 'Czy jeste pewien, e chcesz kontynuowa bez sprecyzowania zasigu dla nagwka tej tabeli? Bez tego, niektrzy uytkownicy mog mie problem ze zrozumieniem zawartoci tej tabeli, jeeli maj wczone jakie ograniczenia w przegldarkach.', +cellprops_delta_width : 70 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/pt.js b/phpgwapi/js/tiny_mce/plugins/table/langs/pt.js new file mode 100644 index 0000000000..65d68c6741 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/pt.js @@ -0,0 +1,84 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('table',{ +general_tab : 'Geral', +advanced_tab : 'Avanado', +general_props : 'Propriedades Gerais', +advanced_props : 'Propriedades Avanadas', +desc : 'Inserir uma nova tabela', +row_before_desc : 'Inserir uma linha antes', +row_after_desc : 'Inserir uma linha depois', +delete_row_desc : 'Apagar linha', +col_before_desc : 'Inserir uma coluna antes', +col_after_desc : 'Inserir uma coluna depois', +delete_col_desc : 'Remover coluna', +rowtype : 'Linhas na tabela parcial', +title : 'Inserir/Modificar Tabela', +width : 'Largura', +height : 'Altura', +cols : 'Colunas', +rows : 'Linhas', +cellspacing : 'Espaamento das clulas', +cellpadding : 'Margem interna', +border : 'Borda', +align : 'Alinhamento', +align_default : 'Padro', +align_left : 'Esquerda', +align_right : 'Direita', +align_middle : 'Centrado', +row_title : 'Propriedades das linha', +cell_title : 'Propriedades da clula', +cell_type : 'Tipo de clula', +row_desc : 'Propriedades das linhas', +cell_desc : 'Propriedades da clula', +valign : 'Alinhamento vertical', +align_top : 'Superior', +align_bottom : 'Inferior', +props_desc : 'Propriedades da tabela', +bordercolor : 'Cr da borda', +bgcolor : 'Cr do fundo', +merge_cells_title : 'Juntar clulas', +merge_cells_desc : 'Juntar clulas da tabela', +split_cells_title : 'Separar clulas', +split_cells_desc : 'Separar clulas', +cut_row_desc : 'Apagar linha', +copy_row_desc : 'Copiar linha', +paste_row_before_desc : 'Colar linha antes', +paste_row_after_desc : 'Colar linha depois', +id : 'Id', +style: 'Estilo', +langdir : 'Direo do texto', +langcode : 'Cdigo do idioma', +mime : 'Tipo de MIME do objeto', +ltr : 'Esquerda para direita', +rtl : 'Direita para esquerda', +bgimage : 'Imagem de fundo', +summary : 'Sumrio', +td : "Dados", +th : "Cabealho", +cell_cell : 'Atulizar clula atual', +cell_row : 'Atualizar todas as cdulas na linha', +cell_all : 'Atualizar todas as cdulas da tabela', +row_row : 'Atualizar linha atual', +row_odd : 'Atualizar linhas mpares na tabela', +row_even : 'Atualizar linhas pares na tabela', +row_all : 'Atualizar todas as linhas na tabela', +thead : 'Cabealho da tabela', +tbody : 'Corpo da tabela', +tfoot : 'Rodap da tabela', +del : 'Apagar tabela', +dir : 'Direo', +scope : 'Escopo', +row : 'Linha', +col : 'Coluna', +rowgroup : 'Grupo de linhas', +colgroup : 'Grupo de colunas', +missing_scope: 'Tem certeza que deseja continuar sem especificar um escopo para este clula de cabealho. Sem isso talvez seja difcil para alguns usurios especiais entender ou contedo ou visualizar a tabela.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/pt_br.js b/phpgwapi/js/tiny_mce/plugins/table/langs/pt_br.js new file mode 100644 index 0000000000..4736fd6482 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/pt_br.js @@ -0,0 +1,85 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('table',{ +general_tab : 'Geral', +advanced_tab : 'Avanado', +general_props : 'Propriedades Gerais', +advanced_props : 'Propriedades Avanadas', +desc : 'Inserir uma nova tabela', +row_before_desc : 'Inserir uma linha antes', +row_after_desc : 'Inserir uma linha depois', +delete_row_desc : 'Apagar linha', +col_before_desc : 'Inserir uma coluna antes', +col_after_desc : 'Inserir uma coluna depois', +delete_col_desc : 'Remover coluna', +rowtype : 'Linhas na tabela parcial', +title : 'Inserir/Modificar Tabela', +width : 'Largura', +height : 'Altura', +cols : 'Colunas', +rows : 'Linhas', +cellspacing : 'Espaamento das clulas', +cellpadding : 'Margem interna', +border : 'Borda', +align : 'Alinhamento', +align_default : 'Padro', +align_left : 'Esquerda', +align_right : 'Direita', +align_middle : 'Centrado', +row_title : 'Propriedades das linha', +cell_title : 'Propriedades da clula', +cell_type : 'Tipo de clula', +row_desc : 'Propriedades das linhas', +cell_desc : 'Propriedades da clula', +valign : 'Alinhamento vertical', +align_top : 'Superior', +align_bottom : 'Inferior', +props_desc : 'Propriedades da tabela', +bordercolor : 'Cr da borda', +bgcolor : 'Cr do fundo', +merge_cells_title : 'Juntar clulas', +merge_cells_desc : 'Juntar clulas da tabela', +split_cells_title : 'Separar clulas', +split_cells_desc : 'Separar clulas', +cut_row_desc : 'Apagar linha', +copy_row_desc : 'Copiar linha', +paste_row_before_desc : 'Colar linha antes', +paste_row_after_desc : 'Colar linha depois', +id : 'Id', +style: 'Estilo', +langdir : 'Direo do texto', +langcode : 'Cdigo do idioma', +mime : 'Tipo de MIME do objeto', +ltr : 'Esquerda para direita', +rtl : 'Direita para esquerda', +bgimage : 'Imagem de fundo', +summary : 'Sumrio', +td : "Dados", +th : "Cabealho", +cell_cell : 'Atulizar clula atual', +cell_row : 'Atualizar todas as cdulas na linha', +cell_all : 'Atualizar todas as cdulas da tabela', +row_row : 'Atualizar linha atual', +row_odd : 'Atualizar linhas mpares na tabela', +row_even : 'Atualizar linhas pares na tabela', +row_all : 'Atualizar todas as linhas na tabela', +thead : 'Cabealho da tabela', +tbody : 'Corpo da tabela', +tfoot : 'Rodap da tabela', +del : 'Apagar tabela', +dir : 'Direo', +scope : 'Escopo', +row : 'Linha', +col : 'Coluna', +rowgroup : 'Grupo de linhas', +colgroup : 'Grupo de colunas', +missing_scope: 'Tem certeza que deseja continuar sem especificar um escopo para este clula de cabealho. Sem isso talvez seja difcil para alguns usurios especiais entender ou contedo ou visualizar a tabela.', +cellprops_delta_width : 55 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ro.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ro.js new file mode 100755 index 0000000000..b31f52e4f6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ro.js @@ -0,0 +1,78 @@ +// RO lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Avansat', +general_props : 'Proprietăţi generale', +advanced_props : 'Proprietăţi avansate', +desc : 'Inserează un tabel nou', +row_before_desc : 'Inserează un rând înainte', +row_after_desc : 'Inserează un rând după', +delete_row_desc : 'Şterge rând', +col_before_desc : 'Inserează coloană înainte', +col_after_desc : 'Inserează colana după', +delete_col_desc : 'Şterge coloana', +rowtype : 'Rând în partea de tabel', +title : 'Inserare/Modificare tabel', +width : 'Lăţime', +height : 'Înălţime', +cols : 'Coloane', +rows : 'Rânduri', +cellspacing : 'Spaţiere celule', +cellpadding : 'Spaţiu interior celule', +border : 'Margine', +align : 'Aliniament', +align_default : 'Implicit', +align_left : 'Stânga', +align_right : 'Dreapta', +align_middle : 'Centru', +row_title : 'Proprietăţi rând', +cell_title : 'Proprietăţi celulă', +cell_type : 'Tip celulă', +row_desc : 'Proprietăţi rând', +cell_desc : 'Proprietăţi celulă', +valign : 'Aliniament vertical', +align_top : 'Sus', +align_bottom : 'Jos', +props_desc : 'Proprietăţi tabel', +bordercolor : 'Culoare margine', +bgcolor : 'Culoare fundal', +merge_cells_title : 'Unire celule', +split_cells_desc : 'Împarte celulele', +merge_cells_desc : 'Uneşte celulele', +cut_row_desc : 'Decupează rând', +copy_row_desc : 'Copiază rând', +paste_row_before_desc : 'Lipeşte rând înainte', +paste_row_after_desc : 'Lipeşte rând după', +id : 'Id', +style: 'Stil', +langdir : 'Direcţia limbii', +langcode : 'Cod limbă', +mime : 'Tip MIME ţintă', +ltr : 'Stânga la dreapta', +rtl : 'Dreapta la stânga', +bgimage : 'Imagine fundal', +summary : 'Sumar', +td : "Date", +th : "Antet", +cell_cell : 'Actualizează celula curentă', +cell_row : 'Actualizează toate celulele din rând', +cell_all : 'Actualizează toate celulele din tabel', +row_row : 'Actualizează rândul curent', +row_odd : 'Actualizează rândurile impare din tabel', +row_even : 'Actualizează rândurile pare din tabel', +row_all : 'Actualizează toate rândurile din tabel', +thead : 'Antet tabel', +tbody : 'Corp tabel', +tfoot : 'Subsol tabel', +del : 'Şterge tabel', +scope : 'Domeniu', +row : 'Rând', +col : 'Coloană', +rowgroup : 'Grup rânduri', +colgroup : 'Grup coloane', +col_limit : 'Ai depăşit numărul maxim de coloane, din {$cols}.', +row_limit : 'Ai depăşit numărul maxim de rânduri, din {$rows}.', +cell_limit : 'Ai depăşit numărul maxim de celule, din {$cells}.', +missing_scope: 'Eşti sigur că vrei să continui fără să specifici un domeniu pentru antetul tabelului? Fără acesta, este posibil ca utilizatorii cu invaliditate să nu înţeleagă datele afişate sau conţinutul tabelului.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ru.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ru.js new file mode 100644 index 0000000000..e2243851e4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ru.js @@ -0,0 +1,77 @@ +// RU cp1251 lang variables + +tinyMCE.addToLang('table',{ +general_tab : '', +advanced_tab : '', +general_props : ' ', +advanced_props : ' ', +desc : ' ', +row_before_desc : ' ', +row_after_desc : ' ', +delete_row_desc : ' ', +col_before_desc : ' ', +col_after_desc : ' ', +delete_col_desc : ' ', +rowtype : ' ', +title : '/ ', +width : '', +height : '', +cols : '', +rows : '', +cellspacing : ' ', +cellpadding : ' ', +border : '', +align : '', +align_default : '-', +align_left : '', +align_right : '', +align_middle : ' ', +row_title : ' ', +cell_title : ' ', +cell_type : ' ', +row_desc : ' ', +cell_desc : ' ', +valign : ' ', +align_top : ' ', +align_bottom : ' ', +props_desc : ' ', +bordercolor : ' ', +bgcolor : ' ', +merge_cells_title : ' ', +split_cells_desc : ' ', +merge_cells_desc : ' ', +cut_row_desc : ' ', +copy_row_desc : ' ', +paste_row_before_desc : ' ', +paste_row_after_desc : ' ', +id : 'Id', +style: '', +langdir : ' ', +langcode : ' ', +mime : ' MIME ', +ltr : ' ', +rtl : ' ', +bgimage : ' ', +summary : ' ', +td : "", +th : "", +cell_cell : ' ', +cell_row : ' ', +cell_all : ' ', +row_row : ' ', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : ' ', +thead : ' ', +tbody : ' ', +tfoot : ' ', +del : ' ', +scope : '', +row : '', +col : '', +rowgroup : ' ', +colgroup : ' ', +missing_scope: ' , ? , , , .', +table_delta_width : 30, +cellprops_delta_width : 130 +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..62ad5dd10d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ru_KOI8-R.js @@ -0,0 +1,75 @@ +// RU KOI8-R lang variables + +tinyMCE.addToLang('table',{ +general_tab : '', +advanced_tab : '', +general_props : ' ', +advanced_props : ' ', +desc : ' ', +row_before_desc : ' ', +row_after_desc : ' ', +delete_row_desc : ' ', +col_before_desc : ' ', +col_after_desc : ' ', +delete_col_desc : ' ', +rowtype : ' ', +title : '/ ', +width : '', +height : '', +cols : '', +rows : '', +cellspacing : ' ', +cellpadding : ' ', +border : '', +align : '', +align_default : '-', +align_left : '', +align_right : '', +align_middle : ' ', +row_title : ' ', +cell_title : ' ', +cell_type : ' ', +row_desc : ' ', +cell_desc : ' ', +valign : ' ', +align_top : ' ', +align_bottom : ' ', +props_desc : ' ', +bordercolor : ' ', +bgcolor : ' ', +merge_cells_title : ' ', +split_cells_desc : ' ', +merge_cells_desc : ' ', +cut_row_desc : ' ', +copy_row_desc : ' ', +paste_row_before_desc : ' ', +paste_row_after_desc : ' ', +id : 'Id', +style: '', +langdir : ' ', +langcode : ' ', +mime : ' MIME ', +ltr : ' ', +rtl : ' ', +bgimage : ' ', +summary : ' ', +td : "", +th : "", +cell_cell : ' ', +cell_row : ' ', +cell_all : ' ', +row_row : ' ', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : ' ', +thead : ' ', +tbody : ' ', +tfoot : ' ', +del : ' ', +scope : '', +row : '', +col : '', +rowgroup : ' ', +colgroup : ' ', +missing_scope: ' , ? , , , .' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/plugins/table/langs/ru_UTF-8.js new file mode 100644 index 0000000000..f72dbab1dd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/ru_UTF-8.js @@ -0,0 +1,75 @@ +// RU UTF-8 lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Основные', +advanced_tab : 'Расширенные', +general_props : 'Основные свойства', +advanced_props : 'Расширенные свойства', +desc : 'Вставить новую таблицу', +row_before_desc : 'Вставить строку перед', +row_after_desc : 'Вставить строку после', +delete_row_desc : 'Удалить строку', +col_before_desc : 'Вставить колонку перед', +col_after_desc : 'Вставить колонку после', +delete_col_desc : 'Удалить колонку', +rowtype : 'Строка в части таблицы', +title : 'Вставить/Изменить таблицу', +width : 'Ширина', +height : 'Высота', +cols : 'Колонки', +rows : 'Строки', +cellspacing : 'Расстояние между ячейками', +cellpadding : 'Отступ в ячейках', +border : 'Граница', +align : 'Выравнивание', +align_default : 'По-умолчанию', +align_left : 'Всево', +align_right : 'Вправо', +align_middle : 'По центру', +row_title : 'Свойства строки таблицы', +cell_title : 'Свойства ячейки таблицы', +cell_type : 'Тип ячейки', +row_desc : 'Свойства строки таблицы', +cell_desc : 'Свойства ячейки таблицы', +valign : 'Вертикальное выравнивание', +align_top : 'По верху', +align_bottom : 'По низу', +props_desc : 'Свойства таблицы', +bordercolor : 'Цвет рамки', +bgcolor : 'Цвет фона', +merge_cells_title : 'Объединить ячейки таблицы', +split_cells_desc : 'Разделить ячейки таблицы', +merge_cells_desc : 'Объединить ячейки таблицы', +cut_row_desc : 'Вылезать строку таблицы', +copy_row_desc : 'Скопировать строку таблицы', +paste_row_before_desc : 'Вставить строку таблицы перед', +paste_row_after_desc : 'Вставить строку таблицы после', +id : 'Id', +style: 'Стиль', +langdir : 'Описание языка', +langcode : 'Код языка', +mime : 'Целевой MIME тип', +ltr : 'Слева направо', +rtl : 'Справа налево', +bgimage : 'Фоновое изображение', +summary : 'Краткое описание', +td : "Тело", +th : "Заголовок", +cell_cell : 'Обновить текущую ячейку', +cell_row : 'Обновить текущую строку', +cell_all : 'Обновить все ячейки в таблице', +row_row : 'Обновить текущую строку', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Обновить все строки в таблице', +thead : 'Заголовок таблицы', +tbody : 'Тело таблицы', +tfoot : 'Футер таблицы', +del : 'Удалить таблицу', +scope : 'Границы', +row : 'Строка', +col : 'Колонка', +rowgroup : 'Группа строк', +colgroup : 'Группа колонок', +missing_scope: 'Вы уверены, что хотите продолжать не обозначив границы ячеек шапки таблицы? Без этого, возможно, некоторым пользователям будет затруднительно понять, что за данные находятся в таблице.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/si.js b/phpgwapi/js/tiny_mce/plugins/table/langs/si.js new file mode 100644 index 0000000000..8f39152eb3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/si.js @@ -0,0 +1,75 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('table',{ +general_tab : 'Splošno', +advanced_tab : 'Napredno', +general_props : 'Splošne lastnosti', +advanced_props : 'Napredne lastnosti', +desc : 'Vstavi novo tabelo', +row_before_desc : 'Vstavi vrstico pred', +row_after_desc : 'Vstavi vrstico za', +delete_row_desc : 'Zbriši vrstico', +col_before_desc : 'Vstavi stolpec pred', +col_after_desc : 'Vstavi stolpec za', +delete_col_desc : 'Zbriši stolpec', +rowtype : 'Vrstica v delu tabele', +title : 'Vstavi/uredi tabelo', +width : 'Širina', +height : 'Višina', +cols : 'Št. stolpcev', +rows : 'Št. vrstic', +cellspacing : 'Razmik med celicami', +cellpadding : 'Odmik med celicami', +border : 'Okvir', +align : 'Poravnava', +align_default : 'Privzeto', +align_left : 'Levo', +align_right : 'Desno', +align_middle : 'Na sredino', +row_title : 'Lastnosti vrstice', +cell_title : 'Lastnosti celice', +cell_type : 'Tip celice', +row_desc : 'Lastnosti vrstice', +cell_desc : 'Lastnosti celice', +valign : 'Navpična poravnava', +align_top : 'Na vrh', +align_bottom : 'Na dno', +props_desc : 'Lastnosti tabele', +bordercolor : 'Barva okvirja', +bgcolor : 'Barva ozadja', +merge_cells_title : 'Združi celice', +split_cells_desc : 'Razdeli celice', +merge_cells_desc : 'Združi celice', +cut_row_desc : 'Izreži vrstico', +copy_row_desc : 'Kopiraj vrstico', +paste_row_before_desc : 'Prilepi tabelo pred', +paste_row_after_desc : 'Prilepi tabelo za', +id : 'Id', +style: 'Stil', +langdir : 'Smer jezika', +langcode : 'Koda jezika', +mime : 'MIME type tarče', +ltr : 'Od leve proti desni', +rtl : 'Od desne proti levi', +bgimage : 'Slika za ozadje', +summary : 'Naslov', +td : "Podatki", +th : "Glava", +cell_cell : 'Posodobi trenutno celico', +cell_row : 'Posodobi vse celice v vrstici', +cell_all : 'Posodobi vse celice v tabeli', +row_row : 'Posodobi trenutno vrstico', +row_odd : 'Posodobi lihe vrstice v tabeli', +row_even : 'Posodobi sode vrstice v tabeli', +row_all : 'Posodobi vse vrstice v tabeli', +thead : 'Glava tabele', +tbody : 'Telo tabele', +tfoot : 'Dno tabele', +del : 'Zbriši tabelo', +scope : 'Domena', +row : 'Vrstica', +col : 'Stolpec', +rowgroup : 'Skupina vrstic', +colgroup : 'Skupina stolpcev', +missing_scope: 'Ali ste prepričani, da želite nadaljevati brez domene za to celico v glavi tabele? Brez nje bodo lahko imeli uporabniki s posebnimi potrebami probleme pri razumevanju vsebine tabele.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/sk.js b/phpgwapi/js/tiny_mce/plugins/table/langs/sk.js new file mode 100755 index 0000000000..611f37a5d8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/sk.js @@ -0,0 +1,117 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Marián Zvalo marian.zvalo@student.umb.sk + * + * $Id: sk.js,v 1.1 2006/02/28 20:56:44 spocke Exp $ + */ + +tinyMCE.addToLang('',{ +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', +insert_table_cols : 'Stĺpce', +insert_table_rows : 'Riadky', +insert_table_cellspacing : 'Vonkajší okraj buniek', +insert_table_cellpadding : 'Vnutorný okraj buniek', +insert_table_border : 'Riadok', +insert_table_align : 'Zarovnanie', +insert_table_align_default : 'Východzie', +insert_table_align_left : 'Vľavo', +insert_table_align_right : 'Vpravo', +insert_table_align_middle : 'Na stred', +insert_table_class : 'Trieda', +table_row_title : 'Vlastnosti riadku', +table_cell_title : 'Vlastnosti bunky', +table_row_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', +table_props_desc : 'Vlastnosti tabuľky', +table_bordercolor : 'Farba rámčeku', +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 : '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_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.' +}); + diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/sq.js b/phpgwapi/js/tiny_mce/plugins/table/langs/sq.js new file mode 100755 index 0000000000..37258098d6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/sq.js @@ -0,0 +1,78 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Te pergjithshme', +advanced_tab : 'E avancuar', +general_props : 'Te dhena te pergjithshme', +advanced_props : 'Te dhena te pergjithshme', +desc : 'Nderfut nje tabele te re', +row_before_desc : 'Nderfut nje rresht perpara', +row_after_desc : 'Nderfut nje rresht nga pas', +delete_row_desc : 'DeleteFshi nje rresht', +col_before_desc : 'Nderfut nje kollone perpara', +col_after_desc : 'Nderfut nje kollone nga pas', +delete_col_desc : 'Fshi nje kollone', +rowtype : 'Rresht ne tabele', +title : 'Nderfut/Ndrysho tabelen', +width : 'Gjeresi', +height : 'Lartesi', +cols : 'Kollona', +rows : 'Rreshta', +cellspacing : 'Hapesira midis qelizave', +cellpadding : 'Largesia midis qelizave', +border : 'Kufiri', +align : 'Rreshtimi', +align_default : 'Paracktuar', +align_left : 'Majtas', +align_right : 'Djathas', +align_middle : 'Ne Mes', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.', +row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.', +cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.', +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.' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/sv.js b/phpgwapi/js/tiny_mce/plugins/table/langs/sv.js new file mode 100755 index 0000000000..f9da3b52f4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/sv.js @@ -0,0 +1,79 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Generella inställningar', +advanced_tab : 'Avancerade inställningar', +general_props : 'Generella inställningar', +advanced_props : 'Avancerade inställningar', +desc : 'Skapa ny tabell', +before_desc : 'Skapa rad före', +after_desc : 'Skapa rad efter', +row_before_desc : 'Skapa rad före', +row_after_desc : 'Skapa rad efter', +delete_row_desc : 'Ta bort rad', +col_before_desc : 'Skapa kolumn före', +col_after_desc : 'Skapa kolumn efter', +delete_col_desc : 'Ta bort kolumn', +rowtype : 'Rad typ', +title : 'Skapa/redigera ny tabell', +width : 'Bredd', +height : 'Höjd', +cols : 'Columner', +rows : 'Rader', +cellspacing : 'Cellmellanrum', +cellpadding : 'Cellutfyllnad', +border : 'Ram', +align : 'Justering', +align_default : 'Ingen', +align_left : 'Vänster', +align_right : 'Höger', +align_middle : 'Mitten', +row_title : 'Tabell radsinställningar', +cell_title : 'Tabell cellsinställningar', +cell_type : 'Cell typ', +row_desc : 'Tabell rads inställningar', +cell_desc : 'Tabell cells inställningar', +valign : 'Vertical justering', +align_top : 'Toppen', +align_bottom : 'Botten', +props_desc : 'Tabell inställningar', +bordercolor : 'Ram färg', +bgcolor : 'Bakgrundsfärg', +merge_cells_title : 'Sammanfoga tabell celler', +split_cells_desc : 'Delaupp tabell celler', +merge_cells_desc : 'Sammanfoga tabell celler', +cut_row_desc : 'Klipput tabell rad', +copy_row_desc : 'Kopiera tabell rad', +paste_row_before_desc : 'Klistra in tabell rad före', +paste_row_after_desc : 'Klistra in tabell rad efter', +id : 'Id', +style: 'Stil', +langdir : 'Skrift riktning', +langcode : 'Språk kåd', +ltr : 'Vänster till höger', +rtl : 'Höger till vänster', +bgimage : 'Bakgrundsbild', +summary : 'Sammanfattning', +td : "Data", +th : "Huvud", +cell_cell : 'Updatera nuvarande cell', +cell_row : 'Updatera alla celler i raden', +cell_all : 'Updatera alla celler t tabellen', +row_row : 'Updatera nuvarande rad', +row_odd : 'Updatera udda rader i tabellen', +row_even : 'Updatera jämna rader i tabellen', +row_all : 'Updatera alla rader i tabellen', +thead : 'Tabell Huvud', +tbody : 'Tabell Kropp', +tfoot : 'Tabell Fot', +del : 'Tabort tabell', +scope : 'Scope', +row : 'Rad', +col : 'Kolumn', +rowgroup : 'Rad grupp', +colgroup : 'Kolumn grupp', +col_limit : 'Du har angivit mer kolumner än vad som är tillåtet. Max är: {$cols}.', +row_limit : 'Du har angivit mer rader än vad som är tillåtet. Max är: {$rows}.', +cell_limit : 'Du har angivit mer celler än vad som är tillåtet. Max är: {$cells}.', +missing_scope: 'Är du säker på att du vill fortsätta utan att specifisera ett scope, utan denna kan det bli svårt för handikappade att förstå tabellen.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/th.js b/phpgwapi/js/tiny_mce/plugins/table/langs/th.js new file mode 100755 index 0000000000..108d6afb13 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/th.js @@ -0,0 +1,78 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'General', +advanced_tab : 'Advanced', +general_props : 'General properties', +advanced_props : 'Advanced properties', +desc : 'Inserts a new table', +row_before_desc : 'Insert row before', +row_after_desc : 'Insert row after', +delete_row_desc : 'Delete row', +col_before_desc : 'Insert column before', +col_after_desc : 'Insert column after', +delete_col_desc : 'Remove column', +rowtype : 'Row in table part', +title : 'Insert/Modify table', +width : 'Width', +height : 'Height', +cols : 'Columns', +rows : 'Rows', +cellspacing : 'Cellspacing', +cellpadding : 'Cellpadding', +border : 'Border', +align : 'Alignment', +align_default : 'Default', +align_left : 'Left', +align_right : 'Right', +align_middle : 'Center', +row_title : 'Table row properties', +cell_title : 'Table cell properties', +cell_type : 'Cell type', +row_desc : 'Table row properties', +cell_desc : 'Table cell properties', +valign : 'Vertical alignment', +align_top : 'Top', +align_bottom : 'Bottom', +props_desc : 'Table properties', +bordercolor : 'Border color', +bgcolor : 'Background color', +merge_cells_title : 'Merge table cells', +split_cells_desc : 'Split table cells', +merge_cells_desc : 'Merge table cells', +cut_row_desc : 'Cut table row', +copy_row_desc : 'Copy table row', +paste_row_before_desc : 'Paste table row before', +paste_row_after_desc : 'Paste table row after', +id : 'Id', +style: 'Style', +langdir : 'Language direction', +langcode : 'Language code', +mime : 'Target MIME type', +ltr : 'Left to right', +rtl : 'Right to left', +bgimage : 'Background image', +summary : 'Summary', +td : "Data", +th : "Header", +cell_cell : 'Update current cell', +cell_row : 'Update all cells in row', +cell_all : 'Update all cells in table', +row_row : 'Update current row', +row_odd : 'Update odd rows in table', +row_even : 'Update even rows in table', +row_all : 'Update all rows in table', +thead : 'Table Head', +tbody : 'Table Body', +tfoot : 'Table Foot', +del : 'Delete table', +scope : 'Scope', +row : 'Row', +col : 'Col', +rowgroup : 'Row Group', +colgroup : 'Col Group', +col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.', +row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.', +cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.', +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.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/tr.js b/phpgwapi/js/tiny_mce/plugins/table/langs/tr.js new file mode 100644 index 0000000000..3b9c85e4d3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/tr.js @@ -0,0 +1,75 @@ +// UK lang variables + +tinyMCE.addToLang('table',{ +general_tab : 'Genel', +advanced_tab : 'Gelimi', +general_props : 'Genel zellikler', +advanced_props : 'Gelimi zellikler', +desc : 'Yeni tablo ekle', +row_before_desc : 'Satr ekle(ncesinde)', +row_after_desc : 'Satr ekle(sonrasnda)', +delete_row_desc : 'Satr sil', +col_before_desc : 'Kolon ekle(ncesinde)', +col_after_desc : 'Kolon ekle(sonrasnda)', +delete_col_desc : 'Kolonu sil', +rowtype : 'Row in table part', +title : 'Tablo ekle/dzenle', +width : 'Genilik', +height : 'Ykseklik', +cols : 'Kolonlar', +rows : 'Satrlar', +cellspacing : 'Hcre boluu', +cellpadding : 'Hcre dolusu', +border : 'Snr kalnlk', +align : 'Hizalama', +align_default : 'Varsaylan', +align_left : 'Sol', +align_right : 'Sa', +align_middle : 'Orta', +row_title : 'Tablo satr zellikleri', +cell_title : 'Tablo hcre zellikleri', +cell_type : 'Hcre tipi', +row_desc : 'Tablo satr zellikleri', +cell_desc : 'Tablo hcre zellikleri', +valign : 'Dey hizalama', +align_top : 'st', +align_bottom : 'Alt', +props_desc : 'Tablo zellikleri', +bordercolor : 'Snr rengi', +bgcolor : 'Arkaplan rengi', +merge_cells_title : 'Tablo hcrelerini birletir', +split_cells_desc : 'Tablo hcrelerini ayr', +merge_cells_desc : 'Tablo hcrelerini birletir', +cut_row_desc : 'Tablo satrn kes', +copy_row_desc : 'Tablo satrn kopyala', +paste_row_before_desc : 'Tablo satr yaptr(nce)', +paste_row_after_desc : 'Tablo satr yaptr(sonra)', +id : 'Id', +style: 'Stil', +langdir : 'Yazm yn', +langcode : 'Dil kodu', +mime : 'Hedef MIME tipi', +ltr : 'Soldan saa', +rtl : 'Sadan sola', +bgimage : 'Arkaplan resmi', +summary : 'zet', +td : "Veri", +th : "Balk", +cell_cell : 'Hcreyi gncelle', +cell_row : 'Satrdaki tm hcreleri gncelle', +cell_all : 'Tablodaki tm hcreleri gncelle', +row_row : 'Satr gncelle', +row_odd : 'Tablodaki sras tek olan satrlar gncelle', +row_even : 'Tablodaki sras ift olan satrlar gncelle', +row_all : 'Tablodaki tm satrlar gncelle', +thead : 'Tablo bal', +tbody : 'Tablo gvdesi', +tfoot : 'Table alt', +del : 'Tabloyu sil', +scope : 'Kapsam', +row : 'Satr', +col : 'Kolon', +rowgroup : 'Satr Gurubu', +colgroup : 'Kolon Gurubu', +missing_scope: 'Tablo balk hclerlerinin kapsamlarn belirmeden devam etmek istediinize emin misiniz? Eer belirtmesseniz tablo grnmnde problemler olabilir!' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/tw.js b/phpgwapi/js/tiny_mce/plugins/table/langs/tw.js new file mode 100644 index 0000000000..847e202197 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/tw.js @@ -0,0 +1,43 @@ +// TW lang variables contributed by Jim Kou + +tinyMCE.addToLang('',{ +insert_table_align : '', +insert_table_align_default : 'з', +insert_table_align_left : '', +insert_table_align_middle : 'm', +insert_table_align_right : 'k', +insert_table_border : 'ؽu', +insert_table_cellpadding : 'rÅPxs涡', +insert_table_cellspacing : 'xs涡', +insert_table_class : '˦', +insert_table_cols : '', +insert_table_height : '', +insert_table_rows : 'C', +insert_table_title : 'D', +insert_table_width : 'e', +table_delete_col_desc : 'R@xs', +table_delete_row_desc : 'R@Cxs', +table_desc : '', +table_insert_col_after_desc : 'sW@xs()', +table_insert_col_before_desc : 'sW@xs(e)', +table_insert_row_after_desc : 'sW@Cxs()', +table_insert_row_before_desc : 'sW@Cxs(e)', +table_row_title : 'Table row properties', +table_cell_title : 'Table cell properties', +table_row_desc : 'Table row properties', +table_cell_desc : 'Table cell properties', +insert_table_valign : 'Vertical alignment', +insert_table_align_top : 'Top', +insert_table_align_bottom : 'Bottom', +table_props_desc : 'Table properties', +table_bordercolor : 'Border color', +table_bgcolor : 'Bg color', +table_merge_cells_title : 'Merge table cells', +table_split_cells_desc : 'Split table cells', +table_merge_cells_desc : 'Merge table cells', +table_cut_row_desc : 'Cut table row', +table_copy_row_desc : 'Copy table row', +table_paste_row_before_desc : 'Paste table row before', +table_paste_row_after_desc : 'Paste table row after', +table_insert_desc : 'Insert a new table' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/vi.js b/phpgwapi/js/tiny_mce/plugins/table/langs/vi.js new file mode 100755 index 0000000000..84c9ae2cf5 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/vi.js @@ -0,0 +1,75 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('table',{ +general_tab : 'Chung', +advanced_tab : 'Nâng cao', +general_props : 'Thuộc tính chung', +advanced_props : 'Thuộc tính nâng cao', +desc : 'Thêm một bảng mới', +row_before_desc : 'Thêm hàng trước', +row_after_desc : 'Thêm hàng sau', +delete_row_desc : 'Xóa hàng', +col_before_desc : 'Thêm cột bên trái', +col_after_desc : 'Thêm cột bên phải', +delete_col_desc : 'Xóa cột', +rowtype : 'Hàng trong một phần bảng', +title : 'Thêm/Sửa bảng', +width : 'Độ rộng', +height : 'Chiều cao', +cols : 'Cột', +rows : 'Hàng', +cellspacing : 'Khoảng cách ô', +cellpadding : 'Căn lề ô', +border : 'Khung bao quanh', +align : 'Căn lề', +align_default : 'Mặc định', +align_left : 'Trái', +align_right : 'Phải', +align_middle : 'Giữa', +row_title : 'Thuộc tính hàng', +cell_title : 'Thuộc tính ô', +cell_type : 'Kiểu ô', +row_desc : 'Thuộc tính hàng', +cell_desc : 'Thuộc tính ô', +valign : 'Căn lề chiều dọc', +align_top : 'Trên cùng', +align_bottom : 'Dưới cùng', +props_desc : 'Thuộc tính bảng', +bordercolor : 'Màu khung', +bgcolor : 'Màu nền', +merge_cells_title : 'Trộn ô', +split_cells_desc : 'Tách ô', +merge_cells_desc : 'Trộn ô', +cut_row_desc : 'Cắt hàng của bảng', +copy_row_desc : 'Sao chép hàng của bảng', +paste_row_before_desc : 'Dán hàng lên trên', +paste_row_after_desc : 'Dán hàng xuống dưới', +id : 'Id', +style: 'Style', +langdir : 'Hướng ngôn ngữ', +langcode : 'Mã ngôn ngữ', +mime : 'Kiểu MIME mục tiêu', +ltr : 'Trái sang phải', +rtl : 'Phải sang trái', +bgimage : 'Ảnh nền', +summary : 'Tóm tắt', +td : "Dữ liệu", +th : "Tiêu đề", +cell_cell : 'Cập nhật ô hiện thời', +cell_row : 'Cập nhật tất cả các ô trong hàng', +cell_all : 'Cập nhật tất cả các ô trong bảng', +row_row : 'Cập nhật hàng hiện thời', +row_odd : 'Cập nhật các hàng lẻ trong bảng', +row_even : 'Cập nhật các hàng chẵn trong bảng', +row_all : 'Cập nhật tất cả các hàng trong bảng', +thead : 'Đầu bảng', +tbody : 'Thân bảng', +tfoot : 'Chân bảng', +del : 'Xóa bảng', +scope : 'Phạm vi', +row : 'Hàng', +col : 'Cột', +rowgroup : 'Nhóm hàng', +colgroup : 'Nhóm cột', +missing_scope: 'Bạn có chắc bạn muốn tiếp tục mà không cần xác định phạm vi cho ô tiêu đề bảng này? Nếu thiếu nó, có thể những người sử dụng khuyết thiếu sẽ khó có thể hiểu nội dung của dữ liệu trong bảng.' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/zh_cn.js b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_cn.js new file mode 100755 index 0000000000..015b9c43f6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_cn.js @@ -0,0 +1,76 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('table',{ +general_tab : 'һ', +advanced_tab : '߼', +general_props : 'һ', +advanced_props : '߼', +desc : 'һ±', +row_before_desc : 'ǰһ', +row_after_desc : 'һ', +delete_row_desc : 'ɾ', +col_before_desc : 'һ', +col_after_desc : 'Ҳһ', +delete_col_desc : 'ɾ', +rowtype : '', +title : '/޸ ', +width : '', +height : '', +cols : '', +rows : '', +cellspacing : 'Ԫռ', +cellpadding : 'Ԫ', +border : '߿', +align : '', +align_default : 'Ĭ', +align_left : '', +align_right : '', +align_middle : '', +row_title : 'б', +cell_title : 'Ԫ', +cell_type : 'Ԫ', +row_desc : '', +cell_desc : 'Ԫ', +valign : 'ֱ', +align_top : '', +align_bottom : '׶', +props_desc : '', +bordercolor : '߿ɫ', +bgcolor : 'ɫ', +merge_cells_title : 'ϲеԪ', +split_cells_desc : 'еԪ', +merge_cells_desc : 'ϲеԪ', +cut_row_desc : '', +copy_row_desc : '', +paste_row_before_desc : 'ǰճһ', +paste_row_after_desc : 'ճһ', +id : 'ʶ', +style: 'ʽ', +langdir : 'д', +langcode : 'Ա', +mime : 'Ŀ MIME ', +ltr : '', +rtl : 'ҵ', +bgimage : 'ͼƬ', +summary : 'С', +td : "", +th : "ҳü", +cell_cell : 'µǰԪ', +cell_row : 'еԪ', +cell_all : '±еԪ', +row_row : 'µǰ', +row_odd : '', +row_even : 'ż', +row_all : '±', +thead : 'ͷ', +tbody : '', +tfoot : 'β', +del : 'ɾ', +scope : '', +row : '', +col : '', +rowgroup : 'м', +colgroup : 'м', +missing_scope: 'ȷҪû༭ʱû༭ʹĶ߿ܷ' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..44f85707b7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_cn_utf8.js @@ -0,0 +1,76 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('table',{ +general_tab : '一般', +advanced_tab : '高级', +general_props : '一般属性', +advanced_props : '高技属性', +desc : '插入一个新表', +row_before_desc : '向前插入一行', +row_after_desc : '向后插入一行', +delete_row_desc : '删除行', +col_before_desc : '向左插入一列', +col_after_desc : '向右插入一列', +delete_col_desc : '删除列', +rowtype : '行种类', +title : '插入/修改 表', +width : '宽', +height : '高', +cols : '列数', +rows : '行数', +cellspacing : '单元格空间', +cellpadding : '单元格填充', +border : '边框', +align : '对齐', +align_default : '默认', +align_left : '居左', +align_right : '居右', +align_middle : '居中', +row_title : '行标题', +cell_title : '单元格标题', +cell_type : '单元格种类', +row_desc : '行描述', +cell_desc : '单元格描述', +valign : '垂直对齐', +align_top : '顶端', +align_bottom : '底端', +props_desc : '表属性', +bordercolor : '边框颜色', +bgcolor : '背景颜色', +merge_cells_title : '合并表中单元格标题', +split_cells_desc : '分类表中单元格描述', +merge_cells_desc : '合并表中单元格描述', +cut_row_desc : '剪切行', +copy_row_desc : '复制行', +paste_row_before_desc : '向前粘贴一行', +paste_row_after_desc : '向后粘贴一行', +id : '表识', +style: '样式', +langdir : '书写方向', +langcode : '语言编码', +mime : '目标 MIME 种类', +ltr : '从左到右', +rtl : '从右到左', +bgimage : '背景图片', +summary : '小结', +td : "数据", +th : "页眉", +cell_cell : '更新当前单元格', +cell_row : '更新行中所有单元格', +cell_all : '更新表中所有单元格', +row_row : '更新当前行', +row_odd : '更新奇数行', +row_even : '更新偶数行', +row_all : '更新表中所有行', +thead : '表头', +tbody : '表中', +tfoot : '表尾', +del : '删除表', +scope : '区域', +row : '行', +col : '列', +rowgroup : '行集团', +colgroup : '列集团', +missing_scope: '您确认要在没有声明编辑区域时继续吗?没有声明编辑区域将使阅读者看起来很费力。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/zh_tw.js b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_tw.js new file mode 100644 index 0000000000..664d5f0201 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_tw.js @@ -0,0 +1,76 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('table',{ +general_tab : '@', +advanced_tab : 'i', +general_props : '@ݩ', +advanced_props : 'iݩ', +desc : 'Js', +row_before_desc : 'beJC', +row_after_desc : 'bᴡJC', +delete_row_desc : 'RC', +col_before_desc : 'beJ', +col_after_desc : 'bᴡJ', +delete_col_desc : 'R', +rowtype : '椤C', +title : 'Jνվ', +width : 'e', +height : '', +cols : '', +rows : 'C', +cellspacing : 'xsuZ', +cellpadding : 'xs椺PuZ', +border : 'ؽu', +align : 'm', +align_default : 'w', +align_left : 'a', +align_right : 'ak', +align_middle : 'm', +row_title : 'Cݩ', +cell_title : 'xsݩ', +cell_type : 'xs', +row_desc : 'Cݩ', +cell_desc : 'xsݩ', +valign : 'm', +align_top : '', +align_bottom : '', +props_desc : 'ݩ', +bordercolor : 'ؽuC', +bgcolor : 'IC', +merge_cells_title : 'Xxs', +split_cells_desc : 'xs', +merge_cells_desc : 'Xxs', +cut_row_desc : 'ŤUC', +copy_row_desc : 'ƻsC', +paste_row_before_desc : 'beKWC', +paste_row_after_desc : 'bKWC', +id : 'sX', +style: '', +langdir : 'yΪk', +langcode : 'yX', +mime : 'H MIME ', +ltr : 'ѥܥk', +rtl : 'ѥkܥ', +bgimage : 'I', +summary : '@', +td : "", +th : "Y", +cell_cell : 'sҦbxs', +cell_row : 'sCxs', +cell_all : 's椤xs', +row_row : 'sҦbC', +row_odd : 's椤_ƦC', +row_even : 's椤ƦC', +row_all : 's椤C', +thead : 'Y', +tbody : '', +tfoot : '橳', +del : 'R', +scope : 'd', +row : 'C', +col : '', +rowgroup : 'sC', +colgroup : 's', +missing_scope: 'TwnbS惡Y]wdU~ܡH\n[H]wܡAi|ɭPYǨϥΪ̵LkQŪ椤άOTC' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..e56bb1e8b9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/langs/zh_tw_utf8.js @@ -0,0 +1,76 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + +tinyMCE.addToLang('table',{ +general_tab : '一般', +advanced_tab : '進階', +general_props : '一般屬性', +advanced_props : '進階屬性', +desc : '插入新表格', +row_before_desc : '在之前插入列', +row_after_desc : '在之後插入列', +delete_row_desc : '刪除列', +col_before_desc : '在之前插入行', +col_after_desc : '在之後插入行', +delete_col_desc : '刪除行', +rowtype : '表格中的列', +title : '插入或調整表格', +width : '寬', +height : '高', +cols : '行', +rows : '列', +cellspacing : '儲存格格線間距', +cellpadding : '儲存格內文與格線間距', +border : '框線', +align : '位置', +align_default : '內定', +align_left : '靠左', +align_right : '靠右', +align_middle : '置中', +row_title : '列屬性', +cell_title : '儲存格屬性', +cell_type : '儲存格類型', +row_desc : '列屬性', +cell_desc : '儲存格屬性', +valign : '垂直位置', +align_top : '頂端', +align_bottom : '底部', +props_desc : '表格屬性', +bordercolor : '框線顏色', +bgcolor : '背景顏色', +merge_cells_title : '合併儲存格', +split_cells_desc : '分割儲存格', +merge_cells_desc : '合併儲存格', +cut_row_desc : '剪下列', +copy_row_desc : '複製列', +paste_row_before_desc : '在之前貼上列', +paste_row_after_desc : '在之後貼上列', +id : '編碼', +style: '式樣', +langdir : '語言用法', +langcode : '語碼', +mime : '對象 MIME 類型', +ltr : '由左至右', +rtl : '由右至左', +bgimage : '背景圖檔', +summary : '一覽', +td : "資料", +th : "標頭", +cell_cell : '更新所在的儲存格', +cell_row : '更新列內的儲存格', +cell_all : '更新表格中的儲存格', +row_row : '更新所在的列', +row_odd : '更新表格中的奇數列', +row_even : '更新表格中的偶數列', +row_all : '更新表格中的列', +thead : '表格標頭', +tbody : '表格實體', +tfoot : '表格底部', +del : '刪除表格', +scope : '範圍', +row : '列', +col : '行', +rowgroup : '群列', +colgroup : '群行', +missing_scope: '確定要在沒有對此表格標頭設定範圍下繼續執行嗎?\n不加以設定的話,可能會導致某些使用者無法順利讀取表格中的部份或是整體資訊。' +}); diff --git a/phpgwapi/js/tiny_mce/plugins/table/merge_cells.htm b/phpgwapi/js/tiny_mce/plugins/table/merge_cells.htm new file mode 100644 index 0000000000..be723a9fa9 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/merge_cells.htm @@ -0,0 +1,37 @@ + + + {$lang_table_merge_cells_title} + + + + + + +
+
+ {$lang_table_merge_cells_title} + + + + + + + + + +
{$lang_table_cols}: +
{$lang_table_rows}:
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/table/readme.txt b/phpgwapi/js/tiny_mce/plugins/table/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/plugins/table/row.htm b/phpgwapi/js/tiny_mce/plugins/table/row.htm new file mode 100644 index 0000000000..64f2afcb5e --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/row.htm @@ -0,0 +1,159 @@ + + + {$lang_table_row_title} + + + + + + + + +
+ + +
+
+
+ {$lang_table_general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+
+
+ +
+
+ {$lang_table_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + +
 
+
+ + + + + +
 
+
+
+
+
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/table/table.htm b/phpgwapi/js/tiny_mce/plugins/table/table.htm new file mode 100644 index 0000000000..846f55131d --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/table/table.htm @@ -0,0 +1,155 @@ + + + {$lang_table_title} + + + + + + + + +
+ + +
+
+
+ {$lang_table_general_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ +
+
+ {$lang_table_advanced_props} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + +
 
+
+ + + + + +
 
+
+ + + + + +
 
+
+
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/plugins/zoom/editor_plugin.js b/phpgwapi/js/tiny_mce/plugins/zoom/editor_plugin.js new file mode 100644 index 0000000000..e1af066e60 --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/zoom/editor_plugin.js @@ -0,0 +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'';}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); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/plugins/zoom/editor_plugin_src.js b/phpgwapi/js/tiny_mce/plugins/zoom/editor_plugin_src.js new file mode 100644 index 0000000000..e7cd43607a --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/zoom/editor_plugin_src.js @@ -0,0 +1,58 @@ +/** + * $RCSfile: editor_plugin_src.js,v $ + * $Revision: 1.10 $ + * $Date: 2006/04/07 15:52:50 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +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 + }; + }, + + /** + * Returns the HTML contents of the zoom control. + */ + getControlHTML : function(control_name) { + if (!tinyMCE.isMSIE || tinyMCE.isMSIE5_0 || tinyMCE.isOpera) + return ""; + + switch (control_name) { + case "zoom": + return ''; + } + + return ""; + }, + + /** + * Executes the mceZoom command. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + // Handle commands + switch (command) { + case "mceZoom": + tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom = value; + tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom = value; + return true; + } + + // Pass to next handler in chain + return false; + } +}; + +tinyMCE.addPlugin("zoom", TinyMCE_ZoomPlugin); diff --git a/phpgwapi/js/tiny_mce/plugins/zoom/readme.txt b/phpgwapi/js/tiny_mce/plugins/zoom/readme.txt new file mode 100644 index 0000000000..4fdb78aecd --- /dev/null +++ b/phpgwapi/js/tiny_mce/plugins/zoom/readme.txt @@ -0,0 +1 @@ +Check the TinyMCE documentation for details on this plugin. diff --git a/phpgwapi/js/tiny_mce/themes/advanced/about.htm b/phpgwapi/js/tiny_mce/themes/advanced/about.htm new file mode 100644 index 0000000000..d15ff3a761 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/about.htm @@ -0,0 +1,52 @@ + + + {$lang_about_title} + + + + + + + + +
+
+

{$lang_about_title}

+

Version: {$tinymce_version} ({$tinymce_releasedate})

+

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL + by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.

+

Copyright © 2003-2006, Moxiecode Systems AB, All rights reserved.

+

For more information about this software visit the TinyMCE website.

+ +
+
+ +
+
+

{$lang_loaded_plugins}

+ +
+
+ +

 

+
+
+ +
+
+
+
+ +
+
+ +
+
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/anchor.htm b/phpgwapi/js/tiny_mce/themes/advanced/anchor.htm new file mode 100644 index 0000000000..53d7969f05 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/anchor.htm @@ -0,0 +1,33 @@ + + + {$lang_insert_anchor_title} + + + + + +
+ + + + + + + + + +
{$lang_insert_anchor_title}
{$lang_insert_anchor_name}:
+ +
+
+ +
+ +
+ +
+
+ +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/charmap.htm b/phpgwapi/js/tiny_mce/themes/advanced/charmap.htm new file mode 100644 index 0000000000..9aed1d4b5c --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/charmap.htm @@ -0,0 +1,53 @@ + + + {$lang_theme_charmap_title} + + + + + + + + + + + + + + + + + +
{$lang_theme_charmap_title}
+ + + + + + + + + +
 
 
+
+ + + + + + + + + + + + + + + + +
HTML-Code
 
 
NUM-Code
 
+
+ + + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/color_picker.htm b/phpgwapi/js/tiny_mce/themes/advanced/color_picker.htm new file mode 100644 index 0000000000..3f5a198383 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/color_picker.htm @@ -0,0 +1,13 @@ + + + {$lang_theme_colorpicker_title} + + + + + +
+ +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/css/editor_content.css b/phpgwapi/js/tiny_mce/themes/advanced/css/editor_content.css new file mode 100644 index 0000000000..182e791211 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/css/editor_content.css @@ -0,0 +1,58 @@ +/* This file contains the CSS data for the editable area(iframe) of TinyMCE */ +/* You can extend this CSS by adding your own CSS file with the the content_css option */ + +body, td, pre { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +body { + background-color: #FFFFFF; +} + +.mceVisualAid { + border: 1px dashed #BBBBBB !important; +} + +div.mceVisualAid { + background-image:url('../images/spacer.gif'); + visibility: visible !important; +} + +.mceItemAnchor { + width: 12px; + line-height: 6px; + overflow: hidden; + padding-left: 12px; + background-image: url('../images/anchor_symbol.gif'); + background-position: bottom; + background-repeat: no-repeat; +} + +/* Important is needed in Gecko browsers inorder to style links */ +/* +a { + color: green !important; +} +*/ + +/* Style selection range colors in Gecko browsers */ +/* +::-moz-selection { + background-color: red; + color: green; +} +*/ + +/* MSIE specific */ + +* html body { + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} diff --git a/phpgwapi/js/tiny_mce/themes/advanced/css/editor_popup.css b/phpgwapi/js/tiny_mce/themes/advanced/css/editor_popup.css new file mode 100644 index 0000000000..2bae9158a0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/css/editor_popup.css @@ -0,0 +1,327 @@ +/* This file contains the CSS data for all popups in TinyMCE */ + +body { + background-color: #F0F0EE; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; + margin: 8px; +} + +td { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; +} + +input { + background: #FFFFFF; + border: 1px solid #cccccc; +} + +td, input, select, textarea { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +input, select, textarea { + border: 1px solid #808080; +} + +.input_noborder { + border: 0; +} + +#insert, .updateButton { + font-weight: bold; + width: 90px; + height: 21px; + border: 0; + background-image: url('../images/insert_button_bg.gif'); + cursor: pointer; +} + +#cancel { + font-weight: bold; + width: 90px; + height: 21px; + border: 0; + background-image: url('../images/cancel_button_bg.gif'); + cursor: pointer; +} + +/* Mozilla only style */ +html>body #insert, html>body #cancel { + padding-bottom: 2px; +} + +.title { + font-size: 12px; + font-weight: bold; + color: #2B6FB6; +} + +table.charmap { + border-style: solid; + border-width: 1px; + border-color: #AAAAAA; +} + +td.charmap, td.charmapOver { + color: #000000; + border-color: #AAAAAA; + border-style: solid; + border-width: 1px; + text-align: center; + font-size: 12px; +} + +td.charmapOver { + background-color: #CCCCCC; + cursor: default; +} + +a.charmap { + color: #000000; + text-decoration: none +} + +.wordWrapCode { + vertical-align: middle; + border: 1px none #000000; + background-color: transparent; +} + +input.radio { + border: 1px none #000000; + background-color: transparent; + vertical-align: middle; +} + +input.checkbox { + border: 1px none #000000; + background-color: transparent; + vertical-align: middle; +} + +.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected { + margin-left: 1px; +} + +.mceButtonNormal { + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: default; +} + +.mceButtonOver { + border: 1px solid #0A246A; + cursor: default; + background-color: #B6BDD2; +} + +.mceButtonDown { + cursor: default; + border: 1px solid #0A246A; + background-color: #8592B5; +} + +.mceButtonDisabled { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + -moz-opacity:0.3; + opacity: 0.3; + border-top: 1px solid; + border-left: 1px solid; + border-bottom: 1px solid; + border-right: 1px solid; + border-color: #F0F0EE; + cursor: default; +} + +.mceActionPanel { + margin-top: 5px; +} + +/* Tabs classes */ + +.tabs { + float: left; + width: 100%; + line-height: normal; + background-image: url("../images/xp/tabs_bg.gif"); +} + +.tabs ul { + margin: 0; + padding: 0 0 0; + list-style: none; +} + +.tabs li { + float: left; + background: url("../images/xp/tab_bg.gif") no-repeat left top; + margin: 0; + margin-left: 0; + margin-right: 2px; + padding: 0 0 0 10px; + line-height: 18px; +} + +.tabs li.current { + background: url("../images/xp/tab_sel_bg.gif") no-repeat left top; + margin-right: 2px; +} + +.tabs span { + float: left; + display: block; + background: url("../images/xp/tab_end.gif") no-repeat right top; + padding: 0px 10px 0 0; +} + +.tabs .current span { + background: url("../images/xp/tab_sel_end.gif") no-repeat right top; +} + +.tabs a { + text-decoration: none; + font-family: Verdana, Arial; + font-size: 10px; +} + +.tabs a:link, .tabs a:visited, .tabs a:hover { + color: black; +} + +.tabs a:hover { +} + +.tabs .current { +} + +.tabs .current a, .tabs .current a:link, .tabs .current a:visited { +} + +.panel_wrapper div.panel { + display: none; +} + +.panel_wrapper div.current { + display: block; + width: 100%; + height: 300px; + overflow: visible; /* Should be auto but that breaks Safari */ +} + +.panel_wrapper { + border: 1px solid #919B9C; + border-top: 0px; + padding: 10px; + padding-top: 5px; + clear: both; + background-color: white; +} + +fieldset { + border: 1px solid #919B9C; + font-family: Verdana, Arial; + font-size: 10px; + padding: 0; + margin: 0; + padding: 4px; +} + +legend { + color: #2B6FB6; + font-weight: bold; +} + +.properties { + width: 100%; +} + +.properties .column1 { +} + +.properties .column2 { + text-align: left; +} + +a:link, a:visited { + color: black; +} + +a:hover { + color: #2B6FB6; +} + +#plugintable thead { + font-weight: bold; + background-color: #DDDDDD; +} + +#plugintable, #about #plugintable td { + border: 1px solid #919B9C; +} + +#plugintable { + width: 99%; + margin-top: 10px; +} + +#pluginscontainer { + height: 290px; + overflow: auto; +} + +/* MSIE Specific styles */ + +* html .panel_wrapper { + width: 100%; +} + +.column { + float: left; +} + +h1, h2, h3, h4 { + color: #2B6FB6; + margin: 0; + padding: 0; + padding-top: 5px; +} + +h3 { + font-size: 14px; +} + +#link .panel_wrapper, #link div.current { + height: 125px; +} + +#image .panel_wrapper, #image div.current { + height: 190px; +} + +/* Disables the advanced tab in the table plugin. */ +/* +#table #advanced_tab { + display: none; +} +*/ + +/* Disables the border input field and label in the table plugin. */ +/* +#table #border, #table #borderlabel { + display: none; +} +*/ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/css/editor_ui.css b/phpgwapi/js/tiny_mce/themes/advanced/css/editor_ui.css new file mode 100644 index 0000000000..c51be6c894 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/css/editor_ui.css @@ -0,0 +1,353 @@ +/* This file contains the CSS data for the editor UI of TinyMCE instances */ + +.mceToolbarTop a, .mceToolbarTop a:visited, .mceToolbarTop a:hover, .mceToolbarBottom a, .mceToolbarBottom a:visited, .mceToolbarBottom a:hover { + border: 0; margin: 0; padding: 0; background: transparent; +} + +.mceSeparatorLine { + border: 0; + padding: 0; + margin-left: 4px; + margin-right: 2px; +} + +.mceSelectList { + font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; + font-size: 7pt !important; + font-weight: normal; + margin-top: 3px; + padding: 0; + display: inline; + vertical-align: top; + background-color: #F0F0EE; +} + +.mceLabel, .mceLabelDisabled { + font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; + font-size: 9pt; +} + +.mceLabel { + color: #000000; +} + +.mceLabelDisabled { + cursor: text; + color: #999999; +} + +.mceEditor { + background: #F0F0EE; + border: 1px solid #cccccc; + padding: 0; + margin: 0; +} + +.mceEditorArea { + font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; + background: #FFFFFF; + padding: 0; + margin: 0; +} + +.mceToolbarTop, .mceToolbarBottom { + background: #F0F0EE; + line-height: 1px; + font-size: 1px; +} + +.mceToolbarTop { + border-bottom: 1px solid #cccccc; + padding-bottom: 1px; +} + +.mceToolbarBottom { + border-top: 1px solid #cccccc; +} + +.mceStatusbarTop, .mceStatusbarBottom, .mceStatusbar { + height: 20px; +} + +.mceStatusbarTop .mceStatusbarPathText, .mceStatusbarBottom .mceStatusbarPathText, .mceStatusbar .mceStatusbarPathText { + font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; + font-size: 9pt; + padding: 2px; + line-height: 16px; + overflow: visible; +} + +.mceStatusbarTop { + border-bottom: 1px solid #cccccc; +} + +.mceStatusbarBottom { + border-top: 1px solid #cccccc; +} + +.mceStatusbar { + border-bottom: 1px solid #cccccc; +} + +.mcePathItem, .mcePathItem:link, .mcePathItem:visited, .mcePathItem:hover { + text-decoration: none; + font-family: 'MS Sans Serif', sans-serif, Verdana, Arial; + font-size: 9pt; + color: #000000; +} + +.mcePathItem:hover { + text-decoration: underline; +} + +.mceStatusbarPathText { + float: left; +} + +.mceStatusbarResize { + float: right; + background-image: url('../images/statusbar_resize.gif'); + background-repeat: no-repeat; + width: 11px; + height: 20px; + cursor: se-resize; +} + +.mceResizeBox { + width: 10px; + height: 10px; + display: none; + border: 1px dotted gray; + margin: 0; + padding: 0; +} + +.mceEditorIframe { + border: 0; +} + +/* Button CSS rules */ + +a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img { + width: 20px; + height: 20px; + cursor: default; + margin-top: 1px; + margin-left: 1px; +} + +a.mceButtonDisabled img { + border: 0 !important; +} + +a.mceButtonNormal img, a.mceButtonSelected img { + border: 1px solid #F0F0EE !important; +} + +a.mceButtonSelected img { + border: 1px solid #6779AA !important; + background-color: #D4D5D8; +} + +a.mceButtonNormal img:hover, a.mceButtonSelected img:hover { + border: 1px solid #0A246A !important; + cursor: default; + background-color: #B6BDD2; +} + +a.mceButtonDisabled img { + -moz-opacity:0.3; + opacity: 0.3; + border: 1px solid #F0F0EE !important; + cursor: default; +} + +a.mceTiledButton img { + background-image: url('../images/buttons.gif'); + background-repeat: no-repeat; +} + +/* MSIE specific rules */ + +* html a.mceButtonNormal img, * html a.mceButtonSelected img, * html a.mceButtonDisabled img { + border: 0 !important; + margin-top: 2px; + margin-bottom: 1px; +} + +* html a.mceButtonDisabled img { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + border: 0 !important; +} + +* html a.mceButtonDisabled { + border: 1px solid #F0F0EE !important; +} + +* html a.mceButtonNormal, * html a.mceButtonSelected { + border: 1px solid #F0F0EE !important; + cursor: default; +} + +* html a.mceButtonSelected { + border: 1px solid #6779AA !important; + background-color: #D4D5D8; +} + +* html a.mceButtonNormal:hover, * html a.mceButtonSelected:hover { + border: 1px solid #0A246A !important; + cursor: default; + background-color: #B6BDD2; +} + +* html .mceSelectList { + margin-top: 2px; +} + +/* Menu button CSS rules */ + +span.mceMenuButton img, span.mceMenuButtonSelected img { + border: 1px solid #F0F0EE; + margin-left: 1px; +} + +span.mceMenuButtonSelected img { + border: 1px solid #6779AA; + background-color: #B6BDD2; +} + +span.mceMenuButtonSelected img.mceMenuButton { + border: 1px solid #F0F0EE; + background-color: transparent; +} + +span.mceMenuButton img.mceMenuButton, span.mceMenuButtonSelected img.mceMenuButton { + border-left: 0; + margin-left: 0; +} + +span.mceMenuButton:hover img, span.mceMenuButtonSelected:hover img { + border: 1px solid #0A246A; + background-color: #B6BDD2; +} + +span.mceMenuButton:hover img.mceMenuButton, span.mceMenuButtonSelected:hover img.mceMenuButton { + border-left: 0; +} + +span.mceMenuButtonFocus img { + border: 1px solid gray; + border-right: 0; + margin-left: 1px; + background-color: #F5F4F2; +} + +span.mceMenuButtonFocus img.mceMenuButton { + border: 1px solid gray; + border-left: 1px solid #F5F4F2; + margin-left: 0; +} + +/* Menu button MSIE specific rules */ + +* html span.mceMenuButton, * html span.mceMenuButtonFocus { + position: relative; + left: 0; + top: 0; +} + +* html span.mceMenuButton img, * html span.mceMenuButtonSelected img, * html span.mceMenuButtonFocus img { + position: relative; + top: 1px; +} + +* html span.mceMenuHover img { + border: 1px solid #0A246A; + background-color: #B6BDD2; +} + +* html span.mceMenuButtonSelected.mceMenuHover img.mceMenuButton { + border: 1px solid #0A246A; + background-color: #B6BDD2; + border-left: 0; +} + +/* Menu */ + +.mceMenu { + position: absolute; + left: 0; + top: 0; + display: none; + z-index: 100; + background-color: white; + border: 1px solid gray; + font-weight: normal; +} + +.mceMenu a, .mceMenuTitle, .mceMenuDisabled { + display: block; + width: 100%; + text-decoration: none; + background-color: white; + font-family: Tahoma, Verdana, Arial, Helvetica; + font-size: 11px; + line-height: 20px; + color: black; +} + +.mceMenu a:hover { + background-color: #B6BDD2; + color: black; + text-decoration: none !important; +} + +.mceMenu span { + padding-left: 10px; + padding-right: 10px; + display: block; + line-height: 20px; +} + +.mceMenuSeparator { + border-bottom: 1px solid gray; + background-color: gray; + height: 1px; +} + +.mceMenuTitle span { + padding-left: 5px; +} + +.mceMenuTitle { + background-color: #DDDDDD; + font-weight: bold; +} + +.mceMenuDisabled { + color: gray; +} + +span.mceMenuSelectedItem { + background-image: url('../images/menu_check.gif'); + background-repeat: no-repeat; + background-position: 5px 8px; + padding-left: 20px; +} + +span.mceMenuCheckItem { + padding-left: 20px; +} + +span.mceMenuLine { + display: block; + position: absolute; + left: 0; + top: -1px; + background-color: #F5F4F2; + width: 30px; + height: 1px; + overflow: hidden; + padding-left: 0; + padding-right: 0; +} diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/about.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/about.htm new file mode 100644 index 0000000000..a6957a6514 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/about.htm @@ -0,0 +1,31 @@ + + +About TinyMCE + + + + + + + + + + + +
+
+TinyMCE is a small WYSIWYG editor control for web browsers such as MSIE or Mozilla +that enables you to edit HTML contents in a more user friendly way. It has common +features that are found in most word processors and should not be difficult to +use.
+
+
+ + + + + + +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/common_buttons.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/common_buttons.htm new file mode 100644 index 0000000000..518b28551b --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/common_buttons.htm @@ -0,0 +1,162 @@ + + +Common buttons + + + + + + + + + + + +
+
+Below is a short description about each button. +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Bold text iconBold text style (Ctrl+B).
Italic text iconItalic text style (Ctrl+I).
Underline text icon.Underline text style (Ctrl+U).
Strikethrough text icon.Strikethrough text style.
Align left icon.Align left.
Align center icon.Align center.
Align right icon.Align right.
Align full icon.Align full.
Unordered list/bullet list icon.Unordered list/bullet list.
Ordered list/numbered list icon.Ordered list/numbered list
Outdent/decrease indentation icon.Outdent/decrease indentation.
Indent/increase indentation icon.Indent/increase indentation.
Undo the last operation.Undo the last operation (Ctrl+Z).
Redo the last operation icon.Redo the last operation (Ctrl+Y).
Insert a new link icon.Insert a new link, read more about this function in the Insert + link section.
Unlinks the current selection icon.Unlinks the current selection/removes all selected links.
Insert a new anchor icon.Insert a new anchor, read more about this function in the Insert anchor section.
Insert a new image icon.Insert a new image, read more about this function in the Insert + image section.
Cleanup code icon.Cleanup code/Removes unwanted formating. This function is useful when + you copy contents from for example a office product.
Show help icon.Shows this help window.
Source code editor icon.Opens HTML source code editor.
Insert table icon.Inserts a new table at the current location.
Adds a row above icon.Adds a row above the current one.
Adds a row under icon.Adds a row under the current one.
Remove row icon.Removes the row.
Add column before icon.Adds a column before the current one.
Add column after icon.Adds a column after the current one.
Remove column icon.Removes the current column.
Insert horizontal ruler icon.Inserts a new horizontal ruler
Remove formatting icon.Removes formatting from the selection.
Subscript icon.Makes the selection to be subscript.
Superscript icon.Makes the selection to be superscripted.
+
+
+ + + + + + + + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm new file mode 100644 index 0000000000..f4070a31db --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm @@ -0,0 +1,45 @@ + + +Insert table button + + + + + + + + + + + +
+

TinyMCE can create HTML content that will be accessible to all users, including those with disabilities using assistive technologies, as well as those using text-based browsers, or those browsing the Web with images turned off.

+ +

Things you can do to make your content accessible:

+
    +
  1. Include an Image Description: Blind users, or others who are unable to view images, will rely on the Image Description (or Alt text) to take the place of the image. If an image contains no meaning, such as a decoration or a spacer image, leave the Image Description empty. TinyMCE will then insert an empty Alt text attribute that will force assistive technologies to ignore the image.

  2. + +
  3. Add Scope to data table header cells: In the table cell editor dialog window, choose a Scope when creating Header cells so the column or row label in that cell becomes explicitely associated with its data cells. Table cell headers will then be announced with each data cell, making it easier for blind users using a screen reader to understand what the content of each cell represents.

  4. + +
  5. Structure content with properly nested headings: In the format selection menu choose Heading 1 to Heading 6 to represent headings in your content, rather than using other font formating options. Blind users using a screen reader can then extract the headings from the page to generate a summary of the content it contains, and use those headings to navigate quickly to subsections within the page.

  6. + +
  7. Include alternate content: Create an alternate page for non-HTML content such as Flash, Java applets, or embedded movies. This might be a static image, with a description of the image, and a description of the content that would have appeared in its place. An alternate HTML page could also be created, and a link to it included next to the non-HTML object. This will ensure that the content will be accessible to users of assistive technologies that can not view or play the content, and ensure the content will be available to those who do not have the appropriate plugin or helper application installed.

  8. + +
  9. Check accessbility: When the AChecker plugin is installed with TinyMCE, click on the Check Accessibility button to generate a report of potential accessibility problems.

  10. + +
+ +

See the AChecker Web Site for further details about creating content that will be accessible to all users.
+

+ +
+ + + + + + + +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif new file mode 100644 index 0000000000..5b5f528dd5 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif new file mode 100644 index 0000000000..cdc617eab3 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif new file mode 100644 index 0000000000..7bad7583ab Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif new file mode 100644 index 0000000000..6a032c5ae8 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/index.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/index.htm new file mode 100644 index 0000000000..9810a93b02 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/index.htm @@ -0,0 +1,27 @@ + + +Help Index + + + + + + + + + +
+
+Click the links below to go to the different help sections. + +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm new file mode 100644 index 0000000000..332cbc687a --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm @@ -0,0 +1,32 @@ + + +Insert anchor button + + + + + + + + + + + +
+
+This button opens a new window with the insert/edit anchor function.
+
+Anchor dialog/window
+
+There are one field in this window, this is where you enter the name of you anchor point. Remember the anchor name needs to be unique.
+
+
+ + + + + + +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_image_button.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_image_button.htm new file mode 100644 index 0000000000..1529648d56 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_image_button.htm @@ -0,0 +1,65 @@ + + +Insert image button + + + + + + + + + + + +
+
+The insert image button opens the window shown below.
+
+Insert image dialog/window
+
+You simply enter a URL to the image you want to link to and enter a image description, +this is then displayed as an alternative text descripton of the image on the page.
+
+Field descriptions:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Image URL URL/path to the image.
Image description Alternative description of image contents.
DimentionsImage width/height.
AlignmentImage alignment, useful when wrapping text around images.
BorderBorder thickness.
VSpaceVertical space, useful when wrapping text around images.
HSpaceHorizontal space, useful when wrapping text around images.
+
+
+ + + + + + +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_link_button.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_link_button.htm new file mode 100644 index 0000000000..4f6445076c --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_link_button.htm @@ -0,0 +1,33 @@ + + +Insert link button + + + + + + + + + + + +
+
+This button opens a new window with the insert/edit link function.
+
+Insert link dialog/window
+
+There are two fields in this window the first one "Link URL" is the +URL of the link. The target enables you to select how the link is to be opened.
+
+
+ + + + + + +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_table_button.htm b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_table_button.htm new file mode 100644 index 0000000000..f352a05169 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/insert_table_button.htm @@ -0,0 +1,71 @@ + + +Insert table button + + + + + + + + + + + +
+
+The insert table button opens the window shown below. This action enables you to create tables.
+
+Image of table window
+
+Field descriptions:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ColumnsNumber of columns in the table.
RowsNumber of rows in the new table.
CellpaddingCellpadding of the table .
CellspacingCellspacing of the table .
AlignmentTable alignment .
BorderBorder thinkness of table.
WidthWidth in pixels of table .
HeightHeight in pixels of table.
ClassStyle or CSS class of table.
+
+
+
+ + + + + + +
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/docs/en/style.css b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/style.css new file mode 100644 index 0000000000..ebc05380ec --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/docs/en/style.css @@ -0,0 +1,28 @@ +body { background-color: #FFFFFF; } +body, td, .content { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 12px; } +.title { font-family: Verdana, Arial, helvetica, sans-serif; font-size: 16px; font-weight: bold; } +.subtitle { font-size: 12px; font-weight: bold; } + +.toc_ul, .toc_li { margin-left: 8px; line-height: 16px; } +.step_ol, .step_li { margin-left: 11px; line-height: 16px; } +img { border: #000000 solid 1px; } + +a:visited { color: #666666; text-decoration: underline; } +a:active { color: #666666; text-decoration: underline; } +a:hover { color: #666666; text-decoration: underline; } +a { color: #666666; text-decoration: underline; } + +.pageheader { border: #E0E0E0 solid 1px; } +.pagefooter { border: #E0E0E0 solid 1px; } +.sample { background-color: #FFFFFF; border: #000000 solid 1px; } +.samplecontent { font-size: 10px; } + +.code { background-color: #FFFFFF; border: #000000 solid 1px; } +.codecontent { font-size: 10px; } +.codecontent a:visited { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:active { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a:hover { color: #666666; text-decoration: none; font-weight: bold } +.codecontent a { color: #666666; text-decoration: none; font-weight: bold } + +hr { height: 1px; } + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/editor_template.js b/phpgwapi/js/tiny_mce/themes/advanced/editor_template.js new file mode 100644 index 0000000000..0292b64cce --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/editor_template.js @@ -0,0 +1 @@ +tinyMCE.importThemeLanguagePack('advanced');var TinyMCE_AdvancedTheme={_autoImportCSSClasses:true,_resizer:{},_buttons:[['bold','{$lang_bold_img}','lang_bold_desc','Bold'],['italic','{$lang_italic_img}','lang_italic_desc','Italic'],['underline','{$lang_underline_img}','lang_underline_desc','Underline'],['strikethrough','strikethrough.gif','lang_striketrough_desc','Strikethrough'],['justifyleft','justifyleft.gif','lang_justifyleft_desc','JustifyLeft'],['justifycenter','justifycenter.gif','lang_justifycenter_desc','JustifyCenter'],['justifyright','justifyright.gif','lang_justifyright_desc','JustifyRight'],['justifyfull','justifyfull.gif','lang_justifyfull_desc','JustifyFull'],['bullist','bullist.gif','lang_bullist_desc','InsertUnorderedList'],['numlist','numlist.gif','lang_numlist_desc','InsertOrderedList'],['outdent','outdent.gif','lang_outdent_desc','Outdent'],['indent','indent.gif','lang_indent_desc','Indent'],['cut','cut.gif','lang_cut_desc','Cut'],['copy','copy.gif','lang_copy_desc','Copy'],['paste','paste.gif','lang_paste_desc','Paste'],['undo','undo.gif','lang_undo_desc','Undo'],['redo','redo.gif','lang_redo_desc','Redo'],['link','link.gif','lang_link_desc','mceLink',true],['unlink','unlink.gif','lang_unlink_desc','unlink'],['image','image.gif','lang_image_desc','mceImage',true],['cleanup','cleanup.gif','lang_cleanup_desc','mceCleanup'],['help','help.gif','lang_help_desc','mceHelp'],['code','code.gif','lang_theme_code_desc','mceCodeEditor'],['hr','hr.gif','lang_theme_hr_desc','inserthorizontalrule'],['removeformat','removeformat.gif','lang_theme_removeformat_desc','removeformat'],['sub','sub.gif','lang_theme_sub_desc','subscript'],['sup','sup.gif','lang_theme_sup_desc','superscript'],['forecolor','forecolor.gif','lang_theme_forecolor_desc','mceForeColor',true],['backcolor','backcolor.gif','lang_theme_backcolor_desc','mceBackColor',true],['charmap','charmap.gif','lang_theme_charmap_desc','mceCharMap'],['visualaid','visualaid.gif','lang_theme_visualaid_desc','mceToggleVisualAid'],['anchor','anchor.gif','lang_theme_anchor_desc','mceInsertAnchor'],['newdocument','newdocument.gif','lang_newdocument_desc','mceNewDocument']],_buttonMap:'anchor,backcolor,bold,bullist,charmap,cleanup,code,copy,cut,forecolor,help,hr,image,indent,italic,justifycenter,justifyfull,justifyleft,justifyright,link,newdocument,numlist,outdent,paste,redo,removeformat,strikethrough,sub,sup,underline,undo,unlink,visualaid,advhr,ltr,rtl,emotions,flash,fullpage,fullscreen,iespell,insertdate,inserttime,pastetext,pasteword,selectall,preview,print,save,replace,search,table,cell_props,delete_col,delete_row,col_after,col_before,row_after,row_before,merge_cells,row_props,split_cells',getControlHTML:function(button_name){var i,x;for(i=0;i4?but[4]:false),(but.length>5?but[5]:null));}switch(button_name){case"formatselect":var html='';return html;case"styleselect":return'';case"fontselect":var fontHTML='';return fontHTML;case"fontsizeselect":return'';case"|":case"separator":return'';case"spacer":return'';case"rowseparator":return'
';}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceLink":var inst=tinyMCE.getInstanceById(editor_id);var doc=inst.getDoc();var selectedText="";if(tinyMCE.isMSIE){var rng=doc.selection.createRange();selectedText=rng.text;}else selectedText=inst.getSel().toString();if(!tinyMCE.linkElement){if((tinyMCE.selectedElement.nodeName.toLowerCase()!="img")&&(selectedText.length<=0))return true;}var href="",target="",title="",onclick="",action="insert",style_class="";if(tinyMCE.selectedElement.nodeName.toLowerCase()=="a")tinyMCE.linkElement=tinyMCE.selectedElement;if(tinyMCE.linkElement!=null&&tinyMCE.getAttrib(tinyMCE.linkElement,'href')=="")tinyMCE.linkElement=null;if(tinyMCE.linkElement){href=tinyMCE.getAttrib(tinyMCE.linkElement,'href');target=tinyMCE.getAttrib(tinyMCE.linkElement,'target');title=tinyMCE.getAttrib(tinyMCE.linkElement,'title');onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');style_class=tinyMCE.getAttrib(tinyMCE.linkElement,'class');if(onclick=="")onclick=tinyMCE.getAttrib(tinyMCE.linkElement,'onclick');onclick=tinyMCE.cleanupEventStr(onclick);href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);");mceRealHref=tinyMCE.getAttrib(tinyMCE.linkElement,'mce_href');if(mceRealHref!=""){href=mceRealHref;if(tinyMCE.getParam('convert_urls'))href=eval(tinyMCE.settings['urlconverter_callback']+"(href, tinyMCE.linkElement, true);");}action="update";}var template=new Array();template['file']='link.htm';template['width']=310;template['height']=200;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);if(inst.settings['insertlink_callback']){var returnVal=eval(inst.settings['insertlink_callback']+"(href, target, title, onclick, action, style_class);");if(returnVal&&returnVal['href'])TinyMCE_AdvancedTheme._insertLink(returnVal['href'],returnVal['target'],returnVal['title'],returnVal['onclick'],returnVal['style_class']);}else{tinyMCE.openWindow(template,{href:href,target:target,title:title,onclick:onclick,action:action,className:style_class,inline:"yes"});}return true;case"mceImage":var src="",alt="",border="",hspace="",vspace="",width="",height="",align="";var title="",onmouseover="",onmouseout="",action="insert";var img=tinyMCE.imgElement;var inst=tinyMCE.getInstanceById(editor_id);if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){img=tinyMCE.selectedElement;tinyMCE.imgElement=img;}if(img){if(tinyMCE.getAttrib(img,'name').indexOf('mce_')==0)return true;src=tinyMCE.getAttrib(img,'src');alt=tinyMCE.getAttrib(img,'alt');if(alt=="")alt=tinyMCE.getAttrib(img,'title');if(tinyMCE.isGecko){var w=img.style.width;if(w!=null&&w!="")img.setAttribute("width",w);var h=img.style.height;if(h!=null&&h!="")img.setAttribute("height",h);}border=tinyMCE.getAttrib(img,'border');hspace=tinyMCE.getAttrib(img,'hspace');vspace=tinyMCE.getAttrib(img,'vspace');width=tinyMCE.getAttrib(img,'width');height=tinyMCE.getAttrib(img,'height');align=tinyMCE.getAttrib(img,'align');onmouseover=tinyMCE.getAttrib(img,'onmouseover');onmouseout=tinyMCE.getAttrib(img,'onmouseout');title=tinyMCE.getAttrib(img,'title');if(tinyMCE.isMSIE){width=img.attributes['width'].specified?width:"";height=img.attributes['height'].specified?height:"";}src=eval(tinyMCE.settings['urlconverter_callback']+"(src, img, true);");mceRealSrc=tinyMCE.getAttrib(img,'mce_src');if(mceRealSrc!=""){src=mceRealSrc;if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, img, true);");}action="update";}var template=new Array();template['file']='image.htm?src={$src}';template['width']=355;template['height']=265+(tinyMCE.isMSIE?25:0);template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);if(inst.settings['insertimage_callback']){var returnVal=eval(inst.settings['insertimage_callback']+"(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);");if(returnVal&&returnVal['src'])TinyMCE_AdvancedTheme._insertImage(returnVal['src'],returnVal['alt'],returnVal['border'],returnVal['hspace'],returnVal['vspace'],returnVal['width'],returnVal['height'],returnVal['align'],returnVal['title'],returnVal['onmouseover'],returnVal['onmouseout']);}else tinyMCE.openWindow(template,{src:src,alt:alt,border:border,hspace:hspace,vspace:vspace,width:width,height:height,align:align,title:title,onmouseover:onmouseover,onmouseout:onmouseout,action:action,inline:"yes"});return true;case"mceForeColor":var template=new Array();var elm=tinyMCE.selectedInstance.getFocusElement();var inputColor=tinyMCE.getAttrib(elm,"color");if(inputColor=='')inputColor=elm.style.color;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=220;template['height']=190;tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",command:"forecolor",input_color:inputColor});return true;case"mceBackColor":var template=new Array();var elm=tinyMCE.selectedInstance.getFocusElement();var inputColor=elm.style.backgroundColor;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=220;template['height']=190;template['width']+=tinyMCE.getLang('lang_theme_advanced_backcolor_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_backcolor_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",command:"HiliteColor",input_color:inputColor});return true;case"mceColorPicker":if(user_interface){var template=new Array();var inputColor=value['document'].getElementById(value['element_id']).value;template['file']='color_picker.htm';template['width']=220;template['height']=190;template['close_previous']="no";template['width']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height',0);if(typeof(value['store_selection'])=="undefined")value['store_selection']=true;tinyMCE.lastColorPickerValue=value;tinyMCE.openWindow(template,{editor_id:editor_id,mce_store_selection:value['store_selection'],inline:"yes",command:"mceColorPicker",input_color:inputColor});}else{var savedVal=tinyMCE.lastColorPickerValue;var elm=savedVal['document'].getElementById(savedVal['element_id']);elm.value=value;if(elm.onchange!=null&&elm.onchange!='')eval('elm.onchange();');}return true;case"mceCodeEditor":var template=new Array();template['file']='source_editor.htm';template['width']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_width",720));template['height']=parseInt(tinyMCE.getParam("theme_advanced_source_editor_height",580));tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"no",inline:"yes"});return true;case"mceCharMap":var template=new Array();template['file']='charmap.htm';template['width']=550+(tinyMCE.isOpera?40:0);template['height']=250;template['width']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_charmap_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceInsertAnchor":var template=new Array();template['file']='anchor.htm';template['width']=320;template['height']=90+(tinyMCE.isNS7?30:0);template['width']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_width',0);template['height']+=tinyMCE.getLang('lang_theme_advanced_anchor_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceNewDocument":if(confirm(tinyMCE.getLang('lang_newdocument')))tinyMCE.execInstanceCommand(editor_id,'mceSetContent',false,' ');return true;}return false;},getEditorTemplate:function(settings,editorId){function removeFromArray(in_array,remove_array){var outArray=new Array();for(var i=0;i 

';var layoutManager=tinyMCE.getParam("theme_advanced_layout_manager","SimpleLayout");var styleSelectHTML='';if(settings['theme_advanced_styles']){var stylesAr=settings['theme_advanced_styles'].split(';');for(var i=0;i'+key+'';}TinyMCE_AdvancedTheme._autoImportCSSClasses=false;}switch(layoutManager){case"SimpleLayout":var toolbarHTML="";var toolbarLocation=tinyMCE.getParam("theme_advanced_toolbar_location","bottom");var toolbarAlign=tinyMCE.getParam("theme_advanced_toolbar_align","center");var pathLocation=tinyMCE.getParam("theme_advanced_path_location","none");var statusbarLocation=tinyMCE.getParam("theme_advanced_statusbar_location",pathLocation);var defVals={theme_advanced_buttons1:"bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,separator,sub,sup,separator,charmap"};toolbarHTML+='0){toolbarHTML+="
";deltaHeight-=23;}}toolbarHTML+='
';template['html']='';if(toolbarLocation=="top"){template['html']+='';}if(statusbarLocation=="top"){template['html']+='';deltaHeight-=23;}template['html']+='';if(toolbarLocation=="bottom"){template['html']+='';}if(toolbarLocation=="external"){var bod=document.body;var elm=document.createElement("div");toolbarHTML=tinyMCE.replaceVar(toolbarHTML,'style_select_options',styleSelectHTML);toolbarHTML=tinyMCE.applyTemplate(toolbarHTML,{editor_id:editorId});elm.className="mceToolbarExternal";elm.id=editorId+"_toolbar";elm.innerHTML='
'+toolbarHTML+'
'+statusbarHTML+'
'+toolbarHTML+'
'+toolbarHTML+'
';bod.appendChild(elm);deltaHeight=0;tinyMCE.getInstanceById(editorId).toolbarElement=elm;}else{tinyMCE.getInstanceById(editorId).toolbarElement=null;}if(statusbarLocation=="bottom"){template['html']+=''+statusbarHTML+'';deltaHeight-=23;}template['html']+='';break;case"RowLayout":template['html']='';var containers=tinyMCE.getParam("theme_advanced_containers","",true,",");var defaultContainerCSS=tinyMCE.getParam("theme_advanced_containers_default_class","container");var defaultContainerAlign=tinyMCE.getParam("theme_advanced_containers_default_align","center");for(var i=0;i';else if(containers[i]=="mceElementpath"||containers[i]=="mceStatusbar"){var pathClass="mceStatusbar";if(i==containers.length-1){pathClass="mceStatusbarBottom";}else if(i==0){pathClass="mceStatusbar";}else{deltaHeight-=2;}template['html']+='';deltaHeight-=22;}else{var curContainer=tinyMCE.getParam("theme_advanced_container_"+containers[i],"",true,',');var curContainerHTML="";var curAlign=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align",defaultContainerAlign);var curCSS=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class",defaultContainerCSS);for(var j=0;j0){curContainerHTML+="
";deltaHeight-=23;}template['html']+='
';}}template['html']+='
'+statusbarHTML+'
'+curContainerHTML+'
';break;case"CustomLayout":var customLayout=tinyMCE.getParam("theme_advanced_custom_layout","");if(customLayout!=""&&eval("typeof("+customLayout+")")!="undefined"){template=eval(customLayout+"(template);");}break;}if(resizing)template['html']+='';template['html']=tinyMCE.replaceVar(template['html'],'style_select_options',styleSelectHTML);template['delta_width']=0;template['delta_height']=deltaHeight;return template;},initInstance:function(inst){if(tinyMCE.getParam("theme_advanced_resizing",false)){if(tinyMCE.getParam("theme_advanced_resizing_use_cookie",true)){var w=TinyMCE_AdvancedTheme._getCookie("TinyMCE_"+inst.editorId+"_width");var h=TinyMCE_AdvancedTheme._getCookie("TinyMCE_"+inst.editorId+"_height");TinyMCE_AdvancedTheme._resizeTo(inst,w,h,tinyMCE.getParam("theme_advanced_resize_horizontal",true));}}inst.addShortcut('ctrl','k','lang_link_desc','mceLink');},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection,setup_content){function selectByValue(select_elm,value,first_index){first_index=typeof(first_index)=="undefined"?false:true;if(select_elm){for(var i=0;i=0;i--){var nodeName=path[i].nodeName.toLowerCase();var nodeData="";if(nodeName=="b"){nodeName="strong";}if(nodeName=="i"){nodeName="em";}if(nodeName=="span"){var cn=tinyMCE.getAttrib(path[i],"class");if(cn!=""&&cn.indexOf('mceItem')==-1)nodeData+="class: "+cn+" ";var st=tinyMCE.getAttrib(path[i],"style");if(st!=""){st=tinyMCE.serializeStyle(tinyMCE.parseStyle(st));nodeData+="style: "+st+" ";}}if(nodeName=="font"){if(tinyMCE.getParam("convert_fonts_to_spans"))nodeName="span";var face=tinyMCE.getAttrib(path[i],"face");if(face!="")nodeData+="font: "+face+" ";var size=tinyMCE.getAttrib(path[i],"size");if(size!="")nodeData+="size: "+size+" ";var color=tinyMCE.getAttrib(path[i],"color");if(color!="")nodeData+="color: "+color+" ";}if(getAttrib(path[i],'id')!=""){nodeData+="id: "+path[i].getAttribute('id')+" ";}var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1)nodeData+="class: "+className+" ";if(getAttrib(path[i],'src')!=""){var src=tinyMCE.getAttrib(path[i],"mce_src");if(src=="")src=tinyMCE.getAttrib(path[i],"src");nodeData+="src: "+src+" ";}if(getAttrib(path[i],'href')!=""){var href=tinyMCE.getAttrib(path[i],"mce_href");if(href=="")href=tinyMCE.getAttrib(path[i],"href");nodeData+="href: "+href+" ";}if(nodeName=="img"&&tinyMCE.getAttrib(path[i],"class").indexOf('mceItemFlash')!=-1){nodeName="flash";nodeData="src: "+path[i].getAttribute('title');}if(nodeName=="a"&&(anchor=tinyMCE.getAttrib(path[i],"name"))!=""){nodeName="a";nodeName+="#"+anchor;nodeData="";}if(getAttrib(path[i],'name').indexOf("mce_")!=0){var className=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i],"class"),false);if(className!=""&&className.indexOf('mceItem')==-1){nodeName+="."+className;}}var cmd='tinyMCE.execInstanceCommand(\''+editor_id+'\',\'mceSelectNodeDepth\',false,\''+i+'\');';html+=''+nodeName+'';if(i>0){html+=" » ";}}pathElm.innerHTML=''+tinyMCE.getLang('lang_theme_path')+": "+html+' ';}tinyMCE.switchClass(editor_id+'_justifyleft','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyright','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifycenter','mceButtonNormal');tinyMCE.switchClass(editor_id+'_justifyfull','mceButtonNormal');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');tinyMCE.switchClass(editor_id+'_sub','mceButtonNormal');tinyMCE.switchClass(editor_id+'_sup','mceButtonNormal');tinyMCE.switchClass(editor_id+'_anchor','mceButtonNormal');tinyMCE.switchClass(editor_id+'_link','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_unlink','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_outdent','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_image','mceButtonNormal');tinyMCE.switchClass(editor_id+'_hr','mceButtonNormal');if(node.nodeName=="A"&&tinyMCE.getAttrib(node,"class").indexOf('mceItemAnchor')!=-1)tinyMCE.switchClass(editor_id+'_anchor','mceButtonSelected');var anchorLink=tinyMCE.getParentElement(node,"a","href");if(anchorLink||any_selection){tinyMCE.switchClass(editor_id+'_link',anchorLink?'mceButtonSelected':'mceButtonNormal');tinyMCE.switchClass(editor_id+'_unlink',anchorLink?'mceButtonSelected':'mceButtonNormal');}tinyMCE.switchClass(editor_id+'_visualaid',visual_aid?'mceButtonSelected':'mceButtonNormal');if(undo_levels!=-1){tinyMCE.switchClass(editor_id+'_undo','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_redo','mceButtonDisabled');}if(tinyMCE.getParentElement(node,"li,blockquote"))tinyMCE.switchClass(editor_id+'_outdent','mceButtonNormal');if(undo_index!=-1&&(undo_index0))tinyMCE.switchClass(editor_id+'_redo','mceButtonNormal');if(undo_index!=-1&&(undo_index>0&&undo_levels>0))tinyMCE.switchClass(editor_id+'_undo','mceButtonNormal');var selectElm=document.getElementById(editor_id+"_styleSelect");if(selectElm){TinyMCE_AdvancedTheme._setupCSSClasses(editor_id);classNode=node;breakOut=false;var index=0;do{if(classNode&&classNode.className){for(var i=0;i");else selectByValue(selectElm,"");}var selectElm=document.getElementById(editor_id+"_fontNameSelect");if(selectElm){if(!tinyMCE.isSafari&&!(tinyMCE.isMSIE&&!tinyMCE.isOpera)){var face=inst.queryCommandValue('FontName');face=face==null||face==""?"":face;selectByValue(selectElm,face,face!="");}else{var elm=tinyMCE.getParentElement(node,"font","face");if(elm){var family=tinyMCE.getAttrib(elm,"face");if(family=='')family=''+elm.style.fontFamily;if(!selectByValue(selectElm,family,family!=""))selectByValue(selectElm,"");}else selectByValue(selectElm,"");}}var selectElm=document.getElementById(editor_id+"_fontSizeSelect");if(selectElm){if(!tinyMCE.isSafari&&!tinyMCE.isOpera){var size=inst.queryCommandValue('FontSize');selectByValue(selectElm,size==null||size==""?"0":size);}else{var elm=tinyMCE.getParentElement(node,"font","size");if(elm){var size=tinyMCE.getAttrib(elm,"size");if(size==''){var sizes=new Array('','8px','10px','12px','14px','18px','24px','36px');size=''+elm.style.fontSize;for(var i=0;i0)selectElm.setAttribute('cssImported','true');}},_setCookie:function(name,value,expires,path,domain,secure){var curCookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?"; path="+escape(path):"")+((domain)?"; domain="+domain:"")+((secure)?"; secure":"");document.cookie=curCookie;},_getCookie:function(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null;}else begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1)end=dc.length;return unescape(dc.substring(begin+prefix.length,end));},_resizeTo:function(inst,w,h,set_w){var editorContainer=document.getElementById(inst.editorId+'_parent');var tableElm=editorContainer.firstChild;var iframe=inst.iframeElement;if(w==null||w=="null"){set_w=false;w=0;}if(h==null||h=="null")return;w=parseInt(w);h=parseInt(h);if(tinyMCE.isGecko){w+=2;h+=2;}var dx=w-tableElm.clientWidth;var dy=h-tableElm.clientHeight;w=w<1?30:w;h=h<1?30:h;if(set_w)tableElm.style.width=w+"px";tableElm.style.height=h+"px";iw=iframe.clientWidth+dx;ih=iframe.clientHeight+dy;iw=iw<1?30:iw;ih=ih<1?30:ih;if(tinyMCE.isGecko){iw-=2;ih-=2;}if(set_w)iframe.style.width=iw+"px";iframe.style.height=ih+"px";if(set_w){var tableBodyElm=tableElm.firstChild;var minIframeWidth=tableBodyElm.scrollWidth;if(inst.iframeElement.clientWidth';tinyMCE.execCommand("mceInsertContent",false,html);}else{if(!tinyMCE.imgElement&&tinyMCE.selectedInstance){if(tinyMCE.isSafari)tinyMCE.execCommand("mceInsertContent",false,'');else tinyMCE.selectedInstance.contentDocument.execCommand("insertimage",false,tinyMCE.uniqueURL);tinyMCE.imgElement=tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body,"img","src",tinyMCE.uniqueURL);}}if(tinyMCE.imgElement){var needsRepaint=false;var msrc=src;src=eval(tinyMCE.settings['urlconverter_callback']+"(src, tinyMCE.imgElement);");if(tinyMCE.getParam('convert_urls'))msrc=src;if(onmouseover&&onmouseover!="")onmouseover="this.src='"+eval(tinyMCE.settings['urlconverter_callback']+"(onmouseover, tinyMCE.imgElement);")+"';";if(onmouseout&&onmouseout!="")onmouseout="this.src='"+eval(tinyMCE.settings['urlconverter_callback']+"(onmouseout, tinyMCE.imgElement);")+"';";if(typeof(title)=="undefined")title=alt;if(width!=tinyMCE.imgElement.getAttribute("width")||height!=tinyMCE.imgElement.getAttribute("height")||align!=tinyMCE.imgElement.getAttribute("align"))needsRepaint=true;tinyMCE.setAttrib(tinyMCE.imgElement,'src',src);tinyMCE.setAttrib(tinyMCE.imgElement,'mce_src',msrc);tinyMCE.setAttrib(tinyMCE.imgElement,'alt',alt);tinyMCE.setAttrib(tinyMCE.imgElement,'title',title);tinyMCE.setAttrib(tinyMCE.imgElement,'align',align);tinyMCE.setAttrib(tinyMCE.imgElement,'border',border,true);tinyMCE.setAttrib(tinyMCE.imgElement,'hspace',hspace,true);tinyMCE.setAttrib(tinyMCE.imgElement,'vspace',vspace,true);tinyMCE.setAttrib(tinyMCE.imgElement,'width',width,true);tinyMCE.setAttrib(tinyMCE.imgElement,'height',height,true);tinyMCE.setAttrib(tinyMCE.imgElement,'onmouseover',onmouseover);tinyMCE.setAttrib(tinyMCE.imgElement,'onmouseout',onmouseout);if(width&&width!="")tinyMCE.imgElement.style.pixelWidth=width;if(height&&height!="")tinyMCE.imgElement.style.pixelHeight=height;if(needsRepaint)tinyMCE.selectedInstance.repaint();}tinyMCE.execCommand('mceEndUndoLevel');},_insertLink:function(href,target,title,onclick,style_class){tinyMCE.execCommand('mceBeginUndoLevel');if(tinyMCE.selectedInstance&&tinyMCE.selectedElement&&tinyMCE.selectedElement.nodeName.toLowerCase()=="img"){var doc=tinyMCE.selectedInstance.getDoc();var linkElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"a");var newLink=false;if(!linkElement){linkElement=doc.createElement("a");newLink=true;}var mhref=href;var thref=eval(tinyMCE.settings['urlconverter_callback']+"(href, linkElement);");mhref=tinyMCE.getParam('convert_urls')?href:mhref;tinyMCE.setAttrib(linkElement,'href',thref);tinyMCE.setAttrib(linkElement,'mce_href',mhref);tinyMCE.setAttrib(linkElement,'target',target);tinyMCE.setAttrib(linkElement,'title',title);tinyMCE.setAttrib(linkElement,'onclick',onclick);tinyMCE.setAttrib(linkElement,'class',style_class);if(newLink){linkElement.appendChild(tinyMCE.selectedElement.cloneNode(true));tinyMCE.selectedElement.parentNode.replaceChild(linkElement,tinyMCE.selectedElement);}return;}if(!tinyMCE.linkElement&&tinyMCE.selectedInstance){if(tinyMCE.isSafari){tinyMCE.execCommand("mceInsertContent",false,''+tinyMCE.selectedInstance.selection.getSelectedHTML()+'');}else tinyMCE.selectedInstance.contentDocument.execCommand("createlink",false,tinyMCE.uniqueURL);tinyMCE.linkElement=tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body,"a","href",tinyMCE.uniqueURL);var elementArray=tinyMCE.getElementsByAttributeValue(tinyMCE.selectedInstance.contentDocument.body,"a","href",tinyMCE.uniqueURL);for(var i=0;i 4 ? but[4] : false), (but.length > 5 ? but[5] : null)); + } + + // Custom controlls other than buttons + switch (button_name) { + case "formatselect": + var html = ''; + + return html; + + case "styleselect": + return ''; + + case "fontselect": + var fontHTML = ''; + return fontHTML; + + case "fontsizeselect": + return ''; + + case "|": + case "separator": + return ''; + + case "spacer": + return ''; + + case "rowseparator": + return '
'; + } + + return ""; + }, + + /** + * Theme specific execcommand handling. + */ + execCommand : function(editor_id, element, command, user_interface, value) { + switch (command) { + case "mceLink": + var inst = tinyMCE.getInstanceById(editor_id); + var doc = inst.getDoc(); + var selectedText = ""; + + if (tinyMCE.isMSIE) { + var rng = doc.selection.createRange(); + selectedText = rng.text; + } else + selectedText = inst.getSel().toString(); + + if (!tinyMCE.linkElement) { + if ((tinyMCE.selectedElement.nodeName.toLowerCase() != "img") && (selectedText.length <= 0)) + return true; + } + + var href = "", target = "", title = "", onclick = "", action = "insert", style_class = ""; + + if (tinyMCE.selectedElement.nodeName.toLowerCase() == "a") + tinyMCE.linkElement = tinyMCE.selectedElement; + + // Is anchor not a link + if (tinyMCE.linkElement != null && tinyMCE.getAttrib(tinyMCE.linkElement, 'href') == "") + tinyMCE.linkElement = null; + + if (tinyMCE.linkElement) { + href = tinyMCE.getAttrib(tinyMCE.linkElement, 'href'); + target = tinyMCE.getAttrib(tinyMCE.linkElement, 'target'); + title = tinyMCE.getAttrib(tinyMCE.linkElement, 'title'); + onclick = tinyMCE.getAttrib(tinyMCE.linkElement, 'onclick'); + style_class = tinyMCE.getAttrib(tinyMCE.linkElement, 'class'); + + // Try old onclick to if copy/pasted content + if (onclick == "") + onclick = tinyMCE.getAttrib(tinyMCE.linkElement, 'onclick'); + + onclick = tinyMCE.cleanupEventStr(onclick); + + href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement, true);"); + + // Use mce_href if defined + mceRealHref = tinyMCE.getAttrib(tinyMCE.linkElement, 'mce_href'); + if (mceRealHref != "") { + href = mceRealHref; + + if (tinyMCE.getParam('convert_urls')) + href = eval(tinyMCE.settings['urlconverter_callback'] + "(href, tinyMCE.linkElement, true);"); + } + + action = "update"; + } + + var template = new Array(); + + template['file'] = 'link.htm'; + template['width'] = 310; + template['height'] = 200; + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0); + + if (inst.settings['insertlink_callback']) { + var returnVal = eval(inst.settings['insertlink_callback'] + "(href, target, title, onclick, action, style_class);"); + if (returnVal && returnVal['href']) + TinyMCE_AdvancedTheme._insertLink(returnVal['href'], returnVal['target'], returnVal['title'], returnVal['onclick'], returnVal['style_class']); + } else { + tinyMCE.openWindow(template, {href : href, target : target, title : title, onclick : onclick, action : action, className : style_class, inline : "yes"}); + } + + return true; + + case "mceImage": + var src = "", alt = "", border = "", hspace = "", vspace = "", width = "", height = "", align = ""; + var title = "", onmouseover = "", onmouseout = "", action = "insert"; + var img = tinyMCE.imgElement; + var inst = tinyMCE.getInstanceById(editor_id); + + if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") { + img = tinyMCE.selectedElement; + tinyMCE.imgElement = img; + } + + if (img) { + // Is it a internal MCE visual aid image, then skip this one. + if (tinyMCE.getAttrib(img, 'name').indexOf('mce_') == 0) + return true; + + src = tinyMCE.getAttrib(img, 'src'); + alt = tinyMCE.getAttrib(img, 'alt'); + + // Try polling out the title + if (alt == "") + alt = tinyMCE.getAttrib(img, 'title'); + + // Fix width/height attributes if the styles is specified + if (tinyMCE.isGecko) { + var w = img.style.width; + if (w != null && w != "") + img.setAttribute("width", w); + + var h = img.style.height; + if (h != null && h != "") + img.setAttribute("height", h); + } + + border = tinyMCE.getAttrib(img, 'border'); + hspace = tinyMCE.getAttrib(img, 'hspace'); + vspace = tinyMCE.getAttrib(img, 'vspace'); + width = tinyMCE.getAttrib(img, 'width'); + height = tinyMCE.getAttrib(img, 'height'); + align = tinyMCE.getAttrib(img, 'align'); + onmouseover = tinyMCE.getAttrib(img, 'onmouseover'); + onmouseout = tinyMCE.getAttrib(img, 'onmouseout'); + title = tinyMCE.getAttrib(img, 'title'); + + // Is realy specified? + if (tinyMCE.isMSIE) { + width = img.attributes['width'].specified ? width : ""; + height = img.attributes['height'].specified ? height : ""; + } + + //onmouseover = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseover)); + //onmouseout = tinyMCE.getImageSrc(tinyMCE.cleanupEventStr(onmouseout)); + + src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);"); + + // Use mce_src if defined + mceRealSrc = tinyMCE.getAttrib(img, 'mce_src'); + if (mceRealSrc != "") { + src = mceRealSrc; + + if (tinyMCE.getParam('convert_urls')) + src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, img, true);"); + } + + //if (onmouseover != "") + // onmouseover = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseover, img, true);"); + + //if (onmouseout != "") + // onmouseout = eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseout, img, true);"); + + action = "update"; + } + + var template = new Array(); + + template['file'] = 'image.htm?src={$src}'; + template['width'] = 355; + template['height'] = 265 + (tinyMCE.isMSIE ? 25 : 0); + + // Language specific width and height addons + template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0); + + if (inst.settings['insertimage_callback']) { + var returnVal = eval(inst.settings['insertimage_callback'] + "(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout, action);"); + if (returnVal && returnVal['src']) + TinyMCE_AdvancedTheme._insertImage(returnVal['src'], returnVal['alt'], returnVal['border'], returnVal['hspace'], returnVal['vspace'], returnVal['width'], returnVal['height'], returnVal['align'], returnVal['title'], returnVal['onmouseover'], returnVal['onmouseout']); + } else + tinyMCE.openWindow(template, {src : src, alt : alt, border : border, hspace : hspace, vspace : vspace, width : width, height : height, align : align, title : title, onmouseover : onmouseover, onmouseout : onmouseout, action : action, inline : "yes"}); + + return true; + + case "mceForeColor": + var template = new Array(); + var elm = tinyMCE.selectedInstance.getFocusElement(); + var inputColor = tinyMCE.getAttrib(elm, "color"); + + if (inputColor == '') + inputColor = elm.style.color; + + if (!inputColor) + inputColor = "#000000"; + + template['file'] = 'color_picker.htm'; + template['width'] = 220; + template['height'] = 190; + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", command : "forecolor", input_color : inputColor}); + return true; + + case "mceBackColor": + var template = new Array(); + var elm = tinyMCE.selectedInstance.getFocusElement(); + var inputColor = elm.style.backgroundColor; + + if (!inputColor) + inputColor = "#000000"; + + template['file'] = 'color_picker.htm'; + template['width'] = 220; + template['height'] = 190; + + template['width'] += tinyMCE.getLang('lang_theme_advanced_backcolor_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_backcolor_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", command : "HiliteColor", input_color : inputColor}); + //mceBackColor + return true; + + case "mceColorPicker": + if (user_interface) { + var template = new Array(); + var inputColor = value['document'].getElementById(value['element_id']).value; + + template['file'] = 'color_picker.htm'; + template['width'] = 220; + template['height'] = 190; + template['close_previous'] = "no"; + + template['width'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_colorpicker_delta_height', 0); + + if (typeof(value['store_selection']) == "undefined") + value['store_selection'] = true; + + tinyMCE.lastColorPickerValue = value; + tinyMCE.openWindow(template, {editor_id : editor_id, mce_store_selection : value['store_selection'], inline : "yes", command : "mceColorPicker", input_color : inputColor}); + } else { + var savedVal = tinyMCE.lastColorPickerValue; + var elm = savedVal['document'].getElementById(savedVal['element_id']); + elm.value = value; + + if (elm.onchange != null && elm.onchange != '') + eval('elm.onchange();'); + } + return true; + + case "mceCodeEditor": + var template = new Array(); + + template['file'] = 'source_editor.htm'; + template['width'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_width", 720)); + template['height'] = parseInt(tinyMCE.getParam("theme_advanced_source_editor_height", 580)); + + tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "no", inline : "yes"}); + return true; + + case "mceCharMap": + var template = new Array(); + + template['file'] = 'charmap.htm'; + template['width'] = 550 + (tinyMCE.isOpera ? 40 : 0); + template['height'] = 250; + + template['width'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_charmap_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + return true; + + case "mceInsertAnchor": + var template = new Array(); + + template['file'] = 'anchor.htm'; + template['width'] = 320; + template['height'] = 90 + (tinyMCE.isNS7 ? 30 : 0); + + template['width'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_width', 0); + template['height'] += tinyMCE.getLang('lang_theme_advanced_anchor_delta_height', 0); + + tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); + return true; + + case "mceNewDocument": + if (confirm(tinyMCE.getLang('lang_newdocument'))) + tinyMCE.execInstanceCommand(editor_id, 'mceSetContent', false, ' '); + + return true; + } + + return false; + }, + + /** + * Editor instance template function. + */ + getEditorTemplate : function(settings, editorId) { + function removeFromArray(in_array, remove_array) { + var outArray = new Array(); + + for (var i=0; i 

'; + var layoutManager = tinyMCE.getParam("theme_advanced_layout_manager", "SimpleLayout"); + + // Setup style select options -- MOVED UP FOR EXTERNAL TOOLBAR COMPATABILITY! + var styleSelectHTML = ''; + if (settings['theme_advanced_styles']) { + var stylesAr = settings['theme_advanced_styles'].split(';'); + + for (var i=0; i' + key + ''; + } + + TinyMCE_AdvancedTheme._autoImportCSSClasses = false; + } + + switch(layoutManager) { + case "SimpleLayout" : //the default TinyMCE Layout (for backwards compatibility)... + var toolbarHTML = ""; + var toolbarLocation = tinyMCE.getParam("theme_advanced_toolbar_location", "bottom"); + var toolbarAlign = tinyMCE.getParam("theme_advanced_toolbar_align", "center"); + var pathLocation = tinyMCE.getParam("theme_advanced_path_location", "none"); // Compatiblity + var statusbarLocation = tinyMCE.getParam("theme_advanced_statusbar_location", pathLocation); + var defVals = { + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect", + theme_advanced_buttons2 : "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code", + theme_advanced_buttons3 : "hr,removeformat,visualaid,separator,sub,sup,separator,charmap" + }; + + // Add accessibility control + toolbarHTML += ' 0) { + toolbarHTML += "
"; + deltaHeight -= 23; + } + } + + // Add accessibility control + toolbarHTML += '
'; + + // Setup template html + template['html'] = ''; + + if (toolbarLocation == "top") { + template['html'] += ''; + } + + if (statusbarLocation == "top") { + template['html'] += ''; + deltaHeight -= 23; + } + + template['html'] += ''; + + if (toolbarLocation == "bottom") { + template['html'] += ''; + } + + // External toolbar changes + if (toolbarLocation == "external") { + var bod = document.body; + var elm = document.createElement ("div"); + + toolbarHTML = tinyMCE.replaceVar(toolbarHTML, 'style_select_options', styleSelectHTML); + toolbarHTML = tinyMCE.applyTemplate(toolbarHTML, {editor_id : editorId}); + + elm.className = "mceToolbarExternal"; + elm.id = editorId+"_toolbar"; + elm.innerHTML = '
' + toolbarHTML + '
' + statusbarHTML + '
' + toolbarHTML + '
'+toolbarHTML+'
'; + bod.appendChild (elm); + // bod.style.marginTop = elm.offsetHeight + "px"; + + deltaHeight = 0; + tinyMCE.getInstanceById(editorId).toolbarElement = elm; + + //template['html'] = '
'+toolbarHTML+'
' + template["html"]; + } else { + tinyMCE.getInstanceById(editorId).toolbarElement = null; + } + + if (statusbarLocation == "bottom") { + template['html'] += '' + statusbarHTML + ''; + deltaHeight -= 23; + } + + template['html'] += ''; + //"SimpleLayout" + break; + + case "RowLayout" : //Container Layout - containers defined in "theme_advanced_containers" are rendered from top to bottom. + template['html'] = ''; + + var containers = tinyMCE.getParam("theme_advanced_containers", "", true, ","); + var defaultContainerCSS = tinyMCE.getParam("theme_advanced_containers_default_class", "container"); + var defaultContainerAlign = tinyMCE.getParam("theme_advanced_containers_default_align", "center"); + + //Render Containers: + for (var i = 0; i < containers.length; i++) + { + if (containers[i] == "mceEditor") //Exceptions for mceEditor and ... + template['html'] += ''; + else if (containers[i] == "mceElementpath" || containers[i] == "mceStatusbar") // ... mceElementpath: + { + var pathClass = "mceStatusbar"; + + if (i == containers.length-1) + { + pathClass = "mceStatusbarBottom"; + } + else if (i == 0) + { + pathClass = "mceStatusbar"; + } + else + { + deltaHeight-=2; + } + + template['html'] += ''; + deltaHeight -= 22; + } else { // Render normal Container + var curContainer = tinyMCE.getParam("theme_advanced_container_"+containers[i], "", true, ','); + var curContainerHTML = ""; + var curAlign = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align", defaultContainerAlign); + var curCSS = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class", defaultContainerCSS); + + for (var j=0; j 0) { + curContainerHTML += "
"; + deltaHeight -= 23; + } + + template['html'] += '
'; + } + } + + template['html'] += '
' + statusbarHTML + '
' + curContainerHTML + '
'; + //RowLayout + break; + + case "CustomLayout" : //User defined layout callback... + var customLayout = tinyMCE.getParam("theme_advanced_custom_layout",""); + + if (customLayout != "" && eval("typeof(" + customLayout + ")") != "undefined") { + template = eval(customLayout + "(template);"); + } + break; + } + + if (resizing) + template['html'] += ''; + + template['html'] = tinyMCE.replaceVar(template['html'], 'style_select_options', styleSelectHTML); + template['delta_width'] = 0; + template['delta_height'] = deltaHeight; + + return template; + }, + + initInstance : function(inst) { + if (tinyMCE.getParam("theme_advanced_resizing", false)) { + if (tinyMCE.getParam("theme_advanced_resizing_use_cookie", true)) { + var w = TinyMCE_AdvancedTheme._getCookie("TinyMCE_" + inst.editorId + "_width"); + var h = TinyMCE_AdvancedTheme._getCookie("TinyMCE_" + inst.editorId + "_height"); + + TinyMCE_AdvancedTheme._resizeTo(inst, w, h, tinyMCE.getParam("theme_advanced_resize_horizontal", true)); + } + } + + inst.addShortcut('ctrl', 'k', 'lang_link_desc', 'mceLink'); + }, + + /** + * Node change handler. + */ + handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection, setup_content) { + function selectByValue(select_elm, value, first_index) { + first_index = typeof(first_index) == "undefined" ? false : true; + + if (select_elm) { + for (var i=0; i=0; i--) { + var nodeName = path[i].nodeName.toLowerCase(); + var nodeData = ""; + + if (nodeName == "b") { + nodeName = "strong"; + } + + if (nodeName == "i") { + nodeName = "em"; + } + + if (nodeName == "span") { + var cn = tinyMCE.getAttrib(path[i], "class"); + if (cn != "" && cn.indexOf('mceItem') == -1) + nodeData += "class: " + cn + " "; + + var st = tinyMCE.getAttrib(path[i], "style"); + if (st != "") { + st = tinyMCE.serializeStyle(tinyMCE.parseStyle(st)); + nodeData += "style: " + st + " "; + } + } + + if (nodeName == "font") { + if (tinyMCE.getParam("convert_fonts_to_spans")) + nodeName = "span"; + + var face = tinyMCE.getAttrib(path[i], "face"); + if (face != "") + nodeData += "font: " + face + " "; + + var size = tinyMCE.getAttrib(path[i], "size"); + if (size != "") + nodeData += "size: " + size + " "; + + var color = tinyMCE.getAttrib(path[i], "color"); + if (color != "") + nodeData += "color: " + color + " "; + } + + if (getAttrib(path[i], 'id') != "") { + nodeData += "id: " + path[i].getAttribute('id') + " "; + } + + var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false); + if (className != "" && className.indexOf('mceItem') == -1) + nodeData += "class: " + className + " "; + + if (getAttrib(path[i], 'src') != "") { + var src = tinyMCE.getAttrib(path[i], "mce_src"); + + if (src == "") + src = tinyMCE.getAttrib(path[i], "src"); + + nodeData += "src: " + src + " "; + } + + if (getAttrib(path[i], 'href') != "") { + var href = tinyMCE.getAttrib(path[i], "mce_href"); + + if (href == "") + href = tinyMCE.getAttrib(path[i], "href"); + + nodeData += "href: " + href + " "; + } + + if (nodeName == "img" && tinyMCE.getAttrib(path[i], "class").indexOf('mceItemFlash') != -1) { + nodeName = "flash"; + nodeData = "src: " + path[i].getAttribute('title'); + } + + if (nodeName == "a" && (anchor = tinyMCE.getAttrib(path[i], "name")) != "") { + nodeName = "a"; + nodeName += "#" + anchor; + nodeData = ""; + } + + if (getAttrib(path[i], 'name').indexOf("mce_") != 0) { + var className = tinyMCE.getVisualAidClass(tinyMCE.getAttrib(path[i], "class"), false); + if (className != "" && className.indexOf('mceItem') == -1) { + nodeName += "." + className; + } + } + + var cmd = 'tinyMCE.execInstanceCommand(\'' + editor_id + '\',\'mceSelectNodeDepth\',false,\'' + i + '\');'; + html += '' + nodeName + ''; + + if (i > 0) { + html += " » "; + } + } + + pathElm.innerHTML = '' + tinyMCE.getLang('lang_theme_path') + ": " + html + ' '; + } + + // Reset old states + tinyMCE.switchClass(editor_id + '_justifyleft', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_justifyright', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_justifycenter', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_justifyfull', 'mceButtonNormal'); + 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'); + tinyMCE.switchClass(editor_id + '_sub', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_sup', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_anchor', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_link', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_unlink', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_outdent', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_image', 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_hr', 'mceButtonNormal'); + + if (node.nodeName == "A" && tinyMCE.getAttrib(node, "class").indexOf('mceItemAnchor') != -1) + tinyMCE.switchClass(editor_id + '_anchor', 'mceButtonSelected'); + + // Get link + var anchorLink = tinyMCE.getParentElement(node, "a", "href"); + + if (anchorLink || any_selection) { + tinyMCE.switchClass(editor_id + '_link', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal'); + tinyMCE.switchClass(editor_id + '_unlink', anchorLink ? 'mceButtonSelected' : 'mceButtonNormal'); + } + + // Handle visual aid + tinyMCE.switchClass(editor_id + '_visualaid', visual_aid ? 'mceButtonSelected' : 'mceButtonNormal'); + + if (undo_levels != -1) { + tinyMCE.switchClass(editor_id + '_undo', 'mceButtonDisabled'); + tinyMCE.switchClass(editor_id + '_redo', 'mceButtonDisabled'); + } + + // Within li, blockquote + if (tinyMCE.getParentElement(node, "li,blockquote")) + tinyMCE.switchClass(editor_id + '_outdent', 'mceButtonNormal'); + + // Has redo levels + if (undo_index != -1 && (undo_index < undo_levels-1 && undo_levels > 0)) + tinyMCE.switchClass(editor_id + '_redo', 'mceButtonNormal'); + + // Has undo levels + if (undo_index != -1 && (undo_index > 0 && undo_levels > 0)) + tinyMCE.switchClass(editor_id + '_undo', 'mceButtonNormal'); + + // Select class in select box + var selectElm = document.getElementById(editor_id + "_styleSelect"); + + if (selectElm) { + TinyMCE_AdvancedTheme._setupCSSClasses(editor_id); + + classNode = node; + breakOut = false; + var index = 0; + + do { + if (classNode && classNode.className) { + for (var i=0; i"); + else + selectByValue(selectElm, ""); + } + + // Select fontselect + var selectElm = document.getElementById(editor_id + "_fontNameSelect"); + if (selectElm) { + if (!tinyMCE.isSafari && !(tinyMCE.isMSIE && !tinyMCE.isOpera)) { + var face = inst.queryCommandValue('FontName'); + + face = face == null || face == "" ? "" : face; + + selectByValue(selectElm, face, face != ""); + } else { + var elm = tinyMCE.getParentElement(node, "font", "face"); + + if (elm) { + var family = tinyMCE.getAttrib(elm, "face"); + + if (family == '') + family = '' + elm.style.fontFamily; + + if (!selectByValue(selectElm, family, family != "")) + selectByValue(selectElm, ""); + } else + selectByValue(selectElm, ""); + } + } + + // Select fontsize + var selectElm = document.getElementById(editor_id + "_fontSizeSelect"); + if (selectElm) { + if (!tinyMCE.isSafari && !tinyMCE.isOpera) { + var size = inst.queryCommandValue('FontSize'); + selectByValue(selectElm, size == null || size == "" ? "0" : size); + } else { + var elm = tinyMCE.getParentElement(node, "font", "size"); + if (elm) { + var size = tinyMCE.getAttrib(elm, "size"); + + if (size == '') { + var sizes = new Array('', '8px', '10px', '12px', '14px', '18px', '24px', '36px'); + + size = '' + elm.style.fontSize; + + for (var i=0; i 0) + selectElm.setAttribute('cssImported', 'true'); + } + }, + + _setCookie : function(name, value, expires, path, domain, secure) { + var curCookie = name + "=" + escape(value) + + ((expires) ? "; expires=" + expires.toGMTString() : "") + + ((path) ? "; path=" + escape(path) : "") + + ((domain) ? "; domain=" + domain : "") + + ((secure) ? "; secure" : ""); + + document.cookie = curCookie; + }, + + _getCookie : function(name) { + var dc = document.cookie; + var prefix = name + "="; + var begin = dc.indexOf("; " + prefix); + + if (begin == -1) { + begin = dc.indexOf(prefix); + + if (begin != 0) + return null; + } else + begin += 2; + + var end = document.cookie.indexOf(";", begin); + + if (end == -1) + end = dc.length; + + return unescape(dc.substring(begin + prefix.length, end)); + }, + + _resizeTo : function(inst, w, h, set_w) { + var editorContainer = document.getElementById(inst.editorId + '_parent'); + var tableElm = editorContainer.firstChild; + var iframe = inst.iframeElement; + + if (w == null || w == "null") { + set_w = false; + w = 0; + } + + if (h == null || h == "null") + return; + + w = parseInt(w); + h = parseInt(h); + + if (tinyMCE.isGecko) { + w += 2; + h += 2; + } + + var dx = w - tableElm.clientWidth; + var dy = h - tableElm.clientHeight; + + w = w < 1 ? 30 : w; + h = h < 1 ? 30 : h; + + if (set_w) + tableElm.style.width = w + "px"; + + tableElm.style.height = h + "px"; + + iw = iframe.clientWidth + dx; + ih = iframe.clientHeight + dy; + + iw = iw < 1 ? 30 : iw; + ih = ih < 1 ? 30 : ih; + + if (tinyMCE.isGecko) { + iw -= 2; + ih -= 2; + } + + if (set_w) + iframe.style.width = iw + "px"; + + iframe.style.height = ih + "px"; + + // Is it to small, make it bigger again + if (set_w) { + var tableBodyElm = tableElm.firstChild; + var minIframeWidth = tableBodyElm.scrollWidth; + if (inst.iframeElement.clientWidth < minIframeWidth) { + dx = minIframeWidth - inst.iframeElement.clientWidth; + + inst.iframeElement.style.width = (iw + dx) + "px"; + } + } + }, + + /** + * Handles resizing events. + */ + _resizeEventHandler : function(e) { + var resizer = TinyMCE_AdvancedTheme._resizer; + + // Do nothing + if (!resizer.resizing) + return; + + e = typeof(e) == "undefined" ? window.event : e; + + var dx = e.screenX - resizer.downX; + var dy = e.screenY - resizer.downY; + var resizeBox = resizer.resizeBox; + var editorId = resizer.editorId; + + switch (e.type) { + case "mousemove": + var w, h; + + w = resizer.width + dx; + h = resizer.height + dy; + + w = w < 1 ? 1 : w; + h = h < 1 ? 1 : h; + + if (resizer.horizontal) + resizeBox.style.width = w + "px"; + + resizeBox.style.height = h + "px"; + break; + + case "mouseup": + TinyMCE_AdvancedTheme._setResizing(e, editorId, false); + TinyMCE_AdvancedTheme._resizeTo(tinyMCE.getInstanceById(editorId), resizer.width + dx, resizer.height + dy, resizer.horizontal); + + // Expire in a month + if (tinyMCE.getParam("theme_advanced_resizing_use_cookie", true)) { + var expires = new Date(); + expires.setTime(expires.getTime() + 3600000 * 24 * 30); + + // Set the cookies + TinyMCE_AdvancedTheme._setCookie("TinyMCE_" + editorId + "_width", "" + (resizer.horizontal ? resizer.width + dx : ""), expires); + TinyMCE_AdvancedTheme._setCookie("TinyMCE_" + editorId + "_height", "" + (resizer.height + dy), expires); + } + break; + } + }, + + /** + * Starts/stops the editor resizing. + */ + _setResizing : function(e, editor_id, state) { + e = typeof(e) == "undefined" ? window.event : e; + + var resizer = TinyMCE_AdvancedTheme._resizer; + var editorContainer = document.getElementById(editor_id + '_parent'); + var editorArea = document.getElementById(editor_id + '_parent').firstChild; + var resizeBox = document.getElementById(editor_id + '_resize_box'); + var inst = tinyMCE.getInstanceById(editor_id); + + if (state) { + // Place box over editor area + var width = editorArea.clientWidth; + var height = editorArea.clientHeight; + + resizeBox.style.width = width + "px"; + resizeBox.style.height = height + "px"; + + resizer.iframeWidth = inst.iframeElement.clientWidth; + resizer.iframeHeight = inst.iframeElement.clientHeight; + + // Hide editor and show resize box + editorArea.style.display = "none"; + resizeBox.style.display = "block"; + + // Add event handlers, only once + if (!resizer.eventHandlers) { + if (tinyMCE.isMSIE) + tinyMCE.addEvent(document, "mousemove", TinyMCE_AdvancedTheme._resizeEventHandler); + else + tinyMCE.addEvent(window, "mousemove", TinyMCE_AdvancedTheme._resizeEventHandler); + + tinyMCE.addEvent(document, "mouseup", TinyMCE_AdvancedTheme._resizeEventHandler); + + resizer.eventHandlers = true; + } + + resizer.resizing = true; + resizer.downX = e.screenX; + resizer.downY = e.screenY; + resizer.width = parseInt(resizeBox.style.width); + resizer.height = parseInt(resizeBox.style.height); + resizer.editorId = editor_id; + resizer.resizeBox = resizeBox; + resizer.horizontal = tinyMCE.getParam("theme_advanced_resize_horizontal", true); + } else { + resizer.resizing = false; + resizeBox.style.display = "none"; + editorArea.style.display = tinyMCE.isMSIE && !tinyMCE.isOpera ? "block" : "table"; + tinyMCE.execCommand('mceResetDesignMode'); + } + }, + + _insertImage : function(src, alt, border, hspace, vspace, width, height, align, title, onmouseover, onmouseout) { + tinyMCE.execCommand('mceBeginUndoLevel'); + + if (src == "") + return; + + if (!tinyMCE.imgElement && tinyMCE.isSafari) { + var html = ""; + + html += '' + alt + ''; + + tinyMCE.execCommand("mceInsertContent", false, html); + } else { + if (!tinyMCE.imgElement && tinyMCE.selectedInstance) { + if (tinyMCE.isSafari) + tinyMCE.execCommand("mceInsertContent", false, ''); + else + tinyMCE.selectedInstance.contentDocument.execCommand("insertimage", false, tinyMCE.uniqueURL); + + tinyMCE.imgElement = tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "img", "src", tinyMCE.uniqueURL); + } + } + + if (tinyMCE.imgElement) { + var needsRepaint = false; + var msrc = src; + + src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, tinyMCE.imgElement);"); + + if (tinyMCE.getParam('convert_urls')) + msrc = src; + + if (onmouseover && onmouseover != "") + onmouseover = "this.src='" + eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseover, tinyMCE.imgElement);") + "';"; + + if (onmouseout && onmouseout != "") + onmouseout = "this.src='" + eval(tinyMCE.settings['urlconverter_callback'] + "(onmouseout, tinyMCE.imgElement);") + "';"; + + // Use alt as title if it's undefined + if (typeof(title) == "undefined") + title = alt; + + if (width != tinyMCE.imgElement.getAttribute("width") || height != tinyMCE.imgElement.getAttribute("height") || align != tinyMCE.imgElement.getAttribute("align")) + needsRepaint = true; + + tinyMCE.setAttrib(tinyMCE.imgElement, 'src', src); + tinyMCE.setAttrib(tinyMCE.imgElement, 'mce_src', msrc); + tinyMCE.setAttrib(tinyMCE.imgElement, 'alt', alt); + tinyMCE.setAttrib(tinyMCE.imgElement, 'title', title); + tinyMCE.setAttrib(tinyMCE.imgElement, 'align', align); + tinyMCE.setAttrib(tinyMCE.imgElement, 'border', border, true); + tinyMCE.setAttrib(tinyMCE.imgElement, 'hspace', hspace, true); + tinyMCE.setAttrib(tinyMCE.imgElement, 'vspace', vspace, true); + tinyMCE.setAttrib(tinyMCE.imgElement, 'width', width, true); + tinyMCE.setAttrib(tinyMCE.imgElement, 'height', height, true); + tinyMCE.setAttrib(tinyMCE.imgElement, 'onmouseover', onmouseover); + tinyMCE.setAttrib(tinyMCE.imgElement, 'onmouseout', onmouseout); + + // Fix for bug #989846 - Image resize bug + if (width && width != "") + tinyMCE.imgElement.style.pixelWidth = width; + + if (height && height != "") + tinyMCE.imgElement.style.pixelHeight = height; + + if (needsRepaint) + tinyMCE.selectedInstance.repaint(); + } + + tinyMCE.execCommand('mceEndUndoLevel'); + }, + + _insertLink : function(href, target, title, onclick, style_class) { + tinyMCE.execCommand('mceBeginUndoLevel'); + + if (tinyMCE.selectedInstance && tinyMCE.selectedElement && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") { + var doc = tinyMCE.selectedInstance.getDoc(); + var linkElement = tinyMCE.getParentElement(tinyMCE.selectedElement, "a"); + var newLink = false; + + if (!linkElement) { + linkElement = doc.createElement("a"); + newLink = true; + } + + var mhref = href; + var thref = eval(tinyMCE.settings['urlconverter_callback'] + "(href, linkElement);"); + mhref = tinyMCE.getParam('convert_urls') ? href : mhref; + + tinyMCE.setAttrib(linkElement, 'href', thref); + tinyMCE.setAttrib(linkElement, 'mce_href', mhref); + tinyMCE.setAttrib(linkElement, 'target', target); + tinyMCE.setAttrib(linkElement, 'title', title); + tinyMCE.setAttrib(linkElement, 'onclick', onclick); + tinyMCE.setAttrib(linkElement, 'class', style_class); + + if (newLink) { + linkElement.appendChild(tinyMCE.selectedElement.cloneNode(true)); + tinyMCE.selectedElement.parentNode.replaceChild(linkElement, tinyMCE.selectedElement); + } + + return; + } + + if (!tinyMCE.linkElement && tinyMCE.selectedInstance) { + if (tinyMCE.isSafari) { + tinyMCE.execCommand("mceInsertContent", false, '' + tinyMCE.selectedInstance.selection.getSelectedHTML() + ''); + } else + tinyMCE.selectedInstance.contentDocument.execCommand("createlink", false, tinyMCE.uniqueURL); + + tinyMCE.linkElement = tinyMCE.getElementByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "a", "href", tinyMCE.uniqueURL); + + var elementArray = tinyMCE.getElementsByAttributeValue(tinyMCE.selectedInstance.contentDocument.body, "a", "href", tinyMCE.uniqueURL); + + for (var i=0; i + + {$lang_insert_image_title} + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
 
+ x +
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/anchor.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/anchor.gif new file mode 100644 index 0000000000..34ab71534b Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/anchor.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/anchor_symbol.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/anchor_symbol.gif new file mode 100644 index 0000000000..2eafd7954e Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/anchor_symbol.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/backcolor.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/backcolor.gif new file mode 100644 index 0000000000..8a532e5e62 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/backcolor.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/bold.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/bold.gif new file mode 100644 index 0000000000..d6a9cc2cd4 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/bold.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/bold_de_se.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_de_se.gif new file mode 100644 index 0000000000..9b129de25e Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_de_se.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/bold_es.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_es.gif new file mode 100644 index 0000000000..ea341e6089 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_es.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/bold_fr.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_fr.gif new file mode 100644 index 0000000000..2816454515 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_fr.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/bold_ru.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_ru.gif new file mode 100644 index 0000000000..e000d461c9 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_ru.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/bold_tw.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_tw.gif new file mode 100644 index 0000000000..82085432c6 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/bold_tw.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/browse.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/browse.gif new file mode 100644 index 0000000000..c786d0b205 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/browse.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/bullist.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/bullist.gif new file mode 100644 index 0000000000..6e19467c70 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/bullist.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/button_menu.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/button_menu.gif new file mode 100644 index 0000000000..c3d8fa2311 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/button_menu.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/buttons.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/buttons.gif new file mode 100644 index 0000000000..6196350de8 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/buttons.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/cancel_button_bg.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/cancel_button_bg.gif new file mode 100644 index 0000000000..4b4aeefcbb Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/cancel_button_bg.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/charmap.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/charmap.gif new file mode 100644 index 0000000000..3cdc4ac913 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/charmap.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/cleanup.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/cleanup.gif new file mode 100644 index 0000000000..16491f6cfc Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/cleanup.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/close.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/close.gif new file mode 100644 index 0000000000..679ca2aa47 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/close.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/code.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/code.gif new file mode 100644 index 0000000000..c5d5a67275 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/code.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/color.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/color.gif new file mode 100644 index 0000000000..1ecd5743b6 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/color.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/copy.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/copy.gif new file mode 100644 index 0000000000..dc146865c5 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/copy.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/custom_1.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/custom_1.gif new file mode 100644 index 0000000000..4cbccdadf6 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/custom_1.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/cut.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/cut.gif new file mode 100644 index 0000000000..4e9a70b6e2 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/cut.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/forecolor.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/forecolor.gif new file mode 100644 index 0000000000..d5e381425f Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/forecolor.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/help.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/help.gif new file mode 100644 index 0000000000..51a1ee4207 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/help.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/hr.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/hr.gif new file mode 100644 index 0000000000..1a1ba2a015 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/hr.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/image.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/image.gif new file mode 100644 index 0000000000..4b88eddc26 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/image.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/indent.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/indent.gif new file mode 100644 index 0000000000..acd315bb16 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/indent.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/insert_button_bg.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/insert_button_bg.gif new file mode 100644 index 0000000000..69c131ce29 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/insert_button_bg.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/italic.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/italic.gif new file mode 100644 index 0000000000..8bb330bd0b Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/italic.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/italic_de_se.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_de_se.gif new file mode 100644 index 0000000000..feb0309e74 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_de_se.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/italic_es.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_es.gif new file mode 100644 index 0000000000..4572cdb1d0 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_es.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/italic_ru.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_ru.gif new file mode 100644 index 0000000000..a2bb69a725 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_ru.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/italic_tw.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_tw.gif new file mode 100644 index 0000000000..4f6eeaa2b2 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/italic_tw.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/justifycenter.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/justifycenter.gif new file mode 100644 index 0000000000..42d609a991 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/justifycenter.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/justifyfull.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/justifyfull.gif new file mode 100644 index 0000000000..c8504f626f Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/justifyfull.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/justifyleft.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/justifyleft.gif new file mode 100644 index 0000000000..e8f7e42769 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/justifyleft.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/justifyright.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/justifyright.gif new file mode 100644 index 0000000000..e4cea97148 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/justifyright.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/link.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/link.gif new file mode 100644 index 0000000000..1accf42626 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/link.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/menu_check.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/menu_check.gif new file mode 100644 index 0000000000..50d6afd505 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/menu_check.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/newdocument.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/newdocument.gif new file mode 100644 index 0000000000..a9d2938423 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/newdocument.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/numlist.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/numlist.gif new file mode 100644 index 0000000000..a2683522f4 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/numlist.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/opacity.png b/phpgwapi/js/tiny_mce/themes/advanced/images/opacity.png new file mode 100644 index 0000000000..b4217cb212 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/opacity.png differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/outdent.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/outdent.gif new file mode 100644 index 0000000000..23f6aa4086 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/outdent.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/paste.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/paste.gif new file mode 100644 index 0000000000..1b45000a01 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/paste.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/redo.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/redo.gif new file mode 100644 index 0000000000..3af90697f0 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/redo.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/removeformat.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/removeformat.gif new file mode 100644 index 0000000000..0fa3cb7973 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/removeformat.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/separator.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/separator.gif new file mode 100644 index 0000000000..4f39b809e9 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/separator.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/spacer.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/spacer.gif new file mode 100644 index 0000000000..388486517f Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/spacer.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/statusbar_resize.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/statusbar_resize.gif new file mode 100644 index 0000000000..af89d803f8 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/statusbar_resize.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/strikethrough.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/strikethrough.gif new file mode 100644 index 0000000000..3264635918 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/strikethrough.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/sub.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/sub.gif new file mode 100644 index 0000000000..4d7ce30ff9 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/sub.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/sup.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/sup.gif new file mode 100644 index 0000000000..a7145e019a Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/sup.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/underline.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/underline.gif new file mode 100644 index 0000000000..1dfeb5f6d0 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/underline.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/underline_es.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_es.gif new file mode 100644 index 0000000000..551d9148d3 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_es.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/underline_fr.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_fr.gif new file mode 100644 index 0000000000..551d9148d3 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_fr.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/underline_ru.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_ru.gif new file mode 100644 index 0000000000..b78e2a498f Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_ru.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/underline_tw.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_tw.gif new file mode 100644 index 0000000000..b715390484 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/underline_tw.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/undo.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/undo.gif new file mode 100644 index 0000000000..520796d69d Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/undo.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/unlink.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/unlink.gif new file mode 100644 index 0000000000..5c8a33db8d Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/unlink.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/visualaid.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/visualaid.gif new file mode 100644 index 0000000000..63caf18071 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/visualaid.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_bg.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_bg.gif new file mode 100644 index 0000000000..897a01f2ba Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_bg.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_end.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_end.gif new file mode 100644 index 0000000000..aee442beba Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_end.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif new file mode 100644 index 0000000000..9dc8abe1a4 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif new file mode 100644 index 0000000000..616a889d17 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tabs_bg.gif b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tabs_bg.gif new file mode 100644 index 0000000000..c303f66dd4 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/advanced/images/xp/tabs_bg.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/advanced/jscripts/about.js b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/about.js new file mode 100644 index 0000000000..4e53c285b3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/about.js @@ -0,0 +1,75 @@ +function init() { + var inst; + + tinyMCEPopup.resizeToInnerSize(); + inst = tinyMCE.selectedInstance; + + // Give FF some time + window.setTimeout('insertHelpIFrame();', 10); + + var tcont = document.getElementById('plugintablecontainer'); + var plugins = tinyMCE.getParam('plugins', '', true, ','); + if (plugins.length == 0) + document.getElementById('plugins_tab').style.display = 'none'; + + var html = ""; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + + for (var i=0; i' + info.longname + ''; + else + html += ''; + + if (info.authorurl != null && info.authorurl != '') + html += ''; + else + html += ''; + + html += ''; + html += ''; + } + + html += ''; + html += '
' + tinyMCE.getLang('lang_plugin') + '' + tinyMCE.getLang('lang_author') + '' + tinyMCE.getLang('lang_version') + '
' + info.longname + '' + info.author + '' + info.author + '' + info.version + '
'; + + tcont.innerHTML = html; +} + +function getPluginInfo(name) { + if (tinyMCE.plugins[name].getInfo) + return tinyMCE.plugins[name].getInfo(); + + return { + longname : name, + authorurl : '', + infourl : '', + author : '--', + version : '--' + }; +} + +function insertHelpIFrame() { + var html = ''; + + document.getElementById('iframecontainer').innerHTML = html; + + html = ''; + html += 'Got Moxie? '; + html += 'Hosted By Sourceforge '; + html += 'Also on freshmeat '; + + document.getElementById('buttoncontainer').innerHTML = html; +} diff --git a/phpgwapi/js/tiny_mce/themes/advanced/jscripts/anchor.js b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/anchor.js new file mode 100644 index 0000000000..e7c1c62c56 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/anchor.js @@ -0,0 +1,74 @@ +var action, element; + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var anchor = tinyMCE.getParentElement(inst.getFocusElement(), "a", "name"); + var img = inst.getFocusElement(); + action = 'insert'; + + if (anchor != null) { + element = anchor; + action = "update"; + } + + if (tinyMCE.getAttrib(img, "class") == "mceItemAnchor") { + element = img; + action = "update"; + } + + if (action == "update") + document.forms[0].anchorName.value = element.nodeName == "IMG" ? element.getAttribute("title") : element.getAttribute("name"); + + document.forms[0].insert.value = tinyMCE.getLang('lang_' + action, 'Insert', true); +} + +function insertAnchor() { + var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); + var name = document.forms[0].anchorName.value, e; + + tinyMCEPopup.execCommand("mceBeginUndoLevel"); + + if (action == "update") { + if (element.nodeName == "IMG") + element.setAttribute("title", name); + else + element.setAttribute("name", name); + } else { + var rng = inst.getRng(); + + if (rng.collapse) + rng.collapse(false); + + name = name.replace(/&/g, '&'); + name = name.replace(/\"/g, '"'); + name = name.replace(//g, '>'); + + // Fix for bug #1447335 + if (tinyMCE.isGecko) + html = ''; + else + html = ''; + + tinyMCEPopup.execCommand("mceInsertContent", false, html); + + // Fix for bug #1447335 force cursor after the anchor element + if (tinyMCE.isGecko) { + e = inst.getDoc().getElementById('mceNewAnchor'); + + if (e) { + inst.selection.selectNode(e, true, false, false); + e.removeAttribute('id'); + } + } + + tinyMCE.handleVisualAid(inst.getBody(), true, inst.visualAid, inst); + } + + tinyMCEPopup.execCommand("mceEndUndoLevel"); + + tinyMCE.triggerNodeChange(); + tinyMCEPopup.close(); +} diff --git a/phpgwapi/js/tiny_mce/themes/advanced/jscripts/charmap.js b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/charmap.js new file mode 100644 index 0000000000..eaa6a94b65 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/charmap.js @@ -0,0 +1,326 @@ +function init() { + tinyMCEPopup.resizeToInnerSize(); +} + +var charmap = new Array(); + +// for mor details please see w3c.org +// now here is the complete list ;) + +charmap = [ + [' ', ' ', true, 'no-break space'], + ['&', '&', true, 'ampersand'], + ['"', '"', true, 'quotation mark'], +// finance + ['¢', '¢', true, 'cent sign'], + ['€', '€', true, 'euro sign'], + ['£', '£', true, 'pound sign'], + ['¥', '¥', true, 'yen sign'], +// signs + ['©', '©', true, 'copyright sign'], + ['®', '®', true, 'registered sign'], + ['™', '™', true, 'trade mark sign'], + ['‰', '‰', true, 'per mille sign'], + ['µ', 'µ', true, 'micro sign'], + ['·', '·', true, 'middle dot'], + ['•', '•', true, 'bullet'], + ['…', '…', true, 'three dot leader'], + ['′', '′', true, 'minutes / feet'], + ['″', '″', true, 'seconds / inches'], + ['§', '§', true, 'section sign'], + ['¶', '¶', true, 'paragraph sign'], + ['ß', 'ß', true, 'sharp s / ess-zed'], +// quotations + ['‹', '‹', true, 'single left-pointing angle quotation mark'], + ['›', '›', true, 'single right-pointing angle quotation mark'], + ['«', '«', true, 'left pointing guillemet'], + ['»', '»', true, 'right pointing guillemet'], + ['‘', '‘', true, 'left single quotation mark'], + ['’', '’', true, 'right single quotation mark'], + ['“', '“', true, 'left double quotation mark'], + ['”', '”', true, 'right double quotation mark'], + ['‚', '‚', true, 'single low-9 quotation mark'], + ['„', '„', true, 'double low-9 quotation mark'], + ['<', '<', true, 'less-than sign'], + ['>', '>', true, 'greater-than sign'], + ['≤', '≤', true, 'less-than or equal to'], + ['≥', '≥', true, 'greater-than or equal to'], + ['–', '–', true, 'en dash'], + ['—', '—', true, 'em dash'], + ['¯', '¯', true, 'macron'], + ['‾', '‾', true, 'overline'], + ['¤', '¤', true, 'currency sign'], + ['¦', '¦', true, 'broken bar'], + ['¨', '¨', true, 'diaeresis'], + ['¡', '¡', true, 'inverted exclamation mark'], + ['¿', '¿', true, 'turned question mark'], + ['ˆ', 'ˆ', true, 'circumflex accent'], + ['˜', '˜', true, 'small tilde'], + ['°', '°', true, 'degree sign'], + ['−', '−', true, 'minus sign'], + ['±', '±', true, 'plus-minus sign'], + ['÷', '÷', true, 'division sign'], + ['⁄', '⁄', true, 'fraction slash'], + ['×', '×', true, 'multiplication sign'], + ['¹', '¹', true, 'superscript one'], + ['²', '²', true, 'superscript two'], + ['³', '³', true, 'superscript three'], + ['¼', '¼', true, 'fraction one quarter'], + ['½', '½', true, 'fraction one half'], + ['¾', '¾', true, 'fraction three quarters'], +// math / logical + ['ƒ', 'ƒ', true, 'function / florin'], + ['∫', '∫', true, 'integral'], + ['∑', '∑', true, 'n-ary sumation'], + ['∞', '∞', true, 'infinity'], + ['√', '√', true, 'square root'], + ['∼', '∼', false,'similar to'], + ['≅', '≅', false,'approximately equal to'], + ['≈', '≈', true, 'almost equal to'], + ['≠', '≠', true, 'not equal to'], + ['≡', '≡', true, 'identical to'], + ['∈', '∈', false,'element of'], + ['∉', '∉', false,'not an element of'], + ['∋', '∋', false,'contains as member'], + ['∏', '∏', true, 'n-ary product'], + ['∧', '∧', false,'logical and'], + ['∨', '∨', false,'logical or'], + ['¬', '¬', true, 'not sign'], + ['∩', '∩', true, 'intersection'], + ['∪', '∪', false,'union'], + ['∂', '∂', true, 'partial differential'], + ['∀', '∀', false,'for all'], + ['∃', '∃', false,'there exists'], + ['∅', '∅', false,'diameter'], + ['∇', '∇', false,'backward difference'], + ['∗', '∗', false,'asterisk operator'], + ['∝', '∝', false,'proportional to'], + ['∠', '∠', false,'angle'], +// undefined + ['´', '´', true, 'acute accent'], + ['¸', '¸', true, 'cedilla'], + ['ª', 'ª', true, 'feminine ordinal indicator'], + ['º', 'º', true, 'masculine ordinal indicator'], + ['†', '†', true, 'dagger'], + ['‡', '‡', true, 'double dagger'], +// alphabetical special chars + ['À', 'À', true, 'A - grave'], + ['Á', 'Á', true, 'A - acute'], + ['Â', 'Â', true, 'A - circumflex'], + ['Ã', 'Ã', true, 'A - tilde'], + ['Ä', 'Ä', true, 'A - diaeresis'], + ['Å', 'Å', true, 'A - ring above'], + ['Æ', 'Æ', true, 'ligature AE'], + ['Ç', 'Ç', true, 'C - cedilla'], + ['È', 'È', true, 'E - grave'], + ['É', 'É', true, 'E - acute'], + ['Ê', 'Ê', true, 'E - circumflex'], + ['Ë', 'Ë', true, 'E - diaeresis'], + ['Ì', 'Ì', true, 'I - grave'], + ['Í', 'Í', true, 'I - acute'], + ['Î', 'Î', true, 'I - circumflex'], + ['Ï', 'Ï', true, 'I - diaeresis'], + ['Ð', 'Ð', true, 'ETH'], + ['Ñ', 'Ñ', true, 'N - tilde'], + ['Ò', 'Ò', true, 'O - grave'], + ['Ó', 'Ó', true, 'O - acute'], + ['Ô', 'Ô', true, 'O - circumflex'], + ['Õ', 'Õ', true, 'O - tilde'], + ['Ö', 'Ö', true, 'O - diaeresis'], + ['Ø', 'Ø', true, 'O - slash'], + ['Œ', 'Œ', true, 'ligature OE'], + ['Š', 'Š', true, 'S - caron'], + ['Ù', 'Ù', true, 'U - grave'], + ['Ú', 'Ú', true, 'U - acute'], + ['Û', 'Û', true, 'U - circumflex'], + ['Ü', 'Ü', true, 'U - diaeresis'], + ['Ý', 'Ý', true, 'Y - acute'], + ['Ÿ', 'Ÿ', true, 'Y - diaeresis'], + ['Þ', 'Þ', true, 'THORN'], + ['à', 'à', true, 'a - grave'], + ['á', 'á', true, 'a - acute'], + ['â', 'â', true, 'a - circumflex'], + ['ã', 'ã', true, 'a - tilde'], + ['ä', 'ä', true, 'a - diaeresis'], + ['å', 'å', true, 'a - ring above'], + ['æ', 'æ', true, 'ligature ae'], + ['ç', 'ç', true, 'c - cedilla'], + ['è', 'è', true, 'e - grave'], + ['é', 'é', true, 'e - acute'], + ['ê', 'ê', true, 'e - circumflex'], + ['ë', 'ë', true, 'e - diaeresis'], + ['ì', 'ì', true, 'i - grave'], + ['í', 'í', true, 'i - acute'], + ['î', 'î', true, 'i - circumflex'], + ['ï', 'ï', true, 'i - diaeresis'], + ['ð', 'ð', true, 'eth'], + ['ñ', 'ñ', true, 'n - tilde'], + ['ò', 'ò', true, 'o - grave'], + ['ó', 'ó', true, 'o - acute'], + ['ô', 'ô', true, 'o - circumflex'], + ['õ', 'õ', true, 'o - tilde'], + ['ö', 'ö', true, 'o - diaeresis'], + ['ø', 'ø', true, 'o slash'], + ['œ', 'œ', true, 'ligature oe'], + ['š', 'š', true, 's - caron'], + ['ù', 'ù', true, 'u - grave'], + ['ú', 'ú', true, 'u - acute'], + ['û', 'û', true, 'u - circumflex'], + ['ü', 'ü', true, 'u - diaeresis'], + ['ý', 'ý', true, 'y - acute'], + ['þ', 'þ', true, 'thorn'], + ['ÿ', 'ÿ', true, 'y - diaeresis'], + ['Α', 'Α', true, 'Alpha'], + ['Β', 'Β', true, 'Beta'], + ['Γ', 'Γ', true, 'Gamma'], + ['Δ', 'Δ', true, 'Delta'], + ['Ε', 'Ε', true, 'Epsilon'], + ['Ζ', 'Ζ', true, 'Zeta'], + ['Η', 'Η', true, 'Eta'], + ['Θ', 'Θ', true, 'Theta'], + ['Ι', 'Ι', true, 'Iota'], + ['Κ', 'Κ', true, 'Kappa'], + ['Λ', 'Λ', true, 'Lambda'], + ['Μ', 'Μ', true, 'Mu'], + ['Ν', 'Ν', true, 'Nu'], + ['Ξ', 'Ξ', true, 'Xi'], + ['Ο', 'Ο', true, 'Omicron'], + ['Π', 'Π', true, 'Pi'], + ['Ρ', 'Ρ', true, 'Rho'], + ['Σ', 'Σ', true, 'Sigma'], + ['Τ', 'Τ', true, 'Tau'], + ['Υ', 'Υ', true, 'Upsilon'], + ['Φ', 'Φ', true, 'Phi'], + ['Χ', 'Χ', true, 'Chi'], + ['Ψ', 'Ψ', true, 'Psi'], + ['Ω', 'Ω', true, 'Omega'], + ['α', 'α', true, 'alpha'], + ['β', 'β', true, 'beta'], + ['γ', 'γ', true, 'gamma'], + ['δ', 'δ', true, 'delta'], + ['ε', 'ε', true, 'epsilon'], + ['ζ', 'ζ', true, 'zeta'], + ['η', 'η', true, 'eta'], + ['θ', 'θ', true, 'theta'], + ['ι', 'ι', true, 'iota'], + ['κ', 'κ', true, 'kappa'], + ['λ', 'λ', true, 'lambda'], + ['μ', 'μ', true, 'mu'], + ['ν', 'ν', true, 'nu'], + ['ξ', 'ξ', true, 'xi'], + ['ο', 'ο', true, 'omicron'], + ['π', 'π', true, 'pi'], + ['ρ', 'ρ', true, 'rho'], + ['ς', 'ς', true, 'final sigma'], + ['σ', 'σ', true, 'sigma'], + ['τ', 'τ', true, 'tau'], + ['υ', 'υ', true, 'upsilon'], + ['φ', 'φ', true, 'phi'], + ['χ', 'χ', true, 'chi'], + ['ψ', 'ψ', true, 'psi'], + ['ω', 'ω', true, 'omega'], +// symbols + ['ℵ', 'ℵ', false,'alef symbol'], + ['ϖ', 'ϖ', false,'pi symbol'], + ['ℜ', 'ℜ', false,'real part symbol'], + ['ϑ','ϑ', false,'theta symbol'], + ['ϒ', 'ϒ', false,'upsilon - hook symbol'], + ['℘', '℘', false,'Weierstrass p'], + ['ℑ', 'ℑ', false,'imaginary part'], +// arrows + ['←', '←', true, 'leftwards arrow'], + ['↑', '↑', true, 'upwards arrow'], + ['→', '→', true, 'rightwards arrow'], + ['↓', '↓', true, 'downwards arrow'], + ['↔', '↔', true, 'left right arrow'], + ['↵', '↵', false,'carriage return'], + ['⇐', '⇐', false,'leftwards double arrow'], + ['⇑', '⇑', false,'upwards double arrow'], + ['⇒', '⇒', false,'rightwards double arrow'], + ['⇓', '⇓', false,'downwards double arrow'], + ['⇔', '⇔', false,'left right double arrow'], + ['∴', '∴', false,'therefore'], + ['⊂', '⊂', false,'subset of'], + ['⊃', '⊃', false,'superset of'], + ['⊄', '⊄', false,'not a subset of'], + ['⊆', '⊆', false,'subset of or equal to'], + ['⊇', '⊇', false,'superset of or equal to'], + ['⊕', '⊕', false,'circled plus'], + ['⊗', '⊗', false,'circled times'], + ['⊥', '⊥', false,'perpendicular'], + ['⋅', '⋅', false,'dot operator'], + ['⌈', '⌈', false,'left ceiling'], + ['⌉', '⌉', false,'right ceiling'], + ['⌊', '⌊', false,'left floor'], + ['⌋', '⌋', false,'right floor'], + ['⟨', '〈', false,'left-pointing angle bracket'], + ['⟩', '〉', false,'right-pointing angle bracket'], + ['◊', '◊', true,'lozenge'], + ['♠', '♠', false,'black spade suit'], + ['♣', '♣', true, 'black club suit'], + ['♥', '♥', true, 'black heart suit'], + ['♦', '♦', true, 'black diamond suit'], + [' ', ' ', false,'en space'], + [' ', ' ', false,'em space'], + [' ', ' ', false,'thin space'], + ['‌', '‌', false,'zero width non-joiner'], + ['‍', '‍', false,'zero width joiner'], + ['‎', '‎', false,'left-to-right mark'], + ['‏', '‏', false,'right-to-left mark'], + ['­', '­', false,'soft hyphen'] +]; + +function renderCharMapHTML() { + var charsPerRow = 20, tdWidth=20, tdHeight=20; + var html = ''; + var cols=-1; + for (var i=0; i' + + charmap[i][1] + + ''; + if ((cols+1) % charsPerRow == 0) + html += ''; + } + } + if (cols % charsPerRow > 0) { + var padd = charsPerRow - (cols % charsPerRow); + for (var i=0; i '; + } + html += '
'; + document.write(html); +} + +function insertChar(chr) { + tinyMCEPopup.execCommand('mceInsertContent', false, '&#' + chr + ';'); + + // Refocus in window + if (tinyMCEPopup.isWindow) + window.focus(); + + tinyMCEPopup.close(); +} + +function previewChar(codeA, codeB, codeN) { + var elmA = document.getElementById('codeA'); + var elmB = document.getElementById('codeB'); + var elmV = document.getElementById('codeV'); + var elmN = document.getElementById('codeN'); + + if (codeA=='#160;') { + elmV.innerHTML = '__'; + } else { + elmV.innerHTML = '&' + codeA; + } + + elmB.innerHTML = '&' + codeA; + elmA.innerHTML = '&' + codeB; + elmN.innerHTML = codeN; +} diff --git a/phpgwapi/js/tiny_mce/themes/advanced/jscripts/color_picker.js b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/color_picker.js new file mode 100644 index 0000000000..68b5db2d6a --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/color_picker.js @@ -0,0 +1,108 @@ +function init() { + if (tinyMCE.isMSIE) + tinyMCEPopup.resizeToInnerSize(); +} + +function selectColor() { + var color = document.getElementById("selectedColorBox").value; + + tinyMCEPopup.execCommand(tinyMCE.getWindowArg('command'), false, color); + tinyMCEPopup.close(); +} + +function showColor(color) { + document.getElementById("selectedColor").style.backgroundColor = color; + document.getElementById("selectedColorBox").value = color; +} + +var colors = new Array( + "#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033", + "#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099", + "#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff", + "#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033", + "#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399", + "#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff", + "#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333", + "#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399", + "#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff", + "#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633", + "#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699", + "#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff", + "#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633", + "#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999", + "#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff", + "#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933", + "#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999", + "#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff", + "#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33", + "#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99", + "#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff", + "#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33", + "#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99", + "#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff", + "#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33", + "#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99", + "#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff" +); + +function convertRGBToHex(col) { + var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi"); + + var rgb = col.replace(re, "$1,$2,$3").split(','); + if (rgb.length == 3) { + r = parseInt(rgb[0]).toString(16); + g = parseInt(rgb[1]).toString(16); + b = parseInt(rgb[2]).toString(16); + + r = r.length == 1 ? '0' + r : r; + g = g.length == 1 ? '0' + g : g; + b = b.length == 1 ? '0' + b : b; + + return "#" + r + g + b; + } + + return col; +} + +function convertHexToRGB(col) { + if (col.indexOf('#') != -1) { + col = col.replace(new RegExp('[^0-9A-F]', 'gi'), ''); + + r = parseInt(col.substring(0, 2), 16); + g = parseInt(col.substring(2, 4), 16); + b = parseInt(col.substring(4, 6), 16); + + return "rgb(" + r + "," + g + "," + b + ")"; + } + + return col; +} + +function renderColorMap() { + var html = ""; + var inputColor = convertRGBToHex(tinyMCE.getWindowArg('input_color')); + + html += '' + + ''; + for (var i=0; i' + + '' + + '' + colors[i] +  ''; + if ((i+1) % 18 == 0) + html += ''; + } + html += '' + + '
' + + '' + + '' + + '
' + + '' + + '' + + '' + + '
' + + '
' + + '
' + + '
'; + + document.write(html); +} \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/themes/advanced/jscripts/image.js b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/image.js new file mode 100644 index 0000000000..a52bfad6ae --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/jscripts/image.js @@ -0,0 +1,81 @@ +var url = tinyMCE.getParam("external_image_list_url"); +if (url != null) { + // Fix relative + if (url.charAt(0) != '/' && url.indexOf('://') == -1) + url = tinyMCE.documentBasePath + "/" + url; + + document.write(''); +} + +function insertImage() { + var src = document.forms[0].src.value; + var alt = document.forms[0].alt.value; + var border = document.forms[0].border.value; + var vspace = document.forms[0].vspace.value; + var hspace = document.forms[0].hspace.value; + var width = document.forms[0].width.value; + var height = document.forms[0].height.value; + var align = document.forms[0].align.options[document.forms[0].align.selectedIndex].value; + + tinyMCEPopup.restoreSelection(); + tinyMCE.themes['advanced']._insertImage(src, alt, border, hspace, vspace, width, height, align); + tinyMCEPopup.close(); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image'); + + var formObj = document.forms[0]; + + for (var i=0; i 0) { + for (var i=0; i'); +} + +function init() { + tinyMCEPopup.resizeToInnerSize(); + + document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','theme_advanced_link'); + + // Handle file browser + if (isVisible('hrefbrowser')) + document.getElementById('href').style.width = '180px'; + + var formObj = document.forms[0]; + + for (var i=0; i 0) { + var formObj = document.forms[0]; + + for (var i=0; i', 'gi'),'\n'); + html = tinyMCE.regexpReplace(html, '
','
\n','gi'); + html = tinyMCE.regexpReplace(html, '\n\n','\n','gi');*/ + return html; +} + +function onLoadInit() { + tinyMCEPopup.resizeToInnerSize(); + + 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) { + var s = document.forms[0].htmlSource; + + s.wrap = val; + + if (tinyMCE.isGecko) { + var v = s.value; + var n = s.cloneNode(false); + n.setAttribute("wrap", val); + s.parentNode.replaceChild(n, s); + n.value = v; + } +} + +function toggleWordWrap(elm) { + if (elm.checked) + setWrap('soft'); + else + setWrap('off'); +} + +var wHeight=0, wWidth=0, owHeight=0, owWidth=0; + +function resizeInputs() { + if (!tinyMCE.isMSIE) { + wHeight = self.innerHeight-80; + wWidth = self.innerWidth-16; + } else { + wHeight = document.body.clientHeight - 80; + wWidth = document.body.clientWidth - 16; + } + + document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px'; + document.forms[0].htmlSource.style.width = Math.abs(wWidth) + 'px'; +} + +function renderWordWrap() { + if (tinyMCE.isMSIE || tinyMCE.isGecko) + document.write(''); +} diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ar.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ar.js new file mode 100644 index 0000000000..83c70621f8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ar.js @@ -0,0 +1,63 @@ +// Arabic lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'تصاميم', +theme_code_desc : 'شفرة المصدر', +theme_code_title : 'شفرة المصدر', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'منخفض', +theme_sup_desc : 'مرتفع', +theme_hr_desc : 'إدراج خط فاصل', +theme_removeformat_desc : 'إزالة التنسيقات', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'سمك الحدود', +insert_image_dimensions : 'المواصفات', +insert_image_vspace : 'تباعد عمودي', +insert_image_hspace : 'تباعد أفقي', +insert_image_align : 'محاذاة', +insert_image_align_default : 'Default', +insert_image_align_baseline : 'على السطر', +insert_image_align_top : 'أعلى', +insert_image_align_middle : 'وسط', +insert_image_align_bottom : 'أسفل', +insert_image_align_texttop : 'أعلى النص', +insert_image_align_absmiddle : 'وسط السطر', +insert_image_align_absbottom : 'أسفل النص', +insert_image_align_left : 'يسار', +insert_image_align_right : 'يمين', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'لون النص', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'لون النص', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'إدراج رمز..ِ', +theme_charmap_desc : 'إدراج رمز..ِ', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ca.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ca.js new file mode 100644 index 0000000000..ebd5e15d31 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ca.js @@ -0,0 +1,64 @@ +// CA lang variables by Marc Bria + +tinyMCE.addToLang('',{ +theme_style_select : 'Estils', +theme_code_desc : 'Editar codi HTML', +theme_code_title : 'Editor codi HTML', +theme_code_wordwrap : 'Ajustar salt de lnea', +theme_sub_desc : 'Subndex', +theme_sup_desc : 'Superndex', +theme_hr_desc : 'Insertar un separador horitzontal', +theme_removeformat_desc : 'Eliminar format', +theme_custom1_desc : 'La teva descripci', +insert_image_border : 'Marc', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Espai vertical', +insert_image_hspace : 'Espai horizontal', +insert_image_align : 'Alineament', +insert_image_align_default : 'Per defecte', +insert_image_align_baseline : 'Lnea base', +insert_image_align_top : 'Superior', +insert_image_align_middle : 'Centre', +insert_image_align_bottom : 'Inferior', +insert_image_align_texttop : 'Alinear text amunt', +insert_image_align_absmiddle : 'Centrat horitzontal', +insert_image_align_absbottom : 'Centrat a baix', +insert_image_align_left : 'Esquerra', +insert_image_align_right : 'Dreta', +insert_image_delta_height : 10, +theme_font_size : '-- Mida font --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatejat', +theme_h1 : 'Capalera 1', +theme_h2 : 'Capalera 2', +theme_h3 : 'Capalera 3', +theme_h4 : 'Capalera 4', +theme_h5 : 'Capalera 5', +theme_h6 : 'Capalera 6', +theme_colorpicker_title : 'Selecciona el color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Selecciona color frontal', +theme_backcolor_desc : 'Selecciona color de fons', +theme_charmap_title : 'Selecciona un carcter especial', +theme_charmap_desc : 'Inserta un carcter especial', +theme_visualaid_desc : 'Alterna lniesguia/elements invisibles', +insert_anchor_title : 'Inserta/edita ncora', +insert_anchor_name : 'Nom de lncora', +theme_anchor_desc : 'Inserta/edita un ncora', +theme_insert_link_titlefield : 'Ttlo', +theme_clipboard_msg : 'Copiar/Tallar/Enganxar no s possible amb Mozilla i Firefox.\nVols ms informaci sobre aquest problema de seguretat?', +theme_path : 'Cam', +cut_desc : 'Retallar', +copy_desc : 'Copiar', +paste_desc : 'Enganxar', +link_list : 'Llistat denllaos', +image_list : 'Llistat dimatges', +browse : 'Explorar', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/cs.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/cs.js new file mode 100755 index 0000000000..2419967d8d --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/cs.js @@ -0,0 +1,81 @@ +/** + * Czech lang variables + * encoding: utf-8 + * + * $Id: cs.js,v 1.11 2006/03/20 14:32:00 spocke Exp $ + */ + + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styly --', +theme_code_desc : 'Zobrazit HTML', +theme_code_title : 'Editace HTML', +theme_code_wordwrap : 'Bez dělení slov', +theme_sub_desc : 'Dolní index', +theme_sup_desc : 'Horní index', +theme_hr_desc : 'Vložit vodorovný oddělovač', +theme_removeformat_desc : 'Zrušit formátování', +theme_custom1_desc : 'Libovolný popisek', +insert_image_border : 'Rámeček', +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_baseline : 'Na účaří', +insert_image_align_top : 'Nahoru', +insert_image_align_middle : 'Na střed', +insert_image_align_bottom : 'Dolů', +insert_image_align_texttop : 'Nejvyšší bod textu', +insert_image_align_absmiddle : 'Střed řádku', +insert_image_align_absbottom : 'Spodek řádku', +insert_image_align_left : 'Vlevo', +insert_image_align_right : 'Vpravo', +theme_font_size : '-- Velikost textu --', +theme_fontdefault : '-- Písmo --', +theme_block : '-- Formát --', +theme_paragraph : 'Odstavec', +theme_div : 'Div', +theme_address : 'Adresa', +theme_pre : 'Předformát', +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ýběr barvy', +theme_colorpicker_apply : 'Vybrat', +theme_forecolor_desc : 'Barva popředí', +theme_backcolor_desc : 'Barva pozadí', +theme_charmap_title : 'Výběr znaku', +theme_charmap_desc : 'Vložit znak', +theme_visualaid_desc : 'Zapnout značky/neviditelné prvky', +insert_anchor_title : 'Vložení/editace záložky', +insert_anchor_name : 'Název', +theme_anchor_desc : 'Vložit/editovat záložku', +theme_insert_link_titlefield : 'Název', +theme_clipboard_msg : 'Funkce Kopírovat/vyjmout/vložit nejsou použitelné v Mozille a Firefoxu.\nChcete více informací o tomto problému?', +theme_path : 'Cesta', +cut_desc : 'Vyjmout', +copy_desc : 'Kopírovat', +paste_desc : 'Vložit', +link_list : 'Seznam', +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?', +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' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/cy.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/cy.js new file mode 100644 index 0000000000..43636a3c89 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/cy.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Arddulliau --', +theme_code_desc : 'Golygu côd HTML', +theme_code_title : 'Golygydd Côd HTML', +theme_code_wordwrap : 'Amlapio geiriau', +theme_sub_desc : 'Is-sgript', +theme_sup_desc : 'Uwch-sgript', +theme_hr_desc : 'Mewnosod llinell llorweddol', +theme_removeformat_desc : 'Diddymu fformatio', +theme_custom1_desc : 'Dy ddisgrifiad fan hyn', +insert_image_border : 'Ymyl', +insert_image_dimensions : 'Meintiau', +insert_image_vspace : 'Gofod fertigol', +insert_image_hspace : 'Gofod llorweddol', +insert_image_align : 'Unioniad', +insert_image_align_default : '-- Heb ddewis --', +insert_image_align_baseline : 'Gwaelodlin', +insert_image_align_top : 'Brig', +insert_image_align_middle : 'Canol', +insert_image_align_bottom : 'Gwaelod', +insert_image_align_texttop : 'Brig Testun', +insert_image_align_absmiddle : 'Canol Union', +insert_image_align_absbottom : 'Gwaelod Union', +insert_image_align_left : 'Chwith', +insert_image_align_right : 'Dde', +theme_font_size : '-- Maint ffont --', +theme_fontdefault : '-- Teulu ffont --', +theme_block : '-- Fformat --', +theme_paragraph : 'Paragraff', +theme_div : 'Div', +theme_address : 'Cyfeiriad', +theme_pre : 'Rhag-fformatiwyd', +theme_h1 : 'Pennawd 1', +theme_h2 : 'Pennawd 2', +theme_h3 : 'Pennawd 3', +theme_h4 : 'Pennawd 4', +theme_h5 : 'Pennawd 5', +theme_h6 : 'Pennawd 6', +theme_colorpicker_title : 'Dewis lliw', +theme_colorpicker_apply : 'Gosod', +theme_forecolor_desc : 'Dewis lliw testun', +theme_backcolor_desc : 'Dewis lliw cefndir', +theme_charmap_title : 'Dewis llythyren arbennig', +theme_charmap_desc : 'Gosod llythyren arbennig', +theme_visualaid_desc : 'Gwrthdroi canllawiau/elfennau anweledig', +insert_anchor_title : 'Mewnosod/golygu angor', +insert_anchor_name : 'Enw angor', +theme_anchor_desc : 'Mewnosod/golygu angor', +theme_insert_link_titlefield : 'Teitl', +theme_clipboard_msg : 'Dyw Copïo/Torri/Gludo ddim ar gael ym Mozilla na Firefox.\nHoffet ti ragor o wybodaeth ynghylch hyn?', +theme_path : 'Llwybr', +cut_desc : 'Torri', +copy_desc : 'Copïo', +paste_desc : 'Gludo', +link_list : 'Rhestr dolenni', +image_list : 'Rhestr delweddau', +browse : 'Pori', +image_props_desc : 'Priodoleddau delwedd', +newdocument_desc : 'Dogfen newydd', +class_name : 'Dosbarth', +newdocument : 'Wyt ti\'n sicr eisiau clirio\'r holl gynnwys?', +about_title : 'Ynglŷn â TinyMCE', +about : 'Ynglŷn â', +license : 'Trwydded', +plugins : 'Ategynnau', +plugin : 'Ategyn', +author : 'Awdur', +version : 'Fersiwn', +loaded_plugins : 'Ategynnau gweithredol', +help : 'Cymorth', +not_set : '-- Heb ddewis --', +close : 'Cau', +toolbar_focus : 'Neidio i fotymau offer - Alt+Q, Neidio i\'r golygydd - Alt+Z, Neidio i lwybr y elfen - Alt+X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/da.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/da.js new file mode 100644 index 0000000000..9cd20b27b2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/da.js @@ -0,0 +1,76 @@ +// DK lang variables contributed by Jan Moelgaard, John Dalsgaard and Bo Frederiksen. + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Rediger HTML kode', +theme_code_title : 'HTML Kodeeditor', +theme_code_wordwrap : 'Ombrydning', +theme_sub_desc : 'Sænket skrift', +theme_sup_desc : 'Hævet skrift', +theme_hr_desc : 'Indsæt horisontal linje', +theme_removeformat_desc : 'Fjern formatering', +theme_custom1_desc : 'Indsæt din egen beskrivelse her', +insert_image_border : 'Kant', +insert_image_dimensions : 'Dimensioner', +insert_image_vspace : 'Flyt til venstre', +insert_image_hspace : 'Flyt til højre', +insert_image_align : 'Justering', +insert_image_align_default : 'Standard', +insert_image_align_baseline : 'Bundlinje', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Midt i', +insert_image_align_bottom : 'I bunden', +insert_image_align_texttop : 'I toppen af teksten', +insert_image_align_absmiddle : 'Absolut midte', +insert_image_align_absbottom : 'Absolut bund', +insert_image_align_left : 'Venstre', +insert_image_align_right : 'Højre', +theme_font_size : '-- Skrift størrelse --', +theme_fontdefault : '-- Skrifttype --', +theme_block : '-- Typografi --', +theme_paragraph : 'Afsnit', +theme_div : 'Div', +theme_address : 'Adresse', +theme_pre : 'Præformateret', +theme_h1 : 'Overskrift 1', +theme_h2 : 'Overskrift 2', +theme_h3 : 'Overskrift 3', +theme_h4 : 'Overskrift 4', +theme_h5 : 'Overskrift 5', +theme_h6 : 'Overskrift 6', +theme_colorpicker_title : 'Vælg en farve', +theme_colorpicker_apply : 'Anvend', +theme_forecolor_desc : 'Vælg forgrundsfarve', +theme_backcolor_desc : 'Vælg baggrundsfarve', +theme_charmap_title : 'Vælg specialtegn', +theme_charmap_desc : 'Indsæt specialtegn', +theme_visualaid_desc : 'Slå linjer/usynlige elementer til og fra', +insert_anchor_title : 'Indsæt/rediger bogmærke', +insert_anchor_name : 'Bogmærkets navn', +theme_anchor_desc : 'Indsæt/rediger bogmærke', +theme_insert_link_titlefield : 'Titel', +theme_clipboard_msg : 'Kopier/Klip/Indsæt virker ikke i Mozilla og Firefox.\nVil du vide mere om dette?', +theme_path : 'Sti', +cut_desc : 'Klip', +copy_desc : 'Kopier', +paste_desc : 'Indsæt', +link_list : 'Linkliste', +image_list : 'Billedliste', +browse : 'Gennemse', +image_props_desc : 'Billedegenskaber', +newdocument_desc : 'Nyt dokument', +class_name : 'Klasse', +newdocument : 'Er du sikker på, at du vil slette alt?', +about_title : 'Om TinyMCE', +about : 'Om', +license : 'Licens', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Forfatter', +version : 'Version', +loaded_plugins : 'Indlæste plugins', +help : 'Hjælp', +not_set : '-- Ikke valgt --', +close : 'Luk', +toolbar_focus : 'Hop til værktøjslinje - Alt+Q, Hop til editor - Alt-Z, Hop til element sti - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/de.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/de.js new file mode 100644 index 0000000000..bc6809050b --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/de.js @@ -0,0 +1,77 @@ +// DE lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- CSS-Stile --', +theme_code_desc : 'HTML-Quelltext editieren', +theme_code_title : 'HTML-Quelltexteditor', +theme_code_wordwrap : 'Zeilenumbruch', +theme_sub_desc : 'Tiefergestellt', +theme_sup_desc : 'Hochgestellt', +theme_hr_desc : 'Horizontalen Balken einfügen', +theme_removeformat_desc : 'Formatierung löschen', +theme_custom1_desc : 'Eigene Beschreibung', +insert_image_border : 'Rahmen', +insert_image_dimensions : 'Größe', +insert_image_vspace : 'Vertikaler Raum', +insert_image_hspace : 'Horizontaler Raum', +insert_image_align : 'Ausrichtung', +insert_image_align_default : '-- Nicht festgelegt --', +insert_image_align_baseline : 'Grundlinie', +insert_image_align_top : 'Oben', +insert_image_align_middle : 'Mitte', +insert_image_align_bottom : 'Unten', +insert_image_align_texttop : 'Mit dem Text', +insert_image_align_absmiddle : 'Absolute mittig', +insert_image_align_absbottom : 'Absolut unten', +insert_image_align_left : 'Links', +insert_image_align_right : 'Rechts', +theme_font_size : '-- Schriftgröße --', +theme_fontdefault : '-- Schriftfamilie --', +theme_block : '-- Format --', +theme_paragraph : 'Absatz', +theme_div : 'Block', +theme_address : 'Adresse', +theme_pre : 'Vorformatiert', +theme_h1 : 'Überschrift 1', +theme_h2 : 'Überschrift 2', +theme_h3 : 'Überschrift 3', +theme_h4 : 'Überschrift 4', +theme_h5 : 'Überschrift 5', +theme_h6 : 'Überschrift 6', +theme_colorpicker_title : 'Farbe auswählen', +theme_colorpicker_apply : 'Farbe festlegen', +theme_forecolor_desc : 'Schriftfarbe auswählen', +theme_backcolor_desc : 'Hintergrundfarbe auswählen', +theme_charmap_title : 'Sonderzeichen einfügen', +theme_charmap_desc : 'Sonderzeichen einfügen', +theme_visualaid_desc : 'Hilfslinen/Unsichtbare Elemente anzeigen', +insert_anchor_title : 'Anker einfügen/bearbeiten', +insert_anchor_name : 'Ankername', +theme_anchor_desc : 'Anker einfügen/bearbeiten', +theme_insert_link_titlefield : 'Titel', +theme_clipboard_msg : 'Zwischenablagefunktionen sind in Mozilla und Firefox nicht verfügbar.\nWünschen Sie hierzu weitere Informationen?', +theme_path : 'Pfad', +cut_desc : 'Ausschneiden', +copy_desc : 'Kopieren', +paste_desc : 'Einfügen', +link_list : 'Hyperlink-Liste', +image_list : 'Bild-Liste', +browse : 'Durchsuchen', +image_props_desc : 'Bildeigenschaften', +newdocument_desc : 'Neues Dokument', +class_name : 'CSS-Klasse', +newdocument : 'Sind Sie sicher, dass Sie alle Inhalte löschen wollen?', +about_title : 'Über TinyMCE', +about : 'Über', +license : 'Lizenz', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Autor', +version : 'Version', +loaded_plugins : 'Geladene Plugins', +help : 'Hilfe', +not_set : '-- Nicht festgelegt --', +close : 'Schließen', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X', +insert_link_delta_width : 40 +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/el.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/el.js new file mode 100755 index 0000000000..35e1010f24 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/el.js @@ -0,0 +1,65 @@ +// Greek lang variables by Jacaranda Bill +// Revised by Dimitris Giannitsaros / MediSign SA + +tinyMCE.addToLang('',{ +theme_style_select : '', +theme_code_desc : ' HTML ', +theme_code_title : ' HTML', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : '', +theme_sup_desc : '', +theme_hr_desc : ' ', +theme_removeformat_desc : ' ', +theme_custom1_desc : '', +insert_image_border : '', +insert_image_dimensions : '', +insert_image_vspace : '. ', +insert_image_hspace : '. ', +insert_image_align : '', +insert_image_align_default : '', +insert_image_align_baseline : ' ', +insert_image_align_top : '', +insert_image_align_middle : ' ', +insert_image_align_bottom : '', +insert_image_align_texttop : ' ', +insert_image_align_absmiddle : ' ', +insert_image_align_absbottom : ' ', +insert_image_align_left : '', +insert_image_align_right : '', +theme_font_size : '-- --', +theme_fontdefault : '-- --', +theme_block : '-- --', +theme_paragraph : '', +theme_div : 'Div', +theme_address : '', +theme_pre : '', +theme_h1 : ' 1', +theme_h2 : ' 2', +theme_h3 : ' 3', +theme_h4 : ' 4', +theme_h5 : ' 5', +theme_h6 : ' 6', +theme_colorpicker_title : '', +theme_colorpicker_apply : '', +theme_forecolor_desc : ' ', +theme_backcolor_desc : ' background', +theme_charmap_title : ' ', +theme_charmap_desc : ' ', +theme_visualaid_desc : '/ ', +insert_anchor_title : '/ ', +insert_anchor_name : ' ', +theme_anchor_desc : '/ ', +theme_insert_link_titlefield : '', +theme_clipboard_msg : ' // Mozilla Firefox.\n ;', +theme_path : '', +cut_desc : '', +copy_desc : '', +paste_desc : '', +link_list : ' ', +image_list : ' ', +browse : '', +image_props_desc : ' ', +newdocument_desc : ' ', +class_name : '', +newdocument : ' ;' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/en.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/en.js new file mode 100644 index 0000000000..ca726768ad --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/en.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Edit HTML Source', +theme_code_title : 'HTML Source Editor', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Insert horizontal ruler', +theme_removeformat_desc : 'Remove formatting', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Border', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Vertical space', +insert_image_hspace : 'Horizontal space', +insert_image_align : 'Alignment', +insert_image_align_default : '-- Not set --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'Select a color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Select text color', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Class', +newdocument : 'Are you sure you want clear all contents?', +about_title : 'About TinyMCE', +about : 'About', +license : 'License', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Author', +version : 'Version', +loaded_plugins : 'Loaded plugins', +help : 'Help', +not_set : '-- Not set --', +close : 'Close', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/es.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/es.js new file mode 100755 index 0000000000..e3ff427b42 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/es.js @@ -0,0 +1,102 @@ +/** + * ES lang variables + * + * Authors : Alvaro Velasco, + * Adolfo Sanz De Diego (asanzdiego) , + * Carlos C Soto (eclipxe) + * Eneko Castresana Vara + * Last Updated : July 14, 2006 + * TinyMCE Version : 2.0.6.1 + */ + +tinyMCE.addToLang('',{ +theme_style_select : '-- Estilos --', +theme_code_desc : 'Editar código HTML', +theme_code_title : 'Editor código HTML', +theme_code_wordwrap : 'Ajuste de línea', +theme_sub_desc : 'Subíndice', +theme_sup_desc : 'Superíndice', +theme_hr_desc : 'Insertar una barra horizontal', +theme_removeformat_desc : 'Quitar formato', +theme_custom1_desc : 'Tu descripción aquí', +insert_image_border : 'Borde', +insert_image_dimensions : 'Dimensiones', +insert_image_vspace : 'Espacio vertical', +insert_image_hspace : 'Espacio horizontal', +insert_image_align : 'Alineación', +insert_image_align_default : '-- Por defecto --', +insert_image_align_baseline : 'Linea base', +insert_image_align_top : 'Arriba', +insert_image_align_middle : 'Centrado', +insert_image_align_bottom : 'Abajo', +insert_image_align_texttop : 'Texto arriba', +insert_image_align_absmiddle : 'Centrado total', +insert_image_align_absbottom : 'Abajo total', +insert_image_align_left : 'Izquierda', +insert_image_align_right : 'Derecha', +theme_font_size : '-- Tamaño del texto --', +theme_fontdefault : '-- Tipo de fuente --', +theme_block : '-- Formato del texto --', +theme_paragraph : 'Párrafo', +theme_div : 'Capa', +theme_address : 'Dirección', +theme_pre : 'Preformateado', +theme_h1 : 'Título 1', +theme_h2 : 'Título 2', +theme_h3 : 'Título 3', +theme_h4 : 'Título 4', +theme_h5 : 'Título 5', +theme_h6 : 'Título 6', +theme_colorpicker_title : 'Selecciona un color', +theme_colorpicker_apply : 'Aplicar', +theme_forecolor_desc : 'Selecciona un color para el texto', +theme_backcolor_desc : 'Selecciona un color de fondo', +theme_charmap_title : 'Selecciona un carácter especial', +theme_charmap_desc : 'Inserta un carácter especial', +theme_charmap_all_title : 'Todos', +theme_charmap_all_desc : 'Todos los caracteres', +theme_charmap_alpha_title : 'Alfabéticos', +theme_charmap_alpha_desc : 'Caracteres alfabéticos', +theme_charmap_arrows_title : 'Flechas', +theme_charmap_arrows_desc : 'Caracteres de flechas', +theme_charmap_greek_title : 'Griegos', +theme_charmap_greek_desc : 'Caracteres Griegos', +theme_charmap_math_title : 'Mathemáticos', +theme_charmap_math_desc : 'Caracteres mathemáticos', +theme_charmap_misc_title : 'Misceláneos', +theme_charmap_misc_desc : 'Caracteres misceláneos', +theme_charmap_money_title : 'Monedas', +theme_charmap_money_desc : 'Caracteres de monedas', +theme_charmap_quotaion_title : 'Comillas', +theme_charmap_quotaion_desc : 'Caracteres de comillas', +theme_visualaid_desc : 'Cambiar las líneas de ayuda por elementos invisibles', +insert_anchor_title : 'Insertar/editar ancla', +insert_anchor_name : 'Nombre del ancla', +theme_anchor_desc : 'Insertar/editar ancla', +theme_insert_link_titlefield : 'Título', +theme_clipboard_msg : 'No se pueden utilizar los comandos Copiar / Cortar / Pegar en Mozilla y en Firefox.\r\nUse el teclado Copiar (Ctrl+C) / Cortar (Ctrl+X) / Pegar (Ctrl+V)\r\n¿Quieres obtener más información?', +theme_path : 'Ruta', +cut_desc : 'Cortar (Ctrl+X)', +copy_desc : 'Copiar (Ctrl+C)', +paste_desc : 'Pegar (Ctrl+V)', +link_list : 'Lista de enlaces', +image_list : 'Lista de imágenes', +browse : 'Navegar', +image_props_desc : 'Propiedades de la imagen', +newdocument_desc : 'Nuevo documento', +class_name : 'Clase', +newdocument : '¿Estás seguro de que quieres borrar todo el contenido?', +about_title : 'Acerca de TinyMCE', +about : 'Acerca', +license : 'Licencia', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Autor', +version : 'Versión', +loaded_plugins : 'Plugins cargados', +help : 'Ayuda', +not_set : '-- Por defecto --', +close : 'Cerrar', +toolbar_focus : 'Saltar a la barra de herramientas - Alt+Q, Saltar al editor - Alt+Z, Saltar al elemento de la ruta - Alt+X', +theme_advanced_anchor_delta_width : 20 +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/fa.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/fa.js new file mode 100644 index 0000000000..2e01f436df --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/fa.js @@ -0,0 +1,65 @@ +// IR lang variables +// Persian (Farsi) language pack (for IRAN) +// By: Morteza Zafari +// Lost@LostLord.com +// http://www.LostLord.com + +tinyMCE.addToLang('',{ +dir : 'rtl', +theme_style_select : '????', +theme_code_desc : '?????? ????', +theme_code_title : 'HTML ???????? ????', +theme_code_wordwrap : '?? ???', +theme_sub_desc : '??? ????', +theme_sup_desc : '???? ????', +theme_hr_desc : '??? ?? ????', +theme_removeformat_desc : '??? ?? ??? ???? ????', +theme_custom1_desc : 'Your custom description here', +insert_image_border : '?????', +insert_image_dimensions : '?????', +insert_image_vspace : '????? ?????', +insert_image_hspace : '????? ????', +insert_image_align : '??? ????????', +insert_image_align_default : '??? ???', +insert_image_align_baseline : '?? ????', +insert_image_align_top : '????', +insert_image_align_middle : '???', +insert_image_align_bottom : '?????', +insert_image_align_texttop : '????? ???', +insert_image_align_absmiddle : '??? ????', +insert_image_align_absbottom : '????? ????', +insert_image_align_left : '??', +insert_image_align_right : '????', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : '????????', +theme_div : 'Div', +theme_address : '????', +theme_pre : '?? ??? ????? ???', +theme_h1 : '???? 1', +theme_h2 : '???? 2', +theme_h3 : '???? 3', +theme_h4 : '???? 4', +theme_h5 : '???? 5', +theme_h6 : '???? 6', +theme_colorpicker_title : '??? ?? ?????? ????', +theme_colorpicker_apply : '?????', +theme_forecolor_desc : '?????? ??? ???', +theme_backcolor_desc : '?????? ??? ?????', +theme_charmap_title : '?????? ??????? ????', +theme_charmap_desc : '??? ??????? ????', +theme_visualaid_desc : '????? ???? ???? ? ????? ??????', +insert_anchor_title : '??? ? ?????? Anchor', +insert_anchor_name : '??? Anchor', +theme_anchor_desc : '??? ? ?????? Anchor', +theme_insert_link_titlefield : '?????', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : '????', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/fa_ca.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/fa_ca.js new file mode 100644 index 0000000000..ca726768ad --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/fa_ca.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Edit HTML Source', +theme_code_title : 'HTML Source Editor', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Insert horizontal ruler', +theme_removeformat_desc : 'Remove formatting', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Border', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Vertical space', +insert_image_hspace : 'Horizontal space', +insert_image_align : 'Alignment', +insert_image_align_default : '-- Not set --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'Select a color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Select text color', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Class', +newdocument : 'Are you sure you want clear all contents?', +about_title : 'About TinyMCE', +about : 'About', +license : 'License', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Author', +version : 'Version', +loaded_plugins : 'Loaded plugins', +help : 'Help', +not_set : '-- Not set --', +close : 'Close', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/fi.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/fi.js new file mode 100755 index 0000000000..2eaa9419cc --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/fi.js @@ -0,0 +1,77 @@ +// FI lang variables by Urho Konttori from Absolutions +// Updated by Tuomo Aura from Ateco.fi + +tinyMCE.addToLang('',{ +theme_style_select : '-- Tyylit --', +theme_code_desc : 'Muokkaa HTML-lähdekoodia', +theme_code_title : 'HTML-Lähdekoodin muokkaus', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Alaindeksi', +theme_sup_desc : 'Yläindeksi', +theme_hr_desc : 'Lisää vaakaviiva', +theme_removeformat_desc : 'Poista muotoilu', +theme_custom1_desc : 'Kirjoita oma selityksesi tähän', +insert_image_border : 'Reuna', +insert_image_dimensions : 'Mitat', +insert_image_vspace : 'Pystyväli', +insert_image_hspace : 'Vaakaväli', +insert_image_align : 'Asettelu', +insert_image_align_default : 'Oletus', +insert_image_align_baseline : 'Perustasoon', +insert_image_align_top : 'Ylälaitaan', +insert_image_align_middle : 'Keskelle', +insert_image_align_bottom : 'Alalaitaan', +insert_image_align_texttop : 'Tekstin ylälaitaan', +insert_image_align_absmiddle : 'Absoluuttisen keskelle', +insert_image_align_absbottom : 'Absoluuttisen alas', +insert_image_align_left : 'Vasemmalle', +insert_image_align_right : 'Oikealle', +theme_font_size : '-- Fonttikoko --', +theme_fontdefault : '-- Fontti --', +theme_block : '-- Muotoilu --', +theme_paragraph : 'Kappale', +theme_div : 'Div', +theme_address : 'Osoite', +theme_pre : 'Etukäteen muotoiltu', +theme_h1 : 'Otsikko 1', +theme_h2 : 'Otsikko 2', +theme_h3 : 'Otsikko 3', +theme_h4 : 'Otsikko 4', +theme_h5 : 'Otsikko 5', +theme_h6 : 'Otsikko 6', +theme_colorpicker_title : 'Valitse väri', +theme_colorpicker_apply : 'Aseta väri', +theme_forecolor_desc : 'Valitse fontin väri', +theme_backcolor_desc : 'Valitse taustaväri', +theme_charmap_title : 'Valitse erikoismerkki', +theme_charmap_desc : 'Lisää oma erikoismerkki', +theme_visualaid_desc : 'Näytä/piilota apuviivat', +insert_anchor_title : 'Lisää/muokkaa ankkuria', +insert_anchor_name : 'Ankkurin nimi', +theme_anchor_desc : 'Lisää/muokkaa ankkuria', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Leikkaus/Kopiointi/Liitäminen ei onnistu Mozilla eikä Firefox -selaimilla tietoturvasyistä. \n Haluatko lisätietoa aiheesta?', +theme_path : 'Polku', +cut_desc : 'Leikkaa', +copy_desc : 'Kopioi', +paste_desc : 'Liitä', +link_list : 'Linkkilista', +image_list : 'Kuvalista', +browse : 'Selaa', +image_props_desc : 'Kuvan ominaisuudet', +newdocument_desc : 'Uusi dokumentti', +class_name : 'Luokka', +newdocument : 'Oletko varma, että haluat poistaa kaiken sisällön?', +about_title : 'TinyMCE:n tiedot', +about : 'Tiedot', +license : 'Lisenssi', +plugins : 'Pluginit', +plugin : 'Plugini', +author : 'Tekijä', +version : 'Versio', +loaded_plugins : 'Ladatut pluginit', +help : 'Apua', +not_set : '-- Ei asetettu --', +close : 'Sulje', +toolbar_focus : 'Hyppää työkalupainikkeisiin - Alt+Q, Hyppää editoriin - Alt-Z, Hyppää polkuun - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/fr.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/fr.js new file mode 100755 index 0000000000..67fee6d864 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/fr.js @@ -0,0 +1,77 @@ +// 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 : '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 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_baseline : 'Ligne de base', +insert_image_align_top : 'Haut', +insert_image_align_middle : 'Milieu', +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', +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_h1 : 'Titre de niveau 1', +theme_h2 : 'Titre de niveau 2', +theme_h3 : 'Titre de niveau 3', +theme_h4 : 'Titre de niveau 4', +theme_h5 : 'Titre de niveau 5', +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', +insert_anchor_title : 'Gestionnaire d\'ancre', +insert_anchor_name : 'Nom de l\'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 : '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', +newdocument_desc : 'Nouveau document', +class_name : 'Classe CSS', +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', +help : 'Aide', +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)' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/fr_ca.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/fr_ca.js new file mode 100755 index 0000000000..2e15b58184 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/fr_ca.js @@ -0,0 +1,64 @@ +// Canadian French lang variables by Virtuelcom last modification: 2005-06-15 + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Modifier le code source HTML', +theme_code_title : 'diteur de code source HTML', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Souscrit', +theme_sup_desc : 'Indice suprieur', +theme_hr_desc : 'Insrer un sparateur horizontal', +theme_removeformat_desc : 'Supprimer le formattage', +theme_custom1_desc : 'Votre description personnalise ici', +insert_image_border : 'Bordure', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'VSpace', +insert_image_hspace : 'HSpace', +insert_image_align : 'Alignement', +insert_image_align_default : 'Dfaut', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Haut', +insert_image_align_middle : 'Milieu', +insert_image_align_bottom : 'Bas', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Milieu absolu', +insert_image_align_absbottom : 'Bas absolu', +insert_image_align_left : 'Gauche', +insert_image_align_right : 'Droit', +theme_font_size : 'Taille', +theme_fontdefault : '-- Police --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraphe', +theme_div : 'Div', +theme_address : 'Addresse', +theme_pre : 'Prformatt', +theme_h1 : 'Entte 1', +theme_h2 : 'Entte 2', +theme_h3 : 'Entte 3', +theme_h4 : 'Entte 4', +theme_h5 : 'Entte 5', +theme_h6 : 'Entte 6', +theme_colorpicker_title : 'Choisir une couleur', +theme_colorpicker_apply : 'Appliquer', +theme_forecolor_desc : 'Choisir la couleur d\'avant plan', +theme_backcolor_desc : 'Choisir une couleur d\'arrire plan', +theme_charmap_title : 'Slectionner un charactre spcial', +theme_charmap_desc : 'Insrer un charactre spcial', +theme_visualaid_desc : 'Active/Dsactive les lignes guides et les lments invisibles', +insert_anchor_title : 'Insrer/Modifier une ancre', +insert_anchor_name : 'Nom de l\'ancre', +theme_anchor_desc : 'Insrer / Modifier une ancre', +theme_insert_link_titlefield : 'Titre', +theme_clipboard_msg : 'Copier/Couper/Coller ne sont pas disponibles dans Mozilla et FireFox.\nDsirez-vous consulter de plus amples informations ce sujet?', +theme_path : 'Chemin', +cut_desc : 'Couper', +copy_desc : 'Copier', +paste_desc : 'Coller', +link_list : 'Liste de liens', +image_list : 'Liste d\'images', +browse : 'Slectionner', +image_props_desc : 'Proprits de l\'image', +newdocument_desc : 'Nouveau Document', +class_name : 'Classe', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/he.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/he.js new file mode 100755 index 0000000000..87778f3f80 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/he.js @@ -0,0 +1,76 @@ +// HE lang variables by Liron Newman, http://eesh.net + +tinyMCE.addToLang('',{ +theme_style_select : '-- --', +theme_code_desc : ' -HTML', +theme_code_title : ' HTML', +theme_code_wordwrap : ' ', +theme_sub_desc : ' ', +theme_sup_desc : ' ', +theme_hr_desc : ' ', +theme_removeformat_desc : ' ', +theme_custom1_desc : ' ', +insert_image_border : '', +insert_image_dimensions : '', +insert_image_vspace : ' ', +insert_image_hspace : ' ', +insert_image_align : '', +insert_image_align_default : ' ', +insert_image_align_baseline : ' ', +insert_image_align_top : '', +insert_image_align_middle : '', +insert_image_align_bottom : '', +insert_image_align_texttop : ' ', +insert_image_align_absmiddle : ' ', +insert_image_align_absbottom : ' ', +insert_image_align_left : '', +insert_image_align_right : '', +theme_font_size : ' ', +theme_fontdefault : '-- --', +theme_block : '-- --', +theme_paragraph : '', +theme_div : '', +theme_address : '', +theme_pre : ' ', +theme_h1 : ' 1', +theme_h2 : ' 2', +theme_h3 : ' 3', +theme_h4 : ' 4', +theme_h5 : ' 5', +theme_h6 : ' 6', +theme_colorpicker_title : ' ', +theme_colorpicker_apply : '', +theme_forecolor_desc : ' ', +theme_backcolor_desc : ' ', +theme_charmap_title : ' ', +theme_charmap_desc : ' ', +theme_visualaid_desc : ' / -', +insert_anchor_title : '/ ', +insert_anchor_name : ' ', +theme_anchor_desc : '/ ', +theme_insert_link_titlefield : '', +theme_clipboard_msg : ' // Mozilla -Firefox.\n ?', +theme_path : '', +cut_desc : '', +copy_desc : '', +paste_desc : '', +link_list : ' ', +image_list : ' ', +browse : '', +image_props_desc : ' ', +newdocument_desc : ' ', +class_name : '', +newdocument : ' ?', +about_title : ' TinyMCE', +about : '', +license : '', +plugins : '', +plugin : '', +author : '', +version : '', +loaded_plugins : ' ', +help : '', +not_set : '-- --', +close : '', +toolbar_focus : ' - Alt+Q, - Alt-Z, - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/hu.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/hu.js new file mode 100644 index 0000000000..49535b002b --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/hu.js @@ -0,0 +1,75 @@ +// HU lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stlusok --', +theme_code_desc : 'HTML forrs szerkesztse', +theme_code_title : 'HTML forrs szerkeszt', +theme_code_wordwrap : 'Sortrdels', +theme_sub_desc : 'Alsindex', +theme_sup_desc : 'Felsindex', +theme_hr_desc : 'Vizszntes vonal beszrsa', +theme_removeformat_desc : 'Formzs eltvoltsa', +theme_custom1_desc : 'Az egyni lersod jn ide', +insert_image_border : 'Keret', +insert_image_dimensions : 'Kiterjeds', +insert_image_vspace : 'Fggleges terlet', +insert_image_hspace : 'Vizszintes terlet', +insert_image_align : 'Elhelyezkeds', +insert_image_align_default : '-- Nincs belltva --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Fell', +insert_image_align_middle : 'Kzpen', +insert_image_align_bottom : 'Alul', +insert_image_align_texttop : 'Szvegfelett', +insert_image_align_absmiddle : 'Abszolt kzp', +insert_image_align_absbottom : 'Abszolt alatt', +insert_image_align_left : 'Balra', +insert_image_align_right : 'Jobbra', +theme_font_size : '-- Betmret --', +theme_fontdefault : '-- Betcsald --', +theme_block : '-- Formtum --', +theme_paragraph : 'Bekezds', +theme_div : 'Div', +theme_address : 'Cm', +theme_pre : 'Elreformzott', +theme_h1 : 'Fejlc 1', +theme_h2 : 'Fejlc 2', +theme_h3 : 'Fejlc 3', +theme_h4 : 'Fejlc 4', +theme_h5 : 'Fejlc 5', +theme_h6 : 'Fejlc 6', +theme_colorpicker_title : 'Sznvlaszts', +theme_colorpicker_apply : 'Alkalmaz', +theme_forecolor_desc : 'Szvegszn vlaszts', +theme_backcolor_desc : 'Httrszn vlaszts', +theme_charmap_title : 'Egyni karakter vlaszts', +theme_charmap_desc : 'Egyni karakter beszrs', +theme_visualaid_desc : 'Sorjellk/lthatatlan elemek kapcsolsa', +insert_anchor_title : 'Horgony nbeillesztse/szerkesztse', +insert_anchor_name : 'Horgony nv', +theme_anchor_desc : 'Horgony nbeillesztse/szerkesztse', +theme_insert_link_titlefield : 'Cm', +theme_clipboard_msg : 'A Msols/Kivgs/Beilleszts nem elrhet Mozillban and Firefox-ban.\nSzeretnl tbb informcit errl a problmrl?', +theme_path : 'tvonal', +cut_desc : 'Kivgs', +copy_desc : 'Msols', +paste_desc : 'Beilleszts', +link_list : 'Link lista', +image_list : 'Kp lista', +browse : 'Tallzs', +image_props_desc : 'Kp tulajdonsgai', +newdocument_desc : 'j dokumentum', +class_name : 'Osztly', +newdocument : 'Biztos hogy trlni akarod az sszes tartalmat?', +about_title : 'TinyMCE nvjegye', +about : 'Nvjegy', +license : 'Licensz', +plugins : 'Bvtmnyek', +plugin : 'Bvtmny', +author : 'Szerz', +version : 'Verzi', +loaded_plugins : 'Betlttt bvtmnyek', +help : 'Sg', +not_set : '-- Nincs belltva --', +close : 'Bezrs' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/is.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/is.js new file mode 100644 index 0000000000..dc92c62fba --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/is.js @@ -0,0 +1,76 @@ +// Iceland lang variables by Johannes Birgir Jensson + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stílar --', +theme_code_desc : 'Breyta HTML kóða', +theme_code_title : 'HTML kóðaritill', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Lágskrift', +theme_sup_desc : 'Háskrift', +theme_hr_desc : 'Setja inn stiku', +theme_removeformat_desc : 'Fjarlægja textasnið', +theme_custom1_desc : 'ín lýsing hér', +insert_image_border : 'Rammi', +insert_image_dimensions : 'Víddir', +insert_image_vspace : 'Bil fyrir ofan og neðan', +insert_image_hspace : 'Bil til vinstri og hægri', +insert_image_align : 'Jöfnun', +insert_image_align_default : '-- Ekki valin --', +insert_image_align_baseline : 'Sama lína', +insert_image_align_top : 'Uppi', +insert_image_align_middle : 'Miðja', +insert_image_align_bottom : 'Niðri', +insert_image_align_texttop : 'Texti efst', +insert_image_align_absmiddle : 'Alveg í miðju', +insert_image_align_absbottom : 'Alveg neðst', +insert_image_align_left : 'Vinstri', +insert_image_align_right : 'Hægri', +theme_font_size : '-- Textastærð --', +theme_fontdefault : '-- Leturgerð --', +theme_block : '-- Textasnið --', +theme_paragraph : 'Málsgrein', +theme_div : 'Div', +theme_address : 'Heimilisfang', +theme_pre : 'Ritvél', +theme_h1 : 'Haus 1', +theme_h2 : 'Haus 2', +theme_h3 : 'Haus 3', +theme_h4 : 'Haus 4', +theme_h5 : 'Haus 5', +theme_h6 : 'Haus 6', +theme_colorpicker_title : 'Veldu lit', +theme_colorpicker_apply : 'Staðfesta', +theme_forecolor_desc : 'Veldu textalit', +theme_backcolor_desc : 'Veldu bakgrunnslit', +theme_charmap_title : 'Veldu sérstaf', +theme_charmap_desc : 'Setja sérstaf inn', +theme_visualaid_desc : 'Sýna/fela töflur, akkeri og fleira', +insert_anchor_title : 'Setja inn/breyta akkeri', +insert_anchor_name : 'Heiti akkeris', +theme_anchor_desc : 'Setja inn/breyta akkeri', +theme_insert_link_titlefield : 'Titill', +theme_clipboard_msg : 'Afrita/klippa/líma er ekki virkt í Mozilla og Firefox.\nViltu fá upplýsingar um hvernig þú getur kveikt á þeim?', +theme_path : 'Slóð', +cut_desc : 'Klippa', +copy_desc : 'Afrita', +paste_desc : 'Skeyta', +link_list : 'Tenglalisti', +image_list : 'Myndalisti', +browse : 'Vafra', +image_props_desc : 'Stillingar myndar', +newdocument_desc : 'Nýtt skjal', +class_name : 'Class', +newdocument : 'Ertu viss um að þú viljir hreinsa allt burtu?', +about_title : 'Um TinyMCE', +about : 'Um', +license : 'Leyfi', +plugins : 'Viðbætur', +plugin : 'Viðbót', +author : 'Höfundur', +version : 'Útgáfa', +loaded_plugins : 'Virkar viðbætur', +help : 'Hjálp', +not_set : '-- Ekki valið --', +close : 'Loka', +toolbar_focus : 'Flýtilykill fyrir takka - Alt+Q, Flýtilykill fyrir ritil - Alt-Z, Flýtilykill fyrir slóð - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/it.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/it.js new file mode 100755 index 0000000000..a3b9675ea8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/it.js @@ -0,0 +1,82 @@ +// IT lang variables + +tinyMCE.addToLang('',{ +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 : 'La tua descrizione personalizzata', +insert_image_border : 'Bordo', +insert_image_dimensions : 'Dimensioni', +insert_image_vspace : 'Spaziatura verticale', +insert_image_hspace : 'Spaziatura orizzontale', +insert_image_align : 'Allineamento', +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', +theme_pre : 'Preformattato', +theme_h1 : 'Intestazione 1', +theme_h2 : 'Intestazione 2', +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 del testo', +theme_backcolor_desc : 'Seleziona il colore di sfondo', +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 : '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 di link', +image_list : 'Lista di immagini', +browse : 'Sfoglia', +image_props_desc : 'Proprietà dell\'immagine', +newdocument_desc : 'Nuovo documento', +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 +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ja-euc-jp.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja-euc-jp.js new file mode 100644 index 0000000000..ca726768ad --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja-euc-jp.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Edit HTML Source', +theme_code_title : 'HTML Source Editor', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Insert horizontal ruler', +theme_removeformat_desc : 'Remove formatting', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Border', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Vertical space', +insert_image_hspace : 'Horizontal space', +insert_image_align : 'Alignment', +insert_image_align_default : '-- Not set --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'Select a color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Select text color', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Class', +newdocument : 'Are you sure you want clear all contents?', +about_title : 'About TinyMCE', +about : 'About', +license : 'License', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Author', +version : 'Version', +loaded_plugins : 'Loaded plugins', +help : 'Help', +not_set : '-- Not set --', +close : 'Close', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ja.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja.js new file mode 100644 index 0000000000..08d0abfc52 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja.js @@ -0,0 +1,62 @@ +// JP lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '$B%9%?%$%k(B', +theme_paragraph : '$BJ8L.(B', +theme_address : '$B%"%I%l%9(B', +theme_pre : '$B@07A:Q$_(B', +theme_h1 : 'H1', +theme_h2 : 'H2', +theme_h3 : 'H3', +theme_h4 : 'H4', +theme_h5 : 'H5', +theme_h6 : 'H6', +theme_div : 'Div', +insert_anchor_title : '$B%"%s%+!<$NA^F~(B/$BJT=8(B', +insert_anchor_name : '$B%"%s%+!<$NL>A0(B', +theme_anchor_desc : '$B%"%s%+!<$NA^F~(B/$BJT=8(B', +theme_code_desc : 'HTML$B$ND>@\JT=8(B', +theme_code_title : 'HTML$B$NJT=8(B', +theme_code_wordwrap : 'Word wrap', +theme_hr_desc : '$B?eJ?@~(B', +theme_removeformat_desc : '$B@07A>pJs:o=|(B', +theme_visualaid_desc : '$BJd=u>pJs$N;k3P2=(B($B%H%0%k(B)', +theme_sub_desc : '$BE:;z2<(B', +theme_sup_desc : '$BE:;z>e(B', +theme_charmap_desc : '$BFCGr(B', +insert_image_hspace : '$B2#M>Gr(B', +insert_image_align : '$B0LCV9g$o$;(B', +insert_image_align_default : '$B0EL[(B', +insert_image_align_baseline : '$B4p=`@~(B', +insert_image_align_top : '$B>e(B', +insert_image_align_middle : '$BCf(B', +insert_image_align_bottom : '$B2<(B', +insert_image_align_texttop : '$BJ8;z$N>e(B', +insert_image_align_absmiddle : '$B@dBP$KCf(B', +insert_image_align_absbottom : '$B@dBP$K2<(B', +insert_image_align_left : '$B:8(B', +insert_image_align_right : '$B1&(B', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_colorpicker_title : '$B?\'$N;XDj(B', +theme_colorpicker_apply : '$BE,MQ(B', +theme_forecolor_desc : '$BA07J?\'(B', +theme_backcolor_desc : 'Select background color', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : '$B%/%i%9(B', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_euc-jp.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_euc-jp.js new file mode 100755 index 0000000000..2eb59f2bd3 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_euc-jp.js @@ -0,0 +1,76 @@ +// ܸ japanese EUC-Jp lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- --', +theme_code_desc : 'Խ', +theme_code_title : 'HTML Խ', +theme_code_wordwrap : 'üޤ֤', +theme_sub_desc : 'դ', +theme_sup_desc : 'դ', +theme_hr_desc : 'ʿ', +theme_removeformat_desc : 'եޥåȤä', +theme_custom1_desc : 'ȼ', +insert_image_border : 'ܡ', +insert_image_dimensions : 'ˡ', +insert_image_vspace : 'Ĵֳ', +insert_image_hspace : 'ֳ', +insert_image_align : '·', +insert_image_align_default : '--ǥե--', +insert_image_align_baseline : '١饤', +insert_image_align_top : '', +insert_image_align_middle : '', +insert_image_align_bottom : '', +insert_image_align_texttop : 'ƥȾ', +insert_image_align_absmiddle : ' (Ū)', +insert_image_align_absbottom : ' (Ū)', +insert_image_align_left : '', +insert_image_align_right : '', +theme_font_size : '-- եȥ --', +theme_fontdefault : '-- եȥեߥ --', +theme_block : '--եޥå--', +theme_paragraph : '', +theme_div : 'Div', +theme_address : 'ɥ쥹', +theme_pre : '񼰤', +theme_h1 : 'إå 1', +theme_h2 : 'إå 2', +theme_h3 : 'إå 3', +theme_h4 : 'إå 4', +theme_h5 : 'إå 5', +theme_h6 : 'إå 6', +theme_colorpicker_title : '', +theme_colorpicker_apply : 'Ŭ', +theme_forecolor_desc : 'ʸ', +theme_backcolor_desc : 'طʿ', +theme_charmap_title : 'üʸ', +theme_charmap_desc : 'üʸ', +theme_visualaid_desc : '줿ɤȥ', +insert_anchor_title : '󥫡Խ', +insert_anchor_name : '󥫡̾', +theme_anchor_desc : '󥫡Խ', +theme_insert_link_titlefield : 'ȥ', +theme_clipboard_msg : 'ԡڤꡢŽդFirefoxѤǤޤ\nܤꤿ?', +theme_path : 'ѡ', +cut_desc : 'ڤ', +copy_desc : 'ԡ', +paste_desc : 'Žդ', +link_list : '󥯤Υꥹ', +image_list : '᡼Υꥹ', +browse : '֥饦', +image_props_desc : '᡼Υץѥƥ', +newdocument_desc : '', +class_name : '饹', +newdocument : 'Ƥ?', +about_title : 'TinyMCEˤĤ', +about : 'TinyMCEˤĤ', +license : '饤', +plugins : 'ץ饰', +plugin : 'ץ饰', +author : '', +version : 'С', +loaded_plugins : 'ͭʥץ饰', +help : 'إ', +not_set : '-- ꤵƤʤ --', +close : 'Ĥ', +toolbar_focus : 'ġ - Alt+Q, ǥ - Alt-Z, ѥ - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_shift-jis.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_shift-jis.js new file mode 100644 index 0000000000..ca726768ad --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_shift-jis.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Edit HTML Source', +theme_code_title : 'HTML Source Editor', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Insert horizontal ruler', +theme_removeformat_desc : 'Remove formatting', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Border', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Vertical space', +insert_image_hspace : 'Horizontal space', +insert_image_align : 'Alignment', +insert_image_align_default : '-- Not set --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'Select a color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Select text color', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Class', +newdocument : 'Are you sure you want clear all contents?', +about_title : 'About TinyMCE', +about : 'About', +license : 'License', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Author', +version : 'Version', +loaded_plugins : 'Loaded plugins', +help : 'Help', +not_set : '-- Not set --', +close : 'Close', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_shift_jis.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_shift_jis.js new file mode 100755 index 0000000000..2d8e484cb1 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_shift_jis.js @@ -0,0 +1,76 @@ +// { japanese VtgJIS lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- X^C --', +theme_code_desc : '\[XҏW', +theme_code_title : 'HTML \[XҏW', +theme_code_wordwrap : 'E[Ő܂Ԃ', +theme_sub_desc : 't', +theme_sup_desc : 't', +theme_hr_desc : 'ʐ}', +theme_removeformat_desc : 'tH[}bg', +theme_custom1_desc : 'Ǝ̐', +insert_image_border : '{[_[', +insert_image_dimensions : '@', +insert_image_vspace : 'cԊu', +insert_image_hspace : 'Ԋu', +insert_image_align : '', +insert_image_align_default : '--ftHg--', +insert_image_align_baseline : 'x[XC', +insert_image_align_top : '', +insert_image_align_middle : '', +insert_image_align_bottom : '', +insert_image_align_texttop : 'eLXg㕔', +insert_image_align_absmiddle : ' (ΓI)', +insert_image_align_absbottom : ' (ΓI)', +insert_image_align_left : '', +insert_image_align_right : 'E', +theme_font_size : '-- tHgTCY --', +theme_fontdefault : '-- tHgt@~ --', +theme_block : '--tH[}bg--', +theme_paragraph : 'i', +theme_div : 'Div', +theme_address : 'AhX', +theme_pre : '', +theme_h1 : 'wb_ 1', +theme_h2 : 'wb_ 2', +theme_h3 : 'wb_ 3', +theme_h4 : 'wb_ 4', +theme_h5 : 'wb_ 5', +theme_h6 : 'wb_ 6', +theme_colorpicker_title : 'FI', +theme_colorpicker_apply : 'K', +theme_forecolor_desc : 'FI', +theme_backcolor_desc : 'wiFI', +theme_charmap_title : 'ꕶI', +theme_charmap_desc : 'ꕶ}', +theme_visualaid_desc : 'BꂽKChgO', +insert_anchor_title : 'AJ[}EҏW', +insert_anchor_name : 'AJ[', +theme_anchor_desc : 'AJ[}EҏW', +theme_insert_link_titlefield : '^Cg', +theme_clipboard_msg : 'Rs[A؂A\tFirefoxɗpł܂B\nڂ肽?', +theme_path : 'p[X', +cut_desc : '؂', +copy_desc : 'Rs[', +paste_desc : '\t', +link_list : 'ÑXg', +image_list : 'C[W̃Xg', +browse : 'uEY', +image_props_desc : 'C[W̃vpeB', +newdocument_desc : 'VK', +class_name : 'NX', +newdocument : 'SĂ폜?', +about_title : 'TinyMCEɂ‚', +about : 'TinyMCEɂ‚', +license : 'CZX', +plugins : 'vOC', +plugin : 'vOC', +author : '', +version : 'o[W', +loaded_plugins : 'LȃvOC', +help : 'wv', +not_set : '-- ݒ肳ĂȂ --', +close : '‚', +toolbar_focus : 'c[ - Alt+Q, GfB^[ - Alt-Z, pX - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_utf-8.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_utf-8.js new file mode 100755 index 0000000000..d8a092d838 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ja_utf-8.js @@ -0,0 +1,76 @@ +// 日本語 japanese utf-8 lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- スタイル --', +theme_code_desc : 'ソースを編集', +theme_code_title : 'HTML ソース編集', +theme_code_wordwrap : '右端で折り返す', +theme_sub_desc : '下付き', +theme_sup_desc : '上付き', +theme_hr_desc : '水平面線を挿入', +theme_removeformat_desc : 'フォーマットを取消す', +theme_custom1_desc : '独自の説明がここ', +insert_image_border : 'ボーダー', +insert_image_dimensions : '寸法', +insert_image_vspace : '縦間隔', +insert_image_hspace : '横間隔', +insert_image_align : '揃え', +insert_image_align_default : '--デフォルト--', +insert_image_align_baseline : 'ベースライン', +insert_image_align_top : '上', +insert_image_align_middle : '中央', +insert_image_align_bottom : '下', +insert_image_align_texttop : 'テキスト上部', +insert_image_align_absmiddle : '中央 (絶対的)', +insert_image_align_absbottom : '下部 (絶対的)', +insert_image_align_left : '左', +insert_image_align_right : '右', +theme_font_size : '-- フォントサイズ --', +theme_fontdefault : '-- フォントファミリ --', +theme_block : '--フォーマット--', +theme_paragraph : '段落', +theme_div : 'Div', +theme_address : 'アドレス', +theme_pre : '書式あり', +theme_h1 : 'ヘッダ 1', +theme_h2 : 'ヘッダ 2', +theme_h3 : 'ヘッダ 3', +theme_h4 : 'ヘッダ 4', +theme_h5 : 'ヘッダ 5', +theme_h6 : 'ヘッダ 6', +theme_colorpicker_title : '色を選択', +theme_colorpicker_apply : '適応', +theme_forecolor_desc : '文字色を選択', +theme_backcolor_desc : '背景色を選択', +theme_charmap_title : '特殊文字を選択', +theme_charmap_desc : '特殊文字を挿入', +theme_visualaid_desc : '隠れたガイドをトグル', +insert_anchor_title : 'アンカーを挿入・編集', +insert_anchor_name : 'アンカー名', +theme_anchor_desc : 'アンカーを挿入・編集', +theme_insert_link_titlefield : 'タイトル', +theme_clipboard_msg : 'コピー、切り取り、貼り付けがFirefoxに利用できません。\n詳しくしりたい?', +theme_path : 'パース', +cut_desc : '切り取り', +copy_desc : 'コピー', +paste_desc : '貼り付け', +link_list : 'リンクのリスト', +image_list : 'イメージのリスト', +browse : 'ブラウズ', +image_props_desc : 'イメージのプロパティ', +newdocument_desc : '新規', +class_name : 'クラス', +newdocument : '全てを削除?', +about_title : 'TinyMCEについて', +about : 'TinyMCEについて', +license : 'ライセンス', +plugins : 'プラグイン', +plugin : 'プラグイン', +author : '作者', +version : 'バージョン', +loaded_plugins : '有効なプラグイン', +help : 'ヘルプ', +not_set : '-- 設定されていない --', +close : '閉じる', +toolbar_focus : 'ツールへ - Alt+Q, エディターへ - Alt-Z, パスへ - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ko.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ko.js new file mode 100644 index 0000000000..cff48a8e66 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ko.js @@ -0,0 +1,65 @@ +// KO lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'Å', +theme_code_desc : 'HTML ҽ Ä', +theme_code_title : 'HTML ҽ ', +theme_code_wordwrap : 'Word wrap', +theme_code_save : 'å', +theme_sub_desc : 'Ʒ÷', +theme_sup_desc : '÷', +theme_hr_desc : ' Ö', +theme_removeformat_desc : 'Ӽ ö', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Å׵θ', +insert_image_dimensions : 'Å', +insert_image_vspace : ' ', +insert_image_hspace : ' ', +insert_image_align : 'Ä', +insert_image_align_default : '⺻', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'ܶ', +theme_div : 'Div', +theme_address : 'Ö', +theme_pre : 'Ä Ö', +theme_h1 : ' 1', +theme_h2 : ' 2', +theme_h3 : ' 3', +theme_h4 : ' 4', +theme_h5 : ' 5', +theme_h6 : ' 6', +theme_colorpicker_title : 'ö Å', +theme_colorpicker_apply : '', +theme_forecolor_desc : ' ö', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Ä Ö/Ä', +insert_anchor_name : 'Ä ̸', +theme_anchor_desc : 'Ä Ö/Ä', +theme_insert_link_titlefield : '', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Å', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/nb.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/nb.js new file mode 100644 index 0000000000..9dd4311a2d --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/nb.js @@ -0,0 +1,77 @@ +// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +theme_style_select : 'Stiler', +theme_code_desc : 'Redigere HTML Koden', +theme_code_title : 'HTML Kildekode Redigering', +theme_code_wordwrap : 'Ord deling', +theme_sub_desc : 'Nedsenket skrift', +theme_sup_desc : 'Opphøyd skrift', +theme_hr_desc : 'Sett inn horisontal linje', +theme_removeformat_desc : 'Fjern formatering', +theme_custom1_desc : 'Din spesialfunksjons beskrivelse her', +insert_image_border : 'Ramme', +insert_image_dimensions : 'Dimensjoner', +insert_image_vspace : 'Vertikalt tomrom', +insert_image_hspace : 'Horisontalt tomrom', +insert_image_align : 'Justering', +insert_image_align_default : 'Intet', +insert_image_align_baseline : 'Bunnlinjen', +insert_image_align_top : 'Lengst opp', +insert_image_align_middle : 'Midten', +insert_image_align_bottom : 'Lengst ned', +insert_image_align_texttop : 'Tekstens topp', +insert_image_align_absmiddle : 'Absolutt midten', +insert_image_align_absbottom : 'Absolutt lengst ned', +insert_image_align_left : 'Venstre', +insert_image_align_right : 'Høyre', +insert_image_delta_width : 30, +insert_image_delta_height : 10, +theme_font_size : '-- Font størrelse --', +theme_fontdefault : '-- Font familie --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraf', +theme_div : 'Div', +theme_address : 'Adresse', +theme_pre : 'Pre-formattert', +theme_h1 : 'Overskrift 1', +theme_h2 : 'Overskrift 2', +theme_h3 : 'Overskrift 3', +theme_h4 : 'Overskrift 4', +theme_h5 : 'Overskrift 5', +theme_h6 : 'Overskrift 6', +theme_colorpicker_title : 'Velg en farge', +theme_colorpicker_apply : 'Bruk', +theme_forecolor_desc : 'Velg forgrunnsfarge', +theme_backcolor_desc : 'Velg bakgrunnsfarge', +theme_charmap_title : 'Velg spesialtegn', +theme_charmap_desc : 'Sett inn spesialtegn', +theme_visualaid_desc : 'Slå av/på usynlige elementer', +insert_anchor_title : 'Opprette/endre anker', +insert_anchor_name : 'Ankernavn', +theme_anchor_desc : 'Opprette/endre anker', +theme_insert_link_titlefield : 'Tittel', +theme_clipboard_msg : 'Kopier/Klipp ut/Lim inn er ikke tilgjengelig i Mozilla/Firefox.\nVil du ha mere informasjon om dette?', +theme_path : 'Søkevei', +cut_desc : 'Klipp ut', +copy_desc : 'Kopier', +paste_desc : 'Lim inn', +link_list : 'Lenke liste', +image_list : 'Bilde liste', +browse : 'Bla gjennom', +image_props_desc : 'Bilde egenskaper', +newdocument_desc : 'Nytt dokument', +class_name : 'Stil', +newdocument : 'Er du sikker på at du vil tømme hele redigeringsområdet?', +about_title : 'Om TinyMCE', +about : 'Om', +license : 'Lisens', +plugins : 'Innstikksprogrammer', +plugin : 'Innstikksprogram', +author : 'Utviklere', +version : 'Versjon', +loaded_plugins : 'Lastet innstikksprogram', +help : 'Hjelp', +not_set : '-- Ikke satt --', +close : 'Stopp' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/nl.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/nl.js new file mode 100644 index 0000000000..bad5922dbb --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/nl.js @@ -0,0 +1,76 @@ +// NL lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stijlen --', +theme_code_desc : 'HTML bron bewerken', +theme_code_title : 'HTML code-editor', +theme_code_wordwrap : 'Terugloop', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Horizontale lijn invoegen', +theme_removeformat_desc : 'Opmaak verwijderen', +theme_custom1_desc : 'Tik hier een omschrijving', +insert_image_border : 'Rand', +insert_image_dimensions : 'Afmetingen', +insert_image_vspace : 'Verticale marge', +insert_image_hspace : 'Horizontale marge', +insert_image_align : 'Uitlijning', +insert_image_align_default : '-- geen --', +insert_image_align_baseline : 'Basislijn', +insert_image_align_top : 'Boven', +insert_image_align_middle : 'Midden', +insert_image_align_bottom : 'Onder', +insert_image_align_texttop : 'Bovenkant tekst', +insert_image_align_absmiddle : 'Absoluut midden', +insert_image_align_absbottom : 'Absoluut onder', +insert_image_align_left : 'Links', +insert_image_align_right : 'Rechts', +theme_font_size : '-- Lettergrootte --', +theme_fontdefault : '-- Lettertype --', +theme_block : '-- Paragraaf --', +theme_paragraph : 'Paragraaf', +theme_div : 'Blok', +theme_address : 'Adres', +theme_pre : 'Opgemaakt', +theme_h1 : 'Kop 1', +theme_h2 : 'Kop 2', +theme_h3 : 'Kop 3', +theme_h4 : 'Kop 4', +theme_h5 : 'Kop 5', +theme_h6 : 'Kop 6', +theme_colorpicker_title : 'Selecteer een kleur', +theme_colorpicker_apply : 'Toepassen', +theme_forecolor_desc : 'Een tekstkleur selecteren', +theme_backcolor_desc : 'Een achtergrondkleur selecteren', +theme_charmap_title : 'Speciale tekens invoegen', +theme_charmap_desc : 'Speciale tekens invoegen', +theme_visualaid_desc : 'Onzichtbare elementen en hulplijnen aan/uit', +insert_anchor_title : 'Bladwijzer invoegen/bewerken', +insert_anchor_name : 'Bladwijzer naam', +theme_anchor_desc : 'Bladwijzer invoegen/bewerken', +theme_insert_link_titlefield : 'titel', +theme_clipboard_msg : 'Kopiëren/Knippen/Plakken is uit veiligheidsoverwegingen niet direct beschikbaar in Mozilla en Firefox.\nWilt u meer informatie over deze kwestie?', +theme_path : 'Pad', +cut_desc : 'Knippen', +copy_desc : 'Kopiren', +paste_desc : 'Plakken', +link_list : 'Hyperlinklijst', +image_list : 'Afbeeldinglijst', +browse : 'Bladeren', +image_props_desc : 'Eigenschappen van afbeelding', +newdocument_desc : 'Nieuw document', +class_name : 'Stijl', +newdocument : 'Weet u zeker dat u de hele inhoud wilt wissen?', +about_title : 'Over TinyMCE', +about : 'Over', +license : 'Licentie', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Author', +version : 'Versie', +loaded_plugins : 'Ingeladen plugins', +help : 'Help', +not_set : '-- geen --', +close : 'Sluiten', +toolbar_focus : 'Ga naar werkbalk knoppen - Alt+Q, Ga naar editor - Alt-Z, Ga naar pad - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/nn.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/nn.js new file mode 100644 index 0000000000..720982fbaa --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/nn.js @@ -0,0 +1,77 @@ +// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen + +tinyMCE.addToLang('',{ +theme_style_select : 'Stiler', +theme_code_desc : 'Redigere HTML Koden', +theme_code_title : 'HTML Kildekode Redigering', +theme_code_wordwrap : 'Ord deling', +theme_sub_desc : 'Nedsenket skrift', +theme_sup_desc : 'Opphøgd skrift', +theme_hr_desc : 'Sett inn horisontal linje', +theme_removeformat_desc : 'Fjern formatering', +theme_custom1_desc : 'Din spesialfunksjons beskrivelse her', +insert_image_border : 'Ramme', +insert_image_dimensions : 'Dimensjoner', +insert_image_vspace : 'Vertikalt tomrom', +insert_image_hspace : 'Horisontalt tomrom', +insert_image_align : 'Justering', +insert_image_align_default : 'Intet', +insert_image_align_baseline : 'Bunnlinjen', +insert_image_align_top : 'Lengst opp', +insert_image_align_middle : 'Midten', +insert_image_align_bottom : 'Lengst ned', +insert_image_align_texttop : 'Tekstens topp', +insert_image_align_absmiddle : 'Absolutt midten', +insert_image_align_absbottom : 'Absolutt lengst ned', +insert_image_align_left : 'Venstre', +insert_image_align_right : 'Høgre', +insert_image_delta_width : 30, +insert_image_delta_height : 10, +theme_font_size : '-- Font størrelse --', +theme_fontdefault : '-- Font familie --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraf', +theme_div : 'Div', +theme_address : 'Adresse', +theme_pre : 'Pre-formattert', +theme_h1 : 'Overskrift 1', +theme_h2 : 'Overskrift 2', +theme_h3 : 'Overskrift 3', +theme_h4 : 'Overskrift 4', +theme_h5 : 'Overskrift 5', +theme_h6 : 'Overskrift 6', +theme_colorpicker_title : 'Velg en farge', +theme_colorpicker_apply : 'Bruk', +theme_forecolor_desc : 'Velg forgrunnsfarge', +theme_backcolor_desc : 'Velg bakgrunnsfarge', +theme_charmap_title : 'Velg spesialtegn', +theme_charmap_desc : 'Sett inn spesialtegn', +theme_visualaid_desc : 'Slå av/på usynlige elementer', +insert_anchor_title : 'Opprette/endre anker', +insert_anchor_name : 'Ankernavn', +theme_anchor_desc : 'Opprette/endre anker', +theme_insert_link_titlefield : 'Tittel', +theme_clipboard_msg : 'Kopier/Klipp ut/Lim inn er ikke tilgjengelig i Mozilla/Firefox.\nVil du ha mere informasjon om dette?', +theme_path : 'Søkevei', +cut_desc : 'Klipp ut', +copy_desc : 'Kopier', +paste_desc : 'Lim inn', +link_list : 'Lenke liste', +image_list : 'Bilde liste', +browse : 'Bla gjennom', +image_props_desc : 'Bilde egenskaper', +newdocument_desc : 'Nytt dokument', +class_name : 'Stil', +newdocument : 'Er du sikker på at du vil tømme hele redigeringsområdet?', +about_title : 'Om TinyMCE', +about : 'Om', +license : 'Lisens', +plugins : 'Innstikksprogrammer', +plugin : 'Innstikksprogram', +author : 'Utviklere', +version : 'Versjon', +loaded_plugins : 'Lastet innstikksprogram', +help : 'Hjelp', +not_set : '-- Ikkje satt --', +close : 'Stopp' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/pl.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/pl.js new file mode 100644 index 0000000000..3abfee6b63 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/pl.js @@ -0,0 +1,79 @@ +// PL lang variables +// fixed by Wooya +// http://www.mfusion.prv.pl +// fixed by lemiel 14.11.2005 + +tinyMCE.addToLang('',{ +theme_style_select : 'Styl', +theme_code_desc : 'Edytuj zrddo html', +theme_code_title : 'Edytor zrda html', +theme_code_wordwrap : 'Zawijanie wierszy', +theme_sub_desc : 'Nadpisywanie', +theme_sup_desc : 'Podpisywanie', +theme_hr_desc : 'Wstaw poziom lini', +theme_removeformat_desc : 'Usu formatowanie', +theme_custom1_desc : 'Wstaw wasny opis', +insert_image_border : 'Ramka', +insert_image_dimensions : 'Wymiary', +insert_image_vspace : 'Pionowy odstp', +insert_image_hspace : 'Poziomy odstp', +insert_image_align : 'Otaczanie', +insert_image_align_default : 'Domylne', +insert_image_align_baseline : 'Do linii bazowej', +insert_image_align_top : 'Grne', +insert_image_align_middle : 'rodkowe', +insert_image_align_bottom : 'Dolne', +insert_image_align_texttop : 'Tekst powyej', +insert_image_align_absmiddle : 'Absolutny rodek', +insert_image_align_absbottom : 'Absolutny d', +insert_image_align_left : 'Lewe', +insert_image_align_right : 'Prawe', +theme_font_size : '-- Rozmiar czcionki --', +theme_fontdefault : '-- Rodzina czcionki --', +theme_block : '-- Format --', +theme_paragraph : '-- Paragraf --', +theme_div : 'Div', +theme_address : 'Adres', +theme_pre : 'Preformatowanie', +theme_h1 : 'Nagwek 1', +theme_h2 : 'Nagwek 2', +theme_h3 : 'Nagwek 3', +theme_h4 : 'Nagwek 4', +theme_h5 : 'Nagwek 5', +theme_h6 : 'Nagwek 6', +theme_colorpicker_title : 'Wybierz kolor', +theme_colorpicker_apply : 'Wybierz', +theme_forecolor_desc : 'Wybierz kolor tekstu', +theme_backcolor_desc : 'Wybierz kolor ta', +theme_charmap_title : 'Wybierz znak', +theme_charmap_desc : 'Wstaw znak', +theme_visualaid_desc : 'Przecz linie prowadzce/niewidoczne elementy', +insert_anchor_title : 'Kotwica', +insert_anchor_name : 'Nazwa kotwicy', +theme_anchor_desc : 'Wstaw/Edytuj kotwic', +theme_insert_link_titlefield : 'Tytu', +theme_clipboard_msg : 'Kopiuj/Edytuj/Wklej nie jest dostpne w przegldarkach Mozilla i Firefox.\nPotrzebujesz wicej informacji na ten temat?', +theme_path : 'cieka', +cut_desc : 'Wytnij', +copy_desc : 'Kopiuj', +paste_desc : 'Wklej', +link_list : 'Lista linkw', +image_list : 'Lista obrazkw', +browse : 'Przegldaj', +image_props_desc : 'Waciwosci obrazka', +newdocument_desc : 'Nowy dokument', +class_name : 'Klasa', +newdocument : 'Czy jeste pewien, e chcesz wyczyci zawarto tego dokumentu?', +about_title : 'O TinyMCE ...', +about : 'O ...', +license : 'Licencja', +plugins : 'Pluginy', +plugin : 'Plugin', +author : 'Autor', +version : 'Wersja', +loaded_plugins : 'Zaadowane pluginy', +help : 'Pomoc', +not_set : '-- Nie wybrano --', +close : 'Zamknij', +toolbar_focus : 'Skocz do przyciskw narzdzi - Alt+Q, Skocz do edytora - Alt-Z, Skocz do cieki elementu - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/pt.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/pt.js new file mode 100644 index 0000000000..3980d6c667 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/pt.js @@ -0,0 +1,65 @@ +// PT lang variables + +tinyMCE.addToLang('',{ +theme_style_select : 'Estilos CSS', +theme_code_desc : 'Editar Fonte HTML', +theme_code_title : 'Editor de fonte HTML', +theme_code_save : 'Guardar', +theme_code_wordwrap : 'Translinear palavras', +theme_sub_desc : 'Subscrito', +theme_sup_desc : 'Superscrito', +theme_hr_desc : 'Inserir linha horizontal', +theme_removeformat_desc : 'Remover formatao', +theme_custom1_desc : 'Descrio customizada aqui', +insert_image_border : 'Borda', +insert_image_dimensions : 'Dimenses', +insert_image_vspace : 'Espaamento Vert.', +insert_image_hspace : 'Espaamento Horiz.', +insert_image_align : 'Alinhamento', +insert_image_align_default : 'Por omisso', +insert_image_align_baseline : 'Linha de base', +insert_image_align_top : 'Topo', +insert_image_align_middle : 'Centrado', +insert_image_align_bottom : 'Fundo', +insert_image_align_texttop : 'Topo do Texto', +insert_image_align_absmiddle : 'Centrado absoluto', +insert_image_align_absbottom : 'Fundo absoluto', +insert_image_align_left : 'Esquerda', +insert_image_align_right : 'Direita', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Pargrafo', +theme_div : 'Bloco HTML', +theme_address : 'Morada', +theme_pre : 'Pr formatado', +theme_h1 : 'Ttulo 1', +theme_h2 : 'Ttulo 2', +theme_h3 : 'Ttulo 3', +theme_h4 : 'Ttulo 4', +theme_h5 : 'Ttulo 5', +theme_h6 : 'Ttulo 6', +theme_colorpicker_title : 'Seleccione uma cr', +theme_colorpicker_apply : 'Aplicar', +theme_forecolor_desc : 'Seleccione cr da frente', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Seleccione smbolo customizado', +theme_charmap_desc : 'Inserir smbolo customizado', +theme_visualaid_desc : 'Ligar/Desligar guias/elementos invisveis', +insert_anchor_title : 'Inserir/editar ncora', +insert_anchor_name : 'Nome da ncora', +theme_anchor_desc : 'Inserir/editar ncora', +theme_insert_link_titlefield : 'Ttulo', +theme_clipboard_msg : 'Copiar/Cortar/Colar no est disponvel em Mozilla e Firefox.\nPretende obter mais informao acerca deste assunto?', +theme_path : 'Path', +cut_desc : 'Cortar', +copy_desc : 'Copiar', +paste_desc : 'Colar', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Classe de CSS', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/pt_br.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/pt_br.js new file mode 100644 index 0000000000..5f37864231 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/pt_br.js @@ -0,0 +1,115 @@ +/** + * pt_br lang variables + * Brazilian Portuguese + * + * Authors : ???? + * Revision and modifications: + * Marcio Barbosa (mpg) + * Last Updated : November 26, 2005 + * TinyMCE Version : 2.0RC4 + */ +tinyMCE.addToLang('',{ +theme_style_select : 'Estilos', +theme_code_desc : 'Editar Cdigo HTML', +theme_code_title : 'Editor de Cdigo HTML', +theme_code_wordwrap : 'Quebrar Linhas', +theme_sub_desc : 'Subscrito', +theme_sup_desc : 'Subrescrito', +theme_hr_desc : 'Inserir linha horizontal', +theme_removeformat_desc : 'Remover formatao', +theme_custom1_desc : 'Sua descrio personalizada aqui', +insert_image_border : 'Borda', +insert_image_dimensions : 'Dimenses', +insert_image_vspace : 'Espao Vertical', +insert_image_hspace : 'Espao Horizontal', +insert_image_align : 'Alinhamento', +insert_image_align_default : 'Padro', +insert_image_align_baseline : 'Linha base', +insert_image_align_top : 'Topo', +insert_image_align_middle : 'Centro', +insert_image_align_bottom : 'Fundo', +insert_image_align_texttop : 'Texto ao Topo', +insert_image_align_absmiddle : 'Centro Absoluto', +insert_image_align_absbottom : 'Fundo Absoluto', +insert_image_align_left : 'Esquerda', +insert_image_align_right : 'Direita', +theme_font_size : '-- Corpo --', +theme_fontdefault : '-- Tipo de Fonte --', +theme_block : '-- Formato --', +theme_paragraph : 'Pargrafo', +theme_div : 'Div', +theme_address : 'Endereo', +theme_pre : 'Pr-formatado', +theme_h1 : 'Cabealho 1', +theme_h2 : 'Cabealho 2', +theme_h3 : 'Cabealho 3', +theme_h4 : 'Cabealho 4', +theme_h5 : 'Cabealho 5', +theme_h6 : 'Cabealho 6', +theme_colorpicker_title : 'Selecionar cr', +theme_colorpicker_apply : 'Aplicar', +theme_forecolor_desc : 'Selecionar cr do texto', +theme_backcolor_desc : 'Selecionar cr de fundo', +theme_charmap_title : 'Selecionar caracter especial', +theme_charmap_desc : 'Inserir caracter especial', +theme_charmap_alpha_desc : 'Caracteres alfabticos', +theme_charmap_arrows_title : 'Flechas', +theme_charmap_arrows_desc : 'Caracteres de flechas', +theme_charmap_greek_title : 'Gregos', +theme_charmap_greek_desc : 'Caracteres Gregos', +theme_charmap_math_title : 'Mathematicos', +theme_charmap_math_desc : 'Caracteres mathematicos', +theme_charmap_misc_title : 'Diversos', +theme_charmap_misc_desc : 'Caracteres diversos', +theme_charmap_money_title : 'Moedas', +theme_charmap_money_desc : 'Caracteres de moedas', +theme_charmap_quotaion_title : 'Apstrofes', +theme_charmap_quotaion_desc : 'Caracteres de Apstrofe', +theme_visualaid_desc : 'Trocar as linhas de ajuda por elementos invisveis', +insert_anchor_title : 'Inserir/editar ncora', +insert_anchor_name : 'Nome da ncora', +theme_anchor_desc : 'Inserir/editar ncora', +theme_insert_link_titlefield : 'Ttulo', +theme_clipboard_msg : 'No se pode utiliza os comando de Copiar / Cortar / Colar no Mozilla e Firefox.\r\nUse o teclado para Copiar (Ctrl+C) / Cortar (Ctrl+X) / Colar (Ctrl+V)\r\nQuer obter mais informao?', +theme_path : 'Rota', +cut_desc : 'Cortar (Ctrl+X)', +copy_desc : 'Copiar (Ctrl+C)', +paste_desc : 'Colar (Ctrl+V)', +link_list : 'Lista de links', +image_list : 'Lista de imagens', +browse : 'Navegar', +image_props_desc : 'Propriedades da imagem', +newdocument_desc : 'Novo documento', +class_name : 'Classe', +newdocument : 'Tem certesa que deseja apagar todo o contedo?', +about_title : 'Sobre o TinyMCE', +about : 'Sobre', +license : 'Licena', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Autor', +version : 'Verso', +loaded_plugins : 'Plugins carregados', +help : 'Ajuda', +not_set : '-- Por padro --', +close : 'Fechar', +toolbar_focus : 'Ir para a barra de ferramentas - Alt+Q, Ir para o editor - Alt+Z, Ir para o elemento de destino - Alt+X', +theme_visualaid_desc : 'Tornar linhas visveis/invisveis', +insert_anchor_title : 'Inserir/editar ncora', +insert_anchor_name : 'Nome da ncora', +theme_anchor_desc : 'Inserir/editar ncora', +theme_insert_link_titlefield : 'Ttulo', +theme_clipboard_msg : 'Copiar/Recortar/Colar no permitido no Mozilla e Firefox.\nQuer mais informaes sobre isso?', +theme_path : 'Caminho', +cut_desc : 'Recortar', +copy_desc : 'Copiar', +paste_desc : 'Colar', +link_list : 'Lista de Links', +image_list : 'Lista de Imagens', +browse : 'Navegar', +image_props_desc : 'Propriedades da Imagem', +newdocument_desc : 'Novo Documento', +class_name : 'Classe', +newdocument : 'Tem certeza que deseja limpar todo o contedo?', +theme_advanced_anchor_delta_width : 20 +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ro.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ro.js new file mode 100755 index 0000000000..6467ec6c70 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ro.js @@ -0,0 +1,76 @@ +// RO lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stiluri --', +theme_code_desc : 'Editare sursă HTML', +theme_code_title : 'Editor sursă HTML', +theme_code_wordwrap : 'Tăiere cuvinte', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Inserare riglă orizontală', +theme_removeformat_desc : 'Elimină formatarea', +theme_custom1_desc : 'Descrierea personalizată aici', +insert_image_border : 'Margine', +insert_image_dimensions : 'Dimensiuni', +insert_image_vspace : 'Spaţiu vertical', +insert_image_hspace : 'Spaţiu orizontal', +insert_image_align : 'Aliniament', +insert_image_align_default : '-- Nestabilit --', +insert_image_align_baseline : 'Linie de bază', +insert_image_align_top : 'Sus', +insert_image_align_middle : 'Mijloc', +insert_image_align_bottom : 'Jos', +insert_image_align_texttop : 'TextSus', +insert_image_align_absmiddle : 'Mijloc absolut', +insert_image_align_absbottom : 'Jos absolut', +insert_image_align_left : 'Stânga', +insert_image_align_right : 'Dreapta', +theme_font_size : '-- Dimensiune font --', +theme_fontdefault : '-- Familie font --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraf', +theme_div : 'Div', +theme_address : 'Adresă', +theme_pre : 'Preformatat', +theme_h1 : 'Aliniament 1', +theme_h2 : 'Aliniament 2', +theme_h3 : 'Aliniament 3', +theme_h4 : 'Aliniament 4', +theme_h5 : 'Aliniament 5', +theme_h6 : 'Aliniament 6', +theme_colorpicker_title : 'Alege o culoare', +theme_colorpicker_apply : 'Aplică', +theme_forecolor_desc : 'Alege culoarea textului', +theme_backcolor_desc : 'Alege culoarea fundalului', +theme_charmap_title : 'Alege caractere personalizate', +theme_charmap_desc : 'Inserează caracter personalizat', +theme_visualaid_desc : 'Comută ghidajele/elementele invizibile', +insert_anchor_title : 'Inserează/editează ancoră', +insert_anchor_name : 'Nume ancoră', +theme_anchor_desc : 'Inserează/editează ancoră', +theme_insert_link_titlefield : 'Titlu', +theme_clipboard_msg : 'Copierea/Tăierea/Lipirea nu sunt disponibile în Mozilla şi Firefox.\nVrei mai multe informaţii despre acest lucru?', +theme_path : 'Cale', +cut_desc : 'Taie', +copy_desc : 'Copiază', +paste_desc : 'Lipeşte', +link_list : 'Listă de legături', +image_list : 'Listă de imagini', +browse : 'Răsfoieşte', +image_props_desc : 'Proprietăţi imagine', +newdocument_desc : 'Document nou', +class_name : 'Clasă', +newdocument : 'Eşti sigur că vrei să cureţi întregul conţinut?', +about_title : 'Despre TinyMCE', +about : 'Despre', +license : 'Licenţă', +plugins : 'Plugin-uri', +plugin : 'Plugin', +author : 'Autor', +version : 'Versiune', +loaded_plugins : 'Plugin-uri încărcate', +help : 'Ajutor', +not_set : '-- Nestabilit --', +close : 'Închide', +toolbar_focus : 'Salt la butoanele unelte - Alt+Q, Salt la editor - Alt-Z, Salt la cale elemente - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ru.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ru.js new file mode 100644 index 0000000000..c042cc4501 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ru.js @@ -0,0 +1,76 @@ +// Russian lang variables cp1251 + +tinyMCE.addToLang('',{ +theme_style_select : '-- --', +theme_code_desc : ' HTML ', +theme_code_title : ' HTML ', +theme_code_wordwrap : ' ', +theme_sub_desc : ' ', +theme_sup_desc : ' ', +theme_hr_desc : ' ', +theme_removeformat_desc : ' ', +theme_custom1_desc : ' ', +insert_image_border : '', +insert_image_dimensions : '', +insert_image_vspace : ' ', +insert_image_hspace : ' ', +insert_image_align : '', +insert_image_align_default : '-- --', +insert_image_align_baseline : ' ', +insert_image_align_top : ' ', +insert_image_align_middle : '', +insert_image_align_bottom : ' ', +insert_image_align_texttop : ' ', +insert_image_align_absmiddle : ' ', +insert_image_align_absbottom : ' ', +insert_image_align_left : '', +insert_image_align_right : '', +theme_font_size : '-- --', +theme_fontdefault : '-- --', +theme_block : '-- --', +theme_paragraph : '', +theme_div : 'Div', +theme_address : ' ', +theme_pre : ':` ', +theme_h1 : ' 1', +theme_h2 : ' 2', +theme_h3 : ' 3', +theme_h4 : ' 4', +theme_h5 : ' 5', +theme_h6 : ' 6', +theme_colorpicker_title : ' ', +theme_colorpicker_apply : '', +theme_forecolor_desc : ' ', +theme_backcolor_desc : ' ', +theme_charmap_title : ' ', +theme_charmap_desc : ' ', +theme_visualaid_desc : ' ', +insert_anchor_title : '/ ', +insert_anchor_name : ' ', +theme_anchor_desc : '/ ', +theme_insert_link_titlefield : '', +theme_clipboard_msg : '// Mozilla Firefox.\n ?', +theme_path : '', +cut_desc : '', +copy_desc : '', +paste_desc : '', +link_list : ' ', +image_list : ' ', +browse : '', +image_props_desc : ' ', +newdocument_desc : ' ', +class_name : '', +newdocument : ' , ?', +about_title : ' TinyMCE', +about : ' TinyMCE', +license : '', +plugins : '', +plugin : '', +author : '', +version : '', +loaded_plugins : ' ', +help : '', +not_set : '-- --', +close : '', +toolbar_focus : ' - Alt+Q, - Alt-Z, - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ru_KOI8-R.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ru_KOI8-R.js new file mode 100644 index 0000000000..3149c7ced0 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ru_KOI8-R.js @@ -0,0 +1,76 @@ +// Russian lang variables KOI8-R + +tinyMCE.addToLang('',{ +theme_style_select : '-- --', +theme_code_desc : ' HTML ', +theme_code_title : ' HTML ', +theme_code_wordwrap : ' ', +theme_sub_desc : ' ', +theme_sup_desc : ' ', +theme_hr_desc : ' ', +theme_removeformat_desc : ' ', +theme_custom1_desc : ' ', +insert_image_border : '', +insert_image_dimensions : '', +insert_image_vspace : ' ', +insert_image_hspace : ' ', +insert_image_align : '', +insert_image_align_default : '-- --', +insert_image_align_baseline : ' ', +insert_image_align_top : ' ', +insert_image_align_middle : '', +insert_image_align_bottom : ' ', +insert_image_align_texttop : ' ', +insert_image_align_absmiddle : ' ', +insert_image_align_absbottom : ' ', +insert_image_align_left : '', +insert_image_align_right : '', +theme_font_size : '-- --', +theme_fontdefault : '-- --', +theme_block : '-- --', +theme_paragraph : '', +theme_div : 'Div', +theme_address : ' ', +theme_pre : ':` ', +theme_h1 : ' 1', +theme_h2 : ' 2', +theme_h3 : ' 3', +theme_h4 : ' 4', +theme_h5 : ' 5', +theme_h6 : ' 6', +theme_colorpicker_title : ' ', +theme_colorpicker_apply : '', +theme_forecolor_desc : ' ', +theme_backcolor_desc : ' ', +theme_charmap_title : ' ', +theme_charmap_desc : ' ', +theme_visualaid_desc : ' ', +insert_anchor_title : '/ ', +insert_anchor_name : ' ', +theme_anchor_desc : '/ ', +theme_insert_link_titlefield : '', +theme_clipboard_msg : '// Mozilla Firefox.\n ?', +theme_path : '', +cut_desc : '', +copy_desc : '', +paste_desc : '', +link_list : ' ', +image_list : ' ', +browse : '', +image_props_desc : ' ', +newdocument_desc : ' ', +class_name : '', +newdocument : ' , ӣ ?', +about_title : ' TinyMCE', +about : ' TinyMCE', +license : '', +plugins : '', +plugin : '', +author : '', +version : '', +loaded_plugins : ' ', +help : '', +not_set : '-- --', +close : '', +toolbar_focus : ' - Alt+Q, - Alt-Z, - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/ru_UTF-8.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/ru_UTF-8.js new file mode 100644 index 0000000000..ccb19872e2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/ru_UTF-8.js @@ -0,0 +1,76 @@ +// Russian lang variables UTF-8 + +tinyMCE.addToLang('',{ +theme_style_select : '-- Стили --', +theme_code_desc : 'Редактировать HTML коды', +theme_code_title : 'Редактор HTML кодов', +theme_code_wordwrap : 'Перенос по словам', +theme_sub_desc : 'Нижний индекс', +theme_sup_desc : 'Верхний индекс', +theme_hr_desc : 'Вставить горизонтальный разделитель', +theme_removeformat_desc : 'Убрать форматирование', +theme_custom1_desc : 'Ваше произвольное описание', +insert_image_border : 'Рамка', +insert_image_dimensions : 'Размеры', +insert_image_vspace : 'Вертикальный отступ', +insert_image_hspace : 'Горизонтальный отступ', +insert_image_align : 'Выравнивание', +insert_image_align_default : '-- Не задано --', +insert_image_align_baseline : 'По базовой линии', +insert_image_align_top : 'По верху', +insert_image_align_middle : 'Посредине', +insert_image_align_bottom : 'По низу', +insert_image_align_texttop : 'По верху текста', +insert_image_align_absmiddle : 'Абсолютно посредине', +insert_image_align_absbottom : 'Абсолютно сверху', +insert_image_align_left : 'Влево', +insert_image_align_right : 'Вправо', +theme_font_size : '-- Размер шрифта --', +theme_fontdefault : '-- Семейство шрифтов --', +theme_block : '-- Формат --', +theme_paragraph : 'Абзац', +theme_div : 'Div', +theme_address : 'Стиль адреса', +theme_pre : ':`Предварительно форматированный', +theme_h1 : 'Заголовок 1', +theme_h2 : 'Заголовок 2', +theme_h3 : 'Заголовок 3', +theme_h4 : 'Заголовок 4', +theme_h5 : 'Заголовок 5', +theme_h6 : 'Заголовок 6', +theme_colorpicker_title : 'Выбрать цвет', +theme_colorpicker_apply : 'Применить', +theme_forecolor_desc : 'Выбрать цвет текста', +theme_backcolor_desc : 'Выбрать цвет фона', +theme_charmap_title : 'Выбор произвольного символа', +theme_charmap_desc : 'Вставить произвольный символ', +theme_visualaid_desc : 'Показать границы скрытых элементов', +insert_anchor_title : 'Вставить/редактировать якорь', +insert_anchor_name : 'Имя якоря', +theme_anchor_desc : 'Вставить/редактировать якорь', +theme_insert_link_titlefield : 'Заголовок', +theme_clipboard_msg : 'Копировать/Вырезать/Вставить недоступны для Mozilla и Firefox.\nХотите узнать об этом подробнее?', +theme_path : 'Путь', +cut_desc : 'Вырезать', +copy_desc : 'Копировать', +paste_desc : 'Вставить', +link_list : 'Перечань ссылок', +image_list : 'Перечень картинок', +browse : 'Подобрать', +image_props_desc : 'Свойства картинки', +newdocument_desc : 'Новый документ', +class_name : 'Класс', +newdocument : 'Вы уверены, что хотите очистить всё содержимое?', +about_title : 'О TinyMCE', +about : 'О TinyMCE', +license : 'Лицензия', +plugins : 'Плагины', +plugin : 'Плагин', +author : 'Автор', +version : 'Версия', +loaded_plugins : 'Загруженные плагины', +help : 'Помощь', +not_set : '-- не установлено --', +close : 'Закрыть', +toolbar_focus : 'Переместить фокус на панель инструментов - Alt+Q, Переместить фокус в редактор - Alt-Z, Переместить фокус на элемент пути - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/si.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/si.js new file mode 100644 index 0000000000..6daa6f51b2 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/si.js @@ -0,0 +1,76 @@ +// SI lang variables ISO-8859-2 + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stili --', +theme_code_desc : 'Uredi HTML kodo', +theme_code_title : 'Urejevalnik HTML kode', +theme_code_wordwrap : 'Odreži vrstice', +theme_sub_desc : 'Podpisano', +theme_sup_desc : 'Nadpisano', +theme_hr_desc : 'Vstavi vodoravno črto', +theme_removeformat_desc : 'Odstrani oblikovanje', +theme_custom1_desc : 'Vaš opis', +insert_image_border : 'Okvir', +insert_image_dimensions : 'Dimenzije', +insert_image_vspace : 'Vertikalni razmak', +insert_image_hspace : 'Horizontalni razmak', +insert_image_align : 'Poravnava', +insert_image_align_default : '-- Brez --', +insert_image_align_baseline : 'Ob osnovni črti', +insert_image_align_top : 'Na vrh', +insert_image_align_middle : 'Na sredo', +insert_image_align_bottom : 'Na dno', +insert_image_align_texttop : 'Na vrh besedila', +insert_image_align_absmiddle : 'Absolutna sredina', +insert_image_align_absbottom : 'Absolutno dno', +insert_image_align_left : 'Levo', +insert_image_align_right : 'Desno', +theme_font_size : '-- Velikost pisave --', +theme_fontdefault : '-- Pisava --', +theme_block : '-- Format --', +theme_paragraph : 'Odstavek', +theme_div : 'Div', +theme_address : 'Naslov', +theme_pre : 'Oblikovano besedilo', +theme_h1 : 'Naslov 1', +theme_h2 : 'Naslov 2', +theme_h3 : 'Naslov 3', +theme_h4 : 'Naslov 4', +theme_h5 : 'Naslov 5', +theme_h6 : 'Naslov 6', +theme_colorpicker_title : 'Izberite barvo', +theme_colorpicker_apply : 'Uporabi', +theme_forecolor_desc : 'Izberite barvo pisave', +theme_backcolor_desc : 'Izberite barvo ozadja', +theme_charmap_title : 'Izberite poseben znak', +theme_charmap_desc : 'Vstavi poseben znak', +theme_visualaid_desc : 'Prikaži/skrij skrite elemente', +insert_anchor_title : 'Vstavi/uredi povezavo', +insert_anchor_name : 'Ime povezave', +theme_anchor_desc : 'Vstavi/uredi povezavo', +theme_insert_link_titlefield : 'Naslov', +theme_clipboard_msg : 'Kopiraj/Izreži/Prilepi ni na voljo v brskalnikih Mozilla in Firefox.\nAli želite več informacij glede tega?', +theme_path : 'Pot', +cut_desc : 'Izreži', +copy_desc : 'Kopiraj', +paste_desc : 'Prilepi', +link_list : 'Seznam povezav', +image_list : 'Seznam slik', +browse : 'Prebrskaj', +image_props_desc : 'Lastnosti slike', +newdocument_desc : 'Nov dokument', +class_name : 'Razred', +newdocument : 'Ali ste prepričani, da želite zbrisati vso vsebino?', +about_title : 'O urejevalniku TinyMCE', +about : 'O urejevalniku', +license : 'Licenca', +plugins : 'Vtičniki', +plugin : 'Vtičnik', +author : 'Avtor', +version : 'Različica', +loaded_plugins : 'Naloženi vtičniki', +help : 'Pomoč', +not_set : '-- Ni nastavljeno --', +close : 'Zapri', +toolbar_focus : 'Skok na orodne gumbe - Alt+Q, Skok na urejevalnik - Alt-Z, Skok na pot elementa - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/sk.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/sk.js new file mode 100755 index 0000000000..d9a5de2fc6 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/sk.js @@ -0,0 +1,72 @@ +/** + * Slovak lang variables + * encoding: utf-8 + * + * @author Vladimir VASIL vvasil@post.sk + * + * $Id: sk.js,v 1.1 2005/11/22 20:56:45 spocke Exp $ + */ + + +tinyMCE.addToLang('',{ +theme_style_select : 'Štýly', +theme_code_desc : 'Zobraziť HTML', +theme_code_title : 'Editácia HTML', +theme_code_wordwrap : 'Bez delení slov', +theme_sub_desc : 'Dolný index', +theme_sup_desc : 'Horný index', +theme_hr_desc : 'Vložiť vodorovný oddeľovač', +theme_removeformat_desc : 'Zrušiť formátovanie', +theme_custom1_desc : 'Ľubovolný popisok', +insert_image_border : 'Rámček', +insert_image_dimensions : 'Rozmery', +insert_image_vspace : 'Vertikálný okraj', +insert_image_hspace : 'Horizontálný okraj', +insert_image_align : 'Zarovnánie', +insert_image_align_default : 'Výchozi', +insert_image_align_baseline : 'Na čiare', +insert_image_align_top : 'Nahor', +insert_image_align_middle : 'Na stred', +insert_image_align_bottom : 'Dole', +insert_image_align_texttop : 'Najvyšší bod textu', +insert_image_align_absmiddle : 'Stred riadku', +insert_image_align_absbottom : 'Spodok riadku', +insert_image_align_left : 'Vľavo', +insert_image_align_right : 'Vpravo', +theme_font_size : '-- Veľkosť textu --', +theme_fontdefault : '-- Písmo --', +theme_block : '-- Formát --', +theme_paragraph : 'Odstavec', +theme_div : 'Div', +theme_address : 'Adresa', +theme_pre : 'Predformát', +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', +theme_backcolor_desc : 'Farba pozadia', +theme_charmap_title : 'Výber znaku', +theme_charmap_desc : 'Vložiť znak', +theme_visualaid_desc : 'Zapnúť značky/neviditeľné prvky', +insert_anchor_title : 'Vloženie/editácia záložky', +insert_anchor_name : 'Názov', +theme_anchor_desc : 'Vložiť/editovať záložku', +theme_insert_link_titlefield : 'Názov', +theme_clipboard_msg : 'Funkcie Kopírovať/vystrihnúť/vložiť niesú použiteľné v Mozille a Firefoxe.\nChcete viac informacií o tomto probléme?', +theme_path : 'Cesta', +cut_desc : 'Vystrihnúť', +copy_desc : 'Kopírovať', +paste_desc : 'Vložiť', +link_list : 'Zoznam', +image_list : 'Zoznam', +browse : 'Prechádzať', +image_props_desc : 'Vlastnosti obrázku', +newdocument_desc : 'Nový dokument', +newdocument : 'Ste si istý(á), že chcete vymazať všetok obsah?' +}); + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/sq.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/sq.js new file mode 100755 index 0000000000..40710c62ea --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/sq.js @@ -0,0 +1,81 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stilet --', +theme_code_desc : 'Ndrysho kodin HTML', +theme_code_title : 'Ndryshues i kodit HTML', +theme_code_wordwrap : 'Shko sipas fjales', +theme_sub_desc : 'Nenshkrim', +theme_sup_desc : 'Mbishkrim', +theme_hr_desc : 'Nderfut vizore horizontale', +theme_removeformat_desc : 'Hiq formatimin', +theme_custom1_desc : 'Pershkrimi juaj ketu', +insert_image_border : 'Kufiri', +insert_image_dimensions : 'Dimensionet', +insert_image_vspace : 'Hapesira vertikale', +insert_image_hspace : 'Hapesira horizontal', +insert_image_align : 'Perngjitja', +insert_image_align_default : '-- I pacaktuar --', +insert_image_align_baseline : 'Linja baze', +insert_image_align_top : 'Siper', +insert_image_align_middle : 'Mes', +insert_image_align_bottom : 'Poshte', +insert_image_align_texttop : 'Mbi Tekst', +insert_image_align_absmiddle : 'Mesi Absolut', +insert_image_align_absbottom : 'Poshte Absolut', +insert_image_align_left : 'Majtas', +insert_image_align_right : 'Djathas', +theme_font_size : '-- Madhesia e fontit --', +theme_fontdefault : '-- Familja e fonteve --', +theme_block : '-- Formati --', +theme_paragraph : 'Paragrafi', +theme_div : 'Divizion', +theme_address : 'Adresa', +theme_pre : 'Para-formatuar', +theme_h1 : 'Koke 1', +theme_h2 : 'Koke 2', +theme_h3 : 'Koke 3', +theme_h4 : 'Koke 4', +theme_h5 : 'Koke 5', +theme_h6 : 'Koke 6', +theme_blockquote : 'Thonjez', +theme_code : 'Kod', +theme_samp : 'Shembull Kodi', +theme_dt : 'Term i percaktimit', +theme_dd : 'Pershkrim i percaktimit', +theme_colorpicker_title : 'Zgjidh nje ngjyre', +theme_colorpicker_apply : 'Apliko', +theme_forecolor_desc : 'Zgjidh nje ngjyre teksti', +theme_backcolor_desc : 'Zgjidh nje ngjyre sfondi', +theme_charmap_title : 'Zgjidh nje karakter special', +theme_charmap_desc : 'Nderfut nje karakter special', +theme_visualaid_desc : 'Cakto vizat drejtuese/elemntet e padukshem', +insert_anchor_title : 'Nderfut/ndrysho caktues', +insert_anchor_name : 'Emri i caktuesit', +theme_anchor_desc : 'Nderfut/ndrysho caktues', +theme_insert_link_titlefield : 'Titulli', +theme_clipboard_msg : '?', +theme_path : 'Rruga', +cut_desc : 'Prij', +copy_desc : 'Kopjo', +paste_desc : 'Ngjit', +link_list : 'Liste lidhjesh', +image_list : 'Liste imazhesh', +browse : 'Kerko', +image_props_desc : 'Te dhenat e imazhit', +newdocument_desc : 'Dokument i ri', +class_name : 'Klasa', +newdocument : 'Jeni i sigurte se doni ta pastroni permbajtjen?', +about_title : 'Rreth TinyMCE', +about : 'Rreth', +license : 'Liensa', +plugins : 'Pluginet', +plugin : 'Plugin', +author : 'Autori', +version : 'Versioni', +loaded_plugins : 'Pluginet e ngarkuara', +help : 'Ndihme', +not_set : '-- i pa caktuar --', +close : 'Mbyll', +toolbar_focus : 'Kerce tek butonat - Alt+Q, kerce tek ndryshuesi - Alt-Z, Kerce tek ruga e elementeve - Alt-X' +}); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/sv.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/sv.js new file mode 100644 index 0000000000..fc25a7fc64 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/sv.js @@ -0,0 +1,77 @@ +// SE lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stilar --', +theme_code_desc : 'Editera HTML-koden', +theme_code_title : 'HTML-källkodseditor', +theme_code_wordwrap : 'Automatiskt radbyte', +theme_sub_desc : 'Nedsänkt text', +theme_sup_desc : 'Upphöjd text', +theme_hr_desc : 'Sätt in horisontell linje', +theme_removeformat_desc : 'Ta bort formatering', +theme_custom1_desc : 'Din specialbeskriving här', +insert_image_border : 'Ram', +insert_image_dimensions : 'Dimensioner', +insert_image_vspace : 'Vertikalt tomrum', +insert_image_hspace : 'Horisontellt tomrum', +insert_image_align : 'Justering', +insert_image_align_default : 'Ingen', +insert_image_align_baseline : 'Bottenlinjen', +insert_image_align_top : 'Längst upp', +insert_image_align_middle : 'Mitten', +insert_image_align_bottom : 'Längst ner', +insert_image_align_texttop : 'Textens top', +insert_image_align_absmiddle : 'Absoluta mitten', +insert_image_align_absbottom : 'Absolut längst ner', +insert_image_align_left : 'Vänster', +insert_image_align_right : 'Höger', +insert_image_delta_width : 30, +insert_image_delta_height : 10, +theme_font_size : '-- Fontstorlek --', +theme_fontdefault : '-- Font familj --', +theme_block : '-- Stycke --', +theme_paragraph : 'Paragraf', +theme_div : 'Div', +theme_address : 'Adress', +theme_pre : 'Förformatterad', +theme_h1 : 'Rubrik 1', +theme_h2 : 'Rubrik 2', +theme_h3 : 'Rubrik 3', +theme_h4 : 'Rubrik 4', +theme_h5 : 'Rubrik 5', +theme_h6 : 'Rubrik 6', +theme_colorpicker_title : 'Välj en färg', +theme_colorpicker_apply : 'Verkställ', +theme_forecolor_desc : 'Välj förgrundsfärg', +theme_backcolor_desc : 'Välj bakgrundsfärg', +theme_charmap_title : 'Välj specialtecken', +theme_charmap_desc : 'Sätt in specialtecken', +theme_visualaid_desc : 'Slå av/på osynliga element', +insert_anchor_title : 'Skapa/redigera ankare', +insert_anchor_name : 'Ankarnamn', +theme_anchor_desc : 'Skapa/redigera ankare', +theme_insert_link_titlefield : 'Titel', +theme_clipboard_msg : 'Klipput/Kopiera/Klistra fungerar inte Mozilla och Firefox. Vill du veta mer om detta?', +theme_path : 'Sökväg', +cut_desc : 'Klipp ut', +copy_desc : 'Kopiera', +paste_desc : 'Klistra in', +link_list : 'Länkar', +image_list : 'Bilder', +browse : 'Bläddra', +image_props_desc : 'Bild egenskaper', +newdocument_desc : 'Nytt dokument', +class_name : 'Stil', +newdocument : 'Är du säker på att du vill tömma hela redigerings ytan?', +about_title : 'Om TinyMCE', +about : 'Om', +license : 'Licens', +plugins : 'Insticksprogram', +plugin : 'Insticksprogram', +author : 'Utvecklare', +version : 'Version', +loaded_plugins : 'Laddade insticksprogram', +help : 'Hjälp', +not_set : '-- Inte satt --', +close : 'Stäng' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/th.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/th.js new file mode 100644 index 0000000000..ca726768ad --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/th.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Styles --', +theme_code_desc : 'Edit HTML Source', +theme_code_title : 'HTML Source Editor', +theme_code_wordwrap : 'Word wrap', +theme_sub_desc : 'Subscript', +theme_sup_desc : 'Superscript', +theme_hr_desc : 'Insert horizontal ruler', +theme_removeformat_desc : 'Remove formatting', +theme_custom1_desc : 'Your custom description here', +insert_image_border : 'Border', +insert_image_dimensions : 'Dimensions', +insert_image_vspace : 'Vertical space', +insert_image_hspace : 'Horizontal space', +insert_image_align : 'Alignment', +insert_image_align_default : '-- Not set --', +insert_image_align_baseline : 'Baseline', +insert_image_align_top : 'Top', +insert_image_align_middle : 'Middle', +insert_image_align_bottom : 'Bottom', +insert_image_align_texttop : 'TextTop', +insert_image_align_absmiddle : 'Absolute Middle', +insert_image_align_absbottom : 'Absolute Bottom', +insert_image_align_left : 'Left', +insert_image_align_right : 'Right', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_paragraph : 'Paragraph', +theme_div : 'Div', +theme_address : 'Address', +theme_pre : 'Preformatted', +theme_h1 : 'Heading 1', +theme_h2 : 'Heading 2', +theme_h3 : 'Heading 3', +theme_h4 : 'Heading 4', +theme_h5 : 'Heading 5', +theme_h6 : 'Heading 6', +theme_colorpicker_title : 'Select a color', +theme_colorpicker_apply : 'Apply', +theme_forecolor_desc : 'Select text color', +theme_backcolor_desc : 'Select background color', +theme_charmap_title : 'Select custom character', +theme_charmap_desc : 'Insert custom character', +theme_visualaid_desc : 'Toggle guidelines/invisible elements', +insert_anchor_title : 'Insert/edit anchor', +insert_anchor_name : 'Anchor name', +theme_anchor_desc : 'Insert/edit anchor', +theme_insert_link_titlefield : 'Title', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +class_name : 'Class', +newdocument : 'Are you sure you want clear all contents?', +about_title : 'About TinyMCE', +about : 'About', +license : 'License', +plugins : 'Plugins', +plugin : 'Plugin', +author : 'Author', +version : 'Version', +loaded_plugins : 'Loaded plugins', +help : 'Help', +not_set : '-- Not set --', +close : 'Close', +toolbar_focus : 'Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/tr.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/tr.js new file mode 100644 index 0000000000..a35529e563 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/tr.js @@ -0,0 +1,76 @@ +// UK lang variables + +tinyMCE.addToLang('',{ +theme_style_select : '-- Stiller --', +theme_code_desc : 'HTML Kayna Dzenle', +theme_code_title : 'HTML Editr', +theme_code_wordwrap : 'Szck kaydr', +theme_sub_desc : 'Altsimge', +theme_sup_desc : 'stsimge', +theme_hr_desc : 'Yatay izgi ekle', +theme_removeformat_desc : 'Format kaldr', +theme_custom1_desc : 'zel aklamanz buraya', +insert_image_border : 'Kenar kalnl', +insert_image_dimensions : 'Boyutlar', +insert_image_vspace : 'Dikey boluk', +insert_image_hspace : 'Yatay boluk', +insert_image_align : 'Hizalama', +insert_image_align_default : '-- Atanmam --', +insert_image_align_baseline : 'Taban izgisi', +insert_image_align_top : 'st', +insert_image_align_middle : 'Orta', +insert_image_align_bottom : 'Alt', +insert_image_align_texttop : 'Yaz stte', +insert_image_align_absmiddle : 'Tam ortada', +insert_image_align_absbottom : 'En altta', +insert_image_align_left : 'Sol', +insert_image_align_right : 'Sa', +theme_font_size : '-- Yaz boyutu --', +theme_fontdefault : '-- Yaz tipi --', +theme_block : '-- Biim --', +theme_paragraph : 'Paragraf', +theme_div : 'Div etiketi', +theme_address : 'Adres', +theme_pre : 'nceden dzenlenmi', +theme_h1 : 'Balk 1', +theme_h2 : 'Balk 2', +theme_h3 : 'Balk 3', +theme_h4 : 'Balk 4', +theme_h5 : 'Balk 5', +theme_h6 : 'Balk 6', +theme_colorpicker_title : 'Renk seiniz', +theme_colorpicker_apply : 'Uygula', +theme_forecolor_desc : 'Yaz rengi', +theme_backcolor_desc : 'Arkaplan rengi', +theme_charmap_title : 'zel karakterler', +theme_charmap_desc : 'zel karakter ekle', +theme_visualaid_desc : 'Gizli nesneler', +insert_anchor_title : 'Link ekle/dzenle', +insert_anchor_name : 'Link ismi', +theme_anchor_desc : 'Link ekle/dzenle', +theme_insert_link_titlefield : 'Balk', +theme_clipboard_msg : 'Mozilla ve Firefox tarayclarnda kopyala/kes/yaptr komutlarn kullanamassnz.\n Bu konu hakknda daha fazla bilgi edinmek ister misiniz?', +theme_path : 'Etiket yolu', +cut_desc : 'Kes', +copy_desc : 'Kopyala', +paste_desc : 'Yaptr', +link_list : 'Link listesi', +image_list : 'Resim listesi', +browse : 'Gzat', +image_props_desc : 'Resim zellikleri', +newdocument_desc : 'Yeni dkman', +class_name : 'Snf', +newdocument : 'Tm ierii silmek istediinizden emin misiniz?', +about_title : 'TinyMCE Hakknda', +about : 'Hakknda', +license : 'Lisans', +plugins : 'Pluginler', +plugin : 'Plugin', +author : 'Yazar', +version : 'Versiyon', +loaded_plugins : 'Yklenen pluginler', +help : 'Yardm', +not_set : '-- Atanmam --', +close : 'Kapat', +toolbar_focus : 'Ara butonlarna ge - Alt+Q , Editre ge - Alt-Z, Eleman zelliklerine ge - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/tw.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/tw.js new file mode 100644 index 0000000000..4c9ba44990 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/tw.js @@ -0,0 +1,91 @@ +// TW lang variables contributed by Jim Kou + +tinyMCE.addToLang('',{ +bold_desc : 'Å', +bold_img : "bold.gif", +bullist_desc : 'Å', +cancel : '', +cleanup_desc : 'M', +help_desc : 'U', +image_desc : 'Ϥ', +indent_desc : 'Y', +insert : 'sW', +insert_anchor_name : 'еW', +insert_anchor_title : 'sWе', +insert_image_align : '', +insert_image_align_absbottom : 'jU', +insert_image_align_absmiddle : 'jm', +insert_image_align_baseline : 'ǽu', +insert_image_align_bottom : 'U', +insert_image_align_default : 'з', +insert_image_align_left : '', +insert_image_align_middle : 'm', +insert_image_align_right : 'k', +insert_image_align_texttop : 'årW', +insert_image_align_top : 'W', +insert_image_alt : 'Ϥ', +insert_image_border : '~', +insert_image_dimensions : 'ؤo', +insert_image_hspace : '', +insert_image_src : 'Ϥӷ', +insert_image_title : 'sWϤ', +insert_image_vspace : '', +insert_link_target : 'ؼ', +insert_link_target_blank : 'Åܩs', +insert_link_target_same : 'ÅܩP@', +insert_link_title : 'sWWs', +insert_link_url : 'Ws', +italic_desc : 'Å', +italic_img : "italic.gif", +justifycenter_desc : '', +justifyfull_desc : '', +justifyleft_desc : '', +justifyright_desc : 'k', +link_desc : 'إ߳s', +numlist_desc : 'Ʀr', +outdent_desc : 'Y', +redo_desc : '', +striketrough_desc : 'Ru', +theme_address : 'a}', +theme_anchor_desc : 'е', +theme_charmap_desc : 'Sr', +theme_charmap_title : 'SrM', +theme_code_desc : 'Å HTML lX', +theme_code_wordwrap : 'Word wrap', +theme_code_title : 'HTML lX', +theme_colorpicker_apply : 'Åܧ', +theme_colorpicker_title : 'C', +theme_font_size : '-- Font size --', +theme_fontdefault : '-- Font family --', +theme_block : '-- Format --', +theme_forecolor_desc : 'rC', +theme_backcolor_desc : 'Select background color', +theme_h1 : 'D1', +theme_h2 : 'D2', +theme_h3 : 'D3', +theme_h4 : 'D4', +theme_h5 : 'D5', +theme_h6 : 'D6', +theme_hr_desc : 'sWu', +theme_paragraph : 'q', +theme_pre : 'w榡', +theme_removeformat_desc : 'M榡]w', +theme_style_select : '˦', +theme_sub_desc : 'U', +theme_sup_desc : 'W', +theme_visualaid_desc : 'Å/ëDi', +underline_desc : 'u', +undo_desc : '_', +unlink_desc : 's', +theme_clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?', +theme_path : 'Path', +cut_desc : 'Cut', +copy_desc : 'Copy', +paste_desc : 'Paste', +link_list : 'Link list', +image_list : 'Image list', +browse : 'Browse', +image_props_desc : 'Image properties', +newdocument_desc : 'New document', +newdocument : 'Are you sure you want clear all contents?' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/vi.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/vi.js new file mode 100755 index 0000000000..2b6c99404c --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/vi.js @@ -0,0 +1,76 @@ +// Vietnamese lang variables - Đỗ Xuân Tiến - tiendx2002@yahoo.com Việt hóa + +tinyMCE.addToLang('',{ +theme_style_select : '-- Phong cách --', +theme_code_desc : 'Sửa mã nguồn HTML', +theme_code_title : 'Bộ soạn thảo mã HTML', +theme_code_wordwrap : 'Gói gọn các từ - Word wrap', +theme_sub_desc : 'Chỉ số dưới', +theme_sup_desc : 'Chỉ số trên', +theme_hr_desc : 'Thêm đường thẳng ngang', +theme_removeformat_desc : 'Xóa định dạng', +theme_custom1_desc : 'Mô tả của bạn ở đây', +insert_image_border : 'Khung', +insert_image_dimensions : 'Kích thước', +insert_image_vspace : 'Khoảng cách dọc', +insert_image_hspace : 'Khoảng cách ngang', +insert_image_align : 'Căn lề', +insert_image_align_default : '-- Chưa đặt --', +insert_image_align_baseline : 'Theo dòng', +insert_image_align_top : 'Trên cùng', +insert_image_align_middle : 'Giữa', +insert_image_align_bottom : 'Dưới cùng', +insert_image_align_texttop : 'Văn bản trên cùng', +insert_image_align_absmiddle : 'Tuyệt đối giữa', +insert_image_align_absbottom : 'Tuyệt đối dưới cùng', +insert_image_align_left : 'Trái', +insert_image_align_right : 'Phải', +theme_font_size : '-- Kích thước chữ --', +theme_fontdefault : '-- Font chữ --', +theme_block : '-- Định dạng --', +theme_paragraph : 'Đoạn', +theme_div : 'Div', +theme_address : 'Địa chỉ', +theme_pre : 'Định dạng trước', +theme_h1 : 'Tiêu đề cấp 1', +theme_h2 : 'Tiêu đề cấp 2', +theme_h3 : 'Tiêu đề cấp 3', +theme_h4 : 'Tiêu đề cấp 4', +theme_h5 : 'Tiêu đề cấp 5', +theme_h6 : 'Tiêu đề cấp 6', +theme_colorpicker_title : 'Chọn một màu', +theme_colorpicker_apply : 'Áp dụng', +theme_forecolor_desc : 'Chọn màu chữ', +theme_backcolor_desc : 'Chọn màu nền', +theme_charmap_title : 'Chọn ký tự đặc biệt', +theme_charmap_desc : 'Thêm ký tự đặc biệt', +theme_visualaid_desc : 'Bật tắt chế độ hướng dẫn', +insert_anchor_title : 'Thêm/sửa neo', +insert_anchor_name : 'Tên neo', +theme_anchor_desc : 'Thêm/sửa neo', +theme_insert_link_titlefield : 'Tiêu đề', +theme_clipboard_msg : 'Trên Mozilla và Firefox không sử dụng được các thao tác Sao chép/Cắt/Dán. \nBạn cần thêm thông tin về điều này?', +theme_path : 'Đường dẫn', +cut_desc : 'Cắt', +copy_desc : 'Sao chép', +paste_desc : 'Dán', +link_list : 'Danh sách liên kết', +image_list : 'Danh sách ảnh', +browse : 'Duyệt', +image_props_desc : 'Thuộc tính ảnh', +newdocument_desc : 'Văn bản mới', +class_name : 'Lớp', +newdocument : 'Bạn có chắc muốn xóa sạch nội dung?', +about_title : 'Thông tin về TinyMCE', +about : 'Thông tin', +license : 'Chứng nhận', +plugins : 'Chức năng', +plugin : 'Chức năng', +author : 'Tác giả', +version : 'Phiên bản', +loaded_plugins : 'Chức năng đã nạp', +help : 'Trợ giúp', +not_set : '-- Chưa đặt --', +close : 'Đóng', +toolbar_focus : 'Nút chuyển tới công cụ - Alt+Q, Chuyển tới bộ soạn thảo - Alt-Z, Chuyển tới đường dẫn thành phần - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_cn.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_cn.js new file mode 100755 index 0000000000..6d160a5c18 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_cn.js @@ -0,0 +1,77 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +theme_style_select : '-- ʽ --', +theme_code_desc : '༭HTMLԴ', +theme_code_title : 'HTMLԴ༭', +theme_code_wordwrap : 'Զ', +theme_sub_desc : '±', +theme_sup_desc : 'ϱ', +theme_hr_desc : 'ˮƽ', +theme_removeformat_desc : 'Ƴʽ', +theme_custom1_desc : 'дûԶ', +insert_image_border : '߿', +insert_image_dimensions : 'ά', +insert_image_vspace : 'ֱ', +insert_image_hspace : 'ˮƽ', +insert_image_align : '뷽ʽ', +insert_image_align_default : '-- Ĭ --', +insert_image_align_baseline : '', +insert_image_align_top : '', +insert_image_align_middle : '', +insert_image_align_bottom : 'ײ', +insert_image_align_texttop : 'Ϸ', +insert_image_align_absmiddle : 'Ծ', +insert_image_align_absbottom : 'Եײ', +insert_image_align_left : '', +insert_image_align_right : 'Ҷ', +theme_font_size : '-- ֺ --', +theme_fontdefault : '-- --', +theme_block : '-- ʽ --', +theme_paragraph : '', +theme_div : '', +theme_address : 'ַ', +theme_pre : 'Ԥʽ', +theme_h1 : ' 1', +theme_h2 : ' 2', +theme_h3 : ' 3', +theme_h4 : ' 4', +theme_h5 : ' 5', +theme_h6 : ' 6', +theme_colorpicker_title : 'ѡɫ', +theme_colorpicker_apply : 'Ӧ', +theme_forecolor_desc : 'ѡɫ', +theme_backcolor_desc : 'ѡ񱳾ɫ', +theme_charmap_title : 'ѡ', +theme_charmap_desc : '', +theme_visualaid_desc : 'زɼԪ', +insert_anchor_title : '/༭ ê', +insert_anchor_name : 'ê', +theme_anchor_desc : '/༭ ê', +theme_insert_link_titlefield : '', +theme_clipboard_msg : '//ճ Mozilla Firefox в֧֡\nϣøϢ', +theme_path : '·', +cut_desc : '', +copy_desc : '', +paste_desc : 'ճ', +link_list : 'б', +image_list : 'ͼб', +browse : '', +image_props_desc : 'ͼ', +newdocument_desc : '½䵵', +class_name : '', +newdocument : 'ȷҪ', +about_title : ' TinyMCE', +about : '', +license : 'Ȩ', +plugins : 'в', +plugin : '', +author : '', +version : '汾', +loaded_plugins : 'ȡ', +help : '', +not_set : '-- 趨 --', +close : 'ر', +toolbar_focus : '߰ť - Alt+Q, ༭ - Alt-Z, Ԫ· - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_cn_utf8.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_cn_utf8.js new file mode 100755 index 0000000000..90a998f5b4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_cn_utf8.js @@ -0,0 +1,77 @@ +// Simplified Chinese lang variables contributed by TinyMCE_China_Team ( tinymce_china {AT} yahoogroups {DOT} com ). +// visit our homepage at: http://www.cube316.net/tinymce/ for more information. + +tinyMCE.addToLang('',{ +theme_style_select : '-- 格式 --', +theme_code_desc : '编辑HTML源代码', +theme_code_title : 'HTML源代码编辑器', +theme_code_wordwrap : '自动换行', +theme_sub_desc : '下标', +theme_sup_desc : '上标', +theme_hr_desc : '插入水平线', +theme_removeformat_desc : '移除格式', +theme_custom1_desc : '这里填写用户自定义描述', +insert_image_border : '边框', +insert_image_dimensions : '维数', +insert_image_vspace : '垂直间距', +insert_image_hspace : '水平间距', +insert_image_align : '对齐方式', +insert_image_align_default : '-- 默认 --', +insert_image_align_baseline : '基线', +insert_image_align_top : '顶端', +insert_image_align_middle : '居中', +insert_image_align_bottom : '底部', +insert_image_align_texttop : '文字上方', +insert_image_align_absmiddle : '绝对居中', +insert_image_align_absbottom : '绝对底部', +insert_image_align_left : '左对齐', +insert_image_align_right : '右对齐', +theme_font_size : '-- 字号 --', +theme_fontdefault : '-- 字体 --', +theme_block : '-- 格式 --', +theme_paragraph : '段落', +theme_div : '层', +theme_address : '地址', +theme_pre : '预格式化', +theme_h1 : '标题 1', +theme_h2 : '标题 2', +theme_h3 : '标题 3', +theme_h4 : '标题 4', +theme_h5 : '标题 5', +theme_h6 : '标题 6', +theme_colorpicker_title : '选择颜色', +theme_colorpicker_apply : '应用', +theme_forecolor_desc : '选择文字颜色', +theme_backcolor_desc : '选择背景颜色', +theme_charmap_title : '选择特殊符号', +theme_charmap_desc : '插入特殊符号', +theme_visualaid_desc : '开关不可见元素', +insert_anchor_title : '插入/编辑 锚点', +insert_anchor_name : '锚点名称', +theme_anchor_desc : '插入/编辑 锚点', +theme_insert_link_titlefield : '标题', +theme_clipboard_msg : '剪切/复制/粘贴功能在 Mozilla 和 Firefox 浏览器中不支持。\n您希望获得更多的信息吗?', +theme_path : '路径', +cut_desc : '剪切', +copy_desc : '复制', +paste_desc : '粘贴', +link_list : '链接列表', +image_list : '图像列表', +browse : '浏览', +image_props_desc : '图像属性', +newdocument_desc : '新建间档', +class_name : '类', +newdocument : '您确认要清除所有内容吗?', +about_title : '关于 TinyMCE', +about : '关于', +license : '授权书', +plugins : '所有插件', +plugin : '插件', +author : '作者', +version : '版本', +loaded_plugins : '读取插件', +help : '帮助', +not_set : '-- 空设定 --', +close : '关闭', +toolbar_focus : '跳到工具按钮 - Alt+Q, 跳到编辑器 - Alt-Z, 跳到元素路径 - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_tw.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_tw.js new file mode 100644 index 0000000000..d148b2627d --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_tw.js @@ -0,0 +1,78 @@ +// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// c餤 BIG-5 FƦΧ{s@F twapweb_AT_gmail_DOT_com + + +tinyMCE.addToLang('',{ +theme_style_select : '-- --', +theme_code_desc : 's HTML X', +theme_code_title : 'HTML Xs边', +theme_code_wordwrap : 'r¶', +theme_sub_desc : 'U', +theme_sup_desc : 'W', +theme_hr_desc : 'Ju', +theme_removeformat_desc : 'M榡]w', +theme_custom1_desc : 'ۭqbJ', +insert_image_border : 'ؽu', +insert_image_dimensions : 'ؤo', +insert_image_vspace : 'ϹWUZ', +insert_image_hspace : 'Ϲk䶡Z', +insert_image_align : '', +insert_image_align_default : '-- ]m --', +insert_image_align_baseline : 'u', +insert_image_align_top : '', +insert_image_align_middle : 'u', +insert_image_align_bottom : '', +insert_image_align_texttop : 'r', +insert_image_align_absmiddle : '襤u', +insert_image_align_absbottom : '侀', +insert_image_align_left : '', +insert_image_align_right : 'k', +theme_font_size : '-- rjp --', +theme_fontdefault : '-- r --', +theme_block : '-- 榡 --', +theme_paragraph : 'q', +theme_div : '', +theme_address : 'm', +theme_pre : 'w榡', +theme_h1 : 'D@', +theme_h2 : 'DG', +theme_h3 : 'DT', +theme_h4 : 'D|', +theme_h5 : 'D', +theme_h6 : 'D', +theme_colorpicker_title : 'C', +theme_colorpicker_apply : 'M', +theme_forecolor_desc : 'rC', +theme_backcolor_desc : 'IC', +theme_charmap_title : 'ۭqr', +theme_charmap_desc : 'Jۭqr', +theme_visualaid_desc : 'ܩΫDi', +insert_anchor_title : 'JνssI', +insert_anchor_name : 'sIW', +theme_anchor_desc : 'JνssI', +theme_insert_link_titlefield : 'D', +theme_clipboard_msg : 'b Mozilla M Firefox LkϥνƻsΰŤUζKW\C\nݭnh󦹪TܡH', +theme_path : '|', +cut_desc : 'ŤU', +copy_desc : 'ƻs', +paste_desc : 'KW', +link_list : 'sC', +image_list : 'ɦC', +browse : 's', +image_props_desc : 'ݩ', +newdocument_desc : 's', +class_name : '', +newdocument : 'TwnMeH', +about_title : ' TinyMCE', +about : '', +license : 'v', +plugins : 'ήM', +plugin : 'ήM', +author : '@', +version : '', +loaded_plugins : 'wJήM', +help : 'U', +not_set : '-- ]m --', +close : '', +toolbar_focus : 'ֳtҥΤu - Alt+QFֳtҥνs边 - Alt-ZFֳtܤ| - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_tw_utf8.js b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_tw_utf8.js new file mode 100644 index 0000000000..c45307a1bb --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/langs/zh_tw_utf8.js @@ -0,0 +1,78 @@ +// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com +// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com + + +tinyMCE.addToLang('',{ +theme_style_select : '-- 式樣 --', +theme_code_desc : '編輯 HTML 碼', +theme_code_title : 'HTML 碼編輯器', +theme_code_wordwrap : '字詞環繞', +theme_sub_desc : '下標', +theme_sup_desc : '上標', +theme_hr_desc : '插入水平線', +theme_removeformat_desc : '清除格式設定', +theme_custom1_desc : '自訂說明在此輸入', +insert_image_border : '框線', +insert_image_dimensions : '尺寸', +insert_image_vspace : '圖像上下側間距', +insert_image_hspace : '圖像左右邊間距', +insert_image_align : '垂直對齊', +insert_image_align_default : '-- 未設置 --', +insert_image_align_baseline : '底線', +insert_image_align_top : '頂端', +insert_image_align_middle : '中線', +insert_image_align_bottom : '底部', +insert_image_align_texttop : '文字頂端', +insert_image_align_absmiddle : '絕對中線', +insert_image_align_absbottom : '絕對底部', +insert_image_align_left : '左', +insert_image_align_right : '右', +theme_font_size : '-- 字體大小 --', +theme_fontdefault : '-- 字體選擇 --', +theme_block : '-- 格式 --', +theme_paragraph : '段落', +theme_div : '分界', +theme_address : '位置', +theme_pre : '內定格式', +theme_h1 : '標題一', +theme_h2 : '標題二', +theme_h3 : '標題三', +theme_h4 : '標題四', +theme_h5 : '標題五', +theme_h6 : '標題六', +theme_colorpicker_title : '選取顏色', +theme_colorpicker_apply : '套用', +theme_forecolor_desc : '選取文字顏色', +theme_backcolor_desc : '選取背景顏色', +theme_charmap_title : '選取自訂字元', +theme_charmap_desc : '插入自訂字元', +theme_visualaid_desc : '切換指示或非可見元件', +insert_anchor_title : '插入或編輯連結點', +insert_anchor_name : '連結點名稱', +theme_anchor_desc : '插入或編輯連結點', +theme_insert_link_titlefield : '標題', +theme_clipboard_msg : '在 Mozilla 和 Firefox 中無法使用複製或剪下或貼上功能。\n需要更多關於此的訊息嗎?', +theme_path : '路徑', +cut_desc : '剪下', +copy_desc : '複製', +paste_desc : '貼上', +link_list : '連結列表', +image_list : '圖檔列表', +browse : '瀏覽', +image_props_desc : '圖檔屬性', +newdocument_desc : '新文件', +class_name : '分類', +newdocument : '確定要清除全部內容?', +about_title : '關於 TinyMCE', +about : '關於', +license : '授權', +plugins : '應用套件', +plugin : '應用套件', +author : '作者', +version : '版本', +loaded_plugins : '已載入應用套件', +help : '協助', +not_set : '-- 未設置 --', +close : '關閉', +toolbar_focus : '快速啟用工具紐 - Alt+Q;快速啟用編輯器 - Alt-Z;快速移至元件路徑 - Alt-X' +}); diff --git a/phpgwapi/js/tiny_mce/themes/advanced/link.htm b/phpgwapi/js/tiny_mce/themes/advanced/link.htm new file mode 100644 index 0000000000..4e72eaad5a --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/link.htm @@ -0,0 +1,100 @@ + + + {$lang_insert_link_title} + + + + + + + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +
 
+
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/themes/advanced/source_editor.htm b/phpgwapi/js/tiny_mce/themes/advanced/source_editor.htm new file mode 100644 index 0000000000..7cb4d74665 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/advanced/source_editor.htm @@ -0,0 +1,30 @@ + + + + {$lang_theme_code_title} + + + + + +
+
{$lang_theme_code_title}
+ +
+ +
+ + + +
+
+ +
+ +
+ +
+
+
+ + diff --git a/phpgwapi/js/tiny_mce/themes/simple/css/editor_content.css b/phpgwapi/js/tiny_mce/themes/simple/css/editor_content.css new file mode 100644 index 0000000000..2506c807ca --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/simple/css/editor_content.css @@ -0,0 +1,25 @@ +body, td, pre { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +body { + background-color: #FFFFFF; +} + +.mceVisualAid { + border: 1px dashed #BBBBBB; +} + +/* MSIE specific */ + +* html body { + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} diff --git a/phpgwapi/js/tiny_mce/themes/simple/css/editor_popup.css b/phpgwapi/js/tiny_mce/themes/simple/css/editor_popup.css new file mode 100644 index 0000000000..f29b04a55b --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/simple/css/editor_popup.css @@ -0,0 +1,41 @@ +body { + background-color: #F0F0EE; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; + scrollbar-3dlight-color: #F0F0EE; + scrollbar-arrow-color: #676662; + scrollbar-base-color: #F0F0EE; + scrollbar-darkshadow-color: #DDDDDD; + scrollbar-face-color: #E0E0DD; + scrollbar-highlight-color: #F0F0EE; + scrollbar-shadow-color: #F0F0EE; + scrollbar-track-color: #F5F5F5; +} + +td { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11px; +} + +input { + background: #FFFFFF; + border: 1px solid #cccccc; +} + +td, input, select, textarea { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10px; +} + +input, select, textarea { + border: 1px solid #808080; +} + +.input_noborder { + border: 0; +} + +.title { + font-size: 12px; + font-weight: bold; +} \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/themes/simple/css/editor_ui.css b/phpgwapi/js/tiny_mce/themes/simple/css/editor_ui.css new file mode 100644 index 0000000000..6f5776820a --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/simple/css/editor_ui.css @@ -0,0 +1,125 @@ +.mceSeparatorLine { + border: 0; + padding: 0; + margin-left: 4px; + margin-right: 2px; +} + +.mceSelectList { + font-family: "MS Sans Serif"; + font-size: 7pt; + font-weight: normal; + margin-top: 2px; +} + +.mceLabel, .mceLabelDisabled { + font-family: "MS Sans Serif"; + font-size: 9pt; +} + +.mceLabel { + color: #000000; +} + +.mceLabelDisabled { + cursor: text; + color: #999999; +} + +.mceEditor { + background: #F0F0EE; + border: 1px solid #cccccc; +} + +.mceEditorArea { + font-family: "MS Sans Serif"; + background: #FFFFFF; +} + +.mceToolbar { + background: #F0F0EE; + border-top: 1px solid #cccccc; + line-height: 1px; + font-size: 1px; + padding-bottom: 1px; +} + +.mceEditorIframe { + border: 0; +} + +/* Button CSS rules */ + +a.mceButtonDisabled img, a.mceButtonNormal img, a.mceButtonSelected img { + width: 20px; + height: 20px; + cursor: default; + margin-top: 1px; + margin-left: 1px; +} + +a.mceButtonDisabled img { + border: 0 !important; +} + +a.mceButtonNormal img, a.mceButtonSelected img { + border: 1px solid #F0F0EE !important; +} + +a.mceButtonSelected img { + border: 1px solid #C0C0BB !important; +} + +a.mceButtonNormal img:hover, a.mceButtonSelected img:hover { + border: 1px solid #0A246A !important; + cursor: default; + background-color: #B6BDD2; +} + +a.mceButtonDisabled img { + -moz-opacity:0.3; + opacity: 0.3; + border: 1px solid #F0F0EE !important; + cursor: default; +} + +a.mceTiledButton img { + background-image: url('../images/buttons.gif'); + background-repeat: no-repeat; +} + +/* MSIE specific rules */ + +* html a.mceButtonNormal img, * html a.mceButtonSelected img, * html a.mceButtonDisabled img { + border: 0px !important; + margin-top: 2px; + margin-bottom: 1px; +} + +* html a.mceButtonDisabled img { + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30); + border: 0px !important; +} + +* html a.mceButtonDisabled { + border: 1px solid #F0F0EE !important; +} + +* html a.mceButtonNormal, * html a.mceButtonSelected { + border: 1px solid #F0F0EE; + cursor: default; +} + +* html a.mceButtonSelected { + border: 1px solid #C0C0BB; +} + +* html a.mceButtonNormal:hover, * html a.mceButtonSelected:hover { + border: 1px solid #0A246A; + cursor: default; + background-color: #B6BDD2; +} + +* html .mceSelectList { + margin-top: 2px; +} diff --git a/phpgwapi/js/tiny_mce/themes/simple/editor_template.js b/phpgwapi/js/tiny_mce/themes/simple/editor_template.js new file mode 100644 index 0000000000..59cedc2ce7 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/simple/editor_template.js @@ -0,0 +1,4 @@ +var TinyMCE_SimpleTheme={_buttonMap:'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo',getEditorTemplate:function(){var html='';html+='';html+='';html+='
';html+='IFRAME';html+='
';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+='';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+='';html+=tinyMCE.getButtonHTML('cleanup','lang_cleanup_desc','{$themeurl}/images/cleanup.gif','mceCleanup') +html+='';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+='
';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); \ No newline at end of file diff --git a/phpgwapi/js/tiny_mce/themes/simple/editor_template_src.js b/phpgwapi/js/tiny_mce/themes/simple/editor_template_src.js new file mode 100644 index 0000000000..702f5058d4 --- /dev/null +++ b/phpgwapi/js/tiny_mce/themes/simple/editor_template_src.js @@ -0,0 +1,86 @@ +/** + * $RCSfile: editor_template_src.js,v $ + * $Revision: 1.9 $ + * $Date: 2006/04/18 13:32:53 $ + * + * @author Moxiecode + * @copyright Copyright 2004-2006, Moxiecode Systems AB, All rights reserved. + */ + +var TinyMCE_SimpleTheme = { + // List of button ids in tile map + _buttonMap : 'bold,bullist,cleanup,italic,numlist,redo,strikethrough,underline,undo', + + getEditorTemplate : function() { + var html = ''; + + html += ''; + html += ''; + html += '
'; + html += 'IFRAME'; + html += '
'; + 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 += ''; + 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 += ''; + html += tinyMCE.getButtonHTML('cleanup', 'lang_cleanup_desc', '{$themeurl}/images/cleanup.gif', 'mceCleanup') + html += ''; + 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 += '
'; + + return { + delta_width : 0, + delta_height : 20, + html : html + }; + }, + + handleNodeChange : function(editor_id, node) { + // Reset old states + 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'); + + // Handle elements + 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); diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/bold.gif b/phpgwapi/js/tiny_mce/themes/simple/images/bold.gif new file mode 100644 index 0000000000..d6a9cc2cd4 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/bold.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/bold_de_se.gif b/phpgwapi/js/tiny_mce/themes/simple/images/bold_de_se.gif new file mode 100644 index 0000000000..9b129de25e Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/bold_de_se.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/bold_fr.gif b/phpgwapi/js/tiny_mce/themes/simple/images/bold_fr.gif new file mode 100644 index 0000000000..2816454515 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/bold_fr.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/bold_ru.gif b/phpgwapi/js/tiny_mce/themes/simple/images/bold_ru.gif new file mode 100644 index 0000000000..e000d461c9 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/bold_ru.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/bold_tw.gif b/phpgwapi/js/tiny_mce/themes/simple/images/bold_tw.gif new file mode 100644 index 0000000000..82085432c6 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/bold_tw.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/bullist.gif b/phpgwapi/js/tiny_mce/themes/simple/images/bullist.gif new file mode 100644 index 0000000000..6e19467c70 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/bullist.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/buttons.gif b/phpgwapi/js/tiny_mce/themes/simple/images/buttons.gif new file mode 100644 index 0000000000..9d86222e63 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/buttons.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/cleanup.gif b/phpgwapi/js/tiny_mce/themes/simple/images/cleanup.gif new file mode 100644 index 0000000000..16491f6cfc Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/cleanup.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/italic.gif b/phpgwapi/js/tiny_mce/themes/simple/images/italic.gif new file mode 100644 index 0000000000..8bb330bd0b Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/italic.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/italic_de_se.gif b/phpgwapi/js/tiny_mce/themes/simple/images/italic_de_se.gif new file mode 100644 index 0000000000..feb0309e74 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/italic_de_se.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/italic_ru.gif b/phpgwapi/js/tiny_mce/themes/simple/images/italic_ru.gif new file mode 100644 index 0000000000..a2bb69a725 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/italic_ru.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/italic_tw.gif b/phpgwapi/js/tiny_mce/themes/simple/images/italic_tw.gif new file mode 100644 index 0000000000..4f6eeaa2b2 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/italic_tw.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/numlist.gif b/phpgwapi/js/tiny_mce/themes/simple/images/numlist.gif new file mode 100644 index 0000000000..a2683522f4 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/numlist.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/redo.gif b/phpgwapi/js/tiny_mce/themes/simple/images/redo.gif new file mode 100644 index 0000000000..3af90697f0 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/redo.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/separator.gif b/phpgwapi/js/tiny_mce/themes/simple/images/separator.gif new file mode 100644 index 0000000000..4f39b809e9 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/separator.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/spacer.gif b/phpgwapi/js/tiny_mce/themes/simple/images/spacer.gif new file mode 100644 index 0000000000..388486517f Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/spacer.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/strikethrough.gif b/phpgwapi/js/tiny_mce/themes/simple/images/strikethrough.gif new file mode 100644 index 0000000000..3264635918 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/strikethrough.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/underline.gif b/phpgwapi/js/tiny_mce/themes/simple/images/underline.gif new file mode 100644 index 0000000000..1dfeb5f6d0 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/underline.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/underline_fr.gif b/phpgwapi/js/tiny_mce/themes/simple/images/underline_fr.gif new file mode 100644 index 0000000000..551d9148d3 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/underline_fr.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/underline_ru.gif b/phpgwapi/js/tiny_mce/themes/simple/images/underline_ru.gif new file mode 100644 index 0000000000..b78e2a498f Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/underline_ru.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/underline_tw.gif b/phpgwapi/js/tiny_mce/themes/simple/images/underline_tw.gif new file mode 100644 index 0000000000..b715390484 Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/underline_tw.gif differ diff --git a/phpgwapi/js/tiny_mce/themes/simple/images/undo.gif b/phpgwapi/js/tiny_mce/themes/simple/images/undo.gif new file mode 100644 index 0000000000..520796d69d Binary files /dev/null and b/phpgwapi/js/tiny_mce/themes/simple/images/undo.gif differ diff --git a/phpgwapi/js/tiny_mce/tiny_mce.js b/phpgwapi/js/tiny_mce/tiny_mce.js new file mode 100644 index 0000000000..f68fb4347c --- /dev/null +++ b/phpgwapi/js/tiny_mce/tiny_mce.js @@ -0,0 +1 @@ +function TinyMCE_Engine(){this.majorVersion="2";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();var ua=navigator.userAgent;this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isMSIE5=this.isMSIE&&(ua.indexOf('MSIE 5')!=-1);this.isMSIE5_0=this.isMSIE&&(ua.indexOf('MSIE 5.0')!=-1);this.isGecko=ua.indexOf('Gecko')!=-1;this.isSafari=ua.indexOf('Safari')!=-1;this.isOpera=ua.indexOf('Opera')!=-1;this.isMac=ua.indexOf('Mac')!=-1;this.isNS7=ua.indexOf('Netscape/7')!=-1;this.isNS71=ua.indexOf('Netscape/7.1')!=-1;this.dialogCounter=0;this.plugins=new Array();this.themes=new Array();this.menus=new Array();this.loadedPlugins=new Array();this.buttonMap=new Array();this.isLoaded=false;if(this.isOpera){this.isMSIE=true;this.isGecko=false;this.isSafari=false;}this.idCounter=0;};TinyMCE_Engine.prototype={init:function(settings){var theme;this.settings=settings;if(typeof(document.execCommand)=='undefined')return;if(!tinyMCE.baseURL){var elements=document.getElementsByTagName('script');for(var i=0;i');this._def("font_size_classes",'');this._def("font_size_style_values",'xx-small,x-small,small,medium,large,x-large,xx-large',true);this._def("event_elements",'a,img',true);this._def("convert_urls",true);this._def("table_inline_editing",false);this._def("object_resizing",true);this._def("custom_shortcuts",true);this._def("convert_on_click",false);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",'');if(this.isMSIE&&!this.isOpera)this.settings.strict_loading_mode=false;if(this.isMSIE&&this.settings['browsers'].indexOf('msie')==-1)return;if(this.isGecko&&this.settings['browsers'].indexOf('gecko')==-1)return;if(this.isSafari&&this.settings['browsers'].indexOf('safari')==-1)return;if(this.isOpera&&this.settings['browsers'].indexOf('opera')==-1)return;var baseHREF=tinyMCE.settings['document_base_url'];var h=document.location.href;var p=h.indexOf('://');if(p>0&&document.location.protocol!="file:"){p=h.indexOf('/',p+3);h=h.substring(0,p);if(baseHREF.indexOf('://')==-1)baseHREF=h+baseHREF;tinyMCE.settings['document_base_url']=baseHREF;tinyMCE.settings['document_base_prefix']=h;}if(baseHREF.indexOf('?')!=-1)baseHREF=baseHREF.substring(0,baseHREF.indexOf('?'));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|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='javascript:TINYMCE_UNIQUEURL();';this.uniqueTag='';this.callbacks=new Array('onInit','getInfo','getEditorTemplate','setupContent','onChange','onPageLoad','handleNodeChange','initInstance','execCommand','getControlHTML','handleEvent','cleanup');this.settings['theme_href']=tinyMCE.baseURL+"/themes/"+theme;if(!tinyMCE.isMSIE)this.settings['force_br_newlines']=false;if(tinyMCE.getParam("popups_css",false)){var cssPath=tinyMCE.getParam("popups_css","");if(cssPath.indexOf('://')==-1&&cssPath.charAt(0)!='/')this.settings['popups_css']=this.documentBasePath+"/"+cssPath;else this.settings['popups_css']=cssPath;}else this.settings['popups_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_popup.css";if(tinyMCE.getParam("editor_css",false)){var cssPath=tinyMCE.getParam("editor_css","");if(cssPath.indexOf('://')==-1&&cssPath.charAt(0)!='/')this.settings['editor_css']=this.documentBasePath+"/"+cssPath;else this.settings['editor_css']=cssPath;}else this.settings['editor_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_ui.css";if(tinyMCE.settings['debug']){var msg="Debug: \n";msg+="baseURL: "+this.baseURL+"\n";msg+="documentBasePath: "+this.documentBasePath+"\n";msg+="content_css: "+this.settings['content_css']+"\n";msg+="popups_css: "+this.settings['popups_css']+"\n";msg+="editor_css: "+this.settings['editor_css']+"\n";alert(msg);}if(this.configs.length==0){if(this.isSafari&&this.getParam('safari_warning',false))alert("Safari support is very limited and should be considered experimental.\nSo there is no need to even submit bugreports on this early version.\nYou can disable this message by setting: safari_warning option to false");if(typeof(TinyMCECompressed)=="undefined"){tinyMCE.addEvent(window,"DOMContentLoaded",TinyMCE_Engine.prototype.onLoad);if(tinyMCE.isMSIE&&!tinyMCE.isOpera){if(document.body)tinyMCE.addEvent(document.body,"readystatechange",TinyMCE_Engine.prototype.onLoad);else tinyMCE.addEvent(document,"readystatechange",TinyMCE_Engine.prototype.onLoad);}tinyMCE.addEvent(window,"load",TinyMCE_Engine.prototype.onLoad);tinyMCE._addUnloadEvents();}}this.loadScript(tinyMCE.baseURL+'/themes/'+this.settings['theme']+'/editor_template'+tinyMCE.srcMode+'.js');this.loadScript(tinyMCE.baseURL+'/langs/'+this.settings['language']+'.js');this.loadCSS(this.settings['editor_css']);var p=tinyMCE.getParam('plugins','',true,',');if(p.length>0){for(var i=0;i');this.loadedFiles[this.loadedFiles.length]=url;},loadNextScript:function(){var d=document,se;if(!tinyMCE.settings.strict_loading_mode)return;if(this.loadingIndex0){for(i=0,lflen=this.loadedFiles.length;i');this.loadedFiles[this.loadedFiles.length]=ar[x];}}}},importCSS:function(doc,css){var css_ary=css.replace(/\s+/,'').split(',');var csslen,elm,headArr,x,css_file;for(x=0,csslen=css_ary.length;x0){if(css_file.indexOf('://')==-1&&css_file.charAt(0)!='/')css_file=this.documentBasePath+"/"+css_file;if(typeof(doc.createStyleSheet)=="undefined"){elm=doc.createElement("link");elm.rel="stylesheet";elm.href=css_file;if((headArr=doc.getElementsByTagName("head"))!=null&&headArr.length>0)headArr[0].appendChild(elm);}else doc.createStyleSheet(css_file);}}},confirmAdd:function(e,settings){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var elementId=elm.name?elm.name:elm.id;tinyMCE.settings=settings;if(tinyMCE.settings['convert_on_click']||(!elm.getAttribute('mce_noask')&&confirm(tinyMCELang['lang_edit_confirm'])))tinyMCE.addMCEControl(elm,elementId);elm.setAttribute('mce_noask','true');},updateContent:function(form_element_name){var formElement=document.getElementById(form_element_name);for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();if(inst.formElement==formElement){var doc=inst.getDoc();tinyMCE._setHTML(doc,inst.formElement.value);if(!tinyMCE.isMSIE)doc.body.innerHTML=tinyMCE._cleanupHTML(inst,doc,this.settings,doc.body,inst.visualAid);}}},addMCEControl:function(replace_element,form_element_name,target_document){var id="mce_editor_"+tinyMCE.idCounter++;var inst=new TinyMCE_Control(tinyMCE.settings);inst.editorId=id;this.instances[id]=inst;inst._onAdd(replace_element,form_element_name,target_document);},removeMCEControl:function(editor_id){var inst=tinyMCE.getInstanceById(editor_id);if(inst){inst.switchSettings();editor_id=inst.editorId;var html=tinyMCE.getContent(editor_id);var tmpInstances=new Array();for(var instanceName in tinyMCE.instances){var instance=tinyMCE.instances[instanceName];if(!tinyMCE.isInstance(instance))continue;if(instanceName!=editor_id)tmpInstances[instanceName]=instance;}tinyMCE.instances=tmpInstances;tinyMCE.selectedElement=null;tinyMCE.selectedInstance=null;var replaceElement=document.getElementById(editor_id+"_parent");var oldTargetElement=inst.oldTargetElement;var targetName=oldTargetElement.nodeName.toLowerCase();if(targetName=="textarea"||targetName=="input"){replaceElement.parentNode.removeChild(replaceElement);oldTargetElement.style.display="inline";oldTargetElement.value=html;}else{oldTargetElement.innerHTML=html;oldTargetElement.style.display='block';replaceElement.parentNode.insertBefore(oldTargetElement,replaceElement);replaceElement.parentNode.removeChild(replaceElement);}}},triggerSave:function(skip_cleanup,skip_callback){var inst,n;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(typeof(skip_callback)=="undefined")skip_callback=false;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.triggerSave(skip_cleanup,skip_callback);}},resetForm:function(form_index){var i,inst,n,formObj=document.forms[form_index];for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();for(i=0;i');content=content.replace(/"/g,'"');content=content.replace(/&/g,'&');}inst.switchSettings();if(!tinyMCE.isMSIE&&tinyMCE.getParam("setupcontent_reload",false)&&doc.title!="blank_page"){try{doc.location.href=tinyMCE.baseURL+"/blank.htm";}catch(ex){}window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",1000);return;}if(!head){window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",10);return;}tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/themes/"+inst.settings['theme']+"/css/editor_content.css");tinyMCE.importCSS(inst.getDoc(),inst.settings['content_css']);tinyMCE.dispatchCallback(inst,'init_instance_callback','initInstance',inst);if(tinyMCE.getParam('custom_undo_redo_keyboard_shortcuts')){inst.addShortcut('ctrl','z','lang_undo_desc','Undo');inst.addShortcut('ctrl','y','lang_redo_desc','Redo');}if(tinyMCE.isGecko){inst.addShortcut('ctrl','b','lang_bold_desc','Bold');inst.addShortcut('ctrl','i','lang_italic_desc','Italic');inst.addShortcut('ctrl','u','lang_underline_desc','Underline');}if(tinyMCE.getParam("convert_fonts_to_spans"))inst.getDoc().body.setAttribute('id','mceSpanFonts');if(tinyMCE.settings['nowrap'])doc.body.style.whiteSpace="nowrap";doc.body.dir=this.settings['directionality'];doc.editorId=editor_id;if(!tinyMCE.isMSIE)doc.documentElement.editorId=editor_id;inst.setBaseHREF(tinyMCE.settings['base_href']);if(tinyMCE.settings['convert_newlines_to_brs']){content=tinyMCE.regexpReplace(content,"\r\n","
","gi");content=tinyMCE.regexpReplace(content,"\r","
","gi");content=tinyMCE.regexpReplace(content,"\n","
","gi");}content=tinyMCE.storeAwayURLs(content);content=tinyMCE._customCleanup(inst,"insert_to_editor",content);if(tinyMCE.isMSIE){window.setInterval('try{tinyMCE.getCSSClasses(tinyMCE.instances["'+editor_id+'"].getDoc(), "'+editor_id+'");}catch(e){}',500);if(tinyMCE.settings["force_br_newlines"])doc.styleSheets[0].addRule("p","margin: 0;");var body=inst.getBody();body.editorId=editor_id;}content=tinyMCE.cleanupHTMLCode(content);if(!tinyMCE.isMSIE){var contentElement=inst.getDoc().createElement("body");var doc=inst.getDoc();contentElement.innerHTML=content;if(tinyMCE.isGecko&&tinyMCE.settings['remove_lt_gt'])content=content.replace(new RegExp('<>','g'),"");if(tinyMCE.settings['cleanup_on_startup'])tinyMCE.setInnerHTML(inst.getBody(),tinyMCE._cleanupHTML(inst,doc,this.settings,contentElement));else{content=tinyMCE.regexpReplace(content,"","","gi");content=tinyMCE.regexpReplace(content,"","
","gi");content=tinyMCE.regexpReplace(content,"","","gi");tinyMCE.setInnerHTML(inst.getBody(),content);}tinyMCE.convertAllRelativeURLs(inst.getBody());}else{if(tinyMCE.settings['cleanup_on_startup']){tinyMCE._setHTML(inst.getDoc(),content);eval('try {tinyMCE.setInnerHTML(inst.getBody(), tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, inst.getBody()));} catch(e) {}');}else tinyMCE._setHTML(inst.getDoc(),content);}var parentElm=inst.targetDoc.getElementById(inst.editorId+'_parent');inst.formElement=tinyMCE.isGecko?parentElm.previousSibling:parentElm.nextSibling;tinyMCE.handleVisualAid(inst.getBody(),true,tinyMCE.settings['visual'],inst);tinyMCE.dispatchCallback(inst,'setupcontent_callback','setupContent',editor_id,inst.getBody(),inst.getDoc());if(!tinyMCE.isMSIE)tinyMCE.addEventHandlers(inst);if(tinyMCE.isMSIE){tinyMCE.addEvent(inst.getBody(),"blur",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(inst.getBody(),"beforedeactivate",TinyMCE_Engine.prototype._eventPatch);if(!tinyMCE.isOpera){tinyMCE.addEvent(doc.body,"mousemove",TinyMCE_Engine.prototype.onMouseMove);tinyMCE.addEvent(doc.body,"beforepaste",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(doc.body,"drop",TinyMCE_Engine.prototype._eventPatch);}}tinyMCE.selectedInstance=inst;tinyMCE.selectedElement=inst.contentWindow.document.body;tinyMCE._customCleanup(inst,"insert_to_editor_dom",inst.getBody());tinyMCE._customCleanup(inst,"setup_content_dom",inst.getBody());tinyMCE._setEventsEnabled(inst.getBody(),false);tinyMCE.cleanupAnchors(inst.getDoc());if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(inst.getDoc());inst.startContent=tinyMCE.trim(inst.getBody().innerHTML);inst.undoRedo.add({content:inst.startContent});if(tinyMCE.isGecko){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;});}tinyMCE._removeInternal(inst.getBody());tinyMCE.selectedInstance=inst;tinyMCE.triggerNodeChange(false,true);},storeAwayURLs:function(s){if(!s.match(/(mce_src|mce_href)/gi,s)){s=s.replace(new RegExp('src\\s*=\\s*\"([^ >\"]*)\"','gi'),'src="$1" mce_src="$1"');s=s.replace(new RegExp('href\\s*=\\s*\"([^ >\"]*)\"','gi'),'href="$1" mce_href="$1"');}return s;},_removeInternal:function(n){if(tinyMCE.isGecko){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){if(typeof(form_obj)=="undefined"||form_obj==null)return;if(form_obj.nodeName!="FORM"){if(form_obj.form)form_obj=form_obj.form;else form_obj=tinyMCE.getParentElement(form_obj,"form");}if(form_obj==null)return;for(var i=0;i");rng.collapse(false);rng.select();tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange(false);return false;}}if(e.keyCode==8||e.keyCode==46){tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(e.target,"a");tinyMCE.imgElement=tinyMCE.getParentElement(e.target,"img");tinyMCE.triggerNodeChange(false);}return false;break;case"keyup":case"keydown":tinyMCE.hideMenus();tinyMCE.hasMouseMoved=false;if(inst&&inst.handleShortcut(e))return false;if(e.target.editorId)tinyMCE.selectedInstance=tinyMCE.instances[e.target.editorId];else return;if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();var inst=tinyMCE.selectedInstance;if(tinyMCE.isGecko&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance,e.type)){tinyMCE.execCommand("mceAddUndoLevel");e.preventDefault();return false;}}tinyMCE.selectedElement=null;tinyMCE.selectedNode=null;var elm=tinyMCE.selectedInstance.getFocusElement();tinyMCE.linkElement=tinyMCE.getParentElement(elm,"a");tinyMCE.imgElement=tinyMCE.getParentElement(elm,"img");tinyMCE.selectedElement=elm;if(tinyMCE.isGecko&&e.type=="keyup"&&e.keyCode==9)tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(),true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);if(tinyMCE.isMSIE&&e.type=="keydown"&&e.keyCode==13)tinyMCE.enterKeyElement=tinyMCE.selectedInstance.getFocusElement();if(tinyMCE.isMSIE&&e.type=="keyup"&&e.keyCode==13){var elm=tinyMCE.enterKeyElement;if(elm){var re=new RegExp('^HR|IMG|BR$','g');var dre=new RegExp('^H[1-6]$','g');if(!elm.hasChildNodes()&&!re.test(elm.nodeName)){if(dre.test(elm.nodeName))elm.innerHTML="  ";else elm.innerHTML=" ";}}}var keys=tinyMCE.posKeyCodes;var posKey=false;for(var i=0;i';h+='';h+='';}else{h+='';h+='';h+='';}return h;},addButtonMap:function(m){var i,a=m.replace(/\s+/,'').split(',');for(i=0;i0);if(tinyMCE.settings['custom_undo_redo']){undoIndex=inst.undoRedo.undoIndex;undoLevels=inst.undoRedo.undoLevels.length;}tinyMCE.dispatchCallback(inst,'handle_node_change_callback','handleNodeChange',editorId,elm,undoIndex,undoLevels,inst.visualAid,anySelection,setup_content);}if(this.selectedInstance&&(typeof(focus)=="undefined"||focus))this.selectedInstance.contentWindow.focus();},_customCleanup:function(inst,type,content){var pl,po,i;var customCleanup=tinyMCE.settings['cleanup_callback'];if(customCleanup!=""&&eval("typeof("+customCleanup+")")!="undefined")content=eval(customCleanup+"(type, content, inst);");pl=inst.plugins;for(i=0;i0){for(i=ar.length-1;i>=0;i--){s=ar[i].substring(2,ar[i].length-1);if(s.indexOf('lang_')==0&&tinyMCELang[s])h=tinyMCE.replaceVar(h,s,tinyMCELang[s]);else if(as&&as[s])h=tinyMCE.replaceVar(h,s,as[s]);else if(tinyMCE.settings[s])h=tinyMCE.replaceVar(h,s,tinyMCE.settings[s]);}}h=tinyMCE.replaceVar(h,"themeurl",tinyMCE.themeURL);return h;},replaceVar:function(h,r,v){return h.replace(new RegExp('{\\\$'+r+'}','g'),v);},openWindow:function(template,args){var html,width,height,x,y,resizable,scrollbars,url;args['mce_template_file']=template['file'];args['mce_width']=template['width'];args['mce_height']=template['height'];tinyMCE.windowArgs=args;html=template['html'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;if(tinyMCE.isMSIE)height+=40;else height+=20;x=parseInt(screen.width/2.0)-(width/2.0);y=parseInt(screen.height/2.0)-(height/2.0);resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]));}if(html){html=tinyMCE.replaceVar(html,"css",this.settings['popups_css']);html=tinyMCE.applyTemplate(html,args);var win=window.open("","mcePopup"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog=yes,minimizable="+resizable+",modal=yes,width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return;}win.document.write(html);win.document.close();win.resizeTo(width,height);win.focus();}else{if((tinyMCE.isMSIE&&!tinyMCE.isOpera)&&resizable!='yes'&&tinyMCE.settings["dialog_type"]=="modal"){height+=10;var features="resizable:"+resizable+";scroll:"+scrollbars+";status:yes;center:yes;help:no;dialogWidth:"+width+"px;dialogHeight:"+height+"px;";window.showModalDialog(url,window,features);}else{var modal=(resizable=="yes")?"no":"yes";if(tinyMCE.isGecko&&tinyMCE.isMac)modal="no";if(template['close_previous']!="no")try{tinyMCE.lastWindow.close();}catch(ex){}var win=window.open(url,"mcePopup"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog="+modal+",minimizable="+resizable+",modal="+modal+",width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return;}if(template['close_previous']!="no")tinyMCE.lastWindow=win;eval('try { win.resizeTo(width, height); } catch(e) { }');if(tinyMCE.isGecko){if(win.document.defaultView.statusbar.visible)win.resizeBy(0,tinyMCE.isMac?10:24);}win.focus();}}},closeWindow:function(win){win.close();},getVisualAidClass:function(class_name,state){var aidClass=tinyMCE.settings['visual_table_class'];if(typeof(state)=="undefined")state=tinyMCE.settings['visual'];var classNames=new Array();var ar=class_name.split(' ');for(var i=0;i0)className+=" ";className+=classNames[i];}return className;},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){case"TABLE":var oldW=el.style.width;var oldH=el.style.height;var bo=tinyMCE.getAttrib(el,"border");bo=bo==""||bo=="0"?true:false;tinyMCE.setAttrib(el,"class",tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el,"class"),state&&bo));el.style.width=oldW;el.style.height=oldH;for(var y=0;y0){for(var x=0;x0)tinyMCE.cssClasses=output;return output;},regexpReplace:function(in_str,reg_exp,replace_str,opts){if(in_str==null)return in_str;if(typeof(opts)=="undefined")opts='g';var re=new RegExp(reg_exp,opts);return in_str.replace(re,replace_str);},trim:function(s){return s.replace(/^\s*|\s*$/g,"");},cleanupEventStr:function(s){s=""+s;s=s.replace('function anonymous()\n{\n','');s=s.replace('\n}','');s=s.replace(/^return true;/gi,'');return s;},getControlHTML:function(c){var i,l,n,o,v;l=tinyMCE.plugins;for(n in l){o=l[n];if(o.getControlHTML&&(v=o.getControlHTML(c))!='')return tinyMCE.replaceVar(v,"pluginurl",o.baseURL);}o=tinyMCE.themes[tinyMCE.settings['theme']];if(o.getControlHTML&&(v=o.getControlHTML(c))!='')return v;return'';},evalFunc:function(f,idx,a){var s='(',i;for(i=idx;i0)return true;if(ins!=null){for(i=0,l=ins.plugins;i0)return true;}}l=tinyMCE.themes;for(on in l){o=l[on];if(o[n]&&(v=tinyMCE.evalFunc(o[n],3,a))==s&&m>0)return true;}return false;},xmlEncode:function(s){s=""+s;s=s.replace(/&/g,'&');s=s.replace(new RegExp('"','g'),'"');s=s.replace(/\'/g,''');s=s.replace(//g,'>');return s;},extend:function(p,np){var o={};o.parent=p;for(n in p)o[n]=p[n];for(n in np)o[n]=np[n];return o;},hideMenus:function(){var e=tinyMCE.lastSelectedMenuBtn;if(tinyMCE.lastMenu){tinyMCE.lastMenu.hide();tinyMCE.lastMenu=null;}if(e){tinyMCE.switchClass(e,tinyMCE.lastMenuBtnClass);tinyMCE.lastSelectedMenuBtn=null;}},explode:function(d,s){var ar=s.split(d),oar=new Array(),i;for(i=0;i0){for(i=0;i1&&tinyMCE.currentConfig!=this.settings['index']){tinyMCE.settings=this.settings;tinyMCE.currentConfig=this.settings['index'];}},getBody:function(){return this.getDoc().body;},getDoc:function(){return this.contentWindow.document;},getWin:function(){return this.contentWindow;},addShortcut:function(m,k,d,cmd,ui,va){var n=typeof(k)=="number",ie=tinyMCE.isMSIE,c,sc,i;var scl=this.shortcuts;if(!tinyMCE.getParam('custom_shortcuts'))return false;m=m.toLowerCase();k=ie&&!n?k.toUpperCase():k;c=n?null:k.charCodeAt(0);d=d&&d.indexOf('lang_')==0?tinyMCE.getLang(d):d;sc={alt:m.indexOf('alt')!=-1,ctrl:m.indexOf('ctrl')!=-1,shift:m.indexOf('shift')!=-1,charCode:c,keyCode:n?k:(ie?c:null),desc:d,cmd:cmd,ui:ui,val:va};for(i=0;i0)rng.pasteHTML('
'+rng.htmlText+"
");tinyMCE.triggerNodeChange();return;}}}switch(command){case"mceRepaint":this.repaint();return true;case"InsertUnorderedList":case"InsertOrderedList":var tag=(command=="InsertUnorderedList")?"ul":"ol";if(tinyMCE.isSafari)this.execCommand("mceInsertContent",false,"<"+tag+">
  •  
  • <"+tag+">");else this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"Strikethrough":if(tinyMCE.isSafari)this.execCommand("mceInsertContent",false,""+this.selection.getSelectedHTML()+"");else this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"mceSelectNode":this.selection.selectNode(value);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=value;break;case"FormatBlock":if(value==null||value==""){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(tinyMCE.isGecko&&new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>','gi').test(value))value=value.replace(/[^a-z]/gi,'');if(tinyMCE.isMSIE&&new RegExp('blockquote|code|samp','gi').test(value)){var b=this.selection.getBookmark();this.getDoc().execCommand("FormatBlock",false,'

    ');tinyMCE.renameElement(tinyMCE.getParentBlockElement(this.getFocusElement()),value);this.selection.moveToBookmark(b);}else this.getDoc().execCommand("FormatBlock",false,value);}tinyMCE.triggerNodeChange();break;case"mceRemoveNode":if(!value)value=tinyMCE.getParentElement(this.getFocusElement());if(tinyMCE.isMSIE){value.outerHTML=value.innerHTML;}else{var rng=value.ownerDocument.createRange();rng.setStartBefore(value);rng.setEndAfter(value);rng.deleteContents();rng.insertNode(rng.createContextualFragment(value.innerHTML));}tinyMCE.triggerNodeChange();break;case"mceSelectNodeDepth":var parentNode=this.getFocusElement();for(var i=0;parentNode;i++){if(parentNode.nodeName.toLowerCase()=="body")break;if(parentNode.nodeName.toLowerCase()=="#text"){i--;parentNode=parentNode.parentNode;continue;}if(i==value){this.selection.selectNode(parentNode,false);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=parentNode;return;}parentNode=parentNode.parentNode;}break;case"SetStyleInfo":var rng=this.getRng();var sel=this.getSel();var scmd=value['command'];var sname=value['name'];var svalue=value['value']==null?'':value['value'];var wrapper=value['wrapper']?value['wrapper']:"span";var parentElm=null;var invalidRe=new RegExp("^BODY|HTML$","g");var invalidParentsRe=tinyMCE.settings['merge_styles_invalid_parents']!=''?new RegExp(tinyMCE.settings['merge_styles_invalid_parents'],"gi"):null;if(tinyMCE.isMSIE){if(rng.item)parentElm=rng.item(0);else{var pelm=rng.parentElement();var prng=doc.selection.createRange();prng.moveToElementText(pelm);if(rng.htmlText==prng.htmlText||rng.boundingWidth==0){if(invalidParentsRe==null||!invalidParentsRe.test(pelm.nodeName))parentElm=pelm;}}}else{var felm=this.getFocusElement();if(sel.isCollapsed||(new RegExp('td|tr|tbody|table','gi').test(felm.nodeName)&&sel.anchorNode==felm.parentNode))parentElm=felm;}if(parentElm&&!invalidRe.test(parentElm.nodeName)){if(scmd=="setstyle")tinyMCE.setStyleAttrib(parentElm,sname,svalue);if(scmd=="setattrib")tinyMCE.setAttrib(parentElm,sname,svalue);if(scmd=="removeformat"){parentElm.style.cssText='';tinyMCE.setAttrib(parentElm,'class','');}var ch=tinyMCE.getNodeTree(parentElm,new Array(),1);for(var z=0;z=0;i--){var elm=nodes[i];var isNew=tinyMCE.getAttrib(elm,"mce_new")=="true";elm.removeAttribute("mce_new");if(elm.childNodes&&elm.childNodes.length==1&&elm.childNodes[0].nodeType==1){this._mergeElements(scmd,elm,elm.childNodes[0],isNew);continue;}if(elm.parentNode.childNodes.length==1&&!invalidRe.test(elm.nodeName)&&!invalidRe.test(elm.parentNode.nodeName)){if(invalidParentsRe==null||!invalidParentsRe.test(elm.parentNode.nodeName))this._mergeElements(scmd,elm.parentNode,elm,false);}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isEmpty=true;var tmp=doc.createElement("body");tmp.appendChild(elm.cloneNode(false));tmp.innerHTML=tmp.innerHTML.replace(new RegExp('style=""|class=""','gi'),'');if(new RegExp('','gi').test(tmp.innerHTML)){for(var x=0;x0){value=tinyMCE.replaceVar(value,"selection",selectedText);tinyMCE.execCommand('mceInsertContent',false,value);}tinyMCE.triggerNodeChange();break;case"mceSetAttribute":if(typeof(value)=='object'){var targetElms=(typeof(value['targets'])=="undefined")?"p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address":value['targets'];var targetNode=tinyMCE.getParentElement(this.getFocusElement(),targetElms);if(targetNode){targetNode.setAttribute(value['name'],value['value']);tinyMCE.triggerNodeChange();}}break;case"mceSetCSSClass":this.execCommand("SetStyleInfo",false,{command:"setattrib",name:"class",value:value});break;case"mceInsertRawHTML":var key='tiny_mce_marker';this.execCommand('mceBeginUndoLevel');this.execCommand('mceInsertContent',false,key);var scrollX=this.getDoc().body.scrollLeft+this.getDoc().documentElement.scrollLeft;var scrollY=this.getDoc().body.scrollTop+this.getDoc().documentElement.scrollTop;var html=this.getBody().innerHTML;if((pos=html.indexOf(key))!=-1)tinyMCE.setInnerHTML(this.getBody(),html.substring(0,pos)+value+html.substring(pos+key.length));this.contentWindow.scrollTo(scrollX,scrollY);this.execCommand('mceEndUndoLevel');break;case"mceInsertContent":if(!value)value='';var insertHTMLFailed=false;this.getWin().focus();if(tinyMCE.isGecko||tinyMCE.isOpera){try{if(value.indexOf('<')==-1&&!value.match(/(&| |<|>)/g)){var r=this.getRng();var n=this.getDoc().createTextNode(tinyMCE.entityDecode(value));var s=this.getSel();var r2=r.cloneRange();s.removeAllRanges();r.deleteContents();r.insertNode(n);r2.selectNode(n);r2.collapse(false);s.removeAllRanges();s.addRange(r2);}else{value=tinyMCE.fixGeckoBaseHREFBug(1,this.getDoc(),value);this.getDoc().execCommand('inserthtml',false,value);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value);}}catch(ex){insertHTMLFailed=true;}if(!insertHTMLFailed){tinyMCE.triggerNodeChange();return;}}if(tinyMCE.isOpera&&insertHTMLFailed){this.getDoc().execCommand("insertimage",false,tinyMCE.uniqueURL);var ar=tinyMCE.getElementsByAttributeValue(this.getBody(),"img","src",tinyMCE.uniqueURL);ar[0].outerHTML=value;return;}if(!tinyMCE.isMSIE){var isHTML=value.indexOf('<')!=-1;var sel=this.getSel();var rng=this.getRng();if(isHTML){if(tinyMCE.isSafari){var tmpRng=this.getDoc().createRange();tmpRng.setStart(this.getBody(),0);tmpRng.setEnd(this.getBody(),0);value=tmpRng.createContextualFragment(value);}else value=rng.createContextualFragment(value);}else{var el=document.createElement("div");el.innerHTML=value;value=el.firstChild.nodeValue;value=doc.createTextNode(value);}if(tinyMCE.isSafari&&!isHTML){this.execCommand('InsertText',false,value.nodeValue);tinyMCE.triggerNodeChange();return true;}else if(tinyMCE.isSafari&&isHTML){rng.deleteContents();rng.insertNode(value);tinyMCE.triggerNodeChange();return true;}rng.deleteContents();if(rng.startContainer.nodeType==3){var node=rng.startContainer.splitText(rng.startOffset);node.parentNode.insertBefore(value,node);}else rng.insertNode(value);if(!isHTML){sel.selectAllChildren(doc.body);sel.removeAllRanges();var rng=doc.createRange();rng.selectNode(value);rng.collapse(false);sel.addRange(rng);}else rng.collapse(false);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value);}else{var rng=doc.selection.createRange();var c=value.indexOf('";}if(hc){cn=n.childNodes;for(i=0,l=cn.length;i';return h;},_serializeAttribute:function(n,r,an){var av='',t,os=this.settings.on_save;if(os&&(an.indexOf('mce_')==0||an.indexOf('_moz')==0))return'';if(os&&this.mceAttribs[an])av=this._getAttrib(n,this.mceAttribs[an]);if(av.length==0)av=this._getAttrib(n,an);if(av.length==0&&r.defaultAttribs&&(t=r.defaultAttribs[an])){av=t;if(av=="mce_empty")return" "+an+'=""';}if(r.forceAttribs&&(t=r.forceAttribs[an]))av=t;if(os&&av.length!=0&&this.settings.url_converter.length!=0&&/^(src|href|longdesc)$/.test(an))av=eval(this.settings.url_converter+'(this, n, av)');if(av.length!=0&&r.validAttribValues&&r.validAttribValues[an]&&!r.validAttribValues[an].test(av))return"";if(av.length!=0&&av=="{$uid}")av="uid_"+(this.idCount++);if(av.length!=0)return" "+an+"="+'"'+this.xmlEncode(av)+'"';return"";},formatHTML:function(h){var s=this.settings,p='',i=0,li=0,o='',l;h=h.replace(/\r/g,'');h='\n'+h;h=h.replace(new RegExp('\\n\\s+','gi'),'\n');h=h.replace(this.nlBeforeRe,'\n<$1$2>');h=h.replace(this.nlAfterRe,'<$1$2>\n');h=h.replace(this.nlBeforeAfterRe,'\n<$1$2$3>\n');h+='\n';while((i=h.indexOf('\n',i+1))!=-1){if((l=h.substring(li+1,i)).length!=0){if(this.ouRe.test(l)&&p.length>=s.indent_levels)p=p.substring(s.indent_levels);o+=p+l+'\n';if(this.inRe.test(l))p+=this.inStr;}li=i;}return o;},xmlEncode:function(s){var i,l,e,o='',c;this._setupEntities();switch(this.settings.entity_encoding){case"raw":return tinyMCE.xmlEncode(s);case"named":for(i=0,l=s.length;i127||c==60||c==62||c==38||c==39||c==34)o+='&#'+c+";";else o+=String.fromCharCode(c);}return o;}return s;},split:function(re,s){var c=s.split(re);var i,l,o=new Array();for(i=0,l=c.length;i/g,'>');h=h.replace(/]*)>\u00A0?<\/p>/gi,' 

    ');h=h.replace(/]*)>\s* \s*<\/p>/gi,' 

    ');h=h.replace(/]*)>\s+<\/p>/gi,' 

    ');e.innerHTML=tinyMCE.uniqueTag+h;e.firstChild.removeNode(true);nl=e.getElementsByTagName("p");for(i=nl.length-1;i>=0;i--){n=nl[i];if(n.nodeName=='P'&&!n.hasChildNodes()&&!n.mce_keep)n.parentNode.removeChild(n);}}else{h=this.fixGeckoBaseHREFBug(1,e,h);e.innerHTML=h;this.fixGeckoBaseHREFBug(2,e,h);}};TinyMCE_Engine.prototype.getOuterHTML=function(e){if(tinyMCE.isMSIE)return e.outerHTML;var d=e.ownerDocument.createElement("body");d.appendChild(e);return d.innerHTML;};TinyMCE_Engine.prototype.setOuterHTML=function(e,h){if(tinyMCE.isMSIE){e.outerHTML=h;return;}var d=e.ownerDocument.createElement("body");d.innerHTML=h;e.parentNode.replaceChild(d.firstChild,e);};TinyMCE_Engine.prototype._getElementById=function(id,d){var e,i,j,f;if(typeof(d)=="undefined")d=document;e=d.getElementById(id);if(!e){f=d.forms;for(i=0;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=strTok2.length){for(var i=0;i=strTok2.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break;}}}if(strTok1.length=strTok1.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break;}}}if(breakPoint==1)return targetURL.path;for(var i=0;i<(strTok1.length-(breakPoint-1));i++)outPath+="../";for(var i=breakPoint-1;i=0;i--){if(baseURLParts[i].length==0)continue;newBaseURLParts[newBaseURLParts.length]=baseURLParts[i];}baseURLParts=newBaseURLParts.reverse();var newRelURLParts=new Array();var numBack=0;for(var i=relURLParts.length-1;i>=0;i--){if(relURLParts[i].length==0||relURLParts[i]==".")continue;if(relURLParts[i]=='..'){numBack++;continue;}if(numBack>0){numBack--;continue;}newRelURLParts[newRelURLParts.length]=relURLParts[i];}relURLParts=newRelURLParts.reverse();var len=baseURLParts.length-numBack;var absPath=(len<=0?"":"/")+baseURLParts.slice(0,len).join('/')+"/"+relURLParts.join('/');var start="",end="";relURL.protocol=baseURL.protocol;relURL.host=baseURL.host;relURL.port=baseURL.port;if(relURL.path.charAt(relURL.path.length-1)=="/")absPath+="/";relURL.path=absPath;return this.serializeURL(relURL);};TinyMCE_Engine.prototype.convertURL=function(url,node,on_save){var prot=document.location.protocol;var host=document.location.hostname;var port=document.location.port;if(prot=="file:")return url;url=tinyMCE.regexpReplace(url,'(http|https):///','/');if(url.indexOf('mailto:')!=-1||url.indexOf('javascript:')!=-1||tinyMCE.regexpReplace(url,'[ \t\r\n\+]|%20','').charAt(0)=="#")return url;if(!tinyMCE.isMSIE&&!on_save&&url.indexOf("://")==-1&&url.charAt(0)!='/')return tinyMCE.settings['base_href']+url;if(on_save&&tinyMCE.getParam('relative_urls')){var curl=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(curl.charAt(0)=='/')curl=tinyMCE.settings['document_base_prefix']+curl;var urlParts=tinyMCE.parseURL(curl);var tmpUrlParts=tinyMCE.parseURL(tinyMCE.settings['document_base_url']);if(urlParts['host']==tmpUrlParts['host']&&(urlParts['port']==tmpUrlParts['port']))return tinyMCE.convertAbsoluteURLToRelativeURL(tinyMCE.settings['document_base_url'],curl);}if(!tinyMCE.getParam('relative_urls')){var urlParts=tinyMCE.parseURL(url);var baseUrlParts=tinyMCE.parseURL(tinyMCE.settings['base_href']);url=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(urlParts['anchor']&&urlParts['path']==baseUrlParts['path'])return"#"+urlParts['anchor'];}if(tinyMCE.getParam('remove_script_host')){var start="",portPart="";if(port!="")portPart=":"+port;start=prot+"//"+host+portPart+"/";if(url.indexOf(start)==0)url=url.substring(start.length-1);}return url;};TinyMCE_Engine.prototype.convertAllRelativeURLs=function(body){var elms=body.getElementsByTagName("img");for(var i=0;ibookmark.index){try{rng.addElement(nl[bookmark.index]);}catch(ex){}}}else{rng=inst.getSel().createRange();rng.moveToElementText(inst.getBody());rng.collapse(true);rng.moveStart('character',bookmark.start);rng.moveEnd('character',bookmark.length);}rng.select();win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true;}if(tinyMCE.isGecko&&bookmark.rng){sel.removeAllRanges();sel.addRange(bookmark.rng);win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true;}if(tinyMCE.isGecko){rng=doc.createRange();nl=doc.getElementsByTagName(bookmark.startTag);if(nl.length>bookmark.start)rng.setStart(nl[bookmark.start].childNodes[bookmark.startIndex],bookmark.startOffset);nl=doc.getElementsByTagName(bookmark.endTag);if(nl.length>bookmark.end)rng.setEnd(nl[bookmark.end].childNodes[bookmark.endIndex],bookmark.endOffset);sel.removeAllRanges();sel.addRange(rng);win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true;}return false;},selectNode:function(node,collapse,select_text_node,to_start){var inst=this.instance,sel,rng,nodes;if(!node)return;if(typeof(collapse)=="undefined")collapse=true;if(typeof(select_text_node)=="undefined")select_text_node=false;if(typeof(to_start)=="undefined")to_start=true;if(tinyMCE.isMSIE){rng=inst.getBody().createTextRange();try{rng.moveToElementText(node);if(collapse)rng.collapse(to_start);rng.select();}catch(e){}}else{sel=this.getSel();if(!sel)return;if(tinyMCE.isSafari){sel.setBaseAndExtent(node,0,node,node.innerText.length);if(collapse){if(to_start)sel.collapseToStart();else sel.collapseToEnd();}this.scrollToNode(node);return;}rng=inst.getDoc().createRange();if(select_text_node){nodes=tinyMCE.getNodeTree(node,new Array(),3);if(nodes.length>0)rng.selectNodeContents(nodes[0]);else rng.selectNodeContents(node);}else rng.selectNode(node);if(collapse){if(!to_start&&node.nodeType==3){rng.setStart(node,node.nodeValue.length);rng.setEnd(node,node.nodeValue.length);}else rng.collapse(to_start);}sel.removeAllRanges();sel.addRange(rng);}this.scrollToNode(node);tinyMCE.selectedElement=null;if(node.nodeType==1)tinyMCE.selectedElement=node;},scrollToNode:function(node){var inst=this.instance;var pos,doc,scrollX,scrollY,height;pos=tinyMCE.getAbsPosition(node);doc=inst.getDoc();scrollX=doc.body.scrollLeft+doc.documentElement.scrollLeft;scrollY=doc.body.scrollTop+doc.documentElement.scrollTop;height=tinyMCE.isMSIE?document.getElementById(inst.editorId).style.pixelHeight:inst.targetElement.clientHeight;if(!tinyMCE.settings['auto_resize']&&!(pos.absTop>scrollY&&pos.absTop<(scrollY-25+height)))inst.contentWindow.scrollTo(pos.absLeft,pos.absTop-height+25);},getSel:function(){var inst=this.instance;if(tinyMCE.isMSIE&&!tinyMCE.isOpera)return inst.getDoc().selection;return inst.contentWindow.getSelection();},getRng:function(){var inst=this.instance;var sel=this.getSel();if(sel==null)return null;if(tinyMCE.isMSIE&&!tinyMCE.isOpera)return sel.createRange();if(tinyMCE.isSafari&&!sel.getRangeAt)return''+window.getSelection();return sel.getRangeAt(0);},getFocusElement:function(){var inst=this.instance;if(tinyMCE.isMSIE&&!tinyMCE.isOpera){var doc=inst.getDoc();var rng=doc.selection.createRange();var elm=rng.item?rng.item(0):rng.parentElement();}else{if(inst.isHidden())return inst.getBody();var sel=this.getSel();var rng=this.getRng();if(!sel||!rng)return null;var elm=rng.commonAncestorContainer;if(!rng.collapsed){if(rng.startContainer==rng.endContainer){if(rng.startOffset-rng.endOffset<2){if(rng.startContainer.hasChildNodes())elm=rng.startContainer.childNodes[rng.startOffset];}}}elm=tinyMCE.getParentElement(elm);}return elm;}};function TinyMCE_UndoRedo(inst){this.instance=inst;this.undoLevels=new Array();this.undoIndex=0;this.typingUndoIndex=-1;this.undoRedo=true;};TinyMCE_UndoRedo.prototype={add:function(l){var b;if(l){this.undoLevels[this.undoLevels.length]=l;return true;}var inst=this.instance;if(this.typingUndoIndex!=-1){this.undoIndex=this.typingUndoIndex;}var newHTML=tinyMCE.trim(inst.getBody().innerHTML);if(this.undoLevels[this.undoIndex]&&newHTML!=this.undoLevels[this.undoIndex].content){tinyMCE.dispatchCallback(inst,'onchange_callback','onChange',inst);var customUndoLevels=tinyMCE.settings['custom_undo_redo_levels'];if(customUndoLevels!=-1&&this.undoLevels.length>customUndoLevels){for(var i=0;i0){this.undoIndex--;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst.settings.custom_undo_redo_restore_selection)inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark);}},redo:function(){var inst=this.instance;tinyMCE.execCommand("mceEndTyping");if(this.undoIndex<(this.undoLevels.length-1)){this.undoIndex++;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst.settings.custom_undo_redo_restore_selection)inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark);}tinyMCE.triggerNodeChange();}};var TinyMCE_ForceParagraphs={_insertPara:function(inst,e){function isEmpty(para){function isEmptyHTML(html){return html.replace(new RegExp('[ \t\r\n]+','g'),'').toLowerCase()=="";}if(para.getElementsByTagName("img").length>0)return false;if(para.getElementsByTagName("table").length>0)return false;if(para.getElementsByTagName("hr").length>0)return false;var nodes=tinyMCE.getNodeTree(para,new Array(),3);for(var i=0;i <"+blockName+"> ";paraAfter=body.childNodes[1];}inst.selection.selectNode(paraAfter,true,true);return true;}if(startChop.nodeName==blockName)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);rngBefore.setEnd(startNode,startOffset);paraBefore.appendChild(rngBefore.cloneContents());rngAfter.setEndAfter(endChop);rngAfter.setStart(endNode,endOffset);var contents=rngAfter.cloneContents();if(contents.firstChild&&contents.firstChild.nodeName==blockName){paraAfter.innerHTML=contents.firstChild.innerHTML;}else paraAfter.appendChild(contents);if(isEmpty(paraBefore))paraBefore.innerHTML=" ";if(isEmpty(paraAfter))paraAfter.innerHTML=" ";var rng=doc.createRange();if(!startChop.previousSibling&&startChop.parentNode.nodeName.toUpperCase()==blockName){rng.setStartBefore(startChop.parentNode);}else{if(rngBefore.startContainer.nodeName.toUpperCase()==blockName&&rngBefore.startOffset==0)rng.setStartBefore(rngBefore.startContainer);else rng.setStart(rngBefore.startContainer,rngBefore.startOffset);}if(!endChop.nextSibling&&endChop.parentNode.nodeName.toUpperCase()==blockName)rng.setEndAfter(endChop.parentNode);else rng.setEnd(rngAfter.endContainer,rngAfter.endOffset);rng.deleteContents();rng.insertNode(paraAfter);rng.insertNode(paraBefore);paraAfter.normalize();paraBefore.normalize();inst.selection.selectNode(paraAfter,true,true);return true;},_handleBackSpace:function(inst){var r=inst.getRng(),sn=r.startContainer,nv,s=false;if(sn&&sn.nextSibling&&sn.nextSibling.nodeName=="BR"){nv=sn.nodeValue;if(nv!=null&&nv.length>=r.startOffset&&nv.charAt(r.startOffset-1)==' ')s=true;if(nv!=null&&r.startOffset==nv.length)sn.nextSibling.parentNode.removeChild(sn.nextSibling);}return s;}};function TinyMCE_Layer(id,bm){this.id=id;this.blockerElement=null;this.events=false;this.element=null;this.blockMode=typeof(bm)!='undefined'?bm:true;this.doc=document;};TinyMCE_Layer.prototype={moveRelativeTo:function(re,p){var rep=this.getAbsPosition(re);var w=parseInt(re.offsetWidth);var h=parseInt(re.offsetHeight);var e=this.getElement();var ew=parseInt(e.offsetWidth);var eh=parseInt(e.offsetHeight);var x,y;switch(p){case"tl":x=rep.absLeft;y=rep.absTop;break;case"tr":x=rep.absLeft+w;y=rep.absTop;break;case"bl":x=rep.absLeft;y=rep.absTop+h;break;case"br":x=rep.absLeft+w;y=rep.absTop+h;break;case"cc":x=rep.absLeft+(w/2)-(ew/2);y=rep.absTop+(h/2)-(eh/2);break;}this.moveTo(x,y);},moveBy:function(x,y){var e=this.getElement();this.moveTo(parseInt(e.style.left)+x,parseInt(e.style.top)+y);},moveTo:function(x,y){var e=this.getElement();e.style.left=x+"px";e.style.top=y+"px";this.updateBlocker();},resizeBy:function(w,h){var e=this.getElement();this.resizeTo(parseInt(e.style.width)+w,parseInt(e.style.height)+h);},resizeTo:function(w,h){var e=this.getElement();if(w!=null)e.style.width=w+"px";if(h!=null)e.style.height=h+"px";this.updateBlocker();},show:function(){this.getElement().style.display='block';this.updateBlocker();},hide:function(){this.getElement().style.display='none';this.updateBlocker();},isVisible:function(){return this.getElement().style.display=='block';},getElement:function(){if(!this.element)this.element=this.doc.getElementById(this.id);return this.element;},setBlockMode:function(s){this.blockMode=s;},updateBlocker:function(){var e,b,x,y,w,h;b=this.getBlocker();if(b){if(this.blockMode){e=this.getElement();x=this.parseInt(e.style.left);y=this.parseInt(e.style.top);w=this.parseInt(e.offsetWidth);h=this.parseInt(e.offsetHeight);b.style.left=x+'px';b.style.top=y+'px';b.style.width=w+'px';b.style.height=h+'px';b.style.display=e.style.display;}else b.style.display='none';}},getBlocker:function(){var d,b;if(!this.blockerElement&&this.blockMode){d=this.doc;b=d.createElement("iframe");b.style.cssText='display: none; position: absolute; left: 0; top: 0';b.src='javascript:false;';b.frameBorder='0';b.scrolling='no';d.body.appendChild(b);this.blockerElement=b;}return this.blockerElement;},getAbsPosition:function(n){var p={absLeft:0,absTop:0};while(n){p.absLeft+=n.offsetLeft;p.absTop+=n.offsetTop;n=n.offsetParent;}return p;},create:function(n,c,p){var d=this.doc,e=d.createElement(n);e.setAttribute('id',this.id);if(c)e.className=c;if(!p)p=d.body;p.appendChild(e);return this.element=e;},parseInt:function(s){if(s==null||s=='')return 0;return parseInt(s);}};function TinyMCE_Menu(){var id;if(typeof(tinyMCE.menuCounter)=="undefined")tinyMCE.menuCounter=0;id="mc_menu_"+tinyMCE.menuCounter++;TinyMCE_Layer.call(this,id,true);this.id=id;this.items=new Array();this.needsUpdate=true;};TinyMCE_Menu.prototype=tinyMCE.extend(TinyMCE_Layer.prototype,{init:function(s){var n;this.settings={separator_class:'mceMenuSeparator',title_class:'mceMenuTitle',disabled_class:'mceMenuDisabled',menu_class:'mceMenu',drop_menu:true};for(n in s)this.settings[n]=s[n];this.create('div',this.settings.menu_class);},clear:function(){this.items=new Array();},addTitle:function(t){this.add({type:'title',text:t});},addDisabled:function(t){this.add({type:'disabled',text:t});},addSeparator:function(){this.add({type:'separator'});},addItem:function(t,js){this.add({text:t,js:js});},add:function(mi){this.items[this.items.length]=mi;this.needsUpdate=true;},update:function(){var e=this.getElement(),h='',i,t,m=this.items,s=this.settings;if(this.settings.drop_menu)h+='';h+='';for(i=0;i';}h+='
    ';break;case'title':h+='
    '+t+'';break;case'disabled':h+='
    '+t+'';break;default:h+='
    '+t+'';}h+='
    ';e.innerHTML=h;this.needsUpdate=false;this.updateBlocker();},show:function(){var nl,i;if(tinyMCE.lastMenu==this)return;if(this.needsUpdate)this.update();if(tinyMCE.lastMenu&&tinyMCE.lastMenu!=this)tinyMCE.lastMenu.hide();TinyMCE_Layer.prototype.show.call(this);if(!tinyMCE.isOpera){}tinyMCE.lastMenu=this;}});TinyMCE_Engine.prototype.debug=function(){var m="",e,a,i;e=document.getElementById("tinymce_debug");if(!e){var d=document.createElement("div");d.setAttribute("className","debugger");d.className="debugger";d.innerHTML='Debug output:';document.body.appendChild(d);e=document.getElementById("tinymce_debug");}a=this.debug.arguments;for(i=0;i'); + + tinyMCE.addEvent(window, "load", this.onLoad); +}; + + +TinyMCE_Popup.prototype.onLoad = function() { + var dir, i, elms, body = document.body; + + if (tinyMCE.getWindowArg('mce_replacevariables', true)) + body.innerHTML = tinyMCE.applyTemplate(body.innerHTML, tinyMCE.windowArgs); + + dir = tinyMCE.selectedInstance.settings['directionality']; + if (dir == "rtl" && document.forms && document.forms.length > 0) { + elms = document.forms[0].elements; + for (i=0; i=0; i--) { + if (wrapper.hasChildNodes()) + wrapper.insertBefore(nodes[i].cloneNode(true), wrapper.firstChild); + else + wrapper.appendChild(nodes[i].cloneNode(true)); + + nodes[i].parentNode.removeChild(nodes[i]); + } + + // Add wrapper + doc.body.appendChild(wrapper); + + // Create iframe + iframe = document.createElement("iframe"); + iframe.id = "mcWinIframe"; + iframe.src = document.location.href.toLowerCase().indexOf('https') == -1 ? "about:blank" : tinyMCE.settings['default_document']; + iframe.width = "100%"; + iframe.height = "100%"; + iframe.style.margin = '0'; + + // Add iframe + doc.body.appendChild(iframe); + + // Measure iframe + iframe = document.getElementById('mcWinIframe'); + dx = tinyMCE.getWindowArg('mce_width') - iframe.clientWidth; + dy = tinyMCE.getWindowArg('mce_height') - iframe.clientHeight; + + // Resize window + // tinyMCE.debug(tinyMCE.getWindowArg('mce_width') + "," + tinyMCE.getWindowArg('mce_height') + " - " + dx + "," + dy); + window.resizeBy(dx, dy); + + // Hide iframe and show wrapper + body.style.margin = oldMargin; + iframe.style.display = 'none'; + wrapper.style.display = 'block'; + } +}; + + +TinyMCE_Popup.prototype.resizeToContent = function() { + var isMSIE = (navigator.appName == "Microsoft Internet Explorer"); + var isOpera = (navigator.userAgent.indexOf("Opera") != -1); + + if (isOpera) + return; + + if (isMSIE) { + try { window.resizeTo(10, 10); } catch (e) {} + + var elm = document.body; + var width = elm.offsetWidth; + var height = elm.offsetHeight; + var dx = (elm.scrollWidth - width) + 4; + var dy = elm.scrollHeight - height; + + try { window.resizeBy(dx, dy); } catch (e) {} + } else { + window.scrollBy(1000, 1000); + if (window.scrollX > 0 || window.scrollY > 0) { + window.resizeBy(window.innerWidth * 2, window.innerHeight * 2); + window.sizeToContent(); + window.scrollTo(0, 0); + var x = parseInt(screen.width / 2.0) - (window.outerWidth / 2.0); + var y = parseInt(screen.height / 2.0) - (window.outerHeight / 2.0); + window.moveTo(x, y); + } + } +}; + + +TinyMCE_Popup.prototype.getWindowArg = function(name, default_value) { + return tinyMCE.getWindowArg(name, default_value); +}; + + +TinyMCE_Popup.prototype.restoreSelection = function() { + if (this.storeSelection) { + var inst = tinyMCE.selectedInstance; + + inst.getWin().focus(); + + if (inst.selectionBookmark) + inst.selection.moveToBookmark(inst.selectionBookmark); + } +}; + + +TinyMCE_Popup.prototype.execCommand = function(command, user_interface, value) { + var inst = tinyMCE.selectedInstance; + + this.restoreSelection(); + inst.execCommand(command, user_interface, value); + + // Store selection + if (this.storeSelection) + inst.selectionBookmark = inst.selection.getBookmark(true); +}; + + +TinyMCE_Popup.prototype.close = function() { + tinyMCE.closeWindow(window); +}; + + +TinyMCE_Popup.prototype.pickColor = function(e, element_id) { + tinyMCE.selectedInstance.execCommand('mceColorPicker', true, { + element_id : element_id, + document : document, + window : window, + store_selection : false + }); +}; + + +TinyMCE_Popup.prototype.openBrowser = function(element_id, type, option) { + var cb = tinyMCE.getParam(option, tinyMCE.getParam("file_browser_callback")); + var url = document.getElementById(element_id).value; + + tinyMCE.setWindowArg("window", window); + tinyMCE.setWindowArg("document", document); + + // Call to external callback + if (eval('typeof(tinyMCEPopup.windowOpener.' + cb + ')') == "undefined") + alert("Callback function: " + cb + " could not be found."); + else + 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(); + +tinyMCEPopup.init(); diff --git a/phpgwapi/js/tiny_mce/tiny_mce_src.js b/phpgwapi/js/tiny_mce/tiny_mce_src.js new file mode 100644 index 0000000000..710a8b67f8 --- /dev/null +++ b/phpgwapi/js/tiny_mce/tiny_mce_src.js @@ -0,0 +1,6719 @@ + +/* file:jscripts/tiny_mce/classes/TinyMCE_Engine.class.js */ + +function TinyMCE_Engine() { + this.majorVersion = "2"; + 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(); + + // Browser check + var ua = navigator.userAgent; + this.isMSIE = (navigator.appName == "Microsoft Internet Explorer"); + this.isMSIE5 = this.isMSIE && (ua.indexOf('MSIE 5') != -1); + this.isMSIE5_0 = this.isMSIE && (ua.indexOf('MSIE 5.0') != -1); + this.isGecko = ua.indexOf('Gecko') != -1; + this.isSafari = ua.indexOf('Safari') != -1; + this.isOpera = ua.indexOf('Opera') != -1; + this.isMac = ua.indexOf('Mac') != -1; + this.isNS7 = ua.indexOf('Netscape/7') != -1; + this.isNS71 = ua.indexOf('Netscape/7.1') != -1; + this.dialogCounter = 0; + this.plugins = new Array(); + this.themes = new Array(); + this.menus = new Array(); + this.loadedPlugins = new Array(); + this.buttonMap = new Array(); + this.isLoaded = false; + + // Fake MSIE on Opera and if Opera fakes IE, Gecko or Safari cancel those + if (this.isOpera) { + this.isMSIE = true; + this.isGecko = false; + this.isSafari = false; + } + + // TinyMCE editor id instance counter + this.idCounter = 0; +}; + +TinyMCE_Engine.prototype = { + init : function(settings) { + var theme; + + this.settings = settings; + + // Check if valid browser has execcommand support + if (typeof(document.execCommand) == 'undefined') + return; + + // Get script base path + if (!tinyMCE.baseURL) { + var elements = document.getElementsByTagName('script'); + + for (var i=0; i'); + this._def("font_size_classes", ''); + this._def("font_size_style_values", 'xx-small,x-small,small,medium,large,x-large,xx-large', true); + this._def("event_elements", 'a,img', true); + this._def("convert_urls", true); + this._def("table_inline_editing", false); + this._def("object_resizing", true); + this._def("custom_shortcuts", true); + this._def("convert_on_click", false); + 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) + return; + + // Browser check Gecko + if (this.isGecko && this.settings['browsers'].indexOf('gecko') == -1) + return; + + // Browser check Safari + if (this.isSafari && this.settings['browsers'].indexOf('safari') == -1) + return; + + // Browser check Opera + if (this.isOpera && this.settings['browsers'].indexOf('opera') == -1) + return; + + // If not super absolute make it so + var baseHREF = tinyMCE.settings['document_base_url']; + var h = document.location.href; + var p = h.indexOf('://'); + if (p > 0 && document.location.protocol != "file:") { + p = h.indexOf('/', p + 3); + h = h.substring(0, p); + + if (baseHREF.indexOf('://') == -1) + baseHREF = h + baseHREF; + + tinyMCE.settings['document_base_url'] = baseHREF; + tinyMCE.settings['document_base_prefix'] = h; + } + + // Trim away query part + if (baseHREF.indexOf('?') != -1) + baseHREF = baseHREF.substring(0, baseHREF.indexOf('?')); + + 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|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 = 'javascript:TINYMCE_UNIQUEURL();'; // Make unique URL non real URL + this.uniqueTag = ''; + this.callbacks = new Array('onInit', 'getInfo', 'getEditorTemplate', 'setupContent', 'onChange', 'onPageLoad', 'handleNodeChange', 'initInstance', 'execCommand', 'getControlHTML', 'handleEvent', 'cleanup'); + + // Theme url + this.settings['theme_href'] = tinyMCE.baseURL + "/themes/" + theme; + + if (!tinyMCE.isMSIE) + this.settings['force_br_newlines'] = false; + + if (tinyMCE.getParam("popups_css", false)) { + var cssPath = tinyMCE.getParam("popups_css", ""); + + // Is relative + if (cssPath.indexOf('://') == -1 && cssPath.charAt(0) != '/') + this.settings['popups_css'] = this.documentBasePath + "/" + cssPath; + else + this.settings['popups_css'] = cssPath; + } else + this.settings['popups_css'] = tinyMCE.baseURL + "/themes/" + theme + "/css/editor_popup.css"; + + if (tinyMCE.getParam("editor_css", false)) { + var cssPath = tinyMCE.getParam("editor_css", ""); + + // Is relative + if (cssPath.indexOf('://') == -1 && cssPath.charAt(0) != '/') + this.settings['editor_css'] = this.documentBasePath + "/" + cssPath; + else + this.settings['editor_css'] = cssPath; + } else + this.settings['editor_css'] = tinyMCE.baseURL + "/themes/" + theme + "/css/editor_ui.css"; + + if (tinyMCE.settings['debug']) { + var msg = "Debug: \n"; + + msg += "baseURL: " + this.baseURL + "\n"; + msg += "documentBasePath: " + this.documentBasePath + "\n"; + msg += "content_css: " + this.settings['content_css'] + "\n"; + msg += "popups_css: " + this.settings['popups_css'] + "\n"; + msg += "editor_css: " + this.settings['editor_css'] + "\n"; + + alert(msg); + } + + // Only do this once + if (this.configs.length == 0) { + // Is Safari enabled + if (this.isSafari && this.getParam('safari_warning', false)) + alert("Safari support is very limited and should be considered experimental.\nSo there is no need to even submit bugreports on this early version.\nYou can disable this message by setting: safari_warning option to false"); + + if (typeof(TinyMCECompressed) == "undefined") { + tinyMCE.addEvent(window, "DOMContentLoaded", TinyMCE_Engine.prototype.onLoad); + + if (tinyMCE.isMSIE && !tinyMCE.isOpera) { + if (document.body) + tinyMCE.addEvent(document.body, "readystatechange", TinyMCE_Engine.prototype.onLoad); + else + tinyMCE.addEvent(document, "readystatechange", TinyMCE_Engine.prototype.onLoad); + } + + tinyMCE.addEvent(window, "load", TinyMCE_Engine.prototype.onLoad); + tinyMCE._addUnloadEvents(); + } + } + + this.loadScript(tinyMCE.baseURL + '/themes/' + this.settings['theme'] + '/editor_template' + tinyMCE.srcMode + '.js'); + this.loadScript(tinyMCE.baseURL + '/langs/' + this.settings['language'] + '.js'); + this.loadCSS(this.settings['editor_css']); + + // Add plugins + var p = tinyMCE.getParam('plugins', '', true, ','); + if (p.length > 0) { + for (var i=0; i'); + + 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, nl, le; + + for (x = 0,csslen = ar.length; x 0) { + /* Make sure it doesn't exist. */ + for (i=0, lflen=this.loadedFiles.length; i'); + + this.loadedFiles[this.loadedFiles.length] = ar[x]; + } + } + } + }, + + importCSS : function(doc, css) { + var css_ary = css.replace(/\s+/, '').split(','); + var csslen, elm, headArr, x, css_file; + + for (x = 0, csslen = css_ary.length; x 0) { + // Is relative, make absolute + if (css_file.indexOf('://') == -1 && css_file.charAt(0) != '/') + css_file = this.documentBasePath + "/" + css_file; + + if (typeof(doc.createStyleSheet) == "undefined") { + elm = doc.createElement("link"); + + elm.rel = "stylesheet"; + elm.href = css_file; + + if ((headArr = doc.getElementsByTagName("head")) != null && headArr.length > 0) + headArr[0].appendChild(elm); + } else + doc.createStyleSheet(css_file); + } + } + }, + + confirmAdd : function(e, settings) { + var elm = tinyMCE.isMSIE ? event.srcElement : e.target; + var elementId = elm.name ? elm.name : elm.id; + + tinyMCE.settings = settings; + + if (tinyMCE.settings['convert_on_click'] || (!elm.getAttribute('mce_noask') && confirm(tinyMCELang['lang_edit_confirm']))) + tinyMCE.addMCEControl(elm, elementId); + + elm.setAttribute('mce_noask', 'true'); + }, + + updateContent : function(form_element_name) { + // Find MCE instance linked to given form element and copy it's value + var formElement = document.getElementById(form_element_name); + for (var n in tinyMCE.instances) { + var inst = tinyMCE.instances[n]; + if (!tinyMCE.isInstance(inst)) + continue; + + inst.switchSettings(); + + if (inst.formElement == formElement) { + var doc = inst.getDoc(); + + tinyMCE._setHTML(doc, inst.formElement.value); + + if (!tinyMCE.isMSIE) + doc.body.innerHTML = tinyMCE._cleanupHTML(inst, doc, this.settings, doc.body, inst.visualAid); + } + } + }, + + addMCEControl : function(replace_element, form_element_name, target_document) { + var id = "mce_editor_" + tinyMCE.idCounter++; + var inst = new TinyMCE_Control(tinyMCE.settings); + + inst.editorId = id; + this.instances[id] = inst; + + inst._onAdd(replace_element, form_element_name, target_document); + }, + + removeMCEControl : function(editor_id) { + var inst = tinyMCE.getInstanceById(editor_id); + + if (inst) { + inst.switchSettings(); + + editor_id = inst.editorId; + var html = tinyMCE.getContent(editor_id); + + // Remove editor instance from instances array + var tmpInstances = new Array(); + for (var instanceName in tinyMCE.instances) { + var instance = tinyMCE.instances[instanceName]; + if (!tinyMCE.isInstance(instance)) + continue; + + if (instanceName != editor_id) + tmpInstances[instanceName] = instance; + } + tinyMCE.instances = tmpInstances; + + tinyMCE.selectedElement = null; + tinyMCE.selectedInstance = null; + + // Remove element + var replaceElement = document.getElementById(editor_id + "_parent"); + var oldTargetElement = inst.oldTargetElement; + var targetName = oldTargetElement.nodeName.toLowerCase(); + + if (targetName == "textarea" || targetName == "input") { + // Just show the old text area + replaceElement.parentNode.removeChild(replaceElement); + oldTargetElement.style.display = "inline"; + oldTargetElement.value = html; + } else { + oldTargetElement.innerHTML = html; + oldTargetElement.style.display = 'block'; + + replaceElement.parentNode.insertBefore(oldTargetElement, replaceElement); + replaceElement.parentNode.removeChild(replaceElement); + } + } + }, + + triggerSave : function(skip_cleanup, skip_callback) { + var inst, n; + + // Default to false + if (typeof(skip_cleanup) == "undefined") + skip_cleanup = false; + + // Default to false + if (typeof(skip_callback) == "undefined") + skip_callback = false; + + // Cleanup and set all form fields + for (n in tinyMCE.instances) { + inst = tinyMCE.instances[n]; + + if (!tinyMCE.isInstance(inst)) + continue; + + inst.triggerSave(skip_cleanup, skip_callback); + } + }, + + resetForm : function(form_index) { + var i, inst, n, formObj = document.forms[form_index]; + + for (n in tinyMCE.instances) { + inst = tinyMCE.instances[n]; + + if (!tinyMCE.isInstance(inst)) + continue; + + inst.switchSettings(); + + for (i=0; i'); + content = content.replace(/"/g, '"'); + content = content.replace(/&/g, '&'); + } + + inst.switchSettings(); + + // Not loaded correctly hit it again, Mozilla bug #997860 + if (!tinyMCE.isMSIE && tinyMCE.getParam("setupcontent_reload", false) && doc.title != "blank_page") { + // This part will remove the designMode status + // Failes first time in Firefox 1.5b2 on Mac + try {doc.location.href = tinyMCE.baseURL + "/blank.htm";} catch (ex) {} + window.setTimeout("tinyMCE.setupContent('" + editor_id + "');", 1000); + return; + } + + if (!head) { + window.setTimeout("tinyMCE.setupContent('" + editor_id + "');", 10); + return; + } + + // Import theme specific content CSS the user specific + tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/themes/" + inst.settings['theme'] + "/css/editor_content.css"); + tinyMCE.importCSS(inst.getDoc(), inst.settings['content_css']); + tinyMCE.dispatchCallback(inst, 'init_instance_callback', 'initInstance', inst); + + // Setup keyboard shortcuts + if (tinyMCE.getParam('custom_undo_redo_keyboard_shortcuts')) { + inst.addShortcut('ctrl', 'z', 'lang_undo_desc', 'Undo'); + inst.addShortcut('ctrl', 'y', 'lang_redo_desc', 'Redo'); + } + + // Add default shortcuts for gecko + if (tinyMCE.isGecko) { + inst.addShortcut('ctrl', 'b', 'lang_bold_desc', 'Bold'); + inst.addShortcut('ctrl', 'i', 'lang_italic_desc', 'Italic'); + inst.addShortcut('ctrl', 'u', 'lang_underline_desc', 'Underline'); + } + + // Setup span styles + if (tinyMCE.getParam("convert_fonts_to_spans")) + inst.getDoc().body.setAttribute('id', 'mceSpanFonts'); + + if (tinyMCE.settings['nowrap']) + doc.body.style.whiteSpace = "nowrap"; + + doc.body.dir = this.settings['directionality']; + doc.editorId = editor_id; + + // Add on document element in Mozilla + if (!tinyMCE.isMSIE) + doc.documentElement.editorId = editor_id; + + inst.setBaseHREF(tinyMCE.settings['base_href']); + + // Replace new line characters to BRs + if (tinyMCE.settings['convert_newlines_to_brs']) { + content = tinyMCE.regexpReplace(content, "\r\n", "
    ", "gi"); + content = tinyMCE.regexpReplace(content, "\r", "
    ", "gi"); + content = tinyMCE.regexpReplace(content, "\n", "
    ", "gi"); + } + + // Open closed anchors + // content = content.replace(new RegExp('', 'gi'), ''); + + // Call custom cleanup code + content = tinyMCE.storeAwayURLs(content); + content = tinyMCE._customCleanup(inst, "insert_to_editor", content); + + if (tinyMCE.isMSIE) { + // Ugly!!! + window.setInterval('try{tinyMCE.getCSSClasses(tinyMCE.instances["' + editor_id + '"].getDoc(), "' + editor_id + '");}catch(e){}', 500); + + if (tinyMCE.settings["force_br_newlines"]) + doc.styleSheets[0].addRule("p", "margin: 0;"); + + var body = inst.getBody(); + body.editorId = editor_id; + } + + content = tinyMCE.cleanupHTMLCode(content); + + // Fix for bug #958637 + if (!tinyMCE.isMSIE) { + var contentElement = inst.getDoc().createElement("body"); + var doc = inst.getDoc(); + + contentElement.innerHTML = content; + + // Remove weridness! + if (tinyMCE.isGecko && tinyMCE.settings['remove_lt_gt']) + content = content.replace(new RegExp('<>', 'g'), ""); + + if (tinyMCE.settings['cleanup_on_startup']) + tinyMCE.setInnerHTML(inst.getBody(), tinyMCE._cleanupHTML(inst, doc, this.settings, contentElement)); + else { + // Convert all strong/em to b/i + content = tinyMCE.regexpReplace(content, "", "", "gi"); + content = tinyMCE.regexpReplace(content, "", "
    ", "gi"); + content = tinyMCE.regexpReplace(content, "", "", "gi"); + tinyMCE.setInnerHTML(inst.getBody(), content); + } + + tinyMCE.convertAllRelativeURLs(inst.getBody()); + } else { + if (tinyMCE.settings['cleanup_on_startup']) { + tinyMCE._setHTML(inst.getDoc(), content); + + // Produces permission denied error in MSIE 5.5 + eval('try {tinyMCE.setInnerHTML(inst.getBody(), tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, inst.getBody()));} catch(e) {}'); + } else + tinyMCE._setHTML(inst.getDoc(), content); + } + + // Fix for bug #957681 + //inst.getDoc().designMode = inst.getDoc().designMode; + + // Setup element references + var parentElm = inst.targetDoc.getElementById(inst.editorId + '_parent'); + inst.formElement = tinyMCE.isGecko ? parentElm.previousSibling : parentElm.nextSibling; + + tinyMCE.handleVisualAid(inst.getBody(), true, tinyMCE.settings['visual'], inst); + tinyMCE.dispatchCallback(inst, 'setupcontent_callback', 'setupContent', editor_id, inst.getBody(), inst.getDoc()); + + // Re-add design mode on mozilla + if (!tinyMCE.isMSIE) + tinyMCE.addEventHandlers(inst); + + // Add blur handler + if (tinyMCE.isMSIE) { + tinyMCE.addEvent(inst.getBody(), "blur", TinyMCE_Engine.prototype._eventPatch); + tinyMCE.addEvent(inst.getBody(), "beforedeactivate", TinyMCE_Engine.prototype._eventPatch); // Bug #1439953 + + // Workaround for drag drop/copy paste base href bug + if (!tinyMCE.isOpera) { + tinyMCE.addEvent(doc.body, "mousemove", TinyMCE_Engine.prototype.onMouseMove); + tinyMCE.addEvent(doc.body, "beforepaste", TinyMCE_Engine.prototype._eventPatch); + tinyMCE.addEvent(doc.body, "drop", TinyMCE_Engine.prototype._eventPatch); + } + } + + // Trigger node change, this call locks buttons for tables and so forth + tinyMCE.selectedInstance = inst; + tinyMCE.selectedElement = inst.contentWindow.document.body; + + // Call custom DOM cleanup + tinyMCE._customCleanup(inst, "insert_to_editor_dom", inst.getBody()); + tinyMCE._customCleanup(inst, "setup_content_dom", inst.getBody()); + tinyMCE._setEventsEnabled(inst.getBody(), false); + tinyMCE.cleanupAnchors(inst.getDoc()); + + if (tinyMCE.getParam("convert_fonts_to_spans")) + tinyMCE.convertSpansToFonts(inst.getDoc()); + + 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); + }, + + storeAwayURLs : function(s) { + // Remove all mce_src, mce_href and replace them with new ones + // s = s.replace(new RegExp('mce_src\\s*=\\s*\"[^ >\"]*\"', 'gi'), ''); + // s = s.replace(new RegExp('mce_href\\s*=\\s*\"[^ >\"]*\"', 'gi'), ''); + + if (!s.match(/(mce_src|mce_href)/gi, s)) { + s = s.replace(new RegExp('src\\s*=\\s*\"([^ >\"]*)\"', 'gi'), 'src="$1" mce_src="$1"'); + s = s.replace(new RegExp('href\\s*=\\s*\"([^ >\"]*)\"', 'gi'), 'href="$1" mce_href="$1"'); + } + + 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) + return; + + // If not a form, find the form + if (form_obj.nodeName != "FORM") { + if (form_obj.form) + form_obj = form_obj.form; + else + form_obj = tinyMCE.getParentElement(form_obj, "form"); + } + + // Still nothing + if (form_obj == null) + return; + + // Disable all UI form elements that TinyMCE created + for (var i=0; i"); + rng.collapse(false); + rng.select(); + + tinyMCE.execCommand("mceAddUndoLevel"); + tinyMCE.triggerNodeChange(false); + return false; + } + } + + // Backspace or delete + if (e.keyCode == 8 || e.keyCode == 46) { + tinyMCE.selectedElement = e.target; + tinyMCE.linkElement = tinyMCE.getParentElement(e.target, "a"); + tinyMCE.imgElement = tinyMCE.getParentElement(e.target, "img"); + tinyMCE.triggerNodeChange(false); + } + + return false; + break; + + case "keyup": + case "keydown": + tinyMCE.hideMenus(); + tinyMCE.hasMouseMoved = false; + + if (inst && inst.handleShortcut(e)) + return false; + + if (e.target.editorId) + tinyMCE.selectedInstance = tinyMCE.instances[e.target.editorId]; + else + return; + + if (tinyMCE.selectedInstance) + tinyMCE.selectedInstance.switchSettings(); + + var inst = tinyMCE.selectedInstance; + + // Handle backspace + if (tinyMCE.isGecko && tinyMCE.settings['force_p_newlines'] && (e.keyCode == 8 || e.keyCode == 46) && !e.shiftKey) { + // Insert P element instead of BR + if (TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance, e.type)) { + // Cancel event + tinyMCE.execCommand("mceAddUndoLevel"); + e.preventDefault(); + return false; + } + } + + tinyMCE.selectedElement = null; + tinyMCE.selectedNode = null; + var elm = tinyMCE.selectedInstance.getFocusElement(); + tinyMCE.linkElement = tinyMCE.getParentElement(elm, "a"); + tinyMCE.imgElement = tinyMCE.getParentElement(elm, "img"); + tinyMCE.selectedElement = elm; + + // Update visualaids on tabs + if (tinyMCE.isGecko && e.type == "keyup" && e.keyCode == 9) + tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(), true, tinyMCE.settings['visual'], tinyMCE.selectedInstance); + + // Fix empty elements on return/enter, check where enter occured + if (tinyMCE.isMSIE && e.type == "keydown" && e.keyCode == 13) + tinyMCE.enterKeyElement = tinyMCE.selectedInstance.getFocusElement(); + + // Fix empty elements on return/enter + if (tinyMCE.isMSIE && e.type == "keyup" && e.keyCode == 13) { + var elm = tinyMCE.enterKeyElement; + if (elm) { + var re = new RegExp('^HR|IMG|BR$','g'); // Skip these + var dre = new RegExp('^H[1-6]$','g'); // Add double on these + + if (!elm.hasChildNodes() && !re.test(elm.nodeName)) { + if (dre.test(elm.nodeName)) + elm.innerHTML = "  "; + else + elm.innerHTML = " "; + } + } + } + + // Check if it's a position key + var keys = tinyMCE.posKeyCodes; + var posKey = false; + for (var i=0; i'; + h += ''; + h += ''; + } else { + // Normal button + h += ''; + h += ''; + h += ''; + } + + return h; + }, + + addButtonMap : function(m) { + var i, a = m.replace(/\s+/, '').split(','); + + for (i=0; i 0); + + if (tinyMCE.settings['custom_undo_redo']) { + undoIndex = inst.undoRedo.undoIndex; + undoLevels = inst.undoRedo.undoLevels.length; + } + + tinyMCE.dispatchCallback(inst, 'handle_node_change_callback', 'handleNodeChange', editorId, elm, undoIndex, undoLevels, inst.visualAid, anySelection, setup_content); + } + + if (this.selectedInstance && (typeof(focus) == "undefined" || focus)) + this.selectedInstance.contentWindow.focus(); + }, + + _customCleanup : function(inst, type, content) { + var pl, po, i; + + // Call custom cleanup + var customCleanup = tinyMCE.settings['cleanup_callback']; + if (customCleanup != "" && eval("typeof(" + customCleanup + ")") != "undefined") + content = eval(customCleanup + "(type, content, inst);"); + + // Trigger plugin cleanups + pl = inst.plugins; + for (i=0; i 0) { + for (i=ar.length-1; i>=0; i--) { + s = ar[i].substring(2, ar[i].length-1); + + if (s.indexOf('lang_') == 0 && tinyMCELang[s]) + h = tinyMCE.replaceVar(h, s, tinyMCELang[s]); + else if (as && as[s]) + h = tinyMCE.replaceVar(h, s, as[s]); + else if (tinyMCE.settings[s]) + h = tinyMCE.replaceVar(h, s, tinyMCE.settings[s]); + } + } + + h = tinyMCE.replaceVar(h, "themeurl", tinyMCE.themeURL); + + return h; + }, + + replaceVar : function(h, r, v) { + return h.replace(new RegExp('{\\\$' + r + '}', 'g'), v); + }, + + openWindow : function(template, args) { + var html, width, height, x, y, resizable, scrollbars, url; + + args['mce_template_file'] = template['file']; + args['mce_width'] = template['width']; + args['mce_height'] = template['height']; + tinyMCE.windowArgs = args; + + html = template['html']; + if (!(width = parseInt(template['width']))) + width = 320; + + if (!(height = parseInt(template['height']))) + height = 200; + + // Add to height in M$ due to SP2 WHY DON'T YOU GUYS IMPLEMENT innerWidth of windows!! + if (tinyMCE.isMSIE) + height += 40; + else + height += 20; + + x = parseInt(screen.width / 2.0) - (width / 2.0); + y = parseInt(screen.height / 2.0) - (height / 2.0); + + resizable = (args && args['resizable']) ? args['resizable'] : "no"; + scrollbars = (args && args['scrollbars']) ? args['scrollbars'] : "no"; + + if (template['file'].charAt(0) != '/' && template['file'].indexOf('://') == -1) + url = tinyMCE.baseURL + "/themes/" + tinyMCE.getParam("theme") + "/" + template['file']; + else + url = template['file']; + + // Replace all args as variables in URL + for (var name in args) { + if (typeof(args[name]) == 'function') + continue; + + url = tinyMCE.replaceVar(url, name, escape(args[name])); + } + + if (html) { + html = tinyMCE.replaceVar(html, "css", this.settings['popups_css']); + html = tinyMCE.applyTemplate(html, args); + + var win = window.open("", "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=yes,minimizable=" + resizable + ",modal=yes,width=" + width + ",height=" + height + ",resizable=" + resizable); + if (win == null) { + alert(tinyMCELang['lang_popup_blocked']); + return; + } + + win.document.write(html); + win.document.close(); + win.resizeTo(width, height); + win.focus(); + } else { + if ((tinyMCE.isMSIE && !tinyMCE.isOpera) && resizable != 'yes' && tinyMCE.settings["dialog_type"] == "modal") { + height += 10; + + var features = "resizable:" + resizable + + ";scroll:" + + scrollbars + ";status:yes;center:yes;help:no;dialogWidth:" + + width + "px;dialogHeight:" + height + "px;"; + + window.showModalDialog(url, window, features); + } else { + var modal = (resizable == "yes") ? "no" : "yes"; + + if (tinyMCE.isGecko && tinyMCE.isMac) + modal = "no"; + + if (template['close_previous'] != "no") + try {tinyMCE.lastWindow.close();} catch (ex) {} + + var win = window.open(url, "mcePopup" + new Date().getTime(), "top=" + y + ",left=" + x + ",scrollbars=" + scrollbars + ",dialog=" + modal + ",minimizable=" + resizable + ",modal=" + modal + ",width=" + width + ",height=" + height + ",resizable=" + resizable); + if (win == null) { + alert(tinyMCELang['lang_popup_blocked']); + return; + } + + if (template['close_previous'] != "no") + tinyMCE.lastWindow = win; + + eval('try { win.resizeTo(width, height); } catch(e) { }'); + + // Make it bigger if statusbar is forced + if (tinyMCE.isGecko) { + if (win.document.defaultView.statusbar.visible) + win.resizeBy(0, tinyMCE.isMac ? 10 : 24); + } + + win.focus(); + } + } + }, + + closeWindow : function(win) { + win.close(); + }, + + getVisualAidClass : function(class_name, state) { + var aidClass = tinyMCE.settings['visual_table_class']; + + if (typeof(state) == "undefined") + state = tinyMCE.settings['visual']; + + // Split + var classNames = new Array(); + var ar = class_name.split(' '); + for (var i=0; i 0) + className += " "; + + className += classNames[i]; + } + + return className; + }, + + 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) { + case "TABLE": + var oldW = el.style.width; + var oldH = el.style.height; + var bo = tinyMCE.getAttrib(el, "border"); + + bo = bo == "" || bo == "0" ? true : false; + + tinyMCE.setAttrib(el, "class", tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el, "class"), state && bo)); + + el.style.width = oldW; + el.style.height = oldH; + + for (var y=0; y<\/o:p>", "
    "); + html = tinyMCE.regexpReplace(html, " <\/o:p>", ""); + html = tinyMCE.regexpReplace(html, "", ""); + html = tinyMCE.regexpReplace(html, "

    <\/p>", ""); + html = tinyMCE.regexpReplace(html, "

    <\/p>\r\n

    <\/p>", ""); + html = tinyMCE.regexpReplace(html, "

     <\/p>", "
    "); + html = tinyMCE.regexpReplace(html, "

    \s*(

    \s*)?", "

    "); + html = tinyMCE.regexpReplace(html, "<\/p>\s*(<\/p>\s*)?", "

    "); + }*/ + + // Always set the htmlText output + tinyMCE.setInnerHTML(doc.body, html); + } + + tinyMCE.cleanupAnchors(doc); + + if (tinyMCE.getParam("convert_fonts_to_spans")) + tinyMCE.convertSpansToFonts(doc); + }, + + getEditorId : function(form_element) { + var inst = this.getInstanceById(form_element); + if (!inst) + return null; + + return inst.editorId; + }, + + getInstanceById : function(editor_id) { + var inst = this.instances[editor_id]; + if (!inst) { + for (var n in tinyMCE.instances) { + var instance = tinyMCE.instances[n]; + if (!tinyMCE.isInstance(instance)) + continue; + + if (instance.formTargetElementId == editor_id) { + inst = instance; + break; + } + } + } + + return inst; + }, + + queryInstanceCommandValue : function(editor_id, command) { + var inst = tinyMCE.getInstanceById(editor_id); + if (inst) + return inst.queryCommandValue(command); + + return false; + }, + + queryInstanceCommandState : function(editor_id, command) { + var inst = tinyMCE.getInstanceById(editor_id); + if (inst) + return inst.queryCommandState(command); + + return null; + }, + + setWindowArg : function(n, v) { + this.windowArgs[n] = v; + }, + + getWindowArg : function(n, d) { + return (typeof(this.windowArgs[n]) == "undefined") ? d : this.windowArgs[n]; + }, + + getCSSClasses : function(editor_id, doc) { + var output = new Array(); + + // Is cached, use that + if (typeof(tinyMCE.cssClasses) != "undefined") + return tinyMCE.cssClasses; + + if (typeof(editor_id) == "undefined" && typeof(doc) == "undefined") { + var instance; + + for (var instanceName in tinyMCE.instances) { + instance = tinyMCE.instances[instanceName]; + if (!tinyMCE.isInstance(instance)) + continue; + + break; + } + + doc = instance.getDoc(); + } + + if (typeof(doc) == "undefined") { + var instance = tinyMCE.getInstanceById(editor_id); + doc = instance.getDoc(); + } + + if (doc) { + var styles = doc.styleSheets; + + if (styles && styles.length > 0) { + for (var x=0; x 0) + tinyMCE.cssClasses = output; + + return output; + }, + + regexpReplace : function(in_str, reg_exp, replace_str, opts) { + if (in_str == null) + return in_str; + + if (typeof(opts) == "undefined") + opts = 'g'; + + var re = new RegExp(reg_exp, opts); + return in_str.replace(re, replace_str); + }, + + trim : function(s) { + return s.replace(/^\s*|\s*$/g, ""); + }, + + cleanupEventStr : function(s) { + s = "" + s; + s = s.replace('function anonymous()\n{\n', ''); + s = s.replace('\n}', ''); + s = s.replace(/^return true;/gi, ''); // Remove event blocker + + return s; + }, + + getControlHTML : function(c) { + var i, l, n, o, v; + + l = tinyMCE.plugins; + for (n in l) { + o = l[n]; + + if (o.getControlHTML && (v = o.getControlHTML(c)) != '') + return tinyMCE.replaceVar(v, "pluginurl", o.baseURL); + } + + o = tinyMCE.themes[tinyMCE.settings['theme']]; + if (o.getControlHTML && (v = o.getControlHTML(c)) != '') + return v; + + return ''; + }, + + evalFunc : function(f, idx, a) { + var s = '(', i; + + for (i=idx; i 0) + return true; + + if (ins != null) { + for (i=0, l = ins.plugins; i 0) + return true; + } + } + + l = tinyMCE.themes; + for (on in l) { + o = l[on]; + + if (o[n] && (v = tinyMCE.evalFunc(o[n], 3, a)) == s && m > 0) + return true; + } + + return false; + }, + + xmlEncode : function(s) { + s = "" + s; + s = s.replace(/&/g, '&'); + s = s.replace(new RegExp('"', 'g'), '"'); + s = s.replace(/\'/g, '''); // ' is not working in MSIE + s = s.replace(//g, '>'); + + return s; + }, + + extend : function(p, np) { + var o = {}; + + o.parent = p; + + for (n in p) + o[n] = p[n]; + + for (n in np) + o[n] = np[n]; + + return o; + }, + + hideMenus : function() { + var e = tinyMCE.lastSelectedMenuBtn; + + if (tinyMCE.lastMenu) { + tinyMCE.lastMenu.hide(); + tinyMCE.lastMenu = null; + } + + if (e) { + 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 0) { + for (i=0; i 1 && tinyMCE.currentConfig != this.settings['index']) { + tinyMCE.settings = this.settings; + tinyMCE.currentConfig = this.settings['index']; + } + }, + + getBody : function() { + return this.getDoc().body; + }, + + getDoc : function() { + return this.contentWindow.document; + }, + + getWin : function() { + return this.contentWindow; + }, + + addShortcut : function(m, k, d, cmd, ui, va) { + var n = typeof(k) == "number", ie = tinyMCE.isMSIE, c, sc, i; + var scl = this.shortcuts; + + if (!tinyMCE.getParam('custom_shortcuts')) + return false; + + m = m.toLowerCase(); + k = ie && !n ? k.toUpperCase() : k; + c = n ? null : k.charCodeAt(0); + d = d && d.indexOf('lang_') == 0 ? tinyMCE.getLang(d) : d; + + sc = { + alt : m.indexOf('alt') != -1, + ctrl : m.indexOf('ctrl') != -1, + shift : m.indexOf('shift') != -1, + charCode : c, + keyCode : n ? k : (ie ? c : null), + desc : d, + cmd : cmd, + ui : ui, + val : va + }; + + for (i=0; i 0) + rng.pasteHTML('
    ' + rng.htmlText + "
    "); + + tinyMCE.triggerNodeChange(); + return; + } + } + } + + switch (command) { + case "mceRepaint": + this.repaint(); + return true; + + case "InsertUnorderedList": + case "InsertOrderedList": + var tag = (command == "InsertUnorderedList") ? "ul" : "ol"; + + if (tinyMCE.isSafari) + this.execCommand("mceInsertContent", false, "<" + tag + ">
  •  
  • <" + tag + ">"); + else + this.getDoc().execCommand(command, user_interface, value); + + tinyMCE.triggerNodeChange(); + break; + + case "Strikethrough": + if (tinyMCE.isSafari) + this.execCommand("mceInsertContent", false, "" + this.selection.getSelectedHTML() + ""); + else + this.getDoc().execCommand(command, user_interface, value); + + tinyMCE.triggerNodeChange(); + break; + + case "mceSelectNode": + this.selection.selectNode(value); + tinyMCE.triggerNodeChange(); + tinyMCE.selectedNode = value; + break; + + case "FormatBlock": + if (value == null || value == "") { + 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 (tinyMCE.isGecko && new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>', 'gi').test(value)) + value = value.replace(/[^a-z]/gi, ''); + + if (tinyMCE.isMSIE && new RegExp('blockquote|code|samp', 'gi').test(value)) { + var b = this.selection.getBookmark(); + this.getDoc().execCommand("FormatBlock", false, '

    '); + tinyMCE.renameElement(tinyMCE.getParentBlockElement(this.getFocusElement()), value); + this.selection.moveToBookmark(b); + } else + this.getDoc().execCommand("FormatBlock", false, value); + } + + tinyMCE.triggerNodeChange(); + + break; + + case "mceRemoveNode": + if (!value) + value = tinyMCE.getParentElement(this.getFocusElement()); + + if (tinyMCE.isMSIE) { + value.outerHTML = value.innerHTML; + } else { + var rng = value.ownerDocument.createRange(); + rng.setStartBefore(value); + rng.setEndAfter(value); + rng.deleteContents(); + rng.insertNode(rng.createContextualFragment(value.innerHTML)); + } + + tinyMCE.triggerNodeChange(); + + break; + + case "mceSelectNodeDepth": + var parentNode = this.getFocusElement(); + for (var i=0; parentNode; i++) { + if (parentNode.nodeName.toLowerCase() == "body") + break; + + if (parentNode.nodeName.toLowerCase() == "#text") { + i--; + parentNode = parentNode.parentNode; + continue; + } + + if (i == value) { + this.selection.selectNode(parentNode, false); + tinyMCE.triggerNodeChange(); + tinyMCE.selectedNode = parentNode; + return; + } + + parentNode = parentNode.parentNode; + } + + break; + + case "SetStyleInfo": + var rng = this.getRng(); + var sel = this.getSel(); + var scmd = value['command']; + var sname = value['name']; + var svalue = value['value'] == null ? '' : value['value']; + //var svalue = value['value'] == null ? '' : value['value']; + var wrapper = value['wrapper'] ? value['wrapper'] : "span"; + var parentElm = null; + var invalidRe = new RegExp("^BODY|HTML$", "g"); + var invalidParentsRe = tinyMCE.settings['merge_styles_invalid_parents'] != '' ? new RegExp(tinyMCE.settings['merge_styles_invalid_parents'], "gi") : null; + + // Whole element selected check + if (tinyMCE.isMSIE) { + // Control range + if (rng.item) + parentElm = rng.item(0); + else { + var pelm = rng.parentElement(); + var prng = doc.selection.createRange(); + prng.moveToElementText(pelm); + + if (rng.htmlText == prng.htmlText || rng.boundingWidth == 0) { + if (invalidParentsRe == null || !invalidParentsRe.test(pelm.nodeName)) + parentElm = pelm; + } + } + } else { + var felm = this.getFocusElement(); + if (sel.isCollapsed || (new RegExp('td|tr|tbody|table', 'gi').test(felm.nodeName) && sel.anchorNode == felm.parentNode)) + parentElm = felm; + } + + // Whole element selected + if (parentElm && !invalidRe.test(parentElm.nodeName)) { + if (scmd == "setstyle") + tinyMCE.setStyleAttrib(parentElm, sname, svalue); + + if (scmd == "setattrib") + tinyMCE.setAttrib(parentElm, sname, svalue); + + if (scmd == "removeformat") { + parentElm.style.cssText = ''; + tinyMCE.setAttrib(parentElm, 'class', ''); + } + + // Remove style/attribs from all children + var ch = tinyMCE.getNodeTree(parentElm, new Array(), 1); + for (var z=0; z=0; i--) { + var elm = nodes[i]; + var isNew = tinyMCE.getAttrib(elm, "mce_new") == "true"; + + elm.removeAttribute("mce_new"); + + // Is only child a element + if (elm.childNodes && elm.childNodes.length == 1 && elm.childNodes[0].nodeType == 1) { + //tinyMCE.debug("merge1" + isNew); + this._mergeElements(scmd, elm, elm.childNodes[0], isNew); + continue; + } + + // Is I the only child + if (elm.parentNode.childNodes.length == 1 && !invalidRe.test(elm.nodeName) && !invalidRe.test(elm.parentNode.nodeName)) { + //tinyMCE.debug("merge2" + isNew + "," + elm.nodeName + "," + elm.parentNode.nodeName); + if (invalidParentsRe == null || !invalidParentsRe.test(elm.parentNode.nodeName)) + this._mergeElements(scmd, elm.parentNode, elm, false); + } + } + + // Remove empty wrappers + var nodes = doc.getElementsByTagName(wrapper); + for (var i=nodes.length-1; i>=0; i--) { + var elm = nodes[i]; + var isEmpty = true; + + // Check if it has any attribs + var tmp = doc.createElement("body"); + tmp.appendChild(elm.cloneNode(false)); + + // Is empty span, remove it + tmp.innerHTML = tmp.innerHTML.replace(new RegExp('style=""|class=""', 'gi'), ''); + //tinyMCE.debug(tmp.innerHTML); + if (new RegExp('', 'gi').test(tmp.innerHTML)) { + for (var x=0; x 0) { + value = tinyMCE.replaceVar(value, "selection", selectedText); + tinyMCE.execCommand('mceInsertContent', false, value); + } + + tinyMCE.triggerNodeChange(); + break; + + case "mceSetAttribute": + if (typeof(value) == 'object') { + var targetElms = (typeof(value['targets']) == "undefined") ? "p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address" : value['targets']; + var targetNode = tinyMCE.getParentElement(this.getFocusElement(), targetElms); + + if (targetNode) { + targetNode.setAttribute(value['name'], value['value']); + tinyMCE.triggerNodeChange(); + } + } + break; + + case "mceSetCSSClass": + this.execCommand("SetStyleInfo", false, {command : "setattrib", name : "class", value : value}); + break; + + case "mceInsertRawHTML": + var key = 'tiny_mce_marker'; + + this.execCommand('mceBeginUndoLevel'); + + // Insert marker key + this.execCommand('mceInsertContent', false, key); + + // Store away scroll pos + var scrollX = this.getDoc().body.scrollLeft + this.getDoc().documentElement.scrollLeft; + var scrollY = this.getDoc().body.scrollTop + this.getDoc().documentElement.scrollTop; + + // Find marker and replace with RAW HTML + var html = this.getBody().innerHTML; + if ((pos = html.indexOf(key)) != -1) + tinyMCE.setInnerHTML(this.getBody(), html.substring(0, pos) + value + html.substring(pos + key.length)); + + // Restore scoll pos + this.contentWindow.scrollTo(scrollX, scrollY); + + this.execCommand('mceEndUndoLevel'); + + break; + + case "mceInsertContent": + // Force empty string + if (!value) + value = ''; + + var insertHTMLFailed = false; + this.getWin().focus(); + + if (tinyMCE.isGecko || tinyMCE.isOpera) { + try { + // Is plain text or HTML, &,   etc will be encoded wrong in FF + if (value.indexOf('<') == -1 && !value.match(/(&| |<|>)/g)) { + var r = this.getRng(); + var n = this.getDoc().createTextNode(tinyMCE.entityDecode(value)); + var s = this.getSel(); + var r2 = r.cloneRange(); + + // Insert text at cursor position + s.removeAllRanges(); + r.deleteContents(); + r.insertNode(n); + + // Move the cursor to the end of text + r2.selectNode(n); + r2.collapse(false); + s.removeAllRanges(); + s.addRange(r2); + } else { + value = tinyMCE.fixGeckoBaseHREFBug(1, this.getDoc(), value); + this.getDoc().execCommand('inserthtml', false, value); + tinyMCE.fixGeckoBaseHREFBug(2, this.getDoc(), value); + } + } catch (ex) { + insertHTMLFailed = true; + } + + if (!insertHTMLFailed) { + tinyMCE.triggerNodeChange(); + return; + } + } + + // Ugly hack in Opera due to non working "inserthtml" + if (tinyMCE.isOpera && insertHTMLFailed) { + this.getDoc().execCommand("insertimage", false, tinyMCE.uniqueURL); + var ar = tinyMCE.getElementsByAttributeValue(this.getBody(), "img", "src", tinyMCE.uniqueURL); + ar[0].outerHTML = value; + return; + } + + if (!tinyMCE.isMSIE) { + var isHTML = value.indexOf('<') != -1; + var sel = this.getSel(); + var rng = this.getRng(); + + if (isHTML) { + if (tinyMCE.isSafari) { + var tmpRng = this.getDoc().createRange(); + + tmpRng.setStart(this.getBody(), 0); + tmpRng.setEnd(this.getBody(), 0); + + value = tmpRng.createContextualFragment(value); + } else + value = rng.createContextualFragment(value); + } else { + // Setup text node + var el = document.createElement("div"); + el.innerHTML = value; + value = el.firstChild.nodeValue; + value = doc.createTextNode(value); + } + + // Insert plain text in Safari + if (tinyMCE.isSafari && !isHTML) { + this.execCommand('InsertText', false, value.nodeValue); + tinyMCE.triggerNodeChange(); + return true; + } else if (tinyMCE.isSafari && isHTML) { + rng.deleteContents(); + rng.insertNode(value); + tinyMCE.triggerNodeChange(); + return true; + } + + rng.deleteContents(); + + // If target node is text do special treatment, (Mozilla 1.3 fix) + if (rng.startContainer.nodeType == 3) { + var node = rng.startContainer.splitText(rng.startOffset); + node.parentNode.insertBefore(value, node); + } else + rng.insertNode(value); + + if (!isHTML) { + // Removes weird selection trails + sel.selectAllChildren(doc.body); + sel.removeAllRanges(); + + // Move cursor to end of content + var rng = doc.createRange(); + + rng.selectNode(value); + rng.collapse(false); + + sel.addRange(rng); + } else + rng.collapse(false); + + tinyMCE.fixGeckoBaseHREFBug(2, this.getDoc(), value); + } else { + var rng = doc.selection.createRange(); + var c = value.indexOf('"; + } + + if (hc) { + cn = n.childNodes; + + for (i=0, l=cn.length; i'; + + return h; + }, + + _serializeAttribute : function(n, r, an) { + var av = '', t, os = this.settings.on_save; + + if (os && (an.indexOf('mce_') == 0 || an.indexOf('_moz') == 0)) + return ''; + + if (os && this.mceAttribs[an]) + av = this._getAttrib(n, this.mceAttribs[an]); + + if (av.length == 0) + av = this._getAttrib(n, an); + + if (av.length == 0 && r.defaultAttribs && (t = r.defaultAttribs[an])) { + av = t; + + if (av == "mce_empty") + return " " + an + '=""'; + } + + if (r.forceAttribs && (t = r.forceAttribs[an])) + av = t; + + if (os && av.length != 0 && this.settings.url_converter.length != 0 && /^(src|href|longdesc)$/.test(an)) + av = eval(this.settings.url_converter + '(this, n, av)'); + + if (av.length != 0 && r.validAttribValues && r.validAttribValues[an] && !r.validAttribValues[an].test(av)) + return ""; + + if (av.length != 0 && av == "{$uid}") + av = "uid_" + (this.idCount++); + + if (av.length != 0) + return " " + an + "=" + '"' + this.xmlEncode(av) + '"'; + + return ""; + }, + + formatHTML : function(h) { + var s = this.settings, p = '', i = 0, li = 0, o = '', l; + + h = h.replace(/\r/g, ''); // Windows sux, isn't carriage return a thing of the past :) + h = '\n' + h; + h = h.replace(new RegExp('\\n\\s+', 'gi'), '\n'); // Remove previous formatting + h = h.replace(this.nlBeforeRe, '\n<$1$2>'); + h = h.replace(this.nlAfterRe, '<$1$2>\n'); + h = h.replace(this.nlBeforeAfterRe, '\n<$1$2$3>\n'); + h += '\n'; + + //tinyMCE.debug(h); + + while ((i = h.indexOf('\n', i + 1)) != -1) { + if ((l = h.substring(li + 1, i)).length != 0) { + if (this.ouRe.test(l) && p.length >= s.indent_levels) + p = p.substring(s.indent_levels); + + o += p + l + '\n'; + + if (this.inRe.test(l)) + p += this.inStr; + } + + li = i; + } + + //tinyMCE.debug(h); + + return o; + }, + + xmlEncode : function(s) { + var i, l, e, o = '', c; + + this._setupEntities(); // Will intialize lookup table + + switch (this.settings.entity_encoding) { + case "raw": + return tinyMCE.xmlEncode(s); + + case "named": + for (i=0, l=s.length; i 127 || c == 60 || c == 62 || c == 38 || c == 39 || c == 34) + o += '&#' + c + ";"; + else + o += String.fromCharCode(c); + } + + return o; + } + + return s; + }, + + split : function(re, s) { + var c = s.split(re); + var i, l, o = new Array(); + + for (i=0, l=c.length; i gets converted to


    . + h = h.replace(/\s\/>/g, '>'); + + // Since MSIE auto generated emtpy P tags some times we must tell it to keep the real ones + h = h.replace(/]*)>\u00A0?<\/p>/gi, ' 

    '); // Keep empty paragraphs + h = h.replace(/]*)>\s* \s*<\/p>/gi, ' 

    '); // Keep empty paragraphs + h = h.replace(/]*)>\s+<\/p>/gi, ' 

    '); // Keep empty paragraphs + + // Remove first comment + e.innerHTML = tinyMCE.uniqueTag + h; + e.firstChild.removeNode(true); + + // Remove weird auto generated empty paragraphs unless it's supposed to be there + nl = e.getElementsByTagName("p"); + for (i=nl.length-1; i>=0; i--) { + n = nl[i]; + + if (n.nodeName == 'P' && !n.hasChildNodes() && !n.mce_keep) + n.parentNode.removeChild(n); + } + } else { + h = this.fixGeckoBaseHREFBug(1, e, h); + e.innerHTML = h; + this.fixGeckoBaseHREFBug(2, e, h); + } +}; + +TinyMCE_Engine.prototype.getOuterHTML = function(e) { + if (tinyMCE.isMSIE) + return e.outerHTML; + + var d = e.ownerDocument.createElement("body"); + d.appendChild(e); + return d.innerHTML; +}; + +TinyMCE_Engine.prototype.setOuterHTML = function(e, h) { + if (tinyMCE.isMSIE) { + e.outerHTML = h; + return; + } + + var d = e.ownerDocument.createElement("body"); + d.innerHTML = h; + e.parentNode.replaceChild(d.firstChild, e); +}; + +TinyMCE_Engine.prototype._getElementById = function(id, d) { + var e, i, j, f; + + if (typeof(d) == "undefined") + d = document; + + e = d.getElementById(id); + if (!e) { + f = d.forms; + + for (i=0; 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= strTok2.length) { + for (var i=0; i= strTok2.length || strTok1[i] != strTok2[i]) { + breakPoint = i + 1; + break; + } + } + } + + if (strTok1.length < strTok2.length) { + for (var i=0; i= strTok1.length || strTok1[i] != strTok2[i]) { + breakPoint = i + 1; + break; + } + } + } + + if (breakPoint == 1) + return targetURL.path; + + for (var i=0; i<(strTok1.length-(breakPoint-1)); i++) + outPath += "../"; + + for (var i=breakPoint-1; i=0; i--) { + if (baseURLParts[i].length == 0) + continue; + + newBaseURLParts[newBaseURLParts.length] = baseURLParts[i]; + } + baseURLParts = newBaseURLParts.reverse(); + + // Merge relURLParts chunks + var newRelURLParts = new Array(); + var numBack = 0; + for (var i=relURLParts.length-1; i>=0; i--) { + if (relURLParts[i].length == 0 || relURLParts[i] == ".") + continue; + + if (relURLParts[i] == '..') { + numBack++; + continue; + } + + if (numBack > 0) { + numBack--; + continue; + } + + newRelURLParts[newRelURLParts.length] = relURLParts[i]; + } + + relURLParts = newRelURLParts.reverse(); + + // Remove end from absolute path + var len = baseURLParts.length-numBack; + var absPath = (len <= 0 ? "" : "/") + baseURLParts.slice(0, len).join('/') + "/" + relURLParts.join('/'); + var start = "", end = ""; + + // Build output URL + relURL.protocol = baseURL.protocol; + relURL.host = baseURL.host; + relURL.port = baseURL.port; + + // Re-add trailing slash if it's removed + if (relURL.path.charAt(relURL.path.length-1) == "/") + absPath += "/"; + + relURL.path = absPath; + + return this.serializeURL(relURL); +}; + +TinyMCE_Engine.prototype.convertURL = function(url, node, on_save) { + var prot = document.location.protocol; + var host = document.location.hostname; + var port = document.location.port; + + // Pass through file protocol + if (prot == "file:") + return url; + + // Something is wrong, remove weirdness + url = tinyMCE.regexpReplace(url, '(http|https):///', '/'); + + // Mailto link or anchor (Pass through) + if (url.indexOf('mailto:') != -1 || url.indexOf('javascript:') != -1 || tinyMCE.regexpReplace(url,'[ \t\r\n\+]|%20','').charAt(0) == "#") + return url; + + // Fix relative/Mozilla + if (!tinyMCE.isMSIE && !on_save && url.indexOf("://") == -1 && url.charAt(0) != '/') + return tinyMCE.settings['base_href'] + url; + + // Handle relative URLs + if (on_save && tinyMCE.getParam('relative_urls')) { + var curl = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], url); + if (curl.charAt(0) == '/') + curl = tinyMCE.settings['document_base_prefix'] + curl; + + var urlParts = tinyMCE.parseURL(curl); + var tmpUrlParts = tinyMCE.parseURL(tinyMCE.settings['document_base_url']); + + // Force relative + if (urlParts['host'] == tmpUrlParts['host'] && (urlParts['port'] == tmpUrlParts['port'])) + return tinyMCE.convertAbsoluteURLToRelativeURL(tinyMCE.settings['document_base_url'], curl); + } + + // Handle absolute URLs + if (!tinyMCE.getParam('relative_urls')) { + var urlParts = tinyMCE.parseURL(url); + var baseUrlParts = tinyMCE.parseURL(tinyMCE.settings['base_href']); + + // Force absolute URLs from relative URLs + url = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], url); + + // If anchor and path is the same page + if (urlParts['anchor'] && urlParts['path'] == baseUrlParts['path']) + return "#" + urlParts['anchor']; + } + + // Remove current domain + if (tinyMCE.getParam('remove_script_host')) { + var start = "", portPart = ""; + + if (port != "") + portPart = ":" + port; + + start = prot + "//" + host + portPart + "/"; + + if (url.indexOf(start) == 0) + url = url.substring(start.length-1); + } + + return url; +}; + +TinyMCE_Engine.prototype.convertAllRelativeURLs = function(body) { + // Convert all image URL:s to absolute URL + var elms = body.getElementsByTagName("img"); + for (var i=0; i 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()); + rng.collapse(true); + rng.moveStart('character', bookmark.start); + rng.moveEnd('character', bookmark.length); + } + + rng.select(); + + win.scrollTo(bookmark.scrollX, bookmark.scrollY); + return true; + } + + if (tinyMCE.isGecko && bookmark.rng) { + sel.removeAllRanges(); + sel.addRange(bookmark.rng); + win.scrollTo(bookmark.scrollX, bookmark.scrollY); + return true; + } + + if (tinyMCE.isGecko) { + // try { + rng = doc.createRange(); + + nl = doc.getElementsByTagName(bookmark.startTag); + if (nl.length > bookmark.start) + rng.setStart(nl[bookmark.start].childNodes[bookmark.startIndex], bookmark.startOffset); + + nl = doc.getElementsByTagName(bookmark.endTag); + if (nl.length > bookmark.end) + rng.setEnd(nl[bookmark.end].childNodes[bookmark.endIndex], bookmark.endOffset); + + sel.removeAllRanges(); + sel.addRange(rng); + /* } catch { + // Ignore + }*/ + + win.scrollTo(bookmark.scrollX, bookmark.scrollY); + return true; + } + + return false; + }, + + selectNode : function(node, collapse, select_text_node, to_start) { + var inst = this.instance, sel, rng, nodes; + + if (!node) + return; + + if (typeof(collapse) == "undefined") + collapse = true; + + if (typeof(select_text_node) == "undefined") + select_text_node = false; + + if (typeof(to_start) == "undefined") + to_start = true; + + if (tinyMCE.isMSIE) { + rng = inst.getBody().createTextRange(); + + try { + rng.moveToElementText(node); + + if (collapse) + rng.collapse(to_start); + + rng.select(); + } catch (e) { + // Throws illigal agrument in MSIE some times + } + } else { + sel = this.getSel(); + + if (!sel) + return; + + if (tinyMCE.isSafari) { + sel.setBaseAndExtent(node, 0, node, node.innerText.length); + + if (collapse) { + if (to_start) + sel.collapseToStart(); + else + sel.collapseToEnd(); + } + + this.scrollToNode(node); + + return; + } + + rng = inst.getDoc().createRange(); + + if (select_text_node) { + // Find first textnode in tree + nodes = tinyMCE.getNodeTree(node, new Array(), 3); + if (nodes.length > 0) + rng.selectNodeContents(nodes[0]); + else + rng.selectNodeContents(node); + } else + rng.selectNode(node); + + if (collapse) { + // Special treatment of textnode collapse + if (!to_start && node.nodeType == 3) { + rng.setStart(node, node.nodeValue.length); + rng.setEnd(node, node.nodeValue.length); + } else + rng.collapse(to_start); + } + + sel.removeAllRanges(); + sel.addRange(rng); + } + + this.scrollToNode(node); + + // Set selected element + tinyMCE.selectedElement = null; + if (node.nodeType == 1) + tinyMCE.selectedElement = node; + }, + + scrollToNode : function(node) { + var inst = this.instance; + var pos, doc, scrollX, scrollY, height; + + // Scroll to node position + pos = tinyMCE.getAbsPosition(node); + doc = inst.getDoc(); + scrollX = doc.body.scrollLeft + doc.documentElement.scrollLeft; + scrollY = doc.body.scrollTop + doc.documentElement.scrollTop; + height = tinyMCE.isMSIE ? document.getElementById(inst.editorId).style.pixelHeight : inst.targetElement.clientHeight; + + // Only scroll if out of visible area + if (!tinyMCE.settings['auto_resize'] && !(pos.absTop > scrollY && pos.absTop < (scrollY - 25 + height))) + inst.contentWindow.scrollTo(pos.absLeft, pos.absTop - height + 25); + }, + + getSel : function() { + var inst = this.instance; + + if (tinyMCE.isMSIE && !tinyMCE.isOpera) + return inst.getDoc().selection; + + return inst.contentWindow.getSelection(); + }, + + getRng : function() { + var inst = this.instance; + var sel = this.getSel(); + + if (sel == null) + return null; + + if (tinyMCE.isMSIE && !tinyMCE.isOpera) + return sel.createRange(); + + if (tinyMCE.isSafari && !sel.getRangeAt) + return '' + window.getSelection(); + + return sel.getRangeAt(0); + }, + + getFocusElement : function() { + var inst = this.instance; + + if (tinyMCE.isMSIE && !tinyMCE.isOpera) { + var doc = inst.getDoc(); + var rng = doc.selection.createRange(); + + // if (rng.collapse) + // rng.collapse(true); + + var elm = rng.item ? rng.item(0) : rng.parentElement(); + } else { + if (inst.isHidden()) + return inst.getBody(); + + var sel = this.getSel(); + var rng = this.getRng(); + + if (!sel || !rng) + return null; + + var elm = rng.commonAncestorContainer; + //var elm = (sel && sel.anchorNode) ? sel.anchorNode : null; + + // Handle selection a image or other control like element such as anchors + if (!rng.collapsed) { + // Is selection small + if (rng.startContainer == rng.endContainer) { + if (rng.startOffset - rng.endOffset < 2) { + if (rng.startContainer.hasChildNodes()) + elm = rng.startContainer.childNodes[rng.startOffset]; + } + } + } + + // Get the element parent of the node + elm = tinyMCE.getParentElement(elm); + + //if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "img") + // elm = tinyMCE.selectedElement; + } + + return elm; + } +}; + +/* file:jscripts/tiny_mce/classes/TinyMCE_UndoRedo.class.js */ + +function TinyMCE_UndoRedo(inst) { + this.instance = inst; + this.undoLevels = new Array(); + this.undoIndex = 0; + this.typingUndoIndex = -1; + this.undoRedo = true; +}; + +TinyMCE_UndoRedo.prototype = { + add : function(l) { + var b; + + if (l) { + this.undoLevels[this.undoLevels.length] = l; + return true; + } + + var inst = this.instance; + + if (this.typingUndoIndex != -1) { + this.undoIndex = this.typingUndoIndex; + // tinyMCE.debug("Override: " + this.undoIndex); + } + + var newHTML = tinyMCE.trim(inst.getBody().innerHTML); + if (this.undoLevels[this.undoIndex] && newHTML != this.undoLevels[this.undoIndex].content) { + //tinyMCE.debug(newHTML, this.undoLevels[this.undoIndex]); + + tinyMCE.dispatchCallback(inst, 'onchange_callback', 'onChange', inst); + + // Time to compress + var customUndoLevels = tinyMCE.settings['custom_undo_redo_levels']; + if (customUndoLevels != -1 && this.undoLevels.length > customUndoLevels) { + for (var i=0; i 0) { + this.undoIndex--; + tinyMCE.setInnerHTML(inst.getBody(), this.undoLevels[this.undoIndex].content); + inst.repaint(); + if (inst.settings.custom_undo_redo_restore_selection) + inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark); + } + + // tinyMCE.debug("Undo - undo levels:" + this.undoLevels.length + ", undo index: " + this.undoIndex); + }, + + redo : function() { + var inst = this.instance; + + tinyMCE.execCommand("mceEndTyping"); + + if (this.undoIndex < (this.undoLevels.length-1)) { + this.undoIndex++; + tinyMCE.setInnerHTML(inst.getBody(), this.undoLevels[this.undoIndex].content); + inst.repaint(); +// if (this.undoIndex > 0) +// inst.selection.moveToBookmark(this.undoLevels[this.undoIndex-1].bookmark); + if (inst.settings.custom_undo_redo_restore_selection) + inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark); + // tinyMCE.debug("Redo - undo levels:" + this.undoLevels.length + ", undo index: " + this.undoIndex); + } + + tinyMCE.triggerNodeChange(); + } +}; + +/* file:jscripts/tiny_mce/classes/TinyMCE_ForceParagraphs.class.js */ + +var TinyMCE_ForceParagraphs = { + _insertPara : function(inst, e) { + function isEmpty(para) { + function isEmptyHTML(html) { + return html.replace(new RegExp('[ \t\r\n]+', 'g'), '').toLowerCase() == ""; + } + + // Check for images + if (para.getElementsByTagName("img").length > 0) + return false; + + // Check for tables + if (para.getElementsByTagName("table").length > 0) + return false; + + // Check for HRs + if (para.getElementsByTagName("hr").length > 0) + return false; + + // Check all textnodes + var nodes = tinyMCE.getNodeTree(para, new Array(), 3); + for (var i=0; i <" + blockName + "> "; + paraAfter = body.childNodes[1]; + } + + inst.selection.selectNode(paraAfter, true, true); + + return true; + } + + // Place first part within new paragraph + if (startChop.nodeName == blockName) + rngBefore.setStart(startChop, 0); + else + rngBefore.setStartBefore(startChop); + + rngBefore.setEnd(startNode, startOffset); + paraBefore.appendChild(rngBefore.cloneContents()); + + // Place secound part within new paragraph + rngAfter.setEndAfter(endChop); + rngAfter.setStart(endNode, endOffset); + var contents = rngAfter.cloneContents(); + + if (contents.firstChild && contents.firstChild.nodeName == blockName) { + /* var nodes = contents.firstChild.childNodes; + for (var i=0; i= 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; + } +}; + +/* file:jscripts/tiny_mce/classes/TinyMCE_Layer.class.js */ + +function TinyMCE_Layer(id, bm) { + this.id = id; + this.blockerElement = null; + this.events = false; + this.element = null; + this.blockMode = typeof(bm) != 'undefined' ? bm : true; + this.doc = document; +}; + +TinyMCE_Layer.prototype = { + moveRelativeTo : function(re, p) { + var rep = this.getAbsPosition(re); + var w = parseInt(re.offsetWidth); + var h = parseInt(re.offsetHeight); + var e = this.getElement(); + var ew = parseInt(e.offsetWidth); + var eh = parseInt(e.offsetHeight); + var x, y; + + switch (p) { + case "tl": + x = rep.absLeft; + y = rep.absTop; + break; + + case "tr": + x = rep.absLeft + w; + y = rep.absTop; + break; + + case "bl": + x = rep.absLeft; + y = rep.absTop + h; + break; + + case "br": + x = rep.absLeft + w; + y = rep.absTop + h; + break; + + case "cc": + x = rep.absLeft + (w / 2) - (ew / 2); + y = rep.absTop + (h / 2) - (eh / 2); + break; + } + + this.moveTo(x, y); + }, + + moveBy : function(x, y) { + var e = this.getElement(); + this.moveTo(parseInt(e.style.left) + x, parseInt(e.style.top) + y); + }, + + moveTo : function(x, y) { + var e = this.getElement(); + + e.style.left = x + "px"; + e.style.top = y + "px"; + + this.updateBlocker(); + }, + + resizeBy : function(w, h) { + var e = this.getElement(); + this.resizeTo(parseInt(e.style.width) + w, parseInt(e.style.height) + h); + }, + + resizeTo : function(w, h) { + var e = this.getElement(); + + if (w != null) + e.style.width = w + "px"; + + if (h != null) + e.style.height = h + "px"; + + this.updateBlocker(); + }, + + show : function() { + this.getElement().style.display = 'block'; + this.updateBlocker(); + }, + + hide : function() { + this.getElement().style.display = 'none'; + this.updateBlocker(); + }, + + isVisible : function() { + return this.getElement().style.display == 'block'; + }, + + getElement : function() { + if (!this.element) + this.element = this.doc.getElementById(this.id); + + return this.element; + }, + + setBlockMode : function(s) { + this.blockMode = s; + }, + + updateBlocker : function() { + var e, b, x, y, w, h; + + b = this.getBlocker(); + if (b) { + if (this.blockMode) { + e = this.getElement(); + x = this.parseInt(e.style.left); + y = this.parseInt(e.style.top); + w = this.parseInt(e.offsetWidth); + h = this.parseInt(e.offsetHeight); + + b.style.left = x + 'px'; + b.style.top = y + 'px'; + b.style.width = w + 'px'; + b.style.height = h + 'px'; + b.style.display = e.style.display; + } else + b.style.display = 'none'; + } + }, + + getBlocker : function() { + var d, b; + + if (!this.blockerElement && this.blockMode) { + d = this.doc; + b = d.createElement("iframe"); + + b.style.cssText = 'display: none; position: absolute; left: 0; top: 0'; + b.src = 'javascript:false;'; + b.frameBorder = '0'; + b.scrolling = 'no'; + + d.body.appendChild(b); + this.blockerElement = b; + } + + return this.blockerElement; + }, + + getAbsPosition : function(n) { + var p = {absLeft : 0, absTop : 0}; + + while (n) { + p.absLeft += n.offsetLeft; + p.absTop += n.offsetTop; + n = n.offsetParent; + } + + return p; + }, + + create : function(n, c, p) { + var d = this.doc, e = d.createElement(n); + + e.setAttribute('id', this.id); + + if (c) + e.className = c; + + if (!p) + p = d.body; + + p.appendChild(e); + + return this.element = e; + }, + + parseInt : function(s) { + if (s == null || s == '') + return 0; + + return parseInt(s); + } +}; + +/* file:jscripts/tiny_mce/classes/TinyMCE_Menu.class.js */ + +function TinyMCE_Menu() { + var id; + + if (typeof(tinyMCE.menuCounter) == "undefined") + tinyMCE.menuCounter = 0; + + id = "mc_menu_" + tinyMCE.menuCounter++; + + TinyMCE_Layer.call(this, id, true); + + this.id = id; + this.items = new Array(); + this.needsUpdate = true; +}; + +// Extends the TinyMCE_Layer class +TinyMCE_Menu.prototype = tinyMCE.extend(TinyMCE_Layer.prototype, { + init : function(s) { + var n; + + // Default params + this.settings = { + separator_class : 'mceMenuSeparator', + title_class : 'mceMenuTitle', + disabled_class : 'mceMenuDisabled', + menu_class : 'mceMenu', + drop_menu : true + }; + + for (n in s) + this.settings[n] = s[n]; + + this.create('div', this.settings.menu_class); + }, + + clear : function() { + this.items = new Array(); + }, + + addTitle : function(t) { + this.add({type : 'title', text : t}); + }, + + addDisabled : function(t) { + this.add({type : 'disabled', text : t}); + }, + + addSeparator : function() { + this.add({type : 'separator'}); + }, + + addItem : function(t, js) { + this.add({text : t, js : js}); + }, + + add : function(mi) { + this.items[this.items.length] = mi; + this.needsUpdate = true; + }, + + update : function() { + var e = this.getElement(), h = '', i, t, m = this.items, s = this.settings; + + if (this.settings.drop_menu) + h += ''; + + h += ''; + + for (i=0; i'; + } + + h += '
    '; + break; + + case 'title': + h += '
    ' + t + ''; + break; + + case 'disabled': + h += '
    ' + t + ''; + break; + + default: + h += '
    ' + t + ''; + } + + h += '
    '; + + e.innerHTML = h; + + this.needsUpdate = false; + this.updateBlocker(); + }, + + show : function() { + var nl, i; + + if (tinyMCE.lastMenu == this) + return; + + if (this.needsUpdate) + this.update(); + + if (tinyMCE.lastMenu && tinyMCE.lastMenu != this) + tinyMCE.lastMenu.hide(); + + TinyMCE_Layer.prototype.show.call(this); + + if (!tinyMCE.isOpera) { + // Accessibility stuff +/* nl = this.getElement().getElementsByTagName("a"); + if (nl.length > 0) + nl[0].focus();*/ + } + + tinyMCE.lastMenu = this; + } +}); + +/* file:jscripts/tiny_mce/classes/TinyMCE_Debug.class.js */ + +TinyMCE_Engine.prototype.debug = function() { + var m = "", e, a, i; + + e = document.getElementById("tinymce_debug"); + if (!e) { + var d = document.createElement("div"); + d.setAttribute("className", "debugger"); + d.className = "debugger"; + d.innerHTML = 'Debug output:'; + + document.body.appendChild(d); + e = document.getElementById("tinymce_debug"); + } + + a = this.debug.arguments; + for (i=0; i'; + html += ''; + + return html; +} + +function pickColor(e, target_form_element) { + if ((e.keyCode == 32 || e.keyCode == 13) || e.type == "mousedown") + tinyMCEPopup.pickColor(e, target_form_element); +} + +function updateColor(img_id, form_element_id) { + document.getElementById(img_id).style.backgroundColor = document.forms[0].elements[form_element_id].value; +} + +function setBrowserDisabled(id, state) { + var img = document.getElementById(id); + var lnk = document.getElementById(id + "_link"); + + if (lnk) { + if (state) { + lnk.setAttribute("realhref", lnk.getAttribute("href")); + lnk.removeAttribute("href"); + tinyMCE.switchClass(img, 'mceButtonDisabled', true); + } else { + lnk.setAttribute("href", lnk.getAttribute("realhref")); + tinyMCE.switchClass(img, 'mceButtonNormal', false); + } + } +} + +function getBrowserHTML(id, target_form_element, type, prefix) { + var option = prefix + "_" + type + "_browser_callback"; + var cb = tinyMCE.getParam(option, tinyMCE.getParam("file_browser_callback")); + if (cb == null) + return ""; + + var html = ""; + + html += ''; + html += ''; + + return html; +} + +function openBrower(img_id, target_form_element, type, option) { + var img = document.getElementById(img_id); + + if (img.className != "mceButtonDisabled") + tinyMCEPopup.openBrowser(target_form_element, type, option); +} + +function selectByValue(form_obj, field_name, value, add_custom, ignore_case) { + if (!form_obj || !form_obj.elements[field_name]) + return; + + var sel = form_obj.elements[field_name]; + + var found = false; + for (var i=0; i x && mx < x + w && my > y && my < y + h)) { + MCLayer.visibleLayer = null; + + if (l.autoHideCallback && l.autoHideCallback(l, e, mx, my)) + return true; + + l.hide(); + } + } + }, + + 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 0); +} + +function validateSelection(form_name, element_name) { + return (document.forms[form_name].elements[element_name].selectedIndex > 0); +} + +function validateCheckBox(form_name, element_name) { + return document.forms[form_name].elements[element_name].checked; +} + +function validateCleanString(form_name, element_name) { + return testRegExp(form_name, element_name, '^[A-Za-z0-9_]+$'); +} + +function validateEmail(form_name, element_name) { + return testRegExp(form_name, element_name, '^[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$'); +} + +function validateAbsUrl(form_name, element_name) { + return testRegExp(form_name, element_name, '^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+$'); +} + +function validateNumber(form_name, element_name, allow_blank) { + return (!allow_blank && value == '') ? false : testRegExp(form_name, element_name, '^-?[0-9]*\\.?[0-9]*$'); +} + +function validateSize(form_name, element_name,) { + return testRegExp(form_name, element_name, '^[0-9]+(px|%)?$'); +} + +function validateID(form_name, element_name,) { + return testRegExp(form_name, element_name, '^[A-Za-z_]([A-Za-z0-9_])*$'); +}