Initial import
This commit is contained in:
commit
057959cb8f
1198 files changed
+89467
No files matched your search
@@ -0,0 +1,9 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>blank_page</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head>
|
||||
<body class="mceContentBody">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Vendored
+43
@@ -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.'
|
||||
});
|
||||
Vendored
+41
@@ -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 l´esquerra',
|
||||
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 : 'L´àrea de l´editor ha de ser enfocada abans d´executar 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 : 'Cancel·lar',
|
||||
insert_link_url : 'Adreça de l´enllaç',
|
||||
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 l´imatge',
|
||||
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 més 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.'
|
||||
});
|
||||
Vendored
+52
@@ -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.'
|
||||
});
|
||||
|
||||
Vendored
+41
@@ -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.'
|
||||
});
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
// DK lang variables contributed by Jan Moelgaard
|
||||
|
||||
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.'
|
||||
});
|
||||
Vendored
+41
@@ -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 in gleichen Fester öffnen',
|
||||
insert_link_target_blank : 'Link in neuen 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.'
|
||||
});
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
// Greek lang variables by Jacaranda Bill
|
||||
|
||||
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 : '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.'
|
||||
});
|
||||
Vendored
+41
@@ -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.'
|
||||
});
|
||||
Vendored
+50
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* ES lang variables
|
||||
*
|
||||
* Authors : Alvaro Velasco,
|
||||
* Adolfo Sanz De Diego (asanzdiego) <asanzdiego@yahoo.es>,
|
||||
* Carlos C Soto (eclipxe) <csoto@sia-solutions.com>
|
||||
* Last Updated : October 17, 2005
|
||||
* TinyMCE Version : 2.0RC3
|
||||
*/
|
||||
|
||||
|
||||
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.'
|
||||
});
|
||||
Vendored
+46
@@ -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.'
|
||||
});
|
||||
Vendored
+42
@@ -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 sisennyt',
|
||||
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 : 'Päivitä',
|
||||
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.'
|
||||
});
|
||||
Vendored
+43
@@ -0,0 +1,43 @@
|
||||
// FR lang variables by Pat Boens
|
||||
// Modify by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
|
||||
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 : 'Équivalent 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.'
|
||||
});
|
||||
Vendored
+40
@@ -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 : 'Numérotation',
|
||||
outdent_desc : 'Réduire le retrait',
|
||||
indent_desc : 'Augmenter le retrait',
|
||||
undo_desc : 'Annuler la dernière action',
|
||||
redo_desc : 'Refaire la dernière action annulée',
|
||||
link_desc : 'Insérer un hyperlien',
|
||||
unlink_desc : 'Supprimer un hyperlien',
|
||||
image_desc : 'Insérer une image',
|
||||
cleanup_desc : 'Nettoyer le code',
|
||||
focus_alert : 'Un éditeur doit être sélectionné pour utiliser cette fonction.',
|
||||
edit_confirm : 'Désirez-vous utiliser l\'éditeur pour modifier cette zone?',
|
||||
insert_link_title : 'Insérer / Modifier un hyperlien',
|
||||
insert : 'Insérer',
|
||||
update : 'Insérer',
|
||||
cancel : 'Annuler',
|
||||
insert_link_url : 'Adresse URL',
|
||||
insert_link_target : 'Destination',
|
||||
insert_link_target_same : 'Ouvrir dans la même fenêtre',
|
||||
insert_link_target_blank : 'Ouvrir dans une nouvelle fenêtre',
|
||||
insert_image_title : 'Insérer / 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.\nDésirez-vous consulter de plus amples informations à ce sujet?'
|
||||
});
|
||||
Vendored
+41
@@ -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 : 'ñìéçä, àê ùîðå ìá ëé çåñí äçìåðåú ä÷åôöéí ùìê çñí çìåï ùîäååä çì÷ îäééùåí. úöèøê ìáèì àú çñéîú äçìåðåú ä÷åôöéí áàúø æä ëãé ìðöì ëìé æä áîìåàå.'
|
||||
});
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
// HU lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
bold_desc : 'Félkövér',
|
||||
italic_desc : 'Dölt',
|
||||
underline_desc : 'Aláhúzott',
|
||||
striketrough_desc : 'Áthúzott',
|
||||
justifyleft_desc : 'Balra igazított',
|
||||
justifycenter_desc : 'Középre igazított',
|
||||
justifyright_desc : 'Jobbra igazított',
|
||||
justifyfull_desc : 'Telejesen igazított',
|
||||
bullist_desc : 'Rendezetlen lista',
|
||||
numlist_desc : 'Rendezett lista',
|
||||
outdent_desc : 'Kihúzás',
|
||||
indent_desc : 'Behúzás',
|
||||
undo_desc : 'visszavonás',
|
||||
redo_desc : 'Ismét',
|
||||
link_desc : 'Link hozzáadása/szerkesztése',
|
||||
unlink_desc : 'Link megszüntetése',
|
||||
image_desc : 'Kép beillesztése/szerkesztése',
|
||||
cleanup_desc : 'Rendetlen kód tisztítása',
|
||||
focus_alert : 'Egy szerkesztőablakra muszáj fókuszálni ennek a parancsnak a használata előtt.',
|
||||
edit_confirm : 'Szeretnéd használni ezt a WYSIWYG módot ehhez a szövegmezőhöz?',
|
||||
insert_link_title : 'Link beillesztése/szerkesztése',
|
||||
insert : 'Beillesztés',
|
||||
update : 'Frissítés',
|
||||
cancel : 'Mégse',
|
||||
insert_link_url : 'Link URL',
|
||||
insert_link_target : 'Cél',
|
||||
insert_link_target_same : 'Link megnyitása ugyanabban az ablakban',
|
||||
insert_link_target_blank : 'Link megnyitása új ablakban',
|
||||
insert_image_title : 'Kép beillesztése/szerkesztése',
|
||||
insert_image_src : 'Kép URL',
|
||||
insert_image_alt : 'Kép leírása',
|
||||
help_desc : 'Súgó',
|
||||
bold_img : "bold.gif",
|
||||
italic_img : "italic.gif",
|
||||
underline_img : "underline.gif",
|
||||
clipboard_msg : 'A Másolás/Kivágás/Beillesztés nem elérhető Mozillában and Firefox-ban.\nSzeretnél több információt erről a problémáról?',
|
||||
popup_blocked : 'Sajnálom, de észrevettem, hogy a popup-blokkolód letiltotta az ablakot, ami biztosítja ennek az alkalmazásnak a működését. Meg kell szüntetned a popup-blokkolást ennek a segédeszköznek a teljes használatához.'
|
||||
});
|
||||
Vendored
+41
@@ -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/líma er ekki leyft í vafranum.\nViltu fá frekari upplýsingar um hvernig á að stilla það?',
|
||||
popup_blocked : 'Afsakið, gluggavörn vafrans hefur meinað glugga, sem umsjónarkerfið notar, leyfi til þess að opnast. Þú verður að leyfa þessum vef að opna sprettiglugga (popup) til að geta nýtt þennan möguleika.'
|
||||
});
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
// Variabili lingua IT - fabrix.xm@lombardiacom.it
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
bold_desc : 'Grassetto',
|
||||
italic_desc : 'Corsivo',
|
||||
underline_desc : 'Sottolineato',
|
||||
striketrough_desc : 'Barrato',
|
||||
justifyleft_desc : 'Allinea a sinistra',
|
||||
justifycenter_desc : 'Allinea centrato',
|
||||
justifyright_desc : 'Allinea a destra',
|
||||
justifyfull_desc : 'Giustifica',
|
||||
bullist_desc : 'Lista non ordinata',
|
||||
numlist_desc : 'Lista ordinata',
|
||||
outdent_desc : 'Rientra',
|
||||
indent_desc : 'Indenta',
|
||||
undo_desc : 'Annulla',
|
||||
redo_desc : 'Ripeti',
|
||||
link_desc : 'Inserisci link',
|
||||
unlink_desc : 'Elimina link',
|
||||
image_desc : 'Inserisci immagine',
|
||||
cleanup_desc : 'Pulisci il codice',
|
||||
focus_alert : 'Una istanza dell\' editor deve essere selezionata prima di usare questo comando.',
|
||||
edit_confirm : 'Vuoi usare la modalit\u00E0 WYSIWYG per questa textarea?',
|
||||
insert_link_title : 'Inserisci/modifica link',
|
||||
insert : 'Inserisci',
|
||||
update : 'Inserisci',
|
||||
cancel : 'Cancella',
|
||||
insert_link_url : 'Link URL',
|
||||
insert_link_target : 'Target',
|
||||
insert_link_target_same : 'Apri il link nella stessa finestra',
|
||||
insert_link_target_blank : 'Apri il link in una nuova finestra',
|
||||
insert_image_title : 'Inserisci/modifica immagine',
|
||||
insert_image_src : 'URL immagine',
|
||||
insert_image_alt : 'Descrizione dell\'immagine',
|
||||
help_desc : 'Guida',
|
||||
bold_img : "bold.gif",
|
||||
italic_img : "italic.gif",
|
||||
underline_img : "underline.gif",
|
||||
clipboard_msg : 'Copia, Taglia e Incolla non sono disponibili in Mozilla e Firefox.\nVuoi maggiori dettegli su questo problema?',
|
||||
popup_blocked : 'Spiacenti, un sistema di blocco popup ha impedito l\'apertura di una finestra necessaria per il funzionamento dell\'editor. Disabilita il blocco popup per questo sito se vuoi utilizzare tutte le funzionalità.'
|
||||
});
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
// JP lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
bold_desc : '$BB@;z(B',
|
||||
italic_desc : '$B<PBN(B',
|
||||
underline_desc : '$B2<@~(B',
|
||||
striketrough_desc : '$BKu>C@~(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:F<B9T(B',
|
||||
link_desc : '$B%j%s%/$NA^F~(B/$BJT=8(B',
|
||||
unlink_desc : '$B%j%s%/$N:o=|(B',
|
||||
image_desc : '$B2hA|$NA^F~(B/$BJT=8(B',
|
||||
cleanup_desc : '$B%3!<%I@0M}(B',
|
||||
focus_alert : '$B$3$N%3%^%s%I$r;H$&A0$K%(%G%#%?>e$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 : '$B<h$j>C$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.'
|
||||
});
|
||||
Vendored
+40
@@ -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.'
|
||||
});
|
||||
Vendored
+41
@@ -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.'
|
||||
});
|
||||
Vendored
+42
@@ -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 : 'Kopiëren/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.'
|
||||
});
|
||||
Vendored
+41
@@ -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.'
|
||||
});
|
||||
Vendored
+44
@@ -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 : 'Podkreślenie (Ctrl+U)',
|
||||
striketrough_desc : 'Przekreślenie',
|
||||
justifyleft_desc : 'Wyrównaj do lewej',
|
||||
justifycenter_desc : 'Wyrównaj do środka',
|
||||
justifyright_desc : 'Wyrównaj do prawej',
|
||||
justifyfull_desc : 'Wyrównaj na całości',
|
||||
bullist_desc : 'Lista nienumerowana',
|
||||
numlist_desc : 'Lista numerowana',
|
||||
outdent_desc : 'Zmniejsz wcięcie',
|
||||
indent_desc : 'Zwiększ wcięcie',
|
||||
undo_desc : 'Cofnij (Ctrl+Z)',
|
||||
redo_desc : 'Ponów (Ctrl+Y)',
|
||||
link_desc : 'Wstaw/edytuj link',
|
||||
unlink_desc : 'Usuń link',
|
||||
image_desc : 'Wstaw/edytuj obrazek',
|
||||
cleanup_desc : 'Usuń zbędny kod',
|
||||
focus_alert : 'Instancja edytora musi być aktywna przed użyciem tego polecenia.',
|
||||
edit_confirm : 'Czy chcesz użyć 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 : 'Otwórz link w tym samym oknie',
|
||||
insert_link_target_blank : 'Otwórz 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 dostępne dla przeglądarek Mozilla i Firefox.\nCzy chcesz uzyskać o tym więcej informacji?',
|
||||
popup_blocked : 'Niestety, ale odnotowano, że Twoja przeglądarka ma włączoną blokadę okienek popup. Musisz wyłączyć opcję blokowania okienek dla tej strony, aby TinyMCE mógł pracować z pełną funkcjonalnością.'
|
||||
});
|
||||
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
// PT lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
bold_desc : 'Negrito',
|
||||
italic_desc : 'Itálico',
|
||||
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 não ordenada',
|
||||
numlist_desc : 'Lista ordenada',
|
||||
outdent_desc : 'Retirar indentação',
|
||||
indent_desc : 'Indentar',
|
||||
undo_desc : 'Desfazer',
|
||||
redo_desc : 'Refazer',
|
||||
link_desc : 'Inserir Hiperligação',
|
||||
unlink_desc : 'Remover hiperligação',
|
||||
image_desc : 'Inserir Referência a imagem externa',
|
||||
object_desc : 'Inserir Objecto Multimédia da Galeria',
|
||||
cleanup_desc : 'Limpeza de código',
|
||||
focus_alert : 'Uma instância do editor deverá estar seleccionada antes de utilizar este comando.',
|
||||
edit_confirm : 'Deseja utilizar o modo visual de edição para ezta área de texto?',
|
||||
insert_link_title : 'Inserir/editar hiperligação',
|
||||
insert : 'Inserir',
|
||||
update : 'Actualizar',
|
||||
cancel : 'Cancelar',
|
||||
insert_link_url : 'URL de hiperligação',
|
||||
insert_link_target : 'Destino',
|
||||
insert_link_target_same : 'Abrir endereço na mesma janela',
|
||||
insert_link_target_blank : 'Abrir endereço numa nova janela',
|
||||
insert_image_title : 'Inserir/editar imagem',
|
||||
insert_image_src : 'Endereço da imagem',
|
||||
insert_image_alt : 'Descrição alt.',
|
||||
help_desc : 'Ajuda',
|
||||
bold_img : "bold.gif",
|
||||
italic_img : "italic.gif",
|
||||
underline_img : "underline.gif",
|
||||
clipboard_msg : 'Copiar/Cortar/Colar não está disponível em Mozilla and Firefox.\nPretende obter mais informação acerca desta questão?',
|
||||
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.'
|
||||
});
|
||||
Vendored
+50
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* pt_br lang variables
|
||||
* Brazilian Portuguese
|
||||
*
|
||||
* Authors : ????
|
||||
* Revision and modifications:
|
||||
* Marcio Barbosa (mpg) <mpg@mpg.com.br>
|
||||
* Last Updated : November 26, 2005
|
||||
* TinyMCE Version : 2.0RC4
|
||||
*/
|
||||
tinyMCE.addToLang('',{
|
||||
bold_desc : 'Negrito (Ctrl+B)',
|
||||
italic_desc : 'Itálico (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 não ordenada',
|
||||
numlist_desc : 'Lista ordenada',
|
||||
outdent_desc : 'Retirar indentação',
|
||||
indent_desc : 'Indentar',
|
||||
undo_desc : 'Desfazer (Ctrl+Z)',
|
||||
redo_desc : 'Refazer (Ctrl+Y)',
|
||||
link_desc : 'Inserir link',
|
||||
unlink_desc : 'Remover link',
|
||||
image_desc : 'Inserir Referência a imagem externa',
|
||||
object_desc : 'Inserir Objeto Multimídia da Galeria',
|
||||
cleanup_desc : 'Limpeza de código',
|
||||
focus_alert : 'Uma instância do editor deverá estar selecionada antes de utilizar este comando.',
|
||||
edit_confirm : 'Deseja utilizar o Modo Visual (WYSIWYG) de edição 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 : 'Endereço (URL) da imagem',
|
||||
insert_image_alt : 'Descrição da imagem',
|
||||
help_desc : 'Ajuda',
|
||||
bold_img : "bold.gif",
|
||||
italic_img : "italic.gif",
|
||||
underline_img : "underline.gif",
|
||||
clipboard_msg : 'Copiar/Cortar/Colar não está disponível no Mozilla e Firefox.\nPretende obter mais informação sobre esta questão?',
|
||||
popup_blocked : 'Desculpe, mas sabemos que seu bloqueador de popup desativou uma que permite a funcionabilidade desta aplicação. Você precisa desativar seu bloqueador de popup neste site para que possa ser utilizado todos os recursos desta ferramenta.'
|
||||
});
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
The language pack codes are based on ISO-639-2
|
||||
http://www.loc.gov/standards/iso639-2/englangn.html
|
||||
Vendored
+43
@@ -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 : 'Извините, но в Вашем браузере заблокированы всплывающие окна. Для того, чтобы иметь возможность воспользоваться всеми возможностями редактора, необходимо отключить блокировку всплывающих окон для этого сайта.'
|
||||
});
|
||||
Vendored
+43
@@ -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 : 'Извините, но в Вашем браузере заблокированы всплывающие окна. Для того, чтобы иметь возможность воспользоваться всеми возможностями редактора, необходимо отключить блокировку всплывающих окон для этого сайта.'
|
||||
});
|
||||
Vendored
+43
@@ -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 : 'Извините, но в Вашем браузере заблокированы всплывающие окна. Для того, чтобы иметь возможность воспользоваться всеми возможностями редактора, необходимо отключить блокировку всплывающих окон для этого сайта.'
|
||||
});
|
||||
Vendored
+50
@@ -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ť.'
|
||||
});
|
||||
|
||||
Vendored
+43
@@ -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.'
|
||||
});
|
||||
Vendored
+40
@@ -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.'
|
||||
});
|
||||
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
// Simplified Chinese lang variables contributed by tom_cat (thomaswangyang@gmail.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.gif",
|
||||
italic_img : "italic.gif",
|
||||
underline_img : "underline.gif",
|
||||
clipboard_msg : '剪切/复制/粘贴功能在 Mozilla 和 Firefox 浏览器中不支持。您希望获得更多的信息吗?',
|
||||
popup_blocked : '对不起, 您的浏览器禁止了弹出式窗口。为了让您使用到最完善的功能,请对本网站的弹出式窗口解除禁止。'
|
||||
});
|
||||
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com
|
||||
// 繁體中文 BIG-5 ;數位應用坊製作; 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請調整跳現視窗隔絕機制的設定,才能正常使用此功能。'
|
||||
});
|
||||
+42
@@ -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請調整跳現視窗隔絕機制的設定,才能正常使用此功能。'
|
||||
});
|
||||
@@ -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
|
||||
@@ -0,0 +1,118 @@
|
||||
/* Import plugin specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('template', 'en'); // <- 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.
|
||||
*
|
||||
****/
|
||||
|
||||
/**
|
||||
* Gets executed when a editor instance is initialized
|
||||
*/
|
||||
function TinyMCE_template_initInstance(inst) {
|
||||
// You can take out plugin specific parameters
|
||||
alert("Initialization parameter:" + tinyMCE.getParam("template_someparam", false));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets executed when a editor needs to generate a button.
|
||||
*/
|
||||
function TinyMCE_template_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
case "template":
|
||||
return '<img id="{$editor_id}_template" src="{$pluginurl}/images/template.gif" title="{$lang_template_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceTemplate\', true);" />';
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets executed when a command is called.
|
||||
*/
|
||||
function TinyMCE_template_execCommand(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 executed when the selection/cursor position was changed.
|
||||
*/
|
||||
function TinyMCE_template_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
|
||||
// Deselect template button
|
||||
tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonNormal');
|
||||
|
||||
// Select template button if parent node is a strong or b
|
||||
if (node.parentNode.nodeName == "STRONG" || node.parentNode.nodeName == "B")
|
||||
tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonSelected');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets executed when contents is inserted / retrived.
|
||||
*/
|
||||
function TinyMCE_template_cleanup(type, content) {
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
/* Import plugin specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('template', 'en,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.
|
||||
*
|
||||
****/
|
||||
|
||||
/**
|
||||
* Information about the plugin.
|
||||
*/
|
||||
function TinyMCE_template_getInfo() {
|
||||
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 editor instance is initialized
|
||||
*/
|
||||
function TinyMCE_template_initInstance(inst) {
|
||||
// You can take out plugin specific parameters
|
||||
alert("Initialization parameter:" + tinyMCE.getParam("template_someparam", false));
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets executed when a editor needs to generate a button.
|
||||
*/
|
||||
function TinyMCE_template_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
case "template":
|
||||
var cmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceTemplate\', true);return false;';
|
||||
return '<a href="javascript:' + cmd + '" onclick="' + cmd + '" target="_self" onmousedown="return false;"><img id="{$editor_id}_template" src="{$pluginurl}/images/template.gif" title="{$lang_template_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" /></a>';
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets executed when a command is called.
|
||||
*/
|
||||
function TinyMCE_template_execCommand(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 executed when the selection/cursor position was changed.
|
||||
*/
|
||||
function TinyMCE_template_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
|
||||
// Deselect template button
|
||||
tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonNormal');
|
||||
|
||||
// Select template button if parent node is a strong or b
|
||||
if (node.parentNode.nodeName == "STRONG" || node.parentNode.nodeName == "B")
|
||||
tinyMCE.switchClassSticky(editor_id + '_template', 'mceButtonSelected');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets executed when contents is inserted / retrived.
|
||||
*/
|
||||
function TinyMCE_template_cleanup(type, content) {
|
||||
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;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 87 B |
@@ -0,0 +1,8 @@
|
||||
// DK lang variables contributed by Jan Moelgaard
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Dette er bare en pop-up-skabelon',
|
||||
template_desc : 'Dette er bare en testknap'
|
||||
});
|
||||
@@ -0,0 +1,9 @@
|
||||
// DE lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
/* Sprachparameter müssen als lang_<Eigenes Plugin>_<Eigener Name> definiert werden */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Dies ist nur ein Beispiel-Popup',
|
||||
template_desc : 'Dies ist nur ein Beispiel-Button'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// UK lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'This is just a template popup',
|
||||
template_desc : 'This is just a template button'
|
||||
});
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* ES lang variables
|
||||
*
|
||||
* Authors : Alvaro Velasco,
|
||||
* Adolfo Sanz De Diego (asanzdiego) <asanzdiego@yahoo.es>,
|
||||
* Carlos C Soto (eclipxe) <csoto@sia-solutions.com>
|
||||
* Last Updated : October 17, 2005
|
||||
* TinyMCE Version : 2.0RC3
|
||||
*/
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Esto es solo la plantilla de un popup',
|
||||
template_desc : 'Esto es solo la plantilla de un botón'
|
||||
});
|
||||
@@ -0,0 +1,9 @@
|
||||
// Canadian French lang variables by Virtuelcom last modification: 2005-06-15
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
|
||||
/* N'oubliez pas d'identifer les paramètres de langue ainsi: <votre plugin>_<un nom> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Texte qui apparaîtra sous forme de titre dans la fenêtre pop-up de votre plugin',
|
||||
template_desc : 'Texte qui apparaîtra sous forme d\'info-bulle au survol du bouton de votre plugin'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// Canadian French lang variables by Virtuelcom last modification: 2005-06-15
|
||||
|
||||
/* Remember to namespace the language parameters <your plugin>_<some name> */
|
||||
|
||||
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'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// HE lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'æä ñúí çìåï ÷åôõ ùì äúáðéú',
|
||||
template_desc : 'æä ñúí ëôúåø ùì äúáðéú'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// HU lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Ez csak egy példa popup',
|
||||
template_desc : 'Ez csak egy példa gomb'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// Iceland lang variables by Johannes Birgir Jensson
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Þetta er sniðmátsgluggi',
|
||||
template_desc : 'Þetta er sniðmátstakki'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// nb = Norwegian (bokmål) lang variables by Knut B. Jacobsen
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Dette er bare en template popup',
|
||||
template_desc : 'Dette er bare en template knapp'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// NL lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Dit is slechts een voorbeeldpopup',
|
||||
template_desc : 'Dit is slechts een voorbeeldknop'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Dette er berre ein template popup',
|
||||
template_desc : 'Dette er berre ein template knapp'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// PL lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'To jest szablon okna popup',
|
||||
template_desc : 'To jest szablon przycisku'
|
||||
});
|
||||
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* pt_br lang variables
|
||||
* Brazilian Portuguese
|
||||
*
|
||||
* Authors :
|
||||
* Marcio Barbosa (mpg) <mpg@mpg.com.br>
|
||||
* Last Updated : November 26, 2005
|
||||
* TinyMCE Version : 2.0RC4
|
||||
*/
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Este é só um modêlo de popup',
|
||||
template_desc : 'Este é só um modêlo de botão'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// RU cp1251 lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Ýòî øàáëîí äëÿ popup',
|
||||
template_desc : 'Ýòî øàáëîí äëÿ êíîïêè'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// RU KOI8-R lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'üÔÏ ÛÁÂÌÏÎ ÄÌÑ popup',
|
||||
template_desc : 'üÔÏ ÛÁÂÌÏÎ ÄÌÑ ËÎÏÐËÉ'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// RU UTF-8 lang variables
|
||||
|
||||
/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : 'Это шаблон для popup',
|
||||
template_desc : 'Это шаблон для кнопки'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// Simplified Chinese lang variables contributed by tom_cat (thomaswangyang@gmail.com)
|
||||
|
||||
/* Remember to namespace the language parameters <your plugin>_<some name> */
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
template_title : '这是一个模板弹出窗口',
|
||||
template_desc : '这是一个模板按钮'
|
||||
});
|
||||
Whitespace-only changes.
@@ -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 : '樣式按鈕'
|
||||
});
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$lang_template_title}</title>
|
||||
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
<!--
|
||||
function init() {
|
||||
var inst = tinyMCE.selectedInstance;
|
||||
var elm = inst.getFocusElement();
|
||||
|
||||
alert("Got a window argument from plugin: " + tinyMCE.getWindowArg('some_custom_arg'));
|
||||
|
||||
// Set the form item value to the selected node element name
|
||||
document.forms[0].nodename.value = elm.nodeName;
|
||||
}
|
||||
|
||||
function insertSomething() {
|
||||
// Execute the mceTemplate command without UI this time
|
||||
tinyMCEPopup.execCommand('mceTemplate');
|
||||
|
||||
// Close the dialog
|
||||
tinyMCEPopup.close();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<base target="_self" />
|
||||
</head>
|
||||
<body onload="tinyMCEPopup.executeOnLoad('init();');">
|
||||
<form onsubmit="insert();return false;">
|
||||
<h3>{$lang_template_title}</h3>
|
||||
|
||||
<!-- Gets filled with the selected elements name -->
|
||||
<div style="margin-top: 10px; margin-bottom: 10px">
|
||||
The selected element name: <input type="text" name="nodename" />
|
||||
</div>
|
||||
|
||||
<div class="mceActionPanel">
|
||||
<div style="float: left">
|
||||
<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertSomething();" />
|
||||
</div>
|
||||
|
||||
<div style="float: right">
|
||||
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
This is a template/tutorial plugin that where created to help you in the development of own plugins for TinyMCE.
|
||||
@@ -0,0 +1 @@
|
||||
tinyMCE.importPluginLanguagePack('advhr','en,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');function TinyMCE_advhr_getInfo(){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};};function TinyMCE_advhr_getControlHTML(control_name){switch(control_name){case "advhr":var cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceAdvancedHr\');return false;';return '<a href="javascript:'+cmd+'" onclick="'+cmd+'" target="_self" onmousedown="return false;"><img id="{$editor_id}_advhr" src="{$pluginurl}/images/advhr.gif" title="{$lang_insert_advhr_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" /></a>';}return "";}function TinyMCE_advhr_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceAdvancedHr":var template=new Array();template['file']='../../plugins/advhr/rule.htm';template['width']=270;template['height']=180;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,'<hr />');}else{tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",size:size,width:width,noshade:noshade,mceDo:'insert'});}}return true;}return false;}function TinyMCE_advhr_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){tinyMCE.switchClassSticky(editor_id+'_advhr','mceButtonNormal');if(node==null)return;do{if(node.nodeName.toLowerCase()=="hr")tinyMCE.switchClassSticky(editor_id+'_advhr','mceButtonSelected');}while((node=node.parentNode));return true;}
|
||||
@@ -0,0 +1,75 @@
|
||||
/* Import plugin specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('advhr', 'en,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');
|
||||
|
||||
function TinyMCE_advhr_getInfo() {
|
||||
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
|
||||
};
|
||||
};
|
||||
|
||||
function TinyMCE_advhr_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
case "advhr":
|
||||
var cmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceAdvancedHr\');return false;';
|
||||
return '<a href="javascript:' + cmd + '" onclick="' + cmd + '" target="_self" onmousedown="return false;"><img id="{$editor_id}_advhr" src="{$pluginurl}/images/advhr.gif" title="{$lang_insert_advhr_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" /></a>';
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the mceAdvanceHr command.
|
||||
*/
|
||||
function TinyMCE_advhr_execCommand(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'] = 270;
|
||||
template['height'] = 180;
|
||||
|
||||
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,'<hr />');
|
||||
} 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;
|
||||
}
|
||||
|
||||
function TinyMCE_advhr_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
|
||||
tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonNormal');
|
||||
|
||||
if (node == null)
|
||||
return;
|
||||
|
||||
do {
|
||||
if (node.nodeName.toLowerCase() == "hr")
|
||||
tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonSelected');
|
||||
} while ((node = node.parentNode));
|
||||
|
||||
return true;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 153 B |
@@ -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'));
|
||||
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 = '<hr';
|
||||
if (size!='' && size!=0) {
|
||||
html += ' size="' + size + '"';
|
||||
}
|
||||
if (width!='' && width!=0) {
|
||||
html += ' width="' + width;
|
||||
if (formObj.width2.value=='%') {
|
||||
html += '%';
|
||||
}
|
||||
html += '"';
|
||||
}
|
||||
if (formObj.noshade.checked==true) {
|
||||
html += ' noshade="noshade"';
|
||||
}
|
||||
html += ' />';
|
||||
|
||||
tinyMCEPopup.execCommand("mceInsertContent", true, html);
|
||||
tinyMCEPopup.close();
|
||||
}
|
||||
|
||||
function cancelAction() {
|
||||
tinyMCEPopup.close();
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Czech lang variables
|
||||
* encoding: utf-8
|
||||
*
|
||||
* $Id: cs.js,v 1.4 2005/10/18 13:59:21 spocke Exp $
|
||||
*/
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Vložit/editovat vodorovný oddělovač',
|
||||
insert_advhr_width : 'Šířka',
|
||||
insert_advhr_size : 'Výška',
|
||||
insert_advhr_noshade : 'Nestínovat'
|
||||
});
|
||||
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// Welsh lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Mewnosod/golygu llinell llorweddol',
|
||||
insert_advhr_width : 'Lled',
|
||||
insert_advhr_size : 'Uchder',
|
||||
insert_advhr_noshade : 'Dim cysgod'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// DK lang variables contributed by Jan Moelgaard
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Indsæt / rediger horisontal bjælke',
|
||||
insert_advhr_width : 'Bredde',
|
||||
insert_advhr_size : 'Højde',
|
||||
insert_advhr_noshade : 'Ingen skygge'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// DE lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Horizontale Linie einfügen/bearbeiten',
|
||||
insert_advhr_width : 'Breite',
|
||||
insert_advhr_size : 'Höhe',
|
||||
insert_advhr_noshade : 'Keinen Schatten'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// UK lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Insert / edit Horizontale Rule',
|
||||
insert_advhr_width : 'Width',
|
||||
insert_advhr_size : 'Height',
|
||||
insert_advhr_noshade : 'No shadow'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// ES lang variables by Alvaro Velasco and Adolfo Sanz De Diego (asanzdiego) <asanzdiego@yahoo.es>
|
||||
// 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'
|
||||
});
|
||||
+13
@@ -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 : '???? ????'
|
||||
});
|
||||
+8
@@ -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'
|
||||
});
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// French lang variables by Laurent Dran
|
||||
// Modifié par Normand Lamoureux le 2005-11-12
|
||||
|
||||
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'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// CA_FR lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Insérer / Modifier Séparateur Horizontal',
|
||||
insert_advhr_width : 'Largeur',
|
||||
insert_advhr_size : 'Hauteur',
|
||||
insert_advhr_noshade : 'Sans ombrage'
|
||||
});
|
||||
+8
@@ -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 : 'ììà öì'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// HU lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Vízszintes vonal beillesztése / szerkesztése',
|
||||
insert_advhr_width : 'Hosszúság',
|
||||
insert_advhr_size : 'Szélesség',
|
||||
insert_advhr_noshade : 'Nincs árnyék'
|
||||
});
|
||||
+8
@@ -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'
|
||||
});
|
||||
+8
@@ -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'
|
||||
});
|
||||
+8
@@ -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'
|
||||
});
|
||||
+8
@@ -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'
|
||||
});
|
||||
+11
@@ -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'
|
||||
});
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* pt_br lang variables
|
||||
* Brazilian Portuguese
|
||||
*
|
||||
* Authors : ????
|
||||
* Revision and modifications:
|
||||
* Marcio Barbosa (mpg) <mpg@mpg.com.br>
|
||||
* 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'
|
||||
});
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// RU cp1251 lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Âñòàâèòü / ðåäàêòèðîâàòü ãîðèçîíòàëüíûé ðàçäåëèòåëü',
|
||||
insert_advhr_width : 'Øèðèíà',
|
||||
insert_advhr_size : 'Âûñîòà',
|
||||
insert_advhr_noshade : 'Áåç òåíè'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// RU KOI8-R lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : '÷ÓÔÁ×ÉÔØ / ÒÅÄÁËÔÉÒÏ×ÁÔØ ÇÏÒÉÚÏÎÔÁÌØÎÙÊ ÒÁÚÄÅÌÉÔÅÌØ',
|
||||
insert_advhr_width : 'ûÉÒÉÎÁ',
|
||||
insert_advhr_size : '÷ÙÓÏÔÁ',
|
||||
insert_advhr_noshade : 'âÅÚ ÔÅÎÉ'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// RU UTF-8 lang variables
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : 'Вставить / редактировать горизонтальный разделитель',
|
||||
insert_advhr_width : 'Ширина',
|
||||
insert_advhr_size : 'Высота',
|
||||
insert_advhr_noshade : 'Без тени'
|
||||
});
|
||||
+16
@@ -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ť'
|
||||
});
|
||||
|
||||
+8
@@ -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'
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
// Simplified Chinese lang variables contributed by tom_cat (thomaswangyang@gmail.com)
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : '插入/编辑 水平标尺',
|
||||
insert_advhr_width : '宽度',
|
||||
insert_advhr_size : '高度',
|
||||
insert_advhr_noshade : '无阴影'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com
|
||||
// 繁體中文 BIG-5 ;數位應用坊製作; twapweb_AT_gmail_DOT_com
|
||||
|
||||
|
||||
tinyMCE.addToLang('',{
|
||||
insert_advhr_desc : '插入或編輯水平線',
|
||||
insert_advhr_width : '寬',
|
||||
insert_advhr_size : '高',
|
||||
insert_advhr_noshade : '無陰影'
|
||||
});
|
||||
@@ -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 : '無陰影'
|
||||
});
|
||||
+1
@@ -0,0 +1 @@
|
||||
Check the TinyMCE documentation for details on this plugin.
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$lang_insert_link_title}</title>
|
||||
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="jscripts/rule.js"></script>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
input.radio {
|
||||
border: 1px none #000000;
|
||||
background-color: transparent;
|
||||
vertical-align: middle;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
<base target="_self" />
|
||||
</head>
|
||||
<body onload="tinyMCEPopup.executeOnLoad('init();');">
|
||||
<form onsubmit="insertHR();return false;" action="#">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td align="center" valign="middle"><table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td colspan="2" class="title">{$lang_insert_advhr_desc}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">{$lang_insert_advhr_width}:</td>
|
||||
<td nowrap="nowrap">
|
||||
<input name="width" type="text" id="width" value="" style="width: 50px; vertical-align: middle;" />
|
||||
<select name="width2" id="width2" style="width: 50px; vertical-align: middle;">
|
||||
<option value="">px</option>
|
||||
<option value="%">%</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" valign="top">{$lang_insert_advhr_size}:</td>
|
||||
<td><select id="size" name="size" style="width: 100px;">
|
||||
<option value="">Normal</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right" valign="top"><input type="checkbox" name="noshade" id="noshade" class="radio" /></td>
|
||||
<td><label for="noshade">{$lang_insert_advhr_noshade}</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="button" name="insert" value="{$lang_insert}" onclick="insertHR();" id="insert" /></td>
|
||||
<td align="right"><input type="button" name="cancel" value="{$lang_cancel}" onclick="cancelAction();" id="cancel" /></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -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: 0px;
|
||||
}
|
||||
|
||||
.panel_wrapper div.current {
|
||||
height: 305px;
|
||||
}
|
||||
|
||||
#prev {
|
||||
margin:0px;
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
tinyMCE.importPluginLanguagePack('advimage','en,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');function TinyMCE_advimage_getInfo(){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};};function TinyMCE_advimage_getControlHTML(control_name){switch(control_name){case "image":var cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceAdvImage\');return false;';return '<a href="javascript:'+cmd+'" onclick="'+cmd+'" target="_self" onmousedown="return false;"><img id="{$editor_id}_advimage" src="{$themeurl}/images/image.gif" title="{$lang_image_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreClass(this);" /></a>';}return "";}function TinyMCE_advimage_execCommand(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;}function TinyMCE_advimage_cleanup(type,content){switch(type){case "insert_to_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){var onmouseover=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseover'));var onmouseout=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseout'));if((src=tinyMCE.getImageSrc(onmouseover))!=""){if(tinyMCE.getParam('convert_urls'))src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);imgs[i].setAttribute('onmouseover',"this.src='"+src+"';");}if((src=tinyMCE.getImageSrc(onmouseout))!=""){if(tinyMCE.getParam('convert_urls'))src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);imgs[i].setAttribute('onmouseout',"this.src='"+src+"';");}}break;case "get_from_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){var onmouseover=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseover'));var onmouseout=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseout'));if((src=tinyMCE.getImageSrc(onmouseover))!=""){if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, null, true);");imgs[i].setAttribute('onmouseover',"this.src='"+src+"';");}if((src=tinyMCE.getImageSrc(onmouseout))!=""){if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, null, true);");imgs[i].setAttribute('onmouseout',"this.src='"+src+"';");}}break;}return content;}function TinyMCE_advimage_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){tinyMCE.switchClassSticky(editor_id+'_advimage','mceButtonNormal');if(node==null)return;do{if(node.nodeName=="IMG"&&tinyMCE.getAttrib(node,'class').indexOf('mceItem')==-1)tinyMCE.switchClassSticky(editor_id+'_advimage','mceButtonSelected');}while((node=node.parentNode));return true;}
|
||||
@@ -0,0 +1,113 @@
|
||||
/* Import plugin specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('advimage', 'en,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');
|
||||
|
||||
function TinyMCE_advimage_getInfo() {
|
||||
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
|
||||
};
|
||||
};
|
||||
|
||||
function TinyMCE_advimage_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
case "image":
|
||||
var cmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceAdvImage\');return false;';
|
||||
return '<a href="javascript:' + cmd + '" onclick="' + cmd + '" target="_self" onmousedown="return false;"><img id="{$editor_id}_advimage" src="{$themeurl}/images/image.gif" title="{$lang_image_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreClass(this);" /></a>';
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
function TinyMCE_advimage_execCommand(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;
|
||||
|
||||
// Language specific width and height addons
|
||||
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;
|
||||
}
|
||||
|
||||
function TinyMCE_advimage_cleanup(type, content) {
|
||||
switch (type) {
|
||||
case "insert_to_editor_dom":
|
||||
var imgs = content.getElementsByTagName("img");
|
||||
for (var i=0; i<imgs.length; i++) {
|
||||
var onmouseover = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseover'));
|
||||
var onmouseout = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseout'));
|
||||
|
||||
if ((src = tinyMCE.getImageSrc(onmouseover)) != "") {
|
||||
if (tinyMCE.getParam('convert_urls'))
|
||||
src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
|
||||
|
||||
imgs[i].setAttribute('onmouseover', "this.src='" + src + "';");
|
||||
}
|
||||
|
||||
if ((src = tinyMCE.getImageSrc(onmouseout)) != "") {
|
||||
if (tinyMCE.getParam('convert_urls'))
|
||||
src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
|
||||
|
||||
imgs[i].setAttribute('onmouseout', "this.src='" + src + "';");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case "get_from_editor_dom":
|
||||
var imgs = content.getElementsByTagName("img");
|
||||
for (var i=0; i<imgs.length; i++) {
|
||||
var onmouseover = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseover'));
|
||||
var onmouseout = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseout'));
|
||||
|
||||
if ((src = tinyMCE.getImageSrc(onmouseover)) != "") {
|
||||
if (tinyMCE.getParam('convert_urls'))
|
||||
src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");
|
||||
|
||||
imgs[i].setAttribute('onmouseover', "this.src='" + src + "';");
|
||||
}
|
||||
|
||||
if ((src = tinyMCE.getImageSrc(onmouseout)) != "") {
|
||||
if (tinyMCE.getParam('convert_urls'))
|
||||
src = eval(tinyMCE.settings['urlconverter_callback'] + "(src, null, true);");
|
||||
|
||||
imgs[i].setAttribute('onmouseout', "this.src='" + src + "';");
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return content;
|
||||
}
|
||||
|
||||
function TinyMCE_advimage_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
|
||||
tinyMCE.switchClassSticky(editor_id + '_advimage', 'mceButtonNormal');
|
||||
|
||||
if (node == null)
|
||||
return;
|
||||
|
||||
do {
|
||||
if (node.nodeName == "IMG" && tinyMCE.getAttrib(node, 'class').indexOf('mceItem') == -1)
|
||||
tinyMCE.switchClassSticky(editor_id + '_advimage', 'mceButtonSelected');
|
||||
} while ((node = node.parentNode));
|
||||
|
||||
return true;
|
||||
}
|
||||
+240
@@ -0,0 +1,240 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>{$lang_insert_image_title}</title>
|
||||
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="jscripts/functions.js"></script>
|
||||
<link href="css/advimage.css" rel="stylesheet" type="text/css" />
|
||||
<base target="_self" />
|
||||
</head>
|
||||
<body id="advimage" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
|
||||
<form onsubmit="insertAction();return false;" action="#">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_advimage_tab_general}</a></span></li>
|
||||
<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{$lang_advimage_tab_appearance}</a></span></li>
|
||||
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_advimage_tab_advanced}</a></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel_wrapper">
|
||||
<div id="general_panel" class="panel current">
|
||||
<fieldset>
|
||||
<legend>{$lang_advimage_general}</legend>
|
||||
|
||||
<table class="properties">
|
||||
<tr>
|
||||
<td class="column1"><label id="srclabel" for="src">{$lang_insert_image_src}</label></td>
|
||||
<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><input name="src" type="text" id="src" value="" onchange="showPreviewImage(this.value);" /></td>
|
||||
<td id="srcbrowsercontainer"> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr id="imagelistsrcrow">
|
||||
<td class="column1"><label for="imagelistsrc">{$lang_image_list}</label></td>
|
||||
<td colspan="2" id="imagelistsrccontainer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label id="altlabel" for="alt">{$lang_insert_image_alt}</label></td>
|
||||
<td colspan="2"><input id="alt" name="alt" type="text" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label id="titlelabel" for="title">{$lang_advimage_title}</label></td>
|
||||
<td colspan="2"><input id="title" name="title" type="text" value="" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_advimage_preview}</legend>
|
||||
<div id="prev"></div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id="appearance_panel" class="panel">
|
||||
<fieldset>
|
||||
<legend>{$lang_advimage_tab_appearance}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label id="alignlabel" for="align">{$lang_insert_image_align}</label></td>
|
||||
<td><select id="align" name="align" onchange="changeAppearance();">
|
||||
<option value="">{$lang_insert_image_align_default}</option>
|
||||
<option value="baseline">{$lang_insert_image_align_baseline}</option>
|
||||
<option value="top">{$lang_insert_image_align_top}</option>
|
||||
<option value="middle">{$lang_insert_image_align_middle}</option>
|
||||
<option value="bottom">{$lang_insert_image_align_bottom}</option>
|
||||
<option value="texttop">{$lang_insert_image_align_texttop}</option>
|
||||
<option value="absmiddle">{$lang_insert_image_align_absmiddle}</option>
|
||||
<option value="absbottom">{$lang_insert_image_align_absbottom}</option>
|
||||
<option value="left">{$lang_insert_image_align_left}</option>
|
||||
<option value="right">{$lang_insert_image_align_right}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td rowspan="6" valign="top">
|
||||
<div class="alignPreview">
|
||||
<img id="alignSampleImg" src="images/sample.gif" alt="{$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.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="widthlabel" for="width">{$lang_insert_image_dimensions}</label></td>
|
||||
<td nowrap="nowrap">
|
||||
<input name="width" type="text" id="width" value="" size="5" maxlength="5" onchange="changeHeight();" /> x
|
||||
<input name="height" type="text" id="height" value="" size="5" maxlength="5" onchange="changeWidth();" /> px
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
|
||||
<td><label id="constrainlabel" for="constrain">{$lang_advimage_constrain_proportions}</label></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="vspacelabel" for="vspace">{$lang_insert_image_vspace}</label></td>
|
||||
<td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" onchange="changeAppearance();updateStyle();" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="hspacelabel" for="hspace">{$lang_insert_image_hspace}</label></td>
|
||||
<td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" onchange="changeAppearance();updateStyle();" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="borderlabel" for="border">{$lang_insert_image_border}</label></td>
|
||||
<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="changeAppearance();updateStyle();" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><label id="classlabel" for="classlist">{$lang_class_name}</label></td>
|
||||
<td colspan="2">
|
||||
<select id="classlist" name="classlist">
|
||||
<option value="" selected>{$lang_not_set}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="stylelabel" for="style">{$lang_advimage_style}</label></td>
|
||||
<td colspan="2"><input id="style" name="style" type="text" value="" onchange="styleUpdated();" /></td>
|
||||
</tr>
|
||||
|
||||
<!-- <tr>
|
||||
<td class="column1"><label id="classeslabel" for="classes">{$lang_advimage_classes}</label></td>
|
||||
<td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td>
|
||||
</tr> -->
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id="advanced_panel" class="panel">
|
||||
<fieldset>
|
||||
<legend>{$lang_advimage_swap_image}</legend>
|
||||
|
||||
<input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="changeMouseMove();" />
|
||||
<label id="onmousemovechecklabel" for="onmousemovecheck">{$lang_advimage_alt_image}</label>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{$lang_advimage_mouseover}</label></td>
|
||||
<td><table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td>
|
||||
<td id="onmouseoversrccontainer"> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr id="imagelistoverrow">
|
||||
<td class="column1"><label for="imagelistover">{$lang_image_list}</label></td>
|
||||
<td id="imagelistovercontainer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{$lang_advimage_mouseout}</label></td>
|
||||
<td class="column2"><table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td>
|
||||
<td id="onmouseoutsrccontainer"> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr id="imagelistoutrow">
|
||||
<td class="column1"><label for="imagelistout">{$lang_image_list}</label></td>
|
||||
<td id="imagelistoutcontainer"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{$lang_advimage_misc}</legend>
|
||||
|
||||
<table border="0" cellpadding="4" cellspacing="0">
|
||||
<tr>
|
||||
<td class="column1"><label id="idlabel" for="id">{$lang_advimage_id}</label></td>
|
||||
<td><input id="id" name="id" type="text" value="" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="dirlabel" for="dir">{$lang_advimage_langdir}</label></td>
|
||||
<td>
|
||||
<select id="dir" name="dir" onchange="changeAppearance();">
|
||||
<option value="">{$lang_not_set}</option>
|
||||
<option value="ltr">{$lang_advimage_ltr}</option>
|
||||
<option value="rtl">{$lang_advimage_rtl}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="langlabel" for="lang">{$lang_advimage_langcode}</label></td>
|
||||
<td>
|
||||
<input id="lang" name="lang" type="text" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="usemaplabel" for="usemap">{$lang_advimage_image_map}</label></td>
|
||||
<td>
|
||||
<input id="usemap" name="usemap" type="text" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="column1"><label id="longdesclabel" for="longdesc">{$lang_advimage_long_desc}</label></td>
|
||||
<td><table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><input id="longdesc" name="longdesc" type="text" value="" /></td>
|
||||
<td id="longdesccontainer"> </td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mceActionPanel">
|
||||
<div style="float: left">
|
||||
<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertAction();" />
|
||||
</div>
|
||||
|
||||
<div style="float: right">
|
||||
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="cancelAction();" />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
@@ -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('<sc'+'ript language="javascript" type="text/javascript" src="' + url + '"></sc'+'ript>');
|
||||
}
|
||||
}
|
||||
|
||||
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, '<');
|
||||
value = value.replace(/>/g, '&gr;');
|
||||
|
||||
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 = "<img";
|
||||
|
||||
html += makeAttrib('src', convertURL(src, tinyMCE.imgElement));
|
||||
html += makeAttrib('mce_src', src);
|
||||
html += makeAttrib('alt');
|
||||
html += makeAttrib('title');
|
||||
html += makeAttrib('border');
|
||||
html += makeAttrib('vspace');
|
||||
html += makeAttrib('hspace');
|
||||
html += makeAttrib('width');
|
||||
html += makeAttrib('height');
|
||||
html += makeAttrib('onmouseover', onmouseoversrc);
|
||||
html += makeAttrib('onmouseout', onmouseoutsrc);
|
||||
html += makeAttrib('id');
|
||||
html += makeAttrib('dir');
|
||||
html += makeAttrib('lang');
|
||||
html += makeAttrib('longdesc');
|
||||
html += makeAttrib('usemap');
|
||||
html += makeAttrib('style');
|
||||
html += makeAttrib('class', getSelectValue(formObj, 'classlist'));
|
||||
html += makeAttrib('align', getSelectValue(formObj, 'align'));
|
||||
html += " />";
|
||||
|
||||
tinyMCEPopup.execCommand("mceInsertContent", false, html);
|
||||
}
|
||||
|
||||
tinyMCE._setEventsEnabled(inst.getBody(), false);
|
||||
tinyMCEPopup.close();
|
||||
}
|
||||
|
||||
function cancelAction() {
|
||||
tinyMCEPopup.close();
|
||||
}
|
||||
|
||||
function changeAppearance() {
|
||||
var formObj = document.forms[0];
|
||||
var img = document.getElementById('alignSampleImg');
|
||||
|
||||
if (img) {
|
||||
img.align = formObj.align.value;
|
||||
img.border = formObj.border.value;
|
||||
img.hspace = formObj.hspace.value;
|
||||
img.vspace = formObj.vspace.value;
|
||||
}
|
||||
}
|
||||
|
||||
function changeMouseMove() {
|
||||
var formObj = document.forms[0];
|
||||
|
||||
setSwapImageDisabled(!formObj.onmousemovecheck.checked);
|
||||
}
|
||||
|
||||
function updateStyle() {
|
||||
var formObj = document.forms[0];
|
||||
var st = tinyMCE.parseStyle(formObj.style.value);
|
||||
|
||||
if (tinyMCE.getParam('inline_styles', false)) {
|
||||
st['width'] = formObj.width.value == '' ? '' : formObj.width.value + "px";
|
||||
st['height'] = formObj.height.value == '' ? '' : formObj.height.value + "px";
|
||||
st['border-width'] = formObj.border.value == '' ? '' : formObj.border.value + "px";
|
||||
st['margin-top'] = formObj.vspace.value == '' ? '' : formObj.vspace.value + "px";
|
||||
st['margin-bottom'] = formObj.vspace.value == '' ? '' : formObj.vspace.value + "px";
|
||||
st['margin-left'] = formObj.hspace.value == '' ? '' : formObj.hspace.value + "px";
|
||||
st['margin-right'] = formObj.hspace.value == '' ? '' : formObj.hspace.value + "px";
|
||||
} else {
|
||||
st['width'] = st['height'] = st['border-width'] = null;
|
||||
|
||||
if (st['margin-top'] == st['margin-bottom'])
|
||||
st['margin-top'] = st['margin-bottom'] = null;
|
||||
|
||||
if (st['margin-left'] == st['margin-right'])
|
||||
st['margin-left'] = st['margin-right'] = null;
|
||||
}
|
||||
|
||||
formObj.style.value = tinyMCE.serializeStyle(st);
|
||||
}
|
||||
|
||||
function styleUpdated() {
|
||||
var formObj = document.forms[0];
|
||||
var st = tinyMCE.parseStyle(formObj.style.value);
|
||||
|
||||
if (st['width'])
|
||||
formObj.width.value = st['width'].replace('px', '');
|
||||
|
||||
if (st['height'])
|
||||
formObj.height.value = st['height'].replace('px', '');
|
||||
|
||||
if (st['margin-top'] && st['margin-top'] == st['margin-bottom'])
|
||||
formObj.vspace.value = st['margin-top'].replace('px', '');
|
||||
|
||||
if (st['margin-left'] && st['margin-left'] == st['margin-right'])
|
||||
formObj.hspace.value = st['margin-left'].replace('px', '');
|
||||
|
||||
if (st['border-width'])
|
||||
formObj.border.value = st['border-width'].replace('px', '');
|
||||
}
|
||||
|
||||
function changeHeight() {
|
||||
var formObj = document.forms[0];
|
||||
|
||||
if (!formObj.constrain.checked || !preloadImg) {
|
||||
updateStyle();
|
||||
return;
|
||||
}
|
||||
|
||||
if (formObj.width.value == "" || formObj.height.value == "")
|
||||
return;
|
||||
|
||||
var temp = (formObj.width.value / preloadImg.width) * preloadImg.height;
|
||||
formObj.height.value = temp.toFixed(0);
|
||||
updateStyle();
|
||||
}
|
||||
|
||||
function changeWidth() {
|
||||
var formObj = document.forms[0];
|
||||
|
||||
if (!formObj.constrain.checked || !preloadImg) {
|
||||
updateStyle();
|
||||
return;
|
||||
}
|
||||
|
||||
if (formObj.width.value == "" || formObj.height.value == "")
|
||||
return;
|
||||
|
||||
var temp = (formObj.height.value / preloadImg.height) * preloadImg.width;
|
||||
formObj.width.value = temp.toFixed(0);
|
||||
updateStyle();
|
||||
}
|
||||
|
||||
function onSelectMainImage(target_form_element, name, value) {
|
||||
var formObj = document.forms[0];
|
||||
|
||||
formObj.alt.value = name;
|
||||
formObj.title.value = name;
|
||||
|
||||
resetImageData();
|
||||
showPreviewImage(formObj.elements[target_form_element].value, false);
|
||||
}
|
||||
|
||||
function showPreviewImage(src, start) {
|
||||
var formObj = document.forms[0];
|
||||
|
||||
selectByValue(document.forms[0], 'imagelistsrc', src);
|
||||
|
||||
var elm = document.getElementById('prev');
|
||||
var src = src == "" ? src : tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
|
||||
|
||||
if (!start && tinyMCE.getParam("advimage_update_dimensions_onchange", true))
|
||||
resetImageData();
|
||||
|
||||
if (src == "")
|
||||
elm.innerHTML = "";
|
||||
else
|
||||
elm.innerHTML = '<img src="' + src + '" border="0" />'
|
||||
|
||||
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 += '<select id="' + elm_id + '" name="' + elm_id + '"';
|
||||
html += ' class="mceImageList" onfocus="tinyMCE.addSelectAccessibility(event, this, window);" onchange="this.form.' + target_form_element + '.value=';
|
||||
html += 'this.options[this.selectedIndex].value;';
|
||||
|
||||
if (typeof(onchange_func) != "undefined")
|
||||
html += onchange_func + '(\'' + target_form_element + '\',this.options[this.selectedIndex].text,this.options[this.selectedIndex].value);';
|
||||
|
||||
html += '"><option value="">---</option>';
|
||||
|
||||
for (var i=0; i<tinyMCEImageList.length; i++)
|
||||
html += '<option value="' + tinyMCEImageList[i][1] + '">' + tinyMCEImageList[i][0] + '</option>';
|
||||
|
||||
html += '</select>';
|
||||
|
||||
return html;
|
||||
|
||||
// tinyMCE.debug('-- image list start --', html, '-- image list end --');
|
||||
}
|
||||
|
||||
// While loading
|
||||
preinit();
|
||||
Loaded 100 of 1198 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user