From: Art Cancro
Date: Fri, 30 Jan 2009 18:32:36 +0000 (+0000)
Subject: * Re-added tiny_mce, this time with the language packs
X-Git-Tag: v7.86~1533
X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=7ce246db4a173b9c738e8e160f8d0030d4e82d78;p=citadel.git
* Re-added tiny_mce, this time with the language packs
---
diff --git a/webcit/tiny_mce/langs/da.js b/webcit/tiny_mce/langs/da.js
new file mode 100644
index 000000000..6b638c6b0
--- /dev/null
+++ b/webcit/tiny_mce/langs/da.js
@@ -0,0 +1,155 @@
+tinyMCE.addI18n({da:{
+common:{
+edit_confirm:"Vil du bruge den avancerede tekstredigering?",
+apply:"Anvend",
+insert:"Inds\u00E6t",
+update:"Opdater",
+cancel:"Annuller",
+close:"Luk",
+browse:"Gennemse",
+class_name:"Klasse",
+not_set:"-- Ikke sat --",
+clipboard_msg:"Kopier/Klip/inds\u00E6t er ikke muligt i Mozilla eller Firefox.\nVil du have mere information om dette emne?",
+clipboard_no_support:"P\u00E5 nuv\u00E6rende tidspunkt ikke supporteret af din browser. Anvend i stedet genvejene p\u00E5 tastaturet.",
+popup_blocked:"Undskyld, men vi har noteret os, at din popup-blocker har forhindret et vindue, der giver programmet funktionalitet, at \u00E5bne op. Hvis du vil have den fulde funktionalitet, m\u00E5 du sl\u00E5 popup-blockeren fra for dette websted.",
+invalid_data:"Fejl: Forkerte v\u00E6rdier indtastet i felter markeret med r\u00F8d.",
+more_colors:"Flere farver"
+},
+contextmenu:{
+align:"Justering",
+left:"Venstre",
+center:"Centreret",
+right:"H\u00F8jre",
+full:"Lige marginer"
+},
+insertdatetime:{
+date_fmt:"%Y-%m-%d",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Inds\u00E6t dato",
+inserttime_desc:"Inds\u00E6t klokkeslet",
+months_long:"Januar,Februar,Marts,April,Maj,Juni,Juli,August,September,Oktober,November,December",
+months_short:"Jan,Feb,Mar,Apr,Maj,Jun,Jul,Aug,Sep,Okt,Nov,Dec",
+day_long:"S\u00F8ndag,Mandag,Tirsdag,Onsdag,Torsdag,Fredag,L\u00F8rdag,S\u00F8ndag",
+day_short:"S\u00F8n,Man,Tir,Ons,Tors,Fre,L\u00F8r,S\u00F8n"
+},
+print:{
+print_desc:"Udskriv"
+},
+preview:{
+preview_desc:"Vis udskrift"
+},
+directionality:{
+ltr_desc:"Retning venstre mod h\u00F8jre",
+rtl_desc:"Retning h\u00F8jre mod venstre"
+},
+layer:{
+insertlayer_desc:"Inds\u00E6t nyt lag",
+forward_desc:"Flyt fremad",
+backward_desc:"Flyt bagud",
+absolute_desc:"Sl\u00E5 absolut positionering til/fra",
+content:"Nyt lag..."
+},
+save:{
+save_desc:"Gem",
+cancel_desc:"Annuller alle \u00E6ndringer"
+},
+nonbreaking:{
+nonbreaking_desc:"Inds\u00E6t et blanktegn"
+},
+iespell:{
+iespell_desc:"Udf\u00F8r stavekontrol",
+download:"ieSpell blev ikke fundet. Vil du installere det nu?"
+},
+advhr:{
+advhr_desc:"Horisontal linie"
+},
+emotions:{
+emotions_desc:"Hum\u00F8rikoner"
+},
+searchreplace:{
+search_desc:"S\u00F8g",
+replace_desc:"S\u00F8g/erstat"
+},
+advimage:{
+image_desc:"Inds\u00E6t/rediger billede"
+},
+advlink:{
+link_desc:"Inds\u00E6t/rediger link",
+delta_width:"40"
+},
+xhtmlxtras:{
+cite_desc:"Citat",
+abbr_desc:"Forkortelse",
+acronym_desc:"Akronym",
+del_desc:"Sletning",
+ins_desc:"Inds\u00E6ttelse",
+attribs_desc:"Inds\u00E6t/rediger attributter"
+},
+style:{
+desc:"Rediger CSS stil"
+},
+paste:{
+paste_text_desc:"Inds\u00E6t ikke-formatteret tekst",
+paste_word_desc:"Inds\u00E6t fra Word",
+selectall_desc:"V\u00E6lg alle"
+},
+paste_dlg:{
+text_title:"Anvend CTRL+V p\u00E5 tastaturet for at inds\u00E6tte teksten.",
+text_linebreaks:"Bevar linieskift",
+word_title:"Anvend CTRL+V p\u00E5 tastaturet for at inds\u00E6tte teksten."
+},
+table:{
+desc:"Inds\u00E6t tabel",
+row_before_desc:"Inds\u00E6t r\u00E6kke f\u00F8r",
+row_after_desc:"Inds\u00E6t r\u00E6kke efter",
+delete_row_desc:"Slet r\u00E6kke",
+col_before_desc:"Inds\u00E6t kolonne f\u00F8r",
+col_after_desc:"Inds\u00E6t kolonne efter",
+delete_col_desc:"Slet kolonne",
+split_cells_desc:"Opdel flettede celler",
+merge_cells_desc:"Flet celler",
+row_desc:"R\u00E6kkeegenskaber",
+cell_desc:"Celleegenskaber",
+props_desc:"Tabelegenskaber",
+paste_row_before_desc:"Inds\u00E6t r\u00E6kke f\u00F8r",
+paste_row_after_desc:"Inds\u00E6t r\u00E6kke efter",
+cut_row_desc:"Klip r\u00E6kke",
+copy_row_desc:"Kopier r\u00E6kke",
+del:"Slet tabel",
+row:"R\u00E6kke",
+col:"Kolonne",
+cell:"Celle"
+},
+autosave:{
+unload_msg:"Har du foretaget nogle \u00E6ndringer, vil de g\u00E5 tabt, hvis du navigerer v\u00E6k fra denne side."
+},
+fullscreen:{
+desc:"Vis/skjul fuldsk\u00E6rmstilstand"
+},
+media:{
+desc:"Inds\u00E6t/rediger indlejret mediefil",
+edit:"Rediger indlejret mediefil"
+},
+fullpage:{
+desc:"Dokumentegenskaber"
+},
+template:{
+desc:"Inds\u00E6t pr\u00E6defineret skabelonindhold"
+},
+visualchars:{
+desc:"Vis/Skjul visuelle kontroltegn."
+},
+spellchecker:{
+desc:"Vis/skjul stavekontrol",
+menu:"Indstillinger for stavekontrol",
+ignore_word:"Ignorer ord",
+ignore_words:"Ignorer alle",
+langs:"Sprog",
+wait:"Vent venligst...",
+sug:"Forslag",
+no_sug:"Ingen forslag",
+no_mpell:"Ingen stavefejl fundet."
+},
+pagebreak:{
+desc:"Inds\u00E6t sideskift."
+}}});
\ No newline at end of file
diff --git a/webcit/tiny_mce/langs/de.js b/webcit/tiny_mce/langs/de.js
new file mode 100644
index 000000000..3384a12b7
--- /dev/null
+++ b/webcit/tiny_mce/langs/de.js
@@ -0,0 +1,155 @@
+tinyMCE.addI18n({de:{
+common:{
+edit_confirm:"Wollen Sie diesen Textbereich mit WYSIWYG bearbeiten?",
+apply:"\u00DCbernehmen",
+insert:"Einf\u00FCgen",
+update:"Aktualisieren",
+cancel:"Abbrechen",
+close:"Schlie\u00DFen",
+browse:"Durchsuchen",
+class_name:"Klasse",
+not_set:"-- Nicht gesetzt --",
+clipboard_msg:"Kopieren, Ausschneiden und Einf\u00FCgen sind im Mozilla Firefox nicht m\u00F6glich.\nM\u00F6chten Sie mehr \u00FCber dieses Problem erfahren?",
+clipboard_no_support:"Wird derzeit in Ihrem Browser nicht unterst\u00FCtzt. Bitte benutzen Sie stattdessen die Tastenk\u00FCrzel.",
+popup_blocked:"Leider hat Ihr Popup-Blocker ein Fenster unterbunden, das f\u00FCr den Betrieb dieses Programms n\u00F6tig ist. Bitte deaktivieren Sie den Popup-Blocker, um die volle Funktionalit\u00E4t zu erlangen.",
+invalid_data:"Fehler: Sie haben ung\u00FCltige Werte eingegeben (rot markiert).",
+more_colors:"Weitere Farben"
+},
+contextmenu:{
+align:"Ausrichtung",
+left:"Links",
+center:"Mittig",
+right:"Rechts",
+full:"Blocksatz"
+},
+insertdatetime:{
+date_fmt:"%d.%m.%Y",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Datum einf\u00FCgen",
+inserttime_desc:"Zeit einf\u00FCgen",
+months_long:"Januar,Februar,M\u00E4rz,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember",
+months_short:"Jan,Feb,M\u00E4rz,Apr,Mai,Juni,Juli,Aug,Sept,Okt,Nov,Dez",
+day_long:"Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag,Sonntag",
+day_short:"So,Mo,Di,Mi,Do,Fr,Sa,So"
+},
+print:{
+print_desc:"Drucken"
+},
+preview:{
+preview_desc:"Vorschau"
+},
+directionality:{
+ltr_desc:"Schrift von links nach rechts",
+rtl_desc:"Schrift von rechts nach links"
+},
+layer:{
+insertlayer_desc:"Neue Ebene einf\u00FCgen",
+forward_desc:"Vor verschieben",
+backward_desc:"Zur\u00FCck verschieben",
+absolute_desc:"Absolute Positionierung",
+content:"Neue Ebene..."
+},
+save:{
+save_desc:"Speichern",
+cancel_desc:"Alle \u00C4nderungen verwerfen"
+},
+nonbreaking:{
+nonbreaking_desc:"Gesch\u00FCtztes Leerzeichen einf\u00FCgen"
+},
+iespell:{
+iespell_desc:"Rechtschreibpr\u00FCfung",
+download:"ieSpell konnte nicht gefunden werden. Wollen Sie es installieren?"
+},
+advhr:{
+advhr_desc:"Trennlinie"
+},
+emotions:{
+emotions_desc:"Smilies"
+},
+searchreplace:{
+search_desc:"Suchen",
+replace_desc:"Suchen/Ersetzen"
+},
+advimage:{
+image_desc:"Bild einf\u00FCgen/ersetzen"
+},
+advlink:{
+link_desc:"Link einf\u00FCgen/bearbeiten"
+},
+xhtmlxtras:{
+cite_desc:"Quellenangabe",
+abbr_desc:"Abk\u00FCrzung",
+acronym_desc:"Akronym",
+del_desc:"Entfernter Text",
+ins_desc:"Eingef\u00FCgter Text",
+attribs_desc:"Attribute einf\u00FCgen/bearbeiten"
+},
+style:{
+desc:"CSS-Styles bearbeiten"
+},
+paste:{
+paste_text_desc:"Als normalen Text einf\u00FCgen",
+paste_word_desc:"Mit Formatierungen (aus Word) einf\u00FCgen",
+selectall_desc:"Alles ausw\u00E4hlen"
+},
+paste_dlg:{
+text_title:"Dr\u00FCcken Sie auf Ihrer Tastatur Strg+V, um den Text einzuf\u00FCgen.",
+text_linebreaks:"Zeilenumbr\u00FCche beibehalten",
+word_title:"Dr\u00FCcken Sie auf Ihrer Tastatur Strg+V, um den Text einzuf\u00FCgen."
+},
+table:{
+desc:"Tabelle erstellen",
+row_before_desc:"Zeile oberhalb einf\u00FCgen",
+row_after_desc:"Zeile unterhalb einf\u00FCgen",
+delete_row_desc:"Zeile entfernen",
+col_before_desc:"Spalte links einf\u00FCgen",
+col_after_desc:"Spalte rechts einf\u00FCgen",
+delete_col_desc:"Spalte l\u00F6schen",
+split_cells_desc:"Vereinte Zellen trennen",
+merge_cells_desc:"Zellen vereinen",
+row_desc:"Eigenschaften der Zeile",
+cell_desc:"Eigenschaften der Zelle",
+props_desc:"Eigenschaften der Tabelle",
+paste_row_before_desc:"Zeile oberhalb aus der Zwischenablage einf\u00FCgen",
+paste_row_after_desc:"Zeile unterhalb aus der Zwischenablage einf\u00FCgen",
+cut_row_desc:"Zeile ausschneiden",
+copy_row_desc:"Zeile kopieren",
+del:"Tabelle entfernen",
+row:"Zeile",
+col:"Spalte",
+cell:"Zelle",
+cellprops_delta_width:"150"
+},
+autosave:{
+unload_msg:"Ihre \u00C4nderungen werden verloren gehen, wenn Sie die Seite verlassen."
+},
+fullscreen:{
+desc:"Vollbildschirm"
+},
+media:{
+desc:"Multimedia einbetten/bearbeiten",
+edit:"Multimediaeinbettung bearbeiten"
+},
+fullpage:{
+desc:"Dokument-Eigenschaften"
+},
+template:{
+desc:"Vorgefertigten Vorlageninhalt einf\u00FCgen"
+},
+visualchars:{
+desc:"Sichtbarkeit der Steuerzeichen an/aus."
+},
+spellchecker:{
+desc:"Rechtschreibpr\u00FCfung an/aus",
+menu:"Einstellungen der Rechtschreibpr\u00FCfung",
+ignore_word:"Wort ignorieren",
+ignore_words:"Alle ignorieren",
+langs:"Sprachen",
+wait:"Bitte warten...",
+sug:"Vorschl\u00E4ge",
+no_sug:"Keine Vorschl\u00E4ge",
+no_mpell:"Keine Rechtschreibfehler gefunden."
+},
+pagebreak:{
+desc:"Seitenumbruch Einf\u00FCgen."
+}}});
\ No newline at end of file
diff --git a/webcit/tiny_mce/langs/en.js b/webcit/tiny_mce/langs/en.js
new file mode 100644
index 000000000..8519b4de7
--- /dev/null
+++ b/webcit/tiny_mce/langs/en.js
@@ -0,0 +1,154 @@
+tinyMCE.addI18n({en:{
+common:{
+edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
+apply:"Apply",
+insert:"Insert",
+update:"Update",
+cancel:"Cancel",
+close:"Close",
+browse:"Browse",
+class_name:"Class",
+not_set:"-- Not set --",
+clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
+clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
+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.",
+invalid_data:"Error: Invalid values entered, these are marked in red.",
+more_colors:"More colors"
+},
+contextmenu:{
+align:"Alignment",
+left:"Left",
+center:"Center",
+right:"Right",
+full:"Full"
+},
+insertdatetime:{
+date_fmt:"%Y-%m-%d",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Insert date",
+inserttime_desc:"Insert time",
+months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
+months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
+day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
+day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
+},
+print:{
+print_desc:"Print"
+},
+preview:{
+preview_desc:"Preview"
+},
+directionality:{
+ltr_desc:"Direction left to right",
+rtl_desc:"Direction right to left"
+},
+layer:{
+insertlayer_desc:"Insert new layer",
+forward_desc:"Move forward",
+backward_desc:"Move backward",
+absolute_desc:"Toggle absolute positioning",
+content:"New layer..."
+},
+save:{
+save_desc:"Save",
+cancel_desc:"Cancel all changes"
+},
+nonbreaking:{
+nonbreaking_desc:"Insert non-breaking space character"
+},
+iespell:{
+iespell_desc:"Run spell checking",
+download:"ieSpell not detected. Do you want to install it now?"
+},
+advhr:{
+advhr_desc:"Horizontal rule"
+},
+emotions:{
+emotions_desc:"Emotions"
+},
+searchreplace:{
+search_desc:"Find",
+replace_desc:"Find/Replace"
+},
+advimage:{
+image_desc:"Insert/edit image"
+},
+advlink:{
+link_desc:"Insert/edit link"
+},
+xhtmlxtras:{
+cite_desc:"Citation",
+abbr_desc:"Abbreviation",
+acronym_desc:"Acronym",
+del_desc:"Deletion",
+ins_desc:"Insertion",
+attribs_desc:"Insert/Edit Attributes"
+},
+style:{
+desc:"Edit CSS Style"
+},
+paste:{
+paste_text_desc:"Paste as Plain Text",
+paste_word_desc:"Paste from Word",
+selectall_desc:"Select All"
+},
+paste_dlg:{
+text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
+text_linebreaks:"Keep linebreaks",
+word_title:"Use CTRL+V on your keyboard to paste the text into the window."
+},
+table:{
+desc:"Inserts a new table",
+row_before_desc:"Insert row before",
+row_after_desc:"Insert row after",
+delete_row_desc:"Delete row",
+col_before_desc:"Insert column before",
+col_after_desc:"Insert column after",
+delete_col_desc:"Remove column",
+split_cells_desc:"Split merged table cells",
+merge_cells_desc:"Merge table cells",
+row_desc:"Table row properties",
+cell_desc:"Table cell properties",
+props_desc:"Table properties",
+paste_row_before_desc:"Paste table row before",
+paste_row_after_desc:"Paste table row after",
+cut_row_desc:"Cut table row",
+copy_row_desc:"Copy table row",
+del:"Delete table",
+row:"Row",
+col:"Column",
+cell:"Cell"
+},
+autosave:{
+unload_msg:"The changes you made will be lost if you navigate away from this page."
+},
+fullscreen:{
+desc:"Toggle fullscreen mode"
+},
+media:{
+desc:"Insert / edit embedded media",
+edit:"Edit embedded media"
+},
+fullpage:{
+desc:"Document properties"
+},
+template:{
+desc:"Insert predefined template content"
+},
+visualchars:{
+desc:"Visual control characters on/off."
+},
+spellchecker:{
+desc:"Toggle spellchecker",
+menu:"Spellchecker settings",
+ignore_word:"Ignore word",
+ignore_words:"Ignore all",
+langs:"Languages",
+wait:"Please wait...",
+sug:"Suggestions",
+no_sug:"No suggestions",
+no_mpell:"No misspellings found."
+},
+pagebreak:{
+desc:"Insert page break."
+}}});
\ No newline at end of file
diff --git a/webcit/tiny_mce/langs/es.js b/webcit/tiny_mce/langs/es.js
new file mode 100644
index 000000000..6509cb97b
--- /dev/null
+++ b/webcit/tiny_mce/langs/es.js
@@ -0,0 +1,154 @@
+tinyMCE.addI18n({es:{
+common:{
+edit_confirm:" \u00BFDesea utilizar el modo WYSIWYG para esta caja de texto?",
+apply:"Aplicar",
+insert:"Insertar",
+update:"Actualizar",
+cancel:"Cancelar",
+close:"Cerrar",
+browse:"Examinar",
+class_name:"Clase",
+not_set:"-- Ninguno --",
+clipboard_msg:"Copiar/Cortar/Pegar no se encuentra disponible en Mozilla y Firefox.\n \u00BFDesea obtener m\u00E1s informaci\u00F3n acerca de este tema?",
+clipboard_no_support:"Su navegador no soporta las funciones de cortapapeles, use los accesos por teclado.",
+popup_blocked:"Lo sentimos, su bloqueo de ventanas emergentes ha deshabilitado una ventana que provee funcionalidades a la aplicaci\u00F3n. Necesita deshabilitar este bloqueo en este sitio para poder utilizar todas las funciones.",
+invalid_data:"Error: Introdujo un valor no v\u00E1lido, est\u00E1n marcados en rojo.",
+more_colors:"M\u00E1s colores"
+},
+contextmenu:{
+align:"Alineaci\u00F3n",
+left:"Izquierda",
+center:"Centrado",
+right:"Derecha",
+full:"Justificado"
+},
+insertdatetime:{
+date_fmt:"%d-%m-%Y",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Insertar fecha",
+inserttime_desc:"Insertar hora",
+months_long:"Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre",
+months_short:"Ene,Feb,Mar,Abr,May,Jun,Jul,Ago,Sep,Oct,Nov,Dic",
+day_long:"Domingo,Lunes,Martes,Mi\u00E9rcoles,Jueves,Viernes,S\u00E1bado,Domingo",
+day_short:"Dom,Lun,Mar,Mie,Jue,Vie,Sab,Dom"
+},
+print:{
+print_desc:"Imprimir"
+},
+preview:{
+preview_desc:"Vista previa"
+},
+directionality:{
+ltr_desc:"Direcci\u00F3n izquierda a derecha",
+rtl_desc:"Direcci\u00F3n derecha a izquierda"
+},
+layer:{
+insertlayer_desc:"Insertar nueva capa",
+forward_desc:"Avanzar",
+backward_desc:"Retroceder",
+absolute_desc:"Cambiar a posici\u00F3n absoluta",
+content:"Nueva capa..."
+},
+save:{
+save_desc:"Guardar",
+cancel_desc:"Cancelar todos los cambios"
+},
+nonbreaking:{
+nonbreaking_desc:"Insertar caracter de espacio 'non-breaking'"
+},
+iespell:{
+iespell_desc:"Corrector ortogr\u00E1fico",
+download:"No se detect\u00F3 'ieSpell'. \u00BFDesea instalarlo ahora?"
+},
+advhr:{
+advhr_desc:"Regla horizontal"
+},
+emotions:{
+emotions_desc:"Emoticones"
+},
+searchreplace:{
+search_desc:"Buscar",
+replace_desc:"Buscar/Reemplazar"
+},
+advimage:{
+image_desc:"Insertar/editar imagen"
+},
+advlink:{
+link_desc:"Insertar/editar hiperv\u00EDnculo"
+},
+xhtmlxtras:{
+cite_desc:"Cita",
+abbr_desc:"Abreviatura",
+acronym_desc:"Acr\u00F3nimo",
+del_desc:"Borrado",
+ins_desc:"Inserci\u00F3n",
+attribs_desc:"Insertar/Editar atributos"
+},
+style:{
+desc:"Editar Estilo CSS"
+},
+paste:{
+paste_text_desc:"Pegar como texto plano",
+paste_word_desc:"Pegar desde Word",
+selectall_desc:"Seleccionar todo"
+},
+paste_dlg:{
+text_title:"Use CTRL+V en su teclado para pegar el texto en la ventana.",
+text_linebreaks:"Keep linebreaks",
+word_title:"Use CTRL+V en su teclado para pegar el texto en la ventana."
+},
+table:{
+desc:"Inserta una nueva tabla",
+row_before_desc:"Insertar fila (antes)",
+row_after_desc:"Insertar fila (despu\u00E9s)",
+delete_row_desc:"Suprimir fila",
+col_before_desc:"Insertar columna (antes)",
+col_after_desc:"Insertar columna (despu\u00E9s)",
+delete_col_desc:"Suprimir columna",
+split_cells_desc:"Dividir celdas",
+merge_cells_desc:"Vincular celdas",
+row_desc:"Propiedades de la fila",
+cell_desc:"Propiedades de la celda",
+props_desc:"Propiedades de la tabla",
+paste_row_before_desc:"Pegar filas (antes)",
+paste_row_after_desc:"Pegar filas (despu\u00E9s)",
+cut_row_desc:"Cortar fila",
+copy_row_desc:"Copiar fila",
+del:"Eliminar tabla",
+row:"Fila",
+col:"Columna",
+cell:"Celda"
+},
+autosave:{
+unload_msg:"Los cambios realizados se perder\u00E1n si sale de esta p\u00E1gina."
+},
+fullscreen:{
+desc:"Cambiar a modo Pantalla Completa"
+},
+media:{
+desc:"Insertar/editar medio embebido",
+edit:"Editar medio embebido"
+},
+fullpage:{
+desc:"Propiedades del documento"
+},
+template:{
+desc:"Insertar contenido de plantilla predefinida"
+},
+visualchars:{
+desc:"Caracteres de control ON/OFF."
+},
+spellchecker:{
+desc:"Cambiar a corrector ortogr\u00E1fico",
+menu:"Configuraci\u00F3n de corrector ortogr\u00E1fico",
+ignore_word:"Ignorar",
+ignore_words:"Ignorar todo",
+langs:"Idiomas",
+wait:"Espere...",
+sug:"Sugerencias",
+no_sug:"Sin sugerencias",
+no_mpell:"No se encontraron errores."
+},
+pagebreak:{
+desc:"Insertar fin de p\u00E1gina"
+}}});
\ No newline at end of file
diff --git a/webcit/tiny_mce/langs/it.js b/webcit/tiny_mce/langs/it.js
new file mode 100644
index 000000000..bfdb5a4fc
--- /dev/null
+++ b/webcit/tiny_mce/langs/it.js
@@ -0,0 +1,154 @@
+tinyMCE.addI18n({it:{
+common:{
+edit_confirm:"Usare la modalit\u00E0 WYSIWYG per questa textarea?",
+apply:"Applica",
+insert:"Inserisci",
+update:"Aggiorna",
+cancel:"Annulla",
+close:"Chiudi",
+browse:"Sfoglia",
+class_name:"Classe",
+not_set:"-- Non impostato --",
+clipboard_msg:"Copia/Taglia/Incolla non \u00E8 disponibile in Mozilla e Firefox.\nSi desidera avere maggiori informazioni su questo problema?",
+clipboard_no_support:"Attualmente non supportato dal browser in uso, usare le scorciatoie da tastiera.",
+popup_blocked:"Spiacente, ma il blocco delle popup ha disabilitato una finestra che fornisce funzionalit\u00E0 dell'applicazione. Si deve disabilitare il blocco delle popup per questo sito per poter utlizzare appieno questo strumento.",
+invalid_data:"Errore: valori inseriti non validi, sono marcati in rosso.",
+more_colors:"Colori aggiuntivi"
+},
+contextmenu:{
+align:"Allineamento",
+left:"Allinea a sinistra",
+center:"Centra",
+right:"Allinea a destra",
+full:"Giustifica"
+},
+insertdatetime:{
+date_fmt:"%Y-%m-%d",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Inserisci data",
+inserttime_desc:"Inserisci ora",
+months_long:"Gennaio,Febbraio,Marzo,Aprile,Maggio,Giugno,Luglio,Agosto,Settembre,Ottobre,Novembre,Dicembre",
+months_short:"Gen,Feb,Mar,Apr,Mag,Giu,Lug,Ago,Set,Ott,Nov,Dic",
+day_long:"Domenica,Luned\u00EC,Marted\u00EC,Mercoled\u00EC,Gioved\u00EC,Venerd\u00EC,Sabato,Domenica",
+day_short:"Dom,Lun,Mar,Mer,Gio,Ven,Sab,Dom"
+},
+print:{
+print_desc:"Stampa"
+},
+preview:{
+preview_desc:"Anteprima"
+},
+directionality:{
+ltr_desc:"Direzione da sinistra a destra",
+rtl_desc:"Direzione da destra a sinistra"
+},
+layer:{
+insertlayer_desc:"Inserisci nuovo layer",
+forward_desc:"Porta in rilievo",
+backward_desc:"Porta in sfondo",
+absolute_desc:"Attiva/Disattiva posizionamento assoluto",
+content:"Nuovo layer..."
+},
+save:{
+save_desc:"Save",
+cancel_desc:"Cancella tutte le modifiche"
+},
+nonbreaking:{
+nonbreaking_desc:"Inserisci uno spazio"
+},
+iespell:{
+iespell_desc:"Esegui controllo ortografico",
+download:"ieSpell non rilevato. Installarlo ora?"
+},
+advhr:{
+advhr_desc:"Riga orizzontale"
+},
+emotions:{
+emotions_desc:"Faccine"
+},
+searchreplace:{
+search_desc:"Trova",
+replace_desc:"Trova/Sostituisci"
+},
+advimage:{
+image_desc:"Inserisci/modifica immagine"
+},
+advlink:{
+link_desc:"Inserisci/modifica collegamento"
+},
+xhtmlxtras:{
+cite_desc:"Citazione",
+abbr_desc:"Abbreviazione",
+acronym_desc:"Acronimo",
+del_desc:"Cancellamento",
+ins_desc:"Inserimento",
+attribs_desc:"Inserisci/modifica attributi"
+},
+style:{
+desc:"Modifica stile CSS"
+},
+paste:{
+paste_text_desc:"Incolla come testo semplice",
+paste_word_desc:"Incolla da Word",
+selectall_desc:"Seleziona tutto"
+},
+paste_dlg:{
+text_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra.",
+text_linebreaks:"Mantieni interruzioni di riga",
+word_title:"Premere CTRL+V sulla tastiera per incollare il testo nella finestra."
+},
+table:{
+desc:"Inserisci una nuova tabella",
+row_before_desc:"Inserisci riga prima",
+row_after_desc:"Inserisci riga dopo",
+delete_row_desc:"Elimina riga",
+col_before_desc:"Inserisci colonna prima",
+col_after_desc:"Inserisci colonna dopo",
+delete_col_desc:"Elimina colonna",
+split_cells_desc:"Separa celle",
+merge_cells_desc:"Unisci celle",
+row_desc:"Propriet\u00E0 riga",
+cell_desc:"Propriet\u00E0 cella",
+props_desc:"Propriet\u00E0 tabella",
+paste_row_before_desc:"Incolla riga prima",
+paste_row_after_desc:"Incolla riga dopo",
+cut_row_desc:"Taglia riga",
+copy_row_desc:"Copia riga",
+del:"Elimina tabella",
+row:"Riga",
+col:"Colonna",
+cell:"Cella"
+},
+autosave:{
+unload_msg:"I cambiamenti effettuati saranno persi se si abbandona la pagina corrente."
+},
+fullscreen:{
+desc:"Attiva/disattiva modalit\u00E0 a tutto schermo"
+},
+media:{
+desc:"Inserisci/modifica file multimediale",
+edit:"Modifica file multimediale"
+},
+fullpage:{
+desc:"Propriet\u00E0 Documento"
+},
+template:{
+desc:"Inserisci contenuto da modello predefinito"
+},
+visualchars:{
+desc:"Attiva/disattiva caratteri di controllo visuale."
+},
+spellchecker:{
+desc:"Attiva/disattiva controllo ortografico",
+menu:"Impostazioni controllo ortografico",
+ignore_word:"Ignora parola",
+ignore_words:"Ignora tutto",
+langs:"Lingue",
+wait:"Attendere prego...",
+sug:"Suggerimenti",
+no_sug:"Nessun suggerimento",
+no_mpell:"Nessun errore rilevato."
+},
+pagebreak:{
+desc:"Inserisci intterruzione di pagina."
+}}});
\ No newline at end of file
diff --git a/webcit/tiny_mce/langs/nl.js b/webcit/tiny_mce/langs/nl.js
new file mode 100644
index 000000000..491a01ddb
--- /dev/null
+++ b/webcit/tiny_mce/langs/nl.js
@@ -0,0 +1,154 @@
+tinyMCE.addI18n({nl:{
+common:{
+edit_confirm:"Weet u zeker dat u tekst in WYSIWYG mode wilt bewerken in dit tekstveld?",
+apply:"Toepassen",
+insert:"Invoegen",
+update:"Bijwerken",
+cancel:"Annuleren",
+close:"Sluiten",
+browse:"Bladeren",
+class_name:"Klasse",
+not_set:"- Standaard -",
+clipboard_msg:"Kopi\u00EBren/knippen/plakken is niet beschikbaar in Mozilla en Firefox.\nWilt u meer informatie over deze beperking?",
+clipboard_no_support:"Kopi\u00EBren/knippen/plakken wordt niet ondersteund door uw browser, gebruik hiervoor de sneltoetsen.",
+popup_blocked:"U zult uw popup-blocker tijdelijk moeten uitschakelen voor deze website om gebruik te kunnen maken van alle fucties van deze teksteditor.",
+invalid_data:"Fout: Er zijn ongeldige waardes ingevoerd, deze zijn rood gemarkeerd.",
+more_colors:"Meer kleuren"
+},
+contextmenu:{
+align:"Uitlijning",
+left:"Links",
+center:"Centreren",
+right:"Rechts",
+full:"Uitvullen"
+},
+insertdatetime:{
+date_fmt:"%d-%m-%Y",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Datum invoegen",
+inserttime_desc:"Tijd invoegen",
+months_long:"Januari,Februari,Maart,April,Mei,Juni,Juli,Augustus,September,Oktober,November,December",
+months_short:"Jan,Feb,Mar,Apr,Mei,Jun,Jul,Aug,Sep,Okt,Nov,Dec",
+day_long:"Zondag,Maandag,Dinsdag,Woensdag,Donderdag,Vrijdag,Zaterdag,Zondag",
+day_short:"Zo,Ma,Di,Wo,Do,Vr,Zat,Zon"
+},
+print:{
+print_desc:"Afdrukken"
+},
+preview:{
+preview_desc:"Voorbeeld"
+},
+directionality:{
+ltr_desc:"Van links naar rechts",
+rtl_desc:"Van rechts naar links"
+},
+layer:{
+insertlayer_desc:"Nieuwe laag invoegen",
+forward_desc:"Volgende laag",
+backward_desc:"Vorige laag",
+absolute_desc:"Absoluut positioneren inschakelen",
+content:"Nieuwe laag..."
+},
+save:{
+save_desc:"Opslaan",
+cancel_desc:"Alle wijzigingen annuleren"
+},
+nonbreaking:{
+nonbreaking_desc:"Open ruimte invoegen"
+},
+iespell:{
+iespell_desc:"Spellingcontrole",
+download:"ieSpell niet gevonden. Wilt u deze nu installeren?"
+},
+advhr:{
+advhr_desc:"Scheidingslijn"
+},
+emotions:{
+emotions_desc:"Emoties"
+},
+searchreplace:{
+search_desc:"Zoeken",
+replace_desc:"Zoeken/Vervangen"
+},
+advimage:{
+image_desc:"Afbeelding invoegen/bewerken"
+},
+advlink:{
+link_desc:"Link invoegen/bewerken"
+},
+xhtmlxtras:{
+cite_desc:"Citaat",
+abbr_desc:"Afkorting",
+acronym_desc:"Synoniem",
+del_desc:"Verwijderd",
+ins_desc:"Ingevoegd",
+attribs_desc:"Attributen invoegen/bewerken"
+},
+style:{
+desc:"CSS Stijl bewerken"
+},
+paste:{
+paste_text_desc:"Als platte tekst plakken",
+paste_word_desc:"Vanuit Word plakken",
+selectall_desc:"Alles selecteren"
+},
+paste_dlg:{
+text_title:"Gebruik Ctrl+V om tekst in het venster te plakken.",
+text_linebreaks:"Regelafbreking bewaren",
+word_title:"Gebruik Ctrl+V om tekst in het venster te plakken."
+},
+table:{
+desc:"Nieuwe tabel invoegen",
+row_before_desc:"Rij boven invoegen",
+row_after_desc:"Rij onder invoegen",
+delete_row_desc:"Rij verwijderen",
+col_before_desc:"Kolom links invoegen",
+col_after_desc:"Kolom rechts invoegen",
+delete_col_desc:"Kolom verwijderen",
+split_cells_desc:"Cellen splitsen",
+merge_cells_desc:"Cellen samenvoegen",
+row_desc:"Rij-eigenschappen",
+cell_desc:"Cel-eigenschappen",
+props_desc:"Tabeleigenschappen",
+paste_row_before_desc:"Rij boven plakken",
+paste_row_after_desc:"Rij onder plakken",
+cut_row_desc:"Rij knippen",
+copy_row_desc:"Rij kopi\u00EBren",
+del:"Tabel verwijderen",
+row:"Rij",
+col:"Kolom",
+cell:"Cel"
+},
+autosave:{
+unload_msg:"De wijzigingen zullen verloren gaan als u nu deze pagina verlaat."
+},
+fullscreen:{
+desc:"Volledig scherm"
+},
+media:{
+desc:"Media invoegen/bewerken",
+edit:"Media bewerken"
+},
+fullpage:{
+desc:"Documenteigenschappen"
+},
+template:{
+desc:"Voorgedefineerd sjabloon invoegen"
+},
+visualchars:{
+desc:"Zichtbare symbolen"
+},
+spellchecker:{
+desc:"Spellingcontrole",
+menu:"Instellingen spellingcontrole",
+ignore_word:"Woord negeren",
+ignore_words:"Alles negeren",
+langs:"Talen",
+wait:"Een ogenblik geduld...",
+sug:"Suggesties",
+no_sug:"Geen suggesties",
+no_mpell:"Geen spelfouten gevonden."
+},
+pagebreak:{
+desc:"Pagina-einde invoegen"
+}}});
\ No newline at end of file
diff --git a/webcit/tiny_mce/langs/pt.js b/webcit/tiny_mce/langs/pt.js
new file mode 100644
index 000000000..453571337
--- /dev/null
+++ b/webcit/tiny_mce/langs/pt.js
@@ -0,0 +1,154 @@
+tinyMCE.addI18n({pt:{
+common:{
+edit_confirm:"Deseja usar o modo de edi\u00C3\u00A7\u00C3\u00A3o avan\u00C3\u00A7ado neste campo de texto?",
+apply:"Aplicar",
+insert:"Inserir",
+update:"Atualizar",
+cancel:"Cancelar",
+close:"Fechar",
+browse:"Procurar",
+class_name:"Classe",
+not_set:"-- N\u00C3\u00A3o especificado --",
+clipboard_msg:"Copiar/cortar/colar n\u00C3\u00A3o est\u00C3\u00A1 dispon\u00C3\u00ADvel no Mozilla/Firefox.\nDeseja mais informa\u00C3\u00A7\u00C3\u00B5es sobre este problema?",
+clipboard_no_support:"O seu navegador n\u00C3\u00A3o tem suporte para esta fun\u00C3\u00A7\u00C3\u00A3o, use os atalhos do teclado.",
+popup_blocked:"Detectamos que o seu bloqueador de popups bloqueou uma janela que \u00C3\u00A9 essencial para o aplicativo. Voc\u00C3\u00AA precisa desativar o bloqueador de popups para utilizar esta ferramenta.",
+invalid_data:"Erro: Valores inv\u00C3\u00A1lidos est\u00C3\u00A3o marcados em vermelho.",
+more_colors:"Mais Cores"
+},
+contextmenu:{
+align:"Alinhamento",
+left:"Esquerda",
+center:"Centro",
+right:"Direita",
+full:"Justificar"
+},
+insertdatetime:{
+date_fmt:"%d-%m-%Y",
+time_fmt:"%H:%M:%S",
+insertdate_desc:"Inserir data",
+inserttime_desc:"Inserir hora",
+months_long:"Janeiro,Fevereiro,Mar\u00C3\u00A7o,Abril,Maio,Junho,Julho,Agosto,Setembro,Outubro,Novembro,Dezembro",
+months_short:"Jan,Fev,Mar,Abr,Mai,Jun,Jul,Ago,Set,Out,Nov,Dez",
+day_long:"Domingo,Segunda-Feira,Ter\u00C3\u00A7a-Feira,Quarta-Feira,Quinta-Feira,Sexta-Feira,S\u00C3\u00A1bado,Domingo",
+day_short:"Dom,Seg,Ter,Qua,Qui,Sex,Sab,Dom"
+},
+print:{
+print_desc:"Imprimir"
+},
+preview:{
+preview_desc:"Pr\u00C3\u00A9-Visualizar"
+},
+directionality:{
+ltr_desc:"Da esquerda para direita",
+rtl_desc:"Da direita para esquerda"
+},
+layer:{
+insertlayer_desc:"Inserir nova camada",
+forward_desc:"Mover para frente",
+backward_desc:"Mover para tr\u00C3\u00A1s",
+absolute_desc:"Alternar posicionamento absoluto",
+content:"Nova camada..."
+},
+save:{
+save_desc:"Salvar",
+cancel_desc:"Cancelar todas as altera\u00C3\u00A7\u00C3\u00B5es"
+},
+nonbreaking:{
+nonbreaking_desc:"Inserir um espa\u00C3\u00A7o"
+},
+iespell:{
+iespell_desc:"Verificar ortografia",
+download:"Aplicativo de ortografia n\u00C3\u00A3o-detectado. Deseja instal\u00C3\u00A1-lo agora?"
+},
+advhr:{
+advhr_desc:"Separador horizontal"
+},
+emotions:{
+emotions_desc:"Emoticons"
+},
+searchreplace:{
+search_desc:"Localizar",
+replace_desc:"Localizar/substituir"
+},
+advimage:{
+image_desc:"Inserir/editar imagem"
+},
+advlink:{
+link_desc:"Inserir/editar hyperlink"
+},
+xhtmlxtras:{
+cite_desc:"Cita\u00C3\u00A7\u00C3\u00A3o",
+abbr_desc:"Abrevia\u00C3\u00A7\u00C3\u00A3o",
+acronym_desc:"Acr\u00C3\u00B4nimo",
+del_desc:"Apagar",
+ins_desc:"Inserir",
+attribs_desc:"Inserir/Editar atributos"
+},
+style:{
+desc:"Editar CSS"
+},
+paste:{
+paste_text_desc:"Colar como texto simples",
+paste_word_desc:"Colar (copiado do WORD)",
+selectall_desc:"Selecionar tudo"
+},
+paste_dlg:{
+text_title:"Use CTRL+V para colar o texto na janela.",
+text_linebreaks:"Manter quebras de linha",
+word_title:"Use CTRL+V para colar o texto na janela."
+},
+table:{
+desc:"Inserir nova tabela",
+row_before_desc:"Inserir linha antes",
+row_after_desc:"Inserir linha depois",
+delete_row_desc:"Apagar linha",
+col_before_desc:"Inserir coluna antes",
+col_after_desc:"Inserir coluna depois",
+delete_col_desc:"Remover coluna",
+split_cells_desc:"Dividir c\u00C3\u00A9lulas",
+merge_cells_desc:"Unir c\u00C3\u00A9lulas",
+row_desc:"Propriedades das linhas",
+cell_desc:"Propriedades das c\u00C3\u00A9lulas",
+props_desc:"Propriedades da tabela",
+paste_row_before_desc:"Colar linha antes",
+paste_row_after_desc:"Colar linha depois",
+cut_row_desc:"Cortar linha",
+copy_row_desc:"Copiar linha",
+del:"Apagar tabela",
+row:"Linha",
+col:"Coluna",
+cell:"C\u00C3\u00A9lula"
+},
+autosave:{
+unload_msg:"As mudan\u00C3\u00A7as efetuadas ser\u00C3\u00A3o perdidas se sair desta p\u00C3\u00A1gina."
+},
+fullscreen:{
+desc:"Tela Inteira"
+},
+media:{
+desc:"Inserir/Editar m\u00C3\u00ADdia incorporada",
+edit:"Editar m\u00C3\u00ADdia incorporada"
+},
+fullpage:{
+desc:"Propriedades do Documento"
+},
+template:{
+desc:"Inserir template"
+},
+visualchars:{
+desc:"Caracteres de controle visual ligado/desligado"
+},
+spellchecker:{
+desc:"Alternar verifica\u00C3\u00A7\u00C3\u00A3o ortogr\u00C3\u00A1fica",
+menu:"Configura\u00C3\u00A7\u00C3\u00B5es de ortografia",
+ignore_word:"Ignorar palavra",
+ignore_words:"Ignorar tudo",
+langs:"Linguagens",
+wait:"Aguarde...",
+sug:"Sugest\u00C3\u00B5es",
+no_sug:"Sem sugest\u00C3\u00B5es",
+no_mpell:"N\u00C3\u00A3o foram detectados erros de ortografia."
+},
+pagebreak:{
+desc:"Inserir quebra de p\u00C3\u00A1gina."
+}}});
\ No newline at end of file
diff --git a/webcit/tiny_mce/license.txt b/webcit/tiny_mce/license.txt
new file mode 100644
index 000000000..60d6d4c8f
--- /dev/null
+++ b/webcit/tiny_mce/license.txt
@@ -0,0 +1,504 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ , 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
diff --git a/webcit/tiny_mce/plugins/advhr/css/advhr.css b/webcit/tiny_mce/plugins/advhr/css/advhr.css
new file mode 100644
index 000000000..0e2283498
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/css/advhr.css
@@ -0,0 +1,5 @@
+input.radio {border:1px none #000; background:transparent; vertical-align:middle;}
+.panel_wrapper div.current {height:80px;}
+#width {width:50px; vertical-align:middle;}
+#width2 {width:50px; vertical-align:middle;}
+#size {width:100px;}
diff --git a/webcit/tiny_mce/plugins/advhr/editor_plugin.js b/webcit/tiny_mce/plugins/advhr/editor_plugin.js
new file mode 100644
index 000000000..f3350043f
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AdvancedHRPlugin',{init:function(ed,url){ed.addCommand('mceAdvancedHr',function(){ed.windowManager.open({file:url+'/rule.htm',width:250+parseInt(ed.getLang('advhr.delta_width',0)),height:160+parseInt(ed.getLang('advhr.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('advhr',{title:'advhr.advhr_desc',cmd:'mceAdvancedHr'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('advhr',n.nodeName=='HR');});ed.onClick.add(function(ed,e){e=e.target;if(e.nodeName==='HR')ed.selection.select(e);});},getInfo:function(){return{longname:'Advanced HR',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advhr',tinymce.plugins.AdvancedHRPlugin);})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/editor_plugin_src.js b/webcit/tiny_mce/plugins/advhr/editor_plugin_src.js
new file mode 100644
index 000000000..8a847532b
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/editor_plugin_src.js
@@ -0,0 +1,54 @@
+/**
+ * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedHRPlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceAdvancedHr', function() {
+ ed.windowManager.open({
+ file : url + '/rule.htm',
+ width : 250 + parseInt(ed.getLang('advhr.delta_width', 0)),
+ height : 160 + parseInt(ed.getLang('advhr.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('advhr', {
+ title : 'advhr.advhr_desc',
+ cmd : 'mceAdvancedHr'
+ });
+
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setActive('advhr', n.nodeName == 'HR');
+ });
+
+ ed.onClick.add(function(ed, e) {
+ e = e.target;
+
+ if (e.nodeName === 'HR')
+ ed.selection.select(e);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced HR',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advhr', tinymce.plugins.AdvancedHRPlugin);
+})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/js/rule.js b/webcit/tiny_mce/plugins/advhr/js/rule.js
new file mode 100644
index 000000000..b6cbd66c7
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/js/rule.js
@@ -0,0 +1,43 @@
+var AdvHRDialog = {
+ init : function(ed) {
+ var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w;
+
+ w = dom.getAttrib(n, 'width');
+ f.width.value = w ? parseInt(w) : (dom.getStyle('width') || '');
+ f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || '';
+ f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width');
+ selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px');
+ },
+
+ update : function() {
+ var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = '';
+
+ h = '
';
+
+ ed.execCommand("mceInsertContent", false, h);
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.requireLangPack();
+tinyMCEPopup.onInit.add(AdvHRDialog.init, AdvHRDialog);
diff --git a/webcit/tiny_mce/plugins/advhr/langs/da_dlg.js b/webcit/tiny_mce/plugins/advhr/langs/da_dlg.js
new file mode 100644
index 000000000..0aea2e13f
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/langs/da_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('da.advhr_dlg',{
+width:"Bredde",
+size:"H\u00F8jde",
+noshade:"Ingen skygge"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/langs/de_dlg.js b/webcit/tiny_mce/plugins/advhr/langs/de_dlg.js
new file mode 100644
index 000000000..22344d4f8
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/langs/de_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('de.advhr_dlg',{
+width:"Breite",
+size:"H\u00F6he",
+noshade:"Kein Schatten"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/langs/en_dlg.js b/webcit/tiny_mce/plugins/advhr/langs/en_dlg.js
new file mode 100644
index 000000000..873bfd8d3
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/langs/en_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('en.advhr_dlg',{
+width:"Width",
+size:"Height",
+noshade:"No shadow"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/langs/es_dlg.js b/webcit/tiny_mce/plugins/advhr/langs/es_dlg.js
new file mode 100644
index 000000000..50849732b
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/langs/es_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('es.advhr_dlg',{
+width:"Ancho",
+size:"Alto",
+noshade:"Sin sombra"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/langs/it_dlg.js b/webcit/tiny_mce/plugins/advhr/langs/it_dlg.js
new file mode 100644
index 000000000..fc7ef18fd
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/langs/it_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('it.advhr_dlg',{
+width:"Width",
+size:"Height",
+noshade:"Senza ombreggiatura"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/langs/nl_dlg.js b/webcit/tiny_mce/plugins/advhr/langs/nl_dlg.js
new file mode 100644
index 000000000..10bec4e9e
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/langs/nl_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('nl.advhr_dlg',{
+width:"Breedte",
+size:"Hoogte",
+noshade:"Geen schaduw"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/langs/pt_dlg.js b/webcit/tiny_mce/plugins/advhr/langs/pt_dlg.js
new file mode 100644
index 000000000..80c9b1e4b
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/langs/pt_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('pt.advhr_dlg',{
+width:"Largura",
+size:"Altura",
+noshade:"Sem sombra"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advhr/rule.htm b/webcit/tiny_mce/plugins/advhr/rule.htm
new file mode 100644
index 000000000..8f20f7fa8
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advhr/rule.htm
@@ -0,0 +1,63 @@
+
+
+
+ {#advhr.advhr_desc}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/webcit/tiny_mce/plugins/advimage/css/advimage.css b/webcit/tiny_mce/plugins/advimage/css/advimage.css
new file mode 100644
index 000000000..0a6251a69
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/css/advimage.css
@@ -0,0 +1,13 @@
+#src_list, #over_list, #out_list {width:280px;}
+.mceActionPanel {margin-top:7px;}
+.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;}
+.checkbox {border:0;}
+.panel_wrapper div.current {height:305px;}
+#prev {margin:0; border:1px solid #000; width:428px; 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;}
+#class_list {width:180px;}
+input {width: 280px;}
+#constrain, #onmousemovecheck {width:auto;}
+#id, #dir, #lang, #usemap, #longdesc {width:200px;}
diff --git a/webcit/tiny_mce/plugins/advimage/editor_plugin.js b/webcit/tiny_mce/plugins/advimage/editor_plugin.js
new file mode 100644
index 000000000..3af50573e
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AdvancedImagePlugin',{init:function(ed,url){ed.addCommand('mceAdvImage',function(){if(ed.dom.getAttrib(ed.selection.getNode(),'class').indexOf('mceItem')!=-1)return;ed.windowManager.open({file:url+'/image.htm',width:480+parseInt(ed.getLang('advimage.delta_width',0)),height:385+parseInt(ed.getLang('advimage.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('image',{title:'advimage.image_desc',cmd:'mceAdvImage'});},getInfo:function(){return{longname:'Advanced image',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advimage',tinymce.plugins.AdvancedImagePlugin);})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/editor_plugin_src.js b/webcit/tiny_mce/plugins/advimage/editor_plugin_src.js
new file mode 100644
index 000000000..f526842e6
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/editor_plugin_src.js
@@ -0,0 +1,47 @@
+/**
+ * $Id: editor_plugin_src.js 677 2008-03-07 13:52:41Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedImagePlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceAdvImage', function() {
+ // Internal image object like a flash placeholder
+ if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1)
+ return;
+
+ ed.windowManager.open({
+ file : url + '/image.htm',
+ width : 480 + parseInt(ed.getLang('advimage.delta_width', 0)),
+ height : 385 + parseInt(ed.getLang('advimage.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('image', {
+ title : 'advimage.image_desc',
+ cmd : 'mceAdvImage'
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced image',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advimage', tinymce.plugins.AdvancedImagePlugin);
+})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/image.htm b/webcit/tiny_mce/plugins/advimage/image.htm
new file mode 100644
index 000000000..dd84083f4
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/image.htm
@@ -0,0 +1,238 @@
+
+
+
+ {#advimage_dlg.dialog_title}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/webcit/tiny_mce/plugins/advimage/img/sample.gif b/webcit/tiny_mce/plugins/advimage/img/sample.gif
new file mode 100644
index 000000000..53bf6890b
Binary files /dev/null and b/webcit/tiny_mce/plugins/advimage/img/sample.gif differ
diff --git a/webcit/tiny_mce/plugins/advimage/js/image.js b/webcit/tiny_mce/plugins/advimage/js/image.js
new file mode 100644
index 000000000..64fc6f677
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/js/image.js
@@ -0,0 +1,441 @@
+var ImageDialog = {
+ preInit : function() {
+ var url;
+
+ tinyMCEPopup.requireLangPack();
+
+ if (url = tinyMCEPopup.getParam("external_image_list_url"))
+ document.write('');
+ },
+
+ init : function(ed) {
+ var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, dom = ed.dom, n = ed.selection.getNode();
+
+ tinyMCEPopup.resizeToInnerSize();
+ this.fillClassList('class_list');
+ this.fillFileList('src_list', 'tinyMCEImageList');
+ this.fillFileList('over_list', 'tinyMCEImageList');
+ this.fillFileList('out_list', 'tinyMCEImageList');
+ TinyMCE_EditableSelects.init();
+
+ if (n.nodeName == 'IMG') {
+ nl.src.value = dom.getAttrib(n, 'src');
+ nl.width.value = dom.getAttrib(n, 'width');
+ nl.height.value = dom.getAttrib(n, 'height');
+ nl.alt.value = dom.getAttrib(n, 'alt');
+ nl.title.value = dom.getAttrib(n, 'title');
+ nl.vspace.value = this.getAttrib(n, 'vspace');
+ nl.hspace.value = this.getAttrib(n, 'hspace');
+ nl.border.value = this.getAttrib(n, 'border');
+ selectByValue(f, 'align', this.getAttrib(n, 'align'));
+ selectByValue(f, 'class_list', dom.getAttrib(n, 'class'), true, true);
+ nl.style.value = dom.getAttrib(n, 'style');
+ nl.id.value = dom.getAttrib(n, 'id');
+ nl.dir.value = dom.getAttrib(n, 'dir');
+ nl.lang.value = dom.getAttrib(n, 'lang');
+ nl.usemap.value = dom.getAttrib(n, 'usemap');
+ nl.longdesc.value = dom.getAttrib(n, 'longdesc');
+ nl.insert.value = ed.getLang('update');
+
+ if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseover')))
+ nl.onmouseoversrc.value = dom.getAttrib(n, 'onmouseover').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
+
+ if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseout')))
+ nl.onmouseoutsrc.value = dom.getAttrib(n, 'onmouseout').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
+
+ if (ed.settings.inline_styles) {
+ // Move attribs to styles
+ if (dom.getAttrib(n, 'align'))
+ this.updateStyle('align');
+
+ if (dom.getAttrib(n, 'hspace'))
+ this.updateStyle('hspace');
+
+ if (dom.getAttrib(n, 'border'))
+ this.updateStyle('border');
+
+ if (dom.getAttrib(n, 'vspace'))
+ this.updateStyle('vspace');
+ }
+ }
+
+ // Setup browse button
+ document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image');
+ if (isVisible('srcbrowser'))
+ document.getElementById('src').style.width = '260px';
+
+ // Setup browse button
+ document.getElementById('onmouseoversrccontainer').innerHTML = getBrowserHTML('overbrowser','onmouseoversrc','image','theme_advanced_image');
+ if (isVisible('overbrowser'))
+ document.getElementById('onmouseoversrc').style.width = '260px';
+
+ // Setup browse button
+ document.getElementById('onmouseoutsrccontainer').innerHTML = getBrowserHTML('outbrowser','onmouseoutsrc','image','theme_advanced_image');
+ if (isVisible('outbrowser'))
+ document.getElementById('onmouseoutsrc').style.width = '260px';
+
+ // If option enabled default contrain proportions to checked
+ if (ed.getParam("advimage_constrain_proportions", true))
+ f.constrain.checked = true;
+
+ // Check swap image if valid data
+ if (nl.onmouseoversrc.value || nl.onmouseoutsrc.value)
+ this.setSwapImage(true);
+ else
+ this.setSwapImage(false);
+
+ this.changeAppearance();
+ this.showPreviewImage(nl.src.value, 1);
+ },
+
+ insert : function(file, title) {
+ var ed = tinyMCEPopup.editor, t = this, f = document.forms[0];
+
+ if (f.src.value === '') {
+ if (ed.selection.getNode().nodeName == 'IMG') {
+ ed.dom.remove(ed.selection.getNode());
+ ed.execCommand('mceRepaint');
+ }
+
+ tinyMCEPopup.close();
+ return;
+ }
+
+ if (tinyMCEPopup.getParam("accessibility_warnings", 1)) {
+ if (!f.alt.value) {
+ tinyMCEPopup.confirm(tinyMCEPopup.getLang('advimage_dlg.missing_alt'), function(s) {
+ if (s)
+ t.insertAndClose();
+ });
+
+ return;
+ }
+ }
+
+ t.insertAndClose();
+ },
+
+ insertAndClose : function() {
+ var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el;
+
+ tinyMCEPopup.restoreSelection();
+
+ // Fixes crash in Safari
+ if (tinymce.isWebKit)
+ ed.getWin().focus();
+
+ if (!ed.settings.inline_styles) {
+ args = {
+ vspace : nl.vspace.value,
+ hspace : nl.hspace.value,
+ border : nl.border.value,
+ align : getSelectValue(f, 'align')
+ };
+ } else {
+ // Remove deprecated values
+ args = {
+ vspace : '',
+ hspace : '',
+ border : '',
+ align : ''
+ };
+ }
+
+ tinymce.extend(args, {
+ src : nl.src.value,
+ width : nl.width.value,
+ height : nl.height.value,
+ alt : nl.alt.value,
+ title : nl.title.value,
+ 'class' : getSelectValue(f, 'class_list'),
+ style : nl.style.value,
+ id : nl.id.value,
+ dir : nl.dir.value,
+ lang : nl.lang.value,
+ usemap : nl.usemap.value,
+ longdesc : nl.longdesc.value
+ });
+
+ args.onmouseover = args.onmouseout = '';
+
+ if (f.onmousemovecheck.checked) {
+ if (nl.onmouseoversrc.value)
+ args.onmouseover = "this.src='" + nl.onmouseoversrc.value + "';";
+
+ if (nl.onmouseoutsrc.value)
+ args.onmouseout = "this.src='" + nl.onmouseoutsrc.value + "';";
+ }
+
+ el = ed.selection.getNode();
+
+ if (el && el.nodeName == 'IMG') {
+ ed.dom.setAttribs(el, args);
+ } else {
+ ed.execCommand('mceInsertContent', false, '', {skip_undo : 1});
+ ed.dom.setAttribs('__mce_tmp', args);
+ ed.dom.setAttrib('__mce_tmp', 'id', '');
+ ed.undoManager.add();
+ }
+
+ tinyMCEPopup.close();
+ },
+
+ getAttrib : function(e, at) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2;
+
+ if (ed.settings.inline_styles) {
+ switch (at) {
+ case 'align':
+ if (v = dom.getStyle(e, 'float'))
+ return v;
+
+ if (v = dom.getStyle(e, 'vertical-align'))
+ return v;
+
+ break;
+
+ case 'hspace':
+ v = dom.getStyle(e, 'margin-left')
+ v2 = dom.getStyle(e, 'margin-right');
+
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'vspace':
+ v = dom.getStyle(e, 'margin-top')
+ v2 = dom.getStyle(e, 'margin-bottom');
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'border':
+ v = 0;
+
+ tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) {
+ sv = dom.getStyle(e, 'border-' + sv + '-width');
+
+ // False or not the same as prev
+ if (!sv || (sv != v && v !== 0)) {
+ v = 0;
+ return false;
+ }
+
+ if (sv)
+ v = sv;
+ });
+
+ if (v)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+ }
+ }
+
+ if (v = dom.getAttrib(e, at))
+ return v;
+
+ return '';
+ },
+
+ setSwapImage : function(st) {
+ var f = document.forms[0];
+
+ f.onmousemovecheck.checked = st;
+ setBrowserDisabled('overbrowser', !st);
+ setBrowserDisabled('outbrowser', !st);
+
+ if (f.over_list)
+ f.over_list.disabled = !st;
+
+ if (f.out_list)
+ f.out_list.disabled = !st;
+
+ f.onmouseoversrc.disabled = !st;
+ f.onmouseoutsrc.disabled = !st;
+ },
+
+ fillClassList : function(id) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ if (v = tinyMCEPopup.getParam('theme_advanced_styles')) {
+ cl = [];
+
+ tinymce.each(v.split(';'), function(v) {
+ var p = v.split('=');
+
+ cl.push({'title' : p[0], 'class' : p[1]});
+ });
+ } else
+ cl = tinyMCEPopup.editor.dom.getClasses();
+
+ if (cl.length > 0) {
+ lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), '');
+
+ tinymce.each(cl, function(o) {
+ lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ fillFileList : function(id, l) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ l = window[l];
+
+ if (l && l.length > 0) {
+ lst.options[lst.options.length] = new Option('', '');
+
+ tinymce.each(l, function(o) {
+ lst.options[lst.options.length] = new Option(o[0], o[1]);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ resetImageData : function() {
+ var f = document.forms[0];
+
+ f.elements.width.value = f.elements.height.value = '';
+ },
+
+ updateImageData : function(img, st) {
+ var f = document.forms[0];
+
+ if (!st) {
+ f.elements.width.value = img.width;
+ f.elements.height.value = img.height;
+ }
+
+ this.preloadImg = img;
+ },
+
+ changeAppearance : function() {
+ var ed = tinyMCEPopup.editor, f = document.forms[0], img = document.getElementById('alignSampleImg');
+
+ if (img) {
+ if (ed.getParam('inline_styles')) {
+ ed.dom.setAttrib(img, 'style', f.style.value);
+ } else {
+ img.align = f.align.value;
+ img.border = f.border.value;
+ img.hspace = f.hspace.value;
+ img.vspace = f.vspace.value;
+ }
+ }
+ },
+
+ changeHeight : function() {
+ var f = document.forms[0], tp, t = this;
+
+ if (!f.constrain.checked || !t.preloadImg) {
+ return;
+ }
+
+ if (f.width.value == "" || f.height.value == "")
+ return;
+
+ tp = (parseInt(f.width.value) / parseInt(t.preloadImg.width)) * t.preloadImg.height;
+ f.height.value = tp.toFixed(0);
+ },
+
+ changeWidth : function() {
+ var f = document.forms[0], tp, t = this;
+
+ if (!f.constrain.checked || !t.preloadImg) {
+ return;
+ }
+
+ if (f.width.value == "" || f.height.value == "")
+ return;
+
+ tp = (parseInt(f.height.value) / parseInt(t.preloadImg.height)) * t.preloadImg.width;
+ f.width.value = tp.toFixed(0);
+ },
+
+ updateStyle : function(ty) {
+ var dom = tinyMCEPopup.dom, st, v, f = document.forms[0], img = dom.create('img', {style : dom.get('style').value});
+
+ if (tinyMCEPopup.editor.settings.inline_styles) {
+ // Handle align
+ if (ty == 'align') {
+ dom.setStyle(img, 'float', '');
+ dom.setStyle(img, 'vertical-align', '');
+
+ v = getSelectValue(f, 'align');
+ if (v) {
+ if (v == 'left' || v == 'right')
+ dom.setStyle(img, 'float', v);
+ else
+ img.style.verticalAlign = v;
+ }
+ }
+
+ // Handle border
+ if (ty == 'border') {
+ dom.setStyle(img, 'border', '');
+
+ v = f.border.value;
+ if (v || v == '0') {
+ if (v == '0')
+ img.style.border = '0';
+ else
+ img.style.border = v + 'px solid black';
+ }
+ }
+
+ // Handle hspace
+ if (ty == 'hspace') {
+ dom.setStyle(img, 'marginLeft', '');
+ dom.setStyle(img, 'marginRight', '');
+
+ v = f.hspace.value;
+ if (v) {
+ img.style.marginLeft = v + 'px';
+ img.style.marginRight = v + 'px';
+ }
+ }
+
+ // Handle vspace
+ if (ty == 'vspace') {
+ dom.setStyle(img, 'marginTop', '');
+ dom.setStyle(img, 'marginBottom', '');
+
+ v = f.vspace.value;
+ if (v) {
+ img.style.marginTop = v + 'px';
+ img.style.marginBottom = v + 'px';
+ }
+ }
+
+ // Merge
+ dom.get('style').value = dom.serializeStyle(dom.parseStyle(img.style.cssText));
+ }
+ },
+
+ changeMouseMove : function() {
+ },
+
+ showPreviewImage : function(u, st) {
+ if (!u) {
+ tinyMCEPopup.dom.setHTML('prev', '');
+ return;
+ }
+
+ if (!st && tinyMCEPopup.getParam("advimage_update_dimensions_onchange", true))
+ this.resetImageData();
+
+ u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u);
+
+ if (!st)
+ tinyMCEPopup.dom.setHTML('prev', '');
+ else
+ tinyMCEPopup.dom.setHTML('prev', '');
+ }
+};
+
+ImageDialog.preInit();
+tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog);
diff --git a/webcit/tiny_mce/plugins/advimage/langs/da_dlg.js b/webcit/tiny_mce/plugins/advimage/langs/da_dlg.js
new file mode 100644
index 000000000..6786ab1a5
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/langs/da_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('da.advimage_dlg',{
+tab_general:"Generelt",
+tab_appearance:"Udseende",
+tab_advanced:"Avanceret",
+general:"Generelt",
+title:"Titel",
+preview:"Vis",
+constrain_proportions:"Bibehold proportioner",
+langdir:"Sprogretning",
+langcode:"Sprogkode",
+long_desc:"Lang beskrivelseslink",
+style:"Stil",
+classes:"Klasser",
+ltr:"Venstre til h\u00F8jre",
+rtl:"H\u00F8jre til venstre",
+id:"Id",
+map:"Billede map",
+swap_image:"Byt billede",
+alt_image:"Alternativt billede",
+mouseover:"for mus-over",
+mouseout:"for mus-ud",
+misc:"Diverse",
+example_img:"Forh\u00E5ndsvisning af billede",
+missing_alt:"Er du sikker p\u00E5, at du vil forts\u00E6tte uden at inkludere en billedebeskrivelse? Uden denne er billedet m\u00E5ske ikke tilg\u00E6ngeligt for nogle brugere med handicaps, eller for dem der bruger en tekstbrowser, eller som browser internettet med billeder sl\u00E5et fra.",
+dialog_title:"Inds\u00E6t/rediger billede",
+src:"Billed-URL",
+alt:"Billedbeskrivelse",
+list:"Billedliste",
+border:"Kant",
+dimensions:"Dimentioner",
+vspace:"Vertikal afstand",
+hspace:"Horisontal afstand",
+align:"Justering",
+align_baseline:"Grundlinje",
+align_top:"Top",
+align_middle:"Midte",
+align_bottom:"Bund",
+align_texttop:"Teksttop",
+align_textbottom:"Tekstbund",
+align_left:"Venstre",
+align_right:"H\u00F8jre",
+image_list:"Billedliste"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/langs/de_dlg.js b/webcit/tiny_mce/plugins/advimage/langs/de_dlg.js
new file mode 100644
index 000000000..1e7983d8b
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/langs/de_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('de.advimage_dlg',{
+tab_general:"Allgemein",
+tab_appearance:"Aussehen",
+tab_advanced:"Erweitert",
+general:"Allgemein",
+title:"Titel",
+preview:"Vorschau",
+constrain_proportions:"Ausma\u00DFe",
+langdir:"Schriftrichtung",
+langcode:"Sprachcode",
+long_desc:"Ausf\u00FChrliche Beschreibung",
+style:"Format",
+classes:"Klassen",
+ltr:"Links nach rechts",
+rtl:"Rechts nach links",
+id:"ID",
+map:"Image-Map",
+swap_image:"Bild austauschen",
+alt_image:"Alternatives Bild",
+mouseover:"bei Mauskontakt",
+mouseout:"bei keinem Mauskontakt",
+misc:"Verschiedenes",
+example_img:"Aussehen der Vorschau",
+missing_alt:"Wollen Sie wirklich keine Beschreibung eingeben? Bestimmte Benutzer mit k\u00F6rperlichen Einschr\u00E4nkungen k\u00F6nnen so nicht darauf zugrifen, ebenso solche, die einen Textbrowser benutzen oder die Anzeige von Bildern deaktiviert haben.",
+dialog_title:"Bild einf\u00FCgen/bearbeiten",
+src:"Adresse",
+alt:"Beschreibung",
+list:"Bilderliste",
+border:"Rahmen",
+dimensions:"Ausma\u00DFe",
+vspace:"Vertikaler Abstand",
+hspace:"Horizontaler Abstand",
+align:"Ausrichtung",
+align_baseline:"Zeile",
+align_top:"Oben",
+align_middle:"Mittig",
+align_bottom:"Unten",
+align_texttop:"Oben im Text",
+align_textbottom:"Unten im Text",
+align_left:"Links",
+align_right:"Rechts",
+image_list:"Bilderliste"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/langs/en_dlg.js b/webcit/tiny_mce/plugins/advimage/langs/en_dlg.js
new file mode 100644
index 000000000..f493d196f
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/langs/en_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('en.advimage_dlg',{
+tab_general:"General",
+tab_appearance:"Appearance",
+tab_advanced:"Advanced",
+general:"General",
+title:"Title",
+preview:"Preview",
+constrain_proportions:"Constrain proportions",
+langdir:"Language direction",
+langcode:"Language code",
+long_desc:"Long description link",
+style:"Style",
+classes:"Classes",
+ltr:"Left to right",
+rtl:"Right to left",
+id:"Id",
+map:"Image map",
+swap_image:"Swap image",
+alt_image:"Alternative image",
+mouseover:"for mouse over",
+mouseout:"for mouse out",
+misc:"Miscellaneous",
+example_img:"Appearance preview image",
+missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.",
+dialog_title:"Insert/edit image",
+src:"Image URL",
+alt:"Image description",
+list:"Image list",
+border:"Border",
+dimensions:"Dimensions",
+vspace:"Vertical space",
+hspace:"Horizontal space",
+align:"Alignment",
+align_baseline:"Baseline",
+align_top:"Top",
+align_middle:"Middle",
+align_bottom:"Bottom",
+align_texttop:"Text top",
+align_textbottom:"Text bottom",
+align_left:"Left",
+align_right:"Right",
+image_list:"Image list"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/langs/es_dlg.js b/webcit/tiny_mce/plugins/advimage/langs/es_dlg.js
new file mode 100644
index 000000000..0930e3058
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/langs/es_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('es.advimage_dlg',{
+tab_general:"General",
+tab_appearance:"Apariencia",
+tab_advanced:"Avanzado",
+general:"General",
+title:"T\u00EDtulo",
+preview:"Vista previa",
+constrain_proportions:"Bloquear relaci\u00F3n de aspecto",
+langdir:"Direcci\u00F3n del lenguaje",
+langcode:"C\u00F3digo del lenguaje",
+long_desc:"V\u00EDnculo para descripci\u00F3n larga",
+style:"Estilos",
+classes:"Clases",
+ltr:"Izquierda a derecha",
+rtl:"Derecha a izquierda",
+id:"Id",
+map:"Mapa de imagen",
+swap_image:"Intercambiar imagen",
+alt_image:"Imagen alternativa",
+mouseover:"para mouseover",
+mouseout:"para mouseout",
+misc:"Miscel\u00E1neo",
+example_img:"Vista previa de la imagen",
+missing_alt:" \u00BFEsta seguro de continuar sin introducir una descripci\u00F3n a la imagen? Sin ella puede no ser accesible para usuarios con discapacidades, o para aquellos que usen navegadores de modo texto, o tengan deshabilitadas las im\u00E1genes de la p\u00E1gina.",
+dialog_title:"Insertar/editar imagen",
+src:"URL de la imagen",
+alt:"Descripci\u00F3n de la imagen",
+list:"Lista de imagen",
+border:"Bordes",
+dimensions:"Dimensiones",
+vspace:"Espacio vertical",
+hspace:"Espacio horizontal",
+align:"Alineaci\u00F3n",
+align_baseline:"L\u00EDnea base",
+align_top:"Arriba",
+align_middle:"Medio",
+align_bottom:"Debajo",
+align_texttop:"Texto arriba",
+align_textbottom:"Texto abajo",
+align_left:"Izquierda",
+align_right:"Derecha",
+image_list:"Lista de imagen"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/langs/it_dlg.js b/webcit/tiny_mce/plugins/advimage/langs/it_dlg.js
new file mode 100644
index 000000000..70adae490
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/langs/it_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('it.advimage_dlg',{
+tab_general:"Generale",
+tab_appearance:"Aspetto",
+tab_advanced:"Avanzate",
+general:"Generale",
+title:"Titolo",
+preview:"Anteprima",
+constrain_proportions:"Mantieni proporzioni",
+langdir:"Direzione testo",
+langcode:"codice lingua",
+long_desc:"Descrizione del collegamento",
+style:"Stile",
+classes:"Classe",
+ltr:"Sinistra verso destra",
+rtl:"Destra verso sinistraa",
+id:"Id",
+map:"Immagine come mappa",
+swap_image:"Sostituisci immagine",
+alt_image:"Immagine alternativa",
+mouseover:"quando mouse sopra",
+mouseout:"quando mouse fuori",
+misc:"Impostazioni varie",
+example_img:"Anteprima aspetto immagine",
+missing_alt:"Sicuro di continuare senza includere una descrizione dell'immagine? Senza di essa l'immagine pu\u00F2 non essere accessibile ad alcuni utenti con disabilit\u00E0, o per coloro che usano un browser testuale oppure che hanno disabilitato la visualizzazione delle immagini nel loro browser.",
+dialog_title:"Inserisci/modifica immagine",
+src:"URL immagine",
+alt:"Descrizione immagine",
+list:"Lista immagini",
+border:"Bordo",
+dimensions:"Dimensioni",
+vspace:"Spaziatura verticale",
+hspace:"Spaziatura orizzontale",
+align:"Allineamento",
+align_baseline:"Alla base",
+align_top:"In alto",
+align_middle:"In mezzo",
+align_bottom:"In basso",
+align_texttop:"In alto al testo",
+align_textbottom:"In basso al testo",
+align_left:"A sinistra",
+align_right:"A destra",
+image_list:"Lista immagini"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/langs/nl_dlg.js b/webcit/tiny_mce/plugins/advimage/langs/nl_dlg.js
new file mode 100644
index 000000000..b6db1f22b
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/langs/nl_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('nl.advimage_dlg',{
+tab_general:"Algemeen",
+tab_appearance:"Weergave",
+tab_advanced:"Geavanceerd",
+general:"Algemeen",
+title:"Titel",
+preview:"Voorbeeld",
+constrain_proportions:"Verhouding behouden",
+langdir:"Taalrichting",
+langcode:"Taalcode",
+long_desc:"Uitgebreide beschrijving",
+style:"Stijl",
+classes:"Klasses",
+ltr:"Van links naar rechts",
+rtl:"Van rechts naar links",
+id:"Id",
+map:"Afbeeldingsplattegrond",
+swap_image:"Afbeelding wisselen",
+alt_image:"Alternatieve afbeeldingen",
+mouseover:"Bij muis over",
+mouseout:"Bij muis uit",
+misc:"Diversen",
+example_img:"Voorbeeldweergave",
+missing_alt:"Wilt u de afbeelding zonder beschrijving invoegen? De afbeelding wordt dan mogelijk niet opgemerkt door mensen met een visuele handicap, of welke zonder afbeeldingen browsen.",
+dialog_title:"Afbeelding invoegen/bewerken",
+src:"Bestand/URL",
+alt:"Beschrijving",
+list:"Lijst",
+border:"Rand",
+dimensions:"Afmetingen",
+vspace:"Verticale ruimte",
+hspace:"Horizontale ruimte",
+align:"Uitlijning",
+align_baseline:"Basislijn",
+align_top:"Boven",
+align_middle:"Midden",
+align_bottom:"Onder",
+align_texttop:"Bovenkant tekst",
+align_textbottom:"Onderkant tekst",
+align_left:"Links",
+align_right:"Rechts",
+image_list:"Lijst"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advimage/langs/pt_dlg.js b/webcit/tiny_mce/plugins/advimage/langs/pt_dlg.js
new file mode 100644
index 000000000..5f3885dee
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advimage/langs/pt_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('pt.advimage_dlg',{
+tab_general:"Geral",
+tab_appearance:"Apar\u00C3\u00AAncia",
+tab_advanced:"Avan\u00C3\u00A7ado",
+general:"Geral",
+title:"T\u00C3\u00ADtulo",
+preview:"Pr\u00C3\u00A9-Visualiza\u00C3\u00A7\u00C3\u00A3o",
+constrain_proportions:"Manter propor\u00C3\u00A7\u00C3\u00B5es",
+langdir:"Dire\u00C3\u00A7\u00C3\u00A3o do texto",
+langcode:"C\u00C3\u00B3digo de idioma",
+long_desc:"Descri\u00C3\u00A7\u00C3\u00A3o extensa",
+style:"Estilo",
+classes:"Classes",
+ltr:"Da esquerda para a direita",
+rtl:"Da direita para a esquerda",
+id:"Id",
+map:"Mapa de imagem",
+swap_image:"Trocar imagem",
+alt_image:"Imagem alternativa",
+mouseover:"mouseover",
+mouseout:"mouseout",
+misc:"Misto",
+example_img:"Pr\u00C3\u00A9-visualiza\u00C3\u00A7\u00C3\u00A3o",
+missing_alt:"Tem certeza que deseja continuar sem acrescentar uma descri\u00C3\u00A7\u00C3\u00A3o \u00C3\u00A0\u00C3\u0082 imagem? (Isto pode gerar problemas de acessibilidade em alguns navegadores)",
+dialog_title:"Inserir/editar imagem",
+src:"Endere\u00C3\u00A7o da imagem",
+alt:"Descri\u00C3\u00A7\u00C3\u00A3o da imagem",
+list:"Lista de imagens",
+border:"Limite",
+dimensions:"Dimens\u00C3\u00B5es",
+vspace:"Espa\u00C3\u00A7o vertical",
+hspace:"Espa\u00C3\u00A7o horizontal",
+align:"Alinhamento",
+align_baseline:"Sobre a linha de texto",
+align_top:"Topo",
+align_middle:"Meio",
+align_bottom:"Abaixo",
+align_texttop:"Topo do texto",
+align_textbottom:"Base do texto",
+align_left:"Esquerda",
+align_right:"Direita",
+image_list:"Lista de imagens"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/css/advlink.css b/webcit/tiny_mce/plugins/advlink/css/advlink.css
new file mode 100644
index 000000000..14364316a
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/css/advlink.css
@@ -0,0 +1,8 @@
+.mceLinkList, .mceAnchorList, #targetlist {width:280px;}
+.mceActionPanel {margin-top:7px;}
+.panel_wrapper div.current {height:320px;}
+#classlist, #title, #href {width:280px;}
+#popupurl, #popupname {width:200px;}
+#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;}
+#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;}
+#events_panel input {width:200px;}
diff --git a/webcit/tiny_mce/plugins/advlink/editor_plugin.js b/webcit/tiny_mce/plugins/advlink/editor_plugin.js
new file mode 100644
index 000000000..4899f7b8c
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AdvancedLinkPlugin',{init:function(ed,url){this.editor=ed;ed.addCommand('mceAdvLink',function(){var se=ed.selection;if(se.isCollapsed()&&!ed.dom.getParent(se.getNode(),'A'))return;ed.windowManager.open({file:url+'/link.htm',width:480+parseInt(ed.getLang('advlink.delta_width',0)),height:400+parseInt(ed.getLang('advlink.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('link',{title:'advlink.link_desc',cmd:'mceAdvLink'});ed.addShortcut('ctrl+k','advlink.advlink_desc','mceAdvLink');ed.onNodeChange.add(function(ed,cm,n,co){cm.setDisabled('link',co&&n.nodeName!='A');cm.setActive('link',n.nodeName=='A'&&!n.name);});},getInfo:function(){return{longname:'Advanced link',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advlink',tinymce.plugins.AdvancedLinkPlugin);})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/editor_plugin_src.js b/webcit/tiny_mce/plugins/advlink/editor_plugin_src.js
new file mode 100644
index 000000000..fc5325a96
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/editor_plugin_src.js
@@ -0,0 +1,58 @@
+/**
+ * $Id: editor_plugin_src.js 539 2008-01-14 19:08:58Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedLinkPlugin', {
+ init : function(ed, url) {
+ this.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceAdvLink', function() {
+ var se = ed.selection;
+
+ // No selection and not in link
+ if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
+ return;
+
+ ed.windowManager.open({
+ file : url + '/link.htm',
+ width : 480 + parseInt(ed.getLang('advlink.delta_width', 0)),
+ height : 400 + parseInt(ed.getLang('advlink.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('link', {
+ title : 'advlink.link_desc',
+ cmd : 'mceAdvLink'
+ });
+
+ ed.addShortcut('ctrl+k', 'advlink.advlink_desc', 'mceAdvLink');
+
+ ed.onNodeChange.add(function(ed, cm, n, co) {
+ cm.setDisabled('link', co && n.nodeName != 'A');
+ cm.setActive('link', n.nodeName == 'A' && !n.name);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced link',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advlink', tinymce.plugins.AdvancedLinkPlugin);
+})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/js/advlink.js b/webcit/tiny_mce/plugins/advlink/js/advlink.js
new file mode 100644
index 000000000..a89625014
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/js/advlink.js
@@ -0,0 +1,527 @@
+/* Functions for the advlink plugin popup */
+
+tinyMCEPopup.requireLangPack();
+
+var templates = {
+ "window.open" : "window.open('${url}','${target}','${options}')"
+};
+
+function preinit() {
+ var url;
+
+ if (url = tinyMCEPopup.getParam("external_link_list_url"))
+ document.write('');
+}
+
+function changeClass() {
+ var f = document.forms[0];
+
+ f.classes.value = getSelectValue(f, 'classlist');
+}
+
+function init() {
+ tinyMCEPopup.resizeToInnerSize();
+
+ var formObj = document.forms[0];
+ var inst = tinyMCEPopup.editor;
+ var elm = inst.selection.getNode();
+ var action = "insert";
+ var html;
+
+ document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink');
+ document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink');
+ document.getElementById('linklisthrefcontainer').innerHTML = getLinkListHTML('linklisthref','href');
+ document.getElementById('anchorlistcontainer').innerHTML = getAnchorListHTML('anchorlist','href');
+ document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target');
+
+ // Link list
+ html = getLinkListHTML('linklisthref','href');
+ if (html == "")
+ document.getElementById("linklisthrefrow").style.display = 'none';
+ else
+ document.getElementById("linklisthrefcontainer").innerHTML = html;
+
+ // Resize some elements
+ if (isVisible('hrefbrowser'))
+ document.getElementById('href').style.width = '260px';
+
+ if (isVisible('popupurlbrowser'))
+ document.getElementById('popupurl').style.width = '180px';
+
+ elm = inst.dom.getParent(elm, "A");
+ if (elm != null && elm.nodeName == "A")
+ action = "update";
+
+ formObj.insert.value = tinyMCEPopup.getLang(action, 'Insert', true);
+
+ setPopupControlsDisabled(true);
+
+ if (action == "update") {
+ var href = inst.dom.getAttrib(elm, 'href');
+ var onclick = inst.dom.getAttrib(elm, 'onclick');
+
+ // Setup form data
+ setFormValue('href', href);
+ setFormValue('title', inst.dom.getAttrib(elm, 'title'));
+ setFormValue('id', inst.dom.getAttrib(elm, 'id'));
+ setFormValue('style', inst.dom.getAttrib(elm, "style"));
+ setFormValue('rel', inst.dom.getAttrib(elm, 'rel'));
+ setFormValue('rev', inst.dom.getAttrib(elm, 'rev'));
+ setFormValue('charset', inst.dom.getAttrib(elm, 'charset'));
+ setFormValue('hreflang', inst.dom.getAttrib(elm, 'hreflang'));
+ setFormValue('dir', inst.dom.getAttrib(elm, 'dir'));
+ setFormValue('lang', inst.dom.getAttrib(elm, 'lang'));
+ setFormValue('tabindex', inst.dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : ""));
+ setFormValue('accesskey', inst.dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : ""));
+ setFormValue('type', inst.dom.getAttrib(elm, 'type'));
+ setFormValue('onfocus', inst.dom.getAttrib(elm, 'onfocus'));
+ setFormValue('onblur', inst.dom.getAttrib(elm, 'onblur'));
+ setFormValue('onclick', onclick);
+ setFormValue('ondblclick', inst.dom.getAttrib(elm, 'ondblclick'));
+ setFormValue('onmousedown', inst.dom.getAttrib(elm, 'onmousedown'));
+ setFormValue('onmouseup', inst.dom.getAttrib(elm, 'onmouseup'));
+ setFormValue('onmouseover', inst.dom.getAttrib(elm, 'onmouseover'));
+ setFormValue('onmousemove', inst.dom.getAttrib(elm, 'onmousemove'));
+ setFormValue('onmouseout', inst.dom.getAttrib(elm, 'onmouseout'));
+ setFormValue('onkeypress', inst.dom.getAttrib(elm, 'onkeypress'));
+ setFormValue('onkeydown', inst.dom.getAttrib(elm, 'onkeydown'));
+ setFormValue('onkeyup', inst.dom.getAttrib(elm, 'onkeyup'));
+ setFormValue('target', inst.dom.getAttrib(elm, 'target'));
+ setFormValue('classes', inst.dom.getAttrib(elm, 'class'));
+
+ // Parse onclick data
+ if (onclick != null && onclick.indexOf('window.open') != -1)
+ parseWindowOpen(onclick);
+ else
+ parseFunction(onclick);
+
+ // Select by the values
+ selectByValue(formObj, 'dir', inst.dom.getAttrib(elm, 'dir'));
+ selectByValue(formObj, 'rel', inst.dom.getAttrib(elm, 'rel'));
+ selectByValue(formObj, 'rev', inst.dom.getAttrib(elm, 'rev'));
+ selectByValue(formObj, 'linklisthref', href);
+
+ if (href.charAt(0) == '#')
+ selectByValue(formObj, 'anchorlist', href);
+
+ addClassesToList('classlist', 'advlink_styles');
+
+ selectByValue(formObj, 'classlist', inst.dom.getAttrib(elm, 'class'), true);
+ selectByValue(formObj, 'targetlist', inst.dom.getAttrib(elm, 'target'), true);
+ } else
+ addClassesToList('classlist', 'advlink_styles');
+}
+
+function checkPrefix(n) {
+ if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_email')))
+ n.value = 'mailto:' + n.value;
+
+ if (/^\s*www./i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_external')))
+ n.value = 'http://' + n.value;
+}
+
+function setFormValue(name, value) {
+ document.forms[0].elements[name].value = value;
+}
+
+function parseWindowOpen(onclick) {
+ var formObj = document.forms[0];
+
+ // Preprocess center code
+ if (onclick.indexOf('return false;') != -1) {
+ formObj.popupreturn.checked = true;
+ onclick = onclick.replace('return false;', '');
+ } else
+ formObj.popupreturn.checked = false;
+
+ var onClickData = parseLink(onclick);
+
+ if (onClickData != null) {
+ formObj.ispopup.checked = true;
+ setPopupControlsDisabled(false);
+
+ var onClickWindowOptions = parseOptions(onClickData['options']);
+ var url = onClickData['url'];
+
+ formObj.popupname.value = onClickData['target'];
+ formObj.popupurl.value = url;
+ formObj.popupwidth.value = getOption(onClickWindowOptions, 'width');
+ formObj.popupheight.value = getOption(onClickWindowOptions, 'height');
+
+ formObj.popupleft.value = getOption(onClickWindowOptions, 'left');
+ formObj.popuptop.value = getOption(onClickWindowOptions, 'top');
+
+ if (formObj.popupleft.value.indexOf('screen') != -1)
+ formObj.popupleft.value = "c";
+
+ if (formObj.popuptop.value.indexOf('screen') != -1)
+ formObj.popuptop.value = "c";
+
+ formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes";
+ formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes";
+ formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes";
+ formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes";
+ formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes";
+ formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes";
+ formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes";
+
+ buildOnClick();
+ }
+}
+
+function parseFunction(onclick) {
+ var formObj = document.forms[0];
+ var onClickData = parseLink(onclick);
+
+ // TODO: Add stuff here
+}
+
+function getOption(opts, name) {
+ return typeof(opts[name]) == "undefined" ? "" : opts[name];
+}
+
+function setPopupControlsDisabled(state) {
+ var formObj = document.forms[0];
+
+ formObj.popupname.disabled = state;
+ formObj.popupurl.disabled = state;
+ formObj.popupwidth.disabled = state;
+ formObj.popupheight.disabled = state;
+ formObj.popupleft.disabled = state;
+ formObj.popuptop.disabled = state;
+ formObj.popuplocation.disabled = state;
+ formObj.popupscrollbars.disabled = state;
+ formObj.popupmenubar.disabled = state;
+ formObj.popupresizable.disabled = state;
+ formObj.popuptoolbar.disabled = state;
+ formObj.popupstatus.disabled = state;
+ formObj.popupreturn.disabled = state;
+ formObj.popupdependent.disabled = state;
+
+ setBrowserDisabled('popupurlbrowser', state);
+}
+
+function parseLink(link) {
+ link = link.replace(new RegExp(''', 'g'), "'");
+
+ var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1");
+
+ // Is function name a template function
+ var template = templates[fnName];
+ if (template) {
+ // Build regexp
+ var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi"));
+ var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\(";
+ var replaceStr = "";
+ for (var i=0; i";
+ } else
+ regExp += ".*";
+ }
+
+ regExp += "\\);?";
+
+ // Build variable array
+ var variables = [];
+ variables["_function"] = fnName;
+ var variableValues = link.replace(new RegExp(regExp, "gi"), replaceStr).split('');
+ for (var i=0; i';
+ html += '';
+
+ for (i=0; i' + name + '';
+ }
+
+ html += '';
+
+ return html;
+}
+
+function insertAction() {
+ var inst = tinyMCEPopup.editor;
+ var elm, elementArray, i;
+
+ elm = inst.selection.getNode();
+ checkPrefix(document.forms[0].href);
+
+ elm = inst.dom.getParent(elm, "A");
+
+ // Remove element if there is no href
+ if (!document.forms[0].href.value) {
+ tinyMCEPopup.execCommand("mceBeginUndoLevel");
+ i = inst.selection.getBookmark();
+ inst.dom.remove(elm, 1);
+ inst.selection.moveToBookmark(i);
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
+ tinyMCEPopup.close();
+ return;
+ }
+
+ tinyMCEPopup.execCommand("mceBeginUndoLevel");
+
+ // Create new anchor elements
+ if (elm == null) {
+ tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#", {skip_undo : 1});
+
+ elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';});
+ for (i=0; i';
+
+ for (var i=0; i' + tinyMCELinkList[i][0] + '';
+
+ html += '';
+
+ return html;
+
+ // tinyMCE.debug('-- image list start --', html, '-- image list end --');
+}
+
+function getTargetListHTML(elm_id, target_form_element) {
+ var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';');
+ var html = '';
+
+ html += '';
+
+ return html;
+}
+
+// While loading
+preinit();
+tinyMCEPopup.onInit.add(init);
diff --git a/webcit/tiny_mce/plugins/advlink/langs/da_dlg.js b/webcit/tiny_mce/plugins/advlink/langs/da_dlg.js
new file mode 100644
index 000000000..dc8bfd788
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/langs/da_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('da.advlink_dlg',{
+title:"Inds\u00E6t/rediger link",
+url:"Link URL",
+target:"M\u00E5l",
+titlefield:"Titel",
+is_email:"Den URL, der er indtastet, ser ud til at v\u00E6re en emailadresse. Vil du have tilf\u00F8jet det p\u00E5kr\u00E6vede mailto: foran?",
+is_external:"Den URL, der er indtastet, ser ud til at v\u00E6re et eksternt link. Vil du have tilf\u00F8jet det p\u00E5kr\u00E6vede http:// foran?",
+list:"Liste over links",
+general_tab:"Generelt",
+popup_tab:"Popup",
+events_tab:"H\u00E6ndelser",
+advanced_tab:"Advanceret",
+general_props:"Generelle egenskaber",
+popup_props:"Popup egenskaber",
+event_props:"H\u00E6ndelser",
+advanced_props:"Avancerede egenskaber",
+popup_opts:"Indstillinger",
+anchor_names:"Ankre",
+target_same:"\u00C5ben i dette vindue / ramme",
+target_parent:"\u00C5ben i overliggende vindue / ramme",
+target_top:"\u00C5ben i \u00F8verste vindue / ramme (erstatter alle rammer)",
+target_blank:"\u00C5ben i nyt vindue",
+popup:"Javascript popup",
+popup_url:"Popup URL",
+popup_name:"Vinduesnavn",
+popup_return:"Inds\u00E6t 'return false'",
+popup_scrollbars:"Vis rullepanel",
+popup_statusbar:"Vis statuslinje",
+popup_toolbar:"Vis v\u00E6rkt\u00F8jslinjer",
+popup_menubar:"Vis menulinje",
+popup_location:"Vis adresselinje",
+popup_resizable:"Lad det v\u00E6re muligt at \u00E6ndre st\u00F8rrelsen p\u00E5 vinduet",
+popup_dependent:"Afh\u00E6ngig (Kun Mozilla/Firefox)",
+popup_size:"St\u00F8rrelse",
+popup_position:"Position (X/Y)",
+id:"Id",
+style:"Stil",
+classes:"Klasser",
+target_name:"Destinationsnavn",
+langdir:"Sprogretning",
+target_langcode:"Destinationssprog",
+langcode:"Sprogkode",
+encoding:"Destinationstegns\u00E6t",
+mime:"Destinations-MIME-type",
+rel:"Relativ side til destination",
+rev:"Relativ destination til side",
+tabindex:"Tabindex",
+accesskey:"Genvejstast",
+ltr:"Venstre mod h\u00F8jre",
+rtl:"H\u00F8jre mod venstre",
+link_list:"Liste over links"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/langs/de_dlg.js b/webcit/tiny_mce/plugins/advlink/langs/de_dlg.js
new file mode 100644
index 000000000..a52dded75
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/langs/de_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('de.advlink_dlg',{
+title:"Link einf\u00FCgen/bearbeiten",
+url:"Adresse",
+target:"Fenster",
+titlefield:"Titel",
+is_email:"Bei der Adresse scheint es sich um eine E-Mail-Adresse zu handeln. Wollen Sie das dazu ben\u00F6tigte mailto: voranstellen?",
+is_external:"Bei der Adresse scheint es sich um einen externen Link zu handeln. M\u00F6chten Sie, dass zur korrekten Verlinkung ein http:// vorangestellt wird?",
+list:"Linkliste",
+general_tab:"Allgemein",
+popup_tab:"Popup",
+events_tab:"Ereignisse",
+advanced_tab:"Erweitert",
+general_props:"Allemeine Eigenschaften",
+popup_props:"Popup-Eigenschaften",
+event_props:"Ereignisse",
+advanced_props:"Erweiterte Eigenschaften",
+popup_opts:"Optionen",
+anchor_names:"Anker",
+target_same:"Im selben Fenster/Frame \u00F6ffnen",
+target_parent:"Im \u00FCbergeordneten Fenster/Frame \u00F6ffnen",
+target_top:"Im obersten Frame \u00F6ffnen (sprengt das Frameset)",
+target_blank:"In neuem Fenster \u00F6ffnen",
+popup:"JavaScript-Popup",
+popup_url:"Popup-Adresse",
+popup_name:"Name des Fensters",
+popup_return:"Link trotz Popup folgen",
+popup_scrollbars:"Scrollbalken anzeigen",
+popup_statusbar:"Statusleiste anzeigen",
+popup_toolbar:"Werkzeugleisten anzeigen",
+popup_menubar:"Browsermen\u00FC anzeigen",
+popup_location:"Adressleiste anzeigen",
+popup_resizable:"Vergr\u00F6\u00DFern des Fenster zulassen",
+popup_dependent:"Vom Elternfenster abh\u00E4ngig
(nur Mozilla/Firefox) ",
+popup_size:"Gr\u00F6\u00DFe",
+popup_position:"Position (X/Y)",
+id:"ID",
+style:"Format",
+classes:"Klassen",
+target_name:"Name der Zielseite",
+langdir:"Schriftrichtung",
+target_langcode:"Sprache der Zielseite",
+langcode:"Sprachcode",
+encoding:"Zeichenkodierung der Zielseite",
+mime:"MIME-Type der Zielseite",
+rel:"Beziehung der Seite zum Linkziel",
+rev:"Beziehung des Linkziels zur Seite",
+tabindex:"Tabindex",
+accesskey:"Tastenk\u00FCrzel",
+ltr:"Links nach rechts",
+rtl:"Rechts nach links",
+link_list:"Linkliste"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/langs/en_dlg.js b/webcit/tiny_mce/plugins/advlink/langs/en_dlg.js
new file mode 100644
index 000000000..c71ffbd0f
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/langs/en_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('en.advlink_dlg',{
+title:"Insert/edit link",
+url:"Link URL",
+target:"Target",
+titlefield:"Title",
+is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?",
+is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?",
+list:"Link list",
+general_tab:"General",
+popup_tab:"Popup",
+events_tab:"Events",
+advanced_tab:"Advanced",
+general_props:"General properties",
+popup_props:"Popup properties",
+event_props:"Events",
+advanced_props:"Advanced properties",
+popup_opts:"Options",
+anchor_names:"Anchors",
+target_same:"Open in this window / frame",
+target_parent:"Open in parent window / frame",
+target_top:"Open in top frame (replaces all frames)",
+target_blank:"Open in new window",
+popup:"Javascript popup",
+popup_url:"Popup URL",
+popup_name:"Window name",
+popup_return:"Insert 'return false'",
+popup_scrollbars:"Show scrollbars",
+popup_statusbar:"Show status bar",
+popup_toolbar:"Show toolbars",
+popup_menubar:"Show menu bar",
+popup_location:"Show location bar",
+popup_resizable:"Make window resizable",
+popup_dependent:"Dependent (Mozilla/Firefox only)",
+popup_size:"Size",
+popup_position:"Position (X/Y)",
+id:"Id",
+style:"Style",
+classes:"Classes",
+target_name:"Target name",
+langdir:"Language direction",
+target_langcode:"Target language",
+langcode:"Language code",
+encoding:"Target character encoding",
+mime:"Target MIME type",
+rel:"Relationship page to target",
+rev:"Relationship target to page",
+tabindex:"Tabindex",
+accesskey:"Accesskey",
+ltr:"Left to right",
+rtl:"Right to left",
+link_list:"Link list"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/langs/es_dlg.js b/webcit/tiny_mce/plugins/advlink/langs/es_dlg.js
new file mode 100644
index 000000000..d99c45cc6
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/langs/es_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('es.advlink_dlg',{
+title:"Insertar/editar hiperv\u00EDnculo",
+url:"URL del hiperv\u00EDnculo",
+target:"Destino",
+titlefield:"T\u00EDtulo",
+is_email:"La URL que ha introducido parece ser una direci\u00F3n de correo, \u00BFdesea agregar el prefijo mailto: necesario?",
+is_external:"La URL que ha introducido parece ser un v\u00EDnculo externo, \u00BFdesea agregar el prefijo http:// necesario?",
+list:"Lista de v\u00EDnculos",
+general_tab:"General",
+popup_tab:"Ventana emergente",
+events_tab:"Eventos",
+advanced_tab:"Avanzado",
+general_props:"Propiedades generales",
+popup_props:"Propiedades de ventanas emergentes",
+event_props:"Eventos",
+advanced_props:"Propiedades avanzadas",
+popup_opts:"Opciones",
+anchor_names:"Anclas",
+target_same:"Abrir en esta ventana / marco",
+target_parent:"Abrir en ventana padre / marco",
+target_top:"Abrir en el marco superior (reemplaza todos los marcos)",
+target_blank:"Abrir en ventana nueva",
+popup:"Javascript popup",
+popup_url:"URL de la ventana emergente",
+popup_name:"Nombre de la ventana",
+popup_return:"Insertar 'return false'",
+popup_scrollbars:"Barras de desplazamiento",
+popup_statusbar:"Barra de estado",
+popup_toolbar:"Barra de herramientas",
+popup_menubar:"Barra de men\u00FA",
+popup_location:"Barra de localizaci\u00F3n",
+popup_resizable:"Permitir cambiar el tama\u00F1o de la ventana",
+popup_dependent:"Dependientes (s\u00F3lo Mozilla/Firefox)",
+popup_size:"Tama\u00F1o",
+popup_position:"Posici\u00F3n (X/Y)",
+id:"Id",
+style:"Estilo",
+classes:"Clases",
+target_name:"Nombre del Target",
+langdir:"Direcci\u00F3n del lenguaje",
+target_langcode:"Lenguaje del Target",
+langcode:"C\u00F3digo del lenguaje",
+encoding:"Codificaci\u00F3n de caracteres del Target",
+mime:"Tipo MIME del Target",
+rel:"Relaci\u00F3n p\u00E1gina a target",
+rev:"Relaci\u00F3n target a p\u00E1gina",
+tabindex:"Indice de tabulaci\u00F3n",
+accesskey:"Tecla de acceso",
+ltr:"Izquierda a derecha",
+rtl:"Derecha a izquierda",
+link_list:"Lista de v\u00EDnculo"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/langs/it_dlg.js b/webcit/tiny_mce/plugins/advlink/langs/it_dlg.js
new file mode 100644
index 000000000..aa1c25abf
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/langs/it_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('it.advlink_dlg',{
+title:"Inserisci/modifica link",
+url:"URL collegamento",
+target:"Target",
+titlefield:"Titolo",
+is_email:"L'URL inserito sembra essere un indirizzo email. Aggiungere il necessario prefisso mailto: ?",
+is_external:"L'URL inserito sembra essere un link esterno. Aggiungere il necessario prefisso http:// ?",
+list:"Lista collegamenti",
+general_tab:"Generale",
+popup_tab:"Popup",
+events_tab:"Eventi",
+advanced_tab:"Avanzate",
+general_props:"Propriet\u00E0 generali",
+popup_props:"Propriet\u00E0 popup",
+event_props:"Eventi",
+advanced_props:"Propriet\u00E0 avanzate",
+popup_opts:"Opzioni",
+anchor_names:"Ancore",
+target_same:"Apri in questa finestra / cornice",
+target_parent:"Apri nella finestra / cornice genitore",
+target_top:"Apri nella cornice superiore (sostituisce tutte le cornici)",
+target_blank:"Apri in una nuova finestra",
+popup:"Popup Javascript",
+popup_url:"URL Popup",
+popup_name:"Nome finestra",
+popup_return:"Inserisci 'return false'",
+popup_scrollbars:"Mostra barre di scorrimento",
+popup_statusbar:"Mostra barra di stato",
+popup_toolbar:"Mostra barre strumenti",
+popup_menubar:"Mostra barra menu",
+popup_location:"Mostra barra navigazione",
+popup_resizable:"Rendi la finestra ridimensionabile",
+popup_dependent:"Dipendente (Solo in Mozilla/Firefox)",
+popup_size:"Dimensioni",
+popup_position:"Posizione (X/Y)",
+id:"Id",
+style:"Stile",
+classes:"Classe",
+target_name:"Nome target",
+langdir:"Direzione del testo",
+target_langcode:"Lingua del target",
+langcode:"Lingua",
+encoding:"Codifica carattere del target",
+mime:"Tipo MIME del target",
+rel:"Relazione da pagina a target",
+rev:"Relazione da target a pagina",
+tabindex:"Indice tabulazione",
+accesskey:"Carattere di accesso",
+ltr:"Sinistra verso destra",
+rtl:"Destra verso sinistra",
+link_list:"Lista collegamenti"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/langs/nl_dlg.js b/webcit/tiny_mce/plugins/advlink/langs/nl_dlg.js
new file mode 100644
index 000000000..4db7120fe
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/langs/nl_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('nl.advlink_dlg',{
+title:"Link invoegen/bewerken",
+url:"URL",
+target:"Doel",
+titlefield:"Titel",
+is_email:"De ingevoerde URL lijkt op een e-mailadres. Wilt u de vereiste mailto: tekst voorvoegen?",
+is_external:"De ingevoerde URL lijkt op een externe link. Wilt u de vereiste http:// tekst voorvoegen?",
+list:"Lijst",
+general_tab:"Algemeen",
+popup_tab:"Popup",
+events_tab:"Gebeurtenissen",
+advanced_tab:"Geavanceerd",
+general_props:"Algemene eigenschappen",
+popup_props:"Popup eigenschappen",
+event_props:"Gebeurtenissen",
+advanced_props:"Geavanceerde eigenschappen",
+popup_opts:"Opties",
+anchor_names:"Ankers",
+target_same:"In dit venster / frame openen",
+target_parent:"In bovenliggend venster / frame openen",
+target_top:"In bovenste frame openen (vervangt gehele pagina)",
+target_blank:"In nieuw venster openen",
+popup:"Javascript popup",
+popup_url:"Popup URL",
+popup_name:"Venstertitel",
+popup_return:"'return false' invoegen",
+popup_scrollbars:"Scrollbalken weergeven",
+popup_statusbar:"Statusbalk weergeven",
+popup_toolbar:"Werkbalk weergeven",
+popup_menubar:"Menubalk weergeven",
+popup_location:"Lokatiebalk weergeven",
+popup_resizable:"Aanpasbaar venster",
+popup_dependent:"Afhankelijk (Alleen Mozilla/Firefox)",
+popup_size:"Grootte",
+popup_position:"Positie (X/Y)",
+id:"Id",
+style:"Stijl",
+classes:"Klasses",
+target_name:"Doel",
+langdir:"Taalrichting",
+target_langcode:"Taal",
+langcode:"Taalcode",
+encoding:"Taalcodering",
+mime:"MIME type",
+rel:"Relatie van pagina tot doel",
+rev:"Relatie van doel tot pagina",
+tabindex:"Tabvolgorde",
+accesskey:"Toegangstoets",
+ltr:"Van links naar rechts",
+rtl:"Van rechts naar links",
+link_list:"Lijst"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/langs/pt_dlg.js b/webcit/tiny_mce/plugins/advlink/langs/pt_dlg.js
new file mode 100644
index 000000000..baf647ac8
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/langs/pt_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('pt.advlink_dlg',{
+title:"Inserir/editar hyperlink",
+url:"URL do hyperlink",
+target:"Alvo",
+titlefield:"T\u00C3\u00ADtulo",
+is_email:"A URL digitada parece ser um endere\u00C3\u00A7o de e-mail. Deseja acrescentar o (necess\u00C3\u00A1rio) prefixo mailto:?",
+is_external:"A URL digitada parece conduzir a um link externo. Deseja acrescentar o (necess\u00C3\u00A1rio) prefixo http://?",
+list:"Lista de hyperlinks",
+general_tab:"Geral",
+popup_tab:"Popup",
+events_tab:"Eventos",
+advanced_tab:"Avan\u00C3\u00A7ado",
+general_props:"Propriedades gerais",
+popup_props:"Propriedades de popup",
+event_props:"Eventos",
+advanced_props:"Propriedades avan\u00C3\u00A7adas",
+popup_opts:"Op\u00C3\u00A7\u00C3\u00B5es",
+anchor_names:"\u00C3\u0082ncoras",
+target_same:"Abrir nesta janela/quadro",
+target_parent:"Abrir na janela/quadro pai",
+target_top:"Abrir na p\u00C3\u00A1gina inteira (substitui todos os quadros)",
+target_blank:"Abrir numa nova janela",
+popup:"Popup javascript",
+popup_url:"URL do popup",
+popup_name:"Nome da janela",
+popup_return:"Inserir \"return false\"",
+popup_scrollbars:"Mostrar barras de scroll",
+popup_statusbar:"Mostrar barra de status",
+popup_toolbar:"Mostrar barras de ferramentas",
+popup_menubar:"Mostrar barra de menu",
+popup_location:"Mostrar barra de endere\u00C3\u00A7os",
+popup_resizable:"Permitir altera\u00C3\u00A7\u00C3\u00A3o do tamanho da janela",
+popup_dependent:"Dependente (Mozilla/Firefox apenas)",
+popup_size:"Tamanho",
+popup_position:"Posi\u00C3\u00A7\u00C3\u00A3o (X/Y)",
+id:"Id",
+style:"Estilo",
+classes:"Classes",
+target_name:"Nome do alvo",
+langdir:"Dire\u00C3\u00A7\u00C3\u00A3o do texto",
+target_langcode:"linguagem alvo",
+langcode:"C\u00C3\u00B3digo da linguagem",
+encoding:"Codifica\u00C3\u00A7\u00C3\u00A3o de caracteres",
+mime:"Tipo MIME alvo",
+rel:"Rela\u00C3\u00A7\u00C3\u00A3o p\u00C3\u00A1gina/alvo",
+rev:"Rela\u00C3\u00A7\u00C3\u00A3o alvo/p\u00C3\u00A1gina",
+tabindex:"Tabindex",
+accesskey:"Chave de acesso",
+ltr:"Da esquerda para a direita",
+rtl:"Da direita para a esquerda",
+link_list:"Lista de hyperlinks"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/advlink/link.htm b/webcit/tiny_mce/plugins/advlink/link.htm
new file mode 100644
index 000000000..f46e8f832
--- /dev/null
+++ b/webcit/tiny_mce/plugins/advlink/link.htm
@@ -0,0 +1,339 @@
+
+
+
+ {#advlink_dlg.title}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/webcit/tiny_mce/plugins/autosave/editor_plugin.js b/webcit/tiny_mce/plugins/autosave/editor_plugin.js
new file mode 100644
index 000000000..01a994ee5
--- /dev/null
+++ b/webcit/tiny_mce/plugins/autosave/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AutoSavePlugin',{init:function(ed,url){var t=this;t.editor=ed;window.onbeforeunload=tinymce.plugins.AutoSavePlugin._beforeUnloadHandler;},getInfo:function(){return{longname:'Auto save',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',version:tinymce.majorVersion+"."+tinymce.minorVersion};},'static':{_beforeUnloadHandler:function(){var msg;tinymce.each(tinyMCE.editors,function(ed){if(ed.getParam("fullscreen_is_enabled"))return;if(ed.isDirty()){msg=ed.getLang("autosave.unload_msg");return false;}});return msg;}}});tinymce.PluginManager.add('autosave',tinymce.plugins.AutoSavePlugin);})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/autosave/editor_plugin_src.js b/webcit/tiny_mce/plugins/autosave/editor_plugin_src.js
new file mode 100644
index 000000000..3c4325abe
--- /dev/null
+++ b/webcit/tiny_mce/plugins/autosave/editor_plugin_src.js
@@ -0,0 +1,51 @@
+/**
+ * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AutoSavePlugin', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ window.onbeforeunload = tinymce.plugins.AutoSavePlugin._beforeUnloadHandler;
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Auto save',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private plugin internal methods
+
+ 'static' : {
+ _beforeUnloadHandler : function() {
+ var msg;
+
+ tinymce.each(tinyMCE.editors, function(ed) {
+ if (ed.getParam("fullscreen_is_enabled"))
+ return;
+
+ if (ed.isDirty()) {
+ msg = ed.getLang("autosave.unload_msg");
+ return false;
+ }
+ });
+
+ return msg;
+ }
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('autosave', tinymce.plugins.AutoSavePlugin);
+})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/bbcode/editor_plugin.js b/webcit/tiny_mce/plugins/bbcode/editor_plugin.js
new file mode 100644
index 000000000..88f7ea650
--- /dev/null
+++ b/webcit/tiny_mce/plugins/bbcode/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.BBCodePlugin',{init:function(ed,url){var t=this,dialect=ed.getParam('bbcode_dialect','punbb').toLowerCase();ed.onBeforeSetContent.add(function(ed,o){o.content=t['_'+dialect+'_bbcode2html'](o.content);});ed.onPostProcess.add(function(ed,o){if(o.set)o.content=t['_'+dialect+'_bbcode2html'](o.content);if(o.get)o.content=t['_'+dialect+'_html2bbcode'](o.content);});},getInfo:function(){return{longname:'BBCode Plugin',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode',version:tinymce.majorVersion+"."+tinymce.minorVersion};},_punbb_html2bbcode:function(s){s=tinymce.trim(s);function rep(re,str){s=s.replace(re,str);};rep(/(.*?)<\/a>/gi,"[url=$1]$2[/url]");rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");rep(/(.*?)<\/span>/gi,"[color=$1]$2[/color]");rep(/(.*?)<\/font>/gi,"[color=$1]$2[/color]");rep(/(.*?)<\/span>/gi,"[size=$1]$2[/size]");rep(/(.*?)<\/font>/gi,"$1");rep(//gi,"[img]$1[/img]");rep(/(.*?)<\/span>/gi,"[code]$1[/code]");rep(/(.*?)<\/span>/gi,"[quote]$1[/quote]");rep(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");rep(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");rep(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");rep(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");rep(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");rep(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");rep(/<\/(strong|b)>/gi,"[/b]");rep(/<(strong|b)>/gi,"[b]");rep(/<\/(em|i)>/gi,"[/i]");rep(/<(em|i)>/gi,"[i]");rep(/<\/u>/gi,"[/u]");rep(/(.*?)<\/span>/gi,"[u]$1[/u]");rep(//gi,"[u]");rep(/]*>/gi,"[quote]");rep(/<\/blockquote>/gi,"[/quote]");rep(/
/gi,"\n");rep(/
/gi,"\n");rep(/
/gi,"\n");rep(//gi,"");rep(/<\/p>/gi,"\n");rep(/ /gi," ");rep(/"/gi,"\"");rep(/</gi,"<");rep(/>/gi,">");rep(/&/gi,"&");return s;},_punbb_bbcode2html:function(s){s=tinymce.trim(s);function rep(re,str){s=s.replace(re,str);};rep(/\n/gi,"
");rep(/\[b\]/gi,"");rep(/\[\/b\]/gi,"");rep(/\[i\]/gi,"");rep(/\[\/i\]/gi,"");rep(/\[u\]/gi,"");rep(/\[\/u\]/gi,"");rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"$2");rep(/\[url\](.*?)\[\/url\]/gi,"$1");rep(/\[img\](.*?)\[\/img\]/gi,"");rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"$2");rep(/\[code\](.*?)\[\/code\]/gi,"$1 ");rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"$1 ");return s;}});tinymce.PluginManager.add('bbcode',tinymce.plugins.BBCodePlugin);})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/bbcode/editor_plugin_src.js b/webcit/tiny_mce/plugins/bbcode/editor_plugin_src.js
new file mode 100644
index 000000000..1d7493e26
--- /dev/null
+++ b/webcit/tiny_mce/plugins/bbcode/editor_plugin_src.js
@@ -0,0 +1,117 @@
+/**
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.BBCodePlugin', {
+ init : function(ed, url) {
+ var t = this, dialect = ed.getParam('bbcode_dialect', 'punbb').toLowerCase();
+
+ ed.onBeforeSetContent.add(function(ed, o) {
+ o.content = t['_' + dialect + '_bbcode2html'](o.content);
+ });
+
+ ed.onPostProcess.add(function(ed, o) {
+ if (o.set)
+ o.content = t['_' + dialect + '_bbcode2html'](o.content);
+
+ if (o.get)
+ o.content = t['_' + dialect + '_html2bbcode'](o.content);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'BBCode Plugin',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ // HTML -> BBCode in PunBB dialect
+ _punbb_html2bbcode : function(s) {
+ s = tinymce.trim(s);
+
+ function rep(re, str) {
+ s = s.replace(re, str);
+ };
+
+ // example: to [b]
+ rep(/(.*?)<\/a>/gi,"[url=$1]$2[/url]");
+ rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
+ rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
+ rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
+ rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
+ rep(/(.*?)<\/span>/gi,"[color=$1]$2[/color]");
+ rep(/(.*?)<\/font>/gi,"[color=$1]$2[/color]");
+ rep(/(.*?)<\/span>/gi,"[size=$1]$2[/size]");
+ rep(/(.*?)<\/font>/gi,"$1");
+ rep(//gi,"[img]$1[/img]");
+ rep(/(.*?)<\/span>/gi,"[code]$1[/code]");
+ rep(/(.*?)<\/span>/gi,"[quote]$1[/quote]");
+ rep(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");
+ rep(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");
+ rep(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");
+ rep(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");
+ rep(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");
+ rep(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");
+ rep(/<\/(strong|b)>/gi,"[/b]");
+ rep(/<(strong|b)>/gi,"[b]");
+ rep(/<\/(em|i)>/gi,"[/i]");
+ rep(/<(em|i)>/gi,"[i]");
+ rep(/<\/u>/gi,"[/u]");
+ rep(/(.*?)<\/span>/gi,"[u]$1[/u]");
+ rep(//gi,"[u]");
+ rep(/]*>/gi,"[quote]");
+ rep(/<\/blockquote>/gi,"[/quote]");
+ rep(/
/gi,"\n");
+ rep(/
/gi,"\n");
+ rep(/
/gi,"\n");
+ rep(//gi,"");
+ rep(/<\/p>/gi,"\n");
+ rep(/ /gi," ");
+ rep(/"/gi,"\"");
+ rep(/</gi,"<");
+ rep(/>/gi,">");
+ rep(/&/gi,"&");
+
+ return s;
+ },
+
+ // BBCode -> HTML from PunBB dialect
+ _punbb_bbcode2html : function(s) {
+ s = tinymce.trim(s);
+
+ function rep(re, str) {
+ s = s.replace(re, str);
+ };
+
+ // example: [b] to
+ rep(/\n/gi,"
");
+ rep(/\[b\]/gi,"");
+ rep(/\[\/b\]/gi,"");
+ rep(/\[i\]/gi,"");
+ rep(/\[\/i\]/gi,"");
+ rep(/\[u\]/gi,"");
+ rep(/\[\/u\]/gi,"");
+ rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"$2");
+ rep(/\[url\](.*?)\[\/url\]/gi,"$1");
+ rep(/\[img\](.*?)\[\/img\]/gi,"");
+ rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"$2");
+ rep(/\[code\](.*?)\[\/code\]/gi,"$1 ");
+ rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"$1 ");
+
+ return s;
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('bbcode', tinymce.plugins.BBCodePlugin);
+})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/compat2x/editor_plugin.js b/webcit/tiny_mce/plugins/compat2x/editor_plugin.js
new file mode 100644
index 000000000..02a1da8b4
--- /dev/null
+++ b/webcit/tiny_mce/plugins/compat2x/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,each=tinymce.each,is=tinymce.is;tinymce.create('tinymce.plugins.Compat2x',{getInfo:function(){return{longname:'Compat2x',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/compat2x',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};}});(function(){tinymce.extend(tinyMCE,{addToLang:function(p,l){each(l,function(v,k){tinyMCE.i18n[(tinyMCE.settings.language||'en')+'.'+(p?p+'_':'')+k]=v;});},getInstanceById:function(n){return this.get(n);}});})();(function(){var EditorManager=tinymce.EditorManager;tinyMCE.instances={};tinyMCE.plugins={};tinymce.PluginManager.onAdd.add(function(pm,n,p){tinyMCE.plugins[n]=p;});tinyMCE.majorVersion=tinymce.majorVersion;tinyMCE.minorVersion=tinymce.minorVersion;tinyMCE.releaseDate=tinymce.releaseDate;tinyMCE.baseURL=tinymce.baseURL;tinyMCE.isIE=tinyMCE.isMSIE=tinymce.isIE||tinymce.isOpera;tinyMCE.isMSIE5=tinymce.isIE;tinyMCE.isMSIE5_0=tinymce.isIE;tinyMCE.isMSIE7=tinymce.isIE;tinyMCE.isGecko=tinymce.isGecko;tinyMCE.isSafari=tinymce.isWebKit;tinyMCE.isOpera=tinymce.isOpera;tinyMCE.isMac=false;tinyMCE.isNS7=false;tinyMCE.isNS71=false;tinyMCE.compat=true;TinyMCE_Engine=tinyMCE;tinymce.extend(tinyMCE,{getParam:function(n,dv){return this.activeEditor.getParam(n,dv);},addEvent:function(e,na,f,sc){tinymce.dom.Event.add(e,na,f,sc||this);},getControlHTML:function(n){return EditorManager.activeEditor.controlManager.createControl(n);},loadCSS:function(u){tinymce.DOM.loadCSS(u);},importCSS:function(doc,u){if(doc==document)this.loadCSS(u);else new tinymce.dom.DOMUtils(doc).loadCSS(u);},log:function(){console.debug.apply(console,arguments);},getLang:function(n,dv){var v=EditorManager.activeEditor.getLang(n.replace(/^lang_/g,''),dv);if(/^[0-9\-.]+$/g.test(v))return parseInt(v);return v;},isInstance:function(o){return o!=null&&typeof(o)=="object"&&o.execCommand;},triggerNodeChange:function(){EditorManager.activeEditor.nodeChanged();},regexpReplace:function(in_str,reg_exp,replace_str,opts){var re;if(in_str==null)return in_str;if(typeof(opts)=="undefined")opts='g';re=new RegExp(reg_exp,opts);return in_str.replace(re,replace_str);},trim:function(s){return tinymce.trim(s);},xmlEncode:function(s){return tinymce.DOM.encode(s);},explode:function(s,d){var o=[];tinymce.each(s.split(d),function(v){if(v!='')o.push(v);});return o;},switchClass:function(id,cls){var b;if(/^mceButton/.test(cls)){b=EditorManager.activeEditor.controlManager.get(id);if(!b)return;switch(cls){case"mceButtonNormal":b.setDisabled(false);b.setActive(false);return;case"mceButtonDisabled":b.setDisabled(true);return;case"mceButtonSelected":b.setActive(true);b.setDisabled(false);return;}}},addCSSClass:function(e,n,b){return tinymce.DOM.addClass(e,n,b);},hasCSSClass:function(e,n){return tinymce.DOM.hasClass(e,n);},removeCSSClass:function(e,n){return tinymce.DOM.removeClass(e,n);},getCSSClasses:function(){var cl=EditorManager.activeEditor.dom.getClasses(),o=[];each(cl,function(c){o.push(c['class']);});return o;},setWindowArg:function(n,v){EditorManager.activeEditor.windowManager.params[n]=v;},getWindowArg:function(n,dv){var wm=EditorManager.activeEditor.windowManager,v;v=wm.getParam(n);if(v==='')return'';return v||wm.getFeature(n)||dv;},getParentNode:function(n,f){return this._getDOM().getParent(n,f);},selectElements:function(n,na,f){var i,a=[],nl,x;for(x=0,na=na.split(',');x
+
+
+ {#emotions_dlg.title}
+
+
+
+
+
+
+
+
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-cool.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-cool.gif
new file mode 100644
index 000000000..ba90cc36f
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-cool.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-cry.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-cry.gif
new file mode 100644
index 000000000..74d897a4f
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-cry.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-embarassed.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
new file mode 100644
index 000000000..963a96b8a
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-embarassed.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
new file mode 100644
index 000000000..16f68cc1e
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-frown.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-frown.gif
new file mode 100644
index 000000000..716f55e16
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-frown.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-innocent.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-innocent.gif
new file mode 100644
index 000000000..334d49e0e
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-innocent.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-kiss.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-kiss.gif
new file mode 100644
index 000000000..4efd549ed
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-kiss.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-laughing.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-laughing.gif
new file mode 100644
index 000000000..1606c119e
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-laughing.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
new file mode 100644
index 000000000..ca2451e10
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-sealed.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-sealed.gif
new file mode 100644
index 000000000..b33d3cca1
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-sealed.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-smile.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-smile.gif
new file mode 100644
index 000000000..e6a9e60d5
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-smile.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-surprised.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-surprised.gif
new file mode 100644
index 000000000..cb99cdd91
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-surprised.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
new file mode 100644
index 000000000..2075dc160
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-undecided.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-undecided.gif
new file mode 100644
index 000000000..bef7e2573
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-undecided.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-wink.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-wink.gif
new file mode 100644
index 000000000..9faf1aff8
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-wink.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/img/smiley-yell.gif b/webcit/tiny_mce/plugins/emotions/img/smiley-yell.gif
new file mode 100644
index 000000000..648e6e879
Binary files /dev/null and b/webcit/tiny_mce/plugins/emotions/img/smiley-yell.gif differ
diff --git a/webcit/tiny_mce/plugins/emotions/js/emotions.js b/webcit/tiny_mce/plugins/emotions/js/emotions.js
new file mode 100644
index 000000000..c54936709
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/js/emotions.js
@@ -0,0 +1,22 @@
+tinyMCEPopup.requireLangPack();
+
+var EmotionsDialog = {
+ init : function(ed) {
+ tinyMCEPopup.resizeToInnerSize();
+ },
+
+ insert : function(file, title) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom;
+
+ tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', {
+ src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file,
+ alt : ed.getLang(title),
+ title : ed.getLang(title),
+ border : 0
+ }));
+
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog);
diff --git a/webcit/tiny_mce/plugins/emotions/langs/da_dlg.js b/webcit/tiny_mce/plugins/emotions/langs/da_dlg.js
new file mode 100644
index 000000000..0e37b795e
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/langs/da_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('da.emotions_dlg',{
+title:"Inds\u00E6t hum\u00F8rikon",
+desc:"Hum\u00F8rikoner",
+cool:"Cool",
+cry:"Gr\u00E6de",
+embarassed:"Flov",
+foot_in_mouth:"Fod i munden",
+frown:"Forskr\u00E6kket",
+innocent:"Uskyldig",
+kiss:"Kys",
+laughing:"Grine",
+money_mouth:"Pengemund",
+sealed:"Lukket",
+smile:"Smil",
+surprised:"Overrasket",
+tongue_out:"Tunge ud",
+undecided:"Ubeslutsom",
+wink:"Vink",
+yell:"R\u00E5be"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/emotions/langs/de_dlg.js b/webcit/tiny_mce/plugins/emotions/langs/de_dlg.js
new file mode 100644
index 000000000..3940a2a54
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/langs/de_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('de.emotions_dlg',{
+title:"Smiley einf\u00FCgen",
+desc:"Smilies",
+cool:"Cool",
+cry:"Weinend",
+embarassed:"Verlegen",
+foot_in_mouth:"Reingefallen",
+frown:"Stirnrunzelnd",
+innocent:"Unschuldig",
+kiss:"K\u00FCssend",
+laughing:"Lachend",
+money_mouth:"Geld",
+sealed:"Verschlossen",
+smile:"L\u00E4chelnd",
+surprised:"\u00DCberrascht",
+tongue_out:"Zunge raus",
+undecided:"Unentschlossen",
+wink:"Zwinkernd",
+yell:"Br\u00FCllend"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/emotions/langs/en_dlg.js b/webcit/tiny_mce/plugins/emotions/langs/en_dlg.js
new file mode 100644
index 000000000..3b57ad9e3
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/langs/en_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('en.emotions_dlg',{
+title:"Insert emotion",
+desc:"Emotions",
+cool:"Cool",
+cry:"Cry",
+embarassed:"Embarassed",
+foot_in_mouth:"Foot in mouth",
+frown:"Frown",
+innocent:"Innocent",
+kiss:"Kiss",
+laughing:"Laughing",
+money_mouth:"Money mouth",
+sealed:"Sealed",
+smile:"Smile",
+surprised:"Surprised",
+tongue_out:"Tongue out",
+undecided:"Undecided",
+wink:"Wink",
+yell:"Yell"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/emotions/langs/es_dlg.js b/webcit/tiny_mce/plugins/emotions/langs/es_dlg.js
new file mode 100644
index 000000000..1cc3ac922
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/langs/es_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('es.emotions_dlg',{
+title:"Insertar emoticon",
+desc:"Emoticones",
+cool:"Todo bien",
+cry:"Llora",
+embarassed:"Verg\u00C3\u0083\u00C2\u00BCenza",
+foot_in_mouth:"Pie en la boca",
+frown:"Triste",
+innocent:"Inocente",
+kiss:"Beso",
+laughing:"Risa",
+money_mouth:"Dinero boca",
+sealed:"Sellado",
+smile:"Sonrisa",
+surprised:"Sorprendido",
+tongue_out:"Lengua fuera",
+undecided:"Indeciso",
+wink:"Gui\u00F1o",
+yell:"Enfadado"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/emotions/langs/it_dlg.js b/webcit/tiny_mce/plugins/emotions/langs/it_dlg.js
new file mode 100644
index 000000000..8b9efb784
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/langs/it_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('it.emotions_dlg',{
+title:"Inserisci faccina",
+desc:"Faccina",
+cool:"Fico",
+cry:"Piango",
+embarassed:"Imbarazzato",
+foot_in_mouth:"Piede in bocca",
+frown:"Triste",
+innocent:"Santarellino",
+kiss:"Bacio",
+laughing:"Risatona",
+money_mouth:"Bocca danarosa",
+sealed:"Bocca sigillata",
+smile:"Sorridente",
+surprised:"Sorpreso",
+tongue_out:"Linguaccia",
+undecided:"Indeciso",
+wink:"Occhiolino",
+yell:"Arrabbiato"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/emotions/langs/nl_dlg.js b/webcit/tiny_mce/plugins/emotions/langs/nl_dlg.js
new file mode 100644
index 000000000..f98e1da70
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/langs/nl_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('nl.emotions_dlg',{
+title:"Emotie invoegen",
+desc:"Emoties",
+cool:"Stoer",
+cry:"Huilen",
+embarassed:"Schamen",
+foot_in_mouth:"Verstomd",
+frown:"Wenkbrouw ophalen",
+innocent:"Onschuldig",
+kiss:"Zoenen",
+laughing:"Lachen",
+money_mouth:"Hebberig",
+sealed:"Afgesloten",
+smile:"Lachen",
+surprised:"Verrast",
+tongue_out:"Tong uitsteken",
+undecided:"Onbeslist",
+wink:"Knipogen",
+yell:"Roepen"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/emotions/langs/pt_dlg.js b/webcit/tiny_mce/plugins/emotions/langs/pt_dlg.js
new file mode 100644
index 000000000..4055eb97f
--- /dev/null
+++ b/webcit/tiny_mce/plugins/emotions/langs/pt_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('pt.emotions_dlg',{
+title:"Inserir emoticon",
+desc:"Emoticons",
+cool:"Fixe",
+cry:"Chor\u00C3\u00A3o",
+embarassed:"Embara\u00C3\u00A7ado",
+foot_in_mouth:"Disse asneira",
+frown:"Decep\u00C3\u00A7\u00C3\u00A3o",
+innocent:"Inocente",
+kiss:"Beijo",
+laughing:"Riso",
+money_mouth:"Avarez",
+sealed:"Boca Fechada",
+smile:"Sorriso",
+surprised:"Surpresa",
+tongue_out:"L\u00C3\u00ADngua de fora",
+undecided:"Indeciso",
+wink:"Piscadela",
+yell:"Irado"
+});
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/example/dialog.htm b/webcit/tiny_mce/plugins/example/dialog.htm
new file mode 100644
index 000000000..b4c62840e
--- /dev/null
+++ b/webcit/tiny_mce/plugins/example/dialog.htm
@@ -0,0 +1,27 @@
+
+
+
+ {#example_dlg.title}
+
+
+
+
+
+
+
+
+
diff --git a/webcit/tiny_mce/plugins/example/editor_plugin.js b/webcit/tiny_mce/plugins/example/editor_plugin.js
new file mode 100644
index 000000000..cb7010d18
--- /dev/null
+++ b/webcit/tiny_mce/plugins/example/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.PluginManager.requireLangPack('example');tinymce.create('tinymce.plugins.ExamplePlugin',{init:function(ed,url){ed.addCommand('mceExample',function(){ed.windowManager.open({file:url+'/dialog.htm',width:320+parseInt(ed.getLang('example.delta_width',0)),height:120+parseInt(ed.getLang('example.delta_height',0)),inline:1},{plugin_url:url,some_custom_arg:'custom arg'});});ed.addButton('example',{title:'example.desc',cmd:'mceExample',image:url+'/img/example.gif'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('example',n.nodeName=='IMG');});},createControl:function(n,cm){return null;},getInfo:function(){return{longname:'Example plugin',author:'Some author',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',version:"1.0"};}});tinymce.PluginManager.add('example',tinymce.plugins.ExamplePlugin);})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/example/editor_plugin_src.js b/webcit/tiny_mce/plugins/example/editor_plugin_src.js
new file mode 100644
index 000000000..50505504d
--- /dev/null
+++ b/webcit/tiny_mce/plugins/example/editor_plugin_src.js
@@ -0,0 +1,81 @@
+/**
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ // Load plugin specific language pack
+ tinymce.PluginManager.requireLangPack('example');
+
+ tinymce.create('tinymce.plugins.ExamplePlugin', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+ init : function(ed, url) {
+ // Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample');
+ ed.addCommand('mceExample', function() {
+ ed.windowManager.open({
+ file : url + '/dialog.htm',
+ width : 320 + parseInt(ed.getLang('example.delta_width', 0)),
+ height : 120 + parseInt(ed.getLang('example.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url, // Plugin absolute URL
+ some_custom_arg : 'custom arg' // Custom argument
+ });
+ });
+
+ // Register example button
+ ed.addButton('example', {
+ title : 'example.desc',
+ cmd : 'mceExample',
+ image : url + '/img/example.gif'
+ });
+
+ // Add a node change handler, selects the button in the UI when a image is selected
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setActive('example', n.nodeName == 'IMG');
+ });
+ },
+
+ /**
+ * Creates control instances based in the incomming name. This method is normally not
+ * needed since the addButton method of the tinymce.Editor class is a more easy way of adding buttons
+ * but you sometimes need to create more complex controls like listboxes, split buttons etc then this
+ * method can be used to create those.
+ *
+ * @param {String} n Name of the control to create.
+ * @param {tinymce.ControlManager} cm Control manager to use inorder to create new control.
+ * @return {tinymce.ui.Control} New control instance or null if no control was created.
+ */
+ createControl : function(n, cm) {
+ return null;
+ },
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Example plugin',
+ author : 'Some author',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',
+ version : "1.0"
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('example', tinymce.plugins.ExamplePlugin);
+})();
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/example/img/example.gif b/webcit/tiny_mce/plugins/example/img/example.gif
new file mode 100644
index 000000000..1ab5da446
Binary files /dev/null and b/webcit/tiny_mce/plugins/example/img/example.gif differ
diff --git a/webcit/tiny_mce/plugins/example/js/dialog.js b/webcit/tiny_mce/plugins/example/js/dialog.js
new file mode 100644
index 000000000..fa8341132
--- /dev/null
+++ b/webcit/tiny_mce/plugins/example/js/dialog.js
@@ -0,0 +1,19 @@
+tinyMCEPopup.requireLangPack();
+
+var ExampleDialog = {
+ init : function() {
+ var f = document.forms[0];
+
+ // Get the selected contents as text and place it in the input
+ f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
+ f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
+ },
+
+ insert : function() {
+ // Insert the contents from the input into the document
+ tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
diff --git a/webcit/tiny_mce/plugins/example/langs/en.js b/webcit/tiny_mce/plugins/example/langs/en.js
new file mode 100644
index 000000000..e0784f80f
--- /dev/null
+++ b/webcit/tiny_mce/plugins/example/langs/en.js
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('en.example',{
+ desc : 'This is just a template button'
+});
diff --git a/webcit/tiny_mce/plugins/example/langs/en_dlg.js b/webcit/tiny_mce/plugins/example/langs/en_dlg.js
new file mode 100644
index 000000000..ebcf948da
--- /dev/null
+++ b/webcit/tiny_mce/plugins/example/langs/en_dlg.js
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('en.example_dlg',{
+ title : 'This is just a example title'
+});
diff --git a/webcit/tiny_mce/plugins/fullpage/css/fullpage.css b/webcit/tiny_mce/plugins/fullpage/css/fullpage.css
new file mode 100644
index 000000000..7a3334f08
--- /dev/null
+++ b/webcit/tiny_mce/plugins/fullpage/css/fullpage.css
@@ -0,0 +1,182 @@
+/* Hide the advanced tab */
+#advanced_tab {
+ display: none;
+}
+
+#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright {
+ width: 280px;
+}
+
+#doctype, #docencoding {
+ width: 200px;
+}
+
+#langcode {
+ width: 30px;
+}
+
+#bgimage {
+ width: 220px;
+}
+
+#fontface {
+ width: 240px;
+}
+
+#leftmargin, #rightmargin, #topmargin, #bottommargin {
+ width: 50px;
+}
+
+.panel_wrapper div.current {
+ height: 400px;
+}
+
+#stylesheet, #style {
+ width: 240px;
+}
+
+/* Head list classes */
+
+.headlistwrapper {
+ width: 100%;
+}
+
+.addbutton, .removebutton, .moveupbutton, .movedownbutton {
+ border-top: 1px solid;
+ border-left: 1px solid;
+ border-bottom: 1px solid;
+ border-right: 1px solid;
+ border-color: #F0F0EE;
+ cursor: default;
+ display: block;
+ width: 20px;
+ height: 20px;
+}
+
+#doctypes {
+ width: 200px;
+}
+
+.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover {
+ border: 1px solid #0A246A;
+ background-color: #B6BDD2;
+}
+
+.addbutton {
+ background-image: url('../images/add.gif');
+ float: left;
+ margin-right: 3px;
+}
+
+.removebutton {
+ background-image: url('../images/remove.gif');
+ float: left;
+}
+
+.moveupbutton {
+ background-image: url('../images/move_up.gif');
+ float: left;
+ margin-right: 3px;
+}
+
+.movedownbutton {
+ background-image: url('../images/move_down.gif');
+ float: left;
+}
+
+.selected {
+ border: 1px solid #0A246A;
+ background-color: #B6BDD2;
+}
+
+.toolbar {
+ width: 100%;
+}
+
+#headlist {
+ width: 100%;
+ margin-top: 3px;
+ font-size: 11px;
+}
+
+#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element {
+ display: none;
+}
+
+#addmenu {
+ position: absolute;
+ border: 1px solid gray;
+ display: none;
+ z-index: 100;
+ background-color: white;
+}
+
+#addmenu a {
+ display: block;
+ width: 100%;
+ line-height: 20px;
+ text-decoration: none;
+ background-color: white;
+}
+
+#addmenu a:hover {
+ background-color: #B6BDD2;
+ color: black;
+}
+
+#addmenu span {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+#updateElementPanel {
+ display: none;
+}
+
+#script_element .panel_wrapper div.current {
+ height: 108px;
+}
+
+#style_element .panel_wrapper div.current {
+ height: 108px;
+}
+
+#link_element .panel_wrapper div.current {
+ height: 140px;
+}
+
+#element_script_value {
+ width: 100%;
+ height: 100px;
+}
+
+#element_comment_value {
+ width: 100%;
+ height: 120px;
+}
+
+#element_style_value {
+ width: 100%;
+ height: 100px;
+}
+
+#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title {
+ width: 250px;
+}
+
+.updateElementButton {
+ margin-top: 3px;
+}
+
+/* MSIE specific styles */
+
+* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton {
+ width: 22px;
+ height: 22px;
+}
+
+textarea {
+ height: 55px;
+}
+
+.panel_wrapper div.current {height:420px;}
\ No newline at end of file
diff --git a/webcit/tiny_mce/plugins/fullpage/editor_plugin.js b/webcit/tiny_mce/plugins/fullpage/editor_plugin.js
new file mode 100644
index 000000000..727beb574
--- /dev/null
+++ b/webcit/tiny_mce/plugins/fullpage/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.FullPagePlugin',{init:function(ed,url){var t=this;t.editor=ed;ed.addCommand('mceFullPageProperties',function(){ed.windowManager.open({file:url+'/fullpage.htm',width:430+parseInt(ed.getLang('fullpage.delta_width',0)),height:495+parseInt(ed.getLang('fullpage.delta_height',0)),inline:1},{plugin_url:url,head_html:t.head});});ed.addButton('fullpage',{title:'fullpage.desc',cmd:'mceFullPageProperties'});ed.onBeforeSetContent.add(t._setContent,t);ed.onSetContent.add(t._setBodyAttribs,t);ed.onGetContent.add(t._getContent,t);},getInfo:function(){return{longname:'Fullpage',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage',version:tinymce.majorVersion+"."+tinymce.minorVersion};},_setBodyAttribs:function(ed,o){var bdattr,i,len,kv,k,v,t,attr=this.head.match(/body(.*?)>/i);if(attr&&attr[1]){bdattr=attr[1].match(/\s*(\w+\s*=\s*".*?"|\w+\s*=\s*'.*?'|\w+\s*=\s*\w+|\w+)\s*/g);if(bdattr){for(i=0,len=bdattr.length;i',sp);t.head=c.substring(0,sp+1);ep=c.indexOf('
\n';t.foot='\n