From 9b9e3f1037d9c45741aef2c176bd7f59c972cf17 Mon Sep 17 00:00:00 2001 From: julmis <julmis> Date: Mon, 10 May 2004 21:36:15 +0000 Subject: [PATCH] Removing unnecessary files --- lib/editor/lang/b5.js | 36 ---- lib/editor/lang/da.js | 38 ---- lib/editor/lang/de.js | 38 ---- lib/editor/lang/es.js | 36 ---- lib/editor/lang/fi.js | 63 ------- lib/editor/lang/fr.js | 36 ---- lib/editor/lang/gb.js | 36 ---- lib/editor/lang/it.js | 36 ---- lib/editor/lang/ja-euc.js | 37 ---- lib/editor/lang/ja-jis.js | 37 ---- lib/editor/lang/ja-sjis.js | 37 ---- lib/editor/lang/ja-utf8.js | 37 ---- lib/editor/lang/nb.js | 36 ---- lib/editor/lang/nl.js | 37 ---- lib/editor/lang/old_fi.js | 51 ------ lib/editor/lang/pl.js | 36 ---- lib/editor/lang/pt_br.js | 37 ---- lib/editor/lang/ro.js | 63 ------- lib/editor/lang/ru.js | 36 ---- lib/editor/lang/se.js | 38 ---- lib/editor/lang/vn.js | 38 ---- lib/editor/popups/custom2.html | 35 ---- lib/editor/popups/dlg_ins_char.html | 82 --------- lib/editor/popups/fullscreen.html | 161 ----------------- lib/editor/popups/insert_image.html | 215 ----------------------- lib/editor/popups/insert_table.html | 173 ------------------- lib/editor/popups/link.html | 221 ------------------------ lib/editor/popups/new_insert_image.html | 215 ----------------------- 28 files changed, 1941 deletions(-) delete mode 100644 lib/editor/lang/b5.js delete mode 100644 lib/editor/lang/da.js delete mode 100644 lib/editor/lang/de.js delete mode 100644 lib/editor/lang/es.js delete mode 100644 lib/editor/lang/fi.js delete mode 100644 lib/editor/lang/fr.js delete mode 100644 lib/editor/lang/gb.js delete mode 100644 lib/editor/lang/it.js delete mode 100644 lib/editor/lang/ja-euc.js delete mode 100644 lib/editor/lang/ja-jis.js delete mode 100644 lib/editor/lang/ja-sjis.js delete mode 100644 lib/editor/lang/ja-utf8.js delete mode 100644 lib/editor/lang/nb.js delete mode 100644 lib/editor/lang/nl.js delete mode 100644 lib/editor/lang/old_fi.js delete mode 100644 lib/editor/lang/pl.js delete mode 100644 lib/editor/lang/pt_br.js delete mode 100644 lib/editor/lang/ro.js delete mode 100644 lib/editor/lang/ru.js delete mode 100644 lib/editor/lang/se.js delete mode 100644 lib/editor/lang/vn.js delete mode 100644 lib/editor/popups/custom2.html delete mode 100644 lib/editor/popups/dlg_ins_char.html delete mode 100644 lib/editor/popups/fullscreen.html delete mode 100644 lib/editor/popups/insert_image.html delete mode 100644 lib/editor/popups/insert_table.html delete mode 100644 lib/editor/popups/link.html delete mode 100644 lib/editor/popups/new_insert_image.html diff --git a/lib/editor/lang/b5.js b/lib/editor/lang/b5.js deleted file mode 100644 index 16e9e6da42..0000000000 --- a/lib/editor/lang/b5.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants -- Chinese Big-5 -// by Dave Lo -- dlo@interactivetools.com -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "b5", - - tooltips: { - bold: "²ÊÅé", - italic: "±×Åé", - underline: "©³½u", - strikethrough: "§R°£½u", - subscript: "¤U¼Ð", - superscript: "¤W¼Ð", - justifyleft: "¦ì¸m¾a¥ª", - justifycenter: "¦ì¸m©~¤¤", - justifyright: "¦ì¸m¾a¥k", - justifyfull: "¦ì¸m¥ª¥k¥µ¥", - orderedlist: "¶¶§Ç²M³æ", - unorderedlist: "µL§Ç²M³æ", - outdent: "´î¤p¦æ«eªÅ¥Õ", - indent: "¥[¼e¦æ«eªÅ¥Õ", - forecolor: "¤å¦rÃC¦â", - backcolor: "I´ºÃC¦â", - horizontalrule: "¤ô¥½u", - createlink: "´¡¤J³sµ²", - insertimage: "´¡¤J¹Ï§Î", - inserttable: "´¡¤Jªí®æ", - htmlmode: "¤Á´«HTMLì©l½X", - popupeditor: "©ñ¤j", - about: "Ãö©ó HTMLArea", - help: "»¡©ú", - textindicator: "¦rÅé¨Ò¤l" - } -}; diff --git a/lib/editor/lang/da.js b/lib/editor/lang/da.js deleted file mode 100644 index 34a282bf1a..0000000000 --- a/lib/editor/lang/da.js +++ /dev/null @@ -1,38 +0,0 @@ -// danish version for htmlArea v3.0 - Alpha Release -// - translated by rene<rene@laerke.net> -// term´s and licenses are equal to htmlarea! - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "da", - - tooltips: { - bold: "Fed", - italic: "Kursiv", - underline: "Understregning", - strikethrough: "Overstregning ", - subscript: "Sænket skrift", - superscript: "Hævet skrift", - justifyleft: "Venstrejuster", - justifycenter: "Centrer", - justifyright: "Højrejuster", - justifyfull: "Lige margener", - orderedlist: "Opstilling med tal", - unorderedlist: "Opstilling med punkttegn", - outdent: "Formindsk indrykning", - indent: "Forøg indrykning", - forecolor: "Skriftfarve", - backcolor: "Baggrundsfarve", - horizontalrule: "Horisontal linie", - createlink: "Indsæt hyperlink", - insertimage: "Indsæt billede", - inserttable: "Indsæt tabel", - htmlmode: "HTML visning", - popupeditor: "Vis editor i popup", - about: "Om htmlarea", - help: "Hjælp", - textindicator: "Anvendt stil" - } -}; diff --git a/lib/editor/lang/de.js b/lib/editor/lang/de.js deleted file mode 100644 index fcd60991c0..0000000000 --- a/lib/editor/lang/de.js +++ /dev/null @@ -1,38 +0,0 @@ -// german version for htmlArea v3.0 - Alpha Release -// - translated by AtK<atk@chello.at> -// term´s and licenses are equal to htmlarea! - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "de", - - tooltips: { - bold: "Fett", - italic: "Kursiv", - underline: "Unterstrichen", - strikethrough: "Durchgestrichen", - subscript: "hochgestellt", - superscript: "tiefgestellt", - justifyleft: "Links ausrichten", - justifycenter: "Zentrieren", - justifyright: "Rechts ausrichten", - justifyfull: "Blocksatz", - orderedlist: "Nummerierung", - unorderedlist: "Aufzählungszeichen", - outdent: "Einzug verkleinern", - indent: "Einzug vergrössern", - forecolor: "Text Farbe", - backcolor: "Hintergrund Farbe", - horizontalrule: "Horizontale Linie", - createlink: "Hyperlink einfügen", - insertimage: "Bild einfügen", - inserttable: "Tabelle einfügen", - htmlmode: "HTML Modus", - popupeditor: "Editor im Popup öffnen", - about: "Über htmlarea", - help: "Hilfe", - textindicator: "derzeitiger Stil" - } -}; diff --git a/lib/editor/lang/es.js b/lib/editor/lang/es.js deleted file mode 100644 index 91922d6ed4..0000000000 --- a/lib/editor/lang/es.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "es", - - tooltips: { - bold: "Negritas", - italic: "Cursiva", - underline: "Subrayado", - strikethrough: "Texto Cruzado", - subscript: "Subscript", - superscript: "Superscript", - justifyleft: "Alinear a la Izquierda", - justifycenter: "Centrar", - justifyright: "Alinear a la Derecha", - justifyfull: "Justificar", - orderedlist: "Lista Ordenada", - unorderedlist: "Lista No Ordenada", - outdent: "Aumentar Sangría", - indent: "Disminuir Sangría", - forecolor: "Color del Texto", - backcolor: "Color del Fondo", - horizontalrule: "Línea Horizontal", - createlink: "Insertar Enlace", - insertimage: "Insertar Imagen", - inserttable: "Insertar Tabla", - htmlmode: "Ver Documento en HTML", - popupeditor: "Ampliar Editor", - about: "Acerca del Editor", - help: "Ayuda", - textindicator: "Estilo Actual" - } -}; diff --git a/lib/editor/lang/fi.js b/lib/editor/lang/fi.js deleted file mode 100644 index e6d581c3d5..0000000000 --- a/lib/editor/lang/fi.js +++ /dev/null @@ -1,63 +0,0 @@ -// I18N constants - -// LANG: "en", ENCODING: UTF-8 | ISO-8859-1 -// Author: Mihai Bazon, <mishoo@infoiasi.ro> - -// FOR TRANSLATORS: -// -// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE -// (at least a valid email address) -// -// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; -// (if this is not possible, please include a comment -// that states what encoding is necessary.) - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "fi", - - tooltips: { - bold: "Lihavointi", - italic: "Kursivointi", - underline: "Alleviivaus", - strikethrough: "Päälleviivaus", - subscript: "Alaindeksi", - superscript: "Yläindeksi", - justifyleft: "Tasaa vasemmat reunat", - justifycenter: "Keskitä", - justifyright: "Tasaa oikeat reunat", - justifyfull: "Tasaa molemmat reunat", - orderedlist: "Numerointi", - unorderedlist: "Luettelomerkit", - outdent: "Lisää sisennystä", - indent: "Vähennä sisennystä", - forecolor: "Tekstin väri", - hilitecolor: "Taustan väri", - horizontalrule: "Vaakaviiva", - createlink: "Lisää linkki", - insertimage: "Lisää kuva", - inserttable: "Lisää taulukko", - htmlmode: "Näytä HTML koodi", - popupeditor: "Suurenna editori", - about: "Tietoja editorista", - showhelp: "Ohje", - textindicator: "Nykyinen tyyli", - undo: "Peruuta viimeinen toiminto", - redo: "Palauta viimeinen toiminto", - cut: "Leikkaa", - copy: "Kopioi", - paste: "Liitä" - }, - - buttons: { - "ok": "OK", - "cancel": "Peruuta", - }, - - msg: { - "Path": "Polku", - "TEXT_MODE": "Olet tekstitilassa. Käytä [<>] painiketta palataksesi WYSIWIG -tilaan." - } -}; diff --git a/lib/editor/lang/fr.js b/lib/editor/lang/fr.js deleted file mode 100644 index 7da94c21fc..0000000000 --- a/lib/editor/lang/fr.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "fr", - - tooltips: { - bold: "Gras", - italic: "Italique", - underline: "Souligné", - strikethrough: "Barré", - subscript: "Subscript", - superscript: "Superscript", - justifyleft: "Aligné à gauche", - justifycenter: "Centré", - justifyright: "Aligné à droite", - justifyfull: "Justifié", - orderedlist: "Numérotation", - unorderedlist: "Puces", - outdent: "Augmenter le retrait", - indent: "Diminuer le retrait", - forecolor: "Couleur du texte", - backcolor: "Couleur du fond", - horizontalrule: "Ligne horizontale", - createlink: "Insérer un lien", - insertimage: "Insérer une image", - inserttable: "Insérer un tableau", - htmlmode: "Passer au code source HTML", - popupeditor: "Agrandir l'éditeur", - about: "A propos de cet éditeur", - help: "Aide sur l'éditeur", - textindicator: "Style courant" - } -}; diff --git a/lib/editor/lang/gb.js b/lib/editor/lang/gb.js deleted file mode 100644 index 6878444658..0000000000 --- a/lib/editor/lang/gb.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants -- Chinese GB -// by Dave Lo -- dlo@interactivetools.com -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "gb", - - tooltips: { - bold: "´ÖÌå", - italic: "бÌå", - underline: "µ×Ïß", - strikethrough: "ɾ³ýÏß", - subscript: "ϱê", - superscript: "Éϱê", - justifyleft: "λÖÿ¿×ó", - justifycenter: "λÖþÓÖÐ", - justifyright: "λÖÿ¿ÓÒ", - justifyfull: "λÖÃ×óÓÒÆ½µÈ", - orderedlist: "˳ÐòÇåµ¥", - unorderedlist: "ÎÞÐòÇåµ¥", - outdent: "¼õСÐÐǰ¿Õ°×", - indent: "¼Ó¿íÐÐǰ¿Õ°×", - forecolor: "ÎÄ×ÖÑÕÉ«", - backcolor: "±³¾°ÑÕÉ«", - horizontalrule: "ˮƽÏß", - createlink: "²åÈëÁ¬½á", - insertimage: "²åÈëͼÐÎ", - inserttable: "²åÈë±í¸ñ", - htmlmode: "Çл»HTMLÔʼÂë", - popupeditor: "·Å´ó", - about: "¹Øì¶ HTMLArea", - help: "˵Ã÷", - textindicator: "×ÖÌåÀý×Ó" - } -}; diff --git a/lib/editor/lang/it.js b/lib/editor/lang/it.js deleted file mode 100644 index b762307bad..0000000000 --- a/lib/editor/lang/it.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "it", - - tooltips: { - bold: "Grassetto", - italic: "Corsivo", - underline: "Sottolineato", - strikethrough: "Barrato", - subscript: "Pedice", - superscript: "Apice", - justifyleft: "Allinea a sinistra", - justifycenter: "Centra", - justifyright: "Allinea a destra", - justifyfull: "Giustifica", - orderedlist: "Elenco numerato", - unorderedlist: "Elenco puntato", - outdent: "Riduci rientro", - indent: "Aumenta rientro", - forecolor: "Colore carattere", - backcolor: "Colore di sfondo", - horizontalrule: "Linea orizzontale", - createlink: "Inserisci collegamento ipertestuale", - insertimage: "Inserisci immagine", - inserttable: "Inserisci tabella", - htmlmode: "Passa alla visualizzazione HTML", - popupeditor: "Ingrandisci editor", - about: "Info", - help: "Aiuto", - textindicator: "Stile utilizzato" - } -}; diff --git a/lib/editor/lang/ja-euc.js b/lib/editor/lang/ja-euc.js deleted file mode 100644 index 7d539b9aaa..0000000000 --- a/lib/editor/lang/ja-euc.js +++ /dev/null @@ -1,37 +0,0 @@ -// I18N constants -- Japanese EUC -// by Manabu Onoue -- tmocsys@tmocsys.com - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "ja-euc", - - tooltips: { - bold: "ÂÀ»ú", - italic: "¼ÐÂÎ", - underline: "²¼Àþ", - strikethrough: "ÂǤÁ¾Ã¤·Àþ", - subscript: "²¼Éդꤍ»ú", - superscript: "¾åÉդꤍ»ú", - justifyleft: "º¸´ó¤»", - justifycenter: "Ãæ±û´ó¤»", - justifyright: "±¦´ó¤»", - justifyfull: "¶ÑÅù³äÉÕ", - orderedlist: "ÈÖ¹æÉÕ¤²Õ¾ò½ñ¤", - unorderedlist: "µ¹æÉÕ¤²Õ¾ò½ñ¤", - outdent: "¥¤¥ó¥Ç¥ó¥È²ò½ü", - indent: "¥¤¥ó¥Ç¥ó¥ÈÀßÄê", - forecolor: "ʸ»ú¿§", - backcolor: "ÇØ·Ê¿§", - horizontalrule: "¿åÊ¿Àþ", - createlink: "¥ê¥ó¥¯ºîÀ®", - insertimage: "²èÁüÁÞÆþ", - inserttable: "¥Æ¡¼¥Ö¥ëÁÞÆþ", - htmlmode: "HTMLɽ¼¨ÀÚÂØ", - popupeditor: "¥¨¥Ç¥£¥¿³ÈÂç", - about: "¥Ð¡¼¥¸¥ç¥ó¾ðÊó", - help: "¥Ø¥ë¥×", - textindicator: "¸½ºß¤Î¥¹¥¿¥¤¥ë" - } -}; diff --git a/lib/editor/lang/ja-jis.js b/lib/editor/lang/ja-jis.js deleted file mode 100644 index 167d20c7ba..0000000000 --- a/lib/editor/lang/ja-jis.js +++ /dev/null @@ -1,37 +0,0 @@ -// I18N constants -- Japanese JIS -// by Manabu Onoue -- tmocsys@tmocsys.com - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "ja-jis", - - tooltips: { - bold: "$BB@;z(B", - italic: "$B<PBN(B", - underline: "$B2<@~(B", - strikethrough: "$BBG$A>C$7@~(B", - subscript: "$B2<IU$-E:$(;z(B", - superscript: "$B>eIU$-E:$(;z(B", - justifyleft: "$B:84s$;(B", - justifycenter: "$BCf1{4s$;(B", - justifyright: "$B1&4s$;(B", - justifyfull: "$B6QEy3dIU(B", - orderedlist: "$BHV9fIU$-2U>r=q$-(B", - unorderedlist: "$B5-9fIU$-2U>r=q$-(B", - outdent: "$B%$%s%G%s%H2r=|(B", - indent: "$B%$%s%G%s%H@_Dj(B", - forecolor: "$BJ8;z?'(B", - backcolor: "$BGX7J?'(B", - horizontalrule: "$B?eJ?@~(B", - createlink: "$B%j%s%/:n@.(B", - insertimage: "$B2hA|A^F~(B", - inserttable: "$B%F!<%V%kA^F~(B", - htmlmode: "HTML$BI=<(@ZBX(B", - popupeditor: "$B%(%G%#%?3HBg(B", - about: "$B%P!<%8%g%s>pJs(B", - help: "$B%X%k%W(B", - textindicator: "$B8=:_$N%9%?%$%k(B" - } -}; diff --git a/lib/editor/lang/ja-sjis.js b/lib/editor/lang/ja-sjis.js deleted file mode 100644 index 0831b897ec..0000000000 --- a/lib/editor/lang/ja-sjis.js +++ /dev/null @@ -1,37 +0,0 @@ -// I18N constants -- Japanese Shift-JIS -// by Manabu Onoue -- tmocsys@tmocsys.com - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "ja-sjis", - - tooltips: { - bold: "¾", - italic: "ÎÌ", - underline: "ºü", - strikethrough: "Å¿Áµü", - subscript: "ºt«Y¦", - superscript: "ãt«Y¦", - justifyleft: "¶ñ¹", - justifycenter: "ñ¹", - justifyright: "Eñ¹", - justifyfull: "Ït", - orderedlist: "Ôt«Óð«", - unorderedlist: "Lt«Óð«", - outdent: "Cfgð", - indent: "CfgÝè", - forecolor: "¶F", - backcolor: "wiF", - horizontalrule: " ½ü", - createlink: "Nì¬", - insertimage: "æ}ü", - inserttable: "e[u}ü", - htmlmode: "HTML\¦ØÖ", - popupeditor: "GfB^gå", - about: "o[Wîñ", - help: "wv", - textindicator: "»ÝÌX^C" - } -}; diff --git a/lib/editor/lang/ja-utf8.js b/lib/editor/lang/ja-utf8.js deleted file mode 100644 index d8e6281a81..0000000000 --- a/lib/editor/lang/ja-utf8.js +++ /dev/null @@ -1,37 +0,0 @@ -// I18N constants -- Japanese UTF-8 -// by Manabu Onoue -- tmocsys@tmocsys.com - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "ja-utf8", - - tooltips: { - bold: "太å", - italic: "æä½", - underline: "ä¸ç·", - strikethrough: "æã¡æ¶ãç·", - subscript: "ä¸ä»ãæ·»ãå", - superscript: "ä¸ä»ãæ·»ãå", - justifyleft: "å·¦å¯ã", - justifycenter: "ä¸å¤®å¯ã", - justifyright: "å³å¯ã", - justifyfull: "åçå²ä»", - orderedlist: "çªå·ä»ãç®æ¡æ¸ã", - unorderedlist: "è¨å·ä»ãç®æ¡æ¸ã", - outdent: "ã¤ã³ãã³ãè§£é¤", - indent: "ã¤ã³ãã³ãè¨å®", - forecolor: "æåè²", - backcolor: "èæ¯è²", - horizontalrule: "æ°´å¹³ç·", - createlink: "ãªã³ã¯ä½æ", - insertimage: "ç»åæ¿å ¥", - inserttable: "ãã¼ãã«æ¿å ¥", - htmlmode: "HTMLè¡¨ç¤ºåæ¿", - popupeditor: "ã¨ãã£ã¿æ¡å¤§", - about: "ãã¼ã¸ã§ã³æ å ±", - help: "ãã«ã", - textindicator: "ç¾å¨ã®ã¹ã¿ã¤ã«" - } -}; diff --git a/lib/editor/lang/nb.js b/lib/editor/lang/nb.js deleted file mode 100644 index ad61752de1..0000000000 --- a/lib/editor/lang/nb.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "nb", - - tooltips: { - bold: "Fet", - italic: "Kursiv", - underline: "Understreket", - strikethrough: "Gjennomstreket", - subscript: "Senket", - superscript: "Hevet", - justifyleft: "Venstrejuster", - justifycenter: "Midtjuster", - justifyright: "Høyrejuster", - justifyfull: "Blokkjuster", - orderedlist: "Nummerert liste", - unorderedlist: "Punktmerket liste", - outdent: "Øke innrykk", - indent: "Reduser innrykk", - forecolor: "Skriftfarge", - backcolor: "Bakgrunnsfarge", - horizontalrule: "Horisontal linje", - createlink: "Sett inn lenke", - insertimage: "Sett inn bilde", - inserttable: "Sett inn tabell", - htmlmode: "Vis HTML kode", - popupeditor: "Forstørr redigeringsvindu", - about: "Om..", - help: "Hjelp", - textindicator: "Gjeldende stil" - } -}; diff --git a/lib/editor/lang/nl.js b/lib/editor/lang/nl.js deleted file mode 100644 index 60c5b59496..0000000000 --- a/lib/editor/lang/nl.js +++ /dev/null @@ -1,37 +0,0 @@ -// Dutch version -// Author: Wouter Meeus alias Redspider <webmaster@tielt.be> - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "nl", - - tooltips: { - bold: "Vet", - italic: "Cursief", - underline: "Onderlijnen", - strikethrough: "Doorstrepen", - subscript: "Subscript", - superscript: "Superscript", - justifyleft: "Links Uitlijnen", - justifycenter: "Centreren", - justifyright: "Rechts Uitlijnen", - justifyfull: "Uitvullen", - orderedlist: "Nummering", - unorderedlist: "Opsomming", - outdent: "Verklein insprong", - indent: "Vergroot insprong", - forecolor: "Tekst Kleur", - backcolor: "Achtergrond Kleur", - horizontalrule: "Horizontale lijn", - createlink: "Hyperlink invoegen", - insertimage: "Afbeelding invoegen", - inserttable: "Tabel invoegen", - htmlmode: "HTML broncode", - popupeditor: "Vergroot Editor", - about: "Over deze editor", - help: "Help", - textindicator: "Huidige stijl" - } -}; diff --git a/lib/editor/lang/old_fi.js b/lib/editor/lang/old_fi.js deleted file mode 100644 index ca9586609d..0000000000 --- a/lib/editor/lang/old_fi.js +++ /dev/null @@ -1,51 +0,0 @@ -// I18N constants - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "fi", - - tooltips: { - bold: "Lihavoitu", - italic: "Kursivoitu", - underline: "Alleviivattu", - strikethrough: "Yliviivattu", - subscript: "Alaindeksi", - superscript: "Yläindeksi", - justifyleft: "Tasaa vasemmat reunat", - justifycenter: "Keskitä", - justifyright: "Tasaa oikeat reunat", - justifyfull: "Tasaa molemmat reunat", - insertorderedlist: "Numerointi", - insertunorderedlist: "Luettelomerkit", - outdent: "Lisää sisennystä", - indent: "Pienennä sisennystä", - forecolor: "Fontin väri", - hilitecolor: "Taustaväri", - inserthorizontalrule: "Vaakaviiva", - createlink: "Lisää Linkki", - insertimage: "Lisää Kuva", - inserttable: "Lisää Taulu", - htmlmode: "HTML Lähdekoodi vs WYSIWYG", - popupeditor: "Suurenna Editori", - about: "Tietoja Editorista", - showhelp: "Näytä Ohje", - textindicator: "Nykyinen tyyli", - undo: "Peruuta viimeinen toiminto", - redo: "Palauta viimeinen toiminto", - cut: "Leikkaa maalattu", - copy: "Kopioi maalattu", - paste: "Liitä leikepyödältä" - }, - - buttons: { - "ok": "Hyväksy", - "cancel": "Peruuta" - }, - - msg: { - "Path": "Polku", - "TEXT_MODE": "You are in TEXT MODE. Use the [<>] button to switch back to WYSIWIG." - } -}; diff --git a/lib/editor/lang/pl.js b/lib/editor/lang/pl.js deleted file mode 100644 index b2a35c58d1..0000000000 --- a/lib/editor/lang/pl.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "pl", - - tooltips: { - bold: "Pogrubienie", - italic: "Pochylenie", - underline: "Podkrelenie", - strikethrough: "Przekrelenie", - subscript: "Indeks dolny", - superscript: "Indeks górny", - justifyleft: "Wyrównaj do lewej", - justifycenter: "Wyrodkuj", - justifyright: "Wyrównaj do prawej", - justifyfull: "Wyjustuj", - orderedlist: "Numerowanie", - unorderedlist: "Wypunktowanie", - outdent: "Zmniejsz wciêcie", - indent: "Zwiêksz wciêcie", - forecolor: "Kolor czcionki", - backcolor: "Kolor t³a", - horizontalrule: "Linia pozioma", - createlink: "Wstaw adres sieci Web", - insertimage: "Wstaw obraz", - inserttable: "Wstaw tabelê", - htmlmode: "Edycja WYSIWYG/w ródle strony", - popupeditor: "Pe³ny ekran", - about: "Informacje o tym edytorze", - help: "Pomoc", - textindicator: "Obecny styl" - } -}; diff --git a/lib/editor/lang/pt_br.js b/lib/editor/lang/pt_br.js deleted file mode 100644 index 795cc7458a..0000000000 --- a/lib/editor/lang/pt_br.js +++ /dev/null @@ -1,37 +0,0 @@ -// I18N constants -// Brazilian Portuguese Translation by Alex Piaz <webmaster@globalmap.com> - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "pt_br", - - tooltips: { - bold: "Negrito", - italic: "Itálico", - underline: "Sublinhado", - strikethrough: "Tachado", - subscript: "Subescrito", - superscript: "Sobrescrito", - justifyleft: "Alinhar à Esquerda", - justifycenter: "Centralizar", - justifyright: "Alinhar à Direita", - justifyfull: "Justificar", - orderedlist: "Lista Numerada", - unorderedlist: "Lista Marcadores", - outdent: "Diminuir Indentação", - indent: "Aumentar Indentação", - forecolor: "Cor da Fonte", - backcolor: "Cor do Fundo", - horizontalrule: "Linha Horizontal", - createlink: "Inserir Link", - insertimage: "Inserir Imagem", - inserttable: "Inserir Tabela", - htmlmode: "Ver Código-Fonte", - popupeditor: "Expandir Editor", - about: "Sobre", - help: "Ajuda", - textindicator: "Estilo Atual" - } -}; diff --git a/lib/editor/lang/ro.js b/lib/editor/lang/ro.js deleted file mode 100644 index 0f59bc82fe..0000000000 --- a/lib/editor/lang/ro.js +++ /dev/null @@ -1,63 +0,0 @@ -// I18N constants - -// LANG: "ro", ENCODING: UTF-8 -// Author: Mihai Bazon, <mishoo@infoiasi.ro> - -// FOR TRANSLATORS: -// -// 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE -// (at least a valid email address) -// -// 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; -// (if this is not possible, please include a comment -// that states what encoding is necessary.) - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "ro", - - tooltips: { - bold: "ÃngroÅat", - italic: "Italic", - underline: "Subliniat", - strikethrough: "TÄiat", - subscript: "Subscript", - superscript: "Superscript", - justifyleft: "Aliniere la stânga", - justifycenter: "Aliniere pe centru", - justifyright: "Aliniere la dreapta", - justifyfull: "Aliniere în ambele pÄrÅ£i", - orderedlist: "ListÄ ordonatÄ", - unorderedlist: "ListÄ marcatÄ", - outdent: "MicÅoreazÄ alineatul", - indent: "MÄreÅte alineatul", - forecolor: "Culoarea textului", - hilitecolor: "Culoare de fundal", - horizontalrule: "Linie orizontalÄ", - createlink: "InsereazÄ link", - insertimage: "InsereazÄ o imagine", - inserttable: "InsereazÄ un tabel", - htmlmode: "Sursa HTML / WYSIWYG", - popupeditor: "MaximizeazÄ editorul", - about: "Despre editor", - showhelp: "DocumentaÅ£ie (devel)", - textindicator: "Stilul curent", - undo: "AnuleazÄ ultima acÅ£iune", - redo: "Reface ultima acÅ£iune anulatÄ", - cut: "Taie în clipboard", - copy: "Copie în clipboard", - paste: "Aduce din clipboard" - }, - - buttons: { - "ok": "OK", - "cancel": "AnuleazÄ" - }, - - msg: { - "Path": "Calea", - "TEXT_MODE": "EÅti în modul TEXT. ApasÄ butonul [<>] pentru a te întoarce în modul WYSIWYG." - } -}; diff --git a/lib/editor/lang/ru.js b/lib/editor/lang/ru.js deleted file mode 100644 index cd030eba35..0000000000 --- a/lib/editor/lang/ru.js +++ /dev/null @@ -1,36 +0,0 @@ -// I18N constants - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "ru", - - tooltips: { - bold: "Æèðíûé", - italic: "Íàêëîííûé", - underline: "Ïîä÷åðêíóòûé", - strikethrough: "Ïåðå÷åðêíóòûé", - subscript: "Íèæíèé èíäåêñ", - superscript: "Âåðõíèé èíäåêñ", - justifyleft: "Âûðàâíèâàíèå ïî ëåâîìó êðàþ", - justifycenter: "Âûðàâíèâàíèå ïî öåíòðó", - justifyright: "Âûðàâíèâàíèå ïî ïðàâîìó êðàþ", - justifyfull: "Ðàñòÿíóòûé òåêñò", - orderedlist: "Íóìåðîâàííûé ñïèñîê", - unorderedlist: "Ìàðêèðîâàííûé ñïèñîê", - outdent: "Ñäâèã â ëåâî", - indent: "Ñäâèã â ïðàâî", - forecolor: "Öâåò øðèôòà", - backcolor: "Öâåò ôîíà", - horizontalrule: "Ãîðèçîíòàëüíàÿ ëèíèÿ", - createlink: "Âñòàâèòü ññûëêó", - insertimage: "Âñòàâèòü êàðòèíêó", - inserttable: "Âñòàâèòü òàáëèöó", - htmlmode: "Âèäåòü HTML êîä", - popupeditor: "Óâåëè÷èòü ðåäàêòîð", - about: "Î ðåäàêòîðå", - help: "Ïîìîùü â èñïîëüçîâàíèè", - textindicator: "Äàííûé ñòèëü" - } -}; diff --git a/lib/editor/lang/se.js b/lib/editor/lang/se.js deleted file mode 100644 index 2b567d4da8..0000000000 --- a/lib/editor/lang/se.js +++ /dev/null @@ -1,38 +0,0 @@ -// Swedish version for htmlArea v3.0 - Alpha Release -// - translated by pat<pat@engvall.nu> -// term´s and licenses are equal to htmlarea! - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "se", - - tooltips: { - bold: "Fet", - italic: "Kursiv", - underline: "Understruken", - strikethrough: "Genomstruken", - subscript: "Nedsänkt", - superscript: "Upphöjd", - justifyleft: "Vänsterjustera", - justifycenter: "Centrera", - justifyright: "Högerjustera", - justifyfull: "Marginaljustera", - orderedlist: "Numrerad lista", - unorderedlist: "Punktlista", - outdent: "Minska indrag", - indent: "Öka indrag", - forecolor: "Textfärg", - backcolor: "Bakgrundsfärg", - horizontalrule: "Vågrät linje", - createlink: "Infoga länk", - insertimage: "Infoga bild", - inserttable: "Infoga tabell", - htmlmode: "Visa källkod", - popupeditor: "Visa i eget fönster", - about: "Om denna editor", - help: "Hjälp", - textindicator: "Nuvarande stil" - } -}; diff --git a/lib/editor/lang/vn.js b/lib/editor/lang/vn.js deleted file mode 100644 index fd8bf6c974..0000000000 --- a/lib/editor/lang/vn.js +++ /dev/null @@ -1,38 +0,0 @@ -// I18N constants : Vietnamese -// mviet: download the free Vietnamese script addon for htmlArea at: www.mviet.org -// email: mviet@socal.rr.com - -HTMLArea.I18N = { - - // the following should be the filename without .js extension - // it will be used for automatically load plugin language. - lang: "vn", - - tooltips: { - bold: "Äáºm", - italic: "Nghiêng", - underline: "Gạch ÄÃt", - strikethrough: "Gạch Xóa", - subscript: "Viết Xuá»ng Dưá»i", - superscript: "Viết Lên Trên ", - justifyleft: "Ngay Hà ng Bên Trái ", - justifycenter: "Ngay Hà ng Giữa", - justifyright: "Ngay Hà ng Lên Phải", - justifyfull: "Ngay Hà ng Trái & Phải", - orderedlist: "Chuá»i Thứ Tá»± 123", - unorderedlist: "Chuá»i Nút", - outdent: "Giảm Và o Hà ng", - indent: "TÄng Và o Hà ng", - forecolor: "Mà u Chữ", - backcolor: "Mà u Ná»n", - horizontalrule: "Thưá»c Ngang", - createlink: "Tạo Ná»i", - insertimage: "Mang Hình Vô", - inserttable: "Mang Khuôn Vô", - htmlmode: "Báºt / Tắt Nguá»n HTML", - popupeditor: "Póp Lá»n Khung Viết", - about: "Nói Vá» Chương Trình", - help: "Giúp Äỡ", - textindicator: "Loại Kiá»u Viết" - } -}; diff --git a/lib/editor/popups/custom2.html b/lib/editor/popups/custom2.html deleted file mode 100644 index 04314a05b9..0000000000 --- a/lib/editor/popups/custom2.html +++ /dev/null @@ -1,35 +0,0 @@ -<html style="width:300px; Height: 60px;"> - <head> - <title>Select Phrase</title> -<script language="javascript"> - -var myTitle = window.dialogArguments; -document.title = myTitle; - - -function returnSelected() { - var idx = document.all.textPulldown.selectedIndex; - var text = document.all.textPulldown[idx].text; - - window.returnValue = text; // set return value - window.close(); // close dialog -} - -</script> -</head> -<body bgcolor="#FFFFFF" topmargin=15 leftmargin=0> - -<form method=get onSubmit="Set(document.all.ColorHex.value); return false;"> -<div align=center> - -<select name="textPulldown"> -<option>The quick brown</option> -<option>fox jumps over</option> -<option>the lazy dog.</option> -</select> - -<input type="button" value=" Go " onClick="returnSelected()"> - -</div> -</form> -</body></html> \ No newline at end of file diff --git a/lib/editor/popups/dlg_ins_char.html b/lib/editor/popups/dlg_ins_char.html deleted file mode 100644 index f9ae7b34d4..0000000000 --- a/lib/editor/popups/dlg_ins_char.html +++ /dev/null @@ -1,82 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html style="height:270px;"> -<head> -<style type="text/css"> - BODY { - background-color: buttonface; - } - -</style> -<script type="text/javascript" src="popup.js"></script> -<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> -<!-- -function Init() { - __dlg_init(); -} -var chars = ["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","",""," ","","","","\","","","","‘","’","’","“","”","","–","—","","","","","","","¡","¢","£","£","¤","¥","¦","§","¨","©","ª","«","¬","","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ü","ý","þ","ÿ"] - -function tab(w,h) { - var strtab = ["<TABLE border='1' cellspacing='0' cellpadding='0' align='center' bordercolor='#dcdcdc' bgcolor='#C0C0C0'>"] - var k = 0; - for(var i = 0; i < w; i++) { - strtab[strtab.length] = "<TR>"; - for(var j = 0; j < h; j++) { - strtab[strtab.length] = "<TD width='14' align='center' onClick='getchar(this)' onMouseOver='hover(this,true)' onMouseOut='hover(this,false)'>"+(chars[k]||'')+"</TD>"; - k++; - } - strtab[strtab.length]="</TR>"; - } - strtab[strtab.length] = "</TABLE>"; - return strtab.join("\n"); -} - -function hover(obj,val) { - if (!obj.innerHTML) { - obj.style.cursor = "default"; - return; - } - obj.style.border = val ? "1px solid black" : "1px solid #dcdcdc"; - //obj.style.backgroundColor = val ? "black" : "#C0C0C0" - //obj.style.color = val ? "white" : "black"; -} -function getchar(obj) { - if(!obj.innerHTML) return; - var sChar = obj.innerHTML || ""; - __dlg_close(sChar); - return false; -} -function cancel() { - __dlg_close(null); - return false; -} -//--> -</SCRIPT> -<title>Insert Character</title> -</head> -<body onload="Init()"> -<table class="dlg" cellpadding="0" cellspacing="2"> -<tr><td><table width="100%"><tr><td nowrap>Choose Character</td><td valign="middle" width="100%"><hr width="100%"></td></tr></table></td></tr> -<tr> -<td> - <table border="0" align="center" cellpadding="5"> - <tr valign="top"> - <td> - - <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> - <!-- - document.write(tab(7,32)) - //--> - </SCRIPT> - - </td> - </tr> - </table> - </td> - </tr> -<tr><td><table width="100%"><tr><td valign="middle" width="90%"><hr width="100%"></td></tr></table></td></tr> -<tr><td align="right"> - <input type="button" value="Close" onclick="cancel()"></td></tr> -</table> -</body> -</body> -</html> diff --git a/lib/editor/popups/fullscreen.html b/lib/editor/popups/fullscreen.html deleted file mode 100644 index c3dfb1af9e..0000000000 --- a/lib/editor/popups/fullscreen.html +++ /dev/null @@ -1,161 +0,0 @@ -<html> -<head><title>Fullscreen Editor</title> -<style type="text/css"> -@import url(../htmlarea.css); -html, body { margin: 0px; border: 0px; background-color: buttonface; } </style> - - -<script type="text/javascript" src="../htmlarea.php<?php echo $id ?>"></script> -<script type="text/javascript" src="../lang/en.js"></script> -<script type="text/javascript" src="../dialog.js"></script> - -<script type="text/javascript"> -// load same scripts that were present in the opener page -var scripts = opener.document.getElementsByTagName("script"); -var head = document.getElementsByTagName("head")[0]; -for (var i = 0; i < scripts.length; ++i) { - var script = scripts[i]; - if (typeof script.src != "undefined" && /\S/.test(script.src)) { - // document.write("<scr" + "ipt type=" + "\"script/javascript\""); - // document.write(" src=\"../" + script.src + "\"></scr" + "ipt>"); - var new_script = document.createElement("script"); - if (/^http:/i.test(script.src)) { - new_script.src = script.src; - } else { - new_script.src = "../" + script.src; - } - head.appendChild(new_script); - } -} -</script> - -<script type="text/javascript"> - -var parent_object = null; -var editor = null; // to be initialized later [ function init() ] - -/* ---------------------------------------------------------------------- *\ - Function : - Description : -\* ---------------------------------------------------------------------- */ - -function _CloseOnEsc(ev) { - if (document.all) { - // IE - ev = window.event; - } - if (ev.keyCode == 27) { - // update_parent(); - window.close(); - return; - } -} - -/* ---------------------------------------------------------------------- *\ - Function : cloneObject - Description : copy an object by value instead of by reference - Usage : var newObj = cloneObject(oldObj); -\* ---------------------------------------------------------------------- */ - -function cloneObject(obj) { - var newObj = new Object; - - // check for array objects - if (obj.constructor.toString().indexOf("function Array(") == 1) { - newObj = obj.constructor(); - } - - // check for function objects (as usual, IE is fucked up) - if (obj.constructor.toString().indexOf("function Function(") == 1) { - newObj = obj; // just copy reference to it - } else for (var n in obj) { - var node = obj[n]; - if (typeof node == 'object') { newObj[n] = cloneObject(node); } - else { newObj[n] = node; } - } - - return newObj; -} - -/* ---------------------------------------------------------------------- *\ - Function : resize_editor - Description : resize the editor when the user resizes the popup -\* ---------------------------------------------------------------------- */ - -function resize_editor() { // resize editor to fix window - var newHeight; - if (document.all) { - // IE - newHeight = document.body.offsetHeight - editor._toolbar.offsetHeight; - if (newHeight < 0) { newHeight = 0; } - } else { - // Gecko - newHeight = window.innerHeight - editor._toolbar.offsetHeight; - } - if (editor.config.statusBar) { - newHeight -= editor._statusBar.offsetHeight; - } - editor._textArea.style.height = editor._iframe.style.height = newHeight + "px"; -} - -/* ---------------------------------------------------------------------- *\ - Function : init - Description : run this code on page load -\* ---------------------------------------------------------------------- */ - -function init() { - parent_object = opener.HTMLArea._object; - var config = cloneObject( parent_object.config ); - config.editorURL = "../"; - config.width = "100%"; - config.height = "auto"; - - // change maximize button to minimize button - config.btnList["popupeditor"] = [ 'Minimize Editor', 'images/fullscreen_minimize.gif', true, - function() { window.close(); } ]; - - // generate editor and resize it - editor = new HTMLArea("editor", config); - editor.generate(); - editor._iframe.style.width = "100%"; - editor._textArea.style.width = "100%"; - resize_editor(); - - // set child window contents and event handlers, after a small delay - setTimeout(function() { - editor.setHTML(parent_object.getInnerHTML()); - - // switch mode if needed - if (parent_object._mode == "textmode") { editor.setMode("textmode"); } - - // continuously update parent editor window - setInterval(update_parent, 500); - - // setup event handlers - document.body.onkeypress = _CloseOnEsc; - editor._doc.body.onkeypress = _CloseOnEsc; - editor._textArea.onkeypress = _CloseOnEsc; - window.onresize = resize_editor; - }, 333); // give it some time to meet the new frame -} - -/* ---------------------------------------------------------------------- *\ - Function : update_parent - Description : update parent window editor field with contents from child window -\* ---------------------------------------------------------------------- */ - -function update_parent() { - // use the fast version - parent_object.setHTML(editor.getInnerHTML()); -} - - -</script> -</head> -<body scroll="no" onload="init()" onunload="update_parent()"> - -<form style="margin: 0px; border: 1px solid; border-color: threedshadow threedhighlight threedhighlight threedshadow;"> -<textarea name="editor" id="editor" style="width:100%; height:300px"> </textarea> -</form> - -</body></html> diff --git a/lib/editor/popups/insert_image.html b/lib/editor/popups/insert_image.html deleted file mode 100644 index 06e643301a..0000000000 --- a/lib/editor/popups/insert_image.html +++ /dev/null @@ -1,215 +0,0 @@ -<html style="width: 398; height: 218"> - -<head> - <title>Insert Image</title> - -<script type="text/javascript" src="popup.js"></script> - -<script type="text/javascript"> -var preview_window = null; - -function Init() { - __dlg_init(); - document.getElementById("f_url").focus(); -}; - -function onOK() { - var required = { - "f_url": "You must enter the URL", - "f_alt": "Please enter the alternate text" - }; - for (var i in required) { - var el = document.getElementById(i); - if (!el.value) { - alert(required[i]); - el.focus(); - return false; - } - } - // pass data back to the calling window - var fields = ["f_url", "f_alt", "f_align", "f_border", - "f_horiz", "f_vert"]; - var param = new Object(); - for (var i in fields) { - var id = fields[i]; - var el = document.getElementById(id); - param[id] = el.value; - } - if (preview_window) { - preview_window.close(); - } - __dlg_close(param); - return false; -}; - -function onCancel() { - if (preview_window) { - preview_window.close(); - } - __dlg_close(null); - return false; -}; - -function onPreview() { - var f_url = document.getElementById("f_url"); - var url = f_url.value; - if (!url) { - alert("You have to enter an URL first"); - f_url.focus(); - return false; - } - var img = new Image(); - img.src = url; - var win = null; - if (!document.all) { - win = window.open("about:blank", "ha_imgpreview", "toolbar=no,menubar=no,personalbar=no,innerWidth=100,innerHeight=100,scrollbars=no,resizable=yes"); - } else { - win = window.open("about:blank", "ha_imgpreview", "channelmode=no,directories=no,height=100,width=100,location=no,menubar=no,resizable=yes,scrollbars=no,toolbar=no"); - } - preview_window = win; - var doc = win.document; - var body = doc.body; - if (body) { - body.innerHTML = ""; - body.style.padding = "0px"; - body.style.margin = "0px"; - var el = doc.createElement("img"); - el.src = url; - - var table = doc.createElement("table"); - body.appendChild(table); - table.style.width = "100%"; - table.style.height = "100%"; - var tbody = doc.createElement("tbody"); - table.appendChild(tbody); - var tr = doc.createElement("tr"); - tbody.appendChild(tr); - var td = doc.createElement("td"); - tr.appendChild(td); - td.style.textAlign = "center"; - - td.appendChild(el); - win.resizeTo(el.offsetWidth + 30, el.offsetHeight + 30); - } - win.focus(); - return false; -}; -</script> - -<style type="text/css"> -html, body { - background: ButtonFace; - color: ButtonText; - font: 11px Tahoma,Verdana,sans-serif; - margin: 0px; - padding: 0px; -} -body { padding: 5px; } -table { - font: 11px Tahoma,Verdana,sans-serif; -} -form p { - margin-top: 5px; - margin-bottom: 5px; -} -.fl { width: 9em; float: left; padding: 2px 5px; text-align: right; } -.fr { width: 6em; float: left; padding: 2px 5px; text-align: right; } -fieldset { padding: 0px 10px 5px 5px; } -select, input, button { font: 11px Tahoma,Verdana,sans-serif; } -button { width: 70px; } -.space { padding: 2px; } - -.title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; -border-bottom: 1px solid black; letter-spacing: 2px; -} -form { padding: 0px; margin: 0px; } -</style> - -</head> - -<body onload="Init()"> - -<div class="title">Insert Image</div> - -<form action="" method="get"> -<table border="0" width="100%" style="padding: 0px; margin: 0px"> - <tbody> - - <tr> - <td style="width: 7em; text-align: right">Image URL:</td> - <td><input type="text" name="url" id="f_url" style="width:75%" - title="Enter the image URL here" /> - <button name="preview" onclick="return onPreview()" - title="Preview the image in a new window">Preview</button> - </td> - </tr> - <tr> - <td style="width: 7em; text-align: right">Alternate text:</td> - <td><input type="text" name="alt" id="f_alt" style="width:100%" - title="For browsers that don't support images" /></td> - </tr> - - </tbody> -</table> - -<p /> - -<fieldset style="float: left; margin-left: 5px;"> -<legend>Layout</legend> - -<div class="space"></div> - -<div class="fl">Alignment:</div> -<select size="1" name="align" id="f_align" - title="Positioning of this image"> - <option value="" >Not set</option> - <option value="left" >Left</option> - <option value="right" >Right</option> - <option value="texttop" >Texttop</option> - <option value="absmiddle" >Absmiddle</option> - <option value="baseline" selected="1" >Baseline</option> - <option value="absbottom" >Absbottom</option> - <option value="bottom" >Bottom</option> - <option value="middle" >Middle</option> - <option value="top" >Top</option> -</select> - -<p /> - -<div class="fl">Border thickness:</div> -<input type="text" name="border" id="f_border" size="5" -title="Leave empty for no border" /> - -<div class="space"></div> - -</fieldset> - -<fieldset style="float:right; margin-right: 5px;"> -<legend>Spacing</legend> - -<div class="space"></div> - -<div class="fr">Horizontal:</div> -<input type="text" name="horiz" id="f_horiz" size="5" -title="Horizontal padding" /> - -<p /> - -<div class="fr">Vertical:</div> -<input type="text" name="vert" id="f_vert" size="5" -title="Vertical padding" /> - -<div class="space"></div> - -</fieldset> - -<div style="margin-top: 85px; text-align: right;"> -<hr /> -<button type="button" name="ok" onclick="return onOK();">OK</button> -<button type="button" name="cancel" onclick="return onCancel();">Cancel</button> -</div> - -</form> - -</body> -</html> diff --git a/lib/editor/popups/insert_table.html b/lib/editor/popups/insert_table.html deleted file mode 100644 index ebb6982ed7..0000000000 --- a/lib/editor/popups/insert_table.html +++ /dev/null @@ -1,173 +0,0 @@ -<html style="width: 398; height: 218"> - -<head> - <title>Insert Table</title> - -<script type="text/javascript" src="popup.js"></script> -<script type="text/javascript" src="../lang/en.php"></script> -<script type="text/javascript"> - -function Init() { - __dlg_init(); - document.getElementById('f_rows').focus(); -}; - -function onOK() { - var required = { - "f_rows": "You must enter a number of rows", - "f_cols": "You must enter a number of columns" - }; - for (var i in required) { - var el = document.getElementById(i); - if (!el.value) { - alert(required[i]); - el.focus(); - return false; - } - } - var fields = ["f_rows", "f_cols", "f_width", "f_unit", - "f_align", "f_border", "f_spacing", "f_padding"]; - var param = new Object(); - for (var i in fields) { - var id = fields[i]; - var el = document.getElementById(id); - param[id] = el.value; - } - __dlg_close(param); - return false; -}; - -function onCancel() { - __dlg_close(null); - return false; -}; - -</script> - -<style type="text/css"> -html, body { - background: ButtonFace; - color: ButtonText; - font: 11px Tahoma,Verdana,sans-serif; - margin: 0px; - padding: 0px; -} -body { padding: 5px; } -table { - font: 11px Tahoma,Verdana,sans-serif; -} -form p { - margin-top: 5px; - margin-bottom: 5px; -} -.fl { width: 9em; float: left; padding: 2px 5px; text-align: right; } -.fr { width: 7em; float: left; padding: 2px 5px; text-align: right; } -fieldset { padding: 0px 10px 5px 5px; } -select, input, button { font: 11px Tahoma,Verdana,sans-serif; } -button { width: 70px; } -.space { padding: 2px; } - -.title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; -border-bottom: 1px solid black; letter-spacing: 2px; -} -form { padding: 0px; margin: 0px; } -</style> - -</head> - -<body onload="Init()"> - -<div class="title">Insert Table</div> - -<form action="" method="get"> -<table border="0" style="padding: 0px; margin: 0px"> - <tbody> - - <tr> - <td style="width: 4em; text-align: right">Rows:</td> - <td><input type="text" name="f_rows" id="f_rows" size="5" title="Number of rows" value="2" /></td> - <td></td> - <td></td> - <td></td> - </tr> - <tr> - <td style="width: 4em; text-align: right">Cols:</td> - <td><input type="text" name="f_cols" id="f_cols" size="5" title="Number of columns" value="4" /></td> - <td style="width: 4em; text-align: right">Width:</td> - <td><input type="text" name="f_width" id="f_width" size="5" title="Width of the table" value="100" /></td> - <td><select size="1" name="f_unit" id="f_unit" title="Width unit"> - <option value="%" selected="1" >Percent</option> - <option value="px" >Pixels</option> - <option value="em" >Em</option> - </select></td> - </tr> - - </tbody> -</table> - -<p /> - -<fieldset style="float: left; margin-left: 5px;"> -<legend>Layout</legend> - -<div class="space"></div> - -<div class="fl">Alignment:</div> -<select size="1" name="f_align" id="f_align" - title="Positioning of this image"> - <option value="" selected="1" >Not set</option> - <option value="left" >Left</option> - <option value="right" >Right</option> - <option value="texttop" >Texttop</option> - <option value="absmiddle" >Absmiddle</option> - <option value="baseline" >Baseline</option> - <option value="absbottom" >Absbottom</option> - <option value="bottom" >Bottom</option> - <option value="middle" >Middle</option> - <option value="top" >Top</option> -</select> - -<p /> - -<div class="fl">Border thickness:</div> -<input type="text" name="f_border" id="f_border" size="5" value="1" -title="Leave empty for no border" /> -<!-- -<p /> - -<div class="fl">Collapse borders:</div> -<input type="checkbox" name="collapse" id="f_collapse" /> ---> -<div class="space"></div> - -</fieldset> - -<fieldset style="float:right; margin-right: 5px;"> -<legend>Spacing</legend> - -<div class="space"></div> - -<div class="fr">Cell spacing:</div> -<input type="text" name="f_spacing" id="f_spacing" size="5" value="1" -title="Space between adjacent cells" /> - -<p /> - -<div class="fr">Cell padding:</div> -<input type="text" name="f_padding" id="f_padding" size="5" value="1" -title="Space between content and border in cell" /> - -<div class="space"></div> - -</fieldset> - -<div style="margin-top: 85px; text-align: right;"> -<hr /> -<button type="button" name="ok" onclick="return onOK();">OK</button> -<button type="button" name="cancel" onclick="return onCancel();">Cancel</button> -</div> - -</form> - -</body> -</html> diff --git a/lib/editor/popups/link.html b/lib/editor/popups/link.html deleted file mode 100644 index 97a9edac40..0000000000 --- a/lib/editor/popups/link.html +++ /dev/null @@ -1,221 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title>testaus</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<script type="text/javascript" src="popup.js"></script> -<script language="JavaScript" type="text/javascript"> -window.resizeTo(700, 460); - -//I18N = window.opener.HTMLArea.I18N.dialogs; - -// function i18n(str) { -// return (I18N[str] || str); -// }; - -function onTargetChanged() { - var f = document.getElementById("f_other_target"); - if (this.value == "_other") { - f.style.visibility = "visible"; - f.select(); - f.focus(); - } else f.style.visibility = "hidden"; -}; - -function Init() { - //__dlg_translate(I18N); - __dlg_init(); - var param = window.dialogArguments; - var target_select = document.getElementById("f_target"); - if (param) { - document.getElementById("f_href").value = param["f_href"]; - document.getElementById("f_title").value = param["f_title"]; - comboSelectValue(target_select, param["f_target"]); - if (target_select.value != param.f_target) { - var opt = document.createElement("option"); - opt.value = param.f_target; - opt.innerHTML = opt.value; - target_select.appendChild(opt); - opt.selected = true; - } - } - var opt = document.createElement("option"); - opt.value = "_other"; - opt.innerHTML = "muu"; - target_select.appendChild(opt); - target_select.onchange = onTargetChanged; - document.getElementById("f_href").focus(); - window.focus(); - document.getElementById("f_href").select(); -}; - -function onOK() { - var required = { - "f_href": alert("You must enter the URL where this link points to") - }; - for (var i in required) { - var el = document.getElementById(i); - if (!el.value) { - alert(required[i]); - el.focus(); - return false; - } - } - // pass data back to the calling window - var fields = ["f_href", "f_title", "f_target" ]; - var param = new Object(); - for (var i in fields) { - var id = fields[i]; - var el = document.getElementById(id); - param[id] = el.value; - } - if (param.f_target == "_other") - param.f_target = document.getElementById("f_other_target").value; - __dlg_close(param); - return false; -}; - -function onCancel() { - __dlg_close(null); - return false; -}; - -function indexFrom() { - var set_url = document.getElementById('findex'); - var url = set_url.value; - window.fbrowser.location.replace(url); - - var resetme = document.forms['mainform']; - resetme.fcreated.value = ""; - resetme.ftype.value = ""; - resetme.fsize.value = ""; - return false; -}; -</script> -<style type="text/css"> -html, body { -width: 700; -height: 460; -background-color: rgb(212,208,200); -} -.title { -background-color: #ddddff; -padding: 5px; -border-bottom: 1px solid black; -font-family: Tahoma, sans-serif; -font-weight: bold; -font-size: 14px; -color: black; -} -input,select { -font-family: Tahoma, sans-serif; -font-size: 11px; -} -legend { -font-family: Tahoma, sans-serif; -font-size: 11px; -} -p { -margin-left: 10px; -background-color: transparent; -font-family: Tahoma, sans-serif; -font-size: 11px; -color: black; -} -td { -font-family: Tahoma, sans-serif; -font-size: 11px; -} -button { -width: 70px; -font-family: Tahoma, sans-serif; -font-size: 11px; -} -#fcreated,#ftype,#fsize { -background-color: rgb(212,208,200); -border: none; -font-family: Tahoma, sans-serif; -font-size: 11px; -color: black; -} -.space { padding: 2px; } -</style> -</head> - -<body onload="Init()"> -<div class="title">Lisää linkki</div> - <table width="660" border="0" cellspacing="0" cellpadding="2"> - <tr> - <td width="380" valign="top"><fieldset> - <legend>Tiedosto selain</legend> - - <div class="space"></div> - <iframe id="fbrowser" name="fbrowser" src="../coursefiles.php" width="360" height="260"></iframe> - <p> - <form id="uploader" name="uploader" enctype="multipart/form-data" method="post" action="browser.php" target="fbrowser"> - <input type="hidden" name="MAX_FILE_SIZE" value="2097152"> - <input type="hidden" name="a" value="s"> - <input id="dir" type="hidden" name="dir" value="none"> - <input id="fiilu" type="file" name="fiilu" size="35"> - <input type="submit" name="subval" value="Lataa tiedosto"> - </form></p> - <div class="space"></div> - </fieldset> </td> - <td width="300" valign="top"> - <form name="mainform"> - <fieldset> - <legend>Tiedoston ominaisuudet</legend> - <div class="space"></div> - <table width="298" border="0"> - <tr> - <td width="35" align="right">Luotu:</td> - <td align="left"><input id="fcreated" type="text" name="fcreated" size="40"></td> - </tr> - <tr> - <td width="35" align="right">Tyyppi:</td> - <td align="left"><input id="ftype" type="text" name="ftype" size="40"></td> - </tr> - <tr> - <td width="35" align="right">Koko:</td> - <td align="left"><input id="fsize" type="text" name="fsize" size="40"></td> - </tr> - </table> - <br> - </fieldset> - <fieldset><legend>Linkin ominaisuudet</legend> - <br> - <table width="82%"> - <tr> - <td width="35" align="right">Osoite:</td> - <td><input id="f_href" type="text" name="url" size="40"></td> - </tr> - <tr> - <td width="35" align="right">Otsikko:</td> - <td><input id="f_title" type="text" name="f_title" size="40"></td> - </tr> - <tr> - <td width="35" align="right">Kohde:</td> - <td><select id="f_target" name="f_target"> - <option value="">None (use implicit)</option> - <option value="_blank">Uuteen ikkunaan (_blank)</option> - <option value="_self">Samaan kehykseen (_self)</option> - <option value="_top">Ylä kehykseen (_top)</option> - </select></td> - </tr> - </table> - <div class="space"></div> - <table width="78%" border="0" cellspacing="0" cellpadding="2"> - <tr> - <td align="right" valign="middle"><button name="btnOk" onclick="return onOK();">OK</button> - <button name="btnCancel" onclick="return onCancel();">Peruuta</button></td> - </tr> - </table> - <div class="space"></div> - </fieldset> - </form> - </td> - </tr> - </table> -<p> </p> -</body> -</html> diff --git a/lib/editor/popups/new_insert_image.html b/lib/editor/popups/new_insert_image.html deleted file mode 100644 index 8936733c50..0000000000 --- a/lib/editor/popups/new_insert_image.html +++ /dev/null @@ -1,215 +0,0 @@ -<html style="width: 398; height: 218"> - -<head> - <title>Insert Image</title> - -<script type="text/javascript" src="popup.js"></script> - -<script type="text/javascript"> -var preview_window = null; - -function Init() { - __dlg_init(); - document.getElementById("f_url").focus(); -}; - -function onOK() { - var required = { - "f_url": "You must enter the URL", - "f_alt": "Please enter the alternate text" - }; - for (var i in required) { - var el = document.getElementById(i); - if (!el.value) { - alert(required[i]); - el.focus(); - return false; - } - } - // pass data back to the calling window - var fields = ["f_url", "f_alt", "f_align", "f_border", - "f_horiz", "f_vert"]; - var param = new Object(); - for (var i in fields) { - var id = fields[i]; - var el = document.getElementById(id); - param[id] = el.value; - } - if (preview_window) { - preview_window.close(); - } - __dlg_close(param); - return false; -}; - -function onCancel() { - if (preview_window) { - preview_window.close(); - } - __dlg_close(null); - return false; -}; - -function onPreview() { - /* var f_url = document.getElementById("f_url"); - var url = f_url.value; - if (!url) { - alert("You have to enter an URL first"); - f_url.focus(); - return false; - } - var img = new Image(); - img.src = url; - var win = null; - if (!document.all) { - win = window.open("about:blank", "ha_imgpreview", "toolbar=no,menubar=no,personalbar=no,innerWidth=100,innerHeight=100,scrollbars=no,resizable=yes"); - } else { - win = window.open("about:blank", "ha_imgpreview", "channelmode=no,directories=no,height=100,width=100,location=no,menubar=no,resizable=yes,scrollbars=no,toolbar=no"); - } - preview_window = win; - var doc = win.document; - var body = doc.body; - if (body) { - body.innerHTML = ""; - body.style.padding = "0px"; - body.style.margin = "0px"; - var el = doc.createElement("img"); - el.src = url; - - var table = doc.createElement("table"); - body.appendChild(table); - table.style.width = "100%"; - table.style.height = "100%"; - var tbody = doc.createElement("tbody"); - table.appendChild(tbody); - var tr = doc.createElement("tr"); - tbody.appendChild(tr); - var td = doc.createElement("td"); - tr.appendChild(td); - td.style.textAlign = "center"; - - td.appendChild(el); - win.resizeTo(el.offsetWidth + 30, el.offsetHeight + 30); - } - win.focus(); - return false; */ -}; -</script> - -<style type="text/css"> -html, body { - background: ButtonFace; - color: ButtonText; - font: 11px Tahoma,Verdana,sans-serif; - margin: 0px; - padding: 0px; -} -body { padding: 5px; } -table { - font: 11px Tahoma,Verdana,sans-serif; -} -form p { - margin-top: 5px; - margin-bottom: 5px; -} -.fl { width: 9em; float: left; padding: 2px 5px; text-align: right; } -.fr { width: 6em; float: left; padding: 2px 5px; text-align: right; } -fieldset { padding: 0px 10px 5px 5px; } -select, input, button { font: 11px Tahoma,Verdana,sans-serif; } -button { width: 70px; } -.space { padding: 2px; } - -.title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; -border-bottom: 1px solid black; letter-spacing: 2px; -} -form { padding: 0px; margin: 0px; } -</style> - -</head> - -<body onload="Init()"> - -<div class="title">Insert Image</div> - -<form action="" method="get"> -<table border="0" width="100%" style="padding: 0px; margin: 0px"> - <tbody> - - <tr> - <td style="width: 7em; text-align: right">Image URL:</td> - <td><input type="text" name="url" id="f_url" style="width:75%" - title="Enter the image URL here" /> - <button name="preview" onclick="window.open('http://server.janne.com/hallinta/tiedotteet/images.php','my_new_window','toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=400, height=300, top=100, left=100');" - title="Preview the image in a new window">Preview</button> - </td> - </tr> - <tr> - <td style="width: 7em; text-align: right">Alternate text:</td> - <td><input type="text" name="alt" id="f_alt" style="width:100%" - title="For browsers that don't support images" /></td> - </tr> - - </tbody> -</table> - -<p /> - -<fieldset style="float: left; margin-left: 5px;"> -<legend>Layout</legend> - -<div class="space"></div> - -<div class="fl">Alignment:</div> -<select size="1" name="align" id="f_align" - title="Positioning of this image"> - <option value="" >Not set</option> - <option value="left" >Left</option> - <option value="right" >Right</option> - <option value="texttop" >Texttop</option> - <option value="absmiddle" >Absmiddle</option> - <option value="baseline" selected="1" >Baseline</option> - <option value="absbottom" >Absbottom</option> - <option value="bottom" >Bottom</option> - <option value="middle" >Middle</option> - <option value="top" >Top</option> -</select> - -<p /> - -<div class="fl">Border thickness:</div> -<input type="text" name="border" id="f_border" size="5" -title="Leave empty for no border" /> - -<div class="space"></div> - -</fieldset> - -<fieldset style="float:right; margin-right: 5px;"> -<legend>Spacing</legend> - -<div class="space"></div> - -<div class="fr">Horizontal:</div> -<input type="text" name="horiz" id="f_horiz" size="5" -title="Horizontal padding" /> - -<p /> - -<div class="fr">Vertical:</div> -<input type="text" name="vert" id="f_vert" size="5" -title="Vertical padding" /> - -<div class="space"></div> - -</fieldset> - -<div style="margin-top: 85px; text-align: right;"> -<hr /> -<button type="button" name="ok" onclick="return onOK();">OK</button> -<button type="button" name="cancel" onclick="return onCancel();">Cancel</button> -</div> - -</form> - -</body> -</html> -- 2.39.5