]> git.mjollnir.org Git - moodle.git/commitdiff
Removing unnecessary files
authorjulmis <julmis>
Mon, 10 May 2004 21:36:15 +0000 (21:36 +0000)
committerjulmis <julmis>
Mon, 10 May 2004 21:36:15 +0000 (21:36 +0000)
28 files changed:
lib/editor/lang/b5.js [deleted file]
lib/editor/lang/da.js [deleted file]
lib/editor/lang/de.js [deleted file]
lib/editor/lang/es.js [deleted file]
lib/editor/lang/fi.js [deleted file]
lib/editor/lang/fr.js [deleted file]
lib/editor/lang/gb.js [deleted file]
lib/editor/lang/it.js [deleted file]
lib/editor/lang/ja-euc.js [deleted file]
lib/editor/lang/ja-jis.js [deleted file]
lib/editor/lang/ja-sjis.js [deleted file]
lib/editor/lang/ja-utf8.js [deleted file]
lib/editor/lang/nb.js [deleted file]
lib/editor/lang/nl.js [deleted file]
lib/editor/lang/old_fi.js [deleted file]
lib/editor/lang/pl.js [deleted file]
lib/editor/lang/pt_br.js [deleted file]
lib/editor/lang/ro.js [deleted file]
lib/editor/lang/ru.js [deleted file]
lib/editor/lang/se.js [deleted file]
lib/editor/lang/vn.js [deleted file]
lib/editor/popups/custom2.html [deleted file]
lib/editor/popups/dlg_ins_char.html [deleted file]
lib/editor/popups/fullscreen.html [deleted file]
lib/editor/popups/insert_image.html [deleted file]
lib/editor/popups/insert_table.html [deleted file]
lib/editor/popups/link.html [deleted file]
lib/editor/popups/new_insert_image.html [deleted file]

diff --git a/lib/editor/lang/b5.js b/lib/editor/lang/b5.js
deleted file mode 100644 (file)
index 16e9e6d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants -- Chinese Big-5\r
-// by Dave Lo -- dlo@interactivetools.com\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "b5",\r
-\r
-       tooltips: {\r
-               bold:           "²ÊÅé",\r
-               italic:         "±×Åé",\r
-               underline:      "©³½u",\r
-               strikethrough:  "§R°£½u",\r
-               subscript:      "¤U¼Ð",\r
-               superscript:    "¤W¼Ð",\r
-               justifyleft:    "¦ì¸m¾a¥ª",\r
-               justifycenter:  "¦ì¸m©~¤¤",\r
-               justifyright:   "¦ì¸m¾a¥k",\r
-               justifyfull:    "¦ì¸m¥ª¥k¥­µ¥",\r
-               orderedlist:    "¶¶§Ç²M³æ",\r
-               unorderedlist:  "µL§Ç²M³æ",\r
-               outdent:        "´î¤p¦æ«eªÅ¥Õ",\r
-               indent:         "¥[¼e¦æ«eªÅ¥Õ",\r
-               forecolor:      "¤å¦rÃC¦â",\r
-               backcolor:      "­I´ºÃC¦â",\r
-               horizontalrule: "¤ô¥­½u",\r
-               createlink:     "´¡¤J³sµ²",\r
-               insertimage:    "´¡¤J¹Ï§Î",\r
-               inserttable:    "´¡¤Jªí®æ",\r
-               htmlmode:       "¤Á´«HTML­ì©l½X",\r
-               popupeditor:    "©ñ¤j",\r
-               about:          "Ãö©ó HTMLArea",\r
-               help:           "»¡©ú",\r
-               textindicator:  "¦rÅé¨Ò¤l"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/da.js b/lib/editor/lang/da.js
deleted file mode 100644 (file)
index 34a282b..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// danish version for htmlArea v3.0 - Alpha Release\r
-// - translated by rene<rene@laerke.net>\r
-// term´s and licenses are equal to htmlarea!\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "da",\r
-\r
-       tooltips: {\r
-               bold:           "Fed",\r
-               italic:         "Kursiv",\r
-               underline:      "Understregning",\r
-               strikethrough:  "Overstregning ",\r
-               subscript:      "Sænket skrift",\r
-               superscript:    "Hævet skrift",\r
-               justifyleft:    "Venstrejuster",\r
-               justifycenter:  "Centrer",\r
-               justifyright:   "Højrejuster",\r
-               justifyfull:    "Lige margener",\r
-               orderedlist:    "Opstilling med tal",\r
-               unorderedlist:  "Opstilling med punkttegn",\r
-               outdent:        "Formindsk indrykning",\r
-               indent:         "Forøg indrykning",\r
-               forecolor:      "Skriftfarve",\r
-               backcolor:      "Baggrundsfarve",\r
-               horizontalrule: "Horisontal linie",\r
-               createlink:     "Indsæt hyperlink",\r
-               insertimage:    "Indsæt billede",\r
-               inserttable:    "Indsæt tabel",\r
-               htmlmode:       "HTML visning",\r
-               popupeditor:    "Vis editor i popup",\r
-               about:          "Om htmlarea",\r
-               help:           "Hjælp",\r
-               textindicator:  "Anvendt stil"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/de.js b/lib/editor/lang/de.js
deleted file mode 100644 (file)
index fcd6099..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// german version for htmlArea v3.0 - Alpha Release\r
-// - translated by AtK<atk@chello.at>\r
-// term´s and licenses are equal to htmlarea!\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "de",\r
-\r
-       tooltips: {\r
-               bold:           "Fett",\r
-               italic:         "Kursiv",\r
-               underline:      "Unterstrichen",\r
-               strikethrough:  "Durchgestrichen",\r
-               subscript:      "hochgestellt",\r
-               superscript:    "tiefgestellt",\r
-               justifyleft:    "Links ausrichten",\r
-               justifycenter:  "Zentrieren",\r
-               justifyright:   "Rechts ausrichten",\r
-               justifyfull:    "Blocksatz",\r
-               orderedlist:    "Nummerierung",\r
-               unorderedlist:  "Aufzählungszeichen",\r
-               outdent:        "Einzug verkleinern",\r
-               indent:         "Einzug vergrössern",\r
-               forecolor:      "Text Farbe",\r
-               backcolor:      "Hintergrund Farbe",\r
-               horizontalrule: "Horizontale Linie",\r
-               createlink:     "Hyperlink einfügen",\r
-               insertimage:    "Bild einfügen",\r
-               inserttable:    "Tabelle einfügen",\r
-               htmlmode:       "HTML Modus",\r
-               popupeditor:    "Editor im Popup öffnen",\r
-               about:          "Über htmlarea",\r
-               help:           "Hilfe",\r
-               textindicator:  "derzeitiger Stil"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/es.js b/lib/editor/lang/es.js
deleted file mode 100644 (file)
index 91922d6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants\r\r
-\r\r
-HTMLArea.I18N = {\r\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "es",\r
-\r
-       tooltips: {\r\r
-               bold:           "Negritas",\r\r
-               italic:         "Cursiva",\r\r
-               underline:      "Subrayado",\r\r
-               strikethrough:  "Texto Cruzado",\r\r
-               subscript:      "Subscript",\r\r
-               superscript:    "Superscript",\r\r
-               justifyleft:    "Alinear a la Izquierda",\r\r
-               justifycenter:  "Centrar",\r\r
-               justifyright:   "Alinear a la Derecha",\r\r
-               justifyfull:    "Justificar",\r\r
-               orderedlist:    "Lista Ordenada",\r\r
-               unorderedlist:  "Lista No Ordenada",\r\r
-               outdent:        "Aumentar Sangría",\r\r
-               indent:         "Disminuir Sangría",\r\r
-               forecolor:      "Color del Texto",\r\r
-               backcolor:      "Color del Fondo",\r\r
-               horizontalrule: "Línea Horizontal",\r\r
-               createlink:     "Insertar Enlace",\r\r
-               insertimage:    "Insertar Imagen",\r\r
-               inserttable:    "Insertar Tabla",\r\r
-               htmlmode:       "Ver Documento en HTML",\r\r
-               popupeditor:    "Ampliar Editor",\r\r
-               about:          "Acerca del Editor",\r\r
-               help:           "Ayuda",\r\r
-               textindicator:  "Estilo Actual"\r\r
-       }\r\r
-};\r\r
diff --git a/lib/editor/lang/fi.js b/lib/editor/lang/fi.js
deleted file mode 100644 (file)
index e6d581c..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "en", ENCODING: UTF-8 | ISO-8859-1\r
-// Author: Mihai Bazon, <mishoo@infoiasi.ro>\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "fi",\r
-\r
-       tooltips: {\r
-               bold:           "Lihavointi",\r
-               italic:         "Kursivointi",\r
-               underline:      "Alleviivaus",\r
-               strikethrough:  "Päälleviivaus",\r
-               subscript:      "Alaindeksi",\r
-               superscript:    "Yläindeksi",\r
-               justifyleft:    "Tasaa vasemmat reunat",\r
-               justifycenter:  "Keskitä",\r
-               justifyright:   "Tasaa oikeat reunat",\r
-               justifyfull:    "Tasaa molemmat reunat",\r
-               orderedlist:    "Numerointi",\r
-               unorderedlist:  "Luettelomerkit",\r
-               outdent:        "Lisää sisennystä",\r
-               indent:         "Vähennä sisennystä",\r
-               forecolor:      "Tekstin väri",\r
-               hilitecolor:    "Taustan väri",\r
-               horizontalrule: "Vaakaviiva",\r
-               createlink:     "Lisää linkki",\r
-               insertimage:    "Lisää kuva",\r
-               inserttable:    "Lisää taulukko",\r
-               htmlmode:       "Näytä HTML koodi",\r
-               popupeditor:    "Suurenna editori",\r
-               about:          "Tietoja editorista",\r
-               showhelp:       "Ohje",\r
-               textindicator:  "Nykyinen tyyli",\r
-               undo:           "Peruuta viimeinen toiminto",\r
-               redo:           "Palauta viimeinen toiminto",\r
-               cut:            "Leikkaa",\r
-               copy:           "Kopioi",\r
-               paste:          "Liitä"\r
-       },\r
-\r
-       buttons: {\r
-               "ok":           "OK",\r
-               "cancel":       "Peruuta",\r
-       },\r
-\r
-       msg: {\r
-               "Path":         "Polku",\r
-               "TEXT_MODE":    "Olet tekstitilassa.  Käytä [<>] painiketta palataksesi WYSIWIG -tilaan."\r
-       }\r
-};\r
diff --git a/lib/editor/lang/fr.js b/lib/editor/lang/fr.js
deleted file mode 100644 (file)
index 7da94c2..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "fr",\r
-\r
-       tooltips: {\r
-               bold:           "Gras",\r
-               italic:         "Italique",\r
-               underline:      "Souligné",\r
-               strikethrough:  "Barré",\r
-               subscript:      "Subscript",\r
-               superscript:    "Superscript",\r
-               justifyleft:    "Aligné à gauche",\r
-               justifycenter:  "Centré",\r
-               justifyright:   "Aligné à droite",\r
-               justifyfull:    "Justifié",\r
-               orderedlist:    "Numérotation",\r
-               unorderedlist:  "Puces",\r
-               outdent:        "Augmenter le retrait",\r
-               indent:         "Diminuer le retrait",\r
-               forecolor:      "Couleur du texte",\r
-               backcolor:      "Couleur du fond",\r
-               horizontalrule: "Ligne horizontale",\r
-               createlink:     "Insérer un lien",\r
-               insertimage:    "Insérer une image",\r
-               inserttable:    "Insérer un tableau",\r
-               htmlmode:       "Passer au code source HTML",\r
-               popupeditor:    "Agrandir l'éditeur",\r
-               about:          "A propos de cet éditeur",\r
-               help:           "Aide sur l'éditeur",\r
-               textindicator:  "Style courant"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/gb.js b/lib/editor/lang/gb.js
deleted file mode 100644 (file)
index 6878444..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants -- Chinese GB\r
-// by Dave Lo -- dlo@interactivetools.com\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "gb",\r
-\r
-       tooltips: {\r
-               bold:           "´ÖÌå",\r
-               italic:         "бÌå",\r
-               underline:      "µ×Ïß",\r
-               strikethrough:  "ɾ³ýÏß",\r
-               subscript:      "ϱê",\r
-               superscript:    "Éϱê",\r
-               justifyleft:    "λÖÿ¿×ó",\r
-               justifycenter:  "λÖþÓÖÐ",\r
-               justifyright:   "λÖÿ¿ÓÒ",\r
-               justifyfull:    "λÖÃ×óÓÒÆ½µÈ",\r
-               orderedlist:    "˳ÐòÇåµ¥",\r
-               unorderedlist:  "ÎÞÐòÇåµ¥",\r
-               outdent:        "¼õСÐÐǰ¿Õ°×",\r
-               indent:         "¼Ó¿íÐÐǰ¿Õ°×",\r
-               forecolor:      "ÎÄ×ÖÑÕÉ«",\r
-               backcolor:      "±³¾°ÑÕÉ«",\r
-               horizontalrule: "ˮƽÏß",\r
-               createlink:     "²åÈëÁ¬½á",\r
-               insertimage:    "²åÈëͼÐÎ",\r
-               inserttable:    "²åÈë±í¸ñ",\r
-               htmlmode:       "Çл»HTMLԭʼÂë",\r
-               popupeditor:    "·Å´ó",\r
-               about:          "¹Øì¶ HTMLArea",\r
-               help:           "˵Ã÷",\r
-               textindicator:  "×ÖÌåÀý×Ó"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/it.js b/lib/editor/lang/it.js
deleted file mode 100644 (file)
index b762307..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "it",\r
-\r
-       tooltips: {\r
-               bold:           "Grassetto",\r
-               italic:         "Corsivo",\r
-               underline:      "Sottolineato",\r
-               strikethrough:  "Barrato",\r
-               subscript:      "Pedice",\r
-               superscript:    "Apice",\r
-               justifyleft:    "Allinea a sinistra",\r
-               justifycenter:  "Centra",\r
-               justifyright:   "Allinea a destra",\r
-               justifyfull:    "Giustifica",\r
-               orderedlist:    "Elenco numerato",\r
-               unorderedlist:  "Elenco puntato",\r
-               outdent:        "Riduci rientro",\r
-               indent:         "Aumenta rientro",\r
-               forecolor:      "Colore carattere",\r
-               backcolor:      "Colore di sfondo",\r
-               horizontalrule: "Linea orizzontale",\r
-               createlink:     "Inserisci collegamento ipertestuale",\r
-               insertimage:    "Inserisci immagine",\r
-               inserttable:    "Inserisci tabella",\r
-               htmlmode:       "Passa alla visualizzazione HTML",\r
-               popupeditor:    "Ingrandisci editor",\r
-               about:          "Info",\r
-               help:           "Aiuto",\r
-               textindicator:  "Stile utilizzato"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/ja-euc.js b/lib/editor/lang/ja-euc.js
deleted file mode 100644 (file)
index 7d539b9..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// I18N constants -- Japanese EUC\r
-// by Manabu Onoue -- tmocsys@tmocsys.com\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "ja-euc",\r
-\r
-       tooltips: {\r
-               bold:           "ÂÀ»ú",\r
-               italic:         "¼ÐÂÎ",\r
-               underline:      "²¼Àþ",\r
-               strikethrough:  "ÂǤÁ¾Ã¤·Àþ",\r
-               subscript:      "²¼ÉÕ¤­Åº¤¨»ú",\r
-               superscript:    "¾åÉÕ¤­Åº¤¨»ú",\r
-               justifyleft:    "º¸´ó¤»",\r
-               justifycenter:  "Ãæ±û´ó¤»",\r
-               justifyright:   "±¦´ó¤»",\r
-               justifyfull:    "¶ÑÅù³äÉÕ",\r
-               orderedlist:    "ÈÖ¹æÉÕ¤­²Õ¾ò½ñ¤­",\r
-               unorderedlist:  "µ­¹æÉÕ¤­²Õ¾ò½ñ¤­",\r
-               outdent:        "¥¤¥ó¥Ç¥ó¥È²ò½ü",\r
-               indent:         "¥¤¥ó¥Ç¥ó¥ÈÀßÄê",\r
-               forecolor:      "ʸ»ú¿§",\r
-               backcolor:      "ÇØ·Ê¿§",\r
-               horizontalrule: "¿åÊ¿Àþ",\r
-               createlink:     "¥ê¥ó¥¯ºîÀ®",\r
-               insertimage:    "²èÁüÁÞÆþ",\r
-               inserttable:    "¥Æ¡¼¥Ö¥ëÁÞÆþ",\r
-               htmlmode:       "HTMLɽ¼¨ÀÚÂØ",\r
-               popupeditor:    "¥¨¥Ç¥£¥¿³ÈÂç",\r
-               about:          "¥Ð¡¼¥¸¥ç¥ó¾ðÊó",\r
-               help:           "¥Ø¥ë¥×",\r
-               textindicator:  "¸½ºß¤Î¥¹¥¿¥¤¥ë"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/ja-jis.js b/lib/editor/lang/ja-jis.js
deleted file mode 100644 (file)
index 167d20c..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// I18N constants -- Japanese JIS\r
-// by Manabu Onoue -- tmocsys@tmocsys.com\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "ja-jis",\r
-\r
-       tooltips: {\r
-               bold:           "\e$BB@;z\e(B",\r
-               italic:         "\e$B<PBN\e(B",\r
-               underline:      "\e$B2<@~\e(B",\r
-               strikethrough:  "\e$BBG$A>C$7@~\e(B",\r
-               subscript:      "\e$B2<IU$-E:$(;z\e(B",\r
-               superscript:    "\e$B>eIU$-E:$(;z\e(B",\r
-               justifyleft:    "\e$B:84s$;\e(B",\r
-               justifycenter:  "\e$BCf1{4s$;\e(B",\r
-               justifyright:   "\e$B1&4s$;\e(B",\r
-               justifyfull:    "\e$B6QEy3dIU\e(B",\r
-               orderedlist:    "\e$BHV9fIU$-2U>r=q$-\e(B",\r
-               unorderedlist:  "\e$B5-9fIU$-2U>r=q$-\e(B",\r
-               outdent:        "\e$B%$%s%G%s%H2r=|\e(B",\r
-               indent:         "\e$B%$%s%G%s%H@_Dj\e(B",\r
-               forecolor:      "\e$BJ8;z?'\e(B",\r
-               backcolor:      "\e$BGX7J?'\e(B",\r
-               horizontalrule: "\e$B?eJ?@~\e(B",\r
-               createlink:     "\e$B%j%s%/:n@.\e(B",\r
-               insertimage:    "\e$B2hA|A^F~\e(B",\r
-               inserttable:    "\e$B%F!<%V%kA^F~\e(B",\r
-               htmlmode:       "HTML\e$BI=<(@ZBX\e(B",\r
-               popupeditor:    "\e$B%(%G%#%?3HBg\e(B",\r
-               about:          "\e$B%P!<%8%g%s>pJs\e(B",\r
-               help:           "\e$B%X%k%W\e(B",\r
-               textindicator:  "\e$B8=:_$N%9%?%$%k\e(B"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/ja-sjis.js b/lib/editor/lang/ja-sjis.js
deleted file mode 100644 (file)
index 0831b89..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// I18N constants -- Japanese Shift-JIS\r
-// by Manabu Onoue -- tmocsys@tmocsys.com\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "ja-sjis",\r
-\r
-       tooltips: {\r
-               bold:           "\91¾\8e\9a",\r
-               italic:         "\8eÎ\91Ì",\r
-               underline:      "\89º\90ü",\r
-               strikethrough:  "\91Å\82¿\8fÁ\82µ\90ü",\r
-               subscript:      "\89º\95t\82«\93Y\82¦\8e\9a",\r
-               superscript:    "\8fã\95t\82«\93Y\82¦\8e\9a",\r
-               justifyleft:    "\8d\8añ\82¹",\r
-               justifycenter:  "\92\86\89\9b\8añ\82¹",\r
-               justifyright:   "\89E\8añ\82¹",\r
-               justifyfull:    "\8bÏ\93\99\8a\84\95t",\r
-               orderedlist:    "\94Ô\8d\86\95t\82«\89Ó\8fð\8f\91\82«",\r
-               unorderedlist:  "\8bL\8d\86\95t\82«\89Ó\8fð\8f\91\82«",\r
-               outdent:        "\83C\83\93\83f\83\93\83g\89ð\8f\9c",\r
-               indent:         "\83C\83\93\83f\83\93\83g\90Ý\92è",\r
-               forecolor:      "\95\8e\9a\90F",\r
-               backcolor:      "\94w\8ci\90F",\r
-               horizontalrule: "\90\85\95½\90ü",\r
-               createlink:     "\83\8a\83\93\83N\8dì\90¬",\r
-               insertimage:    "\89æ\91\9c\91}\93ü",\r
-               inserttable:    "\83e\81[\83u\83\8b\91}\93ü",\r
-               htmlmode:       "HTML\95\\8e¦\90Ø\91Ö",\r
-               popupeditor:    "\83G\83f\83B\83^\8ag\91å",\r
-               about:          "\83o\81[\83W\83\87\83\93\8fî\95ñ",\r
-               help:           "\83w\83\8b\83v",\r
-               textindicator:  "\8c»\8dÝ\82Ì\83X\83^\83C\83\8b"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/ja-utf8.js b/lib/editor/lang/ja-utf8.js
deleted file mode 100644 (file)
index d8e6281..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// I18N constants -- Japanese UTF-8\r
-// by Manabu Onoue -- tmocsys@tmocsys.com\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "ja-utf8",\r
-\r
-       tooltips: {\r
-               bold:           "太字",\r
-               italic:         "斜体",\r
-               underline:      "下線",\r
-               strikethrough:  "打ち消し線",\r
-               subscript:      "下付き添え字",\r
-               superscript:    "上付き添え字",\r
-               justifyleft:    "左寄せ",\r
-               justifycenter:  "中央寄せ",\r
-               justifyright:   "右寄せ",\r
-               justifyfull:    "均等割付",\r
-               orderedlist:    "番号付き箇条書き",\r
-               unorderedlist:  "記号付き箇条書き",\r
-               outdent:        "インデント解除",\r
-               indent:         "インデント設定",\r
-               forecolor:      "文字色",\r
-               backcolor:      "背景色",\r
-               horizontalrule: "水平線",\r
-               createlink:     "リンク作成",\r
-               insertimage:    "画像挿入",\r
-               inserttable:    "テーブル挿入",\r
-               htmlmode:       "HTML表示切替",\r
-               popupeditor:    "エディタ拡大",\r
-               about:          "バージョン情報",\r
-               help:           "ヘルプ",\r
-               textindicator:  "現在のスタイル"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/nb.js b/lib/editor/lang/nb.js
deleted file mode 100644 (file)
index ad61752..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "nb",\r
-\r
-       tooltips: {\r
-               bold:           "Fet",\r
-               italic:         "Kursiv",\r
-               underline:      "Understreket",\r
-               strikethrough:  "Gjennomstreket",\r
-               subscript:      "Senket",\r
-               superscript:    "Hevet",\r
-               justifyleft:    "Venstrejuster",\r
-               justifycenter:  "Midtjuster",\r
-               justifyright:   "Høyrejuster",\r
-               justifyfull:    "Blokkjuster",\r
-               orderedlist:    "Nummerert liste",\r
-               unorderedlist:  "Punktmerket liste",\r
-               outdent:        "Øke innrykk",\r
-               indent:         "Reduser innrykk",\r
-               forecolor:      "Skriftfarge",\r
-               backcolor:      "Bakgrunnsfarge",\r
-               horizontalrule: "Horisontal linje",\r
-               createlink:     "Sett inn lenke",\r
-               insertimage:    "Sett inn bilde",\r
-               inserttable:    "Sett inn tabell",\r
-               htmlmode:       "Vis HTML kode",\r
-               popupeditor:    "Forstørr redigeringsvindu",\r
-               about:          "Om..",\r
-               help:           "Hjelp",\r
-               textindicator:  "Gjeldende stil"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/nl.js b/lib/editor/lang/nl.js
deleted file mode 100644 (file)
index 60c5b59..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// Dutch version\r
-// Author: Wouter Meeus alias Redspider <webmaster@tielt.be>\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "nl",\r
-\r
-       tooltips: {\r
-               bold:           "Vet",\r
-               italic:         "Cursief",\r
-               underline:      "Onderlijnen",\r
-               strikethrough:  "Doorstrepen",\r
-               subscript:      "Subscript",\r
-               superscript:    "Superscript",\r
-               justifyleft:    "Links Uitlijnen",\r
-               justifycenter:  "Centreren",\r
-               justifyright:   "Rechts Uitlijnen",\r
-               justifyfull:    "Uitvullen",\r
-               orderedlist:    "Nummering",\r
-               unorderedlist:  "Opsomming",\r
-               outdent:        "Verklein insprong",\r
-               indent:         "Vergroot insprong",\r
-               forecolor:      "Tekst Kleur",\r
-               backcolor:      "Achtergrond Kleur",\r
-               horizontalrule: "Horizontale lijn",\r
-               createlink:     "Hyperlink invoegen",\r
-               insertimage:    "Afbeelding invoegen",\r
-               inserttable:    "Tabel invoegen",\r
-               htmlmode:       "HTML broncode",\r
-               popupeditor:    "Vergroot Editor",\r
-               about:          "Over deze editor",\r
-               help:           "Help",\r
-               textindicator:  "Huidige stijl"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/old_fi.js b/lib/editor/lang/old_fi.js
deleted file mode 100644 (file)
index ca95866..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// I18N constants\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "fi",\r
-\r
-       tooltips: {\r
-               bold:                   "Lihavoitu",\r
-               italic:                 "Kursivoitu",\r
-               underline:              "Alleviivattu",\r
-               strikethrough:          "Yliviivattu",\r
-               subscript:              "Alaindeksi",\r
-               superscript:            "Yläindeksi",\r
-               justifyleft:            "Tasaa vasemmat reunat",\r
-               justifycenter:          "Keskitä",\r
-               justifyright:           "Tasaa oikeat reunat",\r
-               justifyfull:            "Tasaa molemmat reunat",\r
-               insertorderedlist:      "Numerointi",\r
-               insertunorderedlist:    "Luettelomerkit",\r
-               outdent:                "Lisää sisennystä",\r
-               indent:                 "Pienennä sisennystä",\r
-               forecolor:              "Fontin väri",\r
-               hilitecolor:            "Taustaväri",\r
-               inserthorizontalrule:   "Vaakaviiva",\r
-               createlink:             "Lisää Linkki",\r
-               insertimage:            "Lisää Kuva",\r
-               inserttable:            "Lisää Taulu",\r
-               htmlmode:               "HTML Lähdekoodi vs WYSIWYG",\r
-               popupeditor:            "Suurenna Editori",\r
-               about:                  "Tietoja Editorista",\r
-               showhelp:               "Näytä Ohje",\r
-               textindicator:          "Nykyinen tyyli",\r
-               undo:                   "Peruuta viimeinen toiminto",\r
-               redo:                   "Palauta viimeinen toiminto",\r
-               cut:                    "Leikkaa maalattu",\r
-               copy:                   "Kopioi maalattu",\r
-               paste:                  "Liitä leikepyödältä"\r
-       },\r
-\r
-       buttons: {\r
-               "ok":                   "Hyväksy",\r
-               "cancel":               "Peruuta"\r
-       },\r
-       \r
-       msg: {\r
-               "Path":         "Polku",\r
-               "TEXT_MODE":    "You are in TEXT MODE.  Use the [<>] button to switch back to WYSIWIG."\r
-       }\r
-};\r
diff --git a/lib/editor/lang/pl.js b/lib/editor/lang/pl.js
deleted file mode 100644 (file)
index b2a35c5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants\r\r
-\r\r
-HTMLArea.I18N = {\r\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "pl",\r
-\r
-       tooltips: {\r\r
-               bold:           "Pogrubienie",\r\r
-               italic:         "Pochylenie",\r\r
-               underline:      "Podkre\9clenie",\r\r
-               strikethrough:  "Przekre\9clenie",\r\r
-               subscript:      "Indeks dolny",\r\r
-               superscript:    "Indeks górny",\r\r
-               justifyleft:    "Wyrównaj do lewej",\r\r
-               justifycenter:  "Wy\9crodkuj",\r\r
-               justifyright:   "Wyrównaj do prawej",\r\r
-               justifyfull:    "Wyjustuj",\r\r
-               orderedlist:    "Numerowanie",\r\r
-               unorderedlist:  "Wypunktowanie",\r\r
-               outdent:        "Zmniejsz wciêcie",\r\r
-               indent:         "Zwiêksz wciêcie",\r\r
-               forecolor:      "Kolor czcionki",\r\r
-               backcolor:      "Kolor t³a",\r\r
-               horizontalrule: "Linia pozioma",\r\r
-               createlink:     "Wstaw adres sieci Web",\r\r
-               insertimage:    "Wstaw obraz",\r\r
-               inserttable:    "Wstaw tabelê",\r\r
-               htmlmode:       "Edycja WYSIWYG/w \9fródle strony",\r\r
-               popupeditor:    "Pe³ny ekran",\r\r
-               about:          "Informacje o tym edytorze",\r\r
-               help:           "Pomoc",\r\r
-               textindicator:  "Obecny styl"\r\r
-       }\r\r
-};\r\r
diff --git a/lib/editor/lang/pt_br.js b/lib/editor/lang/pt_br.js
deleted file mode 100644 (file)
index 795cc74..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// I18N constants\r\r
-// Brazilian Portuguese Translation by Alex Piaz <webmaster@globalmap.com>\r\r
-\r\r
-HTMLArea.I18N = {\r\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "pt_br",\r
-\r
-       tooltips: {\r\r
-               bold:           "Negrito",\r\r
-               italic:         "Itálico",\r\r
-               underline:      "Sublinhado",\r\r
-               strikethrough:  "Tachado",\r\r
-               subscript:      "Subescrito",\r\r
-               superscript:    "Sobrescrito",\r\r
-               justifyleft:    "Alinhar à Esquerda",\r\r
-               justifycenter:  "Centralizar",\r\r
-               justifyright:   "Alinhar à Direita",\r\r
-               justifyfull:    "Justificar",\r\r
-               orderedlist:    "Lista Numerada",\r\r
-               unorderedlist:  "Lista Marcadores",\r\r
-               outdent:        "Diminuir Indentação",\r\r
-               indent:         "Aumentar Indentação",\r\r
-               forecolor:      "Cor da Fonte",\r\r
-               backcolor:      "Cor do Fundo",\r\r
-               horizontalrule: "Linha Horizontal",\r\r
-               createlink:     "Inserir Link",\r\r
-               insertimage:    "Inserir Imagem",\r\r
-               inserttable:    "Inserir Tabela",\r\r
-               htmlmode:       "Ver Código-Fonte",\r\r
-               popupeditor:    "Expandir Editor",\r\r
-               about:          "Sobre",\r\r
-               help:           "Ajuda",\r\r
-               textindicator:  "Estilo Atual"\r\r
-       }\r\r
-};\r\r
diff --git a/lib/editor/lang/ro.js b/lib/editor/lang/ro.js
deleted file mode 100644 (file)
index 0f59bc8..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-// I18N constants\r
-\r
-// LANG: "ro", ENCODING: UTF-8\r
-// Author: Mihai Bazon, <mishoo@infoiasi.ro>\r
-\r
-// FOR TRANSLATORS:\r
-//\r
-//   1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE\r
-//      (at least a valid email address)\r
-//\r
-//   2. PLEASE TRY TO USE UTF-8 FOR ENCODING;\r
-//      (if this is not possible, please include a comment\r
-//       that states what encoding is necessary.)\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "ro",\r
-\r
-       tooltips: {\r
-               bold:           "Îngroşat",\r
-               italic:         "Italic",\r
-               underline:      "Subliniat",\r
-               strikethrough:  "Tăiat",\r
-               subscript:      "Subscript",\r
-               superscript:    "Superscript",\r
-               justifyleft:    "Aliniere la stânga",\r
-               justifycenter:  "Aliniere pe centru",\r
-               justifyright:   "Aliniere la dreapta",\r
-               justifyfull:    "Aliniere în ambele părţi",\r
-               orderedlist:    "Listă ordonată",\r
-               unorderedlist:  "Listă marcată",\r
-               outdent:        "Micşorează alineatul",\r
-               indent:         "Măreşte alineatul",\r
-               forecolor:      "Culoarea textului",\r
-               hilitecolor:    "Culoare de fundal",\r
-               horizontalrule: "Linie orizontală",\r
-               createlink:     "Inserează link",\r
-               insertimage:    "Inserează o imagine",\r
-               inserttable:    "Inserează un tabel",\r
-               htmlmode:       "Sursa HTML / WYSIWYG",\r
-               popupeditor:    "Maximizează editorul",\r
-               about:          "Despre editor",\r
-               showhelp:       "Documentaţie (devel)",\r
-               textindicator:  "Stilul curent",\r
-               undo:           "Anulează ultima acţiune",\r
-               redo:           "Reface ultima acţiune anulată",\r
-               cut:            "Taie în clipboard",\r
-               copy:           "Copie în clipboard",\r
-               paste:          "Aduce din clipboard"\r
-       },\r
-\r
-       buttons: {\r
-               "ok":           "OK",\r
-               "cancel":       "Anulează"\r
-       },\r
-\r
-       msg: {\r
-               "Path":         "Calea",\r
-               "TEXT_MODE":    "Eşti în modul TEXT.  Apasă butonul [<>] pentru a te întoarce în modul WYSIWYG."\r
-       }\r
-};\r
diff --git a/lib/editor/lang/ru.js b/lib/editor/lang/ru.js
deleted file mode 100644 (file)
index cd030eb..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// I18N constants\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "ru",\r
-\r
-       tooltips: {\r
-               bold:           "Æèðíûé",\r
-               italic:         "Íàêëîííûé",\r
-               underline:      "Ïîä÷åðêíóòûé",\r
-               strikethrough:  "Ïåðå÷åðêíóòûé",\r
-               subscript:      "Íèæíèé èíäåêñ",\r
-               superscript:    "Âåðõíèé èíäåêñ",\r
-               justifyleft:    "Âûðàâíèâàíèå ïî ëåâîìó êðàþ",\r
-               justifycenter:  "Âûðàâíèâàíèå ïî öåíòðó",\r
-               justifyright:   "Âûðàâíèâàíèå ïî ïðàâîìó êðàþ",\r
-               justifyfull:    "Ðàñòÿíóòûé òåêñò",\r
-               orderedlist:    "Íóìåðîâàííûé ñïèñîê",\r
-               unorderedlist:  "Ìàðêèðîâàííûé ñïèñîê",\r
-               outdent:        "Ñäâèã â ëåâî",\r
-               indent:         "Ñäâèã â ïðàâî",\r
-               forecolor:      "Öâåò øðèôòà",\r
-               backcolor:      "Öâåò ôîíà",\r
-               horizontalrule: "Ãîðèçîíòàëüíàÿ ëèíèÿ",\r
-               createlink:     "Âñòàâèòü ññûëêó",\r
-               insertimage:    "Âñòàâèòü êàðòèíêó",\r
-               inserttable:    "Âñòàâèòü òàáëèöó",\r
-               htmlmode:       "Âèäåòü HTML êîä",\r
-               popupeditor:    "Óâåëè÷èòü ðåäàêòîð",\r
-               about:          "Πðåäàêòîðå",\r
-               help:           "Ïîìîùü â èñïîëüçîâàíèè",\r
-               textindicator:  "Äàííûé ñòèëü"\r
-       }\r
-};\r
diff --git a/lib/editor/lang/se.js b/lib/editor/lang/se.js
deleted file mode 100644 (file)
index 2b567d4..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Swedish version for htmlArea v3.0 - Alpha Release\r\r
-// - translated by pat<pat@engvall.nu>\r\r
-// term´s and licenses are equal to htmlarea!\r\r
-\r\r
-HTMLArea.I18N = {\r\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "se",\r
-\r
-       tooltips: {\r\r
-               bold:           "Fet",\r\r
-               italic:         "Kursiv",\r\r
-               underline:      "Understruken",\r\r
-               strikethrough:  "Genomstruken",\r\r
-               subscript:      "Nedsänkt",\r\r
-               superscript:    "Upphöjd",\r\r
-               justifyleft:    "Vänsterjustera",\r\r
-               justifycenter:  "Centrera",\r\r
-               justifyright:   "Högerjustera",\r\r
-               justifyfull:    "Marginaljustera",\r\r
-               orderedlist:    "Numrerad lista",\r\r
-               unorderedlist:  "Punktlista",\r\r
-               outdent:        "Minska indrag",\r\r
-               indent:         "Öka indrag",\r\r
-               forecolor:      "Textfärg",\r\r
-               backcolor:      "Bakgrundsfärg",\r\r
-               horizontalrule: "Vågrät linje",\r\r
-               createlink:     "Infoga länk",\r\r
-               insertimage:    "Infoga bild",\r\r
-               inserttable:    "Infoga tabell",\r\r
-               htmlmode:       "Visa källkod",\r\r
-               popupeditor:    "Visa i eget fönster",\r\r
-               about:          "Om denna editor",\r\r
-               help:           "Hjälp",\r\r
-               textindicator:  "Nuvarande stil"\r\r
-       }\r\r
-};\r\r
diff --git a/lib/editor/lang/vn.js b/lib/editor/lang/vn.js
deleted file mode 100644 (file)
index fd8bf6c..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// I18N constants : Vietnamese\r
-// mviet: download the free Vietnamese script addon for htmlArea at: www.mviet.org\r
-// email: mviet@socal.rr.com\r
-\r
-HTMLArea.I18N = {\r
-\r
-       // the following should be the filename without .js extension\r
-       // it will be used for automatically load plugin language.\r
-       lang: "vn",\r
-\r
-       tooltips: {\r
-               bold:           "Đậm",\r
-               italic:         "Nghiêng",\r
-               underline:      "Gạch Đít",\r
-               strikethrough:  "Gạch Xóa",\r
-               subscript:      "Viết Xuống Dưới",\r
-               superscript:    "Viết Lên Trên ",\r
-               justifyleft:    "Ngay Hàng Bên Trái  ",\r
-               justifycenter:  "Ngay Hàng Giữa",\r
-               justifyright:   "Ngay Hàng Lên Phải",\r
-               justifyfull:    "Ngay Hàng Trái & Phải",\r
-               orderedlist:    "Chuỗi Thứ Tự 123",\r
-               unorderedlist:  "Chuỗi Nút",\r
-               outdent:        "Giảm Vào Hàng",\r
-               indent:         "Tăng Vào Hàng",\r
-               forecolor:      "Màu Chữ",\r
-               backcolor:      "Màu Nền",\r
-               horizontalrule: "Thước Ngang",\r
-               createlink:     "Tạo Nối",\r
-               insertimage:    "Mang Hình Vô",\r
-               inserttable:    "Mang Khuôn Vô",\r
-               htmlmode:       "Bật / Tắt Nguồn HTML",\r
-               popupeditor:    "Póp Lớn Khung Viết",\r
-               about:          "Nói Về Chương Trình",\r
-               help:           "Giúp Đỡ",\r
-               textindicator:  "Loại Kiểu Viết"\r
-       }\r
-};\r
diff --git a/lib/editor/popups/custom2.html b/lib/editor/popups/custom2.html
deleted file mode 100644 (file)
index 04314a0..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<html style="width:300px; Height: 60px;">\r
- <head>\r
-  <title>Select Phrase</title>\r
-<script language="javascript">\r
-\r
-var myTitle = window.dialogArguments;\r
-document.title = myTitle;\r
-\r
-\r
-function returnSelected() {\r
-  var idx  = document.all.textPulldown.selectedIndex;\r
-  var text = document.all.textPulldown[idx].text;\r
-\r
-  window.returnValue = text;          // set return value\r
-  window.close();                     // close dialog\r
-}\r
-\r
-</script>\r
-</head>\r
-<body bgcolor="#FFFFFF" topmargin=15 leftmargin=0>\r
-\r
-<form method=get onSubmit="Set(document.all.ColorHex.value); return false;">\r
-<div align=center>\r
-\r
-<select name="textPulldown">\r
-<option>The quick brown</option>\r
-<option>fox jumps over</option>\r
-<option>the lazy dog.</option>\r
-</select>\r
-\r
-<input type="button" value=" Go " onClick="returnSelected()">\r
-\r
-</div>\r
-</form>\r
-</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 (file)
index f9ae7b3..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
-<html style="height:270px;">\r
-<head>\r
-<style type="text/css">\r
-       BODY {\r
-               background-color: buttonface;\r
-       }\r
-       \r
-</style>\r
-<script type="text/javascript" src="popup.js"></script>\r
-<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">\r
-<!--\r
-function Init() {\r
-  __dlg_init();\r
-}\r
-var chars = ["!","&quot;","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","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","{","|","}","~","&euro;","\83","\84","\85","\86","\87","\88","\\89","\8a","\8b","\8c","&lsquo;","&rsquo;","&rsquo;","&ldquo;","&rdquo;","\95","&ndash;","&mdash;","\98","\99","\9a","\9b","\9c","\9f","&iexcl;","&cent;","&pound;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&not;","­","&reg;","&macr;","&deg;","&plusmn;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&raquo;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&uuml;","&yacute;","&thorn;","&yuml;"]\r
-\r
-function tab(w,h) {\r
-       var strtab = ["<TABLE border='1' cellspacing='0' cellpadding='0' align='center' bordercolor='#dcdcdc' bgcolor='#C0C0C0'>"]\r
-       var k = 0;\r
-       for(var i = 0; i < w; i++) {\r
-               strtab[strtab.length] = "<TR>";\r
-               for(var j = 0; j < h; j++) {\r
-                       strtab[strtab.length] = "<TD width='14' align='center' onClick='getchar(this)' onMouseOver='hover(this,true)' onMouseOut='hover(this,false)'>"+(chars[k]||'')+"</TD>";\r
-                       k++;\r
-               }\r
-               strtab[strtab.length]="</TR>";\r
-       }\r
-       strtab[strtab.length] = "</TABLE>";\r
-       return strtab.join("\n");\r
-}\r
-\r
-function hover(obj,val) {\r
-       if (!obj.innerHTML) {\r
-               obj.style.cursor = "default";\r
-               return;\r
-       }\r
-       obj.style.border = val ? "1px solid black" : "1px solid #dcdcdc";\r
-       //obj.style.backgroundColor = val ? "black" : "#C0C0C0"\r
-       //obj.style.color = val ? "white" : "black";\r
-}\r
-function getchar(obj) {\r
-       if(!obj.innerHTML) return;\r
-       var sChar = obj.innerHTML || "";\r
-       __dlg_close(sChar);\r
-       return false;\r
-}\r
-function cancel() {\r
-       __dlg_close(null);\r
-       return false;\r
-}\r
-//-->\r
-</SCRIPT>\r
-<title>Insert Character</title>\r
-</head>\r
-<body onload="Init()">\r
-<table class="dlg" cellpadding="0" cellspacing="2">\r
-<tr><td><table width="100%"><tr><td nowrap>Choose Character</td><td valign="middle" width="100%"><hr width="100%"></td></tr></table></td></tr>\r
-<tr>\r
-<td>\r
-    <table border="0" align="center" cellpadding="5">\r
-      <tr valign="top">\r
-        <td>\r
-\r
-       <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">\r
-       <!--\r
-       document.write(tab(7,32))\r
-       //-->\r
-       </SCRIPT>\r
-\r
-        </td>\r
-      </tr>\r
-    </table>\r
-    </td>\r
-  </tr>\r
-<tr><td><table width="100%"><tr><td valign="middle" width="90%"><hr width="100%"></td></tr></table></td></tr>\r
-<tr><td align="right">\r
-       <input type="button" value="Close" onclick="cancel()"></td></tr>\r
-</table>\r
-</body>\r
-</body>\r
-</html>\r
diff --git a/lib/editor/popups/fullscreen.html b/lib/editor/popups/fullscreen.html
deleted file mode 100644 (file)
index c3dfb1a..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-<html>\r
-<head><title>Fullscreen Editor</title>\r
-<style type="text/css">\r
-@import url(../htmlarea.css);\r
-html, body {   margin: 0px; border: 0px; background-color: buttonface; } </style>\r
-\r
-\r
-<script type="text/javascript" src="../htmlarea.php<?php echo $id ?>"></script>\r
-<script type="text/javascript" src="../lang/en.js"></script>\r
-<script type="text/javascript" src="../dialog.js"></script>\r
-\r
-<script type="text/javascript">\r
-// load same scripts that were present in the opener page\r
-var scripts = opener.document.getElementsByTagName("script");\r
-var head = document.getElementsByTagName("head")[0];\r
-for (var i = 0; i < scripts.length; ++i) {\r
-  var script = scripts[i];\r
-  if (typeof script.src != "undefined" && /\S/.test(script.src)) {\r
-    // document.write("<scr" + "ipt type=" + "\"script/javascript\"");\r
-    // document.write(" src=\"../" + script.src + "\"></scr" + "ipt>");\r
-    var new_script = document.createElement("script");\r
-    if (/^http:/i.test(script.src)) {\r
-      new_script.src = script.src;\r
-    } else {\r
-      new_script.src = "../" + script.src;\r
-    }\r
-    head.appendChild(new_script);\r
-  }\r
-}\r
-</script>\r
-\r
-<script type="text/javascript">\r
-\r
-var parent_object  = null;\r
-var editor         = null;      // to be initialized later [ function init() ]\r
-\r
-/* ---------------------------------------------------------------------- *\\r
-  Function    : \r
-  Description : \r
-\* ---------------------------------------------------------------------- */\r
-\r
-function _CloseOnEsc(ev) {\r
-  if (document.all) {\r
-    // IE\r
-    ev = window.event;\r
-  }\r
-  if (ev.keyCode == 27) {\r
-    // update_parent();\r
-    window.close();\r
-    return;\r
-  }\r
-}\r
-\r
-/* ---------------------------------------------------------------------- *\\r
-  Function    : cloneObject\r
-  Description : copy an object by value instead of by reference\r
-  Usage       : var newObj = cloneObject(oldObj);\r
-\* ---------------------------------------------------------------------- */\r
-\r
-function cloneObject(obj) {\r
-  var newObj          = new Object; \r
-\r
-  // check for array objects\r
-  if (obj.constructor.toString().indexOf("function Array(") == 1) {\r
-    newObj = obj.constructor();\r
-  }\r
-\r
-  // check for function objects (as usual, IE is fucked up)\r
-  if (obj.constructor.toString().indexOf("function Function(") == 1) {\r
-    newObj = obj; // just copy reference to it\r
-  } else for (var n in obj) {\r
-    var node = obj[n];\r
-    if (typeof node == 'object') { newObj[n] = cloneObject(node); }\r
-    else                         { newObj[n] = node; }\r
-  }\r
-  \r
-  return newObj;\r
-}\r
-\r
-/* ---------------------------------------------------------------------- *\\r
-  Function    : resize_editor\r
-  Description : resize the editor when the user resizes the popup\r
-\* ---------------------------------------------------------------------- */\r
-\r
-function resize_editor() {  // resize editor to fix window\r
-  var newHeight;\r
-  if (document.all) {\r
-    // IE\r
-    newHeight = document.body.offsetHeight - editor._toolbar.offsetHeight;\r
-    if (newHeight < 0) { newHeight = 0; }\r
-  } else {\r
-    // Gecko\r
-    newHeight = window.innerHeight - editor._toolbar.offsetHeight;\r
-  }\r
-  if (editor.config.statusBar) {\r
-    newHeight -= editor._statusBar.offsetHeight;\r
-  }\r
-  editor._textArea.style.height = editor._iframe.style.height = newHeight + "px";\r
-}\r
-\r
-/* ---------------------------------------------------------------------- *\\r
-  Function    : init\r
-  Description : run this code on page load\r
-\* ---------------------------------------------------------------------- */\r
-\r
-function init() {\r
-  parent_object      = opener.HTMLArea._object;\r
-  var config         = cloneObject( parent_object.config );\r
-  config.editorURL   = "../";\r
-  config.width       = "100%";\r
-  config.height      = "auto";\r
-\r
-  // change maximize button to minimize button\r
-  config.btnList["popupeditor"] = [ 'Minimize Editor', 'images/fullscreen_minimize.gif', true,\r
-                                    function() { window.close(); } ];\r
-\r
-  // generate editor and resize it\r
-  editor = new HTMLArea("editor", config);\r
-  editor.generate();\r
-  editor._iframe.style.width = "100%";\r
-  editor._textArea.style.width = "100%";\r
-  resize_editor();\r
-\r
-  // set child window contents and event handlers, after a small delay\r
-  setTimeout(function() {\r
-    editor.setHTML(parent_object.getInnerHTML());\r
-\r
-    // switch mode if needed\r
-    if (parent_object._mode == "textmode") { editor.setMode("textmode"); }\r
-\r
-    // continuously update parent editor window\r
-    setInterval(update_parent, 500);\r
-\r
-    // setup event handlers\r
-    document.body.onkeypress = _CloseOnEsc;\r
-    editor._doc.body.onkeypress = _CloseOnEsc;\r
-    editor._textArea.onkeypress = _CloseOnEsc;\r
-    window.onresize = resize_editor;\r
-  }, 333);                      // give it some time to meet the new frame\r
-}\r
-\r
-/* ---------------------------------------------------------------------- *\\r
-  Function    : update_parent\r
-  Description : update parent window editor field with contents from child window\r
-\* ---------------------------------------------------------------------- */\r
-\r
-function update_parent() {\r
-  // use the fast version\r
-  parent_object.setHTML(editor.getInnerHTML());\r
-}\r
-\r
-\r
-</script>\r
-</head>\r
-<body scroll="no" onload="init()" onunload="update_parent()">\r
-\r
-<form style="margin: 0px; border: 1px solid; border-color: threedshadow threedhighlight threedhighlight threedshadow;">\r
-<textarea name="editor" id="editor" style="width:100%; height:300px">&nbsp;</textarea>\r
-</form>\r
-\r
-</body></html>\r
diff --git a/lib/editor/popups/insert_image.html b/lib/editor/popups/insert_image.html
deleted file mode 100644 (file)
index 06e6433..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-<html style="width: 398; height: 218">\r
-\r
-<head>\r
-  <title>Insert Image</title>\r
-\r
-<script type="text/javascript" src="popup.js"></script>\r
-\r
-<script type="text/javascript">\r
-var preview_window = null;\r
-\r
-function Init() {\r
-  __dlg_init();\r
-  document.getElementById("f_url").focus();\r
-};\r
-\r
-function onOK() {\r
-  var required = {\r
-    "f_url": "You must enter the URL",\r
-    "f_alt": "Please enter the alternate text"\r
-  };\r
-  for (var i in required) {\r
-    var el = document.getElementById(i);\r
-    if (!el.value) {\r
-      alert(required[i]);\r
-      el.focus();\r
-      return false;\r
-    }\r
-  }\r
-  // pass data back to the calling window\r
-  var fields = ["f_url", "f_alt", "f_align", "f_border",\r
-                "f_horiz", "f_vert"];\r
-  var param = new Object();\r
-  for (var i in fields) {\r
-    var id = fields[i];\r
-    var el = document.getElementById(id);\r
-    param[id] = el.value;\r
-  }\r
-  if (preview_window) {\r
-    preview_window.close();\r
-  }\r
-  __dlg_close(param);\r
-  return false;\r
-};\r
-\r
-function onCancel() {\r
-  if (preview_window) {\r
-    preview_window.close();\r
-  }\r
-  __dlg_close(null);\r
-  return false;\r
-};\r
-\r
-function onPreview() {\r
-  var f_url = document.getElementById("f_url");\r
-  var url = f_url.value;\r
-  if (!url) {\r
-    alert("You have to enter an URL first");\r
-    f_url.focus();\r
-    return false;\r
-  }\r
-  var img = new Image();\r
-  img.src = url;\r
-  var win = null;\r
-  if (!document.all) {\r
-    win = window.open("about:blank", "ha_imgpreview", "toolbar=no,menubar=no,personalbar=no,innerWidth=100,innerHeight=100,scrollbars=no,resizable=yes");\r
-  } else {\r
-    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");\r
-  }\r
-  preview_window = win;\r
-  var doc = win.document;\r
-  var body = doc.body;\r
-  if (body) {\r
-    body.innerHTML = "";\r
-    body.style.padding = "0px";\r
-    body.style.margin = "0px";\r
-    var el = doc.createElement("img");\r
-    el.src = url;\r
-\r
-    var table = doc.createElement("table");\r
-    body.appendChild(table);\r
-    table.style.width = "100%";\r
-    table.style.height = "100%";\r
-    var tbody = doc.createElement("tbody");\r
-    table.appendChild(tbody);\r
-    var tr = doc.createElement("tr");\r
-    tbody.appendChild(tr);\r
-    var td = doc.createElement("td");\r
-    tr.appendChild(td);\r
-    td.style.textAlign = "center";\r
-\r
-    td.appendChild(el);\r
-    win.resizeTo(el.offsetWidth + 30, el.offsetHeight + 30);\r
-  }\r
-  win.focus();\r
-  return false;\r
-};\r
-</script>\r
-\r
-<style type="text/css">\r
-html, body {\r
-  background: ButtonFace;\r
-  color: ButtonText;\r
-  font: 11px Tahoma,Verdana,sans-serif;\r
-  margin: 0px;\r
-  padding: 0px;\r
-}\r
-body { padding: 5px; }\r
-table {\r
-  font: 11px Tahoma,Verdana,sans-serif;\r
-}\r
-form p {\r
-  margin-top: 5px;\r
-  margin-bottom: 5px;\r
-}\r
-.fl { width: 9em; float: left; padding: 2px 5px; text-align: right; }\r
-.fr { width: 6em; float: left; padding: 2px 5px; text-align: right; }\r
-fieldset { padding: 0px 10px 5px 5px; }\r
-select, input, button { font: 11px Tahoma,Verdana,sans-serif; }\r
-button { width: 70px; }\r
-.space { padding: 2px; }\r
-\r
-.title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px;\r
-border-bottom: 1px solid black; letter-spacing: 2px;\r
-}\r
-form { padding: 0px; margin: 0px; }\r
-</style>\r
-\r
-</head>\r
-\r
-<body onload="Init()">\r
-\r
-<div class="title">Insert Image</div>\r
-\r
-<form action="" method="get">\r
-<table border="0" width="100%" style="padding: 0px; margin: 0px">\r
-  <tbody>\r
-\r
-  <tr>\r
-    <td style="width: 7em; text-align: right">Image URL:</td>\r
-    <td><input type="text" name="url" id="f_url" style="width:75%"\r
-      title="Enter the image URL here" />\r
-      <button name="preview" onclick="return onPreview()"\r
-      title="Preview the image in a new window">Preview</button>\r
-    </td>\r
-  </tr>\r
-  <tr>\r
-    <td style="width: 7em; text-align: right">Alternate text:</td>\r
-    <td><input type="text" name="alt" id="f_alt" style="width:100%"\r
-      title="For browsers that don't support images" /></td>\r
-  </tr>\r
-\r
-  </tbody>\r
-</table>\r
-\r
-<p />\r
-\r
-<fieldset style="float: left; margin-left: 5px;">\r
-<legend>Layout</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fl">Alignment:</div>\r
-<select size="1" name="align" id="f_align"\r
-  title="Positioning of this image">\r
-  <option value=""                             >Not set</option>\r
-  <option value="left"                         >Left</option>\r
-  <option value="right"                        >Right</option>\r
-  <option value="texttop"                      >Texttop</option>\r
-  <option value="absmiddle"                    >Absmiddle</option>\r
-  <option value="baseline" selected="1"        >Baseline</option>\r
-  <option value="absbottom"                    >Absbottom</option>\r
-  <option value="bottom"                       >Bottom</option>\r
-  <option value="middle"                       >Middle</option>\r
-  <option value="top"                          >Top</option>\r
-</select>\r
-\r
-<p />\r
-\r
-<div class="fl">Border thickness:</div>\r
-<input type="text" name="border" id="f_border" size="5"\r
-title="Leave empty for no border" />\r
-\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-\r
-<fieldset style="float:right; margin-right: 5px;">\r
-<legend>Spacing</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fr">Horizontal:</div>\r
-<input type="text" name="horiz" id="f_horiz" size="5"\r
-title="Horizontal padding" />\r
-\r
-<p />\r
-\r
-<div class="fr">Vertical:</div>\r
-<input type="text" name="vert" id="f_vert" size="5"\r
-title="Vertical padding" />\r
-\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-\r
-<div style="margin-top: 85px; text-align: right;">\r
-<hr />\r
-<button type="button" name="ok" onclick="return onOK();">OK</button>\r
-<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>\r
-</div>\r
-\r
-</form>\r
-\r
-</body>\r
-</html>\r
diff --git a/lib/editor/popups/insert_table.html b/lib/editor/popups/insert_table.html
deleted file mode 100644 (file)
index ebb6982..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-<html style="width: 398; height: 218">\r
-\r
-<head>\r
-  <title>Insert Table</title>\r
-\r
-<script type="text/javascript" src="popup.js"></script>\r
-<script type="text/javascript" src="../lang/en.php"></script>\r
-<script type="text/javascript">\r
-\r
-function Init() {\r
-  __dlg_init();\r
-  document.getElementById('f_rows').focus();\r
-};\r
-\r
-function onOK() {\r
-  var required = {\r
-    "f_rows": "You must enter a number of rows",\r
-    "f_cols": "You must enter a number of columns"\r
-  };\r
-  for (var i in required) {\r
-    var el = document.getElementById(i);\r
-    if (!el.value) {\r
-      alert(required[i]);\r
-      el.focus();\r
-      return false;\r
-    }\r
-  }\r
-  var fields = ["f_rows", "f_cols", "f_width", "f_unit",\r
-                "f_align", "f_border", "f_spacing", "f_padding"];\r
-  var param = new Object();\r
-  for (var i in fields) {\r
-    var id = fields[i];\r
-    var el = document.getElementById(id);\r
-    param[id] = el.value;\r
-  }\r
-  __dlg_close(param);\r
-  return false;\r
-};\r
-\r
-function onCancel() {\r
-  __dlg_close(null);\r
-  return false;\r
-};\r
-\r
-</script>\r
-\r
-<style type="text/css">\r
-html, body {\r
-  background: ButtonFace;\r
-  color: ButtonText;\r
-  font: 11px Tahoma,Verdana,sans-serif;\r
-  margin: 0px;\r
-  padding: 0px;\r
-}\r
-body { padding: 5px; }\r
-table {\r
-  font: 11px Tahoma,Verdana,sans-serif;\r
-}\r
-form p {\r
-  margin-top: 5px;\r
-  margin-bottom: 5px;\r
-}\r
-.fl { width: 9em; float: left; padding: 2px 5px; text-align: right; }\r
-.fr { width: 7em; float: left; padding: 2px 5px; text-align: right; }\r
-fieldset { padding: 0px 10px 5px 5px; }\r
-select, input, button { font: 11px Tahoma,Verdana,sans-serif; }\r
-button { width: 70px; }\r
-.space { padding: 2px; }\r
-\r
-.title { background: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px;\r
-border-bottom: 1px solid black; letter-spacing: 2px;\r
-}\r
-form { padding: 0px; margin: 0px; }\r
-</style>\r
-\r
-</head>\r
-\r
-<body onload="Init()">\r
-\r
-<div class="title">Insert Table</div>\r
-\r
-<form action="" method="get">\r
-<table border="0" style="padding: 0px; margin: 0px">\r
-  <tbody>\r
-\r
-  <tr>\r
-    <td style="width: 4em; text-align: right">Rows:</td>\r
-    <td><input type="text" name="f_rows" id="f_rows" size="5" title="Number of rows" value="2" /></td>\r
-    <td></td>\r
-    <td></td>\r
-    <td></td>\r
-  </tr>\r
-  <tr>\r
-    <td style="width: 4em; text-align: right">Cols:</td>\r
-    <td><input type="text" name="f_cols" id="f_cols" size="5" title="Number of columns" value="4" /></td>\r
-    <td style="width: 4em; text-align: right">Width:</td>\r
-    <td><input type="text" name="f_width" id="f_width" size="5" title="Width of the table" value="100" /></td>\r
-    <td><select size="1" name="f_unit" id="f_unit" title="Width unit">\r
-      <option value="%" selected="1"  >Percent</option>\r
-      <option value="px"              >Pixels</option>\r
-      <option value="em"              >Em</option>\r
-    </select></td>\r
-  </tr>\r
-\r
-  </tbody>\r
-</table>\r
-\r
-<p />\r
-\r
-<fieldset style="float: left; margin-left: 5px;">\r
-<legend>Layout</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fl">Alignment:</div>\r
-<select size="1" name="f_align" id="f_align"\r
-  title="Positioning of this image">\r
-  <option value="" selected="1"                >Not set</option>\r
-  <option value="left"                         >Left</option>\r
-  <option value="right"                        >Right</option>\r
-  <option value="texttop"                      >Texttop</option>\r
-  <option value="absmiddle"                    >Absmiddle</option>\r
-  <option value="baseline"                     >Baseline</option>\r
-  <option value="absbottom"                    >Absbottom</option>\r
-  <option value="bottom"                       >Bottom</option>\r
-  <option value="middle"                       >Middle</option>\r
-  <option value="top"                          >Top</option>\r
-</select>\r
-\r
-<p />\r
-\r
-<div class="fl">Border thickness:</div>\r
-<input type="text" name="f_border" id="f_border" size="5" value="1"\r
-title="Leave empty for no border" />\r
-<!--\r
-<p />\r
-\r
-<div class="fl">Collapse borders:</div>\r
-<input type="checkbox" name="collapse" id="f_collapse" />\r
--->\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-\r
-<fieldset style="float:right; margin-right: 5px;">\r
-<legend>Spacing</legend>\r
-\r
-<div class="space"></div>\r
-\r
-<div class="fr">Cell spacing:</div>\r
-<input type="text" name="f_spacing" id="f_spacing" size="5" value="1"\r
-title="Space between adjacent cells" />\r
-\r
-<p />\r
-\r
-<div class="fr">Cell padding:</div>\r
-<input type="text" name="f_padding" id="f_padding" size="5" value="1"\r
-title="Space between content and border in cell" />\r
-\r
-<div class="space"></div>\r
-\r
-</fieldset>\r
-\r
-<div style="margin-top: 85px; text-align: right;">\r
-<hr />\r
-<button type="button" name="ok" onclick="return onOK();">OK</button>\r
-<button type="button" name="cancel" onclick="return onCancel();">Cancel</button>\r
-</div>\r
-\r
-</form>\r
-\r
-</body>\r
-</html>\r
diff --git a/lib/editor/popups/link.html b/lib/editor/popups/link.html
deleted file mode 100644 (file)
index 97a9eda..0000000
+++ /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">&nbsp;
-           <input type="submit" name="subval" value="Lataa tiedosto">
-           </form></p>
-           <div class="space"></div>
-               </fieldset>&nbsp;</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>&nbsp;
-                       <button name="btnCancel" onclick="return onCancel();">Peruuta</button></td>
-               </tr>
-               </table>
-               <div class="space"></div>
-               </fieldset>
-        </form>
-               </td>
-    </tr>
-  </table>
-<p>&nbsp;</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 (file)
index 8936733..0000000
+++ /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>