Permalink
Browse files

Removing old editor scripts. These are found at /lib/editor/htmlarea …

…from now on.
  • Loading branch information...
1 parent 515e6ec commit 127907098cac627ff40bd3a28417637e01712995 julmis committed Mar 6, 2006
Showing with 0 additions and 11,377 deletions.
  1. +0 −821 lib/editor/coursefiles.php
  2. +0 −80 lib/editor/dialog.js
  3. +0 −180 lib/editor/htmlarea.css
  4. +0 −2,517 lib/editor/htmlarea.php
  5. +0 −2,304 lib/editor/htmlarea_bak.php
  6. BIN lib/editor/images/ed_about.gif
  7. BIN lib/editor/images/ed_align_center.gif
  8. BIN lib/editor/images/ed_align_justify.gif
  9. BIN lib/editor/images/ed_align_left.gif
  10. BIN lib/editor/images/ed_align_right.gif
  11. BIN lib/editor/images/ed_anchor.gif
  12. BIN lib/editor/images/ed_blank.gif
  13. BIN lib/editor/images/ed_charmap.gif
  14. BIN lib/editor/images/ed_color_bg.gif
  15. BIN lib/editor/images/ed_color_fg.gif
  16. BIN lib/editor/images/ed_copy.gif
  17. BIN lib/editor/images/ed_custom.gif
  18. BIN lib/editor/images/ed_cut.gif
  19. BIN lib/editor/images/ed_delete.gif
  20. BIN lib/editor/images/ed_format_bold.gif
  21. BIN lib/editor/images/ed_format_italic.gif
  22. BIN lib/editor/images/ed_format_strike.gif
  23. BIN lib/editor/images/ed_format_sub.gif
  24. BIN lib/editor/images/ed_format_sup.gif
  25. BIN lib/editor/images/ed_format_underline.gif
  26. BIN lib/editor/images/ed_help.gif
  27. BIN lib/editor/images/ed_hr.gif
  28. BIN lib/editor/images/ed_html.gif
  29. BIN lib/editor/images/ed_image.gif
  30. BIN lib/editor/images/ed_indent_less.gif
  31. BIN lib/editor/images/ed_indent_more.gif
  32. BIN lib/editor/images/ed_left_to_right.gif
  33. BIN lib/editor/images/ed_link.gif
  34. BIN lib/editor/images/ed_list_bullet.gif
  35. BIN lib/editor/images/ed_list_num.gif
  36. BIN lib/editor/images/ed_nolink.gif
  37. BIN lib/editor/images/ed_paste.gif
  38. BIN lib/editor/images/ed_redo.gif
  39. BIN lib/editor/images/ed_replace.gif
  40. BIN lib/editor/images/ed_right_to_left.gif
  41. BIN lib/editor/images/ed_show_border.gif
  42. BIN lib/editor/images/ed_splitcel.gif
  43. BIN lib/editor/images/ed_undo.gif
  44. BIN lib/editor/images/ed_unlink.gif
  45. BIN lib/editor/images/ed_wordclean.gif
  46. BIN lib/editor/images/em.icon.smile.gif
  47. BIN lib/editor/images/folderup.gif
  48. BIN lib/editor/images/fullscreen_maximize.gif
  49. BIN lib/editor/images/fullscreen_minimize.gif
  50. BIN lib/editor/images/icon_ins_char.gif
  51. BIN lib/editor/images/icon_smile.gif
  52. BIN lib/editor/images/insert_table.gif
  53. BIN lib/editor/images/spell-check.gif
  54. +0 −69 lib/editor/lang/bak_en.php
  55. +0 −63 lib/editor/lang/en.js
  56. +0 −88 lib/editor/lang/en.php
  57. +0 −13 lib/editor/license.txt
  58. BIN lib/editor/plugins/SpellChecker/img/spell-check.gif
  59. +0 −37 lib/editor/plugins/SpellChecker/lang/en.js
  60. +0 −37 lib/editor/plugins/SpellChecker/lang/ro.js
  61. +0 −115 lib/editor/plugins/SpellChecker/readme-tech.html
  62. +0 −155 lib/editor/plugins/SpellChecker/spell-check-logic.cgi
  63. +0 −10 lib/editor/plugins/SpellChecker/spell-check-style.css
  64. +0 −119 lib/editor/plugins/SpellChecker/spell-check-ui.html
  65. +0 −334 lib/editor/plugins/SpellChecker/spell-check-ui.js
  66. +0 −72 lib/editor/plugins/SpellChecker/spell-checker.js
  67. BIN lib/editor/plugins/TableOperations/img/cell-delete.gif
  68. BIN lib/editor/plugins/TableOperations/img/cell-insert-after.gif
  69. BIN lib/editor/plugins/TableOperations/img/cell-insert-before.gif
  70. BIN lib/editor/plugins/TableOperations/img/cell-merge.gif
  71. BIN lib/editor/plugins/TableOperations/img/cell-prop.gif
  72. BIN lib/editor/plugins/TableOperations/img/cell-split.gif
  73. BIN lib/editor/plugins/TableOperations/img/col-delete.gif
  74. BIN lib/editor/plugins/TableOperations/img/col-insert-after.gif
  75. BIN lib/editor/plugins/TableOperations/img/col-insert-before.gif
  76. BIN lib/editor/plugins/TableOperations/img/col-split.gif
  77. BIN lib/editor/plugins/TableOperations/img/row-delete.gif
  78. BIN lib/editor/plugins/TableOperations/img/row-insert-above.gif
  79. BIN lib/editor/plugins/TableOperations/img/row-insert-under.gif
  80. BIN lib/editor/plugins/TableOperations/img/row-prop.gif
  81. BIN lib/editor/plugins/TableOperations/img/row-split.gif
  82. BIN lib/editor/plugins/TableOperations/img/table-prop.gif
  83. +0 −90 lib/editor/plugins/TableOperations/lang/en.js
  84. +0 −66 lib/editor/plugins/TableOperations/lang/fi.js
  85. +0 −90 lib/editor/plugins/TableOperations/lang/ro.js
  86. +0 −7 lib/editor/plugins/TableOperations/makefile.xml
  87. +0 −1,167 lib/editor/plugins/TableOperations/table-operations.js
  88. +0 −369 lib/editor/popupdiv.js
  89. +0 −55 lib/editor/popups/about.html
  90. +0 −2 lib/editor/popups/blank.html
  91. +0 −68 lib/editor/popups/createanchor.php
  92. +0 −72 lib/editor/popups/dialog.css
  93. +0 −142 lib/editor/popups/dlg_ins_char.php
  94. +0 −125 lib/editor/popups/dlg_ins_smile.php
  95. +0 −16 lib/editor/popups/editor_help.html
  96. +0 −175 lib/editor/popups/fullscreen.php
  97. +0 −346 lib/editor/popups/insert_image.php
  98. +0 −231 lib/editor/popups/insert_image_std.php
  99. +0 −172 lib/editor/popups/insert_table.php
  100. +0 −154 lib/editor/popups/link.php
  101. +0 −189 lib/editor/popups/link_std.php
  102. +0 −86 lib/editor/popups/popup.js
  103. +0 −35 lib/editor/popups/preview.php
  104. +0 −142 lib/editor/popups/searchandreplace.php
  105. +0 −355 lib/editor/popups/select_color.php
  106. +0 −127 lib/editor/popupwin.js
  107. +0 −82 lib/editor/release-notes.html
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,80 +0,0 @@
-// $Id$
-// Though "Dialog" looks like an object, it isn't really an object. Instead
-// it's just namespace for protecting global symbols.
-
-function Dialog(url, action, init) {
- if (typeof init == "undefined") {
- init = window; // pass this window object by default
- }
- Dialog._geckoOpenModal(url, action, init);
-};
-
-Dialog._parentEvent = function(ev) {
- if (Dialog._modal && !Dialog._modal.closed) {
- Dialog._modal.focus();
- HTMLArea._stopEvent(ev);
- }
-};
-
-// should be a function, the return handler of the currently opened dialog.
-Dialog._return = null;
-
-// constant, the currently opened dialog
-Dialog._modal = null;
-
-// the dialog will read it's args from this variable
-Dialog._arguments = null;
-
-Dialog._geckoOpenModal = function(url, action, init) {
-
- var file = url.substring(url.lastIndexOf('/') + 1, url.lastIndexOf('.'));
- var x,y;
- switch(file) {
- case "insert_image": x = 730; y = 560; break;
- case "dlg_ins_smile": x = 330; y = 320; break;
- case "dlg_ins_char": x = 480; y = 290; break;
- case "select_color": x = 238; y = 195; break;
- case "insert_table": x = 420; y = 250; break;
- case "link_std": x = 420; y = 230; break;
- case "insert_image_std": x = 450; y = 240; break;
- case "createanchor": x = 300; y = 140; break;
- case "searchandreplace": x = 400; y = 250; break;
- default: x = 50; y = 50;
- }
-
- var lx = (screen.width - x) / 2;
- var tx = (screen.height - y) / 2;
- var dlg = window.open(url, "ha_dialog", "toolbar=no,menubar=no,personalbar=no, width="+ x +",height="+ y +",scrollbars=no,resizable=no, left="+ lx +", top="+ tx +"");
- Dialog._modal = dlg;
- Dialog._arguments = init;
-
- // capture some window's events
- function capwin(w) {
- HTMLArea._addEvent(w, "click", Dialog._parentEvent);
- HTMLArea._addEvent(w, "mousedown", Dialog._parentEvent);
- HTMLArea._addEvent(w, "focus", Dialog._parentEvent);
- };
- // release the captured events
- function relwin(w) {
- HTMLArea._removeEvent(w, "click", Dialog._parentEvent);
- HTMLArea._removeEvent(w, "mousedown", Dialog._parentEvent);
- HTMLArea._removeEvent(w, "focus", Dialog._parentEvent);
- };
- capwin(window);
- // capture other frames
- if(document.all) {
- for (var i = 0; i < window.frames.length; capwin(window.frames[i++]));
- }
- // make up a function to be called when the Dialog ends.
- Dialog._return = function (val) {
- relwin(window);
- // capture other frames
- if(document.all) {
- for (var i = 0; i < window.frames.length; relwin(window.frames[i++]));
- }
- if (val && action) {
- action(val);
- }
- Dialog._modal = null;
- };
-};
View
@@ -1,180 +0,0 @@
-.htmlarea { background: #fff; }
-
-.htmlarea .toolbar {
- cursor: default;
- background: ButtonFace;
- padding: 1px 1px 2px 1px;
- border: 1px solid;
- border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
-}
-.htmlarea .toolbar table { font-family: tahoma,verdana,sans-serif; font-size: 11px; }
-.htmlarea .toolbar img { border: none; }
-.htmlarea .toolbar .label { padding: 0px 3px; }
-
-.htmlarea .toolbar .button {
- background: ButtonFace;
- color: ButtonText;
- border: 1px solid ButtonFace;
- padding: 1px;
- margin: 0px;
-}
-.htmlarea .toolbar .buttonHover {
- border: 1px solid;
- border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
-}
-.htmlarea .toolbar .buttonActive, .htmlarea .toolbar .buttonPressed {
- padding: 2px 0px 0px 2px;
- border: 1px solid;
- border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
-}
-.htmlarea .toolbar .buttonPressed {
- background: ButtonHighlight;
-}
-.htmlarea .toolbar .indicator {
- padding: 0px 3px;
- overflow: hidden;
- width: 20px;
- text-align: center;
- cursor: default;
- border: 1px solid ButtonShadow;
-}
-
-.htmlarea .toolbar .buttonDisabled { background-color: #aaa; }
-
-.htmlarea .toolbar .buttonDisabled img {
- filter: alpha(opacity = 25);
- -moz-opacity: 25%;
-}
-
-.htmlarea .toolbar .separator {
- position: relative;
- margin: 3px;
- border-left: 1px solid ButtonShadow;
- border-right: 1px solid ButtonHighlight;
- width: 0px;
- height: 16px;
- padding: 0px;
-}
-
-.htmlarea .toolbar .space { width: 5px; }
-
-.htmlarea .toolbar select { font: 11px Tahoma,Verdana,sans-serif; }
-
-.htmlarea .toolbar select,
-.htmlarea .toolbar select:hover,
-.htmlarea .toolbar select:active { background: FieldFace; color: ButtonText; }
-
-.htmlarea .statusBar {
- border: 1px solid;
- border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
- padding: 2px 4px;
- background-color: ButtonFace;
- color: ButtonText;
- font: 11px Tahoma,Verdana,sans-serif;
-}
-
-.htmlarea .statusBar .statusBarTree a {
- padding: 2px 5px;
- color: #00f;
-}
-
-.htmlarea .statusBar .statusBarTree a:visited { color: #00f; }
-.htmlarea .statusBar .statusBarTree a:hover {
- background-color: Highlight;
- color: HighlightText;
- padding: 1px 4px;
- border: 1px solid HighlightText;
-}
-
-
-/* Hidden DIV popup dialogs (PopupDiv) */
-
-.dialog {
- color: ButtonText;
- background: ButtonFace;
-}
-
-.dialog .content { padding: 2px; }
-
-.dialog, .dialog button, .dialog input, .dialog select, .dialog textarea, .dialog table {
- font: 11px Tahoma,Verdana,sans-serif;
-}
-
-.dialog table { border-collapse: collapse; }
-
-.dialog .title {
- background: #008;
- color: #ff8;
- border-bottom: 1px solid #000;
- padding: 1px 0px 2px 5px;
- font-size: 12px;
- font-weight: bold;
- cursor: default;
-}
-
-.dialog .title .button {
- float: right;
- border: 1px solid #66a;
- padding: 0px 1px 0px 2px;
- margin-right: 1px;
- color: #fff;
- text-align: center;
-}
-
-.dialog .title .button-hilite { border-color: #88f; background: #44c; }
-
-.dialog button {
- width: 5em;
- padding: 0px;
-}
-
-.dialog .buttonColor {
- padding: 1px;
- cursor: default;
- border: 1px solid;
- border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
-}
-
-.dialog .buttonColor-hilite {
- border-color: #000;
-}
-
-.dialog .buttonColor .chooser, .dialog .buttonColor .nocolor {
- height: 0.6em;
- border: 1px solid;
- padding: 0px 1em;
- border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
-}
-
-.dialog .buttonColor .nocolor { padding: 0px; }
-.dialog .buttonColor .nocolor-hilite { background-color: #fff; color: #f00; }
-
-.dialog .label { text-align: right; width: 6em; }
-.dialog .value input { width: 100%; }
-.dialog .buttons { text-align: right; padding: 2px 4px 0px 4px; }
-
-.dialog legend { font-weight: bold; }
-.dialog fieldset table { margin: 2px 0px; }
-
-.popupdiv {
- border: 2px solid;
- border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
-}
-
-.popupwin {
- padding: 0px;
- margin: 0px;
-}
-
-.popupwin .title {
- background: #fff;
- color: #000;
- font-weight: bold;
- font-size: 120%;
- padding: 3px 10px;
- margin-bottom: 10px;
- border-bottom: 1px solid black;
- letter-spacing: 2px;
-}
-
-form { margin: 0px; border: none; }
Oops, something went wrong.

0 comments on commit 1279070

Please sign in to comment.